(self.webpackChunkstorefront_dse=self.webpackChunkstorefront_dse||[]).push([[4121],{23:(ut,be,d)=>{"use strict";d.d(be,{Y:()=>g,l:()=>Y});var c=d(2213);let r=null;function g(W){if(c.$.useDeprecatedSynchronousErrorHandling){const V=!r;if(V&&(r={errorThrown:!1,error:null}),W(),V){const{errorThrown:q,error:L}=r;if(r=null,q)throw L}}else W()}function Y(W){c.$.useDeprecatedSynchronousErrorHandling&&r&&(r.errorThrown=!0,r.error=W)}},97:(ut,be,d)=>{"use strict";d.d(be,{y:()=>V});var c=d(9935),r=d(3680),g=d(5240),Y=d(2481);let V=(()=>{class q{constructor(){(0,g.WQX)(c.Q_)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(ee){return new(ee||q)};static \u0275mod=Y.$C({type:q});static \u0275inj=g.G2t({imports:[r.jI,r.jI]})}return q})()},137:(ut,be,d)=>{"use strict";d.d(be,{v:()=>g});var c=d(3942),r=d(2645);function g(Y){return new c.c(W=>{(0,r.Tg)(Y()).subscribe(W)})}},142:(ut,be,d)=>{"use strict";d.d(be,{up:()=>it,W8:()=>Be,hE:()=>pe,I5:()=>k,$x:()=>vt,gT:()=>vn,dE:()=>Tt});var c=d(5430),r=d(5240),g=d(2481),Y=d(9148),W=d(3855),q=(d(6763),d(9452));d(8764);const Z=new r.nKC(""),le="b",ie="h",Oe="s",Le="st",ye="u",ve="rt",Ze=new r.nKC(""),re=["GET","HEAD"];function Ae(ze,It){const{isCacheActive:He,..._t}=(0,r.WQX)(Ze),{transferCache:Ut,method:Yt}=ze;if(!He||!1===Ut||"POST"===Yt&&!_t.includePostRequests&&!Ut||"POST"!==Yt&&!re.includes(Yt)||!_t.includeRequestsWithAuthHeaders&&function ue(ze){return ze.headers.has("authorization")||ze.headers.has("proxy-authorization")}(ze)||!1===_t.filter?.(ze))return It(ze);const yn=(0,r.WQX)(g.pJN);if((0,r.WQX)(Z,{optional:!0}))throw new r.buA(2803,!1);const gt=function $e(ze,It){const{params:He,method:_t,responseType:Ut}=ze,Yt=xe(He);let yn=ze.serializeBody();yn instanceof URLSearchParams?yn=xe(yn):"string"!=typeof yn&&(yn="");const En=function rt(ze){let It=0;for(const He of ze)It=Math.imul(31,It)+He.charCodeAt(0)|0;return It+=2147483648,It.toString()}([_t,Ut,It,yn,Yt].join("|"));return(0,g.zw6)(En)}(ze,ze.url),ct=yn.get(gt,null);let j=_t.includeHeaders;if("object"==typeof Ut&&Ut.includeHeaders&&(j=Ut.includeHeaders),ct){const{[le]:Ge,[ve]:Ke,[ie]:wt,[Oe]:jt,[Le]:kt,[ye]:Jt}=ct;let Pn=Ge;switch(Ke){case"arraybuffer":Pn=(new TextEncoder).encode(Ge).buffer;break;case"blob":Pn=new Blob([Ge])}let Vn=new W.Lr(wt);return(0,q.of)(new W.cS({body:Pn,headers:Vn,status:jt,statusText:kt,url:Jt}))}return It(ze)}function xe(ze){return[...ze.keys()].sort().map(It=>`${It}=${ze.getAll(It)}`).join("&")}function At(ze){return[{provide:Ze,useFactory:()=>((0,g._jY)("NgHttpTransferCache"),{isCacheActive:!0,...ze})},{provide:W.Ml,useValue:Ae,multi:!0},{provide:g.iLQ,multi:!0,useFactory:()=>{const It=(0,r.WQX)(g.o8S),He=(0,r.WQX)(Ze);return()=>{It.whenStable().then(()=>{He.isCacheActive=!1})}}}]}let Be=(()=>{class ze{_doc;_dom;constructor(He){this._doc=He,this._dom=(0,c.rb)()}addTag(He,_t=!1){return He?this._getOrCreateElement(He,_t):null}addTags(He,_t=!1){return He?He.reduce((Ut,Yt)=>(Yt&&Ut.push(this._getOrCreateElement(Yt,_t)),Ut),[]):[]}getTag(He){return He&&this._doc.querySelector(`meta[${He}]`)||null}getTags(He){if(!He)return[];const _t=this._doc.querySelectorAll(`meta[${He}]`);return _t?[].slice.call(_t):[]}updateTag(He,_t){if(!He)return null;_t=_t||this._parseSelector(He);const Ut=this.getTag(_t);return Ut?this._setMetaElementAttributes(He,Ut):this._getOrCreateElement(He,!0)}removeTag(He){this.removeTagElement(this.getTag(He))}removeTagElement(He){He&&this._dom.remove(He)}_getOrCreateElement(He,_t=!1){if(!_t){const yn=this._parseSelector(He),An=this.getTags(yn).filter(En=>this._containsAttributes(He,En))[0];if(void 0!==An)return An}const Ut=this._dom.createElement("meta");return this._setMetaElementAttributes(He,Ut),this._doc.getElementsByTagName("head")[0].appendChild(Ut),Ut}_setMetaElementAttributes(He,_t){return Object.keys(He).forEach(Ut=>_t.setAttribute(this._getMetaKeyMap(Ut),He[Ut])),_t}_parseSelector(He){const _t=He.name?"name":"property";return`${_t}="${He[_t]}"`}_containsAttributes(He,_t){return Object.keys(He).every(Ut=>_t.getAttribute(this._getMetaKeyMap(Ut))===He[Ut])}_getMetaKeyMap(He){return We[He]||He}static \u0275fac=function(_t){return new(_t||ze)(r.KVO(r.qQL))};static \u0275prov=r.jDH({token:ze,factory:ze.\u0275fac,providedIn:"root"})}return ze})();const We={httpEquiv:"http-equiv"};let pe=(()=>{class ze{_doc;constructor(He){this._doc=He}getTitle(){return this._doc.title}setTitle(He){this._doc.title=He||""}static \u0275fac=function(_t){return new(_t||ze)(r.KVO(r.qQL))};static \u0275prov=r.jDH({token:ze,factory:ze.\u0275fac,providedIn:"root"})}return ze})();class E{msPerTick;numTicks;constructor(It,He){this.msPerTick=It,this.numTicks=He}}class H{appRef;constructor(It){this.appRef=It.injector.get(g.o8S)}timeChangeDetection(It){const He=It&&It.record,_t="Change Detection";He&&"profile"in console&&"function"==typeof console.profile&&console.profile(_t);const Ut=performance.now();let Yt=0;for(;Yt<5||performance.now()-Ut<500;)this.appRef.tick(),Yt++;const yn=performance.now();He&&"profileEnd"in console&&"function"==typeof console.profileEnd&&console.profileEnd(_t);const An=(yn-Ut)/Yt;return console.log(`ran ${Yt} change detection cycles`),console.log(`${An.toFixed(2)} ms per check`),new E(An,Yt)}}const b="profiler";function k(ze){return function z(ze,It){(typeof COMPILED>"u"||!COMPILED)&&((r.laP.ng=r.laP.ng||{})[ze]=It)}(b,new H(ze)),ze}let it=(()=>{class ze{static \u0275fac=function(_t){return new(_t||ze)};static \u0275prov=r.jDH({token:ze,factory:function(_t){let Ut=null;return Ut=_t?new(_t||ze):r.KVO(A),Ut},providedIn:"root"})}return ze})(),A=(()=>{class ze extends it{_doc;constructor(He){super(),this._doc=He}sanitize(He,_t){if(null==_t)return null;switch(He){case g.WPN.NONE:return _t;case g.WPN.HTML:return(0,g.iWE)(_t,"HTML")?(0,g.aCM)(_t):(0,g.wr$)(this._doc,String(_t)).toString();case g.WPN.STYLE:return(0,g.iWE)(_t,"Style")?(0,g.aCM)(_t):_t;case g.WPN.SCRIPT:if((0,g.iWE)(_t,"Script"))return(0,g.aCM)(_t);throw new r.buA(5200,!1);case g.WPN.URL:return(0,g.iWE)(_t,"URL")?(0,g.aCM)(_t):(0,g.gil)(String(_t));case g.WPN.RESOURCE_URL:if((0,g.iWE)(_t,"ResourceURL"))return(0,g.aCM)(_t);throw new r.buA(5201,!1);default:throw new r.buA(5202,!1)}}bypassSecurityTrustHtml(He){return(0,g.PYC)(He)}bypassSecurityTrustStyle(He){return(0,g.rAh)(He)}bypassSecurityTrustScript(He){return(0,g.p2i)(He)}bypassSecurityTrustUrl(He){return(0,g.B1s)(He)}bypassSecurityTrustResourceUrl(He){return(0,g.RPW)(He)}static \u0275fac=function(_t){return new(_t||ze)(r.KVO(r.qQL))};static \u0275prov=r.jDH({token:ze,factory:ze.\u0275fac,providedIn:"root"})}return ze})();var ae=function(ze){return ze[ze.NoHttpTransferCache=0]="NoHttpTransferCache",ze[ze.HttpTransferCacheOptions=1]="HttpTransferCacheOptions",ze[ze.I18nSupport=2]="I18nSupport",ze[ze.EventReplay=3]="EventReplay",ze[ze.IncrementalHydration=4]="IncrementalHydration",ze}(ae||{});function tt(ze,It=[],He={}){return{\u0275kind:ze,\u0275providers:It}}function Tt(){return tt(ae.NoHttpTransferCache)}function vn(){return tt(ae.EventReplay,(0,Y.XA_)())}function vt(...ze){const It=[],He=new Set;for(const{\u0275providers:Ut,\u0275kind:Yt}of ze)He.add(Yt),Ut.length&&It.push(Ut);const _t=He.has(ae.HttpTransferCacheOptions);return(0,r.EmA)([[],[],(0,Y.M8M)(),He.has(ae.NoHttpTransferCache)||_t?[]:At({}),It])}},271:(ut,be,d)=>{"use strict";d.d(be,{T:()=>g});var c=d(819),r=d(1687);function g(Y,W){return(0,c.N)((V,q)=>{let L=0;V.subscribe((0,r._)(q,$=>{q.next(Y.call(W,$,L++))}))})}},310:(ut,be,d)=>{"use strict";function c(r,g,Y,W=0,V=!1){const q=g.schedule(function(){Y(),V?r.add(this.schedule(null,W)):this.unsubscribe()},W);if(r.add(q),!V)return q}d.d(be,{N:()=>c})},316:(ut,be,d)=>{"use strict";d.d(be,{AJ:()=>V,EO:()=>W,UE:()=>L,Vy:()=>$,WM:()=>ue,Xr:()=>ne,kt:()=>kt}),d(9204);var r=d(5240),g=d(2481),Y=d(9148);function W(ge,je,Xe){return(0,g.EOD)(ge,je,Xe)}const V="browser",q="server";function L(ge){return ge===V}function $(ge){return ge===q}let ne=(()=>{class ge{static \u0275prov=(0,r.jDH)({token:ge,providedIn:"root",factory:()=>new he((0,r.WQX)(r.qQL),window)})}return ge})();class he{document;window;offset=()=>[0,0];constructor(je,Xe){this.document=je,this.window=Xe}setOffset(je){this.offset=Array.isArray(je)?()=>je:je}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(je,Xe){this.window.scrollTo({...Xe,left:je[0],top:je[1]})}scrollToAnchor(je,Xe){const ht=function Z(ge,je){const Xe=ge.getElementById(je)||ge.getElementsByName(je)[0];if(Xe)return Xe;if("function"==typeof ge.createTreeWalker&&ge.body&&"function"==typeof ge.body.attachShadow){const ht=ge.createTreeWalker(ge.body,NodeFilter.SHOW_ELEMENT);let Ct=ht.currentNode;for(;Ct;){const Nt=Ct.shadowRoot;if(Nt){const Xt=Nt.getElementById(je)||Nt.querySelector(`[name="${je}"]`);if(Xt)return Xt}Ct=ht.nextNode()}}return null}(this.document,je);ht&&(this.scrollToElement(ht,Xe),ht.focus())}setHistoryScrollRestoration(je){try{this.window.history.scrollRestoration=je}catch{console.warn((0,r.OsK)(2400,!1))}}scrollToElement(je,Xe){const ht=je.getBoundingClientRect(),Ct=ht.left+this.window.pageXOffset,Nt=ht.top+this.window.pageYOffset,Xt=this.offset();this.window.scrollTo({...Xe,left:Ct-Xt[0],top:Nt-Xt[1]})}}const Ae=ge=>ge.src,ue=new r.nKC("",{providedIn:"root",factory:()=>Ae}),It=/^((\s*\d+w\s*(,|$)){1,})$/,Yt=[1,2];let kt=(()=>{class ge{imageLoader=(0,r.WQX)(ue);config=function Jt(ge){let je={};return ge.breakpoints&&(je.breakpoints=ge.breakpoints.sort((Xe,ht)=>Xe-ht)),Object.assign({},g.mY,ge,je)}((0,r.WQX)(g.VeQ));renderer=(0,r.WQX)(g.sFG);imgElement=(0,r.WQX)(g.aKT).nativeElement;injector=(0,r.WQX)(r.zZn);lcpObserver;_renderedSrc=null;ngSrc;ngSrcset;sizes;width;height;decoding;loading;priority=!1;loaderParams;disableOptimizedSrcset=!1;fill=!1;placeholder;placeholderConfig;src;srcset;constructor(){}ngOnInit(){(0,g._jY)("NgOptimizedImage"),this.placeholder&&this.removePlaceholderOnLoad(this.imgElement),this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||="100vw":(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority()),this.setHostAttribute("decoding",this.getDecoding()),this.setHostAttribute("ng-img","true"),this.updateSrcAndSrcset(),this.sizes?"lazy"===this.getLoadingBehavior()?this.setHostAttribute("sizes","auto, "+this.sizes):this.setHostAttribute("sizes",this.sizes):this.ngSrcset&&It.test(this.ngSrcset)&&"lazy"===this.getLoadingBehavior()&&this.setHostAttribute("sizes","auto, 100vw")}ngOnChanges(Xe){Xe.ngSrc&&!Xe.ngSrc.isFirstChange()&&this.updateSrcAndSrcset(!0)}callImageLoader(Xe){let ht=Xe;return this.loaderParams&&(ht.loaderParams=this.loaderParams),this.imageLoader(ht)}getLoadingBehavior(){return this.priority||void 0===this.loading?this.priority?"eager":"lazy":this.loading}getFetchPriority(){return this.priority?"high":"auto"}getDecoding(){return this.priority?"sync":this.decoding??"auto"}getRewrittenSrc(){return this._renderedSrc||(this._renderedSrc=this.callImageLoader({src:this.ngSrc})),this._renderedSrc}getRewrittenSrcset(){const Xe=It.test(this.ngSrcset);return this.ngSrcset.split(",").filter(Ct=>""!==Ct).map(Ct=>{Ct=Ct.trim();const Nt=Xe?parseFloat(Ct):parseFloat(Ct)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:Nt})} ${Ct}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){const{breakpoints:Xe}=this.config;let ht=Xe;return"100vw"===this.sizes?.trim()&&(ht=Xe.filter(Nt=>Nt>=640)),ht.map(Nt=>`${this.callImageLoader({src:this.ngSrc,width:Nt})} ${Nt}w`).join(", ")}updateSrcAndSrcset(Xe=!1){Xe&&(this._renderedSrc=null);const ht=this.getRewrittenSrc();let Ct;return this.setHostAttribute("src",ht),this.ngSrcset?Ct=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(Ct=this.getAutomaticSrcset()),Ct&&this.setHostAttribute("srcset",Ct),Ct}getFixedSrcset(){return Yt.map(ht=>`${this.callImageLoader({src:this.ngSrc,width:this.width*ht})} ${ht}x`).join(", ")}shouldGenerateAutomaticSrcset(){let Xe=!1;return this.sizes||(Xe=this.width>1920||this.height>1080),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==Ae&&!Xe}generatePlaceholder(Xe){const{placeholderResolution:ht}=this.config;return!0===Xe?`url(${this.callImageLoader({src:this.ngSrc,width:ht,isPlaceholder:!0})})`:"string"==typeof Xe?`url(${Xe})`:null}shouldBlurPlaceholder(Xe){return!Xe||!Xe.hasOwnProperty("blur")||!!Xe.blur}removePlaceholderOnLoad(Xe){const ht=()=>{const Xt=this.injector.get(Y.gRc);Ct(),Nt(),this.placeholder=!1,Xt.markForCheck()},Ct=this.renderer.listen(Xe,"load",ht),Nt=this.renderer.listen(Xe,"error",ht);!function et(ge,je){ge.complete&&ge.naturalWidth&&je()}(Xe,ht)}setHostAttribute(Xe,ht){this.renderer.setAttribute(this.imgElement,Xe,ht)}static \u0275fac=function(ht){return new(ht||ge)};static \u0275dir=g.FsC({type:ge,selectors:[["img","ngSrc",""]],hostVars:18,hostBindings:function(ht,Ct){2&ht&&g.xc7("position",Ct.fill?"absolute":null)("width",Ct.fill?"100%":null)("height",Ct.fill?"100%":null)("inset",Ct.fill?"0":null)("background-size",Ct.placeholder?"cover":null)("background-position",Ct.placeholder?"50% 50%":null)("background-repeat",Ct.placeholder?"no-repeat":null)("background-image",Ct.placeholder?Ct.generatePlaceholder(Ct.placeholder):null)("filter",Ct.placeholder&&Ct.shouldBlurPlaceholder(Ct.placeholderConfig)?"blur(15px)":null)},inputs:{ngSrc:[2,"ngSrc","ngSrc",pt],ngSrcset:"ngSrcset",sizes:"sizes",width:[2,"width","width",Y.Udg],height:[2,"height","height",Y.Udg],decoding:"decoding",loading:"loading",priority:[2,"priority","priority",Y.L39],loaderParams:"loaderParams",disableOptimizedSrcset:[2,"disableOptimizedSrcset","disableOptimizedSrcset",Y.L39],fill:[2,"fill","fill",Y.L39],placeholder:[2,"placeholder","placeholder",xt],placeholderConfig:"placeholderConfig",src:"src",srcset:"srcset"},features:[g.OA$]})}return ge})();function pt(ge){return"string"==typeof ge?ge:(0,g.aCM)(ge)}function xt(ge){return"string"==typeof ge&&"true"!==ge&&"false"!==ge&&""!==ge?ge:(0,Y.L39)(ge)}},338:(ut,be,d)=>{"use strict";d.d(be,{A:()=>r});const c=void 0,r=[[["Mitternacht","morgens","vorm.","mittags","nachm.","abends","nachts"],c,["Mitternacht","morgens","vormittags","mittags","nachmittags","abends","nachts"]],[["Mitternacht","Morgen","Vorm.","Mittag","Nachm.","Abend","Nacht"],c,["Mitternacht","Morgen","Vormittag","Mittag","Nachmittag","Abend","Nacht"]],["00:00",["05:00","10:00"],["10:00","12:00"],["12:00","13:00"],["13:00","18:00"],["18:00","24:00"],["00:00","05:00"]]]},428:(ut,be,d)=>{"use strict";d.d(be,{R:()=>W});var c=d(7092);class r extends c.yU{constructor(q,L){super()}schedule(q,L=0){return this}}const g={setInterval(V,q,...L){const{delegate:$}=g;return $?.setInterval?$.setInterval(V,q,...L):setInterval(V,q,...L)},clearInterval(V){const{delegate:q}=g;return(q?.clearInterval||clearInterval)(V)},delegate:void 0};var Y=d(967);class W extends r{constructor(q,L){super(q,L),this.scheduler=q,this.work=L,this.pending=!1}schedule(q,L=0){var $;if(this.closed)return this;this.state=q;const ee=this.id,ne=this.scheduler;return null!=ee&&(this.id=this.recycleAsyncId(ne,ee,L)),this.pending=!0,this.delay=L,this.id=null!==($=this.id)&&void 0!==$?$:this.requestAsyncId(ne,this.id,L),this}requestAsyncId(q,L,$=0){return g.setInterval(q.flush.bind(q,this),$)}recycleAsyncId(q,L,$=0){if(null!=$&&this.delay===$&&!1===this.pending)return L;null!=L&&g.clearInterval(L)}execute(q,L){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const $=this._execute(q,L);if($)return $;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(q,L){let ee,$=!1;try{this.work(q)}catch(ne){$=!0,ee=ne||new Error("Scheduled action threw falsy error")}if($)return this.unsubscribe(),ee}unsubscribe(){if(!this.closed){const{id:q,scheduler:L}=this,{actions:$}=L;this.work=this.state=this.scheduler=null,this.pending=!1,(0,Y.o)($,this),null!=q&&(this.id=this.recycleAsyncId(L,q,null)),this.delay=null,super.unsubscribe()}}}},528:(ut,be,d)=>{"use strict";d.d(be,{x:()=>g});var c=d(2476),r=d(1530);function g(Y){return(0,r.T)(Y?.[c.l])}},778:(ut,be,d)=>{"use strict";d.d(be,{U:()=>g});var c=d(819),r=d(1687);function g(Y){return(0,c.N)((W,V)=>{let q=!1;W.subscribe((0,r._)(V,L=>{q=!0,V.next(L)},()=>{q||V.next(Y),V.complete()}))})}},819:(ut,be,d)=>{"use strict";d.d(be,{N:()=>g,S:()=>r});var c=d(1530);function r(Y){return(0,c.T)(Y?.lift)}function g(Y){return W=>{if(r(W))return W.lift(function(V){try{return Y(V,this)}catch(q){this.error(q)}});throw new TypeError("Unable to lift unknown Observable type")}}},967:(ut,be,d)=>{"use strict";function c(r,g){if(r){const Y=r.indexOf(g);0<=Y&&r.splice(Y,1)}}d.d(be,{o:()=>c})},1117:(ut,be,d)=>{"use strict";d.d(be,{y:()=>r});var c=d(1530);function r(g){return(0,c.T)(g?.then)}},1249:(ut,be,d)=>{"use strict";d.d(be,{v:()=>g});var c=d(819),r=d(1687);function g(Y,W=!1){return(0,c.N)((V,q)=>{let L=0;V.subscribe((0,r._)(q,$=>{const ee=Y($,L++);(ee||W)&&q.next($),!ee&&q.complete()}))})}},1292:(ut,be,d)=>{"use strict";d.d(be,{w:()=>r});var c=d(1817);function r(g,Y){return(0,c.F)((W,V)=>Y?Y(W[g],V[g]):W[g]===V[g])}},1303:(ut,be,d)=>{"use strict";d.d(be,{K:()=>r});const{isArray:c}=Array;function r(g){return 1===g.length&&c(g[0])?g[0]:g}},1318:(ut,be,d)=>{"use strict";d.d(be,{W:()=>Y});var c=d(2645),r=d(1687),g=d(819);function Y(W){return(0,g.N)((V,q)=>{let ee,L=null,$=!1;L=V.subscribe((0,r._)(q,void 0,void 0,ne=>{ee=(0,c.Tg)(W(ne,Y(W)(V))),L?(L.unsubscribe(),L=null,ee.subscribe(q)):$=!0})),$&&(L.unsubscribe(),L=null,ee.subscribe(q))})}},1365:(ut,be,d)=>{"use strict";d.d(be,{Z:()=>L});var c=d(271),r=d(2645),g=d(819),Y=d(310),W=d(1687),q=d(1530);function L($,ee,ne=1/0){return(0,q.T)(ee)?L((he,Z)=>(0,c.T)((le,ie)=>ee(he,le,Z,ie))((0,r.Tg)($(he,Z))),ne):("number"==typeof ee&&(ne=ee),(0,g.N)((he,Z)=>function V($,ee,ne,he,Z,le,ie,Oe){const Le=[];let ye=0,ve=0,Ze=!1;const re=()=>{Ze&&!Le.length&&!ye&&ee.complete()},Ae=Ee=>ye{le&&ee.next(Ee),ye++;let xe=!1;(0,r.Tg)(ne(Ee,ve++)).subscribe((0,W._)(ee,$e=>{Z?.($e),le?Ae($e):ee.next($e)},()=>{xe=!0},void 0,()=>{if(xe)try{for(ye--;Le.length&&yeue($e)):ue($e)}re()}catch($e){ee.error($e)}}))};return $.subscribe((0,W._)(ee,Ae,()=>{Ze=!0,re()})),()=>{Oe?.()}}(he,Z,$,ne)))}},1374:(ut,be,d)=>{"use strict";function c(r){return new TypeError(`You provided ${null!==r&&"object"==typeof r?"an invalid object":`'${r}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}d.d(be,{L:()=>c})},1411:(ut,be,d)=>{"use strict";d.d(be,{m:()=>g});var c=d(2213),r=d(9603);function g(Y){r.f.setTimeout(()=>{const{onUnhandledError:W}=c.$;if(!W)throw Y;W(Y)})}},1440:(ut,be,d)=>{"use strict";function c(r){return r}d.d(be,{D:()=>c})},1516:(ut,be,d)=>{"use strict";d.d(be,{l:()=>g});var c=d(4127),r=d(1530);function g(Y){return(0,r.T)(Y[c.s])}},1530:(ut,be,d)=>{"use strict";function c(r){return"function"==typeof r}d.d(be,{T:()=>c})},1567:(ut,be,d)=>{"use strict";d.d(be,{p:()=>g});var c=d(819),r=d(1687);function g(Y,W){return(0,c.N)((V,q)=>{let L=0;V.subscribe((0,r._)(q,$=>Y.call(W,$,L++)&&q.next($)))})}},1572:(ut,be,d)=>{"use strict";d.d(be,{DQ:()=>L,Q3:()=>V,hx:()=>W,sL:()=>q});var c=d(2551),r=d(9452),g=d(8092),Y=d(5240);class W extends g.q{_data;constructor(ee){super(),this._data=ee}connect(){return(0,c.A)(this._data)?this._data:(0,r.of)(this._data)}disconnect(){}}var V=function($){return $[$.REPLACED=0]="REPLACED",$[$.INSERTED=1]="INSERTED",$[$.MOVED=2]="MOVED",$[$.REMOVED=3]="REMOVED",$}(V||{});const q=new Y.nKC("_ViewRepeater");class L{viewCacheSize=20;_viewCache=[];applyChanges(ee,ne,he,Z,le){ee.forEachOperation((ie,Oe,Le)=>{let ye,ve;null==ie.previousIndex?(ye=this._insertView(()=>he(ie,Oe,Le),Le,ne,Z(ie)),ve=ye?V.INSERTED:V.REPLACED):null==Le?(this._detachAndCacheView(Oe,ne),ve=V.REMOVED):(ye=this._moveView(Oe,Le,ne,Z(ie)),ve=V.MOVED),le&&le({context:ye?.context,operation:ve,record:ie})})}detach(){for(const ee of this._viewCache)ee.destroy();this._viewCache=[]}_insertView(ee,ne,he,Z){const le=this._insertViewFromCache(ne,he);if(le)return void(le.context.$implicit=Z);const ie=ee();return he.createEmbeddedView(ie.templateRef,ie.context,ie.index)}_detachAndCacheView(ee,ne){const he=ne.detach(ee);this._maybeCacheView(he,ne)}_moveView(ee,ne,he,Z){const le=he.get(ee);return he.move(le,ne),le.context.$implicit=Z,le}_maybeCacheView(ee,ne){if(this._viewCache.length{"use strict";d.d(be,{H:()=>g,_:()=>r});var c=d(9931);function r(Y,W,V,q,L){return new g(Y,W,V,q,L)}class g extends c.vU{constructor(W,V,q,L,$,ee){super(W),this.onFinalize=$,this.shouldUnsubscribe=ee,this._next=V?function(ne){try{V(ne)}catch(he){W.error(he)}}:super._next,this._error=L?function(ne){try{L(ne)}catch(he){W.error(he)}finally{this.unsubscribe()}}:super._error,this._complete=q?function(){try{q()}catch(ne){W.error(ne)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var W;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:V}=this;super.unsubscribe(),!V&&(null===(W=this.onFinalize)||void 0===W||W.call(this))}}}},1817:(ut,be,d)=>{"use strict";d.d(be,{F:()=>Y});var c=d(1440),r=d(819),g=d(1687);function Y(V,q=c.D){return V=V??W,(0,r.N)((L,$)=>{let ee,ne=!0;L.subscribe((0,g._)($,he=>{const Z=q(he);(ne||!V(ee,Z))&&(ne=!1,ee=Z,$.next(he))}))})}function W(V,q){return V===q}},1870:(ut,be,d)=>{"use strict";d.d(be,{u:()=>W});var c=d(2645),r=d(4205),g=d(9931),Y=d(819);function W(q={}){const{connector:L=()=>new r.B,resetOnError:$=!0,resetOnComplete:ee=!0,resetOnRefCountZero:ne=!0}=q;return he=>{let Z,le,ie,Oe=0,Le=!1,ye=!1;const ve=()=>{le?.unsubscribe(),le=void 0},Ze=()=>{ve(),Z=ie=void 0,Le=ye=!1},re=()=>{const Ae=Z;Ze(),Ae?.unsubscribe()};return(0,Y.N)((Ae,ue)=>{Oe++,!ye&&!Le&&ve();const Ee=ie=ie??L();ue.add(()=>{Oe--,0===Oe&&!ye&&!Le&&(le=V(re,ne))}),Ee.subscribe(ue),!Z&&Oe>0&&(Z=new g.Ms({next:xe=>Ee.next(xe),error:xe=>{ye=!0,ve(),le=V(Ze,$,xe),Ee.error(xe)},complete:()=>{Le=!0,ve(),le=V(Ze,ee),Ee.complete()}}),(0,c.Tg)(Ae).subscribe(Z))})(he)}}function V(q,L,...$){if(!0===L)return void q();if(!1===L)return;const ee=new g.Ms({next:()=>{ee.unsubscribe(),q()}});return(0,c.Tg)(L(...$)).subscribe(ee)}},1873:(ut,be,d)=>{"use strict";d.d(be,{p:()=>L});var c=d(3942),r=d(7808),g=d(2645),Y=d(4083),W=d(1687),V=d(8067),q=d(6813);function L(...$){const ee=(0,Y.ms)($),{args:ne,keys:he}=(0,r.D)($),Z=new c.c(le=>{const{length:ie}=ne;if(!ie)return void le.complete();const Oe=new Array(ie);let Le=ie,ye=ie;for(let ve=0;ve{Ze||(Ze=!0,ye--),Oe[ve]=re},()=>Le--,void 0,()=>{(!Le||!Ze)&&(ye||le.next(he?(0,q.e)(he,Oe):Oe),le.complete())}))}});return ee?Z.pipe((0,V.I)(ee)):Z}},1903:(ut,be,d)=>{"use strict";d.d(be,{H:()=>g});var c=d(1365),r=d(1530);function g(Y,W){return(0,r.T)(W)?(0,c.Z)(Y,W,1):(0,c.Z)(Y,1)}},1995:(ut,be,d)=>{"use strict";d.d(be,{L:()=>V});var c=d(819),r=d(1687),g=d(1440),Y=d(4876),W=d(2645);function V(q=1/0){let L;L=q&&"object"==typeof q?q:{count:q};const{count:$=1/0,delay:ee,resetOnSuccess:ne=!1}=L;return $<=0?g.D:(0,c.N)((he,Z)=>{let ie,le=0;const Oe=()=>{let Le=!1;ie=he.subscribe((0,r._)(Z,ye=>{ne&&(le=0),Z.next(ye)},void 0,ye=>{if(le++<$){const ve=()=>{ie?(ie.unsubscribe(),ie=null,Oe()):Le=!0};if(null!=ee){const Ze="number"==typeof ee?(0,Y.O)(ee):(0,W.Tg)(ee(ye,le)),re=(0,r._)(Z,()=>{re.unsubscribe(),ve()},()=>{Z.complete()});Ze.subscribe(re)}else ve()}else Z.error(ye)})),Le&&(ie.unsubscribe(),ie=null,Oe())};Oe()})}},2021:function(ut,be,d){var c;ut.exports=(c=d(6609),function(r){var g=c,Y=g.lib,W=Y.WordArray,V=Y.Hasher,q=g.algo,L=[],$=[];!function(){function he(Oe){for(var Le=r.sqrt(Oe),ye=2;ye<=Le;ye++)if(!(Oe%ye))return!1;return!0}function Z(Oe){return 4294967296*(Oe-(0|Oe))|0}for(var le=2,ie=0;ie<64;)he(le)&&(ie<8&&(L[ie]=Z(r.pow(le,.5))),$[ie]=Z(r.pow(le,1/3)),ie++),le++}();var ee=[],ne=q.SHA256=V.extend({_doReset:function(){this._hash=new W.init(L.slice(0))},_doProcessBlock:function(he,Z){for(var le=this._hash.words,ie=le[0],Oe=le[1],Le=le[2],ye=le[3],ve=le[4],Ze=le[5],re=le[6],Ae=le[7],ue=0;ue<64;ue++){if(ue<16)ee[ue]=0|he[Z+ue];else{var Ee=ee[ue-15],$e=ee[ue-2];ee[ue]=((Ee<<25|Ee>>>7)^(Ee<<14|Ee>>>18)^Ee>>>3)+ee[ue-7]+(($e<<15|$e>>>17)^($e<<13|$e>>>19)^$e>>>10)+ee[ue-16]}var lt=ie&Oe^ie&Le^Oe&Le,Be=Ae+((ve<<26|ve>>>6)^(ve<<21|ve>>>11)^(ve<<7|ve>>>25))+(ve&Ze^~ve&re)+$[ue]+ee[ue];Ae=re,re=Ze,Ze=ve,ve=ye+Be|0,ye=Le,Le=Oe,Oe=ie,ie=Be+(((ie<<30|ie>>>2)^(ie<<19|ie>>>13)^(ie<<10|ie>>>22))+lt)|0}le[0]=le[0]+ie|0,le[1]=le[1]+Oe|0,le[2]=le[2]+Le|0,le[3]=le[3]+ye|0,le[4]=le[4]+ve|0,le[5]=le[5]+Ze|0,le[6]=le[6]+re|0,le[7]=le[7]+Ae|0},_doFinalize:function(){var he=this._data,Z=he.words,le=8*this._nDataBytes,ie=8*he.sigBytes;return Z[ie>>>5]|=128<<24-ie%32,Z[14+(ie+64>>>9<<4)]=r.floor(le/4294967296),Z[15+(ie+64>>>9<<4)]=le,he.sigBytes=4*Z.length,this._process(),this._hash},clone:function(){var he=V.clone.call(this);return he._hash=this._hash.clone(),he}});g.SHA256=V._createHelper(ne),g.HmacSHA256=V._createHmacHelper(ne)}(Math),c.SHA256)},2175:(ut,be,d)=>{"use strict";d.d(be,{C_:()=>Le,KF:()=>ie,Nt:()=>ve,Sj:()=>q,hO:()=>Be,hr:()=>$});var c=d(9431),r=d(5240),g=d(2481),Y=d(9148),W=d(9166),V=d(5842);const q="@ngrx/router-store/request",$=((0,c.VP)(q,(0,c.xk)()),"@ngrx/router-store/navigation"),ne=((0,c.VP)($,(0,c.xk)()),"@ngrx/router-store/cancel"),Z=((0,c.VP)(ne,(0,c.xk)()),"@ngrx/router-store/error"),ie=((0,c.VP)(Z,(0,c.xk)()),"@ngrx/router-store/navigated");function Le(z,E){const H=E;switch(H.type){case $:case Z:case ne:return{state:H.payload.routerState,navigationId:H.payload.event.id};default:return z}}(0,c.VP)(ie,(0,c.xk)());class ye{serialize(E){return{root:this.serializeRoute(E.root),url:E.url}}serializeRoute(E){const H=E.children.map(b=>this.serializeRoute(b));return{params:E.params,data:E.data,url:E.url,outlet:E.outlet,title:E.title,routeConfig:E.routeConfig?{path:E.routeConfig.path,pathMatch:E.routeConfig.pathMatch,redirectTo:E.routeConfig.redirectTo,outlet:E.routeConfig.outlet,title:"string"==typeof E.routeConfig.title?E.routeConfig.title:void 0}:null,queryParams:E.queryParams,fragment:E.fragment,firstChild:H[0],children:H}}}var ve=function(z){return z[z.PreActivation=1]="PreActivation",z[z.PostActivation=2]="PostActivation",z}(ve||{});const re=new r.nKC("@ngrx/router-store Internal Configuration"),Ae=new r.nKC("@ngrx/router-store Configuration");var ue=function(z){return z[z.Full=0]="Full",z[z.Minimal=1]="Minimal",z}(ue||{});function Ee(z){return{stateKey:"router",serializer:ye,navigationActionTiming:ve.PreActivation,...z}}class xe{serialize(E){return{root:this.serializeRoute(E.root),url:E.url}}serializeRoute(E){const H=E.children.map(b=>this.serializeRoute(b));return{params:E.params,paramMap:E.paramMap,data:E.data,url:E.url,outlet:E.outlet,title:E.title,routeConfig:E.routeConfig?{component:E.routeConfig.component,path:E.routeConfig.path,pathMatch:E.routeConfig.pathMatch,redirectTo:E.routeConfig.redirectTo,outlet:E.routeConfig.outlet,title:E.routeConfig.title}:null,queryParams:E.queryParams,queryParamMap:E.queryParamMap,fragment:E.fragment,component:E.routeConfig?E.routeConfig.component:void 0,root:void 0,parent:void 0,firstChild:H[0],pathFromRoot:void 0,children:H}}}class $e{}var rt=function(z){return z[z.NONE=1]="NONE",z[z.ROUTER=2]="ROUTER",z[z.STORE=3]="STORE",z}(rt||{});let At=(()=>{var z;class E{constructor(b,k,_e,me,ke,Ue){this.store=b,this.router=k,this.serializer=_e,this.errorHandler=me,this.config=ke,this.activeRuntimeChecks=Ue,this.lastEvent=null,this.routerState=null,this.trigger=rt.NONE,this.stateKey=this.config.stateKey,!(0,c.Lg)()&&(0,Y.naY)()&&(Ue?.strictActionSerializability||Ue?.strictStateSerializability)&&this.serializer instanceof xe&&console.warn("@ngrx/router-store: The serializability runtime checks cannot be enabled with the FullRouterStateSerializer. The FullRouterStateSerializer has an unserializable router state and actions that are not serializable. To use the serializability runtime checks either use the MinimalRouterStateSerializer or implement a custom router state serializer."),this.setUpStoreStateListener(),this.setUpRouterEventsListener()}setUpStoreStateListener(){this.store.pipe((0,c.Lt)(this.stateKey),(0,V.E)(this.store)).subscribe(([b,k])=>{this.navigateIfNeeded(b,k)})}navigateIfNeeded(b,k){if(!b||!b.state||this.trigger===rt.ROUTER||this.lastEvent instanceof W.Z)return;const _e=b.state.url;(function lt(z,E){return ft(z)===ft(E)})(this.router.url,_e)||(this.storeState=k,this.trigger=rt.STORE,this.router.navigateByUrl(_e).catch(me=>{this.errorHandler.handleError(me)}))}setUpRouterEventsListener(){const b=this.config.navigationActionTiming===ve.PostActivation;let k;this.router.events.pipe((0,V.E)(this.store)).subscribe(([_e,me])=>{this.lastEvent=_e,_e instanceof W.Z?(this.routerState=this.serializer.serialize(this.router.routerState.snapshot),this.trigger!==rt.STORE&&(this.storeState=me,this.dispatchRouterRequest(_e))):_e instanceof W.ld?(k=_e,!b&&this.trigger!==rt.STORE&&this.dispatchRouterNavigation(_e)):_e instanceof W.j5?(this.dispatchRouterCancel(_e),this.reset()):_e instanceof W.L6?(this.dispatchRouterError(_e),this.reset()):_e instanceof W.wF&&(this.trigger!==rt.STORE&&(b&&this.dispatchRouterNavigation(k),this.dispatchRouterNavigated(_e)),this.reset())})}dispatchRouterRequest(b){this.dispatchRouterAction(q,{event:b})}dispatchRouterNavigation(b){const k=this.serializer.serialize(b.state);this.dispatchRouterAction($,{routerState:k,event:new W.ld(b.id,b.url,b.urlAfterRedirects,k)})}dispatchRouterCancel(b){this.dispatchRouterAction(ne,{storeState:this.storeState,event:b})}dispatchRouterError(b){this.dispatchRouterAction(Z,{storeState:this.storeState,event:new W.L6(b.id,b.url,`${b}`)})}dispatchRouterNavigated(b){const k=this.serializer.serialize(this.router.routerState.snapshot);this.dispatchRouterAction(ie,{event:b,routerState:k})}dispatchRouterAction(b,k){this.trigger=rt.ROUTER;try{this.store.dispatch({type:b,payload:{routerState:this.routerState,...k,event:this.config.routerState===ue.Full?k.event:{id:k.event.id,url:k.event.url,urlAfterRedirects:k.event.urlAfterRedirects}}})}finally{this.trigger=rt.NONE}}reset(){this.trigger=rt.NONE,this.storeState=null,this.routerState=null}static#e=z=()=>(this.\u0275fac=function(k){return new(k||E)(r.KVO(c.il),r.KVO(W.Ix),r.KVO($e),r.KVO(r.zcH),r.KVO(Ae),r.KVO(c.A5))},this.\u0275prov=r.jDH({token:E,factory:E.\u0275fac}))}return z(),E})();function ft(z){return z?.length>0&&"/"===z[z.length-1]?z.substring(0,z.length-1):z}function at(z={}){return(0,r.EmA)([{provide:re,useValue:z},{provide:Ae,useFactory:Ee,deps:[re]},{provide:$e,useClass:z.serializer?z.serializer:z.routerState===ue.Full?xe:ye},(0,r.BCV)(()=>(0,r.WQX)(At)),At])}let Be=(()=>{var z;class E{static forRoot(b={}){return{ngModule:E,providers:[at(b)]}}static#e=z=()=>(this.\u0275fac=function(k){return new(k||E)},this.\u0275mod=g.$C({type:E}),this.\u0275inj=r.G2t({}))}return z(),E})()},2190:(ut,be,d)=>{"use strict";d.d(be,{B8:()=>Ze,Bb:()=>Be});var c=d(5240),r=d(3683),g=d(6523),Y=d(5430),W=d(316),V=d(2481),q=d(9148),L=d(4080);class $ extends Y.qj{supportsDOMEvents=!0;static makeCurrent(){(0,Y.ig)(new $)}onAndCancel(pe,z,E,H){return pe.addEventListener(z,E,H),()=>{pe.removeEventListener(z,E,H)}}dispatchEvent(pe,z){pe.dispatchEvent(z)}remove(pe){pe.remove()}createElement(pe,z){return(z=z||this.getDefaultDocument()).createElement(pe)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(pe){return pe.nodeType===Node.ELEMENT_NODE}isShadowRoot(pe){return pe instanceof DocumentFragment}getGlobalEventTarget(pe,z){return"window"===z?window:"document"===z?pe:"body"===z?pe.body:null}getBaseHref(pe){const z=function ne(){return ee=ee||document.head.querySelector("base"),ee?ee.getAttribute("href"):null}();return null==z?null:function he(We){return new URL(We,document.baseURI).pathname}(z)}resetBaseElement(){ee=null}getUserAgent(){return window.navigator.userAgent}getCookie(pe){return(0,g.b)(document.cookie,pe)}}let ee=null,le=(()=>{class We{build(){return new XMLHttpRequest}static \u0275fac=function(E){return new(E||We)};static \u0275prov=c.jDH({token:We,factory:We.\u0275fac})}return We})(),ie=(()=>{class We extends L.Hl{constructor(z){super(z)}supports(z){return!0}addEventListener(z,E,H,b){return z.addEventListener(E,H,b),()=>this.removeEventListener(z,E,H,b)}removeEventListener(z,E,H,b){return z.removeEventListener(E,H,b)}static \u0275fac=function(E){return new(E||We)(c.KVO(c.qQL))};static \u0275prov=c.jDH({token:We,factory:We.\u0275fac})}return We})();const Oe=["alt","control","meta","shift"],Le={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},ye={alt:We=>We.altKey,control:We=>We.ctrlKey,meta:We=>We.metaKey,shift:We=>We.shiftKey};let ve=(()=>{class We extends L.Hl{constructor(z){super(z)}supports(z){return null!=We.parseEventName(z)}addEventListener(z,E,H,b){const k=We.parseEventName(E),_e=We.eventCallback(k.fullKey,H,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,Y.rb)().onAndCancel(z,k.domEventName,_e,b))}static parseEventName(z){const E=z.toLowerCase().split("."),H=E.shift();if(0===E.length||"keydown"!==H&&"keyup"!==H)return null;const b=We._normalizeKey(E.pop());let k="",_e=E.indexOf("code");if(_e>-1&&(E.splice(_e,1),k="code."),Oe.forEach(ke=>{const Ue=E.indexOf(ke);Ue>-1&&(E.splice(Ue,1),k+=ke+".")}),k+=b,0!=E.length||0===b.length)return null;const me={};return me.domEventName=H,me.fullKey=k,me}static matchEventFullKeyCode(z,E){let H=Le[z.key]||z.key,b="";return E.indexOf("code.")>-1&&(H=z.code,b="code."),!(null==H||!H)&&(H=H.toLowerCase()," "===H?H="space":"."===H&&(H="dot"),Oe.forEach(k=>{k!==H&&(0,ye[k])(z)&&(b+=k+".")}),b+=H,b===E)}static eventCallback(z,E,H){return b=>{We.matchEventFullKeyCode(b,z)&&H.runGuarded(()=>E(b))}}static _normalizeKey(z){return"esc"===z?"escape":z}static \u0275fac=function(E){return new(E||We)(c.KVO(c.qQL))};static \u0275prov=c.jDH({token:We,factory:We.\u0275fac})}return We})();function Ze(We,pe){const z={rootComponent:We,...Ae(pe)};return(0,q.TL3)(z)}function Ae(We){return{appProviders:[...at,...We?.providers??[]],platformProviders:rt}}const rt=[{provide:V.Agw,useValue:W.AJ},{provide:V.PLl,useValue:function Ee(){$.makeCurrent()},multi:!0},{provide:c.qQL,useFactory:function $e(){return(0,V._9u)(document),document}}],ft=[{provide:V.$Ln,useClass:class Z{addToWindow(pe){c.laP.getAngularTestability=(E,H=!0)=>{const b=pe.findTestabilityInTree(E,H);if(null==b)throw new c.buA(5103,!1);return b},c.laP.getAllAngularTestabilities=()=>pe.getAllTestabilities(),c.laP.getAllAngularRootElements=()=>pe.getAllRootElements(),c.laP.frameworkStabilizers||(c.laP.frameworkStabilizers=[]),c.laP.frameworkStabilizers.push(E=>{const H=c.laP.getAllAngularTestabilities();let b=H.length;const k=function(){b--,0==b&&E()};H.forEach(_e=>{_e.whenStable(k)})})}findTestabilityInTree(pe,z,E){return null==z?null:pe.getTestability(z)??(E?(0,Y.rb)().isShadowRoot(z)?this.findTestabilityInTree(pe,z.host,!0):this.findTestabilityInTree(pe,z.parentElement,!0):null)}}},{provide:V.dOL,useClass:V.NYb,deps:[V.SKi,V.giA,V.$Ln]},{provide:V.NYb,useClass:V.NYb,deps:[V.SKi,V.giA,V.$Ln]}],at=[{provide:c.GBX,useValue:"root"},{provide:c.zcH,useFactory:function xe(){return new c.zcH}},{provide:L.Q5,useClass:ie,multi:!0,deps:[c.qQL]},{provide:L.Q5,useClass:ve,multi:!0,deps:[c.qQL]},L.mE,L.CI,L.EU,{provide:V._9s,useExisting:L.mE},{provide:g.N,useClass:le},[]];let Be=(()=>{class We{constructor(){}static \u0275fac=function(E){return new(E||We)};static \u0275mod=V.$C({type:We});static \u0275inj=c.G2t({providers:[...at,...ft],imports:[r.MD,q.Hbi]})}return We})()},2213:(ut,be,d)=>{"use strict";d.d(be,{$:()=>c});const c={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},2351:(ut,be,d)=>{"use strict";d.d(be,{p:()=>ne});var c=d(9431),r=d(9148),V=function(Z){return Z[Z.EntitiesOnly=0]="EntitiesOnly",Z[Z.Both=1]="Both",Z[Z.None=2]="None",Z}(V||{});function q(Z){return function(ie,Oe){const Le={ids:[...Oe.ids],entities:{...Oe.entities}},ye=Z(ie,Le);return ye===V.Both?Object.assign({},Oe,Le):ye===V.EntitiesOnly?{...Oe,entities:Le.entities}:Oe}}function L(Z,le){const ie=le(Z);return(0,r.naY)()&&void 0===ie&&console.warn("@ngrx/entity: The entity passed to the `selectId` implementation returned undefined.","You should probably provide your own `selectId` implementation.","The entity that was passed:",Z,"The `selectId` implementation:",le.toString()),ie}function $(Z){function le(lt,ft){const at=L(lt,Z);return at in ft.entities?V.None:(ft.ids.push(at),ft.entities[at]=lt,V.Both)}function ie(lt,ft){let at=!1;for(const Be of lt)at=le(Be,ft)!==V.None||at;return at?V.Both:V.None}function Le(lt,ft){const at=L(lt,Z);return at in ft.entities?(ft.entities[at]=lt,V.EntitiesOnly):(ft.ids.push(at),ft.entities[at]=lt,V.Both)}function Ze(lt,ft){const Be=(lt instanceof Array?lt:ft.ids.filter(We=>lt(ft.entities[We]))).filter(We=>We in ft.entities).map(We=>delete ft.entities[We]).length>0;return Be&&(ft.ids=ft.ids.filter(We=>We in ft.entities)),Be?V.Both:V.None}function ue(lt,ft){return Ee([lt],ft)}function Ee(lt,ft){const at={};return(lt=lt.filter(We=>We.id in ft.entities)).length>0?lt.filter(pe=>function Ae(lt,ft,at){const We=Object.assign({},at.entities[ft.id],ft.changes),pe=L(We,Z),z=pe!==ft.id;return z&&(lt[ft.id]=pe,delete at.entities[ft.id]),at.entities[pe]=We,z}(at,pe,ft)).length>0?(ft.ids=ft.ids.map(pe=>at[pe]||pe),V.Both):V.EntitiesOnly:V.None}function At(lt,ft){const at=[],Be=[];for(const z of lt){const E=L(z,Z);E in ft.entities?Be.push({id:E,changes:z}):at.push(z)}const We=Ee(Be,ft),pe=ie(at,ft);switch(!0){case pe===V.None&&We===V.None:return V.None;case pe===V.Both||We===V.Both:return V.Both;default:return V.EntitiesOnly}}return{removeAll:function re(lt){return Object.assign({},lt,{ids:[],entities:{}})},addOne:q(le),addMany:q(ie),setAll:q(function Oe(lt,ft){return ft.ids=[],ft.entities={},ie(lt,ft),V.Both}),setOne:q(Le),setMany:q(function ye(lt,ft){const at=lt.map(Be=>Le(Be,ft));switch(!0){case at.some(Be=>Be===V.Both):return V.Both;case at.some(Be=>Be===V.EntitiesOnly):return V.EntitiesOnly;default:return V.None}}),updateOne:q(ue),updateMany:q(Ee),upsertOne:q(function rt(lt,ft){return At([lt],ft)}),upsertMany:q(At),removeOne:q(function ve(lt,ft){return Ze([lt],ft)}),removeMany:q(Ze),map:q(function xe(lt,ft){return Ee(ft.ids.reduce((We,pe)=>{const z=lt(ft.entities[pe]);return z!==ft.entities[pe]&&We.push({id:pe,changes:z}),We},[]).filter(({id:We})=>We in ft.entities),ft)}),mapOne:q(function $e({map:lt,id:ft},at){const Be=at.entities[ft];return Be?ue({id:ft,changes:lt(Be)},at):V.None})}}function ee(Z,le){const{removeOne:ie,removeMany:Oe,removeAll:Le}=$(Z);function ye(at,Be){return ve([at],Be)}function ve(at,Be){const We=at.filter(pe=>!(L(pe,Z)in Be.entities));return 0===We.length?V.None:(ft(We,Be),V.Both)}function re(at,Be){const We=L(at,Z);return We in Be.entities?(Be.ids=Be.ids.filter(pe=>pe!==We),ft([at],Be),V.Both):ye(at,Be)}function ue(at,Be){return xe([at],Be)}function xe(at,Be){const We=[],pe=at.filter(z=>function Ee(at,Be,We){if(!(Be.id in We.entities))return!1;const z=Object.assign({},We.entities[Be.id],Be.changes),E=L(z,Z);return delete We.entities[Be.id],at.push(z),E!==Be.id}(We,z,Be)).length>0;if(0===We.length)return V.None;{const z=Be.ids,E=[];return Be.ids=Be.ids.filter((H,b)=>H in Be.entities||(E.push(b),!1)),ft(We,Be),!pe&&E.every(H=>Be.ids[H]===z[H])?V.EntitiesOnly:V.Both}}function lt(at,Be){const We=[],pe=[];for(const H of at){const b=L(H,Z);b in Be.entities?pe.push({id:b,changes:H}):We.push(H)}const z=xe(pe,Be),E=ve(We,Be);switch(!0){case E===V.None&&z===V.None:return V.None;case E===V.Both||z===V.Both:return V.Both;default:return V.EntitiesOnly}}function ft(at,Be){at.sort(le);const We=[];let pe=0,z=0;for(;pe{Be.entities[Z(E)]=E})}return{removeOne:ie,removeMany:Oe,removeAll:Le,addOne:q(ye),updateOne:q(ue),upsertOne:q(function At(at,Be){return lt([at],Be)}),setAll:q(function Ze(at,Be){return Be.entities={},Be.ids=[],ve(at,Be),V.Both}),setOne:q(re),setMany:q(function Ae(at,Be){const We=at.map(pe=>re(pe,Be));switch(!0){case We.some(pe=>pe===V.Both):return V.Both;case We.some(pe=>pe===V.EntitiesOnly):return V.EntitiesOnly;default:return V.None}}),addMany:q(ve),updateMany:q(xe),upsertMany:q(lt),map:q(function $e(at,Be){return xe(Be.ids.reduce((pe,z)=>{const E=at(Be.entities[z]);return E!==Be.entities[z]&&pe.push({id:z,changes:E}),pe},[]),Be)}),mapOne:q(function rt({map:at,id:Be},We){const pe=We.entities[Be];return pe?ue({id:Be,changes:at(pe)},We):V.None})}}function ne(Z={}){const{selectId:le,sortComparer:ie}={selectId:Z.selectId??(ve=>ve.id),sortComparer:Z.sortComparer??!1},Oe=function Y(){return{getInitialState:function Z(le={}){return Object.assign({ids:[],entities:{}},le)}}}(),Le=function W(){return{getSelectors:function Z(le){const ie=ve=>ve.ids,Oe=ve=>ve.entities,Le=(0,c.Mz)(ie,Oe,(ve,Ze)=>ve.map(re=>Ze[re])),ye=(0,c.Mz)(ie,ve=>ve.length);return le?{selectIds:(0,c.Mz)(le,ie),selectEntities:(0,c.Mz)(le,Oe),selectAll:(0,c.Mz)(le,Le),selectTotal:(0,c.Mz)(le,ye)}:{selectIds:ie,selectEntities:Oe,selectAll:Le,selectTotal:ye}}}}();return{selectId:le,sortComparer:ie,...Oe,...Le,...ie?ee(le,ie):$(le)}}},2354:(ut,be,d)=>{"use strict";d.d(be,{w:()=>$});var c=d(8473),r=d(5602),g=d(819),Y=d(2645),W=d(2384),V=d(1687),q=d(310);const L=(0,W.L)(ne=>function(Z=null){ne(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=Z});function $(ne,he){const{first:Z,each:le,with:ie=ee,scheduler:Oe=he??c.E,meta:Le=null}=(0,r.v)(ne)?{first:ne}:"number"==typeof ne?{each:ne}:ne;if(null==Z&&null==le)throw new TypeError("No timeout provided.");return(0,g.N)((ye,ve)=>{let Ze,re,Ae=null,ue=0;const Ee=xe=>{re=(0,q.N)(ve,Oe,()=>{try{Ze.unsubscribe(),(0,Y.Tg)(ie({meta:Le,lastValue:Ae,seen:ue})).subscribe(ve)}catch($e){ve.error($e)}},xe)};Ze=ye.subscribe((0,V._)(ve,xe=>{re?.unsubscribe(),ue++,ve.next(Ae=xe),le>0&&Ee(le)},void 0,void 0,()=>{re?.closed||re?.unsubscribe(),Ae=null})),!ue&&Ee(null!=Z?"number"==typeof Z?Z:+Z-Oe.now():le)})}function ee(ne){throw new L(ne)}},2384:(ut,be,d)=>{"use strict";function c(r){const Y=r(W=>{Error.call(W),W.stack=(new Error).stack});return Y.prototype=Object.create(Error.prototype),Y.prototype.constructor=Y,Y}d.d(be,{L:()=>c})},2435:(ut,be,d)=>{"use strict";d.d(be,{$:()=>q});var c=d(3335),r=d(1567),g=d(4334),Y=d(778),W=d(9365),V=d(1440);function q(L,$){const ee=arguments.length>=2;return ne=>ne.pipe(L?(0,r.p)((he,Z)=>L(he,Z,ne)):V.D,(0,g.s)(1),ee?(0,Y.U)($):(0,W.v)(()=>new c.G))}},2476:(ut,be,d)=>{"use strict";d.d(be,{l:()=>r});const r=function c(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},2481:(ut,be,d)=>{"use strict";d.d(be,{$C:()=>$h,$KE:()=>ds,$Ln:()=>Kp,ATY:()=>ki,AVh:()=>md,Ab1:()=>eo,Aen:()=>h_,Agw:()=>ns,Avn:()=>sd,B1s:()=>hc,B4B:()=>Ii,BIS:()=>Vi,BMQ:()=>zu,C4Q:()=>na,C5r:()=>um,C7A:()=>wp,Co$:()=>Wh,DG8:()=>lg,DNE:()=>Cu,DQ1:()=>js,DkB:()=>ad,Dyx:()=>bg,E5c:()=>Dd,EBC:()=>Hd,EFF:()=>C_,EJ8:()=>Qh,EOD:()=>q0,Ef8:()=>St,FsC:()=>Gh,FuF:()=>WE,G5x:()=>SD,GBs:()=>e_,H1s:()=>Xp,HbH:()=>p_,Hgh:()=>ed,JRh:()=>yd,JeD:()=>Ar,Jn2:()=>vT,Jt5:()=>Og,Jv_:()=>Q_,KA5:()=>b0,KED:()=>Xb,Kzh:()=>K,L8h:()=>NE,LN$:()=>th,Lme:()=>Ed,N1r:()=>l,NAR:()=>Zg,NCX:()=>cl,NOj:()=>Qd,NSC:()=>Lo,NYb:()=>FM,NyB:()=>i_,OA$:()=>z,OR8:()=>Js,Ocv:()=>DT,Ol2:()=>yu,PLl:()=>ps,PYC:()=>dc,PYt:()=>Vh,PeT:()=>bu,QTQ:()=>ch,Qdn:()=>Y0,Ql9:()=>gT,R7$:()=>lf,RPW:()=>Ua,RV6:()=>Ag,SKi:()=>Dr,SML:()=>hb,SS7:()=>Md,SVM:()=>Yr,SdG:()=>Jg,SdI:()=>Om,SpI:()=>ql,TFI:()=>xl,TMN:()=>gr,Ts$:()=>Pm,UJm:()=>Iv,UQZ:()=>Br,UQu:()=>hT,V5L:()=>wm,VBU:()=>Kh,VeQ:()=>gi,VkB:()=>$_,Vm6:()=>Dg,Vt3:()=>Eu,VwU:()=>dd,VzW:()=>qE,WPN:()=>bt,XSi:()=>vD,XpG:()=>Yg,Xx1:()=>Le,Y8G:()=>Zu,YEm:()=>Fr,Z7z:()=>Cg,Zhj:()=>KE,_9s:()=>tu,_9u:()=>Ci,_jY:()=>Ai,_qm:()=>wn,_ys:()=>mp,a8H:()=>ma,aCM:()=>ys,aKT:()=>Tn,bH1:()=>zh,bH3:()=>z_,bIt:()=>ud,bMT:()=>am,bRx:()=>Pa,bVm:()=>Da,bc$:()=>Si,bkB:()=>ks,brH:()=>cm,c0O:()=>Li,c1b:()=>bl,cDI:()=>YD,cTO:()=>gs,cZr:()=>Rd,cdK:()=>Gp,czy:()=>qa,d80:()=>_T,dOL:()=>zp,dfE:()=>Jm,e6s:()=>iC,eHC:()=>Cl,eq3:()=>Z_,eu8:()=>nd,eux:()=>$l,fWk:()=>JE,fX1:()=>Mg,g25:()=>ag,gXe:()=>Is,giA:()=>Hp,gil:()=>fo,hkx:()=>Q0,hnC:()=>jE,i5U:()=>lm,iBR:()=>zi,iLQ:()=>Yp,iWE:()=>Ns,j41:()=>zl,jOp:()=>Wu,k0s:()=>Kl,kBR:()=>od,kS0:()=>Se,kdw:()=>ve,lJ4:()=>Y_,lJT:()=>Zp,l_i:()=>J_,lsd:()=>n_,mGM:()=>t_,mNQ:()=>H_,mU9:()=>VE,mY:()=>Ri,mal:()=>vp,mu_:()=>I,n$e:()=>pr,n$t:()=>Ud,nI1:()=>om,nVh:()=>yg,npT:()=>qt,nrm:()=>qu,nv$:()=>og,o8S:()=>Ll,ozJ:()=>ou,p2i:()=>fc,pDL:()=>Iy,pJN:()=>bi,phd:()=>UM,pl0:()=>VM,qBF:()=>Q,qex:()=>Gl,r8f:()=>K_,rAh:()=>zo,rOR:()=>Wn,rXU:()=>Mo,rj2:()=>Hl,sFG:()=>$y,sMw:()=>q_,sZ2:()=>or,sdS:()=>s_,sgu:()=>GE,tDU:()=>br,tSv:()=>Kd,tvf:()=>G,uiO:()=>re,utN:()=>lE,uzI:()=>$t,vDg:()=>_h,vZN:()=>jl,vxM:()=>Eg,w6W:()=>jh,wEZ:()=>r_,wni:()=>qg,wr$:()=>B,xGo:()=>Un,xc7:()=>_d,xe9:()=>Nm,xtN:()=>Vy,yJU:()=>v,yLl:()=>$p,y_5:()=>Oe,ypd:()=>jM,ziG:()=>em,zoo:()=>_p,zw6:()=>Pi});var c=d(9204),r=d(5240),g=d(8677),Y=d(4205),W=d(7092),V=d(271),q=d(6611);function L(e){return{toString:e}.toString()}const $="__annotations__",ee="__parameters__",ne="__prop__metadata__";function he(e,t,n,i,s){return L(()=>{const o=Z(t);function a(...u){if(this instanceof a)return o.call(this,...u),this;const p=new a(...u);return function(U){return s&&s(U,...u),(U.hasOwnProperty($)?U[$]:Object.defineProperty(U,$,{value:[]})[$]).push(p),U}}return n&&(a.prototype=Object.create(n.prototype)),a.prototype.ngMetadataName=e,a.annotationCls=a,a})}function Z(e){return function(...n){if(e){const i=e(...n);for(const s in i)this[s]=i[s]}}}function le(e,t,n){return L(()=>{const i=Z(t);function s(...o){if(this instanceof s)return i.apply(this,o),this;const a=new s(...o);return u.annotation=a,u;function u(p,R,U){const se=p.hasOwnProperty(ee)?p[ee]:Object.defineProperty(p,ee,{value:[]})[ee];for(;se.length<=U;)se.push(null);return(se[U]=se[U]||[]).push(a),p}}return s.prototype.ngMetadataName=e,s.annotationCls=s,s})}const Oe=(0,r.z6V)(le("Inject",e=>({token:e})),-1),Le=(0,r.z6V)(le("Optional"),8),ye=(0,r.z6V)(le("Self"),2),ve=(0,r.z6V)(le("SkipSelf"),4),Ze=(0,r.z6V)(le("Host"),1);function re(e){const t=r.laP.ng;if(t&&t.\u0275compilerFacade)return t.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}const Ae={\u0275\u0275defineInjectable:r.jDH,\u0275\u0275defineInjector:r.G2t,\u0275\u0275inject:r.KVO,\u0275\u0275invalidFactoryDep:r.dmw,resolveForwardRef:r.nl4},ue=Function;function Ee(e){return"function"==typeof e}const xe=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|(?:[^()]+\(\[\],)?[^()]+\(arguments\).*)\)/,$e=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,rt=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,At=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{[^}]*super\(\.\.\.arguments\)/;class ft{_reflect;constructor(t){this._reflect=t||r.laP.Reflect}factory(t){return(...n)=>new t(...n)}_zipTypesAndAnnotations(t,n){let i;i=(0,r.WfI)(typeof t>"u"?n.length:t.length);for(let s=0;s"u"?[]:t[s]&&t[s]!=Object?[t[s]]:[],n&&null!=n[s]&&(i[s]=i[s].concat(n[s]));return i}_ownParameters(t,n){if(function lt(e){return xe.test(e)||At.test(e)||$e.test(e)&&!rt.test(e)}(t.toString()))return null;if(t.parameters&&t.parameters!==n.parameters)return t.parameters;const s=t.ctorParameters;if(s&&s!==n.ctorParameters){const u="function"==typeof s?s():s,p=u.map(U=>U&&U.type),R=u.map(U=>U&&at(U.decorators));return this._zipTypesAndAnnotations(p,R)}const o=t.hasOwnProperty(ee)&&t[ee],a=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",t);return a||o?this._zipTypesAndAnnotations(a,o):(0,r.WfI)(t.length)}parameters(t){if(!Ee(t))return[];const n=Be(t);let i=this._ownParameters(t,n);return!i&&n!==Object&&(i=this.parameters(n)),i||[]}_ownAnnotations(t,n){if(t.annotations&&t.annotations!==n.annotations){let i=t.annotations;return"function"==typeof i&&i.annotations&&(i=i.annotations),i}return t.decorators&&t.decorators!==n.decorators?at(t.decorators):t.hasOwnProperty($)?t[$]:null}annotations(t){if(!Ee(t))return[];const n=Be(t),i=this._ownAnnotations(t,n)||[];return(n!==Object?this.annotations(n):[]).concat(i)}_ownPropMetadata(t,n){if(t.propMetadata&&t.propMetadata!==n.propMetadata){let i=t.propMetadata;return"function"==typeof i&&i.propMetadata&&(i=i.propMetadata),i}if(t.propDecorators&&t.propDecorators!==n.propDecorators){const i=t.propDecorators,s={};return Object.keys(i).forEach(o=>{s[o]=at(i[o])}),s}return t.hasOwnProperty(ne)?t[ne]:null}propMetadata(t){if(!Ee(t))return{};const n=Be(t),i={};if(n!==Object){const o=this.propMetadata(n);Object.keys(o).forEach(a=>{i[a]=o[a]})}const s=this._ownPropMetadata(t,n);return s&&Object.keys(s).forEach(o=>{const a=[];i.hasOwnProperty(o)&&a.push(...i[o]),a.push(...s[o]),i[o]=a}),i}ownPropMetadata(t){return Ee(t)&&this._ownPropMetadata(t,Be(t))||{}}hasLifecycleHook(t,n){return t instanceof ue&&n in t.prototype}}function at(e){return e?e.map(t=>new(0,t.type.annotationCls)(...t.args?t.args:[])):[]}function Be(e){const t=e.prototype?Object.getPrototypeOf(e.prototype):null;return(t?t.constructor:null)||Object}class We{previousValue;currentValue;firstChange;constructor(t,n,i){this.previousValue=t,this.currentValue=n,this.firstChange=i}isFirstChange(){return this.firstChange}}function pe(e,t,n,i){null!==t?t.applyValueToInputSignal(t,i):e[n]=i}const z=(()=>{const e=()=>E;return e.ngInherit=!0,e})();function E(e){return e.type.prototype.ngOnChanges&&(e.setInput=b),H}function H(){const e=_e(this),t=e?.current;if(t){const n=e.previous;if(n===r.MZA)e.previous=t;else for(let i in t)n[i]=t[i];e.current=null,this.ngOnChanges(t)}}function b(e,t,n,i,s){const o=this.declaredInputs[i],a=_e(e)||function me(e,t){return e[k]=t}(e,{previous:r.MZA,current:null}),u=a.current||(a.current={}),p=a.previous,R=p[o];u[o]=new We(R&&R.currentValue,n,p===r.MZA),pe(e,t,s,n)}const k="__ngSimpleChanges__";function _e(e){return e[k]||null}const ke=[],St=function(e,t=null,n){for(let i=0;i=i)break}else t[p]<0&&(e[r.wVl]+=65536),(u>14>16&&(3&e[r.Wg1])===t&&(e[r.Wg1]+=16384,Tt(u,o)):Tt(u,o)}const tn=-1;class vn{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,i,s){this.factory=t,this.name=s,this.canSeeViewProviders=n,this.injectImpl=i}}function zt(e){return null!=e&&"object"==typeof e&&(null===e.insertBeforeIndex||"number"==typeof e.insertBeforeIndex||Array.isArray(e.insertBeforeIndex))}function _t(e){return 3===e||4===e||6===e}function Ut(e){return 64===e.charCodeAt(0)}function Yt(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let i=0;it){a=o-1;break}}}for(;o>16}(e),i=t;for(;n>0;)i=i[r.X5O],n--;return i}let j=!0;function ce(e){const t=j;return j=e,t}const Ke=255,wt=5;let jt=0;const kt={};function Pn(e,t){const n=Ln(e,t);if(-1!==n)return n;const i=t[r.eDl];i.firstCreatePass&&(e.injectorIndex=t.length,Vn(i.data,e),Vn(t,null),Vn(i.blueprint,null));const s=$n(e,t),o=e.injectorIndex;if(An(s)){const a=En(s),u=ct(s,t),p=u[r.eDl].data;for(let R=0;R<8;R++)t[o+R]=u[a+R]|p[a+R]}return t[o+8]=s,o}function Vn(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Ln(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function $n(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,i=null,s=t;for(;null!==s;){if(i=oe(s),null===i)return tn;if(n++,s=s[r.X5O],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return tn}function Kn(e,t,n){!function Jt(e,t,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(r.p9y)&&(i=n[r.p9y]),null==i&&(i=n[r.p9y]=jt++);const s=i&Ke;t.data[e+(s>>wt)]|=1<=0?t&Ke:Jr:t}(n);if("function"==typeof o){if(!(0,r.ihb)(t,e,i))return 1&i?On(s,n,i):jn(t,n,i,s);try{let a;if(a=o(i),null!=a||8&i)return a;(0,r.$Hz)(n)}finally{(0,r.niQ)()}}else if("number"==typeof o){let a=null,u=Ln(e,t),p=tn,R=1&i?t[r.b5C][r.qlT]:null;for((-1===u||4&i)&&(p=-1===u?$n(e,t):t[u+8],p!==tn&&oi(i,!1)?(a=t[r.eDl],u=En(p),t=ct(p,t)):u=-1);-1!==u;){const U=t[r.eDl];if(er(o,u,U.data)){const se=xn(u,t,n,a,i,R);if(se!==kt)return se}p=t[u+8],p!==tn&&oi(i,t[r.eDl].data[u+8]===R)&&er(o,u,t)?(a=U,u=En(p),t=ct(p,t)):u=-1}}return s}function xn(e,t,n,i,s,o){const a=t[r.eDl],u=a.data[e+8],U=Bn(u,a,n,null==i?(0,r.Qs1)(u)&&j:i!=a&&!!(3&u.type),1&s&&o===u);return null!==U?Or(t,a,U,u,s):kt}function Bn(e,t,n,i,s){const o=e.providerIndexes,a=t.data,u=1048575&o,p=e.directiveStart,U=o>>20,we=s?u+U:e.directiveEnd;for(let Pe=i?u:u+U;Pe=p&&ot.type===n)return Pe}if(s){const Pe=a[p];if(Pe&&(0,r.JlV)(Pe)&&Pe.type===n)return p}return null}function Or(e,t,n,i,s){let o=e[n];const a=t.data;if(o instanceof vn){const u=o;if(u.resolving){const Pe=(0,r.PP7)(a[n]);throw(0,r.PQT)(Pe)}const p=ce(u.canSeeViewProviders);u.resolving=!0;const se=u.injectImpl?(0,r.a2B)(u.injectImpl):null;(0,r.ihb)(e,i,0);try{o=e[n]=u.factory(void 0,s,a,e,i),t.firstCreatePass&&n>=i.directiveStart&&function Fe(e,t,n){const{ngOnChanges:i,ngOnInit:s,ngDoCheck:o}=t.type.prototype;if(i){const a=E(t);(n.preOrderHooks??=[]).push(e,a),(n.preOrderCheckHooks??=[]).push(e,a)}s&&(n.preOrderHooks??=[]).push(0-e,s),o&&((n.preOrderHooks??=[]).push(e,o),(n.preOrderCheckHooks??=[]).push(e,o))}(n,a[n],t)}finally{null!==se&&(0,r.a2B)(se),ce(p),u.resolving=!1,(0,r.niQ)()}}return o}function er(e,t,n){return!!(n[t+(e>>wt)]&1<{const t=e.prototype.constructor,n=t[r.zSs]||dr(t),i=Object.prototype;let s=Object.getPrototypeOf(e.prototype).constructor;for(;s&&s!==i;){const o=s[r.zSs]||dr(s);if(o&&o!==n)return o;s=Object.getPrototypeOf(s)}return o=>new o})}function dr(e){return(0,r.Jzi)(e)?()=>{const t=dr((0,r.nl4)(e));return t&&t()}:(0,r.wGu)(e)}function oe(e){const t=e[r.eDl],n=t.type;return 2===n?t.declTNode:1===n?e[r.qlT]:null}function Se(e){return function ir(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const i=n.length;let s=0;for(;s({attributeName:e,__NG_ELEMENT_ID__:()=>Se(e)}));let et=null;function pt(e){return xt(function yt(){return et=et||new ft}().parameters(e))}function xt(e){return e.map(t=>function ge(e){const t={token:null,attribute:null,host:!1,optional:!1,self:!1,skipSelf:!1};if(Array.isArray(e)&&e.length>0)for(let n=0;nfunction je(e,t){let n=null,i=null;e.hasOwnProperty(r.yAH)||Object.defineProperty(e,r.yAH,{get:()=>(null===n&&(n=re().compileInjectable(Ae,`ng:///${e.name}/\u0275prov.js`,function Dn(e,t){const n=t||{providedIn:null},i={name:e.name,type:e,typeArgumentCount:0,providedIn:n.providedIn};return(ht(n)||Nt(n))&&void 0!==n.deps&&(i.deps=xt(n.deps)),ht(n)?i.useClass=n.useClass:function Ct(e){return Xe in e}(n)?i.useValue=n.useValue:Nt(n)?i.useFactory=n.useFactory:function Xt(e){return void 0!==e.useExisting}(n)&&(i.useExisting=n.useExisting),i}(e,t))),n)}),e.hasOwnProperty(r.zSs)||Object.defineProperty(e,r.zSs,{get:()=>{if(null===i){const s=re();i=s.compileFactory(Ae,`ng:///${e.name}/\u0275fac.js`,{name:e.name,type:e,typeArgumentCount:0,deps:pt(e),target:s.FactoryTarget.Injectable})}return i},configurable:!0})}(e,t));function un(){return dn((0,r.Mx4)(),(0,r.OAn)())}function dn(e,t){return new Tn((0,r.d31)(e,t))}let Tn=(()=>class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=un})();function Sn(e){return e instanceof Tn?e.nativeElement:e}function bn(){return this._results[Symbol.iterator]()}class Wn{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new Y.B}constructor(t=!1){this._emitDistinctChangesOnly=t}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;const i=(0,r.Bqz)(t);(this._changesDetected=!(0,r.ng7)(this._results,i,n))&&(this._results=i,this.length=i.length,this.last=i[this.length-1],this.first=i[0])}notifyOnChanges(){void 0!==this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=bn}const Zn="ngSkipHydration",Tr="ngskiphydration";function tr(e){const t=e.mergedAttrs;if(null===t)return!1;for(let n=0;npi}),pi="ng",ps=new r.nKC(""),ns=new r.nKC("",{providedIn:"platform",factory:()=>"unknown"}),Si=new r.nKC(""),Vi=new r.nKC("",{providedIn:"root",factory:()=>Fr().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),Ri={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},gi=new r.nKC("",{providedIn:"root",factory:()=>Ri});function Pi(e){return e}function ji(){const e=new bi;return e.store=function Ir(e,t){const n=e.getElementById(t+"-state");if(n?.textContent)try{return JSON.parse(n.textContent)}catch(i){console.warn("Exception while restoring TransferState for app "+t,i)}return{}}(Fr(),(0,r.WQX)(or)),e}let bi=(()=>{class e{static \u0275prov=(0,r.jDH)({token:e,providedIn:"root",factory:ji});store={};onSerializeCallbacks={};get(n,i){return void 0!==this.store[n]?this.store[n]:i}set(n,i){this.store[n]=i}remove(n){delete this.store[n]}hasKey(n){return this.store.hasOwnProperty(n)}get isEmpty(){return 0===Object.keys(this.store).length}onSerialize(n,i){this.onSerializeCallbacks[n]=i}toJson(){for(const n in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(n))try{this.store[n]=this.onSerializeCallbacks[n]()}catch(i){console.warn("Exception in onSerialize callback: ",i)}return JSON.stringify(this.store).replace(/!1}),K=new r.nKC(""),l=!1,h=new r.nKC(""),I=new r.nKC("",{providedIn:"root",factory:()=>new Map}),G=new r.nKC(""),de={passive:!0,capture:!0},Re=new WeakMap,Ve=new WeakMap,Je=new WeakMap,dt=["click","keydown"],Wt=["mouseenter","mouseover","focusin"];let Vt=null,In=0;class Mn{callbacks=new Set;listener=()=>{for(const t of this.callbacks)t()}}function sn(e,t){let n=Ve.get(e);if(!n){n=new Mn,Ve.set(e,n);for(const i of dt)e.addEventListener(i,n.listener,de)}return n.callbacks.add(t),()=>{const{callbacks:i,listener:s}=n;if(i.delete(t),0===i.size){Ve.delete(e);for(const o of dt)e.removeEventListener(o,s,de)}}}function fn(e,t){let n=Re.get(e);if(!n){n=new Mn,Re.set(e,n);for(const i of Wt)e.addEventListener(i,n.listener,de)}return n.callbacks.add(t),()=>{const{callbacks:i,listener:s}=n;if(i.delete(t),0===i.size){for(const o of Wt)e.removeEventListener(o,s,de);Re.delete(e)}}}const pr="ngb",Ar=(e,t,n)=>{const i=e,s=i.__jsaction_fns??new Map,o=s.get(t)??[];o.push(n),s.set(t,o),i.__jsaction_fns=s},zi=(e,t)=>{const n=e;let i=n.getAttribute(pr)??"";const s=t.get(i)??new Set;s.has(n)||s.add(n),t.set(i,s)},Br=e=>{e.removeAttribute(q.n.JSACTION),e.removeAttribute(pr),e.__jsaction_fns=void 0},Yr=new r.nKC("",{providedIn:"root",factory:()=>({})});function Li(e,t){const n=t?.__jsaction_fns?.get(e.type);if(n&&t?.isConnected)for(const i of n)i(e)}const Ji=new Map;function gs(e,t){return Ji.set(e,t),()=>Ji.delete(e)}let xi=!1,_s=(e,t,n,i)=>{};function ds(){xi||(_s=(e,t,n,i)=>{const s=e[r.YEL].get(or);Ji.get(s)?.(t,n,i)},xi=!0)}const Kt=new r.nKC("");function cn(e){return!(32&~e.flags)}const gr="__nghData__",_r="__nghDeferData__",zn="ngh",Ms="nghm";let Cs=()=>null;function T(e,t,n=!1){let i=e.getAttribute(zn);if(null==i)return null;const[s,o]=i.split("|");if(i=n?o:s,!i)return null;const u=n?s:o?`|${o}`:"";let p={};if(""!==i){const U=t.get(bi,null,{optional:!0});null!==U&&(p=U.get(gr,[])[Number(i)])}const R={data:p,firstChild:e.firstChild??null};return n&&(R.firstChild=e,si(R,0,e.nextSibling)),u?e.setAttribute(zn,u):e.removeAttribute(zn),R}function v(){Cs=T}function w(e,t,n=!1){return Cs(e,t,n)}function te(e){let t=e._lView;return 2===t[r.eDl].type?null:((0,r.EFk)(t)&&(t=t[r.Yw1]),t)}function br(e){e.get(bi).get(_r,{})}function si(e,t,n){e.segmentHeads??={},e.segmentHeads[t]=n}function Wr(e,t){return e.segmentHeads?.[t]??null}function ki(e){return e.get(h,!1,{optional:!0})}function D(e,t){return e.data[is]?.[t]??null}function m(e,t){const n=D(e,t)??[];let i=0;for(let s of n)i+=s[li]*(s[Xi]??1);return i}function F(e,t){if(typeof e.disconnectedNodes>"u"){const n=e.data[Yi];e.disconnectedNodes=n?new Set(n):null}return!!function M(e){if(typeof e.disconnectedNodes>"u"){const t=e.data[Yi];e.disconnectedNodes=t?new Set(t):null}return e.disconnectedNodes}(e)?.has(t)}function J(e,t){const n=e[r.tcA];return null!==n&&!(0,r.KtD)()&&!cn(t)&&!F(n,t.index-r.Yw1)}function Uo(e){return!!e&&e.nodeType===Node.COMMENT_NODE&&e.textContent?.trim()===Ms}function Ra(e){for(;e&&e.nodeType===Node.TEXT_NODE;)e=e.previousSibling;return e}function Pa(e){for(const i of e.body.childNodes)if(Uo(i))return;if(!Uo(Ra(e.body.previousSibling))&&!Uo(Ra(e.head.lastChild)))throw new r.buA(-507,!1)}function Na(e,t){const n=e.contentQueries;if(null!==n){const i=(0,g.Ht)(null);try{for(let s=0;se,createScript:e=>e,createScriptURL:e=>e})}catch{}return uo}function Rs(e){return La()?.createHTML(e)||e}function Wo(){if(void 0===$s&&($s=null,r.laP.trustedTypes))try{$s=r.laP.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return $s}function ka(e){return Wo()?.createHTML(e)||e}function Fa(e){return Wo()?.createScript(e)||e}function Ba(e){return Wo()?.createScriptURL(e)||e}class Ps{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${r.ok8})`}}class sc extends Ps{getTypeName(){return"HTML"}}class oc extends Ps{getTypeName(){return"Style"}}class ac extends Ps{getTypeName(){return"Script"}}class lc extends Ps{getTypeName(){return"URL"}}class cc extends Ps{getTypeName(){return"ResourceURL"}}function ys(e){return e instanceof Ps?e.changingThisBreaksApplicationSecurity:e}function Ns(e,t){const n=function uc(e){return e instanceof Ps&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${r.ok8})`)}return n===t}function dc(e){return new sc(e)}function zo(e){return new oc(e)}function fc(e){return new ac(e)}function hc(e){return new lc(e)}function Ua(e){return new cc(e)}function Ko(e){const t=new Va(e);return function $o(){try{return!!(new window.DOMParser).parseFromString(Rs(""),"text/html")}catch{return!1}}()?new Ho(t):t}class Ho{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const n=(new window.DOMParser).parseFromString(Rs(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}}class Va{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=Rs(t),n}}const ja=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function fo(e){return(e=String(e)).match(ja)?e:"unsafe:"+e}function ss(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function Ls(...e){const t={};for(const n of e)for(const i in n)n.hasOwnProperty(i)&&(t[i]=!0);return t}const Wa=ss("area,br,col,hr,img,wbr"),za=ss("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),pc=ss("rp,rt"),ho=Ls(Wa,Ls(za,ss("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")),Ls(pc,ss("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Ls(pc,za)),Go=ss("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Ka=Ls(Go,ss("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"),ss("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")),mc=ss("script,style,template");class vc{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let n=t.firstChild,i=!0,s=[];for(;n;)if(n.nodeType===Node.ELEMENT_NODE?i=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,i&&n.firstChild)s.push(n),n=Ec(n);else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let o=Ha(n);if(o){n=o;break}n=s.pop()}return this.buf.join("")}startElement(t){const n=Qo(t).toLowerCase();if(!ho.hasOwnProperty(n))return this.sanitizedSomething=!0,!mc.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const i=t.attributes;for(let s=0;s"),!0}endElement(t){const n=Qo(t).toLowerCase();ho.hasOwnProperty(n)&&!Wa.hasOwnProperty(n)&&(this.buf.push(""))}chars(t){this.buf.push(Ga(t))}}function Ha(e){const t=e.nextSibling;if(t&&e!==t.previousSibling)throw $a(t);return t}function Ec(e){const t=e.firstChild;if(t&&function yc(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,t))throw $a(t);return t}function Qo(e){const t=e.nodeName;return"string"==typeof t?t:"FORM"}function $a(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const Dc=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Mc=/([^\#-~ |!])/g;function Ga(e){return e.replace(/&/g,"&").replace(Dc,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(Mc,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let _;function B(e,t){let n=null;try{_=_||Ko(e);let i=t?String(t):"";n=_.getInertBodyElement(i);let s=5,o=i;do{if(0===s)throw new Error("Failed to sanitize html because the input is unstable");s--,i=o,o=n.innerHTML,n=_.getInertBodyElement(i)}while(i!==o);return Rs((new vc).sanitizeChildren(fe(n)||n))}finally{if(n){const i=fe(n)||n;for(;i.firstChild;)i.firstChild.remove()}}}function fe(e){return"content"in e&&function nt(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var bt=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}(bt||{});function qt(e){const t=Xo();return t?ka(t.sanitize(bt.HTML,e)||""):Ns(e,"HTML")?ka(ys(e)):B(Fr(),(0,r.eFE)(e))}function Ii(e){const t=Xo();return t?t.sanitize(bt.URL,e)||"":Ns(e,"URL")?ys(e):fo((0,r.eFE)(e))}function Pr(e){const t=Xo();if(t)return Ba(t.sanitize(bt.RESOURCE_URL,e)||"");if(Ns(e,"ResourceURL"))return Ba(ys(e));throw new r.buA(904,!1)}function Ud(e,t,n){return function Vm(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?Pr:Ii}(t,n)(e)}function Xo(){const e=(0,r.OAn)();return e&&e[r.M0L].sanitizer}const jm=/^>|^->||--!>|)/g,zm="\u200b$1\u200b";function Kd(e){return e.ownerDocument.defaultView}function Hd(e){return e.ownerDocument}function $d(e){return e.ownerDocument.body}function As(e){return e instanceof Function?e():e}function Jm(e){if(Qd(e),!(0,r.xUg)(e).standalone)throw new r.buA(907,`The ${(0,r.PP7)(e)} component is not marked as standalone, but Angular expects to have a standalone component here. Please make sure the ${(0,r.PP7)(e)} component has the \`standalone: true\` flag in the decorator.`)}function Qd(e){if(!(0,r.xUg)(e))throw new r.buA(906,`The ${(0,r.PP7)(e)} is not an Angular component, make sure it has the \`@Component\` decorator.`)}function qm(e,t,n){let i=e.length;for(;;){const s=e.indexOf(t,n);if(-1===s)return s;if(0===s||e.charCodeAt(s-1)<=32){const o=t.length;if(s+o===i||e.charCodeAt(s+o)<=32)return s}n=s+1}}const Zd="ng-template";function ev(e,t,n,i){let s=0;if(i){for(;s-1){let o;for(;++so?"":s[U+1].toLowerCase(),2&i&&R!==se){if(Es(i))return!1;a=!0}}}}else{if(!a&&!Es(i)&&!Es(p))return!1;if(a&&Es(p))continue;a=!1,i=p|1&i}}return Es(i)||a}function Es(e){return!(1&e)}function rv(e,t,n,i){if(null===t)return-1;let s=0;if(i||!n){let o=!1;for(;s-1)for(n++;n0?'="'+u+'"':"")+"]"}else 8&i?s+="."+a:4&i&&(s+=" "+a);else""!==s&&!Es(a)&&(t+=qd(o,s),s=""),i=a,o=o||!Es(i);n++}return""!==s&&(t+=qd(o,s)),t}const cr={};function Ic(e,t){return e.createText(t)}function ef(e,t,n){e.setValue(t,n)}function Ac(e,t){return e.createComment(function Vd(e){return e.replace(jm,t=>t.replace(Wm,zm))}(t))}function Ya(e,t,n){return e.createElement(t,n)}function Gs(e,t,n,i,s){e.insertBefore(t,n,i,s)}function tf(e,t,n){e.appendChild(t,n)}function nf(e,t,n,i,s){null!==i?Gs(e,t,n,i,s):tf(e,t,n)}function Yo(e,t,n){e.removeChild(null,t,n)}function rf(e){e.textContent=""}function sf(e,t,n){const{mergedAttrs:i,classes:s,styles:o}=n;null!==i&&function He(e,t,n){let i=0;for(;i=0?i[u]():i[-u].unsubscribe(),a+=2}else n[a].call(i[n[a+1]]);null!==i&&(t[r.VVG]=null);const s=t[r.Czx];if(null!==s){t[r.Czx]=null;for(let a=0;ar.Yw1&&cf(e,t,r.Yw1,!1),St(a?2:0,s,n),n(i,s)}finally{(0,r.ypq)(o),St(a?3:1,s,n)}}function nl(e,t,n){(function wv(e,t,n){const i=n.directiveStart,s=n.directiveEnd;(0,r.Qs1)(n)&&function pv(e,t,n){const i=(0,r.d31)(t,e),s=af(n),o=e[r.M0L].rendererFactory,a=Sc(e,Za(e,s,null,Oc(n),i,t,null,o.createRenderer(i,n),null,null,null));e[t.index]=a}(t,n,e.data[i+n.componentOffset]),e.firstCreatePass||Pn(n,t);const o=n.initialInputs;for(let a=i;anull;function Tv(e){Gn(e)?rf(e):function qe(e){const t=Fr(),n=t.createNodeIterator(e,NodeFilter.SHOW_COMMENT,{acceptNode(o){const a=function De(e){return e.textContent?.replace(/\s/gm,"")}(o);return"ngetn"===a||"ngtns"===a?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}});let i;const s=[];for(;i=n.nextNode();)s.push(i);for(const o of s)"ngetn"===o.textContent?o.replaceWith(t.createTextNode("")):o.remove()}(e)}function Iv(){Ef=Tv}function Uc(e,t,n,i,s,o){ol(e,t[r.eDl],t,n,i)?(0,r.Qs1)(e)&&Df(t,e.index):(3&e.type&&(n=function Av(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(n)),Vc(e,t,n,i,s,o))}function Vc(e,t,n,i,s,o){if(3&e.type){const a=(0,r.d31)(e,t);i=null!=o?o(i,e.value||"",n):i,s.setProperty(a,n,i)}}function Df(e,t){const n=(0,r.KdJ)(t,e);16&n[r.Wg1]||(n[r.Wg1]|=64)}function Sv(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function jc(e,t){const n=e.directiveRegistry;let i=null;if(n)for(let s=0;s{(0,r.blu)(e.lView)},consumerOnSignalRead(){this.lView[r.Iaj]=this}},Kv={...g.pL,consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=(0,r._0$)(e.lView);for(;t&&!Af(t[r.eDl]);)t=(0,r._0$)(t);t&&(0,r.HAh)(t)},consumerOnSignalRead(){this.lView[r.Iaj]=this}};function Af(e){return 2!==e.type}function wf(e){if(null===e[r.tQN])return;let t=!0;for(;t;){let n=!1;for(const i of e[r.tQN])i.dirty&&(n=!0,null===i.zone||Zone.current===i.zone?i.run():i.zone.run(()=>i.run()));t=n&&!!(8192&e[r.Wg1])}}function ll(e,t=0){const i=e[r.M0L].rendererFactory;i.begin?.();try{!function $v(e,t){const n=(0,r.yP_)();try{(0,r.cBl)(!0),zc(e,t);let i=0;for(;(0,r.dMS)(e);){if(100===i)throw new r.buA(103,!1);i++,zc(e,1)}}finally{(0,r.cBl)(n)}}(e,t)}finally{i.end?.()}}function Of(e,t,n,i){if((0,r.EPY)(t))return;const s=t[r.Wg1];(0,r.ID8)(t);let u=!0,p=null,R=null;Af(e)?(R=function Uv(e){return e[r.Iaj]??function Vv(e){const t=If.pop()??Object.create(Wv);return t.lView=e,t}(e)}(t),p=(0,g.Bg)(R)):null===(0,g.nR)()?(u=!1,R=function zv(e){const t=e[r.Iaj]??Object.create(Kv);return t.lView=e,t}(t),p=(0,g.Bg)(R)):t[r.Iaj]&&((0,g.XR)(t[r.Iaj]),t[r.Iaj]=null);try{(0,r.HUe)(t),(0,r.Kw3)(e.bindingStartIndex),null!==n&&yf(e,t,n,2,i);const U=!(3&~s);if(U){const Pe=e.preOrderCheckHooks;null!==Pe&&it(t,Pe,null)}else{const Pe=e.preOrderHooks;null!==Pe&&A(t,Pe,0,null),ae(t,0)}if(function Qv(e){for(let t=Hr(e);null!==t;t=Cr(t)){if(!(2&t[r.Wg1]))continue;const n=t[r.nfM];for(let i=0;i0&&(n[s-1][r.K29]=t),i0&&(e[n-1][r.K29]=i[r.K29]);const o=(0,r.E6O)(e,r.Y20+t);uf(i[r.eDl],i);const a=o[r.Ds7];null!==a&&a.detachView(o[r.eDl]),i[r.f7T]=null,i[r.K29]=null,i[r.Wg1]&=-129}return i}function xf(e,t){const n=e[r.nfM],i=t[r.f7T];((0,r.q$2)(i)||t[r.b5C]!==i[r.f7T][r.b5C])&&(e[r.Wg1]|=2),null===n?e[r.nfM]=[t]:n.push(t)}class cl{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){const t=this._lView,n=t[r.eDl];return ea(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[r.SKP]}set context(t){this._lView[r.SKP]=t}get destroyed(){return(0,r.EPY)(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[r.f7T];if((0,r.A0l)(t)){const n=t[r.bm_],i=n?n.indexOf(this):-1;i>-1&&(ta(t,i),(0,r.E6O)(n,i))}this._attachedToViewContainer=!1}qo(this._lView[r.eDl],this._lView)}onDestroy(t){(0,r.ik5)(this._lView,t)}markForCheck(){vo(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[r.Wg1]&=-129}reattach(){(0,r._gW)(this._lView),this._lView[r.Wg1]|=128}detectChanges(){this._lView[r.Wg1]|=1024,ll(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new r.buA(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const t=(0,r.EFk)(this._lView),n=this._lView[r.rQE];null!==n&&!t&&Nc(n,this._lView),df(this._lView[r.eDl],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new r.buA(902,!1);this._appRef=t;const n=(0,r.EFk)(this._lView),i=this._lView[r.rQE];null!==i&&!n&&xf(i,this._lView),(0,r._gW)(this._lView)}}let na=(()=>class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=Jv;constructor(n,i,s){this._declarationLView=n,this._declarationTContainer=i,this.elementRef=s}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,i){return this.createEmbeddedViewImpl(n,i)}createEmbeddedViewImpl(n,i,s){const o=mo(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:i,dehydratedView:s});return new cl(o)}})();function Jv(){return ul((0,r.Mx4)(),(0,r.OAn)())}function ul(e,t){return 4&e.type?new na(t,e,dn(e,t)):null}function Bf(e,t,n){const i=t.insertBeforeIndex,s=Array.isArray(i)?i[0]:i;return null===s?pf(e,0,n):(0,r.IvY)(n[s])}function Uf(e,t,n,i,s){const o=t.insertBeforeIndex;if(Array.isArray(o)){let a=i,u=null;if(3&t.type||(u=a,a=s),null!==a&&-1===t.componentOffset)for(let p=1;p1)for(let n=e.length-2;n>=0;n--){const i=e[n];jf(i)||ly(i,t)&&null===cy(i)&&uy(i,t.index)}}function jf(e){return!(64&e.type)}function ly(e,t){return jf(t)||e.index>t.index}function cy(e){const t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function uy(e,t){const n=e.insertBeforeIndex;Array.isArray(n)?n[0]=t:(_f(Bf,Uf),e.insertBeforeIndex=t)}function oa(e,t){const n=e.data[t];return null===n||"string"==typeof n?null:n.hasOwnProperty("currentCaseLViewIndex")?n:n.value}function hy(e,t,n){const i=Qc(e,n,64,null,null);return Vf(t,i),i}function fl(e,t){const n=t[e.currentCaseLViewIndex];return null===n?n:n<0?~n:n}function Wf(e){return e>>>17}function zf(e){return(131070&e)>>>1}function Xc(e,t,n){e.index=0;const i=fl(t,n);e.removes=null!==i?t.remove[i]:r.Mlv}function hl(e){if(e.index0?e.lView[t]:(e.stack.push(e.index,e.removes),Xc(e,e.lView[r.eDl].data[~t],e.lView),hl(e))}return 0===e.stack.length?null:(e.removes=e.stack.pop(),e.index=e.stack.pop(),hl(e))}function gy(){const e={stack:[],index:-1};return function t(n,i){for(e.lView=i;e.stack.length;)e.stack.pop();return Xc(e,n.value,i),hl.bind(null,e)}}const my=new RegExp(`^(\\d+)*(${Ds}|${_i})*(.*)`);function Yc(e){return e.index-r.Yw1}function aa(e,t,n,i){const s=Yc(i);let o=function Gf(e,t){const n=e.i18nNodes;if(n)return n.get(t)}(e,s);if(void 0===o){const a=e.data[ls];if(a?.[s])o=function Qf(e,t){const[n,...i]=function yy(e){const t=e.match(my),[n,i,s,o]=t,a=i?parseInt(i,10):s,u=[];for(const[p,R,U]of o.matchAll(/(f|n)(\d*)/g)){const se=parseInt(U,10)||1;u.push(R,se)}return[a,...u]}(e);let s;if(n===_i)s=t[r.b5C][r.jgP];else if(n===Ds)s=$d(t[r.b5C][r.jgP]);else{const o=Number(n);s=(0,r.IvY)(t[o+r.Yw1])}return function Cy(e,t){let n=e;for(let i=0;inull,rh=()=>null;function Vy(){nh=jy,rh=Wy}function jy(e,t){return sh(e,t)?e[r.qFA].shift():(gl(e),null)}function ca(e,t){return nh(e,t)}function Wy(e,t,n){if(null===t.tView.ssrId)return null;const i=ca(e,t.tView.ssrId);return n[r.eDl].firstUpdatePass&&null===i&&function zy(e,t){let n=t;for(;n;){if(oh(e,n))return;if(!(256&~n.flags))break;n=n.prev}for(n=t.next;n&&!(512&~n.flags);){if(oh(e,n))return;n=n.next}}(n,t),i}function ih(e,t,n){return rh(e,t,n)}function sh(e,t){const n=e[r.qFA];return!(!t||null===n||0===n.length)&&n[0].data[mi]===t}function oh(e,t){const n=t.tView?.ssrId;if(null==n)return!1;const i=e[t.index];return!(!(0,r.A0l)(i)||!sh(i,n)||(gl(i),0))}let Ky=class{},ah=class{};class Hy{resolveComponentFactory(t){throw new r.buA(917,!1)}}let vl=class{static NULL=new Hy};class tu{}let $y=(()=>class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>function Gy(){const e=(0,r.OAn)(),t=(0,r.Mx4)(),n=(0,r.KdJ)(t.index,e);return((0,r.q$2)(n)?n:e)[r.GpT]}()})(),Qy=(()=>{class e{static \u0275prov=(0,r.jDH)({token:e,providedIn:"root",factory:()=>null})}return e})();function nu(e){return void 0!==e.ngModule}function Js(e){return!!(0,r.phH)(e)}function yl(e){return!!(0,r.oyA)(e)}function lh(e){return!!(0,r.HaV)(e)}function ua(e){return!!(0,r.xUg)(e)}function Yy(e,t){if((0,r.Jzi)(e)&&!(e=(0,r.nl4)(e)))throw new Error(`Expected forwardRef function, imported from "${(0,r.PP7)(t)}", to return a standalone entity or NgModule but got "${(0,r.PP7)(e)||e}".`);if(null==(0,r.phH)(e)){const n=(0,r.xUg)(e)||(0,r.HaV)(e)||(0,r.oyA)(e);if(null==n)throw nu(e)?new Error(`A module with providers was imported from "${(0,r.PP7)(t)}". Modules with providers are not supported in standalone components imports.`):new Error(`The "${(0,r.PP7)(e)}" type, imported from "${(0,r.PP7)(t)}", must be a standalone component / directive / pipe or an NgModule. Did you forget to add the required @Component / @Directive / @Pipe or @NgModule annotation?`);if(!n.standalone)throw new Error(`The "${(0,r.PP7)(e)}" ${function Xy(e){return(0,r.xUg)(e)?"component":(0,r.HaV)(e)?"directive":(0,r.oyA)(e)?"pipe":"type"}(e)}, imported from "${(0,r.PP7)(t)}", is not standalone. Did you forget to add the standalone: true flag?`)}}class Zy{ownerNgModule=new Map;ngModulesWithSomeUnresolvedDecls=new Set;ngModulesScopeCache=new Map;standaloneComponentsScopeCache=new Map;resolveNgModulesDecls(){if(0!==this.ngModulesWithSomeUnresolvedDecls.size){for(const t of this.ngModulesWithSomeUnresolvedDecls){const n=(0,r.phH)(t);if(n?.declarations)for(const i of As(n.declarations))ua(i)&&this.ownerNgModule.set(i,t)}this.ngModulesWithSomeUnresolvedDecls.clear()}}getComponentDependencies(t,n){this.resolveNgModulesDecls();const i=(0,r.xUg)(t);if(null===i)throw new Error(`Attempting to get component dependencies for a type that is not a component: ${t}`);if(i.standalone){const s=this.getStandaloneComponentScope(t,n);return s.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...s.compilation.directives,...s.compilation.pipes,...s.compilation.ngModules]}}{if(!this.ownerNgModule.has(t))return{dependencies:[]};const s=this.getNgModuleScope(this.ownerNgModule.get(t));return s.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...s.compilation.directives,...s.compilation.pipes]}}}registerNgModule(t,n){if(!Js(t))throw new Error(`Attempting to register a Type which is not NgModule as NgModule: ${t}`);this.ngModulesWithSomeUnresolvedDecls.add(t)}clearScopeCacheFor(t){this.ngModulesScopeCache.delete(t),this.standaloneComponentsScopeCache.delete(t)}getNgModuleScope(t){if(this.ngModulesScopeCache.has(t))return this.ngModulesScopeCache.get(t);const n=this.computeNgModuleScope(t);return this.ngModulesScopeCache.set(t,n),n}computeNgModuleScope(t){const n=(0,r.WbQ)(t),i={exported:{directives:new Set,pipes:new Set},compilation:{directives:new Set,pipes:new Set}};for(const s of As(n.imports))if(Js(s)){const o=this.getNgModuleScope(s);Bs(o.exported.directives,i.compilation.directives),Bs(o.exported.pipes,i.compilation.pipes)}else{if(!(0,r.QuC)(s)){i.compilation.isPoisoned=!0;break}if(lh(s)||ua(s))i.compilation.directives.add(s);else{if(!yl(s))throw new r.buA(980,"The standalone imported type is neither a component nor a directive nor a pipe");i.compilation.pipes.add(s)}}if(!i.compilation.isPoisoned)for(const s of As(n.declarations)){if(Js(s)||(0,r.QuC)(s)){i.compilation.isPoisoned=!0;break}yl(s)?i.compilation.pipes.add(s):i.compilation.directives.add(s)}for(const s of As(n.exports))if(Js(s)){const o=this.getNgModuleScope(s);Bs(o.exported.directives,i.exported.directives),Bs(o.exported.pipes,i.exported.pipes),Bs(o.exported.directives,i.compilation.directives),Bs(o.exported.pipes,i.compilation.pipes)}else yl(s)?i.exported.pipes.add(s):i.exported.directives.add(s);return i}getStandaloneComponentScope(t,n){if(this.standaloneComponentsScopeCache.has(t))return this.standaloneComponentsScopeCache.get(t);const i=this.computeStandaloneComponentScope(t,n);return this.standaloneComponentsScopeCache.set(t,i),i}computeStandaloneComponentScope(t,n){const i={compilation:{directives:new Set([t]),pipes:new Set,ngModules:new Set}};for(const s of(0,r.Bqz)(n??[])){const o=(0,r.nl4)(s);try{Yy(o,t)}catch{return i.compilation.isPoisoned=!0,i}if(Js(o)){i.compilation.ngModules.add(o);const a=this.getNgModuleScope(o);if(a.exported.isPoisoned)return i.compilation.isPoisoned=!0,i;Bs(a.exported.directives,i.compilation.directives),Bs(a.exported.pipes,i.compilation.pipes)}else if(yl(o))i.compilation.pipes.add(o);else{if(!lh(o)&&!ua(o))return i.compilation.isPoisoned=!0,i;i.compilation.directives.add(o)}}return i}isOrphanComponent(t){const n=(0,r.xUg)(t);return!(!n||n.standalone||(this.resolveNgModulesDecls(),this.ownerNgModule.has(t)))}}function Bs(e,t){for(const n of e)t.add(n)}const da=new Zy,ru={};class Do{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,i){const s=this.injector.get(t,ru,i);return s!==ru||n===ru?s:this.parentInjector.get(t,n,i)}}function El(e,t,n){let i=n?e.styles:null,s=n?e.classes:null,o=0;if(null!==t)for(let a=0;a0&&(n.directiveToIndex=new Map);for(let we=0;we0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(a)!=u&&a.push(u),a.push(n,i,o)}}(e,t,i,Zo(e,n,s.hostVars,cr),s)}function sE(e,t,n){if(n){if(t.exportAs)for(let i=0;ip?u[p]:null}"string"==typeof a&&(o+=2)}return null}(t,n,o,e.index)),null!==U)(U.__ngLastListenerFn__||U).__ngNextListenerFn__=a,U.__ngLastListenerFn__=a,R=!0;else{const se=(0,r.d31)(e,n),we=i?i(se):se;!function us(e,t,n,i){_s(e,t,n,i)}(n,we,o,u);const Pe=s.listen(we,o,u);yh(i?Rt=>i((0,r.IvY)(Rt[e.index])):e.index,t,n,o,u,Pe,!1)}return R}function yh(e,t,n,i,s,o,a){const u=t.firstCreatePass?(0,r.vNG)(t):null,p=(0,r.d_l)(n),R=p.length;p.push(s,o),u&&u.push(i,e,R,(R+1)*(a?-1:1))}function Ml(e,t,n,i,s,o){const u=t[r.eDl],se=t[n][u.data[n].outputs[i]].subscribe(o);yh(e.index,u,t,s,o,se,!0)}const Us=Symbol("BINDING");class Eh extends vl{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=(0,r.xUg)(t);return new Cl(n,this.ngModule)}}class Cl extends ah{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=function vE(e){return Object.keys(e).map(t=>{const[n,i,s]=e[t],o={propName:n,templateName:t,isSignal:0!==(i&Ja.SignalBased)};return s&&(o.transform=s),o})}(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=function yE(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function cv(e){return e.map(lv).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,i,s,o,a){St(22);const u=(0,g.Ht)(null);try{const p=this.componentDef,R=function bE(e,t,n,i){const s=e?["ng-version","20.2.4"]:function uv(e){const t=[],n=[];let i=1,s=2;for(;i{if(1&n&&e)for(const i of e)i.create();if(2&n&&t)for(const i of t)i.update()}:null}(o,a),1,u,p,null,null,null,[s],null)}(i,p,a,o),U=function EE(e,t,n){let i=t instanceof r.uvJ?t:t?.injector;return i&&null!==e.getStandaloneInjector&&(i=e.getStandaloneInjector(i)||i),i?new Do(n,i):n}(p,s||this.ngModule,t),se=function DE(e){const t=e.get(tu,null);if(null===t)throw new r.buA(407,!1);return{rendererFactory:t,sanitizer:e.get(Qy,null),changeDetectionScheduler:e.get(r.hk6,null),ngReflect:!1}}(U),we=se.rendererFactory.createRenderer(null,p),Pe=i?function Cv(e,t,n,i){const o=i.get($t,!1)||n===Is.ShadowDom,a=e.selectRootElement(t,o);return function bv(e){Ef(e)}(a),a}(we,i,p.encapsulation,U):function ME(e,t){const n=function CE(e){return(e.selectors[0][0]||"div").toLowerCase()}(e);return Ya(t,n,"svg"===n?r.jNX:"math"===n?r.rJ1:null)}(p,we),ot=a?.some(Dh)||o?.some(Qt=>"function"!=typeof Qt&&Qt.bindings.some(Dh)),Rt=Za(null,R,null,512|Oc(p),null,null,se,we,U,null,w(Pe,U,!0));Rt[r.Yw1]=Pe,(0,r.ID8)(Rt);let Zt=null;try{const Qt=iu(r.Yw1,Rt,2,"#host",()=>R.directiveRegistry,!0,0);Pe&&(sf(we,Pe,Qt),Te(Pe,Rt)),nl(R,Rt,Qt),jo(R,Qt,Rt),su(R,Qt),void 0!==n&&function AE(e,t,n){const i=e.projection=[];for(let s=0;sclass e{static __NG_ELEMENT_ID__=wE})();function wE(){return bh((0,r.Mx4)(),(0,r.OAn)())}const OE=bl,Mh=class extends OE{_lContainer;_hostTNode;_hostLView;constructor(t,n,i){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=i}get element(){return dn(this._hostTNode,this._hostLView)}get injector(){return new pn(this._hostTNode,this._hostLView)}get parentInjector(){const t=$n(this._hostTNode,this._hostLView);if(An(t)){const n=ct(t,this._hostLView),i=En(t);return new pn(n[r.eDl].data[i+8],n)}return new pn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Ch(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-r.Y20}createEmbeddedView(t,n,i){let s,o;"number"==typeof i?s=i:null!=i&&(s=i.index,o=i.injector);const a=ca(this._lContainer,t.ssrId),u=t.createEmbeddedViewImpl(n||{},o,a);return this.insertImpl(u,s,Xs(this._hostTNode,a)),u}createComponent(t,n,i,s,o,a,u){const p=t&&!Ee(t);let R;if(p)R=n;else{const Zt=n||{};R=Zt.index,i=Zt.injector,s=Zt.projectableNodes,o=Zt.environmentInjector||Zt.ngModuleRef,a=Zt.directives,u=Zt.bindings}const U=p?t:new Cl((0,r.xUg)(t)),se=i||this.parentInjector;if(!o&&null==U.ngModule){const Qt=(p?se:this.parentInjector).get(r.uvJ,null);Qt&&(o=Qt)}const we=(0,r.xUg)(U.componentType??{}),Pe=ca(this._lContainer,we?.id??null),Rt=U.create(se,s,Pe?.firstChild??null,o,a,u);return this.insertImpl(Rt.hostView,R,Xs(this._hostTNode,Pe)),Rt}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,i){const s=t._lView;if((0,r.ITl)(s)){const u=this.indexOf(t);if(-1!==u)this.detach(u);else{const p=s[r.f7T],R=new Mh(p,p[r.qlT],p[r.f7T]);R.detach(R.indexOf(t))}}const o=this._adjustIndex(n),a=this._lContainer;return yo(a,s,o,i),t.attachToViewContainerRef(),(0,r.EYC)(au(a),o,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=Ch(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),i=ta(this._lContainer,n);i&&((0,r.E6O)(au(this._lContainer),n),qo(i[r.eDl],i))}detach(t){const n=this._adjustIndex(t,-1),i=ta(this._lContainer,n);return i&&null!=(0,r.E6O)(au(this._lContainer),n)?new cl(i):null}_adjustIndex(t,n=0){return t??this.length+n}};function Ch(e){return e[r.bm_]}function au(e){return e[r.bm_]||(e[r.bm_]=[])}function bh(e,t){let n;const i=t[e.index];return(0,r.A0l)(i)?n=i:(n=Nf(i,t,null,e),t[e.index]=n,Sc(t,n)),Th(n,t,e,i),new Mh(n,e,t)}let Th=Ah,lu=()=>!1;function Ih(e,t,n){return lu(e,t,n)}function Ah(e,t,n,i){if(e[r.s6P])return;let s;s=8&n.type?(0,r.IvY)(i):function SE(e,t){const n=e[r.GpT],i=n.createComment(""),s=(0,r.d31)(t,e),o=n.parentNode(s);return Gs(n,o,i,n.nextSibling(s),!1),i}(t,n),e[r.s6P]=s}function RE(e,t,n){if(e[r.s6P]&&e[r.qFA])return!0;const i=n[r.tcA],s=t.index-r.Yw1;if(!i||function nr(e){if(Jn(e))return!0;let t=e.parent;for(;t;){if(Jn(e)||tr(t))return!0;t=t.parent}return!1}(t)||F(i,s))return!1;const a=Wr(i,s),u=i.data[is]?.[s],[p,R]=function Uy(e,t){const n=[];for(const i of t)for(let s=0;s<(i[Xi]??1);s++){const o={data:i,firstChild:null};i[li]>0&&(o.firstChild=e,e=pl(i[li],e)),n.push(o)}return[e,n]}(a,u);return e[r.s6P]=p,e[r.qFA]=R,!0}function PE(e,t,n,i){lu(e,n,t)||Ah(e,t,n,i)}function NE(){Th=PE,lu=RE}class cu{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new cu(this.queryList)}setDirty(){this.queryList.setDirty()}}class uu{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const i=null!==t.contentQueries?t.contentQueries[0]:n.length,s=[];for(let o=0;ot.trim())}(t):t}}class du{queries;constructor(t=[]){this.queries=t}elementStart(t,n){for(let i=0;i0)i.push(a[u/2]);else{const R=o[u+1],U=t[-p];for(let se=r.Y20;se{i._dirtyCounter();const o=function zE(e,t){const n=e._lView,i=e._queryIndex;if(void 0===n||void 0===i||4&n[r.Wg1])return t?void 0:r.Mlv;const s=pu(n,i),o=Lh(n,i);return s.reset(o,Sn),t?s.first:s._changesDetected||void 0===e._flatValue?e._flatValue=s.toArray():e._flatValue}(i,e);if(t&&void 0===o)throw new r.buA(-951,!1);return o});return i=s[g.bh],i._dirtyCounter=(0,r.vPA)(0),i._flatValue=void 0,s}function VE(e){return _u(!0,!1)}function jE(e){return _u(!0,!0)}function WE(e){return _u(!1,!1)}function xh(e,t){const n=e[g.bh];n._lView=(0,r.OAn)(),n._queryIndex=t,n._queryList=pu(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(i=>i+1))}function KE(e){const t=[],n=new Map;function i(s){let o=n.get(s);if(!o){const a=e(s);n.set(s,o=a.then(u=>function QE(e,t){return"string"==typeof t?t:void 0!==t.status&&200!==t.status?Promise.reject(new r.buA(918,!1)):t.text()}(0,u)))}return o}return Co.forEach((s,o)=>{const a=[];s.templateUrl&&a.push(i(s.templateUrl).then(R=>{s.template=R}));const u="string"==typeof s.styles?[s.styles]:s.styles||[];if(s.styles=u,s.styleUrl&&s.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");if(s.styleUrls?.length){const R=s.styles.length,U=s.styleUrls;s.styleUrls.forEach((se,we)=>{u.push(""),a.push(i(se).then(Pe=>{u[R+we]=Pe,U.splice(U.indexOf(se),1),0==U.length&&(s.styleUrls=void 0)}))})}else s.styleUrl&&a.push(i(s.styleUrl).then(R=>{u.push(R),s.styleUrl=void 0}));const p=Promise.all(a).then(()=>function XE(e){pa.delete(e)}(o));t.push(p)}),function $E(){const e=Co;Co=new Map}(),Promise.all(t).then(()=>{})}let Co=new Map;const pa=new Set;function GE(){return 0===Co.size}const mu=new Map;function Bh(e,t){(function YE(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${(0,r.AsM)(t)} vs ${(0,r.AsM)(t.name)}`)})(t,mu.get(t)||null,e),mu.set(t,e)}const Uh=new Set;function Ai(e){Uh.has(e)||(Uh.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}let eo=class{},Vh=class{};function jh(e,t){return new vu(e,t??null,[])}const JE=jh;class vu extends eo{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new Eh(this);constructor(t,n,i,s=!0){super(),this.ngModuleType=t,this._parent=n;const o=(0,r.phH)(t);this._bootstrapComponents=As(o.bootstrap),this._r3Injector=(0,r.Pz9)(t,n,[{provide:eo,useValue:this},{provide:vl,useValue:this.componentFactoryResolver},...i],(0,r.AsM)(t),new Set(["environment"])),s&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Wh extends Vh{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new vu(this.moduleType,t,[])}}function qE(e,t,n){return new vu(e,t,n,!1)}class zh extends eo{injector;componentFactoryResolver=new Eh(this);instance=null;constructor(t){super();const n=new r.e5P([...t.providers,{provide:eo,useValue:this},{provide:vl,useValue:this.componentFactoryResolver}],t.parent||(0,r.WB9)(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function yu(e,t,n=null){return new zh({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}let eD=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const i=(0,r.jXY)(!1,n.type),s=i.length>0?yu([i],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,s)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=(0,r.jDH)({token:e,providedIn:"environment",factory:()=>new e((0,r.KVO)(r.uvJ))})}return e})();function Kh(e){return L(()=>{const t=Xh(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Sr.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?s=>s.get(eD).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Is.Emulated,styles:e.styles||r.Mlv,_:null,schemas:e.schemas||null,tView:null,id:""};t.standalone&&Ai("NgStandalone"),Yh(n);const i=e.dependencies;return n.directiveDefs=Tl(i,Hh),n.pipeDefs=Tl(i,r.oyA),n.id=function iD(e){let t=0;const i=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,"function"==typeof e.consts?"":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];for(const o of i.join("|"))t=Math.imul(31,t)+o.charCodeAt(0)|0;return t+=2147483648,"c"+t}(n),n})}function Hh(e){return(0,r.xUg)(e)||(0,r.HaV)(e)}function $h(e){return L(()=>({type:e.type,bootstrap:e.bootstrap||r.Mlv,declarations:e.declarations||r.Mlv,imports:e.imports||r.Mlv,exports:e.exports||r.Mlv,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function tD(e,t){if(null==e)return r.MZA;const n={};for(const i in e)if(e.hasOwnProperty(i)){const s=e[i];let o,a,u,p;Array.isArray(s)?(u=s[0],o=s[1],a=s[2]??o,p=s[3]||null):(o=s,a=s,u=Ja.None,p=null),n[o]=[i,u,p],t[o]=a}return n}function nD(e){if(null==e)return r.MZA;const t={};for(const n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function Gh(e){return L(()=>{const t=Xh(e);return Yh(t),t})}function Qh(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function Xh(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||r.MZA,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:!0===e.signals,selectors:e.selectors||r.Mlv,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:tD(e.inputs,t),outputs:nD(e.outputs),debugInfo:null}}function Yh(e){e.features?.forEach(t=>t(e))}function Tl(e,t){return e?()=>{const n="function"==typeof e?e():e,i=[];for(const s of n){const o=t(s);null!==o&&i.push(o)}return i}:null}function Zh(e){return Object.getPrototypeOf(e.prototype).constructor}function Eu(e){let t=Zh(e.type),n=!0;const i=[e];for(;t;){let s;if((0,r.JlV)(e))s=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new r.buA(903,!1);s=t.\u0275dir}if(s){if(n){i.push(s);const a=e;a.inputs=Du(e.inputs),a.declaredInputs=Du(e.declaredInputs),a.outputs=Du(e.outputs);const u=s.hostBindings;u&&cD(e,u);const p=s.viewQuery,R=s.contentQueries;if(p&&aD(e,p),R&&lD(e,R),sD(e,s),(0,r.dwj)(e.outputs,s.outputs),(0,r.JlV)(s)&&s.data.animation){const U=e.data;U.animation=(U.animation||[]).concat(s.data.animation)}}const o=s.features;if(o)for(let a=0;a=0;i--){const s=e[i];s.hostVars=t+=s.hostVars,s.hostAttrs=Yt(s.hostAttrs,n=Yt(n,s.hostAttrs))}}(i)}function sD(e,t){for(const n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;const i=t.inputs[n];void 0!==i&&(e.inputs[n]=i,e.declaredInputs[n]=t.declaredInputs[n])}}function Du(e){return e===r.MZA?{}:e===r.Mlv?[]:e}function aD(e,t){const n=e.viewQuery;e.viewQuery=n?(i,s)=>{t(i,s),n(i,s)}:t}function lD(e,t){const n=e.contentQueries;e.contentQueries=n?(i,s,o)=>{t(i,s,o),n(i,s,o)}:t}function cD(e,t){const n=e.hostBindings;e.hostBindings=n?(i,s)=>{t(i,s),n(i,s)}:t}const uD=["providersResolver"],dD=["template","decls","consts","vars","onPush","ngContentSelectors","styles","encapsulation","schemas"];function pD(e){const t=[];let n=!1,i=null,s=null;for(let o=0;onull),a=i;if(t&&"object"==typeof t){const p=t;s=p.next?.bind(p),o=p.error?.bind(p),a=p.complete?.bind(p)}this.__isAsync&&(o=this.wrapInTimeout(o),s&&(s=this.wrapInTimeout(s)),a&&(a=this.wrapInTimeout(a)));const u=super.subscribe({next:s,error:o,complete:a});return t instanceof W.yU&&t.add(u),u}wrapInTimeout(t){return n=>{const i=this.pendingTasks?.add();setTimeout(()=>{try{t(n)}finally{void 0!==i&&this.pendingTasks?.remove(i)}})}}};function up(e){let t,n;function i(){e=r.lQ1;try{void 0!==n&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(n),void 0!==t&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),i()}),"function"==typeof requestAnimationFrame&&(n=requestAnimationFrame(()=>{e(),i()})),()=>i()}function dp(e){return queueMicrotask(()=>e()),()=>{e=r.lQ1}}const Iu="isAngularZone",Ol=Iu+"_ID";let bD=0;class Dr{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new ks(!1);onMicrotaskEmpty=new ks(!1);onStable=new ks(!1);onError=new ks(!1);constructor(t){const{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:s=!1,scheduleInRootZone:o=cp}=t;if(typeof Zone>"u")throw new r.buA(908,!1);Zone.assertZonePatched();const a=this;a._nesting=0,a._outer=a._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(a._inner=a._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(a._inner=a._inner.fork(Zone.longStackTraceZoneSpec)),a.shouldCoalesceEventChangeDetection=!s&&i,a.shouldCoalesceRunChangeDetection=s,a.callbackScheduled=!1,a.scheduleInRootZone=o,function AD(e){const t=()=>{!function ID(e){function t(){up(()=>{e.callbackScheduled=!1,wu(e),e.isCheckStableRunning=!0,Au(e),e.isCheckStableRunning=!1})}e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),wu(e))}(e)},n=bD++;e._inner=e._inner.fork({name:"angular",properties:{[Iu]:!0,[Ol]:n,[Ol+n]:!0},onInvokeTask:(i,s,o,a,u,p)=>{if(function wD(e){return pp(e,"__ignore_ng_zone__")}(p))return i.invokeTask(o,a,u,p);try{return fp(e),i.invokeTask(o,a,u,p)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===a.type||e.shouldCoalesceRunChangeDetection)&&t(),hp(e)}},onInvoke:(i,s,o,a,u,p,R)=>{try{return fp(e),i.invoke(o,a,u,p,R)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!function OD(e){return pp(e,"__scheduler_tick__")}(p)&&t(),hp(e)}},onHasTask:(i,s,o,a)=>{i.hasTask(o,a),s===o&&("microTask"==a.change?(e._hasPendingMicrotasks=a.microTask,wu(e),Au(e)):"macroTask"==a.change&&(e.hasPendingMacrotasks=a.macroTask))},onHandleError:(i,s,o,a)=>(i.handleError(o,a),e.runOutsideAngular(()=>e.onError.emit(a)),!1)})}(a)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(Iu)}static assertInAngularZone(){if(!Dr.isInAngularZone())throw new r.buA(909,!1)}static assertNotInAngularZone(){if(Dr.isInAngularZone())throw new r.buA(909,!1)}run(t,n,i){return this._inner.run(t,n,i)}runTask(t,n,i,s){const o=this._inner,a=o.scheduleEventTask("NgZoneEvent: "+s,t,TD,r.lQ1,r.lQ1);try{return o.runTask(a,n,i)}finally{o.cancelTask(a)}}runGuarded(t,n,i){return this._inner.runGuarded(t,n,i)}runOutsideAngular(t){return this._outer.run(t)}}const TD={};function Au(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function wu(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&!0===e.callbackScheduled)}function fp(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function hp(e){e._nesting--,Au(e)}class Ou{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new ks;onMicrotaskEmpty=new ks;onStable=new ks;onError=new ks;run(t,n,i){return t.apply(n,i)}runGuarded(t,n,i){return t.apply(n,i)}runOutsideAngular(t){return t()}runTask(t,n,i,s){return t.apply(n,i)}}function pp(e,t){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0]?.data?.[t]}function SD(e="zone.js",t){return"noop"===e?new Ou:"zone.js"===e?new Dr(t):e}let gp=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=(0,r.jDH)({token:e,providedIn:"root",factory:()=>new e})}return e})();const _p=[0,1,2,3];let RD=(()=>{class e{ngZone=(0,r.WQX)(Dr);scheduler=(0,r.WQX)(r.hk6);errorHandler=(0,r.WQX)(r.zcH,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){(0,r.WQX)(ma,{optional:!0})}execute(){const n=this.sequences.size>0;n&&St(16),this.executing=!0;for(const i of _p)for(const s of this.sequences)if(!s.erroredOrDestroyed&&s.hooks[i])try{s.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>(0,s.hooks[i])(s.pipelinedValue),s.snapshot))}catch(o){s.erroredOrDestroyed=!0,this.errorHandler?.handleError(o)}this.executing=!1;for(const i of this.sequences)i.afterRun(),i.once&&(this.sequences.delete(i),i.destroy());for(const i of this.deferredRegistrations)this.sequences.add(i);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),n&&St(17)}register(n){const{view:i}=n;void 0!==i?((i[r.JEi]??=[]).push(n),(0,r.blu)(i),i[r.Wg1]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,i){return i?i.run(Tu.AFTER_NEXT_RENDER,n):n()}static \u0275prov=(0,r.jDH)({token:e,providedIn:"root",factory:()=>new e})}return e})();class mp{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,i,s,o,a=null){this.impl=t,this.hooks=n,this.view=i,this.once=s,this.snapshot=a,this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();const t=this.view?.[r.JEi];t&&(this.view[r.JEi]=t.filter(n=>n!==this))}}function vp(e,t){const n=t?.injector??(0,r.WQX)(r.zZn);return Ai("NgAfterNextRender"),yp(e,n,t,!0)}function yp(e,t,n,i){const s=t.get(gp);s.impl??=t.get(RD);const o=t.get(ma,null,{optional:!0}),a=!0!==n?.manualCleanup?t.get(r.abz):null,u=t.get(r.r4V,null,{optional:!0}),p=new mp(s.impl,function ND(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}(e),u?.view,i,a,o?.snapshot(null));return s.impl.register(p),p}function va(e){return e+1}function qi(e,t){return e[va(t.index)]}function wi(e,t){const n=va(t.index);return e.data[n]}function Su(e,t){return t===vr.Placeholder?e.placeholderBlockConfig?.[Il]??null:t===vr.Loading?e.loadingBlockConfig?.[Il]??null:null}function Ep(e){return e.loadingBlockConfig?.[sp]??null}function Dp(e,t){if(!e||0===e.length)return t;const n=new Set(e);for(const i of t)n.add(i);return e.length===n.size?e:Array.from(n)}function Ru(e,t,n){const i=n.get(Dr);return function ar(e,t,n){let i=Je.get(e);return Vt=Vt||n(),i||(i=new Mn,Vt.observe(e),Je.set(e,i),In++),i.callbacks.add(t),()=>{Je.has(e)&&(i.callbacks.delete(t),0===i.callbacks.size&&(Vt?.unobserve(e),Je.delete(e),In--),0===In&&(Vt?.disconnect(),Vt=null))}}(e,()=>i.run(t),()=>i.runOutsideAngular(()=>function Xn(){return new IntersectionObserver(e=>{for(const t of e)t.isIntersecting&&Je.has(t.target)&&Je.get(t.target).listener()})}()))}function Ao(e,t,n,i,s,o,a){const u=e[r.YEL],p=u.get(Dr);let R;R=function PD(e,t){const n=t?.injector??(0,r.WQX)(r.zZn);return Ai("NgAfterRender"),yp(e,n,t,!1)}({read:function U(){if((0,r.EPY)(e))return void R.destroy();const se=qi(e,t),we=se[no];if(we!==bo.Initial&&we!==vr.Placeholder)return void R.destroy();const Pe=function BD(e,t,n){return null==n?e:n>=0?(0,r.jRZ)(n,e):e[t.index][r.Y20]??null}(e,t,i);if(!Pe||(R.destroy(),(0,r.EPY)(Pe)))return;const ot=function UD(e,t){return(0,r.vaC)(r.Yw1+t,e)}(Pe,n),Rt=s(ot,()=>{p.run(()=>{e!==Pe&&(0,r.DyX)(Pe,Rt),o()})},u);e!==Pe&&(0,r.ik5)(Pe,Rt),_a(a,se,Rt)}},{injector:u})}function Sl(e,t){const n=t.get(WD);return n.add(e),()=>n.remove(e)}let WD=(()=>{class e{executingCallbacks=!1;idleId=null;current=new Set;deferred=new Set;ngZone=(0,r.WQX)(Dr);requestIdleCallbackFn=(()=>typeof requestIdleCallback<"u"?requestIdleCallback:setTimeout)().bind(globalThis);cancelIdleCallbackFn=(()=>typeof requestIdleCallback<"u"?cancelIdleCallback:clearTimeout)().bind(globalThis);add(n){(this.executingCallbacks?this.deferred:this.current).add(n),null===this.idleId&&this.scheduleIdleCallback()}remove(n){const{current:i,deferred:s}=this;i.delete(n),s.delete(n),0===i.size&&0===s.size&&this.cancelIdleCallback()}scheduleIdleCallback(){const n=()=>{this.cancelIdleCallback(),this.executingCallbacks=!0;for(const i of this.current)i();if(this.current.clear(),this.executingCallbacks=!1,this.deferred.size>0){for(const i of this.deferred)this.current.add(i);this.deferred.clear(),this.scheduleIdleCallback()}};this.idleId=this.requestIdleCallbackFn(()=>this.ngZone.run(n))}cancelIdleCallback(){null!==this.idleId&&(this.cancelIdleCallbackFn(this.idleId),this.idleId=null)}ngOnDestroy(){this.cancelIdleCallback(),this.current.clear(),this.deferred.clear()}static \u0275prov=(0,r.jDH)({token:e,providedIn:"root",factory:()=>new e})}return e})();function Rl(e){return(t,n)=>Cp(e,t,n)}function Cp(e,t,n){const i=n.get(zD),s=n.get(Dr);return i.add(e,t,s),()=>i.remove(t)}let zD=(()=>{class e{executingCallbacks=!1;timeoutId=null;invokeTimerAt=null;current=[];deferred=[];add(n,i,s){this.addToQueue(this.executingCallbacks?this.deferred:this.current,Date.now()+n,i),this.scheduleTimer(s)}remove(n){const{current:i,deferred:s}=this;-1===this.removeFromQueue(i,n)&&this.removeFromQueue(s,n),0===i.length&&0===s.length&&this.clearTimeout()}addToQueue(n,i,s){let o=n.length;for(let a=0;ai){o=a;break}(0,r.llW)(n,o,i,s)}removeFromQueue(n,i){let s=-1;for(let o=0;o-1&&(0,r.gsJ)(n,s,2),s}scheduleTimer(n){const i=()=>{this.clearTimeout(),this.executingCallbacks=!0;const o=[...this.current],a=Date.now();for(let p=0;p=0&&(0,r.gsJ)(this.current,0,u+1),this.executingCallbacks=!1,this.deferred.length>0){for(let p=0;p0){const o=Date.now(),a=this.current[0];if(null===this.timeoutId||this.invokeTimerAt&&this.invokeTimerAt-a>16){this.clearTimeout();const u=Math.max(a-o,16);this.invokeTimerAt=a,this.timeoutId=n.runOutsideAngular(()=>setTimeout(()=>n.run(i),u))}}}clearTimeout(){null!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}ngOnDestroy(){this.clearTimeout(),this.current.length=0,this.deferred.length=0}static \u0275prov=(0,r.jDH)({token:e,providedIn:"root",factory:()=>new e})}return e})(),KD=(()=>{class e{cachedInjectors=new Map;getOrCreateInjector(n,i,s,o){if(!this.cachedInjectors.has(n)){const a=s.length>0?yu(s,i,o):null;this.cachedInjectors.set(n,a)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=(0,r.jDH)({token:e,providedIn:"environment",factory:()=>new e})}return e})();const HD=new r.nKC("");function Pu(e,t,n){return e.get(KD).getOrCreateInjector(t,e,n,"")}function Vs(e,t,n,i=!1){const s=n[r.f7T],o=s[r.eDl];if((0,r.EPY)(s))return;const a=qi(s,t),p=a[DD];if(!(null!==p&&e0&&(U=function $D(e,t,n){if(e instanceof Do){const s=e.injector,a=Pu(e.parentInjector,t,n);return new Do(s,a)}const i=e.get(r.uvJ);if(i!==e){const s=Pu(i,t,n);return new Do(e,s)}return Pu(e,t,n)}(s[r.YEL],ot,Rt))}const{dehydratedView:se,dehydratedViewIx:we}=function GD(e,t){const n=e[r.qFA]?.findIndex(s=>s.data[S]===t[no])??-1;return{dehydratedView:n>-1?e[r.qFA][n]:null,dehydratedViewIx:n}}(n,t),Pe=mo(s,p,null,{injector:U,dehydratedView:se});if(yo(n,Pe,R,Xs(p,se)),vo(Pe,2),we>-1&&n[r.qFA]?.splice(we,1),(e===vr.Complete||e===vr.Error)&&Array.isArray(t[Io])){for(const ot of t[Io])ot();t[Io]=null}}St(21)}function QD(e,t,n,i,s){const o=Date.now(),u=wi(s[r.eDl],i);if(null===t[2]||t[2]<=o){t[2]=null;const p=Ep(u),R=null!==t[3];if(e!==vr.Loading||null===p||R){e>vr.Loading&&R&&(t[3](),t[3]=null,t[To]=null),bp(e,t,n,i,s);const U=Su(u,e);null!==U&&(t[2]=o+U,Tp(U,t,i,n,s))}else{t[To]=e;const U=Tp(p,t,i,n,s);t[3]=U}}else t[To]=e}function Tp(e,t,n,i,s){return Cp(e,()=>{const a=t[To];t[2]=null,t[To]=null,null!==a&&Vs(a,n,i)},s[r.YEL])}function Ip(e,t){return e{e.loadingState===Zr.COMPLETE?Vs(vr.Complete,t,n):e.loadingState===Zr.FAILED&&Vs(vr.Error,t,n)})}let Nu=null;function YD(e,t,n,i){return L(()=>{const s=e;null!==t&&(s.hasOwnProperty("decorators")&&void 0!==s.decorators?s.decorators.push(...t):s.decorators=t),null!==n&&(s.ctorParameters=n),null!==i&&(s.propDecorators=s.hasOwnProperty("propDecorators")&&void 0!==s.propDecorators?{...s.propDecorators,...i}:i)})}let wp=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(i){return new(i||e)};static \u0275prov=(0,r.jDH)({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const zp=new r.nKC(""),Kp=new r.nKC("");let ku,FM=(()=>{class e{_ngZone;registry;_isZoneStable=!0;_callbacks=[];_taskTrackingZone=null;_destroyRef;constructor(n,i,s){this._ngZone=n,this.registry=i,(0,r.M6u)()&&(this._destroyRef=(0,r.WQX)(r.abz,{optional:!0})??void 0),ku||(function BM(e){ku=e}(s),s.addToWindow(i)),this._watchAngularEvents(),n.run(()=>{this._taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){const n=this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),i=this._ngZone.runOutsideAngular(()=>this._ngZone.onStable.subscribe({next:()=>{Dr.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}}));this._destroyRef?.onDestroy(()=>{n.unsubscribe(),i.unsubscribe()})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(n)||(clearTimeout(i.timeoutId),!1))}}getPendingTasks(){return this._taskTrackingZone?this._taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,i,s){let o=-1;i&&i>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==o),n()},i)),this._callbacks.push({doneCb:n,timeoutId:o,updateCb:s})}whenStable(n,i,s){if(s&&!this._taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,i,s),this._runCallbacksIfReady()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,i,s){return[]}static \u0275fac=function(i){return new(i||e)((0,r.KVO)(Dr),(0,r.KVO)(Hp),(0,r.KVO)(Kp))};static \u0275prov=(0,r.jDH)({token:e,factory:e.\u0275fac})}return e})(),Hp=(()=>{class e{_applications=new Map;registerApplication(n,i){this._applications.set(n,i)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,i=!0){return ku?.findTestabilityInTree(this,n,i)??null}static \u0275fac=function(i){return new(i||e)};static \u0275prov=(0,r.jDH)({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function $p(e){return!!e&&"function"==typeof e.then}function Gp(e){return!!e&&"function"==typeof e.subscribe}const Qp=new r.nKC("");function UM(e){return(0,r.EmA)([{provide:Qp,multi:!0,useValue:e}])}let Xp=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,i)=>{this.resolve=n,this.reject=i});appInits=(0,r.WQX)(Qp,{optional:!0})??[];injector=(0,r.WQX)(r.zZn);constructor(){}runInitializers(){if(this.initialized)return;const n=[];for(const s of this.appInits){const o=(0,r.N4e)(this.injector,s);if($p(o))n.push(o);else if(Gp(o)){const a=new Promise((u,p)=>{o.subscribe({complete:u,error:p})});n.push(a)}}const i=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{i()}).catch(s=>{this.reject(s)}),0===n.length&&i(),this.initialized=!0}static \u0275fac=function(i){return new(i||e)};static \u0275prov=(0,r.jDH)({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Yp=new r.nKC("");function VM(){}function jM(){(0,g.KO)(()=>{throw new r.buA(600,"")})}function Zp(e,t){return Array.isArray(t)?t.reduce(Zp,e):{...e,...t}}let Ll=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=(0,r.WQX)(r.ZTf);afterRenderManager=(0,r.WQX)(gp);zonelessEnabled=(0,r.WQX)(r.Evm);rootEffectScheduler=(0,r.WQX)(r.VML);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new Y.B;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=(0,r.WQX)(r.rev);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe((0,V.T)(n=>!n))}constructor(){(0,r.WQX)(ma,{optional:!0})}whenStable(){let n;return new Promise(i=>{n=this.isStable.subscribe({next:s=>{s&&i()}})}).finally(()=>{n.unsubscribe()})}_injector=(0,r.WQX)(r.uvJ);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,i){return this.bootstrapImpl(n,i)}bootstrapImpl(n,i,s=r.zZn.NULL){return this._injector.get(Dr).run(()=>{St(10);const a=n instanceof ah;if(!this._injector.get(Xp).done)throw new r.buA(405,"");let p;p=a?n:this._injector.get(vl).resolveComponentFactory(n),this.componentTypes.push(p.componentType);const R=function WM(e){return e.isBoundToModule}(p)?void 0:this._injector.get(eo),se=p.create(s,[],i||p.selector,R),we=se.location.nativeElement,Pe=se.injector.get(zp,null);return Pe?.registerApplication(we),se.onDestroy(()=>{this.detachView(se.hostView),xl(this.components,se),Pe?.unregisterApplication(we)}),this._loadComponent(se),St(11,se),se})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){St(12),null!==this.tracingSnapshot?this.tracingSnapshot.run(Tu.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new r.buA(101,!1);const n=(0,g.Ht)(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,(0,g.Ht)(n),this.afterTick.next(),St(13)}};synchronize(){null===this._rendererFactory&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(tu,null,{optional:!0}));let n=0;for(;0!==this.dirtyFlags&&n++<10;)St(14),this.synchronizeOnce(),St(15)}synchronizeOnce(){16&this.dirtyFlags&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let n=!1;if(7&this.dirtyFlags){const i=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:s}of this.allViews)(i||(0,r.dMS)(s))&&(ll(s,i&&!this.zonelessEnabled?0:1),n=!0);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),23&this.dirtyFlags)return}n||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:n})=>(0,r.dMS)(n))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(n){const i=n;this._views.push(i),i.attachToAppRef(this)}detachView(n){const i=n;xl(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView);try{this.tick()}catch(s){this.internalErrorHandler(s)}this.components.push(n),this._injector.get(Yp,[]).forEach(s=>s(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>xl(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new r.buA(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(i){return new(i||e)};static \u0275prov=(0,r.jDH)({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function xl(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function Jp(e){const t=(0,r.OAn)(),n=(0,r.Mx4)();if(wo(t,n),!tg(0,t))return;const i=t[r.YEL];_a(0,qi(t,n),e(()=>io(0,t,n),i))}function qp(e,t){const n=(0,r.OAn)(),i=n[r.YEL],s=(0,r.Mx4)(),a=wi(n[r.eDl],s);a.loadingState===Zr.NOT_STARTED&&_a(1,qi(n,s),e(()=>Ea(a,n,s),i))}function eg(e,t,n){const i=t[r.YEL],s=qi(t,n),o=s[ro];_a(2,s,e(()=>js(i,o),i))}function Ea(e,t,n){Fu(e,t,n)}function Fu(e,t,n){const i=t[r.YEL],s=t[r.eDl];if(e.loadingState!==Zr.NOT_STARTED)return e.loadingPromise??Promise.resolve();const o=qi(t,n),a=function FD(e,t){return(0,r.XRZ)(e,t.primaryTmplIndex+r.Yw1)}(s,e);e.loadingState=Zr.IN_PROGRESS,wl(1,o);let u=e.dependencyResolverFn;const p=i.get(r.u5s).add();return u?(e.loadingPromise=Promise.allSettled(u()).then(R=>{let U=!1;const se=[],we=[];for(const Pe of R){if("fulfilled"!==Pe.status){U=!0;break}{const ot=Pe.value,Rt=(0,r.xUg)(ot)||(0,r.HaV)(ot);if(Rt)se.push(Rt);else{const Zt=(0,r.oyA)(ot);Zt&&we.push(Zt)}}}if(U){if(e.loadingState=Zr.FAILED,null===e.errorTmplIndex){const ot=new r.buA(-750,!1);Wc(t,ot)}}else{e.loadingState=Zr.COMPLETE;const Pe=a.tView;if(se.length>0){Pe.directiveRegistry=Dp(Pe.directiveRegistry,se);const ot=se.map(Zt=>Zt.type),Rt=(0,r.jXY)(!1,...ot);e.providers=Rt}we.length>0&&(Pe.pipeRegistry=Dp(Pe.pipeRegistry,we))}}),e.loadingPromise.finally(()=>{e.loadingPromise=null,p()})):(e.loadingPromise=Promise.resolve().then(()=>{e.loadingPromise=null,e.loadingState=Zr.COMPLETE,p()}),e.loadingPromise)}function tg(e,t){return t[r.YEL].get(HD,null,{optional:!0})?.behavior!==op.Manual}function io(e,t,n){const i=t[r.eDl],s=t[n.index];if(!tg(0,t))return;const o=qi(t,n),a=wi(i,n);switch(ap(o),a.loadingState){case Zr.NOT_STARTED:Vs(vr.Loading,n,s),Fu(a,t,n),a.loadingState===Zr.IN_PROGRESS&&Ap(a,n,s);break;case Zr.IN_PROGRESS:Vs(vr.Loading,n,s),Ap(a,n,s);break;case Zr.COMPLETE:Vs(vr.Complete,n,s);break;case Zr.FAILED:Vs(vr.Error,n,s)}}function js(e,t,n){return Bu.apply(this,arguments)}function Bu(){return(Bu=(0,c.A)(function*(e,t,n){const i=e.get(Kt);if(i.hydrating.has(t))return;const{parentBlockPromise:o,hydrationQueue:a}=function Et(e,t){const n=t.get(Kt),s=t.get(bi).get(_r,{});let o=!1,a=e,u=null;const p=[];for(;!o&&a;){o=n.has(a);const R=n.hydrating.get(a);if(null===u&&null!=R){u=R.promise;break}p.unshift(a),a=s[a].p}return{parentBlockPromise:u,hydrationQueue:p}}(t,e);if(0===a.length)return;null!==o&&a.shift(),function $M(e,t){for(let n of t)e.hydrating.set(n,Promise.withResolvers())}(i,a),null!==o&&(yield o);const u=a[0];i.has(u)?yield ng(e,a,n):i.awaitParentBlock(u,(0,c.A)(function*(){return yield ng(e,a,n)}))})).apply(this,arguments)}function ng(e,t,n){return Uu.apply(this,arguments)}function Uu(){return(Uu=(0,c.A)(function*(e,t,n){const i=e.get(Kt),s=i.hydrating,o=e.get(r.rev),a=o.add();for(let p=0;p-1?n.get(t[i]):null;s&&_l(s.lContainer)}function rg(e,t){const n=t.hydrating;for(const i in e)n.get(i)?.reject();t.cleanup(e)}function GM(e){return new Promise(t=>vp(t,{injector:e}))}function QM(e){return Vu.apply(this,arguments)}function Vu(){return(Vu=(0,c.A)(function*(e){const{tNode:t,lView:n}=e,i=qi(n,t);return new Promise(s=>{(function XM(e,t){Array.isArray(e[Io])||(e[Io]=[]),e[Io].push(t)})(i,s),io(0,n,t)})})).apply(this,arguments)}function Kr(e,t,n){return 0===e?ig(t,n):2!==e||!ig(t,n)}function ig(e,t){const n=e[r.YEL],i=wi(e[r.eDl],t),s=ki(n),o=function YM(e){return null!=e&&!(1&~e)}(i.flags),u=null!==qi(e,t)[ro];return!(o&&u&&s)}function Ws(e,t){const n=wi(e,t);return n.hydrateTriggers??=new Map}function og(e,t,n,i,s,o,a,u,p,R){const U=(0,r.OAn)(),se=(0,r.klJ)(),we=e+r.Yw1,Pe=to(U,se,e,null,0,0),ot=U[r.YEL];if(se.firstCreatePass){Ai("NgDefer");const Mr={primaryTmplIndex:t,loadingTmplIndex:i??null,placeholderTmplIndex:s??null,errorTmplIndex:o??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:n??null,loadingState:Zr.NOT_STARTED,loadingPromise:null,providers:null,hydrateTriggers:null,debug:null,flags:R??0};p?.(se,Mr,u,a),function xD(e,t,n){const i=va(t);e.data[i]=n}(se,we,Mr)}const Rt=U[we];Ih(Rt,Pe,U);let Zt=null,Qt=null;if(Rt[r.qFA]?.length>0){const Mr=Rt[r.qFA][0].data;Qt=Mr[cs]??null,Zt=Mr[S]}const Ft=[null,bo.Initial,null,null,null,null,Qt,Zt,null,null];!function LD(e,t,n){e[va(t)]=n}(U,we,Ft);let rr=null;null!==Qt&&(rr=ot.get(Kt),rr.add(Qt,{lView:U,tNode:Pe,lContainer:Rt}));const Fi=()=>{ap(Ft),null!==Qt&&rr?.cleanup([Qt])};_a(0,Ft,()=>(0,r.DyX)(U,Fi)),(0,r.ik5)(U,Fi)}function ag(){Kr(0,(0,r.OAn)(),(0,r.Mx4)())&&Jp(Sl)}const ju="aria";function Wu(e,t){const n=(0,r.OAn)();if(wr(n,(0,r.xbp)(),t)){const s=(0,r.klJ)(),o=(0,r.CpD)();if(ol(o,s,n,e,t))(0,r.Qs1)(o)&&Df(n,o.index);else{const u=(0,r.d31)(o,n),p=function C0(e){return"-"!==e.charAt(ju.length)?ju+"-"+e.slice(ju.length).toLowerCase():e}(e);rl(n[r.GpT],u,null,o.value,p,t,null)}}return Wu}function zu(e,t,n,i){const s=(0,r.OAn)();return wr(s,(0,r.xbp)(),t)&&((0,r.klJ)(),function Rv(e,t,n,i,s,o){const a=(0,r.d31)(e,t);rl(t[r.GpT],a,o,e.value,n,i,s)}((0,r.CpD)(),s,e,t,n,i)),zu}const lg=new r.nKC("",{providedIn:"root",factory:()=>!1}),b0=new r.nKC("",{providedIn:"root",factory:()=>T0}),T0=4e3;class I0{outElements=new WeakMap;remove(t){this.outElements.delete(t)}trackClasses(t,n){const i=Ku(n);if(i)for(let s of i)t.classes?.add(s)}trackResolver(t,n){t.classFns?t.classFns.push(n):t.classFns=[n]}addCallback(t,n,i){const s=this.outElements.get(t)??{classes:null,animateFn:()=>{},isEventBinding:!0};s.animateFn=i(t,n),this.outElements.set(t,s)}add(t,n,i){const s=this.outElements.get(t)??{classes:new Set,animateFn:()=>{},isEventBinding:!1};"function"==typeof n?this.trackResolver(s,n):this.trackClasses(s,n),s.animateFn=i(t,s.classes,s.classFns),this.outElements.set(t,s)}has(t){return this.outElements.has(t)}animate(t,n,i){if(!this.outElements.has(t))return n();const s=this.outElements.get(t);let o,a=!1;const u=()=>{a||(a=!0,clearTimeout(o),this.remove(t),n())};s.isEventBinding&&(o=setTimeout(u,i)),s.animateFn(u)}}function Ku(e){const t="function"==typeof e?e():e;let n=Array.isArray(t)?t:null;return"string"==typeof t&&(n=t.trim().split(/\s+/).filter(i=>i)),n}function kl(e){const t=e.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(e)*t}function So(e,t){return e.getPropertyValue(t).split(",").map(i=>i.trim())}function cg(e,t){return void 0!==e&&e.duration>t.duration}function ug(e){return(null!=e.animationName||null!=e.propertyName)&&e.duration>0}function dg(e,t,n){if(!n)return;const i=e.getAnimations();return 0===i.length?function O0(e,t){const n=getComputedStyle(e),i=function w0(e){const t=So(e,"animation-name"),n=So(e,"animation-delay"),i=So(e,"animation-duration"),s={animationName:"",propertyName:void 0,duration:0};for(let o=0;os.duration&&(s.animationName=t[o],s.duration=a)}return s}(n),s=function A0(e){const t=So(e,"transition-property"),n=So(e,"transition-duration"),i=So(e,"transition-delay"),s={propertyName:"",duration:0,animationName:void 0};for(let o=0;os.duration&&(s.propertyName=t[o],s.duration=a)}return s}(n),o=i.duration>s.duration?i:s;cg(t.get(e),o)||ug(o)&&t.set(e,o)}(e,t):function S0(e,t,n){let i={animationName:void 0,propertyName:void 0,duration:0};for(const s of n){const o=s.effect?.getTiming(),a="number"==typeof o?.duration?o.duration:0;let p,R,u=(o?.delay??0)+a;s.animationName?R=s.animationName:p=s.transitionProperty,u>=i.duration&&(i={animationName:R,propertyName:p,duration:u})}cg(t.get(e),i)||ug(i)&&t.set(e,i)}(e,t,i)}const so=typeof document<"u"&&"function"==typeof document?.documentElement?.getAnimations;function Fl(e){return e[r.YEL].get(lg,!1)}function fg(e,t,n,i){8&t[r.Wg1]&&(0,r.B22)(n,t,i,s=>{e.elements.remove(s)})}function Hu(e){const t=Ro.get(e);if(t){for(const n of t.cleanupFns)n();Ro.delete(e)}zs.delete(e)}const P0=()=>{},Ro=new WeakMap,zs=new WeakMap,Po=new WeakMap;function $u(e,t){const n=Po.get(e);if(n&&n.length>0){const i=n.findIndex(s=>s===t);i>-1&&n.splice(i,1)}0===n?.length&&Po.delete(e)}function hg(e,t){const n=Po.get(e)?.shift(),i=t[r.rQE];if(i){const o=el(e.index,i)?.previousSibling;n&&o&&n===o&&n.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}}))}}function pg(e,t){Po.has(e)?Po.get(e)?.push(t):Po.set(e,[t])}function gg(e,t){const n=zs.get(t);return t===e.target&&void 0!==n&&(void 0!==n.animationName&&e.animationName===n.animationName||void 0!==n.propertyName&&e.propertyName===n.propertyName)}class V0{destroy(t){}updateValue(t,n){}swap(t,n){const i=Math.min(t,n),s=Math.max(t,n),o=this.detach(s);if(s-i>1){const a=this.detach(i);this.attach(i,o),this.attach(s,a)}else this.attach(i,o)}move(t,n){this.attach(n,this.detach(t))}}function Qu(e,t,n,i,s){return e===n&&Object.is(t,i)?1:Object.is(s(e,t),s(n,i))?-1:0}function Xu(e,t,n,i){return!(void 0===t||!t.has(i)||(e.attach(n,t.get(i)),t.delete(i),0))}function _g(e,t,n,i,s){if(Xu(e,t,i,n(i,s)))e.updateValue(i,s);else{const o=e.create(i,s);e.attach(i,o)}}function mg(e,t,n,i){const s=new Set;for(let o=t;o<=n;o++)s.add(i(o,e.at(o)));return s}class vg{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;const n=this.kvMap.get(t);return void 0!==this._vMap&&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 i=this.kvMap.get(t);void 0===this._vMap&&(this._vMap=new Map);const s=this._vMap;for(;s.has(i);)i=s.get(i);s.set(i,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,i]of this.kvMap)if(t(i,n),void 0!==this._vMap){const s=this._vMap;for(;s.has(i);)i=s.get(i),t(i,n)}}}function yg(e,t,n,i,s,o,a,u){Ai("NgControlFlow");const p=(0,r.OAn)(),R=(0,r.klJ)();return to(p,R,e,t,n,i,s,(0,r.db4)(R.consts,o),256,a,u),jl}function jl(e,t,n,i,s,o,a,u){Ai("NgControlFlow");const p=(0,r.OAn)(),R=(0,r.klJ)();return to(p,R,e,t,n,i,s,(0,r.db4)(R.consts,o),512,a,u),jl}function Eg(e,t){Ai("NgControlFlow");const n=(0,r.OAn)(),i=(0,r.xbp)(),s=n[i]!==cr?n[i]:-1,o=-1!==s?Wl(n,r.Yw1+s):void 0;if(wr(n,i,e)){const u=(0,g.Ht)(null);try{if(void 0!==o&&Kc(o,0),-1!==e){const p=r.Yw1+e,R=Wl(n,p),U=Yu(n[r.eDl],p),se=ih(R,U,n);yo(R,mo(n,U,t,{dehydratedView:se}),0,Xs(U,se))}}finally{(0,g.Ht)(u)}}else if(void 0!==o){const u=Lf(o,0);void 0!==u&&(u[r.SKP]=t)}}class W0{lContainer;$implicit;$index;constructor(t,n,i){this.lContainer=t,this.$implicit=n,this.$index=i}get $count(){return this.lContainer.length-r.Y20}}function Dg(e){return e}function Mg(e,t){return t}class z0{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,i){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=i}}function Cg(e,t,n,i,s,o,a,u,p,R,U,se,we){Ai("NgControlFlow");const Pe=(0,r.OAn)(),ot=(0,r.klJ)(),Rt=void 0!==p,Zt=(0,r.OAn)(),Qt=u?a.bind(Zt[r.b5C][r.SKP]):a,Ft=new z0(Rt,Qt);Zt[r.Yw1+e]=Ft,to(Pe,ot,e+1,t,n,i,s,(0,r.db4)(ot.consts,o),256),Rt&&to(Pe,ot,e+2,p,R,U,se,(0,r.db4)(ot.consts,we),512)}class K0 extends V0{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,i){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=i}get length(){return this.lContainer.length-r.Y20}at(t){return this.getLView(t)[r.SKP].$implicit}attach(t,n){const i=n[r.tcA];this.needsIndexUpdate||=t!==this.length,yo(this.lContainer,n,t,Xs(this.templateTNode,i))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,function H0(e,t){return ta(e,t)}(this.lContainer,t)}create(t,n){const i=ca(this.lContainer,this.templateTNode.tView.ssrId),s=mo(this.hostLView,this.templateTNode,new W0(this.lContainer,n,t),{dehydratedView:i});return this.operationsCounter?.recordCreate(),s}destroy(t){qo(t[r.eDl],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[r.SKP].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t{e.destroy(p)})}(p,e,o.trackByFn),p.updateIndexes(),o.hasEmptyBlock){const R=(0,r.xbp)(),U=0===p.length;if(wr(i,R,U)){const se=n+2,we=Wl(i,se);if(U){const Pe=Yu(s,se),ot=ih(we,Pe,i);yo(we,mo(i,Pe,void 0,{dehydratedView:ot}),0,Xs(Pe,ot))}else s.firstUpdatePass&&gl(we),Kc(we,0)}}}finally{(0,g.Ht)(t)}}function Wl(e,t){return e[t]}function Yu(e,t){return(0,r.XRZ)(e,t)}function Zu(e,t,n){const i=(0,r.OAn)();return wr(i,(0,r.xbp)(),t)&&((0,r.klJ)(),Uc((0,r.CpD)(),i,e,t,i[r.GpT],n)),Zu}function Ju(e,t,n,i,s){ol(t,e,n,s?"class":"style",i)}function zl(e,t,n,i){const s=(0,r.OAn)(),o=s[r.eDl],a=e+r.Yw1,u=o.firstCreatePass?iu(a,s,2,t,jc,(0,r.ckz)(),n,i):o.data[a];if(il(u,s,e,t,td),(0,r.yoD)(u)){const p=s[r.eDl];nl(p,s,u),jo(p,u,s)}return null!=i&&_o(s,u),zl}function Kl(){const e=(0,r.klJ)(),n=sl((0,r.Mx4)());return e.firstCreatePass&&su(e,n),(0,r.UhH)(n)&&(0,r.krE)(),(0,r.N79)(),null!=n.classesWithoutHost&&function vt(e){return!!(8&e.flags)}(n)&&Ju(e,n,(0,r.OAn)(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function Bt(e){return!!(16&e.flags)}(n)&&Ju(e,n,(0,r.OAn)(),n.stylesWithoutHost,!1),Kl}function qu(e,t,n,i){return zl(e,t,n,i),Kl(),qu}function Hl(e,t,n,i){const s=(0,r.OAn)(),o=s[r.eDl],a=e+r.Yw1,u=o.firstCreatePass?gh(a,o,2,t,n,i):o.data[a];return il(u,s,e,t,td),null!=i&&_o(s,u),Hl}function $l(){const t=sl((0,r.Mx4)());return(0,r.UhH)(t)&&(0,r.krE)(),(0,r.N79)(),$l}function ed(e,t,n,i){return Hl(e,t,n,i),$l(),ed}let td=(e,t,n,i,s)=>((0,r.m7n)(!0),Ya(t[r.GpT],i,(0,r.UaU)()));function G0(e,t,n,i,s){const o=!J(t,n);if((0,r.m7n)(o),o)return Ya(t[r.GpT],i,(0,r.UaU)());const a=t[r.tcA],u=aa(a,e,t,n);return D(a,s)&&si(a,s,u.nextSibling),a&&(tr(n)||Gn(u))&&(0,r.Qs1)(n)&&((0,r.jNO)(n),rf(u)),u}function Q0(){td=G0}function Gl(e,t,n){const i=(0,r.OAn)(),s=i[r.eDl],o=e+r.Yw1,a=s.firstCreatePass?iu(o,i,8,"ng-container",jc,(0,r.ckz)(),t,n):s.data[o];if(il(a,i,e,"ng-container",id),(0,r.yoD)(a)){const u=i[r.eDl];nl(u,i,a),jo(u,a,i)}return null!=n&&_o(i,a),Gl}function Da(){const e=(0,r.klJ)(),n=sl((0,r.Mx4)());return e.firstCreatePass&&su(e,n),Da}function nd(e,t,n){return Gl(e,t,n),Da(),nd}function rd(e,t,n){const i=(0,r.OAn)(),s=i[r.eDl],o=e+r.Yw1,a=s.firstCreatePass?gh(o,s,8,"ng-container",t,n):s.data[o];return il(a,i,e,"ng-container",id),null!=n&&_o(i,a),rd}function Tg(){return sl((0,r.Mx4)()),Da}let id=(e,t,n,i,s)=>((0,r.m7n)(!0),Ac(t[r.GpT],""));function X0(e,t,n,i,s){let o;const a=!J(t,n);if((0,r.m7n)(a),a)return Ac(t[r.GpT],"");const u=t[r.tcA],p=aa(u,e,t,n),R=function Os(e,t){const n=e.data;let i=n[Qr]?.[t]??null;return null===i&&n[is]?.[t]&&(i=m(e,t)),i}(u,s);return si(u,s,p),o=pl(R,p),o}function Y0(){id=X0}function Ag(){return(0,r.OAn)()}function sd(e,t,n){const i=(0,r.OAn)();return wr(i,(0,r.xbp)(),t)&&((0,r.klJ)(),Vc((0,r.CpD)(),i,e,t,i[r.GpT],n)),sd}const oo=void 0;var J0=["en",[["a","p"],["AM","PM"],oo],[["AM","PM"],oo,oo],[["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"]],oo,[["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"]],oo,[["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}",oo,"{1} 'at' {0}",oo],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function Z0(e){const t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}];let No={};function q0(e,t,n){"string"!=typeof t&&(n=t,t=e[Lo.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),No[t]=e,n&&(No[t][Lo.ExtraData]=n)}function od(e){const t=function eC(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Sg(t);if(n)return n;const i=t.split("-")[0];if(n=Sg(i),n)return n;if("en"===i)return J0;throw new r.buA(701,!1)}function Og(e){return od(e)[Lo.PluralCase]}function Sg(e){return e in No||(No[e]=r.laP.ng&&r.laP.ng.common&&r.laP.ng.common.locales&&r.laP.ng.common.locales[e]),No[e]}var Lo=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}(Lo||{});const tC=["zero","one","two","few","many"],ad="en-US",Ql={marker:"element"},Xl={marker:"ICU"};var ts=function(e){return e[e.SHIFT=2]="SHIFT",e[e.APPEND_EAGERLY=1]="APPEND_EAGERLY",e[e.COMMENT=2]="COMMENT",e}(ts||{});let Rg=ad;function iC(e){"string"==typeof e&&(Rg=e.toLowerCase().replace(/_/g,"-"))}let Ma=0,Ca=0;let ba=(e,t,n,i)=>((0,r.m7n)(!0),function Pg(e,t,n){const i=e[r.GpT];switch(n){case Node.COMMENT_NODE:return Ac(i,t);case Node.TEXT_NODE:return Ic(i,t);case Node.ELEMENT_NODE:return Ya(i,t,null)}}(e,n,i));function Ng(e,t,n,i){const s=n[r.GpT];let a,o=null;for(let u=0;u>>1,n),null,null,Pe,ot,null)}else switch(p){case Xl:const R=t[++u],U=t[++u];null===n[U]&&Te(n[U]=ba(n,0,R,Node.COMMENT_NODE),n);break;case Ql:const se=t[++u],we=t[++u];null===n[we]&&Te(n[we]=ba(n,0,se,Node.ELEMENT_NODE),n)}}}function Lg(e,t,n,i,s){for(let o=0;o>>2;switch(3&U){case 1:const we=n[++R],Pe=n[++R],ot=e.data[se];"string"==typeof ot?rl(t[r.GpT],t[se],null,ot,we,p,Pe):Uc(ot,t,we,p,t[r.GpT],Pe);break;case 0:const Rt=t[se];null!==Rt&&ef(t[r.GpT],Rt,p);break;case 2:uC(e,oa(e,se),t,p);break;case 3:xg(e,oa(e,se),i,t)}}}}else{const p=n[o+1];if(p>0&&!(3&~p)){const U=oa(e,p>>>2);t[U.currentCaseLViewIndex]<0&&xg(e,U,i,t)}}o+=u}}function xg(e,t,n,i){let s=i[t.currentCaseLViewIndex];if(null!==s){let o=Ma;s<0&&(s=i[t.currentCaseLViewIndex]=~s,o=-1),Lg(e,i,t.update[s],n,o)}}function uC(e,t,n,i){const s=function dC(e,t){let n=e.cases.indexOf(t);if(-1===n)switch(e.type){case 1:{const i=function nC(e,t){const n=Og(t)(parseInt(e,10)),i=tC[n];return void 0!==i?i:"other"}(t,function sC(){return Rg}());n=e.cases.indexOf(i),-1===n&&"other"!==i&&(n=e.cases.indexOf("other"));break}case 0:n=e.cases.indexOf("other")}return-1===n?null:n}(t,i);if(fl(t,n)!==s&&(kg(e,t,n),n[t.currentCaseLViewIndex]=null===s?null:~s,null!==s)){const a=n[t.anchorIdx];a&&Ng(e,t.create[s],n,a)}}function kg(e,t,n){let i=fl(t,n);if(null!==i){const s=t.remove[i];for(let o=0;o0){const u=(0,r.vaC)(a,n);null!==u&&Yo(n[r.GpT],u)}else kg(e,oa(e,~a),n)}}}const Yl=/\ufffd(\d+):?\d*\ufffd/gi,fC=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,hC=/\ufffd(\d+)\ufffd/,Bg=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,pC=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,gC=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,_C=/\uE500/g;function Ug(e,t,n,i,s,o,a){const u=Zo(e,i,1,null);let p=u<n.length&&n.push(p)}return{type:i,mainBinding:s,cases:t,values:n}}function ld(e){if(!e)return[];let t=0;const n=[],i=[],s=/[{}]/g;let o;for(s.lastIndex=0;o=s.exec(e);){const u=o.index;if("}"==o[0]){if(n.pop(),0==n.length){const p=e.substring(t,u);Bg.test(p)?i.push(CC(p)):i.push(p),t=u+1}}else{if(0==n.length){const p=e.substring(t,u);i.push(p),t=u+1}n.push("{")}}const a=e.substring(t);return i.push(a),i}function bC(e,t,n,i,s,o,a,u,p){const R=[],U=[],se=[];n.cases.push(a),n.create.push(R),n.remove.push(U),n.update.push(se);const Pe=Ko(Fr()).getInertBodyElement(u),ot=fe(Pe)||Pe;return ot?zg(e,t,n,i,s,R,U,se,ot,o,p,0):0}function zg(e,t,n,i,s,o,a,u,p,R,U,se){let we=0,Pe=p.firstChild;for(;Pe;){const ot=Zo(t,i,1,null);switch(Pe.nodeType){case Node.ELEMENT_NODE:const Rt=Pe,Zt=Rt.tagName.toLowerCase();if(ho.hasOwnProperty(Zt)){cd(o,Ql,Zt,R,ot),t.data[ot]=Zt;const Fi=Rt.attributes;for(let kd=0;kd>>ts.SHIFT;let se=e[U],we=!1;null===se&&(se=e[U]=ba(e,0,t[o],(a&ts.COMMENT)===ts.COMMENT?Node.COMMENT_NODE:Node.TEXT_NODE),we=(0,r.SX7)()),R&&null!==n&&we&&Gs(s,n,se,i,!1)}})(s,p.create,U,u&&8&u.type?s[u.index]:null),(0,r.xyx)(!0)}function Gg(){(0,r.xyx)(!1)}function ud(e,t,n){const i=(0,r.OAn)(),s=(0,r.klJ)(),o=(0,r.Mx4)();return fd(s,i,i[r.GpT],o,e,t,n),ud}function dd(e,t,n){const i=(0,r.OAn)(),s=(0,r.klJ)(),o=(0,r.Mx4)();return(3&o.type||n)&&vh(o,s,i,n,i[r.GpT],e,t,ha(o,i,t)),dd}function fd(e,t,n,i,s,o,a){let u=!0,p=null;if((3&i.type||a)&&(p??=ha(i,t,o),vh(i,e,t,a,n,s,o,p)&&(u=!1)),u){const R=i.outputs?.[s],U=i.hostDirectiveOutputs?.[s];if(U&&U.length)for(let se=0;se>17&32767}function hd(e){return 2|e}function xo(e){return(131068&e)>>2}function pd(e,t){return-131069&e|t<<2}function gd(e){return 1|e}function o_(e,t,n,i){const s=e[n+1],o=null===t;let a=i?ao(s):xo(s),u=!1;for(;0!==a&&(!1===u||o);){const R=e[a+1];XC(e[a],t)&&(u=!0,e[a+1]=i?gd(R):hd(R)),a=i?ao(R):xo(R)}u&&(e[n+1]=i?hd(s):gd(s))}function XC(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&(0,r.FRF)(e,t)>=0}const ui={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function a_(e){return e.substring(ui.key,ui.keyEnd)}function YC(e){return e.substring(ui.value,ui.valueEnd)}function l_(e,t){const n=ui.textEnd;return n===t?-1:(t=ui.keyEnd=function qC(e,t,n){for(;t32;)t++;return t}(e,ui.key=t,n),ko(e,t,n))}function c_(e,t){const n=ui.textEnd;let i=ui.key=ko(e,t,n);return n===i?-1:(i=ui.keyEnd=function eb(e,t,n){let i;for(;t=65&&(-33&i)<=90||i>=48&&i<=57);)t++;return t}(e,i,n),i=d_(e,i,n),i=ui.value=ko(e,i,n),i=ui.valueEnd=function tb(e,t,n){let i=-1,s=-1,o=-1,a=t,u=a;for(;a32&&(u=a),o=s,s=i,i=-33&p}return u}(e,i,n),d_(e,i,n))}function u_(e){ui.key=0,ui.keyEnd=0,ui.value=0,ui.valueEnd=0,ui.textEnd=e.length}function ko(e,t,n){for(;t=0;n=c_(t,n))y_(e,a_(t),YC(t))}function p_(e){__(cb,rb,e,!0)}function rb(e,t){for(let n=function ZC(e){return u_(e),l_(e,ko(e,0,ui.textEnd))}(t);n>=0;n=l_(t,n))(0,r.ezK)(e,a_(t),!0)}function g_(e,t,n,i){const s=(0,r.OAn)(),o=(0,r.klJ)(),a=(0,r.b$O)(2);o.firstUpdatePass&&v_(o,e,a,i),t!==cr&&wr(s,a,t)&&E_(o,o.data[(0,r._px)()],s,s[r.GpT],e,s[a+1]=function db(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=(0,r.AsM)(ys(e)))),e}(t,n),i,a)}function __(e,t,n,i){const s=(0,r.klJ)(),o=(0,r.b$O)(2);s.firstUpdatePass&&v_(s,null,o,i);const a=(0,r.OAn)();if(n!==cr&&wr(a,o,n)){const u=s.data[(0,r._px)()];if(M_(u,i)&&!m_(s,o)){let p=i?u.classesWithoutHost:u.stylesWithoutHost;null!==p&&(n=(0,r.n$e)(p,n||"")),Ju(s,u,a,n,i)}else!function ub(e,t,n,i,s,o,a,u){s===cr&&(s=r.Mlv);let p=0,R=0,U=0=e.expandoStartIndex}function v_(e,t,n,i){const s=e.data;if(null===s[n+1]){const o=s[(0,r._px)()],a=m_(e,n);M_(o,i)&&null===t&&!a&&(t=!1),t=function ib(e,t,n,i){const s=(0,r.MT)(e);let o=i?t.residualClasses:t.residualStyles;if(null===s)0===(i?t.classBindings:t.styleBindings)&&(n=Aa(n=vd(null,e,t,n,i),t.attrs,i),o=null);else{const a=t.directiveStylingLast;if(-1===a||e[a]!==s)if(n=vd(s,e,t,n,i),null===o){let p=function sb(e,t,n){const i=n?t.classBindings:t.styleBindings;if(0!==xo(i))return e[ao(i)]}(e,t,i);void 0!==p&&Array.isArray(p)&&(p=vd(null,e,t,p[1],i),p=Aa(p,t.attrs,i),function ob(e,t,n,i){e[ao(n?t.classBindings:t.styleBindings)]=i}(e,t,i,p))}else o=function ab(e,t,n){let i;const s=t.directiveEnd;for(let o=1+t.directiveStylingLast;o0)&&(R=!0)):U=n,s)if(0!==p){const we=ao(e[u+1]);e[i+1]=Zl(we,u),0!==we&&(e[we+1]=pd(e[we+1],i)),e[u+1]=function HC(e,t){return 131071&e|t<<17}(e[u+1],i)}else e[i+1]=Zl(u,0),0!==u&&(e[u+1]=pd(e[u+1],i)),u=i;else e[i+1]=Zl(p,0),0===u?u=i:e[p+1]=pd(e[p+1],i),p=i;R&&(e[i+1]=hd(e[i+1])),o_(e,U,i,!0),o_(e,U,i,!1),function QC(e,t,n,i,s){const o=s?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof t&&(0,r.FRF)(o,t)>=0&&(n[i+1]=gd(n[i+1]))}(t,U,e,i,o),a=Zl(u,p),o?t.classBindings=a:t.styleBindings=a}(s,o,t,n,a,i)}}function vd(e,t,n,i,s){let o=null;const a=n.directiveEnd;let u=n.directiveStylingLast;for(-1===u?u=n.directiveStart:u++;u0;){const p=e[s],R=Array.isArray(p),U=R?p[1]:p,se=null===U;let we=n[s+1];we===cr&&(we=se?r.Mlv:void 0);let Pe=se?(0,r.K7h)(we,i):U===i?we:void 0;if(R&&!Jl(Pe)&&(Pe=(0,r.K7h)(p,i)),Jl(Pe)&&(u=Pe,a))return u;const ot=e[s+1];s=a?ao(ot):xo(ot)}if(null!==t){let p=o?t.residualClasses:t.residualStyles;null!=p&&(u=(0,r.K7h)(p,i))}return u}function Jl(e){return void 0!==e}function M_(e,t){return!!(e.flags&(t?8:16))}function C_(e,t=""){const n=(0,r.OAn)(),i=(0,r.klJ)(),s=e+r.Yw1,o=i.firstCreatePass?Ys(i,s,1,t,null):i.data[s],a=b_(i,n,o,t,e);n[s]=a,(0,r.SX7)()&&Fc(i,n,a,o),(0,r.iMd)(o,!1)}let b_=(e,t,n,i,s)=>((0,r.m7n)(!0),Ic(t[r.GpT],i));function fb(e,t,n,i,s){const o=!J(t,n);return(0,r.m7n)(o),o?Ic(t[r.GpT],i):aa(t[r.tcA],e,t,n)}function hb(){b_=fb}function T_(e,t){let n=!1,i=(0,r.c$7)();for(let o=1;o>20;if((0,r.Y3W)(e)||!e.multi){const Pe=new vn(R,s,Mo,null),ot=Td(p,t,s?U:U+we,se);-1===ot?(Kn(Pn(u,a),o,p),bd(o,e,t.length),t.push(p),u.directiveStart++,u.directiveEnd++,s&&(u.providerIndexes+=1048576),n.push(Pe),a.push(Pe)):(n[ot]=Pe,a[ot]=Pe)}else{const Pe=Td(p,t,U+we,se),ot=Td(p,t,U,U+we),Zt=ot>=0&&n[ot];if(s&&!Zt||!s&&!(Pe>=0&&n[Pe])){Kn(Pn(u,a),o,p);const Qt=function Ab(e,t,n,i,s){const a=new vn(e,n,Mo,null);return a.multi=[],a.index=t,a.componentProviders=0,G_(a,s,i&&!n),a}(s?Ib:Tb,n.length,s,i,R);!s&&Zt&&(n[ot].providerFactory=Qt),bd(o,e,t.length,0),t.push(p),u.directiveStart++,u.directiveEnd++,s&&(u.providerIndexes+=1048576),n.push(Qt),a.push(Qt)}else bd(o,e,Pe>-1?Pe:ot,G_(n[s?ot:Pe],R,!s&&i));!s&&i&&Zt&&n[ot].componentProviders++}}}function bd(e,t,n,i){const s=(0,r.Y3W)(t),o=(0,r.MME)(t);if(s||o){const p=(o?(0,r.nl4)(t.useClass):t).prototype.ngOnDestroy;if(p){const R=e.destroyHooks||(e.destroyHooks=[]);if(!s&&t.multi){const U=R.indexOf(n);-1===U?R.push(n,[i,p]):R[U+1].push(i,p)}else R.push(n,p)}}}function G_(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Td(e,t,n,i){for(let s=n;s{n.providersResolver=(i,s)=>function bb(e,t,n){const i=(0,r.klJ)();if(i.firstCreatePass){const s=(0,r.JlV)(e);Cd(n,i.data,i.blueprint,s,!0),Cd(t,i.data,i.blueprint,s,!1)}}(i,s?s(e):e,t)}}function ec(e){if("function"==typeof e)return e;const t=(0,r.Bqz)(e);return t.some(r.Jzi)?()=>t.map(r.nl4).map(X_):t.map(X_)}function X_(e){return nu(e)?e.ngModule:e}function Y_(e,t,n){const i=(0,r.gxQ)()+e,s=(0,r.OAn)();return s[i]===cr?ws(s,i,n?t.call(n):t()):fa(s,i)}function Z_(e,t,n,i){return tm((0,r.OAn)(),(0,r.gxQ)(),e,t,n,i)}function J_(e,t,n,i,s){return nm((0,r.OAn)(),(0,r.gxQ)(),e,t,n,i,s)}function q_(e,t,n,i,s,o){return rm((0,r.OAn)(),(0,r.gxQ)(),e,t,n,i,s,o)}function em(e,t,n,i,s,o,a){return im((0,r.OAn)(),(0,r.gxQ)(),e,t,n,i,s,o,a)}function wa(e,t){const n=e[t];return n===cr?void 0:n}function tm(e,t,n,i,s,o){const a=t+n;return wr(e,a,s)?ws(e,a+1,o?i.call(o,s):i(s)):wa(e,a+1)}function nm(e,t,n,i,s,o,a){const u=t+n;return qs(e,u,s,o)?ws(e,u+2,a?i.call(a,s,o):i(s,o)):wa(e,u+2)}function rm(e,t,n,i,s,o,a,u){const p=t+n;return Dl(e,p,s,o,a)?ws(e,p+3,u?i.call(u,s,o,a):i(s,o,a)):wa(e,p+3)}function im(e,t,n,i,s,o,a,u,p){const R=t+n;return hs(e,R,s,o,a,u)?ws(e,R+4,p?i.call(p,s,o,a,u):i(s,o,a,u)):wa(e,R+4)}function sm(e,t,n,i,s,o){let a=t+n,u=!1;for(let p=0;p=0;n--){const i=t[n];if(e===i.name)return i}}(t,n.pipeRegistry),n.data[s]=i,i.onDestroy&&(n.destroyHooks??=[]).push(s,i.onDestroy)):i=n.data[s];const o=i.factory||(i.factory=(0,r.wGu)(i.type,!0)),u=(0,r.a2B)(Mo);try{const p=ce(!1),R=o();return ce(p),(0,r.M_e)(n,(0,r.OAn)(),s,R),R}finally{(0,r.a2B)(u)}}function am(e,t,n){const i=e+r.Yw1,s=(0,r.OAn)(),o=(0,r.Hh6)(s,i);return Oa(s,i)?tm(s,(0,r.gxQ)(),t,o.transform,n,o):o.transform(n)}function lm(e,t,n,i){const s=e+r.Yw1,o=(0,r.OAn)(),a=(0,r.Hh6)(o,s);return Oa(o,s)?nm(o,(0,r.gxQ)(),t,a.transform,n,i,a):a.transform(n,i)}function cm(e,t,n,i,s){const o=e+r.Yw1,a=(0,r.OAn)(),u=(0,r.Hh6)(a,o);return Oa(a,o)?rm(a,(0,r.gxQ)(),t,u.transform,n,i,s,u):u.transform(n,i,s)}function Oa(e,t){return e[r.eDl].data[t].pure}function um(e,t){return ul(e,t)}function tc(e,t,n,i,s){const o=s[r.eDl];if(o!==i.tView)for(let a=r.Yw1;a{if(i.encapsulation===Is.ShadowDom){const ot=a.cloneNode(!1);a.replaceWith(ot),a=ot}const se=af(n),we=Za(u,se,o,Oc(n),a,p,null,null,null,null,null);(function Gb(e,t,n,i){for(let s=r.Yw1;sdm(e,t,U))}(e,t,n,i,s)}function dm(e,t,n){try{n()}catch(i){if(null!==t&&i.message){const o=i.message+(i.stack?"\n"+i.stack:"");e?.hot?.send?.("angular:invalidate",{id:t,message:o,error:!0})}throw i}}const Ks={\u0275\u0275animateEnter:function Bl(e){if(Ai("NgAnimateEnter"),!so)return Bl;const t=(0,r.OAn)();if(Fl(t))return Bl;const n=(0,r.Mx4)(),i=(0,r.d31)(n,t),s=t[r.GpT],o=t[r.YEL].get(Dr),a=Ku(e),u=[],p=U=>{const se=U instanceof AnimationEvent?"animationend":"transitionend";o.runOutsideAngular(()=>{u.push(s.listen(i,se,R))})},R=U=>{!function F0(e,t,n){const i=Ro.get(t);if(i&&gg(e,t)){e.stopImmediatePropagation();for(const s of i.classList)n.removeClass(t,s);Hu(t)}}(U,i,s)};if(a&&a.length>0){o.runOutsideAngular(()=>{u.push(s.listen(i,"animationstart",p)),u.push(s.listen(i,"transitionstart",p))}),hg(n,t),function N0(e,t,n){const i=Ro.get(e);if(i){for(const s of t)i.classList.push(s);for(const s of n)i.cleanupFns.push(s)}else Ro.set(e,{classList:t,cleanupFns:n})}(i,a,u);for(const U of a)s.addClass(i,U);o.runOutsideAngular(()=>{requestAnimationFrame(()=>{if(dg(i,zs,so),!zs.has(i)){for(const U of a)s.removeClass(i,U);Hu(i)}})})}return Bl},\u0275\u0275animateEnterListener:function Ul(e){if(Ai("NgAnimateEnter"),!so)return Ul;const t=(0,r.OAn)();if(Fl(t))return Ul;const n=(0,r.Mx4)(),i=(0,r.d31)(n,t);return hg(n,t),e.call(t[r.SKP],{target:i,animationComplete:P0}),Ul},\u0275\u0275animateLeave:function Vl(e){if(Ai("NgAnimateLeave"),!so)return Vl;const t=(0,r.OAn)(),n=Fl(t);if(n)return Vl;const i=(0,r.klJ)(),s=(0,r.Mx4)(),o=(0,r.d31)(s,t),a=t[r.GpT],u=(0,r.kRk)(),p=t[r.YEL].get(Dr);return fg(u,t,i,o),u.elements.add(o,e,(U,se,we)=>Pe=>{!function B0(e,t,n,i,s,o,a){if(o)return zs.delete(e),void i();!function x0(e,t){if(!so)return;const n=Ro.get(e);if(n&&n.classList.length>0&&function k0(e,t){for(const n of t)if(e.classList.contains(n))return!0;return!1}(e,n.classList))for(const i of n.classList)t.removeClass(e,i);Hu(e)}(e,s);const u=p=>{(p instanceof CustomEvent||gg(p,e))&&(p.stopImmediatePropagation(),zs.delete(e),$u(t,e),i())};a.runOutsideAngular(()=>{s.listen(e,"animationend",u),s.listen(e,"transitionend",u)}),pg(t,e);for(const p of n)s.addClass(e,p);a.runOutsideAngular(()=>{requestAnimationFrame(()=>{dg(e,zs,so),zs.has(e)||($u(t,e),i())})})}(U,s,function L0(e,t){const n=new Set(e);if(t&&t.length)for(const i of t){const s=Ku(i);if(s)for(const o of s)n.add(o)}return n}(se,we),Pe,a,n,p)}),Vl},\u0275\u0275animateLeaveListener:function Gu(e){if(Ai("NgAnimateLeave"),!so)return Gu;const t=(0,r.OAn)(),n=(0,r.Mx4)(),i=(0,r.klJ)(),s=(0,r.d31)(n,t),o=(0,r.kRk)(),a=t[r.GpT],u=Fl(t),p=t[r.YEL].get(Dr);return fg(o,t,i,s),o.elements.addCallback(s,e,(U,se)=>we=>{if(u)we();else{const Pe={target:s,animationComplete:()=>{$u(n,U),we()}};pg(n,U),p.runOutsideAngular(()=>{a.listen(U,"animationend",()=>we(),{once:!0})}),se.call(t[r.SKP],Pe)}}),Gu},\u0275\u0275attribute:zu,\u0275\u0275defineComponent:Kh,\u0275\u0275defineDirective:Gh,\u0275\u0275defineInjectable:r.jDH,\u0275\u0275defineInjector:r.G2t,\u0275\u0275defineNgModule:$h,\u0275\u0275definePipe:Qh,\u0275\u0275directiveInject:Mo,\u0275\u0275getInheritedFactory:Un,\u0275\u0275inject:r.KVO,\u0275\u0275injectAttribute:Se,\u0275\u0275invalidFactory:ch,\u0275\u0275invalidFactoryDep:r.dmw,\u0275\u0275templateRefExtractor:um,\u0275\u0275resetView:r.Njj,\u0275\u0275HostDirectivesFeature:function hD(e){const t=n=>{const i=Array.isArray(e);null===n.hostDirectives?(n.resolveHostDirectives=pD,n.hostDirectives=i?e.map(Mu):[e]):i?n.hostDirectives.unshift(...e.map(Mu)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t},\u0275\u0275NgOnChangesFeature:z,\u0275\u0275ProvidersFeature:Q_,\u0275\u0275CopyDefinitionFeature:function fD(e){let n,t=Zh(e.type);n=(0,r.JlV)(e)?t.\u0275cmp:t.\u0275dir;const i=e;for(const s of uD)i[s]=n[s];if((0,r.JlV)(n))for(const s of dD)i[s]=n[s]},\u0275\u0275InheritDefinitionFeature:Eu,\u0275\u0275ExternalStylesFeature:function wb(e){return t=>{e.length<1||(t.getExternalStyles=n=>e.map(s=>s+"?ngcomp"+(n?"="+encodeURIComponent(n):"")+"&e="+t.encapsulation))}},\u0275\u0275AnimationsFeature:function Ob(){return()=>{(0,r.YXz)(new I0)}},\u0275\u0275nextContext:Yg,\u0275\u0275namespaceHTML:r.joV,\u0275\u0275namespaceMathML:r.By9,\u0275\u0275namespaceSVG:r.qSk,\u0275\u0275enableBindings:r.cSN,\u0275\u0275disableBindings:r.fuf,\u0275\u0275elementStart:zl,\u0275\u0275elementEnd:Kl,\u0275\u0275element:qu,\u0275\u0275elementContainerStart:Gl,\u0275\u0275elementContainerEnd:Da,\u0275\u0275domElement:ed,\u0275\u0275domElementStart:Hl,\u0275\u0275domElementEnd:$l,\u0275\u0275domElementContainer:function Ig(e,t,n){return rd(e,t,n),Tg(),Ig},\u0275\u0275domElementContainerStart:rd,\u0275\u0275domElementContainerEnd:Tg,\u0275\u0275domTemplate:bu,\u0275\u0275domListener:dd,\u0275\u0275elementContainer:nd,\u0275\u0275pureFunction0:Y_,\u0275\u0275pureFunction1:Z_,\u0275\u0275pureFunction2:J_,\u0275\u0275pureFunction3:q_,\u0275\u0275pureFunction4:em,\u0275\u0275pureFunction5:function Pb(e,t,n,i,s,o,a,u){const p=(0,r.gxQ)()+e,R=(0,r.OAn)(),U=hs(R,p,n,i,s,o);return wr(R,p+4,a)||U?ws(R,p+5,u?t.call(u,n,i,s,o,a):t(n,i,s,o,a)):fa(R,p+5)},\u0275\u0275pureFunction6:function Nb(e,t,n,i,s,o,a,u,p){const R=(0,r.gxQ)()+e,U=(0,r.OAn)(),se=hs(U,R,n,i,s,o);return qs(U,R+4,a,u)||se?ws(U,R+6,p?t.call(p,n,i,s,o,a,u):t(n,i,s,o,a,u)):fa(U,R+6)},\u0275\u0275pureFunction7:function Lb(e,t,n,i,s,o,a,u,p,R){const U=(0,r.gxQ)()+e,se=(0,r.OAn)();let we=hs(se,U,n,i,s,o);return Dl(se,U+4,a,u,p)||we?ws(se,U+7,R?t.call(R,n,i,s,o,a,u,p):t(n,i,s,o,a,u,p)):fa(se,U+7)},\u0275\u0275pureFunction8:function xb(e,t,n,i,s,o,a,u,p,R,U){const se=(0,r.gxQ)()+e,we=(0,r.OAn)(),Pe=hs(we,se,n,i,s,o);return hs(we,se+4,a,u,p,R)||Pe?ws(we,se+8,U?t.call(U,n,i,s,o,a,u,p,R):t(n,i,s,o,a,u,p,R)):fa(we,se+8)},\u0275\u0275pureFunctionV:function kb(e,t,n,i){return sm((0,r.OAn)(),(0,r.gxQ)(),e,t,n,i)},\u0275\u0275getCurrentView:Ag,\u0275\u0275restoreView:r.eBV,\u0275\u0275listener:ud,\u0275\u0275projection:Jg,\u0275\u0275syntheticHostProperty:function wg(e,t,n){const i=(0,r.OAn)();if(wr(i,(0,r.xbp)(),t)){const o=(0,r.klJ)(),a=(0,r.CpD)();Vc(a,i,e,t,Cf((0,r.MT)(o.data),a,i),n)}return wg},\u0275\u0275syntheticHostListener:function Xg(e,t){const n=(0,r.Mx4)(),i=(0,r.OAn)(),s=(0,r.klJ)();return fd(s,i,Cf((0,r.MT)(s.data),n,i),n,e,t),Xg},\u0275\u0275pipeBind1:am,\u0275\u0275pipeBind2:lm,\u0275\u0275pipeBind3:cm,\u0275\u0275pipeBind4:function Bb(e,t,n,i,s,o){const a=e+r.Yw1,u=(0,r.OAn)(),p=(0,r.Hh6)(u,a);return Oa(u,a)?im(u,(0,r.gxQ)(),t,p.transform,n,i,s,o,p):p.transform(n,i,s,o)},\u0275\u0275pipeBindV:function Ub(e,t,n){const i=e+r.Yw1,s=(0,r.OAn)(),o=(0,r.Hh6)(s,i);return Oa(s,i)?sm(s,(0,r.gxQ)(),t,o.transform,n,o):o.transform.apply(o,n)},\u0275\u0275projectionDef:Zg,\u0275\u0275domProperty:sd,\u0275\u0275ariaProperty:Wu,\u0275\u0275property:Zu,\u0275\u0275pipe:om,\u0275\u0275queryRefresh:t_,\u0275\u0275queryAdvance:i_,\u0275\u0275viewQuery:e_,\u0275\u0275viewQuerySignal:r_,\u0275\u0275loadQuery:n_,\u0275\u0275contentQuery:qg,\u0275\u0275contentQuerySignal:function zC(e,t,n,i,s){xh(t,Ph(e,n,i,s))},\u0275\u0275reference:s_,\u0275\u0275classMap:p_,\u0275\u0275styleMap:h_,\u0275\u0275styleProp:_d,\u0275\u0275classProp:md,\u0275\u0275advance:lf,\u0275\u0275template:Cu,\u0275\u0275conditional:Eg,\u0275\u0275conditionalCreate:yg,\u0275\u0275conditionalBranchCreate:jl,\u0275\u0275defer:og,\u0275\u0275deferWhen:function t0(e){const t=(0,r.OAn)(),n=(0,r.CpD)();if(Kr(0,t,n)&&wr(t,(0,r.xbp)(),e)){const s=(0,g.Ht)(null);try{const o=!!e,u=qi(t,n)[no];!1===o&&u===bo.Initial?wo(t,n):!0===o&&(u===bo.Initial||u===vr.Placeholder)&&io(0,t,n)}finally{(0,g.Ht)(s)}}},\u0275\u0275deferOnIdle:ag,\u0275\u0275deferOnImmediate:function l0(){const e=(0,r.OAn)(),t=(0,r.Mx4)();Kr(0,e,t)&&(null===wi(e[r.eDl],t).loadingTmplIndex&&wo(e,t),io(0,e,t))},\u0275\u0275deferOnTimer:function d0(e){Kr(0,(0,r.OAn)(),(0,r.Mx4)())&&Jp(Rl(e))},\u0275\u0275deferOnHover:function p0(e,t){const n=(0,r.OAn)(),i=(0,r.Mx4)();Kr(0,n,i)&&(wo(n,i),Ao(n,i,e,t,fn,()=>io(0,n,i),0))},\u0275\u0275deferOnInteraction:function m0(e,t){const n=(0,r.OAn)(),i=(0,r.Mx4)();Kr(0,n,i)&&(wo(n,i),Ao(n,i,e,t,sn,()=>io(0,n,i),0))},\u0275\u0275deferOnViewport:function E0(e,t){const n=(0,r.OAn)(),i=(0,r.Mx4)();Kr(0,n,i)&&(wo(n,i),Ao(n,i,e,t,Ru,()=>io(0,n,i),0))},\u0275\u0275deferPrefetchWhen:function n0(e){const t=(0,r.OAn)();if(Kr(1,t,(0,r.CpD)())&&wr(t,(0,r.xbp)(),e)){const s=(0,g.Ht)(null);try{const o=!!e,a=t[r.eDl],u=(0,r.CpD)(),p=wi(a,u);!0===o&&p.loadingState===Zr.NOT_STARTED&&Ea(p,t,u)}finally{(0,g.Ht)(s)}}},\u0275\u0275deferPrefetchOnIdle:function o0(){Kr(1,(0,r.OAn)(),(0,r.Mx4)())&&qp(Sl)},\u0275\u0275deferPrefetchOnImmediate:function c0(){const e=(0,r.OAn)(),t=(0,r.Mx4)();if(!Kr(1,e,t))return;const i=wi(e[r.eDl],t);i.loadingState===Zr.NOT_STARTED&&Fu(i,e,t)},\u0275\u0275deferPrefetchOnTimer:function f0(e){Kr(1,(0,r.OAn)(),(0,r.Mx4)())&&qp(Rl(e))},\u0275\u0275deferPrefetchOnHover:function g0(e,t){const n=(0,r.OAn)(),i=(0,r.Mx4)();if(!Kr(1,n,i))return;const o=wi(n[r.eDl],i);o.loadingState===Zr.NOT_STARTED&&Ao(n,i,e,t,fn,()=>Ea(o,n,i),1)},\u0275\u0275deferPrefetchOnInteraction:function v0(e,t){const n=(0,r.OAn)(),i=(0,r.Mx4)();if(!Kr(1,n,i))return;const o=wi(n[r.eDl],i);o.loadingState===Zr.NOT_STARTED&&Ao(n,i,e,t,sn,()=>Ea(o,n,i),1)},\u0275\u0275deferPrefetchOnViewport:function D0(e,t){const n=(0,r.OAn)(),i=(0,r.Mx4)();if(!Kr(1,n,i))return;const o=wi(n[r.eDl],i);o.loadingState===Zr.NOT_STARTED&&Ao(n,i,e,t,Ru,()=>Ea(o,n,i),1)},\u0275\u0275deferHydrateWhen:function r0(e){const t=(0,r.OAn)(),n=(0,r.CpD)();if(!Kr(2,t,n))return;const i=(0,r.xbp)();if(Ws((0,r.klJ)(),n).set(6,null),wr(t,i,e)){const a=t[r.YEL],u=(0,g.Ht)(null);try{1==!!e&&js(a,qi(t,n)[ro])}finally{(0,g.Ht)(u)}}},\u0275\u0275deferHydrateNever:function s0(){const e=(0,r.OAn)(),t=(0,r.Mx4)();Kr(2,e,t)&&Ws((0,r.klJ)(),t).set(7,null)},\u0275\u0275deferHydrateOnIdle:function a0(){const e=(0,r.OAn)(),t=(0,r.Mx4)();Kr(2,e,t)&&(Ws((0,r.klJ)(),t).set(0,null),eg(Sl,e,t))},\u0275\u0275deferHydrateOnImmediate:function u0(){const e=(0,r.OAn)(),t=(0,r.Mx4)();Kr(2,e,t)&&(Ws((0,r.klJ)(),t).set(1,null),js(e[r.YEL],qi(e,t)[ro]))},\u0275\u0275deferHydrateOnTimer:function h0(e){const t=(0,r.OAn)(),n=(0,r.Mx4)();Kr(2,t,n)&&(Ws((0,r.klJ)(),n).set(5,{delay:e}),eg(Rl(e),t,n))},\u0275\u0275deferHydrateOnHover:function _0(){const e=(0,r.OAn)(),t=(0,r.Mx4)();Kr(2,e,t)&&Ws((0,r.klJ)(),t).set(4,null)},\u0275\u0275deferHydrateOnInteraction:function y0(){const e=(0,r.OAn)(),t=(0,r.Mx4)();Kr(2,e,t)&&Ws((0,r.klJ)(),t).set(3,null)},\u0275\u0275deferHydrateOnViewport:function M0(){const e=(0,r.OAn)(),t=(0,r.Mx4)();Kr(2,e,t)&&Ws((0,r.klJ)(),t).set(2,null)},\u0275\u0275deferEnableTimerScheduling:function XD(e,t,n,i){const s=e.consts;null!=n&&(t.placeholderBlockConfig=(0,r.db4)(s,n)),null!=i&&(t.loadingBlockConfig=(0,r.db4)(s,i)),null===Nu&&(Nu=QD)},\u0275\u0275repeater:bg,\u0275\u0275repeaterCreate:Cg,\u0275\u0275repeaterTrackByIndex:Dg,\u0275\u0275repeaterTrackByIdentity:Mg,\u0275\u0275componentInstance:function U0(){return(0,r.OAn)()[r.b5C][r.SKP]},\u0275\u0275text:C_,\u0275\u0275textInterpolate:yd,\u0275\u0275textInterpolate1:ql,\u0275\u0275textInterpolate2:Ed,\u0275\u0275textInterpolate3:Dd,\u0275\u0275textInterpolate4:function L_(e,t,n,i,s,o,a,u,p){const R=(0,r.OAn)(),U=O_(R,e,t,n,i,s,o,a,u,p);return U!==cr&&Fs(R,(0,r._px)(),U),L_},\u0275\u0275textInterpolate5:function x_(e,t,n,i,s,o,a,u,p,R,U){const se=(0,r.OAn)(),we=S_(se,e,t,n,i,s,o,a,u,p,R,U);return we!==cr&&Fs(se,(0,r._px)(),we),x_},\u0275\u0275textInterpolate6:function k_(e,t,n,i,s,o,a,u,p,R,U,se,we){const Pe=(0,r.OAn)(),ot=R_(Pe,e,t,n,i,s,o,a,u,p,R,U,se,we);return ot!==cr&&Fs(Pe,(0,r._px)(),ot),k_},\u0275\u0275textInterpolate7:function F_(e,t,n,i,s,o,a,u,p,R,U,se,we,Pe,ot){const Rt=(0,r.OAn)(),Zt=P_(Rt,e,t,n,i,s,o,a,u,p,R,U,se,we,Pe,ot);return Zt!==cr&&Fs(Rt,(0,r._px)(),Zt),F_},\u0275\u0275textInterpolate8:function B_(e,t,n,i,s,o,a,u,p,R,U,se,we,Pe,ot,Rt,Zt){const Qt=(0,r.OAn)(),Ft=N_(Qt,e,t,n,i,s,o,a,u,p,R,U,se,we,Pe,ot,Rt,Zt);return Ft!==cr&&Fs(Qt,(0,r._px)(),Ft),B_},\u0275\u0275textInterpolateV:function U_(e){const t=(0,r.OAn)(),n=T_(t,e);return n!==cr&&Fs(t,(0,r._px)(),n),U_},\u0275\u0275i18n:function FC(e,t,n){$g(e,t,n),Gg()},\u0275\u0275i18nAttributes:function BC(e,t){const n=(0,r.klJ)(),i=(0,r.db4)(n.consts,t);!function EC(e,t,n){const s=(0,r.Mx4)().index,o=[];if(e.firstCreatePass&&null===e.data[t]){for(let a=0;a0){const i=e.data[n];Lg(e,t,Array.isArray(i)?i:i.update,(0,r.c$7)()-Ca-1,Ma)}Ma=0,Ca=0}((0,r.klJ)(),(0,r.OAn)(),e+r.Yw1)},\u0275\u0275i18nPostprocess:function VC(e,t={}){return function kC(e,t={}){let n=e;if(OC.test(e)){const i={},s=[0];n=n.replace(SC,(o,a,u)=>{const p=a||u,R=i[p]||[];if(R.length||(p.split("|").forEach(Rt=>{const Zt=Rt.match(xC),Qt=Zt?parseInt(Zt[1],10):0,Ft=LC.test(Rt);R.push([Qt,Ft,Rt])}),i[p]=R),!R.length)throw new Error(`i18n postprocess: unmatched placeholder - ${p}`);const U=s[s.length-1];let se=0;for(let Rt=0;Rtt.hasOwnProperty(o)?`${s}${t[o]}${p}`:i),n=n.replace(PC,(i,s)=>t.hasOwnProperty(s)?t[s]:i),n=n.replace(NC,(i,s)=>{if(t.hasOwnProperty(s)){const o=t[s];if(!o.length)throw new Error(`i18n postprocess: unmatched ICU - ${i} with key: ${s}`);return o.shift()}return i})),n}(e,t)},\u0275\u0275resolveWindow:Kd,\u0275\u0275resolveDocument:Hd,\u0275\u0275resolveBody:$d,\u0275\u0275setComponentScope:function Sb(e,t,n){const i=e.\u0275cmp;i.directiveDefs=Tl(t,Hh),i.pipeDefs=Tl(n,r.oyA)},\u0275\u0275setNgModuleScope:function Rb(e,t){return L(()=>{const n=(0,r.WbQ)(e);n.declarations=ec(t.declarations||r.Mlv),n.imports=ec(t.imports||r.Mlv),n.exports=ec(t.exports||r.Mlv),t.bootstrap&&(n.bootstrap=ec(t.bootstrap)),da.registerNgModule(e,t)})},\u0275\u0275registerNgModuleType:Bh,\u0275\u0275getComponentDepsFactory:function Vb(e,t){return()=>{try{return da.getComponentDependencies(e,t).dependencies}catch(n){throw console.error(`Computing dependencies in local compilation mode for the component "${e.name}" failed with the exception:`,n),n}}},\u0275setClassDebugInfo:function jb(e,t){const n=(0,r.xUg)(e);null!==n&&(n.debugInfo=t)},\u0275\u0275declareLet:Md,\u0275\u0275storeLet:z_,\u0275\u0275readContextLet:K_,\u0275\u0275attachSourceLocations:function gb(e,t){const n=(0,r.klJ)(),i=(0,r.OAn)(),s=i[r.GpT],o="data-ng-source-location";for(const[a,u,p,R]of t){(0,r.XRZ)(n,a+r.Yw1);const se=(0,r.vaC)(a+r.Yw1,i);se.hasAttribute(o)||s.setAttribute(se,o,`${e}@o:${u},l:${p},c:${R}`)}},\u0275\u0275interpolate:H_,\u0275\u0275interpolate1:$_,\u0275\u0275interpolate2:function _b(e,t,n,i,s=""){return A_((0,r.OAn)(),e,t,n,i,s)},\u0275\u0275interpolate3:function mb(e,t,n,i,s,o,a=""){return w_((0,r.OAn)(),e,t,n,i,s,o,a)},\u0275\u0275interpolate4:function vb(e,t,n,i,s,o,a,u,p=""){return O_((0,r.OAn)(),e,t,n,i,s,o,a,u,p)},\u0275\u0275interpolate5:function yb(e,t,n,i,s,o,a,u,p,R,U=""){return S_((0,r.OAn)(),e,t,n,i,s,o,a,u,p,R,U)},\u0275\u0275interpolate6:function Eb(e,t,n,i,s,o,a,u,p,R,U,se,we=""){return R_((0,r.OAn)(),e,t,n,i,s,o,a,u,p,R,U,se,we)},\u0275\u0275interpolate7:function Db(e,t,n,i,s,o,a,u,p,R,U,se,we,Pe,ot=""){return P_((0,r.OAn)(),e,t,n,i,s,o,a,u,p,R,U,se,we,Pe,ot)},\u0275\u0275interpolate8:function Mb(e,t,n,i,s,o,a,u,p,R,U,se,we,Pe,ot,Rt,Zt=""){return N_((0,r.OAn)(),e,t,n,i,s,o,a,u,p,R,U,se,we,Pe,ot,Rt,Zt)},\u0275\u0275interpolateV:function Cb(e){return T_((0,r.OAn)(),e)},\u0275\u0275sanitizeHtml:qt,\u0275\u0275sanitizeStyle:function lr(e){const t=Xo();return t?t.sanitize(bt.STYLE,e)||"":Ns(e,"Style")?ys(e):(0,r.eFE)(e)},\u0275\u0275sanitizeResourceUrl:Pr,\u0275\u0275sanitizeScript:function Nr(e){const t=Xo();if(t)return Fa(t.sanitize(bt.SCRIPT,e)||"");if(Ns(e,"Script"))return Fa(ys(e));throw new r.buA(905,!1)},\u0275\u0275sanitizeUrl:Ii,\u0275\u0275sanitizeUrlOrResourceUrl:Ud,\u0275\u0275trustConstantHtml:function xs(e){return Rs(e[0])},\u0275\u0275trustConstantResourceUrl:function Um(e){return function xa(e){return La()?.createScriptURL(e)||e}(e[0])},\u0275\u0275validateIframeAttribute:function ZE(e,t,n){const i=(0,r.OAn)(),s=(0,r.CpD)(),o=(0,r.d31)(s,i);if(2===s.type&&"iframe"===t.toLowerCase()){const a=o;throw a.src="",a.srcdoc=Rs(""),Yo(i[r.GpT],a),new r.buA(-910,!1)}return e},forwardRef:r.Rfq,resolveForwardRef:r.nl4,\u0275\u0275twoWayProperty:function V_(e,t,n){(0,r.n$r)(t)&&(t=t());const i=(0,r.OAn)();return wr(i,(0,r.xbp)(),t)&&((0,r.klJ)(),Uc((0,r.CpD)(),i,e,t,i[r.GpT],n)),V_},\u0275\u0275twoWayBindingSet:function pb(e,t){const n=(0,r.n$r)(e);return n&&e.set(t),n},\u0275\u0275twoWayListener:function j_(e,t){const n=(0,r.OAn)(),i=(0,r.klJ)(),s=(0,r.Mx4)();return fd(i,n,n[r.GpT],s,e,t),j_},\u0275\u0275replaceMetadata:function zb(e,t,n,i,s=null,o=null){const a=(0,r.xUg)(e);t.apply(null,[e,n,...i]);const{newDef:u,oldDef:p}=function Kb(e,t){const n={...e};return{newDef:Object.assign(e,t,{directiveDefs:n.directiveDefs,pipeDefs:n.pipeDefs,setInput:n.setInput,type:n.type}),oldDef:n}}(a,(0,r.xUg)(e));if(e[r.CQl]=u,p.tView){const R=function di(){return Er}().values();for(const U of R)(0,r.EFk)(U)&&null===U[r.f7T]&&tc(s,o,u,p,U)}},\u0275\u0275getReplaceMetadataURL:function Wb(e,t,n){const i=`./@ng/component?c=${e}&t=${encodeURIComponent(t)}`;return new URL(i,n).href}};let Fo=null;function Xb(e){null!==Fo&&(e.defaultEncapsulation!==Fo.defaultEncapsulation||e.preserveWhitespaces!==Fo.preserveWhitespaces)||(Fo=e)}const Sa=[];function mm(e){return nu(e)?e.ngModule:e}const hT=he("NgModule",e=>e,void 0,0,(e,t)=>function qb(e,t={}){(function eT(e,t){const i=(0,r.Bqz)(t.declarations||r.Mlv);let s=null;Object.defineProperty(e,r.hmW,{configurable:!0,get:()=>(null===s&&(s=re().compileNgModule(Ks,`ng:///${e.name}/\u0275mod.js`,{type:e,bootstrap:(0,r.Bqz)(t.bootstrap||r.Mlv).map(r.nl4),declarations:i.map(r.nl4),imports:(0,r.Bqz)(t.imports||r.Mlv).map(r.nl4).map(mm),exports:(0,r.Bqz)(t.exports||r.Mlv).map(r.nl4).map(mm),schemas:t.schemas?(0,r.Bqz)(t.schemas):null,id:t.id||null}),s.schemas||(s.schemas=[])),s)});let o=null;Object.defineProperty(e,r.zSs,{get:()=>{if(null===o){const u=re();o=u.compileFactory(Ks,`ng:///${e.name}/\u0275fac.js`,{name:e.name,type:e,deps:pt(e),target:u.FactoryTarget.NgModule,typeArgumentCount:0})}return o},configurable:!1});let a=null;Object.defineProperty(e,r.ONQ,{get:()=>{if(null===a){const u={name:e.name,type:e,providers:t.providers||r.Mlv,imports:[(t.imports||r.Mlv).map(r.nl4),(t.exports||r.Mlv).map(r.nl4)]};a=re().compileInjector(Ks,`ng:///${e.name}/\u0275inj.js`,u)}return a},configurable:!1})})(e,t),void 0!==t.id&&Bh(e,t.id),function Zb(e,t){Sa.push({moduleType:e,ngModule:t})}(e,t)}(e,t));class pT{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let gT=(()=>{class e{compileModuleSync(n){return new Wh(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const i=this.compileModuleSync(n),o=As((0,r.phH)(n).declarations).reduce((a,u)=>{const p=(0,r.xUg)(u);return p&&a.push(new Cl(p)),a},[]);return new pT(i,o)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(i){return new(i||e)};static \u0275prov=(0,r.jDH)({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const _T=new r.nKC("");let mT=(()=>{class e{zone=(0,r.WQX)(Dr);changeDetectionScheduler=(0,r.WQX)(r.hk6);applicationRef=(0,r.WQX)(Ll);applicationErrorHandler=(0,r.WQX)(r.ZTf);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(n){this.applicationErrorHandler(n)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(i){return new(i||e)};static \u0275prov=(0,r.jDH)({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const wm=new r.nKC("",{factory:()=>!1});function Om({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new Dr({...Rd(),scheduleInRootZone:n}),[{provide:Dr,useFactory:e},{provide:r.Z63,multi:!0,useFactory:()=>{const i=(0,r.WQX)(mT,{optional:!0});return()=>i.initialize()}},{provide:r.Z63,multi:!0,useFactory:()=>{const i=(0,r.WQX)(yT);return()=>{i.initialize()}}},!0===t?{provide:r.Jy$,useValue:!0}:[],{provide:r.AQb,useValue:n??cp},{provide:r.ZTf,useFactory:()=>{const i=(0,r.WQX)(Dr),s=(0,r.WQX)(r.uvJ);let o;return a=>{i.runOutsideAngular(()=>{s.destroyed&&!o?setTimeout(()=>{throw a}):(o??=s.get(r.zcH),o.handleError(a))})}}}]}function vT(e){const t=e?.ignoreChangesOutsideZone,n=e?.scheduleInRootZone,i=Om({ngZoneFactory:()=>{const s=Rd(e);return s.scheduleInRootZone=n,s.shouldCoalesceEventChangeDetection&&Ai("NgZone_CoalesceEvent"),new Dr(s)},ignoreChangesOutsideZone:t,scheduleInRootZone:n});return(0,r.EmA)([{provide:wm,useValue:!0},{provide:r.Evm,useValue:!1},i])}function Rd(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}let yT=(()=>{class e{subscription=new W.yU;initialized=!1;zone=(0,r.WQX)(Dr);pendingTasks=(0,r.WQX)(r.rev);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Dr.assertNotInAngularZone(),queueMicrotask(()=>{null!==n&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Dr.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(i){return new(i||e)};static \u0275prov=(0,r.jDH)({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Pm=(()=>{class e{applicationErrorHandler=(0,r.WQX)(r.ZTf);appRef=(0,r.WQX)(Ll);taskService=(0,r.WQX)(r.rev);ngZone=(0,r.WQX)(Dr);zonelessEnabled=(0,r.WQX)(r.Evm);tracing=(0,r.WQX)(ma,{optional:!0});disableScheduling=(0,r.WQX)(r.Jy$,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new W.yU;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Ol):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&((0,r.WQX)(r.AQb,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Ou||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&5===n)return;let i=!1;switch(n){case 0:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 6:case 13:this.appRef.dirtyFlags|=2,i=!0;break;case 12:this.appRef.dirtyFlags|=16,i=!0;break;case 11:i=!0;break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(i))return;const s=this.useMicrotaskScheduler?dp:up;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run(()=>s(()=>this.tick())):this.ngZone.runOutsideAngular(()=>s(()=>this.tick()))}shouldScheduleTick(n){return!(this.disableScheduling&&!n||this.appRef.destroyed||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Ol+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(0===this.appRef.dirtyFlags)return void this.cleanup();!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);const n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(i){this.taskService.remove(n),this.applicationErrorHandler(i)}finally{this.cleanup()}this.useMicrotaskScheduler=!0,dp(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(i){return new(i||e)};static \u0275prov=(0,r.jDH)({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Nm=new r.nKC("",{providedIn:"root",factory:()=>(0,r.WQX)(Nm,{optional:!0,skipSelf:!0})||function ET(){return typeof $localize<"u"&&$localize.locale||ad}()}),DT=new r.nKC("",{providedIn:"root",factory:()=>"USD"})},2541:function(ut,be,d){var c,V;ut.exports=(c=d(6609),V=c.enc.Utf8,void(c.algo.HMAC=c.lib.Base.extend({init:function($,ee){$=this._hasher=new $.init,"string"==typeof ee&&(ee=V.parse(ee));var ne=$.blockSize,he=4*ne;ee.sigBytes>he&&(ee=$.finalize(ee)),ee.clamp();for(var Z=this._oKey=ee.clone(),le=this._iKey=ee.clone(),ie=Z.words,Oe=le.words,Le=0;Le{"use strict";d.d(be,{A:()=>g});var c=d(3942),r=d(1530);function g(Y){return!!Y&&(Y instanceof c.c||(0,r.T)(Y.lift)&&(0,r.T)(Y.subscribe))}},2575:(ut,be,d)=>{"use strict";d.d(be,{B:()=>Y});var c=d(8473),r=d(819),g=d(1687);function Y(W,V=c.E){return(0,r.N)((q,L)=>{let $=null,ee=null,ne=null;const he=()=>{if($){$.unsubscribe(),$=null;const le=ee;ee=null,L.next(le)}};function Z(){const le=ne+W,ie=V.now();if(ie{ee=le,ne=V.now(),$||($=V.schedule(Z,W),L.add($))},()=>{he(),L.complete()},void 0,()=>{ee=$=null}))})}},2645:(ut,be,d)=>{"use strict";d.d(be,{Tg:()=>Z});var c=d(4398),r=d(8830),g=d(1117),Y=d(3942),W=d(1516),V=d(4558),q=d(1374),L=d(528),$=d(3233),ee=d(1530),ne=d(1411),he=d(4127);function Z(re){if(re instanceof Y.c)return re;if(null!=re){if((0,W.l)(re))return function le(re){return new Y.c(Ae=>{const ue=re[he.s]();if((0,ee.T)(ue.subscribe))return ue.subscribe(Ae);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(re);if((0,r.X)(re))return function ie(re){return new Y.c(Ae=>{for(let ue=0;ue{re.then(ue=>{Ae.closed||(Ae.next(ue),Ae.complete())},ue=>Ae.error(ue)).then(null,ne.m)})}(re);if((0,V.T)(re))return ye(re);if((0,L.x)(re))return function Le(re){return new Y.c(Ae=>{for(const ue of re)if(Ae.next(ue),Ae.closed)return;Ae.complete()})}(re);if((0,$.U)(re))return function ve(re){return ye((0,$.C)(re))}(re)}throw(0,q.L)(re)}function ye(re){return new Y.c(Ae=>{(function Ze(re,Ae){var ue,Ee,xe,$e;return(0,c.sH)(this,void 0,void 0,function*(){try{for(ue=(0,c.xN)(re);!(Ee=yield ue.next()).done;)if(Ae.next(Ee.value),Ae.closed)return}catch(rt){xe={error:rt}}finally{try{Ee&&!Ee.done&&($e=ue.return)&&(yield $e.call(ue))}finally{if(xe)throw xe.error}}Ae.complete()})})(re,Ae).catch(ue=>Ae.error(ue))})}},3025:(ut,be,d)=>{"use strict";d.d(be,{A:()=>g});const c=void 0,g=["de",[["AM","PM"],c,c],c,[["S","M","D","M","D","F","S"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."],["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."]],[["S","M","D","M","D","F","S"],["So","Mo","Di","Mi","Do","Fr","Sa"],["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."]],[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan.","Feb.","M\xe4rz","Apr.","Mai","Juni","Juli","Aug.","Sept.","Okt.","Nov.","Dez."],["Januar","Februar","M\xe4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]],[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","M\xe4r","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],["Januar","Februar","M\xe4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]],[["v. Chr.","n. Chr."],c,c],1,[6,0],["dd.MM.yy","dd.MM.y","d. MMMM y","EEEE, d. MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}, {0}",c,"{1} 'um' {0}",c],[",",".",";","%","+","-","E","\xb7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0\xa0%","#,##0.00\xa0\xa4","#E0"],"EUR","\u20ac","Euro",{ATS:["\xf6S"],AUD:["AU$","$"],BGM:["BGK"],BGO:["BGJ"],BYN:[c,"\u0440."],CUC:[c,"Cub$"],DEM:["DM"],FKP:[c,"Fl\xa3"],GHS:[c,"\u20b5"],GNF:[c,"F.G."],KMF:[c,"FC"],PHP:[c,"\u20b1"],RON:[c,"L"],RUR:[c,"\u0440."],RWF:[c,"F.Rw"],SYP:[],THB:["\u0e3f"],TWD:["NT$"],XXX:[],ZMW:[c,"K"]},"ltr",function r(Y){const V=Math.floor(Math.abs(Y)),q=Y.toString().replace(/^[^.]*\.?/,"").length;return 1===V&&0===q?1:5}]},3037:(ut,be,d)=>{"use strict";d.d(be,{Z:()=>Y});var c=d(3513),r=d(4083),g=d(819);function Y(...W){const V=(0,r.lI)(W);return(0,g.N)((q,L)=>{(V?(0,c.x)(W,q,V):(0,c.x)(W,q)).subscribe(L)})}},3222:(ut,be,d)=>{"use strict";d.d(be,{U:()=>g});var c=d(1365),r=d(1440);function g(Y=1/0){return(0,c.Z)(r.D,Y)}},3233:(ut,be,d)=>{"use strict";d.d(be,{C:()=>g,U:()=>Y});var c=d(4398),r=d(1530);function g(W){return(0,c.AQ)(this,arguments,function*(){const q=W.getReader();try{for(;;){const{value:L,done:$}=yield(0,c.N3)(q.read());if($)return yield(0,c.N3)(void 0);yield yield(0,c.N3)(L)}}finally{q.releaseLock()}})}function Y(W){return(0,r.T)(W?.getReader)}},3335:(ut,be,d)=>{"use strict";d.d(be,{G:()=>r});const r=(0,d(2384).L)(g=>function(){g(this),this.name="EmptyError",this.message="no elements in sequence"})},3428:(ut,be,d)=>{"use strict";d.d(be,{MZ:()=>Ue,fU:()=>at,rJ:()=>Pt,u6:()=>ve});var c=d(9204),r=d(5240),g=d(2481),Y=d(316),W=d(3942),q=(d(4205),d(5797)),L=d(7092),ne=(d(9999),d(271),d(6647)),he=d(4334);d(3900);const le=["*"];class ie{_ngZone;_pending=[];_listeners=[];_targetStream=new q.t(void 0);_clearListeners(){for(const it of this._listeners)it.remove();this._listeners=[]}constructor(it){this._ngZone=it}getLazyEmitter(it){return this._targetStream.pipe((0,ne.n)(A=>{const ae=new W.c(tt=>{if(!A)return void this._pending.push({observable:ae,observer:tt});const Tt=A.addListener(it,nn=>{this._ngZone.run(()=>tt.next(nn))});if(Tt)return this._listeners.push(Tt),()=>Tt.remove();tt.complete()});return ae}))}setTarget(it){const A=this._targetStream.value;it!==A&&(A&&(this._clearListeners(),this._pending=[]),this._targetStream.next(it),this._pending.forEach(ae=>ae.observable.subscribe(ae.observer)),this._pending=[])}destroy(){this._clearListeners(),this._pending=[],this._targetStream.complete()}}const Oe={center:{lat:37.421995,lng:-122.084092},zoom:17,mapTypeId:"roadmap"};let ve=(()=>{class Ce{_elementRef=(0,r.WQX)(g.aKT);_ngZone=(0,r.WQX)(g.SKi);_eventManager=new ie((0,r.WQX)(g.SKi));_mapEl;_existingAuthFailureCallback;googleMap;_isBrowser;height="500px";width="500px";mapId;mapTypeId;set center(A){this._center=A}_center;set zoom(A){this._zoom=A}_zoom;set options(A){this._options=A||Oe}_options=Oe;mapInitialized=new g.bkB;authFailure=new g.bkB;boundsChanged=this._eventManager.getLazyEmitter("bounds_changed");centerChanged=this._eventManager.getLazyEmitter("center_changed");mapClick=this._eventManager.getLazyEmitter("click");mapDblclick=this._eventManager.getLazyEmitter("dblclick");mapDrag=this._eventManager.getLazyEmitter("drag");mapDragend=this._eventManager.getLazyEmitter("dragend");mapDragstart=this._eventManager.getLazyEmitter("dragstart");headingChanged=this._eventManager.getLazyEmitter("heading_changed");idle=this._eventManager.getLazyEmitter("idle");maptypeidChanged=this._eventManager.getLazyEmitter("maptypeid_changed");mapMousemove=this._eventManager.getLazyEmitter("mousemove");mapMouseout=this._eventManager.getLazyEmitter("mouseout");mapMouseover=this._eventManager.getLazyEmitter("mouseover");projectionChanged=this._eventManager.getLazyEmitter("projection_changed");mapRightclick=this._eventManager.getLazyEmitter("rightclick");tilesloaded=this._eventManager.getLazyEmitter("tilesloaded");tiltChanged=this._eventManager.getLazyEmitter("tilt_changed");zoomChanged=this._eventManager.getLazyEmitter("zoom_changed");constructor(){const A=(0,r.WQX)(g.Agw);if(this._isBrowser=(0,Y.UE)(A),this._isBrowser){const ae=window;this._existingAuthFailureCallback=ae.gm_authFailure,ae.gm_authFailure=()=>{this._existingAuthFailureCallback&&this._existingAuthFailureCallback(),this.authFailure.emit()}}}ngOnChanges(A){(A.height||A.width)&&this._setSize();const ae=this.googleMap;ae&&(A.options&&ae.setOptions(this._combineOptions()),A.center&&this._center&&ae.setCenter(this._center),A.zoom&&null!=this._zoom&&ae.setZoom(this._zoom),A.mapTypeId&&this.mapTypeId&&ae.setMapTypeId(this.mapTypeId))}ngOnInit(){this._isBrowser&&(this._mapEl=this._elementRef.nativeElement.querySelector(".map-container"),this._setSize(),google.maps.Map?this._initialize(google.maps.Map):this._ngZone.runOutsideAngular(()=>{google.maps.importLibrary("maps").then(A=>this._initialize(A.Map))}))}_initialize(A){this._ngZone.runOutsideAngular(()=>{this.googleMap=new A(this._mapEl,this._combineOptions()),this._eventManager.setTarget(this.googleMap),this.mapInitialized.emit(this.googleMap)})}ngOnDestroy(){this.mapInitialized.complete(),this._eventManager.destroy(),this._isBrowser&&(window.gm_authFailure=this._existingAuthFailureCallback)}fitBounds(A,ae){this._assertInitialized(),this.googleMap.fitBounds(A,ae)}panBy(A,ae){this._assertInitialized(),this.googleMap.panBy(A,ae)}panTo(A){this._assertInitialized(),this.googleMap.panTo(A)}panToBounds(A,ae){this._assertInitialized(),this.googleMap.panToBounds(A,ae)}getBounds(){return this._assertInitialized(),this.googleMap.getBounds()||null}getCenter(){return this._assertInitialized(),this.googleMap.getCenter()}getClickableIcons(){return this._assertInitialized(),this.googleMap.getClickableIcons()}getHeading(){return this._assertInitialized(),this.googleMap.getHeading()}getMapTypeId(){return this._assertInitialized(),this.googleMap.getMapTypeId()}getProjection(){return this._assertInitialized(),this.googleMap.getProjection()||null}getStreetView(){return this._assertInitialized(),this.googleMap.getStreetView()}getTilt(){return this._assertInitialized(),this.googleMap.getTilt()}getZoom(){return this._assertInitialized(),this.googleMap.getZoom()}get controls(){return this._assertInitialized(),this.googleMap.controls}get data(){return this._assertInitialized(),this.googleMap.data}get mapTypes(){return this._assertInitialized(),this.googleMap.mapTypes}get overlayMapTypes(){return this._assertInitialized(),this.googleMap.overlayMapTypes}_resolveMap(){return this.googleMap?Promise.resolve(this.googleMap):this.mapInitialized.pipe((0,he.s)(1)).toPromise()}_setSize(){if(this._mapEl){const A=this._mapEl.style;A.height=null===this.height?"":re(this.height)||"500px",A.width=null===this.width?"":re(this.width)||"500px"}}_combineOptions(){const A=this._options||{};return{...A,center:this._center||A.center||Oe.center,zoom:this._zoom??A.zoom??Oe.zoom,mapTypeId:this.mapTypeId||A.mapTypeId||Oe.mapTypeId,mapId:this.mapId||A.mapId}}_assertInitialized(){}static \u0275fac=function(ae){return new(ae||Ce)};static \u0275cmp=g.VBU({type:Ce,selectors:[["google-map"]],inputs:{height:"height",width:"width",mapId:"mapId",mapTypeId:"mapTypeId",center:"center",zoom:"zoom",options:"options"},outputs:{mapInitialized:"mapInitialized",authFailure:"authFailure",boundsChanged:"boundsChanged",centerChanged:"centerChanged",mapClick:"mapClick",mapDblclick:"mapDblclick",mapDrag:"mapDrag",mapDragend:"mapDragend",mapDragstart:"mapDragstart",headingChanged:"headingChanged",idle:"idle",maptypeidChanged:"maptypeidChanged",mapMousemove:"mapMousemove",mapMouseout:"mapMouseout",mapMouseover:"mapMouseover",projectionChanged:"projectionChanged",mapRightclick:"mapRightclick",tilesloaded:"tilesloaded",tiltChanged:"tiltChanged",zoomChanged:"zoomChanged"},exportAs:["googleMap"],features:[g.OA$],ngContentSelectors:le,decls:2,vars:0,consts:[[1,"map-container"]],template:function(ae,tt){1&ae&&(g.NAR(),g.Hgh(0,"div",0),g.SdG(1))},encapsulation:2,changeDetection:0})}return Ce})();const Ze=/([A-Za-z%]+)$/;function re(Ce){return null==Ce?"":Ze.test(Ce)?Ce:`${Ce}px`}const lt=new r.nKC("MAP_MARKER"),ft={position:{lat:37.421995,lng:-122.084092}};let at=(()=>{class Ce{_googleMap=(0,r.WQX)(ve);_ngZone=(0,r.WQX)(g.SKi);_eventManager=new ie((0,r.WQX)(g.SKi));set title(A){this._title=A}_title;set position(A){this._position=A}_position;set label(A){this._label=A}_label;set clickable(A){this._clickable=A}_clickable;set options(A){this._options=A}_options;set icon(A){this._icon=A}_icon;set visible(A){this._visible=A}_visible;animationChanged=this._eventManager.getLazyEmitter("animation_changed");mapClick=this._eventManager.getLazyEmitter("click");clickableChanged=this._eventManager.getLazyEmitter("clickable_changed");cursorChanged=this._eventManager.getLazyEmitter("cursor_changed");mapDblclick=this._eventManager.getLazyEmitter("dblclick");mapDrag=this._eventManager.getLazyEmitter("drag");mapDragend=this._eventManager.getLazyEmitter("dragend");draggableChanged=this._eventManager.getLazyEmitter("draggable_changed");mapDragstart=this._eventManager.getLazyEmitter("dragstart");flatChanged=this._eventManager.getLazyEmitter("flat_changed");iconChanged=this._eventManager.getLazyEmitter("icon_changed");mapMousedown=this._eventManager.getLazyEmitter("mousedown");mapMouseout=this._eventManager.getLazyEmitter("mouseout");mapMouseover=this._eventManager.getLazyEmitter("mouseover");mapMouseup=this._eventManager.getLazyEmitter("mouseup");positionChanged=this._eventManager.getLazyEmitter("position_changed");mapRightclick=this._eventManager.getLazyEmitter("rightclick");shapeChanged=this._eventManager.getLazyEmitter("shape_changed");titleChanged=this._eventManager.getLazyEmitter("title_changed");visibleChanged=this._eventManager.getLazyEmitter("visible_changed");zindexChanged=this._eventManager.getLazyEmitter("zindex_changed");markerInitialized=new g.bkB;marker;constructor(){}ngOnInit(){this._googleMap._isBrowser&&(google.maps.Marker&&this._googleMap.googleMap?this._initialize(this._googleMap.googleMap,google.maps.Marker):this._ngZone.runOutsideAngular(()=>{Promise.all([this._googleMap._resolveMap(),google.maps.importLibrary("marker")]).then(([A,ae])=>{this._initialize(A,ae.Marker)})}))}_initialize(A,ae){this._ngZone.runOutsideAngular(()=>{this.marker=new ae(this._combineOptions()),this._assertInitialized(),this.marker.setMap(A),this._eventManager.setTarget(this.marker),this.markerInitialized.next(this.marker)})}ngOnChanges(A){const{marker:ae,_title:tt,_position:Tt,_label:nn,_clickable:tn,_icon:vn,_visible:mt}=this;ae&&(A.options&&ae.setOptions(this._combineOptions()),A.title&&void 0!==tt&&ae.setTitle(tt),A.position&&Tt&&ae.setPosition(Tt),A.label&&void 0!==nn&&ae.setLabel(nn),A.clickable&&void 0!==tn&&ae.setClickable(tn),A.icon&&vn&&ae.setIcon(vn),A.visible&&void 0!==mt&&ae.setVisible(mt))}ngOnDestroy(){this.markerInitialized.complete(),this._eventManager.destroy(),this.marker?.setMap(null)}getAnimation(){return this._assertInitialized(),this.marker.getAnimation()||null}getClickable(){return this._assertInitialized(),this.marker.getClickable()}getCursor(){return this._assertInitialized(),this.marker.getCursor()||null}getDraggable(){return this._assertInitialized(),!!this.marker.getDraggable()}getIcon(){return this._assertInitialized(),this.marker.getIcon()||null}getLabel(){return this._assertInitialized(),this.marker.getLabel()||null}getOpacity(){return this._assertInitialized(),this.marker.getOpacity()||null}getPosition(){return this._assertInitialized(),this.marker.getPosition()||null}getShape(){return this._assertInitialized(),this.marker.getShape()||null}getTitle(){return this._assertInitialized(),this.marker.getTitle()||null}getVisible(){return this._assertInitialized(),this.marker.getVisible()}getZIndex(){return this._assertInitialized(),this.marker.getZIndex()||null}getAnchor(){return this._assertInitialized(),this.marker}_resolveMarker(){return this.marker?Promise.resolve(this.marker):this.markerInitialized.pipe((0,he.s)(1)).toPromise()}_combineOptions(){const A=this._options||ft;return{...A,title:this._title||A.title,position:this._position||A.position,label:this._label||A.label,clickable:this._clickable??A.clickable,map:this._googleMap.googleMap,icon:this._icon||A.icon,visible:this._visible??A.visible}}_assertInitialized(){}static \u0275fac=function(ae){return new(ae||Ce)};static \u0275dir=g.FsC({type:Ce,selectors:[["map-marker"]],inputs:{title:"title",position:"position",label:"label",clickable:"clickable",options:"options",icon:"icon",visible:"visible"},outputs:{animationChanged:"animationChanged",mapClick:"mapClick",clickableChanged:"clickableChanged",cursorChanged:"cursorChanged",mapDblclick:"mapDblclick",mapDrag:"mapDrag",mapDragend:"mapDragend",draggableChanged:"draggableChanged",mapDragstart:"mapDragstart",flatChanged:"flatChanged",iconChanged:"iconChanged",mapMousedown:"mapMousedown",mapMouseout:"mapMouseout",mapMouseover:"mapMouseover",mapMouseup:"mapMouseup",positionChanged:"positionChanged",mapRightclick:"mapRightclick",shapeChanged:"shapeChanged",titleChanged:"titleChanged",visibleChanged:"visibleChanged",zindexChanged:"zindexChanged",markerInitialized:"markerInitialized"},exportAs:["mapMarker"],features:[g.Jv_([{provide:lt,useExisting:Ce}]),g.OA$]})}return Ce})(),Ue=(()=>{class Ce{_googleMap=(0,r.WQX)(ve);_ngZone=(0,r.WQX)(g.SKi);_currentMarkers=new Set;_closestMapEventManager=new ie(this._ngZone);_markersSubscription=L.yU.EMPTY;_canInitialize=this._googleMap._isBrowser;renderer;algorithm;clusteringbegin=this._closestMapEventManager.getLazyEmitter("clusteringbegin");clusteringend=this._closestMapEventManager.getLazyEmitter("clusteringend");clusterClick=new g.bkB;markerClustererInitialized=new g.bkB;_markers;markerClusterer;ngOnInit(){var A=this;return(0,c.A)(function*(){A._canInitialize&&(yield A._createCluster(),A._closestMapEventManager.setTarget(A._googleMap.googleMap))})()}ngOnChanges(A){var ae=this;return(0,c.A)(function*(){const tt=A.renderer||A.algorithm;ae.markerClusterer&&tt&&!tt.isFirstChange()&&(yield ae._createCluster())})()}ngOnDestroy(){this._markersSubscription.unsubscribe(),this._closestMapEventManager.destroy(),this._destroyCluster()}_createCluster(){var A=this;return(0,c.A)(function*(){markerClusterer;const ae=yield A._googleMap._resolveMap();A._destroyCluster(),A._ngZone.runOutsideAngular(()=>{A.markerClusterer=new markerClusterer.MarkerClusterer({map:ae,renderer:A.renderer,algorithm:A.algorithm,onClusterClick:(tt,Tt,nn)=>{A.clusterClick.observers.length?A._ngZone.run(()=>A.clusterClick.emit(Tt)):markerClusterer.defaultOnClusterClickHandler(tt,Tt,nn)}}),A.markerClustererInitialized.emit(A.markerClusterer)}),yield A._watchForMarkerChanges()})()}_watchForMarkerChanges(){var A=this;return(0,c.A)(function*(){A._assertInitialized();const ae=[],tt=yield A._getInternalMarkers(A._markers.toArray());for(const Tt of tt)A._currentMarkers.add(Tt),ae.push(Tt);A.markerClusterer.addMarkers(ae),A._markersSubscription.unsubscribe(),A._markersSubscription=A._markers.changes.subscribe(function(){var Tt=(0,c.A)(function*(nn){A._assertInitialized();const tn=new Set(yield A._getInternalMarkers(nn)),vn=[],mt=[];for(const zt of Array.from(tn))A._currentMarkers.has(zt)||(A._currentMarkers.add(zt),vn.push(zt));for(const zt of Array.from(A._currentMarkers))tn.has(zt)||mt.push(zt);A.markerClusterer.addMarkers(vn,!0),A.markerClusterer.removeMarkers(mt,!0),A.markerClusterer.render();for(const zt of mt)A._currentMarkers.delete(zt)});return function(nn){return Tt.apply(this,arguments)}}())})()}_destroyCluster(){this.markerClusterer?.onRemove(),this.markerClusterer=void 0}_getInternalMarkers(A){return Promise.all(A.map(ae=>ae._resolveMarker()))}_assertInitialized(){}static \u0275fac=function(ae){return new(ae||Ce)};static \u0275cmp=g.VBU({type:Ce,selectors:[["map-marker-clusterer"]],contentQueries:function(ae,tt,Tt){if(1&ae&&g.wni(Tt,lt,5),2&ae){let nn;g.mGM(nn=g.lsd())&&(tt._markers=nn)}},inputs:{renderer:"renderer",algorithm:"algorithm"},outputs:{clusteringbegin:"clusteringbegin",clusteringend:"clusteringend",clusterClick:"clusterClick",markerClustererInitialized:"markerClustererInitialized"},exportAs:["mapMarkerClusterer"],features:[g.OA$],ngContentSelectors:le,decls:1,vars:0,template:function(ae,tt){1&ae&&(g.NAR(),g.SdG(0))},encapsulation:2,changeDetection:0})}return Ce})(),Pt=(()=>{class Ce{static \u0275fac=function(ae){return new(ae||Ce)};static \u0275mod=g.$C({type:Ce});static \u0275inj=r.G2t({})}return Ce})()},3481:(ut,be,d)=>{"use strict";d.d(be,{B:()=>g});var c=d(819),r=d(1687);function g(){return(0,c.N)((Y,W)=>{let V=null;Y._refCount++;const q=(0,r._)(W,void 0,void 0,void 0,()=>{if(!Y||Y._refCount<=0||0<--Y._refCount)return void(V=null);const L=Y._connection,$=V;V=null,L&&(!$||L===$)&&L.unsubscribe(),W.unsubscribe()});Y.subscribe(q),q.closed||(V=Y.connect())})}},3513:(ut,be,d)=>{"use strict";d.d(be,{x:()=>W});var c=d(3222),g=d(4083),Y=d(9835);function W(...V){return function r(){return(0,c.U)(1)}()((0,Y.H)(V,(0,g.lI)(V)))}},3617:(ut,be,d)=>{"use strict";d.d(be,{h:()=>V});var c=d(3222),r=d(2645),g=d(9400),Y=d(4083),W=d(9835);function V(...q){const L=(0,Y.lI)(q),$=(0,Y.R0)(q,1/0),ee=q;return ee.length?1===ee.length?(0,r.Tg)(ee[0]):(0,c.U)($)((0,W.H)(ee,L)):g.w}},3674:(ut,be,d)=>{"use strict";d.d(be,{c:()=>q});var c=d(8473),r=d(819),g=d(1687),Y=d(2645),V=d(4876);function q(L,$=c.E,ee){const ne=(0,V.O)(L,$);return function W(L,$){return(0,r.N)((ee,ne)=>{const{leading:he=!0,trailing:Z=!1}=$??{};let le=!1,ie=null,Oe=null,Le=!1;const ye=()=>{Oe?.unsubscribe(),Oe=null,Z&&(re(),Le&&ne.complete())},ve=()=>{Oe=null,Le&&ne.complete()},Ze=Ae=>Oe=(0,Y.Tg)(L(Ae)).subscribe((0,g._)(ne,ye,ve)),re=()=>{if(le){le=!1;const Ae=ie;ie=null,ne.next(Ae),!Le&&Ze(Ae)}};ee.subscribe((0,g._)(ne,Ae=>{le=!0,ie=Ae,(!Oe||Oe.closed)&&(he?re():Ze(Ae))},()=>{Le=!0,(!(Z&&le&&Oe)||Oe.closed)&&ne.complete()}))})}(()=>ne,ee)}},3680:(ut,be,d)=>{"use strict";d.d(be,{jI:()=>Y});var c=d(5240),r=d(2481);let Y=(()=>{class W{static \u0275fac=function(L){return new(L||W)};static \u0275mod=r.$C({type:W});static \u0275inj=c.G2t({})}return W})()},3683:(ut,be,d)=>{"use strict";d.d(be,{MD:()=>di,T3:()=>xt,YU:()=>Ur,fw:()=>V,vh:()=>Wn});var c=d(5240),r=d(2481),W=(d(9148),d(6763),d(5430));let V=(()=>{class N extends W.hb{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(C,x){super(),this._platformLocation=C,null!=x&&(this._baseHref=x)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(C){this._removeListenerFns.push(this._platformLocation.onPopState(C),this._platformLocation.onHashChange(C))}getBaseHref(){return this._baseHref}path(C=!1){const x=this._platformLocation.hash??"#";return x.length>0?x.substring(1):x}prepareExternalUrl(C){const x=(0,W.om)(this._baseHref,C);return x.length>0?"#"+x:x}pushState(C,x,X,Te){const Qe=this.prepareExternalUrl(X+(0,W.Q)(Te))||this._platformLocation.pathname;this._platformLocation.pushState(C,x,Qe)}replaceState(C,x,X,Te){const Qe=this.prepareExternalUrl(X+(0,W.Q)(Te))||this._platformLocation.pathname;this._platformLocation.replaceState(C,x,Qe)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(C=0){this._platformLocation.historyGo?.(C)}static \u0275fac=function(x){return new(x||N)(c.KVO(W.Vw),c.KVO(W.kB,8))};static \u0275prov=c.jDH({token:N,factory:N.\u0275fac})}return N})();var ee=function(N){return N[N.Format=0]="Format",N[N.Standalone=1]="Standalone",N}(ee||{}),ne=function(N){return N[N.Narrow=0]="Narrow",N[N.Abbreviated=1]="Abbreviated",N[N.Wide=2]="Wide",N[N.Short=3]="Short",N}(ne||{}),he=function(N){return N[N.Short=0]="Short",N[N.Medium=1]="Medium",N[N.Long=2]="Long",N[N.Full=3]="Full",N}(he||{});function Ae(N,O){return E((0,r.kBR)(N)[r.NSC.DateFormat],O)}function ue(N,O){return E((0,r.kBR)(N)[r.NSC.TimeFormat],O)}function Ee(N,O){return E((0,r.kBR)(N)[r.NSC.DateTimeFormat],O)}function xe(N,O){const C=(0,r.kBR)(N),x=C[r.NSC.NumberSymbols][O];if(typeof x>"u"){if(12===O)return C[r.NSC.NumberSymbols][0];if(13===O)return C[r.NSC.NumberSymbols][1]}return x}function Be(N){if(!N[r.NSC.ExtraData])throw new c.buA(2303,!1)}function E(N,O){for(let C=O;C>-1;C--)if(typeof N[C]<"u")return N[C];throw new c.buA(2304,!1)}function H(N){const[O,C]=N.split(":");return{hours:+O,minutes:+C}}const me=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,ke={},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]*)/;function Ot(N,O,C,x){let X=function Yt(N){if(An(N))return N;if("number"==typeof N&&!isNaN(N))return new Date(N);if("string"==typeof N){if(N=N.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(N)){const[X,Te=1,Qe=1]=N.split("-").map(Dt=>+Dt);return St(X,Te-1,Qe)}const C=parseFloat(N);if(!isNaN(N-C))return new Date(C);let x;if(x=N.match(me))return function yn(N){const O=new Date(0);let C=0,x=0;const X=N[8]?O.setUTCFullYear:O.setFullYear,Te=N[8]?O.setUTCHours:O.setHours;N[9]&&(C=Number(N[9]+N[10]),x=Number(N[9]+N[11])),X.call(O,Number(N[1]),Number(N[2])-1,Number(N[3]));const Qe=Number(N[4]||0)-C,Dt=Number(N[5]||0)-x,ln=Number(N[6]||0),rn=Math.floor(1e3*parseFloat("0."+(N[7]||0)));return Te.call(O,Qe,Dt,ln,rn),O}(x)}const O=new Date(N);if(!An(O))throw new c.buA(2302,!1);return O}(N);O=Fe(C,O)||O;let Dt,Qe=[];for(;O;){if(Dt=Ue.exec(O),!Dt){Qe.push(O);break}{Qe=Qe.concat(Dt.slice(1));const _n=Qe.pop();if(!_n)break;O=_n}}let ln=X.getTimezoneOffset();x&&(ln=He(x,ln),X=function Ut(N,O){const X=N.getTimezoneOffset();return function _t(N,O){return(N=new Date(N.getTime())).setMinutes(N.getMinutes()+O),N}(N,-1*(He(O,X)-X))}(X,x));let rn="";return Qe.forEach(_n=>{const Ht=function It(N){if(ze[N])return ze[N];let O;switch(N){case"G":case"GG":case"GGG":O=Tt(3,ne.Abbreviated);break;case"GGGG":O=Tt(3,ne.Wide);break;case"GGGGG":O=Tt(3,ne.Narrow);break;case"y":O=ae(0,1,0,!1,!0);break;case"yy":O=ae(0,2,0,!0,!0);break;case"yyy":O=ae(0,3,0,!1,!0);break;case"yyyy":O=ae(0,4,0,!1,!0);break;case"Y":O=Bt(1);break;case"YY":O=Bt(2,!0);break;case"YYY":O=Bt(3);break;case"YYYY":O=Bt(4);break;case"M":case"L":O=ae(1,1,1);break;case"MM":case"LL":O=ae(1,2,1);break;case"MMM":O=Tt(2,ne.Abbreviated);break;case"MMMM":O=Tt(2,ne.Wide);break;case"MMMMM":O=Tt(2,ne.Narrow);break;case"LLL":O=Tt(2,ne.Abbreviated,ee.Standalone);break;case"LLLL":O=Tt(2,ne.Wide,ee.Standalone);break;case"LLLLL":O=Tt(2,ne.Narrow,ee.Standalone);break;case"w":O=vt(1);break;case"ww":O=vt(2);break;case"W":O=vt(1,!0);break;case"d":O=ae(2,1);break;case"dd":O=ae(2,2);break;case"c":case"cc":O=ae(7,1);break;case"ccc":O=Tt(1,ne.Abbreviated,ee.Standalone);break;case"cccc":O=Tt(1,ne.Wide,ee.Standalone);break;case"ccccc":O=Tt(1,ne.Narrow,ee.Standalone);break;case"cccccc":O=Tt(1,ne.Short,ee.Standalone);break;case"E":case"EE":case"EEE":O=Tt(1,ne.Abbreviated);break;case"EEEE":O=Tt(1,ne.Wide);break;case"EEEEE":O=Tt(1,ne.Narrow);break;case"EEEEEE":O=Tt(1,ne.Short);break;case"a":case"aa":case"aaa":O=Tt(0,ne.Abbreviated);break;case"aaaa":O=Tt(0,ne.Wide);break;case"aaaaa":O=Tt(0,ne.Narrow);break;case"b":case"bb":case"bbb":O=Tt(0,ne.Abbreviated,ee.Standalone,!0);break;case"bbbb":O=Tt(0,ne.Wide,ee.Standalone,!0);break;case"bbbbb":O=Tt(0,ne.Narrow,ee.Standalone,!0);break;case"B":case"BB":case"BBB":O=Tt(0,ne.Abbreviated,ee.Format,!0);break;case"BBBB":O=Tt(0,ne.Wide,ee.Format,!0);break;case"BBBBB":O=Tt(0,ne.Narrow,ee.Format,!0);break;case"h":O=ae(3,1,-12);break;case"hh":O=ae(3,2,-12);break;case"H":O=ae(3,1);break;case"HH":O=ae(3,2);break;case"m":O=ae(4,1);break;case"mm":O=ae(4,2);break;case"s":O=ae(5,1);break;case"ss":O=ae(5,2);break;case"S":O=ae(6,1);break;case"SS":O=ae(6,2);break;case"SSS":O=ae(6,3);break;case"Z":case"ZZ":case"ZZZ":O=tn(0);break;case"ZZZZZ":O=tn(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":O=tn(1);break;case"OOOO":case"ZZZZ":case"zzzz":O=tn(2);break;default:return null}return ze[N]=O,O}(_n);rn+=Ht?Ht(X,C,ln):"''"===_n?"'":_n.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),rn}function St(N,O,C){const x=new Date(0);return x.setFullYear(N,O,C),x.setHours(0,0,0),x}function Fe(N,O){const C=function ie(N){return(0,r.kBR)(N)[r.NSC.LocaleId]}(N);if(ke[C]??={},ke[C][O])return ke[C][O];let x="";switch(O){case"shortDate":x=Ae(N,he.Short);break;case"mediumDate":x=Ae(N,he.Medium);break;case"longDate":x=Ae(N,he.Long);break;case"fullDate":x=Ae(N,he.Full);break;case"shortTime":x=ue(N,he.Short);break;case"mediumTime":x=ue(N,he.Medium);break;case"longTime":x=ue(N,he.Long);break;case"fullTime":x=ue(N,he.Full);break;case"short":const X=Fe(N,"shortTime"),Te=Fe(N,"shortDate");x=Ce(Ee(N,he.Short),[X,Te]);break;case"medium":const Qe=Fe(N,"mediumTime"),Dt=Fe(N,"mediumDate");x=Ce(Ee(N,he.Medium),[Qe,Dt]);break;case"long":const ln=Fe(N,"longTime"),rn=Fe(N,"longDate");x=Ce(Ee(N,he.Long),[ln,rn]);break;case"full":const _n=Fe(N,"fullTime"),Ht=Fe(N,"fullDate");x=Ce(Ee(N,he.Full),[_n,Ht])}return x&&(ke[C][O]=x),x}function Ce(N,O){return O&&(N=N.replace(/\{([^}]+)}/g,function(C,x){return null!=O&&x in O?O[x]:C})),N}function it(N,O,C="-",x,X){let Te="";(N<0||X&&N<=0)&&(X?N=1-N:(N=-N,Te=C));let Qe=String(N);for(;Qe.length0||Dt>-C)&&(Dt+=C),3===N)0===Dt&&-12===C&&(Dt=12);else if(6===N)return function A(N,O){return it(N,3).substring(0,O)}(Dt,O);const ln=xe(Qe,5);return it(Dt,O,ln,x,X)}}function Tt(N,O,C=ee.Format,x=!1){return function(X,Te){return function nn(N,O,C,x,X,Te){switch(C){case 2:return function ye(N,O,C){const x=(0,r.kBR)(N),Te=E([x[r.NSC.MonthsFormat],x[r.NSC.MonthsStandalone]],O);return E(Te,C)}(O,X,x)[N.getMonth()];case 1:return function Le(N,O,C){const x=(0,r.kBR)(N),Te=E([x[r.NSC.DaysFormat],x[r.NSC.DaysStandalone]],O);return E(Te,C)}(O,X,x)[N.getDay()];case 0:const Qe=N.getHours(),Dt=N.getMinutes();if(Te){const rn=function We(N){const O=(0,r.kBR)(N);return Be(O),(O[r.NSC.ExtraData][2]||[]).map(x=>"string"==typeof x?H(x):[H(x[0]),H(x[1])])}(O),_n=function pe(N,O,C){const x=(0,r.kBR)(N);Be(x);const Te=E([x[r.NSC.ExtraData][0],x[r.NSC.ExtraData][1]],O)||[];return E(Te,C)||[]}(O,X,x),Ht=rn.findIndex(Cn=>{if(Array.isArray(Cn)){const[gn,kn]=Cn,Rr=Qe>=gn.hours&&Dt>=gn.minutes,jr=Qe0?Math.floor(X/60):Math.ceil(X/60);switch(N){case 0:return(X>=0?"+":"")+it(Qe,2,Te)+it(Math.abs(X%60),2,Te);case 1:return"GMT"+(X>=0?"+":"")+it(Qe,1,Te);case 2:return"GMT"+(X>=0?"+":"")+it(Qe,2,Te)+":"+it(Math.abs(X%60),2,Te);case 3:return 0===x?"Z":(X>=0?"+":"")+it(Qe,2,Te)+":"+it(Math.abs(X%60),2,Te);default:throw new c.buA(2302,!1)}}}const vn=0,mt=4;function st(N){const O=N.getDay(),C=0===O?-3:mt-O;return St(N.getFullYear(),N.getMonth(),N.getDate()+C)}function vt(N,O=!1){return function(C,x){let X;if(O){const Te=new Date(C.getFullYear(),C.getMonth(),1).getDay()-1,Qe=C.getDate();X=1+Math.floor((Qe+Te)/7)}else{const Te=st(C),Qe=function zt(N){const O=St(N,vn,1).getDay();return St(N,0,1+(O<=mt?mt:mt+7)-O)}(Te.getFullYear()),Dt=Te.getTime()-Qe.getTime();X=1+Math.round(Dt/6048e5)}return it(X,N,xe(x,5))}}function Bt(N,O=!1){return function(C,x){return it(st(C).getFullYear(),N,xe(x,5),O)}}const ze={};function He(N,O){N=N.replace(/:/g,"");const C=Date.parse("Jan 01, 1970 00:00:00 "+N)/6e4;return isNaN(C)?O:C}function An(N){return N instanceof Date&&!isNaN(N.valueOf())}const xn=/\s+/,Bn=[];let Ur=(()=>{class N{_ngEl;_renderer;initialClasses=Bn;rawClass;stateMap=new Map;constructor(C,x){this._ngEl=C,this._renderer=x}set klass(C){this.initialClasses=null!=C?C.trim().split(xn):Bn}set ngClass(C){this.rawClass="string"==typeof C?C.trim().split(xn):C}ngDoCheck(){for(const x of this.initialClasses)this._updateState(x,!0);const C=this.rawClass;if(Array.isArray(C)||C instanceof Set)for(const x of C)this._updateState(x,!0);else if(null!=C)for(const x of Object.keys(C))this._updateState(x,!!C[x]);this._applyStateDiff()}_updateState(C,x){const X=this.stateMap.get(C);void 0!==X?(X.enabled!==x&&(X.changed=!0,X.enabled=x),X.touched=!0):this.stateMap.set(C,{enabled:x,changed:!0,touched:!0})}_applyStateDiff(){for(const C of this.stateMap){const x=C[0],X=C[1];X.changed?(this._toggleClass(x,X.enabled),X.changed=!1):X.touched||(X.enabled&&this._toggleClass(x,!1),this.stateMap.delete(x)),X.touched=!1}}_toggleClass(C,x){(C=C.trim()).length>0&&C.split(xn).forEach(X=>{x?this._renderer.addClass(this._ngEl.nativeElement,X):this._renderer.removeClass(this._ngEl.nativeElement,X)})}static \u0275fac=function(x){return new(x||N)(r.rXU(r.aKT),r.rXU(r.sFG))};static \u0275dir=r.FsC({type:N,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return N})(),xt=(()=>{class N{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(C){this._viewContainerRef=C}ngOnChanges(C){if(this._shouldRecreateView(C)){const x=this._viewContainerRef;if(this._viewRef&&x.remove(x.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const X=this._createContextForwardProxy();this._viewRef=x.createEmbeddedView(this.ngTemplateOutlet,X,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(C){return!!C.ngTemplateOutlet||!!C.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(C,x,X)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,x,X),get:(C,x,X)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,x,X)}})}static \u0275fac=function(x){return new(x||N)(r.rXU(r.c1b))};static \u0275dir=r.FsC({type:N,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[r.OA$]})}return N})();const Sn=new c.nKC(""),bn=new c.nKC("");let Wn=(()=>{class N{locale;defaultTimezone;defaultOptions;constructor(C,x,X){this.locale=C,this.defaultTimezone=x,this.defaultOptions=X}transform(C,x,X,Te){if(null==C||""===C||C!=C)return null;try{return Ot(C,x??this.defaultOptions?.dateFormat??"mediumDate",Te||this.locale,X??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(Qe){throw function je(N,O){return new c.buA(2100,!1)}()}}static \u0275fac=function(x){return new(x||N)(r.rXU(r.xe9,16),r.rXU(Sn,24),r.rXU(bn,24))};static \u0275pipe=r.EJ8({name:"date",type:N,pure:!0})}return N})(),di=(()=>{class N{static \u0275fac=function(x){return new(x||N)};static \u0275mod=r.$C({type:N});static \u0275inj=c.G2t({})}return N})()},3728:function(ut,be,d){var c;ut.exports=(c=d(6609),function(r){var g=c,Y=g.lib,W=Y.WordArray,V=Y.Hasher,q=g.algo,L=[];!function(){for(var le=0;le<64;le++)L[le]=4294967296*r.abs(r.sin(le+1))|0}();var $=q.MD5=V.extend({_doReset:function(){this._hash=new W.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(le,ie){for(var Oe=0;Oe<16;Oe++){var Le=ie+Oe,ye=le[Le];le[Le]=16711935&(ye<<8|ye>>>24)|4278255360&(ye<<24|ye>>>8)}var ve=this._hash.words,Ze=le[ie+0],re=le[ie+1],Ae=le[ie+2],ue=le[ie+3],Ee=le[ie+4],xe=le[ie+5],$e=le[ie+6],rt=le[ie+7],At=le[ie+8],lt=le[ie+9],ft=le[ie+10],at=le[ie+11],Be=le[ie+12],We=le[ie+13],pe=le[ie+14],z=le[ie+15],E=ve[0],H=ve[1],b=ve[2],k=ve[3];E=ee(E,H,b,k,Ze,7,L[0]),k=ee(k,E,H,b,re,12,L[1]),b=ee(b,k,E,H,Ae,17,L[2]),H=ee(H,b,k,E,ue,22,L[3]),E=ee(E,H,b,k,Ee,7,L[4]),k=ee(k,E,H,b,xe,12,L[5]),b=ee(b,k,E,H,$e,17,L[6]),H=ee(H,b,k,E,rt,22,L[7]),E=ee(E,H,b,k,At,7,L[8]),k=ee(k,E,H,b,lt,12,L[9]),b=ee(b,k,E,H,ft,17,L[10]),H=ee(H,b,k,E,at,22,L[11]),E=ee(E,H,b,k,Be,7,L[12]),k=ee(k,E,H,b,We,12,L[13]),b=ee(b,k,E,H,pe,17,L[14]),E=ne(E,H=ee(H,b,k,E,z,22,L[15]),b,k,re,5,L[16]),k=ne(k,E,H,b,$e,9,L[17]),b=ne(b,k,E,H,at,14,L[18]),H=ne(H,b,k,E,Ze,20,L[19]),E=ne(E,H,b,k,xe,5,L[20]),k=ne(k,E,H,b,ft,9,L[21]),b=ne(b,k,E,H,z,14,L[22]),H=ne(H,b,k,E,Ee,20,L[23]),E=ne(E,H,b,k,lt,5,L[24]),k=ne(k,E,H,b,pe,9,L[25]),b=ne(b,k,E,H,ue,14,L[26]),H=ne(H,b,k,E,At,20,L[27]),E=ne(E,H,b,k,We,5,L[28]),k=ne(k,E,H,b,Ae,9,L[29]),b=ne(b,k,E,H,rt,14,L[30]),E=he(E,H=ne(H,b,k,E,Be,20,L[31]),b,k,xe,4,L[32]),k=he(k,E,H,b,At,11,L[33]),b=he(b,k,E,H,at,16,L[34]),H=he(H,b,k,E,pe,23,L[35]),E=he(E,H,b,k,re,4,L[36]),k=he(k,E,H,b,Ee,11,L[37]),b=he(b,k,E,H,rt,16,L[38]),H=he(H,b,k,E,ft,23,L[39]),E=he(E,H,b,k,We,4,L[40]),k=he(k,E,H,b,Ze,11,L[41]),b=he(b,k,E,H,ue,16,L[42]),H=he(H,b,k,E,$e,23,L[43]),E=he(E,H,b,k,lt,4,L[44]),k=he(k,E,H,b,Be,11,L[45]),b=he(b,k,E,H,z,16,L[46]),E=Z(E,H=he(H,b,k,E,Ae,23,L[47]),b,k,Ze,6,L[48]),k=Z(k,E,H,b,rt,10,L[49]),b=Z(b,k,E,H,pe,15,L[50]),H=Z(H,b,k,E,xe,21,L[51]),E=Z(E,H,b,k,Be,6,L[52]),k=Z(k,E,H,b,ue,10,L[53]),b=Z(b,k,E,H,ft,15,L[54]),H=Z(H,b,k,E,re,21,L[55]),E=Z(E,H,b,k,At,6,L[56]),k=Z(k,E,H,b,z,10,L[57]),b=Z(b,k,E,H,$e,15,L[58]),H=Z(H,b,k,E,We,21,L[59]),E=Z(E,H,b,k,Ee,6,L[60]),k=Z(k,E,H,b,at,10,L[61]),b=Z(b,k,E,H,Ae,15,L[62]),H=Z(H,b,k,E,lt,21,L[63]),ve[0]=ve[0]+E|0,ve[1]=ve[1]+H|0,ve[2]=ve[2]+b|0,ve[3]=ve[3]+k|0},_doFinalize:function(){var le=this._data,ie=le.words,Oe=8*this._nDataBytes,Le=8*le.sigBytes;ie[Le>>>5]|=128<<24-Le%32;var ye=r.floor(Oe/4294967296),ve=Oe;ie[15+(Le+64>>>9<<4)]=16711935&(ye<<8|ye>>>24)|4278255360&(ye<<24|ye>>>8),ie[14+(Le+64>>>9<<4)]=16711935&(ve<<8|ve>>>24)|4278255360&(ve<<24|ve>>>8),le.sigBytes=4*(ie.length+1),this._process();for(var Ze=this._hash,re=Ze.words,Ae=0;Ae<4;Ae++){var ue=re[Ae];re[Ae]=16711935&(ue<<8|ue>>>24)|4278255360&(ue<<24|ue>>>8)}return Ze},clone:function(){var le=V.clone.call(this);return le._hash=this._hash.clone(),le}});function ee(le,ie,Oe,Le,ye,ve,Ze){var re=le+(ie&Oe|~ie&Le)+ye+Ze;return(re<>>32-ve)+ie}function ne(le,ie,Oe,Le,ye,ve,Ze){var re=le+(ie&Le|Oe&~Le)+ye+Ze;return(re<>>32-ve)+ie}function he(le,ie,Oe,Le,ye,ve,Ze){var re=le+(ie^Oe^Le)+ye+Ze;return(re<>>32-ve)+ie}function Z(le,ie,Oe,Le,ye,ve,Ze){var re=le+(Oe^(ie|~Le))+ye+Ze;return(re<>>32-ve)+ie}g.MD5=V._createHelper($),g.HmacMD5=V._createHmacHelper($)}(Math),c.MD5)},3855:(ut,be,d)=>{"use strict";d.d(be,{$R:()=>Ur,Lr:()=>ie,Ml:()=>Bt,Qq:()=>Fe,Sx:()=>er,YH:()=>yr,ZZ:()=>Jr,a7:()=>st,cS:()=>me,hv:()=>b,yz:()=>ke});var c=d(9204),r=d(5240),g=d(2481),Y=d(1903),W=d(1567),V=d(9475),q=d(271),L=d(6647),$=d(3942),ne=(d(9835),d(9452)),he=d(6523);class Z{}class le{}class ie{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(Se){Se?"string"==typeof Se?this.lazyInit=()=>{this.headers=new Map,Se.split("\n").forEach(Ie=>{const et=Ie.indexOf(":");if(et>0){const yt=Ie.slice(0,et),pt=Ie.slice(et+1).trim();this.addHeaderEntry(yt,pt)}})}:typeof Headers<"u"&&Se instanceof Headers?(this.headers=new Map,Se.forEach((Ie,et)=>{this.addHeaderEntry(et,Ie)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(Se).forEach(([Ie,et])=>{this.setHeaderEntries(Ie,et)})}:this.headers=new Map}has(Se){return this.init(),this.headers.has(Se.toLowerCase())}get(Se){this.init();const Ie=this.headers.get(Se.toLowerCase());return Ie&&Ie.length>0?Ie[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(Se){return this.init(),this.headers.get(Se.toLowerCase())||null}append(Se,Ie){return this.clone({name:Se,value:Ie,op:"a"})}set(Se,Ie){return this.clone({name:Se,value:Ie,op:"s"})}delete(Se,Ie){return this.clone({name:Se,value:Ie,op:"d"})}maybeSetNormalizedName(Se,Ie){this.normalizedNames.has(Ie)||this.normalizedNames.set(Ie,Se)}init(){this.lazyInit&&(this.lazyInit instanceof ie?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(Se=>this.applyUpdate(Se)),this.lazyUpdate=null))}copyFrom(Se){Se.init(),Array.from(Se.headers.keys()).forEach(Ie=>{this.headers.set(Ie,Se.headers.get(Ie)),this.normalizedNames.set(Ie,Se.normalizedNames.get(Ie))})}clone(Se){const Ie=new ie;return Ie.lazyInit=this.lazyInit&&this.lazyInit instanceof ie?this.lazyInit:this,Ie.lazyUpdate=(this.lazyUpdate||[]).concat([Se]),Ie}applyUpdate(Se){const Ie=Se.name.toLowerCase();switch(Se.op){case"a":case"s":let et=Se.value;if("string"==typeof et&&(et=[et]),0===et.length)return;this.maybeSetNormalizedName(Se.name,Ie);const yt=("a"===Se.op?this.headers.get(Ie):void 0)||[];yt.push(...et),this.headers.set(Ie,yt);break;case"d":const pt=Se.value;if(pt){let xt=this.headers.get(Ie);if(!xt)return;xt=xt.filter(ge=>-1===pt.indexOf(ge)),0===xt.length?(this.headers.delete(Ie),this.normalizedNames.delete(Ie)):this.headers.set(Ie,xt)}else this.headers.delete(Ie),this.normalizedNames.delete(Ie)}}addHeaderEntry(Se,Ie){const et=Se.toLowerCase();this.maybeSetNormalizedName(Se,et),this.headers.has(et)?this.headers.get(et).push(Ie):this.headers.set(et,[Ie])}setHeaderEntries(Se,Ie){const et=(Array.isArray(Ie)?Ie:[Ie]).map(pt=>pt.toString()),yt=Se.toLowerCase();this.headers.set(yt,et),this.maybeSetNormalizedName(Se,yt)}forEach(Se){this.init(),Array.from(this.normalizedNames.keys()).forEach(Ie=>Se(this.normalizedNames.get(Ie),this.headers.get(Ie)))}}class Le{encodeKey(Se){return re(Se)}encodeValue(Se){return re(Se)}decodeKey(Se){return decodeURIComponent(Se)}decodeValue(Se){return decodeURIComponent(Se)}}const ve=/%(\d[a-f0-9])/gi,Ze={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function re(oe){return encodeURIComponent(oe).replace(ve,(Se,Ie)=>Ze[Ie]??Se)}function Ae(oe){return`${oe}`}class ue{map;encoder;updates=null;cloneFrom=null;constructor(Se={}){if(this.encoder=Se.encoder||new Le,Se.fromString){if(Se.fromObject)throw new r.buA(2805,!1);this.map=function ye(oe,Se){const Ie=new Map;return oe.length>0&&oe.replace(/^\?/,"").split("&").forEach(yt=>{const pt=yt.indexOf("="),[xt,ge]=-1==pt?[Se.decodeKey(yt),""]:[Se.decodeKey(yt.slice(0,pt)),Se.decodeValue(yt.slice(pt+1))],je=Ie.get(xt)||[];je.push(ge),Ie.set(xt,je)}),Ie}(Se.fromString,this.encoder)}else Se.fromObject?(this.map=new Map,Object.keys(Se.fromObject).forEach(Ie=>{const et=Se.fromObject[Ie],yt=Array.isArray(et)?et.map(Ae):[Ae(et)];this.map.set(Ie,yt)})):this.map=null}has(Se){return this.init(),this.map.has(Se)}get(Se){this.init();const Ie=this.map.get(Se);return Ie?Ie[0]:null}getAll(Se){return this.init(),this.map.get(Se)||null}keys(){return this.init(),Array.from(this.map.keys())}append(Se,Ie){return this.clone({param:Se,value:Ie,op:"a"})}appendAll(Se){const Ie=[];return Object.keys(Se).forEach(et=>{const yt=Se[et];Array.isArray(yt)?yt.forEach(pt=>{Ie.push({param:et,value:pt,op:"a"})}):Ie.push({param:et,value:yt,op:"a"})}),this.clone(Ie)}set(Se,Ie){return this.clone({param:Se,value:Ie,op:"s"})}delete(Se,Ie){return this.clone({param:Se,value:Ie,op:"d"})}toString(){return this.init(),this.keys().map(Se=>{const Ie=this.encoder.encodeKey(Se);return this.map.get(Se).map(et=>Ie+"="+this.encoder.encodeValue(et)).join("&")}).filter(Se=>""!==Se).join("&")}clone(Se){const Ie=new ue({encoder:this.encoder});return Ie.cloneFrom=this.cloneFrom||this,Ie.updates=(this.updates||[]).concat(Se),Ie}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(Se=>this.map.set(Se,this.cloneFrom.map.get(Se))),this.updates.forEach(Se=>{switch(Se.op){case"a":case"s":const Ie=("a"===Se.op?this.map.get(Se.param):void 0)||[];Ie.push(Ae(Se.value)),this.map.set(Se.param,Ie);break;case"d":if(void 0===Se.value){this.map.delete(Se.param);break}{let et=this.map.get(Se.param)||[];const yt=et.indexOf(Ae(Se.value));-1!==yt&&et.splice(yt,1),et.length>0?this.map.set(Se.param,et):this.map.delete(Se.param)}}}),this.cloneFrom=this.updates=null)}}class xe{map=new Map;set(Se,Ie){return this.map.set(Se,Ie),this}get(Se){return this.map.has(Se)||this.map.set(Se,Se.defaultValue()),this.map.get(Se)}delete(Se){return this.map.delete(Se),this}has(Se){return this.map.has(Se)}keys(){return this.map.keys()}}function rt(oe){return typeof ArrayBuffer<"u"&&oe instanceof ArrayBuffer}function At(oe){return typeof Blob<"u"&&oe instanceof Blob}function lt(oe){return typeof FormData<"u"&&oe instanceof FormData}const at="Content-Type",Be="Accept",We="X-Request-URL",pe="text/plain",z="application/json",E=`${z}, ${pe}, */*`;class H{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(Se,Ie,et,yt){let pt;if(this.url=Ie,this.method=Se.toUpperCase(),function $e(oe){switch(oe){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||yt?(this.body=void 0!==et?et:null,pt=yt):pt=et,pt){if(this.reportProgress=!!pt.reportProgress,this.withCredentials=!!pt.withCredentials,this.keepalive=!!pt.keepalive,pt.responseType&&(this.responseType=pt.responseType),pt.headers&&(this.headers=pt.headers),pt.context&&(this.context=pt.context),pt.params&&(this.params=pt.params),pt.priority&&(this.priority=pt.priority),pt.cache&&(this.cache=pt.cache),pt.credentials&&(this.credentials=pt.credentials),"number"==typeof pt.timeout){if(pt.timeout<1||!Number.isInteger(pt.timeout))throw new r.buA(2822,"");this.timeout=pt.timeout}pt.mode&&(this.mode=pt.mode),pt.redirect&&(this.redirect=pt.redirect),pt.integrity&&(this.integrity=pt.integrity),pt.referrer&&(this.referrer=pt.referrer),this.transferCache=pt.transferCache}if(this.headers??=new ie,this.context??=new xe,this.params){const xt=this.params.toString();if(0===xt.length)this.urlWithParams=Ie;else{const ge=Ie.indexOf("?");this.urlWithParams=Ie+(-1===ge?"?":geWn.set(Zn,Se.setHeaders[Zn]),Tn)),Se.setParams&&(Sn=Object.keys(Se.setParams).reduce((Wn,Zn)=>Wn.set(Zn,Se.setParams[Zn]),Sn)),new H(Ie,et,wn,{params:Sn,headers:Tn,context:bn,reportProgress:dn,responseType:yt,withCredentials:un,transferCache:Xt,keepalive:pt,cache:ge,priority:xt,timeout:Dn,mode:je,redirect:Xe,credentials:ht,referrer:Ct,integrity:Nt})}}var b=function(oe){return oe[oe.Sent=0]="Sent",oe[oe.UploadProgress=1]="UploadProgress",oe[oe.ResponseHeader=2]="ResponseHeader",oe[oe.DownloadProgress=3]="DownloadProgress",oe[oe.Response=4]="Response",oe[oe.User=5]="User",oe}(b||{});class k{headers;status;statusText;url;ok;type;redirected;constructor(Se,Ie=200,et="OK"){this.headers=Se.headers||new ie,this.status=void 0!==Se.status?Se.status:Ie,this.statusText=Se.statusText||et,this.url=Se.url||null,this.redirected=Se.redirected,this.ok=this.status>=200&&this.status<300}}class _e extends k{constructor(Se={}){super(Se)}type=b.ResponseHeader;clone(Se={}){return new _e({headers:Se.headers||this.headers,status:void 0!==Se.status?Se.status:this.status,statusText:Se.statusText||this.statusText,url:Se.url||this.url||void 0})}}class me extends k{body;constructor(Se={}){super(Se),this.body=void 0!==Se.body?Se.body:null}type=b.Response;clone(Se={}){return new me({body:void 0!==Se.body?Se.body:this.body,headers:Se.headers||this.headers,status:void 0!==Se.status?Se.status:this.status,statusText:Se.statusText||this.statusText,url:Se.url||this.url||void 0,redirected:Se.redirected??this.redirected})}}class ke extends k{name="HttpErrorResponse";message;error;ok=!1;constructor(Se){super(Se,0,"Unknown Error"),this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${Se.url||"(unknown url)"}`:`Http failure response for ${Se.url||"(unknown url)"}: ${Se.status} ${Se.statusText}`,this.error=Se.error||null}}function St(oe,Se){return{body:Se,headers:oe.headers,context:oe.context,observe:oe.observe,params:oe.params,reportProgress:oe.reportProgress,responseType:oe.responseType,withCredentials:oe.withCredentials,credentials:oe.credentials,transferCache:oe.transferCache,timeout:oe.timeout,keepalive:oe.keepalive,priority:oe.priority,cache:oe.cache,mode:oe.mode,redirect:oe.redirect,integrity:oe.integrity,referrer:oe.referrer}}let Fe=(()=>{class oe{handler;constructor(Ie){this.handler=Ie}request(Ie,et,yt={}){let pt;if(Ie instanceof H)pt=Ie;else{let je,Xe;je=yt.headers instanceof ie?yt.headers:new ie(yt.headers),yt.params&&(Xe=yt.params instanceof ue?yt.params:new ue({fromObject:yt.params})),pt=new H(Ie,et,void 0!==yt.body?yt.body:null,{headers:je,context:yt.context,params:Xe,reportProgress:yt.reportProgress,responseType:yt.responseType||"json",withCredentials:yt.withCredentials,transferCache:yt.transferCache,keepalive:yt.keepalive,priority:yt.priority,cache:yt.cache,mode:yt.mode,redirect:yt.redirect,credentials:yt.credentials,referrer:yt.referrer,integrity:yt.integrity,timeout:yt.timeout})}const xt=(0,ne.of)(pt).pipe((0,Y.H)(je=>this.handler.handle(je)));if(Ie instanceof H||"events"===yt.observe)return xt;const ge=xt.pipe((0,W.p)(je=>je instanceof me));switch(yt.observe||"body"){case"body":switch(pt.responseType){case"arraybuffer":return ge.pipe((0,q.T)(je=>{if(null!==je.body&&!(je.body instanceof ArrayBuffer))throw new r.buA(2806,!1);return je.body}));case"blob":return ge.pipe((0,q.T)(je=>{if(null!==je.body&&!(je.body instanceof Blob))throw new r.buA(2807,!1);return je.body}));case"text":return ge.pipe((0,q.T)(je=>{if(null!==je.body&&"string"!=typeof je.body)throw new r.buA(2808,!1);return je.body}));default:return ge.pipe((0,q.T)(je=>je.body))}case"response":return ge;default:throw new r.buA(2809,!1)}}delete(Ie,et={}){return this.request("DELETE",Ie,et)}get(Ie,et={}){return this.request("GET",Ie,et)}head(Ie,et={}){return this.request("HEAD",Ie,et)}jsonp(Ie,et){return this.request("JSONP",Ie,{params:(new ue).append(et,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(Ie,et={}){return this.request("OPTIONS",Ie,et)}patch(Ie,et,yt={}){return this.request("PATCH",Ie,St(yt,et))}post(Ie,et,yt={}){return this.request("POST",Ie,St(yt,et))}put(Ie,et,yt={}){return this.request("PUT",Ie,St(yt,et))}static \u0275fac=function(et){return new(et||oe)(r.KVO(Z))};static \u0275prov=r.jDH({token:oe,factory:oe.\u0275fac})}return oe})();const Ce=/^\)\]\}',?\n/;function it(oe){if(oe.url)return oe.url;const Se=We.toLocaleLowerCase();return oe.headers.get(Se)}const A=new r.nKC("");let ae=(()=>{class oe{fetchImpl=(0,r.WQX)(tt,{optional:!0})?.fetch??((...Ie)=>globalThis.fetch(...Ie));ngZone=(0,r.WQX)(g.SKi);destroyRef=(0,r.WQX)(r.abz);destroyed=!1;constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0})}handle(Ie){return new $.c(et=>{const yt=new AbortController;let pt;return this.doRequest(Ie,yt.signal,et).then(Tt,xt=>et.error(new ke({error:xt}))),Ie.timeout&&(pt=this.ngZone.runOutsideAngular(()=>setTimeout(()=>{yt.signal.aborted||yt.abort(new DOMException("signal timed out","TimeoutError"))},Ie.timeout))),()=>{void 0!==pt&&clearTimeout(pt),yt.abort()}})}doRequest(Ie,et,yt){var pt=this;return(0,c.A)(function*(){const xt=pt.createRequestInit(Ie);let ge;try{const wn=pt.ngZone.runOutsideAngular(()=>pt.fetchImpl(Ie.urlWithParams,{signal:et,...xt}));(function tn(oe){oe.then(Tt,Tt)})(wn),yt.next({type:b.Sent}),ge=yield wn}catch(wn){return void yt.error(new ke({error:wn,status:wn.status??0,statusText:wn.statusText,url:Ie.urlWithParams,headers:wn.headers}))}const je=new ie(ge.headers),Xe=ge.statusText,ht=it(ge)??Ie.urlWithParams;let Ct=ge.status,Nt=null;if(Ie.reportProgress&&yt.next(new _e({headers:je,status:Ct,statusText:Xe,url:ht})),ge.body){const wn=ge.headers.get("content-length"),un=[],dn=ge.body.getReader();let Sn,bn,Tn=0;const Wn=typeof Zone<"u"&&Zone.current;let Zn=!1;if(yield pt.ngZone.runOutsideAngular((0,c.A)(function*(){for(;;){if(pt.destroyed){yield dn.cancel(),Zn=!0;break}const{done:tr,value:Gn}=yield dn.read();if(tr)break;if(un.push(Gn),Tn+=Gn.length,Ie.reportProgress){bn="text"===Ie.responseType?(bn??"")+(Sn??=new TextDecoder).decode(Gn,{stream:!0}):void 0;const Jn=()=>yt.next({type:b.DownloadProgress,total:wn?+wn:void 0,loaded:Tn,partialText:bn});Wn?Wn.run(Jn):Jn()}}})),Zn)return void yt.complete();const Tr=pt.concatChunks(un,Tn);try{const tr=ge.headers.get(at)??"";Nt=pt.parseBody(Ie,Tr,tr,Ct)}catch(tr){return void yt.error(new ke({error:tr,headers:new ie(ge.headers),status:ge.status,statusText:ge.statusText,url:it(ge)??Ie.urlWithParams}))}}0===Ct&&(Ct=Nt?200:0);const Dn=ge.redirected;Ct>=200&&Ct<300?(yt.next(new me({body:Nt,headers:je,status:Ct,statusText:Xe,url:ht,redirected:Dn})),yt.complete()):yt.error(new ke({error:Nt,headers:je,status:Ct,statusText:Xe,url:ht,redirected:Dn}))})()}parseBody(Ie,et,yt,pt){switch(Ie.responseType){case"json":const xt=(new TextDecoder).decode(et).replace(Ce,"");if(""===xt)return null;try{return JSON.parse(xt)}catch(ge){if(pt<200||pt>=300)return xt;throw ge}case"text":return(new TextDecoder).decode(et);case"blob":return new Blob([et],{type:yt});case"arraybuffer":return et.buffer}}createRequestInit(Ie){const et={};let yt;if(yt=Ie.credentials,Ie.withCredentials&&(yt="include"),Ie.headers.forEach((pt,xt)=>et[pt]=xt.join(",")),Ie.headers.has(Be)||(et[Be]=E),!Ie.headers.has(at)){const pt=Ie.detectContentTypeHeader();null!==pt&&(et[at]=pt)}return{body:Ie.serializeBody(),method:Ie.method,headers:et,credentials:yt,keepalive:Ie.keepalive,cache:Ie.cache,priority:Ie.priority,mode:Ie.mode,redirect:Ie.redirect,referrer:Ie.referrer,integrity:Ie.integrity}}concatChunks(Ie,et){const yt=new Uint8Array(et);let pt=0;for(const xt of Ie)yt.set(xt,pt),pt+=xt.length;return yt}static \u0275fac=function(et){return new(et||oe)};static \u0275prov=r.jDH({token:oe,factory:oe.\u0275fac})}return oe})();class tt{}function Tt(){}function vn(oe,Se){return Se(oe)}function mt(oe,Se){return(Ie,et)=>Se.intercept(Ie,{handle:yt=>oe(yt,et)})}const st=new r.nKC(""),vt=new r.nKC(""),Bt=new r.nKC(""),ze=new r.nKC("",{providedIn:"root",factory:()=>!0});function It(){let oe=null;return(Se,Ie)=>{null===oe&&(oe=((0,r.WQX)(st,{optional:!0})??[]).reduceRight(mt,vn));const et=(0,r.WQX)(r.u5s);if((0,r.WQX)(ze)){const pt=et.add();return oe(Se,Ie).pipe((0,V.j)(pt))}return oe(Se,Ie)}}let Yt,_t=(()=>{class oe extends Z{backend;injector;chain=null;pendingTasks=(0,r.WQX)(r.u5s);contributeToStability=(0,r.WQX)(ze);constructor(Ie,et){super(),this.backend=Ie,this.injector=et}handle(Ie){if(null===this.chain){const et=Array.from(new Set([...this.injector.get(vt),...this.injector.get(Bt,[])]));this.chain=et.reduceRight((yt,pt)=>function zt(oe,Se,Ie){return(et,yt)=>(0,r.N4e)(Ie,()=>Se(et,pt=>oe(pt,yt)))}(yt,pt,this.injector),vn)}if(this.contributeToStability){const et=this.pendingTasks.add();return this.chain(Ie,yt=>this.backend.handle(yt)).pipe((0,V.j)(et))}return this.chain(Ie,et=>this.backend.handle(et))}static \u0275fac=function(et){return new(et||oe)(r.KVO(le),r.KVO(r.uvJ))};static \u0275prov=r.jDH({token:oe,factory:oe.\u0275fac})}return oe})(),Ut=0;class ct{}function j(){return"object"==typeof window?window:{}}let ce=(()=>{class oe{callbackMap;document;resolvedPromise=Promise.resolve();constructor(Ie,et){this.callbackMap=Ie,this.document=et}nextCallback(){return"ng_jsonp_callback_"+Ut++}handle(Ie){if("JSONP"!==Ie.method)throw new r.buA(2810,!1);if("json"!==Ie.responseType)throw new r.buA(2811,!1);if(Ie.headers.keys().length>0)throw new r.buA(2812,!1);return new $.c(et=>{const yt=this.nextCallback(),pt=Ie.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/,`=${yt}$1`),xt=this.document.createElement("script");xt.src=pt;let ge=null,je=!1;this.callbackMap[yt]=Nt=>{delete this.callbackMap[yt],ge=Nt,je=!0};const Xe=()=>{xt.removeEventListener("load",ht),xt.removeEventListener("error",Ct),xt.remove(),delete this.callbackMap[yt]},ht=()=>{this.resolvedPromise.then(()=>{Xe(),je?(et.next(new me({body:ge,status:200,statusText:"OK",url:pt})),et.complete()):et.error(new ke({url:pt,status:0,statusText:"JSONP Error",error:new Error("JSONP injected script did not invoke callback.")}))})},Ct=Nt=>{Xe(),et.error(new ke({error:Nt,status:0,statusText:"JSONP Error",url:pt}))};return xt.addEventListener("load",ht),xt.addEventListener("error",Ct),this.document.body.appendChild(xt),et.next({type:b.Sent}),()=>{je||this.removeListeners(xt),Xe()}})}removeListeners(Ie){Yt??=this.document.implementation.createHTMLDocument(),Yt.adoptNode(Ie)}static \u0275fac=function(et){return new(et||oe)(r.KVO(ct),r.KVO(r.qQL))};static \u0275prov=r.jDH({token:oe,factory:oe.\u0275fac})}return oe})();function Ge(oe,Se){return"JSONP"===oe.method?(0,r.WQX)(ce).handle(oe):Se(oe)}const wt=/^\)\]\}',?\n/,jt=RegExp(`^${We}:`,"m");let Pn=(()=>{class oe{xhrFactory;constructor(Ie){this.xhrFactory=Ie}handle(Ie){if("JSONP"===Ie.method)throw new r.buA(-2800,!1);const et=this.xhrFactory;return(0,ne.of)(null).pipe((0,L.n)(()=>new $.c(pt=>{const xt=et.build();if(xt.open(Ie.method,Ie.urlWithParams),Ie.withCredentials&&(xt.withCredentials=!0),Ie.headers.forEach((un,dn)=>xt.setRequestHeader(un,dn.join(","))),Ie.headers.has(Be)||xt.setRequestHeader(Be,E),!Ie.headers.has(at)){const un=Ie.detectContentTypeHeader();null!==un&&xt.setRequestHeader(at,un)}if(Ie.timeout&&(xt.timeout=Ie.timeout),Ie.responseType){const un=Ie.responseType.toLowerCase();xt.responseType="json"!==un?un:"text"}const ge=Ie.serializeBody();let je=null;const Xe=()=>{if(null!==je)return je;const un=xt.statusText||"OK",dn=new ie(xt.getAllResponseHeaders()),Tn=function kt(oe){return"responseURL"in oe&&oe.responseURL?oe.responseURL:jt.test(oe.getAllResponseHeaders())?oe.getResponseHeader(We):null}(xt)||Ie.url;return je=new _e({headers:dn,status:xt.status,statusText:un,url:Tn}),je},ht=()=>{let{headers:un,status:dn,statusText:Tn,url:Sn}=Xe(),bn=null;204!==dn&&(bn=typeof xt.response>"u"?xt.responseText:xt.response),0===dn&&(dn=bn?200:0);let Wn=dn>=200&&dn<300;if("json"===Ie.responseType&&"string"==typeof bn){const Zn=bn;bn=bn.replace(wt,"");try{bn=""!==bn?JSON.parse(bn):null}catch(Tr){bn=Zn,Wn&&(Wn=!1,bn={error:Tr,text:bn})}}Wn?(pt.next(new me({body:bn,headers:un,status:dn,statusText:Tn,url:Sn||void 0})),pt.complete()):pt.error(new ke({error:bn,headers:un,status:dn,statusText:Tn,url:Sn||void 0}))},Ct=un=>{const{url:dn}=Xe(),Tn=new ke({error:un,status:xt.status||0,statusText:xt.statusText||"Unknown Error",url:dn||void 0});pt.error(Tn)};let Nt=Ct;Ie.timeout&&(Nt=un=>{const{url:dn}=Xe(),Tn=new ke({error:new DOMException("Request timed out","TimeoutError"),status:xt.status||0,statusText:xt.statusText||"Request timeout",url:dn||void 0});pt.error(Tn)});let Xt=!1;const Dn=un=>{Xt||(pt.next(Xe()),Xt=!0);let dn={type:b.DownloadProgress,loaded:un.loaded};un.lengthComputable&&(dn.total=un.total),"text"===Ie.responseType&&xt.responseText&&(dn.partialText=xt.responseText),pt.next(dn)},wn=un=>{let dn={type:b.UploadProgress,loaded:un.loaded};un.lengthComputable&&(dn.total=un.total),pt.next(dn)};return xt.addEventListener("load",ht),xt.addEventListener("error",Ct),xt.addEventListener("timeout",Nt),xt.addEventListener("abort",Ct),Ie.reportProgress&&(xt.addEventListener("progress",Dn),null!==ge&&xt.upload&&xt.upload.addEventListener("progress",wn)),xt.send(ge),pt.next({type:b.Sent}),()=>{xt.removeEventListener("error",Ct),xt.removeEventListener("abort",Ct),xt.removeEventListener("load",ht),xt.removeEventListener("timeout",Nt),Ie.reportProgress&&(xt.removeEventListener("progress",Dn),null!==ge&&xt.upload&&xt.upload.removeEventListener("progress",wn)),xt.readyState!==xt.DONE&&xt.abort()}})))}static \u0275fac=function(et){return new(et||oe)(r.KVO(he.N))};static \u0275prov=r.jDH({token:oe,factory:oe.\u0275fac})}return oe})();const Vn=new r.nKC(""),$n=new r.nKC("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),ir=new r.nKC("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class On{}let jn=(()=>{class oe{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(Ie,et){this.doc=Ie,this.cookieName=et}getToken(){const Ie=this.doc.cookie||"";return Ie!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,he.b)(Ie,this.cookieName),this.lastCookieString=Ie),this.lastToken}static \u0275fac=function(et){return new(et||oe)(r.KVO(r.qQL),r.KVO($n))};static \u0275prov=r.jDH({token:oe,factory:oe.\u0275fac})}return oe})();function Yn(oe,Se){const Ie=oe.url.toLowerCase();if(!(0,r.WQX)(Vn)||"GET"===oe.method||"HEAD"===oe.method||Ie.startsWith("http://")||Ie.startsWith("https://"))return Se(oe);const et=(0,r.WQX)(On).getToken(),yt=(0,r.WQX)(ir);return null!=et&&!oe.headers.has(yt)&&(oe=oe.clone({headers:oe.headers.set(yt,et)})),Se(oe)}var xn=function(oe){return oe[oe.Interceptors=0]="Interceptors",oe[oe.LegacyInterceptors=1]="LegacyInterceptors",oe[oe.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",oe[oe.NoXsrfProtection=3]="NoXsrfProtection",oe[oe.JsonpSupport=4]="JsonpSupport",oe[oe.RequestsMadeViaParent=5]="RequestsMadeViaParent",oe[oe.Fetch=6]="Fetch",oe}(xn||{});function Bn(oe,Se){return{\u0275kind:oe,\u0275providers:Se}}function Ur(...oe){const Se=[Fe,Pn,_t,{provide:Z,useExisting:_t},{provide:le,useFactory:()=>(0,r.WQX)(A,{optional:!0})??(0,r.WQX)(Pn)},{provide:vt,useValue:Yn,multi:!0},{provide:Vn,useValue:!0},{provide:On,useClass:jn}];for(const Ie of oe)Se.push(...Ie.\u0275providers);return(0,r.EmA)(Se)}const qn=new r.nKC("");function er(){return Bn(xn.LegacyInterceptors,[{provide:qn,useFactory:It},{provide:vt,useExisting:qn,multi:!0}])}function yr(){return Bn(xn.JsonpSupport,[ce,{provide:ct,useFactory:j},{provide:vt,useValue:Ge,multi:!0}])}function Jr(){return Bn(xn.Fetch,[ae,{provide:A,useExisting:ae},{provide:le,useExisting:ae}])}},3900:(ut,be,d)=>{"use strict";d.d(be,{Q:()=>W});var c=d(819),r=d(1687),g=d(2645),Y=d(4318);function W(V){return(0,c.N)((q,L)=>{(0,g.Tg)(V).subscribe((0,r._)(L,()=>L.complete(),Y.l)),!L.closed&&q.subscribe(L)})}},3942:(ut,be,d)=>{"use strict";d.d(be,{c:()=>L});var c=d(9931),r=d(7092),g=d(4127),Y=d(5682),W=d(2213),V=d(1530),q=d(23);let L=(()=>{class he{constructor(le){le&&(this._subscribe=le)}lift(le){const ie=new he;return ie.source=this,ie.operator=le,ie}subscribe(le,ie,Oe){const Le=function ne(he){return he&&he instanceof c.vU||function ee(he){return he&&(0,V.T)(he.next)&&(0,V.T)(he.error)&&(0,V.T)(he.complete)}(he)&&(0,r.Uv)(he)}(le)?le:new c.Ms(le,ie,Oe);return(0,q.Y)(()=>{const{operator:ye,source:ve}=this;Le.add(ye?ye.call(Le,ve):ve?this._subscribe(Le):this._trySubscribe(Le))}),Le}_trySubscribe(le){try{return this._subscribe(le)}catch(ie){le.error(ie)}}forEach(le,ie){return new(ie=$(ie))((Oe,Le)=>{const ye=new c.Ms({next:ve=>{try{le(ve)}catch(Ze){Le(Ze),ye.unsubscribe()}},error:Le,complete:Oe});this.subscribe(ye)})}_subscribe(le){var ie;return null===(ie=this.source)||void 0===ie?void 0:ie.subscribe(le)}[g.s](){return this}pipe(...le){return(0,Y.m)(le)(this)}toPromise(le){return new(le=$(le))((ie,Oe)=>{let Le;this.subscribe(ye=>Le=ye,ye=>Oe(ye),()=>ie(Le))})}}return he.create=Z=>new he(Z),he})();function $(he){var Z;return null!==(Z=he??W.$.Promise)&&void 0!==Z?Z:Promise}},3994:(ut,be,d)=>{"use strict";d.d(be,{pg:()=>mn});var c=d(5240),r=d(2481),g=function(K){return K[K.State=0]="State",K[K.Transition=1]="Transition",K[K.Sequence=2]="Sequence",K[K.Group=3]="Group",K[K.Animate=4]="Animate",K[K.Keyframes=5]="Keyframes",K[K.Style=6]="Style",K[K.Trigger=7]="Trigger",K[K.Reference=8]="Reference",K[K.AnimateChild=9]="AnimateChild",K[K.AnimateRef=10]="AnimateRef",K[K.Query=11]="Query",K[K.Stagger=12]="Stagger",K}(g||{});const Y="*";function $(K){return{type:g.Style,styles:K,offset:null}}class ye{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(l=0,h=0){this.totalTime=l+h}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(l=>l()),this._onDoneFns=[])}onStart(l){this._originalOnStartFns.push(l),this._onStartFns.push(l)}onDone(l){this._originalOnDoneFns.push(l),this._onDoneFns.push(l)}onDestroy(l){this._onDestroyFns.push(l)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(l=>l()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(l=>l()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(l){this._position=this.totalTime?l*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(l){const h="start"==l?this._onStartFns:this._onDoneFns;h.forEach(I=>I()),h.length=0}}class ve{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(l){this.players=l;let h=0,I=0,G=0;const de=this.players.length;0==de?queueMicrotask(()=>this._onFinish()):this.players.forEach(Re=>{Re.onDone(()=>{++h==de&&this._onFinish()}),Re.onDestroy(()=>{++I==de&&this._onDestroy()}),Re.onStart(()=>{++G==de&&this._onStart()})}),this.totalTime=this.players.reduce((Re,Ve)=>Math.max(Re,Ve.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(l=>l()),this._onDoneFns=[])}init(){this.players.forEach(l=>l.init())}onStart(l){this._onStartFns.push(l)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(l=>l()),this._onStartFns=[])}onDone(l){this._onDoneFns.push(l)}onDestroy(l){this._onDestroyFns.push(l)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(l=>l.play())}pause(){this.players.forEach(l=>l.pause())}restart(){this.players.forEach(l=>l.restart())}finish(){this._onFinish(),this.players.forEach(l=>l.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(l=>l.destroy()),this._onDestroyFns.forEach(l=>l()),this._onDestroyFns=[])}reset(){this.players.forEach(l=>l.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(l){const h=l*this.totalTime;this.players.forEach(I=>{const G=I.totalTime?Math.min(1,h/I.totalTime):1;I.setPosition(G)})}getPosition(){const l=this.players.reduce((h,I)=>null===h||I.totalTime>h.totalTime?I:h,null);return null!=l?l.getPosition():0}beforeDestroy(){this.players.forEach(l=>{l.beforeDestroy&&l.beforeDestroy()})}triggerCallback(l){const h="start"==l?this._onStartFns:this._onDoneFns;h.forEach(I=>I()),h.length=0}}function Ae(K){return new c.buA(3e3,!1)}function Be(K){return new c.buA(3002,!1)}function mt(K){switch(K.length){case 0:return new ye;case 1:return K[0];default:return new ve(K)}}function zt(K,l,h=new Map,I=new Map){const G=[],de=[];let Re=-1,Ve=null;if(l.forEach(Je=>{const dt=Je.get("offset"),Wt=dt==Re,Vt=Wt&&Ve||new Map;Je.forEach((In,Mn)=>{let sn=Mn,fn=In;if("offset"!==Mn)switch(sn=K.normalizePropertyName(sn,G),fn){case"!":fn=h.get(Mn);break;case Y:fn=I.get(Mn);break;default:fn=K.normalizeStyleValue(Mn,sn,fn,G)}Vt.set(sn,fn)}),Wt||de.push(Vt),Ve=Vt,Re=dt}),G.length)throw function Pt(){return new c.buA(3502,!1)}();return de}function st(K,l,h,I){switch(l){case"start":K.onStart(()=>I(h&&vt(h,"start",K)));break;case"done":K.onDone(()=>I(h&&vt(h,"done",K)));break;case"destroy":K.onDestroy(()=>I(h&&vt(h,"destroy",K)))}}function vt(K,l,h){const de=Bt(K.element,K.triggerName,K.fromState,K.toState,l||K.phaseName,h.totalTime??K.totalTime,!!h.disabled),Re=K._data;return null!=Re&&(de._data=Re),de}function Bt(K,l,h,I,G="",de=0,Re){return{element:K,triggerName:l,fromState:h,toState:I,phaseName:G,totalTime:de,disabled:!!Re}}function ze(K,l,h){let I=K.get(l);return I||K.set(l,I=h),I}function It(K){const l=K.indexOf(":");return[K.substring(1,l),K.slice(l+1)]}const He=typeof document>"u"?null:document.documentElement;function _t(K){const l=K.parentNode||K.host||null;return l===He?null:l}let Yt=null,yn=!1;function ct(K,l){for(;l;){if(l===K)return!0;l=_t(l)}return!1}function j(K,l,h){if(h)return Array.from(K.querySelectorAll(l));const I=K.querySelector(l);return I?[I]:[]}const wt="ng-enter",jt="ng-leave",kt="ng-trigger",Jt=".ng-trigger",Pn="ng-animating",Vn=".ng-animating";function Ln(K){if("number"==typeof K)return K;const l=K.match(/^(-?[\.\d]+)(m?s)/);return!l||l.length<2?0:$n(parseFloat(l[1]),l[2])}function $n(K,l){return"s"===l?1e3*K:K}function Kn(K,l,h){return K.hasOwnProperty("duration")?K:function On(K,l,h){let I,G=0,de="";if("string"==typeof K){const Re=K.match(ir);if(null===Re)return l.push(Ae()),{duration:0,delay:0,easing:""};I=$n(parseFloat(Re[1]),Re[2]);const Ve=Re[3];null!=Ve&&(G=$n(parseFloat(Ve),Re[4]));const Je=Re[5];Je&&(de=Je)}else I=K;if(!h){let Re=!1,Ve=l.length;I<0&&(l.push(function ue(){return new c.buA(3100,!1)}()),Re=!0),G<0&&(l.push(function Ee(){return new c.buA(3101,!1)}()),Re=!0),Re&&l.splice(Ve,0,Ae())}return{duration:I,delay:G,easing:de}}(K,l,h)}const ir=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i;function Nn(K,l,h){l.forEach((I,G)=>{const de=ur(G);h&&!h.has(G)&&h.set(G,K.style[de]),K.style[de]=I})}function xn(K,l){l.forEach((h,I)=>{const G=ur(I);K.style[G]=""})}function Bn(K){return Array.isArray(K)?1==K.length?K[0]:function L(K,l=null){return{type:g.Sequence,steps:K,options:l}}(K):K}const Or=new RegExp("{{\\s*(.+?)\\s*}}","g");function qn(K){let l=[];if("string"==typeof K){let h;for(;h=Or.exec(K);)l.push(h[1]);Or.lastIndex=0}return l}function er(K,l,h){const I=`${K}`,G=I.replace(Or,(de,Re)=>{let Ve=l[Re];return null==Ve&&(h.push(function $e(){return new c.buA(3003,!1)}()),Ve=""),Ve.toString()});return G==I?K:G}const oi=/-+([a-z0-9])/g;function ur(K){return K.replace(oi,(...l)=>l[1].toUpperCase())}function Un(K,l,h){switch(l.type){case g.Trigger:return K.visitTrigger(l,h);case g.State:return K.visitState(l,h);case g.Transition:return K.visitTransition(l,h);case g.Sequence:return K.visitSequence(l,h);case g.Group:return K.visitGroup(l,h);case g.Animate:return K.visitAnimate(l,h);case g.Keyframes:return K.visitKeyframes(l,h);case g.Style:return K.visitStyle(l,h);case g.Reference:return K.visitReference(l,h);case g.AnimateChild:return K.visitAnimateChild(l,h);case g.AnimateRef:return K.visitAnimateRef(l,h);case g.Query:return K.visitQuery(l,h);case g.Stagger:return K.visitStagger(l,h);default:throw function rt(){return new c.buA(3004,!1)}()}}let sr=(()=>{class K{validateStyleProperty(h){return function An(K){Yt||(Yt=function gt(){return typeof document<"u"?document.body:null}()||{},yn=!!Yt.style&&"WebkitAppearance"in Yt.style);let l=!0;return Yt.style&&!function Ut(K){return"ebkit"==K.substring(1,6)}(K)&&(l=K in Yt.style,!l&&yn&&(l="Webkit"+K.charAt(0).toUpperCase()+K.slice(1)in Yt.style)),l}(h)}containsElement(h,I){return ct(h,I)}getParentElement(h){return _t(h)}query(h,I,G){return j(h,I,G)}computeStyle(h,I,G){return G||""}animate(h,I,G,de,Re,Ve=[],Je){return new ye(G,de)}static \u0275fac=function(I){return new(I||K)};static \u0275prov=c.jDH({token:K,factory:K.\u0275fac})}return K})();class oe{static NOOP=new sr}class Se{}const et=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"]);class yt extends Se{normalizePropertyName(l,h){return ur(l)}normalizeStyleValue(l,h,I,G){let de="";const Re=I.toString().trim();if(et.has(h)&&0!==I&&"0"!==I)if("number"==typeof I)de="px";else{const Ve=I.match(/^[+-]?[\d\.]+([a-z]*)$/);Ve&&0==Ve[1].length&&G.push(function At(){return new c.buA(3005,!1)}())}return Re+de}}const Dn=new Set(["true","1"]),wn=new Set(["false","0"]);function un(K,l){const h=Dn.has(K)||wn.has(K),I=Dn.has(l)||wn.has(l);return(G,de)=>{let Re="*"==K||K==G,Ve="*"==l||l==de;return!Re&&h&&"boolean"==typeof G&&(Re=G?Dn.has(K):wn.has(K)),!Ve&&I&&"boolean"==typeof de&&(Ve=de?Dn.has(l):wn.has(l)),Re&&Ve}}const Tn=new RegExp("s*:selfs*,?","g");function Sn(K,l,h,I){return new Wn(K).build(l,h,I)}class Wn{_driver;constructor(l){this._driver=l}build(l,h,I){const G=new tr(h);return this._resetContextStyleTimingState(G),Un(this,Bn(l),G)}_resetContextStyleTimingState(l){l.currentQuerySelector="",l.collectedStyles=new Map,l.collectedStyles.set("",new Map),l.currentTime=0}visitTrigger(l,h){let I=h.queryCount=0,G=h.depCount=0;const de=[],Re=[];return"@"==l.name.charAt(0)&&h.errors.push(function lt(){return new c.buA(3006,!1)}()),l.definitions.forEach(Ve=>{if(this._resetContextStyleTimingState(h),Ve.type==g.State){const Je=Ve,dt=Je.name;dt.toString().split(/\s*,\s*/).forEach(Wt=>{Je.name=Wt,de.push(this.visitState(Je,h))}),Je.name=dt}else if(Ve.type==g.Transition){const Je=this.visitTransition(Ve,h);I+=Je.queryCount,G+=Je.depCount,Re.push(Je)}else h.errors.push(function ft(){return new c.buA(3007,!1)}())}),{type:g.Trigger,name:l.name,states:de,transitions:Re,queryCount:I,depCount:G,options:null}}visitState(l,h){const I=this.visitStyle(l.styles,h),G=l.options&&l.options.params||null;if(I.containsDynamicStyles){const de=new Set,Re=G||{};I.styles.forEach(Ve=>{Ve instanceof Map&&Ve.forEach(Je=>{qn(Je).forEach(dt=>{Re.hasOwnProperty(dt)||de.add(dt)})})}),de.size&&h.errors.push(function at(){return new c.buA(3008,!1)}(0,de.values()))}return{type:g.State,name:l.name,style:I,options:G?{params:G}:null}}visitTransition(l,h){h.queryCount=0,h.depCount=0;const I=Un(this,Bn(l.animation),h),G=function Ct(K,l){const h=[];return"string"==typeof K?K.split(/\s*,\s*/).forEach(I=>function Nt(K,l,h){if(":"==K[0]){const Je=function Xt(K,l){switch(K){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(h,I)=>parseFloat(I)>parseFloat(h);case":decrement":return(h,I)=>parseFloat(I) *"}}(K,h);if("function"==typeof Je)return void l.push(Je);K=Je}const I=K.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==I||I.length<4)return h.push(function _e(){return new c.buA(3015,!1)}()),l;const G=I[1],de=I[2],Re=I[3];l.push(un(G,Re)),"<"==de[0]&&("*"!=G||"*"!=Re)&&l.push(un(Re,G))}(I,h,l)):h.push(K),h}(l.expr,h.errors);return{type:g.Transition,matchers:G,animation:I,queryCount:h.queryCount,depCount:h.depCount,options:nr(l.options)}}visitSequence(l,h){return{type:g.Sequence,steps:l.steps.map(I=>Un(this,I,h)),options:nr(l.options)}}visitGroup(l,h){const I=h.currentTime;let G=0;const de=l.steps.map(Re=>{h.currentTime=I;const Ve=Un(this,Re,h);return G=Math.max(G,h.currentTime),Ve});return h.currentTime=G,{type:g.Group,steps:de,options:nr(l.options)}}visitAnimate(l,h){const I=function Jn(K,l){if(K.hasOwnProperty("duration"))return K;if("number"==typeof K)return Qn(Kn(K,l).duration,0,"");const h=K;if(h.split(/\s+/).some(de=>"{"==de.charAt(0)&&"{"==de.charAt(1))){const de=Qn(0,0,"");return de.dynamic=!0,de.strValue=h,de}const G=Kn(h,l);return Qn(G.duration,G.delay,G.easing)}(l.timings,h.errors);h.currentAnimateTimings=I;let G,de=l.styles?l.styles:$({});if(de.type==g.Keyframes)G=this.visitKeyframes(de,h);else{let Re=l.styles,Ve=!1;if(!Re){Ve=!0;const dt={};I.easing&&(dt.easing=I.easing),Re=$(dt)}h.currentTime+=I.duration+I.delay;const Je=this.visitStyle(Re,h);Je.isEmptyStep=Ve,G=Je}return h.currentAnimateTimings=null,{type:g.Animate,timings:I,style:G,options:null}}visitStyle(l,h){const I=this._makeStyleAst(l,h);return this._validateStyleAst(I,h),I}_makeStyleAst(l,h){const I=[],G=Array.isArray(l.styles)?l.styles:[l.styles];for(let Ve of G)"string"==typeof Ve?Ve===Y?I.push(Ve):h.errors.push(Be()):I.push(new Map(Object.entries(Ve)));let de=!1,Re=null;return I.forEach(Ve=>{if(Ve instanceof Map&&(Ve.has("easing")&&(Re=Ve.get("easing"),Ve.delete("easing")),!de))for(let Je of Ve.values())if(Je.toString().indexOf("{{")>=0){de=!0;break}}),{type:g.Style,styles:I,easing:Re,offset:l.offset,containsDynamicStyles:de,options:null}}_validateStyleAst(l,h){const I=h.currentAnimateTimings;let G=h.currentTime,de=h.currentTime;I&&de>0&&(de-=I.duration+I.delay),l.styles.forEach(Re=>{"string"!=typeof Re&&Re.forEach((Ve,Je)=>{const dt=h.collectedStyles.get(h.currentQuerySelector),Wt=dt.get(Je);let Vt=!0;Wt&&(de!=G&&de>=Wt.startTime&&G<=Wt.endTime&&(h.errors.push(function We(){return new c.buA(3010,!1)}()),Vt=!1),de=Wt.startTime),Vt&&dt.set(Je,{startTime:de,endTime:G}),h.options&&function Ur(K,l,h){const I=l.params||{},G=qn(K);G.length&&G.forEach(de=>{I.hasOwnProperty(de)||h.push(function xe(){return new c.buA(3001,!1)}())})}(Ve,h.options,h.errors)})})}visitKeyframes(l,h){const I={type:g.Keyframes,styles:[],options:null};if(!h.currentAnimateTimings)return h.errors.push(function pe(){return new c.buA(3011,!1)}()),I;let de=0;const Re=[];let Ve=!1,Je=!1,dt=0;const Wt=l.steps.map(ar=>{const pr=this._makeStyleAst(ar,h);let Xr=null!=pr.offset?pr.offset:function Gn(K){if("string"==typeof K)return null;let l=null;if(Array.isArray(K))K.forEach(h=>{if(h instanceof Map&&h.has("offset")){const I=h;l=parseFloat(I.get("offset")),I.delete("offset")}});else if(K instanceof Map&&K.has("offset")){const h=K;l=parseFloat(h.get("offset")),h.delete("offset")}return l}(pr.styles),Ar=0;return null!=Xr&&(de++,Ar=pr.offset=Xr),Je=Je||Ar<0||Ar>1,Ve=Ve||Ar0&&de{const Xr=In>0?pr==Mn?1:In*pr:Re[pr],Ar=Xr*Xn;h.currentTime=sn+fn.delay+Ar,fn.duration=Ar,this._validateStyleAst(ar,h),ar.offset=Xr,I.styles.push(ar)}),I}visitReference(l,h){return{type:g.Reference,animation:Un(this,Bn(l.animation),h),options:nr(l.options)}}visitAnimateChild(l,h){return h.depCount++,{type:g.AnimateChild,options:nr(l.options)}}visitAnimateRef(l,h){return{type:g.AnimateRef,animation:this.visitReference(l.animation,h),options:nr(l.options)}}visitQuery(l,h){const I=h.currentQuerySelector,G=l.options||{};h.queryCount++,h.currentQuery=l;const[de,Re]=function Zn(K){const l=!!K.split(/\s*,\s*/).find(h=>":self"==h);return l&&(K=K.replace(Tn,"")),K=K.replace(/@\*/g,Jt).replace(/@\w+/g,h=>Jt+"-"+h.slice(1)).replace(/:animating/g,Vn),[K,l]}(l.selector);h.currentQuerySelector=I.length?I+" "+de:de,ze(h.collectedStyles,h.currentQuerySelector,new Map);const Ve=Un(this,Bn(l.animation),h);return h.currentQuery=null,h.currentQuerySelector=I,{type:g.Query,selector:de,limit:G.limit||0,optional:!!G.optional,includeSelf:Re,animation:Ve,originalSelector:l.selector,options:nr(l.options)}}visitStagger(l,h){h.currentQuery||h.errors.push(function b(){return new c.buA(3013,!1)}());const I="full"===l.timings?{duration:0,delay:0,easing:"full"}:Kn(l.timings,h.errors,!0);return{type:g.Stagger,animation:Un(this,Bn(l.animation),h),timings:I,options:null}}}class tr{errors;queryCount=0;depCount=0;currentTransition=null;currentQuery=null;currentQuerySelector=null;currentAnimateTimings=null;currentTime=0;collectedStyles=new Map;options=null;unsupportedCSSPropertiesFound=new Set;constructor(l){this.errors=l}}function nr(K){return K?(K={...K}).params&&(K.params=function Tr(K){return K?{...K}:null}(K.params)):K={},K}function Qn(K,l,h){return{duration:K,delay:l,easing:h}}function Sr(K,l,h,I,G,de,Re=null,Ve=!1){return{type:1,element:K,keyframes:l,preStyleProps:h,postStyleProps:I,duration:G,delay:de,totalTime:G+de,easing:Re,subTimeline:Ve}}class Er{_map=new Map;get(l){return this._map.get(l)||[]}append(l,h){let I=this._map.get(l);I||this._map.set(l,I=[]),I.push(...h)}has(l){return this._map.has(l)}clear(){this._map.clear()}}const Vr=new RegExp(":enter","g"),Bi=new RegExp(":leave","g");function di(K,l,h,I,G,de=new Map,Re=new Map,Ve,Je,dt=[]){return(new N).buildKeyframes(K,l,h,I,G,de,Re,Ve,Je,dt)}class N{buildKeyframes(l,h,I,G,de,Re,Ve,Je,dt,Wt=[]){dt=dt||new Er;const Vt=new C(l,h,dt,G,de,Wt,[]);Vt.options=Je;const In=Je.delay?Ln(Je.delay):0;Vt.currentTimeline.delayNextStep(In),Vt.currentTimeline.setStyles([Re],null,Vt.errors,Je),Un(this,I,Vt);const Mn=Vt.timelines.filter(sn=>sn.containsAnimation());if(Mn.length&&Ve.size){let sn;for(let fn=Mn.length-1;fn>=0;fn--){const Xn=Mn[fn];if(Xn.element===h){sn=Xn;break}}sn&&!sn.allowOnlyTimelineStyles()&&sn.setStyles([Ve],null,Vt.errors,Je)}return Mn.length?Mn.map(sn=>sn.buildKeyframes()):[Sr(h,[],[],[],0,In,"",!1)]}visitTrigger(l,h){}visitState(l,h){}visitTransition(l,h){}visitAnimateChild(l,h){const I=h.subInstructions.get(h.element);if(I){const G=h.createSubContext(l.options),de=h.currentTimeline.currentTime,Re=this._visitSubInstructions(I,G,G.options);de!=Re&&h.transformIntoNewTimeline(Re)}h.previousNode=l}visitAnimateRef(l,h){const I=h.createSubContext(l.options);I.transformIntoNewTimeline(),this._applyAnimationRefDelays([l.options,l.animation.options],h,I),this.visitReference(l.animation,I),h.transformIntoNewTimeline(I.currentTimeline.currentTime),h.previousNode=l}_applyAnimationRefDelays(l,h,I){for(const G of l){const de=G?.delay;if(de){const Re="number"==typeof de?de:Ln(er(de,G?.params??{},h.errors));I.delayNextStep(Re)}}}_visitSubInstructions(l,h,I){let de=h.currentTimeline.currentTime;const Re=null!=I.duration?Ln(I.duration):null,Ve=null!=I.delay?Ln(I.delay):null;return 0!==Re&&l.forEach(Je=>{const dt=h.appendInstructionToTimeline(Je,Re,Ve);de=Math.max(de,dt.duration+dt.delay)}),de}visitReference(l,h){h.updateOptions(l.options,!0),Un(this,l.animation,h),h.previousNode=l}visitSequence(l,h){const I=h.subContextCount;let G=h;const de=l.options;if(de&&(de.params||de.delay)&&(G=h.createSubContext(de),G.transformIntoNewTimeline(),null!=de.delay)){G.previousNode.type==g.Style&&(G.currentTimeline.snapshotCurrentStyles(),G.previousNode=O);const Re=Ln(de.delay);G.delayNextStep(Re)}l.steps.length&&(l.steps.forEach(Re=>Un(this,Re,G)),G.currentTimeline.applyStylesToKeyframe(),G.subContextCount>I&&G.transformIntoNewTimeline()),h.previousNode=l}visitGroup(l,h){const I=[];let G=h.currentTimeline.currentTime;const de=l.options&&l.options.delay?Ln(l.options.delay):0;l.steps.forEach(Re=>{const Ve=h.createSubContext(l.options);de&&Ve.delayNextStep(de),Un(this,Re,Ve),G=Math.max(G,Ve.currentTimeline.currentTime),I.push(Ve.currentTimeline)}),I.forEach(Re=>h.currentTimeline.mergeTimelineCollectedStyles(Re)),h.transformIntoNewTimeline(G),h.previousNode=l}_visitTiming(l,h){if(l.dynamic){const I=l.strValue;return Kn(h.params?er(I,h.params,h.errors):I,h.errors)}return{duration:l.duration,delay:l.delay,easing:l.easing}}visitAnimate(l,h){const I=h.currentAnimateTimings=this._visitTiming(l.timings,h),G=h.currentTimeline;I.delay&&(h.incrementTime(I.delay),G.snapshotCurrentStyles());const de=l.style;de.type==g.Keyframes?this.visitKeyframes(de,h):(h.incrementTime(I.duration),this.visitStyle(de,h),G.applyStylesToKeyframe()),h.currentAnimateTimings=null,h.previousNode=l}visitStyle(l,h){const I=h.currentTimeline,G=h.currentAnimateTimings;!G&&I.hasCurrentStyleProperties()&&I.forwardFrame();const de=G&&G.easing||l.easing;l.isEmptyStep?I.applyEmptyStep(de):I.setStyles(l.styles,de,h.errors,h.options),h.previousNode=l}visitKeyframes(l,h){const I=h.currentAnimateTimings,G=h.currentTimeline.duration,de=I.duration,Ve=h.createSubContext().currentTimeline;Ve.easing=I.easing,l.styles.forEach(Je=>{Ve.forwardTime((Je.offset||0)*de),Ve.setStyles(Je.styles,Je.easing,h.errors,h.options),Ve.applyStylesToKeyframe()}),h.currentTimeline.mergeTimelineCollectedStyles(Ve),h.transformIntoNewTimeline(G+de),h.previousNode=l}visitQuery(l,h){const I=h.currentTimeline.currentTime,G=l.options||{},de=G.delay?Ln(G.delay):0;de&&(h.previousNode.type===g.Style||0==I&&h.currentTimeline.hasCurrentStyleProperties())&&(h.currentTimeline.snapshotCurrentStyles(),h.previousNode=O);let Re=I;const Ve=h.invokeQuery(l.selector,l.originalSelector,l.limit,l.includeSelf,!!G.optional,h.errors);h.currentQueryTotal=Ve.length;let Je=null;Ve.forEach((dt,Wt)=>{h.currentQueryIndex=Wt;const Vt=h.createSubContext(l.options,dt);de&&Vt.delayNextStep(de),dt===h.element&&(Je=Vt.currentTimeline),Un(this,l.animation,Vt),Vt.currentTimeline.applyStylesToKeyframe(),Re=Math.max(Re,Vt.currentTimeline.currentTime)}),h.currentQueryIndex=0,h.currentQueryTotal=0,h.transformIntoNewTimeline(Re),Je&&(h.currentTimeline.mergeTimelineCollectedStyles(Je),h.currentTimeline.snapshotCurrentStyles()),h.previousNode=l}visitStagger(l,h){const I=h.parentContext,G=h.currentTimeline,de=l.timings,Re=Math.abs(de.duration),Ve=Re*(h.currentQueryTotal-1);let Je=Re*h.currentQueryIndex;switch(de.duration<0?"reverse":de.easing){case"reverse":Je=Ve-Je;break;case"full":Je=I.currentStaggerTime}const Wt=h.currentTimeline;Je&&Wt.delayNextStep(Je);const Vt=Wt.currentTime;Un(this,l.animation,h),h.previousNode=l,I.currentStaggerTime=G.currentTime-Vt+(G.startTime-I.currentTimeline.startTime)}}const O={};class C{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=O;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(l,h,I,G,de,Re,Ve,Je){this._driver=l,this.element=h,this.subInstructions=I,this._enterClassName=G,this._leaveClassName=de,this.errors=Re,this.timelines=Ve,this.currentTimeline=Je||new x(this._driver,h,0),Ve.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(l,h){if(!l)return;const I=l;let G=this.options;null!=I.duration&&(G.duration=Ln(I.duration)),null!=I.delay&&(G.delay=Ln(I.delay));const de=I.params;if(de){let Re=G.params;Re||(Re=this.options.params={}),Object.keys(de).forEach(Ve=>{(!h||!Re.hasOwnProperty(Ve))&&(Re[Ve]=er(de[Ve],Re,this.errors))})}}_copyOptions(){const l={};if(this.options){const h=this.options.params;if(h){const I=l.params={};Object.keys(h).forEach(G=>{I[G]=h[G]})}}return l}createSubContext(l=null,h,I){const G=h||this.element,de=new C(this._driver,G,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(G,I||0));return de.previousNode=this.previousNode,de.currentAnimateTimings=this.currentAnimateTimings,de.options=this._copyOptions(),de.updateOptions(l),de.currentQueryIndex=this.currentQueryIndex,de.currentQueryTotal=this.currentQueryTotal,de.parentContext=this,this.subContextCount++,de}transformIntoNewTimeline(l){return this.previousNode=O,this.currentTimeline=this.currentTimeline.fork(this.element,l),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(l,h,I){const G={duration:h??l.duration,delay:this.currentTimeline.currentTime+(I??0)+l.delay,easing:""},de=new X(this._driver,l.element,l.keyframes,l.preStyleProps,l.postStyleProps,G,l.stretchStartingKeyframe);return this.timelines.push(de),G}incrementTime(l){this.currentTimeline.forwardTime(this.currentTimeline.duration+l)}delayNextStep(l){l>0&&this.currentTimeline.delayNextStep(l)}invokeQuery(l,h,I,G,de,Re){let Ve=[];if(G&&Ve.push(this.element),l.length>0){l=(l=l.replace(Vr,"."+this._enterClassName)).replace(Bi,"."+this._leaveClassName);let dt=this._driver.query(this.element,l,1!=I);0!==I&&(dt=I<0?dt.slice(dt.length+I,dt.length):dt.slice(0,I)),Ve.push(...dt)}return!de&&0==Ve.length&&Re.push(function k(){return new c.buA(3014,!1)}()),Ve}}class x{_driver;element;startTime;_elementTimelineStylesLookup;duration=0;easing=null;_previousKeyframe=new Map;_currentKeyframe=new Map;_keyframes=new Map;_styleSummary=new Map;_localTimelineStyles=new Map;_globalTimelineStyles;_pendingStyles=new Map;_backFill=new Map;_currentEmptyStepKeyframe=null;constructor(l,h,I,G){this._driver=l,this.element=h,this.startTime=I,this._elementTimelineStylesLookup=G,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(h),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(h,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(l){const h=1===this._keyframes.size&&this._pendingStyles.size;this.duration||h?(this.forwardTime(this.currentTime+l),h&&this.snapshotCurrentStyles()):this.startTime+=l}fork(l,h){return this.applyStylesToKeyframe(),new x(this._driver,l,h||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+=1,this._loadKeyframe()}forwardTime(l){this.applyStylesToKeyframe(),this.duration=l,this._loadKeyframe()}_updateStyle(l,h){this._localTimelineStyles.set(l,h),this._globalTimelineStyles.set(l,h),this._styleSummary.set(l,{time:this.currentTime,value:h})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(l){l&&this._previousKeyframe.set("easing",l);for(let[h,I]of this._globalTimelineStyles)this._backFill.set(h,I||Y),this._currentKeyframe.set(h,Y);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(l,h,I,G){h&&this._previousKeyframe.set("easing",h);const de=G&&G.params||{},Re=function Qe(K,l){const h=new Map;let I;return K.forEach(G=>{if("*"===G){I??=l.keys();for(let de of I)h.set(de,Y)}else for(let[de,Re]of G)h.set(de,Re)}),h}(l,this._globalTimelineStyles);for(let[Ve,Je]of Re){const dt=er(Je,de,I);this._pendingStyles.set(Ve,dt),this._localTimelineStyles.has(Ve)||this._backFill.set(Ve,this._globalTimelineStyles.get(Ve)??Y),this._updateStyle(Ve,dt)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((l,h)=>{this._currentKeyframe.set(h,l)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((l,h)=>{this._currentKeyframe.has(h)||this._currentKeyframe.set(h,l)}))}snapshotCurrentStyles(){for(let[l,h]of this._localTimelineStyles)this._pendingStyles.set(l,h),this._updateStyle(l,h)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const l=[];for(let h in this._currentKeyframe)l.push(h);return l}mergeTimelineCollectedStyles(l){l._styleSummary.forEach((h,I)=>{const G=this._styleSummary.get(I);(!G||h.time>G.time)&&this._updateStyle(I,h.value)})}buildKeyframes(){this.applyStylesToKeyframe();const l=new Set,h=new Set,I=1===this._keyframes.size&&0===this.duration;let G=[];this._keyframes.forEach((Ve,Je)=>{const dt=new Map([...this._backFill,...Ve]);dt.forEach((Wt,Vt)=>{"!"===Wt?l.add(Vt):Wt===Y&&h.add(Vt)}),I||dt.set("offset",Je/this.duration),G.push(dt)});const de=[...l.values()],Re=[...h.values()];if(I){const Ve=G[0],Je=new Map(Ve);Ve.set("offset",0),Je.set("offset",1),G=[Ve,Je]}return Sr(this.element,G,de,Re,this.duration,this.startTime,this.easing,!1)}}class X extends x{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(l,h,I,G,de,Re,Ve=!1){super(l,h,Re.delay),this.keyframes=I,this.preStyleProps=G,this.postStyleProps=de,this._stretchStartingKeyframe=Ve,this.timings={duration:Re.duration,delay:Re.delay,easing:Re.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let l=this.keyframes,{delay:h,duration:I,easing:G}=this.timings;if(this._stretchStartingKeyframe&&h){const de=[],Re=I+h,Ve=h/Re,Je=new Map(l[0]);Je.set("offset",0),de.push(Je);const dt=new Map(l[0]);dt.set("offset",Te(Ve)),de.push(dt);const Wt=l.length-1;for(let Vt=1;Vt<=Wt;Vt++){let In=new Map(l[Vt]);const Mn=In.get("offset");In.set("offset",Te((h+Mn*I)/Re)),de.push(In)}I=Re,h=0,G="",l=de}return Sr(this.element,l,this.preStyleProps,this.postStyleProps,I,h,G,!0)}}function Te(K,l=3){const h=Math.pow(10,l-1);return Math.round(K*h)/h}function Dt(K,l,h,I,G,de,Re,Ve,Je,dt,Wt,Vt,In){return{type:0,element:K,triggerName:l,isRemovalTransition:G,fromState:h,fromStyles:de,toState:I,toStyles:Re,timelines:Ve,queriedElements:Je,preStyleProps:dt,postStyleProps:Wt,totalTime:Vt,errors:In}}const ln={};class rn{_triggerName;ast;_stateStyles;constructor(l,h,I){this._triggerName=l,this.ast=h,this._stateStyles=I}match(l,h,I,G){return function Ht(K,l,h,I,G){return K.some(de=>de(l,h,I,G))}(this.ast.matchers,l,h,I,G)}buildStyles(l,h,I){let G=this._stateStyles.get("*");return void 0!==l&&(G=this._stateStyles.get(l?.toString())||G),G?G.buildStyles(h,I):new Map}build(l,h,I,G,de,Re,Ve,Je,dt,Wt){const Vt=[],In=this.ast.options&&this.ast.options.params||ln,sn=this.buildStyles(I,Ve&&Ve.params||ln,Vt),fn=Je&&Je.params||ln,Xn=this.buildStyles(G,fn,Vt),ar=new Set,pr=new Map,Xr=new Map,Ar="void"===G,zi={params:Cn(fn,In),delay:this.ast.options?.delay},ci=Wt?[]:di(l,h,this.ast.animation,de,Re,sn,Xn,zi,dt,Vt);let Br=0;return ci.forEach(Yr=>{Br=Math.max(Yr.duration+Yr.delay,Br)}),Vt.length?Dt(h,this._triggerName,I,G,Ar,sn,Xn,[],[],pr,Xr,Br,Vt):(ci.forEach(Yr=>{const Li=Yr.element,Ji=ze(pr,Li,new Set);Yr.preStyleProps.forEach(xi=>Ji.add(xi));const gs=ze(Xr,Li,new Set);Yr.postStyleProps.forEach(xi=>gs.add(xi)),Li!==h&&ar.add(Li)}),Dt(h,this._triggerName,I,G,Ar,sn,Xn,ci,[...ar.values()],pr,Xr,Br))}}function Cn(K,l){const h={...l};return Object.entries(K).forEach(([I,G])=>{null!=G&&(h[I]=G)}),h}class gn{styles;defaultParams;normalizer;constructor(l,h,I){this.styles=l,this.defaultParams=h,this.normalizer=I}buildStyles(l,h){const I=new Map,G=Cn(l,this.defaultParams);return this.styles.styles.forEach(de=>{"string"!=typeof de&&de.forEach((Re,Ve)=>{Re&&(Re=er(Re,G,h));const Je=this.normalizer.normalizePropertyName(Ve,h);Re=this.normalizer.normalizeStyleValue(Ve,Je,Re,h),I.set(Ve,Re)})}),I}}class Rr{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(l,h,I){this.name=l,this.ast=h,this._normalizer=I,h.states.forEach(G=>{this.states.set(G.name,new gn(G.style,G.options&&G.options.params||{},I))}),fi(this.states,"true","1"),fi(this.states,"false","0"),h.transitions.forEach(G=>{this.transitionFactories.push(new rn(l,G,this.states))}),this.fallbackTransition=function jr(K,l){return new rn(K,{type:g.Transition,animation:{type:g.Sequence,steps:[],options:null},matchers:[(Re,Ve)=>!0],options:null,queryCount:0,depCount:0},l)}(l,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(l,h,I,G){return this.transitionFactories.find(Re=>Re.match(l,h,I,G))||null}matchStyles(l,h,I){return this.fallbackTransition.buildStyles(l,h,I)}}function fi(K,l,h){K.has(l)?K.has(h)||K.set(h,K.get(l)):K.has(h)&&K.set(l,K.get(h))}const hr=new Er;class Hr{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(l,h,I){this.bodyNode=l,this._driver=h,this._normalizer=I}register(l,h){const I=[],de=Sn(this._driver,h,I,[]);if(I.length)throw function St(){return new c.buA(3503,!1)}();this._animations.set(l,de)}_buildPlayer(l,h,I){const G=l.element,de=zt(this._normalizer,l.keyframes,h,I);return this._driver.animate(G,de,l.duration,l.delay,l.easing,[],!0)}create(l,h,I={}){const G=[],de=this._animations.get(l);let Re;const Ve=new Map;if(de?(Re=di(this._driver,h,de,wt,jt,new Map,new Map,I,hr,G),Re.forEach(Wt=>{const Vt=ze(Ve,Wt.element,new Map);Wt.postStyleProps.forEach(In=>Vt.set(In,null))})):(G.push(function Fe(){return new c.buA(3300,!1)}()),Re=[]),G.length)throw function Ce(){return new c.buA(3504,!1)}();Ve.forEach((Wt,Vt)=>{Wt.forEach((In,Mn)=>{Wt.set(Mn,this._driver.computeStyle(Vt,Mn,Y))})});const dt=mt(Re.map(Wt=>{const Vt=Ve.get(Wt.element);return this._buildPlayer(Wt,new Map,Vt)}));return this._playersById.set(l,dt),dt.onDestroy(()=>this.destroy(l)),this.players.push(dt),dt}destroy(l){const h=this._getPlayer(l);h.destroy(),this._playersById.delete(l);const I=this.players.indexOf(h);I>=0&&this.players.splice(I,1)}_getPlayer(l){const h=this._playersById.get(l);if(!h)throw function it(){return new c.buA(3301,!1)}();return h}listen(l,h,I,G){const de=Bt(h,"","","");return st(this._getPlayer(l),I,de,G),()=>{}}command(l,h,I,G){if("register"==I)return void this.register(l,G[0]);if("create"==I)return void this.create(l,h,G[0]||{});const de=this._getPlayer(l);switch(I){case"play":de.play();break;case"pause":de.pause();break;case"reset":de.reset();break;case"restart":de.restart();break;case"finish":de.finish();break;case"init":de.init();break;case"setPosition":de.setPosition(parseFloat(G[0]));break;case"destroy":this.destroy(l)}}}const Cr="ng-animate-queued",$r="ng-animate-disabled",yi=[],os={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Hi={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Lr="__ng_removed";class ti{namespaceId;value;options;get params(){return this.options.params}constructor(l,h=""){this.namespaceId=h;const I=l&&l.hasOwnProperty("value");if(this.value=function Qi(K){return K??null}(I?l.value:l),I){const{value:de,...Re}=l;this.options=Re}else this.options={};this.options.params||(this.options.params={})}absorbOptions(l){const h=l.params;if(h){const I=this.options.params;Object.keys(h).forEach(G=>{null==I[G]&&(I[G]=h[G])})}}}const Ei="void",Di=new ti(Ei);class $i{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(l,h,I){this.id=l,this.hostElement=h,this._engine=I,this._hostClassName="ng-tns-"+l,or(h,this._hostClassName)}listen(l,h,I,G){if(!this._triggers.has(h))throw function A(){return new c.buA(3302,!1)}();if(null==I||0==I.length)throw function ae(){return new c.buA(3303,!1)}();if(!function Gr(K){return"start"==K||"done"==K}(I))throw function tt(){return new c.buA(3400,!1)}();const de=ze(this._elementListeners,l,[]),Re={name:h,phase:I,callback:G};de.push(Re);const Ve=ze(this._engine.statesByElement,l,new Map);return Ve.has(h)||(or(l,kt),or(l,kt+"-"+h),Ve.set(h,Di)),()=>{this._engine.afterFlush(()=>{const Je=de.indexOf(Re);Je>=0&&de.splice(Je,1),this._triggers.has(h)||Ve.delete(h)})}}register(l,h){return!this._triggers.has(l)&&(this._triggers.set(l,h),!0)}_getTrigger(l){const h=this._triggers.get(l);if(!h)throw function Tt(){return new c.buA(3401,!1)}();return h}trigger(l,h,I,G=!0){const de=this._getTrigger(h),Re=new xr(this.id,h,l);let Ve=this._engine.statesByElement.get(l);Ve||(or(l,kt),or(l,kt+"-"+h),this._engine.statesByElement.set(l,Ve=new Map));let Je=Ve.get(h);const dt=new ti(I,this.id);if(!(I&&I.hasOwnProperty("value"))&&Je&&dt.absorbOptions(Je.options),Ve.set(h,dt),Je||(Je=Di),dt.value!==Ei&&Je.value===dt.value){if(!function Si(K,l){const h=Object.keys(K),I=Object.keys(l);if(h.length!=I.length)return!1;for(let G=0;G{xn(l,Xn),Nn(l,ar)})}return}const In=ze(this._engine.playersByElement,l,[]);In.forEach(fn=>{fn.namespaceId==this.id&&fn.triggerName==h&&fn.queued&&fn.destroy()});let Mn=de.matchTransition(Je.value,dt.value,l,dt.params),sn=!1;if(!Mn){if(!G)return;Mn=de.fallbackTransition,sn=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:l,triggerName:h,transition:Mn,fromState:Je,toState:dt,player:Re,isFallbackTransition:sn}),sn||(or(l,Cr),Re.onStart(()=>{pi(l,Cr)})),Re.onDone(()=>{let fn=this.players.indexOf(Re);fn>=0&&this.players.splice(fn,1);const Xn=this._engine.playersByElement.get(l);if(Xn){let ar=Xn.indexOf(Re);ar>=0&&Xn.splice(ar,1)}}),this.players.push(Re),In.push(Re),Re}deregister(l){this._triggers.delete(l),this._engine.statesByElement.forEach(h=>h.delete(l)),this._elementListeners.forEach((h,I)=>{this._elementListeners.set(I,h.filter(G=>G.name!=l))})}clearElementCache(l){this._engine.statesByElement.delete(l),this._elementListeners.delete(l);const h=this._engine.playersByElement.get(l);h&&(h.forEach(I=>I.destroy()),this._engine.playersByElement.delete(l))}_signalRemovalForInnerTriggers(l,h){const I=this._engine.driver.query(l,Jt,!0);I.forEach(G=>{if(G[Lr])return;const de=this._engine.fetchNamespacesByElement(G);de.size?de.forEach(Re=>Re.triggerLeaveAnimation(G,h,!1,!0)):this.clearElementCache(G)}),this._engine.afterFlushAnimationsDone(()=>I.forEach(G=>this.clearElementCache(G)))}triggerLeaveAnimation(l,h,I,G){const de=this._engine.statesByElement.get(l),Re=new Map;if(de){const Ve=[];if(de.forEach((Je,dt)=>{if(Re.set(dt,Je.value),this._triggers.has(dt)){const Wt=this.trigger(l,dt,Ei,G);Wt&&Ve.push(Wt)}}),Ve.length)return this._engine.markElementAsRemoved(this.id,l,!0,h,Re),I&&mt(Ve).onDone(()=>this._engine.processLeaveNode(l)),!0}return!1}prepareLeaveAnimationListeners(l){const h=this._elementListeners.get(l),I=this._engine.statesByElement.get(l);if(h&&I){const G=new Set;h.forEach(de=>{const Re=de.name;if(G.has(Re))return;G.add(Re);const Je=this._triggers.get(Re).fallbackTransition,dt=I.get(Re)||Di,Wt=new ti(Ei),Vt=new xr(this.id,Re,l);this._engine.totalQueuedPlayers++,this._queue.push({element:l,triggerName:Re,transition:Je,fromState:dt,toState:Wt,player:Vt,isFallbackTransition:!0})})}}removeNode(l,h){const I=this._engine;if(l.childElementCount&&this._signalRemovalForInnerTriggers(l,h),this.triggerLeaveAnimation(l,h,!0))return;let G=!1;if(I.totalAnimations){const de=I.players.length?I.playersByQueriedElement.get(l):[];if(de&&de.length)G=!0;else{let Re=l;for(;Re=Re.parentNode;)if(I.statesByElement.get(Re)){G=!0;break}}}if(this.prepareLeaveAnimationListeners(l),G)I.markElementAsRemoved(this.id,l,!1,h);else{const de=l[Lr];(!de||de===os)&&(I.afterFlush(()=>this.clearElementCache(l)),I.destroyInnerAnimations(l),I._onRemovalComplete(l,h))}}insertNode(l,h){or(l,this._hostClassName)}drainQueuedTransitions(l){const h=[];return this._queue.forEach(I=>{const G=I.player;if(G.destroyed)return;const de=I.element,Re=this._elementListeners.get(de);Re&&Re.forEach(Ve=>{if(Ve.name==I.triggerName){const Je=Bt(de,I.triggerName,I.fromState.value,I.toState.value);Je._data=l,st(I.player,Ve.phase,Je,Ve.callback)}}),G.markedForDestroy?this._engine.afterFlush(()=>{G.destroy()}):h.push(I)}),this._queue=[],h.sort((I,G)=>{const de=I.transition.ast.depCount,Re=G.transition.ast.depCount;return 0==de||0==Re?de-Re:this._engine.driver.containsElement(I.element,G.element)?1:-1})}destroy(l){this.players.forEach(h=>h.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,l)}}class Gi{bodyNode;driver;_normalizer;players=[];newHostElements=new Map;playersByElement=new Map;playersByQueriedElement=new Map;statesByElement=new Map;disabledNodes=new Set;totalAnimations=0;totalQueuedPlayers=0;_namespaceLookup={};_namespaceList=[];_flushFns=[];_whenQuietFns=[];namespacesByHostElement=new Map;collectedEnterElements=[];collectedLeaveElements=[];onRemovalComplete=(l,h)=>{};_onRemovalComplete(l,h){this.onRemovalComplete(l,h)}constructor(l,h,I){this.bodyNode=l,this.driver=h,this._normalizer=I}get queuedPlayers(){const l=[];return this._namespaceList.forEach(h=>{h.players.forEach(I=>{I.queued&&l.push(I)})}),l}createNamespace(l,h){const I=new $i(l,h,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,h)?this._balanceNamespaceList(I,h):(this.newHostElements.set(h,I),this.collectEnterElement(h)),this._namespaceLookup[l]=I}_balanceNamespaceList(l,h){const I=this._namespaceList,G=this.namespacesByHostElement;if(I.length-1>=0){let Re=!1,Ve=this.driver.getParentElement(h);for(;Ve;){const Je=G.get(Ve);if(Je){const dt=I.indexOf(Je);I.splice(dt+1,0,l),Re=!0;break}Ve=this.driver.getParentElement(Ve)}Re||I.unshift(l)}else I.push(l);return G.set(h,l),l}register(l,h){let I=this._namespaceLookup[l];return I||(I=this.createNamespace(l,h)),I}registerTrigger(l,h,I){let G=this._namespaceLookup[l];G&&G.register(h,I)&&this.totalAnimations++}destroy(l,h){l&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const I=this._fetchNamespace(l);this.namespacesByHostElement.delete(I.hostElement);const G=this._namespaceList.indexOf(I);G>=0&&this._namespaceList.splice(G,1),I.destroy(h),delete this._namespaceLookup[l]}))}_fetchNamespace(l){return this._namespaceLookup[l]}fetchNamespacesByElement(l){const h=new Set,I=this.statesByElement.get(l);if(I)for(let G of I.values())if(G.namespaceId){const de=this._fetchNamespace(G.namespaceId);de&&h.add(de)}return h}trigger(l,h,I,G){if(Mi(h)){const de=this._fetchNamespace(l);if(de)return de.trigger(h,I,G),!0}return!1}insertNode(l,h,I,G){if(!Mi(h))return;const de=h[Lr];if(de&&de.setForRemoval){de.setForRemoval=!1,de.setForMove=!0;const Re=this.collectedLeaveElements.indexOf(h);Re>=0&&this.collectedLeaveElements.splice(Re,1)}if(l){const Re=this._fetchNamespace(l);Re&&Re.insertNode(h,I)}G&&this.collectEnterElement(h)}collectEnterElement(l){this.collectedEnterElements.push(l)}markElementAsDisabled(l,h){h?this.disabledNodes.has(l)||(this.disabledNodes.add(l),or(l,$r)):this.disabledNodes.has(l)&&(this.disabledNodes.delete(l),pi(l,$r))}removeNode(l,h,I){if(Mi(h)){const G=l?this._fetchNamespace(l):null;G?G.removeNode(h,I):this.markElementAsRemoved(l,h,!1,I);const de=this.namespacesByHostElement.get(h);de&&de.id!==l&&de.removeNode(h,I)}else this._onRemovalComplete(h,I)}markElementAsRemoved(l,h,I,G,de){this.collectedLeaveElements.push(h),h[Lr]={namespaceId:l,setForRemoval:G,hasAnimation:I,removedBeforeQueried:!1,previousTriggersValues:de}}listen(l,h,I,G,de){return Mi(h)?this._fetchNamespace(l).listen(h,I,G,de):()=>{}}_buildInstruction(l,h,I,G,de){return l.transition.build(this.driver,l.element,l.fromState.value,l.toState.value,I,G,l.fromState.options,l.toState.options,h,de)}destroyInnerAnimations(l){let h=this.driver.query(l,Jt,!0);h.forEach(I=>this.destroyActiveAnimationsForElement(I)),0!=this.playersByQueriedElement.size&&(h=this.driver.query(l,Vn,!0),h.forEach(I=>this.finishActiveQueriedAnimationOnElement(I)))}destroyActiveAnimationsForElement(l){const h=this.playersByElement.get(l);h&&h.forEach(I=>{I.queued?I.markedForDestroy=!0:I.destroy()})}finishActiveQueriedAnimationOnElement(l){const h=this.playersByQueriedElement.get(l);h&&h.forEach(I=>I.finish())}whenRenderingDone(){return new Promise(l=>{if(this.players.length)return mt(this.players).onDone(()=>l());l()})}processLeaveNode(l){const h=l[Lr];if(h&&h.setForRemoval){if(l[Lr]=os,h.namespaceId){this.destroyInnerAnimations(l);const I=this._fetchNamespace(h.namespaceId);I&&I.clearElementCache(l)}this._onRemovalComplete(l,h.setForRemoval)}l.classList?.contains($r)&&this.markElementAsDisabled(l,!1),this.driver.query(l,".ng-animate-disabled",!0).forEach(I=>{this.markElementAsDisabled(I,!1)})}flush(l=-1){let h=[];if(this.newHostElements.size&&(this.newHostElements.forEach((I,G)=>this._balanceNamespaceList(I,G)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let I=0;II()),this._flushFns=[],this._whenQuietFns.length){const I=this._whenQuietFns;this._whenQuietFns=[],h.length?mt(h).onDone(()=>{I.forEach(G=>G())}):I.forEach(G=>G())}}reportError(l){throw function nn(){return new c.buA(3402,!1)}()}_flushAnimations(l,h){const I=new Er,G=[],de=new Map,Re=[],Ve=new Map,Je=new Map,dt=new Map,Wt=new Set;this.disabledNodes.forEach(Kt=>{Wt.add(Kt);const on=this.driver.query(Kt,".ng-animate-queued",!0);for(let cn=0;cn{const cn=wt+fn++;sn.set(on,cn),Kt.forEach(Rn=>or(Rn,cn))});const Xn=[],ar=new Set,pr=new Set;for(let Kt=0;Ktar.add(Rn)):pr.add(on))}const Xr=new Map,Ar=Fr(In,Array.from(ar));Ar.forEach((Kt,on)=>{const cn=jt+fn++;Xr.set(on,cn),Kt.forEach(Rn=>or(Rn,cn))}),l.push(()=>{Mn.forEach((Kt,on)=>{const cn=sn.get(on);Kt.forEach(Rn=>pi(Rn,cn))}),Ar.forEach((Kt,on)=>{const cn=Xr.get(on);Kt.forEach(Rn=>pi(Rn,cn))}),Xn.forEach(Kt=>{this.processLeaveNode(Kt)})});const zi=[],ci=[];for(let Kt=this._namespaceList.length-1;Kt>=0;Kt--)this._namespaceList[Kt].drainQueuedTransitions(h).forEach(cn=>{const Rn=cn.player,gr=cn.element;if(zi.push(Rn),this.collectedEnterElements.length){const T=gr[Lr];if(T&&T.setForMove){if(T.previousTriggersValues&&T.previousTriggersValues.has(cn.triggerName)){const v=T.previousTriggersValues.get(cn.triggerName),w=this.statesByElement.get(cn.element);if(w&&w.has(cn.triggerName)){const te=w.get(cn.triggerName);te.value=v,w.set(cn.triggerName,te)}}return void Rn.destroy()}}const ri=!Vt||!this.driver.containsElement(Vt,gr),_r=Xr.get(gr),vi=sn.get(gr),zn=this._buildInstruction(cn,I,vi,_r,ri);if(zn.errors&&zn.errors.length)return void ci.push(zn);if(ri)return Rn.onStart(()=>xn(gr,zn.fromStyles)),Rn.onDestroy(()=>Nn(gr,zn.toStyles)),void G.push(Rn);if(cn.isFallbackTransition)return Rn.onStart(()=>xn(gr,zn.fromStyles)),Rn.onDestroy(()=>Nn(gr,zn.toStyles)),void G.push(Rn);const Ms=[];zn.timelines.forEach(T=>{T.stretchStartingKeyframe=!0,this.disabledNodes.has(T.element)||Ms.push(T)}),zn.timelines=Ms,I.append(gr,zn.timelines),Re.push({instruction:zn,player:Rn,element:gr}),zn.queriedElements.forEach(T=>ze(Ve,T,[]).push(Rn)),zn.preStyleProps.forEach((T,v)=>{if(T.size){let w=Je.get(v);w||Je.set(v,w=new Set),T.forEach((te,De)=>w.add(De))}}),zn.postStyleProps.forEach((T,v)=>{let w=dt.get(v);w||dt.set(v,w=new Set),T.forEach((te,De)=>w.add(De))})});if(ci.length){const Kt=[];ci.forEach(on=>{Kt.push(function tn(){return new c.buA(3505,!1)}())}),zi.forEach(on=>on.destroy()),this.reportError(Kt)}const Br=new Map,Yr=new Map;Re.forEach(Kt=>{const on=Kt.element;I.has(on)&&(Yr.set(on,on),this._beforeAnimationBuild(Kt.player.namespaceId,Kt.instruction,Br))}),G.forEach(Kt=>{const on=Kt.element;this._getPreviousPlayers(on,!1,Kt.namespaceId,Kt.triggerName,null).forEach(Rn=>{ze(Br,on,[]).push(Rn),Rn.destroy()})});const Li=Xn.filter(Kt=>Vi(Kt,Je,dt)),Ji=new Map;Ci(Ji,this.driver,pr,dt,Y).forEach(Kt=>{Vi(Kt,Je,dt)&&Li.push(Kt)});const xi=new Map;Mn.forEach((Kt,on)=>{Ci(xi,this.driver,new Set(Kt),Je,"!")}),Li.forEach(Kt=>{const on=Ji.get(Kt),cn=xi.get(Kt);Ji.set(Kt,new Map([...on?.entries()??[],...cn?.entries()??[]]))});const _s=[],us=[],ds={};Re.forEach(Kt=>{const{element:on,player:cn,instruction:Rn}=Kt;if(I.has(on)){if(Wt.has(on))return cn.onDestroy(()=>Nn(on,Rn.toStyles)),cn.disabled=!0,cn.overrideTotalTime(Rn.totalTime),void G.push(cn);let gr=ds;if(Yr.size>1){let _r=on;const vi=[];for(;_r=_r.parentNode;){const zn=Yr.get(_r);if(zn){gr=zn;break}vi.push(_r)}vi.forEach(zn=>Yr.set(zn,gr))}const ri=this._buildAnimation(cn.namespaceId,Rn,Br,de,xi,Ji);if(cn.setRealPlayer(ri),gr===ds)_s.push(cn);else{const _r=this.playersByElement.get(gr);_r&&_r.length&&(cn.parentPlayer=mt(_r)),G.push(cn)}}else xn(on,Rn.fromStyles),cn.onDestroy(()=>Nn(on,Rn.toStyles)),us.push(cn),Wt.has(on)&&G.push(cn)}),us.forEach(Kt=>{const on=de.get(Kt.element);if(on&&on.length){const cn=mt(on);Kt.setRealPlayer(cn)}}),G.forEach(Kt=>{Kt.parentPlayer?Kt.syncPlayerEvents(Kt.parentPlayer):Kt.destroy()});for(let Kt=0;Kt!ri.destroyed);gr.length?ps(this,on,gr):this.processLeaveNode(on)}return Xn.length=0,_s.forEach(Kt=>{this.players.push(Kt),Kt.onDone(()=>{Kt.destroy();const on=this.players.indexOf(Kt);this.players.splice(on,1)}),Kt.play()}),_s}afterFlush(l){this._flushFns.push(l)}afterFlushAnimationsDone(l){this._whenQuietFns.push(l)}_getPreviousPlayers(l,h,I,G,de){let Re=[];if(h){const Ve=this.playersByQueriedElement.get(l);Ve&&(Re=Ve)}else{const Ve=this.playersByElement.get(l);if(Ve){const Je=!de||de==Ei;Ve.forEach(dt=>{dt.queued||!Je&&dt.triggerName!=G||Re.push(dt)})}}return(I||G)&&(Re=Re.filter(Ve=>!(I&&I!=Ve.namespaceId||G&&G!=Ve.triggerName))),Re}_beforeAnimationBuild(l,h,I){const de=h.element,Re=h.isRemovalTransition?void 0:l,Ve=h.isRemovalTransition?void 0:h.triggerName;for(const Je of h.timelines){const dt=Je.element,Wt=dt!==de,Vt=ze(I,dt,[]);this._getPreviousPlayers(dt,Wt,Re,Ve,h.toState).forEach(Mn=>{const sn=Mn.getRealPlayer();sn.beforeDestroy&&sn.beforeDestroy(),Mn.destroy(),Vt.push(Mn)})}xn(de,h.fromStyles)}_buildAnimation(l,h,I,G,de,Re){const Ve=h.triggerName,Je=h.element,dt=[],Wt=new Set,Vt=new Set,In=h.timelines.map(sn=>{const fn=sn.element;Wt.add(fn);const Xn=fn[Lr];if(Xn&&Xn.removedBeforeQueried)return new ye(sn.duration,sn.delay);const ar=fn!==Je,pr=function ns(K){const l=[];return rs(K,l),l}((I.get(fn)||yi).map(Br=>Br.getRealPlayer())).filter(Br=>!!Br.element&&Br.element===fn),Xr=de.get(fn),Ar=Re.get(fn),zi=zt(this._normalizer,sn.keyframes,Xr,Ar),ci=this._buildPlayer(sn,zi,pr);if(sn.subTimeline&&G&&Vt.add(fn),ar){const Br=new xr(l,Ve,fn);Br.setRealPlayer(ci),dt.push(Br)}return ci});dt.forEach(sn=>{ze(this.playersByQueriedElement,sn.element,[]).push(sn),sn.onDone(()=>function kr(K,l,h){let I=K.get(l);if(I){if(I.length){const G=I.indexOf(h);I.splice(G,1)}0==I.length&&K.delete(l)}return I}(this.playersByQueriedElement,sn.element,sn))}),Wt.forEach(sn=>or(sn,Pn));const Mn=mt(In);return Mn.onDestroy(()=>{Wt.forEach(sn=>pi(sn,Pn)),Nn(Je,h.toStyles)}),Vt.forEach(sn=>{ze(G,sn,[]).push(Mn)}),Mn}_buildPlayer(l,h,I){return h.length>0?this.driver.animate(l.element,h,l.duration,l.delay,l.easing,I):new ye(l.duration,l.delay)}}class xr{namespaceId;triggerName;element;_player=new ye;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(l,h,I){this.namespaceId=l,this.triggerName=h,this.element=I}setRealPlayer(l){this._containsRealPlayer||(this._player=l,this._queuedCallbacks.forEach((h,I)=>{h.forEach(G=>st(l,I,void 0,G))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(l.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(l){this.totalTime=l}syncPlayerEvents(l){const h=this._player;h.triggerCallback&&l.onStart(()=>h.triggerCallback("start")),l.onDone(()=>this.finish()),l.onDestroy(()=>this.destroy())}_queueEvent(l,h){ze(this._queuedCallbacks,l,[]).push(h)}onDone(l){this.queued&&this._queueEvent("done",l),this._player.onDone(l)}onStart(l){this.queued&&this._queueEvent("start",l),this._player.onStart(l)}onDestroy(l){this.queued&&this._queueEvent("destroy",l),this._player.onDestroy(l)}init(){this._player.init()}hasStarted(){return!this.queued&&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(l){this.queued||this._player.setPosition(l)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(l){const h=this._player;h.triggerCallback&&h.triggerCallback(l)}}function Mi(K){return K&&1===K.nodeType}function ni(K,l){const h=K.style.display;return K.style.display=l??"none",h}function Ci(K,l,h,I,G){const de=[];h.forEach(Je=>de.push(ni(Je)));const Re=[];I.forEach((Je,dt)=>{const Wt=new Map;Je.forEach(Vt=>{const In=l.computeStyle(dt,Vt,G);Wt.set(Vt,In),(!In||0==In.length)&&(dt[Lr]=Hi,Re.push(dt))}),K.set(dt,Wt)});let Ve=0;return h.forEach(Je=>ni(Je,de[Ve++])),Re}function Fr(K,l){const h=new Map;if(K.forEach(Ve=>h.set(Ve,[])),0==l.length)return h;const G=new Set(l),de=new Map;function Re(Ve){if(!Ve)return 1;let Je=de.get(Ve);if(Je)return Je;const dt=Ve.parentNode;return Je=h.has(dt)?dt:G.has(dt)?1:Re(dt),de.set(Ve,Je),Je}return l.forEach(Ve=>{const Je=Re(Ve);1!==Je&&h.get(Je).push(Ve)}),h}function or(K,l){K.classList?.add(l)}function pi(K,l){K.classList?.remove(l)}function ps(K,l,h){mt(h).onDone(()=>K.processLeaveNode(l))}function rs(K,l){for(let h=0;hG.add(de)):l.set(K,I),h.delete(K),!0}class Ri{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(l,h)=>{};constructor(l,h,I){this._driver=h,this._normalizer=I,this._transitionEngine=new Gi(l.body,h,I),this._timelineEngine=new Hr(l.body,h,I),this._transitionEngine.onRemovalComplete=(G,de)=>this.onRemovalComplete(G,de)}registerTrigger(l,h,I,G,de){const Re=l+"-"+G;let Ve=this._triggerCache[Re];if(!Ve){const Je=[],Wt=Sn(this._driver,de,Je,[]);if(Je.length)throw function Ot(){return new c.buA(3404,!1)}();Ve=function kn(K,l,h){return new Rr(K,l,h)}(G,Wt,this._normalizer),this._triggerCache[Re]=Ve}this._transitionEngine.registerTrigger(h,G,Ve)}register(l,h){this._transitionEngine.register(l,h)}destroy(l,h){this._transitionEngine.destroy(l,h)}onInsert(l,h,I,G){this._transitionEngine.insertNode(l,h,I,G)}onRemove(l,h,I){this._transitionEngine.removeNode(l,h,I)}disableAnimations(l,h){this._transitionEngine.markElementAsDisabled(l,h)}process(l,h,I,G){if("@"==I.charAt(0)){const[de,Re]=It(I);this._timelineEngine.command(de,h,Re,G)}else this._transitionEngine.trigger(l,h,I,G)}listen(l,h,I,G,de){if("@"==I.charAt(0)){const[Re,Ve]=It(I);return this._timelineEngine.listen(Re,h,Ve,de)}return this._transitionEngine.listen(l,h,I,G,de)}flush(l=-1){this._transitionEngine.flush(l)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(l){this._transitionEngine.afterFlushAnimationsDone(l)}}const Qr="@.disabled";class Wi{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(l,h,I,G){this.namespaceId=l,this.delegate=h,this.engine=I,this._onDestroy=G}get data(){return this.delegate.data}destroyNode(l){this.delegate.destroyNode?.(l)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(l,h){return this.delegate.createElement(l,h)}createComment(l){return this.delegate.createComment(l)}createText(l){return this.delegate.createText(l)}appendChild(l,h){this.delegate.appendChild(l,h),this.engine.onInsert(this.namespaceId,h,l,!1)}insertBefore(l,h,I,G=!0){this.delegate.insertBefore(l,h,I),this.engine.onInsert(this.namespaceId,h,l,G)}removeChild(l,h,I){this.parentNode(h)&&this.engine.onRemove(this.namespaceId,h,this.delegate)}selectRootElement(l,h){return this.delegate.selectRootElement(l,h)}parentNode(l){return this.delegate.parentNode(l)}nextSibling(l){return this.delegate.nextSibling(l)}setAttribute(l,h,I,G){this.delegate.setAttribute(l,h,I,G)}removeAttribute(l,h,I){this.delegate.removeAttribute(l,h,I)}addClass(l,h){this.delegate.addClass(l,h)}removeClass(l,h){this.delegate.removeClass(l,h)}setStyle(l,h,I,G){this.delegate.setStyle(l,h,I,G)}removeStyle(l,h,I){this.delegate.removeStyle(l,h,I)}setProperty(l,h,I){"@"==h.charAt(0)&&h==Qr?this.disableAnimations(l,!!I):this.delegate.setProperty(l,h,I)}setValue(l,h){this.delegate.setValue(l,h)}listen(l,h,I,G){return this.delegate.listen(l,h,I,G)}disableAnimations(l,h){this.engine.disableAnimations(l,h)}}class is extends Wi{factory;constructor(l,h,I,G,de){super(h,I,G,de),this.factory=l,this.namespaceId=h}setProperty(l,h,I){"@"==h.charAt(0)?"."==h.charAt(1)&&h==Qr?this.disableAnimations(l,I=void 0===I||!!I):this.engine.process(this.namespaceId,l,h.slice(1),I):this.delegate.setProperty(l,h,I)}listen(l,h,I,G){if("@"==h.charAt(0)){const de=function Xi(K){switch(K){case"body":return document.body;case"document":return document;case"window":return window;default:return K}}(l);let Re=h.slice(1),Ve="";return"@"!=Re.charAt(0)&&([Re,Ve]=function li(K){const l=K.indexOf(".");return[K.substring(0,l),K.slice(l+1)]}(Re)),this.engine.listen(this.namespaceId,de,Re,Ve,Je=>{this.factory.scheduleListenerCallback(Je._data||-1,I,Je)})}return this.delegate.listen(l,h,I,G)}}class mi{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(l,h,I){this.delegate=l,this.engine=h,this._zone=I,h.onRemovalComplete=(G,de)=>{de?.removeChild(null,G)}}createRenderer(l,h){const G=this.delegate.createRenderer(l,h);if(!l||!h?.data?.animation){const dt=this._rendererCache;let Wt=dt.get(G);return Wt||(Wt=new Wi("",G,this.engine,()=>dt.delete(G)),dt.set(G,Wt)),Wt}const de=h.id,Re=h.id+"-"+this._currentId;this._currentId++,this.engine.register(Re,l);const Ve=dt=>{Array.isArray(dt)?dt.forEach(Ve):this.engine.registerTrigger(de,Re,l,dt.name,dt)};return h.data.animation.forEach(Ve),new is(this,Re,G,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(l,h,I){if(l>=0&&lh(I));const G=this._animationCallbacksBuffer;0==G.length&&queueMicrotask(()=>{this._zone.run(()=>{G.forEach(de=>{const[Re,Ve]=de;Re(Ve)}),this._animationCallbacksBuffer=[]})}),G.push([h,I])}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}componentReplaced(l){this.engine.flush(),this.delegate.componentReplaced?.(l)}}var ls=d(4080);const P=[{provide:oe,useClass:sr},{provide:r.bc$,useValue:"NoopAnimations"},...[{provide:Se,useFactory:function Zi(){return new yt}},{provide:Ri,useClass:(()=>{class K extends Ri{constructor(h,I,G){super(h,I,G)}ngOnDestroy(){this.flush()}static \u0275fac=function(I){return new(I||K)(c.KVO(c.qQL),c.KVO(oe),c.KVO(Se))};static \u0275prov=c.jDH({token:K,factory:K.\u0275fac})}return K})()},{provide:r._9s,useFactory:function cs(K,l,h){return new mi(K,l,h)},deps:[ls.mE,Ri,r.SKi]}]];function mn(){return[...P]}},4031:(ut,be,d)=>{"use strict";d.d(be,{S:()=>Y});var c=d(819),r=d(1687);function Y(W,V){return(0,c.N)(function g(W,V,q,L,$){return(ee,ne)=>{let he=q,Z=V,le=0;ee.subscribe((0,r._)(ne,ie=>{const Oe=le++;Z=he?W(Z,ie,Oe):(he=!0,ie),L&&ne.next(Z)},$&&(()=>{he&&ne.next(Z),ne.complete()})))}}(W,V,arguments.length>=2,!0))}},4080:(ut,be,d)=>{"use strict";d.d(be,{CI:()=>he,EU:()=>W,Hl:()=>V,Q5:()=>Y,mE:()=>$e});var c=d(5240),r=d(5430),g=d(2481);const Y=new c.nKC("");let W=(()=>{class pe{_zone;_plugins;_eventNameToPlugin=new Map;constructor(E,H){this._zone=H,E.forEach(b=>{b.manager=this}),this._plugins=E.slice().reverse()}addEventListener(E,H,b,k){return this._findPluginFor(H).addEventListener(E,H,b,k)}getZone(){return this._zone}_findPluginFor(E){let H=this._eventNameToPlugin.get(E);if(H)return H;if(H=this._plugins.find(k=>k.supports(E)),!H)throw new c.buA(5101,!1);return this._eventNameToPlugin.set(E,H),H}static \u0275fac=function(H){return new(H||pe)(c.KVO(Y),c.KVO(g.SKi))};static \u0275prov=c.jDH({token:pe,factory:pe.\u0275fac})}return pe})();class V{_doc;constructor(z){this._doc=z}manager}const q="ng-app-id";function L(pe){for(const z of pe)z.remove()}function $(pe,z){const E=z.createElement("style");return E.textContent=pe,E}function ne(pe,z){const E=z.createElement("link");return E.setAttribute("rel","stylesheet"),E.setAttribute("href",pe),E}let he=(()=>{class pe{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(E,H,b,k={}){this.doc=E,this.appId=H,this.nonce=b,function ee(pe,z,E,H){const b=pe.head?.querySelectorAll(`style[${q}="${z}"],link[${q}="${z}"]`);if(b)for(const k of b)k.removeAttribute(q),k instanceof HTMLLinkElement?H.set(k.href.slice(k.href.lastIndexOf("/")+1),{usage:0,elements:[k]}):k.textContent&&E.set(k.textContent,{usage:0,elements:[k]})}(E,H,this.inline,this.external),this.hosts.add(E.head)}addStyles(E,H){for(const b of E)this.addUsage(b,this.inline,$);H?.forEach(b=>this.addUsage(b,this.external,ne))}removeStyles(E,H){for(const b of E)this.removeUsage(b,this.inline);H?.forEach(b=>this.removeUsage(b,this.external))}addUsage(E,H,b){const k=H.get(E);k?k.usage++:H.set(E,{usage:1,elements:[...this.hosts].map(_e=>this.addElement(_e,b(E,this.doc)))})}removeUsage(E,H){const b=H.get(E);b&&(b.usage--,b.usage<=0&&(L(b.elements),H.delete(E)))}ngOnDestroy(){for(const[,{elements:E}]of[...this.inline,...this.external])L(E);this.hosts.clear()}addHost(E){this.hosts.add(E);for(const[H,{elements:b}]of this.inline)b.push(this.addElement(E,$(H,this.doc)));for(const[H,{elements:b}]of this.external)b.push(this.addElement(E,ne(H,this.doc)))}removeHost(E){this.hosts.delete(E)}addElement(E,H){return this.nonce&&H.setAttribute("nonce",this.nonce),E.appendChild(H)}static \u0275fac=function(H){return new(H||pe)(c.KVO(c.qQL),c.KVO(g.sZ2),c.KVO(g.BIS,8),c.KVO(g.Agw))};static \u0275prov=c.jDH({token:pe,factory:pe.\u0275fac})}return pe})();const Z={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},le=/%COMP%/g,re=new c.nKC("",{providedIn:"root",factory:()=>!0});function Ee(pe,z){return z.map(E=>E.replace(le,pe))}let $e=(()=>{class pe{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;animationDisabled;maxAnimationTimeout;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;registry;constructor(E,H,b,k,_e,me,ke,Ue=null,Ot,Pt,St=null){this.eventManager=E,this.sharedStylesHost=H,this.appId=b,this.removeStylesOnCompDestroy=k,this.doc=_e,this.platformId=me,this.ngZone=ke,this.nonce=Ue,this.animationDisabled=Ot,this.maxAnimationTimeout=Pt,this.tracingService=St,this.platformIsServer=!1,this.defaultRenderer=new rt(E,_e,ke,this.platformIsServer,this.tracingService,this.registry=(0,c.kRk)(),this.maxAnimationTimeout)}createRenderer(E,H){if(!E||!H)return this.defaultRenderer;const b=this.getOrCreateRenderer(E,H);return b instanceof We?b.applyToHost(E):b instanceof Be&&b.applyStyles(),b}getOrCreateRenderer(E,H){const b=this.rendererByCompId;let k=b.get(H.id);if(!k){const _e=this.doc,me=this.ngZone,ke=this.eventManager,Ue=this.sharedStylesHost,Ot=this.removeStylesOnCompDestroy,Pt=this.platformIsServer,St=this.tracingService;switch(H.encapsulation){case g.gXe.Emulated:k=new We(ke,Ue,H,this.appId,Ot,_e,me,Pt,St,this.registry,this.animationDisabled,this.maxAnimationTimeout);break;case g.gXe.ShadowDom:return new at(ke,Ue,E,H,_e,me,this.nonce,Pt,St,this.registry,this.maxAnimationTimeout);default:k=new Be(ke,Ue,H,Ot,_e,me,Pt,St,this.registry,this.animationDisabled,this.maxAnimationTimeout)}b.set(H.id,k)}return k}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(E){this.rendererByCompId.delete(E)}static \u0275fac=function(H){return new(H||pe)(c.KVO(W),c.KVO(he),c.KVO(g.sZ2),c.KVO(re),c.KVO(c.qQL),c.KVO(g.Agw),c.KVO(g.SKi),c.KVO(g.BIS),c.KVO(g.DG8),c.KVO(g.KA5),c.KVO(g.a8H,8))};static \u0275prov=c.jDH({token:pe,factory:pe.\u0275fac})}return pe})();class rt{eventManager;doc;ngZone;platformIsServer;tracingService;registry;maxAnimationTimeout;data=Object.create(null);throwOnSyntheticProps=!0;constructor(z,E,H,b,k,_e,me){this.eventManager=z,this.doc=E,this.ngZone=H,this.platformIsServer=b,this.tracingService=k,this.registry=_e,this.maxAnimationTimeout=me}destroy(){}destroyNode=null;createElement(z,E){return E?this.doc.createElementNS(Z[E]||E,z):this.doc.createElement(z)}createComment(z){return this.doc.createComment(z)}createText(z){return this.doc.createTextNode(z)}appendChild(z,E){(ft(z)?z.content:z).appendChild(E)}insertBefore(z,E,H){z&&(ft(z)?z.content:z).insertBefore(E,H)}removeChild(z,E){const{elements:H}=this.registry;H?H.animate(E,()=>E.remove(),this.maxAnimationTimeout):E.remove()}selectRootElement(z,E){let H="string"==typeof z?this.doc.querySelector(z):z;if(!H)throw new c.buA(-5104,!1);return E||(H.textContent=""),H}parentNode(z){return z.parentNode}nextSibling(z){return z.nextSibling}setAttribute(z,E,H,b){if(b){E=b+":"+E;const k=Z[b];k?z.setAttributeNS(k,E,H):z.setAttribute(E,H)}else z.setAttribute(E,H)}removeAttribute(z,E,H){if(H){const b=Z[H];b?z.removeAttributeNS(b,E):z.removeAttribute(`${H}:${E}`)}else z.removeAttribute(E)}addClass(z,E){z.classList.add(E)}removeClass(z,E){z.classList.remove(E)}setStyle(z,E,H,b){b&(g.czy.DashCase|g.czy.Important)?z.style.setProperty(E,H,b&g.czy.Important?"important":""):z.style[E]=H}removeStyle(z,E,H){H&g.czy.DashCase?z.style.removeProperty(E):z.style[E]=""}setProperty(z,E,H){null!=z&&(z[E]=H)}setValue(z,E){z.nodeValue=E}listen(z,E,H,b){if("string"==typeof z&&!(z=(0,r.rb)().getGlobalEventTarget(this.doc,z)))throw new c.buA(5102,!1);let k=this.decoratePreventDefault(H);return this.tracingService?.wrapEventListener&&(k=this.tracingService.wrapEventListener(z,E,k)),this.eventManager.addEventListener(z,E,k,b)}decoratePreventDefault(z){return E=>{if("__ngUnwrap__"===E)return z;!1===z(E)&&E.preventDefault()}}}function ft(pe){return"TEMPLATE"===pe.tagName&&void 0!==pe.content}class at extends rt{sharedStylesHost;hostEl;shadowRoot;constructor(z,E,H,b,k,_e,me,ke,Ue,Ot,Pt){super(z,k,_e,ke,Ue,Ot,Pt),this.sharedStylesHost=E,this.hostEl=H,this.shadowRoot=H.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let St=b.styles;St=Ee(b.id,St);for(const Ce of St){const it=document.createElement("style");me&&it.setAttribute("nonce",me),it.textContent=Ce,this.shadowRoot.appendChild(it)}const Fe=b.getExternalStyles?.();if(Fe)for(const Ce of Fe){const it=ne(Ce,k);me&&it.setAttribute("nonce",me),this.shadowRoot.appendChild(it)}}nodeOrShadowRoot(z){return z===this.hostEl?this.shadowRoot:z}appendChild(z,E){return super.appendChild(this.nodeOrShadowRoot(z),E)}insertBefore(z,E,H){return super.insertBefore(this.nodeOrShadowRoot(z),E,H)}removeChild(z,E){return super.removeChild(null,E)}parentNode(z){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(z)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Be extends rt{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;_animationDisabled;constructor(z,E,H,b,k,_e,me,ke,Ue,Ot,Pt,St){super(z,k,_e,me,ke,Ue,Pt),this.sharedStylesHost=E,this.removeStylesOnCompDestroy=b,this._animationDisabled=Ot;let Fe=H.styles;this.styles=St?Ee(St,Fe):Fe,this.styleUrls=H.getExternalStyles?.(St)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){if(this.removeStylesOnCompDestroy){if(!this._animationDisabled&&this.registry.elements)return void this.ngZone.runOutsideAngular(()=>{setTimeout(()=>{this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)},this.maxAnimationTimeout)});this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}}}class We extends Be{contentAttr;hostAttr;constructor(z,E,H,b,k,_e,me,ke,Ue,Ot,Pt,St){const Fe=b+"-"+H.id;super(z,E,H,k,_e,me,ke,Ue,Ot,Pt,St,Fe),this.contentAttr=function Ae(pe){return"_ngcontent-%COMP%".replace(le,pe)}(Fe),this.hostAttr=function ue(pe){return"_nghost-%COMP%".replace(le,pe)}(Fe)}applyToHost(z){this.applyStyles(),this.setAttribute(z,this.hostAttr,"")}createElement(z,E){const H=super.createElement(z,E);return super.setAttribute(H,this.contentAttr,""),H}}},4083:(ut,be,d)=>{"use strict";d.d(be,{R0:()=>V,lI:()=>W,ms:()=>Y});var c=d(1530),r=d(9397);function g(q){return q[q.length-1]}function Y(q){return(0,c.T)(g(q))?q.pop():void 0}function W(q){return(0,r.m)(g(q))?q.pop():void 0}function V(q,L){return"number"==typeof g(q)?q.pop():L}},4127:(ut,be,d)=>{"use strict";d.d(be,{s:()=>c});const c="function"==typeof Symbol&&Symbol.observable||"@@observable"},4205:(ut,be,d)=>{"use strict";d.d(be,{B:()=>q});var c=d(3942),r=d(7092);const Y=(0,d(2384).L)($=>function(){$(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var W=d(967),V=d(23);let q=(()=>{class $ extends c.c{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(ne){const he=new L(this,this);return he.operator=ne,he}_throwIfClosed(){if(this.closed)throw new Y}next(ne){(0,V.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const he of this.currentObservers)he.next(ne)}})}error(ne){(0,V.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=ne;const{observers:he}=this;for(;he.length;)he.shift().error(ne)}})}complete(){(0,V.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:ne}=this;for(;ne.length;)ne.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var ne;return(null===(ne=this.observers)||void 0===ne?void 0:ne.length)>0}_trySubscribe(ne){return this._throwIfClosed(),super._trySubscribe(ne)}_subscribe(ne){return this._throwIfClosed(),this._checkFinalizedStatuses(ne),this._innerSubscribe(ne)}_innerSubscribe(ne){const{hasError:he,isStopped:Z,observers:le}=this;return he||Z?r.Kn:(this.currentObservers=null,le.push(ne),new r.yU(()=>{this.currentObservers=null,(0,W.o)(le,ne)}))}_checkFinalizedStatuses(ne){const{hasError:he,thrownError:Z,isStopped:le}=this;he?ne.error(Z):le&&ne.complete()}asObservable(){const ne=new c.c;return ne.source=this,ne}}return $.create=(ee,ne)=>new L(ee,ne),$})();class L extends q{constructor(ee,ne){super(),this.destination=ee,this.source=ne}next(ee){var ne,he;null===(he=null===(ne=this.destination)||void 0===ne?void 0:ne.next)||void 0===he||he.call(ne,ee)}error(ee){var ne,he;null===(he=null===(ne=this.destination)||void 0===ne?void 0:ne.error)||void 0===he||he.call(ne,ee)}complete(){var ee,ne;null===(ne=null===(ee=this.destination)||void 0===ee?void 0:ee.complete)||void 0===ne||ne.call(ee)}_subscribe(ee){var ne,he;return null!==(he=null===(ne=this.source)||void 0===ne?void 0:ne.subscribe(ee))&&void 0!==he?he:r.Kn}}},4304:(ut,be,d)=>{"use strict";d.d(be,{Q:()=>Y});var c=d(310),r=d(819),g=d(1687);function Y(W,V=0){return(0,r.N)((q,L)=>{q.subscribe((0,g._)(L,$=>(0,c.N)(L,W,()=>L.next($),V),()=>(0,c.N)(L,W,()=>L.complete(),V),$=>(0,c.N)(L,W,()=>L.error($),V)))})}},4318:(ut,be,d)=>{"use strict";function c(){}d.d(be,{l:()=>c})},4334:(ut,be,d)=>{"use strict";d.d(be,{s:()=>Y});var c=d(9400),r=d(819),g=d(1687);function Y(W){return W<=0?()=>c.w:(0,r.N)((V,q)=>{let L=0;V.subscribe((0,g._)(q,$=>{++L<=W&&(q.next($),W<=L&&q.complete())}))})}},4398:(ut,be,d)=>{"use strict";function he(b,k,_e,me){return new(_e||(_e=Promise))(function(Ue,Ot){function Pt(Ce){try{Fe(me.next(Ce))}catch(it){Ot(it)}}function St(Ce){try{Fe(me.throw(Ce))}catch(it){Ot(it)}}function Fe(Ce){Ce.done?Ue(Ce.value):function ke(Ue){return Ue instanceof _e?Ue:new _e(function(Ot){Ot(Ue)})}(Ce.value).then(Pt,St)}Fe((me=me.apply(b,k||[])).next())})}function re(b){return this instanceof re?(this.v=b,this):new re(b)}function Ae(b,k,_e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var ke,me=_e.apply(b,k||[]),Ue=[];return ke=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),Pt("next"),Pt("throw"),Pt("return",function Ot(ae){return function(tt){return Promise.resolve(tt).then(ae,it)}}),ke[Symbol.asyncIterator]=function(){return this},ke;function Pt(ae,tt){me[ae]&&(ke[ae]=function(Tt){return new Promise(function(nn,tn){Ue.push([ae,Tt,nn,tn])>1||St(ae,Tt)})},tt&&(ke[ae]=tt(ke[ae])))}function St(ae,tt){try{!function Fe(ae){ae.value instanceof re?Promise.resolve(ae.value.v).then(Ce,it):A(Ue[0][2],ae)}(me[ae](tt))}catch(Tt){A(Ue[0][3],Tt)}}function Ce(ae){St("next",ae)}function it(ae){St("throw",ae)}function A(ae,tt){ae(tt),Ue.shift(),Ue.length&&St(Ue[0][0],Ue[0][1])}}function Ee(b){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var _e,k=b[Symbol.asyncIterator];return k?k.call(b):(b=function Oe(b){var k="function"==typeof Symbol&&Symbol.iterator,_e=k&&b[k],me=0;if(_e)return _e.call(b);if(b&&"number"==typeof b.length)return{next:function(){return b&&me>=b.length&&(b=void 0),{value:b&&b[me++],done:!b}}};throw new TypeError(k?"Object is not iterable.":"Symbol.iterator is not defined.")}(b),_e={},me("next"),me("throw"),me("return"),_e[Symbol.asyncIterator]=function(){return this},_e);function me(Ue){_e[Ue]=b[Ue]&&function(Ot){return new Promise(function(Pt,St){!function ke(Ue,Ot,Pt,St){Promise.resolve(St).then(function(Fe){Ue({value:Fe,done:Pt})},Ot)}(Pt,St,(Ot=b[Ue](Ot)).done,Ot.value)})}}}d.d(be,{AQ:()=>Ae,N3:()=>re,sH:()=>he,xN:()=>Ee}),"function"==typeof SuppressedError&&SuppressedError},4456:(ut,be,d)=>{"use strict";d.d(be,{BC:()=>mt,Fm:()=>Ht,MJ:()=>Qn,MR:()=>gn,Q0:()=>Dt,VZ:()=>or,X1:()=>cs,YN:()=>Zi,Zm:()=>le,cb:()=>zt,cz:()=>re,gE:()=>er,j4:()=>hr,k0:()=>Ee,kq:()=>he,l_:()=>jr,me:()=>ye,ok:()=>li,qT:()=>Te,wz:()=>ti,xH:()=>Ei,y7:()=>kr,zX:()=>Ci});var c=d(5240),r=d(2481),g=d(6763),Y=d(9148),W=d(5430),V=d(4205),q=d(1873),L=d(9835),$=d(271);let ee=(()=>{class S{_renderer;_elementRef;onChange=y=>{};onTouched=()=>{};constructor(y,Q){this._renderer=y,this._elementRef=Q}setProperty(y,Q){this._renderer.setProperty(this._elementRef.nativeElement,y,Q)}registerOnTouched(y){this.onTouched=y}registerOnChange(y){this.onChange=y}setDisabledState(y){this.setProperty("disabled",y)}static \u0275fac=function(Q){return new(Q||S)(r.rXU(r.sFG),r.rXU(r.aKT))};static \u0275dir=r.FsC({type:S})}return S})(),ne=(()=>{class S extends ee{static \u0275fac=(()=>{let y;return function(Ne){return(y||(y=r.xGo(S)))(Ne||S)}})();static \u0275dir=r.FsC({type:S,features:[r.Vt3]})}return S})();const he=new c.nKC(""),Z={provide:he,useExisting:(0,c.Rfq)(()=>le),multi:!0};let le=(()=>{class S extends ne{writeValue(y){this.setProperty("checked",y)}static \u0275fac=(()=>{let y;return function(Ne){return(y||(y=r.xGo(S)))(Ne||S)}})();static \u0275dir=r.FsC({type:S,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(Q,Ne){1&Q&&r.bIt("change",function(mn){return Ne.onChange(mn.target.checked)})("blur",function(){return Ne.onTouched()})},standalone:!1,features:[r.Jv_([Z]),r.Vt3]})}return S})();const ie={provide:he,useExisting:(0,c.Rfq)(()=>ye),multi:!0},Le=new c.nKC("");let ye=(()=>{class S extends ee{_compositionMode;_composing=!1;constructor(y,Q,Ne){super(y,Q),this._compositionMode=Ne,null==this._compositionMode&&(this._compositionMode=!function Oe(){const S=(0,W.rb)()?(0,W.rb)().getUserAgent():"";return/android (\d+)/.test(S.toLowerCase())}())}writeValue(y){this.setProperty("value",y??"")}_handleInput(y){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(y)}_compositionStart(){this._composing=!0}_compositionEnd(y){this._composing=!1,this._compositionMode&&this.onChange(y)}static \u0275fac=function(Q){return new(Q||S)(r.rXU(r.sFG),r.rXU(r.aKT),r.rXU(Le,8))};static \u0275dir=r.FsC({type:S,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(Q,Ne){1&Q&&r.bIt("input",function(mn){return Ne._handleInput(mn.target.value)})("blur",function(){return Ne.onTouched()})("compositionstart",function(){return Ne._compositionStart()})("compositionend",function(mn){return Ne._compositionEnd(mn.target.value)})},standalone:!1,features:[r.Jv_([ie]),r.Vt3]})}return S})();function ve(S){return null==S||0===Ze(S)}function Ze(S){return null==S?null:Array.isArray(S)||"string"==typeof S?S.length:S instanceof Set?S.size:null}const re=new c.nKC(""),Ae=new c.nKC(""),ue=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class Ee{static min(P){return xe(P)}static max(P){return $e(P)}static required(P){return function rt(S){return ve(S.value)?{required:!0}:null}(P)}static requiredTrue(P){return function At(S){return!0===S.value?null:{required:!0}}(P)}static email(P){return function lt(S){return ve(S.value)||ue.test(S.value)?null:{email:!0}}(P)}static minLength(P){return function ft(S){return P=>{const y=P.value?.length??Ze(P.value);return null===y||0===y?null:y{const y=P.value?.length??Ze(P.value);return null!==y&&y>S?{maxlength:{requiredLength:S,actualLength:y}}:null}}(P)}static pattern(P){return function Be(S){if(!S)return We;let P,y;return"string"==typeof S?(y="","^"!==S.charAt(0)&&(y+="^"),y+=S,"$"!==S.charAt(S.length-1)&&(y+="$"),P=new RegExp(y)):(y=S.toString(),P=S),Q=>{if(ve(Q.value))return null;const Ne=Q.value;return P.test(Ne)?null:{pattern:{requiredPattern:y,actualValue:Ne}}}}(P)}static nullValidator(P){return null}static compose(P){return _e(P)}static composeAsync(P){return ke(P)}}function xe(S){return P=>{if(null==P.value||null==S)return null;const y=parseFloat(P.value);return!isNaN(y)&&y{if(null==P.value||null==S)return null;const y=parseFloat(P.value);return!isNaN(y)&&y>S?{max:{max:S,actual:P.value}}:null}}function We(S){return null}function pe(S){return null!=S}function z(S){return(0,r.yLl)(S)?(0,L.H)(S):S}function E(S){let P={};return S.forEach(y=>{P=null!=y?{...P,...y}:P}),0===Object.keys(P).length?null:P}function H(S,P){return P.map(y=>y(S))}function k(S){return S.map(P=>function b(S){return!S.validate}(P)?P:y=>P.validate(y))}function _e(S){if(!S)return null;const P=S.filter(pe);return 0==P.length?null:function(y){return E(H(y,P))}}function me(S){return null!=S?_e(k(S)):null}function ke(S){if(!S)return null;const P=S.filter(pe);return 0==P.length?null:function(y){const Q=H(y,P).map(z);return(0,q.p)(Q).pipe((0,$.T)(E))}}function Ue(S){return null!=S?ke(k(S)):null}function Ot(S,P){return null===S?[P]:Array.isArray(S)?[...S,P]:[S,P]}function Pt(S){return S._rawValidators}function St(S){return S._rawAsyncValidators}function Fe(S){return S?Array.isArray(S)?S:[S]:[]}function Ce(S,P){return Array.isArray(S)?S.includes(P):S===P}function it(S,P){const y=Fe(P);return Fe(S).forEach(Ne=>{Ce(y,Ne)||y.push(Ne)}),y}function A(S,P){return Fe(P).filter(y=>!Ce(S,y))}class ae{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(P){this._rawValidators=P||[],this._composedValidatorFn=me(this._rawValidators)}_setAsyncValidators(P){this._rawAsyncValidators=P||[],this._composedAsyncValidatorFn=Ue(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(P){this._onDestroyCallbacks.push(P)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(P=>P()),this._onDestroyCallbacks=[]}reset(P=void 0){this.control&&this.control.reset(P)}hasError(P,y){return!!this.control&&this.control.hasError(P,y)}getError(P,y){return this.control?this.control.getError(P,y):null}}class tt extends ae{name;get formDirective(){return null}get path(){return null}}class Tt extends ae{_parent=null;name=null;valueAccessor=null}class nn{_cd;constructor(P){this._cd=P}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}}let mt=(()=>{class S extends nn{constructor(y){super(y)}static \u0275fac=function(Q){return new(Q||S)(r.rXU(Tt,2))};static \u0275dir=r.FsC({type:S,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(Q,Ne){2&Q&&r.AVh("ng-untouched",Ne.isUntouched)("ng-touched",Ne.isTouched)("ng-pristine",Ne.isPristine)("ng-dirty",Ne.isDirty)("ng-valid",Ne.isValid)("ng-invalid",Ne.isInvalid)("ng-pending",Ne.isPending)},standalone:!1,features:[r.Vt3]})}return S})(),zt=(()=>{class S extends nn{constructor(y){super(y)}static \u0275fac=function(Q){return new(Q||S)(r.rXU(tt,10))};static \u0275dir=r.FsC({type:S,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(Q,Ne){2&Q&&r.AVh("ng-untouched",Ne.isUntouched)("ng-touched",Ne.isTouched)("ng-pristine",Ne.isPristine)("ng-dirty",Ne.isDirty)("ng-valid",Ne.isValid)("ng-invalid",Ne.isInvalid)("ng-pending",Ne.isPending)("ng-submitted",Ne.isSubmitted)},standalone:!1,features:[r.Vt3]})}return S})();const wt="VALID",jt="INVALID",kt="PENDING",Jt="DISABLED";class Pn{}class Vn extends Pn{value;source;constructor(P,y){super(),this.value=P,this.source=y}}class Ln extends Pn{pristine;source;constructor(P,y){super(),this.pristine=P,this.source=y}}class $n extends Pn{touched;source;constructor(P,y){super(),this.touched=P,this.source=y}}class Kn extends Pn{status;source;constructor(P,y){super(),this.status=P,this.source=y}}class ir extends Pn{source;constructor(P){super(),this.source=P}}class On extends Pn{source;constructor(P){super(),this.source=P}}function jn(S){return(Bn(S)?S.validators:S)||null}function Nn(S,P){return(Bn(P)?P.asyncValidators:S)||null}function Bn(S){return null!=S&&!Array.isArray(S)&&"object"==typeof S}function Ur(S,P,y){const Q=S.controls;if(!(P?Object.keys(Q):Q).length)throw new c.buA(1e3,"");if(!Q[y])throw new c.buA(1001,"")}function Or(S,P,y){S._forEachChild((Q,Ne)=>{if(void 0===y[Ne])throw new c.buA(1002,"")})}class qn{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(P,y){this._assignValidators(P),this._assignAsyncValidators(y)}get validator(){return this._composedValidatorFn}set validator(P){this._rawValidators=this._composedValidatorFn=P}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(P){this._rawAsyncValidators=this._composedAsyncValidatorFn=P}get parent(){return this._parent}get status(){return(0,g.O8)(this.statusReactive)}set status(P){(0,g.O8)(()=>this.statusReactive.set(P))}_status=(0,g.EW)(()=>this.statusReactive());statusReactive=(0,c.vPA)(void 0);get valid(){return this.status===wt}get invalid(){return this.status===jt}get pending(){return this.status==kt}get disabled(){return this.status===Jt}get enabled(){return this.status!==Jt}errors;get pristine(){return(0,g.O8)(this.pristineReactive)}set pristine(P){(0,g.O8)(()=>this.pristineReactive.set(P))}_pristine=(0,g.EW)(()=>this.pristineReactive());pristineReactive=(0,c.vPA)(!0);get dirty(){return!this.pristine}get touched(){return(0,g.O8)(this.touchedReactive)}set touched(P){(0,g.O8)(()=>this.touchedReactive.set(P))}_touched=(0,g.EW)(()=>this.touchedReactive());touchedReactive=(0,c.vPA)(!1);get untouched(){return!this.touched}_events=new V.B;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(P){this._assignValidators(P)}setAsyncValidators(P){this._assignAsyncValidators(P)}addValidators(P){this.setValidators(it(P,this._rawValidators))}addAsyncValidators(P){this.setAsyncValidators(it(P,this._rawAsyncValidators))}removeValidators(P){this.setValidators(A(P,this._rawValidators))}removeAsyncValidators(P){this.setAsyncValidators(A(P,this._rawAsyncValidators))}hasValidator(P){return Ce(this._rawValidators,P)}hasAsyncValidator(P){return Ce(this._rawAsyncValidators,P)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(P={}){const y=!1===this.touched;this.touched=!0;const Q=P.sourceControl??this;this._parent&&!P.onlySelf&&this._parent.markAsTouched({...P,sourceControl:Q}),y&&!1!==P.emitEvent&&this._events.next(new $n(!0,Q))}markAllAsDirty(P={}){this.markAsDirty({onlySelf:!0,emitEvent:P.emitEvent,sourceControl:this}),this._forEachChild(y=>y.markAllAsDirty(P))}markAllAsTouched(P={}){this.markAsTouched({onlySelf:!0,emitEvent:P.emitEvent,sourceControl:this}),this._forEachChild(y=>y.markAllAsTouched(P))}markAsUntouched(P={}){const y=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const Q=P.sourceControl??this;this._forEachChild(Ne=>{Ne.markAsUntouched({onlySelf:!0,emitEvent:P.emitEvent,sourceControl:Q})}),this._parent&&!P.onlySelf&&this._parent._updateTouched(P,Q),y&&!1!==P.emitEvent&&this._events.next(new $n(!1,Q))}markAsDirty(P={}){const y=!0===this.pristine;this.pristine=!1;const Q=P.sourceControl??this;this._parent&&!P.onlySelf&&this._parent.markAsDirty({...P,sourceControl:Q}),y&&!1!==P.emitEvent&&this._events.next(new Ln(!1,Q))}markAsPristine(P={}){const y=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const Q=P.sourceControl??this;this._forEachChild(Ne=>{Ne.markAsPristine({onlySelf:!0,emitEvent:P.emitEvent})}),this._parent&&!P.onlySelf&&this._parent._updatePristine(P,Q),y&&!1!==P.emitEvent&&this._events.next(new Ln(!0,Q))}markAsPending(P={}){this.status=kt;const y=P.sourceControl??this;!1!==P.emitEvent&&(this._events.next(new Kn(this.status,y)),this.statusChanges.emit(this.status)),this._parent&&!P.onlySelf&&this._parent.markAsPending({...P,sourceControl:y})}disable(P={}){const y=this._parentMarkedDirty(P.onlySelf);this.status=Jt,this.errors=null,this._forEachChild(Ne=>{Ne.disable({...P,onlySelf:!0})}),this._updateValue();const Q=P.sourceControl??this;!1!==P.emitEvent&&(this._events.next(new Vn(this.value,Q)),this._events.next(new Kn(this.status,Q)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...P,skipPristineCheck:y},this),this._onDisabledChange.forEach(Ne=>Ne(!0))}enable(P={}){const y=this._parentMarkedDirty(P.onlySelf);this.status=wt,this._forEachChild(Q=>{Q.enable({...P,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:P.emitEvent}),this._updateAncestors({...P,skipPristineCheck:y},this),this._onDisabledChange.forEach(Q=>Q(!1))}_updateAncestors(P,y){this._parent&&!P.onlySelf&&(this._parent.updateValueAndValidity(P),P.skipPristineCheck||this._parent._updatePristine({},y),this._parent._updateTouched({},y))}setParent(P){this._parent=P}getRawValue(){return this.value}updateValueAndValidity(P={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const Q=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===wt||this.status===kt)&&this._runAsyncValidator(Q,P.emitEvent)}const y=P.sourceControl??this;!1!==P.emitEvent&&(this._events.next(new Vn(this.value,y)),this._events.next(new Kn(this.status,y)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!P.onlySelf&&this._parent.updateValueAndValidity({...P,sourceControl:y})}_updateTreeValidity(P={emitEvent:!0}){this._forEachChild(y=>y._updateTreeValidity(P)),this.updateValueAndValidity({onlySelf:!0,emitEvent:P.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Jt:wt}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(P,y){if(this.asyncValidator){this.status=kt,this._hasOwnPendingAsyncValidator={emitEvent:!1!==y,shouldHaveEmitted:!1!==P};const Q=z(this.asyncValidator(this));this._asyncValidationSubscription=Q.subscribe(Ne=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(Ne,{emitEvent:y,shouldHaveEmitted:P})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const P=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!1;return this._hasOwnPendingAsyncValidator=null,P}return!1}setErrors(P,y={}){this.errors=P,this._updateControlsErrors(!1!==y.emitEvent,this,y.shouldHaveEmitted)}get(P){let y=P;return null==y||(Array.isArray(y)||(y=y.split(".")),0===y.length)?null:y.reduce((Q,Ne)=>Q&&Q._find(Ne),this)}getError(P,y){const Q=y?this.get(y):this;return Q&&Q.errors?Q.errors[P]:null}hasError(P,y){return!!this.getError(P,y)}get root(){let P=this;for(;P._parent;)P=P._parent;return P}_updateControlsErrors(P,y,Q){this.status=this._calculateStatus(),P&&this.statusChanges.emit(this.status),(P||Q)&&this._events.next(new Kn(this.status,y)),this._parent&&this._parent._updateControlsErrors(P,y,Q)}_initObservables(){this.valueChanges=new r.bkB,this.statusChanges=new r.bkB}_calculateStatus(){return this._allControlsDisabled()?Jt:this.errors?jt:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(kt)?kt:this._anyControlsHaveStatus(jt)?jt:wt}_anyControlsHaveStatus(P){return this._anyControls(y=>y.status===P)}_anyControlsDirty(){return this._anyControls(P=>P.dirty)}_anyControlsTouched(){return this._anyControls(P=>P.touched)}_updatePristine(P,y){const Q=!this._anyControlsDirty(),Ne=this.pristine!==Q;this.pristine=Q,this._parent&&!P.onlySelf&&this._parent._updatePristine(P,y),Ne&&this._events.next(new Ln(this.pristine,y))}_updateTouched(P={},y){this.touched=this._anyControlsTouched(),this._events.next(new $n(this.touched,y)),this._parent&&!P.onlySelf&&this._parent._updateTouched(P,y)}_onDisabledChange=[];_registerOnCollectionChange(P){this._onCollectionChange=P}_setUpdateStrategy(P){Bn(P)&&null!=P.updateOn&&(this._updateOn=P.updateOn)}_parentMarkedDirty(P){return!P&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(P){return null}_assignValidators(P){this._rawValidators=Array.isArray(P)?P.slice():P,this._composedValidatorFn=function Yn(S){return Array.isArray(S)?me(S):S||null}(this._rawValidators)}_assignAsyncValidators(P){this._rawAsyncValidators=Array.isArray(P)?P.slice():P,this._composedAsyncValidatorFn=function xn(S){return Array.isArray(S)?Ue(S):S||null}(this._rawAsyncValidators)}}class er extends qn{constructor(P,y,Q){super(jn(y),Nn(Q,y)),this.controls=P,this._initObservables(),this._setUpdateStrategy(y),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(P,y){return this.controls[P]?this.controls[P]:(this.controls[P]=y,y.setParent(this),y._registerOnCollectionChange(this._onCollectionChange),y)}addControl(P,y,Q={}){this.registerControl(P,y),this.updateValueAndValidity({emitEvent:Q.emitEvent}),this._onCollectionChange()}removeControl(P,y={}){this.controls[P]&&this.controls[P]._registerOnCollectionChange(()=>{}),delete this.controls[P],this.updateValueAndValidity({emitEvent:y.emitEvent}),this._onCollectionChange()}setControl(P,y,Q={}){this.controls[P]&&this.controls[P]._registerOnCollectionChange(()=>{}),delete this.controls[P],y&&this.registerControl(P,y),this.updateValueAndValidity({emitEvent:Q.emitEvent}),this._onCollectionChange()}contains(P){return this.controls.hasOwnProperty(P)&&this.controls[P].enabled}setValue(P,y={}){Or(this,0,P),Object.keys(P).forEach(Q=>{Ur(this,!0,Q),this.controls[Q].setValue(P[Q],{onlySelf:!0,emitEvent:y.emitEvent})}),this.updateValueAndValidity(y)}patchValue(P,y={}){null!=P&&(Object.keys(P).forEach(Q=>{const Ne=this.controls[Q];Ne&&Ne.patchValue(P[Q],{onlySelf:!0,emitEvent:y.emitEvent})}),this.updateValueAndValidity(y))}reset(P={},y={}){this._forEachChild((Q,Ne)=>{Q.reset(P?P[Ne]:null,{onlySelf:!0,emitEvent:y.emitEvent})}),this._updatePristine(y,this),this._updateTouched(y,this),this.updateValueAndValidity(y)}getRawValue(){return this._reduceChildren({},(P,y,Q)=>(P[Q]=y.getRawValue(),P))}_syncPendingControls(){let P=this._reduceChildren(!1,(y,Q)=>!!Q._syncPendingControls()||y);return P&&this.updateValueAndValidity({onlySelf:!0}),P}_forEachChild(P){Object.keys(this.controls).forEach(y=>{const Q=this.controls[y];Q&&P(Q,y)})}_setUpControls(){this._forEachChild(P=>{P.setParent(this),P._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(P){for(const[y,Q]of Object.entries(this.controls))if(this.contains(y)&&P(Q))return!0;return!1}_reduceValue(){return this._reduceChildren({},(y,Q,Ne)=>((Q.enabled||this.disabled)&&(y[Ne]=Q.value),y))}_reduceChildren(P,y){let Q=P;return this._forEachChild((Ne,$t)=>{Q=y(Q,Ne,$t)}),Q}_allControlsDisabled(){for(const P of Object.keys(this.controls))if(this.controls[P].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(P){return this.controls.hasOwnProperty(P)?this.controls[P]:null}}class pn extends er{}const Un=new c.nKC("",{providedIn:"root",factory:()=>dr}),dr="always";function oe(S,P,y=dr){yt(S,P),P.valueAccessor.writeValue(S.value),(S.disabled||"always"===y)&&P.valueAccessor.setDisabledState?.(S.disabled),function xt(S,P){P.valueAccessor.registerOnChange(y=>{S._pendingValue=y,S._pendingChange=!0,S._pendingDirty=!0,"change"===S.updateOn&&je(S,P)})}(S,P),function Xe(S,P){const y=(Q,Ne)=>{P.valueAccessor.writeValue(Q),Ne&&P.viewToModelUpdate(Q)};S.registerOnChange(y),P._registerOnDestroy(()=>{S._unregisterOnChange(y)})}(S,P),function ge(S,P){P.valueAccessor.registerOnTouched(()=>{S._pendingTouched=!0,"blur"===S.updateOn&&S._pendingChange&&je(S,P),"submit"!==S.updateOn&&S.markAsTouched()})}(S,P),function et(S,P){if(P.valueAccessor.setDisabledState){const y=Q=>{P.valueAccessor.setDisabledState(Q)};S.registerOnDisabledChange(y),P._registerOnDestroy(()=>{S._unregisterOnDisabledChange(y)})}}(S,P)}function Se(S,P,y=!0){const Q=()=>{};P.valueAccessor&&(P.valueAccessor.registerOnChange(Q),P.valueAccessor.registerOnTouched(Q)),pt(S,P),S&&(P._invokeOnDestroyCallbacks(),S._registerOnCollectionChange(()=>{}))}function Ie(S,P){S.forEach(y=>{y.registerOnValidatorChange&&y.registerOnValidatorChange(P)})}function yt(S,P){const y=Pt(S);null!==P.validator?S.setValidators(Ot(y,P.validator)):"function"==typeof y&&S.setValidators([y]);const Q=St(S);null!==P.asyncValidator?S.setAsyncValidators(Ot(Q,P.asyncValidator)):"function"==typeof Q&&S.setAsyncValidators([Q]);const Ne=()=>S.updateValueAndValidity();Ie(P._rawValidators,Ne),Ie(P._rawAsyncValidators,Ne)}function pt(S,P){let y=!1;if(null!==S){if(null!==P.validator){const Ne=Pt(S);if(Array.isArray(Ne)&&Ne.length>0){const $t=Ne.filter(mn=>mn!==P.validator);$t.length!==Ne.length&&(y=!0,S.setValidators($t))}}if(null!==P.asyncValidator){const Ne=St(S);if(Array.isArray(Ne)&&Ne.length>0){const $t=Ne.filter(mn=>mn!==P.asyncValidator);$t.length!==Ne.length&&(y=!0,S.setAsyncValidators($t))}}}const Q=()=>{};return Ie(P._rawValidators,Q),Ie(P._rawAsyncValidators,Q),y}function je(S,P){S._pendingDirty&&S.markAsDirty(),S.setValue(S._pendingValue,{emitModelToViewChange:!1}),P.viewToModelUpdate(S._pendingValue),S._pendingChange=!1}function Jn(S,P){const y=S.indexOf(P);y>-1&&S.splice(y,1)}function nr(S){return"object"==typeof S&&null!==S&&2===Object.keys(S).length&&"value"in S&&"disabled"in S}Promise.resolve();const Qn=class extends qn{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(P=null,y,Q){super(jn(y),Nn(Q,y)),this._applyFormState(P),this._setUpdateStrategy(y),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Bn(y)&&(y.nonNullable||y.initialValueIsDefault)&&(this.defaultValue=nr(P)?P.value:P)}setValue(P,y={}){this.value=this._pendingValue=P,this._onChange.length&&!1!==y.emitModelToViewChange&&this._onChange.forEach(Q=>Q(this.value,!1!==y.emitViewToModelChange)),this.updateValueAndValidity(y)}patchValue(P,y={}){this.setValue(P,y)}reset(P=this.defaultValue,y={}){this._applyFormState(P),this.markAsPristine(y),this.markAsUntouched(y),this.setValue(this.value,y),this._pendingChange=!1}_updateValue(){}_anyControls(P){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(P){this._onChange.push(P)}_unregisterOnChange(P){Jn(this._onChange,P)}registerOnDisabledChange(P){this._onDisabledChange.push(P)}_unregisterOnDisabledChange(P){Jn(this._onDisabledChange,P)}_forEachChild(P){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(P){nr(P)?(this.value=this._pendingValue=P.value,P.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=P}};Promise.resolve();let Te=(()=>{class S{static \u0275fac=function(Q){return new(Q||S)};static \u0275dir=r.FsC({type:S,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return S})();const Qe={provide:he,useExisting:(0,c.Rfq)(()=>Dt),multi:!0};let Dt=(()=>{class S extends ne{writeValue(y){this.setProperty("value",y??"")}registerOnChange(y){this.onChange=Q=>{y(""==Q?null:parseFloat(Q))}}static \u0275fac=(()=>{let y;return function(Ne){return(y||(y=r.xGo(S)))(Ne||S)}})();static \u0275dir=r.FsC({type:S,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(Q,Ne){1&Q&&r.bIt("input",function(mn){return Ne.onChange(mn.target.value)})("blur",function(){return Ne.onTouched()})},standalone:!1,features:[r.Jv_([Qe]),r.Vt3]})}return S})();const ln={provide:he,useExisting:(0,c.Rfq)(()=>Ht),multi:!0};let _n=(()=>{class S{_accessors=[];add(y,Q){this._accessors.push([y,Q])}remove(y){for(let Q=this._accessors.length-1;Q>=0;--Q)if(this._accessors[Q][1]===y)return void this._accessors.splice(Q,1)}select(y){this._accessors.forEach(Q=>{this._isSameGroup(Q,y)&&Q[1]!==y&&Q[1].fireUncheck(y.value)})}_isSameGroup(y,Q){return!!y[0].control&&y[0]._parent===Q._control._parent&&y[1].name===Q.name}static \u0275fac=function(Q){return new(Q||S)};static \u0275prov=c.jDH({token:S,factory:S.\u0275fac,providedIn:"root"})}return S})(),Ht=(()=>{class S extends ne{_registry;_injector;_state;_control;_fn;setDisabledStateFired=!1;onChange=()=>{};name;formControlName;value;callSetDisabledState=(0,c.WQX)(Un,{optional:!0})??dr;constructor(y,Q,Ne,$t){super(y,Q),this._registry=Ne,this._injector=$t}ngOnInit(){this._control=this._injector.get(Tt),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(y){this._state=y===this.value,this.setProperty("checked",this._state)}registerOnChange(y){this._fn=y,this.onChange=()=>{y(this.value),this._registry.select(this)}}setDisabledState(y){(this.setDisabledStateFired||y||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",y),this.setDisabledStateFired=!0}fireUncheck(y){this.writeValue(y)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}static \u0275fac=function(Q){return new(Q||S)(r.rXU(r.sFG),r.rXU(r.aKT),r.rXU(_n),r.rXU(c.zZn))};static \u0275dir=r.FsC({type:S,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(Q,Ne){1&Q&&r.bIt("change",function(){return Ne.onChange()})("blur",function(){return Ne.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},standalone:!1,features:[r.Jv_([ln]),r.Vt3]})}return S})();const Cn={provide:he,useExisting:(0,c.Rfq)(()=>gn),multi:!0};let gn=(()=>{class S extends ne{writeValue(y){this.setProperty("value",parseFloat(y))}registerOnChange(y){this.onChange=Q=>{y(""==Q?null:parseFloat(Q))}}static \u0275fac=(()=>{let y;return function(Ne){return(y||(y=r.xGo(S)))(Ne||S)}})();static \u0275dir=r.FsC({type:S,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(Q,Ne){1&Q&&r.bIt("change",function(mn){return Ne.onChange(mn.target.value)})("input",function(mn){return Ne.onChange(mn.target.value)})("blur",function(){return Ne.onTouched()})},standalone:!1,features:[r.Jv_([Cn]),r.Vt3]})}return S})();const kn=new c.nKC(""),Rr={provide:Tt,useExisting:(0,c.Rfq)(()=>jr)};let jr=(()=>{class S extends Tt{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(y){}model;update=new r.bkB;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(y,Q,Ne,$t,mn){super(),this._ngModelWarningConfig=$t,this.callSetDisabledState=mn,this._setValidators(y),this._setAsyncValidators(Q),this.valueAccessor=function bn(S,P){if(!P)return null;let y,Q,Ne;return Array.isArray(P),P.forEach($t=>{$t.constructor===ye?y=$t:function Tn(S){return Object.getPrototypeOf(S.constructor)===ne}($t)?Q=$t:Ne=$t}),Ne||Q||y||null}(0,Ne)}ngOnChanges(y){if(this._isControlChanged(y)){const Q=y.form.previousValue;Q&&Se(Q,this,!1),oe(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}(function dn(S,P){if(!S.hasOwnProperty("model"))return!1;const y=S.model;return!!y.isFirstChange()||!Object.is(P,y.currentValue)})(y,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Se(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(y){this.viewModel=y,this.update.emit(y)}_isControlChanged(y){return y.hasOwnProperty("form")}static \u0275fac=function(Q){return new(Q||S)(r.rXU(re,10),r.rXU(Ae,10),r.rXU(he,10),r.rXU(kn,8),r.rXU(Un,8))};static \u0275dir=r.FsC({type:S,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:!1,features:[r.Jv_([Rr]),r.Vt3,r.OA$]})}return S})();const fi={provide:tt,useExisting:(0,c.Rfq)(()=>hr)};let hr=(()=>{class S extends tt{callSetDisabledState;get submitted(){return(0,g.O8)(this._submittedReactive)}set submitted(y){this._submittedReactive.set(y)}_submitted=(0,g.EW)(()=>this._submittedReactive());_submittedReactive=(0,c.vPA)(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];form=null;ngSubmit=new r.bkB;constructor(y,Q,Ne){super(),this.callSetDisabledState=Ne,this._setValidators(y),this._setAsyncValidators(Q)}ngOnChanges(y){y.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(pt(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(y){const Q=this.form.get(y.path);return oe(Q,y,this.callSetDisabledState),Q.updateValueAndValidity({emitEvent:!1}),this.directives.push(y),Q}getControl(y){return this.form.get(y.path)}removeControl(y){Se(y.control||null,y,!1),function Wn(S,P){const y=S.indexOf(P);y>-1&&S.splice(y,1)}(this.directives,y)}addFormGroup(y){this._setUpFormContainer(y)}removeFormGroup(y){this._cleanUpFormContainer(y)}getFormGroup(y){return this.form.get(y.path)}addFormArray(y){this._setUpFormContainer(y)}removeFormArray(y){this._cleanUpFormContainer(y)}getFormArray(y){return this.form.get(y.path)}updateModel(y,Q){this.form.get(y.path).setValue(Q)}onSubmit(y){return this._submittedReactive.set(!0),function Sn(S,P){S._syncPendingControls(),P.forEach(y=>{const Q=y.control;"submit"===Q.updateOn&&Q._pendingChange&&(y.viewToModelUpdate(Q._pendingValue),Q._pendingChange=!1)})}(this.form,this.directives),this.ngSubmit.emit(y),this.form._events.next(new ir(this.control)),"dialog"===y?.target?.method}onReset(){this.resetForm()}resetForm(y=void 0,Q={}){this.form.reset(y,Q),this._submittedReactive.set(!1),!1!==Q?.emitEvent&&this.form._events.next(new On(this.form))}_updateDomValue(){this.directives.forEach(y=>{const Q=y.control,Ne=this.form.get(y.path);Q!==Ne&&(Se(Q||null,y),(S=>S instanceof Qn)(Ne)&&(oe(Ne,y,this.callSetDisabledState),y.control=Ne))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(y){const Q=this.form.get(y.path);(function ht(S,P){yt(S,P)})(Q,y),Q.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(y){if(this.form){const Q=this.form.get(y.path);Q&&function Ct(S,P){return pt(S,P)}(Q,y)&&Q.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){yt(this.form,this),this._oldForm&&pt(this._oldForm,this)}static \u0275fac=function(Q){return new(Q||S)(r.rXU(re,10),r.rXU(Ae,10),r.rXU(Un,8))};static \u0275dir=r.FsC({type:S,selectors:[["","formGroup",""]],hostBindings:function(Q,Ne){1&Q&&r.bIt("submit",function(mn){return Ne.onSubmit(mn)})("reset",function(){return Ne.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[r.Jv_([fi]),r.Vt3,r.OA$]})}return S})();const os={provide:he,useExisting:(0,c.Rfq)(()=>ti),multi:!0};function Hi(S,P){return null==S?`${P}`:(P&&"object"==typeof P&&(P="Object"),`${S}: ${P}`.slice(0,50))}let ti=(()=>{class S extends ne{value;_optionMap=new Map;_idCounter=0;set compareWith(y){this._compareWith=y}_compareWith=Object.is;appRefInjector=(0,c.WQX)(r.o8S).injector;destroyRef=(0,c.WQX)(c.abz);cdr=(0,c.WQX)(Y.gRc);_queuedWrite=!1;_writeValueAfterRender(){this._queuedWrite||this.appRefInjector.destroyed||(this._queuedWrite=!0,(0,r.mal)({write:()=>{this.destroyRef.destroyed||(this._queuedWrite=!1,this.writeValue(this.value))}},{injector:this.appRefInjector}))}writeValue(y){this.cdr.markForCheck(),this.value=y;const Ne=Hi(this._getOptionId(y),y);this.setProperty("value",Ne)}registerOnChange(y){this.onChange=Q=>{this.value=this._getOptionValue(Q),y(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(y){for(const Q of this._optionMap.keys())if(this._compareWith(this._optionMap.get(Q),y))return Q;return null}_getOptionValue(y){const Q=function Lr(S){return S.split(":")[0]}(y);return this._optionMap.has(Q)?this._optionMap.get(Q):y}static \u0275fac=(()=>{let y;return function(Ne){return(y||(y=r.xGo(S)))(Ne||S)}})();static \u0275dir=r.FsC({type:S,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(Q,Ne){1&Q&&r.bIt("change",function(mn){return Ne.onChange(mn.target.value)})("blur",function(){return Ne.onTouched()})},inputs:{compareWith:"compareWith"},standalone:!1,features:[r.Jv_([os]),r.Vt3]})}return S})(),Ei=(()=>{class S{_element;_renderer;_select;id;constructor(y,Q,Ne){this._element=y,this._renderer=Q,this._select=Ne,this._select&&(this.id=this._select._registerOption())}set ngValue(y){null!=this._select&&(this._select._optionMap.set(this.id,y),this._setElementValue(Hi(this.id,y)),this._select._writeValueAfterRender())}set value(y){this._setElementValue(y),this._select&&this._select._writeValueAfterRender()}_setElementValue(y){this._renderer.setProperty(this._element.nativeElement,"value",y)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select._writeValueAfterRender())}static \u0275fac=function(Q){return new(Q||S)(r.rXU(r.aKT),r.rXU(r.sFG),r.rXU(ti,9))};static \u0275dir=r.FsC({type:S,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"},standalone:!1})}return S})();const Di={provide:he,useExisting:(0,c.Rfq)(()=>xr),multi:!0};function $i(S,P){return null==S?`${P}`:("string"==typeof P&&(P=`'${P}'`),P&&"object"==typeof P&&(P="Object"),`${S}: ${P}`.slice(0,50))}let xr=(()=>{class S extends ne{value;_optionMap=new Map;_idCounter=0;set compareWith(y){this._compareWith=y}_compareWith=Object.is;writeValue(y){let Q;if(this.value=y,Array.isArray(y)){const Ne=y.map($t=>this._getOptionId($t));Q=($t,mn)=>{$t._setSelected(Ne.indexOf(mn.toString())>-1)}}else Q=(Ne,$t)=>{Ne._setSelected(!1)};this._optionMap.forEach(Q)}registerOnChange(y){this.onChange=Q=>{const Ne=[],$t=Q.selectedOptions;if(void 0!==$t){const mn=$t;for(let K=0;K{let y;return function(Ne){return(y||(y=r.xGo(S)))(Ne||S)}})();static \u0275dir=r.FsC({type:S,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(Q,Ne){1&Q&&r.bIt("change",function(mn){return Ne.onChange(mn.target)})("blur",function(){return Ne.onTouched()})},inputs:{compareWith:"compareWith"},standalone:!1,features:[r.Jv_([Di]),r.Vt3]})}return S})(),kr=(()=>{class S{_element;_renderer;_select;id;_value;constructor(y,Q,Ne){this._element=y,this._renderer=Q,this._select=Ne,this._select&&(this.id=this._select._registerOption(this))}set ngValue(y){null!=this._select&&(this._value=y,this._setElementValue($i(this.id,y)),this._select.writeValue(this._select.value))}set value(y){this._select?(this._value=y,this._setElementValue($i(this.id,y)),this._select.writeValue(this._select.value)):this._setElementValue(y)}_setElementValue(y){this._renderer.setProperty(this._element.nativeElement,"value",y)}_setSelected(y){this._renderer.setProperty(this._element.nativeElement,"selected",y)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static \u0275fac=function(Q){return new(Q||S)(r.rXU(r.aKT),r.rXU(r.sFG),r.rXU(xr,9))};static \u0275dir=r.FsC({type:S,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"},standalone:!1})}return S})();function Mi(S){return"number"==typeof S?S:parseFloat(S)}let Gr=(()=>{class S{_validator=We;_onChange;_enabled;ngOnChanges(y){if(this.inputName in y){const Q=this.normalizeInput(y[this.inputName].currentValue);this._enabled=this.enabled(Q),this._validator=this._enabled?this.createValidator(Q):We,this._onChange&&this._onChange()}}validate(y){return this._validator(y)}registerOnValidatorChange(y){this._onChange=y}enabled(y){return null!=y}static \u0275fac=function(Q){return new(Q||S)};static \u0275dir=r.FsC({type:S,features:[r.OA$]})}return S})();const ni={provide:re,useExisting:(0,c.Rfq)(()=>Ci),multi:!0};let Ci=(()=>{class S extends Gr{max;inputName="max";normalizeInput=y=>Mi(y);createValidator=y=>$e(y);static \u0275fac=(()=>{let y;return function(Ne){return(y||(y=r.xGo(S)))(Ne||S)}})();static \u0275dir=r.FsC({type:S,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(Q,Ne){2&Q&&r.BMQ("max",Ne._enabled?Ne.max:null)},inputs:{max:"max"},standalone:!1,features:[r.Jv_([ni]),r.Vt3]})}return S})();const Fr={provide:re,useExisting:(0,c.Rfq)(()=>or),multi:!0};let or=(()=>{class S extends Gr{min;inputName="min";normalizeInput=y=>Mi(y);createValidator=y=>xe(y);static \u0275fac=(()=>{let y;return function(Ne){return(y||(y=r.xGo(S)))(Ne||S)}})();static \u0275dir=r.FsC({type:S,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(Q,Ne){2&Q&&r.BMQ("min",Ne._enabled?Ne.min:null)},inputs:{min:"min"},standalone:!1,features:[r.Jv_([Fr]),r.Vt3]})}return S})(),Ni=(()=>{class S{static \u0275fac=function(Q){return new(Q||S)};static \u0275mod=r.$C({type:S});static \u0275inj=c.G2t({})}return S})();class Qr extends qn{constructor(P,y,Q){super(jn(y),Nn(Q,y)),this.controls=P,this._initObservables(),this._setUpdateStrategy(y),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;at(P){return this.controls[this._adjustIndex(P)]}push(P,y={}){Array.isArray(P)?P.forEach(Q=>{this.controls.push(Q),this._registerControl(Q)}):(this.controls.push(P),this._registerControl(P)),this.updateValueAndValidity({emitEvent:y.emitEvent}),this._onCollectionChange()}insert(P,y,Q={}){this.controls.splice(P,0,y),this._registerControl(y),this.updateValueAndValidity({emitEvent:Q.emitEvent})}removeAt(P,y={}){let Q=this._adjustIndex(P);Q<0&&(Q=0),this.controls[Q]&&this.controls[Q]._registerOnCollectionChange(()=>{}),this.controls.splice(Q,1),this.updateValueAndValidity({emitEvent:y.emitEvent})}setControl(P,y,Q={}){let Ne=this._adjustIndex(P);Ne<0&&(Ne=0),this.controls[Ne]&&this.controls[Ne]._registerOnCollectionChange(()=>{}),this.controls.splice(Ne,1),y&&(this.controls.splice(Ne,0,y),this._registerControl(y)),this.updateValueAndValidity({emitEvent:Q.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(P,y={}){Or(this,0,P),P.forEach((Q,Ne)=>{Ur(this,!1,Ne),this.at(Ne).setValue(Q,{onlySelf:!0,emitEvent:y.emitEvent})}),this.updateValueAndValidity(y)}patchValue(P,y={}){null!=P&&(P.forEach((Q,Ne)=>{this.at(Ne)&&this.at(Ne).patchValue(Q,{onlySelf:!0,emitEvent:y.emitEvent})}),this.updateValueAndValidity(y))}reset(P=[],y={}){this._forEachChild((Q,Ne)=>{Q.reset(P[Ne],{onlySelf:!0,emitEvent:y.emitEvent})}),this._updatePristine(y,this),this._updateTouched(y,this),this.updateValueAndValidity(y)}getRawValue(){return this.controls.map(P=>P.getRawValue())}clear(P={}){this.controls.length<1||(this._forEachChild(y=>y._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:P.emitEvent}))}_adjustIndex(P){return P<0?P+this.length:P}_syncPendingControls(){let P=this.controls.reduce((y,Q)=>!!Q._syncPendingControls()||y,!1);return P&&this.updateValueAndValidity({onlySelf:!0}),P}_forEachChild(P){this.controls.forEach((y,Q)=>{P(y,Q)})}_updateValue(){this.value=this.controls.filter(P=>P.enabled||this.disabled).map(P=>P.value)}_anyControls(P){return this.controls.some(y=>y.enabled&&P(y))}_setUpControls(){this._forEachChild(P=>this._registerControl(P))}_allControlsDisabled(){for(const P of this.controls)if(P.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(P){P.setParent(this),P._registerOnCollectionChange(this._onCollectionChange)}_find(P){return this.at(P)??null}}function Xi(S){return!!S&&(void 0!==S.asyncValidators||void 0!==S.validators||void 0!==S.updateOn)}let li=(()=>{class S{useNonNullable=!1;get nonNullable(){const y=new S;return y.useNonNullable=!0,y}group(y,Q=null){const Ne=this._reduceControls(y);let $t={};return Xi(Q)?$t=Q:null!==Q&&($t.validators=Q.validator,$t.asyncValidators=Q.asyncValidator),new er(Ne,$t)}record(y,Q=null){const Ne=this._reduceControls(y);return new pn(Ne,Q)}control(y,Q,Ne){let $t={};return this.useNonNullable?(Xi(Q)?$t=Q:($t.validators=Q,$t.asyncValidators=Ne),new Qn(y,{...$t,nonNullable:!0})):new Qn(y,Q,Ne)}array(y,Q,Ne){const $t=y.map(mn=>this._createControl(mn));return new Qr($t,Q,Ne)}_reduceControls(y){const Q={};return Object.keys(y).forEach(Ne=>{Q[Ne]=this._createControl(y[Ne])}),Q}_createControl(y){return y instanceof Qn||y instanceof qn?y:Array.isArray(y)?this.control(y[0],y.length>1?y[1]:null,y.length>2?y[2]:null):this.control(y)}static \u0275fac=function(Q){return new(Q||S)};static \u0275prov=c.jDH({token:S,factory:S.\u0275fac,providedIn:"root"})}return S})(),Zi=(()=>{class S{static withConfig(y){return{ngModule:S,providers:[{provide:Un,useValue:y.callSetDisabledState??dr}]}}static \u0275fac=function(Q){return new(Q||S)};static \u0275mod=r.$C({type:S});static \u0275inj=c.G2t({imports:[Ni]})}return S})(),cs=(()=>{class S{static withConfig(y){return{ngModule:S,providers:[{provide:kn,useValue:y.warnOnNgModelWithFormControl??"always"},{provide:Un,useValue:y.callSetDisabledState??dr}]}}static \u0275fac=function(Q){return new(Q||S)};static \u0275mod=r.$C({type:S});static \u0275inj=c.G2t({imports:[Ni]})}return S})()},4487:(ut,be,d)=>{"use strict";d.d(be,{Wk:()=>Le,iI:()=>it,lh:()=>$e,oH:()=>Be,qQ:()=>Pt,wQ:()=>ye});var c=d(9204),r=d(5430),g=d(316),Y=d(3683),W=d(5240),V=d(2481),q=d(9148),L=d(6763),$=d(9166),ee=d(4205),ne=d(9835),he=d(9452),Z=d(1903),le=d(1567),ie=d(3222),Oe=d(1365);let Le=(()=>{class mt{router;route;tabIndexAttribute;renderer;el;locationStrategy;reactiveHref=(0,W.vPA)(null);get href(){return(0,L.O8)(this.reactiveHref)}set href(st){this.reactiveHref.set(st)}target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;isAnchorElement;subscription;onChanges=new ee.B;applicationErrorHandler=(0,W.WQX)(W.ZTf);options=(0,W.WQX)($.J_,{optional:!0});constructor(st,vt,Bt,ze,It,He){this.router=st,this.route=vt,this.tabIndexAttribute=Bt,this.renderer=ze,this.el=It,this.locationStrategy=He,this.reactiveHref.set((0,W.WQX)(new q.ES_("href"),{optional:!0}));const _t=It.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===_t||"area"===_t||!("object"!=typeof customElements||!customElements.get(_t)?.observedAttributes?.includes?.("href")),this.isAnchorElement?this.setTabIndexIfNotOnNativeEl("0"):this.subscribeToNavigationEventsIfNecessary()}subscribeToNavigationEventsIfNecessary(){if(void 0!==this.subscription||!this.isAnchorElement)return;let st=this.preserveFragment;const vt=Bt=>"merge"===Bt||"preserve"===Bt;st||=vt(this.queryParamsHandling),st||=!this.queryParamsHandling&&!vt(this.options?.defaultQueryParamsHandling),st&&(this.subscription=this.router.events.subscribe(Bt=>{Bt instanceof $.wF&&this.updateHref()}))}preserveFragment=!1;skipLocationChange=!1;replaceUrl=!1;setTabIndexIfNotOnNativeEl(st){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",st)}ngOnChanges(st){this.isAnchorElement&&(this.updateHref(),this.subscribeToNavigationEventsIfNecessary()),this.onChanges.next(this)}routerLinkInput=null;set routerLink(st){null==st?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(this.routerLinkInput=(0,$.wO)(st)||Array.isArray(st)?st:[st],this.setTabIndexIfNotOnNativeEl("0"))}onClick(st,vt,Bt,ze,It){const He=this.urlTree;if(null===He||this.isAnchorElement&&(0!==st||vt||Bt||ze||It||"string"==typeof this.target&&"_self"!=this.target))return!0;const _t={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(He,_t)?.catch(Ut=>{this.applicationErrorHandler(Ut)}),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const st=this.urlTree;this.reactiveHref.set(null!==st&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(st))??"":null)}applyAttributeValue(st,vt){const Bt=this.renderer,ze=this.el.nativeElement;null!==vt?Bt.setAttribute(ze,st,vt):Bt.removeAttribute(ze,st)}get urlTree(){return null===this.routerLinkInput?null:(0,$.wO)(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static \u0275fac=function(vt){return new(vt||mt)(V.rXU($.Ix),V.rXU($.nX),V.kS0("tabindex"),V.rXU(V.sFG),V.rXU(V.aKT),V.rXU(r.hb))};static \u0275dir=V.FsC({type:mt,selectors:[["","routerLink",""]],hostVars:2,hostBindings:function(vt,Bt){1&vt&&V.bIt("click",function(It){return Bt.onClick(It.button,It.ctrlKey,It.shiftKey,It.altKey,It.metaKey)}),2&vt&&V.BMQ("href",Bt.reactiveHref(),V.n$t)("target",Bt.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",q.L39],skipLocationChange:[2,"skipLocationChange","skipLocationChange",q.L39],replaceUrl:[2,"replaceUrl","replaceUrl",q.L39],routerLink:"routerLink"},features:[V.OA$]})}return mt})(),ye=(()=>{class mt{router;element;renderer;cdr;link;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=!1;get isActive(){return this._isActive}routerLinkActiveOptions={exact:!1};ariaCurrentWhenActive;isActiveChange=new V.bkB;constructor(st,vt,Bt,ze,It){this.router=st,this.element=vt,this.renderer=Bt,this.cdr=ze,this.link=It,this.routerEventsSubscription=st.events.subscribe(He=>{He instanceof $.wF&&this.update()})}ngAfterContentInit(){(0,he.of)(this.links.changes,(0,he.of)(null)).pipe((0,ie.U)()).subscribe(st=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const st=[...this.links.toArray(),this.link].filter(vt=>!!vt).map(vt=>vt.onChanges);this.linkInputChangesSubscription=(0,ne.H)(st).pipe((0,ie.U)()).subscribe(vt=>{this._isActive!==this.isLinkActive(this.router)(vt)&&this.update()})}set routerLinkActive(st){const vt=Array.isArray(st)?st:st.split(" ");this.classes=vt.filter(Bt=>!!Bt)}ngOnChanges(st){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const st=this.hasActiveLinks();this.classes.forEach(vt=>{st?this.renderer.addClass(this.element.nativeElement,vt):this.renderer.removeClass(this.element.nativeElement,vt)}),st&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==st&&(this._isActive=st,this.cdr.markForCheck(),this.isActiveChange.emit(st))})}isLinkActive(st){const vt=function ve(mt){return!!mt.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return Bt=>{const ze=Bt.urlTree;return!!ze&&st.isActive(ze,vt)}}hasActiveLinks(){const st=this.isLinkActive(this.router);return this.link&&st(this.link)||this.links.some(st)}static \u0275fac=function(vt){return new(vt||mt)(V.rXU($.Ix),V.rXU(V.aKT),V.rXU(V.sFG),V.rXU(q.gRc),V.rXU(Le,8))};static \u0275dir=V.FsC({type:mt,selectors:[["","routerLinkActive",""]],contentQueries:function(vt,Bt,ze){if(1&vt&&V.wni(ze,Le,5),2&vt){let It;V.mGM(It=V.lsd())&&(Bt.links=It)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[V.OA$]})}return mt})();class Ze{}let ue=(()=>{class mt{router;injector;preloadingStrategy;loader;subscription;constructor(st,vt,Bt,ze){this.router=st,this.injector=vt,this.preloadingStrategy=Bt,this.loader=ze}setUpPreloading(){this.subscription=this.router.events.pipe((0,le.p)(st=>st instanceof $.wF),(0,Z.H)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(st,vt){const Bt=[];for(const ze of vt){ze.providers&&!ze._injector&&(ze._injector=(0,V.Ol2)(ze.providers,st,`Route: ${ze.path}`));const It=ze._injector??st,He=ze._loadedInjector??It;(ze.loadChildren&&!ze._loadedRoutes&&void 0===ze.canLoad||ze.loadComponent&&!ze._loadedComponent)&&Bt.push(this.preloadConfig(It,ze)),(ze.children||ze._loadedRoutes)&&Bt.push(this.processRoutes(He,ze.children??ze._loadedRoutes))}return(0,ne.H)(Bt).pipe((0,ie.U)())}preloadConfig(st,vt){return this.preloadingStrategy.preload(vt,()=>{let Bt;Bt=vt.loadChildren&&void 0===vt.canLoad?this.loader.loadChildren(st,vt):(0,he.of)(null);const ze=Bt.pipe((0,Oe.Z)(It=>null===It?(0,he.of)(void 0):(vt._loadedRoutes=It.routes,vt._loadedInjector=It.injector,this.processRoutes(It.injector??st,It.routes))));if(vt.loadComponent&&!vt._loadedComponent){const It=this.loader.loadComponent(st,vt);return(0,ne.H)([ze,It]).pipe((0,ie.U)())}return ze})}static \u0275fac=function(vt){return new(vt||mt)(W.KVO($.Ix),W.KVO(W.uvJ),W.KVO(Ze),W.KVO($.D$))};static \u0275prov=W.jDH({token:mt,factory:mt.\u0275fac,providedIn:"root"})}return mt})();const Ee=new W.nKC("");let xe=(()=>{class mt{urlSerializer;transitions;viewportScroller;zone;options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=$.wU;restoredId=0;store={};constructor(st,vt,Bt,ze,It={}){this.urlSerializer=st,this.transitions=vt,this.viewportScroller=Bt,this.zone=ze,this.options=It,It.scrollPositionRestoration||="disabled",It.anchorScrolling||="disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(st=>{st instanceof $.Z?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=st.navigationTrigger,this.restoredId=st.restoredState?st.restoredState.navigationId:0):st instanceof $.wF?(this.lastId=st.id,this.scheduleScrollEvent(st,this.urlSerializer.parse(st.urlAfterRedirects).fragment)):st instanceof $.lW&&st.code===$.mo.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(st,this.urlSerializer.parse(st.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(st=>{st instanceof $.OY&&(st.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(st.position):st.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(st.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(st,vt){var Bt=this;this.zone.runOutsideAngular((0,c.A)(function*(){yield new Promise(ze=>{setTimeout(ze),typeof requestAnimationFrame<"u"&&requestAnimationFrame(ze)}),Bt.zone.run(()=>{Bt.transitions.events.next(new $.OY(st,"popstate"===Bt.lastSource?Bt.store[Bt.restoredId]:null,vt))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(vt){V.QTQ()};static \u0275prov=W.jDH({token:mt,factory:mt.\u0275fac})}return mt})();function $e(mt,...zt){return(0,W.EmA)([{provide:$.bw,multi:!0,useValue:mt},[],{provide:$.nX,useFactory:rt,deps:[$.Ix]},{provide:V.iLQ,multi:!0,useFactory:We},zt.map(st=>st.\u0275providers)])}function rt(mt){return mt.routerState.root}function At(mt,zt){return{\u0275kind:mt,\u0275providers:zt}}function Be(mt={}){return At(4,[{provide:Ee,useFactory:()=>{const st=(0,W.WQX)(g.Xr),vt=(0,W.WQX)(V.SKi),Bt=(0,W.WQX)($.J2),ze=(0,W.WQX)($.Sd);return new xe(ze,Bt,st,vt,mt)}}])}function We(){const mt=(0,W.WQX)(W.zZn);return zt=>{const st=mt.get(V.o8S);if(zt!==st.components[0])return;const vt=mt.get($.Ix),Bt=mt.get(pe);1===mt.get(z)&&vt.initialNavigation(),mt.get(k,null,{optional:!0})?.setUpPreloading(),mt.get(Ee,null,{optional:!0})?.init(),vt.resetRootComponentType(st.componentTypes[0]),Bt.closed||(Bt.next(),Bt.complete(),Bt.unsubscribe())}}const pe=new W.nKC("",{factory:()=>new ee.B}),z=new W.nKC("",{providedIn:"root",factory:()=>1}),k=new W.nKC("");function _e(mt){return At(0,[{provide:k,useExisting:ue},{provide:Ze,useExisting:mt}])}function Pt(mt){return(0,V._jY)("NgRouterViewTransitions"),At(9,[{provide:$.Pu,useValue:$.Lg},{provide:$.bK,useValue:{skipNextTransition:!!mt?.skipInitialTransition,...mt}}])}const Ce=[r.aZ,{provide:$.Sd,useClass:$.nU},$.Ix,$.Zp,{provide:$.nX,useFactory:rt,deps:[$.Ix]},$.D$,[]];let it=(()=>{class mt{constructor(){}static forRoot(st,vt){return{ngModule:mt,providers:[Ce,[],{provide:$.bw,multi:!0,useValue:st},[],vt?.errorHandler?{provide:$.XR,useValue:vt.errorHandler}:[],{provide:$.J_,useValue:vt||{}},vt?.useHash?{provide:r.hb,useClass:Y.fw}:{provide:r.hb,useClass:r.Sm},{provide:Ee,useFactory:()=>{const mt=(0,W.WQX)(g.Xr),zt=(0,W.WQX)(V.SKi),st=(0,W.WQX)($.J_),vt=(0,W.WQX)($.J2),Bt=(0,W.WQX)($.Sd);return st.scrollOffset&&mt.setOffset(st.scrollOffset),new xe(Bt,vt,mt,zt,st)}},vt?.preloadingStrategy?_e(vt.preloadingStrategy).\u0275providers:[],vt?.initialNavigation?nn(vt):[],vt?.bindToComponentInputs?At(8,[$.tD,{provide:$.c1,useExisting:$.tD}]).\u0275providers:[],vt?.enableViewTransitions?Pt().\u0275providers:[],[{provide:tn,useFactory:We},{provide:V.iLQ,multi:!0,useExisting:tn}]]}}static forChild(st){return{ngModule:mt,providers:[{provide:$.bw,multi:!0,useValue:st}]}}static \u0275fac=function(vt){return new(vt||mt)};static \u0275mod=V.$C({type:mt});static \u0275inj=W.G2t({})}return mt})();function nn(mt){return["disabled"===mt.initialNavigation?At(3,[(0,V.phd)(()=>{(0,W.WQX)($.Ix).setUpLocationChangeListener()}),{provide:z,useValue:2}]).\u0275providers:[],"enabledBlocking"===mt.initialNavigation?At(2,[{provide:V.tvf,useValue:!0},{provide:z,useValue:0},(0,V.phd)(()=>{const zt=(0,W.WQX)(W.zZn);return zt.get(r.hj,Promise.resolve()).then(()=>new Promise(vt=>{const Bt=zt.get($.Ix),ze=zt.get(pe);(0,$.gk)(Bt,()=>{vt(!0)}),zt.get($.J2).afterPreactivation=()=>(vt(!0),ze.closed?(0,he.of)(void 0):ze),Bt.initialNavigation()}))})]).\u0275providers:[]]}const tn=new W.nKC("")},4558:(ut,be,d)=>{"use strict";d.d(be,{T:()=>r});var c=d(1530);function r(g){return Symbol.asyncIterator&&(0,c.T)(g?.[Symbol.asyncIterator])}},4876:(ut,be,d)=>{"use strict";d.d(be,{O:()=>W});var c=d(3942),r=d(8473),g=d(9397),Y=d(5602);function W(V=0,q,L=r.b){let $=-1;return null!=q&&((0,g.m)(q)?L=q:$=q),new c.c(ee=>{let ne=(0,Y.v)(V)?+V-L.now():V;ne<0&&(ne=0);let he=0;return L.schedule(function(){ee.closed||(ee.next(he++),0<=$?this.schedule(void 0,$):ee.complete())},ne)})}},4982:(ut,be,d)=>{"use strict";d.d(be,{G:()=>V});var c=d(3942),r=d(7092),g=d(3481),Y=d(1687),W=d(819);class V extends c.c{constructor(L,$){super(),this.source=L,this.subjectFactory=$,this._subject=null,this._refCount=0,this._connection=null,(0,W.S)(L)&&(this.lift=L.lift)}_subscribe(L){return this.getSubject().subscribe(L)}getSubject(){const L=this._subject;return(!L||L.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:L}=this;this._subject=this._connection=null,L?.unsubscribe()}connect(){let L=this._connection;if(!L){L=this._connection=new r.yU;const $=this.getSubject();L.add(this.source.subscribe((0,Y._)($,void 0,()=>{this._teardown(),$.complete()},ee=>{this._teardown(),$.error(ee)},()=>this._teardown()))),L.closed&&(this._connection=null,L=r.yU.EMPTY)}return L}refCount(){return(0,g.B)()(this)}}},5057:(ut,be,d)=>{"use strict";d.d(be,{J:()=>g});var c=d(819),r=d(1687);function g(){return(0,c.N)((Y,W)=>{let V,q=!1;Y.subscribe((0,r._)(W,L=>{const $=V;V=L,q&&W.next([$,L]),q=!0}))})}},5152:(ut,be,d)=>{"use strict";d.d(be,{U:()=>c});const c={now:()=>(c.delegate||Date).now(),delegate:void 0}},5240:(ut,be,d)=>{"use strict";let c;function r(){return c}function g(_){const B=c;return c=_,B}d.d(be,{JEi:()=>Ni,EJG:()=>ns,Yrj:()=>rs,VVG:()=>Ci,Y20:()=>ls,SKP:()=>Fr,hk6:()=>_c,eVN:()=>qe,b5C:()=>Vi,rQE:()=>Ri,X5O:()=>Si,qFA:()=>is,qQL:()=>Va,abz:()=>$o,tQN:()=>Ds,pcR:()=>_i,oMQ:()=>bi,Mlv:()=>Gn,MZA:()=>tr,M0L:()=>pi,Z63:()=>Jn,VML:()=>Mc,uvJ:()=>Hr,zcH:()=>ss,Wg1:()=>kr,Yw1:()=>Qr,jgP:()=>Gi,tcA:()=>ni,ID:()=>ji,YEL:()=>or,B9r:()=>Qn,GBX:()=>kn,ZTf:()=>Ls,nKC:()=>zt,zZn:()=>Ho,rJ1:()=>zi,nfM:()=>mi,s6P:()=>Xi,K29:()=>Mi,CQl:()=>ce,p9y:()=>kt,zSs:()=>jt,ONQ:()=>mt,hmW:()=>wt,yAH:()=>vn,KXn:()=>ja,oTH:()=>Sr,Czx:()=>Ir,f7T:()=>Qi,wVl:()=>gi,GYQ:()=>Ka,u5s:()=>$a,rev:()=>Qo,Ds7:()=>Pi,e5P:()=>Cr,Iaj:()=>as,GpT:()=>ps,buA:()=>Z,AQb:()=>vc,jNX:()=>Ar,eDl:()=>xr,qlT:()=>Gr,bm_:()=>li,r4V:()=>Ha,ok8:()=>he,Evm:()=>Bd,Jy$:()=>mc,laP:()=>Oe,EYC:()=>wn,ng7:()=>Nt,llW:()=>Sn,gsJ:()=>Tn,GZS:()=>de,iYM:()=>me,PEr:()=>Mn,z7f:()=>Ue,LZP:()=>Ot,Xln:()=>Be,yzR:()=>Vt,TWe:()=>In,LIA:()=>at,GWr:()=>b,pbo:()=>k,bBq:()=>Ve,Af3:()=>$i,zQk:()=>sn,oZy:()=>fn,tF7:()=>Pt,ZFY:()=>Un,cP4:()=>Je,MdC:()=>Wt,XvL:()=>E,KET:()=>Re,Tkx:()=>Xr,iw4:()=>We,tdH:()=>yc,pr_:()=>Fe,IAh:()=>z,U45:()=>At,WrV:()=>lt,kNT:()=>St,MI:()=>pr,biv:()=>ar,ZQF:()=>pe,Cv0:()=>ft,W0r:()=>G,R2n:()=>I,O8q:()=>l,VKj:()=>K,Rom:()=>h,z6V:()=>Xe,n$e:()=>Ae,hjC:()=>xt,Pz9:()=>Ko,PQT:()=>jn,VX4:()=>Yn,_Z$:()=>Ln,N79:()=>Fn,xLP:()=>Dn,zuh:()=>gt,BI7:()=>En,U7d:()=>yn,uXy:()=>An,nZS:()=>Yt,ihb:()=>uo,jNO:()=>si,ID8:()=>La,gv8:()=>Wa,dwj:()=>Ze,Bqz:()=>Xt,OsK:()=>ie,Rfq:()=>xe,kRk:()=>hc,c$7:()=>Ti,gxQ:()=>ms,ckz:()=>hn,kLh:()=>ve,xUg:()=>fr,KdJ:()=>us,db4:()=>cn,VPL:()=>Ye,MT:()=>Na,Z9v:()=>Ra,Ab:()=>M,w7Z:()=>Vo,Mx4:()=>D,veI:()=>m,HaV:()=>qr,Agf:()=>Vr,znI:()=>Gt,wGu:()=>Ct,ebl:()=>tn,OAn:()=>fs,_0$:()=>T,UaU:()=>ys,vaC:()=>Yr,d31:()=>Li,ZRn:()=>Ji,phH:()=>Er,WbQ:()=>ai,WB9:()=>hr,d_l:()=>v,vNG:()=>w,oyA:()=>Bi,_px:()=>Ba,CpD:()=>sc,XRZ:()=>gs,klJ:()=>bs,oKB:()=>C,Fje:()=>an,b$O:()=>Ss,SMZ:()=>ye,WQX:()=>pt,MzJ:()=>Jr,jXY:()=>x,MME:()=>gn,JlV:()=>y,Qs1:()=>S,srX:()=>cs,vOT:()=>ds,YWB:()=>J,EPY:()=>mn,yoD:()=>P,P3H:()=>en,Jzi:()=>rt,rFz:()=>Et,JjR:()=>Bo,M6u:()=>Di,KtD:()=>br,muV:()=>tt,A0l:()=>Zi,q$2:()=>Yi,yP_:()=>zr,EFk:()=>Q,Hps:()=>gc,UhH:()=>mr,QuC:()=>di,Y3W:()=>Cn,n$r:()=>Go,K7h:()=>Wn,FRF:()=>Zn,ezK:()=>bn,m7n:()=>dc,niQ:()=>Wo,krE:()=>ki,bll:()=>ka,Hh6:()=>xi,EmA:()=>N,blu:()=>zn,HAh:()=>gr,WfI:()=>dn,xbp:()=>vs,jvu:()=>Fa,lQ1:()=>Dc,BCV:()=>O,Rc9:()=>Oi,E6O:()=>un,DyX:()=>Cs,eFE:()=>Pn,dMS:()=>_r,HUe:()=>Rn,nl4:()=>$e,N4e:()=>Ei,XaM:()=>ct,YXz:()=>fc,Kw3:()=>Ts,vQI:()=>Uo,RZ9:()=>Pa,GA0:()=>jo,iMd:()=>F,Pfq:()=>Me,xyx:()=>Hs,a2B:()=>pn,kcM:()=>_t,DFp:()=>Bt,P2g:()=>Hn,cBl:()=>Ki,ypq:()=>Ps,vPA:()=>Fd,HO5:()=>ho,M_e:()=>_s,B22:()=>te,ik5:()=>Ms,AsM:()=>re,PP7:()=>Vn,$8:()=>ke,$Hz:()=>Bn,kU6:()=>ue,zAe:()=>Br,IvY:()=>ci,_gW:()=>vi,F1c:()=>Kt,ITl:()=>on,brz:()=>Te,jRZ:()=>ri,SX7:()=>uc,jDH:()=>Ce,G2t:()=>A,fuf:()=>Wr,cSN:()=>ii,KVO:()=>et,dmw:()=>yt,joV:()=>lc,By9:()=>ac,qSk:()=>oc,Njj:()=>f,eBV:()=>Os});const W=Symbol("NotFound");function q(_){return _===W||"\u0275NotFound"===_?.name}Error;var L=d(8677),$=d(5797),ee=d(3942);const he="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss";class Z extends Error{code;constructor(B,fe){super(ie(B,fe)),this.code=B}}function ie(_,B){return`${function le(_){return`NG0${Math.abs(_)}`}(_)}${B?": "+B:""}`}const Oe=globalThis;function ye(){return!1}function ve(_){for(let B in _)if(_[B]===ve)return B;throw Error("")}function Ze(_,B){for(const fe in B)B.hasOwnProperty(fe)&&!_.hasOwnProperty(fe)&&(_[fe]=B[fe])}function re(_){if("string"==typeof _)return _;if(Array.isArray(_))return`[${_.map(re).join(", ")}]`;if(null==_)return""+_;const B=_.overriddenName||_.name;if(B)return`${B}`;const fe=_.toString();if(null==fe)return""+fe;const nt=fe.indexOf("\n");return nt>=0?fe.slice(0,nt):fe}function Ae(_,B){return _?B?`${_} ${B}`:_:B||""}function ue(_,B=100){if(!_||B<1||_.length<=B)return _;if(1==B)return _.substring(0,1)+"...";const fe=Math.round(B/2);return _.substring(0,fe)+"..."+_.substring(_.length-fe)}const Ee=ve({__forward_ref__:ve});function xe(_){return _.__forward_ref__=xe,_.toString=function(){return re(this())},_}function $e(_){return rt(_)?_():_}function rt(_){return"function"==typeof _&&_.hasOwnProperty(Ee)&&_.__forward_ref__===xe}function At(_,B){"number"!=typeof _&&ke(B,typeof _,"number","===")}function lt(_,B,fe){At(_,"Expected a number"),function H(_,B,fe){_<=B||ke(fe,_,B,"<=")}(_,fe,"Expected number to be less than or equal to"),k(_,B,"Expected number to be greater than or equal to")}function ft(_,B){"string"!=typeof _&&ke(B,null===_?"null":typeof _,"string","===")}function at(_,B){"function"!=typeof _&&ke(B,null===_?"null":typeof _,"function","===")}function Be(_,B,fe){_!=B&&ke(fe,_,B,"==")}function We(_,B,fe){_==B&&ke(fe,_,B,"!=")}function pe(_,B,fe){_!==B&&ke(fe,_,B,"===")}function z(_,B,fe){_===B&&ke(fe,_,B,"!==")}function E(_,B,fe){_B||ke(fe,_,B,">")}function k(_,B,fe){_>=B||ke(fe,_,B,">=")}function me(_,B){null==_&&ke(B,_,null,"!=")}function ke(_,B,fe,nt){throw new Error(`ASSERTION ERROR: ${_}`+(null==nt?"":` [Expected=> ${fe} ${nt} ${B} <=Actual]`))}function Ue(_){_ instanceof Node||ke(`The provided value must be an instance of a DOM Node but got ${re(_)}`)}function Ot(_){_ instanceof Element||ke(`The provided value must be an element but got ${re(_)}`)}function Pt(_,B){me(_,"Array must be defined.");const fe=_.length;(B<0||B>=fe)&&ke(`Index expected to be less than ${fe} but got ${B}`)}function St(_,...B){if(-1!==B.indexOf(_))return!0;ke(`Expected value to be one of ${JSON.stringify(B)} but was ${JSON.stringify(_)}.`)}function Fe(_){null!==(0,L.nR)()&&ke(`${_}() should never be called in a reactive context.`)}function Ce(_){return{token:_.token,providedIn:_.providedIn||null,factory:_.factory,value:void 0}}function A(_){return{providers:_.providers||[],imports:_.imports||[]}}function ae(_){return function Tt(_,B){return _.hasOwnProperty(B)&&_[B]||null}(_,vn)}function tt(_){return null!==ae(_)}function tn(_){return _&&_.hasOwnProperty(mt)?_[mt]:null}const vn=ve({\u0275prov:ve}),mt=ve({\u0275inj:ve});class zt{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(B,fe){this._desc=B,this.\u0275prov=void 0,"number"==typeof fe?this.__NG_ELEMENT_ID__=fe:void 0!==fe&&(this.\u0275prov=Ce({token:this,providedIn:fe.providedIn||"root",factory:fe.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}let st;function vt(){return ke("getInjectorProfilerContext should never be called in production mode"),st}function Bt(_){ke("setInjectorProfilerContext should never be called in production mode");const B=st;return st=_,B}const ze=[],It=()=>{};function _t(_){return ke("setInjectorProfiler should never be called in production mode"),null!==_?(ze.includes(_)||ze.push(_),()=>function He(_){const B=ze.indexOf(_);-1!==B&&ze.splice(B,1)}(_)):(ze.length=0,It)}function Ut(_){ke("Injector profiler should never be called in production mode");for(let B=0;B1&&(bt=` Path: ${fe.join(" -> ")}.`);return ie(B,`${_}${nt?` Source: ${nt}.`:""}${bt}`)}(_[ir]||_.message,_[Kn],_[On],B),_}(jn(0,B),null)}function Bn(_,B){throw new Z(-201,!1)}function qn(_,B,fe){const nt=new Z(B,_);return nt[Kn]=B,nt[ir]=_,fe&&(nt[On]=fe),nt}let ur;function yr(){return ur}function pn(_){const B=ur;return ur=_,B}function Jr(_,B,fe){const nt=ae(_);return nt&&"root"==nt.providedIn?void 0===nt.value?nt.value=nt.factory():nt.value:8&fe?null:void 0!==B?B:void Bn()}function Un(_){}const sr={},oe="__NG_DI_FLAG__";class Se{injector;constructor(B){this.injector=B}retrieve(B,fe){const nt=xt(fe)||0;try{return this.injector.get(B,8&nt?null:sr,nt)}catch(bt){if(q(bt))return bt;throw bt}}}function Ie(_,B=0){const fe=r();if(void 0===fe)throw new Z(-203,!1);if(null===fe)return Jr(_,void 0,B);{const nt=function ge(_){return{optional:!!(8&_),host:!!(1&_),self:!!(2&_),skipSelf:!!(4&_)}}(B),bt=fe.retrieve(_,nt);if(q(bt)){if(nt.optional)return null;throw bt}return bt}}function et(_,B=0){return(yr()||Ie)($e(_),B)}function yt(_){throw new Z(202,!1)}function pt(_,B){return et(_,xt(B))}function xt(_){return typeof _>"u"||"number"==typeof _?_:0|(_.optional&&8)|(_.host&&1)|(_.self&&2)|(_.skipSelf&&4)}function je(_){const B=[];for(let fe=0;fe<_.length;fe++){const nt=$e(_[fe]);if(Array.isArray(nt)){if(0===nt.length)throw new Z(900,!1);let bt,qt=0;for(let lr=0;lrArray.isArray(fe)?Dn(fe,B):B(fe))}function wn(_,B,fe){B>=_.length?_.push(fe):_.splice(B,0,fe)}function un(_,B){return B>=_.length-1?_.pop():_.splice(B,1)[0]}function dn(_,B){const fe=[];for(let nt=0;nt<_;nt++)fe.push(B);return fe}function Tn(_,B,fe){const nt=_.length-fe;for(;BB;)_[bt]=_[bt-2],bt--;_[B]=fe,_[B+1]=nt}}function bn(_,B,fe){let nt=Zn(_,B);return nt>=0?_[1|nt]=fe:(nt=~nt,Sn(_,nt,B,fe)),nt}function Wn(_,B){const fe=Zn(_,B);if(fe>=0)return _[1|fe]}function Zn(_,B){return function Tr(_,B,fe){let nt=0,bt=_.length>>fe;for(;bt!==nt;){const qt=nt+(bt-nt>>1),lr=_[qt<B?bt=qt:nt=qt+1}return~(bt<{fe.push(lr)};return Dn(B,lr=>{const Ii=lr;Te(Ii,qt,[],nt)&&(bt||=[],bt.push(Ii))}),void 0!==bt&&X(bt,qt),fe}function X(_,B){for(let fe=0;fe<_.length;fe++){const{ngModule:nt,providers:bt}=_[fe];Dt(bt,qt=>{B(qt,nt)})}}function Te(_,B,fe,nt){if(!(_=$e(_)))return!1;let bt=null,qt=tn(_);const lr=!qt&&fr(_);if(qt||lr){if(lr&&!lr.standalone)return!1;bt=_}else{const Pr=_.ngModule;if(qt=tn(Pr),!qt)return!1;bt=Pr}const Ii=nt.has(bt);if(lr){if(Ii)return!1;if(nt.add(bt),lr.dependencies){const Pr="function"==typeof lr.dependencies?lr.dependencies():lr.dependencies;for(const Nr of Pr)Te(Nr,B,fe,nt)}}else{if(!qt)return!1;{if(null!=qt.imports&&!Ii){let Nr;nt.add(bt);try{Dn(qt.imports,xs=>{Te(xs,B,fe,nt)&&(Nr||=[],Nr.push(xs))})}finally{}void 0!==Nr&&X(Nr,B)}if(!Ii){const Nr=Ct(bt)||(()=>new bt);B({provide:bt,useFactory:Nr,deps:Gn},bt),B({provide:Qn,useValue:bt,multi:!0},bt),B({provide:Jn,useValue:()=>et(bt),multi:!0},bt)}const Pr=qt.providers;if(null!=Pr&&!Ii){const Nr=_;Dt(Pr,xs=>{B(xs,Nr)})}}}return bt!==_&&void 0!==_.providers}function Dt(_,B){for(let fe of _)j(fe)&&(fe=fe.\u0275providers),Array.isArray(fe)?Dt(fe,B):B(fe)}const ln=ve({provide:String,useValue:ve});function rn(_){return null!==_&&"object"==typeof _&&ln in _}function Cn(_){return"function"==typeof _}function gn(_){return!!_.useClass}const kn=new zt(""),Rr={},jr={};let fi;function hr(){return void 0===fi&&(fi=new Sr),fi}class Hr{}class Cr extends Hr{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(B,fe,nt,bt){super(),this.parent=fe,this.source=nt,this.scopes=bt,ti(B,lr=>this.processProvider(lr)),this.records.set(nr,yi(void 0,this)),bt.has("environment")&&this.records.set(Hr,yi(void 0,this));const qt=this.records.get(kn);null!=qt&&"string"==typeof qt.value&&this.scopes.add(qt.value),this.injectorDefTypes=new Set(this.get(Qn,Gn,{self:!0}))}retrieve(B,fe){const nt=xt(fe)||0;try{return this.get(B,sr,nt)}catch(bt){if(q(bt))return bt;throw bt}}destroy(){ei(this),this._destroyed=!0;const B=(0,L.Ht)(null);try{for(const nt of this._ngOnDestroyHooks)nt.ngOnDestroy();const fe=this._onDestroyHooks;this._onDestroyHooks=[];for(const nt of fe)nt()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),(0,L.Ht)(B)}}onDestroy(B){return ei(this),this._onDestroyHooks.push(B),()=>this.removeOnDestroy(B)}runInContext(B){ei(this);const fe=g(this),nt=pn(void 0);try{return B()}finally{g(fe),pn(nt)}}get(B,fe=sr,nt){if(ei(this),B.hasOwnProperty(Jt))return B[Jt](this);const bt=xt(nt),lr=g(this),Ii=pn(void 0);try{if(!(4&bt)){let Nr=this.records.get(B);if(void 0===Nr){const xs=function Lr(_){return"function"==typeof _||"object"==typeof _&&"InjectionToken"===_.ngMetadataName}(B)&&ae(B);Nr=xs&&this.injectableDefInScope(xs)?yi(hi(B),Rr):null,this.records.set(B,Nr)}if(null!=Nr)return this.hydrate(B,Nr,bt)}return(2&bt?hr():this.parent).get(B,fe=8&bt&&fe===sr?null:fe)}catch(Pr){const Nr=function er(_){return _[Kn]}(Pr);throw-200===Nr||-201===Nr?new Z(Nr,null):Pr}finally{pn(Ii),g(lr)}}resolveInjectorInitializers(){const B=(0,L.Ht)(null),fe=g(this),nt=pn(void 0);try{const qt=this.get(Jn,Gn,{self:!0});for(const lr of qt)lr()}finally{g(fe),pn(nt),(0,L.Ht)(B)}}toString(){const B=[],fe=this.records;for(const nt of fe.keys())B.push(re(nt));return`R3Injector[${B.join(", ")}]`}processProvider(B){let fe=Cn(B=$e(B))?B:$e(B&&B.provide);const nt=function Ui(_){return rn(_)?yi(void 0,_.useValue):yi(Oi(_),Rr)}(B);if(!Cn(B)&&!0===B.multi){let bt=this.records.get(fe);bt||(bt=yi(void 0,Rr,!0),bt.factory=()=>je(bt.multi),this.records.set(fe,bt)),fe=B,bt.multi.push(B)}this.records.set(fe,nt)}hydrate(B,fe,nt){const bt=(0,L.Ht)(null);try{if(fe.value===jr)throw jn(re(B));return fe.value===Rr&&(fe.value=jr,fe.value=fe.factory(void 0,nt)),"object"==typeof fe.value&&fe.value&&function Hi(_){return null!==_&&"object"==typeof _&&"function"==typeof _.ngOnDestroy}(fe.value)&&this._ngOnDestroyHooks.add(fe.value),fe.value}finally{(0,L.Ht)(bt)}}injectableDefInScope(B){if(!B.providedIn)return!1;const fe=$e(B.providedIn);return"string"==typeof fe?"any"===fe||this.scopes.has(fe):this.injectorDefTypes.has(fe)}removeOnDestroy(B){const fe=this._onDestroyHooks.indexOf(B);-1!==fe&&this._onDestroyHooks.splice(fe,1)}}function hi(_){const B=ae(_),fe=null!==B?B.factory:Ct(_);if(null!==fe)return fe;if(_ instanceof zt)throw new Z(204,!1);if(_ instanceof Function)return function $r(_){if(_.length>0)throw new Z(204,!1);const fe=function nn(_){return(_?.[vn]??null)||null}(_);return null!==fe?()=>fe.factory(_):()=>new _}(_);throw new Z(204,!1)}function Oi(_,B,fe){let nt;if(Cn(_)){const bt=$e(_);return Ct(bt)||hi(bt)}if(rn(_))nt=()=>$e(_.useValue);else if(function Ht(_){return!(!_||!_.useFactory)}(_))nt=()=>_.useFactory(...je(_.deps||[]));else if(function _n(_){return!(!_||!_.useExisting)}(_))nt=(bt,qt)=>et($e(_.useExisting),void 0!==qt&&8&qt?8:void 0);else{const bt=$e(_&&(_.useClass||_.provide));if(!function os(_){return!!_.deps}(_))return Ct(bt)||hi(bt);nt=()=>new bt(...je(_.deps))}return nt}function ei(_){if(_.destroyed)throw new Z(205,!1)}function yi(_,B,fe=!1){return{factory:_,value:B,multi:fe?[]:void 0}}function ti(_,B){for(const fe of _)Array.isArray(fe)?ti(fe,B):fe&&j(fe)?ti(fe.\u0275providers,B):B(fe)}function Ei(_,B){let fe;_ instanceof Cr?(ei(_),fe=_):fe=new Se(_);const bt=g(fe),qt=pn(void 0);try{return B()}finally{g(bt),pn(qt)}}function Di(){return void 0!==yr()||null!=r()}function $i(_){if(!Di())throw new Z(-203,!1)}const Gi=0,xr=1,kr=2,Qi=3,Mi=4,Gr=5,ni=6,Ci=7,Fr=8,or=9,pi=10,ps=11,ns=12,rs=13,Si=14,Vi=15,Ri=16,gi=17,Pi=18,ji=19,bi=20,Ir=21,_i=22,Ds=23,as=24,Ni=25,Qr=26,Wi=1,is=6,Xi=7,li=8,mi=9,ls=10;function Yi(_){return Array.isArray(_)&&"object"==typeof _[Wi]}function Zi(_){return Array.isArray(_)&&!0===_[Wi]}function cs(_){return!!(4&_.flags)}function S(_){return _.componentOffset>-1}function P(_){return!(1&~_.flags)}function y(_){return!!_.template}function Q(_){return!!(512&_[kr])}function mn(_){return!(256&~_[kr])}function K(_,B){h(_,B[xr])}function l(_,B){const fe=B+Qr;Pt(_,fe),E(fe,_[xr].bindingStartIndex,"TNodes should be created before any bindings")}function h(_,B){I(_);const fe=B.data;for(let nt=Qr;nt) must have projection slots defined.")}function pr(_,B){me(_,"Component views should always have a parent view (component's host view)")}function Xr(_,B){fn(_,B),fn(_,B+8),At(_[B+0],"injectorIndex should point to a bloom filter"),At(_[B+1],"injectorIndex should point to a bloom filter"),At(_[B+2],"injectorIndex should point to a bloom filter"),At(_[B+3],"injectorIndex should point to a bloom filter"),At(_[B+4],"injectorIndex should point to a bloom filter"),At(_[B+5],"injectorIndex should point to a bloom filter"),At(_[B+6],"injectorIndex should point to a bloom filter"),At(_[B+7],"injectorIndex should point to a bloom filter"),At(_[B+8],"injectorIndex should point to parent injector")}const Ar="svg",zi="math";function ci(_){for(;Array.isArray(_);)_=_[Gi];return _}function Br(_){for(;Array.isArray(_);){if("object"==typeof _[Wi])return _;_=_[Gi]}return null}function Yr(_,B){return ci(B[_])}function Li(_,B){return ci(B[_.index])}function Ji(_,B){const fe=null===_?-1:_.index;return-1!==fe?ci(B[fe]):null}function gs(_,B){return _.data[B]}function xi(_,B){return _[B]}function _s(_,B,fe,nt){fe>=_.data.length&&(_.data[fe]=null,_.blueprint[fe]=null),B[fe]=nt}function us(_,B){const fe=B[_];return Yi(fe)?fe:fe[Gi]}function ds(_){return!(4&~_[kr])}function Kt(_){return!(128&~_[kr])}function on(_){return Zi(_[Qi])}function cn(_,B){return null==B?null:_[B]}function Rn(_){_[gi]=0}function gr(_){1024&_[kr]||(_[kr]|=1024,Kt(_)&&zn(_))}function ri(_,B){for(;_>0;)B=B[Si],_--;return B}function _r(_){return!!(9216&_[kr]||_[as]?.dirty)}function vi(_){_[pi].changeDetectionScheduler?.notify(8),64&_[kr]&&(_[kr]|=1024),_r(_)&&zn(_)}function zn(_){_[pi].changeDetectionScheduler?.notify(0);let B=T(_);for(;null!==B&&!(8192&B[kr])&&(B[kr]|=8192,Kt(B));)B=T(B)}function Ms(_,B){if(mn(_))throw new Z(911,!1);null===_[Ir]&&(_[Ir]=[]),_[Ir].push(B)}function Cs(_,B){if(null===_[Ir])return;const fe=_[Ir].indexOf(B);-1!==fe&&_[Ir].splice(fe,1)}function T(_){const B=_[Qi];return Zi(B)?B[Qi]:B}function v(_){return _[Ci]??=[]}function w(_){return _.cleanup??=[]}function te(_,B,fe,nt){const bt=v(B);bt.push(fe),_.firstCreatePass&&w(_).push(nt,bt.length-1)}const De={lFrame:xa(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var qe=function(_){return _[_.Off=0]="Off",_[_.Exhaustive=1]="Exhaustive",_[_.OnlyDirtyViews=2]="OnlyDirtyViews",_}(qe||{});let Mt=0,Lt=!1;function Gt(){return De.lFrame.elementDepthCount}function an(){De.lFrame.elementDepthCount++}function Fn(){De.lFrame.elementDepthCount--}function hn(){return De.bindingsEnabled}function br(){return null!==De.skipHydrationRootTNode}function mr(_){return De.skipHydrationRootTNode===_}function ii(){De.bindingsEnabled=!0}function si(_){De.skipHydrationRootTNode=_}function Wr(){De.bindingsEnabled=!1}function ki(){De.skipHydrationRootTNode=null}function fs(){return De.lFrame.lView}function bs(){return De.lFrame.tView}function Os(_){return De.lFrame.contextLView=_,_[Fr]}function f(_){return De.lFrame.contextLView=null,_}function D(){let _=m();for(;null!==_&&64===_.type;)_=_.parent;return _}function m(){return De.lFrame.currentTNode}function M(){const _=De.lFrame,B=_.currentTNode;return _.isParent?B:B.parent}function F(_,B){const fe=De.lFrame;fe.currentTNode=_,fe.isParent=B}function J(){return De.lFrame.isParent}function Me(){De.lFrame.isParent=!1}function Ye(){return De.lFrame.contextLView}function Et(){return ke("Must never be called in production mode"),Mt!==qe.Off}function en(){return ke("Must never be called in production mode"),Mt===qe.Exhaustive}function Hn(_){ke("Must never be called in production mode"),Mt=_}function zr(){return Lt}function Ki(_){const B=Lt;return Lt=_,B}function ms(){const _=De.lFrame;let B=_.bindingRootIndex;return-1===B&&(B=_.bindingRootIndex=_.tView.bindingStartIndex),B}function Ti(){return De.lFrame.bindingIndex}function Ts(_){return De.lFrame.bindingIndex=_}function vs(){return De.lFrame.bindingIndex++}function Ss(_){const B=De.lFrame,fe=B.bindingIndex;return B.bindingIndex=B.bindingIndex+_,fe}function Bo(){return De.lFrame.inI18n}function Hs(_){De.lFrame.inI18n=_}function Uo(_,B){const fe=De.lFrame;fe.bindingIndex=fe.bindingRootIndex=_,Pa(B)}function Ra(){return De.lFrame.currentDirectiveIndex}function Pa(_){De.lFrame.currentDirectiveIndex=_}function Na(_){const B=De.lFrame.currentDirectiveIndex;return-1===B?null:_[B]}function Vo(){return De.lFrame.currentQueryIndex}function jo(_){De.lFrame.currentQueryIndex=_}function Is(_){const B=_[xr];return 2===B.type?B.declTNode:1===B.type?_[Gr]:null}function uo(_,B,fe){if(4&fe){let bt=B,qt=_;for(;!(bt=bt.parent,null!==bt||1&fe||(bt=Is(qt),null===bt||(qt=qt[Si],10&bt.type))););if(null===bt)return!1;B=bt,_=qt}const nt=De.lFrame=Rs();return nt.currentTNode=B,nt.lView=_,!0}function La(_){const B=Rs(),fe=_[xr];De.lFrame=B,B.currentTNode=fe.firstChild,B.lView=_,B.tView=fe,B.contextLView=_,B.bindingIndex=fe.bindingStartIndex,B.inI18n=!1}function Rs(){const _=De.lFrame,B=null===_?null:_.child;return null===B?xa(_):B}function xa(_){const B={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:_,child:null,inI18n:!1};return null!==_&&(_.child=B),B}function $s(){const _=De.lFrame;return De.lFrame=_.parent,_.currentTNode=null,_.lView=null,_}const Wo=$s;function ka(){const _=$s();_.isParent=!0,_.tView=null,_.selectedIndex=-1,_.contextLView=null,_.elementDepthCount=0,_.currentDirectiveIndex=-1,_.currentNamespace=null,_.bindingRootIndex=-1,_.bindingIndex=-1,_.currentQueryIndex=0}function Fa(_){return(De.lFrame.contextLView=ri(_,De.lFrame.contextLView))[Fr]}function Ba(){return De.lFrame.selectedIndex}function Ps(_){De.lFrame.selectedIndex=_}function sc(){const _=De.lFrame;return gs(_.tView,_.selectedIndex)}function oc(){De.lFrame.currentNamespace=Ar}function ac(){De.lFrame.currentNamespace=zi}function lc(){!function cc(){De.lFrame.currentNamespace=null}()}function ys(){return De.lFrame.currentNamespace}let Ns=!0;function uc(){return Ns}function dc(_){Ns=_}let zo={elements:void 0};function fc(_){void 0===zo.elements&&(zo.elements=_)}function hc(){return zo}function Ua(_,B=null,fe=null,nt){const bt=Ko(_,B,fe,nt);return bt.resolveInjectorInitializers(),bt}function Ko(_,B=null,fe=null,nt,bt=new Set){const qt=[fe||Gn,C(_)];return nt=nt||("object"==typeof _?void 0:re(_)),new Cr(qt,B||hr(),nt||null,bt)}class Ho{static THROW_IF_NOT_FOUND=sr;static NULL=new Sr;static create(B,fe){if(Array.isArray(B))return Ua({name:""},fe,B,"");{const nt=B.name??"";return Ua({name:nt},B.parent,B.providers,nt)}}static \u0275prov=Ce({token:Ho,providedIn:"any",factory:()=>et(nr)});static __NG_ELEMENT_ID__=-1}const Va=new zt("");let $o=(()=>class _{static __NG_ELEMENT_ID__=fo;static __NG_ENV_ID__=fe=>fe})();class ja extends $o{_lView;constructor(B){super(),this._lView=B}get destroyed(){return mn(this._lView)}onDestroy(B){const fe=this._lView;return Ms(fe,B),()=>Cs(fe,B)}}function fo(){return new ja(fs())}class ss{_console=console;handleError(B){this._console.error("ERROR",B)}}const Ls=new zt("",{providedIn:"root",factory:()=>{const _=pt(Hr);let B;return fe=>{_.destroyed&&!B?setTimeout(()=>{throw fe}):(B??=_.get(ss),B.handleError(fe))}}}),Wa={provide:Jn,useValue:()=>{pt(ss)},multi:!0};function gc(_){return"function"==typeof _&&void 0!==_[L.bh]}function Fd(_,B){const[fe,nt,bt]=(0,L.n5)(_,B?.equal),qt=fe;return qt.set=nt,qt.update=bt,qt.asReadonly=ho.bind(qt),qt}function ho(){const _=this[L.bh];if(void 0===_.readonlyFn){const B=()=>this();B[L.bh]=_,_.readonlyFn=B}return _.readonlyFn}function Go(_){return gc(_)&&"function"==typeof _.set}class _c{}const Bd=new zt("",{providedIn:"root",factory:()=>!1}),Ka=new zt("",{providedIn:"root",factory:()=>!1}),mc=new zt(""),vc=new zt("");function yc(_,B){if(null!==(0,L.nR)())throw new Z(-602,!1)}let Ha=(()=>class _{view;node;constructor(fe,nt){this.view=fe,this.node=nt}static __NG_ELEMENT_ID__=Ec})();function Ec(){return new Ha(fs(),D())}let Qo=(()=>{class _{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new $.t(!1);get hasPendingTasks(){return!this.destroyed&&this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new ee.c(fe=>{fe.next(!1),fe.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);const fe=this.taskId++;return this.pendingTasks.add(fe),fe}has(fe){return this.pendingTasks.has(fe)}remove(fe){this.pendingTasks.delete(fe),0===this.pendingTasks.size&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=Ce({token:_,providedIn:"root",factory:()=>new _})}return _})(),$a=(()=>{class _{internalPendingTasks=pt(Qo);scheduler=pt(_c);errorHandler=pt(Ls);add(){const fe=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(fe)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(fe))}}run(fe){const nt=this.add();fe().catch(this.errorHandler).finally(nt)}static \u0275prov=Ce({token:_,providedIn:"root",factory:()=>new _})}return _})();function Dc(..._){}let Mc=(()=>{class _{static \u0275prov=Ce({token:_,providedIn:"root",factory:()=>new Ga})}return _})();class Ga{dirtyEffectCount=0;queues=new Map;add(B){this.enqueue(B),this.schedule(B)}schedule(B){B.dirty&&this.dirtyEffectCount++}remove(B){const nt=this.queues.get(B.zone);nt.has(B)&&(nt.delete(B),B.dirty&&this.dirtyEffectCount--)}enqueue(B){const fe=B.zone;this.queues.has(fe)||this.queues.set(fe,new Set);const nt=this.queues.get(fe);nt.has(B)||nt.add(B)}flush(){for(;this.dirtyEffectCount>0;){let B=!1;for(const[fe,nt]of this.queues)B||=null===fe?this.flushQueue(nt):fe.run(()=>this.flushQueue(nt));B||(this.dirtyEffectCount=0)}}flushQueue(B){let fe=!1;for(const nt of B)nt.dirty&&(this.dirtyEffectCount--,fe=!0,nt.run());return fe}}},5430:(ut,be,d)=>{"use strict";d.d(be,{Q:()=>he,Sm:()=>ie,Vw:()=>q,aZ:()=>Oe,hb:()=>Z,hj:()=>L,ig:()=>W,kB:()=>le,om:()=>ee,qj:()=>V,rb:()=>Y});var c=d(5240),r=d(4205);let g=null;function Y(){return g}function W(re){g??=re}class V{}let q=(()=>{class re{historyGo(ue){throw new Error("")}static \u0275fac=function(Ee){return new(Ee||re)};static \u0275prov=c.jDH({token:re,factory:()=>(0,c.WQX)($),providedIn:"platform"})}return re})();const L=new c.nKC("");let $=(()=>{class re extends q{_location;_history;_doc=(0,c.WQX)(c.qQL);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Y().getBaseHref(this._doc)}onPopState(ue){const Ee=Y().getGlobalEventTarget(this._doc,"window");return Ee.addEventListener("popstate",ue,!1),()=>Ee.removeEventListener("popstate",ue)}onHashChange(ue){const Ee=Y().getGlobalEventTarget(this._doc,"window");return Ee.addEventListener("hashchange",ue,!1),()=>Ee.removeEventListener("hashchange",ue)}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(ue){this._location.pathname=ue}pushState(ue,Ee,xe){this._history.pushState(ue,Ee,xe)}replaceState(ue,Ee,xe){this._history.replaceState(ue,Ee,xe)}forward(){this._history.forward()}back(){this._history.back()}historyGo(ue=0){this._history.go(ue)}getState(){return this._history.state}static \u0275fac=function(Ee){return new(Ee||re)};static \u0275prov=c.jDH({token:re,factory:()=>new re,providedIn:"platform"})}return re})();function ee(re,Ae){return re?Ae?re.endsWith("/")?Ae.startsWith("/")?re+Ae.slice(1):re+Ae:Ae.startsWith("/")?re+Ae:`${re}/${Ae}`:re:Ae}function ne(re){const Ae=re.search(/#|\?|$/);return"/"===re[Ae-1]?re.slice(0,Ae-1)+re.slice(Ae):re}function he(re){return re&&"?"!==re[0]?`?${re}`:re}let Z=(()=>{class re{historyGo(ue){throw new Error("")}static \u0275fac=function(Ee){return new(Ee||re)};static \u0275prov=c.jDH({token:re,factory:()=>(0,c.WQX)(ie),providedIn:"root"})}return re})();const le=new c.nKC("");let ie=(()=>{class re extends Z{_platformLocation;_baseHref;_removeListenerFns=[];constructor(ue,Ee){super(),this._platformLocation=ue,this._baseHref=Ee??this._platformLocation.getBaseHrefFromDOM()??(0,c.WQX)(c.qQL).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(ue){this._removeListenerFns.push(this._platformLocation.onPopState(ue),this._platformLocation.onHashChange(ue))}getBaseHref(){return this._baseHref}prepareExternalUrl(ue){return ee(this._baseHref,ue)}path(ue=!1){const Ee=this._platformLocation.pathname+he(this._platformLocation.search),xe=this._platformLocation.hash;return xe&&ue?`${Ee}${xe}`:Ee}pushState(ue,Ee,xe,$e){const rt=this.prepareExternalUrl(xe+he($e));this._platformLocation.pushState(ue,Ee,rt)}replaceState(ue,Ee,xe,$e){const rt=this.prepareExternalUrl(xe+he($e));this._platformLocation.replaceState(ue,Ee,rt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(ue=0){this._platformLocation.historyGo?.(ue)}static \u0275fac=function(Ee){return new(Ee||re)(c.KVO(q),c.KVO(le,8))};static \u0275prov=c.jDH({token:re,factory:re.\u0275fac,providedIn:"root"})}return re})(),Oe=(()=>{class re{_subject=new r.B;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(ue){this._locationStrategy=ue;const Ee=this._locationStrategy.getBaseHref();this._basePath=function Ze(re){if(new RegExp("^(https?:)?//").test(re)){const[,ue]=re.split(/\/\/[^\/]+/);return ue}return re}(ne(ve(Ee))),this._locationStrategy.onPopState(xe=>{this._subject.next({url:this.path(!0),pop:!0,state:xe.state,type:xe.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(ue=!1){return this.normalize(this._locationStrategy.path(ue))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(ue,Ee=""){return this.path()==this.normalize(ue+he(Ee))}normalize(ue){return re.stripTrailingSlash(function ye(re,Ae){if(!re||!Ae.startsWith(re))return Ae;const ue=Ae.substring(re.length);return""===ue||["/",";","?","#"].includes(ue[0])?ue:Ae}(this._basePath,ve(ue)))}prepareExternalUrl(ue){return ue&&"/"!==ue[0]&&(ue="/"+ue),this._locationStrategy.prepareExternalUrl(ue)}go(ue,Ee="",xe=null){this._locationStrategy.pushState(xe,"",ue,Ee),this._notifyUrlChangeListeners(this.prepareExternalUrl(ue+he(Ee)),xe)}replaceState(ue,Ee="",xe=null){this._locationStrategy.replaceState(xe,"",ue,Ee),this._notifyUrlChangeListeners(this.prepareExternalUrl(ue+he(Ee)),xe)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(ue=0){this._locationStrategy.historyGo?.(ue)}onUrlChange(ue){return this._urlChangeListeners.push(ue),this._urlChangeSubscription??=this.subscribe(Ee=>{this._notifyUrlChangeListeners(Ee.url,Ee.state)}),()=>{const Ee=this._urlChangeListeners.indexOf(ue);this._urlChangeListeners.splice(Ee,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(ue="",Ee){this._urlChangeListeners.forEach(xe=>xe(ue,Ee))}subscribe(ue,Ee,xe){return this._subject.subscribe({next:ue,error:Ee??void 0,complete:xe??void 0})}static normalizeQueryParams=he;static joinWithSlash=ee;static stripTrailingSlash=ne;static \u0275fac=function(Ee){return new(Ee||re)(c.KVO(Z))};static \u0275prov=c.jDH({token:re,factory:()=>function Le(){return new Oe((0,c.KVO)(Z))}(),providedIn:"root"})}return re})();function ve(re){return re.replace(/\/index.html$/,"")}},5467:(ut,be,d)=>{"use strict";d.d(be,{c:()=>ne});var c=d(8473),r=d(3513),g=d(4334),Y=d(7242),W=d(271),q=d(1365),L=d(2645);function $(he,Z){return Z?le=>(0,r.x)(Z.pipe((0,g.s)(1),(0,Y.w)()),le.pipe($(he))):(0,q.Z)((le,ie)=>(0,L.Tg)(he(le,ie)).pipe((0,g.s)(1),function V(he){return(0,W.T)(()=>he)}(le)))}var ee=d(4876);function ne(he,Z=c.E){const le=(0,ee.O)(he,Z);return $(()=>le)}},5469:(ut,be,d)=>{"use strict";d.d(be,{En:()=>me,Vm:()=>An,EH:()=>lt,gp:()=>ke});var c=d(3617),r=d(3942),g=d(4205),Y=d(7242),W=d(9400),V=d(9452),q=d(7919),L=d(1530);class ee{constructor(ce,Ge,Ke){this.kind=ce,this.value=Ge,this.error=Ke,this.hasValue="N"===ce}observe(ce){return ne(this,ce)}do(ce,Ge,Ke){const{kind:wt,value:jt,error:kt}=this;return"N"===wt?ce?.(jt):"E"===wt?Ge?.(kt):Ke?.()}accept(ce,Ge,Ke){var wt;return(0,L.T)(null===(wt=ce)||void 0===wt?void 0:wt.next)?this.observe(ce):this.do(ce,Ge,Ke)}toObservable(){const{kind:ce,value:Ge,error:Ke}=this,wt="N"===ce?(0,V.of)(Ge):"E"===ce?(0,q.$)(()=>Ke):"C"===ce?W.w:0;if(!wt)throw new TypeError(`Unexpected notification kind ${ce}`);return wt}static createNext(ce){return new ee("N",ce)}static createError(ce){return new ee("E",void 0,ce)}static createComplete(){return ee.completeNotification}}function ne(j,ce){var Ge,Ke,wt;const{kind:jt,value:kt,error:Jt}=j;if("string"!=typeof jt)throw new TypeError('Invalid notification, missing "kind"');"N"===jt?null===(Ge=ce.next)||void 0===Ge||Ge.call(ce,kt):"E"===jt?null===(Ke=ce.error)||void 0===Ke||Ke.call(ce,Jt):null===(wt=ce.complete)||void 0===wt||wt.call(ce)}ee.completeNotification=new ee("C");var he=d(819),Z=d(1687),ie=d(271),Oe=d(1318),Le=d(1567),ye=d(2645);function ve(j,ce,Ge,Ke){return(0,he.N)((wt,jt)=>{let kt;ce&&"function"!=typeof ce?({duration:Ge,element:kt,connector:Ke}=ce):kt=ce;const Jt=new Map,Pn=On=>{Jt.forEach(On),On(jt)},Vn=On=>Pn(jn=>jn.error(On));let Ln=0,$n=!1;const Kn=new Z.H(jt,On=>{try{const jn=j(On);let Yn=Jt.get(jn);if(!Yn){Jt.set(jn,Yn=Ke?Ke():new g.B);const Nn=function ir(On,jn){const Yn=new r.c(Nn=>{Ln++;const xn=jn.subscribe(Nn);return()=>{xn.unsubscribe(),0===--Ln&&$n&&Kn.unsubscribe()}});return Yn.key=On,Yn}(jn,Yn);if(jt.next(Nn),Ge){const xn=(0,Z._)(Yn,()=>{Yn.complete(),xn?.unsubscribe()},void 0,void 0,()=>Jt.delete(jn));Kn.add((0,ye.Tg)(Ge(Nn)).subscribe(xn))}}Yn.next(kt?kt(On):On)}catch(jn){Vn(jn)}},()=>Pn(On=>On.complete()),Vn,()=>Jt.clear(),()=>($n=!0,0===Ln));wt.subscribe(Kn)})}var Ze=d(1365);function re(j,ce){return ce?Ge=>Ge.pipe(re((Ke,wt)=>(0,ye.Tg)(j(Ke,wt)).pipe((0,ie.T)((jt,kt)=>ce(Ke,jt,wt,kt))))):(0,he.N)((Ge,Ke)=>{let wt=0,jt=null,kt=!1;Ge.subscribe((0,Z._)(Ke,Jt=>{jt||(jt=(0,Z._)(Ke,void 0,()=>{jt=null,kt&&Ke.complete()}),(0,ye.Tg)(j(Jt,wt++)).subscribe(jt))},()=>{kt=!0,!jt&&Ke.complete()}))})}var ue=d(4334),Ee=d(5240),xe=d(2481),$e=d(9431);const rt={dispatch:!0,functional:!1,useEffectsErrorHandler:!0},At="__@ngrx/effects_create__";function lt(j,ce={}){const Ge=ce.functional?j:j(),Ke={...rt,...ce};return Object.defineProperty(Ge,At,{value:Ke}),Ge}function We(j){return Object.getPrototypeOf(j)}function z(j){return"function"==typeof j}function E(j){return j.filter(z)}function b(j,ce,Ge){const Ke=We(j),jt=Ke&&"Object"!==Ke.constructor.name?Ke.constructor.name:null,kt=function Be(j){return function ft(j){return Object.getOwnPropertyNames(j).filter(Ke=>!(!j[Ke]||!j[Ke].hasOwnProperty(At))&&j[Ke][At].hasOwnProperty("dispatch")).map(Ke=>({propertyName:Ke,...j[Ke][At]}))}(j)}(j).map(({propertyName:Jt,dispatch:Pn,useEffectsErrorHandler:Vn})=>{const Ln="function"==typeof j[Jt]?j[Jt]():j[Jt],$n=Vn?Ge(Ln,ce):Ln;return!1===Pn?$n.pipe((0,Y.w)()):$n.pipe(function le(){return(0,he.N)((j,ce)=>{j.subscribe((0,Z._)(ce,Ge=>{ce.next(ee.createNext(Ge))},()=>{ce.next(ee.createComplete()),ce.complete()},Ge=>{ce.next(ee.createError(Ge)),ce.complete()}))})}()).pipe((0,ie.T)(ir=>({effect:j[Jt],notification:ir,propertyName:Jt,sourceName:jt,sourceInstance:j})))});return(0,c.h)(...kt)}function _e(j,ce,Ge=10){return j.pipe((0,Oe.W)(Ke=>(ce&&ce.handleError(Ke),Ge<=1?j:_e(j,ce,Ge-1))))}let me=(()=>{var j;class ce extends r.c{constructor(Ke){super(),Ke&&(this.source=Ke)}lift(Ke){const wt=new ce;return wt.source=this,wt.operator=Ke,wt}static#e=j=()=>(this.\u0275fac=function(wt){return new(wt||ce)(Ee.KVO($e.sA))},this.\u0275prov=Ee.jDH({token:ce,factory:ce.\u0275fac,providedIn:"root"}))}return j(),ce})();function ke(...j){return(0,Le.p)(ce=>j.some(Ge=>"string"==typeof Ge?Ge===ce.type:Ge.type===ce.type))}const Ue=new Ee.nKC("@ngrx/effects Internal Root Guard"),Ot=new Ee.nKC("@ngrx/effects User Provided Effects"),Pt=new Ee.nKC("@ngrx/effects Internal Root Effects"),St=new Ee.nKC("@ngrx/effects Internal Root Effects Instances"),Fe=new Ee.nKC("@ngrx/effects Internal Feature Effects"),Ce=new Ee.nKC("@ngrx/effects Internal Feature Effects Instance Groups"),it=new Ee.nKC("@ngrx/effects Effects Error Handler",{providedIn:"root",factory:()=>_e}),A="@ngrx/effects/init";function Bt(j){return ze(j,"ngrxOnInitEffects")}function ze(j,ce){return j&&ce in j&&"function"==typeof j[ce]}(0,$e.VP)(A);let It=(()=>{var j;class ce extends g.B{constructor(Ke,wt){super(),this.errorHandler=Ke,this.effectsErrorHandler=wt}addEffects(Ke){this.next(Ke)}toActions(){return this.pipe(ve(Ke=>function pe(j){return!!j.constructor&&"Object"!==j.constructor.name&&"Function"!==j.constructor.name}(Ke)?We(Ke):Ke),(0,Ze.Z)(Ke=>Ke.pipe(ve(He))),(0,Ze.Z)(Ke=>{const wt=Ke.pipe(re(kt=>function _t(j,ce){return Ge=>{const Ke=b(Ge,j,ce);return function st(j){return ze(j,"ngrxOnRunEffects")}(Ge)?Ge.ngrxOnRunEffects(Ke):Ke}}(this.errorHandler,this.effectsErrorHandler)(kt)),(0,ie.T)(kt=>(function tt(j,ce){if("N"===j.notification.kind){const Ge=j.notification.value;!function Tt(j){return"function"!=typeof j&&j&&j.type&&"string"==typeof j.type}(Ge)&&ce.handleError(new Error(`Effect ${function nn({propertyName:j,sourceInstance:ce,sourceName:Ge}){const Ke="function"==typeof ce[j];return Ge?`"${Ge}.${String(j)}${Ke?"()":""}"`:`"${String(j)}()"`}(j)} dispatched an invalid action: ${function tn(j){try{return JSON.stringify(j)}catch{return j}}(Ge)}`))}}(kt,this.errorHandler),kt.notification)),(0,Le.p)(kt=>"N"===kt.kind&&null!=kt.value),function Ae(){return(0,he.N)((j,ce)=>{j.subscribe((0,Z._)(ce,Ge=>ne(Ge,ce)))})}()),jt=Ke.pipe((0,ue.s)(1),(0,Le.p)(Bt),(0,ie.T)(kt=>kt.ngrxOnInitEffects()));return(0,c.h)(wt,jt)}))}static#e=j=()=>(this.\u0275fac=function(wt){return new(wt||ce)(Ee.KVO(Ee.zcH),Ee.KVO(it))},this.\u0275prov=Ee.jDH({token:ce,factory:ce.\u0275fac,providedIn:"root"}))}return j(),ce})();function He(j){return function mt(j){return ze(j,"ngrxOnIdentifyEffects")}(j)?j.ngrxOnIdentifyEffects():""}let Ut=(()=>{var j;class ce{get isStarted(){return!!this.effectsSubscription}constructor(Ke,wt){this.effectSources=Ke,this.store=wt,this.effectsSubscription=null}start(){this.effectsSubscription||(this.effectsSubscription=this.effectSources.toActions().subscribe(this.store))}ngOnDestroy(){this.effectsSubscription&&(this.effectsSubscription.unsubscribe(),this.effectsSubscription=null)}static#e=j=()=>(this.\u0275fac=function(wt){return new(wt||ce)(Ee.KVO(It),Ee.KVO($e.il))},this.\u0275prov=Ee.jDH({token:ce,factory:ce.\u0275fac,providedIn:"root"}))}return j(),ce})(),Yt=(()=>{var j;class ce{constructor(Ke,wt,jt,kt,Jt,Pn,Vn){this.sources=Ke,wt.start();for(const Ln of kt)Ke.addEffects(Ln);jt.dispatch({type:A})}addEffects(Ke){this.sources.addEffects(Ke)}static#e=j=()=>(this.\u0275fac=function(wt){return new(wt||ce)(Ee.KVO(It),Ee.KVO(Ut),Ee.KVO($e.il),Ee.KVO(St),Ee.KVO($e.wc,8),Ee.KVO($e.ae,8),Ee.KVO(Ue,8))},this.\u0275mod=xe.$C({type:ce}),this.\u0275inj=Ee.G2t({}))}return j(),ce})(),yn=(()=>{var j;class ce{constructor(Ke,wt,jt,kt){const Jt=wt.flat();for(const Pn of Jt)Ke.addEffects(Pn)}static#e=j=()=>(this.\u0275fac=function(wt){return new(wt||ce)(Ee.KVO(Yt),Ee.KVO(Ce),Ee.KVO($e.wc,8),Ee.KVO($e.ae,8))},this.\u0275mod=xe.$C({type:ce}),this.\u0275inj=Ee.G2t({}))}return j(),ce})(),An=(()=>{var j;class ce{static forFeature(...Ke){const wt=Ke.flat(),jt=E(wt);return{ngModule:yn,providers:[jt,{provide:Fe,multi:!0,useValue:wt},{provide:Ot,multi:!0,useValue:[]},{provide:Ce,multi:!0,useFactory:En,deps:[Fe,Ot]}]}}static forRoot(...Ke){const wt=Ke.flat(),jt=E(wt);return{ngModule:Yt,providers:[jt,{provide:Pt,useValue:[wt]},{provide:Ue,useFactory:gt},{provide:Ot,multi:!0,useValue:[]},{provide:St,useFactory:En,deps:[Pt,Ot]}]}}static#e=j=()=>(this.\u0275fac=function(wt){return new(wt||ce)},this.\u0275mod=xe.$C({type:ce}),this.\u0275inj=Ee.G2t({}))}return j(),ce})();function En(j,ce){const Ge=[];for(const Ke of j)Ge.push(...Ke);for(const Ke of ce)Ge.push(...Ke);return Ge.map(Ke=>function H(j){return j instanceof Ee.nKC||z(j)}(Ke)?(0,Ee.WQX)(Ke):Ke)}function gt(){const j=(0,Ee.WQX)(Ut,{optional:!0,skipSelf:!0}),ce=(0,Ee.WQX)(Pt,{self:!0});if((1!==ce.length||0!==ce[0].length)&&j)throw new TypeError("EffectsModule.forRoot() called twice. Feature modules should use EffectsModule.forFeature() instead.");return"guarded"}},5519:(ut,be,d)=>{"use strict";d.d(be,{L9:()=>at});var c=d(5240),r=d(2481),g=d(9148),Y=d(6763),W=d(316),V=d(3942),q=d(6042),L=d(5682),$=d(2551),ee=d(9999),ne=d(9835),he=d(1817),Z=d(6647),le=d(8764);let Oe=(()=>{var Be;class We{static#e=Be=()=>(this.\u0275fac=function(E){return new(E||We)},this.\u0275prov=c.jDH({token:We,factory:()=>function ie(Be){return Be instanceof r.SKi}((0,c.WQX)(r.SKi))?new ye:(0,c.WQX)(Le),providedIn:"root"}))}return Be(),We})(),Le=(()=>{var Be;class We extends Oe{constructor(){super(...arguments),this.appRef=(0,c.WQX)(r.o8S),this.platformId=(0,c.WQX)(r.Agw),this.isServer=(0,W.Vy)(this.platformId),this.scheduleFn=this.isServer?setTimeout:requestAnimationFrame,this.isScheduled=!1}schedule(){this.isScheduled||(this.isScheduled=!0,this.scheduleFn(()=>{this.appRef.tick(),this.isScheduled=!1}))}static#e=Be=()=>(this.\u0275fac=(()=>{let z;return function(H){return(z||(z=r.xGo(We)))(H||We)}})(),this.\u0275prov=c.jDH({token:We,factory:We.\u0275fac,providedIn:"root"}))}return Be(),We})();class ye extends Oe{schedule(){}}let ve=(()=>{var Be;class We{constructor(z,E){this.cdRef=z,this.tickScheduler=E}schedule(){this.cdRef.markForCheck(),this.tickScheduler.schedule()}static#e=Be=()=>(this.\u0275fac=function(E){return new(E||We)(c.KVO(g.gRc),c.KVO(Oe))},this.\u0275prov=c.jDH({token:We,factory:We.\u0275fac}))}return Be(),We})();function rt(Be){const We=function re(Be){return We=>Be[We.type]?.(We)}(Be),pe=new q.m(1);return{nextPotentialObservable(z){pe.next(z)},handlePotentialObservableChanges:()=>pe.pipe((0,he.F)(),function At(){return(0,L.F)((0,Z.n)(Be=>{const We=function Ae(Be){return(0,$.A)(Be)?Be:function Ee(Be){return function xe(Be){return!!Be&&"object"==typeof Be&&!Array.isArray(Be)}(Be)&&Object.keys(Be).length>0&&Object.values(Be).every($.A)}(Be)?(0,ee.z)(function $e(Be){return Object.keys(Be).reduce((We,pe)=>({...We,[pe]:Be[pe].pipe((0,he.F)())}),{})}(Be)):function ue(Be){return"function"==typeof Be?.then}(Be)?(0,ne.H)(Be):new V.c(We=>{We.next(Be)})}(Be);let pe=!0,z=!0;return new V.c(E=>{const H=(0,Y.O8)(()=>We.subscribe({next(b){E.next({type:"next",value:b,reset:pe,synchronous:z}),pe=!1},error(b){E.next({type:"error",error:b,reset:pe,synchronous:z}),pe=!1},complete(){E.next({type:"complete",reset:pe,synchronous:z}),pe=!1}}));return pe&&(E.next({type:"suspense",reset:pe,synchronous:!0}),pe=!1),z=!1,H})}))}(),(0,he.F)(lt),(0,le.M)(We))}}function lt(Be,We){return Be.type===We.type&&Be.reset===We.reset&&("next"===We.type?Be.value===We.value:"error"!==We.type||Be.error===We.error)}let at=(()=>{var Be;class We{constructor(z){this.errorHandler=z,this.renderScheduler=function Ze(){return new ve((0,c.WQX)(g.gRc),(0,c.WQX)(Oe))}(),this.renderEventManager=rt({suspense:E=>this.setRenderedValue(void 0,E.synchronous),next:E=>this.setRenderedValue(E.value,E.synchronous),error:E=>{E.reset&&this.setRenderedValue(void 0,E.synchronous),this.errorHandler.handleError(E.error)},complete:E=>{E.reset&&this.setRenderedValue(void 0,E.synchronous)}}),this.subscription=this.renderEventManager.handlePotentialObservableChanges().subscribe()}transform(z){return this.renderEventManager.nextPotentialObservable(z),this.renderedValue}ngOnDestroy(){this.subscription.unsubscribe()}setRenderedValue(z,E){z!==this.renderedValue&&(this.renderedValue=z,E||this.renderScheduler.schedule())}static#e=Be=()=>(this.\u0275fac=function(E){return new(E||We)(r.rXU(c.zcH,16))},this.\u0275pipe=r.EJ8({name:"ngrxPush",type:We,pure:!1}))}return Be(),We})()},5602:(ut,be,d)=>{"use strict";function c(r){return r instanceof Date&&!isNaN(r)}d.d(be,{v:()=>c})},5682:(ut,be,d)=>{"use strict";d.d(be,{F:()=>r,m:()=>g});var c=d(1440);function r(...Y){return g(Y)}function g(Y){return 0===Y.length?c.D:1===Y.length?Y[0]:function(V){return Y.reduce((q,L)=>L(q),V)}}},5739:(ut,be,d)=>{"use strict";d.d(be,{Q:()=>re,D:()=>ye});var c=d(5240),r=d(2481),g=d(4205),Y=d(9999),W=d(3513),V=d(3942),q=d(4334),L=d(1567),ee=d(2575),ne=d(271),he=d(3037),Z=d(3900),le=d(7579),ie=d(7245);const Oe=new Set;let Le,ye=(()=>{class ue{_platform=(0,c.WQX)(le.O);_nonce=(0,c.WQX)(r.BIS,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Ze}matchMedia(xe){return(this._platform.WEBKIT||this._platform.BLINK)&&function ve(ue,Ee){if(!Oe.has(ue))try{Le||(Le=document.createElement("style"),Ee&&Le.setAttribute("nonce",Ee),Le.setAttribute("type","text/css"),document.head.appendChild(Le)),Le.sheet&&(Le.sheet.insertRule(`@media ${ue} {body{ }}`,0),Oe.add(ue))}catch(xe){console.error(xe)}}(xe,this._nonce),this._matchMedia(xe)}static \u0275fac=function($e){return new($e||ue)};static \u0275prov=c.jDH({token:ue,factory:ue.\u0275fac,providedIn:"root"})}return ue})();function Ze(ue){return{matches:"all"===ue||""===ue,media:ue,addListener:()=>{},removeListener:()=>{}}}let re=(()=>{class ue{_mediaMatcher=(0,c.WQX)(ye);_zone=(0,c.WQX)(r.SKi);_queries=new Map;_destroySubject=new g.B;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(xe){return Ae((0,ie.F)(xe)).some(rt=>this._registerQuery(rt).mql.matches)}observe(xe){const rt=Ae((0,ie.F)(xe)).map(lt=>this._registerQuery(lt).observable);let At=(0,Y.z)(rt);return At=(0,W.x)(At.pipe((0,q.s)(1)),At.pipe(function $(ue){return(0,L.p)((Ee,xe)=>ue<=xe)}(1),(0,ee.B)(0))),At.pipe((0,ne.T)(lt=>{const ft={matches:!1,breakpoints:{}};return lt.forEach(({matches:at,query:Be})=>{ft.matches=ft.matches||at,ft.breakpoints[Be]=at}),ft}))}_registerQuery(xe){if(this._queries.has(xe))return this._queries.get(xe);const $e=this._mediaMatcher.matchMedia(xe),At={observable:new V.c(lt=>{const ft=at=>this._zone.run(()=>lt.next(at));return $e.addListener(ft),()=>{$e.removeListener(ft)}}).pipe((0,he.Z)($e),(0,ne.T)(({matches:lt})=>({query:xe,matches:lt})),(0,Z.Q)(this._destroySubject)),mql:$e};return this._queries.set(xe,At),At}static \u0275fac=function($e){return new($e||ue)};static \u0275prov=c.jDH({token:ue,factory:ue.\u0275fac,providedIn:"root"})}return ue})();function Ae(ue){return ue.map(Ee=>Ee.split(",")).reduce((Ee,xe)=>Ee.concat(xe)).map(Ee=>Ee.trim())}},5797:(ut,be,d)=>{"use strict";d.d(be,{t:()=>r});var c=d(4205);class r extends c.B{constructor(Y){super(),this._value=Y}get value(){return this.getValue()}_subscribe(Y){const W=super._subscribe(Y);return!W.closed&&Y.next(this._value),W}getValue(){const{hasError:Y,thrownError:W,_value:V}=this;if(Y)throw W;return this._throwIfClosed(),V}next(Y){super.next(this._value=Y)}}},5842:(ut,be,d)=>{"use strict";d.d(be,{E:()=>q});var c=d(819),r=d(1687),g=d(2645),Y=d(1440),W=d(4318),V=d(4083);function q(...L){const $=(0,V.ms)(L);return(0,c.N)((ee,ne)=>{const he=L.length,Z=new Array(he);let le=L.map(()=>!1),ie=!1;for(let Oe=0;Oe{Z[Oe]=Le,!ie&&!le[Oe]&&(le[Oe]=!0,(ie=le.every(Y.D))&&(le=null))},W.l));ee.subscribe((0,r._)(ne,Oe=>{if(ie){const Le=[Oe,...Z];ne.next($?$(...Le):Le)}}))})}},6042:(ut,be,d)=>{"use strict";d.d(be,{m:()=>g});var c=d(4205),r=d(5152);class g extends c.B{constructor(W=1/0,V=1/0,q=r.U){super(),this._bufferSize=W,this._windowTime=V,this._timestampProvider=q,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=V===1/0,this._bufferSize=Math.max(1,W),this._windowTime=Math.max(1,V)}next(W){const{isStopped:V,_buffer:q,_infiniteTimeWindow:L,_timestampProvider:$,_windowTime:ee}=this;V||(q.push(W),!L&&q.push($.now()+ee)),this._trimBuffer(),super.next(W)}_subscribe(W){this._throwIfClosed(),this._trimBuffer();const V=this._innerSubscribe(W),{_infiniteTimeWindow:q,_buffer:L}=this,$=L.slice();for(let ee=0;ee<$.length&&!W.closed;ee+=q?1:2)W.next($[ee]);return this._checkFinalizedStatuses(W),V}_trimBuffer(){const{_bufferSize:W,_timestampProvider:V,_buffer:q,_infiniteTimeWindow:L}=this,$=(L?1:2)*W;if(W<1/0&&${"use strict";d.d(be,{O:()=>W});var c=d(3942),r=d(2645),g=d(1303),Y=d(1687);function W(...q){return 1===(q=(0,g.K)(q)).length?(0,r.Tg)(q[0]):new c.c(function V(q){return L=>{let $=[];for(let ee=0;$&&!L.closed&&ee{if($){for(let he=0;he<$.length;he++)he!==ee&&$[he].unsubscribe();$=null}L.next(ne)})))}}(q))}},6301:(ut,be,d)=>{"use strict";d.d(be,{t:()=>g});var c=d(6042),r=d(1870);function g(Y,W,V){let q,L=!1;return Y&&"object"==typeof Y?({bufferSize:q=1/0,windowTime:W=1/0,refCount:L=!1,scheduler:V}=Y):q=Y??1/0,(0,r.u)({connector:()=>new c.m(q,W,V),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:L})}},6338:(ut,be,d)=>{"use strict";d.d(be,{OE:()=>r,i8:()=>Y,o1:()=>g});var c=d(2481);function r(W,V=0){return g(W)?Number(W):2===arguments.length?V:0}function g(W){return!isNaN(parseFloat(W))&&!isNaN(Number(W))}function Y(W){return W instanceof c.aKT?W.nativeElement:W}},6523:(ut,be,d)=>{"use strict";function c(g,Y){Y=encodeURIComponent(Y);for(const W of g.split(";")){const V=W.indexOf("="),[q,L]=-1==V?[W,""]:[W.slice(0,V),W.slice(V+1)];if(q.trim()===Y)return decodeURIComponent(L)}return null}d.d(be,{N:()=>r,b:()=>c});class r{}},6609:function(ut,be,d){var c;ut.exports=(c=c||function(r){var Y;if(typeof window<"u"&&window.crypto&&(Y=window.crypto),typeof self<"u"&&self.crypto&&(Y=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(Y=globalThis.crypto),!Y&&typeof window<"u"&&window.msCrypto&&(Y=window.msCrypto),!Y&&typeof global<"u"&&global.crypto&&(Y=global.crypto),!Y)try{Y=d(477)}catch{}var W=function(){if(Y){if("function"==typeof Y.getRandomValues)try{return Y.getRandomValues(new Uint32Array(1))[0]}catch{}if("function"==typeof Y.randomBytes)try{return Y.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},V=Object.create||function(){function ye(){}return function(ve){var Ze;return ye.prototype=ve,Ze=new ye,ye.prototype=null,Ze}}(),q={},L=q.lib={},$=L.Base=function(){return{extend:function(ye){var ve=V(this);return ye&&ve.mixIn(ye),(!ve.hasOwnProperty("init")||this.init===ve.init)&&(ve.init=function(){ve.$super.init.apply(this,arguments)}),ve.init.prototype=ve,ve.$super=this,ve},create:function(){var ye=this.extend();return ye.init.apply(ye,arguments),ye},init:function(){},mixIn:function(ye){for(var ve in ye)ye.hasOwnProperty(ve)&&(this[ve]=ye[ve]);ye.hasOwnProperty("toString")&&(this.toString=ye.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),ee=L.WordArray=$.extend({init:function(ye,ve){ye=this.words=ye||[],this.sigBytes=null!=ve?ve:4*ye.length},toString:function(ye){return(ye||he).stringify(this)},concat:function(ye){var ve=this.words,Ze=ye.words,re=this.sigBytes,Ae=ye.sigBytes;if(this.clamp(),re%4)for(var ue=0;ue>>2]|=(Ze[ue>>>2]>>>24-ue%4*8&255)<<24-(re+ue)%4*8;else for(var xe=0;xe>>2]=Ze[xe>>>2];return this.sigBytes+=Ae,this},clamp:function(){var ye=this.words,ve=this.sigBytes;ye[ve>>>2]&=4294967295<<32-ve%4*8,ye.length=r.ceil(ve/4)},clone:function(){var ye=$.clone.call(this);return ye.words=this.words.slice(0),ye},random:function(ye){for(var ve=[],Ze=0;Ze>>2]>>>24-Ae%4*8&255;re.push((ue>>>4).toString(16)),re.push((15&ue).toString(16))}return re.join("")},parse:function(ye){for(var ve=ye.length,Ze=[],re=0;re>>3]|=parseInt(ye.substr(re,2),16)<<24-re%8*4;return new ee.init(Ze,ve/2)}},Z=ne.Latin1={stringify:function(ye){for(var ve=ye.words,Ze=ye.sigBytes,re=[],Ae=0;Ae>>2]>>>24-Ae%4*8&255));return re.join("")},parse:function(ye){for(var ve=ye.length,Ze=[],re=0;re>>2]|=(255&ye.charCodeAt(re))<<24-re%4*8;return new ee.init(Ze,ve)}},le=ne.Utf8={stringify:function(ye){try{return decodeURIComponent(escape(Z.stringify(ye)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(ye){return Z.parse(unescape(encodeURIComponent(ye)))}},ie=L.BufferedBlockAlgorithm=$.extend({reset:function(){this._data=new ee.init,this._nDataBytes=0},_append:function(ye){"string"==typeof ye&&(ye=le.parse(ye)),this._data.concat(ye),this._nDataBytes+=ye.sigBytes},_process:function(ye){var ve,Ze=this._data,re=Ze.words,Ae=Ze.sigBytes,ue=this.blockSize,xe=Ae/(4*ue),$e=(xe=ye?r.ceil(xe):r.max((0|xe)-this._minBufferSize,0))*ue,rt=r.min(4*$e,Ae);if($e){for(var At=0;At<$e;At+=ue)this._doProcessBlock(re,At);ve=re.splice(0,$e),Ze.sigBytes-=rt}return new ee.init(ve,rt)},clone:function(){var ye=$.clone.call(this);return ye._data=this._data.clone(),ye},_minBufferSize:0}),Le=(L.Hasher=ie.extend({cfg:$.extend(),init:function(ye){this.cfg=this.cfg.extend(ye),this.reset()},reset:function(){ie.reset.call(this),this._doReset()},update:function(ye){return this._append(ye),this._process(),this},finalize:function(ye){return ye&&this._append(ye),this._doFinalize()},blockSize:16,_createHelper:function(ye){return function(ve,Ze){return new ye.init(Ze).finalize(ve)}},_createHmacHelper:function(ye){return function(ve,Ze){return new Le.HMAC.init(ye,Ze).finalize(ve)}}}),q.algo={});return q}(Math),c)},6611:(ut,be,d)=>{"use strict";d.d(be,{n:()=>c});const c={JSACTION:"jsaction"}},6647:(ut,be,d)=>{"use strict";d.d(be,{n:()=>Y});var c=d(2645),r=d(819),g=d(1687);function Y(W,V){return(0,r.N)((q,L)=>{let $=null,ee=0,ne=!1;const he=()=>ne&&!$&&L.complete();q.subscribe((0,g._)(L,Z=>{$?.unsubscribe();let le=0;const ie=ee++;(0,c.Tg)(W(Z,ie)).subscribe($=(0,g._)(L,Oe=>L.next(V?V(Z,Oe,ie,le++):Oe),()=>{$=null,he()}))},()=>{ne=!0,he()}))})}},6763:(ut,be,d)=>{"use strict";d.d(be,{Zf:()=>ne,vG:()=>lt,EW:()=>le,QZ:()=>Oe,wl:()=>z,uu:()=>Ee,O8:()=>Z});var c=d(9204),r=d(5240),g=d(8677);function Y(b,k,_e){const me=Object.create(q);me.source=b,me.computation=k,null!=_e&&(me.equal=_e);const Ue=()=>{if((0,g.JC)(me),(0,g.mK)(me),me.value===g.EF)throw me.error;return me.value};return Ue[g.bh]=me,(0,g.a7)(me),Ue}const q={...g.pL,value:g.Ag,dirty:!0,error:null,equal:g.H8,kind:"linkedSignal",producerMustRecompute:b=>b.value===g.Ag||b.value===g.Ny,producerRecomputeValue(b){if(b.value===g.Ny)throw new Error("");const k=b.value;b.value=g.Ny;const _e=(0,g.Bg)(b);let me;try{const ke=b.source();me=b.computation(ke,k===g.Ag||k===g.EF?void 0:{source:b.sourceValue,value:k}),b.sourceValue=ke}catch(ke){me=g.EF,b.error=ke}finally{(0,g.Wu)(b,_e)}k!==g.Ag&&me!==g.EF&&b.equal(k,me)?b.value=k:(b.value=me,b.version++)}},$={...g.pL,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,kind:"effect"};class ne{destroyed=!1;listeners=null;errorHandler=(0,r.WQX)(r.zcH,{optional:!0});destroyRef=(0,r.WQX)(r.abz);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(k){if(this.destroyed)throw new r.buA(953,!1);return(this.listeners??=[]).push(k),{unsubscribe:()=>{const _e=this.listeners?.indexOf(k);void 0!==_e&&-1!==_e&&this.listeners?.splice(_e,1)}}}emit(k){if(this.destroyed)return void console.warn((0,r.OsK)(953,!1));if(null===this.listeners)return;const _e=(0,g.Ht)(null);try{for(const me of this.listeners)try{me(k)}catch(ke){this.errorHandler?.handleError(ke)}}finally{(0,g.Ht)(_e)}}}function Z(b){return function L(b){const k=(0,g.Ht)(null);try{return b()}finally{(0,g.Ht)(k)}}(b)}function le(b,k){return(0,g.KZ)(b,k?.equal)}class ie{[g.bh];constructor(k){this[g.bh]=k}destroy(){this[g.bh].destroy()}}function Oe(b,k){const _e=k?.injector??(0,r.WQX)(r.zZn);let ke,me=!0!==k?.manualCleanup?_e.get(r.abz):null;const Ue=_e.get(r.r4V,null,{optional:!0}),Ot=_e.get(r.hk6);return null!==Ue?(ke=function Ze(b,k,_e){const me=Object.create(ve);return me.view=b,me.zone=typeof Zone<"u"?Zone.current:null,me.notifier=k,me.fn=Ae(me,_e),b[r.tQN]??=new Set,b[r.tQN].add(me),me.consumerMarkedDirty(me),me}(Ue.view,Ot,b),me instanceof r.KXn&&me._lView===Ue.view&&(me=null)):ke=function re(b,k,_e){const me=Object.create(ye);return me.fn=Ae(me,b),me.scheduler=k,me.notifier=_e,me.zone=typeof Zone<"u"?Zone.current:null,me.scheduler.add(me),me.notifier.notify(12),me}(b,_e.get(r.VML),Ot),ke.injector=_e,null!==me&&(ke.onDestroyFn=me.onDestroy(()=>ke.destroy())),new ie(ke)}const Le={...$,cleanupFns:void 0,zone:null,onDestroyFn:r.lQ1,run(){const b=(0,r.cBl)(!1);try{!function ee(b){if(b.dirty=!1,b.hasRun&&!(0,g.si)(b))return;b.hasRun=!0;const k=(0,g.Bg)(b);try{b.cleanup(),b.fn()}finally{(0,g.Wu)(b,k)}}(this)}finally{(0,r.cBl)(b)}},cleanup(){if(!this.cleanupFns?.length)return;const b=(0,g.Ht)(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],(0,g.Ht)(b)}}},ye={...Le,consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){(0,g.XR)(this),this.onDestroyFn(),this.cleanup(),this.scheduler.remove(this)}},ve={...Le,consumerMarkedDirty(){this.view[r.Wg1]|=8192,(0,r.blu)(this.view),this.notifier.notify(13)},destroy(){(0,g.XR)(this),this.onDestroyFn(),this.cleanup(),this.view[r.tQN]?.delete(this)}};function Ae(b,k){return()=>{k(_e=>(b.cleanupFns??=[]).push(_e))}}const ue=b=>b;function Ee(b,k){return xe("function"==typeof b?Y(b,ue,k?.equal):Y(b.source,b.computation,b.equal))}function xe(b){const k=b[g.bh],_e=b;return _e.set=me=>function W(b,k){(0,g.JC)(b),(0,g.j2)(b,k),(0,g.TO)(b)}(k,me),_e.update=me=>function V(b,k){(0,g.JC)(b),(0,g.mC)(b,k),(0,g.TO)(b)}(k,me),_e.asReadonly=r.HO5.bind(b),_e}class At{value;constructor(k){this.value=k,this.value.set=this.set.bind(this),this.value.update=this.update.bind(this),this.value.asReadonly=r.HO5}isError=le(()=>"error"===this.status());update(k){this.set(k(Z(this.value)))}isLoading=le(()=>"loading"===this.status()||"reloading"===this.status());isValueDefined=le(()=>!this.isError()&&void 0!==this.value());hasValue(){return this.isValueDefined()}asReadonly(){return this}}class lt extends At{loaderFn;equal;pendingTasks;state;extRequest;effectRef;pendingController;resolvePendingTask=void 0;destroyed=!1;unregisterOnDestroy;constructor(k,_e,me,ke,Ue,Ot=!0){super(le(()=>{const Pt=this.state().stream?.();if(!Pt||"loading"===this.state().status&&this.error())return me;if(!pe(Pt)){if(Ot)throw new E(this.error());return me}return Pt.value},{equal:ke})),this.loaderFn=_e,this.equal=ke,this.extRequest=Ee({source:k,computation:Pt=>({request:Pt,reload:0})}),this.state=Ee({source:this.extRequest,computation:(Pt,St)=>{const Fe=void 0===Pt.request?"idle":"loading";return St?{extRequest:Pt,status:Fe,previousStatus:We(St.value),stream:St.value.extRequest.request===Pt.request?St.value.stream:void 0}:{extRequest:Pt,status:Fe,previousStatus:"idle",stream:void 0}}}),this.effectRef=Oe(this.loadEffect.bind(this),{injector:Ue,manualCleanup:!0}),this.pendingTasks=Ue.get(r.u5s),this.unregisterOnDestroy=Ue.get(r.abz).onDestroy(()=>this.destroy())}status=le(()=>We(this.state()));error=le(()=>{const k=this.state().stream?.();return k&&!pe(k)?k.error:void 0});set(k){if(this.destroyed)return;const _e=Z(this.error),me=Z(this.state);if(!_e){const ke=Z(this.value);if("local"===me.status&&(this.equal?this.equal(ke,k):ke===k))return}this.state.set({extRequest:me.extRequest,status:"local",previousStatus:"local",stream:(0,r.vPA)({value:k})}),this.abortInProgressLoad()}reload(){const{status:k}=Z(this.state);return"idle"!==k&&"loading"!==k&&(this.extRequest.update(({request:_e,reload:me})=>({request:_e,reload:me+1})),!0)}destroy(){this.destroyed=!0,this.unregisterOnDestroy(),this.effectRef.destroy(),this.abortInProgressLoad(),this.state.set({extRequest:{request:void 0,reload:0},status:"idle",previousStatus:"idle",stream:void 0})}loadEffect(){var k=this;return(0,c.A)(function*(){const _e=k.extRequest(),{status:me,previousStatus:ke}=Z(k.state);if(void 0===_e.request)return;if("loading"!==me)return;k.abortInProgressLoad();let Ue=k.resolvePendingTask=k.pendingTasks.add();const{signal:Ot}=k.pendingController=new AbortController;try{const Pt=yield Z(()=>k.loaderFn({params:_e.request,request:_e.request,abortSignal:Ot,previous:{status:ke}}));if(Ot.aborted||Z(k.extRequest)!==_e)return;k.state.set({extRequest:_e,status:"resolved",previousStatus:"resolved",stream:Pt})}catch(Pt){if(Ot.aborted||Z(k.extRequest)!==_e)return;k.state.set({extRequest:_e,status:"resolved",previousStatus:"error",stream:(0,r.vPA)({error:z(Pt)})})}finally{Ue?.(),Ue=void 0}})()}abortInProgressLoad(){Z(()=>this.pendingController?.abort()),this.pendingController=void 0,this.resolvePendingTask?.(),this.resolvePendingTask=void 0}}function We(b){switch(b.status){case"loading":return 0===b.extRequest.reload?"loading":"reloading";case"resolved":return pe(b.stream())?"resolved":"error";default:return b.status}}function pe(b){return void 0===b.error}function z(b){return b instanceof Error?b:new H(b)}class E extends Error{constructor(k){super(k.message,{cause:k})}}class H extends Error{constructor(k){super(String(k),{cause:k})}}},6813:(ut,be,d)=>{"use strict";function c(r,g){return r.reduce((Y,W,V)=>(Y[W]=g[V],Y),{})}d.d(be,{e:()=>c})},7092:(ut,be,d)=>{"use strict";d.d(be,{Kn:()=>V,yU:()=>W,Uv:()=>q});var c=d(1530);const g=(0,d(2384).L)($=>function(ne){$(this),this.message=ne?`${ne.length} errors occurred during unsubscription:\n${ne.map((he,Z)=>`${Z+1}) ${he.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=ne});var Y=d(967);class W{constructor(ee){this.initialTeardown=ee,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let ee;if(!this.closed){this.closed=!0;const{_parentage:ne}=this;if(ne)if(this._parentage=null,Array.isArray(ne))for(const le of ne)le.remove(this);else ne.remove(this);const{initialTeardown:he}=this;if((0,c.T)(he))try{he()}catch(le){ee=le instanceof g?le.errors:[le]}const{_finalizers:Z}=this;if(Z){this._finalizers=null;for(const le of Z)try{L(le)}catch(ie){ee=ee??[],ie instanceof g?ee=[...ee,...ie.errors]:ee.push(ie)}}if(ee)throw new g(ee)}}add(ee){var ne;if(ee&&ee!==this)if(this.closed)L(ee);else{if(ee instanceof W){if(ee.closed||ee._hasParent(this))return;ee._addParent(this)}(this._finalizers=null!==(ne=this._finalizers)&&void 0!==ne?ne:[]).push(ee)}}_hasParent(ee){const{_parentage:ne}=this;return ne===ee||Array.isArray(ne)&&ne.includes(ee)}_addParent(ee){const{_parentage:ne}=this;this._parentage=Array.isArray(ne)?(ne.push(ee),ne):ne?[ne,ee]:ee}_removeParent(ee){const{_parentage:ne}=this;ne===ee?this._parentage=null:Array.isArray(ne)&&(0,Y.o)(ne,ee)}remove(ee){const{_finalizers:ne}=this;ne&&(0,Y.o)(ne,ee),ee instanceof W&&ee._removeParent(this)}}W.EMPTY=(()=>{const $=new W;return $.closed=!0,$})();const V=W.EMPTY;function q($){return $ instanceof W||$&&"closed"in $&&(0,c.T)($.remove)&&(0,c.T)($.add)&&(0,c.T)($.unsubscribe)}function L($){(0,c.T)($)?$():$.unsubscribe()}},7170:(ut,be,d)=>{"use strict";d.d(be,{dS:()=>q});var c=d(5240),r=d(2481);const g=new c.nKC("cdk-dir-doc",{providedIn:"root",factory:function Y(){return(0,c.WQX)(c.qQL)}}),W=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let q=(()=>{class L{get value(){return this.valueSignal()}valueSignal=(0,c.vPA)("ltr");change=new r.bkB;constructor(){const ee=(0,c.WQX)(g,{optional:!0});ee&&this.valueSignal.set(function V(L){const $=L?.toLowerCase()||"";return"auto"===$&&typeof navigator<"u"&&navigator?.language?W.test(navigator.language)?"rtl":"ltr":"rtl"===$?"rtl":"ltr"}((ee.body?ee.body.dir:null)||(ee.documentElement?ee.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static \u0275fac=function(ne){return new(ne||L)};static \u0275prov=c.jDH({token:L,factory:L.\u0275fac,providedIn:"root"})}return L})()},7242:(ut,be,d)=>{"use strict";d.d(be,{w:()=>Y});var c=d(819),r=d(1687),g=d(4318);function Y(){return(0,c.N)((W,V)=>{W.subscribe((0,r._)(V,g.l))})}},7245:(ut,be,d)=>{"use strict";function c(r){return Array.isArray(r)?r:[r]}d.d(be,{F:()=>c})},7535:(ut,be,d)=>{"use strict";d.d(be,{Z:()=>q});var c=d(8473),r=d(819),g=d(2645),Y=d(1687),V=d(4876);function q(L,$=c.E){return function W(L){return(0,r.N)(($,ee)=>{let ne=!1,he=null,Z=null,le=!1;const ie=()=>{if(Z?.unsubscribe(),Z=null,ne){ne=!1;const Le=he;he=null,ee.next(Le)}le&&ee.complete()},Oe=()=>{Z=null,le&&ee.complete()};$.subscribe((0,Y._)(ee,Le=>{ne=!0,he=Le,Z||(0,g.Tg)(L(Le)).subscribe(Z=(0,Y._)(ee,ie,Oe))},()=>{le=!0,(!ne||!Z||Z.closed)&&ee.complete()}))})}(()=>(0,V.O)(L,$))}},7579:(ut,be,d)=>{"use strict";d.d(be,{O:()=>W});var c=d(5240),r=d(2481),g=d(316);let Y;try{Y=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Y=!1}let W=(()=>{class V{_platformId=(0,c.WQX)(r.Agw);isBrowser=this._platformId?(0,g.UE)(this._platformId):"object"==typeof document&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!(!window.chrome&&!Y)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;constructor(){}static \u0275fac=function($){return new($||V)};static \u0275prov=c.jDH({token:V,factory:V.\u0275fac,providedIn:"root"})}return V})()},7808:(ut,be,d)=>{"use strict";d.d(be,{D:()=>W});const{isArray:c}=Array,{getPrototypeOf:r,prototype:g,keys:Y}=Object;function W(q){if(1===q.length){const L=q[0];if(c(L))return{args:L,keys:null};if(function V(q){return q&&"object"==typeof q&&r(q)===g}(L)){const $=Y(L);return{args:$.map(ee=>L[ee]),keys:$}}}return{args:q,keys:null}}},7912:(ut,be,d)=>{"use strict";d.d(be,{RH:()=>g,Rp:()=>Y});var c=d(5240),r=d(2481);let g=(()=>{class W{static \u0275fac=function(L){return new(L||W)};static \u0275mod=r.$C({type:W});static \u0275inj=c.G2t({})}return W})();const Y={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"}},7919:(ut,be,d)=>{"use strict";d.d(be,{$:()=>g});var c=d(3942),r=d(1530);function g(Y,W){const V=(0,r.T)(Y)?Y:()=>Y,q=L=>L.error(V());return new c.c(W?L=>W.schedule(q,0,L):q)}},8067:(ut,be,d)=>{"use strict";d.d(be,{I:()=>Y});var c=d(271);const{isArray:r}=Array;function Y(W){return(0,c.T)(V=>function g(W,V){return r(V)?W(...V):W(V)}(W,V))}},8092:(ut,be,d)=>{"use strict";d.d(be,{q:()=>r,y:()=>g});var c=d(4982);class r{}function g(Y){return Y&&"function"==typeof Y.connect&&!(Y instanceof c.G)}},8317:(ut,be,d)=>{"use strict";d.d(be,{yg:()=>nn,E$:()=>Ut,d6:()=>He,R:()=>vn,E9:()=>En,Xj:()=>st});var c=d(2481),r=d(5240),g=d(9148),Y=d(6763),W=d(4205),V=d(9452),q=d(3942),L=d(428),$=d(7092);const ee={schedule(gt){let ct=requestAnimationFrame,j=cancelAnimationFrame;const{delegate:ce}=ee;ce&&(ct=ce.requestAnimationFrame,j=ce.cancelAnimationFrame);const Ge=ct(Ke=>{j=void 0,gt(Ke)});return new $.yU(()=>j?.(Ge))},requestAnimationFrame(...gt){const{delegate:ct}=ee;return(ct?.requestAnimationFrame||requestAnimationFrame)(...gt)},cancelAnimationFrame(...gt){const{delegate:ct}=ee;return(ct?.cancelAnimationFrame||cancelAnimationFrame)(...gt)},delegate:void 0};var he=d(9576);const le=new class Z extends he.q{flush(ct){let j;this._active=!0,ct?j=ct.id:(j=this._scheduled,this._scheduled=void 0);const{actions:ce}=this;let Ge;ct=ct||ce.shift();do{if(Ge=ct.execute(ct.state,ct.delay))break}while((ct=ce[0])&&ct.id===j&&ce.shift());if(this._active=!1,Ge){for(;(ct=ce[0])&&ct.id===j&&ce.shift();)ct.unsubscribe();throw Ge}}}(class ne extends L.R{constructor(ct,j){super(ct,j),this.scheduler=ct,this.work=j}requestAsyncId(ct,j,ce=0){return null!==ce&&ce>0?super.requestAsyncId(ct,j,ce):(ct.actions.push(this),ct._scheduled||(ct._scheduled=ee.requestAnimationFrame(()=>ct.flush(void 0))))}recycleAsyncId(ct,j,ce=0){var Ge;if(null!=ce?ce>0:this.delay>0)return super.recycleAsyncId(ct,j,ce);const{actions:Ke}=ct;null!=j&&j===ct._scheduled&&(null===(Ge=Ke[Ke.length-1])||void 0===Ge?void 0:Ge.id)!==j&&(ee.cancelAnimationFrame(j),ct._scheduled=void 0)}});let Le,Oe=1;const ye={};function ve(gt){return gt in ye&&(delete ye[gt],!0)}const Ze={setImmediate(gt){const ct=Oe++;return ye[ct]=!0,Le||(Le=Promise.resolve()),Le.then(()=>ve(ct)&>()),ct},clearImmediate(gt){ve(gt)}},{setImmediate:Ae,clearImmediate:ue}=Ze,Ee={setImmediate(...gt){const{delegate:ct}=Ee;return(ct?.setImmediate||Ae)(...gt)},clearImmediate(gt){const{delegate:ct}=Ee;return(ct?.clearImmediate||ue)(gt)},delegate:void 0},rt=new class $e extends he.q{flush(ct){this._active=!0;const j=this._scheduled;this._scheduled=void 0;const{actions:ce}=this;let Ge;ct=ct||ce.shift();do{if(Ge=ct.execute(ct.state,ct.delay))break}while((ct=ce[0])&&ct.id===j&&ce.shift());if(this._active=!1,Ge){for(;(ct=ce[0])&&ct.id===j&&ce.shift();)ct.unsubscribe();throw Ge}}}(class xe extends L.R{constructor(ct,j){super(ct,j),this.scheduler=ct,this.work=j}requestAsyncId(ct,j,ce=0){return null!==ce&&ce>0?super.requestAsyncId(ct,j,ce):(ct.actions.push(this),ct._scheduled||(ct._scheduled=Ee.setImmediate(ct.flush.bind(ct,void 0))))}recycleAsyncId(ct,j,ce=0){var Ge;if(null!=ce?ce>0:this.delay>0)return super.recycleAsyncId(ct,j,ce);const{actions:Ke}=ct;null!=j&&(null===(Ge=Ke[Ke.length-1])||void 0===Ge?void 0:Ge.id)!==j&&(Ee.clearImmediate(j),ct._scheduled===j&&(ct._scheduled=void 0))}});var lt=d(2551),ft=d(1817),at=d(7535),Be=d(1567),We=d(3037),pe=d(3900),z=d(5057),E=d(6647),H=d(6301),b=d(6338),k=d(7579),_e=d(7170),me=function(gt){return gt[gt.NORMAL=0]="NORMAL",gt[gt.NEGATED=1]="NEGATED",gt[gt.INVERTED=2]="INVERTED",gt}(me||{});let ke,Ue;function Pt(){if("object"!=typeof document||!document)return me.NORMAL;if(null==ke){const gt=document.createElement("div"),ct=gt.style;gt.dir="rtl",ct.width="1px",ct.overflow="auto",ct.visibility="hidden",ct.pointerEvents="none",ct.position="absolute";const j=document.createElement("div"),ce=j.style;ce.width="2px",ce.height="1px",gt.appendChild(j),document.body.appendChild(gt),ke=me.NORMAL,0===gt.scrollLeft&&(gt.scrollLeft=1,ke=0===gt.scrollLeft?me.NEGATED:me.INVERTED),gt.remove()}return ke}var St=d(3680),Fe=d(1572),Ce=d(8092);const it=["contentWrapper"],A=["*"],ae=new r.nKC("VIRTUAL_SCROLL_STRATEGY");class tt{_scrolledIndexChange=new W.B;scrolledIndexChange=this._scrolledIndexChange.pipe((0,ft.F)());_viewport=null;_itemSize;_minBufferPx;_maxBufferPx;constructor(ct,j,ce){this._itemSize=ct,this._minBufferPx=j,this._maxBufferPx=ce}attach(ct){this._viewport=ct,this._updateTotalContentSize(),this._updateRenderedRange()}detach(){this._scrolledIndexChange.complete(),this._viewport=null}updateItemAndBufferSize(ct,j,ce){this._itemSize=ct,this._minBufferPx=j,this._maxBufferPx=ce,this._updateTotalContentSize(),this._updateRenderedRange()}onContentScrolled(){this._updateRenderedRange()}onDataLengthChanged(){this._updateTotalContentSize(),this._updateRenderedRange()}onContentRendered(){}onRenderedOffsetChanged(){}scrollToIndex(ct,j){this._viewport&&this._viewport.scrollToOffset(ct*this._itemSize,j)}_updateTotalContentSize(){this._viewport&&this._viewport.setTotalContentSize(this._viewport.getDataLength()*this._itemSize)}_updateRenderedRange(){if(!this._viewport)return;const ct=this._viewport.getRenderedRange(),j={start:ct.start,end:ct.end},ce=this._viewport.getViewportSize(),Ge=this._viewport.getDataLength();let Ke=this._viewport.measureScrollOffset(),wt=this._itemSize>0?Ke/this._itemSize:0;if(j.end>Ge){const kt=Math.ceil(ce/this._itemSize),Jt=Math.max(0,Math.min(wt,Ge-kt));wt!=Jt&&(wt=Jt,Ke=Jt*this._itemSize,j.start=Math.floor(wt)),j.end=Math.max(0,Math.min(Ge,j.start+kt))}const jt=Ke-j.start*this._itemSize;if(jt0&&(j.end=Math.min(Ge,j.end+Jt),j.start=Math.max(0,Math.floor(wt-this._minBufferPx/this._itemSize)))}}this._viewport.setRenderedRange(j),this._viewport.setRenderedContentOffset(this._itemSize*j.start),this._scrolledIndexChange.next(Math.floor(wt))}}function Tt(gt){return gt._scrollStrategy}let nn=(()=>{class gt{get itemSize(){return this._itemSize}set itemSize(j){this._itemSize=(0,b.OE)(j)}_itemSize=20;get minBufferPx(){return this._minBufferPx}set minBufferPx(j){this._minBufferPx=(0,b.OE)(j)}_minBufferPx=100;get maxBufferPx(){return this._maxBufferPx}set maxBufferPx(j){this._maxBufferPx=(0,b.OE)(j)}_maxBufferPx=200;_scrollStrategy=new tt(this.itemSize,this.minBufferPx,this.maxBufferPx);ngOnChanges(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)}static \u0275fac=function(ce){return new(ce||gt)};static \u0275dir=c.FsC({type:gt,selectors:[["cdk-virtual-scroll-viewport","itemSize",""]],inputs:{itemSize:"itemSize",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx"},features:[c.Jv_([{provide:ae,useFactory:Tt,deps:[(0,r.Rfq)(()=>gt)]}]),c.OA$]})}return gt})(),vn=(()=>{class gt{_ngZone=(0,r.WQX)(c.SKi);_platform=(0,r.WQX)(k.O);_renderer=(0,r.WQX)(c._9s).createRenderer(null,null);_cleanupGlobalListener;constructor(){}_scrolled=new W.B;_scrolledCount=0;scrollContainers=new Map;register(j){this.scrollContainers.has(j)||this.scrollContainers.set(j,j.elementScrolled().subscribe(()=>this._scrolled.next(j)))}deregister(j){const ce=this.scrollContainers.get(j);ce&&(ce.unsubscribe(),this.scrollContainers.delete(j))}scrolled(j=20){return this._platform.isBrowser?new q.c(ce=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));const Ge=j>0?this._scrolled.pipe((0,at.Z)(j)).subscribe(ce):this._scrolled.subscribe(ce);return this._scrolledCount++,()=>{Ge.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0)}}):(0,V.of)()}ngOnDestroy(){this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((j,ce)=>this.deregister(ce)),this._scrolled.complete()}ancestorScrolled(j,ce){const Ge=this.getAncestorScrollContainers(j);return this.scrolled(ce).pipe((0,Be.p)(Ke=>!Ke||Ge.indexOf(Ke)>-1))}getAncestorScrollContainers(j){const ce=[];return this.scrollContainers.forEach((Ge,Ke)=>{this._scrollableContainsElement(Ke,j)&&ce.push(Ke)}),ce}_scrollableContainsElement(j,ce){let Ge=(0,b.i8)(ce),Ke=j.getElementRef().nativeElement;do{if(Ge==Ke)return!0}while(Ge=Ge.parentElement);return!1}static \u0275fac=function(ce){return new(ce||gt)};static \u0275prov=r.jDH({token:gt,factory:gt.\u0275fac,providedIn:"root"})}return gt})(),mt=(()=>{class gt{elementRef=(0,r.WQX)(c.aKT);scrollDispatcher=(0,r.WQX)(vn);ngZone=(0,r.WQX)(c.SKi);dir=(0,r.WQX)(_e.dS,{optional:!0});_scrollElement=this.elementRef.nativeElement;_destroyed=new W.B;_renderer=(0,r.WQX)(c.sFG);_cleanupScroll;_elementScrolled=new W.B;constructor(){}ngOnInit(){this._cleanupScroll=this.ngZone.runOutsideAngular(()=>this._renderer.listen(this._scrollElement,"scroll",j=>this._elementScrolled.next(j))),this.scrollDispatcher.register(this)}ngOnDestroy(){this._cleanupScroll?.(),this._elementScrolled.complete(),this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(j){const ce=this.elementRef.nativeElement,Ge=this.dir&&"rtl"==this.dir.value;null==j.left&&(j.left=Ge?j.end:j.start),null==j.right&&(j.right=Ge?j.start:j.end),null!=j.bottom&&(j.top=ce.scrollHeight-ce.clientHeight-j.bottom),Ge&&Pt()!=me.NORMAL?(null!=j.left&&(j.right=ce.scrollWidth-ce.clientWidth-j.left),Pt()==me.INVERTED?j.left=j.right:Pt()==me.NEGATED&&(j.left=j.right?-j.right:j.right)):null!=j.right&&(j.left=ce.scrollWidth-ce.clientWidth-j.right),this._applyScrollToOptions(j)}_applyScrollToOptions(j){const ce=this.elementRef.nativeElement;!function Ot(){if(null==Ue){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return Ue=!1,Ue;if("scrollBehavior"in document.documentElement.style)Ue=!0;else{const gt=Element.prototype.scrollTo;Ue=!!gt&&!/\{\s*\[native code\]\s*\}/.test(gt.toString())}}return Ue}()?(null!=j.top&&(ce.scrollTop=j.top),null!=j.left&&(ce.scrollLeft=j.left)):ce.scrollTo(j)}measureScrollOffset(j){const ce="left",Ke=this.elementRef.nativeElement;if("top"==j)return Ke.scrollTop;if("bottom"==j)return Ke.scrollHeight-Ke.clientHeight-Ke.scrollTop;const wt=this.dir&&"rtl"==this.dir.value;return"start"==j?j=wt?"right":ce:"end"==j&&(j=wt?ce:"right"),wt&&Pt()==me.INVERTED?j==ce?Ke.scrollWidth-Ke.clientWidth-Ke.scrollLeft:Ke.scrollLeft:wt&&Pt()==me.NEGATED?j==ce?Ke.scrollLeft+Ke.scrollWidth-Ke.clientWidth:-Ke.scrollLeft:j==ce?Ke.scrollLeft:Ke.scrollWidth-Ke.clientWidth-Ke.scrollLeft}static \u0275fac=function(ce){return new(ce||gt)};static \u0275dir=c.FsC({type:gt,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]})}return gt})(),st=(()=>{class gt{_platform=(0,r.WQX)(k.O);_listeners;_viewportSize;_change=new W.B;_document=(0,r.WQX)(r.qQL);constructor(){const j=(0,r.WQX)(c.SKi),ce=(0,r.WQX)(c._9s).createRenderer(null,null);j.runOutsideAngular(()=>{if(this._platform.isBrowser){const Ge=Ke=>this._change.next(Ke);this._listeners=[ce.listen("window","resize",Ge),ce.listen("window","orientationchange",Ge)]}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){this._listeners?.forEach(j=>j()),this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const j={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),j}getViewportRect(){const j=this.getViewportScrollPosition(),{width:ce,height:Ge}=this.getViewportSize();return{top:j.top,left:j.left,bottom:j.top+Ge,right:j.left+ce,height:Ge,width:ce}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const j=this._document,ce=this._getWindow(),Ge=j.documentElement,Ke=Ge.getBoundingClientRect();return{top:-Ke.top||j.body.scrollTop||ce.scrollY||Ge.scrollTop||0,left:-Ke.left||j.body.scrollLeft||ce.scrollX||Ge.scrollLeft||0}}change(j=20){return j>0?this._change.pipe((0,at.Z)(j)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const j=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:j.innerWidth,height:j.innerHeight}:{width:0,height:0}}static \u0275fac=function(ce){return new(ce||gt)};static \u0275prov=r.jDH({token:gt,factory:gt.\u0275fac,providedIn:"root"})}return gt})();const vt=new r.nKC("VIRTUAL_SCROLLABLE");let Bt=(()=>{class gt extends mt{constructor(){super()}measureViewportSize(j){const ce=this.elementRef.nativeElement;return"horizontal"===j?ce.clientWidth:ce.clientHeight}static \u0275fac=function(ce){return new(ce||gt)};static \u0275dir=c.FsC({type:gt,features:[c.Vt3]})}return gt})();const It=typeof requestAnimationFrame<"u"?le:rt;let He=(()=>{class gt extends Bt{elementRef=(0,r.WQX)(c.aKT);_changeDetectorRef=(0,r.WQX)(g.gRc);_scrollStrategy=(0,r.WQX)(ae,{optional:!0});scrollable=(0,r.WQX)(vt,{optional:!0});_platform=(0,r.WQX)(k.O);_detachedSubject=new W.B;_renderedRangeSubject=new W.B;get orientation(){return this._orientation}set orientation(j){this._orientation!==j&&(this._orientation=j,this._calculateSpacerSize())}_orientation="vertical";appendOnly=!1;scrolledIndexChange=new q.c(j=>this._scrollStrategy.scrolledIndexChange.subscribe(ce=>Promise.resolve().then(()=>this.ngZone.run(()=>j.next(ce)))));_contentWrapper;renderedRangeStream=this._renderedRangeSubject;_totalContentSize=0;_totalContentWidth=(0,r.vPA)("");_totalContentHeight=(0,r.vPA)("");_renderedContentTransform;_renderedRange={start:0,end:0};_dataLength=0;_viewportSize=0;_forOf;_renderedContentOffset=0;_renderedContentOffsetNeedsRewrite=!1;_changeDetectionNeeded=(0,r.vPA)(!1);_runAfterChangeDetection=[];_viewportChanges=$.yU.EMPTY;_injector=(0,r.WQX)(r.zZn);_isDestroyed=!1;constructor(){super();const j=(0,r.WQX)(st);this._viewportChanges=j.change().subscribe(()=>{this.checkViewportSize()}),this.scrollable||(this.elementRef.nativeElement.classList.add("cdk-virtual-scrollable"),this.scrollable=this);const ce=(0,Y.QZ)(()=>{this._changeDetectionNeeded()&&this._doChangeDetection()},{injector:(0,r.WQX)(c.o8S).injector});(0,r.WQX)(r.abz).onDestroy(()=>{ce.destroy()})}ngOnInit(){this._platform.isBrowser&&(this.scrollable===this&&super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.scrollable.elementScrolled().pipe((0,We.Z)(null),(0,at.Z)(0,It),(0,pe.Q)(this._destroyed)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()})))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),this._isDestroyed=!0,super.ngOnDestroy()}attach(j){this.ngZone.runOutsideAngular(()=>{this._forOf=j,this._forOf.dataStream.pipe((0,pe.Q)(this._detachedSubject)).subscribe(ce=>{const Ge=ce.length;Ge!==this._dataLength&&(this._dataLength=Ge,this._scrollStrategy.onDataLengthChanged()),this._doChangeDetection()})})}detach(){this._forOf=null,this._detachedSubject.next()}getDataLength(){return this._dataLength}getViewportSize(){return this._viewportSize}getRenderedRange(){return this._renderedRange}measureBoundingClientRectWithScrollOffset(j){return this.getElementRef().nativeElement.getBoundingClientRect()[j]}setTotalContentSize(j){this._totalContentSize!==j&&(this._totalContentSize=j,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(j){(function ze(gt,ct){return gt.start==ct.start&>.end==ct.end})(this._renderedRange,j)||(this.appendOnly&&(j={start:0,end:Math.max(this._renderedRange.end,j.end)}),this._renderedRangeSubject.next(this._renderedRange=j),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(j,ce="to-start"){j=this.appendOnly&&"to-start"===ce?0:j;const Ke="horizontal"==this.orientation,wt=Ke?"X":"Y";let kt=`translate${wt}(${Number((Ke&&this.dir&&"rtl"==this.dir.value?-1:1)*j)}px)`;this._renderedContentOffset=j,"to-end"===ce&&(kt+=` translate${wt}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=kt&&(this._renderedContentTransform=kt,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(j,ce="auto"){const Ge={behavior:ce};"horizontal"===this.orientation?Ge.start=j:Ge.top=j,this.scrollable.scrollTo(Ge)}scrollToIndex(j,ce="auto"){this._scrollStrategy.scrollToIndex(j,ce)}measureScrollOffset(j){let ce;return ce=this.scrollable==this?Ge=>super.measureScrollOffset(Ge):Ge=>this.scrollable.measureScrollOffset(Ge),Math.max(0,ce(j??("horizontal"===this.orientation?"start":"top"))-this.measureViewportOffset())}measureViewportOffset(j){let ce;const wt="rtl"==this.dir?.value;ce="start"==j?wt?"right":"left":"end"==j?wt?"left":"right":j||("horizontal"===this.orientation?"left":"top");const jt=this.scrollable.measureBoundingClientRectWithScrollOffset(ce);return this.elementRef.nativeElement.getBoundingClientRect()[ce]-jt}measureRenderedContentSize(){const j=this._contentWrapper.nativeElement;return"horizontal"===this.orientation?j.offsetWidth:j.offsetHeight}measureRangeSize(j){return this._forOf?this._forOf.measureRangeSize(j,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){this._viewportSize=this.scrollable.measureViewportSize(this.orientation)}_markChangeDetectionNeeded(j){j&&this._runAfterChangeDetection.push(j),!(0,Y.O8)(this._changeDetectionNeeded)&&this.ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this.ngZone.run(()=>{this._changeDetectionNeeded.set(!0)})})})}_doChangeDetection(){this._isDestroyed||this.ngZone.run(()=>{this._changeDetectorRef.markForCheck(),this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,(0,c.mal)(()=>{this._changeDetectionNeeded.set(!1);const j=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(const ce of j)ce()},{injector:this._injector})})}_calculateSpacerSize(){this._totalContentHeight.set("horizontal"===this.orientation?"":`${this._totalContentSize}px`),this._totalContentWidth.set("horizontal"===this.orientation?`${this._totalContentSize}px`:"")}static \u0275fac=function(ce){return new(ce||gt)};static \u0275cmp=c.VBU({type:gt,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(ce,Ge){if(1&ce&&c.GBs(it,7),2&ce){let Ke;c.mGM(Ke=c.lsd())&&(Ge._contentWrapper=Ke.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(ce,Ge){2&ce&&c.AVh("cdk-virtual-scroll-orientation-horizontal","horizontal"===Ge.orientation)("cdk-virtual-scroll-orientation-vertical","horizontal"!==Ge.orientation)},inputs:{orientation:"orientation",appendOnly:[2,"appendOnly","appendOnly",g.L39]},outputs:{scrolledIndexChange:"scrolledIndexChange"},features:[c.Jv_([{provide:mt,useFactory:(j,ce)=>j||ce,deps:[[new c.Xx1,new c.y_5(vt)],gt]}]),c.Vt3],ngContentSelectors:A,decls:4,vars:4,consts:[["contentWrapper",""],[1,"cdk-virtual-scroll-content-wrapper"],[1,"cdk-virtual-scroll-spacer"]],template:function(ce,Ge){1&ce&&(c.NAR(),c.rj2(0,"div",1,0),c.SdG(2),c.eux(),c.Hgh(3,"div",2)),2&ce&&(c.R7$(3),c.xc7("width",Ge._totalContentWidth())("height",Ge._totalContentHeight()))},styles:["cdk-virtual-scroll-viewport{display:block;position:relative;transform:translateZ(0)}.cdk-virtual-scrollable{overflow:auto;will-change:scroll-position;contain:strict}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{height:1px;transform-origin:0 0;flex:0 0 auto}[dir=rtl] .cdk-virtual-scroll-spacer{transform-origin:100% 0}\n"],encapsulation:2,changeDetection:0})}return gt})();function _t(gt,ct,j){if(!j.getBoundingClientRect)return 0;const Ge=j.getBoundingClientRect();return"horizontal"===gt?"start"===ct?Ge.left:Ge.right:"start"===ct?Ge.top:Ge.bottom}let Ut=(()=>{class gt{_viewContainerRef=(0,r.WQX)(c.c1b);_template=(0,r.WQX)(c.C4Q);_differs=(0,r.WQX)(g._q3);_viewRepeater=(0,r.WQX)(Fe.sL);_viewport=(0,r.WQX)(He,{skipSelf:!0});viewChange=new W.B;_dataSourceChanges=new W.B;get cdkVirtualForOf(){return this._cdkVirtualForOf}set cdkVirtualForOf(j){this._cdkVirtualForOf=j,(0,Ce.y)(j)?this._dataSourceChanges.next(j):this._dataSourceChanges.next(new Fe.hx((0,lt.A)(j)?j:Array.from(j||[])))}_cdkVirtualForOf;get cdkVirtualForTrackBy(){return this._cdkVirtualForTrackBy}set cdkVirtualForTrackBy(j){this._needsUpdate=!0,this._cdkVirtualForTrackBy=j?(ce,Ge)=>j(ce+(this._renderedRange?this._renderedRange.start:0),Ge):void 0}_cdkVirtualForTrackBy;set cdkVirtualForTemplate(j){j&&(this._needsUpdate=!0,this._template=j)}get cdkVirtualForTemplateCacheSize(){return this._viewRepeater.viewCacheSize}set cdkVirtualForTemplateCacheSize(j){this._viewRepeater.viewCacheSize=(0,b.OE)(j)}dataStream=this._dataSourceChanges.pipe((0,We.Z)(null),(0,z.J)(),(0,E.n)(([j,ce])=>this._changeDataSource(j,ce)),(0,H.t)(1));_differ=null;_data;_renderedItems;_renderedRange;_needsUpdate=!1;_destroyed=new W.B;constructor(){const j=(0,r.WQX)(c.SKi);this.dataStream.subscribe(ce=>{this._data=ce,this._onRenderedDataChange()}),this._viewport.renderedRangeStream.pipe((0,pe.Q)(this._destroyed)).subscribe(ce=>{this._renderedRange=ce,this.viewChange.observers.length&&j.run(()=>this.viewChange.next(this._renderedRange)),this._onRenderedDataChange()}),this._viewport.attach(this)}measureRangeSize(j,ce){if(j.start>=j.end)return 0;const Ge=j.start-this._renderedRange.start,Ke=j.end-j.start;let wt,jt;for(let kt=0;kt-1;kt--){const Jt=this._viewContainerRef.get(kt+Ge);if(Jt&&Jt.rootNodes.length){jt=Jt.rootNodes[Jt.rootNodes.length-1];break}}return wt&&jt?_t(ce,"end",jt)-_t(ce,"start",wt):0}ngDoCheck(){if(this._differ&&this._needsUpdate){const j=this._differ.diff(this._renderedItems);j?this._applyChanges(j):this._updateContext(),this._needsUpdate=!1}}ngOnDestroy(){this._viewport.detach(),this._dataSourceChanges.next(void 0),this._dataSourceChanges.complete(),this.viewChange.complete(),this._destroyed.next(),this._destroyed.complete(),this._viewRepeater.detach()}_onRenderedDataChange(){this._renderedRange&&(this._renderedItems=this._data.slice(this._renderedRange.start,this._renderedRange.end),this._differ||(this._differ=this._differs.find(this._renderedItems).create((j,ce)=>this.cdkVirtualForTrackBy?this.cdkVirtualForTrackBy(j,ce):ce)),this._needsUpdate=!0)}_changeDataSource(j,ce){return j&&j.disconnect(this),this._needsUpdate=!0,ce?ce.connect(this):(0,V.of)()}_updateContext(){const j=this._data.length;let ce=this._viewContainerRef.length;for(;ce--;){const Ge=this._viewContainerRef.get(ce);Ge.context.index=this._renderedRange.start+ce,Ge.context.count=j,this._updateComputedContextProperties(Ge.context),Ge.detectChanges()}}_applyChanges(j){this._viewRepeater.applyChanges(j,this._viewContainerRef,(Ke,wt,jt)=>this._getEmbeddedViewArgs(Ke,jt),Ke=>Ke.item),j.forEachIdentityChange(Ke=>{this._viewContainerRef.get(Ke.currentIndex).context.$implicit=Ke.item});const ce=this._data.length;let Ge=this._viewContainerRef.length;for(;Ge--;){const Ke=this._viewContainerRef.get(Ge);Ke.context.index=this._renderedRange.start+Ge,Ke.context.count=ce,this._updateComputedContextProperties(Ke.context)}}_updateComputedContextProperties(j){j.first=0===j.index,j.last=j.index===j.count-1,j.even=j.index%2==0,j.odd=!j.even}_getEmbeddedViewArgs(j,ce){return{templateRef:this._template,context:{$implicit:j.item,cdkVirtualForOf:this._cdkVirtualForOf,index:-1,count:-1,first:!1,last:!1,odd:!1,even:!1},index:ce}}static ngTemplateContextGuard(j,ce){return!0}static \u0275fac=function(ce){return new(ce||gt)};static \u0275dir=c.FsC({type:gt,selectors:[["","cdkVirtualFor","","cdkVirtualForOf",""]],inputs:{cdkVirtualForOf:"cdkVirtualForOf",cdkVirtualForTrackBy:"cdkVirtualForTrackBy",cdkVirtualForTemplate:"cdkVirtualForTemplate",cdkVirtualForTemplateCacheSize:"cdkVirtualForTemplateCacheSize"},features:[c.Jv_([{provide:Fe.sL,useClass:Fe.DQ}])]})}return gt})(),An=(()=>{class gt{static \u0275fac=function(ce){return new(ce||gt)};static \u0275mod=c.$C({type:gt});static \u0275inj=r.G2t({})}return gt})(),En=(()=>{class gt{static \u0275fac=function(ce){return new(ce||gt)};static \u0275mod=c.$C({type:gt});static \u0275inj=r.G2t({imports:[St.jI,An,St.jI,An]})}return gt})()},8435:(ut,be,d)=>{"use strict";d.d(be,{Ez:()=>We}),d(7579);var r=d(2481),g=d(5240),q=(d(9148),d(4456),d(4205),d(97));let L=(()=>{class pe{static \u0275fac=function(H){return new(H||pe)};static \u0275mod=r.$C({type:pe});static \u0275inj=g.G2t({imports:[q.y,q.y]})}return pe})(),We=(()=>{class pe{static \u0275fac=function(H){return new(H||pe)};static \u0275mod=r.$C({type:pe});static \u0275inj=g.G2t({imports:[q.y,L]})}return pe})()},8473:(ut,be,d)=>{"use strict";d.d(be,{E:()=>g,b:()=>Y});var c=d(428);const g=new(d(9576).q)(c.R),Y=g},8537:(ut,be,d)=>{"use strict";d.d(be,{R:()=>ee});var c=d(2645),r=d(3942),g=d(1365),Y=d(8830),W=d(1530),V=d(8067);const q=["addListener","removeListener"],L=["addEventListener","removeEventListener"],$=["on","off"];function ee(ie,Oe,Le,ye){if((0,W.T)(Le)&&(ye=Le,Le=void 0),ye)return ee(ie,Oe,Le).pipe((0,V.I)(ye));const[ve,Ze]=function le(ie){return(0,W.T)(ie.addEventListener)&&(0,W.T)(ie.removeEventListener)}(ie)?L.map(re=>Ae=>ie[re](Oe,Ae,Le)):function he(ie){return(0,W.T)(ie.addListener)&&(0,W.T)(ie.removeListener)}(ie)?q.map(ne(ie,Oe)):function Z(ie){return(0,W.T)(ie.on)&&(0,W.T)(ie.off)}(ie)?$.map(ne(ie,Oe)):[];if(!ve&&(0,Y.X)(ie))return(0,g.Z)(re=>ee(re,Oe,Le))((0,c.Tg)(ie));if(!ve)throw new TypeError("Invalid event target");return new r.c(re=>{const Ae=(...ue)=>re.next(1Ze(Ae)})}function ne(ie,Oe){return Le=>ye=>ie[Le](Oe,ye)}},8677:(ut,be,d)=>{"use strict";function c(Fe,Ce){return Object.is(Fe,Ce)}d.d(be,{Ag:()=>ft,Bg:()=>ve,EF:()=>Be,H8:()=>c,Ht:()=>q,JC:()=>le,KE:()=>$,KO:()=>H,KZ:()=>lt,Ny:()=>at,TO:()=>ye,Wu:()=>Ze,XR:()=>Ae,a7:()=>$e,bh:()=>V,j2:()=>ke,mC:()=>Ue,mK:()=>he,n5:()=>k,nR:()=>L,pL:()=>ne,s0:()=>Pt,si:()=>re});let r=null,g=!1,Y=1,W=null;const V=Symbol("SIGNAL");function q(Fe){const Ce=r;return r=Fe,Ce}function L(){return r}function $(){return g}const ne={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function he(Fe){if(g)throw new Error("");if(null===r)return;r.consumerOnSignalRead(Fe);const Ce=r.producersTail;if(void 0!==Ce&&Ce.producer===Fe)return;let it;const A=r.recomputing;if(A&&(it=void 0!==Ce?Ce.nextProducer:r.producers,void 0!==it&&it.producer===Fe))return r.producersTail=it,void(it.lastReadVersion=Fe.version);const ae=Fe.consumersTail;if(void 0!==ae&&ae.consumer===r&&(!A||function At(Fe,Ce){const it=Ce.producersTail;if(void 0!==it){let A=Ce.producers;do{if(A===Fe)return!0;if(A===it)break;A=A.nextProducer}while(void 0!==A)}return!1}(ae,r)))return;const tt=xe(r),Tt={producer:Fe,consumer:r,nextProducer:it,prevConsumer:ae,lastReadVersion:Fe.version,nextConsumer:void 0};r.producersTail=Tt,void 0!==Ce?Ce.nextProducer=Tt:r.producers=Tt,tt&&ue(Fe,Tt)}function le(Fe){if((!xe(Fe)||Fe.dirty)&&(Fe.dirty||Fe.lastCleanEpoch!==Y)){if(!Fe.producerMustRecompute(Fe)&&!re(Fe))return void ye(Fe);Fe.producerRecomputeValue(Fe),ye(Fe)}}function ie(Fe){if(void 0===Fe.consumers)return;const Ce=g;g=!0;try{for(let it=Fe.consumers;void 0!==it;it=it.nextConsumer){const A=it.consumer;A.dirty||Le(A)}}finally{g=Ce}}function Oe(){return!1!==r?.consumerAllowSignalWrites}function Le(Fe){Fe.dirty=!0,ie(Fe),Fe.consumerMarkedDirty?.(Fe)}function ye(Fe){Fe.dirty=!1,Fe.lastCleanEpoch=Y}function ve(Fe){return Fe&&(Fe.producersTail=void 0,Fe.recomputing=!0),q(Fe)}function Ze(Fe,Ce){if(q(Ce),!Fe)return;Fe.recomputing=!1;const it=Fe.producersTail;let A=void 0!==it?it.nextProducer:Fe.producers;if(void 0!==A){if(xe(Fe))do{A=Ee(A)}while(void 0!==A);void 0!==it?it.nextProducer=void 0:Fe.producers=void 0}}function re(Fe){for(let Ce=Fe.producers;void 0!==Ce;Ce=Ce.nextProducer){const it=Ce.producer,A=Ce.lastReadVersion;if(A!==it.version||(le(it),A!==it.version))return!0}return!1}function Ae(Fe){if(xe(Fe)){let Ce=Fe.producers;for(;void 0!==Ce;)Ce=Ee(Ce)}Fe.producers=void 0,Fe.producersTail=void 0,Fe.consumers=void 0,Fe.consumersTail=void 0}function ue(Fe,Ce){const it=Fe.consumersTail,A=xe(Fe);if(void 0!==it?(Ce.nextConsumer=it.nextConsumer,it.nextConsumer=Ce):(Ce.nextConsumer=void 0,Fe.consumers=Ce),Ce.prevConsumer=it,Fe.consumersTail=Ce,!A)for(let ae=Fe.producers;void 0!==ae;ae=ae.nextProducer)ue(ae.producer,ae)}function Ee(Fe){const Ce=Fe.producer,it=Fe.nextProducer,A=Fe.nextConsumer,ae=Fe.prevConsumer;if(Fe.nextConsumer=void 0,Fe.prevConsumer=void 0,void 0!==A?A.prevConsumer=ae:Ce.consumersTail=ae,void 0!==ae)ae.nextConsumer=A;else if(Ce.consumers=A,!xe(Ce)){let tt=Ce.producers;for(;void 0!==tt;)tt=Ee(tt)}return it}function xe(Fe){return Fe.consumerIsAlwaysLive||void 0!==Fe.consumers}function $e(Fe){W?.(Fe)}function lt(Fe,Ce){const it=Object.create(We);it.computation=Fe,void 0!==Ce&&(it.equal=Ce);const A=()=>{if(le(it),he(it),it.value===Be)throw it.error;return it.value};return A[V]=it,$e(it),A}const ft=Symbol("UNSET"),at=Symbol("COMPUTING"),Be=Symbol("ERRORED"),We={...ne,value:ft,dirty:!0,error:null,equal:c,kind:"computed",producerMustRecompute:Fe=>Fe.value===ft||Fe.value===at,producerRecomputeValue(Fe){if(Fe.value===at)throw new Error("");const Ce=Fe.value;Fe.value=at;const it=ve(Fe);let A,ae=!1;try{A=Fe.computation(),q(null),ae=Ce!==ft&&Ce!==Be&&A!==Be&&Fe.equal(Ce,A)}catch(tt){A=Be,Fe.error=tt}finally{Ze(Fe,it)}ae?Fe.value=Ce:(Fe.value=A,Fe.version++)}};let z=function pe(){throw new Error};function E(Fe){z(Fe)}function H(Fe){z=Fe}let b=null;function k(Fe,Ce){const it=Object.create(Pt);it.value=Fe,void 0!==Ce&&(it.equal=Ce);const A=()=>function me(Fe){return he(Fe),Fe.value}(it);return A[V]=it,$e(it),[A,Tt=>ke(it,Tt),Tt=>Ue(it,Tt)]}function ke(Fe,Ce){Oe()||E(Fe),Fe.equal(Fe.value,Ce)||(Fe.value=Ce,function St(Fe){Fe.version++,function Z(){Y++}(),ie(Fe),b?.(Fe)}(Fe))}function Ue(Fe,Ce){Oe()||E(Fe),ke(Fe,Ce(Fe.value))}const Pt={...ne,equal:c,value:void 0,kind:"signal"}},8764:(ut,be,d)=>{"use strict";d.d(be,{M:()=>W});var c=d(1530),r=d(819),g=d(1687),Y=d(1440);function W(V,q,L){const $=(0,c.T)(V)||q||L?{next:V,error:q,complete:L}:V;return $?(0,r.N)((ee,ne)=>{var he;null===(he=$.subscribe)||void 0===he||he.call($);let Z=!0;ee.subscribe((0,g._)(ne,le=>{var ie;null===(ie=$.next)||void 0===ie||ie.call($,le),ne.next(le)},()=>{var le;Z=!1,null===(le=$.complete)||void 0===le||le.call($),ne.complete()},le=>{var ie;Z=!1,null===(ie=$.error)||void 0===ie||ie.call($,le),ne.error(le)},()=>{var le,ie;Z&&(null===(le=$.unsubscribe)||void 0===le||le.call($)),null===(ie=$.finalize)||void 0===ie||ie.call($)}))}):Y.D}},8830:(ut,be,d)=>{"use strict";d.d(be,{X:()=>c});const c=r=>r&&"number"==typeof r.length&&"function"!=typeof r},9074:(ut,be,d)=>{"use strict";d.d(be,{br:()=>ee,ot:()=>ne,pQ:()=>V});var c=d(3942),r=d(6042),g=d(3900),Y=d(5240),W=d(6763);function V(ie){ie||(ie=(0,Y.WQX)(Y.abz));const Oe=new c.c(Le=>{if(!ie.destroyed)return ie.onDestroy(Le.next.bind(Le));Le.next()});return Le=>Le.pipe((0,g.Q)(Oe))}function ee(ie,Oe){const Le=Oe?.injector??(0,Y.WQX)(Y.zZn),ye=new r.m(1),ve=(0,W.QZ)(()=>{let Ze;try{Ze=ie()}catch(re){return void(0,W.O8)(()=>ye.error(re))}(0,W.O8)(()=>ye.next(Ze))},{injector:Le,manualCleanup:!0});return Le.get(Y.abz).onDestroy(()=>{ve.destroy(),ye.complete()}),ye.asObservable()}function ne(ie,Oe){const ye=Oe?.manualCleanup?null:Oe?.injector?.get(Y.abz)??(0,Y.WQX)(Y.abz),ve=function he(ie=Object.is){return(Oe,Le)=>1===Oe.kind&&1===Le.kind&&ie(Oe.value,Le.value)}(Oe?.equal);let Ze,re;Ze=(0,Y.vPA)(Oe?.requireSync?{kind:0}:{kind:1,value:Oe?.initialValue},{equal:ve});const Ae=ie.subscribe({next:ue=>Ze.set({kind:1,value:ue}),error:ue=>{Ze.set({kind:2,error:ue}),re?.()},complete:()=>{re?.()}});if(Oe?.requireSync&&0===Ze().kind)throw new Y.buA(601,!1);return re=ye?.onDestroy(Ae.unsubscribe.bind(Ae)),(0,W.EW)(()=>{const ue=Ze();switch(ue.kind){case 1:return ue.value;case 2:throw ue.error;case 0:throw new Y.buA(601,!1)}},{equal:Oe?.equal})}},9148:(ut,be,d)=>{"use strict";d.d(be,{Hbi:()=>Mi,gRc:()=>gn,ES_:()=>Ur,_q3:()=>Lr,MKu:()=>Di,xvI:()=>wn,RxE:()=>Dn,L39:()=>Je,a0P:()=>ri,SmG:()=>rn,hFB:()=>yr,naY:()=>ln,v7R:()=>vi,Udg:()=>dt,CGW:()=>er,HJs:()=>_r,ebz:()=>Un,dtW:()=>dr,TL3:()=>Gr,M8M:()=>G,XA_:()=>pi});var c=d(5240),r=d(8677),g=d(2481),Y=d(6763),W=d(6611);const q={};function ee(T,v){T.__jsaction=v}const le=["mouseenter","mouseleave","pointerenter","pointerleave"],Oe=["focus","blur","error","load","toggle"],Le=T=>Oe.indexOf(T)>=0;function Ae(T,v){T.removeEventListener?T.removeEventListener(v.eventType,v.handler,"boolean"==typeof v.passive?{capture:v.capture}:v.capture):T.detachEvent&&T.detachEvent(`on${v.eventType}`,v.handler)}let Ee=typeof navigator<"u"&&/Macintosh/.test(navigator.userAgent);const lt=typeof navigator<"u"&&/iPhone|iPad|iPod/.test(navigator.userAgent);class ft{element;handlerInfos=[];constructor(v){this.element=v}addEventListener(v,w,te){lt&&(this.element.style.cursor="pointer"),this.handlerInfos.push(function re(T,v,w,te){let De=!1;return Le(v)&&(De=!0),T.addEventListener(v,w,"boolean"==typeof te?{capture:De,passive:te}:De),{eventType:v,handler:w,capture:De,passive:te}}(this.element,v,w(this.element),te))}cleanUp(){for(let v=0;v{this.eventReplayScheduled=!1,this.eventReplayer(this.replayEventInfoWrappers)}))}}const vt=Symbol.for("propagationStopped");class Ut{dispatchDelegate;clickModSupport;actionResolver;dispatcher;constructor(v,w=!0){this.dispatchDelegate=v,this.clickModSupport=w,this.actionResolver=new vn({clickModSupport:w}),this.dispatcher=new zt(te=>{this.dispatchToDelegate(te)},{actionResolver:this.actionResolver})}dispatch(v){this.dispatcher.dispatch(v)}dispatchToDelegate(v){for(v.getIsReplay()&&function An(T){const v=T.getEvent(),w=T.getTargetElement(),te=v.preventDefault.bind(v);gt(v,"target",w),gt(v,"eventPhase",101),gt(v,"preventDefault",()=>{throw te(),new Error("`preventDefault` called during event replay.")}),gt(v,"composedPath",()=>{throw new Error("`composedPath` called during event replay.")})}(v),function Yt(T){const v=T.getEvent(),w=T.getEvent().stopPropagation.bind(v),te=()=>{v[vt]=!0,w()};gt(v,"stopPropagation",te),gt(v,"stopImmediatePropagation",te)}(v);v.getAction();){if(En(v),Le(v.getEventType())&&v.getAction().element!==v.getTargetElement()||(this.dispatchDelegate(v.getEvent(),v.getAction().name),yn(v)))return;this.actionResolver.resolveParentAction(v.eventInfo)}}}function yn(T){return!!T.getEvent()[vt]}function En(T){const v=T.getEvent(),w=T.getAction()?.element;w&>(v,"currentTarget",w,{configurable:!0})}function gt(T,v,w,{configurable:te=!1}={}){Object.defineProperty(T,v,{value:w,configurable:te})}function jt(T,v,w,te){for(let De=0;De{class T{static MOUSE_SPECIAL_SUPPORT=!1;containerManager;eventHandlers={};browserEventTypeToExtraEventTypes={};dispatcher=null;queuedEventInfos=[];constructor(w){this.containerManager=w}handleEvent(w,te,De){const qe=function ae(T,v,w,te,De,qe,Mt,Lt){return{eventType:T,event:v,targetElement:w,eic:te,timeStamp:De,eia:qe,eirp:Mt,eiack:Lt}}(w,te,te.target,De,Date.now());this.handleEventInfo(qe)}handleEventInfo(w){if(!this.dispatcher)return Fe(w,!0),void this.queuedEventInfos?.push(w);this.dispatcher(w)}addEvent(w,te,De){if(w in this.eventHandlers||!this.containerManager||!T.MOUSE_SPECIAL_SUPPORT&&le.indexOf(w)>=0)return;const qe=(Lt,Gt,an)=>{this.handleEvent(Lt,Gt,an)};this.eventHandlers[w]=qe;const Mt=function Ze(T){return"mouseenter"===T?"mouseover":"mouseleave"===T?"mouseout":"pointerenter"===T?"pointerover":"pointerleave"===T?"pointerout":T}(te||w);if(Mt!==w){const Lt=this.browserEventTypeToExtraEventTypes[Mt]||[];Lt.push(w),this.browserEventTypeToExtraEventTypes[Mt]=Lt}this.containerManager.addEventListener(Mt,Lt=>Gt=>{qe(w,Gt,Lt)},De)}replayEarlyEvents(w=window._ejsa){w&&(this.replayEarlyEventInfos(w.q),function wt(T){T&&(jt(T.c,T.et,T.h),jt(T.c,T.etc,T.h,!0))}(w),delete window._ejsa)}replayEarlyEventInfos(w){for(let te=0;te(0,g.kS0)(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}}function er(T){return new Y.Zf}function oi(T,v){return Yn(T,v)}new c.nKC("").__NG_ELEMENT_ID__=T=>{const v=(0,c.Mx4)();if(null===v)throw new c.buA(204,!1);if(2&v.type)return v.value;if(8&T)return null;throw new c.buA(204,!1)};const yr=(oi.required=function ur(T){return Yn(ir,T)},oi);function pn(T,v){return(0,g.mU9)(v)}const Un=(pn.required=function Jr(T,v){return(0,g.hnC)(v)},pn);function dr(T,v){return(0,g.FuF)(v)}class Dn{full;major;minor;patch;constructor(v){this.full=v;const w=v.split(".");this.major=w[0],this.minor=w[1],this.patch=w.slice(2).join(".")}}const wn=new Dn("20.2.4"),Tr=new c.nKC(""),tr=new c.nKC("");function Gn(T){return!T.moduleRef}let nr,fr=null;function ln(){return!1}function rn(){}let gn=(()=>class T{static __NG_ELEMENT_ID__=kn})();function kn(T){return function Rr(T,v,w){if((0,c.Qs1)(T)&&!w){const te=(0,c.KdJ)(T.index,v);return new g.NCX(te,te)}return 175&T.type?new g.NCX(v[c.b5C],v):null}((0,c.Mx4)(),(0,c.OAn)(),!(16&~T))}class hr{constructor(){}supports(v){return(0,g.ozJ)(v)}create(v){return new Cr(v)}}const Hr=(T,v)=>v;class Cr{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(v){this._trackByFn=v||Hr}forEachItem(v){let w;for(w=this._itHead;null!==w;w=w._next)v(w)}forEachOperation(v){let w=this._itHead,te=this._removalsHead,De=0,qe=null;for(;w||te;){const Mt=!te||w&&w.currentIndex{Mt=this._trackByFn(De,Lt),null!==w&&Object.is(w.trackById,Mt)?(te&&(w=this._verifyReinsertion(w,Lt,Mt,De)),Object.is(w.item,Lt)||this._addIdentityChange(w,Lt)):(w=this._mismatch(w,Lt,Mt,De),te=!0),w=w._next,De++}),this.length=De;return this._truncate(w),this.collection=v,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let v;for(v=this._previousItHead=this._itHead;null!==v;v=v._next)v._nextPrevious=v._next;for(v=this._additionsHead;null!==v;v=v._nextAdded)v.previousIndex=v.currentIndex;for(this._additionsHead=this._additionsTail=null,v=this._movesHead;null!==v;v=v._nextMoved)v.previousIndex=v.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(v,w,te,De){let qe;return null===v?qe=this._itTail:(qe=v._prev,this._remove(v)),null!==(v=null===this._unlinkedRecords?null:this._unlinkedRecords.get(te,null))?(Object.is(v.item,w)||this._addIdentityChange(v,w),this._reinsertAfter(v,qe,De)):null!==(v=null===this._linkedRecords?null:this._linkedRecords.get(te,De))?(Object.is(v.item,w)||this._addIdentityChange(v,w),this._moveAfter(v,qe,De)):v=this._addAfter(new hi(w,te),qe,De),v}_verifyReinsertion(v,w,te,De){let qe=null===this._unlinkedRecords?null:this._unlinkedRecords.get(te,null);return null!==qe?v=this._reinsertAfter(qe,v._prev,De):v.currentIndex!=De&&(v.currentIndex=De,this._addToMoves(v,De)),v}_truncate(v){for(;null!==v;){const w=v._next;this._addToRemovals(this._unlink(v)),v=w}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(v,w,te){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(v);const De=v._prevRemoved,qe=v._nextRemoved;return null===De?this._removalsHead=qe:De._nextRemoved=qe,null===qe?this._removalsTail=De:qe._prevRemoved=De,this._insertAfter(v,w,te),this._addToMoves(v,te),v}_moveAfter(v,w,te){return this._unlink(v),this._insertAfter(v,w,te),this._addToMoves(v,te),v}_addAfter(v,w,te){return this._insertAfter(v,w,te),this._additionsTail=null===this._additionsTail?this._additionsHead=v:this._additionsTail._nextAdded=v,v}_insertAfter(v,w,te){const De=null===w?this._itHead:w._next;return v._next=De,v._prev=w,null===De?this._itTail=v:De._prev=v,null===w?this._itHead=v:w._next=v,null===this._linkedRecords&&(this._linkedRecords=new Ui),this._linkedRecords.put(v),v.currentIndex=te,v}_remove(v){return this._addToRemovals(this._unlink(v))}_unlink(v){null!==this._linkedRecords&&this._linkedRecords.remove(v);const w=v._prev,te=v._next;return null===w?this._itHead=te:w._next=te,null===te?this._itTail=w:te._prev=w,v}_addToMoves(v,w){return v.previousIndex===w||(this._movesTail=null===this._movesTail?this._movesHead=v:this._movesTail._nextMoved=v),v}_addToRemovals(v){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Ui),this._unlinkedRecords.put(v),v.currentIndex=null,v._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=v,v._prevRemoved=null):(v._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=v),v}_addIdentityChange(v,w){return v.item=w,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=v:this._identityChangesTail._nextIdentityChange=v,v}}class hi{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(v,w){this.item=v,this.trackById=w}}class $r{_head=null;_tail=null;add(v){null===this._head?(this._head=this._tail=v,v._nextDup=null,v._prevDup=null):(this._tail._nextDup=v,v._prevDup=this._tail,v._nextDup=null,this._tail=v)}get(v,w){let te;for(te=this._head;null!==te;te=te._nextDup)if((null===w||w<=te.currentIndex)&&Object.is(te.trackById,v))return te;return null}remove(v){const w=v._prevDup,te=v._nextDup;return null===w?this._head=te:w._nextDup=te,null===te?this._tail=w:te._prevDup=w,null===this._head}}class Ui{map=new Map;put(v){const w=v.trackById;let te=this.map.get(w);te||(te=new $r,this.map.set(w,te)),te.add(v)}get(v,w){const De=this.map.get(v);return De?De.get(v,w):null}remove(v){const w=v.trackById;return this.map.get(w).remove(v)&&this.map.delete(w),v}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Oi(T,v,w){const te=T.previousIndex;if(null===te)return te;let De=0;return w&&te{if(w&&w.key===De)this._maybeAddToChanges(w,te),this._appendAfter=w,w=w._next;else{const qe=this._getOrCreateRecordForKey(De,te);w=this._insertBeforeOrAppend(w,qe)}}),w){w._prev&&(w._prev._next=null),this._removalsHead=w;for(let te=w;null!==te;te=te._nextRemoved)te===this._mapHead&&(this._mapHead=null),this._records.delete(te.key),te._nextRemoved=te._next,te.previousValue=te.currentValue,te.currentValue=null,te._prev=null,te._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(v,w){if(v){const te=v._prev;return w._next=v,w._prev=te,v._prev=w,te&&(te._next=w),v===this._mapHead&&(this._mapHead=w),this._appendAfter=v,v}return this._appendAfter?(this._appendAfter._next=w,w._prev=this._appendAfter):this._mapHead=w,this._appendAfter=w,null}_getOrCreateRecordForKey(v,w){if(this._records.has(v)){const De=this._records.get(v);this._maybeAddToChanges(De,w);const qe=De._prev,Mt=De._next;return qe&&(qe._next=Mt),Mt&&(Mt._prev=qe),De._next=null,De._prev=null,De}const te=new os(v);return this._records.set(v,te),te.currentValue=w,this._addToAdditions(te),te}_reset(){if(this.isDirty){let v;for(this._previousMapHead=this._mapHead,v=this._previousMapHead;null!==v;v=v._next)v._nextPrevious=v._next;for(v=this._changesHead;null!==v;v=v._nextChanged)v.previousValue=v.currentValue;for(v=this._additionsHead;null!=v;v=v._nextAdded)v.previousValue=v.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(v,w){Object.is(w,v.currentValue)||(v.previousValue=v.currentValue,v.currentValue=w,this._addToChanges(v))}_addToAdditions(v){null===this._additionsHead?this._additionsHead=this._additionsTail=v:(this._additionsTail._nextAdded=v,this._additionsTail=v)}_addToChanges(v){null===this._changesHead?this._changesHead=this._changesTail=v:(this._changesTail._nextChanged=v,this._changesTail=v)}_forEach(v,w){v instanceof Map?v.forEach(w):Object.keys(v).forEach(te=>w(v[te],te))}}class os{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(v){this.key=v}}function Hi(){return new Lr([new hr])}let Lr=(()=>{class T{factories;static \u0275prov=(0,c.jDH)({token:T,providedIn:"root",factory:Hi});constructor(w){this.factories=w}static create(w,te){if(null!=te){const De=te.factories.slice();w=w.concat(De)}return new T(w)}static extend(w){return{provide:T,useFactory:()=>{const te=(0,c.WQX)(T,{optional:!0,skipSelf:!0});return T.create(w,te||Hi())}}}find(w){const te=this.factories.find(De=>De.supports(w));if(null!=te)return te;throw new c.buA(901,!1)}}return T})();function Ei(){return new Di([new ei])}let Di=(()=>{class T{static \u0275prov=(0,c.jDH)({token:T,providedIn:"root",factory:Ei});factories;constructor(w){this.factories=w}static create(w,te){if(te){const De=te.factories.slice();w=w.concat(De)}return new T(w)}static extend(w){return{provide:T,useFactory:()=>{const te=(0,c.WQX)(T,{optional:!0,skipSelf:!0});return T.create(w,te||Ei())}}}find(w){const te=this.factories.find(De=>De.supports(w));if(te)return te;throw new c.buA(901,!1)}}return T})(),Mi=(()=>{class T{constructor(w){}static \u0275fac=function(te){return new(te||T)((0,c.KVO)(g.o8S))};static \u0275mod=(0,g.$C)({type:T});static \u0275inj=(0,c.G2t)({})}return T})();function Gr(T){(0,g.Ef8)(8);try{const{rootComponent:v,appProviders:w,platformProviders:te}=T,De=function x(T=[]){if(fr)return fr;(0,g.pl0)();const v=function di(T=[],v){return c.zZn.create({name:v,providers:[{provide:c.GBX,useValue:"platform"},{provide:Tr,useValue:new Set([()=>fr=null])},...T]})}(T);return fr=v,(0,g.ypd)(),function Te(T){const v=T.get(g.PLl,null);(0,c.N4e)(T,()=>{v?.forEach(w=>w())})}(v),v}(te),qe=[(0,g.SdI)({}),{provide:c.hk6,useExisting:g.Ts$},c.gv8,...w||[]];return function Jn(T){const v=Gn(T)?T.r3Injector:T.moduleRef.injector,w=v.get(g.SKi);return w.run(()=>{Gn(T)?T.r3Injector.resolveInjectorInitializers():T.moduleRef.resolveInjectorInitializers();const te=v.get(c.ZTf);let De;if(w.runOutsideAngular(()=>{De=w.onError.subscribe({next:te})}),Gn(T)){const qe=()=>v.destroy(),Mt=T.platformInjector.get(Tr);Mt.add(qe),v.onDestroy(()=>{De.unsubscribe(),Mt.delete(qe)})}else{const qe=()=>T.moduleRef.destroy(),Mt=T.platformInjector.get(Tr);Mt.add(qe),T.moduleRef.onDestroy(()=>{(0,g.TFI)(T.allPlatformModules,T.moduleRef),De.unsubscribe(),Mt.delete(qe)})}return function Er(T,v,w){try{const te=w();return(0,g.yLl)(te)?te.catch(De=>{throw v.runOutsideAngular(()=>T(De)),De}):te}catch(te){throw v.runOutsideAngular(()=>T(te)),te}}(te,w,()=>{const qe=v.get(c.rev),Mt=qe.add(),Lt=v.get(g.H1s);return Lt.runInitializers(),Lt.donePromise.then(()=>{const Gt=v.get(g.xe9,g.DkB);if((0,g.e6s)(Gt||g.DkB),!v.get(tr,!0))return Gn(T)?v.get(g.o8S):(T.allPlatformModules.push(T.moduleRef),T.moduleRef);if(Gn(T)){const Fn=v.get(g.o8S);return void 0!==T.rootComponent&&Fn.bootstrap(T.rootComponent),Fn}return nr?.(T.moduleRef,T.allPlatformModules),T.moduleRef}).finally(()=>{qe.remove(Mt)})})})}({r3Injector:new g.bH1({providers:qe,parent:De,debugName:"",runEnvironmentInitializers:!1}).injector,platformInjector:De,rootComponent:v})}catch(v){return Promise.reject(v)}finally{(0,g.Ef8)(9)}}const ni=new WeakSet,Ci="";let Fr=[];function or(T){return T.get(g.Kzh,g.N1r)}function pi(){const T=[{provide:g.Kzh,useFactory:()=>{let v=!0;{const w=(0,c.WQX)(g.sZ2);v=!!window._ejsas?.[w]}return v&&(0,g._jY)("NgEventReplay"),v}}];return T.push({provide:c.Z63,useValue:()=>{const v=(0,c.WQX)(g.o8S),{injector:w}=v;if(!ni.has(v)){const te=(0,c.WQX)(g.mu_);if(or(w)){(0,g.$KE)();const De=w.get(g.sZ2),qe=(0,g.cTO)(De,(Mt,Lt,Gt)=>{Mt.nodeType===Node.ELEMENT_NODE&&((0,g.JeD)(Mt,Lt,Gt),(0,g.iBR)(Mt,te))});v.onDestroy(qe)}}},multi:!0},{provide:g.iLQ,useFactory:()=>{const v=(0,c.WQX)(g.o8S),{injector:w}=v;return()=>{if(!or(w)||ni.has(v))return;ni.add(v);const te=w.get(g.sZ2);v.onDestroy(()=>{ni.delete(v),Kn(te)}),v.whenStable().then(()=>{if(v.destroyed)return;const De=w.get(g.SVM);ps(De,w);const qe=w.get(g.mu_);qe.get(Ci)?.forEach(g.UQZ),qe.delete(Ci);const Mt=De.instance;(0,g.ATY)(w)?v.onDestroy(()=>Mt.cleanUp()):Mt.cleanUp()})}},multi:!0}),T}const ps=(T,v)=>{const w=v.get(g.sZ2),te=window._ejsas[w],De=T.instance=new Jt(new ft(te.c));for(const Lt of te.et)De.addEvent(Lt);for(const Lt of te.etc)De.addEvent(Lt);const qe=function Vn(T,v=window){return function Ge(T){return T?.q??[]}(v._ejsas?.[T])}(w);De.replayEarlyEventInfos(qe),Kn(w);const Mt=new Ut(Lt=>{!function rs(T,v,w){const te=(w&&w.getAttribute(g.n$e))??"";/d\d+/.test(te)?function Si(T,v,w,te){Fr.push({event:w,currentTarget:te}),(0,g.DQ1)(v,T,Vi)}(te,T,v,w):101===v.eventPhase&&(0,g.c0O)(v,w)}(v,Lt,Lt.currentTarget)});!function ct(T,v){T.ecrd(w=>{v.dispatch(w)},mt.I_AM_THE_JSACTION_FRAMEWORK)}(De,Mt)};function Vi(T){const v=[...Fr],w=new Set(T);Fr=[];for(let{event:te,currentTarget:De}of v){const qe=De.getAttribute(g.n$e);w.has(qe)?(0,g.c0O)(te,De):Fr.push({event:te,currentTarget:De})}}let S=!1;function G(){const T=[{provide:g.qBF,useFactory:()=>{let v=!0;return v=!!(0,c.WQX)(g.pJN,{optional:!0})?.get(g.TMN,null),v&&(0,g._jY)("NgHydration"),v}},{provide:c.Z63,useValue:()=>{(0,g.pDL)(!1),(0,c.WQX)(g.qBF)&&((0,g.bRx)((0,g.YEm)()),function Ne(){S||(S=!0,(0,g.yJU)(),(0,g.hkx)(),(0,g.SML)(),(0,g.Qdn)(),(0,g.XSi)(),(0,g.L8h)(),(0,g.xtN)(),(0,g.UJm)())}())},multi:!0}];return T.push({provide:g.uzI,useFactory:()=>(0,c.WQX)(g.qBF)},{provide:g.iLQ,useFactory:()=>{if((0,c.WQX)(g.qBF)){const v=(0,c.WQX)(g.o8S);return()=>{(function l(T){return T.whenStable()})(v).then(()=>{v.destroyed||(0,g.LN$)(v)})}}return()=>{}},multi:!0}),(0,c.EmA)(T)}function Je(T){return"boolean"==typeof T?T:null!=T&&"false"!==T}function dt(T,v=NaN){return isNaN(parseFloat(T))||isNaN(Number(T))?v:Number(T)}function ri(T,v){const w=(0,c.xUg)(T),te=v.elementInjector||(0,c.WB9)();return new g.eHC(w).create(te,v.projectableNodes,v.hostElement,v.environmentInjector,v.directives,v.bindings)}function _r(T){const v=(0,c.xUg)(T);if(!v)return null;const w=new g.eHC(v);return{get selector(){return w.selector},get type(){return w.componentType},get inputs(){return w.inputs},get outputs(){return w.outputs},get ngContentSelectors(){return w.ngContentSelectors},get isStandalone(){return v.standalone},get isSignal(){return v.signals}}}function vi(...T){return T.reduce((v,w)=>Object.assign(v,w,{providers:[...v.providers,...w.providers]}),{providers:[]})}},9166:(ut,be,d)=>{"use strict";d.d(be,{nX:()=>hr,Pu:()=>De,Zp:()=>rn,nU:()=>En,wU:()=>Ct,c1:()=>ti,XR:()=>Gt,j5:()=>Tn,wF:()=>wn,L6:()=>bn,lW:()=>Sn,mo:()=>dn,Z:()=>Dn,J2:()=>an,J_:()=>_r,bw:()=>vi,tD:()=>Ei,Ix:()=>bs,D$:()=>zn,n3:()=>Hi,ld:()=>Wn,OY:()=>fr,Sd:()=>An,bK:()=>qe,gk:()=>Wr,Lg:()=>Mt,wO:()=>qn,Us:()=>di,we:()=>Di});var c=d(5240),r=d(5430),g=d(2481),Y=d(9148),W=d(6763),V=d(2551),q=d(9835),L=d(9452),$=d(5797),ee=d(9999),ne=d(3335),he=d(3513),Z=d(137),le=d(5682),ie=d(7919),Oe=d(9400),Le=d(4982),ye=d(4205),ve=d(3942),Ze=d(7092),re=d(271),Ae=d(6647),ue=d(4334),Ee=d(3037),xe=d(1567),$e=d(1365),rt=d(2435),At=d(1903),lt=d(8764),ft=d(1318),at=d(4031),Be=d(778),We=d(819),pe=d(1687);function z(f){return f<=0?()=>Oe.w:(0,We.N)((D,m)=>{let M=[];D.subscribe((0,pe._)(m,F=>{M.push(F),f{for(const F of M)m.next(F);m.complete()},void 0,()=>{M=null}))})}var E=d(9365),H=d(1440),k=d(9475),_e=d(3481),me=d(3900),ke=d(142);const Ue="primary",Ot=Symbol("RouteTitle");class Pt{params;constructor(D){this.params=D||{}}has(D){return Object.prototype.hasOwnProperty.call(this.params,D)}get(D){if(this.has(D)){const m=this.params[D];return Array.isArray(m)?m[0]:m}return null}getAll(D){if(this.has(D)){const m=this.params[D];return Array.isArray(m)?m:[m]}return[]}get keys(){return Object.keys(this.params)}}function St(f){return new Pt(f)}function Fe(f,D,m){const M=m.path.split("/");if(M.length>f.length||"full"===m.pathMatch&&(D.hasChildren()||M.lengthM[J]===F)}return f===D}function tt(f){return f.length>0?f[f.length-1]:null}function Tt(f){return(0,V.A)(f)?f:(0,g.yLl)(f)?(0,q.H)(Promise.resolve(f)):(0,L.of)(f)}const nn={exact:function zt(f,D,m){if(!Yt(f.segments,D.segments)||!ze(f.segments,D.segments,m)||f.numberOfChildren!==D.numberOfChildren)return!1;for(const M in D.children)if(!f.children[M]||!zt(f.children[M],D.children[M],m))return!1;return!0},subset:vt},tn={exact:function mt(f,D){return it(f,D)},subset:function st(f,D){return Object.keys(D).length<=Object.keys(f).length&&Object.keys(D).every(m=>ae(f[m],D[m]))},ignored:()=>!0};function vn(f,D,m){return nn[m.paths](f.root,D.root,m.matrixParams)&&tn[m.queryParams](f.queryParams,D.queryParams)&&!("exact"===m.fragment&&f.fragment!==D.fragment)}function vt(f,D,m){return Bt(f,D,D.segments,m)}function Bt(f,D,m,M){if(f.segments.length>m.length){const F=f.segments.slice(0,m.length);return!(!Yt(F,m)||D.hasChildren()||!ze(F,m,M))}if(f.segments.length===m.length){if(!Yt(f.segments,m)||!ze(f.segments,m,M))return!1;for(const F in D.children)if(!f.children[F]||!vt(f.children[F],D.children[F],M))return!1;return!0}{const F=m.slice(0,f.segments.length),J=m.slice(f.segments.length);return!!(Yt(f.segments,F)&&ze(f.segments,F,M)&&f.children[Ue])&&Bt(f.children[Ue],D,J,M)}}function ze(f,D,m){return D.every((M,F)=>tn[m](f[F].parameters,M.parameters))}class It{root;queryParams;fragment;_queryParamMap;constructor(D=new He([],{}),m={},M=null){this.root=D,this.queryParams=m,this.fragment=M}get queryParamMap(){return this._queryParamMap??=St(this.queryParams),this._queryParamMap}toString(){return gt.serialize(this)}}class He{segments;children;parent=null;constructor(D,m){this.segments=D,this.children=m,Object.values(m).forEach(M=>M.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return ct(this)}}class _t{path;parameters;_parameterMap;constructor(D,m){this.path=D,this.parameters=m}get parameterMap(){return this._parameterMap??=St(this.parameters),this._parameterMap}toString(){return Jt(this)}}function Yt(f,D){return f.length===D.length&&f.every((m,M)=>m.path===D[M].path)}let An=(()=>{class f{static \u0275fac=function(M){return new(M||f)};static \u0275prov=c.jDH({token:f,factory:()=>new En,providedIn:"root"})}return f})();class En{parse(D){const m=new xn(D);return new It(m.parseRootSegment(),m.parseQueryParams(),m.parseFragment())}serialize(D){const m=`/${j(D.root,!0)}`,M=function Vn(f){const D=Object.entries(f).map(([m,M])=>Array.isArray(M)?M.map(F=>`${Ge(m)}=${Ge(F)}`).join("&"):`${Ge(m)}=${Ge(M)}`).filter(m=>m);return D.length?`?${D.join("&")}`:""}(D.queryParams);return`${m}${M}${"string"==typeof D.fragment?`#${function Ke(f){return encodeURI(f)}(D.fragment)}`:""}`}}const gt=new En;function ct(f){return f.segments.map(D=>Jt(D)).join("/")}function j(f,D){if(!f.hasChildren())return ct(f);if(D){const m=f.children[Ue]?j(f.children[Ue],!1):"",M=[];return Object.entries(f.children).forEach(([F,J])=>{F!==Ue&&M.push(`${F}:${j(J,!1)}`)}),M.length>0?`${m}(${M.join("//")})`:m}{const m=function yn(f,D){let m=[];return Object.entries(f.children).forEach(([M,F])=>{M===Ue&&(m=m.concat(D(F,M)))}),Object.entries(f.children).forEach(([M,F])=>{M!==Ue&&(m=m.concat(D(F,M)))}),m}(f,(M,F)=>F===Ue?[j(f.children[Ue],!1)]:[`${F}:${j(M,!1)}`]);return 1===Object.keys(f.children).length&&null!=f.children[Ue]?`${ct(f)}/${m[0]}`:`${ct(f)}/(${m.join("//")})`}}function ce(f){return encodeURIComponent(f).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ge(f){return ce(f).replace(/%3B/gi,";")}function wt(f){return ce(f).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function jt(f){return decodeURIComponent(f)}function kt(f){return jt(f.replace(/\+/g,"%20"))}function Jt(f){return`${wt(f.path)}${function Pn(f){return Object.entries(f).map(([D,m])=>`;${wt(D)}=${wt(m)}`).join("")}(f.parameters)}`}const Ln=/^[^\/()?;#]+/;function $n(f){const D=f.match(Ln);return D?D[0]:""}const Kn=/^[^\/()?;=#]+/,On=/^[^=?&#]+/,Yn=/^[^&#]+/;class xn{url;remaining;constructor(D){this.url=D,this.remaining=D}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new He([],{}):new He([],this.parseChildren())}parseQueryParams(){const D={};if(this.consumeOptional("?"))do{this.parseQueryParam(D)}while(this.consumeOptional("&"));return D}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const D=[];for(this.peekStartsWith("(")||D.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),D.push(this.parseSegment());let m={};this.peekStartsWith("/(")&&(this.capture("/"),m=this.parseParens(!0));let M={};return this.peekStartsWith("(")&&(M=this.parseParens(!1)),(D.length>0||Object.keys(m).length>0)&&(M[Ue]=new He(D,m)),M}parseSegment(){const D=$n(this.remaining);if(""===D&&this.peekStartsWith(";"))throw new c.buA(4009,!1);return this.capture(D),new _t(jt(D),this.parseMatrixParams())}parseMatrixParams(){const D={};for(;this.consumeOptional(";");)this.parseParam(D);return D}parseParam(D){const m=function ir(f){const D=f.match(Kn);return D?D[0]:""}(this.remaining);if(!m)return;this.capture(m);let M="";if(this.consumeOptional("=")){const F=$n(this.remaining);F&&(M=F,this.capture(M))}D[jt(m)]=jt(M)}parseQueryParam(D){const m=function jn(f){const D=f.match(On);return D?D[0]:""}(this.remaining);if(!m)return;this.capture(m);let M="";if(this.consumeOptional("=")){const Me=function Nn(f){const D=f.match(Yn);return D?D[0]:""}(this.remaining);Me&&(M=Me,this.capture(M))}const F=kt(m),J=kt(M);if(D.hasOwnProperty(F)){let Me=D[F];Array.isArray(Me)||(Me=[Me],D[F]=Me),Me.push(J)}else D[F]=J}parseParens(D){const m={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const M=$n(this.remaining),F=this.remaining[M.length];if("/"!==F&&")"!==F&&";"!==F)throw new c.buA(4010,!1);let J;M.indexOf(":")>-1?(J=M.slice(0,M.indexOf(":")),this.capture(J),this.capture(":")):D&&(J=Ue);const Me=this.parseChildren();m[J]=1===Object.keys(Me).length?Me[Ue]:new He([],Me),this.consumeOptional("//")}return m}peekStartsWith(D){return this.remaining.startsWith(D)}consumeOptional(D){return!!this.peekStartsWith(D)&&(this.remaining=this.remaining.substring(D.length),!0)}capture(D){if(!this.consumeOptional(D))throw new c.buA(4011,!1)}}function Bn(f){return f.segments.length>0?new He([],{[Ue]:f}):f}function Ur(f){const D={};for(const[M,F]of Object.entries(f.children)){const J=Ur(F);if(M===Ue&&0===J.segments.length&&J.hasChildren())for(const[Me,Ye]of Object.entries(J.children))D[Me]=Ye;else(J.segments.length>0||J.hasChildren())&&(D[M]=J)}return function Or(f){if(1===f.numberOfChildren&&f.children[Ue]){const D=f.children[Ue];return new He(f.segments.concat(D.segments),D.children)}return f}(new He(f.segments,D))}function qn(f){return f instanceof It}function oi(f){let D;const F=Bn(function m(J){const Me={};for(const Et of J.children){const en=m(Et);Me[Et.outlet]=en}const Ye=new He(J.url,Me);return J===f&&(D=Ye),Ye}(f.root));return D??F}function ur(f,D,m,M){let F=f;for(;F.parent;)F=F.parent;if(0===D.length)return Jr(F,F,F,m,M);const J=function sr(f){if("string"==typeof f[0]&&1===f.length&&"/"===f[0])return new dr(!0,0,f);let D=0,m=!1;const M=f.reduce((F,J,Me)=>{if("object"==typeof J&&null!=J){if(J.outlets){const Ye={};return Object.entries(J.outlets).forEach(([Et,en])=>{Ye[Et]="string"==typeof en?en.split("/"):en}),[...F,{outlets:Ye}]}if(J.segmentPath)return[...F,J.segmentPath]}return"string"!=typeof J?[...F,J]:0===Me?(J.split("/").forEach((Ye,Et)=>{0==Et&&"."===Ye||(0==Et&&""===Ye?m=!0:".."===Ye?D++:""!=Ye&&F.push(Ye))}),F):[...F,J]},[]);return new dr(m,D,M)}(D);if(J.toRoot())return Jr(F,F,new He([],{}),m,M);const Me=function Se(f,D,m){if(f.isAbsolute)return new oe(D,!0,0);if(!m)return new oe(D,!1,NaN);if(null===m.parent)return new oe(m,!0,0);const M=yr(f.commands[0])?0:1;return function Ie(f,D,m){let M=f,F=D,J=m;for(;J>F;){if(J-=F,M=M.parent,!M)throw new c.buA(4005,!1);F=M.segments.length}return new oe(M,!1,F-J)}(m,m.segments.length-1+M,f.numberOfDoubleDots)}(J,F,f),Ye=Me.processChildren?pt(Me.segmentGroup,Me.index,J.commands):yt(Me.segmentGroup,Me.index,J.commands);return Jr(F,Me.segmentGroup,Ye,m,M)}function yr(f){return"object"==typeof f&&null!=f&&!f.outlets&&!f.segmentPath}function pn(f){return"object"==typeof f&&null!=f&&f.outlets}function Jr(f,D,m,M,F){let Me,J={};M&&Object.entries(M).forEach(([Et,en])=>{J[Et]=Array.isArray(en)?en.map(Hn=>`${Hn}`):`${en}`}),Me=f===D?m:Un(f,D,m);const Ye=Bn(Ur(Me));return new It(Ye,J,F)}function Un(f,D,m){const M={};return Object.entries(f.children).forEach(([F,J])=>{M[F]=J===D?m:Un(J,D,m)}),new He(f.segments,M)}class dr{isAbsolute;numberOfDoubleDots;commands;constructor(D,m,M){if(this.isAbsolute=D,this.numberOfDoubleDots=m,this.commands=M,D&&M.length>0&&yr(M[0]))throw new c.buA(4003,!1);const F=M.find(pn);if(F&&F!==tt(M))throw new c.buA(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class oe{segmentGroup;processChildren;index;constructor(D,m,M){this.segmentGroup=D,this.processChildren=m,this.index=M}}function yt(f,D,m){if(f??=new He([],{}),0===f.segments.length&&f.hasChildren())return pt(f,D,m);const M=function xt(f,D,m){let M=0,F=D;const J={match:!1,pathIndex:0,commandIndex:0};for(;F=m.length)return J;const Me=f.segments[F],Ye=m[M];if(pn(Ye))break;const Et=`${Ye}`,en=M0&&void 0===Et)break;if(Et&&en&&"object"==typeof en&&void 0===en.outlets){if(!ht(Et,en,Me))return J;M+=2}else{if(!ht(Et,{},Me))return J;M++}F++}return{match:!0,pathIndex:F,commandIndex:M}}(f,D,m),F=m.slice(M.commandIndex);if(M.match&&M.pathIndexJ!==Ue)&&f.children[Ue]&&1===f.numberOfChildren&&0===f.children[Ue].segments.length){const J=pt(f.children[Ue],D,m);return new He(f.segments,J.children)}return Object.entries(M).forEach(([J,Me])=>{"string"==typeof Me&&(Me=[Me]),null!==Me&&(F[J]=yt(f.children[J],D,Me))}),Object.entries(f.children).forEach(([J,Me])=>{void 0===M[J]&&(F[J]=Me)}),new He(f.segments,F)}}function ge(f,D,m){const M=f.segments.slice(0,D);let F=0;for(;F{"string"==typeof M&&(M=[M]),null!==M&&(D[m]=ge(new He([],{}),0,M))}),D}function Xe(f){const D={};return Object.entries(f).forEach(([m,M])=>D[m]=`${M}`),D}function ht(f,D,m){return f==m.path&&it(D,m.parameters)}const Ct="imperative";var Nt=function(f){return f[f.NavigationStart=0]="NavigationStart",f[f.NavigationEnd=1]="NavigationEnd",f[f.NavigationCancel=2]="NavigationCancel",f[f.NavigationError=3]="NavigationError",f[f.RoutesRecognized=4]="RoutesRecognized",f[f.ResolveStart=5]="ResolveStart",f[f.ResolveEnd=6]="ResolveEnd",f[f.GuardsCheckStart=7]="GuardsCheckStart",f[f.GuardsCheckEnd=8]="GuardsCheckEnd",f[f.RouteConfigLoadStart=9]="RouteConfigLoadStart",f[f.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",f[f.ChildActivationStart=11]="ChildActivationStart",f[f.ChildActivationEnd=12]="ChildActivationEnd",f[f.ActivationStart=13]="ActivationStart",f[f.ActivationEnd=14]="ActivationEnd",f[f.Scroll=15]="Scroll",f[f.NavigationSkipped=16]="NavigationSkipped",f}(Nt||{});class Xt{id;url;constructor(D,m){this.id=D,this.url=m}}class Dn extends Xt{type=Nt.NavigationStart;navigationTrigger;restoredState;constructor(D,m,M="imperative",F=null){super(D,m),this.navigationTrigger=M,this.restoredState=F}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class wn extends Xt{urlAfterRedirects;type=Nt.NavigationEnd;constructor(D,m,M){super(D,m),this.urlAfterRedirects=M}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var un=function(f){return f[f.Redirect=0]="Redirect",f[f.SupersededByNewNavigation=1]="SupersededByNewNavigation",f[f.NoDataFromResolver=2]="NoDataFromResolver",f[f.GuardRejected=3]="GuardRejected",f[f.Aborted=4]="Aborted",f}(un||{}),dn=function(f){return f[f.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",f[f.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",f}(dn||{});class Tn extends Xt{reason;code;type=Nt.NavigationCancel;constructor(D,m,M,F){super(D,m),this.reason=M,this.code=F}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Sn extends Xt{reason;code;type=Nt.NavigationSkipped;constructor(D,m,M,F){super(D,m),this.reason=M,this.code=F}}class bn extends Xt{error;target;type=Nt.NavigationError;constructor(D,m,M,F){super(D,m),this.error=M,this.target=F}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Wn extends Xt{urlAfterRedirects;state;type=Nt.RoutesRecognized;constructor(D,m,M,F){super(D,m),this.urlAfterRedirects=M,this.state=F}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Zn extends Xt{urlAfterRedirects;state;type=Nt.GuardsCheckStart;constructor(D,m,M,F){super(D,m),this.urlAfterRedirects=M,this.state=F}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Tr extends Xt{urlAfterRedirects;state;shouldActivate;type=Nt.GuardsCheckEnd;constructor(D,m,M,F,J){super(D,m),this.urlAfterRedirects=M,this.state=F,this.shouldActivate=J}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class tr extends Xt{urlAfterRedirects;state;type=Nt.ResolveStart;constructor(D,m,M,F){super(D,m),this.urlAfterRedirects=M,this.state=F}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Gn extends Xt{urlAfterRedirects;state;type=Nt.ResolveEnd;constructor(D,m,M,F){super(D,m),this.urlAfterRedirects=M,this.state=F}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Jn{route;type=Nt.RouteConfigLoadStart;constructor(D){this.route=D}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class nr{route;type=Nt.RouteConfigLoadEnd;constructor(D){this.route=D}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Qn{snapshot;type=Nt.ChildActivationStart;constructor(D){this.snapshot=D}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Sr{snapshot;type=Nt.ChildActivationEnd;constructor(D){this.snapshot=D}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Er{snapshot;type=Nt.ActivationStart;constructor(D){this.snapshot=D}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ai{snapshot;type=Nt.ActivationEnd;constructor(D){this.snapshot=D}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class fr{routerEvent;position;anchor;type=Nt.Scroll;constructor(D,m,M){this.routerEvent=D,this.position=m,this.anchor=M}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Vr{}class qr{url;navigationBehaviorOptions;constructor(D,m){this.url=D,this.navigationBehaviorOptions=m}}function di(f){switch(f.type){case Nt.ActivationEnd:return`ActivationEnd(path: '${f.snapshot.routeConfig?.path||""}')`;case Nt.ActivationStart:return`ActivationStart(path: '${f.snapshot.routeConfig?.path||""}')`;case Nt.ChildActivationEnd:return`ChildActivationEnd(path: '${f.snapshot.routeConfig?.path||""}')`;case Nt.ChildActivationStart:return`ChildActivationStart(path: '${f.snapshot.routeConfig?.path||""}')`;case Nt.GuardsCheckEnd:return`GuardsCheckEnd(id: ${f.id}, url: '${f.url}', urlAfterRedirects: '${f.urlAfterRedirects}', state: ${f.state}, shouldActivate: ${f.shouldActivate})`;case Nt.GuardsCheckStart:return`GuardsCheckStart(id: ${f.id}, url: '${f.url}', urlAfterRedirects: '${f.urlAfterRedirects}', state: ${f.state})`;case Nt.NavigationCancel:return`NavigationCancel(id: ${f.id}, url: '${f.url}')`;case Nt.NavigationSkipped:return`NavigationSkipped(id: ${f.id}, url: '${f.url}')`;case Nt.NavigationEnd:return`NavigationEnd(id: ${f.id}, url: '${f.url}', urlAfterRedirects: '${f.urlAfterRedirects}')`;case Nt.NavigationError:return`NavigationError(id: ${f.id}, url: '${f.url}', error: ${f.error})`;case Nt.NavigationStart:return`NavigationStart(id: ${f.id}, url: '${f.url}')`;case Nt.ResolveEnd:return`ResolveEnd(id: ${f.id}, url: '${f.url}', urlAfterRedirects: '${f.urlAfterRedirects}', state: ${f.state})`;case Nt.ResolveStart:return`ResolveStart(id: ${f.id}, url: '${f.url}', urlAfterRedirects: '${f.urlAfterRedirects}', state: ${f.state})`;case Nt.RouteConfigLoadEnd:return`RouteConfigLoadEnd(path: ${f.route.path})`;case Nt.RouteConfigLoadStart:return`RouteConfigLoadStart(path: ${f.route.path})`;case Nt.RoutesRecognized:return`RoutesRecognized(id: ${f.id}, url: '${f.url}', urlAfterRedirects: '${f.urlAfterRedirects}', state: ${f.state})`;case Nt.Scroll:return`Scroll(anchor: '${f.anchor}', position: '${f.position?`${f.position[0]}, ${f.position[1]}`:null}')`}}function Te(f){return f.outlet||Ue}function Dt(f){if(!f)return null;if(f.routeConfig?._injector)return f.routeConfig._injector;for(let D=f.parent;D;D=D.parent){const m=D.routeConfig;if(m?._loadedInjector)return m._loadedInjector;if(m?._injector)return m._injector}return null}class ln{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return Dt(this.route?.snapshot)??this.rootInjector}constructor(D){this.rootInjector=D,this.children=new rn(this.rootInjector)}}let rn=(()=>{class f{rootInjector;contexts=new Map;constructor(m){this.rootInjector=m}onChildOutletCreated(m,M){const F=this.getOrCreateContext(m);F.outlet=M,this.contexts.set(m,F)}onChildOutletDestroyed(m){const M=this.getContext(m);M&&(M.outlet=null,M.attachRef=null)}onOutletDeactivated(){const m=this.contexts;return this.contexts=new Map,m}onOutletReAttached(m){this.contexts=m}getOrCreateContext(m){let M=this.getContext(m);return M||(M=new ln(this.rootInjector),this.contexts.set(m,M)),M}getContext(m){return this.contexts.get(m)||null}static \u0275fac=function(M){return new(M||f)(c.KVO(c.uvJ))};static \u0275prov=c.jDH({token:f,factory:f.\u0275fac,providedIn:"root"})}return f})();class _n{_root;constructor(D){this._root=D}get root(){return this._root.value}parent(D){const m=this.pathFromRoot(D);return m.length>1?m[m.length-2]:null}children(D){const m=Ht(D,this._root);return m?m.children.map(M=>M.value):[]}firstChild(D){const m=Ht(D,this._root);return m&&m.children.length>0?m.children[0].value:null}siblings(D){const m=Cn(D,this._root);return m.length<2?[]:m[m.length-2].children.map(F=>F.value).filter(F=>F!==D)}pathFromRoot(D){return Cn(D,this._root).map(m=>m.value)}}function Ht(f,D){if(f===D.value)return D;for(const m of D.children){const M=Ht(f,m);if(M)return M}return null}function Cn(f,D){if(f===D.value)return[D];for(const m of D.children){const M=Cn(f,m);if(M.length)return M.unshift(D),M}return[]}class gn{value;children;constructor(D,m){this.value=D,this.children=m}toString(){return`TreeNode(${this.value})`}}function kn(f){const D={};return f&&f.children.forEach(m=>D[m.value.outlet]=m),D}class Rr extends _n{snapshot;constructor(D,m){super(D),this.snapshot=m,$r(this,D)}toString(){return this.snapshot.toString()}}function jr(f){const D=function fi(f){const J=new Cr([],{},{},"",{},Ue,f,null,{});return new hi("",new gn(J,[]))}(f),m=new $.t([new _t("",{})]),M=new $.t({}),F=new $.t({}),J=new $.t({}),Me=new $.t(""),Ye=new hr(m,M,J,Me,F,Ue,f,D.root);return Ye.snapshot=D.root,new Rr(new gn(Ye,[]),D)}class hr{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(D,m,M,F,J,Me,Ye,Et){this.urlSubject=D,this.paramsSubject=m,this.queryParamsSubject=M,this.fragmentSubject=F,this.dataSubject=J,this.outlet=Me,this.component=Ye,this._futureSnapshot=Et,this.title=this.dataSubject?.pipe((0,re.T)(en=>en[Ot]))??(0,L.of)(void 0),this.url=D,this.params=m,this.queryParams=M,this.fragment=F,this.data=J}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe((0,re.T)(D=>St(D))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,re.T)(D=>St(D))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Hr(f,D,m="emptyOnly"){let M;const{routeConfig:F}=f;return M=null===D||"always"!==m&&""!==F?.path&&(D.component||D.routeConfig?.loadComponent)?{params:{...f.params},data:{...f.data},resolve:{...f.data,...f._resolvedData??{}}}:{params:{...D.params,...f.params},data:{...D.data,...f.data},resolve:{...f.data,...D.data,...F?.data,...f._resolvedData}},F&&yi(F)&&(M.resolve[Ot]=F.title),M}class Cr{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[Ot]}constructor(D,m,M,F,J,Me,Ye,Et,en){this.url=D,this.params=m,this.queryParams=M,this.fragment=F,this.data=J,this.outlet=Me,this.component=Ye,this.routeConfig=Et,this._resolve=en}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=St(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=St(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(M=>M.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class hi extends _n{url;constructor(D,m){super(m),this.url=D,$r(this,m)}toString(){return Ui(this._root)}}function $r(f,D){D.value._routerState=f,D.children.forEach(m=>$r(f,m))}function Ui(f){const D=f.children.length>0?` { ${f.children.map(Ui).join(", ")} } `:"";return`${f.value}${D}`}function Oi(f){if(f.snapshot){const D=f.snapshot,m=f._futureSnapshot;f.snapshot=m,it(D.queryParams,m.queryParams)||f.queryParamsSubject.next(m.queryParams),D.fragment!==m.fragment&&f.fragmentSubject.next(m.fragment),it(D.params,m.params)||f.paramsSubject.next(m.params),function Ce(f,D){if(f.length!==D.length)return!1;for(let m=0;mit(m.parameters,D[M].parameters))}(f.url,D.url);return m&&!(!f.parent!=!D.parent)&&(!f.parent||ei(f.parent,D.parent))}function yi(f){return"string"==typeof f.title||null===f.title}const os=new c.nKC("");let Hi=(()=>{class f{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=Ue;activateEvents=new g.bkB;deactivateEvents=new g.bkB;attachEvents=new g.bkB;detachEvents=new g.bkB;routerOutletData=(0,Y.hFB)(void 0);parentContexts=(0,c.WQX)(rn);location=(0,c.WQX)(g.c1b);changeDetector=(0,c.WQX)(Y.gRc);inputBinder=(0,c.WQX)(ti,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(m){if(m.name){const{firstChange:M,previousValue:F}=m.name;if(M)return;this.isTrackedInParentContexts(F)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(F)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(m){return this.parentContexts.getContext(m)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const m=this.parentContexts.getContext(this.name);m?.route&&(m.attachRef?this.attach(m.attachRef,m.route):this.activateWith(m.route,m.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new c.buA(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new c.buA(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new c.buA(4012,!1);this.location.detach();const m=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(m.instance),m}attach(m,M){this.activated=m,this._activatedRoute=M,this.location.insert(m.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(m.instance)}deactivate(){if(this.activated){const m=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(m)}}activateWith(m,M){if(this.isActivated)throw new c.buA(4013,!1);this._activatedRoute=m;const F=this.location,Me=m.snapshot.component,Ye=this.parentContexts.getOrCreateContext(this.name).children,Et=new Lr(m,Ye,F.injector,this.routerOutletData);this.activated=F.createComponent(Me,{index:F.length,injector:Et,environmentInjector:M}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(M){return new(M||f)};static \u0275dir=g.FsC({type:f,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[g.OA$]})}return f})();class Lr{route;childContexts;parent;outletData;constructor(D,m,M,F){this.route=D,this.childContexts=m,this.parent=M,this.outletData=F}get(D,m){return D===hr?this.route:D===rn?this.childContexts:D===os?this.outletData:this.parent.get(D,m)}}const ti=new c.nKC("");let Ei=(()=>{class f{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(m){this.unsubscribeFromRouteData(m),this.subscribeToRouteData(m)}unsubscribeFromRouteData(m){this.outletDataSubscriptions.get(m)?.unsubscribe(),this.outletDataSubscriptions.delete(m)}subscribeToRouteData(m){const{activatedRoute:M}=m,F=(0,ee.z)([M.queryParams,M.params,M.data]).pipe((0,Ae.n)(([J,Me,Ye],Et)=>(Ye={...J,...Me,...Ye},0===Et?(0,L.of)(Ye):Promise.resolve(Ye)))).subscribe(J=>{if(!m.isActivated||!m.activatedComponentRef||m.activatedRoute!==M||null===M.component)return void this.unsubscribeFromRouteData(m);const Me=(0,Y.HJs)(M.component);if(Me)for(const{templateName:Ye}of Me.inputs)m.activatedComponentRef.setInput(Ye,J[Ye]);else this.unsubscribeFromRouteData(m)});this.outletDataSubscriptions.set(m,F)}static \u0275fac=function(M){return new(M||f)};static \u0275prov=c.jDH({token:f,factory:f.\u0275fac})}return f})(),Di=(()=>{class f{static \u0275fac=function(M){return new(M||f)};static \u0275cmp=g.VBU({type:f,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(M,F){1&M&&g.nrm(0,"router-outlet")},dependencies:[Hi],encapsulation:2})}return f})();function $i(f){const D=f.children&&f.children.map($i),m=D?{...f,children:D}:{...f};return!m.component&&!m.loadComponent&&(D||m.loadChildren)&&m.outlet&&m.outlet!==Ue&&(m.component=Di),m}function xr(f,D,m){if(m&&f.shouldReuseRoute(D.value,m.value.snapshot)){const M=m.value;M._futureSnapshot=D.value;const F=function kr(f,D,m){return D.children.map(M=>{for(const F of m.children)if(f.shouldReuseRoute(M.value,F.value.snapshot))return xr(f,M,F);return xr(f,M)})}(f,D,m);return new gn(M,F)}{if(f.shouldAttach(D.value)){const J=f.retrieve(D.value);if(null!==J){const Me=J.route;return Me.value._futureSnapshot=D.value,Me.children=D.children.map(Ye=>xr(f,Ye)),Me}}const M=function Qi(f){return new hr(new $.t(f.url),new $.t(f.params),new $.t(f.queryParams),new $.t(f.fragment),new $.t(f.data),f.outlet,f.component,f)}(D.value),F=D.children.map(J=>xr(f,J));return new gn(M,F)}}class Mi{redirectTo;navigationBehaviorOptions;constructor(D,m){this.redirectTo=D,this.navigationBehaviorOptions=m}}const Gr="ngNavigationCancelingError";function ni(f,D){const{redirectTo:m,navigationBehaviorOptions:M}=qn(D)?{redirectTo:D,navigationBehaviorOptions:void 0}:D,F=Ci(!1,un.Redirect);return F.url=m,F.navigationBehaviorOptions=M,F}function Ci(f,D){const m=new Error(`NavigationCancelingError: ${f||""}`);return m[Gr]=!0,m.cancellationCode=D,m}function or(f){return!!f&&f[Gr]}class ns{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(D,m,M,F,J){this.routeReuseStrategy=D,this.futureState=m,this.currState=M,this.forwardEvent=F,this.inputBindingEnabled=J}activate(D){const m=this.futureState._root,M=this.currState?this.currState._root:null;this.deactivateChildRoutes(m,M,D),Oi(this.futureState.root),this.activateChildRoutes(m,M,D)}deactivateChildRoutes(D,m,M){const F=kn(m);D.children.forEach(J=>{const Me=J.value.outlet;this.deactivateRoutes(J,F[Me],M),delete F[Me]}),Object.values(F).forEach(J=>{this.deactivateRouteAndItsChildren(J,M)})}deactivateRoutes(D,m,M){const F=D.value,J=m?m.value:null;if(F===J)if(F.component){const Me=M.getContext(F.outlet);Me&&this.deactivateChildRoutes(D,m,Me.children)}else this.deactivateChildRoutes(D,m,M);else J&&this.deactivateRouteAndItsChildren(m,M)}deactivateRouteAndItsChildren(D,m){D.value.component&&this.routeReuseStrategy.shouldDetach(D.value.snapshot)?this.detachAndStoreRouteSubtree(D,m):this.deactivateRouteAndOutlet(D,m)}detachAndStoreRouteSubtree(D,m){const M=m.getContext(D.value.outlet),F=M&&D.value.component?M.children:m,J=kn(D);for(const Me of Object.values(J))this.deactivateRouteAndItsChildren(Me,F);if(M&&M.outlet){const Me=M.outlet.detach(),Ye=M.children.onOutletDeactivated();this.routeReuseStrategy.store(D.value.snapshot,{componentRef:Me,route:D,contexts:Ye})}}deactivateRouteAndOutlet(D,m){const M=m.getContext(D.value.outlet),F=M&&D.value.component?M.children:m,J=kn(D);for(const Me of Object.values(J))this.deactivateRouteAndItsChildren(Me,F);M&&(M.outlet&&(M.outlet.deactivate(),M.children.onOutletDeactivated()),M.attachRef=null,M.route=null)}activateChildRoutes(D,m,M){const F=kn(m);D.children.forEach(J=>{this.activateRoutes(J,F[J.value.outlet],M),this.forwardEvent(new ai(J.value.snapshot))}),D.children.length&&this.forwardEvent(new Sr(D.value.snapshot))}activateRoutes(D,m,M){const F=D.value,J=m?m.value:null;if(Oi(F),F===J)if(F.component){const Me=M.getOrCreateContext(F.outlet);this.activateChildRoutes(D,m,Me.children)}else this.activateChildRoutes(D,m,M);else if(F.component){const Me=M.getOrCreateContext(F.outlet);if(this.routeReuseStrategy.shouldAttach(F.snapshot)){const Ye=this.routeReuseStrategy.retrieve(F.snapshot);this.routeReuseStrategy.store(F.snapshot,null),Me.children.onOutletReAttached(Ye.contexts),Me.attachRef=Ye.componentRef,Me.route=Ye.route.value,Me.outlet&&Me.outlet.attach(Ye.componentRef,Ye.route.value),Oi(Ye.route.value),this.activateChildRoutes(D,null,Me.children)}else Me.attachRef=null,Me.route=F,Me.outlet&&Me.outlet.activateWith(F,Me.injector),this.activateChildRoutes(D,null,Me.children)}else this.activateChildRoutes(D,null,M)}}class rs{path;route;constructor(D){this.path=D,this.route=this.path[this.path.length-1]}}class Si{component;route;constructor(D,m){this.component=D,this.route=m}}function Vi(f,D,m){const M=f._root;return Pi(M,D?D._root:null,m,[M.value])}function gi(f,D){const m=Symbol(),M=D.get(f,m);return M===m?"function"!=typeof f||(0,c.muV)(f)?D.get(f):f:M}function Pi(f,D,m,M,F={canDeactivateChecks:[],canActivateChecks:[]}){const J=kn(D);return f.children.forEach(Me=>{(function ji(f,D,m,M,F={canDeactivateChecks:[],canActivateChecks:[]}){const J=f.value,Me=D?D.value:null,Ye=m?m.getContext(f.value.outlet):null;if(Me&&J.routeConfig===Me.routeConfig){const Et=function bi(f,D,m){if("function"==typeof m)return m(f,D);switch(m){case"pathParamsChange":return!Yt(f.url,D.url);case"pathParamsOrQueryParamsChange":return!Yt(f.url,D.url)||!it(f.queryParams,D.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!ei(f,D)||!it(f.queryParams,D.queryParams);default:return!ei(f,D)}}(Me,J,J.routeConfig.runGuardsAndResolvers);Et?F.canActivateChecks.push(new rs(M)):(J.data=Me.data,J._resolvedData=Me._resolvedData),Pi(f,D,J.component?Ye?Ye.children:null:m,M,F),Et&&Ye&&Ye.outlet&&Ye.outlet.isActivated&&F.canDeactivateChecks.push(new Si(Ye.outlet.component,Me))}else Me&&Ir(D,Ye,F),F.canActivateChecks.push(new rs(M)),Pi(f,null,J.component?Ye?Ye.children:null:m,M,F)})(Me,J[Me.value.outlet],m,M.concat([Me.value]),F),delete J[Me.value.outlet]}),Object.entries(J).forEach(([Me,Ye])=>Ir(Ye,m.getContext(Me),F)),F}function Ir(f,D,m){const M=kn(f),F=f.value;Object.entries(M).forEach(([J,Me])=>{Ir(Me,F.component?D?D.children.getContext(J):null:D,m)}),m.canDeactivateChecks.push(new Si(F.component&&D&&D.outlet&&D.outlet.isActivated?D.outlet.component:null,F))}function _i(f){return"function"==typeof f}function Xi(f){return f instanceof ne.G||"EmptyError"===f?.name}const li=Symbol("INITIAL_VALUE");function mi(){return(0,Ae.n)(f=>(0,ee.z)(f.map(D=>D.pipe((0,ue.s)(1),(0,Ee.Z)(li)))).pipe((0,re.T)(D=>{for(const m of D)if(!0!==m){if(m===li)return li;if(!1===m||ls(m))return m}return!0}),(0,xe.p)(D=>D!==li),(0,ue.s)(1)))}function ls(f){return qn(f)||f instanceof Mi}function mn(f){return(0,le.F)((0,lt.M)(D=>{if("boolean"!=typeof D)throw ni(0,D)}),(0,re.T)(D=>!0===D))}class l{segmentGroup;constructor(D){this.segmentGroup=D||null}}class h extends Error{urlTree;constructor(D){super(),this.urlTree=D}}function I(f){return(0,ie.$)(new l(f))}function G(f){return(0,ie.$)(new c.buA(4e3,!1))}class Re{urlSerializer;urlTree;constructor(D,m){this.urlSerializer=D,this.urlTree=m}lineralizeSegments(D,m){let M=[],F=m.root;for(;;){if(M=M.concat(F.segments),0===F.numberOfChildren)return(0,L.of)(M);if(F.numberOfChildren>1||!F.children[Ue])return G();F=F.children[Ue]}}applyRedirectCommands(D,m,M,F,J){return function Ve(f,D,m){if("string"==typeof f)return(0,L.of)(f);const M=f,{queryParams:F,fragment:J,routeConfig:Me,url:Ye,outlet:Et,params:en,data:Hn,title:zr}=D;return Tt((0,c.N4e)(m,()=>M({params:en,data:Hn,queryParams:F,fragment:J,routeConfig:Me,url:Ye,outlet:Et,title:zr})))}(m,F,J).pipe((0,re.T)(Me=>{if(Me instanceof It)throw new h(Me);const Ye=this.applyRedirectCreateUrlTree(Me,this.urlSerializer.parse(Me),D,M);if("/"===Me[0])throw new h(Ye);return Ye}))}applyRedirectCreateUrlTree(D,m,M,F){const J=this.createSegmentGroup(D,m.root,M,F);return new It(J,this.createQueryParams(m.queryParams,this.urlTree.queryParams),m.fragment)}createQueryParams(D,m){const M={};return Object.entries(D).forEach(([F,J])=>{if("string"==typeof J&&":"===J[0]){const Ye=J.substring(1);M[F]=m[Ye]}else M[F]=J}),M}createSegmentGroup(D,m,M,F){const J=this.createSegments(D,m.segments,M,F);let Me={};return Object.entries(m.children).forEach(([Ye,Et])=>{Me[Ye]=this.createSegmentGroup(D,Et,M,F)}),new He(J,Me)}createSegments(D,m,M,F){return m.map(J=>":"===J.path[0]?this.findPosParam(D,J,F):this.findOrReturn(J,M))}findPosParam(D,m,M){const F=M[m.path.substring(1)];if(!F)throw new c.buA(4001,!1);return F}findOrReturn(D,m){let M=0;for(const F of m){if(F.path===D.path)return m.splice(M),F;M++}return D}}const Je={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function dt(f,D,m,M,F){const J=Wt(f,D,m);return J.matched?(M=function N(f,D){return f.providers&&!f._injector&&(f._injector=(0,g.Ol2)(f.providers,D,`Route: ${f.path}`)),f._injector??D}(D,M),function K(f,D,m,M){const F=D.canMatch;if(!F||0===F.length)return(0,L.of)(!0);const J=F.map(Me=>{const Ye=gi(Me,f);return Tt(function is(f){return f&&_i(f.canMatch)}(Ye)?Ye.canMatch(D,m):(0,c.N4e)(f,()=>Ye(D,m)))});return(0,L.of)(J).pipe(mi(),mn())}(M,D,m).pipe((0,re.T)(Me=>!0===Me?J:{...Je}))):(0,L.of)(J)}function Wt(f,D,m){if("**"===D.path)return function Vt(f){return{matched:!0,parameters:f.length>0?tt(f).parameters:{},consumedSegments:f,remainingSegments:[],positionalParamSegments:{}}}(m);if(""===D.path)return"full"===D.pathMatch&&(f.hasChildren()||m.length>0)?{...Je}:{matched:!0,consumedSegments:[],remainingSegments:m,parameters:{},positionalParamSegments:{}};const F=(D.matcher||Fe)(m,f,D);if(!F)return{...Je};const J={};Object.entries(F.posParams??{}).forEach(([Ye,Et])=>{J[Ye]=Et.path});const Me=F.consumed.length>0?{...J,...F.consumed[F.consumed.length-1].parameters}:J;return{matched:!0,consumedSegments:F.consumed,remainingSegments:m.slice(F.consumed.length),parameters:Me,positionalParamSegments:F.posParams??{}}}function In(f,D,m,M){return m.length>0&&function fn(f,D,m){return m.some(M=>ar(f,D,M)&&Te(M)!==Ue)}(f,m,M)?{segmentGroup:new He(D,sn(M,new He(m,f.children))),slicedSegments:[]}:0===m.length&&function Xn(f,D,m){return m.some(M=>ar(f,D,M))}(f,m,M)?{segmentGroup:new He(f.segments,Mn(f,m,M,f.children)),slicedSegments:m}:{segmentGroup:new He(f.segments,f.children),slicedSegments:m}}function Mn(f,D,m,M){const F={};for(const J of m)if(ar(f,D,J)&&!M[Te(J)]){const Me=new He([],{});F[Te(J)]=Me}return{...M,...F}}function sn(f,D){const m={};m[Ue]=D;for(const M of f)if(""===M.path&&Te(M)!==Ue){const F=new He([],{});m[Te(M)]=F}return m}function ar(f,D,m){return(!(f.hasChildren()||D.length>0)||"full"!==m.pathMatch)&&""===m.path}class Xr{}class ci{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(D,m,M,F,J,Me,Ye){this.injector=D,this.configLoader=m,this.rootComponentType=M,this.config=F,this.urlTree=J,this.paramsInheritanceStrategy=Me,this.urlSerializer=Ye,this.applyRedirects=new Re(this.urlSerializer,this.urlTree)}noMatchError(D){return new c.buA(4002,`'${D.segmentGroup}'`)}recognize(){const D=In(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(D).pipe((0,re.T)(({children:m,rootSnapshot:M})=>{const F=new gn(M,m),J=new hi("",F),Me=function er(f,D,m=null,M=null){return ur(oi(f),D,m,M)}(M,[],this.urlTree.queryParams,this.urlTree.fragment);return Me.queryParams=this.urlTree.queryParams,J.url=this.urlSerializer.serialize(Me),{state:J,tree:Me}}))}match(D){const m=new Cr([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Object.freeze({}),Ue,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,D,Ue,m).pipe((0,re.T)(M=>({children:M,rootSnapshot:m})),(0,ft.W)(M=>{if(M instanceof h)return this.urlTree=M.urlTree,this.match(M.urlTree.root);throw M instanceof l?this.noMatchError(M):M}))}processSegmentGroup(D,m,M,F,J){return 0===M.segments.length&&M.hasChildren()?this.processChildren(D,m,M,J):this.processSegment(D,m,M,M.segments,F,!0,J).pipe((0,re.T)(Me=>Me instanceof gn?[Me]:[]))}processChildren(D,m,M,F){const J=[];for(const Me of Object.keys(M.children))"primary"===Me?J.unshift(Me):J.push(Me);return(0,q.H)(J).pipe((0,At.H)(Me=>{const Ye=M.children[Me],Et=function Qe(f,D){const m=f.filter(M=>Te(M)===D);return m.push(...f.filter(M=>Te(M)!==D)),m}(m,Me);return this.processSegmentGroup(D,Et,Ye,Me,F)}),(0,at.S)((Me,Ye)=>(Me.push(...Ye),Me)),(0,Be.U)(null),function b(f,D){const m=arguments.length>=2;return M=>M.pipe(f?(0,xe.p)((F,J)=>f(F,J,M)):H.D,z(1),m?(0,Be.U)(D):(0,E.v)(()=>new ne.G))}(),(0,$e.Z)(Me=>{if(null===Me)return I(M);const Ye=Li(Me);return function Br(f){f.sort((D,m)=>D.value.outlet===Ue?-1:m.value.outlet===Ue?1:D.value.outlet.localeCompare(m.value.outlet))}(Ye),(0,L.of)(Ye)}))}processSegment(D,m,M,F,J,Me,Ye){return(0,q.H)(m).pipe((0,At.H)(Et=>this.processSegmentAgainstRoute(Et._injector??D,m,Et,M,F,J,Me,Ye).pipe((0,ft.W)(en=>{if(en instanceof l)return(0,L.of)(null);throw en}))),(0,rt.$)(Et=>!!Et),(0,ft.W)(Et=>{if(Xi(Et))return function pr(f,D,m){return 0===D.length&&!f.children[m]}(M,F,J)?(0,L.of)(new Xr):I(M);throw Et}))}processSegmentAgainstRoute(D,m,M,F,J,Me,Ye,Et){return Te(M)===Me||Me!==Ue&&ar(F,J,M)?void 0===M.redirectTo?this.matchSegmentAgainstRoute(D,F,M,J,Me,Et):this.allowRedirects&&Ye?this.expandSegmentAgainstRouteUsingRedirect(D,F,m,M,J,Me,Et):I(F):I(F)}expandSegmentAgainstRouteUsingRedirect(D,m,M,F,J,Me,Ye){const{matched:Et,parameters:en,consumedSegments:Hn,positionalParamSegments:zr,remainingSegments:Ki}=Wt(m,F,J);if(!Et)return I(m);"string"==typeof F.redirectTo&&"/"===F.redirectTo[0]&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const ms=new Cr(J,en,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,gs(F),Te(F),F.component??F._loadedComponent??null,F,xi(F)),Ti=Hr(ms,Ye,this.paramsInheritanceStrategy);return ms.params=Object.freeze(Ti.params),ms.data=Object.freeze(Ti.data),this.applyRedirects.applyRedirectCommands(Hn,F.redirectTo,zr,ms,D).pipe((0,Ae.n)(vs=>this.applyRedirects.lineralizeSegments(F,vs)),(0,$e.Z)(vs=>this.processSegment(D,M,m,vs.concat(Ki),Me,!1,Ye)))}matchSegmentAgainstRoute(D,m,M,F,J,Me){const Ye=dt(m,M,F,D);return"**"===M.path&&(m.children={}),Ye.pipe((0,Ae.n)(Et=>Et.matched?this.getChildConfig(D=M._injector??D,M,F).pipe((0,Ae.n)(({routes:en})=>{const Hn=M._loadedInjector??D,{parameters:zr,consumedSegments:Ki,remainingSegments:ms}=Et,Ti=new Cr(Ki,zr,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,gs(M),Te(M),M.component??M._loadedComponent??null,M,xi(M)),Ts=Hr(Ti,Me,this.paramsInheritanceStrategy);Ti.params=Object.freeze(Ts.params),Ti.data=Object.freeze(Ts.data);const{segmentGroup:vs,slicedSegments:Ss}=In(m,Ki,ms,en);if(0===Ss.length&&vs.hasChildren())return this.processChildren(Hn,en,vs,Ti).pipe((0,re.T)(Hs=>new gn(Ti,Hs)));if(0===en.length&&0===Ss.length)return(0,L.of)(new gn(Ti,[]));const Bo=Te(M)===J;return this.processSegment(Hn,en,vs,Ss,Bo?Ue:J,!0,Ti).pipe((0,re.T)(Hs=>new gn(Ti,Hs instanceof gn?[Hs]:[])))})):I(m)))}getChildConfig(D,m,M){return m.children?(0,L.of)({routes:m.children,injector:D}):m.loadChildren?void 0!==m._loadedRoutes?(0,L.of)({routes:m._loadedRoutes,injector:m._loadedInjector}):function $t(f,D,m,M){const F=D.canLoad;if(void 0===F||0===F.length)return(0,L.of)(!0);const J=F.map(Me=>{const Ye=gi(Me,f);return Tt(function as(f){return f&&_i(f.canLoad)}(Ye)?Ye.canLoad(D,m):(0,c.N4e)(f,()=>Ye(D,m)))});return(0,L.of)(J).pipe(mi(),mn())}(D,m,M).pipe((0,$e.Z)(F=>F?this.configLoader.loadChildren(D,m).pipe((0,lt.M)(J=>{m._loadedRoutes=J.routes,m._loadedInjector=J.injector})):function de(){return(0,ie.$)(Ci(!1,un.GuardRejected))}())):(0,L.of)({routes:[],injector:D})}}function Yr(f){const D=f.value.routeConfig;return D&&""===D.path}function Li(f){const D=[],m=new Set;for(const M of f){if(!Yr(M)){D.push(M);continue}const F=D.find(J=>M.value.routeConfig===J.value.routeConfig);void 0!==F?(F.children.push(...M.children),m.add(F)):D.push(M)}for(const M of m){const F=Li(M.children);D.push(new gn(M.value,F))}return D.filter(M=>!m.has(M))}function gs(f){return f.data||{}}function xi(f){return f.resolve||{}}function ds(f){const D=f.children.map(m=>ds(m)).flat();return[f,...D]}function Rn(f){return(0,Ae.n)(D=>{const m=f(D);return m?(0,q.H)(m).pipe((0,re.T)(()=>D)):(0,L.of)(D)})}let gr=(()=>{class f{buildTitle(m){let M,F=m.root;for(;void 0!==F;)M=this.getResolvedTitleForRoute(F)??M,F=F.children.find(J=>J.outlet===Ue);return M}getResolvedTitleForRoute(m){return m.data[Ot]}static \u0275fac=function(M){return new(M||f)};static \u0275prov=c.jDH({token:f,factory:()=>(0,c.WQX)(ri),providedIn:"root"})}return f})(),ri=(()=>{class f extends gr{title;constructor(m){super(),this.title=m}updateTitle(m){const M=this.buildTitle(m);void 0!==M&&this.title.setTitle(M)}static \u0275fac=function(M){return new(M||f)(c.KVO(ke.hE))};static \u0275prov=c.jDH({token:f,factory:f.\u0275fac,providedIn:"root"})}return f})();const _r=new c.nKC("",{providedIn:"root",factory:()=>({})}),vi=new c.nKC("");let zn=(()=>{class f{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=(0,c.WQX)(g.Ql9);loadComponent(m,M){if(this.componentLoaders.get(M))return this.componentLoaders.get(M);if(M._loadedComponent)return(0,L.of)(M._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(M);const F=Tt((0,c.N4e)(m,()=>M.loadComponent())).pipe((0,re.T)(T),(0,Ae.n)(v),(0,lt.M)(Me=>{this.onLoadEndListener&&this.onLoadEndListener(M),M._loadedComponent=Me}),(0,k.j)(()=>{this.componentLoaders.delete(M)})),J=new Le.G(F,()=>new ye.B).pipe((0,_e.B)());return this.componentLoaders.set(M,J),J}loadChildren(m,M){if(this.childrenLoaders.get(M))return this.childrenLoaders.get(M);if(M._loadedRoutes)return(0,L.of)({routes:M._loadedRoutes,injector:M._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(M);const J=function Ms(f,D,m,M){return Tt((0,c.N4e)(m,()=>f.loadChildren())).pipe((0,re.T)(T),(0,Ae.n)(v),(0,$e.Z)(F=>F instanceof g.PYt||Array.isArray(F)?(0,L.of)(F):(0,q.H)(D.compileModuleAsync(F))),(0,re.T)(F=>{M&&M(f);let J,Me,Ye=!1;return Array.isArray(F)?(Me=F,!0):(J=F.create(m).injector,Me=J.get(vi,[],{optional:!0,self:!0}).flat()),{routes:Me.map($i),injector:J}}))}(M,this.compiler,m,this.onLoadEndListener).pipe((0,k.j)(()=>{this.childrenLoaders.delete(M)})),Me=new Le.G(J,()=>new ye.B).pipe((0,_e.B)());return this.childrenLoaders.set(M,Me),Me}static \u0275fac=function(M){return new(M||f)};static \u0275prov=c.jDH({token:f,factory:f.\u0275fac,providedIn:"root"})}return f})();function T(f){return function Cs(f){return f&&"object"==typeof f&&"default"in f}(f)?f.default:f}function v(f){return(0,L.of)(f)}let w=(()=>{class f{static \u0275fac=function(M){return new(M||f)};static \u0275prov=c.jDH({token:f,factory:()=>(0,c.WQX)(te),providedIn:"root"})}return f})(),te=(()=>{class f{shouldProcessUrl(m){return!0}extract(m){return m}merge(m,M){return m}static \u0275fac=function(M){return new(M||f)};static \u0275prov=c.jDH({token:f,factory:f.\u0275fac,providedIn:"root"})}return f})();const De=new c.nKC(""),qe=new c.nKC("");function Mt(f,D,m){const M=f.get(qe),F=f.get(c.qQL);if(!F.startViewTransition||M.skipNextTransition)return M.skipNextTransition=!1,new Promise(en=>setTimeout(en));let J;const Me=new Promise(en=>{J=en}),Ye=F.startViewTransition(()=>(J(),function Lt(f){return new Promise(D=>{(0,g.mal)({read:()=>setTimeout(D)},{injector:f})})}(f)));Ye.ready.catch(en=>{});const{onViewTransitionCreated:Et}=M;return Et&&(0,c.N4e)(f,()=>Et({transition:Ye,from:D,to:m})),Me}const Gt=new c.nKC("");let an=(()=>{class f{currentNavigation=(0,c.vPA)(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=null;events=new ye.B;transitionAbortWithErrorSubject=new ye.B;configLoader=(0,c.WQX)(zn);environmentInjector=(0,c.WQX)(c.uvJ);destroyRef=(0,c.WQX)(c.abz);urlSerializer=(0,c.WQX)(An);rootContexts=(0,c.WQX)(rn);location=(0,c.WQX)(r.aZ);inputBindingEnabled=null!==(0,c.WQX)(ti,{optional:!0});titleStrategy=(0,c.WQX)(gr);options=(0,c.WQX)(_r,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=(0,c.WQX)(w);createViewTransition=(0,c.WQX)(De,{optional:!0});navigationErrorHandler=(0,c.WQX)(Gt,{optional:!0});navigationId=0;get hasRequestedNavigation(){return 0!==this.navigationId}transitions;afterPreactivation=()=>(0,L.of)(void 0);rootComponentType=null;destroyed=!1;constructor(){this.configLoader.onLoadEndListener=F=>this.events.next(new nr(F)),this.configLoader.onLoadStartListener=F=>this.events.next(new Jn(F)),this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(m){const M=++this.navigationId;(0,W.O8)(()=>{this.transitions?.next({...m,extractedUrl:this.urlHandlingStrategy.extract(m.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,abortController:new AbortController,id:M})})}setupNavigations(m){return this.transitions=new $.t(null),this.transitions.pipe((0,xe.p)(M=>null!==M),(0,Ae.n)(M=>{let F=!1;return(0,L.of)(M).pipe((0,Ae.n)(J=>{if(this.navigationId>M.id)return this.cancelNavigationTransition(M,"",un.SupersededByNewNavigation),Oe.w;this.currentTransition=M,this.currentNavigation.set({id:J.id,initialUrl:J.rawUrl,extractedUrl:J.extractedUrl,targetBrowserUrl:"string"==typeof J.extras.browserUrl?this.urlSerializer.parse(J.extras.browserUrl):J.extras.browserUrl,trigger:J.source,extras:J.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null,abort:()=>J.abortController.abort()});const Me=!m.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!Me&&"reload"!==(J.extras.onSameUrlNavigation??m.onSameUrlNavigation))return this.events.next(new Sn(J.id,this.urlSerializer.serialize(J.rawUrl),"",dn.IgnoredSameUrlNavigation)),J.resolve(!1),Oe.w;if(this.urlHandlingStrategy.shouldProcessUrl(J.rawUrl))return(0,L.of)(J).pipe((0,Ae.n)(Et=>(this.events.next(new Dn(Et.id,this.urlSerializer.serialize(Et.extractedUrl),Et.source,Et.restoredState)),Et.id!==this.navigationId?Oe.w:Promise.resolve(Et))),function _s(f,D,m,M,F,J){return(0,$e.Z)(Me=>function Ar(f,D,m,M,F,J,Me="emptyOnly"){return new ci(f,D,m,M,F,Me,J).recognize()}(f,D,m,M,Me.extractedUrl,F,J).pipe((0,re.T)(({state:Ye,tree:Et})=>({...Me,targetSnapshot:Ye,urlAfterRedirects:Et}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,m.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,lt.M)(Et=>{M.targetSnapshot=Et.targetSnapshot,M.urlAfterRedirects=Et.urlAfterRedirects,this.currentNavigation.update(Hn=>(Hn.finalUrl=Et.urlAfterRedirects,Hn));const en=new Wn(Et.id,this.urlSerializer.serialize(Et.extractedUrl),this.urlSerializer.serialize(Et.urlAfterRedirects),Et.targetSnapshot);this.events.next(en)}));if(Me&&this.urlHandlingStrategy.shouldProcessUrl(J.currentRawUrl)){const{id:Et,extractedUrl:en,source:Hn,restoredState:zr,extras:Ki}=J,ms=new Dn(Et,this.urlSerializer.serialize(en),Hn,zr);this.events.next(ms);const Ti=jr(this.rootComponentType).snapshot;return this.currentTransition=M={...J,targetSnapshot:Ti,urlAfterRedirects:en,extras:{...Ki,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.update(Ts=>(Ts.finalUrl=en,Ts)),(0,L.of)(M)}return this.events.next(new Sn(J.id,this.urlSerializer.serialize(J.extractedUrl),"",dn.IgnoredByUrlHandlingStrategy)),J.resolve(!1),Oe.w}),(0,lt.M)(J=>{const Me=new Zn(J.id,this.urlSerializer.serialize(J.extractedUrl),this.urlSerializer.serialize(J.urlAfterRedirects),J.targetSnapshot);this.events.next(Me)}),(0,re.T)(J=>(this.currentTransition=M={...J,guards:Vi(J.targetSnapshot,J.currentSnapshot,this.rootContexts)},M)),function Yi(f,D){return(0,$e.Z)(m=>{const{targetSnapshot:M,currentSnapshot:F,guards:{canActivateChecks:J,canDeactivateChecks:Me}}=m;return 0===Me.length&&0===J.length?(0,L.of)({...m,guardsResult:!0}):function Zi(f,D,m,M){return(0,q.H)(f).pipe((0,$e.Z)(F=>function Ne(f,D,m,M,F){const J=D&&D.routeConfig?D.routeConfig.canDeactivate:null;if(!J||0===J.length)return(0,L.of)(!0);const Me=J.map(Ye=>{const Et=Dt(D)??F,en=gi(Ye,Et);return Tt(function Wi(f){return f&&_i(f.canDeactivate)}(en)?en.canDeactivate(f,D,m,M):(0,c.N4e)(Et,()=>en(f,D,m,M))).pipe((0,rt.$)())});return(0,L.of)(Me).pipe(mi())}(F.component,F.route,m,D,M)),(0,rt.$)(F=>!0!==F,!0))}(Me,M,F,f).pipe((0,$e.Z)(Ye=>Ye&&function Ds(f){return"boolean"==typeof f}(Ye)?function cs(f,D,m,M){return(0,q.H)(D).pipe((0,At.H)(F=>(0,he.x)(function P(f,D){return null!==f&&D&&D(new Qn(f)),(0,L.of)(!0)}(F.route.parent,M),function S(f,D){return null!==f&&D&&D(new Er(f)),(0,L.of)(!0)}(F.route,M),function Q(f,D,m){const M=D[D.length-1],J=D.slice(0,D.length-1).reverse().map(Me=>function Ri(f){const D=f.routeConfig?f.routeConfig.canActivateChild:null;return D&&0!==D.length?{node:f,guards:D}:null}(Me)).filter(Me=>null!==Me).map(Me=>(0,Z.v)(()=>{const Ye=Me.guards.map(Et=>{const en=Dt(Me.node)??m,Hn=gi(Et,en);return Tt(function Qr(f){return f&&_i(f.canActivateChild)}(Hn)?Hn.canActivateChild(M,f):(0,c.N4e)(en,()=>Hn(M,f))).pipe((0,rt.$)())});return(0,L.of)(Ye).pipe(mi())}));return(0,L.of)(J).pipe(mi())}(f,F.path,m),function y(f,D,m){const M=D.routeConfig?D.routeConfig.canActivate:null;if(!M||0===M.length)return(0,L.of)(!0);const F=M.map(J=>(0,Z.v)(()=>{const Me=Dt(D)??m,Ye=gi(J,Me);return Tt(function Ni(f){return f&&_i(f.canActivate)}(Ye)?Ye.canActivate(D,f):(0,c.N4e)(Me,()=>Ye(D,f))).pipe((0,rt.$)())}));return(0,L.of)(F).pipe(mi())}(f,F.route,m))),(0,rt.$)(F=>!0!==F,!0))}(M,J,f,D):(0,L.of)(Ye)),(0,re.T)(Ye=>({...m,guardsResult:Ye})))})}(this.environmentInjector,J=>this.events.next(J)),(0,lt.M)(J=>{if(M.guardsResult=J.guardsResult,J.guardsResult&&"boolean"!=typeof J.guardsResult)throw ni(0,J.guardsResult);const Me=new Tr(J.id,this.urlSerializer.serialize(J.extractedUrl),this.urlSerializer.serialize(J.urlAfterRedirects),J.targetSnapshot,!!J.guardsResult);this.events.next(Me)}),(0,xe.p)(J=>!!J.guardsResult||(this.cancelNavigationTransition(J,"",un.GuardRejected),!1)),Rn(J=>{if(0!==J.guards.canActivateChecks.length)return(0,L.of)(J).pipe((0,lt.M)(Me=>{const Ye=new tr(Me.id,this.urlSerializer.serialize(Me.extractedUrl),this.urlSerializer.serialize(Me.urlAfterRedirects),Me.targetSnapshot);this.events.next(Ye)}),(0,Ae.n)(Me=>{let Ye=!1;return(0,L.of)(Me).pipe(function us(f,D){return(0,$e.Z)(m=>{const{targetSnapshot:M,guards:{canActivateChecks:F}}=m;if(!F.length)return(0,L.of)(m);const J=new Set(F.map(Et=>Et.route)),Me=new Set;for(const Et of J)if(!Me.has(Et))for(const en of ds(Et))Me.add(en);let Ye=0;return(0,q.H)(Me).pipe((0,At.H)(Et=>J.has(Et)?function Kt(f,D,m,M){const F=f.routeConfig,J=f._resolve;return void 0!==F?.title&&!yi(F)&&(J[Ot]=F.title),(0,Z.v)(()=>(f.data=Hr(f,f.parent,m).resolve,function on(f,D,m,M){const F=A(f);if(0===F.length)return(0,L.of)({});const J={};return(0,q.H)(F).pipe((0,$e.Z)(Me=>function cn(f,D,m,M){const F=Dt(D)??M,J=gi(f,F);return Tt(J.resolve?J.resolve(D,m):(0,c.N4e)(F,()=>J(D,m)))}(f[Me],D,m,M).pipe((0,rt.$)(),(0,lt.M)(Ye=>{if(Ye instanceof Mi)throw ni(new En,Ye);J[Me]=Ye}))),z(1),(0,re.T)(()=>J),(0,ft.W)(Me=>Xi(Me)?Oe.w:(0,ie.$)(Me)))}(J,f,D,M).pipe((0,re.T)(Me=>(f._resolvedData=Me,f.data={...f.data,...Me},null)))))}(Et,M,f,D):(Et.data=Hr(Et,Et.parent,f).resolve,(0,L.of)(void 0))),(0,lt.M)(()=>Ye++),z(1),(0,$e.Z)(Et=>Ye===Me.size?(0,L.of)(m):Oe.w))})}(this.paramsInheritanceStrategy,this.environmentInjector),(0,lt.M)({next:()=>Ye=!0,complete:()=>{Ye||this.cancelNavigationTransition(Me,"",un.NoDataFromResolver)}}))}),(0,lt.M)(Me=>{const Ye=new Gn(Me.id,this.urlSerializer.serialize(Me.extractedUrl),this.urlSerializer.serialize(Me.urlAfterRedirects),Me.targetSnapshot);this.events.next(Ye)}))}),Rn(J=>{const Me=Ye=>{const Et=[];if(Ye.routeConfig?.loadComponent){const en=Dt(Ye)??this.environmentInjector;Et.push(this.configLoader.loadComponent(en,Ye.routeConfig).pipe((0,lt.M)(Hn=>{Ye.component=Hn}),(0,re.T)(()=>{})))}for(const en of Ye.children)Et.push(...Me(en));return Et};return(0,ee.z)(Me(J.targetSnapshot.root)).pipe((0,Be.U)(null),(0,ue.s)(1))}),Rn(()=>this.afterPreactivation()),(0,Ae.n)(()=>{const{currentSnapshot:J,targetSnapshot:Me}=M,Ye=this.createViewTransition?.(this.environmentInjector,J.root,Me.root);return Ye?(0,q.H)(Ye).pipe((0,re.T)(()=>M)):(0,L.of)(M)}),(0,re.T)(J=>{const Me=function Gi(f,D,m){const M=xr(f,D._root,m?m._root:void 0);return new Rr(M,D)}(m.routeReuseStrategy,J.targetSnapshot,J.currentRouterState);return this.currentTransition=M={...J,targetRouterState:Me},this.currentNavigation.update(Ye=>(Ye.targetRouterState=Me,Ye)),M}),(0,lt.M)(()=>{this.events.next(new Vr)}),((f,D,m,M)=>(0,re.T)(F=>(new ns(D,F.targetRouterState,F.currentRouterState,m,M).activate(f),F)))(this.rootContexts,m.routeReuseStrategy,J=>this.events.next(J),this.inputBindingEnabled),(0,ue.s)(1),(0,me.Q)(new ve.c(J=>{const Me=M.abortController.signal,Ye=()=>J.next();return Me.addEventListener("abort",Ye),()=>Me.removeEventListener("abort",Ye)}).pipe((0,xe.p)(()=>!F&&!M.targetRouterState),(0,lt.M)(()=>{this.cancelNavigationTransition(M,M.abortController.signal.reason+"",un.Aborted)}))),(0,lt.M)({next:J=>{F=!0,this.lastSuccessfulNavigation=(0,W.O8)(this.currentNavigation),this.events.next(new wn(J.id,this.urlSerializer.serialize(J.extractedUrl),this.urlSerializer.serialize(J.urlAfterRedirects))),this.titleStrategy?.updateTitle(J.targetRouterState.snapshot),J.resolve(!0)},complete:()=>{F=!0}}),(0,me.Q)(this.transitionAbortWithErrorSubject.pipe((0,lt.M)(J=>{throw J}))),(0,k.j)(()=>{F||this.cancelNavigationTransition(M,"",un.SupersededByNewNavigation),this.currentTransition?.id===M.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),(0,ft.W)(J=>{if(this.destroyed)return M.resolve(!1),Oe.w;if(F=!0,or(J))this.events.next(new Tn(M.id,this.urlSerializer.serialize(M.extractedUrl),J.message,J.cancellationCode)),function Fr(f){return or(f)&&qn(f.url)}(J)?this.events.next(new qr(J.url,J.navigationBehaviorOptions)):M.resolve(!1);else{const Me=new bn(M.id,this.urlSerializer.serialize(M.extractedUrl),J,M.targetSnapshot??void 0);try{const Ye=(0,c.N4e)(this.environmentInjector,()=>this.navigationErrorHandler?.(Me));if(!(Ye instanceof Mi))throw this.events.next(Me),J;{const{message:Et,cancellationCode:en}=ni(0,Ye);this.events.next(new Tn(M.id,this.urlSerializer.serialize(M.extractedUrl),Et,en)),this.events.next(new qr(Ye.redirectTo,Ye.navigationBehaviorOptions))}}catch(Ye){this.options.resolveNavigationPromiseOnError?M.resolve(!1):M.reject(Ye)}}return Oe.w}))}))}cancelNavigationTransition(m,M,F){const J=new Tn(m.id,this.urlSerializer.serialize(m.extractedUrl),M,F);this.events.next(J),m.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){const m=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),M=(0,W.O8)(this.currentNavigation),F=M?.targetBrowserUrl??M?.extractedUrl;return m.toString()!==F?.toString()&&!M?.extras.skipLocationChange}static \u0275fac=function(M){return new(M||f)};static \u0275prov=c.jDH({token:f,factory:f.\u0275fac,providedIn:"root"})}return f})();function Fn(f){return f!==Ct}let hn=(()=>{class f{static \u0275fac=function(M){return new(M||f)};static \u0275prov=c.jDH({token:f,factory:()=>(0,c.WQX)(mr),providedIn:"root"})}return f})();class br{shouldDetach(D){return!1}store(D,m){}shouldAttach(D){return!1}retrieve(D){return null}shouldReuseRoute(D,m){return D.routeConfig===m.routeConfig}}let mr=(()=>{class f extends br{static \u0275fac=(()=>{let m;return function(F){return(m||(m=g.xGo(f)))(F||f)}})();static \u0275prov=c.jDH({token:f,factory:f.\u0275fac,providedIn:"root"})}return f})(),ii=(()=>{class f{urlSerializer=(0,c.WQX)(An);options=(0,c.WQX)(_r,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=(0,c.WQX)(r.aZ);urlHandlingStrategy=(0,c.WQX)(w);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new It;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:m,initialUrl:M,targetBrowserUrl:F}){const J=void 0!==m?this.urlHandlingStrategy.merge(m,M):M,Me=F??J;return Me instanceof It?this.urlSerializer.serialize(Me):Me}commitTransition({targetRouterState:m,finalUrl:M,initialUrl:F}){M&&m?(this.currentUrlTree=M,this.rawUrlTree=this.urlHandlingStrategy.merge(M,F),this.routerState=m):this.rawUrlTree=F}routerState=jr(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();updateStateMemento(){this.stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}resetInternalState({finalUrl:m}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,m??this.rawUrlTree)}static \u0275fac=function(M){return new(M||f)};static \u0275prov=c.jDH({token:f,factory:()=>(0,c.WQX)(si),providedIn:"root"})}return f})(),si=(()=>{class f extends ii{currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(m){return this.location.subscribe(M=>{"popstate"===M.type&&setTimeout(()=>{m(M.url,M.state,"popstate")})})}handleRouterEvent(m,M){m instanceof Dn?this.updateStateMemento():m instanceof Sn?this.commitTransition(M):m instanceof Wn?"eager"===this.urlUpdateStrategy&&(M.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(M),M)):m instanceof Vr?(this.commitTransition(M),"deferred"===this.urlUpdateStrategy&&!M.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(M),M)):m instanceof Tn&&m.code!==un.SupersededByNewNavigation&&m.code!==un.Redirect?this.restoreHistory(M):m instanceof bn?this.restoreHistory(M,!0):m instanceof wn&&(this.lastSuccessfulId=m.id,this.currentPageId=this.browserPageId)}setBrowserUrl(m,{extras:M,id:F}){const{replaceUrl:J,state:Me}=M;if(this.location.isCurrentPathEqualTo(m)||J){const Ye=this.browserPageId,Et={...Me,...this.generateNgRouterState(F,Ye)};this.location.replaceState(m,"",Et)}else{const Ye={...Me,...this.generateNgRouterState(F,this.browserPageId+1)};this.location.go(m,"",Ye)}}restoreHistory(m,M=!1){if("computed"===this.canceledNavigationResolution){const J=this.currentPageId-this.browserPageId;0!==J?this.location.historyGo(J):this.getCurrentUrlTree()===m.finalUrl&&0===J&&(this.resetInternalState(m),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(M&&this.resetInternalState(m),this.resetUrlToCurrentUrlTree())}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(m,M){return"computed"===this.canceledNavigationResolution?{navigationId:m,\u0275routerPageId:M}:{navigationId:m}}static \u0275fac=(()=>{let m;return function(F){return(m||(m=g.xGo(f)))(F||f)}})();static \u0275prov=c.jDH({token:f,factory:f.\u0275fac,providedIn:"root"})}return f})();function Wr(f,D){f.events.pipe((0,xe.p)(m=>m instanceof wn||m instanceof Tn||m instanceof bn||m instanceof Sn),(0,re.T)(m=>m instanceof wn||m instanceof Sn?0:m instanceof Tn&&(m.code===un.Redirect||m.code===un.SupersededByNewNavigation)?2:1),(0,xe.p)(m=>2!==m),(0,ue.s)(1)).subscribe(()=>{D()})}const ki={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},fs={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let bs=(()=>{class f{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=(0,c.WQX)(g.C7A);stateManager=(0,c.WQX)(ii);options=(0,c.WQX)(_r,{optional:!0})||{};pendingTasks=(0,c.WQX)(c.rev);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=(0,c.WQX)(an);urlSerializer=(0,c.WQX)(An);location=(0,c.WQX)(r.aZ);urlHandlingStrategy=(0,c.WQX)(w);injector=(0,c.WQX)(c.uvJ);_events=new ye.B;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=(0,c.WQX)(hn);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=(0,c.WQX)(vi,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!(0,c.WQX)(ti,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:m=>{this.console.warn(m)}}),this.subscribeToNavigationEvents()}eventsSubscription=new Ze.yU;subscribeToNavigationEvents(){const m=this.navigationTransitions.events.subscribe(M=>{try{const F=this.navigationTransitions.currentTransition,J=(0,W.O8)(this.navigationTransitions.currentNavigation);if(null!==F&&null!==J)if(this.stateManager.handleRouterEvent(M,J),M instanceof Tn&&M.code!==un.Redirect&&M.code!==un.SupersededByNewNavigation)this.navigated=!0;else if(M instanceof wn)this.navigated=!0;else if(M instanceof qr){const Me=M.navigationBehaviorOptions,Ye=this.urlHandlingStrategy.merge(M.url,F.currentRawUrl),Et={browserUrl:F.extras.browserUrl,info:F.extras.info,skipLocationChange:F.extras.skipLocationChange,replaceUrl:F.extras.replaceUrl||"eager"===this.urlUpdateStrategy||Fn(F.source),...Me};this.scheduleNavigation(Ye,Ct,null,Et,{resolve:F.resolve,reject:F.reject,promise:F.promise})}(function Bi(f){return!(f instanceof Vr||f instanceof qr)})(M)&&this._events.next(M)}catch(F){this.navigationTransitions.transitionAbortWithErrorSubject.next(F)}});this.eventsSubscription.add(m)}resetRootComponentType(m){this.routerState.root.component=m,this.navigationTransitions.rootComponentType=m}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Ct,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((m,M,F)=>{this.navigateToSyncWithBrowser(m,F,M)})}navigateToSyncWithBrowser(m,M,F){const J={replaceUrl:!0},Me=F?.navigationId?F:null;if(F){const Et={...F};delete Et.navigationId,delete Et.\u0275routerPageId,0!==Object.keys(Et).length&&(J.state=Et)}const Ye=this.parseUrl(m);this.scheduleNavigation(Ye,M,Me,J).catch(Et=>{this.disposed||this.injector.get(c.ZTf)(Et)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return(0,W.O8)(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(m){this.config=m.map($i),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(m,M={}){const{relativeTo:F,queryParams:J,fragment:Me,queryParamsHandling:Ye,preserveFragment:Et}=M,en=Et?this.currentUrlTree.fragment:Me;let zr,Hn=null;switch(Ye??this.options.defaultQueryParamsHandling){case"merge":Hn={...this.currentUrlTree.queryParams,...J};break;case"preserve":Hn=this.currentUrlTree.queryParams;break;default:Hn=J||null}null!==Hn&&(Hn=this.removeEmptyProps(Hn));try{zr=oi(F?F.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof m[0]||"/"!==m[0][0])&&(m=[]),zr=this.currentUrlTree.root}return ur(zr,m,Hn,en??null)}navigateByUrl(m,M={skipLocationChange:!1}){const F=qn(m)?m:this.parseUrl(m),J=this.urlHandlingStrategy.merge(F,this.rawUrlTree);return this.scheduleNavigation(J,Ct,null,M)}navigate(m,M={skipLocationChange:!1}){return function Os(f){for(let D=0;D(null!=J&&(M[F]=J),M),{})}scheduleNavigation(m,M,F,J,Me){if(this.disposed)return Promise.resolve(!1);let Ye,Et,en;Me?(Ye=Me.resolve,Et=Me.reject,en=Me.promise):en=new Promise((zr,Ki)=>{Ye=zr,Et=Ki});const Hn=this.pendingTasks.add();return Wr(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(Hn))}),this.navigationTransitions.handleNavigationRequest({source:M,restoredState:F,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:m,extras:J,resolve:Ye,reject:Et,promise:en,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),en.catch(zr=>Promise.reject(zr))}static \u0275fac=function(M){return new(M||f)};static \u0275prov=c.jDH({token:f,factory:f.\u0275fac,providedIn:"root"})}return f})()},9204:(ut,be,d)=>{"use strict";function c(g,Y,W,V,q,L,$){try{var ee=g[L]($),ne=ee.value}catch(he){return void W(he)}ee.done?Y(ne):Promise.resolve(ne).then(V,q)}function r(g){return function(){var Y=this,W=arguments;return new Promise(function(V,q){var L=g.apply(Y,W);function $(ne){c(L,V,q,$,ee,"next",ne)}function ee(ne){c(L,V,q,$,ee,"throw",ne)}$(void 0)})}}d.d(be,{A:()=>r})},9213:(ut,be,d)=>{"use strict";d.d(be,{O:()=>Y});var c=d(316),r=d(5240),g=d(2481);let Y=(()=>{var W;class V{constructor(L,$){this.document=L,this.platformId=$,this.documentIsAccessible=(0,c.UE)(this.platformId)}static getCookieRegExp(L){const $=L.replace(/([[\]{}()|=;+?,.*^$\\])/gi,"\\$1");return new RegExp("(?:^"+$+"|;\\s*"+$+")=(.*?)(?:;|$)","g")}static safeDecodeURIComponent(L){try{return decodeURIComponent(L)}catch{return L}}check(L){return!!this.documentIsAccessible&&(L=encodeURIComponent(L),V.getCookieRegExp(L).test(this.document.cookie))}get(L){if(this.check(L)){L=encodeURIComponent(L);const ee=V.getCookieRegExp(L).exec(this.document.cookie);return ee?.[1]?V.safeDecodeURIComponent(ee[1]):""}return""}getAll(){if(!this.documentIsAccessible)return{};const L={},$=this.document;return $.cookie&&""!==$.cookie&&$.cookie.split(";").forEach(ee=>{const[ne,he]=ee.split("=");L[V.safeDecodeURIComponent(ne.replace(/^ /,""))]=V.safeDecodeURIComponent(he)}),L}set(L,$,ee,ne,he,Z,le,ie){if(!this.documentIsAccessible)return;if("number"==typeof ee||ee instanceof Date||ne||he||Z||le)return void this.set(L,$,{expires:ee,path:ne,domain:he,secure:Z,sameSite:le||"Lax",partitioned:ie});let Oe=encodeURIComponent(L)+"="+encodeURIComponent($)+";";const Le=ee||{};Le.expires&&(Oe+="number"==typeof Le.expires?"expires="+new Date((new Date).getTime()+1e3*Le.expires*60*60*24).toUTCString()+";":"expires="+Le.expires.toUTCString()+";"),Le.path&&(Oe+="path="+Le.path+";"),Le.domain&&(Oe+="domain="+Le.domain+";"),!1===Le.secure&&"None"===Le.sameSite&&(Le.secure=!0,console.warn(`[ngx-cookie-service] Cookie ${L} was forced with secure flag because sameSite=None.More details : https://github.com/stevermeister/ngx-cookie-service/issues/86#issuecomment-597720130`)),Le.secure&&(Oe+="secure;"),Le.sameSite||(Le.sameSite="Lax"),Oe+="sameSite="+Le.sameSite+";",Le.partitioned&&(Oe+="Partitioned;"),this.document.cookie=Oe}delete(L,$,ee,ne,he="Lax"){this.documentIsAccessible&&this.set(L,"",{expires:new Date("Thu, 01 Jan 1970 00:00:01 GMT"),path:$,domain:ee,secure:ne,sameSite:he})}deleteAll(L,$,ee,ne="Lax"){if(!this.documentIsAccessible)return;const he=this.getAll();for(const Z in he)he.hasOwnProperty(Z)&&this.delete(Z,L,$,ee,ne)}static#e=W=()=>(this.\u0275fac=function($){return new($||V)(r.KVO(r.qQL),r.KVO(g.Agw))},this.\u0275prov=r.jDH({token:V,factory:V.\u0275fac,providedIn:"root"}))}return W(),V})()},9240:(ut,be,d)=>{"use strict";d.d(be,{Y:()=>g});var c=d(8473),r=d(4876);function g(Y=0,W=c.E){return Y<0&&(Y=0),(0,r.O)(Y,Y,W)}},9365:(ut,be,d)=>{"use strict";d.d(be,{v:()=>Y});var c=d(3335),r=d(819),g=d(1687);function Y(V=W){return(0,r.N)((q,L)=>{let $=!1;q.subscribe((0,g._)(L,ee=>{$=!0,L.next(ee)},()=>$?L.complete():L.error(V())))})}function W(){return new c.G}},9397:(ut,be,d)=>{"use strict";d.d(be,{m:()=>r});var c=d(1530);function r(g){return g&&(0,c.T)(g.schedule)}},9400:(ut,be,d)=>{"use strict";d.d(be,{w:()=>r});const r=new(d(3942).c)(W=>W.complete())},9431:(ut,be,d)=>{"use strict";d.d(be,{A5:()=>vn,UD:()=>tt,sA:()=>En,il:()=>Ke,ae:()=>qr,md:()=>Bi,wc:()=>Vr,VP:()=>ue,UX:()=>dr,vy:()=>N,Mz:()=>pn,Lg:()=>qn,on:()=>di,xk:()=>Ee,Lt:()=>jt});var c=d(5240),r=d(2481),g=d(6763),Y=d(9148),W=d(5797),V=d(3942),q=d(4205),L=d(428),ee=d(9576);const he=new class ne extends ee.q{}(class $ extends L.R{constructor(C,x){super(C,x),this.scheduler=C,this.work=x}schedule(C,x=0){return x>0?super.schedule(C,x):(this.delay=x,this.state=C,this.scheduler.flush(this),this)}execute(C,x){return x>0||this.closed?super.execute(C,x):this._execute(C,x)}requestAsyncId(C,x,X=0){return null!=X&&X>0||null==X&&this.delay>0?super.requestAsyncId(C,x,X):(C.flush(this),0)}});var le=d(4304),ie=d(5842),Oe=d(4031),Le=d(271),ve=d(1817),Ze=d(9074);const re={};function ue(O,C){if(re[O]=(re[O]||0)+1,"function"==typeof C)return $e(O,(...X)=>({...C(...X),type:O}));switch(C?C._as:"empty"){case"empty":return $e(O,()=>({type:O}));case"props":return $e(O,X=>({...X,type:O}));default:throw new Error("Unexpected config.")}}function Ee(){return{_as:"props",_p:void 0}}function $e(O,C){return Object.defineProperty(C,"type",{value:O,writable:!1})}const pe="@ngrx/store/init";let z=(()=>{var O;class C extends W.t{constructor(){super({type:pe})}next(X){if("function"==typeof X)throw new TypeError("\n Dispatch expected an object, instead it received a function.\n If you're using the createAction function, make sure to invoke the function\n before dispatching the action. For example, someAction should be someAction().");if(typeof X>"u")throw new TypeError("Actions must be objects");if(typeof X.type>"u")throw new TypeError("Actions must have a type property");super.next(X)}complete(){}ngOnDestroy(){super.complete()}static#e=O=()=>(this.\u0275fac=function(Te){return new(Te||C)},this.\u0275prov=c.jDH({token:C,factory:C.\u0275fac}))}return O(),C})();const E=[z],H=new c.nKC("@ngrx/store Internal Root Guard"),b=new c.nKC("@ngrx/store Internal Initial State"),k=new c.nKC("@ngrx/store Initial State"),_e=new c.nKC("@ngrx/store Reducer Factory"),me=new c.nKC("@ngrx/store Internal Reducer Factory Provider"),ke=new c.nKC("@ngrx/store Initial Reducers"),Ue=new c.nKC("@ngrx/store Internal Initial Reducers"),Ot=new c.nKC("@ngrx/store Store Features"),Pt=new c.nKC("@ngrx/store Internal Store Reducers"),St=new c.nKC("@ngrx/store Internal Feature Reducers"),Fe=new c.nKC("@ngrx/store Internal Feature Configs"),Ce=new c.nKC("@ngrx/store Internal Store Features"),it=new c.nKC("@ngrx/store Internal Feature Reducers Token"),A=new c.nKC("@ngrx/store Feature Reducers"),ae=new c.nKC("@ngrx/store User Provided Meta Reducers"),tt=new c.nKC("@ngrx/store Meta Reducers"),Tt=new c.nKC("@ngrx/store Internal Resolved Meta Reducers"),nn=new c.nKC("@ngrx/store User Runtime Checks Config"),tn=new c.nKC("@ngrx/store Internal User Runtime Checks Config"),vn=new c.nKC("@ngrx/store Internal Runtime Checks"),mt=new c.nKC("@ngrx/store Check if Action types are unique"),zt=new c.nKC("@ngrx/store Root Store Provider"),st=new c.nKC("@ngrx/store Feature State Provider");function vt(O,C={}){const x=Object.keys(O),X={};for(let Qe=0;QeQe(Te),x(C))}}function It(O,C){return Array.isArray(C)&&C.length>0&&(O=ze.apply(null,[...C,O])),(x,X)=>{const Te=O(x);return(Qe,Dt)=>Te(Qe=void 0===Qe?X:Qe,Dt)}}class _t extends V.c{}class Ut extends z{}let yn=(()=>{var O;class C extends W.t{get currentReducers(){return this.reducers}constructor(X,Te,Qe,Dt){super(Dt(Qe,Te)),this.dispatcher=X,this.initialState=Te,this.reducers=Qe,this.reducerFactory=Dt}addFeature(X){this.addFeatures([X])}addFeatures(X){const Te=X.reduce((Qe,{reducers:Dt,reducerFactory:ln,metaReducers:rn,initialState:_n,key:Ht})=>{const Cn="function"==typeof Dt?function He(O){const C=Array.isArray(O)&&O.length>0?ze(...O):x=>x;return(x,X)=>(x=C(x),(Te,Qe)=>x(Te=void 0===Te?X:Te,Qe))}(rn)(Dt,_n):It(ln,rn)(Dt,_n);return Qe[Ht]=Cn,Qe},{});this.addReducers(Te)}removeFeature(X){this.removeFeatures([X])}removeFeatures(X){this.removeReducers(X.map(Te=>Te.key))}addReducer(X,Te){this.addReducers({[X]:Te})}addReducers(X){this.reducers={...this.reducers,...X},this.updateReducers(Object.keys(X))}removeReducer(X){this.removeReducers([X])}removeReducers(X){X.forEach(Te=>{this.reducers=function Bt(O,C){return Object.keys(O).filter(x=>x!==C).reduce((x,X)=>Object.assign(x,{[X]:O[X]}),{})}(this.reducers,Te)}),this.updateReducers(X)}updateReducers(X){this.next(this.reducerFactory(this.reducers,this.initialState)),this.dispatcher.next({type:"@ngrx/store/update-reducers",features:X})}ngOnDestroy(){this.complete()}static#e=O=()=>(this.\u0275fac=function(Te){return new(Te||C)(c.KVO(Ut),c.KVO(k),c.KVO(ke),c.KVO(_e))},this.\u0275prov=c.jDH({token:C,factory:C.\u0275fac}))}return O(),C})();const An=[yn,{provide:_t,useExisting:yn},{provide:Ut,useExisting:z}];let En=(()=>{var O;class C extends q.B{ngOnDestroy(){this.complete()}static#e=O=()=>(this.\u0275fac=(()=>{let X;return function(Qe){return(X||(X=r.xGo(C)))(Qe||C)}})(),this.\u0275prov=c.jDH({token:C,factory:C.\u0275fac}))}return O(),C})();const gt=[En];class ct extends V.c{}let j=(()=>{var O;class C extends W.t{constructor(X,Te,Qe,Dt){super(Dt);const Ht=X.pipe((0,le.Q)(he)).pipe((0,ie.E)(Te)).pipe((0,Oe.S)(ce,{state:Dt}));this.stateSubscription=Ht.subscribe(({state:Cn,action:gn})=>{this.next(Cn),Qe.next(gn)}),this.state=(0,Ze.ot)(this,{manualCleanup:!0,requireSync:!0})}ngOnDestroy(){this.stateSubscription.unsubscribe(),this.complete()}static#e=O=()=>(this.INIT=pe,this.\u0275fac=function(Te){return new(Te||C)(c.KVO(z),c.KVO(_t),c.KVO(En),c.KVO(k))},this.\u0275prov=c.jDH({token:C,factory:C.\u0275fac}))}return O(),C})();function ce(O={state:void 0},[C,x]){const{state:X}=O;return{state:x(X,C),action:C}}const Ge=[j,{provide:ct,useExisting:j}];let Ke=(()=>{var O;class C extends V.c{constructor(X,Te,Qe,Dt){super(),this.actionsObserver=Te,this.reducerManager=Qe,this.injector=Dt,this.source=X,this.state=X.state}select(X,...Te){return jt.call(null,X,...Te)(this)}selectSignal(X,Te){return(0,g.EW)(()=>X(this.state()),Te)}lift(X){const Te=new C(this,this.actionsObserver,this.reducerManager);return Te.operator=X,Te}dispatch(X,Te){if("function"==typeof X)return this.processDispatchFn(X,Te);this.actionsObserver.next(X)}next(X){this.actionsObserver.next(X)}error(X){this.actionsObserver.error(X)}complete(){this.actionsObserver.complete()}addReducer(X,Te){this.reducerManager.addReducer(X,Te)}removeReducer(X){this.reducerManager.removeReducer(X)}processDispatchFn(X,Te){!function lt(O,C){if(null==O)throw new Error(`${C} must be defined.`)}(this.injector,"Store Injector");const Qe=Te?.injector??function kt(){try{return(0,c.WQX)(c.zZn)}catch{return}}()??this.injector;return(0,g.QZ)(()=>{const Dt=X();(0,g.O8)(()=>this.dispatch(Dt))},{injector:Qe})}static#e=O=()=>(this.\u0275fac=function(Te){return new(Te||C)(c.KVO(ct),c.KVO(z),c.KVO(yn),c.KVO(c.zZn))},this.\u0275prov=c.jDH({token:C,factory:C.\u0275fac}))}return O(),C})();const wt=[Ke];function jt(O,C,...x){return function(Te){let Qe;if("string"==typeof O){const Dt=[C,...x].filter(Boolean);Qe=Te.pipe(function ye(...O){const C=O.length;if(0===C)throw new Error("list of properties cannot be empty.");return(0,Le.T)(x=>{let X=x;for(let Te=0;TeO(Dt,C)))}return Qe.pipe((0,ve.F)())}}const Jt="https://ngrx.io/guide/store/configuration/runtime-checks";function Pn(O){return void 0===O}function Vn(O){return null===O}function Ln(O){return Array.isArray(O)}function On(O){return"object"==typeof O&&null!==O}function Nn(O){return"function"==typeof O}let Ur=!1;function qn(){return Ur}function er(O,C){return O===C}function yr(O,C=er,x=er){let Qe,X=null,Te=null;return{memoized:function _n(){if(void 0!==Qe)return Qe.result;if(!X)return Te=O.apply(null,arguments),X=arguments,Te;if(!function oi(O,C,x){for(let X=0;X"function"==typeof C)}(X[0])&&(X=function oe(O){const C=Object.values(O),x=Object.keys(O);return[...C,(...Te)=>x.reduce((Qe,Dt,ln)=>({...Qe,[Dt]:Te[ln]}),{})]}(X[0]));const Te=X.slice(0,X.length-1),Qe=X[X.length-1],Dt=Te.filter(Ht=>Ht.release&&"function"==typeof Ht.release),ln=O(function(...Ht){return Qe.apply(null,Ht)}),rn=yr(function(Ht,Cn){return C.stateFn.apply(null,[Ht,Te,Cn,ln])});return Object.assign(rn.memoized,{release:function _n(){rn.reset(),ln.reset(),Dt.forEach(Ht=>Ht.release())},projector:ln.memoized,setResult:rn.setResult,clearResult:rn.clearResult})}}(yr)(...O)}function Jr(O,C,x,X){if(void 0===x){const Qe=C.map(Dt=>Dt(O));return X.memoized.apply(null,Qe)}const Te=C.map(Qe=>Qe(O,x));return X.memoized.apply(null,[...Te,x])}function dr(O){return pn(C=>{const x=C[O];return!qn()&&(0,Y.naY)()&&!(O in C)&&console.warn(`@ngrx/store: The feature name "${O}" does not exist in the state, therefore createFeatureSelector cannot access it. Be sure it is imported in a loaded module using StoreModule.forRoot('${O}', ...) or StoreModule.forFeature('${O}', ...). If the default state is intended to be undefined, as is the case with router state, this development-only warning message can be ignored.`),x},C=>C)}function yt(O){return O instanceof c.nKC?(0,c.WQX)(O):O}function pt(O,C){return C.map((x,X)=>{if(O[X]instanceof c.nKC){const Te=(0,c.WQX)(O[X]);return{key:x.key,reducerFactory:Te.reducerFactory?Te.reducerFactory:vt,metaReducers:Te.metaReducers?Te.metaReducers:[],initialState:Te.initialState}}return x})}function xt(O){return O.map(C=>C instanceof c.nKC?(0,c.WQX)(C):C)}function ge(O){return"function"==typeof O?O():O}function je(O,C){return O.concat(C)}function Xe(){if((0,c.WQX)(Ke,{optional:!0,skipSelf:!0}))throw new TypeError("The root Store has been provided more than once. Feature modules should provide feature states instead.");return"guarded"}function Ct(O){Object.freeze(O);const C=Nn(O);return Object.getOwnPropertyNames(O).forEach(x=>{if(!x.startsWith("\u0275")&&function Bn(O,C){return Object.prototype.hasOwnProperty.call(O,C)}(O,x)&&(!C||"caller"!==x&&"callee"!==x&&"arguments"!==x)){const X=O[x];(On(X)||Nn(X))&&!Object.isFrozen(X)&&Ct(X)}}),O}function Xt(O,C=[]){return(Pn(O)||Vn(O))&&0===C.length?{path:["root"],value:O}:Object.keys(O).reduce((X,Te)=>{if(X)return X;const Qe=O[Te];return function xn(O){return Nn(O)&&O.hasOwnProperty("\u0275cmp")}(Qe)?X:!(Pn(Qe)||Vn(Qe)||function ir(O){return"number"==typeof O}(Qe)||function Kn(O){return"boolean"==typeof O}(Qe)||function $n(O){return"string"==typeof O}(Qe)||Ln(Qe))&&(function Yn(O){if(!function jn(O){return On(O)&&!Ln(O)}(O))return!1;const C=Object.getPrototypeOf(O);return C===Object.prototype||null===C}(Qe)?Xt(Qe,[...C,Te]):{path:[...C,Te],value:Qe})},!1)}function Dn(O,C){if(!1===O)return;const x=O.path.join("."),X=new Error(`Detected unserializable ${C} at "${x}". ${Jt}#strict${C}serializability`);throw X.value=O.value,X.unserializablePath=x,X}function un(O){return(0,Y.naY)()?{strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!0,strictActionImmutability:!0,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1,...O}:{strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!1,strictActionImmutability:!1,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1}}function dn({strictActionSerializability:O,strictStateSerializability:C}){return x=>O||C?function Nt(O,C){return function(x,X){C.action(X)&&Dn(Xt(X),"action");const Te=O(x,X);return C.state()&&Dn(Xt(Te),"state"),Te}}(x,{action:X=>O&&!Sn(X),state:()=>C}):x}function Tn({strictActionImmutability:O,strictStateImmutability:C}){return x=>O||C?function ht(O,C){return function(x,X){const Te=C.action(X)?Ct(X):X,Qe=O(x,Te);return C.state()?Ct(Qe):Qe}}(x,{action:X=>O&&!Sn(X),state:()=>C}):x}function Sn(O){return O.type.startsWith("@ngrx")}function bn({strictActionWithinNgZone:O}){return C=>O?function wn(O,C){return function(x,X){if(C.action(X)&&!r.SKi.isInAngularZone())throw new Error(`Action '${X.type}' running outside NgZone. ${Jt}#strictactionwithinngzone`);return O(x,X)}}(C,{action:x=>O&&!Sn(x)}):C}function Wn(O){return[{provide:tn,useValue:O},{provide:nn,useFactory:Tr,deps:[tn]},{provide:vn,deps:[nn],useFactory:un},{provide:tt,multi:!0,deps:[vn],useFactory:Tn},{provide:tt,multi:!0,deps:[vn],useFactory:dn},{provide:tt,multi:!0,deps:[vn],useFactory:bn}]}function Zn(){return[{provide:mt,multi:!0,deps:[vn],useFactory:tr}]}function Tr(O){return O}function tr(O){if(!O.strictActionTypeUniqueness)return;const C=Object.entries(re).filter(([,x])=>x>1).map(([x])=>x);if(C.length)throw new Error(`Action types are registered more than once, ${C.map(x=>`"${x}"`).join(", ")}. ${Jt}#strictactiontypeuniqueness`)}function Jn(O={},C={}){return[{provide:H,useFactory:Xe},{provide:b,useValue:C.initialState},{provide:k,useFactory:ge,deps:[b]},{provide:Ue,useValue:O},{provide:Pt,useExisting:O instanceof c.nKC?O:Ue},{provide:ke,deps:[Ue,[new r.y_5(Pt)]],useFactory:yt},{provide:ae,useValue:C.metaReducers?C.metaReducers:[]},{provide:Tt,deps:[tt,ae],useFactory:je},{provide:me,useValue:C.reducerFactory?C.reducerFactory:vt},{provide:_e,deps:[me,Tt],useFactory:It},E,An,gt,Ge,wt,Wn(C.runtimeChecks),Zn()]}function fr(O,C,x={}){return[{provide:Fe,multi:!0,useValue:O instanceof Object?{}:x},{provide:Ot,multi:!0,useValue:{key:O instanceof Object?O.name:O,reducerFactory:x instanceof c.nKC||!x.reducerFactory?vt:x.reducerFactory,metaReducers:x instanceof c.nKC||!x.metaReducers?[]:x.metaReducers,initialState:x instanceof c.nKC||!x.initialState?void 0:x.initialState}},{provide:Ce,deps:[Fe,Ot],useFactory:pt},{provide:St,multi:!0,useValue:O instanceof Object?O.reducer:C},{provide:it,multi:!0,useExisting:C instanceof c.nKC?C:St},{provide:A,multi:!0,deps:[St,[new r.y_5(it)]],useFactory:xt},Zn()]}(0,c.BCV)(()=>(0,c.WQX)(zt)),(0,c.BCV)(()=>(0,c.WQX)(st));let Vr=(()=>{var O;class C{constructor(X,Te,Qe,Dt,ln,rn){}static#e=O=()=>(this.\u0275fac=function(Te){return new(Te||C)(c.KVO(z),c.KVO(_t),c.KVO(En),c.KVO(Ke),c.KVO(H,8),c.KVO(mt,8))},this.\u0275mod=r.$C({type:C}),this.\u0275inj=c.G2t({}))}return O(),C})(),qr=(()=>{var O;class C{constructor(X,Te,Qe,Dt,ln){this.features=X,this.featureReducers=Te,this.reducerManager=Qe;const rn=X.map((_n,Ht)=>{const gn=Te.shift()[Ht];return{..._n,reducers:gn,initialState:ge(_n.initialState)}});Qe.addFeatures(rn)}ngOnDestroy(){this.reducerManager.removeFeatures(this.features)}static#e=O=()=>(this.\u0275fac=function(Te){return new(Te||C)(c.KVO(Ce),c.KVO(A),c.KVO(yn),c.KVO(Vr),c.KVO(mt,8))},this.\u0275mod=r.$C({type:C}),this.\u0275inj=c.G2t({}))}return O(),C})(),Bi=(()=>{var O;class C{static forRoot(X,Te){return{ngModule:Vr,providers:[...Jn(X,Te)]}}static forFeature(X,Te,Qe={}){return{ngModule:qr,providers:[...fr(X,Te,Qe)]}}static#e=O=()=>(this.\u0275fac=function(Te){return new(Te||C)},this.\u0275mod=r.$C({type:C}),this.\u0275inj=c.G2t({}))}return O(),C})();function di(...O){return{reducer:O.pop(),types:O.map(X=>X.type)}}function N(O,...C){const x=new Map;for(const X of C)for(const Te of X.types){const Qe=x.get(Te);x.set(Te,Qe?(ln,rn)=>X.reducer(Qe(ln,rn),rn):X.reducer)}return function(X=O,Te){const Qe=x.get(Te.type);return Qe?Qe(X,Te):X}}},9452:(ut,be,d)=>{"use strict";d.d(be,{of:()=>g});var c=d(4083),r=d(9835);function g(...Y){const W=(0,c.lI)(Y);return(0,r.H)(Y,W)}},9475:(ut,be,d)=>{"use strict";d.d(be,{j:()=>r});var c=d(819);function r(g){return(0,c.N)((Y,W)=>{try{Y.subscribe(W)}finally{W.add(g)}})}},9576:(ut,be,d)=>{"use strict";d.d(be,{q:()=>g});var c=d(5152);class r{constructor(W,V=r.now){this.schedulerActionCtor=W,this.now=V}schedule(W,V=0,q){return new this.schedulerActionCtor(this,W).schedule(q,V)}}r.now=c.U.now;class g extends r{constructor(W,V=r.now){super(W,V),this.actions=[],this._active=!1}flush(W){const{actions:V}=this;if(this._active)return void V.push(W);let q;this._active=!0;do{if(q=W.execute(W.state,W.delay))break}while(W=V.shift());if(this._active=!1,q){for(;W=V.shift();)W.unsubscribe();throw q}}}},9603:(ut,be,d)=>{"use strict";d.d(be,{f:()=>c});const c={setTimeout(r,g,...Y){const{delegate:W}=c;return W?.setTimeout?W.setTimeout(r,g,...Y):setTimeout(r,g,...Y)},clearTimeout(r){const{delegate:g}=c;return(g?.clearTimeout||clearTimeout)(r)},delegate:void 0}},9791:(ut,be,d)=>{"use strict";d.d(be,{WJ:()=>Ae,EI:()=>ie});var c=d(5240),r=d(2481),g=d(3942),Y=d(4205),W=d(4318);const V=new g.c(W.l);var L=d(6647),$=d(4334),ee=d(1567),ne=d(271);const he="Service workers are disabled or not supported by this browser";class Z{serviceWorker;worker;registration;events;constructor(Ee,xe){if(this.serviceWorker=Ee,Ee){let $e=null;const rt=new Y.B;this.worker=new g.c(Be=>(null!==$e&&Be.next($e),rt.subscribe(We=>Be.next(We))));const At=()=>{const{controller:Be}=Ee;null!==Be&&($e=Be,rt.next($e))};Ee.addEventListener("controllerchange",At),At(),this.registration=this.worker.pipe((0,L.n)(()=>Ee.getRegistration().then(Be=>{if(!Be)throw new c.buA(5601,!1);return Be})));const lt=new Y.B;this.events=lt.asObservable();const ft=Be=>{const{data:We}=Be;We?.type&<.next(We)};Ee.addEventListener("message",ft),xe?.get(r.o8S,null,{optional:!0})?.onDestroy(()=>{Ee.removeEventListener("controllerchange",At),Ee.removeEventListener("message",ft)})}else this.worker=this.events=this.registration=new g.c($e=>$e.error(new c.buA(5601,!1)))}postMessage(Ee,xe){return new Promise($e=>{this.worker.pipe((0,$.s)(1)).subscribe(rt=>{rt.postMessage({action:Ee,...xe}),$e()})})}postMessageWithOperation(Ee,xe,$e){const rt=this.waitForOperationCompleted($e),At=this.postMessage(Ee,xe);return Promise.all([At,rt]).then(([,lt])=>lt)}generateNonce(){return Math.round(1e7*Math.random())}eventsOfType(Ee){let xe;return xe="string"==typeof Ee?$e=>$e.type===Ee:$e=>Ee.includes($e.type),this.events.pipe((0,ee.p)(xe))}nextEventOfType(Ee){return this.eventsOfType(Ee).pipe((0,$.s)(1))}waitForOperationCompleted(Ee){return new Promise((xe,$e)=>{this.eventsOfType("OPERATION_COMPLETED").pipe((0,ee.p)(rt=>rt.nonce===Ee),(0,$.s)(1),(0,ne.T)(rt=>{if(void 0!==rt.result)return rt.result;throw new Error(rt.error)})).subscribe({next:xe,error:$e})})}get isEnabled(){return!!this.serviceWorker}}let le=(()=>{class ue{sw;messages;notificationClicks;notificationCloses;pushSubscriptionChanges;subscription;get isEnabled(){return this.sw.isEnabled}pushManager=null;subscriptionChanges=new Y.B;constructor(xe){if(this.sw=xe,!xe.isEnabled)return this.messages=V,this.notificationClicks=V,this.notificationCloses=V,this.pushSubscriptionChanges=V,void(this.subscription=V);this.messages=this.sw.eventsOfType("PUSH").pipe((0,ne.T)(rt=>rt.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe((0,ne.T)(rt=>rt.data)),this.notificationCloses=this.sw.eventsOfType("NOTIFICATION_CLOSE").pipe((0,ne.T)(rt=>rt.data)),this.pushSubscriptionChanges=this.sw.eventsOfType("PUSH_SUBSCRIPTION_CHANGE").pipe((0,ne.T)(rt=>rt.data)),this.pushManager=this.sw.registration.pipe((0,ne.T)(rt=>rt.pushManager));const $e=this.pushManager.pipe((0,L.n)(rt=>rt.getSubscription()));this.subscription=new g.c(rt=>{const At=$e.subscribe(rt),lt=this.subscriptionChanges.subscribe(rt);return()=>{At.unsubscribe(),lt.unsubscribe()}})}requestSubscription(xe){if(!this.sw.isEnabled||null===this.pushManager)return Promise.reject(new Error(he));const $e={userVisibleOnly:!0};let rt=this.decodeBase64(xe.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),At=new Uint8Array(new ArrayBuffer(rt.length));for(let lt=0;lt{this.pushManager.pipe((0,L.n)(at=>at.subscribe($e)),(0,$.s)(1)).subscribe({next:at=>{this.subscriptionChanges.next(at),lt(at)},error:ft})})}unsubscribe(){if(!this.sw.isEnabled)return Promise.reject(new Error(he));const xe=$e=>{if(null===$e)throw new c.buA(5602,!1);return $e.unsubscribe().then(rt=>{if(!rt)throw new c.buA(5603,!1);this.subscriptionChanges.next(null)})};return new Promise(($e,rt)=>{this.subscription.pipe((0,$.s)(1),(0,L.n)(xe)).subscribe({next:$e,error:rt})})}decodeBase64(xe){return atob(xe)}static \u0275fac=function($e){return new($e||ue)(c.KVO(Z))};static \u0275prov=c.jDH({token:ue,factory:ue.\u0275fac})}return ue})(),ie=(()=>{class ue{sw;versionUpdates;unrecoverable;get isEnabled(){return this.sw.isEnabled}ongoingCheckForUpdate=null;constructor(xe){if(this.sw=xe,!xe.isEnabled)return this.versionUpdates=V,void(this.unrecoverable=V);this.versionUpdates=this.sw.eventsOfType(["VERSION_DETECTED","VERSION_INSTALLATION_FAILED","VERSION_READY","NO_NEW_VERSION_DETECTED","VERSION_FAILED"]),this.unrecoverable=this.sw.eventsOfType("UNRECOVERABLE_STATE")}checkForUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(he));if(this.ongoingCheckForUpdate)return this.ongoingCheckForUpdate;const xe=this.sw.generateNonce();return this.ongoingCheckForUpdate=this.sw.postMessageWithOperation("CHECK_FOR_UPDATES",{nonce:xe},xe).finally(()=>{this.ongoingCheckForUpdate=null}),this.ongoingCheckForUpdate}activateUpdate(){if(!this.sw.isEnabled)return Promise.reject(new c.buA(5601,!1));const xe=this.sw.generateNonce();return this.sw.postMessageWithOperation("ACTIVATE_UPDATE",{nonce:xe},xe)}static \u0275fac=function($e){return new($e||ue)(c.KVO(Z))};static \u0275prov=c.jDH({token:ue,factory:ue.\u0275fac})}return ue})();const Oe=new c.nKC("");function Le(){const ue=(0,c.WQX)(Ze);if(!("serviceWorker"in navigator)||!1===ue.enabled)return;const Ee=(0,c.WQX)(Oe),xe=(0,c.WQX)(r.SKi),$e=(0,c.WQX)(r.o8S);xe.runOutsideAngular(()=>{const rt=navigator.serviceWorker,At=()=>rt.controller?.postMessage({action:"INITIALIZE"});rt.addEventListener("controllerchange",At),$e.onDestroy(()=>{rt.removeEventListener("controllerchange",At)})}),xe.runOutsideAngular(()=>{let rt;const{registrationStrategy:At}=ue;if("function"==typeof At)rt=new Promise(lt=>At().subscribe(()=>lt()));else{const[lt,...ft]=(At||"registerWhenStable:30000").split(":");switch(lt){case"registerImmediately":rt=Promise.resolve();break;case"registerWithDelay":rt=ye(+ft[0]||0);break;case"registerWhenStable":rt=Promise.race([$e.whenStable(),ye(+ft[0])]);break;default:throw new c.buA(5600,!1)}}rt.then(()=>{$e.destroyed||navigator.serviceWorker.register(Ee,{scope:ue.scope,updateViaCache:ue.updateViaCache,type:ue.type}).catch(lt=>console.error((0,c.OsK)(5604,!1)))})})}function ye(ue){return new Promise(Ee=>setTimeout(Ee,ue))}function ve(ue,Ee){return new Z(!1!==ue.enabled?navigator.serviceWorker:void 0,Ee)}class Ze{enabled;updateViaCache;type;scope;registrationStrategy}function re(ue,Ee={}){return(0,c.EmA)([le,ie,{provide:Oe,useValue:ue},{provide:Ze,useValue:Ee},{provide:Z,useFactory:ve,deps:[Ze,c.zZn]},(0,r.phd)(Le)])}let Ae=(()=>{class ue{static register(xe,$e={}){return{ngModule:ue,providers:[re(xe,$e)]}}static \u0275fac=function($e){return new($e||ue)};static \u0275mod=r.$C({type:ue});static \u0275inj=c.G2t({providers:[le,ie]})}return ue})()},9835:(ut,be,d)=>{"use strict";d.d(be,{H:()=>ue});var c=d(2645),r=d(4304),g=d(819);function Y(Ee,xe=0){return(0,g.N)(($e,rt)=>{rt.add(Ee.schedule(()=>$e.subscribe(rt),xe))})}var q=d(3942),$=d(2476),ee=d(1530),ne=d(310);function Z(Ee,xe){if(!Ee)throw new Error("Iterable cannot be null");return new q.c($e=>{(0,ne.N)($e,xe,()=>{const rt=Ee[Symbol.asyncIterator]();(0,ne.N)($e,xe,()=>{rt.next().then(At=>{At.done?$e.complete():$e.next(At.value)})},0,!0)})})}var le=d(1516),ie=d(1117),Oe=d(8830),Le=d(528),ye=d(4558),ve=d(1374),Ze=d(3233);function ue(Ee,xe){return xe?function Ae(Ee,xe){if(null!=Ee){if((0,le.l)(Ee))return function W(Ee,xe){return(0,c.Tg)(Ee).pipe(Y(xe),(0,r.Q)(xe))}(Ee,xe);if((0,Oe.X)(Ee))return function L(Ee,xe){return new q.c($e=>{let rt=0;return xe.schedule(function(){rt===Ee.length?$e.complete():($e.next(Ee[rt++]),$e.closed||this.schedule())})})}(Ee,xe);if((0,ie.y)(Ee))return function V(Ee,xe){return(0,c.Tg)(Ee).pipe(Y(xe),(0,r.Q)(xe))}(Ee,xe);if((0,ye.T)(Ee))return Z(Ee,xe);if((0,Le.x)(Ee))return function he(Ee,xe){return new q.c($e=>{let rt;return(0,ne.N)($e,xe,()=>{rt=Ee[$.l](),(0,ne.N)($e,xe,()=>{let At,lt;try{({value:At,done:lt}=rt.next())}catch(ft){return void $e.error(ft)}lt?$e.complete():$e.next(At)},0,!0)}),()=>(0,ee.T)(rt?.return)&&rt.return()})}(Ee,xe);if((0,Ze.U)(Ee))return function re(Ee,xe){return Z((0,Ze.C)(Ee),xe)}(Ee,xe)}throw(0,ve.L)(Ee)}(Ee,xe):(0,c.Tg)(Ee)}},9931:(ut,be,d)=>{"use strict";d.d(be,{Ms:()=>Oe,vU:()=>he});var c=d(1530),r=d(7092),g=d(2213),Y=d(1411),W=d(4318);const V=$("C",void 0,void 0);function $(re,Ae,ue){return{kind:re,value:Ae,error:ue}}var ee=d(9603),ne=d(23);class he extends r.yU{constructor(Ae){super(),this.isStopped=!1,Ae?(this.destination=Ae,(0,r.Uv)(Ae)&&Ae.add(this)):this.destination=Ze}static create(Ae,ue,Ee){return new Oe(Ae,ue,Ee)}next(Ae){this.isStopped?ve(function L(re){return $("N",re,void 0)}(Ae),this):this._next(Ae)}error(Ae){this.isStopped?ve(function q(re){return $("E",void 0,re)}(Ae),this):(this.isStopped=!0,this._error(Ae))}complete(){this.isStopped?ve(V,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(Ae){this.destination.next(Ae)}_error(Ae){try{this.destination.error(Ae)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const Z=Function.prototype.bind;function le(re,Ae){return Z.call(re,Ae)}class ie{constructor(Ae){this.partialObserver=Ae}next(Ae){const{partialObserver:ue}=this;if(ue.next)try{ue.next(Ae)}catch(Ee){Le(Ee)}}error(Ae){const{partialObserver:ue}=this;if(ue.error)try{ue.error(Ae)}catch(Ee){Le(Ee)}else Le(Ae)}complete(){const{partialObserver:Ae}=this;if(Ae.complete)try{Ae.complete()}catch(ue){Le(ue)}}}class Oe extends he{constructor(Ae,ue,Ee){let xe;if(super(),(0,c.T)(Ae)||!Ae)xe={next:Ae??void 0,error:ue??void 0,complete:Ee??void 0};else{let $e;this&&g.$.useDeprecatedNextContext?($e=Object.create(Ae),$e.unsubscribe=()=>this.unsubscribe(),xe={next:Ae.next&&le(Ae.next,$e),error:Ae.error&&le(Ae.error,$e),complete:Ae.complete&&le(Ae.complete,$e)}):xe=Ae}this.destination=new ie(xe)}}function Le(re){g.$.useDeprecatedSynchronousErrorHandling?(0,ne.l)(re):(0,Y.m)(re)}function ve(re,Ae){const{onStoppedNotification:ue}=g.$;ue&&ee.f.setTimeout(()=>ue(re,Ae))}const Ze={closed:!0,next:W.l,error:function ye(re){throw re},complete:W.l}},9935:(ut,be,d)=>{"use strict";d.d(be,{Q_:()=>Be,sp:()=>ve});var c=d(5240),r=d(2481),g=d(7579),Y=d(5739);class ve{_element;_checker;_ngZone;_document;_injector;_startAnchor;_endAnchor;_hasAttached=!1;startAnchorListener=()=>this.focusLastTabbableElement();endAnchorListener=()=>this.focusFirstTabbableElement();get enabled(){return this._enabled}set enabled(z){this._enabled=z,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(z,this._startAnchor),this._toggleAnchorTabIndex(z,this._endAnchor))}_enabled=!0;constructor(z,E,H,b,k=!1,_e){this._element=z,this._checker=E,this._ngZone=H,this._document=b,this._injector=_e,k||this.attachAnchors()}destroy(){const z=this._startAnchor,E=this._endAnchor;z&&(z.removeEventListener("focus",this.startAnchorListener),z.remove()),E&&(E.removeEventListener("focus",this.endAnchorListener),E.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(z){return new Promise(E=>{this._executeOnStable(()=>E(this.focusInitialElement(z)))})}focusFirstTabbableElementWhenReady(z){return new Promise(E=>{this._executeOnStable(()=>E(this.focusFirstTabbableElement(z)))})}focusLastTabbableElementWhenReady(z){return new Promise(E=>{this._executeOnStable(()=>E(this.focusLastTabbableElement(z)))})}_getRegionBoundary(z){const E=this._element.querySelectorAll(`[cdk-focus-region-${z}], [cdkFocusRegion${z}], [cdk-focus-${z}]`);return"start"==z?E.length?E[0]:this._getFirstTabbableElement(this._element):E.length?E[E.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(z){const E=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(E){if(!this._checker.isFocusable(E)){const H=this._getFirstTabbableElement(E);return H?.focus(z),!!H}return E.focus(z),!0}return this.focusFirstTabbableElement(z)}focusFirstTabbableElement(z){const E=this._getRegionBoundary("start");return E&&E.focus(z),!!E}focusLastTabbableElement(z){const E=this._getRegionBoundary("end");return E&&E.focus(z),!!E}hasAttached(){return this._hasAttached}_getFirstTabbableElement(z){if(this._checker.isFocusable(z)&&this._checker.isTabbable(z))return z;const E=z.children;for(let H=0;H=0;H--){const b=E[H].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(E[H]):null;if(b)return b}return null}_createAnchor(){const z=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,z),z.classList.add("cdk-visually-hidden"),z.classList.add("cdk-focus-trap-anchor"),z.setAttribute("aria-hidden","true"),z}_toggleAnchorTabIndex(z,E){z?E.setAttribute("tabindex","0"):E.removeAttribute("tabindex")}toggleAnchors(z){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(z,this._startAnchor),this._toggleAnchorTabIndex(z,this._endAnchor))}_executeOnStable(z){this._injector?(0,r.mal)(z,{injector:this._injector}):setTimeout(z)}}var At=function(pe){return pe[pe.NONE=0]="NONE",pe[pe.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",pe[pe.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",pe}(At||{});const lt="cdk-high-contrast-black-on-white",ft="cdk-high-contrast-white-on-black",at="cdk-high-contrast-active";let Be=(()=>{class pe{_platform=(0,c.WQX)(g.O);_hasCheckedHighContrastMode;_document=(0,c.WQX)(c.qQL);_breakpointSubscription;constructor(){this._breakpointSubscription=(0,c.WQX)(Y.Q).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return At.NONE;const E=this._document.createElement("div");E.style.backgroundColor="rgb(1,2,3)",E.style.position="absolute",this._document.body.appendChild(E);const H=this._document.defaultView||window,b=H&&H.getComputedStyle?H.getComputedStyle(E):null,k=(b&&b.backgroundColor||"").replace(/ /g,"");switch(E.remove(),k){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return At.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return At.BLACK_ON_WHITE}return At.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const E=this._document.body.classList;E.remove(at,lt,ft),this._hasCheckedHighContrastMode=!0;const H=this.getHighContrastMode();H===At.BLACK_ON_WHITE?E.add(at,lt):H===At.WHITE_ON_BLACK&&E.add(at,ft)}}static \u0275fac=function(H){return new(H||pe)};static \u0275prov=c.jDH({token:pe,factory:pe.\u0275fac,providedIn:"root"})}return pe})()},9965:function(ut,be,d){var c;ut.exports=(c=d(6609),d(2021),d(2541),c.HmacSHA256)},9999:(ut,be,d)=>{"use strict";d.d(be,{z:()=>ee});var c=d(3942),r=d(7808),g=d(9835),Y=d(1440),W=d(8067),V=d(4083),q=d(6813),L=d(1687),$=d(310);function ee(...Z){const le=(0,V.lI)(Z),ie=(0,V.ms)(Z),{args:Oe,keys:Le}=(0,r.D)(Z);if(0===Oe.length)return(0,g.H)([],le);const ye=new c.c(function ne(Z,le,ie=Y.D){return Oe=>{he(le,()=>{const{length:Le}=Z,ye=new Array(Le);let ve=Le,Ze=Le;for(let re=0;re{const Ae=(0,g.H)(Z[re],le);let ue=!1;Ae.subscribe((0,L._)(Oe,Ee=>{ye[re]=Ee,ue||(ue=!0,Ze--),Ze||Oe.next(ie(ye.slice()))},()=>{--ve||Oe.complete()}))},Oe)},Oe)}}(Oe,le,Le?ve=>(0,q.e)(Le,ve):Y.D));return ie?ye.pipe((0,W.I)(ie)):ye}function he(Z,le,ie){Z?(0,$.N)(ie,Z,le):le()}}}]);