@letscooee/web-sdk 9.3.15 → 9.3.16
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.
package/dist/widget-sdk.min.js
CHANGED
|
@@ -4,7 +4,7 @@ ${t.map((n,r)=>`${r+1}) ${n.toString()}`).join(`
|
|
|
4
4
|
`);return r>=0?n.slice(0,r):n}function ys(e,t){return e?t?`${e} ${t}`:e:t||""}var xd=ae({__forward_ref__:ae});function Ka(e){return e.__forward_ref__=Ka,e.toString=function(){return We(this())},e}function Ze(e){return kd(e)?e():e}function kd(e){return typeof e=="function"&&e.hasOwnProperty(xd)&&e.__forward_ref__===Ka}function pe(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function so(e){return vs(e,Qa)||vs(e,Ya)}function vs(e,t){return e.hasOwnProperty(t)?e[t]:null}function Dd(e){return e&&(e[Qa]||e[Ya])||null}function bs(e){return e&&(e.hasOwnProperty(ws)||e.hasOwnProperty(Od))?e[ws]:null}var Qa=ae({\u0275prov:ae}),ws=ae({\u0275inj:ae}),Ya=ae({ngInjectableDef:ae}),Od=ae({ngInjectorDef:ae}),se=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=pe({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Xa(e){return e&&!!e.\u0275providers}var Nd=ae({\u0275cmp:ae}),Rd=ae({\u0275dir:ae}),Ad=ae({\u0275pipe:ae}),Es=ae({\u0275fac:ae}),vn=ae({__NG_ELEMENT_ID__:ae}),_s=ae({__NG_ENV_ID__:ae});function xr(e){return typeof e=="string"?e:e==null?"":String(e)}function Md(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():xr(e)}function Vd(e,t){throw new Y(-200,e)}function ao(e,t){throw new Y(-201,!1)}var U=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}(U||{}),mi;function Ja(){return mi}function ke(e){let t=mi;return mi=e,t}function el(e,t,n){let r=so(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&U.Optional)return null;if(t!==void 0)return t;ao(e,"Injector")}var Pd={},wn=Pd,Fd="__NG_DI_FLAG__",fr="ngTempTokenPath",jd="ngTokenPath",Ld=/\n/gm,Hd="\u0275",Ss="__source",Zt;function Bd(){return Zt}function at(e){let t=Zt;return Zt=e,t}function zd(e,t=U.Default){if(Zt===void 0)throw new Y(-203,!1);return Zt===null?el(e,void 0,t):Zt.get(e,t&U.Optional?null:void 0,t)}function oe(e,t=U.Default){return(Ja()||zd)(Ze(e),t)}function re(e,t=U.Default){return oe(e,kr(t))}function kr(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function yi(e){let t=[];for(let n=0;n<e.length;n++){let r=Ze(e[n]);if(Array.isArray(r)){if(r.length===0)throw new Y(900,!1);let i,o=U.Default;for(let s=0;s<r.length;s++){let a=r[s],l=Ud(a);typeof l=="number"?l===-1?i=a.token:o|=l:i=a}t.push(oe(i,o))}else t.push(oe(r))}return t}function Ud(e){return e[Fd]}function Zd(e,t,n,r){let i=e[fr];throw t[Ss]&&i.unshift(t[Ss]),e.message=Wd(`
|
|
5
5
|
`+e.message,i,n,r),e[jd]=i,e[fr]=null,e}function Wd(e,t,n,r=null){e=e&&e.charAt(0)===`
|
|
6
6
|
`&&e.charAt(1)==Hd?e.slice(2):e;let i=We(t);if(Array.isArray(t))i=t.map(We).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):We(a)))}i=`{${o.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(Ld,`
|
|
7
|
-
`)}`}function Gt(e,t){return e.hasOwnProperty(Es)?e[Es]:null}function lo(e,t){e.forEach(n=>Array.isArray(n)?lo(n,t):t(n))}function qd(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function tl(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function $d(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 Gd(e,t,n){let r=An(e,t);return r>=0?e[r|1]=n:(r=~r,$d(e,r,t,n)),r}function Xr(e,t){let n=An(e,t);if(n>=0)return e[n|1]}function An(e,t){return Kd(e,t,1)}function Kd(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 Kt={},_t=[],dr=new se(""),nl=new se("",-1),rl=new se(""),il=class{get(e,t=wn){if(t===wn){let n=new Error(`NullInjectorError: No provider for ${We(e)}!`);throw n.name="NullInjectorError",n}return t}};function Dr(e){return e[Nd]||null}function ol(e){return e[Rd]||null}function sl(e){return e[Ad]||null}function Qd(e){let t=Dr(e)||ol(e)||sl(e);return t!==null&&t.standalone}function Yd(e){return{\u0275providers:e}}function Xd(...e){return{\u0275providers:al(!0,e),\u0275fromNgModule:!0}}function al(e,...t){let n=[],r=new Set,i,o=s=>{n.push(s)};return lo(t,s=>{let a=s;vi(a,o,[],r)&&(i||=[],i.push(a))}),i!==void 0&&ll(i,o),n}function ll(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:i}=e[n];uo(i,o=>{t(o,r)})}}function vi(e,t,n,r){if(e=Ze(e),!e)return!1;let i=null,o=bs(e),s=!o&&Dr(e);if(!o&&!s){let l=e.ngModule;if(o=bs(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 d of l)vi(d,t,n,r)}}else if(o){if(o.imports!=null&&!a){r.add(i);let d;try{lo(o.imports,h=>{vi(h,t,n,r)&&(d||=[],d.push(h))})}finally{}d!==void 0&&ll(d,t)}if(!a){let d=Gt(i)||(()=>new i);t({provide:i,useFactory:d,deps:_t},i),t({provide:rl,useValue:i,multi:!0},i),t({provide:dr,useValue:()=>oe(i),multi:!0},i)}let l=o.providers;if(l!=null&&!a){let d=e;uo(l,h=>{t(h,d)})}}else return!1;return i!==e&&e.providers!==void 0}function uo(e,t){for(let n of e)Xa(n)&&(n=n.\u0275providers),Array.isArray(n)?uo(n,t):t(n)}var Jd=ae({provide:String,useValue:ae});function ul(e){return e!==null&&typeof e=="object"&&Jd in e}function eh(e){return!!(e&&e.useExisting)}function th(e){return!!(e&&e.useFactory)}function bi(e){return typeof e=="function"}var co=new se(""),nr={},nh={},Jr;function fo(){return Jr===void 0&&(Jr=new il),Jr}var En=class{},ho=class extends En{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,Ei(e,o=>this.processProvider(o)),this.records.set(nl,Ht(void 0,this)),r.has("environment")&&this.records.set(En,Ht(void 0,this));let i=this.records.get(co);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(rl,_t,U.Self))}destroy(){gn(this),this._destroyed=!0;let e=K(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(),K(e)}}onDestroy(e){return gn(this),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){gn(this);let t=at(this),n=ke(void 0),r;try{return e()}finally{at(t),ke(n)}}get(e,t=wn,n=U.Default){if(gn(this),e.hasOwnProperty(_s))return e[_s](this);n=kr(n);let r,i=at(this),o=ke(void 0);try{if(!(n&U.SkipSelf)){let a=this.records.get(e);if(a===void 0){let l=lh(e)&&so(e);l&&this.injectableDefInScope(l)?a=Ht(wi(e),nr):a=null,this.records.set(e,a)}if(a!=null)return this.hydrate(e,a)}let s=n&U.Self?fo():this.parent;return t=n&U.Optional&&t===wn?null:t,s.get(e,t)}catch(s){if(s.name==="NullInjectorError"){if((s[fr]=s[fr]||[]).unshift(We(e)),i)throw s;return Zd(s,e,"R3InjectorError",this.source)}else throw s}finally{ke(o),at(i)}}resolveInjectorInitializers(){let e=K(null),t=at(this),n=ke(void 0),r;try{let i=this.get(dr,_t,U.Self);for(let o of i)o()}finally{at(t),ke(n),K(e)}}toString(){let e=[],t=this.records;for(let n of t.keys())e.push(We(n));return`R3Injector[${e.join(", ")}]`}processProvider(e){e=Ze(e);let t=bi(e)?e:Ze(e&&e.provide),n=ih(e);if(!bi(e)&&e.multi===!0){let r=this.records.get(t);r||(r=Ht(void 0,nr,!0),r.factory=()=>yi(r.multi),this.records.set(t,r)),t=e,r.multi.push(e)}this.records.set(t,n)}hydrate(e,t){let n=K(null);try{return t.value===nr&&(t.value=nh,t.value=t.factory()),typeof t.value=="object"&&t.value&&ah(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{K(n)}}injectableDefInScope(e){if(!e.providedIn)return!1;let t=Ze(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 wi(e){let t=so(e),n=t!==null?t.factory:Gt(e);if(n!==null)return n;if(e instanceof se)throw new Y(204,!1);if(e instanceof Function)return rh(e);throw new Y(204,!1)}function rh(e){if(e.length>0)throw new Y(204,!1);let t=Dd(e);return t!==null?()=>t.factory(e):()=>new e}function ih(e){if(ul(e))return Ht(void 0,e.useValue);{let t=oh(e);return Ht(t,nr)}}function oh(e,t,n){let r;if(bi(e)){let i=Ze(e);return Gt(i)||wi(i)}else if(ul(e))r=()=>Ze(e.useValue);else if(th(e))r=()=>e.useFactory(...yi(e.deps||[]));else if(eh(e))r=()=>oe(Ze(e.useExisting));else{let i=Ze(e&&(e.useClass||e.provide));if(sh(e))r=()=>new i(...yi(e.deps));else return Gt(i)||wi(i)}return r}function gn(e){if(e.destroyed)throw new Y(205,!1)}function Ht(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function sh(e){return!!e.deps}function ah(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function lh(e){return typeof e=="function"||typeof e=="object"&&e instanceof se}function Ei(e,t){for(let n of e)Array.isArray(n)?Ei(n,t):n&&Xa(n)?Ei(n.\u0275providers,t):t(n)}function cl(e,t){e instanceof ho&&gn(e);let n,r=at(e),i=ke(void 0);try{return t()}finally{at(r),ke(i)}}function uh(){return Ja()!==void 0||Bd()!=null}var it=0,W=1,j=2,He=3,qe=4,Ke=5,_n=6,Is=7,we=8,Sn=9,rt=10,Pe=11,In=12,Cs=13,rn=14,Ge=15,Qt=16,Bt=17,Yt=18,Or=19,fl=20,dt=21,ei=22,hr=23,Ae=24,ti=25,Ie=26,dl=1,Cn=7,ch=8,pr=9,De=10;function Et(e){return Array.isArray(e)&&typeof e[dl]=="object"}function Ot(e){return Array.isArray(e)&&e[dl]===!0}function hl(e){return(e.flags&4)!==0}function Nr(e){return e.componentOffset>-1}function pl(e){return(e.flags&1)===1}function Nt(e){return!!e.template}function gr(e){return(e[j]&512)!==0}function Mn(e){return(e[j]&256)===256}var fh=class{previousValue;currentValue;firstChange;constructor(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}isFirstChange(){return this.firstChange}};function gl(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}function dh(e){return e.type.prototype.ngOnChanges&&(e.setInput=ph),hh}function hh(){let e=yl(this),t=e?.current;if(t){let n=e.previous;if(n===Kt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function ph(e,t,n,r,i){let o=this.declaredInputs[r],s=yl(e)||gh(e,{previous:Kt,current:null}),a=s.current||(s.current={}),l=s.previous,d=l[o];a[o]=new fh(d&&d.currentValue,n,l===Kt),gl(e,t,i,n)}var ml="__ngSimpleChanges__";function yl(e){return e[ml]||null}function gh(e,t){return e[ml]=t}var mh=null,le=function(e,t=null,n){mh?.(e,t,n)},yh="svg",vh="math";function ht(e){for(;Array.isArray(e);)e=e[it];return e}function vl(e,t){return ht(t[e])}function Rt(e,t){return ht(t[e.index])}function po(e,t){return e.data[t]}function bl(e,t){return e[t]}function St(e,t){let n=t[e];return Et(n)?n:n[it]}function go(e){return(e[j]&128)===128}function Xt(e,t){return t==null?null:e[t]}function wl(e){e[Bt]=0}function mo(e){e[j]&1024||(e[j]|=1024,go(e)&&Ar(e))}function bh(e,t){for(;e>0;)t=t[rn],e--;return t}function Rr(e){return!!(e[j]&9216||e[Ae]?.dirty)}function _i(e){e[rt].changeDetectionScheduler?.notify(8),e[j]&64&&(e[j]|=1024),Rr(e)&&Ar(e)}function Ar(e){e[rt].changeDetectionScheduler?.notify(0);let t=It(e);for(;t!==null&&!(t[j]&8192||(t[j]|=8192,!go(t)));)t=It(t)}function El(e,t){if(Mn(e))throw new Y(911,!1);e[dt]===null&&(e[dt]=[]),e[dt].push(t)}function wh(e,t){if(e[dt]===null)return;let n=e[dt].indexOf(t);n!==-1&&e[dt].splice(n,1)}function It(e){let t=e[He];return Ot(t)?t[He]:t}var q={lFrame:Ol(null),bindingsEnabled:!0,skipHydrationRootTNode:null},Si=!1;function Eh(){return q.lFrame.elementDepthCount}function _h(){q.lFrame.elementDepthCount++}function Sh(){q.lFrame.elementDepthCount--}function _l(){return q.bindingsEnabled}function Ih(){return q.skipHydrationRootTNode!==null}function Ch(e){return q.skipHydrationRootTNode===e}function Th(){q.skipHydrationRootTNode=null}function fe(){return q.lFrame.lView}function Qe(){return q.lFrame.tView}function Vn(){let e=Sl();for(;e!==null&&e.type===64;)e=e.parent;return e}function Sl(){return q.lFrame.currentTNode}function xh(){let e=q.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function on(e,t){let n=q.lFrame;n.currentTNode=e,n.isParent=t}function Il(){return q.lFrame.isParent}function kh(){q.lFrame.isParent=!1}function Cl(){return Si}function Ts(e){let t=Si;return Si=e,t}function Tl(){let e=q.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Dh(e){return q.lFrame.bindingIndex=e}function Mr(){return q.lFrame.bindingIndex++}function Oh(e){let t=q.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Nh(){return q.lFrame.inI18n}function Rh(e,t){let n=q.lFrame;n.bindingIndex=n.bindingRootIndex=e,Ii(t)}function Ah(){return q.lFrame.currentDirectiveIndex}function Ii(e){q.lFrame.currentDirectiveIndex=e}function Mh(e){let t=q.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function xl(e){q.lFrame.currentQueryIndex=e}function Vh(e){let t=e[W];return t.type===2?t.declTNode:t.type===1?e[Ke]:null}function kl(e,t,n){if(n&U.SkipSelf){let i=t,o=e;for(;(i=i.parent,i===null&&!(n&U.Host))&&(i=Vh(o),!(i===null||(o=o[rn],i.type&10))););if(i===null)return!1;t=i,e=o}let r=q.lFrame=Dl();return r.currentTNode=t,r.lView=e,!0}function yo(e){let t=Dl(),n=e[W];q.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Dl(){let e=q.lFrame,t=e===null?null:e.child;return t===null?Ol(e):t}function Ol(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 Nl(){let e=q.lFrame;return q.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Rl=Nl;function vo(){let e=Nl();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 Ph(e){return(q.lFrame.contextLView=bh(e,q.lFrame.contextLView))[we]}function At(){return q.lFrame.selectedIndex}function Ct(e){q.lFrame.selectedIndex=e}function Fh(){let e=q.lFrame;return po(e.tView,e.selectedIndex)}function jh(){return q.lFrame.currentNamespace}var Al=!0;function bo(){return Al}function wo(e){Al=e}function Lh(e,t,n){let{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=t.type.prototype;if(r){let s=dh(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 Ml(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:d}=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)),d!=null&&(e.destroyHooks??=[]).push(n,d)}}function rr(e,t,n){Vl(e,t,3,n)}function ir(e,t,n,r){(e[j]&3)===n&&Vl(e,t,n,r)}function ni(e,t){let n=e[j];(n&3)===t&&(n&=16383,n+=1,e[j]=n)}function Vl(e,t,n,r){let i=r!==void 0?e[Bt]&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[Bt]+=65536),(a<o||o==-1)&&(Hh(e,n,t,l),e[Bt]=(e[Bt]&4294901760)+l+2),l++}function xs(e,t){le(4,e,t);let n=K(null);try{t.call(e)}finally{K(n),le(5,e,t)}}function Hh(e,t,n,r){let i=n[r]<0,o=n[r+1],s=i?-n[r]:n[r],a=e[s];i?e[j]>>14<e[Bt]>>16&&(e[j]&3)===t&&(e[j]+=16384,xs(a,o)):xs(a,o)}var Wt=-1,Eo=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(e,t,n){this.factory=e,this.canSeeViewProviders=t,this.injectImpl=n}};function Bh(e){return e instanceof Eo}function zh(e){return(e.flags&8)!==0}function Uh(e){return(e.flags&16)!==0}function Zh(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];qh(o)?e.setProperty(t,o,s):e.setAttribute(t,o,s),r++}}return r}function Wh(e){return e===3||e===4||e===6}function qh(e){return e.charCodeAt(0)===64}function _o(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?ks(e,n,i,null,t[++r]):ks(e,n,i,null,null))}}return e}function ks(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 ri={},$h=class{injector;parentInjector;constructor(e,t){this.injector=e,this.parentInjector=t}get(e,t,n){n=kr(n);let r=this.injector.get(e,ri,n);return r!==ri||t===ri?r:this.parentInjector.get(e,t,n)}};function Gh(e){return e!==Wt}function Ci(e){return e&32767}function Kh(e){return e>>16}function Ti(e,t){let n=Kh(e),r=t;for(;n>0;)r=r[rn],n--;return r}var xi=!0;function mr(e){let t=xi;return xi=e,t}var Qh=256,Pl=Qh-1,Fl=5,Yh=0,$e={};function Xh(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(vn)&&(r=n[vn]),r==null&&(r=n[vn]=Yh++);let i=r&Pl,o=1<<i;t.data[e+(i>>Fl)]|=o}function jl(e,t){let n=Ll(e,t);if(n!==-1)return n;let r=t[W];r.firstCreatePass&&(e.injectorIndex=t.length,ii(r.data,e),ii(t,null),ii(r.blueprint,null));let i=Hl(e,t),o=e.injectorIndex;if(Gh(i)){let s=Ci(i),a=Ti(i,t),l=a[W].data;for(let d=0;d<8;d++)t[o+d]=a[s+d]|l[s+d]}return t[o+8]=i,o}function ii(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Ll(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Hl(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=ql(i),r===null)return Wt;if(n++,i=i[rn],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Wt}function Jh(e,t,n){Xh(e,t,n)}function Bl(e,t,n){if(n&U.Optional||e!==void 0)return e;ao(t,"NodeInjector")}function zl(e,t,n,r){if(n&U.Optional&&r===void 0&&(r=null),(n&(U.Self|U.Host))===0){let i=e[Sn],o=ke(void 0);try{return i?i.get(t,r,n&U.Optional):el(t,r,n&U.Optional)}finally{ke(o)}}return Bl(r,t,n)}function Ul(e,t,n,r=U.Default,i){if(e!==null){if(t[j]&2048&&!(r&U.Self)){let s=ip(e,t,n,r,$e);if(s!==$e)return s}let o=Zl(e,t,n,r,$e);if(o!==$e)return o}return zl(t,n,r,i)}function Zl(e,t,n,r,i){let o=np(n);if(typeof o=="function"){if(!kl(t,e,r))return r&U.Host?Bl(i,n,r):zl(t,n,r,i);try{let s;if(s=o(r),s==null&&!(r&U.Optional))ao(n);else return s}finally{Rl()}}else if(typeof o=="number"){let s=null,a=Ll(e,t),l=Wt,d=r&U.Host?t[Ge][Ke]:null;for((a===-1||r&U.SkipSelf)&&(l=a===-1?Hl(e,t):t[a+8],l===Wt||!Os(r,!1)?a=-1:(s=t[W],a=Ci(l),t=Ti(l,t)));a!==-1;){let h=t[W];if(Ds(o,a,h.data)){let p=ep(a,t,n,s,r,d);if(p!==$e)return p}l=t[a+8],l!==Wt&&Os(r,t[W].data[a+8]===d)&&Ds(o,a,t)?(s=h,a=Ci(l),t=Ti(l,t)):a=-1}}return i}function ep(e,t,n,r,i,o){let s=t[W],a=s.data[e+8],l=r==null?Nr(a)&&xi:r!=s&&(a.type&3)!==0,d=i&U.Host&&o===a,h=tp(a,s,n,l,d);return h!==null?ki(t,s,h,a):$e}function tp(e,t,n,r,i){let o=e.providerIndexes,s=t.data,a=o&1048575,l=e.directiveStart,d=e.directiveEnd,h=o>>20,p=r?a:a+h,_=i?a+h:d;for(let w=p;w<_;w++){let E=s[w];if(w<l&&n===E||w>=l&&E.type===n)return w}if(i){let w=s[l];if(w&&Nt(w)&&w.type===n)return l}return null}function ki(e,t,n,r){let i=e[n],o=t.data;if(Bh(i)){let s=i;s.resolving&&Vd(Md(o[n]));let a=mr(s.canSeeViewProviders);s.resolving=!0;let l,d=s.injectImpl?ke(s.injectImpl):null,h=kl(e,r,U.Default);try{i=e[n]=s.factory(void 0,o,e,r),t.firstCreatePass&&n>=r.directiveStart&&Lh(n,o[n],t)}finally{d!==null&&ke(d),mr(a),s.resolving=!1,Rl()}}return i}function np(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(vn)?e[vn]:void 0;return typeof t=="number"?t>=0?t&Pl:rp:t}function Ds(e,t,n){let r=1<<e;return!!(n[t+(e>>Fl)]&r)}function Os(e,t){return!(e&U.Self)&&!(e&U.Host&&t)}var Wl=class{_tNode;_lView;constructor(e,t){this._tNode=e,this._lView=t}get(e,t,n){return Ul(this._tNode,this._lView,e,kr(n),t)}};function rp(){return new Wl(Vn(),fe())}function ip(e,t,n,r,i){let o=e,s=t;for(;o!==null&&s!==null&&s[j]&2048&&!gr(s);){let a=Zl(o,s,n,r|U.Self,$e);if(a!==$e)return a;let l=o.parent;if(!l){let d=s[fl];if(d){let h=d.get(n,$e,r);if(h!==$e)return h}l=ql(s),s=s[rn]}o=l}return i}function ql(e){let t=e[W],n=t.type;return n===2?t.declTNode:n===1?e[Ke]:null}function Ns(e,t=null,n=null,r){let i=op(e,t,n,r);return i.resolveInjectorInitializers(),i}function op(e,t=null,n=null,r,i=new Set){let o=[n||_t,Xd(e)];return r=r||(typeof e=="object"?void 0:We(e)),new ho(o,t||fo(),r||null,i)}var Vr=class $l{static THROW_IF_NOT_FOUND=wn;static NULL=new il;static create(t,n){if(Array.isArray(t))return Ns({name:""},n,t,"");{let r=t.name??"";return Ns({name:r},t.parent,t.providers,r)}}static \u0275prov=pe({token:$l,providedIn:"any",factory:()=>oe(nl)});static __NG_ELEMENT_ID__=-1},sp=new se("");sp.__NG_ELEMENT_ID__=e=>{let t=Vn();if(t===null)throw new Y(204,!1);if(t.type&2)return t.value;if(e&U.Optional)return null;throw new Y(204,!1)};var Gl=!1,Kl=(()=>{class e{static __NG_ELEMENT_ID__=lp;static __NG_ENV_ID__=n=>n}return e})(),ap=class extends Kl{_lView;constructor(e){super(),this._lView=e}onDestroy(e){return El(this._lView,e),()=>wh(this._lView,e)}};function lp(){return new ap(fe())}var Pn=class{},So=new se("",{providedIn:"root",factory:()=>!1}),Ql=new se(""),Io=new se(""),Pr=(()=>{class e{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new Xf(!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=pe({token:e,providedIn:"root",factory:()=>new e})}return e})(),up=class extends Rn{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(e=!1){super(),this.__isAsync=e,uh()&&(this.destroyRef=re(Kl,{optional:!0})??void 0,this.pendingTasks=re(Pr,{optional:!0})??void 0)}emit(e){let t=K(null);try{super.next(e)}finally{K(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 nt&&e.add(s),s}wrapInTimeout(e){return t=>{let n=this.pendingTasks?.add();setTimeout(()=>{e(t),n!==void 0&&this.pendingTasks?.remove(n)})}}},ut=up;function yr(...e){}function Yl(e){let t,n;function r(){e=yr;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 Rs(e){return queueMicrotask(()=>e()),()=>{e=yr}}var Co="isAngularZone",vr=Co+"_ID",cp=0,Me=class Di{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new ut(!1);onMicrotaskEmpty=new ut(!1);onStable=new ut(!1);onError=new ut(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:i=!1,scheduleInRootZone:o=Gl}=t;if(typeof Zone>"u")throw new Y(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,hp(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Co)===!0}static assertInAngularZone(){if(!Di.isInAngularZone())throw new Y(909,!1)}static assertNotInAngularZone(){if(Di.isInAngularZone())throw new Y(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,fp,yr,yr);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)}},fp={};function To(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 dp(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Yl(()=>{e.callbackScheduled=!1,Oi(e),e.isCheckStableRunning=!0,To(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Oi(e)}function hp(e){let t=()=>{dp(e)},n=cp++;e._inner=e._inner.fork({name:"angular",properties:{[Co]:!0,[vr]:n,[vr+n]:!0},onInvokeTask:(r,i,o,s,a,l)=>{if(pp(l))return r.invokeTask(o,s,a,l);try{return As(e),r.invokeTask(o,s,a,l)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Ms(e)}},onInvoke:(r,i,o,s,a,l,d)=>{try{return As(e),r.invoke(o,s,a,l,d)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!gp(l)&&t(),Ms(e)}},onHasTask:(r,i,o,s)=>{r.hasTask(o,s),i===o&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Oi(e),To(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 Oi(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function As(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Ms(e){e._nesting--,To(e)}var Xl=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new ut;onMicrotaskEmpty=new ut;onStable=new ut;onError=new ut;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 pp(e){return Jl(e,"__ignore_ng_zone__")}function gp(e){return Jl(e,"__scheduler_tick__")}function Jl(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var Fn=class{_console=console;handleError(e){this._console.error("ERROR",e)}},mp=new se("",{providedIn:"root",factory:()=>{let e=re(Me),t=re(Fn);return n=>e.runOutsideAngular(()=>t.handleError(n))}});function yp(){return eu(Vn(),fe())}function eu(e,t){return new tu(Rt(e,t))}var tu=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=yp}return e})();function Vs(e,t){let n=Mf(e),r=n[ct];return t?.equal&&(r.equal=t.equal),n.set=i=>Ca(r,i),n.update=i=>Vf(r,i),n.asReadonly=vp.bind(n),n}function vp(){let e=this[ct];if(e.readonlyFn===void 0){let t=()=>this();t[ct]=e,e.readonlyFn=t}return e.readonlyFn}function nu(e){return(e.flags&128)===128}var ru=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(ru||{}),iu=new Map,bp=0;function wp(){return bp++}function Ep(e){iu.set(e[Or],e)}function Ni(e){iu.delete(e[Or])}var Ps="__ngContext__";function jn(e,t){Et(t)?(e[Ps]=t[Or],Ep(t)):e[Ps]=t}function ou(e){return au(e[In])}function su(e){return au(e[qe])}function au(e){for(;e!==null&&!Ot(e);)e=e[qe];return e}var Ri;function _p(e){Ri=e}function lu(){if(Ri!==void 0)return Ri;if(typeof document<"u")return document;throw new Y(210,!1)}var uu=new se("",{providedIn:"root",factory:()=>Sp}),Sp="ng",cu=new se(""),xo=new se("",{providedIn:"platform",factory:()=>"unknown"}),fu=new se("",{providedIn:"root",factory:()=>lu().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),Ip="h",Cp="b",du=!1,Tp=new se("",{providedIn:"root",factory:()=>du}),hu=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(hu||{}),ko=new se(""),Fs=new Set;function Fr(e){Fs.has(e)||(Fs.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var xp=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=pe({token:e,providedIn:"root",factory:()=>new e})}return e})(),kp=()=>null;function pu(e,t,n=!1){return kp(e,t,n)}function gu(e,t){let n=e.contentQueries;if(n!==null){let r=K(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];xl(o),a.contentQueries(2,t[s],s)}}}finally{K(r)}}}function Ai(e,t,n){xl(0);let r=K(null);try{t(e,n)}finally{K(r)}}function mu(e,t,n){if(hl(t)){let r=K(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{K(r)}}}var tt=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(tt||{}),Qn;function Dp(){if(Qn===void 0&&(Qn=null,cr.trustedTypes))try{Qn=cr.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Qn}function jr(e){return Dp()?.createHTML(e)||e}var Yn;function Op(){if(Yn===void 0&&(Yn=null,cr.trustedTypes))try{Yn=cr.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Yn}function js(e){return Op()?.createHTML(e)||e}var Mt=class{changingThisBreaksApplicationSecurity;constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Ga})`}},Np=class extends Mt{getTypeName(){return"HTML"}},Rp=class extends Mt{getTypeName(){return"Style"}},Ap=class extends Mt{getTypeName(){return"Script"}},Mp=class extends Mt{getTypeName(){return"URL"}},Vp=class extends Mt{getTypeName(){return"ResourceURL"}};function lt(e){return e instanceof Mt?e.changingThisBreaksApplicationSecurity:e}function vt(e,t){let n=Pp(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Ga})`)}return n===t}function Pp(e){return e instanceof Mt&&e.getTypeName()||null}function Fp(e){return new Np(e)}function jp(e){return new Rp(e)}function Lp(e){return new Ap(e)}function Hp(e){return new Mp(e)}function Bp(e){return new Vp(e)}function zp(e){let t=new Zp(e);return Wp()?new Up(t):t}var Up=class{inertDocumentHelper;constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e="<body><remove></remove>"+e;try{let t=new window.DOMParser().parseFromString(jr(e),"text/html").body;return t===null?this.inertDocumentHelper.getInertBodyElement(e):(t.firstChild?.remove(),t)}catch{return null}}},Zp=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=jr(e),t}};function Wp(){try{return!!new window.DOMParser().parseFromString(jr(""),"text/html")}catch{return!1}}var qp=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Do(e){return e=String(e),e.match(qp)?e:"unsafe:"+e}function ot(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Ln(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var yu=ot("area,br,col,hr,img,wbr"),vu=ot("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),bu=ot("rp,rt"),$p=Ln(bu,vu),Gp=Ln(vu,ot("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")),Kp=Ln(bu,ot("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")),Ls=Ln(yu,Gp,Kp,$p),wu=ot("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Qp=ot("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"),Yp=ot("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"),Xp=Ln(wu,Qp,Yp),Jp=ot("script,style,template"),eg=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=rg(t);continue}for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let i=ng(t);if(i){t=i;break}t=r.pop()}}return this.buf.join("")}startElement(e){let t=Hs(e).toLowerCase();if(!Ls.hasOwnProperty(t))return this.sanitizedSomething=!0,!Jp.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(!Xp.hasOwnProperty(s)){this.sanitizedSomething=!0;continue}let a=i.value;wu[s]&&(a=Do(a)),this.buf.push(" ",o,'="',Bs(a),'"')}return this.buf.push(">"),!0}endElement(e){let t=Hs(e).toLowerCase();Ls.hasOwnProperty(t)&&!yu.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(e){this.buf.push(Bs(e))}};function tg(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function ng(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Eu(t);return t}function rg(e){let t=e.firstChild;if(t&&tg(e,t))throw Eu(t);return t}function Hs(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Eu(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var ig=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,og=/([^\#-~ |!])/g;function Bs(e){return e.replace(/&/g,"&").replace(ig,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(og,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var Xn;function _u(e,t){let n=null;try{Xn=Xn||zp(e);let r=t?String(t):"";n=Xn.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=Xn.getInertBodyElement(r)}while(r!==o);let s=new eg().sanitizeChildren(zs(n)||n);return jr(s)}finally{if(n){let r=zs(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function zs(e){return"content"in e&&sg(e)?e.content:null}function sg(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var Je=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}(Je||{});function Su(e){let t=Iu();return t?js(t.sanitize(Je.HTML,e)||""):vt(e,"HTML")?js(lt(e)):_u(lu(),xr(e))}function ag(e){let t=Iu();return t?t.sanitize(Je.URL,e)||"":vt(e,"URL")?lt(e):Do(xr(e))}function Iu(){let e=fe();return e&&e[rt].sanitizer}function lg(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 Cu="ng-template";function ug(e,t,n,r){let i=0;if(r){for(;i<t.length&&typeof t[i]=="string";i+=2)if(t[i]==="class"&&lg(t[i+1].toLowerCase(),n,0)!==-1)return!0}else if(Oo(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 Oo(e){return e.type===4&&e.value!==Cu}function cg(e,t,n){let r=e.type===4&&!n?Cu:e.value;return t===r}function fg(e,t,n){let r=4,i=e.attrs,o=i!==null?pg(i):0,s=!1;for(let a=0;a<t.length;a++){let l=t[a];if(typeof l=="number"){if(!s&&!Ue(r)&&!Ue(l))return!1;if(s&&Ue(l))continue;s=!1,r=l|r&1;continue}if(!s)if(r&4){if(r=2|r&1,l!==""&&!cg(e,l,n)||l===""&&t.length===1){if(Ue(r))return!1;s=!0}}else if(r&8){if(i===null||!ug(e,i,l,n)){if(Ue(r))return!1;s=!0}}else{let d=t[++a],h=dg(l,i,Oo(e),n);if(h===-1){if(Ue(r))return!1;s=!0;continue}if(d!==""){let p;if(h>o?p="":p=i[h+1].toLowerCase(),r&2&&d!==p){if(Ue(r))return!1;s=!0}}}}return Ue(r)||s}function Ue(e){return(e&1)===0}function dg(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 gg(t,e)}function hg(e,t,n=!1){for(let r=0;r<t.length;r++)if(fg(e,t[r],n))return!0;return!1}function pg(e){for(let t=0;t<e.length;t++){let n=e[t];if(Wh(n))return t}return e.length}function gg(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 Us(e,t){return e?":not("+t.trim()+")":t}function mg(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!==""&&!Ue(s)&&(t+=Us(o,i),i=""),r=s,o=o||!Ue(r);n++}return i!==""&&(t+=Us(o,i)),t}function yg(e){return e.map(mg).join(",")}function vg(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(!Ue(i))break;i=o}r++}return n.length&&t.push(1,...n),t}var mt={};function bg(e,t){return e.createText(t)}function wg(e,t,n){e.setValue(t,n)}function Tu(e,t,n){return e.createElement(t,n)}function Mi(e,t,n,r,i){e.insertBefore(t,n,r,i)}function xu(e,t,n){e.appendChild(t,n)}function Zs(e,t,n,r,i){r!==null?Mi(e,t,n,r,i):xu(e,t,n)}function Eg(e,t,n){e.removeChild(null,t,n)}function _g(e,t,n){e.setAttribute(t,"style",n)}function Sg(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function ku(e,t,n){let{mergedAttrs:r,classes:i,styles:o}=n;r!==null&&Zh(e,t,r),i!==null&&Sg(e,t,i),o!==null&&_g(e,t,o)}function No(e,t,n,r,i,o,s,a,l,d,h){let p=Ie+r,_=p+i,w=Ig(p,_),E=typeof d=="function"?d():d;return w[W]={type:e,blueprint:w,template:n,queries:null,viewQuery:a,declTNode:t,data:w.slice().fill(null,p),bindingStartIndex:p,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:E,incompleteFirstPass:!1,ssrId:h}}function Ig(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:mt);return n}function Cg(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=No(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Ro(e,t,n,r,i,o,s,a,l,d,h){let p=t.blueprint.slice();return p[it]=i,p[j]=r|4|128|8|64|1024,(d!==null||e&&e[j]&2048)&&(p[j]|=2048),wl(p),p[He]=p[rn]=e,p[we]=n,p[rt]=s||e&&e[rt],p[Pe]=a||e&&e[Pe],p[Sn]=l||e&&e[Sn]||null,p[Ke]=o,p[Or]=wp(),p[_n]=h,p[fl]=d,p[Ge]=t.type==2?e[Ge]:p,p}function Tg(e,t,n){let r=Rt(t,e),i=Cg(n),o=e[rt].rendererFactory,s=Nu(e,Ro(e,i,null,Du(n),r,t,null,o.createRenderer(r,n),null,null,null));return e[t.index]=s}function Du(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Ou(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 Nu(e,t){return e[In]?e[Cs][qe]=t:e[In]=t,e[Cs]=t,t}function qt(e=1){Ru(Qe(),fe(),At()+e,!1)}function Ru(e,t,n,r){if(!r)if((t[j]&3)===3){let i=e.preOrderCheckHooks;i!==null&&rr(t,i,n)}else{let i=e.preOrderHooks;i!==null&&ir(t,i,0,n)}Ct(n)}var Lr=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Lr||{});function Vi(e,t,n,r){let i=K(null);try{let[o,s,a]=e.inputs[n],l=null;(s&Lr.SignalBased)!==0&&(l=t[o][ct]),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):gl(t,l,o,r)}finally{K(i)}}function Au(e,t,n,r,i){let o=At(),s=r&2;try{Ct(-1),s&&t.length>Ie&&Ru(e,t,Ie,!1),le(s?2:0,i),n(r,i)}finally{Ct(o),le(s?3:1,i)}}function Ao(e,t,n){Ag(e,t,n),(n.flags&64)===64&&Mg(e,t,n)}function Mu(e,t,n=Rt){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 xg(e,t,n,r){let i=r.get(Tp,du)||n===tt.ShadowDom,o=e.selectRootElement(t,i);return kg(o),o}function kg(e){Dg(e)}var Dg=()=>null;function Og(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function Ng(e,t,n,r,i,o,s,a){if(!a&&Mo(t,e,n,r,i)){Nr(t)&&Rg(n,t.index);return}if(t.type&3){let l=Rt(t,n);r=Og(r),i=s!=null?s(i,t.value||"",r):i,o.setProperty(l,r,i)}else t.type&12}function Rg(e,t){let n=St(t,e);n[j]&16||(n[j]|=64)}function Ag(e,t,n){let r=n.directiveStart,i=n.directiveEnd;Nr(n)&&Tg(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||jl(n,t);let o=n.initialInputs;for(let s=r;s<i;s++){let a=e.data[s],l=ki(t,e,s,n);if(jn(l,t),o!==null&&Pg(t,s-r,l,a,n,o),Nt(a)){let d=St(n.index,t);d[we]=ki(t,e,s,n)}}}function Mg(e,t,n){let r=n.directiveStart,i=n.directiveEnd,o=n.index,s=Ah();try{Ct(o);for(let a=r;a<i;a++){let l=e.data[a],d=t[a];Ii(a),(l.hostBindings!==null||l.hostVars!==0||l.hostAttrs!==null)&&Vg(l,d)}}finally{Ct(-1),Ii(s)}}function Vg(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function Vu(e,t){let n=e.directiveRegistry,r=null;if(n)for(let i=0;i<n.length;i++){let o=n[i];hg(t,o.selectors,!1)&&(r??=[],Nt(o)?r.unshift(o):r.push(o))}return r}function Pg(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],d=s[a+1];Vi(r,n,l,d)}}function Fg(e,t){let n=e[Sn],r=n?n.get(Fn,null):null;r&&r.handleError(t)}function Mo(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 d=s[l],h=s[l+1],p=t.data[d];Vi(p,n[d],h,i),a=!0}if(o)for(let l of o){let d=n[l],h=t.data[l];Vi(h,d,r,i),a=!0}return a}function jg(e,t){let n=St(t,e),r=n[W];Lg(r,n);let i=n[it];i!==null&&n[_n]===null&&(n[_n]=pu(i,n[Sn])),le(18),Vo(r,n,n[we]),le(19,n[we])}function Lg(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Vo(e,t,n){yo(t);try{let r=e.viewQuery;r!==null&&Ai(1,r,n);let i=e.template;i!==null&&Au(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Yt]?.finishViewCreation(e),e.staticContentQueries&&gu(e,t),e.staticViewQueries&&Ai(2,e.viewQuery,n);let o=e.components;o!==null&&Hg(t,o)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[j]&=-5,vo()}}function Hg(e,t){for(let n=0;n<t.length;n++)jg(e,t[n])}function Po(e,t,n,r){let i=K(null);try{let o=t.tView,s=e[j]&4096?4096:16,a=Ro(e,o,n,s,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[t.index];a[Qt]=l;let d=e[Yt];return d!==null&&(a[Yt]=d.createEmbeddedView(o)),Vo(o,a,n),a}finally{K(i)}}function Fo(e,t){return!t||t.firstChild===null||nu(e)}var Bg;function jo(e,t){return Bg(e,t)}var wt=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(wt||{});function Pu(e){return(e.flags&32)===32}function zt(e,t,n,r,i){if(r!=null){let o,s=!1;Ot(r)?o=r:Et(r)&&(s=!0,r=r[it]);let a=ht(r);e===0&&n!==null?i==null?xu(t,n,a):Mi(t,n,a,i||null,!0):e===1&&n!==null?Mi(t,n,a,i||null,!0):e===2?Eg(t,a,s):e===3&&t.destroyNode(a),o!=null&&Jg(t,e,o,n,i)}}function zg(e,t){Fu(e,t),t[it]=null,t[Ke]=null}function Ug(e,t,n,r,i,o){r[it]=i,r[Ke]=t,Hr(e,r,n,1,i,o)}function Fu(e,t){t[rt].changeDetectionScheduler?.notify(9),Hr(e,t,t[Pe],2,null,null)}function Zg(e){let t=e[In];if(!t)return oi(e[W],e);for(;t;){let n=null;if(Et(t))n=t[In];else{let r=t[De];r&&(n=r)}if(!n){for(;t&&!t[qe]&&t!==e;)Et(t)&&oi(t[W],t),t=t[He];t===null&&(t=e),Et(t)&&oi(t[W],t),n=t&&t[qe]}t=n}}function Lo(e,t){let n=e[pr],r=n.indexOf(t);n.splice(r,1)}function Ho(e,t){if(Mn(t))return;let n=t[Pe];n.destroyNode&&Hr(e,t,n,3,null,null),Zg(t)}function oi(e,t){if(Mn(t))return;let n=K(null);try{t[j]&=-129,t[j]|=256,t[Ae]&&ba(t[Ae]),qg(e,t),Wg(e,t),t[W].type===1&&t[Pe].destroy();let r=t[Qt];if(r!==null&&Ot(t[He])){r!==t[He]&&Lo(r,t);let i=t[Yt];i!==null&&i.detachView(e)}Ni(t)}finally{K(n)}}function Wg(e,t){let n=e.cleanup,r=t[Is];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[Is]=null);let i=t[dt];if(i!==null){t[dt]=null;for(let s=0;s<i.length;s++){let a=i[s];a()}}let o=t[hr];if(o!==null){t[hr]=null;for(let s of o)s.destroy()}}function qg(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 Eo)){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];le(4,a,l);try{l.call(a)}finally{le(5,a,l)}}else{le(4,i,o);try{o.call(i)}finally{le(5,i,o)}}}}}function $g(e,t,n){return Gg(e,t.parent,n)}function Gg(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[it];if(Nr(r)){let{encapsulation:i}=e.data[r.directiveStart+r.componentOffset];if(i===tt.None||i===tt.Emulated)return null}return Rt(r,n)}function Kg(e,t,n){return Yg(e,t,n)}function Qg(e,t,n){return e.type&40?Rt(e,n):null}var Yg=Qg,Ws;function Bo(e,t,n,r){let i=$g(e,r,t),o=t[Pe],s=r.parent||t[Ke],a=Kg(s,r,t);if(i!=null)if(Array.isArray(n))for(let l=0;l<n.length;l++)Zs(o,i,n[l],a,!1);else Zs(o,i,n,a,!1);Ws!==void 0&&Ws(o,r,t,n,i)}function mn(e,t){if(t!==null){let n=t.type;if(n&3)return Rt(t,e);if(n&4)return Pi(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return mn(e,r);{let i=e[t.index];return Ot(i)?Pi(-1,i):ht(i)}}else{if(n&128)return mn(e,t.next);if(n&32)return jo(t,e)()||ht(e[t.index]);{let r=ju(e,t);if(r!==null){if(Array.isArray(r))return r[0];let i=It(e[Ge]);return mn(i,r)}else return mn(e,t.next)}}}return null}function ju(e,t){if(t!==null){let n=e[Ge][Ke],r=t.projection;return n.projection[r]}return null}function Pi(e,t){let n=De+e+1;if(n<t.length){let r=t[n],i=r[W].firstChild;if(i!==null)return mn(r,i)}return t[Cn]}function zo(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&&jn(ht(a),r),n.flags|=2),!Pu(n))if(l&8)zo(e,t,n.child,r,i,o,!1),zt(t,e,i,a,o);else if(l&32){let d=jo(n,r),h;for(;h=d();)zt(t,e,i,h,o);zt(t,e,i,a,o)}else l&16?Xg(e,t,r,n,i,o):zt(t,e,i,a,o);n=s?n.projectionNext:n.next}}function Hr(e,t,n,r,i,o){zo(n,r,e.firstChild,t,i,o,!1)}function Xg(e,t,n,r,i,o){let s=n[Ge],a=s[Ke].projection[r.projection];if(Array.isArray(a))for(let l=0;l<a.length;l++){let d=a[l];zt(t,e,i,d,o)}else{let l=a,d=s[He];nu(r)&&(l.flags|=128),zo(e,t,l,d,i,o,!0)}}function Jg(e,t,n,r,i){let o=n[Cn],s=ht(n);o!==s&&zt(t,e,r,o,i);for(let a=De;a<n.length;a++){let l=n[a];Hr(l[W],l,e,t,r,o)}}function em(e,t,n,r,i){if(t)i?e.addClass(n,r):e.removeClass(n,r);else{let o=r.indexOf("-")===-1?void 0:wt.DashCase;i==null?e.removeStyle(n,r,o):(typeof i=="string"&&i.endsWith("!important")&&(i=i.slice(0,-10),o|=wt.Important),e.setStyle(n,r,i,o))}}function br(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(ht(o)),Ot(o)&&tm(o,r);let s=n.type;if(s&8)br(e,t,n.child,r);else if(s&32){let a=jo(n,t),l;for(;l=a();)r.push(l)}else if(s&16){let a=ju(t,n);if(Array.isArray(a))r.push(...a);else{let l=It(t[Ge]);br(l[W],l,a,r,!0)}}n=i?n.projectionNext:n.next}return r}function tm(e,t){for(let n=De;n<e.length;n++){let r=e[n],i=r[W].firstChild;i!==null&&br(r[W],r,i,t)}e[Cn]!==e[it]&&t.push(e[Cn])}function Lu(e){if(e[ti]!==null){for(let t of e[ti])t.impl.addSequence(t);e[ti].length=0}}var Hu=[];function nm(e){return e[Ae]??rm(e)}function rm(e){let t=Hu.pop()??Object.create(om);return t.lView=e,t}function im(e){e.lView[Ae]!==e&&(e.lView=null,Hu.push(e))}var om=nn(xt({},no),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Ar(e.lView)},consumerOnSignalRead(){this.lView[Ae]=this}});function sm(e){let t=e[Ae]??Object.create(am);return t.lView=e,t}var am=nn(xt({},no),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=It(e.lView);for(;t&&!Bu(t[W]);)t=It(t);t&&mo(t)},consumerOnSignalRead(){this.lView[Ae]=this}});function Bu(e){return e.type!==2}function zu(e){if(e[hr]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[hr])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[j]&8192)}}var lm=100;function Uu(e,t=!0,n=0){let r=e[rt].rendererFactory,i=!1;i||r.begin?.();try{um(e,n)}catch(o){throw t&&Fg(e,o),o}finally{i||r.end?.()}}function um(e,t){let n=Cl();try{Ts(!0),Fi(e,t);let r=0;for(;Rr(e);){if(r===lm)throw new Y(103,!1);r++,Fi(e,1)}}finally{Ts(n)}}function cm(e,t,n,r){if(Mn(t))return;let i=t[j],o=!1,s=!1;yo(t);let a=!0,l=null,d=null;o||(Bu(e)?(d=nm(t),l=fs(d)):Cf()===null?(a=!1,d=sm(t),l=fs(d)):t[Ae]&&(ba(t[Ae]),t[Ae]=null));try{wl(t),Dh(e.bindingStartIndex),n!==null&&Au(e,t,n,2,r);let h=(i&3)===3;if(!o)if(h){let w=e.preOrderCheckHooks;w!==null&&rr(t,w,null)}else{let w=e.preOrderHooks;w!==null&&ir(t,w,0,null),ni(t,0)}if(s||fm(t),zu(t),Zu(t,0),e.contentQueries!==null&&gu(e,t),!o)if(h){let w=e.contentCheckHooks;w!==null&&rr(t,w)}else{let w=e.contentHooks;w!==null&&ir(t,w,1),ni(t,1)}hm(e,t);let p=e.components;p!==null&&qu(t,p,0);let _=e.viewQuery;if(_!==null&&Ai(2,_,r),!o)if(h){let w=e.viewCheckHooks;w!==null&&rr(t,w)}else{let w=e.viewHooks;w!==null&&ir(t,w,2),ni(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[ei]){for(let w of t[ei])w();t[ei]=null}o||(Lu(t),t[j]&=-73)}catch(h){throw o||Ar(t),h}finally{d!==null&&(Of(d,l),a&&im(d)),vo()}}function Zu(e,t){for(let n=ou(e);n!==null;n=su(n))for(let r=De;r<n.length;r++){let i=n[r];Wu(i,t)}}function fm(e){for(let t=ou(e);t!==null;t=su(t)){if(!(t[j]&2))continue;let n=t[pr];for(let r=0;r<n.length;r++){let i=n[r];mo(i)}}}function dm(e,t,n){le(18);let r=St(t,e);Wu(r,n),le(19,r[we])}function Wu(e,t){go(e)&&Fi(e,t)}function Fi(e,t){let n=e[W],r=e[j],i=e[Ae],o=!!(t===0&&r&16);if(o||=!!(r&64&&t===0),o||=!!(r&1024),o||=!!(i?.dirty&&va(i)),o||=!1,i&&(i.dirty=!1),e[j]&=-9217,o)cm(n,e,n.template,e[we]);else if(r&8192){zu(e),Zu(e,1);let s=n.components;s!==null&&qu(e,s,1),Lu(e)}}function qu(e,t,n){for(let r=0;r<t.length;r++)dm(e,t[r],n)}function hm(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)Ct(~i);else{let o=i,s=n[++r],a=n[++r];Rh(s,o);let l=t[o];le(24,l),a(2,l),le(25,l)}}}finally{Ct(-1)}}function $u(e,t){let n=Cl()?64:1088;for(e[rt].changeDetectionScheduler?.notify(t);e;){e[j]|=n;let r=It(e);if(gr(e)&&!r)return e;e=r}return null}function pm(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Gu(e,t){let n=De+t;if(n<e.length)return e[n]}function Uo(e,t,n,r=!0){let i=t[W];if(gm(i,t,e,n),r){let s=Pi(n,e),a=t[Pe],l=a.parentNode(e[Cn]);l!==null&&Ug(i,e[Ke],a,t,l,s)}let o=t[_n];o!==null&&o.firstChild!==null&&(o.firstChild=null)}function Ku(e,t){let n=Zo(e,t);return n!==void 0&&Ho(n[W],n),n}function Zo(e,t){if(e.length<=De)return;let n=De+t,r=e[n];if(r){let i=r[Qt];i!==null&&i!==e&&Lo(i,r),t>0&&(e[n-1][qe]=r[qe]);let o=tl(e,De+t);zg(r[W],r);let s=o[Yt];s!==null&&s.detachView(o[W]),r[He]=null,r[qe]=null,r[j]&=-129}return r}function gm(e,t,n,r){let i=De+r,o=n.length;r>0&&(n[i-1][qe]=t),r<o-De?(t[qe]=n[i],qd(n,De+r,t)):(n.push(t),t[qe]=null),t[He]=n;let s=t[Qt];s!==null&&n!==s&&Qu(s,t);let a=t[Yt];a!==null&&a.insertView(e),_i(t),t[j]|=128}function Qu(e,t){let n=e[pr],r=t[He];if(Et(r))e[j]|=2;else{let i=r[He][Ge];t[Ge]!==i&&(e[j]|=2)}n===null?e[pr]=[t]:n.push(t)}var mm=class{_lView;_cdRefInjectingView;notifyErrorHandler;_appRef=null;_attachedToViewContainer=!1;get rootNodes(){let e=this._lView,t=e[W];return br(t,e,t.firstChild,[])}constructor(e,t,n=!0){this._lView=e,this._cdRefInjectingView=t,this.notifyErrorHandler=n}get context(){return this._lView[we]}get dirty(){return!!(this._lView[j]&9280)||!!this._lView[Ae]?.dirty}set context(e){this._lView[we]=e}get destroyed(){return Mn(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let e=this._lView[He];if(Ot(e)){let t=e[ch],n=t?t.indexOf(this):-1;n>-1&&(Zo(e,n),tl(t,n))}this._attachedToViewContainer=!1}Ho(this._lView[W],this._lView)}onDestroy(e){El(this._lView,e)}markForCheck(){$u(this._cdRefInjectingView||this._lView,4)}markForRefresh(){mo(this._cdRefInjectingView||this._lView)}detach(){this._lView[j]&=-129}reattach(){_i(this._lView),this._lView[j]|=128}detectChanges(){this._lView[j]|=1024,Uu(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Y(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let e=gr(this._lView),t=this._lView[Qt];t!==null&&!e&&Lo(t,this._lView),Fu(this._lView[W],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new Y(902,!1);this._appRef=e;let t=gr(this._lView),n=this._lView[Qt];n!==null&&!t&&Qu(n,this._lView),_i(this._lView)}};function Br(e,t,n,r,i){let o=e.data[t];if(o===null)o=ym(e,t,n,r,i),Nh()&&(o.flags|=32);else if(o.type&64){o.type=n,o.value=r,o.attrs=i;let s=xh();o.injectorIndex=s===null?-1:s.injectorIndex}return on(o,!0),o}function ym(e,t,n,r,i){let o=Sl(),s=Il(),a=s?o:o&&o.parent,l=e.data[t]=bm(e,a,n,t,r,i);return vm(e,l,o,s),l}function vm(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 bm(e,t,n,r,i,o){let s=t?t.injectorIndex:-1,a=0;return Ih()&&(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 Hb=new RegExp(`^(\\d+)*(${Cp}|${Ip})*(.*)`),wm=()=>null;function Wo(e,t){return wm(e,t)}var Em=class{},Yu=class{},_m=class{resolveComponentFactory(e){throw Error(`No component factory found for ${We(e)}.`)}},Hn=class{static NULL=new _m},qo=class{},Sm=(()=>{class e{static \u0275prov=pe({token:e,providedIn:"root",factory:()=>null})}return e})();function qs(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=ys(i,a);else if(o==2){let l=a,d=t[++s];r=ys(r,l+": "+d+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}function zr(e,t=U.Default){let n=fe();if(n===null)return oe(e,t);let r=Vn();return Ul(r,n,Ze(e),t)}function Xu(e,t,n,r,i){let o=r===null?null:{"":-1},s=i(e,n);if(s!==null){let a,l=null,d=null,h=Cm(s);h===null?a=s:[a,l,d]=h,km(e,t,n,a,o,l,d)}o!==null&&r!==null&&Im(n,r,o)}function Im(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 Y(-301,!1);r.push(t[i],o)}}function Cm(e){let t=null,n=!1;for(let s=0;s<e.length;s++){let a=e[s];if(s===0&&Nt(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,Tm(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 Tm(e,t,n,r){let i=t.length;e.findHostDirectiveDefs(e,t,r),n.set(e,[i,t.length-1])}function xm(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function km(e,t,n,r,i,o,s){let a=r.length,l=!1;for(let _=0;_<a;_++){let w=r[_];!l&&Nt(w)&&(l=!0,xm(e,n,_)),Jh(jl(n,t),e,w.type)}Mm(n,e.data.length,a);for(let _=0;_<a;_++){let w=r[_];w.providersResolver&&w.providersResolver(w)}let d=!1,h=!1,p=Ou(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let _=0;_<a;_++){let w=r[_];if(n.mergedAttrs=_o(n.mergedAttrs,w.hostAttrs),Om(e,n,t,p,w),Am(p,w,i),s!==null&&s.has(w)){let[I,O]=s.get(w);n.directiveToIndex.set(w.type,[p,I+n.directiveStart,O+n.directiveStart])}else(o===null||!o.has(w))&&n.directiveToIndex.set(w.type,p);w.contentQueries!==null&&(n.flags|=4),(w.hostBindings!==null||w.hostAttrs!==null||w.hostVars!==0)&&(n.flags|=64);let E=w.type.prototype;!d&&(E.ngOnChanges||E.ngOnInit||E.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),d=!0),!h&&(E.ngOnChanges||E.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),h=!0),p++}Dm(e,n,o)}function Dm(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let i=e.data[r];if(n===null||!n.has(i))$s(0,t,i,r),$s(1,t,i,r),Ks(t,r,!1);else{let o=n.get(i);Gs(0,t,o,r),Gs(1,t,o,r),Ks(t,r,!0)}}}function $s(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),Ju(t,o)}}function Gs(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),Ju(t,s)}}function Ju(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function Ks(e,t,n){let{attrs:r,inputs:i,hostDirectiveInputs:o}=e;if(r===null||!n&&i===null||n&&o===null||Oo(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 d=i[l];for(let h of d)if(h===t){s??=[],s.push(l,r[a+1]);break}}else if(n&&o.hasOwnProperty(l)){let d=o[l];for(let h=0;h<d.length;h+=2)if(d[h]===t){s??=[],s.push(d[h+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function Om(e,t,n,r,i){e.data[r]=i;let o=i.factory||(i.factory=Gt(i.type,!0)),s=new Eo(o,Nt(i),zr);e.blueprint[r]=s,n[r]=s,Nm(e,t,r,Ou(e,n,i.hostVars,mt),i)}function Nm(e,t,n,r,i){let o=i.hostBindings;if(o){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;Rm(s)!=a&&s.push(a),s.push(n,r,o)}}function Rm(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function Am(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Nt(t)&&(n[""]=e)}}function Mm(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function ec(e,t,n,r,i,o,s,a){let l=t.consts,d=Xt(l,s),h=Br(t,e,2,r,d);return o&&Xu(t,n,h,Xt(l,a),i),h.mergedAttrs=_o(h.mergedAttrs,h.attrs),h.attrs!==null&&qs(h,h.attrs,!1),h.mergedAttrs!==null&&qs(h,h.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,h),h}function tc(e,t){Ml(e,t),hl(t)&&e.queries.elementEnd(t)}var Vm=class extends Hn{ngModule;constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){let t=Dr(e);return new Bm(t,this.ngModule)}};function Pm(e){return Object.keys(e).map(t=>{let[n,r,i]=e[t],o={propName:n,templateName:t,isSignal:(r&Lr.SignalBased)!==0};return i&&(o.transform=i),o})}function Fm(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function jm(e,t,n){let r=t instanceof En?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new $h(n,r):n}function Lm(e){let t=e.get(qo,null);if(t===null)throw new Y(407,!1);let n=e.get(Sm,null),r=e.get(Pn,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r}}function Hm(e,t){let n=(e.selectors[0][0]||"div").toLowerCase();return Tu(t,n,n==="svg"?yh:n==="math"?vh:null)}var Bm=class extends Yu{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;get inputs(){return Pm(this.componentDef.inputs)}get outputs(){return Fm(this.componentDef.outputs)}constructor(e,t){super(),this.componentDef=e,this.ngModule=t,this.componentType=e.type,this.selector=yg(e.selectors),this.ngContentSelectors=e.ngContentSelectors??[],this.isBoundToModule=!!t}create(e,t,n,r){le(22);let i=K(null);try{let o=this.componentDef,s=n?["ng-version","19.2.0"]:vg(this.componentDef.selectors[0]),a=No(0,null,null,1,0,null,null,null,null,[s],null),l=jm(o,r||this.ngModule,e),d=Lm(l),h=d.rendererFactory.createRenderer(null,o),p=n?xg(h,n,o.encapsulation,l):Hm(o,h),_=Ro(null,a,null,512|Du(o),null,null,d,h,l,null,pu(p,l,!0));_[Ie]=p,yo(_);let w=null;try{let E=ec(Ie,a,_,"#host",()=>[this.componentDef],!0,0);p&&(ku(h,p,E),jn(p,_)),Ao(a,_,E),mu(a,E,_),tc(a,E),t!==void 0&&Um(E,this.ngContentSelectors,t),w=St(E.index,_),_[we]=w[we],Vo(a,_,null)}catch(E){throw w!==null&&Ni(w),Ni(_),E}finally{le(23),vo()}return new zm(this.componentType,_)}finally{K(i)}}},zm=class extends Em{_rootLView;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(e,t){super(),this._rootLView=t,this._tNode=po(t[W],Ie),this.location=eu(this._tNode,t),this.instance=St(this._tNode.index,t)[we],this.hostView=this.changeDetectorRef=new mm(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=Mo(n,r[W],r,e,t);this.previousInputValues.set(e,t);let o=St(n.index,r);$u(o,1)}get injector(){return new Wl(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}};function Um(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 Zm=()=>!1;function Wm(e,t,n){return Zm(e,t,n)}var ji=class{},nc=class extends ji{injector;componentFactoryResolver=new Vm(this);instance=null;constructor(e){super();let t=new ho([...e.providers,{provide:ji,useValue:this},{provide:Hn,useValue:this.componentFactoryResolver}],e.parent||fo(),e.debugName,new Set(["environment"]));this.injector=t,e.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function qm(e,t,n=null){return new nc({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var $m=(()=>{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=al(!1,n.type),i=r.length>0?qm([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=pe({token:e,providedIn:"environment",factory:()=>new e(oe(En))})}return e})();function Gm(e){return Td(()=>{let t=Jm(e),n=nn(xt({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===ru.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?i=>i.get($m).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||tt.Emulated,styles:e.styles||_t,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&Fr("NgStandalone"),ey(n);let r=e.dependencies;return n.directiveDefs=Qs(r,!1),n.pipeDefs=Qs(r,!0),n.id=ty(n),n})}function Km(e){return Dr(e)||ol(e)}function Qm(e){return e!==null}function Ym(e,t){if(e==null)return Kt;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=Lr.None,l=null),n[o]=[r,a,l],t[o]=s}return n}function Xm(e){if(e==null)return Kt;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function $o(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 Jm(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||Kt,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||_t,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Ym(e.inputs,t),outputs:Xm(e.outputs),debugInfo:null}}function ey(e){e.features?.forEach(t=>t(e))}function Qs(e,t){if(!e)return null;let n=t?sl:Km;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(Qm)}function ty(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 rc(e,t,n){return e[t]=n}function pt(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function ny(e,t,n,r){let i=pt(e,t,n);return pt(e,t+1,r)||i}function ry(e,t,n,r,i,o,s,a,l){let d=t.consts,h=Br(t,e,4,s||null,a||null);_l()&&Xu(t,n,h,Xt(d,l),Vu),h.mergedAttrs=_o(h.mergedAttrs,h.attrs),Ml(t,h);let p=h.tView=No(2,h,r,i,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,d,null);return t.queries!==null&&(t.queries.template(t,h),p.queries=t.queries.embeddedTView(h)),h}function Li(e,t,n,r,i,o,s,a,l,d){let h=n+Ie,p=t.firstCreatePass?ry(h,t,e,r,i,o,s,a,l):t.data[h];on(p,!1);let _=iy(t,e,p,n);bo()&&Bo(t,e,_,p),jn(_,e);let w=pm(_,e,_,p);return e[h]=w,Nu(e,w),Wm(w,p,e),pl(p)&&Ao(t,e,p),l!=null&&Mu(e,p,d),p}function ic(e,t,n,r,i,o,s,a){let l=fe(),d=Qe(),h=Xt(d.consts,o);return Li(l,d,e,t,n,r,i,h,s,a),ic}var iy=oy;function oy(e,t,n,r){return wo(!0),t[Pe].createComment("")}var sy=new se(""),ay=(()=>{class e{static \u0275prov=pe({token:e,providedIn:"root",factory:()=>new ly})}return e})(),ly=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 oc(e){return!!e&&typeof e.then=="function"}function uy(e){return!!e&&typeof e.subscribe=="function"}var cy=new se(""),sc=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=re(cy,{optional:!0})??[];injector=re(Vr);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let i of this.appInits){let o=cl(this.injector,i);if(oc(o))n.push(o);else if(uy(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=pe({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),fy=new se("");function dy(){Rf(()=>{throw new Y(600,!1)})}function hy(e){return e.isBoundToModule}var py=10,Jt=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=re(mp);afterRenderManager=re(xp);zonelessEnabled=re(So);rootEffectScheduler=re(ay);dirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new Rn;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=re(Pr).hasPendingTasks.pipe(qa(n=>!n));constructor(){re(ko,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:i=>{i&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=re(En);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){le(10);let i=n instanceof Yu;if(!this._injector.get(sc).done){let p=!i&&Qd(n),_=!1;throw new Y(405,_)}let o;i?o=n:o=this._injector.get(Hn).resolveComponentFactory(n),this.componentTypes.push(o.componentType);let s=hy(o)?void 0:this._injector.get(ji),a=r||o.selector,l=o.create(Vr.NULL,[],a,s),d=l.location.nativeElement,h=l.injector.get(sy,null);return h?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),or(this.components,l),h?.unregisterApplication(d)}),this._loadComponent(l),le(11,l),l}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){le(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(hu.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new Y(101,!1);let n=K(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,K(n),this.afterTick.next(),le(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(qo,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<py;)le(14),this.synchronizeOnce(),le(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)gy(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})=>Rr(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;or(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(fy,[]).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),()=>or(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new Y(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=pe({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function or(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function gy(e,t,n,r){!n&&!Rr(e)||Uu(e,t,n&&!r?0:1)}function my(e,t,n,r){return pt(e,Mr(),n)?t+xr(n)+r:mt}function Jn(e,t){return e<<17|t<<2}function Tt(e){return e>>17&32767}function yy(e){return(e&2)==2}function vy(e,t){return e&131071|t<<17}function Hi(e){return e|2}function en(e){return(e&131068)>>2}function si(e,t){return e&-131069|t<<2}function by(e){return(e&1)===1}function Bi(e){return e|1}function wy(e,t,n,r,i,o){let s=o?t.classBindings:t.styleBindings,a=Tt(s),l=en(s);e[r]=n;let d=!1,h;if(Array.isArray(n)){let p=n;h=p[1],(h===null||An(p,h)>0)&&(d=!0)}else h=n;if(i)if(l!==0){let p=Tt(e[a+1]);e[r+1]=Jn(p,a),p!==0&&(e[p+1]=si(e[p+1],r)),e[a+1]=vy(e[a+1],r)}else e[r+1]=Jn(a,0),a!==0&&(e[a+1]=si(e[a+1],r)),a=r;else e[r+1]=Jn(l,0),a===0?a=r:e[l+1]=si(e[l+1],r),l=r;d&&(e[r+1]=Hi(e[r+1])),Ys(e,h,r,!0),Ys(e,h,r,!1),Ey(t,h,e,r,o),s=Jn(a,l),o?t.classBindings=s:t.styleBindings=s}function Ey(e,t,n,r,i){let o=i?e.residualClasses:e.residualStyles;o!=null&&typeof t=="string"&&An(o,t)>=0&&(n[r+1]=Bi(n[r+1]))}function Ys(e,t,n,r){let i=e[n+1],o=t===null,s=r?Tt(i):en(i),a=!1;for(;s!==0&&(a===!1||o);){let l=e[s],d=e[s+1];_y(l,t)&&(a=!0,e[s+1]=r?Bi(d):Hi(d)),s=r?Tt(d):en(d)}a&&(e[n+1]=r?Hi(i):Bi(i))}function _y(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?An(e,t)>=0:!1}function wr(e,t,n){let r=fe(),i=Mr();if(pt(r,i,t)){let o=Qe(),s=Fh();Ng(o,s,r,e,t,r[Pe],n,!1)}return wr}function Xs(e,t,n,r,i){Mo(t,e,n,i?"class":"style",r)}function Go(e,t,n){return Sy(e,t,n,!1),Go}function Sy(e,t,n,r){let i=fe(),o=Qe(),s=Oh(2);if(o.firstUpdatePass&&Cy(o,e,s,r),t!==mt&&pt(i,s,t)){let a=o.data[At()];Oy(o,a,i,i[Pe],e,i[s+1]=Ny(t,n),r,s)}}function Iy(e,t){return t>=e.expandoStartIndex}function Cy(e,t,n,r){let i=e.data;if(i[n+1]===null){let o=i[At()],s=Iy(e,n);Ry(o,r)&&t===null&&!s&&(t=!1),t=Ty(i,o,t,r),wy(i,o,t,n,s,r)}}function Ty(e,t,n,r){let i=Mh(e),o=r?t.residualClasses:t.residualStyles;if(i===null)(r?t.classBindings:t.styleBindings)===0&&(n=ai(null,e,t,n,r),n=Tn(n,t.attrs,r),o=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==i)if(n=ai(i,e,t,n,r),o===null){let a=xy(e,t,r);a!==void 0&&Array.isArray(a)&&(a=ai(null,e,t,a[1],r),a=Tn(a,t.attrs,r),ky(e,t,r,a))}else o=Dy(e,t,r)}return o!==void 0&&(r?t.residualClasses=o:t.residualStyles=o),n}function xy(e,t,n){let r=n?t.classBindings:t.styleBindings;if(en(r)!==0)return e[Tt(r)]}function ky(e,t,n,r){let i=n?t.classBindings:t.styleBindings;e[Tt(i)]=r}function Dy(e,t,n){let r,i=t.directiveEnd;for(let o=1+t.directiveStylingLast;o<i;o++){let s=e[o].hostAttrs;r=Tn(r,s,n)}return Tn(r,t.attrs,n)}function ai(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=Tn(r,o.hostAttrs,i),o!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function Tn(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]),Gd(e,s,n?!0:t[++o]))}return e===void 0?null:e}function Oy(e,t,n,r,i,o,s,a){if(!(t.type&3))return;let l=e.data,d=l[a+1],h=by(d)?Js(l,t,n,i,en(d),s):void 0;if(!Er(h)){Er(o)||yy(d)&&(o=Js(l,null,n,i,a,s));let p=vl(At(),n);em(r,s,p,i,o)}}function Js(e,t,n,r,i,o){let s=t===null,a;for(;i>0;){let l=e[i],d=Array.isArray(l),h=d?l[1]:l,p=h===null,_=n[i+1];_===mt&&(_=p?_t:void 0);let w=p?Xr(_,r):h===r?_:void 0;if(d&&!Er(w)&&(w=Xr(l,r)),Er(w)&&(a=w,s))return a;let E=e[i+1];i=s?Tt(E):en(E)}if(t!==null){let l=o?t.residualClasses:t.residualStyles;l!=null&&(a=Xr(l,r))}return a}function Er(e){return e!==void 0}function Ny(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=We(lt(e)))),e}function Ry(e,t){return(e.flags&(t?8:16))!==0}var Ay=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 li(e,t,n,r,i){return e===n&&Object.is(t,r)?1:Object.is(i(e,t),i(n,r))?-1:0}function My(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 d=e.at(o),h=t[o],p=li(o,d,o,h,n);if(p!==0){p<0&&e.updateValue(o,h),o++;continue}let _=e.at(s),w=t[l],E=li(s,_,l,w,n);if(E!==0){E<0&&e.updateValue(s,w),s--,l--;continue}let I=n(o,d),O=n(s,_),N=n(o,h);if(Object.is(N,O)){let Q=n(l,w);Object.is(Q,I)?(e.swap(o,s),e.updateValue(s,w),l--,s--):e.move(s,o),e.updateValue(o,h),o++;continue}if(r??=new na,i??=ta(e,o,s,n),zi(e,r,o,N))e.updateValue(o,h),o++,s++;else if(i.has(N))r.set(I,e.detach(o)),s--;else{let Q=e.create(o,t[o]);e.attach(o,Q),o++,s++}}for(;o<=l;)ea(e,r,n,o,t[o]),o++}else if(t!=null){let l=t[Symbol.iterator](),d=l.next();for(;!d.done&&o<=s;){let h=e.at(o),p=d.value,_=li(o,h,o,p,n);if(_!==0)_<0&&e.updateValue(o,p),o++,d=l.next();else{r??=new na,i??=ta(e,o,s,n);let w=n(o,p);if(zi(e,r,o,w))e.updateValue(o,p),o++,s++,d=l.next();else if(!i.has(w))e.attach(o,e.create(o,p)),o++,s++,d=l.next();else{let E=n(o,h);r.set(E,e.detach(o)),s--}}}for(;!d.done;)ea(e,r,n,e.length,d.value),d=l.next()}for(;o<=s;)e.destroy(e.detach(s--));r?.forEach(l=>{e.destroy(l)})}function zi(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function ea(e,t,n,r,i){if(zi(e,t,r,n(r,i)))e.updateValue(r,i);else{let o=e.create(r,i);e.attach(r,o)}}function ta(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 na=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 Vy(e,t){Fr("NgControlFlow");let n=fe(),r=Mr(),i=n[r]!==mt?n[r]:-1,o=i!==-1?_r(n,Ie+i):void 0,s=0;if(pt(n,r,e)){let a=K(null);try{if(o!==void 0&&Ku(o,s),e!==-1){let l=Ie+e,d=_r(n,l),h=Ui(n[W],l),p=Wo(d,h.tView.ssrId),_=Po(n,h,t,{dehydratedView:p});Uo(d,_,s,Fo(h,p))}}finally{K(a)}}else if(o!==void 0){let a=Gu(o,s);a!==void 0&&(a[we]=t)}}var Py=class{lContainer;$implicit;$index;constructor(e,t,n){this.lContainer=e,this.$implicit=t,this.$index=n}get $count(){return this.lContainer.length-De}},Fy=class{hasEmptyBlock;trackByFn;liveCollection;constructor(e,t,n){this.hasEmptyBlock=e,this.trackByFn=t,this.liveCollection=n}};function jy(e,t,n,r,i,o,s,a,l,d,h,p,_){Fr("NgControlFlow");let w=fe(),E=Qe(),I=l!==void 0,O=fe(),N=a?s.bind(O[Ge][we]):s,Q=new Fy(I,N);O[Ie+e]=Q,Li(w,E,e+1,t,n,r,i,Xt(E.consts,o)),I&&Li(w,E,e+2,l,d,h,p,Xt(E.consts,_))}var Ly=class extends Ay{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-De}at(e){return this.getLView(e)[we].$implicit}attach(e,t){let n=t[_n];this.needsIndexUpdate||=e!==this.length,Uo(this.lContainer,t,e,Fo(this.templateTNode,n))}detach(e){return this.needsIndexUpdate||=e!==this.length-1,By(this.lContainer,e)}create(e,t){let n=Wo(this.lContainer,this.templateTNode.tView.ssrId),r=Po(this.hostLView,this.templateTNode,new Py(this.lContainer,t,e),{dehydratedView:n});return this.operationsCounter?.recordCreate(),r}destroy(e){Ho(e[W],e),this.operationsCounter?.recordDestroy()}updateValue(e,t){this.getLView(e)[we].$implicit=t}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let e=0;e<this.length;e++)this.getLView(e)[we].$index=e}getLView(e){return zy(this.lContainer,e)}};function Hy(e){let t=K(null),n=At();try{let r=fe(),i=r[W],o=r[n],s=n+1,a=_r(r,s);if(o.liveCollection===void 0){let d=Ui(i,s);o.liveCollection=new Ly(a,r,d)}else o.liveCollection.reset();let l=o.liveCollection;if(My(l,e,o.trackByFn),l.updateIndexes(),o.hasEmptyBlock){let d=Mr(),h=l.length===0;if(pt(r,d,h)){let p=n+2,_=_r(r,p);if(h){let w=Ui(i,p),E=Wo(_,w.tView.ssrId),I=Po(r,w,void 0,{dehydratedView:E});Uo(_,I,0,Fo(w,E))}else Ku(_,0)}}}finally{K(t)}}function _r(e,t){return e[t]}function By(e,t){return Zo(e,t)}function zy(e,t){return Gu(e,t)}function Ui(e,t){return po(e,t)}function xn(e,t,n,r){let i=fe(),o=Qe(),s=Ie+e,a=i[Pe],l=o.firstCreatePass?ec(s,o,i,t,Vu,_l(),n,r):o.data[s],d=Uy(o,i,l,a,t,e);i[s]=d;let h=pl(l);return on(l,!0),ku(a,d,l),!Pu(l)&&bo()&&Bo(o,i,d,l),(Eh()===0||h)&&jn(d,i),_h(),h&&(Ao(o,i,l),mu(o,l,i)),r!==null&&Mu(i,l),xn}function kn(){let e=Vn();Il()?kh():(e=e.parent,on(e,!1));let t=e;Ch(t)&&Th(),Sh();let n=Qe();return n.firstCreatePass&&tc(n,t),t.classesWithoutHost!=null&&zh(t)&&Xs(n,t,fe(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&Uh(t)&&Xs(n,t,fe(),t.stylesWithoutHost,!1),kn}function Dn(e,t,n,r){return xn(e,t,n,r),kn(),Dn}var Uy=(e,t,n,r,i,o)=>(wo(!0),Tu(r,i,jh())),Sr="en-US",Zy=Sr;function Wy(e){typeof e=="string"&&(Zy=e.toLowerCase().replace(/_/g,"-"))}function ac(e=1){return Ph(e)}function lc(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function qy(e,t=""){let n=fe(),r=Qe(),i=e+Ie,o=r.firstCreatePass?Br(r,i,1,t,null):r.data[i],s=$y(r,n,o,t,e);n[i]=s,bo()&&Bo(r,n,s,o),on(o,!1)}var $y=(e,t,n,r,i)=>(wo(!0),bg(t[Pe],r));function uc(e){return cc("",e,""),uc}function cc(e,t,n){let r=fe(),i=my(r,e,t,n);return i!==mt&&Gy(r,At(),i),cc}function Gy(e,t,n){let r=vl(t,e);wg(e[Pe],r,n)}var Ky={};function fc(e){let t=Qe(),n=fe(),r=e+Ie,i=Br(t,r,128,null,null);return on(i,!1),lc(t,n,r,Ky),fc}function dc(e,t){let n=e[t];return n===mt?void 0:n}function Qy(e,t,n,r,i,o){let s=t+n;return pt(e,s,i)?rc(e,s+1,o?r.call(o,i):r(i)):dc(e,s+1)}function Yy(e,t,n,r,i,o,s){let a=t+n;return ny(e,a,i,o)?rc(e,a+2,s?r.call(s,i,o):r(i,o)):dc(e,a+2)}function Ir(e,t){let n=Qe(),r,i=e+Ie;n.firstCreatePass?(r=Xy(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=Gt(r.type,!0)),s,a=ke(zr);try{let l=mr(!1),d=o();return mr(l),lc(n,fe(),i,d),d}finally{ke(a)}}function Xy(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function Zi(e,t,n){let r=e+Ie,i=fe(),o=bl(i,r);return hc(i,r)?Qy(i,Tl(),t,o.transform,n,o):o.transform(n)}function Jy(e,t,n,r){let i=e+Ie,o=fe(),s=bl(o,i);return hc(o,i)?Yy(o,Tl(),t,s.transform,n,r,s):s.transform(n,r)}function hc(e,t){return e[W].data[t].pure}var ev=(()=>{class e{zone=re(Me);changeDetectionScheduler=re(Pn);applicationRef=re(Jt);_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=pe({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function tv({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new Me(nn(xt({},nv()),{scheduleInRootZone:n})),[{provide:Me,useFactory:e},{provide:dr,multi:!0,useFactory:()=>{let r=re(ev,{optional:!0});return()=>r.initialize()}},{provide:dr,multi:!0,useFactory:()=>{let r=re(rv);return()=>{r.initialize()}}},t===!0?{provide:Ql,useValue:!0}:[],{provide:Io,useValue:n??Gl}]}function nv(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var rv=(()=>{class e{subscription=new nt;initialized=!1;zone=re(Me);pendingTasks=re(Pr);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(()=>{Me.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Me.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(n){return new(n||e)};static \u0275prov=pe({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),pc=(()=>{class e{appRef=re(Jt);taskService=re(Pr);ngZone=re(Me);zonelessEnabled=re(So);tracing=re(ko,{optional:!0});disableScheduling=re(Ql,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new nt;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(vr):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(re(Io,{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 Xl||!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?Rs:Yl;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(vr+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,Rs(()=>{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=pe({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function iv(){return Fr("NgZoneless"),Yd([{provide:Pn,useExisting:pc},{provide:Me,useClass:Xl},{provide:So,useValue:!0},{provide:Io,useValue:!1},[]])}function ov(){return typeof $localize<"u"&&$localize.locale||Sr}var gc=new se("",{providedIn:"root",factory:()=>re(gc,U.Optional|U.SkipSelf)||ov()}),Wi=new se(""),sv=new se("");function pn(e){return!e.moduleRef}function av(e){let t=pn(e)?e.r3Injector:e.moduleRef.injector,n=t.get(Me);return n.run(()=>{pn(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(Fn,null),i;if(n.runOutsideAngular(()=>{i=n.onError.subscribe({next:o=>{r.handleError(o)}})}),pn(e)){let o=()=>t.destroy(),s=e.platformInjector.get(Wi);s.add(o),t.onDestroy(()=>{i.unsubscribe(),s.delete(o)})}else{let o=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Wi);s.add(o),e.moduleRef.onDestroy(()=>{or(e.allPlatformModules,e.moduleRef),i.unsubscribe(),s.delete(o)})}return uv(r,n,()=>{let o=t.get(sc);return o.runInitializers(),o.donePromise.then(()=>{let s=t.get(gc,Sr);if(Wy(s||Sr),!t.get(sv,!0))return pn(e)?t.get(Jt):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(pn(e)){let a=t.get(Jt);return e.rootComponent!==void 0&&a.bootstrap(e.rootComponent),a}else return lv(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function lv(e,t){let n=e.injector.get(Jt);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new Y(-403,!1);t.push(e)}function uv(e,t,n){try{let r=n();return oc(r)?r.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var sr=null;function cv(e=[],t){return Vr.create({name:t,providers:[{provide:co,useValue:"platform"},{provide:Wi,useValue:new Set([()=>sr=null])},...e]})}function fv(e=[]){if(sr)return sr;let t=cv(e);return sr=t,dy(),dv(t),t}function dv(e){let t=e.get(cu,null);cl(e,()=>{t?.forEach(n=>n())})}function hv(e){le(8);try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,i=fv(r),o=[tv({}),{provide:Pn,useExisting:pc},...n||[]],s=new nc({providers:o,parent:i,debugName:"",runEnvironmentInitializers:!1});return av({r3Injector:s.injector,platformInjector:i,rootComponent:t})}catch(t){return Promise.reject(t)}finally{le(9)}}var Bb=class{[ct];constructor(e){this[ct]=e}destroy(){this[ct].destroy()}},pv={schedule(e,t){let n=setTimeout(e,t);return()=>clearTimeout(n)}};function gv(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}function mv(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}var ui;function yv(e,t){if(!ui){let n=Element.prototype;ui=n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE?ui.call(e,t):!1}function vv(e){let t={};return e.forEach(({propName:n,templateName:r,transform:i})=>{t[gv(r)]=[n,i]}),t}function bv(e,t){return t.get(Hn).resolveComponentFactory(e).inputs}function wv(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=Ev(a,t,i);l!==-1&&r[l].push(a)}return r}function Ev(e,t,n){let r=n;return mv(e)&&t.some((i,o)=>i!=="*"&&yv(e,i)?(r=o,!0):!1),r}var _v=10,Sv=class{componentFactory;inputMap=new Map;constructor(e,t){this.componentFactory=t.get(Hn).resolveComponentFactory(e);for(let n of this.componentFactory.inputs)this.inputMap.set(n.propName,n.templateName)}create(e){return new Iv(this.componentFactory,e,this.inputMap)}},Iv=class{componentFactory;injector;inputMap;eventEmitters=new Jf(1);events=this.eventEmitters.pipe(Id(e=>Sd(...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(Me),this.appRef=this.injector.get(Jt),this.cdScheduler=t.get(Pn),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=pv.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null)},_v))})}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=Vr.create({providers:[],parent:this.injector}),n=wv(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 Ve(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()}},Cv=class extends HTMLElement{ngElementEventsSubscription=null};function Tv(e,t){let n=bv(e,t.injector),r=t.strategyFactory||new Sv(e,t.injector),i=vv(n);class o extends Cv{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:d})=>{if(!this.hasOwnProperty(l))return;let h=this[l];delete this[l],a.setInputValue(l,h,d)})}return this._ngElementStrategy}_ngElementStrategy;constructor(a){super(),this.injector=a}attributeChangedCallback(a,l,d,h){let[p,_]=i[a];this.ngElementStrategy.setInputValue(p,d,_)}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 mc=null;function yc(){return mc}function xv(e){mc??=e}var kv=class{},gt=new se("");function Dv(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 Ov="browser",Nv="server";function vc(e){return e===Nv}var Rv=class{},Av=class extends kv{supportsDOMEvents=!0},Mv=class bc extends Av{static makeCurrent(){xv(new bc)}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=Vv();return n==null?null:Pv(n)}resetBaseElement(){yn=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return Dv(document.cookie,t)}},yn=null;function Vv(){return yn=yn||document.querySelector("base"),yn?yn.getAttribute("href"):null}function Pv(e){return new URL(e,document.baseURI).pathname}var Fv=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(n){return new(n||e)};static \u0275prov=pe({token:e,factory:e.\u0275fac})}return e})(),qi=new se(""),wc=(()=>{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 Y(5101,!1);return this._eventNameToPlugin.set(n,r),r}static \u0275fac=function(n){return new(n||e)(oe(qi),oe(Me))};static \u0275prov=pe({token:e,factory:e.\u0275fac})}return e})(),Ec=class{_doc;constructor(e){this._doc=e}manager},ar="ng-app-id";function ra(e){for(let t of e)t.remove()}function ia(e,t){let n=t.createElement("style");return n.textContent=e,n}function jv(e,t,n,r){let i=e.head?.querySelectorAll(`style[${ar}="${t}"],link[${ar}="${t}"]`);if(i)for(let o of i)o.removeAttribute(ar),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 $i(e,t){let n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}var _c=(()=>{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=vc(o),jv(n,r,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,r){for(let i of n)this.addUsage(i,this.inline,ia);r?.forEach(i=>this.addUsage(i,this.external,$i))}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&&(ra(i.elements),r.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])ra(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[r,{elements:i}]of this.inline)i.push(this.addElement(n,ia(r,this.doc)));for(let[r,{elements:i}]of this.external)i.push(this.addElement(n,$i(r,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,r){return this.nonce&&r.setAttribute("nonce",this.nonce),this.isServer&&r.setAttribute(ar,this.appId),n.appendChild(r)}static \u0275fac=function(n){return new(n||e)(oe(gt),oe(uu),oe(fu,8),oe(xo))};static \u0275prov=pe({token:e,factory:e.\u0275fac})}return e})(),ci={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"},Ko=/%COMP%/g,Sc="%COMP%",Lv=`_nghost-${Sc}`,Hv=`_ngcontent-${Sc}`,Bv=!0,zv=new se("",{providedIn:"root",factory:()=>Bv});function Uv(e){return Hv.replace(Ko,e)}function Zv(e){return Lv.replace(Ko,e)}function Ic(e,t){return t.map(n=>n.replace(Ko,e))}var oa=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(n,r,i,o,s,a,l,d=null,h=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=i,this.removeStylesOnCompDestroy=o,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=d,this.tracingService=h,this.platformIsServer=vc(a),this.defaultRenderer=new Qo(n,s,l,this.platformIsServer,this.tracingService)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===tt.ShadowDom&&(r=nn(xt({},r),{encapsulation:tt.Emulated}));let i=this.getOrCreateRenderer(n,r);return i instanceof aa?i.applyToHost(n):i instanceof Gi&&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,d=this.sharedStylesHost,h=this.removeStylesOnCompDestroy,p=this.platformIsServer,_=this.tracingService;switch(r.encapsulation){case tt.Emulated:o=new aa(l,d,r,this.appId,h,s,a,p,_);break;case tt.ShadowDom:return new Wv(l,d,n,r,s,a,this.nonce,p,_);default:o=new Gi(l,d,r,h,s,a,p,_);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)(oe(wc),oe(_c),oe(uu),oe(zv),oe(gt),oe(xo),oe(Me),oe(fu),oe(ko,8))};static \u0275prov=pe({token:e,factory:e.\u0275fac})}return e})(),Qo=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(ci[t]||t,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,t){(sa(e)?e.content:e).appendChild(t)}insertBefore(e,t,n){e&&(sa(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 Y(-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=ci[r];i?e.setAttributeNS(i,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}removeAttribute(e,t,n){if(n){let r=ci[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&(wt.DashCase|wt.Important)?e.style.setProperty(t,n,r&wt.Important?"important":""):e.style[t]=n}removeStyle(e,t,n){n&wt.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=yc().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 sa(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var Wv=class extends Qo{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 d=r.styles;d=Ic(r.id,d);for(let p of d){let _=document.createElement("style");s&&_.setAttribute("nonce",s),_.textContent=p,this.shadowRoot.appendChild(_)}let h=r.getExternalStyles?.();if(h)for(let p of h){let _=$i(p,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)}},Gi=class extends Qo{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 d=n.styles;this.styles=l?Ic(l,d):d,this.styleUrls=n.getExternalStyles?.(l)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},aa=class extends Gi{contentAttr;hostAttr;constructor(e,t,n,r,i,o,s,a,l){let d=r+"-"+n.id;super(e,t,n,i,o,s,a,l,d),this.contentAttr=Uv(d),this.hostAttr=Zv(d)}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}},qv=(()=>{class e extends Ec{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)(oe(gt))};static \u0275prov=pe({token:e,factory:e.\u0275fac})}return e})(),la=["alt","control","meta","shift"],$v={"\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"},Gv={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},Kv=(()=>{class e extends Ec{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(()=>yc().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."),la.forEach(d=>{let h=r.indexOf(d);h>-1&&(r.splice(h,1),s+=d+".")}),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=$v[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"),la.forEach(s=>{if(s!==i){let a=Gv[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)(oe(gt))};static \u0275prov=pe({token:e,factory:e.\u0275fac})}return e})();function Qv(e){return hv(Yv(e))}function Yv(e){return{appProviders:[...nb,...e?.providers??[]],platformProviders:tb}}function Xv(){Mv.makeCurrent()}function Jv(){return new Fn}function eb(){return _p(document),document}var tb=[{provide:xo,useValue:Ov},{provide:cu,useValue:Xv,multi:!0},{provide:gt,useFactory:eb,deps:[]}],nb=[{provide:co,useValue:"root"},{provide:Fn,useFactory:Jv,deps:[]},{provide:qi,useClass:qv,multi:!0,deps:[gt]},{provide:qi,useClass:Kv,multi:!0,deps:[gt]},oa,_c,wc,{provide:qo,useExisting:oa},{provide:Rv,useClass:Fv,deps:[]},[]],Cc=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275prov=pe({token:e,factory:function(n){let r=null;return n?r=new(n||e):r=oe(rb),r},providedIn:"root"})}return e})(),rb=(()=>{class e extends Cc{_doc;constructor(n){super(),this._doc=n}sanitize(n,r){if(r==null)return null;switch(n){case Je.NONE:return r;case Je.HTML:return vt(r,"HTML")?lt(r):_u(this._doc,String(r)).toString();case Je.STYLE:return vt(r,"Style")?lt(r):r;case Je.SCRIPT:if(vt(r,"Script"))return lt(r);throw new Y(5200,!1);case Je.URL:return vt(r,"URL")?lt(r):Do(String(r));case Je.RESOURCE_URL:if(vt(r,"ResourceURL"))return lt(r);throw new Y(5201,!1);default:throw new Y(5202,!1)}}bypassSecurityTrustHtml(n){return Fp(n)}bypassSecurityTrustStyle(n){return jp(n)}bypassSecurityTrustScript(n){return Lp(n)}bypassSecurityTrustUrl(n){return Hp(n)}bypassSecurityTrustResourceUrl(n){return Bp(n)}static \u0275fac=function(n){return new(n||e)(oe(gt))};static \u0275prov=pe({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ib={apiURL:"http://localhost:3003",debug:!0,mode:"local",styleURL:"http://localhost:8002/styles.css"},Le=ga(_f()),ob="9.3.15",fi=class Ki{static SDK_VERSION=ob;static SDK_VERSION_CODE;static SDK="WEB";static LOG_PREFIX="CooeeSDK";static COOEE="cooee";static SESSION_STORAGE_SCROLL_ID="sleid";static IDLE_TIME_IN_SECONDS=30*60;static IN_APP_WRAPPER_NAME="cooee-wrapper";static IN_APP_CONTAINER_NAME="cooee-container";static IN_APP_DEFAULT_PADDING=15;static EVENT_SCREEN_VIEW="CE Screen View";static EVENT_APP_BACKGROUND="CE App Background";static EVENT_TRIGGER_DISPLAYED="CE Trigger Displayed";static EVENT_CAMPAIGN_HOLDOUT="CE Campaign Holdout";static EVENT_CAMPAIGN_REJECTED="CE Campaign Rejected";static EVENT_CAMPAIGN_FAILED="CE Campaign Failed";static EVENT_TRIGGER_CLOSED="CE Trigger Closed";static EVENT_SCROLL="CE Scroll";static EVENT_TRIGGER_CLICKED="CE Trigger Clicked";static EVENT_FORM_SUBMITTED="CE Form Submitted";static EVENT_ADD_TO_CART="Add To Cart";static EVENT_REMOVE_FROM_CART="Remove From Cart";static EVENT_VIEW_ITEM="View Item";static EVENT_VIEW_CART="View Cart";static EVENT_VIEW_COLLECTION="View Collection";static EVENT_BUY_NOW_CLICKED="Buy Now Clicked";static EVENT_CHECKOUT_STARTED="Checkout Started";static EVENT_REVIEW_CLICKED="Review Clicked";static EVENT_ITEM_THUMBNAIL_CLICKED="Item Thumbnail Clicked";static JS_LOAD_WHITELIST_EVENTS=[this.EVENT_VIEW_ITEM,this.EVENT_VIEW_CART,this.EVENT_VIEW_COLLECTION];static HASH_INITIATE_CHECKOUT="initiate-checkout";static HASH_OPEN_CART_DRAWER="open-cart-drawer";static CTA_EVENT="letscooee:outbound:cta";static ADD_BUNDLE_CTA_INBOUND_EVENT="letscooee:inbound:cta:add-bundle";static CTA_OPEN_CART_EVENT="letscooee:outbound:open-cart";static 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{let t=Ki.SDK_VERSION.split(".").map(n=>n.padStart(2,"0")).join("");Ki.SDK_VERSION_CODE=parseInt(t,10)}},et=class{static log(...e){Le.default.info(...e)}static debug(...e){Le.default.debug(...e)}static error(...e){Le.default.error(...e)}static warn(...e){Le.default.warn(...e)}static info(...e){Le.default.info(...e)}static trace(...e){Le.default.trace(...e)}static configure(e=fi.LOG_PREFIX){Le.default.useDefaults({formatter:function(n){n.unshift(`${e} (v${fi.SDK_VERSION}):`)}});let t=this.getDebugParam();(t==="1"||t==="on")&&(localStorage.cooeeLogLevel="TRACE"),localStorage.cooeeLogLevel?Le.default.setLevel(Le.default[localStorage.cooeeLogLevel]):Le.default.setLevel(ib.debug?Le.default.TRACE:Le.default.OFF)}static getDebugParam(){return new URL(location.href).searchParams?.get("cooee-debug")}static logBrand(){let e=`
|
|
7
|
+
`)}`}function Gt(e,t){return e.hasOwnProperty(Es)?e[Es]:null}function lo(e,t){e.forEach(n=>Array.isArray(n)?lo(n,t):t(n))}function qd(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function tl(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function $d(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 Gd(e,t,n){let r=An(e,t);return r>=0?e[r|1]=n:(r=~r,$d(e,r,t,n)),r}function Xr(e,t){let n=An(e,t);if(n>=0)return e[n|1]}function An(e,t){return Kd(e,t,1)}function Kd(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 Kt={},_t=[],dr=new se(""),nl=new se("",-1),rl=new se(""),il=class{get(e,t=wn){if(t===wn){let n=new Error(`NullInjectorError: No provider for ${We(e)}!`);throw n.name="NullInjectorError",n}return t}};function Dr(e){return e[Nd]||null}function ol(e){return e[Rd]||null}function sl(e){return e[Ad]||null}function Qd(e){let t=Dr(e)||ol(e)||sl(e);return t!==null&&t.standalone}function Yd(e){return{\u0275providers:e}}function Xd(...e){return{\u0275providers:al(!0,e),\u0275fromNgModule:!0}}function al(e,...t){let n=[],r=new Set,i,o=s=>{n.push(s)};return lo(t,s=>{let a=s;vi(a,o,[],r)&&(i||=[],i.push(a))}),i!==void 0&&ll(i,o),n}function ll(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:i}=e[n];uo(i,o=>{t(o,r)})}}function vi(e,t,n,r){if(e=Ze(e),!e)return!1;let i=null,o=bs(e),s=!o&&Dr(e);if(!o&&!s){let l=e.ngModule;if(o=bs(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 d of l)vi(d,t,n,r)}}else if(o){if(o.imports!=null&&!a){r.add(i);let d;try{lo(o.imports,h=>{vi(h,t,n,r)&&(d||=[],d.push(h))})}finally{}d!==void 0&&ll(d,t)}if(!a){let d=Gt(i)||(()=>new i);t({provide:i,useFactory:d,deps:_t},i),t({provide:rl,useValue:i,multi:!0},i),t({provide:dr,useValue:()=>oe(i),multi:!0},i)}let l=o.providers;if(l!=null&&!a){let d=e;uo(l,h=>{t(h,d)})}}else return!1;return i!==e&&e.providers!==void 0}function uo(e,t){for(let n of e)Xa(n)&&(n=n.\u0275providers),Array.isArray(n)?uo(n,t):t(n)}var Jd=ae({provide:String,useValue:ae});function ul(e){return e!==null&&typeof e=="object"&&Jd in e}function eh(e){return!!(e&&e.useExisting)}function th(e){return!!(e&&e.useFactory)}function bi(e){return typeof e=="function"}var co=new se(""),nr={},nh={},Jr;function fo(){return Jr===void 0&&(Jr=new il),Jr}var En=class{},ho=class extends En{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,Ei(e,o=>this.processProvider(o)),this.records.set(nl,Ht(void 0,this)),r.has("environment")&&this.records.set(En,Ht(void 0,this));let i=this.records.get(co);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(rl,_t,U.Self))}destroy(){gn(this),this._destroyed=!0;let e=K(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(),K(e)}}onDestroy(e){return gn(this),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){gn(this);let t=at(this),n=ke(void 0),r;try{return e()}finally{at(t),ke(n)}}get(e,t=wn,n=U.Default){if(gn(this),e.hasOwnProperty(_s))return e[_s](this);n=kr(n);let r,i=at(this),o=ke(void 0);try{if(!(n&U.SkipSelf)){let a=this.records.get(e);if(a===void 0){let l=lh(e)&&so(e);l&&this.injectableDefInScope(l)?a=Ht(wi(e),nr):a=null,this.records.set(e,a)}if(a!=null)return this.hydrate(e,a)}let s=n&U.Self?fo():this.parent;return t=n&U.Optional&&t===wn?null:t,s.get(e,t)}catch(s){if(s.name==="NullInjectorError"){if((s[fr]=s[fr]||[]).unshift(We(e)),i)throw s;return Zd(s,e,"R3InjectorError",this.source)}else throw s}finally{ke(o),at(i)}}resolveInjectorInitializers(){let e=K(null),t=at(this),n=ke(void 0),r;try{let i=this.get(dr,_t,U.Self);for(let o of i)o()}finally{at(t),ke(n),K(e)}}toString(){let e=[],t=this.records;for(let n of t.keys())e.push(We(n));return`R3Injector[${e.join(", ")}]`}processProvider(e){e=Ze(e);let t=bi(e)?e:Ze(e&&e.provide),n=ih(e);if(!bi(e)&&e.multi===!0){let r=this.records.get(t);r||(r=Ht(void 0,nr,!0),r.factory=()=>yi(r.multi),this.records.set(t,r)),t=e,r.multi.push(e)}this.records.set(t,n)}hydrate(e,t){let n=K(null);try{return t.value===nr&&(t.value=nh,t.value=t.factory()),typeof t.value=="object"&&t.value&&ah(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{K(n)}}injectableDefInScope(e){if(!e.providedIn)return!1;let t=Ze(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 wi(e){let t=so(e),n=t!==null?t.factory:Gt(e);if(n!==null)return n;if(e instanceof se)throw new Y(204,!1);if(e instanceof Function)return rh(e);throw new Y(204,!1)}function rh(e){if(e.length>0)throw new Y(204,!1);let t=Dd(e);return t!==null?()=>t.factory(e):()=>new e}function ih(e){if(ul(e))return Ht(void 0,e.useValue);{let t=oh(e);return Ht(t,nr)}}function oh(e,t,n){let r;if(bi(e)){let i=Ze(e);return Gt(i)||wi(i)}else if(ul(e))r=()=>Ze(e.useValue);else if(th(e))r=()=>e.useFactory(...yi(e.deps||[]));else if(eh(e))r=()=>oe(Ze(e.useExisting));else{let i=Ze(e&&(e.useClass||e.provide));if(sh(e))r=()=>new i(...yi(e.deps));else return Gt(i)||wi(i)}return r}function gn(e){if(e.destroyed)throw new Y(205,!1)}function Ht(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function sh(e){return!!e.deps}function ah(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function lh(e){return typeof e=="function"||typeof e=="object"&&e instanceof se}function Ei(e,t){for(let n of e)Array.isArray(n)?Ei(n,t):n&&Xa(n)?Ei(n.\u0275providers,t):t(n)}function cl(e,t){e instanceof ho&&gn(e);let n,r=at(e),i=ke(void 0);try{return t()}finally{at(r),ke(i)}}function uh(){return Ja()!==void 0||Bd()!=null}var it=0,W=1,j=2,He=3,qe=4,Ke=5,_n=6,Is=7,we=8,Sn=9,rt=10,Pe=11,In=12,Cs=13,rn=14,Ge=15,Qt=16,Bt=17,Yt=18,Or=19,fl=20,dt=21,ei=22,hr=23,Ae=24,ti=25,Ie=26,dl=1,Cn=7,ch=8,pr=9,De=10;function Et(e){return Array.isArray(e)&&typeof e[dl]=="object"}function Ot(e){return Array.isArray(e)&&e[dl]===!0}function hl(e){return(e.flags&4)!==0}function Nr(e){return e.componentOffset>-1}function pl(e){return(e.flags&1)===1}function Nt(e){return!!e.template}function gr(e){return(e[j]&512)!==0}function Mn(e){return(e[j]&256)===256}var fh=class{previousValue;currentValue;firstChange;constructor(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}isFirstChange(){return this.firstChange}};function gl(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}function dh(e){return e.type.prototype.ngOnChanges&&(e.setInput=ph),hh}function hh(){let e=yl(this),t=e?.current;if(t){let n=e.previous;if(n===Kt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function ph(e,t,n,r,i){let o=this.declaredInputs[r],s=yl(e)||gh(e,{previous:Kt,current:null}),a=s.current||(s.current={}),l=s.previous,d=l[o];a[o]=new fh(d&&d.currentValue,n,l===Kt),gl(e,t,i,n)}var ml="__ngSimpleChanges__";function yl(e){return e[ml]||null}function gh(e,t){return e[ml]=t}var mh=null,le=function(e,t=null,n){mh?.(e,t,n)},yh="svg",vh="math";function ht(e){for(;Array.isArray(e);)e=e[it];return e}function vl(e,t){return ht(t[e])}function Rt(e,t){return ht(t[e.index])}function po(e,t){return e.data[t]}function bl(e,t){return e[t]}function St(e,t){let n=t[e];return Et(n)?n:n[it]}function go(e){return(e[j]&128)===128}function Xt(e,t){return t==null?null:e[t]}function wl(e){e[Bt]=0}function mo(e){e[j]&1024||(e[j]|=1024,go(e)&&Ar(e))}function bh(e,t){for(;e>0;)t=t[rn],e--;return t}function Rr(e){return!!(e[j]&9216||e[Ae]?.dirty)}function _i(e){e[rt].changeDetectionScheduler?.notify(8),e[j]&64&&(e[j]|=1024),Rr(e)&&Ar(e)}function Ar(e){e[rt].changeDetectionScheduler?.notify(0);let t=It(e);for(;t!==null&&!(t[j]&8192||(t[j]|=8192,!go(t)));)t=It(t)}function El(e,t){if(Mn(e))throw new Y(911,!1);e[dt]===null&&(e[dt]=[]),e[dt].push(t)}function wh(e,t){if(e[dt]===null)return;let n=e[dt].indexOf(t);n!==-1&&e[dt].splice(n,1)}function It(e){let t=e[He];return Ot(t)?t[He]:t}var q={lFrame:Ol(null),bindingsEnabled:!0,skipHydrationRootTNode:null},Si=!1;function Eh(){return q.lFrame.elementDepthCount}function _h(){q.lFrame.elementDepthCount++}function Sh(){q.lFrame.elementDepthCount--}function _l(){return q.bindingsEnabled}function Ih(){return q.skipHydrationRootTNode!==null}function Ch(e){return q.skipHydrationRootTNode===e}function Th(){q.skipHydrationRootTNode=null}function fe(){return q.lFrame.lView}function Qe(){return q.lFrame.tView}function Vn(){let e=Sl();for(;e!==null&&e.type===64;)e=e.parent;return e}function Sl(){return q.lFrame.currentTNode}function xh(){let e=q.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function on(e,t){let n=q.lFrame;n.currentTNode=e,n.isParent=t}function Il(){return q.lFrame.isParent}function kh(){q.lFrame.isParent=!1}function Cl(){return Si}function Ts(e){let t=Si;return Si=e,t}function Tl(){let e=q.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Dh(e){return q.lFrame.bindingIndex=e}function Mr(){return q.lFrame.bindingIndex++}function Oh(e){let t=q.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Nh(){return q.lFrame.inI18n}function Rh(e,t){let n=q.lFrame;n.bindingIndex=n.bindingRootIndex=e,Ii(t)}function Ah(){return q.lFrame.currentDirectiveIndex}function Ii(e){q.lFrame.currentDirectiveIndex=e}function Mh(e){let t=q.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function xl(e){q.lFrame.currentQueryIndex=e}function Vh(e){let t=e[W];return t.type===2?t.declTNode:t.type===1?e[Ke]:null}function kl(e,t,n){if(n&U.SkipSelf){let i=t,o=e;for(;(i=i.parent,i===null&&!(n&U.Host))&&(i=Vh(o),!(i===null||(o=o[rn],i.type&10))););if(i===null)return!1;t=i,e=o}let r=q.lFrame=Dl();return r.currentTNode=t,r.lView=e,!0}function yo(e){let t=Dl(),n=e[W];q.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Dl(){let e=q.lFrame,t=e===null?null:e.child;return t===null?Ol(e):t}function Ol(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 Nl(){let e=q.lFrame;return q.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Rl=Nl;function vo(){let e=Nl();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 Ph(e){return(q.lFrame.contextLView=bh(e,q.lFrame.contextLView))[we]}function At(){return q.lFrame.selectedIndex}function Ct(e){q.lFrame.selectedIndex=e}function Fh(){let e=q.lFrame;return po(e.tView,e.selectedIndex)}function jh(){return q.lFrame.currentNamespace}var Al=!0;function bo(){return Al}function wo(e){Al=e}function Lh(e,t,n){let{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=t.type.prototype;if(r){let s=dh(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 Ml(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:d}=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)),d!=null&&(e.destroyHooks??=[]).push(n,d)}}function rr(e,t,n){Vl(e,t,3,n)}function ir(e,t,n,r){(e[j]&3)===n&&Vl(e,t,n,r)}function ni(e,t){let n=e[j];(n&3)===t&&(n&=16383,n+=1,e[j]=n)}function Vl(e,t,n,r){let i=r!==void 0?e[Bt]&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[Bt]+=65536),(a<o||o==-1)&&(Hh(e,n,t,l),e[Bt]=(e[Bt]&4294901760)+l+2),l++}function xs(e,t){le(4,e,t);let n=K(null);try{t.call(e)}finally{K(n),le(5,e,t)}}function Hh(e,t,n,r){let i=n[r]<0,o=n[r+1],s=i?-n[r]:n[r],a=e[s];i?e[j]>>14<e[Bt]>>16&&(e[j]&3)===t&&(e[j]+=16384,xs(a,o)):xs(a,o)}var Wt=-1,Eo=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(e,t,n){this.factory=e,this.canSeeViewProviders=t,this.injectImpl=n}};function Bh(e){return e instanceof Eo}function zh(e){return(e.flags&8)!==0}function Uh(e){return(e.flags&16)!==0}function Zh(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];qh(o)?e.setProperty(t,o,s):e.setAttribute(t,o,s),r++}}return r}function Wh(e){return e===3||e===4||e===6}function qh(e){return e.charCodeAt(0)===64}function _o(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?ks(e,n,i,null,t[++r]):ks(e,n,i,null,null))}}return e}function ks(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 ri={},$h=class{injector;parentInjector;constructor(e,t){this.injector=e,this.parentInjector=t}get(e,t,n){n=kr(n);let r=this.injector.get(e,ri,n);return r!==ri||t===ri?r:this.parentInjector.get(e,t,n)}};function Gh(e){return e!==Wt}function Ci(e){return e&32767}function Kh(e){return e>>16}function Ti(e,t){let n=Kh(e),r=t;for(;n>0;)r=r[rn],n--;return r}var xi=!0;function mr(e){let t=xi;return xi=e,t}var Qh=256,Pl=Qh-1,Fl=5,Yh=0,$e={};function Xh(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(vn)&&(r=n[vn]),r==null&&(r=n[vn]=Yh++);let i=r&Pl,o=1<<i;t.data[e+(i>>Fl)]|=o}function jl(e,t){let n=Ll(e,t);if(n!==-1)return n;let r=t[W];r.firstCreatePass&&(e.injectorIndex=t.length,ii(r.data,e),ii(t,null),ii(r.blueprint,null));let i=Hl(e,t),o=e.injectorIndex;if(Gh(i)){let s=Ci(i),a=Ti(i,t),l=a[W].data;for(let d=0;d<8;d++)t[o+d]=a[s+d]|l[s+d]}return t[o+8]=i,o}function ii(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Ll(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Hl(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=ql(i),r===null)return Wt;if(n++,i=i[rn],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Wt}function Jh(e,t,n){Xh(e,t,n)}function Bl(e,t,n){if(n&U.Optional||e!==void 0)return e;ao(t,"NodeInjector")}function zl(e,t,n,r){if(n&U.Optional&&r===void 0&&(r=null),(n&(U.Self|U.Host))===0){let i=e[Sn],o=ke(void 0);try{return i?i.get(t,r,n&U.Optional):el(t,r,n&U.Optional)}finally{ke(o)}}return Bl(r,t,n)}function Ul(e,t,n,r=U.Default,i){if(e!==null){if(t[j]&2048&&!(r&U.Self)){let s=ip(e,t,n,r,$e);if(s!==$e)return s}let o=Zl(e,t,n,r,$e);if(o!==$e)return o}return zl(t,n,r,i)}function Zl(e,t,n,r,i){let o=np(n);if(typeof o=="function"){if(!kl(t,e,r))return r&U.Host?Bl(i,n,r):zl(t,n,r,i);try{let s;if(s=o(r),s==null&&!(r&U.Optional))ao(n);else return s}finally{Rl()}}else if(typeof o=="number"){let s=null,a=Ll(e,t),l=Wt,d=r&U.Host?t[Ge][Ke]:null;for((a===-1||r&U.SkipSelf)&&(l=a===-1?Hl(e,t):t[a+8],l===Wt||!Os(r,!1)?a=-1:(s=t[W],a=Ci(l),t=Ti(l,t)));a!==-1;){let h=t[W];if(Ds(o,a,h.data)){let p=ep(a,t,n,s,r,d);if(p!==$e)return p}l=t[a+8],l!==Wt&&Os(r,t[W].data[a+8]===d)&&Ds(o,a,t)?(s=h,a=Ci(l),t=Ti(l,t)):a=-1}}return i}function ep(e,t,n,r,i,o){let s=t[W],a=s.data[e+8],l=r==null?Nr(a)&&xi:r!=s&&(a.type&3)!==0,d=i&U.Host&&o===a,h=tp(a,s,n,l,d);return h!==null?ki(t,s,h,a):$e}function tp(e,t,n,r,i){let o=e.providerIndexes,s=t.data,a=o&1048575,l=e.directiveStart,d=e.directiveEnd,h=o>>20,p=r?a:a+h,_=i?a+h:d;for(let w=p;w<_;w++){let E=s[w];if(w<l&&n===E||w>=l&&E.type===n)return w}if(i){let w=s[l];if(w&&Nt(w)&&w.type===n)return l}return null}function ki(e,t,n,r){let i=e[n],o=t.data;if(Bh(i)){let s=i;s.resolving&&Vd(Md(o[n]));let a=mr(s.canSeeViewProviders);s.resolving=!0;let l,d=s.injectImpl?ke(s.injectImpl):null,h=kl(e,r,U.Default);try{i=e[n]=s.factory(void 0,o,e,r),t.firstCreatePass&&n>=r.directiveStart&&Lh(n,o[n],t)}finally{d!==null&&ke(d),mr(a),s.resolving=!1,Rl()}}return i}function np(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(vn)?e[vn]:void 0;return typeof t=="number"?t>=0?t&Pl:rp:t}function Ds(e,t,n){let r=1<<e;return!!(n[t+(e>>Fl)]&r)}function Os(e,t){return!(e&U.Self)&&!(e&U.Host&&t)}var Wl=class{_tNode;_lView;constructor(e,t){this._tNode=e,this._lView=t}get(e,t,n){return Ul(this._tNode,this._lView,e,kr(n),t)}};function rp(){return new Wl(Vn(),fe())}function ip(e,t,n,r,i){let o=e,s=t;for(;o!==null&&s!==null&&s[j]&2048&&!gr(s);){let a=Zl(o,s,n,r|U.Self,$e);if(a!==$e)return a;let l=o.parent;if(!l){let d=s[fl];if(d){let h=d.get(n,$e,r);if(h!==$e)return h}l=ql(s),s=s[rn]}o=l}return i}function ql(e){let t=e[W],n=t.type;return n===2?t.declTNode:n===1?e[Ke]:null}function Ns(e,t=null,n=null,r){let i=op(e,t,n,r);return i.resolveInjectorInitializers(),i}function op(e,t=null,n=null,r,i=new Set){let o=[n||_t,Xd(e)];return r=r||(typeof e=="object"?void 0:We(e)),new ho(o,t||fo(),r||null,i)}var Vr=class $l{static THROW_IF_NOT_FOUND=wn;static NULL=new il;static create(t,n){if(Array.isArray(t))return Ns({name:""},n,t,"");{let r=t.name??"";return Ns({name:r},t.parent,t.providers,r)}}static \u0275prov=pe({token:$l,providedIn:"any",factory:()=>oe(nl)});static __NG_ELEMENT_ID__=-1},sp=new se("");sp.__NG_ELEMENT_ID__=e=>{let t=Vn();if(t===null)throw new Y(204,!1);if(t.type&2)return t.value;if(e&U.Optional)return null;throw new Y(204,!1)};var Gl=!1,Kl=(()=>{class e{static __NG_ELEMENT_ID__=lp;static __NG_ENV_ID__=n=>n}return e})(),ap=class extends Kl{_lView;constructor(e){super(),this._lView=e}onDestroy(e){return El(this._lView,e),()=>wh(this._lView,e)}};function lp(){return new ap(fe())}var Pn=class{},So=new se("",{providedIn:"root",factory:()=>!1}),Ql=new se(""),Io=new se(""),Pr=(()=>{class e{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new Xf(!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=pe({token:e,providedIn:"root",factory:()=>new e})}return e})(),up=class extends Rn{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(e=!1){super(),this.__isAsync=e,uh()&&(this.destroyRef=re(Kl,{optional:!0})??void 0,this.pendingTasks=re(Pr,{optional:!0})??void 0)}emit(e){let t=K(null);try{super.next(e)}finally{K(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 nt&&e.add(s),s}wrapInTimeout(e){return t=>{let n=this.pendingTasks?.add();setTimeout(()=>{e(t),n!==void 0&&this.pendingTasks?.remove(n)})}}},ut=up;function yr(...e){}function Yl(e){let t,n;function r(){e=yr;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 Rs(e){return queueMicrotask(()=>e()),()=>{e=yr}}var Co="isAngularZone",vr=Co+"_ID",cp=0,Me=class Di{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new ut(!1);onMicrotaskEmpty=new ut(!1);onStable=new ut(!1);onError=new ut(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:i=!1,scheduleInRootZone:o=Gl}=t;if(typeof Zone>"u")throw new Y(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,hp(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Co)===!0}static assertInAngularZone(){if(!Di.isInAngularZone())throw new Y(909,!1)}static assertNotInAngularZone(){if(Di.isInAngularZone())throw new Y(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,fp,yr,yr);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)}},fp={};function To(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 dp(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Yl(()=>{e.callbackScheduled=!1,Oi(e),e.isCheckStableRunning=!0,To(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Oi(e)}function hp(e){let t=()=>{dp(e)},n=cp++;e._inner=e._inner.fork({name:"angular",properties:{[Co]:!0,[vr]:n,[vr+n]:!0},onInvokeTask:(r,i,o,s,a,l)=>{if(pp(l))return r.invokeTask(o,s,a,l);try{return As(e),r.invokeTask(o,s,a,l)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Ms(e)}},onInvoke:(r,i,o,s,a,l,d)=>{try{return As(e),r.invoke(o,s,a,l,d)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!gp(l)&&t(),Ms(e)}},onHasTask:(r,i,o,s)=>{r.hasTask(o,s),i===o&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Oi(e),To(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 Oi(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function As(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Ms(e){e._nesting--,To(e)}var Xl=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new ut;onMicrotaskEmpty=new ut;onStable=new ut;onError=new ut;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 pp(e){return Jl(e,"__ignore_ng_zone__")}function gp(e){return Jl(e,"__scheduler_tick__")}function Jl(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var Fn=class{_console=console;handleError(e){this._console.error("ERROR",e)}},mp=new se("",{providedIn:"root",factory:()=>{let e=re(Me),t=re(Fn);return n=>e.runOutsideAngular(()=>t.handleError(n))}});function yp(){return eu(Vn(),fe())}function eu(e,t){return new tu(Rt(e,t))}var tu=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=yp}return e})();function Vs(e,t){let n=Mf(e),r=n[ct];return t?.equal&&(r.equal=t.equal),n.set=i=>Ca(r,i),n.update=i=>Vf(r,i),n.asReadonly=vp.bind(n),n}function vp(){let e=this[ct];if(e.readonlyFn===void 0){let t=()=>this();t[ct]=e,e.readonlyFn=t}return e.readonlyFn}function nu(e){return(e.flags&128)===128}var ru=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(ru||{}),iu=new Map,bp=0;function wp(){return bp++}function Ep(e){iu.set(e[Or],e)}function Ni(e){iu.delete(e[Or])}var Ps="__ngContext__";function jn(e,t){Et(t)?(e[Ps]=t[Or],Ep(t)):e[Ps]=t}function ou(e){return au(e[In])}function su(e){return au(e[qe])}function au(e){for(;e!==null&&!Ot(e);)e=e[qe];return e}var Ri;function _p(e){Ri=e}function lu(){if(Ri!==void 0)return Ri;if(typeof document<"u")return document;throw new Y(210,!1)}var uu=new se("",{providedIn:"root",factory:()=>Sp}),Sp="ng",cu=new se(""),xo=new se("",{providedIn:"platform",factory:()=>"unknown"}),fu=new se("",{providedIn:"root",factory:()=>lu().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),Ip="h",Cp="b",du=!1,Tp=new se("",{providedIn:"root",factory:()=>du}),hu=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(hu||{}),ko=new se(""),Fs=new Set;function Fr(e){Fs.has(e)||(Fs.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var xp=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=pe({token:e,providedIn:"root",factory:()=>new e})}return e})(),kp=()=>null;function pu(e,t,n=!1){return kp(e,t,n)}function gu(e,t){let n=e.contentQueries;if(n!==null){let r=K(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];xl(o),a.contentQueries(2,t[s],s)}}}finally{K(r)}}}function Ai(e,t,n){xl(0);let r=K(null);try{t(e,n)}finally{K(r)}}function mu(e,t,n){if(hl(t)){let r=K(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{K(r)}}}var tt=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(tt||{}),Qn;function Dp(){if(Qn===void 0&&(Qn=null,cr.trustedTypes))try{Qn=cr.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Qn}function jr(e){return Dp()?.createHTML(e)||e}var Yn;function Op(){if(Yn===void 0&&(Yn=null,cr.trustedTypes))try{Yn=cr.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Yn}function js(e){return Op()?.createHTML(e)||e}var Mt=class{changingThisBreaksApplicationSecurity;constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Ga})`}},Np=class extends Mt{getTypeName(){return"HTML"}},Rp=class extends Mt{getTypeName(){return"Style"}},Ap=class extends Mt{getTypeName(){return"Script"}},Mp=class extends Mt{getTypeName(){return"URL"}},Vp=class extends Mt{getTypeName(){return"ResourceURL"}};function lt(e){return e instanceof Mt?e.changingThisBreaksApplicationSecurity:e}function vt(e,t){let n=Pp(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Ga})`)}return n===t}function Pp(e){return e instanceof Mt&&e.getTypeName()||null}function Fp(e){return new Np(e)}function jp(e){return new Rp(e)}function Lp(e){return new Ap(e)}function Hp(e){return new Mp(e)}function Bp(e){return new Vp(e)}function zp(e){let t=new Zp(e);return Wp()?new Up(t):t}var Up=class{inertDocumentHelper;constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e="<body><remove></remove>"+e;try{let t=new window.DOMParser().parseFromString(jr(e),"text/html").body;return t===null?this.inertDocumentHelper.getInertBodyElement(e):(t.firstChild?.remove(),t)}catch{return null}}},Zp=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=jr(e),t}};function Wp(){try{return!!new window.DOMParser().parseFromString(jr(""),"text/html")}catch{return!1}}var qp=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Do(e){return e=String(e),e.match(qp)?e:"unsafe:"+e}function ot(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Ln(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var yu=ot("area,br,col,hr,img,wbr"),vu=ot("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),bu=ot("rp,rt"),$p=Ln(bu,vu),Gp=Ln(vu,ot("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")),Kp=Ln(bu,ot("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")),Ls=Ln(yu,Gp,Kp,$p),wu=ot("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Qp=ot("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"),Yp=ot("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"),Xp=Ln(wu,Qp,Yp),Jp=ot("script,style,template"),eg=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=rg(t);continue}for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let i=ng(t);if(i){t=i;break}t=r.pop()}}return this.buf.join("")}startElement(e){let t=Hs(e).toLowerCase();if(!Ls.hasOwnProperty(t))return this.sanitizedSomething=!0,!Jp.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(!Xp.hasOwnProperty(s)){this.sanitizedSomething=!0;continue}let a=i.value;wu[s]&&(a=Do(a)),this.buf.push(" ",o,'="',Bs(a),'"')}return this.buf.push(">"),!0}endElement(e){let t=Hs(e).toLowerCase();Ls.hasOwnProperty(t)&&!yu.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(e){this.buf.push(Bs(e))}};function tg(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function ng(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Eu(t);return t}function rg(e){let t=e.firstChild;if(t&&tg(e,t))throw Eu(t);return t}function Hs(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Eu(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var ig=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,og=/([^\#-~ |!])/g;function Bs(e){return e.replace(/&/g,"&").replace(ig,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(og,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var Xn;function _u(e,t){let n=null;try{Xn=Xn||zp(e);let r=t?String(t):"";n=Xn.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=Xn.getInertBodyElement(r)}while(r!==o);let s=new eg().sanitizeChildren(zs(n)||n);return jr(s)}finally{if(n){let r=zs(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function zs(e){return"content"in e&&sg(e)?e.content:null}function sg(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var Je=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}(Je||{});function Su(e){let t=Iu();return t?js(t.sanitize(Je.HTML,e)||""):vt(e,"HTML")?js(lt(e)):_u(lu(),xr(e))}function ag(e){let t=Iu();return t?t.sanitize(Je.URL,e)||"":vt(e,"URL")?lt(e):Do(xr(e))}function Iu(){let e=fe();return e&&e[rt].sanitizer}function lg(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 Cu="ng-template";function ug(e,t,n,r){let i=0;if(r){for(;i<t.length&&typeof t[i]=="string";i+=2)if(t[i]==="class"&&lg(t[i+1].toLowerCase(),n,0)!==-1)return!0}else if(Oo(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 Oo(e){return e.type===4&&e.value!==Cu}function cg(e,t,n){let r=e.type===4&&!n?Cu:e.value;return t===r}function fg(e,t,n){let r=4,i=e.attrs,o=i!==null?pg(i):0,s=!1;for(let a=0;a<t.length;a++){let l=t[a];if(typeof l=="number"){if(!s&&!Ue(r)&&!Ue(l))return!1;if(s&&Ue(l))continue;s=!1,r=l|r&1;continue}if(!s)if(r&4){if(r=2|r&1,l!==""&&!cg(e,l,n)||l===""&&t.length===1){if(Ue(r))return!1;s=!0}}else if(r&8){if(i===null||!ug(e,i,l,n)){if(Ue(r))return!1;s=!0}}else{let d=t[++a],h=dg(l,i,Oo(e),n);if(h===-1){if(Ue(r))return!1;s=!0;continue}if(d!==""){let p;if(h>o?p="":p=i[h+1].toLowerCase(),r&2&&d!==p){if(Ue(r))return!1;s=!0}}}}return Ue(r)||s}function Ue(e){return(e&1)===0}function dg(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 gg(t,e)}function hg(e,t,n=!1){for(let r=0;r<t.length;r++)if(fg(e,t[r],n))return!0;return!1}function pg(e){for(let t=0;t<e.length;t++){let n=e[t];if(Wh(n))return t}return e.length}function gg(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 Us(e,t){return e?":not("+t.trim()+")":t}function mg(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!==""&&!Ue(s)&&(t+=Us(o,i),i=""),r=s,o=o||!Ue(r);n++}return i!==""&&(t+=Us(o,i)),t}function yg(e){return e.map(mg).join(",")}function vg(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(!Ue(i))break;i=o}r++}return n.length&&t.push(1,...n),t}var mt={};function bg(e,t){return e.createText(t)}function wg(e,t,n){e.setValue(t,n)}function Tu(e,t,n){return e.createElement(t,n)}function Mi(e,t,n,r,i){e.insertBefore(t,n,r,i)}function xu(e,t,n){e.appendChild(t,n)}function Zs(e,t,n,r,i){r!==null?Mi(e,t,n,r,i):xu(e,t,n)}function Eg(e,t,n){e.removeChild(null,t,n)}function _g(e,t,n){e.setAttribute(t,"style",n)}function Sg(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function ku(e,t,n){let{mergedAttrs:r,classes:i,styles:o}=n;r!==null&&Zh(e,t,r),i!==null&&Sg(e,t,i),o!==null&&_g(e,t,o)}function No(e,t,n,r,i,o,s,a,l,d,h){let p=Ie+r,_=p+i,w=Ig(p,_),E=typeof d=="function"?d():d;return w[W]={type:e,blueprint:w,template:n,queries:null,viewQuery:a,declTNode:t,data:w.slice().fill(null,p),bindingStartIndex:p,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:E,incompleteFirstPass:!1,ssrId:h}}function Ig(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:mt);return n}function Cg(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=No(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Ro(e,t,n,r,i,o,s,a,l,d,h){let p=t.blueprint.slice();return p[it]=i,p[j]=r|4|128|8|64|1024,(d!==null||e&&e[j]&2048)&&(p[j]|=2048),wl(p),p[He]=p[rn]=e,p[we]=n,p[rt]=s||e&&e[rt],p[Pe]=a||e&&e[Pe],p[Sn]=l||e&&e[Sn]||null,p[Ke]=o,p[Or]=wp(),p[_n]=h,p[fl]=d,p[Ge]=t.type==2?e[Ge]:p,p}function Tg(e,t,n){let r=Rt(t,e),i=Cg(n),o=e[rt].rendererFactory,s=Nu(e,Ro(e,i,null,Du(n),r,t,null,o.createRenderer(r,n),null,null,null));return e[t.index]=s}function Du(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Ou(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 Nu(e,t){return e[In]?e[Cs][qe]=t:e[In]=t,e[Cs]=t,t}function qt(e=1){Ru(Qe(),fe(),At()+e,!1)}function Ru(e,t,n,r){if(!r)if((t[j]&3)===3){let i=e.preOrderCheckHooks;i!==null&&rr(t,i,n)}else{let i=e.preOrderHooks;i!==null&&ir(t,i,0,n)}Ct(n)}var Lr=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Lr||{});function Vi(e,t,n,r){let i=K(null);try{let[o,s,a]=e.inputs[n],l=null;(s&Lr.SignalBased)!==0&&(l=t[o][ct]),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):gl(t,l,o,r)}finally{K(i)}}function Au(e,t,n,r,i){let o=At(),s=r&2;try{Ct(-1),s&&t.length>Ie&&Ru(e,t,Ie,!1),le(s?2:0,i),n(r,i)}finally{Ct(o),le(s?3:1,i)}}function Ao(e,t,n){Ag(e,t,n),(n.flags&64)===64&&Mg(e,t,n)}function Mu(e,t,n=Rt){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 xg(e,t,n,r){let i=r.get(Tp,du)||n===tt.ShadowDom,o=e.selectRootElement(t,i);return kg(o),o}function kg(e){Dg(e)}var Dg=()=>null;function Og(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function Ng(e,t,n,r,i,o,s,a){if(!a&&Mo(t,e,n,r,i)){Nr(t)&&Rg(n,t.index);return}if(t.type&3){let l=Rt(t,n);r=Og(r),i=s!=null?s(i,t.value||"",r):i,o.setProperty(l,r,i)}else t.type&12}function Rg(e,t){let n=St(t,e);n[j]&16||(n[j]|=64)}function Ag(e,t,n){let r=n.directiveStart,i=n.directiveEnd;Nr(n)&&Tg(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||jl(n,t);let o=n.initialInputs;for(let s=r;s<i;s++){let a=e.data[s],l=ki(t,e,s,n);if(jn(l,t),o!==null&&Pg(t,s-r,l,a,n,o),Nt(a)){let d=St(n.index,t);d[we]=ki(t,e,s,n)}}}function Mg(e,t,n){let r=n.directiveStart,i=n.directiveEnd,o=n.index,s=Ah();try{Ct(o);for(let a=r;a<i;a++){let l=e.data[a],d=t[a];Ii(a),(l.hostBindings!==null||l.hostVars!==0||l.hostAttrs!==null)&&Vg(l,d)}}finally{Ct(-1),Ii(s)}}function Vg(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function Vu(e,t){let n=e.directiveRegistry,r=null;if(n)for(let i=0;i<n.length;i++){let o=n[i];hg(t,o.selectors,!1)&&(r??=[],Nt(o)?r.unshift(o):r.push(o))}return r}function Pg(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],d=s[a+1];Vi(r,n,l,d)}}function Fg(e,t){let n=e[Sn],r=n?n.get(Fn,null):null;r&&r.handleError(t)}function Mo(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 d=s[l],h=s[l+1],p=t.data[d];Vi(p,n[d],h,i),a=!0}if(o)for(let l of o){let d=n[l],h=t.data[l];Vi(h,d,r,i),a=!0}return a}function jg(e,t){let n=St(t,e),r=n[W];Lg(r,n);let i=n[it];i!==null&&n[_n]===null&&(n[_n]=pu(i,n[Sn])),le(18),Vo(r,n,n[we]),le(19,n[we])}function Lg(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Vo(e,t,n){yo(t);try{let r=e.viewQuery;r!==null&&Ai(1,r,n);let i=e.template;i!==null&&Au(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Yt]?.finishViewCreation(e),e.staticContentQueries&&gu(e,t),e.staticViewQueries&&Ai(2,e.viewQuery,n);let o=e.components;o!==null&&Hg(t,o)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[j]&=-5,vo()}}function Hg(e,t){for(let n=0;n<t.length;n++)jg(e,t[n])}function Po(e,t,n,r){let i=K(null);try{let o=t.tView,s=e[j]&4096?4096:16,a=Ro(e,o,n,s,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[t.index];a[Qt]=l;let d=e[Yt];return d!==null&&(a[Yt]=d.createEmbeddedView(o)),Vo(o,a,n),a}finally{K(i)}}function Fo(e,t){return!t||t.firstChild===null||nu(e)}var Bg;function jo(e,t){return Bg(e,t)}var wt=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(wt||{});function Pu(e){return(e.flags&32)===32}function zt(e,t,n,r,i){if(r!=null){let o,s=!1;Ot(r)?o=r:Et(r)&&(s=!0,r=r[it]);let a=ht(r);e===0&&n!==null?i==null?xu(t,n,a):Mi(t,n,a,i||null,!0):e===1&&n!==null?Mi(t,n,a,i||null,!0):e===2?Eg(t,a,s):e===3&&t.destroyNode(a),o!=null&&Jg(t,e,o,n,i)}}function zg(e,t){Fu(e,t),t[it]=null,t[Ke]=null}function Ug(e,t,n,r,i,o){r[it]=i,r[Ke]=t,Hr(e,r,n,1,i,o)}function Fu(e,t){t[rt].changeDetectionScheduler?.notify(9),Hr(e,t,t[Pe],2,null,null)}function Zg(e){let t=e[In];if(!t)return oi(e[W],e);for(;t;){let n=null;if(Et(t))n=t[In];else{let r=t[De];r&&(n=r)}if(!n){for(;t&&!t[qe]&&t!==e;)Et(t)&&oi(t[W],t),t=t[He];t===null&&(t=e),Et(t)&&oi(t[W],t),n=t&&t[qe]}t=n}}function Lo(e,t){let n=e[pr],r=n.indexOf(t);n.splice(r,1)}function Ho(e,t){if(Mn(t))return;let n=t[Pe];n.destroyNode&&Hr(e,t,n,3,null,null),Zg(t)}function oi(e,t){if(Mn(t))return;let n=K(null);try{t[j]&=-129,t[j]|=256,t[Ae]&&ba(t[Ae]),qg(e,t),Wg(e,t),t[W].type===1&&t[Pe].destroy();let r=t[Qt];if(r!==null&&Ot(t[He])){r!==t[He]&&Lo(r,t);let i=t[Yt];i!==null&&i.detachView(e)}Ni(t)}finally{K(n)}}function Wg(e,t){let n=e.cleanup,r=t[Is];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[Is]=null);let i=t[dt];if(i!==null){t[dt]=null;for(let s=0;s<i.length;s++){let a=i[s];a()}}let o=t[hr];if(o!==null){t[hr]=null;for(let s of o)s.destroy()}}function qg(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 Eo)){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];le(4,a,l);try{l.call(a)}finally{le(5,a,l)}}else{le(4,i,o);try{o.call(i)}finally{le(5,i,o)}}}}}function $g(e,t,n){return Gg(e,t.parent,n)}function Gg(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[it];if(Nr(r)){let{encapsulation:i}=e.data[r.directiveStart+r.componentOffset];if(i===tt.None||i===tt.Emulated)return null}return Rt(r,n)}function Kg(e,t,n){return Yg(e,t,n)}function Qg(e,t,n){return e.type&40?Rt(e,n):null}var Yg=Qg,Ws;function Bo(e,t,n,r){let i=$g(e,r,t),o=t[Pe],s=r.parent||t[Ke],a=Kg(s,r,t);if(i!=null)if(Array.isArray(n))for(let l=0;l<n.length;l++)Zs(o,i,n[l],a,!1);else Zs(o,i,n,a,!1);Ws!==void 0&&Ws(o,r,t,n,i)}function mn(e,t){if(t!==null){let n=t.type;if(n&3)return Rt(t,e);if(n&4)return Pi(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return mn(e,r);{let i=e[t.index];return Ot(i)?Pi(-1,i):ht(i)}}else{if(n&128)return mn(e,t.next);if(n&32)return jo(t,e)()||ht(e[t.index]);{let r=ju(e,t);if(r!==null){if(Array.isArray(r))return r[0];let i=It(e[Ge]);return mn(i,r)}else return mn(e,t.next)}}}return null}function ju(e,t){if(t!==null){let n=e[Ge][Ke],r=t.projection;return n.projection[r]}return null}function Pi(e,t){let n=De+e+1;if(n<t.length){let r=t[n],i=r[W].firstChild;if(i!==null)return mn(r,i)}return t[Cn]}function zo(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&&jn(ht(a),r),n.flags|=2),!Pu(n))if(l&8)zo(e,t,n.child,r,i,o,!1),zt(t,e,i,a,o);else if(l&32){let d=jo(n,r),h;for(;h=d();)zt(t,e,i,h,o);zt(t,e,i,a,o)}else l&16?Xg(e,t,r,n,i,o):zt(t,e,i,a,o);n=s?n.projectionNext:n.next}}function Hr(e,t,n,r,i,o){zo(n,r,e.firstChild,t,i,o,!1)}function Xg(e,t,n,r,i,o){let s=n[Ge],a=s[Ke].projection[r.projection];if(Array.isArray(a))for(let l=0;l<a.length;l++){let d=a[l];zt(t,e,i,d,o)}else{let l=a,d=s[He];nu(r)&&(l.flags|=128),zo(e,t,l,d,i,o,!0)}}function Jg(e,t,n,r,i){let o=n[Cn],s=ht(n);o!==s&&zt(t,e,r,o,i);for(let a=De;a<n.length;a++){let l=n[a];Hr(l[W],l,e,t,r,o)}}function em(e,t,n,r,i){if(t)i?e.addClass(n,r):e.removeClass(n,r);else{let o=r.indexOf("-")===-1?void 0:wt.DashCase;i==null?e.removeStyle(n,r,o):(typeof i=="string"&&i.endsWith("!important")&&(i=i.slice(0,-10),o|=wt.Important),e.setStyle(n,r,i,o))}}function br(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(ht(o)),Ot(o)&&tm(o,r);let s=n.type;if(s&8)br(e,t,n.child,r);else if(s&32){let a=jo(n,t),l;for(;l=a();)r.push(l)}else if(s&16){let a=ju(t,n);if(Array.isArray(a))r.push(...a);else{let l=It(t[Ge]);br(l[W],l,a,r,!0)}}n=i?n.projectionNext:n.next}return r}function tm(e,t){for(let n=De;n<e.length;n++){let r=e[n],i=r[W].firstChild;i!==null&&br(r[W],r,i,t)}e[Cn]!==e[it]&&t.push(e[Cn])}function Lu(e){if(e[ti]!==null){for(let t of e[ti])t.impl.addSequence(t);e[ti].length=0}}var Hu=[];function nm(e){return e[Ae]??rm(e)}function rm(e){let t=Hu.pop()??Object.create(om);return t.lView=e,t}function im(e){e.lView[Ae]!==e&&(e.lView=null,Hu.push(e))}var om=nn(xt({},no),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Ar(e.lView)},consumerOnSignalRead(){this.lView[Ae]=this}});function sm(e){let t=e[Ae]??Object.create(am);return t.lView=e,t}var am=nn(xt({},no),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=It(e.lView);for(;t&&!Bu(t[W]);)t=It(t);t&&mo(t)},consumerOnSignalRead(){this.lView[Ae]=this}});function Bu(e){return e.type!==2}function zu(e){if(e[hr]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[hr])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[j]&8192)}}var lm=100;function Uu(e,t=!0,n=0){let r=e[rt].rendererFactory,i=!1;i||r.begin?.();try{um(e,n)}catch(o){throw t&&Fg(e,o),o}finally{i||r.end?.()}}function um(e,t){let n=Cl();try{Ts(!0),Fi(e,t);let r=0;for(;Rr(e);){if(r===lm)throw new Y(103,!1);r++,Fi(e,1)}}finally{Ts(n)}}function cm(e,t,n,r){if(Mn(t))return;let i=t[j],o=!1,s=!1;yo(t);let a=!0,l=null,d=null;o||(Bu(e)?(d=nm(t),l=fs(d)):Cf()===null?(a=!1,d=sm(t),l=fs(d)):t[Ae]&&(ba(t[Ae]),t[Ae]=null));try{wl(t),Dh(e.bindingStartIndex),n!==null&&Au(e,t,n,2,r);let h=(i&3)===3;if(!o)if(h){let w=e.preOrderCheckHooks;w!==null&&rr(t,w,null)}else{let w=e.preOrderHooks;w!==null&&ir(t,w,0,null),ni(t,0)}if(s||fm(t),zu(t),Zu(t,0),e.contentQueries!==null&&gu(e,t),!o)if(h){let w=e.contentCheckHooks;w!==null&&rr(t,w)}else{let w=e.contentHooks;w!==null&&ir(t,w,1),ni(t,1)}hm(e,t);let p=e.components;p!==null&&qu(t,p,0);let _=e.viewQuery;if(_!==null&&Ai(2,_,r),!o)if(h){let w=e.viewCheckHooks;w!==null&&rr(t,w)}else{let w=e.viewHooks;w!==null&&ir(t,w,2),ni(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[ei]){for(let w of t[ei])w();t[ei]=null}o||(Lu(t),t[j]&=-73)}catch(h){throw o||Ar(t),h}finally{d!==null&&(Of(d,l),a&&im(d)),vo()}}function Zu(e,t){for(let n=ou(e);n!==null;n=su(n))for(let r=De;r<n.length;r++){let i=n[r];Wu(i,t)}}function fm(e){for(let t=ou(e);t!==null;t=su(t)){if(!(t[j]&2))continue;let n=t[pr];for(let r=0;r<n.length;r++){let i=n[r];mo(i)}}}function dm(e,t,n){le(18);let r=St(t,e);Wu(r,n),le(19,r[we])}function Wu(e,t){go(e)&&Fi(e,t)}function Fi(e,t){let n=e[W],r=e[j],i=e[Ae],o=!!(t===0&&r&16);if(o||=!!(r&64&&t===0),o||=!!(r&1024),o||=!!(i?.dirty&&va(i)),o||=!1,i&&(i.dirty=!1),e[j]&=-9217,o)cm(n,e,n.template,e[we]);else if(r&8192){zu(e),Zu(e,1);let s=n.components;s!==null&&qu(e,s,1),Lu(e)}}function qu(e,t,n){for(let r=0;r<t.length;r++)dm(e,t[r],n)}function hm(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)Ct(~i);else{let o=i,s=n[++r],a=n[++r];Rh(s,o);let l=t[o];le(24,l),a(2,l),le(25,l)}}}finally{Ct(-1)}}function $u(e,t){let n=Cl()?64:1088;for(e[rt].changeDetectionScheduler?.notify(t);e;){e[j]|=n;let r=It(e);if(gr(e)&&!r)return e;e=r}return null}function pm(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Gu(e,t){let n=De+t;if(n<e.length)return e[n]}function Uo(e,t,n,r=!0){let i=t[W];if(gm(i,t,e,n),r){let s=Pi(n,e),a=t[Pe],l=a.parentNode(e[Cn]);l!==null&&Ug(i,e[Ke],a,t,l,s)}let o=t[_n];o!==null&&o.firstChild!==null&&(o.firstChild=null)}function Ku(e,t){let n=Zo(e,t);return n!==void 0&&Ho(n[W],n),n}function Zo(e,t){if(e.length<=De)return;let n=De+t,r=e[n];if(r){let i=r[Qt];i!==null&&i!==e&&Lo(i,r),t>0&&(e[n-1][qe]=r[qe]);let o=tl(e,De+t);zg(r[W],r);let s=o[Yt];s!==null&&s.detachView(o[W]),r[He]=null,r[qe]=null,r[j]&=-129}return r}function gm(e,t,n,r){let i=De+r,o=n.length;r>0&&(n[i-1][qe]=t),r<o-De?(t[qe]=n[i],qd(n,De+r,t)):(n.push(t),t[qe]=null),t[He]=n;let s=t[Qt];s!==null&&n!==s&&Qu(s,t);let a=t[Yt];a!==null&&a.insertView(e),_i(t),t[j]|=128}function Qu(e,t){let n=e[pr],r=t[He];if(Et(r))e[j]|=2;else{let i=r[He][Ge];t[Ge]!==i&&(e[j]|=2)}n===null?e[pr]=[t]:n.push(t)}var mm=class{_lView;_cdRefInjectingView;notifyErrorHandler;_appRef=null;_attachedToViewContainer=!1;get rootNodes(){let e=this._lView,t=e[W];return br(t,e,t.firstChild,[])}constructor(e,t,n=!0){this._lView=e,this._cdRefInjectingView=t,this.notifyErrorHandler=n}get context(){return this._lView[we]}get dirty(){return!!(this._lView[j]&9280)||!!this._lView[Ae]?.dirty}set context(e){this._lView[we]=e}get destroyed(){return Mn(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let e=this._lView[He];if(Ot(e)){let t=e[ch],n=t?t.indexOf(this):-1;n>-1&&(Zo(e,n),tl(t,n))}this._attachedToViewContainer=!1}Ho(this._lView[W],this._lView)}onDestroy(e){El(this._lView,e)}markForCheck(){$u(this._cdRefInjectingView||this._lView,4)}markForRefresh(){mo(this._cdRefInjectingView||this._lView)}detach(){this._lView[j]&=-129}reattach(){_i(this._lView),this._lView[j]|=128}detectChanges(){this._lView[j]|=1024,Uu(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Y(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let e=gr(this._lView),t=this._lView[Qt];t!==null&&!e&&Lo(t,this._lView),Fu(this._lView[W],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new Y(902,!1);this._appRef=e;let t=gr(this._lView),n=this._lView[Qt];n!==null&&!t&&Qu(n,this._lView),_i(this._lView)}};function Br(e,t,n,r,i){let o=e.data[t];if(o===null)o=ym(e,t,n,r,i),Nh()&&(o.flags|=32);else if(o.type&64){o.type=n,o.value=r,o.attrs=i;let s=xh();o.injectorIndex=s===null?-1:s.injectorIndex}return on(o,!0),o}function ym(e,t,n,r,i){let o=Sl(),s=Il(),a=s?o:o&&o.parent,l=e.data[t]=bm(e,a,n,t,r,i);return vm(e,l,o,s),l}function vm(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 bm(e,t,n,r,i,o){let s=t?t.injectorIndex:-1,a=0;return Ih()&&(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 Hb=new RegExp(`^(\\d+)*(${Cp}|${Ip})*(.*)`),wm=()=>null;function Wo(e,t){return wm(e,t)}var Em=class{},Yu=class{},_m=class{resolveComponentFactory(e){throw Error(`No component factory found for ${We(e)}.`)}},Hn=class{static NULL=new _m},qo=class{},Sm=(()=>{class e{static \u0275prov=pe({token:e,providedIn:"root",factory:()=>null})}return e})();function qs(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=ys(i,a);else if(o==2){let l=a,d=t[++s];r=ys(r,l+": "+d+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}function zr(e,t=U.Default){let n=fe();if(n===null)return oe(e,t);let r=Vn();return Ul(r,n,Ze(e),t)}function Xu(e,t,n,r,i){let o=r===null?null:{"":-1},s=i(e,n);if(s!==null){let a,l=null,d=null,h=Cm(s);h===null?a=s:[a,l,d]=h,km(e,t,n,a,o,l,d)}o!==null&&r!==null&&Im(n,r,o)}function Im(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 Y(-301,!1);r.push(t[i],o)}}function Cm(e){let t=null,n=!1;for(let s=0;s<e.length;s++){let a=e[s];if(s===0&&Nt(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,Tm(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 Tm(e,t,n,r){let i=t.length;e.findHostDirectiveDefs(e,t,r),n.set(e,[i,t.length-1])}function xm(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function km(e,t,n,r,i,o,s){let a=r.length,l=!1;for(let _=0;_<a;_++){let w=r[_];!l&&Nt(w)&&(l=!0,xm(e,n,_)),Jh(jl(n,t),e,w.type)}Mm(n,e.data.length,a);for(let _=0;_<a;_++){let w=r[_];w.providersResolver&&w.providersResolver(w)}let d=!1,h=!1,p=Ou(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let _=0;_<a;_++){let w=r[_];if(n.mergedAttrs=_o(n.mergedAttrs,w.hostAttrs),Om(e,n,t,p,w),Am(p,w,i),s!==null&&s.has(w)){let[I,O]=s.get(w);n.directiveToIndex.set(w.type,[p,I+n.directiveStart,O+n.directiveStart])}else(o===null||!o.has(w))&&n.directiveToIndex.set(w.type,p);w.contentQueries!==null&&(n.flags|=4),(w.hostBindings!==null||w.hostAttrs!==null||w.hostVars!==0)&&(n.flags|=64);let E=w.type.prototype;!d&&(E.ngOnChanges||E.ngOnInit||E.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),d=!0),!h&&(E.ngOnChanges||E.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),h=!0),p++}Dm(e,n,o)}function Dm(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let i=e.data[r];if(n===null||!n.has(i))$s(0,t,i,r),$s(1,t,i,r),Ks(t,r,!1);else{let o=n.get(i);Gs(0,t,o,r),Gs(1,t,o,r),Ks(t,r,!0)}}}function $s(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),Ju(t,o)}}function Gs(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),Ju(t,s)}}function Ju(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function Ks(e,t,n){let{attrs:r,inputs:i,hostDirectiveInputs:o}=e;if(r===null||!n&&i===null||n&&o===null||Oo(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 d=i[l];for(let h of d)if(h===t){s??=[],s.push(l,r[a+1]);break}}else if(n&&o.hasOwnProperty(l)){let d=o[l];for(let h=0;h<d.length;h+=2)if(d[h]===t){s??=[],s.push(d[h+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function Om(e,t,n,r,i){e.data[r]=i;let o=i.factory||(i.factory=Gt(i.type,!0)),s=new Eo(o,Nt(i),zr);e.blueprint[r]=s,n[r]=s,Nm(e,t,r,Ou(e,n,i.hostVars,mt),i)}function Nm(e,t,n,r,i){let o=i.hostBindings;if(o){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;Rm(s)!=a&&s.push(a),s.push(n,r,o)}}function Rm(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function Am(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Nt(t)&&(n[""]=e)}}function Mm(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function ec(e,t,n,r,i,o,s,a){let l=t.consts,d=Xt(l,s),h=Br(t,e,2,r,d);return o&&Xu(t,n,h,Xt(l,a),i),h.mergedAttrs=_o(h.mergedAttrs,h.attrs),h.attrs!==null&&qs(h,h.attrs,!1),h.mergedAttrs!==null&&qs(h,h.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,h),h}function tc(e,t){Ml(e,t),hl(t)&&e.queries.elementEnd(t)}var Vm=class extends Hn{ngModule;constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){let t=Dr(e);return new Bm(t,this.ngModule)}};function Pm(e){return Object.keys(e).map(t=>{let[n,r,i]=e[t],o={propName:n,templateName:t,isSignal:(r&Lr.SignalBased)!==0};return i&&(o.transform=i),o})}function Fm(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function jm(e,t,n){let r=t instanceof En?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new $h(n,r):n}function Lm(e){let t=e.get(qo,null);if(t===null)throw new Y(407,!1);let n=e.get(Sm,null),r=e.get(Pn,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r}}function Hm(e,t){let n=(e.selectors[0][0]||"div").toLowerCase();return Tu(t,n,n==="svg"?yh:n==="math"?vh:null)}var Bm=class extends Yu{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;get inputs(){return Pm(this.componentDef.inputs)}get outputs(){return Fm(this.componentDef.outputs)}constructor(e,t){super(),this.componentDef=e,this.ngModule=t,this.componentType=e.type,this.selector=yg(e.selectors),this.ngContentSelectors=e.ngContentSelectors??[],this.isBoundToModule=!!t}create(e,t,n,r){le(22);let i=K(null);try{let o=this.componentDef,s=n?["ng-version","19.2.0"]:vg(this.componentDef.selectors[0]),a=No(0,null,null,1,0,null,null,null,null,[s],null),l=jm(o,r||this.ngModule,e),d=Lm(l),h=d.rendererFactory.createRenderer(null,o),p=n?xg(h,n,o.encapsulation,l):Hm(o,h),_=Ro(null,a,null,512|Du(o),null,null,d,h,l,null,pu(p,l,!0));_[Ie]=p,yo(_);let w=null;try{let E=ec(Ie,a,_,"#host",()=>[this.componentDef],!0,0);p&&(ku(h,p,E),jn(p,_)),Ao(a,_,E),mu(a,E,_),tc(a,E),t!==void 0&&Um(E,this.ngContentSelectors,t),w=St(E.index,_),_[we]=w[we],Vo(a,_,null)}catch(E){throw w!==null&&Ni(w),Ni(_),E}finally{le(23),vo()}return new zm(this.componentType,_)}finally{K(i)}}},zm=class extends Em{_rootLView;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(e,t){super(),this._rootLView=t,this._tNode=po(t[W],Ie),this.location=eu(this._tNode,t),this.instance=St(this._tNode.index,t)[we],this.hostView=this.changeDetectorRef=new mm(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=Mo(n,r[W],r,e,t);this.previousInputValues.set(e,t);let o=St(n.index,r);$u(o,1)}get injector(){return new Wl(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}};function Um(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 Zm=()=>!1;function Wm(e,t,n){return Zm(e,t,n)}var ji=class{},nc=class extends ji{injector;componentFactoryResolver=new Vm(this);instance=null;constructor(e){super();let t=new ho([...e.providers,{provide:ji,useValue:this},{provide:Hn,useValue:this.componentFactoryResolver}],e.parent||fo(),e.debugName,new Set(["environment"]));this.injector=t,e.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function qm(e,t,n=null){return new nc({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var $m=(()=>{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=al(!1,n.type),i=r.length>0?qm([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=pe({token:e,providedIn:"environment",factory:()=>new e(oe(En))})}return e})();function Gm(e){return Td(()=>{let t=Jm(e),n=nn(xt({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===ru.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?i=>i.get($m).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||tt.Emulated,styles:e.styles||_t,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&Fr("NgStandalone"),ey(n);let r=e.dependencies;return n.directiveDefs=Qs(r,!1),n.pipeDefs=Qs(r,!0),n.id=ty(n),n})}function Km(e){return Dr(e)||ol(e)}function Qm(e){return e!==null}function Ym(e,t){if(e==null)return Kt;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=Lr.None,l=null),n[o]=[r,a,l],t[o]=s}return n}function Xm(e){if(e==null)return Kt;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function $o(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 Jm(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||Kt,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||_t,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Ym(e.inputs,t),outputs:Xm(e.outputs),debugInfo:null}}function ey(e){e.features?.forEach(t=>t(e))}function Qs(e,t){if(!e)return null;let n=t?sl:Km;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(Qm)}function ty(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 rc(e,t,n){return e[t]=n}function pt(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function ny(e,t,n,r){let i=pt(e,t,n);return pt(e,t+1,r)||i}function ry(e,t,n,r,i,o,s,a,l){let d=t.consts,h=Br(t,e,4,s||null,a||null);_l()&&Xu(t,n,h,Xt(d,l),Vu),h.mergedAttrs=_o(h.mergedAttrs,h.attrs),Ml(t,h);let p=h.tView=No(2,h,r,i,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,d,null);return t.queries!==null&&(t.queries.template(t,h),p.queries=t.queries.embeddedTView(h)),h}function Li(e,t,n,r,i,o,s,a,l,d){let h=n+Ie,p=t.firstCreatePass?ry(h,t,e,r,i,o,s,a,l):t.data[h];on(p,!1);let _=iy(t,e,p,n);bo()&&Bo(t,e,_,p),jn(_,e);let w=pm(_,e,_,p);return e[h]=w,Nu(e,w),Wm(w,p,e),pl(p)&&Ao(t,e,p),l!=null&&Mu(e,p,d),p}function ic(e,t,n,r,i,o,s,a){let l=fe(),d=Qe(),h=Xt(d.consts,o);return Li(l,d,e,t,n,r,i,h,s,a),ic}var iy=oy;function oy(e,t,n,r){return wo(!0),t[Pe].createComment("")}var sy=new se(""),ay=(()=>{class e{static \u0275prov=pe({token:e,providedIn:"root",factory:()=>new ly})}return e})(),ly=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 oc(e){return!!e&&typeof e.then=="function"}function uy(e){return!!e&&typeof e.subscribe=="function"}var cy=new se(""),sc=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=re(cy,{optional:!0})??[];injector=re(Vr);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let i of this.appInits){let o=cl(this.injector,i);if(oc(o))n.push(o);else if(uy(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=pe({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),fy=new se("");function dy(){Rf(()=>{throw new Y(600,!1)})}function hy(e){return e.isBoundToModule}var py=10,Jt=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=re(mp);afterRenderManager=re(xp);zonelessEnabled=re(So);rootEffectScheduler=re(ay);dirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new Rn;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=re(Pr).hasPendingTasks.pipe(qa(n=>!n));constructor(){re(ko,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:i=>{i&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=re(En);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){le(10);let i=n instanceof Yu;if(!this._injector.get(sc).done){let p=!i&&Qd(n),_=!1;throw new Y(405,_)}let o;i?o=n:o=this._injector.get(Hn).resolveComponentFactory(n),this.componentTypes.push(o.componentType);let s=hy(o)?void 0:this._injector.get(ji),a=r||o.selector,l=o.create(Vr.NULL,[],a,s),d=l.location.nativeElement,h=l.injector.get(sy,null);return h?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),or(this.components,l),h?.unregisterApplication(d)}),this._loadComponent(l),le(11,l),l}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){le(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(hu.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new Y(101,!1);let n=K(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,K(n),this.afterTick.next(),le(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(qo,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<py;)le(14),this.synchronizeOnce(),le(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)gy(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})=>Rr(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;or(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(fy,[]).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),()=>or(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new Y(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=pe({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function or(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function gy(e,t,n,r){!n&&!Rr(e)||Uu(e,t,n&&!r?0:1)}function my(e,t,n,r){return pt(e,Mr(),n)?t+xr(n)+r:mt}function Jn(e,t){return e<<17|t<<2}function Tt(e){return e>>17&32767}function yy(e){return(e&2)==2}function vy(e,t){return e&131071|t<<17}function Hi(e){return e|2}function en(e){return(e&131068)>>2}function si(e,t){return e&-131069|t<<2}function by(e){return(e&1)===1}function Bi(e){return e|1}function wy(e,t,n,r,i,o){let s=o?t.classBindings:t.styleBindings,a=Tt(s),l=en(s);e[r]=n;let d=!1,h;if(Array.isArray(n)){let p=n;h=p[1],(h===null||An(p,h)>0)&&(d=!0)}else h=n;if(i)if(l!==0){let p=Tt(e[a+1]);e[r+1]=Jn(p,a),p!==0&&(e[p+1]=si(e[p+1],r)),e[a+1]=vy(e[a+1],r)}else e[r+1]=Jn(a,0),a!==0&&(e[a+1]=si(e[a+1],r)),a=r;else e[r+1]=Jn(l,0),a===0?a=r:e[l+1]=si(e[l+1],r),l=r;d&&(e[r+1]=Hi(e[r+1])),Ys(e,h,r,!0),Ys(e,h,r,!1),Ey(t,h,e,r,o),s=Jn(a,l),o?t.classBindings=s:t.styleBindings=s}function Ey(e,t,n,r,i){let o=i?e.residualClasses:e.residualStyles;o!=null&&typeof t=="string"&&An(o,t)>=0&&(n[r+1]=Bi(n[r+1]))}function Ys(e,t,n,r){let i=e[n+1],o=t===null,s=r?Tt(i):en(i),a=!1;for(;s!==0&&(a===!1||o);){let l=e[s],d=e[s+1];_y(l,t)&&(a=!0,e[s+1]=r?Bi(d):Hi(d)),s=r?Tt(d):en(d)}a&&(e[n+1]=r?Hi(i):Bi(i))}function _y(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?An(e,t)>=0:!1}function wr(e,t,n){let r=fe(),i=Mr();if(pt(r,i,t)){let o=Qe(),s=Fh();Ng(o,s,r,e,t,r[Pe],n,!1)}return wr}function Xs(e,t,n,r,i){Mo(t,e,n,i?"class":"style",r)}function Go(e,t,n){return Sy(e,t,n,!1),Go}function Sy(e,t,n,r){let i=fe(),o=Qe(),s=Oh(2);if(o.firstUpdatePass&&Cy(o,e,s,r),t!==mt&&pt(i,s,t)){let a=o.data[At()];Oy(o,a,i,i[Pe],e,i[s+1]=Ny(t,n),r,s)}}function Iy(e,t){return t>=e.expandoStartIndex}function Cy(e,t,n,r){let i=e.data;if(i[n+1]===null){let o=i[At()],s=Iy(e,n);Ry(o,r)&&t===null&&!s&&(t=!1),t=Ty(i,o,t,r),wy(i,o,t,n,s,r)}}function Ty(e,t,n,r){let i=Mh(e),o=r?t.residualClasses:t.residualStyles;if(i===null)(r?t.classBindings:t.styleBindings)===0&&(n=ai(null,e,t,n,r),n=Tn(n,t.attrs,r),o=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==i)if(n=ai(i,e,t,n,r),o===null){let a=xy(e,t,r);a!==void 0&&Array.isArray(a)&&(a=ai(null,e,t,a[1],r),a=Tn(a,t.attrs,r),ky(e,t,r,a))}else o=Dy(e,t,r)}return o!==void 0&&(r?t.residualClasses=o:t.residualStyles=o),n}function xy(e,t,n){let r=n?t.classBindings:t.styleBindings;if(en(r)!==0)return e[Tt(r)]}function ky(e,t,n,r){let i=n?t.classBindings:t.styleBindings;e[Tt(i)]=r}function Dy(e,t,n){let r,i=t.directiveEnd;for(let o=1+t.directiveStylingLast;o<i;o++){let s=e[o].hostAttrs;r=Tn(r,s,n)}return Tn(r,t.attrs,n)}function ai(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=Tn(r,o.hostAttrs,i),o!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function Tn(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]),Gd(e,s,n?!0:t[++o]))}return e===void 0?null:e}function Oy(e,t,n,r,i,o,s,a){if(!(t.type&3))return;let l=e.data,d=l[a+1],h=by(d)?Js(l,t,n,i,en(d),s):void 0;if(!Er(h)){Er(o)||yy(d)&&(o=Js(l,null,n,i,a,s));let p=vl(At(),n);em(r,s,p,i,o)}}function Js(e,t,n,r,i,o){let s=t===null,a;for(;i>0;){let l=e[i],d=Array.isArray(l),h=d?l[1]:l,p=h===null,_=n[i+1];_===mt&&(_=p?_t:void 0);let w=p?Xr(_,r):h===r?_:void 0;if(d&&!Er(w)&&(w=Xr(l,r)),Er(w)&&(a=w,s))return a;let E=e[i+1];i=s?Tt(E):en(E)}if(t!==null){let l=o?t.residualClasses:t.residualStyles;l!=null&&(a=Xr(l,r))}return a}function Er(e){return e!==void 0}function Ny(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=We(lt(e)))),e}function Ry(e,t){return(e.flags&(t?8:16))!==0}var Ay=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 li(e,t,n,r,i){return e===n&&Object.is(t,r)?1:Object.is(i(e,t),i(n,r))?-1:0}function My(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 d=e.at(o),h=t[o],p=li(o,d,o,h,n);if(p!==0){p<0&&e.updateValue(o,h),o++;continue}let _=e.at(s),w=t[l],E=li(s,_,l,w,n);if(E!==0){E<0&&e.updateValue(s,w),s--,l--;continue}let I=n(o,d),O=n(s,_),N=n(o,h);if(Object.is(N,O)){let Q=n(l,w);Object.is(Q,I)?(e.swap(o,s),e.updateValue(s,w),l--,s--):e.move(s,o),e.updateValue(o,h),o++;continue}if(r??=new na,i??=ta(e,o,s,n),zi(e,r,o,N))e.updateValue(o,h),o++,s++;else if(i.has(N))r.set(I,e.detach(o)),s--;else{let Q=e.create(o,t[o]);e.attach(o,Q),o++,s++}}for(;o<=l;)ea(e,r,n,o,t[o]),o++}else if(t!=null){let l=t[Symbol.iterator](),d=l.next();for(;!d.done&&o<=s;){let h=e.at(o),p=d.value,_=li(o,h,o,p,n);if(_!==0)_<0&&e.updateValue(o,p),o++,d=l.next();else{r??=new na,i??=ta(e,o,s,n);let w=n(o,p);if(zi(e,r,o,w))e.updateValue(o,p),o++,s++,d=l.next();else if(!i.has(w))e.attach(o,e.create(o,p)),o++,s++,d=l.next();else{let E=n(o,h);r.set(E,e.detach(o)),s--}}}for(;!d.done;)ea(e,r,n,e.length,d.value),d=l.next()}for(;o<=s;)e.destroy(e.detach(s--));r?.forEach(l=>{e.destroy(l)})}function zi(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function ea(e,t,n,r,i){if(zi(e,t,r,n(r,i)))e.updateValue(r,i);else{let o=e.create(r,i);e.attach(r,o)}}function ta(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 na=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 Vy(e,t){Fr("NgControlFlow");let n=fe(),r=Mr(),i=n[r]!==mt?n[r]:-1,o=i!==-1?_r(n,Ie+i):void 0,s=0;if(pt(n,r,e)){let a=K(null);try{if(o!==void 0&&Ku(o,s),e!==-1){let l=Ie+e,d=_r(n,l),h=Ui(n[W],l),p=Wo(d,h.tView.ssrId),_=Po(n,h,t,{dehydratedView:p});Uo(d,_,s,Fo(h,p))}}finally{K(a)}}else if(o!==void 0){let a=Gu(o,s);a!==void 0&&(a[we]=t)}}var Py=class{lContainer;$implicit;$index;constructor(e,t,n){this.lContainer=e,this.$implicit=t,this.$index=n}get $count(){return this.lContainer.length-De}},Fy=class{hasEmptyBlock;trackByFn;liveCollection;constructor(e,t,n){this.hasEmptyBlock=e,this.trackByFn=t,this.liveCollection=n}};function jy(e,t,n,r,i,o,s,a,l,d,h,p,_){Fr("NgControlFlow");let w=fe(),E=Qe(),I=l!==void 0,O=fe(),N=a?s.bind(O[Ge][we]):s,Q=new Fy(I,N);O[Ie+e]=Q,Li(w,E,e+1,t,n,r,i,Xt(E.consts,o)),I&&Li(w,E,e+2,l,d,h,p,Xt(E.consts,_))}var Ly=class extends Ay{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-De}at(e){return this.getLView(e)[we].$implicit}attach(e,t){let n=t[_n];this.needsIndexUpdate||=e!==this.length,Uo(this.lContainer,t,e,Fo(this.templateTNode,n))}detach(e){return this.needsIndexUpdate||=e!==this.length-1,By(this.lContainer,e)}create(e,t){let n=Wo(this.lContainer,this.templateTNode.tView.ssrId),r=Po(this.hostLView,this.templateTNode,new Py(this.lContainer,t,e),{dehydratedView:n});return this.operationsCounter?.recordCreate(),r}destroy(e){Ho(e[W],e),this.operationsCounter?.recordDestroy()}updateValue(e,t){this.getLView(e)[we].$implicit=t}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let e=0;e<this.length;e++)this.getLView(e)[we].$index=e}getLView(e){return zy(this.lContainer,e)}};function Hy(e){let t=K(null),n=At();try{let r=fe(),i=r[W],o=r[n],s=n+1,a=_r(r,s);if(o.liveCollection===void 0){let d=Ui(i,s);o.liveCollection=new Ly(a,r,d)}else o.liveCollection.reset();let l=o.liveCollection;if(My(l,e,o.trackByFn),l.updateIndexes(),o.hasEmptyBlock){let d=Mr(),h=l.length===0;if(pt(r,d,h)){let p=n+2,_=_r(r,p);if(h){let w=Ui(i,p),E=Wo(_,w.tView.ssrId),I=Po(r,w,void 0,{dehydratedView:E});Uo(_,I,0,Fo(w,E))}else Ku(_,0)}}}finally{K(t)}}function _r(e,t){return e[t]}function By(e,t){return Zo(e,t)}function zy(e,t){return Gu(e,t)}function Ui(e,t){return po(e,t)}function xn(e,t,n,r){let i=fe(),o=Qe(),s=Ie+e,a=i[Pe],l=o.firstCreatePass?ec(s,o,i,t,Vu,_l(),n,r):o.data[s],d=Uy(o,i,l,a,t,e);i[s]=d;let h=pl(l);return on(l,!0),ku(a,d,l),!Pu(l)&&bo()&&Bo(o,i,d,l),(Eh()===0||h)&&jn(d,i),_h(),h&&(Ao(o,i,l),mu(o,l,i)),r!==null&&Mu(i,l),xn}function kn(){let e=Vn();Il()?kh():(e=e.parent,on(e,!1));let t=e;Ch(t)&&Th(),Sh();let n=Qe();return n.firstCreatePass&&tc(n,t),t.classesWithoutHost!=null&&zh(t)&&Xs(n,t,fe(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&Uh(t)&&Xs(n,t,fe(),t.stylesWithoutHost,!1),kn}function Dn(e,t,n,r){return xn(e,t,n,r),kn(),Dn}var Uy=(e,t,n,r,i,o)=>(wo(!0),Tu(r,i,jh())),Sr="en-US",Zy=Sr;function Wy(e){typeof e=="string"&&(Zy=e.toLowerCase().replace(/_/g,"-"))}function ac(e=1){return Ph(e)}function lc(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function qy(e,t=""){let n=fe(),r=Qe(),i=e+Ie,o=r.firstCreatePass?Br(r,i,1,t,null):r.data[i],s=$y(r,n,o,t,e);n[i]=s,bo()&&Bo(r,n,s,o),on(o,!1)}var $y=(e,t,n,r,i)=>(wo(!0),bg(t[Pe],r));function uc(e){return cc("",e,""),uc}function cc(e,t,n){let r=fe(),i=my(r,e,t,n);return i!==mt&&Gy(r,At(),i),cc}function Gy(e,t,n){let r=vl(t,e);wg(e[Pe],r,n)}var Ky={};function fc(e){let t=Qe(),n=fe(),r=e+Ie,i=Br(t,r,128,null,null);return on(i,!1),lc(t,n,r,Ky),fc}function dc(e,t){let n=e[t];return n===mt?void 0:n}function Qy(e,t,n,r,i,o){let s=t+n;return pt(e,s,i)?rc(e,s+1,o?r.call(o,i):r(i)):dc(e,s+1)}function Yy(e,t,n,r,i,o,s){let a=t+n;return ny(e,a,i,o)?rc(e,a+2,s?r.call(s,i,o):r(i,o)):dc(e,a+2)}function Ir(e,t){let n=Qe(),r,i=e+Ie;n.firstCreatePass?(r=Xy(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=Gt(r.type,!0)),s,a=ke(zr);try{let l=mr(!1),d=o();return mr(l),lc(n,fe(),i,d),d}finally{ke(a)}}function Xy(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function Zi(e,t,n){let r=e+Ie,i=fe(),o=bl(i,r);return hc(i,r)?Qy(i,Tl(),t,o.transform,n,o):o.transform(n)}function Jy(e,t,n,r){let i=e+Ie,o=fe(),s=bl(o,i);return hc(o,i)?Yy(o,Tl(),t,s.transform,n,r,s):s.transform(n,r)}function hc(e,t){return e[W].data[t].pure}var ev=(()=>{class e{zone=re(Me);changeDetectionScheduler=re(Pn);applicationRef=re(Jt);_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=pe({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function tv({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new Me(nn(xt({},nv()),{scheduleInRootZone:n})),[{provide:Me,useFactory:e},{provide:dr,multi:!0,useFactory:()=>{let r=re(ev,{optional:!0});return()=>r.initialize()}},{provide:dr,multi:!0,useFactory:()=>{let r=re(rv);return()=>{r.initialize()}}},t===!0?{provide:Ql,useValue:!0}:[],{provide:Io,useValue:n??Gl}]}function nv(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var rv=(()=>{class e{subscription=new nt;initialized=!1;zone=re(Me);pendingTasks=re(Pr);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(()=>{Me.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Me.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(n){return new(n||e)};static \u0275prov=pe({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),pc=(()=>{class e{appRef=re(Jt);taskService=re(Pr);ngZone=re(Me);zonelessEnabled=re(So);tracing=re(ko,{optional:!0});disableScheduling=re(Ql,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new nt;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(vr):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(re(Io,{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 Xl||!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?Rs:Yl;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(vr+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,Rs(()=>{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=pe({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function iv(){return Fr("NgZoneless"),Yd([{provide:Pn,useExisting:pc},{provide:Me,useClass:Xl},{provide:So,useValue:!0},{provide:Io,useValue:!1},[]])}function ov(){return typeof $localize<"u"&&$localize.locale||Sr}var gc=new se("",{providedIn:"root",factory:()=>re(gc,U.Optional|U.SkipSelf)||ov()}),Wi=new se(""),sv=new se("");function pn(e){return!e.moduleRef}function av(e){let t=pn(e)?e.r3Injector:e.moduleRef.injector,n=t.get(Me);return n.run(()=>{pn(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(Fn,null),i;if(n.runOutsideAngular(()=>{i=n.onError.subscribe({next:o=>{r.handleError(o)}})}),pn(e)){let o=()=>t.destroy(),s=e.platformInjector.get(Wi);s.add(o),t.onDestroy(()=>{i.unsubscribe(),s.delete(o)})}else{let o=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Wi);s.add(o),e.moduleRef.onDestroy(()=>{or(e.allPlatformModules,e.moduleRef),i.unsubscribe(),s.delete(o)})}return uv(r,n,()=>{let o=t.get(sc);return o.runInitializers(),o.donePromise.then(()=>{let s=t.get(gc,Sr);if(Wy(s||Sr),!t.get(sv,!0))return pn(e)?t.get(Jt):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(pn(e)){let a=t.get(Jt);return e.rootComponent!==void 0&&a.bootstrap(e.rootComponent),a}else return lv(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function lv(e,t){let n=e.injector.get(Jt);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new Y(-403,!1);t.push(e)}function uv(e,t,n){try{let r=n();return oc(r)?r.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var sr=null;function cv(e=[],t){return Vr.create({name:t,providers:[{provide:co,useValue:"platform"},{provide:Wi,useValue:new Set([()=>sr=null])},...e]})}function fv(e=[]){if(sr)return sr;let t=cv(e);return sr=t,dy(),dv(t),t}function dv(e){let t=e.get(cu,null);cl(e,()=>{t?.forEach(n=>n())})}function hv(e){le(8);try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,i=fv(r),o=[tv({}),{provide:Pn,useExisting:pc},...n||[]],s=new nc({providers:o,parent:i,debugName:"",runEnvironmentInitializers:!1});return av({r3Injector:s.injector,platformInjector:i,rootComponent:t})}catch(t){return Promise.reject(t)}finally{le(9)}}var Bb=class{[ct];constructor(e){this[ct]=e}destroy(){this[ct].destroy()}},pv={schedule(e,t){let n=setTimeout(e,t);return()=>clearTimeout(n)}};function gv(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}function mv(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}var ui;function yv(e,t){if(!ui){let n=Element.prototype;ui=n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE?ui.call(e,t):!1}function vv(e){let t={};return e.forEach(({propName:n,templateName:r,transform:i})=>{t[gv(r)]=[n,i]}),t}function bv(e,t){return t.get(Hn).resolveComponentFactory(e).inputs}function wv(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=Ev(a,t,i);l!==-1&&r[l].push(a)}return r}function Ev(e,t,n){let r=n;return mv(e)&&t.some((i,o)=>i!=="*"&&yv(e,i)?(r=o,!0):!1),r}var _v=10,Sv=class{componentFactory;inputMap=new Map;constructor(e,t){this.componentFactory=t.get(Hn).resolveComponentFactory(e);for(let n of this.componentFactory.inputs)this.inputMap.set(n.propName,n.templateName)}create(e){return new Iv(this.componentFactory,e,this.inputMap)}},Iv=class{componentFactory;injector;inputMap;eventEmitters=new Jf(1);events=this.eventEmitters.pipe(Id(e=>Sd(...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(Me),this.appRef=this.injector.get(Jt),this.cdScheduler=t.get(Pn),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=pv.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null)},_v))})}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=Vr.create({providers:[],parent:this.injector}),n=wv(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 Ve(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()}},Cv=class extends HTMLElement{ngElementEventsSubscription=null};function Tv(e,t){let n=bv(e,t.injector),r=t.strategyFactory||new Sv(e,t.injector),i=vv(n);class o extends Cv{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:d})=>{if(!this.hasOwnProperty(l))return;let h=this[l];delete this[l],a.setInputValue(l,h,d)})}return this._ngElementStrategy}_ngElementStrategy;constructor(a){super(),this.injector=a}attributeChangedCallback(a,l,d,h){let[p,_]=i[a];this.ngElementStrategy.setInputValue(p,d,_)}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 mc=null;function yc(){return mc}function xv(e){mc??=e}var kv=class{},gt=new se("");function Dv(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 Ov="browser",Nv="server";function vc(e){return e===Nv}var Rv=class{},Av=class extends kv{supportsDOMEvents=!0},Mv=class bc extends Av{static makeCurrent(){xv(new bc)}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=Vv();return n==null?null:Pv(n)}resetBaseElement(){yn=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return Dv(document.cookie,t)}},yn=null;function Vv(){return yn=yn||document.querySelector("base"),yn?yn.getAttribute("href"):null}function Pv(e){return new URL(e,document.baseURI).pathname}var Fv=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(n){return new(n||e)};static \u0275prov=pe({token:e,factory:e.\u0275fac})}return e})(),qi=new se(""),wc=(()=>{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 Y(5101,!1);return this._eventNameToPlugin.set(n,r),r}static \u0275fac=function(n){return new(n||e)(oe(qi),oe(Me))};static \u0275prov=pe({token:e,factory:e.\u0275fac})}return e})(),Ec=class{_doc;constructor(e){this._doc=e}manager},ar="ng-app-id";function ra(e){for(let t of e)t.remove()}function ia(e,t){let n=t.createElement("style");return n.textContent=e,n}function jv(e,t,n,r){let i=e.head?.querySelectorAll(`style[${ar}="${t}"],link[${ar}="${t}"]`);if(i)for(let o of i)o.removeAttribute(ar),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 $i(e,t){let n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}var _c=(()=>{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=vc(o),jv(n,r,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,r){for(let i of n)this.addUsage(i,this.inline,ia);r?.forEach(i=>this.addUsage(i,this.external,$i))}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&&(ra(i.elements),r.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])ra(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[r,{elements:i}]of this.inline)i.push(this.addElement(n,ia(r,this.doc)));for(let[r,{elements:i}]of this.external)i.push(this.addElement(n,$i(r,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,r){return this.nonce&&r.setAttribute("nonce",this.nonce),this.isServer&&r.setAttribute(ar,this.appId),n.appendChild(r)}static \u0275fac=function(n){return new(n||e)(oe(gt),oe(uu),oe(fu,8),oe(xo))};static \u0275prov=pe({token:e,factory:e.\u0275fac})}return e})(),ci={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"},Ko=/%COMP%/g,Sc="%COMP%",Lv=`_nghost-${Sc}`,Hv=`_ngcontent-${Sc}`,Bv=!0,zv=new se("",{providedIn:"root",factory:()=>Bv});function Uv(e){return Hv.replace(Ko,e)}function Zv(e){return Lv.replace(Ko,e)}function Ic(e,t){return t.map(n=>n.replace(Ko,e))}var oa=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(n,r,i,o,s,a,l,d=null,h=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=i,this.removeStylesOnCompDestroy=o,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=d,this.tracingService=h,this.platformIsServer=vc(a),this.defaultRenderer=new Qo(n,s,l,this.platformIsServer,this.tracingService)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===tt.ShadowDom&&(r=nn(xt({},r),{encapsulation:tt.Emulated}));let i=this.getOrCreateRenderer(n,r);return i instanceof aa?i.applyToHost(n):i instanceof Gi&&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,d=this.sharedStylesHost,h=this.removeStylesOnCompDestroy,p=this.platformIsServer,_=this.tracingService;switch(r.encapsulation){case tt.Emulated:o=new aa(l,d,r,this.appId,h,s,a,p,_);break;case tt.ShadowDom:return new Wv(l,d,n,r,s,a,this.nonce,p,_);default:o=new Gi(l,d,r,h,s,a,p,_);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)(oe(wc),oe(_c),oe(uu),oe(zv),oe(gt),oe(xo),oe(Me),oe(fu),oe(ko,8))};static \u0275prov=pe({token:e,factory:e.\u0275fac})}return e})(),Qo=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(ci[t]||t,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,t){(sa(e)?e.content:e).appendChild(t)}insertBefore(e,t,n){e&&(sa(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 Y(-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=ci[r];i?e.setAttributeNS(i,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}removeAttribute(e,t,n){if(n){let r=ci[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&(wt.DashCase|wt.Important)?e.style.setProperty(t,n,r&wt.Important?"important":""):e.style[t]=n}removeStyle(e,t,n){n&wt.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=yc().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 sa(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var Wv=class extends Qo{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 d=r.styles;d=Ic(r.id,d);for(let p of d){let _=document.createElement("style");s&&_.setAttribute("nonce",s),_.textContent=p,this.shadowRoot.appendChild(_)}let h=r.getExternalStyles?.();if(h)for(let p of h){let _=$i(p,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)}},Gi=class extends Qo{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 d=n.styles;this.styles=l?Ic(l,d):d,this.styleUrls=n.getExternalStyles?.(l)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},aa=class extends Gi{contentAttr;hostAttr;constructor(e,t,n,r,i,o,s,a,l){let d=r+"-"+n.id;super(e,t,n,i,o,s,a,l,d),this.contentAttr=Uv(d),this.hostAttr=Zv(d)}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}},qv=(()=>{class e extends Ec{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)(oe(gt))};static \u0275prov=pe({token:e,factory:e.\u0275fac})}return e})(),la=["alt","control","meta","shift"],$v={"\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"},Gv={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},Kv=(()=>{class e extends Ec{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(()=>yc().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."),la.forEach(d=>{let h=r.indexOf(d);h>-1&&(r.splice(h,1),s+=d+".")}),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=$v[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"),la.forEach(s=>{if(s!==i){let a=Gv[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)(oe(gt))};static \u0275prov=pe({token:e,factory:e.\u0275fac})}return e})();function Qv(e){return hv(Yv(e))}function Yv(e){return{appProviders:[...nb,...e?.providers??[]],platformProviders:tb}}function Xv(){Mv.makeCurrent()}function Jv(){return new Fn}function eb(){return _p(document),document}var tb=[{provide:xo,useValue:Ov},{provide:cu,useValue:Xv,multi:!0},{provide:gt,useFactory:eb,deps:[]}],nb=[{provide:co,useValue:"root"},{provide:Fn,useFactory:Jv,deps:[]},{provide:qi,useClass:qv,multi:!0,deps:[gt]},{provide:qi,useClass:Kv,multi:!0,deps:[gt]},oa,_c,wc,{provide:qo,useExisting:oa},{provide:Rv,useClass:Fv,deps:[]},[]],Cc=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275prov=pe({token:e,factory:function(n){let r=null;return n?r=new(n||e):r=oe(rb),r},providedIn:"root"})}return e})(),rb=(()=>{class e extends Cc{_doc;constructor(n){super(),this._doc=n}sanitize(n,r){if(r==null)return null;switch(n){case Je.NONE:return r;case Je.HTML:return vt(r,"HTML")?lt(r):_u(this._doc,String(r)).toString();case Je.STYLE:return vt(r,"Style")?lt(r):r;case Je.SCRIPT:if(vt(r,"Script"))return lt(r);throw new Y(5200,!1);case Je.URL:return vt(r,"URL")?lt(r):Do(String(r));case Je.RESOURCE_URL:if(vt(r,"ResourceURL"))return lt(r);throw new Y(5201,!1);default:throw new Y(5202,!1)}}bypassSecurityTrustHtml(n){return Fp(n)}bypassSecurityTrustStyle(n){return jp(n)}bypassSecurityTrustScript(n){return Lp(n)}bypassSecurityTrustUrl(n){return Hp(n)}bypassSecurityTrustResourceUrl(n){return Bp(n)}static \u0275fac=function(n){return new(n||e)(oe(gt))};static \u0275prov=pe({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ib={apiURL:"http://localhost:3003",debug:!0,mode:"local",styleURL:"http://localhost:8002/styles.css"},Le=ga(_f()),ob="9.3.16",fi=class Ki{static SDK_VERSION=ob;static SDK_VERSION_CODE;static SDK="WEB";static LOG_PREFIX="CooeeSDK";static COOEE="cooee";static SESSION_STORAGE_SCROLL_ID="sleid";static IDLE_TIME_IN_SECONDS=30*60;static IN_APP_WRAPPER_NAME="cooee-wrapper";static IN_APP_CONTAINER_NAME="cooee-container";static IN_APP_DEFAULT_PADDING=15;static EVENT_SCREEN_VIEW="CE Screen View";static EVENT_APP_BACKGROUND="CE App Background";static EVENT_TRIGGER_DISPLAYED="CE Trigger Displayed";static EVENT_CAMPAIGN_HOLDOUT="CE Campaign Holdout";static EVENT_CAMPAIGN_REJECTED="CE Campaign Rejected";static EVENT_CAMPAIGN_FAILED="CE Campaign Failed";static EVENT_TRIGGER_CLOSED="CE Trigger Closed";static EVENT_SCROLL="CE Scroll";static EVENT_TRIGGER_CLICKED="CE Trigger Clicked";static EVENT_FORM_SUBMITTED="CE Form Submitted";static EVENT_ADD_TO_CART="Add To Cart";static EVENT_REMOVE_FROM_CART="Remove From Cart";static EVENT_VIEW_ITEM="View Item";static EVENT_VIEW_CART="View Cart";static EVENT_VIEW_COLLECTION="View Collection";static EVENT_BUY_NOW_CLICKED="Buy Now Clicked";static EVENT_CHECKOUT_STARTED="Checkout Started";static EVENT_REVIEW_CLICKED="Review Clicked";static EVENT_ITEM_THUMBNAIL_CLICKED="Item Thumbnail Clicked";static JS_LOAD_WHITELIST_EVENTS=[this.EVENT_VIEW_ITEM,this.EVENT_VIEW_CART,this.EVENT_VIEW_COLLECTION];static HASH_INITIATE_CHECKOUT="initiate-checkout";static HASH_OPEN_CART_DRAWER="open-cart-drawer";static CTA_EVENT="letscooee:outbound:cta";static ADD_BUNDLE_CTA_INBOUND_EVENT="letscooee:inbound:cta:add-bundle";static CTA_OPEN_CART_EVENT="letscooee:outbound:open-cart";static 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{let t=Ki.SDK_VERSION.split(".").map(n=>n.padStart(2,"0")).join("");Ki.SDK_VERSION_CODE=parseInt(t,10)}},et=class{static log(...e){Le.default.info(...e)}static debug(...e){Le.default.debug(...e)}static error(...e){Le.default.error(...e)}static warn(...e){Le.default.warn(...e)}static info(...e){Le.default.info(...e)}static trace(...e){Le.default.trace(...e)}static configure(e=fi.LOG_PREFIX){Le.default.useDefaults({formatter:function(n){n.unshift(`${e} (v${fi.SDK_VERSION}):`)}});let t=this.getDebugParam();(t==="1"||t==="on")&&(localStorage.cooeeLogLevel="TRACE"),localStorage.cooeeLogLevel?Le.default.setLevel(Le.default[localStorage.cooeeLogLevel]):Le.default.setLevel(ib.debug?Le.default.TRACE:Le.default.OFF)}static getDebugParam(){return new URL(location.href).searchParams?.get("cooee-debug")}static logBrand(){let e=`
|
|
8
8
|
display: inline-block;
|
|
9
9
|
font-size: 14px;
|
|
10
10
|
background: linear-gradient(90deg, #d52dc8 25%, #2179e2 82%);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@letscooee/web-sdk",
|
|
3
3
|
"description": "Engage uniquely and boost conversions with AI-powered customer journeys driven by real-time intent",
|
|
4
|
-
"version": "9.3.
|
|
4
|
+
"version": "9.3.16",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"lint": "ng lint",
|
|
7
7
|
"integrity": "./scripts/validate-integrity.sh",
|