@letscooee/web-sdk 9.12.0 → 9.12.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.
@@ -13,7 +13,7 @@ ${t.map((n,r)=>`${r+1}) ${n.toString()}`).join(`
13
13
  `);return r>=0?n.slice(0,r):n}function bc(e,t){return e?t?`${e} ${t}`:e:t||""}var ox=et({__forward_ref__:et});function $m(e){return e.__forward_ref__=$m,e.toString=function(){return mn(this())},e}function At(e){return zm(e)?e():e}function zm(e){return typeof e=="function"&&e.hasOwnProperty(ox)&&e.__forward_ref__===$m}function de(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function uh(e){return{providers:e.providers||[],imports:e.imports||[]}}function hh(e){return ff(e,qm)||ff(e,Wm)}function ff(e,t){return e.hasOwnProperty(t)?e[t]:null}function sx(e){return e&&(e[qm]||e[Wm])||null}function pf(e){return e&&(e.hasOwnProperty(gf)||e.hasOwnProperty(ax))?e[gf]:null}var qm=et({\u0275prov:et}),gf=et({\u0275inj:et}),Wm=et({ngInjectableDef:et}),ax=et({ngInjectorDef:et}),Ee=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(e,t){this._desc=e,this.\u0275prov=void 0,typeof t=="number"?this.__NG_ELEMENT_ID__=t:t!==void 0&&(this.\u0275prov=de({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Zm(e){return e&&!!e.\u0275providers}var lx=et({\u0275cmp:et}),cx=et({\u0275dir:et}),Gm=et({\u0275pipe:et}),zs=et({\u0275fac:et}),ro=et({__NG_ELEMENT_ID__:et}),mf=et({__NG_ENV_ID__:et});function No(e){return typeof e=="string"?e:e==null?"":String(e)}function ux(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():No(e)}function hx(e,t){throw new De(-200,e)}function dh(e,t){throw new De(-201,!1)}var Te=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(Te||{}),wc;function Ym(){return wc}function Bt(e){let t=wc;return wc=e,t}function Km(e,t,n){let r=hh(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&Te.Optional)return null;if(t!==void 0)return t;dh(e,"Injector")}var dx={},po=dx,xc="__NG_DI_FLAG__",qs="ngTempTokenPath",fx="ngTokenPath",px=/\n/gm,gx="\u0275",_f="__source",gi;function mx(){return gi}function sr(e){let t=gi;return gi=e,t}function _x(e,t=Te.Default){if(gi===void 0)throw new De(-203,!1);return gi===null?Km(e,void 0,t):gi.get(e,t&Te.Optional?null:void 0,t)}function je(e,t=Te.Default){return(Ym()||_x)(At(e),t)}function R(e,t=Te.Default){return je(e,Ma(t))}function Ma(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Ec(e){let t=[];for(let n=0;n<e.length;n++){let r=At(e[n]);if(Array.isArray(r)){if(r.length===0)throw new De(900,!1);let i,o=Te.Default;for(let s=0;s<r.length;s++){let a=r[s],l=vx(a);typeof l=="number"?l===-1?i=a.token:o|=l:i=a}t.push(je(i,o))}else t.push(je(r))}return t}function Jm(e,t){return e[xc]=t,e.prototype[xc]=t,e}function vx(e){return e[xc]}function yx(e,t,n,r){let i=e[qs];throw t[_f]&&i.unshift(t[_f]),e.message=bx(`
14
14
  `+e.message,i,n,r),e[fx]=i,e[qs]=null,e}function bx(e,t,n,r=null){e=e&&e.charAt(0)===`
15
15
  `&&e.charAt(1)==gx?e.slice(2):e;let i=mn(t);if(Array.isArray(t))i=t.map(mn).join(" -> ");else if(typeof t=="object"){let o=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];o.push(s+":"+(typeof a=="string"?JSON.stringify(a):mn(a)))}i=`{${o.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(px,`
16
- `)}`}var wx=Jm(Hm("Optional"),8),xx=Jm(Hm("SkipSelf"),4);function Mr(e,t){return e.hasOwnProperty(zs)?e[zs]:null}function Ex(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let i=e[r],o=t[r];if(n&&(i=n(i),o=n(o)),o!==i)return!1}return!0}function Sx(e){return e.flat(Number.POSITIVE_INFINITY)}function fh(e,t){e.forEach(n=>Array.isArray(n)?fh(n,t):t(n))}function Xm(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Ws(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Cx(e,t,n,r){let i=e.length;if(i==t)e.push(n,r);else if(i===1)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;){let o=i-2;e[i]=e[o],i--}e[t]=n,e[t+1]=r}}function La(e,t,n){let r=Ao(e,t);return r>=0?e[r|1]=n:(r=~r,Cx(e,r,t,n)),r}function Ol(e,t){let n=Ao(e,t);if(n>=0)return e[n|1]}function Ao(e,t){return Ix(e,t,1)}function Ix(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){let o=r+(i-r>>1),s=e[o<<n];if(t===s)return o<<n;s>t?i=o:r=o+1}return~(i<<n)}var Lr={},Mt=[],Zs=new Ee(""),Qm=new Ee("",-1),e_=new Ee(""),t_=class{get(e,t=po){if(t===po){let n=new Error(`NullInjectorError: No provider for ${mn(e)}!`);throw n.name="NullInjectorError",n}return t}};function Vr(e){return e[lx]||null}function n_(e){return e[cx]||null}function r_(e){return e[Gm]||null}function Tx(e){let t=Vr(e)||n_(e)||r_(e);return t!==null&&t.standalone}function Dx(e){return{\u0275providers:e}}function Ox(...e){return{\u0275providers:i_(!0,e),\u0275fromNgModule:!0}}function i_(e,...t){let n=[],r=new Set,i,o=s=>{n.push(s)};return fh(t,s=>{let a=s;Sc(a,o,[],r)&&(i||=[],i.push(a))}),i!==void 0&&o_(i,o),n}function o_(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:i}=e[n];ph(i,o=>{t(o,r)})}}function Sc(e,t,n,r){if(e=At(e),!e)return!1;let i=null,o=pf(e),s=!o&&Vr(e);if(!o&&!s){let l=e.ngModule;if(o=pf(l),o)i=l;else return!1}else{if(s&&!s.standalone)return!1;i=e}let a=r.has(i);if(s){if(a)return!1;if(r.add(i),s.dependencies){let l=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let u of l)Sc(u,t,n,r)}}else if(o){if(o.imports!=null&&!a){r.add(i);let u;try{fh(o.imports,d=>{Sc(d,t,n,r)&&(u||=[],u.push(d))})}finally{}u!==void 0&&o_(u,t)}if(!a){let u=Mr(i)||(()=>new i);t({provide:i,useFactory:u,deps:Mt},i),t({provide:e_,useValue:i,multi:!0},i),t({provide:Zs,useValue:()=>je(i),multi:!0},i)}let l=o.providers;if(l!=null&&!a){let u=e;ph(l,d=>{t(d,u)})}}else return!1;return i!==e&&e.providers!==void 0}function ph(e,t){for(let n of e)Zm(n)&&(n=n.\u0275providers),Array.isArray(n)?ph(n,t):t(n)}var kx=et({provide:String,useValue:et});function s_(e){return e!==null&&typeof e=="object"&&kx in e}function Rx(e){return!!(e&&e.useExisting)}function Px(e){return!!(e&&e.useFactory)}function wi(e){return typeof e=="function"}function Nx(e){return!!e.useClass}var gh=new Ee(""),Ts={},Ax={},kl;function Va(){return kl===void 0&&(kl=new t_),kl}var Gn=class{},mh=class extends Gn{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(e,t,n,r){super(),this.parent=t,this.source=n,this.scopes=r,Ic(e,o=>this.processProvider(o)),this.records.set(Qm,li(void 0,this)),r.has("environment")&&this.records.set(Gn,li(void 0,this));let i=this.records.get(gh);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(e_,Mt,Te.Self))}destroy(){Ji(this),this._destroyed=!0;let e=Ie(null);try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let t=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of t)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),Ie(e)}}onDestroy(e){return Ji(this),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){Ji(this);let t=sr(this),n=Bt(void 0),r;try{return e()}finally{sr(t),Bt(n)}}get(e,t=po,n=Te.Default){if(Ji(this),e.hasOwnProperty(mf))return e[mf](this);n=Ma(n);let r,i=sr(this),o=Bt(void 0);try{if(!(n&Te.SkipSelf)){let a=this.records.get(e);if(a===void 0){let l=Fx(e)&&hh(e);l&&this.injectableDefInScope(l)?a=li(Cc(e),Ts):a=null,this.records.set(e,a)}if(a!=null)return this.hydrate(e,a)}let s=n&Te.Self?Va():this.parent;return t=n&Te.Optional&&t===po?null:t,s.get(e,t)}catch(s){if(s.name==="NullInjectorError"){if((s[qs]=s[qs]||[]).unshift(mn(e)),i)throw s;return yx(s,e,"R3InjectorError",this.source)}else throw s}finally{Bt(o),sr(i)}}resolveInjectorInitializers(){let e=Ie(null),t=sr(this),n=Bt(void 0),r;try{let i=this.get(Zs,Mt,Te.Self);for(let o of i)o()}finally{sr(t),Bt(n),Ie(e)}}toString(){let e=[],t=this.records;for(let n of t.keys())e.push(mn(n));return`R3Injector[${e.join(", ")}]`}processProvider(e){e=At(e);let t=wi(e)?e:At(e&&e.provide),n=Lx(e);if(!wi(e)&&e.multi===!0){let r=this.records.get(t);r||(r=li(void 0,Ts,!0),r.factory=()=>Ec(r.multi),this.records.set(t,r)),t=e,r.multi.push(e)}this.records.set(t,n)}hydrate(e,t){let n=Ie(null);try{return t.value===Ts&&(t.value=Ax,t.value=t.factory()),typeof t.value=="object"&&t.value&&jx(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{Ie(n)}}injectableDefInScope(e){if(!e.providedIn)return!1;let t=At(e.providedIn);return typeof t=="string"?t==="any"||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(e){let t=this._onDestroyHooks.indexOf(e);t!==-1&&this._onDestroyHooks.splice(t,1)}};function Cc(e){let t=hh(e),n=t!==null?t.factory:Mr(e);if(n!==null)return n;if(e instanceof Ee)throw new De(204,!1);if(e instanceof Function)return Mx(e);throw new De(204,!1)}function Mx(e){if(e.length>0)throw new De(204,!1);let t=sx(e);return t!==null?()=>t.factory(e):()=>new e}function Lx(e){if(s_(e))return li(void 0,e.useValue);{let t=a_(e);return li(t,Ts)}}function a_(e,t,n){let r;if(wi(e)){let i=At(e);return Mr(i)||Cc(i)}else if(s_(e))r=()=>At(e.useValue);else if(Px(e))r=()=>e.useFactory(...Ec(e.deps||[]));else if(Rx(e))r=()=>je(At(e.useExisting));else{let i=At(e&&(e.useClass||e.provide));if(Vx(e))r=()=>new i(...Ec(e.deps));else return Mr(i)||Cc(i)}return r}function Ji(e){if(e.destroyed)throw new De(205,!1)}function li(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Vx(e){return!!e.deps}function jx(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Fx(e){return typeof e=="function"||typeof e=="object"&&e instanceof Ee}function Ic(e,t){for(let n of e)Array.isArray(n)?Ic(n,t):n&&Zm(n)?Ic(n.\u0275providers,t):t(n)}function l_(e,t){e instanceof mh&&Ji(e);let n,r=sr(e),i=Bt(void 0);try{return t()}finally{sr(r),Bt(i)}}function c_(){return Ym()!==void 0||mx()!=null}function ja(e){if(!c_())throw new De(-203,!1)}function Bx(e){return typeof e=="function"}var Qn=0,ge=1,fe=2,Rt=3,_n=4,In=5,go=6,Gs=7,ft=8,mo=9,Yn=10,_t=11,_o=12,vf=13,Pi=14,wn=15,jr=16,ci=17,Kn=18,Mo=19,u_=20,fr=21,Ds=22,Fr=23,Wt=24,mi=25,ht=26,h_=1,Br=7,Ys=8,xi=9,kt=10;function zn(e){return Array.isArray(e)&&typeof e[h_]=="object"}function er(e){return Array.isArray(e)&&e[h_]===!0}function _h(e){return(e.flags&4)!==0}function Ni(e){return e.componentOffset>-1}function Fa(e){return(e.flags&1)===1}function Ln(e){return!!e.template}function Ks(e){return(e[fe]&512)!==0}function Lo(e){return(e[fe]&256)===256}var Ux=class{previousValue;currentValue;firstChange;constructor(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}isFirstChange(){return this.firstChange}};function d_(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var f_=(()=>{let e=()=>p_;return e.ngInherit=!0,e})();function p_(e){return e.type.prototype.ngOnChanges&&(e.setInput=$x),Hx}function Hx(){let e=m_(this),t=e?.current;if(t){let n=e.previous;if(n===Lr)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function $x(e,t,n,r,i){let o=this.declaredInputs[r],s=m_(e)||zx(e,{previous:Lr,current:null}),a=s.current||(s.current={}),l=s.previous,u=l[o];a[o]=new Ux(u&&u.currentValue,n,l===Lr),d_(e,t,i,n)}var g_="__ngSimpleChanges__";function m_(e){return e[g_]||null}function zx(e,t){return e[g_]=t}var qx=null,ze=function(e,t=null,n){qx?.(e,t,n)},__="svg",Wx="math";function Gt(e){for(;Array.isArray(e);)e=e[Qn];return e}function v_(e,t){return Gt(t[e])}function Vn(e,t){return Gt(t[e.index])}function vh(e,t){return e.data[t]}function Ba(e,t){return e[t]}function on(e,t){let n=t[e];return zn(n)?n:n[Qn]}function Zx(e){return(e[fe]&4)===4}function yh(e){return(e[fe]&128)===128}function Gx(e){return er(e[Rt])}function gr(e,t){return t==null?null:e[t]}function y_(e){e[ci]=0}function bh(e){e[fe]&1024||(e[fe]|=1024,yh(e)&&Ai(e))}function Yx(e,t){for(;e>0;)t=t[Pi],e--;return t}function Ua(e){return!!(e[fe]&9216||e[Wt]?.dirty)}function Tc(e){e[Yn].changeDetectionScheduler?.notify(8),e[fe]&64&&(e[fe]|=1024),Ua(e)&&Ai(e)}function Ai(e){e[Yn].changeDetectionScheduler?.notify(0);let t=Ur(e);for(;t!==null&&!(t[fe]&8192||(t[fe]|=8192,!yh(t)));)t=Ur(t)}function b_(e,t){if(Lo(e))throw new De(911,!1);e[fr]===null&&(e[fr]=[]),e[fr].push(t)}function Kx(e,t){if(e[fr]===null)return;let n=e[fr].indexOf(t);n!==-1&&e[fr].splice(n,1)}function Ur(e){let t=e[Rt];return er(t)?t[Rt]:t}function w_(e){return e[Gs]??=[]}function x_(e){return e.cleanup??=[]}function Jx(e,t,n,r){let i=w_(t);i.push(n),e.firstCreatePass&&x_(e).push(r,i.length-1)}var be={lFrame:R_(null),bindingsEnabled:!0,skipHydrationRootTNode:null},Dc=!1;function Xx(){return be.lFrame.elementDepthCount}function Qx(){be.lFrame.elementDepthCount++}function eE(){be.lFrame.elementDepthCount--}function wh(){return be.bindingsEnabled}function tE(){return be.skipHydrationRootTNode!==null}function nE(e){return be.skipHydrationRootTNode===e}function rE(){be.skipHydrationRootTNode=null}function ye(){return be.lFrame.lView}function pt(){return be.lFrame.tView}function ct(e){return be.lFrame.contextLView=e,e[ft]}function ut(e){return be.lFrame.contextLView=null,e}function Yt(){let e=E_();for(;e!==null&&e.type===64;)e=e.parent;return e}function E_(){return be.lFrame.currentTNode}function iE(){let e=be.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function yr(e,t){let n=be.lFrame;n.currentTNode=e,n.isParent=t}function xh(){return be.lFrame.isParent}function S_(){be.lFrame.isParent=!1}function C_(){return be.lFrame.contextLView}function I_(){return Dc}function Js(e){let t=Dc;return Dc=e,t}function Vo(){let e=be.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function oE(e){return be.lFrame.bindingIndex=e}function jo(){return be.lFrame.bindingIndex++}function T_(e){let t=be.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function sE(){return be.lFrame.inI18n}function aE(e,t){let n=be.lFrame;n.bindingIndex=n.bindingRootIndex=e,Oc(t)}function lE(){return be.lFrame.currentDirectiveIndex}function Oc(e){be.lFrame.currentDirectiveIndex=e}function cE(e){let t=be.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function D_(){return be.lFrame.currentQueryIndex}function Eh(e){be.lFrame.currentQueryIndex=e}function uE(e){let t=e[ge];return t.type===2?t.declTNode:t.type===1?e[In]:null}function O_(e,t,n){if(n&Te.SkipSelf){let i=t,o=e;for(;(i=i.parent,i===null&&!(n&Te.Host))&&(i=uE(o),!(i===null||(o=o[Pi],i.type&10))););if(i===null)return!1;t=i,e=o}let r=be.lFrame=k_();return r.currentTNode=t,r.lView=e,!0}function Sh(e){let t=k_(),n=e[ge];be.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function k_(){let e=be.lFrame,t=e===null?null:e.child;return t===null?R_(e):t}function R_(e){let t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function P_(){let e=be.lFrame;return be.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var N_=P_;function Ch(){let e=P_();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function hE(e){return(be.lFrame.contextLView=Yx(e,be.lFrame.contextLView))[ft]}function tr(){return be.lFrame.selectedIndex}function Hr(e){be.lFrame.selectedIndex=e}function Ih(){let e=be.lFrame;return vh(e.tView,e.selectedIndex)}function mr(){be.lFrame.currentNamespace=__}function Xs(){dE()}function dE(){be.lFrame.currentNamespace=null}function fE(){return be.lFrame.currentNamespace}var A_=!0;function Ha(){return A_}function $a(e){A_=e}function pE(e,t,n){let{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=t.type.prototype;if(r){let s=p_(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}i&&(n.preOrderHooks??=[]).push(0-e,i),o&&((n.preOrderHooks??=[]).push(e,o),(n.preOrderCheckHooks??=[]).push(e,o))}function Th(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let i=e.data[n].type.prototype,{ngAfterContentInit:o,ngAfterContentChecked:s,ngAfterViewInit:a,ngAfterViewChecked:l,ngOnDestroy:u}=i;o&&(e.contentHooks??=[]).push(-n,o),s&&((e.contentHooks??=[]).push(n,s),(e.contentCheckHooks??=[]).push(n,s)),a&&(e.viewHooks??=[]).push(-n,a),l&&((e.viewHooks??=[]).push(n,l),(e.viewCheckHooks??=[]).push(n,l)),u!=null&&(e.destroyHooks??=[]).push(n,u)}}function Os(e,t,n){M_(e,t,3,n)}function ks(e,t,n,r){(e[fe]&3)===n&&M_(e,t,n,r)}function Rl(e,t){let n=e[fe];(n&3)===t&&(n&=16383,n+=1,e[fe]=n)}function M_(e,t,n,r){let i=r!==void 0?e[ci]&65535:0,o=r??-1,s=t.length-1,a=0;for(let l=i;l<s;l++)if(typeof t[l+1]=="number"){if(a=t[l],r!=null&&a>=r)break}else t[l]<0&&(e[ci]+=65536),(a<o||o==-1)&&(gE(e,n,t,l),e[ci]=(e[ci]&4294901760)+l+2),l++}function yf(e,t){ze(4,e,t);let n=Ie(null);try{t.call(e)}finally{Ie(n),ze(5,e,t)}}function gE(e,t,n,r){let i=n[r]<0,o=n[r+1],s=i?-n[r]:n[r],a=e[s];i?e[fe]>>14<e[ci]>>16&&(e[fe]&3)===t&&(e[fe]+=16384,yf(a,o)):yf(a,o)}var _i=-1,Fo=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(e,t,n){this.factory=e,this.canSeeViewProviders=t,this.injectImpl=n}};function mE(e){return e instanceof Fo}function _E(e){return(e.flags&8)!==0}function vE(e){return(e.flags&16)!==0}function yE(e,t,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++];e.setAttribute(t,s,a,o)}else{let o=i,s=n[++r];wE(o)?e.setProperty(t,o,s):e.setAttribute(t,o,s),r++}}return r}function bE(e){return e===3||e===4||e===6}function wE(e){return e.charCodeAt(0)===64}function Ei(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){let i=t[r];typeof i=="number"?n=i:n===0||(n===-1||n===2?bf(e,n,i,null,t[++r]):bf(e,n,i,null,null))}}return e}function bf(e,t,n,r,i){let o=0,s=e.length;if(t===-1)s=-1;else for(;o<e.length;){let a=e[o++];if(typeof a=="number"){if(a===t){s=-1;break}else if(a>t){s=o-1;break}}}for(;o<e.length;){let a=e[o];if(typeof a=="number")break;if(a===n){if(r===null){i!==null&&(e[o+1]=i);return}else if(r===e[o+1]){e[o+2]=i;return}}o++,r!==null&&o++,i!==null&&o++}s!==-1&&(e.splice(s,0,t),o=s+1),e.splice(o++,0,n),r!==null&&e.splice(o++,0,r),i!==null&&e.splice(o++,0,i)}var Pl={},xE=class{injector;parentInjector;constructor(e,t){this.injector=e,this.parentInjector=t}get(e,t,n){n=Ma(n);let r=this.injector.get(e,Pl,n);return r!==Pl||t===Pl?r:this.parentInjector.get(e,t,n)}};function L_(e){return e!==_i}function Qs(e){return e&32767}function EE(e){return e>>16}function ea(e,t){let n=EE(e),r=t;for(;n>0;)r=r[Pi],n--;return r}var kc=!0;function ta(e){let t=kc;return kc=e,t}var SE=256,V_=SE-1,j_=5,CE=0,Nn={};function IE(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(ro)&&(r=n[ro]),r==null&&(r=n[ro]=CE++);let i=r&V_,o=1<<i;t.data[e+(i>>j_)]|=o}function na(e,t){let n=F_(e,t);if(n!==-1)return n;let r=t[ge];r.firstCreatePass&&(e.injectorIndex=t.length,Nl(r.data,e),Nl(t,null),Nl(r.blueprint,null));let i=Dh(e,t),o=e.injectorIndex;if(L_(i)){let s=Qs(i),a=ea(i,t),l=a[ge].data;for(let u=0;u<8;u++)t[o+u]=a[s+u]|l[s+u]}return t[o+8]=i,o}function Nl(e,t){e.push(0,0,0,0,0,0,0,0,t)}function F_(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Dh(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,i=t;for(;i!==null;){if(r=q_(i),r===null)return _i;if(n++,i=i[Pi],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return _i}function Rc(e,t,n){IE(e,t,n)}function B_(e,t,n){if(n&Te.Optional||e!==void 0)return e;dh(t,"NodeInjector")}function U_(e,t,n,r){if(n&Te.Optional&&r===void 0&&(r=null),(n&(Te.Self|Te.Host))===0){let i=e[mo],o=Bt(void 0);try{return i?i.get(t,r,n&Te.Optional):Km(t,r,n&Te.Optional)}finally{Bt(o)}}return B_(r,t,n)}function H_(e,t,n,r=Te.Default,i){if(e!==null){if(t[fe]&2048&&!(r&Te.Self)){let s=kE(e,t,n,r,Nn);if(s!==Nn)return s}let o=$_(e,t,n,r,Nn);if(o!==Nn)return o}return U_(t,n,r,i)}function $_(e,t,n,r,i){let o=DE(n);if(typeof o=="function"){if(!O_(t,e,r))return r&Te.Host?B_(i,n,r):U_(t,n,r,i);try{let s;if(s=o(r),s==null&&!(r&Te.Optional))dh(n);else return s}finally{N_()}}else if(typeof o=="number"){let s=null,a=F_(e,t),l=_i,u=r&Te.Host?t[wn][In]:null;for((a===-1||r&Te.SkipSelf)&&(l=a===-1?Dh(e,t):t[a+8],l===_i||!xf(r,!1)?a=-1:(s=t[ge],a=Qs(l),t=ea(l,t)));a!==-1;){let d=t[ge];if(wf(o,a,d.data)){let h=TE(a,t,n,s,r,u);if(h!==Nn)return h}l=t[a+8],l!==_i&&xf(r,t[ge].data[a+8]===u)&&wf(o,a,t)?(s=d,a=Qs(l),t=ea(l,t)):a=-1}}return i}function TE(e,t,n,r,i,o){let s=t[ge],a=s.data[e+8],l=r==null?Ni(a)&&kc:r!=s&&(a.type&3)!==0,u=i&Te.Host&&o===a,d=Rs(a,s,n,l,u);return d!==null?vo(t,s,d,a):Nn}function Rs(e,t,n,r,i){let o=e.providerIndexes,s=t.data,a=o&1048575,l=e.directiveStart,u=e.directiveEnd,d=o>>20,h=r?a:a+d,_=i?a+d:u;for(let m=h;m<_;m++){let b=s[m];if(m<l&&n===b||m>=l&&b.type===n)return m}if(i){let m=s[l];if(m&&Ln(m)&&m.type===n)return l}return null}function vo(e,t,n,r){let i=e[n],o=t.data;if(mE(i)){let s=i;s.resolving&&hx(ux(o[n]));let a=ta(s.canSeeViewProviders);s.resolving=!0;let l,u=s.injectImpl?Bt(s.injectImpl):null,d=O_(e,r,Te.Default);try{i=e[n]=s.factory(void 0,o,e,r),t.firstCreatePass&&n>=r.directiveStart&&pE(n,o[n],t)}finally{u!==null&&Bt(u),ta(a),s.resolving=!1,N_()}}return i}function DE(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(ro)?e[ro]:void 0;return typeof t=="number"?t>=0?t&V_:OE:t}function wf(e,t,n){let r=1<<e;return!!(n[t+(e>>j_)]&r)}function xf(e,t){return!(e&Te.Self)&&!(e&Te.Host&&t)}var io=class{_tNode;_lView;constructor(e,t){this._tNode=e,this._lView=t}get(e,t,n){return H_(this._tNode,this._lView,e,Ma(n),t)}};function OE(){return new io(Yt(),ye())}function z_(e){return Po(()=>{let t=e.prototype.constructor,n=t[zs]||Pc(t),r=Object.prototype,i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){let o=i[zs]||Pc(i);if(o&&o!==n)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function Pc(e){return zm(e)?()=>{let t=Pc(At(e));return t&&t()}:Mr(e)}function kE(e,t,n,r,i){let o=e,s=t;for(;o!==null&&s!==null&&s[fe]&2048&&!Ks(s);){let a=$_(o,s,n,r|Te.Self,Nn);if(a!==Nn)return a;let l=o.parent;if(!l){let u=s[u_];if(u){let d=u.get(n,Nn,r);if(d!==Nn)return d}l=q_(s),s=s[Pi]}o=l}return i}function q_(e){let t=e[ge],n=t.type;return n===2?t.declTNode:n===1?e[In]:null}function Ef(e,t=null,n=null,r){let i=RE(e,t,n,r);return i.resolveInjectorInitializers(),i}function RE(e,t=null,n=null,r,i=new Set){let o=[n||Mt,Ox(e)];return r=r||(typeof e=="object"?void 0:mn(e)),new mh(o,t||Va(),r||null,i)}var Tt=class W_{static THROW_IF_NOT_FOUND=po;static NULL=new t_;static create(t,n){if(Array.isArray(t))return Ef({name:""},n,t,"");{let r=t.name??"";return Ef({name:r},t.parent,t.providers,r)}}static \u0275prov=de({token:W_,providedIn:"any",factory:()=>je(Qm)});static __NG_ELEMENT_ID__=-1},PE=new Ee("");PE.__NG_ELEMENT_ID__=e=>{let t=Yt();if(t===null)throw new De(204,!1);if(t.type&2)return t.value;if(e&Te.Optional)return null;throw new De(204,!1)};var Z_=!1,Bo=(()=>{class e{static __NG_ELEMENT_ID__=NE;static __NG_ENV_ID__=n=>n}return e})(),G_=class extends Bo{_lView;constructor(e){super(),this._lView=e}onDestroy(e){return b_(this._lView,e),()=>Kx(this._lView,e)}};function NE(){return new G_(ye())}var Jr=class{},Oh=new Ee("",{providedIn:"root",factory:()=>!1}),Y_=new Ee(""),kh=new Ee(""),Uo=(()=>{class e{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new rh(!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=de({token:e,providedIn:"root",factory:()=>new e})}return e})(),AE=class extends ve{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(e=!1){super(),this.__isAsync=e,c_()&&(this.destroyRef=R(Bo,{optional:!0})??void 0,this.pendingTasks=R(Uo,{optional:!0})??void 0)}emit(e){let t=Ie(null);try{super.next(e)}finally{Ie(t)}}subscribe(e,t,n){let r=e,i=t||(()=>null),o=n;if(e&&typeof e=="object"){let a=e;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 e instanceof bt&&e.add(s),s}wrapInTimeout(e){return t=>{let n=this.pendingTasks?.add();setTimeout(()=>{e(t),n!==void 0&&this.pendingTasks?.remove(n)})}}},Xe=AE;function yo(...e){}function K_(e){let t,n;function r(){e=yo;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function Sf(e){return queueMicrotask(()=>e()),()=>{e=yo}}var Rh="isAngularZone",ra=Rh+"_ID",ME=0,Ge=class Nc{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Xe(!1);onMicrotaskEmpty=new Xe(!1);onStable=new Xe(!1);onError=new Xe(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:i=!1,scheduleInRootZone:o=Z_}=t;if(typeof Zone>"u")throw new De(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,jE(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Rh)===!0}static assertInAngularZone(){if(!Nc.isInAngularZone())throw new De(909,!1)}static assertNotInAngularZone(){if(Nc.isInAngularZone())throw new De(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,i){let o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,t,LE,yo,yo);try{return o.runTask(s,n,r)}finally{o.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},LE={};function Ph(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function VE(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){K_(()=>{e.callbackScheduled=!1,Ac(e),e.isCheckStableRunning=!0,Ph(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Ac(e)}function jE(e){let t=()=>{VE(e)},n=ME++;e._inner=e._inner.fork({name:"angular",properties:{[Rh]:!0,[ra]:n,[ra+n]:!0},onInvokeTask:(r,i,o,s,a,l)=>{if(FE(l))return r.invokeTask(o,s,a,l);try{return Cf(e),r.invokeTask(o,s,a,l)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),If(e)}},onInvoke:(r,i,o,s,a,l,u)=>{try{return Cf(e),r.invoke(o,s,a,l,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!BE(l)&&t(),If(e)}},onHasTask:(r,i,o,s)=>{r.hasTask(o,s),i===o&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Ac(e),Ph(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,i,o,s)=>(r.handleError(o,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function Ac(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Cf(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function If(e){e._nesting--,Ph(e)}var J_=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Xe;onMicrotaskEmpty=new Xe;onStable=new Xe;onError=new Xe;run(e,t,n){return e.apply(t,n)}runGuarded(e,t,n){return e.apply(t,n)}runOutsideAngular(e){return e()}runTask(e,t,n,r){return e.apply(t,n)}};function FE(e){return X_(e,"__ignore_ng_zone__")}function BE(e){return X_(e,"__scheduler_tick__")}function X_(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var Xr=class{_console=console;handleError(e){this._console.error("ERROR",e)}},UE=new Ee("",{providedIn:"root",factory:()=>{let e=R(Ge),t=R(Xr);return n=>e.runOutsideAngular(()=>t.handleError(n))}});function Tf(e,t){return Um(e,t)}function HE(e){return Um(Bm,e)}var $E=(Tf.required=HE,Tf);function zE(){return Mi(Yt(),ye())}function Mi(e,t){return new $t(Vn(e,t))}var $t=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=zE}return e})();function qE(e){return e instanceof $t?e.nativeElement:e}function Jn(e,t){let n=Zw(e),r=n[nn];return t?.equal&&(r.equal=t.equal),n.set=i=>Qu(r,i),n.update=i=>Gw(r,i),n.asReadonly=WE.bind(n),n}function WE(){let e=this[nn];if(e.readonlyFn===void 0){let t=()=>this();t[nn]=e,e.readonlyFn=t}return e.readonlyFn}function ZE(){return this._results[Symbol.iterator]()}var GE=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new ve}constructor(e=!1){this._emitDistinctChangesOnly=e}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,t){return this._results.reduce(e,t)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,t){this.dirty=!1;let n=Sx(e);(this._changesDetected=!Ex(this._results,n,t))&&(this._results=n,this.length=n.length,this.last=n[this.length-1],this.first=n[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(e){this._onDirty=e}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=ZE};function Q_(e){return(e.flags&128)===128}var ev=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(ev||{}),Nh=new Map,YE=0;function KE(){return YE++}function JE(e){Nh.set(e[Mo],e)}function tv(e){return Nh.get(e)||null}function Mc(e){Nh.delete(e[Mo])}var XE=class{lViewId;nodeIndex;native;component;directives;localRefs;get lView(){return tv(this.lViewId)}constructor(e,t,n){this.lViewId=e,this.nodeIndex=t,this.native=n}};function QE(e){let t=Al(e);if(t){if(zn(t)){let n=t,r,i,o;if(nv(e)){if(r=nS(n,e),r==-1)throw new Error("The provided component was not found in the application");i=e}else if(eS(e)){if(r=rS(n,e),r==-1)throw new Error("The provided directive was not found in the application");o=iS(r,n)}else if(r=Of(n,e),r==-1)return null;let s=Gt(n[r]),a=Al(s),l=a&&!Array.isArray(a)?a:Df(n,r,s);if(i&&l.component===void 0&&(l.component=i,An(l.component,l)),o&&l.directives===void 0){l.directives=o;for(let u=0;u<o.length;u++)An(o[u],l)}An(l.native,l),t=l}}else{let n=e,r=n;for(;r=r.parentNode;){let i=Al(r);if(i){let o=Array.isArray(i)?i:i.lView;if(!o)return null;let s=Of(o,n);if(s>=0){let a=Gt(o[s]),l=Df(o,s,a);An(a,l),t=l;break}}}}return t||null}function Df(e,t,n){return new XE(e[Mo],t,n)}var Lc="__ngContext__";function An(e,t){zn(t)?(e[Lc]=t[Mo],JE(t)):e[Lc]=t}function Al(e){let t=e[Lc];return typeof t=="number"?tv(t):t||null}function nv(e){return e&&e.constructor&&e.constructor.\u0275cmp}function eS(e){return e&&e.constructor&&e.constructor.\u0275dir}function Of(e,t){let n=e[ge];for(let r=ht;r<n.bindingStartIndex;r++)if(Gt(e[r])===t)return r;return-1}function tS(e){if(e.child)return e.child;if(e.next)return e.next;for(;e.parent&&!e.parent.next;)e=e.parent;return e.parent&&e.parent.next}function nS(e,t){let n=e[ge].components;if(n)for(let r=0;r<n.length;r++){let i=n[r];if(on(i,e)[ft]===t)return i}else if(on(ht,e)[ft]===t)return ht;return-1}function rS(e,t){let n=e[ge].firstChild;for(;n;){let r=n.directiveStart,i=n.directiveEnd;for(let o=r;o<i;o++)if(e[o]===t)return n.index;n=tS(n)}return-1}function iS(e,t){let n=t[ge].data[e];if(n.directiveStart===0)return Mt;let r=[];for(let i=n.directiveStart;i<n.directiveEnd;i++){let o=t[i];nv(o)||r.push(o)}return r}function rv(e){return ov(e[_o])}function iv(e){return ov(e[_n])}function ov(e){for(;e!==null&&!er(e);)e=e[_n];return e}var Vc;function oS(e){Vc=e}function sv(){if(Vc!==void 0)return Vc;if(typeof document<"u")return document;throw new De(210,!1)}var Ah=new Ee("",{providedIn:"root",factory:()=>sS}),sS="ng",av=new Ee(""),za=new Ee("",{providedIn:"platform",factory:()=>"unknown"}),aS=new Ee(""),lv=new Ee("",{providedIn:"root",factory:()=>sv().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),lS="h",cS="b",cv=!1,uS=new Ee("",{providedIn:"root",factory:()=>cv}),Mh=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(Mh||{}),Ho=new Ee(""),kf=new Set;function Qr(e){kf.has(e)||(kf.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Lh=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=hS}return e})();function hS(){return new Lh(ye(),Yt())}var ui=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(ui||{}),uv=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=de({token:e,providedIn:"root",factory:()=>new e})}return e})(),dS=[ui.EarlyRead,ui.Write,ui.MixedReadWrite,ui.Read],fS=(()=>{class e{ngZone=R(Ge);scheduler=R(Jr);errorHandler=R(Xr,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){R(Ho,{optional:!0})}execute(){let n=this.sequences.size>0;n&&ze(16),this.executing=!0;for(let r of dS)for(let i of this.sequences)if(!(i.erroredOrDestroyed||!i.hooks[r]))try{i.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let o=i.hooks[r];return o(i.pipelinedValue)},i.snapshot))}catch(o){i.erroredOrDestroyed=!0,this.errorHandler?.handleError(o)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),n&&ze(17)}register(n){let{view:r}=n;r!==void 0?((r[mi]??=[]).push(n),Ai(r),r[fe]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(Mh.AFTER_NEXT_RENDER,n):n()}static \u0275prov=de({token:e,providedIn:"root",factory:()=>new e})}return e})(),pS=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(e,t,n,r,i,o=null){this.impl=e,this.hooks=t,this.view=n,this.once=r,this.snapshot=o,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let e=this.view?.[mi];e&&(this.view[mi]=e.filter(t=>t!==this))}};function hv(e,t){!t?.injector&&ja(hv);let n=t?.injector??R(Tt);return Qr("NgAfterRender"),dv(e,n,t,!1)}function $o(e,t){!t?.injector&&ja($o);let n=t?.injector??R(Tt);return Qr("NgAfterNextRender"),dv(e,n,t,!0)}function gS(e,t){if(e instanceof Function){let n=[void 0,void 0,void 0,void 0];return n[t]=e,n}else return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function dv(e,t,n,r){let i=t.get(uv);i.impl??=t.get(fS);let o=t.get(Ho,null,{optional:!0}),s=n?.phase??ui.MixedReadWrite,a=n?.manualCleanup!==!0?t.get(Bo):null,l=t.get(Lh,null,{optional:!0}),u=new pS(i.impl,gS(e,s),l?.view,r,a,o?.snapshot(null));return i.impl.register(u),u}var mS=()=>null;function fv(e,t,n=!1){return mS(e,t,n)}function pv(e,t){let n=e.contentQueries;if(n!==null){let r=Ie(null);try{for(let i=0;i<n.length;i+=2){let o=n[i],s=n[i+1];if(s!==-1){let a=e.data[s];Eh(o),a.contentQueries(2,t[s],s)}}}finally{Ie(r)}}}function jc(e,t,n){Eh(0);let r=Ie(null);try{t(e,n)}finally{Ie(r)}}function Vh(e,t,n){if(_h(t)){let r=Ie(null);try{let i=t.directiveStart,o=t.directiveEnd;for(let s=i;s<o;s++){let a=e.data[s];if(a.contentQueries){let l=n[s];a.contentQueries(1,l,s)}}}finally{Ie(r)}}}var $n=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}($n||{}),ls;function _S(){if(ls===void 0&&(ls=null,fo.trustedTypes))try{ls=fo.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ls}function qa(e){return _S()?.createHTML(e)||e}var cs;function vS(){if(cs===void 0&&(cs=null,fo.trustedTypes))try{cs=fo.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return cs}function Rf(e){return vS()?.createHTML(e)||e}var ei=class{changingThisBreaksApplicationSecurity;constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Fm})`}},yS=class extends ei{getTypeName(){return"HTML"}},bS=class extends ei{getTypeName(){return"Style"}},wS=class extends ei{getTypeName(){return"Script"}},xS=class extends ei{getTypeName(){return"URL"}},ES=class extends ei{getTypeName(){return"ResourceURL"}};function Hn(e){return e instanceof ei?e.changingThisBreaksApplicationSecurity:e}function Tr(e,t){let n=SS(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Fm})`)}return n===t}function SS(e){return e instanceof ei&&e.getTypeName()||null}function CS(e){return new yS(e)}function IS(e){return new bS(e)}function TS(e){return new wS(e)}function DS(e){return new xS(e)}function OS(e){return new ES(e)}function kS(e){let t=new PS(e);return NS()?new RS(t):t}var RS=class{inertDocumentHelper;constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e="<body><remove></remove>"+e;try{let t=new window.DOMParser().parseFromString(qa(e),"text/html").body;return t===null?this.inertDocumentHelper.getInertBodyElement(e):(t.firstChild?.remove(),t)}catch{return null}}},PS=class{defaultDoc;inertDocument;constructor(e){this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(e){let t=this.inertDocument.createElement("template");return t.innerHTML=qa(e),t}};function NS(){try{return!!new window.DOMParser().parseFromString(qa(""),"text/html")}catch{return!1}}var AS=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function jh(e){return e=String(e),e.match(AS)?e:"unsafe:"+e}function nr(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function zo(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var gv=nr("area,br,col,hr,img,wbr"),mv=nr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),_v=nr("rp,rt"),MS=zo(_v,mv),LS=zo(mv,nr("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")),VS=zo(_v,nr("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")),Pf=zo(gv,LS,VS,MS),vv=nr("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),jS=nr("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"),FS=nr("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"),BS=zo(vv,jS,FS),US=nr("script,style,template"),HS=class{sanitizedSomething=!1;buf=[];sanitizeChildren(e){let t=e.firstChild,n=!0,r=[];for(;t;){if(t.nodeType===Node.ELEMENT_NODE?n=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,n&&t.firstChild){r.push(t),t=qS(t);continue}for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let i=zS(t);if(i){t=i;break}t=r.pop()}}return this.buf.join("")}startElement(e){let t=Nf(e).toLowerCase();if(!Pf.hasOwnProperty(t))return this.sanitizedSomething=!0,!US.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);let n=e.attributes;for(let r=0;r<n.length;r++){let i=n.item(r),o=i.name,s=o.toLowerCase();if(!BS.hasOwnProperty(s)){this.sanitizedSomething=!0;continue}let a=i.value;vv[s]&&(a=jh(a)),this.buf.push(" ",o,'="',Af(a),'"')}return this.buf.push(">"),!0}endElement(e){let t=Nf(e).toLowerCase();Pf.hasOwnProperty(t)&&!gv.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(e){this.buf.push(Af(e))}};function $S(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function zS(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw yv(t);return t}function qS(e){let t=e.firstChild;if(t&&$S(e,t))throw yv(t);return t}function Nf(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function yv(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var WS=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ZS=/([^\#-~ |!])/g;function Af(e){return e.replace(/&/g,"&amp;").replace(WS,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(ZS,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var us;function bv(e,t){let n=null;try{us=us||kS(e);let r=t?String(t):"";n=us.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=us.getInertBodyElement(r)}while(r!==o);let s=new HS().sanitizeChildren(Mf(n)||n);return qa(s)}finally{if(n){let r=Mf(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function Mf(e){return"content"in e&&GS(e)?e.content:null}function GS(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var Un=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(Un||{});function ti(e){let t=wv();return t?Rf(t.sanitize(Un.HTML,e)||""):Tr(e,"HTML")?Rf(Hn(e)):bv(sv(),No(e))}function cn(e){let t=wv();return t?t.sanitize(Un.URL,e)||"":Tr(e,"URL")?Hn(e):jh(No(e))}function wv(){let e=ye();return e&&e[Yn].sanitizer}var YS=/^>|^->|<!--|-->|--!>|<!-$/g,KS=/(<|>)/g,JS="\u200B$1\u200B";function XS(e){return e.replace(YS,t=>t.replace(KS,JS))}function QS(e,t,n){let r=e.length;for(;;){let i=e.indexOf(t,n);if(i===-1)return i;if(i===0||e.charCodeAt(i-1)<=32){let o=t.length;if(i+o===r||e.charCodeAt(i+o)<=32)return i}n=i+1}}var xv="ng-template";function eC(e,t,n,r){let i=0;if(r){for(;i<t.length&&typeof t[i]=="string";i+=2)if(t[i]==="class"&&QS(t[i+1].toLowerCase(),n,0)!==-1)return!0}else if(Fh(e))return!1;if(i=t.indexOf(1,i),i>-1){let o;for(;++i<t.length&&typeof(o=t[i])=="string";)if(o.toLowerCase()===n)return!0}return!1}function Fh(e){return e.type===4&&e.value!==xv}function tC(e,t,n){let r=e.type===4&&!n?xv:e.value;return t===r}function nC(e,t,n){let r=4,i=e.attrs,o=i!==null?oC(i):0,s=!1;for(let a=0;a<t.length;a++){let l=t[a];if(typeof l=="number"){if(!s&&!dn(r)&&!dn(l))return!1;if(s&&dn(l))continue;s=!1,r=l|r&1;continue}if(!s)if(r&4){if(r=2|r&1,l!==""&&!tC(e,l,n)||l===""&&t.length===1){if(dn(r))return!1;s=!0}}else if(r&8){if(i===null||!eC(e,i,l,n)){if(dn(r))return!1;s=!0}}else{let u=t[++a],d=rC(l,i,Fh(e),n);if(d===-1){if(dn(r))return!1;s=!0;continue}if(u!==""){let h;if(d>o?h="":h=i[d+1].toLowerCase(),r&2&&u!==h){if(dn(r))return!1;s=!0}}}}return dn(r)||s}function dn(e){return(e&1)===0}function rC(e,t,n,r){if(t===null)return-1;let i=0;if(r||!n){let o=!1;for(;i<t.length;){let s=t[i];if(s===e)return i;if(s===3||s===6)o=!0;else if(s===1||s===2){let a=t[++i];for(;typeof a=="string";)a=t[++i];continue}else{if(s===4)break;if(s===0){i+=4;continue}}i+=o?1:2}return-1}else return sC(t,e)}function iC(e,t,n=!1){for(let r=0;r<t.length;r++)if(nC(e,t[r],n))return!0;return!1}function oC(e){for(let t=0;t<e.length;t++){let n=e[t];if(bE(n))return t}return e.length}function sC(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){let r=e[n];if(typeof r=="number")return-1;if(r===t)return n;n++}return-1}function Lf(e,t){return e?":not("+t.trim()+")":t}function aC(e){let t=e[0],n=1,r=2,i="",o=!1;for(;n<e.length;){let s=e[n];if(typeof s=="string")if(r&2){let a=e[++n];i+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?i+="."+s:r&4&&(i+=" "+s);else i!==""&&!dn(s)&&(t+=Lf(o,i),i=""),r=s,o=o||!dn(r);n++}return i!==""&&(t+=Lf(o,i)),t}function lC(e){return e.map(aC).join(",")}function cC(e){let t=[],n=[],r=1,i=2;for(;r<e.length;){let o=e[r];if(typeof o=="string")i===2?o!==""&&t.push(o,e[++r]):i===8&&n.push(o);else{if(!dn(i))break;i=o}r++}return n.length&&t.push(1,...n),t}var Tn={};function uC(e,t){return e.createText(t)}function hC(e,t,n){e.setValue(t,n)}function dC(e,t){return e.createComment(XS(t))}function Ev(e,t,n){return e.createElement(t,n)}function ia(e,t,n,r,i){e.insertBefore(t,n,r,i)}function Sv(e,t,n){e.appendChild(t,n)}function Vf(e,t,n,r,i){r!==null?ia(e,t,n,r,i):Sv(e,t,n)}function fC(e,t,n){e.removeChild(null,t,n)}function pC(e,t,n){e.setAttribute(t,"style",n)}function gC(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Cv(e,t,n){let{mergedAttrs:r,classes:i,styles:o}=n;r!==null&&yE(e,t,r),i!==null&&gC(e,t,i),o!==null&&pC(e,t,o)}function Bh(e,t,n,r,i,o,s,a,l,u,d){let h=ht+r,_=h+i,m=mC(h,_),b=typeof u=="function"?u():u;return m[ge]={type:e,blueprint:m,template:n,queries:null,viewQuery:a,declTNode:t,data:m.slice().fill(null,h),bindingStartIndex:h,expandoStartIndex:_,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:l,consts:b,incompleteFirstPass:!1,ssrId:d}}function mC(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:Tn);return n}function _C(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Bh(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Uh(e,t,n,r,i,o,s,a,l,u,d){let h=t.blueprint.slice();return h[Qn]=i,h[fe]=r|4|128|8|64|1024,(u!==null||e&&e[fe]&2048)&&(h[fe]|=2048),y_(h),h[Rt]=h[Pi]=e,h[ft]=n,h[Yn]=s||e&&e[Yn],h[_t]=a||e&&e[_t],h[mo]=l||e&&e[mo]||null,h[In]=o,h[Mo]=KE(),h[go]=d,h[u_]=u,h[wn]=t.type==2?e[wn]:h,h}function vC(e,t,n){let r=Vn(t,e),i=_C(n),o=e[Yn].rendererFactory,s=Hh(e,Uh(e,i,null,Iv(n),r,t,null,o.createRenderer(r,n),null,null,null));return e[t.index]=s}function Iv(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Tv(e,t,n,r){if(n===0)return-1;let i=t.length;for(let o=0;o<n;o++)t.push(r),e.blueprint.push(r),e.data.push(null);return i}function Hh(e,t){return e[_o]?e[vf][_n]=t:e[_o]=t,e[vf]=t,t}function Z(e=1){Dv(pt(),ye(),tr()+e,!1)}function Dv(e,t,n,r){if(!r)if((t[fe]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Os(t,i,n)}else{let i=e.preOrderHooks;i!==null&&ks(t,i,0,n)}Hr(n)}var Wa=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Wa||{});function Fc(e,t,n,r){let i=Ie(null);try{let[o,s,a]=e.inputs[n],l=null;(s&Wa.SignalBased)!==0&&(l=t[o][nn]),l!==null&&l.transformFn!==void 0?r=l.transformFn(r):a!==null&&(r=a.call(t,r)),e.setInput!==null?e.setInput(t,l,r,n,o):d_(t,l,o,r)}finally{Ie(i)}}function Ov(e,t,n,r,i){let o=tr(),s=r&2;try{Hr(-1),s&&t.length>ht&&Dv(e,t,ht,!1),ze(s?2:0,i),n(r,i)}finally{Hr(o),ze(s?3:1,i)}}function Za(e,t,n){SC(e,t,n),(n.flags&64)===64&&CC(e,t,n)}function $h(e,t,n=Vn){let r=t.localNames;if(r!==null){let i=t.index+1;for(let o=0;o<r.length;o+=2){let s=r[o+1],a=s===-1?n(t,e):e[s];e[i++]=a}}}function yC(e,t,n,r){let i=r.get(uS,cv)||n===$n.ShadowDom,o=e.selectRootElement(t,i);return bC(o),o}function bC(e){wC(e)}var wC=()=>null;function xC(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function kv(e,t,n,r,i,o,s,a){if(!a&&qh(t,e,n,r,i)){Ni(t)&&EC(n,t.index);return}if(t.type&3){let l=Vn(t,n);r=xC(r),i=s!=null?s(i,t.value||"",r):i,o.setProperty(l,r,i)}else t.type&12}function EC(e,t){let n=on(t,e);n[fe]&16||(n[fe]|=64)}function SC(e,t,n){let r=n.directiveStart,i=n.directiveEnd;Ni(n)&&vC(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||na(n,t);let o=n.initialInputs;for(let s=r;s<i;s++){let a=e.data[s],l=vo(t,e,s,n);if(An(l,t),o!==null&&OC(t,s-r,l,a,n,o),Ln(a)){let u=on(n.index,t);u[ft]=vo(t,e,s,n)}}}function CC(e,t,n){let r=n.directiveStart,i=n.directiveEnd,o=n.index,s=lE();try{Hr(o);for(let a=r;a<i;a++){let l=e.data[a],u=t[a];Oc(a),(l.hostBindings!==null||l.hostVars!==0||l.hostAttrs!==null)&&IC(l,u)}}finally{Hr(-1),Oc(s)}}function IC(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function zh(e,t){let n=e.directiveRegistry,r=null;if(n)for(let i=0;i<n.length;i++){let o=n[i];iC(t,o.selectors,!1)&&(r??=[],Ln(o)?r.unshift(o):r.push(o))}return r}function TC(e,t,n,r,i,o){let s=Vn(e,t);DC(t[_t],s,o,e.value,n,r,i)}function DC(e,t,n,r,i,o,s){if(o==null)e.removeAttribute(t,i,n);else{let a=s==null?No(o):s(o,r||"",i);e.setAttribute(t,i,a,n)}}function OC(e,t,n,r,i,o){let s=o[t];if(s!==null)for(let a=0;a<s.length;a+=2){let l=s[a],u=s[a+1];Fc(r,n,l,u)}}function Rv(e,t){let n=e[mo],r=n?n.get(Xr,null):null;r&&r.handleError(t)}function qh(e,t,n,r,i){let o=e.inputs?.[r],s=e.hostDirectiveInputs?.[r],a=!1;if(s)for(let l=0;l<s.length;l+=2){let u=s[l],d=s[l+1],h=t.data[u];Fc(h,n[u],d,i),a=!0}if(o)for(let l of o){let u=n[l],d=t.data[l];Fc(d,u,r,i),a=!0}return a}function kC(e,t){let n=on(t,e),r=n[ge];RC(r,n);let i=n[Qn];i!==null&&n[go]===null&&(n[go]=fv(i,n[mo])),ze(18),Wh(r,n,n[ft]),ze(19,n[ft])}function RC(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Wh(e,t,n){Sh(t);try{let r=e.viewQuery;r!==null&&jc(1,r,n);let i=e.template;i!==null&&Ov(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Kn]?.finishViewCreation(e),e.staticContentQueries&&pv(e,t),e.staticViewQueries&&jc(2,e.viewQuery,n);let o=e.components;o!==null&&PC(t,o)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[fe]&=-5,Ch()}}function PC(e,t){for(let n=0;n<t.length;n++)kC(e,t[n])}function Ga(e,t,n,r){let i=Ie(null);try{let o=t.tView,s=e[fe]&4096?4096:16,a=Uh(e,o,n,s,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[t.index];a[jr]=l;let u=e[Kn];return u!==null&&(a[Kn]=u.createEmbeddedView(o)),Wh(o,a,n),a}finally{Ie(i)}}function bo(e,t){return!t||t.firstChild===null||Q_(e)}var NC;function Zh(e,t){return NC(e,t)}var ur=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(ur||{});function Pv(e){return(e.flags&32)===32}function hi(e,t,n,r,i){if(r!=null){let o,s=!1;er(r)?o=r:zn(r)&&(s=!0,r=r[Qn]);let a=Gt(r);e===0&&n!==null?i==null?Sv(t,n,a):ia(t,n,a,i||null,!0):e===1&&n!==null?ia(t,n,a,i||null,!0):e===2?fC(t,a,s):e===3&&t.destroyNode(a),o!=null&&qC(t,e,o,n,i)}}function AC(e,t){Nv(e,t),t[Qn]=null,t[In]=null}function MC(e,t,n,r,i,o){r[Qn]=i,r[In]=t,Ja(e,r,n,1,i,o)}function Nv(e,t){t[Yn].changeDetectionScheduler?.notify(9),Ja(e,t,t[_t],2,null,null)}function LC(e){let t=e[_o];if(!t)return Ml(e[ge],e);for(;t;){let n=null;if(zn(t))n=t[_o];else{let r=t[kt];r&&(n=r)}if(!n){for(;t&&!t[_n]&&t!==e;)zn(t)&&Ml(t[ge],t),t=t[Rt];t===null&&(t=e),zn(t)&&Ml(t[ge],t),n=t&&t[_n]}t=n}}function Gh(e,t){let n=e[xi],r=n.indexOf(t);n.splice(r,1)}function Ya(e,t){if(Lo(t))return;let n=t[_t];n.destroyNode&&Ja(e,t,n,3,null,null),LC(t)}function Ml(e,t){if(Lo(t))return;let n=Ie(null);try{t[fe]&=-129,t[fe]|=256,t[Wt]&&Ro(t[Wt]),jC(e,t),VC(e,t),t[ge].type===1&&t[_t].destroy();let r=t[jr];if(r!==null&&er(t[Rt])){r!==t[Rt]&&Gh(r,t);let i=t[Kn];i!==null&&i.detachView(e)}Mc(t)}finally{Ie(n)}}function VC(e,t){let n=e.cleanup,r=t[Gs];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&&(t[Gs]=null);let i=t[fr];if(i!==null){t[fr]=null;for(let s=0;s<i.length;s++){let a=i[s];a()}}let o=t[Fr];if(o!==null){t[Fr]=null;for(let s of o)s.destroy()}}function jC(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let r=0;r<n.length;r+=2){let i=t[n[r]];if(!(i instanceof Fo)){let o=n[r+1];if(Array.isArray(o))for(let s=0;s<o.length;s+=2){let a=i[o[s]],l=o[s+1];ze(4,a,l);try{l.call(a)}finally{ze(5,a,l)}}else{ze(4,i,o);try{o.call(i)}finally{ze(5,i,o)}}}}}function FC(e,t,n){return BC(e,t.parent,n)}function BC(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[Qn];if(Ni(r)){let{encapsulation:i}=e.data[r.directiveStart+r.componentOffset];if(i===$n.None||i===$n.Emulated)return null}return Vn(r,n)}function UC(e,t,n){return $C(e,t,n)}function HC(e,t,n){return e.type&40?Vn(e,n):null}var $C=HC,jf;function Ka(e,t,n,r){let i=FC(e,r,t),o=t[_t],s=r.parent||t[In],a=UC(s,r,t);if(i!=null)if(Array.isArray(n))for(let l=0;l<n.length;l++)Vf(o,i,n[l],a,!1);else Vf(o,i,n,a,!1);jf!==void 0&&jf(o,r,t,n,i)}function Xi(e,t){if(t!==null){let n=t.type;if(n&3)return Vn(t,e);if(n&4)return Bc(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return Xi(e,r);{let i=e[t.index];return er(i)?Bc(-1,i):Gt(i)}}else{if(n&128)return Xi(e,t.next);if(n&32)return Zh(t,e)()||Gt(e[t.index]);{let r=Av(e,t);if(r!==null){if(Array.isArray(r))return r[0];let i=Ur(e[wn]);return Xi(i,r)}else return Xi(e,t.next)}}}return null}function Av(e,t){if(t!==null){let n=e[wn][In],r=t.projection;return n.projection[r]}return null}function Bc(e,t){let n=kt+e+1;if(n<t.length){let r=t[n],i=r[ge].firstChild;if(i!==null)return Xi(r,i)}return t[Br]}function Yh(e,t,n,r,i,o,s){for(;n!=null;){if(n.type===128){n=n.next;continue}let a=r[n.index],l=n.type;if(s&&t===0&&(a&&An(Gt(a),r),n.flags|=2),!Pv(n))if(l&8)Yh(e,t,n.child,r,i,o,!1),hi(t,e,i,a,o);else if(l&32){let u=Zh(n,r),d;for(;d=u();)hi(t,e,i,d,o);hi(t,e,i,a,o)}else l&16?zC(e,t,r,n,i,o):hi(t,e,i,a,o);n=s?n.projectionNext:n.next}}function Ja(e,t,n,r,i,o){Yh(n,r,e.firstChild,t,i,o,!1)}function zC(e,t,n,r,i,o){let s=n[wn],a=s[In].projection[r.projection];if(Array.isArray(a))for(let l=0;l<a.length;l++){let u=a[l];hi(t,e,i,u,o)}else{let l=a,u=s[Rt];Q_(r)&&(l.flags|=128),Yh(e,t,l,u,i,o,!0)}}function qC(e,t,n,r,i){let o=n[Br],s=Gt(n);o!==s&&hi(t,e,r,o,i);for(let a=kt;a<n.length;a++){let l=n[a];Ja(l[ge],l,e,t,r,o)}}function WC(e,t,n,r,i){if(t)i?e.addClass(n,r):e.removeClass(n,r);else{let o=r.indexOf("-")===-1?void 0:ur.DashCase;i==null?e.removeStyle(n,r,o):(typeof i=="string"&&i.endsWith("!important")&&(i=i.slice(0,-10),o|=ur.Important),e.setStyle(n,r,i,o))}}function oa(e,t,n,r,i=!1){for(;n!==null;){if(n.type===128){n=i?n.projectionNext:n.next;continue}let o=t[n.index];o!==null&&r.push(Gt(o)),er(o)&&ZC(o,r);let s=n.type;if(s&8)oa(e,t,n.child,r);else if(s&32){let a=Zh(n,t),l;for(;l=a();)r.push(l)}else if(s&16){let a=Av(t,n);if(Array.isArray(a))r.push(...a);else{let l=Ur(t[wn]);oa(l[ge],l,a,r,!0)}}n=i?n.projectionNext:n.next}return r}function ZC(e,t){for(let n=kt;n<e.length;n++){let r=e[n],i=r[ge].firstChild;i!==null&&oa(r[ge],r,i,t)}e[Br]!==e[Qn]&&t.push(e[Br])}function Mv(e){if(e[mi]!==null){for(let t of e[mi])t.impl.addSequence(t);e[mi].length=0}}var Lv=[];function GC(e){return e[Wt]??YC(e)}function YC(e){let t=Lv.pop()??Object.create(JC);return t.lView=e,t}function KC(e){e.lView[Wt]!==e&&(e.lView=null,Lv.push(e))}var JC=Ne(A({},Ri),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Ai(e.lView)},consumerOnSignalRead(){this.lView[Wt]=this}});function XC(e){let t=e[Wt]??Object.create(QC);return t.lView=e,t}var QC=Ne(A({},Ri),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=Ur(e.lView);for(;t&&!Vv(t[ge]);)t=Ur(t);t&&bh(t)},consumerOnSignalRead(){this.lView[Wt]=this}});function Vv(e){return e.type!==2}function jv(e){if(e[Fr]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[Fr])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[fe]&8192)}}var eI=100;function Fv(e,t=!0,n=0){let r=e[Yn].rendererFactory,i=!1;i||r.begin?.();try{tI(e,n)}catch(o){throw t&&Rv(e,o),o}finally{i||r.end?.()}}function tI(e,t){let n=I_();try{Js(!0),Uc(e,t);let r=0;for(;Ua(e);){if(r===eI)throw new De(103,!1);r++,Uc(e,1)}}finally{Js(n)}}function nI(e,t,n,r){if(Lo(t))return;let i=t[fe],o=!1,s=!1;Sh(t);let a=!0,l=null,u=null;o||(Vv(e)?(u=GC(t),l=co(u)):Fw()===null?(a=!1,u=XC(t),l=co(u)):t[Wt]&&(Ro(t[Wt]),t[Wt]=null));try{y_(t),oE(e.bindingStartIndex),n!==null&&Ov(e,t,n,2,r);let d=(i&3)===3;if(!o)if(d){let m=e.preOrderCheckHooks;m!==null&&Os(t,m,null)}else{let m=e.preOrderHooks;m!==null&&ks(t,m,0,null),Rl(t,0)}if(s||rI(t),jv(t),Bv(t,0),e.contentQueries!==null&&pv(e,t),!o)if(d){let m=e.contentCheckHooks;m!==null&&Os(t,m)}else{let m=e.contentHooks;m!==null&&ks(t,m,1),Rl(t,1)}oI(e,t);let h=e.components;h!==null&&Hv(t,h,0);let _=e.viewQuery;if(_!==null&&jc(2,_,r),!o)if(d){let m=e.viewCheckHooks;m!==null&&Os(t,m)}else{let m=e.viewHooks;m!==null&&ks(t,m,2),Rl(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Ds]){for(let m of t[Ds])m();t[Ds]=null}o||(Mv(t),t[fe]&=-73)}catch(d){throw o||Ai(t),d}finally{u!==null&&(Ia(u,l),a&&KC(u)),Ch()}}function Bv(e,t){for(let n=rv(e);n!==null;n=iv(n))for(let r=kt;r<n.length;r++){let i=n[r];Uv(i,t)}}function rI(e){for(let t=rv(e);t!==null;t=iv(t)){if(!(t[fe]&2))continue;let n=t[xi];for(let r=0;r<n.length;r++){let i=n[r];bh(i)}}}function iI(e,t,n){ze(18);let r=on(t,e);Uv(r,n),ze(19,r[ft])}function Uv(e,t){yh(e)&&Uc(e,t)}function Uc(e,t){let n=e[ge],r=e[fe],i=e[Wt],o=!!(t===0&&r&16);if(o||=!!(r&64&&t===0),o||=!!(r&1024),o||=!!(i?.dirty&&Ta(i)),o||=!1,i&&(i.dirty=!1),e[fe]&=-9217,o)nI(n,e,n.template,e[ft]);else if(r&8192){jv(e),Bv(e,1);let s=n.components;s!==null&&Hv(e,s,1),Mv(e)}}function Hv(e,t,n){for(let r=0;r<t.length;r++)iI(e,t[r],n)}function oI(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let r=0;r<n.length;r++){let i=n[r];if(i<0)Hr(~i);else{let o=i,s=n[++r],a=n[++r];aE(s,o);let l=t[o];ze(24,l),a(2,l),ze(25,l)}}}finally{Hr(-1)}}function Kh(e,t){let n=I_()?64:1088;for(e[Yn].changeDetectionScheduler?.notify(t);e;){e[fe]|=n;let r=Ur(e);if(Ks(e)&&!r)return e;e=r}return null}function $v(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function zv(e,t){let n=kt+t;if(n<e.length)return e[n]}function Xa(e,t,n,r=!0){let i=t[ge];if(sI(i,t,e,n),r){let s=Bc(n,e),a=t[_t],l=a.parentNode(e[Br]);l!==null&&MC(i,e[In],a,t,l,s)}let o=t[go];o!==null&&o.firstChild!==null&&(o.firstChild=null)}function qv(e,t){let n=wo(e,t);return n!==void 0&&Ya(n[ge],n),n}function wo(e,t){if(e.length<=kt)return;let n=kt+t,r=e[n];if(r){let i=r[jr];i!==null&&i!==e&&Gh(i,r),t>0&&(e[n-1][_n]=r[_n]);let o=Ws(e,kt+t);AC(r[ge],r);let s=o[Kn];s!==null&&s.detachView(o[ge]),r[Rt]=null,r[_n]=null,r[fe]&=-129}return r}function sI(e,t,n,r){let i=kt+r,o=n.length;r>0&&(n[i-1][_n]=t),r<o-kt?(t[_n]=n[i],Xm(n,kt+r,t)):(n.push(t),t[_n]=null),t[Rt]=n;let s=t[jr];s!==null&&n!==s&&Wv(s,t);let a=t[Kn];a!==null&&a.insertView(e),Tc(t),t[fe]|=128}function Wv(e,t){let n=e[xi],r=t[Rt];if(zn(r))e[fe]|=2;else{let i=r[Rt][wn];t[wn]!==i&&(e[fe]|=2)}n===null?e[xi]=[t]:n.push(t)}var xo=class{_lView;_cdRefInjectingView;notifyErrorHandler;_appRef=null;_attachedToViewContainer=!1;get rootNodes(){let e=this._lView,t=e[ge];return oa(t,e,t.firstChild,[])}constructor(e,t,n=!0){this._lView=e,this._cdRefInjectingView=t,this.notifyErrorHandler=n}get context(){return this._lView[ft]}get dirty(){return!!(this._lView[fe]&9280)||!!this._lView[Wt]?.dirty}set context(e){this._lView[ft]=e}get destroyed(){return Lo(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let e=this._lView[Rt];if(er(e)){let t=e[Ys],n=t?t.indexOf(this):-1;n>-1&&(wo(e,n),Ws(t,n))}this._attachedToViewContainer=!1}Ya(this._lView[ge],this._lView)}onDestroy(e){b_(this._lView,e)}markForCheck(){Kh(this._cdRefInjectingView||this._lView,4)}markForRefresh(){bh(this._cdRefInjectingView||this._lView)}detach(){this._lView[fe]&=-129}reattach(){Tc(this._lView),this._lView[fe]|=128}detectChanges(){this._lView[fe]|=1024,Fv(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new De(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let e=Ks(this._lView),t=this._lView[jr];t!==null&&!e&&Gh(t,this._lView),Nv(this._lView[ge],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new De(902,!1);this._appRef=e;let t=Ks(this._lView),n=this._lView[jr];n!==null&&!t&&Wv(n,this._lView),Tc(this._lView)}},Eo=(()=>{class e{static __NG_ELEMENT_ID__=cI}return e})(),aI=Eo,lI=class extends aI{_declarationLView;_declarationTContainer;elementRef;constructor(e,t,n){super(),this._declarationLView=e,this._declarationTContainer=t,this.elementRef=n}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,t){return this.createEmbeddedViewImpl(e,t)}createEmbeddedViewImpl(e,t,n){let r=Ga(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:t,dehydratedView:n});return new xo(r)}};function cI(){return Qa(Yt(),ye())}function Qa(e,t){return e.type&4?new lI(t,e,Mi(e,t)):null}function qo(e,t,n,r,i){let o=e.data[t];if(o===null)o=uI(e,t,n,r,i),sE()&&(o.flags|=32);else if(o.type&64){o.type=n,o.value=r,o.attrs=i;let s=iE();o.injectorIndex=s===null?-1:s.injectorIndex}return yr(o,!0),o}function uI(e,t,n,r,i){let o=E_(),s=xh(),a=s?o:o&&o.parent,l=e.data[t]=dI(e,a,n,t,r,i);return hI(e,l,o,s),l}function hI(e,t,n,r){e.firstChild===null&&(e.firstChild=t),n!==null&&(r?n.child==null&&t.parent!==null&&(n.child=t):n.next===null&&(n.next=t,t.prev=n))}function dI(e,t,n,r,i,o){let s=t?t.injectorIndex:-1,a=0;return tE()&&(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:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var H5=new RegExp(`^(\\d+)*(${cS}|${lS})*(.*)`),fI=()=>null;function So(e,t){return fI(e,t)}var pI=class{},Zv=class{},gI=class{resolveComponentFactory(e){throw Error(`No component factory found for ${mn(e)}.`)}},Wo=class{static NULL=new gI},Dn=class{},Jh=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>mI()}return e})();function mI(){let e=ye(),t=Yt(),n=on(t.index,e);return(zn(n)?n:e)[_t]}var _I=(()=>{class e{static \u0275prov=de({token:e,providedIn:"root",factory:()=>null})}return e})();function Hc(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,o=0;if(t!==null)for(let s=0;s<t.length;s++){let a=t[s];if(typeof a=="number")o=a;else if(o==1)i=bc(i,a);else if(o==2){let l=a,u=t[++s];r=bc(r,l+": "+u+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}function Et(e,t=Te.Default){let n=ye();if(n===null)return je(e,t);let r=Yt();return H_(r,n,At(e),t)}function Xh(e,t,n,r,i){let o=r===null?null:{"":-1},s=i(e,n);if(s!==null){let a,l=null,u=null,d=yI(s);d===null?a=s:[a,l,u]=d,xI(e,t,n,a,o,l,u)}o!==null&&r!==null&&vI(n,r,o)}function vI(e,t,n){let r=e.localNames=[];for(let i=0;i<t.length;i+=2){let o=n[t[i+1]];if(o==null)throw new De(-301,!1);r.push(t[i],o)}}function yI(e){let t=null,n=!1;for(let s=0;s<e.length;s++){let a=e[s];if(s===0&&Ln(a)&&(t=a),a.findHostDirectiveDefs!==null){n=!0;break}}if(!n)return null;let r=null,i=null,o=null;for(let s of e)s.findHostDirectiveDefs!==null&&(r??=[],i??=new Map,o??=new Map,bI(s,r,o,i)),s===t&&(r??=[],r.push(s));return r!==null?(r.push(...t===null?e:e.slice(1)),[r,i,o]):null}function bI(e,t,n,r){let i=t.length;e.findHostDirectiveDefs(e,t,r),n.set(e,[i,t.length-1])}function wI(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function xI(e,t,n,r,i,o,s){let a=r.length,l=!1;for(let _=0;_<a;_++){let m=r[_];!l&&Ln(m)&&(l=!0,wI(e,n,_)),Rc(na(n,t),e,m.type)}DI(n,e.data.length,a);for(let _=0;_<a;_++){let m=r[_];m.providersResolver&&m.providersResolver(m)}let u=!1,d=!1,h=Tv(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let _=0;_<a;_++){let m=r[_];if(n.mergedAttrs=Ei(n.mergedAttrs,m.hostAttrs),SI(e,n,t,h,m),TI(h,m,i),s!==null&&s.has(m)){let[S,N]=s.get(m);n.directiveToIndex.set(m.type,[h,S+n.directiveStart,N+n.directiveStart])}else(o===null||!o.has(m))&&n.directiveToIndex.set(m.type,h);m.contentQueries!==null&&(n.flags|=4),(m.hostBindings!==null||m.hostAttrs!==null||m.hostVars!==0)&&(n.flags|=64);let b=m.type.prototype;!u&&(b.ngOnChanges||b.ngOnInit||b.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),u=!0),!d&&(b.ngOnChanges||b.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),d=!0),h++}EI(e,n,o)}function EI(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let i=e.data[r];if(n===null||!n.has(i))Ff(0,t,i,r),Ff(1,t,i,r),Uf(t,r,!1);else{let o=n.get(i);Bf(0,t,o,r),Bf(1,t,o,r),Uf(t,r,!0)}}}function Ff(e,t,n,r){let i=e===0?n.inputs:n.outputs;for(let o in i)if(i.hasOwnProperty(o)){let s;e===0?s=t.inputs??={}:s=t.outputs??={},s[o]??=[],s[o].push(r),Gv(t,o)}}function Bf(e,t,n,r){let i=e===0?n.inputs:n.outputs;for(let o in i)if(i.hasOwnProperty(o)){let s=i[o],a;e===0?a=t.hostDirectiveInputs??={}:a=t.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,o),Gv(t,s)}}function Gv(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function Uf(e,t,n){let{attrs:r,inputs:i,hostDirectiveInputs:o}=e;if(r===null||!n&&i===null||n&&o===null||Fh(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let l=r[a];if(l===0){a+=4;continue}else if(l===5){a+=2;continue}else if(typeof l=="number")break;if(!n&&i.hasOwnProperty(l)){let u=i[l];for(let d of u)if(d===t){s??=[],s.push(l,r[a+1]);break}}else if(n&&o.hasOwnProperty(l)){let u=o[l];for(let d=0;d<u.length;d+=2)if(u[d]===t){s??=[],s.push(u[d+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function SI(e,t,n,r,i){e.data[r]=i;let o=i.factory||(i.factory=Mr(i.type,!0)),s=new Fo(o,Ln(i),Et);e.blueprint[r]=s,n[r]=s,CI(e,t,r,Tv(e,n,i.hostVars,Tn),i)}function CI(e,t,n,r,i){let o=i.hostBindings;if(o){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;II(s)!=a&&s.push(a),s.push(n,r,o)}}function II(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function TI(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Ln(t)&&(n[""]=e)}}function DI(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Yv(e,t,n,r,i,o,s,a){let l=t.consts,u=gr(l,s),d=qo(t,e,2,r,u);return o&&Xh(t,n,d,gr(l,a),i),d.mergedAttrs=Ei(d.mergedAttrs,d.attrs),d.attrs!==null&&Hc(d,d.attrs,!1),d.mergedAttrs!==null&&Hc(d,d.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,d),d}function Kv(e,t){Th(e,t),_h(t)&&e.queries.elementEnd(t)}var OI=class extends Wo{ngModule;constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){let t=Vr(e);return new Qh(t,this.ngModule)}};function kI(e){return Object.keys(e).map(t=>{let[n,r,i]=e[t],o={propName:n,templateName:t,isSignal:(r&Wa.SignalBased)!==0};return i&&(o.transform=i),o})}function RI(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function PI(e,t,n){let r=t instanceof Gn?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new xE(n,r):n}function NI(e){let t=e.get(Dn,null);if(t===null)throw new De(407,!1);let n=e.get(_I,null),r=e.get(Jr,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r}}function AI(e,t){let n=(e.selectors[0][0]||"div").toLowerCase();return Ev(t,n,n==="svg"?__:n==="math"?Wx:null)}var Qh=class extends Zv{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;get inputs(){return kI(this.componentDef.inputs)}get outputs(){return RI(this.componentDef.outputs)}constructor(e,t){super(),this.componentDef=e,this.ngModule=t,this.componentType=e.type,this.selector=lC(e.selectors),this.ngContentSelectors=e.ngContentSelectors??[],this.isBoundToModule=!!t}create(e,t,n,r){ze(22);let i=Ie(null);try{let o=this.componentDef,s=n?["ng-version","19.2.0"]:cC(this.componentDef.selectors[0]),a=Bh(0,null,null,1,0,null,null,null,null,[s],null),l=PI(o,r||this.ngModule,e),u=NI(l),d=u.rendererFactory.createRenderer(null,o),h=n?yC(d,n,o.encapsulation,l):AI(o,d),_=Uh(null,a,null,512|Iv(o),null,null,u,d,l,null,fv(h,l,!0));_[ht]=h,Sh(_);let m=null;try{let b=Yv(ht,a,_,"#host",()=>[this.componentDef],!0,0);h&&(Cv(d,h,b),An(h,_)),Za(a,_,b),Vh(a,b,_),Kv(a,b),t!==void 0&&LI(b,this.ngContentSelectors,t),m=on(b.index,_),_[ft]=m[ft],Wh(a,_,null)}catch(b){throw m!==null&&Mc(m),Mc(_),b}finally{ze(23),Ch()}return new MI(this.componentType,_)}finally{Ie(i)}}},MI=class extends pI{_rootLView;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(e,t){super(),this._rootLView=t,this._tNode=vh(t[ge],ht),this.location=Mi(this._tNode,t),this.instance=on(this._tNode.index,t)[ft],this.hostView=this.changeDetectorRef=new xo(t,void 0,!1),this.componentType=e}setInput(e,t){let n=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(e)&&Object.is(this.previousInputValues.get(e),t))return;let r=this._rootLView,i=qh(n,r[ge],r,e,t);this.previousInputValues.set(e,t);let o=on(n.index,r);Kh(o,1)}get injector(){return new io(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}};function LI(e,t,n){let r=e.projection=[];for(let i=0;i<t.length;i++){let o=n[i];r.push(o!=null&&o.length?Array.from(o):null)}}var Li=(()=>{class e{static __NG_ELEMENT_ID__=VI}return e})();function VI(){let e=Yt();return Xv(e,ye())}var jI=Li,Jv=class extends jI{_lContainer;_hostTNode;_hostLView;constructor(e,t,n){super(),this._lContainer=e,this._hostTNode=t,this._hostLView=n}get element(){return Mi(this._hostTNode,this._hostLView)}get injector(){return new io(this._hostTNode,this._hostLView)}get parentInjector(){let e=Dh(this._hostTNode,this._hostLView);if(L_(e)){let t=ea(e,this._hostLView),n=Qs(e),r=t[ge].data[n+8];return new io(r,t)}else return new io(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let t=Hf(this._lContainer);return t!==null&&t[e]||null}get length(){return this._lContainer.length-kt}createEmbeddedView(e,t,n){let r,i;typeof n=="number"?r=n:n!=null&&(r=n.index,i=n.injector);let o=So(this._lContainer,e.ssrId),s=e.createEmbeddedViewImpl(t||{},i,o);return this.insertImpl(s,r,bo(this._hostTNode,o)),s}createComponent(e,t,n,r,i){let o=e&&!Bx(e),s;if(o)s=t;else{let m=t||{};s=m.index,n=m.injector,r=m.projectableNodes,i=m.environmentInjector||m.ngModuleRef}let a=o?e:new Qh(Vr(e)),l=n||this.parentInjector;if(!i&&a.ngModule==null){let m=(o?l:this.parentInjector).get(Gn,null);m&&(i=m)}let u=Vr(a.componentType??{}),d=So(this._lContainer,u?.id??null),h=d?.firstChild??null,_=a.create(l,r,h,i);return this.insertImpl(_.hostView,s,bo(this._hostTNode,d)),_}insert(e,t){return this.insertImpl(e,t,!0)}insertImpl(e,t,n){let r=e._lView;if(Gx(r)){let s=this.indexOf(e);if(s!==-1)this.detach(s);else{let a=r[Rt],l=new Jv(a,a[In],a[Rt]);l.detach(l.indexOf(e))}}let i=this._adjustIndex(t),o=this._lContainer;return Xa(o,r,i,n),e.attachToViewContainerRef(),Xm(Ll(o),i,e),e}move(e,t){return this.insert(e,t)}indexOf(e){let t=Hf(this._lContainer);return t!==null?t.indexOf(e):-1}remove(e){let t=this._adjustIndex(e,-1),n=wo(this._lContainer,t);n&&(Ws(Ll(this._lContainer),t),Ya(n[ge],n))}detach(e){let t=this._adjustIndex(e,-1),n=wo(this._lContainer,t);return n&&Ws(Ll(this._lContainer),t)!=null?new xo(n):null}_adjustIndex(e,t=0){return e??this.length+t}};function Hf(e){return e[Ys]}function Ll(e){return e[Ys]||(e[Ys]=[])}function Xv(e,t){let n,r=t[e.index];return er(r)?n=r:(n=$v(r,t,null,e),t[e.index]=n,Hh(t,n)),BI(n,t,e,r),new Jv(n,e,t)}function FI(e,t){let n=e[_t],r=n.createComment(""),i=Vn(t,e),o=n.parentNode(i);return ia(n,o,r,n.nextSibling(i),!1),r}var BI=$I,UI=()=>!1;function HI(e,t,n){return UI(e,t,n)}function $I(e,t,n,r){if(e[Br])return;let i;n.type&8?i=Gt(r):i=FI(t,n),e[Br]=i}var zI=class Qv{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new Qv(this.queryList)}setDirty(){this.queryList.setDirty()}},qI=class ey{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,i=[];for(let o=0;o<r;o++){let s=n.getByIndex(o),a=this.queries[s.indexInDeclarationView];i.push(a.clone())}return new ey(i)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)ed(t,n).matches!==null&&this.queries[n].setDirty()}},WI=class{flags;read;predicate;constructor(e,t,n=null){this.flags=t,this.read=n,typeof e=="string"?this.predicate=nT(e):this.predicate=e}},ZI=class ty{queries;constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){let i=n!==null?n.length:0,o=this.getByIndex(r).embeddedTView(t,i);o&&(o.indexInDeclarationView=r,n!==null?n.push(o):n=[o])}return n!==null?new ty(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}},GI=class ny{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(t,n=-1){this.metadata=t,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new ny(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let n=this._declarationNodeIndex,r=t.parent;for(;r!==null&&r.type&8&&r.index!==n;)r=r.parent;return n===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){let r=this.metadata.predicate;if(Array.isArray(r))for(let i=0;i<r.length;i++){let o=r[i];this.matchTNodeWithReadOption(t,n,YI(n,o)),this.matchTNodeWithReadOption(t,n,Rs(n,t,o,!1,!1))}else r===Eo?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Rs(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let i=this.metadata.read;if(i!==null)if(i===$t||i===Li||i===Eo&&n.type&4)this.addMatch(n.index,-2);else{let o=Rs(n,t,i,!1,!1);o!==null&&this.addMatch(n.index,o)}else this.addMatch(n.index,r)}}addMatch(t,n){this.matches===null?this.matches=[t,n]:this.matches.push(t,n)}};function YI(e,t){let n=e.localNames;if(n!==null){for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1]}return null}function KI(e,t){return e.type&11?Mi(e,t):e.type&4?Qa(e,t):null}function JI(e,t,n,r){return n===-1?KI(t,e):n===-2?XI(e,t,r):vo(e,e[ge],n,t)}function XI(e,t,n){if(n===$t)return Mi(t,e);if(n===Eo)return Qa(t,e);if(n===Li)return Xv(t,e)}function ry(e,t,n,r){let i=t[Kn].queries[r];if(i.matches===null){let o=e.data,s=n.matches,a=[];for(let l=0;s!==null&&l<s.length;l+=2){let u=s[l];if(u<0)a.push(null);else{let d=o[u];a.push(JI(t,d,s[l+1],n.metadata.read))}}i.matches=a}return i.matches}function $c(e,t,n,r){let i=e.queries.getByIndex(n),o=i.matches;if(o!==null){let s=ry(e,t,i,n);for(let a=0;a<o.length;a+=2){let l=o[a];if(l>0)r.push(s[a/2]);else{let u=o[a+1],d=t[-l];for(let h=kt;h<d.length;h++){let _=d[h];_[jr]===_[Rt]&&$c(_[ge],_,u,r)}if(d[xi]!==null){let h=d[xi];for(let _=0;_<h.length;_++){let m=h[_];$c(m[ge],m,u,r)}}}}}return r}function QI(e,t){return e[Kn].queries[t].queryList}function eT(e,t,n){let r=new GE((n&4)===4);return Jx(e,t,r,r.destroy),(t[Kn]??=new qI).queries.push(new zI(r))-1}function tT(e,t,n){let r=pt();return r.firstCreatePass&&(rT(r,new WI(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),eT(r,ye(),t)}function nT(e){return e.split(",").map(t=>t.trim())}function rT(e,t,n){e.queries===null&&(e.queries=new ZI),e.queries.track(new GI(t,n))}function ed(e,t){return e.queries.getByIndex(t)}function iT(e,t){let n=e[ge],r=ed(n,t);return r.crossesNgTemplate?$c(n,e,t,[]):ry(n,e,r,t)}var Co=class{},iy=class extends Co{injector;componentFactoryResolver=new OI(this);instance=null;constructor(e){super();let t=new mh([...e.providers,{provide:Co,useValue:this},{provide:Wo,useValue:this.componentFactoryResolver}],e.parent||Va(),e.debugName,new Set(["environment"]));this.injector=t,e.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function oT(e,t,n=null){return new iy({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var sT=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=i_(!1,n.type),i=r.length>0?oT([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=de({token:e,providedIn:"environment",factory:()=>new e(je(Gn))})}return e})();function Pt(e){return Po(()=>{let t=oy(e),n=Ne(A({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===ev.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?i=>i.get(sT).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||$n.Emulated,styles:e.styles||Mt,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&Qr("NgStandalone"),sy(n);let r=e.dependencies;return n.directiveDefs=$f(r,!1),n.pipeDefs=$f(r,!0),n.id=hT(n),n})}function aT(e){return Vr(e)||n_(e)}function lT(e){return e!==null}function td(e){return Po(()=>({type:e.type,bootstrap:e.bootstrap||Mt,declarations:e.declarations||Mt,imports:e.imports||Mt,exports:e.exports||Mt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function cT(e,t){if(e==null)return Lr;let n={};for(let r in e)if(e.hasOwnProperty(r)){let i=e[r],o,s,a,l;Array.isArray(i)?(a=i[0],o=i[1],s=i[2]??o,l=i[3]||null):(o=i,s=i,a=Wa.None,l=null),n[o]=[r,a,l],t[o]=s}return n}function uT(e){if(e==null)return Lr;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function Zo(e){return Po(()=>{let t=oy(e);return sy(t),t})}function nd(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function oy(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||Lr,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||Mt,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:cT(e.inputs,t),outputs:uT(e.outputs),debugInfo:null}}function sy(e){e.features?.forEach(t=>t(e))}function $f(e,t){if(!e)return null;let n=t?r_:aT;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(lT)}function hT(e){let t=0,n=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let i of r.join("|"))t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function dT(e){return Object.getPrototypeOf(e.prototype).constructor}function br(e){let t=dT(e.type),n=!0,r=[e];for(;t;){let i;if(Ln(e))i=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new De(903,!1);i=t.\u0275dir}if(i){if(n){r.push(i);let s=e;s.inputs=Vl(e.inputs),s.declaredInputs=Vl(e.declaredInputs),s.outputs=Vl(e.outputs);let a=i.hostBindings;a&&_T(e,a);let l=i.viewQuery,u=i.contentQueries;if(l&&gT(e,l),u&&mT(e,u),fT(e,i),ix(e.outputs,i.outputs),Ln(i)&&i.data.animation){let d=e.data;d.animation=(d.animation||[]).concat(i.data.animation)}}let o=i.features;if(o)for(let s=0;s<o.length;s++){let a=o[s];a&&a.ngInherit&&a(e),a===br&&(n=!1)}}t=Object.getPrototypeOf(t)}pT(r)}function fT(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let r=t.inputs[n];r!==void 0&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n])}}function pT(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){let i=e[r];i.hostVars=t+=i.hostVars,i.hostAttrs=Ei(i.hostAttrs,n=Ei(n,i.hostAttrs))}}function Vl(e){return e===Lr?{}:e===Mt?[]:e}function gT(e,t){let n=e.viewQuery;n?e.viewQuery=(r,i)=>{t(r,i),n(r,i)}:e.viewQuery=t}function mT(e,t){let n=e.contentQueries;n?e.contentQueries=(r,i,o)=>{t(r,i,o),n(r,i,o)}:e.contentQueries=t}function _T(e,t){let n=e.hostBindings;n?e.hostBindings=(r,i)=>{t(r,i),n(r,i)}:e.hostBindings=t}function ay(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function rd(e,t,n){return e[t]=n}function xn(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function ly(e,t,n,r){let i=xn(e,t,n);return xn(e,t+1,r)||i}function vT(e,t,n,r,i){let o=ly(e,t,n,r);return xn(e,t+2,i)||o}function yT(e,t,n,r,i,o,s,a,l){let u=t.consts,d=qo(t,e,4,s||null,a||null);wh()&&Xh(t,n,d,gr(u,l),zh),d.mergedAttrs=Ei(d.mergedAttrs,d.attrs),Th(t,d);let h=d.tView=Bh(2,d,r,i,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,u,null);return t.queries!==null&&(t.queries.template(t,d),h.queries=t.queries.embeddedTView(d)),d}function zc(e,t,n,r,i,o,s,a,l,u){let d=n+ht,h=t.firstCreatePass?yT(d,t,e,r,i,o,s,a,l):t.data[d];yr(h,!1);let _=bT(t,e,h,n);Ha()&&Ka(t,e,_,h),An(_,e);let m=$v(_,e,_,h);return e[d]=m,Hh(e,m),HI(m,h,e),Fa(h)&&Za(t,e,h),l!=null&&$h(e,h,u),h}function nt(e,t,n,r,i,o,s,a){let l=ye(),u=pt(),d=gr(u.consts,o);return zc(l,u,e,t,n,r,i,d,s,a),nt}var bT=wT;function wT(e,t,n,r){return $a(!0),t[_t].createComment("")}var xT=new Ee(""),cy=(()=>{class e{static \u0275prov=de({token:e,providedIn:"root",factory:()=>new uy})}return e})(),uy=class{queuedEffectCount=0;queues=new Map;schedule(e){this.enqueue(e)}remove(e){let t=e.zone,n=this.queues.get(t);n.has(e)&&(n.delete(e),this.queuedEffectCount--)}enqueue(e){let t=e.zone;this.queues.has(t)||this.queues.set(t,new Set);let n=this.queues.get(t);n.has(e)||(this.queuedEffectCount++,n.add(e))}flush(){for(;this.queuedEffectCount>0;)for(let[e,t]of this.queues)e===null?this.flushQueue(t):e.run(()=>this.flushQueue(t))}flushQueue(e){for(let t of e)e.delete(t),this.queuedEffectCount--,t.run()}};function hy(e){return!!e&&typeof e.then=="function"}function ET(e){return!!e&&typeof e.subscribe=="function"}var ST=new Ee(""),dy=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=R(ST,{optional:!0})??[];injector=R(Tt);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let i of this.appInits){let o=l_(this.injector,i);if(hy(o))n.push(o);else if(ET(o)){let s=new Promise((a,l)=>{o.subscribe({complete:a,error:l})});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||e)};static \u0275prov=de({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),CT=new Ee("");function IT(){qw(()=>{throw new De(600,!1)})}function TT(e){return e.isBoundToModule}var DT=10,_r=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=R(UE);afterRenderManager=R(uv);zonelessEnabled=R(Oh);rootEffectScheduler=R(cy);dirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new ve;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=R(Uo).hasPendingTasks.pipe(Na(n=>!n));constructor(){R(Ho,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:i=>{i&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=R(Gn);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){ze(10);let i=n instanceof Zv;if(!this._injector.get(dy).done){let h=!i&&Tx(n),_=!1;throw new De(405,_)}let o;i?o=n:o=this._injector.get(Wo).resolveComponentFactory(n),this.componentTypes.push(o.componentType);let s=TT(o)?void 0:this._injector.get(Co),a=r||o.selector,l=o.create(Tt.NULL,[],a,s),u=l.location.nativeElement,d=l.injector.get(xT,null);return d?.registerApplication(u),l.onDestroy(()=>{this.detachView(l.hostView),Ps(this.components,l),d?.unregisterApplication(u)}),this._loadComponent(l),ze(11,l),l}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){ze(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(Mh.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new De(101,!1);let n=Ie(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,Ie(n),this.afterTick.next(),ze(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Dn,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<DT;)ze(14),this.synchronizeOnce(),ze(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)OT(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})=>Ua(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;Ps(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(CT,[]).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),()=>Ps(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new De(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||e)};static \u0275prov=de({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Ps(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function OT(e,t,n,r){!n&&!Ua(e)||Fv(e,t,n&&!r?0:1)}function Go(e,t,n,r){let i=ye(),o=jo();if(xn(i,o,t)){let s=pt(),a=Ih();TC(a,i,e,t,n,r)}return Go}function id(e,t,n,r){return xn(e,jo(),n)?t+No(n)+r:Tn}function hs(e,t){return e<<17|t<<2}function $r(e){return e>>17&32767}function kT(e){return(e&2)==2}function RT(e,t){return e&131071|t<<17}function qc(e){return e|2}function Si(e){return(e&131068)>>2}function jl(e,t){return e&-131069|t<<2}function PT(e){return(e&1)===1}function Wc(e){return e|1}function NT(e,t,n,r,i,o){let s=o?t.classBindings:t.styleBindings,a=$r(s),l=Si(s);e[r]=n;let u=!1,d;if(Array.isArray(n)){let h=n;d=h[1],(d===null||Ao(h,d)>0)&&(u=!0)}else d=n;if(i)if(l!==0){let h=$r(e[a+1]);e[r+1]=hs(h,a),h!==0&&(e[h+1]=jl(e[h+1],r)),e[a+1]=RT(e[a+1],r)}else e[r+1]=hs(a,0),a!==0&&(e[a+1]=jl(e[a+1],r)),a=r;else e[r+1]=hs(l,0),a===0?a=r:e[l+1]=jl(e[l+1],r),l=r;u&&(e[r+1]=qc(e[r+1])),zf(e,d,r,!0),zf(e,d,r,!1),AT(t,d,e,r,o),s=hs(a,l),o?t.classBindings=s:t.styleBindings=s}function AT(e,t,n,r,i){let o=i?e.residualClasses:e.residualStyles;o!=null&&typeof t=="string"&&Ao(o,t)>=0&&(n[r+1]=Wc(n[r+1]))}function zf(e,t,n,r){let i=e[n+1],o=t===null,s=r?$r(i):Si(i),a=!1;for(;s!==0&&(a===!1||o);){let l=e[s],u=e[s+1];MT(l,t)&&(a=!0,e[s+1]=r?Wc(u):qc(u)),s=r?$r(u):Si(u)}a&&(e[n+1]=r?qc(i):Wc(i))}function MT(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Ao(e,t)>=0:!1}var fn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function LT(e){return e.substring(fn.key,fn.keyEnd)}function VT(e){return jT(e),fy(e,py(e,0,fn.textEnd))}function fy(e,t){let n=fn.textEnd;return n===t?-1:(t=fn.keyEnd=FT(e,fn.key=t,n),py(e,t,n))}function jT(e){fn.key=0,fn.keyEnd=0,fn.value=0,fn.valueEnd=0,fn.textEnd=e.length}function py(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function FT(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function Pe(e,t,n){let r=ye(),i=jo();if(xn(r,i,t)){let o=pt(),s=Ih();kv(o,s,r,e,t,r[_t],n,!1)}return Pe}function Zc(e,t,n,r,i){qh(t,e,n,i?"class":"style",r)}function el(e,t,n){return my(e,t,n,!1),el}function Yo(e,t){return my(e,t,null,!0),Yo}function BT(e){_y(WT,gy,e,!0)}function gy(e,t){for(let n=VT(t);n>=0;n=fy(t,n))La(e,LT(t),!0)}function my(e,t,n,r){let i=ye(),o=pt(),s=T_(2);if(o.firstUpdatePass&&yy(o,e,s,r),t!==Tn&&xn(i,s,t)){let a=o.data[tr()];by(o,a,i,i[_t],e,i[s+1]=GT(t,n),r,s)}}function _y(e,t,n,r){let i=pt(),o=T_(2);i.firstUpdatePass&&yy(i,null,o,r);let s=ye();if(n!==Tn&&xn(s,o,n)){let a=i.data[tr()];if(wy(a,r)&&!vy(i,o)){let l=r?a.classesWithoutHost:a.stylesWithoutHost;l!==null&&(n=bc(l,n||"")),Zc(i,a,s,n,r)}else ZT(i,a,s,s[_t],s[o+1],s[o+1]=qT(e,t,n),r,o)}}function vy(e,t){return t>=e.expandoStartIndex}function yy(e,t,n,r){let i=e.data;if(i[n+1]===null){let o=i[tr()],s=vy(e,n);wy(o,r)&&t===null&&!s&&(t=!1),t=UT(i,o,t,r),NT(i,o,t,n,s,r)}}function UT(e,t,n,r){let i=cE(e),o=r?t.residualClasses:t.residualStyles;if(i===null)(r?t.classBindings:t.styleBindings)===0&&(n=Fl(null,e,t,n,r),n=Io(n,t.attrs,r),o=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==i)if(n=Fl(i,e,t,n,r),o===null){let a=HT(e,t,r);a!==void 0&&Array.isArray(a)&&(a=Fl(null,e,t,a[1],r),a=Io(a,t.attrs,r),$T(e,t,r,a))}else o=zT(e,t,r)}return o!==void 0&&(r?t.residualClasses=o:t.residualStyles=o),n}function HT(e,t,n){let r=n?t.classBindings:t.styleBindings;if(Si(r)!==0)return e[$r(r)]}function $T(e,t,n,r){let i=n?t.classBindings:t.styleBindings;e[$r(i)]=r}function zT(e,t,n){let r,i=t.directiveEnd;for(let o=1+t.directiveStylingLast;o<i;o++){let s=e[o].hostAttrs;r=Io(r,s,n)}return Io(r,t.attrs,n)}function Fl(e,t,n,r,i){let o=null,s=n.directiveEnd,a=n.directiveStylingLast;for(a===-1?a=n.directiveStart:a++;a<s&&(o=t[a],r=Io(r,o.hostAttrs,i),o!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function Io(e,t,n){let r=n?1:2,i=-1;if(t!==null)for(let o=0;o<t.length;o++){let s=t[o];typeof s=="number"?i=s:i===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),La(e,s,n?!0:t[++o]))}return e===void 0?null:e}function qT(e,t,n){if(n==null||n==="")return Mt;let r=[],i=Hn(n);if(Array.isArray(i))for(let o=0;o<i.length;o++)e(r,i[o],!0);else if(typeof i=="object")for(let o in i)i.hasOwnProperty(o)&&e(r,o,i[o]);else typeof i=="string"&&t(r,i);return r}function WT(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&La(e,r,n)}function ZT(e,t,n,r,i,o,s,a){i===Tn&&(i=Mt);let l=0,u=0,d=0<i.length?i[0]:null,h=0<o.length?o[0]:null;for(;d!==null||h!==null;){let _=l<i.length?i[l+1]:void 0,m=u<o.length?o[u+1]:void 0,b=null,S;d===h?(l+=2,u+=2,_!==m&&(b=h,S=m)):h===null||d!==null&&d<h?(l+=2,b=d):(u+=2,b=h,S=m),b!==null&&by(e,t,n,r,b,S,s,a),d=l<i.length?i[l]:null,h=u<o.length?o[u]:null}}function by(e,t,n,r,i,o,s,a){if(!(t.type&3))return;let l=e.data,u=l[a+1],d=PT(u)?qf(l,t,n,i,Si(u),s):void 0;if(!sa(d)){sa(o)||kT(u)&&(o=qf(l,null,n,i,a,s));let h=v_(tr(),n);WC(r,s,h,i,o)}}function qf(e,t,n,r,i,o){let s=t===null,a;for(;i>0;){let l=e[i],u=Array.isArray(l),d=u?l[1]:l,h=d===null,_=n[i+1];_===Tn&&(_=h?Mt:void 0);let m=h?Ol(_,r):d===r?_:void 0;if(u&&!sa(m)&&(m=Ol(l,r)),sa(m)&&(a=m,s))return a;let b=e[i+1];i=s?$r(b):Si(b)}if(t!==null){let l=o?t.residualClasses:t.residualStyles;l!=null&&(a=Ol(l,r))}return a}function sa(e){return e!==void 0}function GT(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=mn(Hn(e)))),e}function wy(e,t){return(e.flags&(t?8:16))!==0}function YT(e,t,n){let r=ye(),i=id(r,e,t,n);_y(La,gy,i,!0)}var KT=class{destroy(e){}updateValue(e,t){}swap(e,t){let n=Math.min(e,t),r=Math.max(e,t),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(e,t){this.attach(t,this.detach(e))}};function Bl(e,t,n,r,i){return e===n&&Object.is(t,r)?1:Object.is(i(e,t),i(n,r))?-1:0}function JT(e,t,n){let r,i,o=0,s=e.length-1,a;if(Array.isArray(t)){let l=t.length-1;for(;o<=s&&o<=l;){let u=e.at(o),d=t[o],h=Bl(o,u,o,d,n);if(h!==0){h<0&&e.updateValue(o,d),o++;continue}let _=e.at(s),m=t[l],b=Bl(s,_,l,m,n);if(b!==0){b<0&&e.updateValue(s,m),s--,l--;continue}let S=n(o,u),N=n(s,_),P=n(o,d);if(Object.is(P,N)){let z=n(l,m);Object.is(z,S)?(e.swap(o,s),e.updateValue(s,m),l--,s--):e.move(s,o),e.updateValue(o,d),o++;continue}if(r??=new Gf,i??=Zf(e,o,s,n),Gc(e,r,o,P))e.updateValue(o,d),o++,s++;else if(i.has(P))r.set(S,e.detach(o)),s--;else{let z=e.create(o,t[o]);e.attach(o,z),o++,s++}}for(;o<=l;)Wf(e,r,n,o,t[o]),o++}else if(t!=null){let l=t[Symbol.iterator](),u=l.next();for(;!u.done&&o<=s;){let d=e.at(o),h=u.value,_=Bl(o,d,o,h,n);if(_!==0)_<0&&e.updateValue(o,h),o++,u=l.next();else{r??=new Gf,i??=Zf(e,o,s,n);let m=n(o,h);if(Gc(e,r,o,m))e.updateValue(o,h),o++,s++,u=l.next();else if(!i.has(m))e.attach(o,e.create(o,h)),o++,s++,u=l.next();else{let b=n(o,d);r.set(b,e.detach(o)),s--}}}for(;!u.done;)Wf(e,r,n,e.length,u.value),u=l.next()}for(;o<=s;)e.destroy(e.detach(s--));r?.forEach(l=>{e.destroy(l)})}function Gc(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Wf(e,t,n,r,i){if(Gc(e,t,r,n(r,i)))e.updateValue(r,i);else{let o=e.create(r,i);e.attach(r,o)}}function Zf(e,t,n,r){let i=new Set;for(let o=t;o<=n;o++)i.add(r(o,e.at(o)));return i}var Gf=class{kvMap=new Map;_vMap=void 0;has(e){return this.kvMap.has(e)}delete(e){if(!this.has(e))return!1;let t=this.kvMap.get(e);return this._vMap!==void 0&&this._vMap.has(t)?(this.kvMap.set(e,this._vMap.get(t)),this._vMap.delete(t)):this.kvMap.delete(e),!0}get(e){return this.kvMap.get(e)}set(e,t){if(this.kvMap.has(e)){let n=this.kvMap.get(e);this._vMap===void 0&&(this._vMap=new Map);let r=this._vMap;for(;r.has(n);)n=r.get(n);r.set(n,t)}else this.kvMap.set(e,t)}forEach(e){for(let[t,n]of this.kvMap)if(e(n,t),this._vMap!==void 0){let r=this._vMap;for(;r.has(n);)n=r.get(n),e(n,t)}}};function tt(e,t){Qr("NgControlFlow");let n=ye(),r=jo(),i=n[r]!==Tn?n[r]:-1,o=i!==-1?aa(n,ht+i):void 0,s=0;if(xn(n,r,e)){let a=Ie(null);try{if(o!==void 0&&qv(o,s),e!==-1){let l=ht+e,u=aa(n,l),d=Yc(n[ge],l),h=So(u,d.tView.ssrId),_=Ga(n,d,t,{dehydratedView:h});Xa(u,_,s,bo(d,h))}}finally{Ie(a)}}else if(o!==void 0){let a=zv(o,s);a!==void 0&&(a[ft]=t)}}var XT=class{lContainer;$implicit;$index;constructor(e,t,n){this.lContainer=e,this.$implicit=t,this.$index=n}get $count(){return this.lContainer.length-kt}};function Vi(e,t){return t}var QT=class{hasEmptyBlock;trackByFn;liveCollection;constructor(e,t,n){this.hasEmptyBlock=e,this.trackByFn=t,this.liveCollection=n}};function Lt(e,t,n,r,i,o,s,a,l,u,d,h,_){Qr("NgControlFlow");let m=ye(),b=pt(),S=l!==void 0,N=ye(),P=a?s.bind(N[wn][ft]):s,z=new QT(S,P);N[ht+e]=z,zc(m,b,e+1,t,n,r,i,gr(b.consts,o)),S&&zc(m,b,e+2,l,u,d,h,gr(b.consts,_))}var eD=class extends KT{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(e,t,n){super(),this.lContainer=e,this.hostLView=t,this.templateTNode=n}get length(){return this.lContainer.length-kt}at(e){return this.getLView(e)[ft].$implicit}attach(e,t){let n=t[go];this.needsIndexUpdate||=e!==this.length,Xa(this.lContainer,t,e,bo(this.templateTNode,n))}detach(e){return this.needsIndexUpdate||=e!==this.length-1,tD(this.lContainer,e)}create(e,t){let n=So(this.lContainer,this.templateTNode.tView.ssrId),r=Ga(this.hostLView,this.templateTNode,new XT(this.lContainer,t,e),{dehydratedView:n});return this.operationsCounter?.recordCreate(),r}destroy(e){Ya(e[ge],e),this.operationsCounter?.recordDestroy()}updateValue(e,t){this.getLView(e)[ft].$implicit=t}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let e=0;e<this.length;e++)this.getLView(e)[ft].$index=e}getLView(e){return nD(this.lContainer,e)}};function Vt(e){let t=Ie(null),n=tr();try{let r=ye(),i=r[ge],o=r[n],s=n+1,a=aa(r,s);if(o.liveCollection===void 0){let u=Yc(i,s);o.liveCollection=new eD(a,r,u)}else o.liveCollection.reset();let l=o.liveCollection;if(JT(l,e,o.trackByFn),l.updateIndexes(),o.hasEmptyBlock){let u=jo(),d=l.length===0;if(xn(r,u,d)){let h=n+2,_=aa(r,h);if(d){let m=Yc(i,h),b=So(_,m.tView.ssrId),S=Ga(r,m,void 0,{dehydratedView:b});Xa(_,S,0,bo(m,b))}else qv(_,0)}}}finally{Ie(t)}}function aa(e,t){return e[t]}function tD(e,t){return wo(e,t)}function nD(e,t){return zv(e,t)}function Yc(e,t){return vh(e,t)}function G(e,t,n,r){let i=ye(),o=pt(),s=ht+e,a=i[_t],l=o.firstCreatePass?Yv(s,o,i,t,zh,wh(),n,r):o.data[s],u=rD(o,i,l,a,t,e);i[s]=u;let d=Fa(l);return yr(l,!0),Cv(a,u,l),!Pv(l)&&Ha()&&Ka(o,i,u,l),(Xx()===0||d)&&An(u,i),Qx(),d&&(Za(o,i,l),Vh(o,l,i)),r!==null&&$h(i,l),G}function Y(){let e=Yt();xh()?S_():(e=e.parent,yr(e,!1));let t=e;nE(t)&&rE(),eE();let n=pt();return n.firstCreatePass&&Kv(n,t),t.classesWithoutHost!=null&&_E(t)&&Zc(n,t,ye(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&vE(t)&&Zc(n,t,ye(),t.stylesWithoutHost,!1),Y}function Ue(e,t,n,r){return G(e,t,n,r),Y(),Ue}var rD=(e,t,n,r,i,o)=>($a(!0),Ev(r,i,fE()));function iD(e,t,n,r,i){let o=t.consts,s=gr(o,r),a=qo(t,e,8,"ng-container",s);s!==null&&Hc(a,s,!0);let l=gr(o,i);return wh()&&Xh(t,n,a,l,zh),a.mergedAttrs=Ei(a.mergedAttrs,a.attrs),t.queries!==null&&t.queries.elementStart(t,a),a}function xy(e,t,n){let r=ye(),i=pt(),o=e+ht,s=i.firstCreatePass?iD(o,i,r,t,n):i.data[o];yr(s,!0);let a=oD(i,r,s,e);return r[o]=a,Ha()&&Ka(i,r,a,s),An(a,r),Fa(s)&&(Za(i,r,s),Vh(i,s,r)),n!=null&&$h(r,s),xy}function Ey(){let e=Yt(),t=pt();return xh()?S_():(e=e.parent,yr(e,!1)),t.firstCreatePass&&(Th(t,e),_h(e)&&t.queries.elementEnd(e)),Ey}function od(e,t,n){return xy(e,t,n),Ey(),od}var oD=(e,t,n,r)=>($a(!0),dC(t[_t],""));function jt(){return ye()}var la="en-US",sD=la;function aD(e){typeof e=="string"&&(sD=e.toLowerCase().replace(/_/g,"-"))}var lD=(e,t,n)=>{};function ot(e,t,n,r){let i=ye(),o=pt(),s=Yt();return uD(o,i,i[_t],s,e,t,r),ot}function cD(e,t,n,r){let i=e.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=t[Gs],l=i[o+2];return a.length>l?a[l]:null}typeof s=="string"&&(o+=2)}return null}function uD(e,t,n,r,i,o,s){let a=Fa(r),l=e.firstCreatePass?x_(e):null,u=t[ft],d=w_(t),h=!0;if(r.type&3||s){let _=Vn(r,t),m=s?s(_):_,b=d.length,S=s?P=>s(Gt(P[r.index])):r.index,N=null;if(!s&&a&&(N=cD(e,t,i,r.index)),N!==null){let P=N.__ngLastListenerFn__||N;P.__ngNextListenerFn__=o,N.__ngLastListenerFn__=o,h=!1}else{o=Jf(r,t,u,o),lD(_,i,o);let P=n.listen(m,i,o);d.push(o,P),l&&l.push(i,S,b,b+1)}}else o=Jf(r,t,u,o);if(h){let _=r.outputs?.[i],m=r.hostDirectiveOutputs?.[i];if(m&&m.length)for(let b=0;b<m.length;b+=2){let S=m[b],N=m[b+1];Yf(r,e,t,S,N,i,o,d,l)}if(_&&_.length)for(let b of _)Yf(r,e,t,b,i,i,o,d,l)}}function Yf(e,t,n,r,i,o,s,a,l){let u=n[r],d=t.data[r].outputs[i],h=u[d].subscribe(s),_=a.length;a.push(s,h),l&&l.push(o,e.index,_,-(_+1))}function Kf(e,t,n,r){let i=Ie(null);try{return ze(6,t,n),n(r)!==!1}catch(o){return Rv(e,o),!1}finally{ze(7,t,n),Ie(i)}}function Jf(e,t,n,r){return function i(o){if(o===Function)return r;let s=Ni(e)?on(e.index,t):t;Kh(s,5);let a=Kf(t,n,r,o),l=i.__ngNextListenerFn__;for(;l;)a=Kf(t,n,l,o)&&a,l=l.__ngNextListenerFn__;return a}}function Q(e=1){return hE(e)}function ji(e,t,n){return Sy(e,"",t,"",n),ji}function Sy(e,t,n,r,i){let o=ye(),s=id(o,t,n,r);if(s!==Tn){let a=pt(),l=Ih();kv(a,l,o,e,s,o[_t],i,!1)}return Sy}function ca(e,t,n){tT(e,t,n)}function ua(e){let t=ye(),n=pt(),r=D_();Eh(r+1);let i=ed(n,r);if(e.dirty&&Zx(t)===((i.metadata.flags&2)===2)){if(i.matches===null)e.reset([]);else{let o=iT(t,r);e.reset(o,qE),e.notifyOnChanges()}return!0}return!1}function ha(){return QI(ye(),D_())}function sd(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function qn(e){let t=C_();return Ba(t,ht+e)}function Ye(e,t=""){let n=ye(),r=pt(),i=e+ht,o=r.firstCreatePass?qo(r,i,1,t,null):r.data[i],s=hD(r,n,o,t,e);n[i]=s,Ha()&&Ka(r,n,s,o),yr(o,!1)}var hD=(e,t,n,r,i)=>($a(!0),uC(t[_t],r));function Fi(e){return En("",e,""),Fi}function En(e,t,n){let r=ye(),i=id(r,e,t,n);return i!==Tn&&dD(r,tr(),i),En}function dD(e,t,n){let r=v_(t,e);hC(e[_t],r,n)}var Cy={};function jn(e){let t=pt(),n=ye(),r=e+ht,i=qo(t,r,128,null,null);return yr(i,!1),sd(t,n,r,Cy),jn}function zr(e){Qr("NgLet");let t=pt(),n=ye(),r=tr();return sd(t,n,r,e),e}function rn(e){let t=C_(),n=Ba(t,ht+e);if(n===Cy)throw new De(314,!1);return n}function fD(e,t,n){let r=pt();if(r.firstCreatePass){let i=Ln(e);Kc(n,r.data,r.blueprint,i,!0),Kc(t,r.data,r.blueprint,i,!1)}}function Kc(e,t,n,r,i){if(e=At(e),Array.isArray(e))for(let o=0;o<e.length;o++)Kc(e[o],t,n,r,i);else{let o=pt(),s=ye(),a=Yt(),l=wi(e)?e:At(e.provide),u=a_(e),d=a.providerIndexes&1048575,h=a.directiveStart,_=a.providerIndexes>>20;if(wi(e)||!e.multi){let m=new Fo(u,i,Et),b=Hl(l,t,i?d:d+_,h);b===-1?(Rc(na(a,s),o,l),Ul(o,e,t.length),t.push(l),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),n.push(m),s.push(m)):(n[b]=m,s[b]=m)}else{let m=Hl(l,t,d+_,h),b=Hl(l,t,d,d+_),S=m>=0&&n[m],N=b>=0&&n[b];if(i&&!N||!i&&!S){Rc(na(a,s),o,l);let P=mD(i?gD:pD,n.length,i,r,u);!i&&N&&(n[b].providerFactory=P),Ul(o,e,t.length,0),t.push(l),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),n.push(P),s.push(P)}else{let P=Iy(n[i?b:m],u,!i&&r);Ul(o,e,m>-1?m:b,P)}!i&&r&&N&&n[b].componentProviders++}}}function Ul(e,t,n,r){let i=wi(t),o=Nx(t);if(i||o){let s=(o?At(t.useClass):t).prototype.ngOnDestroy;if(s){let a=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){let l=a.indexOf(n);l===-1?a.push(n,[r,s]):a[l+1].push(r,s)}else a.push(n,s)}}}function Iy(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Hl(e,t,n,r){for(let i=n;i<r;i++)if(t[i]===e)return i;return-1}function pD(e,t,n,r){return Jc(this.multi,[])}function gD(e,t,n,r){let i=this.multi,o;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=vo(n,n[ge],this.providerFactory.index,r);o=a.slice(0,s),Jc(i,o);for(let l=s;l<a.length;l++)o.push(a[l])}else o=[],Jc(i,o);return o}function Jc(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function mD(e,t,n,r,i){let o=new Fo(e,n,Et);return o.multi=[],o.index=t,o.componentProviders=0,Iy(o,i,r&&!n),o}function _D(e,t=[]){return n=>{n.providersResolver=(r,i)=>fD(r,i?i(e):e,t)}}function Ty(e,t,n,r){return Dy(ye(),Vo(),e,t,n,r)}function vD(e,t,n,r,i){return Oy(ye(),Vo(),e,t,n,r,i)}function yD(e,t,n,r,i,o){return bD(ye(),Vo(),e,t,n,r,i,o)}function ad(e,t){let n=e[t];return n===Tn?void 0:n}function Dy(e,t,n,r,i,o){let s=t+n;return xn(e,s,i)?rd(e,s+1,o?r.call(o,i):r(i)):ad(e,s+1)}function Oy(e,t,n,r,i,o,s){let a=t+n;return ly(e,a,i,o)?rd(e,a+2,s?r.call(s,i,o):r(i,o)):ad(e,a+2)}function bD(e,t,n,r,i,o,s,a){let l=t+n;return vT(e,l,i,o,s)?rd(e,l+3,a?r.call(a,i,o,s):r(i,o,s)):ad(e,l+3)}function sn(e,t){let n=pt(),r,i=e+ht;n.firstCreatePass?(r=wD(t,n.pipeRegistry),n.data[i]=r,r.onDestroy&&(n.destroyHooks??=[]).push(i,r.onDestroy)):r=n.data[i];let o=r.factory||(r.factory=Mr(r.type,!0)),s,a=Bt(Et);try{let l=ta(!1),u=o();return ta(l),sd(n,ye(),i,u),u}finally{Bt(a)}}function wD(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function Sn(e,t,n){let r=e+ht,i=ye(),o=Ba(i,r);return ky(i,r)?Dy(i,Vo(),t,o.transform,n,o):o.transform(n)}function xD(e,t,n,r){let i=e+ht,o=ye(),s=Ba(o,i);return ky(o,i)?Oy(o,Vo(),t,s.transform,n,r,s):s.transform(n,r)}function ky(e,t){return e[ge].data[t].pure}function ED(e,t){return Qa(e,t)}var SD=class{full;major;minor;patch;constructor(e){this.full=e;let t=e.split(".");this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(".")}},Xf=new SD("19.2.0"),CD=(()=>{class e{zone=R(Ge);changeDetectionScheduler=R(Jr);applicationRef=R(_r);_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||e)};static \u0275prov=de({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function ID({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new Ge(Ne(A({},TD()),{scheduleInRootZone:n})),[{provide:Ge,useFactory:e},{provide:Zs,multi:!0,useFactory:()=>{let r=R(CD,{optional:!0});return()=>r.initialize()}},{provide:Zs,multi:!0,useFactory:()=>{let r=R(DD);return()=>{r.initialize()}}},t===!0?{provide:Y_,useValue:!0}:[],{provide:kh,useValue:n??Z_}]}function TD(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var DD=(()=>{class e{subscription=new bt;initialized=!1;zone=R(Ge);pendingTasks=R(Uo);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(()=>{Ge.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Ge.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(n){return new(n||e)};static \u0275prov=de({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Ry=(()=>{class e{appRef=R(_r);taskService=R(Uo);ngZone=R(Ge);zonelessEnabled=R(Oh);tracing=R(Ho,{optional:!0});disableScheduling=R(Y_,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new bt;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(ra):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(R(kh,{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 J_||!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?Sf:K_;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(ra+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,Sf(()=>{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||e)};static \u0275prov=de({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function OD(){return Qr("NgZoneless"),Dx([{provide:Jr,useExisting:Ry},{provide:Ge,useClass:J_},{provide:Oh,useValue:!0},{provide:kh,useValue:!1},[]])}function kD(){return typeof $localize<"u"&&$localize.locale||la}var Py=new Ee("",{providedIn:"root",factory:()=>R(Py,Te.Optional|Te.SkipSelf)||kD()}),Xc=new Ee(""),RD=new Ee("");function qi(e){return!e.moduleRef}function PD(e){let t=qi(e)?e.r3Injector:e.moduleRef.injector,n=t.get(Ge);return n.run(()=>{qi(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(Xr,null),i;if(n.runOutsideAngular(()=>{i=n.onError.subscribe({next:o=>{r.handleError(o)}})}),qi(e)){let o=()=>t.destroy(),s=e.platformInjector.get(Xc);s.add(o),t.onDestroy(()=>{i.unsubscribe(),s.delete(o)})}else{let o=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Xc);s.add(o),e.moduleRef.onDestroy(()=>{Ps(e.allPlatformModules,e.moduleRef),i.unsubscribe(),s.delete(o)})}return AD(r,n,()=>{let o=t.get(dy);return o.runInitializers(),o.donePromise.then(()=>{let s=t.get(Py,la);if(aD(s||la),!t.get(RD,!0))return qi(e)?t.get(_r):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(qi(e)){let a=t.get(_r);return e.rootComponent!==void 0&&a.bootstrap(e.rootComponent),a}else return ND(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function ND(e,t){let n=e.injector.get(_r);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new De(-403,!1);t.push(e)}function AD(e,t,n){try{let r=n();return hy(r)?r.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var Ns=null;function MD(e=[],t){return Tt.create({name:t,providers:[{provide:gh,useValue:"platform"},{provide:Xc,useValue:new Set([()=>Ns=null])},...e]})}function LD(e=[]){if(Ns)return Ns;let t=MD(e);return Ns=t,IT(),VD(t),t}function VD(e){let t=e.get(av,null);l_(e,()=>{t?.forEach(n=>n())})}var Ko=(()=>{class e{static __NG_ELEMENT_ID__=jD}return e})();function jD(e){return FD(Yt(),ye(),(e&16)===16)}function FD(e,t,n){if(Ni(e)&&!n){let r=on(e.index,t);return new xo(r,r)}else if(e.type&175){let r=t[wn];return new xo(r,t)}return null}var BD=class{constructor(){}supports(e){return e instanceof Map||ay(e)}create(){return new UD}},UD=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;_removalsTail=null;get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(e){let t;for(t=this._mapHead;t!==null;t=t._next)e(t)}forEachPreviousItem(e){let t;for(t=this._previousMapHead;t!==null;t=t._nextPrevious)e(t)}forEachChangedItem(e){let t;for(t=this._changesHead;t!==null;t=t._nextChanged)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;t!==null;t=t._nextAdded)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;t!==null;t=t._nextRemoved)e(t)}diff(e){if(!e)e=new Map;else if(!(e instanceof Map||ay(e)))throw new De(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(e,(n,r)=>{if(t&&t.key===r)this._maybeAddToChanges(t,n),this._appendAfter=t,t=t._next;else{let i=this._getOrCreateRecordForKey(r,n);t=this._insertBeforeOrAppend(t,i)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let n=t;n!==null;n=n._nextRemoved)n===this._mapHead&&(this._mapHead=null),this._records.delete(n.key),n._nextRemoved=n._next,n.previousValue=n.currentValue,n.currentValue=null,n._prev=null,n._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){let n=e._prev;return t._next=e,t._prev=n,e._prev=t,n&&(n._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(e,t){if(this._records.has(e)){let r=this._records.get(e);this._maybeAddToChanges(r,t);let i=r._prev,o=r._next;return i&&(i._next=o),o&&(o._prev=i),r._next=null,r._prev=null,r}let n=new HD(e);return this._records.set(e,n),n.currentValue=t,this._addToAdditions(n),n}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;e!==null;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;e!=null;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,t){Object.is(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}_addToAdditions(e){this._additionsHead===null?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){this._changesHead===null?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(n=>t(e[n],n))}},HD=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(e){this.key=e}};function Qf(){return new Ny([new BD])}var Ny=(()=>{class e{static \u0275prov=de({token:e,providedIn:"root",factory:Qf});factories;constructor(n){this.factories=n}static create(n,r){if(r){let i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Qf()),deps:[[e,new xx,new wx]]}}find(n){let r=this.factories.find(i=>i.supports(n));if(r)return r;throw new De(901,!1)}}return e})();function $D(e){ze(8);try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,i=LD(r),o=[ID({}),{provide:Jr,useExisting:Ry},...n||[]],s=new iy({providers:o,parent:i,debugName:"",runEnvironmentInitializers:!1});return PD({r3Injector:s.injector,platformInjector:i,rootComponent:t})}catch(t){return Promise.reject(t)}finally{ze(9)}}function zD(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function qD(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function WD(e){let t=Ie(null);try{return e()}finally{Ie(t)}}function ep(e,t){let n=Hw(e);return t?.equal&&(n[nn].equal=t.equal),n}var ZD=!1,GD=(()=>{class e extends uy{pendingTasks=R(Uo);taskId=null;schedule(n){super.schedule(n),this.taskId===null&&(this.taskId=this.pendingTasks.add(),queueMicrotask(()=>this.flush()))}flush(){try{super.flush()}finally{this.taskId!==null&&(this.pendingTasks.remove(this.taskId),this.taskId=null)}}static \u0275prov=de({token:e,providedIn:"root",factory:()=>new e})}return e})(),YD=class{scheduler;effectFn;zone;injector;unregisterOnDestroy;watcher;constructor(e,t,n,r,i,o){this.scheduler=e,this.effectFn=t,this.zone=n,this.injector=i,this.watcher=Kw(s=>this.runEffect(s),()=>this.schedule(),o),this.unregisterOnDestroy=r?.onDestroy(()=>this.destroy())}runEffect(e){try{this.effectFn(e)}catch(t){this.injector.get(Xr,null,{optional:!0})?.handleError(t)}}run(){this.watcher.run()}schedule(){this.scheduler.schedule(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}};function KD(){}function JD(e,t){!t?.injector&&ja(KD);let n=t?.injector??R(Tt),r=t?.manualCleanup!==!0?n.get(Bo):null,i=new YD(n.get(GD),e,typeof Zone>"u"?null:Zone.current,r,n,t?.allowSignalWrites??!1),o=n.get(Ko,null,{optional:!0});return!o||!(o._lView[fe]&8)?i.watcher.notify():(o._lView[Ds]??=[]).push(i.watcher.notify),i}var XD=ZD,QD=class{[nn];constructor(e){this[nn]=e}destroy(){this[nn].destroy()}};function Qc(e,t){if(XD)return JD(e,t);!t?.injector&&ja(Qc);let n=t?.injector??R(Tt),r=t?.manualCleanup!==!0?n.get(Bo):null,i,o=n.get(Lh,null,{optional:!0}),s=n.get(Jr);return o!==null&&!t?.forceRoot?(i=n2(o.view,s,e),r instanceof G_&&r._lView===o.view&&(r=null)):i=r2(e,n.get(cy),s),i.injector=n,r!==null&&(i.onDestroyFn=r.onDestroy(()=>i.destroy())),new QD(i)}var Ay=Ne(A({},Ri),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:yo,run(){if(this.dirty=!1,this.hasRun&&!Ta(this))return;this.hasRun=!0;let e=r=>(this.cleanupFns??=[]).push(r),t=co(this),n=Js(!1);try{this.maybeCleanup(),this.fn(e)}finally{Js(n),Ia(this,t)}},maybeCleanup(){if(this.cleanupFns?.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),e2=Ne(A({},Ay),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){Ro(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),t2=Ne(A({},Ay),{consumerMarkedDirty(){this.view[fe]|=8192,Ai(this.view),this.notifier.notify(13)},destroy(){Ro(this),this.onDestroyFn(),this.maybeCleanup(),this.view[Fr]?.delete(this)}});function n2(e,t,n){let r=Object.create(t2);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=n,e[Fr]??=new Set,e[Fr].add(r),r.consumerMarkedDirty(r),r}function r2(e,t,n){let r=Object.create(e2);return r.fn=e,r.scheduler=t,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.schedule(r),r.notifier.notify(12),r}function My(e,t){let n=Vr(e),r=t.elementInjector||Va();return new Qh(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector)}var i2={schedule(e,t){let n=setTimeout(e,t);return()=>clearTimeout(n)}};function o2(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}function s2(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}var $l;function a2(e,t){if(!$l){let n=Element.prototype;$l=n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE?$l.call(e,t):!1}function l2(e){let t={};return e.forEach(({propName:n,templateName:r,transform:i})=>{t[o2(r)]=[n,i]}),t}function c2(e,t){return t.get(Wo).resolveComponentFactory(e).inputs}function u2(e,t){let n=e.childNodes,r=t.map(()=>[]),i=-1;t.some((o,s)=>o==="*"?(i=s,!0):!1);for(let o=0,s=n.length;o<s;++o){let a=n[o],l=h2(a,t,i);l!==-1&&r[l].push(a)}return r}function h2(e,t,n){let r=n;return s2(e)&&t.some((i,o)=>i!=="*"&&a2(e,i)?(r=o,!0):!1),r}var d2=10,f2=class{componentFactory;inputMap=new Map;constructor(e,t){this.componentFactory=t.get(Wo).resolveComponentFactory(e);for(let n of this.componentFactory.inputs)this.inputMap.set(n.propName,n.templateName)}create(e){return new p2(this.componentFactory,e,this.inputMap)}},p2=class{componentFactory;injector;inputMap;eventEmitters=new d1(1);events=this.eventEmitters.pipe(jm(e=>Aa(...e)));componentRef=null;scheduledDestroyFn=null;initialInputValues=new Map;ngZone;elementZone;appRef;cdScheduler;constructor(e,t,n){this.componentFactory=e,this.injector=t,this.inputMap=n,this.ngZone=this.injector.get(Ge),this.appRef=this.injector.get(_r),this.cdScheduler=t.get(Jr),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(e){this.runInZone(()=>{if(this.scheduledDestroyFn!==null){this.scheduledDestroyFn(),this.scheduledDestroyFn=null;return}this.componentRef===null&&this.initializeComponent(e)})}disconnect(){this.runInZone(()=>{this.componentRef===null||this.scheduledDestroyFn!==null||(this.scheduledDestroyFn=i2.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null)},d2))})}getInputValue(e){return this.runInZone(()=>this.componentRef===null?this.initialInputValues.get(e):this.componentRef.instance[e])}setInputValue(e,t){if(this.componentRef===null){this.initialInputValues.set(e,t);return}this.runInZone(()=>{this.componentRef.setInput(this.inputMap.get(e)??e,t),this.componentRef.hostView.dirty&&(this.componentRef.changeDetectorRef.markForRefresh(),this.cdScheduler.notify(6))})}initializeComponent(e){let t=Tt.create({providers:[],parent:this.injector}),n=u2(e,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(t,n,e),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.appRef.attachView(this.componentRef.hostView),this.componentRef.hostView.detectChanges()}initializeInputs(){for(let[e,t]of this.initialInputValues)this.setInputValue(e,t);this.initialInputValues.clear()}initializeOutputs(e){let t=this.componentFactory.outputs.map(({propName:n,templateName:r})=>{let i=e.instance[n];return new wt(o=>{let s=i.subscribe(a=>o.next({name:r,value:a}));return()=>s.unsubscribe()})});this.eventEmitters.next(t)}runInZone(e){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(e):e()}},g2=class extends HTMLElement{ngElementEventsSubscription=null};function m2(e,t){let n=c2(e,t.injector),r=t.strategyFactory||new f2(e,t.injector),i=l2(n);class o extends g2{injector;static observedAttributes=Object.keys(i);get ngElementStrategy(){if(!this._ngElementStrategy){let a=this._ngElementStrategy=r.create(this.injector||t.injector);n.forEach(({propName:l,transform:u})=>{if(!this.hasOwnProperty(l))return;let d=this[l];delete this[l],a.setInputValue(l,d,u)})}return this._ngElementStrategy}_ngElementStrategy;constructor(a){super(),this.injector=a}attributeChangedCallback(a,l,u,d){let[h,_]=i[a];this.ngElementStrategy.setInputValue(h,u,_)}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 l=new CustomEvent(a.name,{detail:a.value});this.dispatchEvent(l)})}}return n.forEach(({propName:s,transform:a})=>{Object.defineProperty(o.prototype,s,{get(){return this.ngElementStrategy.getInputValue(s)},set(l){this.ngElementStrategy.setInputValue(s,l,a)},configurable:!0,enumerable:!0})}),o}var Ly=null;function oo(){return Ly}function _2(e){Ly??=e}var v2=class{},rt=new Ee(""),Vy=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(n){return new(n||e)};static \u0275prov=de({token:e,factory:()=>R(y2),providedIn:"platform"})}return e})(),y2=(()=>{class e extends Vy{_location;_history;_doc=R(rt);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return oo().getBaseHref(this._doc)}onPopState(n){let r=oo().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=oo().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,r,i){this._history.pushState(n,r,i)}replaceState(n,r,i){this._history.replaceState(n,r,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static \u0275fac=function(n){return new(n||e)};static \u0275prov=de({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function jy(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function tp(e){let t=e.search(/#|\?|$/);return e[t-1]==="/"?e.slice(0,t-1)+e.slice(t):e}function kr(e){return e&&e[0]!=="?"?`?${e}`:e}var ld=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(n){return new(n||e)};static \u0275prov=de({token:e,factory:()=>R(w2),providedIn:"root"})}return e})(),b2=new Ee(""),w2=(()=>{class e extends ld{_platformLocation;_baseHref;_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??R(rt).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return jy(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+kr(this._platformLocation.search),i=this._platformLocation.hash;return i&&n?`${r}${i}`:r}pushState(n,r,i,o){let s=this.prepareExternalUrl(i+kr(o));this._platformLocation.pushState(n,r,s)}replaceState(n,r,i,o){let s=this.prepareExternalUrl(i+kr(o));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static \u0275fac=function(n){return new(n||e)(je(Vy),je(b2,8))};static \u0275prov=de({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Fy=(()=>{class e{_subject=new ve;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=S2(tp(np(r))),this._locationStrategy.onPopState(i=>{this._subject.next({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+kr(r))}normalize(n){return e.stripTrailingSlash(E2(this._basePath,np(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",i=null){this._locationStrategy.pushState(i,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+kr(r)),i)}replaceState(n,r="",i=null){this._locationStrategy.replaceState(i,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+kr(r)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(i=>i(n,r))}subscribe(n,r,i){return this._subject.subscribe({next:n,error:r??void 0,complete:i??void 0})}static normalizeQueryParams=kr;static joinWithSlash=jy;static stripTrailingSlash=tp;static \u0275fac=function(n){return new(n||e)(je(ld))};static \u0275prov=de({token:e,factory:()=>x2(),providedIn:"root"})}return e})();function x2(){return new Fy(je(ld))}function E2(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function np(e){return e.replace(/\/index.html$/,"")}function S2(e){if(new RegExp("^(https?:)?//").test(e)){let[,t]=e.split(/\/\/[^\/]+/);return t}return e}function C2(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[i,o]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(i.trim()===t)return decodeURIComponent(o)}return null}var zl=/\s+/,rp=[],tl=(()=>{class e{_ngEl;_renderer;initialClasses=rp;rawClass;stateMap=new Map;constructor(n,r){this._ngEl=n,this._renderer=r}set klass(n){this.initialClasses=n!=null?n.trim().split(zl):rp}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(zl):n}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let r of n)this._updateState(r,!0);else if(n!=null)for(let r of Object.keys(n))this._updateState(r,!!n[r]);this._applyStateDiff()}_updateState(n,r){let i=this.stateMap.get(n);i!==void 0?(i.enabled!==r&&(i.changed=!0,i.enabled=r),i.touched=!0):this.stateMap.set(n,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let r=n[0],i=n[1];i.changed?(this._toggleClass(r,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),i.touched=!1}}_toggleClass(n,r){n=n.trim(),n.length>0&&n.split(zl).forEach(i=>{r?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}static \u0275fac=function(n){return new(n||e)(Et($t),Et(Jh))};static \u0275dir=Zo({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})(),I2=(()=>{class e{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(n,r,i){this._ngEl=n,this._differs=r,this._renderer=i}set ngStyle(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())}ngDoCheck(){if(this._differ){let n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}}_setStyle(n,r){let[i,o]=n.split("."),s=i.indexOf("-")===-1?void 0:ur.DashCase;r!=null?this._renderer.setStyle(this._ngEl.nativeElement,i,o?`${r}${o}`:r,s):this._renderer.removeStyle(this._ngEl.nativeElement,i,s)}_applyChanges(n){n.forEachRemovedItem(r=>this._setStyle(r.key,null)),n.forEachAddedItem(r=>this._setStyle(r.key,r.currentValue)),n.forEachChangedItem(r=>this._setStyle(r.key,r.currentValue))}static \u0275fac=function(n){return new(n||e)(Et($t),Et(Ny),Et(Jh))};static \u0275dir=Zo({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return e})(),T2=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(n){this._viewContainerRef=n}ngOnChanges(n){if(this._shouldRecreateView(n)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let i=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,i,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,r,i)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,i):!1,get:(n,r,i)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,i)}})}static \u0275fac=function(n){return new(n||e)(Et(Li))};static \u0275dir=Zo({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[f_]})}return e})(),D2=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275mod=td({type:e});static \u0275inj=uh({})}return e})(),By="browser",O2="server";function k2(e){return e===By}function Uy(e){return e===O2}var R2=class{},P2=class extends v2{supportsDOMEvents=!0},N2=class Hy extends P2{static makeCurrent(){_2(new Hy)}onAndCancel(t,n,r,i){return t.addEventListener(n,r,i),()=>{t.removeEventListener(n,r,i)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.remove()}createElement(t,n){return n=n||this.getDefaultDocument(),n.createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return n==="window"?window:n==="document"?t:n==="body"?t.body:null}getBaseHref(t){let n=A2();return n==null?null:M2(n)}resetBaseElement(){Qi=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return C2(document.cookie,t)}},Qi=null;function A2(){return Qi=Qi||document.querySelector("base"),Qi?Qi.getAttribute("href"):null}function M2(e){return new URL(e,document.baseURI).pathname}var L2=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(n){return new(n||e)};static \u0275prov=de({token:e,factory:e.\u0275fac})}return e})(),eu=new Ee(""),$y=(()=>{class e{_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 De(5101,!1);return this._eventNameToPlugin.set(n,r),r}static \u0275fac=function(n){return new(n||e)(je(eu),je(Ge))};static \u0275prov=de({token:e,factory:e.\u0275fac})}return e})(),zy=class{_doc;constructor(e){this._doc=e}manager},As="ng-app-id";function ip(e){for(let t of e)t.remove()}function op(e,t){let n=t.createElement("style");return n.textContent=e,n}function V2(e,t,n,r){let i=e.head?.querySelectorAll(`style[${As}="${t}"],link[${As}="${t}"]`);if(i)for(let o of i)o.removeAttribute(As),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 tu(e,t){let n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}var qy=(()=>{class e{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=Uy(o),V2(n,r,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,r){for(let i of n)this.addUsage(i,this.inline,op);r?.forEach(i=>this.addUsage(i,this.external,tu))}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&&(ip(i.elements),r.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])ip(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[r,{elements:i}]of this.inline)i.push(this.addElement(n,op(r,this.doc)));for(let[r,{elements:i}]of this.external)i.push(this.addElement(n,tu(r,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,r){return this.nonce&&r.setAttribute("nonce",this.nonce),this.isServer&&r.setAttribute(As,this.appId),n.appendChild(r)}static \u0275fac=function(n){return new(n||e)(je(rt),je(Ah),je(lv,8),je(za))};static \u0275prov=de({token:e,factory:e.\u0275fac})}return e})(),ql={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"},cd=/%COMP%/g,Wy="%COMP%",j2=`_nghost-${Wy}`,F2=`_ngcontent-${Wy}`,B2=!0,U2=new Ee("",{providedIn:"root",factory:()=>B2});function H2(e){return F2.replace(cd,e)}function $2(e){return j2.replace(cd,e)}function Zy(e,t){return t.map(n=>n.replace(cd,e))}var sp=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(n,r,i,o,s,a,l,u=null,d=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=i,this.removeStylesOnCompDestroy=o,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=u,this.tracingService=d,this.platformIsServer=Uy(a),this.defaultRenderer=new ud(n,s,l,this.platformIsServer,this.tracingService)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===$n.ShadowDom&&(r=Ne(A({},r),{encapsulation:$n.Emulated}));let i=this.getOrCreateRenderer(n,r);return i instanceof lp?i.applyToHost(n):i instanceof nu&&i.applyStyles(),i}getOrCreateRenderer(n,r){let i=this.rendererByCompId,o=i.get(r.id);if(!o){let s=this.doc,a=this.ngZone,l=this.eventManager,u=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,h=this.platformIsServer,_=this.tracingService;switch(r.encapsulation){case $n.Emulated:o=new lp(l,u,r,this.appId,d,s,a,h,_);break;case $n.ShadowDom:return new z2(l,u,n,r,s,a,this.nonce,h,_);default:o=new nu(l,u,r,d,s,a,h,_);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||e)(je($y),je(qy),je(Ah),je(U2),je(rt),je(za),je(Ge),je(lv),je(Ho,8))};static \u0275prov=de({token:e,factory:e.\u0275fac})}return e})(),ud=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(e,t,n,r,i){this.eventManager=e,this.doc=t,this.ngZone=n,this.platformIsServer=r,this.tracingService=i}destroy(){}destroyNode=null;createElement(e,t){return t?this.doc.createElementNS(ql[t]||t,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,t){(ap(e)?e.content:e).appendChild(t)}insertBefore(e,t,n){e&&(ap(e)?e.content:e).insertBefore(t,n)}removeChild(e,t){t.remove()}selectRootElement(e,t){let n=typeof e=="string"?this.doc.querySelector(e):e;if(!n)throw new De(-5104,!1);return t||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,n,r){if(r){t=r+":"+t;let i=ql[r];i?e.setAttributeNS(i,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}removeAttribute(e,t,n){if(n){let r=ql[n];r?e.removeAttributeNS(r,t):e.removeAttribute(`${n}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,n,r){r&(ur.DashCase|ur.Important)?e.style.setProperty(t,n,r&ur.Important?"important":""):e.style[t]=n}removeStyle(e,t,n){n&ur.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,n){e!=null&&(e[t]=n)}setValue(e,t){e.nodeValue=t}listen(e,t,n,r){if(typeof e=="string"&&(e=oo().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${t}`);let i=this.decoratePreventDefault(n);return this.tracingService!==null&&this.tracingService.wrapEventListener&&(i=this.tracingService.wrapEventListener(e,t,i)),this.eventManager.addEventListener(e,t,i,r)}decoratePreventDefault(e){return t=>{if(t==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(t)):e(t))===!1&&t.preventDefault()}}};function ap(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var z2=class extends ud{sharedStylesHost;hostEl;shadowRoot;constructor(e,t,n,r,i,o,s,a,l){super(e,i,o,a,l),this.sharedStylesHost=t,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=r.styles;u=Zy(r.id,u);for(let h of u){let _=document.createElement("style");s&&_.setAttribute("nonce",s),_.textContent=h,this.shadowRoot.appendChild(_)}let d=r.getExternalStyles?.();if(d)for(let h of d){let _=tu(h,i);s&&_.setAttribute("nonce",s),this.shadowRoot.appendChild(_)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,t){return super.appendChild(this.nodeOrShadowRoot(e),t)}insertBefore(e,t,n){return super.insertBefore(this.nodeOrShadowRoot(e),t,n)}removeChild(e,t){return super.removeChild(null,t)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},nu=class extends ud{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(e,t,n,r,i,o,s,a,l){super(e,i,o,s,a),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=r;let u=n.styles;this.styles=l?Zy(l,u):u,this.styleUrls=n.getExternalStyles?.(l)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},lp=class extends nu{contentAttr;hostAttr;constructor(e,t,n,r,i,o,s,a,l){let u=r+"-"+n.id;super(e,t,n,i,o,s,a,l,u),this.contentAttr=H2(u),this.hostAttr=$2(u)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,t){let n=super.createElement(e,t);return super.setAttribute(n,this.contentAttr,""),n}},q2=(()=>{class e extends zy{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||e)(je(rt))};static \u0275prov=de({token:e,factory:e.\u0275fac})}return e})(),cp=["alt","control","meta","shift"],W2={"\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"},Z2={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},G2=(()=>{class e extends zy{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,r,i,o){let s=e.parseEventName(r),a=e.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>oo().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=e._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),cp.forEach(u=>{let d=r.indexOf(u);d>-1&&(r.splice(d,1),s+=u+".")}),s+=o,r.length!=0||o.length===0)return null;let l={};return l.domEventName=i,l.fullKey=s,l}static matchEventFullKeyCode(n,r){let i=W2[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"),cp.forEach(s=>{if(s!==i){let a=Z2[s];a(n)&&(o+=s+".")}}),o+=i,o===r)}static eventCallback(n,r,i){return o=>{e.matchEventFullKeyCode(o,n)&&i.runGuarded(()=>r(o))}}static _normalizeKey(n){return n==="esc"?"escape":n}static \u0275fac=function(n){return new(n||e)(je(rt))};static \u0275prov=de({token:e,factory:e.\u0275fac})}return e})();function Y2(e){return $D(K2(e))}function K2(e){return{appProviders:[...tO,...e?.providers??[]],platformProviders:eO}}function J2(){N2.makeCurrent()}function X2(){return new Xr}function Q2(){return oS(document),document}var eO=[{provide:za,useValue:By},{provide:av,useValue:J2,multi:!0},{provide:rt,useFactory:Q2,deps:[]}],tO=[{provide:gh,useValue:"root"},{provide:Xr,useFactory:X2,deps:[]},{provide:eu,useClass:q2,multi:!0,deps:[rt]},{provide:eu,useClass:G2,multi:!0,deps:[rt]},sp,qy,$y,{provide:Dn,useExisting:sp},{provide:R2,useClass:L2,deps:[]},[]],Gy=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275prov=de({token:e,factory:function(n){let r=null;return n?r=new(n||e):r=je(nO),r},providedIn:"root"})}return e})(),nO=(()=>{class e extends Gy{_doc;constructor(n){super(),this._doc=n}sanitize(n,r){if(r==null)return null;switch(n){case Un.NONE:return r;case Un.HTML:return Tr(r,"HTML")?Hn(r):bv(this._doc,String(r)).toString();case Un.STYLE:return Tr(r,"Style")?Hn(r):r;case Un.SCRIPT:if(Tr(r,"Script"))return Hn(r);throw new De(5200,!1);case Un.URL:return Tr(r,"URL")?Hn(r):jh(String(r));case Un.RESOURCE_URL:if(Tr(r,"ResourceURL"))return Hn(r);throw new De(5201,!1);default:throw new De(5202,!1)}}bypassSecurityTrustHtml(n){return CS(n)}bypassSecurityTrustStyle(n){return IS(n)}bypassSecurityTrustScript(n){return TS(n)}bypassSecurityTrustUrl(n){return DS(n)}bypassSecurityTrustResourceUrl(n){return OS(n)}static \u0275fac=function(n){return new(n||e)(je(rt))};static \u0275prov=de({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),rO="9.12.0",St=class ru{static SDK_VERSION=rO;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_EXPERIMENT_START="CE Experiment Start";static EVENT_VIDEO_DIALOG_CLOSED="CE Video Dialog Closed";static EVENT_VIDEO_DIALOG_OPENED="CE Video Dialog Opened";static EVENT_VIDEO_CHANGE="CE Video Changed";static EVENT_LAST_VIDEO_ENDED="CE Last Video Ended";static EVENT_VIDEO_MUTED="CE Video Muted";static EVENT_VIDEO_UNMUTED="CE Video Unmuted";static EVENT_ADD_TO_CART_CLICKED="CE Add To Cart Clicked";static EVENT_VIEW_ITEM_CLICKED="CE View Item Clicked";static EVENT_MORE_ITEM_INFO_CLICKED="CE More Item Info Clicked";static EVENT_OPEN_CART_CLICKED="CE Open Cart Clicked";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_OPEN_CART="Open 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 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 t=ru.SDK_VERSION.split(".").map(n=>n.padStart(2,"0")).join("");ru.SDK_VERSION_CODE=parseInt(t,10)}},Ci={apiURL:"https://api.sdk.letscooee.com",debug:!1,mode:"production",styleURL:`https://cdn.jsdelivr.net/npm/@letscooee/web-sdk@${St.SDK_VERSION}/dist/widget.min.css`,widgetURL:`https://cdn.jsdelivr.net/npm/@letscooee/web-sdk@${St.SDK_VERSION}/dist/widget.min.js`},en=Ca(Vw()),Wn=class{static log(...e){en.default.info(...e)}static debug(...e){en.default.debug(...e)}static error(...e){en.default.error(...e)}static warn(...e){en.default.warn(...e)}static info(...e){en.default.info(...e)}static trace(...e){en.default.trace(...e)}};function iO(e=St.LOG_PREFIX){en.default.useDefaults({formatter:function(n){n.unshift(`${e} (v${St.SDK_VERSION}):`)}});let t=oO();(t==="1"||t==="on")&&(localStorage.cooeeLogLevel="TRACE"),localStorage.cooeeLogLevel?en.default.setLevel(en.default[localStorage.cooeeLogLevel]):en.default.setLevel(Ci.debug?en.default.TRACE:en.default.OFF)}function oO(){return new URL(location.href).searchParams?.get("cooee-debug")}var ds=Ca(tm()),sO={providers:[OD()]},aO={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},$5=Ne(A({},aO),{"[class.ng-submitted]":"isSubmitted"}),lO=new Ee("",{providedIn:"root",factory:()=>Yy}),Yy="always",cO=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275mod=td({type:e});static \u0275inj=uh({})}return e})(),uO=(()=>{class e{static withConfig(n){return{ngModule:e,providers:[{provide:lO,useValue:n.callSetDisabledState??Yy}]}}static \u0275fac=function(n){return new(n||e)};static \u0275mod=td({type:e});static \u0275inj=uh({imports:[cO]})}return e})(),Rr=class{static SWIPER_CSS="https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.css";static injectScriptURL(e,t){if(!e)return;let n=document.createElement("script");n.id=t??"",n.src=e,Ci.mode==="local"&&(n.type="module"),document.head.appendChild(n)}static injectRawScript(e){if(!e)return;let t=document.createElement("script");t.id="cooee-app-script",t.innerHTML=e,document.head.appendChild(t)}static injectRawCSS(e,t=document.head){if(!e)return;let n=document.createElement("style");n.textContent=e,t.appendChild(n)}static injectSwiperCSS(e=document.head){this.injectStylesheet(this.SWIPER_CSS,e)}static injectStylesheet(e,t=document.head){if(!e)return;let n=document.createElement("link");n.rel="stylesheet",n.href=e,e===this.SWIPER_CSS&&(n.crossOrigin="anonymous",n.onload=r=>{let i=r.currentTarget?.sheet?.cssRules;if(i){for(let o of i)if(o.type==CSSRule.FONT_FACE_RULE){let s=e.split("/"),a=s.slice(0,s.length-1).join("/"),l=o.cssText;l=l.replace(/url\s*\(\s*['"]?(?!((\/)|((?:https?:)?\/\/)|(?:data:?:)))([^'")]+)['"]?\s*\)/g,`url("${a}/$4")`);let u=document.createElement("style");u.appendChild(document.createTextNode(l)),document.head.appendChild(u)}}}),t.appendChild(n)}static async loadSwiperScript(){window.CooeeSDK.Swiper||(window.CooeeSDK.Swiper=(await import("https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.mjs")).Swiper)}},nl=class iu{cooeeEvent=new Xe;cooeeCTA=new Xe;elementRef=R($t);_engagementTrigger=Jn(null);_triggerContext=Jn(null);constructor(){this.elementRef.nativeElement.update=this.update.bind(this)}get classes(){let t=["letscooee-widget"],n=this._engagementTrigger();return t.push(`widget-${n?.shortID}`),t}get triggerContext(){return this._triggerContext()}set triggerContext(t){this._triggerContext.set(t),this._engagementTrigger.set(t.triggerData),this.engagementTriggerReceived(t.triggerData)}get engagementTrigger(){return this._engagementTrigger()}ngOnInit(){Wn.debug("Init",this.constructor.name);let t=this.elementRef.nativeElement.shadowRoot;t&&(Rr.injectStylesheet(Ci.styleURL,t),Rr.injectRawCSS(window.CooeeSDK.config.website.commonCSS,t))}ngOnDestroy(){Wn.debug("Destroying",this.constructor.name)}sendEventToRenderer(t){this.cooeeEvent.emit(t)}executeCTAViaRenderer(t){this.cooeeCTA.emit(t)}static \u0275fac=function(t){return new(t||iu)};static \u0275cmp=Pt({type:iu,selectors:[["ng-component"]],hostVars:2,hostBindings:function(t,n){t&2&&BT(n.classes)},inputs:{triggerContext:"triggerContext"},outputs:{cooeeEvent:"cooeeEvent",cooeeCTA:"cooeeCTA"},decls:0,vars:0,template:function(t,n){},encapsulation:2})},hO=(e,t,n)=>({"--option-color":e,"background-color":t,color:n}),Ky=(e,t)=>t.id;function dO(e,t){if(e&1&&(G(0,"span",6),Ye(1),Y()),e&2){Q();let n=rn(0);Z(),Fi(n)}}function fO(e,t){if(e&1){let n=jt();jn(0),G(1,"button",5),ot("click",function(){let r=ct(n).$implicit,i=Q().$implicit,o=Q();return ut(o.onOptionChange(i,r))}),nt(2,dO,2,1,"span",6),Y()}if(e&2){let n=t.$implicit,r=Q().$implicit,i=rn(1),o=Q(),s=zr(n.name);Z(),Yo("color-type",i)("selected",o.selectedOptions()[r.name]===s),Pe("disabled",n.disabled)("ngStyle",yD(9,hO,i?s:"",i?s:"",i?"transparent":"")),Go("data-value",s),Z(),tt(i?-1:2)}}function pO(e,t){if(e&1&&(G(0,"div"),jn(1),G(2,"div",1),Ye(3),Y(),G(4,"div",2),Ye(5),Y(),G(6,"div",3),Lt(7,fO,3,13,"button",4,Ky),Y()()),e&2){let n=t.$implicit,r=Q();YT("option-group ",n.name.toLowerCase(),""),Z(),zr(n.name.toLowerCase().includes("color")),Z(2),En("",n.name,":"),Z(2),Fi(r.selectedOptions()[n.name]),Z(2),Vt(n.optionValues)}}var gO=class ou extends nl{selectedVariant=new Xe;item=$E.required();selectedOptions=Jn({});options=ep(()=>{let t=this.item();return!t.options||t.vars.length===1?[]:t.options});matchedVariant=ep(()=>{let t=this.item(),n=this.selectedOptions();return t.vars.find(r=>t.options.every(i=>n[i.name]===r.selectedOptions.find(o=>o.name===i.name)?.value))});constructor(){super(),Qc(()=>{let n=this.matchedVariant();n&&(this.item().setSelectedVariant(n),this.selectedVariant.emit(n))});let t=Qc(()=>{let n=this.item();if(!n?.options)return;let r=A({},this.selectedOptions());n.options.forEach(i=>{let o=n.vars[0]?.selectedOptions.find(s=>s.name===i.name)?.value;o&&(r[i.name]=o)}),this.selectedOptions.set(r),t.destroy()})}onOptionChange(t,n){let r=A({},this.selectedOptions());r[t.name]=n.name,this.selectedOptions.set(r)}engagementTriggerReceived(){}update(){}static \u0275fac=function(t){return new(t||ou)};static \u0275cmp=Pt({type:ou,selectors:[["cooee-item-options-picker"]],inputs:{item:[1,"item"]},outputs:{selectedVariant:"selectedVariant"},features:[br],decls:2,vars:0,consts:[[3,"class"],[1,"name"],[1,"selected-value"],[1,"option-values"],[1,"option-value",3,"disabled","color-type","selected","ngStyle"],[1,"option-value",3,"click","disabled","ngStyle"],[1,"title"]],template:function(t,n){t&1&&Lt(0,pO,9,6,"div",0,Ky),t&2&&Vt(n.options())},dependencies:[D2,I2,uO],styles:[`.option-group{display:flex;gap:8px;align-items:center}.option-group+.option-group{margin-top:8px}.option-values{display:flex;flex-wrap:nowrap;overflow-x:auto;padding:6px;gap:8px}.selected-value{display:none}.option-value{padding:5px 10px;border:1px solid #ccc;cursor:pointer;border-radius:4px;min-width:32px;min-height:32px;text-align:center;position:relative;--selected-color: var(--option-color, var(--lc-color-button, rgb(var(--color-button, 0 0 0))))}.option-value.selected{box-shadow:#fff 0 0 0 2px,var(--selected-color) 0 0 0 4px}
16
+ `)}`}var wx=Jm(Hm("Optional"),8),xx=Jm(Hm("SkipSelf"),4);function Mr(e,t){return e.hasOwnProperty(zs)?e[zs]:null}function Ex(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let i=e[r],o=t[r];if(n&&(i=n(i),o=n(o)),o!==i)return!1}return!0}function Sx(e){return e.flat(Number.POSITIVE_INFINITY)}function fh(e,t){e.forEach(n=>Array.isArray(n)?fh(n,t):t(n))}function Xm(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Ws(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Cx(e,t,n,r){let i=e.length;if(i==t)e.push(n,r);else if(i===1)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;){let o=i-2;e[i]=e[o],i--}e[t]=n,e[t+1]=r}}function La(e,t,n){let r=Ao(e,t);return r>=0?e[r|1]=n:(r=~r,Cx(e,r,t,n)),r}function Ol(e,t){let n=Ao(e,t);if(n>=0)return e[n|1]}function Ao(e,t){return Ix(e,t,1)}function Ix(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){let o=r+(i-r>>1),s=e[o<<n];if(t===s)return o<<n;s>t?i=o:r=o+1}return~(i<<n)}var Lr={},Mt=[],Zs=new Ee(""),Qm=new Ee("",-1),e_=new Ee(""),t_=class{get(e,t=po){if(t===po){let n=new Error(`NullInjectorError: No provider for ${mn(e)}!`);throw n.name="NullInjectorError",n}return t}};function Vr(e){return e[lx]||null}function n_(e){return e[cx]||null}function r_(e){return e[Gm]||null}function Tx(e){let t=Vr(e)||n_(e)||r_(e);return t!==null&&t.standalone}function Dx(e){return{\u0275providers:e}}function Ox(...e){return{\u0275providers:i_(!0,e),\u0275fromNgModule:!0}}function i_(e,...t){let n=[],r=new Set,i,o=s=>{n.push(s)};return fh(t,s=>{let a=s;Sc(a,o,[],r)&&(i||=[],i.push(a))}),i!==void 0&&o_(i,o),n}function o_(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:i}=e[n];ph(i,o=>{t(o,r)})}}function Sc(e,t,n,r){if(e=At(e),!e)return!1;let i=null,o=pf(e),s=!o&&Vr(e);if(!o&&!s){let l=e.ngModule;if(o=pf(l),o)i=l;else return!1}else{if(s&&!s.standalone)return!1;i=e}let a=r.has(i);if(s){if(a)return!1;if(r.add(i),s.dependencies){let l=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let u of l)Sc(u,t,n,r)}}else if(o){if(o.imports!=null&&!a){r.add(i);let u;try{fh(o.imports,d=>{Sc(d,t,n,r)&&(u||=[],u.push(d))})}finally{}u!==void 0&&o_(u,t)}if(!a){let u=Mr(i)||(()=>new i);t({provide:i,useFactory:u,deps:Mt},i),t({provide:e_,useValue:i,multi:!0},i),t({provide:Zs,useValue:()=>je(i),multi:!0},i)}let l=o.providers;if(l!=null&&!a){let u=e;ph(l,d=>{t(d,u)})}}else return!1;return i!==e&&e.providers!==void 0}function ph(e,t){for(let n of e)Zm(n)&&(n=n.\u0275providers),Array.isArray(n)?ph(n,t):t(n)}var kx=et({provide:String,useValue:et});function s_(e){return e!==null&&typeof e=="object"&&kx in e}function Rx(e){return!!(e&&e.useExisting)}function Px(e){return!!(e&&e.useFactory)}function wi(e){return typeof e=="function"}function Nx(e){return!!e.useClass}var gh=new Ee(""),Ts={},Ax={},kl;function Va(){return kl===void 0&&(kl=new t_),kl}var Gn=class{},mh=class extends Gn{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(e,t,n,r){super(),this.parent=t,this.source=n,this.scopes=r,Ic(e,o=>this.processProvider(o)),this.records.set(Qm,li(void 0,this)),r.has("environment")&&this.records.set(Gn,li(void 0,this));let i=this.records.get(gh);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(e_,Mt,Te.Self))}destroy(){Ji(this),this._destroyed=!0;let e=Ie(null);try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let t=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of t)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),Ie(e)}}onDestroy(e){return Ji(this),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){Ji(this);let t=sr(this),n=Bt(void 0),r;try{return e()}finally{sr(t),Bt(n)}}get(e,t=po,n=Te.Default){if(Ji(this),e.hasOwnProperty(mf))return e[mf](this);n=Ma(n);let r,i=sr(this),o=Bt(void 0);try{if(!(n&Te.SkipSelf)){let a=this.records.get(e);if(a===void 0){let l=Fx(e)&&hh(e);l&&this.injectableDefInScope(l)?a=li(Cc(e),Ts):a=null,this.records.set(e,a)}if(a!=null)return this.hydrate(e,a)}let s=n&Te.Self?Va():this.parent;return t=n&Te.Optional&&t===po?null:t,s.get(e,t)}catch(s){if(s.name==="NullInjectorError"){if((s[qs]=s[qs]||[]).unshift(mn(e)),i)throw s;return yx(s,e,"R3InjectorError",this.source)}else throw s}finally{Bt(o),sr(i)}}resolveInjectorInitializers(){let e=Ie(null),t=sr(this),n=Bt(void 0),r;try{let i=this.get(Zs,Mt,Te.Self);for(let o of i)o()}finally{sr(t),Bt(n),Ie(e)}}toString(){let e=[],t=this.records;for(let n of t.keys())e.push(mn(n));return`R3Injector[${e.join(", ")}]`}processProvider(e){e=At(e);let t=wi(e)?e:At(e&&e.provide),n=Lx(e);if(!wi(e)&&e.multi===!0){let r=this.records.get(t);r||(r=li(void 0,Ts,!0),r.factory=()=>Ec(r.multi),this.records.set(t,r)),t=e,r.multi.push(e)}this.records.set(t,n)}hydrate(e,t){let n=Ie(null);try{return t.value===Ts&&(t.value=Ax,t.value=t.factory()),typeof t.value=="object"&&t.value&&jx(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{Ie(n)}}injectableDefInScope(e){if(!e.providedIn)return!1;let t=At(e.providedIn);return typeof t=="string"?t==="any"||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(e){let t=this._onDestroyHooks.indexOf(e);t!==-1&&this._onDestroyHooks.splice(t,1)}};function Cc(e){let t=hh(e),n=t!==null?t.factory:Mr(e);if(n!==null)return n;if(e instanceof Ee)throw new De(204,!1);if(e instanceof Function)return Mx(e);throw new De(204,!1)}function Mx(e){if(e.length>0)throw new De(204,!1);let t=sx(e);return t!==null?()=>t.factory(e):()=>new e}function Lx(e){if(s_(e))return li(void 0,e.useValue);{let t=a_(e);return li(t,Ts)}}function a_(e,t,n){let r;if(wi(e)){let i=At(e);return Mr(i)||Cc(i)}else if(s_(e))r=()=>At(e.useValue);else if(Px(e))r=()=>e.useFactory(...Ec(e.deps||[]));else if(Rx(e))r=()=>je(At(e.useExisting));else{let i=At(e&&(e.useClass||e.provide));if(Vx(e))r=()=>new i(...Ec(e.deps));else return Mr(i)||Cc(i)}return r}function Ji(e){if(e.destroyed)throw new De(205,!1)}function li(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Vx(e){return!!e.deps}function jx(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Fx(e){return typeof e=="function"||typeof e=="object"&&e instanceof Ee}function Ic(e,t){for(let n of e)Array.isArray(n)?Ic(n,t):n&&Zm(n)?Ic(n.\u0275providers,t):t(n)}function l_(e,t){e instanceof mh&&Ji(e);let n,r=sr(e),i=Bt(void 0);try{return t()}finally{sr(r),Bt(i)}}function c_(){return Ym()!==void 0||mx()!=null}function ja(e){if(!c_())throw new De(-203,!1)}function Bx(e){return typeof e=="function"}var Qn=0,ge=1,fe=2,Rt=3,_n=4,In=5,go=6,Gs=7,ft=8,mo=9,Yn=10,_t=11,_o=12,vf=13,Pi=14,wn=15,jr=16,ci=17,Kn=18,Mo=19,u_=20,fr=21,Ds=22,Fr=23,Wt=24,mi=25,ht=26,h_=1,Br=7,Ys=8,xi=9,kt=10;function zn(e){return Array.isArray(e)&&typeof e[h_]=="object"}function er(e){return Array.isArray(e)&&e[h_]===!0}function _h(e){return(e.flags&4)!==0}function Ni(e){return e.componentOffset>-1}function Fa(e){return(e.flags&1)===1}function Ln(e){return!!e.template}function Ks(e){return(e[fe]&512)!==0}function Lo(e){return(e[fe]&256)===256}var Ux=class{previousValue;currentValue;firstChange;constructor(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}isFirstChange(){return this.firstChange}};function d_(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var f_=(()=>{let e=()=>p_;return e.ngInherit=!0,e})();function p_(e){return e.type.prototype.ngOnChanges&&(e.setInput=$x),Hx}function Hx(){let e=m_(this),t=e?.current;if(t){let n=e.previous;if(n===Lr)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function $x(e,t,n,r,i){let o=this.declaredInputs[r],s=m_(e)||zx(e,{previous:Lr,current:null}),a=s.current||(s.current={}),l=s.previous,u=l[o];a[o]=new Ux(u&&u.currentValue,n,l===Lr),d_(e,t,i,n)}var g_="__ngSimpleChanges__";function m_(e){return e[g_]||null}function zx(e,t){return e[g_]=t}var qx=null,ze=function(e,t=null,n){qx?.(e,t,n)},__="svg",Wx="math";function Gt(e){for(;Array.isArray(e);)e=e[Qn];return e}function v_(e,t){return Gt(t[e])}function Vn(e,t){return Gt(t[e.index])}function vh(e,t){return e.data[t]}function Ba(e,t){return e[t]}function on(e,t){let n=t[e];return zn(n)?n:n[Qn]}function Zx(e){return(e[fe]&4)===4}function yh(e){return(e[fe]&128)===128}function Gx(e){return er(e[Rt])}function gr(e,t){return t==null?null:e[t]}function y_(e){e[ci]=0}function bh(e){e[fe]&1024||(e[fe]|=1024,yh(e)&&Ai(e))}function Yx(e,t){for(;e>0;)t=t[Pi],e--;return t}function Ua(e){return!!(e[fe]&9216||e[Wt]?.dirty)}function Tc(e){e[Yn].changeDetectionScheduler?.notify(8),e[fe]&64&&(e[fe]|=1024),Ua(e)&&Ai(e)}function Ai(e){e[Yn].changeDetectionScheduler?.notify(0);let t=Ur(e);for(;t!==null&&!(t[fe]&8192||(t[fe]|=8192,!yh(t)));)t=Ur(t)}function b_(e,t){if(Lo(e))throw new De(911,!1);e[fr]===null&&(e[fr]=[]),e[fr].push(t)}function Kx(e,t){if(e[fr]===null)return;let n=e[fr].indexOf(t);n!==-1&&e[fr].splice(n,1)}function Ur(e){let t=e[Rt];return er(t)?t[Rt]:t}function w_(e){return e[Gs]??=[]}function x_(e){return e.cleanup??=[]}function Jx(e,t,n,r){let i=w_(t);i.push(n),e.firstCreatePass&&x_(e).push(r,i.length-1)}var be={lFrame:R_(null),bindingsEnabled:!0,skipHydrationRootTNode:null},Dc=!1;function Xx(){return be.lFrame.elementDepthCount}function Qx(){be.lFrame.elementDepthCount++}function eE(){be.lFrame.elementDepthCount--}function wh(){return be.bindingsEnabled}function tE(){return be.skipHydrationRootTNode!==null}function nE(e){return be.skipHydrationRootTNode===e}function rE(){be.skipHydrationRootTNode=null}function ye(){return be.lFrame.lView}function pt(){return be.lFrame.tView}function ct(e){return be.lFrame.contextLView=e,e[ft]}function ut(e){return be.lFrame.contextLView=null,e}function Yt(){let e=E_();for(;e!==null&&e.type===64;)e=e.parent;return e}function E_(){return be.lFrame.currentTNode}function iE(){let e=be.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function yr(e,t){let n=be.lFrame;n.currentTNode=e,n.isParent=t}function xh(){return be.lFrame.isParent}function S_(){be.lFrame.isParent=!1}function C_(){return be.lFrame.contextLView}function I_(){return Dc}function Js(e){let t=Dc;return Dc=e,t}function Vo(){let e=be.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function oE(e){return be.lFrame.bindingIndex=e}function jo(){return be.lFrame.bindingIndex++}function T_(e){let t=be.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function sE(){return be.lFrame.inI18n}function aE(e,t){let n=be.lFrame;n.bindingIndex=n.bindingRootIndex=e,Oc(t)}function lE(){return be.lFrame.currentDirectiveIndex}function Oc(e){be.lFrame.currentDirectiveIndex=e}function cE(e){let t=be.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function D_(){return be.lFrame.currentQueryIndex}function Eh(e){be.lFrame.currentQueryIndex=e}function uE(e){let t=e[ge];return t.type===2?t.declTNode:t.type===1?e[In]:null}function O_(e,t,n){if(n&Te.SkipSelf){let i=t,o=e;for(;(i=i.parent,i===null&&!(n&Te.Host))&&(i=uE(o),!(i===null||(o=o[Pi],i.type&10))););if(i===null)return!1;t=i,e=o}let r=be.lFrame=k_();return r.currentTNode=t,r.lView=e,!0}function Sh(e){let t=k_(),n=e[ge];be.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function k_(){let e=be.lFrame,t=e===null?null:e.child;return t===null?R_(e):t}function R_(e){let t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function P_(){let e=be.lFrame;return be.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var N_=P_;function Ch(){let e=P_();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function hE(e){return(be.lFrame.contextLView=Yx(e,be.lFrame.contextLView))[ft]}function tr(){return be.lFrame.selectedIndex}function Hr(e){be.lFrame.selectedIndex=e}function Ih(){let e=be.lFrame;return vh(e.tView,e.selectedIndex)}function mr(){be.lFrame.currentNamespace=__}function Xs(){dE()}function dE(){be.lFrame.currentNamespace=null}function fE(){return be.lFrame.currentNamespace}var A_=!0;function Ha(){return A_}function $a(e){A_=e}function pE(e,t,n){let{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=t.type.prototype;if(r){let s=p_(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}i&&(n.preOrderHooks??=[]).push(0-e,i),o&&((n.preOrderHooks??=[]).push(e,o),(n.preOrderCheckHooks??=[]).push(e,o))}function Th(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let i=e.data[n].type.prototype,{ngAfterContentInit:o,ngAfterContentChecked:s,ngAfterViewInit:a,ngAfterViewChecked:l,ngOnDestroy:u}=i;o&&(e.contentHooks??=[]).push(-n,o),s&&((e.contentHooks??=[]).push(n,s),(e.contentCheckHooks??=[]).push(n,s)),a&&(e.viewHooks??=[]).push(-n,a),l&&((e.viewHooks??=[]).push(n,l),(e.viewCheckHooks??=[]).push(n,l)),u!=null&&(e.destroyHooks??=[]).push(n,u)}}function Os(e,t,n){M_(e,t,3,n)}function ks(e,t,n,r){(e[fe]&3)===n&&M_(e,t,n,r)}function Rl(e,t){let n=e[fe];(n&3)===t&&(n&=16383,n+=1,e[fe]=n)}function M_(e,t,n,r){let i=r!==void 0?e[ci]&65535:0,o=r??-1,s=t.length-1,a=0;for(let l=i;l<s;l++)if(typeof t[l+1]=="number"){if(a=t[l],r!=null&&a>=r)break}else t[l]<0&&(e[ci]+=65536),(a<o||o==-1)&&(gE(e,n,t,l),e[ci]=(e[ci]&4294901760)+l+2),l++}function yf(e,t){ze(4,e,t);let n=Ie(null);try{t.call(e)}finally{Ie(n),ze(5,e,t)}}function gE(e,t,n,r){let i=n[r]<0,o=n[r+1],s=i?-n[r]:n[r],a=e[s];i?e[fe]>>14<e[ci]>>16&&(e[fe]&3)===t&&(e[fe]+=16384,yf(a,o)):yf(a,o)}var _i=-1,Fo=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(e,t,n){this.factory=e,this.canSeeViewProviders=t,this.injectImpl=n}};function mE(e){return e instanceof Fo}function _E(e){return(e.flags&8)!==0}function vE(e){return(e.flags&16)!==0}function yE(e,t,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++];e.setAttribute(t,s,a,o)}else{let o=i,s=n[++r];wE(o)?e.setProperty(t,o,s):e.setAttribute(t,o,s),r++}}return r}function bE(e){return e===3||e===4||e===6}function wE(e){return e.charCodeAt(0)===64}function Ei(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){let i=t[r];typeof i=="number"?n=i:n===0||(n===-1||n===2?bf(e,n,i,null,t[++r]):bf(e,n,i,null,null))}}return e}function bf(e,t,n,r,i){let o=0,s=e.length;if(t===-1)s=-1;else for(;o<e.length;){let a=e[o++];if(typeof a=="number"){if(a===t){s=-1;break}else if(a>t){s=o-1;break}}}for(;o<e.length;){let a=e[o];if(typeof a=="number")break;if(a===n){if(r===null){i!==null&&(e[o+1]=i);return}else if(r===e[o+1]){e[o+2]=i;return}}o++,r!==null&&o++,i!==null&&o++}s!==-1&&(e.splice(s,0,t),o=s+1),e.splice(o++,0,n),r!==null&&e.splice(o++,0,r),i!==null&&e.splice(o++,0,i)}var Pl={},xE=class{injector;parentInjector;constructor(e,t){this.injector=e,this.parentInjector=t}get(e,t,n){n=Ma(n);let r=this.injector.get(e,Pl,n);return r!==Pl||t===Pl?r:this.parentInjector.get(e,t,n)}};function L_(e){return e!==_i}function Qs(e){return e&32767}function EE(e){return e>>16}function ea(e,t){let n=EE(e),r=t;for(;n>0;)r=r[Pi],n--;return r}var kc=!0;function ta(e){let t=kc;return kc=e,t}var SE=256,V_=SE-1,j_=5,CE=0,Nn={};function IE(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(ro)&&(r=n[ro]),r==null&&(r=n[ro]=CE++);let i=r&V_,o=1<<i;t.data[e+(i>>j_)]|=o}function na(e,t){let n=F_(e,t);if(n!==-1)return n;let r=t[ge];r.firstCreatePass&&(e.injectorIndex=t.length,Nl(r.data,e),Nl(t,null),Nl(r.blueprint,null));let i=Dh(e,t),o=e.injectorIndex;if(L_(i)){let s=Qs(i),a=ea(i,t),l=a[ge].data;for(let u=0;u<8;u++)t[o+u]=a[s+u]|l[s+u]}return t[o+8]=i,o}function Nl(e,t){e.push(0,0,0,0,0,0,0,0,t)}function F_(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Dh(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,i=t;for(;i!==null;){if(r=q_(i),r===null)return _i;if(n++,i=i[Pi],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return _i}function Rc(e,t,n){IE(e,t,n)}function B_(e,t,n){if(n&Te.Optional||e!==void 0)return e;dh(t,"NodeInjector")}function U_(e,t,n,r){if(n&Te.Optional&&r===void 0&&(r=null),(n&(Te.Self|Te.Host))===0){let i=e[mo],o=Bt(void 0);try{return i?i.get(t,r,n&Te.Optional):Km(t,r,n&Te.Optional)}finally{Bt(o)}}return B_(r,t,n)}function H_(e,t,n,r=Te.Default,i){if(e!==null){if(t[fe]&2048&&!(r&Te.Self)){let s=kE(e,t,n,r,Nn);if(s!==Nn)return s}let o=$_(e,t,n,r,Nn);if(o!==Nn)return o}return U_(t,n,r,i)}function $_(e,t,n,r,i){let o=DE(n);if(typeof o=="function"){if(!O_(t,e,r))return r&Te.Host?B_(i,n,r):U_(t,n,r,i);try{let s;if(s=o(r),s==null&&!(r&Te.Optional))dh(n);else return s}finally{N_()}}else if(typeof o=="number"){let s=null,a=F_(e,t),l=_i,u=r&Te.Host?t[wn][In]:null;for((a===-1||r&Te.SkipSelf)&&(l=a===-1?Dh(e,t):t[a+8],l===_i||!xf(r,!1)?a=-1:(s=t[ge],a=Qs(l),t=ea(l,t)));a!==-1;){let d=t[ge];if(wf(o,a,d.data)){let h=TE(a,t,n,s,r,u);if(h!==Nn)return h}l=t[a+8],l!==_i&&xf(r,t[ge].data[a+8]===u)&&wf(o,a,t)?(s=d,a=Qs(l),t=ea(l,t)):a=-1}}return i}function TE(e,t,n,r,i,o){let s=t[ge],a=s.data[e+8],l=r==null?Ni(a)&&kc:r!=s&&(a.type&3)!==0,u=i&Te.Host&&o===a,d=Rs(a,s,n,l,u);return d!==null?vo(t,s,d,a):Nn}function Rs(e,t,n,r,i){let o=e.providerIndexes,s=t.data,a=o&1048575,l=e.directiveStart,u=e.directiveEnd,d=o>>20,h=r?a:a+d,_=i?a+d:u;for(let m=h;m<_;m++){let b=s[m];if(m<l&&n===b||m>=l&&b.type===n)return m}if(i){let m=s[l];if(m&&Ln(m)&&m.type===n)return l}return null}function vo(e,t,n,r){let i=e[n],o=t.data;if(mE(i)){let s=i;s.resolving&&hx(ux(o[n]));let a=ta(s.canSeeViewProviders);s.resolving=!0;let l,u=s.injectImpl?Bt(s.injectImpl):null,d=O_(e,r,Te.Default);try{i=e[n]=s.factory(void 0,o,e,r),t.firstCreatePass&&n>=r.directiveStart&&pE(n,o[n],t)}finally{u!==null&&Bt(u),ta(a),s.resolving=!1,N_()}}return i}function DE(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(ro)?e[ro]:void 0;return typeof t=="number"?t>=0?t&V_:OE:t}function wf(e,t,n){let r=1<<e;return!!(n[t+(e>>j_)]&r)}function xf(e,t){return!(e&Te.Self)&&!(e&Te.Host&&t)}var io=class{_tNode;_lView;constructor(e,t){this._tNode=e,this._lView=t}get(e,t,n){return H_(this._tNode,this._lView,e,Ma(n),t)}};function OE(){return new io(Yt(),ye())}function z_(e){return Po(()=>{let t=e.prototype.constructor,n=t[zs]||Pc(t),r=Object.prototype,i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){let o=i[zs]||Pc(i);if(o&&o!==n)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function Pc(e){return zm(e)?()=>{let t=Pc(At(e));return t&&t()}:Mr(e)}function kE(e,t,n,r,i){let o=e,s=t;for(;o!==null&&s!==null&&s[fe]&2048&&!Ks(s);){let a=$_(o,s,n,r|Te.Self,Nn);if(a!==Nn)return a;let l=o.parent;if(!l){let u=s[u_];if(u){let d=u.get(n,Nn,r);if(d!==Nn)return d}l=q_(s),s=s[Pi]}o=l}return i}function q_(e){let t=e[ge],n=t.type;return n===2?t.declTNode:n===1?e[In]:null}function Ef(e,t=null,n=null,r){let i=RE(e,t,n,r);return i.resolveInjectorInitializers(),i}function RE(e,t=null,n=null,r,i=new Set){let o=[n||Mt,Ox(e)];return r=r||(typeof e=="object"?void 0:mn(e)),new mh(o,t||Va(),r||null,i)}var Tt=class W_{static THROW_IF_NOT_FOUND=po;static NULL=new t_;static create(t,n){if(Array.isArray(t))return Ef({name:""},n,t,"");{let r=t.name??"";return Ef({name:r},t.parent,t.providers,r)}}static \u0275prov=de({token:W_,providedIn:"any",factory:()=>je(Qm)});static __NG_ELEMENT_ID__=-1},PE=new Ee("");PE.__NG_ELEMENT_ID__=e=>{let t=Yt();if(t===null)throw new De(204,!1);if(t.type&2)return t.value;if(e&Te.Optional)return null;throw new De(204,!1)};var Z_=!1,Bo=(()=>{class e{static __NG_ELEMENT_ID__=NE;static __NG_ENV_ID__=n=>n}return e})(),G_=class extends Bo{_lView;constructor(e){super(),this._lView=e}onDestroy(e){return b_(this._lView,e),()=>Kx(this._lView,e)}};function NE(){return new G_(ye())}var Jr=class{},Oh=new Ee("",{providedIn:"root",factory:()=>!1}),Y_=new Ee(""),kh=new Ee(""),Uo=(()=>{class e{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new rh(!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=de({token:e,providedIn:"root",factory:()=>new e})}return e})(),AE=class extends ve{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(e=!1){super(),this.__isAsync=e,c_()&&(this.destroyRef=R(Bo,{optional:!0})??void 0,this.pendingTasks=R(Uo,{optional:!0})??void 0)}emit(e){let t=Ie(null);try{super.next(e)}finally{Ie(t)}}subscribe(e,t,n){let r=e,i=t||(()=>null),o=n;if(e&&typeof e=="object"){let a=e;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 e instanceof bt&&e.add(s),s}wrapInTimeout(e){return t=>{let n=this.pendingTasks?.add();setTimeout(()=>{e(t),n!==void 0&&this.pendingTasks?.remove(n)})}}},Xe=AE;function yo(...e){}function K_(e){let t,n;function r(){e=yo;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function Sf(e){return queueMicrotask(()=>e()),()=>{e=yo}}var Rh="isAngularZone",ra=Rh+"_ID",ME=0,Ge=class Nc{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Xe(!1);onMicrotaskEmpty=new Xe(!1);onStable=new Xe(!1);onError=new Xe(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:i=!1,scheduleInRootZone:o=Z_}=t;if(typeof Zone>"u")throw new De(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,jE(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Rh)===!0}static assertInAngularZone(){if(!Nc.isInAngularZone())throw new De(909,!1)}static assertNotInAngularZone(){if(Nc.isInAngularZone())throw new De(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,i){let o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,t,LE,yo,yo);try{return o.runTask(s,n,r)}finally{o.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},LE={};function Ph(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function VE(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){K_(()=>{e.callbackScheduled=!1,Ac(e),e.isCheckStableRunning=!0,Ph(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Ac(e)}function jE(e){let t=()=>{VE(e)},n=ME++;e._inner=e._inner.fork({name:"angular",properties:{[Rh]:!0,[ra]:n,[ra+n]:!0},onInvokeTask:(r,i,o,s,a,l)=>{if(FE(l))return r.invokeTask(o,s,a,l);try{return Cf(e),r.invokeTask(o,s,a,l)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),If(e)}},onInvoke:(r,i,o,s,a,l,u)=>{try{return Cf(e),r.invoke(o,s,a,l,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!BE(l)&&t(),If(e)}},onHasTask:(r,i,o,s)=>{r.hasTask(o,s),i===o&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Ac(e),Ph(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,i,o,s)=>(r.handleError(o,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function Ac(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Cf(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function If(e){e._nesting--,Ph(e)}var J_=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Xe;onMicrotaskEmpty=new Xe;onStable=new Xe;onError=new Xe;run(e,t,n){return e.apply(t,n)}runGuarded(e,t,n){return e.apply(t,n)}runOutsideAngular(e){return e()}runTask(e,t,n,r){return e.apply(t,n)}};function FE(e){return X_(e,"__ignore_ng_zone__")}function BE(e){return X_(e,"__scheduler_tick__")}function X_(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var Xr=class{_console=console;handleError(e){this._console.error("ERROR",e)}},UE=new Ee("",{providedIn:"root",factory:()=>{let e=R(Ge),t=R(Xr);return n=>e.runOutsideAngular(()=>t.handleError(n))}});function Tf(e,t){return Um(e,t)}function HE(e){return Um(Bm,e)}var $E=(Tf.required=HE,Tf);function zE(){return Mi(Yt(),ye())}function Mi(e,t){return new $t(Vn(e,t))}var $t=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=zE}return e})();function qE(e){return e instanceof $t?e.nativeElement:e}function Jn(e,t){let n=Zw(e),r=n[nn];return t?.equal&&(r.equal=t.equal),n.set=i=>Qu(r,i),n.update=i=>Gw(r,i),n.asReadonly=WE.bind(n),n}function WE(){let e=this[nn];if(e.readonlyFn===void 0){let t=()=>this();t[nn]=e,e.readonlyFn=t}return e.readonlyFn}function ZE(){return this._results[Symbol.iterator]()}var GE=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new ve}constructor(e=!1){this._emitDistinctChangesOnly=e}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,t){return this._results.reduce(e,t)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,t){this.dirty=!1;let n=Sx(e);(this._changesDetected=!Ex(this._results,n,t))&&(this._results=n,this.length=n.length,this.last=n[this.length-1],this.first=n[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(e){this._onDirty=e}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=ZE};function Q_(e){return(e.flags&128)===128}var ev=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(ev||{}),Nh=new Map,YE=0;function KE(){return YE++}function JE(e){Nh.set(e[Mo],e)}function tv(e){return Nh.get(e)||null}function Mc(e){Nh.delete(e[Mo])}var XE=class{lViewId;nodeIndex;native;component;directives;localRefs;get lView(){return tv(this.lViewId)}constructor(e,t,n){this.lViewId=e,this.nodeIndex=t,this.native=n}};function QE(e){let t=Al(e);if(t){if(zn(t)){let n=t,r,i,o;if(nv(e)){if(r=nS(n,e),r==-1)throw new Error("The provided component was not found in the application");i=e}else if(eS(e)){if(r=rS(n,e),r==-1)throw new Error("The provided directive was not found in the application");o=iS(r,n)}else if(r=Of(n,e),r==-1)return null;let s=Gt(n[r]),a=Al(s),l=a&&!Array.isArray(a)?a:Df(n,r,s);if(i&&l.component===void 0&&(l.component=i,An(l.component,l)),o&&l.directives===void 0){l.directives=o;for(let u=0;u<o.length;u++)An(o[u],l)}An(l.native,l),t=l}}else{let n=e,r=n;for(;r=r.parentNode;){let i=Al(r);if(i){let o=Array.isArray(i)?i:i.lView;if(!o)return null;let s=Of(o,n);if(s>=0){let a=Gt(o[s]),l=Df(o,s,a);An(a,l),t=l;break}}}}return t||null}function Df(e,t,n){return new XE(e[Mo],t,n)}var Lc="__ngContext__";function An(e,t){zn(t)?(e[Lc]=t[Mo],JE(t)):e[Lc]=t}function Al(e){let t=e[Lc];return typeof t=="number"?tv(t):t||null}function nv(e){return e&&e.constructor&&e.constructor.\u0275cmp}function eS(e){return e&&e.constructor&&e.constructor.\u0275dir}function Of(e,t){let n=e[ge];for(let r=ht;r<n.bindingStartIndex;r++)if(Gt(e[r])===t)return r;return-1}function tS(e){if(e.child)return e.child;if(e.next)return e.next;for(;e.parent&&!e.parent.next;)e=e.parent;return e.parent&&e.parent.next}function nS(e,t){let n=e[ge].components;if(n)for(let r=0;r<n.length;r++){let i=n[r];if(on(i,e)[ft]===t)return i}else if(on(ht,e)[ft]===t)return ht;return-1}function rS(e,t){let n=e[ge].firstChild;for(;n;){let r=n.directiveStart,i=n.directiveEnd;for(let o=r;o<i;o++)if(e[o]===t)return n.index;n=tS(n)}return-1}function iS(e,t){let n=t[ge].data[e];if(n.directiveStart===0)return Mt;let r=[];for(let i=n.directiveStart;i<n.directiveEnd;i++){let o=t[i];nv(o)||r.push(o)}return r}function rv(e){return ov(e[_o])}function iv(e){return ov(e[_n])}function ov(e){for(;e!==null&&!er(e);)e=e[_n];return e}var Vc;function oS(e){Vc=e}function sv(){if(Vc!==void 0)return Vc;if(typeof document<"u")return document;throw new De(210,!1)}var Ah=new Ee("",{providedIn:"root",factory:()=>sS}),sS="ng",av=new Ee(""),za=new Ee("",{providedIn:"platform",factory:()=>"unknown"}),aS=new Ee(""),lv=new Ee("",{providedIn:"root",factory:()=>sv().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),lS="h",cS="b",cv=!1,uS=new Ee("",{providedIn:"root",factory:()=>cv}),Mh=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(Mh||{}),Ho=new Ee(""),kf=new Set;function Qr(e){kf.has(e)||(kf.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Lh=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=hS}return e})();function hS(){return new Lh(ye(),Yt())}var ui=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(ui||{}),uv=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=de({token:e,providedIn:"root",factory:()=>new e})}return e})(),dS=[ui.EarlyRead,ui.Write,ui.MixedReadWrite,ui.Read],fS=(()=>{class e{ngZone=R(Ge);scheduler=R(Jr);errorHandler=R(Xr,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){R(Ho,{optional:!0})}execute(){let n=this.sequences.size>0;n&&ze(16),this.executing=!0;for(let r of dS)for(let i of this.sequences)if(!(i.erroredOrDestroyed||!i.hooks[r]))try{i.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let o=i.hooks[r];return o(i.pipelinedValue)},i.snapshot))}catch(o){i.erroredOrDestroyed=!0,this.errorHandler?.handleError(o)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),n&&ze(17)}register(n){let{view:r}=n;r!==void 0?((r[mi]??=[]).push(n),Ai(r),r[fe]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(Mh.AFTER_NEXT_RENDER,n):n()}static \u0275prov=de({token:e,providedIn:"root",factory:()=>new e})}return e})(),pS=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(e,t,n,r,i,o=null){this.impl=e,this.hooks=t,this.view=n,this.once=r,this.snapshot=o,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let e=this.view?.[mi];e&&(this.view[mi]=e.filter(t=>t!==this))}};function hv(e,t){!t?.injector&&ja(hv);let n=t?.injector??R(Tt);return Qr("NgAfterRender"),dv(e,n,t,!1)}function $o(e,t){!t?.injector&&ja($o);let n=t?.injector??R(Tt);return Qr("NgAfterNextRender"),dv(e,n,t,!0)}function gS(e,t){if(e instanceof Function){let n=[void 0,void 0,void 0,void 0];return n[t]=e,n}else return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function dv(e,t,n,r){let i=t.get(uv);i.impl??=t.get(fS);let o=t.get(Ho,null,{optional:!0}),s=n?.phase??ui.MixedReadWrite,a=n?.manualCleanup!==!0?t.get(Bo):null,l=t.get(Lh,null,{optional:!0}),u=new pS(i.impl,gS(e,s),l?.view,r,a,o?.snapshot(null));return i.impl.register(u),u}var mS=()=>null;function fv(e,t,n=!1){return mS(e,t,n)}function pv(e,t){let n=e.contentQueries;if(n!==null){let r=Ie(null);try{for(let i=0;i<n.length;i+=2){let o=n[i],s=n[i+1];if(s!==-1){let a=e.data[s];Eh(o),a.contentQueries(2,t[s],s)}}}finally{Ie(r)}}}function jc(e,t,n){Eh(0);let r=Ie(null);try{t(e,n)}finally{Ie(r)}}function Vh(e,t,n){if(_h(t)){let r=Ie(null);try{let i=t.directiveStart,o=t.directiveEnd;for(let s=i;s<o;s++){let a=e.data[s];if(a.contentQueries){let l=n[s];a.contentQueries(1,l,s)}}}finally{Ie(r)}}}var $n=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}($n||{}),ls;function _S(){if(ls===void 0&&(ls=null,fo.trustedTypes))try{ls=fo.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ls}function qa(e){return _S()?.createHTML(e)||e}var cs;function vS(){if(cs===void 0&&(cs=null,fo.trustedTypes))try{cs=fo.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return cs}function Rf(e){return vS()?.createHTML(e)||e}var ei=class{changingThisBreaksApplicationSecurity;constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Fm})`}},yS=class extends ei{getTypeName(){return"HTML"}},bS=class extends ei{getTypeName(){return"Style"}},wS=class extends ei{getTypeName(){return"Script"}},xS=class extends ei{getTypeName(){return"URL"}},ES=class extends ei{getTypeName(){return"ResourceURL"}};function Hn(e){return e instanceof ei?e.changingThisBreaksApplicationSecurity:e}function Tr(e,t){let n=SS(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Fm})`)}return n===t}function SS(e){return e instanceof ei&&e.getTypeName()||null}function CS(e){return new yS(e)}function IS(e){return new bS(e)}function TS(e){return new wS(e)}function DS(e){return new xS(e)}function OS(e){return new ES(e)}function kS(e){let t=new PS(e);return NS()?new RS(t):t}var RS=class{inertDocumentHelper;constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e="<body><remove></remove>"+e;try{let t=new window.DOMParser().parseFromString(qa(e),"text/html").body;return t===null?this.inertDocumentHelper.getInertBodyElement(e):(t.firstChild?.remove(),t)}catch{return null}}},PS=class{defaultDoc;inertDocument;constructor(e){this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(e){let t=this.inertDocument.createElement("template");return t.innerHTML=qa(e),t}};function NS(){try{return!!new window.DOMParser().parseFromString(qa(""),"text/html")}catch{return!1}}var AS=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function jh(e){return e=String(e),e.match(AS)?e:"unsafe:"+e}function nr(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function zo(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var gv=nr("area,br,col,hr,img,wbr"),mv=nr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),_v=nr("rp,rt"),MS=zo(_v,mv),LS=zo(mv,nr("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")),VS=zo(_v,nr("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")),Pf=zo(gv,LS,VS,MS),vv=nr("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),jS=nr("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"),FS=nr("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"),BS=zo(vv,jS,FS),US=nr("script,style,template"),HS=class{sanitizedSomething=!1;buf=[];sanitizeChildren(e){let t=e.firstChild,n=!0,r=[];for(;t;){if(t.nodeType===Node.ELEMENT_NODE?n=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,n&&t.firstChild){r.push(t),t=qS(t);continue}for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let i=zS(t);if(i){t=i;break}t=r.pop()}}return this.buf.join("")}startElement(e){let t=Nf(e).toLowerCase();if(!Pf.hasOwnProperty(t))return this.sanitizedSomething=!0,!US.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);let n=e.attributes;for(let r=0;r<n.length;r++){let i=n.item(r),o=i.name,s=o.toLowerCase();if(!BS.hasOwnProperty(s)){this.sanitizedSomething=!0;continue}let a=i.value;vv[s]&&(a=jh(a)),this.buf.push(" ",o,'="',Af(a),'"')}return this.buf.push(">"),!0}endElement(e){let t=Nf(e).toLowerCase();Pf.hasOwnProperty(t)&&!gv.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(e){this.buf.push(Af(e))}};function $S(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function zS(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw yv(t);return t}function qS(e){let t=e.firstChild;if(t&&$S(e,t))throw yv(t);return t}function Nf(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function yv(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var WS=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ZS=/([^\#-~ |!])/g;function Af(e){return e.replace(/&/g,"&amp;").replace(WS,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(ZS,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var us;function bv(e,t){let n=null;try{us=us||kS(e);let r=t?String(t):"";n=us.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=us.getInertBodyElement(r)}while(r!==o);let s=new HS().sanitizeChildren(Mf(n)||n);return qa(s)}finally{if(n){let r=Mf(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function Mf(e){return"content"in e&&GS(e)?e.content:null}function GS(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var Un=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(Un||{});function ti(e){let t=wv();return t?Rf(t.sanitize(Un.HTML,e)||""):Tr(e,"HTML")?Rf(Hn(e)):bv(sv(),No(e))}function cn(e){let t=wv();return t?t.sanitize(Un.URL,e)||"":Tr(e,"URL")?Hn(e):jh(No(e))}function wv(){let e=ye();return e&&e[Yn].sanitizer}var YS=/^>|^->|<!--|-->|--!>|<!-$/g,KS=/(<|>)/g,JS="\u200B$1\u200B";function XS(e){return e.replace(YS,t=>t.replace(KS,JS))}function QS(e,t,n){let r=e.length;for(;;){let i=e.indexOf(t,n);if(i===-1)return i;if(i===0||e.charCodeAt(i-1)<=32){let o=t.length;if(i+o===r||e.charCodeAt(i+o)<=32)return i}n=i+1}}var xv="ng-template";function eC(e,t,n,r){let i=0;if(r){for(;i<t.length&&typeof t[i]=="string";i+=2)if(t[i]==="class"&&QS(t[i+1].toLowerCase(),n,0)!==-1)return!0}else if(Fh(e))return!1;if(i=t.indexOf(1,i),i>-1){let o;for(;++i<t.length&&typeof(o=t[i])=="string";)if(o.toLowerCase()===n)return!0}return!1}function Fh(e){return e.type===4&&e.value!==xv}function tC(e,t,n){let r=e.type===4&&!n?xv:e.value;return t===r}function nC(e,t,n){let r=4,i=e.attrs,o=i!==null?oC(i):0,s=!1;for(let a=0;a<t.length;a++){let l=t[a];if(typeof l=="number"){if(!s&&!dn(r)&&!dn(l))return!1;if(s&&dn(l))continue;s=!1,r=l|r&1;continue}if(!s)if(r&4){if(r=2|r&1,l!==""&&!tC(e,l,n)||l===""&&t.length===1){if(dn(r))return!1;s=!0}}else if(r&8){if(i===null||!eC(e,i,l,n)){if(dn(r))return!1;s=!0}}else{let u=t[++a],d=rC(l,i,Fh(e),n);if(d===-1){if(dn(r))return!1;s=!0;continue}if(u!==""){let h;if(d>o?h="":h=i[d+1].toLowerCase(),r&2&&u!==h){if(dn(r))return!1;s=!0}}}}return dn(r)||s}function dn(e){return(e&1)===0}function rC(e,t,n,r){if(t===null)return-1;let i=0;if(r||!n){let o=!1;for(;i<t.length;){let s=t[i];if(s===e)return i;if(s===3||s===6)o=!0;else if(s===1||s===2){let a=t[++i];for(;typeof a=="string";)a=t[++i];continue}else{if(s===4)break;if(s===0){i+=4;continue}}i+=o?1:2}return-1}else return sC(t,e)}function iC(e,t,n=!1){for(let r=0;r<t.length;r++)if(nC(e,t[r],n))return!0;return!1}function oC(e){for(let t=0;t<e.length;t++){let n=e[t];if(bE(n))return t}return e.length}function sC(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){let r=e[n];if(typeof r=="number")return-1;if(r===t)return n;n++}return-1}function Lf(e,t){return e?":not("+t.trim()+")":t}function aC(e){let t=e[0],n=1,r=2,i="",o=!1;for(;n<e.length;){let s=e[n];if(typeof s=="string")if(r&2){let a=e[++n];i+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?i+="."+s:r&4&&(i+=" "+s);else i!==""&&!dn(s)&&(t+=Lf(o,i),i=""),r=s,o=o||!dn(r);n++}return i!==""&&(t+=Lf(o,i)),t}function lC(e){return e.map(aC).join(",")}function cC(e){let t=[],n=[],r=1,i=2;for(;r<e.length;){let o=e[r];if(typeof o=="string")i===2?o!==""&&t.push(o,e[++r]):i===8&&n.push(o);else{if(!dn(i))break;i=o}r++}return n.length&&t.push(1,...n),t}var Tn={};function uC(e,t){return e.createText(t)}function hC(e,t,n){e.setValue(t,n)}function dC(e,t){return e.createComment(XS(t))}function Ev(e,t,n){return e.createElement(t,n)}function ia(e,t,n,r,i){e.insertBefore(t,n,r,i)}function Sv(e,t,n){e.appendChild(t,n)}function Vf(e,t,n,r,i){r!==null?ia(e,t,n,r,i):Sv(e,t,n)}function fC(e,t,n){e.removeChild(null,t,n)}function pC(e,t,n){e.setAttribute(t,"style",n)}function gC(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Cv(e,t,n){let{mergedAttrs:r,classes:i,styles:o}=n;r!==null&&yE(e,t,r),i!==null&&gC(e,t,i),o!==null&&pC(e,t,o)}function Bh(e,t,n,r,i,o,s,a,l,u,d){let h=ht+r,_=h+i,m=mC(h,_),b=typeof u=="function"?u():u;return m[ge]={type:e,blueprint:m,template:n,queries:null,viewQuery:a,declTNode:t,data:m.slice().fill(null,h),bindingStartIndex:h,expandoStartIndex:_,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:l,consts:b,incompleteFirstPass:!1,ssrId:d}}function mC(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:Tn);return n}function _C(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Bh(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Uh(e,t,n,r,i,o,s,a,l,u,d){let h=t.blueprint.slice();return h[Qn]=i,h[fe]=r|4|128|8|64|1024,(u!==null||e&&e[fe]&2048)&&(h[fe]|=2048),y_(h),h[Rt]=h[Pi]=e,h[ft]=n,h[Yn]=s||e&&e[Yn],h[_t]=a||e&&e[_t],h[mo]=l||e&&e[mo]||null,h[In]=o,h[Mo]=KE(),h[go]=d,h[u_]=u,h[wn]=t.type==2?e[wn]:h,h}function vC(e,t,n){let r=Vn(t,e),i=_C(n),o=e[Yn].rendererFactory,s=Hh(e,Uh(e,i,null,Iv(n),r,t,null,o.createRenderer(r,n),null,null,null));return e[t.index]=s}function Iv(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Tv(e,t,n,r){if(n===0)return-1;let i=t.length;for(let o=0;o<n;o++)t.push(r),e.blueprint.push(r),e.data.push(null);return i}function Hh(e,t){return e[_o]?e[vf][_n]=t:e[_o]=t,e[vf]=t,t}function Z(e=1){Dv(pt(),ye(),tr()+e,!1)}function Dv(e,t,n,r){if(!r)if((t[fe]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Os(t,i,n)}else{let i=e.preOrderHooks;i!==null&&ks(t,i,0,n)}Hr(n)}var Wa=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Wa||{});function Fc(e,t,n,r){let i=Ie(null);try{let[o,s,a]=e.inputs[n],l=null;(s&Wa.SignalBased)!==0&&(l=t[o][nn]),l!==null&&l.transformFn!==void 0?r=l.transformFn(r):a!==null&&(r=a.call(t,r)),e.setInput!==null?e.setInput(t,l,r,n,o):d_(t,l,o,r)}finally{Ie(i)}}function Ov(e,t,n,r,i){let o=tr(),s=r&2;try{Hr(-1),s&&t.length>ht&&Dv(e,t,ht,!1),ze(s?2:0,i),n(r,i)}finally{Hr(o),ze(s?3:1,i)}}function Za(e,t,n){SC(e,t,n),(n.flags&64)===64&&CC(e,t,n)}function $h(e,t,n=Vn){let r=t.localNames;if(r!==null){let i=t.index+1;for(let o=0;o<r.length;o+=2){let s=r[o+1],a=s===-1?n(t,e):e[s];e[i++]=a}}}function yC(e,t,n,r){let i=r.get(uS,cv)||n===$n.ShadowDom,o=e.selectRootElement(t,i);return bC(o),o}function bC(e){wC(e)}var wC=()=>null;function xC(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function kv(e,t,n,r,i,o,s,a){if(!a&&qh(t,e,n,r,i)){Ni(t)&&EC(n,t.index);return}if(t.type&3){let l=Vn(t,n);r=xC(r),i=s!=null?s(i,t.value||"",r):i,o.setProperty(l,r,i)}else t.type&12}function EC(e,t){let n=on(t,e);n[fe]&16||(n[fe]|=64)}function SC(e,t,n){let r=n.directiveStart,i=n.directiveEnd;Ni(n)&&vC(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||na(n,t);let o=n.initialInputs;for(let s=r;s<i;s++){let a=e.data[s],l=vo(t,e,s,n);if(An(l,t),o!==null&&OC(t,s-r,l,a,n,o),Ln(a)){let u=on(n.index,t);u[ft]=vo(t,e,s,n)}}}function CC(e,t,n){let r=n.directiveStart,i=n.directiveEnd,o=n.index,s=lE();try{Hr(o);for(let a=r;a<i;a++){let l=e.data[a],u=t[a];Oc(a),(l.hostBindings!==null||l.hostVars!==0||l.hostAttrs!==null)&&IC(l,u)}}finally{Hr(-1),Oc(s)}}function IC(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function zh(e,t){let n=e.directiveRegistry,r=null;if(n)for(let i=0;i<n.length;i++){let o=n[i];iC(t,o.selectors,!1)&&(r??=[],Ln(o)?r.unshift(o):r.push(o))}return r}function TC(e,t,n,r,i,o){let s=Vn(e,t);DC(t[_t],s,o,e.value,n,r,i)}function DC(e,t,n,r,i,o,s){if(o==null)e.removeAttribute(t,i,n);else{let a=s==null?No(o):s(o,r||"",i);e.setAttribute(t,i,a,n)}}function OC(e,t,n,r,i,o){let s=o[t];if(s!==null)for(let a=0;a<s.length;a+=2){let l=s[a],u=s[a+1];Fc(r,n,l,u)}}function Rv(e,t){let n=e[mo],r=n?n.get(Xr,null):null;r&&r.handleError(t)}function qh(e,t,n,r,i){let o=e.inputs?.[r],s=e.hostDirectiveInputs?.[r],a=!1;if(s)for(let l=0;l<s.length;l+=2){let u=s[l],d=s[l+1],h=t.data[u];Fc(h,n[u],d,i),a=!0}if(o)for(let l of o){let u=n[l],d=t.data[l];Fc(d,u,r,i),a=!0}return a}function kC(e,t){let n=on(t,e),r=n[ge];RC(r,n);let i=n[Qn];i!==null&&n[go]===null&&(n[go]=fv(i,n[mo])),ze(18),Wh(r,n,n[ft]),ze(19,n[ft])}function RC(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Wh(e,t,n){Sh(t);try{let r=e.viewQuery;r!==null&&jc(1,r,n);let i=e.template;i!==null&&Ov(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Kn]?.finishViewCreation(e),e.staticContentQueries&&pv(e,t),e.staticViewQueries&&jc(2,e.viewQuery,n);let o=e.components;o!==null&&PC(t,o)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[fe]&=-5,Ch()}}function PC(e,t){for(let n=0;n<t.length;n++)kC(e,t[n])}function Ga(e,t,n,r){let i=Ie(null);try{let o=t.tView,s=e[fe]&4096?4096:16,a=Uh(e,o,n,s,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[t.index];a[jr]=l;let u=e[Kn];return u!==null&&(a[Kn]=u.createEmbeddedView(o)),Wh(o,a,n),a}finally{Ie(i)}}function bo(e,t){return!t||t.firstChild===null||Q_(e)}var NC;function Zh(e,t){return NC(e,t)}var ur=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(ur||{});function Pv(e){return(e.flags&32)===32}function hi(e,t,n,r,i){if(r!=null){let o,s=!1;er(r)?o=r:zn(r)&&(s=!0,r=r[Qn]);let a=Gt(r);e===0&&n!==null?i==null?Sv(t,n,a):ia(t,n,a,i||null,!0):e===1&&n!==null?ia(t,n,a,i||null,!0):e===2?fC(t,a,s):e===3&&t.destroyNode(a),o!=null&&qC(t,e,o,n,i)}}function AC(e,t){Nv(e,t),t[Qn]=null,t[In]=null}function MC(e,t,n,r,i,o){r[Qn]=i,r[In]=t,Ja(e,r,n,1,i,o)}function Nv(e,t){t[Yn].changeDetectionScheduler?.notify(9),Ja(e,t,t[_t],2,null,null)}function LC(e){let t=e[_o];if(!t)return Ml(e[ge],e);for(;t;){let n=null;if(zn(t))n=t[_o];else{let r=t[kt];r&&(n=r)}if(!n){for(;t&&!t[_n]&&t!==e;)zn(t)&&Ml(t[ge],t),t=t[Rt];t===null&&(t=e),zn(t)&&Ml(t[ge],t),n=t&&t[_n]}t=n}}function Gh(e,t){let n=e[xi],r=n.indexOf(t);n.splice(r,1)}function Ya(e,t){if(Lo(t))return;let n=t[_t];n.destroyNode&&Ja(e,t,n,3,null,null),LC(t)}function Ml(e,t){if(Lo(t))return;let n=Ie(null);try{t[fe]&=-129,t[fe]|=256,t[Wt]&&Ro(t[Wt]),jC(e,t),VC(e,t),t[ge].type===1&&t[_t].destroy();let r=t[jr];if(r!==null&&er(t[Rt])){r!==t[Rt]&&Gh(r,t);let i=t[Kn];i!==null&&i.detachView(e)}Mc(t)}finally{Ie(n)}}function VC(e,t){let n=e.cleanup,r=t[Gs];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&&(t[Gs]=null);let i=t[fr];if(i!==null){t[fr]=null;for(let s=0;s<i.length;s++){let a=i[s];a()}}let o=t[Fr];if(o!==null){t[Fr]=null;for(let s of o)s.destroy()}}function jC(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let r=0;r<n.length;r+=2){let i=t[n[r]];if(!(i instanceof Fo)){let o=n[r+1];if(Array.isArray(o))for(let s=0;s<o.length;s+=2){let a=i[o[s]],l=o[s+1];ze(4,a,l);try{l.call(a)}finally{ze(5,a,l)}}else{ze(4,i,o);try{o.call(i)}finally{ze(5,i,o)}}}}}function FC(e,t,n){return BC(e,t.parent,n)}function BC(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[Qn];if(Ni(r)){let{encapsulation:i}=e.data[r.directiveStart+r.componentOffset];if(i===$n.None||i===$n.Emulated)return null}return Vn(r,n)}function UC(e,t,n){return $C(e,t,n)}function HC(e,t,n){return e.type&40?Vn(e,n):null}var $C=HC,jf;function Ka(e,t,n,r){let i=FC(e,r,t),o=t[_t],s=r.parent||t[In],a=UC(s,r,t);if(i!=null)if(Array.isArray(n))for(let l=0;l<n.length;l++)Vf(o,i,n[l],a,!1);else Vf(o,i,n,a,!1);jf!==void 0&&jf(o,r,t,n,i)}function Xi(e,t){if(t!==null){let n=t.type;if(n&3)return Vn(t,e);if(n&4)return Bc(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return Xi(e,r);{let i=e[t.index];return er(i)?Bc(-1,i):Gt(i)}}else{if(n&128)return Xi(e,t.next);if(n&32)return Zh(t,e)()||Gt(e[t.index]);{let r=Av(e,t);if(r!==null){if(Array.isArray(r))return r[0];let i=Ur(e[wn]);return Xi(i,r)}else return Xi(e,t.next)}}}return null}function Av(e,t){if(t!==null){let n=e[wn][In],r=t.projection;return n.projection[r]}return null}function Bc(e,t){let n=kt+e+1;if(n<t.length){let r=t[n],i=r[ge].firstChild;if(i!==null)return Xi(r,i)}return t[Br]}function Yh(e,t,n,r,i,o,s){for(;n!=null;){if(n.type===128){n=n.next;continue}let a=r[n.index],l=n.type;if(s&&t===0&&(a&&An(Gt(a),r),n.flags|=2),!Pv(n))if(l&8)Yh(e,t,n.child,r,i,o,!1),hi(t,e,i,a,o);else if(l&32){let u=Zh(n,r),d;for(;d=u();)hi(t,e,i,d,o);hi(t,e,i,a,o)}else l&16?zC(e,t,r,n,i,o):hi(t,e,i,a,o);n=s?n.projectionNext:n.next}}function Ja(e,t,n,r,i,o){Yh(n,r,e.firstChild,t,i,o,!1)}function zC(e,t,n,r,i,o){let s=n[wn],a=s[In].projection[r.projection];if(Array.isArray(a))for(let l=0;l<a.length;l++){let u=a[l];hi(t,e,i,u,o)}else{let l=a,u=s[Rt];Q_(r)&&(l.flags|=128),Yh(e,t,l,u,i,o,!0)}}function qC(e,t,n,r,i){let o=n[Br],s=Gt(n);o!==s&&hi(t,e,r,o,i);for(let a=kt;a<n.length;a++){let l=n[a];Ja(l[ge],l,e,t,r,o)}}function WC(e,t,n,r,i){if(t)i?e.addClass(n,r):e.removeClass(n,r);else{let o=r.indexOf("-")===-1?void 0:ur.DashCase;i==null?e.removeStyle(n,r,o):(typeof i=="string"&&i.endsWith("!important")&&(i=i.slice(0,-10),o|=ur.Important),e.setStyle(n,r,i,o))}}function oa(e,t,n,r,i=!1){for(;n!==null;){if(n.type===128){n=i?n.projectionNext:n.next;continue}let o=t[n.index];o!==null&&r.push(Gt(o)),er(o)&&ZC(o,r);let s=n.type;if(s&8)oa(e,t,n.child,r);else if(s&32){let a=Zh(n,t),l;for(;l=a();)r.push(l)}else if(s&16){let a=Av(t,n);if(Array.isArray(a))r.push(...a);else{let l=Ur(t[wn]);oa(l[ge],l,a,r,!0)}}n=i?n.projectionNext:n.next}return r}function ZC(e,t){for(let n=kt;n<e.length;n++){let r=e[n],i=r[ge].firstChild;i!==null&&oa(r[ge],r,i,t)}e[Br]!==e[Qn]&&t.push(e[Br])}function Mv(e){if(e[mi]!==null){for(let t of e[mi])t.impl.addSequence(t);e[mi].length=0}}var Lv=[];function GC(e){return e[Wt]??YC(e)}function YC(e){let t=Lv.pop()??Object.create(JC);return t.lView=e,t}function KC(e){e.lView[Wt]!==e&&(e.lView=null,Lv.push(e))}var JC=Ne(A({},Ri),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Ai(e.lView)},consumerOnSignalRead(){this.lView[Wt]=this}});function XC(e){let t=e[Wt]??Object.create(QC);return t.lView=e,t}var QC=Ne(A({},Ri),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=Ur(e.lView);for(;t&&!Vv(t[ge]);)t=Ur(t);t&&bh(t)},consumerOnSignalRead(){this.lView[Wt]=this}});function Vv(e){return e.type!==2}function jv(e){if(e[Fr]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[Fr])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[fe]&8192)}}var eI=100;function Fv(e,t=!0,n=0){let r=e[Yn].rendererFactory,i=!1;i||r.begin?.();try{tI(e,n)}catch(o){throw t&&Rv(e,o),o}finally{i||r.end?.()}}function tI(e,t){let n=I_();try{Js(!0),Uc(e,t);let r=0;for(;Ua(e);){if(r===eI)throw new De(103,!1);r++,Uc(e,1)}}finally{Js(n)}}function nI(e,t,n,r){if(Lo(t))return;let i=t[fe],o=!1,s=!1;Sh(t);let a=!0,l=null,u=null;o||(Vv(e)?(u=GC(t),l=co(u)):Fw()===null?(a=!1,u=XC(t),l=co(u)):t[Wt]&&(Ro(t[Wt]),t[Wt]=null));try{y_(t),oE(e.bindingStartIndex),n!==null&&Ov(e,t,n,2,r);let d=(i&3)===3;if(!o)if(d){let m=e.preOrderCheckHooks;m!==null&&Os(t,m,null)}else{let m=e.preOrderHooks;m!==null&&ks(t,m,0,null),Rl(t,0)}if(s||rI(t),jv(t),Bv(t,0),e.contentQueries!==null&&pv(e,t),!o)if(d){let m=e.contentCheckHooks;m!==null&&Os(t,m)}else{let m=e.contentHooks;m!==null&&ks(t,m,1),Rl(t,1)}oI(e,t);let h=e.components;h!==null&&Hv(t,h,0);let _=e.viewQuery;if(_!==null&&jc(2,_,r),!o)if(d){let m=e.viewCheckHooks;m!==null&&Os(t,m)}else{let m=e.viewHooks;m!==null&&ks(t,m,2),Rl(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Ds]){for(let m of t[Ds])m();t[Ds]=null}o||(Mv(t),t[fe]&=-73)}catch(d){throw o||Ai(t),d}finally{u!==null&&(Ia(u,l),a&&KC(u)),Ch()}}function Bv(e,t){for(let n=rv(e);n!==null;n=iv(n))for(let r=kt;r<n.length;r++){let i=n[r];Uv(i,t)}}function rI(e){for(let t=rv(e);t!==null;t=iv(t)){if(!(t[fe]&2))continue;let n=t[xi];for(let r=0;r<n.length;r++){let i=n[r];bh(i)}}}function iI(e,t,n){ze(18);let r=on(t,e);Uv(r,n),ze(19,r[ft])}function Uv(e,t){yh(e)&&Uc(e,t)}function Uc(e,t){let n=e[ge],r=e[fe],i=e[Wt],o=!!(t===0&&r&16);if(o||=!!(r&64&&t===0),o||=!!(r&1024),o||=!!(i?.dirty&&Ta(i)),o||=!1,i&&(i.dirty=!1),e[fe]&=-9217,o)nI(n,e,n.template,e[ft]);else if(r&8192){jv(e),Bv(e,1);let s=n.components;s!==null&&Hv(e,s,1),Mv(e)}}function Hv(e,t,n){for(let r=0;r<t.length;r++)iI(e,t[r],n)}function oI(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let r=0;r<n.length;r++){let i=n[r];if(i<0)Hr(~i);else{let o=i,s=n[++r],a=n[++r];aE(s,o);let l=t[o];ze(24,l),a(2,l),ze(25,l)}}}finally{Hr(-1)}}function Kh(e,t){let n=I_()?64:1088;for(e[Yn].changeDetectionScheduler?.notify(t);e;){e[fe]|=n;let r=Ur(e);if(Ks(e)&&!r)return e;e=r}return null}function $v(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function zv(e,t){let n=kt+t;if(n<e.length)return e[n]}function Xa(e,t,n,r=!0){let i=t[ge];if(sI(i,t,e,n),r){let s=Bc(n,e),a=t[_t],l=a.parentNode(e[Br]);l!==null&&MC(i,e[In],a,t,l,s)}let o=t[go];o!==null&&o.firstChild!==null&&(o.firstChild=null)}function qv(e,t){let n=wo(e,t);return n!==void 0&&Ya(n[ge],n),n}function wo(e,t){if(e.length<=kt)return;let n=kt+t,r=e[n];if(r){let i=r[jr];i!==null&&i!==e&&Gh(i,r),t>0&&(e[n-1][_n]=r[_n]);let o=Ws(e,kt+t);AC(r[ge],r);let s=o[Kn];s!==null&&s.detachView(o[ge]),r[Rt]=null,r[_n]=null,r[fe]&=-129}return r}function sI(e,t,n,r){let i=kt+r,o=n.length;r>0&&(n[i-1][_n]=t),r<o-kt?(t[_n]=n[i],Xm(n,kt+r,t)):(n.push(t),t[_n]=null),t[Rt]=n;let s=t[jr];s!==null&&n!==s&&Wv(s,t);let a=t[Kn];a!==null&&a.insertView(e),Tc(t),t[fe]|=128}function Wv(e,t){let n=e[xi],r=t[Rt];if(zn(r))e[fe]|=2;else{let i=r[Rt][wn];t[wn]!==i&&(e[fe]|=2)}n===null?e[xi]=[t]:n.push(t)}var xo=class{_lView;_cdRefInjectingView;notifyErrorHandler;_appRef=null;_attachedToViewContainer=!1;get rootNodes(){let e=this._lView,t=e[ge];return oa(t,e,t.firstChild,[])}constructor(e,t,n=!0){this._lView=e,this._cdRefInjectingView=t,this.notifyErrorHandler=n}get context(){return this._lView[ft]}get dirty(){return!!(this._lView[fe]&9280)||!!this._lView[Wt]?.dirty}set context(e){this._lView[ft]=e}get destroyed(){return Lo(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let e=this._lView[Rt];if(er(e)){let t=e[Ys],n=t?t.indexOf(this):-1;n>-1&&(wo(e,n),Ws(t,n))}this._attachedToViewContainer=!1}Ya(this._lView[ge],this._lView)}onDestroy(e){b_(this._lView,e)}markForCheck(){Kh(this._cdRefInjectingView||this._lView,4)}markForRefresh(){bh(this._cdRefInjectingView||this._lView)}detach(){this._lView[fe]&=-129}reattach(){Tc(this._lView),this._lView[fe]|=128}detectChanges(){this._lView[fe]|=1024,Fv(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new De(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let e=Ks(this._lView),t=this._lView[jr];t!==null&&!e&&Gh(t,this._lView),Nv(this._lView[ge],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new De(902,!1);this._appRef=e;let t=Ks(this._lView),n=this._lView[jr];n!==null&&!t&&Wv(n,this._lView),Tc(this._lView)}},Eo=(()=>{class e{static __NG_ELEMENT_ID__=cI}return e})(),aI=Eo,lI=class extends aI{_declarationLView;_declarationTContainer;elementRef;constructor(e,t,n){super(),this._declarationLView=e,this._declarationTContainer=t,this.elementRef=n}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,t){return this.createEmbeddedViewImpl(e,t)}createEmbeddedViewImpl(e,t,n){let r=Ga(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:t,dehydratedView:n});return new xo(r)}};function cI(){return Qa(Yt(),ye())}function Qa(e,t){return e.type&4?new lI(t,e,Mi(e,t)):null}function qo(e,t,n,r,i){let o=e.data[t];if(o===null)o=uI(e,t,n,r,i),sE()&&(o.flags|=32);else if(o.type&64){o.type=n,o.value=r,o.attrs=i;let s=iE();o.injectorIndex=s===null?-1:s.injectorIndex}return yr(o,!0),o}function uI(e,t,n,r,i){let o=E_(),s=xh(),a=s?o:o&&o.parent,l=e.data[t]=dI(e,a,n,t,r,i);return hI(e,l,o,s),l}function hI(e,t,n,r){e.firstChild===null&&(e.firstChild=t),n!==null&&(r?n.child==null&&t.parent!==null&&(n.child=t):n.next===null&&(n.next=t,t.prev=n))}function dI(e,t,n,r,i,o){let s=t?t.injectorIndex:-1,a=0;return tE()&&(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:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var H5=new RegExp(`^(\\d+)*(${cS}|${lS})*(.*)`),fI=()=>null;function So(e,t){return fI(e,t)}var pI=class{},Zv=class{},gI=class{resolveComponentFactory(e){throw Error(`No component factory found for ${mn(e)}.`)}},Wo=class{static NULL=new gI},Dn=class{},Jh=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>mI()}return e})();function mI(){let e=ye(),t=Yt(),n=on(t.index,e);return(zn(n)?n:e)[_t]}var _I=(()=>{class e{static \u0275prov=de({token:e,providedIn:"root",factory:()=>null})}return e})();function Hc(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,o=0;if(t!==null)for(let s=0;s<t.length;s++){let a=t[s];if(typeof a=="number")o=a;else if(o==1)i=bc(i,a);else if(o==2){let l=a,u=t[++s];r=bc(r,l+": "+u+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}function Et(e,t=Te.Default){let n=ye();if(n===null)return je(e,t);let r=Yt();return H_(r,n,At(e),t)}function Xh(e,t,n,r,i){let o=r===null?null:{"":-1},s=i(e,n);if(s!==null){let a,l=null,u=null,d=yI(s);d===null?a=s:[a,l,u]=d,xI(e,t,n,a,o,l,u)}o!==null&&r!==null&&vI(n,r,o)}function vI(e,t,n){let r=e.localNames=[];for(let i=0;i<t.length;i+=2){let o=n[t[i+1]];if(o==null)throw new De(-301,!1);r.push(t[i],o)}}function yI(e){let t=null,n=!1;for(let s=0;s<e.length;s++){let a=e[s];if(s===0&&Ln(a)&&(t=a),a.findHostDirectiveDefs!==null){n=!0;break}}if(!n)return null;let r=null,i=null,o=null;for(let s of e)s.findHostDirectiveDefs!==null&&(r??=[],i??=new Map,o??=new Map,bI(s,r,o,i)),s===t&&(r??=[],r.push(s));return r!==null?(r.push(...t===null?e:e.slice(1)),[r,i,o]):null}function bI(e,t,n,r){let i=t.length;e.findHostDirectiveDefs(e,t,r),n.set(e,[i,t.length-1])}function wI(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function xI(e,t,n,r,i,o,s){let a=r.length,l=!1;for(let _=0;_<a;_++){let m=r[_];!l&&Ln(m)&&(l=!0,wI(e,n,_)),Rc(na(n,t),e,m.type)}DI(n,e.data.length,a);for(let _=0;_<a;_++){let m=r[_];m.providersResolver&&m.providersResolver(m)}let u=!1,d=!1,h=Tv(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let _=0;_<a;_++){let m=r[_];if(n.mergedAttrs=Ei(n.mergedAttrs,m.hostAttrs),SI(e,n,t,h,m),TI(h,m,i),s!==null&&s.has(m)){let[S,N]=s.get(m);n.directiveToIndex.set(m.type,[h,S+n.directiveStart,N+n.directiveStart])}else(o===null||!o.has(m))&&n.directiveToIndex.set(m.type,h);m.contentQueries!==null&&(n.flags|=4),(m.hostBindings!==null||m.hostAttrs!==null||m.hostVars!==0)&&(n.flags|=64);let b=m.type.prototype;!u&&(b.ngOnChanges||b.ngOnInit||b.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),u=!0),!d&&(b.ngOnChanges||b.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),d=!0),h++}EI(e,n,o)}function EI(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let i=e.data[r];if(n===null||!n.has(i))Ff(0,t,i,r),Ff(1,t,i,r),Uf(t,r,!1);else{let o=n.get(i);Bf(0,t,o,r),Bf(1,t,o,r),Uf(t,r,!0)}}}function Ff(e,t,n,r){let i=e===0?n.inputs:n.outputs;for(let o in i)if(i.hasOwnProperty(o)){let s;e===0?s=t.inputs??={}:s=t.outputs??={},s[o]??=[],s[o].push(r),Gv(t,o)}}function Bf(e,t,n,r){let i=e===0?n.inputs:n.outputs;for(let o in i)if(i.hasOwnProperty(o)){let s=i[o],a;e===0?a=t.hostDirectiveInputs??={}:a=t.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,o),Gv(t,s)}}function Gv(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function Uf(e,t,n){let{attrs:r,inputs:i,hostDirectiveInputs:o}=e;if(r===null||!n&&i===null||n&&o===null||Fh(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let l=r[a];if(l===0){a+=4;continue}else if(l===5){a+=2;continue}else if(typeof l=="number")break;if(!n&&i.hasOwnProperty(l)){let u=i[l];for(let d of u)if(d===t){s??=[],s.push(l,r[a+1]);break}}else if(n&&o.hasOwnProperty(l)){let u=o[l];for(let d=0;d<u.length;d+=2)if(u[d]===t){s??=[],s.push(u[d+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function SI(e,t,n,r,i){e.data[r]=i;let o=i.factory||(i.factory=Mr(i.type,!0)),s=new Fo(o,Ln(i),Et);e.blueprint[r]=s,n[r]=s,CI(e,t,r,Tv(e,n,i.hostVars,Tn),i)}function CI(e,t,n,r,i){let o=i.hostBindings;if(o){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;II(s)!=a&&s.push(a),s.push(n,r,o)}}function II(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function TI(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Ln(t)&&(n[""]=e)}}function DI(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Yv(e,t,n,r,i,o,s,a){let l=t.consts,u=gr(l,s),d=qo(t,e,2,r,u);return o&&Xh(t,n,d,gr(l,a),i),d.mergedAttrs=Ei(d.mergedAttrs,d.attrs),d.attrs!==null&&Hc(d,d.attrs,!1),d.mergedAttrs!==null&&Hc(d,d.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,d),d}function Kv(e,t){Th(e,t),_h(t)&&e.queries.elementEnd(t)}var OI=class extends Wo{ngModule;constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){let t=Vr(e);return new Qh(t,this.ngModule)}};function kI(e){return Object.keys(e).map(t=>{let[n,r,i]=e[t],o={propName:n,templateName:t,isSignal:(r&Wa.SignalBased)!==0};return i&&(o.transform=i),o})}function RI(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function PI(e,t,n){let r=t instanceof Gn?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new xE(n,r):n}function NI(e){let t=e.get(Dn,null);if(t===null)throw new De(407,!1);let n=e.get(_I,null),r=e.get(Jr,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r}}function AI(e,t){let n=(e.selectors[0][0]||"div").toLowerCase();return Ev(t,n,n==="svg"?__:n==="math"?Wx:null)}var Qh=class extends Zv{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;get inputs(){return kI(this.componentDef.inputs)}get outputs(){return RI(this.componentDef.outputs)}constructor(e,t){super(),this.componentDef=e,this.ngModule=t,this.componentType=e.type,this.selector=lC(e.selectors),this.ngContentSelectors=e.ngContentSelectors??[],this.isBoundToModule=!!t}create(e,t,n,r){ze(22);let i=Ie(null);try{let o=this.componentDef,s=n?["ng-version","19.2.0"]:cC(this.componentDef.selectors[0]),a=Bh(0,null,null,1,0,null,null,null,null,[s],null),l=PI(o,r||this.ngModule,e),u=NI(l),d=u.rendererFactory.createRenderer(null,o),h=n?yC(d,n,o.encapsulation,l):AI(o,d),_=Uh(null,a,null,512|Iv(o),null,null,u,d,l,null,fv(h,l,!0));_[ht]=h,Sh(_);let m=null;try{let b=Yv(ht,a,_,"#host",()=>[this.componentDef],!0,0);h&&(Cv(d,h,b),An(h,_)),Za(a,_,b),Vh(a,b,_),Kv(a,b),t!==void 0&&LI(b,this.ngContentSelectors,t),m=on(b.index,_),_[ft]=m[ft],Wh(a,_,null)}catch(b){throw m!==null&&Mc(m),Mc(_),b}finally{ze(23),Ch()}return new MI(this.componentType,_)}finally{Ie(i)}}},MI=class extends pI{_rootLView;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(e,t){super(),this._rootLView=t,this._tNode=vh(t[ge],ht),this.location=Mi(this._tNode,t),this.instance=on(this._tNode.index,t)[ft],this.hostView=this.changeDetectorRef=new xo(t,void 0,!1),this.componentType=e}setInput(e,t){let n=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(e)&&Object.is(this.previousInputValues.get(e),t))return;let r=this._rootLView,i=qh(n,r[ge],r,e,t);this.previousInputValues.set(e,t);let o=on(n.index,r);Kh(o,1)}get injector(){return new io(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}};function LI(e,t,n){let r=e.projection=[];for(let i=0;i<t.length;i++){let o=n[i];r.push(o!=null&&o.length?Array.from(o):null)}}var Li=(()=>{class e{static __NG_ELEMENT_ID__=VI}return e})();function VI(){let e=Yt();return Xv(e,ye())}var jI=Li,Jv=class extends jI{_lContainer;_hostTNode;_hostLView;constructor(e,t,n){super(),this._lContainer=e,this._hostTNode=t,this._hostLView=n}get element(){return Mi(this._hostTNode,this._hostLView)}get injector(){return new io(this._hostTNode,this._hostLView)}get parentInjector(){let e=Dh(this._hostTNode,this._hostLView);if(L_(e)){let t=ea(e,this._hostLView),n=Qs(e),r=t[ge].data[n+8];return new io(r,t)}else return new io(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let t=Hf(this._lContainer);return t!==null&&t[e]||null}get length(){return this._lContainer.length-kt}createEmbeddedView(e,t,n){let r,i;typeof n=="number"?r=n:n!=null&&(r=n.index,i=n.injector);let o=So(this._lContainer,e.ssrId),s=e.createEmbeddedViewImpl(t||{},i,o);return this.insertImpl(s,r,bo(this._hostTNode,o)),s}createComponent(e,t,n,r,i){let o=e&&!Bx(e),s;if(o)s=t;else{let m=t||{};s=m.index,n=m.injector,r=m.projectableNodes,i=m.environmentInjector||m.ngModuleRef}let a=o?e:new Qh(Vr(e)),l=n||this.parentInjector;if(!i&&a.ngModule==null){let m=(o?l:this.parentInjector).get(Gn,null);m&&(i=m)}let u=Vr(a.componentType??{}),d=So(this._lContainer,u?.id??null),h=d?.firstChild??null,_=a.create(l,r,h,i);return this.insertImpl(_.hostView,s,bo(this._hostTNode,d)),_}insert(e,t){return this.insertImpl(e,t,!0)}insertImpl(e,t,n){let r=e._lView;if(Gx(r)){let s=this.indexOf(e);if(s!==-1)this.detach(s);else{let a=r[Rt],l=new Jv(a,a[In],a[Rt]);l.detach(l.indexOf(e))}}let i=this._adjustIndex(t),o=this._lContainer;return Xa(o,r,i,n),e.attachToViewContainerRef(),Xm(Ll(o),i,e),e}move(e,t){return this.insert(e,t)}indexOf(e){let t=Hf(this._lContainer);return t!==null?t.indexOf(e):-1}remove(e){let t=this._adjustIndex(e,-1),n=wo(this._lContainer,t);n&&(Ws(Ll(this._lContainer),t),Ya(n[ge],n))}detach(e){let t=this._adjustIndex(e,-1),n=wo(this._lContainer,t);return n&&Ws(Ll(this._lContainer),t)!=null?new xo(n):null}_adjustIndex(e,t=0){return e??this.length+t}};function Hf(e){return e[Ys]}function Ll(e){return e[Ys]||(e[Ys]=[])}function Xv(e,t){let n,r=t[e.index];return er(r)?n=r:(n=$v(r,t,null,e),t[e.index]=n,Hh(t,n)),BI(n,t,e,r),new Jv(n,e,t)}function FI(e,t){let n=e[_t],r=n.createComment(""),i=Vn(t,e),o=n.parentNode(i);return ia(n,o,r,n.nextSibling(i),!1),r}var BI=$I,UI=()=>!1;function HI(e,t,n){return UI(e,t,n)}function $I(e,t,n,r){if(e[Br])return;let i;n.type&8?i=Gt(r):i=FI(t,n),e[Br]=i}var zI=class Qv{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new Qv(this.queryList)}setDirty(){this.queryList.setDirty()}},qI=class ey{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,i=[];for(let o=0;o<r;o++){let s=n.getByIndex(o),a=this.queries[s.indexInDeclarationView];i.push(a.clone())}return new ey(i)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)ed(t,n).matches!==null&&this.queries[n].setDirty()}},WI=class{flags;read;predicate;constructor(e,t,n=null){this.flags=t,this.read=n,typeof e=="string"?this.predicate=nT(e):this.predicate=e}},ZI=class ty{queries;constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){let i=n!==null?n.length:0,o=this.getByIndex(r).embeddedTView(t,i);o&&(o.indexInDeclarationView=r,n!==null?n.push(o):n=[o])}return n!==null?new ty(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}},GI=class ny{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(t,n=-1){this.metadata=t,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new ny(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let n=this._declarationNodeIndex,r=t.parent;for(;r!==null&&r.type&8&&r.index!==n;)r=r.parent;return n===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){let r=this.metadata.predicate;if(Array.isArray(r))for(let i=0;i<r.length;i++){let o=r[i];this.matchTNodeWithReadOption(t,n,YI(n,o)),this.matchTNodeWithReadOption(t,n,Rs(n,t,o,!1,!1))}else r===Eo?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Rs(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let i=this.metadata.read;if(i!==null)if(i===$t||i===Li||i===Eo&&n.type&4)this.addMatch(n.index,-2);else{let o=Rs(n,t,i,!1,!1);o!==null&&this.addMatch(n.index,o)}else this.addMatch(n.index,r)}}addMatch(t,n){this.matches===null?this.matches=[t,n]:this.matches.push(t,n)}};function YI(e,t){let n=e.localNames;if(n!==null){for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1]}return null}function KI(e,t){return e.type&11?Mi(e,t):e.type&4?Qa(e,t):null}function JI(e,t,n,r){return n===-1?KI(t,e):n===-2?XI(e,t,r):vo(e,e[ge],n,t)}function XI(e,t,n){if(n===$t)return Mi(t,e);if(n===Eo)return Qa(t,e);if(n===Li)return Xv(t,e)}function ry(e,t,n,r){let i=t[Kn].queries[r];if(i.matches===null){let o=e.data,s=n.matches,a=[];for(let l=0;s!==null&&l<s.length;l+=2){let u=s[l];if(u<0)a.push(null);else{let d=o[u];a.push(JI(t,d,s[l+1],n.metadata.read))}}i.matches=a}return i.matches}function $c(e,t,n,r){let i=e.queries.getByIndex(n),o=i.matches;if(o!==null){let s=ry(e,t,i,n);for(let a=0;a<o.length;a+=2){let l=o[a];if(l>0)r.push(s[a/2]);else{let u=o[a+1],d=t[-l];for(let h=kt;h<d.length;h++){let _=d[h];_[jr]===_[Rt]&&$c(_[ge],_,u,r)}if(d[xi]!==null){let h=d[xi];for(let _=0;_<h.length;_++){let m=h[_];$c(m[ge],m,u,r)}}}}}return r}function QI(e,t){return e[Kn].queries[t].queryList}function eT(e,t,n){let r=new GE((n&4)===4);return Jx(e,t,r,r.destroy),(t[Kn]??=new qI).queries.push(new zI(r))-1}function tT(e,t,n){let r=pt();return r.firstCreatePass&&(rT(r,new WI(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),eT(r,ye(),t)}function nT(e){return e.split(",").map(t=>t.trim())}function rT(e,t,n){e.queries===null&&(e.queries=new ZI),e.queries.track(new GI(t,n))}function ed(e,t){return e.queries.getByIndex(t)}function iT(e,t){let n=e[ge],r=ed(n,t);return r.crossesNgTemplate?$c(n,e,t,[]):ry(n,e,r,t)}var Co=class{},iy=class extends Co{injector;componentFactoryResolver=new OI(this);instance=null;constructor(e){super();let t=new mh([...e.providers,{provide:Co,useValue:this},{provide:Wo,useValue:this.componentFactoryResolver}],e.parent||Va(),e.debugName,new Set(["environment"]));this.injector=t,e.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function oT(e,t,n=null){return new iy({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var sT=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=i_(!1,n.type),i=r.length>0?oT([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=de({token:e,providedIn:"environment",factory:()=>new e(je(Gn))})}return e})();function Pt(e){return Po(()=>{let t=oy(e),n=Ne(A({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===ev.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?i=>i.get(sT).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||$n.Emulated,styles:e.styles||Mt,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&Qr("NgStandalone"),sy(n);let r=e.dependencies;return n.directiveDefs=$f(r,!1),n.pipeDefs=$f(r,!0),n.id=hT(n),n})}function aT(e){return Vr(e)||n_(e)}function lT(e){return e!==null}function td(e){return Po(()=>({type:e.type,bootstrap:e.bootstrap||Mt,declarations:e.declarations||Mt,imports:e.imports||Mt,exports:e.exports||Mt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function cT(e,t){if(e==null)return Lr;let n={};for(let r in e)if(e.hasOwnProperty(r)){let i=e[r],o,s,a,l;Array.isArray(i)?(a=i[0],o=i[1],s=i[2]??o,l=i[3]||null):(o=i,s=i,a=Wa.None,l=null),n[o]=[r,a,l],t[o]=s}return n}function uT(e){if(e==null)return Lr;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function Zo(e){return Po(()=>{let t=oy(e);return sy(t),t})}function nd(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function oy(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||Lr,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||Mt,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:cT(e.inputs,t),outputs:uT(e.outputs),debugInfo:null}}function sy(e){e.features?.forEach(t=>t(e))}function $f(e,t){if(!e)return null;let n=t?r_:aT;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(lT)}function hT(e){let t=0,n=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let i of r.join("|"))t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function dT(e){return Object.getPrototypeOf(e.prototype).constructor}function br(e){let t=dT(e.type),n=!0,r=[e];for(;t;){let i;if(Ln(e))i=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new De(903,!1);i=t.\u0275dir}if(i){if(n){r.push(i);let s=e;s.inputs=Vl(e.inputs),s.declaredInputs=Vl(e.declaredInputs),s.outputs=Vl(e.outputs);let a=i.hostBindings;a&&_T(e,a);let l=i.viewQuery,u=i.contentQueries;if(l&&gT(e,l),u&&mT(e,u),fT(e,i),ix(e.outputs,i.outputs),Ln(i)&&i.data.animation){let d=e.data;d.animation=(d.animation||[]).concat(i.data.animation)}}let o=i.features;if(o)for(let s=0;s<o.length;s++){let a=o[s];a&&a.ngInherit&&a(e),a===br&&(n=!1)}}t=Object.getPrototypeOf(t)}pT(r)}function fT(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let r=t.inputs[n];r!==void 0&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n])}}function pT(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){let i=e[r];i.hostVars=t+=i.hostVars,i.hostAttrs=Ei(i.hostAttrs,n=Ei(n,i.hostAttrs))}}function Vl(e){return e===Lr?{}:e===Mt?[]:e}function gT(e,t){let n=e.viewQuery;n?e.viewQuery=(r,i)=>{t(r,i),n(r,i)}:e.viewQuery=t}function mT(e,t){let n=e.contentQueries;n?e.contentQueries=(r,i,o)=>{t(r,i,o),n(r,i,o)}:e.contentQueries=t}function _T(e,t){let n=e.hostBindings;n?e.hostBindings=(r,i)=>{t(r,i),n(r,i)}:e.hostBindings=t}function ay(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function rd(e,t,n){return e[t]=n}function xn(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function ly(e,t,n,r){let i=xn(e,t,n);return xn(e,t+1,r)||i}function vT(e,t,n,r,i){let o=ly(e,t,n,r);return xn(e,t+2,i)||o}function yT(e,t,n,r,i,o,s,a,l){let u=t.consts,d=qo(t,e,4,s||null,a||null);wh()&&Xh(t,n,d,gr(u,l),zh),d.mergedAttrs=Ei(d.mergedAttrs,d.attrs),Th(t,d);let h=d.tView=Bh(2,d,r,i,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,u,null);return t.queries!==null&&(t.queries.template(t,d),h.queries=t.queries.embeddedTView(d)),d}function zc(e,t,n,r,i,o,s,a,l,u){let d=n+ht,h=t.firstCreatePass?yT(d,t,e,r,i,o,s,a,l):t.data[d];yr(h,!1);let _=bT(t,e,h,n);Ha()&&Ka(t,e,_,h),An(_,e);let m=$v(_,e,_,h);return e[d]=m,Hh(e,m),HI(m,h,e),Fa(h)&&Za(t,e,h),l!=null&&$h(e,h,u),h}function nt(e,t,n,r,i,o,s,a){let l=ye(),u=pt(),d=gr(u.consts,o);return zc(l,u,e,t,n,r,i,d,s,a),nt}var bT=wT;function wT(e,t,n,r){return $a(!0),t[_t].createComment("")}var xT=new Ee(""),cy=(()=>{class e{static \u0275prov=de({token:e,providedIn:"root",factory:()=>new uy})}return e})(),uy=class{queuedEffectCount=0;queues=new Map;schedule(e){this.enqueue(e)}remove(e){let t=e.zone,n=this.queues.get(t);n.has(e)&&(n.delete(e),this.queuedEffectCount--)}enqueue(e){let t=e.zone;this.queues.has(t)||this.queues.set(t,new Set);let n=this.queues.get(t);n.has(e)||(this.queuedEffectCount++,n.add(e))}flush(){for(;this.queuedEffectCount>0;)for(let[e,t]of this.queues)e===null?this.flushQueue(t):e.run(()=>this.flushQueue(t))}flushQueue(e){for(let t of e)e.delete(t),this.queuedEffectCount--,t.run()}};function hy(e){return!!e&&typeof e.then=="function"}function ET(e){return!!e&&typeof e.subscribe=="function"}var ST=new Ee(""),dy=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=R(ST,{optional:!0})??[];injector=R(Tt);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let i of this.appInits){let o=l_(this.injector,i);if(hy(o))n.push(o);else if(ET(o)){let s=new Promise((a,l)=>{o.subscribe({complete:a,error:l})});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||e)};static \u0275prov=de({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),CT=new Ee("");function IT(){qw(()=>{throw new De(600,!1)})}function TT(e){return e.isBoundToModule}var DT=10,_r=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=R(UE);afterRenderManager=R(uv);zonelessEnabled=R(Oh);rootEffectScheduler=R(cy);dirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new ve;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=R(Uo).hasPendingTasks.pipe(Na(n=>!n));constructor(){R(Ho,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:i=>{i&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=R(Gn);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){ze(10);let i=n instanceof Zv;if(!this._injector.get(dy).done){let h=!i&&Tx(n),_=!1;throw new De(405,_)}let o;i?o=n:o=this._injector.get(Wo).resolveComponentFactory(n),this.componentTypes.push(o.componentType);let s=TT(o)?void 0:this._injector.get(Co),a=r||o.selector,l=o.create(Tt.NULL,[],a,s),u=l.location.nativeElement,d=l.injector.get(xT,null);return d?.registerApplication(u),l.onDestroy(()=>{this.detachView(l.hostView),Ps(this.components,l),d?.unregisterApplication(u)}),this._loadComponent(l),ze(11,l),l}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){ze(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(Mh.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new De(101,!1);let n=Ie(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,Ie(n),this.afterTick.next(),ze(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Dn,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<DT;)ze(14),this.synchronizeOnce(),ze(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)OT(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})=>Ua(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;Ps(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(CT,[]).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),()=>Ps(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new De(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||e)};static \u0275prov=de({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Ps(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function OT(e,t,n,r){!n&&!Ua(e)||Fv(e,t,n&&!r?0:1)}function Go(e,t,n,r){let i=ye(),o=jo();if(xn(i,o,t)){let s=pt(),a=Ih();TC(a,i,e,t,n,r)}return Go}function id(e,t,n,r){return xn(e,jo(),n)?t+No(n)+r:Tn}function hs(e,t){return e<<17|t<<2}function $r(e){return e>>17&32767}function kT(e){return(e&2)==2}function RT(e,t){return e&131071|t<<17}function qc(e){return e|2}function Si(e){return(e&131068)>>2}function jl(e,t){return e&-131069|t<<2}function PT(e){return(e&1)===1}function Wc(e){return e|1}function NT(e,t,n,r,i,o){let s=o?t.classBindings:t.styleBindings,a=$r(s),l=Si(s);e[r]=n;let u=!1,d;if(Array.isArray(n)){let h=n;d=h[1],(d===null||Ao(h,d)>0)&&(u=!0)}else d=n;if(i)if(l!==0){let h=$r(e[a+1]);e[r+1]=hs(h,a),h!==0&&(e[h+1]=jl(e[h+1],r)),e[a+1]=RT(e[a+1],r)}else e[r+1]=hs(a,0),a!==0&&(e[a+1]=jl(e[a+1],r)),a=r;else e[r+1]=hs(l,0),a===0?a=r:e[l+1]=jl(e[l+1],r),l=r;u&&(e[r+1]=qc(e[r+1])),zf(e,d,r,!0),zf(e,d,r,!1),AT(t,d,e,r,o),s=hs(a,l),o?t.classBindings=s:t.styleBindings=s}function AT(e,t,n,r,i){let o=i?e.residualClasses:e.residualStyles;o!=null&&typeof t=="string"&&Ao(o,t)>=0&&(n[r+1]=Wc(n[r+1]))}function zf(e,t,n,r){let i=e[n+1],o=t===null,s=r?$r(i):Si(i),a=!1;for(;s!==0&&(a===!1||o);){let l=e[s],u=e[s+1];MT(l,t)&&(a=!0,e[s+1]=r?Wc(u):qc(u)),s=r?$r(u):Si(u)}a&&(e[n+1]=r?qc(i):Wc(i))}function MT(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Ao(e,t)>=0:!1}var fn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function LT(e){return e.substring(fn.key,fn.keyEnd)}function VT(e){return jT(e),fy(e,py(e,0,fn.textEnd))}function fy(e,t){let n=fn.textEnd;return n===t?-1:(t=fn.keyEnd=FT(e,fn.key=t,n),py(e,t,n))}function jT(e){fn.key=0,fn.keyEnd=0,fn.value=0,fn.valueEnd=0,fn.textEnd=e.length}function py(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function FT(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function Pe(e,t,n){let r=ye(),i=jo();if(xn(r,i,t)){let o=pt(),s=Ih();kv(o,s,r,e,t,r[_t],n,!1)}return Pe}function Zc(e,t,n,r,i){qh(t,e,n,i?"class":"style",r)}function el(e,t,n){return my(e,t,n,!1),el}function Yo(e,t){return my(e,t,null,!0),Yo}function BT(e){_y(WT,gy,e,!0)}function gy(e,t){for(let n=VT(t);n>=0;n=fy(t,n))La(e,LT(t),!0)}function my(e,t,n,r){let i=ye(),o=pt(),s=T_(2);if(o.firstUpdatePass&&yy(o,e,s,r),t!==Tn&&xn(i,s,t)){let a=o.data[tr()];by(o,a,i,i[_t],e,i[s+1]=GT(t,n),r,s)}}function _y(e,t,n,r){let i=pt(),o=T_(2);i.firstUpdatePass&&yy(i,null,o,r);let s=ye();if(n!==Tn&&xn(s,o,n)){let a=i.data[tr()];if(wy(a,r)&&!vy(i,o)){let l=r?a.classesWithoutHost:a.stylesWithoutHost;l!==null&&(n=bc(l,n||"")),Zc(i,a,s,n,r)}else ZT(i,a,s,s[_t],s[o+1],s[o+1]=qT(e,t,n),r,o)}}function vy(e,t){return t>=e.expandoStartIndex}function yy(e,t,n,r){let i=e.data;if(i[n+1]===null){let o=i[tr()],s=vy(e,n);wy(o,r)&&t===null&&!s&&(t=!1),t=UT(i,o,t,r),NT(i,o,t,n,s,r)}}function UT(e,t,n,r){let i=cE(e),o=r?t.residualClasses:t.residualStyles;if(i===null)(r?t.classBindings:t.styleBindings)===0&&(n=Fl(null,e,t,n,r),n=Io(n,t.attrs,r),o=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==i)if(n=Fl(i,e,t,n,r),o===null){let a=HT(e,t,r);a!==void 0&&Array.isArray(a)&&(a=Fl(null,e,t,a[1],r),a=Io(a,t.attrs,r),$T(e,t,r,a))}else o=zT(e,t,r)}return o!==void 0&&(r?t.residualClasses=o:t.residualStyles=o),n}function HT(e,t,n){let r=n?t.classBindings:t.styleBindings;if(Si(r)!==0)return e[$r(r)]}function $T(e,t,n,r){let i=n?t.classBindings:t.styleBindings;e[$r(i)]=r}function zT(e,t,n){let r,i=t.directiveEnd;for(let o=1+t.directiveStylingLast;o<i;o++){let s=e[o].hostAttrs;r=Io(r,s,n)}return Io(r,t.attrs,n)}function Fl(e,t,n,r,i){let o=null,s=n.directiveEnd,a=n.directiveStylingLast;for(a===-1?a=n.directiveStart:a++;a<s&&(o=t[a],r=Io(r,o.hostAttrs,i),o!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function Io(e,t,n){let r=n?1:2,i=-1;if(t!==null)for(let o=0;o<t.length;o++){let s=t[o];typeof s=="number"?i=s:i===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),La(e,s,n?!0:t[++o]))}return e===void 0?null:e}function qT(e,t,n){if(n==null||n==="")return Mt;let r=[],i=Hn(n);if(Array.isArray(i))for(let o=0;o<i.length;o++)e(r,i[o],!0);else if(typeof i=="object")for(let o in i)i.hasOwnProperty(o)&&e(r,o,i[o]);else typeof i=="string"&&t(r,i);return r}function WT(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&La(e,r,n)}function ZT(e,t,n,r,i,o,s,a){i===Tn&&(i=Mt);let l=0,u=0,d=0<i.length?i[0]:null,h=0<o.length?o[0]:null;for(;d!==null||h!==null;){let _=l<i.length?i[l+1]:void 0,m=u<o.length?o[u+1]:void 0,b=null,S;d===h?(l+=2,u+=2,_!==m&&(b=h,S=m)):h===null||d!==null&&d<h?(l+=2,b=d):(u+=2,b=h,S=m),b!==null&&by(e,t,n,r,b,S,s,a),d=l<i.length?i[l]:null,h=u<o.length?o[u]:null}}function by(e,t,n,r,i,o,s,a){if(!(t.type&3))return;let l=e.data,u=l[a+1],d=PT(u)?qf(l,t,n,i,Si(u),s):void 0;if(!sa(d)){sa(o)||kT(u)&&(o=qf(l,null,n,i,a,s));let h=v_(tr(),n);WC(r,s,h,i,o)}}function qf(e,t,n,r,i,o){let s=t===null,a;for(;i>0;){let l=e[i],u=Array.isArray(l),d=u?l[1]:l,h=d===null,_=n[i+1];_===Tn&&(_=h?Mt:void 0);let m=h?Ol(_,r):d===r?_:void 0;if(u&&!sa(m)&&(m=Ol(l,r)),sa(m)&&(a=m,s))return a;let b=e[i+1];i=s?$r(b):Si(b)}if(t!==null){let l=o?t.residualClasses:t.residualStyles;l!=null&&(a=Ol(l,r))}return a}function sa(e){return e!==void 0}function GT(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=mn(Hn(e)))),e}function wy(e,t){return(e.flags&(t?8:16))!==0}function YT(e,t,n){let r=ye(),i=id(r,e,t,n);_y(La,gy,i,!0)}var KT=class{destroy(e){}updateValue(e,t){}swap(e,t){let n=Math.min(e,t),r=Math.max(e,t),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(e,t){this.attach(t,this.detach(e))}};function Bl(e,t,n,r,i){return e===n&&Object.is(t,r)?1:Object.is(i(e,t),i(n,r))?-1:0}function JT(e,t,n){let r,i,o=0,s=e.length-1,a;if(Array.isArray(t)){let l=t.length-1;for(;o<=s&&o<=l;){let u=e.at(o),d=t[o],h=Bl(o,u,o,d,n);if(h!==0){h<0&&e.updateValue(o,d),o++;continue}let _=e.at(s),m=t[l],b=Bl(s,_,l,m,n);if(b!==0){b<0&&e.updateValue(s,m),s--,l--;continue}let S=n(o,u),N=n(s,_),P=n(o,d);if(Object.is(P,N)){let z=n(l,m);Object.is(z,S)?(e.swap(o,s),e.updateValue(s,m),l--,s--):e.move(s,o),e.updateValue(o,d),o++;continue}if(r??=new Gf,i??=Zf(e,o,s,n),Gc(e,r,o,P))e.updateValue(o,d),o++,s++;else if(i.has(P))r.set(S,e.detach(o)),s--;else{let z=e.create(o,t[o]);e.attach(o,z),o++,s++}}for(;o<=l;)Wf(e,r,n,o,t[o]),o++}else if(t!=null){let l=t[Symbol.iterator](),u=l.next();for(;!u.done&&o<=s;){let d=e.at(o),h=u.value,_=Bl(o,d,o,h,n);if(_!==0)_<0&&e.updateValue(o,h),o++,u=l.next();else{r??=new Gf,i??=Zf(e,o,s,n);let m=n(o,h);if(Gc(e,r,o,m))e.updateValue(o,h),o++,s++,u=l.next();else if(!i.has(m))e.attach(o,e.create(o,h)),o++,s++,u=l.next();else{let b=n(o,d);r.set(b,e.detach(o)),s--}}}for(;!u.done;)Wf(e,r,n,e.length,u.value),u=l.next()}for(;o<=s;)e.destroy(e.detach(s--));r?.forEach(l=>{e.destroy(l)})}function Gc(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Wf(e,t,n,r,i){if(Gc(e,t,r,n(r,i)))e.updateValue(r,i);else{let o=e.create(r,i);e.attach(r,o)}}function Zf(e,t,n,r){let i=new Set;for(let o=t;o<=n;o++)i.add(r(o,e.at(o)));return i}var Gf=class{kvMap=new Map;_vMap=void 0;has(e){return this.kvMap.has(e)}delete(e){if(!this.has(e))return!1;let t=this.kvMap.get(e);return this._vMap!==void 0&&this._vMap.has(t)?(this.kvMap.set(e,this._vMap.get(t)),this._vMap.delete(t)):this.kvMap.delete(e),!0}get(e){return this.kvMap.get(e)}set(e,t){if(this.kvMap.has(e)){let n=this.kvMap.get(e);this._vMap===void 0&&(this._vMap=new Map);let r=this._vMap;for(;r.has(n);)n=r.get(n);r.set(n,t)}else this.kvMap.set(e,t)}forEach(e){for(let[t,n]of this.kvMap)if(e(n,t),this._vMap!==void 0){let r=this._vMap;for(;r.has(n);)n=r.get(n),e(n,t)}}};function tt(e,t){Qr("NgControlFlow");let n=ye(),r=jo(),i=n[r]!==Tn?n[r]:-1,o=i!==-1?aa(n,ht+i):void 0,s=0;if(xn(n,r,e)){let a=Ie(null);try{if(o!==void 0&&qv(o,s),e!==-1){let l=ht+e,u=aa(n,l),d=Yc(n[ge],l),h=So(u,d.tView.ssrId),_=Ga(n,d,t,{dehydratedView:h});Xa(u,_,s,bo(d,h))}}finally{Ie(a)}}else if(o!==void 0){let a=zv(o,s);a!==void 0&&(a[ft]=t)}}var XT=class{lContainer;$implicit;$index;constructor(e,t,n){this.lContainer=e,this.$implicit=t,this.$index=n}get $count(){return this.lContainer.length-kt}};function Vi(e,t){return t}var QT=class{hasEmptyBlock;trackByFn;liveCollection;constructor(e,t,n){this.hasEmptyBlock=e,this.trackByFn=t,this.liveCollection=n}};function Lt(e,t,n,r,i,o,s,a,l,u,d,h,_){Qr("NgControlFlow");let m=ye(),b=pt(),S=l!==void 0,N=ye(),P=a?s.bind(N[wn][ft]):s,z=new QT(S,P);N[ht+e]=z,zc(m,b,e+1,t,n,r,i,gr(b.consts,o)),S&&zc(m,b,e+2,l,u,d,h,gr(b.consts,_))}var eD=class extends KT{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(e,t,n){super(),this.lContainer=e,this.hostLView=t,this.templateTNode=n}get length(){return this.lContainer.length-kt}at(e){return this.getLView(e)[ft].$implicit}attach(e,t){let n=t[go];this.needsIndexUpdate||=e!==this.length,Xa(this.lContainer,t,e,bo(this.templateTNode,n))}detach(e){return this.needsIndexUpdate||=e!==this.length-1,tD(this.lContainer,e)}create(e,t){let n=So(this.lContainer,this.templateTNode.tView.ssrId),r=Ga(this.hostLView,this.templateTNode,new XT(this.lContainer,t,e),{dehydratedView:n});return this.operationsCounter?.recordCreate(),r}destroy(e){Ya(e[ge],e),this.operationsCounter?.recordDestroy()}updateValue(e,t){this.getLView(e)[ft].$implicit=t}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let e=0;e<this.length;e++)this.getLView(e)[ft].$index=e}getLView(e){return nD(this.lContainer,e)}};function Vt(e){let t=Ie(null),n=tr();try{let r=ye(),i=r[ge],o=r[n],s=n+1,a=aa(r,s);if(o.liveCollection===void 0){let u=Yc(i,s);o.liveCollection=new eD(a,r,u)}else o.liveCollection.reset();let l=o.liveCollection;if(JT(l,e,o.trackByFn),l.updateIndexes(),o.hasEmptyBlock){let u=jo(),d=l.length===0;if(xn(r,u,d)){let h=n+2,_=aa(r,h);if(d){let m=Yc(i,h),b=So(_,m.tView.ssrId),S=Ga(r,m,void 0,{dehydratedView:b});Xa(_,S,0,bo(m,b))}else qv(_,0)}}}finally{Ie(t)}}function aa(e,t){return e[t]}function tD(e,t){return wo(e,t)}function nD(e,t){return zv(e,t)}function Yc(e,t){return vh(e,t)}function G(e,t,n,r){let i=ye(),o=pt(),s=ht+e,a=i[_t],l=o.firstCreatePass?Yv(s,o,i,t,zh,wh(),n,r):o.data[s],u=rD(o,i,l,a,t,e);i[s]=u;let d=Fa(l);return yr(l,!0),Cv(a,u,l),!Pv(l)&&Ha()&&Ka(o,i,u,l),(Xx()===0||d)&&An(u,i),Qx(),d&&(Za(o,i,l),Vh(o,l,i)),r!==null&&$h(i,l),G}function Y(){let e=Yt();xh()?S_():(e=e.parent,yr(e,!1));let t=e;nE(t)&&rE(),eE();let n=pt();return n.firstCreatePass&&Kv(n,t),t.classesWithoutHost!=null&&_E(t)&&Zc(n,t,ye(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&vE(t)&&Zc(n,t,ye(),t.stylesWithoutHost,!1),Y}function Ue(e,t,n,r){return G(e,t,n,r),Y(),Ue}var rD=(e,t,n,r,i,o)=>($a(!0),Ev(r,i,fE()));function iD(e,t,n,r,i){let o=t.consts,s=gr(o,r),a=qo(t,e,8,"ng-container",s);s!==null&&Hc(a,s,!0);let l=gr(o,i);return wh()&&Xh(t,n,a,l,zh),a.mergedAttrs=Ei(a.mergedAttrs,a.attrs),t.queries!==null&&t.queries.elementStart(t,a),a}function xy(e,t,n){let r=ye(),i=pt(),o=e+ht,s=i.firstCreatePass?iD(o,i,r,t,n):i.data[o];yr(s,!0);let a=oD(i,r,s,e);return r[o]=a,Ha()&&Ka(i,r,a,s),An(a,r),Fa(s)&&(Za(i,r,s),Vh(i,s,r)),n!=null&&$h(r,s),xy}function Ey(){let e=Yt(),t=pt();return xh()?S_():(e=e.parent,yr(e,!1)),t.firstCreatePass&&(Th(t,e),_h(e)&&t.queries.elementEnd(e)),Ey}function od(e,t,n){return xy(e,t,n),Ey(),od}var oD=(e,t,n,r)=>($a(!0),dC(t[_t],""));function jt(){return ye()}var la="en-US",sD=la;function aD(e){typeof e=="string"&&(sD=e.toLowerCase().replace(/_/g,"-"))}var lD=(e,t,n)=>{};function ot(e,t,n,r){let i=ye(),o=pt(),s=Yt();return uD(o,i,i[_t],s,e,t,r),ot}function cD(e,t,n,r){let i=e.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=t[Gs],l=i[o+2];return a.length>l?a[l]:null}typeof s=="string"&&(o+=2)}return null}function uD(e,t,n,r,i,o,s){let a=Fa(r),l=e.firstCreatePass?x_(e):null,u=t[ft],d=w_(t),h=!0;if(r.type&3||s){let _=Vn(r,t),m=s?s(_):_,b=d.length,S=s?P=>s(Gt(P[r.index])):r.index,N=null;if(!s&&a&&(N=cD(e,t,i,r.index)),N!==null){let P=N.__ngLastListenerFn__||N;P.__ngNextListenerFn__=o,N.__ngLastListenerFn__=o,h=!1}else{o=Jf(r,t,u,o),lD(_,i,o);let P=n.listen(m,i,o);d.push(o,P),l&&l.push(i,S,b,b+1)}}else o=Jf(r,t,u,o);if(h){let _=r.outputs?.[i],m=r.hostDirectiveOutputs?.[i];if(m&&m.length)for(let b=0;b<m.length;b+=2){let S=m[b],N=m[b+1];Yf(r,e,t,S,N,i,o,d,l)}if(_&&_.length)for(let b of _)Yf(r,e,t,b,i,i,o,d,l)}}function Yf(e,t,n,r,i,o,s,a,l){let u=n[r],d=t.data[r].outputs[i],h=u[d].subscribe(s),_=a.length;a.push(s,h),l&&l.push(o,e.index,_,-(_+1))}function Kf(e,t,n,r){let i=Ie(null);try{return ze(6,t,n),n(r)!==!1}catch(o){return Rv(e,o),!1}finally{ze(7,t,n),Ie(i)}}function Jf(e,t,n,r){return function i(o){if(o===Function)return r;let s=Ni(e)?on(e.index,t):t;Kh(s,5);let a=Kf(t,n,r,o),l=i.__ngNextListenerFn__;for(;l;)a=Kf(t,n,l,o)&&a,l=l.__ngNextListenerFn__;return a}}function Q(e=1){return hE(e)}function ji(e,t,n){return Sy(e,"",t,"",n),ji}function Sy(e,t,n,r,i){let o=ye(),s=id(o,t,n,r);if(s!==Tn){let a=pt(),l=Ih();kv(a,l,o,e,s,o[_t],i,!1)}return Sy}function ca(e,t,n){tT(e,t,n)}function ua(e){let t=ye(),n=pt(),r=D_();Eh(r+1);let i=ed(n,r);if(e.dirty&&Zx(t)===((i.metadata.flags&2)===2)){if(i.matches===null)e.reset([]);else{let o=iT(t,r);e.reset(o,qE),e.notifyOnChanges()}return!0}return!1}function ha(){return QI(ye(),D_())}function sd(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function qn(e){let t=C_();return Ba(t,ht+e)}function Ye(e,t=""){let n=ye(),r=pt(),i=e+ht,o=r.firstCreatePass?qo(r,i,1,t,null):r.data[i],s=hD(r,n,o,t,e);n[i]=s,Ha()&&Ka(r,n,s,o),yr(o,!1)}var hD=(e,t,n,r,i)=>($a(!0),uC(t[_t],r));function Fi(e){return En("",e,""),Fi}function En(e,t,n){let r=ye(),i=id(r,e,t,n);return i!==Tn&&dD(r,tr(),i),En}function dD(e,t,n){let r=v_(t,e);hC(e[_t],r,n)}var Cy={};function jn(e){let t=pt(),n=ye(),r=e+ht,i=qo(t,r,128,null,null);return yr(i,!1),sd(t,n,r,Cy),jn}function zr(e){Qr("NgLet");let t=pt(),n=ye(),r=tr();return sd(t,n,r,e),e}function rn(e){let t=C_(),n=Ba(t,ht+e);if(n===Cy)throw new De(314,!1);return n}function fD(e,t,n){let r=pt();if(r.firstCreatePass){let i=Ln(e);Kc(n,r.data,r.blueprint,i,!0),Kc(t,r.data,r.blueprint,i,!1)}}function Kc(e,t,n,r,i){if(e=At(e),Array.isArray(e))for(let o=0;o<e.length;o++)Kc(e[o],t,n,r,i);else{let o=pt(),s=ye(),a=Yt(),l=wi(e)?e:At(e.provide),u=a_(e),d=a.providerIndexes&1048575,h=a.directiveStart,_=a.providerIndexes>>20;if(wi(e)||!e.multi){let m=new Fo(u,i,Et),b=Hl(l,t,i?d:d+_,h);b===-1?(Rc(na(a,s),o,l),Ul(o,e,t.length),t.push(l),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),n.push(m),s.push(m)):(n[b]=m,s[b]=m)}else{let m=Hl(l,t,d+_,h),b=Hl(l,t,d,d+_),S=m>=0&&n[m],N=b>=0&&n[b];if(i&&!N||!i&&!S){Rc(na(a,s),o,l);let P=mD(i?gD:pD,n.length,i,r,u);!i&&N&&(n[b].providerFactory=P),Ul(o,e,t.length,0),t.push(l),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),n.push(P),s.push(P)}else{let P=Iy(n[i?b:m],u,!i&&r);Ul(o,e,m>-1?m:b,P)}!i&&r&&N&&n[b].componentProviders++}}}function Ul(e,t,n,r){let i=wi(t),o=Nx(t);if(i||o){let s=(o?At(t.useClass):t).prototype.ngOnDestroy;if(s){let a=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){let l=a.indexOf(n);l===-1?a.push(n,[r,s]):a[l+1].push(r,s)}else a.push(n,s)}}}function Iy(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Hl(e,t,n,r){for(let i=n;i<r;i++)if(t[i]===e)return i;return-1}function pD(e,t,n,r){return Jc(this.multi,[])}function gD(e,t,n,r){let i=this.multi,o;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=vo(n,n[ge],this.providerFactory.index,r);o=a.slice(0,s),Jc(i,o);for(let l=s;l<a.length;l++)o.push(a[l])}else o=[],Jc(i,o);return o}function Jc(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function mD(e,t,n,r,i){let o=new Fo(e,n,Et);return o.multi=[],o.index=t,o.componentProviders=0,Iy(o,i,r&&!n),o}function _D(e,t=[]){return n=>{n.providersResolver=(r,i)=>fD(r,i?i(e):e,t)}}function Ty(e,t,n,r){return Dy(ye(),Vo(),e,t,n,r)}function vD(e,t,n,r,i){return Oy(ye(),Vo(),e,t,n,r,i)}function yD(e,t,n,r,i,o){return bD(ye(),Vo(),e,t,n,r,i,o)}function ad(e,t){let n=e[t];return n===Tn?void 0:n}function Dy(e,t,n,r,i,o){let s=t+n;return xn(e,s,i)?rd(e,s+1,o?r.call(o,i):r(i)):ad(e,s+1)}function Oy(e,t,n,r,i,o,s){let a=t+n;return ly(e,a,i,o)?rd(e,a+2,s?r.call(s,i,o):r(i,o)):ad(e,a+2)}function bD(e,t,n,r,i,o,s,a){let l=t+n;return vT(e,l,i,o,s)?rd(e,l+3,a?r.call(a,i,o,s):r(i,o,s)):ad(e,l+3)}function sn(e,t){let n=pt(),r,i=e+ht;n.firstCreatePass?(r=wD(t,n.pipeRegistry),n.data[i]=r,r.onDestroy&&(n.destroyHooks??=[]).push(i,r.onDestroy)):r=n.data[i];let o=r.factory||(r.factory=Mr(r.type,!0)),s,a=Bt(Et);try{let l=ta(!1),u=o();return ta(l),sd(n,ye(),i,u),u}finally{Bt(a)}}function wD(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function Sn(e,t,n){let r=e+ht,i=ye(),o=Ba(i,r);return ky(i,r)?Dy(i,Vo(),t,o.transform,n,o):o.transform(n)}function xD(e,t,n,r){let i=e+ht,o=ye(),s=Ba(o,i);return ky(o,i)?Oy(o,Vo(),t,s.transform,n,r,s):s.transform(n,r)}function ky(e,t){return e[ge].data[t].pure}function ED(e,t){return Qa(e,t)}var SD=class{full;major;minor;patch;constructor(e){this.full=e;let t=e.split(".");this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(".")}},Xf=new SD("19.2.0"),CD=(()=>{class e{zone=R(Ge);changeDetectionScheduler=R(Jr);applicationRef=R(_r);_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||e)};static \u0275prov=de({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function ID({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new Ge(Ne(A({},TD()),{scheduleInRootZone:n})),[{provide:Ge,useFactory:e},{provide:Zs,multi:!0,useFactory:()=>{let r=R(CD,{optional:!0});return()=>r.initialize()}},{provide:Zs,multi:!0,useFactory:()=>{let r=R(DD);return()=>{r.initialize()}}},t===!0?{provide:Y_,useValue:!0}:[],{provide:kh,useValue:n??Z_}]}function TD(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var DD=(()=>{class e{subscription=new bt;initialized=!1;zone=R(Ge);pendingTasks=R(Uo);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(()=>{Ge.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Ge.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(n){return new(n||e)};static \u0275prov=de({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Ry=(()=>{class e{appRef=R(_r);taskService=R(Uo);ngZone=R(Ge);zonelessEnabled=R(Oh);tracing=R(Ho,{optional:!0});disableScheduling=R(Y_,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new bt;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(ra):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(R(kh,{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 J_||!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?Sf:K_;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(ra+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,Sf(()=>{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||e)};static \u0275prov=de({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function OD(){return Qr("NgZoneless"),Dx([{provide:Jr,useExisting:Ry},{provide:Ge,useClass:J_},{provide:Oh,useValue:!0},{provide:kh,useValue:!1},[]])}function kD(){return typeof $localize<"u"&&$localize.locale||la}var Py=new Ee("",{providedIn:"root",factory:()=>R(Py,Te.Optional|Te.SkipSelf)||kD()}),Xc=new Ee(""),RD=new Ee("");function qi(e){return!e.moduleRef}function PD(e){let t=qi(e)?e.r3Injector:e.moduleRef.injector,n=t.get(Ge);return n.run(()=>{qi(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(Xr,null),i;if(n.runOutsideAngular(()=>{i=n.onError.subscribe({next:o=>{r.handleError(o)}})}),qi(e)){let o=()=>t.destroy(),s=e.platformInjector.get(Xc);s.add(o),t.onDestroy(()=>{i.unsubscribe(),s.delete(o)})}else{let o=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Xc);s.add(o),e.moduleRef.onDestroy(()=>{Ps(e.allPlatformModules,e.moduleRef),i.unsubscribe(),s.delete(o)})}return AD(r,n,()=>{let o=t.get(dy);return o.runInitializers(),o.donePromise.then(()=>{let s=t.get(Py,la);if(aD(s||la),!t.get(RD,!0))return qi(e)?t.get(_r):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(qi(e)){let a=t.get(_r);return e.rootComponent!==void 0&&a.bootstrap(e.rootComponent),a}else return ND(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function ND(e,t){let n=e.injector.get(_r);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new De(-403,!1);t.push(e)}function AD(e,t,n){try{let r=n();return hy(r)?r.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var Ns=null;function MD(e=[],t){return Tt.create({name:t,providers:[{provide:gh,useValue:"platform"},{provide:Xc,useValue:new Set([()=>Ns=null])},...e]})}function LD(e=[]){if(Ns)return Ns;let t=MD(e);return Ns=t,IT(),VD(t),t}function VD(e){let t=e.get(av,null);l_(e,()=>{t?.forEach(n=>n())})}var Ko=(()=>{class e{static __NG_ELEMENT_ID__=jD}return e})();function jD(e){return FD(Yt(),ye(),(e&16)===16)}function FD(e,t,n){if(Ni(e)&&!n){let r=on(e.index,t);return new xo(r,r)}else if(e.type&175){let r=t[wn];return new xo(r,t)}return null}var BD=class{constructor(){}supports(e){return e instanceof Map||ay(e)}create(){return new UD}},UD=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;_removalsTail=null;get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(e){let t;for(t=this._mapHead;t!==null;t=t._next)e(t)}forEachPreviousItem(e){let t;for(t=this._previousMapHead;t!==null;t=t._nextPrevious)e(t)}forEachChangedItem(e){let t;for(t=this._changesHead;t!==null;t=t._nextChanged)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;t!==null;t=t._nextAdded)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;t!==null;t=t._nextRemoved)e(t)}diff(e){if(!e)e=new Map;else if(!(e instanceof Map||ay(e)))throw new De(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(e,(n,r)=>{if(t&&t.key===r)this._maybeAddToChanges(t,n),this._appendAfter=t,t=t._next;else{let i=this._getOrCreateRecordForKey(r,n);t=this._insertBeforeOrAppend(t,i)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let n=t;n!==null;n=n._nextRemoved)n===this._mapHead&&(this._mapHead=null),this._records.delete(n.key),n._nextRemoved=n._next,n.previousValue=n.currentValue,n.currentValue=null,n._prev=null,n._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){let n=e._prev;return t._next=e,t._prev=n,e._prev=t,n&&(n._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(e,t){if(this._records.has(e)){let r=this._records.get(e);this._maybeAddToChanges(r,t);let i=r._prev,o=r._next;return i&&(i._next=o),o&&(o._prev=i),r._next=null,r._prev=null,r}let n=new HD(e);return this._records.set(e,n),n.currentValue=t,this._addToAdditions(n),n}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;e!==null;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;e!=null;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,t){Object.is(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}_addToAdditions(e){this._additionsHead===null?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){this._changesHead===null?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(n=>t(e[n],n))}},HD=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(e){this.key=e}};function Qf(){return new Ny([new BD])}var Ny=(()=>{class e{static \u0275prov=de({token:e,providedIn:"root",factory:Qf});factories;constructor(n){this.factories=n}static create(n,r){if(r){let i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Qf()),deps:[[e,new xx,new wx]]}}find(n){let r=this.factories.find(i=>i.supports(n));if(r)return r;throw new De(901,!1)}}return e})();function $D(e){ze(8);try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,i=LD(r),o=[ID({}),{provide:Jr,useExisting:Ry},...n||[]],s=new iy({providers:o,parent:i,debugName:"",runEnvironmentInitializers:!1});return PD({r3Injector:s.injector,platformInjector:i,rootComponent:t})}catch(t){return Promise.reject(t)}finally{ze(9)}}function zD(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function qD(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function WD(e){let t=Ie(null);try{return e()}finally{Ie(t)}}function ep(e,t){let n=Hw(e);return t?.equal&&(n[nn].equal=t.equal),n}var ZD=!1,GD=(()=>{class e extends uy{pendingTasks=R(Uo);taskId=null;schedule(n){super.schedule(n),this.taskId===null&&(this.taskId=this.pendingTasks.add(),queueMicrotask(()=>this.flush()))}flush(){try{super.flush()}finally{this.taskId!==null&&(this.pendingTasks.remove(this.taskId),this.taskId=null)}}static \u0275prov=de({token:e,providedIn:"root",factory:()=>new e})}return e})(),YD=class{scheduler;effectFn;zone;injector;unregisterOnDestroy;watcher;constructor(e,t,n,r,i,o){this.scheduler=e,this.effectFn=t,this.zone=n,this.injector=i,this.watcher=Kw(s=>this.runEffect(s),()=>this.schedule(),o),this.unregisterOnDestroy=r?.onDestroy(()=>this.destroy())}runEffect(e){try{this.effectFn(e)}catch(t){this.injector.get(Xr,null,{optional:!0})?.handleError(t)}}run(){this.watcher.run()}schedule(){this.scheduler.schedule(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}};function KD(){}function JD(e,t){!t?.injector&&ja(KD);let n=t?.injector??R(Tt),r=t?.manualCleanup!==!0?n.get(Bo):null,i=new YD(n.get(GD),e,typeof Zone>"u"?null:Zone.current,r,n,t?.allowSignalWrites??!1),o=n.get(Ko,null,{optional:!0});return!o||!(o._lView[fe]&8)?i.watcher.notify():(o._lView[Ds]??=[]).push(i.watcher.notify),i}var XD=ZD,QD=class{[nn];constructor(e){this[nn]=e}destroy(){this[nn].destroy()}};function Qc(e,t){if(XD)return JD(e,t);!t?.injector&&ja(Qc);let n=t?.injector??R(Tt),r=t?.manualCleanup!==!0?n.get(Bo):null,i,o=n.get(Lh,null,{optional:!0}),s=n.get(Jr);return o!==null&&!t?.forceRoot?(i=n2(o.view,s,e),r instanceof G_&&r._lView===o.view&&(r=null)):i=r2(e,n.get(cy),s),i.injector=n,r!==null&&(i.onDestroyFn=r.onDestroy(()=>i.destroy())),new QD(i)}var Ay=Ne(A({},Ri),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:yo,run(){if(this.dirty=!1,this.hasRun&&!Ta(this))return;this.hasRun=!0;let e=r=>(this.cleanupFns??=[]).push(r),t=co(this),n=Js(!1);try{this.maybeCleanup(),this.fn(e)}finally{Js(n),Ia(this,t)}},maybeCleanup(){if(this.cleanupFns?.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),e2=Ne(A({},Ay),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){Ro(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),t2=Ne(A({},Ay),{consumerMarkedDirty(){this.view[fe]|=8192,Ai(this.view),this.notifier.notify(13)},destroy(){Ro(this),this.onDestroyFn(),this.maybeCleanup(),this.view[Fr]?.delete(this)}});function n2(e,t,n){let r=Object.create(t2);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=n,e[Fr]??=new Set,e[Fr].add(r),r.consumerMarkedDirty(r),r}function r2(e,t,n){let r=Object.create(e2);return r.fn=e,r.scheduler=t,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.schedule(r),r.notifier.notify(12),r}function My(e,t){let n=Vr(e),r=t.elementInjector||Va();return new Qh(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector)}var i2={schedule(e,t){let n=setTimeout(e,t);return()=>clearTimeout(n)}};function o2(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}function s2(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}var $l;function a2(e,t){if(!$l){let n=Element.prototype;$l=n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE?$l.call(e,t):!1}function l2(e){let t={};return e.forEach(({propName:n,templateName:r,transform:i})=>{t[o2(r)]=[n,i]}),t}function c2(e,t){return t.get(Wo).resolveComponentFactory(e).inputs}function u2(e,t){let n=e.childNodes,r=t.map(()=>[]),i=-1;t.some((o,s)=>o==="*"?(i=s,!0):!1);for(let o=0,s=n.length;o<s;++o){let a=n[o],l=h2(a,t,i);l!==-1&&r[l].push(a)}return r}function h2(e,t,n){let r=n;return s2(e)&&t.some((i,o)=>i!=="*"&&a2(e,i)?(r=o,!0):!1),r}var d2=10,f2=class{componentFactory;inputMap=new Map;constructor(e,t){this.componentFactory=t.get(Wo).resolveComponentFactory(e);for(let n of this.componentFactory.inputs)this.inputMap.set(n.propName,n.templateName)}create(e){return new p2(this.componentFactory,e,this.inputMap)}},p2=class{componentFactory;injector;inputMap;eventEmitters=new d1(1);events=this.eventEmitters.pipe(jm(e=>Aa(...e)));componentRef=null;scheduledDestroyFn=null;initialInputValues=new Map;ngZone;elementZone;appRef;cdScheduler;constructor(e,t,n){this.componentFactory=e,this.injector=t,this.inputMap=n,this.ngZone=this.injector.get(Ge),this.appRef=this.injector.get(_r),this.cdScheduler=t.get(Jr),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(e){this.runInZone(()=>{if(this.scheduledDestroyFn!==null){this.scheduledDestroyFn(),this.scheduledDestroyFn=null;return}this.componentRef===null&&this.initializeComponent(e)})}disconnect(){this.runInZone(()=>{this.componentRef===null||this.scheduledDestroyFn!==null||(this.scheduledDestroyFn=i2.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null)},d2))})}getInputValue(e){return this.runInZone(()=>this.componentRef===null?this.initialInputValues.get(e):this.componentRef.instance[e])}setInputValue(e,t){if(this.componentRef===null){this.initialInputValues.set(e,t);return}this.runInZone(()=>{this.componentRef.setInput(this.inputMap.get(e)??e,t),this.componentRef.hostView.dirty&&(this.componentRef.changeDetectorRef.markForRefresh(),this.cdScheduler.notify(6))})}initializeComponent(e){let t=Tt.create({providers:[],parent:this.injector}),n=u2(e,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(t,n,e),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.appRef.attachView(this.componentRef.hostView),this.componentRef.hostView.detectChanges()}initializeInputs(){for(let[e,t]of this.initialInputValues)this.setInputValue(e,t);this.initialInputValues.clear()}initializeOutputs(e){let t=this.componentFactory.outputs.map(({propName:n,templateName:r})=>{let i=e.instance[n];return new wt(o=>{let s=i.subscribe(a=>o.next({name:r,value:a}));return()=>s.unsubscribe()})});this.eventEmitters.next(t)}runInZone(e){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(e):e()}},g2=class extends HTMLElement{ngElementEventsSubscription=null};function m2(e,t){let n=c2(e,t.injector),r=t.strategyFactory||new f2(e,t.injector),i=l2(n);class o extends g2{injector;static observedAttributes=Object.keys(i);get ngElementStrategy(){if(!this._ngElementStrategy){let a=this._ngElementStrategy=r.create(this.injector||t.injector);n.forEach(({propName:l,transform:u})=>{if(!this.hasOwnProperty(l))return;let d=this[l];delete this[l],a.setInputValue(l,d,u)})}return this._ngElementStrategy}_ngElementStrategy;constructor(a){super(),this.injector=a}attributeChangedCallback(a,l,u,d){let[h,_]=i[a];this.ngElementStrategy.setInputValue(h,u,_)}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 l=new CustomEvent(a.name,{detail:a.value});this.dispatchEvent(l)})}}return n.forEach(({propName:s,transform:a})=>{Object.defineProperty(o.prototype,s,{get(){return this.ngElementStrategy.getInputValue(s)},set(l){this.ngElementStrategy.setInputValue(s,l,a)},configurable:!0,enumerable:!0})}),o}var Ly=null;function oo(){return Ly}function _2(e){Ly??=e}var v2=class{},rt=new Ee(""),Vy=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(n){return new(n||e)};static \u0275prov=de({token:e,factory:()=>R(y2),providedIn:"platform"})}return e})(),y2=(()=>{class e extends Vy{_location;_history;_doc=R(rt);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return oo().getBaseHref(this._doc)}onPopState(n){let r=oo().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=oo().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,r,i){this._history.pushState(n,r,i)}replaceState(n,r,i){this._history.replaceState(n,r,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static \u0275fac=function(n){return new(n||e)};static \u0275prov=de({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function jy(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function tp(e){let t=e.search(/#|\?|$/);return e[t-1]==="/"?e.slice(0,t-1)+e.slice(t):e}function kr(e){return e&&e[0]!=="?"?`?${e}`:e}var ld=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(n){return new(n||e)};static \u0275prov=de({token:e,factory:()=>R(w2),providedIn:"root"})}return e})(),b2=new Ee(""),w2=(()=>{class e extends ld{_platformLocation;_baseHref;_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??R(rt).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return jy(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+kr(this._platformLocation.search),i=this._platformLocation.hash;return i&&n?`${r}${i}`:r}pushState(n,r,i,o){let s=this.prepareExternalUrl(i+kr(o));this._platformLocation.pushState(n,r,s)}replaceState(n,r,i,o){let s=this.prepareExternalUrl(i+kr(o));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static \u0275fac=function(n){return new(n||e)(je(Vy),je(b2,8))};static \u0275prov=de({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Fy=(()=>{class e{_subject=new ve;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=S2(tp(np(r))),this._locationStrategy.onPopState(i=>{this._subject.next({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+kr(r))}normalize(n){return e.stripTrailingSlash(E2(this._basePath,np(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",i=null){this._locationStrategy.pushState(i,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+kr(r)),i)}replaceState(n,r="",i=null){this._locationStrategy.replaceState(i,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+kr(r)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(i=>i(n,r))}subscribe(n,r,i){return this._subject.subscribe({next:n,error:r??void 0,complete:i??void 0})}static normalizeQueryParams=kr;static joinWithSlash=jy;static stripTrailingSlash=tp;static \u0275fac=function(n){return new(n||e)(je(ld))};static \u0275prov=de({token:e,factory:()=>x2(),providedIn:"root"})}return e})();function x2(){return new Fy(je(ld))}function E2(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function np(e){return e.replace(/\/index.html$/,"")}function S2(e){if(new RegExp("^(https?:)?//").test(e)){let[,t]=e.split(/\/\/[^\/]+/);return t}return e}function C2(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[i,o]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(i.trim()===t)return decodeURIComponent(o)}return null}var zl=/\s+/,rp=[],tl=(()=>{class e{_ngEl;_renderer;initialClasses=rp;rawClass;stateMap=new Map;constructor(n,r){this._ngEl=n,this._renderer=r}set klass(n){this.initialClasses=n!=null?n.trim().split(zl):rp}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(zl):n}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let r of n)this._updateState(r,!0);else if(n!=null)for(let r of Object.keys(n))this._updateState(r,!!n[r]);this._applyStateDiff()}_updateState(n,r){let i=this.stateMap.get(n);i!==void 0?(i.enabled!==r&&(i.changed=!0,i.enabled=r),i.touched=!0):this.stateMap.set(n,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let r=n[0],i=n[1];i.changed?(this._toggleClass(r,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),i.touched=!1}}_toggleClass(n,r){n=n.trim(),n.length>0&&n.split(zl).forEach(i=>{r?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}static \u0275fac=function(n){return new(n||e)(Et($t),Et(Jh))};static \u0275dir=Zo({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})(),I2=(()=>{class e{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(n,r,i){this._ngEl=n,this._differs=r,this._renderer=i}set ngStyle(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())}ngDoCheck(){if(this._differ){let n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}}_setStyle(n,r){let[i,o]=n.split("."),s=i.indexOf("-")===-1?void 0:ur.DashCase;r!=null?this._renderer.setStyle(this._ngEl.nativeElement,i,o?`${r}${o}`:r,s):this._renderer.removeStyle(this._ngEl.nativeElement,i,s)}_applyChanges(n){n.forEachRemovedItem(r=>this._setStyle(r.key,null)),n.forEachAddedItem(r=>this._setStyle(r.key,r.currentValue)),n.forEachChangedItem(r=>this._setStyle(r.key,r.currentValue))}static \u0275fac=function(n){return new(n||e)(Et($t),Et(Ny),Et(Jh))};static \u0275dir=Zo({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return e})(),T2=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(n){this._viewContainerRef=n}ngOnChanges(n){if(this._shouldRecreateView(n)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let i=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,i,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,r,i)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,i):!1,get:(n,r,i)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,i)}})}static \u0275fac=function(n){return new(n||e)(Et(Li))};static \u0275dir=Zo({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[f_]})}return e})(),D2=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275mod=td({type:e});static \u0275inj=uh({})}return e})(),By="browser",O2="server";function k2(e){return e===By}function Uy(e){return e===O2}var R2=class{},P2=class extends v2{supportsDOMEvents=!0},N2=class Hy extends P2{static makeCurrent(){_2(new Hy)}onAndCancel(t,n,r,i){return t.addEventListener(n,r,i),()=>{t.removeEventListener(n,r,i)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.remove()}createElement(t,n){return n=n||this.getDefaultDocument(),n.createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return n==="window"?window:n==="document"?t:n==="body"?t.body:null}getBaseHref(t){let n=A2();return n==null?null:M2(n)}resetBaseElement(){Qi=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return C2(document.cookie,t)}},Qi=null;function A2(){return Qi=Qi||document.querySelector("base"),Qi?Qi.getAttribute("href"):null}function M2(e){return new URL(e,document.baseURI).pathname}var L2=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(n){return new(n||e)};static \u0275prov=de({token:e,factory:e.\u0275fac})}return e})(),eu=new Ee(""),$y=(()=>{class e{_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 De(5101,!1);return this._eventNameToPlugin.set(n,r),r}static \u0275fac=function(n){return new(n||e)(je(eu),je(Ge))};static \u0275prov=de({token:e,factory:e.\u0275fac})}return e})(),zy=class{_doc;constructor(e){this._doc=e}manager},As="ng-app-id";function ip(e){for(let t of e)t.remove()}function op(e,t){let n=t.createElement("style");return n.textContent=e,n}function V2(e,t,n,r){let i=e.head?.querySelectorAll(`style[${As}="${t}"],link[${As}="${t}"]`);if(i)for(let o of i)o.removeAttribute(As),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 tu(e,t){let n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}var qy=(()=>{class e{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=Uy(o),V2(n,r,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,r){for(let i of n)this.addUsage(i,this.inline,op);r?.forEach(i=>this.addUsage(i,this.external,tu))}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&&(ip(i.elements),r.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])ip(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[r,{elements:i}]of this.inline)i.push(this.addElement(n,op(r,this.doc)));for(let[r,{elements:i}]of this.external)i.push(this.addElement(n,tu(r,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,r){return this.nonce&&r.setAttribute("nonce",this.nonce),this.isServer&&r.setAttribute(As,this.appId),n.appendChild(r)}static \u0275fac=function(n){return new(n||e)(je(rt),je(Ah),je(lv,8),je(za))};static \u0275prov=de({token:e,factory:e.\u0275fac})}return e})(),ql={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"},cd=/%COMP%/g,Wy="%COMP%",j2=`_nghost-${Wy}`,F2=`_ngcontent-${Wy}`,B2=!0,U2=new Ee("",{providedIn:"root",factory:()=>B2});function H2(e){return F2.replace(cd,e)}function $2(e){return j2.replace(cd,e)}function Zy(e,t){return t.map(n=>n.replace(cd,e))}var sp=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(n,r,i,o,s,a,l,u=null,d=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=i,this.removeStylesOnCompDestroy=o,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=u,this.tracingService=d,this.platformIsServer=Uy(a),this.defaultRenderer=new ud(n,s,l,this.platformIsServer,this.tracingService)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===$n.ShadowDom&&(r=Ne(A({},r),{encapsulation:$n.Emulated}));let i=this.getOrCreateRenderer(n,r);return i instanceof lp?i.applyToHost(n):i instanceof nu&&i.applyStyles(),i}getOrCreateRenderer(n,r){let i=this.rendererByCompId,o=i.get(r.id);if(!o){let s=this.doc,a=this.ngZone,l=this.eventManager,u=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,h=this.platformIsServer,_=this.tracingService;switch(r.encapsulation){case $n.Emulated:o=new lp(l,u,r,this.appId,d,s,a,h,_);break;case $n.ShadowDom:return new z2(l,u,n,r,s,a,this.nonce,h,_);default:o=new nu(l,u,r,d,s,a,h,_);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||e)(je($y),je(qy),je(Ah),je(U2),je(rt),je(za),je(Ge),je(lv),je(Ho,8))};static \u0275prov=de({token:e,factory:e.\u0275fac})}return e})(),ud=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(e,t,n,r,i){this.eventManager=e,this.doc=t,this.ngZone=n,this.platformIsServer=r,this.tracingService=i}destroy(){}destroyNode=null;createElement(e,t){return t?this.doc.createElementNS(ql[t]||t,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,t){(ap(e)?e.content:e).appendChild(t)}insertBefore(e,t,n){e&&(ap(e)?e.content:e).insertBefore(t,n)}removeChild(e,t){t.remove()}selectRootElement(e,t){let n=typeof e=="string"?this.doc.querySelector(e):e;if(!n)throw new De(-5104,!1);return t||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,n,r){if(r){t=r+":"+t;let i=ql[r];i?e.setAttributeNS(i,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}removeAttribute(e,t,n){if(n){let r=ql[n];r?e.removeAttributeNS(r,t):e.removeAttribute(`${n}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,n,r){r&(ur.DashCase|ur.Important)?e.style.setProperty(t,n,r&ur.Important?"important":""):e.style[t]=n}removeStyle(e,t,n){n&ur.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,n){e!=null&&(e[t]=n)}setValue(e,t){e.nodeValue=t}listen(e,t,n,r){if(typeof e=="string"&&(e=oo().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${t}`);let i=this.decoratePreventDefault(n);return this.tracingService!==null&&this.tracingService.wrapEventListener&&(i=this.tracingService.wrapEventListener(e,t,i)),this.eventManager.addEventListener(e,t,i,r)}decoratePreventDefault(e){return t=>{if(t==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(t)):e(t))===!1&&t.preventDefault()}}};function ap(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var z2=class extends ud{sharedStylesHost;hostEl;shadowRoot;constructor(e,t,n,r,i,o,s,a,l){super(e,i,o,a,l),this.sharedStylesHost=t,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=r.styles;u=Zy(r.id,u);for(let h of u){let _=document.createElement("style");s&&_.setAttribute("nonce",s),_.textContent=h,this.shadowRoot.appendChild(_)}let d=r.getExternalStyles?.();if(d)for(let h of d){let _=tu(h,i);s&&_.setAttribute("nonce",s),this.shadowRoot.appendChild(_)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,t){return super.appendChild(this.nodeOrShadowRoot(e),t)}insertBefore(e,t,n){return super.insertBefore(this.nodeOrShadowRoot(e),t,n)}removeChild(e,t){return super.removeChild(null,t)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},nu=class extends ud{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(e,t,n,r,i,o,s,a,l){super(e,i,o,s,a),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=r;let u=n.styles;this.styles=l?Zy(l,u):u,this.styleUrls=n.getExternalStyles?.(l)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},lp=class extends nu{contentAttr;hostAttr;constructor(e,t,n,r,i,o,s,a,l){let u=r+"-"+n.id;super(e,t,n,i,o,s,a,l,u),this.contentAttr=H2(u),this.hostAttr=$2(u)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,t){let n=super.createElement(e,t);return super.setAttribute(n,this.contentAttr,""),n}},q2=(()=>{class e extends zy{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||e)(je(rt))};static \u0275prov=de({token:e,factory:e.\u0275fac})}return e})(),cp=["alt","control","meta","shift"],W2={"\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"},Z2={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},G2=(()=>{class e extends zy{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,r,i,o){let s=e.parseEventName(r),a=e.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>oo().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=e._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),cp.forEach(u=>{let d=r.indexOf(u);d>-1&&(r.splice(d,1),s+=u+".")}),s+=o,r.length!=0||o.length===0)return null;let l={};return l.domEventName=i,l.fullKey=s,l}static matchEventFullKeyCode(n,r){let i=W2[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"),cp.forEach(s=>{if(s!==i){let a=Z2[s];a(n)&&(o+=s+".")}}),o+=i,o===r)}static eventCallback(n,r,i){return o=>{e.matchEventFullKeyCode(o,n)&&i.runGuarded(()=>r(o))}}static _normalizeKey(n){return n==="esc"?"escape":n}static \u0275fac=function(n){return new(n||e)(je(rt))};static \u0275prov=de({token:e,factory:e.\u0275fac})}return e})();function Y2(e){return $D(K2(e))}function K2(e){return{appProviders:[...tO,...e?.providers??[]],platformProviders:eO}}function J2(){N2.makeCurrent()}function X2(){return new Xr}function Q2(){return oS(document),document}var eO=[{provide:za,useValue:By},{provide:av,useValue:J2,multi:!0},{provide:rt,useFactory:Q2,deps:[]}],tO=[{provide:gh,useValue:"root"},{provide:Xr,useFactory:X2,deps:[]},{provide:eu,useClass:q2,multi:!0,deps:[rt]},{provide:eu,useClass:G2,multi:!0,deps:[rt]},sp,qy,$y,{provide:Dn,useExisting:sp},{provide:R2,useClass:L2,deps:[]},[]],Gy=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275prov=de({token:e,factory:function(n){let r=null;return n?r=new(n||e):r=je(nO),r},providedIn:"root"})}return e})(),nO=(()=>{class e extends Gy{_doc;constructor(n){super(),this._doc=n}sanitize(n,r){if(r==null)return null;switch(n){case Un.NONE:return r;case Un.HTML:return Tr(r,"HTML")?Hn(r):bv(this._doc,String(r)).toString();case Un.STYLE:return Tr(r,"Style")?Hn(r):r;case Un.SCRIPT:if(Tr(r,"Script"))return Hn(r);throw new De(5200,!1);case Un.URL:return Tr(r,"URL")?Hn(r):jh(String(r));case Un.RESOURCE_URL:if(Tr(r,"ResourceURL"))return Hn(r);throw new De(5201,!1);default:throw new De(5202,!1)}}bypassSecurityTrustHtml(n){return CS(n)}bypassSecurityTrustStyle(n){return IS(n)}bypassSecurityTrustScript(n){return TS(n)}bypassSecurityTrustUrl(n){return DS(n)}bypassSecurityTrustResourceUrl(n){return OS(n)}static \u0275fac=function(n){return new(n||e)(je(rt))};static \u0275prov=de({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),rO="9.12.1",St=class ru{static SDK_VERSION=rO;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_EXPERIMENT_START="CE Experiment Start";static EVENT_VIDEO_DIALOG_CLOSED="CE Video Dialog Closed";static EVENT_VIDEO_DIALOG_OPENED="CE Video Dialog Opened";static EVENT_VIDEO_CHANGE="CE Video Changed";static EVENT_LAST_VIDEO_ENDED="CE Last Video Ended";static EVENT_VIDEO_MUTED="CE Video Muted";static EVENT_VIDEO_UNMUTED="CE Video Unmuted";static EVENT_ADD_TO_CART_CLICKED="CE Add To Cart Clicked";static EVENT_VIEW_ITEM_CLICKED="CE View Item Clicked";static EVENT_MORE_ITEM_INFO_CLICKED="CE More Item Info Clicked";static EVENT_OPEN_CART_CLICKED="CE Open Cart Clicked";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_OPEN_CART="Open 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 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 t=ru.SDK_VERSION.split(".").map(n=>n.padStart(2,"0")).join("");ru.SDK_VERSION_CODE=parseInt(t,10)}},Ci={apiURL:"https://api.sdk.letscooee.com",debug:!1,mode:"production",styleURL:`https://cdn.jsdelivr.net/npm/@letscooee/web-sdk@${St.SDK_VERSION}/dist/widget.min.css`,widgetURL:`https://cdn.jsdelivr.net/npm/@letscooee/web-sdk@${St.SDK_VERSION}/dist/widget.min.js`},en=Ca(Vw()),Wn=class{static log(...e){en.default.info(...e)}static debug(...e){en.default.debug(...e)}static error(...e){en.default.error(...e)}static warn(...e){en.default.warn(...e)}static info(...e){en.default.info(...e)}static trace(...e){en.default.trace(...e)}};function iO(e=St.LOG_PREFIX){en.default.useDefaults({formatter:function(n){n.unshift(`${e} (v${St.SDK_VERSION}):`)}});let t=oO();(t==="1"||t==="on")&&(localStorage.cooeeLogLevel="TRACE"),localStorage.cooeeLogLevel?en.default.setLevel(en.default[localStorage.cooeeLogLevel]):en.default.setLevel(Ci.debug?en.default.TRACE:en.default.OFF)}function oO(){return new URL(location.href).searchParams?.get("cooee-debug")}var ds=Ca(tm()),sO={providers:[OD()]},aO={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},$5=Ne(A({},aO),{"[class.ng-submitted]":"isSubmitted"}),lO=new Ee("",{providedIn:"root",factory:()=>Yy}),Yy="always",cO=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275mod=td({type:e});static \u0275inj=uh({})}return e})(),uO=(()=>{class e{static withConfig(n){return{ngModule:e,providers:[{provide:lO,useValue:n.callSetDisabledState??Yy}]}}static \u0275fac=function(n){return new(n||e)};static \u0275mod=td({type:e});static \u0275inj=uh({imports:[cO]})}return e})(),Rr=class{static SWIPER_CSS="https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.css";static injectScriptURL(e,t){if(!e)return;let n=document.createElement("script");n.id=t??"",n.src=e,Ci.mode==="local"&&(n.type="module"),document.head.appendChild(n)}static injectRawScript(e){if(!e)return;let t=document.createElement("script");t.id="cooee-app-script",t.innerHTML=e,document.head.appendChild(t)}static injectRawCSS(e,t=document.head){if(!e)return;let n=document.createElement("style");n.textContent=e,t.appendChild(n)}static injectSwiperCSS(e=document.head){this.injectStylesheet(this.SWIPER_CSS,e)}static injectStylesheet(e,t=document.head){if(!e)return;let n=document.createElement("link");n.rel="stylesheet",n.href=e,e===this.SWIPER_CSS&&(n.crossOrigin="anonymous",n.onload=r=>{let i=r.currentTarget?.sheet?.cssRules;if(i){for(let o of i)if(o.type==CSSRule.FONT_FACE_RULE){let s=e.split("/"),a=s.slice(0,s.length-1).join("/"),l=o.cssText;l=l.replace(/url\s*\(\s*['"]?(?!((\/)|((?:https?:)?\/\/)|(?:data:?:)))([^'")]+)['"]?\s*\)/g,`url("${a}/$4")`);let u=document.createElement("style");u.appendChild(document.createTextNode(l)),document.head.appendChild(u)}}}),t.appendChild(n)}static async loadSwiperScript(){window.CooeeSDK.Swiper||(window.CooeeSDK.Swiper=(await import("https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.mjs")).Swiper)}},nl=class iu{cooeeEvent=new Xe;cooeeCTA=new Xe;elementRef=R($t);_engagementTrigger=Jn(null);_triggerContext=Jn(null);constructor(){this.elementRef.nativeElement.update=this.update.bind(this)}get classes(){let t=["letscooee-widget"],n=this._engagementTrigger();return t.push(`widget-${n?.shortID}`),t}get triggerContext(){return this._triggerContext()}set triggerContext(t){this._triggerContext.set(t),this._engagementTrigger.set(t.triggerData),this.engagementTriggerReceived(t.triggerData)}get engagementTrigger(){return this._engagementTrigger()}ngOnInit(){Wn.debug("Init",this.constructor.name);let t=this.elementRef.nativeElement.shadowRoot;t&&(Rr.injectStylesheet(Ci.styleURL,t),Rr.injectRawCSS(window.CooeeSDK.config.website.commonCSS,t))}ngOnDestroy(){Wn.debug("Destroying",this.constructor.name)}sendEventToRenderer(t){this.cooeeEvent.emit(t)}executeCTAViaRenderer(t){this.cooeeCTA.emit(t)}static \u0275fac=function(t){return new(t||iu)};static \u0275cmp=Pt({type:iu,selectors:[["ng-component"]],hostVars:2,hostBindings:function(t,n){t&2&&BT(n.classes)},inputs:{triggerContext:"triggerContext"},outputs:{cooeeEvent:"cooeeEvent",cooeeCTA:"cooeeCTA"},decls:0,vars:0,template:function(t,n){},encapsulation:2})},hO=(e,t,n)=>({"--option-color":e,"background-color":t,color:n}),Ky=(e,t)=>t.id;function dO(e,t){if(e&1&&(G(0,"span",6),Ye(1),Y()),e&2){Q();let n=rn(0);Z(),Fi(n)}}function fO(e,t){if(e&1){let n=jt();jn(0),G(1,"button",5),ot("click",function(){let r=ct(n).$implicit,i=Q().$implicit,o=Q();return ut(o.onOptionChange(i,r))}),nt(2,dO,2,1,"span",6),Y()}if(e&2){let n=t.$implicit,r=Q().$implicit,i=rn(1),o=Q(),s=zr(n.name);Z(),Yo("color-type",i)("selected",o.selectedOptions()[r.name]===s),Pe("disabled",n.disabled)("ngStyle",yD(9,hO,i?s:"",i?s:"",i?"transparent":"")),Go("data-value",s),Z(),tt(i?-1:2)}}function pO(e,t){if(e&1&&(G(0,"div"),jn(1),G(2,"div",1),Ye(3),Y(),G(4,"div",2),Ye(5),Y(),G(6,"div",3),Lt(7,fO,3,13,"button",4,Ky),Y()()),e&2){let n=t.$implicit,r=Q();YT("option-group ",n.name.toLowerCase(),""),Z(),zr(n.name.toLowerCase().includes("color")),Z(2),En("",n.name,":"),Z(2),Fi(r.selectedOptions()[n.name]),Z(2),Vt(n.optionValues)}}var gO=class ou extends nl{selectedVariant=new Xe;item=$E.required();selectedOptions=Jn({});options=ep(()=>{let t=this.item();return!t.options||t.vars.length===1?[]:t.options});matchedVariant=ep(()=>{let t=this.item(),n=this.selectedOptions();return t.vars.find(r=>t.options.every(i=>n[i.name]===r.selectedOptions.find(o=>o.name===i.name)?.value))});constructor(){super(),Qc(()=>{let n=this.matchedVariant();n&&(this.item().setSelectedVariant(n),this.selectedVariant.emit(n))});let t=Qc(()=>{let n=this.item();if(!n?.options)return;let r=A({},this.selectedOptions());n.options.forEach(i=>{let o=n.vars[0]?.selectedOptions.find(s=>s.name===i.name)?.value;o&&(r[i.name]=o)}),this.selectedOptions.set(r),t.destroy()})}onOptionChange(t,n){let r=A({},this.selectedOptions());r[t.name]=n.name,this.selectedOptions.set(r)}engagementTriggerReceived(){}update(){}static \u0275fac=function(t){return new(t||ou)};static \u0275cmp=Pt({type:ou,selectors:[["cooee-item-options-picker"]],inputs:{item:[1,"item"]},outputs:{selectedVariant:"selectedVariant"},features:[br],decls:2,vars:0,consts:[[3,"class"],[1,"name"],[1,"selected-value"],[1,"option-values"],[1,"option-value",3,"disabled","color-type","selected","ngStyle"],[1,"option-value",3,"click","disabled","ngStyle"],[1,"title"]],template:function(t,n){t&1&&Lt(0,pO,9,6,"div",0,Ky),t&2&&Vt(n.options())},dependencies:[D2,I2,uO],styles:[`.option-group{display:flex;gap:8px;align-items:center}.option-group+.option-group{margin-top:8px}.option-values{display:flex;flex-wrap:nowrap;overflow-x:auto;padding:6px;gap:8px}.selected-value{display:none}.option-value{padding:5px 10px;border:1px solid #ccc;cursor:pointer;border-radius:4px;min-width:32px;min-height:32px;text-align:center;position:relative;--selected-color: var(--option-color, var(--lc-color-button, rgb(var(--color-button, 0 0 0))))}.option-value.selected{box-shadow:#fff 0 0 0 2px,var(--selected-color) 0 0 0 4px}
17
17
  `],encapsulation:3})},Jy=function(e){return e.SHOPIFY_CHECKOUT="shopify_checkout",e.THIRD_PARTY_CHECKOUT="third_party_checkout",e.CART_PAGE="cart_page",e.CART_DRAWER="cart_drawer",e}(Jy||{}),Mn=function(e){return e[e.NONE=0]="NONE",e[e.REJECT_POPUP=1]="REJECT_POPUP",e[e.ACCEPT_POPUP=2]="ACCEPT_POPUP",e[e.GO_TO_URL=4]="GO_TO_URL",e[e.SHARE=5]="SHARE",e[e.KEY_VALUE=100]="KEY_VALUE",e[e.GO_TO_PRODUCT=101]="GO_TO_PRODUCT",e[e.ADD_TO_CART=102]="ADD_TO_CART",e[e.COPY_COUPON_CODE=103]="COPY_COUPON_CODE",e[e.GO_TO_COLLECTION=104]="GO_TO_COLLECTION",e[e.OPEN_CART=105]="OPEN_CART",e[e.SUBMIT_FORM=106]="SUBMIT_FORM",e[e.INITIATE_CHECKOUT=107]="INITIATE_CHECKOUT",e[e.ADD_BUNDLE=108]="ADD_BUNDLE",e[e.UPGRADE_TO_SUBSCRIPTION=109]="UPGRADE_TO_SUBSCRIPTION",e}(Mn||{}),Ms=function(e){return e.FREE_SHIPPING="FREE_SHIPPING",e.DISCOUNT="DISCOUNT",e.FREE_AUTO_GIFT="FREE_AUTO_GIFT",e.FREE_GIFT_SELECT="FREE_GIFT_SELECT",e.UI_ONLY="UI_ONLY",e}(Ms||{}),mO=class{id;mID;vID;vName;imageURL;name;link;quantity;price;finalPrice;constructor(e){this.id=e.id,this.mID=e.mID,this.vID=e.vID,this.vName=e.vName,this.imageURL=e.imageURL,this.name=e.name,this.link=e.link,this.quantity=e.quantity,this.price=e.price,this.finalPrice=e.finalPrice??e.price}},Xy=(e=>(e.CART_AMOUNT="CART_AMOUNT",e.ITEM_COUNT="ITEM_COUNT",e))(Xy||{}),Qy=class{gaEnabled;gaMeasurementID;pixelPush;website;currencyCount;money;storefrontToken;skipItemAttribute;currency;static get(){return window.CooeeSDK.config}update(e){return e??={},this.gaEnabled=e.gaEnabled,this.gaMeasurementID=e.gaMeasurementID,this.pixelPush=e.pixelPush,this.website=e.website??{},this.currencyCount=e.currencyCount??0,this.money=e.money,this.currency=e.currency,this.storefrontToken=e.storefrontToken,this.skipItemAttribute=e.skipItemAttribute,this}},e0=Object.prototype.toString;function hd(e){switch(e0.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return qr(e,Error)}}function Bi(e,t){return e0.call(e)===`[object ${t}]`}function t0(e){return Bi(e,"ErrorEvent")}function up(e){return Bi(e,"DOMError")}function _O(e){return Bi(e,"DOMException")}function Zn(e){return Bi(e,"String")}function dd(e){return typeof e=="object"&&e!==null&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function fd(e){return e===null||dd(e)||typeof e!="object"&&typeof e!="function"}function Ii(e){return Bi(e,"Object")}function rl(e){return typeof Event<"u"&&qr(e,Event)}function vO(e){return typeof Element<"u"&&qr(e,Element)}function yO(e){return Bi(e,"RegExp")}function il(e){return!!(e&&e.then&&typeof e.then=="function")}function bO(e){return Ii(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function qr(e,t){try{return e instanceof t}catch{return!1}}function n0(e){return!!(typeof e=="object"&&e!==null&&(e.__isVue||e._isVue))}function vi(e,t=0){return typeof e!="string"||t===0||e.length<=t?e:`${e.slice(0,t)}...`}function hp(e,t){if(!Array.isArray(e))return"";let n=[];for(let r=0;r<e.length;r++){let i=e[r];try{n0(i)?n.push("[VueViewModel]"):n.push(String(i))}catch{n.push("[value cannot be serialized]")}}return n.join(t)}function wO(e,t,n=!1){return Zn(e)?yO(t)?t.test(e):Zn(t)?n?e===t:e.includes(t):!1:!1}function ol(e,t=[],n=!1){return t.some(r=>wO(e,r,n))}function xO(e,t,n=250,r,i,o,s){if(!o.exception||!o.exception.values||!s||!qr(s.originalException,Error))return;let a=o.exception.values.length>0?o.exception.values[o.exception.values.length-1]:void 0;a&&(o.exception.values=EO(su(e,t,i,s.originalException,r,o.exception.values,a,0),n))}function su(e,t,n,r,i,o,s,a){if(o.length>=n+1)return o;let l=[...o];if(qr(r[i],Error)){dp(s,a);let u=e(t,r[i]),d=l.length;fp(u,i,d,a),l=su(e,t,n,r[i],i,[u,...l],u,d)}return Array.isArray(r.errors)&&r.errors.forEach((u,d)=>{if(qr(u,Error)){dp(s,a);let h=e(t,u),_=l.length;fp(h,`errors[${d}]`,_,a),l=su(e,t,n,u,i,[h,...l],h,_)}}),l}function dp(e,t){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism=Ne(A(A({},e.mechanism),e.type==="AggregateError"&&{is_exception_group:!0}),{exception_id:t})}function fp(e,t,n,r){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism=Ne(A({},e.mechanism),{type:"chained",source:t,exception_id:n,parent_id:r})}function EO(e,t){return e.map(n=>(n.value&&(n.value=vi(n.value,t)),n))}var Pr="8.18.0",Be=globalThis;function pd(e,t,n){let r=n||Be,i=r.__SENTRY__=r.__SENTRY__||{},o=i[Pr]=i[Pr]||{};return o[e]||(o[e]=t())}var gd=Be,SO=80;function r0(e,t={}){if(!e)return"<unknown>";try{let n=e,r=5,i=[],o=0,s=0,a=" > ",l=a.length,u,d=Array.isArray(t)?t:t.keyAttrs,h=!Array.isArray(t)&&t.maxStringLength||SO;for(;n&&o++<r&&(u=CO(n,d),!(u==="html"||o>1&&s+i.length*l+u.length>=h));)i.push(u),s+=u.length,n=n.parentNode;return i.reverse().join(a)}catch{return"<unknown>"}}function CO(e,t){let n=e,r=[];if(!n||!n.tagName)return"";if(gd.HTMLElement&&n instanceof HTMLElement&&n.dataset){if(n.dataset.sentryComponent)return n.dataset.sentryComponent;if(n.dataset.sentryElement)return n.dataset.sentryElement}r.push(n.tagName.toLowerCase());let i=t&&t.length?t.filter(s=>n.getAttribute(s)).map(s=>[s,n.getAttribute(s)]):null;if(i&&i.length)i.forEach(s=>{r.push(`[${s[0]}="${s[1]}"]`)});else{n.id&&r.push(`#${n.id}`);let s=n.className;if(s&&Zn(s)){let a=s.split(/\s+/);for(let l of a)r.push(`.${l}`)}}let o=["aria-label","type","name","title","alt"];for(let s of o){let a=n.getAttribute(s);a&&r.push(`[${s}="${a}"]`)}return r.join("")}function IO(){try{return gd.document.location.href}catch{return""}}function TO(e){if(!gd.HTMLElement)return null;let t=e,n=5;for(let r=0;r<n;r++){if(!t)return null;if(t instanceof HTMLElement){if(t.dataset.sentryComponent)return t.dataset.sentryComponent;if(t.dataset.sentryElement)return t.dataset.sentryElement}t=t.parentNode}return null}var Jo=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,DO="Sentry Logger ",au=["debug","info","warn","error","log","assert","trace"],da={};function md(e){if(!("console"in Be))return e();let t=Be.console,n={},r=Object.keys(da);r.forEach(i=>{let o=da[i];n[i]=t[i],t[i]=o});try{return e()}finally{r.forEach(i=>{t[i]=n[i]})}}function OO(){let e=!1,t={enable:()=>{e=!0},disable:()=>{e=!1},isEnabled:()=>e};return Jo?au.forEach(n=>{t[n]=(...r)=>{e&&md(()=>{Be.console[n](`${DO}[${n}]:`,...r)})}}):au.forEach(n=>{t[n]=()=>{}}),t}var we=OO(),kO=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function RO(e){return e==="http"||e==="https"}function sl(e,t=!1){let{host:n,path:r,pass:i,port:o,projectId:s,protocol:a,publicKey:l}=e;return`${a}://${l}${t&&i?`:${i}`:""}@${n}${o?`:${o}`:""}/${r&&`${r}/`}${s}`}function PO(e){let t=kO.exec(e);if(!t){md(()=>{console.error(`Invalid Sentry Dsn: ${e}`)});return}let[n,r,i="",o="",s="",a=""]=t.slice(1),l="",u=a,d=u.split("/");if(d.length>1&&(l=d.slice(0,-1).join("/"),u=d.pop()),u){let h=u.match(/^\d+/);h&&(u=h[0])}return i0({host:o,pass:i,path:l,projectId:u,port:s,protocol:n,publicKey:r})}function i0(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function NO(e){if(!Jo)return!0;let{port:t,projectId:n,protocol:r}=e;return["protocol","publicKey","host","projectId"].find(i=>e[i]?!1:(we.error(`Invalid Sentry Dsn: ${i} missing`),!0))?!1:n.match(/^\d+$/)?RO(r)?t&&isNaN(parseInt(t,10))?(we.error(`Invalid Sentry Dsn: Invalid port ${t}`),!1):!0:(we.error(`Invalid Sentry Dsn: Invalid protocol ${r}`),!1):(we.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1)}function AO(e){let t=typeof e=="string"?PO(e):i0(e);if(!(!t||!NO(t)))return t}var Rn=class extends Error{constructor(e,t="warn"){super(e),this.message=e,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=t}};function It(e,t,n){if(!(t in e))return;let r=e[t],i=n(r);typeof i=="function"&&o0(i,r),e[t]=i}function Wr(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch{Jo&&we.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function o0(e,t){try{let n=t.prototype||{};e.prototype=t.prototype=n,Wr(e,"__sentry_original__",t)}catch{}}function _d(e){return e.__sentry_original__}function MO(e){return Object.keys(e).map(t=>`${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`).join("&")}function s0(e){if(hd(e))return A({message:e.message,name:e.name,stack:e.stack},gp(e));if(rl(e)){let t=A({type:e.type,target:pp(e.target),currentTarget:pp(e.currentTarget)},gp(e));return typeof CustomEvent<"u"&&qr(e,CustomEvent)&&(t.detail=e.detail),t}else return e}function pp(e){try{return vO(e)?r0(e):Object.prototype.toString.call(e)}catch{return"<unknown>"}}function gp(e){if(typeof e=="object"&&e!==null){let t={};for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}else return{}}function LO(e,t=40){let n=Object.keys(s0(e));n.sort();let r=n[0];if(!r)return"[object has no keys]";if(r.length>=t)return vi(r,t);for(let i=n.length;i>0;i--){let o=n.slice(0,i).join(", ");if(!(o.length>t))return i===n.length?o:vi(o,t)}return""}function pn(e){return lu(e,new Map)}function lu(e,t){if(VO(e)){let n=t.get(e);if(n!==void 0)return n;let r={};t.set(e,r);for(let i of Object.keys(e))typeof e[i]<"u"&&(r[i]=lu(e[i],t));return r}if(Array.isArray(e)){let n=t.get(e);if(n!==void 0)return n;let r=[];return t.set(e,r),e.forEach(i=>{r.push(lu(i,t))}),r}return e}function VO(e){if(!Ii(e))return!1;try{let t=Object.getPrototypeOf(e).constructor.name;return!t||t==="Object"}catch{return!0}}var Zr="?",mp=/\(error: (.*)\)/,_p=/captureMessage|captureException/;function jO(...e){let t=e.sort((n,r)=>n[0]-r[0]).map(n=>n[1]);return(n,r=0,i=0)=>{let o=[],s=n.split(`
18
18
  `);for(let a=r;a<s.length;a++){let l=s[a];if(l.length>1024)continue;let u=mp.test(l)?l.replace(mp,"$1"):l;if(!u.match(/\S*Error: /)){for(let d of t){let h=d(u);if(h){o.push(h);break}}if(o.length>=50+i)break}}return FO(o.slice(i))}}function FO(e){if(!e.length)return[];let t=Array.from(e);return/sentryWrapped/.test(fs(t).function||"")&&t.pop(),t.reverse(),_p.test(fs(t).function||"")&&(t.pop(),_p.test(fs(t).function||"")&&t.pop()),t.slice(0,50).map(n=>Ne(A({},n),{filename:n.filename||fs(t).filename,function:n.function||Zr}))}function fs(e){return e[e.length-1]||{}}var Wl="<anonymous>";function vr(e){try{return!e||typeof e!="function"?Wl:e.name||Wl}catch{return Wl}}function vp(e){let t=e.exception;if(t){let n=[];try{return t.values.forEach(r=>{r.stacktrace.frames&&n.push(...r.stacktrace.frames)}),n}catch{return}}}var Ls={},yp={};function ni(e,t){Ls[e]=Ls[e]||[],Ls[e].push(t)}function ri(e,t){yp[e]||(t(),yp[e]=!0)}function vn(e,t){let n=e&&Ls[e];if(n)for(let r of n)try{r(t)}catch(i){Jo&&we.error(`Error while triggering instrumentation handler.
19
19
  Type: ${e}