>20,d=r?a:a+l,p=o?a+l:c;for(let f=d;f=u&&h.type===n)return f}if(o){let f=s[u];if(f&&qe(f)&&f.type===n)return u}return null}function St(e,t,n,r){let o=e[n],i=t.data;if(xm(o)){let s=o;s.resolving&&ag(sg(i[n]));let a=Jr(s.canSeeViewProviders);s.resolving=!0;let u,c=s.injectImpl?ie(s.injectImpl):null,l=od(e,r,x.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&_m(n,i[n],t)}finally{c!==null&&ie(c),Jr(a),s.resolving=!1,ud()}}return o}function km(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(_n)?e[_n]:void 0;return typeof t=="number"?t>=0?t&pd:Lm:t}function Mc(e,t,n){let r=1<>hd)]&r)}function xc(e,t){return!(e&x.Self)&&!(e&x.Host&&t)}var Ct=class{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Dd(this._tNode,this._lView,t,yo(r),n)}};function Lm(){return new Ct(Q(),v())}function _T(e){return $n(()=>{let t=e.prototype.constructor,n=t[zr]||rs(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[zr]||rs(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function rs(e){return fl(e)?()=>{let t=rs(X(e));return t&&t()}:bt(e)}function jm(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[D]&2048&&!(s[D]&512);){let a=vd(i,s,n,r|x.Self,Re);if(a!==Re)return a;let u=i.parent;if(!u){let c=s[Gl];if(c){let l=c.get(n,Re,r);if(l!==Re)return l}u=wd(s),s=s[sn]}i=u}return o}function wd(e){let t=e[I],n=t.type;return n===2?t.declTNode:n===1?e[le]:null}function Vm(e){return Rm(Q(),e)}function Sc(e,t=null,n=null,r){let o=Id(e,t,n,r);return o.resolveInjectorInitializers(),o}function Id(e,t=null,n=null,r,o=new Set){let i=[n||ee,Vg(e)];return r=r||(typeof e=="object"?void 0:te(e)),new Nn(i,t||Do(),r||null,o)}var Ft=(()=>{let t=class t{static create(r,o){if(Array.isArray(r))return Sc({name:""},o,r,"");{let i=r.name??"";return Sc({name:i},r.parent,r.providers,i)}}};t.THROW_IF_NOT_FOUND=Mn,t.NULL=new Yr,t.\u0275prov=j({token:t,providedIn:"any",factory:()=>K(Cl)}),t.__NG_ELEMENT_ID__=-1;let e=t;return e})();var Bm="ngOriginalError";function Ni(e){return e[Bm]}var Ye=class{constructor(){this._console=console}handleError(t){let n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Ni(t);for(;n&&Ni(n);)n=Ni(n);return n||null}},Ed=new R("",{providedIn:"root",factory:()=>E(Ye).handleError.bind(void 0)}),qn=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=$m,t.__NG_ENV_ID__=r=>r;let e=t;return e})(),os=class extends qn{constructor(t){super(),this._lView=t}onDestroy(t){return Xl(this._lView,t),()=>cm(this._lView,t)}};function $m(){return new os(v())}var is=class{constructor(){this.destroyed=!1,this.listeners=null,this.errorHandler=E(Ye,{optional:!0}),this.destroyRef=E(qn),this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new b(953,!1);return(this.listeners??=[]).push(t),{unsubscribe:()=>{let n=this.listeners?.indexOf(t);n!==void 0&&n!==-1&&this.listeners?.splice(n,1)}}}emit(t){if(this.destroyed)throw new b(953,!1);if(this.listeners===null)return;let n=_(null);try{for(let r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{_(n)}}};function Hm(){return ln(Q(),v())}function ln(e,t){return new ft(de(e,t))}var ft=(()=>{let t=class t{constructor(r){this.nativeElement=r}};t.__NG_ELEMENT_ID__=Hm;let e=t;return e})();function Um(e){return e instanceof ft?e.nativeElement:e}var ss=class extends he{constructor(t=!1){super(),this.destroyRef=void 0,this.__isAsync=t,Hl()&&(this.destroyRef=E(qn,{optional:!0})??void 0)}emit(t){let n=_(null);try{super.next(t)}finally{_(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let u=t;o=u.next?.bind(u),i=u.error?.bind(u),s=u.complete?.bind(u)}this.__isAsync&&(i=Ai(i),o&&(o=Ai(o)),s&&(s=Ai(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof G&&t.add(a),a}};function Ai(e){return t=>{setTimeout(e,void 0,t)}}var Et=ss;function Gm(){return this._results[Symbol.iterator]()}var as=class e{get changes(){return this._changes??=new Et}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;let n=e.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=Gm)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;let r=Dg(t);(this._changesDetected=!yg(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}},zm="ngSkipHydration",Wm="ngskiphydration";function Cd(e){let t=e.mergedAttrs;if(t===null)return!1;for(let n=0;nXm}),Xm="ng",ey=new R(""),Co=new R("",{providedIn:"platform",factory:()=>"unknown"});var xT=new R(""),ST=new R("",{providedIn:"root",factory:()=>Yn().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function ty(){let e=new Ta;return E(Co)==="browser"&&(e.store=ny(Yn(),E(Jm))),e}var Ta=(()=>{let t=class t{constructor(){this.store={},this.onSerializeCallbacks={}}get(r,o){return this.store[r]!==void 0?this.store[r]:o}set(r,o){this.store[r]=o}remove(r){delete this.store[r]}hasKey(r){return this.store.hasOwnProperty(r)}get isEmpty(){return Object.keys(this.store).length===0}onSerialize(r,o){this.onSerializeCallbacks[r]=o}toJson(){for(let r in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(r))try{this.store[r]=this.onSerializeCallbacks[r]()}catch(o){console.warn("Exception in onSerialize callback: ",o)}return JSON.stringify(this.store).replace(/null;function ly(e,t,n=!1){let r=e.getAttribute(Oi);if(r==null)return null;let[o,i]=r.split("|");if(r=n?i:o,!r)return null;let s=i?`|${i}`:"",a=n?o:s,u={};if(r!==""){let l=t.get(Ta,null,{optional:!0});l!==null&&(u=l.get(Od,[])[Number(r)])}let c={data:u,firstChild:e.firstChild??null};return n&&(c.firstChild=e,bo(c,0,e.nextSibling)),a?e.setAttribute(Oi,a):e.removeAttribute(Oi),c}function dy(){Fd=ly}function Aa(e,t,n=!1){return Fd(e,t,n)}function fy(e){let t=e._lView;return t[I].type===2?null:(zl(t)&&(t=t[B]),t)}function py(e){return e.textContent?.replace(/\s/gm,"")}function hy(e){let t=Yn(),n=t.createNodeIterator(e,NodeFilter.SHOW_COMMENT,{acceptNode(i){let s=py(i);return s==="ngetn"||s==="ngtns"?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}}),r,o=[];for(;r=n.nextNode();)o.push(r);for(let i of o)i.textContent==="ngetn"?i.replaceWith(t.createTextNode("")):i.remove()}function bo(e,t,n){e.segmentHeads??={},e.segmentHeads[t]=n}function ls(e,t){return e.segmentHeads?.[t]??null}function gy(e,t){let n=e.data,r=n[ry]?.[t]??null;return r===null&&n[Na]?.[t]&&(r=Oa(e,t)),r}function Rd(e,t){return e.data[Na]?.[t]??null}function Oa(e,t){let n=Rd(e,t)??[],r=0;for(let o of n)r+=o[to]*(o[Ad]??1);return r}function _o(e,t){if(typeof e.disconnectedNodes>"u"){let n=e.data[ay];e.disconnectedNodes=n?new Set(n):null}return!!e.disconnectedNodes?.has(t)}var Ar=new R(""),Pd=!1,kd=new R("",{providedIn:"root",factory:()=>Pd}),my=new R(""),Or;function yy(){if(Or===void 0&&(Or=null,ge.trustedTypes))try{Or=ge.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Or}function Mo(e){return yy()?.createHTML(e)||e}var Fr;function Ld(){if(Fr===void 0&&(Fr=null,ge.trustedTypes))try{Fr=ge.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Fr}function Nc(e){return Ld()?.createHTML(e)||e}function Ac(e){return Ld()?.createScriptURL(e)||e}var Qe=class{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${al})`}},ds=class extends Qe{getTypeName(){return"HTML"}},fs=class extends Qe{getTypeName(){return"Style"}},ps=class extends Qe{getTypeName(){return"Script"}},hs=class extends Qe{getTypeName(){return"URL"}},gs=class extends Qe{getTypeName(){return"ResourceURL"}};function Rt(e){return e instanceof Qe?e.changingThisBreaksApplicationSecurity:e}function Fa(e,t){let n=Dy(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${al})`)}return n===t}function Dy(e){return e instanceof Qe&&e.getTypeName()||null}function TT(e){return new ds(e)}function NT(e){return new fs(e)}function AT(e){return new ps(e)}function OT(e){return new hs(e)}function FT(e){return new gs(e)}function vy(e){let t=new ys(e);return wy()?new ms(t):t}var ms=class{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{let n=new window.DOMParser().parseFromString(Mo(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}},ys=class{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=Mo(t),n}};function wy(){try{return!!new window.DOMParser().parseFromString(Mo(""),"text/html")}catch{return!1}}var Iy=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function jd(e){return e=String(e),e.match(Iy)?e:"unsafe:"+e}function Ze(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Qn(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var Vd=Ze("area,br,col,hr,img,wbr"),Bd=Ze("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),$d=Ze("rp,rt"),Ey=Qn($d,Bd),Cy=Qn(Bd,Ze("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")),by=Qn($d,Ze("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")),Oc=Qn(Vd,Cy,by,Ey),Hd=Ze("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),_y=Ze("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"),My=Ze("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"),xy=Qn(Hd,_y,My),Sy=Ze("script,style,template"),Ds=class{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){o.push(n),n=Ay(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=Ny(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=Fc(t).toLowerCase();if(!Oc.hasOwnProperty(n))return this.sanitizedSomething=!0,!Sy.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let o=0;o"),!0}endElement(t){let n=Fc(t).toLowerCase();Oc.hasOwnProperty(n)&&!Vd.hasOwnProperty(n)&&(this.buf.push(""),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Rc(t))}};function Ty(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function Ny(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Ud(t);return t}function Ay(e){let t=e.firstChild;if(t&&Ty(e,t))throw Ud(t);return t}function Fc(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Ud(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var Oy=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Fy=/([^\#-~ |!])/g;function Rc(e){return e.replace(/&/g,"&").replace(Oy,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return""+((n-55296)*1024+(r-56320)+65536)+";"}).replace(Fy,function(t){return""+t.charCodeAt(0)+";"}).replace(//g,">")}var Rr;function Ry(e,t){let n=null;try{Rr=Rr||vy(e);let r=t?String(t):"";n=Rr.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=Rr.getInertBodyElement(r)}while(r!==i);let a=new Ds().sanitizeChildren(Pc(n)||n);return Mo(a)}finally{if(n){let r=Pc(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function Pc(e){return"content"in e&&Py(e)?e.content:null}function Py(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var xo=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}(xo||{});function RT(e){let t=Ra();return t?Nc(t.sanitize(xo.HTML,e)||""):Fa(e,"HTML")?Nc(Rt(e)):Ry(Yn(),Hn(e))}function ky(e){let t=Ra();return t?t.sanitize(xo.URL,e)||"":Fa(e,"URL")?Rt(e):jd(Hn(e))}function Ly(e){let t=Ra();if(t)return Ac(t.sanitize(xo.RESOURCE_URL,e)||"");if(Fa(e,"ResourceURL"))return Ac(Rt(e));throw new b(904,!1)}function jy(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?Ly:ky}function PT(e,t,n){return jy(t,n)(e)}function Ra(){let e=v();return e&&e[Me].sanitizer}var Vy=/^>|^->||--!>|)/g,$y="\u200B$1\u200B";function Hy(e){return e.replace(Vy,t=>t.replace(By,$y))}function kT(e){return e.ownerDocument.defaultView}function LT(e){return e.ownerDocument}function Uy(e){return e.ownerDocument.body}function Gd(e){return e instanceof Function?e():e}function bn(e){return(e??E(Ft)).get(Co)==="browser"}var kn=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(kn||{}),Gy;function Pa(e,t){return Gy(e,t)}function Yt(e,t,n,r,o){if(r!=null){let i,s=!1;Pe(r)?i=r:Ue(r)&&(s=!0,r=r[se]);let a=xe(r);e===0&&n!==null?o==null?Yd(t,n,a):no(t,n,a,o||null,!0):e===1&&n!==null?no(t,n,a,o||null,!0):e===2?Va(t,a,s):e===3&&t.destroyNode(a),i!=null&&iD(t,e,i,n,o)}}function ka(e,t){return e.createText(t)}function zy(e,t,n){e.setValue(t,n)}function La(e,t){return e.createComment(Hy(t))}function So(e,t,n){return e.createElement(t,n)}function Wy(e,t){zd(e,t),t[se]=null,t[le]=null}function qy(e,t,n,r,o,i){r[se]=o,r[le]=t,Ao(e,r,n,1,o,i)}function zd(e,t){t[Me].changeDetectionScheduler?.notify(1),Ao(e,t,t[F],2,null,null)}function Yy(e){let t=e[On];if(!t)return Fi(e[I],e);for(;t;){let n=null;if(Ue(t))n=t[On];else{let r=t[Y];r&&(n=r)}if(!n){for(;t&&!t[_e]&&t!==e;)Ue(t)&&Fi(t[I],t),t=t[q];t===null&&(t=e),Ue(t)&&Fi(t[I],t),n=t&&t[_e]}t=n}}function Qy(e,t,n,r){let o=Y+r,i=n.length;r>0&&(n[o-1][_e]=t),r0&&(e[n-1][_e]=r[_e]);let i=qr(e,Y+t);Wy(r[I],r);let s=i[ze];s!==null&&s.detachView(i[I]),r[q]=null,r[_e]=null,r[D]&=-129}return r}function To(e,t){if(!(t[D]&256)){let n=t[F];n.destroyNode&&Ao(e,t,n,3,null,null),Yy(t)}}function Fi(e,t){if(t[D]&256)return;let n=_(null);try{t[D]&=-129,t[D]|=256,t[_t]&&ai(t[_t]),Jy(e,t),Ky(e,t),t[I].type===1&&t[F].destroy();let r=t[zn];if(r!==null&&Pe(t[q])){r!==t[q]&&Wd(r,t);let o=t[ze];o!==null&&o.detachView(e)}Km(t)}finally{_(n)}}function Ky(e,t){let n=e.cleanup,r=t[An];if(n!==null)for(let i=0;i=0?r[s]():r[-s].unsubscribe(),i+=2}else{let s=r[n[i+1]];n[i].call(s)}r!==null&&(t[An]=null);let o=t[nt];if(o!==null){t[nt]=null;for(let i=0;i-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===Sn.None||i===Sn.Emulated)return null}return de(r,n)}}function no(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Yd(e,t,n){e.appendChild(t,n)}function kc(e,t,n,r,o){r!==null?no(e,t,n,r,o):Yd(e,t,n)}function eD(e,t,n,r){e.removeChild(t,n,r)}function ja(e,t){return e.parentNode(t)}function tD(e,t){return e.nextSibling(t)}function Qd(e,t,n){return rD(e,t,n)}function nD(e,t,n){return e.type&40?de(e,n):null}var rD=nD,Lc;function No(e,t,n,r){let o=qd(e,r,t),i=t[F],s=r.parent||t[le],a=Qd(s,r,t);if(o!=null)if(Array.isArray(n))for(let u=0;uB&&tf(e,t,B,!1),Fe(s?2:0,o),n(r,o)}finally{Mt(i),Fe(s?3:1,o)}}function $a(e,t,n){if(ma(t)){let r=_(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;snull;function pD(e){bd(e)?Kd(e):hy(e)}function hD(){af=pD}function gD(e,t,n,r){let o=ff(t);o.push(n),e.firstCreatePass&&pf(e).push(r,o.length-1)}function mD(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return an()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function jc(e,t,n,r,o){for(let i in t){if(!t.hasOwnProperty(i))continue;let s=t[i];if(s===void 0)continue;r??={};let a,u=rt.None;Array.isArray(s)?(a=s[0],u=s[1]):a=s;let c=i;if(o!==null){if(!o.hasOwnProperty(i))continue;c=o[i]}e===0?Vc(r,n,c,a,u):Vc(r,n,c,a)}return r}function Vc(e,t,n,r,o){let i;e.hasOwnProperty(n)?(i=e[n]).push(t,r):i=e[n]=[t,r],o!==void 0&&i.push(o)}function yD(e,t,n){let r=t.directiveStart,o=t.directiveEnd,i=e.data,s=t.attrs,a=[],u=null,c=null;for(let l=r;l0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function ED(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;Wn(n)&&TD(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||Xr(n,t),it(r,t);let s=n.initialInputs;for(let a=o;a{Rn(e.lView)},consumerOnSignalRead(){this.lView[_t]=this}}),vf=100;function wf(e,t=!0,n=0){let r=e[Me],o=r.rendererFactory,i=!1;i||o.begin?.();try{UD(e,n)}catch(s){throw t&&gf(e,s),s}finally{i||(o.end?.(),r.inlineEffectRunner?.flush())}}function UD(e,t){Es(e,t);let n=0;for(;Ia(e);){if(n===vf)throw new b(103,!1);n++,Es(e,1)}}function GD(e,t,n,r){let o=t[D];if((o&256)===256)return;let i=!1;!i&&t[Me].inlineEffectRunner?.flush(),Ma(t);let s=null,a=null;!i&&zD(e)&&(a=VD(t),s=nr(a));try{Jl(t),Dm(e.bindingStartIndex),n!==null&&of(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let d=e.preOrderCheckHooks;d!==null&&Br(t,d,null)}else{let d=e.preOrderHooks;d!==null&&$r(t,d,0,null),Si(t,0)}if(WD(t),If(t,0),e.contentQueries!==null&&df(e,t),!i)if(u){let d=e.contentCheckHooks;d!==null&&Br(t,d)}else{let d=e.contentHooks;d!==null&&$r(t,d,1),Si(t,1)}uD(e,t);let c=e.components;c!==null&&Cf(t,c,0);let l=e.viewQuery;if(l!==null&&Is(2,l,r),!i)if(u){let d=e.viewCheckHooks;d!==null&&Br(t,d)}else{let d=e.viewHooks;d!==null&&$r(t,d,2),Si(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Vr]){for(let d of t[Vr])d();t[Vr]=null}i||(t[D]&=-73)}catch(u){throw Rn(t),u}finally{a!==null&&(rr(a,s),$D(a)),xa()}}function zD(e){return e.type!==2}function If(e,t){for(let n=Md(e);n!==null;n=xd(n))for(let r=Y;r-1&&(Ln(t,r),qr(n,r))}this._attachedToViewContainer=!1}To(this._lView[I],this._lView)}onDestroy(t){Xl(this._lView,t)}markForCheck(){Ya(this._cdRefInjectingView||this._lView)}detach(){this._lView[D]&=-129}reattach(){Xi(this._lView),this._lView[D]|=128}detectChanges(){this._lView[D]|=1024,wf(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new b(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,zd(this._lView[I],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new b(902,!1);this._appRef=t,Xi(this._lView)}},st=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=ZD;let e=t;return e})(),YD=st,QD=class extends YD{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){let o=Ro(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new Tt(o)}};function ZD(){return ko(Q(),v())}function ko(e,t){return e.type&4?new QD(t,e,ln(e,t)):null}function bf(e){let t=e[Fn]??[],r=e[q][F];for(let o of t)KD(o,r);e[Fn]=ee}function KD(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[to];for(;n0&&(i.firstChild=e,e=jo(r[to],e)),n.push(i)}return[e,n]}var Mf=()=>null;function av(e,t){let n=e[Fn];return!t||n===null||n.length===0?null:n[0].data[iy]===t?n.shift():(bf(e),null)}function uv(){Mf=av}function Vn(e,t){return Mf(e,t)}var io=class{},Cs=class{},so=class{};function cv(e){let t=Error(`No component factory found for ${te(e)}.`);return t[lv]=e,t}var lv="ngComponent";var bs=class{resolveComponentFactory(t){throw cv(t)}},Vo=(()=>{let t=class t{};t.NULL=new bs;let e=t;return e})(),_s=class{},Bo=(()=>{let t=class t{constructor(){this.destroyNode=null}};t.__NG_ELEMENT_ID__=()=>dv();let e=t;return e})();function dv(){let e=v(),t=Q(),n=ct(t.index,e);return(Ue(n)?n:e)[F]}var fv=(()=>{let t=class t{};t.\u0275prov=j({token:t,providedIn:"root",factory:()=>null});let e=t;return e})(),Pi={};var Bc=new Set;function Ke(e){Bc.has(e)||(Bc.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function $c(...e){}function pv(){let e=typeof ge.requestAnimationFrame=="function",t=ge[e?"requestAnimationFrame":"setTimeout"],n=ge[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){let r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);let o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}var me=class e{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Et(!1),this.onMicrotaskEmpty=new Et(!1),this.onStable=new Et(!1),this.onError=new Et(!1),typeof Zone>"u")throw new b(908,!1);Zone.assertZonePatched();let o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=pv().nativeRequestAnimationFrame,mv(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new b(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new b(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,hv,$c,$c);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},hv={};function Qa(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 gv(e){e.isCheckStableRunning||e.lastRequestAnimationFrameId!==-1||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(ge,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Ms(e),e.isCheckStableRunning=!0,Qa(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Ms(e))}function mv(e){let t=()=>{gv(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(yv(a))return n.invokeTask(o,i,s,a);try{return Hc(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&i.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Uc(e)}},onInvoke:(n,r,o,i,s,a,u)=>{try{return Hc(e),n.invoke(o,i,s,a,u)}finally{e.shouldCoalesceRunChangeDetection&&t(),Uc(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&(i.change=="microTask"?(e._hasPendingMicrotasks=i.microTask,Ms(e),Qa(e)):i.change=="macroTask"&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}function Ms(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.lastRequestAnimationFrameId!==-1?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Hc(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Uc(e){e._nesting--,Qa(e)}function yv(e){return!Array.isArray(e)||e.length!==1?!1:e[0].data?.__ignore_ng_zone__===!0}var Qt=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Qt||{}),Dv={destroy(){}};function vv(e,t){!t&&Ul(vv);let n=t?.injector??E(Ft);if(!bn(n))return Dv;Ke("NgAfterNextRender");let r=n.get(Za),o=r.handler??=new Ss,i=t?.phase??Qt.MixedReadWrite,s=()=>{o.unregister(u),a()},a=n.get(qn).onDestroy(s),u=Zg(n,()=>new xs(i,()=>{s(),e()}));return o.register(u),{destroy:s}}var xs=class{constructor(t,n){this.phase=t,this.callbackFn=n,this.zone=E(me),this.errorHandler=E(Ye,{optional:!0}),E(io,{optional:!0})?.notify(1)}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(t){this.errorHandler?.handleError(t)}}},Ss=class{constructor(){this.executingCallbacks=!1,this.buckets={[Qt.EarlyRead]:new Set,[Qt.Write]:new Set,[Qt.MixedReadWrite]:new Set,[Qt.Read]:new Set},this.deferredCallbacks=new Set}register(t){(this.executingCallbacks?this.deferredCallbacks:this.buckets[t.phase]).add(t)}unregister(t){this.buckets[t.phase].delete(t),this.deferredCallbacks.delete(t)}execute(){this.executingCallbacks=!0;for(let t of Object.values(this.buckets))for(let n of t)n.invoke();this.executingCallbacks=!1;for(let t of this.deferredCallbacks)this.buckets[t.phase].add(t);this.deferredCallbacks.clear()}destroy(){for(let t of Object.values(this.buckets))t.clear();this.deferredCallbacks.clear()}},Za=(()=>{let t=class t{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){let r=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let o of r)o()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};t.\u0275prov=j({token:t,providedIn:"root",factory:()=>new t});let e=t;return e})();function ao(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s0&&Xd(e,n,i.join(" "))}}function Mv(e,t,n){let r=e.projection=[];for(let o=0;o{let t=class t{};t.__NG_ELEMENT_ID__=Sv;let e=t;return e})();function Sv(){let e=Q();return Sf(e,v())}var Tv=pt,xf=class extends Tv{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return ln(this._hostTNode,this._hostLView)}get injector(){return new Ct(this._hostTNode,this._hostLView)}get parentInjector(){let t=Sa(this._hostTNode,this._hostLView);if(fd(t)){let n=Kr(t,this._hostLView),r=Zr(t),o=n[I].data[r+8];return new Ct(o,n)}else return new Ct(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=zc(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-Y}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Vn(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,jn(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!Kg(t),a;if(s)a=n;else{let h=n||{};a=h.index,r=h.injector,o=h.projectableNodes,i=h.environmentInjector||h.ngModuleRef}let u=s?t:new Nt(Ge(t)),c=r||this.parentInjector;if(!i&&u.ngModule==null){let g=(s?c:this.parentInjector).get(ot,null);g&&(i=g)}let l=Ge(u.componentType??{}),d=Vn(this._lContainer,l?.id??null),p=d?.firstChild??null,f=u.create(c,o,p,i);return this.insertImpl(f.hostView,a,jn(this._hostTNode,d)),f}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(sm(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let u=o[q],c=new xf(u,u[le],u[q]);c.detach(c.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return Po(s,o,i,r),t.attachToViewContainerRef(),El(ki(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=zc(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Ln(this._lContainer,n);r&&(qr(ki(this._lContainer),n),To(r[I],r))}detach(t){let n=this._adjustIndex(t,-1),r=Ln(this._lContainer,n);return r&&qr(ki(this._lContainer),n)!=null?new Tt(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function zc(e){return e[Qr]}function ki(e){return e[Qr]||(e[Qr]=[])}function Sf(e,t){let n,r=t[e.index];return Pe(r)?n=r:(n=lf(r,t,null,e),t[e.index]=n,Fo(t,n)),Tf(n,t,e,r),new xf(n,e,t)}function Nv(e,t){let n=e[F],r=n.createComment(""),o=de(t,e),i=ja(n,o);return no(n,i,r,tD(n,o),!1),r}var Tf=Nf,Ka=()=>!1;function Av(e,t,n){return Ka(e,t,n)}function Nf(e,t,n,r){if(e[We])return;let o;n.type&8?o=xe(r):o=Nv(t,n),e[We]=o}function Ov(e,t,n){if(e[We]&&e[Fn])return!0;let r=n[ue],o=t.index-B;if(!r||qm(t)||_o(r,o))return!1;let s=ls(r,o),a=r.data[Na]?.[o],[u,c]=sv(s,a);return e[We]=u,e[Fn]=c,!0}function Fv(e,t,n,r){Ka(e,n,t)||Nf(e,t,n,r)}function Rv(){Tf=Fv,Ka=Ov}var As=class e{constructor(t){this.queryList=t,this.matches=null}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Os=class e{constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,o=[];for(let i=0;i0)r.push(s[a/2]);else{let c=i[a+1],l=t[-u];for(let d=Y;dt.trim())}function Ff(e,t,n){e.queries===null&&(e.queries=new Fs),e.queries.track(new Rs(t,n))}function Uv(e,t){let n=e.contentQueries||(e.contentQueries=[]),r=n.length?n[n.length-1]:-1;t!==r&&n.push(e.queries.length-1,t)}function Ja(e,t){return e.queries.getByIndex(t)}function Gv(e,t){let n=e[I],r=Ja(n,t);return r.crossesNgTemplate?Ps(n,e,t,[]):Af(n,e,r,t)}function zv(e){return typeof e=="function"&&e[we]!==void 0}function HT(e,t){Ke("NgSignals");let n=Pu(e),r=n[we];return t?.equal&&(r.equal=t.equal),n.set=o=>gn(r,o),n.update=o=>ku(r,o),n.asReadonly=Rf.bind(n),n}function Rf(){let e=this[we];if(e.readonlyFn===void 0){let t=()=>this();t[we]=e,e.readonlyFn=t}return e.readonlyFn}function Pf(e){return zv(e)&&typeof e.set=="function"}function kf(e){let t=Object.create(Zh),n=new is;t.value=e;function r(){return tr(t),Wc(t.value),t.value}return r[we]=t,r.asReadonly=Rf.bind(r),r.set=o=>{t.equal(t.value,o)||(gn(t,o),n.emit(o))},r.update=o=>{Wc(t.value),r.set(o(t.value))},r.subscribe=n.subscribe.bind(n),r.destroyRef=n.destroyRef,r}function Wc(e){if(e===cl)throw new b(-952,!1)}function qc(e){return kf(e)}function Wv(){return kf(cl)}var UT=(qc.required=Wv,qc);function qv(e){return Object.getPrototypeOf(e.prototype).constructor}function Yv(e){let t=qv(e.type),n=!0,r=[e];for(;t;){let o;if(qe(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new b(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=Pr(e.inputs),s.inputTransforms=Pr(e.inputTransforms),s.declaredInputs=Pr(e.declaredInputs),s.outputs=Pr(e.outputs);let a=o.hostBindings;a&&Xv(e,a);let u=o.viewQuery,c=o.contentQueries;if(u&&Kv(e,u),c&&Jv(e,c),Qv(e,o),Jh(e.outputs,o.outputs),qe(o)&&o.data.animation){let l=e.data;l.animation=(l.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=Tn(o.hostAttrs,n=Tn(n,o.hostAttrs))}}function Pr(e){return e===Jt?{}:e===ee?[]:e}function Kv(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function Jv(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function Xv(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function ew(e){let t=e.inputConfig,n={};for(let r in t)if(t.hasOwnProperty(r)){let o=t[r];Array.isArray(o)&&o[3]&&(n[r]=o[3])}e.inputTransforms=n}var at=class{},ks=class{};var Ls=class extends at{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new uo(this);let o=Fl(t);this._bootstrapComponents=Gd(o.bootstrap),this._r3Injector=Id(t,n,[{provide:at,useValue:this},{provide:Vo,useValue:this.componentFactoryResolver},...r],te(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},js=class extends ks{constructor(t){super(),this.moduleType=t}create(t){return new Ls(this.moduleType,t,[])}};var lo=class extends at{constructor(t){super(),this.componentFactoryResolver=new uo(this),this.instance=null;let n=new Nn([...t.providers,{provide:at,useValue:this},{provide:Vo,useValue:this.componentFactoryResolver}],t.parent||Do(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function tw(e,t,n=null){return new lo({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var Xa=(()=>{let t=class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new yn(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let r=this.taskId++;return this.pendingTasks.add(r),r}remove(r){this.pendingTasks.delete(r),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=j({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Lf(e){return eu(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function nw(e,t){if(Array.isArray(e))for(let n=0;n>17&32767}function cw(e){return(e&2)==2}function lw(e,t){return e&131071|t<<17}function $s(e){return e|2}function rn(e){return(e&131068)>>2}function Li(e,t){return e&-131069|t<<2}function dw(e){return(e&1)===1}function Hs(e){return e|1}function fw(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=At(s),u=rn(s);e[r]=n;let c=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||Gn(d,l)>0)&&(c=!0)}else l=n;if(o)if(u!==0){let p=At(e[a+1]);e[r+1]=kr(p,a),p!==0&&(e[p+1]=Li(e[p+1],r)),e[a+1]=lw(e[a+1],r)}else e[r+1]=kr(a,0),a!==0&&(e[a+1]=Li(e[a+1],r)),a=r;else e[r+1]=kr(u,0),a===0?a=r:e[u+1]=Li(e[u+1],r),u=r;c&&(e[r+1]=$s(e[r+1])),Yc(e,l,r,!0),Yc(e,l,r,!1),pw(t,l,e,r,i),s=kr(a,u),i?t.classBindings=s:t.styleBindings=s}function pw(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Gn(i,t)>=0&&(n[r+1]=Hs(n[r+1]))}function Yc(e,t,n,r){let o=e[n+1],i=t===null,s=r?At(o):rn(o),a=!1;for(;s!==0&&(a===!1||i);){let u=e[s],c=e[s+1];hw(u,t)&&(a=!0,e[s+1]=r?Hs(c):$s(c)),s=r?At(c):rn(c)}a&&(e[n+1]=r?$s(o):Hs(o))}function hw(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Gn(e,t)>=0:!1}var z={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Bf(e){return e.substring(z.key,z.keyEnd)}function gw(e){return e.substring(z.value,z.valueEnd)}function mw(e){return Uf(e),$f(e,on(e,0,z.textEnd))}function $f(e,t){let n=z.textEnd;return n===t?-1:(t=z.keyEnd=Dw(e,z.key=t,n),on(e,t,n))}function yw(e){return Uf(e),Hf(e,on(e,0,z.textEnd))}function Hf(e,t){let n=z.textEnd,r=z.key=on(e,t,n);return n===r?-1:(r=z.keyEnd=vw(e,r,n),r=Qc(e,r,n,58),r=z.value=on(e,r,n),r=z.valueEnd=ww(e,r,n),Qc(e,r,n,59))}function Uf(e){z.key=0,z.keyEnd=0,z.value=0,z.valueEnd=0,z.textEnd=e.length}function on(e,t,n){for(;t32;)t++;return t}function vw(e,t,n){let r;for(;t=65&&(r&-33)<=90||r>=48&&r<=57);)t++;return t}function Qc(e,t,n,r){return t=on(e,t,n),t32&&(a=s),i=o,o=r,r=u&-33}return a}function Zc(e,t,n,r){let o=-1,i=n;for(;i=0;n=Hf(t,n))Qf(e,Bf(t),gw(t))}function zT(e){nu(Tw,zf,e,!0)}function zf(e,t){for(let n=mw(t);n>=0;n=$f(t,n))Un(e,Bf(t),!0)}function Wf(e,t,n,r){let o=v(),i=V(),s=nd(2);if(i.firstUpdatePass&&Yf(i,e,s,r),t!==Se&&ce(o,s,t)){let a=i.data[dt()];Zf(i,a,o,o[F],e,o[s+1]=Aw(t,n),r,s)}}function nu(e,t,n,r){let o=V(),i=nd(2);o.firstUpdatePass&&Yf(o,null,i,r);let s=v();if(n!==Se&&ce(s,i,n)){let a=o.data[dt()];if(Kf(a,r)&&!qf(o,i)){let u=r?a.classesWithoutHost:a.stylesWithoutHost;u!==null&&(n=Gi(u,n||"")),Us(o,a,s,n,r)}else Nw(o,a,s,s[F],s[i+1],s[i+1]=Sw(e,t,n),r,i)}}function qf(e,t){return t>=e.expandoStartIndex}function Yf(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[dt()],s=qf(e,n);Kf(i,r)&&t===null&&!s&&(t=!1),t=bw(o,i,t,r),fw(o,i,t,n,s,r)}}function bw(e,t,n,r){let o=ba(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=ji(null,e,t,n,r),n=Bn(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=ji(o,e,t,n,r),i===null){let u=_w(e,t,r);u!==void 0&&Array.isArray(u)&&(u=ji(null,e,t,u[1],r),u=Bn(u,t.attrs,r),Mw(e,t,r,u))}else i=xw(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function _w(e,t,n){let r=n?t.classBindings:t.styleBindings;if(rn(r)!==0)return e[At(r)]}function Mw(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[At(o)]=r}function xw(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0;){let u=e[o],c=Array.isArray(u),l=c?u[1]:u,d=l===null,p=n[o+1];p===Se&&(p=d?ee:void 0);let f=d?Mi(p,r):l===r?p:void 0;if(c&&!fo(f)&&(f=Mi(u,r)),fo(f)&&(a=f,s))return a;let h=e[o+1];o=s?At(h):rn(h)}if(t!==null){let u=i?t.residualClasses:t.residualStyles;u!=null&&(a=Mi(u,r))}return a}function fo(e){return e!==void 0}function Aw(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=te(Rt(e)))),e}function Kf(e,t){return(e.flags&(t?8:16))!==0}function WT(e,t,n){let r=v(),o=tu(r,e,t,n);nu(Un,zf,o,!0)}var Gs=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t))}};function Vi(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function Ow(e,t,n){let r,o,i=0,s=e.length-1;if(Array.isArray(t)){let a=t.length-1;for(;i<=s&&i<=a;){let u=e.at(i),c=t[i],l=Vi(i,u,i,c,n);if(l!==0){l<0&&e.updateValue(i,c),i++;continue}let d=e.at(s),p=t[a],f=Vi(s,d,a,p,n);if(f!==0){f<0&&e.updateValue(s,p),s--,a--;continue}let h=n(i,u),g=n(s,d),N=n(i,c);if(Object.is(N,g)){let S=n(a,p);Object.is(S,h)?(e.swap(i,s),e.updateValue(s,p),a--,s--):e.move(s,i),e.updateValue(i,c),i++;continue}if(r??=new po,o??=Xc(e,i,s,n),zs(e,r,i,N))e.updateValue(i,c),i++,s++;else if(o.has(N))r.set(h,e.detach(i)),s--;else{let S=e.create(i,t[i]);e.attach(i,S),i++,s++}}for(;i<=a;)Jc(e,r,n,i,t[i]),i++}else if(t!=null){let a=t[Symbol.iterator](),u=a.next();for(;!u.done&&i<=s;){let c=e.at(i),l=u.value,d=Vi(i,c,i,l,n);if(d!==0)d<0&&e.updateValue(i,l),i++,u=a.next();else{r??=new po,o??=Xc(e,i,s,n);let p=n(i,l);if(zs(e,r,i,p))e.updateValue(i,l),i++,s++,u=a.next();else if(!o.has(p))e.attach(i,e.create(i,l)),i++,s++,u=a.next();else{let f=n(i,c);r.set(f,e.detach(i)),s--}}}for(;!u.done;)Jc(e,r,n,e.length,u.value),u=a.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(a=>{e.destroy(a)})}function zs(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Jc(e,t,n,r,o){if(zs(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Xc(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var po=class{constructor(){this.kvMap=new Map,this._vMap=void 0}has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};function qT(e,t,n){Ke("NgControlFlow");let r=v(),o=lt(),i=Qs(r,B+e),s=0;if(ce(r,o,t)){let a=_(null);try{if(yf(i,s),t!==-1){let u=Zs(r[I],B+t),c=Vn(i,u.tView.ssrId),l=Ro(r,u,n,{dehydratedView:c});Po(i,l,s,jn(u,c))}}finally{_(a)}}else{let a=mf(i,s);a!==void 0&&(a[Z]=n)}}var Ws=class{constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-Y}};function YT(e,t){return t}var qs=class{constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function QT(e,t,n,r,o,i,s,a,u,c,l,d,p){Ke("NgControlFlow");let f=u!==void 0,h=v(),g=a?s.bind(h[ae][Z]):s,N=new qs(f,g);h[B+e]=N,Bs(e+1,t,n,r,o,i),f&&Bs(e+2,u,c,l,d,p)}var Ys=class extends Gs{constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-Y}at(t){return this.getLView(t)[Z].$implicit}attach(t,n){let r=n[ue];this.needsIndexUpdate||=t!==this.length,Po(this.lContainer,n,t,jn(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,Fw(this.lContainer,t)}create(t,n){let r=Vn(this.lContainer,this.templateTNode.tView.ssrId);return Ro(this.hostLView,this.templateTNode,new Ws(this.lContainer,n,t),{dehydratedView:r})}destroy(t){To(t[I],t)}updateValue(t,n){this.getLView(t)[Z].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t(ke(!0),So(r,o,cd()));function Lw(e,t,n,r,o,i){let s=t[ue],a=!s||an()||Kn(n)||_o(s,i);if(ke(a),a)return So(r,o,cd());let u=Lo(s,e,t,n);return Rd(s,i)&&bo(s,i,u.nextSibling),s&&(Cd(n)||bd(u))&&Wn(n)&&(hm(n),Kd(u)),u}function jw(){ep=Lw}function Vw(e,t,n,r,o){let i=t.consts,s=nn(i,r),a=dn(t,e,8,"ng-container",s);s!==null&&ao(a,s,!0);let u=nn(i,o);return za(t,n,a,u),t.queries!==null&&t.queries.elementStart(t,a),a}function tp(e,t,n){let r=v(),o=V(),i=e+B,s=o.firstCreatePass?Vw(i,o,r,t,n):o.data[i];Ot(s,!0);let a=rp(o,r,s,e);return r[i]=a,Io()&&No(o,r,a,s),it(a,r),wo(s)&&(Ha(o,r,s),$a(o,s,r)),n!=null&&Ua(r,s),tp}function np(){let e=Q(),t=V();return Ea()?Ca():(e=e.parent,Ot(e,!1)),t.firstCreatePass&&(Eo(t,e),ma(e)&&t.queries.elementEnd(e)),np}function Bw(e,t,n){return tp(e,t,n),np(),Bw}var rp=(e,t,n,r)=>(ke(!0),La(t[F],""));function $w(e,t,n,r){let o,i=t[ue],s=!i||an()||Kn(n);if(ke(s),s)return La(t[F],"");let a=Lo(i,e,t,n),u=gy(i,r);return bo(i,r,a),o=jo(u,a),o}function Hw(){rp=$w}function KT(){return v()}function Uw(e,t,n){let r=v(),o=lt();if(ce(r,o,t)){let i=V(),s=cn();Zn(i,s,r,e,t,r[F],n,!0)}return Uw}function Gw(e,t,n){let r=v(),o=lt();if(ce(r,o,t)){let i=V(),s=cn(),a=ba(i.data),u=hf(a,s,r);Zn(i,s,r,e,t,u,n,!0)}return Gw}var It=void 0;function zw(e){let t=e,n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return n===1&&r===0?1:5}var Ww=["en",[["a","p"],["AM","PM"],It],[["AM","PM"],It,It],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],It,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],It,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",It,"{1} 'at' {0}",It],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",zw],Bi={};function ye(e){let t=qw(e),n=el(t);if(n)return n;let r=t.split("-")[0];if(n=el(r),n)return n;if(r==="en")return Ww;throw new b(701,!1)}function el(e){return e in Bi||(Bi[e]=ge.ng&&ge.ng.common&&ge.ng.common.locales&&ge.ng.common.locales[e]),Bi[e]}var H=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(H||{});function qw(e){return e.toLowerCase().replace(/_/g,"-")}var ho="en-US";var Yw=ho;function Qw(e){typeof e=="string"&&(Yw=e.toLowerCase().replace(/_/g,"-"))}function op(e,t,n){let r=e[F];switch(n){case Node.COMMENT_NODE:return La(r,t);case Node.TEXT_NODE:return ka(r,t);case Node.ELEMENT_NODE:return So(r,t,null)}}var Zw=(e,t,n,r)=>(ke(!0),op(e,n,r));function Kw(e,t,n,r){return ke(!0),op(e,n,r)}function Jw(){Zw=Kw}function Xw(e,t,n,r){let o=v(),i=V(),s=Q();return ru(i,o,o[F],s,e,t,r),Xw}function eI(e,t){let n=Q(),r=v(),o=V(),i=ba(o.data),s=hf(i,n,r);return ru(o,r,s,n,e,t),eI}function tI(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;iu?a[u]:null}typeof s=="string"&&(i+=2)}return null}function ru(e,t,n,r,o,i,s){let a=wo(r),c=e.firstCreatePass&&pf(e),l=t[Z],d=ff(t),p=!0;if(r.type&3||s){let g=de(r,t),N=s?s(g):g,S=d.length,pe=s?Le=>s(xe(Le[r.index])):r.index,re=null;if(!s&&a&&(re=tI(e,t,o,r.index)),re!==null){let Le=re.__ngLastListenerFn__||re;Le.__ngNextListenerFn__=i,re.__ngLastListenerFn__=i,p=!1}else{i=nl(r,t,l,i,!1);let Le=n.listen(N,o,i);d.push(i,Le),c&&c.push(o,pe,S,S+1)}}else i=nl(r,t,l,i,!1);let f=r.outputs,h;if(p&&f!==null&&(h=f[o])){let g=h.length;if(g)for(let N=0;N-1?ct(e.index,t):t;Ya(a);let u=tl(t,n,r,s),c=i.__ngNextListenerFn__;for(;c;)u=tl(t,n,c,s)&&u,c=c.__ngNextListenerFn__;return o&&u===!1&&s.preventDefault(),u}}function JT(e=1){return Cm(e)}function nI(e,t){let n=null,r=Sg(e);for(let o=0;o=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function iN(e){let t=ym();return va(t,B+e)}function sN(e,t=""){let n=v(),r=V(),o=e+B,i=r.firstCreatePass?dn(r,o,1,t,null):r.data[o],s=sp(r,n,i,t,e);n[o]=s,Io()&&No(r,n,s,i),Ot(i,!1)}var sp=(e,t,n,r,o)=>(ke(!0),ka(t[F],r));function iI(e,t,n,r,o){let i=t[ue],s=!i||an()||Kn(n)||_o(i,o);return ke(s),s?ka(t[F],r):Lo(i,e,t,n)}function sI(){sp=iI}function aI(e){return ap("",e,""),aI}function ap(e,t,n){let r=v(),o=tu(r,e,t,n);return o!==Se&&RD(r,dt(),o),ap}function uI(e,t,n){Pf(t)&&(t=t());let r=v(),o=lt();if(ce(r,o,t)){let i=V(),s=cn();Zn(i,s,r,e,t,r[F],n,!1)}return uI}function aN(e,t){let n=Pf(e);return n&&e.set(t),n}function cI(e,t){let n=v(),r=V(),o=Q();return ru(r,n,n[F],o,e,t),cI}function lI(e,t,n){let r=V();if(r.firstCreatePass){let o=qe(e);Ks(n,r.data,r.blueprint,o,!0),Ks(t,r.data,r.blueprint,o,!1)}}function Ks(e,t,n,r,o){if(e=X(e),Array.isArray(e))for(let i=0;i>20;if(Xt(e)||!e.multi){let f=new xt(c,o,$),h=Hi(u,t,o?l:l+p,d);h===-1?(ns(Xr(a,s),i,u),$i(i,e,t.length),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[h]=f,s[h]=f)}else{let f=Hi(u,t,l+p,d),h=Hi(u,t,l,l+p),g=f>=0&&n[f],N=h>=0&&n[h];if(o&&!N||!o&&!g){ns(Xr(a,s),i,u);let S=pI(o?fI:dI,n.length,o,r,c);!o&&N&&(n[h].providerFactory=S),$i(i,e,t.length,0),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(S),s.push(S)}else{let S=up(n[o?h:f],c,!o&&r);$i(i,e,f>-1?f:h,S)}!o&&r&&N&&n[h].componentProviders++}}}function $i(e,t,n,r){let o=Xt(t),i=Ug(t);if(o||i){let u=(i?X(t.useClass):t).prototype.ngOnDestroy;if(u){let c=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let l=c.indexOf(n);l===-1?c.push(n,[r,u]):c[l+1].push(r,u)}else c.push(n,u)}}}function up(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Hi(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>lI(r,o?o(e):e,t)}}var hI=(()=>{let t=class t{constructor(r){this._injector=r,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(r){if(!r.standalone)return null;if(!this.cachedInjectors.has(r)){let o=Ll(!1,r.type),i=o.length>0?tw([o],this._injector,`Standalone[${r.type.name}]`):null;this.cachedInjectors.set(r,i)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(let r of this.cachedInjectors.values())r!==null&&r.destroy()}finally{this.cachedInjectors.clear()}}};t.\u0275prov=j({token:t,providedIn:"environment",factory:()=>new t(K(ot))});let e=t;return e})();function cN(e){Ke("NgStandalone"),e.getStandaloneInjector=t=>t.get(hI).getOrCreateStandaloneInjector(e)}function lN(e,t,n){let r=un()+e,o=v();return o[r]===Se?$o(o,r,n?t.call(n):t()):rw(o,r)}function dN(e,t,n,r){return cp(v(),un(),e,t,n,r)}function fN(e,t,n,r,o){return lp(v(),un(),e,t,n,r,o)}function pN(e,t,n,r,o,i,s){return gI(v(),un(),e,t,n,r,o,i,s)}function ou(e,t){let n=e[t];return n===Se?void 0:n}function cp(e,t,n,r,o,i){let s=t+n;return ce(e,s,o)?$o(e,s+1,i?r.call(i,o):r(o)):ou(e,s+1)}function lp(e,t,n,r,o,i,s){let a=t+n;return Vs(e,a,o,i)?$o(e,a+2,s?r.call(s,o,i):r(o,i)):ou(e,a+2)}function gI(e,t,n,r,o,i,s,a,u){let c=t+n;return ow(e,c,o,i,s,a)?$o(e,c+4,u?r.call(u,o,i,s,a):r(o,i,s,a)):ou(e,c+4)}function hN(e,t){let n=V(),r,o=e+B;n.firstCreatePass?(r=mI(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=bt(r.type,!0)),s,a=ie($);try{let u=Jr(!1),c=i();return Jr(u),oI(n,v(),o,c),c}finally{ie(a)}}function mI(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function gN(e,t,n){let r=e+B,o=v(),i=va(o,r);return dp(o,r)?cp(o,un(),t,i.transform,n,i):i.transform(n)}function mN(e,t,n,r){let o=e+B,i=v(),s=va(i,o);return dp(i,o)?lp(i,un(),t,s.transform,n,r,s):s.transform(n,r)}function dp(e,t){return e[I].data[t].pure}function yN(e,t){return ko(e,t)}var DN=(()=>{let t=class t{log(r){console.log(r)}warn(r){console.warn(r)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=j({token:t,factory:t.\u0275fac,providedIn:"platform"});let e=t;return e})();var yI=new R("");function iu(e){return!!e&&typeof e.then=="function"}function fp(e){return!!e&&typeof e.subscribe=="function"}var DI=new R(""),pp=(()=>{let t=class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o}),this.appInits=E(DI,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let r=[];for(let i of this.appInits){let s=i();if(iu(s))r.push(s);else if(fp(s)){let a=new Promise((u,c)=>{s.subscribe({complete:u,error:c})});r.push(a)}}let o=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{o()}).catch(i=>{this.reject(i)}),r.length===0&&o(),this.initialized=!0}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=j({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),hp=new R("");function vI(){Ru(()=>{throw new b(600,!1)})}function wI(e){return e.isBoundToModule}function II(e,t,n){try{let r=n();return iu(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var su=(()=>{let t=class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=E(Ed),this.afterRenderEffectManager=E(Za),this.externalTestViews=new Set,this.beforeRender=new he,this.afterTick=new he,this.componentTypes=[],this.components=[],this.isStable=E(Xa).hasPendingTasks.pipe(He(r=>!r)),this._injector=E(ot)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,o){let i=r instanceof so;if(!this._injector.get(pp).done){let f=!i&&Lg(r),h=!1;throw new b(405,h)}let a;i?a=r:a=this._injector.get(Vo).resolveComponentFactory(r),this.componentTypes.push(a.componentType);let u=wI(a)?void 0:this._injector.get(at),c=o||a.selector,l=a.create(Ft.NULL,[],c,u),d=l.location.nativeElement,p=l.injector.get(yI,null);return p?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),Ui(this.components,l),p?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){this._tick(!0)}_tick(r){if(this._runningTick)throw new b(101,!1);let o=_(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(r)}catch(i){this.internalErrorHandler(i)}finally{this.afterTick.next(),this._runningTick=!1,_(o)}}detectChangesInAttachedViews(r){let o=0,i=this.afterRenderEffectManager;for(;;){if(o===vf)throw new b(103,!1);if(r){let s=o===0;this.beforeRender.next(s);for(let{_lView:a,notifyErrorHandler:u}of this._views)CI(a,s,u)}if(o++,i.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>Xs(s))&&(i.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>Xs(s))))break}}attachView(r){let o=r;this._views.push(o),o.attachToAppRef(this)}detachView(r){let o=r;Ui(this._views,o),o.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);let o=this._injector.get(hp,[]);[...this._bootstrapListeners,...o].forEach(i=>i(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>Ui(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new b(406,!1);let r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=j({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Ui(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}var Lr;function EI(e){Lr??=new WeakMap;let t=Lr.get(e);if(t)return t;let n=e.isStable.pipe(Ei(r=>r)).toPromise().then(()=>{});return Lr.set(e,n),e.onDestroy(()=>Lr?.delete(e)),n}function CI(e,t,n){!t&&!Xs(e)||bI(e,n,t)}function Xs(e){return Ia(e)}function bI(e,t,n){let r;n?(r=0,e[D]|=1024):e[D]&64?r=0:r=1,wf(e,t,r)}var ea=class{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},vN=(()=>{let t=class t{compileModuleSync(r){return new js(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){let o=this.compileModuleSync(r),i=Fl(r),s=Gd(i.declarations).reduce((a,u)=>{let c=Ge(u);return c&&a.push(new Nt(c)),a},[]);return new ea(o,s)}compileModuleAndAllComponentsAsync(r){return Promise.resolve(this.compileModuleAndAllComponentsSync(r))}clearCache(){}clearCacheFor(r){}getModuleId(r){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=j({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var _I=(()=>{let t=class t{constructor(){this.zone=E(me),this.applicationRef=E(su)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=j({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function MI(e){return[{provide:me,useFactory:e},{provide:xn,multi:!0,useFactory:()=>{let t=E(_I,{optional:!0});return()=>t.initialize()}},{provide:xn,multi:!0,useFactory:()=>{let t=E(NI);return()=>{t.initialize()}}},{provide:Ed,useFactory:xI}]}function xI(){let e=E(me),t=E(Ye);return n=>e.runOutsideAngular(()=>t.handleError(n))}function SI(e){let t=MI(()=>new me(TI(e)));return kl([[],t])}function TI(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var NI=(()=>{let t=class t{constructor(){this.subscription=new G,this.initialized=!1,this.zone=E(me),this.pendingTasks=E(Xa)}initialize(){if(this.initialized)return;this.initialized=!0;let r=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(r=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{me.assertNotInAngularZone(),queueMicrotask(()=>{r!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(r),r=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{me.assertInAngularZone(),r??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=j({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function AI(){return typeof $localize<"u"&&$localize.locale||ho}var Ho=new R("",{providedIn:"root",factory:()=>E(Ho,x.Optional|x.SkipSelf)||AI()});var gp=new R("");var Gr=null;function OI(e=[],t){return Ft.create({name:t,providers:[{provide:Bl,useValue:"platform"},{provide:gp,useValue:new Set([()=>Gr=null])},...e]})}function FI(e=[]){if(Gr)return Gr;let t=OI(e);return Gr=t,vI(),RI(t),t}function RI(e){e.get(ey,null)?.forEach(n=>n())}var au=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=PI;let e=t;return e})();function PI(e){return kI(Q(),v(),(e&16)===16)}function kI(e,t,n){if(Wn(e)&&!n){let r=ct(e.index,t);return new Tt(r,r)}else if(e.type&47){let r=t[ae];return new Tt(r,t)}return null}var ta=class{constructor(){}supports(t){return Lf(t)}create(t){return new na(t)}},LI=(e,t)=>t,na=class{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||LI}forEachItem(t){let n;for(n=this._itHead;n!==null;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){let s=!r||n&&n.currentIndex{s=this._trackByFn(o,a),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,a,s,o),r=!0):(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return t===null?i=this._itTail:(i=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):(t=this._linkedRecords===null?null:this._linkedRecords.get(r,o),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new ra(n,r),i,o)),t}_verifyReinsertion(t,n,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;t!==null;){let n=t._next;this._addToRemovals(this._unlink(t)),t=n}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let o=t._prevRemoved,i=t._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){let o=n===null?this._itHead:n._next;return t._next=o,t._prev=n,o===null?this._itTail=t:o._prev=t,n===null?this._itHead=t:n._next=t,this._linkedRecords===null&&(this._linkedRecords=new go),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let n=t._prev,r=t._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new go),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}},ra=class{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}},oa=class{constructor(){this._head=null,this._tail=null}add(t){this._head===null?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){let n=t._prevDup,r=t._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}},go=class{constructor(){this.map=new Map}put(t){let n=t.trackById,r=this.map.get(n);r||(r=new oa,this.map.set(n,r)),r.add(t)}get(t,n){let r=t,o=this.map.get(r);return o?o.get(t,n):null}remove(t){let n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function rl(e,t,n){let r=e.previousIndex;if(r===null)return r;let o=0;return n&&r{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{let i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){let r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){let o=this._records.get(t);this._maybeAddToChanges(o,n);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new aa(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;t!==null;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;t!=null;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){this._additionsHead===null?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){this._changesHead===null?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}},aa=class{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}};function ol(){return new uu([new ta])}var uu=(()=>{let t=class t{constructor(r){this.factories=r}static create(r,o){if(o!=null){let i=o.factories.slice();r=r.concat(i)}return new t(r)}static extend(r){return{provide:t,useFactory:o=>t.create(r,o||ol()),deps:[[t,new Il,new wl]]}}find(r){let o=this.factories.find(i=>i.supports(r));if(o!=null)return o;throw new b(901,!1)}};t.\u0275prov=j({token:t,providedIn:"root",factory:ol});let e=t;return e})();function il(){return new cu([new ia])}var cu=(()=>{let t=class t{constructor(r){this.factories=r}static create(r,o){if(o){let i=o.factories.slice();r=r.concat(i)}return new t(r)}static extend(r){return{provide:t,useFactory:o=>t.create(r,o||il()),deps:[[t,new Il,new wl]]}}find(r){let o=this.factories.find(i=>i.supports(r));if(o)return o;throw new b(901,!1)}};t.\u0275prov=j({token:t,providedIn:"root",factory:il});let e=t;return e})();function wN(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=FI(r),i=[SI(),...n||[]],a=new lo({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,u=a.get(me);return u.run(()=>{a.resolveInjectorInitializers();let c=a.get(Ye,null),l;u.runOutsideAngular(()=>{l=u.onError.subscribe({next:f=>{c.handleError(f)}})});let d=()=>a.destroy(),p=o.get(gp);return p.add(d),a.onDestroy(()=>{l.unsubscribe(),p.delete(d)}),II(c,u,()=>{let f=a.get(pp);return f.runInitializers(),f.donePromise.then(()=>{let h=a.get(Ho,ho);Qw(h||ho);let g=a.get(su);return t!==void 0&&g.bootstrap(t),g})})})}catch(t){return Promise.reject(t)}}var sl=!1,jI=!1;function VI(){sl||(sl=!0,dy(),jw(),sI(),Hw(),aw(),Rv(),uv(),hD(),Jw())}function BI(e,t){return EI(e)}function IN(){return kl([{provide:Ar,useFactory:()=>{let e=!0;return bn()&&(e=!!E(Ta,{optional:!0})?.get(Od,null)),e&&Ke("NgHydration"),e}},{provide:xn,useValue:()=>{jI=!!E(my,{optional:!0}),bn()&&E(Ar)&&($I(),VI())},multi:!0},{provide:kd,useFactory:()=>bn()&&E(Ar)},{provide:hp,useFactory:()=>{if(bn()&&E(Ar)){let e=E(su),t=E(Ft);return()=>{BI(e,t).then(()=>{XD(e)})}}return()=>{}},multi:!0}])}function $I(){let e=Yn(),t;for(let n of e.body.childNodes)if(n.nodeType===Node.COMMENT_NODE&&n.textContent?.trim()===cy){t=n;break}if(!t)throw new b(-507,!1)}function HI(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function UI(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function EN(e,t){Ke("NgSignals");let n=Au(e);return t?.equal&&(n[we].equal=t.equal),n}var GI=new R("",{providedIn:"root",factory:()=>E(zI)}),zI=(()=>{let t=class t{};t.\u0275prov=j({token:t,providedIn:"root",factory:()=>new ua});let e=t;return e})(),ua=class{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=E(Xa),this.taskId=null}scheduleEffect(t){if(this.enqueue(t),this.taskId===null){let n=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(n),this.taskId=null})}}enqueue(t){let n=t.creationZone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||(this.queuedEffectCount++,r.add(t))}flush(){for(;this.queuedEffectCount>0;)for(let[t,n]of this.queues)t===null?this.flushQueue(n):t.run(()=>this.flushQueue(n))}flushQueue(t){for(let n of t)t.delete(n),this.queuedEffectCount--,n.run()}},ca=class{constructor(t,n,r,o,i,s){this.scheduler=t,this.effectFn=n,this.creationZone=r,this.injector=i,this.watcher=Lu(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}runEffect(t){try{this.effectFn(t)}catch(n){this.injector.get(Ye,null,{optional:!0})?.handleError(n)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}};function WI(e,t){Ke("NgSignals"),!t?.injector&&Ul(WI);let n=t?.injector??E(Ft),r=t?.manualCleanup!==!0?n.get(qn):null,o=new ca(n.get(GI),e,typeof Zone>"u"?null:Zone.current,r,n,t?.allowSignalWrites??!1),i=n.get(au,null,{optional:!0});return!i||!(i._lView[D]&8)?o.watcher.notify():(i._lView[Vr]??=[]).push(o.watcher.notify),o}function CN(e,t){let n=Ge(e),r=t.elementInjector||Do();return new Nt(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector)}function bN(e){let t=Ge(e);if(!t)return null;let n=new Nt(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}var bp=null;function lu(){return bp}function zN(e){bp??=e}var mp=class{};var wu=new R(""),Iu=(()=>{let t=class t{historyGo(r){throw new Error("")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=j({token:t,factory:()=>E(YI),providedIn:"platform"});let e=t;return e})(),WN=new R(""),YI=(()=>{let t=class t extends Iu{constructor(){super(),this._doc=E(wu),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return lu().getBaseHref(this._doc)}onPopState(r){let o=lu().getGlobalEventTarget(this._doc,"window");return o.addEventListener("popstate",r,!1),()=>o.removeEventListener("popstate",r)}onHashChange(r){let o=lu().getGlobalEventTarget(this._doc,"window");return o.addEventListener("hashchange",r,!1),()=>o.removeEventListener("hashchange",r)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(r){this._location.pathname=r}pushState(r,o,i){this._history.pushState(r,o,i)}replaceState(r,o,i){this._history.replaceState(r,o,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(r=0){this._history.go(r)}getState(){return this._history.state}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=j({token:t,factory:()=>new t,providedIn:"platform"});let e=t;return e})();function Eu(e,t){if(e.length==0)return t;if(t.length==0)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,n==2?e+t.substring(1):n==1?e+t:e+"/"+t}function yp(e){let t=e.match(/#|\?|$/),n=t&&t.index||e.length,r=n-(e[n-1]==="/"?1:0);return e.slice(0,r)+e.slice(n)}function Xe(e){return e&&e[0]!=="?"?"?"+e:e}var Jo=(()=>{let t=class t{historyGo(r){throw new Error("")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=j({token:t,factory:()=>E(QI),providedIn:"root"});let e=t;return e})(),_p=new R(""),QI=(()=>{let t=class t extends Jo{constructor(r,o){super(),this._platformLocation=r,this._removeListenerFns=[],this._baseHref=o??this._platformLocation.getBaseHrefFromDOM()??E(wu).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(r){this._removeListenerFns.push(this._platformLocation.onPopState(r),this._platformLocation.onHashChange(r))}getBaseHref(){return this._baseHref}prepareExternalUrl(r){return Eu(this._baseHref,r)}path(r=!1){let o=this._platformLocation.pathname+Xe(this._platformLocation.search),i=this._platformLocation.hash;return i&&r?`${o}${i}`:o}pushState(r,o,i,s){let a=this.prepareExternalUrl(i+Xe(s));this._platformLocation.pushState(r,o,a)}replaceState(r,o,i,s){let a=this.prepareExternalUrl(i+Xe(s));this._platformLocation.replaceState(r,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(r=0){this._platformLocation.historyGo?.(r)}};t.\u0275fac=function(o){return new(o||t)(K(Iu),K(_p,8))},t.\u0275prov=j({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),qN=(()=>{let t=class t extends Jo{constructor(r,o){super(),this._platformLocation=r,this._baseHref="",this._removeListenerFns=[],o!=null&&(this._baseHref=o)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(r){this._removeListenerFns.push(this._platformLocation.onPopState(r),this._platformLocation.onHashChange(r))}getBaseHref(){return this._baseHref}path(r=!1){let o=this._platformLocation.hash??"#";return o.length>0?o.substring(1):o}prepareExternalUrl(r){let o=Eu(this._baseHref,r);return o.length>0?"#"+o:o}pushState(r,o,i,s){let a=this.prepareExternalUrl(i+Xe(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.pushState(r,o,a)}replaceState(r,o,i,s){let a=this.prepareExternalUrl(i+Xe(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(r,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(r=0){this._platformLocation.historyGo?.(r)}};t.\u0275fac=function(o){return new(o||t)(K(Iu),K(_p,8))},t.\u0275prov=j({token:t,factory:t.\u0275fac});let e=t;return e})(),ZI=(()=>{let t=class t{constructor(r){this._subject=new Et,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=r;let o=this._locationStrategy.getBaseHref();this._basePath=XI(yp(Dp(o))),this._locationStrategy.onPopState(i=>{this._subject.emit({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(r=!1){return this.normalize(this._locationStrategy.path(r))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(r,o=""){return this.path()==this.normalize(r+Xe(o))}normalize(r){return t.stripTrailingSlash(JI(this._basePath,Dp(r)))}prepareExternalUrl(r){return r&&r[0]!=="/"&&(r="/"+r),this._locationStrategy.prepareExternalUrl(r)}go(r,o="",i=null){this._locationStrategy.pushState(i,"",r,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+Xe(o)),i)}replaceState(r,o="",i=null){this._locationStrategy.replaceState(i,"",r,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+Xe(o)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(r=0){this._locationStrategy.historyGo?.(r)}onUrlChange(r){return this._urlChangeListeners.push(r),this._urlChangeSubscription??=this.subscribe(o=>{this._notifyUrlChangeListeners(o.url,o.state)}),()=>{let o=this._urlChangeListeners.indexOf(r);this._urlChangeListeners.splice(o,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(r="",o){this._urlChangeListeners.forEach(i=>i(r,o))}subscribe(r,o,i){return this._subject.subscribe({next:r,error:o,complete:i})}};t.normalizeQueryParams=Xe,t.joinWithSlash=Eu,t.stripTrailingSlash=yp,t.\u0275fac=function(o){return new(o||t)(K(Jo))},t.\u0275prov=j({token:t,factory:()=>KI(),providedIn:"root"});let e=t;return e})();function KI(){return new ZI(K(Jo))}function JI(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function Dp(e){return e.replace(/\/index.html$/,"")}function XI(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}var ne=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(ne||{}),k=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(k||{}),fe=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(fe||{}),ht={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function eE(e){return ye(e)[H.LocaleId]}function tE(e,t,n){let r=ye(e),o=[r[H.DayPeriodsFormat],r[H.DayPeriodsStandalone]],i=De(o,t);return De(i,n)}function nE(e,t,n){let r=ye(e),o=[r[H.DaysFormat],r[H.DaysStandalone]],i=De(o,t);return De(i,n)}function rE(e,t,n){let r=ye(e),o=[r[H.MonthsFormat],r[H.MonthsStandalone]],i=De(o,t);return De(i,n)}function oE(e,t){let r=ye(e)[H.Eras];return De(r,t)}function Uo(e,t){let n=ye(e);return De(n[H.DateFormat],t)}function Go(e,t){let n=ye(e);return De(n[H.TimeFormat],t)}function zo(e,t){let r=ye(e)[H.DateTimeFormat];return De(r,t)}function Xo(e,t){let n=ye(e),r=n[H.NumberSymbols][t];if(typeof r>"u"){if(t===ht.CurrencyDecimal)return n[H.NumberSymbols][ht.Decimal];if(t===ht.CurrencyGroup)return n[H.NumberSymbols][ht.Group]}return r}function Mp(e){if(!e[H.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[H.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function iE(e){let t=ye(e);return Mp(t),(t[H.ExtraData][2]||[]).map(r=>typeof r=="string"?du(r):[du(r[0]),du(r[1])])}function sE(e,t,n){let r=ye(e);Mp(r);let o=[r[H.ExtraData][0],r[H.ExtraData][1]],i=De(o,t)||[];return De(i,n)||[]}function De(e,t){for(let n=t;n>-1;n--)if(typeof e[n]<"u")return e[n];throw new Error("Locale data API: locale data undefined")}function du(e){let[t,n]=e.split(":");return{hours:+t,minutes:+n}}var aE=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Wo={},uE=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,et=function(e){return e[e.Short=0]="Short",e[e.ShortGMT=1]="ShortGMT",e[e.Long=2]="Long",e[e.Extended=3]="Extended",e}(et||{}),O=function(e){return e[e.FullYear=0]="FullYear",e[e.Month=1]="Month",e[e.Date=2]="Date",e[e.Hours=3]="Hours",e[e.Minutes=4]="Minutes",e[e.Seconds=5]="Seconds",e[e.FractionalSeconds=6]="FractionalSeconds",e[e.Day=7]="Day",e}(O||{}),A=function(e){return e[e.DayPeriods=0]="DayPeriods",e[e.Days=1]="Days",e[e.Months=2]="Months",e[e.Eras=3]="Eras",e}(A||{});function cE(e,t,n,r){let o=DE(e);t=Je(n,t)||t;let s=[],a;for(;t;)if(a=uE.exec(t),a){s=s.concat(a.slice(1));let l=s.pop();if(!l)break;t=l}else{s.push(t);break}let u=o.getTimezoneOffset();r&&(u=Sp(r,u),o=yE(o,r,!0));let c="";return s.forEach(l=>{let d=gE(l);c+=d?d(o,n,u):l==="''"?"'":l.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function Ko(e,t,n){let r=new Date(0);return r.setFullYear(e,t,n),r.setHours(0,0,0),r}function Je(e,t){let n=eE(e);if(Wo[n]??={},Wo[n][t])return Wo[n][t];let r="";switch(t){case"shortDate":r=Uo(e,fe.Short);break;case"mediumDate":r=Uo(e,fe.Medium);break;case"longDate":r=Uo(e,fe.Long);break;case"fullDate":r=Uo(e,fe.Full);break;case"shortTime":r=Go(e,fe.Short);break;case"mediumTime":r=Go(e,fe.Medium);break;case"longTime":r=Go(e,fe.Long);break;case"fullTime":r=Go(e,fe.Full);break;case"short":let o=Je(e,"shortTime"),i=Je(e,"shortDate");r=qo(zo(e,fe.Short),[o,i]);break;case"medium":let s=Je(e,"mediumTime"),a=Je(e,"mediumDate");r=qo(zo(e,fe.Medium),[s,a]);break;case"long":let u=Je(e,"longTime"),c=Je(e,"longDate");r=qo(zo(e,fe.Long),[u,c]);break;case"full":let l=Je(e,"fullTime"),d=Je(e,"fullDate");r=qo(zo(e,fe.Full),[l,d]);break}return r&&(Wo[n][t]=r),r}function qo(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(n,r){return t!=null&&r in t?t[r]:n})),e}function Te(e,t,n="-",r,o){let i="";(e<0||o&&e<=0)&&(o?e=-e+1:(e=-e,i=n));let s=String(e);for(;s.length0||a>-n)&&(a+=n),e===O.Hours)a===0&&n===-12&&(a=12);else if(e===O.FractionalSeconds)return lE(a,t);let u=Xo(s,ht.MinusSign);return Te(a,t,u,r,o)}}function dE(e,t){switch(e){case O.FullYear:return t.getFullYear();case O.Month:return t.getMonth();case O.Date:return t.getDate();case O.Hours:return t.getHours();case O.Minutes:return t.getMinutes();case O.Seconds:return t.getSeconds();case O.FractionalSeconds:return t.getMilliseconds();case O.Day:return t.getDay();default:throw new Error(`Unknown DateType value "${e}".`)}}function L(e,t,n=ne.Format,r=!1){return function(o,i){return fE(o,i,e,t,n,r)}}function fE(e,t,n,r,o,i){switch(n){case A.Months:return rE(t,o,r)[e.getMonth()];case A.Days:return nE(t,o,r)[e.getDay()];case A.DayPeriods:let s=e.getHours(),a=e.getMinutes();if(i){let c=iE(t),l=sE(t,o,r),d=c.findIndex(p=>{if(Array.isArray(p)){let[f,h]=p,g=s>=f.hours&&a>=f.minutes,N=s0?Math.floor(o/60):Math.ceil(o/60);switch(e){case et.Short:return(o>=0?"+":"")+Te(s,2,i)+Te(Math.abs(o%60),2,i);case et.ShortGMT:return"GMT"+(o>=0?"+":"")+Te(s,1,i);case et.Long:return"GMT"+(o>=0?"+":"")+Te(s,2,i)+":"+Te(Math.abs(o%60),2,i);case et.Extended:return r===0?"Z":(o>=0?"+":"")+Te(s,2,i)+":"+Te(Math.abs(o%60),2,i);default:throw new Error(`Unknown zone width "${e}"`)}}}var pE=0,Zo=4;function hE(e){let t=Ko(e,pE,1).getDay();return Ko(e,0,1+(t<=Zo?Zo:Zo+7)-t)}function xp(e){let t=e.getDay(),n=t===0?-3:Zo-t;return Ko(e.getFullYear(),e.getMonth(),e.getDate()+n)}function fu(e,t=!1){return function(n,r){let o;if(t){let i=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,s=n.getDate();o=1+Math.floor((s+i)/7)}else{let i=xp(n),s=hE(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return Te(o,e,Xo(r,ht.MinusSign))}}function Qo(e,t=!1){return function(n,r){let i=xp(n).getFullYear();return Te(i,e,Xo(r,ht.MinusSign),t)}}var pu={};function gE(e){if(pu[e])return pu[e];let t;switch(e){case"G":case"GG":case"GGG":t=L(A.Eras,k.Abbreviated);break;case"GGGG":t=L(A.Eras,k.Wide);break;case"GGGGG":t=L(A.Eras,k.Narrow);break;case"y":t=U(O.FullYear,1,0,!1,!0);break;case"yy":t=U(O.FullYear,2,0,!0,!0);break;case"yyy":t=U(O.FullYear,3,0,!1,!0);break;case"yyyy":t=U(O.FullYear,4,0,!1,!0);break;case"Y":t=Qo(1);break;case"YY":t=Qo(2,!0);break;case"YYY":t=Qo(3);break;case"YYYY":t=Qo(4);break;case"M":case"L":t=U(O.Month,1,1);break;case"MM":case"LL":t=U(O.Month,2,1);break;case"MMM":t=L(A.Months,k.Abbreviated);break;case"MMMM":t=L(A.Months,k.Wide);break;case"MMMMM":t=L(A.Months,k.Narrow);break;case"LLL":t=L(A.Months,k.Abbreviated,ne.Standalone);break;case"LLLL":t=L(A.Months,k.Wide,ne.Standalone);break;case"LLLLL":t=L(A.Months,k.Narrow,ne.Standalone);break;case"w":t=fu(1);break;case"ww":t=fu(2);break;case"W":t=fu(1,!0);break;case"d":t=U(O.Date,1);break;case"dd":t=U(O.Date,2);break;case"c":case"cc":t=U(O.Day,1);break;case"ccc":t=L(A.Days,k.Abbreviated,ne.Standalone);break;case"cccc":t=L(A.Days,k.Wide,ne.Standalone);break;case"ccccc":t=L(A.Days,k.Narrow,ne.Standalone);break;case"cccccc":t=L(A.Days,k.Short,ne.Standalone);break;case"E":case"EE":case"EEE":t=L(A.Days,k.Abbreviated);break;case"EEEE":t=L(A.Days,k.Wide);break;case"EEEEE":t=L(A.Days,k.Narrow);break;case"EEEEEE":t=L(A.Days,k.Short);break;case"a":case"aa":case"aaa":t=L(A.DayPeriods,k.Abbreviated);break;case"aaaa":t=L(A.DayPeriods,k.Wide);break;case"aaaaa":t=L(A.DayPeriods,k.Narrow);break;case"b":case"bb":case"bbb":t=L(A.DayPeriods,k.Abbreviated,ne.Standalone,!0);break;case"bbbb":t=L(A.DayPeriods,k.Wide,ne.Standalone,!0);break;case"bbbbb":t=L(A.DayPeriods,k.Narrow,ne.Standalone,!0);break;case"B":case"BB":case"BBB":t=L(A.DayPeriods,k.Abbreviated,ne.Format,!0);break;case"BBBB":t=L(A.DayPeriods,k.Wide,ne.Format,!0);break;case"BBBBB":t=L(A.DayPeriods,k.Narrow,ne.Format,!0);break;case"h":t=U(O.Hours,1,-12);break;case"hh":t=U(O.Hours,2,-12);break;case"H":t=U(O.Hours,1);break;case"HH":t=U(O.Hours,2);break;case"m":t=U(O.Minutes,1);break;case"mm":t=U(O.Minutes,2);break;case"s":t=U(O.Seconds,1);break;case"ss":t=U(O.Seconds,2);break;case"S":t=U(O.FractionalSeconds,1);break;case"SS":t=U(O.FractionalSeconds,2);break;case"SSS":t=U(O.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=Yo(et.Short);break;case"ZZZZZ":t=Yo(et.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=Yo(et.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=Yo(et.Long);break;default:return null}return pu[e]=t,t}function Sp(e,t){e=e.replace(/:/g,"");let n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function mE(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function yE(e,t,n){let r=n?-1:1,o=e.getTimezoneOffset(),i=Sp(t,o);return mE(e,r*(i-o))}function DE(e){if(vp(e))return e;if(typeof e=="number"&&!isNaN(e))return new Date(e);if(typeof e=="string"){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){let[o,i=1,s=1]=e.split("-").map(a=>+a);return Ko(o,i-1,s)}let n=parseFloat(e);if(!isNaN(e-n))return new Date(n);let r;if(r=e.match(aE))return vE(r)}let t=new Date(e);if(!vp(t))throw new Error(`Unable to convert "${e}" into a date`);return t}function vE(e){let t=new Date(0),n=0,r=0,o=e[8]?t.setUTCFullYear:t.setFullYear,i=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),r=Number(e[9]+e[11])),o.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));let s=Number(e[4]||0)-n,a=Number(e[5]||0)-r,u=Number(e[6]||0),c=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return i.call(t,s,a,u,c),t}function vp(e){return e instanceof Date&&!isNaN(e.valueOf())}function YN(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var hu=/\s+/,wp=[],QN=(()=>{let t=class t{constructor(r,o){this._ngEl=r,this._renderer=o,this.initialClasses=wp,this.stateMap=new Map}set klass(r){this.initialClasses=r!=null?r.trim().split(hu):wp}set ngClass(r){this.rawClass=typeof r=="string"?r.trim().split(hu):r}ngDoCheck(){for(let o of this.initialClasses)this._updateState(o,!0);let r=this.rawClass;if(Array.isArray(r)||r instanceof Set)for(let o of r)this._updateState(o,!0);else if(r!=null)for(let o of Object.keys(r))this._updateState(o,!!r[o]);this._applyStateDiff()}_updateState(r,o){let i=this.stateMap.get(r);i!==void 0?(i.enabled!==o&&(i.changed=!0,i.enabled=o),i.touched=!0):this.stateMap.set(r,{enabled:o,changed:!0,touched:!0})}_applyStateDiff(){for(let r of this.stateMap){let o=r[0],i=r[1];i.changed?(this._toggleClass(o,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(o,!1),this.stateMap.delete(o)),i.touched=!1}}_toggleClass(r,o){r=r.trim(),r.length>0&&r.split(hu).forEach(i=>{o?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}};t.\u0275fac=function(o){return new(o||t)($(ft),$(Bo))},t.\u0275dir=ut({type:t,selectors:[["","ngClass",""]],inputs:{klass:[rt.None,"class","klass"],ngClass:"ngClass"},standalone:!0});let e=t;return e})();var gu=class{constructor(t,n,r,o){this.$implicit=t,this.ngForOf=n,this.index=r,this.count=o}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},ZN=(()=>{let t=class t{set ngForOf(r){this._ngForOf=r,this._ngForOfDirty=!0}set ngForTrackBy(r){this._trackByFn=r}get ngForTrackBy(){return this._trackByFn}constructor(r,o,i){this._viewContainer=r,this._template=o,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(r){r&&(this._template=r)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let r=this._ngForOf;if(!this._differ&&r)if(0)try{}catch{}else this._differ=this._differs.find(r).create(this.ngForTrackBy)}if(this._differ){let r=this._differ.diff(this._ngForOf);r&&this._applyChanges(r)}}_applyChanges(r){let o=this._viewContainer;r.forEachOperation((i,s,a)=>{if(i.previousIndex==null)o.createEmbeddedView(this._template,new gu(i.item,this._ngForOf,-1,-1),a===null?void 0:a);else if(a==null)o.remove(s===null?void 0:s);else if(s!==null){let u=o.get(s);o.move(u,a),Ip(u,i)}});for(let i=0,s=o.length;i{let s=o.get(i.currentIndex);Ip(s,i)})}static ngTemplateContextGuard(r,o){return!0}};t.\u0275fac=function(o){return new(o||t)($(pt),$(st),$(uu))},t.\u0275dir=ut({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});let e=t;return e})();function Ip(e,t){e.context.$implicit=t.item}var KN=(()=>{let t=class t{constructor(r,o){this._viewContainer=r,this._context=new mu,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=o}set ngIf(r){this._context.$implicit=this._context.ngIf=r,this._updateView()}set ngIfThen(r){Ep("ngIfThen",r),this._thenTemplateRef=r,this._thenViewRef=null,this._updateView()}set ngIfElse(r){Ep("ngIfElse",r),this._elseTemplateRef=r,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(r,o){return!0}};t.\u0275fac=function(o){return new(o||t)($(pt),$(st))},t.\u0275dir=ut({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let e=t;return e})(),mu=class{constructor(){this.$implicit=null,this.ngIf=null}};function Ep(e,t){if(!!!(!t||t.createEmbeddedView))throw new Error(`${e} must be a TemplateRef, but received '${te(t)}'.`)}var wE=!0,yu=class{constructor(t,n){this._viewContainerRef=t,this._templateRef=n,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}},IE=(()=>{let t=class t{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(r){this._ngSwitch=r,this._caseCount===0&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(r){this._defaultViews.push(r)}_matchCase(r){let o=wE?r===this._ngSwitch:r==this._ngSwitch;return this._lastCasesMatched||=o,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),o}_updateDefaultCases(r){if(this._defaultViews.length>0&&r!==this._defaultUsed){this._defaultUsed=r;for(let o of this._defaultViews)o.enforceState(r)}}};t.\u0275fac=function(o){return new(o||t)},t.\u0275dir=ut({type:t,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0});let e=t;return e})(),JN=(()=>{let t=class t{constructor(r,o,i){this.ngSwitch=i,i._addCase(),this._view=new yu(r,o)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}};t.\u0275fac=function(o){return new(o||t)($(pt),$(st),$(IE,9))},t.\u0275dir=ut({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0});let e=t;return e})();var XN=(()=>{let t=class t{constructor(r,o,i){this._ngEl=r,this._differs=o,this._renderer=i,this._ngStyle=null,this._differ=null}set ngStyle(r){this._ngStyle=r,!this._differ&&r&&(this._differ=this._differs.find(r).create())}ngDoCheck(){if(this._differ){let r=this._differ.diff(this._ngStyle);r&&this._applyChanges(r)}}_setStyle(r,o){let[i,s]=r.split("."),a=i.indexOf("-")===-1?void 0:kn.DashCase;o!=null?this._renderer.setStyle(this._ngEl.nativeElement,i,s?`${o}${s}`:o,a):this._renderer.removeStyle(this._ngEl.nativeElement,i,a)}_applyChanges(r){r.forEachRemovedItem(o=>this._setStyle(o.key,null)),r.forEachAddedItem(o=>this._setStyle(o.key,o.currentValue)),r.forEachChangedItem(o=>this._setStyle(o.key,o.currentValue))}};t.\u0275fac=function(o){return new(o||t)($(ft),$(cu),$(Bo))},t.\u0275dir=ut({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0});let e=t;return e})(),eA=(()=>{let t=class t{constructor(r){this._viewContainerRef=r,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(r){if(this._shouldRecreateView(r)){let o=this._viewContainerRef;if(this._viewRef&&o.remove(o.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let i=this._createContextForwardProxy();this._viewRef=o.createEmbeddedView(this.ngTemplateOutlet,i,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(r){return!!r.ngTemplateOutlet||!!r.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(r,o,i)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,o,i):!1,get:(r,o,i)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,o,i)}})}};t.\u0275fac=function(o){return new(o||t)($(pt))},t.\u0275dir=ut({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[ya]});let e=t;return e})();function EE(e,t){return new b(2100,!1)}var CE="mediumDate",bE=new R(""),_E=new R(""),tA=(()=>{let t=class t{constructor(r,o,i){this.locale=r,this.defaultTimezone=o,this.defaultOptions=i}transform(r,o,i,s){if(r==null||r===""||r!==r)return null;try{let a=o??this.defaultOptions?.dateFormat??CE,u=i??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return cE(r,a,s||this.locale,u)}catch(a){throw EE(t,a.message)}}};t.\u0275fac=function(o){return new(o||t)($(Ho,16),$(bE,24),$(_E,24))},t.\u0275pipe=Nl({name:"date",type:t,pure:!0,standalone:!0});let e=t;return e})();var nA=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275mod=Tl({type:t}),t.\u0275inj=pl({});let e=t;return e})(),ME="browser",xE="server";function SE(e){return e===ME}function rA(e){return e===xE}var oA=(()=>{let t=class t{};t.\u0275prov=j({token:t,providedIn:"root",factory:()=>SE(E(Co))?new Du(E(wu),window):new vu});let e=t;return e})(),Du=class{constructor(t,n){this.document=t,this.window=n,this.offset=()=>[0,0]}setOffset(t){Array.isArray(t)?this.offset=()=>t:this.offset=t}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(t){this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){let n=TE(this.document,t);n&&(this.scrollToElement(n),n.focus())}setHistoryScrollRestoration(t){this.window.history.scrollRestoration=t}scrollToElement(t){let n=t.getBoundingClientRect(),r=n.left+this.window.pageXOffset,o=n.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(r-i[0],o-i[1])}};function TE(e,t){let n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if(typeof e.createTreeWalker=="function"&&e.body&&typeof e.body.attachShadow=="function"){let r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT),o=r.currentNode;for(;o;){let i=o.shadowRoot;if(i){let s=i.getElementById(t)||i.querySelector(`[name="${t}"]`);if(s)return s}o=r.nextNode()}}return null}var vu=class{setOffset(t){}getScrollPosition(){return[0,0]}scrollToPosition(t){}scrollToAnchor(t){}setHistoryScrollRestoration(t){}},Cp=class{};var Ne=function(e){return e[e.State=0]="State",e[e.Transition=1]="Transition",e[e.Sequence=2]="Sequence",e[e.Group=3]="Group",e[e.Animate=4]="Animate",e[e.Keyframes=5]="Keyframes",e[e.Style=6]="Style",e[e.Trigger=7]="Trigger",e[e.Reference=8]="Reference",e[e.AnimateChild=9]="AnimateChild",e[e.AnimateRef=10]="AnimateRef",e[e.Query=11]="Query",e[e.Stagger=12]="Stagger",e}(Ne||{}),aA="*";function uA(e,t){return{type:Ne.Trigger,name:e,definitions:t,options:{}}}function cA(e,t=null){return{type:Ne.Animate,styles:t,timings:e}}function lA(e,t=null){return{type:Ne.Group,steps:e,options:t}}function dA(e,t=null){return{type:Ne.Sequence,steps:e,options:t}}function fA(e){return{type:Ne.Style,styles:e,offset:null}}function pA(e,t,n){return{type:Ne.State,name:e,styles:t,options:n}}function hA(e){return{type:Ne.Keyframes,steps:e}}function gA(e,t,n=null){return{type:Ne.Transition,expr:e,animation:t,options:n}}function mA(e=null){return{type:Ne.AnimateChild,options:e}}function yA(e,t,n=null){return{type:Ne.Query,selector:e,animation:t,options:n}}var Tp=class{constructor(t=0,n=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+n}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){let n=t=="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},Np=class{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let n=0,r=0,o=0,i=this.players.length;i==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++n==i&&this._onFinish()}),s.onDestroy(()=>{++r==i&&this._onDestroy()}),s.onStart(()=>{++o==i&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){let n=t*this.totalTime;this.players.forEach(r=>{let o=r.totalTime?Math.min(1,n/r.totalTime):1;r.setPosition(o)})}getPosition(){let t=this.players.reduce((n,r)=>n===null||r.totalTime>n.totalTime?r:n,null);return t!=null?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){let n=t=="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},DA="!";export{je as a,Ve as b,NE as c,AE as d,OE as e,FE as f,RE as g,Bp as h,G as i,Kp as j,M as k,yi as l,Di as m,he as n,yn as o,vn as p,Be as q,yb as r,Oe as s,ah as t,uh as u,ch as v,$e as w,lh as x,He as y,Dh as z,Ce as A,In as B,Sr as C,wh as D,Ih as E,wi as F,En as G,Sh as H,wt as I,Nh as J,Ah as K,dc as L,Oh as M,Fh as N,Cn as O,Ii as P,Rh as Q,Ph as R,jh as S,Ei as T,Ci as U,Vh as V,Bh as W,$h as X,_i as Y,Hh as Z,Uh as _,Gh as $,zh as aa,Wh as ba,qh as ca,Yh as da,Qh as ea,b as fa,dl as ga,j as ha,pl as ia,vT as ja,R as ka,x as la,K as ma,E as na,wl as oa,Il as pa,Sn as qa,rt as ra,wT as sa,Tl as ta,ut as ua,Nl as va,kl as wa,Bl as xa,ot as ya,Zg as za,Ul as Aa,ya as Ba,IT as Ca,ET as Da,CT as Ea,bT as Fa,_T as Ga,Vm as Ha,Ft as Ia,Ye as Ja,qn as Ka,ft as La,Et as Ma,as as Na,MT as Oa,Jm as Pa,ey as Qa,Co as Ra,xT as Sa,ST as Ta,Ta as Ua,Rt as Va,Fa as Wa,TT as Xa,NT as Ya,AT as Za,OT as _a,FT as $a,jd as ab,Ry as bb,xo as cb,RT as db,ky as eb,PT as fb,kT as gb,LT as hb,kn as ib,jT as jb,$ as kb,VT as lb,st as mb,io as nb,Vo as ob,_s as pb,Bo as qb,Ke as rb,me as sb,vv as tb,pt as ub,zv as vb,HT as wb,UT as xb,Yv as yb,ew as zb,ks as Ab,tw as Bb,Xa as Cb,Bs as Db,uw as Eb,Iw as Fb,Gf as Gb,Ew as Hb,GT as Ib,zT as Jb,WT as Kb,qT as Lb,YT as Mb,QT as Nb,ZT as Ob,Jf as Pb,Xf as Qb,kw as Rb,tp as Sb,np as Tb,Bw as Ub,KT as Vb,Uw as Wb,Gw as Xb,Xw as Yb,eI as Zb,JT as _b,XT as $b,eN as ac,rI as bc,tN as cc,nN as dc,rN as ec,oN as fc,iN as gc,sN as hc,aI as ic,ap as jc,uI as kc,aN as lc,cI as mc,uN as nc,cN as oc,lN as pc,dN as qc,fN as rc,pN as sc,hN as tc,gN as uc,mN as vc,yN as wc,DN as xc,iu as yc,DI as zc,hp as Ac,su as Bc,EI as Cc,vN as Dc,Ho as Ec,au as Fc,wN as Gc,IN as Hc,HI as Ic,UI as Jc,EN as Kc,WI as Lc,CN as Mc,bN as Nc,lu as Oc,zN as Pc,mp as Qc,wu as Rc,WN as Sc,Jo as Tc,_p as Uc,QI as Vc,qN as Wc,ZI as Xc,YN as Yc,QN as Zc,ZN as _c,KN as $c,IE as ad,JN as bd,XN as cd,eA as dd,tA as ed,nA as fd,ME as gd,SE as hd,rA as id,oA as jd,Cp as kd,Ne as ld,aA as md,uA as nd,cA as od,lA as pd,dA as qd,fA as rd,pA as sd,hA as td,gA as ud,mA as vd,yA as wd,Tp as xd,Np as yd,DA as zd};
diff --git a/DigitalData.UserManager.API/wwwroot/chunk-C2X3ULK4.js b/DigitalData.UserManager.API/wwwroot/chunk-C2X3ULK4.js
deleted file mode 100644
index a376693..0000000
--- a/DigitalData.UserManager.API/wwwroot/chunk-C2X3ULK4.js
+++ /dev/null
@@ -1,7 +0,0 @@
-var bp=Object.create;var Jo=Object.defineProperty,_p=Object.defineProperties,Mp=Object.getOwnPropertyDescriptor,xp=Object.getOwnPropertyDescriptors,Sp=Object.getOwnPropertyNames,Qn=Object.getOwnPropertySymbols,Tp=Object.getPrototypeOf,Xo=Object.prototype.hasOwnProperty,gu=Object.prototype.propertyIsEnumerable;var Ko=(e,t,n)=>t in e?Jo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ze=(e,t)=>{for(var n in t||={})Xo.call(t,n)&&Ko(e,n,t[n]);if(Qn)for(var n of Qn(t))gu.call(t,n)&&Ko(e,n,t[n]);return e},Ke=(e,t)=>_p(e,xp(t));var wE=(e,t)=>{var n={};for(var r in e)Xo.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Qn)for(var r of Qn(e))t.indexOf(r)<0&&gu.call(e,r)&&(n[r]=e[r]);return n};var IE=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Np=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Sp(t))!Xo.call(e,o)&&o!==n&&Jo(e,o,{get:()=>t[o],enumerable:!(r=Mp(t,o))||r.enumerable});return e};var EE=(e,t,n)=>(n=e!=null?bp(Tp(e)):{},Np(t||!e||!e.__esModule?Jo(n,"default",{value:e,enumerable:!0}):n,e));var CE=(e,t,n)=>(Ko(e,typeof t!="symbol"?t+"":t,n),n);var Ap=(e,t,n)=>new Promise((r,o)=>{var i=u=>{try{a(n.next(u))}catch(c){o(c)}},s=u=>{try{a(n.throw(u))}catch(c){o(c)}},a=u=>u.done?r(u.value):Promise.resolve(u.value).then(i,s);a((n=n.apply(e,t)).next())});function Op(e,t){return Object.is(e,t)}var W=null,dn=!1,Zn=1,ke=Symbol("SIGNAL");function _(e){let t=W;return W=e,t}function Fp(){return dn}var Kn={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function ti(e){if(dn)throw new Error("");if(W===null)return;W.consumerOnSignalRead(e);let t=W.nextProducerIndex++;if(Lt(W),te.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Jn(e){Lt(e);for(let t=0;t0}function Lt(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function wu(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function kp(){throw new Error}var Iu=kp;function Eu(){Iu()}function Cu(e){Iu=e}var Lp=null;function bu(e){let t=Object.create(ii);t.value=e;let n=()=>(ti(t),t.value);return n[ke]=t,n}function pn(e,t){yu()||Eu(),e.equal(e.value,t)||(e.value=t,jp(e))}function _u(e,t){yu()||Eu(),pn(e,t(e.value))}var ii=Ke(Ze({},Kn),{equal:Op,value:void 0});function jp(e){e.version++,Rp(),mu(e),Lp?.()}function Mu(e,t,n){let r=Object.create(Vp);n&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;let o=u=>{r.cleanupFn=u};function i(u){return u.fn===null&&u.schedule===null}function s(u){i(u)||(oi(u),u.cleanupFn(),u.fn=null,u.schedule=null,u.cleanupFn=ei)}let a=()=>{if(r.fn===null)return;if(Fp())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(r.dirty=!1,r.hasRun&&!Jn(r))return;r.hasRun=!0;let u=ni(r);try{r.cleanupFn(),r.cleanupFn=ei,r.fn(o)}finally{ri(r,u)}};return r.ref={notify:()=>Du(r),run:a,cleanup:()=>r.cleanupFn(),destroy:()=>s(r),[ke]:r},r.ref}var ei=()=>{},Vp=Ke(Ze({},Kn),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule!==null&&e.schedule(e.ref)},hasRun:!1,cleanupFn:ei});function m(e){return typeof e=="function"}function jt(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var er=jt(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
-${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
- `)}`:"",this.name="UnsubscriptionError",this.errors=n});function pt(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var G=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(m(r))try{r()}catch(i){t=i instanceof er?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{xu(i)}catch(s){t=t??[],s instanceof er?t=[...t,...s.errors]:t.push(s)}}if(t)throw new er(t)}}add(t){var n;if(t&&t!==this)if(this.closed)xu(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&pt(n,t)}remove(t){let{_finalizers:n}=this;n&&pt(n,t),t instanceof e&&t._removeParent(this)}};G.EMPTY=(()=>{let e=new G;return e.closed=!0,e})();var si=G.EMPTY;function tr(e){return e instanceof G||e&&"closed"in e&&m(e.remove)&&m(e.add)&&m(e.unsubscribe)}function xu(e){m(e)?e():e.unsubscribe()}var we={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Vt={setTimeout(e,t,...n){let{delegate:r}=Vt;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Vt;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function nr(e){Vt.setTimeout(()=>{let{onUnhandledError:t}=we;if(t)t(e);else throw e})}function hn(){}var Su=ai("C",void 0,void 0);function Tu(e){return ai("E",void 0,e)}function Nu(e){return ai("N",e,void 0)}function ai(e,t,n){return{kind:e,value:t,error:n}}var ht=null;function Bt(e){if(we.useDeprecatedSynchronousErrorHandling){let t=!ht;if(t&&(ht={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=ht;if(ht=null,n)throw r}}else e()}function Au(e){we.useDeprecatedSynchronousErrorHandling&&ht&&(ht.errorThrown=!0,ht.error=e)}var gt=class extends G{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,tr(t)&&t.add(this)):this.destination=Hp}static create(t,n,r){return new Ie(t,n,r)}next(t){this.isStopped?ci(Nu(t),this):this._next(t)}error(t){this.isStopped?ci(Tu(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?ci(Su,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},Bp=Function.prototype.bind;function ui(e,t){return Bp.call(e,t)}var li=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){rr(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){rr(r)}else rr(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){rr(n)}}},Ie=class extends gt{constructor(t,n,r){super();let o;if(m(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&we.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&ui(t.next,i),error:t.error&&ui(t.error,i),complete:t.complete&&ui(t.complete,i)}):o=t}this.destination=new li(o)}};function rr(e){we.useDeprecatedSynchronousErrorHandling?Au(e):nr(e)}function $p(e){throw e}function ci(e,t){let{onStoppedNotification:n}=we;n&&Vt.setTimeout(()=>n(e,t))}var Hp={closed:!0,next:hn,error:$p,complete:hn};var $t=typeof Symbol=="function"&&Symbol.observable||"@@observable";function J(e){return e}function Up(...e){return di(e)}function di(e){return e.length===0?J:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var M=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=zp(n)?n:new Ie(n,r,o);return Bt(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=Ou(r),new r((o,i)=>{let s=new Ie({next:a=>{try{n(a)}catch(u){i(u),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[$t](){return this}pipe(...n){return di(n)(this)}toPromise(n){return n=Ou(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function Ou(e){var t;return(t=e??we.Promise)!==null&&t!==void 0?t:Promise}function Gp(e){return e&&m(e.next)&&m(e.error)&&m(e.complete)}function zp(e){return e&&e instanceof gt||Gp(e)&&tr(e)}function fi(e){return m(e?.lift)}function I(e){return t=>{if(fi(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function y(e,t,n,r,o){return new pi(e,t,n,r,o)}var pi=class extends gt{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(u){t.error(u)}}:super._next,this._error=o?function(a){try{o(a)}catch(u){t.error(u)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function hi(){return I((e,t)=>{let n=null;e._refCount++;let r=y(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}var gi=class extends M{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,fi(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){let t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new G;let n=this.getSubject();t.add(this.source.subscribe(y(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=G.EMPTY)}return t}refCount(){return hi()(this)}};var Fu=jt(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var pe=(()=>{class e extends M{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new or(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Fu}next(n){Bt(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){Bt(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){Bt(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:o,observers:i}=this;return r||o?si:(this.currentObservers=null,i.push(n),new G(()=>{this.currentObservers=null,pt(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new M;return n.source=this,n}}return e.create=(t,n)=>new or(t,n),e})(),or=class extends pe{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:si}};var gn=class extends pe{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};var mn={now(){return(mn.delegate||Date).now()},delegate:void 0};var yn=class extends pe{constructor(t=1/0,n=1/0,r=mn){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;se.complete());function ur(e){return e&&m(e.schedule)}function mi(e){return e[e.length-1]}function Ut(e){return m(mi(e))?e.pop():void 0}function Te(e){return ur(mi(e))?e.pop():void 0}function Pu(e,t){return typeof mi(e)=="number"?e.pop():t}function sb(e,t,n,r){var o=arguments.length,i=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(i=(o<3?s(i):o>3?s(t,n,i):s(t,n))||i);return o>3&&i&&Object.defineProperty(t,n,i),i}function Lu(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(l){try{c(r.next(l))}catch(d){s(d)}}function u(l){try{c(r.throw(l))}catch(d){s(d)}}function c(l){l.done?i(l.value):o(l.value).then(a,u)}c((r=r.apply(e,t||[])).next())})}function ku(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function yt(e){return this instanceof yt?(this.v=e,this):new yt(e)}function ju(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o={},a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(h){return Promise.resolve(h).then(f,d)}}function a(f,h){r[f]&&(o[f]=function(g){return new Promise(function(N,S){i.push([f,g,N,S])>1||u(f,g)})},h&&(o[f]=h(o[f])))}function u(f,h){try{c(r[f](h))}catch(g){p(i[0][3],g)}}function c(f){f.value instanceof yt?Promise.resolve(f.value.v).then(l,d):p(i[0][2],f)}function l(f){u("next",f)}function d(f){u("throw",f)}function p(f,h){f(h),i.shift(),i.length&&u(i[0][0],i[0][1])}}function Vu(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof ku=="function"?ku(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,u){s=e[i](s),o(a,u,s.done,s.value)})}}function o(i,s,a,u){Promise.resolve(u).then(function(c){i({value:c,done:a})},s)}}var Gt=e=>e&&typeof e.length=="number"&&typeof e!="function";function cr(e){return m(e?.then)}function lr(e){return m(e[$t])}function dr(e){return Symbol.asyncIterator&&m(e?.[Symbol.asyncIterator])}function fr(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function Wp(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var pr=Wp();function hr(e){return m(e?.[pr])}function gr(e){return ju(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield yt(n.read());if(o)return yield yt(void 0);yield yield yt(r)}}finally{n.releaseLock()}})}function mr(e){return m(e?.getReader)}function T(e){if(e instanceof M)return e;if(e!=null){if(lr(e))return qp(e);if(Gt(e))return Yp(e);if(cr(e))return Qp(e);if(dr(e))return Bu(e);if(hr(e))return Zp(e);if(mr(e))return Kp(e)}throw fr(e)}function qp(e){return new M(t=>{let n=e[$t]();if(m(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Yp(e){return new M(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,nr)})}function Zp(e){return new M(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Bu(e){return new M(t=>{Jp(e,t).catch(n=>t.error(n))})}function Kp(e){return Bu(gr(e))}function Jp(e,t){var n,r,o,i;return Lu(this,void 0,void 0,function*(){try{for(n=Vu(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function oe(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function yr(e,t=0){return I((n,r)=>{n.subscribe(y(r,o=>oe(r,e,()=>r.next(o),t),()=>oe(r,e,()=>r.complete(),t),o=>oe(r,e,()=>r.error(o),t)))})}function Dr(e,t=0){return I((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function $u(e,t){return T(e).pipe(Dr(t),yr(t))}function Hu(e,t){return T(e).pipe(Dr(t),yr(t))}function Uu(e,t){return new M(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function Gu(e,t){return new M(n=>{let r;return oe(n,t,()=>{r=e[pr](),oe(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>m(r?.return)&&r.return()})}function vr(e,t){if(!e)throw new Error("Iterable cannot be null");return new M(n=>{oe(n,t,()=>{let r=e[Symbol.asyncIterator]();oe(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function zu(e,t){return vr(gr(e),t)}function Wu(e,t){if(e!=null){if(lr(e))return $u(e,t);if(Gt(e))return Uu(e,t);if(cr(e))return Hu(e,t);if(dr(e))return vr(e,t);if(hr(e))return Gu(e,t);if(mr(e))return zu(e,t)}throw fr(e)}function Ne(e,t){return t?Wu(e,t):T(e)}function Xp(...e){let t=Te(e);return Ne(e,t)}function eh(e,t){let n=m(e)?e:()=>e,r=o=>o.error(n());return new M(t?o=>t.schedule(r,0,o):r)}function th(e){return!!e&&(e instanceof M||m(e.lift)&&m(e.subscribe))}var je=jt(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function nh(e,t){let n=typeof t=="object";return new Promise((r,o)=>{let i=new Ie({next:s=>{r(s),i.unsubscribe()},error:o,complete:()=>{n?r(t.defaultValue):o(new je)}});e.subscribe(i)})}function qu(e){return e instanceof Date&&!isNaN(e)}function Ve(e,t){return I((n,r)=>{let o=0;n.subscribe(y(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:rh}=Array;function oh(e,t){return rh(t)?e(...t):e(t)}function zt(e){return Ve(t=>oh(e,t))}var{isArray:ih}=Array,{getPrototypeOf:sh,prototype:ah,keys:uh}=Object;function wr(e){if(e.length===1){let t=e[0];if(ih(t))return{args:t,keys:null};if(ch(t)){let n=uh(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function ch(e){return e&&typeof e=="object"&&sh(e)===ah}function Ir(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function lh(...e){let t=Te(e),n=Ut(e),{args:r,keys:o}=wr(e);if(r.length===0)return Ne([],t);let i=new M(dh(r,t,o?s=>Ir(o,s):J));return n?i.pipe(zt(n)):i}function dh(e,t,n=J){return r=>{Yu(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let u=0;u{let c=Ne(e[u],t),l=!1;c.subscribe(y(r,d=>{i[u]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Yu(e,t,n){e?oe(n,e,t):t()}function Qu(e,t,n,r,o,i,s,a){let u=[],c=0,l=0,d=!1,p=()=>{d&&!u.length&&!c&&t.complete()},f=g=>c{i&&t.next(g),c++;let N=!1;T(n(g,l++)).subscribe(y(t,S=>{o?.(S),i?f(S):t.next(S)},()=>{N=!0},void 0,()=>{if(N)try{for(c--;u.length&&ch(S)):h(S)}p()}catch(S){t.error(S)}}))};return e.subscribe(y(t,f,()=>{d=!0,p()})),()=>{a?.()}}function Ee(e,t,n=1/0){return m(t)?Ee((r,o)=>Ve((i,s)=>t(r,i,o,s))(T(e(r,o))),n):(typeof t=="number"&&(n=t),I((r,o)=>Qu(r,o,e,n)))}function vn(e=1/0){return Ee(J,e)}function Zu(){return vn(1)}function Er(...e){return Zu()(Ne(e,Te(e)))}function fh(e){return new M(t=>{T(e()).subscribe(t)})}function ph(...e){let t=Ut(e),{args:n,keys:r}=wr(e),o=new M(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),u=s,c=s;for(let l=0;l{d||(d=!0,c--),a[l]=p},()=>u--,void 0,()=>{(!u||!d)&&(c||i.next(r?Ir(r,a):a),i.complete())}))}});return t?o.pipe(zt(t)):o}var hh=["addListener","removeListener"],gh=["addEventListener","removeEventListener"],mh=["on","off"];function yi(e,t,n,r){if(m(n)&&(r=n,n=void 0),r)return yi(e,t,n).pipe(zt(r));let[o,i]=vh(e)?gh.map(s=>a=>e[s](t,a,n)):yh(e)?hh.map(Ku(e,t)):Dh(e)?mh.map(Ku(e,t)):[];if(!o&&Gt(e))return Ee(s=>yi(s,t,n))(T(e));if(!o)throw new TypeError("Invalid event target");return new M(s=>{let a=(...u)=>s.next(1i(a)})}function Ku(e,t){return n=>r=>e[n](t,r)}function yh(e){return m(e.addListener)&&m(e.removeListener)}function Dh(e){return m(e.on)&&m(e.off)}function vh(e){return m(e.addEventListener)&&m(e.removeEventListener)}function wn(e=0,t,n=Ru){let r=-1;return t!=null&&(ur(t)?n=t:r=t),new M(o=>{let i=qu(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function wh(...e){let t=Te(e),n=Pu(e,1/0),r=e;return r.length?r.length===1?T(r[0]):vn(n)(Ne(r,t)):Le}var{isArray:Ih}=Array;function Ju(e){return e.length===1&&Ih(e[0])?e[0]:e}function Dt(e,t){return I((n,r)=>{let o=0;n.subscribe(y(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Eh(...e){let t=Ut(e),n=Ju(e);return n.length?new M(r=>{let o=n.map(()=>[]),i=n.map(()=>!1);r.add(()=>{o=i=null});for(let s=0;!r.closed&&s{if(o[s].push(a),o.every(u=>u.length)){let u=o.map(c=>c.shift());r.next(t?t(...u):u),o.some((c,l)=>!c.length&&i[l])&&r.complete()}},()=>{i[s]=!0,!o[s].length&&r.complete()}));return()=>{o=i=null}}):Le}function Xu(e){return I((t,n)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let c=o;o=null,n.next(c)}s&&n.complete()},u=()=>{i=null,s&&n.complete()};t.subscribe(y(n,c=>{r=!0,o=c,i||T(e(c)).subscribe(i=y(n,a,u))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function Ch(e,t=mt){return Xu(()=>wn(e,t))}function ec(e){return I((t,n)=>{let r=null,o=!1,i;r=t.subscribe(y(n,void 0,void 0,s=>{i=T(e(s,ec(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function tc(e,t,n,r,o){return(i,s)=>{let a=n,u=t,c=0;i.subscribe(y(s,l=>{let d=c++;u=a?e(u,l,d):(a=!0,l),r&&s.next(u)},o&&(()=>{a&&s.next(u),s.complete()})))}}function bh(e,t){return m(t)?Ee(e,t,1):Ee(e,1)}function _h(e,t=mt){return I((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let c=i;i=null,r.next(c)}};function u(){let c=s+e,l=t.now();if(l{i=c,s=t.now(),o||(o=t.schedule(u,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function In(e){return I((t,n)=>{let r=!1;t.subscribe(y(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function Di(e){return e<=0?()=>Le:I((t,n)=>{let r=0;t.subscribe(y(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Mh(e){return Ve(()=>e)}function xh(e,t=J){return e=e??Sh,I((n,r)=>{let o,i=!0;n.subscribe(y(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function Sh(e,t){return e===t}function Cr(e=Th){return I((t,n)=>{let r=!1;t.subscribe(y(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function Th(){return new je}function Nh(e){return I((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function vi(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Dt((o,i)=>e(o,i,r)):J,Di(1),n?In(t):Cr(()=>new je))}function wi(e){return e<=0?()=>Le:I((t,n)=>{let r=[];t.subscribe(y(n,o=>{r.push(o),e{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function Ah(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Dt((o,i)=>e(o,i,r)):J,wi(1),n?In(t):Cr(()=>new je))}var Oh=Ee;function Fh(e,t){return I(tc(e,t,arguments.length>=2,!0))}function Ei(e={}){let{connector:t=()=>new pe,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,u,c=0,l=!1,d=!1,p=()=>{a?.unsubscribe(),a=void 0},f=()=>{p(),s=u=void 0,l=d=!1},h=()=>{let g=s;f(),g?.unsubscribe()};return I((g,N)=>{c++,!d&&!l&&p();let S=u=u??t();N.add(()=>{c--,c===0&&!d&&!l&&(a=Ii(h,o))}),S.subscribe(N),!s&&c>0&&(s=new Ie({next:fe=>S.next(fe),error:fe=>{d=!0,p(),a=Ii(f,n,fe),S.error(fe)},complete:()=>{l=!0,p(),a=Ii(f,r),S.complete()}}),T(g).subscribe(s))})(i)}}function Ii(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new Ie({next:()=>{r.unsubscribe(),e()}});return T(t(...n)).subscribe(r)}function Rh(e,t,n){let r,o=!1;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:t=1/0,refCount:o=!1,scheduler:n}=e:r=e??1/0,Ei({connector:()=>new yn(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function Ph(e){return Dt((t,n)=>e<=n)}function kh(...e){let t=Te(e);return I((n,r)=>{(t?Er(e,n,t):Er(e,n)).subscribe(r)})}function Lh(e,t){return I((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(y(r,u=>{o?.unsubscribe();let c=0,l=i++;T(e(u,l)).subscribe(o=y(r,d=>r.next(t?t(u,d,l,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function jh(e){return I((t,n)=>{T(e).subscribe(y(n,()=>n.complete(),hn)),!n.closed&&t.subscribe(n)})}function Vh(e,t,n){let r=m(e)||t||n?{next:e,error:t,complete:n}:e;return r?I((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(y(i,u=>{var c;(c=r.next)===null||c===void 0||c.call(r,u),i.next(u)},()=>{var u;a=!1,(u=r.complete)===null||u===void 0||u.call(r),i.complete()},u=>{var c;a=!1,(c=r.error)===null||c===void 0||c.call(r,u),i.error(u)},()=>{var u,c;a&&((u=r.unsubscribe)===null||u===void 0||u.call(r)),(c=r.finalize)===null||c===void 0||c.call(r)}))}):J}function nc(e,t){return I((n,r)=>{let{leading:o=!0,trailing:i=!1}=t??{},s=!1,a=null,u=null,c=!1,l=()=>{u?.unsubscribe(),u=null,i&&(f(),c&&r.complete())},d=()=>{u=null,c&&r.complete()},p=h=>u=T(e(h)).subscribe(y(r,l,d)),f=()=>{if(s){s=!1;let h=a;a=null,r.next(h),!c&&p(h)}};n.subscribe(y(r,h=>{s=!0,a=h,!(u&&!u.closed)&&(o?f():p(h))},()=>{c=!0,!(i&&s&&u&&!u.closed)&&r.complete()}))})}function Bh(e,t=mt,n){let r=wn(e,t);return nc(()=>r,n)}var Zc="https://g.co/ng/security#xss",b=class extends Error{constructor(t,n){super(Kc(t,n)),this.code=t}};function Kc(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}var Jc=Symbol("InputSignalNode#UNSET"),$h=Ke(Ze({},ii),{transformFn:void 0,applyValueToInputSignal(e,t){pn(e,t)}});function Vn(e){return{toString:e}.toString()}var br="__parameters__";function Hh(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function Xc(e,t,n){return Vn(()=>{let r=Hh(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(u,c,l){let d=u.hasOwnProperty(br)?u[br]:Object.defineProperty(u,br,{value:[]})[br];for(;d.length<=l;)d.push(null);return(d[l]=d[l]||[]).push(s),u}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var he=globalThis;function P(e){for(let t in e)if(e[t]===P)return t;throw Error("Could not find renamed property on target object.")}function Uh(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function te(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map(te).join(", ")+"]";if(e==null)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;let t=e.toString();if(t==null)return""+t;let n=t.indexOf(`
-`);return n===-1?t:t.substring(0,n)}function $i(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var Gh=P({__forward_ref__:P});function el(e){return e.__forward_ref__=el,e.toString=function(){return te(this())},e}function X(e){return tl(e)?e():e}function tl(e){return typeof e=="function"&&e.hasOwnProperty(Gh)&&e.__forward_ref__===el}function j(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function nl(e){return{providers:e.providers||[],imports:e.imports||[]}}function co(e){return rc(e,rl)||rc(e,ol)}function iT(e){return co(e)!==null}function rc(e,t){return e.hasOwnProperty(t)?e[t]:null}function zh(e){let t=e&&(e[rl]||e[ol]);return t||null}function oc(e){return e&&(e.hasOwnProperty(ic)||e.hasOwnProperty(Wh))?e[ic]:null}var rl=P({\u0275prov:P}),ic=P({\u0275inj:P}),ol=P({ngInjectableDef:P}),Wh=P({ngInjectorDef:P}),F=class{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=j({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function il(e){return e&&!!e.\u0275providers}var qh=P({\u0275cmp:P}),Yh=P({\u0275dir:P}),Qh=P({\u0275pipe:P}),Zh=P({\u0275mod:P}),Vr=P({\u0275fac:P}),Cn=P({__NG_ELEMENT_ID__:P}),sc=P({__NG_ENV_ID__:P});function Bn(e){return typeof e=="string"?e:e==null?"":String(e)}function Kh(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():Bn(e)}function Jh(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new b(-200,e)}function aa(e,t){throw new b(-201,!1)}var x=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}(x||{}),Hi;function sl(){return Hi}function ie(e){let t=Hi;return Hi=e,t}function al(e,t,n){let r=co(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&x.Optional)return null;if(t!==void 0)return t;aa(e,"Injector")}var Xh={},bn=Xh,Ui="__NG_DI_FLAG__",Br="ngTempTokenPath",eg="ngTokenPath",tg=/\n/gm,ng="\u0275",ac="__source",Zt;function rg(){return Zt}function Je(e){let t=Zt;return Zt=e,t}function og(e,t=x.Default){if(Zt===void 0)throw new b(-203,!1);return Zt===null?al(e,void 0,t):Zt.get(e,t&x.Optional?null:void 0,t)}function Z(e,t=x.Default){return(sl()||og)(X(e),t)}function E(e,t=x.Default){return Z(e,lo(t))}function lo(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Gi(e){let t=[];for(let n=0;n ");else if(typeof t=="object"){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):te(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(tg,`
- `)}`}var cl=ul(Xc("Optional"),8);var ll=ul(Xc("SkipSelf"),4);function Et(e,t){let n=e.hasOwnProperty(Vr);return n?e[Vr]:null}function ug(e,t,n){if(e.length!==t.length)return!1;for(let r=0;rArray.isArray(n)?ua(n,t):t(n))}function dl(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function $r(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function lg(e,t){let n=[];for(let r=0;rt;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function fo(e,t,n){let r=$n(e,t);return r>=0?e[r|1]=n:(r=~r,dg(e,r,t,n)),r}function Ci(e,t){let n=$n(e,t);if(n>=0)return e[n|1]}function $n(e,t){return fg(e,t,1)}function fg(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<t?o=i:r=i+1}return~(o<t){s=i-1;break}}}for(;i-1){let i;for(;++oi?d="":d=o[l+1].toLowerCase(),r&2&&c!==d){if(Ce(r))return!1;s=!0}}}}return Ce(r)||s}function Ce(e){return(e&1)===0}function Dg(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!Ce(s)&&(t+=cc(i,o),o=""),r=s,i=i||!Ce(r);n++}return o!==""&&(t+=cc(i,o)),t}function bg(e){return e.map(Cg).join(",")}function _g(e){let t=[],n=[],r=1,o=2;for(;r{let t=Cl(e),n=Ke(Ze({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===hl.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Mn.Emulated,styles:e.styles||ee,_:null,schemas:e.schemas||null,tView:null,id:""});bl(n);let r=e.dependencies;return n.directiveDefs=dc(r,!1),n.pipeDefs=dc(r,!0),n.id=Tg(n),n})}function Mg(e){return $e(e)||wl(e)}function xg(e){return e!==null}function Dl(e){return Vn(()=>({type:e.type,bootstrap:e.bootstrap||ee,declarations:e.declarations||ee,imports:e.imports||ee,exports:e.exports||ee,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function lc(e,t){if(e==null)return Jt;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a=et.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==et.None?[r,a]:r,t[i]=s):n[i]=r}return n}function st(e){return Vn(()=>{let t=Cl(e);return bl(t),t})}function vl(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 $e(e){return e[qh]||null}function wl(e){return e[Yh]||null}function Il(e){return e[Qh]||null}function Sg(e){let t=$e(e)||wl(e)||Il(e);return t!==null?t.standalone:!1}function El(e,t){let n=e[Zh]||null;if(!n&&t===!0)throw new Error(`Type ${te(e)} does not have '\u0275mod' property.`);return n}function Cl(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,inputTransforms:null,inputConfig:e.inputs||Jt,exportAs:e.exportAs||null,standalone:e.standalone===!0,signals:e.signals===!0,selectors:e.selectors||ee,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:lc(e.inputs,t),outputs:lc(e.outputs),debugInfo:null}}function bl(e){e.features?.forEach(t=>t(e))}function dc(e,t){if(!e)return null;let n=t?Il:Mg;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(xg)}function Tg(e){let t=0,n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(let o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function _l(e){return{\u0275providers:e}}function Ng(...e){return{\u0275providers:Ml(!0,e),\u0275fromNgModule:!0}}function Ml(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return ua(t,s=>{let a=s;Wi(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&xl(o,i),n}function xl(e,t){for(let n=0;n{t(i,r)})}}function Wi(e,t,n,r){if(e=X(e),!e)return!1;let o=null,i=oc(e),s=!i&&$e(e);if(!i&&!s){let u=e.ngModule;if(i=oc(u),i)o=u;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let u=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of u)Wi(c,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let c;try{ua(i.imports,l=>{Wi(l,t,n,r)&&(c||=[],c.push(l))})}finally{}c!==void 0&&xl(c,t)}if(!a){let c=Et(o)||(()=>new o);t({provide:o,useFactory:c,deps:ee},o),t({provide:pl,useValue:o,multi:!0},o),t({provide:_n,useValue:()=>Z(o),multi:!0},o)}let u=i.providers;if(u!=null&&!a){let c=e;la(u,l=>{t(l,c)})}}else return!1;return o!==e&&e.providers!==void 0}function la(e,t){for(let n of e)il(n)&&(n=n.\u0275providers),Array.isArray(n)?la(n,t):t(n)}var Ag=P({provide:String,useValue:P});function Sl(e){return e!==null&&typeof e=="object"&&Ag in e}function Og(e){return!!(e&&e.useExisting)}function Fg(e){return!!(e&&e.useFactory)}function Xt(e){return typeof e=="function"}function Rg(e){return!!e.useClass}var Tl=new F(""),Or={},Pg={},bi;function po(){return bi===void 0&&(bi=new Hr),bi}var tt=class{},Sn=class extends tt{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Yi(t,s=>this.processProvider(s)),this.records.set(fl,Wt(void 0,this)),o.has("environment")&&this.records.set(tt,Wt(void 0,this));let i=this.records.get(Tl);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(pl,ee,x.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let t=_(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),_(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();let n=Je(this),r=ie(void 0),o;try{return t()}finally{Je(n),ie(r)}}get(t,n=bn,r=x.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(sc))return t[sc](this);r=lo(r);let o,i=Je(this),s=ie(void 0);try{if(!(r&x.SkipSelf)){let u=this.records.get(t);if(u===void 0){let c=Bg(t)&&co(t);c&&this.injectableDefInScope(c)?u=Wt(qi(t),Or):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u)}let a=r&x.Self?po():this.parent;return n=r&x.Optional&&n===bn?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[Br]=a[Br]||[]).unshift(te(t)),i)throw a;return sg(a,t,"R3InjectorError",this.source)}else throw a}finally{ie(s),Je(i)}}resolveInjectorInitializers(){let t=_(null),n=Je(this),r=ie(void 0),o;try{let i=this.get(_n,ee,x.Self);for(let s of i)s()}finally{Je(n),ie(r),_(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(te(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new b(205,!1)}processProvider(t){t=X(t);let n=Xt(t)?t:X(t&&t.provide),r=Lg(t);if(!Xt(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Wt(void 0,Or,!0),o.factory=()=>Gi(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=_(null);try{return n.value===Or&&(n.value=Pg,n.value=n.factory()),typeof n.value=="object"&&n.value&&Vg(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{_(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=X(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function qi(e){let t=co(e),n=t!==null?t.factory:Et(e);if(n!==null)return n;if(e instanceof F)throw new b(204,!1);if(e instanceof Function)return kg(e);throw new b(204,!1)}function kg(e){if(e.length>0)throw new b(204,!1);let n=zh(e);return n!==null?()=>n.factory(e):()=>new e}function Lg(e){if(Sl(e))return Wt(void 0,e.useValue);{let t=Nl(e);return Wt(t,Or)}}function Nl(e,t,n){let r;if(Xt(e)){let o=X(e);return Et(o)||qi(o)}else if(Sl(e))r=()=>X(e.useValue);else if(Fg(e))r=()=>e.useFactory(...Gi(e.deps||[]));else if(Og(e))r=()=>Z(X(e.useExisting));else{let o=X(e&&(e.useClass||e.provide));if(jg(e))r=()=>new o(...Gi(e.deps));else return Et(o)||qi(o)}return r}function Wt(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function jg(e){return!!e.deps}function Vg(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Bg(e){return typeof e=="function"||typeof e=="object"&&e instanceof F}function Yi(e,t){for(let n of e)Array.isArray(n)?Yi(n,t):n&&il(n)?Yi(n.\u0275providers,t):t(n)}function $g(e,t){e instanceof Sn&&e.assertNotDestroyed();let n,r=Je(e),o=ie(void 0);try{return t()}finally{Je(r),ie(o)}}function Al(){return sl()!==void 0||rg()!=null}function Ol(e){if(!Al())throw new b(-203,!1)}function Hg(e){return typeof e=="function"}var ae=0,v=1,D=2,q=3,be=4,ce=5,ue=6,Tn=7,Q=8,en=9,_e=10,R=11,Nn=12,fc=13,sn=14,se=15,Hn=16,qt=17,He=18,ho=19,Fl=20,Xe=21,Fr=22,Ct=23,B=25,Rl=1,An=6,Ue=7,Ur=8,tn=9,Y=10,da=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(da||{});function Be(e){return Array.isArray(e)&&typeof e[Rl]=="object"}function Fe(e){return Array.isArray(e)&&e[Rl]===!0}function fa(e){return(e.flags&4)!==0}function Un(e){return e.componentOffset>-1}function go(e){return(e.flags&1)===1}function nt(e){return!!e.template}function Pl(e){return(e[D]&512)!==0}var Qi=class{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function kl(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}function pa(){return Ll}function Ll(e){return e.type.prototype.ngOnChanges&&(e.setInput=Gg),Ug}pa.ngInherit=!0;function Ug(){let e=Vl(this),t=e?.current;if(t){let n=e.previous;if(n===Jt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Gg(e,t,n,r,o){let i=this.declaredInputs[r],s=Vl(e)||zg(e,{previous:Jt,current:null}),a=s.current||(s.current={}),u=s.previous,c=u[i];a[i]=new Qi(c&&c.currentValue,n,u===Jt),kl(e,t,o,n)}var jl="__ngSimpleChanges__";function Vl(e){return e[jl]||null}function zg(e,t){return e[jl]=t}var pc=null;var Ae=function(e,t,n){pc?.(e,t,n)},Bl="svg",Wg="math",qg=!1;function Yg(){return qg}function Me(e){for(;Array.isArray(e);)e=e[ae];return e}function $l(e,t){return Me(t[e])}function le(e,t){return Me(t[e.index])}function ha(e,t){return e.data[t]}function ga(e,t){return e[t]}function at(e,t){let n=t[e];return Be(n)?n:n[ae]}function Qg(e){return(e[D]&4)===4}function ma(e){return(e[D]&128)===128}function Zg(e){return Fe(e[q])}function nn(e,t){return t==null?null:e[t]}function Hl(e){e[qt]=0}function Kg(e){e[D]&1024||(e[D]|=1024,ma(e)&&On(e))}function Jg(e,t){for(;e>0;)t=t[sn],e--;return t}function ya(e){return!!(e[D]&9216||e[Ct]?.dirty)}function Zi(e){e[_e].changeDetectionScheduler?.notify(1),ya(e)?On(e):e[D]&64&&(Yg()?(e[D]|=1024,On(e)):e[_e].changeDetectionScheduler?.notify())}function On(e){e[_e].changeDetectionScheduler?.notify();let t=Fn(e);for(;t!==null&&!(t[D]&8192||(t[D]|=8192,!ma(t)));)t=Fn(t)}function Ul(e,t){if((e[D]&256)===256)throw new b(911,!1);e[Xe]===null&&(e[Xe]=[]),e[Xe].push(t)}function Xg(e,t){if(e[Xe]===null)return;let n=e[Xe].indexOf(t);n!==-1&&e[Xe].splice(n,1)}function Fn(e){let t=e[q];return Fe(t)?t[q]:t}var C={lFrame:Zl(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function em(){return C.lFrame.elementDepthCount}function tm(){C.lFrame.elementDepthCount++}function nm(){C.lFrame.elementDepthCount--}function Gl(){return C.bindingsEnabled}function an(){return C.skipHydrationRootTNode!==null}function rm(e){return C.skipHydrationRootTNode===e}function om(e){C.skipHydrationRootTNode=e}function im(){C.skipHydrationRootTNode=null}function w(){return C.lFrame.lView}function V(){return C.lFrame.tView}function aT(e){return C.lFrame.contextLView=e,e[Q]}function uT(e){return C.lFrame.contextLView=null,e}function K(){let e=zl();for(;e!==null&&e.type===64;)e=e.parent;return e}function zl(){return C.lFrame.currentTNode}function sm(){let e=C.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Nt(e,t){let n=C.lFrame;n.currentTNode=e,n.isParent=t}function Da(){return C.lFrame.isParent}function va(){C.lFrame.isParent=!1}function am(){return C.lFrame.contextLView}function un(){let e=C.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function um(e){return C.lFrame.bindingIndex=e}function At(){return C.lFrame.bindingIndex++}function Wl(e){let t=C.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function cm(){return C.lFrame.inI18n}function lm(e,t){let n=C.lFrame;n.bindingIndex=n.bindingRootIndex=e,Ki(t)}function dm(){return C.lFrame.currentDirectiveIndex}function Ki(e){C.lFrame.currentDirectiveIndex=e}function fm(e){let t=C.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function ql(){return C.lFrame.currentQueryIndex}function wa(e){C.lFrame.currentQueryIndex=e}function pm(e){let t=e[v];return t.type===2?t.declTNode:t.type===1?e[ce]:null}function Yl(e,t,n){if(n&x.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&x.Host);)if(o=pm(i),o===null||(i=i[sn],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=C.lFrame=Ql();return r.currentTNode=t,r.lView=e,!0}function Ia(e){let t=Ql(),n=e[v];C.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Ql(){let e=C.lFrame,t=e===null?null:e.child;return t===null?Zl(e):t}function Zl(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 Kl(){let e=C.lFrame;return C.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Jl=Kl;function Ea(){let e=Kl();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 hm(e){return(C.lFrame.contextLView=Jg(e,C.lFrame.contextLView))[Q]}function ut(){return C.lFrame.selectedIndex}function bt(e){C.lFrame.selectedIndex=e}function Gn(){let e=C.lFrame;return ha(e.tView,e.selectedIndex)}function cT(){C.lFrame.currentNamespace=Bl}function lT(){gm()}function gm(){C.lFrame.currentNamespace=null}function Xl(){return C.lFrame.currentNamespace}var ed=!0;function mo(){return ed}function Re(e){ed=e}function mm(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=Ll(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}function yo(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[u]<0&&(e[qt]+=65536),(a>14>16&&(e[D]&3)===t&&(e[D]+=16384,hc(a,i)):hc(a,i)}var Kt=-1,_t=class{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}};function Dm(e){return e instanceof _t}function vm(e){return(e.flags&8)!==0}function wm(e){return(e.flags&16)!==0}function nd(e){return e!==Kt}function Gr(e){return e&32767}function Im(e){return e>>16}function zr(e,t){let n=Im(e),r=t;for(;n>0;)r=r[sn],n--;return r}var Ji=!0;function Wr(e){let t=Ji;return Ji=e,t}var Em=256,rd=Em-1,od=5,Cm=0,Oe={};function bm(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Cn)&&(r=n[Cn]),r==null&&(r=n[Cn]=Cm++);let o=r&rd,i=1<>od)]|=i}function qr(e,t){let n=id(e,t);if(n!==-1)return n;let r=t[v];r.firstCreatePass&&(e.injectorIndex=t.length,Mi(r.data,e),Mi(t,null),Mi(r.blueprint,null));let o=Ca(e,t),i=e.injectorIndex;if(nd(o)){let s=Gr(o),a=zr(o,t),u=a[v].data;for(let c=0;c<8;c++)t[i+c]=a[s+c]|u[s+c]}return t[i+8]=o,i}function Mi(e,t){e.push(0,0,0,0,0,0,0,0,t)}function id(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Ca(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=ld(o),r===null)return Kt;if(n++,o=o[sn],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Kt}function Xi(e,t,n){bm(e,t,n)}function _m(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let r=n.length,o=0;for(;o>20,d=r?a:a+l,p=o?a+l:c;for(let f=d;f=u&&h.type===n)return f}if(o){let f=s[u];if(f&&nt(f)&&f.type===n)return u}return null}function Mt(e,t,n,r){let o=e[n],i=t.data;if(Dm(o)){let s=o;s.resolving&&Jh(Kh(i[n]));let a=Wr(s.canSeeViewProviders);s.resolving=!0;let u,c=s.injectImpl?ie(s.injectImpl):null,l=Yl(e,r,x.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&mm(n,i[n],t)}finally{c!==null&&ie(c),Wr(a),s.resolving=!1,Jl()}}return o}function xm(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Cn)?e[Cn]:void 0;return typeof t=="number"?t>=0?t&rd:Sm:t}function gc(e,t,n){let r=1<>od)]&r)}function mc(e,t){return!(e&x.Self)&&!(e&x.Host&&t)}var It=class{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return ud(this._tNode,this._lView,t,lo(r),n)}};function Sm(){return new It(K(),w())}function dT(e){return Vn(()=>{let t=e.prototype.constructor,n=t[Vr]||es(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Vr]||es(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function es(e){return tl(e)?()=>{let t=es(X(e));return t&&t()}:Et(e)}function Tm(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[D]&2048&&!(s[D]&512);){let a=cd(i,s,n,r|x.Self,Oe);if(a!==Oe)return a;let u=i.parent;if(!u){let c=s[Fl];if(c){let l=c.get(n,Oe,r);if(l!==Oe)return l}u=ld(s),s=s[sn]}i=u}return o}function ld(e){let t=e[v],n=t.type;return n===2?t.declTNode:n===1?e[ce]:null}function Nm(e){return _m(K(),e)}function yc(e,t=null,n=null,r){let o=dd(e,t,n,r);return o.resolveInjectorInitializers(),o}function dd(e,t=null,n=null,r,o=new Set){let i=[n||ee,Ng(e)];return r=r||(typeof e=="object"?void 0:te(e)),new Sn(i,t||po(),r||null,o)}var Ot=(()=>{let t=class t{static create(r,o){if(Array.isArray(r))return yc({name:""},o,r,"");{let i=r.name??"";return yc({name:i},r.parent,r.providers,i)}}};t.THROW_IF_NOT_FOUND=bn,t.NULL=new Hr,t.\u0275prov=j({token:t,providedIn:"any",factory:()=>Z(fl)}),t.__NG_ELEMENT_ID__=-1;let e=t;return e})();var Am="ngOriginalError";function xi(e){return e[Am]}var Ge=class{constructor(){this._console=console}handleError(t){let n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&xi(t);for(;n&&xi(n);)n=xi(n);return n||null}},fd=new F("",{providedIn:"root",factory:()=>E(Ge).handleError.bind(void 0)}),zn=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=Om,t.__NG_ENV_ID__=r=>r;let e=t;return e})(),ts=class extends zn{constructor(t){super(),this._lView=t}onDestroy(t){return Ul(this._lView,t),()=>Xg(this._lView,t)}};function Om(){return new ts(w())}var ns=class{constructor(){this.destroyed=!1,this.listeners=null,this.errorHandler=E(Ge,{optional:!0}),this.destroyRef=E(zn),this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new b(953,!1);return(this.listeners??=[]).push(t),{unsubscribe:()=>{let n=this.listeners?.indexOf(t);n!==void 0&&n!==-1&&this.listeners?.splice(n,1)}}}emit(t){if(this.destroyed)throw new b(953,!1);if(this.listeners===null)return;let n=_(null);try{for(let r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{_(n)}}};function Fm(){return cn(K(),w())}function cn(e,t){return new ct(le(e,t))}var ct=(()=>{let t=class t{constructor(r){this.nativeElement=r}};t.__NG_ELEMENT_ID__=Fm;let e=t;return e})();function Rm(e){return e instanceof ct?e.nativeElement:e}var rs=class extends pe{constructor(t=!1){super(),this.destroyRef=void 0,this.__isAsync=t,Al()&&(this.destroyRef=E(zn,{optional:!0})??void 0)}emit(t){let n=_(null);try{super.next(t)}finally{_(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let u=t;o=u.next?.bind(u),i=u.error?.bind(u),s=u.complete?.bind(u)}this.__isAsync&&(i=Si(i),o&&(o=Si(o)),s&&(s=Si(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof G&&t.add(a),a}};function Si(e){return t=>{setTimeout(e,void 0,t)}}var wt=rs;function Pm(){return this._results[Symbol.iterator]()}var os=class e{get changes(){return this._changes??=new wt}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;let n=e.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=Pm)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;let r=cg(t);(this._changesDetected=!ug(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}},km="ngSkipHydration",Lm="ngskiphydration";function pd(e){let t=e.mergedAttrs;if(t===null)return!1;for(let n=0;nGm}),Gm="ng",zm=new F(""),Do=new F("",{providedIn:"platform",factory:()=>"unknown"});var pT=new F(""),hT=new F("",{providedIn:"root",factory:()=>Wn().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function Wm(){let e=new ba;return E(Do)==="browser"&&(e.store=qm(Wn(),E(Um))),e}var ba=(()=>{let t=class t{constructor(){this.store={},this.onSerializeCallbacks={}}get(r,o){return this.store[r]!==void 0?this.store[r]:o}set(r,o){this.store[r]=o}remove(r){delete this.store[r]}hasKey(r){return this.store.hasOwnProperty(r)}get isEmpty(){return Object.keys(this.store).length===0}onSerialize(r,o){this.onSerializeCallbacks[r]=o}toJson(){for(let r in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(r))try{this.store[r]=this.onSerializeCallbacks[r]()}catch(o){console.warn("Exception in onSerialize callback: ",o)}return JSON.stringify(this.store).replace(/
null;function ty(e,t,n=!1){let r=e.getAttribute(Ti);if(r==null)return null;let[o,i]=r.split("|");if(r=n?i:o,!r)return null;let s=i?`|${i}`:"",a=n?o:s,u={};if(r!==""){let l=t.get(ba,null,{optional:!0});l!==null&&(u=l.get(Ed,[])[Number(r)])}let c={data:u,firstChild:e.firstChild??null};return n&&(c.firstChild=e,vo(c,0,e.nextSibling)),a?e.setAttribute(Ti,a):e.removeAttribute(Ti),c}function ny(){Cd=ty}function Ma(e,t,n=!1){return Cd(e,t,n)}function ry(e){let t=e._lView;return t[v].type===2?null:(Pl(t)&&(t=t[B]),t)}function oy(e){return e.textContent?.replace(/\s/gm,"")}function iy(e){let t=Wn(),n=t.createNodeIterator(e,NodeFilter.SHOW_COMMENT,{acceptNode(i){let s=oy(i);return s==="ngetn"||s==="ngtns"?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}}),r,o=[];for(;r=n.nextNode();)o.push(r);for(let i of o)i.textContent==="ngetn"?i.replaceWith(t.createTextNode("")):i.remove()}function vo(e,t,n){e.segmentHeads??={},e.segmentHeads[t]=n}function as(e,t){return e.segmentHeads?.[t]??null}function sy(e,t){let n=e.data,r=n[Ym]?.[t]??null;return r===null&&n[_a]?.[t]&&(r=xa(e,t)),r}function bd(e,t){return e.data[_a]?.[t]??null}function xa(e,t){let n=bd(e,t)??[],r=0;for(let o of n)r+=o[Qr]*(o[Id]??1);return r}function wo(e,t){if(typeof e.disconnectedNodes>"u"){let n=e.data[Jm];e.disconnectedNodes=n?new Set(n):null}return!!e.disconnectedNodes?.has(t)}var _r=new F(""),_d=!1,Md=new F("",{providedIn:"root",factory:()=>_d}),ay=new F(""),Mr;function uy(){if(Mr===void 0&&(Mr=null,he.trustedTypes))try{Mr=he.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Mr}function Io(e){return uy()?.createHTML(e)||e}var xr;function xd(){if(xr===void 0&&(xr=null,he.trustedTypes))try{xr=he.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return xr}function vc(e){return xd()?.createHTML(e)||e}function wc(e){return xd()?.createScriptURL(e)||e}var ze=class{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Zc})`}},us=class extends ze{getTypeName(){return"HTML"}},cs=class extends ze{getTypeName(){return"Style"}},ls=class extends ze{getTypeName(){return"Script"}},ds=class extends ze{getTypeName(){return"URL"}},fs=class extends ze{getTypeName(){return"ResourceURL"}};function Ft(e){return e instanceof ze?e.changingThisBreaksApplicationSecurity:e}function Sa(e,t){let n=cy(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Zc})`)}return n===t}function cy(e){return e instanceof ze&&e.getTypeName()||null}function gT(e){return new us(e)}function mT(e){return new cs(e)}function yT(e){return new ls(e)}function DT(e){return new ds(e)}function vT(e){return new fs(e)}function ly(e){let t=new hs(e);return dy()?new ps(t):t}var ps=class{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{let n=new window.DOMParser().parseFromString(Io(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}},hs=class{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=Io(t),n}};function dy(){try{return!!new window.DOMParser().parseFromString(Io(""),"text/html")}catch{return!1}}var fy=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Sd(e){return e=String(e),e.match(fy)?e:"unsafe:"+e}function We(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function qn(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var Td=We("area,br,col,hr,img,wbr"),Nd=We("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Ad=We("rp,rt"),py=qn(Ad,Nd),hy=qn(Nd,We("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")),gy=qn(Ad,We("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")),Ic=qn(Td,hy,gy,py),Od=We("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),my=We("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"),yy=We("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"),Dy=qn(Od,my,yy),vy=We("script,style,template"),gs=class{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){o.push(n),n=Ey(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=Iy(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=Ec(t).toLowerCase();if(!Ic.hasOwnProperty(n))return this.sanitizedSomething=!0,!vy.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let o=0;o"),!0}endElement(t){let n=Ec(t).toLowerCase();Ic.hasOwnProperty(n)&&!Td.hasOwnProperty(n)&&(this.buf.push(""),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Cc(t))}};function wy(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function Iy(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Fd(t);return t}function Ey(e){let t=e.firstChild;if(t&&wy(e,t))throw Fd(t);return t}function Ec(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Fd(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var Cy=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,by=/([^\#-~ |!])/g;function Cc(e){return e.replace(/&/g,"&").replace(Cy,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return""+((n-55296)*1024+(r-56320)+65536)+";"}).replace(by,function(t){return""+t.charCodeAt(0)+";"}).replace(//g,">")}var Sr;function _y(e,t){let n=null;try{Sr=Sr||ly(e);let r=t?String(t):"";n=Sr.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=Sr.getInertBodyElement(r)}while(r!==i);let a=new gs().sanitizeChildren(bc(n)||n);return Io(a)}finally{if(n){let r=bc(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function bc(e){return"content"in e&&My(e)?e.content:null}function My(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var Eo=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}(Eo||{});function wT(e){let t=Ta();return t?vc(t.sanitize(Eo.HTML,e)||""):Sa(e,"HTML")?vc(Ft(e)):_y(Wn(),Bn(e))}function xy(e){let t=Ta();return t?t.sanitize(Eo.URL,e)||"":Sa(e,"URL")?Ft(e):Sd(Bn(e))}function Sy(e){let t=Ta();if(t)return wc(t.sanitize(Eo.RESOURCE_URL,e)||"");if(Sa(e,"ResourceURL"))return wc(Ft(e));throw new b(904,!1)}function Ty(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?Sy:xy}function IT(e,t,n){return Ty(t,n)(e)}function Ta(){let e=w();return e&&e[_e].sanitizer}var Ny=/^>|^->||--!>|)/g,Oy="\u200B$1\u200B";function Fy(e){return e.replace(Ny,t=>t.replace(Ay,Oy))}function ET(e){return e.ownerDocument.defaultView}function CT(e){return e.ownerDocument}function Ry(e){return e.ownerDocument.body}function Rd(e){return e instanceof Function?e():e}function En(e){return(e??E(Ot)).get(Do)==="browser"}var Rn=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Rn||{}),Py;function Na(e,t){return Py(e,t)}function Yt(e,t,n,r,o){if(r!=null){let i,s=!1;Fe(r)?i=r:Be(r)&&(s=!0,r=r[ae]);let a=Me(r);e===0&&n!==null?o==null?jd(t,n,a):Zr(t,n,a,o||null,!0):e===1&&n!==null?Zr(t,n,a,o||null,!0):e===2?Ra(t,a,s):e===3&&t.destroyNode(a),i!=null&&Zy(t,e,i,n,o)}}function Aa(e,t){return e.createText(t)}function ky(e,t,n){e.setValue(t,n)}function Oa(e,t){return e.createComment(Fy(t))}function Co(e,t,n){return e.createElement(t,n)}function Ly(e,t){Pd(e,t),t[ae]=null,t[ce]=null}function jy(e,t,n,r,o,i){r[ae]=o,r[ce]=t,Mo(e,r,n,1,o,i)}function Pd(e,t){t[_e].changeDetectionScheduler?.notify(1),Mo(e,t,t[R],2,null,null)}function Vy(e){let t=e[Nn];if(!t)return Ni(e[v],e);for(;t;){let n=null;if(Be(t))n=t[Nn];else{let r=t[Y];r&&(n=r)}if(!n){for(;t&&!t[be]&&t!==e;)Be(t)&&Ni(t[v],t),t=t[q];t===null&&(t=e),Be(t)&&Ni(t[v],t),n=t&&t[be]}t=n}}function By(e,t,n,r){let o=Y+r,i=n.length;r>0&&(n[o-1][be]=t),r0&&(e[n-1][be]=r[be]);let i=$r(e,Y+t);Ly(r[v],r);let s=i[He];s!==null&&s.detachView(i[v]),r[q]=null,r[be]=null,r[D]&=-129}return r}function bo(e,t){if(!(t[D]&256)){let n=t[R];n.destroyNode&&Mo(e,t,n,3,null,null),Vy(t)}}function Ni(e,t){if(t[D]&256)return;let n=_(null);try{t[D]&=-129,t[D]|=256,t[Ct]&&oi(t[Ct]),Uy(e,t),Hy(e,t),t[v].type===1&&t[R].destroy();let r=t[Hn];if(r!==null&&Fe(t[q])){r!==t[q]&&kd(r,t);let o=t[He];o!==null&&o.detachView(e)}Hm(t)}finally{_(n)}}function Hy(e,t){let n=e.cleanup,r=t[Tn];if(n!==null)for(let i=0;i=0?r[s]():r[-s].unsubscribe(),i+=2}else{let s=r[n[i+1]];n[i].call(s)}r!==null&&(t[Tn]=null);let o=t[Xe];if(o!==null){t[Xe]=null;for(let i=0;i-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===Mn.None||i===Mn.Emulated)return null}return le(r,n)}}function Zr(e,t,n,r,o){e.insertBefore(t,n,r,o)}function jd(e,t,n){e.appendChild(t,n)}function _c(e,t,n,r,o){r!==null?Zr(e,t,n,r,o):jd(e,t,n)}function zy(e,t,n,r){e.removeChild(t,n,r)}function Fa(e,t){return e.parentNode(t)}function Wy(e,t){return e.nextSibling(t)}function Vd(e,t,n){return Yy(e,t,n)}function qy(e,t,n){return e.type&40?le(e,n):null}var Yy=qy,Mc;function _o(e,t,n,r){let o=Ld(e,r,t),i=t[R],s=r.parent||t[ce],a=Vd(s,r,t);if(o!=null)if(Array.isArray(n))for(let u=0;uB&&zd(e,t,B,!1),Ae(s?2:0,o),n(r,o)}finally{bt(i),Ae(s?3:1,o)}}function ka(e,t,n){if(fa(t)){let r=_(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;snull;function oD(e){hd(e)?$d(e):iy(e)}function iD(){Zd=oD}function sD(e,t,n,r){let o=tf(t);o.push(n),e.firstCreatePass&&nf(e).push(r,o.length-1)}function aD(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return an()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function xc(e,t,n,r,o){for(let i in t){if(!t.hasOwnProperty(i))continue;let s=t[i];if(s===void 0)continue;r??={};let a,u=et.None;Array.isArray(s)?(a=s[0],u=s[1]):a=s;let c=i;if(o!==null){if(!o.hasOwnProperty(i))continue;c=o[i]}e===0?Sc(r,n,c,a,u):Sc(r,n,c,a)}return r}function Sc(e,t,n,r,o){let i;e.hasOwnProperty(n)?(i=e[n]).push(t,r):i=e[n]=[t,r],o!==void 0&&i.push(o)}function uD(e,t,n){let r=t.directiveStart,o=t.directiveEnd,i=e.data,s=t.attrs,a=[],u=null,c=null;for(let l=r;l0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function pD(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;Un(n)&&wD(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||qr(n,t),rt(r,t);let s=n.initialInputs;for(let a=o;a{On(e.lView)},consumerOnSignalRead(){this.lView[Ct]=this}}),uf=100;function cf(e,t=!0,n=0){let r=e[_e],o=r.rendererFactory,i=!1;i||o.begin?.();try{RD(e,n)}catch(s){throw t&&rf(e,s),s}finally{i||(o.end?.(),r.inlineEffectRunner?.flush())}}function RD(e,t){vs(e,t);let n=0;for(;ya(e);){if(n===uf)throw new b(103,!1);n++,vs(e,1)}}function PD(e,t,n,r){let o=t[D];if((o&256)===256)return;let i=!1;!i&&t[_e].inlineEffectRunner?.flush(),Ia(t);let s=null,a=null;!i&&kD(e)&&(a=ND(t),s=ni(a));try{Hl(t),um(e.bindingStartIndex),n!==null&&Yd(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let d=e.preOrderCheckHooks;d!==null&&Rr(t,d,null)}else{let d=e.preOrderHooks;d!==null&&Pr(t,d,0,null),_i(t,0)}if(LD(t),lf(t,0),e.contentQueries!==null&&ef(e,t),!i)if(u){let d=e.contentCheckHooks;d!==null&&Rr(t,d)}else{let d=e.contentHooks;d!==null&&Pr(t,d,1),_i(t,1)}Xy(e,t);let c=e.components;c!==null&&ff(t,c,0);let l=e.viewQuery;if(l!==null&&Ds(2,l,r),!i)if(u){let d=e.viewCheckHooks;d!==null&&Rr(t,d)}else{let d=e.viewHooks;d!==null&&Pr(t,d,2),_i(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Fr]){for(let d of t[Fr])d();t[Fr]=null}i||(t[D]&=-73)}catch(u){throw On(t),u}finally{a!==null&&(ri(a,s),OD(a)),Ea()}}function kD(e){return e.type!==2}function lf(e,t){for(let n=md(e);n!==null;n=yd(n))for(let r=Y;r-1&&(Pn(t,r),$r(n,r))}this._attachedToViewContainer=!1}bo(this._lView[v],this._lView)}onDestroy(t){Ul(this._lView,t)}markForCheck(){Ua(this._cdRefInjectingView||this._lView)}detach(){this._lView[D]&=-129}reattach(){Zi(this._lView),this._lView[D]|=128}detectChanges(){this._lView[D]|=1024,cf(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new b(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,Pd(this._lView[v],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new b(902,!1);this._appRef=t,Zi(this._lView)}},ot=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=$D;let e=t;return e})(),VD=ot,BD=class extends VD{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){let o=No(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new xt(o)}};function $D(){return Oo(K(),w())}function Oo(e,t){return e.type&4?new BD(t,e,cn(e,t)):null}function pf(e){let t=e[An]??[],r=e[q][R];for(let o of t)HD(o,r);e[An]=ee}function HD(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[Qr];for(;n0&&(i.firstChild=e,e=Ro(r[Qr],e)),n.push(i)}return[e,n]}var gf=()=>null;function JD(e,t){let n=e[An];return!t||n===null||n.length===0?null:n[0].data[Zm]===t?n.shift():(pf(e),null)}function XD(){gf=JD}function Ln(e,t){return gf(e,t)}var Xr=class{},ws=class{},eo=class{};function ev(e){let t=Error(`No component factory found for ${te(e)}.`);return t[tv]=e,t}var tv="ngComponent";var Is=class{resolveComponentFactory(t){throw ev(t)}},Po=(()=>{let t=class t{};t.NULL=new Is;let e=t;return e})(),Es=class{},ko=(()=>{let t=class t{constructor(){this.destroyNode=null}};t.__NG_ELEMENT_ID__=()=>nv();let e=t;return e})();function nv(){let e=w(),t=K(),n=at(t.index,e);return(Be(n)?n:e)[R]}var rv=(()=>{let t=class t{};t.\u0275prov=j({token:t,providedIn:"root",factory:()=>null});let e=t;return e})(),Oi={};var Tc=new Set;function lt(e){Tc.has(e)||(Tc.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function Nc(...e){}function ov(){let e=typeof he.requestAnimationFrame=="function",t=he[e?"requestAnimationFrame":"setTimeout"],n=he[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){let r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);let o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}var ge=class e{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new wt(!1),this.onMicrotaskEmpty=new wt(!1),this.onStable=new wt(!1),this.onError=new wt(!1),typeof Zone>"u")throw new b(908,!1);Zone.assertZonePatched();let o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=ov().nativeRequestAnimationFrame,av(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new b(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new b(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,iv,Nc,Nc);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},iv={};function Ga(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 sv(e){e.isCheckStableRunning||e.lastRequestAnimationFrameId!==-1||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(he,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Cs(e),e.isCheckStableRunning=!0,Ga(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Cs(e))}function av(e){let t=()=>{sv(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(uv(a))return n.invokeTask(o,i,s,a);try{return Ac(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&i.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Oc(e)}},onInvoke:(n,r,o,i,s,a,u)=>{try{return Ac(e),n.invoke(o,i,s,a,u)}finally{e.shouldCoalesceRunChangeDetection&&t(),Oc(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&(i.change=="microTask"?(e._hasPendingMicrotasks=i.microTask,Cs(e),Ga(e)):i.change=="macroTask"&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}function Cs(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.lastRequestAnimationFrameId!==-1?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Ac(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Oc(e){e._nesting--,Ga(e)}function uv(e){return!Array.isArray(e)||e.length!==1?!1:e[0].data?.__ignore_ng_zone__===!0}var Qt=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Qt||{}),cv={destroy(){}};function lv(e,t){!t&&Ol(lv);let n=t?.injector??E(Ot);if(!En(n))return cv;lt("NgAfterNextRender");let r=n.get(za),o=r.handler??=new _s,i=t?.phase??Qt.MixedReadWrite,s=()=>{o.unregister(u),a()},a=n.get(zn).onDestroy(s),u=$g(n,()=>new bs(i,()=>{s(),e()}));return o.register(u),{destroy:s}}var bs=class{constructor(t,n){this.phase=t,this.callbackFn=n,this.zone=E(ge),this.errorHandler=E(Ge,{optional:!0}),E(Xr,{optional:!0})?.notify(1)}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(t){this.errorHandler?.handleError(t)}}},_s=class{constructor(){this.executingCallbacks=!1,this.buckets={[Qt.EarlyRead]:new Set,[Qt.Write]:new Set,[Qt.MixedReadWrite]:new Set,[Qt.Read]:new Set},this.deferredCallbacks=new Set}register(t){(this.executingCallbacks?this.deferredCallbacks:this.buckets[t.phase]).add(t)}unregister(t){this.buckets[t.phase].delete(t),this.deferredCallbacks.delete(t)}execute(){this.executingCallbacks=!0;for(let t of Object.values(this.buckets))for(let n of t)n.invoke();this.executingCallbacks=!1;for(let t of this.deferredCallbacks)this.buckets[t.phase].add(t);this.deferredCallbacks.clear()}destroy(){for(let t of Object.values(this.buckets))t.clear();this.deferredCallbacks.clear()}},za=(()=>{let t=class t{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){let r=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let o of r)o()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};t.\u0275prov=j({token:t,providedIn:"root",factory:()=>new t});let e=t;return e})();function to(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s0&&Ud(e,n,i.join(" "))}}function yv(e,t,n){let r=e.projection=[];for(let o=0;o{let t=class t{};t.__NG_ELEMENT_ID__=vv;let e=t;return e})();function vv(){let e=K();return yf(e,w())}var wv=dt,mf=class extends wv{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return cn(this._hostTNode,this._hostLView)}get injector(){return new It(this._hostTNode,this._hostLView)}get parentInjector(){let t=Ca(this._hostTNode,this._hostLView);if(nd(t)){let n=zr(t,this._hostLView),r=Gr(t),o=n[v].data[r+8];return new It(o,n)}else return new It(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Rc(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-Y}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Ln(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,kn(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!Hg(t),a;if(s)a=n;else{let h=n||{};a=h.index,r=h.injector,o=h.projectableNodes,i=h.environmentInjector||h.ngModuleRef}let u=s?t:new St($e(t)),c=r||this.parentInjector;if(!i&&u.ngModule==null){let g=(s?c:this.parentInjector).get(tt,null);g&&(i=g)}let l=$e(u.componentType??{}),d=Ln(this._lContainer,l?.id??null),p=d?.firstChild??null,f=u.create(c,o,p,i);return this.insertImpl(f.hostView,a,kn(this._hostTNode,d)),f}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Zg(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let u=o[q],c=new mf(u,u[ce],u[q]);c.detach(c.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return Ao(s,o,i,r),t.attachToViewContainerRef(),dl(Fi(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Rc(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Pn(this._lContainer,n);r&&($r(Fi(this._lContainer),n),bo(r[v],r))}detach(t){let n=this._adjustIndex(t,-1),r=Pn(this._lContainer,n);return r&&$r(Fi(this._lContainer),n)!=null?new xt(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Rc(e){return e[Ur]}function Fi(e){return e[Ur]||(e[Ur]=[])}function yf(e,t){let n,r=t[e.index];return Fe(r)?n=r:(n=Xd(r,t,null,e),t[e.index]=n,To(t,n)),Df(n,t,e,r),new mf(n,e,t)}function Iv(e,t){let n=e[R],r=n.createComment(""),o=le(t,e),i=Fa(n,o);return Zr(n,i,r,Wy(n,o),!1),r}var Df=vf,Wa=()=>!1;function Ev(e,t,n){return Wa(e,t,n)}function vf(e,t,n,r){if(e[Ue])return;let o;n.type&8?o=Me(r):o=Iv(t,n),e[Ue]=o}function Cv(e,t,n){if(e[Ue]&&e[An])return!0;let r=n[ue],o=t.index-B;if(!r||jm(t)||wo(r,o))return!1;let s=as(r,o),a=r.data[_a]?.[o],[u,c]=KD(s,a);return e[Ue]=u,e[An]=c,!0}function bv(e,t,n,r){Wa(e,n,t)||vf(e,t,n,r)}function _v(){Df=bv,Wa=Cv}var Ss=class e{constructor(t){this.queryList=t,this.matches=null}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Ts=class e{constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,o=[];for(let i=0;i0)r.push(s[a/2]);else{let c=i[a+1],l=t[-u];for(let d=Y;dt.trim())}function Ef(e,t,n){e.queries===null&&(e.queries=new Ns),e.queries.track(new As(t,n))}function Rv(e,t){let n=e.contentQueries||(e.contentQueries=[]),r=n.length?n[n.length-1]:-1;t!==r&&n.push(e.queries.length-1,t)}function qa(e,t){return e.queries.getByIndex(t)}function Pv(e,t){let n=e[v],r=qa(n,t);return r.crossesNgTemplate?Os(n,e,t,[]):wf(n,e,r,t)}function kv(e){return typeof e=="function"&&e[ke]!==void 0}function ST(e,t){lt("NgSignals");let n=bu(e),r=n[ke];return t?.equal&&(r.equal=t.equal),n.set=o=>pn(r,o),n.update=o=>_u(r,o),n.asReadonly=Cf.bind(n),n}function Cf(){let e=this[ke];if(e.readonlyFn===void 0){let t=()=>this();t[ke]=e,e.readonlyFn=t}return e.readonlyFn}function bf(e){return kv(e)&&typeof e.set=="function"}function _f(e){let t=Object.create($h),n=new ns;t.value=e;function r(){return ti(t),Pc(t.value),t.value}return r[ke]=t,r.asReadonly=Cf.bind(r),r.set=o=>{t.equal(t.value,o)||(pn(t,o),n.emit(o))},r.update=o=>{Pc(t.value),r.set(o(t.value))},r.subscribe=n.subscribe.bind(n),r.destroyRef=n.destroyRef,r}function Pc(e){if(e===Jc)throw new b(-952,!1)}function kc(e){return _f(e)}function Lv(){return _f(Jc)}var TT=(kc.required=Lv,kc);function jv(e){return Object.getPrototypeOf(e.prototype).constructor}function Vv(e){let t=jv(e.type),n=!0,r=[e];for(;t;){let o;if(nt(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new b(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=Tr(e.inputs),s.inputTransforms=Tr(e.inputTransforms),s.declaredInputs=Tr(e.declaredInputs),s.outputs=Tr(e.outputs);let a=o.hostBindings;a&&Gv(e,a);let u=o.viewQuery,c=o.contentQueries;if(u&&Hv(e,u),c&&Uv(e,c),Bv(e,o),Uh(e.outputs,o.outputs),nt(o)&&o.data.animation){let l=e.data;l.animation=(l.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=xn(o.hostAttrs,n=xn(n,o.hostAttrs))}}function Tr(e){return e===Jt?{}:e===ee?[]:e}function Hv(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function Uv(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function Gv(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function zv(e){let t=e.inputConfig,n={};for(let r in t)if(t.hasOwnProperty(r)){let o=t[r];Array.isArray(o)&&o[3]&&(n[r]=o[3])}e.inputTransforms=n}var it=class{},Fs=class{};var Rs=class extends it{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new no(this);let o=El(t);this._bootstrapComponents=Rd(o.bootstrap),this._r3Injector=dd(t,n,[{provide:it,useValue:this},{provide:Po,useValue:this.componentFactoryResolver},...r],te(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},Ps=class extends Fs{constructor(t){super(),this.moduleType=t}create(t){return new Rs(this.moduleType,t,[])}};var oo=class extends it{constructor(t){super(),this.componentFactoryResolver=new no(this),this.instance=null;let n=new Sn([...t.providers,{provide:it,useValue:this},{provide:Po,useValue:this.componentFactoryResolver}],t.parent||po(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Wv(e,t,n=null){return new oo({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var Ya=(()=>{let t=class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new gn(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let r=this.taskId++;return this.pendingTasks.add(r),r}remove(r){this.pendingTasks.delete(r),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=j({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Mf(e){return Qa(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function qv(e,t){if(Array.isArray(e))for(let n=0;n>17&32767}function ew(e){return(e&2)==2}function tw(e,t){return e&131071|t<<17}function js(e){return e|2}function rn(e){return(e&131068)>>2}function Ri(e,t){return e&-131069|t<<2}function nw(e){return(e&1)===1}function Vs(e){return e|1}function rw(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=Tt(s),u=rn(s);e[r]=n;let c=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||$n(d,l)>0)&&(c=!0)}else l=n;if(o)if(u!==0){let p=Tt(e[a+1]);e[r+1]=Nr(p,a),p!==0&&(e[p+1]=Ri(e[p+1],r)),e[a+1]=tw(e[a+1],r)}else e[r+1]=Nr(a,0),a!==0&&(e[a+1]=Ri(e[a+1],r)),a=r;else e[r+1]=Nr(u,0),a===0?a=r:e[u+1]=Ri(e[u+1],r),u=r;c&&(e[r+1]=js(e[r+1])),Lc(e,l,r,!0),Lc(e,l,r,!1),ow(t,l,e,r,i),s=Nr(a,u),i?t.classBindings=s:t.styleBindings=s}function ow(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&$n(i,t)>=0&&(n[r+1]=Vs(n[r+1]))}function Lc(e,t,n,r){let o=e[n+1],i=t===null,s=r?Tt(o):rn(o),a=!1;for(;s!==0&&(a===!1||i);){let u=e[s],c=e[s+1];iw(u,t)&&(a=!0,e[s+1]=r?Vs(c):js(c)),s=r?Tt(c):rn(c)}a&&(e[n+1]=r?js(o):Vs(o))}function iw(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?$n(e,t)>=0:!1}var z={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Nf(e){return e.substring(z.key,z.keyEnd)}function sw(e){return e.substring(z.value,z.valueEnd)}function aw(e){return Ff(e),Af(e,on(e,0,z.textEnd))}function Af(e,t){let n=z.textEnd;return n===t?-1:(t=z.keyEnd=cw(e,z.key=t,n),on(e,t,n))}function uw(e){return Ff(e),Of(e,on(e,0,z.textEnd))}function Of(e,t){let n=z.textEnd,r=z.key=on(e,t,n);return n===r?-1:(r=z.keyEnd=lw(e,r,n),r=jc(e,r,n,58),r=z.value=on(e,r,n),r=z.valueEnd=dw(e,r,n),jc(e,r,n,59))}function Ff(e){z.key=0,z.keyEnd=0,z.value=0,z.valueEnd=0,z.textEnd=e.length}function on(e,t,n){for(;t32;)t++;return t}function lw(e,t,n){let r;for(;t=65&&(r&-33)<=90||r>=48&&r<=57);)t++;return t}function jc(e,t,n,r){return t=on(e,t,n),t32&&(a=s),i=o,o=r,r=u&-33}return a}function Vc(e,t,n,r){let o=-1,i=n;for(;i=0;n=Of(t,n))Vf(e,Nf(t),sw(t))}function AT(e){kf(Iw,gw,e,!0)}function gw(e,t){for(let n=aw(t);n>=0;n=Af(t,n))fo(e,Nf(t),!0)}function Pf(e,t,n,r){let o=w(),i=V(),s=Wl(2);if(i.firstUpdatePass&&jf(i,e,s,r),t!==xe&&me(o,s,t)){let a=i.data[ut()];Bf(i,a,o,o[R],e,o[s+1]=Cw(t,n),r,s)}}function kf(e,t,n,r){let o=V(),i=Wl(2);o.firstUpdatePass&&jf(o,null,i,r);let s=w();if(n!==xe&&me(s,i,n)){let a=o.data[ut()];if($f(a,r)&&!Lf(o,i)){let u=r?a.classesWithoutHost:a.stylesWithoutHost;u!==null&&(n=$i(u,n||"")),Bs(o,a,s,n,r)}else Ew(o,a,s,s[R],s[i+1],s[i+1]=ww(e,t,n),r,i)}}function Lf(e,t){return t>=e.expandoStartIndex}function jf(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[ut()],s=Lf(e,n);$f(i,r)&&t===null&&!s&&(t=!1),t=mw(o,i,t,r),rw(o,i,t,n,s,r)}}function mw(e,t,n,r){let o=fm(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Pi(null,e,t,n,r),n=jn(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=Pi(o,e,t,n,r),i===null){let u=yw(e,t,r);u!==void 0&&Array.isArray(u)&&(u=Pi(null,e,t,u[1],r),u=jn(u,t.attrs,r),Dw(e,t,r,u))}else i=vw(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function yw(e,t,n){let r=n?t.classBindings:t.styleBindings;if(rn(r)!==0)return e[Tt(r)]}function Dw(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[Tt(o)]=r}function vw(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0;){let u=e[o],c=Array.isArray(u),l=c?u[1]:u,d=l===null,p=n[o+1];p===xe&&(p=d?ee:void 0);let f=d?Ci(p,r):l===r?p:void 0;if(c&&!io(f)&&(f=Ci(u,r)),io(f)&&(a=f,s))return a;let h=e[o+1];o=s?Tt(h):rn(h)}if(t!==null){let u=i?t.residualClasses:t.residualStyles;u!=null&&(a=Ci(u,r))}return a}function io(e){return e!==void 0}function Cw(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=te(Ft(e)))),e}function $f(e,t){return(e.flags&(t?8:16))!==0}var $s=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t))}};function ki(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function bw(e,t,n){let r,o,i=0,s=e.length-1;if(Array.isArray(t)){let a=t.length-1;for(;i<=s&&i<=a;){let u=e.at(i),c=t[i],l=ki(i,u,i,c,n);if(l!==0){l<0&&e.updateValue(i,c),i++;continue}let d=e.at(s),p=t[a],f=ki(s,d,a,p,n);if(f!==0){f<0&&e.updateValue(s,p),s--,a--;continue}let h=n(i,u),g=n(s,d),N=n(i,c);if(Object.is(N,g)){let S=n(a,p);Object.is(S,h)?(e.swap(i,s),e.updateValue(s,p),a--,s--):e.move(s,i),e.updateValue(i,c),i++;continue}if(r??=new so,o??=Hc(e,i,s,n),Hs(e,r,i,N))e.updateValue(i,c),i++,s++;else if(o.has(N))r.set(h,e.detach(i)),s--;else{let S=e.create(i,t[i]);e.attach(i,S),i++,s++}}for(;i<=a;)$c(e,r,n,i,t[i]),i++}else if(t!=null){let a=t[Symbol.iterator](),u=a.next();for(;!u.done&&i<=s;){let c=e.at(i),l=u.value,d=ki(i,c,i,l,n);if(d!==0)d<0&&e.updateValue(i,l),i++,u=a.next();else{r??=new so,o??=Hc(e,i,s,n);let p=n(i,l);if(Hs(e,r,i,p))e.updateValue(i,l),i++,s++,u=a.next();else if(!o.has(p))e.attach(i,e.create(i,l)),i++,s++,u=a.next();else{let f=n(i,c);r.set(f,e.detach(i)),s--}}}for(;!u.done;)$c(e,r,n,e.length,u.value),u=a.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(a=>{e.destroy(a)})}function Hs(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function $c(e,t,n,r,o){if(Hs(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Hc(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var so=class{constructor(){this.kvMap=new Map,this._vMap=void 0}has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};function OT(e,t,n){lt("NgControlFlow");let r=w(),o=At(),i=Ws(r,B+e),s=0;if(me(r,o,t)){let a=_(null);try{if(sf(i,s),t!==-1){let u=qs(r[v],B+t),c=Ln(i,u.tView.ssrId),l=No(r,u,n,{dehydratedView:c});Ao(i,l,s,kn(u,c))}}finally{_(a)}}else{let a=of(i,s);a!==void 0&&(a[Q]=n)}}var Us=class{constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-Y}};function FT(e,t){return t}var Gs=class{constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function RT(e,t,n,r,o,i,s,a,u,c,l,d,p){lt("NgControlFlow");let f=u!==void 0,h=w(),g=a?s.bind(h[se][Q]):s,N=new Gs(f,g);h[B+e]=N,Ls(e+1,t,n,r,o,i),f&&Ls(e+2,u,c,l,d,p)}var zs=class extends $s{constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-Y}at(t){return this.getLView(t)[Q].$implicit}attach(t,n){let r=n[ue];this.needsIndexUpdate||=t!==this.length,Ao(this.lContainer,n,t,kn(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,_w(this.lContainer,t)}create(t,n){let r=Ln(this.lContainer,this.templateTNode.tView.ssrId);return No(this.hostLView,this.templateTNode,new Us(this.lContainer,n,t),{dehydratedView:r})}destroy(t){bo(t[v],t)}updateValue(t,n){this.getLView(t)[Q].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t(Re(!0),Co(r,o,Xl()));function Tw(e,t,n,r,o,i){let s=t[ue],a=!s||an()||Yn(n)||wo(s,i);if(Re(a),a)return Co(r,o,Xl());let u=Fo(s,e,t,n);return bd(s,i)&&vo(s,i,u.nextSibling),s&&(pd(n)||hd(u))&&Un(n)&&(om(n),$d(u)),u}function Nw(){Gf=Tw}function Aw(e,t,n,r,o){let i=t.consts,s=nn(i,r),a=ln(t,e,8,"ng-container",s);s!==null&&to(a,s,!0);let u=nn(i,o);return Ba(t,n,a,u),t.queries!==null&&t.queries.elementStart(t,a),a}function zf(e,t,n){let r=w(),o=V(),i=e+B,s=o.firstCreatePass?Aw(i,o,r,t,n):o.data[i];Nt(s,!0);let a=qf(o,r,s,e);return r[i]=a,mo()&&_o(o,r,a,s),rt(a,r),go(s)&&(La(o,r,s),ka(o,s,r)),n!=null&&ja(r,s),zf}function Wf(){let e=K(),t=V();return Da()?va():(e=e.parent,Nt(e,!1)),t.firstCreatePass&&(yo(t,e),fa(e)&&t.queries.elementEnd(e)),Wf}function Ow(e,t,n){return zf(e,t,n),Wf(),Ow}var qf=(e,t,n,r)=>(Re(!0),Oa(t[R],""));function Fw(e,t,n,r){let o,i=t[ue],s=!i||an()||Yn(n);if(Re(s),s)return Oa(t[R],"");let a=Fo(i,e,t,n),u=sy(i,r);return vo(i,r,a),o=Ro(u,a),o}function Rw(){qf=Fw}function kT(){return w()}function Pw(e,t,n){let r=w(),o=At();if(me(r,o,t)){let i=V(),s=Gn();So(i,s,r,e,t,r[R],n,!0)}return Pw}var vt=void 0;function kw(e){let t=e,n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return n===1&&r===0?1:5}var Lw=["en",[["a","p"],["AM","PM"],vt],[["AM","PM"],vt,vt],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],vt,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],vt,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",vt,"{1} 'at' {0}",vt],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",kw],Li={};function ye(e){let t=jw(e),n=Uc(t);if(n)return n;let r=t.split("-")[0];if(n=Uc(r),n)return n;if(r==="en")return Lw;throw new b(701,!1)}function Uc(e){return e in Li||(Li[e]=he.ng&&he.ng.common&&he.ng.common.locales&&he.ng.common.locales[e]),Li[e]}var H=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(H||{});function jw(e){return e.toLowerCase().replace(/_/g,"-")}var ao="en-US";var Vw=ao;function Bw(e){typeof e=="string"&&(Vw=e.toLowerCase().replace(/_/g,"-"))}function Yf(e,t,n){let r=e[R];switch(n){case Node.COMMENT_NODE:return Oa(r,t);case Node.TEXT_NODE:return Aa(r,t);case Node.ELEMENT_NODE:return Co(r,t,null)}}var $w=(e,t,n,r)=>(Re(!0),Yf(e,n,r));function Hw(e,t,n,r){return Re(!0),Yf(e,n,r)}function Uw(){$w=Hw}function Gw(e,t,n,r){let o=w(),i=V(),s=K();return Qf(i,o,o[R],s,e,t,r),Gw}function zw(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;iu?a[u]:null}typeof s=="string"&&(i+=2)}return null}function Qf(e,t,n,r,o,i,s){let a=go(r),c=e.firstCreatePass&&nf(e),l=t[Q],d=tf(t),p=!0;if(r.type&3||s){let g=le(r,t),N=s?s(g):g,S=d.length,fe=s?Pe=>s(Me(Pe[r.index])):r.index,re=null;if(!s&&a&&(re=zw(e,t,o,r.index)),re!==null){let Pe=re.__ngLastListenerFn__||re;Pe.__ngNextListenerFn__=i,re.__ngLastListenerFn__=i,p=!1}else{i=zc(r,t,l,i,!1);let Pe=n.listen(N,o,i);d.push(i,Pe),c&&c.push(o,fe,S,S+1)}}else i=zc(r,t,l,i,!1);let f=r.outputs,h;if(p&&f!==null&&(h=f[o])){let g=h.length;if(g)for(let N=0;N-1?at(e.index,t):t;Ua(a);let u=Gc(t,n,r,s),c=i.__ngNextListenerFn__;for(;c;)u=Gc(t,n,c,s)&&u,c=c.__ngNextListenerFn__;return o&&u===!1&&s.preventDefault(),u}}function LT(e=1){return hm(e)}function Ww(e,t){let n=null,r=vg(e);for(let o=0;o=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function GT(e){let t=am();return ga(t,B+e)}function zT(e,t=""){let n=w(),r=V(),o=e+B,i=r.firstCreatePass?ln(r,o,1,t,null):r.data[o],s=Kf(r,n,i,t,e);n[o]=s,mo()&&_o(r,n,s,i),Nt(i,!1)}var Kf=(e,t,n,r,o)=>(Re(!0),Aa(t[R],r));function Qw(e,t,n,r,o){let i=t[ue],s=!i||an()||Yn(n)||wo(i,o);return Re(s),s?Aa(t[R],r):Fo(i,e,t,n)}function Zw(){Kf=Qw}function Kw(e){return Jf("",e,""),Kw}function Jf(e,t,n){let r=w(),o=Tf(r,e,t,n);return o!==xe&&_D(r,ut(),o),Jf}function Jw(e,t,n){bf(t)&&(t=t());let r=w(),o=At();if(me(r,o,t)){let i=V(),s=Gn();So(i,s,r,e,t,r[R],n,!1)}return Jw}function WT(e,t){let n=bf(e);return n&&e.set(t),n}function Xw(e,t){let n=w(),r=V(),o=K();return Qf(r,n,n[R],o,e,t),Xw}function eI(e,t,n){let r=V();if(r.firstCreatePass){let o=nt(e);Ys(n,r.data,r.blueprint,o,!0),Ys(t,r.data,r.blueprint,o,!1)}}function Ys(e,t,n,r,o){if(e=X(e),Array.isArray(e))for(let i=0;i>20;if(Xt(e)||!e.multi){let f=new _t(c,o,$),h=Vi(u,t,o?l:l+p,d);h===-1?(Xi(qr(a,s),i,u),ji(i,e,t.length),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[h]=f,s[h]=f)}else{let f=Vi(u,t,l+p,d),h=Vi(u,t,l,l+p),g=f>=0&&n[f],N=h>=0&&n[h];if(o&&!N||!o&&!g){Xi(qr(a,s),i,u);let S=rI(o?nI:tI,n.length,o,r,c);!o&&N&&(n[h].providerFactory=S),ji(i,e,t.length,0),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(S),s.push(S)}else{let S=Xf(n[o?h:f],c,!o&&r);ji(i,e,f>-1?f:h,S)}!o&&r&&N&&n[h].componentProviders++}}}function ji(e,t,n,r){let o=Xt(t),i=Rg(t);if(o||i){let u=(i?X(t.useClass):t).prototype.ngOnDestroy;if(u){let c=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let l=c.indexOf(n);l===-1?c.push(n,[r,u]):c[l+1].push(r,u)}else c.push(n,u)}}}function Xf(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Vi(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>eI(r,o?o(e):e,t)}}var oI=(()=>{let t=class t{constructor(r){this._injector=r,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(r){if(!r.standalone)return null;if(!this.cachedInjectors.has(r)){let o=Ml(!1,r.type),i=o.length>0?Wv([o],this._injector,`Standalone[${r.type.name}]`):null;this.cachedInjectors.set(r,i)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(let r of this.cachedInjectors.values())r!==null&&r.destroy()}finally{this.cachedInjectors.clear()}}};t.\u0275prov=j({token:t,providedIn:"environment",factory:()=>new t(Z(tt))});let e=t;return e})();function YT(e){lt("NgStandalone"),e.getStandaloneInjector=t=>t.get(oI).getOrCreateStandaloneInjector(e)}function QT(e,t,n){let r=un()+e,o=w();return o[r]===xe?Lo(o,r,n?t.call(n):t()):Yv(o,r)}function ZT(e,t,n,r){return ep(w(),un(),e,t,n,r)}function KT(e,t,n,r,o){return tp(w(),un(),e,t,n,r,o)}function JT(e,t,n,r,o,i,s){return iI(w(),un(),e,t,n,r,o,i,s)}function Za(e,t){let n=e[t];return n===xe?void 0:n}function ep(e,t,n,r,o,i){let s=t+n;return me(e,s,o)?Lo(e,s+1,i?r.call(i,o):r(o)):Za(e,s+1)}function tp(e,t,n,r,o,i,s){let a=t+n;return ks(e,a,o,i)?Lo(e,a+2,s?r.call(s,o,i):r(o,i)):Za(e,a+2)}function iI(e,t,n,r,o,i,s,a,u){let c=t+n;return Qv(e,c,o,i,s,a)?Lo(e,c+4,u?r.call(u,o,i,s,a):r(o,i,s,a)):Za(e,c+4)}function XT(e,t){let n=V(),r,o=e+B;n.firstCreatePass?(r=sI(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=Et(r.type,!0)),s,a=ie($);try{let u=Wr(!1),c=i();return Wr(u),Yw(n,w(),o,c),c}finally{ie(a)}}function sI(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function eN(e,t,n){let r=e+B,o=w(),i=ga(o,r);return np(o,r)?ep(o,un(),t,i.transform,n,i):i.transform(n)}function tN(e,t,n,r){let o=e+B,i=w(),s=ga(i,o);return np(i,o)?tp(i,un(),t,s.transform,n,r,s):s.transform(n,r)}function np(e,t){return e[v].data[t].pure}function nN(e,t){return Oo(e,t)}var rN=(()=>{let t=class t{log(r){console.log(r)}warn(r){console.warn(r)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=j({token:t,factory:t.\u0275fac,providedIn:"platform"});let e=t;return e})();var aI=new F("");function Ka(e){return!!e&&typeof e.then=="function"}function rp(e){return!!e&&typeof e.subscribe=="function"}var uI=new F(""),op=(()=>{let t=class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o}),this.appInits=E(uI,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let r=[];for(let i of this.appInits){let s=i();if(Ka(s))r.push(s);else if(rp(s)){let a=new Promise((u,c)=>{s.subscribe({complete:u,error:c})});r.push(a)}}let o=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{o()}).catch(i=>{this.reject(i)}),r.length===0&&o(),this.initialized=!0}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=j({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),ip=new F("");function cI(){Cu(()=>{throw new b(600,!1)})}function lI(e){return e.isBoundToModule}function dI(e,t,n){try{let r=n();return Ka(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var Ja=(()=>{let t=class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=E(fd),this.afterRenderEffectManager=E(za),this.externalTestViews=new Set,this.beforeRender=new pe,this.afterTick=new pe,this.componentTypes=[],this.components=[],this.isStable=E(Ya).hasPendingTasks.pipe(Ve(r=>!r)),this._injector=E(tt)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,o){let i=r instanceof eo;if(!this._injector.get(op).done){let f=!i&&Sg(r),h=!1;throw new b(405,h)}let a;i?a=r:a=this._injector.get(Po).resolveComponentFactory(r),this.componentTypes.push(a.componentType);let u=lI(a)?void 0:this._injector.get(it),c=o||a.selector,l=a.create(Ot.NULL,[],c,u),d=l.location.nativeElement,p=l.injector.get(aI,null);return p?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),Bi(this.components,l),p?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){this._tick(!0)}_tick(r){if(this._runningTick)throw new b(101,!1);let o=_(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(r)}catch(i){this.internalErrorHandler(i)}finally{this.afterTick.next(),this._runningTick=!1,_(o)}}detectChangesInAttachedViews(r){let o=0,i=this.afterRenderEffectManager;for(;;){if(o===uf)throw new b(103,!1);if(r){let s=o===0;this.beforeRender.next(s);for(let{_lView:a,notifyErrorHandler:u}of this._views)pI(a,s,u)}if(o++,i.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>Zs(s))&&(i.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>Zs(s))))break}}attachView(r){let o=r;this._views.push(o),o.attachToAppRef(this)}detachView(r){let o=r;Bi(this._views,o),o.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);let o=this._injector.get(ip,[]);[...this._bootstrapListeners,...o].forEach(i=>i(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>Bi(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new b(406,!1);let r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=j({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Bi(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}var Ar;function fI(e){Ar??=new WeakMap;let t=Ar.get(e);if(t)return t;let n=e.isStable.pipe(vi(r=>r)).toPromise().then(()=>{});return Ar.set(e,n),e.onDestroy(()=>Ar?.delete(e)),n}function pI(e,t,n){!t&&!Zs(e)||hI(e,n,t)}function Zs(e){return ya(e)}function hI(e,t,n){let r;n?(r=0,e[D]|=1024):e[D]&64?r=0:r=1,cf(e,t,r)}var Ks=class{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},oN=(()=>{let t=class t{compileModuleSync(r){return new Ps(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){let o=this.compileModuleSync(r),i=El(r),s=Rd(i.declarations).reduce((a,u)=>{let c=$e(u);return c&&a.push(new St(c)),a},[]);return new Ks(o,s)}compileModuleAndAllComponentsAsync(r){return Promise.resolve(this.compileModuleAndAllComponentsSync(r))}clearCache(){}clearCacheFor(r){}getModuleId(r){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=j({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var gI=(()=>{let t=class t{constructor(){this.zone=E(ge),this.applicationRef=E(Ja)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=j({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function mI(e){return[{provide:ge,useFactory:e},{provide:_n,multi:!0,useFactory:()=>{let t=E(gI,{optional:!0});return()=>t.initialize()}},{provide:_n,multi:!0,useFactory:()=>{let t=E(wI);return()=>{t.initialize()}}},{provide:fd,useFactory:yI}]}function yI(){let e=E(ge),t=E(Ge);return n=>e.runOutsideAngular(()=>t.handleError(n))}function DI(e){let t=mI(()=>new ge(vI(e)));return _l([[],t])}function vI(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var wI=(()=>{let t=class t{constructor(){this.subscription=new G,this.initialized=!1,this.zone=E(ge),this.pendingTasks=E(Ya)}initialize(){if(this.initialized)return;this.initialized=!0;let r=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(r=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{ge.assertNotInAngularZone(),queueMicrotask(()=>{r!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(r),r=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{ge.assertInAngularZone(),r??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=j({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function II(){return typeof $localize<"u"&&$localize.locale||ao}var jo=new F("",{providedIn:"root",factory:()=>E(jo,x.Optional|x.SkipSelf)||II()});var sp=new F("");var jr=null;function EI(e=[],t){return Ot.create({name:t,providers:[{provide:Tl,useValue:"platform"},{provide:sp,useValue:new Set([()=>jr=null])},...e]})}function CI(e=[]){if(jr)return jr;let t=EI(e);return jr=t,cI(),bI(t),t}function bI(e){e.get(zm,null)?.forEach(n=>n())}var Xa=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=_I;let e=t;return e})();function _I(e){return MI(K(),w(),(e&16)===16)}function MI(e,t,n){if(Un(e)&&!n){let r=at(e.index,t);return new xt(r,r)}else if(e.type&47){let r=t[se];return new xt(r,t)}return null}var Js=class{constructor(){}supports(t){return Mf(t)}create(t){return new Xs(t)}},xI=(e,t)=>t,Xs=class{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||xI}forEachItem(t){let n;for(n=this._itHead;n!==null;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){let s=!r||n&&n.currentIndex{s=this._trackByFn(o,a),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,a,s,o),r=!0):(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return t===null?i=this._itTail:(i=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):(t=this._linkedRecords===null?null:this._linkedRecords.get(r,o),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new ea(n,r),i,o)),t}_verifyReinsertion(t,n,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;t!==null;){let n=t._next;this._addToRemovals(this._unlink(t)),t=n}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let o=t._prevRemoved,i=t._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){let o=n===null?this._itHead:n._next;return t._next=o,t._prev=n,o===null?this._itTail=t:o._prev=t,n===null?this._itHead=t:n._next=t,this._linkedRecords===null&&(this._linkedRecords=new uo),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let n=t._prev,r=t._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new uo),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}},ea=class{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}},ta=class{constructor(){this._head=null,this._tail=null}add(t){this._head===null?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){let n=t._prevDup,r=t._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}},uo=class{constructor(){this.map=new Map}put(t){let n=t.trackById,r=this.map.get(n);r||(r=new ta,this.map.set(n,r)),r.add(t)}get(t,n){let r=t,o=this.map.get(r);return o?o.get(t,n):null}remove(t){let n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function Wc(e,t,n){let r=e.previousIndex;if(r===null)return r;let o=0;return n&&r{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{let i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){let r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){let o=this._records.get(t);this._maybeAddToChanges(o,n);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new oa(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;t!==null;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;t!=null;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){this._additionsHead===null?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){this._changesHead===null?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}},oa=class{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}};function qc(){return new eu([new Js])}var eu=(()=>{let t=class t{constructor(r){this.factories=r}static create(r,o){if(o!=null){let i=o.factories.slice();r=r.concat(i)}return new t(r)}static extend(r){return{provide:t,useFactory:o=>t.create(r,o||qc()),deps:[[t,new ll,new cl]]}}find(r){let o=this.factories.find(i=>i.supports(r));if(o!=null)return o;throw new b(901,!1)}};t.\u0275prov=j({token:t,providedIn:"root",factory:qc});let e=t;return e})();function Yc(){return new tu([new na])}var tu=(()=>{let t=class t{constructor(r){this.factories=r}static create(r,o){if(o){let i=o.factories.slice();r=r.concat(i)}return new t(r)}static extend(r){return{provide:t,useFactory:o=>t.create(r,o||Yc()),deps:[[t,new ll,new cl]]}}find(r){let o=this.factories.find(i=>i.supports(r));if(o)return o;throw new b(901,!1)}};t.\u0275prov=j({token:t,providedIn:"root",factory:Yc});let e=t;return e})();function iN(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=CI(r),i=[DI(),...n||[]],a=new oo({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,u=a.get(ge);return u.run(()=>{a.resolveInjectorInitializers();let c=a.get(Ge,null),l;u.runOutsideAngular(()=>{l=u.onError.subscribe({next:f=>{c.handleError(f)}})});let d=()=>a.destroy(),p=o.get(sp);return p.add(d),a.onDestroy(()=>{l.unsubscribe(),p.delete(d)}),dI(c,u,()=>{let f=a.get(op);return f.runInitializers(),f.donePromise.then(()=>{let h=a.get(jo,ao);Bw(h||ao);let g=a.get(Ja);return t!==void 0&&g.bootstrap(t),g})})})}catch(t){return Promise.reject(t)}}var Qc=!1,SI=!1;function TI(){Qc||(Qc=!0,ny(),Nw(),Zw(),Rw(),Jv(),_v(),XD(),iD(),Uw())}function NI(e,t){return fI(e)}function sN(){return _l([{provide:_r,useFactory:()=>{let e=!0;return En()&&(e=!!E(ba,{optional:!0})?.get(Ed,null)),e&<("NgHydration"),e}},{provide:_n,useValue:()=>{SI=!!E(ay,{optional:!0}),En()&&E(_r)&&(AI(),TI())},multi:!0},{provide:Md,useFactory:()=>En()&&E(_r)},{provide:ip,useFactory:()=>{if(En()&&E(_r)){let e=E(Ja),t=E(Ot);return()=>{NI(e,t).then(()=>{GD(e)})}}return()=>{}},multi:!0}])}function AI(){let e=Wn(),t;for(let n of e.body.childNodes)if(n.nodeType===Node.COMMENT_NODE&&n.textContent?.trim()===ey){t=n;break}if(!t)throw new b(-507,!1)}function OI(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function FI(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}var RI=new F("",{providedIn:"root",factory:()=>E(PI)}),PI=(()=>{let t=class t{};t.\u0275prov=j({token:t,providedIn:"root",factory:()=>new ia});let e=t;return e})(),ia=class{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=E(Ya),this.taskId=null}scheduleEffect(t){if(this.enqueue(t),this.taskId===null){let n=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(n),this.taskId=null})}}enqueue(t){let n=t.creationZone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||(this.queuedEffectCount++,r.add(t))}flush(){for(;this.queuedEffectCount>0;)for(let[t,n]of this.queues)t===null?this.flushQueue(n):t.run(()=>this.flushQueue(n))}flushQueue(t){for(let n of t)t.delete(n),this.queuedEffectCount--,n.run()}},sa=class{constructor(t,n,r,o,i,s){this.scheduler=t,this.effectFn=n,this.creationZone=r,this.injector=i,this.watcher=Mu(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}runEffect(t){try{this.effectFn(t)}catch(n){this.injector.get(Ge,null,{optional:!0})?.handleError(n)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}};function kI(e,t){lt("NgSignals"),!t?.injector&&Ol(kI);let n=t?.injector??E(Ot),r=t?.manualCleanup!==!0?n.get(zn):null,o=new sa(n.get(RI),e,typeof Zone>"u"?null:Zone.current,r,n,t?.allowSignalWrites??!1),i=n.get(Xa,null,{optional:!0});return!i||!(i._lView[D]&8)?o.watcher.notify():(i._lView[Fr]??=[]).push(o.watcher.notify),o}function aN(e,t){let n=$e(e),r=t.elementInjector||po();return new St(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector)}function uN(e){let t=$e(e);if(!t)return null;let n=new St(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}var gp=null;function nu(){return gp}function TN(e){gp??=e}var ap=class{};var fu=new F(""),pu=(()=>{let t=class t{historyGo(r){throw new Error("")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=j({token:t,factory:()=>E(jI),providedIn:"platform"});let e=t;return e})(),NN=new F(""),jI=(()=>{let t=class t extends pu{constructor(){super(),this._doc=E(fu),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return nu().getBaseHref(this._doc)}onPopState(r){let o=nu().getGlobalEventTarget(this._doc,"window");return o.addEventListener("popstate",r,!1),()=>o.removeEventListener("popstate",r)}onHashChange(r){let o=nu().getGlobalEventTarget(this._doc,"window");return o.addEventListener("hashchange",r,!1),()=>o.removeEventListener("hashchange",r)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(r){this._location.pathname=r}pushState(r,o,i){this._history.pushState(r,o,i)}replaceState(r,o,i){this._history.replaceState(r,o,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(r=0){this._history.go(r)}getState(){return this._history.state}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=j({token:t,factory:()=>new t,providedIn:"platform"});let e=t;return e})();function hu(e,t){if(e.length==0)return t;if(t.length==0)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,n==2?e+t.substring(1):n==1?e+t:e+"/"+t}function up(e){let t=e.match(/#|\?|$/),n=t&&t.index||e.length,r=n-(e[n-1]==="/"?1:0);return e.slice(0,r)+e.slice(n)}function Ye(e){return e&&e[0]!=="?"?"?"+e:e}var Yo=(()=>{let t=class t{historyGo(r){throw new Error("")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=j({token:t,factory:()=>E(VI),providedIn:"root"});let e=t;return e})(),mp=new F(""),VI=(()=>{let t=class t extends Yo{constructor(r,o){super(),this._platformLocation=r,this._removeListenerFns=[],this._baseHref=o??this._platformLocation.getBaseHrefFromDOM()??E(fu).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(r){this._removeListenerFns.push(this._platformLocation.onPopState(r),this._platformLocation.onHashChange(r))}getBaseHref(){return this._baseHref}prepareExternalUrl(r){return hu(this._baseHref,r)}path(r=!1){let o=this._platformLocation.pathname+Ye(this._platformLocation.search),i=this._platformLocation.hash;return i&&r?`${o}${i}`:o}pushState(r,o,i,s){let a=this.prepareExternalUrl(i+Ye(s));this._platformLocation.pushState(r,o,a)}replaceState(r,o,i,s){let a=this.prepareExternalUrl(i+Ye(s));this._platformLocation.replaceState(r,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(r=0){this._platformLocation.historyGo?.(r)}};t.\u0275fac=function(o){return new(o||t)(Z(pu),Z(mp,8))},t.\u0275prov=j({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),AN=(()=>{let t=class t extends Yo{constructor(r,o){super(),this._platformLocation=r,this._baseHref="",this._removeListenerFns=[],o!=null&&(this._baseHref=o)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(r){this._removeListenerFns.push(this._platformLocation.onPopState(r),this._platformLocation.onHashChange(r))}getBaseHref(){return this._baseHref}path(r=!1){let o=this._platformLocation.hash??"#";return o.length>0?o.substring(1):o}prepareExternalUrl(r){let o=hu(this._baseHref,r);return o.length>0?"#"+o:o}pushState(r,o,i,s){let a=this.prepareExternalUrl(i+Ye(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.pushState(r,o,a)}replaceState(r,o,i,s){let a=this.prepareExternalUrl(i+Ye(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(r,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(r=0){this._platformLocation.historyGo?.(r)}};t.\u0275fac=function(o){return new(o||t)(Z(pu),Z(mp,8))},t.\u0275prov=j({token:t,factory:t.\u0275fac});let e=t;return e})(),BI=(()=>{let t=class t{constructor(r){this._subject=new wt,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=r;let o=this._locationStrategy.getBaseHref();this._basePath=UI(up(cp(o))),this._locationStrategy.onPopState(i=>{this._subject.emit({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(r=!1){return this.normalize(this._locationStrategy.path(r))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(r,o=""){return this.path()==this.normalize(r+Ye(o))}normalize(r){return t.stripTrailingSlash(HI(this._basePath,cp(r)))}prepareExternalUrl(r){return r&&r[0]!=="/"&&(r="/"+r),this._locationStrategy.prepareExternalUrl(r)}go(r,o="",i=null){this._locationStrategy.pushState(i,"",r,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+Ye(o)),i)}replaceState(r,o="",i=null){this._locationStrategy.replaceState(i,"",r,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+Ye(o)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(r=0){this._locationStrategy.historyGo?.(r)}onUrlChange(r){return this._urlChangeListeners.push(r),this._urlChangeSubscription??=this.subscribe(o=>{this._notifyUrlChangeListeners(o.url,o.state)}),()=>{let o=this._urlChangeListeners.indexOf(r);this._urlChangeListeners.splice(o,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(r="",o){this._urlChangeListeners.forEach(i=>i(r,o))}subscribe(r,o,i){return this._subject.subscribe({next:r,error:o,complete:i})}};t.normalizeQueryParams=Ye,t.joinWithSlash=hu,t.stripTrailingSlash=up,t.\u0275fac=function(o){return new(o||t)(Z(Yo))},t.\u0275prov=j({token:t,factory:()=>$I(),providedIn:"root"});let e=t;return e})();function $I(){return new BI(Z(Yo))}function HI(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function cp(e){return e.replace(/\/index.html$/,"")}function UI(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}var ne=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(ne||{}),k=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(k||{}),de=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(de||{}),ft={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function GI(e){return ye(e)[H.LocaleId]}function zI(e,t,n){let r=ye(e),o=[r[H.DayPeriodsFormat],r[H.DayPeriodsStandalone]],i=De(o,t);return De(i,n)}function WI(e,t,n){let r=ye(e),o=[r[H.DaysFormat],r[H.DaysStandalone]],i=De(o,t);return De(i,n)}function qI(e,t,n){let r=ye(e),o=[r[H.MonthsFormat],r[H.MonthsStandalone]],i=De(o,t);return De(i,n)}function YI(e,t){let r=ye(e)[H.Eras];return De(r,t)}function Vo(e,t){let n=ye(e);return De(n[H.DateFormat],t)}function Bo(e,t){let n=ye(e);return De(n[H.TimeFormat],t)}function $o(e,t){let r=ye(e)[H.DateTimeFormat];return De(r,t)}function Qo(e,t){let n=ye(e),r=n[H.NumberSymbols][t];if(typeof r>"u"){if(t===ft.CurrencyDecimal)return n[H.NumberSymbols][ft.Decimal];if(t===ft.CurrencyGroup)return n[H.NumberSymbols][ft.Group]}return r}function yp(e){if(!e[H.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[H.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function QI(e){let t=ye(e);return yp(t),(t[H.ExtraData][2]||[]).map(r=>typeof r=="string"?ru(r):[ru(r[0]),ru(r[1])])}function ZI(e,t,n){let r=ye(e);yp(r);let o=[r[H.ExtraData][0],r[H.ExtraData][1]],i=De(o,t)||[];return De(i,n)||[]}function De(e,t){for(let n=t;n>-1;n--)if(typeof e[n]<"u")return e[n];throw new Error("Locale data API: locale data undefined")}function ru(e){let[t,n]=e.split(":");return{hours:+t,minutes:+n}}var KI=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Ho={},JI=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,Qe=function(e){return e[e.Short=0]="Short",e[e.ShortGMT=1]="ShortGMT",e[e.Long=2]="Long",e[e.Extended=3]="Extended",e}(Qe||{}),O=function(e){return e[e.FullYear=0]="FullYear",e[e.Month=1]="Month",e[e.Date=2]="Date",e[e.Hours=3]="Hours",e[e.Minutes=4]="Minutes",e[e.Seconds=5]="Seconds",e[e.FractionalSeconds=6]="FractionalSeconds",e[e.Day=7]="Day",e}(O||{}),A=function(e){return e[e.DayPeriods=0]="DayPeriods",e[e.Days=1]="Days",e[e.Months=2]="Months",e[e.Eras=3]="Eras",e}(A||{});function XI(e,t,n,r){let o=uE(e);t=qe(n,t)||t;let s=[],a;for(;t;)if(a=JI.exec(t),a){s=s.concat(a.slice(1));let l=s.pop();if(!l)break;t=l}else{s.push(t);break}let u=o.getTimezoneOffset();r&&(u=vp(r,u),o=aE(o,r,!0));let c="";return s.forEach(l=>{let d=iE(l);c+=d?d(o,n,u):l==="''"?"'":l.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function qo(e,t,n){let r=new Date(0);return r.setFullYear(e,t,n),r.setHours(0,0,0),r}function qe(e,t){let n=GI(e);if(Ho[n]??={},Ho[n][t])return Ho[n][t];let r="";switch(t){case"shortDate":r=Vo(e,de.Short);break;case"mediumDate":r=Vo(e,de.Medium);break;case"longDate":r=Vo(e,de.Long);break;case"fullDate":r=Vo(e,de.Full);break;case"shortTime":r=Bo(e,de.Short);break;case"mediumTime":r=Bo(e,de.Medium);break;case"longTime":r=Bo(e,de.Long);break;case"fullTime":r=Bo(e,de.Full);break;case"short":let o=qe(e,"shortTime"),i=qe(e,"shortDate");r=Uo($o(e,de.Short),[o,i]);break;case"medium":let s=qe(e,"mediumTime"),a=qe(e,"mediumDate");r=Uo($o(e,de.Medium),[s,a]);break;case"long":let u=qe(e,"longTime"),c=qe(e,"longDate");r=Uo($o(e,de.Long),[u,c]);break;case"full":let l=qe(e,"fullTime"),d=qe(e,"fullDate");r=Uo($o(e,de.Full),[l,d]);break}return r&&(Ho[n][t]=r),r}function Uo(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(n,r){return t!=null&&r in t?t[r]:n})),e}function Se(e,t,n="-",r,o){let i="";(e<0||o&&e<=0)&&(o?e=-e+1:(e=-e,i=n));let s=String(e);for(;s.length0||a>-n)&&(a+=n),e===O.Hours)a===0&&n===-12&&(a=12);else if(e===O.FractionalSeconds)return eE(a,t);let u=Qo(s,ft.MinusSign);return Se(a,t,u,r,o)}}function tE(e,t){switch(e){case O.FullYear:return t.getFullYear();case O.Month:return t.getMonth();case O.Date:return t.getDate();case O.Hours:return t.getHours();case O.Minutes:return t.getMinutes();case O.Seconds:return t.getSeconds();case O.FractionalSeconds:return t.getMilliseconds();case O.Day:return t.getDay();default:throw new Error(`Unknown DateType value "${e}".`)}}function L(e,t,n=ne.Format,r=!1){return function(o,i){return nE(o,i,e,t,n,r)}}function nE(e,t,n,r,o,i){switch(n){case A.Months:return qI(t,o,r)[e.getMonth()];case A.Days:return WI(t,o,r)[e.getDay()];case A.DayPeriods:let s=e.getHours(),a=e.getMinutes();if(i){let c=QI(t),l=ZI(t,o,r),d=c.findIndex(p=>{if(Array.isArray(p)){let[f,h]=p,g=s>=f.hours&&a>=f.minutes,N=s0?Math.floor(o/60):Math.ceil(o/60);switch(e){case Qe.Short:return(o>=0?"+":"")+Se(s,2,i)+Se(Math.abs(o%60),2,i);case Qe.ShortGMT:return"GMT"+(o>=0?"+":"")+Se(s,1,i);case Qe.Long:return"GMT"+(o>=0?"+":"")+Se(s,2,i)+":"+Se(Math.abs(o%60),2,i);case Qe.Extended:return r===0?"Z":(o>=0?"+":"")+Se(s,2,i)+":"+Se(Math.abs(o%60),2,i);default:throw new Error(`Unknown zone width "${e}"`)}}}var rE=0,Wo=4;function oE(e){let t=qo(e,rE,1).getDay();return qo(e,0,1+(t<=Wo?Wo:Wo+7)-t)}function Dp(e){let t=e.getDay(),n=t===0?-3:Wo-t;return qo(e.getFullYear(),e.getMonth(),e.getDate()+n)}function ou(e,t=!1){return function(n,r){let o;if(t){let i=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,s=n.getDate();o=1+Math.floor((s+i)/7)}else{let i=Dp(n),s=oE(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return Se(o,e,Qo(r,ft.MinusSign))}}function zo(e,t=!1){return function(n,r){let i=Dp(n).getFullYear();return Se(i,e,Qo(r,ft.MinusSign),t)}}var iu={};function iE(e){if(iu[e])return iu[e];let t;switch(e){case"G":case"GG":case"GGG":t=L(A.Eras,k.Abbreviated);break;case"GGGG":t=L(A.Eras,k.Wide);break;case"GGGGG":t=L(A.Eras,k.Narrow);break;case"y":t=U(O.FullYear,1,0,!1,!0);break;case"yy":t=U(O.FullYear,2,0,!0,!0);break;case"yyy":t=U(O.FullYear,3,0,!1,!0);break;case"yyyy":t=U(O.FullYear,4,0,!1,!0);break;case"Y":t=zo(1);break;case"YY":t=zo(2,!0);break;case"YYY":t=zo(3);break;case"YYYY":t=zo(4);break;case"M":case"L":t=U(O.Month,1,1);break;case"MM":case"LL":t=U(O.Month,2,1);break;case"MMM":t=L(A.Months,k.Abbreviated);break;case"MMMM":t=L(A.Months,k.Wide);break;case"MMMMM":t=L(A.Months,k.Narrow);break;case"LLL":t=L(A.Months,k.Abbreviated,ne.Standalone);break;case"LLLL":t=L(A.Months,k.Wide,ne.Standalone);break;case"LLLLL":t=L(A.Months,k.Narrow,ne.Standalone);break;case"w":t=ou(1);break;case"ww":t=ou(2);break;case"W":t=ou(1,!0);break;case"d":t=U(O.Date,1);break;case"dd":t=U(O.Date,2);break;case"c":case"cc":t=U(O.Day,1);break;case"ccc":t=L(A.Days,k.Abbreviated,ne.Standalone);break;case"cccc":t=L(A.Days,k.Wide,ne.Standalone);break;case"ccccc":t=L(A.Days,k.Narrow,ne.Standalone);break;case"cccccc":t=L(A.Days,k.Short,ne.Standalone);break;case"E":case"EE":case"EEE":t=L(A.Days,k.Abbreviated);break;case"EEEE":t=L(A.Days,k.Wide);break;case"EEEEE":t=L(A.Days,k.Narrow);break;case"EEEEEE":t=L(A.Days,k.Short);break;case"a":case"aa":case"aaa":t=L(A.DayPeriods,k.Abbreviated);break;case"aaaa":t=L(A.DayPeriods,k.Wide);break;case"aaaaa":t=L(A.DayPeriods,k.Narrow);break;case"b":case"bb":case"bbb":t=L(A.DayPeriods,k.Abbreviated,ne.Standalone,!0);break;case"bbbb":t=L(A.DayPeriods,k.Wide,ne.Standalone,!0);break;case"bbbbb":t=L(A.DayPeriods,k.Narrow,ne.Standalone,!0);break;case"B":case"BB":case"BBB":t=L(A.DayPeriods,k.Abbreviated,ne.Format,!0);break;case"BBBB":t=L(A.DayPeriods,k.Wide,ne.Format,!0);break;case"BBBBB":t=L(A.DayPeriods,k.Narrow,ne.Format,!0);break;case"h":t=U(O.Hours,1,-12);break;case"hh":t=U(O.Hours,2,-12);break;case"H":t=U(O.Hours,1);break;case"HH":t=U(O.Hours,2);break;case"m":t=U(O.Minutes,1);break;case"mm":t=U(O.Minutes,2);break;case"s":t=U(O.Seconds,1);break;case"ss":t=U(O.Seconds,2);break;case"S":t=U(O.FractionalSeconds,1);break;case"SS":t=U(O.FractionalSeconds,2);break;case"SSS":t=U(O.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=Go(Qe.Short);break;case"ZZZZZ":t=Go(Qe.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=Go(Qe.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=Go(Qe.Long);break;default:return null}return iu[e]=t,t}function vp(e,t){e=e.replace(/:/g,"");let n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function sE(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function aE(e,t,n){let r=n?-1:1,o=e.getTimezoneOffset(),i=vp(t,o);return sE(e,r*(i-o))}function uE(e){if(lp(e))return e;if(typeof e=="number"&&!isNaN(e))return new Date(e);if(typeof e=="string"){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){let[o,i=1,s=1]=e.split("-").map(a=>+a);return qo(o,i-1,s)}let n=parseFloat(e);if(!isNaN(e-n))return new Date(n);let r;if(r=e.match(KI))return cE(r)}let t=new Date(e);if(!lp(t))throw new Error(`Unable to convert "${e}" into a date`);return t}function cE(e){let t=new Date(0),n=0,r=0,o=e[8]?t.setUTCFullYear:t.setFullYear,i=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),r=Number(e[9]+e[11])),o.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));let s=Number(e[4]||0)-n,a=Number(e[5]||0)-r,u=Number(e[6]||0),c=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return i.call(t,s,a,u,c),t}function lp(e){return e instanceof Date&&!isNaN(e.valueOf())}function ON(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var su=/\s+/,dp=[],FN=(()=>{let t=class t{constructor(r,o){this._ngEl=r,this._renderer=o,this.initialClasses=dp,this.stateMap=new Map}set klass(r){this.initialClasses=r!=null?r.trim().split(su):dp}set ngClass(r){this.rawClass=typeof r=="string"?r.trim().split(su):r}ngDoCheck(){for(let o of this.initialClasses)this._updateState(o,!0);let r=this.rawClass;if(Array.isArray(r)||r instanceof Set)for(let o of r)this._updateState(o,!0);else if(r!=null)for(let o of Object.keys(r))this._updateState(o,!!r[o]);this._applyStateDiff()}_updateState(r,o){let i=this.stateMap.get(r);i!==void 0?(i.enabled!==o&&(i.changed=!0,i.enabled=o),i.touched=!0):this.stateMap.set(r,{enabled:o,changed:!0,touched:!0})}_applyStateDiff(){for(let r of this.stateMap){let o=r[0],i=r[1];i.changed?(this._toggleClass(o,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(o,!1),this.stateMap.delete(o)),i.touched=!1}}_toggleClass(r,o){r=r.trim(),r.length>0&&r.split(su).forEach(i=>{o?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}};t.\u0275fac=function(o){return new(o||t)($(ct),$(ko))},t.\u0275dir=st({type:t,selectors:[["","ngClass",""]],inputs:{klass:[et.None,"class","klass"],ngClass:"ngClass"},standalone:!0});let e=t;return e})();var au=class{constructor(t,n,r,o){this.$implicit=t,this.ngForOf=n,this.index=r,this.count=o}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},RN=(()=>{let t=class t{set ngForOf(r){this._ngForOf=r,this._ngForOfDirty=!0}set ngForTrackBy(r){this._trackByFn=r}get ngForTrackBy(){return this._trackByFn}constructor(r,o,i){this._viewContainer=r,this._template=o,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(r){r&&(this._template=r)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let r=this._ngForOf;if(!this._differ&&r)if(0)try{}catch{}else this._differ=this._differs.find(r).create(this.ngForTrackBy)}if(this._differ){let r=this._differ.diff(this._ngForOf);r&&this._applyChanges(r)}}_applyChanges(r){let o=this._viewContainer;r.forEachOperation((i,s,a)=>{if(i.previousIndex==null)o.createEmbeddedView(this._template,new au(i.item,this._ngForOf,-1,-1),a===null?void 0:a);else if(a==null)o.remove(s===null?void 0:s);else if(s!==null){let u=o.get(s);o.move(u,a),fp(u,i)}});for(let i=0,s=o.length;i{let s=o.get(i.currentIndex);fp(s,i)})}static ngTemplateContextGuard(r,o){return!0}};t.\u0275fac=function(o){return new(o||t)($(dt),$(ot),$(eu))},t.\u0275dir=st({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});let e=t;return e})();function fp(e,t){e.context.$implicit=t.item}var PN=(()=>{let t=class t{constructor(r,o){this._viewContainer=r,this._context=new uu,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=o}set ngIf(r){this._context.$implicit=this._context.ngIf=r,this._updateView()}set ngIfThen(r){pp("ngIfThen",r),this._thenTemplateRef=r,this._thenViewRef=null,this._updateView()}set ngIfElse(r){pp("ngIfElse",r),this._elseTemplateRef=r,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(r,o){return!0}};t.\u0275fac=function(o){return new(o||t)($(dt),$(ot))},t.\u0275dir=st({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let e=t;return e})(),uu=class{constructor(){this.$implicit=null,this.ngIf=null}};function pp(e,t){if(!!!(!t||t.createEmbeddedView))throw new Error(`${e} must be a TemplateRef, but received '${te(t)}'.`)}var lE=!0,cu=class{constructor(t,n){this._viewContainerRef=t,this._templateRef=n,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}},dE=(()=>{let t=class t{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(r){this._ngSwitch=r,this._caseCount===0&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(r){this._defaultViews.push(r)}_matchCase(r){let o=lE?r===this._ngSwitch:r==this._ngSwitch;return this._lastCasesMatched||=o,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),o}_updateDefaultCases(r){if(this._defaultViews.length>0&&r!==this._defaultUsed){this._defaultUsed=r;for(let o of this._defaultViews)o.enforceState(r)}}};t.\u0275fac=function(o){return new(o||t)},t.\u0275dir=st({type:t,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0});let e=t;return e})(),kN=(()=>{let t=class t{constructor(r,o,i){this.ngSwitch=i,i._addCase(),this._view=new cu(r,o)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}};t.\u0275fac=function(o){return new(o||t)($(dt),$(ot),$(dE,9))},t.\u0275dir=st({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0});let e=t;return e})();var LN=(()=>{let t=class t{constructor(r,o,i){this._ngEl=r,this._differs=o,this._renderer=i,this._ngStyle=null,this._differ=null}set ngStyle(r){this._ngStyle=r,!this._differ&&r&&(this._differ=this._differs.find(r).create())}ngDoCheck(){if(this._differ){let r=this._differ.diff(this._ngStyle);r&&this._applyChanges(r)}}_setStyle(r,o){let[i,s]=r.split("."),a=i.indexOf("-")===-1?void 0:Rn.DashCase;o!=null?this._renderer.setStyle(this._ngEl.nativeElement,i,s?`${o}${s}`:o,a):this._renderer.removeStyle(this._ngEl.nativeElement,i,a)}_applyChanges(r){r.forEachRemovedItem(o=>this._setStyle(o.key,null)),r.forEachAddedItem(o=>this._setStyle(o.key,o.currentValue)),r.forEachChangedItem(o=>this._setStyle(o.key,o.currentValue))}};t.\u0275fac=function(o){return new(o||t)($(ct),$(tu),$(ko))},t.\u0275dir=st({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0});let e=t;return e})(),jN=(()=>{let t=class t{constructor(r){this._viewContainerRef=r,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(r){if(this._shouldRecreateView(r)){let o=this._viewContainerRef;if(this._viewRef&&o.remove(o.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let i=this._createContextForwardProxy();this._viewRef=o.createEmbeddedView(this.ngTemplateOutlet,i,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(r){return!!r.ngTemplateOutlet||!!r.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(r,o,i)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,o,i):!1,get:(r,o,i)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,o,i)}})}};t.\u0275fac=function(o){return new(o||t)($(dt))},t.\u0275dir=st({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[pa]});let e=t;return e})();function fE(e,t){return new b(2100,!1)}var pE="mediumDate",hE=new F(""),gE=new F(""),VN=(()=>{let t=class t{constructor(r,o,i){this.locale=r,this.defaultTimezone=o,this.defaultOptions=i}transform(r,o,i,s){if(r==null||r===""||r!==r)return null;try{let a=o??this.defaultOptions?.dateFormat??pE,u=i??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return XI(r,a,s||this.locale,u)}catch(a){throw fE(t,a.message)}}};t.\u0275fac=function(o){return new(o||t)($(jo,16),$(hE,24),$(gE,24))},t.\u0275pipe=vl({name:"date",type:t,pure:!0,standalone:!0});let e=t;return e})();var BN=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275mod=Dl({type:t}),t.\u0275inj=nl({});let e=t;return e})(),mE="browser",yE="server";function DE(e){return e===mE}function $N(e){return e===yE}var HN=(()=>{let t=class t{};t.\u0275prov=j({token:t,providedIn:"root",factory:()=>DE(E(Do))?new lu(E(fu),window):new du});let e=t;return e})(),lu=class{constructor(t,n){this.document=t,this.window=n,this.offset=()=>[0,0]}setOffset(t){Array.isArray(t)?this.offset=()=>t:this.offset=t}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(t){this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){let n=vE(this.document,t);n&&(this.scrollToElement(n),n.focus())}setHistoryScrollRestoration(t){this.window.history.scrollRestoration=t}scrollToElement(t){let n=t.getBoundingClientRect(),r=n.left+this.window.pageXOffset,o=n.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(r-i[0],o-i[1])}};function vE(e,t){let n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if(typeof e.createTreeWalker=="function"&&e.body&&typeof e.body.attachShadow=="function"){let r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT),o=r.currentNode;for(;o;){let i=o.shadowRoot;if(i){let s=i.getElementById(t)||i.querySelector(`[name="${t}"]`);if(s)return s}o=r.nextNode()}}return null}var du=class{setOffset(t){}getScrollPosition(){return[0,0]}scrollToPosition(t){}scrollToAnchor(t){}setHistoryScrollRestoration(t){}},hp=class{};var Rt=function(e){return e[e.State=0]="State",e[e.Transition=1]="Transition",e[e.Sequence=2]="Sequence",e[e.Group=3]="Group",e[e.Animate=4]="Animate",e[e.Keyframes=5]="Keyframes",e[e.Style=6]="Style",e[e.Trigger=7]="Trigger",e[e.Reference=8]="Reference",e[e.AnimateChild=9]="AnimateChild",e[e.AnimateRef=10]="AnimateRef",e[e.Query=11]="Query",e[e.Stagger=12]="Stagger",e}(Rt||{}),zN="*";function WN(e,t){return{type:Rt.Trigger,name:e,definitions:t,options:{}}}function qN(e,t=null){return{type:Rt.Animate,styles:t,timings:e}}function YN(e,t=null){return{type:Rt.Sequence,steps:e,options:t}}function QN(e){return{type:Rt.Style,styles:e,offset:null}}function ZN(e,t,n){return{type:Rt.State,name:e,styles:t,options:n}}function KN(e,t,n=null){return{type:Rt.Transition,expr:e,animation:t,options:n}}var wp=class{constructor(t=0,n=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+n}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){let n=t=="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},Ip=class{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let n=0,r=0,o=0,i=this.players.length;i==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++n==i&&this._onFinish()}),s.onDestroy(()=>{++r==i&&this._onDestroy()}),s.onStart(()=>{++o==i&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){let n=t*this.totalTime;this.players.forEach(r=>{let o=r.totalTime?Math.min(1,n/r.totalTime):1;r.setPosition(o)})}getPosition(){let t=this.players.reduce((n,r)=>n===null||r.totalTime>n.totalTime?r:n,null);return t!=null?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){let n=t=="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},JN="!";export{Ze as a,Ke as b,wE as c,IE as d,EE as e,CE as f,Ap as g,G as h,Up as i,M as j,hi as k,gi as l,pe as m,gn as n,yn as o,Le as p,sb as q,Ne as r,Xp as s,eh as t,th as u,je as v,nh as w,Ve as x,lh as y,Ee as z,vn as A,Er as B,fh as C,ph as D,yi as E,wn as F,wh as G,Dt as H,Eh as I,Ch as J,ec as K,bh as L,_h as M,In as N,Di as O,Mh as P,xh as Q,Nh as R,vi as S,wi as T,Ah as U,Oh as V,Fh as W,Ei as X,Rh as Y,Ph as Z,kh as _,Lh as $,jh as aa,Vh as ba,Bh as ca,b as da,el as ea,j as fa,nl as ga,iT as ha,F as ia,x as ja,Z as ka,E as la,cl as ma,ll as na,Mn as oa,et as pa,sT as qa,Dl as ra,st as sa,vl as ta,_l as ua,Tl as va,tt as wa,$g as xa,Ol as ya,pa as za,aT as Aa,uT as Ba,cT as Ca,lT as Da,dT as Ea,Nm as Fa,Ot as Ga,Ge as Ha,zn as Ia,ct as Ja,wt as Ka,os as La,fT as Ma,Um as Na,zm as Oa,Do as Pa,pT as Qa,hT as Ra,ba as Sa,Ft as Ta,Sa as Ua,gT as Va,mT as Wa,yT as Xa,DT as Ya,vT as Za,Sd as _a,_y as $a,Eo as ab,wT as bb,xy as cb,IT as db,ET as eb,CT as fb,Rn as gb,bT as hb,$ as ib,_T as jb,ot as kb,Xr as lb,Po as mb,Es as nb,ko as ob,lt as pb,ge as qb,lv as rb,dt as sb,kv as tb,ST as ub,TT as vb,Vv as wb,zv as xb,Fs as yb,Wv as zb,Ya as Ab,Ls as Bb,Xv as Cb,fw as Db,Rf as Eb,pw as Fb,NT as Gb,AT as Hb,OT as Ib,FT as Jb,RT as Kb,PT as Lb,Hf as Mb,Uf as Nb,Sw as Ob,zf as Pb,Wf as Qb,Ow as Rb,kT as Sb,Pw as Tb,Gw as Ub,LT as Vb,jT as Wb,VT as Xb,qw as Yb,BT as Zb,$T as _b,HT as $b,UT as ac,GT as bc,zT as cc,Kw as dc,Jf as ec,Jw as fc,WT as gc,Xw as hc,qT as ic,YT as jc,QT as kc,ZT as lc,KT as mc,JT as nc,XT as oc,eN as pc,tN as qc,nN as rc,rN as sc,Ka as tc,uI as uc,ip as vc,Ja as wc,fI as xc,oN as yc,Xa as zc,iN as Ac,sN as Bc,OI as Cc,FI as Dc,kI as Ec,aN as Fc,uN as Gc,nu as Hc,TN as Ic,ap as Jc,fu as Kc,NN as Lc,Yo as Mc,mp as Nc,VI as Oc,AN as Pc,BI as Qc,ON as Rc,FN as Sc,RN as Tc,PN as Uc,dE as Vc,kN as Wc,LN as Xc,jN as Yc,VN as Zc,BN as _c,mE as $c,DE as ad,$N as bd,HN as cd,hp as dd,Rt as ed,zN as fd,WN as gd,qN as hd,YN as id,QN as jd,ZN as kd,KN as ld,wp as md,Ip as nd,JN as od};
diff --git a/DigitalData.UserManager.API/wwwroot/chunk-DQQFCPJ2.js b/DigitalData.UserManager.API/wwwroot/chunk-ZHV6BRN7.js
similarity index 99%
rename from DigitalData.UserManager.API/wwwroot/chunk-DQQFCPJ2.js
rename to DigitalData.UserManager.API/wwwroot/chunk-ZHV6BRN7.js
index 2ab5525..2315631 100644
--- a/DigitalData.UserManager.API/wwwroot/chunk-DQQFCPJ2.js
+++ b/DigitalData.UserManager.API/wwwroot/chunk-ZHV6BRN7.js
@@ -1 +1 @@
-import{a as he,c as pt,da as E,ed as S,fa as gt,fd as B,id as yt,jd as Me,md as x,nd as Ce,od as ue}from"./chunk-C2X3ULK4.js";function _t(n){return new E(3e3,!1)}function Ht(){return new E(3100,!1)}function Yt(){return new E(3101,!1)}function Xt(n){return new E(3001,!1)}function Zt(n){return new E(3003,!1)}function Jt(n){return new E(3004,!1)}function xt(n,e){return new E(3005,!1)}function es(){return new E(3006,!1)}function ts(){return new E(3007,!1)}function ss(n,e){return new E(3008,!1)}function is(n){return new E(3002,!1)}function ns(n,e,t,s,i){return new E(3010,!1)}function rs(){return new E(3011,!1)}function as(){return new E(3012,!1)}function os(){return new E(3200,!1)}function ls(){return new E(3202,!1)}function hs(){return new E(3013,!1)}function us(n){return new E(3014,!1)}function cs(n){return new E(3015,!1)}function fs(n){return new E(3016,!1)}function ds(n){return new E(3500,!1)}function ms(n){return new E(3501,!1)}function ps(n,e){return new E(3404,!1)}function gs(n){return new E(3502,!1)}function ys(n){return new E(3503,!1)}function _s(){return new E(3300,!1)}function Es(n){return new E(3504,!1)}function Ss(n){return new E(3301,!1)}function Ts(n,e){return new E(3302,!1)}function vs(n){return new E(3303,!1)}function ws(n,e){return new E(3400,!1)}function bs(n){return new E(3401,!1)}function As(n){return new E(3402,!1)}function Ps(n,e){return new E(3505,!1)}var Ns=new Set(["-moz-outline-radius","-moz-outline-radius-bottomleft","-moz-outline-radius-bottomright","-moz-outline-radius-topleft","-moz-outline-radius-topright","-ms-grid-columns","-ms-grid-rows","-webkit-line-clamp","-webkit-text-fill-color","-webkit-text-stroke","-webkit-text-stroke-color","accent-color","all","backdrop-filter","background","background-color","background-position","background-size","block-size","border","border-block-end","border-block-end-color","border-block-end-width","border-block-start","border-block-start-color","border-block-start-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-width","border-color","border-end-end-radius","border-end-start-radius","border-image-outset","border-image-slice","border-image-width","border-inline-end","border-inline-end-color","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-width","border-left","border-left-color","border-left-width","border-radius","border-right","border-right-color","border-right-width","border-start-end-radius","border-start-start-radius","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-width","border-width","bottom","box-shadow","caret-color","clip","clip-path","color","column-count","column-gap","column-rule","column-rule-color","column-rule-width","column-width","columns","filter","flex","flex-basis","flex-grow","flex-shrink","font","font-size","font-size-adjust","font-stretch","font-variation-settings","font-weight","gap","grid-column-gap","grid-gap","grid-row-gap","grid-template-columns","grid-template-rows","height","inline-size","input-security","inset","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","left","letter-spacing","line-clamp","line-height","margin","margin-block-end","margin-block-start","margin-bottom","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","mask","mask-border","mask-position","mask-size","max-block-size","max-height","max-inline-size","max-lines","max-width","min-block-size","min-height","min-inline-size","min-width","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","outline","outline-color","outline-offset","outline-width","padding","padding-block-end","padding-block-start","padding-bottom","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","perspective","perspective-origin","right","rotate","row-gap","scale","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-coordinate","scroll-snap-destination","scrollbar-color","shape-image-threshold","shape-margin","shape-outside","tab-size","text-decoration","text-decoration-color","text-decoration-thickness","text-emphasis","text-emphasis-color","text-indent","text-shadow","text-underline-offset","top","transform","transform-origin","translate","vertical-align","visibility","width","word-spacing","z-index","zoom"]);function U(n){switch(n.length){case 0:return new x;case 1:return n[0];default:return new Ce(n)}}function It(n,e,t=new Map,s=new Map){let i=[],r=[],a=-1,o=null;if(e.forEach(l=>{let h=l.get("offset"),c=h==a,u=c&&o||new Map;l.forEach((_,y)=>{let d=y,g=_;if(y!=="offset")switch(d=n.normalizePropertyName(d,i),g){case ue:g=t.get(y);break;case B:g=s.get(y);break;default:g=n.normalizeStyleValue(y,d,g,i);break}u.set(d,g)}),c||r.push(u),o=u,a=h}),i.length)throw gs(i);return r}function tt(n,e,t,s){switch(e){case"start":n.onStart(()=>s(t&&ke(t,"start",n)));break;case"done":n.onDone(()=>s(t&&ke(t,"done",n)));break;case"destroy":n.onDestroy(()=>s(t&&ke(t,"destroy",n)));break}}function ke(n,e,t){let s=t.totalTime,i=!!t.disabled,r=st(n.element,n.triggerName,n.fromState,n.toState,e||n.phaseName,s??n.totalTime,i),a=n._data;return a!=null&&(r._data=a),r}function st(n,e,t,s,i="",r=0,a){return{element:n,triggerName:e,fromState:t,toState:s,phaseName:i,totalTime:r,disabled:!!a}}function L(n,e,t){let s=n.get(e);return s||n.set(e,s=t),s}function Et(n){let e=n.indexOf(":"),t=n.substring(1,e),s=n.slice(e+1);return[t,s]}var Ms=typeof document>"u"?null:document.documentElement;function it(n){let e=n.parentNode||n.host||null;return e===Ms?null:e}function Cs(n){return n.substring(1,6)=="ebkit"}var H=null,St=!1;function ks(n){H||(H=Ds()||{},St=H.style?"WebkitAppearance"in H.style:!1);let e=!0;return H.style&&!Cs(n)&&(e=n in H.style,!e&&St&&(e="Webkit"+n.charAt(0).toUpperCase()+n.slice(1)in H.style)),e}function Ai(n){return Ns.has(n)}function Ds(){return typeof document<"u"?document.body:null}function zt(n,e){for(;e;){if(e===n)return!0;e=it(e)}return!1}function Kt(n,e,t){if(t)return Array.from(n.querySelectorAll(e));let s=n.querySelector(e);return s?[s]:[]}var qt=(()=>{let e=class e{validateStyleProperty(s){return ks(s)}matchesElement(s,i){return!1}containsElement(s,i){return zt(s,i)}getParentElement(s){return it(s)}query(s,i,r){return Kt(s,i,r)}computeStyle(s,i,r){return r||""}animate(s,i,r,a,o,l=[],h){return new x(r,a)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=gt({token:e,factory:e.\u0275fac});let n=e;return n})(),ut=class ut{};ut.NOOP=new qt;var Tt=ut,Ie=class{},ze=class{normalizePropertyName(e,t){return e}normalizeStyleValue(e,t,s,i){return s}},Rs=1e3,Bt="{{",Os="}}",nt="ng-enter",ge="ng-leave",ce="ng-trigger",ye=".ng-trigger",vt="ng-animating",Ke=".ng-animating";function $(n){if(typeof n=="number")return n;let e=n.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:qe(parseFloat(e[1]),e[2])}function qe(n,e){switch(e){case"s":return n*Rs;default:return n}}function _e(n,e,t){return n.hasOwnProperty("duration")?n:Ls(n,e,t)}function Ls(n,e,t){let s=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,i,r=0,a="";if(typeof n=="string"){let o=n.match(s);if(o===null)return e.push(_t(n)),{duration:0,delay:0,easing:""};i=qe(parseFloat(o[1]),o[2]);let l=o[3];l!=null&&(r=qe(parseFloat(l),o[4]));let h=o[5];h&&(a=h)}else i=n;if(!t){let o=!1,l=e.length;i<0&&(e.push(Ht()),o=!0),r<0&&(e.push(Yt()),o=!0),o&&e.splice(l,0,_t(n))}return{duration:i,delay:r,easing:a}}function Fs(n){return n.length?n[0]instanceof Map?n:n.map(e=>new Map(Object.entries(e))):[]}function wt(n){return Array.isArray(n)?new Map(...n):new Map(n)}function Q(n,e,t){e.forEach((s,i)=>{let r=rt(i);t&&!t.has(i)&&t.set(i,n.style[r]),n.style[r]=s})}function X(n,e){e.forEach((t,s)=>{let i=rt(s);n.style[i]=""})}function ie(n){return Array.isArray(n)?n.length==1?n[0]:yt(n):n}function Is(n,e,t){let s=e.params||{},i=Qt(n);i.length&&i.forEach(r=>{s.hasOwnProperty(r)||t.push(Xt(r))})}var Be=new RegExp(`${Bt}\\s*(.+?)\\s*${Os}`,"g");function Qt(n){let e=[];if(typeof n=="string"){let t;for(;t=Be.exec(n);)e.push(t[1]);Be.lastIndex=0}return e}function re(n,e,t){let s=`${n}`,i=s.replace(Be,(r,a)=>{let o=e[a];return o==null&&(t.push(Zt(a)),o=""),o.toString()});return i==s?n:i}var zs=/-+([a-z0-9])/g;function rt(n){return n.replace(zs,(...e)=>e[1].toUpperCase())}function Pi(n){return n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Ks(n,e){return n===0||e===0}function qs(n,e,t){if(t.size&&e.length){let s=e[0],i=[];if(t.forEach((r,a)=>{s.has(a)||i.push(a),s.set(a,r)}),i.length)for(let r=1;ra.set(o,at(n,o)))}}return e}function O(n,e,t){switch(e.type){case S.Trigger:return n.visitTrigger(e,t);case S.State:return n.visitState(e,t);case S.Transition:return n.visitTransition(e,t);case S.Sequence:return n.visitSequence(e,t);case S.Group:return n.visitGroup(e,t);case S.Animate:return n.visitAnimate(e,t);case S.Keyframes:return n.visitKeyframes(e,t);case S.Style:return n.visitStyle(e,t);case S.Reference:return n.visitReference(e,t);case S.AnimateChild:return n.visitAnimateChild(e,t);case S.AnimateRef:return n.visitAnimateRef(e,t);case S.Query:return n.visitQuery(e,t);case S.Stagger:return n.visitStagger(e,t);default:throw Jt(e.type)}}function at(n,e){return window.getComputedStyle(n)[e]}var Bs=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]),Qe=class extends Ie{normalizePropertyName(e,t){return rt(e)}normalizeStyleValue(e,t,s,i){let r="",a=s.toString().trim();if(Bs.has(t)&&s!==0&&s!=="0")if(typeof s=="number")r="px";else{let o=s.match(/^[+-]?[\d\.]+([a-z]*)$/);o&&o[1].length==0&&i.push(xt(e,s))}return a+r}};var Ee="*";function Qs(n,e){let t=[];return typeof n=="string"?n.split(/\s*,\s*/).forEach(s=>$s(s,t,e)):t.push(n),t}function $s(n,e,t){if(n[0]==":"){let l=Vs(n,t);if(typeof l=="function"){e.push(l);return}n=l}let s=n.match(/^(\*|[-\w]+)\s*([=-]>)\s*(\*|[-\w]+)$/);if(s==null||s.length<4)return t.push(cs(n)),e;let i=s[1],r=s[2],a=s[3];e.push(bt(i,a));let o=i==Ee&&a==Ee;r[0]=="<"&&!o&&e.push(bt(a,i))}function Vs(n,e){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,s)=>parseFloat(s)>parseFloat(t);case":decrement":return(t,s)=>parseFloat(s) *"}}var fe=new Set(["true","1"]),de=new Set(["false","0"]);function bt(n,e){let t=fe.has(n)||de.has(n),s=fe.has(e)||de.has(e);return(i,r)=>{let a=n==Ee||n==i,o=e==Ee||e==r;return!a&&t&&typeof i=="boolean"&&(a=i?fe.has(n):de.has(n)),!o&&s&&typeof r=="boolean"&&(o=r?fe.has(e):de.has(e)),a&&o}}var $t=":self",Us=new RegExp(`s*${$t}s*,?`,"g");function ot(n,e,t,s){return new $e(n).build(e,t,s)}var At="",$e=class{constructor(e){this._driver=e}build(e,t,s){let i=new Ve(t);return this._resetContextStyleTimingState(i),O(this,ie(e),i)}_resetContextStyleTimingState(e){e.currentQuerySelector=At,e.collectedStyles=new Map,e.collectedStyles.set(At,new Map),e.currentTime=0}visitTrigger(e,t){let s=t.queryCount=0,i=t.depCount=0,r=[],a=[];return e.name.charAt(0)=="@"&&t.errors.push(es()),e.definitions.forEach(o=>{if(this._resetContextStyleTimingState(t),o.type==S.State){let l=o,h=l.name;h.toString().split(/\s*,\s*/).forEach(c=>{l.name=c,r.push(this.visitState(l,t))}),l.name=h}else if(o.type==S.Transition){let l=this.visitTransition(o,t);s+=l.queryCount,i+=l.depCount,a.push(l)}else t.errors.push(ts())}),{type:S.Trigger,name:e.name,states:r,transitions:a,queryCount:s,depCount:i,options:null}}visitState(e,t){let s=this.visitStyle(e.styles,t),i=e.options&&e.options.params||null;if(s.containsDynamicStyles){let r=new Set,a=i||{};s.styles.forEach(o=>{o instanceof Map&&o.forEach(l=>{Qt(l).forEach(h=>{a.hasOwnProperty(h)||r.add(h)})})}),r.size&&t.errors.push(ss(e.name,[...r.values()]))}return{type:S.State,name:e.name,style:s,options:i?{params:i}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;let s=O(this,ie(e.animation),t),i=Qs(e.expr,t.errors);return{type:S.Transition,matchers:i,animation:s,queryCount:t.queryCount,depCount:t.depCount,options:Y(e.options)}}visitSequence(e,t){return{type:S.Sequence,steps:e.steps.map(s=>O(this,s,t)),options:Y(e.options)}}visitGroup(e,t){let s=t.currentTime,i=0,r=e.steps.map(a=>{t.currentTime=s;let o=O(this,a,t);return i=Math.max(i,t.currentTime),o});return t.currentTime=i,{type:S.Group,steps:r,options:Y(e.options)}}visitAnimate(e,t){let s=Hs(e.timings,t.errors);t.currentAnimateTimings=s;let i,r=e.styles?e.styles:Me({});if(r.type==S.Keyframes)i=this.visitKeyframes(r,t);else{let a=e.styles,o=!1;if(!a){o=!0;let h={};s.easing&&(h.easing=s.easing),a=Me(h)}t.currentTime+=s.duration+s.delay;let l=this.visitStyle(a,t);l.isEmptyStep=o,i=l}return t.currentAnimateTimings=null,{type:S.Animate,timings:s,style:i,options:null}}visitStyle(e,t){let s=this._makeStyleAst(e,t);return this._validateStyleAst(s,t),s}_makeStyleAst(e,t){let s=[],i=Array.isArray(e.styles)?e.styles:[e.styles];for(let o of i)typeof o=="string"?o===B?s.push(o):t.errors.push(is(o)):s.push(new Map(Object.entries(o)));let r=!1,a=null;return s.forEach(o=>{if(o instanceof Map&&(o.has("easing")&&(a=o.get("easing"),o.delete("easing")),!r)){for(let l of o.values())if(l.toString().indexOf(Bt)>=0){r=!0;break}}}),{type:S.Style,styles:s,easing:a,offset:e.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(e,t){let s=t.currentAnimateTimings,i=t.currentTime,r=t.currentTime;s&&r>0&&(r-=s.duration+s.delay),e.styles.forEach(a=>{typeof a!="string"&&a.forEach((o,l)=>{let h=t.collectedStyles.get(t.currentQuerySelector),c=h.get(l),u=!0;c&&(r!=i&&r>=c.startTime&&i<=c.endTime&&(t.errors.push(ns(l,c.startTime,c.endTime,r,i)),u=!1),r=c.startTime),u&&h.set(l,{startTime:r,endTime:i}),t.options&&Is(o,t.options,t.errors)})})}visitKeyframes(e,t){let s={type:S.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(rs()),s;let i=1,r=0,a=[],o=!1,l=!1,h=0,c=e.steps.map(b=>{let A=this._makeStyleAst(b,t),C=A.offset!=null?A.offset:Gs(A.styles),N=0;return C!=null&&(r++,N=A.offset=C),l=l||N<0||N>1,o=o||N0&&r{let C=_>0?A==y?1:_*A:a[A],N=C*v;t.currentTime=d+g.delay+N,g.duration=N,this._validateStyleAst(b,t),b.offset=C,s.styles.push(b)}),s}visitReference(e,t){return{type:S.Reference,animation:O(this,ie(e.animation),t),options:Y(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:S.AnimateChild,options:Y(e.options)}}visitAnimateRef(e,t){return{type:S.AnimateRef,animation:this.visitReference(e.animation,t),options:Y(e.options)}}visitQuery(e,t){let s=t.currentQuerySelector,i=e.options||{};t.queryCount++,t.currentQuery=e;let[r,a]=js(e.selector);t.currentQuerySelector=s.length?s+" "+r:r,L(t.collectedStyles,t.currentQuerySelector,new Map);let o=O(this,ie(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=s,{type:S.Query,selector:r,limit:i.limit||0,optional:!!i.optional,includeSelf:a,animation:o,originalSelector:e.selector,options:Y(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(hs());let s=e.timings==="full"?{duration:0,delay:0,easing:"full"}:_e(e.timings,t.errors,!0);return{type:S.Stagger,animation:O(this,ie(e.animation),t),timings:s,options:null}}};function js(n){let e=!!n.split(/\s*,\s*/).find(t=>t==$t);return e&&(n=n.replace(Us,"")),n=n.replace(/@\*/g,ye).replace(/@\w+/g,t=>ye+"-"+t.slice(1)).replace(/:animating/g,Ke),[n,e]}function Ws(n){return n?he({},n):null}var Ve=class{constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}};function Gs(n){if(typeof n=="string")return null;let e=null;if(Array.isArray(n))n.forEach(t=>{if(t instanceof Map&&t.has("offset")){let s=t;e=parseFloat(s.get("offset")),s.delete("offset")}});else if(n instanceof Map&&n.has("offset")){let t=n;e=parseFloat(t.get("offset")),t.delete("offset")}return e}function Hs(n,e){if(n.hasOwnProperty("duration"))return n;if(typeof n=="number"){let r=_e(n,e).duration;return De(r,0,"")}let t=n;if(t.split(/\s+/).some(r=>r.charAt(0)=="{"&&r.charAt(1)=="{")){let r=De(0,0,"");return r.dynamic=!0,r.strValue=t,r}let i=_e(t,e);return De(i.duration,i.delay,i.easing)}function Y(n){return n?(n=he({},n),n.params&&(n.params=Ws(n.params))):n={},n}function De(n,e,t){return{duration:n,delay:e,easing:t}}function lt(n,e,t,s,i,r,a=null,o=!1){return{type:1,element:n,keyframes:e,preStyleProps:t,postStyleProps:s,duration:i,delay:r,totalTime:i+r,easing:a,subTimeline:o}}var se=class{constructor(){this._map=new Map}get(e){return this._map.get(e)||[]}append(e,t){let s=this._map.get(e);s||this._map.set(e,s=[]),s.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}},Ys=1,Xs=":enter",Zs=new RegExp(Xs,"g"),Js=":leave",xs=new RegExp(Js,"g");function ht(n,e,t,s,i,r=new Map,a=new Map,o,l,h=[]){return new Ue().buildKeyframes(n,e,t,s,i,r,a,o,l,h)}var Ue=class{buildKeyframes(e,t,s,i,r,a,o,l,h,c=[]){h=h||new se;let u=new je(e,t,h,i,r,c,[]);u.options=l;let _=l.delay?$(l.delay):0;u.currentTimeline.delayNextStep(_),u.currentTimeline.setStyles([a],null,u.errors,l),O(this,s,u);let y=u.timelines.filter(d=>d.containsAnimation());if(y.length&&o.size){let d;for(let g=y.length-1;g>=0;g--){let v=y[g];if(v.element===t){d=v;break}}d&&!d.allowOnlyTimelineStyles()&&d.setStyles([o],null,u.errors,l)}return y.length?y.map(d=>d.buildKeyframes()):[lt(t,[],[],[],0,_,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){let s=t.subInstructions.get(t.element);if(s){let i=t.createSubContext(e.options),r=t.currentTimeline.currentTime,a=this._visitSubInstructions(s,i,i.options);r!=a&&t.transformIntoNewTimeline(a)}t.previousNode=e}visitAnimateRef(e,t){let s=t.createSubContext(e.options);s.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],t,s),this.visitReference(e.animation,s),t.transformIntoNewTimeline(s.currentTimeline.currentTime),t.previousNode=e}_applyAnimationRefDelays(e,t,s){for(let i of e){let r=i?.delay;if(r){let a=typeof r=="number"?r:$(re(r,i?.params??{},t.errors));s.delayNextStep(a)}}}_visitSubInstructions(e,t,s){let r=t.currentTimeline.currentTime,a=s.duration!=null?$(s.duration):null,o=s.delay!=null?$(s.delay):null;return a!==0&&e.forEach(l=>{let h=t.appendInstructionToTimeline(l,a,o);r=Math.max(r,h.duration+h.delay)}),r}visitReference(e,t){t.updateOptions(e.options,!0),O(this,e.animation,t),t.previousNode=e}visitSequence(e,t){let s=t.subContextCount,i=t,r=e.options;if(r&&(r.params||r.delay)&&(i=t.createSubContext(r),i.transformIntoNewTimeline(),r.delay!=null)){i.previousNode.type==S.Style&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=Se);let a=$(r.delay);i.delayNextStep(a)}e.steps.length&&(e.steps.forEach(a=>O(this,a,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>s&&i.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){let s=[],i=t.currentTimeline.currentTime,r=e.options&&e.options.delay?$(e.options.delay):0;e.steps.forEach(a=>{let o=t.createSubContext(e.options);r&&o.delayNextStep(r),O(this,a,o),i=Math.max(i,o.currentTimeline.currentTime),s.push(o.currentTimeline)}),s.forEach(a=>t.currentTimeline.mergeTimelineCollectedStyles(a)),t.transformIntoNewTimeline(i),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){let s=e.strValue,i=t.params?re(s,t.params,t.errors):s;return _e(i,t.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){let s=t.currentAnimateTimings=this._visitTiming(e.timings,t),i=t.currentTimeline;s.delay&&(t.incrementTime(s.delay),i.snapshotCurrentStyles());let r=e.style;r.type==S.Keyframes?this.visitKeyframes(r,t):(t.incrementTime(s.duration),this.visitStyle(r,t),i.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){let s=t.currentTimeline,i=t.currentAnimateTimings;!i&&s.hasCurrentStyleProperties()&&s.forwardFrame();let r=i&&i.easing||e.easing;e.isEmptyStep?s.applyEmptyStep(r):s.setStyles(e.styles,r,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){let s=t.currentAnimateTimings,i=t.currentTimeline.duration,r=s.duration,o=t.createSubContext().currentTimeline;o.easing=s.easing,e.styles.forEach(l=>{let h=l.offset||0;o.forwardTime(h*r),o.setStyles(l.styles,l.easing,t.errors,t.options),o.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(o),t.transformIntoNewTimeline(i+r),t.previousNode=e}visitQuery(e,t){let s=t.currentTimeline.currentTime,i=e.options||{},r=i.delay?$(i.delay):0;r&&(t.previousNode.type===S.Style||s==0&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Se);let a=s,o=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!i.optional,t.errors);t.currentQueryTotal=o.length;let l=null;o.forEach((h,c)=>{t.currentQueryIndex=c;let u=t.createSubContext(e.options,h);r&&u.delayNextStep(r),h===t.element&&(l=u.currentTimeline),O(this,e.animation,u),u.currentTimeline.applyStylesToKeyframe();let _=u.currentTimeline.currentTime;a=Math.max(a,_)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(a),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){let s=t.parentContext,i=t.currentTimeline,r=e.timings,a=Math.abs(r.duration),o=a*(t.currentQueryTotal-1),l=a*t.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":l=o-l;break;case"full":l=s.currentStaggerTime;break}let c=t.currentTimeline;l&&c.delayNextStep(l);let u=c.currentTime;O(this,e.animation,t),t.previousNode=e,s.currentStaggerTime=i.currentTime-u+(i.startTime-s.currentTimeline.startTime)}},Se={},je=class n{constructor(e,t,s,i,r,a,o,l){this._driver=e,this.element=t,this.subInstructions=s,this._enterClassName=i,this._leaveClassName=r,this.errors=a,this.timelines=o,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Se,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new Te(this._driver,t,0),o.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;let s=e,i=this.options;s.duration!=null&&(i.duration=$(s.duration)),s.delay!=null&&(i.delay=$(s.delay));let r=s.params;if(r){let a=i.params;a||(a=this.options.params={}),Object.keys(r).forEach(o=>{(!t||!a.hasOwnProperty(o))&&(a[o]=re(r[o],a,this.errors))})}}_copyOptions(){let e={};if(this.options){let t=this.options.params;if(t){let s=e.params={};Object.keys(t).forEach(i=>{s[i]=t[i]})}}return e}createSubContext(e=null,t,s){let i=t||this.element,r=new n(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,s||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(e),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(e){return this.previousNode=Se,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,s){let i={duration:t??e.duration,delay:this.currentTimeline.currentTime+(s??0)+e.delay,easing:""},r=new We(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,i,e.stretchStartingKeyframe);return this.timelines.push(r),i}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,s,i,r,a){let o=[];if(i&&o.push(this.element),e.length>0){e=e.replace(Zs,"."+this._enterClassName),e=e.replace(xs,"."+this._leaveClassName);let l=s!=1,h=this._driver.query(this.element,e,l);s!==0&&(h=s<0?h.slice(h.length+s,h.length):h.slice(0,s)),o.push(...h)}return!r&&o.length==0&&a.push(us(t)),o}},Te=class n{constructor(e,t,s,i){this._driver=e,this.element=t,this.startTime=s,this._elementTimelineStylesLookup=i,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(e){let t=this._keyframes.size===1&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new n(this._driver,e,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=Ys,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles.set(e,t),this._globalTimelineStyles.set(e,t),this._styleSummary.set(e,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[t,s]of this._globalTimelineStyles)this._backFill.set(t,s||B),this._currentKeyframe.set(t,B);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,s,i){t&&this._previousKeyframe.set("easing",t);let r=i&&i.params||{},a=ei(e,this._globalTimelineStyles);for(let[o,l]of a){let h=re(l,r,s);this._pendingStyles.set(o,h),this._localTimelineStyles.has(o)||this._backFill.set(o,this._globalTimelineStyles.get(o)??B),this._updateStyle(o,h)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,t)=>{this._currentKeyframe.set(t,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,e)}))}snapshotCurrentStyles(){for(let[e,t]of this._localTimelineStyles)this._pendingStyles.set(e,t),this._updateStyle(e,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((t,s)=>{let i=this._styleSummary.get(s);(!i||t.time>i.time)&&this._updateStyle(s,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,t=new Set,s=this._keyframes.size===1&&this.duration===0,i=[];this._keyframes.forEach((o,l)=>{let h=new Map([...this._backFill,...o]);h.forEach((c,u)=>{c===ue?e.add(u):c===B&&t.add(u)}),s||h.set("offset",l/this.duration),i.push(h)});let r=[...e.values()],a=[...t.values()];if(s){let o=i[0],l=new Map(o);o.set("offset",0),l.set("offset",1),i=[o,l]}return lt(this.element,i,r,a,this.duration,this.startTime,this.easing,!1)}},We=class extends Te{constructor(e,t,s,i,r,a,o=!1){super(e,t,a.delay),this.keyframes=s,this.preStyleProps=i,this.postStyleProps=r,this._stretchStartingKeyframe=o,this.timings={duration:a.duration,delay:a.delay,easing:a.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:s,easing:i}=this.timings;if(this._stretchStartingKeyframe&&t){let r=[],a=s+t,o=t/a,l=new Map(e[0]);l.set("offset",0),r.push(l);let h=new Map(e[0]);h.set("offset",Pt(o)),r.push(h);let c=e.length-1;for(let u=1;u<=c;u++){let _=new Map(e[u]),y=_.get("offset"),d=t+y*s;_.set("offset",Pt(d/a)),r.push(_)}s=a,t=0,i="",e=r}return lt(this.element,e,this.preStyleProps,this.postStyleProps,s,t,i,!0)}};function Pt(n,e=3){let t=Math.pow(10,e-1);return Math.round(n*t)/t}function ei(n,e){let t=new Map,s;return n.forEach(i=>{if(i==="*"){s??=e.keys();for(let r of s)t.set(r,B)}else for(let[r,a]of i)t.set(r,a)}),t}function Nt(n,e,t,s,i,r,a,o,l,h,c,u,_){return{type:0,element:n,triggerName:e,isRemovalTransition:i,fromState:t,fromStyles:r,toState:s,toStyles:a,timelines:o,queriedElements:l,preStyleProps:h,postStyleProps:c,totalTime:u,errors:_}}var Re={},ve=class{constructor(e,t,s){this._triggerName=e,this.ast=t,this._stateStyles=s}match(e,t,s,i){return ti(this.ast.matchers,e,t,s,i)}buildStyles(e,t,s){let i=this._stateStyles.get("*");return e!==void 0&&(i=this._stateStyles.get(e?.toString())||i),i?i.buildStyles(t,s):new Map}build(e,t,s,i,r,a,o,l,h,c){let u=[],_=this.ast.options&&this.ast.options.params||Re,y=o&&o.params||Re,d=this.buildStyles(s,y,u),g=l&&l.params||Re,v=this.buildStyles(i,g,u),b=new Set,A=new Map,C=new Map,N=i==="void",Z={params:Vt(g,_),delay:this.ast.options?.delay},K=c?[]:ht(e,t,this.ast.animation,r,a,d,v,Z,h,u),k=0;return K.forEach(D=>{k=Math.max(D.duration+D.delay,k)}),u.length?Nt(t,this._triggerName,s,i,N,d,v,[],[],A,C,k,u):(K.forEach(D=>{let j=D.element,J=L(A,j,new Set);D.preStyleProps.forEach(W=>J.add(W));let ct=L(C,j,new Set);D.postStyleProps.forEach(W=>ct.add(W)),j!==t&&b.add(j)}),Nt(t,this._triggerName,s,i,N,d,v,K,[...b.values()],A,C,k))}};function ti(n,e,t,s,i){return n.some(r=>r(e,t,s,i))}function Vt(n,e){let t=he({},e);return Object.entries(n).forEach(([s,i])=>{i!=null&&(t[s]=i)}),t}var Ge=class{constructor(e,t,s){this.styles=e,this.defaultParams=t,this.normalizer=s}buildStyles(e,t){let s=new Map,i=Vt(e,this.defaultParams);return this.styles.styles.forEach(r=>{typeof r!="string"&&r.forEach((a,o)=>{a&&(a=re(a,i,t));let l=this.normalizer.normalizePropertyName(o,t);a=this.normalizer.normalizeStyleValue(o,l,a,t),s.set(o,a)})}),s}};function si(n,e,t){return new He(n,e,t)}var He=class{constructor(e,t,s){this.name=e,this.ast=t,this._normalizer=s,this.transitionFactories=[],this.states=new Map,t.states.forEach(i=>{let r=i.options&&i.options.params||{};this.states.set(i.name,new Ge(i.style,r,s))}),Mt(this.states,"true","1"),Mt(this.states,"false","0"),t.transitions.forEach(i=>{this.transitionFactories.push(new ve(e,i,this.states))}),this.fallbackTransition=ii(e,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,s,i){return this.transitionFactories.find(a=>a.match(e,t,s,i))||null}matchStyles(e,t,s){return this.fallbackTransition.buildStyles(e,t,s)}};function ii(n,e,t){let s=[(a,o)=>!0],i={type:S.Sequence,steps:[],options:null},r={type:S.Transition,animation:i,matchers:s,options:null,queryCount:0,depCount:0};return new ve(n,r,e)}function Mt(n,e,t){n.has(e)?n.has(t)||n.set(t,n.get(e)):n.has(t)&&n.set(e,n.get(t))}var ni=new se,Ye=class{constructor(e,t,s){this.bodyNode=e,this._driver=t,this._normalizer=s,this._animations=new Map,this._playersById=new Map,this.players=[]}register(e,t){let s=[],i=[],r=ot(this._driver,t,s,i);if(s.length)throw ys(s);i.length&&void 0,this._animations.set(e,r)}_buildPlayer(e,t,s){let i=e.element,r=It(this._normalizer,e.keyframes,t,s);return this._driver.animate(i,r,e.duration,e.delay,e.easing,[],!0)}create(e,t,s={}){let i=[],r=this._animations.get(e),a,o=new Map;if(r?(a=ht(this._driver,t,r,nt,ge,new Map,new Map,s,ni,i),a.forEach(c=>{let u=L(o,c.element,new Map);c.postStyleProps.forEach(_=>u.set(_,null))})):(i.push(_s()),a=[]),i.length)throw Es(i);o.forEach((c,u)=>{c.forEach((_,y)=>{c.set(y,this._driver.computeStyle(u,y,B))})});let l=a.map(c=>{let u=o.get(c.element);return this._buildPlayer(c,new Map,u)}),h=U(l);return this._playersById.set(e,h),h.onDestroy(()=>this.destroy(e)),this.players.push(h),h}destroy(e){let t=this._getPlayer(e);t.destroy(),this._playersById.delete(e);let s=this.players.indexOf(t);s>=0&&this.players.splice(s,1)}_getPlayer(e){let t=this._playersById.get(e);if(!t)throw Ss(e);return t}listen(e,t,s,i){let r=st(t,"","","");return tt(this._getPlayer(e),s,r,i),()=>{}}command(e,t,s,i){if(s=="register"){this.register(e,i[0]);return}if(s=="create"){let a=i[0]||{};this.create(e,t,a);return}let r=this._getPlayer(e);switch(s){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(e);break}}},Ct="ng-animate-queued",ri=".ng-animate-queued",Oe="ng-animate-disabled",ai=".ng-animate-disabled",oi="ng-star-inserted",li=".ng-star-inserted",hi=[],Ut={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},ui={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},z="__ng_removed",ae=class{get params(){return this.options.params}constructor(e,t=""){this.namespaceId=t;let s=e&&e.hasOwnProperty("value"),i=s?e.value:e;if(this.value=fi(i),s){let r=e,{value:a}=r,o=pt(r,["value"]);this.options=o}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let t=e.params;if(t){let s=this.options.params;Object.keys(t).forEach(i=>{s[i]==null&&(s[i]=t[i])})}}},ne="void",Le=new ae(ne),Xe=class{constructor(e,t,s){this.id=e,this.hostElement=t,this._engine=s,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,I(t,this._hostClassName)}listen(e,t,s,i){if(!this._triggers.has(t))throw Ts(s,t);if(s==null||s.length==0)throw vs(t);if(!di(s))throw ws(s,t);let r=L(this._elementListeners,e,[]),a={name:t,phase:s,callback:i};r.push(a);let o=L(this._engine.statesByElement,e,new Map);return o.has(t)||(I(e,ce),I(e,ce+"-"+t),o.set(t,Le)),()=>{this._engine.afterFlush(()=>{let l=r.indexOf(a);l>=0&&r.splice(l,1),this._triggers.has(t)||o.delete(t)})}}register(e,t){return this._triggers.has(e)?!1:(this._triggers.set(e,t),!0)}_getTrigger(e){let t=this._triggers.get(e);if(!t)throw bs(e);return t}trigger(e,t,s,i=!0){let r=this._getTrigger(t),a=new oe(this.id,t,e),o=this._engine.statesByElement.get(e);o||(I(e,ce),I(e,ce+"-"+t),this._engine.statesByElement.set(e,o=new Map));let l=o.get(t),h=new ae(s,this.id);if(!(s&&s.hasOwnProperty("value"))&&l&&h.absorbOptions(l.options),o.set(t,h),l||(l=Le),!(h.value===ne)&&l.value===h.value){if(!gi(l.params,h.params)){let g=[],v=r.matchStyles(l.value,l.params,g),b=r.matchStyles(h.value,h.params,g);g.length?this._engine.reportError(g):this._engine.afterFlush(()=>{X(e,v),Q(e,b)})}return}let _=L(this._engine.playersByElement,e,[]);_.forEach(g=>{g.namespaceId==this.id&&g.triggerName==t&&g.queued&&g.destroy()});let y=r.matchTransition(l.value,h.value,e,h.params),d=!1;if(!y){if(!i)return;y=r.fallbackTransition,d=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:y,fromState:l,toState:h,player:a,isFallbackTransition:d}),d||(I(e,Ct),a.onStart(()=>{ee(e,Ct)})),a.onDone(()=>{let g=this.players.indexOf(a);g>=0&&this.players.splice(g,1);let v=this._engine.playersByElement.get(e);if(v){let b=v.indexOf(a);b>=0&&v.splice(b,1)}}),this.players.push(a),_.push(a),a}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(t=>t.delete(e)),this._elementListeners.forEach((t,s)=>{this._elementListeners.set(s,t.filter(i=>i.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let t=this._engine.playersByElement.get(e);t&&(t.forEach(s=>s.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){let s=this._engine.driver.query(e,ye,!0);s.forEach(i=>{if(i[z])return;let r=this._engine.fetchNamespacesByElement(i);r.size?r.forEach(a=>a.triggerLeaveAnimation(i,t,!1,!0)):this.clearElementCache(i)}),this._engine.afterFlushAnimationsDone(()=>s.forEach(i=>this.clearElementCache(i)))}triggerLeaveAnimation(e,t,s,i){let r=this._engine.statesByElement.get(e),a=new Map;if(r){let o=[];if(r.forEach((l,h)=>{if(a.set(h,l.value),this._triggers.has(h)){let c=this.trigger(e,h,ne,i);c&&o.push(c)}}),o.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,a),s&&U(o).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let t=this._elementListeners.get(e),s=this._engine.statesByElement.get(e);if(t&&s){let i=new Set;t.forEach(r=>{let a=r.name;if(i.has(a))return;i.add(a);let l=this._triggers.get(a).fallbackTransition,h=s.get(a)||Le,c=new ae(ne),u=new oe(this.id,a,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:a,transition:l,fromState:h,toState:c,player:u,isFallbackTransition:!0})})}}removeNode(e,t){let s=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let i=!1;if(s.totalAnimations){let r=s.players.length?s.playersByQueriedElement.get(e):[];if(r&&r.length)i=!0;else{let a=e;for(;a=a.parentNode;)if(s.statesByElement.get(a)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(e),i)s.markElementAsRemoved(this.id,e,!1,t);else{let r=e[z];(!r||r===Ut)&&(s.afterFlush(()=>this.clearElementCache(e)),s.destroyInnerAnimations(e),s._onRemovalComplete(e,t))}}insertNode(e,t){I(e,this._hostClassName)}drainQueuedTransitions(e){let t=[];return this._queue.forEach(s=>{let i=s.player;if(i.destroyed)return;let r=s.element,a=this._elementListeners.get(r);a&&a.forEach(o=>{if(o.name==s.triggerName){let l=st(r,s.triggerName,s.fromState.value,s.toState.value);l._data=e,tt(s.player,o.phase,l,o.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):t.push(s)}),this._queue=[],t.sort((s,i)=>{let r=s.transition.ast.depCount,a=i.transition.ast.depCount;return r==0||a==0?r-a:this._engine.driver.containsElement(s.element,i.element)?1:-1})}destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},Ze=class{_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}constructor(e,t,s,i){this.bodyNode=e,this.driver=t,this._normalizer=s,this.scheduler=i,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(r,a)=>{}}get queuedPlayers(){let e=[];return this._namespaceList.forEach(t=>{t.players.forEach(s=>{s.queued&&e.push(s)})}),e}createNamespace(e,t){let s=new Xe(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(s,t):(this.newHostElements.set(t,s),this.collectEnterElement(t)),this._namespaceLookup[e]=s}_balanceNamespaceList(e,t){let s=this._namespaceList,i=this.namespacesByHostElement;if(s.length-1>=0){let a=!1,o=this.driver.getParentElement(t);for(;o;){let l=i.get(o);if(l){let h=s.indexOf(l);s.splice(h+1,0,e),a=!0;break}o=this.driver.getParentElement(o)}a||s.unshift(e)}else s.push(e);return i.set(t,e),e}register(e,t){let s=this._namespaceLookup[e];return s||(s=this.createNamespace(e,t)),s}registerTrigger(e,t,s){let i=this._namespaceLookup[e];i&&i.register(t,s)&&this.totalAnimations++}destroy(e,t){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let s=this._fetchNamespace(e);this.namespacesByHostElement.delete(s.hostElement);let i=this._namespaceList.indexOf(s);i>=0&&this._namespaceList.splice(i,1),s.destroy(t),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let t=new Set,s=this.statesByElement.get(e);if(s){for(let i of s.values())if(i.namespaceId){let r=this._fetchNamespace(i.namespaceId);r&&t.add(r)}}return t}trigger(e,t,s,i){if(me(t)){let r=this._fetchNamespace(e);if(r)return r.trigger(t,s,i),!0}return!1}insertNode(e,t,s,i){if(!me(t))return;let r=t[z];if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;let a=this.collectedLeaveElements.indexOf(t);a>=0&&this.collectedLeaveElements.splice(a,1)}if(e){let a=this._fetchNamespace(e);a&&a.insertNode(t,s)}i&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),I(e,Oe)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),ee(e,Oe))}removeNode(e,t,s){if(me(t)){this.scheduler?.notify();let i=e?this._fetchNamespace(e):null;i?i.removeNode(t,s):this.markElementAsRemoved(e,t,!1,s);let r=this.namespacesByHostElement.get(t);r&&r.id!==e&&r.removeNode(t,s)}else this._onRemovalComplete(t,s)}markElementAsRemoved(e,t,s,i,r){this.collectedLeaveElements.push(t),t[z]={namespaceId:e,setForRemoval:i,hasAnimation:s,removedBeforeQueried:!1,previousTriggersValues:r}}listen(e,t,s,i,r){return me(t)?this._fetchNamespace(e).listen(t,s,i,r):()=>{}}_buildInstruction(e,t,s,i,r){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,s,i,e.fromState.options,e.toState.options,t,r)}destroyInnerAnimations(e){let t=this.driver.query(e,ye,!0);t.forEach(s=>this.destroyActiveAnimationsForElement(s)),this.playersByQueriedElement.size!=0&&(t=this.driver.query(e,Ke,!0),t.forEach(s=>this.finishActiveQueriedAnimationOnElement(s)))}destroyActiveAnimationsForElement(e){let t=this.playersByElement.get(e);t&&t.forEach(s=>{s.queued?s.markedForDestroy=!0:s.destroy()})}finishActiveQueriedAnimationOnElement(e){let t=this.playersByQueriedElement.get(e);t&&t.forEach(s=>s.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return U(this.players).onDone(()=>e());e()})}processLeaveNode(e){let t=e[z];if(t&&t.setForRemoval){if(e[z]=Ut,t.namespaceId){this.destroyInnerAnimations(e);let s=this._fetchNamespace(t.namespaceId);s&&s.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}e.classList?.contains(Oe)&&this.markElementAsDisabled(e,!1),this.driver.query(e,ai,!0).forEach(s=>{this.markElementAsDisabled(s,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((s,i)=>this._balanceNamespaceList(s,i)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let s=0;ss()),this._flushFns=[],this._whenQuietFns.length){let s=this._whenQuietFns;this._whenQuietFns=[],t.length?U(t).onDone(()=>{s.forEach(i=>i())}):s.forEach(i=>i())}}reportError(e){throw As(e)}_flushAnimations(e,t){let s=new se,i=[],r=new Map,a=[],o=new Map,l=new Map,h=new Map,c=new Set;this.disabledNodes.forEach(f=>{c.add(f);let m=this.driver.query(f,ri,!0);for(let p=0;p{let p=nt+g++;d.set(m,p),f.forEach(T=>I(T,p))});let v=[],b=new Set,A=new Set;for(let f=0;fb.add(T)):A.add(m))}let C=new Map,N=Rt(_,Array.from(b));N.forEach((f,m)=>{let p=ge+g++;C.set(m,p),f.forEach(T=>I(T,p))}),e.push(()=>{y.forEach((f,m)=>{let p=d.get(m);f.forEach(T=>ee(T,p))}),N.forEach((f,m)=>{let p=C.get(m);f.forEach(T=>ee(T,p))}),v.forEach(f=>{this.processLeaveNode(f)})});let Z=[],K=[];for(let f=this._namespaceList.length-1;f>=0;f--)this._namespaceList[f].drainQueuedTransitions(t).forEach(p=>{let T=p.player,P=p.element;if(Z.push(T),this.collectedEnterElements.length){let M=P[z];if(M&&M.setForMove){if(M.previousTriggersValues&&M.previousTriggersValues.has(p.triggerName)){let G=M.previousTriggersValues.get(p.triggerName),F=this.statesByElement.get(p.element);if(F&&F.has(p.triggerName)){let le=F.get(p.triggerName);le.value=G,F.set(p.triggerName,le)}}T.destroy();return}}let q=!u||!this.driver.containsElement(u,P),R=C.get(P),V=d.get(P),w=this._buildInstruction(p,s,V,R,q);if(w.errors&&w.errors.length){K.push(w);return}if(q){T.onStart(()=>X(P,w.fromStyles)),T.onDestroy(()=>Q(P,w.toStyles)),i.push(T);return}if(p.isFallbackTransition){T.onStart(()=>X(P,w.fromStyles)),T.onDestroy(()=>Q(P,w.toStyles)),i.push(T);return}let mt=[];w.timelines.forEach(M=>{M.stretchStartingKeyframe=!0,this.disabledNodes.has(M.element)||mt.push(M)}),w.timelines=mt,s.append(P,w.timelines);let Gt={instruction:w,player:T,element:P};a.push(Gt),w.queriedElements.forEach(M=>L(o,M,[]).push(T)),w.preStyleProps.forEach((M,G)=>{if(M.size){let F=l.get(G);F||l.set(G,F=new Set),M.forEach((le,Ne)=>F.add(Ne))}}),w.postStyleProps.forEach((M,G)=>{let F=h.get(G);F||h.set(G,F=new Set),M.forEach((le,Ne)=>F.add(Ne))})});if(K.length){let f=[];K.forEach(m=>{f.push(Ps(m.triggerName,m.errors))}),Z.forEach(m=>m.destroy()),this.reportError(f)}let k=new Map,D=new Map;a.forEach(f=>{let m=f.element;s.has(m)&&(D.set(m,m),this._beforeAnimationBuild(f.player.namespaceId,f.instruction,k))}),i.forEach(f=>{let m=f.element;this._getPreviousPlayers(m,!1,f.namespaceId,f.triggerName,null).forEach(T=>{L(k,m,[]).push(T),T.destroy()})});let j=v.filter(f=>Ot(f,l,h)),J=new Map;Dt(J,this.driver,A,h,B).forEach(f=>{Ot(f,l,h)&&j.push(f)});let W=new Map;y.forEach((f,m)=>{Dt(W,this.driver,new Set(f),l,ue)}),j.forEach(f=>{let m=J.get(f),p=W.get(f);J.set(f,new Map([...m?.entries()??[],...p?.entries()??[]]))});let Pe=[],ft=[],dt={};a.forEach(f=>{let{element:m,player:p,instruction:T}=f;if(s.has(m)){if(c.has(m)){p.onDestroy(()=>Q(m,T.toStyles)),p.disabled=!0,p.overrideTotalTime(T.totalTime),i.push(p);return}let P=dt;if(D.size>1){let R=m,V=[];for(;R=R.parentNode;){let w=D.get(R);if(w){P=w;break}V.push(R)}V.forEach(w=>D.set(w,P))}let q=this._buildAnimation(p.namespaceId,T,k,r,W,J);if(p.setRealPlayer(q),P===dt)Pe.push(p);else{let R=this.playersByElement.get(P);R&&R.length&&(p.parentPlayer=U(R)),i.push(p)}}else X(m,T.fromStyles),p.onDestroy(()=>Q(m,T.toStyles)),ft.push(p),c.has(m)&&i.push(p)}),ft.forEach(f=>{let m=r.get(f.element);if(m&&m.length){let p=U(m);f.setRealPlayer(p)}}),i.forEach(f=>{f.parentPlayer?f.syncPlayerEvents(f.parentPlayer):f.destroy()});for(let f=0;f!q.destroyed);P.length?mi(this,m,P):this.processLeaveNode(m)}return v.length=0,Pe.forEach(f=>{this.players.push(f),f.onDone(()=>{f.destroy();let m=this.players.indexOf(f);this.players.splice(m,1)}),f.play()}),Pe}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,s,i,r){let a=[];if(t){let o=this.playersByQueriedElement.get(e);o&&(a=o)}else{let o=this.playersByElement.get(e);if(o){let l=!r||r==ne;o.forEach(h=>{h.queued||!l&&h.triggerName!=i||a.push(h)})}}return(s||i)&&(a=a.filter(o=>!(s&&s!=o.namespaceId||i&&i!=o.triggerName))),a}_beforeAnimationBuild(e,t,s){let i=t.triggerName,r=t.element,a=t.isRemovalTransition?void 0:e,o=t.isRemovalTransition?void 0:i;for(let l of t.timelines){let h=l.element,c=h!==r,u=L(s,h,[]);this._getPreviousPlayers(h,c,a,o,t.toState).forEach(y=>{let d=y.getRealPlayer();d.beforeDestroy&&d.beforeDestroy(),y.destroy(),u.push(y)})}X(r,t.fromStyles)}_buildAnimation(e,t,s,i,r,a){let o=t.triggerName,l=t.element,h=[],c=new Set,u=new Set,_=t.timelines.map(d=>{let g=d.element;c.add(g);let v=g[z];if(v&&v.removedBeforeQueried)return new x(d.duration,d.delay);let b=g!==l,A=pi((s.get(g)||hi).map(k=>k.getRealPlayer())).filter(k=>{let D=k;return D.element?D.element===g:!1}),C=r.get(g),N=a.get(g),Z=It(this._normalizer,d.keyframes,C,N),K=this._buildPlayer(d,Z,A);if(d.subTimeline&&i&&u.add(g),b){let k=new oe(e,o,g);k.setRealPlayer(K),h.push(k)}return K});h.forEach(d=>{L(this.playersByQueriedElement,d.element,[]).push(d),d.onDone(()=>ci(this.playersByQueriedElement,d.element,d))}),c.forEach(d=>I(d,vt));let y=U(_);return y.onDestroy(()=>{c.forEach(d=>ee(d,vt)),Q(l,t.toStyles)}),u.forEach(d=>{L(i,d,[]).push(y)}),y}_buildPlayer(e,t,s){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,s):new x(e.duration,e.delay)}},oe=class{constructor(e,t,s){this.namespaceId=e,this.triggerName=t,this.element=s,this._player=new x,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,s)=>{t.forEach(i=>tt(e,s,void 0,i))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){L(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return this.queued?!1:this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){let t=this._player;t.triggerCallback&&t.triggerCallback(e)}};function ci(n,e,t){let s=n.get(e);if(s){if(s.length){let i=s.indexOf(t);s.splice(i,1)}s.length==0&&n.delete(e)}return s}function fi(n){return n??null}function me(n){return n&&n.nodeType===1}function di(n){return n=="start"||n=="done"}function kt(n,e){let t=n.style.display;return n.style.display=e??"none",t}function Dt(n,e,t,s,i){let r=[];t.forEach(l=>r.push(kt(l)));let a=[];s.forEach((l,h)=>{let c=new Map;l.forEach(u=>{let _=e.computeStyle(h,u,i);c.set(u,_),(!_||_.length==0)&&(h[z]=ui,a.push(h))}),n.set(h,c)});let o=0;return t.forEach(l=>kt(l,r[o++])),a}function Rt(n,e){let t=new Map;if(n.forEach(o=>t.set(o,[])),e.length==0)return t;let s=1,i=new Set(e),r=new Map;function a(o){if(!o)return s;let l=r.get(o);if(l)return l;let h=o.parentNode;return t.has(h)?l=h:i.has(h)?l=s:l=a(h),r.set(o,l),l}return e.forEach(o=>{let l=a(o);l!==s&&t.get(l).push(o)}),t}function I(n,e){n.classList?.add(e)}function ee(n,e){n.classList?.remove(e)}function mi(n,e,t){U(t).onDone(()=>n.processLeaveNode(e))}function pi(n){let e=[];return jt(n,e),e}function jt(n,e){for(let t=0;ti.add(r)):e.set(n,s),t.delete(n),!0}var we=class{constructor(e,t,s,i){this._driver=t,this._normalizer=s,this._triggerCache={},this.onRemovalComplete=(r,a)=>{},this._transitionEngine=new Ze(e.body,t,s,i),this._timelineEngine=new Ye(e.body,t,s),this._transitionEngine.onRemovalComplete=(r,a)=>this.onRemovalComplete(r,a)}registerTrigger(e,t,s,i,r){let a=e+"-"+i,o=this._triggerCache[a];if(!o){let l=[],h=[],c=ot(this._driver,r,l,h);if(l.length)throw ps(i,l);h.length&&void 0,o=si(i,c,this._normalizer),this._triggerCache[a]=o}this._transitionEngine.registerTrigger(t,i,o)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,s,i){this._transitionEngine.insertNode(e,t,s,i)}onRemove(e,t,s){this._transitionEngine.removeNode(e,t,s)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,s,i){if(s.charAt(0)=="@"){let[r,a]=Et(s),o=i;this._timelineEngine.command(r,t,a,o)}else this._transitionEngine.trigger(e,t,s,i)}listen(e,t,s,i,r){if(s.charAt(0)=="@"){let[a,o]=Et(s);return this._timelineEngine.listen(a,t,o,r)}return this._transitionEngine.listen(e,t,s,i,r)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};function yi(n,e){let t=null,s=null;return Array.isArray(e)&&e.length?(t=Fe(e[0]),e.length>1&&(s=Fe(e[e.length-1]))):e instanceof Map&&(t=Fe(e)),t||s?new Je(n,t,s):null}var te=class te{constructor(e,t,s){this._element=e,this._startStyles=t,this._endStyles=s,this._state=0;let i=te.initialStylesByElement.get(e);i||te.initialStylesByElement.set(e,i=new Map),this._initialStyles=i}start(){this._state<1&&(this._startStyles&&Q(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Q(this._element,this._initialStyles),this._endStyles&&(Q(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(te.initialStylesByElement.delete(this._element),this._startStyles&&(X(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(X(this._element,this._endStyles),this._endStyles=null),Q(this._element,this._initialStyles),this._state=3)}};te.initialStylesByElement=new WeakMap;var Je=te;function Fe(n){let e=null;return n.forEach((t,s)=>{_i(s)&&(e=e||new Map,e.set(s,t))}),e}function _i(n){return n==="display"||n==="position"}var be=class{constructor(e,t,s,i){this.element=e,this.keyframes=t,this.options=s,this._specialStyles=i,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=s.duration,this._delay=s.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map;let t=()=>this._onFinish();this.domPlayer.addEventListener("finish",t),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",t)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let t=[];return e.forEach(s=>{t.push(Object.fromEntries(s))}),t}_triggerWebAnimation(e,t,s){return e.animate(this._convertKeyframesToObject(t),s)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((s,i)=>{i!=="offset"&&e.set(i,this._finished?s:at(this.element,i))}),this.currentSnapshot=e}triggerCallback(e){let t=e==="start"?this._onStartFns:this._onDoneFns;t.forEach(s=>s()),t.length=0}},xe=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}matchesElement(e,t){return!1}containsElement(e,t){return zt(e,t)}getParentElement(e){return it(e)}query(e,t,s){return Kt(e,t,s)}computeStyle(e,t,s){return at(e,t)}animate(e,t,s,i,r,a=[]){let o=i==0?"both":"forwards",l={duration:s,delay:i,fill:o};r&&(l.easing=r);let h=new Map,c=a.filter(y=>y instanceof be);Ks(s,i)&&c.forEach(y=>{y.currentSnapshot.forEach((d,g)=>h.set(g,d))});let u=Fs(t).map(y=>new Map(y));u=qs(e,u,h);let _=yi(e,u);return new be(e,u,l,_)}};function Ni(n,e,t){return n==="noop"?new we(e,new qt,new ze,t):new we(e,new xe,new Qe,t)}var Lt=class{constructor(e,t){this._driver=e;let s=[],i=[],r=ot(e,t,s,i);if(s.length)throw ds(s);i.length&&void 0,this._animationAst=r}buildTimelines(e,t,s,i,r){let a=Array.isArray(t)?wt(t):t,o=Array.isArray(s)?wt(s):s,l=[];r=r||new se;let h=ht(this._driver,e,this._animationAst,nt,ge,a,o,i,r,l);if(l.length)throw ms(l);return h}},pe="@",Wt="@.disabled",Ae=class{constructor(e,t,s,i){this.namespaceId=e,this.delegate=t,this.engine=s,this._onDestroy=i,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(e){this.delegate.destroyNode?.(e)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,s,i=!0){this.delegate.insertBefore(e,t,s),this.engine.onInsert(this.namespaceId,t,e,i)}removeChild(e,t,s){this.engine.onRemove(this.namespaceId,t,this.delegate)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,s,i){this.delegate.setAttribute(e,t,s,i)}removeAttribute(e,t,s){this.delegate.removeAttribute(e,t,s)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,s,i){this.delegate.setStyle(e,t,s,i)}removeStyle(e,t,s){this.delegate.removeStyle(e,t,s)}setProperty(e,t,s){t.charAt(0)==pe&&t==Wt?this.disableAnimations(e,!!s):this.delegate.setProperty(e,t,s)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,s){return this.delegate.listen(e,t,s)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}},et=class extends Ae{constructor(e,t,s,i,r){super(t,s,i,r),this.factory=e,this.namespaceId=t}setProperty(e,t,s){t.charAt(0)==pe?t.charAt(1)=="."&&t==Wt?(s=s===void 0?!0:!!s,this.disableAnimations(e,s)):this.engine.process(this.namespaceId,e,t.slice(1),s):this.delegate.setProperty(e,t,s)}listen(e,t,s){if(t.charAt(0)==pe){let i=Ei(e),r=t.slice(1),a="";return r.charAt(0)!=pe&&([r,a]=Si(r)),this.engine.listen(this.namespaceId,i,r,a,o=>{let l=o._data||-1;this.factory.scheduleListenerCallback(l,s,o)})}return this.delegate.listen(e,t,s)}};function Ei(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}function Si(n){let e=n.indexOf("."),t=n.substring(0,e),s=n.slice(e+1);return[t,s]}var Ft=class{constructor(e,t,s){this.delegate=e,this.engine=t,this._zone=s,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,t.onRemovalComplete=(i,r)=>{let a=r?.parentNode(i);a&&r.removeChild(a,i)}}createRenderer(e,t){let s="",i=this.delegate.createRenderer(e,t);if(!e||!t?.data?.animation){let h=this._rendererCache,c=h.get(i);if(!c){let u=()=>h.delete(i);c=new Ae(s,i,this.engine,u),h.set(i,c)}return c}let r=t.id,a=t.id+"-"+this._currentId;this._currentId++,this.engine.register(a,e);let o=h=>{Array.isArray(h)?h.forEach(o):this.engine.registerTrigger(r,a,e,h.name,h)};return t.data.animation.forEach(o),new et(this,a,i,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,s){if(e>=0&&et(s));return}let i=this._animationCallbacksBuffer;i.length==0&&queueMicrotask(()=>{this._zone.run(()=>{i.forEach(r=>{let[a,o]=r;a(o)}),this._animationCallbacksBuffer=[]})}),i.push([t,s])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}};export{Tt as AnimationDriver,qt as NoopAnimationDriver,Lt as \u0275Animation,we as \u0275AnimationEngine,et as \u0275AnimationRenderer,Ft as \u0275AnimationRendererFactory,Ie as \u0275AnimationStyleNormalizer,Ae as \u0275BaseAnimationRenderer,ze as \u0275NoopAnimationStyleNormalizer,xe as \u0275WebAnimationsDriver,be as \u0275WebAnimationsPlayer,Qe as \u0275WebAnimationsStyleNormalizer,Ks as \u0275allowPreviousPlayerStylesMerge,Pi as \u0275camelCaseToDashCase,zt as \u0275containsElement,Ni as \u0275createEngine,it as \u0275getParentElement,Kt as \u0275invokeQuery,Fs as \u0275normalizeKeyframes,ks as \u0275validateStyleProperty,Ai as \u0275validateWebAnimatableStyleProperty};
+import{a as he,d as pt,fa as E,ha as gt,ld as S,md as B,qd as yt,rd as Me,xd as x,yd as Ce,zd as ue}from"./chunk-BERTLP66.js";function _t(n){return new E(3e3,!1)}function Ht(){return new E(3100,!1)}function Yt(){return new E(3101,!1)}function Xt(n){return new E(3001,!1)}function Zt(n){return new E(3003,!1)}function Jt(n){return new E(3004,!1)}function xt(n,e){return new E(3005,!1)}function es(){return new E(3006,!1)}function ts(){return new E(3007,!1)}function ss(n,e){return new E(3008,!1)}function is(n){return new E(3002,!1)}function ns(n,e,t,s,i){return new E(3010,!1)}function rs(){return new E(3011,!1)}function as(){return new E(3012,!1)}function os(){return new E(3200,!1)}function ls(){return new E(3202,!1)}function hs(){return new E(3013,!1)}function us(n){return new E(3014,!1)}function cs(n){return new E(3015,!1)}function fs(n){return new E(3016,!1)}function ds(n){return new E(3500,!1)}function ms(n){return new E(3501,!1)}function ps(n,e){return new E(3404,!1)}function gs(n){return new E(3502,!1)}function ys(n){return new E(3503,!1)}function _s(){return new E(3300,!1)}function Es(n){return new E(3504,!1)}function Ss(n){return new E(3301,!1)}function Ts(n,e){return new E(3302,!1)}function vs(n){return new E(3303,!1)}function ws(n,e){return new E(3400,!1)}function bs(n){return new E(3401,!1)}function As(n){return new E(3402,!1)}function Ps(n,e){return new E(3505,!1)}var Ns=new Set(["-moz-outline-radius","-moz-outline-radius-bottomleft","-moz-outline-radius-bottomright","-moz-outline-radius-topleft","-moz-outline-radius-topright","-ms-grid-columns","-ms-grid-rows","-webkit-line-clamp","-webkit-text-fill-color","-webkit-text-stroke","-webkit-text-stroke-color","accent-color","all","backdrop-filter","background","background-color","background-position","background-size","block-size","border","border-block-end","border-block-end-color","border-block-end-width","border-block-start","border-block-start-color","border-block-start-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-width","border-color","border-end-end-radius","border-end-start-radius","border-image-outset","border-image-slice","border-image-width","border-inline-end","border-inline-end-color","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-width","border-left","border-left-color","border-left-width","border-radius","border-right","border-right-color","border-right-width","border-start-end-radius","border-start-start-radius","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-width","border-width","bottom","box-shadow","caret-color","clip","clip-path","color","column-count","column-gap","column-rule","column-rule-color","column-rule-width","column-width","columns","filter","flex","flex-basis","flex-grow","flex-shrink","font","font-size","font-size-adjust","font-stretch","font-variation-settings","font-weight","gap","grid-column-gap","grid-gap","grid-row-gap","grid-template-columns","grid-template-rows","height","inline-size","input-security","inset","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","left","letter-spacing","line-clamp","line-height","margin","margin-block-end","margin-block-start","margin-bottom","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","mask","mask-border","mask-position","mask-size","max-block-size","max-height","max-inline-size","max-lines","max-width","min-block-size","min-height","min-inline-size","min-width","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","outline","outline-color","outline-offset","outline-width","padding","padding-block-end","padding-block-start","padding-bottom","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","perspective","perspective-origin","right","rotate","row-gap","scale","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-coordinate","scroll-snap-destination","scrollbar-color","shape-image-threshold","shape-margin","shape-outside","tab-size","text-decoration","text-decoration-color","text-decoration-thickness","text-emphasis","text-emphasis-color","text-indent","text-shadow","text-underline-offset","top","transform","transform-origin","translate","vertical-align","visibility","width","word-spacing","z-index","zoom"]);function U(n){switch(n.length){case 0:return new x;case 1:return n[0];default:return new Ce(n)}}function It(n,e,t=new Map,s=new Map){let i=[],r=[],a=-1,o=null;if(e.forEach(l=>{let h=l.get("offset"),c=h==a,u=c&&o||new Map;l.forEach((_,y)=>{let d=y,g=_;if(y!=="offset")switch(d=n.normalizePropertyName(d,i),g){case ue:g=t.get(y);break;case B:g=s.get(y);break;default:g=n.normalizeStyleValue(y,d,g,i);break}u.set(d,g)}),c||r.push(u),o=u,a=h}),i.length)throw gs(i);return r}function tt(n,e,t,s){switch(e){case"start":n.onStart(()=>s(t&&ke(t,"start",n)));break;case"done":n.onDone(()=>s(t&&ke(t,"done",n)));break;case"destroy":n.onDestroy(()=>s(t&&ke(t,"destroy",n)));break}}function ke(n,e,t){let s=t.totalTime,i=!!t.disabled,r=st(n.element,n.triggerName,n.fromState,n.toState,e||n.phaseName,s??n.totalTime,i),a=n._data;return a!=null&&(r._data=a),r}function st(n,e,t,s,i="",r=0,a){return{element:n,triggerName:e,fromState:t,toState:s,phaseName:i,totalTime:r,disabled:!!a}}function L(n,e,t){let s=n.get(e);return s||n.set(e,s=t),s}function Et(n){let e=n.indexOf(":"),t=n.substring(1,e),s=n.slice(e+1);return[t,s]}var Ms=typeof document>"u"?null:document.documentElement;function it(n){let e=n.parentNode||n.host||null;return e===Ms?null:e}function Cs(n){return n.substring(1,6)=="ebkit"}var H=null,St=!1;function ks(n){H||(H=Ds()||{},St=H.style?"WebkitAppearance"in H.style:!1);let e=!0;return H.style&&!Cs(n)&&(e=n in H.style,!e&&St&&(e="Webkit"+n.charAt(0).toUpperCase()+n.slice(1)in H.style)),e}function Ai(n){return Ns.has(n)}function Ds(){return typeof document<"u"?document.body:null}function zt(n,e){for(;e;){if(e===n)return!0;e=it(e)}return!1}function Kt(n,e,t){if(t)return Array.from(n.querySelectorAll(e));let s=n.querySelector(e);return s?[s]:[]}var qt=(()=>{let e=class e{validateStyleProperty(s){return ks(s)}matchesElement(s,i){return!1}containsElement(s,i){return zt(s,i)}getParentElement(s){return it(s)}query(s,i,r){return Kt(s,i,r)}computeStyle(s,i,r){return r||""}animate(s,i,r,a,o,l=[],h){return new x(r,a)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=gt({token:e,factory:e.\u0275fac});let n=e;return n})(),ut=class ut{};ut.NOOP=new qt;var Tt=ut,Ie=class{},ze=class{normalizePropertyName(e,t){return e}normalizeStyleValue(e,t,s,i){return s}},Rs=1e3,Bt="{{",Os="}}",nt="ng-enter",ge="ng-leave",ce="ng-trigger",ye=".ng-trigger",vt="ng-animating",Ke=".ng-animating";function $(n){if(typeof n=="number")return n;let e=n.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:qe(parseFloat(e[1]),e[2])}function qe(n,e){switch(e){case"s":return n*Rs;default:return n}}function _e(n,e,t){return n.hasOwnProperty("duration")?n:Ls(n,e,t)}function Ls(n,e,t){let s=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,i,r=0,a="";if(typeof n=="string"){let o=n.match(s);if(o===null)return e.push(_t(n)),{duration:0,delay:0,easing:""};i=qe(parseFloat(o[1]),o[2]);let l=o[3];l!=null&&(r=qe(parseFloat(l),o[4]));let h=o[5];h&&(a=h)}else i=n;if(!t){let o=!1,l=e.length;i<0&&(e.push(Ht()),o=!0),r<0&&(e.push(Yt()),o=!0),o&&e.splice(l,0,_t(n))}return{duration:i,delay:r,easing:a}}function Fs(n){return n.length?n[0]instanceof Map?n:n.map(e=>new Map(Object.entries(e))):[]}function wt(n){return Array.isArray(n)?new Map(...n):new Map(n)}function Q(n,e,t){e.forEach((s,i)=>{let r=rt(i);t&&!t.has(i)&&t.set(i,n.style[r]),n.style[r]=s})}function X(n,e){e.forEach((t,s)=>{let i=rt(s);n.style[i]=""})}function ie(n){return Array.isArray(n)?n.length==1?n[0]:yt(n):n}function Is(n,e,t){let s=e.params||{},i=Qt(n);i.length&&i.forEach(r=>{s.hasOwnProperty(r)||t.push(Xt(r))})}var Be=new RegExp(`${Bt}\\s*(.+?)\\s*${Os}`,"g");function Qt(n){let e=[];if(typeof n=="string"){let t;for(;t=Be.exec(n);)e.push(t[1]);Be.lastIndex=0}return e}function re(n,e,t){let s=`${n}`,i=s.replace(Be,(r,a)=>{let o=e[a];return o==null&&(t.push(Zt(a)),o=""),o.toString()});return i==s?n:i}var zs=/-+([a-z0-9])/g;function rt(n){return n.replace(zs,(...e)=>e[1].toUpperCase())}function Pi(n){return n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Ks(n,e){return n===0||e===0}function qs(n,e,t){if(t.size&&e.length){let s=e[0],i=[];if(t.forEach((r,a)=>{s.has(a)||i.push(a),s.set(a,r)}),i.length)for(let r=1;ra.set(o,at(n,o)))}}return e}function O(n,e,t){switch(e.type){case S.Trigger:return n.visitTrigger(e,t);case S.State:return n.visitState(e,t);case S.Transition:return n.visitTransition(e,t);case S.Sequence:return n.visitSequence(e,t);case S.Group:return n.visitGroup(e,t);case S.Animate:return n.visitAnimate(e,t);case S.Keyframes:return n.visitKeyframes(e,t);case S.Style:return n.visitStyle(e,t);case S.Reference:return n.visitReference(e,t);case S.AnimateChild:return n.visitAnimateChild(e,t);case S.AnimateRef:return n.visitAnimateRef(e,t);case S.Query:return n.visitQuery(e,t);case S.Stagger:return n.visitStagger(e,t);default:throw Jt(e.type)}}function at(n,e){return window.getComputedStyle(n)[e]}var Bs=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]),Qe=class extends Ie{normalizePropertyName(e,t){return rt(e)}normalizeStyleValue(e,t,s,i){let r="",a=s.toString().trim();if(Bs.has(t)&&s!==0&&s!=="0")if(typeof s=="number")r="px";else{let o=s.match(/^[+-]?[\d\.]+([a-z]*)$/);o&&o[1].length==0&&i.push(xt(e,s))}return a+r}};var Ee="*";function Qs(n,e){let t=[];return typeof n=="string"?n.split(/\s*,\s*/).forEach(s=>$s(s,t,e)):t.push(n),t}function $s(n,e,t){if(n[0]==":"){let l=Vs(n,t);if(typeof l=="function"){e.push(l);return}n=l}let s=n.match(/^(\*|[-\w]+)\s*([=-]>)\s*(\*|[-\w]+)$/);if(s==null||s.length<4)return t.push(cs(n)),e;let i=s[1],r=s[2],a=s[3];e.push(bt(i,a));let o=i==Ee&&a==Ee;r[0]=="<"&&!o&&e.push(bt(a,i))}function Vs(n,e){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,s)=>parseFloat(s)>parseFloat(t);case":decrement":return(t,s)=>parseFloat(s) *"}}var fe=new Set(["true","1"]),de=new Set(["false","0"]);function bt(n,e){let t=fe.has(n)||de.has(n),s=fe.has(e)||de.has(e);return(i,r)=>{let a=n==Ee||n==i,o=e==Ee||e==r;return!a&&t&&typeof i=="boolean"&&(a=i?fe.has(n):de.has(n)),!o&&s&&typeof r=="boolean"&&(o=r?fe.has(e):de.has(e)),a&&o}}var $t=":self",Us=new RegExp(`s*${$t}s*,?`,"g");function ot(n,e,t,s){return new $e(n).build(e,t,s)}var At="",$e=class{constructor(e){this._driver=e}build(e,t,s){let i=new Ve(t);return this._resetContextStyleTimingState(i),O(this,ie(e),i)}_resetContextStyleTimingState(e){e.currentQuerySelector=At,e.collectedStyles=new Map,e.collectedStyles.set(At,new Map),e.currentTime=0}visitTrigger(e,t){let s=t.queryCount=0,i=t.depCount=0,r=[],a=[];return e.name.charAt(0)=="@"&&t.errors.push(es()),e.definitions.forEach(o=>{if(this._resetContextStyleTimingState(t),o.type==S.State){let l=o,h=l.name;h.toString().split(/\s*,\s*/).forEach(c=>{l.name=c,r.push(this.visitState(l,t))}),l.name=h}else if(o.type==S.Transition){let l=this.visitTransition(o,t);s+=l.queryCount,i+=l.depCount,a.push(l)}else t.errors.push(ts())}),{type:S.Trigger,name:e.name,states:r,transitions:a,queryCount:s,depCount:i,options:null}}visitState(e,t){let s=this.visitStyle(e.styles,t),i=e.options&&e.options.params||null;if(s.containsDynamicStyles){let r=new Set,a=i||{};s.styles.forEach(o=>{o instanceof Map&&o.forEach(l=>{Qt(l).forEach(h=>{a.hasOwnProperty(h)||r.add(h)})})}),r.size&&t.errors.push(ss(e.name,[...r.values()]))}return{type:S.State,name:e.name,style:s,options:i?{params:i}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;let s=O(this,ie(e.animation),t),i=Qs(e.expr,t.errors);return{type:S.Transition,matchers:i,animation:s,queryCount:t.queryCount,depCount:t.depCount,options:Y(e.options)}}visitSequence(e,t){return{type:S.Sequence,steps:e.steps.map(s=>O(this,s,t)),options:Y(e.options)}}visitGroup(e,t){let s=t.currentTime,i=0,r=e.steps.map(a=>{t.currentTime=s;let o=O(this,a,t);return i=Math.max(i,t.currentTime),o});return t.currentTime=i,{type:S.Group,steps:r,options:Y(e.options)}}visitAnimate(e,t){let s=Hs(e.timings,t.errors);t.currentAnimateTimings=s;let i,r=e.styles?e.styles:Me({});if(r.type==S.Keyframes)i=this.visitKeyframes(r,t);else{let a=e.styles,o=!1;if(!a){o=!0;let h={};s.easing&&(h.easing=s.easing),a=Me(h)}t.currentTime+=s.duration+s.delay;let l=this.visitStyle(a,t);l.isEmptyStep=o,i=l}return t.currentAnimateTimings=null,{type:S.Animate,timings:s,style:i,options:null}}visitStyle(e,t){let s=this._makeStyleAst(e,t);return this._validateStyleAst(s,t),s}_makeStyleAst(e,t){let s=[],i=Array.isArray(e.styles)?e.styles:[e.styles];for(let o of i)typeof o=="string"?o===B?s.push(o):t.errors.push(is(o)):s.push(new Map(Object.entries(o)));let r=!1,a=null;return s.forEach(o=>{if(o instanceof Map&&(o.has("easing")&&(a=o.get("easing"),o.delete("easing")),!r)){for(let l of o.values())if(l.toString().indexOf(Bt)>=0){r=!0;break}}}),{type:S.Style,styles:s,easing:a,offset:e.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(e,t){let s=t.currentAnimateTimings,i=t.currentTime,r=t.currentTime;s&&r>0&&(r-=s.duration+s.delay),e.styles.forEach(a=>{typeof a!="string"&&a.forEach((o,l)=>{let h=t.collectedStyles.get(t.currentQuerySelector),c=h.get(l),u=!0;c&&(r!=i&&r>=c.startTime&&i<=c.endTime&&(t.errors.push(ns(l,c.startTime,c.endTime,r,i)),u=!1),r=c.startTime),u&&h.set(l,{startTime:r,endTime:i}),t.options&&Is(o,t.options,t.errors)})})}visitKeyframes(e,t){let s={type:S.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(rs()),s;let i=1,r=0,a=[],o=!1,l=!1,h=0,c=e.steps.map(b=>{let A=this._makeStyleAst(b,t),C=A.offset!=null?A.offset:Gs(A.styles),N=0;return C!=null&&(r++,N=A.offset=C),l=l||N<0||N>1,o=o||N0&&r{let C=_>0?A==y?1:_*A:a[A],N=C*v;t.currentTime=d+g.delay+N,g.duration=N,this._validateStyleAst(b,t),b.offset=C,s.styles.push(b)}),s}visitReference(e,t){return{type:S.Reference,animation:O(this,ie(e.animation),t),options:Y(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:S.AnimateChild,options:Y(e.options)}}visitAnimateRef(e,t){return{type:S.AnimateRef,animation:this.visitReference(e.animation,t),options:Y(e.options)}}visitQuery(e,t){let s=t.currentQuerySelector,i=e.options||{};t.queryCount++,t.currentQuery=e;let[r,a]=js(e.selector);t.currentQuerySelector=s.length?s+" "+r:r,L(t.collectedStyles,t.currentQuerySelector,new Map);let o=O(this,ie(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=s,{type:S.Query,selector:r,limit:i.limit||0,optional:!!i.optional,includeSelf:a,animation:o,originalSelector:e.selector,options:Y(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(hs());let s=e.timings==="full"?{duration:0,delay:0,easing:"full"}:_e(e.timings,t.errors,!0);return{type:S.Stagger,animation:O(this,ie(e.animation),t),timings:s,options:null}}};function js(n){let e=!!n.split(/\s*,\s*/).find(t=>t==$t);return e&&(n=n.replace(Us,"")),n=n.replace(/@\*/g,ye).replace(/@\w+/g,t=>ye+"-"+t.slice(1)).replace(/:animating/g,Ke),[n,e]}function Ws(n){return n?he({},n):null}var Ve=class{constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}};function Gs(n){if(typeof n=="string")return null;let e=null;if(Array.isArray(n))n.forEach(t=>{if(t instanceof Map&&t.has("offset")){let s=t;e=parseFloat(s.get("offset")),s.delete("offset")}});else if(n instanceof Map&&n.has("offset")){let t=n;e=parseFloat(t.get("offset")),t.delete("offset")}return e}function Hs(n,e){if(n.hasOwnProperty("duration"))return n;if(typeof n=="number"){let r=_e(n,e).duration;return De(r,0,"")}let t=n;if(t.split(/\s+/).some(r=>r.charAt(0)=="{"&&r.charAt(1)=="{")){let r=De(0,0,"");return r.dynamic=!0,r.strValue=t,r}let i=_e(t,e);return De(i.duration,i.delay,i.easing)}function Y(n){return n?(n=he({},n),n.params&&(n.params=Ws(n.params))):n={},n}function De(n,e,t){return{duration:n,delay:e,easing:t}}function lt(n,e,t,s,i,r,a=null,o=!1){return{type:1,element:n,keyframes:e,preStyleProps:t,postStyleProps:s,duration:i,delay:r,totalTime:i+r,easing:a,subTimeline:o}}var se=class{constructor(){this._map=new Map}get(e){return this._map.get(e)||[]}append(e,t){let s=this._map.get(e);s||this._map.set(e,s=[]),s.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}},Ys=1,Xs=":enter",Zs=new RegExp(Xs,"g"),Js=":leave",xs=new RegExp(Js,"g");function ht(n,e,t,s,i,r=new Map,a=new Map,o,l,h=[]){return new Ue().buildKeyframes(n,e,t,s,i,r,a,o,l,h)}var Ue=class{buildKeyframes(e,t,s,i,r,a,o,l,h,c=[]){h=h||new se;let u=new je(e,t,h,i,r,c,[]);u.options=l;let _=l.delay?$(l.delay):0;u.currentTimeline.delayNextStep(_),u.currentTimeline.setStyles([a],null,u.errors,l),O(this,s,u);let y=u.timelines.filter(d=>d.containsAnimation());if(y.length&&o.size){let d;for(let g=y.length-1;g>=0;g--){let v=y[g];if(v.element===t){d=v;break}}d&&!d.allowOnlyTimelineStyles()&&d.setStyles([o],null,u.errors,l)}return y.length?y.map(d=>d.buildKeyframes()):[lt(t,[],[],[],0,_,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){let s=t.subInstructions.get(t.element);if(s){let i=t.createSubContext(e.options),r=t.currentTimeline.currentTime,a=this._visitSubInstructions(s,i,i.options);r!=a&&t.transformIntoNewTimeline(a)}t.previousNode=e}visitAnimateRef(e,t){let s=t.createSubContext(e.options);s.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],t,s),this.visitReference(e.animation,s),t.transformIntoNewTimeline(s.currentTimeline.currentTime),t.previousNode=e}_applyAnimationRefDelays(e,t,s){for(let i of e){let r=i?.delay;if(r){let a=typeof r=="number"?r:$(re(r,i?.params??{},t.errors));s.delayNextStep(a)}}}_visitSubInstructions(e,t,s){let r=t.currentTimeline.currentTime,a=s.duration!=null?$(s.duration):null,o=s.delay!=null?$(s.delay):null;return a!==0&&e.forEach(l=>{let h=t.appendInstructionToTimeline(l,a,o);r=Math.max(r,h.duration+h.delay)}),r}visitReference(e,t){t.updateOptions(e.options,!0),O(this,e.animation,t),t.previousNode=e}visitSequence(e,t){let s=t.subContextCount,i=t,r=e.options;if(r&&(r.params||r.delay)&&(i=t.createSubContext(r),i.transformIntoNewTimeline(),r.delay!=null)){i.previousNode.type==S.Style&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=Se);let a=$(r.delay);i.delayNextStep(a)}e.steps.length&&(e.steps.forEach(a=>O(this,a,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>s&&i.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){let s=[],i=t.currentTimeline.currentTime,r=e.options&&e.options.delay?$(e.options.delay):0;e.steps.forEach(a=>{let o=t.createSubContext(e.options);r&&o.delayNextStep(r),O(this,a,o),i=Math.max(i,o.currentTimeline.currentTime),s.push(o.currentTimeline)}),s.forEach(a=>t.currentTimeline.mergeTimelineCollectedStyles(a)),t.transformIntoNewTimeline(i),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){let s=e.strValue,i=t.params?re(s,t.params,t.errors):s;return _e(i,t.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){let s=t.currentAnimateTimings=this._visitTiming(e.timings,t),i=t.currentTimeline;s.delay&&(t.incrementTime(s.delay),i.snapshotCurrentStyles());let r=e.style;r.type==S.Keyframes?this.visitKeyframes(r,t):(t.incrementTime(s.duration),this.visitStyle(r,t),i.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){let s=t.currentTimeline,i=t.currentAnimateTimings;!i&&s.hasCurrentStyleProperties()&&s.forwardFrame();let r=i&&i.easing||e.easing;e.isEmptyStep?s.applyEmptyStep(r):s.setStyles(e.styles,r,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){let s=t.currentAnimateTimings,i=t.currentTimeline.duration,r=s.duration,o=t.createSubContext().currentTimeline;o.easing=s.easing,e.styles.forEach(l=>{let h=l.offset||0;o.forwardTime(h*r),o.setStyles(l.styles,l.easing,t.errors,t.options),o.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(o),t.transformIntoNewTimeline(i+r),t.previousNode=e}visitQuery(e,t){let s=t.currentTimeline.currentTime,i=e.options||{},r=i.delay?$(i.delay):0;r&&(t.previousNode.type===S.Style||s==0&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Se);let a=s,o=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!i.optional,t.errors);t.currentQueryTotal=o.length;let l=null;o.forEach((h,c)=>{t.currentQueryIndex=c;let u=t.createSubContext(e.options,h);r&&u.delayNextStep(r),h===t.element&&(l=u.currentTimeline),O(this,e.animation,u),u.currentTimeline.applyStylesToKeyframe();let _=u.currentTimeline.currentTime;a=Math.max(a,_)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(a),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){let s=t.parentContext,i=t.currentTimeline,r=e.timings,a=Math.abs(r.duration),o=a*(t.currentQueryTotal-1),l=a*t.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":l=o-l;break;case"full":l=s.currentStaggerTime;break}let c=t.currentTimeline;l&&c.delayNextStep(l);let u=c.currentTime;O(this,e.animation,t),t.previousNode=e,s.currentStaggerTime=i.currentTime-u+(i.startTime-s.currentTimeline.startTime)}},Se={},je=class n{constructor(e,t,s,i,r,a,o,l){this._driver=e,this.element=t,this.subInstructions=s,this._enterClassName=i,this._leaveClassName=r,this.errors=a,this.timelines=o,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Se,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new Te(this._driver,t,0),o.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;let s=e,i=this.options;s.duration!=null&&(i.duration=$(s.duration)),s.delay!=null&&(i.delay=$(s.delay));let r=s.params;if(r){let a=i.params;a||(a=this.options.params={}),Object.keys(r).forEach(o=>{(!t||!a.hasOwnProperty(o))&&(a[o]=re(r[o],a,this.errors))})}}_copyOptions(){let e={};if(this.options){let t=this.options.params;if(t){let s=e.params={};Object.keys(t).forEach(i=>{s[i]=t[i]})}}return e}createSubContext(e=null,t,s){let i=t||this.element,r=new n(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,s||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(e),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(e){return this.previousNode=Se,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,s){let i={duration:t??e.duration,delay:this.currentTimeline.currentTime+(s??0)+e.delay,easing:""},r=new We(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,i,e.stretchStartingKeyframe);return this.timelines.push(r),i}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,s,i,r,a){let o=[];if(i&&o.push(this.element),e.length>0){e=e.replace(Zs,"."+this._enterClassName),e=e.replace(xs,"."+this._leaveClassName);let l=s!=1,h=this._driver.query(this.element,e,l);s!==0&&(h=s<0?h.slice(h.length+s,h.length):h.slice(0,s)),o.push(...h)}return!r&&o.length==0&&a.push(us(t)),o}},Te=class n{constructor(e,t,s,i){this._driver=e,this.element=t,this.startTime=s,this._elementTimelineStylesLookup=i,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(e){let t=this._keyframes.size===1&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new n(this._driver,e,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=Ys,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles.set(e,t),this._globalTimelineStyles.set(e,t),this._styleSummary.set(e,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[t,s]of this._globalTimelineStyles)this._backFill.set(t,s||B),this._currentKeyframe.set(t,B);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,s,i){t&&this._previousKeyframe.set("easing",t);let r=i&&i.params||{},a=ei(e,this._globalTimelineStyles);for(let[o,l]of a){let h=re(l,r,s);this._pendingStyles.set(o,h),this._localTimelineStyles.has(o)||this._backFill.set(o,this._globalTimelineStyles.get(o)??B),this._updateStyle(o,h)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,t)=>{this._currentKeyframe.set(t,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,e)}))}snapshotCurrentStyles(){for(let[e,t]of this._localTimelineStyles)this._pendingStyles.set(e,t),this._updateStyle(e,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((t,s)=>{let i=this._styleSummary.get(s);(!i||t.time>i.time)&&this._updateStyle(s,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,t=new Set,s=this._keyframes.size===1&&this.duration===0,i=[];this._keyframes.forEach((o,l)=>{let h=new Map([...this._backFill,...o]);h.forEach((c,u)=>{c===ue?e.add(u):c===B&&t.add(u)}),s||h.set("offset",l/this.duration),i.push(h)});let r=[...e.values()],a=[...t.values()];if(s){let o=i[0],l=new Map(o);o.set("offset",0),l.set("offset",1),i=[o,l]}return lt(this.element,i,r,a,this.duration,this.startTime,this.easing,!1)}},We=class extends Te{constructor(e,t,s,i,r,a,o=!1){super(e,t,a.delay),this.keyframes=s,this.preStyleProps=i,this.postStyleProps=r,this._stretchStartingKeyframe=o,this.timings={duration:a.duration,delay:a.delay,easing:a.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:s,easing:i}=this.timings;if(this._stretchStartingKeyframe&&t){let r=[],a=s+t,o=t/a,l=new Map(e[0]);l.set("offset",0),r.push(l);let h=new Map(e[0]);h.set("offset",Pt(o)),r.push(h);let c=e.length-1;for(let u=1;u<=c;u++){let _=new Map(e[u]),y=_.get("offset"),d=t+y*s;_.set("offset",Pt(d/a)),r.push(_)}s=a,t=0,i="",e=r}return lt(this.element,e,this.preStyleProps,this.postStyleProps,s,t,i,!0)}};function Pt(n,e=3){let t=Math.pow(10,e-1);return Math.round(n*t)/t}function ei(n,e){let t=new Map,s;return n.forEach(i=>{if(i==="*"){s??=e.keys();for(let r of s)t.set(r,B)}else for(let[r,a]of i)t.set(r,a)}),t}function Nt(n,e,t,s,i,r,a,o,l,h,c,u,_){return{type:0,element:n,triggerName:e,isRemovalTransition:i,fromState:t,fromStyles:r,toState:s,toStyles:a,timelines:o,queriedElements:l,preStyleProps:h,postStyleProps:c,totalTime:u,errors:_}}var Re={},ve=class{constructor(e,t,s){this._triggerName=e,this.ast=t,this._stateStyles=s}match(e,t,s,i){return ti(this.ast.matchers,e,t,s,i)}buildStyles(e,t,s){let i=this._stateStyles.get("*");return e!==void 0&&(i=this._stateStyles.get(e?.toString())||i),i?i.buildStyles(t,s):new Map}build(e,t,s,i,r,a,o,l,h,c){let u=[],_=this.ast.options&&this.ast.options.params||Re,y=o&&o.params||Re,d=this.buildStyles(s,y,u),g=l&&l.params||Re,v=this.buildStyles(i,g,u),b=new Set,A=new Map,C=new Map,N=i==="void",Z={params:Vt(g,_),delay:this.ast.options?.delay},K=c?[]:ht(e,t,this.ast.animation,r,a,d,v,Z,h,u),k=0;return K.forEach(D=>{k=Math.max(D.duration+D.delay,k)}),u.length?Nt(t,this._triggerName,s,i,N,d,v,[],[],A,C,k,u):(K.forEach(D=>{let j=D.element,J=L(A,j,new Set);D.preStyleProps.forEach(W=>J.add(W));let ct=L(C,j,new Set);D.postStyleProps.forEach(W=>ct.add(W)),j!==t&&b.add(j)}),Nt(t,this._triggerName,s,i,N,d,v,K,[...b.values()],A,C,k))}};function ti(n,e,t,s,i){return n.some(r=>r(e,t,s,i))}function Vt(n,e){let t=he({},e);return Object.entries(n).forEach(([s,i])=>{i!=null&&(t[s]=i)}),t}var Ge=class{constructor(e,t,s){this.styles=e,this.defaultParams=t,this.normalizer=s}buildStyles(e,t){let s=new Map,i=Vt(e,this.defaultParams);return this.styles.styles.forEach(r=>{typeof r!="string"&&r.forEach((a,o)=>{a&&(a=re(a,i,t));let l=this.normalizer.normalizePropertyName(o,t);a=this.normalizer.normalizeStyleValue(o,l,a,t),s.set(o,a)})}),s}};function si(n,e,t){return new He(n,e,t)}var He=class{constructor(e,t,s){this.name=e,this.ast=t,this._normalizer=s,this.transitionFactories=[],this.states=new Map,t.states.forEach(i=>{let r=i.options&&i.options.params||{};this.states.set(i.name,new Ge(i.style,r,s))}),Mt(this.states,"true","1"),Mt(this.states,"false","0"),t.transitions.forEach(i=>{this.transitionFactories.push(new ve(e,i,this.states))}),this.fallbackTransition=ii(e,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,s,i){return this.transitionFactories.find(a=>a.match(e,t,s,i))||null}matchStyles(e,t,s){return this.fallbackTransition.buildStyles(e,t,s)}};function ii(n,e,t){let s=[(a,o)=>!0],i={type:S.Sequence,steps:[],options:null},r={type:S.Transition,animation:i,matchers:s,options:null,queryCount:0,depCount:0};return new ve(n,r,e)}function Mt(n,e,t){n.has(e)?n.has(t)||n.set(t,n.get(e)):n.has(t)&&n.set(e,n.get(t))}var ni=new se,Ye=class{constructor(e,t,s){this.bodyNode=e,this._driver=t,this._normalizer=s,this._animations=new Map,this._playersById=new Map,this.players=[]}register(e,t){let s=[],i=[],r=ot(this._driver,t,s,i);if(s.length)throw ys(s);i.length&&void 0,this._animations.set(e,r)}_buildPlayer(e,t,s){let i=e.element,r=It(this._normalizer,e.keyframes,t,s);return this._driver.animate(i,r,e.duration,e.delay,e.easing,[],!0)}create(e,t,s={}){let i=[],r=this._animations.get(e),a,o=new Map;if(r?(a=ht(this._driver,t,r,nt,ge,new Map,new Map,s,ni,i),a.forEach(c=>{let u=L(o,c.element,new Map);c.postStyleProps.forEach(_=>u.set(_,null))})):(i.push(_s()),a=[]),i.length)throw Es(i);o.forEach((c,u)=>{c.forEach((_,y)=>{c.set(y,this._driver.computeStyle(u,y,B))})});let l=a.map(c=>{let u=o.get(c.element);return this._buildPlayer(c,new Map,u)}),h=U(l);return this._playersById.set(e,h),h.onDestroy(()=>this.destroy(e)),this.players.push(h),h}destroy(e){let t=this._getPlayer(e);t.destroy(),this._playersById.delete(e);let s=this.players.indexOf(t);s>=0&&this.players.splice(s,1)}_getPlayer(e){let t=this._playersById.get(e);if(!t)throw Ss(e);return t}listen(e,t,s,i){let r=st(t,"","","");return tt(this._getPlayer(e),s,r,i),()=>{}}command(e,t,s,i){if(s=="register"){this.register(e,i[0]);return}if(s=="create"){let a=i[0]||{};this.create(e,t,a);return}let r=this._getPlayer(e);switch(s){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(e);break}}},Ct="ng-animate-queued",ri=".ng-animate-queued",Oe="ng-animate-disabled",ai=".ng-animate-disabled",oi="ng-star-inserted",li=".ng-star-inserted",hi=[],Ut={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},ui={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},z="__ng_removed",ae=class{get params(){return this.options.params}constructor(e,t=""){this.namespaceId=t;let s=e&&e.hasOwnProperty("value"),i=s?e.value:e;if(this.value=fi(i),s){let r=e,{value:a}=r,o=pt(r,["value"]);this.options=o}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let t=e.params;if(t){let s=this.options.params;Object.keys(t).forEach(i=>{s[i]==null&&(s[i]=t[i])})}}},ne="void",Le=new ae(ne),Xe=class{constructor(e,t,s){this.id=e,this.hostElement=t,this._engine=s,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,I(t,this._hostClassName)}listen(e,t,s,i){if(!this._triggers.has(t))throw Ts(s,t);if(s==null||s.length==0)throw vs(t);if(!di(s))throw ws(s,t);let r=L(this._elementListeners,e,[]),a={name:t,phase:s,callback:i};r.push(a);let o=L(this._engine.statesByElement,e,new Map);return o.has(t)||(I(e,ce),I(e,ce+"-"+t),o.set(t,Le)),()=>{this._engine.afterFlush(()=>{let l=r.indexOf(a);l>=0&&r.splice(l,1),this._triggers.has(t)||o.delete(t)})}}register(e,t){return this._triggers.has(e)?!1:(this._triggers.set(e,t),!0)}_getTrigger(e){let t=this._triggers.get(e);if(!t)throw bs(e);return t}trigger(e,t,s,i=!0){let r=this._getTrigger(t),a=new oe(this.id,t,e),o=this._engine.statesByElement.get(e);o||(I(e,ce),I(e,ce+"-"+t),this._engine.statesByElement.set(e,o=new Map));let l=o.get(t),h=new ae(s,this.id);if(!(s&&s.hasOwnProperty("value"))&&l&&h.absorbOptions(l.options),o.set(t,h),l||(l=Le),!(h.value===ne)&&l.value===h.value){if(!gi(l.params,h.params)){let g=[],v=r.matchStyles(l.value,l.params,g),b=r.matchStyles(h.value,h.params,g);g.length?this._engine.reportError(g):this._engine.afterFlush(()=>{X(e,v),Q(e,b)})}return}let _=L(this._engine.playersByElement,e,[]);_.forEach(g=>{g.namespaceId==this.id&&g.triggerName==t&&g.queued&&g.destroy()});let y=r.matchTransition(l.value,h.value,e,h.params),d=!1;if(!y){if(!i)return;y=r.fallbackTransition,d=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:y,fromState:l,toState:h,player:a,isFallbackTransition:d}),d||(I(e,Ct),a.onStart(()=>{ee(e,Ct)})),a.onDone(()=>{let g=this.players.indexOf(a);g>=0&&this.players.splice(g,1);let v=this._engine.playersByElement.get(e);if(v){let b=v.indexOf(a);b>=0&&v.splice(b,1)}}),this.players.push(a),_.push(a),a}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(t=>t.delete(e)),this._elementListeners.forEach((t,s)=>{this._elementListeners.set(s,t.filter(i=>i.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let t=this._engine.playersByElement.get(e);t&&(t.forEach(s=>s.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){let s=this._engine.driver.query(e,ye,!0);s.forEach(i=>{if(i[z])return;let r=this._engine.fetchNamespacesByElement(i);r.size?r.forEach(a=>a.triggerLeaveAnimation(i,t,!1,!0)):this.clearElementCache(i)}),this._engine.afterFlushAnimationsDone(()=>s.forEach(i=>this.clearElementCache(i)))}triggerLeaveAnimation(e,t,s,i){let r=this._engine.statesByElement.get(e),a=new Map;if(r){let o=[];if(r.forEach((l,h)=>{if(a.set(h,l.value),this._triggers.has(h)){let c=this.trigger(e,h,ne,i);c&&o.push(c)}}),o.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,a),s&&U(o).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let t=this._elementListeners.get(e),s=this._engine.statesByElement.get(e);if(t&&s){let i=new Set;t.forEach(r=>{let a=r.name;if(i.has(a))return;i.add(a);let l=this._triggers.get(a).fallbackTransition,h=s.get(a)||Le,c=new ae(ne),u=new oe(this.id,a,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:a,transition:l,fromState:h,toState:c,player:u,isFallbackTransition:!0})})}}removeNode(e,t){let s=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let i=!1;if(s.totalAnimations){let r=s.players.length?s.playersByQueriedElement.get(e):[];if(r&&r.length)i=!0;else{let a=e;for(;a=a.parentNode;)if(s.statesByElement.get(a)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(e),i)s.markElementAsRemoved(this.id,e,!1,t);else{let r=e[z];(!r||r===Ut)&&(s.afterFlush(()=>this.clearElementCache(e)),s.destroyInnerAnimations(e),s._onRemovalComplete(e,t))}}insertNode(e,t){I(e,this._hostClassName)}drainQueuedTransitions(e){let t=[];return this._queue.forEach(s=>{let i=s.player;if(i.destroyed)return;let r=s.element,a=this._elementListeners.get(r);a&&a.forEach(o=>{if(o.name==s.triggerName){let l=st(r,s.triggerName,s.fromState.value,s.toState.value);l._data=e,tt(s.player,o.phase,l,o.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):t.push(s)}),this._queue=[],t.sort((s,i)=>{let r=s.transition.ast.depCount,a=i.transition.ast.depCount;return r==0||a==0?r-a:this._engine.driver.containsElement(s.element,i.element)?1:-1})}destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},Ze=class{_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}constructor(e,t,s,i){this.bodyNode=e,this.driver=t,this._normalizer=s,this.scheduler=i,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(r,a)=>{}}get queuedPlayers(){let e=[];return this._namespaceList.forEach(t=>{t.players.forEach(s=>{s.queued&&e.push(s)})}),e}createNamespace(e,t){let s=new Xe(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(s,t):(this.newHostElements.set(t,s),this.collectEnterElement(t)),this._namespaceLookup[e]=s}_balanceNamespaceList(e,t){let s=this._namespaceList,i=this.namespacesByHostElement;if(s.length-1>=0){let a=!1,o=this.driver.getParentElement(t);for(;o;){let l=i.get(o);if(l){let h=s.indexOf(l);s.splice(h+1,0,e),a=!0;break}o=this.driver.getParentElement(o)}a||s.unshift(e)}else s.push(e);return i.set(t,e),e}register(e,t){let s=this._namespaceLookup[e];return s||(s=this.createNamespace(e,t)),s}registerTrigger(e,t,s){let i=this._namespaceLookup[e];i&&i.register(t,s)&&this.totalAnimations++}destroy(e,t){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let s=this._fetchNamespace(e);this.namespacesByHostElement.delete(s.hostElement);let i=this._namespaceList.indexOf(s);i>=0&&this._namespaceList.splice(i,1),s.destroy(t),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let t=new Set,s=this.statesByElement.get(e);if(s){for(let i of s.values())if(i.namespaceId){let r=this._fetchNamespace(i.namespaceId);r&&t.add(r)}}return t}trigger(e,t,s,i){if(me(t)){let r=this._fetchNamespace(e);if(r)return r.trigger(t,s,i),!0}return!1}insertNode(e,t,s,i){if(!me(t))return;let r=t[z];if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;let a=this.collectedLeaveElements.indexOf(t);a>=0&&this.collectedLeaveElements.splice(a,1)}if(e){let a=this._fetchNamespace(e);a&&a.insertNode(t,s)}i&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),I(e,Oe)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),ee(e,Oe))}removeNode(e,t,s){if(me(t)){this.scheduler?.notify();let i=e?this._fetchNamespace(e):null;i?i.removeNode(t,s):this.markElementAsRemoved(e,t,!1,s);let r=this.namespacesByHostElement.get(t);r&&r.id!==e&&r.removeNode(t,s)}else this._onRemovalComplete(t,s)}markElementAsRemoved(e,t,s,i,r){this.collectedLeaveElements.push(t),t[z]={namespaceId:e,setForRemoval:i,hasAnimation:s,removedBeforeQueried:!1,previousTriggersValues:r}}listen(e,t,s,i,r){return me(t)?this._fetchNamespace(e).listen(t,s,i,r):()=>{}}_buildInstruction(e,t,s,i,r){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,s,i,e.fromState.options,e.toState.options,t,r)}destroyInnerAnimations(e){let t=this.driver.query(e,ye,!0);t.forEach(s=>this.destroyActiveAnimationsForElement(s)),this.playersByQueriedElement.size!=0&&(t=this.driver.query(e,Ke,!0),t.forEach(s=>this.finishActiveQueriedAnimationOnElement(s)))}destroyActiveAnimationsForElement(e){let t=this.playersByElement.get(e);t&&t.forEach(s=>{s.queued?s.markedForDestroy=!0:s.destroy()})}finishActiveQueriedAnimationOnElement(e){let t=this.playersByQueriedElement.get(e);t&&t.forEach(s=>s.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return U(this.players).onDone(()=>e());e()})}processLeaveNode(e){let t=e[z];if(t&&t.setForRemoval){if(e[z]=Ut,t.namespaceId){this.destroyInnerAnimations(e);let s=this._fetchNamespace(t.namespaceId);s&&s.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}e.classList?.contains(Oe)&&this.markElementAsDisabled(e,!1),this.driver.query(e,ai,!0).forEach(s=>{this.markElementAsDisabled(s,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((s,i)=>this._balanceNamespaceList(s,i)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let s=0;ss()),this._flushFns=[],this._whenQuietFns.length){let s=this._whenQuietFns;this._whenQuietFns=[],t.length?U(t).onDone(()=>{s.forEach(i=>i())}):s.forEach(i=>i())}}reportError(e){throw As(e)}_flushAnimations(e,t){let s=new se,i=[],r=new Map,a=[],o=new Map,l=new Map,h=new Map,c=new Set;this.disabledNodes.forEach(f=>{c.add(f);let m=this.driver.query(f,ri,!0);for(let p=0;p{let p=nt+g++;d.set(m,p),f.forEach(T=>I(T,p))});let v=[],b=new Set,A=new Set;for(let f=0;fb.add(T)):A.add(m))}let C=new Map,N=Rt(_,Array.from(b));N.forEach((f,m)=>{let p=ge+g++;C.set(m,p),f.forEach(T=>I(T,p))}),e.push(()=>{y.forEach((f,m)=>{let p=d.get(m);f.forEach(T=>ee(T,p))}),N.forEach((f,m)=>{let p=C.get(m);f.forEach(T=>ee(T,p))}),v.forEach(f=>{this.processLeaveNode(f)})});let Z=[],K=[];for(let f=this._namespaceList.length-1;f>=0;f--)this._namespaceList[f].drainQueuedTransitions(t).forEach(p=>{let T=p.player,P=p.element;if(Z.push(T),this.collectedEnterElements.length){let M=P[z];if(M&&M.setForMove){if(M.previousTriggersValues&&M.previousTriggersValues.has(p.triggerName)){let G=M.previousTriggersValues.get(p.triggerName),F=this.statesByElement.get(p.element);if(F&&F.has(p.triggerName)){let le=F.get(p.triggerName);le.value=G,F.set(p.triggerName,le)}}T.destroy();return}}let q=!u||!this.driver.containsElement(u,P),R=C.get(P),V=d.get(P),w=this._buildInstruction(p,s,V,R,q);if(w.errors&&w.errors.length){K.push(w);return}if(q){T.onStart(()=>X(P,w.fromStyles)),T.onDestroy(()=>Q(P,w.toStyles)),i.push(T);return}if(p.isFallbackTransition){T.onStart(()=>X(P,w.fromStyles)),T.onDestroy(()=>Q(P,w.toStyles)),i.push(T);return}let mt=[];w.timelines.forEach(M=>{M.stretchStartingKeyframe=!0,this.disabledNodes.has(M.element)||mt.push(M)}),w.timelines=mt,s.append(P,w.timelines);let Gt={instruction:w,player:T,element:P};a.push(Gt),w.queriedElements.forEach(M=>L(o,M,[]).push(T)),w.preStyleProps.forEach((M,G)=>{if(M.size){let F=l.get(G);F||l.set(G,F=new Set),M.forEach((le,Ne)=>F.add(Ne))}}),w.postStyleProps.forEach((M,G)=>{let F=h.get(G);F||h.set(G,F=new Set),M.forEach((le,Ne)=>F.add(Ne))})});if(K.length){let f=[];K.forEach(m=>{f.push(Ps(m.triggerName,m.errors))}),Z.forEach(m=>m.destroy()),this.reportError(f)}let k=new Map,D=new Map;a.forEach(f=>{let m=f.element;s.has(m)&&(D.set(m,m),this._beforeAnimationBuild(f.player.namespaceId,f.instruction,k))}),i.forEach(f=>{let m=f.element;this._getPreviousPlayers(m,!1,f.namespaceId,f.triggerName,null).forEach(T=>{L(k,m,[]).push(T),T.destroy()})});let j=v.filter(f=>Ot(f,l,h)),J=new Map;Dt(J,this.driver,A,h,B).forEach(f=>{Ot(f,l,h)&&j.push(f)});let W=new Map;y.forEach((f,m)=>{Dt(W,this.driver,new Set(f),l,ue)}),j.forEach(f=>{let m=J.get(f),p=W.get(f);J.set(f,new Map([...m?.entries()??[],...p?.entries()??[]]))});let Pe=[],ft=[],dt={};a.forEach(f=>{let{element:m,player:p,instruction:T}=f;if(s.has(m)){if(c.has(m)){p.onDestroy(()=>Q(m,T.toStyles)),p.disabled=!0,p.overrideTotalTime(T.totalTime),i.push(p);return}let P=dt;if(D.size>1){let R=m,V=[];for(;R=R.parentNode;){let w=D.get(R);if(w){P=w;break}V.push(R)}V.forEach(w=>D.set(w,P))}let q=this._buildAnimation(p.namespaceId,T,k,r,W,J);if(p.setRealPlayer(q),P===dt)Pe.push(p);else{let R=this.playersByElement.get(P);R&&R.length&&(p.parentPlayer=U(R)),i.push(p)}}else X(m,T.fromStyles),p.onDestroy(()=>Q(m,T.toStyles)),ft.push(p),c.has(m)&&i.push(p)}),ft.forEach(f=>{let m=r.get(f.element);if(m&&m.length){let p=U(m);f.setRealPlayer(p)}}),i.forEach(f=>{f.parentPlayer?f.syncPlayerEvents(f.parentPlayer):f.destroy()});for(let f=0;f!q.destroyed);P.length?mi(this,m,P):this.processLeaveNode(m)}return v.length=0,Pe.forEach(f=>{this.players.push(f),f.onDone(()=>{f.destroy();let m=this.players.indexOf(f);this.players.splice(m,1)}),f.play()}),Pe}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,s,i,r){let a=[];if(t){let o=this.playersByQueriedElement.get(e);o&&(a=o)}else{let o=this.playersByElement.get(e);if(o){let l=!r||r==ne;o.forEach(h=>{h.queued||!l&&h.triggerName!=i||a.push(h)})}}return(s||i)&&(a=a.filter(o=>!(s&&s!=o.namespaceId||i&&i!=o.triggerName))),a}_beforeAnimationBuild(e,t,s){let i=t.triggerName,r=t.element,a=t.isRemovalTransition?void 0:e,o=t.isRemovalTransition?void 0:i;for(let l of t.timelines){let h=l.element,c=h!==r,u=L(s,h,[]);this._getPreviousPlayers(h,c,a,o,t.toState).forEach(y=>{let d=y.getRealPlayer();d.beforeDestroy&&d.beforeDestroy(),y.destroy(),u.push(y)})}X(r,t.fromStyles)}_buildAnimation(e,t,s,i,r,a){let o=t.triggerName,l=t.element,h=[],c=new Set,u=new Set,_=t.timelines.map(d=>{let g=d.element;c.add(g);let v=g[z];if(v&&v.removedBeforeQueried)return new x(d.duration,d.delay);let b=g!==l,A=pi((s.get(g)||hi).map(k=>k.getRealPlayer())).filter(k=>{let D=k;return D.element?D.element===g:!1}),C=r.get(g),N=a.get(g),Z=It(this._normalizer,d.keyframes,C,N),K=this._buildPlayer(d,Z,A);if(d.subTimeline&&i&&u.add(g),b){let k=new oe(e,o,g);k.setRealPlayer(K),h.push(k)}return K});h.forEach(d=>{L(this.playersByQueriedElement,d.element,[]).push(d),d.onDone(()=>ci(this.playersByQueriedElement,d.element,d))}),c.forEach(d=>I(d,vt));let y=U(_);return y.onDestroy(()=>{c.forEach(d=>ee(d,vt)),Q(l,t.toStyles)}),u.forEach(d=>{L(i,d,[]).push(y)}),y}_buildPlayer(e,t,s){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,s):new x(e.duration,e.delay)}},oe=class{constructor(e,t,s){this.namespaceId=e,this.triggerName=t,this.element=s,this._player=new x,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,s)=>{t.forEach(i=>tt(e,s,void 0,i))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){L(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return this.queued?!1:this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){let t=this._player;t.triggerCallback&&t.triggerCallback(e)}};function ci(n,e,t){let s=n.get(e);if(s){if(s.length){let i=s.indexOf(t);s.splice(i,1)}s.length==0&&n.delete(e)}return s}function fi(n){return n??null}function me(n){return n&&n.nodeType===1}function di(n){return n=="start"||n=="done"}function kt(n,e){let t=n.style.display;return n.style.display=e??"none",t}function Dt(n,e,t,s,i){let r=[];t.forEach(l=>r.push(kt(l)));let a=[];s.forEach((l,h)=>{let c=new Map;l.forEach(u=>{let _=e.computeStyle(h,u,i);c.set(u,_),(!_||_.length==0)&&(h[z]=ui,a.push(h))}),n.set(h,c)});let o=0;return t.forEach(l=>kt(l,r[o++])),a}function Rt(n,e){let t=new Map;if(n.forEach(o=>t.set(o,[])),e.length==0)return t;let s=1,i=new Set(e),r=new Map;function a(o){if(!o)return s;let l=r.get(o);if(l)return l;let h=o.parentNode;return t.has(h)?l=h:i.has(h)?l=s:l=a(h),r.set(o,l),l}return e.forEach(o=>{let l=a(o);l!==s&&t.get(l).push(o)}),t}function I(n,e){n.classList?.add(e)}function ee(n,e){n.classList?.remove(e)}function mi(n,e,t){U(t).onDone(()=>n.processLeaveNode(e))}function pi(n){let e=[];return jt(n,e),e}function jt(n,e){for(let t=0;ti.add(r)):e.set(n,s),t.delete(n),!0}var we=class{constructor(e,t,s,i){this._driver=t,this._normalizer=s,this._triggerCache={},this.onRemovalComplete=(r,a)=>{},this._transitionEngine=new Ze(e.body,t,s,i),this._timelineEngine=new Ye(e.body,t,s),this._transitionEngine.onRemovalComplete=(r,a)=>this.onRemovalComplete(r,a)}registerTrigger(e,t,s,i,r){let a=e+"-"+i,o=this._triggerCache[a];if(!o){let l=[],h=[],c=ot(this._driver,r,l,h);if(l.length)throw ps(i,l);h.length&&void 0,o=si(i,c,this._normalizer),this._triggerCache[a]=o}this._transitionEngine.registerTrigger(t,i,o)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,s,i){this._transitionEngine.insertNode(e,t,s,i)}onRemove(e,t,s){this._transitionEngine.removeNode(e,t,s)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,s,i){if(s.charAt(0)=="@"){let[r,a]=Et(s),o=i;this._timelineEngine.command(r,t,a,o)}else this._transitionEngine.trigger(e,t,s,i)}listen(e,t,s,i,r){if(s.charAt(0)=="@"){let[a,o]=Et(s);return this._timelineEngine.listen(a,t,o,r)}return this._transitionEngine.listen(e,t,s,i,r)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};function yi(n,e){let t=null,s=null;return Array.isArray(e)&&e.length?(t=Fe(e[0]),e.length>1&&(s=Fe(e[e.length-1]))):e instanceof Map&&(t=Fe(e)),t||s?new Je(n,t,s):null}var te=class te{constructor(e,t,s){this._element=e,this._startStyles=t,this._endStyles=s,this._state=0;let i=te.initialStylesByElement.get(e);i||te.initialStylesByElement.set(e,i=new Map),this._initialStyles=i}start(){this._state<1&&(this._startStyles&&Q(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Q(this._element,this._initialStyles),this._endStyles&&(Q(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(te.initialStylesByElement.delete(this._element),this._startStyles&&(X(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(X(this._element,this._endStyles),this._endStyles=null),Q(this._element,this._initialStyles),this._state=3)}};te.initialStylesByElement=new WeakMap;var Je=te;function Fe(n){let e=null;return n.forEach((t,s)=>{_i(s)&&(e=e||new Map,e.set(s,t))}),e}function _i(n){return n==="display"||n==="position"}var be=class{constructor(e,t,s,i){this.element=e,this.keyframes=t,this.options=s,this._specialStyles=i,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=s.duration,this._delay=s.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map;let t=()=>this._onFinish();this.domPlayer.addEventListener("finish",t),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",t)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let t=[];return e.forEach(s=>{t.push(Object.fromEntries(s))}),t}_triggerWebAnimation(e,t,s){return e.animate(this._convertKeyframesToObject(t),s)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((s,i)=>{i!=="offset"&&e.set(i,this._finished?s:at(this.element,i))}),this.currentSnapshot=e}triggerCallback(e){let t=e==="start"?this._onStartFns:this._onDoneFns;t.forEach(s=>s()),t.length=0}},xe=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}matchesElement(e,t){return!1}containsElement(e,t){return zt(e,t)}getParentElement(e){return it(e)}query(e,t,s){return Kt(e,t,s)}computeStyle(e,t,s){return at(e,t)}animate(e,t,s,i,r,a=[]){let o=i==0?"both":"forwards",l={duration:s,delay:i,fill:o};r&&(l.easing=r);let h=new Map,c=a.filter(y=>y instanceof be);Ks(s,i)&&c.forEach(y=>{y.currentSnapshot.forEach((d,g)=>h.set(g,d))});let u=Fs(t).map(y=>new Map(y));u=qs(e,u,h);let _=yi(e,u);return new be(e,u,l,_)}};function Ni(n,e,t){return n==="noop"?new we(e,new qt,new ze,t):new we(e,new xe,new Qe,t)}var Lt=class{constructor(e,t){this._driver=e;let s=[],i=[],r=ot(e,t,s,i);if(s.length)throw ds(s);i.length&&void 0,this._animationAst=r}buildTimelines(e,t,s,i,r){let a=Array.isArray(t)?wt(t):t,o=Array.isArray(s)?wt(s):s,l=[];r=r||new se;let h=ht(this._driver,e,this._animationAst,nt,ge,a,o,i,r,l);if(l.length)throw ms(l);return h}},pe="@",Wt="@.disabled",Ae=class{constructor(e,t,s,i){this.namespaceId=e,this.delegate=t,this.engine=s,this._onDestroy=i,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(e){this.delegate.destroyNode?.(e)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,s,i=!0){this.delegate.insertBefore(e,t,s),this.engine.onInsert(this.namespaceId,t,e,i)}removeChild(e,t,s){this.engine.onRemove(this.namespaceId,t,this.delegate)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,s,i){this.delegate.setAttribute(e,t,s,i)}removeAttribute(e,t,s){this.delegate.removeAttribute(e,t,s)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,s,i){this.delegate.setStyle(e,t,s,i)}removeStyle(e,t,s){this.delegate.removeStyle(e,t,s)}setProperty(e,t,s){t.charAt(0)==pe&&t==Wt?this.disableAnimations(e,!!s):this.delegate.setProperty(e,t,s)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,s){return this.delegate.listen(e,t,s)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}},et=class extends Ae{constructor(e,t,s,i,r){super(t,s,i,r),this.factory=e,this.namespaceId=t}setProperty(e,t,s){t.charAt(0)==pe?t.charAt(1)=="."&&t==Wt?(s=s===void 0?!0:!!s,this.disableAnimations(e,s)):this.engine.process(this.namespaceId,e,t.slice(1),s):this.delegate.setProperty(e,t,s)}listen(e,t,s){if(t.charAt(0)==pe){let i=Ei(e),r=t.slice(1),a="";return r.charAt(0)!=pe&&([r,a]=Si(r)),this.engine.listen(this.namespaceId,i,r,a,o=>{let l=o._data||-1;this.factory.scheduleListenerCallback(l,s,o)})}return this.delegate.listen(e,t,s)}};function Ei(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}function Si(n){let e=n.indexOf("."),t=n.substring(0,e),s=n.slice(e+1);return[t,s]}var Ft=class{constructor(e,t,s){this.delegate=e,this.engine=t,this._zone=s,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,t.onRemovalComplete=(i,r)=>{let a=r?.parentNode(i);a&&r.removeChild(a,i)}}createRenderer(e,t){let s="",i=this.delegate.createRenderer(e,t);if(!e||!t?.data?.animation){let h=this._rendererCache,c=h.get(i);if(!c){let u=()=>h.delete(i);c=new Ae(s,i,this.engine,u),h.set(i,c)}return c}let r=t.id,a=t.id+"-"+this._currentId;this._currentId++,this.engine.register(a,e);let o=h=>{Array.isArray(h)?h.forEach(o):this.engine.registerTrigger(r,a,e,h.name,h)};return t.data.animation.forEach(o),new et(this,a,i,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,s){if(e>=0&&et(s));return}let i=this._animationCallbacksBuffer;i.length==0&&queueMicrotask(()=>{this._zone.run(()=>{i.forEach(r=>{let[a,o]=r;a(o)}),this._animationCallbacksBuffer=[]})}),i.push([t,s])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}};export{Tt as AnimationDriver,qt as NoopAnimationDriver,Lt as \u0275Animation,we as \u0275AnimationEngine,et as \u0275AnimationRenderer,Ft as \u0275AnimationRendererFactory,Ie as \u0275AnimationStyleNormalizer,Ae as \u0275BaseAnimationRenderer,ze as \u0275NoopAnimationStyleNormalizer,xe as \u0275WebAnimationsDriver,be as \u0275WebAnimationsPlayer,Qe as \u0275WebAnimationsStyleNormalizer,Ks as \u0275allowPreviousPlayerStylesMerge,Pi as \u0275camelCaseToDashCase,zt as \u0275containsElement,Ni as \u0275createEngine,it as \u0275getParentElement,Kt as \u0275invokeQuery,Fs as \u0275normalizeKeyframes,ks as \u0275validateStyleProperty,Ai as \u0275validateWebAnimatableStyleProperty};
diff --git a/DigitalData.UserManager.API/wwwroot/group-table/index.html b/DigitalData.UserManager.API/wwwroot/group-table/index.html
index 3378885..27b2478 100644
--- a/DigitalData.UserManager.API/wwwroot/group-table/index.html
+++ b/DigitalData.UserManager.API/wwwroot/group-table/index.html
@@ -5,11 +5,11 @@
-
+
-
+
- Digital Data - User Manager
Ein zentrales Portal zur effizienten Verwaltung von Benutzerberechtigungen, Gruppen und Modulen
-
+ Digital Data - User Manager
Ein zentrales Portal zur effizienten Verwaltung von Benutzerberechtigungen, Gruppen und Modulen
+