marketplacepos 2.7.9 → 2.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Marketplace/{369.0575419486a72276.js → 369.33e88f5dbfad2a11.js} +1 -1
- package/Marketplace/index.html +2 -2
- package/Marketplace/{main.add73bc6e206d464.js → main.eecfefa4252b5eed.js} +1 -1
- package/Marketplace/{runtime.4aba70544574ad58.js → runtime.de26ccbce9eb9189.js} +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkpos_marketplace=self.webpackChunkpos_marketplace||[]).push([[179],{7899:(it,Ce,D)=>{D.d(Ce,{zQ:()=>xi,ww:()=>ei});var s=D(4650),f=D(7579),U=D(9646),K=D(9751),X=D(8996),J=D(6451),oe=D(5363),ee=D(3900),Q=D(4004),j=D(4782),Y=D(590),W=D(576);function xe(_e,be){return(0,W.m)(be)?(0,ee.w)(()=>_e,be):(0,ee.w)(()=>_e)}var Te=D(9468),$e=D(9300),Ye=D(5813),Se=D(2011),Fe=D(6895);D(5867);var At=D(5861),It=D(9681),Le=D(4859),et=D(2090),fe=D(1877);const Ne=new Map,rt={activated:!1,tokenObservers:[]},Ft={initialized:!1,enabled:!1};function $t(_e){return Ne.get(_e)||rt}function ln(_e,be){Ne.set(_e,be)}function Kt(){return Ft}class Gt{constructor(be,ke,Xe,at,ht){if(this.operation=be,this.retryPolicy=ke,this.getWaitDuration=Xe,this.lowerBound=at,this.upperBound=ht,this.pending=null,this.nextErrorWaitInterval=at,at>ht)throw new Error("Proactive refresh lower bound greater than upper bound!")}start(){this.nextErrorWaitInterval=this.lowerBound,this.process(!0).catch(()=>{})}stop(){this.pending&&(this.pending.reject("cancelled"),this.pending=null)}isRunning(){return!!this.pending}process(be){var ke=this;return(0,At.Z)(function*(){ke.stop();try{ke.pending=new et.BH,yield function yt(_e){return new Promise(be=>{setTimeout(be,_e)})}(ke.getNextRun(be)),ke.pending.resolve(),yield ke.pending.promise,ke.pending=new et.BH,yield ke.operation(),ke.pending.resolve(),yield ke.pending.promise,ke.process(!0).catch(()=>{})}catch(Xe){ke.retryPolicy(Xe)?ke.process(!1).catch(()=>{}):ke.stop()}})()}getNextRun(be){if(be)return this.nextErrorWaitInterval=this.lowerBound,this.getWaitDuration();{const ke=this.nextErrorWaitInterval;return this.nextErrorWaitInterval*=2,this.nextErrorWaitInterval>this.upperBound&&(this.nextErrorWaitInterval=this.upperBound),ke}}}const tn=new et.LL("appCheck","AppCheck",{"already-initialized":"You have already called initializeAppCheck() for FirebaseApp {$appName} with different options. To avoid this error, call initializeAppCheck() with the same options as when it was originally called. This will return the already initialized instance.","use-before-activation":"App Check is being used before initializeAppCheck() is called for FirebaseApp {$appName}. Call initializeAppCheck() before instantiating other Firebase services.","fetch-network-error":"Fetch failed to connect to a network. Check Internet connection. Original error: {$originalErrorMessage}.","fetch-parse-error":"Fetch client could not parse response. Original error: {$originalErrorMessage}.","fetch-status-error":"Fetch server returned an HTTP error status. HTTP status: {$httpStatus}.","storage-open":"Error thrown when opening storage. Original error: {$originalErrorMessage}.","storage-get":"Error thrown when reading from storage. Original error: {$originalErrorMessage}.","storage-set":"Error thrown when writing to storage. Original error: {$originalErrorMessage}.","recaptcha-error":"ReCAPTCHA error.",throttled:"Requests throttled due to {$httpStatus} error. Attempts allowed again after {$time}"});function gn(_e){if(!$t(_e).activated)throw tn.create("use-before-activation",{appName:_e.name})}function Ot(_e,be){return Tt.apply(this,arguments)}function Tt(){return(Tt=(0,At.Z)(function*({url:_e,body:be},ke){var Xe,at;const ht={"Content-Type":"application/json"},zt=ke.getImmediate({optional:!0});if(zt){const li=yield zt.getHeartbeatsHeader();li&&(ht["X-Firebase-Client"]=li)}const jn={method:"POST",body:JSON.stringify(be),headers:ht};let rn,rr;try{rn=yield fetch(_e,jn)}catch(li){throw tn.create("fetch-network-error",{originalErrorMessage:null===(Xe=li)||void 0===Xe?void 0:Xe.message})}if(200!==rn.status)throw tn.create("fetch-status-error",{httpStatus:rn.status});try{rr=yield rn.json()}catch(li){throw tn.create("fetch-parse-error",{originalErrorMessage:null===(at=li)||void 0===at?void 0:at.message})}const kr=rr.ttl.match(/^([\d.]+)(s)$/);if(!kr||!kr[2]||isNaN(Number(kr[1])))throw tn.create("fetch-parse-error",{originalErrorMessage:`ttl field (timeToLive) is not in standard Protobuf Duration format: ${rr.ttl}`});const Oi=1e3*Number(kr[1]),ai=Date.now();return{token:rr.token,expireTimeMillis:ai+Oi,issuedAtTimeMillis:ai}})).apply(this,arguments)}function ze(_e,be){const{projectId:ke,appId:Xe,apiKey:at}=_e.options;return{url:`https://content-firebaseappcheck.googleapis.com/v1/projects/${ke}/apps/${Xe}:exchangeDebugToken?key=${at}`,body:{debug_token:be}}}const Ze="firebase-app-check-store";let Mt=null;function Yn(){return Mt||(Mt=new Promise((_e,be)=>{var ke;try{const Xe=indexedDB.open("firebase-app-check-database",1);Xe.onsuccess=at=>{_e(at.target.result)},Xe.onerror=at=>{var ht;be(tn.create("storage-open",{originalErrorMessage:null===(ht=at.target.error)||void 0===ht?void 0:ht.message}))},Xe.onupgradeneeded=at=>{0===at.oldVersion&&at.target.result.createObjectStore(Ze,{keyPath:"compositeKey"})}}catch(Xe){be(tn.create("storage-open",{originalErrorMessage:null===(ke=Xe)||void 0===ke?void 0:ke.message}))}}),Mt)}function F(){return(F=(0,At.Z)(function*(_e,be){const Xe=(yield Yn()).transaction(Ze,"readwrite"),ht=Xe.objectStore(Ze).put({compositeKey:_e,value:be});return new Promise((zt,jn)=>{ht.onsuccess=rn=>{zt()},Xe.onerror=rn=>{var rr;jn(tn.create("storage-set",{originalErrorMessage:null===(rr=rn.target.error)||void 0===rr?void 0:rr.message}))}})})).apply(this,arguments)}const L=new fe.Yd("@firebase/app-check");function He(_e,be){return(0,et.hl)()?function Tn(_e,be){return function ne(_e,be){return F.apply(this,arguments)}(function ve(_e){return`${_e.options.appId}-${_e.name}`}(_e),be)}(_e,be).catch(ke=>{L.warn(`Failed to write token to IndexedDB. Error: ${ke}`)}):Promise.resolve()}function Nt(){return Kt().enabled}function Bt(){return ye.apply(this,arguments)}function ye(){return(ye=(0,At.Z)(function*(){const _e=Kt();if(_e.enabled&&_e.token)return _e.token.promise;throw Error("\n Can't get debug token in production mode.\n ")})).apply(this,arguments)}const C={error:"UNKNOWN_ERROR"};function I(_e){return et.US.encodeString(JSON.stringify(_e),!1)}function $(_e){return ue.apply(this,arguments)}function ue(){return(ue=(0,At.Z)(function*(_e,be=!1){const ke=_e.app;gn(ke);const Xe=$t(ke);let ht,at=Xe.token;if(at&&!Sn(at)&&(ln(ke,Object.assign(Object.assign({},Xe),{token:void 0})),at=void 0),!at){const rn=yield Xe.cachedTokenPromise;rn&&(Sn(rn)?at=rn:yield He(ke,void 0))}if(!be&&at&&Sn(at))return{token:at.token};let jn,zt=!1;if(Nt()){Xe.exchangeTokenPromise||(Xe.exchangeTokenPromise=Ot(ze(ke,yield Bt()),_e.heartbeatServiceProvider).finally(()=>{Xe.exchangeTokenPromise=void 0}),zt=!0);const rn=yield Xe.exchangeTokenPromise;return yield He(ke,rn),ln(ke,Object.assign(Object.assign({},Xe),{token:rn})),{token:rn.token}}try{Xe.exchangeTokenPromise||(Xe.exchangeTokenPromise=Xe.provider.getToken().finally(()=>{Xe.exchangeTokenPromise=void 0}),zt=!0),at=yield Xe.exchangeTokenPromise}catch(rn){"appCheck/throttled"===rn.code?L.warn(rn.message):L.error(rn),ht=rn}return at?ht?jn=Sn(at)?{token:at.token,internalError:ht}:Jr(ht):(jn={token:at.token},ln(ke,Object.assign(Object.assign({},Xe),{token:at})),yield He(ke,at)):jn=Jr(ht),zt&&Dr(ke,jn),jn})).apply(this,arguments)}function vt(_e,be){const ke=$t(_e),Xe=ke.tokenObservers.filter(at=>at.next!==be);0===Xe.length&&ke.tokenRefresher&&ke.tokenRefresher.isRunning()&&ke.tokenRefresher.stop(),ln(_e,Object.assign(Object.assign({},ke),{tokenObservers:Xe}))}function Dn(_e){const{app:be}=_e,ke=$t(be);let Xe=ke.tokenRefresher;Xe||(Xe=function Mn(_e){const{app:be}=_e;return new Gt((0,At.Z)(function*(){let Xe;if(Xe=$t(be).token?yield $(_e,!0):yield $(_e),Xe.error)throw Xe.error;if(Xe.internalError)throw Xe.internalError}),()=>!0,()=>{const ke=$t(be);if(ke.token){let Xe=ke.token.issuedAtTimeMillis+.5*(ke.token.expireTimeMillis-ke.token.issuedAtTimeMillis)+3e5;return Xe=Math.min(Xe,ke.token.expireTimeMillis-3e5),Math.max(0,Xe-Date.now())}return 0},3e4,96e4)}(_e),ln(be,Object.assign(Object.assign({},ke),{tokenRefresher:Xe}))),!Xe.isRunning()&&ke.isTokenAutoRefreshEnabled&&Xe.start()}function Dr(_e,be){const ke=$t(_e).tokenObservers;for(const Xe of ke)try{"EXTERNAL"===Xe.type&&null!=be.error?Xe.error(be.error):Xe.next(be)}catch{}}function Sn(_e){return _e.expireTimeMillis-Date.now()>0}function Jr(_e){return{token:I(C),error:_e}}class si{constructor(be,ke){this.app=be,this.heartbeatServiceProvider=ke}_delete(){const{tokenObservers:be}=$t(this.app);for(const ke of be)vt(this.app,ke.next);return Promise.resolve()}}const fi="app-check-internal";!function wr(){(0,It._registerComponent)(new Le.wA("app-check",_e=>function oo(_e,be){return new si(_e,be)}(_e.getProvider("app").getImmediate(),_e.getProvider("heartbeat")),"PUBLIC").setInstantiationMode("EXPLICIT").setInstanceCreatedCallback((_e,be,ke)=>{_e.getProvider(fi).initialize()})),(0,It._registerComponent)(new Le.wA(fi,_e=>function Hi(_e){return{getToken:be=>$(_e,be),addTokenListener:be=>function Ke(_e,be,ke,Xe){const{app:at}=_e,ht=$t(at),zt={next:ke,error:Xe,type:be};if(ln(at,Object.assign(Object.assign({},ht),{tokenObservers:[...ht.tokenObservers,zt]})),ht.token&&Sn(ht.token)){const jn=ht.token;Promise.resolve().then(()=>{ke({token:jn.token}),Dn(_e)}).catch(()=>{})}ht.cachedTokenPromise.then(()=>Dn(_e))}(_e,"INTERNAL",be),removeTokenListener:be=>vt(_e.app,be)}}(_e.getProvider("app-check").getImmediate()),"PUBLIC").setInstantiationMode("EXPLICIT")),(0,It.registerVersion)("@firebase/app-check","0.5.15")}();class Ln{constructor(){return(0,Ye.vb)("app-check")}}typeof window<"u"&&window;var mo=D(127);const Ai=new s.OlP("angularfire2.auth.use-emulator"),Wi=new s.OlP("angularfire2.auth.settings"),Ki=new s.OlP("angularfire2.auth.tenant-id"),_o=new s.OlP("angularfire2.auth.langugage-code"),yo=new s.OlP("angularfire2.auth.use-device-language"),Io=new s.OlP("angularfire.auth.persistence");let xi=(()=>{class _e{constructor(ke,Xe,at,ht,zt,jn,rn,rr,kr,Oi,ai,li){const so=new f.x,yi=(0,U.of)(void 0).pipe((0,oe.Q)(zt.outsideAngular),(0,ee.w)(()=>ht.runOutsideAngular(()=>D.e(545).then(D.bind(D,9545)))),(0,Q.U)(()=>(0,Se.on)(ke,ht,Xe)),(0,Q.U)(Hr=>((_e,be,ke,Xe,at,ht,zt,jn)=>(0,Se.cc)(`${_e.name}.auth`,"AngularFireAuth",_e.name,()=>{const rn=be.runOutsideAngular(()=>_e.auth());if(ke&&rn.useEmulator(...ke),Xe&&(rn.tenantId=Xe),rn.languageCode=at,ht&&rn.useDeviceLanguage(),zt)for(const[rr,kr]of Object.entries(zt))rn.settings[rr]=kr;return jn&&rn.setPersistence(jn),rn},[ke,Xe,at,ht,zt,jn]))(Hr,ht,jn,rr,kr,Oi,rn,ai)),(0,j.d)({bufferSize:1,refCount:!1}));if((0,Fe.PM)(at))this.authState=this.user=this.idToken=this.idTokenResult=this.credential=(0,U.of)(null);else{yi.pipe((0,Y.P)()).subscribe();const Yi=yi.pipe((0,ee.w)(En=>En.getRedirectResult().then(Bn=>Bn,()=>null)),Ye.iC,(0,j.d)({bufferSize:1,refCount:!1})),Tr=yi.pipe((0,ee.w)(En=>new K.y(Bn=>({unsubscribe:ht.runOutsideAngular(()=>En.onAuthStateChanged(ni=>Bn.next(ni),ni=>Bn.error(ni),()=>Bn.complete()))})))),ti=yi.pipe((0,ee.w)(En=>new K.y(Bn=>({unsubscribe:ht.runOutsideAngular(()=>En.onIdTokenChanged(ni=>Bn.next(ni),ni=>Bn.error(ni),()=>Bn.complete()))}))));this.authState=Yi.pipe(xe(Tr),(0,Te.R)(zt.outsideAngular),(0,oe.Q)(zt.insideAngular)),this.user=Yi.pipe(xe(ti),(0,Te.R)(zt.outsideAngular),(0,oe.Q)(zt.insideAngular)),this.idToken=this.user.pipe((0,ee.w)(En=>En?(0,X.D)(En.getIdToken()):(0,U.of)(null))),this.idTokenResult=this.user.pipe((0,ee.w)(En=>En?(0,X.D)(En.getIdTokenResult()):(0,U.of)(null))),this.credential=(0,J.T)(Yi,so,this.authState.pipe((0,$e.h)(En=>!En))).pipe((0,Q.U)(En=>En?.user?En:null),(0,Te.R)(zt.outsideAngular),(0,oe.Q)(zt.insideAngular))}return(0,Se.pX)(this,yi,ht,{spy:{apply:(Hr,Yi,Tr)=>{(Hr.startsWith("signIn")||Hr.startsWith("createUser"))&&Tr.then(ti=>so.next(ti))}}})}}return _e.\u0275fac=function(ke){return new(ke||_e)(s.LFG(Se.Dh),s.LFG(Se.xv,8),s.LFG(s.Lbi),s.LFG(s.R0b),s.LFG(Ye.HU),s.LFG(Ai,8),s.LFG(Wi,8),s.LFG(Ki,8),s.LFG(_o,8),s.LFG(yo,8),s.LFG(Io,8),s.LFG(Ln,8))},_e.\u0275prov=s.Yz7({token:_e,factory:_e.\u0275fac,providedIn:"any"}),_e})(),ei=(()=>{class _e{constructor(){mo.Z.registerVersion("angularfire",Ye.q4.full,"auth-compat")}}return _e.\u0275fac=function(ke){return new(ke||_e)},_e.\u0275mod=s.oAB({type:_e}),_e.\u0275inj=s.cJS({providers:[xi]}),_e})()},2011:(it,Ce,D)=>{D.d(Ce,{Dh:()=>ee,GT:()=>J,cc:()=>Te,hO:()=>xe,on:()=>j,pX:()=>X,xv:()=>Q});var s=D(4650),f=D(127),U=D(5813);it=D.hmd(it);const K=["ngOnDestroy"],X=(Fe,Pe,De,Me={})=>new Proxy(Fe,{get:(H,ae)=>De.runOutsideAngular(()=>{var le;if(Fe[ae])return!(null===(le=Me?.spy)||void 0===le)&&le.get&&Me.spy.get(ae,Fe[ae]),Fe[ae];if(K.indexOf(ae)>-1)return()=>{};const pe=Pe.toPromise().then(se=>{const ge=se&&se[ae];return"function"==typeof ge?ge.bind(se):ge&&ge.then?ge.then(Z=>De.run(()=>Z)):De.run(()=>ge)});return new Proxy(()=>{},{get:(se,ge)=>pe[ge],apply:(se,ge,Z)=>pe.then(re=>{var Ie;const me=re&&re(...Z);return!(null===(Ie=Me?.spy)||void 0===Ie)&&Ie.apply&&Me.spy.apply(ae,Z,me),me})})})}),J=(Fe,Pe)=>{Pe.forEach(De=>{Object.getOwnPropertyNames(De.prototype||De).forEach(Me=>{Object.defineProperty(Fe.prototype,Me,Object.getOwnPropertyDescriptor(De.prototype||De,Me))})})};class oe{constructor(Pe){return Pe}}const ee=new s.OlP("angularfire2.app.options"),Q=new s.OlP("angularfire2.app.name");function j(Fe,Pe,De){const H="object"==typeof De&&De||{};H.name=H.name||"string"==typeof De&&De||"[DEFAULT]";const le=f.Z.apps.filter(pe=>pe&&pe.name===H.name)[0]||Pe.runOutsideAngular(()=>f.Z.initializeApp(Fe,H));try{JSON.stringify(Fe)!==JSON.stringify(le.options)&&Y("error",`${le.name} Firebase App already initialized with different options${it.hot?", you may need to reload as Firebase is not HMR aware.":"."}`)}catch{}return new oe(le)}const Y=(Fe,...Pe)=>{(0,s.X6Q)()&&typeof console<"u"&&console[Fe](...Pe)},W={provide:oe,useFactory:j,deps:[ee,s.R0b,[new s.FiY,Q]]};let xe=(()=>{class Fe{constructor(De){f.Z.registerVersion("angularfire",U.q4.full,"core"),f.Z.registerVersion("angularfire",U.q4.full,"app-compat"),f.Z.registerVersion("angular",s.q4F.full,De.toString())}static initializeApp(De,Me){return{ngModule:Fe,providers:[{provide:ee,useValue:De},{provide:Q,useValue:Me}]}}}return Fe.\u0275fac=function(De){return new(De||Fe)(s.LFG(s.Lbi))},Fe.\u0275mod=s.oAB({type:Fe}),Fe.\u0275inj=s.cJS({providers:[W]}),Fe})();function Te(Fe,Pe,De,Me,H){const[,ae,le]=globalThis.\u0275AngularfireInstanceCache.find(pe=>pe[0]===Fe)||[];if(ae)return function $e(Fe,Pe){try{return Fe.toString()===Pe.toString()}catch{return Fe===Pe}}(H,le)||(Se("error",`${Pe} was already initialized on the ${De} Firebase App with different settings.${Ye?" You may need to reload as Firebase is not HMR aware.":""}`),Se("warn",{is:H,was:le})),ae;{const pe=Me();return globalThis.\u0275AngularfireInstanceCache.push([Fe,pe,H]),pe}}const Ye=!!it.hot,Se=(Fe,...Pe)=>{(0,s.X6Q)()&&typeof console<"u"&&console[Fe](...Pe)};globalThis.\u0275AngularfireInstanceCache||(globalThis.\u0275AngularfireInstanceCache=[])},5813:(it,Ce,D)=>{D.d(Ce,{q4:()=>No,iC:()=>ia,HU:()=>To,vb:()=>St,JM:()=>_t});var s=D(4650),f=D(5867),U=D(5861),K=D(9681),X=D(2090),J=D(4859),oe=D(1877),ee=D(8766);const Q="@firebase/installations",j="0.5.15",W=`w:${j}`,xe="FIS_v2",Pe=new X.LL("installations","Installations",{"missing-app-config-values":'Missing App configuration value: "{$valueName}"',"not-registered":"Firebase Installation is not registered.","installation-not-found":"Firebase Installation not found.","request-failed":'{$requestName} request failed with error "{$serverCode} {$serverStatus}: {$serverMessage}"',"app-offline":"Could not process request. Application offline.","delete-pending-registration":"Can't delete installation while there is a pending registration request."});function De(b){return b instanceof X.ZR&&b.code.includes("request-failed")}function Me({projectId:b}){return`https://firebaseinstallations.googleapis.com/v1/projects/${b}/installations`}function H(b){return{token:b.token,requestStatus:2,expiresIn:re(b.expiresIn),creationTime:Date.now()}}function ae(b,T){return le.apply(this,arguments)}function le(){return(le=(0,U.Z)(function*(b,T){const ie=(yield T.json()).error;return Pe.create("request-failed",{requestName:b,serverCode:ie.code,serverMessage:ie.message,serverStatus:ie.status})})).apply(this,arguments)}function pe({apiKey:b}){return new Headers({"Content-Type":"application/json",Accept:"application/json","x-goog-api-key":b})}function se(b,{refreshToken:T}){const k=pe(b);return k.append("Authorization",function Ie(b){return`${xe} ${b}`}(T)),k}function ge(b){return Z.apply(this,arguments)}function Z(){return(Z=(0,U.Z)(function*(b){const T=yield b();return T.status>=500&&T.status<600?b():T})).apply(this,arguments)}function re(b){return Number(b.replace("s","000"))}function me(b,T){return We.apply(this,arguments)}function We(){return(We=(0,U.Z)(function*({appConfig:b,heartbeatServiceProvider:T},{fid:k}){const ie=Me(b),Ae=pe(b),Ve=T.getImmediate({optional:!0});if(Ve){const cn=yield Ve.getHeartbeatsHeader();cn&&Ae.append("x-firebase-client",cn)}const Et={method:"POST",headers:Ae,body:JSON.stringify({fid:k,authVersion:xe,appId:b.appId,sdkVersion:W})},Jt=yield ge(()=>fetch(ie,Et));if(Jt.ok){const cn=yield Jt.json();return{fid:cn.fid||k,registrationStatus:2,refreshToken:cn.refreshToken,authToken:H(cn.authToken)}}throw yield ae("Create Installation",Jt)})).apply(this,arguments)}function qe(b){return new Promise(T=>{setTimeout(T,b)})}const Ht=/^[cdef][\w-]{21}$/;function At(){try{const b=new Uint8Array(17);(self.crypto||self.msCrypto).getRandomValues(b),b[0]=112+b[0]%16;const k=function It(b){return function pt(b){return btoa(String.fromCharCode(...b)).replace(/\+/g,"-").replace(/\//g,"_")}(b).substr(0,22)}(b);return Ht.test(k)?k:""}catch{return""}}function Le(b){return`${b.appName}!${b.appId}`}const et=new Map;function fe(b,T){const k=Le(b);Ft(k,T),function $t(b,T){const k=function Kt(){return!ln&&"BroadcastChannel"in self&&(ln=new BroadcastChannel("[Firebase] FID Change"),ln.onmessage=b=>{Ft(b.data.key,b.data.fid)}),ln}();k&&k.postMessage({key:b,fid:T}),function Wn(){0===et.size&&ln&&(ln.close(),ln=null)}()}(k,T)}function Ft(b,T){const k=et.get(b);if(k)for(const ie of k)ie(T)}let ln=null;const In="firebase-installations-store";let Xt=null;function wn(){return Xt||(Xt=(0,ee.X3)("firebase-installations-database",1,{upgrade:(b,T)=>{0===T&&b.createObjectStore(In)}})),Xt}function Gt(b,T){return yt.apply(this,arguments)}function yt(){return(yt=(0,U.Z)(function*(b,T){const k=Le(b),Ae=(yield wn()).transaction(In,"readwrite"),Ve=Ae.objectStore(In),st=yield Ve.get(k);return yield Ve.put(T,k),yield Ae.done,(!st||st.fid!==T.fid)&&fe(b,T.fid),T})).apply(this,arguments)}function wt(b){return tn.apply(this,arguments)}function tn(){return(tn=(0,U.Z)(function*(b){const T=Le(b),ie=(yield wn()).transaction(In,"readwrite");yield ie.objectStore(In).delete(T),yield ie.done})).apply(this,arguments)}function $n(b,T){return gn.apply(this,arguments)}function gn(){return(gn=(0,U.Z)(function*(b,T){const k=Le(b),Ae=(yield wn()).transaction(In,"readwrite"),Ve=Ae.objectStore(In),st=yield Ve.get(k),Et=T(st);return void 0===Et?yield Ve.delete(k):yield Ve.put(Et,k),yield Ae.done,Et&&(!st||st.fid!==Et.fid)&&fe(b,Et.fid),Et})).apply(this,arguments)}function bn(b){return Hn.apply(this,arguments)}function Hn(){return(Hn=(0,U.Z)(function*(b){let T;const k=yield $n(b.appConfig,ie=>{const Ae=Ot(ie),Ve=Tt(b,Ae);return T=Ve.registrationPromise,Ve.installationEntry});return""===k.fid?{installationEntry:yield T}:{installationEntry:k,registrationPromise:T}})).apply(this,arguments)}function Ot(b){return Ze(b||{fid:At(),registrationStatus:0})}function Tt(b,T){if(0===T.registrationStatus){if(!navigator.onLine)return{installationEntry:T,registrationPromise:Promise.reject(Pe.create("app-offline"))};const k={fid:T.fid,registrationStatus:1,registrationTime:Date.now()},ie=function ut(b,T){return xt.apply(this,arguments)}(b,k);return{installationEntry:k,registrationPromise:ie}}return 1===T.registrationStatus?{installationEntry:T,registrationPromise:ze(b)}:{installationEntry:T}}function xt(){return(xt=(0,U.Z)(function*(b,T){try{const k=yield me(b,T);return Gt(b.appConfig,k)}catch(k){throw De(k)&&409===k.customData.serverCode?yield wt(b.appConfig):yield Gt(b.appConfig,{fid:T.fid,registrationStatus:0}),k}})).apply(this,arguments)}function ze(b){return ft.apply(this,arguments)}function ft(){return(ft=(0,U.Z)(function*(b){let T=yield Re(b.appConfig);for(;1===T.registrationStatus;)yield qe(100),T=yield Re(b.appConfig);if(0===T.registrationStatus){const{installationEntry:k,registrationPromise:ie}=yield bn(b);return ie||k}return T})).apply(this,arguments)}function Re(b){return $n(b,T=>{if(!T)throw Pe.create("installation-not-found");return Ze(T)})}function Ze(b){return function kt(b){return 1===b.registrationStatus&&b.registrationTime+1e4<Date.now()}(b)?{fid:b.fid,registrationStatus:0}:b}function Mt(b,T){return Yn.apply(this,arguments)}function Yn(){return(Yn=(0,U.Z)(function*({appConfig:b,heartbeatServiceProvider:T},k){const ie=Pt(b,k),Ae=se(b,k),Ve=T.getImmediate({optional:!0});if(Ve){const cn=yield Ve.getHeartbeatsHeader();cn&&Ae.append("x-firebase-client",cn)}const Et={method:"POST",headers:Ae,body:JSON.stringify({installation:{sdkVersion:W,appId:b.appId}})},Jt=yield ge(()=>fetch(ie,Et));if(Jt.ok)return H(yield Jt.json());throw yield ae("Generate Auth Token",Jt)})).apply(this,arguments)}function Pt(b,{fid:T}){return`${Me(b)}/${T}/authTokens:generate`}function Tn(b){return Zn.apply(this,arguments)}function Zn(){return(Zn=(0,U.Z)(function*(b,T=!1){let k;const ie=yield $n(b.appConfig,Ve=>{if(!ve(Ve))throw Pe.create("not-registered");const st=Ve.authToken;if(!T&&L(st))return Ve;if(1===st.requestStatus)return k=lt(b,T),Ve;{if(!navigator.onLine)throw Pe.create("app-offline");const Et=de(Ve);return k=M(b,Et),Et}});return k?yield k:ie.authToken})).apply(this,arguments)}function lt(b,T){return ne.apply(this,arguments)}function ne(){return(ne=(0,U.Z)(function*(b,T){let k=yield F(b.appConfig);for(;1===k.authToken.requestStatus;)yield qe(100),k=yield F(b.appConfig);const ie=k.authToken;return 0===ie.requestStatus?Tn(b,T):ie})).apply(this,arguments)}function F(b){return $n(b,T=>{if(!ve(T))throw Pe.create("not-registered");return function He(b){return 1===b.requestStatus&&b.requestTime+1e4<Date.now()}(T.authToken)?Object.assign(Object.assign({},T),{authToken:{requestStatus:0}}):T})}function M(b,T){return R.apply(this,arguments)}function R(){return(R=(0,U.Z)(function*(b,T){try{const k=yield Mt(b,T),ie=Object.assign(Object.assign({},T),{authToken:k});return yield Gt(b.appConfig,ie),k}catch(k){if(!De(k)||401!==k.customData.serverCode&&404!==k.customData.serverCode){const ie=Object.assign(Object.assign({},T),{authToken:{requestStatus:0}});yield Gt(b.appConfig,ie)}else yield wt(b.appConfig);throw k}})).apply(this,arguments)}function ve(b){return void 0!==b&&2===b.registrationStatus}function L(b){return 2===b.requestStatus&&!function G(b){const T=Date.now();return T<b.creationTime||b.creationTime+b.expiresIn<T+36e5}(b)}function de(b){const T={requestStatus:1,requestTime:Date.now()};return Object.assign(Object.assign({},b),{authToken:T})}function ot(){return(ot=(0,U.Z)(function*(b){const T=b,{installationEntry:k,registrationPromise:ie}=yield bn(T);return ie?ie.catch(console.error):Tn(T).catch(console.error),k.fid})).apply(this,arguments)}function Bt(){return(Bt=(0,U.Z)(function*(b,T=!1){const k=b;return yield ye(k),(yield Tn(k,T)).token})).apply(this,arguments)}function ye(b){return x.apply(this,arguments)}function x(){return(x=(0,U.Z)(function*(b){const{registrationPromise:T}=yield bn(b);T&&(yield T)})).apply(this,arguments)}function Dr(b){return Pe.create("missing-app-config-values",{valueName:b})}const Sn="installations",si=b=>{const T=b.getProvider("app").getImmediate(),k=function Mn(b){if(!b||!b.options)throw Dr("App Configuration");if(!b.name)throw Dr("App Name");const T=["projectId","apiKey","appId"];for(const k of T)if(!b.options[k])throw Dr(k);return{appName:b.name,projectId:b.options.projectId,apiKey:b.options.apiKey,appId:b.options.appId}}(T);return{app:T,appConfig:k,heartbeatServiceProvider:(0,K._getProvider)(T,"heartbeat"),_delete:()=>Promise.resolve()}},oo=b=>{const T=b.getProvider("app").getImmediate(),k=(0,K._getProvider)(T,Sn).getImmediate();return{getId:()=>function Ee(b){return ot.apply(this,arguments)}(k),getToken:Ae=>function Nt(b){return Bt.apply(this,arguments)}(k,Ae)}};(function Hi(){(0,K._registerComponent)(new J.wA(Sn,si,"PUBLIC")),(0,K._registerComponent)(new J.wA("installations-internal",oo,"PRIVATE"))})(),(0,K.registerVersion)(Q,j),(0,K.registerVersion)(Q,j,"esm2017");const Ur="@firebase/remote-config",qn=new X.LL("remoteconfig","Remote Config",{"registration-window":"Undefined window object. This SDK only supports usage in a browser environment.","registration-project-id":"Undefined project identifier. Check Firebase app initialization.","registration-api-key":"Undefined API key. Check Firebase app initialization.","registration-app-id":"Undefined app identifier. Check Firebase app initialization.","storage-open":"Error thrown when opening storage. Original error: {$originalErrorMessage}.","storage-get":"Error thrown when reading from storage. Original error: {$originalErrorMessage}.","storage-set":"Error thrown when writing to storage. Original error: {$originalErrorMessage}.","storage-delete":"Error thrown when deleting from storage. Original error: {$originalErrorMessage}.","fetch-client-network":"Fetch client failed to connect to a network. Check Internet connection. Original error: {$originalErrorMessage}.","fetch-timeout":'The config fetch request timed out. Configure timeout using "fetchTimeoutMillis" SDK setting.',"fetch-throttle":'The config fetch request timed out while in an exponential backoff state. Configure timeout using "fetchTimeoutMillis" SDK setting. Unix timestamp in milliseconds when fetch request throttling ends: {$throttleEndTimeMillis}.',"fetch-client-parse":"Fetch client could not parse response. Original error: {$originalErrorMessage}.","fetch-status":"Fetch server returned an HTTP error status. HTTP status: {$httpStatus}.","indexed-db-unavailable":"Indexed DB is not supported by current browser"});class fi{constructor(T,k,ie,Ae){this.client=T,this.storage=k,this.storageCache=ie,this.logger=Ae}isCachedDataFresh(T,k){if(!k)return this.logger.debug("Config fetch cache check. Cache unpopulated."),!1;const ie=Date.now()-k,Ae=ie<=T;return this.logger.debug(`Config fetch cache check. Cache age millis: ${ie}. Cache max age millis (minimumFetchIntervalMillis setting): ${T}. Is cache hit: ${Ae}.`),Ae}fetch(T){var k=this;return(0,U.Z)(function*(){const[ie,Ae]=yield Promise.all([k.storage.getLastSuccessfulFetchTimestampMillis(),k.storage.getLastSuccessfulFetchResponse()]);if(Ae&&k.isCachedDataFresh(T.cacheMaxAgeMillis,ie))return Ae;T.eTag=Ae&&Ae.eTag;const Ve=yield k.client.fetch(T),st=[k.storageCache.setLastSuccessfulFetchTimestampMillis(Date.now())];return 200===Ve.status&&st.push(k.storage.setLastSuccessfulFetchResponse(Ve)),yield Promise.all(st),Ve})()}}function wr(b=navigator){return b.languages&&b.languages[0]||b.language}class hi{constructor(T,k,ie,Ae,Ve,st){this.firebaseInstallations=T,this.sdkVersion=k,this.namespace=ie,this.projectId=Ae,this.apiKey=Ve,this.appId=st}fetch(T){var k=this;return(0,U.Z)(function*(){var ie,Ae,Ve;const[st,Et]=yield Promise.all([k.firebaseInstallations.getId(),k.firebaseInstallations.getToken()]),cn=`${window.FIREBASE_REMOTE_CONFIG_URL_BASE||"https://firebaseremoteconfig.googleapis.com"}/v1/projects/${k.projectId}/namespaces/${k.namespace}:fetch?key=${k.apiKey}`,hn={"Content-Type":"application/json","Content-Encoding":"gzip","If-None-Match":T.eTag||"*"},qt={sdk_version:k.sdkVersion,app_instance_id:st,app_instance_id_token:Et,app_id:k.appId,language_code:wr()},wi={method:"POST",headers:hn,body:JSON.stringify(qt)},Li=fetch(cn,wi),la=new Promise((us,Hs)=>{T.signal.addEventListener(()=>{const Fa=new Error("The operation was aborted.");Fa.name="AbortError",Hs(Fa)})});let ca;try{yield Promise.race([Li,la]),ca=yield Li}catch(us){let Hs="fetch-client-network";throw"AbortError"===(null===(ie=us)||void 0===ie?void 0:ie.name)&&(Hs="fetch-timeout"),qn.create(Hs,{originalErrorMessage:null===(Ae=us)||void 0===Ae?void 0:Ae.message})}let Us=ca.status;const Gl=ca.headers.get("ETag")||void 0;let Ra,cs;if(200===ca.status){let us;try{us=yield ca.json()}catch(Hs){throw qn.create("fetch-client-parse",{originalErrorMessage:null===(Ve=Hs)||void 0===Ve?void 0:Ve.message})}Ra=us.entries,cs=us.state}if("INSTANCE_STATE_UNSPECIFIED"===cs?Us=500:"NO_CHANGE"===cs?Us=304:("NO_TEMPLATE"===cs||"EMPTY_CONFIG"===cs)&&(Ra={}),304!==Us&&200!==Us)throw qn.create("fetch-status",{httpStatus:Us});return{status:Us,eTag:Gl,config:Ra}})()}}class fr{constructor(T,k){this.client=T,this.storage=k}fetch(T){var k=this;return(0,U.Z)(function*(){const ie=(yield k.storage.getThrottleMetadata())||{backoffCount:0,throttleEndTimeMillis:Date.now()};return k.attemptFetch(T,ie)})()}attemptFetch(T,{throttleEndTimeMillis:k,backoffCount:ie}){var Ae=this;return(0,U.Z)(function*(){yield function Vi(b,T){return new Promise((k,ie)=>{const Ae=Math.max(T-Date.now(),0),Ve=setTimeout(k,Ae);b.addEventListener(()=>{clearTimeout(Ve),ie(qn.create("fetch-throttle",{throttleEndTimeMillis:T}))})})}(T.signal,k);try{const Ve=yield Ae.client.fetch(T);return yield Ae.storage.deleteThrottleMetadata(),Ve}catch(Ve){if(!function Ln(b){if(!(b instanceof X.ZR&&b.customData))return!1;const T=Number(b.customData.httpStatus);return 429===T||500===T||503===T||504===T}(Ve))throw Ve;const st={throttleEndTimeMillis:Date.now()+(0,X.$s)(ie),backoffCount:ie+1};return yield Ae.storage.setThrottleMetadata(st),Ae.attemptFetch(T,st)}})()}}class Pr{constructor(T,k,ie,Ae,Ve){this.app=T,this._client=k,this._storageCache=ie,this._storage=Ae,this._logger=Ve,this._isInitializationComplete=!1,this.settings={fetchTimeoutMillis:6e4,minimumFetchIntervalMillis:432e5},this.defaultConfig={}}get fetchTimeMillis(){return this._storageCache.getLastSuccessfulFetchTimestampMillis()||-1}get lastFetchStatus(){return this._storageCache.getLastFetchStatus()||"no-fetch-yet"}}function Wr(b,T){var k;const ie=b.target.error||void 0;return qn.create(T,{originalErrorMessage:ie&&(null===(k=ie)||void 0===k?void 0:k.message)})}const hr="app_namespace_store";class Kn{constructor(T,k,ie,Ae=function _r(){return new Promise((b,T)=>{var k;try{const ie=indexedDB.open("firebase_remote_config",1);ie.onerror=Ae=>{T(Wr(Ae,"storage-open"))},ie.onsuccess=Ae=>{b(Ae.target.result)},ie.onupgradeneeded=Ae=>{0===Ae.oldVersion&&Ae.target.result.createObjectStore(hr,{keyPath:"compositeKey"})}}catch(ie){T(qn.create("storage-open",{originalErrorMessage:null===(k=ie)||void 0===k?void 0:k.message}))}})}()){this.appId=T,this.appName=k,this.namespace=ie,this.openDbPromise=Ae}getLastFetchStatus(){return this.get("last_fetch_status")}setLastFetchStatus(T){return this.set("last_fetch_status",T)}getLastSuccessfulFetchTimestampMillis(){return this.get("last_successful_fetch_timestamp_millis")}setLastSuccessfulFetchTimestampMillis(T){return this.set("last_successful_fetch_timestamp_millis",T)}getLastSuccessfulFetchResponse(){return this.get("last_successful_fetch_response")}setLastSuccessfulFetchResponse(T){return this.set("last_successful_fetch_response",T)}getActiveConfig(){return this.get("active_config")}setActiveConfig(T){return this.set("active_config",T)}getActiveConfigEtag(){return this.get("active_config_etag")}setActiveConfigEtag(T){return this.set("active_config_etag",T)}getThrottleMetadata(){return this.get("throttle_metadata")}setThrottleMetadata(T){return this.set("throttle_metadata",T)}deleteThrottleMetadata(){return this.delete("throttle_metadata")}get(T){var k=this;return(0,U.Z)(function*(){const ie=yield k.openDbPromise;return new Promise((Ae,Ve)=>{var st;const Jt=ie.transaction([hr],"readonly").objectStore(hr),cn=k.createCompositeKey(T);try{const hn=Jt.get(cn);hn.onerror=qt=>{Ve(Wr(qt,"storage-get"))},hn.onsuccess=qt=>{const wi=qt.target.result;Ae(wi?wi.value:void 0)}}catch(hn){Ve(qn.create("storage-get",{originalErrorMessage:null===(st=hn)||void 0===st?void 0:st.message}))}})})()}set(T,k){var ie=this;return(0,U.Z)(function*(){const Ae=yield ie.openDbPromise;return new Promise((Ve,st)=>{var Et;const cn=Ae.transaction([hr],"readwrite").objectStore(hr),hn=ie.createCompositeKey(T);try{const qt=cn.put({compositeKey:hn,value:k});qt.onerror=wi=>{st(Wr(wi,"storage-set"))},qt.onsuccess=()=>{Ve()}}catch(qt){st(qn.create("storage-set",{originalErrorMessage:null===(Et=qt)||void 0===Et?void 0:Et.message}))}})})()}delete(T){var k=this;return(0,U.Z)(function*(){const ie=yield k.openDbPromise;return new Promise((Ae,Ve)=>{var st;const Jt=ie.transaction([hr],"readwrite").objectStore(hr),cn=k.createCompositeKey(T);try{const hn=Jt.delete(cn);hn.onerror=qt=>{Ve(Wr(qt,"storage-delete"))},hn.onsuccess=()=>{Ae()}}catch(hn){Ve(qn.create("storage-delete",{originalErrorMessage:null===(st=hn)||void 0===st?void 0:st.message}))}})})()}createCompositeKey(T){return[this.appId,this.appName,this.namespace,T].join()}}class qr{constructor(T){this.storage=T}getLastFetchStatus(){return this.lastFetchStatus}getLastSuccessfulFetchTimestampMillis(){return this.lastSuccessfulFetchTimestampMillis}getActiveConfig(){return this.activeConfig}loadFromStorage(){var T=this;return(0,U.Z)(function*(){const k=T.storage.getLastFetchStatus(),ie=T.storage.getLastSuccessfulFetchTimestampMillis(),Ae=T.storage.getActiveConfig(),Ve=yield k;Ve&&(T.lastFetchStatus=Ve);const st=yield ie;st&&(T.lastSuccessfulFetchTimestampMillis=st);const Et=yield Ae;Et&&(T.activeConfig=Et)})()}setLastFetchStatus(T){return this.lastFetchStatus=T,this.storage.setLastFetchStatus(T)}setLastSuccessfulFetchTimestampMillis(T){return this.lastSuccessfulFetchTimestampMillis=T,this.storage.setLastSuccessfulFetchTimestampMillis(T)}setActiveConfig(T){return this.activeConfig=T,this.storage.setActiveConfig(T)}}function Si(){return mo.apply(this,arguments)}function mo(){return(mo=(0,U.Z)(function*(){if(!(0,X.hl)())return!1;try{return yield(0,X.eu)()}catch{return!1}})).apply(this,arguments)}!function zi(){(0,K._registerComponent)(new J.wA("remote-config",function b(T,{instanceIdentifier:k}){const ie=T.getProvider("app").getImmediate(),Ae=T.getProvider("installations-internal").getImmediate();if(typeof window>"u")throw qn.create("registration-window");if(!(0,X.hl)())throw qn.create("indexed-db-unavailable");const{projectId:Ve,apiKey:st,appId:Et}=ie.options;if(!Ve)throw qn.create("registration-project-id");if(!st)throw qn.create("registration-api-key");if(!Et)throw qn.create("registration-app-id");const Jt=new Kn(Et,ie.name,k=k||"firebase"),cn=new qr(Jt),hn=new oe.Yd(Ur);hn.logLevel=oe.in.ERROR;const qt=new hi(Ae,K.SDK_VERSION,k,Ve,st,Et),wi=new fr(qt,Jt),Li=new fi(wi,Jt,cn,hn),la=new Pr(ie,Li,cn,Jt,hn);return function dn(b){const T=(0,X.m9)(b);T._initializePromise||(T._initializePromise=T._storageCache.loadFromStorage().then(()=>{T._isInitializationComplete=!0}))}(la),la},"PUBLIC").setMultipleInstances(!0)),(0,K.registerVersion)(Ur,"0.3.14"),(0,K.registerVersion)(Ur,"0.3.14","esm2017")}();const Fr="/firebase-messaging-sw.js",Ai="/firebase-cloud-messaging-push-scope",Wi="BDOU99-h67HcA6JeFXHbSNMu7e2yNNu3RzoMj8TM4W88jITfq7ZmPvIM1Iv-4_l2LxQcYwhqby2xGpWwzjfAnG4",_o="google.c.a.c_id",yo="google.c.a.c_l",Io="google.c.a.ts",_s="google.c.a.e";var ei=(()=>{return(b=ei||(ei={})).PUSH_RECEIVED="push-received",b.NOTIFICATION_CLICKED="notification-clicked",ei;var b})();function _e(b){const T=new Uint8Array(b);return btoa(String.fromCharCode(...T)).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function be(b){const k=(b+"=".repeat((4-b.length%4)%4)).replace(/\-/g,"+").replace(/_/g,"/"),ie=atob(k),Ae=new Uint8Array(ie.length);for(let Ve=0;Ve<ie.length;++Ve)Ae[Ve]=ie.charCodeAt(Ve);return Ae}const ke="fcm_token_details_db",at="fcm_token_object_Store";function ht(b){return zt.apply(this,arguments)}function zt(){return zt=(0,U.Z)(function*(b){if("databases"in indexedDB&&!(yield indexedDB.databases()).map(Ve=>Ve.name).includes(ke))return null;let T=null;return(yield(0,ee.X3)(ke,5,{upgrade:(ie=(0,U.Z)(function*(Ae,Ve,st,Et){var Jt;if(Ve<2||!Ae.objectStoreNames.contains(at))return;const cn=Et.objectStore(at),hn=yield cn.index("fcmSenderId").get(b);if(yield cn.clear(),hn)if(2===Ve){const qt=hn;if(!qt.auth||!qt.p256dh||!qt.endpoint)return;T={token:qt.fcmToken,createTime:null!==(Jt=qt.createTime)&&void 0!==Jt?Jt:Date.now(),subscriptionOptions:{auth:qt.auth,p256dh:qt.p256dh,endpoint:qt.endpoint,swScope:qt.swScope,vapidKey:"string"==typeof qt.vapidKey?qt.vapidKey:_e(qt.vapidKey)}}}else if(3===Ve){const qt=hn;T={token:qt.fcmToken,createTime:qt.createTime,subscriptionOptions:{auth:_e(qt.auth),p256dh:_e(qt.p256dh),endpoint:qt.endpoint,swScope:qt.swScope,vapidKey:_e(qt.vapidKey)}}}else if(4===Ve){const qt=hn;T={token:qt.fcmToken,createTime:qt.createTime,subscriptionOptions:{auth:_e(qt.auth),p256dh:_e(qt.p256dh),endpoint:qt.endpoint,swScope:qt.swScope,vapidKey:_e(qt.vapidKey)}}}}),function(Ve,st,Et,Jt){return ie.apply(this,arguments)})})).close(),yield(0,ee.Lj)(ke),yield(0,ee.Lj)("fcm_vapid_details_db"),yield(0,ee.Lj)("undefined"),jn(T)?T:null;var ie}),zt.apply(this,arguments)}function jn(b){if(!b||!b.subscriptionOptions)return!1;const{subscriptionOptions:T}=b;return"number"==typeof b.createTime&&b.createTime>0&&"string"==typeof b.token&&b.token.length>0&&"string"==typeof T.auth&&T.auth.length>0&&"string"==typeof T.p256dh&&T.p256dh.length>0&&"string"==typeof T.endpoint&&T.endpoint.length>0&&"string"==typeof T.swScope&&T.swScope.length>0&&"string"==typeof T.vapidKey&&T.vapidKey.length>0}const kr="firebase-messaging-store";let Oi=null;function ai(){return Oi||(Oi=(0,ee.X3)("firebase-messaging-database",1,{upgrade:(b,T)=>{0===T&&b.createObjectStore(kr)}})),Oi}function li(b){return so.apply(this,arguments)}function so(){return(so=(0,U.Z)(function*(b){const T=ti(b),ie=yield(yield ai()).transaction(kr).objectStore(kr).get(T);if(ie)return ie;{const Ae=yield ht(b.appConfig.senderId);if(Ae)return yield yi(b,Ae),Ae}})).apply(this,arguments)}function yi(b,T){return Hr.apply(this,arguments)}function Hr(){return(Hr=(0,U.Z)(function*(b,T){const k=ti(b),Ae=(yield ai()).transaction(kr,"readwrite");return yield Ae.objectStore(kr).put(T,k),yield Ae.done,T})).apply(this,arguments)}function Yi(b){return Tr.apply(this,arguments)}function Tr(){return(Tr=(0,U.Z)(function*(b){const T=ti(b),ie=(yield ai()).transaction(kr,"readwrite");yield ie.objectStore(kr).delete(T),yield ie.done})).apply(this,arguments)}function ti({appConfig:b}){return b.appId}const Bn=new X.LL("messaging","Messaging",{"missing-app-config-values":'Missing App configuration value: "{$valueName}"',"only-available-in-window":"This method is available in a Window context.","only-available-in-sw":"This method is available in a service worker context.","permission-default":"The notification permission was not granted and dismissed instead.","permission-blocked":"The notification permission was not granted and blocked instead.","unsupported-browser":"This browser doesn't support the API's required to use the Firebase SDK.","indexed-db-unsupported":"This browser doesn't support indexedDb.open() (ex. Safari iFrame, Firefox Private Browsing, etc)","failed-service-worker-registration":"We are unable to register the default service worker. {$browserErrorMessage}","token-subscribe-failed":"A problem occurred while subscribing the user to FCM: {$errorInfo}","token-subscribe-no-token":"FCM returned no token when subscribing the user to push.","token-unsubscribe-failed":"A problem occurred while unsubscribing the user from FCM: {$errorInfo}","token-update-failed":"A problem occurred while updating the user from FCM: {$errorInfo}","token-update-no-token":"FCM returned no token when updating the user to push.","use-sw-after-get-token":"The useServiceWorker() method may only be called once and must be called before calling getToken() to ensure your service worker is used.","invalid-sw-registration":"The input to useServiceWorker() must be a ServiceWorkerRegistration.","invalid-bg-handler":"The input to setBackgroundMessageHandler() must be a function.","invalid-vapid-key":"The public VAPID key must be a string.","use-vapid-key-after-get-token":"The usePublicVapidKey() method may only be called once and must be called before calling getToken() to ensure your VAPID key is used."});function ni(b,T){return xn.apply(this,arguments)}function xn(){return(xn=(0,U.Z)(function*(b,T){var k;const ie=yield Yr(b),Ae=Ho(T),Ve={method:"POST",headers:ie,body:JSON.stringify(Ae)};let st;try{st=yield(yield fetch(Zi(b.appConfig),Ve)).json()}catch(Et){throw Bn.create("token-subscribe-failed",{errorInfo:null===(k=Et)||void 0===k?void 0:k.toString()})}if(st.error)throw Bn.create("token-subscribe-failed",{errorInfo:st.error.message});if(!st.token)throw Bn.create("token-subscribe-no-token");return st.token})).apply(this,arguments)}function So(b,T){return Kr.apply(this,arguments)}function Kr(){return(Kr=(0,U.Z)(function*(b,T){var k;const ie=yield Yr(b),Ae=Ho(T.subscriptionOptions),Ve={method:"PATCH",headers:ie,body:JSON.stringify(Ae)};let st;try{st=yield(yield fetch(`${Zi(b.appConfig)}/${T.token}`,Ve)).json()}catch(Et){throw Bn.create("token-update-failed",{errorInfo:null===(k=Et)||void 0===k?void 0:k.toString()})}if(st.error)throw Bn.create("token-update-failed",{errorInfo:st.error.message});if(!st.token)throw Bn.create("token-update-no-token");return st.token})).apply(this,arguments)}function yr(b,T){return ao.apply(this,arguments)}function ao(){return(ao=(0,U.Z)(function*(b,T){var k;const Ae={method:"DELETE",headers:yield Yr(b)};try{const st=yield(yield fetch(`${Zi(b.appConfig)}/${T}`,Ae)).json();if(st.error)throw Bn.create("token-unsubscribe-failed",{errorInfo:st.error.message})}catch(Ve){throw Bn.create("token-unsubscribe-failed",{errorInfo:null===(k=Ve)||void 0===k?void 0:k.toString()})}})).apply(this,arguments)}function Zi({projectId:b}){return`https://fcmregistrations.googleapis.com/v1/projects/${b}/registrations`}function Yr(b){return Nr.apply(this,arguments)}function Nr(){return(Nr=(0,U.Z)(function*({appConfig:b,installations:T}){const k=yield T.getToken();return new Headers({"Content-Type":"application/json",Accept:"application/json","x-goog-api-key":b.apiKey,"x-goog-firebase-installations-auth":`FIS ${k}`})})).apply(this,arguments)}function Ho({p256dh:b,auth:T,endpoint:k,vapidKey:ie}){const Ae={web:{endpoint:k,auth:T,p256dh:b}};return ie!==Wi&&(Ae.web.applicationPubKey=ie),Ae}const vi=6048e5;function Ao(b){return ci.apply(this,arguments)}function ci(){return(ci=(0,U.Z)(function*(b){const T=yield xs(b.swRegistration,b.vapidKey),k={vapidKey:b.vapidKey,swScope:b.swRegistration.scope,endpoint:T.endpoint,auth:_e(T.getKey("auth")),p256dh:_e(T.getKey("p256dh"))},ie=yield li(b.firebaseDependencies);if(ie){if(es(ie.subscriptionOptions,k))return Date.now()>=ie.createTime+vi?Wt(b,{token:ie.token,createTime:Date.now(),subscriptionOptions:k}):ie.token;try{yield yr(b.firebaseDependencies,ie.token)}catch(Ae){console.warn(Ae)}return qo(b.firebaseDependencies,k)}return qo(b.firebaseDependencies,k)})).apply(this,arguments)}function Jo(b){return bi.apply(this,arguments)}function bi(){return(bi=(0,U.Z)(function*(b){const T=yield li(b.firebaseDependencies);T&&(yield yr(b.firebaseDependencies,T.token),yield Yi(b.firebaseDependencies));const k=yield b.swRegistration.pushManager.getSubscription();return!k||k.unsubscribe()})).apply(this,arguments)}function Wt(b,T){return vo.apply(this,arguments)}function vo(){return(vo=(0,U.Z)(function*(b,T){try{const k=yield So(b.firebaseDependencies,T),ie=Object.assign(Object.assign({},T),{token:k,createTime:Date.now()});return yield yi(b.firebaseDependencies,ie),k}catch(k){throw yield Jo(b),k}})).apply(this,arguments)}function qo(b,T){return xo.apply(this,arguments)}function xo(){return(xo=(0,U.Z)(function*(b,T){const ie={token:yield ni(b,T),createTime:Date.now(),subscriptionOptions:T};return yield yi(b,ie),ie.token})).apply(this,arguments)}function xs(b,T){return jo.apply(this,arguments)}function jo(){return(jo=(0,U.Z)(function*(b,T){return(yield b.pushManager.getSubscription())||b.pushManager.subscribe({userVisibleOnly:!0,applicationServerKey:be(T)})})).apply(this,arguments)}function es(b,T){return T.vapidKey===b.vapidKey&&T.endpoint===b.endpoint&&T.auth===b.auth&&T.p256dh===b.p256dh}function Os(b){const T={from:b.from,collapseKey:b.collapse_key,messageId:b.fcmMessageId};return function ys(b,T){if(!T.notification)return;b.notification={};const k=T.notification.title;k&&(b.notification.title=k);const ie=T.notification.body;ie&&(b.notification.body=ie);const Ae=T.notification.image;Ae&&(b.notification.image=Ae)}(T,b),function Qe(b,T){T.data&&(b.data=T.data)}(T,b),function fn(b,T){var k,ie,Ae,Ve,st;if(!(T.fcmOptions||null!==(k=T.notification)&&void 0!==k&&k.click_action))return;b.fcmOptions={};const Et=null!==(Ae=null===(ie=T.fcmOptions)||void 0===ie?void 0:ie.link)&&void 0!==Ae?Ae:null===(Ve=T.notification)||void 0===Ve?void 0:Ve.click_action;Et&&(b.fcmOptions.link=Et);const Jt=null===(st=T.fcmOptions)||void 0===st?void 0:st.analytics_label;Jt&&(b.fcmOptions.analyticsLabel=Jt)}(T,b),T}function Qi(b){return"object"==typeof b&&!!b&&_o in b}function $o(b,T){const k=[];for(let ie=0;ie<b.length;ie++)k.push(b.charAt(ie)),ie<T.length&&k.push(T.charAt(ie));return k.join("")}function bo(b){return Bn.create("missing-app-config-values",{valueName:b})}$o("hts/frbslgigp.ogepscmv/ieo/eaylg","tp:/ieaeogn-agolai.o/1frlglgc/o"),$o("AzSCbw63g1R0nCw85jG8","Iaya3yLKwmgvh7cF0q4");class Oo{constructor(T,k,ie){this.deliveryMetricsExportedToBigQueryEnabled=!1,this.onBackgroundMessageHandler=null,this.onMessageHandler=null,this.logEvents=[],this.isLogServiceStarted=!1;const Ae=function vr(b){if(!b||!b.options)throw bo("App Configuration Object");if(!b.name)throw bo("App Name");const T=["projectId","apiKey","appId","messagingSenderId"],{options:k}=b;for(const ie of T)if(!k[ie])throw bo(ie);return{appName:b.name,projectId:k.projectId,apiKey:k.apiKey,appId:k.appId,senderId:k.messagingSenderId}}(T);this.firebaseDependencies={app:T,appConfig:Ae,installations:k,analyticsProvider:ie}}_delete(){return Promise.resolve()}}function jr(b){return Po.apply(this,arguments)}function Po(){return(Po=(0,U.Z)(function*(b){var T;try{b.swRegistration=yield navigator.serviceWorker.register(Fr,{scope:Ai}),b.swRegistration.update().catch(()=>{})}catch(k){throw Bn.create("failed-service-worker-registration",{browserErrorMessage:null===(T=k)||void 0===T?void 0:T.message})}})).apply(this,arguments)}function Vo(b,T){return zo.apply(this,arguments)}function zo(){return(zo=(0,U.Z)(function*(b,T){if(!T&&!b.swRegistration&&(yield jr(b)),T||!b.swRegistration){if(!(T instanceof ServiceWorkerRegistration))throw Bn.create("invalid-sw-registration");b.swRegistration=T}})).apply(this,arguments)}function vs(b,T){return Xi.apply(this,arguments)}function Xi(){return(Xi=(0,U.Z)(function*(b,T){T?b.vapidKey=T:b.vapidKey||(b.vapidKey=Wi)})).apply(this,arguments)}function zn(){return(zn=(0,U.Z)(function*(b,T){if(!navigator)throw Bn.create("only-available-in-window");if("default"===Notification.permission&&(yield Notification.requestPermission()),"granted"!==Notification.permission)throw Bn.create("permission-blocked");return yield vs(b,T?.vapidKey),yield Vo(b,T?.serviceWorkerRegistration),Ao(b)})).apply(this,arguments)}function Di(b,T,k){return $r.apply(this,arguments)}function $r(){return($r=(0,U.Z)(function*(b,T,k){const ie=Vr(T);(yield b.firebaseDependencies.analyticsProvider.get()).logEvent(ie,{message_id:k[_o],message_name:k[yo],message_time:k[Io],message_device_time:Math.floor(Date.now()/1e3)})})).apply(this,arguments)}function Vr(b){switch(b){case ei.NOTIFICATION_CLICKED:return"notification_open";case ei.PUSH_RECEIVED:return"notification_foreground";default:throw new Error}}function Do(){return(Do=(0,U.Z)(function*(b,T){const k=T.data;if(!k.isFirebaseMessaging)return;b.onMessageHandler&&k.messageType===ei.PUSH_RECEIVED&&("function"==typeof b.onMessageHandler?b.onMessageHandler(Os(k)):b.onMessageHandler.next(Os(k)));const ie=k.data;Qi(ie)&&"1"===ie[_s]&&(yield Di(b,k.messageType,ie))})).apply(this,arguments)}const Ro="@firebase/messaging",lo=b=>{const T=new Oo(b.getProvider("app").getImmediate(),b.getProvider("installations-internal").getImmediate(),b.getProvider("analytics-internal"));return navigator.serviceWorker.addEventListener("message",k=>function ts(b,T){return Do.apply(this,arguments)}(T,k)),T},Pi=b=>{const T=b.getProvider("messaging").getImmediate();return{getToken:ie=>function Mr(b,T){return zn.apply(this,arguments)}(T,ie)}};function Ri(){return Fi.apply(this,arguments)}function Fi(){return(Fi=(0,U.Z)(function*(){try{yield(0,X.eu)()}catch{return!1}return typeof window<"u"&&(0,X.hl)()&&(0,X.zI)()&&"serviceWorker"in navigator&&"PushManager"in window&&"Notification"in window&&"fetch"in window&&ServiceWorkerRegistration.prototype.hasOwnProperty("showNotification")&&PushSubscription.prototype.hasOwnProperty("getKey")})).apply(this,arguments)}!function Go(){(0,K._registerComponent)(new J.wA("messaging",lo,"PUBLIC")),(0,K._registerComponent)(new J.wA("messaging-internal",Pi,"PRIVATE")),(0,K.registerVersion)(Ro,"0.9.19"),(0,K.registerVersion)(Ro,"0.9.19","esm2017")}();const qi="analytics",Lr="firebase_id",Es="https://firebase.googleapis.com/v1alpha/projects/-/apps/{app-id}/webConfig",rs="https://www.googletagmanager.com/gtag/js",br=new oe.Yd("@firebase/analytics");function Cs(b){return Promise.all(b.map(T=>T.catch(k=>k)))}function ws(b,T){const k=document.createElement("script");k.src=`${rs}?l=${b}&id=${T}`,k.async=!0,document.head.appendChild(k)}function Eo(b,T,k,ie,Ae,Ve){return g.apply(this,arguments)}function g(){return(g=(0,U.Z)(function*(b,T,k,ie,Ae,Ve){const st=ie[Ae];try{if(st)yield T[st];else{const Jt=(yield Cs(k)).find(cn=>cn.measurementId===Ae);Jt&&(yield T[Jt.appId])}}catch(Et){br.error(Et)}b("config",Ae,Ve)})).apply(this,arguments)}function A(b,T,k,ie,Ae){return y.apply(this,arguments)}function y(){return(y=(0,U.Z)(function*(b,T,k,ie,Ae){try{let Ve=[];if(Ae&&Ae.send_to){let st=Ae.send_to;Array.isArray(st)||(st=[st]);const Et=yield Cs(k);for(const Jt of st){const cn=Et.find(qt=>qt.measurementId===Jt),hn=cn&&T[cn.appId];if(!hn){Ve=[];break}Ve.push(hn)}}0===Ve.length&&(Ve=Object.values(T)),yield Promise.all(Ve),b("event",ie,Ae||{})}catch(Ve){br.error(Ve)}})).apply(this,arguments)}function je(b){const T=window.document.getElementsByTagName("script");for(const k of Object.values(T))if(k.src&&k.src.includes(rs)&&k.src.includes(b))return k;return null}const mt=new X.LL("analytics","Analytics",{"already-exists":"A Firebase Analytics instance with the appId {$id} already exists. Only one Firebase Analytics instance can be created for each appId.","already-initialized":"initializeAnalytics() cannot be called again with different options than those it was initially called with. It can be called again with the same options to return the existing instance, or getAnalytics() can be used to get a reference to the already-intialized instance.","already-initialized-settings":"Firebase Analytics has already been initialized.settings() must be called before initializing any Analytics instanceor it will have no effect.","interop-component-reg-failed":"Firebase Analytics Interop Component failed to instantiate: {$reason}","invalid-analytics-context":"Firebase Analytics is not supported in this environment. Wrap initialization of analytics in analytics.isSupported() to prevent initialization in unsupported environments. Details: {$errorInfo}","indexeddb-unavailable":"IndexedDB unavailable or restricted in this environment. Wrap initialization of analytics in analytics.isSupported() to prevent initialization in unsupported environments. Details: {$errorInfo}","fetch-throttle":"The config fetch request timed out while in an exponential backoff state. Unix timestamp in milliseconds when fetch request throttling ends: {$throttleEndTimeMillis}.","config-fetch-failed":"Dynamic config fetch failed: [{$httpStatus}] {$responseMessage}","no-api-key":'The "apiKey" field is empty in the local Firebase config. Firebase Analytics requires this field tocontain a valid API key.',"no-app-id":'The "appId" field is empty in the local Firebase config. Firebase Analytics requires this field tocontain a valid app ID.'}),un=new class On{constructor(T={},k=1e3){this.throttleMetadata=T,this.intervalMillis=k}getThrottleMetadata(T){return this.throttleMetadata[T]}setThrottleMetadata(T,k){this.throttleMetadata[T]=k}deleteThrottleMetadata(T){delete this.throttleMetadata[T]}};function ar(b){return new Headers({Accept:"application/json","x-goog-api-key":b})}function Gn(b){return ir.apply(this,arguments)}function ir(){return(ir=(0,U.Z)(function*(b){var T;const{appId:k,apiKey:ie}=b,Ae={method:"GET",headers:ar(ie)},Ve=Es.replace("{app-id}",k),st=yield fetch(Ve,Ae);if(200!==st.status&&304!==st.status){let Et="";try{const Jt=yield st.json();null!==(T=Jt.error)&&void 0!==T&&T.message&&(Et=Jt.error.message)}catch{}throw mt.create("config-fetch-failed",{httpStatus:st.status,responseMessage:Et})}return st.json()})).apply(this,arguments)}function pi(b){return ri.apply(this,arguments)}function ri(){return(ri=(0,U.Z)(function*(b,T=un,k){const{appId:ie,apiKey:Ae,measurementId:Ve}=b.options;if(!ie)throw mt.create("no-app-id");if(!Ae){if(Ve)return{measurementId:Ve,appId:ie};throw mt.create("no-api-key")}const st=T.getThrottleMetadata(ie)||{backoffCount:0,throttleEndTimeMillis:Date.now()},Et=new uo;return setTimeout((0,U.Z)(function*(){Et.abort()}),void 0!==k?k:6e4),Br({appId:ie,apiKey:Ae,measurementId:Ve},st,Et,T)})).apply(this,arguments)}function Br(b,T,k){return lr.apply(this,arguments)}function lr(){return(lr=(0,U.Z)(function*(b,{throttleEndTimeMillis:T,backoffCount:k},ie,Ae=un){var Ve,st;const{appId:Et,measurementId:Jt}=b;try{yield ki(ie,T)}catch(cn){if(Jt)return br.warn(`Timed out fetching this Firebase app's measurement ID from the server. Falling back to the measurement ID ${Jt} provided in the "measurementId" field in the local Firebase config. [${null===(Ve=cn)||void 0===Ve?void 0:Ve.message}]`),{appId:Et,measurementId:Jt};throw cn}try{const cn=yield Gn(b);return Ae.deleteThrottleMetadata(Et),cn}catch(cn){const hn=cn;if(!Co(hn)){if(Ae.deleteThrottleMetadata(Et),Jt)return br.warn(`Failed to fetch this Firebase app's measurement ID from the server. Falling back to the measurement ID ${Jt} provided in the "measurementId" field in the local Firebase config. [${hn?.message}]`),{appId:Et,measurementId:Jt};throw cn}const qt=503===Number(null===(st=hn?.customData)||void 0===st?void 0:st.httpStatus)?(0,X.$s)(k,Ae.intervalMillis,30):(0,X.$s)(k,Ae.intervalMillis),wi={throttleEndTimeMillis:Date.now()+qt,backoffCount:k+1};return Ae.setThrottleMetadata(Et,wi),br.debug(`Calling attemptFetch again in ${qt} millis`),Br(b,wi,ie,Ae)}})).apply(this,arguments)}function ki(b,T){return new Promise((k,ie)=>{const Ae=Math.max(T-Date.now(),0),Ve=setTimeout(k,Ae);b.addEventListener(()=>{clearTimeout(Ve),ie(mt.create("fetch-throttle",{throttleEndTimeMillis:T}))})})}function Co(b){if(!(b instanceof X.ZR&&b.customData))return!1;const T=Number(b.customData.httpStatus);return 429===T||500===T||503===T||504===T}class uo{constructor(){this.listeners=[]}addEventListener(T){this.listeners.push(T)}abort(){this.listeners.forEach(T=>T())}}let is,Ko;function Wo(){return(Wo=(0,U.Z)(function*(b,T,k,ie,Ae){if(Ae&&Ae.global)b("event",k,ie);else{const Ve=yield T;b("event",k,Object.assign(Object.assign({},ie),{send_to:Ve}))}})).apply(this,arguments)}function fo(b){Ko=b}function E(b){is=b}function a(){return l.apply(this,arguments)}function l(){return(l=(0,U.Z)(function*(){var b;if(!(0,X.hl)())return br.warn(mt.create("indexeddb-unavailable",{errorInfo:"IndexedDB is not available in this environment."}).message),!1;try{yield(0,X.eu)()}catch(T){return br.warn(mt.create("indexeddb-unavailable",{errorInfo:null===(b=T)||void 0===b?void 0:b.toString()}).message),!1}return!0})).apply(this,arguments)}function O(){return(O=(0,U.Z)(function*(b,T,k,ie,Ae,Ve,st){var Et;const Jt=pi(b);Jt.then(Li=>{k[Li.measurementId]=Li.appId,b.options.measurementId&&Li.measurementId!==b.options.measurementId&&br.warn(`The measurement ID in the local Firebase config (${b.options.measurementId}) does not match the measurement ID fetched from the server (${Li.measurementId}). To ensure analytics events are always sent to the correct Analytics property, update the measurement ID field in the local config or remove it from the local config.`)}).catch(Li=>br.error(Li)),T.push(Jt);const cn=a().then(Li=>{if(Li)return ie.getId()}),[hn,qt]=yield Promise.all([Jt,cn]);je(Ve)||ws(Ve,hn.measurementId),Ko&&(Ae("consent","default",Ko),fo(void 0)),Ae("js",new Date);const wi=null!==(Et=st?.config)&&void 0!==Et?Et:{};return wi.origin="firebase",wi.update=!0,null!=qt&&(wi[Lr]=qt),Ae("config",hn.measurementId,wi),is&&(Ae("set",is),E(void 0)),hn.measurementId})).apply(this,arguments)}class z{constructor(T){this.app=T}_delete(){return delete ce[this.app.options.appId],Promise.resolve()}}let ce={},he=[];const Be={};let Dt,sn,Je="dataLayer",Yt=!1;function Fn(b,T,k){!function Zt(){const b=[];if((0,X.ru)()&&b.push("This is a browser extension environment."),(0,X.zI)()||b.push("Cookies are not available."),b.length>0){const T=b.map((ie,Ae)=>`(${Ae+1}) ${ie}`).join(" "),k=mt.create("invalid-analytics-context",{errorInfo:T});br.warn(k.message)}}();const ie=b.options.appId;if(!ie)throw mt.create("no-app-id");if(!b.options.apiKey){if(!b.options.measurementId)throw mt.create("no-api-key");br.warn(`The "apiKey" field is empty in the local Firebase config. This is needed to fetch the latest measurement ID for this Firebase app. Falling back to the measurement ID ${b.options.measurementId} provided in the "measurementId" field in the local Firebase config.`)}if(null!=ce[ie])throw mt.create("already-exists",{id:ie});if(!Yt){!function Fs(b){let T=[];Array.isArray(window[b])?T=window[b]:window[b]=T}(Je);const{wrappedGtag:Ve,gtagCore:st}=function te(b,T,k,ie,Ae){let Ve=function(...st){window[ie].push(arguments)};return window[Ae]&&"function"==typeof window[Ae]&&(Ve=window[Ae]),window[Ae]=function P(b,T,k,ie){function Ve(){return(Ve=(0,U.Z)(function*(st,Et,Jt){try{"event"===st?yield A(b,T,k,Et,Jt):"config"===st?yield Eo(b,T,k,ie,Et,Jt):"consent"===st?b("consent","update",Jt):b("set",Et)}catch(cn){br.error(cn)}})).apply(this,arguments)}return function Ae(st,Et,Jt){return Ve.apply(this,arguments)}}(Ve,b,T,k),{gtagCore:Ve,wrappedGtag:window[Ae]}}(ce,he,Be,Je,"gtag");sn=Ve,Dt=st,Yt=!0}return ce[ie]=function _(b,T,k,ie,Ae,Ve,st){return O.apply(this,arguments)}(b,he,Be,T,Dt,Je,k),new z(b)}function Sr(){return er.apply(this,arguments)}function er(){return(er=(0,U.Z)(function*(){if((0,X.ru)()||!(0,X.zI)()||!(0,X.hl)())return!1;try{return yield(0,X.eu)()}catch{return!1}})).apply(this,arguments)}const Un="@firebase/analytics";!function na(){(0,K._registerComponent)(new J.wA(qi,(T,{options:k})=>Fn(T.getProvider("app").getImmediate(),T.getProvider("installations-internal").getImmediate(),k),"PUBLIC")),(0,K._registerComponent)(new J.wA("analytics-internal",function b(T){try{const k=T.getProvider(qi).getImmediate();return{logEvent:(ie,Ae,Ve)=>function ho(b,T,k,ie){b=(0,X.m9)(b),function os(b,T,k,ie,Ae){return Wo.apply(this,arguments)}(sn,ce[b.app.options.appId],T,k,ie).catch(Ae=>br.error(Ae))}(k,ie,Ae,Ve)}}catch(k){throw mt.create("interop-component-reg-failed",{reason:k})}},"PRIVATE")),(0,K.registerVersion)(Un,"0.8.3"),(0,K.registerVersion)(Un,"0.8.3","esm2017")}();var Ls=D(4408),jt=D(7565);const Pn=new class Qt extends jt.v{}(class Rt extends Ls.o{constructor(T,k){super(T,k),this.scheduler=T,this.work=k}schedule(T,k=0){return k>0?super.schedule(T,k):(this.delay=k,this.state=T,this.scheduler.flush(this),this)}execute(T,k){return k>0||this.closed?super.execute(T,k):this._execute(T,k)}requestAsyncId(T,k,ie=0){return null!=ie&&ie>0||null==ie&&this.delay>0?super.requestAsyncId(T,k,ie):T.flush(this)}});var no=D(4986),mi=D(8505),Xn=D(9468),Jn=D(5363);const No=new s.GfV("7.5.0"),Bs="__angularfire_symbol__analyticsIsSupportedValue",d="__angularfire_symbol__analyticsIsSupported",h="__angularfire_symbol__remoteConfigIsSupportedValue",c="__angularfire_symbol__remoteConfigIsSupported",m="__angularfire_symbol__messagingIsSupportedValue",w="__angularfire_symbol__messagingIsSupported";function _t(b,T,k){if(T){if(1===T.length)return T[0];const Ve=T.filter(st=>st.app===k);if(1===Ve.length)return Ve[0]}return k.container.getProvider(b).getImmediate({optional:!0})}globalThis[d]||(globalThis[d]=Sr().then(b=>globalThis[Bs]=b).catch(()=>globalThis[Bs]=!1)),globalThis[w]||(globalThis[w]=Ri().then(b=>globalThis[m]=b).catch(()=>globalThis[m]=!1)),globalThis[c]||(globalThis[c]=Si().then(b=>globalThis[h]=b).catch(()=>globalThis[h]=!1));const St=(b,T)=>{const k=T?[T]:(0,f.C6)(),ie=[];return k.forEach(Ae=>{Ae.container.getProvider(b).instances.forEach(st=>{ie.includes(st)||ie.push(st)})}),ie};function yn(){}class zr{constructor(T,k=Pn){this.zone=T,this.delegate=k}now(){return this.delegate.now()}schedule(T,k,ie){const Ae=this.zone;return this.delegate.schedule(function(st){Ae.runGuarded(()=>{T.apply(this,[st])})},k,ie)}}class wo{constructor(T){this.zone=T,this.task=null}call(T,k){const ie=this.unscheduleTask.bind(this);return this.task=this.zone.run(()=>Zone.current.scheduleMacroTask("firebaseZoneBlock",yn,{},yn,yn)),k.pipe((0,mi.b)({next:ie,complete:ie,error:ie})).subscribe(T).add(ie)}unscheduleTask(){setTimeout(()=>{null!=this.task&&"scheduled"===this.task.state&&(this.task.invoke(),this.task=null)},10)}}let To=(()=>{class b{constructor(k){this.ngZone=k,this.outsideAngular=k.runOutsideAngular(()=>new zr(Zone.current)),this.insideAngular=k.run(()=>new zr(Zone.current,no.z)),globalThis.\u0275AngularFireScheduler||(globalThis.\u0275AngularFireScheduler=this)}}return b.\u0275fac=function(k){return new(k||b)(s.LFG(s.R0b))},b.\u0275prov=s.Yz7({token:b,factory:b.\u0275fac,providedIn:"root"}),b})();function Ci(){const b=globalThis.\u0275AngularFireScheduler;if(!b)throw new Error("Either AngularFireModule has not been provided in your AppModule (this can be done manually or implictly using\nprovideFirebaseApp) or you're calling an AngularFire method outside of an NgModule (which is not supported).");return b}function ia(b){return Ci(),function oa(b){return function(k){return(k=k.lift(new wo(b.ngZone))).pipe((0,Xn.R)(b.outsideAngular),(0,Jn.Q)(b.insideAngular))}}(Ci())(b)}},2090:(it,Ce,D)=>{D.d(Ce,{$s:()=>F,BH:()=>en,L:()=>ee,LL:()=>et,Pz:()=>Ht,UG:()=>$e,US:()=>J,ZB:()=>Y,ZR:()=>Le,aH:()=>pt,b$:()=>Fe,eu:()=>pe,hl:()=>le,jU:()=>Ye,m9:()=>ve,ne:()=>Hn,pd:()=>gn,r3:()=>kn,ru:()=>Se,tV:()=>Q,uI:()=>Te,vZ:()=>Gt,w1:()=>De,xO:()=>tn,xb:()=>Xt,z$:()=>xe,zI:()=>se,zd:()=>$n});const K=function(L){const G=[];let de=0;for(let He=0;He<L.length;He++){let Ee=L.charCodeAt(He);Ee<128?G[de++]=Ee:Ee<2048?(G[de++]=Ee>>6|192,G[de++]=63&Ee|128):55296==(64512&Ee)&&He+1<L.length&&56320==(64512&L.charCodeAt(He+1))?(Ee=65536+((1023&Ee)<<10)+(1023&L.charCodeAt(++He)),G[de++]=Ee>>18|240,G[de++]=Ee>>12&63|128,G[de++]=Ee>>6&63|128,G[de++]=63&Ee|128):(G[de++]=Ee>>12|224,G[de++]=Ee>>6&63|128,G[de++]=63&Ee|128)}return G},J={byteToCharMap_:null,charToByteMap_:null,byteToCharMapWebSafe_:null,charToByteMapWebSafe_:null,ENCODED_VALS_BASE:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",get ENCODED_VALS(){return this.ENCODED_VALS_BASE+"+/="},get ENCODED_VALS_WEBSAFE(){return this.ENCODED_VALS_BASE+"-_."},HAS_NATIVE_SUPPORT:"function"==typeof atob,encodeByteArray(L,G){if(!Array.isArray(L))throw Error("encodeByteArray takes an array as a parameter");this.init_();const de=G?this.byteToCharMapWebSafe_:this.byteToCharMap_,He=[];for(let Ee=0;Ee<L.length;Ee+=3){const ot=L[Ee],Nt=Ee+1<L.length,Bt=Nt?L[Ee+1]:0,ye=Ee+2<L.length,x=ye?L[Ee+2]:0;let $=(15&Bt)<<2|x>>6,ue=63&x;ye||(ue=64,Nt||($=64)),He.push(de[ot>>2],de[(3&ot)<<4|Bt>>4],de[$],de[ue])}return He.join("")},encodeString(L,G){return this.HAS_NATIVE_SUPPORT&&!G?btoa(L):this.encodeByteArray(K(L),G)},decodeString(L,G){return this.HAS_NATIVE_SUPPORT&&!G?atob(L):function(L){const G=[];let de=0,He=0;for(;de<L.length;){const Ee=L[de++];if(Ee<128)G[He++]=String.fromCharCode(Ee);else if(Ee>191&&Ee<224){const ot=L[de++];G[He++]=String.fromCharCode((31&Ee)<<6|63&ot)}else if(Ee>239&&Ee<365){const ye=((7&Ee)<<18|(63&L[de++])<<12|(63&L[de++])<<6|63&L[de++])-65536;G[He++]=String.fromCharCode(55296+(ye>>10)),G[He++]=String.fromCharCode(56320+(1023&ye))}else{const ot=L[de++],Nt=L[de++];G[He++]=String.fromCharCode((15&Ee)<<12|(63&ot)<<6|63&Nt)}}return G.join("")}(this.decodeStringToByteArray(L,G))},decodeStringToByteArray(L,G){this.init_();const de=G?this.charToByteMapWebSafe_:this.charToByteMap_,He=[];for(let Ee=0;Ee<L.length;){const ot=de[L.charAt(Ee++)],Bt=Ee<L.length?de[L.charAt(Ee)]:0;++Ee;const x=Ee<L.length?de[L.charAt(Ee)]:64;++Ee;const I=Ee<L.length?de[L.charAt(Ee)]:64;if(++Ee,null==ot||null==Bt||null==x||null==I)throw Error();He.push(ot<<2|Bt>>4),64!==x&&(He.push(Bt<<4&240|x>>2),64!==I&&He.push(x<<6&192|I))}return He},init_(){if(!this.byteToCharMap_){this.byteToCharMap_={},this.charToByteMap_={},this.byteToCharMapWebSafe_={},this.charToByteMapWebSafe_={};for(let L=0;L<this.ENCODED_VALS.length;L++)this.byteToCharMap_[L]=this.ENCODED_VALS.charAt(L),this.charToByteMap_[this.byteToCharMap_[L]]=L,this.byteToCharMapWebSafe_[L]=this.ENCODED_VALS_WEBSAFE.charAt(L),this.charToByteMapWebSafe_[this.byteToCharMapWebSafe_[L]]=L,L>=this.ENCODED_VALS_BASE.length&&(this.charToByteMap_[this.ENCODED_VALS_WEBSAFE.charAt(L)]=L,this.charToByteMapWebSafe_[this.ENCODED_VALS.charAt(L)]=L)}}},ee=function(L){return function(L){const G=K(L);return J.encodeByteArray(G,!0)}(L).replace(/\./g,"")},Q=function(L){try{return J.decodeString(L,!0)}catch(G){console.error("base64Decode failed: ",G)}return null};function Y(L,G){if(!(G instanceof Object))return G;switch(G.constructor){case Date:return new Date(G.getTime());case Object:void 0===L&&(L={});break;case Array:L=[];break;default:return G}for(const de in G)!G.hasOwnProperty(de)||!W(de)||(L[de]=Y(L[de],G[de]));return L}function W(L){return"__proto__"!==L}function xe(){return typeof navigator<"u"&&"string"==typeof navigator.userAgent?navigator.userAgent:""}function Te(){return typeof window<"u"&&!!(window.cordova||window.phonegap||window.PhoneGap)&&/ios|iphone|ipod|ipad|android|blackberry|iemobile/i.test(xe())}function $e(){try{return"[object process]"===Object.prototype.toString.call(global.process)}catch{return!1}}function Ye(){return"object"==typeof self&&self.self===self}function Se(){const L="object"==typeof chrome?chrome.runtime:"object"==typeof browser?browser.runtime:void 0;return"object"==typeof L&&void 0!==L.id}function Fe(){return"object"==typeof navigator&&"ReactNative"===navigator.product}function De(){const L=xe();return L.indexOf("MSIE ")>=0||L.indexOf("Trident/")>=0}function le(){return"object"==typeof indexedDB}function pe(){return new Promise((L,G)=>{try{let de=!0;const He="validate-browser-context-for-indexeddb-analytics-module",Ee=self.indexedDB.open(He);Ee.onsuccess=()=>{Ee.result.close(),de||self.indexedDB.deleteDatabase(He),L(!0)},Ee.onupgradeneeded=()=>{de=!1},Ee.onerror=()=>{var ot;G((null===(ot=Ee.error)||void 0===ot?void 0:ot.message)||"")}}catch(de){G(de)}})}function se(){return!(typeof navigator>"u"||!navigator.cookieEnabled)}const me=()=>{try{return function ge(){if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("Unable to locate global object.")}().__FIREBASE_DEFAULTS__||(()=>{if(typeof process>"u"||typeof process.env>"u")return;const L=process.env.__FIREBASE_DEFAULTS__;return L?JSON.parse(L):void 0})()||(()=>{if(typeof document>"u")return;let L;try{L=document.cookie.match(/__FIREBASE_DEFAULTS__=([^;]+)/)}catch{return}const G=L&&Q(L[1]);return G&&JSON.parse(G)})()}catch(L){return void console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${L}`)}},pt=()=>{var L;return null===(L=me())||void 0===L?void 0:L.config},Ht=L=>{var G;return null===(G=me())||void 0===G?void 0:G[`_${L}`]};class en{constructor(){this.reject=()=>{},this.resolve=()=>{},this.promise=new Promise((G,de)=>{this.resolve=G,this.reject=de})}wrapCallback(G){return(de,He)=>{de?this.reject(de):this.resolve(He),"function"==typeof G&&(this.promise.catch(()=>{}),1===G.length?G(de):G(de,He))}}}class Le extends Error{constructor(G,de,He){super(de),this.code=G,this.customData=He,this.name="FirebaseError",Object.setPrototypeOf(this,Le.prototype),Error.captureStackTrace&&Error.captureStackTrace(this,et.prototype.create)}}class et{constructor(G,de,He){this.service=G,this.serviceName=de,this.errors=He}create(G,...de){const He=de[0]||{},Ee=`${this.service}/${G}`,ot=this.errors[G],Nt=ot?function fe(L,G){return L.replace(Ne,(de,He)=>{const Ee=G[He];return null!=Ee?String(Ee):`<${He}?>`})}(ot,He):"Error";return new Le(Ee,`${this.serviceName}: ${Nt} (${Ee}).`,He)}}const Ne=/\{\$([^}]+)}/g;function kn(L,G){return Object.prototype.hasOwnProperty.call(L,G)}function Xt(L){for(const G in L)if(Object.prototype.hasOwnProperty.call(L,G))return!1;return!0}function Gt(L,G){if(L===G)return!0;const de=Object.keys(L),He=Object.keys(G);for(const Ee of de){if(!He.includes(Ee))return!1;const ot=L[Ee],Nt=G[Ee];if(yt(ot)&&yt(Nt)){if(!Gt(ot,Nt))return!1}else if(ot!==Nt)return!1}for(const Ee of He)if(!de.includes(Ee))return!1;return!0}function yt(L){return null!==L&&"object"==typeof L}function tn(L){const G=[];for(const[de,He]of Object.entries(L))Array.isArray(He)?He.forEach(Ee=>{G.push(encodeURIComponent(de)+"="+encodeURIComponent(Ee))}):G.push(encodeURIComponent(de)+"="+encodeURIComponent(He));return G.length?"&"+G.join("&"):""}function $n(L){const G={};return L.replace(/^\?/,"").split("&").forEach(He=>{if(He){const[Ee,ot]=He.split("=");G[decodeURIComponent(Ee)]=decodeURIComponent(ot)}}),G}function gn(L){const G=L.indexOf("?");if(!G)return"";const de=L.indexOf("#",G);return L.substring(G,de>0?de:void 0)}function Hn(L,G){const de=new Ot(L,G);return de.subscribe.bind(de)}class Ot{constructor(G,de){this.observers=[],this.unsubscribes=[],this.observerCount=0,this.task=Promise.resolve(),this.finalized=!1,this.onNoObservers=de,this.task.then(()=>{G(this)}).catch(He=>{this.error(He)})}next(G){this.forEachObserver(de=>{de.next(G)})}error(G){this.forEachObserver(de=>{de.error(G)}),this.close(G)}complete(){this.forEachObserver(G=>{G.complete()}),this.close()}subscribe(G,de,He){let Ee;if(void 0===G&&void 0===de&&void 0===He)throw new Error("Missing Observer.");Ee=function ut(L,G){if("object"!=typeof L||null===L)return!1;for(const de of G)if(de in L&&"function"==typeof L[de])return!0;return!1}(G,["next","error","complete"])?G:{next:G,error:de,complete:He},void 0===Ee.next&&(Ee.next=xt),void 0===Ee.error&&(Ee.error=xt),void 0===Ee.complete&&(Ee.complete=xt);const ot=this.unsubscribeOne.bind(this,this.observers.length);return this.finalized&&this.task.then(()=>{try{this.finalError?Ee.error(this.finalError):Ee.complete()}catch{}}),this.observers.push(Ee),ot}unsubscribeOne(G){void 0===this.observers||void 0===this.observers[G]||(delete this.observers[G],this.observerCount-=1,0===this.observerCount&&void 0!==this.onNoObservers&&this.onNoObservers(this))}forEachObserver(G){if(!this.finalized)for(let de=0;de<this.observers.length;de++)this.sendOne(de,G)}sendOne(G,de){this.task.then(()=>{if(void 0!==this.observers&&void 0!==this.observers[G])try{de(this.observers[G])}catch(He){typeof console<"u"&&console.error&&console.error(He)}})}close(G){this.finalized||(this.finalized=!0,void 0!==G&&(this.finalError=G),this.task.then(()=>{this.observers=void 0,this.onNoObservers=void 0}))}}function xt(){}function F(L,G=1e3,de=2){const He=G*Math.pow(de,L),Ee=Math.round(.5*He*(Math.random()-.5)*2);return Math.min(144e5,He+Ee)}function ve(L){return L&&L._delegate?L._delegate:L}},1318:(it,Ce,D)=>{D.d(Ce,{O:()=>Se});var s=D(515),f=D(9751),U=D(262),K=D(4986),X=D(1165),J=D(4482),oe=D(8421),ee=D(3888),Q=D(5403),j=D(9672);const Y=(0,ee.d)(Fe=>function(De=null){Fe(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=De});function xe(Fe){throw new Y(Fe)}var Te=D(4650),$e=D(529),Ye=D(7185);class Se{constructor(Pe,De){this.http=Pe,this.toastr=De}get(Pe){return this.http.get(Pe).pipe((0,U.K)(De=>{let Me=this.errorMessageHandling(De);return this.toastr.error(""!=Me.message?Me.message:"An unknown error has occured!",Me.header),s.E}))}post(Pe,De,Me={},H=1e5){return new f.y(ae=>{this.http.post(Pe,De,Me).pipe(function W(Fe,Pe){const{first:De,each:Me,with:H=xe,scheduler:ae=Pe??K.z,meta:le=null}=(0,X.q)(Fe)?{first:Fe}:"number"==typeof Fe?{each:Fe}:Fe;if(null==De&&null==Me)throw new TypeError("No timeout provided.");return(0,J.e)((pe,se)=>{let ge,Z,re=null,Ie=0;const me=We=>{Z=(0,j.f)(se,ae,()=>{try{ge.unsubscribe(),(0,oe.Xf)(H({meta:le,lastValue:re,seen:Ie})).subscribe(se)}catch(qe){se.error(qe)}},We)};ge=pe.subscribe((0,Q.x)(se,We=>{Z?.unsubscribe(),Ie++,se.next(re=We),Me>0&&me(Me)},void 0,void 0,()=>{Z?.closed||Z?.unsubscribe(),re=null})),!Ie&&me(null!=De?"number"==typeof De?De:+De-ae.now():Me)})}(H)).subscribe({next:le=>{ae.next(le),ae.complete()},error:le=>{if(200==le.status)ae.next(le.error.text),ae.complete();else{if(!this.unauthorizedErrorHandling(le)&&!Array.isArray(le?.error?.Message)){let se=this.errorMessageHandling(le);this.toastr.error(""!=se.message?se.message:"An unknown error has occured!",se.header,{enableHtml:!0})}ae.error(le)}}})})}unauthorizedErrorHandling(Pe){let De=!1;return 401==Pe.status&&(localStorage.getItem("Token")?window.location.href="/A/Unauthorized/Main/Unauthorized":window.location.href="/",De=!0),De}errorMessageHandling(Pe){let De="API Error",Me="Exception Message";return Pe.error?(De="API Error - "+Pe.status,Pe.error.Message&&(Me=-1!=Pe.error.Message.indexOf("Message")?JSON.parse(Pe.error.Message).Message:Pe.error.Message)):Pe.message&&(De="API Error - "+Pe.name,Me=Pe.message),{header:De,message:Me}}}Se.\u0275fac=function(Pe){return new(Pe||Se)(Te.LFG($e.eN),Te.LFG(Ye._W))},Se.\u0275prov=Te.Yz7({token:Se,factory:Se.\u0275fac,providedIn:"root"})},8002:(it,Ce,D)=>{D.d(Ce,{e:()=>f});var s=D(4650);class f{constructor(){}getParseToken(){let K=JSON.parse(window.localStorage.getItem("user"));return this.ParseToken(K.Token.access_token)}GetRoles(){return this.getParseToken().Role}ParseToken(K){try{const J=K.split(".")[0].replace("-","+").replace("_","/"),oe=JSON.parse(window.atob(J)),Q=K.split(".")[1].replace("-","+").replace("_","/"),j=JSON.parse(window.atob(Q));return j.header=oe,j}catch{return!1}}}f.\u0275fac=function(K){return new(K||f)},f.\u0275prov=s.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"})},2340:(it,Ce,D)=>{D.d(Ce,{N:()=>s});const s={production:!0,version:"2.7.9",firebaseConfig:{apiKey:"AIzaSyDnnitFXpM8TglWKNpzu4ChgF98n25Rgvw",authDomain:"auth.dealpos.com",projectId:"devops-signin",storageBucket:"devops-signin.appspot.com",messagingSenderId:"412465165194",appId:"1:412465165194:web:03d806f6b6ab6f8b460e73",measurementId:"G-MNDBRJ5XZD"}}},5059:(it,Ce,D)=>{var s=D(1481),f=D(4650),U=D(529),K=D(4707);function X(E,a){return(l,_)=>!E.call(a,l,_)}var J=D(9300),oe=D(8421),Q=D(6451),j=D(2805),Y=D(8746),W=D(3900),xe=D(4482),Te=D(5032),$e=D(5403);function Ye(E){return(0,xe.e)((a,l)=>{let _=!1,O=null,z=null;const ce=()=>{if(z?.unsubscribe(),z=null,_){_=!1;const he=O;O=null,l.next(he)}};a.subscribe((0,$e.x)(l,he=>{z?.unsubscribe(),_=!0,O=he,z=(0,$e.x)(l,ce,Te.Z),(0,oe.Xf)(E(he)).subscribe(z)},()=>{ce(),l.complete()},void 0,()=>{O=z=null}))})}var Se=D(1884),Fe=D(8505),Pe=D(6895);function De(E,a){1&E&&f.GkF(0)}function Me(E,a){if(1&E&&f._UZ(0,"sk-cube-grid",4),2&E){const l=f.oxw(2);f.Q6J("backgroundColor",l.backgroundColor)}}function H(E,a){if(1&E&&f._UZ(0,"sk-chasing-dots",4),2&E){const l=f.oxw(2);f.Q6J("backgroundColor",l.backgroundColor)}}function ae(E,a){if(1&E&&f._UZ(0,"sk-double-bounce",4),2&E){const l=f.oxw(2);f.Q6J("backgroundColor",l.backgroundColor)}}function le(E,a){if(1&E&&f._UZ(0,"sk-rotating-plane",4),2&E){const l=f.oxw(2);f.Q6J("backgroundColor",l.backgroundColor)}}function pe(E,a){if(1&E&&f._UZ(0,"sk-spinner-pulse",4),2&E){const l=f.oxw(2);f.Q6J("backgroundColor",l.backgroundColor)}}function se(E,a){if(1&E&&f._UZ(0,"sk-three-bounce",4),2&E){const l=f.oxw(2);f.Q6J("backgroundColor",l.backgroundColor)}}function ge(E,a){if(1&E&&f._UZ(0,"sk-wandering-cubes",4),2&E){const l=f.oxw(2);f.Q6J("backgroundColor",l.backgroundColor)}}function Z(E,a){if(1&E&&f._UZ(0,"sk-wave",4),2&E){const l=f.oxw(2);f.Q6J("backgroundColor",l.backgroundColor)}}const re=function(E){return{"background-color":E}};function Ie(E,a){if(1&E&&(f.TgZ(0,"div",1),f.YNc(1,De,1,0,"ng-container",2),f.YNc(2,Me,1,1,"sk-cube-grid",3),f.YNc(3,H,1,1,"sk-chasing-dots",3),f.YNc(4,ae,1,1,"sk-double-bounce",3),f.YNc(5,le,1,1,"sk-rotating-plane",3),f.YNc(6,pe,1,1,"sk-spinner-pulse",3),f.YNc(7,se,1,1,"sk-three-bounce",3),f.YNc(8,ge,1,1,"sk-wandering-cubes",3),f.YNc(9,Z,1,1,"sk-wave",3),f.qZA()),2&E){const l=f.oxw();f.Udp("opacity",l.opacity),f.ekj("backdrop",l.backdrop),f.Q6J("ngStyle",f.VKq(14,re,l.backdrop?l.backdropBackgroundColor:"transparent")),f.xp6(1),f.Q6J("ngComponentOutlet",l.entryComponent),f.xp6(1),f.Q6J("ngIf",l.spinner===l.spinkit.skCubeGrid),f.xp6(1),f.Q6J("ngIf",l.spinner===l.spinkit.skChasingDots),f.xp6(1),f.Q6J("ngIf",l.spinner===l.spinkit.skDoubleBounce),f.xp6(1),f.Q6J("ngIf",l.spinner===l.spinkit.skRotatingPlane),f.xp6(1),f.Q6J("ngIf",l.spinner===l.spinkit.skSpinnerPulse),f.xp6(1),f.Q6J("ngIf",l.spinner===l.spinkit.skThreeBounce),f.xp6(1),f.Q6J("ngIf",l.spinner===l.spinkit.skWanderingCubes),f.xp6(1),f.Q6J("ngIf",l.spinner===l.spinkit.skWave)}}let me=(()=>{class E{}return E.\u0275fac=function(l){return new(l||E)},E.\u0275dir=f.lG2({type:E,inputs:{backgroundColor:"backgroundColor"}}),E})(),We=(()=>{class E extends me{}return E.\u0275fac=function(){let a;return function(_){return(a||(a=f.n5z(E)))(_||E)}}(),E.\u0275cmp=f.Xpm({type:E,selectors:[["sk-chasing-dots"]],features:[f.qOj],decls:3,vars:6,consts:[[1,"sk-chasing-dots"],[1,"sk-child","sk-dot1"],[1,"sk-child","sk-dot2"]],template:function(l,_){1&l&&(f.TgZ(0,"div",0),f._UZ(1,"div",1)(2,"div",2),f.qZA()),2&l&&(f.ekj("colored",!_.backgroundColor),f.xp6(1),f.Udp("background-color",_.backgroundColor),f.xp6(1),f.Udp("background-color",_.backgroundColor))},styles:[".sk-chasing-dots[_ngcontent-%COMP%]{top:50%;margin:auto;width:40px;height:40px;position:relative;text-align:center;animation:_ngcontent-%COMP%_sk-chasingDotsRotate 2s infinite linear}.sk-chasing-dots[_ngcontent-%COMP%] .sk-child[_ngcontent-%COMP%]{width:60%;height:60%;display:inline-block;position:absolute;top:0;border-radius:100%;animation:_ngcontent-%COMP%_sk-chasingDotsBounce 2s infinite ease-in-out}.sk-chasing-dots[_ngcontent-%COMP%] .sk-dot2[_ngcontent-%COMP%]{top:auto;bottom:0;animation-delay:-1s}@keyframes _ngcontent-%COMP%_sk-chasingDotsRotate{to{transform:rotate(360deg)}}@keyframes _ngcontent-%COMP%_sk-chasingDotsBounce{0%,to{transform:scale(0)}50%{transform:scale(1)}}"]}),E})(),qe=(()=>{class E extends me{}return E.\u0275fac=function(){let a;return function(_){return(a||(a=f.n5z(E)))(_||E)}}(),E.\u0275cmp=f.Xpm({type:E,selectors:[["sk-cube-grid"]],features:[f.qOj],decls:10,vars:20,consts:[[1,"sk-cube-grid"],[1,"sk-cube","sk-cube1"],[1,"sk-cube","sk-cube2"],[1,"sk-cube","sk-cube3"],[1,"sk-cube","sk-cube4"],[1,"sk-cube","sk-cube5"],[1,"sk-cube","sk-cube6"],[1,"sk-cube","sk-cube7"],[1,"sk-cube","sk-cube8"],[1,"sk-cube","sk-cube9"]],template:function(l,_){1&l&&(f.TgZ(0,"div",0),f._UZ(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5)(6,"div",6)(7,"div",7)(8,"div",8)(9,"div",9),f.qZA()),2&l&&(f.ekj("colored",!_.backgroundColor),f.xp6(1),f.Udp("background-color",_.backgroundColor),f.xp6(1),f.Udp("background-color",_.backgroundColor),f.xp6(1),f.Udp("background-color",_.backgroundColor),f.xp6(1),f.Udp("background-color",_.backgroundColor),f.xp6(1),f.Udp("background-color",_.backgroundColor),f.xp6(1),f.Udp("background-color",_.backgroundColor),f.xp6(1),f.Udp("background-color",_.backgroundColor),f.xp6(1),f.Udp("background-color",_.backgroundColor),f.xp6(1),f.Udp("background-color",_.backgroundColor))},styles:[".sk-cube-grid[_ngcontent-%COMP%]{position:relative;top:50%;width:40px;height:40px;margin:auto}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube[_ngcontent-%COMP%]{width:33.33%;height:33.33%;float:left;animation:_ngcontent-%COMP%_sk-cubeGridScaleDelay 1.3s infinite ease-in-out}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube1[_ngcontent-%COMP%]{animation-delay:.2s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube2[_ngcontent-%COMP%]{animation-delay:.3s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube3[_ngcontent-%COMP%]{animation-delay:.4s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube4[_ngcontent-%COMP%]{animation-delay:.1s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube5[_ngcontent-%COMP%]{animation-delay:.2s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube6[_ngcontent-%COMP%]{animation-delay:.3s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube7[_ngcontent-%COMP%]{animation-delay:0s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube8[_ngcontent-%COMP%]{animation-delay:.1s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube9[_ngcontent-%COMP%]{animation-delay:.2s}@keyframes _ngcontent-%COMP%_sk-cubeGridScaleDelay{0%,70%,to{transform:scaleZ(1)}35%{transform:scale3D(0,0,1)}}"]}),E})(),pt=(()=>{class E extends me{}return E.\u0275fac=function(){let a;return function(_){return(a||(a=f.n5z(E)))(_||E)}}(),E.\u0275cmp=f.Xpm({type:E,selectors:[["sk-double-bounce"]],features:[f.qOj],decls:3,vars:6,consts:[[1,"sk-double-bounce"],[1,"sk-child","sk-double-bounce1"],[1,"sk-child","sk-double-bounce2"]],template:function(l,_){1&l&&(f.TgZ(0,"div",0),f._UZ(1,"div",1)(2,"div",2),f.qZA()),2&l&&(f.ekj("colored",!_.backgroundColor),f.xp6(1),f.Udp("background-color",_.backgroundColor),f.xp6(1),f.Udp("background-color",_.backgroundColor))},styles:[".sk-double-bounce[_ngcontent-%COMP%]{top:50%;width:40px;height:40px;position:relative;margin:auto}.sk-double-bounce[_ngcontent-%COMP%] .sk-child[_ngcontent-%COMP%]{width:100%;height:100%;border-radius:50%;background-color:#333;opacity:.6;position:absolute;top:0;left:0;animation:_ngcontent-%COMP%_sk-doubleBounce 2s infinite ease-in-out}.sk-double-bounce[_ngcontent-%COMP%] .sk-double-bounce2[_ngcontent-%COMP%]{animation-delay:-1s}@keyframes _ngcontent-%COMP%_sk-doubleBounce{0%,to{transform:scale(0)}50%{transform:scale(1)}}"]}),E})(),Ht=(()=>{class E extends me{}return E.\u0275fac=function(){let a;return function(_){return(a||(a=f.n5z(E)))(_||E)}}(),E.\u0275cmp=f.Xpm({type:E,selectors:[["sk-rotating-plane"]],features:[f.qOj],decls:1,vars:2,consts:[[1,"sk-rotating-plane","colored-parent"]],template:function(l,_){1&l&&f._UZ(0,"div",0),2&l&&f.Udp("background-color",_.backgroundColor)},styles:[".sk-rotating-plane[_ngcontent-%COMP%]{position:relative;top:50%;width:40px;height:40px;margin:auto;animation:_ngcontent-%COMP%_sk-rotatePlane 1.2s infinite ease-in-out}@keyframes _ngcontent-%COMP%_sk-rotatePlane{0%{transform:perspective(120px) rotateX(0) rotateY(0)}50%{transform:perspective(120px) rotateX(-180.1deg) rotateY(0)}to{transform:perspective(120px) rotateX(-180deg) rotateY(-179.9deg)}}"]}),E})(),en=(()=>{class E extends me{}return E.\u0275fac=function(){let a;return function(_){return(a||(a=f.n5z(E)))(_||E)}}(),E.\u0275cmp=f.Xpm({type:E,selectors:[["sk-spinner-pulse"]],features:[f.qOj],decls:1,vars:2,consts:[[1,"sk-spinner","sk-spinner-pulse","colored-parent"]],template:function(l,_){1&l&&f._UZ(0,"div",0),2&l&&f.Udp("background-color",_.backgroundColor)},styles:[".sk-spinner-pulse[_ngcontent-%COMP%]{position:relative;top:50%;width:40px;height:40px;margin:auto;border-radius:100%;animation:_ngcontent-%COMP%_sk-pulseScaleOut 1s infinite ease-in-out}@keyframes _ngcontent-%COMP%_sk-pulseScaleOut{0%{transform:scale(0)}to{transform:scale(1);opacity:0}}"]}),E})(),At=(()=>{class E extends me{}return E.\u0275fac=function(){let a;return function(_){return(a||(a=f.n5z(E)))(_||E)}}(),E.\u0275cmp=f.Xpm({type:E,selectors:[["sk-three-bounce"]],features:[f.qOj],decls:4,vars:8,consts:[[1,"sk-three-bounce"],[1,"sk-child","sk-bounce1"],[1,"sk-child","sk-bounce2"],[1,"sk-child","sk-bounce3"]],template:function(l,_){1&l&&(f.TgZ(0,"div",0),f._UZ(1,"div",1)(2,"div",2)(3,"div",3),f.qZA()),2&l&&(f.ekj("colored",!_.backgroundColor),f.xp6(1),f.Udp("background-color",_.backgroundColor),f.xp6(1),f.Udp("background-color",_.backgroundColor),f.xp6(1),f.Udp("background-color",_.backgroundColor))},styles:[".sk-three-bounce[_ngcontent-%COMP%]{top:50%;position:relative;margin:auto;width:80px;text-align:center}.sk-three-bounce[_ngcontent-%COMP%] .sk-child[_ngcontent-%COMP%]{width:20px;height:20px;border-radius:100%;display:inline-block;animation:_ngcontent-%COMP%_sk-three-bounce 1.4s ease-in-out 0s infinite both}.sk-three-bounce[_ngcontent-%COMP%] .sk-bounce1[_ngcontent-%COMP%]{animation-delay:-.32s}.sk-three-bounce[_ngcontent-%COMP%] .sk-bounce2[_ngcontent-%COMP%]{animation-delay:-.16s}@keyframes _ngcontent-%COMP%_sk-three-bounce{0%,80%,to{transform:scale(0)}40%{transform:scale(1)}}"]}),E})(),It=(()=>{class E extends me{}return E.\u0275fac=function(){let a;return function(_){return(a||(a=f.n5z(E)))(_||E)}}(),E.\u0275cmp=f.Xpm({type:E,selectors:[["sk-wandering-cubes"]],features:[f.qOj],decls:3,vars:6,consts:[[1,"sk-wandering-cubes"],[1,"sk-cube","sk-cube1"],[1,"sk-cube","sk-cube2"]],template:function(l,_){1&l&&(f.TgZ(0,"div",0),f._UZ(1,"div",1)(2,"div",2),f.qZA()),2&l&&(f.ekj("colored",!_.backgroundColor),f.xp6(1),f.Udp("background-color",_.backgroundColor),f.xp6(1),f.Udp("background-color",_.backgroundColor))},styles:[".sk-wandering-cubes[_ngcontent-%COMP%]{top:50%;margin:auto;width:40px;height:40px;position:relative}.sk-wandering-cubes[_ngcontent-%COMP%] .sk-cube[_ngcontent-%COMP%]{width:10px;height:10px;position:absolute;top:0;left:0;animation:_ngcontent-%COMP%_sk-wanderingCube 1.8s ease-in-out -1.8s infinite both}.sk-wandering-cubes[_ngcontent-%COMP%] .sk-cube2[_ngcontent-%COMP%]{animation-delay:-.9s}@keyframes _ngcontent-%COMP%_sk-wanderingCube{0%{transform:rotate(0)}25%{transform:translate(30px) rotate(-90deg) scale(.5)}50%{transform:translate(30px) translateY(30px) rotate(-179deg)}50.1%{transform:translate(30px) translateY(30px) rotate(-180deg)}75%{transform:translate(0) translateY(30px) rotate(-270deg) scale(.5)}to{transform:rotate(-360deg)}}"]}),E})(),Le=(()=>{class E extends me{}return E.\u0275fac=function(){let a;return function(_){return(a||(a=f.n5z(E)))(_||E)}}(),E.\u0275cmp=f.Xpm({type:E,selectors:[["sk-wave"]],features:[f.qOj],decls:6,vars:12,consts:[[1,"sk-wave"],[1,"sk-rect","sk-rect1"],[1,"sk-rect","sk-rect2"],[1,"sk-rect","sk-rect3"],[1,"sk-rect","sk-rect4"],[1,"sk-rect","sk-rect5"]],template:function(l,_){1&l&&(f.TgZ(0,"div",0),f._UZ(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5),f.qZA()),2&l&&(f.ekj("colored",!_.backgroundColor),f.xp6(1),f.Udp("background-color",_.backgroundColor),f.xp6(1),f.Udp("background-color",_.backgroundColor),f.xp6(1),f.Udp("background-color",_.backgroundColor),f.xp6(1),f.Udp("background-color",_.backgroundColor),f.xp6(1),f.Udp("background-color",_.backgroundColor))},styles:[".sk-wave[_ngcontent-%COMP%]{position:relative;top:50%;margin:auto;width:50px;height:40px;text-align:center;font-size:10px}.sk-wave[_ngcontent-%COMP%] .sk-rect[_ngcontent-%COMP%]{float:left;margin-right:1px;height:100%;width:6px;display:inline-block;animation:_ngcontent-%COMP%_sk-waveStretchDelay 1.2s infinite ease-in-out}.sk-wave[_ngcontent-%COMP%] .sk-rect1[_ngcontent-%COMP%]{animation-delay:-1.2s}.sk-wave[_ngcontent-%COMP%] .sk-rect2[_ngcontent-%COMP%]{animation-delay:-1.1s}.sk-wave[_ngcontent-%COMP%] .sk-rect3[_ngcontent-%COMP%]{animation-delay:-1s}.sk-wave[_ngcontent-%COMP%] .sk-rect4[_ngcontent-%COMP%]{animation-delay:-.9s}.sk-wave[_ngcontent-%COMP%] .sk-rect5[_ngcontent-%COMP%]{animation-delay:-.8s}@keyframes _ngcontent-%COMP%_sk-waveStretchDelay{0%,40%,to{transform:scaleY(.4)}20%{transform:scaleY(1)}}"]}),E})();const et={skChasingDots:"sk-chasing-dots",skCubeGrid:"sk-cube-grid",skDoubleBounce:"sk-double-bounce",skRotatingPlane:"sk-rotationg-plane",skSpinnerPulse:"sk-spinner-pulse",skThreeBounce:"sk-three-bounce",skWanderingCubes:"sk-wandering-cubes",skWave:"sk-wave"};let Ne=(()=>{class E{constructor(){this._pendingRequests=0,this._pendingRequestsStatus$=new K.t(1),this._filteredUrlPatterns=[],this._filteredMethods=[],this._filteredHeaders=[],this._forceByPass=!1}get pendingRequestsStatus$(){return this._pendingRequestsStatus$.asObservable()}get pendingRequests(){return this._pendingRequests}get filteredUrlPatterns(){return this._filteredUrlPatterns}set filteredMethods(l){this._filteredMethods=l}set filteredHeaders(l){this._filteredHeaders=l}set forceByPass(l){this._forceByPass=l}shouldBypassUrl(l){return this._filteredUrlPatterns.some(_=>_.test(l))}shouldBypassMethod(l){return this._filteredMethods.some(_=>_.toUpperCase()===l.method.toUpperCase())}shouldBypassHeader(l){return this._filteredHeaders.some(_=>l.headers.has(_))}shouldBypass(l){return this._forceByPass||this.shouldBypassUrl(l.urlWithParams)||this.shouldBypassMethod(l)||this.shouldBypassHeader(l)}intercept(l,_){const O=this.shouldBypass(l);return O||(this._pendingRequests++,1===this._pendingRequests&&this._pendingRequestsStatus$.next(!0)),_.handle(l).pipe((0,Y.x)(()=>{O||(this._pendingRequests--,0===this._pendingRequests&&this._pendingRequestsStatus$.next(!1))}))}}return E.\u0275fac=function(l){return new(l||E)},E.\u0275prov=f.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"}),E})();const rt=[{provide:U.TP,useExisting:Ne,multi:!0}];let Ft=(()=>{class E{constructor(l){this.pendingRequestsInterceptor=l,this._visibility$=new K.t(1)}get visibility$(){return this._visibility$.asObservable()}show(){this.pendingRequestsInterceptor.forceByPass=!0,this._visibility$.next(!0)}hide(){this._visibility$.next(!1),this.pendingRequestsInterceptor.forceByPass=!1}}return E.\u0275fac=function(l){return new(l||E)(f.LFG(Ne))},E.\u0275prov=f.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"}),E})(),$t=(()=>{class E{constructor(l,_){this.pendingRequestsInterceptor=l,this.spinnerVisibility=_,this.spinkit=et,this.visibleUntil=Date.now(),this.backdrop=!0,this.debounceDelay=0,this.entryComponent=null,this.extraDuration=0,this.filteredHeaders=[],this.filteredMethods=[],this.filteredUrlPatterns=[],this.minDuration=0,this.opacity=".7",this.backdropBackgroundColor="#f1f1f1",this.spinner=et.skWave}ngOnInit(){this.initIsvisibleObservable(),this.nullifySpinnerIfEntryComponentIsDefined(),this.initFilters()}initIsvisibleObservable(){const[l,_]=function ee(E,a,l){return[(0,J.h)(a,l)((0,oe.Xf)(E)),(0,J.h)(X(a,l))((0,oe.Xf)(E))]}(this.pendingRequestsInterceptor.pendingRequestsStatus$,O=>O);this.isVisible$=(0,Q.T)(this.pendingRequestsInterceptor.pendingRequestsStatus$.pipe((0,W.w)(()=>l.pipe(Ye(()=>(0,j.H)(this.debounceDelay))))),l.pipe((0,W.w)(()=>_.pipe(Ye(()=>this.getVisibilityTimer$())))),this.spinnerVisibility.visibility$).pipe((0,Se.x)(),(0,Fe.b)(O=>this.updateExpirationDelay(O)))}nullifySpinnerIfEntryComponentIsDefined(){this.entryComponent&&(this.spinner=null)}initFilters(){this.initFilteredUrlPatterns(),this.initFilteredMethods(),this.initFilteredHeaders()}initFilteredUrlPatterns(){this.filteredUrlPatterns.length&&this.filteredUrlPatterns.forEach(l=>this.pendingRequestsInterceptor.filteredUrlPatterns.push(new RegExp(l)))}initFilteredMethods(){this.pendingRequestsInterceptor.filteredMethods=this.filteredMethods}initFilteredHeaders(){this.pendingRequestsInterceptor.filteredHeaders=this.filteredHeaders}updateExpirationDelay(l){l&&(this.visibleUntil=Date.now()+this.minDuration)}getVisibilityTimer$(){return(0,j.H)(Math.max(this.extraDuration,this.visibleUntil-Date.now()))}}return E.\u0275fac=function(l){return new(l||E)(f.Y36(Ne),f.Y36(Ft))},E.\u0275cmp=f.Xpm({type:E,selectors:[["ng-http-loader"]],inputs:{backdrop:"backdrop",backgroundColor:"backgroundColor",debounceDelay:"debounceDelay",entryComponent:"entryComponent",extraDuration:"extraDuration",filteredHeaders:"filteredHeaders",filteredMethods:"filteredMethods",filteredUrlPatterns:"filteredUrlPatterns",minDuration:"minDuration",opacity:"opacity",backdropBackgroundColor:"backdropBackgroundColor",spinner:"spinner"},decls:2,vars:3,consts:[["id","spinner",3,"backdrop","opacity","ngStyle",4,"ngIf"],["id","spinner",3,"ngStyle"],[4,"ngComponentOutlet"],[3,"backgroundColor",4,"ngIf"],[3,"backgroundColor"]],template:function(l,_){1&l&&(f.YNc(0,Ie,10,16,"div",0),f.ALo(1,"async")),2&l&&f.Q6J("ngIf",f.lcZ(1,1,_.isVisible$))},dependencies:[Pe.$G,Pe.O5,Pe.PC,qe,We,pt,Ht,en,At,It,Le,Pe.Ov],styles:["#spinner[_ngcontent-%COMP%]{top:50%;left:50%;transform:translate(-50%,-50%);position:fixed;z-index:9999}#spinner.backdrop[_ngcontent-%COMP%]{top:0;left:0;height:100%;width:100%;display:flex;align-items:center;justify-content:center;transform:none} .colored-parent, .colored>div{background-color:#333}"]}),E})(),ln=(()=>{class E{static forRoot(){return{ngModule:E,providers:[rt]}}}return E.\u0275fac=function(l){return new(l||E)},E.\u0275mod=f.oAB({type:E}),E.\u0275inj=f.cJS({imports:[Pe.ez]}),E})();var Kt=D(1318),Wn=D(8002),vn=D(284);const kn=[{path:"",loadChildren:()=>Promise.all([D.e(87),D.e(369)]).then(D.bind(D,9369)).then(E=>E.LoginModule)},{path:"menu",loadChildren:()=>Promise.all([D.e(87),D.e(397)]).then(D.bind(D,2397)).then(E=>E.MenuModule)},{path:"**",redirectTo:"",pathMatch:"full"}];class In{}In.\u0275fac=function(a){return new(a||In)},In.\u0275mod=f.oAB({type:In}),In.\u0275inj=f.cJS({imports:[vn.Bz.forRoot(kn,{}),vn.Bz]});var Xt=D(4004),wn=D(5577);class Gt{constructor(a,l,_){this._router=a,this.titleService=l,this.activatedRoute=_}ngOnInit(){this.overrideDateToJsonFunction(),this._router.events.pipe((0,J.h)(a=>a instanceof vn.m2)).pipe((0,Xt.U)(()=>this.activatedRoute),(0,Xt.U)(a=>{for(;a.firstChild;)a=a.firstChild;return a}),(0,J.h)(a=>"primary"===a.outlet),(0,wn.z)(a=>a.data)).subscribe(a=>{let l=" | Marketplace";"Dealpos x Marketplace"==a.title&&(l=""),this.titleService.setTitle(a.title+l)})}overrideDateToJsonFunction(){function a(l){return l<10?"0"+l:l}Date.prototype.toJSON=function(){return this.getFullYear()+"-"+a(this.getMonth()+1)+"-"+a(this.getDate())+"T"+a(this.getHours())+":"+a(this.getMinutes())+":"+a(this.getSeconds())+".000"}}}Gt.\u0275fac=function(a){return new(a||Gt)(f.Y36(vn.F0),f.Y36(s.Dx),f.Y36(vn.gz))},Gt.\u0275cmp=f.Xpm({type:Gt,selectors:[["app-root"]],decls:2,vars:0,template:function(a,l){1&a&&f._UZ(0,"router-outlet")(1,"ng-http-loader")},dependencies:[vn.lC,$t]});var yt=D(7340);function tn(E){return new f.vHH(3e3,!1)}function $(){return typeof window<"u"&&typeof window.document<"u"}function ue(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function Ke(E){switch(E.length){case 0:return new yt.ZN;case 1:return E[0];default:return new yt.ZE(E)}}function vt(E,a,l,_,O=new Map,z=new Map){const ce=[],he=[];let Be=-1,Je=null;if(_.forEach(bt=>{const Dt=bt.get("offset"),sn=Dt==Be,Yt=sn&&Je||new Map;bt.forEach((Ut,Zt)=>{let Fn=Zt,or=Ut;if("offset"!==Zt)switch(Fn=a.normalizePropertyName(Fn,ce),or){case yt.k1:or=O.get(Zt);break;case yt.l3:or=z.get(Zt);break;default:or=a.normalizeStyleValue(Zt,Fn,or,ce)}Yt.set(Fn,or)}),sn||he.push(Yt),Je=Yt,Be=Dt}),ce.length)throw function ve(E){return new f.vHH(3502,!1)}();return he}function Dn(E,a,l,_){switch(a){case"start":E.onStart(()=>_(l&&Mn(l,"start",E)));break;case"done":E.onDone(()=>_(l&&Mn(l,"done",E)));break;case"destroy":E.onDestroy(()=>_(l&&Mn(l,"destroy",E)))}}function Mn(E,a,l){const z=Dr(E.element,E.triggerName,E.fromState,E.toState,a||E.phaseName,l.totalTime??E.totalTime,!!l.disabled),ce=E._data;return null!=ce&&(z._data=ce),z}function Dr(E,a,l,_,O="",z=0,ce){return{element:E,triggerName:a,fromState:l,toState:_,phaseName:O,totalTime:z,disabled:!!ce}}function Sn(E,a,l){let _=E.get(a);return _||E.set(a,_=l),_}function Jr(E){const a=E.indexOf(":");return[E.substring(1,a),E.slice(a+1)]}let si=(E,a)=>!1,oo=(E,a,l)=>[],Hi=null;function Ur(E){const a=E.parentNode||E.host;return a===Hi?null:a}(ue()||typeof Element<"u")&&($()?(Hi=(()=>document.documentElement)(),si=(E,a)=>{for(;a;){if(a===E)return!0;a=Ur(a)}return!1}):si=(E,a)=>E.contains(a),oo=(E,a,l)=>{if(l)return Array.from(E.querySelectorAll(a));const _=E.querySelector(a);return _?[_]:[]});let Nn=null,cr=!1;const gt=si,Vt=oo;let ur=(()=>{class E{validateStyleProperty(l){return function qn(E){Nn||(Nn=function xr(){return typeof document<"u"?document.body:null}()||{},cr=!!Nn.style&&"WebkitAppearance"in Nn.style);let a=!0;return Nn.style&&!function _n(E){return"ebkit"==E.substring(1,6)}(E)&&(a=E in Nn.style,!a&&cr&&(a="Webkit"+E.charAt(0).toUpperCase()+E.slice(1)in Nn.style)),a}(l)}matchesElement(l,_){return!1}containsElement(l,_){return gt(l,_)}getParentElement(l){return Ur(l)}query(l,_,O){return Vt(l,_,O)}computeStyle(l,_,O){return O||""}animate(l,_,O,z,ce,he=[],Be){return new yt.ZN(O,z)}}return E.\u0275fac=function(l){return new(l||E)},E.\u0275prov=f.Yz7({token:E,factory:E.\u0275fac}),E})(),Er=(()=>{class E{}return E.NOOP=new ur,E})();const Or="ng-enter",Cr="ng-leave",nn="ng-trigger",Ti=".ng-trigger",Mi="ng-animating",$i=".ng-animating";function nr(E){if("number"==typeof E)return E;const a=E.match(/^(-?[\.\d]+)(m?s)/);return!a||a.length<2?0:dr(parseFloat(a[1]),a[2])}function dr(E,a){return"s"===a?1e3*E:E}function _i(E,a,l){return E.hasOwnProperty("duration")?E:function fi(E,a,l){let O,z=0,ce="";if("string"==typeof E){const he=E.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===he)return a.push(tn()),{duration:0,delay:0,easing:""};O=dr(parseFloat(he[1]),he[2]);const Be=he[3];null!=Be&&(z=dr(parseFloat(Be),he[4]));const Je=he[5];Je&&(ce=Je)}else O=E;if(!l){let he=!1,Be=a.length;O<0&&(a.push(function $n(){return new f.vHH(3100,!1)}()),he=!0),z<0&&(a.push(function gn(){return new f.vHH(3101,!1)}()),he=!0),he&&a.splice(Be,0,tn())}return{duration:O,delay:z,easing:ce}}(E,a,l)}function wr(E,a={}){return Object.keys(E).forEach(l=>{a[l]=E[l]}),a}function hi(E){const a=new Map;return Object.keys(E).forEach(l=>{a.set(l,E[l])}),a}function fr(E,a=new Map,l){if(l)for(let[_,O]of l)a.set(_,O);for(let[_,O]of E)a.set(_,O);return a}function Ii(E,a,l){return l?a+":"+l+";":""}function Uo(E){let a="";for(let l=0;l<E.style.length;l++){const _=E.style.item(l);a+=Ii(0,_,E.style.getPropertyValue(_))}for(const l in E.style)E.style.hasOwnProperty(l)&&!l.startsWith("_")&&(a+=Ii(0,Rr(l),E.style[l]));E.setAttribute("style",a)}function Pr(E,a,l){E.style&&(a.forEach((_,O)=>{const z=Gi(O);l&&!l.has(O)&&l.set(O,E.style[z]),E.style[z]=_}),ue()&&Uo(E))}function Wr(E,a){E.style&&(a.forEach((l,_)=>{const O=Gi(_);E.style[O]=""}),ue()&&Uo(E))}function hr(E){return Array.isArray(E)?1==E.length?E[0]:(0,yt.vP)(E):E}const go=new RegExp("{{\\s*(.+?)\\s*}}","g");function _r(E){let a=[];if("string"==typeof E){let l;for(;l=go.exec(E);)a.push(l[1]);go.lastIndex=0}return a}function Kn(E,a,l){const _=E.toString(),O=_.replace(go,(z,ce)=>{let he=a[ce];return null==he&&(l.push(function Hn(E){return new f.vHH(3003,!1)}()),he=""),he.toString()});return O==_?E:O}function qr(E){const a=[];let l=E.next();for(;!l.done;)a.push(l.value),l=E.next();return a}const zi=/-+([a-z0-9])/g;function Gi(E){return E.replace(zi,(...a)=>a[1].toUpperCase())}function Rr(E){return E.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Fr(E,a,l){switch(a.type){case 7:return E.visitTrigger(a,l);case 0:return E.visitState(a,l);case 1:return E.visitTransition(a,l);case 2:return E.visitSequence(a,l);case 3:return E.visitGroup(a,l);case 4:return E.visitAnimate(a,l);case 5:return E.visitKeyframes(a,l);case 6:return E.visitStyle(a,l);case 8:return E.visitReference(a,l);case 9:return E.visitAnimateChild(a,l);case 10:return E.visitAnimateRef(a,l);case 11:return E.visitQuery(a,l);case 12:return E.visitStagger(a,l);default:throw function Ot(E){return new f.vHH(3004,!1)}()}}function Ai(E,a){return window.getComputedStyle(E)[a]}function _e(E,a){const l=[];return"string"==typeof E?E.split(/\s*,\s*/).forEach(_=>function be(E,a,l){if(":"==E[0]){const Be=function ke(E,a){switch(E){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(l,_)=>parseFloat(_)>parseFloat(l);case":decrement":return(l,_)=>parseFloat(_)<parseFloat(l);default:return a.push(function ne(E){return new f.vHH(3016,!1)}()),"* => *"}}(E,l);if("function"==typeof Be)return void a.push(Be);E=Be}const _=E.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==_||_.length<4)return l.push(function lt(E){return new f.vHH(3015,!1)}()),a;const O=_[1],z=_[2],ce=_[3];a.push(ht(O,ce));"<"==z[0]&&!("*"==O&&"*"==ce)&&a.push(ht(ce,O))}(_,l,a)):l.push(E),l}const Xe=new Set(["true","1"]),at=new Set(["false","0"]);function ht(E,a){const l=Xe.has(E)||at.has(E),_=Xe.has(a)||at.has(a);return(O,z)=>{let ce="*"==E||E==O,he="*"==a||a==z;return!ce&&l&&"boolean"==typeof O&&(ce=O?Xe.has(E):at.has(E)),!he&&_&&"boolean"==typeof z&&(he=z?Xe.has(a):at.has(a)),ce&&he}}const jn=new RegExp("s*:selfs*,?","g");function rn(E,a,l,_){return new kr(E).build(a,l,_)}class kr{constructor(a){this._driver=a}build(a,l,_){const O=new li(l);return this._resetContextStyleTimingState(O),Fr(this,hr(a),O)}_resetContextStyleTimingState(a){a.currentQuerySelector="",a.collectedStyles=new Map,a.collectedStyles.set("",new Map),a.currentTime=0}visitTrigger(a,l){let _=l.queryCount=0,O=l.depCount=0;const z=[],ce=[];return"@"==a.name.charAt(0)&&l.errors.push(function ut(){return new f.vHH(3006,!1)}()),a.definitions.forEach(he=>{if(this._resetContextStyleTimingState(l),0==he.type){const Be=he,Je=Be.name;Je.toString().split(/\s*,\s*/).forEach(bt=>{Be.name=bt,z.push(this.visitState(Be,l))}),Be.name=Je}else if(1==he.type){const Be=this.visitTransition(he,l);_+=Be.queryCount,O+=Be.depCount,ce.push(Be)}else l.errors.push(function xt(){return new f.vHH(3007,!1)}())}),{type:7,name:a.name,states:z,transitions:ce,queryCount:_,depCount:O,options:null}}visitState(a,l){const _=this.visitStyle(a.styles,l),O=a.options&&a.options.params||null;if(_.containsDynamicStyles){const z=new Set,ce=O||{};_.styles.forEach(he=>{he instanceof Map&&he.forEach(Be=>{_r(Be).forEach(Je=>{ce.hasOwnProperty(Je)||z.add(Je)})})}),z.size&&(qr(z.values()),l.errors.push(function ze(E,a){return new f.vHH(3008,!1)}()))}return{type:0,name:a.name,style:_,options:O?{params:O}:null}}visitTransition(a,l){l.queryCount=0,l.depCount=0;const _=Fr(this,hr(a.animation),l);return{type:1,matchers:_e(a.expr,l.errors),animation:_,queryCount:l.queryCount,depCount:l.depCount,options:Hr(a.options)}}visitSequence(a,l){return{type:2,steps:a.steps.map(_=>Fr(this,_,l)),options:Hr(a.options)}}visitGroup(a,l){const _=l.currentTime;let O=0;const z=a.steps.map(ce=>{l.currentTime=_;const he=Fr(this,ce,l);return O=Math.max(O,l.currentTime),he});return l.currentTime=O,{type:3,steps:z,options:Hr(a.options)}}visitAnimate(a,l){const _=function yi(E,a){if(E.hasOwnProperty("duration"))return E;if("number"==typeof E)return Yi(_i(E,a).duration,0,"");const l=E;if(l.split(/\s+/).some(z=>"{"==z.charAt(0)&&"{"==z.charAt(1))){const z=Yi(0,0,"");return z.dynamic=!0,z.strValue=l,z}const O=_i(l,a);return Yi(O.duration,O.delay,O.easing)}(a.timings,l.errors);l.currentAnimateTimings=_;let O,z=a.styles?a.styles:(0,yt.oB)({});if(5==z.type)O=this.visitKeyframes(z,l);else{let ce=a.styles,he=!1;if(!ce){he=!0;const Je={};_.easing&&(Je.easing=_.easing),ce=(0,yt.oB)(Je)}l.currentTime+=_.duration+_.delay;const Be=this.visitStyle(ce,l);Be.isEmptyStep=he,O=Be}return l.currentAnimateTimings=null,{type:4,timings:_,style:O,options:null}}visitStyle(a,l){const _=this._makeStyleAst(a,l);return this._validateStyleAst(_,l),_}_makeStyleAst(a,l){const _=[],O=Array.isArray(a.styles)?a.styles:[a.styles];for(let he of O)"string"==typeof he?he===yt.l3?_.push(he):l.errors.push(new f.vHH(3002,!1)):_.push(hi(he));let z=!1,ce=null;return _.forEach(he=>{if(he instanceof Map&&(he.has("easing")&&(ce=he.get("easing"),he.delete("easing")),!z))for(let Be of he.values())if(Be.toString().indexOf("{{")>=0){z=!0;break}}),{type:6,styles:_,easing:ce,offset:a.offset,containsDynamicStyles:z,options:null}}_validateStyleAst(a,l){const _=l.currentAnimateTimings;let O=l.currentTime,z=l.currentTime;_&&z>0&&(z-=_.duration+_.delay),a.styles.forEach(ce=>{"string"!=typeof ce&&ce.forEach((he,Be)=>{const Je=l.collectedStyles.get(l.currentQuerySelector),bt=Je.get(Be);let Dt=!0;bt&&(z!=O&&z>=bt.startTime&&O<=bt.endTime&&(l.errors.push(function Ze(E,a,l,_,O){return new f.vHH(3010,!1)}()),Dt=!1),z=bt.startTime),Dt&&Je.set(Be,{startTime:z,endTime:O}),l.options&&function gr(E,a,l){const _=a.params||{},O=_r(E);O.length&&O.forEach(z=>{_.hasOwnProperty(z)||l.push(function bn(E){return new f.vHH(3001,!1)}())})}(he,l.options,l.errors)})})}visitKeyframes(a,l){const _={type:5,styles:[],options:null};if(!l.currentAnimateTimings)return l.errors.push(function kt(){return new f.vHH(3011,!1)}()),_;let z=0;const ce=[];let he=!1,Be=!1,Je=0;const bt=a.steps.map(or=>{const Ir=this._makeStyleAst(or,l);let Sr=null!=Ir.offset?Ir.offset:function so(E){if("string"==typeof E)return null;let a=null;if(Array.isArray(E))E.forEach(l=>{if(l instanceof Map&&l.has("offset")){const _=l;a=parseFloat(_.get("offset")),_.delete("offset")}});else if(E instanceof Map&&E.has("offset")){const l=E;a=parseFloat(l.get("offset")),l.delete("offset")}return a}(Ir.styles),er=0;return null!=Sr&&(z++,er=Ir.offset=Sr),Be=Be||er<0||er>1,he=he||er<Je,Je=er,ce.push(er),Ir});Be&&l.errors.push(function Mt(){return new f.vHH(3012,!1)}()),he&&l.errors.push(function Yn(){return new f.vHH(3200,!1)}());const Dt=a.steps.length;let sn=0;z>0&&z<Dt?l.errors.push(function Pt(){return new f.vHH(3202,!1)}()):0==z&&(sn=1/(Dt-1));const Yt=Dt-1,Ut=l.currentTime,Zt=l.currentAnimateTimings,Fn=Zt.duration;return bt.forEach((or,Ir)=>{const Sr=sn>0?Ir==Yt?1:sn*Ir:ce[Ir],er=Sr*Fn;l.currentTime=Ut+Zt.delay+er,Zt.duration=er,this._validateStyleAst(or,l),or.offset=Sr,_.styles.push(or)}),_}visitReference(a,l){return{type:8,animation:Fr(this,hr(a.animation),l),options:Hr(a.options)}}visitAnimateChild(a,l){return l.depCount++,{type:9,options:Hr(a.options)}}visitAnimateRef(a,l){return{type:10,animation:this.visitReference(a.animation,l),options:Hr(a.options)}}visitQuery(a,l){const _=l.currentQuerySelector,O=a.options||{};l.queryCount++,l.currentQuery=a;const[z,ce]=function Oi(E){const a=!!E.split(/\s*,\s*/).find(l=>":self"==l);return a&&(E=E.replace(jn,"")),E=E.replace(/@\*/g,Ti).replace(/@\w+/g,l=>Ti+"-"+l.slice(1)).replace(/:animating/g,$i),[E,a]}(a.selector);l.currentQuerySelector=_.length?_+" "+z:z,Sn(l.collectedStyles,l.currentQuerySelector,new Map);const he=Fr(this,hr(a.animation),l);return l.currentQuery=null,l.currentQuerySelector=_,{type:11,selector:z,limit:O.limit||0,optional:!!O.optional,includeSelf:ce,animation:he,originalSelector:a.selector,options:Hr(a.options)}}visitStagger(a,l){l.currentQuery||l.errors.push(function Tn(){return new f.vHH(3013,!1)}());const _="full"===a.timings?{duration:0,delay:0,easing:"full"}:_i(a.timings,l.errors,!0);return{type:12,animation:Fr(this,hr(a.animation),l),timings:_,options:null}}}class li{constructor(a){this.errors=a,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function Hr(E){return E?(E=wr(E)).params&&(E.params=function ai(E){return E?wr(E):null}(E.params)):E={},E}function Yi(E,a,l){return{duration:E,delay:a,easing:l}}function Tr(E,a,l,_,O,z,ce=null,he=!1){return{type:1,element:E,keyframes:a,preStyleProps:l,postStyleProps:_,duration:O,delay:z,totalTime:O+z,easing:ce,subTimeline:he}}class ti{constructor(){this._map=new Map}get(a){return this._map.get(a)||[]}append(a,l){let _=this._map.get(a);_||this._map.set(a,_=[]),_.push(...l)}has(a){return this._map.has(a)}clear(){this._map.clear()}}const ni=new RegExp(":enter","g"),So=new RegExp(":leave","g");function Kr(E,a,l,_,O,z=new Map,ce=new Map,he,Be,Je=[]){return(new yr).buildKeyframes(E,a,l,_,O,z,ce,he,Be,Je)}class yr{buildKeyframes(a,l,_,O,z,ce,he,Be,Je,bt=[]){Je=Je||new ti;const Dt=new Zi(a,l,Je,O,z,bt,[]);Dt.options=Be;const sn=Be.delay?nr(Be.delay):0;Dt.currentTimeline.delayNextStep(sn),Dt.currentTimeline.setStyles([ce],null,Dt.errors,Be),Fr(this,_,Dt);const Yt=Dt.timelines.filter(Ut=>Ut.containsAnimation());if(Yt.length&&he.size){let Ut;for(let Zt=Yt.length-1;Zt>=0;Zt--){const Fn=Yt[Zt];if(Fn.element===l){Ut=Fn;break}}Ut&&!Ut.allowOnlyTimelineStyles()&&Ut.setStyles([he],null,Dt.errors,Be)}return Yt.length?Yt.map(Ut=>Ut.buildKeyframes()):[Tr(l,[],[],[],0,sn,"",!1)]}visitTrigger(a,l){}visitState(a,l){}visitTransition(a,l){}visitAnimateChild(a,l){const _=l.subInstructions.get(l.element);if(_){const O=l.createSubContext(a.options),z=l.currentTimeline.currentTime,ce=this._visitSubInstructions(_,O,O.options);z!=ce&&l.transformIntoNewTimeline(ce)}l.previousNode=a}visitAnimateRef(a,l){const _=l.createSubContext(a.options);_.transformIntoNewTimeline(),this._applyAnimationRefDelays([a.options,a.animation.options],l,_),this.visitReference(a.animation,_),l.transformIntoNewTimeline(_.currentTimeline.currentTime),l.previousNode=a}_applyAnimationRefDelays(a,l,_){for(const O of a){const z=O?.delay;if(z){const ce="number"==typeof z?z:nr(Kn(z,O?.params??{},l.errors));_.delayNextStep(ce)}}}_visitSubInstructions(a,l,_){let z=l.currentTimeline.currentTime;const ce=null!=_.duration?nr(_.duration):null,he=null!=_.delay?nr(_.delay):null;return 0!==ce&&a.forEach(Be=>{const Je=l.appendInstructionToTimeline(Be,ce,he);z=Math.max(z,Je.duration+Je.delay)}),z}visitReference(a,l){l.updateOptions(a.options,!0),Fr(this,a.animation,l),l.previousNode=a}visitSequence(a,l){const _=l.subContextCount;let O=l;const z=a.options;if(z&&(z.params||z.delay)&&(O=l.createSubContext(z),O.transformIntoNewTimeline(),null!=z.delay)){6==O.previousNode.type&&(O.currentTimeline.snapshotCurrentStyles(),O.previousNode=ao);const ce=nr(z.delay);O.delayNextStep(ce)}a.steps.length&&(a.steps.forEach(ce=>Fr(this,ce,O)),O.currentTimeline.applyStylesToKeyframe(),O.subContextCount>_&&O.transformIntoNewTimeline()),l.previousNode=a}visitGroup(a,l){const _=[];let O=l.currentTimeline.currentTime;const z=a.options&&a.options.delay?nr(a.options.delay):0;a.steps.forEach(ce=>{const he=l.createSubContext(a.options);z&&he.delayNextStep(z),Fr(this,ce,he),O=Math.max(O,he.currentTimeline.currentTime),_.push(he.currentTimeline)}),_.forEach(ce=>l.currentTimeline.mergeTimelineCollectedStyles(ce)),l.transformIntoNewTimeline(O),l.previousNode=a}_visitTiming(a,l){if(a.dynamic){const _=a.strValue;return _i(l.params?Kn(_,l.params,l.errors):_,l.errors)}return{duration:a.duration,delay:a.delay,easing:a.easing}}visitAnimate(a,l){const _=l.currentAnimateTimings=this._visitTiming(a.timings,l),O=l.currentTimeline;_.delay&&(l.incrementTime(_.delay),O.snapshotCurrentStyles());const z=a.style;5==z.type?this.visitKeyframes(z,l):(l.incrementTime(_.duration),this.visitStyle(z,l),O.applyStylesToKeyframe()),l.currentAnimateTimings=null,l.previousNode=a}visitStyle(a,l){const _=l.currentTimeline,O=l.currentAnimateTimings;!O&&_.hasCurrentStyleProperties()&&_.forwardFrame();const z=O&&O.easing||a.easing;a.isEmptyStep?_.applyEmptyStep(z):_.setStyles(a.styles,z,l.errors,l.options),l.previousNode=a}visitKeyframes(a,l){const _=l.currentAnimateTimings,O=l.currentTimeline.duration,z=_.duration,he=l.createSubContext().currentTimeline;he.easing=_.easing,a.styles.forEach(Be=>{he.forwardTime((Be.offset||0)*z),he.setStyles(Be.styles,Be.easing,l.errors,l.options),he.applyStylesToKeyframe()}),l.currentTimeline.mergeTimelineCollectedStyles(he),l.transformIntoNewTimeline(O+z),l.previousNode=a}visitQuery(a,l){const _=l.currentTimeline.currentTime,O=a.options||{},z=O.delay?nr(O.delay):0;z&&(6===l.previousNode.type||0==_&&l.currentTimeline.hasCurrentStyleProperties())&&(l.currentTimeline.snapshotCurrentStyles(),l.previousNode=ao);let ce=_;const he=l.invokeQuery(a.selector,a.originalSelector,a.limit,a.includeSelf,!!O.optional,l.errors);l.currentQueryTotal=he.length;let Be=null;he.forEach((Je,bt)=>{l.currentQueryIndex=bt;const Dt=l.createSubContext(a.options,Je);z&&Dt.delayNextStep(z),Je===l.element&&(Be=Dt.currentTimeline),Fr(this,a.animation,Dt),Dt.currentTimeline.applyStylesToKeyframe(),ce=Math.max(ce,Dt.currentTimeline.currentTime)}),l.currentQueryIndex=0,l.currentQueryTotal=0,l.transformIntoNewTimeline(ce),Be&&(l.currentTimeline.mergeTimelineCollectedStyles(Be),l.currentTimeline.snapshotCurrentStyles()),l.previousNode=a}visitStagger(a,l){const _=l.parentContext,O=l.currentTimeline,z=a.timings,ce=Math.abs(z.duration),he=ce*(l.currentQueryTotal-1);let Be=ce*l.currentQueryIndex;switch(z.duration<0?"reverse":z.easing){case"reverse":Be=he-Be;break;case"full":Be=_.currentStaggerTime}const bt=l.currentTimeline;Be&&bt.delayNextStep(Be);const Dt=bt.currentTime;Fr(this,a.animation,l),l.previousNode=a,_.currentStaggerTime=O.currentTime-Dt+(O.startTime-_.currentTimeline.startTime)}}const ao={};class Zi{constructor(a,l,_,O,z,ce,he,Be){this._driver=a,this.element=l,this.subInstructions=_,this._enterClassName=O,this._leaveClassName=z,this.errors=ce,this.timelines=he,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=ao,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=Be||new Yr(this._driver,l,0),he.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(a,l){if(!a)return;const _=a;let O=this.options;null!=_.duration&&(O.duration=nr(_.duration)),null!=_.delay&&(O.delay=nr(_.delay));const z=_.params;if(z){let ce=O.params;ce||(ce=this.options.params={}),Object.keys(z).forEach(he=>{(!l||!ce.hasOwnProperty(he))&&(ce[he]=Kn(z[he],ce,this.errors))})}}_copyOptions(){const a={};if(this.options){const l=this.options.params;if(l){const _=a.params={};Object.keys(l).forEach(O=>{_[O]=l[O]})}}return a}createSubContext(a=null,l,_){const O=l||this.element,z=new Zi(this._driver,O,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(O,_||0));return z.previousNode=this.previousNode,z.currentAnimateTimings=this.currentAnimateTimings,z.options=this._copyOptions(),z.updateOptions(a),z.currentQueryIndex=this.currentQueryIndex,z.currentQueryTotal=this.currentQueryTotal,z.parentContext=this,this.subContextCount++,z}transformIntoNewTimeline(a){return this.previousNode=ao,this.currentTimeline=this.currentTimeline.fork(this.element,a),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(a,l,_){const O={duration:l??a.duration,delay:this.currentTimeline.currentTime+(_??0)+a.delay,easing:""},z=new Nr(this._driver,a.element,a.keyframes,a.preStyleProps,a.postStyleProps,O,a.stretchStartingKeyframe);return this.timelines.push(z),O}incrementTime(a){this.currentTimeline.forwardTime(this.currentTimeline.duration+a)}delayNextStep(a){a>0&&this.currentTimeline.delayNextStep(a)}invokeQuery(a,l,_,O,z,ce){let he=[];if(O&&he.push(this.element),a.length>0){a=(a=a.replace(ni,"."+this._enterClassName)).replace(So,"."+this._leaveClassName);let Je=this._driver.query(this.element,a,1!=_);0!==_&&(Je=_<0?Je.slice(Je.length+_,Je.length):Je.slice(0,_)),he.push(...Je)}return!z&&0==he.length&&ce.push(function Zn(E){return new f.vHH(3014,!1)}()),he}}class Yr{constructor(a,l,_,O){this._driver=a,this.element=l,this.startTime=_,this._elementTimelineStylesLookup=O,this.duration=0,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(l),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(l,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(a){const l=1===this._keyframes.size&&this._pendingStyles.size;this.duration||l?(this.forwardTime(this.currentTime+a),l&&this.snapshotCurrentStyles()):this.startTime+=a}fork(a,l){return this.applyStylesToKeyframe(),new Yr(this._driver,a,l||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(a){this.applyStylesToKeyframe(),this.duration=a,this._loadKeyframe()}_updateStyle(a,l){this._localTimelineStyles.set(a,l),this._globalTimelineStyles.set(a,l),this._styleSummary.set(a,{time:this.currentTime,value:l})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(a){a&&this._previousKeyframe.set("easing",a);for(let[l,_]of this._globalTimelineStyles)this._backFill.set(l,_||yt.l3),this._currentKeyframe.set(l,yt.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(a,l,_,O){l&&this._previousKeyframe.set("easing",l);const z=O&&O.params||{},ce=function vi(E,a){const l=new Map;let _;return E.forEach(O=>{if("*"===O){_=_||a.keys();for(let z of _)l.set(z,yt.l3)}else fr(O,l)}),l}(a,this._globalTimelineStyles);for(let[he,Be]of ce){const Je=Kn(Be,z,_);this._pendingStyles.set(he,Je),this._localTimelineStyles.has(he)||this._backFill.set(he,this._globalTimelineStyles.get(he)??yt.l3),this._updateStyle(he,Je)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((a,l)=>{this._currentKeyframe.set(l,a)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((a,l)=>{this._currentKeyframe.has(l)||this._currentKeyframe.set(l,a)}))}snapshotCurrentStyles(){for(let[a,l]of this._localTimelineStyles)this._pendingStyles.set(a,l),this._updateStyle(a,l)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const a=[];for(let l in this._currentKeyframe)a.push(l);return a}mergeTimelineCollectedStyles(a){a._styleSummary.forEach((l,_)=>{const O=this._styleSummary.get(_);(!O||l.time>O.time)&&this._updateStyle(_,l.value)})}buildKeyframes(){this.applyStylesToKeyframe();const a=new Set,l=new Set,_=1===this._keyframes.size&&0===this.duration;let O=[];this._keyframes.forEach((he,Be)=>{const Je=fr(he,new Map,this._backFill);Je.forEach((bt,Dt)=>{bt===yt.k1?a.add(Dt):bt===yt.l3&&l.add(Dt)}),_||Je.set("offset",Be/this.duration),O.push(Je)});const z=a.size?qr(a.values()):[],ce=l.size?qr(l.values()):[];if(_){const he=O[0],Be=new Map(he);he.set("offset",0),Be.set("offset",1),O=[he,Be]}return Tr(this.element,O,z,ce,this.duration,this.startTime,this.easing,!1)}}class Nr extends Yr{constructor(a,l,_,O,z,ce,he=!1){super(a,l,ce.delay),this.keyframes=_,this.preStyleProps=O,this.postStyleProps=z,this._stretchStartingKeyframe=he,this.timings={duration:ce.duration,delay:ce.delay,easing:ce.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let a=this.keyframes,{delay:l,duration:_,easing:O}=this.timings;if(this._stretchStartingKeyframe&&l){const z=[],ce=_+l,he=l/ce,Be=fr(a[0]);Be.set("offset",0),z.push(Be);const Je=fr(a[0]);Je.set("offset",Ho(he)),z.push(Je);const bt=a.length-1;for(let Dt=1;Dt<=bt;Dt++){let sn=fr(a[Dt]);const Yt=sn.get("offset");sn.set("offset",Ho((l+Yt*_)/ce)),z.push(sn)}_=ce,l=0,O="",a=z}return Tr(this.element,a,this.preStyleProps,this.postStyleProps,_,l,O,!0)}}function Ho(E,a=3){const l=Math.pow(10,a-1);return Math.round(E*l)/l}class ci{}const bi=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 Wt extends ci{normalizePropertyName(a,l){return Gi(a)}normalizeStyleValue(a,l,_,O){let z="";const ce=_.toString().trim();if(bi.has(l)&&0!==_&&"0"!==_)if("number"==typeof _)z="px";else{const he=_.match(/^[+-]?[\d\.]+([a-z]*)$/);he&&0==he[1].length&&O.push(function Tt(E,a){return new f.vHH(3005,!1)}())}return ce+z}}function vo(E,a,l,_,O,z,ce,he,Be,Je,bt,Dt,sn){return{type:0,element:E,triggerName:a,isRemovalTransition:O,fromState:l,fromStyles:z,toState:_,toStyles:ce,timelines:he,queriedElements:Be,preStyleProps:Je,postStyleProps:bt,totalTime:Dt,errors:sn}}const qo={};class xo{constructor(a,l,_){this._triggerName=a,this.ast=l,this._stateStyles=_}match(a,l,_,O){return function jo(E,a,l,_,O){return E.some(z=>z(a,l,_,O))}(this.ast.matchers,a,l,_,O)}buildStyles(a,l,_){let O=this._stateStyles.get("*");return void 0!==a&&(O=this._stateStyles.get(a?.toString())||O),O?O.buildStyles(l,_):new Map}build(a,l,_,O,z,ce,he,Be,Je,bt){const Dt=[],sn=this.ast.options&&this.ast.options.params||qo,Ut=this.buildStyles(_,he&&he.params||qo,Dt),Zt=Be&&Be.params||qo,Fn=this.buildStyles(O,Zt,Dt),or=new Set,Ir=new Map,Sr=new Map,er="void"===O,gi={params:es(Zt,sn),delay:this.ast.options?.delay},ii=bt?[]:Kr(a,l,this.ast.animation,z,ce,Ut,Fn,gi,Je,Dt);let Zr=0;if(ii.forEach(oi=>{Zr=Math.max(oi.duration+oi.delay,Zr)}),Dt.length)return vo(l,this._triggerName,_,O,er,Ut,Fn,[],[],Ir,Sr,Zr,Dt);ii.forEach(oi=>{const ho=oi.element,ta=Sn(Ir,ho,new Set);oi.preStyleProps.forEach(Ei=>ta.add(Ei));const Un=Sn(Sr,ho,new Set);oi.postStyleProps.forEach(Ei=>Un.add(Ei)),ho!==l&&or.add(ho)});const Ni=qr(or.values());return vo(l,this._triggerName,_,O,er,Ut,Fn,ii,Ni,Ir,Sr,Zr)}}function es(E,a){const l=wr(a);for(const _ in E)E.hasOwnProperty(_)&&null!=E[_]&&(l[_]=E[_]);return l}class Os{constructor(a,l,_){this.styles=a,this.defaultParams=l,this.normalizer=_}buildStyles(a,l){const _=new Map,O=wr(this.defaultParams);return Object.keys(a).forEach(z=>{const ce=a[z];null!==ce&&(O[z]=ce)}),this.styles.styles.forEach(z=>{"string"!=typeof z&&z.forEach((ce,he)=>{ce&&(ce=Kn(ce,O,l));const Be=this.normalizer.normalizePropertyName(he,l);ce=this.normalizer.normalizeStyleValue(he,Be,ce,l),_.set(he,ce)})}),_}}class Qe{constructor(a,l,_){this.name=a,this.ast=l,this._normalizer=_,this.transitionFactories=[],this.states=new Map,l.states.forEach(O=>{this.states.set(O.name,new Os(O.style,O.options&&O.options.params||{},_))}),Qi(this.states,"true","1"),Qi(this.states,"false","0"),l.transitions.forEach(O=>{this.transitionFactories.push(new xo(a,O,this.states))}),this.fallbackTransition=function fn(E,a,l){return new xo(E,{type:1,animation:{type:2,steps:[],options:null},matchers:[(ce,he)=>!0],options:null,queryCount:0,depCount:0},a)}(a,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(a,l,_,O){return this.transitionFactories.find(ce=>ce.match(a,l,_,O))||null}matchStyles(a,l,_){return this.fallbackTransition.buildStyles(a,l,_)}}function Qi(E,a,l){E.has(a)?E.has(l)||E.set(l,E.get(a)):E.has(l)&&E.set(a,E.get(l))}const $o=new ti;class vr{constructor(a,l,_){this.bodyNode=a,this._driver=l,this._normalizer=_,this._animations=new Map,this._playersById=new Map,this.players=[]}register(a,l){const _=[],z=rn(this._driver,l,_,[]);if(_.length)throw function L(E){return new f.vHH(3503,!1)}();this._animations.set(a,z)}_buildPlayer(a,l,_){const O=a.element,z=vt(0,this._normalizer,0,a.keyframes,l,_);return this._driver.animate(O,z,a.duration,a.delay,a.easing,[],!0)}create(a,l,_={}){const O=[],z=this._animations.get(a);let ce;const he=new Map;if(z?(ce=Kr(this._driver,l,z,Or,Cr,new Map,new Map,_,$o,O),ce.forEach(bt=>{const Dt=Sn(he,bt.element,new Map);bt.postStyleProps.forEach(sn=>Dt.set(sn,null))})):(O.push(function G(){return new f.vHH(3300,!1)}()),ce=[]),O.length)throw function de(E){return new f.vHH(3504,!1)}();he.forEach((bt,Dt)=>{bt.forEach((sn,Yt)=>{bt.set(Yt,this._driver.computeStyle(Dt,Yt,yt.l3))})});const Je=Ke(ce.map(bt=>{const Dt=he.get(bt.element);return this._buildPlayer(bt,new Map,Dt)}));return this._playersById.set(a,Je),Je.onDestroy(()=>this.destroy(a)),this.players.push(Je),Je}destroy(a){const l=this._getPlayer(a);l.destroy(),this._playersById.delete(a);const _=this.players.indexOf(l);_>=0&&this.players.splice(_,1)}_getPlayer(a){const l=this._playersById.get(a);if(!l)throw function He(E){return new f.vHH(3301,!1)}();return l}listen(a,l,_,O){const z=Dr(l,"","","");return Dn(this._getPlayer(a),_,z,O),()=>{}}command(a,l,_,O){if("register"==_)return void this.register(a,O[0]);if("create"==_)return void this.create(a,l,O[0]||{});const z=this._getPlayer(a);switch(_){case"play":z.play();break;case"pause":z.pause();break;case"reset":z.reset();break;case"restart":z.restart();break;case"finish":z.finish();break;case"init":z.init();break;case"setPosition":z.setPosition(parseFloat(O[0]));break;case"destroy":this.destroy(a)}}}const bo="ng-animate-queued",jr="ng-animate-disabled",vs=[],Xi={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Mr={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},zn="__ng_removed";class Di{get params(){return this.options.params}constructor(a,l=""){this.namespaceId=l;const _=a&&a.hasOwnProperty("value");if(this.value=function lo(E){return E??null}(_?a.value:a),_){const z=wr(a);delete z.value,this.options=z}else this.options={};this.options.params||(this.options.params={})}absorbOptions(a){const l=a.params;if(l){const _=this.options.params;Object.keys(l).forEach(O=>{null==_[O]&&(_[O]=l[O])})}}}const $r="void",Vr=new Di($r);class ts{constructor(a,l,_){this.id=a,this.hostElement=l,this._engine=_,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+a,sr(l,this._hostClassName)}listen(a,l,_,O){if(!this._triggers.has(l))throw function Ee(E,a){return new f.vHH(3302,!1)}();if(null==_||0==_.length)throw function ot(E){return new f.vHH(3303,!1)}();if(!function Go(E){return"start"==E||"done"==E}(_))throw function Nt(E,a){return new f.vHH(3400,!1)}();const z=Sn(this._elementListeners,a,[]),ce={name:l,phase:_,callback:O};z.push(ce);const he=Sn(this._engine.statesByElement,a,new Map);return he.has(l)||(sr(a,nn),sr(a,nn+"-"+l),he.set(l,Vr)),()=>{this._engine.afterFlush(()=>{const Be=z.indexOf(ce);Be>=0&&z.splice(Be,1),this._triggers.has(l)||he.delete(l)})}}register(a,l){return!this._triggers.has(a)&&(this._triggers.set(a,l),!0)}_getTrigger(a){const l=this._triggers.get(a);if(!l)throw function Bt(E){return new f.vHH(3401,!1)}();return l}trigger(a,l,_,O=!0){const z=this._getTrigger(l),ce=new Ro(this.id,l,a);let he=this._engine.statesByElement.get(a);he||(sr(a,nn),sr(a,nn+"-"+l),this._engine.statesByElement.set(a,he=new Map));let Be=he.get(l);const Je=new Di(_,this.id);if(!(_&&_.hasOwnProperty("value"))&&Be&&Je.absorbOptions(Be.options),he.set(l,Je),Be||(Be=Vr),Je.value!==$r&&Be.value===Je.value){if(!function bs(E,a){const l=Object.keys(E),_=Object.keys(a);if(l.length!=_.length)return!1;for(let O=0;O<l.length;O++){const z=l[O];if(!a.hasOwnProperty(z)||E[z]!==a[z])return!1}return!0}(Be.params,Je.params)){const Zt=[],Fn=z.matchStyles(Be.value,Be.params,Zt),or=z.matchStyles(Je.value,Je.params,Zt);Zt.length?this._engine.reportError(Zt):this._engine.afterFlush(()=>{Wr(a,Fn),Pr(a,or)})}return}const sn=Sn(this._engine.playersByElement,a,[]);sn.forEach(Zt=>{Zt.namespaceId==this.id&&Zt.triggerName==l&&Zt.queued&&Zt.destroy()});let Yt=z.matchTransition(Be.value,Je.value,a,Je.params),Ut=!1;if(!Yt){if(!O)return;Yt=z.fallbackTransition,Ut=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:a,triggerName:l,transition:Yt,fromState:Be,toState:Je,player:ce,isFallbackTransition:Ut}),Ut||(sr(a,bo),ce.onStart(()=>{Ji(a,bo)})),ce.onDone(()=>{let Zt=this.players.indexOf(ce);Zt>=0&&this.players.splice(Zt,1);const Fn=this._engine.playersByElement.get(a);if(Fn){let or=Fn.indexOf(ce);or>=0&&Fn.splice(or,1)}}),this.players.push(ce),sn.push(ce),ce}deregister(a){this._triggers.delete(a),this._engine.statesByElement.forEach(l=>l.delete(a)),this._elementListeners.forEach((l,_)=>{this._elementListeners.set(_,l.filter(O=>O.name!=a))})}clearElementCache(a){this._engine.statesByElement.delete(a),this._elementListeners.delete(a);const l=this._engine.playersByElement.get(a);l&&(l.forEach(_=>_.destroy()),this._engine.playersByElement.delete(a))}_signalRemovalForInnerTriggers(a,l){const _=this._engine.driver.query(a,Ti,!0);_.forEach(O=>{if(O[zn])return;const z=this._engine.fetchNamespacesByElement(O);z.size?z.forEach(ce=>ce.triggerLeaveAnimation(O,l,!1,!0)):this.clearElementCache(O)}),this._engine.afterFlushAnimationsDone(()=>_.forEach(O=>this.clearElementCache(O)))}triggerLeaveAnimation(a,l,_,O){const z=this._engine.statesByElement.get(a),ce=new Map;if(z){const he=[];if(z.forEach((Be,Je)=>{if(ce.set(Je,Be.value),this._triggers.has(Je)){const bt=this.trigger(a,Je,$r,O);bt&&he.push(bt)}}),he.length)return this._engine.markElementAsRemoved(this.id,a,!0,l,ce),_&&Ke(he).onDone(()=>this._engine.processLeaveNode(a)),!0}return!1}prepareLeaveAnimationListeners(a){const l=this._elementListeners.get(a),_=this._engine.statesByElement.get(a);if(l&&_){const O=new Set;l.forEach(z=>{const ce=z.name;if(O.has(ce))return;O.add(ce);const Be=this._triggers.get(ce).fallbackTransition,Je=_.get(ce)||Vr,bt=new Di($r),Dt=new Ro(this.id,ce,a);this._engine.totalQueuedPlayers++,this._queue.push({element:a,triggerName:ce,transition:Be,fromState:Je,toState:bt,player:Dt,isFallbackTransition:!0})})}}removeNode(a,l){const _=this._engine;if(a.childElementCount&&this._signalRemovalForInnerTriggers(a,l),this.triggerLeaveAnimation(a,l,!0))return;let O=!1;if(_.totalAnimations){const z=_.players.length?_.playersByQueriedElement.get(a):[];if(z&&z.length)O=!0;else{let ce=a;for(;ce=ce.parentNode;)if(_.statesByElement.get(ce)){O=!0;break}}}if(this.prepareLeaveAnimationListeners(a),O)_.markElementAsRemoved(this.id,a,!1,l);else{const z=a[zn];(!z||z===Xi)&&(_.afterFlush(()=>this.clearElementCache(a)),_.destroyInnerAnimations(a),_._onRemovalComplete(a,l))}}insertNode(a,l){sr(a,this._hostClassName)}drainQueuedTransitions(a){const l=[];return this._queue.forEach(_=>{const O=_.player;if(O.destroyed)return;const z=_.element,ce=this._elementListeners.get(z);ce&&ce.forEach(he=>{if(he.name==_.triggerName){const Be=Dr(z,_.triggerName,_.fromState.value,_.toState.value);Be._data=a,Dn(_.player,he.phase,Be,he.callback)}}),O.markedForDestroy?this._engine.afterFlush(()=>{O.destroy()}):l.push(_)}),this._queue=[],l.sort((_,O)=>{const z=_.transition.ast.depCount,ce=O.transition.ast.depCount;return 0==z||0==ce?z-ce:this._engine.driver.containsElement(_.element,O.element)?1:-1})}destroy(a){this.players.forEach(l=>l.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,a)}elementContainsData(a){let l=!1;return this._elementListeners.has(a)&&(l=!0),l=!!this._queue.find(_=>_.element===a)||l,l}}class Do{_onRemovalComplete(a,l){this.onRemovalComplete(a,l)}constructor(a,l,_){this.bodyNode=a,this.driver=l,this._normalizer=_,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(O,z)=>{}}get queuedPlayers(){const a=[];return this._namespaceList.forEach(l=>{l.players.forEach(_=>{_.queued&&a.push(_)})}),a}createNamespace(a,l){const _=new ts(a,l,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,l)?this._balanceNamespaceList(_,l):(this.newHostElements.set(l,_),this.collectEnterElement(l)),this._namespaceLookup[a]=_}_balanceNamespaceList(a,l){const _=this._namespaceList,O=this.namespacesByHostElement;if(_.length-1>=0){let ce=!1,he=this.driver.getParentElement(l);for(;he;){const Be=O.get(he);if(Be){const Je=_.indexOf(Be);_.splice(Je+1,0,a),ce=!0;break}he=this.driver.getParentElement(he)}ce||_.unshift(a)}else _.push(a);return O.set(l,a),a}register(a,l){let _=this._namespaceLookup[a];return _||(_=this.createNamespace(a,l)),_}registerTrigger(a,l,_){let O=this._namespaceLookup[a];O&&O.register(l,_)&&this.totalAnimations++}destroy(a,l){if(!a)return;const _=this._fetchNamespace(a);this.afterFlush(()=>{this.namespacesByHostElement.delete(_.hostElement),delete this._namespaceLookup[a];const O=this._namespaceList.indexOf(_);O>=0&&this._namespaceList.splice(O,1)}),this.afterFlushAnimationsDone(()=>_.destroy(l))}_fetchNamespace(a){return this._namespaceLookup[a]}fetchNamespacesByElement(a){const l=new Set,_=this.statesByElement.get(a);if(_)for(let O of _.values())if(O.namespaceId){const z=this._fetchNamespace(O.namespaceId);z&&l.add(z)}return l}trigger(a,l,_,O){if(Pi(l)){const z=this._fetchNamespace(a);if(z)return z.trigger(l,_,O),!0}return!1}insertNode(a,l,_,O){if(!Pi(l))return;const z=l[zn];if(z&&z.setForRemoval){z.setForRemoval=!1,z.setForMove=!0;const ce=this.collectedLeaveElements.indexOf(l);ce>=0&&this.collectedLeaveElements.splice(ce,1)}if(a){const ce=this._fetchNamespace(a);ce&&ce.insertNode(l,_)}O&&this.collectEnterElement(l)}collectEnterElement(a){this.collectedEnterElements.push(a)}markElementAsDisabled(a,l){l?this.disabledNodes.has(a)||(this.disabledNodes.add(a),sr(a,jr)):this.disabledNodes.has(a)&&(this.disabledNodes.delete(a),Ji(a,jr))}removeNode(a,l,_,O){if(Pi(l)){const z=a?this._fetchNamespace(a):null;if(z?z.removeNode(l,O):this.markElementAsRemoved(a,l,!1,O),_){const ce=this.namespacesByHostElement.get(l);ce&&ce.id!==a&&ce.removeNode(l,O)}}else this._onRemovalComplete(l,O)}markElementAsRemoved(a,l,_,O,z){this.collectedLeaveElements.push(l),l[zn]={namespaceId:a,setForRemoval:O,hasAnimation:_,removedBeforeQueried:!1,previousTriggersValues:z}}listen(a,l,_,O,z){return Pi(l)?this._fetchNamespace(a).listen(l,_,O,z):()=>{}}_buildInstruction(a,l,_,O,z){return a.transition.build(this.driver,a.element,a.fromState.value,a.toState.value,_,O,a.fromState.options,a.toState.options,l,z)}destroyInnerAnimations(a){let l=this.driver.query(a,Ti,!0);l.forEach(_=>this.destroyActiveAnimationsForElement(_)),0!=this.playersByQueriedElement.size&&(l=this.driver.query(a,$i,!0),l.forEach(_=>this.finishActiveQueriedAnimationOnElement(_)))}destroyActiveAnimationsForElement(a){const l=this.playersByElement.get(a);l&&l.forEach(_=>{_.queued?_.markedForDestroy=!0:_.destroy()})}finishActiveQueriedAnimationOnElement(a){const l=this.playersByQueriedElement.get(a);l&&l.forEach(_=>_.finish())}whenRenderingDone(){return new Promise(a=>{if(this.players.length)return Ke(this.players).onDone(()=>a());a()})}processLeaveNode(a){const l=a[zn];if(l&&l.setForRemoval){if(a[zn]=Xi,l.namespaceId){this.destroyInnerAnimations(a);const _=this._fetchNamespace(l.namespaceId);_&&_.clearElementCache(a)}this._onRemovalComplete(a,l.setForRemoval)}a.classList?.contains(jr)&&this.markElementAsDisabled(a,!1),this.driver.query(a,".ng-animate-disabled",!0).forEach(_=>{this.markElementAsDisabled(_,!1)})}flush(a=-1){let l=[];if(this.newHostElements.size&&(this.newHostElements.forEach((_,O)=>this._balanceNamespaceList(_,O)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let _=0;_<this.collectedEnterElements.length;_++)sr(this.collectedEnterElements[_],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const _=[];try{l=this._flushAnimations(_,a)}finally{for(let O=0;O<_.length;O++)_[O]()}}else for(let _=0;_<this.collectedLeaveElements.length;_++)this.processLeaveNode(this.collectedLeaveElements[_]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(_=>_()),this._flushFns=[],this._whenQuietFns.length){const _=this._whenQuietFns;this._whenQuietFns=[],l.length?Ke(l).onDone(()=>{_.forEach(O=>O())}):_.forEach(O=>O())}}reportError(a){throw function ye(E){return new f.vHH(3402,!1)}()}_flushAnimations(a,l){const _=new ti,O=[],z=new Map,ce=[],he=new Map,Be=new Map,Je=new Map,bt=new Set;this.disabledNodes.forEach(Rt=>{bt.add(Rt);const jt=this.driver.query(Rt,".ng-animate-queued",!0);for(let Qt=0;Qt<jt.length;Qt++)bt.add(jt[Qt])});const Dt=this.bodyNode,sn=Array.from(this.statesByElement.keys()),Yt=co(sn,this.collectedEnterElements),Ut=new Map;let Zt=0;Yt.forEach((Rt,jt)=>{const Qt=Or+Zt++;Ut.set(jt,Qt),Rt.forEach(Pn=>sr(Pn,Qt))});const Fn=[],or=new Set,Ir=new Set;for(let Rt=0;Rt<this.collectedLeaveElements.length;Rt++){const jt=this.collectedLeaveElements[Rt],Qt=jt[zn];Qt&&Qt.setForRemoval&&(Fn.push(jt),or.add(jt),Qt.hasAnimation?this.driver.query(jt,".ng-star-inserted",!0).forEach(Pn=>or.add(Pn)):Ir.add(jt))}const Sr=new Map,er=co(sn,Array.from(or));er.forEach((Rt,jt)=>{const Qt=Cr+Zt++;Sr.set(jt,Qt),Rt.forEach(Pn=>sr(Pn,Qt))}),a.push(()=>{Yt.forEach((Rt,jt)=>{const Qt=Ut.get(jt);Rt.forEach(Pn=>Ji(Pn,Qt))}),er.forEach((Rt,jt)=>{const Qt=Sr.get(jt);Rt.forEach(Pn=>Ji(Pn,Qt))}),Fn.forEach(Rt=>{this.processLeaveNode(Rt)})});const gi=[],ii=[];for(let Rt=this._namespaceList.length-1;Rt>=0;Rt--)this._namespaceList[Rt].drainQueuedTransitions(l).forEach(Qt=>{const Pn=Qt.player,pr=Qt.element;if(gi.push(Pn),this.collectedEnterElements.length){const d=pr[zn];if(d&&d.setForMove){if(d.previousTriggersValues&&d.previousTriggersValues.has(Qt.triggerName)){const h=d.previousTriggersValues.get(Qt.triggerName),c=this.statesByElement.get(Qt.element);if(c&&c.has(Qt.triggerName)){const m=c.get(Qt.triggerName);m.value=h,c.set(Qt.triggerName,m)}}return void Pn.destroy()}}const no=!Dt||!this.driver.containsElement(Dt,pr),mi=Sr.get(pr),Xn=Ut.get(pr),Jn=this._buildInstruction(Qt,_,Xn,mi,no);if(Jn.errors&&Jn.errors.length)return void ii.push(Jn);if(no)return Pn.onStart(()=>Wr(pr,Jn.fromStyles)),Pn.onDestroy(()=>Pr(pr,Jn.toStyles)),void O.push(Pn);if(Qt.isFallbackTransition)return Pn.onStart(()=>Wr(pr,Jn.fromStyles)),Pn.onDestroy(()=>Pr(pr,Jn.toStyles)),void O.push(Pn);const No=[];Jn.timelines.forEach(d=>{d.stretchStartingKeyframe=!0,this.disabledNodes.has(d.element)||No.push(d)}),Jn.timelines=No,_.append(pr,Jn.timelines),ce.push({instruction:Jn,player:Pn,element:pr}),Jn.queriedElements.forEach(d=>Sn(he,d,[]).push(Pn)),Jn.preStyleProps.forEach((d,h)=>{if(d.size){let c=Be.get(h);c||Be.set(h,c=new Set),d.forEach((m,w)=>c.add(w))}}),Jn.postStyleProps.forEach((d,h)=>{let c=Je.get(h);c||Je.set(h,c=new Set),d.forEach((m,w)=>c.add(w))})});if(ii.length){const Rt=[];ii.forEach(jt=>{Rt.push(function C(E,a){return new f.vHH(3505,!1)}())}),gi.forEach(jt=>jt.destroy()),this.reportError(Rt)}const Zr=new Map,Ni=new Map;ce.forEach(Rt=>{const jt=Rt.element;_.has(jt)&&(Ni.set(jt,jt),this._beforeAnimationBuild(Rt.player.namespaceId,Rt.instruction,Zr))}),O.forEach(Rt=>{const jt=Rt.element;this._getPreviousPlayers(jt,!1,Rt.namespaceId,Rt.triggerName,null).forEach(Pn=>{Sn(Zr,jt,[]).push(Pn),Pn.destroy()})});const oi=Fn.filter(Rt=>Ds(Rt,Be,Je)),ho=new Map;Fi(ho,this.driver,Ir,Je,yt.l3).forEach(Rt=>{Ds(Rt,Be,Je)&&oi.push(Rt)});const Un=new Map;Yt.forEach((Rt,jt)=>{Fi(Un,this.driver,new Set(Rt),Be,yt.k1)}),oi.forEach(Rt=>{const jt=ho.get(Rt),Qt=Un.get(Rt);ho.set(Rt,new Map([...Array.from(jt?.entries()??[]),...Array.from(Qt?.entries()??[])]))});const Ei=[],na=[],Ls={};ce.forEach(Rt=>{const{element:jt,player:Qt,instruction:Pn}=Rt;if(_.has(jt)){if(bt.has(jt))return Qt.onDestroy(()=>Pr(jt,Pn.toStyles)),Qt.disabled=!0,Qt.overrideTotalTime(Pn.totalTime),void O.push(Qt);let pr=Ls;if(Ni.size>1){let mi=jt;const Xn=[];for(;mi=mi.parentNode;){const Jn=Ni.get(mi);if(Jn){pr=Jn;break}Xn.push(mi)}Xn.forEach(Jn=>Ni.set(Jn,pr))}const no=this._buildAnimation(Qt.namespaceId,Pn,Zr,z,Un,ho);if(Qt.setRealPlayer(no),pr===Ls)Ei.push(Qt);else{const mi=this.playersByElement.get(pr);mi&&mi.length&&(Qt.parentPlayer=Ke(mi)),O.push(Qt)}}else Wr(jt,Pn.fromStyles),Qt.onDestroy(()=>Pr(jt,Pn.toStyles)),na.push(Qt),bt.has(jt)&&O.push(Qt)}),na.forEach(Rt=>{const jt=z.get(Rt.element);if(jt&&jt.length){const Qt=Ke(jt);Rt.setRealPlayer(Qt)}}),O.forEach(Rt=>{Rt.parentPlayer?Rt.syncPlayerEvents(Rt.parentPlayer):Rt.destroy()});for(let Rt=0;Rt<Fn.length;Rt++){const jt=Fn[Rt],Qt=jt[zn];if(Ji(jt,Cr),Qt&&Qt.hasAnimation)continue;let Pn=[];if(he.size){let no=he.get(jt);no&&no.length&&Pn.push(...no);let mi=this.driver.query(jt,$i,!0);for(let Xn=0;Xn<mi.length;Xn++){let Jn=he.get(mi[Xn]);Jn&&Jn.length&&Pn.push(...Jn)}}const pr=Pn.filter(no=>!no.destroyed);pr.length?Ps(this,jt,pr):this.processLeaveNode(jt)}return Fn.length=0,Ei.forEach(Rt=>{this.players.push(Rt),Rt.onDone(()=>{Rt.destroy();const jt=this.players.indexOf(Rt);this.players.splice(jt,1)}),Rt.play()}),Ei}elementContainsData(a,l){let _=!1;const O=l[zn];return O&&O.setForRemoval&&(_=!0),this.playersByElement.has(l)&&(_=!0),this.playersByQueriedElement.has(l)&&(_=!0),this.statesByElement.has(l)&&(_=!0),this._fetchNamespace(a).elementContainsData(l)||_}afterFlush(a){this._flushFns.push(a)}afterFlushAnimationsDone(a){this._whenQuietFns.push(a)}_getPreviousPlayers(a,l,_,O,z){let ce=[];if(l){const he=this.playersByQueriedElement.get(a);he&&(ce=he)}else{const he=this.playersByElement.get(a);if(he){const Be=!z||z==$r;he.forEach(Je=>{Je.queued||!Be&&Je.triggerName!=O||ce.push(Je)})}}return(_||O)&&(ce=ce.filter(he=>!(_&&_!=he.namespaceId||O&&O!=he.triggerName))),ce}_beforeAnimationBuild(a,l,_){const z=l.element,ce=l.isRemovalTransition?void 0:a,he=l.isRemovalTransition?void 0:l.triggerName;for(const Be of l.timelines){const Je=Be.element,bt=Je!==z,Dt=Sn(_,Je,[]);this._getPreviousPlayers(Je,bt,ce,he,l.toState).forEach(Yt=>{const Ut=Yt.getRealPlayer();Ut.beforeDestroy&&Ut.beforeDestroy(),Yt.destroy(),Dt.push(Yt)})}Wr(z,l.fromStyles)}_buildAnimation(a,l,_,O,z,ce){const he=l.triggerName,Be=l.element,Je=[],bt=new Set,Dt=new Set,sn=l.timelines.map(Ut=>{const Zt=Ut.element;bt.add(Zt);const Fn=Zt[zn];if(Fn&&Fn.removedBeforeQueried)return new yt.ZN(Ut.duration,Ut.delay);const or=Zt!==Be,Ir=function Rs(E){const a=[];return Fo(E,a),a}((_.get(Zt)||vs).map(Zr=>Zr.getRealPlayer())).filter(Zr=>!!Zr.element&&Zr.element===Zt),Sr=z.get(Zt),er=ce.get(Zt),gi=vt(0,this._normalizer,0,Ut.keyframes,Sr,er),ii=this._buildPlayer(Ut,gi,Ir);if(Ut.subTimeline&&O&&Dt.add(Zt),or){const Zr=new Ro(a,he,Zt);Zr.setRealPlayer(ii),Je.push(Zr)}return ii});Je.forEach(Ut=>{Sn(this.playersByQueriedElement,Ut.element,[]).push(Ut),Ut.onDone(()=>function ns(E,a,l){let _=E.get(a);if(_){if(_.length){const O=_.indexOf(l);_.splice(O,1)}0==_.length&&E.delete(a)}return _}(this.playersByQueriedElement,Ut.element,Ut))}),bt.forEach(Ut=>sr(Ut,Mi));const Yt=Ke(sn);return Yt.onDestroy(()=>{bt.forEach(Ut=>Ji(Ut,Mi)),Pr(Be,l.toStyles)}),Dt.forEach(Ut=>{Sn(O,Ut,[]).push(Yt)}),Yt}_buildPlayer(a,l,_){return l.length>0?this.driver.animate(a.element,l,a.duration,a.delay,a.easing,_):new yt.ZN(a.duration,a.delay)}}class Ro{constructor(a,l,_){this.namespaceId=a,this.triggerName=l,this.element=_,this._player=new yt.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(a){this._containsRealPlayer||(this._player=a,this._queuedCallbacks.forEach((l,_)=>{l.forEach(O=>Dn(a,_,void 0,O))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(a.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(a){this.totalTime=a}syncPlayerEvents(a){const l=this._player;l.triggerCallback&&a.onStart(()=>l.triggerCallback("start")),a.onDone(()=>this.finish()),a.onDestroy(()=>this.destroy())}_queueEvent(a,l){Sn(this._queuedCallbacks,a,[]).push(l)}onDone(a){this.queued&&this._queueEvent("done",a),this._player.onDone(a)}onStart(a){this.queued&&this._queueEvent("start",a),this._player.onStart(a)}onDestroy(a){this.queued&&this._queueEvent("destroy",a),this._player.onDestroy(a)}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(a){this.queued||this._player.setPosition(a)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(a){const l=this._player;l.triggerCallback&&l.triggerCallback(a)}}function Pi(E){return E&&1===E.nodeType}function Ri(E,a){const l=E.style.display;return E.style.display=a??"none",l}function Fi(E,a,l,_,O){const z=[];l.forEach(Be=>z.push(Ri(Be)));const ce=[];_.forEach((Be,Je)=>{const bt=new Map;Be.forEach(Dt=>{const sn=a.computeStyle(Je,Dt,O);bt.set(Dt,sn),(!sn||0==sn.length)&&(Je[zn]=Mr,ce.push(Je))}),E.set(Je,bt)});let he=0;return l.forEach(Be=>Ri(Be,z[he++])),ce}function co(E,a){const l=new Map;if(E.forEach(he=>l.set(he,[])),0==a.length)return l;const O=new Set(a),z=new Map;function ce(he){if(!he)return 1;let Be=z.get(he);if(Be)return Be;const Je=he.parentNode;return Be=l.has(Je)?Je:O.has(Je)?1:ce(Je),z.set(he,Be),Be}return a.forEach(he=>{const Be=ce(he);1!==Be&&l.get(Be).push(he)}),l}function sr(E,a){E.classList?.add(a)}function Ji(E,a){E.classList?.remove(a)}function Ps(E,a,l){Ke(l).onDone(()=>E.processLeaveNode(a))}function Fo(E,a){for(let l=0;l<E.length;l++){const _=E[l];_ instanceof yt.ZE?Fo(_.players,a):a.push(_)}}function Ds(E,a,l){const _=l.get(E);if(!_)return!1;let O=a.get(E);return O?_.forEach(z=>O.add(z)):a.set(E,_),l.delete(E),!0}class qi{constructor(a,l,_){this.bodyNode=a,this._driver=l,this._normalizer=_,this._triggerCache={},this.onRemovalComplete=(O,z)=>{},this._transitionEngine=new Do(a,l,_),this._timelineEngine=new vr(a,l,_),this._transitionEngine.onRemovalComplete=(O,z)=>this.onRemovalComplete(O,z)}registerTrigger(a,l,_,O,z){const ce=a+"-"+O;let he=this._triggerCache[ce];if(!he){const Be=[],bt=rn(this._driver,z,Be,[]);if(Be.length)throw function R(E,a){return new f.vHH(3404,!1)}();he=function ys(E,a,l){return new Qe(E,a,l)}(O,bt,this._normalizer),this._triggerCache[ce]=he}this._transitionEngine.registerTrigger(l,O,he)}register(a,l){this._transitionEngine.register(a,l)}destroy(a,l){this._transitionEngine.destroy(a,l)}onInsert(a,l,_,O){this._transitionEngine.insertNode(a,l,_,O)}onRemove(a,l,_,O){this._transitionEngine.removeNode(a,l,O||!1,_)}disableAnimations(a,l){this._transitionEngine.markElementAsDisabled(a,l)}process(a,l,_,O){if("@"==_.charAt(0)){const[z,ce]=Jr(_);this._timelineEngine.command(z,l,ce,O)}else this._transitionEngine.trigger(a,l,_,O)}listen(a,l,_,O,z){if("@"==_.charAt(0)){const[ce,he]=Jr(_);return this._timelineEngine.listen(ce,l,he,z)}return this._transitionEngine.listen(a,l,_,O,z)}flush(a=-1){this._transitionEngine.flush(a)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let eo=(()=>{class E{constructor(l,_,O){this._element=l,this._startStyles=_,this._endStyles=O,this._state=0;let z=E.initialStylesByElement.get(l);z||E.initialStylesByElement.set(l,z=new Map),this._initialStyles=z}start(){this._state<1&&(this._startStyles&&Pr(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Pr(this._element,this._initialStyles),this._endStyles&&(Pr(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(E.initialStylesByElement.delete(this._element),this._startStyles&&(Wr(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Wr(this._element,this._endStyles),this._endStyles=null),Pr(this._element,this._initialStyles),this._state=3)}}return E.initialStylesByElement=new WeakMap,E})();function Qn(E){let a=null;return E.forEach((l,_)=>{(function Es(E){return"display"===E||"position"===E})(_)&&(a=a||new Map,a.set(_,l))}),a}class rs{constructor(a,l,_,O){this.element=a,this.keyframes=l,this.options=_,this._specialStyles=O,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=_.duration,this._delay=_.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(a=>a()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const a=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,a,this.options),this._finalKeyframe=a.length?a[a.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(a){const l=[];return a.forEach(_=>{l.push(Object.fromEntries(_))}),l}_triggerWebAnimation(a,l,_){return a.animate(this._convertKeyframesToObject(l),_)}onStart(a){this._originalOnStartFns.push(a),this._onStartFns.push(a)}onDone(a){this._originalOnDoneFns.push(a),this._onDoneFns.push(a)}onDestroy(a){this._onDestroyFns.push(a)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(a=>a()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(a=>a()),this._onDestroyFns=[])}setPosition(a){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=a*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const a=new Map;this.hasStarted()&&this._finalKeyframe.forEach((_,O)=>{"offset"!==O&&a.set(O,this._finished?_:Ai(this.element,O))}),this.currentSnapshot=a}triggerCallback(a){const l="start"===a?this._onStartFns:this._onDoneFns;l.forEach(_=>_()),l.length=0}}class br{validateStyleProperty(a){return!0}validateAnimatableStyleProperty(a){return!0}matchesElement(a,l){return!1}containsElement(a,l){return gt(a,l)}getParentElement(a){return Ur(a)}query(a,l,_){return Vt(a,l,_)}computeStyle(a,l,_){return window.getComputedStyle(a)[l]}animate(a,l,_,O,z,ce=[]){const Be={duration:_,delay:O,fill:0==O?"both":"forwards"};z&&(Be.easing=z);const Je=new Map,bt=ce.filter(Yt=>Yt instanceof rs);(function Si(E,a){return 0===E||0===a})(_,O)&&bt.forEach(Yt=>{Yt.currentSnapshot.forEach((Ut,Zt)=>Je.set(Zt,Ut))});let Dt=function Vi(E){return E.length?E[0]instanceof Map?E:E.map(a=>hi(a)):[]}(l).map(Yt=>fr(Yt));Dt=function mo(E,a,l){if(l.size&&a.length){let _=a[0],O=[];if(l.forEach((z,ce)=>{_.has(ce)||O.push(ce),_.set(ce,z)}),O.length)for(let z=1;z<a.length;z++){let ce=a[z];O.forEach(he=>ce.set(he,Ai(E,he)))}}return a}(a,Dt,Je);const sn=function Lr(E,a){let l=null,_=null;return Array.isArray(a)&&a.length?(l=Qn(a[0]),a.length>1&&(_=Qn(a[a.length-1]))):a instanceof Map&&(l=Qn(a)),l||_?new eo(E,l,_):null}(a,Dt);return new rs(a,Dt,Be,sn)}}let Cs=(()=>{class E extends yt._j{constructor(l,_){super(),this._nextAnimationId=0,this._renderer=l.createRenderer(_.body,{id:"0",encapsulation:f.ifc.None,styles:[],data:{animation:[]}})}build(l){const _=this._nextAnimationId.toString();this._nextAnimationId++;const O=Array.isArray(l)?(0,yt.vP)(l):l;return Eo(this._renderer,null,_,"register",[O]),new ws(_,this._renderer)}}return E.\u0275fac=function(l){return new(l||E)(f.LFG(f.FYo),f.LFG(Pe.K0))},E.\u0275prov=f.Yz7({token:E,factory:E.\u0275fac}),E})();class ws extends yt.LC{constructor(a,l){super(),this._id=a,this._renderer=l}create(a,l){return new Fs(this._id,a,l||{},this._renderer)}}class Fs{constructor(a,l,_,O){this.id=a,this.element=l,this._renderer=O,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",_)}_listen(a,l){return this._renderer.listen(this.element,`@@${this.id}:${a}`,l)}_command(a,...l){return Eo(this._renderer,this.element,this.id,a,l)}onDone(a){this._listen("done",a)}onStart(a){this._listen("start",a)}onDestroy(a){this._listen("destroy",a)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(a){this._command("setPosition",a)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function Eo(E,a,l,_,O){return E.setProperty(a,`@@${l}:${_}`,O)}const g="@",A="@.disabled";let y=(()=>{class E{constructor(l,_,O){this.delegate=l,this.engine=_,this._zone=O,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),_.onRemovalComplete=(z,ce)=>{const he=ce?.parentNode(z);he&&ce.removeChild(he,z)}}createRenderer(l,_){const z=this.delegate.createRenderer(l,_);if(!(l&&_&&_.data&&_.data.animation)){let bt=this._rendererCache.get(z);return bt||(bt=new P("",z,this.engine,()=>this._rendererCache.delete(z)),this._rendererCache.set(z,bt)),bt}const ce=_.id,he=_.id+"-"+this._currentId;this._currentId++,this.engine.register(he,l);const Be=bt=>{Array.isArray(bt)?bt.forEach(Be):this.engine.registerTrigger(ce,he,l,bt.name,bt)};return _.data.animation.forEach(Be),new te(this,he,z,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(l,_,O){l>=0&&l<this._microtaskId?this._zone.run(()=>_(O)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(z=>{const[ce,he]=z;ce(he)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([_,O]))}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()}}return E.\u0275fac=function(l){return new(l||E)(f.LFG(f.FYo),f.LFG(qi),f.LFG(f.R0b))},E.\u0275prov=f.Yz7({token:E,factory:E.\u0275fac}),E})();class P{constructor(a,l,_,O){this.namespaceId=a,this.delegate=l,this.engine=_,this._onDestroy=O,this.destroyNode=this.delegate.destroyNode?z=>l.destroyNode(z):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),this._onDestroy?.()}createElement(a,l){return this.delegate.createElement(a,l)}createComment(a){return this.delegate.createComment(a)}createText(a){return this.delegate.createText(a)}appendChild(a,l){this.delegate.appendChild(a,l),this.engine.onInsert(this.namespaceId,l,a,!1)}insertBefore(a,l,_,O=!0){this.delegate.insertBefore(a,l,_),this.engine.onInsert(this.namespaceId,l,a,O)}removeChild(a,l,_){this.engine.onRemove(this.namespaceId,l,this.delegate,_)}selectRootElement(a,l){return this.delegate.selectRootElement(a,l)}parentNode(a){return this.delegate.parentNode(a)}nextSibling(a){return this.delegate.nextSibling(a)}setAttribute(a,l,_,O){this.delegate.setAttribute(a,l,_,O)}removeAttribute(a,l,_){this.delegate.removeAttribute(a,l,_)}addClass(a,l){this.delegate.addClass(a,l)}removeClass(a,l){this.delegate.removeClass(a,l)}setStyle(a,l,_,O){this.delegate.setStyle(a,l,_,O)}removeStyle(a,l,_){this.delegate.removeStyle(a,l,_)}setProperty(a,l,_){l.charAt(0)==g&&l==A?this.disableAnimations(a,!!_):this.delegate.setProperty(a,l,_)}setValue(a,l){this.delegate.setValue(a,l)}listen(a,l,_){return this.delegate.listen(a,l,_)}disableAnimations(a,l){this.engine.disableAnimations(a,l)}}class te extends P{constructor(a,l,_,O,z){super(l,_,O,z),this.factory=a,this.namespaceId=l}setProperty(a,l,_){l.charAt(0)==g?"."==l.charAt(1)&&l==A?this.disableAnimations(a,_=void 0===_||!!_):this.engine.process(this.namespaceId,a,l.slice(1),_):this.delegate.setProperty(a,l,_)}listen(a,l,_){if(l.charAt(0)==g){const O=function je(E){switch(E){case"body":return document.body;case"document":return document;case"window":return window;default:return E}}(a);let z=l.slice(1),ce="";return z.charAt(0)!=g&&([z,ce]=function Ge(E){const a=E.indexOf(".");return[E.substring(0,a),E.slice(a+1)]}(z)),this.engine.listen(this.namespaceId,O,z,ce,he=>{this.factory.scheduleListenerCallback(he._data||-1,_,he)})}return this.delegate.listen(a,l,_)}}const On=[{provide:yt._j,useClass:Cs},{provide:ci,useFactory:function Rn(){return new Wt}},{provide:qi,useClass:(()=>{class E extends qi{constructor(l,_,O,z){super(l.body,_,O)}ngOnDestroy(){this.flush()}}return E.\u0275fac=function(l){return new(l||E)(f.LFG(Pe.K0),f.LFG(Er),f.LFG(ci),f.LFG(f.z2F))},E.\u0275prov=f.Yz7({token:E,factory:E.\u0275fac}),E})()},{provide:f.FYo,useFactory:function Cn(E,a,l){return new y(E,a,l)},deps:[s.se,qi,f.R0b]}],un=[{provide:Er,useFactory:()=>new br},{provide:f.QbO,useValue:"BrowserAnimations"},...On],ar=[{provide:Er,useClass:ur},{provide:f.QbO,useValue:"NoopAnimations"},...On];let Gn=(()=>{class E{static withConfig(l){return{ngModule:E,providers:l.disableAnimations?ar:un}}}return E.\u0275fac=function(l){return new(l||E)},E.\u0275mod=f.oAB({type:E}),E.\u0275inj=f.cJS({providers:un,imports:[s.b2]}),E})();class Br{constructor(a){this._router=a}intercept(a,l){let _=JSON.parse(window.localStorage.getItem("user")),O=new Date;if(null!=_){let z=new Date(_.Token.expiredAt);a=a.clone(O<z?{setHeaders:{"Content-Type":"application/json",Authorization:`Bearer ${_.Token.access_token}`}}:{setHeaders:{"Content-Type":"application/json"}})}else a=a.clone({setHeaders:{"Content-Type":"application/json"}});return l.handle(a)}}Br.\u0275fac=function(a){return new(a||Br)(f.LFG(vn.F0))},Br.\u0275prov=f.Yz7({token:Br,factory:Br.\u0275fac});var lr=D(7185);function Co(E,a){if(1&E){const l=f.EpF();f.TgZ(0,"a",10),f.NdJ("click",function(){f.CHM(l);const O=f.oxw(2);return f.KtG(O.remove())}),f._uU(1," x "),f.qZA()}}function uo(E,a){if(1&E&&(f.TgZ(0,"div",6)(1,"div",7)(2,"div")(3,"h4"),f._uU(4),f.qZA()()(),f.TgZ(5,"div",8),f.YNc(6,Co,2,0,"a",9),f.qZA()()),2&E){const l=f.oxw();f.Udp("display","inactive"===l.state.value?"none":""),f.xp6(2),f.Tol(l.options.titleClass),f.uIk("aria-label",l.title),f.xp6(2),f.Oqu(l.title),f.xp6(2),f.Q6J("ngIf",l.options.closeButton)}}const is=function(E){return{notitle:E}};function os(E,a){if(1&E&&f._UZ(0,"div",11),2&E){const l=f.oxw();f.Tol(l.options.messageClass),f.Q6J("ngClass",f.VKq(4,is,null==l.title))("innerHTML",l.message,f.oJD)}}function Wo(E,a){if(1&E&&(f.TgZ(0,"div",12),f._uU(1),f.qZA()),2&E){const l=f.oxw();f.Tol(l.options.messageClass),f.Q6J("ngClass",f.VKq(5,is,null==l.title)),f.uIk("aria-label",l.message),f.xp6(1),f.hij(" ",l.message," ")}}function ss(E,a){if(1&E){const l=f.EpF();f.TgZ(0,"a",10),f.NdJ("click",function(){f.CHM(l);const O=f.oxw();return f.KtG(O.remove())}),f._uU(1," x "),f.qZA()}}function ks(E,a){if(1&E&&(f.TgZ(0,"div"),f._UZ(1,"div",13),f.qZA()),2&E){const l=f.oxw();f.xp6(1),f.Udp("width",l.width+"%")}}class to extends lr.FN{constructor(a,l){super(a,l),this.toastrService=a,this.toastPackage=l}ngOnInit(){}action(a){return a.stopPropagation(),this.toastPackage.triggerAction(),!1}}to.\u0275fac=function(a){return new(a||to)(f.Y36(lr._W),f.Y36(lr.PR))},to.\u0275cmp=f.Xpm({type:to,selectors:[["","custom-toast-component",""]],features:[f.qOj],attrs:["custom-toast-component",""],decls:6,vars:5,consts:[[1,"toast-case"],["class","row toast-header",3,"display",4,"ngIf"],["class","toast-body","role","alert","aria-live","polite",3,"ngClass","class","innerHTML",4,"ngIf"],["class","toast-body","role","alert","aria-live","polite",3,"ngClass","class",4,"ngIf"],["class","btn toast-close-button btn-sm ",3,"click",4,"ngIf"],[4,"ngIf"],[1,"row","toast-header"],[1,"col-9","g-0"],[1,"col-auto","mt-5","pe-0"],["class","btn toast-close-button btn-sm",3,"click",4,"ngIf"],[1,"btn","toast-close-button","btn-sm",3,"click"],["role","alert","aria-live","polite",1,"toast-body",3,"ngClass","innerHTML"],["role","alert","aria-live","polite",1,"toast-body",3,"ngClass"],[1,"toast-progress"]],template:function(a,l){1&a&&(f.TgZ(0,"div",0),f.YNc(1,uo,7,7,"div",1),f.YNc(2,os,1,6,"div",2),f.YNc(3,Wo,2,7,"div",3),f.YNc(4,ss,2,0,"a",4),f.YNc(5,ks,2,2,"div",5),f.qZA()),2&a&&(f.xp6(1),f.Q6J("ngIf",l.title),f.xp6(1),f.Q6J("ngIf",l.message&&l.options.enableHtml),f.xp6(1),f.Q6J("ngIf",l.message&&!l.options.enableHtml),f.xp6(1),f.Q6J("ngIf",l.options.closeButton&&null==l.title),f.xp6(1),f.Q6J("ngIf",l.options.progressBar))},dependencies:[Pe.mk,Pe.O5],styles:["[_nghost-%COMP%]{background-color:#fff;position:relative;overflow:hidden;margin:0 0 6px;width:300px;border-radius:3px;color:#141414;pointer-events:all;cursor:pointer}.toast-success[_nghost-%COMP%]{border:1.8px solid rgb(81,163,81)}.toast-info[_nghost-%COMP%]{border:1.8px solid rgb(47,150,180)}.toast-error[_nghost-%COMP%]{border:1.8px solid rgb(189,54,47)}.toast-warning[_nghost-%COMP%]{border:1.8px solid rgb(248,148,6)}.toast-case[_ngcontent-%COMP%]{margin-left:0}.toast-header[_ngcontent-%COMP%]{background-clip:padding-box;border-bottom:solid;border-width:1px;padding-bottom:0rem;padding-top:0rem;padding-right:0;margin-left:0}.toast-title[_ngcontent-%COMP%]{color:#000}.toast-body[_ngcontent-%COMP%]{padding-top:.6rem}.notitle[_ngcontent-%COMP%]{margin-bottom:-1rem}.toast-close-button-custom[_ngcontent-%COMP%]{right:.2em!important;top:-1.3em!important}.toast-close-button-notitle[_ngcontent-%COMP%]{right:.1em!important;top:-1.3em!important}"],data:{animation:[(0,yt.X$)("flyInOut",[(0,yt.SB)("inactive",(0,yt.oB)({opacity:0})),(0,yt.eR)("inactive => active",(0,yt.jt)("400ms ease-out",(0,yt.F4)([(0,yt.oB)({transform:"translate3d(100%, 0, 0) skewX(-30deg)",opacity:0}),(0,yt.oB)({transform:"skewX(20deg)",opacity:1}),(0,yt.oB)({transform:"skewX(-5deg)",opacity:1}),(0,yt.oB)({transform:"none",opacity:1})]))),(0,yt.eR)("active => removed",(0,yt.jt)("400ms ease-out",(0,yt.F4)([(0,yt.oB)({opacity:1}),(0,yt.oB)({transform:"translate3d(100%, 0, 0) skewX(30deg)",opacity:0})])))])]}});var as=D(5421),Vs=D(2011),ui=D(7899),Ns=D(2340),ko=D(9549);class fo{}fo.\u0275fac=function(a){return new(a||fo)},fo.\u0275mod=f.oAB({type:fo,bootstrap:[Gt]}),fo.\u0275inj=f.cJS({providers:[{provide:U.TP,useClass:Br,multi:!0},{provide:ko.o2,useValue:{subscriptSizing:"dynamic"}},Kt.O,Wn.e],imports:[s.b2,In,Gn,lr.Rh.forRoot({toastComponent:to,positionClass:"toast-bottom-right",closeButton:!0}),U.JF,as.Cz.forRoot({name:"MarketplaceDB",version:1,objectStoresMeta:[{store:"Categories",storeConfig:{keyPath:null,autoIncrement:!1},storeSchema:[]}]}),ln.forRoot(),Vs.hO.initializeApp(Ns.N.firebaseConfig),ui.ww]}),Ns.N.production&&(0,f.G48)(),s.q6().bootstrapModule(fo).catch(E=>console.error(E))},5867:(it,Ce,D)=>{D.d(Ce,{C6:()=>s.getApps,Mq:()=>s.getApp});var s=D(9681);(0,s.registerVersion)("firebase","9.12.1","app")},127:(it,Ce,D)=>{D.d(Ce,{Z:()=>s.Z});var s=D(3942);s.Z.registerVersion("firebase","9.12.1","app-compat")},1135:(it,Ce,D)=>{D.d(Ce,{X:()=>f});var s=D(7579);class f extends s.x{constructor(K){super(),this._value=K}get value(){return this.getValue()}_subscribe(K){const X=super._subscribe(K);return!X.closed&&K.next(this._value),X}getValue(){const{hasError:K,thrownError:X,_value:J}=this;if(K)throw X;return this._throwIfClosed(),J}next(K){super.next(this._value=K)}}},9751:(it,Ce,D)=>{D.d(Ce,{y:()=>ee});var s=D(930),f=D(727),U=D(8822),K=D(9635),X=D(2416),J=D(576),oe=D(2806);let ee=(()=>{class W{constructor(Te){Te&&(this._subscribe=Te)}lift(Te){const $e=new W;return $e.source=this,$e.operator=Te,$e}subscribe(Te,$e,Ye){const Se=function Y(W){return W&&W instanceof s.Lv||function j(W){return W&&(0,J.m)(W.next)&&(0,J.m)(W.error)&&(0,J.m)(W.complete)}(W)&&(0,f.Nn)(W)}(Te)?Te:new s.Hp(Te,$e,Ye);return(0,oe.x)(()=>{const{operator:Fe,source:Pe}=this;Se.add(Fe?Fe.call(Se,Pe):Pe?this._subscribe(Se):this._trySubscribe(Se))}),Se}_trySubscribe(Te){try{return this._subscribe(Te)}catch($e){Te.error($e)}}forEach(Te,$e){return new($e=Q($e))((Ye,Se)=>{const Fe=new s.Hp({next:Pe=>{try{Te(Pe)}catch(De){Se(De),Fe.unsubscribe()}},error:Se,complete:Ye});this.subscribe(Fe)})}_subscribe(Te){var $e;return null===($e=this.source)||void 0===$e?void 0:$e.subscribe(Te)}[U.L](){return this}pipe(...Te){return(0,K.U)(Te)(this)}toPromise(Te){return new(Te=Q(Te))(($e,Ye)=>{let Se;this.subscribe(Fe=>Se=Fe,Fe=>Ye(Fe),()=>$e(Se))})}}return W.create=xe=>new W(xe),W})();function Q(W){var xe;return null!==(xe=W??X.v.Promise)&&void 0!==xe?xe:Promise}},4707:(it,Ce,D)=>{D.d(Ce,{t:()=>U});var s=D(7579),f=D(6063);class U extends s.x{constructor(X=1/0,J=1/0,oe=f.l){super(),this._bufferSize=X,this._windowTime=J,this._timestampProvider=oe,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=J===1/0,this._bufferSize=Math.max(1,X),this._windowTime=Math.max(1,J)}next(X){const{isStopped:J,_buffer:oe,_infiniteTimeWindow:ee,_timestampProvider:Q,_windowTime:j}=this;J||(oe.push(X),!ee&&oe.push(Q.now()+j)),this._trimBuffer(),super.next(X)}_subscribe(X){this._throwIfClosed(),this._trimBuffer();const J=this._innerSubscribe(X),{_infiniteTimeWindow:oe,_buffer:ee}=this,Q=ee.slice();for(let j=0;j<Q.length&&!X.closed;j+=oe?1:2)X.next(Q[j]);return this._checkFinalizedStatuses(X),J}_trimBuffer(){const{_bufferSize:X,_timestampProvider:J,_buffer:oe,_infiniteTimeWindow:ee}=this,Q=(ee?1:2)*X;if(X<1/0&&Q<oe.length&&oe.splice(0,oe.length-Q),!ee){const j=J.now();let Y=0;for(let W=1;W<oe.length&&oe[W]<=j;W+=2)Y=W;Y&&oe.splice(0,Y+1)}}}},7579:(it,Ce,D)=>{D.d(Ce,{x:()=>oe});var s=D(9751),f=D(727);const K=(0,D(3888).d)(Q=>function(){Q(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var X=D(8737),J=D(2806);let oe=(()=>{class Q extends s.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(Y){const W=new ee(this,this);return W.operator=Y,W}_throwIfClosed(){if(this.closed)throw new K}next(Y){(0,J.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const W of this.currentObservers)W.next(Y)}})}error(Y){(0,J.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=Y;const{observers:W}=this;for(;W.length;)W.shift().error(Y)}})}complete(){(0,J.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:Y}=this;for(;Y.length;)Y.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var Y;return(null===(Y=this.observers)||void 0===Y?void 0:Y.length)>0}_trySubscribe(Y){return this._throwIfClosed(),super._trySubscribe(Y)}_subscribe(Y){return this._throwIfClosed(),this._checkFinalizedStatuses(Y),this._innerSubscribe(Y)}_innerSubscribe(Y){const{hasError:W,isStopped:xe,observers:Te}=this;return W||xe?f.Lc:(this.currentObservers=null,Te.push(Y),new f.w0(()=>{this.currentObservers=null,(0,X.P)(Te,Y)}))}_checkFinalizedStatuses(Y){const{hasError:W,thrownError:xe,isStopped:Te}=this;W?Y.error(xe):Te&&Y.complete()}asObservable(){const Y=new s.y;return Y.source=this,Y}}return Q.create=(j,Y)=>new ee(j,Y),Q})();class ee extends oe{constructor(j,Y){super(),this.destination=j,this.source=Y}next(j){var Y,W;null===(W=null===(Y=this.destination)||void 0===Y?void 0:Y.next)||void 0===W||W.call(Y,j)}error(j){var Y,W;null===(W=null===(Y=this.destination)||void 0===Y?void 0:Y.error)||void 0===W||W.call(Y,j)}complete(){var j,Y;null===(Y=null===(j=this.destination)||void 0===j?void 0:j.complete)||void 0===Y||Y.call(j)}_subscribe(j){var Y,W;return null!==(W=null===(Y=this.source)||void 0===Y?void 0:Y.subscribe(j))&&void 0!==W?W:f.Lc}}},930:(it,Ce,D)=>{D.d(Ce,{Hp:()=>Ye,Lv:()=>W});var s=D(576),f=D(727),U=D(2416),K=D(7849),X=D(5032);const J=Q("C",void 0,void 0);function Q(Me,H,ae){return{kind:Me,value:H,error:ae}}var j=D(3410),Y=D(2806);class W extends f.w0{constructor(H){super(),this.isStopped=!1,H?(this.destination=H,(0,f.Nn)(H)&&H.add(this)):this.destination=De}static create(H,ae,le){return new Ye(H,ae,le)}next(H){this.isStopped?Pe(function ee(Me){return Q("N",Me,void 0)}(H),this):this._next(H)}error(H){this.isStopped?Pe(function oe(Me){return Q("E",void 0,Me)}(H),this):(this.isStopped=!0,this._error(H))}complete(){this.isStopped?Pe(J,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(H){this.destination.next(H)}_error(H){try{this.destination.error(H)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const xe=Function.prototype.bind;function Te(Me,H){return xe.call(Me,H)}class $e{constructor(H){this.partialObserver=H}next(H){const{partialObserver:ae}=this;if(ae.next)try{ae.next(H)}catch(le){Se(le)}}error(H){const{partialObserver:ae}=this;if(ae.error)try{ae.error(H)}catch(le){Se(le)}else Se(H)}complete(){const{partialObserver:H}=this;if(H.complete)try{H.complete()}catch(ae){Se(ae)}}}class Ye extends W{constructor(H,ae,le){let pe;if(super(),(0,s.m)(H)||!H)pe={next:H??void 0,error:ae??void 0,complete:le??void 0};else{let se;this&&U.v.useDeprecatedNextContext?(se=Object.create(H),se.unsubscribe=()=>this.unsubscribe(),pe={next:H.next&&Te(H.next,se),error:H.error&&Te(H.error,se),complete:H.complete&&Te(H.complete,se)}):pe=H}this.destination=new $e(pe)}}function Se(Me){U.v.useDeprecatedSynchronousErrorHandling?(0,Y.O)(Me):(0,K.h)(Me)}function Pe(Me,H){const{onStoppedNotification:ae}=U.v;ae&&j.z.setTimeout(()=>ae(Me,H))}const De={closed:!0,next:X.Z,error:function Fe(Me){throw Me},complete:X.Z}},727:(it,Ce,D)=>{D.d(Ce,{Lc:()=>J,w0:()=>X,Nn:()=>oe});var s=D(576);const U=(0,D(3888).d)(Q=>function(Y){Q(this),this.message=Y?`${Y.length} errors occurred during unsubscription:\n${Y.map((W,xe)=>`${xe+1}) ${W.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=Y});var K=D(8737);class X{constructor(j){this.initialTeardown=j,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let j;if(!this.closed){this.closed=!0;const{_parentage:Y}=this;if(Y)if(this._parentage=null,Array.isArray(Y))for(const Te of Y)Te.remove(this);else Y.remove(this);const{initialTeardown:W}=this;if((0,s.m)(W))try{W()}catch(Te){j=Te instanceof U?Te.errors:[Te]}const{_finalizers:xe}=this;if(xe){this._finalizers=null;for(const Te of xe)try{ee(Te)}catch($e){j=j??[],$e instanceof U?j=[...j,...$e.errors]:j.push($e)}}if(j)throw new U(j)}}add(j){var Y;if(j&&j!==this)if(this.closed)ee(j);else{if(j instanceof X){if(j.closed||j._hasParent(this))return;j._addParent(this)}(this._finalizers=null!==(Y=this._finalizers)&&void 0!==Y?Y:[]).push(j)}}_hasParent(j){const{_parentage:Y}=this;return Y===j||Array.isArray(Y)&&Y.includes(j)}_addParent(j){const{_parentage:Y}=this;this._parentage=Array.isArray(Y)?(Y.push(j),Y):Y?[Y,j]:j}_removeParent(j){const{_parentage:Y}=this;Y===j?this._parentage=null:Array.isArray(Y)&&(0,K.P)(Y,j)}remove(j){const{_finalizers:Y}=this;Y&&(0,K.P)(Y,j),j instanceof X&&j._removeParent(this)}}X.EMPTY=(()=>{const Q=new X;return Q.closed=!0,Q})();const J=X.EMPTY;function oe(Q){return Q instanceof X||Q&&"closed"in Q&&(0,s.m)(Q.remove)&&(0,s.m)(Q.add)&&(0,s.m)(Q.unsubscribe)}function ee(Q){(0,s.m)(Q)?Q():Q.unsubscribe()}},2416:(it,Ce,D)=>{D.d(Ce,{v:()=>s});const s={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},9841:(it,Ce,D)=>{D.d(Ce,{a:()=>j});var s=D(9751),f=D(4742),U=D(8996),K=D(4671),X=D(3268),J=D(3269),oe=D(1810),ee=D(5403),Q=D(9672);function j(...xe){const Te=(0,J.yG)(xe),$e=(0,J.jO)(xe),{args:Ye,keys:Se}=(0,f.D)(xe);if(0===Ye.length)return(0,U.D)([],Te);const Fe=new s.y(function Y(xe,Te,$e=K.y){return Ye=>{W(Te,()=>{const{length:Se}=xe,Fe=new Array(Se);let Pe=Se,De=Se;for(let Me=0;Me<Se;Me++)W(Te,()=>{const H=(0,U.D)(xe[Me],Te);let ae=!1;H.subscribe((0,ee.x)(Ye,le=>{Fe[Me]=le,ae||(ae=!0,De--),De||Ye.next($e(Fe.slice()))},()=>{--Pe||Ye.complete()}))},Ye)},Ye)}}(Ye,Te,Se?Pe=>(0,oe.n)(Se,Pe):K.y));return $e?Fe.pipe((0,X.Z)($e)):Fe}function W(xe,Te,$e){xe?(0,Q.f)($e,xe,Te):Te()}},7272:(it,Ce,D)=>{D.d(Ce,{z:()=>X});var s=D(8189),U=D(3269),K=D(8996);function X(...J){return function f(){return(0,s.J)(1)}()((0,K.D)(J,(0,U.yG)(J)))}},9770:(it,Ce,D)=>{D.d(Ce,{P:()=>U});var s=D(9751),f=D(8421);function U(K){return new s.y(X=>{(0,f.Xf)(K()).subscribe(X)})}},515:(it,Ce,D)=>{D.d(Ce,{E:()=>f});const f=new(D(9751).y)(X=>X.complete())},8996:(it,Ce,D)=>{D.d(Ce,{D:()=>H});var s=D(8421),f=D(5363),U=D(9468),J=D(9751),ee=D(2202),Q=D(576),j=D(9672);function W(ae,le){if(!ae)throw new Error("Iterable cannot be null");return new J.y(pe=>{(0,j.f)(pe,le,()=>{const se=ae[Symbol.asyncIterator]();(0,j.f)(pe,le,()=>{se.next().then(ge=>{ge.done?pe.complete():pe.next(ge.value)})},0,!0)})})}var xe=D(3670),Te=D(8239),$e=D(1144),Ye=D(6495),Se=D(2206),Fe=D(4532),Pe=D(3260);function H(ae,le){return le?function Me(ae,le){if(null!=ae){if((0,xe.c)(ae))return function K(ae,le){return(0,s.Xf)(ae).pipe((0,U.R)(le),(0,f.Q)(le))}(ae,le);if((0,$e.z)(ae))return function oe(ae,le){return new J.y(pe=>{let se=0;return le.schedule(function(){se===ae.length?pe.complete():(pe.next(ae[se++]),pe.closed||this.schedule())})})}(ae,le);if((0,Te.t)(ae))return function X(ae,le){return(0,s.Xf)(ae).pipe((0,U.R)(le),(0,f.Q)(le))}(ae,le);if((0,Se.D)(ae))return W(ae,le);if((0,Ye.T)(ae))return function Y(ae,le){return new J.y(pe=>{let se;return(0,j.f)(pe,le,()=>{se=ae[ee.h](),(0,j.f)(pe,le,()=>{let ge,Z;try{({value:ge,done:Z}=se.next())}catch(re){return void pe.error(re)}Z?pe.complete():pe.next(ge)},0,!0)}),()=>(0,Q.m)(se?.return)&&se.return()})}(ae,le);if((0,Pe.L)(ae))return function De(ae,le){return W((0,Pe.Q)(ae),le)}(ae,le)}throw(0,Fe.z)(ae)}(ae,le):(0,s.Xf)(ae)}},8421:(it,Ce,D)=>{D.d(Ce,{Xf:()=>xe});var s=D(655),f=D(1144),U=D(8239),K=D(9751),X=D(3670),J=D(2206),oe=D(4532),ee=D(6495),Q=D(3260),j=D(576),Y=D(7849),W=D(8822);function xe(Me){if(Me instanceof K.y)return Me;if(null!=Me){if((0,X.c)(Me))return function Te(Me){return new K.y(H=>{const ae=Me[W.L]();if((0,j.m)(ae.subscribe))return ae.subscribe(H);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(Me);if((0,f.z)(Me))return function $e(Me){return new K.y(H=>{for(let ae=0;ae<Me.length&&!H.closed;ae++)H.next(Me[ae]);H.complete()})}(Me);if((0,U.t)(Me))return function Ye(Me){return new K.y(H=>{Me.then(ae=>{H.closed||(H.next(ae),H.complete())},ae=>H.error(ae)).then(null,Y.h)})}(Me);if((0,J.D)(Me))return Fe(Me);if((0,ee.T)(Me))return function Se(Me){return new K.y(H=>{for(const ae of Me)if(H.next(ae),H.closed)return;H.complete()})}(Me);if((0,Q.L)(Me))return function Pe(Me){return Fe((0,Q.Q)(Me))}(Me)}throw(0,oe.z)(Me)}function Fe(Me){return new K.y(H=>{(function De(Me,H){var ae,le,pe,se;return(0,s.mG)(this,void 0,void 0,function*(){try{for(ae=(0,s.KL)(Me);!(le=yield ae.next()).done;)if(H.next(le.value),H.closed)return}catch(ge){pe={error:ge}}finally{try{le&&!le.done&&(se=ae.return)&&(yield se.call(ae))}finally{if(pe)throw pe.error}}H.complete()})})(Me,H).catch(ae=>H.error(ae))})}},6451:(it,Ce,D)=>{D.d(Ce,{T:()=>J});var s=D(8189),f=D(8421),U=D(515),K=D(3269),X=D(8996);function J(...oe){const ee=(0,K.yG)(oe),Q=(0,K._6)(oe,1/0),j=oe;return j.length?1===j.length?(0,f.Xf)(j[0]):(0,s.J)(Q)((0,X.D)(j,ee)):U.E}},9646:(it,Ce,D)=>{D.d(Ce,{of:()=>U});var s=D(3269),f=D(8996);function U(...K){const X=(0,s.yG)(K);return(0,f.D)(K,X)}},2843:(it,Ce,D)=>{D.d(Ce,{_:()=>U});var s=D(9751),f=D(576);function U(K,X){const J=(0,f.m)(K)?K:()=>K,oe=ee=>ee.error(J());return new s.y(X?ee=>X.schedule(oe,0,ee):oe)}},2805:(it,Ce,D)=>{D.d(Ce,{H:()=>X});var s=D(9751),f=D(4986),U=D(3532),K=D(1165);function X(J=0,oe,ee=f.P){let Q=-1;return null!=oe&&((0,U.K)(oe)?ee=oe:Q=oe),new s.y(j=>{let Y=(0,K.q)(J)?+J-ee.now():J;Y<0&&(Y=0);let W=0;return ee.schedule(function(){j.closed||(j.next(W++),0<=Q?this.schedule(void 0,Q):j.complete())},Y)})}},5403:(it,Ce,D)=>{D.d(Ce,{x:()=>f});var s=D(930);function f(K,X,J,oe,ee){return new U(K,X,J,oe,ee)}class U extends s.Lv{constructor(X,J,oe,ee,Q,j){super(X),this.onFinalize=Q,this.shouldUnsubscribe=j,this._next=J?function(Y){try{J(Y)}catch(W){X.error(W)}}:super._next,this._error=ee?function(Y){try{ee(Y)}catch(W){X.error(W)}finally{this.unsubscribe()}}:super._error,this._complete=oe?function(){try{oe()}catch(Y){X.error(Y)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var X;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:J}=this;super.unsubscribe(),!J&&(null===(X=this.onFinalize)||void 0===X||X.call(this))}}}},262:(it,Ce,D)=>{D.d(Ce,{K:()=>K});var s=D(8421),f=D(5403),U=D(4482);function K(X){return(0,U.e)((J,oe)=>{let j,ee=null,Q=!1;ee=J.subscribe((0,f.x)(oe,void 0,void 0,Y=>{j=(0,s.Xf)(X(Y,K(X)(J))),ee?(ee.unsubscribe(),ee=null,j.subscribe(oe)):Q=!0})),Q&&(ee.unsubscribe(),ee=null,j.subscribe(oe))})}},4351:(it,Ce,D)=>{D.d(Ce,{b:()=>U});var s=D(5577),f=D(576);function U(K,X){return(0,f.m)(X)?(0,s.z)(K,X,1):(0,s.z)(K,1)}},8372:(it,Ce,D)=>{D.d(Ce,{b:()=>K});var s=D(4986),f=D(4482),U=D(5403);function K(X,J=s.z){return(0,f.e)((oe,ee)=>{let Q=null,j=null,Y=null;const W=()=>{if(Q){Q.unsubscribe(),Q=null;const Te=j;j=null,ee.next(Te)}};function xe(){const Te=Y+X,$e=J.now();if($e<Te)return Q=this.schedule(void 0,Te-$e),void ee.add(Q);W()}oe.subscribe((0,U.x)(ee,Te=>{j=Te,Y=J.now(),Q||(Q=J.schedule(xe,X),ee.add(Q))},()=>{W(),ee.complete()},void 0,()=>{j=Q=null}))})}},6590:(it,Ce,D)=>{D.d(Ce,{d:()=>U});var s=D(4482),f=D(5403);function U(K){return(0,s.e)((X,J)=>{let oe=!1;X.subscribe((0,f.x)(J,ee=>{oe=!0,J.next(ee)},()=>{oe||J.next(K),J.complete()}))})}},1884:(it,Ce,D)=>{D.d(Ce,{x:()=>K});var s=D(4671),f=D(4482),U=D(5403);function K(J,oe=s.y){return J=J??X,(0,f.e)((ee,Q)=>{let j,Y=!0;ee.subscribe((0,U.x)(Q,W=>{const xe=oe(W);(Y||!J(j,xe))&&(Y=!1,j=xe,Q.next(W))}))})}function X(J,oe){return J===oe}},9300:(it,Ce,D)=>{D.d(Ce,{h:()=>U});var s=D(4482),f=D(5403);function U(K,X){return(0,s.e)((J,oe)=>{let ee=0;J.subscribe((0,f.x)(oe,Q=>K.call(X,Q,ee++)&&oe.next(Q)))})}},8746:(it,Ce,D)=>{D.d(Ce,{x:()=>f});var s=D(4482);function f(U){return(0,s.e)((K,X)=>{try{K.subscribe(X)}finally{X.add(U)}})}},590:(it,Ce,D)=>{D.d(Ce,{P:()=>oe});var s=D(6805),f=D(9300),U=D(5698),K=D(6590),X=D(8068),J=D(4671);function oe(ee,Q){const j=arguments.length>=2;return Y=>Y.pipe(ee?(0,f.h)((W,xe)=>ee(W,xe,Y)):J.y,(0,U.q)(1),j?(0,K.d)(Q):(0,X.T)(()=>new s.K))}},4004:(it,Ce,D)=>{D.d(Ce,{U:()=>U});var s=D(4482),f=D(5403);function U(K,X){return(0,s.e)((J,oe)=>{let ee=0;J.subscribe((0,f.x)(oe,Q=>{oe.next(K.call(X,Q,ee++))}))})}},8189:(it,Ce,D)=>{D.d(Ce,{J:()=>U});var s=D(5577),f=D(4671);function U(K=1/0){return(0,s.z)(f.y,K)}},5577:(it,Ce,D)=>{D.d(Ce,{z:()=>ee});var s=D(4004),f=D(8421),U=D(4482),K=D(9672),X=D(5403),oe=D(576);function ee(Q,j,Y=1/0){return(0,oe.m)(j)?ee((W,xe)=>(0,s.U)((Te,$e)=>j(W,Te,xe,$e))((0,f.Xf)(Q(W,xe))),Y):("number"==typeof j&&(Y=j),(0,U.e)((W,xe)=>function J(Q,j,Y,W,xe,Te,$e,Ye){const Se=[];let Fe=0,Pe=0,De=!1;const Me=()=>{De&&!Se.length&&!Fe&&j.complete()},H=le=>Fe<W?ae(le):Se.push(le),ae=le=>{Te&&j.next(le),Fe++;let pe=!1;(0,f.Xf)(Y(le,Pe++)).subscribe((0,X.x)(j,se=>{xe?.(se),Te?H(se):j.next(se)},()=>{pe=!0},void 0,()=>{if(pe)try{for(Fe--;Se.length&&Fe<W;){const se=Se.shift();$e?(0,K.f)(j,$e,()=>ae(se)):ae(se)}Me()}catch(se){j.error(se)}}))};return Q.subscribe((0,X.x)(j,H,()=>{De=!0,Me()})),()=>{Ye?.()}}(W,xe,Q,Y)))}},5363:(it,Ce,D)=>{D.d(Ce,{Q:()=>K});var s=D(9672),f=D(4482),U=D(5403);function K(X,J=0){return(0,f.e)((oe,ee)=>{oe.subscribe((0,U.x)(ee,Q=>(0,s.f)(ee,X,()=>ee.next(Q),J),()=>(0,s.f)(ee,X,()=>ee.complete(),J),Q=>(0,s.f)(ee,X,()=>ee.error(Q),J)))})}},5026:(it,Ce,D)=>{D.d(Ce,{R:()=>K});var s=D(4482),f=D(5403);function U(X,J,oe,ee,Q){return(j,Y)=>{let W=oe,xe=J,Te=0;j.subscribe((0,f.x)(Y,$e=>{const Ye=Te++;xe=W?X(xe,$e,Ye):(W=!0,$e),ee&&Y.next(xe)},Q&&(()=>{W&&Y.next(xe),Y.complete()})))}}function K(X,J){return(0,s.e)(U(X,J,arguments.length>=2,!0))}},3099:(it,Ce,D)=>{D.d(Ce,{B:()=>X});var s=D(8421),f=D(7579),U=D(930),K=D(4482);function X(oe={}){const{connector:ee=(()=>new f.x),resetOnError:Q=!0,resetOnComplete:j=!0,resetOnRefCountZero:Y=!0}=oe;return W=>{let xe,Te,$e,Ye=0,Se=!1,Fe=!1;const Pe=()=>{Te?.unsubscribe(),Te=void 0},De=()=>{Pe(),xe=$e=void 0,Se=Fe=!1},Me=()=>{const H=xe;De(),H?.unsubscribe()};return(0,K.e)((H,ae)=>{Ye++,!Fe&&!Se&&Pe();const le=$e=$e??ee();ae.add(()=>{Ye--,0===Ye&&!Fe&&!Se&&(Te=J(Me,Y))}),le.subscribe(ae),!xe&&Ye>0&&(xe=new U.Hp({next:pe=>le.next(pe),error:pe=>{Fe=!0,Pe(),Te=J(De,Q,pe),le.error(pe)},complete:()=>{Se=!0,Pe(),Te=J(De,j),le.complete()}}),(0,s.Xf)(H).subscribe(xe))})(W)}}function J(oe,ee,...Q){if(!0===ee)return void oe();if(!1===ee)return;const j=new U.Hp({next:()=>{j.unsubscribe(),oe()}});return ee(...Q).subscribe(j)}},4782:(it,Ce,D)=>{D.d(Ce,{d:()=>U});var s=D(4707),f=D(3099);function U(K,X,J){let oe,ee=!1;return K&&"object"==typeof K?({bufferSize:oe=1/0,windowTime:X=1/0,refCount:ee=!1,scheduler:J}=K):oe=K??1/0,(0,f.B)({connector:()=>new s.t(oe,X,J),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:ee})}},8675:(it,Ce,D)=>{D.d(Ce,{O:()=>K});var s=D(7272),f=D(3269),U=D(4482);function K(...X){const J=(0,f.yG)(X);return(0,U.e)((oe,ee)=>{(J?(0,s.z)(X,oe,J):(0,s.z)(X,oe)).subscribe(ee)})}},9468:(it,Ce,D)=>{D.d(Ce,{R:()=>f});var s=D(4482);function f(U,K=0){return(0,s.e)((X,J)=>{J.add(U.schedule(()=>X.subscribe(J),K))})}},3900:(it,Ce,D)=>{D.d(Ce,{w:()=>K});var s=D(8421),f=D(4482),U=D(5403);function K(X,J){return(0,f.e)((oe,ee)=>{let Q=null,j=0,Y=!1;const W=()=>Y&&!Q&&ee.complete();oe.subscribe((0,U.x)(ee,xe=>{Q?.unsubscribe();let Te=0;const $e=j++;(0,s.Xf)(X(xe,$e)).subscribe(Q=(0,U.x)(ee,Ye=>ee.next(J?J(xe,Ye,$e,Te++):Ye),()=>{Q=null,W()}))},()=>{Y=!0,W()}))})}},5698:(it,Ce,D)=>{D.d(Ce,{q:()=>K});var s=D(515),f=D(4482),U=D(5403);function K(X){return X<=0?()=>s.E:(0,f.e)((J,oe)=>{let ee=0;J.subscribe((0,U.x)(oe,Q=>{++ee<=X&&(oe.next(Q),X<=ee&&oe.complete())}))})}},2722:(it,Ce,D)=>{D.d(Ce,{R:()=>X});var s=D(4482),f=D(5403),U=D(8421),K=D(5032);function X(J){return(0,s.e)((oe,ee)=>{(0,U.Xf)(J).subscribe((0,f.x)(ee,()=>ee.complete(),K.Z)),!ee.closed&&oe.subscribe(ee)})}},2529:(it,Ce,D)=>{D.d(Ce,{o:()=>U});var s=D(4482),f=D(5403);function U(K,X=!1){return(0,s.e)((J,oe)=>{let ee=0;J.subscribe((0,f.x)(oe,Q=>{const j=K(Q,ee++);(j||X)&&oe.next(Q),!j&&oe.complete()}))})}},8505:(it,Ce,D)=>{D.d(Ce,{b:()=>X});var s=D(576),f=D(4482),U=D(5403),K=D(4671);function X(J,oe,ee){const Q=(0,s.m)(J)||oe||ee?{next:J,error:oe,complete:ee}:J;return Q?(0,f.e)((j,Y)=>{var W;null===(W=Q.subscribe)||void 0===W||W.call(Q);let xe=!0;j.subscribe((0,U.x)(Y,Te=>{var $e;null===($e=Q.next)||void 0===$e||$e.call(Q,Te),Y.next(Te)},()=>{var Te;xe=!1,null===(Te=Q.complete)||void 0===Te||Te.call(Q),Y.complete()},Te=>{var $e;xe=!1,null===($e=Q.error)||void 0===$e||$e.call(Q,Te),Y.error(Te)},()=>{var Te,$e;xe&&(null===(Te=Q.unsubscribe)||void 0===Te||Te.call(Q)),null===($e=Q.finalize)||void 0===$e||$e.call(Q)}))}):K.y}},8068:(it,Ce,D)=>{D.d(Ce,{T:()=>K});var s=D(6805),f=D(4482),U=D(5403);function K(J=X){return(0,f.e)((oe,ee)=>{let Q=!1;oe.subscribe((0,U.x)(ee,j=>{Q=!0,ee.next(j)},()=>Q?ee.complete():ee.error(J())))})}function X(){return new s.K}},4408:(it,Ce,D)=>{D.d(Ce,{o:()=>X});var s=D(727);class f extends s.w0{constructor(oe,ee){super()}schedule(oe,ee=0){return this}}const U={setInterval(J,oe,...ee){const{delegate:Q}=U;return Q?.setInterval?Q.setInterval(J,oe,...ee):setInterval(J,oe,...ee)},clearInterval(J){const{delegate:oe}=U;return(oe?.clearInterval||clearInterval)(J)},delegate:void 0};var K=D(8737);class X extends f{constructor(oe,ee){super(oe,ee),this.scheduler=oe,this.work=ee,this.pending=!1}schedule(oe,ee=0){if(this.closed)return this;this.state=oe;const Q=this.id,j=this.scheduler;return null!=Q&&(this.id=this.recycleAsyncId(j,Q,ee)),this.pending=!0,this.delay=ee,this.id=this.id||this.requestAsyncId(j,this.id,ee),this}requestAsyncId(oe,ee,Q=0){return U.setInterval(oe.flush.bind(oe,this),Q)}recycleAsyncId(oe,ee,Q=0){if(null!=Q&&this.delay===Q&&!1===this.pending)return ee;U.clearInterval(ee)}execute(oe,ee){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const Q=this._execute(oe,ee);if(Q)return Q;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(oe,ee){let j,Q=!1;try{this.work(oe)}catch(Y){Q=!0,j=Y||new Error("Scheduled action threw falsy error")}if(Q)return this.unsubscribe(),j}unsubscribe(){if(!this.closed){const{id:oe,scheduler:ee}=this,{actions:Q}=ee;this.work=this.state=this.scheduler=null,this.pending=!1,(0,K.P)(Q,this),null!=oe&&(this.id=this.recycleAsyncId(ee,oe,null)),this.delay=null,super.unsubscribe()}}}},7565:(it,Ce,D)=>{D.d(Ce,{v:()=>U});var s=D(6063);class f{constructor(X,J=f.now){this.schedulerActionCtor=X,this.now=J}schedule(X,J=0,oe){return new this.schedulerActionCtor(this,X).schedule(oe,J)}}f.now=s.l.now;class U extends f{constructor(X,J=f.now){super(X,J),this.actions=[],this._active=!1,this._scheduled=void 0}flush(X){const{actions:J}=this;if(this._active)return void J.push(X);let oe;this._active=!0;do{if(oe=X.execute(X.state,X.delay))break}while(X=J.shift());if(this._active=!1,oe){for(;X=J.shift();)X.unsubscribe();throw oe}}}},4986:(it,Ce,D)=>{D.d(Ce,{P:()=>K,z:()=>U});var s=D(4408);const U=new(D(7565).v)(s.o),K=U},6063:(it,Ce,D)=>{D.d(Ce,{l:()=>s});const s={now:()=>(s.delegate||Date).now(),delegate:void 0}},3410:(it,Ce,D)=>{D.d(Ce,{z:()=>s});const s={setTimeout(f,U,...K){const{delegate:X}=s;return X?.setTimeout?X.setTimeout(f,U,...K):setTimeout(f,U,...K)},clearTimeout(f){const{delegate:U}=s;return(U?.clearTimeout||clearTimeout)(f)},delegate:void 0}},2202:(it,Ce,D)=>{D.d(Ce,{h:()=>f});const f=function s(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},8822:(it,Ce,D)=>{D.d(Ce,{L:()=>s});const s="function"==typeof Symbol&&Symbol.observable||"@@observable"},6805:(it,Ce,D)=>{D.d(Ce,{K:()=>f});const f=(0,D(3888).d)(U=>function(){U(this),this.name="EmptyError",this.message="no elements in sequence"})},3269:(it,Ce,D)=>{D.d(Ce,{_6:()=>J,jO:()=>K,yG:()=>X});var s=D(576),f=D(3532);function U(oe){return oe[oe.length-1]}function K(oe){return(0,s.m)(U(oe))?oe.pop():void 0}function X(oe){return(0,f.K)(U(oe))?oe.pop():void 0}function J(oe,ee){return"number"==typeof U(oe)?oe.pop():ee}},4742:(it,Ce,D)=>{D.d(Ce,{D:()=>X});const{isArray:s}=Array,{getPrototypeOf:f,prototype:U,keys:K}=Object;function X(oe){if(1===oe.length){const ee=oe[0];if(s(ee))return{args:ee,keys:null};if(function J(oe){return oe&&"object"==typeof oe&&f(oe)===U}(ee)){const Q=K(ee);return{args:Q.map(j=>ee[j]),keys:Q}}}return{args:oe,keys:null}}},8737:(it,Ce,D)=>{function s(f,U){if(f){const K=f.indexOf(U);0<=K&&f.splice(K,1)}}D.d(Ce,{P:()=>s})},3888:(it,Ce,D)=>{function s(f){const K=f(X=>{Error.call(X),X.stack=(new Error).stack});return K.prototype=Object.create(Error.prototype),K.prototype.constructor=K,K}D.d(Ce,{d:()=>s})},1810:(it,Ce,D)=>{function s(f,U){return f.reduce((K,X,J)=>(K[X]=U[J],K),{})}D.d(Ce,{n:()=>s})},2806:(it,Ce,D)=>{D.d(Ce,{O:()=>K,x:()=>U});var s=D(2416);let f=null;function U(X){if(s.v.useDeprecatedSynchronousErrorHandling){const J=!f;if(J&&(f={errorThrown:!1,error:null}),X(),J){const{errorThrown:oe,error:ee}=f;if(f=null,oe)throw ee}}else X()}function K(X){s.v.useDeprecatedSynchronousErrorHandling&&f&&(f.errorThrown=!0,f.error=X)}},9672:(it,Ce,D)=>{function s(f,U,K,X=0,J=!1){const oe=U.schedule(function(){K(),J?f.add(this.schedule(null,X)):this.unsubscribe()},X);if(f.add(oe),!J)return oe}D.d(Ce,{f:()=>s})},4671:(it,Ce,D)=>{function s(f){return f}D.d(Ce,{y:()=>s})},1144:(it,Ce,D)=>{D.d(Ce,{z:()=>s});const s=f=>f&&"number"==typeof f.length&&"function"!=typeof f},2206:(it,Ce,D)=>{D.d(Ce,{D:()=>f});var s=D(576);function f(U){return Symbol.asyncIterator&&(0,s.m)(U?.[Symbol.asyncIterator])}},1165:(it,Ce,D)=>{function s(f){return f instanceof Date&&!isNaN(f)}D.d(Ce,{q:()=>s})},576:(it,Ce,D)=>{function s(f){return"function"==typeof f}D.d(Ce,{m:()=>s})},3670:(it,Ce,D)=>{D.d(Ce,{c:()=>U});var s=D(8822),f=D(576);function U(K){return(0,f.m)(K[s.L])}},6495:(it,Ce,D)=>{D.d(Ce,{T:()=>U});var s=D(2202),f=D(576);function U(K){return(0,f.m)(K?.[s.h])}},8239:(it,Ce,D)=>{D.d(Ce,{t:()=>f});var s=D(576);function f(U){return(0,s.m)(U?.then)}},3260:(it,Ce,D)=>{D.d(Ce,{L:()=>K,Q:()=>U});var s=D(655),f=D(576);function U(X){return(0,s.FC)(this,arguments,function*(){const oe=X.getReader();try{for(;;){const{value:ee,done:Q}=yield(0,s.qq)(oe.read());if(Q)return yield(0,s.qq)(void 0);yield yield(0,s.qq)(ee)}}finally{oe.releaseLock()}})}function K(X){return(0,f.m)(X?.getReader)}},3532:(it,Ce,D)=>{D.d(Ce,{K:()=>f});var s=D(576);function f(U){return U&&(0,s.m)(U.schedule)}},4482:(it,Ce,D)=>{D.d(Ce,{A:()=>f,e:()=>U});var s=D(576);function f(K){return(0,s.m)(K?.lift)}function U(K){return X=>{if(f(X))return X.lift(function(J){try{return K(J,this)}catch(oe){this.error(oe)}});throw new TypeError("Unable to lift unknown Observable type")}}},3268:(it,Ce,D)=>{D.d(Ce,{Z:()=>K});var s=D(4004);const{isArray:f}=Array;function K(X){return(0,s.U)(J=>function U(X,J){return f(J)?X(...J):X(J)}(X,J))}},5032:(it,Ce,D)=>{function s(){}D.d(Ce,{Z:()=>s})},9635:(it,Ce,D)=>{D.d(Ce,{U:()=>U,z:()=>f});var s=D(4671);function f(...K){return U(K)}function U(K){return 0===K.length?s.y:1===K.length?K[0]:function(J){return K.reduce((oe,ee)=>ee(oe),J)}}},7849:(it,Ce,D)=>{D.d(Ce,{h:()=>U});var s=D(2416),f=D(3410);function U(K){f.z.setTimeout(()=>{const{onUnhandledError:X}=s.v;if(!X)throw K;X(K)})}},4532:(it,Ce,D)=>{function s(f){return new TypeError(`You provided ${null!==f&&"object"==typeof f?"an invalid object":`'${f}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}D.d(Ce,{z:()=>s})},655:(it,Ce,D)=>{function K(Z,re){var Ie={};for(var me in Z)Object.prototype.hasOwnProperty.call(Z,me)&&re.indexOf(me)<0&&(Ie[me]=Z[me]);if(null!=Z&&"function"==typeof Object.getOwnPropertySymbols){var We=0;for(me=Object.getOwnPropertySymbols(Z);We<me.length;We++)re.indexOf(me[We])<0&&Object.prototype.propertyIsEnumerable.call(Z,me[We])&&(Ie[me[We]]=Z[me[We]])}return Ie}function ee(Z,re,Ie,me){return new(Ie||(Ie=Promise))(function(qe,pt){function Ht(It){try{At(me.next(It))}catch(Le){pt(Le)}}function en(It){try{At(me.throw(It))}catch(Le){pt(Le)}}function At(It){It.done?qe(It.value):function We(qe){return qe instanceof Ie?qe:new Ie(function(pt){pt(qe)})}(It.value).then(Ht,en)}At((me=me.apply(Z,re||[])).next())})}function Se(Z){return this instanceof Se?(this.v=Z,this):new Se(Z)}function Fe(Z,re,Ie){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var We,me=Ie.apply(Z,re||[]),qe=[];return We={},pt("next"),pt("throw"),pt("return"),We[Symbol.asyncIterator]=function(){return this},We;function pt(et){me[et]&&(We[et]=function(fe){return new Promise(function(Ne,rt){qe.push([et,fe,Ne,rt])>1||Ht(et,fe)})})}function Ht(et,fe){try{!function en(et){et.value instanceof Se?Promise.resolve(et.value.v).then(At,It):Le(qe[0][2],et)}(me[et](fe))}catch(Ne){Le(qe[0][3],Ne)}}function At(et){Ht("next",et)}function It(et){Ht("throw",et)}function Le(et,fe){et(fe),qe.shift(),qe.length&&Ht(qe[0][0],qe[0][1])}}function De(Z){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Ie,re=Z[Symbol.asyncIterator];return re?re.call(Z):(Z=function W(Z){var re="function"==typeof Symbol&&Symbol.iterator,Ie=re&&Z[re],me=0;if(Ie)return Ie.call(Z);if(Z&&"number"==typeof Z.length)return{next:function(){return Z&&me>=Z.length&&(Z=void 0),{value:Z&&Z[me++],done:!Z}}};throw new TypeError(re?"Object is not iterable.":"Symbol.iterator is not defined.")}(Z),Ie={},me("next"),me("throw"),me("return"),Ie[Symbol.asyncIterator]=function(){return this},Ie);function me(qe){Ie[qe]=Z[qe]&&function(pt){return new Promise(function(Ht,en){!function We(qe,pt,Ht,en){Promise.resolve(en).then(function(At){qe({value:At,done:Ht})},pt)}(Ht,en,(pt=Z[qe](pt)).done,pt.value)})}}}D.d(Ce,{FC:()=>Fe,KL:()=>De,_T:()=>K,mG:()=>ee,qq:()=>Se})},7340:(it,Ce,D)=>{D.d(Ce,{F4:()=>j,IO:()=>$e,LC:()=>f,SB:()=>Q,X$:()=>K,ZE:()=>Pe,ZN:()=>Fe,_j:()=>s,eR:()=>Y,jt:()=>X,k1:()=>De,l3:()=>U,oB:()=>ee,pV:()=>xe,ru:()=>J,vP:()=>oe});class s{}class f{}const U="*";function K(Me,H){return{type:7,name:Me,definitions:H,options:{}}}function X(Me,H=null){return{type:4,styles:H,timings:Me}}function J(Me,H=null){return{type:3,steps:Me,options:H}}function oe(Me,H=null){return{type:2,steps:Me,options:H}}function ee(Me){return{type:6,styles:Me,offset:null}}function Q(Me,H,ae){return{type:0,name:Me,styles:H,options:ae}}function j(Me){return{type:5,steps:Me}}function Y(Me,H,ae=null){return{type:1,expr:Me,animation:H,options:ae}}function xe(Me=null){return{type:9,options:Me}}function $e(Me,H,ae=null){return{type:11,selector:Me,animation:H,options:ae}}function Se(Me){Promise.resolve().then(Me)}class Fe{constructor(H=0,ae=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=H+ae}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(H=>H()),this._onDoneFns=[])}onStart(H){this._originalOnStartFns.push(H),this._onStartFns.push(H)}onDone(H){this._originalOnDoneFns.push(H),this._onDoneFns.push(H)}onDestroy(H){this._onDestroyFns.push(H)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){Se(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(H=>H()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(H=>H()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(H){this._position=this.totalTime?H*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(H){const ae="start"==H?this._onStartFns:this._onDoneFns;ae.forEach(le=>le()),ae.length=0}}class Pe{constructor(H){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=H;let ae=0,le=0,pe=0;const se=this.players.length;0==se?Se(()=>this._onFinish()):this.players.forEach(ge=>{ge.onDone(()=>{++ae==se&&this._onFinish()}),ge.onDestroy(()=>{++le==se&&this._onDestroy()}),ge.onStart(()=>{++pe==se&&this._onStart()})}),this.totalTime=this.players.reduce((ge,Z)=>Math.max(ge,Z.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(H=>H()),this._onDoneFns=[])}init(){this.players.forEach(H=>H.init())}onStart(H){this._onStartFns.push(H)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(H=>H()),this._onStartFns=[])}onDone(H){this._onDoneFns.push(H)}onDestroy(H){this._onDestroyFns.push(H)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(H=>H.play())}pause(){this.players.forEach(H=>H.pause())}restart(){this.players.forEach(H=>H.restart())}finish(){this._onFinish(),this.players.forEach(H=>H.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(H=>H.destroy()),this._onDestroyFns.forEach(H=>H()),this._onDestroyFns=[])}reset(){this.players.forEach(H=>H.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(H){const ae=H*this.totalTime;this.players.forEach(le=>{const pe=le.totalTime?Math.min(1,ae/le.totalTime):1;le.setPosition(pe)})}getPosition(){const H=this.players.reduce((ae,le)=>null===ae||le.totalTime>ae.totalTime?le:ae,null);return null!=H?H.getPosition():0}beforeDestroy(){this.players.forEach(H=>{H.beforeDestroy&&H.beforeDestroy()})}triggerCallback(H){const ae="start"==H?this._onStartFns:this._onDoneFns;ae.forEach(le=>le()),ae.length=0}}const De="!"},7253:(it,Ce,D)=>{D.d(Ce,{rt:()=>Bt,s1:()=>Ft,$s:()=>et,kH:()=>de,mK:()=>Ot,Em:()=>$t,tE:()=>G,qV:()=>Hn,qm:()=>Nt,ic:()=>Kt,Kd:()=>M,X6:()=>Re,yG:()=>Ze});var s=D(6895),f=D(4650),U=D(3353),K=D(7579),X=D(727),J=D(1135),oe=D(9646),ee=D(9521),Q=D(8505),j=D(8372),Y=D(9300),W=D(4004),xe=D(5698);function Te(ye){return(0,Y.h)((x,C)=>ye<=C)}var $e=D(1884),Ye=D(2722),Se=D(1281),Fe=D(9643),Pe=D(9841),De=D(7272),Me=D(9751),H=D(8675);const le=new Set;let pe,se=(()=>{class ye{constructor(C){this._platform=C,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Z}matchMedia(C){return(this._platform.WEBKIT||this._platform.BLINK)&&function ge(ye){if(!le.has(ye))try{pe||(pe=document.createElement("style"),pe.setAttribute("type","text/css"),document.head.appendChild(pe)),pe.sheet&&(pe.sheet.insertRule(`@media ${ye} {body{ }}`,0),le.add(ye))}catch(x){console.error(x)}}(C),this._matchMedia(C)}}return ye.\u0275fac=function(C){return new(C||ye)(f.LFG(U.t4))},ye.\u0275prov=f.Yz7({token:ye,factory:ye.\u0275fac,providedIn:"root"}),ye})();function Z(ye){return{matches:"all"===ye||""===ye,media:ye,addListener:()=>{},removeListener:()=>{}}}let re=(()=>{class ye{constructor(C,I){this._mediaMatcher=C,this._zone=I,this._queries=new Map,this._destroySubject=new K.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(C){return Ie((0,Se.Eq)(C)).some($=>this._registerQuery($).mql.matches)}observe(C){const $=Ie((0,Se.Eq)(C)).map(Ke=>this._registerQuery(Ke).observable);let ue=(0,Pe.a)($);return ue=(0,De.z)(ue.pipe((0,xe.q)(1)),ue.pipe(Te(1),(0,j.b)(0))),ue.pipe((0,W.U)(Ke=>{const vt={matches:!1,breakpoints:{}};return Ke.forEach(({matches:Dn,query:Mn})=>{vt.matches=vt.matches||Dn,vt.breakpoints[Mn]=Dn}),vt}))}_registerQuery(C){if(this._queries.has(C))return this._queries.get(C);const I=this._mediaMatcher.matchMedia(C),ue={observable:new Me.y(Ke=>{const vt=Dn=>this._zone.run(()=>Ke.next(Dn));return I.addListener(vt),()=>{I.removeListener(vt)}}).pipe((0,H.O)(I),(0,W.U)(({matches:Ke})=>({query:C,matches:Ke})),(0,Ye.R)(this._destroySubject)),mql:I};return this._queries.set(C,ue),ue}}return ye.\u0275fac=function(C){return new(C||ye)(f.LFG(se),f.LFG(f.R0b))},ye.\u0275prov=f.Yz7({token:ye,factory:ye.\u0275fac,providedIn:"root"}),ye})();function Ie(ye){return ye.map(x=>x.split(",")).reduce((x,C)=>x.concat(C)).map(x=>x.trim())}function Ht(ye,x){return(ye.getAttribute(x)||"").match(/\S+/g)||[]}const At="cdk-describedby-message",It="cdk-describedby-host";let Le=0,et=(()=>{class ye{constructor(C,I){this._platform=I,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+Le++,this._document=C,this._id=(0,f.f3M)(f.AFp)+"-"+Le++}describe(C,I,$){if(!this._canBeDescribed(C,I))return;const ue=fe(I,$);"string"!=typeof I?(Ne(I,this._id),this._messageRegistry.set(ue,{messageElement:I,referenceCount:0})):this._messageRegistry.has(ue)||this._createMessageElement(I,$),this._isElementDescribedByMessage(C,ue)||this._addMessageReference(C,ue)}removeDescription(C,I,$){if(!I||!this._isElementNode(C))return;const ue=fe(I,$);if(this._isElementDescribedByMessage(C,ue)&&this._removeMessageReference(C,ue),"string"==typeof I){const Ke=this._messageRegistry.get(ue);Ke&&0===Ke.referenceCount&&this._deleteMessageElement(ue)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const C=this._document.querySelectorAll(`[${It}="${this._id}"]`);for(let I=0;I<C.length;I++)this._removeCdkDescribedByReferenceIds(C[I]),C[I].removeAttribute(It);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(C,I){const $=this._document.createElement("div");Ne($,this._id),$.textContent=C,I&&$.setAttribute("role",I),this._createMessagesContainer(),this._messagesContainer.appendChild($),this._messageRegistry.set(fe(C,I),{messageElement:$,referenceCount:0})}_deleteMessageElement(C){this._messageRegistry.get(C)?.messageElement?.remove(),this._messageRegistry.delete(C)}_createMessagesContainer(){if(this._messagesContainer)return;const C="cdk-describedby-message-container",I=this._document.querySelectorAll(`.${C}[platform="server"]`);for(let ue=0;ue<I.length;ue++)I[ue].remove();const $=this._document.createElement("div");$.style.visibility="hidden",$.classList.add(C),$.classList.add("cdk-visually-hidden"),this._platform&&!this._platform.isBrowser&&$.setAttribute("platform","server"),this._document.body.appendChild($),this._messagesContainer=$}_removeCdkDescribedByReferenceIds(C){const I=Ht(C,"aria-describedby").filter($=>0!=$.indexOf(At));C.setAttribute("aria-describedby",I.join(" "))}_addMessageReference(C,I){const $=this._messageRegistry.get(I);(function qe(ye,x,C){const I=Ht(ye,x);I.some($=>$.trim()==C.trim())||(I.push(C.trim()),ye.setAttribute(x,I.join(" ")))})(C,"aria-describedby",$.messageElement.id),C.setAttribute(It,this._id),$.referenceCount++}_removeMessageReference(C,I){const $=this._messageRegistry.get(I);$.referenceCount--,function pt(ye,x,C){const $=Ht(ye,x).filter(ue=>ue!=C.trim());$.length?ye.setAttribute(x,$.join(" ")):ye.removeAttribute(x)}(C,"aria-describedby",$.messageElement.id),C.removeAttribute(It)}_isElementDescribedByMessage(C,I){const $=Ht(C,"aria-describedby"),ue=this._messageRegistry.get(I),Ke=ue&&ue.messageElement.id;return!!Ke&&-1!=$.indexOf(Ke)}_canBeDescribed(C,I){if(!this._isElementNode(C))return!1;if(I&&"object"==typeof I)return!0;const $=null==I?"":`${I}`.trim(),ue=C.getAttribute("aria-label");return!(!$||ue&&ue.trim()===$)}_isElementNode(C){return C.nodeType===this._document.ELEMENT_NODE}}return ye.\u0275fac=function(C){return new(C||ye)(f.LFG(s.K0),f.LFG(U.t4))},ye.\u0275prov=f.Yz7({token:ye,factory:ye.\u0275fac,providedIn:"root"}),ye})();function fe(ye,x){return"string"==typeof ye?`${x||""}/${ye}`:ye}function Ne(ye,x){ye.id||(ye.id=`${At}-${x}-${Le++}`)}class rt{constructor(x){this._items=x,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new K.x,this._typeaheadSubscription=X.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=C=>C.disabled,this._pressedLetters=[],this.tabOut=new K.x,this.change=new K.x,x instanceof f.n_E&&(this._itemChangesSubscription=x.changes.subscribe(C=>{if(this._activeItem){const $=C.toArray().indexOf(this._activeItem);$>-1&&$!==this._activeItemIndex&&(this._activeItemIndex=$)}}))}skipPredicate(x){return this._skipPredicateFn=x,this}withWrap(x=!0){return this._wrap=x,this}withVerticalOrientation(x=!0){return this._vertical=x,this}withHorizontalOrientation(x){return this._horizontal=x,this}withAllowedModifierKeys(x){return this._allowedModifierKeys=x,this}withTypeAhead(x=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,Q.b)(C=>this._pressedLetters.push(C)),(0,j.b)(x),(0,Y.h)(()=>this._pressedLetters.length>0),(0,W.U)(()=>this._pressedLetters.join(""))).subscribe(C=>{const I=this._getItemsArray();for(let $=1;$<I.length+1;$++){const ue=(this._activeItemIndex+$)%I.length,Ke=I[ue];if(!this._skipPredicateFn(Ke)&&0===Ke.getLabel().toUpperCase().trim().indexOf(C)){this.setActiveItem(ue);break}}this._pressedLetters=[]}),this}cancelTypeahead(){return this._pressedLetters=[],this}withHomeAndEnd(x=!0){return this._homeAndEnd=x,this}withPageUpDown(x=!0,C=10){return this._pageUpAndDown={enabled:x,delta:C},this}setActiveItem(x){const C=this._activeItem;this.updateActiveItem(x),this._activeItem!==C&&this.change.next(this._activeItemIndex)}onKeydown(x){const C=x.keyCode,$=["altKey","ctrlKey","metaKey","shiftKey"].every(ue=>!x[ue]||this._allowedModifierKeys.indexOf(ue)>-1);switch(C){case ee.Mf:return void this.tabOut.next();case ee.JH:if(this._vertical&&$){this.setNextItemActive();break}return;case ee.LH:if(this._vertical&&$){this.setPreviousItemActive();break}return;case ee.SV:if(this._horizontal&&$){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case ee.oh:if(this._horizontal&&$){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case ee.Sd:if(this._homeAndEnd&&$){this.setFirstItemActive();break}return;case ee.uR:if(this._homeAndEnd&&$){this.setLastItemActive();break}return;case ee.Ku:if(this._pageUpAndDown.enabled&&$){const ue=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(ue>0?ue:0,1);break}return;case ee.VM:if(this._pageUpAndDown.enabled&&$){const ue=this._activeItemIndex+this._pageUpAndDown.delta,Ke=this._getItemsArray().length;this._setActiveItemByIndex(ue<Ke?ue:Ke-1,-1);break}return;default:return void(($||(0,ee.Vb)(x,"shiftKey"))&&(x.key&&1===x.key.length?this._letterKeyStream.next(x.key.toLocaleUpperCase()):(C>=ee.A&&C<=ee.Z||C>=ee.xE&&C<=ee.aO)&&this._letterKeyStream.next(String.fromCharCode(C))))}this._pressedLetters=[],x.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(x){const C=this._getItemsArray(),I="number"==typeof x?x:C.indexOf(x);this._activeItem=C[I]??null,this._activeItemIndex=I}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(x){this._wrap?this._setActiveInWrapMode(x):this._setActiveInDefaultMode(x)}_setActiveInWrapMode(x){const C=this._getItemsArray();for(let I=1;I<=C.length;I++){const $=(this._activeItemIndex+x*I+C.length)%C.length;if(!this._skipPredicateFn(C[$]))return void this.setActiveItem($)}}_setActiveInDefaultMode(x){this._setActiveItemByIndex(this._activeItemIndex+x,x)}_setActiveItemByIndex(x,C){const I=this._getItemsArray();if(I[x]){for(;this._skipPredicateFn(I[x]);)if(!I[x+=C])return;this.setActiveItem(x)}}_getItemsArray(){return this._items instanceof f.n_E?this._items.toArray():this._items}}class Ft extends rt{setActiveItem(x){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(x),this.activeItem&&this.activeItem.setActiveStyles()}}class $t extends rt{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(x){return this._origin=x,this}setActiveItem(x){super.setActiveItem(x),this.activeItem&&this.activeItem.focus(this._origin)}}let Kt=(()=>{class ye{constructor(C){this._platform=C}isDisabled(C){return C.hasAttribute("disabled")}isVisible(C){return function vn(ye){return!!(ye.offsetWidth||ye.offsetHeight||"function"==typeof ye.getClientRects&&ye.getClientRects().length)}(C)&&"visible"===getComputedStyle(C).visibility}isTabbable(C){if(!this._platform.isBrowser)return!1;const I=function Wn(ye){try{return ye.frameElement}catch{return null}}(function gn(ye){return ye.ownerDocument&&ye.ownerDocument.defaultView||window}(C));if(I&&(-1===wt(I)||!this.isVisible(I)))return!1;let $=C.nodeName.toLowerCase(),ue=wt(C);return C.hasAttribute("contenteditable")?-1!==ue:!("iframe"===$||"object"===$||this._platform.WEBKIT&&this._platform.IOS&&!function tn(ye){let x=ye.nodeName.toLowerCase(),C="input"===x&&ye.type;return"text"===C||"password"===C||"select"===x||"textarea"===x}(C))&&("audio"===$?!!C.hasAttribute("controls")&&-1!==ue:"video"===$?-1!==ue&&(null!==ue||this._platform.FIREFOX||C.hasAttribute("controls")):C.tabIndex>=0)}isFocusable(C,I){return function $n(ye){return!function In(ye){return function wn(ye){return"input"==ye.nodeName.toLowerCase()}(ye)&&"hidden"==ye.type}(ye)&&(function kn(ye){let x=ye.nodeName.toLowerCase();return"input"===x||"select"===x||"button"===x||"textarea"===x}(ye)||function Xt(ye){return function Gt(ye){return"a"==ye.nodeName.toLowerCase()}(ye)&&ye.hasAttribute("href")}(ye)||ye.hasAttribute("contenteditable")||yt(ye))}(C)&&!this.isDisabled(C)&&(I?.ignoreVisibility||this.isVisible(C))}}return ye.\u0275fac=function(C){return new(C||ye)(f.LFG(U.t4))},ye.\u0275prov=f.Yz7({token:ye,factory:ye.\u0275fac,providedIn:"root"}),ye})();function yt(ye){if(!ye.hasAttribute("tabindex")||void 0===ye.tabIndex)return!1;let x=ye.getAttribute("tabindex");return!(!x||isNaN(parseInt(x,10)))}function wt(ye){if(!yt(ye))return null;const x=parseInt(ye.getAttribute("tabindex")||"",10);return isNaN(x)?-1:x}class bn{get enabled(){return this._enabled}set enabled(x){this._enabled=x,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(x,this._startAnchor),this._toggleAnchorTabIndex(x,this._endAnchor))}constructor(x,C,I,$,ue=!1){this._element=x,this._checker=C,this._ngZone=I,this._document=$,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,ue||this.attachAnchors()}destroy(){const x=this._startAnchor,C=this._endAnchor;x&&(x.removeEventListener("focus",this.startAnchorListener),x.remove()),C&&(C.removeEventListener("focus",this.endAnchorListener),C.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(x){return new Promise(C=>{this._executeOnStable(()=>C(this.focusInitialElement(x)))})}focusFirstTabbableElementWhenReady(x){return new Promise(C=>{this._executeOnStable(()=>C(this.focusFirstTabbableElement(x)))})}focusLastTabbableElementWhenReady(x){return new Promise(C=>{this._executeOnStable(()=>C(this.focusLastTabbableElement(x)))})}_getRegionBoundary(x){const C=this._element.querySelectorAll(`[cdk-focus-region-${x}], [cdkFocusRegion${x}], [cdk-focus-${x}]`);return"start"==x?C.length?C[0]:this._getFirstTabbableElement(this._element):C.length?C[C.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(x){const C=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(C){if(!this._checker.isFocusable(C)){const I=this._getFirstTabbableElement(C);return I?.focus(x),!!I}return C.focus(x),!0}return this.focusFirstTabbableElement(x)}focusFirstTabbableElement(x){const C=this._getRegionBoundary("start");return C&&C.focus(x),!!C}focusLastTabbableElement(x){const C=this._getRegionBoundary("end");return C&&C.focus(x),!!C}hasAttached(){return this._hasAttached}_getFirstTabbableElement(x){if(this._checker.isFocusable(x)&&this._checker.isTabbable(x))return x;const C=x.children;for(let I=0;I<C.length;I++){const $=C[I].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(C[I]):null;if($)return $}return null}_getLastTabbableElement(x){if(this._checker.isFocusable(x)&&this._checker.isTabbable(x))return x;const C=x.children;for(let I=C.length-1;I>=0;I--){const $=C[I].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(C[I]):null;if($)return $}return null}_createAnchor(){const x=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,x),x.classList.add("cdk-visually-hidden"),x.classList.add("cdk-focus-trap-anchor"),x.setAttribute("aria-hidden","true"),x}_toggleAnchorTabIndex(x,C){x?C.setAttribute("tabindex","0"):C.removeAttribute("tabindex")}toggleAnchors(x){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(x,this._startAnchor),this._toggleAnchorTabIndex(x,this._endAnchor))}_executeOnStable(x){this._ngZone.isStable?x():this._ngZone.onStable.pipe((0,xe.q)(1)).subscribe(x)}}let Hn=(()=>{class ye{constructor(C,I,$){this._checker=C,this._ngZone=I,this._document=$}create(C,I=!1){return new bn(C,this._checker,this._ngZone,this._document,I)}}return ye.\u0275fac=function(C){return new(C||ye)(f.LFG(Kt),f.LFG(f.R0b),f.LFG(s.K0))},ye.\u0275prov=f.Yz7({token:ye,factory:ye.\u0275fac,providedIn:"root"}),ye})(),Ot=(()=>{class ye{get enabled(){return this.focusTrap.enabled}set enabled(C){this.focusTrap.enabled=(0,Se.Ig)(C)}get autoCapture(){return this._autoCapture}set autoCapture(C){this._autoCapture=(0,Se.Ig)(C)}constructor(C,I,$){this._elementRef=C,this._focusTrapFactory=I,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(C){const I=C.autoCapture;I&&!I.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,U.ht)(),this.focusTrap.focusInitialElementWhenReady()}}return ye.\u0275fac=function(C){return new(C||ye)(f.Y36(f.SBq),f.Y36(Hn),f.Y36(s.K0))},ye.\u0275dir=f.lG2({type:ye,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[f.TTD]}),ye})();function Re(ye){return 0===ye.buttons||0===ye.offsetX&&0===ye.offsetY}function Ze(ye){const x=ye.touches&&ye.touches[0]||ye.changedTouches&&ye.changedTouches[0];return!(!x||-1!==x.identifier||null!=x.radiusX&&1!==x.radiusX||null!=x.radiusY&&1!==x.radiusY)}const kt=new f.OlP("cdk-input-modality-detector-options"),Mt={ignoreKeys:[ee.zL,ee.jx,ee.b2,ee.MW,ee.JU]},Pt=(0,U.i$)({passive:!0,capture:!0});let Tn=(()=>{class ye{get mostRecentModality(){return this._modality.value}constructor(C,I,$,ue){this._platform=C,this._mostRecentTarget=null,this._modality=new J.X(null),this._lastTouchMs=0,this._onKeydown=Ke=>{this._options?.ignoreKeys?.some(vt=>vt===Ke.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,U.sA)(Ke))},this._onMousedown=Ke=>{Date.now()-this._lastTouchMs<650||(this._modality.next(Re(Ke)?"keyboard":"mouse"),this._mostRecentTarget=(0,U.sA)(Ke))},this._onTouchstart=Ke=>{Ze(Ke)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,U.sA)(Ke))},this._options={...Mt,...ue},this.modalityDetected=this._modality.pipe(Te(1)),this.modalityChanged=this.modalityDetected.pipe((0,$e.x)()),C.isBrowser&&I.runOutsideAngular(()=>{$.addEventListener("keydown",this._onKeydown,Pt),$.addEventListener("mousedown",this._onMousedown,Pt),$.addEventListener("touchstart",this._onTouchstart,Pt)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Pt),document.removeEventListener("mousedown",this._onMousedown,Pt),document.removeEventListener("touchstart",this._onTouchstart,Pt))}}return ye.\u0275fac=function(C){return new(C||ye)(f.LFG(U.t4),f.LFG(f.R0b),f.LFG(s.K0),f.LFG(kt,8))},ye.\u0275prov=f.Yz7({token:ye,factory:ye.\u0275fac,providedIn:"root"}),ye})();const Zn=new f.OlP("liveAnnouncerElement",{providedIn:"root",factory:function lt(){return null}}),ne=new f.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let F=0,M=(()=>{class ye{constructor(C,I,$,ue){this._ngZone=I,this._defaultOptions=ue,this._document=$,this._liveElement=C||this._createLiveElement()}announce(C,...I){const $=this._defaultOptions;let ue,Ke;return 1===I.length&&"number"==typeof I[0]?Ke=I[0]:[ue,Ke]=I,this.clear(),clearTimeout(this._previousTimeout),ue||(ue=$&&$.politeness?$.politeness:"polite"),null==Ke&&$&&(Ke=$.duration),this._liveElement.setAttribute("aria-live",ue),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(vt=>this._currentResolve=vt)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=C,"number"==typeof Ke&&(this._previousTimeout=setTimeout(()=>this.clear(),Ke)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const C="cdk-live-announcer-element",I=this._document.getElementsByClassName(C),$=this._document.createElement("div");for(let ue=0;ue<I.length;ue++)I[ue].remove();return $.classList.add(C),$.classList.add("cdk-visually-hidden"),$.setAttribute("aria-atomic","true"),$.setAttribute("aria-live","polite"),$.id="cdk-live-announcer-"+F++,this._document.body.appendChild($),$}_exposeAnnouncerToModals(C){const I=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let $=0;$<I.length;$++){const ue=I[$],Ke=ue.getAttribute("aria-owns");Ke?-1===Ke.indexOf(C)&&ue.setAttribute("aria-owns",Ke+" "+C):ue.setAttribute("aria-owns",C)}}}return ye.\u0275fac=function(C){return new(C||ye)(f.LFG(Zn,8),f.LFG(f.R0b),f.LFG(s.K0),f.LFG(ne,8))},ye.\u0275prov=f.Yz7({token:ye,factory:ye.\u0275fac,providedIn:"root"}),ye})();const ve=new f.OlP("cdk-focus-monitor-default-options"),L=(0,U.i$)({passive:!0,capture:!0});let G=(()=>{class ye{constructor(C,I,$,ue,Ke){this._ngZone=C,this._platform=I,this._inputModalityDetector=$,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new K.x,this._rootNodeFocusAndBlurListener=vt=>{for(let Mn=(0,U.sA)(vt);Mn;Mn=Mn.parentElement)"focus"===vt.type?this._onFocus(vt,Mn):this._onBlur(vt,Mn)},this._document=ue,this._detectionMode=Ke?.detectionMode||0}monitor(C,I=!1){const $=(0,Se.fI)(C);if(!this._platform.isBrowser||1!==$.nodeType)return(0,oe.of)(null);const ue=(0,U.kV)($)||this._getDocument(),Ke=this._elementInfo.get($);if(Ke)return I&&(Ke.checkChildren=!0),Ke.subject;const vt={checkChildren:I,subject:new K.x,rootNode:ue};return this._elementInfo.set($,vt),this._registerGlobalListeners(vt),vt.subject}stopMonitoring(C){const I=(0,Se.fI)(C),$=this._elementInfo.get(I);$&&($.subject.complete(),this._setClasses(I),this._elementInfo.delete(I),this._removeGlobalListeners($))}focusVia(C,I,$){const ue=(0,Se.fI)(C);ue===this._getDocument().activeElement?this._getClosestElementsInfo(ue).forEach(([vt,Dn])=>this._originChanged(vt,I,Dn)):(this._setOrigin(I),"function"==typeof ue.focus&&ue.focus($))}ngOnDestroy(){this._elementInfo.forEach((C,I)=>this.stopMonitoring(I))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(C){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(C)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:C&&this._isLastInteractionFromInputLabel(C)?"mouse":"program"}_shouldBeAttributedToTouch(C){return 1===this._detectionMode||!!C?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(C,I){C.classList.toggle("cdk-focused",!!I),C.classList.toggle("cdk-touch-focused","touch"===I),C.classList.toggle("cdk-keyboard-focused","keyboard"===I),C.classList.toggle("cdk-mouse-focused","mouse"===I),C.classList.toggle("cdk-program-focused","program"===I)}_setOrigin(C,I=!1){this._ngZone.runOutsideAngular(()=>{this._origin=C,this._originFromTouchInteraction="touch"===C&&I,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(C,I){const $=this._elementInfo.get(I),ue=(0,U.sA)(C);!$||!$.checkChildren&&I!==ue||this._originChanged(I,this._getFocusOrigin(ue),$)}_onBlur(C,I){const $=this._elementInfo.get(I);!$||$.checkChildren&&C.relatedTarget instanceof Node&&I.contains(C.relatedTarget)||(this._setClasses(I),this._emitOrigin($,null))}_emitOrigin(C,I){C.subject.observers.length&&this._ngZone.run(()=>C.subject.next(I))}_registerGlobalListeners(C){if(!this._platform.isBrowser)return;const I=C.rootNode,$=this._rootNodeFocusListenerCount.get(I)||0;$||this._ngZone.runOutsideAngular(()=>{I.addEventListener("focus",this._rootNodeFocusAndBlurListener,L),I.addEventListener("blur",this._rootNodeFocusAndBlurListener,L)}),this._rootNodeFocusListenerCount.set(I,$+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,Ye.R)(this._stopInputModalityDetector)).subscribe(ue=>{this._setOrigin(ue,!0)}))}_removeGlobalListeners(C){const I=C.rootNode;if(this._rootNodeFocusListenerCount.has(I)){const $=this._rootNodeFocusListenerCount.get(I);$>1?this._rootNodeFocusListenerCount.set(I,$-1):(I.removeEventListener("focus",this._rootNodeFocusAndBlurListener,L),I.removeEventListener("blur",this._rootNodeFocusAndBlurListener,L),this._rootNodeFocusListenerCount.delete(I))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(C,I,$){this._setClasses(C,I),this._emitOrigin($,I),this._lastFocusOrigin=I}_getClosestElementsInfo(C){const I=[];return this._elementInfo.forEach(($,ue)=>{(ue===C||$.checkChildren&&ue.contains(C))&&I.push([ue,$])}),I}_isLastInteractionFromInputLabel(C){const{_mostRecentTarget:I,mostRecentModality:$}=this._inputModalityDetector;if("mouse"!==$||!I||I===C||"INPUT"!==C.nodeName&&"TEXTAREA"!==C.nodeName||C.disabled)return!1;const ue=C.labels;if(ue)for(let Ke=0;Ke<ue.length;Ke++)if(ue[Ke].contains(I))return!0;return!1}}return ye.\u0275fac=function(C){return new(C||ye)(f.LFG(f.R0b),f.LFG(U.t4),f.LFG(Tn),f.LFG(s.K0,8),f.LFG(ve,8))},ye.\u0275prov=f.Yz7({token:ye,factory:ye.\u0275fac,providedIn:"root"}),ye})(),de=(()=>{class ye{constructor(C,I){this._elementRef=C,this._focusMonitor=I,this._focusOrigin=null,this.cdkFocusChange=new f.vpe}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const C=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(C,1===C.nodeType&&C.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(I=>{this._focusOrigin=I,this.cdkFocusChange.emit(I)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return ye.\u0275fac=function(C){return new(C||ye)(f.Y36(f.SBq),f.Y36(G))},ye.\u0275dir=f.lG2({type:ye,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]}),ye})();const He="cdk-high-contrast-black-on-white",Ee="cdk-high-contrast-white-on-black",ot="cdk-high-contrast-active";let Nt=(()=>{class ye{constructor(C,I){this._platform=C,this._document=I,this._breakpointSubscription=(0,f.f3M)(re).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const C=this._document.createElement("div");C.style.backgroundColor="rgb(1,2,3)",C.style.position="absolute",this._document.body.appendChild(C);const I=this._document.defaultView||window,$=I&&I.getComputedStyle?I.getComputedStyle(C):null,ue=($&&$.backgroundColor||"").replace(/ /g,"");switch(C.remove(),ue){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const C=this._document.body.classList;C.remove(ot,He,Ee),this._hasCheckedHighContrastMode=!0;const I=this.getHighContrastMode();1===I?C.add(ot,He):2===I&&C.add(ot,Ee)}}}return ye.\u0275fac=function(C){return new(C||ye)(f.LFG(U.t4),f.LFG(s.K0))},ye.\u0275prov=f.Yz7({token:ye,factory:ye.\u0275fac,providedIn:"root"}),ye})(),Bt=(()=>{class ye{constructor(C){C._applyBodyHighContrastModeCssClasses()}}return ye.\u0275fac=function(C){return new(C||ye)(f.LFG(Nt))},ye.\u0275mod=f.oAB({type:ye}),ye.\u0275inj=f.cJS({imports:[Fe.Q8]}),ye})()},445:(it,Ce,D)=>{D.d(Ce,{Is:()=>oe,vT:()=>Q});var s=D(4650),f=D(6895);const U=new s.OlP("cdk-dir-doc",{providedIn:"root",factory:function K(){return(0,s.f3M)(f.K0)}}),X=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let oe=(()=>{class j{constructor(W){this.value="ltr",this.change=new s.vpe,W&&(this.value=function J(j){const Y=j?.toLowerCase()||"";return"auto"===Y&&typeof navigator<"u"&&navigator?.language?X.test(navigator.language)?"rtl":"ltr":"rtl"===Y?"rtl":"ltr"}((W.body?W.body.dir:null)||(W.documentElement?W.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}}return j.\u0275fac=function(W){return new(W||j)(s.LFG(U,8))},j.\u0275prov=s.Yz7({token:j,factory:j.\u0275fac,providedIn:"root"}),j})(),Q=(()=>{class j{}return j.\u0275fac=function(W){return new(W||j)},j.\u0275mod=s.oAB({type:j}),j.\u0275inj=s.cJS({}),j})()},1281:(it,Ce,D)=>{D.d(Ce,{Eq:()=>X,HM:()=>J,Ig:()=>f,du:()=>ee,fI:()=>oe,su:()=>U});var s=D(4650);function f(Q){return null!=Q&&"false"!=`${Q}`}function U(Q,j=0){return function K(Q){return!isNaN(parseFloat(Q))&&!isNaN(Number(Q))}(Q)?Number(Q):j}function X(Q){return Array.isArray(Q)?Q:[Q]}function J(Q){return null==Q?"":"string"==typeof Q?Q:`${Q}px`}function oe(Q){return Q instanceof s.SBq?Q.nativeElement:Q}function ee(Q,j=/\s+/){const Y=[];if(null!=Q){const W=Array.isArray(Q)?Q:`${Q}`.split(j);for(const xe of W){const Te=`${xe}`.trim();Te&&Y.push(Te)}}return Y}},9521:(it,Ce,D)=>{D.d(Ce,{A:()=>Le,JH:()=>De,JU:()=>J,K5:()=>X,Ku:()=>xe,LH:()=>Fe,L_:()=>W,MW:()=>xt,Mf:()=>U,SV:()=>Pe,Sd:()=>Ye,VM:()=>Te,Vb:()=>mr,Z:()=>ut,ZH:()=>f,aO:()=>pt,b2:()=>An,hY:()=>Y,jx:()=>oe,oh:()=>Se,uR:()=>$e,xE:()=>pe,yY:()=>le,zL:()=>ee});const f=8,U=9,X=13,J=16,oe=17,ee=18,Y=27,W=32,xe=33,Te=34,$e=35,Ye=36,Se=37,Fe=38,Pe=39,De=40,le=46,pe=48,pt=57,Le=65,ut=90,xt=91,An=224;function mr(dn,...Or){return Or.length?Or.some(Cr=>dn[Cr]):dn.altKey||dn.shiftKey||dn.ctrlKey||dn.metaKey}},9643:(it,Ce,D)=>{D.d(Ce,{Q8:()=>Q,wD:()=>ee});var s=D(1281),f=D(4650),U=D(9751),K=D(7579),X=D(8372);let J=(()=>{class j{create(W){return typeof MutationObserver>"u"?null:new MutationObserver(W)}}return j.\u0275fac=function(W){return new(W||j)},j.\u0275prov=f.Yz7({token:j,factory:j.\u0275fac,providedIn:"root"}),j})(),oe=(()=>{class j{constructor(W){this._mutationObserverFactory=W,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((W,xe)=>this._cleanupObserver(xe))}observe(W){const xe=(0,s.fI)(W);return new U.y(Te=>{const Ye=this._observeElement(xe).subscribe(Te);return()=>{Ye.unsubscribe(),this._unobserveElement(xe)}})}_observeElement(W){if(this._observedElements.has(W))this._observedElements.get(W).count++;else{const xe=new K.x,Te=this._mutationObserverFactory.create($e=>xe.next($e));Te&&Te.observe(W,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(W,{observer:Te,stream:xe,count:1})}return this._observedElements.get(W).stream}_unobserveElement(W){this._observedElements.has(W)&&(this._observedElements.get(W).count--,this._observedElements.get(W).count||this._cleanupObserver(W))}_cleanupObserver(W){if(this._observedElements.has(W)){const{observer:xe,stream:Te}=this._observedElements.get(W);xe&&xe.disconnect(),Te.complete(),this._observedElements.delete(W)}}}return j.\u0275fac=function(W){return new(W||j)(f.LFG(J))},j.\u0275prov=f.Yz7({token:j,factory:j.\u0275fac,providedIn:"root"}),j})(),ee=(()=>{class j{get disabled(){return this._disabled}set disabled(W){this._disabled=(0,s.Ig)(W),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(W){this._debounce=(0,s.su)(W),this._subscribe()}constructor(W,xe,Te){this._contentObserver=W,this._elementRef=xe,this._ngZone=Te,this.event=new f.vpe,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const W=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?W.pipe((0,X.b)(this.debounce)):W).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}}return j.\u0275fac=function(W){return new(W||j)(f.Y36(oe),f.Y36(f.SBq),f.Y36(f.R0b))},j.\u0275dir=f.lG2({type:j,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),j})(),Q=(()=>{class j{}return j.\u0275fac=function(W){return new(W||j)},j.\u0275mod=f.oAB({type:j}),j.\u0275inj=f.cJS({providers:[J]}),j})()},3353:(it,Ce,D)=>{D.d(Ce,{Mq:()=>Te,Oy:()=>Me,_i:()=>$e,ht:()=>Pe,i$:()=>Y,kV:()=>Fe,qK:()=>ee,sA:()=>De,t4:()=>K});var s=D(4650),f=D(6895);let U;try{U=typeof Intl<"u"&&Intl.v8BreakIterator}catch{U=!1}let J,K=(()=>{class H{constructor(le){this._platformId=le,this.isBrowser=this._platformId?(0,f.NF)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!U)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return H.\u0275fac=function(le){return new(le||H)(s.LFG(s.Lbi))},H.\u0275prov=s.Yz7({token:H,factory:H.\u0275fac,providedIn:"root"}),H})();const oe=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function ee(){if(J)return J;if("object"!=typeof document||!document)return J=new Set(oe),J;let H=document.createElement("input");return J=new Set(oe.filter(ae=>(H.setAttribute("type",ae),H.type===ae))),J}let Q,W,xe,Ye;function Y(H){return function j(){if(null==Q&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Q=!0}))}finally{Q=Q||!1}return Q}()?H:!!H.capture}function Te(){if(null==xe){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return xe=!1,xe;if("scrollBehavior"in document.documentElement.style)xe=!0;else{const H=Element.prototype.scrollTo;xe=!!H&&!/\{\s*\[native code\]\s*\}/.test(H.toString())}}return xe}function $e(){if("object"!=typeof document||!document)return 0;if(null==W){const H=document.createElement("div"),ae=H.style;H.dir="rtl",ae.width="1px",ae.overflow="auto",ae.visibility="hidden",ae.pointerEvents="none",ae.position="absolute";const le=document.createElement("div"),pe=le.style;pe.width="2px",pe.height="1px",H.appendChild(le),document.body.appendChild(H),W=0,0===H.scrollLeft&&(H.scrollLeft=1,W=0===H.scrollLeft?1:2),H.remove()}return W}function Fe(H){if(function Se(){if(null==Ye){const H=typeof document<"u"?document.head:null;Ye=!(!H||!H.createShadowRoot&&!H.attachShadow)}return Ye}()){const ae=H.getRootNode?H.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&ae instanceof ShadowRoot)return ae}return null}function Pe(){let H=typeof document<"u"&&document?document.activeElement:null;for(;H&&H.shadowRoot;){const ae=H.shadowRoot.activeElement;if(ae===H)break;H=ae}return H}function De(H){return H.composedPath?H.composedPath()[0]:H.target}function Me(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},6895:(it,Ce,D)=>{D.d(Ce,{$G:()=>Vn,Do:()=>Pe,ED:()=>dr,EM:()=>ai,HT:()=>K,JF:()=>Yi,JJ:()=>yo,K0:()=>J,Mx:()=>tr,NF:()=>jn,O5:()=>Cr,Ov:()=>hr,PC:()=>hi,PM:()=>rn,RF:()=>$i,S$:()=>Ye,Ts:()=>Ai,V_:()=>Q,Ye:()=>De,Zd:()=>Ri,b0:()=>Fe,bD:()=>Xe,ez:()=>ke,mk:()=>Vt,n9:()=>nr,q:()=>U,sg:()=>mr,tP:()=>Vi,uU:()=>Rr,w_:()=>X});var s=D(4650);let f=null;function U(){return f}function K(g){f||(f=g)}class X{}const J=new s.OlP("DocumentToken");let oe=(()=>{class g{historyGo(y){throw new Error("Not implemented")}}return g.\u0275fac=function(y){return new(y||g)},g.\u0275prov=s.Yz7({token:g,factory:function(){return function ee(){return(0,s.LFG)(j)}()},providedIn:"platform"}),g})();const Q=new s.OlP("Location Initialized");let j=(()=>{class g extends oe{constructor(y){super(),this._doc=y,this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return U().getBaseHref(this._doc)}onPopState(y){const P=U().getGlobalEventTarget(this._doc,"window");return P.addEventListener("popstate",y,!1),()=>P.removeEventListener("popstate",y)}onHashChange(y){const P=U().getGlobalEventTarget(this._doc,"window");return P.addEventListener("hashchange",y,!1),()=>P.removeEventListener("hashchange",y)}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(y){this._location.pathname=y}pushState(y,P,te){Y()?this._history.pushState(y,P,te):this._location.hash=te}replaceState(y,P,te){Y()?this._history.replaceState(y,P,te):this._location.hash=te}forward(){this._history.forward()}back(){this._history.back()}historyGo(y=0){this._history.go(y)}getState(){return this._history.state}}return g.\u0275fac=function(y){return new(y||g)(s.LFG(J))},g.\u0275prov=s.Yz7({token:g,factory:function(){return function W(){return new j((0,s.LFG)(J))}()},providedIn:"platform"}),g})();function Y(){return!!window.history.pushState}function xe(g,A){if(0==g.length)return A;if(0==A.length)return g;let y=0;return g.endsWith("/")&&y++,A.startsWith("/")&&y++,2==y?g+A.substring(1):1==y?g+A:g+"/"+A}function Te(g){const A=g.match(/#|\?|$/),y=A&&A.index||g.length;return g.slice(0,y-("/"===g[y-1]?1:0))+g.slice(y)}function $e(g){return g&&"?"!==g[0]?"?"+g:g}let Ye=(()=>{class g{historyGo(y){throw new Error("Not implemented")}}return g.\u0275fac=function(y){return new(y||g)},g.\u0275prov=s.Yz7({token:g,factory:function(){return(0,s.f3M)(Fe)},providedIn:"root"}),g})();const Se=new s.OlP("appBaseHref");let Fe=(()=>{class g extends Ye{constructor(y,P){super(),this._platformLocation=y,this._removeListenerFns=[],this._baseHref=P??this._platformLocation.getBaseHrefFromDOM()??(0,s.f3M)(J).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(y){this._removeListenerFns.push(this._platformLocation.onPopState(y),this._platformLocation.onHashChange(y))}getBaseHref(){return this._baseHref}prepareExternalUrl(y){return xe(this._baseHref,y)}path(y=!1){const P=this._platformLocation.pathname+$e(this._platformLocation.search),te=this._platformLocation.hash;return te&&y?`${P}${te}`:P}pushState(y,P,te,je){const Ge=this.prepareExternalUrl(te+$e(je));this._platformLocation.pushState(y,P,Ge)}replaceState(y,P,te,je){const Ge=this.prepareExternalUrl(te+$e(je));this._platformLocation.replaceState(y,P,Ge)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(y=0){this._platformLocation.historyGo?.(y)}}return g.\u0275fac=function(y){return new(y||g)(s.LFG(oe),s.LFG(Se,8))},g.\u0275prov=s.Yz7({token:g,factory:g.\u0275fac,providedIn:"root"}),g})(),Pe=(()=>{class g extends Ye{constructor(y,P){super(),this._platformLocation=y,this._baseHref="",this._removeListenerFns=[],null!=P&&(this._baseHref=P)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(y){this._removeListenerFns.push(this._platformLocation.onPopState(y),this._platformLocation.onHashChange(y))}getBaseHref(){return this._baseHref}path(y=!1){let P=this._platformLocation.hash;return null==P&&(P="#"),P.length>0?P.substring(1):P}prepareExternalUrl(y){const P=xe(this._baseHref,y);return P.length>0?"#"+P:P}pushState(y,P,te,je){let Ge=this.prepareExternalUrl(te+$e(je));0==Ge.length&&(Ge=this._platformLocation.pathname),this._platformLocation.pushState(y,P,Ge)}replaceState(y,P,te,je){let Ge=this.prepareExternalUrl(te+$e(je));0==Ge.length&&(Ge=this._platformLocation.pathname),this._platformLocation.replaceState(y,P,Ge)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(y=0){this._platformLocation.historyGo?.(y)}}return g.\u0275fac=function(y){return new(y||g)(s.LFG(oe),s.LFG(Se,8))},g.\u0275prov=s.Yz7({token:g,factory:g.\u0275fac}),g})(),De=(()=>{class g{constructor(y){this._subject=new s.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=y;const P=this._locationStrategy.getBaseHref();this._basePath=function le(g){if(new RegExp("^(https?:)?//").test(g)){const[,y]=g.split(/\/\/[^\/]+/);return y}return g}(Te(ae(P))),this._locationStrategy.onPopState(te=>{this._subject.emit({url:this.path(!0),pop:!0,state:te.state,type:te.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(y=!1){return this.normalize(this._locationStrategy.path(y))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(y,P=""){return this.path()==this.normalize(y+$e(P))}normalize(y){return g.stripTrailingSlash(function H(g,A){return g&&new RegExp(`^${g}([/;?#]|$)`).test(A)?A.substring(g.length):A}(this._basePath,ae(y)))}prepareExternalUrl(y){return y&&"/"!==y[0]&&(y="/"+y),this._locationStrategy.prepareExternalUrl(y)}go(y,P="",te=null){this._locationStrategy.pushState(te,"",y,P),this._notifyUrlChangeListeners(this.prepareExternalUrl(y+$e(P)),te)}replaceState(y,P="",te=null){this._locationStrategy.replaceState(te,"",y,P),this._notifyUrlChangeListeners(this.prepareExternalUrl(y+$e(P)),te)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(y=0){this._locationStrategy.historyGo?.(y)}onUrlChange(y){return this._urlChangeListeners.push(y),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(P=>{this._notifyUrlChangeListeners(P.url,P.state)})),()=>{const P=this._urlChangeListeners.indexOf(y);this._urlChangeListeners.splice(P,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(y="",P){this._urlChangeListeners.forEach(te=>te(y,P))}subscribe(y,P,te){return this._subject.subscribe({next:y,error:P,complete:te})}}return g.normalizeQueryParams=$e,g.joinWithSlash=xe,g.stripTrailingSlash=Te,g.\u0275fac=function(y){return new(y||g)(s.LFG(Ye))},g.\u0275prov=s.Yz7({token:g,factory:function(){return function Me(){return new De((0,s.LFG)(Ye))}()},providedIn:"root"}),g})();function ae(g){return g.replace(/\/index.html$/,"")}var se=(()=>((se=se||{})[se.Decimal=0]="Decimal",se[se.Percent=1]="Percent",se[se.Currency=2]="Currency",se[se.Scientific=3]="Scientific",se))(),Z=(()=>((Z=Z||{})[Z.Format=0]="Format",Z[Z.Standalone=1]="Standalone",Z))(),re=(()=>((re=re||{})[re.Narrow=0]="Narrow",re[re.Abbreviated=1]="Abbreviated",re[re.Wide=2]="Wide",re[re.Short=3]="Short",re))(),Ie=(()=>((Ie=Ie||{})[Ie.Short=0]="Short",Ie[Ie.Medium=1]="Medium",Ie[Ie.Long=2]="Long",Ie[Ie.Full=3]="Full",Ie))(),me=(()=>((me=me||{})[me.Decimal=0]="Decimal",me[me.Group=1]="Group",me[me.List=2]="List",me[me.PercentSign=3]="PercentSign",me[me.PlusSign=4]="PlusSign",me[me.MinusSign=5]="MinusSign",me[me.Exponential=6]="Exponential",me[me.SuperscriptingExponent=7]="SuperscriptingExponent",me[me.PerMille=8]="PerMille",me[me.Infinity=9]="Infinity",me[me.NaN=10]="NaN",me[me.TimeSeparator=11]="TimeSeparator",me[me.CurrencyDecimal=12]="CurrencyDecimal",me[me.CurrencyGroup=13]="CurrencyGroup",me))();function et(g,A){return Gt((0,s.cg1)(g)[s.wAp.DateFormat],A)}function fe(g,A){return Gt((0,s.cg1)(g)[s.wAp.TimeFormat],A)}function Ne(g,A){return Gt((0,s.cg1)(g)[s.wAp.DateTimeFormat],A)}function rt(g,A){const y=(0,s.cg1)(g),P=y[s.wAp.NumberSymbols][A];if(typeof P>"u"){if(A===me.CurrencyDecimal)return y[s.wAp.NumberSymbols][me.Decimal];if(A===me.CurrencyGroup)return y[s.wAp.NumberSymbols][me.Group]}return P}function kn(g){if(!g[s.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${g[s.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Gt(g,A){for(let y=A;y>-1;y--)if(typeof g[y]<"u")return g[y];throw new Error("Locale data API: locale data undefined")}function yt(g){const[A,y]=g.split(":");return{hours:+A,minutes:+y}}const gn=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,bn={},Hn=/((?:[^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]*)/;var Ot=(()=>((Ot=Ot||{})[Ot.Short=0]="Short",Ot[Ot.ShortGMT=1]="ShortGMT",Ot[Ot.Long=2]="Long",Ot[Ot.Extended=3]="Extended",Ot))(),Tt=(()=>((Tt=Tt||{})[Tt.FullYear=0]="FullYear",Tt[Tt.Month=1]="Month",Tt[Tt.Date=2]="Date",Tt[Tt.Hours=3]="Hours",Tt[Tt.Minutes=4]="Minutes",Tt[Tt.Seconds=5]="Seconds",Tt[Tt.FractionalSeconds=6]="FractionalSeconds",Tt[Tt.Day=7]="Day",Tt))(),ut=(()=>((ut=ut||{})[ut.DayPeriods=0]="DayPeriods",ut[ut.Days=1]="Days",ut[ut.Months=2]="Months",ut[ut.Eras=3]="Eras",ut))();function xt(g,A,y,P){let te=function ot(g){if(Bt(g))return g;if("number"==typeof g&&!isNaN(g))return new Date(g);if("string"==typeof g){if(g=g.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(g)){const[te,je=1,Ge=1]=g.split("-").map(mt=>+mt);return ze(te,je-1,Ge)}const y=parseFloat(g);if(!isNaN(g-y))return new Date(y);let P;if(P=g.match(gn))return function Nt(g){const A=new Date(0);let y=0,P=0;const te=g[8]?A.setUTCFullYear:A.setFullYear,je=g[8]?A.setUTCHours:A.setHours;g[9]&&(y=Number(g[9]+g[10]),P=Number(g[9]+g[11])),te.call(A,Number(g[1]),Number(g[2])-1,Number(g[3]));const Ge=Number(g[4]||0)-y,mt=Number(g[5]||0)-P,Rn=Number(g[6]||0),Cn=Math.floor(1e3*parseFloat("0."+(g[7]||0)));return je.call(A,Ge,mt,Rn,Cn),A}(P)}const A=new Date(g);if(!Bt(A))throw new Error(`Unable to convert "${g}" into a date`);return A}(g);A=ft(y,A)||A;let mt,Ge=[];for(;A;){if(mt=Hn.exec(A),!mt){Ge.push(A);break}{Ge=Ge.concat(mt.slice(1));const On=Ge.pop();if(!On)break;A=On}}let Rn=te.getTimezoneOffset();P&&(Rn=de(P,Rn),te=function Ee(g,A,y){const P=y?-1:1,te=g.getTimezoneOffset();return function He(g,A){return(g=new Date(g.getTime())).setMinutes(g.getMinutes()+A),g}(g,P*(de(A,te)-te))}(te,P,!0));let Cn="";return Ge.forEach(On=>{const un=function G(g){if(L[g])return L[g];let A;switch(g){case"G":case"GG":case"GGG":A=Pt(ut.Eras,re.Abbreviated);break;case"GGGG":A=Pt(ut.Eras,re.Wide);break;case"GGGGG":A=Pt(ut.Eras,re.Narrow);break;case"y":A=Mt(Tt.FullYear,1,0,!1,!0);break;case"yy":A=Mt(Tt.FullYear,2,0,!0,!0);break;case"yyy":A=Mt(Tt.FullYear,3,0,!1,!0);break;case"yyyy":A=Mt(Tt.FullYear,4,0,!1,!0);break;case"Y":A=ve(1);break;case"YY":A=ve(2,!0);break;case"YYY":A=ve(3);break;case"YYYY":A=ve(4);break;case"M":case"L":A=Mt(Tt.Month,1,1);break;case"MM":case"LL":A=Mt(Tt.Month,2,1);break;case"MMM":A=Pt(ut.Months,re.Abbreviated);break;case"MMMM":A=Pt(ut.Months,re.Wide);break;case"MMMMM":A=Pt(ut.Months,re.Narrow);break;case"LLL":A=Pt(ut.Months,re.Abbreviated,Z.Standalone);break;case"LLLL":A=Pt(ut.Months,re.Wide,Z.Standalone);break;case"LLLLL":A=Pt(ut.Months,re.Narrow,Z.Standalone);break;case"w":A=R(1);break;case"ww":A=R(2);break;case"W":A=R(1,!0);break;case"d":A=Mt(Tt.Date,1);break;case"dd":A=Mt(Tt.Date,2);break;case"c":case"cc":A=Mt(Tt.Day,1);break;case"ccc":A=Pt(ut.Days,re.Abbreviated,Z.Standalone);break;case"cccc":A=Pt(ut.Days,re.Wide,Z.Standalone);break;case"ccccc":A=Pt(ut.Days,re.Narrow,Z.Standalone);break;case"cccccc":A=Pt(ut.Days,re.Short,Z.Standalone);break;case"E":case"EE":case"EEE":A=Pt(ut.Days,re.Abbreviated);break;case"EEEE":A=Pt(ut.Days,re.Wide);break;case"EEEEE":A=Pt(ut.Days,re.Narrow);break;case"EEEEEE":A=Pt(ut.Days,re.Short);break;case"a":case"aa":case"aaa":A=Pt(ut.DayPeriods,re.Abbreviated);break;case"aaaa":A=Pt(ut.DayPeriods,re.Wide);break;case"aaaaa":A=Pt(ut.DayPeriods,re.Narrow);break;case"b":case"bb":case"bbb":A=Pt(ut.DayPeriods,re.Abbreviated,Z.Standalone,!0);break;case"bbbb":A=Pt(ut.DayPeriods,re.Wide,Z.Standalone,!0);break;case"bbbbb":A=Pt(ut.DayPeriods,re.Narrow,Z.Standalone,!0);break;case"B":case"BB":case"BBB":A=Pt(ut.DayPeriods,re.Abbreviated,Z.Format,!0);break;case"BBBB":A=Pt(ut.DayPeriods,re.Wide,Z.Format,!0);break;case"BBBBB":A=Pt(ut.DayPeriods,re.Narrow,Z.Format,!0);break;case"h":A=Mt(Tt.Hours,1,-12);break;case"hh":A=Mt(Tt.Hours,2,-12);break;case"H":A=Mt(Tt.Hours,1);break;case"HH":A=Mt(Tt.Hours,2);break;case"m":A=Mt(Tt.Minutes,1);break;case"mm":A=Mt(Tt.Minutes,2);break;case"s":A=Mt(Tt.Seconds,1);break;case"ss":A=Mt(Tt.Seconds,2);break;case"S":A=Mt(Tt.FractionalSeconds,1);break;case"SS":A=Mt(Tt.FractionalSeconds,2);break;case"SSS":A=Mt(Tt.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":A=Zn(Ot.Short);break;case"ZZZZZ":A=Zn(Ot.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":A=Zn(Ot.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":A=Zn(Ot.Long);break;default:return null}return L[g]=A,A}(On);Cn+=un?un(te,y,Rn):"''"===On?"'":On.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Cn}function ze(g,A,y){const P=new Date(0);return P.setFullYear(g,A,y),P.setHours(0,0,0),P}function ft(g,A){const y=function qe(g){return(0,s.cg1)(g)[s.wAp.LocaleId]}(g);if(bn[y]=bn[y]||{},bn[y][A])return bn[y][A];let P="";switch(A){case"shortDate":P=et(g,Ie.Short);break;case"mediumDate":P=et(g,Ie.Medium);break;case"longDate":P=et(g,Ie.Long);break;case"fullDate":P=et(g,Ie.Full);break;case"shortTime":P=fe(g,Ie.Short);break;case"mediumTime":P=fe(g,Ie.Medium);break;case"longTime":P=fe(g,Ie.Long);break;case"fullTime":P=fe(g,Ie.Full);break;case"short":const te=ft(g,"shortTime"),je=ft(g,"shortDate");P=Re(Ne(g,Ie.Short),[te,je]);break;case"medium":const Ge=ft(g,"mediumTime"),mt=ft(g,"mediumDate");P=Re(Ne(g,Ie.Medium),[Ge,mt]);break;case"long":const Rn=ft(g,"longTime"),Cn=ft(g,"longDate");P=Re(Ne(g,Ie.Long),[Rn,Cn]);break;case"full":const On=ft(g,"fullTime"),un=ft(g,"fullDate");P=Re(Ne(g,Ie.Full),[On,un])}return P&&(bn[y][A]=P),P}function Re(g,A){return A&&(g=g.replace(/\{([^}]+)}/g,function(y,P){return null!=A&&P in A?A[P]:y})),g}function Ze(g,A,y="-",P,te){let je="";(g<0||te&&g<=0)&&(te?g=1-g:(g=-g,je=y));let Ge=String(g);for(;Ge.length<A;)Ge="0"+Ge;return P&&(Ge=Ge.slice(Ge.length-A)),je+Ge}function Mt(g,A,y=0,P=!1,te=!1){return function(je,Ge){let mt=function Yn(g,A){switch(g){case Tt.FullYear:return A.getFullYear();case Tt.Month:return A.getMonth();case Tt.Date:return A.getDate();case Tt.Hours:return A.getHours();case Tt.Minutes:return A.getMinutes();case Tt.Seconds:return A.getSeconds();case Tt.FractionalSeconds:return A.getMilliseconds();case Tt.Day:return A.getDay();default:throw new Error(`Unknown DateType value "${g}".`)}}(g,je);if((y>0||mt>-y)&&(mt+=y),g===Tt.Hours)0===mt&&-12===y&&(mt=12);else if(g===Tt.FractionalSeconds)return function kt(g,A){return Ze(g,3).substring(0,A)}(mt,A);const Rn=rt(Ge,me.MinusSign);return Ze(mt,A,Rn,P,te)}}function Pt(g,A,y=Z.Format,P=!1){return function(te,je){return function Tn(g,A,y,P,te,je){switch(y){case ut.Months:return function en(g,A,y){const P=(0,s.cg1)(g),je=Gt([P[s.wAp.MonthsFormat],P[s.wAp.MonthsStandalone]],A);return Gt(je,y)}(A,te,P)[g.getMonth()];case ut.Days:return function Ht(g,A,y){const P=(0,s.cg1)(g),je=Gt([P[s.wAp.DaysFormat],P[s.wAp.DaysStandalone]],A);return Gt(je,y)}(A,te,P)[g.getDay()];case ut.DayPeriods:const Ge=g.getHours(),mt=g.getMinutes();if(je){const Cn=function In(g){const A=(0,s.cg1)(g);return kn(A),(A[s.wAp.ExtraData][2]||[]).map(P=>"string"==typeof P?yt(P):[yt(P[0]),yt(P[1])])}(A),On=function Xt(g,A,y){const P=(0,s.cg1)(g);kn(P);const je=Gt([P[s.wAp.ExtraData][0],P[s.wAp.ExtraData][1]],A)||[];return Gt(je,y)||[]}(A,te,P),un=Cn.findIndex(ar=>{if(Array.isArray(ar)){const[Gn,ir]=ar,pi=Ge>=Gn.hours&&mt>=Gn.minutes,ri=Ge<ir.hours||Ge===ir.hours&&mt<ir.minutes;if(Gn.hours<ir.hours){if(pi&&ri)return!0}else if(pi||ri)return!0}else if(ar.hours===Ge&&ar.minutes===mt)return!0;return!1});if(-1!==un)return On[un]}return function pt(g,A,y){const P=(0,s.cg1)(g),je=Gt([P[s.wAp.DayPeriodsFormat],P[s.wAp.DayPeriodsStandalone]],A);return Gt(je,y)}(A,te,P)[Ge<12?0:1];case ut.Eras:return function At(g,A){return Gt((0,s.cg1)(g)[s.wAp.Eras],A)}(A,P)[g.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${y}`)}}(te,je,g,A,y,P)}}function Zn(g){return function(A,y,P){const te=-1*P,je=rt(y,me.MinusSign),Ge=te>0?Math.floor(te/60):Math.ceil(te/60);switch(g){case Ot.Short:return(te>=0?"+":"")+Ze(Ge,2,je)+Ze(Math.abs(te%60),2,je);case Ot.ShortGMT:return"GMT"+(te>=0?"+":"")+Ze(Ge,1,je);case Ot.Long:return"GMT"+(te>=0?"+":"")+Ze(Ge,2,je)+":"+Ze(Math.abs(te%60),2,je);case Ot.Extended:return 0===P?"Z":(te>=0?"+":"")+Ze(Ge,2,je)+":"+Ze(Math.abs(te%60),2,je);default:throw new Error(`Unknown zone width "${g}"`)}}}function M(g){return ze(g.getFullYear(),g.getMonth(),g.getDate()+(4-g.getDay()))}function R(g,A=!1){return function(y,P){let te;if(A){const je=new Date(y.getFullYear(),y.getMonth(),1).getDay()-1,Ge=y.getDate();te=1+Math.floor((Ge+je)/7)}else{const je=M(y),Ge=function F(g){const A=ze(g,0,1).getDay();return ze(g,0,1+(A<=4?4:11)-A)}(je.getFullYear()),mt=je.getTime()-Ge.getTime();te=1+Math.round(mt/6048e5)}return Ze(te,g,rt(P,me.MinusSign))}}function ve(g,A=!1){return function(y,P){return Ze(M(y).getFullYear(),g,rt(P,me.MinusSign),A)}}const L={};function de(g,A){g=g.replace(/:/g,"");const y=Date.parse("Jan 01, 1970 00:00:00 "+g)/6e4;return isNaN(y)?A:y}function Bt(g){return g instanceof Date&&!isNaN(g.valueOf())}const ye=/^(\d+)?\.((\d+)(-(\d+))?)?$/,C=".",I="0";function ji(g){const A=parseInt(g);if(isNaN(A))throw new Error("Invalid integer literal when parsing "+g);return A}function tr(g,A){A=encodeURIComponent(A);for(const y of g.split(";")){const P=y.indexOf("="),[te,je]=-1==P?[y,""]:[y.slice(0,P),y.slice(P+1)];if(te.trim()===A)return decodeURIComponent(je)}return null}const xr=/\s+/,gt=[];let Vt=(()=>{class g{constructor(y,P,te,je){this._iterableDiffers=y,this._keyValueDiffers=P,this._ngEl=te,this._renderer=je,this.initialClasses=gt,this.stateMap=new Map}set klass(y){this.initialClasses=null!=y?y.trim().split(xr):gt}set ngClass(y){this.rawClass="string"==typeof y?y.trim().split(xr):y}ngDoCheck(){for(const P of this.initialClasses)this._updateState(P,!0);const y=this.rawClass;if(Array.isArray(y)||y instanceof Set)for(const P of y)this._updateState(P,!0);else if(null!=y)for(const P of Object.keys(y))this._updateState(P,Boolean(y[P]));this._applyStateDiff()}_updateState(y,P){const te=this.stateMap.get(y);void 0!==te?(te.enabled!==P&&(te.changed=!0,te.enabled=P),te.touched=!0):this.stateMap.set(y,{enabled:P,changed:!0,touched:!0})}_applyStateDiff(){for(const y of this.stateMap){const P=y[0],te=y[1];te.changed?(this._toggleClass(P,te.enabled),te.changed=!1):te.touched||(te.enabled&&this._toggleClass(P,!1),this.stateMap.delete(P)),te.touched=!1}}_toggleClass(y,P){(y=y.trim()).length>0&&y.split(xr).forEach(te=>{P?this._renderer.addClass(this._ngEl.nativeElement,te):this._renderer.removeClass(this._ngEl.nativeElement,te)})}}return g.\u0275fac=function(y){return new(y||g)(s.Y36(s.ZZ4),s.Y36(s.aQg),s.Y36(s.SBq),s.Y36(s.Qsj))},g.\u0275dir=s.lG2({type:g,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),g})(),Vn=(()=>{class g{constructor(y){this._viewContainerRef=y,this.ngComponentOutlet=null}ngOnChanges(y){const{_viewContainerRef:P,ngComponentOutletNgModule:te,ngComponentOutletNgModuleFactory:je}=this;if(P.clear(),this._componentRef=void 0,this.ngComponentOutlet){const Ge=this.ngComponentOutletInjector||P.parentInjector;(y.ngComponentOutletNgModule||y.ngComponentOutletNgModuleFactory)&&(this._moduleRef&&this._moduleRef.destroy(),this._moduleRef=te?(0,s.Lck)(te,ur(Ge)):je?je.create(ur(Ge)):void 0),this._componentRef=P.createComponent(this.ngComponentOutlet,{index:P.length,injector:Ge,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngOnDestroy(){this._moduleRef&&this._moduleRef.destroy()}}return g.\u0275fac=function(y){return new(y||g)(s.Y36(s.s_b))},g.\u0275dir=s.lG2({type:g,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[s.TTD]}),g})();function ur(g){return g.get(s.h0i).injector}class An{constructor(A,y,P,te){this.$implicit=A,this.ngForOf=y,this.index=P,this.count=te}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let mr=(()=>{class g{set ngForOf(y){this._ngForOf=y,this._ngForOfDirty=!0}set ngForTrackBy(y){this._trackByFn=y}get ngForTrackBy(){return this._trackByFn}constructor(y,P,te){this._viewContainer=y,this._template=P,this._differs=te,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(y){y&&(this._template=y)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const y=this._ngForOf;!this._differ&&y&&(this._differ=this._differs.find(y).create(this.ngForTrackBy))}if(this._differ){const y=this._differ.diff(this._ngForOf);y&&this._applyChanges(y)}}_applyChanges(y){const P=this._viewContainer;y.forEachOperation((te,je,Ge)=>{if(null==te.previousIndex)P.createEmbeddedView(this._template,new An(te.item,this._ngForOf,-1,-1),null===Ge?void 0:Ge);else if(null==Ge)P.remove(null===je?void 0:je);else if(null!==je){const mt=P.get(je);P.move(mt,Ge),dn(mt,te)}});for(let te=0,je=P.length;te<je;te++){const mt=P.get(te).context;mt.index=te,mt.count=je,mt.ngForOf=this._ngForOf}y.forEachIdentityChange(te=>{dn(P.get(te.currentIndex),te)})}static ngTemplateContextGuard(y,P){return!0}}return g.\u0275fac=function(y){return new(y||g)(s.Y36(s.s_b),s.Y36(s.Rgc),s.Y36(s.ZZ4))},g.\u0275dir=s.lG2({type:g,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),g})();function dn(g,A){g.context.$implicit=A.item}let Cr=(()=>{class g{constructor(y,P){this._viewContainer=y,this._context=new nn,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=P}set ngIf(y){this._context.$implicit=this._context.ngIf=y,this._updateView()}set ngIfThen(y){Ti("ngIfThen",y),this._thenTemplateRef=y,this._thenViewRef=null,this._updateView()}set ngIfElse(y){Ti("ngIfElse",y),this._elseTemplateRef=y,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(y,P){return!0}}return g.\u0275fac=function(y){return new(y||g)(s.Y36(s.s_b),s.Y36(s.Rgc))},g.\u0275dir=s.lG2({type:g,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),g})();class nn{constructor(){this.$implicit=null,this.ngIf=null}}function Ti(g,A){if(A&&!A.createEmbeddedView)throw new Error(`${g} must be a TemplateRef, but received '${(0,s.AaK)(A)}'.`)}class Mi{constructor(A,y){this._viewContainerRef=A,this._templateRef=y,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(A){A&&!this._created?this.create():!A&&this._created&&this.destroy()}}let $i=(()=>{class g{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(y){this._ngSwitch=y,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(y){this._defaultViews.push(y)}_matchCase(y){const P=y==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||P,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),P}_updateDefaultCases(y){if(this._defaultViews.length>0&&y!==this._defaultUsed){this._defaultUsed=y;for(const P of this._defaultViews)P.enforceState(y)}}}return g.\u0275fac=function(y){return new(y||g)},g.\u0275dir=s.lG2({type:g,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),g})(),nr=(()=>{class g{constructor(y,P,te){this.ngSwitch=te,te._addCase(),this._view=new Mi(y,P)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return g.\u0275fac=function(y){return new(y||g)(s.Y36(s.s_b),s.Y36(s.Rgc),s.Y36($i,9))},g.\u0275dir=s.lG2({type:g,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),g})(),dr=(()=>{class g{constructor(y,P,te){te._addDefault(new Mi(y,P))}}return g.\u0275fac=function(y){return new(y||g)(s.Y36(s.s_b),s.Y36(s.Rgc),s.Y36($i,9))},g.\u0275dir=s.lG2({type:g,selectors:[["","ngSwitchDefault",""]],standalone:!0}),g})(),hi=(()=>{class g{constructor(y,P,te){this._ngEl=y,this._differs=P,this._renderer=te,this._ngStyle=null,this._differ=null}set ngStyle(y){this._ngStyle=y,!this._differ&&y&&(this._differ=this._differs.find(y).create())}ngDoCheck(){if(this._differ){const y=this._differ.diff(this._ngStyle);y&&this._applyChanges(y)}}_setStyle(y,P){const[te,je]=y.split("."),Ge=-1===te.indexOf("-")?void 0:s.JOm.DashCase;null!=P?this._renderer.setStyle(this._ngEl.nativeElement,te,je?`${P}${je}`:P,Ge):this._renderer.removeStyle(this._ngEl.nativeElement,te,Ge)}_applyChanges(y){y.forEachRemovedItem(P=>this._setStyle(P.key,null)),y.forEachAddedItem(P=>this._setStyle(P.key,P.currentValue)),y.forEachChangedItem(P=>this._setStyle(P.key,P.currentValue))}}return g.\u0275fac=function(y){return new(y||g)(s.Y36(s.SBq),s.Y36(s.aQg),s.Y36(s.Qsj))},g.\u0275dir=s.lG2({type:g,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),g})(),Vi=(()=>{class g{constructor(y){this._viewContainerRef=y,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(y){if(y.ngTemplateOutlet||y.ngTemplateOutletInjector){const P=this._viewContainerRef;if(this._viewRef&&P.remove(P.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:te,ngTemplateOutletContext:je,ngTemplateOutletInjector:Ge}=this;this._viewRef=P.createEmbeddedView(te,je,Ge?{injector:Ge}:void 0)}else this._viewRef=null}else this._viewRef&&y.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return g.\u0275fac=function(y){return new(y||g)(s.Y36(s.s_b))},g.\u0275dir=s.lG2({type:g,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[s.TTD]}),g})();function fr(g,A){return new s.vHH(2100,!1)}class Ii{createSubscription(A,y){return A.subscribe({next:y,error:P=>{throw P}})}dispose(A){A.unsubscribe()}}class Uo{createSubscription(A,y){return A.then(y,P=>{throw P})}dispose(A){}}const Pr=new Uo,Wr=new Ii;let hr=(()=>{class g{constructor(y){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=y}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(y){return this._obj?y!==this._obj?(this._dispose(),this.transform(y)):this._latestValue:(y&&this._subscribe(y),this._latestValue)}_subscribe(y){this._obj=y,this._strategy=this._selectStrategy(y),this._subscription=this._strategy.createSubscription(y,P=>this._updateLatestValue(y,P))}_selectStrategy(y){if((0,s.QGY)(y))return Pr;if((0,s.F4k)(y))return Wr;throw fr()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(y,P){y===this._obj&&(this._latestValue=P,this._ref.markForCheck())}}return g.\u0275fac=function(y){return new(y||g)(s.Y36(s.sBO,16))},g.\u0275pipe=s.Yjl({name:"async",type:g,pure:!1,standalone:!0}),g})();const zi=new s.OlP("DATE_PIPE_DEFAULT_TIMEZONE"),Gi=new s.OlP("DATE_PIPE_DEFAULT_OPTIONS");let Rr=(()=>{class g{constructor(y,P,te){this.locale=y,this.defaultTimezone=P,this.defaultOptions=te}transform(y,P,te,je){if(null==y||""===y||y!=y)return null;try{return xt(y,P??this.defaultOptions?.dateFormat??"mediumDate",je||this.locale,te??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(Ge){throw fr()}}}return g.\u0275fac=function(y){return new(y||g)(s.Y36(s.soG,16),s.Y36(zi,24),s.Y36(Gi,24))},g.\u0275pipe=s.Yjl({name:"date",type:g,pure:!0,standalone:!0}),g})(),Ai=(()=>{class g{transform(y){return JSON.stringify(y,null,2)}}return g.\u0275fac=function(y){return new(y||g)},g.\u0275pipe=s.Yjl({name:"json",type:g,pure:!1,standalone:!0}),g})(),yo=(()=>{class g{constructor(y){this._locale=y}transform(y,P,te){if(!function xi(g){return!(null==g||""===g||g!=g)}(y))return null;te=te||this._locale;try{return function Jr(g,A,y){return function Mn(g,A,y,P,te,je,Ge=!1){let mt="",Rn=!1;if(isFinite(g)){let Cn=function Hi(g){let P,te,je,Ge,mt,A=Math.abs(g)+"",y=0;for((te=A.indexOf(C))>-1&&(A=A.replace(C,"")),(je=A.search(/e/i))>0?(te<0&&(te=je),te+=+A.slice(je+1),A=A.substring(0,je)):te<0&&(te=A.length),je=0;A.charAt(je)===I;je++);if(je===(mt=A.length))P=[0],te=1;else{for(mt--;A.charAt(mt)===I;)mt--;for(te-=je,P=[],Ge=0;je<=mt;je++,Ge++)P[Ge]=Number(A.charAt(je))}return te>22&&(P=P.splice(0,21),y=te-1,te=1),{digits:P,exponent:y,integerLen:te}}(g);Ge&&(Cn=function oo(g){if(0===g.digits[0])return g;const A=g.digits.length-g.integerLen;return g.exponent?g.exponent+=2:(0===A?g.digits.push(0,0):1===A&&g.digits.push(0),g.integerLen+=2),g}(Cn));let On=A.minInt,un=A.minFrac,ar=A.maxFrac;if(je){const lr=je.match(ye);if(null===lr)throw new Error(`${je} is not a valid digit info`);const ki=lr[1],Co=lr[3],uo=lr[5];null!=ki&&(On=ji(ki)),null!=Co&&(un=ji(Co)),null!=uo?ar=ji(uo):null!=Co&&un>ar&&(ar=un)}!function Ur(g,A,y){if(A>y)throw new Error(`The minimum number of digits after fraction (${A}) is higher than the maximum (${y}).`);let P=g.digits,te=P.length-g.integerLen;const je=Math.min(Math.max(A,te),y);let Ge=je+g.integerLen,mt=P[Ge];if(Ge>0){P.splice(Math.max(g.integerLen,Ge));for(let un=Ge;un<P.length;un++)P[un]=0}else{te=Math.max(0,te),g.integerLen=1,P.length=Math.max(1,Ge=je+1),P[0]=0;for(let un=1;un<Ge;un++)P[un]=0}if(mt>=5)if(Ge-1<0){for(let un=0;un>Ge;un--)P.unshift(0),g.integerLen++;P.unshift(1),g.integerLen++}else P[Ge-1]++;for(;te<Math.max(0,je);te++)P.push(0);let Rn=0!==je;const Cn=A+g.integerLen,On=P.reduceRight(function(un,ar,Gn,ir){return ir[Gn]=(ar+=un)<10?ar:ar-10,Rn&&(0===ir[Gn]&&Gn>=Cn?ir.pop():Rn=!1),ar>=10?1:0},0);On&&(P.unshift(On),g.integerLen++)}(Cn,un,ar);let Gn=Cn.digits,ir=Cn.integerLen;const pi=Cn.exponent;let ri=[];for(Rn=Gn.every(lr=>!lr);ir<On;ir++)Gn.unshift(0);for(;ir<0;ir++)Gn.unshift(0);ir>0?ri=Gn.splice(ir,Gn.length):(ri=Gn,Gn=[0]);const Br=[];for(Gn.length>=A.lgSize&&Br.unshift(Gn.splice(-A.lgSize,Gn.length).join(""));Gn.length>A.gSize;)Br.unshift(Gn.splice(-A.gSize,Gn.length).join(""));Gn.length&&Br.unshift(Gn.join("")),mt=Br.join(rt(y,P)),ri.length&&(mt+=rt(y,te)+ri.join("")),pi&&(mt+=rt(y,me.Exponential)+"+"+pi)}else mt=rt(y,me.Infinity);return mt=g<0&&!Rn?A.negPre+mt+A.negSuf:A.posPre+mt+A.posSuf,mt}(g,function si(g,A="-"){const y={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},P=g.split(";"),te=P[0],je=P[1],Ge=-1!==te.indexOf(C)?te.split(C):[te.substring(0,te.lastIndexOf(I)+1),te.substring(te.lastIndexOf(I)+1)],mt=Ge[0],Rn=Ge[1]||"";y.posPre=mt.substring(0,mt.indexOf("#"));for(let On=0;On<Rn.length;On++){const un=Rn.charAt(On);un===I?y.minFrac=y.maxFrac=On+1:"#"===un?y.maxFrac=On+1:y.posSuf+=un}const Cn=mt.split(",");if(y.gSize=Cn[1]?Cn[1].length:0,y.lgSize=Cn[2]||Cn[1]?(Cn[2]||Cn[1]).length:0,je){const On=te.length-y.posPre.length-y.posSuf.length,un=je.indexOf("#");y.negPre=je.substring(0,un).replace(/'/g,""),y.negSuf=je.slice(un+On).replace(/'/g,"")}else y.negPre=A+y.posPre,y.negSuf=y.posSuf;return y}(function Ft(g,A){return(0,s.cg1)(g)[s.wAp.NumberFormats][A]}(A,se.Decimal),rt(A,me.MinusSign)),A,me.Group,me.Decimal,y)}(function ei(g){if("string"==typeof g&&!isNaN(Number(g)-parseFloat(g)))return Number(g);if("number"!=typeof g)throw new Error(`${g} is not a number`);return g}(y),te,P)}catch(je){throw fr()}}}return g.\u0275fac=function(y){return new(y||g)(s.Y36(s.soG,16))},g.\u0275pipe=s.Yjl({name:"number",type:g,pure:!0,standalone:!0}),g})();let ke=(()=>{class g{}return g.\u0275fac=function(y){return new(y||g)},g.\u0275mod=s.oAB({type:g}),g.\u0275inj=s.cJS({}),g})();const Xe="browser";function jn(g){return g===Xe}function rn(g){return"server"===g}let ai=(()=>{class g{}return g.\u0275prov=(0,s.Yz7)({token:g,providedIn:"root",factory:()=>new li((0,s.LFG)(J),window)}),g})();class li{constructor(A,y){this.document=A,this.window=y,this.offset=()=>[0,0]}setOffset(A){this.offset=Array.isArray(A)?()=>A:A}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(A){this.supportsScrolling()&&this.window.scrollTo(A[0],A[1])}scrollToAnchor(A){if(!this.supportsScrolling())return;const y=function yi(g,A){const y=g.getElementById(A)||g.getElementsByName(A)[0];if(y)return y;if("function"==typeof g.createTreeWalker&&g.body&&(g.body.createShadowRoot||g.body.attachShadow)){const P=g.createTreeWalker(g.body,NodeFilter.SHOW_ELEMENT);let te=P.currentNode;for(;te;){const je=te.shadowRoot;if(je){const Ge=je.getElementById(A)||je.querySelector(`[name="${A}"]`);if(Ge)return Ge}te=P.nextNode()}}return null}(this.document,A);y&&(this.scrollToElement(y),y.focus())}setHistoryScrollRestoration(A){if(this.supportScrollRestoration()){const y=this.window.history;y&&y.scrollRestoration&&(y.scrollRestoration=A)}}scrollToElement(A){const y=A.getBoundingClientRect(),P=y.left+this.window.pageXOffset,te=y.top+this.window.pageYOffset,je=this.offset();this.window.scrollTo(P-je[0],te-je[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const A=so(this.window.history)||so(Object.getPrototypeOf(this.window.history));return!(!A||!A.writable&&!A.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function so(g){return Object.getOwnPropertyDescriptor(g,"scrollRestoration")}class Yi{}const So=g=>g.src,Kr=new s.OlP("ImageLoader",{providedIn:"root",factory:()=>So}),Vo=new s.OlP("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:()=>new Set});let zo=(()=>{class g{constructor(){this.preloadedImages=(0,s.f3M)(Vo),this.document=(0,s.f3M)(J)}createPreloadLinkTag(y,P,te,je){if(this.preloadedImages.has(P))return;this.preloadedImages.add(P);const Ge=y.createElement("link");y.setAttribute(Ge,"as","image"),y.setAttribute(Ge,"href",P),y.setAttribute(Ge,"rel","preload"),y.setAttribute(Ge,"fetchpriority","high"),je&&y.setAttribute(Ge,"imageSizes",je),te&&y.setAttribute(Ge,"imageSrcset",te),y.appendChild(this.document.head,Ge)}}return g.\u0275fac=function(y){return new(y||g)},g.\u0275prov=s.Yz7({token:g,factory:g.\u0275fac,providedIn:"root"}),g})();const Xi=/^((\s*\d+w\s*(,|$)){1,})$/,$r=[1,2],Pi={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840]},Go=new s.OlP("ImageConfig",{providedIn:"root",factory:()=>Pi});let Ri=(()=>{class g{constructor(){this.imageLoader=(0,s.f3M)(Kr),this.config=function sr(g){let A={};return g.breakpoints&&(A.breakpoints=g.breakpoints.sort((y,P)=>y-P)),Object.assign({},Pi,g,A)}((0,s.f3M)(Go)),this.renderer=(0,s.f3M)(s.Qsj),this.imgElement=(0,s.f3M)(s.SBq).nativeElement,this.injector=(0,s.f3M)(s.zs3),this.isServer=rn((0,s.f3M)(s.Lbi)),this.preloadLinkChecker=(0,s.f3M)(zo),this.lcpObserver=null,this._renderedSrc=null,this._priority=!1,this._disableOptimizedSrcset=!1,this._fill=!1}set width(y){this._width=Fi(y)}get width(){return this._width}set height(y){this._height=Fi(y)}get height(){return this._height}set priority(y){this._priority=co(y)}get priority(){return this._priority}set disableOptimizedSrcset(y){this._disableOptimizedSrcset=co(y)}get disableOptimizedSrcset(){return this._disableOptimizedSrcset}set fill(y){this._fill=co(y)}get fill(){return this._fill}ngOnInit(){this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||(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("ng-img","true");const y=this.getRewrittenSrc();let P;this.setHostAttribute("src",y),this.sizes&&this.setHostAttribute("sizes",this.sizes),this.ngSrcset?P=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(P=this.getAutomaticSrcset()),P&&this.setHostAttribute("srcset",P),this.isServer&&this.priority&&this.preloadLinkChecker.createPreloadLinkTag(this.renderer,y,P,this.sizes)}ngOnChanges(y){}getLoadingBehavior(){return this.priority||void 0===this.loading?this.priority?"eager":"lazy":this.loading}getFetchPriority(){return this.priority?"high":"auto"}getRewrittenSrc(){return this._renderedSrc||(this._renderedSrc=this.imageLoader({src:this.ngSrc})),this._renderedSrc}getRewrittenSrcset(){const y=Xi.test(this.ngSrcset);return this.ngSrcset.split(",").filter(te=>""!==te).map(te=>{te=te.trim();const je=y?parseFloat(te):parseFloat(te)*this.width;return`${this.imageLoader({src:this.ngSrc,width:je})} ${te}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){const{breakpoints:y}=this.config;let P=y;return"100vw"===this.sizes?.trim()&&(P=y.filter(je=>je>=640)),P.map(je=>`${this.imageLoader({src:this.ngSrc,width:je})} ${je}w`).join(", ")}getFixedSrcset(){return $r.map(P=>`${this.imageLoader({src:this.ngSrc,width:this.width*P})} ${P}x`).join(", ")}shouldGenerateAutomaticSrcset(){return!this._disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==So&&!(this.width>1920||this.height>1080)}ngOnDestroy(){}setHostAttribute(y,P){this.renderer.setAttribute(this.imgElement,y,P)}}return g.\u0275fac=function(y){return new(y||g)},g.\u0275dir=s.lG2({type:g,selectors:[["img","ngSrc",""]],hostVars:8,hostBindings:function(y,P){2&y&&s.Udp("position",P.fill?"absolute":null)("width",P.fill?"100%":null)("height",P.fill?"100%":null)("inset",P.fill?"0px":null)},inputs:{ngSrc:"ngSrc",ngSrcset:"ngSrcset",sizes:"sizes",width:"width",height:"height",loading:"loading",priority:"priority",disableOptimizedSrcset:"disableOptimizedSrcset",fill:"fill",src:"src",srcset:"srcset"},standalone:!0,features:[s.TTD]}),g})();function Fi(g){return"string"==typeof g?parseInt(g,10):g}function co(g){return null!=g&&"false"!=`${g}`}},529:(it,Ce,D)=>{D.d(Ce,{JF:()=>Zn,LE:()=>Fe,TP:()=>At,eN:()=>qe});var s=D(6895),f=D(4650),U=D(9646),K=D(9751),X=D(4351),J=D(9300),oe=D(4004);class ee{}class Q{}class j{constructor(M){this.normalizedNames=new Map,this.lazyUpdate=null,M?this.lazyInit="string"==typeof M?()=>{this.headers=new Map,M.split("\n").forEach(R=>{const ve=R.indexOf(":");if(ve>0){const L=R.slice(0,ve),G=L.toLowerCase(),de=R.slice(ve+1).trim();this.maybeSetNormalizedName(L,G),this.headers.has(G)?this.headers.get(G).push(de):this.headers.set(G,[de])}})}:()=>{this.headers=new Map,Object.keys(M).forEach(R=>{let ve=M[R];const L=R.toLowerCase();"string"==typeof ve&&(ve=[ve]),ve.length>0&&(this.headers.set(L,ve),this.maybeSetNormalizedName(R,L))})}:this.headers=new Map}has(M){return this.init(),this.headers.has(M.toLowerCase())}get(M){this.init();const R=this.headers.get(M.toLowerCase());return R&&R.length>0?R[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(M){return this.init(),this.headers.get(M.toLowerCase())||null}append(M,R){return this.clone({name:M,value:R,op:"a"})}set(M,R){return this.clone({name:M,value:R,op:"s"})}delete(M,R){return this.clone({name:M,value:R,op:"d"})}maybeSetNormalizedName(M,R){this.normalizedNames.has(R)||this.normalizedNames.set(R,M)}init(){this.lazyInit&&(this.lazyInit instanceof j?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(M=>this.applyUpdate(M)),this.lazyUpdate=null))}copyFrom(M){M.init(),Array.from(M.headers.keys()).forEach(R=>{this.headers.set(R,M.headers.get(R)),this.normalizedNames.set(R,M.normalizedNames.get(R))})}clone(M){const R=new j;return R.lazyInit=this.lazyInit&&this.lazyInit instanceof j?this.lazyInit:this,R.lazyUpdate=(this.lazyUpdate||[]).concat([M]),R}applyUpdate(M){const R=M.name.toLowerCase();switch(M.op){case"a":case"s":let ve=M.value;if("string"==typeof ve&&(ve=[ve]),0===ve.length)return;this.maybeSetNormalizedName(M.name,R);const L=("a"===M.op?this.headers.get(R):void 0)||[];L.push(...ve),this.headers.set(R,L);break;case"d":const G=M.value;if(G){let de=this.headers.get(R);if(!de)return;de=de.filter(He=>-1===G.indexOf(He)),0===de.length?(this.headers.delete(R),this.normalizedNames.delete(R)):this.headers.set(R,de)}else this.headers.delete(R),this.normalizedNames.delete(R)}}forEach(M){this.init(),Array.from(this.normalizedNames.keys()).forEach(R=>M(this.normalizedNames.get(R),this.headers.get(R)))}}class W{encodeKey(M){return Ye(M)}encodeValue(M){return Ye(M)}decodeKey(M){return decodeURIComponent(M)}decodeValue(M){return decodeURIComponent(M)}}const Te=/%(\d[a-f0-9])/gi,$e={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Ye(F){return encodeURIComponent(F).replace(Te,(M,R)=>$e[R]??M)}function Se(F){return`${F}`}class Fe{constructor(M={}){if(this.updates=null,this.cloneFrom=null,this.encoder=M.encoder||new W,M.fromString){if(M.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function xe(F,M){const R=new Map;return F.length>0&&F.replace(/^\?/,"").split("&").forEach(L=>{const G=L.indexOf("="),[de,He]=-1==G?[M.decodeKey(L),""]:[M.decodeKey(L.slice(0,G)),M.decodeValue(L.slice(G+1))],Ee=R.get(de)||[];Ee.push(He),R.set(de,Ee)}),R}(M.fromString,this.encoder)}else M.fromObject?(this.map=new Map,Object.keys(M.fromObject).forEach(R=>{const ve=M.fromObject[R],L=Array.isArray(ve)?ve.map(Se):[Se(ve)];this.map.set(R,L)})):this.map=null}has(M){return this.init(),this.map.has(M)}get(M){this.init();const R=this.map.get(M);return R?R[0]:null}getAll(M){return this.init(),this.map.get(M)||null}keys(){return this.init(),Array.from(this.map.keys())}append(M,R){return this.clone({param:M,value:R,op:"a"})}appendAll(M){const R=[];return Object.keys(M).forEach(ve=>{const L=M[ve];Array.isArray(L)?L.forEach(G=>{R.push({param:ve,value:G,op:"a"})}):R.push({param:ve,value:L,op:"a"})}),this.clone(R)}set(M,R){return this.clone({param:M,value:R,op:"s"})}delete(M,R){return this.clone({param:M,value:R,op:"d"})}toString(){return this.init(),this.keys().map(M=>{const R=this.encoder.encodeKey(M);return this.map.get(M).map(ve=>R+"="+this.encoder.encodeValue(ve)).join("&")}).filter(M=>""!==M).join("&")}clone(M){const R=new Fe({encoder:this.encoder});return R.cloneFrom=this.cloneFrom||this,R.updates=(this.updates||[]).concat(M),R}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(M=>this.map.set(M,this.cloneFrom.map.get(M))),this.updates.forEach(M=>{switch(M.op){case"a":case"s":const R=("a"===M.op?this.map.get(M.param):void 0)||[];R.push(Se(M.value)),this.map.set(M.param,R);break;case"d":if(void 0===M.value){this.map.delete(M.param);break}{let ve=this.map.get(M.param)||[];const L=ve.indexOf(Se(M.value));-1!==L&&ve.splice(L,1),ve.length>0?this.map.set(M.param,ve):this.map.delete(M.param)}}}),this.cloneFrom=this.updates=null)}}class De{constructor(){this.map=new Map}set(M,R){return this.map.set(M,R),this}get(M){return this.map.has(M)||this.map.set(M,M.defaultValue()),this.map.get(M)}delete(M){return this.map.delete(M),this}has(M){return this.map.has(M)}keys(){return this.map.keys()}}function H(F){return typeof ArrayBuffer<"u"&&F instanceof ArrayBuffer}function ae(F){return typeof Blob<"u"&&F instanceof Blob}function le(F){return typeof FormData<"u"&&F instanceof FormData}class se{constructor(M,R,ve,L){let G;if(this.url=R,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=M.toUpperCase(),function Me(F){switch(F){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||L?(this.body=void 0!==ve?ve:null,G=L):G=ve,G&&(this.reportProgress=!!G.reportProgress,this.withCredentials=!!G.withCredentials,G.responseType&&(this.responseType=G.responseType),G.headers&&(this.headers=G.headers),G.context&&(this.context=G.context),G.params&&(this.params=G.params)),this.headers||(this.headers=new j),this.context||(this.context=new De),this.params){const de=this.params.toString();if(0===de.length)this.urlWithParams=R;else{const He=R.indexOf("?");this.urlWithParams=R+(-1===He?"?":He<R.length-1?"&":"")+de}}else this.params=new Fe,this.urlWithParams=R}serializeBody(){return null===this.body?null:H(this.body)||ae(this.body)||le(this.body)||function pe(F){return typeof URLSearchParams<"u"&&F instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof Fe?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||le(this.body)?null:ae(this.body)?this.body.type||null:H(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Fe?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(M={}){const R=M.method||this.method,ve=M.url||this.url,L=M.responseType||this.responseType,G=void 0!==M.body?M.body:this.body,de=void 0!==M.withCredentials?M.withCredentials:this.withCredentials,He=void 0!==M.reportProgress?M.reportProgress:this.reportProgress;let Ee=M.headers||this.headers,ot=M.params||this.params;const Nt=M.context??this.context;return void 0!==M.setHeaders&&(Ee=Object.keys(M.setHeaders).reduce((Bt,ye)=>Bt.set(ye,M.setHeaders[ye]),Ee)),M.setParams&&(ot=Object.keys(M.setParams).reduce((Bt,ye)=>Bt.set(ye,M.setParams[ye]),ot)),new se(R,ve,G,{params:ot,headers:Ee,context:Nt,reportProgress:He,responseType:L,withCredentials:de})}}var ge=(()=>((ge=ge||{})[ge.Sent=0]="Sent",ge[ge.UploadProgress=1]="UploadProgress",ge[ge.ResponseHeader=2]="ResponseHeader",ge[ge.DownloadProgress=3]="DownloadProgress",ge[ge.Response=4]="Response",ge[ge.User=5]="User",ge))();class Z{constructor(M,R=200,ve="OK"){this.headers=M.headers||new j,this.status=void 0!==M.status?M.status:R,this.statusText=M.statusText||ve,this.url=M.url||null,this.ok=this.status>=200&&this.status<300}}class re extends Z{constructor(M={}){super(M),this.type=ge.ResponseHeader}clone(M={}){return new re({headers:M.headers||this.headers,status:void 0!==M.status?M.status:this.status,statusText:M.statusText||this.statusText,url:M.url||this.url||void 0})}}class Ie extends Z{constructor(M={}){super(M),this.type=ge.Response,this.body=void 0!==M.body?M.body:null}clone(M={}){return new Ie({body:void 0!==M.body?M.body:this.body,headers:M.headers||this.headers,status:void 0!==M.status?M.status:this.status,statusText:M.statusText||this.statusText,url:M.url||this.url||void 0})}}class me extends Z{constructor(M){super(M,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${M.url||"(unknown url)"}`:`Http failure response for ${M.url||"(unknown url)"}: ${M.status} ${M.statusText}`,this.error=M.error||null}}function We(F,M){return{body:M,headers:F.headers,context:F.context,observe:F.observe,params:F.params,reportProgress:F.reportProgress,responseType:F.responseType,withCredentials:F.withCredentials}}let qe=(()=>{class F{constructor(R){this.handler=R}request(R,ve,L={}){let G;if(R instanceof se)G=R;else{let Ee,ot;Ee=L.headers instanceof j?L.headers:new j(L.headers),L.params&&(ot=L.params instanceof Fe?L.params:new Fe({fromObject:L.params})),G=new se(R,ve,void 0!==L.body?L.body:null,{headers:Ee,context:L.context,params:ot,reportProgress:L.reportProgress,responseType:L.responseType||"json",withCredentials:L.withCredentials})}const de=(0,U.of)(G).pipe((0,X.b)(Ee=>this.handler.handle(Ee)));if(R instanceof se||"events"===L.observe)return de;const He=de.pipe((0,J.h)(Ee=>Ee instanceof Ie));switch(L.observe||"body"){case"body":switch(G.responseType){case"arraybuffer":return He.pipe((0,oe.U)(Ee=>{if(null!==Ee.body&&!(Ee.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Ee.body}));case"blob":return He.pipe((0,oe.U)(Ee=>{if(null!==Ee.body&&!(Ee.body instanceof Blob))throw new Error("Response is not a Blob.");return Ee.body}));case"text":return He.pipe((0,oe.U)(Ee=>{if(null!==Ee.body&&"string"!=typeof Ee.body)throw new Error("Response is not a string.");return Ee.body}));default:return He.pipe((0,oe.U)(Ee=>Ee.body))}case"response":return He;default:throw new Error(`Unreachable: unhandled observe type ${L.observe}}`)}}delete(R,ve={}){return this.request("DELETE",R,ve)}get(R,ve={}){return this.request("GET",R,ve)}head(R,ve={}){return this.request("HEAD",R,ve)}jsonp(R,ve){return this.request("JSONP",R,{params:(new Fe).append(ve,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(R,ve={}){return this.request("OPTIONS",R,ve)}patch(R,ve,L={}){return this.request("PATCH",R,We(L,ve))}post(R,ve,L={}){return this.request("POST",R,We(L,ve))}put(R,ve,L={}){return this.request("PUT",R,We(L,ve))}}return F.\u0275fac=function(R){return new(R||F)(f.LFG(ee))},F.\u0275prov=f.Yz7({token:F,factory:F.\u0275fac}),F})();function pt(F,M){return M(F)}function Ht(F,M){return(R,ve)=>M.intercept(R,{handle:L=>F(L,ve)})}const At=new f.OlP("HTTP_INTERCEPTORS"),It=new f.OlP("HTTP_INTERCEPTOR_FNS");function Le(){let F=null;return(M,R)=>(null===F&&(F=((0,f.f3M)(At,{optional:!0})??[]).reduceRight(Ht,pt)),F(M,R))}let et=(()=>{class F extends ee{constructor(R,ve){super(),this.backend=R,this.injector=ve,this.chain=null}handle(R){if(null===this.chain){const ve=Array.from(new Set(this.injector.get(It)));this.chain=ve.reduceRight((L,G)=>function en(F,M,R){return(ve,L)=>R.runInContext(()=>M(ve,G=>F(G,L)))}(L,G,this.injector),pt)}return this.chain(R,ve=>this.backend.handle(ve))}}return F.\u0275fac=function(R){return new(R||F)(f.LFG(Q),f.LFG(f.lqb))},F.\u0275prov=f.Yz7({token:F,factory:F.\u0275fac}),F})();const Xt=/^\)\]\}',?\n/;let Gt=(()=>{class F{constructor(R){this.xhrFactory=R}handle(R){if("JSONP"===R.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new K.y(ve=>{const L=this.xhrFactory.build();if(L.open(R.method,R.urlWithParams),R.withCredentials&&(L.withCredentials=!0),R.headers.forEach((x,C)=>L.setRequestHeader(x,C.join(","))),R.headers.has("Accept")||L.setRequestHeader("Accept","application/json, text/plain, */*"),!R.headers.has("Content-Type")){const x=R.detectContentTypeHeader();null!==x&&L.setRequestHeader("Content-Type",x)}if(R.responseType){const x=R.responseType.toLowerCase();L.responseType="json"!==x?x:"text"}const G=R.serializeBody();let de=null;const He=()=>{if(null!==de)return de;const x=L.statusText||"OK",C=new j(L.getAllResponseHeaders()),I=function wn(F){return"responseURL"in F&&F.responseURL?F.responseURL:/^X-Request-URL:/m.test(F.getAllResponseHeaders())?F.getResponseHeader("X-Request-URL"):null}(L)||R.url;return de=new re({headers:C,status:L.status,statusText:x,url:I}),de},Ee=()=>{let{headers:x,status:C,statusText:I,url:$}=He(),ue=null;204!==C&&(ue=typeof L.response>"u"?L.responseText:L.response),0===C&&(C=ue?200:0);let Ke=C>=200&&C<300;if("json"===R.responseType&&"string"==typeof ue){const vt=ue;ue=ue.replace(Xt,"");try{ue=""!==ue?JSON.parse(ue):null}catch(Dn){ue=vt,Ke&&(Ke=!1,ue={error:Dn,text:ue})}}Ke?(ve.next(new Ie({body:ue,headers:x,status:C,statusText:I,url:$||void 0})),ve.complete()):ve.error(new me({error:ue,headers:x,status:C,statusText:I,url:$||void 0}))},ot=x=>{const{url:C}=He(),I=new me({error:x,status:L.status||0,statusText:L.statusText||"Unknown Error",url:C||void 0});ve.error(I)};let Nt=!1;const Bt=x=>{Nt||(ve.next(He()),Nt=!0);let C={type:ge.DownloadProgress,loaded:x.loaded};x.lengthComputable&&(C.total=x.total),"text"===R.responseType&&L.responseText&&(C.partialText=L.responseText),ve.next(C)},ye=x=>{let C={type:ge.UploadProgress,loaded:x.loaded};x.lengthComputable&&(C.total=x.total),ve.next(C)};return L.addEventListener("load",Ee),L.addEventListener("error",ot),L.addEventListener("timeout",ot),L.addEventListener("abort",ot),R.reportProgress&&(L.addEventListener("progress",Bt),null!==G&&L.upload&&L.upload.addEventListener("progress",ye)),L.send(G),ve.next({type:ge.Sent}),()=>{L.removeEventListener("error",ot),L.removeEventListener("abort",ot),L.removeEventListener("load",Ee),L.removeEventListener("timeout",ot),R.reportProgress&&(L.removeEventListener("progress",Bt),null!==G&&L.upload&&L.upload.removeEventListener("progress",ye)),L.readyState!==L.DONE&&L.abort()}})}}return F.\u0275fac=function(R){return new(R||F)(f.LFG(s.JF))},F.\u0275prov=f.Yz7({token:F,factory:F.\u0275fac}),F})();const yt=new f.OlP("XSRF_ENABLED"),wt="XSRF-TOKEN",tn=new f.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>wt}),$n="X-XSRF-TOKEN",gn=new f.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>$n});class bn{}let Hn=(()=>{class F{constructor(R,ve,L){this.doc=R,this.platform=ve,this.cookieName=L,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const R=this.doc.cookie||"";return R!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,s.Mx)(R,this.cookieName),this.lastCookieString=R),this.lastToken}}return F.\u0275fac=function(R){return new(R||F)(f.LFG(s.K0),f.LFG(f.Lbi),f.LFG(tn))},F.\u0275prov=f.Yz7({token:F,factory:F.\u0275fac}),F})();function Ot(F,M){const R=F.url.toLowerCase();if(!(0,f.f3M)(yt)||"GET"===F.method||"HEAD"===F.method||R.startsWith("http://")||R.startsWith("https://"))return M(F);const ve=(0,f.f3M)(bn).getToken(),L=(0,f.f3M)(gn);return null!=ve&&!F.headers.has(L)&&(F=F.clone({headers:F.headers.set(L,ve)})),M(F)}var ut=(()=>((ut=ut||{})[ut.Interceptors=0]="Interceptors",ut[ut.LegacyInterceptors=1]="LegacyInterceptors",ut[ut.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",ut[ut.NoXsrfProtection=3]="NoXsrfProtection",ut[ut.JsonpSupport=4]="JsonpSupport",ut[ut.RequestsMadeViaParent=5]="RequestsMadeViaParent",ut))();function xt(F,M){return{\u0275kind:F,\u0275providers:M}}function ze(...F){const M=[qe,Gt,et,{provide:ee,useExisting:et},{provide:Q,useExisting:Gt},{provide:It,useValue:Ot,multi:!0},{provide:yt,useValue:!0},{provide:bn,useClass:Hn}];for(const R of F)M.push(...R.\u0275providers);return(0,f.MR2)(M)}const Re=new f.OlP("LEGACY_INTERCEPTOR_FN");function kt({cookieName:F,headerName:M}){const R=[];return void 0!==F&&R.push({provide:tn,useValue:F}),void 0!==M&&R.push({provide:gn,useValue:M}),xt(ut.CustomXsrfConfiguration,R)}let Zn=(()=>{class F{}return F.\u0275fac=function(R){return new(R||F)},F.\u0275mod=f.oAB({type:F}),F.\u0275inj=f.cJS({providers:[ze(xt(ut.LegacyInterceptors,[{provide:Re,useFactory:Le},{provide:It,useExisting:Re,multi:!0}]),kt({cookieName:wt,headerName:$n}))]}),F})()},4650:(it,Ce,D)=>{D.d(Ce,{$8M:()=>Sr,$WT:()=>qn,$Z:()=>vf,AFp:()=>Dg,ALo:()=>Hp,AaK:()=>ee,AsE:()=>fu,BQk:()=>Ml,CHM:()=>Qi,CRH:()=>Xp,CZH:()=>Ul,CqO:()=>qf,D6c:()=>kD,DdM:()=>Ap,EJc:()=>Q0,EiD:()=>Fd,EpF:()=>Xf,F$t:()=>ih,F4k:()=>Jf,FYo:()=>Zd,FiY:()=>aa,G48:()=>_D,Gf:()=>Zp,GfV:()=>Qd,GkF:()=>Jc,Gpc:()=>Y,Gre:()=>kh,Hsn:()=>oh,Ikx:()=>hu,JOm:()=>ds,JVY:()=>jm,JZr:()=>Ye,KtG:()=>$o,L6k:()=>$m,LAX:()=>zm,LFG:()=>lt,LSH:()=>mc,Lbi:()=>W0,Lck:()=>Yb,MAs:()=>Qf,MMx:()=>Cu,MR2:()=>s_,NdJ:()=>eu,O4$:()=>Es,OlP:()=>Un,Oqu:()=>du,P3R:()=>Ld,PXZ:()=>dD,Q6J:()=>Zc,QGY:()=>qc,QbO:()=>K0,Qsj:()=>D_,R0b:()=>Bo,RDi:()=>Fm,Rgc:()=>tl,SBq:()=>ja,Sil:()=>J0,Suo:()=>Qp,TTD:()=>Oi,TgZ:()=>Cl,Tol:()=>bh,Udp:()=>lu,VKq:()=>xp,W1O:()=>tg,WFA:()=>tu,WLB:()=>Op,X6Q:()=>mD,XFs:()=>wt,Xpm:()=>Mn,Xts:()=>_c,Y36:()=>ma,YKP:()=>bp,YNc:()=>Zf,Yjl:()=>ji,Yz7:()=>rt,Z0I:()=>Kt,ZZ4:()=>Ku,_Bn:()=>vp,_UZ:()=>Xc,_Vd:()=>Ha,_c5:()=>RD,_uU:()=>Ih,aQg:()=>Yu,c2e:()=>Y0,cJS:()=>$t,cg1:()=>gu,d8E:()=>pu,dDg:()=>aD,dqk:()=>Ot,eBb:()=>Vm,eFA:()=>Fg,ekj:()=>cu,eoX:()=>Og,f3M:()=>F,g9A:()=>Cg,h0i:()=>xa,hGG:()=>FD,hYB:()=>iu,hij:()=>Al,iGM:()=>Yp,ifc:()=>Bt,ip1:()=>bg,jDz:()=>Ep,kEZ:()=>Pp,kL8:()=>Gh,kcU:()=>br,kuF:()=>Fe,l5B:()=>Rp,lG2:()=>Ur,lcZ:()=>jp,lqb:()=>Ys,lri:()=>Ag,mCW:()=>cl,n5z:()=>Zt,n_E:()=>Fl,oAB:()=>si,oJD:()=>kd,oxw:()=>rh,pB0:()=>Gm,q3G:()=>Qr,q4F:()=>Xd,qLn:()=>$a,qOj:()=>Gc,qZA:()=>wl,qbA:()=>Fp,qzn:()=>da,rWj:()=>xg,s9C:()=>nu,sBO:()=>yD,s_b:()=>Nl,soG:()=>Hl,tBr:()=>sa,tb:()=>wg,tp0:()=>T,uIk:()=>Yc,vHH:()=>Se,vpe:()=>ms,wAp:()=>on,xi3:()=>$p,xp6:()=>sf,ynx:()=>Tl,z2F:()=>jl,z3N:()=>Ts,zSh:()=>Dc,zs3:()=>Zs});var s=D(7579),f=D(727),U=D(9751),K=D(6451),X=D(3099);function J(e){for(let t in e)if(e[t]===J)return t;throw Error("Could not find renamed property on target object.")}function oe(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function ee(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(ee).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function Q(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const j=J({__forward_ref__:J});function Y(e){return e.__forward_ref__=Y,e.toString=function(){return ee(this())},e}function W(e){return xe(e)?e():e}function xe(e){return"function"==typeof e&&e.hasOwnProperty(j)&&e.__forward_ref__===Y}function Te(e){return e&&!!e.\u0275providers}const Ye="https://g.co/ng/security#xss";class Se extends Error{constructor(t,n){super(Fe(t,n)),this.code=t}}function Fe(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}function Pe(e){return"string"==typeof e?e:null==e?"":String(e)}function le(e,t){throw new Se(-201,!1)}function It(e,t){null==e&&function Le(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function rt(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function $t(e){return{providers:e.providers||[],imports:e.imports||[]}}function ln(e){return Wn(e,Xt)||Wn(e,Gt)}function Kt(e){return null!==ln(e)}function Wn(e,t){return e.hasOwnProperty(t)?e[t]:null}function In(e){return e&&(e.hasOwnProperty(wn)||e.hasOwnProperty(yt))?e[wn]:null}const Xt=J({\u0275prov:J}),wn=J({\u0275inj:J}),Gt=J({ngInjectableDef:J}),yt=J({ngInjectorDef:J});var wt=(()=>((wt=wt||{})[wt.Default=0]="Default",wt[wt.Host=1]="Host",wt[wt.Self=2]="Self",wt[wt.SkipSelf=4]="SkipSelf",wt[wt.Optional=8]="Optional",wt))();let tn;function gn(e){const t=tn;return tn=e,t}function bn(e,t,n){const r=ln(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&wt.Optional?null:void 0!==t?t:void le(ee(e))}const Ot=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),ze={},ft="__NG_DI_FLAG__",Re="ngTempTokenPath",kt=/\n/gm,Yn="__source";let Pt;function Tn(e){const t=Pt;return Pt=e,t}function Zn(e,t=wt.Default){if(void 0===Pt)throw new Se(-203,!1);return null===Pt?bn(e,void 0,t):Pt.get(e,t&wt.Optional?null:void 0,t)}function lt(e,t=wt.Default){return(function $n(){return tn}()||Zn)(W(e),t)}function F(e,t=wt.Default){return lt(e,M(t))}function M(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function R(e){const t=[];for(let n=0;n<e.length;n++){const r=W(e[n]);if(Array.isArray(r)){if(0===r.length)throw new Se(900,!1);let i,o=wt.Default;for(let u=0;u<r.length;u++){const p=r[u],v=L(p);"number"==typeof v?-1===v?i=p.token:o|=v:i=p}t.push(lt(i,o))}else t.push(lt(r))}return t}function ve(e,t){return e[ft]=t,e.prototype[ft]=t,e}function L(e){return e[ft]}function He(e){return{toString:e}.toString()}var Ee=(()=>((Ee=Ee||{})[Ee.OnPush=0]="OnPush",Ee[Ee.Default=1]="Default",Ee))(),Bt=(()=>{return(e=Bt||(Bt={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",Bt;var e})();const ye={},x=[],C=J({\u0275cmp:J}),I=J({\u0275dir:J}),$=J({\u0275pipe:J}),ue=J({\u0275mod:J}),Ke=J({\u0275fac:J}),vt=J({__NG_ELEMENT_ID__:J});let Dn=0;function Mn(e){return He(()=>{const n=!0===e.standalone,r={},i={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:r,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===Ee.OnPush,directiveDefs:null,pipeDefs:null,standalone:n,dependencies:n&&e.dependencies||null,getStandaloneInjector:null,selectors:e.selectors||x,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Bt.Emulated,id:"c"+Dn++,styles:e.styles||x,_:null,setInput:null,schemas:e.schemas||null,tView:null,findHostDirectiveDefs:null,hostDirectives:null},o=e.dependencies,u=e.features;return i.inputs=Hi(e.inputs,r),i.outputs=Hi(e.outputs),u&&u.forEach(p=>p(i)),i.directiveDefs=o?()=>("function"==typeof o?o():o).map(Sn).filter(Jr):null,i.pipeDefs=o?()=>("function"==typeof o?o():o).map(cr).filter(Jr):null,i})}function Sn(e){return _n(e)||Nn(e)}function Jr(e){return null!==e}function si(e){return He(()=>({type:e.type,bootstrap:e.bootstrap||x,declarations:e.declarations||x,imports:e.imports||x,exports:e.exports||x,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Hi(e,t){if(null==e)return ye;const n={};for(const r in e)if(e.hasOwnProperty(r)){let i=e[r],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),n[i]=r,t&&(t[i]=o)}return n}const Ur=Mn;function ji(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function _n(e){return e[C]||null}function Nn(e){return e[I]||null}function cr(e){return e[$]||null}function qn(e){const t=_n(e)||Nn(e)||cr(e);return null!==t&&t.standalone}function tr(e,t){const n=e[ue]||null;if(!n&&!0===t)throw new Error(`Type ${ee(e)} does not have '\u0275mod' property.`);return n}function _r(e){return Array.isArray(e)&&"object"==typeof e[1]}function Kn(e){return Array.isArray(e)&&!0===e[1]}function qr(e){return 0!=(4&e.flags)}function zi(e){return e.componentOffset>-1}function Gi(e){return 1==(1&e.flags)}function Rr(e){return null!==e.template}function Si(e){return 0!=(256&e[2])}function rr(e,t){return e.hasOwnProperty(Ke)?e[Ke]:null}class kr{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Oi(){return ai}function ai(e){return e.type.prototype.ngOnChanges&&(e.setInput=so),li}function li(){const e=Hr(this),t=e?.current;if(t){const n=e.previous;if(n===ye)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function so(e,t,n,r){const i=this.declaredInputs[n],o=Hr(e)||function Yi(e,t){return e[yi]=t}(e,{previous:ye,current:null}),u=o.current||(o.current={}),p=o.previous,v=p[i];u[i]=new kr(v&&v.currentValue,t,p===ye),e[r]=t}Oi.ngInherit=!0;const yi="__ngSimpleChanges__";function Hr(e){return e[yi]||null}function xn(e){for(;Array.isArray(e);)e=e[0];return e}function Kr(e,t){return xn(t[e])}function yr(e,t){return xn(t[e.index])}function Zi(e,t){return e.data[t]}function Yr(e,t){return e[t]}function Nr(e,t){const n=t[e];return _r(n)?n:n[0]}function vi(e){return 64==(64&e[2])}function ci(e,t){return null==t?null:e[t]}function Jo(e){e[18]=0}function bi(e,t){e[5]+=t;let n=e,r=e[3];for(;null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}const Wt={lFrame:Ps(null),bindingsEnabled:!0};function es(){return Wt.bindingsEnabled}function Qe(){return Wt.lFrame.lView}function fn(){return Wt.lFrame.tView}function Qi(e){return Wt.lFrame.contextLView=e,e[8]}function $o(e){return Wt.lFrame.contextLView=null,e}function vr(){let e=bo();for(;null!==e&&64===e.type;)e=e.parent;return e}function bo(){return Wt.lFrame.currentTNode}function jr(e,t){const n=Wt.lFrame;n.currentTNode=e,n.isParent=t}function Po(){return Wt.lFrame.isParent}function Vo(){Wt.lFrame.isParent=!1}function Mr(){const e=Wt.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function $r(){return Wt.lFrame.bindingIndex++}function Vr(e){const t=Wt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Ro(e,t){const n=Wt.lFrame;n.bindingIndex=n.bindingRootIndex=e,lo(t)}function lo(e){Wt.lFrame.currentDirectiveIndex=e}function Pi(e){const t=Wt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function Go(){return Wt.lFrame.currentQueryIndex}function Ri(e){Wt.lFrame.currentQueryIndex=e}function Fi(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function co(e,t,n){if(n&wt.SkipSelf){let i=t,o=e;for(;!(i=i.parent,null!==i||n&wt.Host||(i=Fi(o),null===i||(o=o[15],10&i.type))););if(null===i)return!1;t=i,e=o}const r=Wt.lFrame=Ji();return r.currentTNode=t,r.lView=e,!0}function sr(e){const t=Ji(),n=e[1];Wt.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Ji(){const e=Wt.lFrame,t=null===e?null:e.child;return null===t?Ps(e):t}function Ps(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function Rs(){const e=Wt.lFrame;return Wt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Fo=Rs;function bs(){const e=Rs();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Lr(){return Wt.lFrame.selectedIndex}function eo(e){Wt.lFrame.selectedIndex=e}function Qn(){const e=Wt.lFrame;return Zi(e.tView,e.selectedIndex)}function Es(){Wt.lFrame.currentNamespace="svg"}function br(){!function Cs(){Wt.lFrame.currentNamespace=null}()}function Eo(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const o=e.data[n].type.prototype,{ngAfterContentInit:u,ngAfterContentChecked:p,ngAfterViewInit:v,ngAfterViewChecked:S,ngOnDestroy:B}=o;u&&(e.contentHooks||(e.contentHooks=[])).push(-n,u),p&&((e.contentHooks||(e.contentHooks=[])).push(n,p),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,p)),v&&(e.viewHooks||(e.viewHooks=[])).push(-n,v),S&&((e.viewHooks||(e.viewHooks=[])).push(n,S),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,S)),null!=B&&(e.destroyHooks||(e.destroyHooks=[])).push(n,B)}}function g(e,t,n){P(e,t,3,n)}function A(e,t,n,r){(3&e[2])===n&&P(e,t,n,r)}function y(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function P(e,t,n,r){const o=r??-1,u=t.length-1;let p=0;for(let v=void 0!==r?65535&e[18]:0;v<u;v++)if("number"==typeof t[v+1]){if(p=t[v],null!=r&&p>=r)break}else t[v]<0&&(e[18]+=65536),(p<o||-1==o)&&(te(e,n,t,v),e[18]=(4294901760&e[18])+v+2),v++}function te(e,t,n,r){const i=n[r]<0,o=n[r+1],p=e[i?-n[r]:n[r]];if(i){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048;try{o.call(p)}finally{}}}else try{o.call(p)}finally{}}class Ge{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function pi(e,t,n){let r=0;for(;r<n.length;){const i=n[r];if("number"==typeof i){if(0!==i)break;r++;const o=n[r++],u=n[r++],p=n[r++];e.setAttribute(t,u,p,o)}else{const o=i,u=n[++r];Br(o)?e.setProperty(t,o,u):e.setAttribute(t,o,u),r++}}return r}function ri(e){return 3===e||4===e||6===e}function Br(e){return 64===e.charCodeAt(0)}function lr(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const i=t[r];"number"==typeof i?n=i:0===n||ki(e,n,i,null,-1===n||2===n?t[++r]:null)}}return e}function ki(e,t,n,r,i){let o=0,u=e.length;if(-1===t)u=-1;else for(;o<e.length;){const p=e[o++];if("number"==typeof p){if(p===t){u=-1;break}if(p>t){u=o-1;break}}}for(;o<e.length;){const p=e[o];if("number"==typeof p)break;if(p===n){if(null===r)return void(null!==i&&(e[o+1]=i));if(r===e[o+1])return void(e[o+2]=i)}o++,null!==r&&o++,null!==i&&o++}-1!==u&&(e.splice(u,0,t),o=u+1),e.splice(o++,0,n),null!==r&&e.splice(o++,0,r),null!==i&&e.splice(o++,0,i)}function Co(e){return-1!==e}function uo(e){return 32767&e}function os(e,t){let n=function is(e){return e>>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let Wo=!0;function ss(e){const t=Wo;return Wo=e,t}let Vs=0;const ui={};function ko(e,t){const n=fo(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,Ko(r.data,e),Ko(t,null),Ko(r.blueprint,null));const i=E(e,t),o=e.injectorIndex;if(Co(i)){const u=uo(i),p=os(i,t),v=p[1].data;for(let S=0;S<8;S++)t[o+S]=p[u+S]|v[u+S]}return t[o+8]=i,o}function Ko(e,t){e.push(0,0,0,0,0,0,0,0,t)}function fo(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function E(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,i=t;for(;null!==i;){if(r=Ir(i),null===r)return-1;if(n++,i=i[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function a(e,t,n){!function Ns(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(vt)&&(r=n[vt]),null==r&&(r=n[vt]=Vs++);const i=255&r;t.data[e+(i>>5)]|=1<<i}(e,t,n)}function _(e,t,n){if(n&wt.Optional||void 0!==e)return e;le()}function O(e,t,n,r){if(n&wt.Optional&&void 0===r&&(r=null),!(n&(wt.Self|wt.Host))){const i=e[9],o=gn(void 0);try{return i?i.get(t,r,n&wt.Optional):bn(t,r,n&wt.Optional)}finally{gn(o)}}return _(r,0,n)}function z(e,t,n,r=wt.Default,i){if(null!==e){if(1024&t[2]){const u=function or(e,t,n,r,i){let o=e,u=t;for(;null!==o&&null!==u&&1024&u[2]&&!(256&u[2]);){const p=ce(o,u,n,r|wt.Self,ui);if(p!==ui)return p;let v=o.parent;if(!v){const S=u[21];if(S){const B=S.get(n,ui,r);if(B!==ui)return B}v=Ir(u),u=u[15]}o=v}return i}(e,t,n,r,ui);if(u!==ui)return u}const o=ce(e,t,n,r,ui);if(o!==ui)return o}return O(t,n,r,i)}function ce(e,t,n,r,i){const o=function bt(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(vt)?e[vt]:void 0;return"number"==typeof t?t>=0?255&t:Ut:t}(n);if("function"==typeof o){if(!co(t,e,r))return r&wt.Host?_(i,0,r):O(t,n,r,i);try{const u=o(r);if(null!=u||r&wt.Optional)return u;le()}finally{Fo()}}else if("number"==typeof o){let u=null,p=fo(e,t),v=-1,S=r&wt.Host?t[16][6]:null;for((-1===p||r&wt.SkipSelf)&&(v=-1===p?E(e,t):t[p+8],-1!==v&&sn(r,!1)?(u=t[1],p=uo(v),t=os(v,t)):p=-1);-1!==p;){const B=t[1];if(Dt(o,p,B.data)){const q=he(p,t,n,u,r,S);if(q!==ui)return q}v=t[p+8],-1!==v&&sn(r,t[1].data[p+8]===S)&&Dt(o,p,t)?(u=B,p=uo(v),t=os(v,t)):p=-1}}return i}function he(e,t,n,r,i,o){const u=t[1],p=u.data[e+8],B=Be(p,u,n,null==r?zi(p)&&Wo:r!=u&&0!=(3&p.type),i&wt.Host&&o===p);return null!==B?Je(t,u,B,p):ui}function Be(e,t,n,r,i){const o=e.providerIndexes,u=t.data,p=1048575&o,v=e.directiveStart,B=o>>20,we=i?p+B:e.directiveEnd;for(let Ue=r?p:p+B;Ue<we;Ue++){const tt=u[Ue];if(Ue<v&&n===tt||Ue>=v&&tt.type===n)return Ue}if(i){const Ue=u[v];if(Ue&&Rr(Ue)&&Ue.type===n)return v}return null}function Je(e,t,n,r){let i=e[n];const o=t.data;if(function mt(e){return e instanceof Ge}(i)){const u=i;u.resolving&&function Me(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new Se(-200,`Circular dependency in DI detected for ${e}${n}`)}(function De(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Pe(e)}(o[n]));const p=ss(u.canSeeViewProviders);u.resolving=!0;const v=u.injectImpl?gn(u.injectImpl):null;co(e,r,wt.Default);try{i=e[n]=u.factory(void 0,o,e,r),t.firstCreatePass&&n>=r.directiveStart&&function Fs(e,t,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=t.type.prototype;if(r){const u=ai(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,u),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,u)}i&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,i),o&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,o))}(n,o[n],t)}finally{null!==v&&gn(v),ss(p),u.resolving=!1,Fo()}}return i}function Dt(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function sn(e,t){return!(e&wt.Self||e&wt.Host&&t)}class Yt{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return z(this._tNode,this._lView,t,M(r),n)}}function Ut(){return new Yt(vr(),Qe())}function Zt(e){return He(()=>{const t=e.prototype.constructor,n=t[Ke]||Fn(t),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const o=i[Ke]||Fn(i);if(o&&o!==n)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function Fn(e){return xe(e)?()=>{const t=Fn(W(e));return t&&t()}:rr(e)}function Ir(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[6]:null}function Sr(e){return function l(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let i=0;for(;i<r;){const o=n[i];if(ri(o))break;if(0===o)i+=2;else if("number"==typeof o)for(i++;i<r&&"string"==typeof n[i];)i++;else{if(o===t)return n[i+1];i+=2}}}return null}(vr(),e)}const gi="__parameters__";function oi(e,t,n){return He(()=>{const r=function Ni(e){return function(...n){if(e){const r=e(...n);for(const i in r)this[i]=r[i]}}}(t);function i(...o){if(this instanceof i)return r.apply(this,o),this;const u=new i(...o);return p.annotation=u,p;function p(v,S,B){const q=v.hasOwnProperty(gi)?v[gi]:Object.defineProperty(v,gi,{value:[]})[gi];for(;q.length<=B;)q.push(null);return(q[B]=q[B]||[]).push(u),v}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}class Un{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=rt({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function h(e,t){e.forEach(n=>Array.isArray(n)?h(n,t):t(n))}function c(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function m(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function w(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}function _t(e,t,n){let r=yn(e,t);return r>=0?e[1|r]=n:(r=~r,function Oe(e,t,n,r){let i=e.length;if(i==t)e.push(n,r);else if(1===i)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;)e[i]=e[i-2],i--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function St(e,t){const n=yn(e,t);if(n>=0)return e[1|n]}function yn(e,t){return function wo(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){const o=r+(i-r>>1),u=e[o<<n];if(t===u)return o<<n;u>t?i=o:r=o+1}return~(i<<n)}(e,t,1)}const sa=ve(oi("Inject",e=>({token:e})),-1),aa=ve(oi("Optional"),8),T=ve(oi("SkipSelf"),4);var ds=(()=>((ds=ds||{})[ds.Important=1]="Important",ds[ds.DashCase=2]="DashCase",ds))();const Zl=new Map;let rm=0;const Xl="__ngContext__";function Bi(e,t){_r(t)?(e[Xl]=t[20],function om(e){Zl.set(e[20],e)}(t)):e[Xl]=t}function ql(e,t){return undefined(e,t)}function Na(e){const t=e[3];return Kn(t)?t[3]:t}function ec(e){return ld(e[13])}function tc(e){return ld(e[4])}function ld(e){for(;null!==e&&!Kn(e);)e=e[4];return e}function ua(e,t,n,r,i){if(null!=r){let o,u=!1;Kn(r)?o=r:_r(r)&&(u=!0,r=r[0]);const p=xn(r);0===e&&null!==n?null==i?pd(t,n,p):zs(t,n,p,i||null,!0):1===e&&null!==n?zs(t,n,p,i||null,!0):2===e?function lc(e,t,n){const r=il(e,t);r&&function Tm(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,p,u):3===e&&t.destroyNode(p),null!=o&&function Sm(e,t,n,r,i){const o=n[7];o!==xn(n)&&ua(t,e,r,o,i);for(let p=10;p<n.length;p++){const v=n[p];La(v[1],v,e,t,r,o)}}(t,e,o,n,i)}}function rc(e,t,n){return e.createElement(t,n)}function ud(e,t){const n=e[9],r=n.indexOf(t),i=t[3];512&t[2]&&(t[2]&=-513,bi(i,-1)),n.splice(r,1)}function ic(e,t){if(e.length<=10)return;const n=10+t,r=e[n];if(r){const i=r[17];null!==i&&i!==e&&ud(i,r),t>0&&(e[n-1][4]=r[4]);const o=m(e,10+t);!function _m(e,t){La(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(r[1],r);const u=o[19];null!==u&&u.detachView(o[1]),r[3]=null,r[4]=null,r[2]&=-65}return r}function dd(e,t){if(!(128&t[2])){const n=t[11];n.destroyNode&&La(e,t,n,3,null,null),function bm(e){let t=e[13];if(!t)return oc(e[1],e);for(;t;){let n=null;if(_r(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)_r(t)&&oc(t[1],t),t=t[3];null===t&&(t=e),_r(t)&&oc(t[1],t),n=t&&t[4]}t=n}}(t)}}function oc(e,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function wm(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const i=t[n[r]];if(!(i instanceof Ge)){const o=n[r+1];if(Array.isArray(o))for(let u=0;u<o.length;u+=2){const p=i[o[u]],v=o[u+1];try{v.call(p)}finally{}}else try{o.call(i)}finally{}}}}(e,t),function Cm(e,t){const n=e.cleanup,r=t[7];let i=-1;if(null!==n)for(let o=0;o<n.length-1;o+=2)if("string"==typeof n[o]){const u=n[o+3];u>=0?r[i=u]():r[i=-u].unsubscribe(),o+=2}else{const u=r[i=n[o+1]];n[o].call(u)}if(null!==r){for(let o=i+1;o<r.length;o++)(0,r[o])();t[7]=null}}(e,t),1===t[1].type&&t[11].destroy();const n=t[17];if(null!==n&&Kn(t[3])){n!==t[3]&&ud(n,t);const r=t[19];null!==r&&r.detachView(e)}!function sm(e){Zl.delete(e[20])}(t)}}function fd(e,t,n){return function hd(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[0];{const{componentOffset:i}=r;if(i>-1){const{encapsulation:o}=e.data[r.directiveStart+i];if(o===Bt.None||o===Bt.Emulated)return null}return yr(r,n)}}(e,t.parent,n)}function zs(e,t,n,r,i){e.insertBefore(t,n,r,i)}function pd(e,t,n){e.appendChild(t,n)}function gd(e,t,n,r,i){null!==r?zs(e,t,n,r,i):pd(e,t,n)}function il(e,t){return e.parentNode(t)}function md(e,t,n){return yd(e,t,n)}let al,dc,ll,yd=function _d(e,t,n){return 40&e.type?yr(e,n):null};function ol(e,t,n,r){const i=fd(e,r,t),o=t[11],p=md(r.parent||t[6],r,t);if(null!=i)if(Array.isArray(n))for(let v=0;v<n.length;v++)gd(o,i,n[v],p,!1);else gd(o,i,n,p,!1)}function sl(e,t){if(null!==t){const n=t.type;if(3&n)return yr(t,e);if(4&n)return ac(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return sl(e,r);{const i=e[t.index];return Kn(i)?ac(-1,i):xn(i)}}if(32&n)return ql(t,e)()||xn(e[t.index]);{const r=bd(e,t);return null!==r?Array.isArray(r)?r[0]:sl(Na(e[16]),r):sl(e,t.next)}}return null}function bd(e,t){return null!==t?e[16][6].projection[t.projection]:null}function ac(e,t){const n=10+e+1;if(n<t.length){const r=t[n],i=r[1].firstChild;if(null!==i)return sl(r,i)}return t[7]}function cc(e,t,n,r,i,o,u){for(;null!=n;){const p=r[n.index],v=n.type;if(u&&0===t&&(p&&Bi(xn(p),r),n.flags|=2),32!=(32&n.flags))if(8&v)cc(e,t,n.child,r,i,o,!1),ua(t,e,i,p,o);else if(32&v){const S=ql(n,r);let B;for(;B=S();)ua(t,e,i,B,o);ua(t,e,i,p,o)}else 16&v?Dd(e,t,r,n,i,o):ua(t,e,i,p,o);n=u?n.projectionNext:n.next}}function La(e,t,n,r,i,o){cc(n,r,e.firstChild,t,i,o,!1)}function Dd(e,t,n,r,i,o){const u=n[16],v=u[6].projection[r.projection];if(Array.isArray(v))for(let S=0;S<v.length;S++)ua(t,e,i,v[S],o);else cc(e,t,v,u[3],i,o,!0)}function Ed(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Cd(e,t,n){const{mergedAttrs:r,classes:i,styles:o}=n;null!==r&&pi(e,t,r),null!==i&&Ed(e,t,i),null!==o&&function xm(e,t,n){e.setAttribute(t,"style",n)}(e,t,o)}function Gs(e){return function uc(){if(void 0===al&&(al=null,Ot.trustedTypes))try{al=Ot.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return al}()?.createHTML(e)||e}function Fm(e){dc=e}function fc(){if(void 0===ll&&(ll=null,Ot.trustedTypes))try{ll=Ot.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ll}function Td(e){return fc()?.createHTML(e)||e}function Id(e){return fc()?.createScriptURL(e)||e}class Ws{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Ye})`}}class km extends Ws{getTypeName(){return"HTML"}}class Nm extends Ws{getTypeName(){return"Style"}}class Lm extends Ws{getTypeName(){return"Script"}}class Bm extends Ws{getTypeName(){return"URL"}}class Um extends Ws{getTypeName(){return"ResourceURL"}}function Ts(e){return e instanceof Ws?e.changingThisBreaksApplicationSecurity:e}function da(e,t){const n=function Hm(e){return e instanceof Ws&&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 ${Ye})`)}return n===t}function jm(e){return new km(e)}function $m(e){return new Nm(e)}function Vm(e){return new Lm(e)}function zm(e){return new Bm(e)}function Gm(e){return new Um(e)}class Wm{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(Gs(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class Km{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const n=this.inertDocument.createElement("html");this.inertDocument.appendChild(n);const r=this.inertDocument.createElement("body");n.appendChild(r)}}getInertBodyElement(t){const n=this.inertDocument.createElement("template");if("content"in n)return n.innerHTML=Gs(t),n;const r=this.inertDocument.createElement("body");return r.innerHTML=Gs(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(r),r}stripCustomNsAttrs(t){const n=t.attributes;for(let i=n.length-1;0<i;i--){const u=n.item(i).name;("xmlns:ns1"===u||0===u.indexOf("ns1:"))&&t.removeAttribute(u)}let r=t.firstChild;for(;r;)r.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(r),r=r.nextSibling}}const Zm=/^(?:(?:https?|mailto|data|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi;function cl(e){return(e=String(e)).match(Zm)?e:"unsafe:"+e}function Ms(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function Ba(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const Ad=Ms("area,br,col,hr,img,wbr"),xd=Ms("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Od=Ms("rp,rt"),hc=Ba(Ad,Ba(xd,Ms("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")),Ba(Od,Ms("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")),Ba(Od,xd)),pc=Ms("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Pd=Ba(pc,Ms("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"),Ms("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")),Qm=Ms("script,style,template");class Xm{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0;for(;n;)if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=this.checkClobberedElement(n,n.nextSibling);if(i){n=i;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!hc.hasOwnProperty(n))return this.sanitizedSomething=!0,!Qm.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let i=0;i<r.length;i++){const o=r.item(i),u=o.name,p=u.toLowerCase();if(!Pd.hasOwnProperty(p)){this.sanitizedSomething=!0;continue}let v=o.value;pc[p]&&(v=cl(v)),this.buf.push(" ",u,'="',Rd(v),'"')}return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();hc.hasOwnProperty(n)&&!Ad.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Rd(t))}checkClobberedElement(t,n){if(n&&(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return n}}const Jm=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,qm=/([^\#-~ |!])/g;function Rd(e){return e.replace(/&/g,"&").replace(Jm,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(qm,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let ul;function Fd(e,t){let n=null;try{ul=ul||function Sd(e){const t=new Km(e);return function Ym(){try{return!!(new window.DOMParser).parseFromString(Gs(""),"text/html")}catch{return!1}}()?new Wm(t):t}(e);let r=t?String(t):"";n=ul.getInertBodyElement(r);let i=5,o=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=o,o=n.innerHTML,n=ul.getInertBodyElement(r)}while(r!==o);return Gs((new Xm).sanitizeChildren(gc(n)||n))}finally{if(n){const r=gc(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function gc(e){return"content"in e&&function e_(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Qr=(()=>((Qr=Qr||{})[Qr.NONE=0]="NONE",Qr[Qr.HTML=1]="HTML",Qr[Qr.STYLE=2]="STYLE",Qr[Qr.SCRIPT=3]="SCRIPT",Qr[Qr.URL=4]="URL",Qr[Qr.RESOURCE_URL=5]="RESOURCE_URL",Qr))();function kd(e){const t=Ua();return t?Td(t.sanitize(Qr.HTML,e)||""):da(e,"HTML")?Td(Ts(e)):Fd(function wd(){return void 0!==dc?dc:typeof document<"u"?document:void 0}(),Pe(e))}function mc(e){const t=Ua();return t?t.sanitize(Qr.URL,e)||"":da(e,"URL")?Ts(e):cl(Pe(e))}function Nd(e){const t=Ua();if(t)return Id(t.sanitize(Qr.RESOURCE_URL,e)||"");if(da(e,"ResourceURL"))return Id(Ts(e));throw new Se(904,!1)}function Ld(e,t,n){return function o_(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?Nd:mc}(t,n)(e)}function Ua(){const e=Qe();return e&&e[12]}const _c=new Un("ENVIRONMENT_INITIALIZER"),Bd=new Un("INJECTOR",-1),Ud=new Un("INJECTOR_DEF_TYPES");class Hd{get(t,n=ze){if(n===ze){const r=new Error(`NullInjectorError: No provider for ${ee(t)}!`);throw r.name="NullInjectorError",r}return n}}function s_(e){return{\u0275providers:e}}function a_(...e){return{\u0275providers:jd(0,e),\u0275fromNgModule:!0}}function jd(e,...t){const n=[],r=new Set;let i;return h(t,o=>{const u=o;yc(u,n,[],r)&&(i||(i=[]),i.push(u))}),void 0!==i&&$d(i,n),n}function $d(e,t){for(let n=0;n<e.length;n++){const{providers:i}=e[n];vc(i,o=>{t.push(o)})}}function yc(e,t,n,r){if(!(e=W(e)))return!1;let i=null,o=In(e);const u=!o&&_n(e);if(o||u){if(u&&!u.standalone)return!1;i=e}else{const v=e.ngModule;if(o=In(v),!o)return!1;i=v}const p=r.has(i);if(u){if(p)return!1;if(r.add(i),u.dependencies){const v="function"==typeof u.dependencies?u.dependencies():u.dependencies;for(const S of v)yc(S,t,n,r)}}else{if(!o)return!1;{if(null!=o.imports&&!p){let S;r.add(i);try{h(o.imports,B=>{yc(B,t,n,r)&&(S||(S=[]),S.push(B))})}finally{}void 0!==S&&$d(S,t)}if(!p){const S=rr(i)||(()=>new i);t.push({provide:i,useFactory:S,deps:x},{provide:Ud,useValue:i,multi:!0},{provide:_c,useValue:()=>lt(i),multi:!0})}const v=o.providers;null==v||p||vc(v,B=>{t.push(B)})}}return i!==e&&void 0!==e.providers}function vc(e,t){for(let n of e)Te(n)&&(n=n.\u0275providers),Array.isArray(n)?vc(n,t):t(n)}const l_=J({provide:String,useValue:J});function bc(e){return null!==e&&"object"==typeof e&&l_ in e}function Ks(e){return"function"==typeof e}const Dc=new Un("Set Injector scope."),dl={},u_={};let Ec;function fl(){return void 0===Ec&&(Ec=new Hd),Ec}class Ys{}class Gd extends Ys{get destroyed(){return this._destroyed}constructor(t,n,r,i){super(),this.parent=n,this.source=r,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,wc(t,u=>this.processProvider(u)),this.records.set(Bd,fa(void 0,this)),i.has("environment")&&this.records.set(Ys,fa(void 0,this));const o=this.records.get(Dc);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Ud.multi,x,wt.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const n=Tn(this),r=gn(void 0);try{return t()}finally{Tn(n),gn(r)}}get(t,n=ze,r=wt.Default){this.assertNotDestroyed(),r=M(r);const i=Tn(this),o=gn(void 0);try{if(!(r&wt.SkipSelf)){let p=this.records.get(t);if(void 0===p){const v=function g_(e){return"function"==typeof e||"object"==typeof e&&e instanceof Un}(t)&&ln(t);p=v&&this.injectableDefInScope(v)?fa(Cc(t),dl):null,this.records.set(t,p)}if(null!=p)return this.hydrate(t,p)}return(r&wt.Self?fl():this.parent).get(t,n=r&wt.Optional&&n===ze?null:n)}catch(u){if("NullInjectorError"===u.name){if((u[Re]=u[Re]||[]).unshift(ee(t)),i)throw u;return function G(e,t,n,r){const i=e[Re];throw t[Yn]&&i.unshift(t[Yn]),e.message=function de(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let i=ee(t);if(Array.isArray(t))i=t.map(ee).join(" -> ");else if("object"==typeof t){let o=[];for(let u in t)if(t.hasOwnProperty(u)){let p=t[u];o.push(u+":"+("string"==typeof p?JSON.stringify(p):ee(p)))}i=`{${o.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(kt,"\n ")}`}("\n"+e.message,i,n,r),e.ngTokenPath=i,e[Re]=null,e}(u,t,"R3InjectorError",this.source)}throw u}finally{gn(o),Tn(i)}}resolveInjectorInitializers(){const t=Tn(this),n=gn(void 0);try{const r=this.get(_c.multi,x,wt.Self);for(const i of r)i()}finally{Tn(t),gn(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(ee(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Se(205,!1)}processProvider(t){let n=Ks(t=W(t))?t:W(t&&t.provide);const r=function f_(e){return bc(e)?fa(void 0,e.useValue):fa(Wd(e),dl)}(t);if(Ks(t)||!0!==t.multi)this.records.get(n);else{let i=this.records.get(n);i||(i=fa(void 0,dl,!0),i.factory=()=>R(i.multi),this.records.set(n,i)),n=t,i.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===dl&&(n.value=u_,n.value=n.factory()),"object"==typeof n.value&&n.value&&function p_(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=W(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function Cc(e){const t=ln(e),n=null!==t?t.factory:rr(e);if(null!==n)return n;if(e instanceof Un)throw new Se(204,!1);if(e instanceof Function)return function d_(e){const t=e.length;if(t>0)throw w(t,"?"),new Se(204,!1);const n=function vn(e){const t=e&&(e[Xt]||e[Gt]);if(t){const n=function kn(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new Se(204,!1)}function Wd(e,t,n){let r;if(Ks(e)){const i=W(e);return rr(i)||Cc(i)}if(bc(e))r=()=>W(e.useValue);else if(function zd(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...R(e.deps||[]));else if(function Vd(e){return!(!e||!e.useExisting)}(e))r=()=>lt(W(e.useExisting));else{const i=W(e&&(e.useClass||e.provide));if(!function h_(e){return!!e.deps}(e))return rr(i)||Cc(i);r=()=>new i(...R(e.deps))}return r}function fa(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function wc(e,t){for(const n of e)Array.isArray(n)?wc(n,t):n&&Te(n)?wc(n.\u0275providers,t):t(n)}class m_{}class Kd{}class y_{resolveComponentFactory(t){throw function __(e){const t=Error(`No component factory found for ${ee(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let Ha=(()=>{class e{}return e.NULL=new y_,e})();function v_(){return ha(vr(),Qe())}function ha(e,t){return new ja(yr(e,t))}let ja=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=v_,e})();function b_(e){return e instanceof ja?e.nativeElement:e}class Zd{}let D_=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function E_(){const e=Qe(),n=Nr(vr().index,e);return(_r(n)?n:e)[11]}(),e})(),C_=(()=>{class e{}return e.\u0275prov=rt({token:e,providedIn:"root",factory:()=>null}),e})();class Qd{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Xd=new Qd("15.1.1"),Tc={};function Ic(e){return e.ngOriginalError}class $a{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Ic(t);for(;n&&Ic(n);)n=Ic(n);return n||null}}function Is(e){return e instanceof Function?e():e}function qd(e,t,n){let r=e.length;for(;;){const i=e.indexOf(t,n);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){const o=t.length;if(i+o===r||e.charCodeAt(i+o)<=32)return i}n=i+1}}const ef="ng-template";function F_(e,t,n){let r=0;for(;r<e.length;){let i=e[r++];if(n&&"class"===i){if(i=e[r],-1!==qd(i.toLowerCase(),t,0))return!0}else if(1===i){for(;r<e.length&&"string"==typeof(i=e[r++]);)if(i.toLowerCase()===t)return!0;return!1}}return!1}function tf(e){return 4===e.type&&e.value!==ef}function k_(e,t,n){return t===(4!==e.type||n?e.value:ef)}function N_(e,t,n){let r=4;const i=e.attrs||[],o=function U_(e){for(let t=0;t<e.length;t++)if(ri(e[t]))return t;return e.length}(i);let u=!1;for(let p=0;p<t.length;p++){const v=t[p];if("number"!=typeof v){if(!u)if(4&r){if(r=2|1&r,""!==v&&!k_(e,v,n)||""===v&&1===t.length){if(Yo(r))return!1;u=!0}}else{const S=8&r?v:t[++p];if(8&r&&null!==e.attrs){if(!F_(e.attrs,S,n)){if(Yo(r))return!1;u=!0}continue}const q=L_(8&r?"class":v,i,tf(e),n);if(-1===q){if(Yo(r))return!1;u=!0;continue}if(""!==S){let we;we=q>o?"":i[q+1].toLowerCase();const Ue=8&r?we:null;if(Ue&&-1!==qd(Ue,S,0)||2&r&&S!==we){if(Yo(r))return!1;u=!0}}}}else{if(!u&&!Yo(r)&&!Yo(v))return!1;if(u&&Yo(v))continue;u=!1,r=v|1&r}}return Yo(r)||u}function Yo(e){return 0==(1&e)}function L_(e,t,n,r){if(null===t)return-1;let i=0;if(r||!n){let o=!1;for(;i<t.length;){const u=t[i];if(u===e)return i;if(3===u||6===u)o=!0;else{if(1===u||2===u){let p=t[++i];for(;"string"==typeof p;)p=t[++i];continue}if(4===u)break;if(0===u){i+=4;continue}}i+=o?1:2}return-1}return function H_(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function nf(e,t,n=!1){for(let r=0;r<t.length;r++)if(N_(e,t[r],n))return!0;return!1}function j_(e,t){e:for(let n=0;n<t.length;n++){const r=t[n];if(e.length===r.length){for(let i=0;i<e.length;i++)if(e[i]!==r[i])continue e;return!0}}return!1}function rf(e,t){return e?":not("+t.trim()+")":t}function $_(e){let t=e[0],n=1,r=2,i="",o=!1;for(;n<e.length;){let u=e[n];if("string"==typeof u)if(2&r){const p=e[++n];i+="["+u+(p.length>0?'="'+p+'"':"")+"]"}else 8&r?i+="."+u:4&r&&(i+=" "+u);else""!==i&&!Yo(u)&&(t+=rf(o,i),i=""),r=u,o=o||!Yo(r);n++}return""!==i&&(t+=rf(o,i)),t}const mn={};function sf(e){af(fn(),Qe(),Lr()+e,!1)}function af(e,t,n,r){if(!r)if(3==(3&t[2])){const o=e.preOrderCheckHooks;null!==o&&g(t,o,n)}else{const o=e.preOrderHooks;null!==o&&A(t,o,0,n)}eo(n)}function df(e,t=null,n=null,r){const i=ff(e,t,n,r);return i.resolveInjectorInitializers(),i}function ff(e,t=null,n=null,r,i=new Set){const o=[n||x,a_(e)];return r=r||("object"==typeof e?void 0:ee(e)),new Gd(o,t||fl(),r||null,i)}let Zs=(()=>{class e{static create(n,r){if(Array.isArray(n))return df({name:""},r,n,"");{const i=n.name??"";return df({name:i},n.parent,n.providers,i)}}}return e.THROW_IF_NOT_FOUND=ze,e.NULL=new Hd,e.\u0275prov=rt({token:e,providedIn:"any",factory:()=>lt(Bd)}),e.__NG_ELEMENT_ID__=-1,e})();function ma(e,t=wt.Default){const n=Qe();return null===n?lt(e,t):z(vr(),n,W(e),t)}function vf(){throw new Error("invalid")}function bf(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const o=n[r+1];if(-1!==o){const u=e.data[o];Ri(n[r]),u.contentQueries(2,t[o],o)}}}function pl(e,t,n,r,i,o,u,p,v,S,B){const q=t.blueprint.slice();return q[0]=i,q[2]=76|r,(null!==B||e&&1024&e[2])&&(q[2]|=1024),Jo(q),q[3]=q[15]=e,q[8]=n,q[10]=u||e&&e[10],q[11]=p||e&&e[11],q[12]=v||e&&e[12]||null,q[9]=S||e&&e[9]||null,q[6]=o,q[20]=function im(){return rm++}(),q[21]=B,q[16]=2==t.type?e[16]:q,q}function _a(e,t,n,r,i){let o=e.data[t];if(null===o)o=function Pc(e,t,n,r,i){const o=bo(),u=Po(),v=e.data[t]=function py(e,t,n,r,i,o){return{type:n,index:r,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:0,providerIndexes:0,value:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,u?o:o&&o.parent,n,t,r,i);return null===e.firstChild&&(e.firstChild=v),null!==o&&(u?null==o.child&&null!==v.parent&&(o.child=v):null===o.next&&(o.next=v)),v}(e,t,n,r,i),function ts(){return Wt.lFrame.inI18n}()&&(o.flags|=32);else if(64&o.type){o.type=n,o.value=r,o.attrs=i;const u=function Oo(){const e=Wt.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();o.injectorIndex=null===u?-1:u.injectorIndex}return jr(o,!0),o}function Va(e,t,n,r){if(0===n)return-1;const i=t.length;for(let o=0;o<n;o++)t.push(r),e.blueprint.push(r),e.data.push(null);return i}function Rc(e,t,n){sr(t);try{const r=e.viewQuery;null!==r&&Vc(1,r,n);const i=e.template;null!==i&&Df(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&bf(e,t),e.staticViewQueries&&Vc(2,e.viewQuery,n);const o=e.components;null!==o&&function dy(e,t){for(let n=0;n<t.length;n++)Ry(e,t[n])}(t,o)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[2]&=-5,bs()}}function gl(e,t,n,r){const i=t[2];if(128!=(128&i)){sr(t);try{Jo(t),function Di(e){return Wt.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&Df(e,t,n,2,r);const u=3==(3&i);if(u){const S=e.preOrderCheckHooks;null!==S&&g(t,S,null)}else{const S=e.preOrderHooks;null!==S&&A(t,S,0,null),y(t,0)}if(function Oy(e){for(let t=ec(e);null!==t;t=tc(t)){if(!t[2])continue;const n=t[9];for(let r=0;r<n.length;r++){const i=n[r];512&i[2]||bi(i[3],1),i[2]|=512}}}(t),function xy(e){for(let t=ec(e);null!==t;t=tc(t))for(let n=10;n<t.length;n++){const r=t[n],i=r[1];vi(r)&&gl(i,r,i.template,r[8])}}(t),null!==e.contentQueries&&bf(e,t),u){const S=e.contentCheckHooks;null!==S&&g(t,S)}else{const S=e.contentHooks;null!==S&&A(t,S,1),y(t,1)}!function cy(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const i=n[r];if(i<0)eo(~i);else{const o=i,u=n[++r],p=n[++r];Ro(u,o),p(2,t[o])}}}finally{eo(-1)}}(e,t);const p=e.components;null!==p&&function uy(e,t){for(let n=0;n<t.length;n++)Py(e,t[n])}(t,p);const v=e.viewQuery;if(null!==v&&Vc(2,v,r),u){const S=e.viewCheckHooks;null!==S&&g(t,S)}else{const S=e.viewHooks;null!==S&&A(t,S,2),y(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[2]&=-41,512&t[2]&&(t[2]&=-513,bi(t[3],-1))}finally{bs()}}}function Df(e,t,n,r,i){const o=Lr(),u=2&r;try{eo(-1),u&&t.length>22&&af(e,t,22,!1),n(r,i)}finally{eo(o)}}function Fc(e,t,n){if(qr(t)){const i=t.directiveEnd;for(let o=t.directiveStart;o<i;o++){const u=e.data[o];u.contentQueries&&u.contentQueries(1,n[o],o)}}}function kc(e,t,n){es()&&(function by(e,t,n,r){const i=n.directiveStart,o=n.directiveEnd;zi(n)&&function Iy(e,t,n){const r=yr(t,e),i=Ef(n),o=e[10],u=ml(e,pl(e,i,null,n.onPush?32:16,r,t,o,o.createRenderer(r,n),null,null,null));e[t.index]=u}(t,n,e.data[i+n.componentOffset]),e.firstCreatePass||ko(n,t),Bi(r,t);const u=n.initialInputs;for(let p=i;p<o;p++){const v=e.data[p],S=Je(t,e,p,n);Bi(S,t),null!==u&&Sy(0,p-i,S,v,0,u),Rr(v)&&(Nr(n.index,t)[8]=Je(t,e,p,n))}}(e,t,n,yr(n,t)),64==(64&n.flags)&&Sf(e,t,n))}function Nc(e,t,n=yr){const r=t.localNames;if(null!==r){let i=t.index+1;for(let o=0;o<r.length;o+=2){const u=r[o+1],p=-1===u?n(t,e):e[u];e[i++]=p}}}function Ef(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Lc(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function Lc(e,t,n,r,i,o,u,p,v,S){const B=22+r,q=B+i,we=function fy(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:mn);return n}(B,q),Ue="function"==typeof S?S():S;return we[1]={type:e,blueprint:we,template:n,queries:null,viewQuery:p,declTNode:t,data:we.slice().fill(null,B),bindingStartIndex:B,expandoStartIndex:q,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof o?o():o,pipeRegistry:"function"==typeof u?u():u,firstChild:null,schemas:v,consts:Ue,incompleteFirstPass:!1}}function Cf(e,t,n,r){const i=xf(t);null===n?i.push(r):(i.push(n),e.firstCreatePass&&Of(e).push(r,i.length-1))}function wf(e,t,n,r){for(let i in e)if(e.hasOwnProperty(i)){n=null===n?{}:n;const o=e[i];null===r?Tf(n,t,i,o):r.hasOwnProperty(i)&&Tf(n,t,r[i],o)}return n}function Tf(e,t,n,r){e.hasOwnProperty(n)?e[n].push(t,r):e[n]=[t,r]}function Mo(e,t,n,r,i,o,u,p){const v=yr(t,n);let B,S=t.inputs;!p&&null!=S&&(B=S[r])?(zc(e,n,B,r,i),zi(t)&&Mf(n,t.index)):3&t.type&&(r=function my(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),i=null!=u?u(i,t.value||"",r):i,o.setProperty(v,r,i))}function Mf(e,t){const n=Nr(t,e);16&n[2]||(n[2]|=32)}function Bc(e,t,n,r){let i=!1;if(es()){const o=null===r?null:{"":-1},u=function Ey(e,t){const n=e.directiveRegistry;let r=null,i=null;if(n)for(let o=0;o<n.length;o++){const u=n[o];if(nf(t,u.selectors,!1))if(r||(r=[]),Rr(u))if(null!==u.findHostDirectiveDefs){const p=[];i=i||new Map,u.findHostDirectiveDefs(u,p,i),r.unshift(...p,u),Uc(e,t,p.length)}else r.unshift(u),Uc(e,t,0);else i=i||new Map,u.findHostDirectiveDefs?.(u,r,i),r.push(u)}return null===r?null:[r,i]}(e,n);let p,v;null===u?p=v=null:[p,v]=u,null!==p&&(i=!0,If(e,t,n,p,o,v)),o&&function Cy(e,t,n){if(t){const r=e.localNames=[];for(let i=0;i<t.length;i+=2){const o=n[t[i+1]];if(null==o)throw new Se(-301,!1);r.push(t[i],o)}}}(n,r,o)}return n.mergedAttrs=lr(n.mergedAttrs,n.attrs),i}function If(e,t,n,r,i,o){for(let S=0;S<r.length;S++)a(ko(n,t),e,r[S].type);!function Ty(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}(n,e.data.length,r.length);for(let S=0;S<r.length;S++){const B=r[S];B.providersResolver&&B.providersResolver(B)}let u=!1,p=!1,v=Va(e,t,r.length,null);for(let S=0;S<r.length;S++){const B=r[S];n.mergedAttrs=lr(n.mergedAttrs,B.hostAttrs),My(e,n,t,v,B),wy(v,B,i),null!==B.contentQueries&&(n.flags|=4),(null!==B.hostBindings||null!==B.hostAttrs||0!==B.hostVars)&&(n.flags|=64);const q=B.type.prototype;!u&&(q.ngOnChanges||q.ngOnInit||q.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),u=!0),!p&&(q.ngOnChanges||q.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),p=!0),v++}!function gy(e,t,n){const i=t.directiveEnd,o=e.data,u=t.attrs,p=[];let v=null,S=null;for(let B=t.directiveStart;B<i;B++){const q=o[B],we=n?n.get(q):null,tt=we?we.outputs:null;v=wf(q.inputs,B,v,we?we.inputs:null),S=wf(q.outputs,B,S,tt);const dt=null===v||null===u||tf(t)?null:Ay(v,B,u);p.push(dt)}null!==v&&(v.hasOwnProperty("class")&&(t.flags|=8),v.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=p,t.inputs=v,t.outputs=S}(e,n,o)}function Sf(e,t,n){const r=n.directiveStart,i=n.directiveEnd,o=n.index,u=function ns(){return Wt.lFrame.currentDirectiveIndex}();try{eo(o);for(let p=r;p<i;p++){const v=e.data[p],S=t[p];lo(p),(null!==v.hostBindings||0!==v.hostVars||null!==v.hostAttrs)&&Dy(v,S)}}finally{eo(-1),lo(u)}}function Dy(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Uc(e,t,n){t.componentOffset=n,(e.components||(e.components=[])).push(t.index)}function wy(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Rr(t)&&(n[""]=e)}}function My(e,t,n,r,i){e.data[r]=i;const o=i.factory||(i.factory=rr(i.type)),u=new Ge(o,Rr(i),ma);e.blueprint[r]=u,n[r]=u,function yy(e,t,n,r,i){const o=i.hostBindings;if(o){let u=e.hostBindingOpCodes;null===u&&(u=e.hostBindingOpCodes=[]);const p=~t.index;(function vy(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(u)!=p&&u.push(p),u.push(n,r,o)}}(e,t,r,Va(e,n,i.hostVars,mn),i)}function fs(e,t,n,r,i,o){const u=yr(e,t);!function Hc(e,t,n,r,i,o,u){if(null==o)e.removeAttribute(t,i,n);else{const p=null==u?Pe(o):u(o,r||"",i);e.setAttribute(t,i,p,n)}}(t[11],u,o,e.value,n,r,i)}function Sy(e,t,n,r,i,o){const u=o[t];if(null!==u){const p=r.setInput;for(let v=0;v<u.length;){const S=u[v++],B=u[v++],q=u[v++];null!==p?r.setInput(n,q,S,B):n[B]=q}}}function Ay(e,t,n){let r=null,i=0;for(;i<n.length;){const o=n[i];if(0!==o)if(5!==o){if("number"==typeof o)break;if(e.hasOwnProperty(o)){null===r&&(r=[]);const u=e[o];for(let p=0;p<u.length;p+=2)if(u[p]===t){r.push(o,u[p+1],n[i+1]);break}}i+=2}else i+=2;else i+=4}return r}function Af(e,t,n,r){return[e,!0,!1,t,null,0,r,n,null,null]}function Py(e,t){const n=Nr(t,e);if(vi(n)){const r=n[1];48&n[2]?gl(r,n,r.template,n[8]):n[5]>0&&jc(n)}}function jc(e){for(let r=ec(e);null!==r;r=tc(r))for(let i=10;i<r.length;i++){const o=r[i];if(vi(o))if(512&o[2]){const u=o[1];gl(u,o,u.template,o[8])}else o[5]>0&&jc(o)}const n=e[1].components;if(null!==n)for(let r=0;r<n.length;r++){const i=Nr(n[r],e);vi(i)&&i[5]>0&&jc(i)}}function Ry(e,t){const n=Nr(t,e),r=n[1];(function Fy(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(r,n),Rc(r,n,n[8])}function ml(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function $c(e){for(;e;){e[2]|=32;const t=Na(e);if(Si(e)&&!t)return e;e=t}return null}function _l(e,t,n,r=!0){const i=t[10];i.begin&&i.begin();try{gl(e,t,e.template,n)}catch(u){throw r&&Rf(t,u),u}finally{i.end&&i.end()}}function Vc(e,t,n){Ri(0),t(e,n)}function xf(e){return e[7]||(e[7]=[])}function Of(e){return e.cleanup||(e.cleanup=[])}function Pf(e,t,n){return(null===e||Rr(e))&&(n=function So(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(n[t.index])),n[11]}function Rf(e,t){const n=e[9],r=n?n.get($a,null):null;r&&r.handleError(t)}function zc(e,t,n,r,i){for(let o=0;o<n.length;){const u=n[o++],p=n[o++],v=t[u],S=e.data[u];null!==S.setInput?S.setInput(v,i,r,p):v[p]=i}}function Ss(e,t,n){const r=Kr(t,e);!function cd(e,t,n){e.setValue(t,n)}(e[11],r,n)}function yl(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,o=0;if(null!==t)for(let u=0;u<t.length;u++){const p=t[u];"number"==typeof p?o=p:1==o?i=Q(i,p):2==o&&(r=Q(r,p+": "+t[++u]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}function vl(e,t,n,r,i=!1){for(;null!==n;){const o=t[n.index];if(null!==o&&r.push(xn(o)),Kn(o))for(let p=10;p<o.length;p++){const v=o[p],S=v[1].firstChild;null!==S&&vl(v[1],v,S,r)}const u=n.type;if(8&u)vl(e,t,n.child,r);else if(32&u){const p=ql(n,t);let v;for(;v=p();)r.push(v)}else if(16&u){const p=bd(t,n);if(Array.isArray(p))r.push(...p);else{const v=Na(t[16]);vl(v[1],v,p,r,!0)}}n=i?n.projectionNext:n.next}return r}class za{get rootNodes(){const t=this._lView,n=t[1];return vl(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return 128==(128&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(Kn(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(ic(t,r),m(n,r))}this._attachedToViewContainer=!1}dd(this._lView[1],this._lView)}onDestroy(t){Cf(this._lView[1],this._lView,null,t)}markForCheck(){$c(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){_l(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Se(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function vm(e,t){La(e,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Se(902,!1);this._appRef=t}}class ky extends za{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;_l(t[1],t,t[8],!1)}checkNoChanges(){}get context(){return null}}class Ff extends Ha{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=_n(t);return new Ga(n,this.ngModule)}}function kf(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class Ly{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=M(r);const i=this.injector.get(t,Tc,r);return i!==Tc||n===Tc?i:this.parentInjector.get(t,n,r)}}class Ga extends Kd{get inputs(){return kf(this.componentDef.inputs)}get outputs(){return kf(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function V_(e){return e.map($_).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,i){let o=(i=i||this.ngModule)instanceof Ys?i:i?.injector;o&&null!==this.componentDef.getStandaloneInjector&&(o=this.componentDef.getStandaloneInjector(o)||o);const u=o?new Ly(t,o):t,p=u.get(Zd,null);if(null===p)throw new Se(407,!1);const v=u.get(C_,null),S=p.createRenderer(null,this.componentDef),B=this.componentDef.selectors[0][0]||"div",q=r?function hy(e,t,n){return e.selectRootElement(t,n===Bt.ShadowDom)}(S,r,this.componentDef.encapsulation):rc(S,B,function Ny(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(B)),we=this.componentDef.onPush?288:272,Ue=Lc(0,null,null,1,0,null,null,null,null,null),tt=pl(null,Ue,null,we,null,null,p,S,v,u,null);let dt,Ct;sr(tt);try{const Lt=this.componentDef;let an,ct=null;Lt.findHostDirectiveDefs?(an=[],ct=new Map,Lt.findHostDirectiveDefs(Lt,an,ct),an.push(Lt)):an=[Lt];const pn=function Uy(e,t){const n=e[1];return e[22]=t,_a(n,22,2,"#host",null)}(tt,q),Ar=function Hy(e,t,n,r,i,o,u,p){const v=i[1];!function jy(e,t,n,r){for(const i of e)t.mergedAttrs=lr(t.mergedAttrs,i.hostAttrs);null!==t.mergedAttrs&&(yl(t,t.mergedAttrs,!0),null!==n&&Cd(r,n,t))}(r,e,t,u);const S=o.createRenderer(t,n),B=pl(i,Ef(n),null,n.onPush?32:16,i[e.index],e,o,S,p||null,null,null);return v.firstCreatePass&&Uc(v,e,r.length-1),ml(i,B),i[e.index]=B}(pn,q,Lt,an,tt,p,S);Ct=Zi(Ue,22),q&&function Vy(e,t,n,r){if(r)pi(e,n,["ng-version",Xd.full]);else{const{attrs:i,classes:o}=function z_(e){const t=[],n=[];let r=1,i=2;for(;r<e.length;){let o=e[r];if("string"==typeof o)2===i?""!==o&&t.push(o,e[++r]):8===i&&n.push(o);else{if(!Yo(i))break;i=o}r++}return{attrs:t,classes:n}}(t.selectors[0]);i&&pi(e,n,i),o&&o.length>0&&Ed(e,n,o.join(" "))}}(S,Lt,q,r),void 0!==n&&function zy(e,t,n){const r=e.projection=[];for(let i=0;i<t.length;i++){const o=n[i];r.push(null!=o?Array.from(o):null)}}(Ct,this.ngContentSelectors,n),dt=function $y(e,t,n,r,i,o){const u=vr(),p=i[1],v=yr(u,i);If(p,i,u,n,null,r);for(let B=0;B<n.length;B++)Bi(Je(i,p,u.directiveStart+B,u),i);Sf(p,i,u),v&&Bi(v,i);const S=Je(i,p,u.directiveStart+u.componentOffset,u);if(e[8]=i[8]=S,null!==o)for(const B of o)B(S,t);return Fc(p,u,e),S}(Ar,Lt,an,ct,tt,[Gy]),Rc(Ue,tt,null)}finally{bs()}return new By(this.componentType,dt,ha(Ct,tt),tt,Ct)}}class By extends m_{constructor(t,n,r,i,o){super(),this.location=r,this._rootLView=i,this._tNode=o,this.instance=n,this.hostView=this.changeDetectorRef=new ky(i),this.componentType=t}setInput(t,n){const r=this._tNode.inputs;let i;if(null!==r&&(i=r[t])){const o=this._rootLView;zc(o[1],o,i,t,n),Mf(o,this._tNode.index)}}get injector(){return new Yt(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function Gy(){const e=vr();Eo(Qe()[1],e)}function Gc(e){let t=function Nf(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let i;if(Rr(e))i=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Se(903,!1);i=t.\u0275dir}if(i){if(n){r.push(i);const u=e;u.inputs=Wc(e.inputs),u.declaredInputs=Wc(e.declaredInputs),u.outputs=Wc(e.outputs);const p=i.hostBindings;p&&Zy(e,p);const v=i.viewQuery,S=i.contentQueries;if(v&&Ky(e,v),S&&Yy(e,S),oe(e.inputs,i.inputs),oe(e.declaredInputs,i.declaredInputs),oe(e.outputs,i.outputs),Rr(i)&&i.data.animation){const B=e.data;B.animation=(B.animation||[]).concat(i.data.animation)}}const o=i.features;if(o)for(let u=0;u<o.length;u++){const p=o[u];p&&p.ngInherit&&p(e),p===Gc&&(n=!1)}}t=Object.getPrototypeOf(t)}!function Wy(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const i=e[r];i.hostVars=t+=i.hostVars,i.hostAttrs=lr(i.hostAttrs,n=lr(n,i.hostAttrs))}}(r)}function Wc(e){return e===ye?{}:e===x?[]:e}function Ky(e,t){const n=e.viewQuery;e.viewQuery=n?(r,i)=>{t(r,i),n(r,i)}:t}function Yy(e,t){const n=e.contentQueries;e.contentQueries=n?(r,i,o)=>{t(r,i,o),n(r,i,o)}:t}function Zy(e,t){const n=e.hostBindings;e.hostBindings=n?(r,i)=>{t(r,i),n(r,i)}:t}let bl=null;function Qs(){if(!bl){const e=Ot.Symbol;if(e&&e.iterator)bl=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;n<t.length;++n){const r=t[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(bl=r)}}}return bl}function Dl(e){return!!Kc(e)&&(Array.isArray(e)||!(e instanceof Map)&&Qs()in e)}function Kc(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function hs(e,t,n){return e[t]=n}function Wa(e,t){return e[t]}function Ui(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Xs(e,t,n,r){const i=Ui(e,t,n);return Ui(e,t+1,r)||i}function Lo(e,t,n,r,i,o){const u=Xs(e,t,n,r);return Xs(e,t+2,i,o)||u}function Yc(e,t,n,r){const i=Qe();return Ui(i,$r(),t)&&(fn(),fs(Qn(),i,e,t,n,r)),Yc}function va(e,t,n,r){return Ui(e,$r(),n)?t+Pe(n)+r:mn}function ba(e,t,n,r,i,o){const p=Xs(e,function zn(){return Wt.lFrame.bindingIndex}(),n,i);return Vr(2),p?t+Pe(n)+r+Pe(i)+o:mn}function Zf(e,t,n,r,i,o,u,p){const v=Qe(),S=fn(),B=e+22,q=S.firstCreatePass?function ov(e,t,n,r,i,o,u,p,v){const S=t.consts,B=_a(t,e,4,u||null,ci(S,p));Bc(t,n,B,ci(S,v)),Eo(t,B);const q=B.tViews=Lc(2,B,r,i,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,S);return null!==t.queries&&(t.queries.template(t,B),q.queries=t.queries.embeddedTView(B)),B}(B,S,v,t,n,r,i,o,u):S.data[B];jr(q,!1);const we=v[11].createComment("");ol(S,v,we,q),Bi(we,v),ml(v,v[B]=Af(we,v,we,q)),Gi(q)&&kc(S,v,q),null!=u&&Nc(v,q,p)}function Qf(e){return Yr(function zo(){return Wt.lFrame.contextLView}(),22+e)}function Zc(e,t,n){const r=Qe();return Ui(r,$r(),t)&&Mo(fn(),Qn(),r,e,t,r[11],n,!1),Zc}function Qc(e,t,n,r,i){const u=i?"class":"style";zc(e,n,t.inputs[u],u,r)}function Cl(e,t,n,r){const i=Qe(),o=fn(),u=22+e,p=i[11],v=i[u]=rc(p,t,function ws(){return Wt.lFrame.currentNamespace}()),S=o.firstCreatePass?function av(e,t,n,r,i,o,u){const p=t.consts,S=_a(t,e,2,i,ci(p,o));return Bc(t,n,S,ci(p,u)),null!==S.attrs&&yl(S,S.attrs,!1),null!==S.mergedAttrs&&yl(S,S.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,S),S}(u,o,i,0,t,n,r):o.data[u];return jr(S,!0),Cd(p,v,S),32!=(32&S.flags)&&ol(o,i,v,S),0===function xo(){return Wt.lFrame.elementDepthCount}()&&Bi(v,i),function xs(){Wt.lFrame.elementDepthCount++}(),Gi(S)&&(kc(o,i,S),Fc(o,S,i)),null!==r&&Nc(i,S),Cl}function wl(){let e=vr();Po()?Vo():(e=e.parent,jr(e,!1));const t=e;!function jo(){Wt.lFrame.elementDepthCount--}();const n=fn();return n.firstCreatePass&&(Eo(n,e),qr(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function un(e){return 0!=(8&e.flags)}(t)&&Qc(n,t,Qe(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function ar(e){return 0!=(16&e.flags)}(t)&&Qc(n,t,Qe(),t.stylesWithoutHost,!1),wl}function Xc(e,t,n,r){return Cl(e,t,n,r),wl(),Xc}function Tl(e,t,n){const r=Qe(),i=fn(),o=e+22,u=i.firstCreatePass?function lv(e,t,n,r,i){const o=t.consts,u=ci(o,r),p=_a(t,e,8,"ng-container",u);return null!==u&&yl(p,u,!0),Bc(t,n,p,ci(o,i)),null!==t.queries&&t.queries.elementStart(t,p),p}(o,i,r,t,n):i.data[o];jr(u,!0);const p=r[o]=r[11].createComment("");return ol(i,r,p,u),Bi(p,r),Gi(u)&&(kc(i,r,u),Fc(i,u,r)),null!=n&&Nc(r,u),Tl}function Ml(){let e=vr();const t=fn();return Po()?Vo():(e=e.parent,jr(e,!1)),t.firstCreatePass&&(Eo(t,e),qr(e)&&t.queries.elementEnd(e)),Ml}function Jc(e,t,n){return Tl(e,t,n),Ml(),Jc}function Xf(){return Qe()}function qc(e){return!!e&&"function"==typeof e.then}function Jf(e){return!!e&&"function"==typeof e.subscribe}const qf=Jf;function eu(e,t,n,r){const i=Qe(),o=fn(),u=vr();return eh(o,i,i[11],u,e,t,r),eu}function tu(e,t){const n=vr(),r=Qe(),i=fn();return eh(i,r,Pf(Pi(i.data),n,r),n,e,t),tu}function eh(e,t,n,r,i,o,u){const p=Gi(r),S=e.firstCreatePass&&Of(e),B=t[8],q=xf(t);let we=!0;if(3&r.type||u){const dt=yr(r,t),Ct=u?u(dt):dt,Lt=q.length,an=u?pn=>u(xn(pn[r.index])):r.index;let ct=null;if(!u&&p&&(ct=function cv(e,t,n,r){const i=e.cleanup;if(null!=i)for(let o=0;o<i.length-1;o+=2){const u=i[o];if(u===n&&i[o+1]===r){const p=t[7],v=i[o+2];return p.length>v?p[v]:null}"string"==typeof u&&(o+=2)}return null}(e,t,i,r.index)),null!==ct)(ct.__ngLastListenerFn__||ct).__ngNextListenerFn__=o,ct.__ngLastListenerFn__=o,we=!1;else{o=nh(r,t,B,o,!1);const pn=n.listen(Ct,i,o);q.push(o,pn),S&&S.push(i,an,Lt,Lt+1)}}else o=nh(r,t,B,o,!1);const Ue=r.outputs;let tt;if(we&&null!==Ue&&(tt=Ue[i])){const dt=tt.length;if(dt)for(let Ct=0;Ct<dt;Ct+=2){const Ar=t[tt[Ct]][tt[Ct+1]].subscribe(o),Xr=q.length;q.push(o,Ar),S&&S.push(i,r.index,Xr,-(Xr+1))}}}function th(e,t,n,r){try{return!1!==n(r)}catch(i){return Rf(e,i),!1}}function nh(e,t,n,r,i){return function o(u){if(u===Function)return r;$c(e.componentOffset>-1?Nr(e.index,t):t);let v=th(t,0,r,u),S=o.__ngNextListenerFn__;for(;S;)v=th(t,0,S,u)&&v,S=S.__ngNextListenerFn__;return i&&!1===v&&(u.preventDefault(),u.returnValue=!1),v}}function rh(e=1){return function Ds(e){return(Wt.lFrame.contextLView=function qi(e,t){for(;e>0;)t=t[15],e--;return t}(e,Wt.lFrame.contextLView))[8]}(e)}function uv(e,t){let n=null;const r=function B_(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(!(1&n))return t[n+1]}return null}(e);for(let i=0;i<t.length;i++){const o=t[i];if("*"!==o){if(null===r?nf(e,o,!0):j_(r,o))return i}else n=i}return n}function ih(e){const t=Qe()[16][6];if(!t.projection){const r=t.projection=w(e?e.length:1,null),i=r.slice();let o=t.child;for(;null!==o;){const u=e?uv(o,e):0;null!==u&&(i[u]?i[u].projectionNext=o:r[u]=o,i[u]=o),o=o.next}}}function oh(e,t=0,n){const r=Qe(),i=fn(),o=_a(i,22+e,16,null,n||null);null===o.projection&&(o.projection=t),Vo(),32!=(32&o.flags)&&function Im(e,t,n){Dd(t[11],0,t,n,fd(e,n,t),md(n.parent||t[6],n,t))}(i,r,o)}function nu(e,t,n){return ru(e,"",t,"",n),nu}function ru(e,t,n,r,i){const o=Qe(),u=va(o,t,n,r);return u!==mn&&Mo(fn(),Qn(),o,e,u,o[11],i,!1),ru}function iu(e,t,n,r,i,o,u){const p=Qe(),v=ba(p,t,n,r,i,o);return v!==mn&&Mo(fn(),Qn(),p,e,v,p[11],u,!1),iu}function Il(e,t){return e<<17|t<<2}function js(e){return e>>17&32767}function ou(e){return 2|e}function Js(e){return(131068&e)>>2}function su(e,t){return-131069&e|t<<2}function au(e){return 1|e}function hh(e,t,n,r,i){const o=e[n+1],u=null===t;let p=r?js(o):Js(o),v=!1;for(;0!==p&&(!1===v||u);){const B=e[p+1];mv(e[p],t)&&(v=!0,e[p+1]=r?au(B):ou(B)),p=r?js(B):Js(B)}v&&(e[n+1]=r?ou(o):au(o))}function mv(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&yn(e,t)>=0}const di={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function ph(e){return e.substring(di.key,di.keyEnd)}function gh(e,t){const n=di.textEnd;return n===t?-1:(t=di.keyEnd=function bv(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,di.key=t,n),Ia(e,t,n))}function Ia(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function lu(e,t,n){return Zo(e,t,n,!1),lu}function cu(e,t){return Zo(e,t,null,!0),cu}function bh(e){Qo(_t,gs,e,!0)}function gs(e,t){for(let n=function yv(e){return function _h(e){di.key=0,di.keyEnd=0,di.value=0,di.valueEnd=0,di.textEnd=e.length}(e),gh(e,Ia(e,0,di.textEnd))}(t);n>=0;n=gh(t,n))_t(e,ph(t),!0)}function Zo(e,t,n,r){const i=Qe(),o=fn(),u=Vr(2);o.firstUpdatePass&&Eh(o,e,u,r),t!==mn&&Ui(i,u,t)&&wh(o,o.data[Lr()],i,i[11],e,i[u+1]=function xv(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=ee(Ts(e)))),e}(t,n),r,u)}function Qo(e,t,n,r){const i=fn(),o=Vr(2);i.firstUpdatePass&&Eh(i,null,o,r);const u=Qe();if(n!==mn&&Ui(u,o,n)){const p=i.data[Lr()];if(Mh(p,r)&&!Dh(i,o)){let v=r?p.classesWithoutHost:p.stylesWithoutHost;null!==v&&(n=Q(v,n||"")),Qc(i,p,u,n,r)}else!function Av(e,t,n,r,i,o,u,p){i===mn&&(i=x);let v=0,S=0,B=0<i.length?i[0]:null,q=0<o.length?o[0]:null;for(;null!==B||null!==q;){const we=v<i.length?i[v+1]:void 0,Ue=S<o.length?o[S+1]:void 0;let dt,tt=null;B===q?(v+=2,S+=2,we!==Ue&&(tt=q,dt=Ue)):null===q||null!==B&&B<q?(v+=2,tt=B):(S+=2,tt=q,dt=Ue),null!==tt&&wh(e,t,n,r,tt,dt,u,p),B=v<i.length?i[v]:null,q=S<o.length?o[S]:null}}(i,p,u,u[11],u[o+1],u[o+1]=function Sv(e,t,n){if(null==n||""===n)return x;const r=[],i=Ts(n);if(Array.isArray(i))for(let o=0;o<i.length;o++)e(r,i[o],!0);else if("object"==typeof i)for(const o in i)i.hasOwnProperty(o)&&e(r,o,i[o]);else"string"==typeof i&&t(r,i);return r}(e,t,n),r,o)}}function Dh(e,t){return t>=e.expandoStartIndex}function Eh(e,t,n,r){const i=e.data;if(null===i[n+1]){const o=i[Lr()],u=Dh(e,n);Mh(o,r)&&null===t&&!u&&(t=!1),t=function wv(e,t,n,r){const i=Pi(e);let o=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(n=Ka(n=uu(null,e,t,n,r),t.attrs,r),o=null);else{const u=t.directiveStylingLast;if(-1===u||e[u]!==i)if(n=uu(i,e,t,n,r),null===o){let v=function Tv(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==Js(r))return e[js(r)]}(e,t,r);void 0!==v&&Array.isArray(v)&&(v=uu(null,e,t,v[1],r),v=Ka(v,t.attrs,r),function Mv(e,t,n,r){e[js(n?t.classBindings:t.styleBindings)]=r}(e,t,r,v))}else o=function Iv(e,t,n){let r;const i=t.directiveEnd;for(let o=1+t.directiveStylingLast;o<i;o++)r=Ka(r,e[o].hostAttrs,n);return Ka(r,t.attrs,n)}(e,t,r)}return void 0!==o&&(r?t.residualClasses=o:t.residualStyles=o),n}(i,o,t,r),function pv(e,t,n,r,i,o){let u=o?t.classBindings:t.styleBindings,p=js(u),v=Js(u);e[r]=n;let B,S=!1;if(Array.isArray(n)?(B=n[1],(null===B||yn(n,B)>0)&&(S=!0)):B=n,i)if(0!==v){const we=js(e[p+1]);e[r+1]=Il(we,p),0!==we&&(e[we+1]=su(e[we+1],r)),e[p+1]=function fv(e,t){return 131071&e|t<<17}(e[p+1],r)}else e[r+1]=Il(p,0),0!==p&&(e[p+1]=su(e[p+1],r)),p=r;else e[r+1]=Il(v,0),0===p?p=r:e[v+1]=su(e[v+1],r),v=r;S&&(e[r+1]=ou(e[r+1])),hh(e,B,r,!0),hh(e,B,r,!1),function gv(e,t,n,r,i){const o=i?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof t&&yn(o,t)>=0&&(n[r+1]=au(n[r+1]))}(t,B,e,r,o),u=Il(p,v),o?t.classBindings=u:t.styleBindings=u}(i,o,t,n,u,r)}}function uu(e,t,n,r,i){let o=null;const u=n.directiveEnd;let p=n.directiveStylingLast;for(-1===p?p=n.directiveStart:p++;p<u&&(o=t[p],r=Ka(r,o.hostAttrs,i),o!==e);)p++;return null!==e&&(n.directiveStylingLast=p),r}function Ka(e,t,n){const r=n?1:2;let i=-1;if(null!==t)for(let o=0;o<t.length;o++){const u=t[o];"number"==typeof u?i=u:i===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),_t(e,u,!!n||t[++o]))}return void 0===e?null:e}function wh(e,t,n,r,i,o,u,p){if(!(3&t.type))return;const v=e.data,S=v[p+1],B=function hv(e){return 1==(1&e)}(S)?Th(v,t,n,i,Js(S),u):void 0;Sl(B)||(Sl(o)||function dv(e){return 2==(2&e)}(S)&&(o=Th(v,null,n,i,p,u)),function Am(e,t,n,r,i){if(t)i?e.addClass(n,r):e.removeClass(n,r);else{let o=-1===r.indexOf("-")?void 0:ds.DashCase;null==i?e.removeStyle(n,r,o):("string"==typeof i&&i.endsWith("!important")&&(i=i.slice(0,-10),o|=ds.Important),e.setStyle(n,r,i,o))}}(r,u,Kr(Lr(),n),i,o))}function Th(e,t,n,r,i,o){const u=null===t;let p;for(;i>0;){const v=e[i],S=Array.isArray(v),B=S?v[1]:v,q=null===B;let we=n[i+1];we===mn&&(we=q?x:void 0);let Ue=q?St(we,r):B===r?we:void 0;if(S&&!Sl(Ue)&&(Ue=St(v,r)),Sl(Ue)&&(p=Ue,u))return p;const tt=e[i+1];i=u?js(tt):Js(tt)}if(null!==t){let v=o?t.residualClasses:t.residualStyles;null!=v&&(p=St(v,r))}return p}function Sl(e){return void 0!==e}function Mh(e,t){return 0!=(e.flags&(t?8:16))}function Ih(e,t=""){const n=Qe(),r=fn(),i=e+22,o=r.firstCreatePass?_a(r,i,1,t,null):r.data[i],u=n[i]=function nc(e,t){return e.createText(t)}(n[11],t);ol(r,n,u,o),jr(o,!1)}function du(e){return Al("",e,""),du}function Al(e,t,n){const r=Qe(),i=va(r,e,t,n);return i!==mn&&Ss(r,Lr(),i),Al}function fu(e,t,n,r,i){const o=Qe(),u=ba(o,e,t,n,r,i);return u!==mn&&Ss(o,Lr(),u),fu}function kh(e,t,n){Qo(_t,gs,va(Qe(),e,t,n),!0)}function hu(e,t,n){const r=Qe();return Ui(r,$r(),t)&&Mo(fn(),Qn(),r,e,t,r[11],n,!0),hu}function pu(e,t,n){const r=Qe();if(Ui(r,$r(),t)){const o=fn(),u=Qn();Mo(o,u,r,e,t,Pf(Pi(o.data),u,r),n,!0)}return pu}const qs=void 0;var Zv=["en",[["a","p"],["AM","PM"],qs],[["AM","PM"],qs,qs],[["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"]],qs,[["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"]],qs,[["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}",qs,"{1} 'at' {0}",qs],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function Yv(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let Sa={};function gu(e){const t=function Qv(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Wh(t);if(n)return n;const r=t.split("-")[0];if(n=Wh(r),n)return n;if("en"===r)return Zv;throw new Se(701,!1)}function Gh(e){return gu(e)[on.PluralCase]}function Wh(e){return e in Sa||(Sa[e]=Ot.ng&&Ot.ng.common&&Ot.ng.common.locales&&Ot.ng.common.locales[e]),Sa[e]}var on=(()=>((on=on||{})[on.LocaleId=0]="LocaleId",on[on.DayPeriodsFormat=1]="DayPeriodsFormat",on[on.DayPeriodsStandalone=2]="DayPeriodsStandalone",on[on.DaysFormat=3]="DaysFormat",on[on.DaysStandalone=4]="DaysStandalone",on[on.MonthsFormat=5]="MonthsFormat",on[on.MonthsStandalone=6]="MonthsStandalone",on[on.Eras=7]="Eras",on[on.FirstDayOfWeek=8]="FirstDayOfWeek",on[on.WeekendRange=9]="WeekendRange",on[on.DateFormat=10]="DateFormat",on[on.TimeFormat=11]="TimeFormat",on[on.DateTimeFormat=12]="DateTimeFormat",on[on.NumberSymbols=13]="NumberSymbols",on[on.NumberFormats=14]="NumberFormats",on[on.CurrencyCode=15]="CurrencyCode",on[on.CurrencySymbol=16]="CurrencySymbol",on[on.CurrencyName=17]="CurrencyName",on[on.Currencies=18]="Currencies",on[on.Directionality=19]="Directionality",on[on.PluralCase=20]="PluralCase",on[on.ExtraData=21]="ExtraData",on))();const Aa="en-US";let Kh=Aa;function yu(e,t,n,r,i){if(e=W(e),Array.isArray(e))for(let o=0;o<e.length;o++)yu(e[o],t,n,r,i);else{const o=fn(),u=Qe();let p=Ks(e)?e:W(e.provide),v=Wd(e);const S=vr(),B=1048575&S.providerIndexes,q=S.directiveStart,we=S.providerIndexes>>20;if(Ks(e)||!e.multi){const Ue=new Ge(v,i,ma),tt=bu(p,t,i?B:B+we,q);-1===tt?(a(ko(S,u),o,p),vu(o,e,t.length),t.push(p),S.directiveStart++,S.directiveEnd++,i&&(S.providerIndexes+=1048576),n.push(Ue),u.push(Ue)):(n[tt]=Ue,u[tt]=Ue)}else{const Ue=bu(p,t,B+we,q),tt=bu(p,t,B,B+we),Ct=tt>=0&&n[tt];if(i&&!Ct||!i&&!(Ue>=0&&n[Ue])){a(ko(S,u),o,p);const Lt=function Kb(e,t,n,r,i){const o=new Ge(e,n,ma);return o.multi=[],o.index=t,o.componentProviders=0,yp(o,i,r&&!n),o}(i?Wb:Gb,n.length,i,r,v);!i&&Ct&&(n[tt].providerFactory=Lt),vu(o,e,t.length,0),t.push(p),S.directiveStart++,S.directiveEnd++,i&&(S.providerIndexes+=1048576),n.push(Lt),u.push(Lt)}else vu(o,e,Ue>-1?Ue:tt,yp(n[i?tt:Ue],v,!i&&r));!i&&r&&Ct&&n[tt].componentProviders++}}}function vu(e,t,n,r){const i=Ks(t),o=function c_(e){return!!e.useClass}(t);if(i||o){const v=(o?W(t.useClass):t).prototype.ngOnDestroy;if(v){const S=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){const B=S.indexOf(n);-1===B?S.push(n,[r,v]):S[B+1].push(r,v)}else S.push(n,v)}}}function yp(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function bu(e,t,n,r){for(let i=n;i<r;i++)if(t[i]===e)return i;return-1}function Gb(e,t,n,r){return Du(this.multi,[])}function Wb(e,t,n,r){const i=this.multi;let o;if(this.providerFactory){const u=this.providerFactory.componentProviders,p=Je(n,n[1],this.providerFactory.index,r);o=p.slice(0,u),Du(i,o);for(let v=u;v<p.length;v++)o.push(p[v])}else o=[],Du(i,o);return o}function Du(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function vp(e,t=[]){return n=>{n.providersResolver=(r,i)=>function zb(e,t,n){const r=fn();if(r.firstCreatePass){const i=Rr(e);yu(n,r.data,r.blueprint,i,!0),yu(t,r.data,r.blueprint,i,!1)}}(r,i?i(e):e,t)}}class xa{}class bp{}function Yb(e,t){return new Dp(e,t??null)}class Dp extends xa{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Ff(this);const r=tr(t);this._bootstrapComponents=Is(r.bootstrap),this._r3Injector=ff(t,n,[{provide:xa,useValue:this},{provide:Ha,useValue:this.componentFactoryResolver}],ee(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}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 Eu extends bp{constructor(t){super(),this.moduleType=t}create(t){return new Dp(this.moduleType,t)}}class Zb extends xa{constructor(t,n,r){super(),this.componentFactoryResolver=new Ff(this),this.instance=null;const i=new Gd([...t,{provide:xa,useValue:this},{provide:Ha,useValue:this.componentFactoryResolver}],n||fl(),r,new Set(["environment"]));this.injector=i,i.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Cu(e,t,n=null){return new Zb(e,t,n).injector}let Qb=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n.id)){const r=jd(0,n.type),i=r.length>0?Cu([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n.id,i)}return this.cachedInjectors.get(n.id)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}}return e.\u0275prov=rt({token:e,providedIn:"environment",factory:()=>new e(lt(Ys))}),e})();function Ep(e){e.getStandaloneInjector=t=>t.get(Qb).getOrCreateStandaloneInjector(e)}function Ap(e,t,n){const r=Mr()+e,i=Qe();return i[r]===mn?hs(i,r,n?t.call(n):t()):Wa(i,r)}function xp(e,t,n,r){return kp(Qe(),Mr(),e,t,n,r)}function Op(e,t,n,r,i){return Np(Qe(),Mr(),e,t,n,r,i)}function Pp(e,t,n,r,i,o){return function Lp(e,t,n,r,i,o,u,p){const v=t+n;return function El(e,t,n,r,i){const o=Xs(e,t,n,r);return Ui(e,t+2,i)||o}(e,v,i,o,u)?hs(e,v+3,p?r.call(p,i,o,u):r(i,o,u)):qa(e,v+3)}(Qe(),Mr(),e,t,n,r,i,o)}function Rp(e,t,n,r,i,o,u){return function Bp(e,t,n,r,i,o,u,p,v){const S=t+n;return Lo(e,S,i,o,u,p)?hs(e,S+4,v?r.call(v,i,o,u,p):r(i,o,u,p)):qa(e,S+4)}(Qe(),Mr(),e,t,n,r,i,o,u)}function Fp(e,t,n,r,i,o,u,p){const v=Mr()+e,S=Qe(),B=Lo(S,v,n,r,i,o);return Ui(S,v+4,u)||B?hs(S,v+5,p?t.call(p,n,r,i,o,u):t(n,r,i,o,u)):Wa(S,v+5)}function qa(e,t){const n=e[t];return n===mn?void 0:n}function kp(e,t,n,r,i,o){const u=t+n;return Ui(e,u,i)?hs(e,u+1,o?r.call(o,i):r(i)):qa(e,u+1)}function Np(e,t,n,r,i,o,u){const p=t+n;return Xs(e,p,i,o)?hs(e,p+2,u?r.call(u,i,o):r(i,o)):qa(e,p+2)}function Hp(e,t){const n=fn();let r;const i=e+22;n.firstCreatePass?(r=function u0(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[i]=r,r.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(i,r.onDestroy)):r=n.data[i];const o=r.factory||(r.factory=rr(r.type)),u=gn(ma);try{const p=ss(!1),v=o();return ss(p),function sv(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,Qe(),i,v),v}finally{gn(u)}}function jp(e,t,n){const r=e+22,i=Qe(),o=Yr(i,r);return el(i,r)?kp(i,Mr(),t,o.transform,n,o):o.transform(n)}function $p(e,t,n,r){const i=e+22,o=Qe(),u=Yr(o,i);return el(o,i)?Np(o,Mr(),t,u.transform,n,r,u):u.transform(n,r)}function el(e,t){return e[1].data[t].pure}function Tu(e){return t=>{setTimeout(e,void 0,t)}}const ms=class p0 extends s.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let i=t,o=n||(()=>null),u=r;if(t&&"object"==typeof t){const v=t;i=v.next?.bind(v),o=v.error?.bind(v),u=v.complete?.bind(v)}this.__isAsync&&(o=Tu(o),i&&(i=Tu(i)),u&&(u=Tu(u)));const p=super.subscribe({next:i,error:o,complete:u});return t instanceof f.w0&&t.add(p),p}};function g0(){return this._results[Qs()]()}class Fl{get changes(){return this._changes||(this._changes=new ms)}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const n=Qs(),r=Fl.prototype;r[n]||(r[n]=g0)}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){const r=this;r.dirty=!1;const i=function d(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function Bs(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let i=e[r],o=t[r];if(n&&(i=n(i),o=n(o)),o!==i)return!1}return!0}(r._results,i,n))&&(r._results=i,r.length=i.length,r.last=i[this.length-1],r.first=i[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}let tl=(()=>{class e{}return e.__NG_ELEMENT_ID__=y0,e})();const m0=tl,_0=class extends m0{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t,n){const r=this._declarationTContainer.tViews,i=pl(this._declarationLView,r,t,16,null,r.declTNode,null,null,null,null,n||null);i[17]=this._declarationLView[this._declarationTContainer.index];const u=this._declarationLView[19];return null!==u&&(i[19]=u.createEmbeddedView(r)),Rc(r,i,t),new za(i)}};function y0(){return kl(vr(),Qe())}function kl(e,t){return 4&e.type?new _0(t,e,ha(e,t)):null}let Nl=(()=>{class e{}return e.__NG_ELEMENT_ID__=v0,e})();function v0(){return Gp(vr(),Qe())}const b0=Nl,Vp=class extends b0{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return ha(this._hostTNode,this._hostLView)}get injector(){return new Yt(this._hostTNode,this._hostLView)}get parentInjector(){const t=E(this._hostTNode,this._hostLView);if(Co(t)){const n=os(t,this._hostLView),r=uo(t);return new Yt(n[1].data[r+8],n)}return new Yt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=zp(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){let i,o;"number"==typeof r?i=r:null!=r&&(i=r.index,o=r.injector);const u=t.createEmbeddedView(n||{},o);return this.insert(u,i),u}createComponent(t,n,r,i,o){const u=t&&!function No(e){return"function"==typeof e}(t);let p;if(u)p=n;else{const q=n||{};p=q.index,r=q.injector,i=q.projectableNodes,o=q.environmentInjector||q.ngModuleRef}const v=u?t:new Ga(_n(t)),S=r||this.parentInjector;if(!o&&null==v.ngModule){const we=(u?S:this.parentInjector).get(Ys,null);we&&(o=we)}const B=v.create(S,i,void 0,o);return this.insert(B.hostView,p),B}insert(t,n){const r=t._lView,i=r[1];if(function Ao(e){return Kn(e[3])}(r)){const B=this.indexOf(t);if(-1!==B)this.detach(B);else{const q=r[3],we=new Vp(q,q[6],q[3]);we.detach(we.indexOf(t))}}const o=this._adjustIndex(n),u=this._lContainer;!function Dm(e,t,n,r){const i=10+r,o=n.length;r>0&&(n[i-1][4]=t),r<o-10?(t[4]=n[i],c(n,10+r,t)):(n.push(t),t[4]=null),t[3]=n;const u=t[17];null!==u&&n!==u&&function Em(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(u,t);const p=t[19];null!==p&&p.insertView(e),t[2]|=64}(i,r,u,o);const p=ac(o,u),v=r[11],S=il(v,u[7]);return null!==S&&function ym(e,t,n,r,i,o){r[0]=i,r[6]=t,La(e,r,n,1,i,o)}(i,u[6],v,r,S,p),t.attachToViewContainerRef(),c(Mu(u),o,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=zp(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=ic(this._lContainer,n);r&&(m(Mu(this._lContainer),n),dd(r[1],r))}detach(t){const n=this._adjustIndex(t,-1),r=ic(this._lContainer,n);return r&&null!=m(Mu(this._lContainer),n)?new za(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function zp(e){return e[8]}function Mu(e){return e[8]||(e[8]=[])}function Gp(e,t){let n;const r=t[e.index];if(Kn(r))n=r;else{let i;if(8&e.type)i=xn(r);else{const o=t[11];i=o.createComment("");const u=yr(e,t);zs(o,il(o,u),i,function Mm(e,t){return e.nextSibling(t)}(o,u),!1)}t[e.index]=n=Af(r,t,i,e),ml(t,n)}return new Vp(n,e,t)}class Iu{constructor(t){this.queryList=t,this.matches=null}clone(){return new Iu(this.queryList)}setDirty(){this.queryList.setDirty()}}class Su{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,i=[];for(let o=0;o<r;o++){const u=n.getByIndex(o);i.push(this.queries[u.indexInDeclarationView].clone())}return new Su(i)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==eg(t,n).matches&&this.queries[n].setDirty()}}class Wp{constructor(t,n,r=null){this.predicate=t,this.flags=n,this.read=r}}class Au{constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){const i=null!==n?n.length:0,o=this.getByIndex(r).embeddedTView(t,i);o&&(o.indexInDeclarationView=r,null!==n?n.push(o):n=[o])}return null!==n?new Au(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class xu{constructor(t,n=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new xu(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const n=this._declarationNodeIndex;let r=t.parent;for(;null!==r&&8&r.type&&r.index!==n;)r=r.parent;return n===(null!==r?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const r=this.metadata.predicate;if(Array.isArray(r))for(let i=0;i<r.length;i++){const o=r[i];this.matchTNodeWithReadOption(t,n,D0(n,o)),this.matchTNodeWithReadOption(t,n,Be(n,t,o,!1,!1))}else r===tl?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Be(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const i=this.metadata.read;if(null!==i)if(i===ja||i===Nl||i===tl&&4&n.type)this.addMatch(n.index,-2);else{const o=Be(n,t,i,!1,!1);null!==o&&this.addMatch(n.index,o)}else this.addMatch(n.index,r)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function D0(e,t){const n=e.localNames;if(null!==n)for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1];return null}function C0(e,t,n,r){return-1===n?function E0(e,t){return 11&e.type?ha(e,t):4&e.type?kl(e,t):null}(t,e):-2===n?function w0(e,t,n){return n===ja?ha(t,e):n===tl?kl(t,e):n===Nl?Gp(t,e):void 0}(e,t,r):Je(e,e[1],n,t)}function Kp(e,t,n,r){const i=t[19].queries[r];if(null===i.matches){const o=e.data,u=n.matches,p=[];for(let v=0;v<u.length;v+=2){const S=u[v];p.push(S<0?null:C0(t,o[S],u[v+1],n.metadata.read))}i.matches=p}return i.matches}function Ou(e,t,n,r){const i=e.queries.getByIndex(n),o=i.matches;if(null!==o){const u=Kp(e,t,i,n);for(let p=0;p<o.length;p+=2){const v=o[p];if(v>0)r.push(u[p/2]);else{const S=o[p+1],B=t[-v];for(let q=10;q<B.length;q++){const we=B[q];we[17]===we[3]&&Ou(we[1],we,S,r)}if(null!==B[9]){const q=B[9];for(let we=0;we<q.length;we++){const Ue=q[we];Ou(Ue[1],Ue,S,r)}}}}}return r}function Yp(e){const t=Qe(),n=fn(),r=Go();Ri(r+1);const i=eg(n,r);if(e.dirty&&function Ho(e){return 4==(4&e[2])}(t)===(2==(2&i.metadata.flags))){if(null===i.matches)e.reset([]);else{const o=i.crossesNgTemplate?Ou(n,t,r,[]):Kp(n,t,i,r);e.reset(o,b_),e.notifyOnChanges()}return!0}return!1}function Zp(e,t,n){const r=fn();r.firstCreatePass&&(qp(r,new Wp(e,t,n),-1),2==(2&t)&&(r.staticViewQueries=!0)),Jp(r,Qe(),t)}function Qp(e,t,n,r){const i=fn();if(i.firstCreatePass){const o=vr();qp(i,new Wp(t,n,r),o.index),function M0(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(i,e),2==(2&n)&&(i.staticContentQueries=!0)}Jp(i,Qe(),n)}function Xp(){return function T0(e,t){return e[19].queries[t].queryList}(Qe(),Go())}function Jp(e,t,n){const r=new Fl(4==(4&n));Cf(e,t,r,r.destroy),null===t[19]&&(t[19]=new Su),t[19].queries.push(new Iu(r))}function qp(e,t,n){null===e.queries&&(e.queries=new Au),e.queries.track(new xu(t,n))}function eg(e,t){return e.queries.getByIndex(t)}function tg(e,t){return kl(e,t)}function Bl(...e){}const bg=new Un("Application Initializer");let Ul=(()=>{class e{constructor(n){this.appInits=n,this.resolve=Bl,this.reject=Bl,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,i)=>{this.resolve=r,this.reject=i})}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let i=0;i<this.appInits.length;i++){const o=this.appInits[i]();if(qc(o))n.push(o);else if(qf(o)){const u=new Promise((p,v)=>{o.subscribe({complete:p,error:v})});n.push(u)}}Promise.all(n).then(()=>{r()}).catch(i=>{this.reject(i)}),0===n.length&&r(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(lt(bg,8))},e.\u0275prov=rt({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Dg=new Un("AppId",{providedIn:"root",factory:function Eg(){return`${Nu()}${Nu()}${Nu()}`}});function Nu(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Cg=new Un("Platform Initializer"),W0=new Un("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),wg=new Un("appBootstrapListener"),K0=new Un("AnimationModuleType");let Y0=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=rt({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const Hl=new Un("LocaleId",{providedIn:"root",factory:()=>F(Hl,wt.Optional|wt.SkipSelf)||function Z0(){return typeof $localize<"u"&&$localize.locale||Aa}()}),Q0=new Un("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class X0{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let J0=(()=>{class e{compileModuleSync(n){return new Eu(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),o=Is(tr(n).declarations).reduce((u,p)=>{const v=_n(p);return v&&u.push(new Ga(v)),u},[]);return new X0(r,o)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=rt({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const tD=(()=>Promise.resolve(0))();function Lu(e){typeof Zone>"u"?tD.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Bo{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ms(!1),this.onMicrotaskEmpty=new ms(!1),this.onStable=new ms(!1),this.onError=new ms(!1),typeof Zone>"u")throw new Se(908,!1);Zone.assertZonePatched();const i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!r&&n,i.shouldCoalesceRunChangeDetection=r,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function nD(){let e=Ot.requestAnimationFrame,t=Ot.cancelAnimationFrame;if(typeof Zone<"u"&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function oD(e){const t=()=>{!function iD(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Ot,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Uu(e),e.isCheckStableRunning=!0,Bu(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Uu(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,i,o,u,p)=>{try{return Ig(e),n.invokeTask(i,o,u,p)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||e.shouldCoalesceRunChangeDetection)&&t(),Sg(e)}},onInvoke:(n,r,i,o,u,p,v)=>{try{return Ig(e),n.invoke(i,o,u,p,v)}finally{e.shouldCoalesceRunChangeDetection&&t(),Sg(e)}},onHasTask:(n,r,i,o)=>{n.hasTask(i,o),r===i&&("microTask"==o.change?(e._hasPendingMicrotasks=o.microTask,Uu(e),Bu(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(n,r,i,o)=>(n.handleError(i,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}(i)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Bo.isInAngularZone())throw new Se(909,!1)}static assertNotInAngularZone(){if(Bo.isInAngularZone())throw new Se(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,i){const o=this._inner,u=o.scheduleEventTask("NgZoneEvent: "+i,t,rD,Bl,Bl);try{return o.runTask(u,n,r)}finally{o.cancelTask(u)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const rD={};function Bu(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 Uu(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Ig(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Sg(e){e._nesting--,Bu(e)}class sD{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ms,this.onMicrotaskEmpty=new ms,this.onStable=new ms,this.onError=new ms}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,i){return t.apply(n,r)}}const Ag=new Un(""),xg=new Un("");let Hu,aD=(()=>{class e{constructor(n,r,i){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Hu||(function lD(e){Hu=e}(i),i.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Bo.assertNotInAngularZone(),Lu(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())Lu(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,i){let o=-1;r&&r>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(u=>u.timeoutId!==o),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:o,updateCb:i})}whenStable(n,r,i){if(i&&!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,r,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,i){return[]}}return e.\u0275fac=function(n){return new(n||e)(lt(Bo),lt(Og),lt(xg))},e.\u0275prov=rt({token:e,factory:e.\u0275fac}),e})(),Og=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}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,r=!0){return Hu?.findTestabilityInTree(this,n,r)??null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=rt({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})(),$s=null;const Pg=new Un("AllowMultipleToken"),ju=new Un("PlatformDestroyListeners");class dD{constructor(t,n){this.name=t,this.token=n}}function Fg(e,t,n=[]){const r=`Platform: ${t}`,i=new Un(r);return(o=[])=>{let u=$u();if(!u||u.injector.get(Pg,!1)){const p=[...n,...o,{provide:i,useValue:!0}];e?e(p):function fD(e){if($s&&!$s.get(Pg,!1))throw new Se(400,!1);$s=e;const t=e.get(Ng);(function Rg(e){const t=e.get(Cg,null);t&&t.forEach(n=>n())})(e)}(function kg(e=[],t){return Zs.create({name:t,providers:[{provide:Dc,useValue:"platform"},{provide:ju,useValue:new Set([()=>$s=null])},...e]})}(p,r))}return function pD(e){const t=$u();if(!t)throw new Se(401,!1);return t}()}}function $u(){return $s?.get(Ng)??null}let Ng=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const i=function Bg(e,t){let n;return n="noop"===e?new sD:("zone.js"===e?void 0:e)||new Bo(t),n}(r?.ngZone,function Lg(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(r)),o=[{provide:Bo,useValue:i}];return i.run(()=>{const u=Zs.create({providers:o,parent:this.injector,name:n.moduleType.name}),p=n.create(u),v=p.injector.get($a,null);if(!v)throw new Se(402,!1);return i.runOutsideAngular(()=>{const S=i.onError.subscribe({next:B=>{v.handleError(B)}});p.onDestroy(()=>{$l(this._modules,p),S.unsubscribe()})}),function Ug(e,t,n){try{const r=n();return qc(r)?r.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(v,i,()=>{const S=p.injector.get(Ul);return S.runInitializers(),S.donePromise.then(()=>(function Yh(e){It(e,"Expected localeId to be defined"),"string"==typeof e&&(Kh=e.toLowerCase().replace(/_/g,"-"))}(p.injector.get(Hl,Aa)||Aa),this._moduleDoBootstrap(p),p))})})}bootstrapModule(n,r=[]){const i=Hg({},r);return function cD(e,t,n){const r=new Eu(n);return Promise.resolve(r)}(0,0,n).then(o=>this.bootstrapModuleFactory(o,i))}_moduleDoBootstrap(n){const r=n.injector.get(jl);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(i=>r.bootstrap(i));else{if(!n.instance.ngDoBootstrap)throw new Se(-403,!1);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Se(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(ju,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(lt(Zs))},e.\u0275prov=rt({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function Hg(e,t){return Array.isArray(t)?t.reduce(Hg,e):{...e,...t}}let jl=(()=>{class e{get destroyed(){return this._destroyed}get injector(){return this._injector}constructor(n,r,i){this._zone=n,this._injector=r,this._exceptionHandler=i,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const o=new U.y(p=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{p.next(this._stable),p.complete()})}),u=new U.y(p=>{let v;this._zone.runOutsideAngular(()=>{v=this._zone.onStable.subscribe(()=>{Bo.assertNotInAngularZone(),Lu(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,p.next(!0))})})});const S=this._zone.onUnstable.subscribe(()=>{Bo.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{p.next(!1)}))});return()=>{v.unsubscribe(),S.unsubscribe()}});this.isStable=(0,K.T)(o,u.pipe((0,X.B)()))}bootstrap(n,r){const i=n instanceof Kd;if(!this._injector.get(Ul).done)throw!i&&qn(n),new Se(405,false);let u;u=i?n:this._injector.get(Ha).resolveComponentFactory(n),this.componentTypes.push(u.componentType);const p=function uD(e){return e.isBoundToModule}(u)?void 0:this._injector.get(xa),S=u.create(Zs.NULL,[],r||u.selector,p),B=S.location.nativeElement,q=S.injector.get(Ag,null);return q?.registerApplication(B),S.onDestroy(()=>{this.detachView(S.hostView),$l(this.components,S),q?.unregisterApplication(B)}),this._loadComponent(S),S}tick(){if(this._runningTick)throw new Se(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;$l(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(wg,[]);r.push(...this._bootstrapListeners),r.forEach(i=>i(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>$l(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new Se(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(n){return new(n||e)(lt(Bo),lt(Ys),lt($a))},e.\u0275prov=rt({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function $l(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function mD(){return!1}function _D(){}let yD=(()=>{class e{}return e.__NG_ELEMENT_ID__=vD,e})();function vD(e){return function bD(e,t,n){if(zi(e)&&!n){const r=Nr(e.index,t);return new za(r,r)}return 47&e.type?new za(t[16],t):null}(vr(),Qe(),16==(16&e))}class Gg{constructor(){}supports(t){return Dl(t)}create(t){return new MD(t)}}const TD=(e,t)=>t;class MD{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||TD}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,i=0,o=null;for(;n||r;){const u=!r||n&&n.currentIndex<Kg(r,i,o)?n:r,p=Kg(u,i,o),v=u.currentIndex;if(u===r)i--,r=r._nextRemoved;else if(n=n._next,null==u.previousIndex)i++;else{o||(o=[]);const S=p-i,B=v-i;if(S!=B){for(let we=0;we<S;we++){const Ue=we<o.length?o[we]:o[we]=0,tt=Ue+we;B<=tt&&tt<S&&(o[we]=Ue+1)}o[u.previousIndex]=B-S}}p!==v&&t(u,p,v)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!Dl(t))throw new Se(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let i,o,u,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let p=0;p<this.length;p++)o=t[p],u=this._trackByFn(p,o),null!==n&&Object.is(n.trackById,u)?(r&&(n=this._verifyReinsertion(n,o,u,p)),Object.is(n.item,o)||this._addIdentityChange(n,o)):(n=this._mismatch(n,o,u,p),r=!0),n=n._next}else i=0,function nv(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Qs()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,p=>{u=this._trackByFn(i,p),null!==n&&Object.is(n.trackById,u)?(r&&(n=this._verifyReinsertion(n,p,u,i)),Object.is(n.item,p)||this._addIdentityChange(n,p)):(n=this._mismatch(n,p,u,i),r=!0),n=n._next,i++}),this.length=i;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,i){let o;return null===t?o=this._itTail:(o=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,o,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,i))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,o,i)):t=this._addAfter(new ID(n,r),o,i),t}_verifyReinsertion(t,n,r,i){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==o?t=this._reinsertAfter(o,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}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(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const i=t._prevRemoved,o=t._nextRemoved;return null===i?this._removalsHead=o:i._nextRemoved=o,null===o?this._removalsTail=i:o._prevRemoved=i,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const i=null===n?this._itHead:n._next;return t._next=i,t._prev=n,null===i?this._itTail=t:i._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new Wg),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Wg),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class ID{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class SD{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class Wg{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new SD,this.map.set(n,r)),r.add(t)}get(t,n){const i=this.map.get(t);return i?i.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Kg(e,t,n){const r=e.previousIndex;if(null===r)return r;let i=0;return n&&r<n.length&&(i=n[r]),r+t+i}class Yg{constructor(){}supports(t){return t instanceof Map||Kc(t)}create(){return new AD}}class AD{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let n;for(n=this._mapHead;null!==n;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;null!==n;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;null!==n;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}diff(t){if(t){if(!(t instanceof Map||Kc(t)))throw new Se(900,!1)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,i)=>{if(n&&n.key===i)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const o=this._getOrCreateRecordForKey(i,r);n=this._insertBeforeOrAppend(n,o)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const i=this._records.get(t);this._maybeAddToChanges(i,n);const o=i._prev,u=i._next;return o&&(o._next=u),u&&(u._prev=o),i._next=null,i._prev=null,i}const r=new xD(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}}class xD{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function Zg(){return new Ku([new Gg])}let Ku=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(null!=r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Zg()),deps:[[e,new T,new aa]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(null!=r)return r;throw new Se(901,!1)}}return e.\u0275prov=rt({token:e,providedIn:"root",factory:Zg}),e})();function Qg(){return new Yu([new Yg])}let Yu=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Qg()),deps:[[e,new T,new aa]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(r)return r;throw new Se(901,!1)}}return e.\u0275prov=rt({token:e,providedIn:"root",factory:Qg}),e})();const RD=Fg(null,"core",[]);let FD=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(lt(jl))},e.\u0275mod=si({type:e}),e.\u0275inj=$t({}),e})();function kD(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}},3238:(it,Ce,D)=>{D.d(Ce,{yN:()=>Pe,mZ:()=>De,_A:()=>Ht,rD:()=>Ft,sG:()=>en,Ad:()=>qe,K7:()=>Re,HF:()=>ut,Y2:()=>gn,BQ:()=>ae,XK:()=>Ne,ey:()=>Pt,Ng:()=>lt,wG:()=>bn,si:()=>Hn,CB:()=>Tn,jH:()=>Zn,pj:()=>Z,Kr:()=>re,Id:()=>ge,FD:()=>me,dB:()=>We,sb:()=>Ie});var s=D(4650),f=D(7253),U=D(445),X=D(6895),J=D(3353),oe=D(1281),ee=D(9751),Q=D(7579),j=D(9521);const xe=["text"];function Te(ne,F){if(1&ne&&s._UZ(0,"mat-pseudo-checkbox",5),2&ne){const M=s.oxw();s.Q6J("state",M.selected?"checked":"unchecked")("disabled",M.disabled)}}function $e(ne,F){if(1&ne&&(s.TgZ(0,"span",6),s._uU(1),s.qZA()),2&ne){const M=s.oxw();s.xp6(1),s.hij("(",M.group.label,")")}}const Ye=[[["mat-icon"]],"*"],Se=["mat-icon","*"];let Pe=(()=>{class ne{}return ne.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",ne.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",ne.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",ne.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",ne})(),De=(()=>{class ne{}return ne.COMPLEX="375ms",ne.ENTERING="225ms",ne.EXITING="195ms",ne})();const H=new s.OlP("mat-sanity-checks",{providedIn:"root",factory:function Me(){return!0}});let ae=(()=>{class ne{constructor(M,R,ve){this._sanityChecks=R,this._document=ve,this._hasDoneGlobalChecks=!1,M._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(M){return!(0,J.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[M])}}return ne.\u0275fac=function(M){return new(M||ne)(s.LFG(f.qm),s.LFG(H,8),s.LFG(X.K0))},ne.\u0275mod=s.oAB({type:ne}),ne.\u0275inj=s.cJS({imports:[U.vT,U.vT]}),ne})();function ge(ne){return class extends ne{get disabled(){return this._disabled}set disabled(F){this._disabled=(0,oe.Ig)(F)}constructor(...F){super(...F),this._disabled=!1}}}function Z(ne,F){return class extends ne{get color(){return this._color}set color(M){const R=M||this.defaultColor;R!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),R&&this._elementRef.nativeElement.classList.add(`mat-${R}`),this._color=R)}constructor(...M){super(...M),this.defaultColor=F,this.color=F}}}function re(ne){return class extends ne{get disableRipple(){return this._disableRipple}set disableRipple(F){this._disableRipple=(0,oe.Ig)(F)}constructor(...F){super(...F),this._disableRipple=!1}}}function Ie(ne,F=0){return class extends ne{get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(M){this._tabIndex=null!=M?(0,oe.su)(M):this.defaultTabIndex}constructor(...M){super(...M),this._tabIndex=F,this.defaultTabIndex=F}}}function me(ne){return class extends ne{updateErrorState(){const F=this.errorState,L=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);L!==F&&(this.errorState=L,this.stateChanges.next())}constructor(...F){super(...F),this.errorState=!1}}}function We(ne){return class extends ne{constructor(...F){super(...F),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new ee.y(M=>{this._isInitialized?this._notifySubscriber(M):this._pendingSubscribers.push(M)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(F){F.next(),F.complete()}}}const qe=new s.OlP("MAT_DATE_LOCALE",{providedIn:"root",factory:function pt(){return(0,s.f3M)(s.soG)}});class Ht{constructor(){this._localeChanges=new Q.x,this.localeChanges=this._localeChanges}getValidDateOrNull(F){return this.isDateInstance(F)&&this.isValid(F)?F:null}deserialize(F){return null==F||this.isDateInstance(F)&&this.isValid(F)?F:this.invalid()}setLocale(F){this.locale=F,this._localeChanges.next()}compareDate(F,M){return this.getYear(F)-this.getYear(M)||this.getMonth(F)-this.getMonth(M)||this.getDate(F)-this.getDate(M)}sameDate(F,M){if(F&&M){let R=this.isValid(F),ve=this.isValid(M);return R&&ve?!this.compareDate(F,M):R==ve}return F==M}clampDate(F,M,R){return M&&this.compareDate(F,M)<0?M:R&&this.compareDate(F,R)>0?R:F}}const en=new s.OlP("mat-date-formats"),At=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function It(ne,F){const M=Array(ne);for(let R=0;R<ne;R++)M[R]=F(R);return M}let Le=(()=>{class ne extends Ht{constructor(M,R){super(),this.useUtcForDisplay=!1,super.setLocale(M)}getYear(M){return M.getFullYear()}getMonth(M){return M.getMonth()}getDate(M){return M.getDate()}getDayOfWeek(M){return M.getDay()}getMonthNames(M){const R=new Intl.DateTimeFormat(this.locale,{month:M,timeZone:"utc"});return It(12,ve=>this._format(R,new Date(2017,ve,1)))}getDateNames(){const M=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return It(31,R=>this._format(M,new Date(2017,0,R+1)))}getDayOfWeekNames(M){const R=new Intl.DateTimeFormat(this.locale,{weekday:M,timeZone:"utc"});return It(7,ve=>this._format(R,new Date(2017,0,ve+1)))}getYearName(M){const R=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(R,M)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(M){return this.getDate(this._createDateWithOverflow(this.getYear(M),this.getMonth(M)+1,0))}clone(M){return new Date(M.getTime())}createDate(M,R,ve){let L=this._createDateWithOverflow(M,R,ve);return L.getMonth(),L}today(){return new Date}parse(M,R){return"number"==typeof M?new Date(M):M?new Date(Date.parse(M)):null}format(M,R){if(!this.isValid(M))throw Error("NativeDateAdapter: Cannot format invalid date.");const ve=new Intl.DateTimeFormat(this.locale,{...R,timeZone:"utc"});return this._format(ve,M)}addCalendarYears(M,R){return this.addCalendarMonths(M,12*R)}addCalendarMonths(M,R){let ve=this._createDateWithOverflow(this.getYear(M),this.getMonth(M)+R,this.getDate(M));return this.getMonth(ve)!=((this.getMonth(M)+R)%12+12)%12&&(ve=this._createDateWithOverflow(this.getYear(ve),this.getMonth(ve),0)),ve}addCalendarDays(M,R){return this._createDateWithOverflow(this.getYear(M),this.getMonth(M),this.getDate(M)+R)}toIso8601(M){return[M.getUTCFullYear(),this._2digit(M.getUTCMonth()+1),this._2digit(M.getUTCDate())].join("-")}deserialize(M){if("string"==typeof M){if(!M)return null;if(At.test(M)){let R=new Date(M);if(this.isValid(R))return R}}return super.deserialize(M)}isDateInstance(M){return M instanceof Date}isValid(M){return!isNaN(M.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(M,R,ve){const L=new Date;return L.setFullYear(M,R,ve),L.setHours(0,0,0,0),L}_2digit(M){return("00"+M).slice(-2)}_format(M,R){const ve=new Date;return ve.setUTCFullYear(R.getFullYear(),R.getMonth(),R.getDate()),ve.setUTCHours(R.getHours(),R.getMinutes(),R.getSeconds(),R.getMilliseconds()),M.format(ve)}}return ne.\u0275fac=function(M){return new(M||ne)(s.LFG(qe,8),s.LFG(J.t4))},ne.\u0275prov=s.Yz7({token:ne,factory:ne.\u0275fac}),ne})();const et={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let fe=(()=>{class ne{}return ne.\u0275fac=function(M){return new(M||ne)},ne.\u0275mod=s.oAB({type:ne}),ne.\u0275inj=s.cJS({providers:[{provide:Ht,useClass:Le}]}),ne})(),Ne=(()=>{class ne{}return ne.\u0275fac=function(M){return new(M||ne)},ne.\u0275mod=s.oAB({type:ne}),ne.\u0275inj=s.cJS({providers:[{provide:en,useValue:et}],imports:[fe]}),ne})(),Ft=(()=>{class ne{isErrorState(M,R){return!!(M&&M.invalid&&(M.touched||R&&R.submitted))}}return ne.\u0275fac=function(M){return new(M||ne)},ne.\u0275prov=s.Yz7({token:ne,factory:ne.\u0275fac,providedIn:"root"}),ne})();class vn{constructor(F,M,R,ve=!1){this._renderer=F,this.element=M,this.config=R,this._animationForciblyDisabledThroughCss=ve,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const kn=(0,J.i$)({passive:!0,capture:!0});class In{constructor(){this._events=new Map,this._delegateEventHandler=F=>{const M=(0,J.sA)(F);M&&this._events.get(F.type)?.forEach((R,ve)=>{(ve===M||ve.contains(M))&&R.forEach(L=>L.handleEvent(F))})}}addHandler(F,M,R,ve){const L=this._events.get(M);if(L){const G=L.get(R);G?G.add(ve):L.set(R,new Set([ve]))}else this._events.set(M,new Map([[R,new Set([ve])]])),F.runOutsideAngular(()=>{document.addEventListener(M,this._delegateEventHandler,kn)})}removeHandler(F,M,R){const ve=this._events.get(F);if(!ve)return;const L=ve.get(M);L&&(L.delete(R),0===L.size&&ve.delete(M),0===ve.size&&(this._events.delete(F),document.removeEventListener(F,this._delegateEventHandler,kn)))}}const Xt={enterDuration:225,exitDuration:150},Gt=(0,J.i$)({passive:!0,capture:!0}),yt=["mousedown","touchstart"],wt=["mouseup","mouseleave","touchend","touchcancel"];class tn{constructor(F,M,R,ve){this._target=F,this._ngZone=M,this._platform=ve,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,ve.isBrowser&&(this._containerElement=(0,oe.fI)(R))}fadeInRipple(F,M,R={}){const ve=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),L={...Xt,...R.animation};R.centered&&(F=ve.left+ve.width/2,M=ve.top+ve.height/2);const G=R.radius||function $n(ne,F,M){const R=Math.max(Math.abs(ne-M.left),Math.abs(ne-M.right)),ve=Math.max(Math.abs(F-M.top),Math.abs(F-M.bottom));return Math.sqrt(R*R+ve*ve)}(F,M,ve),de=F-ve.left,He=M-ve.top,Ee=L.enterDuration,ot=document.createElement("div");ot.classList.add("mat-ripple-element"),ot.style.left=de-G+"px",ot.style.top=He-G+"px",ot.style.height=2*G+"px",ot.style.width=2*G+"px",null!=R.color&&(ot.style.backgroundColor=R.color),ot.style.transitionDuration=`${Ee}ms`,this._containerElement.appendChild(ot);const Nt=window.getComputedStyle(ot),ye=Nt.transitionDuration,x="none"===Nt.transitionProperty||"0s"===ye||"0s, 0s"===ye||0===ve.width&&0===ve.height,C=new vn(this,ot,R,x);ot.style.transform="scale3d(1, 1, 1)",C.state=0,R.persistent||(this._mostRecentTransientRipple=C);let I=null;return!x&&(Ee||L.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const $=()=>this._finishRippleTransition(C),ue=()=>this._destroyRipple(C);ot.addEventListener("transitionend",$),ot.addEventListener("transitioncancel",ue),I={onTransitionEnd:$,onTransitionCancel:ue}}),this._activeRipples.set(C,I),(x||!Ee)&&this._finishRippleTransition(C),C}fadeOutRipple(F){if(2===F.state||3===F.state)return;const M=F.element,R={...Xt,...F.config.animation};M.style.transitionDuration=`${R.exitDuration}ms`,M.style.opacity="0",F.state=2,(F._animationForciblyDisabledThroughCss||!R.exitDuration)&&this._finishRippleTransition(F)}fadeOutAll(){this._getActiveRipples().forEach(F=>F.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(F=>{F.config.persistent||F.fadeOut()})}setupTriggerEvents(F){const M=(0,oe.fI)(F);!this._platform.isBrowser||!M||M===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=M,yt.forEach(R=>{tn._eventManager.addHandler(this._ngZone,R,M,this)}))}handleEvent(F){"mousedown"===F.type?this._onMousedown(F):"touchstart"===F.type?this._onTouchStart(F):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{wt.forEach(M=>{this._triggerElement.addEventListener(M,this,Gt)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(F){0===F.state?this._startFadeOutTransition(F):2===F.state&&this._destroyRipple(F)}_startFadeOutTransition(F){const M=F===this._mostRecentTransientRipple,{persistent:R}=F.config;F.state=1,!R&&(!M||!this._isPointerDown)&&F.fadeOut()}_destroyRipple(F){const M=this._activeRipples.get(F)??null;this._activeRipples.delete(F),this._activeRipples.size||(this._containerRect=null),F===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),F.state=3,null!==M&&(F.element.removeEventListener("transitionend",M.onTransitionEnd),F.element.removeEventListener("transitioncancel",M.onTransitionCancel)),F.element.remove()}_onMousedown(F){const M=(0,f.X6)(F),R=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!M&&!R&&(this._isPointerDown=!0,this.fadeInRipple(F.clientX,F.clientY,this._target.rippleConfig))}_onTouchStart(F){if(!this._target.rippleDisabled&&!(0,f.yG)(F)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const M=F.changedTouches;for(let R=0;R<M.length;R++)this.fadeInRipple(M[R].clientX,M[R].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(F=>{!F.config.persistent&&(1===F.state||F.config.terminateOnPointerUp&&0===F.state)&&F.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const F=this._triggerElement;F&&(yt.forEach(M=>tn._eventManager.removeHandler(M,F,this)),this._pointerUpEventsRegistered&&wt.forEach(M=>F.removeEventListener(M,this,Gt)))}}tn._eventManager=new In;const gn=new s.OlP("mat-ripple-global-options");let bn=(()=>{class ne{get disabled(){return this._disabled}set disabled(M){M&&this.fadeOutAllNonPersistent(),this._disabled=M,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(M){this._trigger=M,this._setupTriggerEventsIfEnabled()}constructor(M,R,ve,L,G){this._elementRef=M,this._animationMode=G,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=L||{},this._rippleRenderer=new tn(this,R,M,ve)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(M,R=0,ve){return"number"==typeof M?this._rippleRenderer.fadeInRipple(M,R,{...this.rippleConfig,...ve}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...M})}}return ne.\u0275fac=function(M){return new(M||ne)(s.Y36(s.SBq),s.Y36(s.R0b),s.Y36(J.t4),s.Y36(gn,8),s.Y36(s.QbO,8))},ne.\u0275dir=s.lG2({type:ne,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(M,R){2&M&&s.ekj("mat-ripple-unbounded",R.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),ne})(),Hn=(()=>{class ne{}return ne.\u0275fac=function(M){return new(M||ne)},ne.\u0275mod=s.oAB({type:ne}),ne.\u0275inj=s.cJS({imports:[ae,ae]}),ne})(),Ot=(()=>{class ne{constructor(M){this._animationMode=M,this.state="unchecked",this.disabled=!1}}return ne.\u0275fac=function(M){return new(M||ne)(s.Y36(s.QbO,8))},ne.\u0275cmp=s.Xpm({type:ne,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(M,R){2&M&&s.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===R.state)("mat-pseudo-checkbox-checked","checked"===R.state)("mat-pseudo-checkbox-disabled",R.disabled)("_mat-animation-noopable","NoopAnimations"===R._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(M,R){},styles:['.mat-pseudo-checkbox{border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}.mat-pseudo-checkbox-checked::after{top:2.7px;width:10px;height:4px}'],encapsulation:2,changeDetection:0}),ne})(),Tt=(()=>{class ne{}return ne.\u0275fac=function(M){return new(M||ne)},ne.\u0275mod=s.oAB({type:ne}),ne.\u0275inj=s.cJS({imports:[ae]}),ne})();const ut=new s.OlP("MAT_OPTION_PARENT_COMPONENT"),Re=new s.OlP("MatOptgroup");let kt=0;class Mt{constructor(F,M=!1){this.source=F,this.isUserInput=M}}let Yn=(()=>{class ne{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(M){this._disabled=(0,oe.Ig)(M)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}constructor(M,R,ve,L){this._element=M,this._changeDetectorRef=R,this._parent=ve,this.group=L,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+kt++,this.onSelectionChange=new s.vpe,this._stateChanges=new Q.x}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(M,R){const ve=this._getHostElement();"function"==typeof ve.focus&&ve.focus(R)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(M){(M.keyCode===j.K5||M.keyCode===j.L_)&&!(0,j.Vb)(M)&&(this._selectViaInteraction(),M.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const M=this.viewValue;M!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=M)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(M=!1){this.onSelectionChange.emit(new Mt(this,M))}}return ne.\u0275fac=function(M){s.$Z()},ne.\u0275dir=s.lG2({type:ne,viewQuery:function(M,R){if(1&M&&s.Gf(xe,7),2&M){let ve;s.iGM(ve=s.CRH())&&(R._text=ve.first)}},inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),ne})(),Pt=(()=>{class ne extends Yn{constructor(M,R,ve,L){super(M,R,ve,L)}}return ne.\u0275fac=function(M){return new(M||ne)(s.Y36(s.SBq),s.Y36(s.sBO),s.Y36(ut,8),s.Y36(Re,8))},ne.\u0275cmp=s.Xpm({type:ne,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-mdc-option","mat-mdc-focus-indicator","mdc-list-item"],hostVars:12,hostBindings:function(M,R){1&M&&s.NdJ("click",function(){return R._selectViaInteraction()})("keydown",function(L){return R._handleKeydown(L)}),2&M&&(s.Ikx("id",R.id),s.uIk("tabindex",R._getTabIndex())("aria-selected",R._getAriaSelected())("aria-disabled",R.disabled.toString()),s.ekj("mdc-list-item--selected",R.selected)("mat-mdc-option-multiple",R.multiple)("mat-mdc-option-active",R.active)("mdc-list-item--disabled",R.disabled))},exportAs:["matOption"],features:[s.qOj],ngContentSelectors:Se,decls:7,vars:4,consts:[["class","mat-mdc-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mdc-list-item__primary-text"],["text",""],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-mdc-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-mdc-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(M,R){1&M&&(s.F$t(Ye),s.YNc(0,Te,1,2,"mat-pseudo-checkbox",0),s.Hsn(1),s.TgZ(2,"span",1,2),s.Hsn(4,1),s.qZA(),s.YNc(5,$e,2,1,"span",3),s._UZ(6,"div",4)),2&M&&(s.Q6J("ngIf",R.multiple),s.xp6(5),s.Q6J("ngIf",R.group&&R.group._inert),s.xp6(1),s.Q6J("matRippleTrigger",R._getHostElement())("matRippleDisabled",R.disabled||R.disableRipple))},dependencies:[bn,X.O5,Ot],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option.mdc-list-item{align-items:center}.mat-mdc-option.mdc-list-item--disabled{opacity:.38;cursor:default}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox{margin-right:0;margin-left:16px}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-active::before{content:""}'],encapsulation:2,changeDetection:0}),ne})();function Tn(ne,F,M){if(M.length){let R=F.toArray(),ve=M.toArray(),L=0;for(let G=0;G<ne+1;G++)R[G].group&&R[G].group===ve[L]&&L++;return L}return 0}function Zn(ne,F,M,R){return ne<M?ne:ne+F>M+R?Math.max(0,ne-R+F):M}let lt=(()=>{class ne{}return ne.\u0275fac=function(M){return new(M||ne)},ne.\u0275mod=s.oAB({type:ne}),ne.\u0275inj=s.cJS({imports:[Hn,X.ez,ae,Tt]}),ne})()},9549:(it,Ce,D)=>{D.d(Ce,{Eo:()=>wn,G_:()=>tn,KE:()=>ut,R9:()=>$t,hX:()=>en,lN:()=>xt,o2:()=>$n,qo:()=>rt});var s=D(4650),f=D(445),U=D(3353),K=D(7579),X=D(6451),J=D(2722),oe=D(6895),ee=D(1281),Q=D(7340),j=D(9643),Y=D(3238);const W=["matFormFieldNotchedOutline",""],xe=["*"],Te=["textField"],$e=["iconPrefixContainer"],Ye=["textPrefixContainer"];function Se(ze,ft){1&ze&&s._UZ(0,"span",19)}function Fe(ze,ft){if(1&ze){const Re=s.EpF();s.TgZ(0,"label",17),s.NdJ("cdkObserveContent",function(){s.CHM(Re);const kt=s.oxw(2);return s.KtG(kt._refreshOutlineNotchWidth())}),s.Hsn(1,1),s.YNc(2,Se,1,0,"span",18),s.qZA()}if(2&ze){const Re=s.oxw(2);s.Q6J("floating",Re._shouldLabelFloat())("cdkObserveContentDisabled",!Re._hasOutline())("id",Re._labelId),s.uIk("for",Re._control.id)("aria-owns",Re._control.id),s.xp6(2),s.Q6J("ngIf",!Re.hideRequiredMarker&&Re._control.required)}}function Pe(ze,ft){if(1&ze&&s.YNc(0,Fe,3,6,"label",16),2&ze){const Re=s.oxw();s.Q6J("ngIf",Re._hasFloatingLabel())}}function De(ze,ft){1&ze&&s._UZ(0,"div",20)}function Me(ze,ft){}function H(ze,ft){if(1&ze&&s.YNc(0,Me,0,0,"ng-template",22),2&ze){s.oxw(2);const Re=s.MAs(1);s.Q6J("ngTemplateOutlet",Re)}}function ae(ze,ft){if(1&ze&&(s.TgZ(0,"div",21),s.YNc(1,H,1,1,"ng-template",9),s.qZA()),2&ze){const Re=s.oxw();s.Q6J("matFormFieldNotchedOutlineOpen",Re._shouldLabelFloat())("matFormFieldNotchedOutlineLabelWidth",Re._labelWidth),s.xp6(1),s.Q6J("ngIf",!Re._forceDisplayInfixLabel())}}function le(ze,ft){1&ze&&(s.TgZ(0,"div",23,24),s.Hsn(2,2),s.qZA())}function pe(ze,ft){1&ze&&(s.TgZ(0,"div",25,26),s.Hsn(2,3),s.qZA())}function se(ze,ft){}function ge(ze,ft){if(1&ze&&s.YNc(0,se,0,0,"ng-template",22),2&ze){s.oxw();const Re=s.MAs(1);s.Q6J("ngTemplateOutlet",Re)}}function Z(ze,ft){1&ze&&(s.TgZ(0,"div",27),s.Hsn(1,4),s.qZA())}function re(ze,ft){1&ze&&(s.TgZ(0,"div",28),s.Hsn(1,5),s.qZA())}function Ie(ze,ft){1&ze&&s._UZ(0,"div",29)}function me(ze,ft){if(1&ze&&(s.TgZ(0,"div",30),s.Hsn(1,6),s.qZA()),2&ze){const Re=s.oxw();s.Q6J("@transitionMessages",Re._subscriptAnimationState)}}function We(ze,ft){if(1&ze&&(s.TgZ(0,"mat-hint",34),s._uU(1),s.qZA()),2&ze){const Re=s.oxw(2);s.Q6J("id",Re._hintLabelId),s.xp6(1),s.Oqu(Re.hintLabel)}}function qe(ze,ft){if(1&ze&&(s.TgZ(0,"div",31),s.YNc(1,We,2,2,"mat-hint",32),s.Hsn(2,7),s._UZ(3,"div",33),s.Hsn(4,8),s.qZA()),2&ze){const Re=s.oxw();s.Q6J("@transitionMessages",Re._subscriptAnimationState),s.xp6(1),s.Q6J("ngIf",Re.hintLabel)}}const pt=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],Ht=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];let en=(()=>{class ze{}return ze.\u0275fac=function(Re){return new(Re||ze)},ze.\u0275dir=s.lG2({type:ze,selectors:[["mat-label"]]}),ze})();const It=new s.OlP("MatError");let et=0,fe=(()=>{class ze{constructor(){this.align="start",this.id="mat-mdc-hint-"+et++}}return ze.\u0275fac=function(Re){return new(Re||ze)},ze.\u0275dir=s.lG2({type:ze,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(Re,Ze){2&Re&&(s.Ikx("id",Ze.id),s.uIk("align",null),s.ekj("mat-mdc-form-field-hint-end","end"===Ze.align))},inputs:{align:"align",id:"id"}}),ze})();const Ne=new s.OlP("MatPrefix");let rt=(()=>{class ze{constructor(){this._isText=!1}set _isTextSelector(Re){this._isText=!0}}return ze.\u0275fac=function(Re){return new(Re||ze)},ze.\u0275dir=s.lG2({type:ze,selectors:[["","matPrefix",""],["","matIconPrefix",""],["","matTextPrefix",""]],inputs:{_isTextSelector:["matTextPrefix","_isTextSelector"]},features:[s._Bn([{provide:Ne,useExisting:ze}])]}),ze})();const Ft=new s.OlP("MatSuffix");let $t=(()=>{class ze{constructor(){this._isText=!1}set _isTextSelector(Re){this._isText=!0}}return ze.\u0275fac=function(Re){return new(Re||ze)},ze.\u0275dir=s.lG2({type:ze,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:["matTextSuffix","_isTextSelector"]},features:[s._Bn([{provide:Ft,useExisting:ze}])]}),ze})(),ln=(()=>{class ze{constructor(Re){this._elementRef=Re,this.floating=!1}getWidth(){return function Kt(ze){if(null!==ze.offsetParent)return ze.scrollWidth;const Re=ze.cloneNode(!0);Re.style.setProperty("position","absolute"),Re.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(Re);const Ze=Re.scrollWidth;return Re.remove(),Ze}(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}}return ze.\u0275fac=function(Re){return new(Re||ze)(s.Y36(s.SBq))},ze.\u0275dir=s.lG2({type:ze,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(Re,Ze){2&Re&&s.ekj("mdc-floating-label--float-above",Ze.floating)},inputs:{floating:"floating"}}),ze})();const Wn="mdc-line-ripple--active",vn="mdc-line-ripple--deactivating";let kn=(()=>{class ze{constructor(Re,Ze){this._elementRef=Re,this._handleTransitionEnd=kt=>{const Mt=this._elementRef.nativeElement.classList,Yn=Mt.contains(vn);"opacity"===kt.propertyName&&Yn&&Mt.remove(Wn,vn)},Ze.runOutsideAngular(()=>{Re.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const Re=this._elementRef.nativeElement.classList;Re.remove(vn),Re.add(Wn)}deactivate(){this._elementRef.nativeElement.classList.add(vn)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}}return ze.\u0275fac=function(Re){return new(Re||ze)(s.Y36(s.SBq),s.Y36(s.R0b))},ze.\u0275dir=s.lG2({type:ze,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]}),ze})(),In=(()=>{class ze{constructor(Re,Ze){this._elementRef=Re,this._ngZone=Ze,this.labelWidth=0,this.open=!1}ngAfterViewInit(){const Re=this._elementRef.nativeElement.querySelector(".mdc-floating-label");Re?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(Re.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>Re.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_getNotchWidth(){return this.open?this.labelWidth>0?`calc(${this.labelWidth}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:"0px":null}}return ze.\u0275fac=function(Re){return new(Re||ze)(s.Y36(s.SBq),s.Y36(s.R0b))},ze.\u0275cmp=s.Xpm({type:ze,selectors:[["div","matFormFieldNotchedOutline",""]],hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(Re,Ze){2&Re&&s.ekj("mdc-notched-outline--notched",Ze.open)},inputs:{labelWidth:["matFormFieldNotchedOutlineLabelWidth","labelWidth"],open:["matFormFieldNotchedOutlineOpen","open"]},attrs:W,ngContentSelectors:xe,decls:4,vars:2,consts:[[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],[1,"mdc-notched-outline__trailing"]],template:function(Re,Ze){1&Re&&(s.F$t(),s._UZ(0,"div",0),s.TgZ(1,"div",1),s.Hsn(2),s.qZA(),s._UZ(3,"div",2)),2&Re&&(s.xp6(1),s.Udp("width",Ze._getNotchWidth()))},encapsulation:2,changeDetection:0}),ze})();const Xt={transitionMessages:(0,Q.X$)("transitionMessages",[(0,Q.SB)("enter",(0,Q.oB)({opacity:1,transform:"translateY(0%)"})),(0,Q.eR)("void => enter",[(0,Q.oB)({opacity:0,transform:"translateY(-5px)"}),(0,Q.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let wn=(()=>{class ze{}return ze.\u0275fac=function(Re){return new(Re||ze)},ze.\u0275dir=s.lG2({type:ze}),ze})();const tn=new s.OlP("MatFormField"),$n=new s.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS");let gn=0,ut=(()=>{class ze{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(Re){this._hideRequiredMarker=(0,ee.Ig)(Re)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(Re){Re!==this._floatLabel&&(this._floatLabel=Re,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(Re){const Ze=this._appearance;this._appearance=Re||this._defaults?.appearance||"fill","outline"===this._appearance&&this._appearance!==Ze&&(this._refreshOutlineNotchWidth(),this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(Re){this._subscriptSizing=Re||this._defaults?.subscriptSizing||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel(Re){this._hintLabel=Re,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(Re){this._explicitFormFieldControl=Re}constructor(Re,Ze,kt,Mt,Yn,Pt,Tn,Zn){this._elementRef=Re,this._changeDetectorRef=Ze,this._ngZone=kt,this._dir=Mt,this._platform=Yn,this._defaults=Pt,this._animationMode=Tn,this._document=Zn,this._hideRequiredMarker=!1,this.color="primary",this._appearance="fill",this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId="mat-mdc-form-field-label-"+gn++,this._hintLabelId="mat-mdc-hint-"+gn++,this._subscriptAnimationState="",this._labelWidth=0,this._destroyed=new K.x,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,Pt&&(Pt.appearance&&(this.appearance=Pt.appearance),this._hideRequiredMarker=Boolean(Pt?.hideRequiredMarker),Pt.color&&(this.color=Pt.color))}ngAfterViewInit(){this._updateFocusState(),this._refreshOutlineNotchWidth(),this._document?.fonts?.ready?this._document.fonts.ready.then(()=>{this._refreshOutlineNotchWidth(),this._changeDetectorRef.markForCheck()}):setTimeout(()=>this._refreshOutlineNotchWidth(),100),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){const Re=this._control;Re.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${Re.controlType}`),Re.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),Re.ngControl&&Re.ngControl.valueChanges&&Re.ngControl.valueChanges.pipe((0,J.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(Re=>!Re._isText),this._hasTextPrefix=!!this._prefixChildren.find(Re=>Re._isText),this._hasIconSuffix=!!this._suffixChildren.find(Re=>!Re._isText),this._hasTextSuffix=!!this._suffixChildren.find(Re=>Re._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),(0,X.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||null===this._isFocused)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,J.R)(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe((0,J.R)(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0)}_shouldAlwaysFloat(){return"always"===this.floatLabel}_hasOutline(){return"outline"===this.appearance}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(Re){const Ze=this._control?this._control.ngControl:null;return Ze&&Ze[Re]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||(this._labelWidth=this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_syncDescribedByIds(){if(this._control){let Re=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&Re.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const Ze=this._hintChildren?this._hintChildren.find(Mt=>"start"===Mt.align):null,kt=this._hintChildren?this._hintChildren.find(Mt=>"end"===Mt.align):null;Ze?Re.push(Ze.id):this._hintLabel&&Re.push(this._hintLabelId),kt&&Re.push(kt.id)}else this._errorChildren&&Re.push(...this._errorChildren.map(Ze=>Ze.id));this._control.setDescribedByIds(Re)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const Re=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(Re.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const Ze=this._iconPrefixContainer?.nativeElement,kt=this._textPrefixContainer?.nativeElement,Mt=Ze?.getBoundingClientRect().width??0,Yn=kt?.getBoundingClientRect().width??0;Re.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${Mt+Yn}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`}_isAttachedToDom(){const Re=this._elementRef.nativeElement;if(Re.getRootNode){const Ze=Re.getRootNode();return Ze&&Ze!==Re}return document.documentElement.contains(Re)}}return ze.\u0275fac=function(Re){return new(Re||ze)(s.Y36(s.SBq),s.Y36(s.sBO),s.Y36(s.R0b),s.Y36(f.Is),s.Y36(U.t4),s.Y36($n,8),s.Y36(s.QbO,8),s.Y36(oe.K0))},ze.\u0275cmp=s.Xpm({type:ze,selectors:[["mat-form-field"]],contentQueries:function(Re,Ze,kt){if(1&Re&&(s.Suo(kt,en,5),s.Suo(kt,en,7),s.Suo(kt,wn,5),s.Suo(kt,Ne,5),s.Suo(kt,Ft,5),s.Suo(kt,It,5),s.Suo(kt,fe,5)),2&Re){let Mt;s.iGM(Mt=s.CRH())&&(Ze._labelChildNonStatic=Mt.first),s.iGM(Mt=s.CRH())&&(Ze._labelChildStatic=Mt.first),s.iGM(Mt=s.CRH())&&(Ze._formFieldControl=Mt.first),s.iGM(Mt=s.CRH())&&(Ze._prefixChildren=Mt),s.iGM(Mt=s.CRH())&&(Ze._suffixChildren=Mt),s.iGM(Mt=s.CRH())&&(Ze._errorChildren=Mt),s.iGM(Mt=s.CRH())&&(Ze._hintChildren=Mt)}},viewQuery:function(Re,Ze){if(1&Re&&(s.Gf(Te,5),s.Gf($e,5),s.Gf(Ye,5),s.Gf(ln,5),s.Gf(In,5),s.Gf(kn,5)),2&Re){let kt;s.iGM(kt=s.CRH())&&(Ze._textField=kt.first),s.iGM(kt=s.CRH())&&(Ze._iconPrefixContainer=kt.first),s.iGM(kt=s.CRH())&&(Ze._textPrefixContainer=kt.first),s.iGM(kt=s.CRH())&&(Ze._floatingLabel=kt.first),s.iGM(kt=s.CRH())&&(Ze._notchedOutline=kt.first),s.iGM(kt=s.CRH())&&(Ze._lineRipple=kt.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(Re,Ze){2&Re&&s.ekj("mat-mdc-form-field-label-always-float",Ze._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",Ze._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",Ze._hasIconSuffix)("mat-form-field-invalid",Ze._control.errorState)("mat-form-field-disabled",Ze._control.disabled)("mat-form-field-autofilled",Ze._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===Ze._animationMode)("mat-form-field-appearance-fill","fill"==Ze.appearance)("mat-form-field-appearance-outline","outline"==Ze.appearance)("mat-form-field-hide-placeholder",Ze._hasFloatingLabel()&&!Ze._shouldLabelFloat())("mat-focused",Ze._control.focused)("mat-primary","accent"!==Ze.color&&"warn"!==Ze.color)("mat-accent","accent"===Ze.color)("mat-warn","warn"===Ze.color)("ng-untouched",Ze._shouldForward("untouched"))("ng-touched",Ze._shouldForward("touched"))("ng-pristine",Ze._shouldForward("pristine"))("ng-dirty",Ze._shouldForward("dirty"))("ng-valid",Ze._shouldForward("valid"))("ng-invalid",Ze._shouldForward("invalid"))("ng-pending",Ze._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[s._Bn([{provide:tn,useExisting:ze}])],ngContentSelectors:Ht,decls:18,vars:23,consts:[["labelTemplate",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],["textField",""],["class","mat-mdc-form-field-focus-overlay",4,"ngIf"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen","matFormFieldNotchedOutlineLabelWidth",4,"ngIf"],["class","mat-mdc-form-field-icon-prefix",4,"ngIf"],["class","mat-mdc-form-field-text-prefix",4,"ngIf"],[1,"mat-mdc-form-field-infix"],[3,"ngIf"],["class","mat-mdc-form-field-text-suffix",4,"ngIf"],["class","mat-mdc-form-field-icon-suffix",4,"ngIf"],["matFormFieldLineRipple","",4,"ngIf"],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align",3,"ngSwitch"],["class","mat-mdc-form-field-error-wrapper",4,"ngSwitchCase"],["class","mat-mdc-form-field-hint-wrapper",4,"ngSwitchCase"],["matFormFieldFloatingLabel","",3,"floating","cdkObserveContentDisabled","id","cdkObserveContent",4,"ngIf"],["matFormFieldFloatingLabel","",3,"floating","cdkObserveContentDisabled","id","cdkObserveContent"],["aria-hidden","true","class","mat-mdc-form-field-required-marker mdc-floating-label--required",4,"ngIf"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-focus-overlay"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen","matFormFieldNotchedOutlineLabelWidth"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-icon-prefix"],["iconPrefixContainer",""],[1,"mat-mdc-form-field-text-prefix"],["textPrefixContainer",""],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id",4,"ngIf"],[1,"mat-mdc-form-field-hint-spacer"],[3,"id"]],template:function(Re,Ze){1&Re&&(s.F$t(pt),s.YNc(0,Pe,1,1,"ng-template",null,0,s.W1O),s.TgZ(2,"div",1,2),s.NdJ("click",function(Mt){return Ze._control.onContainerClick&&Ze._control.onContainerClick(Mt)}),s.YNc(4,De,1,0,"div",3),s.TgZ(5,"div",4),s.YNc(6,ae,2,3,"div",5),s.YNc(7,le,3,0,"div",6),s.YNc(8,pe,3,0,"div",7),s.TgZ(9,"div",8),s.YNc(10,ge,1,1,"ng-template",9),s.Hsn(11),s.qZA(),s.YNc(12,Z,2,0,"div",10),s.YNc(13,re,2,0,"div",11),s.qZA(),s.YNc(14,Ie,1,0,"div",12),s.qZA(),s.TgZ(15,"div",13),s.YNc(16,me,2,1,"div",14),s.YNc(17,qe,5,2,"div",15),s.qZA()),2&Re&&(s.xp6(2),s.ekj("mdc-text-field--filled",!Ze._hasOutline())("mdc-text-field--outlined",Ze._hasOutline())("mdc-text-field--no-label",!Ze._hasFloatingLabel())("mdc-text-field--disabled",Ze._control.disabled)("mdc-text-field--invalid",Ze._control.errorState),s.xp6(2),s.Q6J("ngIf",!Ze._hasOutline()&&!Ze._control.disabled),s.xp6(2),s.Q6J("ngIf",Ze._hasOutline()),s.xp6(1),s.Q6J("ngIf",Ze._hasIconPrefix),s.xp6(1),s.Q6J("ngIf",Ze._hasTextPrefix),s.xp6(2),s.Q6J("ngIf",!Ze._hasOutline()||Ze._forceDisplayInfixLabel()),s.xp6(2),s.Q6J("ngIf",Ze._hasTextSuffix),s.xp6(1),s.Q6J("ngIf",Ze._hasIconSuffix),s.xp6(1),s.Q6J("ngIf",!Ze._hasOutline()),s.xp6(1),s.ekj("mat-mdc-form-field-subscript-dynamic-size","dynamic"===Ze.subscriptSizing),s.Q6J("ngSwitch",Ze._getDisplayedMessages()),s.xp6(1),s.Q6J("ngSwitchCase","error"),s.xp6(1),s.Q6J("ngSwitchCase","hint"))},dependencies:[oe.O5,oe.tP,oe.RF,oe.n9,j.wD,fe,ln,In,kn],styles:['.mdc-text-field{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px, var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px, var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 96px / 0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after,.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;border-top:1px solid;border-bottom:1px solid;pointer-events:none}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid;flex-grow:1}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{flex:0 0 auto;width:auto;max-width:calc(100% - 12px * 2)}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{line-height:normal;pointer-events:all}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:12px;box-sizing:content-box}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0 - 0%)) translateY(-10.25px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-10.25px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-10.25px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-10.25px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-24.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-24.75px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0 - 0%)) translateY(-106%) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-106%) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-106%) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-106%) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}'],encapsulation:2,data:{animation:[Xt.transitionMessages]},changeDetection:0}),ze})(),xt=(()=>{class ze{}return ze.\u0275fac=function(Re){return new(Re||ze)},ze.\u0275mod=s.oAB({type:ze}),ze.\u0275inj=s.cJS({imports:[Y.BQ,oe.ez,j.Q8,Y.BQ]}),ze})()},1481:(it,Ce,D)=>{D.d(Ce,{Dx:()=>bn,H7:()=>ot,b2:()=>yt,q6:()=>In,se:()=>Ie});var s=D(6895),f=D(4650);class U extends s.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class K extends U{static makeCurrent(){(0,s.HT)(new K)}onAndCancel(C,I,$){return C.addEventListener(I,$,!1),()=>{C.removeEventListener(I,$,!1)}}dispatchEvent(C,I){C.dispatchEvent(I)}remove(C){C.parentNode&&C.parentNode.removeChild(C)}createElement(C,I){return(I=I||this.getDefaultDocument()).createElement(C)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(C){return C.nodeType===Node.ELEMENT_NODE}isShadowRoot(C){return C instanceof DocumentFragment}getGlobalEventTarget(C,I){return"window"===I?window:"document"===I?C:"body"===I?C.body:null}getBaseHref(C){const I=function J(){return X=X||document.querySelector("base"),X?X.getAttribute("href"):null}();return null==I?null:function ee(x){oe=oe||document.createElement("a"),oe.setAttribute("href",x);const C=oe.pathname;return"/"===C.charAt(0)?C:`/${C}`}(I)}resetBaseElement(){X=null}getUserAgent(){return window.navigator.userAgent}getCookie(C){return(0,s.Mx)(document.cookie,C)}}let oe,X=null;const Q=new f.OlP("TRANSITION_ID"),Y=[{provide:f.ip1,useFactory:function j(x,C,I){return()=>{I.get(f.CZH).donePromise.then(()=>{const $=(0,s.q)(),ue=C.querySelectorAll(`style[ng-transition="${x}"]`);for(let Ke=0;Ke<ue.length;Ke++)$.remove(ue[Ke])})}},deps:[Q,s.K0,f.zs3],multi:!0}];let xe=(()=>{class x{build(){return new XMLHttpRequest}}return x.\u0275fac=function(I){return new(I||x)},x.\u0275prov=f.Yz7({token:x,factory:x.\u0275fac}),x})();const Te=new f.OlP("EventManagerPlugins");let $e=(()=>{class x{constructor(I,$){this._zone=$,this._eventNameToPlugin=new Map,I.forEach(ue=>ue.manager=this),this._plugins=I.slice().reverse()}addEventListener(I,$,ue){return this._findPluginFor($).addEventListener(I,$,ue)}addGlobalEventListener(I,$,ue){return this._findPluginFor($).addGlobalEventListener(I,$,ue)}getZone(){return this._zone}_findPluginFor(I){const $=this._eventNameToPlugin.get(I);if($)return $;const ue=this._plugins;for(let Ke=0;Ke<ue.length;Ke++){const vt=ue[Ke];if(vt.supports(I))return this._eventNameToPlugin.set(I,vt),vt}throw new Error(`No event manager plugin found for event ${I}`)}}return x.\u0275fac=function(I){return new(I||x)(f.LFG(Te),f.LFG(f.R0b))},x.\u0275prov=f.Yz7({token:x,factory:x.\u0275fac}),x})();class Ye{constructor(C){this._doc=C}addGlobalEventListener(C,I,$){const ue=(0,s.q)().getGlobalEventTarget(this._doc,C);if(!ue)throw new Error(`Unsupported event target ${ue} for event ${I}`);return this.addEventListener(ue,I,$)}}let Se=(()=>{class x{constructor(){this._stylesSet=new Set}addStyles(I){const $=new Set;I.forEach(ue=>{this._stylesSet.has(ue)||(this._stylesSet.add(ue),$.add(ue))}),this.onStylesAdded($)}onStylesAdded(I){}getAllStyles(){return Array.from(this._stylesSet)}}return x.\u0275fac=function(I){return new(I||x)},x.\u0275prov=f.Yz7({token:x,factory:x.\u0275fac}),x})(),Fe=(()=>{class x extends Se{constructor(I){super(),this._doc=I,this._hostNodes=new Map,this._hostNodes.set(I.head,[])}_addStylesToHost(I,$,ue){I.forEach(Ke=>{const vt=this._doc.createElement("style");vt.textContent=Ke,ue.push($.appendChild(vt))})}addHost(I){const $=[];this._addStylesToHost(this._stylesSet,I,$),this._hostNodes.set(I,$)}removeHost(I){const $=this._hostNodes.get(I);$&&$.forEach(Pe),this._hostNodes.delete(I)}onStylesAdded(I){this._hostNodes.forEach(($,ue)=>{this._addStylesToHost(I,ue,$)})}ngOnDestroy(){this._hostNodes.forEach(I=>I.forEach(Pe))}}return x.\u0275fac=function(I){return new(I||x)(f.LFG(s.K0))},x.\u0275prov=f.Yz7({token:x,factory:x.\u0275fac}),x})();function Pe(x){(0,s.q)().remove(x)}const De={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/MathML/"},Me=/%COMP%/g;function Z(x,C){return C.flat(100).map(I=>I.replace(Me,x))}function re(x){return C=>{if("__ngUnwrap__"===C)return x;!1===x(C)&&(C.preventDefault(),C.returnValue=!1)}}let Ie=(()=>{class x{constructor(I,$,ue){this.eventManager=I,this.sharedStylesHost=$,this.appId=ue,this.rendererByCompId=new Map,this.defaultRenderer=new me(I)}createRenderer(I,$){if(!I||!$)return this.defaultRenderer;switch($.encapsulation){case f.ifc.Emulated:{let ue=this.rendererByCompId.get($.id);return ue||(ue=new Ht(this.eventManager,this.sharedStylesHost,$,this.appId),this.rendererByCompId.set($.id,ue)),ue.applyToHost(I),ue}case f.ifc.ShadowDom:return new en(this.eventManager,this.sharedStylesHost,I,$);default:if(!this.rendererByCompId.has($.id)){const ue=Z($.id,$.styles);this.sharedStylesHost.addStyles(ue),this.rendererByCompId.set($.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return x.\u0275fac=function(I){return new(I||x)(f.LFG($e),f.LFG(Fe),f.LFG(f.AFp))},x.\u0275prov=f.Yz7({token:x,factory:x.\u0275fac}),x})();class me{constructor(C){this.eventManager=C,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(C,I){return I?document.createElementNS(De[I]||I,C):document.createElement(C)}createComment(C){return document.createComment(C)}createText(C){return document.createTextNode(C)}appendChild(C,I){(pt(C)?C.content:C).appendChild(I)}insertBefore(C,I,$){C&&(pt(C)?C.content:C).insertBefore(I,$)}removeChild(C,I){C&&C.removeChild(I)}selectRootElement(C,I){let $="string"==typeof C?document.querySelector(C):C;if(!$)throw new Error(`The selector "${C}" did not match any elements`);return I||($.textContent=""),$}parentNode(C){return C.parentNode}nextSibling(C){return C.nextSibling}setAttribute(C,I,$,ue){if(ue){I=ue+":"+I;const Ke=De[ue];Ke?C.setAttributeNS(Ke,I,$):C.setAttribute(I,$)}else C.setAttribute(I,$)}removeAttribute(C,I,$){if($){const ue=De[$];ue?C.removeAttributeNS(ue,I):C.removeAttribute(`${$}:${I}`)}else C.removeAttribute(I)}addClass(C,I){C.classList.add(I)}removeClass(C,I){C.classList.remove(I)}setStyle(C,I,$,ue){ue&(f.JOm.DashCase|f.JOm.Important)?C.style.setProperty(I,$,ue&f.JOm.Important?"important":""):C.style[I]=$}removeStyle(C,I,$){$&f.JOm.DashCase?C.style.removeProperty(I):C.style[I]=""}setProperty(C,I,$){C[I]=$}setValue(C,I){C.nodeValue=I}listen(C,I,$){return"string"==typeof C?this.eventManager.addGlobalEventListener(C,I,re($)):this.eventManager.addEventListener(C,I,re($))}}function pt(x){return"TEMPLATE"===x.tagName&&void 0!==x.content}class Ht extends me{constructor(C,I,$,ue){super(C),this.component=$;const Ke=Z(ue+"-"+$.id,$.styles);I.addStyles(Ke),this.contentAttr=function se(x){return"_ngcontent-%COMP%".replace(Me,x)}(ue+"-"+$.id),this.hostAttr=function ge(x){return"_nghost-%COMP%".replace(Me,x)}(ue+"-"+$.id)}applyToHost(C){super.setAttribute(C,this.hostAttr,"")}createElement(C,I){const $=super.createElement(C,I);return super.setAttribute($,this.contentAttr,""),$}}class en extends me{constructor(C,I,$,ue){super(C),this.sharedStylesHost=I,this.hostEl=$,this.shadowRoot=$.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Ke=Z(ue.id,ue.styles);for(let vt=0;vt<Ke.length;vt++){const Dn=document.createElement("style");Dn.textContent=Ke[vt],this.shadowRoot.appendChild(Dn)}}nodeOrShadowRoot(C){return C===this.hostEl?this.shadowRoot:C}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(C,I){return super.appendChild(this.nodeOrShadowRoot(C),I)}insertBefore(C,I,$){return super.insertBefore(this.nodeOrShadowRoot(C),I,$)}removeChild(C,I){return super.removeChild(this.nodeOrShadowRoot(C),I)}parentNode(C){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(C)))}}let At=(()=>{class x extends Ye{constructor(I){super(I)}supports(I){return!0}addEventListener(I,$,ue){return I.addEventListener($,ue,!1),()=>this.removeEventListener(I,$,ue)}removeEventListener(I,$,ue){return I.removeEventListener($,ue)}}return x.\u0275fac=function(I){return new(I||x)(f.LFG(s.K0))},x.\u0275prov=f.Yz7({token:x,factory:x.\u0275fac}),x})();const It=["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"},et={alt:x=>x.altKey,control:x=>x.ctrlKey,meta:x=>x.metaKey,shift:x=>x.shiftKey};let fe=(()=>{class x extends Ye{constructor(I){super(I)}supports(I){return null!=x.parseEventName(I)}addEventListener(I,$,ue){const Ke=x.parseEventName($),vt=x.eventCallback(Ke.fullKey,ue,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,s.q)().onAndCancel(I,Ke.domEventName,vt))}static parseEventName(I){const $=I.toLowerCase().split("."),ue=$.shift();if(0===$.length||"keydown"!==ue&&"keyup"!==ue)return null;const Ke=x._normalizeKey($.pop());let vt="",Dn=$.indexOf("code");if(Dn>-1&&($.splice(Dn,1),vt="code."),It.forEach(Dr=>{const Sn=$.indexOf(Dr);Sn>-1&&($.splice(Sn,1),vt+=Dr+".")}),vt+=Ke,0!=$.length||0===Ke.length)return null;const Mn={};return Mn.domEventName=ue,Mn.fullKey=vt,Mn}static matchEventFullKeyCode(I,$){let ue=Le[I.key]||I.key,Ke="";return $.indexOf("code.")>-1&&(ue=I.code,Ke="code."),!(null==ue||!ue)&&(ue=ue.toLowerCase()," "===ue?ue="space":"."===ue&&(ue="dot"),It.forEach(vt=>{vt!==ue&&(0,et[vt])(I)&&(Ke+=vt+".")}),Ke+=ue,Ke===$)}static eventCallback(I,$,ue){return Ke=>{x.matchEventFullKeyCode(Ke,I)&&ue.runGuarded(()=>$(Ke))}}static _normalizeKey(I){return"esc"===I?"escape":I}}return x.\u0275fac=function(I){return new(I||x)(f.LFG(s.K0))},x.\u0275prov=f.Yz7({token:x,factory:x.\u0275fac}),x})();const In=(0,f.eFA)(f._c5,"browser",[{provide:f.Lbi,useValue:s.bD},{provide:f.g9A,useValue:function Kt(){K.makeCurrent()},multi:!0},{provide:s.K0,useFactory:function vn(){return(0,f.RDi)(document),document},deps:[]}]),Xt=new f.OlP(""),wn=[{provide:f.rWj,useClass:class W{addToWindow(C){f.dqk.getAngularTestability=($,ue=!0)=>{const Ke=C.findTestabilityInTree($,ue);if(null==Ke)throw new Error("Could not find testability for element.");return Ke},f.dqk.getAllAngularTestabilities=()=>C.getAllTestabilities(),f.dqk.getAllAngularRootElements=()=>C.getAllRootElements(),f.dqk.frameworkStabilizers||(f.dqk.frameworkStabilizers=[]),f.dqk.frameworkStabilizers.push($=>{const ue=f.dqk.getAllAngularTestabilities();let Ke=ue.length,vt=!1;const Dn=function(Mn){vt=vt||Mn,Ke--,0==Ke&&$(vt)};ue.forEach(function(Mn){Mn.whenStable(Dn)})})}findTestabilityInTree(C,I,$){return null==I?null:C.getTestability(I)??($?(0,s.q)().isShadowRoot(I)?this.findTestabilityInTree(C,I.host,!0):this.findTestabilityInTree(C,I.parentElement,!0):null)}},deps:[]},{provide:f.lri,useClass:f.dDg,deps:[f.R0b,f.eoX,f.rWj]},{provide:f.dDg,useClass:f.dDg,deps:[f.R0b,f.eoX,f.rWj]}],Gt=[{provide:f.zSh,useValue:"root"},{provide:f.qLn,useFactory:function Wn(){return new f.qLn},deps:[]},{provide:Te,useClass:At,multi:!0,deps:[s.K0,f.R0b,f.Lbi]},{provide:Te,useClass:fe,multi:!0,deps:[s.K0]},{provide:Ie,useClass:Ie,deps:[$e,Fe,f.AFp]},{provide:f.FYo,useExisting:Ie},{provide:Se,useExisting:Fe},{provide:Fe,useClass:Fe,deps:[s.K0]},{provide:$e,useClass:$e,deps:[Te,f.R0b]},{provide:s.JF,useClass:xe,deps:[]},[]];let yt=(()=>{class x{constructor(I){}static withServerTransition(I){return{ngModule:x,providers:[{provide:f.AFp,useValue:I.appId},{provide:Q,useExisting:f.AFp},Y]}}}return x.\u0275fac=function(I){return new(I||x)(f.LFG(Xt,12))},x.\u0275mod=f.oAB({type:x}),x.\u0275inj=f.cJS({providers:[...Gt,...wn],imports:[s.ez,f.hGG]}),x})(),bn=(()=>{class x{constructor(I){this._doc=I}getTitle(){return this._doc.title}setTitle(I){this._doc.title=I||""}}return x.\u0275fac=function(I){return new(I||x)(f.LFG(s.K0))},x.\u0275prov=f.Yz7({token:x,factory:function(I){let $=null;return $=I?new I:function gn(){return new bn((0,f.LFG)(s.K0))}(),$},providedIn:"root"}),x})();typeof window<"u"&&window;let ot=(()=>{class x{}return x.\u0275fac=function(I){return new(I||x)},x.\u0275prov=f.Yz7({token:x,factory:function(I){let $=null;return $=I?new(I||x):f.LFG(Bt),$},providedIn:"root"}),x})(),Bt=(()=>{class x extends ot{constructor(I){super(),this._doc=I}sanitize(I,$){if(null==$)return null;switch(I){case f.q3G.NONE:return $;case f.q3G.HTML:return(0,f.qzn)($,"HTML")?(0,f.z3N)($):(0,f.EiD)(this._doc,String($)).toString();case f.q3G.STYLE:return(0,f.qzn)($,"Style")?(0,f.z3N)($):$;case f.q3G.SCRIPT:if((0,f.qzn)($,"Script"))return(0,f.z3N)($);throw new Error("unsafe value used in a script context");case f.q3G.URL:return(0,f.qzn)($,"URL")?(0,f.z3N)($):(0,f.mCW)(String($));case f.q3G.RESOURCE_URL:if((0,f.qzn)($,"ResourceURL"))return(0,f.z3N)($);throw new Error(`unsafe value used in a resource URL context (see ${f.JZr})`);default:throw new Error(`Unexpected SecurityContext ${I} (see ${f.JZr})`)}}bypassSecurityTrustHtml(I){return(0,f.JVY)(I)}bypassSecurityTrustStyle(I){return(0,f.L6k)(I)}bypassSecurityTrustScript(I){return(0,f.eBb)(I)}bypassSecurityTrustUrl(I){return(0,f.LAX)(I)}bypassSecurityTrustResourceUrl(I){return(0,f.pB0)(I)}}return x.\u0275fac=function(I){return new(I||x)(f.LFG(s.K0))},x.\u0275prov=f.Yz7({token:x,factory:function(I){let $=null;return $=I?new I:function Nt(x){return new Bt(x.get(s.K0))}(f.LFG(f.zs3)),$},providedIn:"root"}),x})()},284:(it,Ce,D)=>{D.d(Ce,{gz:()=>Si,m2:()=>dn,F0:()=>E,rH:()=>l,Od:()=>_,Bz:()=>Qt,lC:()=>rr});var s=D(4650),f=D(8996),U=D(9646),K=D(1135),X=D(6805),J=D(9841),oe=D(7272),ee=D(9770),Q=D(9635),j=D(2843),Y=D(9751),W=D(515),xe=D(727),Te=D(4482),$e=D(5403);function Ye(){return(0,Te.e)((d,h)=>{let c=null;d._refCount++;const m=(0,$e.x)(h,void 0,void 0,void 0,()=>{if(!d||d._refCount<=0||0<--d._refCount)return void(c=null);const w=d._connection,N=c;c=null,w&&(!N||w===N)&&w.unsubscribe(),h.unsubscribe()});d.subscribe(m),m.closed||(c=d.connect())})}class Se extends Y.y{constructor(h,c){super(),this.source=h,this.subjectFactory=c,this._subject=null,this._refCount=0,this._connection=null,(0,Te.A)(h)&&(this.lift=h.lift)}_subscribe(h){return this.getSubject().subscribe(h)}getSubject(){const h=this._subject;return(!h||h.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:h}=this;this._subject=this._connection=null,h?.unsubscribe()}connect(){let h=this._connection;if(!h){h=this._connection=new xe.w0;const c=this.getSubject();h.add(this.source.subscribe((0,$e.x)(c,void 0,()=>{this._teardown(),c.complete()},m=>{this._teardown(),c.error(m)},()=>this._teardown()))),h.closed&&(this._connection=null,h=xe.w0.EMPTY)}return h}refCount(){return Ye()(this)}}var Fe=D(7579),Pe=D(6895),De=D(4004),Me=D(3900),H=D(5698),ae=D(8675),le=D(9300),pe=D(5577),se=D(590),ge=D(4351),Z=D(8505),re=D(262),Ie=D(5026);function me(d){return d<=0?()=>W.E:(0,Te.e)((h,c)=>{let m=[];h.subscribe((0,$e.x)(c,w=>{m.push(w),d<m.length&&m.shift()},()=>{for(const w of m)c.next(w);c.complete()},void 0,()=>{m=null}))})}var We=D(8068),qe=D(6590),pt=D(4671);function Ht(d,h){const c=arguments.length>=2;return m=>m.pipe(d?(0,le.h)((w,N)=>d(w,N,m)):pt.y,me(1),c?(0,qe.d)(h):(0,We.T)(()=>new X.K))}var en=D(2529),It=D(8746),Le=D(8189),et=D(1481);const fe="primary",Ne=Symbol("RouteTitle");class rt{constructor(h){this.params=h||{}}has(h){return Object.prototype.hasOwnProperty.call(this.params,h)}get(h){if(this.has(h)){const c=this.params[h];return Array.isArray(c)?c[0]:c}return null}getAll(h){if(this.has(h)){const c=this.params[h];return Array.isArray(c)?c:[c]}return[]}get keys(){return Object.keys(this.params)}}function Ft(d){return new rt(d)}function $t(d,h,c){const m=c.path.split("/");if(m.length>d.length||"full"===c.pathMatch&&(h.hasChildren()||m.length<d.length))return null;const w={};for(let N=0;N<m.length;N++){const V=m[N],Oe=d[N];if(V.startsWith(":"))w[V.substring(1)]=Oe;else if(V!==Oe.path)return null}return{consumed:d.slice(0,m.length),posParams:w}}function Kt(d,h){const c=d?Object.keys(d):void 0,m=h?Object.keys(h):void 0;if(!c||!m||c.length!=m.length)return!1;let w;for(let N=0;N<c.length;N++)if(w=c[N],!Wn(d[w],h[w]))return!1;return!0}function Wn(d,h){if(Array.isArray(d)&&Array.isArray(h)){if(d.length!==h.length)return!1;const c=[...d].sort(),m=[...h].sort();return c.every((w,N)=>m[N]===w)}return d===h}function vn(d){return Array.prototype.concat.apply([],d)}function kn(d){return d.length>0?d[d.length-1]:null}function Xt(d,h){for(const c in d)d.hasOwnProperty(c)&&h(d[c],c)}function wn(d){return(0,s.CqO)(d)?d:(0,s.QGY)(d)?(0,f.D)(Promise.resolve(d)):(0,U.of)(d)}const Gt=!1,yt={exact:function gn(d,h,c){if(!Re(d.segments,h.segments)||!Tt(d.segments,h.segments,c)||d.numberOfChildren!==h.numberOfChildren)return!1;for(const m in h.children)if(!d.children[m]||!gn(d.children[m],h.children[m],c))return!1;return!0},subset:Hn},wt={exact:function $n(d,h){return Kt(d,h)},subset:function bn(d,h){return Object.keys(h).length<=Object.keys(d).length&&Object.keys(h).every(c=>Wn(d[c],h[c]))},ignored:()=>!0};function tn(d,h,c){return yt[c.paths](d.root,h.root,c.matrixParams)&&wt[c.queryParams](d.queryParams,h.queryParams)&&!("exact"===c.fragment&&d.fragment!==h.fragment)}function Hn(d,h,c){return Ot(d,h,h.segments,c)}function Ot(d,h,c,m){if(d.segments.length>c.length){const w=d.segments.slice(0,c.length);return!(!Re(w,c)||h.hasChildren()||!Tt(w,c,m))}if(d.segments.length===c.length){if(!Re(d.segments,c)||!Tt(d.segments,c,m))return!1;for(const w in h.children)if(!d.children[w]||!Hn(d.children[w],h.children[w],m))return!1;return!0}{const w=c.slice(0,d.segments.length),N=c.slice(d.segments.length);return!!(Re(d.segments,w)&&Tt(d.segments,w,m)&&d.children[fe])&&Ot(d.children[fe],h,N,m)}}function Tt(d,h,c){return h.every((m,w)=>wt[c](d[w].parameters,m.parameters))}class ut{constructor(h=new xt([],{}),c={},m=null){this.root=h,this.queryParams=c,this.fragment=m}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ft(this.queryParams)),this._queryParamMap}toString(){return Yn.serialize(this)}}class xt{constructor(h,c){this.segments=h,this.children=c,this.parent=null,Xt(c,(m,w)=>m.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Pt(this)}}class ze{constructor(h,c){this.path=h,this.parameters=c}get parameterMap(){return this._parameterMap||(this._parameterMap=Ft(this.parameters)),this._parameterMap}toString(){return ve(this)}}function Re(d,h){return d.length===h.length&&d.every((c,m)=>c.path===h[m].path)}let kt=(()=>{class d{}return d.\u0275fac=function(c){return new(c||d)},d.\u0275prov=s.Yz7({token:d,factory:function(){return new Mt},providedIn:"root"}),d})();class Mt{parse(h){const c=new ye(h);return new ut(c.parseRootSegment(),c.parseQueryParams(),c.parseFragment())}serialize(h){const c=`/${Tn(h.root,!0)}`,m=function G(d){const h=Object.keys(d).map(c=>{const m=d[c];return Array.isArray(m)?m.map(w=>`${lt(c)}=${lt(w)}`).join("&"):`${lt(c)}=${lt(m)}`}).filter(c=>!!c);return h.length?`?${h.join("&")}`:""}(h.queryParams);return`${c}${m}${"string"==typeof h.fragment?`#${function ne(d){return encodeURI(d)}(h.fragment)}`:""}`}}const Yn=new Mt;function Pt(d){return d.segments.map(h=>ve(h)).join("/")}function Tn(d,h){if(!d.hasChildren())return Pt(d);if(h){const c=d.children[fe]?Tn(d.children[fe],!1):"",m=[];return Xt(d.children,(w,N)=>{N!==fe&&m.push(`${N}:${Tn(w,!1)}`)}),m.length>0?`${c}(${m.join("//")})`:c}{const c=function Ze(d,h){let c=[];return Xt(d.children,(m,w)=>{w===fe&&(c=c.concat(h(m,w)))}),Xt(d.children,(m,w)=>{w!==fe&&(c=c.concat(h(m,w)))}),c}(d,(m,w)=>w===fe?[Tn(d.children[fe],!1)]:[`${w}:${Tn(m,!1)}`]);return 1===Object.keys(d.children).length&&null!=d.children[fe]?`${Pt(d)}/${c[0]}`:`${Pt(d)}/(${c.join("//")})`}}function Zn(d){return encodeURIComponent(d).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function lt(d){return Zn(d).replace(/%3B/gi,";")}function F(d){return Zn(d).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function M(d){return decodeURIComponent(d)}function R(d){return M(d.replace(/\+/g,"%20"))}function ve(d){return`${F(d.path)}${function L(d){return Object.keys(d).map(h=>`;${F(h)}=${F(d[h])}`).join("")}(d.parameters)}`}const de=/^[^\/()?;=#]+/;function He(d){const h=d.match(de);return h?h[0]:""}const Ee=/^[^=?&#]+/,Nt=/^[^&#]+/;class ye{constructor(h){this.url=h,this.remaining=h}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new xt([],{}):new xt([],this.parseChildren())}parseQueryParams(){const h={};if(this.consumeOptional("?"))do{this.parseQueryParam(h)}while(this.consumeOptional("&"));return h}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const h=[];for(this.peekStartsWith("(")||h.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),h.push(this.parseSegment());let c={};this.peekStartsWith("/(")&&(this.capture("/"),c=this.parseParens(!0));let m={};return this.peekStartsWith("(")&&(m=this.parseParens(!1)),(h.length>0||Object.keys(c).length>0)&&(m[fe]=new xt(h,c)),m}parseSegment(){const h=He(this.remaining);if(""===h&&this.peekStartsWith(";"))throw new s.vHH(4009,Gt);return this.capture(h),new ze(M(h),this.parseMatrixParams())}parseMatrixParams(){const h={};for(;this.consumeOptional(";");)this.parseParam(h);return h}parseParam(h){const c=He(this.remaining);if(!c)return;this.capture(c);let m="";if(this.consumeOptional("=")){const w=He(this.remaining);w&&(m=w,this.capture(m))}h[M(c)]=M(m)}parseQueryParam(h){const c=function ot(d){const h=d.match(Ee);return h?h[0]:""}(this.remaining);if(!c)return;this.capture(c);let m="";if(this.consumeOptional("=")){const V=function Bt(d){const h=d.match(Nt);return h?h[0]:""}(this.remaining);V&&(m=V,this.capture(m))}const w=R(c),N=R(m);if(h.hasOwnProperty(w)){let V=h[w];Array.isArray(V)||(V=[V],h[w]=V),V.push(N)}else h[w]=N}parseParens(h){const c={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const m=He(this.remaining),w=this.remaining[m.length];if("/"!==w&&")"!==w&&";"!==w)throw new s.vHH(4010,Gt);let N;m.indexOf(":")>-1?(N=m.slice(0,m.indexOf(":")),this.capture(N),this.capture(":")):h&&(N=fe);const V=this.parseChildren();c[N]=1===Object.keys(V).length?V[fe]:new xt([],V),this.consumeOptional("//")}return c}peekStartsWith(h){return this.remaining.startsWith(h)}consumeOptional(h){return!!this.peekStartsWith(h)&&(this.remaining=this.remaining.substring(h.length),!0)}capture(h){if(!this.consumeOptional(h))throw new s.vHH(4011,Gt)}}function x(d){return d.segments.length>0?new xt([],{[fe]:d}):d}function C(d){const h={};for(const m of Object.keys(d.children)){const N=C(d.children[m]);(N.segments.length>0||N.hasChildren())&&(h[m]=N)}return function I(d){if(1===d.numberOfChildren&&d.children[fe]){const h=d.children[fe];return new xt(d.segments.concat(h.segments),h.children)}return d}(new xt(d.segments,h))}function $(d){return d instanceof ut}function Mn(d,h,c,m,w){if(0===c.length)return Jr(h.root,h.root,h.root,m,w);const N=function Hi(d){if("string"==typeof d[0]&&1===d.length&&"/"===d[0])return new oo(!0,0,d);let h=0,c=!1;const m=d.reduce((w,N,V)=>{if("object"==typeof N&&null!=N){if(N.outlets){const Oe={};return Xt(N.outlets,(nt,_t)=>{Oe[_t]="string"==typeof nt?nt.split("/"):nt}),[...w,{outlets:Oe}]}if(N.segmentPath)return[...w,N.segmentPath]}return"string"!=typeof N?[...w,N]:0===V?(N.split("/").forEach((Oe,nt)=>{0==nt&&"."===Oe||(0==nt&&""===Oe?c=!0:".."===Oe?h++:""!=Oe&&w.push(Oe))}),w):[...w,N]},[]);return new oo(c,h,m)}(c);return N.toRoot()?Jr(h.root,h.root,new xt([],{}),m,w):function V(nt){const _t=function _n(d,h,c,m){if(d.isAbsolute)return new Ur(h.root,!0,0);if(-1===m)return new Ur(c,c===h.root,0);return function Nn(d,h,c){let m=d,w=h,N=c;for(;N>w;){if(N-=w,m=m.parent,!m)throw new s.vHH(4005,!1);w=m.segments.length}return new Ur(m,!1,w-N)}(c,m+(Dr(d.commands[0])?0:1),d.numberOfDoubleDots)}(N,h,d.snapshot?._urlSegment,nt),St=_t.processChildren?tr(_t.segmentGroup,_t.index,N.commands):qn(_t.segmentGroup,_t.index,N.commands);return Jr(h.root,_t.segmentGroup,St,m,w)}(d.snapshot?._lastPathIndex)}function Dr(d){return"object"==typeof d&&null!=d&&!d.outlets&&!d.segmentPath}function Sn(d){return"object"==typeof d&&null!=d&&d.outlets}function Jr(d,h,c,m,w){let V,N={};m&&Xt(m,(nt,_t)=>{N[_t]=Array.isArray(nt)?nt.map(St=>`${St}`):`${nt}`}),V=d===h?c:si(d,h,c);const Oe=x(C(V));return new ut(Oe,N,w)}function si(d,h,c){const m={};return Xt(d.children,(w,N)=>{m[N]=w===h?c:si(w,h,c)}),new xt(d.segments,m)}class oo{constructor(h,c,m){if(this.isAbsolute=h,this.numberOfDoubleDots=c,this.commands=m,h&&m.length>0&&Dr(m[0]))throw new s.vHH(4003,!1);const w=m.find(Sn);if(w&&w!==kn(m))throw new s.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Ur{constructor(h,c,m){this.segmentGroup=h,this.processChildren=c,this.index=m}}function qn(d,h,c){if(d||(d=new xt([],{})),0===d.segments.length&&d.hasChildren())return tr(d,h,c);const m=function xr(d,h,c){let m=0,w=h;const N={match:!1,pathIndex:0,commandIndex:0};for(;w<d.segments.length;){if(m>=c.length)return N;const V=d.segments[w],Oe=c[m];if(Sn(Oe))break;const nt=`${Oe}`,_t=m<c.length-1?c[m+1]:null;if(w>0&&void 0===nt)break;if(nt&&_t&&"object"==typeof _t&&void 0===_t.outlets){if(!ur(nt,_t,V))return N;m+=2}else{if(!ur(nt,{},V))return N;m++}w++}return{match:!0,pathIndex:w,commandIndex:m}}(d,h,c),w=c.slice(m.commandIndex);if(m.match&&m.pathIndex<d.segments.length){const N=new xt(d.segments.slice(0,m.pathIndex),{});return N.children[fe]=new xt(d.segments.slice(m.pathIndex),d.children),tr(N,0,w)}return m.match&&0===w.length?new xt(d.segments,{}):m.match&&!d.hasChildren()?gt(d,h,c):m.match?tr(d,0,w):gt(d,h,c)}function tr(d,h,c){if(0===c.length)return new xt(d.segments,{});{const m=function cr(d){return Sn(d[0])?d[0].outlets:{[fe]:d}}(c),w={};return Xt(m,(N,V)=>{"string"==typeof N&&(N=[N]),null!==N&&(w[V]=qn(d.children[V],h,N))}),Xt(d.children,(N,V)=>{void 0===m[V]&&(w[V]=N)}),new xt(d.segments,w)}}function gt(d,h,c){const m=d.segments.slice(0,h);let w=0;for(;w<c.length;){const N=c[w];if(Sn(N)){const nt=Vt(N.outlets);return new xt(m,nt)}if(0===w&&Dr(c[0])){m.push(new ze(d.segments[h].path,Vn(c[0]))),w++;continue}const V=Sn(N)?N.outlets[fe]:`${N}`,Oe=w<c.length-1?c[w+1]:null;V&&Oe&&Dr(Oe)?(m.push(new ze(V,Vn(Oe))),w+=2):(m.push(new ze(V,{})),w++)}return new xt(m,{})}function Vt(d){const h={};return Xt(d,(c,m)=>{"string"==typeof c&&(c=[c]),null!==c&&(h[m]=gt(new xt([],{}),0,c))}),h}function Vn(d){const h={};return Xt(d,(c,m)=>h[m]=`${c}`),h}function ur(d,h,c){return d==c.path&&Kt(h,c.parameters)}const Er="imperative";class An{constructor(h,c){this.id=h,this.url=c}}class mr extends An{constructor(h,c,m="imperative",w=null){super(h,c),this.type=0,this.navigationTrigger=m,this.restoredState=w}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class dn extends An{constructor(h,c,m){super(h,c),this.urlAfterRedirects=m,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Or extends An{constructor(h,c,m,w){super(h,c),this.reason=m,this.code=w,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Cr extends An{constructor(h,c,m,w){super(h,c),this.reason=m,this.code=w,this.type=16}}class nn extends An{constructor(h,c,m,w){super(h,c),this.error=m,this.target=w,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Ti extends An{constructor(h,c,m,w){super(h,c),this.urlAfterRedirects=m,this.state=w,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Mi extends An{constructor(h,c,m,w){super(h,c),this.urlAfterRedirects=m,this.state=w,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class $i extends An{constructor(h,c,m,w,N){super(h,c),this.urlAfterRedirects=m,this.state=w,this.shouldActivate=N,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class nr extends An{constructor(h,c,m,w){super(h,c),this.urlAfterRedirects=m,this.state=w,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class dr extends An{constructor(h,c,m,w){super(h,c),this.urlAfterRedirects=m,this.state=w,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class _i{constructor(h){this.route=h,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class fi{constructor(h){this.route=h,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class wr{constructor(h){this.snapshot=h,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class hi{constructor(h){this.snapshot=h,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Vi{constructor(h){this.snapshot=h,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ln{constructor(h){this.snapshot=h,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class fr{constructor(h,c,m){this.routerEvent=h,this.position=c,this.anchor=m,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}let Pr=(()=>{class d{createUrlTree(c,m,w,N,V,Oe){return Mn(c||m.root,w,N,V,Oe)}}return d.\u0275fac=function(c){return new(c||d)},d.\u0275prov=s.Yz7({token:d,factory:d.\u0275fac}),d})(),hr=(()=>{class d{}return d.\u0275fac=function(c){return new(c||d)},d.\u0275prov=s.Yz7({token:d,factory:function(h){return Pr.\u0275fac(h)},providedIn:"root"}),d})();class gr{constructor(h){this._root=h}get root(){return this._root.value}parent(h){const c=this.pathFromRoot(h);return c.length>1?c[c.length-2]:null}children(h){const c=go(h,this._root);return c?c.children.map(m=>m.value):[]}firstChild(h){const c=go(h,this._root);return c&&c.children.length>0?c.children[0].value:null}siblings(h){const c=_r(h,this._root);return c.length<2?[]:c[c.length-2].children.map(w=>w.value).filter(w=>w!==h)}pathFromRoot(h){return _r(h,this._root).map(c=>c.value)}}function go(d,h){if(d===h.value)return h;for(const c of h.children){const m=go(d,c);if(m)return m}return null}function _r(d,h){if(d===h.value)return[h];for(const c of h.children){const m=_r(d,c);if(m.length)return m.unshift(h),m}return[]}class Kn{constructor(h,c){this.value=h,this.children=c}toString(){return`TreeNode(${this.value})`}}function qr(d){const h={};return d&&d.children.forEach(c=>h[c.value.outlet]=c),h}class zi extends gr{constructor(h,c){super(h),this.snapshot=c,Ki(this,h)}toString(){return this.snapshot.toString()}}function Gi(d,h){const c=function Rr(d,h){const V=new Ai([],{},{},"",{},fe,h,null,d.root,-1,{});return new Wi("",new Kn(V,[]))}(d,h),m=new K.X([new ze("",{})]),w=new K.X({}),N=new K.X({}),V=new K.X({}),Oe=new K.X(""),nt=new Si(m,w,V,Oe,N,fe,h,c.root);return nt.snapshot=c.root,new zi(new Kn(nt,[]),c)}class Si{constructor(h,c,m,w,N,V,Oe,nt){this.url=h,this.params=c,this.queryParams=m,this.fragment=w,this.data=N,this.outlet=V,this.component=Oe,this.title=this.data?.pipe((0,De.U)(_t=>_t[Ne]))??(0,U.of)(void 0),this._futureSnapshot=nt}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._paramMap=this.params.pipe((0,De.U)(h=>Ft(h)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,De.U)(h=>Ft(h)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function mo(d,h="emptyOnly"){const c=d.pathFromRoot;let m=0;if("always"!==h)for(m=c.length-1;m>=1;){const w=c[m],N=c[m-1];if(w.routeConfig&&""===w.routeConfig.path)m--;else{if(N.component)break;m--}}return function Fr(d){return d.reduce((h,c)=>({params:{...h.params,...c.params},data:{...h.data,...c.data},resolve:{...c.data,...h.resolve,...c.routeConfig?.data,...c._resolvedData}}),{params:{},data:{},resolve:{}})}(c.slice(m))}class Ai{get title(){return this.data?.[Ne]}constructor(h,c,m,w,N,V,Oe,nt,_t,St,yn){this.url=h,this.params=c,this.queryParams=m,this.fragment=w,this.data=N,this.outlet=V,this.component=Oe,this.routeConfig=nt,this._urlSegment=_t,this._lastPathIndex=St,this._resolve=yn}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._paramMap=Ft(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ft(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(m=>m.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Wi extends gr{constructor(h,c){super(c),this.url=h,Ki(this,c)}toString(){return _o(this._root)}}function Ki(d,h){h.value._routerState=d,h.children.forEach(c=>Ki(d,c))}function _o(d){const h=d.children.length>0?` { ${d.children.map(_o).join(", ")} } `:"";return`${d.value}${h}`}function yo(d){if(d.snapshot){const h=d.snapshot,c=d._futureSnapshot;d.snapshot=c,Kt(h.queryParams,c.queryParams)||d.queryParams.next(c.queryParams),h.fragment!==c.fragment&&d.fragment.next(c.fragment),Kt(h.params,c.params)||d.params.next(c.params),function ln(d,h){if(d.length!==h.length)return!1;for(let c=0;c<d.length;++c)if(!Kt(d[c],h[c]))return!1;return!0}(h.url,c.url)||d.url.next(c.url),Kt(h.data,c.data)||d.data.next(c.data)}else d.snapshot=d._futureSnapshot,d.data.next(d._futureSnapshot.data)}function Io(d,h){const c=Kt(d.params,h.params)&&function ft(d,h){return Re(d,h)&&d.every((c,m)=>Kt(c.parameters,h[m].parameters))}(d.url,h.url);return c&&!(!d.parent!=!h.parent)&&(!d.parent||Io(d.parent,h.parent))}function xi(d,h,c){if(c&&d.shouldReuseRoute(h.value,c.value.snapshot)){const m=c.value;m._futureSnapshot=h.value;const w=function ei(d,h,c){return h.children.map(m=>{for(const w of c.children)if(d.shouldReuseRoute(m.value,w.value.snapshot))return xi(d,m,w);return xi(d,m)})}(d,h,c);return new Kn(m,w)}{if(d.shouldAttach(h.value)){const N=d.retrieve(h.value);if(null!==N){const V=N.route;return V.value._futureSnapshot=h.value,V.children=h.children.map(Oe=>xi(d,Oe)),V}}const m=function _e(d){return new Si(new K.X(d.url),new K.X(d.params),new K.X(d.queryParams),new K.X(d.fragment),new K.X(d.data),d.outlet,d.component,d)}(h.value),w=h.children.map(N=>xi(d,N));return new Kn(m,w)}}const be="ngNavigationCancelingError";function ke(d,h){const{redirectTo:c,navigationBehaviorOptions:m}=$(h)?{redirectTo:h,navigationBehaviorOptions:void 0}:h,w=Xe(!1,0,h);return w.url=c,w.navigationBehaviorOptions=m,w}function Xe(d,h,c){const m=new Error("NavigationCancelingError: "+(d||""));return m[be]=!0,m.cancellationCode=h,c&&(m.url=c),m}function at(d){return ht(d)&&$(d.url)}function ht(d){return d&&d[be]}class zt{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new jn,this.attachRef=null}}let jn=(()=>{class d{constructor(){this.contexts=new Map}onChildOutletCreated(c,m){const w=this.getOrCreateContext(c);w.outlet=m,this.contexts.set(c,w)}onChildOutletDestroyed(c){const m=this.getContext(c);m&&(m.outlet=null,m.attachRef=null)}onOutletDeactivated(){const c=this.contexts;return this.contexts=new Map,c}onOutletReAttached(c){this.contexts=c}getOrCreateContext(c){let m=this.getContext(c);return m||(m=new zt,this.contexts.set(c,m)),m}getContext(c){return this.contexts.get(c)||null}}return d.\u0275fac=function(c){return new(c||d)},d.\u0275prov=s.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),d})();const rn=!1;let rr=(()=>{class d{constructor(){this.activated=null,this._activatedRoute=null,this.name=fe,this.activateEvents=new s.vpe,this.deactivateEvents=new s.vpe,this.attachEvents=new s.vpe,this.detachEvents=new s.vpe,this.parentContexts=(0,s.f3M)(jn),this.location=(0,s.f3M)(s.s_b),this.changeDetector=(0,s.f3M)(s.sBO),this.environmentInjector=(0,s.f3M)(s.lqb)}ngOnChanges(c){if(c.name){const{firstChange:m,previousValue:w}=c.name;if(m)return;this.isTrackedInParentContexts(w)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(w)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name)}isTrackedInParentContexts(c){return this.parentContexts.getContext(c)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const c=this.parentContexts.getContext(this.name);c?.route&&(c.attachRef?this.attach(c.attachRef,c.route):this.activateWith(c.route,c.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new s.vHH(4012,rn);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new s.vHH(4012,rn);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new s.vHH(4012,rn);this.location.detach();const c=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(c.instance),c}attach(c,m){this.activated=c,this._activatedRoute=m,this.location.insert(c.hostView),this.attachEvents.emit(c.instance)}deactivate(){if(this.activated){const c=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(c)}}activateWith(c,m){if(this.isActivated)throw new s.vHH(4013,rn);this._activatedRoute=c;const w=this.location,V=c.snapshot.component,Oe=this.parentContexts.getOrCreateContext(this.name).children,nt=new kr(c,Oe,w.injector);if(m&&function Oi(d){return!!d.resolveComponentFactory}(m)){const _t=m.resolveComponentFactory(V);this.activated=w.createComponent(_t,w.length,nt)}else this.activated=w.createComponent(V,{index:w.length,injector:nt,environmentInjector:m??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return d.\u0275fac=function(c){return new(c||d)},d.\u0275dir=s.lG2({type:d,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[s.TTD]}),d})();class kr{constructor(h,c,m){this.route=h,this.childContexts=c,this.parent=m}get(h,c){return h===Si?this.route:h===jn?this.childContexts:this.parent.get(h,c)}}let ai=(()=>{class d{}return d.\u0275fac=function(c){return new(c||d)},d.\u0275cmp=s.Xpm({type:d,selectors:[["ng-component"]],standalone:!0,features:[s.jDz],decls:1,vars:0,template:function(c,m){1&c&&s._UZ(0,"router-outlet")},dependencies:[rr],encapsulation:2}),d})();function li(d,h){return d.providers&&!d._injector&&(d._injector=(0,s.MMx)(d.providers,h,`Route: ${d.path}`)),d._injector??h}function ni(d){const h=d.children&&d.children.map(ni),c=h?{...d,children:h}:{...d};return!c.component&&!c.loadComponent&&(h||c.loadChildren)&&c.outlet&&c.outlet!==fe&&(c.component=ai),c}function xn(d){return d.outlet||fe}function So(d,h){const c=d.filter(m=>xn(m)===h);return c.push(...d.filter(m=>xn(m)!==h)),c}function Kr(d){if(!d)return null;if(d.routeConfig?._injector)return d.routeConfig._injector;for(let h=d.parent;h;h=h.parent){const c=h.routeConfig;if(c?._loadedInjector)return c._loadedInjector;if(c?._injector)return c._injector}return null}class ao{constructor(h,c,m,w){this.routeReuseStrategy=h,this.futureState=c,this.currState=m,this.forwardEvent=w}activate(h){const c=this.futureState._root,m=this.currState?this.currState._root:null;this.deactivateChildRoutes(c,m,h),yo(this.futureState.root),this.activateChildRoutes(c,m,h)}deactivateChildRoutes(h,c,m){const w=qr(c);h.children.forEach(N=>{const V=N.value.outlet;this.deactivateRoutes(N,w[V],m),delete w[V]}),Xt(w,(N,V)=>{this.deactivateRouteAndItsChildren(N,m)})}deactivateRoutes(h,c,m){const w=h.value,N=c?c.value:null;if(w===N)if(w.component){const V=m.getContext(w.outlet);V&&this.deactivateChildRoutes(h,c,V.children)}else this.deactivateChildRoutes(h,c,m);else N&&this.deactivateRouteAndItsChildren(c,m)}deactivateRouteAndItsChildren(h,c){h.value.component&&this.routeReuseStrategy.shouldDetach(h.value.snapshot)?this.detachAndStoreRouteSubtree(h,c):this.deactivateRouteAndOutlet(h,c)}detachAndStoreRouteSubtree(h,c){const m=c.getContext(h.value.outlet),w=m&&h.value.component?m.children:c,N=qr(h);for(const V of Object.keys(N))this.deactivateRouteAndItsChildren(N[V],w);if(m&&m.outlet){const V=m.outlet.detach(),Oe=m.children.onOutletDeactivated();this.routeReuseStrategy.store(h.value.snapshot,{componentRef:V,route:h,contexts:Oe})}}deactivateRouteAndOutlet(h,c){const m=c.getContext(h.value.outlet),w=m&&h.value.component?m.children:c,N=qr(h);for(const V of Object.keys(N))this.deactivateRouteAndItsChildren(N[V],w);m&&m.outlet&&(m.outlet.deactivate(),m.children.onOutletDeactivated(),m.attachRef=null,m.resolver=null,m.route=null)}activateChildRoutes(h,c,m){const w=qr(c);h.children.forEach(N=>{this.activateRoutes(N,w[N.value.outlet],m),this.forwardEvent(new Ln(N.value.snapshot))}),h.children.length&&this.forwardEvent(new hi(h.value.snapshot))}activateRoutes(h,c,m){const w=h.value,N=c?c.value:null;if(yo(w),w===N)if(w.component){const V=m.getOrCreateContext(w.outlet);this.activateChildRoutes(h,c,V.children)}else this.activateChildRoutes(h,c,m);else if(w.component){const V=m.getOrCreateContext(w.outlet);if(this.routeReuseStrategy.shouldAttach(w.snapshot)){const Oe=this.routeReuseStrategy.retrieve(w.snapshot);this.routeReuseStrategy.store(w.snapshot,null),V.children.onOutletReAttached(Oe.contexts),V.attachRef=Oe.componentRef,V.route=Oe.route.value,V.outlet&&V.outlet.attach(Oe.componentRef,Oe.route.value),yo(Oe.route.value),this.activateChildRoutes(h,null,V.children)}else{const Oe=Kr(w.snapshot),nt=Oe?.get(s._Vd)??null;V.attachRef=null,V.route=w,V.resolver=nt,V.injector=Oe,V.outlet&&V.outlet.activateWith(w,V.injector),this.activateChildRoutes(h,null,V.children)}}else this.activateChildRoutes(h,null,m)}}class Zi{constructor(h){this.path=h,this.route=this.path[this.path.length-1]}}class Yr{constructor(h,c){this.component=h,this.route=c}}function Nr(d,h,c){const m=d._root;return Ao(m,h?h._root:null,c,[m.value])}function vi(d,h){const c=Symbol(),m=h.get(d,c);return m===c?"function"!=typeof d||(0,s.Z0I)(d)?h.get(d):d:m}function Ao(d,h,c,m,w={canDeactivateChecks:[],canActivateChecks:[]}){const N=qr(h);return d.children.forEach(V=>{(function ci(d,h,c,m,w={canDeactivateChecks:[],canActivateChecks:[]}){const N=d.value,V=h?h.value:null,Oe=c?c.getContext(d.value.outlet):null;if(V&&N.routeConfig===V.routeConfig){const nt=function Jo(d,h,c){if("function"==typeof c)return c(d,h);switch(c){case"pathParamsChange":return!Re(d.url,h.url);case"pathParamsOrQueryParamsChange":return!Re(d.url,h.url)||!Kt(d.queryParams,h.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Io(d,h)||!Kt(d.queryParams,h.queryParams);default:return!Io(d,h)}}(V,N,N.routeConfig.runGuardsAndResolvers);nt?w.canActivateChecks.push(new Zi(m)):(N.data=V.data,N._resolvedData=V._resolvedData),Ao(d,h,N.component?Oe?Oe.children:null:c,m,w),nt&&Oe&&Oe.outlet&&Oe.outlet.isActivated&&w.canDeactivateChecks.push(new Yr(Oe.outlet.component,V))}else V&&bi(h,Oe,w),w.canActivateChecks.push(new Zi(m)),Ao(d,null,N.component?Oe?Oe.children:null:c,m,w)})(V,N[V.value.outlet],c,m.concat([V.value]),w),delete N[V.value.outlet]}),Xt(N,(V,Oe)=>bi(V,c.getContext(Oe),w)),w}function bi(d,h,c){const m=qr(d),w=d.value;Xt(m,(N,V)=>{bi(N,w.component?h?h.children.getContext(V):null:h,c)}),c.canDeactivateChecks.push(new Yr(w.component&&h&&h.outlet&&h.outlet.isActivated?h.outlet.component:null,w))}function Wt(d){return"function"==typeof d}function Qe(d){return d instanceof X.K||"EmptyError"===d?.name}const fn=Symbol("INITIAL_VALUE");function Qi(){return(0,Me.w)(d=>(0,J.a)(d.map(h=>h.pipe((0,H.q)(1),(0,ae.O)(fn)))).pipe((0,De.U)(h=>{for(const c of h)if(!0!==c){if(c===fn)return fn;if(!1===c||c instanceof ut)return c}return!0}),(0,le.h)(h=>h!==fn),(0,H.q)(1)))}function Xi(d){return(0,Q.z)((0,Z.b)(h=>{if($(h))throw ke(0,h)}),(0,De.U)(h=>!0===h))}const zn={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Di(d,h,c,m,w){const N=$r(d,h,c);return N.matched?function Mr(d,h,c,m){const w=h.canMatch;if(!w||0===w.length)return(0,U.of)(!0);const N=w.map(V=>{const Oe=vi(V,d);return wn(function es(d){return d&&Wt(d.canMatch)}(Oe)?Oe.canMatch(h,c):d.runInContext(()=>Oe(h,c)))});return(0,U.of)(N).pipe(Qi(),Xi())}(m=li(h,m),h,c).pipe((0,De.U)(V=>!0===V?N:{...zn})):(0,U.of)(N)}function $r(d,h,c){if(""===h.path)return"full"===h.pathMatch&&(d.hasChildren()||c.length>0)?{...zn}:{matched:!0,consumedSegments:[],remainingSegments:c,parameters:{},positionalParamSegments:{}};const w=(h.matcher||$t)(c,d,h);if(!w)return{...zn};const N={};Xt(w.posParams,(Oe,nt)=>{N[nt]=Oe.path});const V=w.consumed.length>0?{...N,...w.consumed[w.consumed.length-1].parameters}:N;return{matched:!0,consumedSegments:w.consumed,remainingSegments:c.slice(w.consumed.length),parameters:V,positionalParamSegments:w.posParams??{}}}function Vr(d,h,c,m){if(c.length>0&&function Ro(d,h,c){return c.some(m=>lo(d,h,m)&&xn(m)!==fe)}(d,c,m)){const N=new xt(h,function Do(d,h,c,m){const w={};w[fe]=m,m._sourceSegment=d,m._segmentIndexShift=h.length;for(const N of c)if(""===N.path&&xn(N)!==fe){const V=new xt([],{});V._sourceSegment=d,V._segmentIndexShift=h.length,w[xn(N)]=V}return w}(d,h,m,new xt(c,d.children)));return N._sourceSegment=d,N._segmentIndexShift=h.length,{segmentGroup:N,slicedSegments:[]}}if(0===c.length&&function ns(d,h,c){return c.some(m=>lo(d,h,m))}(d,c,m)){const N=new xt(d.segments,function ts(d,h,c,m,w){const N={};for(const V of m)if(lo(d,c,V)&&!w[xn(V)]){const Oe=new xt([],{});Oe._sourceSegment=d,Oe._segmentIndexShift=h.length,N[xn(V)]=Oe}return{...w,...N}}(d,h,c,m,d.children));return N._sourceSegment=d,N._segmentIndexShift=h.length,{segmentGroup:N,slicedSegments:c}}const w=new xt(d.segments,d.children);return w._sourceSegment=d,w._segmentIndexShift=h.length,{segmentGroup:w,slicedSegments:c}}function lo(d,h,c){return(!(d.hasChildren()||h.length>0)||"full"!==c.pathMatch)&&""===c.path}function Pi(d,h,c,m){return!!(xn(d)===m||m!==fe&&lo(h,c,d))&&("**"===d.path||$r(h,d,c).matched)}function Go(d,h,c){return 0===h.length&&!d.children[c]}const Ri=!1;class Fi{constructor(h){this.segmentGroup=h||null}}class co{constructor(h){this.urlTree=h}}function sr(d){return(0,j._)(new Fi(d))}function Ji(d){return(0,j._)(new co(d))}class bs{constructor(h,c,m,w,N){this.injector=h,this.configLoader=c,this.urlSerializer=m,this.urlTree=w,this.config=N,this.allowRedirects=!0}apply(){const h=Vr(this.urlTree.root,[],[],this.config).segmentGroup,c=new xt(h.segments,h.children);return this.expandSegmentGroup(this.injector,this.config,c,fe).pipe((0,De.U)(N=>this.createUrlTree(C(N),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,re.K)(N=>{if(N instanceof co)return this.allowRedirects=!1,this.match(N.urlTree);throw N instanceof Fi?this.noMatchError(N):N}))}match(h){return this.expandSegmentGroup(this.injector,this.config,h.root,fe).pipe((0,De.U)(w=>this.createUrlTree(C(w),h.queryParams,h.fragment))).pipe((0,re.K)(w=>{throw w instanceof Fi?this.noMatchError(w):w}))}noMatchError(h){return new s.vHH(4002,Ri)}createUrlTree(h,c,m){const w=x(h);return new ut(w,c,m)}expandSegmentGroup(h,c,m,w){return 0===m.segments.length&&m.hasChildren()?this.expandChildren(h,c,m).pipe((0,De.U)(N=>new xt([],N))):this.expandSegment(h,m,c,m.segments,w,!0)}expandChildren(h,c,m){const w=[];for(const N of Object.keys(m.children))"primary"===N?w.unshift(N):w.push(N);return(0,f.D)(w).pipe((0,ge.b)(N=>{const V=m.children[N],Oe=So(c,N);return this.expandSegmentGroup(h,Oe,V,N).pipe((0,De.U)(nt=>({segment:nt,outlet:N})))}),(0,Ie.R)((N,V)=>(N[V.outlet]=V.segment,N),{}),Ht())}expandSegment(h,c,m,w,N,V){return(0,f.D)(m).pipe((0,ge.b)(Oe=>this.expandSegmentAgainstRoute(h,c,m,Oe,w,N,V).pipe((0,re.K)(_t=>{if(_t instanceof Fi)return(0,U.of)(null);throw _t}))),(0,se.P)(Oe=>!!Oe),(0,re.K)((Oe,nt)=>{if(Qe(Oe))return Go(c,w,N)?(0,U.of)(new xt([],{})):sr(c);throw Oe}))}expandSegmentAgainstRoute(h,c,m,w,N,V,Oe){return Pi(w,c,N,V)?void 0===w.redirectTo?this.matchSegmentAgainstRoute(h,c,w,N,V):Oe&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(h,c,m,w,N,V):sr(c):sr(c)}expandSegmentAgainstRouteUsingRedirect(h,c,m,w,N,V){return"**"===w.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(h,m,w,V):this.expandRegularSegmentAgainstRouteUsingRedirect(h,c,m,w,N,V)}expandWildCardWithParamsAgainstRouteUsingRedirect(h,c,m,w){const N=this.applyRedirectCommands([],m.redirectTo,{});return m.redirectTo.startsWith("/")?Ji(N):this.lineralizeSegments(m,N).pipe((0,pe.z)(V=>{const Oe=new xt(V,{});return this.expandSegment(h,Oe,c,V,w,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(h,c,m,w,N,V){const{matched:Oe,consumedSegments:nt,remainingSegments:_t,positionalParamSegments:St}=$r(c,w,N);if(!Oe)return sr(c);const yn=this.applyRedirectCommands(nt,w.redirectTo,St);return w.redirectTo.startsWith("/")?Ji(yn):this.lineralizeSegments(w,yn).pipe((0,pe.z)(zr=>this.expandSegment(h,c,m,zr.concat(_t),V,!1)))}matchSegmentAgainstRoute(h,c,m,w,N){return"**"===m.path?(h=li(m,h),m.loadChildren?(m._loadedRoutes?(0,U.of)({routes:m._loadedRoutes,injector:m._loadedInjector}):this.configLoader.loadChildren(h,m)).pipe((0,De.U)(Oe=>(m._loadedRoutes=Oe.routes,m._loadedInjector=Oe.injector,new xt(w,{})))):(0,U.of)(new xt(w,{}))):Di(c,m,w,h).pipe((0,Me.w)(({matched:V,consumedSegments:Oe,remainingSegments:nt})=>V?this.getChildConfig(h=m._injector??h,m,w).pipe((0,pe.z)(St=>{const yn=St.injector??h,zr=St.routes,{segmentGroup:wo,slicedSegments:To}=Vr(c,Oe,nt,zr),Ci=new xt(wo.segments,wo.children);if(0===To.length&&Ci.hasChildren())return this.expandChildren(yn,zr,Ci).pipe((0,De.U)(rl=>new xt(Oe,rl)));if(0===zr.length&&0===To.length)return(0,U.of)(new xt(Oe,{}));const ro=xn(m)===N;return this.expandSegment(yn,Ci,zr,To,ro?fe:N,!0).pipe((0,De.U)(ra=>new xt(Oe.concat(ra.segments),ra.children)))})):sr(c)))}getChildConfig(h,c,m){return c.children?(0,U.of)({routes:c.children,injector:h}):c.loadChildren?void 0!==c._loadedRoutes?(0,U.of)({routes:c._loadedRoutes,injector:c._loadedInjector}):function vs(d,h,c,m){const w=h.canLoad;if(void 0===w||0===w.length)return(0,U.of)(!0);const N=w.map(V=>{const Oe=vi(V,d);return wn(function qo(d){return d&&Wt(d.canLoad)}(Oe)?Oe.canLoad(h,c):d.runInContext(()=>Oe(h,c)))});return(0,U.of)(N).pipe(Qi(),Xi())}(h,c,m).pipe((0,pe.z)(w=>w?this.configLoader.loadChildren(h,c).pipe((0,Z.b)(N=>{c._loadedRoutes=N.routes,c._loadedInjector=N.injector})):function Rs(d){return(0,j._)(Xe(Ri,3))}())):(0,U.of)({routes:[],injector:h})}lineralizeSegments(h,c){let m=[],w=c.root;for(;;){if(m=m.concat(w.segments),0===w.numberOfChildren)return(0,U.of)(m);if(w.numberOfChildren>1||!w.children[fe])return(0,j._)(new s.vHH(4e3,Ri));w=w.children[fe]}}applyRedirectCommands(h,c,m){return this.applyRedirectCreateUrlTree(c,this.urlSerializer.parse(c),h,m)}applyRedirectCreateUrlTree(h,c,m,w){const N=this.createSegmentGroup(h,c.root,m,w);return new ut(N,this.createQueryParams(c.queryParams,this.urlTree.queryParams),c.fragment)}createQueryParams(h,c){const m={};return Xt(h,(w,N)=>{if("string"==typeof w&&w.startsWith(":")){const Oe=w.substring(1);m[N]=c[Oe]}else m[N]=w}),m}createSegmentGroup(h,c,m,w){const N=this.createSegments(h,c.segments,m,w);let V={};return Xt(c.children,(Oe,nt)=>{V[nt]=this.createSegmentGroup(h,Oe,m,w)}),new xt(N,V)}createSegments(h,c,m,w){return c.map(N=>N.path.startsWith(":")?this.findPosParam(h,N,w):this.findOrReturn(N,m))}findPosParam(h,c,m){const w=m[c.path.substring(1)];if(!w)throw new s.vHH(4001,Ri);return w}findOrReturn(h,c){let m=0;for(const w of c){if(w.path===h.path)return c.splice(m),w;m++}return h}}class Lr{}class Es{constructor(h,c,m,w,N,V,Oe){this.injector=h,this.rootComponentType=c,this.config=m,this.urlTree=w,this.url=N,this.paramsInheritanceStrategy=V,this.urlSerializer=Oe}recognize(){const h=Vr(this.urlTree.root,[],[],this.config.filter(c=>void 0===c.redirectTo)).segmentGroup;return this.processSegmentGroup(this.injector,this.config,h,fe).pipe((0,De.U)(c=>{if(null===c)return null;const m=new Ai([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},fe,this.rootComponentType,null,this.urlTree.root,-1,{}),w=new Kn(m,c),N=new Wi(this.url,w);return this.inheritParamsAndData(N._root),N}))}inheritParamsAndData(h){const c=h.value,m=mo(c,this.paramsInheritanceStrategy);c.params=Object.freeze(m.params),c.data=Object.freeze(m.data),h.children.forEach(w=>this.inheritParamsAndData(w))}processSegmentGroup(h,c,m,w){return 0===m.segments.length&&m.hasChildren()?this.processChildren(h,c,m):this.processSegment(h,c,m,m.segments,w)}processChildren(h,c,m){return(0,f.D)(Object.keys(m.children)).pipe((0,ge.b)(w=>{const N=m.children[w],V=So(c,w);return this.processSegmentGroup(h,V,N,w)}),(0,Ie.R)((w,N)=>w&&N?(w.push(...N),w):null),(0,en.o)(w=>null!==w),(0,qe.d)(null),Ht(),(0,De.U)(w=>{if(null===w)return null;const N=ws(w);return function rs(d){d.sort((h,c)=>h.value.outlet===fe?-1:c.value.outlet===fe?1:h.value.outlet.localeCompare(c.value.outlet))}(N),N}))}processSegment(h,c,m,w,N){return(0,f.D)(c).pipe((0,ge.b)(V=>this.processSegmentAgainstRoute(V._injector??h,V,m,w,N)),(0,se.P)(V=>!!V),(0,re.K)(V=>{if(Qe(V))return Go(m,w,N)?(0,U.of)([]):(0,U.of)(null);throw V}))}processSegmentAgainstRoute(h,c,m,w,N){if(c.redirectTo||!Pi(c,m,w,N))return(0,U.of)(null);let V;if("**"===c.path){const Oe=w.length>0?kn(w).parameters:{},nt=g(m)+w.length,_t=new Ai(w,Oe,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,y(c),xn(c),c.component??c._loadedComponent??null,c,Eo(m),nt,P(c));V=(0,U.of)({snapshot:_t,consumedSegments:[],remainingSegments:[]})}else V=Di(m,c,w,h).pipe((0,De.U)(({matched:Oe,consumedSegments:nt,remainingSegments:_t,parameters:St})=>{if(!Oe)return null;const yn=g(m)+nt.length;return{snapshot:new Ai(nt,St,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,y(c),xn(c),c.component??c._loadedComponent??null,c,Eo(m),yn,P(c)),consumedSegments:nt,remainingSegments:_t}}));return V.pipe((0,Me.w)(Oe=>{if(null===Oe)return(0,U.of)(null);const{snapshot:nt,consumedSegments:_t,remainingSegments:St}=Oe;h=c._injector??h;const yn=c._loadedInjector??h,zr=function br(d){return d.children?d.children:d.loadChildren?d._loadedRoutes:[]}(c),{segmentGroup:wo,slicedSegments:To}=Vr(m,_t,St,zr.filter(ro=>void 0===ro.redirectTo));if(0===To.length&&wo.hasChildren())return this.processChildren(yn,zr,wo).pipe((0,De.U)(ro=>null===ro?null:[new Kn(nt,ro)]));if(0===zr.length&&0===To.length)return(0,U.of)([new Kn(nt,[])]);const Ci=xn(c)===N;return this.processSegment(yn,zr,wo,To,Ci?fe:N).pipe((0,De.U)(ro=>null===ro?null:[new Kn(nt,ro)]))}))}}function Cs(d){const h=d.value.routeConfig;return h&&""===h.path&&void 0===h.redirectTo}function ws(d){const h=[],c=new Set;for(const m of d){if(!Cs(m)){h.push(m);continue}const w=h.find(N=>m.value.routeConfig===N.value.routeConfig);void 0!==w?(w.children.push(...m.children),c.add(w)):h.push(m)}for(const m of c){const w=ws(m.children);h.push(new Kn(m.value,w))}return h.filter(m=>!c.has(m))}function Eo(d){let h=d;for(;h._sourceSegment;)h=h._sourceSegment;return h}function g(d){let h=d,c=h._segmentIndexShift??0;for(;h._sourceSegment;)h=h._sourceSegment,c+=h._segmentIndexShift??0;return c-1}function y(d){return d.data||{}}function P(d){return d.resolve||{}}function On(d){return"string"==typeof d.title||null===d.title}function un(d){return(0,Me.w)(h=>{const c=d(h);return c?(0,f.D)(c).pipe((0,De.U)(()=>h)):(0,U.of)(h)})}const ir=new s.OlP("ROUTES");let pi=(()=>{class d{constructor(c,m){this.injector=c,this.compiler=m,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(c){if(this.componentLoaders.get(c))return this.componentLoaders.get(c);if(c._loadedComponent)return(0,U.of)(c._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(c);const m=wn(c.loadComponent()).pipe((0,De.U)(Br),(0,Z.b)(N=>{this.onLoadEndListener&&this.onLoadEndListener(c),c._loadedComponent=N}),(0,It.x)(()=>{this.componentLoaders.delete(c)})),w=new Se(m,()=>new Fe.x).pipe(Ye());return this.componentLoaders.set(c,w),w}loadChildren(c,m){if(this.childrenLoaders.get(m))return this.childrenLoaders.get(m);if(m._loadedRoutes)return(0,U.of)({routes:m._loadedRoutes,injector:m._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(m);const N=this.loadModuleFactoryOrRoutes(m.loadChildren).pipe((0,De.U)(Oe=>{this.onLoadEndListener&&this.onLoadEndListener(m);let nt,_t,St=!1;Array.isArray(Oe)?_t=Oe:(nt=Oe.create(c).injector,_t=vn(nt.get(ir,[],s.XFs.Self|s.XFs.Optional)));return{routes:_t.map(ni),injector:nt}}),(0,It.x)(()=>{this.childrenLoaders.delete(m)})),V=new Se(N,()=>new Fe.x).pipe(Ye());return this.childrenLoaders.set(m,V),V}loadModuleFactoryOrRoutes(c){return wn(c()).pipe((0,De.U)(Br),(0,pe.z)(w=>w instanceof s.YKP||Array.isArray(w)?(0,U.of)(w):(0,f.D)(this.compiler.compileModuleAsync(w))))}}return d.\u0275fac=function(c){return new(c||d)(s.LFG(s.zs3),s.LFG(s.Sil))},d.\u0275prov=s.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),d})();function Br(d){return function ri(d){return d&&"object"==typeof d&&"default"in d}(d)?d.default:d}let ki=(()=>{class d{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new Fe.x,this.configLoader=(0,s.f3M)(pi),this.environmentInjector=(0,s.f3M)(s.lqb),this.urlSerializer=(0,s.f3M)(kt),this.rootContexts=(0,s.f3M)(jn),this.navigationId=0,this.afterPreactivation=()=>(0,U.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=w=>this.events.next(new fi(w)),this.configLoader.onLoadStartListener=w=>this.events.next(new _i(w))}complete(){this.transitions?.complete()}handleNavigationRequest(c){const m=++this.navigationId;this.transitions?.next({...this.transitions.value,...c,id:m})}setupNavigations(c){return this.transitions=new K.X({id:0,targetPageId:0,currentUrlTree:c.currentUrlTree,currentRawUrl:c.currentUrlTree,extractedUrl:c.urlHandlingStrategy.extract(c.currentUrlTree),urlAfterRedirects:c.urlHandlingStrategy.extract(c.currentUrlTree),rawUrl:c.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Er,restoredState:null,currentSnapshot:c.routerState.snapshot,targetSnapshot:null,currentRouterState:c.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,le.h)(m=>0!==m.id),(0,De.U)(m=>({...m,extractedUrl:c.urlHandlingStrategy.extract(m.rawUrl)})),(0,Me.w)(m=>{let w=!1,N=!1;return(0,U.of)(m).pipe((0,Z.b)(V=>{this.currentNavigation={id:V.id,initialUrl:V.rawUrl,extractedUrl:V.extractedUrl,trigger:V.source,extras:V.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,Me.w)(V=>{const Oe=c.browserUrlTree.toString(),nt=!c.navigated||V.extractedUrl.toString()!==Oe||Oe!==c.currentUrlTree.toString();if(!nt&&"reload"!==(V.extras.onSameUrlNavigation??c.onSameUrlNavigation)){const St="";return this.events.next(new Cr(V.id,c.serializeUrl(m.rawUrl),St,0)),c.rawUrlTree=V.rawUrl,V.resolve(null),W.E}if(c.urlHandlingStrategy.shouldProcessUrl(V.rawUrl))return Co(V.source)&&(c.browserUrlTree=V.extractedUrl),(0,U.of)(V).pipe((0,Me.w)(St=>{const yn=this.transitions?.getValue();return this.events.next(new mr(St.id,this.urlSerializer.serialize(St.extractedUrl),St.source,St.restoredState)),yn!==this.transitions?.getValue()?W.E:Promise.resolve(St)}),function Ds(d,h,c,m){return(0,Me.w)(w=>function Fo(d,h,c,m,w){return new bs(d,h,c,m,w).apply()}(d,h,c,w.extractedUrl,m).pipe((0,De.U)(N=>({...w,urlAfterRedirects:N}))))}(this.environmentInjector,this.configLoader,this.urlSerializer,c.config),(0,Z.b)(St=>{this.currentNavigation={...this.currentNavigation,finalUrl:St.urlAfterRedirects},m.urlAfterRedirects=St.urlAfterRedirects}),function te(d,h,c,m,w){return(0,pe.z)(N=>function Qn(d,h,c,m,w,N,V="emptyOnly"){return new Es(d,h,c,m,w,V,N).recognize().pipe((0,Me.w)(Oe=>null===Oe?function eo(d){return new Y.y(h=>h.error(d))}(new Lr):(0,U.of)(Oe)))}(d,h,c,N.urlAfterRedirects,m.serialize(N.urlAfterRedirects),m,w).pipe((0,De.U)(V=>({...N,targetSnapshot:V}))))}(this.environmentInjector,this.rootComponentType,c.config,this.urlSerializer,c.paramsInheritanceStrategy),(0,Z.b)(St=>{if(m.targetSnapshot=St.targetSnapshot,"eager"===c.urlUpdateStrategy){if(!St.extras.skipLocationChange){const zr=c.urlHandlingStrategy.merge(St.urlAfterRedirects,St.rawUrl);c.setBrowserUrl(zr,St)}c.browserUrlTree=St.urlAfterRedirects}const yn=new Ti(St.id,this.urlSerializer.serialize(St.extractedUrl),this.urlSerializer.serialize(St.urlAfterRedirects),St.targetSnapshot);this.events.next(yn)}));if(nt&&c.urlHandlingStrategy.shouldProcessUrl(c.rawUrlTree)){const{id:St,extractedUrl:yn,source:zr,restoredState:wo,extras:To}=V,Ci=new mr(St,this.urlSerializer.serialize(yn),zr,wo);this.events.next(Ci);const ro=Gi(yn,this.rootComponentType).snapshot;return m={...V,targetSnapshot:ro,urlAfterRedirects:yn,extras:{...To,skipLocationChange:!1,replaceUrl:!1}},(0,U.of)(m)}{const St="";return this.events.next(new Cr(V.id,c.serializeUrl(m.extractedUrl),St,1)),c.rawUrlTree=V.rawUrl,V.resolve(null),W.E}}),(0,Z.b)(V=>{const Oe=new Mi(V.id,this.urlSerializer.serialize(V.extractedUrl),this.urlSerializer.serialize(V.urlAfterRedirects),V.targetSnapshot);this.events.next(Oe)}),(0,De.U)(V=>m={...V,guards:Nr(V.targetSnapshot,V.currentSnapshot,this.rootContexts)}),function $o(d,h){return(0,pe.z)(c=>{const{targetSnapshot:m,currentSnapshot:w,guards:{canActivateChecks:N,canDeactivateChecks:V}}=c;return 0===V.length&&0===N.length?(0,U.of)({...c,guardsResult:!0}):function vr(d,h,c,m){return(0,f.D)(d).pipe((0,pe.z)(w=>function zo(d,h,c,m,w){const N=h&&h.routeConfig?h.routeConfig.canDeactivate:null;if(!N||0===N.length)return(0,U.of)(!0);const V=N.map(Oe=>{const nt=Kr(h)??w,_t=vi(Oe,nt);return wn(function jo(d){return d&&Wt(d.canDeactivate)}(_t)?_t.canDeactivate(d,h,c,m):nt.runInContext(()=>_t(d,h,c,m))).pipe((0,se.P)())});return(0,U.of)(V).pipe(Qi())}(w.component,w.route,c,h,m)),(0,se.P)(w=>!0!==w,!0))}(V,m,w,d).pipe((0,pe.z)(Oe=>Oe&&function vo(d){return"boolean"==typeof d}(Oe)?function bo(d,h,c,m){return(0,f.D)(h).pipe((0,ge.b)(w=>(0,oe.z)(function jr(d,h){return null!==d&&h&&h(new wr(d)),(0,U.of)(!0)}(w.route.parent,m),function Oo(d,h){return null!==d&&h&&h(new Vi(d)),(0,U.of)(!0)}(w.route,m),function Vo(d,h,c){const m=h[h.length-1],N=h.slice(0,h.length-1).reverse().map(V=>function Ho(d){const h=d.routeConfig?d.routeConfig.canActivateChild:null;return h&&0!==h.length?{node:d,guards:h}:null}(V)).filter(V=>null!==V).map(V=>(0,ee.P)(()=>{const Oe=V.guards.map(nt=>{const _t=Kr(V.node)??c,St=vi(nt,_t);return wn(function xs(d){return d&&Wt(d.canActivateChild)}(St)?St.canActivateChild(m,d):_t.runInContext(()=>St(m,d))).pipe((0,se.P)())});return(0,U.of)(Oe).pipe(Qi())}));return(0,U.of)(N).pipe(Qi())}(d,w.path,c),function Po(d,h,c){const m=h.routeConfig?h.routeConfig.canActivate:null;if(!m||0===m.length)return(0,U.of)(!0);const w=m.map(N=>(0,ee.P)(()=>{const V=Kr(h)??c,Oe=vi(N,V);return wn(function xo(d){return d&&Wt(d.canActivate)}(Oe)?Oe.canActivate(h,d):V.runInContext(()=>Oe(h,d))).pipe((0,se.P)())}));return(0,U.of)(w).pipe(Qi())}(d,w.route,c))),(0,se.P)(w=>!0!==w,!0))}(m,N,d,h):(0,U.of)(Oe)),(0,De.U)(Oe=>({...c,guardsResult:Oe})))})}(this.environmentInjector,V=>this.events.next(V)),(0,Z.b)(V=>{if(m.guardsResult=V.guardsResult,$(V.guardsResult))throw ke(0,V.guardsResult);const Oe=new $i(V.id,this.urlSerializer.serialize(V.extractedUrl),this.urlSerializer.serialize(V.urlAfterRedirects),V.targetSnapshot,!!V.guardsResult);this.events.next(Oe)}),(0,le.h)(V=>!!V.guardsResult||(c.restoreHistory(V),this.cancelNavigationTransition(V,"",3),!1)),un(V=>{if(V.guards.canActivateChecks.length)return(0,U.of)(V).pipe((0,Z.b)(Oe=>{const nt=new nr(Oe.id,this.urlSerializer.serialize(Oe.extractedUrl),this.urlSerializer.serialize(Oe.urlAfterRedirects),Oe.targetSnapshot);this.events.next(nt)}),(0,Me.w)(Oe=>{let nt=!1;return(0,U.of)(Oe).pipe(function je(d,h){return(0,pe.z)(c=>{const{targetSnapshot:m,guards:{canActivateChecks:w}}=c;if(!w.length)return(0,U.of)(c);let N=0;return(0,f.D)(w).pipe((0,ge.b)(V=>function Ge(d,h,c,m){const w=d.routeConfig,N=d._resolve;return void 0!==w?.title&&!On(w)&&(N[Ne]=w.title),function mt(d,h,c,m){const w=function Rn(d){return[...Object.keys(d),...Object.getOwnPropertySymbols(d)]}(d);if(0===w.length)return(0,U.of)({});const N={};return(0,f.D)(w).pipe((0,pe.z)(V=>function Cn(d,h,c,m){const w=Kr(h)??m,N=vi(d,w);return wn(N.resolve?N.resolve(h,c):w.runInContext(()=>N(h,c)))}(d[V],h,c,m).pipe((0,se.P)(),(0,Z.b)(Oe=>{N[V]=Oe}))),me(1),function At(d){return(0,De.U)(()=>d)}(N),(0,re.K)(V=>Qe(V)?W.E:(0,j._)(V)))}(N,d,h,m).pipe((0,De.U)(V=>(d._resolvedData=V,d.data=mo(d,c).resolve,w&&On(w)&&(d.data[Ne]=w.title),null)))}(V.route,m,d,h)),(0,Z.b)(()=>N++),me(1),(0,pe.z)(V=>N===w.length?(0,U.of)(c):W.E))})}(c.paramsInheritanceStrategy,this.environmentInjector),(0,Z.b)({next:()=>nt=!0,complete:()=>{nt||(c.restoreHistory(Oe),this.cancelNavigationTransition(Oe,"",2))}}))}),(0,Z.b)(Oe=>{const nt=new dr(Oe.id,this.urlSerializer.serialize(Oe.extractedUrl),this.urlSerializer.serialize(Oe.urlAfterRedirects),Oe.targetSnapshot);this.events.next(nt)}))}),un(V=>{const Oe=nt=>{const _t=[];nt.routeConfig?.loadComponent&&!nt.routeConfig._loadedComponent&&_t.push(this.configLoader.loadComponent(nt.routeConfig).pipe((0,Z.b)(St=>{nt.component=St}),(0,De.U)(()=>{})));for(const St of nt.children)_t.push(...Oe(St));return _t};return(0,J.a)(Oe(V.targetSnapshot.root)).pipe((0,qe.d)(),(0,H.q)(1))}),un(()=>this.afterPreactivation()),(0,De.U)(V=>{const Oe=function _s(d,h,c){const m=xi(d,h._root,c?c._root:void 0);return new zi(m,h)}(c.routeReuseStrategy,V.targetSnapshot,V.currentRouterState);return m={...V,targetRouterState:Oe}}),(0,Z.b)(V=>{c.currentUrlTree=V.urlAfterRedirects,c.rawUrlTree=c.urlHandlingStrategy.merge(V.urlAfterRedirects,V.rawUrl),c.routerState=V.targetRouterState,"deferred"===c.urlUpdateStrategy&&(V.extras.skipLocationChange||c.setBrowserUrl(c.rawUrlTree,V),c.browserUrlTree=V.urlAfterRedirects)}),((d,h,c)=>(0,De.U)(m=>(new ao(h,m.targetRouterState,m.currentRouterState,c).activate(d),m)))(this.rootContexts,c.routeReuseStrategy,V=>this.events.next(V)),(0,Z.b)({next:V=>{w=!0,this.lastSuccessfulNavigation=this.currentNavigation,c.navigated=!0,this.events.next(new dn(V.id,this.urlSerializer.serialize(V.extractedUrl),this.urlSerializer.serialize(c.currentUrlTree))),c.titleStrategy?.updateTitle(V.targetRouterState.snapshot),V.resolve(!0)},complete:()=>{w=!0}}),(0,It.x)(()=>{w||N||this.cancelNavigationTransition(m,"",1),this.currentNavigation?.id===m.id&&(this.currentNavigation=null)}),(0,re.K)(V=>{if(N=!0,ht(V)){at(V)||(c.navigated=!0,c.restoreHistory(m,!0));const Oe=new Or(m.id,this.urlSerializer.serialize(m.extractedUrl),V.message,V.cancellationCode);if(this.events.next(Oe),at(V)){const nt=c.urlHandlingStrategy.merge(V.url,c.rawUrlTree),_t={skipLocationChange:m.extras.skipLocationChange,replaceUrl:"eager"===c.urlUpdateStrategy||Co(m.source)};c.scheduleNavigation(nt,Er,null,_t,{resolve:m.resolve,reject:m.reject,promise:m.promise})}else m.resolve(!1)}else{c.restoreHistory(m,!0);const Oe=new nn(m.id,this.urlSerializer.serialize(m.extractedUrl),V,m.targetSnapshot??void 0);this.events.next(Oe);try{m.resolve(c.errorHandler(V))}catch(nt){m.reject(nt)}}return W.E}))}))}cancelNavigationTransition(c,m,w){const N=new Or(c.id,this.urlSerializer.serialize(c.extractedUrl),m,w);this.events.next(N),c.resolve(!1)}}return d.\u0275fac=function(c){return new(c||d)},d.\u0275prov=s.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),d})();function Co(d){return d!==Er}let uo=(()=>{class d{buildTitle(c){let m,w=c.root;for(;void 0!==w;)m=this.getResolvedTitleForRoute(w)??m,w=w.children.find(N=>N.outlet===fe);return m}getResolvedTitleForRoute(c){return c.data[Ne]}}return d.\u0275fac=function(c){return new(c||d)},d.\u0275prov=s.Yz7({token:d,factory:function(){return(0,s.f3M)(is)},providedIn:"root"}),d})(),is=(()=>{class d extends uo{constructor(c){super(),this.title=c}updateTitle(c){const m=this.buildTitle(c);void 0!==m&&this.title.setTitle(m)}}return d.\u0275fac=function(c){return new(c||d)(s.LFG(et.Dx))},d.\u0275prov=s.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),d})(),os=(()=>{class d{}return d.\u0275fac=function(c){return new(c||d)},d.\u0275prov=s.Yz7({token:d,factory:function(){return(0,s.f3M)(ss)},providedIn:"root"}),d})();class Wo{shouldDetach(h){return!1}store(h,c){}shouldAttach(h){return!1}retrieve(h){return null}shouldReuseRoute(h,c){return h.routeConfig===c.routeConfig}}let ss=(()=>{class d extends Wo{}return d.\u0275fac=function(){let h;return function(m){return(h||(h=s.n5z(d)))(m||d)}}(),d.\u0275prov=s.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),d})();const to=new s.OlP("",{providedIn:"root",factory:()=>({})});let as=(()=>{class d{}return d.\u0275fac=function(c){return new(c||d)},d.\u0275prov=s.Yz7({token:d,factory:function(){return(0,s.f3M)(Vs)},providedIn:"root"}),d})(),Vs=(()=>{class d{shouldProcessUrl(c){return!0}extract(c){return c}merge(c,m){return c}}return d.\u0275fac=function(c){return new(c||d)},d.\u0275prov=s.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),d})();function Ns(d){throw d}function ko(d,h,c){return h.parse("/")}const Ko={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},fo={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let E=(()=>{class d{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return this.location.getState()?.\u0275routerPageId}get events(){return this.navigationTransitions.events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=(0,s.f3M)(s.c2e),this.isNgZoneEnabled=!1,this.options=(0,s.f3M)(to,{optional:!0})||{},this.errorHandler=this.options.errorHandler||Ns,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||ko,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=(0,s.f3M)(as),this.routeReuseStrategy=(0,s.f3M)(os),this.urlCreationStrategy=(0,s.f3M)(hr),this.titleStrategy=(0,s.f3M)(uo),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=vn((0,s.f3M)(ir,{optional:!0})??[]),this.navigationTransitions=(0,s.f3M)(ki),this.urlSerializer=(0,s.f3M)(kt),this.location=(0,s.f3M)(Pe.Ye),this.isNgZoneEnabled=(0,s.f3M)(s.R0b)instanceof s.R0b&&s.R0b.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new ut,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=Gi(this.currentUrlTree,null),this.navigationTransitions.setupNavigations(this).subscribe(c=>{this.lastSuccessfulId=c.id,this.currentPageId=c.targetPageId},c=>{this.console.warn(`Unhandled Navigation Error: ${c}`)})}resetRootComponentType(c){this.routerState.root.component=c,this.navigationTransitions.rootComponentType=c}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const c=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),Er,c)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(c=>{const m="popstate"===c.type?"popstate":"hashchange";"popstate"===m&&setTimeout(()=>{this.navigateToSyncWithBrowser(c.url,m,c.state)},0)}))}navigateToSyncWithBrowser(c,m,w){const N={replaceUrl:!0},V=w?.navigationId?w:null;if(w){const nt={...w};delete nt.navigationId,delete nt.\u0275routerPageId,0!==Object.keys(nt).length&&(N.state=nt)}const Oe=this.parseUrl(c);this.scheduleNavigation(Oe,m,V,N)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}resetConfig(c){this.config=c.map(ni),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(c,m={}){const{relativeTo:w,queryParams:N,fragment:V,queryParamsHandling:Oe,preserveFragment:nt}=m,_t=nt?this.currentUrlTree.fragment:V;let St=null;switch(Oe){case"merge":St={...this.currentUrlTree.queryParams,...N};break;case"preserve":St=this.currentUrlTree.queryParams;break;default:St=N||null}return null!==St&&(St=this.removeEmptyProps(St)),this.urlCreationStrategy.createUrlTree(w,this.routerState,this.currentUrlTree,c,St,_t??null)}navigateByUrl(c,m={skipLocationChange:!1}){const w=$(c)?c:this.parseUrl(c),N=this.urlHandlingStrategy.merge(w,this.rawUrlTree);return this.scheduleNavigation(N,Er,null,m)}navigate(c,m={skipLocationChange:!1}){return function a(d){for(let h=0;h<d.length;h++){if(null==d[h])throw new s.vHH(4008,!1)}}(c),this.navigateByUrl(this.createUrlTree(c,m),m)}serializeUrl(c){return this.urlSerializer.serialize(c)}parseUrl(c){let m;try{m=this.urlSerializer.parse(c)}catch(w){m=this.malformedUriErrorHandler(w,this.urlSerializer,c)}return m}isActive(c,m){let w;if(w=!0===m?{...Ko}:!1===m?{...fo}:m,$(c))return tn(this.currentUrlTree,c,w);const N=this.parseUrl(c);return tn(this.currentUrlTree,N,w)}removeEmptyProps(c){return Object.keys(c).reduce((m,w)=>{const N=c[w];return null!=N&&(m[w]=N),m},{})}scheduleNavigation(c,m,w,N,V){if(this.disposed)return Promise.resolve(!1);let Oe,nt,_t,St;return V?(Oe=V.resolve,nt=V.reject,_t=V.promise):_t=new Promise((yn,zr)=>{Oe=yn,nt=zr}),St="computed"===this.canceledNavigationResolution?w&&w.\u0275routerPageId?w.\u0275routerPageId:N.replaceUrl||N.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1:0,this.navigationTransitions.handleNavigationRequest({targetPageId:St,source:m,restoredState:w,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:c,extras:N,resolve:Oe,reject:nt,promise:_t,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),_t.catch(yn=>Promise.reject(yn))}setBrowserUrl(c,m){const w=this.urlSerializer.serialize(c),N={...m.extras.state,...this.generateNgRouterState(m.id,m.targetPageId)};this.location.isCurrentPathEqualTo(w)||m.extras.replaceUrl?this.location.replaceState(w,"",N):this.location.go(w,"",N)}restoreHistory(c,m=!1){if("computed"===this.canceledNavigationResolution){const w=this.currentPageId-c.targetPageId;"popstate"!==c.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.getCurrentNavigation()?.finalUrl||0===w?this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===w&&(this.resetState(c),this.browserUrlTree=c.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(w)}else"replace"===this.canceledNavigationResolution&&(m&&this.resetState(c),this.resetUrlToCurrentUrlTree())}resetState(c){this.routerState=c.currentRouterState,this.currentUrlTree=c.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,c.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(c,m){return"computed"===this.canceledNavigationResolution?{navigationId:c,\u0275routerPageId:m}:{navigationId:c}}}return d.\u0275fac=function(c){return new(c||d)},d.\u0275prov=s.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),d})(),l=(()=>{class d{constructor(c,m,w,N,V,Oe){this.router=c,this.route=m,this.tabIndexAttribute=w,this.renderer=N,this.el=V,this.locationStrategy=Oe,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.href=null,this.commands=null,this.onChanges=new Fe.x;const nt=V.nativeElement.tagName;this.isAnchorElement="A"===nt||"AREA"===nt,this.isAnchorElement?this.subscription=c.events.subscribe(_t=>{_t instanceof dn&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}set preserveFragment(c){this._preserveFragment=(0,s.D6c)(c)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(c){this._skipLocationChange=(0,s.D6c)(c)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(c){this._replaceUrl=(0,s.D6c)(c)}get replaceUrl(){return this._replaceUrl}setTabIndexIfNotOnNativeEl(c){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",c)}ngOnChanges(c){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(c){null!=c?(this.commands=Array.isArray(c)?c:[c],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(c,m,w,N,V){return!!(null===this.urlTree||this.isAnchorElement&&(0!==c||m||w||N||V||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const c=null===this.href?null:(0,s.P3R)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",c)}applyAttributeValue(c,m){const w=this.renderer,N=this.el.nativeElement;null!==m?w.setAttribute(N,c,m):w.removeAttribute(N,c)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return d.\u0275fac=function(c){return new(c||d)(s.Y36(E),s.Y36(Si),s.$8M("tabindex"),s.Y36(s.Qsj),s.Y36(s.SBq),s.Y36(Pe.S$))},d.\u0275dir=s.lG2({type:d,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(c,m){1&c&&s.NdJ("click",function(N){return m.onClick(N.button,N.ctrlKey,N.shiftKey,N.altKey,N.metaKey)}),2&c&&s.uIk("target",m.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[s.TTD]}),d})(),_=(()=>{class d{get isActive(){return this._isActive}constructor(c,m,w,N,V){this.router=c,this.element=m,this.renderer=w,this.cdr=N,this.link=V,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new s.vpe,this.routerEventsSubscription=c.events.subscribe(Oe=>{Oe instanceof dn&&this.update()})}ngAfterContentInit(){(0,U.of)(this.links.changes,(0,U.of)(null)).pipe((0,Le.J)()).subscribe(c=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const c=[...this.links.toArray(),this.link].filter(m=>!!m).map(m=>m.onChanges);this.linkInputChangesSubscription=(0,f.D)(c).pipe((0,Le.J)()).subscribe(m=>{this._isActive!==this.isLinkActive(this.router)(m)&&this.update()})}set routerLinkActive(c){const m=Array.isArray(c)?c:c.split(" ");this.classes=m.filter(w=>!!w)}ngOnChanges(c){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||Promise.resolve().then(()=>{const c=this.hasActiveLinks();this._isActive!==c&&(this._isActive=c,this.cdr.markForCheck(),this.classes.forEach(m=>{c?this.renderer.addClass(this.element.nativeElement,m):this.renderer.removeClass(this.element.nativeElement,m)}),c&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(c))})}isLinkActive(c){const m=function O(d){return!!d.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return w=>!!w.urlTree&&c.isActive(w.urlTree,m)}hasActiveLinks(){const c=this.isLinkActive(this.router);return this.link&&c(this.link)||this.links.some(c)}}return d.\u0275fac=function(c){return new(c||d)(s.Y36(E),s.Y36(s.SBq),s.Y36(s.Qsj),s.Y36(s.sBO),s.Y36(l,8))},d.\u0275dir=s.lG2({type:d,selectors:[["","routerLinkActive",""]],contentQueries:function(c,m,w){if(1&c&&s.Suo(w,l,5),2&c){let N;s.iGM(N=s.CRH())&&(m.links=N)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[s.TTD]}),d})();class z{}let Be=(()=>{class d{constructor(c,m,w,N,V){this.router=c,this.injector=w,this.preloadingStrategy=N,this.loader=V}setUpPreloading(){this.subscription=this.router.events.pipe((0,le.h)(c=>c instanceof dn),(0,ge.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(c,m){const w=[];for(const N of m){N.providers&&!N._injector&&(N._injector=(0,s.MMx)(N.providers,c,`Route: ${N.path}`));const V=N._injector??c,Oe=N._loadedInjector??V;N.loadChildren&&!N._loadedRoutes&&void 0===N.canLoad||N.loadComponent&&!N._loadedComponent?w.push(this.preloadConfig(V,N)):(N.children||N._loadedRoutes)&&w.push(this.processRoutes(Oe,N.children??N._loadedRoutes))}return(0,f.D)(w).pipe((0,Le.J)())}preloadConfig(c,m){return this.preloadingStrategy.preload(m,()=>{let w;w=m.loadChildren&&void 0===m.canLoad?this.loader.loadChildren(c,m):(0,U.of)(null);const N=w.pipe((0,pe.z)(V=>null===V?(0,U.of)(void 0):(m._loadedRoutes=V.routes,m._loadedInjector=V.injector,this.processRoutes(V.injector??c,V.routes))));if(m.loadComponent&&!m._loadedComponent){const V=this.loader.loadComponent(m);return(0,f.D)([N,V]).pipe((0,Le.J)())}return N})}}return d.\u0275fac=function(c){return new(c||d)(s.LFG(E),s.LFG(s.Sil),s.LFG(s.lqb),s.LFG(z),s.LFG(pi))},d.\u0275prov=s.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),d})();const Je=new s.OlP("");let bt=(()=>{class d{constructor(c,m,w,N,V={}){this.urlSerializer=c,this.transitions=m,this.viewportScroller=w,this.zone=N,this.options=V,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},V.scrollPositionRestoration=V.scrollPositionRestoration||"disabled",V.anchorScrolling=V.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(c=>{c instanceof mr?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=c.navigationTrigger,this.restoredId=c.restoredState?c.restoredState.navigationId:0):c instanceof dn&&(this.lastId=c.id,this.scheduleScrollEvent(c,this.urlSerializer.parse(c.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(c=>{c instanceof fr&&(c.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(c.position):c.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(c.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(c,m){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new fr(c,"popstate"===this.lastSource?this.store[this.restoredId]:null,m))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return d.\u0275fac=function(c){s.$Z()},d.\u0275prov=s.Yz7({token:d,factory:d.\u0275fac}),d})();function Ut(d,h){return{\u0275kind:d,\u0275providers:h}}function Sr(){const d=(0,s.f3M)(s.zs3);return h=>{const c=d.get(s.z2F);if(h!==c.components[0])return;const m=d.get(E),w=d.get(er);1===d.get(gi)&&m.initialNavigation(),d.get(oi,null,s.XFs.Optional)?.setUpPreloading(),d.get(Je,null,s.XFs.Optional)?.init(),m.resetRootComponentType(c.componentTypes[0]),w.closed||(w.next(),w.unsubscribe())}}const er=new s.OlP("",{factory:()=>new Fe.x}),gi=new s.OlP("",{providedIn:"root",factory:()=>1});const oi=new s.OlP("");function ho(d){return Ut(0,[{provide:oi,useExisting:Be},{provide:z,useExisting:d}])}const Ls=new s.OlP("ROUTER_FORROOT_GUARD"),Rt=[Pe.Ye,{provide:kt,useClass:Mt},E,jn,{provide:Si,useFactory:function Yt(d){return d.routerState.root},deps:[E]},pi,[]];function jt(){return new s.PXZ("Router",E)}let Qt=(()=>{class d{constructor(c){}static forRoot(c,m){return{ngModule:d,providers:[Rt,[],{provide:ir,multi:!0,useValue:c},{provide:Ls,useFactory:mi,deps:[[E,new s.FiY,new s.tp0]]},{provide:to,useValue:m||{}},m?.useHash?{provide:Pe.S$,useClass:Pe.Do}:{provide:Pe.S$,useClass:Pe.b0},{provide:Je,useFactory:()=>{const d=(0,s.f3M)(Pe.EM),h=(0,s.f3M)(s.R0b),c=(0,s.f3M)(to),m=(0,s.f3M)(ki),w=(0,s.f3M)(kt);return c.scrollOffset&&d.setOffset(c.scrollOffset),new bt(w,m,d,h,c)}},m?.preloadingStrategy?ho(m.preloadingStrategy).\u0275providers:[],{provide:s.PXZ,multi:!0,useFactory:jt},m?.initialNavigation?Xn(m):[],[{provide:Jn,useFactory:Sr},{provide:s.tb,multi:!0,useExisting:Jn}]]}}static forChild(c){return{ngModule:d,providers:[{provide:ir,multi:!0,useValue:c}]}}}return d.\u0275fac=function(c){return new(c||d)(s.LFG(Ls,8))},d.\u0275mod=s.oAB({type:d}),d.\u0275inj=s.cJS({imports:[ai]}),d})();function mi(d){return"guarded"}function Xn(d){return["disabled"===d.initialNavigation?Ut(3,[{provide:s.ip1,multi:!0,useFactory:()=>{const h=(0,s.f3M)(E);return()=>{h.setUpLocationChangeListener()}}},{provide:gi,useValue:2}]).\u0275providers:[],"enabledBlocking"===d.initialNavigation?Ut(2,[{provide:gi,useValue:0},{provide:s.ip1,multi:!0,deps:[s.zs3],useFactory:h=>{const c=h.get(Pe.V_,Promise.resolve());return()=>c.then(()=>new Promise(w=>{const N=h.get(E),V=h.get(er);(function m(w){h.get(E).events.pipe((0,le.h)(V=>V instanceof dn||V instanceof Or||V instanceof nn),(0,De.U)(V=>V instanceof dn||V instanceof Or&&(0===V.code||1===V.code)&&null),(0,le.h)(V=>null!==V),(0,H.q)(1)).subscribe(()=>{w()})})(()=>{w(!0)}),h.get(ki).afterPreactivation=()=>(w(!0),V.closed?(0,U.of)(void 0):V),N.initialNavigation()}))}}]).\u0275providers:[]]}const Jn=new s.OlP("")},3942:(it,Ce,D)=>{D.d(Ce,{Z:()=>$e});var s=D(2090),f=D(4859),U=D(9681),K=D(1877);class X{constructor(Se,Fe){this._delegate=Se,this.firebase=Fe,(0,U._addComponent)(Se,new f.wA("app-compat",()=>this,"PUBLIC")),this.container=Se.container}get automaticDataCollectionEnabled(){return this._delegate.automaticDataCollectionEnabled}set automaticDataCollectionEnabled(Se){this._delegate.automaticDataCollectionEnabled=Se}get name(){return this._delegate.name}get options(){return this._delegate.options}delete(){return new Promise(Se=>{this._delegate.checkDestroyed(),Se()}).then(()=>(this.firebase.INTERNAL.removeApp(this.name),(0,U.deleteApp)(this._delegate)))}_getService(Se,Fe=U._DEFAULT_ENTRY_NAME){var Pe;this._delegate.checkDestroyed();const De=this._delegate.container.getProvider(Se);return!De.isInitialized()&&"EXPLICIT"===(null===(Pe=De.getComponent())||void 0===Pe?void 0:Pe.instantiationMode)&&De.initialize(),De.getImmediate({identifier:Fe})}_removeServiceInstance(Se,Fe=U._DEFAULT_ENTRY_NAME){this._delegate.container.getProvider(Se).clearInstance(Fe)}_addComponent(Se){(0,U._addComponent)(this._delegate,Se)}_addOrOverwriteComponent(Se){(0,U._addOrOverwriteComponent)(this._delegate,Se)}toJSON(){return{name:this.name,automaticDataCollectionEnabled:this.automaticDataCollectionEnabled,options:this.options}}}const oe=new s.LL("app-compat","Firebase",{"no-app":"No Firebase App '{$appName}' has been created - call Firebase App.initializeApp()","invalid-app-argument":"firebase.{$appName}() takes either no argument or a Firebase App instance."}),j=function Q(){const Ye=function ee(Ye){const Se={},Fe={__esModule:!0,initializeApp:function Me(pe,se={}){const ge=U.initializeApp(pe,se);if((0,s.r3)(Se,ge.name))return Se[ge.name];const Z=new Ye(ge,Fe);return Se[ge.name]=Z,Z},app:De,registerVersion:U.registerVersion,setLogLevel:U.setLogLevel,onLog:U.onLog,apps:null,SDK_VERSION:U.SDK_VERSION,INTERNAL:{registerComponent:function ae(pe){const se=pe.name,ge=se.replace("-compat","");if(U._registerComponent(pe)&&"PUBLIC"===pe.type){const Z=(re=De())=>{if("function"!=typeof re[ge])throw oe.create("invalid-app-argument",{appName:se});return re[ge]()};void 0!==pe.serviceProps&&(0,s.ZB)(Z,pe.serviceProps),Fe[ge]=Z,Ye.prototype[ge]=function(...re){return this._getService.bind(this,se).apply(this,pe.multipleInstances?re:[])}}return"PUBLIC"===pe.type?Fe[ge]:null},removeApp:function Pe(pe){delete Se[pe]},useAsService:function le(pe,se){return"serverAuth"===se?null:se},modularAPIs:U}};function De(pe){if(!(0,s.r3)(Se,pe=pe||U._DEFAULT_ENTRY_NAME))throw oe.create("no-app",{appName:pe});return Se[pe]}return Fe.default=Fe,Object.defineProperty(Fe,"apps",{get:function H(){return Object.keys(Se).map(pe=>Se[pe])}}),De.App=Ye,Fe}(X);return Ye.INTERNAL=Object.assign(Object.assign({},Ye.INTERNAL),{createFirebaseNamespace:Q,extendNamespace:function Se(Fe){(0,s.ZB)(Ye,Fe)},createSubscribe:s.ne,ErrorFactory:s.LL,deepExtend:s.ZB}),Ye}(),Y=new K.Yd("@firebase/app-compat");if((0,s.jU)()&&void 0!==self.firebase){Y.warn("\n Warning: Firebase is already defined in the global scope. Please make sure\n Firebase library is only loaded once.\n ");const Ye=self.firebase.SDK_VERSION;Ye&&Ye.indexOf("LITE")>=0&&Y.warn("\n Warning: You are trying to load Firebase while using Firebase Performance standalone script.\n You should load Firebase Performance with this instance of Firebase to avoid loading duplicate code.\n ")}const $e=j;!function Te(Ye){(0,U.registerVersion)("@firebase/app-compat","0.1.37",Ye)}()},9681:(it,Ce,D)=>{D.r(Ce),D.d(Ce,{FirebaseError:()=>K.ZR,SDK_VERSION:()=>vn,_DEFAULT_ENTRY_NAME:()=>en,_addComponent:()=>et,_addOrOverwriteComponent:()=>fe,_apps:()=>It,_clearComponents:()=>$t,_components:()=>Le,_getProvider:()=>rt,_registerComponent:()=>Ne,_removeServiceInstance:()=>Ft,deleteApp:()=>wn,getApp:()=>In,getApps:()=>Xt,initializeApp:()=>kn,onLog:()=>wt,registerVersion:()=>yt,setLogLevel:()=>tn});var s=D(5861),f=D(4859),U=D(1877),K=D(2090),X=D(8766);class J{constructor(ne){this.container=ne}getPlatformInfoString(){return this.container.getProviders().map(F=>{if(function oe(lt){return"VERSION"===lt.getComponent()?.type}(F)){const M=F.getImmediate();return`${M.library}/${M.version}`}return null}).filter(F=>F).join(" ")}}const ee="@firebase/app",Q="0.8.2",j=new U.Yd("@firebase/app"),en="[DEFAULT]",At={[ee]:"fire-core","@firebase/app-compat":"fire-core-compat","@firebase/analytics":"fire-analytics","@firebase/analytics-compat":"fire-analytics-compat","@firebase/app-check":"fire-app-check","@firebase/app-check-compat":"fire-app-check-compat","@firebase/auth":"fire-auth","@firebase/auth-compat":"fire-auth-compat","@firebase/database":"fire-rtdb","@firebase/database-compat":"fire-rtdb-compat","@firebase/functions":"fire-fn","@firebase/functions-compat":"fire-fn-compat","@firebase/installations":"fire-iid","@firebase/installations-compat":"fire-iid-compat","@firebase/messaging":"fire-fcm","@firebase/messaging-compat":"fire-fcm-compat","@firebase/performance":"fire-perf","@firebase/performance-compat":"fire-perf-compat","@firebase/remote-config":"fire-rc","@firebase/remote-config-compat":"fire-rc-compat","@firebase/storage":"fire-gcs","@firebase/storage-compat":"fire-gcs-compat","@firebase/firestore":"fire-fst","@firebase/firestore-compat":"fire-fst-compat","fire-js":"fire-js",firebase:"fire-js-all"},It=new Map,Le=new Map;function et(lt,ne){try{lt.container.addComponent(ne)}catch(F){j.debug(`Component ${ne.name} failed to register with FirebaseApp ${lt.name}`,F)}}function fe(lt,ne){lt.container.addOrOverwriteComponent(ne)}function Ne(lt){const ne=lt.name;if(Le.has(ne))return j.debug(`There were multiple attempts to register component ${ne}.`),!1;Le.set(ne,lt);for(const F of It.values())et(F,lt);return!0}function rt(lt,ne){const F=lt.container.getProvider("heartbeat").getImmediate({optional:!0});return F&&F.triggerHeartbeat(),lt.container.getProvider(ne)}function Ft(lt,ne,F=en){rt(lt,ne).clearInstance(F)}function $t(){Le.clear()}const Kt=new K.LL("app","Firebase",{"no-app":"No Firebase App '{$appName}' has been created - call Firebase App.initializeApp()","bad-app-name":"Illegal App name: '{$appName}","duplicate-app":"Firebase App named '{$appName}' already exists with different options or config","app-deleted":"Firebase App named '{$appName}' already deleted","no-options":"Need to provide options, when not being deployed to hosting via source.","invalid-app-argument":"firebase.{$appName}() takes either no argument or a Firebase App instance.","invalid-log-argument":"First argument to `onLog` must be null or a function.","idb-open":"Error thrown when opening IndexedDB. Original error: {$originalErrorMessage}.","idb-get":"Error thrown when reading from IndexedDB. Original error: {$originalErrorMessage}.","idb-set":"Error thrown when writing to IndexedDB. Original error: {$originalErrorMessage}.","idb-delete":"Error thrown when deleting from IndexedDB. Original error: {$originalErrorMessage}."});class Wn{constructor(ne,F,M){this._isDeleted=!1,this._options=Object.assign({},ne),this._config=Object.assign({},F),this._name=F.name,this._automaticDataCollectionEnabled=F.automaticDataCollectionEnabled,this._container=M,this.container.addComponent(new f.wA("app",()=>this,"PUBLIC"))}get automaticDataCollectionEnabled(){return this.checkDestroyed(),this._automaticDataCollectionEnabled}set automaticDataCollectionEnabled(ne){this.checkDestroyed(),this._automaticDataCollectionEnabled=ne}get name(){return this.checkDestroyed(),this._name}get options(){return this.checkDestroyed(),this._options}get config(){return this.checkDestroyed(),this._config}get container(){return this._container}get isDeleted(){return this._isDeleted}set isDeleted(ne){this._isDeleted=ne}checkDestroyed(){if(this.isDeleted)throw Kt.create("app-deleted",{appName:this._name})}}const vn="9.12.1";function kn(lt,ne={}){let F=lt;"object"!=typeof ne&&(ne={name:ne});const M=Object.assign({name:en,automaticDataCollectionEnabled:!1},ne),R=M.name;if("string"!=typeof R||!R)throw Kt.create("bad-app-name",{appName:String(R)});if(F||(F=(0,K.aH)()),!F)throw Kt.create("no-options");const ve=It.get(R);if(ve){if((0,K.vZ)(F,ve.options)&&(0,K.vZ)(M,ve.config))return ve;throw Kt.create("duplicate-app",{appName:R})}const L=new f.H0(R);for(const de of Le.values())L.addComponent(de);const G=new Wn(F,M,L);return It.set(R,G),G}function In(lt=en){const ne=It.get(lt);if(!ne&<===en)return kn();if(!ne)throw Kt.create("no-app",{appName:lt});return ne}function Xt(){return Array.from(It.values())}function wn(lt){return Gt.apply(this,arguments)}function Gt(){return(Gt=(0,s.Z)(function*(lt){const ne=lt.name;It.has(ne)&&(It.delete(ne),yield Promise.all(lt.container.getProviders().map(F=>F.delete())),lt.isDeleted=!0)})).apply(this,arguments)}function yt(lt,ne,F){var M;let R=null!==(M=At[lt])&&void 0!==M?M:lt;F&&(R+=`-${F}`);const ve=R.match(/\s|\//),L=ne.match(/\s|\//);if(ve||L){const G=[`Unable to register library "${R}" with version "${ne}":`];return ve&&G.push(`library name "${R}" contains illegal characters (whitespace or "/")`),ve&&L&&G.push("and"),L&&G.push(`version name "${ne}" contains illegal characters (whitespace or "/")`),void j.warn(G.join(" "))}Ne(new f.wA(`${R}-version`,()=>({library:R,version:ne}),"VERSION"))}function wt(lt,ne){if(null!==lt&&"function"!=typeof lt)throw Kt.create("invalid-log-argument");(0,U.Am)(lt,ne)}function tn(lt){(0,U.Ub)(lt)}const bn="firebase-heartbeat-store";let Hn=null;function Ot(){return Hn||(Hn=(0,X.X3)("firebase-heartbeat-database",1,{upgrade:(lt,ne)=>{0===ne&<.createObjectStore(bn)}}).catch(lt=>{throw Kt.create("idb-open",{originalErrorMessage:lt.message})})),Hn}function ut(){return(ut=(0,s.Z)(function*(lt){var ne;try{return(yield Ot()).transaction(bn).objectStore(bn).get(ft(lt))}catch(F){if(F instanceof K.ZR)j.warn(F.message);else{const M=Kt.create("idb-get",{originalErrorMessage:null===(ne=F)||void 0===ne?void 0:ne.message});j.warn(M.message)}}})).apply(this,arguments)}function xt(lt,ne){return ze.apply(this,arguments)}function ze(){return(ze=(0,s.Z)(function*(lt,ne){var F;try{const R=(yield Ot()).transaction(bn,"readwrite");return yield R.objectStore(bn).put(ne,ft(lt)),R.done}catch(M){if(M instanceof K.ZR)j.warn(M.message);else{const R=Kt.create("idb-set",{originalErrorMessage:null===(F=M)||void 0===F?void 0:F.message});j.warn(R.message)}}})).apply(this,arguments)}function ft(lt){return`${lt.name}!${lt.options.appId}`}class kt{constructor(ne){this.container=ne,this._heartbeatsCache=null;const F=this.container.getProvider("app").getImmediate();this._storage=new Pt(F),this._heartbeatsCachePromise=this._storage.read().then(M=>(this._heartbeatsCache=M,M))}triggerHeartbeat(){var ne=this;return(0,s.Z)(function*(){const M=ne.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(),R=Mt();if(null===ne._heartbeatsCache&&(ne._heartbeatsCache=yield ne._heartbeatsCachePromise),ne._heartbeatsCache.lastSentHeartbeatDate!==R&&!ne._heartbeatsCache.heartbeats.some(ve=>ve.date===R))return ne._heartbeatsCache.heartbeats.push({date:R,agent:M}),ne._heartbeatsCache.heartbeats=ne._heartbeatsCache.heartbeats.filter(ve=>{const L=new Date(ve.date).valueOf();return Date.now()-L<=2592e6}),ne._storage.overwrite(ne._heartbeatsCache)})()}getHeartbeatsHeader(){var ne=this;return(0,s.Z)(function*(){if(null===ne._heartbeatsCache&&(yield ne._heartbeatsCachePromise),null===ne._heartbeatsCache||0===ne._heartbeatsCache.heartbeats.length)return"";const F=Mt(),{heartbeatsToSend:M,unsentEntries:R}=function Yn(lt,ne=1024){const F=[];let M=lt.slice();for(const R of lt){const ve=F.find(L=>L.agent===R.agent);if(ve){if(ve.dates.push(R.date),Tn(F)>ne){ve.dates.pop();break}}else if(F.push({agent:R.agent,dates:[R.date]}),Tn(F)>ne){F.pop();break}M=M.slice(1)}return{heartbeatsToSend:F,unsentEntries:M}}(ne._heartbeatsCache.heartbeats),ve=(0,K.L)(JSON.stringify({version:2,heartbeats:M}));return ne._heartbeatsCache.lastSentHeartbeatDate=F,R.length>0?(ne._heartbeatsCache.heartbeats=R,yield ne._storage.overwrite(ne._heartbeatsCache)):(ne._heartbeatsCache.heartbeats=[],ne._storage.overwrite(ne._heartbeatsCache)),ve})()}}function Mt(){return(new Date).toISOString().substring(0,10)}class Pt{constructor(ne){this.app=ne,this._canUseIndexedDBPromise=this.runIndexedDBEnvironmentCheck()}runIndexedDBEnvironmentCheck(){return(0,s.Z)(function*(){return!!(0,K.hl)()&&(0,K.eu)().then(()=>!0).catch(()=>!1)})()}read(){var ne=this;return(0,s.Z)(function*(){return(yield ne._canUseIndexedDBPromise)&&(yield function Tt(lt){return ut.apply(this,arguments)}(ne.app))||{heartbeats:[]}})()}overwrite(ne){var F=this;return(0,s.Z)(function*(){var M;if(yield F._canUseIndexedDBPromise){const ve=yield F.read();return xt(F.app,{lastSentHeartbeatDate:null!==(M=ne.lastSentHeartbeatDate)&&void 0!==M?M:ve.lastSentHeartbeatDate,heartbeats:ne.heartbeats})}})()}add(ne){var F=this;return(0,s.Z)(function*(){var M;if(yield F._canUseIndexedDBPromise){const ve=yield F.read();return xt(F.app,{lastSentHeartbeatDate:null!==(M=ne.lastSentHeartbeatDate)&&void 0!==M?M:ve.lastSentHeartbeatDate,heartbeats:[...ve.heartbeats,...ne.heartbeats]})}})()}}function Tn(lt){return(0,K.L)(JSON.stringify({version:2,heartbeats:lt})).length}!function Zn(lt){Ne(new f.wA("platform-logger",ne=>new J(ne),"PRIVATE")),Ne(new f.wA("heartbeat",ne=>new kt(ne),"PRIVATE")),yt(ee,Q,lt),yt(ee,Q,"esm2017"),yt("fire-js","")}("")},4859:(it,Ce,D)=>{D.d(Ce,{H0:()=>ee,wA:()=>U});var s=D(5861),f=D(2090);class U{constructor(j,Y,W){this.name=j,this.instanceFactory=Y,this.type=W,this.multipleInstances=!1,this.serviceProps={},this.instantiationMode="LAZY",this.onInstanceCreated=null}setInstantiationMode(j){return this.instantiationMode=j,this}setMultipleInstances(j){return this.multipleInstances=j,this}setServiceProps(j){return this.serviceProps=j,this}setInstanceCreatedCallback(j){return this.onInstanceCreated=j,this}}const K="[DEFAULT]";class X{constructor(j,Y){this.name=j,this.container=Y,this.component=null,this.instances=new Map,this.instancesDeferred=new Map,this.instancesOptions=new Map,this.onInitCallbacks=new Map}get(j){const Y=this.normalizeInstanceIdentifier(j);if(!this.instancesDeferred.has(Y)){const W=new f.BH;if(this.instancesDeferred.set(Y,W),this.isInitialized(Y)||this.shouldAutoInitialize())try{const xe=this.getOrInitializeService({instanceIdentifier:Y});xe&&W.resolve(xe)}catch{}}return this.instancesDeferred.get(Y).promise}getImmediate(j){var Y;const W=this.normalizeInstanceIdentifier(j?.identifier),xe=null!==(Y=j?.optional)&&void 0!==Y&&Y;if(!this.isInitialized(W)&&!this.shouldAutoInitialize()){if(xe)return null;throw Error(`Service ${this.name} is not available`)}try{return this.getOrInitializeService({instanceIdentifier:W})}catch(Te){if(xe)return null;throw Te}}getComponent(){return this.component}setComponent(j){if(j.name!==this.name)throw Error(`Mismatching Component ${j.name} for Provider ${this.name}.`);if(this.component)throw Error(`Component for ${this.name} has already been provided`);if(this.component=j,this.shouldAutoInitialize()){if(function oe(Q){return"EAGER"===Q.instantiationMode}(j))try{this.getOrInitializeService({instanceIdentifier:K})}catch{}for(const[Y,W]of this.instancesDeferred.entries()){const xe=this.normalizeInstanceIdentifier(Y);try{const Te=this.getOrInitializeService({instanceIdentifier:xe});W.resolve(Te)}catch{}}}}clearInstance(j=K){this.instancesDeferred.delete(j),this.instancesOptions.delete(j),this.instances.delete(j)}delete(){var j=this;return(0,s.Z)(function*(){const Y=Array.from(j.instances.values());yield Promise.all([...Y.filter(W=>"INTERNAL"in W).map(W=>W.INTERNAL.delete()),...Y.filter(W=>"_delete"in W).map(W=>W._delete())])})()}isComponentSet(){return null!=this.component}isInitialized(j=K){return this.instances.has(j)}getOptions(j=K){return this.instancesOptions.get(j)||{}}initialize(j={}){const{options:Y={}}=j,W=this.normalizeInstanceIdentifier(j.instanceIdentifier);if(this.isInitialized(W))throw Error(`${this.name}(${W}) has already been initialized`);if(!this.isComponentSet())throw Error(`Component ${this.name} has not been registered yet`);const xe=this.getOrInitializeService({instanceIdentifier:W,options:Y});for(const[Te,$e]of this.instancesDeferred.entries())W===this.normalizeInstanceIdentifier(Te)&&$e.resolve(xe);return xe}onInit(j,Y){var W;const xe=this.normalizeInstanceIdentifier(Y),Te=null!==(W=this.onInitCallbacks.get(xe))&&void 0!==W?W:new Set;Te.add(j),this.onInitCallbacks.set(xe,Te);const $e=this.instances.get(xe);return $e&&j($e,xe),()=>{Te.delete(j)}}invokeOnInitCallbacks(j,Y){const W=this.onInitCallbacks.get(Y);if(W)for(const xe of W)try{xe(j,Y)}catch{}}getOrInitializeService({instanceIdentifier:j,options:Y={}}){let W=this.instances.get(j);if(!W&&this.component&&(W=this.component.instanceFactory(this.container,{instanceIdentifier:(Q=j,Q===K?void 0:Q),options:Y}),this.instances.set(j,W),this.instancesOptions.set(j,Y),this.invokeOnInitCallbacks(W,j),this.component.onInstanceCreated))try{this.component.onInstanceCreated(this.container,j,W)}catch{}var Q;return W||null}normalizeInstanceIdentifier(j=K){return this.component?this.component.multipleInstances?j:K:j}shouldAutoInitialize(){return!!this.component&&"EXPLICIT"!==this.component.instantiationMode}}class ee{constructor(j){this.name=j,this.providers=new Map}addComponent(j){const Y=this.getProvider(j.name);if(Y.isComponentSet())throw new Error(`Component ${j.name} has already been registered with ${this.name}`);Y.setComponent(j)}addOrOverwriteComponent(j){this.getProvider(j.name).isComponentSet()&&this.providers.delete(j.name),this.addComponent(j)}getProvider(j){if(this.providers.has(j))return this.providers.get(j);const Y=new X(j,this);return this.providers.set(j,Y),Y}getProviders(){return Array.from(this.providers.values())}}},1877:(it,Ce,D)=>{D.d(Ce,{Am:()=>Q,Ub:()=>ee,Yd:()=>oe,in:()=>f});const s=[];var f=(()=>{return(j=f||(f={}))[j.DEBUG=0]="DEBUG",j[j.VERBOSE=1]="VERBOSE",j[j.INFO=2]="INFO",j[j.WARN=3]="WARN",j[j.ERROR=4]="ERROR",j[j.SILENT=5]="SILENT",f;var j})();const U={debug:f.DEBUG,verbose:f.VERBOSE,info:f.INFO,warn:f.WARN,error:f.ERROR,silent:f.SILENT},K=f.INFO,X={[f.DEBUG]:"log",[f.VERBOSE]:"log",[f.INFO]:"info",[f.WARN]:"warn",[f.ERROR]:"error"},J=(j,Y,...W)=>{if(Y<j.logLevel)return;const xe=(new Date).toISOString(),Te=X[Y];if(!Te)throw new Error(`Attempted to log a message with an invalid logType (value: ${Y})`);console[Te](`[${xe}] ${j.name}:`,...W)};class oe{constructor(Y){this.name=Y,this._logLevel=K,this._logHandler=J,this._userLogHandler=null,s.push(this)}get logLevel(){return this._logLevel}set logLevel(Y){if(!(Y in f))throw new TypeError(`Invalid value "${Y}" assigned to \`logLevel\``);this._logLevel=Y}setLogLevel(Y){this._logLevel="string"==typeof Y?U[Y]:Y}get logHandler(){return this._logHandler}set logHandler(Y){if("function"!=typeof Y)throw new TypeError("Value assigned to `logHandler` must be a function");this._logHandler=Y}get userLogHandler(){return this._userLogHandler}set userLogHandler(Y){this._userLogHandler=Y}debug(...Y){this._userLogHandler&&this._userLogHandler(this,f.DEBUG,...Y),this._logHandler(this,f.DEBUG,...Y)}log(...Y){this._userLogHandler&&this._userLogHandler(this,f.VERBOSE,...Y),this._logHandler(this,f.VERBOSE,...Y)}info(...Y){this._userLogHandler&&this._userLogHandler(this,f.INFO,...Y),this._logHandler(this,f.INFO,...Y)}warn(...Y){this._userLogHandler&&this._userLogHandler(this,f.WARN,...Y),this._logHandler(this,f.WARN,...Y)}error(...Y){this._userLogHandler&&this._userLogHandler(this,f.ERROR,...Y),this._logHandler(this,f.ERROR,...Y)}}function ee(j){s.forEach(Y=>{Y.setLogLevel(j)})}function Q(j,Y){for(const W of s){let xe=null;Y&&Y.level&&(xe=U[Y.level]),W.userLogHandler=null===j?null:(Te,$e,...Ye)=>{const Se=Ye.map(Fe=>{if(null==Fe)return null;if("string"==typeof Fe)return Fe;if("number"==typeof Fe||"boolean"==typeof Fe)return Fe.toString();if(Fe instanceof Error)return Fe.message;try{return JSON.stringify(Fe)}catch{return null}}).filter(Fe=>Fe).join(" ");$e>=(xe??Te.logLevel)&&j({level:f[$e].toLowerCase(),message:Se,args:Ye,type:Te.name})}}}},8766:(it,Ce,D)=>{D.d(Ce,{Lj:()=>Me,X3:()=>De});var s=D(5861);let U,K;const oe=new WeakMap,ee=new WeakMap,Q=new WeakMap,j=new WeakMap,Y=new WeakMap;let Te={get(se,ge,Z){if(se instanceof IDBTransaction){if("done"===ge)return ee.get(se);if("objectStoreNames"===ge)return se.objectStoreNames||Q.get(se);if("store"===ge)return Z.objectStoreNames[1]?void 0:Z.objectStore(Z.objectStoreNames[0])}return Fe(se[ge])},set:(se,ge,Z)=>(se[ge]=Z,!0),has:(se,ge)=>se instanceof IDBTransaction&&("done"===ge||"store"===ge)||ge in se};function Se(se){return"function"==typeof se?function Ye(se){return se!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?function J(){return K||(K=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}().includes(se)?function(...ge){return se.apply(Pe(this),ge),Fe(oe.get(this))}:function(...ge){return Fe(se.apply(Pe(this),ge))}:function(ge,...Z){const re=se.call(Pe(this),ge,...Z);return Q.set(re,ge.sort?ge.sort():[ge]),Fe(re)}}(se):(se instanceof IDBTransaction&&function xe(se){if(ee.has(se))return;const ge=new Promise((Z,re)=>{const Ie=()=>{se.removeEventListener("complete",me),se.removeEventListener("error",We),se.removeEventListener("abort",We)},me=()=>{Z(),Ie()},We=()=>{re(se.error||new DOMException("AbortError","AbortError")),Ie()};se.addEventListener("complete",me),se.addEventListener("error",We),se.addEventListener("abort",We)});ee.set(se,ge)}(se),((se,ge)=>ge.some(Z=>se instanceof Z))(se,function X(){return U||(U=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}())?new Proxy(se,Te):se)}function Fe(se){if(se instanceof IDBRequest)return function W(se){const ge=new Promise((Z,re)=>{const Ie=()=>{se.removeEventListener("success",me),se.removeEventListener("error",We)},me=()=>{Z(Fe(se.result)),Ie()},We=()=>{re(se.error),Ie()};se.addEventListener("success",me),se.addEventListener("error",We)});return ge.then(Z=>{Z instanceof IDBCursor&&oe.set(Z,se)}).catch(()=>{}),Y.set(ge,se),ge}(se);if(j.has(se))return j.get(se);const ge=Se(se);return ge!==se&&(j.set(se,ge),Y.set(ge,se)),ge}const Pe=se=>Y.get(se);function De(se,ge,{blocked:Z,upgrade:re,blocking:Ie,terminated:me}={}){const We=indexedDB.open(se,ge),qe=Fe(We);return re&&We.addEventListener("upgradeneeded",pt=>{re(Fe(We.result),pt.oldVersion,pt.newVersion,Fe(We.transaction))}),Z&&We.addEventListener("blocked",()=>Z()),qe.then(pt=>{me&&pt.addEventListener("close",()=>me()),Ie&&pt.addEventListener("versionchange",()=>Ie())}).catch(()=>{}),qe}function Me(se,{blocked:ge}={}){const Z=indexedDB.deleteDatabase(se);return ge&&Z.addEventListener("blocked",()=>ge()),Fe(Z).then(()=>{})}const H=["get","getKey","getAll","getAllKeys","count"],ae=["put","add","delete","clear"],le=new Map;function pe(se,ge){if(!(se instanceof IDBDatabase)||ge in se||"string"!=typeof ge)return;if(le.get(ge))return le.get(ge);const Z=ge.replace(/FromIndex$/,""),re=ge!==Z,Ie=ae.includes(Z);if(!(Z in(re?IDBIndex:IDBObjectStore).prototype)||!Ie&&!H.includes(Z))return;const me=function(){var We=(0,s.Z)(function*(qe,...pt){const Ht=this.transaction(qe,Ie?"readwrite":"readonly");let en=Ht.store;return re&&(en=en.index(pt.shift())),(yield Promise.all([en[Z](...pt),Ie&&Ht.done]))[0]});return function(pt){return We.apply(this,arguments)}}();return le.set(ge,me),me}!function $e(se){Te=se(Te)}(se=>({...se,get:(ge,Z,re)=>pe(ge,Z)||se.get(ge,Z,re),has:(ge,Z)=>!!pe(ge,Z)||se.has(ge,Z)}))},5421:(it,Ce,D)=>{D.d(Ce,{Cz:()=>Pe,ys:()=>Fe});var s=D(5861),f=D(4650),U=D(6895),K=D(9751),X=D(8996),J=D(9841),oe=D(7579),ee=D(5698);function Q(De,Me,H,ae){return new Promise((le,pe)=>{De||pe("IndexedDB not available");const se=De.open(Me,H);let ge;se.onsuccess=Z=>{ge=se.result,le(ge)},se.onerror=Z=>{pe(`IndexedDB error: ${se.error}`)},"function"==typeof ae&&(se.onupgradeneeded=Z=>{ae(Z,ge)})})}function j(De,Me,H,ae,le){if(!De)return;const pe=De.open(Me,H);pe.onupgradeneeded=se=>{const ge=se.target.result;ae.forEach(re=>{if(!ge.objectStoreNames.contains(re.store)){const Ie=ge.createObjectStore(re.store,re.storeConfig);re.storeSchema.forEach(me=>{Ie.createIndex(me.name,me.keypath,me.options)})}});const Z=le&&le();Z&&Object.keys(Z).map(re=>parseInt(re,10)).filter(re=>re>se.oldVersion).sort((re,Ie)=>re-Ie).forEach(re=>{Z[re](ge,pe.transaction)}),ge.close()},pe.onsuccess=se=>{se.target.result.close()}}function xe(De,Me,H){De||H("You need to use the openDatabase function to create a database before you query it!"),function W(De,Me){return De.objectStoreNames.contains(Me)}(De,Me)||H(`objectStore does not exists: ${Me}`)}function Te(De,Me){const H=De.transaction(Me.storeName,Me.dbMode);return H.onerror=Me.error,H.onabort=Me.abort,H}function $e(De,Me,H,ae){return{storeName:Me,dbMode:De,error:le=>{H(le)},abort:le=>{H(le)}}}var Ye=(()=>{return(De=Ye||(Ye={})).readonly="readonly",De.readwrite="readwrite",Ye;var De})();const Se=new f.OlP(null);let Fe=(()=>{class De{constructor(H,ae){if(this.dbConfig=H,this.platformId=ae,!H.name)throw new Error("NgxIndexedDB: Please, provide the dbName in the configuration");if(!H.version)throw new Error("NgxIndexedDB: Please, provide the db version in the configuration");this.isBrowser=(0,U.NF)(this.platformId),this.isBrowser&&(this.indexedDB=window.indexedDB||window.mozIndexedDB||window.webkitIndexedDB||window.msIndexedDB,j(this.indexedDB,H.name,H.version,H.objectStoresMeta,H.migrationFactory),Q(this.indexedDB,H.name).then(le=>{le.version!==H.version&&(this.dbConfig.version=le.version)}))}createObjectStore(H,ae){const le=[H];j(this.indexedDB,this.dbConfig.name,++this.dbConfig.version,le,ae)}add(H,ae,le){return new K.y(pe=>{Q(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(se=>{const Z=Te(se,$e(Ye.readwrite,H,Ie=>pe.error(Ie))).objectStore(H);(Boolean(le)?Z.add(ae,le):Z.add(ae)).onsuccess=function(){var Ie=(0,s.Z)(function*(me){Z.get(me.target.result).onsuccess=pt=>{pe.next(pt.target.result),pe.complete()}});return function(me){return Ie.apply(this,arguments)}}()}).catch(se=>pe.error(se))})}bulkAdd(H,ae){const le=new Promise((pe,se)=>{Q(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(ge=>{const re=Te(ge,$e(Ye.readwrite,H,pe)).objectStore(H),Ie=ae.map(me=>new Promise((We,qe)=>{const pt=me.key;delete me.key,(Boolean(pt)?re.add(me,pt):re.add(me)).onsuccess=en=>{We(en.target.result)}}));pe(Promise.all(Ie))}).catch(ge=>se(ge))});return(0,X.D)(le)}bulkDelete(H,ae){const le=ae.map(pe=>new Promise((se,ge)=>{Q(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(Z=>{const re=Te(Z,$e(Ye.readwrite,H,ge));re.objectStore(H).delete(pe),re.oncomplete=()=>{this.getAll(H).pipe((0,ee.q)(1)).subscribe(me=>{se(me)})}}).catch(Z=>ge(Z))}));return(0,X.D)(Promise.all(le))}getByKey(H,ae){return new K.y(le=>{Q(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(pe=>{const Z=Te(pe,$e(Ye.readonly,H,le.error)).objectStore(H).get(ae);Z.onsuccess=re=>{le.next(re.target.result),le.complete()},Z.onerror=re=>{le.error(re)}}).catch(pe=>le.error(pe))})}bulkGet(H,ae){const le=ae.map(pe=>this.getByKey(H,pe));return new K.y(pe=>{(0,J.a)(le).subscribe(se=>{pe.next(se),pe.complete()})})}getByID(H,ae){return new K.y(le=>{Q(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(pe=>{xe(pe,H,re=>le.error(re)),Te(pe,$e(Ye.readonly,H,le.error)).objectStore(H).get(ae).onsuccess=re=>{le.next(re.target.result)}}).catch(pe=>le.error(pe))})}getByIndex(H,ae,le){return new K.y(pe=>{Q(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(se=>{xe(se,H,me=>pe.error(me)),Te(se,$e(Ye.readonly,H,pe.error)).objectStore(H).index(ae).get(le).onsuccess=me=>{pe.next(me.target.result),pe.complete()}}).catch(se=>pe.error(se))})}getAll(H){return new K.y(ae=>{Q(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(le=>{xe(le,H,Z=>ae.error(Z));const ge=Te(le,$e(Ye.readonly,H,ae.error)).objectStore(H).getAll();ge.onerror=Z=>{ae.error(Z)},ge.onsuccess=({target:{result:Z}})=>{ae.next(Z),ae.complete()}}).catch(le=>ae.error(le))})}update(H,ae){return new K.y(le=>{Q(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(pe=>{xe(pe,H,re=>le.error(re));const ge=Te(pe,$e(Ye.readwrite,H,re=>le.error(re))).objectStore(H);ge.put(ae).onsuccess=function(){var re=(0,s.Z)(function*(Ie){ge.get(Ie.target.result).onsuccess=qe=>{le.next(qe.target.result),le.complete()}});return function(Ie){return re.apply(this,arguments)}}()}).catch(pe=>le.error(pe))})}delete(H,ae){return new K.y(le=>{Q(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(pe=>{xe(pe,H,Z=>le.error(Z));const se=Te(pe,$e(Ye.readwrite,H,Z=>le.error(Z)));se.objectStore(H).delete(ae),se.oncomplete=()=>{this.getAll(H).pipe((0,ee.q)(1)).subscribe(Z=>{le.next(Z),le.complete()})}}).catch(pe=>le.error(pe))})}deleteByKey(H,ae){return new K.y(le=>{Q(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(pe=>{xe(pe,H,Z=>le.error(Z));const se=Te(pe,$e(Ye.readwrite,H,Z=>le.error(Z))),ge=se.objectStore(H);se.oncomplete=()=>{le.next(!0),le.complete()},ge.delete(ae)}).catch(pe=>le.error(pe))})}clear(H){return new K.y(ae=>{Q(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(le=>{xe(le,H,ge=>ae.error(ge));const pe=Te(le,$e(Ye.readwrite,H,ge=>ae.error(ge)));pe.objectStore(H).clear(),pe.oncomplete=()=>{ae.next(!0),ae.complete()}}).catch(le=>ae.error(le))})}deleteDatabase(){var H=this;return new K.y(ae=>{Q(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(function(){var le=(0,s.Z)(function*(pe){yield pe.close();const se=H.indexedDB.deleteDatabase(H.dbConfig.name);se.onsuccess=()=>{ae.next(!0),ae.complete()},se.onerror=ge=>ae.error(ge),se.onblocked=()=>{throw new Error("Unable to delete database because it's blocked")}});return function(pe){return le.apply(this,arguments)}}()).catch(le=>ae.error(le))})}openCursor(H,ae){return new K.y(le=>{Q(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(pe=>{xe(pe,H,re=>le.error(re));const ge=Te(pe,$e(Ye.readonly,H,le.error)).objectStore(H);(void 0===ae?ge.openCursor():ge.openCursor(ae)).onsuccess=re=>{le.next(re),le.complete()}}).catch(pe=>le.error(pe))})}openCursorByIndex(H,ae,le,pe=Ye.readonly){const se=new oe.x;return Q(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(ge=>{xe(ge,H,We=>{se.error(We)}),Te(ge,$e(pe,H,We=>{se.error(We)})).objectStore(H).index(ae).openCursor(le).onsuccess=We=>{se.next(We)}}).catch(ge=>se.error(ge)),se}getAllByIndex(H,ae,le){const pe=[];return new K.y(se=>{Q(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(ge=>{xe(ge,H,We=>se.error(We)),Te(ge,$e(Ye.readonly,H,se.error)).objectStore(H).index(ae).openCursor(le).onsuccess=We=>{const qe=We.target.result;qe?(pe.push(qe.value),qe.continue()):(se.next(pe),se.complete())}}).catch(ge=>se.error(ge))})}getAllKeysByIndex(H,ae,le){const pe=[];return new K.y(se=>{Q(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(ge=>{xe(ge,H,We=>se.error(We)),Te(ge,$e(Ye.readonly,H,se.error)).objectStore(H).index(ae).openKeyCursor(le).onsuccess=We=>{const qe=We.target.result;qe?(pe.push({primaryKey:qe.primaryKey,key:qe.key}),qe.continue()):(se.next(pe),se.complete())}}).catch(ge=>se.error(ge))})}count(H,ae){return new K.y(le=>{Q(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(pe=>{xe(pe,H,re=>le.error(re));const Z=Te(pe,$e(Ye.readonly,H,le.error)).objectStore(H).count(ae);Z.onerror=re=>le.error(re),Z.onsuccess=re=>{le.next(re.target.result),le.complete()}}).catch(pe=>le.error(pe))})}countByIndex(H,ae,le){return new K.y(pe=>{Q(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(se=>{xe(se,H,me=>pe.error(me));const Ie=Te(se,$e(Ye.readonly,H,pe.error)).objectStore(H).index(ae).count(le);Ie.onerror=me=>pe.error(me),Ie.onsuccess=me=>{pe.next(me.target.result),pe.complete()}}).catch(se=>pe.error(se))})}deleteObjectStore(H){return function Y(De,Me,H){if(!De||!Me||!H)throw Error('Params: "dbName", "version", "storeName" are mandatory.');return new K.y(ae=>{try{const pe=indexedDB.open(De,Me+1);pe.onupgradeneeded=se=>{const ge=se.target.result;ge.deleteObjectStore(H),ge.close(),console.log("onupgradeneeded"),ae.next(!0),ae.complete()},pe.onerror=se=>ae.error(se)}catch(le){ae.error(le)}})}(this.dbConfig.name,++this.dbConfig.version,H)}}return De.\u0275fac=function(H){return new(H||De)(f.LFG(Se),f.LFG(f.Lbi))},De.\u0275prov=f.Yz7({token:De,factory:De.\u0275fac}),De})(),Pe=(()=>{class De{static forRoot(H){return{ngModule:De,providers:[Fe,{provide:Se,useValue:H}]}}}return De.\u0275fac=function(H){return new(H||De)},De.\u0275mod=f.oAB({type:De}),De.\u0275inj=f.cJS({imports:[[U.ez]]}),De})()},7185:(it,Ce,D)=>{D.d(Ce,{FN:()=>We,PR:()=>le,Rh:()=>pt,_W:()=>me});var s=D(4650),f=D(7340),U=D(7579),K=D(6895),X=D(1481);const J=["toast-component",""];function oe(Le,et){if(1&Le){const fe=s.EpF();s.TgZ(0,"button",5),s.NdJ("click",function(){s.CHM(fe);const rt=s.oxw();return s.KtG(rt.remove())}),s.TgZ(1,"span",6),s._uU(2,"\xd7"),s.qZA()()}}function ee(Le,et){if(1&Le&&(s.ynx(0),s._uU(1),s.BQk()),2&Le){const fe=s.oxw(2);s.xp6(1),s.hij("[",fe.duplicatesCount+1,"]")}}function Q(Le,et){if(1&Le&&(s.TgZ(0,"div"),s._uU(1),s.YNc(2,ee,2,1,"ng-container",4),s.qZA()),2&Le){const fe=s.oxw();s.Tol(fe.options.titleClass),s.uIk("aria-label",fe.title),s.xp6(1),s.hij(" ",fe.title," "),s.xp6(1),s.Q6J("ngIf",fe.duplicatesCount)}}function j(Le,et){if(1&Le&&s._UZ(0,"div",7),2&Le){const fe=s.oxw();s.Tol(fe.options.messageClass),s.Q6J("innerHTML",fe.message,s.oJD)}}function Y(Le,et){if(1&Le&&(s.TgZ(0,"div",8),s._uU(1),s.qZA()),2&Le){const fe=s.oxw();s.Tol(fe.options.messageClass),s.uIk("aria-label",fe.message),s.xp6(1),s.hij(" ",fe.message," ")}}function W(Le,et){if(1&Le&&(s.TgZ(0,"div"),s._UZ(1,"div",9),s.qZA()),2&Le){const fe=s.oxw();s.xp6(1),s.Udp("width",fe.width+"%")}}class Me{constructor(et,fe){this.component=et,this.injector=fe}attach(et,fe){return this._attachedHost=et,et.attach(this,fe)}detach(){const et=this._attachedHost;if(et)return this._attachedHost=void 0,et.detach()}get isAttached(){return null!=this._attachedHost}setAttachedHost(et){this._attachedHost=et}}class H{attach(et,fe){return this._attachedPortal=et,this.attachComponentPortal(et,fe)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(et){this._disposeFn=et}}class ae{constructor(et){this._overlayRef=et,this.duplicatesCount=0,this._afterClosed=new U.x,this._activate=new U.x,this._manualClose=new U.x,this._resetTimeout=new U.x,this._countDuplicate=new U.x}manualClose(){this._manualClose.next(),this._manualClose.complete()}manualClosed(){return this._manualClose.asObservable()}timeoutReset(){return this._resetTimeout.asObservable()}countDuplicate(){return this._countDuplicate.asObservable()}close(){this._overlayRef.detach(),this._afterClosed.next(),this._manualClose.next(),this._afterClosed.complete(),this._manualClose.complete(),this._activate.complete(),this._resetTimeout.complete(),this._countDuplicate.complete()}afterClosed(){return this._afterClosed.asObservable()}isInactive(){return this._activate.isStopped}activate(){this._activate.next(),this._activate.complete()}afterActivate(){return this._activate.asObservable()}onDuplicate(et,fe){et&&this._resetTimeout.next(),fe&&this._countDuplicate.next(++this.duplicatesCount)}}class le{constructor(et,fe,Ne,rt,Ft,$t){this.toastId=et,this.config=fe,this.message=Ne,this.title=rt,this.toastType=Ft,this.toastRef=$t,this._onTap=new U.x,this._onAction=new U.x,this.toastRef.afterClosed().subscribe(()=>{this._onAction.complete(),this._onTap.complete()})}triggerTap(){this._onTap.next(),this.config.tapToDismiss&&this._onTap.complete()}onTap(){return this._onTap.asObservable()}triggerAction(et){this._onAction.next(et)}onAction(){return this._onAction.asObservable()}}const se=new s.OlP("ToastConfig");class ge extends H{constructor(et,fe,Ne){super(),this._hostDomElement=et,this._componentFactoryResolver=fe,this._appRef=Ne}attachComponentPortal(et,fe){const Ne=this._componentFactoryResolver.resolveComponentFactory(et.component);let rt;return rt=Ne.create(et.injector),this._appRef.attachView(rt.hostView),this.setDisposeFn(()=>{this._appRef.detachView(rt.hostView),rt.destroy()}),fe?this._hostDomElement.insertBefore(this._getComponentRootNode(rt),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(rt)),rt}_getComponentRootNode(et){return et.hostView.rootNodes[0]}}class Z{constructor(et){this._portalHost=et}attach(et,fe=!0){return this._portalHost.attach(et,fe)}detach(){return this._portalHost.detach()}}let re=(()=>{class Le{constructor(fe){this._document=fe}ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const fe=this._document.createElement("div");fe.classList.add("overlay-container"),fe.setAttribute("aria-live","polite"),this._document.body.appendChild(fe),this._containerElement=fe}}return Le.\u0275fac=function(fe){return new(fe||Le)(s.LFG(K.K0))},Le.\u0275prov=s.Yz7({token:Le,factory:Le.\u0275fac,providedIn:"root"}),Le})(),Ie=(()=>{class Le{constructor(fe,Ne,rt,Ft){this._overlayContainer=fe,this._componentFactoryResolver=Ne,this._appRef=rt,this._document=Ft,this._paneElements=new Map}create(fe,Ne){return this._createOverlayRef(this.getPaneElement(fe,Ne))}getPaneElement(fe="",Ne){return this._paneElements.get(Ne)||this._paneElements.set(Ne,{}),this._paneElements.get(Ne)[fe]||(this._paneElements.get(Ne)[fe]=this._createPaneElement(fe,Ne)),this._paneElements.get(Ne)[fe]}_createPaneElement(fe,Ne){const rt=this._document.createElement("div");return rt.id="toast-container",rt.classList.add(fe),rt.classList.add("toast-container"),Ne?Ne.getContainerElement().appendChild(rt):this._overlayContainer.getContainerElement().appendChild(rt),rt}_createPortalHost(fe){return new ge(fe,this._componentFactoryResolver,this._appRef)}_createOverlayRef(fe){return new Z(this._createPortalHost(fe))}}return Le.\u0275fac=function(fe){return new(fe||Le)(s.LFG(re),s.LFG(s._Vd),s.LFG(s.z2F),s.LFG(K.K0))},Le.\u0275prov=s.Yz7({token:Le,factory:Le.\u0275fac,providedIn:"root"}),Le})(),me=(()=>{class Le{constructor(fe,Ne,rt,Ft,$t){this.overlay=Ne,this._injector=rt,this.sanitizer=Ft,this.ngZone=$t,this.currentlyActive=0,this.toasts=[],this.index=0,this.toastrConfig={...fe.default,...fe.config},fe.config.iconClasses&&(this.toastrConfig.iconClasses={...fe.default.iconClasses,...fe.config.iconClasses})}show(fe,Ne,rt={},Ft=""){return this._preBuildNotification(Ft,fe,Ne,this.applyConfig(rt))}success(fe,Ne,rt={}){return this._preBuildNotification(this.toastrConfig.iconClasses.success||"",fe,Ne,this.applyConfig(rt))}error(fe,Ne,rt={}){return this._preBuildNotification(this.toastrConfig.iconClasses.error||"",fe,Ne,this.applyConfig(rt))}info(fe,Ne,rt={}){return this._preBuildNotification(this.toastrConfig.iconClasses.info||"",fe,Ne,this.applyConfig(rt))}warning(fe,Ne,rt={}){return this._preBuildNotification(this.toastrConfig.iconClasses.warning||"",fe,Ne,this.applyConfig(rt))}clear(fe){for(const Ne of this.toasts)if(void 0!==fe){if(Ne.toastId===fe)return void Ne.toastRef.manualClose()}else Ne.toastRef.manualClose()}remove(fe){const Ne=this._findToast(fe);if(!Ne||(Ne.activeToast.toastRef.close(),this.toasts.splice(Ne.index,1),this.currentlyActive=this.currentlyActive-1,!this.toastrConfig.maxOpened||!this.toasts.length))return!1;if(this.currentlyActive<this.toastrConfig.maxOpened&&this.toasts[this.currentlyActive]){const rt=this.toasts[this.currentlyActive].toastRef;rt.isInactive()||(this.currentlyActive=this.currentlyActive+1,rt.activate())}return!0}findDuplicate(fe="",Ne="",rt,Ft){const{includeTitleDuplicates:$t}=this.toastrConfig;for(const ln of this.toasts)if((!$t||$t&&ln.title===fe)&&ln.message===Ne)return ln.toastRef.onDuplicate(rt,Ft),ln;return null}applyConfig(fe={}){return{...this.toastrConfig,...fe}}_findToast(fe){for(let Ne=0;Ne<this.toasts.length;Ne++)if(this.toasts[Ne].toastId===fe)return{index:Ne,activeToast:this.toasts[Ne]};return null}_preBuildNotification(fe,Ne,rt,Ft){return Ft.onActivateTick?this.ngZone.run(()=>this._buildNotification(fe,Ne,rt,Ft)):this._buildNotification(fe,Ne,rt,Ft)}_buildNotification(fe,Ne,rt,Ft){if(!Ft.toastComponent)throw new Error("toastComponent required");const $t=this.findDuplicate(rt,Ne,this.toastrConfig.resetTimeoutOnDuplicate&&Ft.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&rt||Ne)&&this.toastrConfig.preventDuplicates&&null!==$t)return $t;this.previousToastMessage=Ne;let ln=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(ln=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));const Kt=this.overlay.create(Ft.positionClass,this.overlayContainer);this.index=this.index+1;let Wn=Ne;Ne&&Ft.enableHtml&&(Wn=this.sanitizer.sanitize(s.q3G.HTML,Ne));const vn=new ae(Kt),kn=new le(this.index,Ft,Wn,rt,fe,vn),Xt=s.zs3.create({providers:[{provide:le,useValue:kn}],parent:this._injector}),wn=new Me(Ft.toastComponent,Xt),Gt=Kt.attach(wn,Ft.newestOnTop);vn.componentInstance=Gt.instance;const yt={toastId:this.index,title:rt||"",message:Ne||"",toastRef:vn,onShown:vn.afterActivate(),onHidden:vn.afterClosed(),onTap:kn.onTap(),onAction:kn.onAction(),portal:Gt};return ln||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{yt.toastRef.activate()})),this.toasts.push(yt),yt}}return Le.\u0275fac=function(fe){return new(fe||Le)(s.LFG(se),s.LFG(Ie),s.LFG(s.zs3),s.LFG(X.H7),s.LFG(s.R0b))},Le.\u0275prov=s.Yz7({token:Le,factory:Le.\u0275fac,providedIn:"root"}),Le})(),We=(()=>{class Le{constructor(fe,Ne,rt){this.toastrService=fe,this.toastPackage=Ne,this.ngZone=rt,this.width=-1,this.toastClasses="",this.state={value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}},this.message=Ne.message,this.title=Ne.title,this.options=Ne.config,this.originalTimeout=Ne.config.timeOut,this.toastClasses=`${Ne.toastType} ${Ne.config.toastClass}`,this.sub=Ne.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=Ne.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=Ne.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=Ne.toastRef.countDuplicate().subscribe(Ft=>{this.duplicatesCount=Ft})}get displayStyle(){if("inactive"===this.state.value)return"none"}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state={...this.state,value:"active"},!0!==this.options.disableTimeOut&&"timeOut"!==this.options.disableTimeOut&&this.options.timeOut&&(this.outsideTimeout(()=>this.remove(),this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}updateProgress(){if(0===this.width||100===this.width||!this.options.timeOut)return;const fe=(new Date).getTime();this.width=(this.hideTime-fe)/this.options.timeOut*100,"increasing"===this.options.progressAnimation&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state={...this.state,value:"active"},this.outsideTimeout(()=>this.remove(),this.originalTimeout),this.options.timeOut=this.originalTimeout,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10)}remove(){"removed"!==this.state.value&&(clearTimeout(this.timeout),this.state={...this.state,value:"removed"},this.outsideTimeout(()=>this.toastrService.remove(this.toastPackage.toastId),+this.toastPackage.config.easeTime))}tapToast(){"removed"!==this.state.value&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){"removed"!==this.state.value&&"extendedTimeOut"!==this.options.disableTimeOut&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)}delayedHideToast(){!0===this.options.disableTimeOut||"extendedTimeOut"===this.options.disableTimeOut||0===this.options.extendedTimeOut||"removed"===this.state.value||(this.outsideTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}outsideTimeout(fe,Ne){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(fe),Ne)):this.timeout=setTimeout(()=>fe(),Ne)}outsideInterval(fe,Ne){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(fe),Ne)):this.intervalId=setInterval(()=>fe(),Ne)}runInsideAngular(fe){this.ngZone?this.ngZone.run(()=>fe()):fe()}}return Le.\u0275fac=function(fe){return new(fe||Le)(s.Y36(me),s.Y36(le),s.Y36(s.R0b))},Le.\u0275cmp=s.Xpm({type:Le,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(fe,Ne){1&fe&&s.NdJ("click",function(){return Ne.tapToast()})("mouseenter",function(){return Ne.stickAround()})("mouseleave",function(){return Ne.delayedHideToast()}),2&fe&&(s.d8E("@flyInOut",Ne.state),s.Tol(Ne.toastClasses),s.Udp("display",Ne.displayStyle))},attrs:J,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(fe,Ne){1&fe&&(s.YNc(0,oe,3,0,"button",0),s.YNc(1,Q,3,5,"div",1),s.YNc(2,j,1,3,"div",2),s.YNc(3,Y,2,4,"div",3),s.YNc(4,W,2,2,"div",4)),2&fe&&(s.Q6J("ngIf",Ne.options.closeButton),s.xp6(1),s.Q6J("ngIf",Ne.title),s.xp6(1),s.Q6J("ngIf",Ne.message&&Ne.options.enableHtml),s.xp6(1),s.Q6J("ngIf",Ne.message&&!Ne.options.enableHtml),s.xp6(1),s.Q6J("ngIf",Ne.options.progressBar))},dependencies:[K.O5],encapsulation:2,data:{animation:[(0,f.X$)("flyInOut",[(0,f.SB)("inactive",(0,f.oB)({opacity:0})),(0,f.SB)("active",(0,f.oB)({opacity:1})),(0,f.SB)("removed",(0,f.oB)({opacity:0})),(0,f.eR)("inactive => active",(0,f.jt)("{{ easeTime }}ms {{ easing }}")),(0,f.eR)("active => removed",(0,f.jt)("{{ easeTime }}ms {{ easing }}"))])]}}),Le})();const qe={maxOpened:0,autoDismiss:!1,newestOnTop:!0,preventDuplicates:!1,countDuplicates:!1,resetTimeoutOnDuplicate:!1,includeTitleDuplicates:!1,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},closeButton:!1,disableTimeOut:!1,timeOut:5e3,extendedTimeOut:1e3,enableHtml:!1,progressBar:!1,toastClass:"ngx-toastr",positionClass:"toast-top-right",titleClass:"toast-title",messageClass:"toast-message",easing:"ease-in",easeTime:300,tapToDismiss:!0,onActivateTick:!1,progressAnimation:"decreasing",payload:null,toastComponent:We};let pt=(()=>{class Le{static forRoot(fe={}){return{ngModule:Le,providers:[{provide:se,useValue:{default:qe,config:fe}}]}}}return Le.\u0275fac=function(fe){return new(fe||Le)},Le.\u0275mod=s.oAB({type:Le}),Le.\u0275inj=s.cJS({imports:[K.ez]}),Le})()},5861:(it,Ce,D)=>{function s(U,K,X,J,oe,ee,Q){try{var j=U[ee](Q),Y=j.value}catch(W){return void X(W)}j.done?K(Y):Promise.resolve(Y).then(J,oe)}function f(U){return function(){var K=this,X=arguments;return new Promise(function(J,oe){var ee=U.apply(K,X);function Q(Y){s(ee,J,oe,Q,j,"next",Y)}function j(Y){s(ee,J,oe,Q,j,"throw",Y)}Q(void 0)})}}D.d(Ce,{Z:()=>f})}},it=>{it(it.s=5059)}]);
|
|
1
|
+
"use strict";(self.webpackChunkpos_marketplace=self.webpackChunkpos_marketplace||[]).push([[179],{7899:(it,Ce,D)=>{D.d(Ce,{zQ:()=>xi,ww:()=>ei});var s=D(4650),f=D(7579),U=D(9646),K=D(9751),X=D(8996),J=D(6451),oe=D(5363),ee=D(3900),Q=D(4004),j=D(4782),Y=D(590),W=D(576);function xe(_e,be){return(0,W.m)(be)?(0,ee.w)(()=>_e,be):(0,ee.w)(()=>_e)}var Te=D(9468),$e=D(9300),Ye=D(5813),Se=D(2011),Fe=D(6895);D(5867);var At=D(5861),It=D(9681),Le=D(4859),et=D(2090),fe=D(1877);const Ne=new Map,rt={activated:!1,tokenObservers:[]},Ft={initialized:!1,enabled:!1};function $t(_e){return Ne.get(_e)||rt}function ln(_e,be){Ne.set(_e,be)}function Kt(){return Ft}class Gt{constructor(be,ke,Xe,at,ht){if(this.operation=be,this.retryPolicy=ke,this.getWaitDuration=Xe,this.lowerBound=at,this.upperBound=ht,this.pending=null,this.nextErrorWaitInterval=at,at>ht)throw new Error("Proactive refresh lower bound greater than upper bound!")}start(){this.nextErrorWaitInterval=this.lowerBound,this.process(!0).catch(()=>{})}stop(){this.pending&&(this.pending.reject("cancelled"),this.pending=null)}isRunning(){return!!this.pending}process(be){var ke=this;return(0,At.Z)(function*(){ke.stop();try{ke.pending=new et.BH,yield function yt(_e){return new Promise(be=>{setTimeout(be,_e)})}(ke.getNextRun(be)),ke.pending.resolve(),yield ke.pending.promise,ke.pending=new et.BH,yield ke.operation(),ke.pending.resolve(),yield ke.pending.promise,ke.process(!0).catch(()=>{})}catch(Xe){ke.retryPolicy(Xe)?ke.process(!1).catch(()=>{}):ke.stop()}})()}getNextRun(be){if(be)return this.nextErrorWaitInterval=this.lowerBound,this.getWaitDuration();{const ke=this.nextErrorWaitInterval;return this.nextErrorWaitInterval*=2,this.nextErrorWaitInterval>this.upperBound&&(this.nextErrorWaitInterval=this.upperBound),ke}}}const tn=new et.LL("appCheck","AppCheck",{"already-initialized":"You have already called initializeAppCheck() for FirebaseApp {$appName} with different options. To avoid this error, call initializeAppCheck() with the same options as when it was originally called. This will return the already initialized instance.","use-before-activation":"App Check is being used before initializeAppCheck() is called for FirebaseApp {$appName}. Call initializeAppCheck() before instantiating other Firebase services.","fetch-network-error":"Fetch failed to connect to a network. Check Internet connection. Original error: {$originalErrorMessage}.","fetch-parse-error":"Fetch client could not parse response. Original error: {$originalErrorMessage}.","fetch-status-error":"Fetch server returned an HTTP error status. HTTP status: {$httpStatus}.","storage-open":"Error thrown when opening storage. Original error: {$originalErrorMessage}.","storage-get":"Error thrown when reading from storage. Original error: {$originalErrorMessage}.","storage-set":"Error thrown when writing to storage. Original error: {$originalErrorMessage}.","recaptcha-error":"ReCAPTCHA error.",throttled:"Requests throttled due to {$httpStatus} error. Attempts allowed again after {$time}"});function gn(_e){if(!$t(_e).activated)throw tn.create("use-before-activation",{appName:_e.name})}function Ot(_e,be){return Tt.apply(this,arguments)}function Tt(){return(Tt=(0,At.Z)(function*({url:_e,body:be},ke){var Xe,at;const ht={"Content-Type":"application/json"},zt=ke.getImmediate({optional:!0});if(zt){const li=yield zt.getHeartbeatsHeader();li&&(ht["X-Firebase-Client"]=li)}const jn={method:"POST",body:JSON.stringify(be),headers:ht};let rn,rr;try{rn=yield fetch(_e,jn)}catch(li){throw tn.create("fetch-network-error",{originalErrorMessage:null===(Xe=li)||void 0===Xe?void 0:Xe.message})}if(200!==rn.status)throw tn.create("fetch-status-error",{httpStatus:rn.status});try{rr=yield rn.json()}catch(li){throw tn.create("fetch-parse-error",{originalErrorMessage:null===(at=li)||void 0===at?void 0:at.message})}const kr=rr.ttl.match(/^([\d.]+)(s)$/);if(!kr||!kr[2]||isNaN(Number(kr[1])))throw tn.create("fetch-parse-error",{originalErrorMessage:`ttl field (timeToLive) is not in standard Protobuf Duration format: ${rr.ttl}`});const Oi=1e3*Number(kr[1]),ai=Date.now();return{token:rr.token,expireTimeMillis:ai+Oi,issuedAtTimeMillis:ai}})).apply(this,arguments)}function ze(_e,be){const{projectId:ke,appId:Xe,apiKey:at}=_e.options;return{url:`https://content-firebaseappcheck.googleapis.com/v1/projects/${ke}/apps/${Xe}:exchangeDebugToken?key=${at}`,body:{debug_token:be}}}const Ze="firebase-app-check-store";let Mt=null;function Yn(){return Mt||(Mt=new Promise((_e,be)=>{var ke;try{const Xe=indexedDB.open("firebase-app-check-database",1);Xe.onsuccess=at=>{_e(at.target.result)},Xe.onerror=at=>{var ht;be(tn.create("storage-open",{originalErrorMessage:null===(ht=at.target.error)||void 0===ht?void 0:ht.message}))},Xe.onupgradeneeded=at=>{0===at.oldVersion&&at.target.result.createObjectStore(Ze,{keyPath:"compositeKey"})}}catch(Xe){be(tn.create("storage-open",{originalErrorMessage:null===(ke=Xe)||void 0===ke?void 0:ke.message}))}}),Mt)}function F(){return(F=(0,At.Z)(function*(_e,be){const Xe=(yield Yn()).transaction(Ze,"readwrite"),ht=Xe.objectStore(Ze).put({compositeKey:_e,value:be});return new Promise((zt,jn)=>{ht.onsuccess=rn=>{zt()},Xe.onerror=rn=>{var rr;jn(tn.create("storage-set",{originalErrorMessage:null===(rr=rn.target.error)||void 0===rr?void 0:rr.message}))}})})).apply(this,arguments)}const L=new fe.Yd("@firebase/app-check");function He(_e,be){return(0,et.hl)()?function Tn(_e,be){return function ne(_e,be){return F.apply(this,arguments)}(function ve(_e){return`${_e.options.appId}-${_e.name}`}(_e),be)}(_e,be).catch(ke=>{L.warn(`Failed to write token to IndexedDB. Error: ${ke}`)}):Promise.resolve()}function Nt(){return Kt().enabled}function Bt(){return ye.apply(this,arguments)}function ye(){return(ye=(0,At.Z)(function*(){const _e=Kt();if(_e.enabled&&_e.token)return _e.token.promise;throw Error("\n Can't get debug token in production mode.\n ")})).apply(this,arguments)}const C={error:"UNKNOWN_ERROR"};function I(_e){return et.US.encodeString(JSON.stringify(_e),!1)}function $(_e){return ue.apply(this,arguments)}function ue(){return(ue=(0,At.Z)(function*(_e,be=!1){const ke=_e.app;gn(ke);const Xe=$t(ke);let ht,at=Xe.token;if(at&&!Sn(at)&&(ln(ke,Object.assign(Object.assign({},Xe),{token:void 0})),at=void 0),!at){const rn=yield Xe.cachedTokenPromise;rn&&(Sn(rn)?at=rn:yield He(ke,void 0))}if(!be&&at&&Sn(at))return{token:at.token};let jn,zt=!1;if(Nt()){Xe.exchangeTokenPromise||(Xe.exchangeTokenPromise=Ot(ze(ke,yield Bt()),_e.heartbeatServiceProvider).finally(()=>{Xe.exchangeTokenPromise=void 0}),zt=!0);const rn=yield Xe.exchangeTokenPromise;return yield He(ke,rn),ln(ke,Object.assign(Object.assign({},Xe),{token:rn})),{token:rn.token}}try{Xe.exchangeTokenPromise||(Xe.exchangeTokenPromise=Xe.provider.getToken().finally(()=>{Xe.exchangeTokenPromise=void 0}),zt=!0),at=yield Xe.exchangeTokenPromise}catch(rn){"appCheck/throttled"===rn.code?L.warn(rn.message):L.error(rn),ht=rn}return at?ht?jn=Sn(at)?{token:at.token,internalError:ht}:Jr(ht):(jn={token:at.token},ln(ke,Object.assign(Object.assign({},Xe),{token:at})),yield He(ke,at)):jn=Jr(ht),zt&&Dr(ke,jn),jn})).apply(this,arguments)}function vt(_e,be){const ke=$t(_e),Xe=ke.tokenObservers.filter(at=>at.next!==be);0===Xe.length&&ke.tokenRefresher&&ke.tokenRefresher.isRunning()&&ke.tokenRefresher.stop(),ln(_e,Object.assign(Object.assign({},ke),{tokenObservers:Xe}))}function Dn(_e){const{app:be}=_e,ke=$t(be);let Xe=ke.tokenRefresher;Xe||(Xe=function Mn(_e){const{app:be}=_e;return new Gt((0,At.Z)(function*(){let Xe;if(Xe=$t(be).token?yield $(_e,!0):yield $(_e),Xe.error)throw Xe.error;if(Xe.internalError)throw Xe.internalError}),()=>!0,()=>{const ke=$t(be);if(ke.token){let Xe=ke.token.issuedAtTimeMillis+.5*(ke.token.expireTimeMillis-ke.token.issuedAtTimeMillis)+3e5;return Xe=Math.min(Xe,ke.token.expireTimeMillis-3e5),Math.max(0,Xe-Date.now())}return 0},3e4,96e4)}(_e),ln(be,Object.assign(Object.assign({},ke),{tokenRefresher:Xe}))),!Xe.isRunning()&&ke.isTokenAutoRefreshEnabled&&Xe.start()}function Dr(_e,be){const ke=$t(_e).tokenObservers;for(const Xe of ke)try{"EXTERNAL"===Xe.type&&null!=be.error?Xe.error(be.error):Xe.next(be)}catch{}}function Sn(_e){return _e.expireTimeMillis-Date.now()>0}function Jr(_e){return{token:I(C),error:_e}}class si{constructor(be,ke){this.app=be,this.heartbeatServiceProvider=ke}_delete(){const{tokenObservers:be}=$t(this.app);for(const ke of be)vt(this.app,ke.next);return Promise.resolve()}}const fi="app-check-internal";!function wr(){(0,It._registerComponent)(new Le.wA("app-check",_e=>function oo(_e,be){return new si(_e,be)}(_e.getProvider("app").getImmediate(),_e.getProvider("heartbeat")),"PUBLIC").setInstantiationMode("EXPLICIT").setInstanceCreatedCallback((_e,be,ke)=>{_e.getProvider(fi).initialize()})),(0,It._registerComponent)(new Le.wA(fi,_e=>function Hi(_e){return{getToken:be=>$(_e,be),addTokenListener:be=>function Ke(_e,be,ke,Xe){const{app:at}=_e,ht=$t(at),zt={next:ke,error:Xe,type:be};if(ln(at,Object.assign(Object.assign({},ht),{tokenObservers:[...ht.tokenObservers,zt]})),ht.token&&Sn(ht.token)){const jn=ht.token;Promise.resolve().then(()=>{ke({token:jn.token}),Dn(_e)}).catch(()=>{})}ht.cachedTokenPromise.then(()=>Dn(_e))}(_e,"INTERNAL",be),removeTokenListener:be=>vt(_e.app,be)}}(_e.getProvider("app-check").getImmediate()),"PUBLIC").setInstantiationMode("EXPLICIT")),(0,It.registerVersion)("@firebase/app-check","0.5.15")}();class Ln{constructor(){return(0,Ye.vb)("app-check")}}typeof window<"u"&&window;var mo=D(127);const Ai=new s.OlP("angularfire2.auth.use-emulator"),Wi=new s.OlP("angularfire2.auth.settings"),Ki=new s.OlP("angularfire2.auth.tenant-id"),_o=new s.OlP("angularfire2.auth.langugage-code"),yo=new s.OlP("angularfire2.auth.use-device-language"),Io=new s.OlP("angularfire.auth.persistence");let xi=(()=>{class _e{constructor(ke,Xe,at,ht,zt,jn,rn,rr,kr,Oi,ai,li){const so=new f.x,yi=(0,U.of)(void 0).pipe((0,oe.Q)(zt.outsideAngular),(0,ee.w)(()=>ht.runOutsideAngular(()=>D.e(545).then(D.bind(D,9545)))),(0,Q.U)(()=>(0,Se.on)(ke,ht,Xe)),(0,Q.U)(Hr=>((_e,be,ke,Xe,at,ht,zt,jn)=>(0,Se.cc)(`${_e.name}.auth`,"AngularFireAuth",_e.name,()=>{const rn=be.runOutsideAngular(()=>_e.auth());if(ke&&rn.useEmulator(...ke),Xe&&(rn.tenantId=Xe),rn.languageCode=at,ht&&rn.useDeviceLanguage(),zt)for(const[rr,kr]of Object.entries(zt))rn.settings[rr]=kr;return jn&&rn.setPersistence(jn),rn},[ke,Xe,at,ht,zt,jn]))(Hr,ht,jn,rr,kr,Oi,rn,ai)),(0,j.d)({bufferSize:1,refCount:!1}));if((0,Fe.PM)(at))this.authState=this.user=this.idToken=this.idTokenResult=this.credential=(0,U.of)(null);else{yi.pipe((0,Y.P)()).subscribe();const Yi=yi.pipe((0,ee.w)(En=>En.getRedirectResult().then(Bn=>Bn,()=>null)),Ye.iC,(0,j.d)({bufferSize:1,refCount:!1})),Tr=yi.pipe((0,ee.w)(En=>new K.y(Bn=>({unsubscribe:ht.runOutsideAngular(()=>En.onAuthStateChanged(ni=>Bn.next(ni),ni=>Bn.error(ni),()=>Bn.complete()))})))),ti=yi.pipe((0,ee.w)(En=>new K.y(Bn=>({unsubscribe:ht.runOutsideAngular(()=>En.onIdTokenChanged(ni=>Bn.next(ni),ni=>Bn.error(ni),()=>Bn.complete()))}))));this.authState=Yi.pipe(xe(Tr),(0,Te.R)(zt.outsideAngular),(0,oe.Q)(zt.insideAngular)),this.user=Yi.pipe(xe(ti),(0,Te.R)(zt.outsideAngular),(0,oe.Q)(zt.insideAngular)),this.idToken=this.user.pipe((0,ee.w)(En=>En?(0,X.D)(En.getIdToken()):(0,U.of)(null))),this.idTokenResult=this.user.pipe((0,ee.w)(En=>En?(0,X.D)(En.getIdTokenResult()):(0,U.of)(null))),this.credential=(0,J.T)(Yi,so,this.authState.pipe((0,$e.h)(En=>!En))).pipe((0,Q.U)(En=>En?.user?En:null),(0,Te.R)(zt.outsideAngular),(0,oe.Q)(zt.insideAngular))}return(0,Se.pX)(this,yi,ht,{spy:{apply:(Hr,Yi,Tr)=>{(Hr.startsWith("signIn")||Hr.startsWith("createUser"))&&Tr.then(ti=>so.next(ti))}}})}}return _e.\u0275fac=function(ke){return new(ke||_e)(s.LFG(Se.Dh),s.LFG(Se.xv,8),s.LFG(s.Lbi),s.LFG(s.R0b),s.LFG(Ye.HU),s.LFG(Ai,8),s.LFG(Wi,8),s.LFG(Ki,8),s.LFG(_o,8),s.LFG(yo,8),s.LFG(Io,8),s.LFG(Ln,8))},_e.\u0275prov=s.Yz7({token:_e,factory:_e.\u0275fac,providedIn:"any"}),_e})(),ei=(()=>{class _e{constructor(){mo.Z.registerVersion("angularfire",Ye.q4.full,"auth-compat")}}return _e.\u0275fac=function(ke){return new(ke||_e)},_e.\u0275mod=s.oAB({type:_e}),_e.\u0275inj=s.cJS({providers:[xi]}),_e})()},2011:(it,Ce,D)=>{D.d(Ce,{Dh:()=>ee,GT:()=>J,cc:()=>Te,hO:()=>xe,on:()=>j,pX:()=>X,xv:()=>Q});var s=D(4650),f=D(127),U=D(5813);it=D.hmd(it);const K=["ngOnDestroy"],X=(Fe,Pe,De,Me={})=>new Proxy(Fe,{get:(H,ae)=>De.runOutsideAngular(()=>{var le;if(Fe[ae])return!(null===(le=Me?.spy)||void 0===le)&&le.get&&Me.spy.get(ae,Fe[ae]),Fe[ae];if(K.indexOf(ae)>-1)return()=>{};const pe=Pe.toPromise().then(se=>{const ge=se&&se[ae];return"function"==typeof ge?ge.bind(se):ge&&ge.then?ge.then(Z=>De.run(()=>Z)):De.run(()=>ge)});return new Proxy(()=>{},{get:(se,ge)=>pe[ge],apply:(se,ge,Z)=>pe.then(re=>{var Ie;const me=re&&re(...Z);return!(null===(Ie=Me?.spy)||void 0===Ie)&&Ie.apply&&Me.spy.apply(ae,Z,me),me})})})}),J=(Fe,Pe)=>{Pe.forEach(De=>{Object.getOwnPropertyNames(De.prototype||De).forEach(Me=>{Object.defineProperty(Fe.prototype,Me,Object.getOwnPropertyDescriptor(De.prototype||De,Me))})})};class oe{constructor(Pe){return Pe}}const ee=new s.OlP("angularfire2.app.options"),Q=new s.OlP("angularfire2.app.name");function j(Fe,Pe,De){const H="object"==typeof De&&De||{};H.name=H.name||"string"==typeof De&&De||"[DEFAULT]";const le=f.Z.apps.filter(pe=>pe&&pe.name===H.name)[0]||Pe.runOutsideAngular(()=>f.Z.initializeApp(Fe,H));try{JSON.stringify(Fe)!==JSON.stringify(le.options)&&Y("error",`${le.name} Firebase App already initialized with different options${it.hot?", you may need to reload as Firebase is not HMR aware.":"."}`)}catch{}return new oe(le)}const Y=(Fe,...Pe)=>{(0,s.X6Q)()&&typeof console<"u"&&console[Fe](...Pe)},W={provide:oe,useFactory:j,deps:[ee,s.R0b,[new s.FiY,Q]]};let xe=(()=>{class Fe{constructor(De){f.Z.registerVersion("angularfire",U.q4.full,"core"),f.Z.registerVersion("angularfire",U.q4.full,"app-compat"),f.Z.registerVersion("angular",s.q4F.full,De.toString())}static initializeApp(De,Me){return{ngModule:Fe,providers:[{provide:ee,useValue:De},{provide:Q,useValue:Me}]}}}return Fe.\u0275fac=function(De){return new(De||Fe)(s.LFG(s.Lbi))},Fe.\u0275mod=s.oAB({type:Fe}),Fe.\u0275inj=s.cJS({providers:[W]}),Fe})();function Te(Fe,Pe,De,Me,H){const[,ae,le]=globalThis.\u0275AngularfireInstanceCache.find(pe=>pe[0]===Fe)||[];if(ae)return function $e(Fe,Pe){try{return Fe.toString()===Pe.toString()}catch{return Fe===Pe}}(H,le)||(Se("error",`${Pe} was already initialized on the ${De} Firebase App with different settings.${Ye?" You may need to reload as Firebase is not HMR aware.":""}`),Se("warn",{is:H,was:le})),ae;{const pe=Me();return globalThis.\u0275AngularfireInstanceCache.push([Fe,pe,H]),pe}}const Ye=!!it.hot,Se=(Fe,...Pe)=>{(0,s.X6Q)()&&typeof console<"u"&&console[Fe](...Pe)};globalThis.\u0275AngularfireInstanceCache||(globalThis.\u0275AngularfireInstanceCache=[])},5813:(it,Ce,D)=>{D.d(Ce,{q4:()=>No,iC:()=>ia,HU:()=>To,vb:()=>St,JM:()=>_t});var s=D(4650),f=D(5867),U=D(5861),K=D(9681),X=D(2090),J=D(4859),oe=D(1877),ee=D(8766);const Q="@firebase/installations",j="0.5.15",W=`w:${j}`,xe="FIS_v2",Pe=new X.LL("installations","Installations",{"missing-app-config-values":'Missing App configuration value: "{$valueName}"',"not-registered":"Firebase Installation is not registered.","installation-not-found":"Firebase Installation not found.","request-failed":'{$requestName} request failed with error "{$serverCode} {$serverStatus}: {$serverMessage}"',"app-offline":"Could not process request. Application offline.","delete-pending-registration":"Can't delete installation while there is a pending registration request."});function De(b){return b instanceof X.ZR&&b.code.includes("request-failed")}function Me({projectId:b}){return`https://firebaseinstallations.googleapis.com/v1/projects/${b}/installations`}function H(b){return{token:b.token,requestStatus:2,expiresIn:re(b.expiresIn),creationTime:Date.now()}}function ae(b,T){return le.apply(this,arguments)}function le(){return(le=(0,U.Z)(function*(b,T){const ie=(yield T.json()).error;return Pe.create("request-failed",{requestName:b,serverCode:ie.code,serverMessage:ie.message,serverStatus:ie.status})})).apply(this,arguments)}function pe({apiKey:b}){return new Headers({"Content-Type":"application/json",Accept:"application/json","x-goog-api-key":b})}function se(b,{refreshToken:T}){const k=pe(b);return k.append("Authorization",function Ie(b){return`${xe} ${b}`}(T)),k}function ge(b){return Z.apply(this,arguments)}function Z(){return(Z=(0,U.Z)(function*(b){const T=yield b();return T.status>=500&&T.status<600?b():T})).apply(this,arguments)}function re(b){return Number(b.replace("s","000"))}function me(b,T){return We.apply(this,arguments)}function We(){return(We=(0,U.Z)(function*({appConfig:b,heartbeatServiceProvider:T},{fid:k}){const ie=Me(b),Ae=pe(b),Ve=T.getImmediate({optional:!0});if(Ve){const cn=yield Ve.getHeartbeatsHeader();cn&&Ae.append("x-firebase-client",cn)}const Et={method:"POST",headers:Ae,body:JSON.stringify({fid:k,authVersion:xe,appId:b.appId,sdkVersion:W})},Jt=yield ge(()=>fetch(ie,Et));if(Jt.ok){const cn=yield Jt.json();return{fid:cn.fid||k,registrationStatus:2,refreshToken:cn.refreshToken,authToken:H(cn.authToken)}}throw yield ae("Create Installation",Jt)})).apply(this,arguments)}function qe(b){return new Promise(T=>{setTimeout(T,b)})}const Ht=/^[cdef][\w-]{21}$/;function At(){try{const b=new Uint8Array(17);(self.crypto||self.msCrypto).getRandomValues(b),b[0]=112+b[0]%16;const k=function It(b){return function pt(b){return btoa(String.fromCharCode(...b)).replace(/\+/g,"-").replace(/\//g,"_")}(b).substr(0,22)}(b);return Ht.test(k)?k:""}catch{return""}}function Le(b){return`${b.appName}!${b.appId}`}const et=new Map;function fe(b,T){const k=Le(b);Ft(k,T),function $t(b,T){const k=function Kt(){return!ln&&"BroadcastChannel"in self&&(ln=new BroadcastChannel("[Firebase] FID Change"),ln.onmessage=b=>{Ft(b.data.key,b.data.fid)}),ln}();k&&k.postMessage({key:b,fid:T}),function Wn(){0===et.size&&ln&&(ln.close(),ln=null)}()}(k,T)}function Ft(b,T){const k=et.get(b);if(k)for(const ie of k)ie(T)}let ln=null;const In="firebase-installations-store";let Xt=null;function wn(){return Xt||(Xt=(0,ee.X3)("firebase-installations-database",1,{upgrade:(b,T)=>{0===T&&b.createObjectStore(In)}})),Xt}function Gt(b,T){return yt.apply(this,arguments)}function yt(){return(yt=(0,U.Z)(function*(b,T){const k=Le(b),Ae=(yield wn()).transaction(In,"readwrite"),Ve=Ae.objectStore(In),st=yield Ve.get(k);return yield Ve.put(T,k),yield Ae.done,(!st||st.fid!==T.fid)&&fe(b,T.fid),T})).apply(this,arguments)}function wt(b){return tn.apply(this,arguments)}function tn(){return(tn=(0,U.Z)(function*(b){const T=Le(b),ie=(yield wn()).transaction(In,"readwrite");yield ie.objectStore(In).delete(T),yield ie.done})).apply(this,arguments)}function $n(b,T){return gn.apply(this,arguments)}function gn(){return(gn=(0,U.Z)(function*(b,T){const k=Le(b),Ae=(yield wn()).transaction(In,"readwrite"),Ve=Ae.objectStore(In),st=yield Ve.get(k),Et=T(st);return void 0===Et?yield Ve.delete(k):yield Ve.put(Et,k),yield Ae.done,Et&&(!st||st.fid!==Et.fid)&&fe(b,Et.fid),Et})).apply(this,arguments)}function bn(b){return Hn.apply(this,arguments)}function Hn(){return(Hn=(0,U.Z)(function*(b){let T;const k=yield $n(b.appConfig,ie=>{const Ae=Ot(ie),Ve=Tt(b,Ae);return T=Ve.registrationPromise,Ve.installationEntry});return""===k.fid?{installationEntry:yield T}:{installationEntry:k,registrationPromise:T}})).apply(this,arguments)}function Ot(b){return Ze(b||{fid:At(),registrationStatus:0})}function Tt(b,T){if(0===T.registrationStatus){if(!navigator.onLine)return{installationEntry:T,registrationPromise:Promise.reject(Pe.create("app-offline"))};const k={fid:T.fid,registrationStatus:1,registrationTime:Date.now()},ie=function ut(b,T){return xt.apply(this,arguments)}(b,k);return{installationEntry:k,registrationPromise:ie}}return 1===T.registrationStatus?{installationEntry:T,registrationPromise:ze(b)}:{installationEntry:T}}function xt(){return(xt=(0,U.Z)(function*(b,T){try{const k=yield me(b,T);return Gt(b.appConfig,k)}catch(k){throw De(k)&&409===k.customData.serverCode?yield wt(b.appConfig):yield Gt(b.appConfig,{fid:T.fid,registrationStatus:0}),k}})).apply(this,arguments)}function ze(b){return ft.apply(this,arguments)}function ft(){return(ft=(0,U.Z)(function*(b){let T=yield Re(b.appConfig);for(;1===T.registrationStatus;)yield qe(100),T=yield Re(b.appConfig);if(0===T.registrationStatus){const{installationEntry:k,registrationPromise:ie}=yield bn(b);return ie||k}return T})).apply(this,arguments)}function Re(b){return $n(b,T=>{if(!T)throw Pe.create("installation-not-found");return Ze(T)})}function Ze(b){return function kt(b){return 1===b.registrationStatus&&b.registrationTime+1e4<Date.now()}(b)?{fid:b.fid,registrationStatus:0}:b}function Mt(b,T){return Yn.apply(this,arguments)}function Yn(){return(Yn=(0,U.Z)(function*({appConfig:b,heartbeatServiceProvider:T},k){const ie=Pt(b,k),Ae=se(b,k),Ve=T.getImmediate({optional:!0});if(Ve){const cn=yield Ve.getHeartbeatsHeader();cn&&Ae.append("x-firebase-client",cn)}const Et={method:"POST",headers:Ae,body:JSON.stringify({installation:{sdkVersion:W,appId:b.appId}})},Jt=yield ge(()=>fetch(ie,Et));if(Jt.ok)return H(yield Jt.json());throw yield ae("Generate Auth Token",Jt)})).apply(this,arguments)}function Pt(b,{fid:T}){return`${Me(b)}/${T}/authTokens:generate`}function Tn(b){return Zn.apply(this,arguments)}function Zn(){return(Zn=(0,U.Z)(function*(b,T=!1){let k;const ie=yield $n(b.appConfig,Ve=>{if(!ve(Ve))throw Pe.create("not-registered");const st=Ve.authToken;if(!T&&L(st))return Ve;if(1===st.requestStatus)return k=lt(b,T),Ve;{if(!navigator.onLine)throw Pe.create("app-offline");const Et=de(Ve);return k=M(b,Et),Et}});return k?yield k:ie.authToken})).apply(this,arguments)}function lt(b,T){return ne.apply(this,arguments)}function ne(){return(ne=(0,U.Z)(function*(b,T){let k=yield F(b.appConfig);for(;1===k.authToken.requestStatus;)yield qe(100),k=yield F(b.appConfig);const ie=k.authToken;return 0===ie.requestStatus?Tn(b,T):ie})).apply(this,arguments)}function F(b){return $n(b,T=>{if(!ve(T))throw Pe.create("not-registered");return function He(b){return 1===b.requestStatus&&b.requestTime+1e4<Date.now()}(T.authToken)?Object.assign(Object.assign({},T),{authToken:{requestStatus:0}}):T})}function M(b,T){return R.apply(this,arguments)}function R(){return(R=(0,U.Z)(function*(b,T){try{const k=yield Mt(b,T),ie=Object.assign(Object.assign({},T),{authToken:k});return yield Gt(b.appConfig,ie),k}catch(k){if(!De(k)||401!==k.customData.serverCode&&404!==k.customData.serverCode){const ie=Object.assign(Object.assign({},T),{authToken:{requestStatus:0}});yield Gt(b.appConfig,ie)}else yield wt(b.appConfig);throw k}})).apply(this,arguments)}function ve(b){return void 0!==b&&2===b.registrationStatus}function L(b){return 2===b.requestStatus&&!function G(b){const T=Date.now();return T<b.creationTime||b.creationTime+b.expiresIn<T+36e5}(b)}function de(b){const T={requestStatus:1,requestTime:Date.now()};return Object.assign(Object.assign({},b),{authToken:T})}function ot(){return(ot=(0,U.Z)(function*(b){const T=b,{installationEntry:k,registrationPromise:ie}=yield bn(T);return ie?ie.catch(console.error):Tn(T).catch(console.error),k.fid})).apply(this,arguments)}function Bt(){return(Bt=(0,U.Z)(function*(b,T=!1){const k=b;return yield ye(k),(yield Tn(k,T)).token})).apply(this,arguments)}function ye(b){return x.apply(this,arguments)}function x(){return(x=(0,U.Z)(function*(b){const{registrationPromise:T}=yield bn(b);T&&(yield T)})).apply(this,arguments)}function Dr(b){return Pe.create("missing-app-config-values",{valueName:b})}const Sn="installations",si=b=>{const T=b.getProvider("app").getImmediate(),k=function Mn(b){if(!b||!b.options)throw Dr("App Configuration");if(!b.name)throw Dr("App Name");const T=["projectId","apiKey","appId"];for(const k of T)if(!b.options[k])throw Dr(k);return{appName:b.name,projectId:b.options.projectId,apiKey:b.options.apiKey,appId:b.options.appId}}(T);return{app:T,appConfig:k,heartbeatServiceProvider:(0,K._getProvider)(T,"heartbeat"),_delete:()=>Promise.resolve()}},oo=b=>{const T=b.getProvider("app").getImmediate(),k=(0,K._getProvider)(T,Sn).getImmediate();return{getId:()=>function Ee(b){return ot.apply(this,arguments)}(k),getToken:Ae=>function Nt(b){return Bt.apply(this,arguments)}(k,Ae)}};(function Hi(){(0,K._registerComponent)(new J.wA(Sn,si,"PUBLIC")),(0,K._registerComponent)(new J.wA("installations-internal",oo,"PRIVATE"))})(),(0,K.registerVersion)(Q,j),(0,K.registerVersion)(Q,j,"esm2017");const Ur="@firebase/remote-config",qn=new X.LL("remoteconfig","Remote Config",{"registration-window":"Undefined window object. This SDK only supports usage in a browser environment.","registration-project-id":"Undefined project identifier. Check Firebase app initialization.","registration-api-key":"Undefined API key. Check Firebase app initialization.","registration-app-id":"Undefined app identifier. Check Firebase app initialization.","storage-open":"Error thrown when opening storage. Original error: {$originalErrorMessage}.","storage-get":"Error thrown when reading from storage. Original error: {$originalErrorMessage}.","storage-set":"Error thrown when writing to storage. Original error: {$originalErrorMessage}.","storage-delete":"Error thrown when deleting from storage. Original error: {$originalErrorMessage}.","fetch-client-network":"Fetch client failed to connect to a network. Check Internet connection. Original error: {$originalErrorMessage}.","fetch-timeout":'The config fetch request timed out. Configure timeout using "fetchTimeoutMillis" SDK setting.',"fetch-throttle":'The config fetch request timed out while in an exponential backoff state. Configure timeout using "fetchTimeoutMillis" SDK setting. Unix timestamp in milliseconds when fetch request throttling ends: {$throttleEndTimeMillis}.',"fetch-client-parse":"Fetch client could not parse response. Original error: {$originalErrorMessage}.","fetch-status":"Fetch server returned an HTTP error status. HTTP status: {$httpStatus}.","indexed-db-unavailable":"Indexed DB is not supported by current browser"});class fi{constructor(T,k,ie,Ae){this.client=T,this.storage=k,this.storageCache=ie,this.logger=Ae}isCachedDataFresh(T,k){if(!k)return this.logger.debug("Config fetch cache check. Cache unpopulated."),!1;const ie=Date.now()-k,Ae=ie<=T;return this.logger.debug(`Config fetch cache check. Cache age millis: ${ie}. Cache max age millis (minimumFetchIntervalMillis setting): ${T}. Is cache hit: ${Ae}.`),Ae}fetch(T){var k=this;return(0,U.Z)(function*(){const[ie,Ae]=yield Promise.all([k.storage.getLastSuccessfulFetchTimestampMillis(),k.storage.getLastSuccessfulFetchResponse()]);if(Ae&&k.isCachedDataFresh(T.cacheMaxAgeMillis,ie))return Ae;T.eTag=Ae&&Ae.eTag;const Ve=yield k.client.fetch(T),st=[k.storageCache.setLastSuccessfulFetchTimestampMillis(Date.now())];return 200===Ve.status&&st.push(k.storage.setLastSuccessfulFetchResponse(Ve)),yield Promise.all(st),Ve})()}}function wr(b=navigator){return b.languages&&b.languages[0]||b.language}class hi{constructor(T,k,ie,Ae,Ve,st){this.firebaseInstallations=T,this.sdkVersion=k,this.namespace=ie,this.projectId=Ae,this.apiKey=Ve,this.appId=st}fetch(T){var k=this;return(0,U.Z)(function*(){var ie,Ae,Ve;const[st,Et]=yield Promise.all([k.firebaseInstallations.getId(),k.firebaseInstallations.getToken()]),cn=`${window.FIREBASE_REMOTE_CONFIG_URL_BASE||"https://firebaseremoteconfig.googleapis.com"}/v1/projects/${k.projectId}/namespaces/${k.namespace}:fetch?key=${k.apiKey}`,hn={"Content-Type":"application/json","Content-Encoding":"gzip","If-None-Match":T.eTag||"*"},qt={sdk_version:k.sdkVersion,app_instance_id:st,app_instance_id_token:Et,app_id:k.appId,language_code:wr()},wi={method:"POST",headers:hn,body:JSON.stringify(qt)},Li=fetch(cn,wi),la=new Promise((us,Hs)=>{T.signal.addEventListener(()=>{const Fa=new Error("The operation was aborted.");Fa.name="AbortError",Hs(Fa)})});let ca;try{yield Promise.race([Li,la]),ca=yield Li}catch(us){let Hs="fetch-client-network";throw"AbortError"===(null===(ie=us)||void 0===ie?void 0:ie.name)&&(Hs="fetch-timeout"),qn.create(Hs,{originalErrorMessage:null===(Ae=us)||void 0===Ae?void 0:Ae.message})}let Us=ca.status;const Gl=ca.headers.get("ETag")||void 0;let Ra,cs;if(200===ca.status){let us;try{us=yield ca.json()}catch(Hs){throw qn.create("fetch-client-parse",{originalErrorMessage:null===(Ve=Hs)||void 0===Ve?void 0:Ve.message})}Ra=us.entries,cs=us.state}if("INSTANCE_STATE_UNSPECIFIED"===cs?Us=500:"NO_CHANGE"===cs?Us=304:("NO_TEMPLATE"===cs||"EMPTY_CONFIG"===cs)&&(Ra={}),304!==Us&&200!==Us)throw qn.create("fetch-status",{httpStatus:Us});return{status:Us,eTag:Gl,config:Ra}})()}}class fr{constructor(T,k){this.client=T,this.storage=k}fetch(T){var k=this;return(0,U.Z)(function*(){const ie=(yield k.storage.getThrottleMetadata())||{backoffCount:0,throttleEndTimeMillis:Date.now()};return k.attemptFetch(T,ie)})()}attemptFetch(T,{throttleEndTimeMillis:k,backoffCount:ie}){var Ae=this;return(0,U.Z)(function*(){yield function Vi(b,T){return new Promise((k,ie)=>{const Ae=Math.max(T-Date.now(),0),Ve=setTimeout(k,Ae);b.addEventListener(()=>{clearTimeout(Ve),ie(qn.create("fetch-throttle",{throttleEndTimeMillis:T}))})})}(T.signal,k);try{const Ve=yield Ae.client.fetch(T);return yield Ae.storage.deleteThrottleMetadata(),Ve}catch(Ve){if(!function Ln(b){if(!(b instanceof X.ZR&&b.customData))return!1;const T=Number(b.customData.httpStatus);return 429===T||500===T||503===T||504===T}(Ve))throw Ve;const st={throttleEndTimeMillis:Date.now()+(0,X.$s)(ie),backoffCount:ie+1};return yield Ae.storage.setThrottleMetadata(st),Ae.attemptFetch(T,st)}})()}}class Pr{constructor(T,k,ie,Ae,Ve){this.app=T,this._client=k,this._storageCache=ie,this._storage=Ae,this._logger=Ve,this._isInitializationComplete=!1,this.settings={fetchTimeoutMillis:6e4,minimumFetchIntervalMillis:432e5},this.defaultConfig={}}get fetchTimeMillis(){return this._storageCache.getLastSuccessfulFetchTimestampMillis()||-1}get lastFetchStatus(){return this._storageCache.getLastFetchStatus()||"no-fetch-yet"}}function Wr(b,T){var k;const ie=b.target.error||void 0;return qn.create(T,{originalErrorMessage:ie&&(null===(k=ie)||void 0===k?void 0:k.message)})}const hr="app_namespace_store";class Kn{constructor(T,k,ie,Ae=function _r(){return new Promise((b,T)=>{var k;try{const ie=indexedDB.open("firebase_remote_config",1);ie.onerror=Ae=>{T(Wr(Ae,"storage-open"))},ie.onsuccess=Ae=>{b(Ae.target.result)},ie.onupgradeneeded=Ae=>{0===Ae.oldVersion&&Ae.target.result.createObjectStore(hr,{keyPath:"compositeKey"})}}catch(ie){T(qn.create("storage-open",{originalErrorMessage:null===(k=ie)||void 0===k?void 0:k.message}))}})}()){this.appId=T,this.appName=k,this.namespace=ie,this.openDbPromise=Ae}getLastFetchStatus(){return this.get("last_fetch_status")}setLastFetchStatus(T){return this.set("last_fetch_status",T)}getLastSuccessfulFetchTimestampMillis(){return this.get("last_successful_fetch_timestamp_millis")}setLastSuccessfulFetchTimestampMillis(T){return this.set("last_successful_fetch_timestamp_millis",T)}getLastSuccessfulFetchResponse(){return this.get("last_successful_fetch_response")}setLastSuccessfulFetchResponse(T){return this.set("last_successful_fetch_response",T)}getActiveConfig(){return this.get("active_config")}setActiveConfig(T){return this.set("active_config",T)}getActiveConfigEtag(){return this.get("active_config_etag")}setActiveConfigEtag(T){return this.set("active_config_etag",T)}getThrottleMetadata(){return this.get("throttle_metadata")}setThrottleMetadata(T){return this.set("throttle_metadata",T)}deleteThrottleMetadata(){return this.delete("throttle_metadata")}get(T){var k=this;return(0,U.Z)(function*(){const ie=yield k.openDbPromise;return new Promise((Ae,Ve)=>{var st;const Jt=ie.transaction([hr],"readonly").objectStore(hr),cn=k.createCompositeKey(T);try{const hn=Jt.get(cn);hn.onerror=qt=>{Ve(Wr(qt,"storage-get"))},hn.onsuccess=qt=>{const wi=qt.target.result;Ae(wi?wi.value:void 0)}}catch(hn){Ve(qn.create("storage-get",{originalErrorMessage:null===(st=hn)||void 0===st?void 0:st.message}))}})})()}set(T,k){var ie=this;return(0,U.Z)(function*(){const Ae=yield ie.openDbPromise;return new Promise((Ve,st)=>{var Et;const cn=Ae.transaction([hr],"readwrite").objectStore(hr),hn=ie.createCompositeKey(T);try{const qt=cn.put({compositeKey:hn,value:k});qt.onerror=wi=>{st(Wr(wi,"storage-set"))},qt.onsuccess=()=>{Ve()}}catch(qt){st(qn.create("storage-set",{originalErrorMessage:null===(Et=qt)||void 0===Et?void 0:Et.message}))}})})()}delete(T){var k=this;return(0,U.Z)(function*(){const ie=yield k.openDbPromise;return new Promise((Ae,Ve)=>{var st;const Jt=ie.transaction([hr],"readwrite").objectStore(hr),cn=k.createCompositeKey(T);try{const hn=Jt.delete(cn);hn.onerror=qt=>{Ve(Wr(qt,"storage-delete"))},hn.onsuccess=()=>{Ae()}}catch(hn){Ve(qn.create("storage-delete",{originalErrorMessage:null===(st=hn)||void 0===st?void 0:st.message}))}})})()}createCompositeKey(T){return[this.appId,this.appName,this.namespace,T].join()}}class qr{constructor(T){this.storage=T}getLastFetchStatus(){return this.lastFetchStatus}getLastSuccessfulFetchTimestampMillis(){return this.lastSuccessfulFetchTimestampMillis}getActiveConfig(){return this.activeConfig}loadFromStorage(){var T=this;return(0,U.Z)(function*(){const k=T.storage.getLastFetchStatus(),ie=T.storage.getLastSuccessfulFetchTimestampMillis(),Ae=T.storage.getActiveConfig(),Ve=yield k;Ve&&(T.lastFetchStatus=Ve);const st=yield ie;st&&(T.lastSuccessfulFetchTimestampMillis=st);const Et=yield Ae;Et&&(T.activeConfig=Et)})()}setLastFetchStatus(T){return this.lastFetchStatus=T,this.storage.setLastFetchStatus(T)}setLastSuccessfulFetchTimestampMillis(T){return this.lastSuccessfulFetchTimestampMillis=T,this.storage.setLastSuccessfulFetchTimestampMillis(T)}setActiveConfig(T){return this.activeConfig=T,this.storage.setActiveConfig(T)}}function Si(){return mo.apply(this,arguments)}function mo(){return(mo=(0,U.Z)(function*(){if(!(0,X.hl)())return!1;try{return yield(0,X.eu)()}catch{return!1}})).apply(this,arguments)}!function zi(){(0,K._registerComponent)(new J.wA("remote-config",function b(T,{instanceIdentifier:k}){const ie=T.getProvider("app").getImmediate(),Ae=T.getProvider("installations-internal").getImmediate();if(typeof window>"u")throw qn.create("registration-window");if(!(0,X.hl)())throw qn.create("indexed-db-unavailable");const{projectId:Ve,apiKey:st,appId:Et}=ie.options;if(!Ve)throw qn.create("registration-project-id");if(!st)throw qn.create("registration-api-key");if(!Et)throw qn.create("registration-app-id");const Jt=new Kn(Et,ie.name,k=k||"firebase"),cn=new qr(Jt),hn=new oe.Yd(Ur);hn.logLevel=oe.in.ERROR;const qt=new hi(Ae,K.SDK_VERSION,k,Ve,st,Et),wi=new fr(qt,Jt),Li=new fi(wi,Jt,cn,hn),la=new Pr(ie,Li,cn,Jt,hn);return function dn(b){const T=(0,X.m9)(b);T._initializePromise||(T._initializePromise=T._storageCache.loadFromStorage().then(()=>{T._isInitializationComplete=!0}))}(la),la},"PUBLIC").setMultipleInstances(!0)),(0,K.registerVersion)(Ur,"0.3.14"),(0,K.registerVersion)(Ur,"0.3.14","esm2017")}();const Fr="/firebase-messaging-sw.js",Ai="/firebase-cloud-messaging-push-scope",Wi="BDOU99-h67HcA6JeFXHbSNMu7e2yNNu3RzoMj8TM4W88jITfq7ZmPvIM1Iv-4_l2LxQcYwhqby2xGpWwzjfAnG4",_o="google.c.a.c_id",yo="google.c.a.c_l",Io="google.c.a.ts",_s="google.c.a.e";var ei=(()=>{return(b=ei||(ei={})).PUSH_RECEIVED="push-received",b.NOTIFICATION_CLICKED="notification-clicked",ei;var b})();function _e(b){const T=new Uint8Array(b);return btoa(String.fromCharCode(...T)).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function be(b){const k=(b+"=".repeat((4-b.length%4)%4)).replace(/\-/g,"+").replace(/_/g,"/"),ie=atob(k),Ae=new Uint8Array(ie.length);for(let Ve=0;Ve<ie.length;++Ve)Ae[Ve]=ie.charCodeAt(Ve);return Ae}const ke="fcm_token_details_db",at="fcm_token_object_Store";function ht(b){return zt.apply(this,arguments)}function zt(){return zt=(0,U.Z)(function*(b){if("databases"in indexedDB&&!(yield indexedDB.databases()).map(Ve=>Ve.name).includes(ke))return null;let T=null;return(yield(0,ee.X3)(ke,5,{upgrade:(ie=(0,U.Z)(function*(Ae,Ve,st,Et){var Jt;if(Ve<2||!Ae.objectStoreNames.contains(at))return;const cn=Et.objectStore(at),hn=yield cn.index("fcmSenderId").get(b);if(yield cn.clear(),hn)if(2===Ve){const qt=hn;if(!qt.auth||!qt.p256dh||!qt.endpoint)return;T={token:qt.fcmToken,createTime:null!==(Jt=qt.createTime)&&void 0!==Jt?Jt:Date.now(),subscriptionOptions:{auth:qt.auth,p256dh:qt.p256dh,endpoint:qt.endpoint,swScope:qt.swScope,vapidKey:"string"==typeof qt.vapidKey?qt.vapidKey:_e(qt.vapidKey)}}}else if(3===Ve){const qt=hn;T={token:qt.fcmToken,createTime:qt.createTime,subscriptionOptions:{auth:_e(qt.auth),p256dh:_e(qt.p256dh),endpoint:qt.endpoint,swScope:qt.swScope,vapidKey:_e(qt.vapidKey)}}}else if(4===Ve){const qt=hn;T={token:qt.fcmToken,createTime:qt.createTime,subscriptionOptions:{auth:_e(qt.auth),p256dh:_e(qt.p256dh),endpoint:qt.endpoint,swScope:qt.swScope,vapidKey:_e(qt.vapidKey)}}}}),function(Ve,st,Et,Jt){return ie.apply(this,arguments)})})).close(),yield(0,ee.Lj)(ke),yield(0,ee.Lj)("fcm_vapid_details_db"),yield(0,ee.Lj)("undefined"),jn(T)?T:null;var ie}),zt.apply(this,arguments)}function jn(b){if(!b||!b.subscriptionOptions)return!1;const{subscriptionOptions:T}=b;return"number"==typeof b.createTime&&b.createTime>0&&"string"==typeof b.token&&b.token.length>0&&"string"==typeof T.auth&&T.auth.length>0&&"string"==typeof T.p256dh&&T.p256dh.length>0&&"string"==typeof T.endpoint&&T.endpoint.length>0&&"string"==typeof T.swScope&&T.swScope.length>0&&"string"==typeof T.vapidKey&&T.vapidKey.length>0}const kr="firebase-messaging-store";let Oi=null;function ai(){return Oi||(Oi=(0,ee.X3)("firebase-messaging-database",1,{upgrade:(b,T)=>{0===T&&b.createObjectStore(kr)}})),Oi}function li(b){return so.apply(this,arguments)}function so(){return(so=(0,U.Z)(function*(b){const T=ti(b),ie=yield(yield ai()).transaction(kr).objectStore(kr).get(T);if(ie)return ie;{const Ae=yield ht(b.appConfig.senderId);if(Ae)return yield yi(b,Ae),Ae}})).apply(this,arguments)}function yi(b,T){return Hr.apply(this,arguments)}function Hr(){return(Hr=(0,U.Z)(function*(b,T){const k=ti(b),Ae=(yield ai()).transaction(kr,"readwrite");return yield Ae.objectStore(kr).put(T,k),yield Ae.done,T})).apply(this,arguments)}function Yi(b){return Tr.apply(this,arguments)}function Tr(){return(Tr=(0,U.Z)(function*(b){const T=ti(b),ie=(yield ai()).transaction(kr,"readwrite");yield ie.objectStore(kr).delete(T),yield ie.done})).apply(this,arguments)}function ti({appConfig:b}){return b.appId}const Bn=new X.LL("messaging","Messaging",{"missing-app-config-values":'Missing App configuration value: "{$valueName}"',"only-available-in-window":"This method is available in a Window context.","only-available-in-sw":"This method is available in a service worker context.","permission-default":"The notification permission was not granted and dismissed instead.","permission-blocked":"The notification permission was not granted and blocked instead.","unsupported-browser":"This browser doesn't support the API's required to use the Firebase SDK.","indexed-db-unsupported":"This browser doesn't support indexedDb.open() (ex. Safari iFrame, Firefox Private Browsing, etc)","failed-service-worker-registration":"We are unable to register the default service worker. {$browserErrorMessage}","token-subscribe-failed":"A problem occurred while subscribing the user to FCM: {$errorInfo}","token-subscribe-no-token":"FCM returned no token when subscribing the user to push.","token-unsubscribe-failed":"A problem occurred while unsubscribing the user from FCM: {$errorInfo}","token-update-failed":"A problem occurred while updating the user from FCM: {$errorInfo}","token-update-no-token":"FCM returned no token when updating the user to push.","use-sw-after-get-token":"The useServiceWorker() method may only be called once and must be called before calling getToken() to ensure your service worker is used.","invalid-sw-registration":"The input to useServiceWorker() must be a ServiceWorkerRegistration.","invalid-bg-handler":"The input to setBackgroundMessageHandler() must be a function.","invalid-vapid-key":"The public VAPID key must be a string.","use-vapid-key-after-get-token":"The usePublicVapidKey() method may only be called once and must be called before calling getToken() to ensure your VAPID key is used."});function ni(b,T){return xn.apply(this,arguments)}function xn(){return(xn=(0,U.Z)(function*(b,T){var k;const ie=yield Yr(b),Ae=Ho(T),Ve={method:"POST",headers:ie,body:JSON.stringify(Ae)};let st;try{st=yield(yield fetch(Zi(b.appConfig),Ve)).json()}catch(Et){throw Bn.create("token-subscribe-failed",{errorInfo:null===(k=Et)||void 0===k?void 0:k.toString()})}if(st.error)throw Bn.create("token-subscribe-failed",{errorInfo:st.error.message});if(!st.token)throw Bn.create("token-subscribe-no-token");return st.token})).apply(this,arguments)}function So(b,T){return Kr.apply(this,arguments)}function Kr(){return(Kr=(0,U.Z)(function*(b,T){var k;const ie=yield Yr(b),Ae=Ho(T.subscriptionOptions),Ve={method:"PATCH",headers:ie,body:JSON.stringify(Ae)};let st;try{st=yield(yield fetch(`${Zi(b.appConfig)}/${T.token}`,Ve)).json()}catch(Et){throw Bn.create("token-update-failed",{errorInfo:null===(k=Et)||void 0===k?void 0:k.toString()})}if(st.error)throw Bn.create("token-update-failed",{errorInfo:st.error.message});if(!st.token)throw Bn.create("token-update-no-token");return st.token})).apply(this,arguments)}function yr(b,T){return ao.apply(this,arguments)}function ao(){return(ao=(0,U.Z)(function*(b,T){var k;const Ae={method:"DELETE",headers:yield Yr(b)};try{const st=yield(yield fetch(`${Zi(b.appConfig)}/${T}`,Ae)).json();if(st.error)throw Bn.create("token-unsubscribe-failed",{errorInfo:st.error.message})}catch(Ve){throw Bn.create("token-unsubscribe-failed",{errorInfo:null===(k=Ve)||void 0===k?void 0:k.toString()})}})).apply(this,arguments)}function Zi({projectId:b}){return`https://fcmregistrations.googleapis.com/v1/projects/${b}/registrations`}function Yr(b){return Nr.apply(this,arguments)}function Nr(){return(Nr=(0,U.Z)(function*({appConfig:b,installations:T}){const k=yield T.getToken();return new Headers({"Content-Type":"application/json",Accept:"application/json","x-goog-api-key":b.apiKey,"x-goog-firebase-installations-auth":`FIS ${k}`})})).apply(this,arguments)}function Ho({p256dh:b,auth:T,endpoint:k,vapidKey:ie}){const Ae={web:{endpoint:k,auth:T,p256dh:b}};return ie!==Wi&&(Ae.web.applicationPubKey=ie),Ae}const vi=6048e5;function Ao(b){return ci.apply(this,arguments)}function ci(){return(ci=(0,U.Z)(function*(b){const T=yield xs(b.swRegistration,b.vapidKey),k={vapidKey:b.vapidKey,swScope:b.swRegistration.scope,endpoint:T.endpoint,auth:_e(T.getKey("auth")),p256dh:_e(T.getKey("p256dh"))},ie=yield li(b.firebaseDependencies);if(ie){if(es(ie.subscriptionOptions,k))return Date.now()>=ie.createTime+vi?Wt(b,{token:ie.token,createTime:Date.now(),subscriptionOptions:k}):ie.token;try{yield yr(b.firebaseDependencies,ie.token)}catch(Ae){console.warn(Ae)}return qo(b.firebaseDependencies,k)}return qo(b.firebaseDependencies,k)})).apply(this,arguments)}function Jo(b){return bi.apply(this,arguments)}function bi(){return(bi=(0,U.Z)(function*(b){const T=yield li(b.firebaseDependencies);T&&(yield yr(b.firebaseDependencies,T.token),yield Yi(b.firebaseDependencies));const k=yield b.swRegistration.pushManager.getSubscription();return!k||k.unsubscribe()})).apply(this,arguments)}function Wt(b,T){return vo.apply(this,arguments)}function vo(){return(vo=(0,U.Z)(function*(b,T){try{const k=yield So(b.firebaseDependencies,T),ie=Object.assign(Object.assign({},T),{token:k,createTime:Date.now()});return yield yi(b.firebaseDependencies,ie),k}catch(k){throw yield Jo(b),k}})).apply(this,arguments)}function qo(b,T){return xo.apply(this,arguments)}function xo(){return(xo=(0,U.Z)(function*(b,T){const ie={token:yield ni(b,T),createTime:Date.now(),subscriptionOptions:T};return yield yi(b,ie),ie.token})).apply(this,arguments)}function xs(b,T){return jo.apply(this,arguments)}function jo(){return(jo=(0,U.Z)(function*(b,T){return(yield b.pushManager.getSubscription())||b.pushManager.subscribe({userVisibleOnly:!0,applicationServerKey:be(T)})})).apply(this,arguments)}function es(b,T){return T.vapidKey===b.vapidKey&&T.endpoint===b.endpoint&&T.auth===b.auth&&T.p256dh===b.p256dh}function Os(b){const T={from:b.from,collapseKey:b.collapse_key,messageId:b.fcmMessageId};return function ys(b,T){if(!T.notification)return;b.notification={};const k=T.notification.title;k&&(b.notification.title=k);const ie=T.notification.body;ie&&(b.notification.body=ie);const Ae=T.notification.image;Ae&&(b.notification.image=Ae)}(T,b),function Qe(b,T){T.data&&(b.data=T.data)}(T,b),function fn(b,T){var k,ie,Ae,Ve,st;if(!(T.fcmOptions||null!==(k=T.notification)&&void 0!==k&&k.click_action))return;b.fcmOptions={};const Et=null!==(Ae=null===(ie=T.fcmOptions)||void 0===ie?void 0:ie.link)&&void 0!==Ae?Ae:null===(Ve=T.notification)||void 0===Ve?void 0:Ve.click_action;Et&&(b.fcmOptions.link=Et);const Jt=null===(st=T.fcmOptions)||void 0===st?void 0:st.analytics_label;Jt&&(b.fcmOptions.analyticsLabel=Jt)}(T,b),T}function Qi(b){return"object"==typeof b&&!!b&&_o in b}function $o(b,T){const k=[];for(let ie=0;ie<b.length;ie++)k.push(b.charAt(ie)),ie<T.length&&k.push(T.charAt(ie));return k.join("")}function bo(b){return Bn.create("missing-app-config-values",{valueName:b})}$o("hts/frbslgigp.ogepscmv/ieo/eaylg","tp:/ieaeogn-agolai.o/1frlglgc/o"),$o("AzSCbw63g1R0nCw85jG8","Iaya3yLKwmgvh7cF0q4");class Oo{constructor(T,k,ie){this.deliveryMetricsExportedToBigQueryEnabled=!1,this.onBackgroundMessageHandler=null,this.onMessageHandler=null,this.logEvents=[],this.isLogServiceStarted=!1;const Ae=function vr(b){if(!b||!b.options)throw bo("App Configuration Object");if(!b.name)throw bo("App Name");const T=["projectId","apiKey","appId","messagingSenderId"],{options:k}=b;for(const ie of T)if(!k[ie])throw bo(ie);return{appName:b.name,projectId:k.projectId,apiKey:k.apiKey,appId:k.appId,senderId:k.messagingSenderId}}(T);this.firebaseDependencies={app:T,appConfig:Ae,installations:k,analyticsProvider:ie}}_delete(){return Promise.resolve()}}function jr(b){return Po.apply(this,arguments)}function Po(){return(Po=(0,U.Z)(function*(b){var T;try{b.swRegistration=yield navigator.serviceWorker.register(Fr,{scope:Ai}),b.swRegistration.update().catch(()=>{})}catch(k){throw Bn.create("failed-service-worker-registration",{browserErrorMessage:null===(T=k)||void 0===T?void 0:T.message})}})).apply(this,arguments)}function Vo(b,T){return zo.apply(this,arguments)}function zo(){return(zo=(0,U.Z)(function*(b,T){if(!T&&!b.swRegistration&&(yield jr(b)),T||!b.swRegistration){if(!(T instanceof ServiceWorkerRegistration))throw Bn.create("invalid-sw-registration");b.swRegistration=T}})).apply(this,arguments)}function vs(b,T){return Xi.apply(this,arguments)}function Xi(){return(Xi=(0,U.Z)(function*(b,T){T?b.vapidKey=T:b.vapidKey||(b.vapidKey=Wi)})).apply(this,arguments)}function zn(){return(zn=(0,U.Z)(function*(b,T){if(!navigator)throw Bn.create("only-available-in-window");if("default"===Notification.permission&&(yield Notification.requestPermission()),"granted"!==Notification.permission)throw Bn.create("permission-blocked");return yield vs(b,T?.vapidKey),yield Vo(b,T?.serviceWorkerRegistration),Ao(b)})).apply(this,arguments)}function Di(b,T,k){return $r.apply(this,arguments)}function $r(){return($r=(0,U.Z)(function*(b,T,k){const ie=Vr(T);(yield b.firebaseDependencies.analyticsProvider.get()).logEvent(ie,{message_id:k[_o],message_name:k[yo],message_time:k[Io],message_device_time:Math.floor(Date.now()/1e3)})})).apply(this,arguments)}function Vr(b){switch(b){case ei.NOTIFICATION_CLICKED:return"notification_open";case ei.PUSH_RECEIVED:return"notification_foreground";default:throw new Error}}function Do(){return(Do=(0,U.Z)(function*(b,T){const k=T.data;if(!k.isFirebaseMessaging)return;b.onMessageHandler&&k.messageType===ei.PUSH_RECEIVED&&("function"==typeof b.onMessageHandler?b.onMessageHandler(Os(k)):b.onMessageHandler.next(Os(k)));const ie=k.data;Qi(ie)&&"1"===ie[_s]&&(yield Di(b,k.messageType,ie))})).apply(this,arguments)}const Ro="@firebase/messaging",lo=b=>{const T=new Oo(b.getProvider("app").getImmediate(),b.getProvider("installations-internal").getImmediate(),b.getProvider("analytics-internal"));return navigator.serviceWorker.addEventListener("message",k=>function ts(b,T){return Do.apply(this,arguments)}(T,k)),T},Pi=b=>{const T=b.getProvider("messaging").getImmediate();return{getToken:ie=>function Mr(b,T){return zn.apply(this,arguments)}(T,ie)}};function Ri(){return Fi.apply(this,arguments)}function Fi(){return(Fi=(0,U.Z)(function*(){try{yield(0,X.eu)()}catch{return!1}return typeof window<"u"&&(0,X.hl)()&&(0,X.zI)()&&"serviceWorker"in navigator&&"PushManager"in window&&"Notification"in window&&"fetch"in window&&ServiceWorkerRegistration.prototype.hasOwnProperty("showNotification")&&PushSubscription.prototype.hasOwnProperty("getKey")})).apply(this,arguments)}!function Go(){(0,K._registerComponent)(new J.wA("messaging",lo,"PUBLIC")),(0,K._registerComponent)(new J.wA("messaging-internal",Pi,"PRIVATE")),(0,K.registerVersion)(Ro,"0.9.19"),(0,K.registerVersion)(Ro,"0.9.19","esm2017")}();const qi="analytics",Lr="firebase_id",Es="https://firebase.googleapis.com/v1alpha/projects/-/apps/{app-id}/webConfig",rs="https://www.googletagmanager.com/gtag/js",br=new oe.Yd("@firebase/analytics");function Cs(b){return Promise.all(b.map(T=>T.catch(k=>k)))}function ws(b,T){const k=document.createElement("script");k.src=`${rs}?l=${b}&id=${T}`,k.async=!0,document.head.appendChild(k)}function Eo(b,T,k,ie,Ae,Ve){return g.apply(this,arguments)}function g(){return(g=(0,U.Z)(function*(b,T,k,ie,Ae,Ve){const st=ie[Ae];try{if(st)yield T[st];else{const Jt=(yield Cs(k)).find(cn=>cn.measurementId===Ae);Jt&&(yield T[Jt.appId])}}catch(Et){br.error(Et)}b("config",Ae,Ve)})).apply(this,arguments)}function A(b,T,k,ie,Ae){return y.apply(this,arguments)}function y(){return(y=(0,U.Z)(function*(b,T,k,ie,Ae){try{let Ve=[];if(Ae&&Ae.send_to){let st=Ae.send_to;Array.isArray(st)||(st=[st]);const Et=yield Cs(k);for(const Jt of st){const cn=Et.find(qt=>qt.measurementId===Jt),hn=cn&&T[cn.appId];if(!hn){Ve=[];break}Ve.push(hn)}}0===Ve.length&&(Ve=Object.values(T)),yield Promise.all(Ve),b("event",ie,Ae||{})}catch(Ve){br.error(Ve)}})).apply(this,arguments)}function je(b){const T=window.document.getElementsByTagName("script");for(const k of Object.values(T))if(k.src&&k.src.includes(rs)&&k.src.includes(b))return k;return null}const mt=new X.LL("analytics","Analytics",{"already-exists":"A Firebase Analytics instance with the appId {$id} already exists. Only one Firebase Analytics instance can be created for each appId.","already-initialized":"initializeAnalytics() cannot be called again with different options than those it was initially called with. It can be called again with the same options to return the existing instance, or getAnalytics() can be used to get a reference to the already-intialized instance.","already-initialized-settings":"Firebase Analytics has already been initialized.settings() must be called before initializing any Analytics instanceor it will have no effect.","interop-component-reg-failed":"Firebase Analytics Interop Component failed to instantiate: {$reason}","invalid-analytics-context":"Firebase Analytics is not supported in this environment. Wrap initialization of analytics in analytics.isSupported() to prevent initialization in unsupported environments. Details: {$errorInfo}","indexeddb-unavailable":"IndexedDB unavailable or restricted in this environment. Wrap initialization of analytics in analytics.isSupported() to prevent initialization in unsupported environments. Details: {$errorInfo}","fetch-throttle":"The config fetch request timed out while in an exponential backoff state. Unix timestamp in milliseconds when fetch request throttling ends: {$throttleEndTimeMillis}.","config-fetch-failed":"Dynamic config fetch failed: [{$httpStatus}] {$responseMessage}","no-api-key":'The "apiKey" field is empty in the local Firebase config. Firebase Analytics requires this field tocontain a valid API key.',"no-app-id":'The "appId" field is empty in the local Firebase config. Firebase Analytics requires this field tocontain a valid app ID.'}),un=new class On{constructor(T={},k=1e3){this.throttleMetadata=T,this.intervalMillis=k}getThrottleMetadata(T){return this.throttleMetadata[T]}setThrottleMetadata(T,k){this.throttleMetadata[T]=k}deleteThrottleMetadata(T){delete this.throttleMetadata[T]}};function ar(b){return new Headers({Accept:"application/json","x-goog-api-key":b})}function Gn(b){return ir.apply(this,arguments)}function ir(){return(ir=(0,U.Z)(function*(b){var T;const{appId:k,apiKey:ie}=b,Ae={method:"GET",headers:ar(ie)},Ve=Es.replace("{app-id}",k),st=yield fetch(Ve,Ae);if(200!==st.status&&304!==st.status){let Et="";try{const Jt=yield st.json();null!==(T=Jt.error)&&void 0!==T&&T.message&&(Et=Jt.error.message)}catch{}throw mt.create("config-fetch-failed",{httpStatus:st.status,responseMessage:Et})}return st.json()})).apply(this,arguments)}function pi(b){return ri.apply(this,arguments)}function ri(){return(ri=(0,U.Z)(function*(b,T=un,k){const{appId:ie,apiKey:Ae,measurementId:Ve}=b.options;if(!ie)throw mt.create("no-app-id");if(!Ae){if(Ve)return{measurementId:Ve,appId:ie};throw mt.create("no-api-key")}const st=T.getThrottleMetadata(ie)||{backoffCount:0,throttleEndTimeMillis:Date.now()},Et=new uo;return setTimeout((0,U.Z)(function*(){Et.abort()}),void 0!==k?k:6e4),Br({appId:ie,apiKey:Ae,measurementId:Ve},st,Et,T)})).apply(this,arguments)}function Br(b,T,k){return lr.apply(this,arguments)}function lr(){return(lr=(0,U.Z)(function*(b,{throttleEndTimeMillis:T,backoffCount:k},ie,Ae=un){var Ve,st;const{appId:Et,measurementId:Jt}=b;try{yield ki(ie,T)}catch(cn){if(Jt)return br.warn(`Timed out fetching this Firebase app's measurement ID from the server. Falling back to the measurement ID ${Jt} provided in the "measurementId" field in the local Firebase config. [${null===(Ve=cn)||void 0===Ve?void 0:Ve.message}]`),{appId:Et,measurementId:Jt};throw cn}try{const cn=yield Gn(b);return Ae.deleteThrottleMetadata(Et),cn}catch(cn){const hn=cn;if(!Co(hn)){if(Ae.deleteThrottleMetadata(Et),Jt)return br.warn(`Failed to fetch this Firebase app's measurement ID from the server. Falling back to the measurement ID ${Jt} provided in the "measurementId" field in the local Firebase config. [${hn?.message}]`),{appId:Et,measurementId:Jt};throw cn}const qt=503===Number(null===(st=hn?.customData)||void 0===st?void 0:st.httpStatus)?(0,X.$s)(k,Ae.intervalMillis,30):(0,X.$s)(k,Ae.intervalMillis),wi={throttleEndTimeMillis:Date.now()+qt,backoffCount:k+1};return Ae.setThrottleMetadata(Et,wi),br.debug(`Calling attemptFetch again in ${qt} millis`),Br(b,wi,ie,Ae)}})).apply(this,arguments)}function ki(b,T){return new Promise((k,ie)=>{const Ae=Math.max(T-Date.now(),0),Ve=setTimeout(k,Ae);b.addEventListener(()=>{clearTimeout(Ve),ie(mt.create("fetch-throttle",{throttleEndTimeMillis:T}))})})}function Co(b){if(!(b instanceof X.ZR&&b.customData))return!1;const T=Number(b.customData.httpStatus);return 429===T||500===T||503===T||504===T}class uo{constructor(){this.listeners=[]}addEventListener(T){this.listeners.push(T)}abort(){this.listeners.forEach(T=>T())}}let is,Ko;function Wo(){return(Wo=(0,U.Z)(function*(b,T,k,ie,Ae){if(Ae&&Ae.global)b("event",k,ie);else{const Ve=yield T;b("event",k,Object.assign(Object.assign({},ie),{send_to:Ve}))}})).apply(this,arguments)}function fo(b){Ko=b}function E(b){is=b}function a(){return l.apply(this,arguments)}function l(){return(l=(0,U.Z)(function*(){var b;if(!(0,X.hl)())return br.warn(mt.create("indexeddb-unavailable",{errorInfo:"IndexedDB is not available in this environment."}).message),!1;try{yield(0,X.eu)()}catch(T){return br.warn(mt.create("indexeddb-unavailable",{errorInfo:null===(b=T)||void 0===b?void 0:b.toString()}).message),!1}return!0})).apply(this,arguments)}function O(){return(O=(0,U.Z)(function*(b,T,k,ie,Ae,Ve,st){var Et;const Jt=pi(b);Jt.then(Li=>{k[Li.measurementId]=Li.appId,b.options.measurementId&&Li.measurementId!==b.options.measurementId&&br.warn(`The measurement ID in the local Firebase config (${b.options.measurementId}) does not match the measurement ID fetched from the server (${Li.measurementId}). To ensure analytics events are always sent to the correct Analytics property, update the measurement ID field in the local config or remove it from the local config.`)}).catch(Li=>br.error(Li)),T.push(Jt);const cn=a().then(Li=>{if(Li)return ie.getId()}),[hn,qt]=yield Promise.all([Jt,cn]);je(Ve)||ws(Ve,hn.measurementId),Ko&&(Ae("consent","default",Ko),fo(void 0)),Ae("js",new Date);const wi=null!==(Et=st?.config)&&void 0!==Et?Et:{};return wi.origin="firebase",wi.update=!0,null!=qt&&(wi[Lr]=qt),Ae("config",hn.measurementId,wi),is&&(Ae("set",is),E(void 0)),hn.measurementId})).apply(this,arguments)}class z{constructor(T){this.app=T}_delete(){return delete ce[this.app.options.appId],Promise.resolve()}}let ce={},he=[];const Be={};let Dt,sn,Je="dataLayer",Yt=!1;function Fn(b,T,k){!function Zt(){const b=[];if((0,X.ru)()&&b.push("This is a browser extension environment."),(0,X.zI)()||b.push("Cookies are not available."),b.length>0){const T=b.map((ie,Ae)=>`(${Ae+1}) ${ie}`).join(" "),k=mt.create("invalid-analytics-context",{errorInfo:T});br.warn(k.message)}}();const ie=b.options.appId;if(!ie)throw mt.create("no-app-id");if(!b.options.apiKey){if(!b.options.measurementId)throw mt.create("no-api-key");br.warn(`The "apiKey" field is empty in the local Firebase config. This is needed to fetch the latest measurement ID for this Firebase app. Falling back to the measurement ID ${b.options.measurementId} provided in the "measurementId" field in the local Firebase config.`)}if(null!=ce[ie])throw mt.create("already-exists",{id:ie});if(!Yt){!function Fs(b){let T=[];Array.isArray(window[b])?T=window[b]:window[b]=T}(Je);const{wrappedGtag:Ve,gtagCore:st}=function te(b,T,k,ie,Ae){let Ve=function(...st){window[ie].push(arguments)};return window[Ae]&&"function"==typeof window[Ae]&&(Ve=window[Ae]),window[Ae]=function P(b,T,k,ie){function Ve(){return(Ve=(0,U.Z)(function*(st,Et,Jt){try{"event"===st?yield A(b,T,k,Et,Jt):"config"===st?yield Eo(b,T,k,ie,Et,Jt):"consent"===st?b("consent","update",Jt):b("set",Et)}catch(cn){br.error(cn)}})).apply(this,arguments)}return function Ae(st,Et,Jt){return Ve.apply(this,arguments)}}(Ve,b,T,k),{gtagCore:Ve,wrappedGtag:window[Ae]}}(ce,he,Be,Je,"gtag");sn=Ve,Dt=st,Yt=!0}return ce[ie]=function _(b,T,k,ie,Ae,Ve,st){return O.apply(this,arguments)}(b,he,Be,T,Dt,Je,k),new z(b)}function Sr(){return er.apply(this,arguments)}function er(){return(er=(0,U.Z)(function*(){if((0,X.ru)()||!(0,X.zI)()||!(0,X.hl)())return!1;try{return yield(0,X.eu)()}catch{return!1}})).apply(this,arguments)}const Un="@firebase/analytics";!function na(){(0,K._registerComponent)(new J.wA(qi,(T,{options:k})=>Fn(T.getProvider("app").getImmediate(),T.getProvider("installations-internal").getImmediate(),k),"PUBLIC")),(0,K._registerComponent)(new J.wA("analytics-internal",function b(T){try{const k=T.getProvider(qi).getImmediate();return{logEvent:(ie,Ae,Ve)=>function ho(b,T,k,ie){b=(0,X.m9)(b),function os(b,T,k,ie,Ae){return Wo.apply(this,arguments)}(sn,ce[b.app.options.appId],T,k,ie).catch(Ae=>br.error(Ae))}(k,ie,Ae,Ve)}}catch(k){throw mt.create("interop-component-reg-failed",{reason:k})}},"PRIVATE")),(0,K.registerVersion)(Un,"0.8.3"),(0,K.registerVersion)(Un,"0.8.3","esm2017")}();var Ls=D(4408),jt=D(7565);const Pn=new class Qt extends jt.v{}(class Rt extends Ls.o{constructor(T,k){super(T,k),this.scheduler=T,this.work=k}schedule(T,k=0){return k>0?super.schedule(T,k):(this.delay=k,this.state=T,this.scheduler.flush(this),this)}execute(T,k){return k>0||this.closed?super.execute(T,k):this._execute(T,k)}requestAsyncId(T,k,ie=0){return null!=ie&&ie>0||null==ie&&this.delay>0?super.requestAsyncId(T,k,ie):T.flush(this)}});var no=D(4986),mi=D(8505),Xn=D(9468),Jn=D(5363);const No=new s.GfV("7.5.0"),Bs="__angularfire_symbol__analyticsIsSupportedValue",d="__angularfire_symbol__analyticsIsSupported",h="__angularfire_symbol__remoteConfigIsSupportedValue",c="__angularfire_symbol__remoteConfigIsSupported",m="__angularfire_symbol__messagingIsSupportedValue",w="__angularfire_symbol__messagingIsSupported";function _t(b,T,k){if(T){if(1===T.length)return T[0];const Ve=T.filter(st=>st.app===k);if(1===Ve.length)return Ve[0]}return k.container.getProvider(b).getImmediate({optional:!0})}globalThis[d]||(globalThis[d]=Sr().then(b=>globalThis[Bs]=b).catch(()=>globalThis[Bs]=!1)),globalThis[w]||(globalThis[w]=Ri().then(b=>globalThis[m]=b).catch(()=>globalThis[m]=!1)),globalThis[c]||(globalThis[c]=Si().then(b=>globalThis[h]=b).catch(()=>globalThis[h]=!1));const St=(b,T)=>{const k=T?[T]:(0,f.C6)(),ie=[];return k.forEach(Ae=>{Ae.container.getProvider(b).instances.forEach(st=>{ie.includes(st)||ie.push(st)})}),ie};function yn(){}class zr{constructor(T,k=Pn){this.zone=T,this.delegate=k}now(){return this.delegate.now()}schedule(T,k,ie){const Ae=this.zone;return this.delegate.schedule(function(st){Ae.runGuarded(()=>{T.apply(this,[st])})},k,ie)}}class wo{constructor(T){this.zone=T,this.task=null}call(T,k){const ie=this.unscheduleTask.bind(this);return this.task=this.zone.run(()=>Zone.current.scheduleMacroTask("firebaseZoneBlock",yn,{},yn,yn)),k.pipe((0,mi.b)({next:ie,complete:ie,error:ie})).subscribe(T).add(ie)}unscheduleTask(){setTimeout(()=>{null!=this.task&&"scheduled"===this.task.state&&(this.task.invoke(),this.task=null)},10)}}let To=(()=>{class b{constructor(k){this.ngZone=k,this.outsideAngular=k.runOutsideAngular(()=>new zr(Zone.current)),this.insideAngular=k.run(()=>new zr(Zone.current,no.z)),globalThis.\u0275AngularFireScheduler||(globalThis.\u0275AngularFireScheduler=this)}}return b.\u0275fac=function(k){return new(k||b)(s.LFG(s.R0b))},b.\u0275prov=s.Yz7({token:b,factory:b.\u0275fac,providedIn:"root"}),b})();function Ci(){const b=globalThis.\u0275AngularFireScheduler;if(!b)throw new Error("Either AngularFireModule has not been provided in your AppModule (this can be done manually or implictly using\nprovideFirebaseApp) or you're calling an AngularFire method outside of an NgModule (which is not supported).");return b}function ia(b){return Ci(),function oa(b){return function(k){return(k=k.lift(new wo(b.ngZone))).pipe((0,Xn.R)(b.outsideAngular),(0,Jn.Q)(b.insideAngular))}}(Ci())(b)}},2090:(it,Ce,D)=>{D.d(Ce,{$s:()=>F,BH:()=>en,L:()=>ee,LL:()=>et,Pz:()=>Ht,UG:()=>$e,US:()=>J,ZB:()=>Y,ZR:()=>Le,aH:()=>pt,b$:()=>Fe,eu:()=>pe,hl:()=>le,jU:()=>Ye,m9:()=>ve,ne:()=>Hn,pd:()=>gn,r3:()=>kn,ru:()=>Se,tV:()=>Q,uI:()=>Te,vZ:()=>Gt,w1:()=>De,xO:()=>tn,xb:()=>Xt,z$:()=>xe,zI:()=>se,zd:()=>$n});const K=function(L){const G=[];let de=0;for(let He=0;He<L.length;He++){let Ee=L.charCodeAt(He);Ee<128?G[de++]=Ee:Ee<2048?(G[de++]=Ee>>6|192,G[de++]=63&Ee|128):55296==(64512&Ee)&&He+1<L.length&&56320==(64512&L.charCodeAt(He+1))?(Ee=65536+((1023&Ee)<<10)+(1023&L.charCodeAt(++He)),G[de++]=Ee>>18|240,G[de++]=Ee>>12&63|128,G[de++]=Ee>>6&63|128,G[de++]=63&Ee|128):(G[de++]=Ee>>12|224,G[de++]=Ee>>6&63|128,G[de++]=63&Ee|128)}return G},J={byteToCharMap_:null,charToByteMap_:null,byteToCharMapWebSafe_:null,charToByteMapWebSafe_:null,ENCODED_VALS_BASE:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",get ENCODED_VALS(){return this.ENCODED_VALS_BASE+"+/="},get ENCODED_VALS_WEBSAFE(){return this.ENCODED_VALS_BASE+"-_."},HAS_NATIVE_SUPPORT:"function"==typeof atob,encodeByteArray(L,G){if(!Array.isArray(L))throw Error("encodeByteArray takes an array as a parameter");this.init_();const de=G?this.byteToCharMapWebSafe_:this.byteToCharMap_,He=[];for(let Ee=0;Ee<L.length;Ee+=3){const ot=L[Ee],Nt=Ee+1<L.length,Bt=Nt?L[Ee+1]:0,ye=Ee+2<L.length,x=ye?L[Ee+2]:0;let $=(15&Bt)<<2|x>>6,ue=63&x;ye||(ue=64,Nt||($=64)),He.push(de[ot>>2],de[(3&ot)<<4|Bt>>4],de[$],de[ue])}return He.join("")},encodeString(L,G){return this.HAS_NATIVE_SUPPORT&&!G?btoa(L):this.encodeByteArray(K(L),G)},decodeString(L,G){return this.HAS_NATIVE_SUPPORT&&!G?atob(L):function(L){const G=[];let de=0,He=0;for(;de<L.length;){const Ee=L[de++];if(Ee<128)G[He++]=String.fromCharCode(Ee);else if(Ee>191&&Ee<224){const ot=L[de++];G[He++]=String.fromCharCode((31&Ee)<<6|63&ot)}else if(Ee>239&&Ee<365){const ye=((7&Ee)<<18|(63&L[de++])<<12|(63&L[de++])<<6|63&L[de++])-65536;G[He++]=String.fromCharCode(55296+(ye>>10)),G[He++]=String.fromCharCode(56320+(1023&ye))}else{const ot=L[de++],Nt=L[de++];G[He++]=String.fromCharCode((15&Ee)<<12|(63&ot)<<6|63&Nt)}}return G.join("")}(this.decodeStringToByteArray(L,G))},decodeStringToByteArray(L,G){this.init_();const de=G?this.charToByteMapWebSafe_:this.charToByteMap_,He=[];for(let Ee=0;Ee<L.length;){const ot=de[L.charAt(Ee++)],Bt=Ee<L.length?de[L.charAt(Ee)]:0;++Ee;const x=Ee<L.length?de[L.charAt(Ee)]:64;++Ee;const I=Ee<L.length?de[L.charAt(Ee)]:64;if(++Ee,null==ot||null==Bt||null==x||null==I)throw Error();He.push(ot<<2|Bt>>4),64!==x&&(He.push(Bt<<4&240|x>>2),64!==I&&He.push(x<<6&192|I))}return He},init_(){if(!this.byteToCharMap_){this.byteToCharMap_={},this.charToByteMap_={},this.byteToCharMapWebSafe_={},this.charToByteMapWebSafe_={};for(let L=0;L<this.ENCODED_VALS.length;L++)this.byteToCharMap_[L]=this.ENCODED_VALS.charAt(L),this.charToByteMap_[this.byteToCharMap_[L]]=L,this.byteToCharMapWebSafe_[L]=this.ENCODED_VALS_WEBSAFE.charAt(L),this.charToByteMapWebSafe_[this.byteToCharMapWebSafe_[L]]=L,L>=this.ENCODED_VALS_BASE.length&&(this.charToByteMap_[this.ENCODED_VALS_WEBSAFE.charAt(L)]=L,this.charToByteMapWebSafe_[this.ENCODED_VALS.charAt(L)]=L)}}},ee=function(L){return function(L){const G=K(L);return J.encodeByteArray(G,!0)}(L).replace(/\./g,"")},Q=function(L){try{return J.decodeString(L,!0)}catch(G){console.error("base64Decode failed: ",G)}return null};function Y(L,G){if(!(G instanceof Object))return G;switch(G.constructor){case Date:return new Date(G.getTime());case Object:void 0===L&&(L={});break;case Array:L=[];break;default:return G}for(const de in G)!G.hasOwnProperty(de)||!W(de)||(L[de]=Y(L[de],G[de]));return L}function W(L){return"__proto__"!==L}function xe(){return typeof navigator<"u"&&"string"==typeof navigator.userAgent?navigator.userAgent:""}function Te(){return typeof window<"u"&&!!(window.cordova||window.phonegap||window.PhoneGap)&&/ios|iphone|ipod|ipad|android|blackberry|iemobile/i.test(xe())}function $e(){try{return"[object process]"===Object.prototype.toString.call(global.process)}catch{return!1}}function Ye(){return"object"==typeof self&&self.self===self}function Se(){const L="object"==typeof chrome?chrome.runtime:"object"==typeof browser?browser.runtime:void 0;return"object"==typeof L&&void 0!==L.id}function Fe(){return"object"==typeof navigator&&"ReactNative"===navigator.product}function De(){const L=xe();return L.indexOf("MSIE ")>=0||L.indexOf("Trident/")>=0}function le(){return"object"==typeof indexedDB}function pe(){return new Promise((L,G)=>{try{let de=!0;const He="validate-browser-context-for-indexeddb-analytics-module",Ee=self.indexedDB.open(He);Ee.onsuccess=()=>{Ee.result.close(),de||self.indexedDB.deleteDatabase(He),L(!0)},Ee.onupgradeneeded=()=>{de=!1},Ee.onerror=()=>{var ot;G((null===(ot=Ee.error)||void 0===ot?void 0:ot.message)||"")}}catch(de){G(de)}})}function se(){return!(typeof navigator>"u"||!navigator.cookieEnabled)}const me=()=>{try{return function ge(){if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("Unable to locate global object.")}().__FIREBASE_DEFAULTS__||(()=>{if(typeof process>"u"||typeof process.env>"u")return;const L=process.env.__FIREBASE_DEFAULTS__;return L?JSON.parse(L):void 0})()||(()=>{if(typeof document>"u")return;let L;try{L=document.cookie.match(/__FIREBASE_DEFAULTS__=([^;]+)/)}catch{return}const G=L&&Q(L[1]);return G&&JSON.parse(G)})()}catch(L){return void console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${L}`)}},pt=()=>{var L;return null===(L=me())||void 0===L?void 0:L.config},Ht=L=>{var G;return null===(G=me())||void 0===G?void 0:G[`_${L}`]};class en{constructor(){this.reject=()=>{},this.resolve=()=>{},this.promise=new Promise((G,de)=>{this.resolve=G,this.reject=de})}wrapCallback(G){return(de,He)=>{de?this.reject(de):this.resolve(He),"function"==typeof G&&(this.promise.catch(()=>{}),1===G.length?G(de):G(de,He))}}}class Le extends Error{constructor(G,de,He){super(de),this.code=G,this.customData=He,this.name="FirebaseError",Object.setPrototypeOf(this,Le.prototype),Error.captureStackTrace&&Error.captureStackTrace(this,et.prototype.create)}}class et{constructor(G,de,He){this.service=G,this.serviceName=de,this.errors=He}create(G,...de){const He=de[0]||{},Ee=`${this.service}/${G}`,ot=this.errors[G],Nt=ot?function fe(L,G){return L.replace(Ne,(de,He)=>{const Ee=G[He];return null!=Ee?String(Ee):`<${He}?>`})}(ot,He):"Error";return new Le(Ee,`${this.serviceName}: ${Nt} (${Ee}).`,He)}}const Ne=/\{\$([^}]+)}/g;function kn(L,G){return Object.prototype.hasOwnProperty.call(L,G)}function Xt(L){for(const G in L)if(Object.prototype.hasOwnProperty.call(L,G))return!1;return!0}function Gt(L,G){if(L===G)return!0;const de=Object.keys(L),He=Object.keys(G);for(const Ee of de){if(!He.includes(Ee))return!1;const ot=L[Ee],Nt=G[Ee];if(yt(ot)&&yt(Nt)){if(!Gt(ot,Nt))return!1}else if(ot!==Nt)return!1}for(const Ee of He)if(!de.includes(Ee))return!1;return!0}function yt(L){return null!==L&&"object"==typeof L}function tn(L){const G=[];for(const[de,He]of Object.entries(L))Array.isArray(He)?He.forEach(Ee=>{G.push(encodeURIComponent(de)+"="+encodeURIComponent(Ee))}):G.push(encodeURIComponent(de)+"="+encodeURIComponent(He));return G.length?"&"+G.join("&"):""}function $n(L){const G={};return L.replace(/^\?/,"").split("&").forEach(He=>{if(He){const[Ee,ot]=He.split("=");G[decodeURIComponent(Ee)]=decodeURIComponent(ot)}}),G}function gn(L){const G=L.indexOf("?");if(!G)return"";const de=L.indexOf("#",G);return L.substring(G,de>0?de:void 0)}function Hn(L,G){const de=new Ot(L,G);return de.subscribe.bind(de)}class Ot{constructor(G,de){this.observers=[],this.unsubscribes=[],this.observerCount=0,this.task=Promise.resolve(),this.finalized=!1,this.onNoObservers=de,this.task.then(()=>{G(this)}).catch(He=>{this.error(He)})}next(G){this.forEachObserver(de=>{de.next(G)})}error(G){this.forEachObserver(de=>{de.error(G)}),this.close(G)}complete(){this.forEachObserver(G=>{G.complete()}),this.close()}subscribe(G,de,He){let Ee;if(void 0===G&&void 0===de&&void 0===He)throw new Error("Missing Observer.");Ee=function ut(L,G){if("object"!=typeof L||null===L)return!1;for(const de of G)if(de in L&&"function"==typeof L[de])return!0;return!1}(G,["next","error","complete"])?G:{next:G,error:de,complete:He},void 0===Ee.next&&(Ee.next=xt),void 0===Ee.error&&(Ee.error=xt),void 0===Ee.complete&&(Ee.complete=xt);const ot=this.unsubscribeOne.bind(this,this.observers.length);return this.finalized&&this.task.then(()=>{try{this.finalError?Ee.error(this.finalError):Ee.complete()}catch{}}),this.observers.push(Ee),ot}unsubscribeOne(G){void 0===this.observers||void 0===this.observers[G]||(delete this.observers[G],this.observerCount-=1,0===this.observerCount&&void 0!==this.onNoObservers&&this.onNoObservers(this))}forEachObserver(G){if(!this.finalized)for(let de=0;de<this.observers.length;de++)this.sendOne(de,G)}sendOne(G,de){this.task.then(()=>{if(void 0!==this.observers&&void 0!==this.observers[G])try{de(this.observers[G])}catch(He){typeof console<"u"&&console.error&&console.error(He)}})}close(G){this.finalized||(this.finalized=!0,void 0!==G&&(this.finalError=G),this.task.then(()=>{this.observers=void 0,this.onNoObservers=void 0}))}}function xt(){}function F(L,G=1e3,de=2){const He=G*Math.pow(de,L),Ee=Math.round(.5*He*(Math.random()-.5)*2);return Math.min(144e5,He+Ee)}function ve(L){return L&&L._delegate?L._delegate:L}},1318:(it,Ce,D)=>{D.d(Ce,{O:()=>Se});var s=D(515),f=D(9751),U=D(262),K=D(4986),X=D(1165),J=D(4482),oe=D(8421),ee=D(3888),Q=D(5403),j=D(9672);const Y=(0,ee.d)(Fe=>function(De=null){Fe(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=De});function xe(Fe){throw new Y(Fe)}var Te=D(4650),$e=D(529),Ye=D(7185);class Se{constructor(Pe,De){this.http=Pe,this.toastr=De}get(Pe){return this.http.get(Pe).pipe((0,U.K)(De=>{let Me=this.errorMessageHandling(De);return this.toastr.error(""!=Me.message?Me.message:"An unknown error has occured!",Me.header),s.E}))}post(Pe,De,Me={},H=1e5){return new f.y(ae=>{this.http.post(Pe,De,Me).pipe(function W(Fe,Pe){const{first:De,each:Me,with:H=xe,scheduler:ae=Pe??K.z,meta:le=null}=(0,X.q)(Fe)?{first:Fe}:"number"==typeof Fe?{each:Fe}:Fe;if(null==De&&null==Me)throw new TypeError("No timeout provided.");return(0,J.e)((pe,se)=>{let ge,Z,re=null,Ie=0;const me=We=>{Z=(0,j.f)(se,ae,()=>{try{ge.unsubscribe(),(0,oe.Xf)(H({meta:le,lastValue:re,seen:Ie})).subscribe(se)}catch(qe){se.error(qe)}},We)};ge=pe.subscribe((0,Q.x)(se,We=>{Z?.unsubscribe(),Ie++,se.next(re=We),Me>0&&me(Me)},void 0,void 0,()=>{Z?.closed||Z?.unsubscribe(),re=null})),!Ie&&me(null!=De?"number"==typeof De?De:+De-ae.now():Me)})}(H)).subscribe({next:le=>{ae.next(le),ae.complete()},error:le=>{if(200==le.status)ae.next(le.error.text),ae.complete();else{if(!this.unauthorizedErrorHandling(le)&&!Array.isArray(le?.error?.Message)){let se=this.errorMessageHandling(le);this.toastr.error(""!=se.message?se.message:"An unknown error has occured!",se.header,{enableHtml:!0})}ae.error(le)}}})})}unauthorizedErrorHandling(Pe){let De=!1;return 401==Pe.status&&(localStorage.getItem("Token")?window.location.href="/A/Unauthorized/Main/Unauthorized":window.location.href="/",De=!0),De}errorMessageHandling(Pe){let De="API Error",Me="Exception Message";return Pe.error?(De="API Error - "+Pe.status,Pe.error.Message&&(Me=-1!=Pe.error.Message.indexOf("Message")?JSON.parse(Pe.error.Message).Message:Pe.error.Message)):Pe.message&&(De="API Error - "+Pe.name,Me=Pe.message),{header:De,message:Me}}}Se.\u0275fac=function(Pe){return new(Pe||Se)(Te.LFG($e.eN),Te.LFG(Ye._W))},Se.\u0275prov=Te.Yz7({token:Se,factory:Se.\u0275fac,providedIn:"root"})},8002:(it,Ce,D)=>{D.d(Ce,{e:()=>f});var s=D(4650);class f{constructor(){}getParseToken(){let K=JSON.parse(window.localStorage.getItem("user"));return this.ParseToken(K.Token.access_token)}GetRoles(){return this.getParseToken().Role}ParseToken(K){try{const J=K.split(".")[0].replace("-","+").replace("_","/"),oe=JSON.parse(window.atob(J)),Q=K.split(".")[1].replace("-","+").replace("_","/"),j=JSON.parse(window.atob(Q));return j.header=oe,j}catch{return!1}}}f.\u0275fac=function(K){return new(K||f)},f.\u0275prov=s.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"})},2340:(it,Ce,D)=>{D.d(Ce,{N:()=>s});const s={production:!0,version:"2.8.1",firebaseConfig:{apiKey:"AIzaSyDnnitFXpM8TglWKNpzu4ChgF98n25Rgvw",authDomain:"auth.dealpos.com",projectId:"devops-signin",storageBucket:"devops-signin.appspot.com",messagingSenderId:"412465165194",appId:"1:412465165194:web:03d806f6b6ab6f8b460e73",measurementId:"G-MNDBRJ5XZD"}}},5059:(it,Ce,D)=>{var s=D(1481),f=D(4650),U=D(529),K=D(4707);function X(E,a){return(l,_)=>!E.call(a,l,_)}var J=D(9300),oe=D(8421),Q=D(6451),j=D(2805),Y=D(8746),W=D(3900),xe=D(4482),Te=D(5032),$e=D(5403);function Ye(E){return(0,xe.e)((a,l)=>{let _=!1,O=null,z=null;const ce=()=>{if(z?.unsubscribe(),z=null,_){_=!1;const he=O;O=null,l.next(he)}};a.subscribe((0,$e.x)(l,he=>{z?.unsubscribe(),_=!0,O=he,z=(0,$e.x)(l,ce,Te.Z),(0,oe.Xf)(E(he)).subscribe(z)},()=>{ce(),l.complete()},void 0,()=>{O=z=null}))})}var Se=D(1884),Fe=D(8505),Pe=D(6895);function De(E,a){1&E&&f.GkF(0)}function Me(E,a){if(1&E&&f._UZ(0,"sk-cube-grid",4),2&E){const l=f.oxw(2);f.Q6J("backgroundColor",l.backgroundColor)}}function H(E,a){if(1&E&&f._UZ(0,"sk-chasing-dots",4),2&E){const l=f.oxw(2);f.Q6J("backgroundColor",l.backgroundColor)}}function ae(E,a){if(1&E&&f._UZ(0,"sk-double-bounce",4),2&E){const l=f.oxw(2);f.Q6J("backgroundColor",l.backgroundColor)}}function le(E,a){if(1&E&&f._UZ(0,"sk-rotating-plane",4),2&E){const l=f.oxw(2);f.Q6J("backgroundColor",l.backgroundColor)}}function pe(E,a){if(1&E&&f._UZ(0,"sk-spinner-pulse",4),2&E){const l=f.oxw(2);f.Q6J("backgroundColor",l.backgroundColor)}}function se(E,a){if(1&E&&f._UZ(0,"sk-three-bounce",4),2&E){const l=f.oxw(2);f.Q6J("backgroundColor",l.backgroundColor)}}function ge(E,a){if(1&E&&f._UZ(0,"sk-wandering-cubes",4),2&E){const l=f.oxw(2);f.Q6J("backgroundColor",l.backgroundColor)}}function Z(E,a){if(1&E&&f._UZ(0,"sk-wave",4),2&E){const l=f.oxw(2);f.Q6J("backgroundColor",l.backgroundColor)}}const re=function(E){return{"background-color":E}};function Ie(E,a){if(1&E&&(f.TgZ(0,"div",1),f.YNc(1,De,1,0,"ng-container",2),f.YNc(2,Me,1,1,"sk-cube-grid",3),f.YNc(3,H,1,1,"sk-chasing-dots",3),f.YNc(4,ae,1,1,"sk-double-bounce",3),f.YNc(5,le,1,1,"sk-rotating-plane",3),f.YNc(6,pe,1,1,"sk-spinner-pulse",3),f.YNc(7,se,1,1,"sk-three-bounce",3),f.YNc(8,ge,1,1,"sk-wandering-cubes",3),f.YNc(9,Z,1,1,"sk-wave",3),f.qZA()),2&E){const l=f.oxw();f.Udp("opacity",l.opacity),f.ekj("backdrop",l.backdrop),f.Q6J("ngStyle",f.VKq(14,re,l.backdrop?l.backdropBackgroundColor:"transparent")),f.xp6(1),f.Q6J("ngComponentOutlet",l.entryComponent),f.xp6(1),f.Q6J("ngIf",l.spinner===l.spinkit.skCubeGrid),f.xp6(1),f.Q6J("ngIf",l.spinner===l.spinkit.skChasingDots),f.xp6(1),f.Q6J("ngIf",l.spinner===l.spinkit.skDoubleBounce),f.xp6(1),f.Q6J("ngIf",l.spinner===l.spinkit.skRotatingPlane),f.xp6(1),f.Q6J("ngIf",l.spinner===l.spinkit.skSpinnerPulse),f.xp6(1),f.Q6J("ngIf",l.spinner===l.spinkit.skThreeBounce),f.xp6(1),f.Q6J("ngIf",l.spinner===l.spinkit.skWanderingCubes),f.xp6(1),f.Q6J("ngIf",l.spinner===l.spinkit.skWave)}}let me=(()=>{class E{}return E.\u0275fac=function(l){return new(l||E)},E.\u0275dir=f.lG2({type:E,inputs:{backgroundColor:"backgroundColor"}}),E})(),We=(()=>{class E extends me{}return E.\u0275fac=function(){let a;return function(_){return(a||(a=f.n5z(E)))(_||E)}}(),E.\u0275cmp=f.Xpm({type:E,selectors:[["sk-chasing-dots"]],features:[f.qOj],decls:3,vars:6,consts:[[1,"sk-chasing-dots"],[1,"sk-child","sk-dot1"],[1,"sk-child","sk-dot2"]],template:function(l,_){1&l&&(f.TgZ(0,"div",0),f._UZ(1,"div",1)(2,"div",2),f.qZA()),2&l&&(f.ekj("colored",!_.backgroundColor),f.xp6(1),f.Udp("background-color",_.backgroundColor),f.xp6(1),f.Udp("background-color",_.backgroundColor))},styles:[".sk-chasing-dots[_ngcontent-%COMP%]{top:50%;margin:auto;width:40px;height:40px;position:relative;text-align:center;animation:_ngcontent-%COMP%_sk-chasingDotsRotate 2s infinite linear}.sk-chasing-dots[_ngcontent-%COMP%] .sk-child[_ngcontent-%COMP%]{width:60%;height:60%;display:inline-block;position:absolute;top:0;border-radius:100%;animation:_ngcontent-%COMP%_sk-chasingDotsBounce 2s infinite ease-in-out}.sk-chasing-dots[_ngcontent-%COMP%] .sk-dot2[_ngcontent-%COMP%]{top:auto;bottom:0;animation-delay:-1s}@keyframes _ngcontent-%COMP%_sk-chasingDotsRotate{to{transform:rotate(360deg)}}@keyframes _ngcontent-%COMP%_sk-chasingDotsBounce{0%,to{transform:scale(0)}50%{transform:scale(1)}}"]}),E})(),qe=(()=>{class E extends me{}return E.\u0275fac=function(){let a;return function(_){return(a||(a=f.n5z(E)))(_||E)}}(),E.\u0275cmp=f.Xpm({type:E,selectors:[["sk-cube-grid"]],features:[f.qOj],decls:10,vars:20,consts:[[1,"sk-cube-grid"],[1,"sk-cube","sk-cube1"],[1,"sk-cube","sk-cube2"],[1,"sk-cube","sk-cube3"],[1,"sk-cube","sk-cube4"],[1,"sk-cube","sk-cube5"],[1,"sk-cube","sk-cube6"],[1,"sk-cube","sk-cube7"],[1,"sk-cube","sk-cube8"],[1,"sk-cube","sk-cube9"]],template:function(l,_){1&l&&(f.TgZ(0,"div",0),f._UZ(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5)(6,"div",6)(7,"div",7)(8,"div",8)(9,"div",9),f.qZA()),2&l&&(f.ekj("colored",!_.backgroundColor),f.xp6(1),f.Udp("background-color",_.backgroundColor),f.xp6(1),f.Udp("background-color",_.backgroundColor),f.xp6(1),f.Udp("background-color",_.backgroundColor),f.xp6(1),f.Udp("background-color",_.backgroundColor),f.xp6(1),f.Udp("background-color",_.backgroundColor),f.xp6(1),f.Udp("background-color",_.backgroundColor),f.xp6(1),f.Udp("background-color",_.backgroundColor),f.xp6(1),f.Udp("background-color",_.backgroundColor),f.xp6(1),f.Udp("background-color",_.backgroundColor))},styles:[".sk-cube-grid[_ngcontent-%COMP%]{position:relative;top:50%;width:40px;height:40px;margin:auto}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube[_ngcontent-%COMP%]{width:33.33%;height:33.33%;float:left;animation:_ngcontent-%COMP%_sk-cubeGridScaleDelay 1.3s infinite ease-in-out}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube1[_ngcontent-%COMP%]{animation-delay:.2s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube2[_ngcontent-%COMP%]{animation-delay:.3s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube3[_ngcontent-%COMP%]{animation-delay:.4s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube4[_ngcontent-%COMP%]{animation-delay:.1s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube5[_ngcontent-%COMP%]{animation-delay:.2s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube6[_ngcontent-%COMP%]{animation-delay:.3s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube7[_ngcontent-%COMP%]{animation-delay:0s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube8[_ngcontent-%COMP%]{animation-delay:.1s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube9[_ngcontent-%COMP%]{animation-delay:.2s}@keyframes _ngcontent-%COMP%_sk-cubeGridScaleDelay{0%,70%,to{transform:scaleZ(1)}35%{transform:scale3D(0,0,1)}}"]}),E})(),pt=(()=>{class E extends me{}return E.\u0275fac=function(){let a;return function(_){return(a||(a=f.n5z(E)))(_||E)}}(),E.\u0275cmp=f.Xpm({type:E,selectors:[["sk-double-bounce"]],features:[f.qOj],decls:3,vars:6,consts:[[1,"sk-double-bounce"],[1,"sk-child","sk-double-bounce1"],[1,"sk-child","sk-double-bounce2"]],template:function(l,_){1&l&&(f.TgZ(0,"div",0),f._UZ(1,"div",1)(2,"div",2),f.qZA()),2&l&&(f.ekj("colored",!_.backgroundColor),f.xp6(1),f.Udp("background-color",_.backgroundColor),f.xp6(1),f.Udp("background-color",_.backgroundColor))},styles:[".sk-double-bounce[_ngcontent-%COMP%]{top:50%;width:40px;height:40px;position:relative;margin:auto}.sk-double-bounce[_ngcontent-%COMP%] .sk-child[_ngcontent-%COMP%]{width:100%;height:100%;border-radius:50%;background-color:#333;opacity:.6;position:absolute;top:0;left:0;animation:_ngcontent-%COMP%_sk-doubleBounce 2s infinite ease-in-out}.sk-double-bounce[_ngcontent-%COMP%] .sk-double-bounce2[_ngcontent-%COMP%]{animation-delay:-1s}@keyframes _ngcontent-%COMP%_sk-doubleBounce{0%,to{transform:scale(0)}50%{transform:scale(1)}}"]}),E})(),Ht=(()=>{class E extends me{}return E.\u0275fac=function(){let a;return function(_){return(a||(a=f.n5z(E)))(_||E)}}(),E.\u0275cmp=f.Xpm({type:E,selectors:[["sk-rotating-plane"]],features:[f.qOj],decls:1,vars:2,consts:[[1,"sk-rotating-plane","colored-parent"]],template:function(l,_){1&l&&f._UZ(0,"div",0),2&l&&f.Udp("background-color",_.backgroundColor)},styles:[".sk-rotating-plane[_ngcontent-%COMP%]{position:relative;top:50%;width:40px;height:40px;margin:auto;animation:_ngcontent-%COMP%_sk-rotatePlane 1.2s infinite ease-in-out}@keyframes _ngcontent-%COMP%_sk-rotatePlane{0%{transform:perspective(120px) rotateX(0) rotateY(0)}50%{transform:perspective(120px) rotateX(-180.1deg) rotateY(0)}to{transform:perspective(120px) rotateX(-180deg) rotateY(-179.9deg)}}"]}),E})(),en=(()=>{class E extends me{}return E.\u0275fac=function(){let a;return function(_){return(a||(a=f.n5z(E)))(_||E)}}(),E.\u0275cmp=f.Xpm({type:E,selectors:[["sk-spinner-pulse"]],features:[f.qOj],decls:1,vars:2,consts:[[1,"sk-spinner","sk-spinner-pulse","colored-parent"]],template:function(l,_){1&l&&f._UZ(0,"div",0),2&l&&f.Udp("background-color",_.backgroundColor)},styles:[".sk-spinner-pulse[_ngcontent-%COMP%]{position:relative;top:50%;width:40px;height:40px;margin:auto;border-radius:100%;animation:_ngcontent-%COMP%_sk-pulseScaleOut 1s infinite ease-in-out}@keyframes _ngcontent-%COMP%_sk-pulseScaleOut{0%{transform:scale(0)}to{transform:scale(1);opacity:0}}"]}),E})(),At=(()=>{class E extends me{}return E.\u0275fac=function(){let a;return function(_){return(a||(a=f.n5z(E)))(_||E)}}(),E.\u0275cmp=f.Xpm({type:E,selectors:[["sk-three-bounce"]],features:[f.qOj],decls:4,vars:8,consts:[[1,"sk-three-bounce"],[1,"sk-child","sk-bounce1"],[1,"sk-child","sk-bounce2"],[1,"sk-child","sk-bounce3"]],template:function(l,_){1&l&&(f.TgZ(0,"div",0),f._UZ(1,"div",1)(2,"div",2)(3,"div",3),f.qZA()),2&l&&(f.ekj("colored",!_.backgroundColor),f.xp6(1),f.Udp("background-color",_.backgroundColor),f.xp6(1),f.Udp("background-color",_.backgroundColor),f.xp6(1),f.Udp("background-color",_.backgroundColor))},styles:[".sk-three-bounce[_ngcontent-%COMP%]{top:50%;position:relative;margin:auto;width:80px;text-align:center}.sk-three-bounce[_ngcontent-%COMP%] .sk-child[_ngcontent-%COMP%]{width:20px;height:20px;border-radius:100%;display:inline-block;animation:_ngcontent-%COMP%_sk-three-bounce 1.4s ease-in-out 0s infinite both}.sk-three-bounce[_ngcontent-%COMP%] .sk-bounce1[_ngcontent-%COMP%]{animation-delay:-.32s}.sk-three-bounce[_ngcontent-%COMP%] .sk-bounce2[_ngcontent-%COMP%]{animation-delay:-.16s}@keyframes _ngcontent-%COMP%_sk-three-bounce{0%,80%,to{transform:scale(0)}40%{transform:scale(1)}}"]}),E})(),It=(()=>{class E extends me{}return E.\u0275fac=function(){let a;return function(_){return(a||(a=f.n5z(E)))(_||E)}}(),E.\u0275cmp=f.Xpm({type:E,selectors:[["sk-wandering-cubes"]],features:[f.qOj],decls:3,vars:6,consts:[[1,"sk-wandering-cubes"],[1,"sk-cube","sk-cube1"],[1,"sk-cube","sk-cube2"]],template:function(l,_){1&l&&(f.TgZ(0,"div",0),f._UZ(1,"div",1)(2,"div",2),f.qZA()),2&l&&(f.ekj("colored",!_.backgroundColor),f.xp6(1),f.Udp("background-color",_.backgroundColor),f.xp6(1),f.Udp("background-color",_.backgroundColor))},styles:[".sk-wandering-cubes[_ngcontent-%COMP%]{top:50%;margin:auto;width:40px;height:40px;position:relative}.sk-wandering-cubes[_ngcontent-%COMP%] .sk-cube[_ngcontent-%COMP%]{width:10px;height:10px;position:absolute;top:0;left:0;animation:_ngcontent-%COMP%_sk-wanderingCube 1.8s ease-in-out -1.8s infinite both}.sk-wandering-cubes[_ngcontent-%COMP%] .sk-cube2[_ngcontent-%COMP%]{animation-delay:-.9s}@keyframes _ngcontent-%COMP%_sk-wanderingCube{0%{transform:rotate(0)}25%{transform:translate(30px) rotate(-90deg) scale(.5)}50%{transform:translate(30px) translateY(30px) rotate(-179deg)}50.1%{transform:translate(30px) translateY(30px) rotate(-180deg)}75%{transform:translate(0) translateY(30px) rotate(-270deg) scale(.5)}to{transform:rotate(-360deg)}}"]}),E})(),Le=(()=>{class E extends me{}return E.\u0275fac=function(){let a;return function(_){return(a||(a=f.n5z(E)))(_||E)}}(),E.\u0275cmp=f.Xpm({type:E,selectors:[["sk-wave"]],features:[f.qOj],decls:6,vars:12,consts:[[1,"sk-wave"],[1,"sk-rect","sk-rect1"],[1,"sk-rect","sk-rect2"],[1,"sk-rect","sk-rect3"],[1,"sk-rect","sk-rect4"],[1,"sk-rect","sk-rect5"]],template:function(l,_){1&l&&(f.TgZ(0,"div",0),f._UZ(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5),f.qZA()),2&l&&(f.ekj("colored",!_.backgroundColor),f.xp6(1),f.Udp("background-color",_.backgroundColor),f.xp6(1),f.Udp("background-color",_.backgroundColor),f.xp6(1),f.Udp("background-color",_.backgroundColor),f.xp6(1),f.Udp("background-color",_.backgroundColor),f.xp6(1),f.Udp("background-color",_.backgroundColor))},styles:[".sk-wave[_ngcontent-%COMP%]{position:relative;top:50%;margin:auto;width:50px;height:40px;text-align:center;font-size:10px}.sk-wave[_ngcontent-%COMP%] .sk-rect[_ngcontent-%COMP%]{float:left;margin-right:1px;height:100%;width:6px;display:inline-block;animation:_ngcontent-%COMP%_sk-waveStretchDelay 1.2s infinite ease-in-out}.sk-wave[_ngcontent-%COMP%] .sk-rect1[_ngcontent-%COMP%]{animation-delay:-1.2s}.sk-wave[_ngcontent-%COMP%] .sk-rect2[_ngcontent-%COMP%]{animation-delay:-1.1s}.sk-wave[_ngcontent-%COMP%] .sk-rect3[_ngcontent-%COMP%]{animation-delay:-1s}.sk-wave[_ngcontent-%COMP%] .sk-rect4[_ngcontent-%COMP%]{animation-delay:-.9s}.sk-wave[_ngcontent-%COMP%] .sk-rect5[_ngcontent-%COMP%]{animation-delay:-.8s}@keyframes _ngcontent-%COMP%_sk-waveStretchDelay{0%,40%,to{transform:scaleY(.4)}20%{transform:scaleY(1)}}"]}),E})();const et={skChasingDots:"sk-chasing-dots",skCubeGrid:"sk-cube-grid",skDoubleBounce:"sk-double-bounce",skRotatingPlane:"sk-rotationg-plane",skSpinnerPulse:"sk-spinner-pulse",skThreeBounce:"sk-three-bounce",skWanderingCubes:"sk-wandering-cubes",skWave:"sk-wave"};let Ne=(()=>{class E{constructor(){this._pendingRequests=0,this._pendingRequestsStatus$=new K.t(1),this._filteredUrlPatterns=[],this._filteredMethods=[],this._filteredHeaders=[],this._forceByPass=!1}get pendingRequestsStatus$(){return this._pendingRequestsStatus$.asObservable()}get pendingRequests(){return this._pendingRequests}get filteredUrlPatterns(){return this._filteredUrlPatterns}set filteredMethods(l){this._filteredMethods=l}set filteredHeaders(l){this._filteredHeaders=l}set forceByPass(l){this._forceByPass=l}shouldBypassUrl(l){return this._filteredUrlPatterns.some(_=>_.test(l))}shouldBypassMethod(l){return this._filteredMethods.some(_=>_.toUpperCase()===l.method.toUpperCase())}shouldBypassHeader(l){return this._filteredHeaders.some(_=>l.headers.has(_))}shouldBypass(l){return this._forceByPass||this.shouldBypassUrl(l.urlWithParams)||this.shouldBypassMethod(l)||this.shouldBypassHeader(l)}intercept(l,_){const O=this.shouldBypass(l);return O||(this._pendingRequests++,1===this._pendingRequests&&this._pendingRequestsStatus$.next(!0)),_.handle(l).pipe((0,Y.x)(()=>{O||(this._pendingRequests--,0===this._pendingRequests&&this._pendingRequestsStatus$.next(!1))}))}}return E.\u0275fac=function(l){return new(l||E)},E.\u0275prov=f.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"}),E})();const rt=[{provide:U.TP,useExisting:Ne,multi:!0}];let Ft=(()=>{class E{constructor(l){this.pendingRequestsInterceptor=l,this._visibility$=new K.t(1)}get visibility$(){return this._visibility$.asObservable()}show(){this.pendingRequestsInterceptor.forceByPass=!0,this._visibility$.next(!0)}hide(){this._visibility$.next(!1),this.pendingRequestsInterceptor.forceByPass=!1}}return E.\u0275fac=function(l){return new(l||E)(f.LFG(Ne))},E.\u0275prov=f.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"}),E})(),$t=(()=>{class E{constructor(l,_){this.pendingRequestsInterceptor=l,this.spinnerVisibility=_,this.spinkit=et,this.visibleUntil=Date.now(),this.backdrop=!0,this.debounceDelay=0,this.entryComponent=null,this.extraDuration=0,this.filteredHeaders=[],this.filteredMethods=[],this.filteredUrlPatterns=[],this.minDuration=0,this.opacity=".7",this.backdropBackgroundColor="#f1f1f1",this.spinner=et.skWave}ngOnInit(){this.initIsvisibleObservable(),this.nullifySpinnerIfEntryComponentIsDefined(),this.initFilters()}initIsvisibleObservable(){const[l,_]=function ee(E,a,l){return[(0,J.h)(a,l)((0,oe.Xf)(E)),(0,J.h)(X(a,l))((0,oe.Xf)(E))]}(this.pendingRequestsInterceptor.pendingRequestsStatus$,O=>O);this.isVisible$=(0,Q.T)(this.pendingRequestsInterceptor.pendingRequestsStatus$.pipe((0,W.w)(()=>l.pipe(Ye(()=>(0,j.H)(this.debounceDelay))))),l.pipe((0,W.w)(()=>_.pipe(Ye(()=>this.getVisibilityTimer$())))),this.spinnerVisibility.visibility$).pipe((0,Se.x)(),(0,Fe.b)(O=>this.updateExpirationDelay(O)))}nullifySpinnerIfEntryComponentIsDefined(){this.entryComponent&&(this.spinner=null)}initFilters(){this.initFilteredUrlPatterns(),this.initFilteredMethods(),this.initFilteredHeaders()}initFilteredUrlPatterns(){this.filteredUrlPatterns.length&&this.filteredUrlPatterns.forEach(l=>this.pendingRequestsInterceptor.filteredUrlPatterns.push(new RegExp(l)))}initFilteredMethods(){this.pendingRequestsInterceptor.filteredMethods=this.filteredMethods}initFilteredHeaders(){this.pendingRequestsInterceptor.filteredHeaders=this.filteredHeaders}updateExpirationDelay(l){l&&(this.visibleUntil=Date.now()+this.minDuration)}getVisibilityTimer$(){return(0,j.H)(Math.max(this.extraDuration,this.visibleUntil-Date.now()))}}return E.\u0275fac=function(l){return new(l||E)(f.Y36(Ne),f.Y36(Ft))},E.\u0275cmp=f.Xpm({type:E,selectors:[["ng-http-loader"]],inputs:{backdrop:"backdrop",backgroundColor:"backgroundColor",debounceDelay:"debounceDelay",entryComponent:"entryComponent",extraDuration:"extraDuration",filteredHeaders:"filteredHeaders",filteredMethods:"filteredMethods",filteredUrlPatterns:"filteredUrlPatterns",minDuration:"minDuration",opacity:"opacity",backdropBackgroundColor:"backdropBackgroundColor",spinner:"spinner"},decls:2,vars:3,consts:[["id","spinner",3,"backdrop","opacity","ngStyle",4,"ngIf"],["id","spinner",3,"ngStyle"],[4,"ngComponentOutlet"],[3,"backgroundColor",4,"ngIf"],[3,"backgroundColor"]],template:function(l,_){1&l&&(f.YNc(0,Ie,10,16,"div",0),f.ALo(1,"async")),2&l&&f.Q6J("ngIf",f.lcZ(1,1,_.isVisible$))},dependencies:[Pe.$G,Pe.O5,Pe.PC,qe,We,pt,Ht,en,At,It,Le,Pe.Ov],styles:["#spinner[_ngcontent-%COMP%]{top:50%;left:50%;transform:translate(-50%,-50%);position:fixed;z-index:9999}#spinner.backdrop[_ngcontent-%COMP%]{top:0;left:0;height:100%;width:100%;display:flex;align-items:center;justify-content:center;transform:none} .colored-parent, .colored>div{background-color:#333}"]}),E})(),ln=(()=>{class E{static forRoot(){return{ngModule:E,providers:[rt]}}}return E.\u0275fac=function(l){return new(l||E)},E.\u0275mod=f.oAB({type:E}),E.\u0275inj=f.cJS({imports:[Pe.ez]}),E})();var Kt=D(1318),Wn=D(8002),vn=D(284);const kn=[{path:"",loadChildren:()=>Promise.all([D.e(87),D.e(369)]).then(D.bind(D,9369)).then(E=>E.LoginModule)},{path:"menu",loadChildren:()=>Promise.all([D.e(87),D.e(397)]).then(D.bind(D,2397)).then(E=>E.MenuModule)},{path:"**",redirectTo:"",pathMatch:"full"}];class In{}In.\u0275fac=function(a){return new(a||In)},In.\u0275mod=f.oAB({type:In}),In.\u0275inj=f.cJS({imports:[vn.Bz.forRoot(kn,{}),vn.Bz]});var Xt=D(4004),wn=D(5577);class Gt{constructor(a,l,_){this._router=a,this.titleService=l,this.activatedRoute=_}ngOnInit(){this.overrideDateToJsonFunction(),this._router.events.pipe((0,J.h)(a=>a instanceof vn.m2)).pipe((0,Xt.U)(()=>this.activatedRoute),(0,Xt.U)(a=>{for(;a.firstChild;)a=a.firstChild;return a}),(0,J.h)(a=>"primary"===a.outlet),(0,wn.z)(a=>a.data)).subscribe(a=>{let l=" | Marketplace";"Dealpos x Marketplace"==a.title&&(l=""),this.titleService.setTitle(a.title+l)})}overrideDateToJsonFunction(){function a(l){return l<10?"0"+l:l}Date.prototype.toJSON=function(){return this.getFullYear()+"-"+a(this.getMonth()+1)+"-"+a(this.getDate())+"T"+a(this.getHours())+":"+a(this.getMinutes())+":"+a(this.getSeconds())+".000"}}}Gt.\u0275fac=function(a){return new(a||Gt)(f.Y36(vn.F0),f.Y36(s.Dx),f.Y36(vn.gz))},Gt.\u0275cmp=f.Xpm({type:Gt,selectors:[["app-root"]],decls:2,vars:0,template:function(a,l){1&a&&f._UZ(0,"router-outlet")(1,"ng-http-loader")},dependencies:[vn.lC,$t]});var yt=D(7340);function tn(E){return new f.vHH(3e3,!1)}function $(){return typeof window<"u"&&typeof window.document<"u"}function ue(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function Ke(E){switch(E.length){case 0:return new yt.ZN;case 1:return E[0];default:return new yt.ZE(E)}}function vt(E,a,l,_,O=new Map,z=new Map){const ce=[],he=[];let Be=-1,Je=null;if(_.forEach(bt=>{const Dt=bt.get("offset"),sn=Dt==Be,Yt=sn&&Je||new Map;bt.forEach((Ut,Zt)=>{let Fn=Zt,or=Ut;if("offset"!==Zt)switch(Fn=a.normalizePropertyName(Fn,ce),or){case yt.k1:or=O.get(Zt);break;case yt.l3:or=z.get(Zt);break;default:or=a.normalizeStyleValue(Zt,Fn,or,ce)}Yt.set(Fn,or)}),sn||he.push(Yt),Je=Yt,Be=Dt}),ce.length)throw function ve(E){return new f.vHH(3502,!1)}();return he}function Dn(E,a,l,_){switch(a){case"start":E.onStart(()=>_(l&&Mn(l,"start",E)));break;case"done":E.onDone(()=>_(l&&Mn(l,"done",E)));break;case"destroy":E.onDestroy(()=>_(l&&Mn(l,"destroy",E)))}}function Mn(E,a,l){const z=Dr(E.element,E.triggerName,E.fromState,E.toState,a||E.phaseName,l.totalTime??E.totalTime,!!l.disabled),ce=E._data;return null!=ce&&(z._data=ce),z}function Dr(E,a,l,_,O="",z=0,ce){return{element:E,triggerName:a,fromState:l,toState:_,phaseName:O,totalTime:z,disabled:!!ce}}function Sn(E,a,l){let _=E.get(a);return _||E.set(a,_=l),_}function Jr(E){const a=E.indexOf(":");return[E.substring(1,a),E.slice(a+1)]}let si=(E,a)=>!1,oo=(E,a,l)=>[],Hi=null;function Ur(E){const a=E.parentNode||E.host;return a===Hi?null:a}(ue()||typeof Element<"u")&&($()?(Hi=(()=>document.documentElement)(),si=(E,a)=>{for(;a;){if(a===E)return!0;a=Ur(a)}return!1}):si=(E,a)=>E.contains(a),oo=(E,a,l)=>{if(l)return Array.from(E.querySelectorAll(a));const _=E.querySelector(a);return _?[_]:[]});let Nn=null,cr=!1;const gt=si,Vt=oo;let ur=(()=>{class E{validateStyleProperty(l){return function qn(E){Nn||(Nn=function xr(){return typeof document<"u"?document.body:null}()||{},cr=!!Nn.style&&"WebkitAppearance"in Nn.style);let a=!0;return Nn.style&&!function _n(E){return"ebkit"==E.substring(1,6)}(E)&&(a=E in Nn.style,!a&&cr&&(a="Webkit"+E.charAt(0).toUpperCase()+E.slice(1)in Nn.style)),a}(l)}matchesElement(l,_){return!1}containsElement(l,_){return gt(l,_)}getParentElement(l){return Ur(l)}query(l,_,O){return Vt(l,_,O)}computeStyle(l,_,O){return O||""}animate(l,_,O,z,ce,he=[],Be){return new yt.ZN(O,z)}}return E.\u0275fac=function(l){return new(l||E)},E.\u0275prov=f.Yz7({token:E,factory:E.\u0275fac}),E})(),Er=(()=>{class E{}return E.NOOP=new ur,E})();const Or="ng-enter",Cr="ng-leave",nn="ng-trigger",Ti=".ng-trigger",Mi="ng-animating",$i=".ng-animating";function nr(E){if("number"==typeof E)return E;const a=E.match(/^(-?[\.\d]+)(m?s)/);return!a||a.length<2?0:dr(parseFloat(a[1]),a[2])}function dr(E,a){return"s"===a?1e3*E:E}function _i(E,a,l){return E.hasOwnProperty("duration")?E:function fi(E,a,l){let O,z=0,ce="";if("string"==typeof E){const he=E.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===he)return a.push(tn()),{duration:0,delay:0,easing:""};O=dr(parseFloat(he[1]),he[2]);const Be=he[3];null!=Be&&(z=dr(parseFloat(Be),he[4]));const Je=he[5];Je&&(ce=Je)}else O=E;if(!l){let he=!1,Be=a.length;O<0&&(a.push(function $n(){return new f.vHH(3100,!1)}()),he=!0),z<0&&(a.push(function gn(){return new f.vHH(3101,!1)}()),he=!0),he&&a.splice(Be,0,tn())}return{duration:O,delay:z,easing:ce}}(E,a,l)}function wr(E,a={}){return Object.keys(E).forEach(l=>{a[l]=E[l]}),a}function hi(E){const a=new Map;return Object.keys(E).forEach(l=>{a.set(l,E[l])}),a}function fr(E,a=new Map,l){if(l)for(let[_,O]of l)a.set(_,O);for(let[_,O]of E)a.set(_,O);return a}function Ii(E,a,l){return l?a+":"+l+";":""}function Uo(E){let a="";for(let l=0;l<E.style.length;l++){const _=E.style.item(l);a+=Ii(0,_,E.style.getPropertyValue(_))}for(const l in E.style)E.style.hasOwnProperty(l)&&!l.startsWith("_")&&(a+=Ii(0,Rr(l),E.style[l]));E.setAttribute("style",a)}function Pr(E,a,l){E.style&&(a.forEach((_,O)=>{const z=Gi(O);l&&!l.has(O)&&l.set(O,E.style[z]),E.style[z]=_}),ue()&&Uo(E))}function Wr(E,a){E.style&&(a.forEach((l,_)=>{const O=Gi(_);E.style[O]=""}),ue()&&Uo(E))}function hr(E){return Array.isArray(E)?1==E.length?E[0]:(0,yt.vP)(E):E}const go=new RegExp("{{\\s*(.+?)\\s*}}","g");function _r(E){let a=[];if("string"==typeof E){let l;for(;l=go.exec(E);)a.push(l[1]);go.lastIndex=0}return a}function Kn(E,a,l){const _=E.toString(),O=_.replace(go,(z,ce)=>{let he=a[ce];return null==he&&(l.push(function Hn(E){return new f.vHH(3003,!1)}()),he=""),he.toString()});return O==_?E:O}function qr(E){const a=[];let l=E.next();for(;!l.done;)a.push(l.value),l=E.next();return a}const zi=/-+([a-z0-9])/g;function Gi(E){return E.replace(zi,(...a)=>a[1].toUpperCase())}function Rr(E){return E.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Fr(E,a,l){switch(a.type){case 7:return E.visitTrigger(a,l);case 0:return E.visitState(a,l);case 1:return E.visitTransition(a,l);case 2:return E.visitSequence(a,l);case 3:return E.visitGroup(a,l);case 4:return E.visitAnimate(a,l);case 5:return E.visitKeyframes(a,l);case 6:return E.visitStyle(a,l);case 8:return E.visitReference(a,l);case 9:return E.visitAnimateChild(a,l);case 10:return E.visitAnimateRef(a,l);case 11:return E.visitQuery(a,l);case 12:return E.visitStagger(a,l);default:throw function Ot(E){return new f.vHH(3004,!1)}()}}function Ai(E,a){return window.getComputedStyle(E)[a]}function _e(E,a){const l=[];return"string"==typeof E?E.split(/\s*,\s*/).forEach(_=>function be(E,a,l){if(":"==E[0]){const Be=function ke(E,a){switch(E){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(l,_)=>parseFloat(_)>parseFloat(l);case":decrement":return(l,_)=>parseFloat(_)<parseFloat(l);default:return a.push(function ne(E){return new f.vHH(3016,!1)}()),"* => *"}}(E,l);if("function"==typeof Be)return void a.push(Be);E=Be}const _=E.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==_||_.length<4)return l.push(function lt(E){return new f.vHH(3015,!1)}()),a;const O=_[1],z=_[2],ce=_[3];a.push(ht(O,ce));"<"==z[0]&&!("*"==O&&"*"==ce)&&a.push(ht(ce,O))}(_,l,a)):l.push(E),l}const Xe=new Set(["true","1"]),at=new Set(["false","0"]);function ht(E,a){const l=Xe.has(E)||at.has(E),_=Xe.has(a)||at.has(a);return(O,z)=>{let ce="*"==E||E==O,he="*"==a||a==z;return!ce&&l&&"boolean"==typeof O&&(ce=O?Xe.has(E):at.has(E)),!he&&_&&"boolean"==typeof z&&(he=z?Xe.has(a):at.has(a)),ce&&he}}const jn=new RegExp("s*:selfs*,?","g");function rn(E,a,l,_){return new kr(E).build(a,l,_)}class kr{constructor(a){this._driver=a}build(a,l,_){const O=new li(l);return this._resetContextStyleTimingState(O),Fr(this,hr(a),O)}_resetContextStyleTimingState(a){a.currentQuerySelector="",a.collectedStyles=new Map,a.collectedStyles.set("",new Map),a.currentTime=0}visitTrigger(a,l){let _=l.queryCount=0,O=l.depCount=0;const z=[],ce=[];return"@"==a.name.charAt(0)&&l.errors.push(function ut(){return new f.vHH(3006,!1)}()),a.definitions.forEach(he=>{if(this._resetContextStyleTimingState(l),0==he.type){const Be=he,Je=Be.name;Je.toString().split(/\s*,\s*/).forEach(bt=>{Be.name=bt,z.push(this.visitState(Be,l))}),Be.name=Je}else if(1==he.type){const Be=this.visitTransition(he,l);_+=Be.queryCount,O+=Be.depCount,ce.push(Be)}else l.errors.push(function xt(){return new f.vHH(3007,!1)}())}),{type:7,name:a.name,states:z,transitions:ce,queryCount:_,depCount:O,options:null}}visitState(a,l){const _=this.visitStyle(a.styles,l),O=a.options&&a.options.params||null;if(_.containsDynamicStyles){const z=new Set,ce=O||{};_.styles.forEach(he=>{he instanceof Map&&he.forEach(Be=>{_r(Be).forEach(Je=>{ce.hasOwnProperty(Je)||z.add(Je)})})}),z.size&&(qr(z.values()),l.errors.push(function ze(E,a){return new f.vHH(3008,!1)}()))}return{type:0,name:a.name,style:_,options:O?{params:O}:null}}visitTransition(a,l){l.queryCount=0,l.depCount=0;const _=Fr(this,hr(a.animation),l);return{type:1,matchers:_e(a.expr,l.errors),animation:_,queryCount:l.queryCount,depCount:l.depCount,options:Hr(a.options)}}visitSequence(a,l){return{type:2,steps:a.steps.map(_=>Fr(this,_,l)),options:Hr(a.options)}}visitGroup(a,l){const _=l.currentTime;let O=0;const z=a.steps.map(ce=>{l.currentTime=_;const he=Fr(this,ce,l);return O=Math.max(O,l.currentTime),he});return l.currentTime=O,{type:3,steps:z,options:Hr(a.options)}}visitAnimate(a,l){const _=function yi(E,a){if(E.hasOwnProperty("duration"))return E;if("number"==typeof E)return Yi(_i(E,a).duration,0,"");const l=E;if(l.split(/\s+/).some(z=>"{"==z.charAt(0)&&"{"==z.charAt(1))){const z=Yi(0,0,"");return z.dynamic=!0,z.strValue=l,z}const O=_i(l,a);return Yi(O.duration,O.delay,O.easing)}(a.timings,l.errors);l.currentAnimateTimings=_;let O,z=a.styles?a.styles:(0,yt.oB)({});if(5==z.type)O=this.visitKeyframes(z,l);else{let ce=a.styles,he=!1;if(!ce){he=!0;const Je={};_.easing&&(Je.easing=_.easing),ce=(0,yt.oB)(Je)}l.currentTime+=_.duration+_.delay;const Be=this.visitStyle(ce,l);Be.isEmptyStep=he,O=Be}return l.currentAnimateTimings=null,{type:4,timings:_,style:O,options:null}}visitStyle(a,l){const _=this._makeStyleAst(a,l);return this._validateStyleAst(_,l),_}_makeStyleAst(a,l){const _=[],O=Array.isArray(a.styles)?a.styles:[a.styles];for(let he of O)"string"==typeof he?he===yt.l3?_.push(he):l.errors.push(new f.vHH(3002,!1)):_.push(hi(he));let z=!1,ce=null;return _.forEach(he=>{if(he instanceof Map&&(he.has("easing")&&(ce=he.get("easing"),he.delete("easing")),!z))for(let Be of he.values())if(Be.toString().indexOf("{{")>=0){z=!0;break}}),{type:6,styles:_,easing:ce,offset:a.offset,containsDynamicStyles:z,options:null}}_validateStyleAst(a,l){const _=l.currentAnimateTimings;let O=l.currentTime,z=l.currentTime;_&&z>0&&(z-=_.duration+_.delay),a.styles.forEach(ce=>{"string"!=typeof ce&&ce.forEach((he,Be)=>{const Je=l.collectedStyles.get(l.currentQuerySelector),bt=Je.get(Be);let Dt=!0;bt&&(z!=O&&z>=bt.startTime&&O<=bt.endTime&&(l.errors.push(function Ze(E,a,l,_,O){return new f.vHH(3010,!1)}()),Dt=!1),z=bt.startTime),Dt&&Je.set(Be,{startTime:z,endTime:O}),l.options&&function gr(E,a,l){const _=a.params||{},O=_r(E);O.length&&O.forEach(z=>{_.hasOwnProperty(z)||l.push(function bn(E){return new f.vHH(3001,!1)}())})}(he,l.options,l.errors)})})}visitKeyframes(a,l){const _={type:5,styles:[],options:null};if(!l.currentAnimateTimings)return l.errors.push(function kt(){return new f.vHH(3011,!1)}()),_;let z=0;const ce=[];let he=!1,Be=!1,Je=0;const bt=a.steps.map(or=>{const Ir=this._makeStyleAst(or,l);let Sr=null!=Ir.offset?Ir.offset:function so(E){if("string"==typeof E)return null;let a=null;if(Array.isArray(E))E.forEach(l=>{if(l instanceof Map&&l.has("offset")){const _=l;a=parseFloat(_.get("offset")),_.delete("offset")}});else if(E instanceof Map&&E.has("offset")){const l=E;a=parseFloat(l.get("offset")),l.delete("offset")}return a}(Ir.styles),er=0;return null!=Sr&&(z++,er=Ir.offset=Sr),Be=Be||er<0||er>1,he=he||er<Je,Je=er,ce.push(er),Ir});Be&&l.errors.push(function Mt(){return new f.vHH(3012,!1)}()),he&&l.errors.push(function Yn(){return new f.vHH(3200,!1)}());const Dt=a.steps.length;let sn=0;z>0&&z<Dt?l.errors.push(function Pt(){return new f.vHH(3202,!1)}()):0==z&&(sn=1/(Dt-1));const Yt=Dt-1,Ut=l.currentTime,Zt=l.currentAnimateTimings,Fn=Zt.duration;return bt.forEach((or,Ir)=>{const Sr=sn>0?Ir==Yt?1:sn*Ir:ce[Ir],er=Sr*Fn;l.currentTime=Ut+Zt.delay+er,Zt.duration=er,this._validateStyleAst(or,l),or.offset=Sr,_.styles.push(or)}),_}visitReference(a,l){return{type:8,animation:Fr(this,hr(a.animation),l),options:Hr(a.options)}}visitAnimateChild(a,l){return l.depCount++,{type:9,options:Hr(a.options)}}visitAnimateRef(a,l){return{type:10,animation:this.visitReference(a.animation,l),options:Hr(a.options)}}visitQuery(a,l){const _=l.currentQuerySelector,O=a.options||{};l.queryCount++,l.currentQuery=a;const[z,ce]=function Oi(E){const a=!!E.split(/\s*,\s*/).find(l=>":self"==l);return a&&(E=E.replace(jn,"")),E=E.replace(/@\*/g,Ti).replace(/@\w+/g,l=>Ti+"-"+l.slice(1)).replace(/:animating/g,$i),[E,a]}(a.selector);l.currentQuerySelector=_.length?_+" "+z:z,Sn(l.collectedStyles,l.currentQuerySelector,new Map);const he=Fr(this,hr(a.animation),l);return l.currentQuery=null,l.currentQuerySelector=_,{type:11,selector:z,limit:O.limit||0,optional:!!O.optional,includeSelf:ce,animation:he,originalSelector:a.selector,options:Hr(a.options)}}visitStagger(a,l){l.currentQuery||l.errors.push(function Tn(){return new f.vHH(3013,!1)}());const _="full"===a.timings?{duration:0,delay:0,easing:"full"}:_i(a.timings,l.errors,!0);return{type:12,animation:Fr(this,hr(a.animation),l),timings:_,options:null}}}class li{constructor(a){this.errors=a,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function Hr(E){return E?(E=wr(E)).params&&(E.params=function ai(E){return E?wr(E):null}(E.params)):E={},E}function Yi(E,a,l){return{duration:E,delay:a,easing:l}}function Tr(E,a,l,_,O,z,ce=null,he=!1){return{type:1,element:E,keyframes:a,preStyleProps:l,postStyleProps:_,duration:O,delay:z,totalTime:O+z,easing:ce,subTimeline:he}}class ti{constructor(){this._map=new Map}get(a){return this._map.get(a)||[]}append(a,l){let _=this._map.get(a);_||this._map.set(a,_=[]),_.push(...l)}has(a){return this._map.has(a)}clear(){this._map.clear()}}const ni=new RegExp(":enter","g"),So=new RegExp(":leave","g");function Kr(E,a,l,_,O,z=new Map,ce=new Map,he,Be,Je=[]){return(new yr).buildKeyframes(E,a,l,_,O,z,ce,he,Be,Je)}class yr{buildKeyframes(a,l,_,O,z,ce,he,Be,Je,bt=[]){Je=Je||new ti;const Dt=new Zi(a,l,Je,O,z,bt,[]);Dt.options=Be;const sn=Be.delay?nr(Be.delay):0;Dt.currentTimeline.delayNextStep(sn),Dt.currentTimeline.setStyles([ce],null,Dt.errors,Be),Fr(this,_,Dt);const Yt=Dt.timelines.filter(Ut=>Ut.containsAnimation());if(Yt.length&&he.size){let Ut;for(let Zt=Yt.length-1;Zt>=0;Zt--){const Fn=Yt[Zt];if(Fn.element===l){Ut=Fn;break}}Ut&&!Ut.allowOnlyTimelineStyles()&&Ut.setStyles([he],null,Dt.errors,Be)}return Yt.length?Yt.map(Ut=>Ut.buildKeyframes()):[Tr(l,[],[],[],0,sn,"",!1)]}visitTrigger(a,l){}visitState(a,l){}visitTransition(a,l){}visitAnimateChild(a,l){const _=l.subInstructions.get(l.element);if(_){const O=l.createSubContext(a.options),z=l.currentTimeline.currentTime,ce=this._visitSubInstructions(_,O,O.options);z!=ce&&l.transformIntoNewTimeline(ce)}l.previousNode=a}visitAnimateRef(a,l){const _=l.createSubContext(a.options);_.transformIntoNewTimeline(),this._applyAnimationRefDelays([a.options,a.animation.options],l,_),this.visitReference(a.animation,_),l.transformIntoNewTimeline(_.currentTimeline.currentTime),l.previousNode=a}_applyAnimationRefDelays(a,l,_){for(const O of a){const z=O?.delay;if(z){const ce="number"==typeof z?z:nr(Kn(z,O?.params??{},l.errors));_.delayNextStep(ce)}}}_visitSubInstructions(a,l,_){let z=l.currentTimeline.currentTime;const ce=null!=_.duration?nr(_.duration):null,he=null!=_.delay?nr(_.delay):null;return 0!==ce&&a.forEach(Be=>{const Je=l.appendInstructionToTimeline(Be,ce,he);z=Math.max(z,Je.duration+Je.delay)}),z}visitReference(a,l){l.updateOptions(a.options,!0),Fr(this,a.animation,l),l.previousNode=a}visitSequence(a,l){const _=l.subContextCount;let O=l;const z=a.options;if(z&&(z.params||z.delay)&&(O=l.createSubContext(z),O.transformIntoNewTimeline(),null!=z.delay)){6==O.previousNode.type&&(O.currentTimeline.snapshotCurrentStyles(),O.previousNode=ao);const ce=nr(z.delay);O.delayNextStep(ce)}a.steps.length&&(a.steps.forEach(ce=>Fr(this,ce,O)),O.currentTimeline.applyStylesToKeyframe(),O.subContextCount>_&&O.transformIntoNewTimeline()),l.previousNode=a}visitGroup(a,l){const _=[];let O=l.currentTimeline.currentTime;const z=a.options&&a.options.delay?nr(a.options.delay):0;a.steps.forEach(ce=>{const he=l.createSubContext(a.options);z&&he.delayNextStep(z),Fr(this,ce,he),O=Math.max(O,he.currentTimeline.currentTime),_.push(he.currentTimeline)}),_.forEach(ce=>l.currentTimeline.mergeTimelineCollectedStyles(ce)),l.transformIntoNewTimeline(O),l.previousNode=a}_visitTiming(a,l){if(a.dynamic){const _=a.strValue;return _i(l.params?Kn(_,l.params,l.errors):_,l.errors)}return{duration:a.duration,delay:a.delay,easing:a.easing}}visitAnimate(a,l){const _=l.currentAnimateTimings=this._visitTiming(a.timings,l),O=l.currentTimeline;_.delay&&(l.incrementTime(_.delay),O.snapshotCurrentStyles());const z=a.style;5==z.type?this.visitKeyframes(z,l):(l.incrementTime(_.duration),this.visitStyle(z,l),O.applyStylesToKeyframe()),l.currentAnimateTimings=null,l.previousNode=a}visitStyle(a,l){const _=l.currentTimeline,O=l.currentAnimateTimings;!O&&_.hasCurrentStyleProperties()&&_.forwardFrame();const z=O&&O.easing||a.easing;a.isEmptyStep?_.applyEmptyStep(z):_.setStyles(a.styles,z,l.errors,l.options),l.previousNode=a}visitKeyframes(a,l){const _=l.currentAnimateTimings,O=l.currentTimeline.duration,z=_.duration,he=l.createSubContext().currentTimeline;he.easing=_.easing,a.styles.forEach(Be=>{he.forwardTime((Be.offset||0)*z),he.setStyles(Be.styles,Be.easing,l.errors,l.options),he.applyStylesToKeyframe()}),l.currentTimeline.mergeTimelineCollectedStyles(he),l.transformIntoNewTimeline(O+z),l.previousNode=a}visitQuery(a,l){const _=l.currentTimeline.currentTime,O=a.options||{},z=O.delay?nr(O.delay):0;z&&(6===l.previousNode.type||0==_&&l.currentTimeline.hasCurrentStyleProperties())&&(l.currentTimeline.snapshotCurrentStyles(),l.previousNode=ao);let ce=_;const he=l.invokeQuery(a.selector,a.originalSelector,a.limit,a.includeSelf,!!O.optional,l.errors);l.currentQueryTotal=he.length;let Be=null;he.forEach((Je,bt)=>{l.currentQueryIndex=bt;const Dt=l.createSubContext(a.options,Je);z&&Dt.delayNextStep(z),Je===l.element&&(Be=Dt.currentTimeline),Fr(this,a.animation,Dt),Dt.currentTimeline.applyStylesToKeyframe(),ce=Math.max(ce,Dt.currentTimeline.currentTime)}),l.currentQueryIndex=0,l.currentQueryTotal=0,l.transformIntoNewTimeline(ce),Be&&(l.currentTimeline.mergeTimelineCollectedStyles(Be),l.currentTimeline.snapshotCurrentStyles()),l.previousNode=a}visitStagger(a,l){const _=l.parentContext,O=l.currentTimeline,z=a.timings,ce=Math.abs(z.duration),he=ce*(l.currentQueryTotal-1);let Be=ce*l.currentQueryIndex;switch(z.duration<0?"reverse":z.easing){case"reverse":Be=he-Be;break;case"full":Be=_.currentStaggerTime}const bt=l.currentTimeline;Be&&bt.delayNextStep(Be);const Dt=bt.currentTime;Fr(this,a.animation,l),l.previousNode=a,_.currentStaggerTime=O.currentTime-Dt+(O.startTime-_.currentTimeline.startTime)}}const ao={};class Zi{constructor(a,l,_,O,z,ce,he,Be){this._driver=a,this.element=l,this.subInstructions=_,this._enterClassName=O,this._leaveClassName=z,this.errors=ce,this.timelines=he,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=ao,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=Be||new Yr(this._driver,l,0),he.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(a,l){if(!a)return;const _=a;let O=this.options;null!=_.duration&&(O.duration=nr(_.duration)),null!=_.delay&&(O.delay=nr(_.delay));const z=_.params;if(z){let ce=O.params;ce||(ce=this.options.params={}),Object.keys(z).forEach(he=>{(!l||!ce.hasOwnProperty(he))&&(ce[he]=Kn(z[he],ce,this.errors))})}}_copyOptions(){const a={};if(this.options){const l=this.options.params;if(l){const _=a.params={};Object.keys(l).forEach(O=>{_[O]=l[O]})}}return a}createSubContext(a=null,l,_){const O=l||this.element,z=new Zi(this._driver,O,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(O,_||0));return z.previousNode=this.previousNode,z.currentAnimateTimings=this.currentAnimateTimings,z.options=this._copyOptions(),z.updateOptions(a),z.currentQueryIndex=this.currentQueryIndex,z.currentQueryTotal=this.currentQueryTotal,z.parentContext=this,this.subContextCount++,z}transformIntoNewTimeline(a){return this.previousNode=ao,this.currentTimeline=this.currentTimeline.fork(this.element,a),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(a,l,_){const O={duration:l??a.duration,delay:this.currentTimeline.currentTime+(_??0)+a.delay,easing:""},z=new Nr(this._driver,a.element,a.keyframes,a.preStyleProps,a.postStyleProps,O,a.stretchStartingKeyframe);return this.timelines.push(z),O}incrementTime(a){this.currentTimeline.forwardTime(this.currentTimeline.duration+a)}delayNextStep(a){a>0&&this.currentTimeline.delayNextStep(a)}invokeQuery(a,l,_,O,z,ce){let he=[];if(O&&he.push(this.element),a.length>0){a=(a=a.replace(ni,"."+this._enterClassName)).replace(So,"."+this._leaveClassName);let Je=this._driver.query(this.element,a,1!=_);0!==_&&(Je=_<0?Je.slice(Je.length+_,Je.length):Je.slice(0,_)),he.push(...Je)}return!z&&0==he.length&&ce.push(function Zn(E){return new f.vHH(3014,!1)}()),he}}class Yr{constructor(a,l,_,O){this._driver=a,this.element=l,this.startTime=_,this._elementTimelineStylesLookup=O,this.duration=0,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(l),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(l,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(a){const l=1===this._keyframes.size&&this._pendingStyles.size;this.duration||l?(this.forwardTime(this.currentTime+a),l&&this.snapshotCurrentStyles()):this.startTime+=a}fork(a,l){return this.applyStylesToKeyframe(),new Yr(this._driver,a,l||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(a){this.applyStylesToKeyframe(),this.duration=a,this._loadKeyframe()}_updateStyle(a,l){this._localTimelineStyles.set(a,l),this._globalTimelineStyles.set(a,l),this._styleSummary.set(a,{time:this.currentTime,value:l})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(a){a&&this._previousKeyframe.set("easing",a);for(let[l,_]of this._globalTimelineStyles)this._backFill.set(l,_||yt.l3),this._currentKeyframe.set(l,yt.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(a,l,_,O){l&&this._previousKeyframe.set("easing",l);const z=O&&O.params||{},ce=function vi(E,a){const l=new Map;let _;return E.forEach(O=>{if("*"===O){_=_||a.keys();for(let z of _)l.set(z,yt.l3)}else fr(O,l)}),l}(a,this._globalTimelineStyles);for(let[he,Be]of ce){const Je=Kn(Be,z,_);this._pendingStyles.set(he,Je),this._localTimelineStyles.has(he)||this._backFill.set(he,this._globalTimelineStyles.get(he)??yt.l3),this._updateStyle(he,Je)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((a,l)=>{this._currentKeyframe.set(l,a)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((a,l)=>{this._currentKeyframe.has(l)||this._currentKeyframe.set(l,a)}))}snapshotCurrentStyles(){for(let[a,l]of this._localTimelineStyles)this._pendingStyles.set(a,l),this._updateStyle(a,l)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const a=[];for(let l in this._currentKeyframe)a.push(l);return a}mergeTimelineCollectedStyles(a){a._styleSummary.forEach((l,_)=>{const O=this._styleSummary.get(_);(!O||l.time>O.time)&&this._updateStyle(_,l.value)})}buildKeyframes(){this.applyStylesToKeyframe();const a=new Set,l=new Set,_=1===this._keyframes.size&&0===this.duration;let O=[];this._keyframes.forEach((he,Be)=>{const Je=fr(he,new Map,this._backFill);Je.forEach((bt,Dt)=>{bt===yt.k1?a.add(Dt):bt===yt.l3&&l.add(Dt)}),_||Je.set("offset",Be/this.duration),O.push(Je)});const z=a.size?qr(a.values()):[],ce=l.size?qr(l.values()):[];if(_){const he=O[0],Be=new Map(he);he.set("offset",0),Be.set("offset",1),O=[he,Be]}return Tr(this.element,O,z,ce,this.duration,this.startTime,this.easing,!1)}}class Nr extends Yr{constructor(a,l,_,O,z,ce,he=!1){super(a,l,ce.delay),this.keyframes=_,this.preStyleProps=O,this.postStyleProps=z,this._stretchStartingKeyframe=he,this.timings={duration:ce.duration,delay:ce.delay,easing:ce.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let a=this.keyframes,{delay:l,duration:_,easing:O}=this.timings;if(this._stretchStartingKeyframe&&l){const z=[],ce=_+l,he=l/ce,Be=fr(a[0]);Be.set("offset",0),z.push(Be);const Je=fr(a[0]);Je.set("offset",Ho(he)),z.push(Je);const bt=a.length-1;for(let Dt=1;Dt<=bt;Dt++){let sn=fr(a[Dt]);const Yt=sn.get("offset");sn.set("offset",Ho((l+Yt*_)/ce)),z.push(sn)}_=ce,l=0,O="",a=z}return Tr(this.element,a,this.preStyleProps,this.postStyleProps,_,l,O,!0)}}function Ho(E,a=3){const l=Math.pow(10,a-1);return Math.round(E*l)/l}class ci{}const bi=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 Wt extends ci{normalizePropertyName(a,l){return Gi(a)}normalizeStyleValue(a,l,_,O){let z="";const ce=_.toString().trim();if(bi.has(l)&&0!==_&&"0"!==_)if("number"==typeof _)z="px";else{const he=_.match(/^[+-]?[\d\.]+([a-z]*)$/);he&&0==he[1].length&&O.push(function Tt(E,a){return new f.vHH(3005,!1)}())}return ce+z}}function vo(E,a,l,_,O,z,ce,he,Be,Je,bt,Dt,sn){return{type:0,element:E,triggerName:a,isRemovalTransition:O,fromState:l,fromStyles:z,toState:_,toStyles:ce,timelines:he,queriedElements:Be,preStyleProps:Je,postStyleProps:bt,totalTime:Dt,errors:sn}}const qo={};class xo{constructor(a,l,_){this._triggerName=a,this.ast=l,this._stateStyles=_}match(a,l,_,O){return function jo(E,a,l,_,O){return E.some(z=>z(a,l,_,O))}(this.ast.matchers,a,l,_,O)}buildStyles(a,l,_){let O=this._stateStyles.get("*");return void 0!==a&&(O=this._stateStyles.get(a?.toString())||O),O?O.buildStyles(l,_):new Map}build(a,l,_,O,z,ce,he,Be,Je,bt){const Dt=[],sn=this.ast.options&&this.ast.options.params||qo,Ut=this.buildStyles(_,he&&he.params||qo,Dt),Zt=Be&&Be.params||qo,Fn=this.buildStyles(O,Zt,Dt),or=new Set,Ir=new Map,Sr=new Map,er="void"===O,gi={params:es(Zt,sn),delay:this.ast.options?.delay},ii=bt?[]:Kr(a,l,this.ast.animation,z,ce,Ut,Fn,gi,Je,Dt);let Zr=0;if(ii.forEach(oi=>{Zr=Math.max(oi.duration+oi.delay,Zr)}),Dt.length)return vo(l,this._triggerName,_,O,er,Ut,Fn,[],[],Ir,Sr,Zr,Dt);ii.forEach(oi=>{const ho=oi.element,ta=Sn(Ir,ho,new Set);oi.preStyleProps.forEach(Ei=>ta.add(Ei));const Un=Sn(Sr,ho,new Set);oi.postStyleProps.forEach(Ei=>Un.add(Ei)),ho!==l&&or.add(ho)});const Ni=qr(or.values());return vo(l,this._triggerName,_,O,er,Ut,Fn,ii,Ni,Ir,Sr,Zr)}}function es(E,a){const l=wr(a);for(const _ in E)E.hasOwnProperty(_)&&null!=E[_]&&(l[_]=E[_]);return l}class Os{constructor(a,l,_){this.styles=a,this.defaultParams=l,this.normalizer=_}buildStyles(a,l){const _=new Map,O=wr(this.defaultParams);return Object.keys(a).forEach(z=>{const ce=a[z];null!==ce&&(O[z]=ce)}),this.styles.styles.forEach(z=>{"string"!=typeof z&&z.forEach((ce,he)=>{ce&&(ce=Kn(ce,O,l));const Be=this.normalizer.normalizePropertyName(he,l);ce=this.normalizer.normalizeStyleValue(he,Be,ce,l),_.set(he,ce)})}),_}}class Qe{constructor(a,l,_){this.name=a,this.ast=l,this._normalizer=_,this.transitionFactories=[],this.states=new Map,l.states.forEach(O=>{this.states.set(O.name,new Os(O.style,O.options&&O.options.params||{},_))}),Qi(this.states,"true","1"),Qi(this.states,"false","0"),l.transitions.forEach(O=>{this.transitionFactories.push(new xo(a,O,this.states))}),this.fallbackTransition=function fn(E,a,l){return new xo(E,{type:1,animation:{type:2,steps:[],options:null},matchers:[(ce,he)=>!0],options:null,queryCount:0,depCount:0},a)}(a,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(a,l,_,O){return this.transitionFactories.find(ce=>ce.match(a,l,_,O))||null}matchStyles(a,l,_){return this.fallbackTransition.buildStyles(a,l,_)}}function Qi(E,a,l){E.has(a)?E.has(l)||E.set(l,E.get(a)):E.has(l)&&E.set(a,E.get(l))}const $o=new ti;class vr{constructor(a,l,_){this.bodyNode=a,this._driver=l,this._normalizer=_,this._animations=new Map,this._playersById=new Map,this.players=[]}register(a,l){const _=[],z=rn(this._driver,l,_,[]);if(_.length)throw function L(E){return new f.vHH(3503,!1)}();this._animations.set(a,z)}_buildPlayer(a,l,_){const O=a.element,z=vt(0,this._normalizer,0,a.keyframes,l,_);return this._driver.animate(O,z,a.duration,a.delay,a.easing,[],!0)}create(a,l,_={}){const O=[],z=this._animations.get(a);let ce;const he=new Map;if(z?(ce=Kr(this._driver,l,z,Or,Cr,new Map,new Map,_,$o,O),ce.forEach(bt=>{const Dt=Sn(he,bt.element,new Map);bt.postStyleProps.forEach(sn=>Dt.set(sn,null))})):(O.push(function G(){return new f.vHH(3300,!1)}()),ce=[]),O.length)throw function de(E){return new f.vHH(3504,!1)}();he.forEach((bt,Dt)=>{bt.forEach((sn,Yt)=>{bt.set(Yt,this._driver.computeStyle(Dt,Yt,yt.l3))})});const Je=Ke(ce.map(bt=>{const Dt=he.get(bt.element);return this._buildPlayer(bt,new Map,Dt)}));return this._playersById.set(a,Je),Je.onDestroy(()=>this.destroy(a)),this.players.push(Je),Je}destroy(a){const l=this._getPlayer(a);l.destroy(),this._playersById.delete(a);const _=this.players.indexOf(l);_>=0&&this.players.splice(_,1)}_getPlayer(a){const l=this._playersById.get(a);if(!l)throw function He(E){return new f.vHH(3301,!1)}();return l}listen(a,l,_,O){const z=Dr(l,"","","");return Dn(this._getPlayer(a),_,z,O),()=>{}}command(a,l,_,O){if("register"==_)return void this.register(a,O[0]);if("create"==_)return void this.create(a,l,O[0]||{});const z=this._getPlayer(a);switch(_){case"play":z.play();break;case"pause":z.pause();break;case"reset":z.reset();break;case"restart":z.restart();break;case"finish":z.finish();break;case"init":z.init();break;case"setPosition":z.setPosition(parseFloat(O[0]));break;case"destroy":this.destroy(a)}}}const bo="ng-animate-queued",jr="ng-animate-disabled",vs=[],Xi={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Mr={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},zn="__ng_removed";class Di{get params(){return this.options.params}constructor(a,l=""){this.namespaceId=l;const _=a&&a.hasOwnProperty("value");if(this.value=function lo(E){return E??null}(_?a.value:a),_){const z=wr(a);delete z.value,this.options=z}else this.options={};this.options.params||(this.options.params={})}absorbOptions(a){const l=a.params;if(l){const _=this.options.params;Object.keys(l).forEach(O=>{null==_[O]&&(_[O]=l[O])})}}}const $r="void",Vr=new Di($r);class ts{constructor(a,l,_){this.id=a,this.hostElement=l,this._engine=_,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+a,sr(l,this._hostClassName)}listen(a,l,_,O){if(!this._triggers.has(l))throw function Ee(E,a){return new f.vHH(3302,!1)}();if(null==_||0==_.length)throw function ot(E){return new f.vHH(3303,!1)}();if(!function Go(E){return"start"==E||"done"==E}(_))throw function Nt(E,a){return new f.vHH(3400,!1)}();const z=Sn(this._elementListeners,a,[]),ce={name:l,phase:_,callback:O};z.push(ce);const he=Sn(this._engine.statesByElement,a,new Map);return he.has(l)||(sr(a,nn),sr(a,nn+"-"+l),he.set(l,Vr)),()=>{this._engine.afterFlush(()=>{const Be=z.indexOf(ce);Be>=0&&z.splice(Be,1),this._triggers.has(l)||he.delete(l)})}}register(a,l){return!this._triggers.has(a)&&(this._triggers.set(a,l),!0)}_getTrigger(a){const l=this._triggers.get(a);if(!l)throw function Bt(E){return new f.vHH(3401,!1)}();return l}trigger(a,l,_,O=!0){const z=this._getTrigger(l),ce=new Ro(this.id,l,a);let he=this._engine.statesByElement.get(a);he||(sr(a,nn),sr(a,nn+"-"+l),this._engine.statesByElement.set(a,he=new Map));let Be=he.get(l);const Je=new Di(_,this.id);if(!(_&&_.hasOwnProperty("value"))&&Be&&Je.absorbOptions(Be.options),he.set(l,Je),Be||(Be=Vr),Je.value!==$r&&Be.value===Je.value){if(!function bs(E,a){const l=Object.keys(E),_=Object.keys(a);if(l.length!=_.length)return!1;for(let O=0;O<l.length;O++){const z=l[O];if(!a.hasOwnProperty(z)||E[z]!==a[z])return!1}return!0}(Be.params,Je.params)){const Zt=[],Fn=z.matchStyles(Be.value,Be.params,Zt),or=z.matchStyles(Je.value,Je.params,Zt);Zt.length?this._engine.reportError(Zt):this._engine.afterFlush(()=>{Wr(a,Fn),Pr(a,or)})}return}const sn=Sn(this._engine.playersByElement,a,[]);sn.forEach(Zt=>{Zt.namespaceId==this.id&&Zt.triggerName==l&&Zt.queued&&Zt.destroy()});let Yt=z.matchTransition(Be.value,Je.value,a,Je.params),Ut=!1;if(!Yt){if(!O)return;Yt=z.fallbackTransition,Ut=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:a,triggerName:l,transition:Yt,fromState:Be,toState:Je,player:ce,isFallbackTransition:Ut}),Ut||(sr(a,bo),ce.onStart(()=>{Ji(a,bo)})),ce.onDone(()=>{let Zt=this.players.indexOf(ce);Zt>=0&&this.players.splice(Zt,1);const Fn=this._engine.playersByElement.get(a);if(Fn){let or=Fn.indexOf(ce);or>=0&&Fn.splice(or,1)}}),this.players.push(ce),sn.push(ce),ce}deregister(a){this._triggers.delete(a),this._engine.statesByElement.forEach(l=>l.delete(a)),this._elementListeners.forEach((l,_)=>{this._elementListeners.set(_,l.filter(O=>O.name!=a))})}clearElementCache(a){this._engine.statesByElement.delete(a),this._elementListeners.delete(a);const l=this._engine.playersByElement.get(a);l&&(l.forEach(_=>_.destroy()),this._engine.playersByElement.delete(a))}_signalRemovalForInnerTriggers(a,l){const _=this._engine.driver.query(a,Ti,!0);_.forEach(O=>{if(O[zn])return;const z=this._engine.fetchNamespacesByElement(O);z.size?z.forEach(ce=>ce.triggerLeaveAnimation(O,l,!1,!0)):this.clearElementCache(O)}),this._engine.afterFlushAnimationsDone(()=>_.forEach(O=>this.clearElementCache(O)))}triggerLeaveAnimation(a,l,_,O){const z=this._engine.statesByElement.get(a),ce=new Map;if(z){const he=[];if(z.forEach((Be,Je)=>{if(ce.set(Je,Be.value),this._triggers.has(Je)){const bt=this.trigger(a,Je,$r,O);bt&&he.push(bt)}}),he.length)return this._engine.markElementAsRemoved(this.id,a,!0,l,ce),_&&Ke(he).onDone(()=>this._engine.processLeaveNode(a)),!0}return!1}prepareLeaveAnimationListeners(a){const l=this._elementListeners.get(a),_=this._engine.statesByElement.get(a);if(l&&_){const O=new Set;l.forEach(z=>{const ce=z.name;if(O.has(ce))return;O.add(ce);const Be=this._triggers.get(ce).fallbackTransition,Je=_.get(ce)||Vr,bt=new Di($r),Dt=new Ro(this.id,ce,a);this._engine.totalQueuedPlayers++,this._queue.push({element:a,triggerName:ce,transition:Be,fromState:Je,toState:bt,player:Dt,isFallbackTransition:!0})})}}removeNode(a,l){const _=this._engine;if(a.childElementCount&&this._signalRemovalForInnerTriggers(a,l),this.triggerLeaveAnimation(a,l,!0))return;let O=!1;if(_.totalAnimations){const z=_.players.length?_.playersByQueriedElement.get(a):[];if(z&&z.length)O=!0;else{let ce=a;for(;ce=ce.parentNode;)if(_.statesByElement.get(ce)){O=!0;break}}}if(this.prepareLeaveAnimationListeners(a),O)_.markElementAsRemoved(this.id,a,!1,l);else{const z=a[zn];(!z||z===Xi)&&(_.afterFlush(()=>this.clearElementCache(a)),_.destroyInnerAnimations(a),_._onRemovalComplete(a,l))}}insertNode(a,l){sr(a,this._hostClassName)}drainQueuedTransitions(a){const l=[];return this._queue.forEach(_=>{const O=_.player;if(O.destroyed)return;const z=_.element,ce=this._elementListeners.get(z);ce&&ce.forEach(he=>{if(he.name==_.triggerName){const Be=Dr(z,_.triggerName,_.fromState.value,_.toState.value);Be._data=a,Dn(_.player,he.phase,Be,he.callback)}}),O.markedForDestroy?this._engine.afterFlush(()=>{O.destroy()}):l.push(_)}),this._queue=[],l.sort((_,O)=>{const z=_.transition.ast.depCount,ce=O.transition.ast.depCount;return 0==z||0==ce?z-ce:this._engine.driver.containsElement(_.element,O.element)?1:-1})}destroy(a){this.players.forEach(l=>l.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,a)}elementContainsData(a){let l=!1;return this._elementListeners.has(a)&&(l=!0),l=!!this._queue.find(_=>_.element===a)||l,l}}class Do{_onRemovalComplete(a,l){this.onRemovalComplete(a,l)}constructor(a,l,_){this.bodyNode=a,this.driver=l,this._normalizer=_,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(O,z)=>{}}get queuedPlayers(){const a=[];return this._namespaceList.forEach(l=>{l.players.forEach(_=>{_.queued&&a.push(_)})}),a}createNamespace(a,l){const _=new ts(a,l,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,l)?this._balanceNamespaceList(_,l):(this.newHostElements.set(l,_),this.collectEnterElement(l)),this._namespaceLookup[a]=_}_balanceNamespaceList(a,l){const _=this._namespaceList,O=this.namespacesByHostElement;if(_.length-1>=0){let ce=!1,he=this.driver.getParentElement(l);for(;he;){const Be=O.get(he);if(Be){const Je=_.indexOf(Be);_.splice(Je+1,0,a),ce=!0;break}he=this.driver.getParentElement(he)}ce||_.unshift(a)}else _.push(a);return O.set(l,a),a}register(a,l){let _=this._namespaceLookup[a];return _||(_=this.createNamespace(a,l)),_}registerTrigger(a,l,_){let O=this._namespaceLookup[a];O&&O.register(l,_)&&this.totalAnimations++}destroy(a,l){if(!a)return;const _=this._fetchNamespace(a);this.afterFlush(()=>{this.namespacesByHostElement.delete(_.hostElement),delete this._namespaceLookup[a];const O=this._namespaceList.indexOf(_);O>=0&&this._namespaceList.splice(O,1)}),this.afterFlushAnimationsDone(()=>_.destroy(l))}_fetchNamespace(a){return this._namespaceLookup[a]}fetchNamespacesByElement(a){const l=new Set,_=this.statesByElement.get(a);if(_)for(let O of _.values())if(O.namespaceId){const z=this._fetchNamespace(O.namespaceId);z&&l.add(z)}return l}trigger(a,l,_,O){if(Pi(l)){const z=this._fetchNamespace(a);if(z)return z.trigger(l,_,O),!0}return!1}insertNode(a,l,_,O){if(!Pi(l))return;const z=l[zn];if(z&&z.setForRemoval){z.setForRemoval=!1,z.setForMove=!0;const ce=this.collectedLeaveElements.indexOf(l);ce>=0&&this.collectedLeaveElements.splice(ce,1)}if(a){const ce=this._fetchNamespace(a);ce&&ce.insertNode(l,_)}O&&this.collectEnterElement(l)}collectEnterElement(a){this.collectedEnterElements.push(a)}markElementAsDisabled(a,l){l?this.disabledNodes.has(a)||(this.disabledNodes.add(a),sr(a,jr)):this.disabledNodes.has(a)&&(this.disabledNodes.delete(a),Ji(a,jr))}removeNode(a,l,_,O){if(Pi(l)){const z=a?this._fetchNamespace(a):null;if(z?z.removeNode(l,O):this.markElementAsRemoved(a,l,!1,O),_){const ce=this.namespacesByHostElement.get(l);ce&&ce.id!==a&&ce.removeNode(l,O)}}else this._onRemovalComplete(l,O)}markElementAsRemoved(a,l,_,O,z){this.collectedLeaveElements.push(l),l[zn]={namespaceId:a,setForRemoval:O,hasAnimation:_,removedBeforeQueried:!1,previousTriggersValues:z}}listen(a,l,_,O,z){return Pi(l)?this._fetchNamespace(a).listen(l,_,O,z):()=>{}}_buildInstruction(a,l,_,O,z){return a.transition.build(this.driver,a.element,a.fromState.value,a.toState.value,_,O,a.fromState.options,a.toState.options,l,z)}destroyInnerAnimations(a){let l=this.driver.query(a,Ti,!0);l.forEach(_=>this.destroyActiveAnimationsForElement(_)),0!=this.playersByQueriedElement.size&&(l=this.driver.query(a,$i,!0),l.forEach(_=>this.finishActiveQueriedAnimationOnElement(_)))}destroyActiveAnimationsForElement(a){const l=this.playersByElement.get(a);l&&l.forEach(_=>{_.queued?_.markedForDestroy=!0:_.destroy()})}finishActiveQueriedAnimationOnElement(a){const l=this.playersByQueriedElement.get(a);l&&l.forEach(_=>_.finish())}whenRenderingDone(){return new Promise(a=>{if(this.players.length)return Ke(this.players).onDone(()=>a());a()})}processLeaveNode(a){const l=a[zn];if(l&&l.setForRemoval){if(a[zn]=Xi,l.namespaceId){this.destroyInnerAnimations(a);const _=this._fetchNamespace(l.namespaceId);_&&_.clearElementCache(a)}this._onRemovalComplete(a,l.setForRemoval)}a.classList?.contains(jr)&&this.markElementAsDisabled(a,!1),this.driver.query(a,".ng-animate-disabled",!0).forEach(_=>{this.markElementAsDisabled(_,!1)})}flush(a=-1){let l=[];if(this.newHostElements.size&&(this.newHostElements.forEach((_,O)=>this._balanceNamespaceList(_,O)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let _=0;_<this.collectedEnterElements.length;_++)sr(this.collectedEnterElements[_],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const _=[];try{l=this._flushAnimations(_,a)}finally{for(let O=0;O<_.length;O++)_[O]()}}else for(let _=0;_<this.collectedLeaveElements.length;_++)this.processLeaveNode(this.collectedLeaveElements[_]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(_=>_()),this._flushFns=[],this._whenQuietFns.length){const _=this._whenQuietFns;this._whenQuietFns=[],l.length?Ke(l).onDone(()=>{_.forEach(O=>O())}):_.forEach(O=>O())}}reportError(a){throw function ye(E){return new f.vHH(3402,!1)}()}_flushAnimations(a,l){const _=new ti,O=[],z=new Map,ce=[],he=new Map,Be=new Map,Je=new Map,bt=new Set;this.disabledNodes.forEach(Rt=>{bt.add(Rt);const jt=this.driver.query(Rt,".ng-animate-queued",!0);for(let Qt=0;Qt<jt.length;Qt++)bt.add(jt[Qt])});const Dt=this.bodyNode,sn=Array.from(this.statesByElement.keys()),Yt=co(sn,this.collectedEnterElements),Ut=new Map;let Zt=0;Yt.forEach((Rt,jt)=>{const Qt=Or+Zt++;Ut.set(jt,Qt),Rt.forEach(Pn=>sr(Pn,Qt))});const Fn=[],or=new Set,Ir=new Set;for(let Rt=0;Rt<this.collectedLeaveElements.length;Rt++){const jt=this.collectedLeaveElements[Rt],Qt=jt[zn];Qt&&Qt.setForRemoval&&(Fn.push(jt),or.add(jt),Qt.hasAnimation?this.driver.query(jt,".ng-star-inserted",!0).forEach(Pn=>or.add(Pn)):Ir.add(jt))}const Sr=new Map,er=co(sn,Array.from(or));er.forEach((Rt,jt)=>{const Qt=Cr+Zt++;Sr.set(jt,Qt),Rt.forEach(Pn=>sr(Pn,Qt))}),a.push(()=>{Yt.forEach((Rt,jt)=>{const Qt=Ut.get(jt);Rt.forEach(Pn=>Ji(Pn,Qt))}),er.forEach((Rt,jt)=>{const Qt=Sr.get(jt);Rt.forEach(Pn=>Ji(Pn,Qt))}),Fn.forEach(Rt=>{this.processLeaveNode(Rt)})});const gi=[],ii=[];for(let Rt=this._namespaceList.length-1;Rt>=0;Rt--)this._namespaceList[Rt].drainQueuedTransitions(l).forEach(Qt=>{const Pn=Qt.player,pr=Qt.element;if(gi.push(Pn),this.collectedEnterElements.length){const d=pr[zn];if(d&&d.setForMove){if(d.previousTriggersValues&&d.previousTriggersValues.has(Qt.triggerName)){const h=d.previousTriggersValues.get(Qt.triggerName),c=this.statesByElement.get(Qt.element);if(c&&c.has(Qt.triggerName)){const m=c.get(Qt.triggerName);m.value=h,c.set(Qt.triggerName,m)}}return void Pn.destroy()}}const no=!Dt||!this.driver.containsElement(Dt,pr),mi=Sr.get(pr),Xn=Ut.get(pr),Jn=this._buildInstruction(Qt,_,Xn,mi,no);if(Jn.errors&&Jn.errors.length)return void ii.push(Jn);if(no)return Pn.onStart(()=>Wr(pr,Jn.fromStyles)),Pn.onDestroy(()=>Pr(pr,Jn.toStyles)),void O.push(Pn);if(Qt.isFallbackTransition)return Pn.onStart(()=>Wr(pr,Jn.fromStyles)),Pn.onDestroy(()=>Pr(pr,Jn.toStyles)),void O.push(Pn);const No=[];Jn.timelines.forEach(d=>{d.stretchStartingKeyframe=!0,this.disabledNodes.has(d.element)||No.push(d)}),Jn.timelines=No,_.append(pr,Jn.timelines),ce.push({instruction:Jn,player:Pn,element:pr}),Jn.queriedElements.forEach(d=>Sn(he,d,[]).push(Pn)),Jn.preStyleProps.forEach((d,h)=>{if(d.size){let c=Be.get(h);c||Be.set(h,c=new Set),d.forEach((m,w)=>c.add(w))}}),Jn.postStyleProps.forEach((d,h)=>{let c=Je.get(h);c||Je.set(h,c=new Set),d.forEach((m,w)=>c.add(w))})});if(ii.length){const Rt=[];ii.forEach(jt=>{Rt.push(function C(E,a){return new f.vHH(3505,!1)}())}),gi.forEach(jt=>jt.destroy()),this.reportError(Rt)}const Zr=new Map,Ni=new Map;ce.forEach(Rt=>{const jt=Rt.element;_.has(jt)&&(Ni.set(jt,jt),this._beforeAnimationBuild(Rt.player.namespaceId,Rt.instruction,Zr))}),O.forEach(Rt=>{const jt=Rt.element;this._getPreviousPlayers(jt,!1,Rt.namespaceId,Rt.triggerName,null).forEach(Pn=>{Sn(Zr,jt,[]).push(Pn),Pn.destroy()})});const oi=Fn.filter(Rt=>Ds(Rt,Be,Je)),ho=new Map;Fi(ho,this.driver,Ir,Je,yt.l3).forEach(Rt=>{Ds(Rt,Be,Je)&&oi.push(Rt)});const Un=new Map;Yt.forEach((Rt,jt)=>{Fi(Un,this.driver,new Set(Rt),Be,yt.k1)}),oi.forEach(Rt=>{const jt=ho.get(Rt),Qt=Un.get(Rt);ho.set(Rt,new Map([...Array.from(jt?.entries()??[]),...Array.from(Qt?.entries()??[])]))});const Ei=[],na=[],Ls={};ce.forEach(Rt=>{const{element:jt,player:Qt,instruction:Pn}=Rt;if(_.has(jt)){if(bt.has(jt))return Qt.onDestroy(()=>Pr(jt,Pn.toStyles)),Qt.disabled=!0,Qt.overrideTotalTime(Pn.totalTime),void O.push(Qt);let pr=Ls;if(Ni.size>1){let mi=jt;const Xn=[];for(;mi=mi.parentNode;){const Jn=Ni.get(mi);if(Jn){pr=Jn;break}Xn.push(mi)}Xn.forEach(Jn=>Ni.set(Jn,pr))}const no=this._buildAnimation(Qt.namespaceId,Pn,Zr,z,Un,ho);if(Qt.setRealPlayer(no),pr===Ls)Ei.push(Qt);else{const mi=this.playersByElement.get(pr);mi&&mi.length&&(Qt.parentPlayer=Ke(mi)),O.push(Qt)}}else Wr(jt,Pn.fromStyles),Qt.onDestroy(()=>Pr(jt,Pn.toStyles)),na.push(Qt),bt.has(jt)&&O.push(Qt)}),na.forEach(Rt=>{const jt=z.get(Rt.element);if(jt&&jt.length){const Qt=Ke(jt);Rt.setRealPlayer(Qt)}}),O.forEach(Rt=>{Rt.parentPlayer?Rt.syncPlayerEvents(Rt.parentPlayer):Rt.destroy()});for(let Rt=0;Rt<Fn.length;Rt++){const jt=Fn[Rt],Qt=jt[zn];if(Ji(jt,Cr),Qt&&Qt.hasAnimation)continue;let Pn=[];if(he.size){let no=he.get(jt);no&&no.length&&Pn.push(...no);let mi=this.driver.query(jt,$i,!0);for(let Xn=0;Xn<mi.length;Xn++){let Jn=he.get(mi[Xn]);Jn&&Jn.length&&Pn.push(...Jn)}}const pr=Pn.filter(no=>!no.destroyed);pr.length?Ps(this,jt,pr):this.processLeaveNode(jt)}return Fn.length=0,Ei.forEach(Rt=>{this.players.push(Rt),Rt.onDone(()=>{Rt.destroy();const jt=this.players.indexOf(Rt);this.players.splice(jt,1)}),Rt.play()}),Ei}elementContainsData(a,l){let _=!1;const O=l[zn];return O&&O.setForRemoval&&(_=!0),this.playersByElement.has(l)&&(_=!0),this.playersByQueriedElement.has(l)&&(_=!0),this.statesByElement.has(l)&&(_=!0),this._fetchNamespace(a).elementContainsData(l)||_}afterFlush(a){this._flushFns.push(a)}afterFlushAnimationsDone(a){this._whenQuietFns.push(a)}_getPreviousPlayers(a,l,_,O,z){let ce=[];if(l){const he=this.playersByQueriedElement.get(a);he&&(ce=he)}else{const he=this.playersByElement.get(a);if(he){const Be=!z||z==$r;he.forEach(Je=>{Je.queued||!Be&&Je.triggerName!=O||ce.push(Je)})}}return(_||O)&&(ce=ce.filter(he=>!(_&&_!=he.namespaceId||O&&O!=he.triggerName))),ce}_beforeAnimationBuild(a,l,_){const z=l.element,ce=l.isRemovalTransition?void 0:a,he=l.isRemovalTransition?void 0:l.triggerName;for(const Be of l.timelines){const Je=Be.element,bt=Je!==z,Dt=Sn(_,Je,[]);this._getPreviousPlayers(Je,bt,ce,he,l.toState).forEach(Yt=>{const Ut=Yt.getRealPlayer();Ut.beforeDestroy&&Ut.beforeDestroy(),Yt.destroy(),Dt.push(Yt)})}Wr(z,l.fromStyles)}_buildAnimation(a,l,_,O,z,ce){const he=l.triggerName,Be=l.element,Je=[],bt=new Set,Dt=new Set,sn=l.timelines.map(Ut=>{const Zt=Ut.element;bt.add(Zt);const Fn=Zt[zn];if(Fn&&Fn.removedBeforeQueried)return new yt.ZN(Ut.duration,Ut.delay);const or=Zt!==Be,Ir=function Rs(E){const a=[];return Fo(E,a),a}((_.get(Zt)||vs).map(Zr=>Zr.getRealPlayer())).filter(Zr=>!!Zr.element&&Zr.element===Zt),Sr=z.get(Zt),er=ce.get(Zt),gi=vt(0,this._normalizer,0,Ut.keyframes,Sr,er),ii=this._buildPlayer(Ut,gi,Ir);if(Ut.subTimeline&&O&&Dt.add(Zt),or){const Zr=new Ro(a,he,Zt);Zr.setRealPlayer(ii),Je.push(Zr)}return ii});Je.forEach(Ut=>{Sn(this.playersByQueriedElement,Ut.element,[]).push(Ut),Ut.onDone(()=>function ns(E,a,l){let _=E.get(a);if(_){if(_.length){const O=_.indexOf(l);_.splice(O,1)}0==_.length&&E.delete(a)}return _}(this.playersByQueriedElement,Ut.element,Ut))}),bt.forEach(Ut=>sr(Ut,Mi));const Yt=Ke(sn);return Yt.onDestroy(()=>{bt.forEach(Ut=>Ji(Ut,Mi)),Pr(Be,l.toStyles)}),Dt.forEach(Ut=>{Sn(O,Ut,[]).push(Yt)}),Yt}_buildPlayer(a,l,_){return l.length>0?this.driver.animate(a.element,l,a.duration,a.delay,a.easing,_):new yt.ZN(a.duration,a.delay)}}class Ro{constructor(a,l,_){this.namespaceId=a,this.triggerName=l,this.element=_,this._player=new yt.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(a){this._containsRealPlayer||(this._player=a,this._queuedCallbacks.forEach((l,_)=>{l.forEach(O=>Dn(a,_,void 0,O))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(a.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(a){this.totalTime=a}syncPlayerEvents(a){const l=this._player;l.triggerCallback&&a.onStart(()=>l.triggerCallback("start")),a.onDone(()=>this.finish()),a.onDestroy(()=>this.destroy())}_queueEvent(a,l){Sn(this._queuedCallbacks,a,[]).push(l)}onDone(a){this.queued&&this._queueEvent("done",a),this._player.onDone(a)}onStart(a){this.queued&&this._queueEvent("start",a),this._player.onStart(a)}onDestroy(a){this.queued&&this._queueEvent("destroy",a),this._player.onDestroy(a)}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(a){this.queued||this._player.setPosition(a)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(a){const l=this._player;l.triggerCallback&&l.triggerCallback(a)}}function Pi(E){return E&&1===E.nodeType}function Ri(E,a){const l=E.style.display;return E.style.display=a??"none",l}function Fi(E,a,l,_,O){const z=[];l.forEach(Be=>z.push(Ri(Be)));const ce=[];_.forEach((Be,Je)=>{const bt=new Map;Be.forEach(Dt=>{const sn=a.computeStyle(Je,Dt,O);bt.set(Dt,sn),(!sn||0==sn.length)&&(Je[zn]=Mr,ce.push(Je))}),E.set(Je,bt)});let he=0;return l.forEach(Be=>Ri(Be,z[he++])),ce}function co(E,a){const l=new Map;if(E.forEach(he=>l.set(he,[])),0==a.length)return l;const O=new Set(a),z=new Map;function ce(he){if(!he)return 1;let Be=z.get(he);if(Be)return Be;const Je=he.parentNode;return Be=l.has(Je)?Je:O.has(Je)?1:ce(Je),z.set(he,Be),Be}return a.forEach(he=>{const Be=ce(he);1!==Be&&l.get(Be).push(he)}),l}function sr(E,a){E.classList?.add(a)}function Ji(E,a){E.classList?.remove(a)}function Ps(E,a,l){Ke(l).onDone(()=>E.processLeaveNode(a))}function Fo(E,a){for(let l=0;l<E.length;l++){const _=E[l];_ instanceof yt.ZE?Fo(_.players,a):a.push(_)}}function Ds(E,a,l){const _=l.get(E);if(!_)return!1;let O=a.get(E);return O?_.forEach(z=>O.add(z)):a.set(E,_),l.delete(E),!0}class qi{constructor(a,l,_){this.bodyNode=a,this._driver=l,this._normalizer=_,this._triggerCache={},this.onRemovalComplete=(O,z)=>{},this._transitionEngine=new Do(a,l,_),this._timelineEngine=new vr(a,l,_),this._transitionEngine.onRemovalComplete=(O,z)=>this.onRemovalComplete(O,z)}registerTrigger(a,l,_,O,z){const ce=a+"-"+O;let he=this._triggerCache[ce];if(!he){const Be=[],bt=rn(this._driver,z,Be,[]);if(Be.length)throw function R(E,a){return new f.vHH(3404,!1)}();he=function ys(E,a,l){return new Qe(E,a,l)}(O,bt,this._normalizer),this._triggerCache[ce]=he}this._transitionEngine.registerTrigger(l,O,he)}register(a,l){this._transitionEngine.register(a,l)}destroy(a,l){this._transitionEngine.destroy(a,l)}onInsert(a,l,_,O){this._transitionEngine.insertNode(a,l,_,O)}onRemove(a,l,_,O){this._transitionEngine.removeNode(a,l,O||!1,_)}disableAnimations(a,l){this._transitionEngine.markElementAsDisabled(a,l)}process(a,l,_,O){if("@"==_.charAt(0)){const[z,ce]=Jr(_);this._timelineEngine.command(z,l,ce,O)}else this._transitionEngine.trigger(a,l,_,O)}listen(a,l,_,O,z){if("@"==_.charAt(0)){const[ce,he]=Jr(_);return this._timelineEngine.listen(ce,l,he,z)}return this._transitionEngine.listen(a,l,_,O,z)}flush(a=-1){this._transitionEngine.flush(a)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let eo=(()=>{class E{constructor(l,_,O){this._element=l,this._startStyles=_,this._endStyles=O,this._state=0;let z=E.initialStylesByElement.get(l);z||E.initialStylesByElement.set(l,z=new Map),this._initialStyles=z}start(){this._state<1&&(this._startStyles&&Pr(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Pr(this._element,this._initialStyles),this._endStyles&&(Pr(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(E.initialStylesByElement.delete(this._element),this._startStyles&&(Wr(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Wr(this._element,this._endStyles),this._endStyles=null),Pr(this._element,this._initialStyles),this._state=3)}}return E.initialStylesByElement=new WeakMap,E})();function Qn(E){let a=null;return E.forEach((l,_)=>{(function Es(E){return"display"===E||"position"===E})(_)&&(a=a||new Map,a.set(_,l))}),a}class rs{constructor(a,l,_,O){this.element=a,this.keyframes=l,this.options=_,this._specialStyles=O,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=_.duration,this._delay=_.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(a=>a()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const a=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,a,this.options),this._finalKeyframe=a.length?a[a.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(a){const l=[];return a.forEach(_=>{l.push(Object.fromEntries(_))}),l}_triggerWebAnimation(a,l,_){return a.animate(this._convertKeyframesToObject(l),_)}onStart(a){this._originalOnStartFns.push(a),this._onStartFns.push(a)}onDone(a){this._originalOnDoneFns.push(a),this._onDoneFns.push(a)}onDestroy(a){this._onDestroyFns.push(a)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(a=>a()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(a=>a()),this._onDestroyFns=[])}setPosition(a){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=a*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const a=new Map;this.hasStarted()&&this._finalKeyframe.forEach((_,O)=>{"offset"!==O&&a.set(O,this._finished?_:Ai(this.element,O))}),this.currentSnapshot=a}triggerCallback(a){const l="start"===a?this._onStartFns:this._onDoneFns;l.forEach(_=>_()),l.length=0}}class br{validateStyleProperty(a){return!0}validateAnimatableStyleProperty(a){return!0}matchesElement(a,l){return!1}containsElement(a,l){return gt(a,l)}getParentElement(a){return Ur(a)}query(a,l,_){return Vt(a,l,_)}computeStyle(a,l,_){return window.getComputedStyle(a)[l]}animate(a,l,_,O,z,ce=[]){const Be={duration:_,delay:O,fill:0==O?"both":"forwards"};z&&(Be.easing=z);const Je=new Map,bt=ce.filter(Yt=>Yt instanceof rs);(function Si(E,a){return 0===E||0===a})(_,O)&&bt.forEach(Yt=>{Yt.currentSnapshot.forEach((Ut,Zt)=>Je.set(Zt,Ut))});let Dt=function Vi(E){return E.length?E[0]instanceof Map?E:E.map(a=>hi(a)):[]}(l).map(Yt=>fr(Yt));Dt=function mo(E,a,l){if(l.size&&a.length){let _=a[0],O=[];if(l.forEach((z,ce)=>{_.has(ce)||O.push(ce),_.set(ce,z)}),O.length)for(let z=1;z<a.length;z++){let ce=a[z];O.forEach(he=>ce.set(he,Ai(E,he)))}}return a}(a,Dt,Je);const sn=function Lr(E,a){let l=null,_=null;return Array.isArray(a)&&a.length?(l=Qn(a[0]),a.length>1&&(_=Qn(a[a.length-1]))):a instanceof Map&&(l=Qn(a)),l||_?new eo(E,l,_):null}(a,Dt);return new rs(a,Dt,Be,sn)}}let Cs=(()=>{class E extends yt._j{constructor(l,_){super(),this._nextAnimationId=0,this._renderer=l.createRenderer(_.body,{id:"0",encapsulation:f.ifc.None,styles:[],data:{animation:[]}})}build(l){const _=this._nextAnimationId.toString();this._nextAnimationId++;const O=Array.isArray(l)?(0,yt.vP)(l):l;return Eo(this._renderer,null,_,"register",[O]),new ws(_,this._renderer)}}return E.\u0275fac=function(l){return new(l||E)(f.LFG(f.FYo),f.LFG(Pe.K0))},E.\u0275prov=f.Yz7({token:E,factory:E.\u0275fac}),E})();class ws extends yt.LC{constructor(a,l){super(),this._id=a,this._renderer=l}create(a,l){return new Fs(this._id,a,l||{},this._renderer)}}class Fs{constructor(a,l,_,O){this.id=a,this.element=l,this._renderer=O,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",_)}_listen(a,l){return this._renderer.listen(this.element,`@@${this.id}:${a}`,l)}_command(a,...l){return Eo(this._renderer,this.element,this.id,a,l)}onDone(a){this._listen("done",a)}onStart(a){this._listen("start",a)}onDestroy(a){this._listen("destroy",a)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(a){this._command("setPosition",a)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function Eo(E,a,l,_,O){return E.setProperty(a,`@@${l}:${_}`,O)}const g="@",A="@.disabled";let y=(()=>{class E{constructor(l,_,O){this.delegate=l,this.engine=_,this._zone=O,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),_.onRemovalComplete=(z,ce)=>{const he=ce?.parentNode(z);he&&ce.removeChild(he,z)}}createRenderer(l,_){const z=this.delegate.createRenderer(l,_);if(!(l&&_&&_.data&&_.data.animation)){let bt=this._rendererCache.get(z);return bt||(bt=new P("",z,this.engine,()=>this._rendererCache.delete(z)),this._rendererCache.set(z,bt)),bt}const ce=_.id,he=_.id+"-"+this._currentId;this._currentId++,this.engine.register(he,l);const Be=bt=>{Array.isArray(bt)?bt.forEach(Be):this.engine.registerTrigger(ce,he,l,bt.name,bt)};return _.data.animation.forEach(Be),new te(this,he,z,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(l,_,O){l>=0&&l<this._microtaskId?this._zone.run(()=>_(O)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(z=>{const[ce,he]=z;ce(he)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([_,O]))}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()}}return E.\u0275fac=function(l){return new(l||E)(f.LFG(f.FYo),f.LFG(qi),f.LFG(f.R0b))},E.\u0275prov=f.Yz7({token:E,factory:E.\u0275fac}),E})();class P{constructor(a,l,_,O){this.namespaceId=a,this.delegate=l,this.engine=_,this._onDestroy=O,this.destroyNode=this.delegate.destroyNode?z=>l.destroyNode(z):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),this._onDestroy?.()}createElement(a,l){return this.delegate.createElement(a,l)}createComment(a){return this.delegate.createComment(a)}createText(a){return this.delegate.createText(a)}appendChild(a,l){this.delegate.appendChild(a,l),this.engine.onInsert(this.namespaceId,l,a,!1)}insertBefore(a,l,_,O=!0){this.delegate.insertBefore(a,l,_),this.engine.onInsert(this.namespaceId,l,a,O)}removeChild(a,l,_){this.engine.onRemove(this.namespaceId,l,this.delegate,_)}selectRootElement(a,l){return this.delegate.selectRootElement(a,l)}parentNode(a){return this.delegate.parentNode(a)}nextSibling(a){return this.delegate.nextSibling(a)}setAttribute(a,l,_,O){this.delegate.setAttribute(a,l,_,O)}removeAttribute(a,l,_){this.delegate.removeAttribute(a,l,_)}addClass(a,l){this.delegate.addClass(a,l)}removeClass(a,l){this.delegate.removeClass(a,l)}setStyle(a,l,_,O){this.delegate.setStyle(a,l,_,O)}removeStyle(a,l,_){this.delegate.removeStyle(a,l,_)}setProperty(a,l,_){l.charAt(0)==g&&l==A?this.disableAnimations(a,!!_):this.delegate.setProperty(a,l,_)}setValue(a,l){this.delegate.setValue(a,l)}listen(a,l,_){return this.delegate.listen(a,l,_)}disableAnimations(a,l){this.engine.disableAnimations(a,l)}}class te extends P{constructor(a,l,_,O,z){super(l,_,O,z),this.factory=a,this.namespaceId=l}setProperty(a,l,_){l.charAt(0)==g?"."==l.charAt(1)&&l==A?this.disableAnimations(a,_=void 0===_||!!_):this.engine.process(this.namespaceId,a,l.slice(1),_):this.delegate.setProperty(a,l,_)}listen(a,l,_){if(l.charAt(0)==g){const O=function je(E){switch(E){case"body":return document.body;case"document":return document;case"window":return window;default:return E}}(a);let z=l.slice(1),ce="";return z.charAt(0)!=g&&([z,ce]=function Ge(E){const a=E.indexOf(".");return[E.substring(0,a),E.slice(a+1)]}(z)),this.engine.listen(this.namespaceId,O,z,ce,he=>{this.factory.scheduleListenerCallback(he._data||-1,_,he)})}return this.delegate.listen(a,l,_)}}const On=[{provide:yt._j,useClass:Cs},{provide:ci,useFactory:function Rn(){return new Wt}},{provide:qi,useClass:(()=>{class E extends qi{constructor(l,_,O,z){super(l.body,_,O)}ngOnDestroy(){this.flush()}}return E.\u0275fac=function(l){return new(l||E)(f.LFG(Pe.K0),f.LFG(Er),f.LFG(ci),f.LFG(f.z2F))},E.\u0275prov=f.Yz7({token:E,factory:E.\u0275fac}),E})()},{provide:f.FYo,useFactory:function Cn(E,a,l){return new y(E,a,l)},deps:[s.se,qi,f.R0b]}],un=[{provide:Er,useFactory:()=>new br},{provide:f.QbO,useValue:"BrowserAnimations"},...On],ar=[{provide:Er,useClass:ur},{provide:f.QbO,useValue:"NoopAnimations"},...On];let Gn=(()=>{class E{static withConfig(l){return{ngModule:E,providers:l.disableAnimations?ar:un}}}return E.\u0275fac=function(l){return new(l||E)},E.\u0275mod=f.oAB({type:E}),E.\u0275inj=f.cJS({providers:un,imports:[s.b2]}),E})();class Br{constructor(a){this._router=a}intercept(a,l){let _=JSON.parse(window.localStorage.getItem("user")),O=new Date;if(null!=_){let z=new Date(_.Token.expiredAt);a=a.clone(O<z?{setHeaders:{"Content-Type":"application/json",Authorization:`Bearer ${_.Token.access_token}`}}:{setHeaders:{"Content-Type":"application/json"}})}else a=a.clone({setHeaders:{"Content-Type":"application/json"}});return l.handle(a)}}Br.\u0275fac=function(a){return new(a||Br)(f.LFG(vn.F0))},Br.\u0275prov=f.Yz7({token:Br,factory:Br.\u0275fac});var lr=D(7185);function Co(E,a){if(1&E){const l=f.EpF();f.TgZ(0,"a",10),f.NdJ("click",function(){f.CHM(l);const O=f.oxw(2);return f.KtG(O.remove())}),f._uU(1," x "),f.qZA()}}function uo(E,a){if(1&E&&(f.TgZ(0,"div",6)(1,"div",7)(2,"div")(3,"h4"),f._uU(4),f.qZA()()(),f.TgZ(5,"div",8),f.YNc(6,Co,2,0,"a",9),f.qZA()()),2&E){const l=f.oxw();f.Udp("display","inactive"===l.state.value?"none":""),f.xp6(2),f.Tol(l.options.titleClass),f.uIk("aria-label",l.title),f.xp6(2),f.Oqu(l.title),f.xp6(2),f.Q6J("ngIf",l.options.closeButton)}}const is=function(E){return{notitle:E}};function os(E,a){if(1&E&&f._UZ(0,"div",11),2&E){const l=f.oxw();f.Tol(l.options.messageClass),f.Q6J("ngClass",f.VKq(4,is,null==l.title))("innerHTML",l.message,f.oJD)}}function Wo(E,a){if(1&E&&(f.TgZ(0,"div",12),f._uU(1),f.qZA()),2&E){const l=f.oxw();f.Tol(l.options.messageClass),f.Q6J("ngClass",f.VKq(5,is,null==l.title)),f.uIk("aria-label",l.message),f.xp6(1),f.hij(" ",l.message," ")}}function ss(E,a){if(1&E){const l=f.EpF();f.TgZ(0,"a",10),f.NdJ("click",function(){f.CHM(l);const O=f.oxw();return f.KtG(O.remove())}),f._uU(1," x "),f.qZA()}}function ks(E,a){if(1&E&&(f.TgZ(0,"div"),f._UZ(1,"div",13),f.qZA()),2&E){const l=f.oxw();f.xp6(1),f.Udp("width",l.width+"%")}}class to extends lr.FN{constructor(a,l){super(a,l),this.toastrService=a,this.toastPackage=l}ngOnInit(){}action(a){return a.stopPropagation(),this.toastPackage.triggerAction(),!1}}to.\u0275fac=function(a){return new(a||to)(f.Y36(lr._W),f.Y36(lr.PR))},to.\u0275cmp=f.Xpm({type:to,selectors:[["","custom-toast-component",""]],features:[f.qOj],attrs:["custom-toast-component",""],decls:6,vars:5,consts:[[1,"toast-case"],["class","row toast-header",3,"display",4,"ngIf"],["class","toast-body","role","alert","aria-live","polite",3,"ngClass","class","innerHTML",4,"ngIf"],["class","toast-body","role","alert","aria-live","polite",3,"ngClass","class",4,"ngIf"],["class","btn toast-close-button btn-sm ",3,"click",4,"ngIf"],[4,"ngIf"],[1,"row","toast-header"],[1,"col-9","g-0"],[1,"col-auto","mt-5","pe-0"],["class","btn toast-close-button btn-sm",3,"click",4,"ngIf"],[1,"btn","toast-close-button","btn-sm",3,"click"],["role","alert","aria-live","polite",1,"toast-body",3,"ngClass","innerHTML"],["role","alert","aria-live","polite",1,"toast-body",3,"ngClass"],[1,"toast-progress"]],template:function(a,l){1&a&&(f.TgZ(0,"div",0),f.YNc(1,uo,7,7,"div",1),f.YNc(2,os,1,6,"div",2),f.YNc(3,Wo,2,7,"div",3),f.YNc(4,ss,2,0,"a",4),f.YNc(5,ks,2,2,"div",5),f.qZA()),2&a&&(f.xp6(1),f.Q6J("ngIf",l.title),f.xp6(1),f.Q6J("ngIf",l.message&&l.options.enableHtml),f.xp6(1),f.Q6J("ngIf",l.message&&!l.options.enableHtml),f.xp6(1),f.Q6J("ngIf",l.options.closeButton&&null==l.title),f.xp6(1),f.Q6J("ngIf",l.options.progressBar))},dependencies:[Pe.mk,Pe.O5],styles:["[_nghost-%COMP%]{background-color:#fff;position:relative;overflow:hidden;margin:0 0 6px;width:300px;border-radius:3px;color:#141414;pointer-events:all;cursor:pointer}.toast-success[_nghost-%COMP%]{border:1.8px solid rgb(81,163,81)}.toast-info[_nghost-%COMP%]{border:1.8px solid rgb(47,150,180)}.toast-error[_nghost-%COMP%]{border:1.8px solid rgb(189,54,47)}.toast-warning[_nghost-%COMP%]{border:1.8px solid rgb(248,148,6)}.toast-case[_ngcontent-%COMP%]{margin-left:0}.toast-header[_ngcontent-%COMP%]{background-clip:padding-box;border-bottom:solid;border-width:1px;padding-bottom:0rem;padding-top:0rem;padding-right:0;margin-left:0}.toast-title[_ngcontent-%COMP%]{color:#000}.toast-body[_ngcontent-%COMP%]{padding-top:.6rem}.notitle[_ngcontent-%COMP%]{margin-bottom:-1rem}.toast-close-button-custom[_ngcontent-%COMP%]{right:.2em!important;top:-1.3em!important}.toast-close-button-notitle[_ngcontent-%COMP%]{right:.1em!important;top:-1.3em!important}"],data:{animation:[(0,yt.X$)("flyInOut",[(0,yt.SB)("inactive",(0,yt.oB)({opacity:0})),(0,yt.eR)("inactive => active",(0,yt.jt)("400ms ease-out",(0,yt.F4)([(0,yt.oB)({transform:"translate3d(100%, 0, 0) skewX(-30deg)",opacity:0}),(0,yt.oB)({transform:"skewX(20deg)",opacity:1}),(0,yt.oB)({transform:"skewX(-5deg)",opacity:1}),(0,yt.oB)({transform:"none",opacity:1})]))),(0,yt.eR)("active => removed",(0,yt.jt)("400ms ease-out",(0,yt.F4)([(0,yt.oB)({opacity:1}),(0,yt.oB)({transform:"translate3d(100%, 0, 0) skewX(30deg)",opacity:0})])))])]}});var as=D(5421),Vs=D(2011),ui=D(7899),Ns=D(2340),ko=D(9549);class fo{}fo.\u0275fac=function(a){return new(a||fo)},fo.\u0275mod=f.oAB({type:fo,bootstrap:[Gt]}),fo.\u0275inj=f.cJS({providers:[{provide:U.TP,useClass:Br,multi:!0},{provide:ko.o2,useValue:{subscriptSizing:"dynamic"}},Kt.O,Wn.e],imports:[s.b2,In,Gn,lr.Rh.forRoot({toastComponent:to,positionClass:"toast-bottom-right",closeButton:!0}),U.JF,as.Cz.forRoot({name:"MarketplaceDB",version:1,objectStoresMeta:[{store:"Categories",storeConfig:{keyPath:null,autoIncrement:!1},storeSchema:[]}]}),ln.forRoot(),Vs.hO.initializeApp(Ns.N.firebaseConfig),ui.ww]}),Ns.N.production&&(0,f.G48)(),s.q6().bootstrapModule(fo).catch(E=>console.error(E))},5867:(it,Ce,D)=>{D.d(Ce,{C6:()=>s.getApps,Mq:()=>s.getApp});var s=D(9681);(0,s.registerVersion)("firebase","9.12.1","app")},127:(it,Ce,D)=>{D.d(Ce,{Z:()=>s.Z});var s=D(3942);s.Z.registerVersion("firebase","9.12.1","app-compat")},1135:(it,Ce,D)=>{D.d(Ce,{X:()=>f});var s=D(7579);class f extends s.x{constructor(K){super(),this._value=K}get value(){return this.getValue()}_subscribe(K){const X=super._subscribe(K);return!X.closed&&K.next(this._value),X}getValue(){const{hasError:K,thrownError:X,_value:J}=this;if(K)throw X;return this._throwIfClosed(),J}next(K){super.next(this._value=K)}}},9751:(it,Ce,D)=>{D.d(Ce,{y:()=>ee});var s=D(930),f=D(727),U=D(8822),K=D(9635),X=D(2416),J=D(576),oe=D(2806);let ee=(()=>{class W{constructor(Te){Te&&(this._subscribe=Te)}lift(Te){const $e=new W;return $e.source=this,$e.operator=Te,$e}subscribe(Te,$e,Ye){const Se=function Y(W){return W&&W instanceof s.Lv||function j(W){return W&&(0,J.m)(W.next)&&(0,J.m)(W.error)&&(0,J.m)(W.complete)}(W)&&(0,f.Nn)(W)}(Te)?Te:new s.Hp(Te,$e,Ye);return(0,oe.x)(()=>{const{operator:Fe,source:Pe}=this;Se.add(Fe?Fe.call(Se,Pe):Pe?this._subscribe(Se):this._trySubscribe(Se))}),Se}_trySubscribe(Te){try{return this._subscribe(Te)}catch($e){Te.error($e)}}forEach(Te,$e){return new($e=Q($e))((Ye,Se)=>{const Fe=new s.Hp({next:Pe=>{try{Te(Pe)}catch(De){Se(De),Fe.unsubscribe()}},error:Se,complete:Ye});this.subscribe(Fe)})}_subscribe(Te){var $e;return null===($e=this.source)||void 0===$e?void 0:$e.subscribe(Te)}[U.L](){return this}pipe(...Te){return(0,K.U)(Te)(this)}toPromise(Te){return new(Te=Q(Te))(($e,Ye)=>{let Se;this.subscribe(Fe=>Se=Fe,Fe=>Ye(Fe),()=>$e(Se))})}}return W.create=xe=>new W(xe),W})();function Q(W){var xe;return null!==(xe=W??X.v.Promise)&&void 0!==xe?xe:Promise}},4707:(it,Ce,D)=>{D.d(Ce,{t:()=>U});var s=D(7579),f=D(6063);class U extends s.x{constructor(X=1/0,J=1/0,oe=f.l){super(),this._bufferSize=X,this._windowTime=J,this._timestampProvider=oe,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=J===1/0,this._bufferSize=Math.max(1,X),this._windowTime=Math.max(1,J)}next(X){const{isStopped:J,_buffer:oe,_infiniteTimeWindow:ee,_timestampProvider:Q,_windowTime:j}=this;J||(oe.push(X),!ee&&oe.push(Q.now()+j)),this._trimBuffer(),super.next(X)}_subscribe(X){this._throwIfClosed(),this._trimBuffer();const J=this._innerSubscribe(X),{_infiniteTimeWindow:oe,_buffer:ee}=this,Q=ee.slice();for(let j=0;j<Q.length&&!X.closed;j+=oe?1:2)X.next(Q[j]);return this._checkFinalizedStatuses(X),J}_trimBuffer(){const{_bufferSize:X,_timestampProvider:J,_buffer:oe,_infiniteTimeWindow:ee}=this,Q=(ee?1:2)*X;if(X<1/0&&Q<oe.length&&oe.splice(0,oe.length-Q),!ee){const j=J.now();let Y=0;for(let W=1;W<oe.length&&oe[W]<=j;W+=2)Y=W;Y&&oe.splice(0,Y+1)}}}},7579:(it,Ce,D)=>{D.d(Ce,{x:()=>oe});var s=D(9751),f=D(727);const K=(0,D(3888).d)(Q=>function(){Q(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var X=D(8737),J=D(2806);let oe=(()=>{class Q extends s.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(Y){const W=new ee(this,this);return W.operator=Y,W}_throwIfClosed(){if(this.closed)throw new K}next(Y){(0,J.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const W of this.currentObservers)W.next(Y)}})}error(Y){(0,J.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=Y;const{observers:W}=this;for(;W.length;)W.shift().error(Y)}})}complete(){(0,J.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:Y}=this;for(;Y.length;)Y.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var Y;return(null===(Y=this.observers)||void 0===Y?void 0:Y.length)>0}_trySubscribe(Y){return this._throwIfClosed(),super._trySubscribe(Y)}_subscribe(Y){return this._throwIfClosed(),this._checkFinalizedStatuses(Y),this._innerSubscribe(Y)}_innerSubscribe(Y){const{hasError:W,isStopped:xe,observers:Te}=this;return W||xe?f.Lc:(this.currentObservers=null,Te.push(Y),new f.w0(()=>{this.currentObservers=null,(0,X.P)(Te,Y)}))}_checkFinalizedStatuses(Y){const{hasError:W,thrownError:xe,isStopped:Te}=this;W?Y.error(xe):Te&&Y.complete()}asObservable(){const Y=new s.y;return Y.source=this,Y}}return Q.create=(j,Y)=>new ee(j,Y),Q})();class ee extends oe{constructor(j,Y){super(),this.destination=j,this.source=Y}next(j){var Y,W;null===(W=null===(Y=this.destination)||void 0===Y?void 0:Y.next)||void 0===W||W.call(Y,j)}error(j){var Y,W;null===(W=null===(Y=this.destination)||void 0===Y?void 0:Y.error)||void 0===W||W.call(Y,j)}complete(){var j,Y;null===(Y=null===(j=this.destination)||void 0===j?void 0:j.complete)||void 0===Y||Y.call(j)}_subscribe(j){var Y,W;return null!==(W=null===(Y=this.source)||void 0===Y?void 0:Y.subscribe(j))&&void 0!==W?W:f.Lc}}},930:(it,Ce,D)=>{D.d(Ce,{Hp:()=>Ye,Lv:()=>W});var s=D(576),f=D(727),U=D(2416),K=D(7849),X=D(5032);const J=Q("C",void 0,void 0);function Q(Me,H,ae){return{kind:Me,value:H,error:ae}}var j=D(3410),Y=D(2806);class W extends f.w0{constructor(H){super(),this.isStopped=!1,H?(this.destination=H,(0,f.Nn)(H)&&H.add(this)):this.destination=De}static create(H,ae,le){return new Ye(H,ae,le)}next(H){this.isStopped?Pe(function ee(Me){return Q("N",Me,void 0)}(H),this):this._next(H)}error(H){this.isStopped?Pe(function oe(Me){return Q("E",void 0,Me)}(H),this):(this.isStopped=!0,this._error(H))}complete(){this.isStopped?Pe(J,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(H){this.destination.next(H)}_error(H){try{this.destination.error(H)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const xe=Function.prototype.bind;function Te(Me,H){return xe.call(Me,H)}class $e{constructor(H){this.partialObserver=H}next(H){const{partialObserver:ae}=this;if(ae.next)try{ae.next(H)}catch(le){Se(le)}}error(H){const{partialObserver:ae}=this;if(ae.error)try{ae.error(H)}catch(le){Se(le)}else Se(H)}complete(){const{partialObserver:H}=this;if(H.complete)try{H.complete()}catch(ae){Se(ae)}}}class Ye extends W{constructor(H,ae,le){let pe;if(super(),(0,s.m)(H)||!H)pe={next:H??void 0,error:ae??void 0,complete:le??void 0};else{let se;this&&U.v.useDeprecatedNextContext?(se=Object.create(H),se.unsubscribe=()=>this.unsubscribe(),pe={next:H.next&&Te(H.next,se),error:H.error&&Te(H.error,se),complete:H.complete&&Te(H.complete,se)}):pe=H}this.destination=new $e(pe)}}function Se(Me){U.v.useDeprecatedSynchronousErrorHandling?(0,Y.O)(Me):(0,K.h)(Me)}function Pe(Me,H){const{onStoppedNotification:ae}=U.v;ae&&j.z.setTimeout(()=>ae(Me,H))}const De={closed:!0,next:X.Z,error:function Fe(Me){throw Me},complete:X.Z}},727:(it,Ce,D)=>{D.d(Ce,{Lc:()=>J,w0:()=>X,Nn:()=>oe});var s=D(576);const U=(0,D(3888).d)(Q=>function(Y){Q(this),this.message=Y?`${Y.length} errors occurred during unsubscription:\n${Y.map((W,xe)=>`${xe+1}) ${W.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=Y});var K=D(8737);class X{constructor(j){this.initialTeardown=j,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let j;if(!this.closed){this.closed=!0;const{_parentage:Y}=this;if(Y)if(this._parentage=null,Array.isArray(Y))for(const Te of Y)Te.remove(this);else Y.remove(this);const{initialTeardown:W}=this;if((0,s.m)(W))try{W()}catch(Te){j=Te instanceof U?Te.errors:[Te]}const{_finalizers:xe}=this;if(xe){this._finalizers=null;for(const Te of xe)try{ee(Te)}catch($e){j=j??[],$e instanceof U?j=[...j,...$e.errors]:j.push($e)}}if(j)throw new U(j)}}add(j){var Y;if(j&&j!==this)if(this.closed)ee(j);else{if(j instanceof X){if(j.closed||j._hasParent(this))return;j._addParent(this)}(this._finalizers=null!==(Y=this._finalizers)&&void 0!==Y?Y:[]).push(j)}}_hasParent(j){const{_parentage:Y}=this;return Y===j||Array.isArray(Y)&&Y.includes(j)}_addParent(j){const{_parentage:Y}=this;this._parentage=Array.isArray(Y)?(Y.push(j),Y):Y?[Y,j]:j}_removeParent(j){const{_parentage:Y}=this;Y===j?this._parentage=null:Array.isArray(Y)&&(0,K.P)(Y,j)}remove(j){const{_finalizers:Y}=this;Y&&(0,K.P)(Y,j),j instanceof X&&j._removeParent(this)}}X.EMPTY=(()=>{const Q=new X;return Q.closed=!0,Q})();const J=X.EMPTY;function oe(Q){return Q instanceof X||Q&&"closed"in Q&&(0,s.m)(Q.remove)&&(0,s.m)(Q.add)&&(0,s.m)(Q.unsubscribe)}function ee(Q){(0,s.m)(Q)?Q():Q.unsubscribe()}},2416:(it,Ce,D)=>{D.d(Ce,{v:()=>s});const s={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},9841:(it,Ce,D)=>{D.d(Ce,{a:()=>j});var s=D(9751),f=D(4742),U=D(8996),K=D(4671),X=D(3268),J=D(3269),oe=D(1810),ee=D(5403),Q=D(9672);function j(...xe){const Te=(0,J.yG)(xe),$e=(0,J.jO)(xe),{args:Ye,keys:Se}=(0,f.D)(xe);if(0===Ye.length)return(0,U.D)([],Te);const Fe=new s.y(function Y(xe,Te,$e=K.y){return Ye=>{W(Te,()=>{const{length:Se}=xe,Fe=new Array(Se);let Pe=Se,De=Se;for(let Me=0;Me<Se;Me++)W(Te,()=>{const H=(0,U.D)(xe[Me],Te);let ae=!1;H.subscribe((0,ee.x)(Ye,le=>{Fe[Me]=le,ae||(ae=!0,De--),De||Ye.next($e(Fe.slice()))},()=>{--Pe||Ye.complete()}))},Ye)},Ye)}}(Ye,Te,Se?Pe=>(0,oe.n)(Se,Pe):K.y));return $e?Fe.pipe((0,X.Z)($e)):Fe}function W(xe,Te,$e){xe?(0,Q.f)($e,xe,Te):Te()}},7272:(it,Ce,D)=>{D.d(Ce,{z:()=>X});var s=D(8189),U=D(3269),K=D(8996);function X(...J){return function f(){return(0,s.J)(1)}()((0,K.D)(J,(0,U.yG)(J)))}},9770:(it,Ce,D)=>{D.d(Ce,{P:()=>U});var s=D(9751),f=D(8421);function U(K){return new s.y(X=>{(0,f.Xf)(K()).subscribe(X)})}},515:(it,Ce,D)=>{D.d(Ce,{E:()=>f});const f=new(D(9751).y)(X=>X.complete())},8996:(it,Ce,D)=>{D.d(Ce,{D:()=>H});var s=D(8421),f=D(5363),U=D(9468),J=D(9751),ee=D(2202),Q=D(576),j=D(9672);function W(ae,le){if(!ae)throw new Error("Iterable cannot be null");return new J.y(pe=>{(0,j.f)(pe,le,()=>{const se=ae[Symbol.asyncIterator]();(0,j.f)(pe,le,()=>{se.next().then(ge=>{ge.done?pe.complete():pe.next(ge.value)})},0,!0)})})}var xe=D(3670),Te=D(8239),$e=D(1144),Ye=D(6495),Se=D(2206),Fe=D(4532),Pe=D(3260);function H(ae,le){return le?function Me(ae,le){if(null!=ae){if((0,xe.c)(ae))return function K(ae,le){return(0,s.Xf)(ae).pipe((0,U.R)(le),(0,f.Q)(le))}(ae,le);if((0,$e.z)(ae))return function oe(ae,le){return new J.y(pe=>{let se=0;return le.schedule(function(){se===ae.length?pe.complete():(pe.next(ae[se++]),pe.closed||this.schedule())})})}(ae,le);if((0,Te.t)(ae))return function X(ae,le){return(0,s.Xf)(ae).pipe((0,U.R)(le),(0,f.Q)(le))}(ae,le);if((0,Se.D)(ae))return W(ae,le);if((0,Ye.T)(ae))return function Y(ae,le){return new J.y(pe=>{let se;return(0,j.f)(pe,le,()=>{se=ae[ee.h](),(0,j.f)(pe,le,()=>{let ge,Z;try{({value:ge,done:Z}=se.next())}catch(re){return void pe.error(re)}Z?pe.complete():pe.next(ge)},0,!0)}),()=>(0,Q.m)(se?.return)&&se.return()})}(ae,le);if((0,Pe.L)(ae))return function De(ae,le){return W((0,Pe.Q)(ae),le)}(ae,le)}throw(0,Fe.z)(ae)}(ae,le):(0,s.Xf)(ae)}},8421:(it,Ce,D)=>{D.d(Ce,{Xf:()=>xe});var s=D(655),f=D(1144),U=D(8239),K=D(9751),X=D(3670),J=D(2206),oe=D(4532),ee=D(6495),Q=D(3260),j=D(576),Y=D(7849),W=D(8822);function xe(Me){if(Me instanceof K.y)return Me;if(null!=Me){if((0,X.c)(Me))return function Te(Me){return new K.y(H=>{const ae=Me[W.L]();if((0,j.m)(ae.subscribe))return ae.subscribe(H);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(Me);if((0,f.z)(Me))return function $e(Me){return new K.y(H=>{for(let ae=0;ae<Me.length&&!H.closed;ae++)H.next(Me[ae]);H.complete()})}(Me);if((0,U.t)(Me))return function Ye(Me){return new K.y(H=>{Me.then(ae=>{H.closed||(H.next(ae),H.complete())},ae=>H.error(ae)).then(null,Y.h)})}(Me);if((0,J.D)(Me))return Fe(Me);if((0,ee.T)(Me))return function Se(Me){return new K.y(H=>{for(const ae of Me)if(H.next(ae),H.closed)return;H.complete()})}(Me);if((0,Q.L)(Me))return function Pe(Me){return Fe((0,Q.Q)(Me))}(Me)}throw(0,oe.z)(Me)}function Fe(Me){return new K.y(H=>{(function De(Me,H){var ae,le,pe,se;return(0,s.mG)(this,void 0,void 0,function*(){try{for(ae=(0,s.KL)(Me);!(le=yield ae.next()).done;)if(H.next(le.value),H.closed)return}catch(ge){pe={error:ge}}finally{try{le&&!le.done&&(se=ae.return)&&(yield se.call(ae))}finally{if(pe)throw pe.error}}H.complete()})})(Me,H).catch(ae=>H.error(ae))})}},6451:(it,Ce,D)=>{D.d(Ce,{T:()=>J});var s=D(8189),f=D(8421),U=D(515),K=D(3269),X=D(8996);function J(...oe){const ee=(0,K.yG)(oe),Q=(0,K._6)(oe,1/0),j=oe;return j.length?1===j.length?(0,f.Xf)(j[0]):(0,s.J)(Q)((0,X.D)(j,ee)):U.E}},9646:(it,Ce,D)=>{D.d(Ce,{of:()=>U});var s=D(3269),f=D(8996);function U(...K){const X=(0,s.yG)(K);return(0,f.D)(K,X)}},2843:(it,Ce,D)=>{D.d(Ce,{_:()=>U});var s=D(9751),f=D(576);function U(K,X){const J=(0,f.m)(K)?K:()=>K,oe=ee=>ee.error(J());return new s.y(X?ee=>X.schedule(oe,0,ee):oe)}},2805:(it,Ce,D)=>{D.d(Ce,{H:()=>X});var s=D(9751),f=D(4986),U=D(3532),K=D(1165);function X(J=0,oe,ee=f.P){let Q=-1;return null!=oe&&((0,U.K)(oe)?ee=oe:Q=oe),new s.y(j=>{let Y=(0,K.q)(J)?+J-ee.now():J;Y<0&&(Y=0);let W=0;return ee.schedule(function(){j.closed||(j.next(W++),0<=Q?this.schedule(void 0,Q):j.complete())},Y)})}},5403:(it,Ce,D)=>{D.d(Ce,{x:()=>f});var s=D(930);function f(K,X,J,oe,ee){return new U(K,X,J,oe,ee)}class U extends s.Lv{constructor(X,J,oe,ee,Q,j){super(X),this.onFinalize=Q,this.shouldUnsubscribe=j,this._next=J?function(Y){try{J(Y)}catch(W){X.error(W)}}:super._next,this._error=ee?function(Y){try{ee(Y)}catch(W){X.error(W)}finally{this.unsubscribe()}}:super._error,this._complete=oe?function(){try{oe()}catch(Y){X.error(Y)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var X;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:J}=this;super.unsubscribe(),!J&&(null===(X=this.onFinalize)||void 0===X||X.call(this))}}}},262:(it,Ce,D)=>{D.d(Ce,{K:()=>K});var s=D(8421),f=D(5403),U=D(4482);function K(X){return(0,U.e)((J,oe)=>{let j,ee=null,Q=!1;ee=J.subscribe((0,f.x)(oe,void 0,void 0,Y=>{j=(0,s.Xf)(X(Y,K(X)(J))),ee?(ee.unsubscribe(),ee=null,j.subscribe(oe)):Q=!0})),Q&&(ee.unsubscribe(),ee=null,j.subscribe(oe))})}},4351:(it,Ce,D)=>{D.d(Ce,{b:()=>U});var s=D(5577),f=D(576);function U(K,X){return(0,f.m)(X)?(0,s.z)(K,X,1):(0,s.z)(K,1)}},8372:(it,Ce,D)=>{D.d(Ce,{b:()=>K});var s=D(4986),f=D(4482),U=D(5403);function K(X,J=s.z){return(0,f.e)((oe,ee)=>{let Q=null,j=null,Y=null;const W=()=>{if(Q){Q.unsubscribe(),Q=null;const Te=j;j=null,ee.next(Te)}};function xe(){const Te=Y+X,$e=J.now();if($e<Te)return Q=this.schedule(void 0,Te-$e),void ee.add(Q);W()}oe.subscribe((0,U.x)(ee,Te=>{j=Te,Y=J.now(),Q||(Q=J.schedule(xe,X),ee.add(Q))},()=>{W(),ee.complete()},void 0,()=>{j=Q=null}))})}},6590:(it,Ce,D)=>{D.d(Ce,{d:()=>U});var s=D(4482),f=D(5403);function U(K){return(0,s.e)((X,J)=>{let oe=!1;X.subscribe((0,f.x)(J,ee=>{oe=!0,J.next(ee)},()=>{oe||J.next(K),J.complete()}))})}},1884:(it,Ce,D)=>{D.d(Ce,{x:()=>K});var s=D(4671),f=D(4482),U=D(5403);function K(J,oe=s.y){return J=J??X,(0,f.e)((ee,Q)=>{let j,Y=!0;ee.subscribe((0,U.x)(Q,W=>{const xe=oe(W);(Y||!J(j,xe))&&(Y=!1,j=xe,Q.next(W))}))})}function X(J,oe){return J===oe}},9300:(it,Ce,D)=>{D.d(Ce,{h:()=>U});var s=D(4482),f=D(5403);function U(K,X){return(0,s.e)((J,oe)=>{let ee=0;J.subscribe((0,f.x)(oe,Q=>K.call(X,Q,ee++)&&oe.next(Q)))})}},8746:(it,Ce,D)=>{D.d(Ce,{x:()=>f});var s=D(4482);function f(U){return(0,s.e)((K,X)=>{try{K.subscribe(X)}finally{X.add(U)}})}},590:(it,Ce,D)=>{D.d(Ce,{P:()=>oe});var s=D(6805),f=D(9300),U=D(5698),K=D(6590),X=D(8068),J=D(4671);function oe(ee,Q){const j=arguments.length>=2;return Y=>Y.pipe(ee?(0,f.h)((W,xe)=>ee(W,xe,Y)):J.y,(0,U.q)(1),j?(0,K.d)(Q):(0,X.T)(()=>new s.K))}},4004:(it,Ce,D)=>{D.d(Ce,{U:()=>U});var s=D(4482),f=D(5403);function U(K,X){return(0,s.e)((J,oe)=>{let ee=0;J.subscribe((0,f.x)(oe,Q=>{oe.next(K.call(X,Q,ee++))}))})}},8189:(it,Ce,D)=>{D.d(Ce,{J:()=>U});var s=D(5577),f=D(4671);function U(K=1/0){return(0,s.z)(f.y,K)}},5577:(it,Ce,D)=>{D.d(Ce,{z:()=>ee});var s=D(4004),f=D(8421),U=D(4482),K=D(9672),X=D(5403),oe=D(576);function ee(Q,j,Y=1/0){return(0,oe.m)(j)?ee((W,xe)=>(0,s.U)((Te,$e)=>j(W,Te,xe,$e))((0,f.Xf)(Q(W,xe))),Y):("number"==typeof j&&(Y=j),(0,U.e)((W,xe)=>function J(Q,j,Y,W,xe,Te,$e,Ye){const Se=[];let Fe=0,Pe=0,De=!1;const Me=()=>{De&&!Se.length&&!Fe&&j.complete()},H=le=>Fe<W?ae(le):Se.push(le),ae=le=>{Te&&j.next(le),Fe++;let pe=!1;(0,f.Xf)(Y(le,Pe++)).subscribe((0,X.x)(j,se=>{xe?.(se),Te?H(se):j.next(se)},()=>{pe=!0},void 0,()=>{if(pe)try{for(Fe--;Se.length&&Fe<W;){const se=Se.shift();$e?(0,K.f)(j,$e,()=>ae(se)):ae(se)}Me()}catch(se){j.error(se)}}))};return Q.subscribe((0,X.x)(j,H,()=>{De=!0,Me()})),()=>{Ye?.()}}(W,xe,Q,Y)))}},5363:(it,Ce,D)=>{D.d(Ce,{Q:()=>K});var s=D(9672),f=D(4482),U=D(5403);function K(X,J=0){return(0,f.e)((oe,ee)=>{oe.subscribe((0,U.x)(ee,Q=>(0,s.f)(ee,X,()=>ee.next(Q),J),()=>(0,s.f)(ee,X,()=>ee.complete(),J),Q=>(0,s.f)(ee,X,()=>ee.error(Q),J)))})}},5026:(it,Ce,D)=>{D.d(Ce,{R:()=>K});var s=D(4482),f=D(5403);function U(X,J,oe,ee,Q){return(j,Y)=>{let W=oe,xe=J,Te=0;j.subscribe((0,f.x)(Y,$e=>{const Ye=Te++;xe=W?X(xe,$e,Ye):(W=!0,$e),ee&&Y.next(xe)},Q&&(()=>{W&&Y.next(xe),Y.complete()})))}}function K(X,J){return(0,s.e)(U(X,J,arguments.length>=2,!0))}},3099:(it,Ce,D)=>{D.d(Ce,{B:()=>X});var s=D(8421),f=D(7579),U=D(930),K=D(4482);function X(oe={}){const{connector:ee=(()=>new f.x),resetOnError:Q=!0,resetOnComplete:j=!0,resetOnRefCountZero:Y=!0}=oe;return W=>{let xe,Te,$e,Ye=0,Se=!1,Fe=!1;const Pe=()=>{Te?.unsubscribe(),Te=void 0},De=()=>{Pe(),xe=$e=void 0,Se=Fe=!1},Me=()=>{const H=xe;De(),H?.unsubscribe()};return(0,K.e)((H,ae)=>{Ye++,!Fe&&!Se&&Pe();const le=$e=$e??ee();ae.add(()=>{Ye--,0===Ye&&!Fe&&!Se&&(Te=J(Me,Y))}),le.subscribe(ae),!xe&&Ye>0&&(xe=new U.Hp({next:pe=>le.next(pe),error:pe=>{Fe=!0,Pe(),Te=J(De,Q,pe),le.error(pe)},complete:()=>{Se=!0,Pe(),Te=J(De,j),le.complete()}}),(0,s.Xf)(H).subscribe(xe))})(W)}}function J(oe,ee,...Q){if(!0===ee)return void oe();if(!1===ee)return;const j=new U.Hp({next:()=>{j.unsubscribe(),oe()}});return ee(...Q).subscribe(j)}},4782:(it,Ce,D)=>{D.d(Ce,{d:()=>U});var s=D(4707),f=D(3099);function U(K,X,J){let oe,ee=!1;return K&&"object"==typeof K?({bufferSize:oe=1/0,windowTime:X=1/0,refCount:ee=!1,scheduler:J}=K):oe=K??1/0,(0,f.B)({connector:()=>new s.t(oe,X,J),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:ee})}},8675:(it,Ce,D)=>{D.d(Ce,{O:()=>K});var s=D(7272),f=D(3269),U=D(4482);function K(...X){const J=(0,f.yG)(X);return(0,U.e)((oe,ee)=>{(J?(0,s.z)(X,oe,J):(0,s.z)(X,oe)).subscribe(ee)})}},9468:(it,Ce,D)=>{D.d(Ce,{R:()=>f});var s=D(4482);function f(U,K=0){return(0,s.e)((X,J)=>{J.add(U.schedule(()=>X.subscribe(J),K))})}},3900:(it,Ce,D)=>{D.d(Ce,{w:()=>K});var s=D(8421),f=D(4482),U=D(5403);function K(X,J){return(0,f.e)((oe,ee)=>{let Q=null,j=0,Y=!1;const W=()=>Y&&!Q&&ee.complete();oe.subscribe((0,U.x)(ee,xe=>{Q?.unsubscribe();let Te=0;const $e=j++;(0,s.Xf)(X(xe,$e)).subscribe(Q=(0,U.x)(ee,Ye=>ee.next(J?J(xe,Ye,$e,Te++):Ye),()=>{Q=null,W()}))},()=>{Y=!0,W()}))})}},5698:(it,Ce,D)=>{D.d(Ce,{q:()=>K});var s=D(515),f=D(4482),U=D(5403);function K(X){return X<=0?()=>s.E:(0,f.e)((J,oe)=>{let ee=0;J.subscribe((0,U.x)(oe,Q=>{++ee<=X&&(oe.next(Q),X<=ee&&oe.complete())}))})}},2722:(it,Ce,D)=>{D.d(Ce,{R:()=>X});var s=D(4482),f=D(5403),U=D(8421),K=D(5032);function X(J){return(0,s.e)((oe,ee)=>{(0,U.Xf)(J).subscribe((0,f.x)(ee,()=>ee.complete(),K.Z)),!ee.closed&&oe.subscribe(ee)})}},2529:(it,Ce,D)=>{D.d(Ce,{o:()=>U});var s=D(4482),f=D(5403);function U(K,X=!1){return(0,s.e)((J,oe)=>{let ee=0;J.subscribe((0,f.x)(oe,Q=>{const j=K(Q,ee++);(j||X)&&oe.next(Q),!j&&oe.complete()}))})}},8505:(it,Ce,D)=>{D.d(Ce,{b:()=>X});var s=D(576),f=D(4482),U=D(5403),K=D(4671);function X(J,oe,ee){const Q=(0,s.m)(J)||oe||ee?{next:J,error:oe,complete:ee}:J;return Q?(0,f.e)((j,Y)=>{var W;null===(W=Q.subscribe)||void 0===W||W.call(Q);let xe=!0;j.subscribe((0,U.x)(Y,Te=>{var $e;null===($e=Q.next)||void 0===$e||$e.call(Q,Te),Y.next(Te)},()=>{var Te;xe=!1,null===(Te=Q.complete)||void 0===Te||Te.call(Q),Y.complete()},Te=>{var $e;xe=!1,null===($e=Q.error)||void 0===$e||$e.call(Q,Te),Y.error(Te)},()=>{var Te,$e;xe&&(null===(Te=Q.unsubscribe)||void 0===Te||Te.call(Q)),null===($e=Q.finalize)||void 0===$e||$e.call(Q)}))}):K.y}},8068:(it,Ce,D)=>{D.d(Ce,{T:()=>K});var s=D(6805),f=D(4482),U=D(5403);function K(J=X){return(0,f.e)((oe,ee)=>{let Q=!1;oe.subscribe((0,U.x)(ee,j=>{Q=!0,ee.next(j)},()=>Q?ee.complete():ee.error(J())))})}function X(){return new s.K}},4408:(it,Ce,D)=>{D.d(Ce,{o:()=>X});var s=D(727);class f extends s.w0{constructor(oe,ee){super()}schedule(oe,ee=0){return this}}const U={setInterval(J,oe,...ee){const{delegate:Q}=U;return Q?.setInterval?Q.setInterval(J,oe,...ee):setInterval(J,oe,...ee)},clearInterval(J){const{delegate:oe}=U;return(oe?.clearInterval||clearInterval)(J)},delegate:void 0};var K=D(8737);class X extends f{constructor(oe,ee){super(oe,ee),this.scheduler=oe,this.work=ee,this.pending=!1}schedule(oe,ee=0){if(this.closed)return this;this.state=oe;const Q=this.id,j=this.scheduler;return null!=Q&&(this.id=this.recycleAsyncId(j,Q,ee)),this.pending=!0,this.delay=ee,this.id=this.id||this.requestAsyncId(j,this.id,ee),this}requestAsyncId(oe,ee,Q=0){return U.setInterval(oe.flush.bind(oe,this),Q)}recycleAsyncId(oe,ee,Q=0){if(null!=Q&&this.delay===Q&&!1===this.pending)return ee;U.clearInterval(ee)}execute(oe,ee){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const Q=this._execute(oe,ee);if(Q)return Q;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(oe,ee){let j,Q=!1;try{this.work(oe)}catch(Y){Q=!0,j=Y||new Error("Scheduled action threw falsy error")}if(Q)return this.unsubscribe(),j}unsubscribe(){if(!this.closed){const{id:oe,scheduler:ee}=this,{actions:Q}=ee;this.work=this.state=this.scheduler=null,this.pending=!1,(0,K.P)(Q,this),null!=oe&&(this.id=this.recycleAsyncId(ee,oe,null)),this.delay=null,super.unsubscribe()}}}},7565:(it,Ce,D)=>{D.d(Ce,{v:()=>U});var s=D(6063);class f{constructor(X,J=f.now){this.schedulerActionCtor=X,this.now=J}schedule(X,J=0,oe){return new this.schedulerActionCtor(this,X).schedule(oe,J)}}f.now=s.l.now;class U extends f{constructor(X,J=f.now){super(X,J),this.actions=[],this._active=!1,this._scheduled=void 0}flush(X){const{actions:J}=this;if(this._active)return void J.push(X);let oe;this._active=!0;do{if(oe=X.execute(X.state,X.delay))break}while(X=J.shift());if(this._active=!1,oe){for(;X=J.shift();)X.unsubscribe();throw oe}}}},4986:(it,Ce,D)=>{D.d(Ce,{P:()=>K,z:()=>U});var s=D(4408);const U=new(D(7565).v)(s.o),K=U},6063:(it,Ce,D)=>{D.d(Ce,{l:()=>s});const s={now:()=>(s.delegate||Date).now(),delegate:void 0}},3410:(it,Ce,D)=>{D.d(Ce,{z:()=>s});const s={setTimeout(f,U,...K){const{delegate:X}=s;return X?.setTimeout?X.setTimeout(f,U,...K):setTimeout(f,U,...K)},clearTimeout(f){const{delegate:U}=s;return(U?.clearTimeout||clearTimeout)(f)},delegate:void 0}},2202:(it,Ce,D)=>{D.d(Ce,{h:()=>f});const f=function s(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},8822:(it,Ce,D)=>{D.d(Ce,{L:()=>s});const s="function"==typeof Symbol&&Symbol.observable||"@@observable"},6805:(it,Ce,D)=>{D.d(Ce,{K:()=>f});const f=(0,D(3888).d)(U=>function(){U(this),this.name="EmptyError",this.message="no elements in sequence"})},3269:(it,Ce,D)=>{D.d(Ce,{_6:()=>J,jO:()=>K,yG:()=>X});var s=D(576),f=D(3532);function U(oe){return oe[oe.length-1]}function K(oe){return(0,s.m)(U(oe))?oe.pop():void 0}function X(oe){return(0,f.K)(U(oe))?oe.pop():void 0}function J(oe,ee){return"number"==typeof U(oe)?oe.pop():ee}},4742:(it,Ce,D)=>{D.d(Ce,{D:()=>X});const{isArray:s}=Array,{getPrototypeOf:f,prototype:U,keys:K}=Object;function X(oe){if(1===oe.length){const ee=oe[0];if(s(ee))return{args:ee,keys:null};if(function J(oe){return oe&&"object"==typeof oe&&f(oe)===U}(ee)){const Q=K(ee);return{args:Q.map(j=>ee[j]),keys:Q}}}return{args:oe,keys:null}}},8737:(it,Ce,D)=>{function s(f,U){if(f){const K=f.indexOf(U);0<=K&&f.splice(K,1)}}D.d(Ce,{P:()=>s})},3888:(it,Ce,D)=>{function s(f){const K=f(X=>{Error.call(X),X.stack=(new Error).stack});return K.prototype=Object.create(Error.prototype),K.prototype.constructor=K,K}D.d(Ce,{d:()=>s})},1810:(it,Ce,D)=>{function s(f,U){return f.reduce((K,X,J)=>(K[X]=U[J],K),{})}D.d(Ce,{n:()=>s})},2806:(it,Ce,D)=>{D.d(Ce,{O:()=>K,x:()=>U});var s=D(2416);let f=null;function U(X){if(s.v.useDeprecatedSynchronousErrorHandling){const J=!f;if(J&&(f={errorThrown:!1,error:null}),X(),J){const{errorThrown:oe,error:ee}=f;if(f=null,oe)throw ee}}else X()}function K(X){s.v.useDeprecatedSynchronousErrorHandling&&f&&(f.errorThrown=!0,f.error=X)}},9672:(it,Ce,D)=>{function s(f,U,K,X=0,J=!1){const oe=U.schedule(function(){K(),J?f.add(this.schedule(null,X)):this.unsubscribe()},X);if(f.add(oe),!J)return oe}D.d(Ce,{f:()=>s})},4671:(it,Ce,D)=>{function s(f){return f}D.d(Ce,{y:()=>s})},1144:(it,Ce,D)=>{D.d(Ce,{z:()=>s});const s=f=>f&&"number"==typeof f.length&&"function"!=typeof f},2206:(it,Ce,D)=>{D.d(Ce,{D:()=>f});var s=D(576);function f(U){return Symbol.asyncIterator&&(0,s.m)(U?.[Symbol.asyncIterator])}},1165:(it,Ce,D)=>{function s(f){return f instanceof Date&&!isNaN(f)}D.d(Ce,{q:()=>s})},576:(it,Ce,D)=>{function s(f){return"function"==typeof f}D.d(Ce,{m:()=>s})},3670:(it,Ce,D)=>{D.d(Ce,{c:()=>U});var s=D(8822),f=D(576);function U(K){return(0,f.m)(K[s.L])}},6495:(it,Ce,D)=>{D.d(Ce,{T:()=>U});var s=D(2202),f=D(576);function U(K){return(0,f.m)(K?.[s.h])}},8239:(it,Ce,D)=>{D.d(Ce,{t:()=>f});var s=D(576);function f(U){return(0,s.m)(U?.then)}},3260:(it,Ce,D)=>{D.d(Ce,{L:()=>K,Q:()=>U});var s=D(655),f=D(576);function U(X){return(0,s.FC)(this,arguments,function*(){const oe=X.getReader();try{for(;;){const{value:ee,done:Q}=yield(0,s.qq)(oe.read());if(Q)return yield(0,s.qq)(void 0);yield yield(0,s.qq)(ee)}}finally{oe.releaseLock()}})}function K(X){return(0,f.m)(X?.getReader)}},3532:(it,Ce,D)=>{D.d(Ce,{K:()=>f});var s=D(576);function f(U){return U&&(0,s.m)(U.schedule)}},4482:(it,Ce,D)=>{D.d(Ce,{A:()=>f,e:()=>U});var s=D(576);function f(K){return(0,s.m)(K?.lift)}function U(K){return X=>{if(f(X))return X.lift(function(J){try{return K(J,this)}catch(oe){this.error(oe)}});throw new TypeError("Unable to lift unknown Observable type")}}},3268:(it,Ce,D)=>{D.d(Ce,{Z:()=>K});var s=D(4004);const{isArray:f}=Array;function K(X){return(0,s.U)(J=>function U(X,J){return f(J)?X(...J):X(J)}(X,J))}},5032:(it,Ce,D)=>{function s(){}D.d(Ce,{Z:()=>s})},9635:(it,Ce,D)=>{D.d(Ce,{U:()=>U,z:()=>f});var s=D(4671);function f(...K){return U(K)}function U(K){return 0===K.length?s.y:1===K.length?K[0]:function(J){return K.reduce((oe,ee)=>ee(oe),J)}}},7849:(it,Ce,D)=>{D.d(Ce,{h:()=>U});var s=D(2416),f=D(3410);function U(K){f.z.setTimeout(()=>{const{onUnhandledError:X}=s.v;if(!X)throw K;X(K)})}},4532:(it,Ce,D)=>{function s(f){return new TypeError(`You provided ${null!==f&&"object"==typeof f?"an invalid object":`'${f}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}D.d(Ce,{z:()=>s})},655:(it,Ce,D)=>{function K(Z,re){var Ie={};for(var me in Z)Object.prototype.hasOwnProperty.call(Z,me)&&re.indexOf(me)<0&&(Ie[me]=Z[me]);if(null!=Z&&"function"==typeof Object.getOwnPropertySymbols){var We=0;for(me=Object.getOwnPropertySymbols(Z);We<me.length;We++)re.indexOf(me[We])<0&&Object.prototype.propertyIsEnumerable.call(Z,me[We])&&(Ie[me[We]]=Z[me[We]])}return Ie}function ee(Z,re,Ie,me){return new(Ie||(Ie=Promise))(function(qe,pt){function Ht(It){try{At(me.next(It))}catch(Le){pt(Le)}}function en(It){try{At(me.throw(It))}catch(Le){pt(Le)}}function At(It){It.done?qe(It.value):function We(qe){return qe instanceof Ie?qe:new Ie(function(pt){pt(qe)})}(It.value).then(Ht,en)}At((me=me.apply(Z,re||[])).next())})}function Se(Z){return this instanceof Se?(this.v=Z,this):new Se(Z)}function Fe(Z,re,Ie){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var We,me=Ie.apply(Z,re||[]),qe=[];return We={},pt("next"),pt("throw"),pt("return"),We[Symbol.asyncIterator]=function(){return this},We;function pt(et){me[et]&&(We[et]=function(fe){return new Promise(function(Ne,rt){qe.push([et,fe,Ne,rt])>1||Ht(et,fe)})})}function Ht(et,fe){try{!function en(et){et.value instanceof Se?Promise.resolve(et.value.v).then(At,It):Le(qe[0][2],et)}(me[et](fe))}catch(Ne){Le(qe[0][3],Ne)}}function At(et){Ht("next",et)}function It(et){Ht("throw",et)}function Le(et,fe){et(fe),qe.shift(),qe.length&&Ht(qe[0][0],qe[0][1])}}function De(Z){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Ie,re=Z[Symbol.asyncIterator];return re?re.call(Z):(Z=function W(Z){var re="function"==typeof Symbol&&Symbol.iterator,Ie=re&&Z[re],me=0;if(Ie)return Ie.call(Z);if(Z&&"number"==typeof Z.length)return{next:function(){return Z&&me>=Z.length&&(Z=void 0),{value:Z&&Z[me++],done:!Z}}};throw new TypeError(re?"Object is not iterable.":"Symbol.iterator is not defined.")}(Z),Ie={},me("next"),me("throw"),me("return"),Ie[Symbol.asyncIterator]=function(){return this},Ie);function me(qe){Ie[qe]=Z[qe]&&function(pt){return new Promise(function(Ht,en){!function We(qe,pt,Ht,en){Promise.resolve(en).then(function(At){qe({value:At,done:Ht})},pt)}(Ht,en,(pt=Z[qe](pt)).done,pt.value)})}}}D.d(Ce,{FC:()=>Fe,KL:()=>De,_T:()=>K,mG:()=>ee,qq:()=>Se})},7340:(it,Ce,D)=>{D.d(Ce,{F4:()=>j,IO:()=>$e,LC:()=>f,SB:()=>Q,X$:()=>K,ZE:()=>Pe,ZN:()=>Fe,_j:()=>s,eR:()=>Y,jt:()=>X,k1:()=>De,l3:()=>U,oB:()=>ee,pV:()=>xe,ru:()=>J,vP:()=>oe});class s{}class f{}const U="*";function K(Me,H){return{type:7,name:Me,definitions:H,options:{}}}function X(Me,H=null){return{type:4,styles:H,timings:Me}}function J(Me,H=null){return{type:3,steps:Me,options:H}}function oe(Me,H=null){return{type:2,steps:Me,options:H}}function ee(Me){return{type:6,styles:Me,offset:null}}function Q(Me,H,ae){return{type:0,name:Me,styles:H,options:ae}}function j(Me){return{type:5,steps:Me}}function Y(Me,H,ae=null){return{type:1,expr:Me,animation:H,options:ae}}function xe(Me=null){return{type:9,options:Me}}function $e(Me,H,ae=null){return{type:11,selector:Me,animation:H,options:ae}}function Se(Me){Promise.resolve().then(Me)}class Fe{constructor(H=0,ae=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=H+ae}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(H=>H()),this._onDoneFns=[])}onStart(H){this._originalOnStartFns.push(H),this._onStartFns.push(H)}onDone(H){this._originalOnDoneFns.push(H),this._onDoneFns.push(H)}onDestroy(H){this._onDestroyFns.push(H)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){Se(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(H=>H()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(H=>H()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(H){this._position=this.totalTime?H*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(H){const ae="start"==H?this._onStartFns:this._onDoneFns;ae.forEach(le=>le()),ae.length=0}}class Pe{constructor(H){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=H;let ae=0,le=0,pe=0;const se=this.players.length;0==se?Se(()=>this._onFinish()):this.players.forEach(ge=>{ge.onDone(()=>{++ae==se&&this._onFinish()}),ge.onDestroy(()=>{++le==se&&this._onDestroy()}),ge.onStart(()=>{++pe==se&&this._onStart()})}),this.totalTime=this.players.reduce((ge,Z)=>Math.max(ge,Z.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(H=>H()),this._onDoneFns=[])}init(){this.players.forEach(H=>H.init())}onStart(H){this._onStartFns.push(H)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(H=>H()),this._onStartFns=[])}onDone(H){this._onDoneFns.push(H)}onDestroy(H){this._onDestroyFns.push(H)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(H=>H.play())}pause(){this.players.forEach(H=>H.pause())}restart(){this.players.forEach(H=>H.restart())}finish(){this._onFinish(),this.players.forEach(H=>H.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(H=>H.destroy()),this._onDestroyFns.forEach(H=>H()),this._onDestroyFns=[])}reset(){this.players.forEach(H=>H.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(H){const ae=H*this.totalTime;this.players.forEach(le=>{const pe=le.totalTime?Math.min(1,ae/le.totalTime):1;le.setPosition(pe)})}getPosition(){const H=this.players.reduce((ae,le)=>null===ae||le.totalTime>ae.totalTime?le:ae,null);return null!=H?H.getPosition():0}beforeDestroy(){this.players.forEach(H=>{H.beforeDestroy&&H.beforeDestroy()})}triggerCallback(H){const ae="start"==H?this._onStartFns:this._onDoneFns;ae.forEach(le=>le()),ae.length=0}}const De="!"},7253:(it,Ce,D)=>{D.d(Ce,{rt:()=>Bt,s1:()=>Ft,$s:()=>et,kH:()=>de,mK:()=>Ot,Em:()=>$t,tE:()=>G,qV:()=>Hn,qm:()=>Nt,ic:()=>Kt,Kd:()=>M,X6:()=>Re,yG:()=>Ze});var s=D(6895),f=D(4650),U=D(3353),K=D(7579),X=D(727),J=D(1135),oe=D(9646),ee=D(9521),Q=D(8505),j=D(8372),Y=D(9300),W=D(4004),xe=D(5698);function Te(ye){return(0,Y.h)((x,C)=>ye<=C)}var $e=D(1884),Ye=D(2722),Se=D(1281),Fe=D(9643),Pe=D(9841),De=D(7272),Me=D(9751),H=D(8675);const le=new Set;let pe,se=(()=>{class ye{constructor(C){this._platform=C,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Z}matchMedia(C){return(this._platform.WEBKIT||this._platform.BLINK)&&function ge(ye){if(!le.has(ye))try{pe||(pe=document.createElement("style"),pe.setAttribute("type","text/css"),document.head.appendChild(pe)),pe.sheet&&(pe.sheet.insertRule(`@media ${ye} {body{ }}`,0),le.add(ye))}catch(x){console.error(x)}}(C),this._matchMedia(C)}}return ye.\u0275fac=function(C){return new(C||ye)(f.LFG(U.t4))},ye.\u0275prov=f.Yz7({token:ye,factory:ye.\u0275fac,providedIn:"root"}),ye})();function Z(ye){return{matches:"all"===ye||""===ye,media:ye,addListener:()=>{},removeListener:()=>{}}}let re=(()=>{class ye{constructor(C,I){this._mediaMatcher=C,this._zone=I,this._queries=new Map,this._destroySubject=new K.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(C){return Ie((0,Se.Eq)(C)).some($=>this._registerQuery($).mql.matches)}observe(C){const $=Ie((0,Se.Eq)(C)).map(Ke=>this._registerQuery(Ke).observable);let ue=(0,Pe.a)($);return ue=(0,De.z)(ue.pipe((0,xe.q)(1)),ue.pipe(Te(1),(0,j.b)(0))),ue.pipe((0,W.U)(Ke=>{const vt={matches:!1,breakpoints:{}};return Ke.forEach(({matches:Dn,query:Mn})=>{vt.matches=vt.matches||Dn,vt.breakpoints[Mn]=Dn}),vt}))}_registerQuery(C){if(this._queries.has(C))return this._queries.get(C);const I=this._mediaMatcher.matchMedia(C),ue={observable:new Me.y(Ke=>{const vt=Dn=>this._zone.run(()=>Ke.next(Dn));return I.addListener(vt),()=>{I.removeListener(vt)}}).pipe((0,H.O)(I),(0,W.U)(({matches:Ke})=>({query:C,matches:Ke})),(0,Ye.R)(this._destroySubject)),mql:I};return this._queries.set(C,ue),ue}}return ye.\u0275fac=function(C){return new(C||ye)(f.LFG(se),f.LFG(f.R0b))},ye.\u0275prov=f.Yz7({token:ye,factory:ye.\u0275fac,providedIn:"root"}),ye})();function Ie(ye){return ye.map(x=>x.split(",")).reduce((x,C)=>x.concat(C)).map(x=>x.trim())}function Ht(ye,x){return(ye.getAttribute(x)||"").match(/\S+/g)||[]}const At="cdk-describedby-message",It="cdk-describedby-host";let Le=0,et=(()=>{class ye{constructor(C,I){this._platform=I,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+Le++,this._document=C,this._id=(0,f.f3M)(f.AFp)+"-"+Le++}describe(C,I,$){if(!this._canBeDescribed(C,I))return;const ue=fe(I,$);"string"!=typeof I?(Ne(I,this._id),this._messageRegistry.set(ue,{messageElement:I,referenceCount:0})):this._messageRegistry.has(ue)||this._createMessageElement(I,$),this._isElementDescribedByMessage(C,ue)||this._addMessageReference(C,ue)}removeDescription(C,I,$){if(!I||!this._isElementNode(C))return;const ue=fe(I,$);if(this._isElementDescribedByMessage(C,ue)&&this._removeMessageReference(C,ue),"string"==typeof I){const Ke=this._messageRegistry.get(ue);Ke&&0===Ke.referenceCount&&this._deleteMessageElement(ue)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const C=this._document.querySelectorAll(`[${It}="${this._id}"]`);for(let I=0;I<C.length;I++)this._removeCdkDescribedByReferenceIds(C[I]),C[I].removeAttribute(It);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(C,I){const $=this._document.createElement("div");Ne($,this._id),$.textContent=C,I&&$.setAttribute("role",I),this._createMessagesContainer(),this._messagesContainer.appendChild($),this._messageRegistry.set(fe(C,I),{messageElement:$,referenceCount:0})}_deleteMessageElement(C){this._messageRegistry.get(C)?.messageElement?.remove(),this._messageRegistry.delete(C)}_createMessagesContainer(){if(this._messagesContainer)return;const C="cdk-describedby-message-container",I=this._document.querySelectorAll(`.${C}[platform="server"]`);for(let ue=0;ue<I.length;ue++)I[ue].remove();const $=this._document.createElement("div");$.style.visibility="hidden",$.classList.add(C),$.classList.add("cdk-visually-hidden"),this._platform&&!this._platform.isBrowser&&$.setAttribute("platform","server"),this._document.body.appendChild($),this._messagesContainer=$}_removeCdkDescribedByReferenceIds(C){const I=Ht(C,"aria-describedby").filter($=>0!=$.indexOf(At));C.setAttribute("aria-describedby",I.join(" "))}_addMessageReference(C,I){const $=this._messageRegistry.get(I);(function qe(ye,x,C){const I=Ht(ye,x);I.some($=>$.trim()==C.trim())||(I.push(C.trim()),ye.setAttribute(x,I.join(" ")))})(C,"aria-describedby",$.messageElement.id),C.setAttribute(It,this._id),$.referenceCount++}_removeMessageReference(C,I){const $=this._messageRegistry.get(I);$.referenceCount--,function pt(ye,x,C){const $=Ht(ye,x).filter(ue=>ue!=C.trim());$.length?ye.setAttribute(x,$.join(" ")):ye.removeAttribute(x)}(C,"aria-describedby",$.messageElement.id),C.removeAttribute(It)}_isElementDescribedByMessage(C,I){const $=Ht(C,"aria-describedby"),ue=this._messageRegistry.get(I),Ke=ue&&ue.messageElement.id;return!!Ke&&-1!=$.indexOf(Ke)}_canBeDescribed(C,I){if(!this._isElementNode(C))return!1;if(I&&"object"==typeof I)return!0;const $=null==I?"":`${I}`.trim(),ue=C.getAttribute("aria-label");return!(!$||ue&&ue.trim()===$)}_isElementNode(C){return C.nodeType===this._document.ELEMENT_NODE}}return ye.\u0275fac=function(C){return new(C||ye)(f.LFG(s.K0),f.LFG(U.t4))},ye.\u0275prov=f.Yz7({token:ye,factory:ye.\u0275fac,providedIn:"root"}),ye})();function fe(ye,x){return"string"==typeof ye?`${x||""}/${ye}`:ye}function Ne(ye,x){ye.id||(ye.id=`${At}-${x}-${Le++}`)}class rt{constructor(x){this._items=x,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new K.x,this._typeaheadSubscription=X.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=C=>C.disabled,this._pressedLetters=[],this.tabOut=new K.x,this.change=new K.x,x instanceof f.n_E&&(this._itemChangesSubscription=x.changes.subscribe(C=>{if(this._activeItem){const $=C.toArray().indexOf(this._activeItem);$>-1&&$!==this._activeItemIndex&&(this._activeItemIndex=$)}}))}skipPredicate(x){return this._skipPredicateFn=x,this}withWrap(x=!0){return this._wrap=x,this}withVerticalOrientation(x=!0){return this._vertical=x,this}withHorizontalOrientation(x){return this._horizontal=x,this}withAllowedModifierKeys(x){return this._allowedModifierKeys=x,this}withTypeAhead(x=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,Q.b)(C=>this._pressedLetters.push(C)),(0,j.b)(x),(0,Y.h)(()=>this._pressedLetters.length>0),(0,W.U)(()=>this._pressedLetters.join(""))).subscribe(C=>{const I=this._getItemsArray();for(let $=1;$<I.length+1;$++){const ue=(this._activeItemIndex+$)%I.length,Ke=I[ue];if(!this._skipPredicateFn(Ke)&&0===Ke.getLabel().toUpperCase().trim().indexOf(C)){this.setActiveItem(ue);break}}this._pressedLetters=[]}),this}cancelTypeahead(){return this._pressedLetters=[],this}withHomeAndEnd(x=!0){return this._homeAndEnd=x,this}withPageUpDown(x=!0,C=10){return this._pageUpAndDown={enabled:x,delta:C},this}setActiveItem(x){const C=this._activeItem;this.updateActiveItem(x),this._activeItem!==C&&this.change.next(this._activeItemIndex)}onKeydown(x){const C=x.keyCode,$=["altKey","ctrlKey","metaKey","shiftKey"].every(ue=>!x[ue]||this._allowedModifierKeys.indexOf(ue)>-1);switch(C){case ee.Mf:return void this.tabOut.next();case ee.JH:if(this._vertical&&$){this.setNextItemActive();break}return;case ee.LH:if(this._vertical&&$){this.setPreviousItemActive();break}return;case ee.SV:if(this._horizontal&&$){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case ee.oh:if(this._horizontal&&$){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case ee.Sd:if(this._homeAndEnd&&$){this.setFirstItemActive();break}return;case ee.uR:if(this._homeAndEnd&&$){this.setLastItemActive();break}return;case ee.Ku:if(this._pageUpAndDown.enabled&&$){const ue=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(ue>0?ue:0,1);break}return;case ee.VM:if(this._pageUpAndDown.enabled&&$){const ue=this._activeItemIndex+this._pageUpAndDown.delta,Ke=this._getItemsArray().length;this._setActiveItemByIndex(ue<Ke?ue:Ke-1,-1);break}return;default:return void(($||(0,ee.Vb)(x,"shiftKey"))&&(x.key&&1===x.key.length?this._letterKeyStream.next(x.key.toLocaleUpperCase()):(C>=ee.A&&C<=ee.Z||C>=ee.xE&&C<=ee.aO)&&this._letterKeyStream.next(String.fromCharCode(C))))}this._pressedLetters=[],x.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(x){const C=this._getItemsArray(),I="number"==typeof x?x:C.indexOf(x);this._activeItem=C[I]??null,this._activeItemIndex=I}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(x){this._wrap?this._setActiveInWrapMode(x):this._setActiveInDefaultMode(x)}_setActiveInWrapMode(x){const C=this._getItemsArray();for(let I=1;I<=C.length;I++){const $=(this._activeItemIndex+x*I+C.length)%C.length;if(!this._skipPredicateFn(C[$]))return void this.setActiveItem($)}}_setActiveInDefaultMode(x){this._setActiveItemByIndex(this._activeItemIndex+x,x)}_setActiveItemByIndex(x,C){const I=this._getItemsArray();if(I[x]){for(;this._skipPredicateFn(I[x]);)if(!I[x+=C])return;this.setActiveItem(x)}}_getItemsArray(){return this._items instanceof f.n_E?this._items.toArray():this._items}}class Ft extends rt{setActiveItem(x){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(x),this.activeItem&&this.activeItem.setActiveStyles()}}class $t extends rt{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(x){return this._origin=x,this}setActiveItem(x){super.setActiveItem(x),this.activeItem&&this.activeItem.focus(this._origin)}}let Kt=(()=>{class ye{constructor(C){this._platform=C}isDisabled(C){return C.hasAttribute("disabled")}isVisible(C){return function vn(ye){return!!(ye.offsetWidth||ye.offsetHeight||"function"==typeof ye.getClientRects&&ye.getClientRects().length)}(C)&&"visible"===getComputedStyle(C).visibility}isTabbable(C){if(!this._platform.isBrowser)return!1;const I=function Wn(ye){try{return ye.frameElement}catch{return null}}(function gn(ye){return ye.ownerDocument&&ye.ownerDocument.defaultView||window}(C));if(I&&(-1===wt(I)||!this.isVisible(I)))return!1;let $=C.nodeName.toLowerCase(),ue=wt(C);return C.hasAttribute("contenteditable")?-1!==ue:!("iframe"===$||"object"===$||this._platform.WEBKIT&&this._platform.IOS&&!function tn(ye){let x=ye.nodeName.toLowerCase(),C="input"===x&&ye.type;return"text"===C||"password"===C||"select"===x||"textarea"===x}(C))&&("audio"===$?!!C.hasAttribute("controls")&&-1!==ue:"video"===$?-1!==ue&&(null!==ue||this._platform.FIREFOX||C.hasAttribute("controls")):C.tabIndex>=0)}isFocusable(C,I){return function $n(ye){return!function In(ye){return function wn(ye){return"input"==ye.nodeName.toLowerCase()}(ye)&&"hidden"==ye.type}(ye)&&(function kn(ye){let x=ye.nodeName.toLowerCase();return"input"===x||"select"===x||"button"===x||"textarea"===x}(ye)||function Xt(ye){return function Gt(ye){return"a"==ye.nodeName.toLowerCase()}(ye)&&ye.hasAttribute("href")}(ye)||ye.hasAttribute("contenteditable")||yt(ye))}(C)&&!this.isDisabled(C)&&(I?.ignoreVisibility||this.isVisible(C))}}return ye.\u0275fac=function(C){return new(C||ye)(f.LFG(U.t4))},ye.\u0275prov=f.Yz7({token:ye,factory:ye.\u0275fac,providedIn:"root"}),ye})();function yt(ye){if(!ye.hasAttribute("tabindex")||void 0===ye.tabIndex)return!1;let x=ye.getAttribute("tabindex");return!(!x||isNaN(parseInt(x,10)))}function wt(ye){if(!yt(ye))return null;const x=parseInt(ye.getAttribute("tabindex")||"",10);return isNaN(x)?-1:x}class bn{get enabled(){return this._enabled}set enabled(x){this._enabled=x,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(x,this._startAnchor),this._toggleAnchorTabIndex(x,this._endAnchor))}constructor(x,C,I,$,ue=!1){this._element=x,this._checker=C,this._ngZone=I,this._document=$,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,ue||this.attachAnchors()}destroy(){const x=this._startAnchor,C=this._endAnchor;x&&(x.removeEventListener("focus",this.startAnchorListener),x.remove()),C&&(C.removeEventListener("focus",this.endAnchorListener),C.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(x){return new Promise(C=>{this._executeOnStable(()=>C(this.focusInitialElement(x)))})}focusFirstTabbableElementWhenReady(x){return new Promise(C=>{this._executeOnStable(()=>C(this.focusFirstTabbableElement(x)))})}focusLastTabbableElementWhenReady(x){return new Promise(C=>{this._executeOnStable(()=>C(this.focusLastTabbableElement(x)))})}_getRegionBoundary(x){const C=this._element.querySelectorAll(`[cdk-focus-region-${x}], [cdkFocusRegion${x}], [cdk-focus-${x}]`);return"start"==x?C.length?C[0]:this._getFirstTabbableElement(this._element):C.length?C[C.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(x){const C=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(C){if(!this._checker.isFocusable(C)){const I=this._getFirstTabbableElement(C);return I?.focus(x),!!I}return C.focus(x),!0}return this.focusFirstTabbableElement(x)}focusFirstTabbableElement(x){const C=this._getRegionBoundary("start");return C&&C.focus(x),!!C}focusLastTabbableElement(x){const C=this._getRegionBoundary("end");return C&&C.focus(x),!!C}hasAttached(){return this._hasAttached}_getFirstTabbableElement(x){if(this._checker.isFocusable(x)&&this._checker.isTabbable(x))return x;const C=x.children;for(let I=0;I<C.length;I++){const $=C[I].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(C[I]):null;if($)return $}return null}_getLastTabbableElement(x){if(this._checker.isFocusable(x)&&this._checker.isTabbable(x))return x;const C=x.children;for(let I=C.length-1;I>=0;I--){const $=C[I].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(C[I]):null;if($)return $}return null}_createAnchor(){const x=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,x),x.classList.add("cdk-visually-hidden"),x.classList.add("cdk-focus-trap-anchor"),x.setAttribute("aria-hidden","true"),x}_toggleAnchorTabIndex(x,C){x?C.setAttribute("tabindex","0"):C.removeAttribute("tabindex")}toggleAnchors(x){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(x,this._startAnchor),this._toggleAnchorTabIndex(x,this._endAnchor))}_executeOnStable(x){this._ngZone.isStable?x():this._ngZone.onStable.pipe((0,xe.q)(1)).subscribe(x)}}let Hn=(()=>{class ye{constructor(C,I,$){this._checker=C,this._ngZone=I,this._document=$}create(C,I=!1){return new bn(C,this._checker,this._ngZone,this._document,I)}}return ye.\u0275fac=function(C){return new(C||ye)(f.LFG(Kt),f.LFG(f.R0b),f.LFG(s.K0))},ye.\u0275prov=f.Yz7({token:ye,factory:ye.\u0275fac,providedIn:"root"}),ye})(),Ot=(()=>{class ye{get enabled(){return this.focusTrap.enabled}set enabled(C){this.focusTrap.enabled=(0,Se.Ig)(C)}get autoCapture(){return this._autoCapture}set autoCapture(C){this._autoCapture=(0,Se.Ig)(C)}constructor(C,I,$){this._elementRef=C,this._focusTrapFactory=I,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(C){const I=C.autoCapture;I&&!I.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,U.ht)(),this.focusTrap.focusInitialElementWhenReady()}}return ye.\u0275fac=function(C){return new(C||ye)(f.Y36(f.SBq),f.Y36(Hn),f.Y36(s.K0))},ye.\u0275dir=f.lG2({type:ye,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[f.TTD]}),ye})();function Re(ye){return 0===ye.buttons||0===ye.offsetX&&0===ye.offsetY}function Ze(ye){const x=ye.touches&&ye.touches[0]||ye.changedTouches&&ye.changedTouches[0];return!(!x||-1!==x.identifier||null!=x.radiusX&&1!==x.radiusX||null!=x.radiusY&&1!==x.radiusY)}const kt=new f.OlP("cdk-input-modality-detector-options"),Mt={ignoreKeys:[ee.zL,ee.jx,ee.b2,ee.MW,ee.JU]},Pt=(0,U.i$)({passive:!0,capture:!0});let Tn=(()=>{class ye{get mostRecentModality(){return this._modality.value}constructor(C,I,$,ue){this._platform=C,this._mostRecentTarget=null,this._modality=new J.X(null),this._lastTouchMs=0,this._onKeydown=Ke=>{this._options?.ignoreKeys?.some(vt=>vt===Ke.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,U.sA)(Ke))},this._onMousedown=Ke=>{Date.now()-this._lastTouchMs<650||(this._modality.next(Re(Ke)?"keyboard":"mouse"),this._mostRecentTarget=(0,U.sA)(Ke))},this._onTouchstart=Ke=>{Ze(Ke)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,U.sA)(Ke))},this._options={...Mt,...ue},this.modalityDetected=this._modality.pipe(Te(1)),this.modalityChanged=this.modalityDetected.pipe((0,$e.x)()),C.isBrowser&&I.runOutsideAngular(()=>{$.addEventListener("keydown",this._onKeydown,Pt),$.addEventListener("mousedown",this._onMousedown,Pt),$.addEventListener("touchstart",this._onTouchstart,Pt)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Pt),document.removeEventListener("mousedown",this._onMousedown,Pt),document.removeEventListener("touchstart",this._onTouchstart,Pt))}}return ye.\u0275fac=function(C){return new(C||ye)(f.LFG(U.t4),f.LFG(f.R0b),f.LFG(s.K0),f.LFG(kt,8))},ye.\u0275prov=f.Yz7({token:ye,factory:ye.\u0275fac,providedIn:"root"}),ye})();const Zn=new f.OlP("liveAnnouncerElement",{providedIn:"root",factory:function lt(){return null}}),ne=new f.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let F=0,M=(()=>{class ye{constructor(C,I,$,ue){this._ngZone=I,this._defaultOptions=ue,this._document=$,this._liveElement=C||this._createLiveElement()}announce(C,...I){const $=this._defaultOptions;let ue,Ke;return 1===I.length&&"number"==typeof I[0]?Ke=I[0]:[ue,Ke]=I,this.clear(),clearTimeout(this._previousTimeout),ue||(ue=$&&$.politeness?$.politeness:"polite"),null==Ke&&$&&(Ke=$.duration),this._liveElement.setAttribute("aria-live",ue),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(vt=>this._currentResolve=vt)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=C,"number"==typeof Ke&&(this._previousTimeout=setTimeout(()=>this.clear(),Ke)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const C="cdk-live-announcer-element",I=this._document.getElementsByClassName(C),$=this._document.createElement("div");for(let ue=0;ue<I.length;ue++)I[ue].remove();return $.classList.add(C),$.classList.add("cdk-visually-hidden"),$.setAttribute("aria-atomic","true"),$.setAttribute("aria-live","polite"),$.id="cdk-live-announcer-"+F++,this._document.body.appendChild($),$}_exposeAnnouncerToModals(C){const I=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let $=0;$<I.length;$++){const ue=I[$],Ke=ue.getAttribute("aria-owns");Ke?-1===Ke.indexOf(C)&&ue.setAttribute("aria-owns",Ke+" "+C):ue.setAttribute("aria-owns",C)}}}return ye.\u0275fac=function(C){return new(C||ye)(f.LFG(Zn,8),f.LFG(f.R0b),f.LFG(s.K0),f.LFG(ne,8))},ye.\u0275prov=f.Yz7({token:ye,factory:ye.\u0275fac,providedIn:"root"}),ye})();const ve=new f.OlP("cdk-focus-monitor-default-options"),L=(0,U.i$)({passive:!0,capture:!0});let G=(()=>{class ye{constructor(C,I,$,ue,Ke){this._ngZone=C,this._platform=I,this._inputModalityDetector=$,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new K.x,this._rootNodeFocusAndBlurListener=vt=>{for(let Mn=(0,U.sA)(vt);Mn;Mn=Mn.parentElement)"focus"===vt.type?this._onFocus(vt,Mn):this._onBlur(vt,Mn)},this._document=ue,this._detectionMode=Ke?.detectionMode||0}monitor(C,I=!1){const $=(0,Se.fI)(C);if(!this._platform.isBrowser||1!==$.nodeType)return(0,oe.of)(null);const ue=(0,U.kV)($)||this._getDocument(),Ke=this._elementInfo.get($);if(Ke)return I&&(Ke.checkChildren=!0),Ke.subject;const vt={checkChildren:I,subject:new K.x,rootNode:ue};return this._elementInfo.set($,vt),this._registerGlobalListeners(vt),vt.subject}stopMonitoring(C){const I=(0,Se.fI)(C),$=this._elementInfo.get(I);$&&($.subject.complete(),this._setClasses(I),this._elementInfo.delete(I),this._removeGlobalListeners($))}focusVia(C,I,$){const ue=(0,Se.fI)(C);ue===this._getDocument().activeElement?this._getClosestElementsInfo(ue).forEach(([vt,Dn])=>this._originChanged(vt,I,Dn)):(this._setOrigin(I),"function"==typeof ue.focus&&ue.focus($))}ngOnDestroy(){this._elementInfo.forEach((C,I)=>this.stopMonitoring(I))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(C){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(C)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:C&&this._isLastInteractionFromInputLabel(C)?"mouse":"program"}_shouldBeAttributedToTouch(C){return 1===this._detectionMode||!!C?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(C,I){C.classList.toggle("cdk-focused",!!I),C.classList.toggle("cdk-touch-focused","touch"===I),C.classList.toggle("cdk-keyboard-focused","keyboard"===I),C.classList.toggle("cdk-mouse-focused","mouse"===I),C.classList.toggle("cdk-program-focused","program"===I)}_setOrigin(C,I=!1){this._ngZone.runOutsideAngular(()=>{this._origin=C,this._originFromTouchInteraction="touch"===C&&I,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(C,I){const $=this._elementInfo.get(I),ue=(0,U.sA)(C);!$||!$.checkChildren&&I!==ue||this._originChanged(I,this._getFocusOrigin(ue),$)}_onBlur(C,I){const $=this._elementInfo.get(I);!$||$.checkChildren&&C.relatedTarget instanceof Node&&I.contains(C.relatedTarget)||(this._setClasses(I),this._emitOrigin($,null))}_emitOrigin(C,I){C.subject.observers.length&&this._ngZone.run(()=>C.subject.next(I))}_registerGlobalListeners(C){if(!this._platform.isBrowser)return;const I=C.rootNode,$=this._rootNodeFocusListenerCount.get(I)||0;$||this._ngZone.runOutsideAngular(()=>{I.addEventListener("focus",this._rootNodeFocusAndBlurListener,L),I.addEventListener("blur",this._rootNodeFocusAndBlurListener,L)}),this._rootNodeFocusListenerCount.set(I,$+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,Ye.R)(this._stopInputModalityDetector)).subscribe(ue=>{this._setOrigin(ue,!0)}))}_removeGlobalListeners(C){const I=C.rootNode;if(this._rootNodeFocusListenerCount.has(I)){const $=this._rootNodeFocusListenerCount.get(I);$>1?this._rootNodeFocusListenerCount.set(I,$-1):(I.removeEventListener("focus",this._rootNodeFocusAndBlurListener,L),I.removeEventListener("blur",this._rootNodeFocusAndBlurListener,L),this._rootNodeFocusListenerCount.delete(I))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(C,I,$){this._setClasses(C,I),this._emitOrigin($,I),this._lastFocusOrigin=I}_getClosestElementsInfo(C){const I=[];return this._elementInfo.forEach(($,ue)=>{(ue===C||$.checkChildren&&ue.contains(C))&&I.push([ue,$])}),I}_isLastInteractionFromInputLabel(C){const{_mostRecentTarget:I,mostRecentModality:$}=this._inputModalityDetector;if("mouse"!==$||!I||I===C||"INPUT"!==C.nodeName&&"TEXTAREA"!==C.nodeName||C.disabled)return!1;const ue=C.labels;if(ue)for(let Ke=0;Ke<ue.length;Ke++)if(ue[Ke].contains(I))return!0;return!1}}return ye.\u0275fac=function(C){return new(C||ye)(f.LFG(f.R0b),f.LFG(U.t4),f.LFG(Tn),f.LFG(s.K0,8),f.LFG(ve,8))},ye.\u0275prov=f.Yz7({token:ye,factory:ye.\u0275fac,providedIn:"root"}),ye})(),de=(()=>{class ye{constructor(C,I){this._elementRef=C,this._focusMonitor=I,this._focusOrigin=null,this.cdkFocusChange=new f.vpe}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const C=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(C,1===C.nodeType&&C.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(I=>{this._focusOrigin=I,this.cdkFocusChange.emit(I)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return ye.\u0275fac=function(C){return new(C||ye)(f.Y36(f.SBq),f.Y36(G))},ye.\u0275dir=f.lG2({type:ye,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]}),ye})();const He="cdk-high-contrast-black-on-white",Ee="cdk-high-contrast-white-on-black",ot="cdk-high-contrast-active";let Nt=(()=>{class ye{constructor(C,I){this._platform=C,this._document=I,this._breakpointSubscription=(0,f.f3M)(re).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const C=this._document.createElement("div");C.style.backgroundColor="rgb(1,2,3)",C.style.position="absolute",this._document.body.appendChild(C);const I=this._document.defaultView||window,$=I&&I.getComputedStyle?I.getComputedStyle(C):null,ue=($&&$.backgroundColor||"").replace(/ /g,"");switch(C.remove(),ue){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const C=this._document.body.classList;C.remove(ot,He,Ee),this._hasCheckedHighContrastMode=!0;const I=this.getHighContrastMode();1===I?C.add(ot,He):2===I&&C.add(ot,Ee)}}}return ye.\u0275fac=function(C){return new(C||ye)(f.LFG(U.t4),f.LFG(s.K0))},ye.\u0275prov=f.Yz7({token:ye,factory:ye.\u0275fac,providedIn:"root"}),ye})(),Bt=(()=>{class ye{constructor(C){C._applyBodyHighContrastModeCssClasses()}}return ye.\u0275fac=function(C){return new(C||ye)(f.LFG(Nt))},ye.\u0275mod=f.oAB({type:ye}),ye.\u0275inj=f.cJS({imports:[Fe.Q8]}),ye})()},445:(it,Ce,D)=>{D.d(Ce,{Is:()=>oe,vT:()=>Q});var s=D(4650),f=D(6895);const U=new s.OlP("cdk-dir-doc",{providedIn:"root",factory:function K(){return(0,s.f3M)(f.K0)}}),X=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let oe=(()=>{class j{constructor(W){this.value="ltr",this.change=new s.vpe,W&&(this.value=function J(j){const Y=j?.toLowerCase()||"";return"auto"===Y&&typeof navigator<"u"&&navigator?.language?X.test(navigator.language)?"rtl":"ltr":"rtl"===Y?"rtl":"ltr"}((W.body?W.body.dir:null)||(W.documentElement?W.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}}return j.\u0275fac=function(W){return new(W||j)(s.LFG(U,8))},j.\u0275prov=s.Yz7({token:j,factory:j.\u0275fac,providedIn:"root"}),j})(),Q=(()=>{class j{}return j.\u0275fac=function(W){return new(W||j)},j.\u0275mod=s.oAB({type:j}),j.\u0275inj=s.cJS({}),j})()},1281:(it,Ce,D)=>{D.d(Ce,{Eq:()=>X,HM:()=>J,Ig:()=>f,du:()=>ee,fI:()=>oe,su:()=>U});var s=D(4650);function f(Q){return null!=Q&&"false"!=`${Q}`}function U(Q,j=0){return function K(Q){return!isNaN(parseFloat(Q))&&!isNaN(Number(Q))}(Q)?Number(Q):j}function X(Q){return Array.isArray(Q)?Q:[Q]}function J(Q){return null==Q?"":"string"==typeof Q?Q:`${Q}px`}function oe(Q){return Q instanceof s.SBq?Q.nativeElement:Q}function ee(Q,j=/\s+/){const Y=[];if(null!=Q){const W=Array.isArray(Q)?Q:`${Q}`.split(j);for(const xe of W){const Te=`${xe}`.trim();Te&&Y.push(Te)}}return Y}},9521:(it,Ce,D)=>{D.d(Ce,{A:()=>Le,JH:()=>De,JU:()=>J,K5:()=>X,Ku:()=>xe,LH:()=>Fe,L_:()=>W,MW:()=>xt,Mf:()=>U,SV:()=>Pe,Sd:()=>Ye,VM:()=>Te,Vb:()=>mr,Z:()=>ut,ZH:()=>f,aO:()=>pt,b2:()=>An,hY:()=>Y,jx:()=>oe,oh:()=>Se,uR:()=>$e,xE:()=>pe,yY:()=>le,zL:()=>ee});const f=8,U=9,X=13,J=16,oe=17,ee=18,Y=27,W=32,xe=33,Te=34,$e=35,Ye=36,Se=37,Fe=38,Pe=39,De=40,le=46,pe=48,pt=57,Le=65,ut=90,xt=91,An=224;function mr(dn,...Or){return Or.length?Or.some(Cr=>dn[Cr]):dn.altKey||dn.shiftKey||dn.ctrlKey||dn.metaKey}},9643:(it,Ce,D)=>{D.d(Ce,{Q8:()=>Q,wD:()=>ee});var s=D(1281),f=D(4650),U=D(9751),K=D(7579),X=D(8372);let J=(()=>{class j{create(W){return typeof MutationObserver>"u"?null:new MutationObserver(W)}}return j.\u0275fac=function(W){return new(W||j)},j.\u0275prov=f.Yz7({token:j,factory:j.\u0275fac,providedIn:"root"}),j})(),oe=(()=>{class j{constructor(W){this._mutationObserverFactory=W,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((W,xe)=>this._cleanupObserver(xe))}observe(W){const xe=(0,s.fI)(W);return new U.y(Te=>{const Ye=this._observeElement(xe).subscribe(Te);return()=>{Ye.unsubscribe(),this._unobserveElement(xe)}})}_observeElement(W){if(this._observedElements.has(W))this._observedElements.get(W).count++;else{const xe=new K.x,Te=this._mutationObserverFactory.create($e=>xe.next($e));Te&&Te.observe(W,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(W,{observer:Te,stream:xe,count:1})}return this._observedElements.get(W).stream}_unobserveElement(W){this._observedElements.has(W)&&(this._observedElements.get(W).count--,this._observedElements.get(W).count||this._cleanupObserver(W))}_cleanupObserver(W){if(this._observedElements.has(W)){const{observer:xe,stream:Te}=this._observedElements.get(W);xe&&xe.disconnect(),Te.complete(),this._observedElements.delete(W)}}}return j.\u0275fac=function(W){return new(W||j)(f.LFG(J))},j.\u0275prov=f.Yz7({token:j,factory:j.\u0275fac,providedIn:"root"}),j})(),ee=(()=>{class j{get disabled(){return this._disabled}set disabled(W){this._disabled=(0,s.Ig)(W),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(W){this._debounce=(0,s.su)(W),this._subscribe()}constructor(W,xe,Te){this._contentObserver=W,this._elementRef=xe,this._ngZone=Te,this.event=new f.vpe,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const W=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?W.pipe((0,X.b)(this.debounce)):W).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}}return j.\u0275fac=function(W){return new(W||j)(f.Y36(oe),f.Y36(f.SBq),f.Y36(f.R0b))},j.\u0275dir=f.lG2({type:j,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),j})(),Q=(()=>{class j{}return j.\u0275fac=function(W){return new(W||j)},j.\u0275mod=f.oAB({type:j}),j.\u0275inj=f.cJS({providers:[J]}),j})()},3353:(it,Ce,D)=>{D.d(Ce,{Mq:()=>Te,Oy:()=>Me,_i:()=>$e,ht:()=>Pe,i$:()=>Y,kV:()=>Fe,qK:()=>ee,sA:()=>De,t4:()=>K});var s=D(4650),f=D(6895);let U;try{U=typeof Intl<"u"&&Intl.v8BreakIterator}catch{U=!1}let J,K=(()=>{class H{constructor(le){this._platformId=le,this.isBrowser=this._platformId?(0,f.NF)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!U)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return H.\u0275fac=function(le){return new(le||H)(s.LFG(s.Lbi))},H.\u0275prov=s.Yz7({token:H,factory:H.\u0275fac,providedIn:"root"}),H})();const oe=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function ee(){if(J)return J;if("object"!=typeof document||!document)return J=new Set(oe),J;let H=document.createElement("input");return J=new Set(oe.filter(ae=>(H.setAttribute("type",ae),H.type===ae))),J}let Q,W,xe,Ye;function Y(H){return function j(){if(null==Q&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Q=!0}))}finally{Q=Q||!1}return Q}()?H:!!H.capture}function Te(){if(null==xe){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return xe=!1,xe;if("scrollBehavior"in document.documentElement.style)xe=!0;else{const H=Element.prototype.scrollTo;xe=!!H&&!/\{\s*\[native code\]\s*\}/.test(H.toString())}}return xe}function $e(){if("object"!=typeof document||!document)return 0;if(null==W){const H=document.createElement("div"),ae=H.style;H.dir="rtl",ae.width="1px",ae.overflow="auto",ae.visibility="hidden",ae.pointerEvents="none",ae.position="absolute";const le=document.createElement("div"),pe=le.style;pe.width="2px",pe.height="1px",H.appendChild(le),document.body.appendChild(H),W=0,0===H.scrollLeft&&(H.scrollLeft=1,W=0===H.scrollLeft?1:2),H.remove()}return W}function Fe(H){if(function Se(){if(null==Ye){const H=typeof document<"u"?document.head:null;Ye=!(!H||!H.createShadowRoot&&!H.attachShadow)}return Ye}()){const ae=H.getRootNode?H.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&ae instanceof ShadowRoot)return ae}return null}function Pe(){let H=typeof document<"u"&&document?document.activeElement:null;for(;H&&H.shadowRoot;){const ae=H.shadowRoot.activeElement;if(ae===H)break;H=ae}return H}function De(H){return H.composedPath?H.composedPath()[0]:H.target}function Me(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},6895:(it,Ce,D)=>{D.d(Ce,{$G:()=>Vn,Do:()=>Pe,ED:()=>dr,EM:()=>ai,HT:()=>K,JF:()=>Yi,JJ:()=>yo,K0:()=>J,Mx:()=>tr,NF:()=>jn,O5:()=>Cr,Ov:()=>hr,PC:()=>hi,PM:()=>rn,RF:()=>$i,S$:()=>Ye,Ts:()=>Ai,V_:()=>Q,Ye:()=>De,Zd:()=>Ri,b0:()=>Fe,bD:()=>Xe,ez:()=>ke,mk:()=>Vt,n9:()=>nr,q:()=>U,sg:()=>mr,tP:()=>Vi,uU:()=>Rr,w_:()=>X});var s=D(4650);let f=null;function U(){return f}function K(g){f||(f=g)}class X{}const J=new s.OlP("DocumentToken");let oe=(()=>{class g{historyGo(y){throw new Error("Not implemented")}}return g.\u0275fac=function(y){return new(y||g)},g.\u0275prov=s.Yz7({token:g,factory:function(){return function ee(){return(0,s.LFG)(j)}()},providedIn:"platform"}),g})();const Q=new s.OlP("Location Initialized");let j=(()=>{class g extends oe{constructor(y){super(),this._doc=y,this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return U().getBaseHref(this._doc)}onPopState(y){const P=U().getGlobalEventTarget(this._doc,"window");return P.addEventListener("popstate",y,!1),()=>P.removeEventListener("popstate",y)}onHashChange(y){const P=U().getGlobalEventTarget(this._doc,"window");return P.addEventListener("hashchange",y,!1),()=>P.removeEventListener("hashchange",y)}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(y){this._location.pathname=y}pushState(y,P,te){Y()?this._history.pushState(y,P,te):this._location.hash=te}replaceState(y,P,te){Y()?this._history.replaceState(y,P,te):this._location.hash=te}forward(){this._history.forward()}back(){this._history.back()}historyGo(y=0){this._history.go(y)}getState(){return this._history.state}}return g.\u0275fac=function(y){return new(y||g)(s.LFG(J))},g.\u0275prov=s.Yz7({token:g,factory:function(){return function W(){return new j((0,s.LFG)(J))}()},providedIn:"platform"}),g})();function Y(){return!!window.history.pushState}function xe(g,A){if(0==g.length)return A;if(0==A.length)return g;let y=0;return g.endsWith("/")&&y++,A.startsWith("/")&&y++,2==y?g+A.substring(1):1==y?g+A:g+"/"+A}function Te(g){const A=g.match(/#|\?|$/),y=A&&A.index||g.length;return g.slice(0,y-("/"===g[y-1]?1:0))+g.slice(y)}function $e(g){return g&&"?"!==g[0]?"?"+g:g}let Ye=(()=>{class g{historyGo(y){throw new Error("Not implemented")}}return g.\u0275fac=function(y){return new(y||g)},g.\u0275prov=s.Yz7({token:g,factory:function(){return(0,s.f3M)(Fe)},providedIn:"root"}),g})();const Se=new s.OlP("appBaseHref");let Fe=(()=>{class g extends Ye{constructor(y,P){super(),this._platformLocation=y,this._removeListenerFns=[],this._baseHref=P??this._platformLocation.getBaseHrefFromDOM()??(0,s.f3M)(J).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(y){this._removeListenerFns.push(this._platformLocation.onPopState(y),this._platformLocation.onHashChange(y))}getBaseHref(){return this._baseHref}prepareExternalUrl(y){return xe(this._baseHref,y)}path(y=!1){const P=this._platformLocation.pathname+$e(this._platformLocation.search),te=this._platformLocation.hash;return te&&y?`${P}${te}`:P}pushState(y,P,te,je){const Ge=this.prepareExternalUrl(te+$e(je));this._platformLocation.pushState(y,P,Ge)}replaceState(y,P,te,je){const Ge=this.prepareExternalUrl(te+$e(je));this._platformLocation.replaceState(y,P,Ge)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(y=0){this._platformLocation.historyGo?.(y)}}return g.\u0275fac=function(y){return new(y||g)(s.LFG(oe),s.LFG(Se,8))},g.\u0275prov=s.Yz7({token:g,factory:g.\u0275fac,providedIn:"root"}),g})(),Pe=(()=>{class g extends Ye{constructor(y,P){super(),this._platformLocation=y,this._baseHref="",this._removeListenerFns=[],null!=P&&(this._baseHref=P)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(y){this._removeListenerFns.push(this._platformLocation.onPopState(y),this._platformLocation.onHashChange(y))}getBaseHref(){return this._baseHref}path(y=!1){let P=this._platformLocation.hash;return null==P&&(P="#"),P.length>0?P.substring(1):P}prepareExternalUrl(y){const P=xe(this._baseHref,y);return P.length>0?"#"+P:P}pushState(y,P,te,je){let Ge=this.prepareExternalUrl(te+$e(je));0==Ge.length&&(Ge=this._platformLocation.pathname),this._platformLocation.pushState(y,P,Ge)}replaceState(y,P,te,je){let Ge=this.prepareExternalUrl(te+$e(je));0==Ge.length&&(Ge=this._platformLocation.pathname),this._platformLocation.replaceState(y,P,Ge)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(y=0){this._platformLocation.historyGo?.(y)}}return g.\u0275fac=function(y){return new(y||g)(s.LFG(oe),s.LFG(Se,8))},g.\u0275prov=s.Yz7({token:g,factory:g.\u0275fac}),g})(),De=(()=>{class g{constructor(y){this._subject=new s.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=y;const P=this._locationStrategy.getBaseHref();this._basePath=function le(g){if(new RegExp("^(https?:)?//").test(g)){const[,y]=g.split(/\/\/[^\/]+/);return y}return g}(Te(ae(P))),this._locationStrategy.onPopState(te=>{this._subject.emit({url:this.path(!0),pop:!0,state:te.state,type:te.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(y=!1){return this.normalize(this._locationStrategy.path(y))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(y,P=""){return this.path()==this.normalize(y+$e(P))}normalize(y){return g.stripTrailingSlash(function H(g,A){return g&&new RegExp(`^${g}([/;?#]|$)`).test(A)?A.substring(g.length):A}(this._basePath,ae(y)))}prepareExternalUrl(y){return y&&"/"!==y[0]&&(y="/"+y),this._locationStrategy.prepareExternalUrl(y)}go(y,P="",te=null){this._locationStrategy.pushState(te,"",y,P),this._notifyUrlChangeListeners(this.prepareExternalUrl(y+$e(P)),te)}replaceState(y,P="",te=null){this._locationStrategy.replaceState(te,"",y,P),this._notifyUrlChangeListeners(this.prepareExternalUrl(y+$e(P)),te)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(y=0){this._locationStrategy.historyGo?.(y)}onUrlChange(y){return this._urlChangeListeners.push(y),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(P=>{this._notifyUrlChangeListeners(P.url,P.state)})),()=>{const P=this._urlChangeListeners.indexOf(y);this._urlChangeListeners.splice(P,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(y="",P){this._urlChangeListeners.forEach(te=>te(y,P))}subscribe(y,P,te){return this._subject.subscribe({next:y,error:P,complete:te})}}return g.normalizeQueryParams=$e,g.joinWithSlash=xe,g.stripTrailingSlash=Te,g.\u0275fac=function(y){return new(y||g)(s.LFG(Ye))},g.\u0275prov=s.Yz7({token:g,factory:function(){return function Me(){return new De((0,s.LFG)(Ye))}()},providedIn:"root"}),g})();function ae(g){return g.replace(/\/index.html$/,"")}var se=(()=>((se=se||{})[se.Decimal=0]="Decimal",se[se.Percent=1]="Percent",se[se.Currency=2]="Currency",se[se.Scientific=3]="Scientific",se))(),Z=(()=>((Z=Z||{})[Z.Format=0]="Format",Z[Z.Standalone=1]="Standalone",Z))(),re=(()=>((re=re||{})[re.Narrow=0]="Narrow",re[re.Abbreviated=1]="Abbreviated",re[re.Wide=2]="Wide",re[re.Short=3]="Short",re))(),Ie=(()=>((Ie=Ie||{})[Ie.Short=0]="Short",Ie[Ie.Medium=1]="Medium",Ie[Ie.Long=2]="Long",Ie[Ie.Full=3]="Full",Ie))(),me=(()=>((me=me||{})[me.Decimal=0]="Decimal",me[me.Group=1]="Group",me[me.List=2]="List",me[me.PercentSign=3]="PercentSign",me[me.PlusSign=4]="PlusSign",me[me.MinusSign=5]="MinusSign",me[me.Exponential=6]="Exponential",me[me.SuperscriptingExponent=7]="SuperscriptingExponent",me[me.PerMille=8]="PerMille",me[me.Infinity=9]="Infinity",me[me.NaN=10]="NaN",me[me.TimeSeparator=11]="TimeSeparator",me[me.CurrencyDecimal=12]="CurrencyDecimal",me[me.CurrencyGroup=13]="CurrencyGroup",me))();function et(g,A){return Gt((0,s.cg1)(g)[s.wAp.DateFormat],A)}function fe(g,A){return Gt((0,s.cg1)(g)[s.wAp.TimeFormat],A)}function Ne(g,A){return Gt((0,s.cg1)(g)[s.wAp.DateTimeFormat],A)}function rt(g,A){const y=(0,s.cg1)(g),P=y[s.wAp.NumberSymbols][A];if(typeof P>"u"){if(A===me.CurrencyDecimal)return y[s.wAp.NumberSymbols][me.Decimal];if(A===me.CurrencyGroup)return y[s.wAp.NumberSymbols][me.Group]}return P}function kn(g){if(!g[s.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${g[s.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Gt(g,A){for(let y=A;y>-1;y--)if(typeof g[y]<"u")return g[y];throw new Error("Locale data API: locale data undefined")}function yt(g){const[A,y]=g.split(":");return{hours:+A,minutes:+y}}const gn=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,bn={},Hn=/((?:[^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]*)/;var Ot=(()=>((Ot=Ot||{})[Ot.Short=0]="Short",Ot[Ot.ShortGMT=1]="ShortGMT",Ot[Ot.Long=2]="Long",Ot[Ot.Extended=3]="Extended",Ot))(),Tt=(()=>((Tt=Tt||{})[Tt.FullYear=0]="FullYear",Tt[Tt.Month=1]="Month",Tt[Tt.Date=2]="Date",Tt[Tt.Hours=3]="Hours",Tt[Tt.Minutes=4]="Minutes",Tt[Tt.Seconds=5]="Seconds",Tt[Tt.FractionalSeconds=6]="FractionalSeconds",Tt[Tt.Day=7]="Day",Tt))(),ut=(()=>((ut=ut||{})[ut.DayPeriods=0]="DayPeriods",ut[ut.Days=1]="Days",ut[ut.Months=2]="Months",ut[ut.Eras=3]="Eras",ut))();function xt(g,A,y,P){let te=function ot(g){if(Bt(g))return g;if("number"==typeof g&&!isNaN(g))return new Date(g);if("string"==typeof g){if(g=g.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(g)){const[te,je=1,Ge=1]=g.split("-").map(mt=>+mt);return ze(te,je-1,Ge)}const y=parseFloat(g);if(!isNaN(g-y))return new Date(y);let P;if(P=g.match(gn))return function Nt(g){const A=new Date(0);let y=0,P=0;const te=g[8]?A.setUTCFullYear:A.setFullYear,je=g[8]?A.setUTCHours:A.setHours;g[9]&&(y=Number(g[9]+g[10]),P=Number(g[9]+g[11])),te.call(A,Number(g[1]),Number(g[2])-1,Number(g[3]));const Ge=Number(g[4]||0)-y,mt=Number(g[5]||0)-P,Rn=Number(g[6]||0),Cn=Math.floor(1e3*parseFloat("0."+(g[7]||0)));return je.call(A,Ge,mt,Rn,Cn),A}(P)}const A=new Date(g);if(!Bt(A))throw new Error(`Unable to convert "${g}" into a date`);return A}(g);A=ft(y,A)||A;let mt,Ge=[];for(;A;){if(mt=Hn.exec(A),!mt){Ge.push(A);break}{Ge=Ge.concat(mt.slice(1));const On=Ge.pop();if(!On)break;A=On}}let Rn=te.getTimezoneOffset();P&&(Rn=de(P,Rn),te=function Ee(g,A,y){const P=y?-1:1,te=g.getTimezoneOffset();return function He(g,A){return(g=new Date(g.getTime())).setMinutes(g.getMinutes()+A),g}(g,P*(de(A,te)-te))}(te,P,!0));let Cn="";return Ge.forEach(On=>{const un=function G(g){if(L[g])return L[g];let A;switch(g){case"G":case"GG":case"GGG":A=Pt(ut.Eras,re.Abbreviated);break;case"GGGG":A=Pt(ut.Eras,re.Wide);break;case"GGGGG":A=Pt(ut.Eras,re.Narrow);break;case"y":A=Mt(Tt.FullYear,1,0,!1,!0);break;case"yy":A=Mt(Tt.FullYear,2,0,!0,!0);break;case"yyy":A=Mt(Tt.FullYear,3,0,!1,!0);break;case"yyyy":A=Mt(Tt.FullYear,4,0,!1,!0);break;case"Y":A=ve(1);break;case"YY":A=ve(2,!0);break;case"YYY":A=ve(3);break;case"YYYY":A=ve(4);break;case"M":case"L":A=Mt(Tt.Month,1,1);break;case"MM":case"LL":A=Mt(Tt.Month,2,1);break;case"MMM":A=Pt(ut.Months,re.Abbreviated);break;case"MMMM":A=Pt(ut.Months,re.Wide);break;case"MMMMM":A=Pt(ut.Months,re.Narrow);break;case"LLL":A=Pt(ut.Months,re.Abbreviated,Z.Standalone);break;case"LLLL":A=Pt(ut.Months,re.Wide,Z.Standalone);break;case"LLLLL":A=Pt(ut.Months,re.Narrow,Z.Standalone);break;case"w":A=R(1);break;case"ww":A=R(2);break;case"W":A=R(1,!0);break;case"d":A=Mt(Tt.Date,1);break;case"dd":A=Mt(Tt.Date,2);break;case"c":case"cc":A=Mt(Tt.Day,1);break;case"ccc":A=Pt(ut.Days,re.Abbreviated,Z.Standalone);break;case"cccc":A=Pt(ut.Days,re.Wide,Z.Standalone);break;case"ccccc":A=Pt(ut.Days,re.Narrow,Z.Standalone);break;case"cccccc":A=Pt(ut.Days,re.Short,Z.Standalone);break;case"E":case"EE":case"EEE":A=Pt(ut.Days,re.Abbreviated);break;case"EEEE":A=Pt(ut.Days,re.Wide);break;case"EEEEE":A=Pt(ut.Days,re.Narrow);break;case"EEEEEE":A=Pt(ut.Days,re.Short);break;case"a":case"aa":case"aaa":A=Pt(ut.DayPeriods,re.Abbreviated);break;case"aaaa":A=Pt(ut.DayPeriods,re.Wide);break;case"aaaaa":A=Pt(ut.DayPeriods,re.Narrow);break;case"b":case"bb":case"bbb":A=Pt(ut.DayPeriods,re.Abbreviated,Z.Standalone,!0);break;case"bbbb":A=Pt(ut.DayPeriods,re.Wide,Z.Standalone,!0);break;case"bbbbb":A=Pt(ut.DayPeriods,re.Narrow,Z.Standalone,!0);break;case"B":case"BB":case"BBB":A=Pt(ut.DayPeriods,re.Abbreviated,Z.Format,!0);break;case"BBBB":A=Pt(ut.DayPeriods,re.Wide,Z.Format,!0);break;case"BBBBB":A=Pt(ut.DayPeriods,re.Narrow,Z.Format,!0);break;case"h":A=Mt(Tt.Hours,1,-12);break;case"hh":A=Mt(Tt.Hours,2,-12);break;case"H":A=Mt(Tt.Hours,1);break;case"HH":A=Mt(Tt.Hours,2);break;case"m":A=Mt(Tt.Minutes,1);break;case"mm":A=Mt(Tt.Minutes,2);break;case"s":A=Mt(Tt.Seconds,1);break;case"ss":A=Mt(Tt.Seconds,2);break;case"S":A=Mt(Tt.FractionalSeconds,1);break;case"SS":A=Mt(Tt.FractionalSeconds,2);break;case"SSS":A=Mt(Tt.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":A=Zn(Ot.Short);break;case"ZZZZZ":A=Zn(Ot.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":A=Zn(Ot.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":A=Zn(Ot.Long);break;default:return null}return L[g]=A,A}(On);Cn+=un?un(te,y,Rn):"''"===On?"'":On.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Cn}function ze(g,A,y){const P=new Date(0);return P.setFullYear(g,A,y),P.setHours(0,0,0),P}function ft(g,A){const y=function qe(g){return(0,s.cg1)(g)[s.wAp.LocaleId]}(g);if(bn[y]=bn[y]||{},bn[y][A])return bn[y][A];let P="";switch(A){case"shortDate":P=et(g,Ie.Short);break;case"mediumDate":P=et(g,Ie.Medium);break;case"longDate":P=et(g,Ie.Long);break;case"fullDate":P=et(g,Ie.Full);break;case"shortTime":P=fe(g,Ie.Short);break;case"mediumTime":P=fe(g,Ie.Medium);break;case"longTime":P=fe(g,Ie.Long);break;case"fullTime":P=fe(g,Ie.Full);break;case"short":const te=ft(g,"shortTime"),je=ft(g,"shortDate");P=Re(Ne(g,Ie.Short),[te,je]);break;case"medium":const Ge=ft(g,"mediumTime"),mt=ft(g,"mediumDate");P=Re(Ne(g,Ie.Medium),[Ge,mt]);break;case"long":const Rn=ft(g,"longTime"),Cn=ft(g,"longDate");P=Re(Ne(g,Ie.Long),[Rn,Cn]);break;case"full":const On=ft(g,"fullTime"),un=ft(g,"fullDate");P=Re(Ne(g,Ie.Full),[On,un])}return P&&(bn[y][A]=P),P}function Re(g,A){return A&&(g=g.replace(/\{([^}]+)}/g,function(y,P){return null!=A&&P in A?A[P]:y})),g}function Ze(g,A,y="-",P,te){let je="";(g<0||te&&g<=0)&&(te?g=1-g:(g=-g,je=y));let Ge=String(g);for(;Ge.length<A;)Ge="0"+Ge;return P&&(Ge=Ge.slice(Ge.length-A)),je+Ge}function Mt(g,A,y=0,P=!1,te=!1){return function(je,Ge){let mt=function Yn(g,A){switch(g){case Tt.FullYear:return A.getFullYear();case Tt.Month:return A.getMonth();case Tt.Date:return A.getDate();case Tt.Hours:return A.getHours();case Tt.Minutes:return A.getMinutes();case Tt.Seconds:return A.getSeconds();case Tt.FractionalSeconds:return A.getMilliseconds();case Tt.Day:return A.getDay();default:throw new Error(`Unknown DateType value "${g}".`)}}(g,je);if((y>0||mt>-y)&&(mt+=y),g===Tt.Hours)0===mt&&-12===y&&(mt=12);else if(g===Tt.FractionalSeconds)return function kt(g,A){return Ze(g,3).substring(0,A)}(mt,A);const Rn=rt(Ge,me.MinusSign);return Ze(mt,A,Rn,P,te)}}function Pt(g,A,y=Z.Format,P=!1){return function(te,je){return function Tn(g,A,y,P,te,je){switch(y){case ut.Months:return function en(g,A,y){const P=(0,s.cg1)(g),je=Gt([P[s.wAp.MonthsFormat],P[s.wAp.MonthsStandalone]],A);return Gt(je,y)}(A,te,P)[g.getMonth()];case ut.Days:return function Ht(g,A,y){const P=(0,s.cg1)(g),je=Gt([P[s.wAp.DaysFormat],P[s.wAp.DaysStandalone]],A);return Gt(je,y)}(A,te,P)[g.getDay()];case ut.DayPeriods:const Ge=g.getHours(),mt=g.getMinutes();if(je){const Cn=function In(g){const A=(0,s.cg1)(g);return kn(A),(A[s.wAp.ExtraData][2]||[]).map(P=>"string"==typeof P?yt(P):[yt(P[0]),yt(P[1])])}(A),On=function Xt(g,A,y){const P=(0,s.cg1)(g);kn(P);const je=Gt([P[s.wAp.ExtraData][0],P[s.wAp.ExtraData][1]],A)||[];return Gt(je,y)||[]}(A,te,P),un=Cn.findIndex(ar=>{if(Array.isArray(ar)){const[Gn,ir]=ar,pi=Ge>=Gn.hours&&mt>=Gn.minutes,ri=Ge<ir.hours||Ge===ir.hours&&mt<ir.minutes;if(Gn.hours<ir.hours){if(pi&&ri)return!0}else if(pi||ri)return!0}else if(ar.hours===Ge&&ar.minutes===mt)return!0;return!1});if(-1!==un)return On[un]}return function pt(g,A,y){const P=(0,s.cg1)(g),je=Gt([P[s.wAp.DayPeriodsFormat],P[s.wAp.DayPeriodsStandalone]],A);return Gt(je,y)}(A,te,P)[Ge<12?0:1];case ut.Eras:return function At(g,A){return Gt((0,s.cg1)(g)[s.wAp.Eras],A)}(A,P)[g.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${y}`)}}(te,je,g,A,y,P)}}function Zn(g){return function(A,y,P){const te=-1*P,je=rt(y,me.MinusSign),Ge=te>0?Math.floor(te/60):Math.ceil(te/60);switch(g){case Ot.Short:return(te>=0?"+":"")+Ze(Ge,2,je)+Ze(Math.abs(te%60),2,je);case Ot.ShortGMT:return"GMT"+(te>=0?"+":"")+Ze(Ge,1,je);case Ot.Long:return"GMT"+(te>=0?"+":"")+Ze(Ge,2,je)+":"+Ze(Math.abs(te%60),2,je);case Ot.Extended:return 0===P?"Z":(te>=0?"+":"")+Ze(Ge,2,je)+":"+Ze(Math.abs(te%60),2,je);default:throw new Error(`Unknown zone width "${g}"`)}}}function M(g){return ze(g.getFullYear(),g.getMonth(),g.getDate()+(4-g.getDay()))}function R(g,A=!1){return function(y,P){let te;if(A){const je=new Date(y.getFullYear(),y.getMonth(),1).getDay()-1,Ge=y.getDate();te=1+Math.floor((Ge+je)/7)}else{const je=M(y),Ge=function F(g){const A=ze(g,0,1).getDay();return ze(g,0,1+(A<=4?4:11)-A)}(je.getFullYear()),mt=je.getTime()-Ge.getTime();te=1+Math.round(mt/6048e5)}return Ze(te,g,rt(P,me.MinusSign))}}function ve(g,A=!1){return function(y,P){return Ze(M(y).getFullYear(),g,rt(P,me.MinusSign),A)}}const L={};function de(g,A){g=g.replace(/:/g,"");const y=Date.parse("Jan 01, 1970 00:00:00 "+g)/6e4;return isNaN(y)?A:y}function Bt(g){return g instanceof Date&&!isNaN(g.valueOf())}const ye=/^(\d+)?\.((\d+)(-(\d+))?)?$/,C=".",I="0";function ji(g){const A=parseInt(g);if(isNaN(A))throw new Error("Invalid integer literal when parsing "+g);return A}function tr(g,A){A=encodeURIComponent(A);for(const y of g.split(";")){const P=y.indexOf("="),[te,je]=-1==P?[y,""]:[y.slice(0,P),y.slice(P+1)];if(te.trim()===A)return decodeURIComponent(je)}return null}const xr=/\s+/,gt=[];let Vt=(()=>{class g{constructor(y,P,te,je){this._iterableDiffers=y,this._keyValueDiffers=P,this._ngEl=te,this._renderer=je,this.initialClasses=gt,this.stateMap=new Map}set klass(y){this.initialClasses=null!=y?y.trim().split(xr):gt}set ngClass(y){this.rawClass="string"==typeof y?y.trim().split(xr):y}ngDoCheck(){for(const P of this.initialClasses)this._updateState(P,!0);const y=this.rawClass;if(Array.isArray(y)||y instanceof Set)for(const P of y)this._updateState(P,!0);else if(null!=y)for(const P of Object.keys(y))this._updateState(P,Boolean(y[P]));this._applyStateDiff()}_updateState(y,P){const te=this.stateMap.get(y);void 0!==te?(te.enabled!==P&&(te.changed=!0,te.enabled=P),te.touched=!0):this.stateMap.set(y,{enabled:P,changed:!0,touched:!0})}_applyStateDiff(){for(const y of this.stateMap){const P=y[0],te=y[1];te.changed?(this._toggleClass(P,te.enabled),te.changed=!1):te.touched||(te.enabled&&this._toggleClass(P,!1),this.stateMap.delete(P)),te.touched=!1}}_toggleClass(y,P){(y=y.trim()).length>0&&y.split(xr).forEach(te=>{P?this._renderer.addClass(this._ngEl.nativeElement,te):this._renderer.removeClass(this._ngEl.nativeElement,te)})}}return g.\u0275fac=function(y){return new(y||g)(s.Y36(s.ZZ4),s.Y36(s.aQg),s.Y36(s.SBq),s.Y36(s.Qsj))},g.\u0275dir=s.lG2({type:g,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),g})(),Vn=(()=>{class g{constructor(y){this._viewContainerRef=y,this.ngComponentOutlet=null}ngOnChanges(y){const{_viewContainerRef:P,ngComponentOutletNgModule:te,ngComponentOutletNgModuleFactory:je}=this;if(P.clear(),this._componentRef=void 0,this.ngComponentOutlet){const Ge=this.ngComponentOutletInjector||P.parentInjector;(y.ngComponentOutletNgModule||y.ngComponentOutletNgModuleFactory)&&(this._moduleRef&&this._moduleRef.destroy(),this._moduleRef=te?(0,s.Lck)(te,ur(Ge)):je?je.create(ur(Ge)):void 0),this._componentRef=P.createComponent(this.ngComponentOutlet,{index:P.length,injector:Ge,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngOnDestroy(){this._moduleRef&&this._moduleRef.destroy()}}return g.\u0275fac=function(y){return new(y||g)(s.Y36(s.s_b))},g.\u0275dir=s.lG2({type:g,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[s.TTD]}),g})();function ur(g){return g.get(s.h0i).injector}class An{constructor(A,y,P,te){this.$implicit=A,this.ngForOf=y,this.index=P,this.count=te}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let mr=(()=>{class g{set ngForOf(y){this._ngForOf=y,this._ngForOfDirty=!0}set ngForTrackBy(y){this._trackByFn=y}get ngForTrackBy(){return this._trackByFn}constructor(y,P,te){this._viewContainer=y,this._template=P,this._differs=te,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(y){y&&(this._template=y)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const y=this._ngForOf;!this._differ&&y&&(this._differ=this._differs.find(y).create(this.ngForTrackBy))}if(this._differ){const y=this._differ.diff(this._ngForOf);y&&this._applyChanges(y)}}_applyChanges(y){const P=this._viewContainer;y.forEachOperation((te,je,Ge)=>{if(null==te.previousIndex)P.createEmbeddedView(this._template,new An(te.item,this._ngForOf,-1,-1),null===Ge?void 0:Ge);else if(null==Ge)P.remove(null===je?void 0:je);else if(null!==je){const mt=P.get(je);P.move(mt,Ge),dn(mt,te)}});for(let te=0,je=P.length;te<je;te++){const mt=P.get(te).context;mt.index=te,mt.count=je,mt.ngForOf=this._ngForOf}y.forEachIdentityChange(te=>{dn(P.get(te.currentIndex),te)})}static ngTemplateContextGuard(y,P){return!0}}return g.\u0275fac=function(y){return new(y||g)(s.Y36(s.s_b),s.Y36(s.Rgc),s.Y36(s.ZZ4))},g.\u0275dir=s.lG2({type:g,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),g})();function dn(g,A){g.context.$implicit=A.item}let Cr=(()=>{class g{constructor(y,P){this._viewContainer=y,this._context=new nn,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=P}set ngIf(y){this._context.$implicit=this._context.ngIf=y,this._updateView()}set ngIfThen(y){Ti("ngIfThen",y),this._thenTemplateRef=y,this._thenViewRef=null,this._updateView()}set ngIfElse(y){Ti("ngIfElse",y),this._elseTemplateRef=y,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(y,P){return!0}}return g.\u0275fac=function(y){return new(y||g)(s.Y36(s.s_b),s.Y36(s.Rgc))},g.\u0275dir=s.lG2({type:g,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),g})();class nn{constructor(){this.$implicit=null,this.ngIf=null}}function Ti(g,A){if(A&&!A.createEmbeddedView)throw new Error(`${g} must be a TemplateRef, but received '${(0,s.AaK)(A)}'.`)}class Mi{constructor(A,y){this._viewContainerRef=A,this._templateRef=y,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(A){A&&!this._created?this.create():!A&&this._created&&this.destroy()}}let $i=(()=>{class g{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(y){this._ngSwitch=y,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(y){this._defaultViews.push(y)}_matchCase(y){const P=y==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||P,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),P}_updateDefaultCases(y){if(this._defaultViews.length>0&&y!==this._defaultUsed){this._defaultUsed=y;for(const P of this._defaultViews)P.enforceState(y)}}}return g.\u0275fac=function(y){return new(y||g)},g.\u0275dir=s.lG2({type:g,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),g})(),nr=(()=>{class g{constructor(y,P,te){this.ngSwitch=te,te._addCase(),this._view=new Mi(y,P)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return g.\u0275fac=function(y){return new(y||g)(s.Y36(s.s_b),s.Y36(s.Rgc),s.Y36($i,9))},g.\u0275dir=s.lG2({type:g,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),g})(),dr=(()=>{class g{constructor(y,P,te){te._addDefault(new Mi(y,P))}}return g.\u0275fac=function(y){return new(y||g)(s.Y36(s.s_b),s.Y36(s.Rgc),s.Y36($i,9))},g.\u0275dir=s.lG2({type:g,selectors:[["","ngSwitchDefault",""]],standalone:!0}),g})(),hi=(()=>{class g{constructor(y,P,te){this._ngEl=y,this._differs=P,this._renderer=te,this._ngStyle=null,this._differ=null}set ngStyle(y){this._ngStyle=y,!this._differ&&y&&(this._differ=this._differs.find(y).create())}ngDoCheck(){if(this._differ){const y=this._differ.diff(this._ngStyle);y&&this._applyChanges(y)}}_setStyle(y,P){const[te,je]=y.split("."),Ge=-1===te.indexOf("-")?void 0:s.JOm.DashCase;null!=P?this._renderer.setStyle(this._ngEl.nativeElement,te,je?`${P}${je}`:P,Ge):this._renderer.removeStyle(this._ngEl.nativeElement,te,Ge)}_applyChanges(y){y.forEachRemovedItem(P=>this._setStyle(P.key,null)),y.forEachAddedItem(P=>this._setStyle(P.key,P.currentValue)),y.forEachChangedItem(P=>this._setStyle(P.key,P.currentValue))}}return g.\u0275fac=function(y){return new(y||g)(s.Y36(s.SBq),s.Y36(s.aQg),s.Y36(s.Qsj))},g.\u0275dir=s.lG2({type:g,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),g})(),Vi=(()=>{class g{constructor(y){this._viewContainerRef=y,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(y){if(y.ngTemplateOutlet||y.ngTemplateOutletInjector){const P=this._viewContainerRef;if(this._viewRef&&P.remove(P.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:te,ngTemplateOutletContext:je,ngTemplateOutletInjector:Ge}=this;this._viewRef=P.createEmbeddedView(te,je,Ge?{injector:Ge}:void 0)}else this._viewRef=null}else this._viewRef&&y.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return g.\u0275fac=function(y){return new(y||g)(s.Y36(s.s_b))},g.\u0275dir=s.lG2({type:g,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[s.TTD]}),g})();function fr(g,A){return new s.vHH(2100,!1)}class Ii{createSubscription(A,y){return A.subscribe({next:y,error:P=>{throw P}})}dispose(A){A.unsubscribe()}}class Uo{createSubscription(A,y){return A.then(y,P=>{throw P})}dispose(A){}}const Pr=new Uo,Wr=new Ii;let hr=(()=>{class g{constructor(y){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=y}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(y){return this._obj?y!==this._obj?(this._dispose(),this.transform(y)):this._latestValue:(y&&this._subscribe(y),this._latestValue)}_subscribe(y){this._obj=y,this._strategy=this._selectStrategy(y),this._subscription=this._strategy.createSubscription(y,P=>this._updateLatestValue(y,P))}_selectStrategy(y){if((0,s.QGY)(y))return Pr;if((0,s.F4k)(y))return Wr;throw fr()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(y,P){y===this._obj&&(this._latestValue=P,this._ref.markForCheck())}}return g.\u0275fac=function(y){return new(y||g)(s.Y36(s.sBO,16))},g.\u0275pipe=s.Yjl({name:"async",type:g,pure:!1,standalone:!0}),g})();const zi=new s.OlP("DATE_PIPE_DEFAULT_TIMEZONE"),Gi=new s.OlP("DATE_PIPE_DEFAULT_OPTIONS");let Rr=(()=>{class g{constructor(y,P,te){this.locale=y,this.defaultTimezone=P,this.defaultOptions=te}transform(y,P,te,je){if(null==y||""===y||y!=y)return null;try{return xt(y,P??this.defaultOptions?.dateFormat??"mediumDate",je||this.locale,te??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(Ge){throw fr()}}}return g.\u0275fac=function(y){return new(y||g)(s.Y36(s.soG,16),s.Y36(zi,24),s.Y36(Gi,24))},g.\u0275pipe=s.Yjl({name:"date",type:g,pure:!0,standalone:!0}),g})(),Ai=(()=>{class g{transform(y){return JSON.stringify(y,null,2)}}return g.\u0275fac=function(y){return new(y||g)},g.\u0275pipe=s.Yjl({name:"json",type:g,pure:!1,standalone:!0}),g})(),yo=(()=>{class g{constructor(y){this._locale=y}transform(y,P,te){if(!function xi(g){return!(null==g||""===g||g!=g)}(y))return null;te=te||this._locale;try{return function Jr(g,A,y){return function Mn(g,A,y,P,te,je,Ge=!1){let mt="",Rn=!1;if(isFinite(g)){let Cn=function Hi(g){let P,te,je,Ge,mt,A=Math.abs(g)+"",y=0;for((te=A.indexOf(C))>-1&&(A=A.replace(C,"")),(je=A.search(/e/i))>0?(te<0&&(te=je),te+=+A.slice(je+1),A=A.substring(0,je)):te<0&&(te=A.length),je=0;A.charAt(je)===I;je++);if(je===(mt=A.length))P=[0],te=1;else{for(mt--;A.charAt(mt)===I;)mt--;for(te-=je,P=[],Ge=0;je<=mt;je++,Ge++)P[Ge]=Number(A.charAt(je))}return te>22&&(P=P.splice(0,21),y=te-1,te=1),{digits:P,exponent:y,integerLen:te}}(g);Ge&&(Cn=function oo(g){if(0===g.digits[0])return g;const A=g.digits.length-g.integerLen;return g.exponent?g.exponent+=2:(0===A?g.digits.push(0,0):1===A&&g.digits.push(0),g.integerLen+=2),g}(Cn));let On=A.minInt,un=A.minFrac,ar=A.maxFrac;if(je){const lr=je.match(ye);if(null===lr)throw new Error(`${je} is not a valid digit info`);const ki=lr[1],Co=lr[3],uo=lr[5];null!=ki&&(On=ji(ki)),null!=Co&&(un=ji(Co)),null!=uo?ar=ji(uo):null!=Co&&un>ar&&(ar=un)}!function Ur(g,A,y){if(A>y)throw new Error(`The minimum number of digits after fraction (${A}) is higher than the maximum (${y}).`);let P=g.digits,te=P.length-g.integerLen;const je=Math.min(Math.max(A,te),y);let Ge=je+g.integerLen,mt=P[Ge];if(Ge>0){P.splice(Math.max(g.integerLen,Ge));for(let un=Ge;un<P.length;un++)P[un]=0}else{te=Math.max(0,te),g.integerLen=1,P.length=Math.max(1,Ge=je+1),P[0]=0;for(let un=1;un<Ge;un++)P[un]=0}if(mt>=5)if(Ge-1<0){for(let un=0;un>Ge;un--)P.unshift(0),g.integerLen++;P.unshift(1),g.integerLen++}else P[Ge-1]++;for(;te<Math.max(0,je);te++)P.push(0);let Rn=0!==je;const Cn=A+g.integerLen,On=P.reduceRight(function(un,ar,Gn,ir){return ir[Gn]=(ar+=un)<10?ar:ar-10,Rn&&(0===ir[Gn]&&Gn>=Cn?ir.pop():Rn=!1),ar>=10?1:0},0);On&&(P.unshift(On),g.integerLen++)}(Cn,un,ar);let Gn=Cn.digits,ir=Cn.integerLen;const pi=Cn.exponent;let ri=[];for(Rn=Gn.every(lr=>!lr);ir<On;ir++)Gn.unshift(0);for(;ir<0;ir++)Gn.unshift(0);ir>0?ri=Gn.splice(ir,Gn.length):(ri=Gn,Gn=[0]);const Br=[];for(Gn.length>=A.lgSize&&Br.unshift(Gn.splice(-A.lgSize,Gn.length).join(""));Gn.length>A.gSize;)Br.unshift(Gn.splice(-A.gSize,Gn.length).join(""));Gn.length&&Br.unshift(Gn.join("")),mt=Br.join(rt(y,P)),ri.length&&(mt+=rt(y,te)+ri.join("")),pi&&(mt+=rt(y,me.Exponential)+"+"+pi)}else mt=rt(y,me.Infinity);return mt=g<0&&!Rn?A.negPre+mt+A.negSuf:A.posPre+mt+A.posSuf,mt}(g,function si(g,A="-"){const y={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},P=g.split(";"),te=P[0],je=P[1],Ge=-1!==te.indexOf(C)?te.split(C):[te.substring(0,te.lastIndexOf(I)+1),te.substring(te.lastIndexOf(I)+1)],mt=Ge[0],Rn=Ge[1]||"";y.posPre=mt.substring(0,mt.indexOf("#"));for(let On=0;On<Rn.length;On++){const un=Rn.charAt(On);un===I?y.minFrac=y.maxFrac=On+1:"#"===un?y.maxFrac=On+1:y.posSuf+=un}const Cn=mt.split(",");if(y.gSize=Cn[1]?Cn[1].length:0,y.lgSize=Cn[2]||Cn[1]?(Cn[2]||Cn[1]).length:0,je){const On=te.length-y.posPre.length-y.posSuf.length,un=je.indexOf("#");y.negPre=je.substring(0,un).replace(/'/g,""),y.negSuf=je.slice(un+On).replace(/'/g,"")}else y.negPre=A+y.posPre,y.negSuf=y.posSuf;return y}(function Ft(g,A){return(0,s.cg1)(g)[s.wAp.NumberFormats][A]}(A,se.Decimal),rt(A,me.MinusSign)),A,me.Group,me.Decimal,y)}(function ei(g){if("string"==typeof g&&!isNaN(Number(g)-parseFloat(g)))return Number(g);if("number"!=typeof g)throw new Error(`${g} is not a number`);return g}(y),te,P)}catch(je){throw fr()}}}return g.\u0275fac=function(y){return new(y||g)(s.Y36(s.soG,16))},g.\u0275pipe=s.Yjl({name:"number",type:g,pure:!0,standalone:!0}),g})();let ke=(()=>{class g{}return g.\u0275fac=function(y){return new(y||g)},g.\u0275mod=s.oAB({type:g}),g.\u0275inj=s.cJS({}),g})();const Xe="browser";function jn(g){return g===Xe}function rn(g){return"server"===g}let ai=(()=>{class g{}return g.\u0275prov=(0,s.Yz7)({token:g,providedIn:"root",factory:()=>new li((0,s.LFG)(J),window)}),g})();class li{constructor(A,y){this.document=A,this.window=y,this.offset=()=>[0,0]}setOffset(A){this.offset=Array.isArray(A)?()=>A:A}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(A){this.supportsScrolling()&&this.window.scrollTo(A[0],A[1])}scrollToAnchor(A){if(!this.supportsScrolling())return;const y=function yi(g,A){const y=g.getElementById(A)||g.getElementsByName(A)[0];if(y)return y;if("function"==typeof g.createTreeWalker&&g.body&&(g.body.createShadowRoot||g.body.attachShadow)){const P=g.createTreeWalker(g.body,NodeFilter.SHOW_ELEMENT);let te=P.currentNode;for(;te;){const je=te.shadowRoot;if(je){const Ge=je.getElementById(A)||je.querySelector(`[name="${A}"]`);if(Ge)return Ge}te=P.nextNode()}}return null}(this.document,A);y&&(this.scrollToElement(y),y.focus())}setHistoryScrollRestoration(A){if(this.supportScrollRestoration()){const y=this.window.history;y&&y.scrollRestoration&&(y.scrollRestoration=A)}}scrollToElement(A){const y=A.getBoundingClientRect(),P=y.left+this.window.pageXOffset,te=y.top+this.window.pageYOffset,je=this.offset();this.window.scrollTo(P-je[0],te-je[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const A=so(this.window.history)||so(Object.getPrototypeOf(this.window.history));return!(!A||!A.writable&&!A.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function so(g){return Object.getOwnPropertyDescriptor(g,"scrollRestoration")}class Yi{}const So=g=>g.src,Kr=new s.OlP("ImageLoader",{providedIn:"root",factory:()=>So}),Vo=new s.OlP("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:()=>new Set});let zo=(()=>{class g{constructor(){this.preloadedImages=(0,s.f3M)(Vo),this.document=(0,s.f3M)(J)}createPreloadLinkTag(y,P,te,je){if(this.preloadedImages.has(P))return;this.preloadedImages.add(P);const Ge=y.createElement("link");y.setAttribute(Ge,"as","image"),y.setAttribute(Ge,"href",P),y.setAttribute(Ge,"rel","preload"),y.setAttribute(Ge,"fetchpriority","high"),je&&y.setAttribute(Ge,"imageSizes",je),te&&y.setAttribute(Ge,"imageSrcset",te),y.appendChild(this.document.head,Ge)}}return g.\u0275fac=function(y){return new(y||g)},g.\u0275prov=s.Yz7({token:g,factory:g.\u0275fac,providedIn:"root"}),g})();const Xi=/^((\s*\d+w\s*(,|$)){1,})$/,$r=[1,2],Pi={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840]},Go=new s.OlP("ImageConfig",{providedIn:"root",factory:()=>Pi});let Ri=(()=>{class g{constructor(){this.imageLoader=(0,s.f3M)(Kr),this.config=function sr(g){let A={};return g.breakpoints&&(A.breakpoints=g.breakpoints.sort((y,P)=>y-P)),Object.assign({},Pi,g,A)}((0,s.f3M)(Go)),this.renderer=(0,s.f3M)(s.Qsj),this.imgElement=(0,s.f3M)(s.SBq).nativeElement,this.injector=(0,s.f3M)(s.zs3),this.isServer=rn((0,s.f3M)(s.Lbi)),this.preloadLinkChecker=(0,s.f3M)(zo),this.lcpObserver=null,this._renderedSrc=null,this._priority=!1,this._disableOptimizedSrcset=!1,this._fill=!1}set width(y){this._width=Fi(y)}get width(){return this._width}set height(y){this._height=Fi(y)}get height(){return this._height}set priority(y){this._priority=co(y)}get priority(){return this._priority}set disableOptimizedSrcset(y){this._disableOptimizedSrcset=co(y)}get disableOptimizedSrcset(){return this._disableOptimizedSrcset}set fill(y){this._fill=co(y)}get fill(){return this._fill}ngOnInit(){this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||(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("ng-img","true");const y=this.getRewrittenSrc();let P;this.setHostAttribute("src",y),this.sizes&&this.setHostAttribute("sizes",this.sizes),this.ngSrcset?P=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(P=this.getAutomaticSrcset()),P&&this.setHostAttribute("srcset",P),this.isServer&&this.priority&&this.preloadLinkChecker.createPreloadLinkTag(this.renderer,y,P,this.sizes)}ngOnChanges(y){}getLoadingBehavior(){return this.priority||void 0===this.loading?this.priority?"eager":"lazy":this.loading}getFetchPriority(){return this.priority?"high":"auto"}getRewrittenSrc(){return this._renderedSrc||(this._renderedSrc=this.imageLoader({src:this.ngSrc})),this._renderedSrc}getRewrittenSrcset(){const y=Xi.test(this.ngSrcset);return this.ngSrcset.split(",").filter(te=>""!==te).map(te=>{te=te.trim();const je=y?parseFloat(te):parseFloat(te)*this.width;return`${this.imageLoader({src:this.ngSrc,width:je})} ${te}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){const{breakpoints:y}=this.config;let P=y;return"100vw"===this.sizes?.trim()&&(P=y.filter(je=>je>=640)),P.map(je=>`${this.imageLoader({src:this.ngSrc,width:je})} ${je}w`).join(", ")}getFixedSrcset(){return $r.map(P=>`${this.imageLoader({src:this.ngSrc,width:this.width*P})} ${P}x`).join(", ")}shouldGenerateAutomaticSrcset(){return!this._disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==So&&!(this.width>1920||this.height>1080)}ngOnDestroy(){}setHostAttribute(y,P){this.renderer.setAttribute(this.imgElement,y,P)}}return g.\u0275fac=function(y){return new(y||g)},g.\u0275dir=s.lG2({type:g,selectors:[["img","ngSrc",""]],hostVars:8,hostBindings:function(y,P){2&y&&s.Udp("position",P.fill?"absolute":null)("width",P.fill?"100%":null)("height",P.fill?"100%":null)("inset",P.fill?"0px":null)},inputs:{ngSrc:"ngSrc",ngSrcset:"ngSrcset",sizes:"sizes",width:"width",height:"height",loading:"loading",priority:"priority",disableOptimizedSrcset:"disableOptimizedSrcset",fill:"fill",src:"src",srcset:"srcset"},standalone:!0,features:[s.TTD]}),g})();function Fi(g){return"string"==typeof g?parseInt(g,10):g}function co(g){return null!=g&&"false"!=`${g}`}},529:(it,Ce,D)=>{D.d(Ce,{JF:()=>Zn,LE:()=>Fe,TP:()=>At,eN:()=>qe});var s=D(6895),f=D(4650),U=D(9646),K=D(9751),X=D(4351),J=D(9300),oe=D(4004);class ee{}class Q{}class j{constructor(M){this.normalizedNames=new Map,this.lazyUpdate=null,M?this.lazyInit="string"==typeof M?()=>{this.headers=new Map,M.split("\n").forEach(R=>{const ve=R.indexOf(":");if(ve>0){const L=R.slice(0,ve),G=L.toLowerCase(),de=R.slice(ve+1).trim();this.maybeSetNormalizedName(L,G),this.headers.has(G)?this.headers.get(G).push(de):this.headers.set(G,[de])}})}:()=>{this.headers=new Map,Object.keys(M).forEach(R=>{let ve=M[R];const L=R.toLowerCase();"string"==typeof ve&&(ve=[ve]),ve.length>0&&(this.headers.set(L,ve),this.maybeSetNormalizedName(R,L))})}:this.headers=new Map}has(M){return this.init(),this.headers.has(M.toLowerCase())}get(M){this.init();const R=this.headers.get(M.toLowerCase());return R&&R.length>0?R[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(M){return this.init(),this.headers.get(M.toLowerCase())||null}append(M,R){return this.clone({name:M,value:R,op:"a"})}set(M,R){return this.clone({name:M,value:R,op:"s"})}delete(M,R){return this.clone({name:M,value:R,op:"d"})}maybeSetNormalizedName(M,R){this.normalizedNames.has(R)||this.normalizedNames.set(R,M)}init(){this.lazyInit&&(this.lazyInit instanceof j?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(M=>this.applyUpdate(M)),this.lazyUpdate=null))}copyFrom(M){M.init(),Array.from(M.headers.keys()).forEach(R=>{this.headers.set(R,M.headers.get(R)),this.normalizedNames.set(R,M.normalizedNames.get(R))})}clone(M){const R=new j;return R.lazyInit=this.lazyInit&&this.lazyInit instanceof j?this.lazyInit:this,R.lazyUpdate=(this.lazyUpdate||[]).concat([M]),R}applyUpdate(M){const R=M.name.toLowerCase();switch(M.op){case"a":case"s":let ve=M.value;if("string"==typeof ve&&(ve=[ve]),0===ve.length)return;this.maybeSetNormalizedName(M.name,R);const L=("a"===M.op?this.headers.get(R):void 0)||[];L.push(...ve),this.headers.set(R,L);break;case"d":const G=M.value;if(G){let de=this.headers.get(R);if(!de)return;de=de.filter(He=>-1===G.indexOf(He)),0===de.length?(this.headers.delete(R),this.normalizedNames.delete(R)):this.headers.set(R,de)}else this.headers.delete(R),this.normalizedNames.delete(R)}}forEach(M){this.init(),Array.from(this.normalizedNames.keys()).forEach(R=>M(this.normalizedNames.get(R),this.headers.get(R)))}}class W{encodeKey(M){return Ye(M)}encodeValue(M){return Ye(M)}decodeKey(M){return decodeURIComponent(M)}decodeValue(M){return decodeURIComponent(M)}}const Te=/%(\d[a-f0-9])/gi,$e={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Ye(F){return encodeURIComponent(F).replace(Te,(M,R)=>$e[R]??M)}function Se(F){return`${F}`}class Fe{constructor(M={}){if(this.updates=null,this.cloneFrom=null,this.encoder=M.encoder||new W,M.fromString){if(M.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function xe(F,M){const R=new Map;return F.length>0&&F.replace(/^\?/,"").split("&").forEach(L=>{const G=L.indexOf("="),[de,He]=-1==G?[M.decodeKey(L),""]:[M.decodeKey(L.slice(0,G)),M.decodeValue(L.slice(G+1))],Ee=R.get(de)||[];Ee.push(He),R.set(de,Ee)}),R}(M.fromString,this.encoder)}else M.fromObject?(this.map=new Map,Object.keys(M.fromObject).forEach(R=>{const ve=M.fromObject[R],L=Array.isArray(ve)?ve.map(Se):[Se(ve)];this.map.set(R,L)})):this.map=null}has(M){return this.init(),this.map.has(M)}get(M){this.init();const R=this.map.get(M);return R?R[0]:null}getAll(M){return this.init(),this.map.get(M)||null}keys(){return this.init(),Array.from(this.map.keys())}append(M,R){return this.clone({param:M,value:R,op:"a"})}appendAll(M){const R=[];return Object.keys(M).forEach(ve=>{const L=M[ve];Array.isArray(L)?L.forEach(G=>{R.push({param:ve,value:G,op:"a"})}):R.push({param:ve,value:L,op:"a"})}),this.clone(R)}set(M,R){return this.clone({param:M,value:R,op:"s"})}delete(M,R){return this.clone({param:M,value:R,op:"d"})}toString(){return this.init(),this.keys().map(M=>{const R=this.encoder.encodeKey(M);return this.map.get(M).map(ve=>R+"="+this.encoder.encodeValue(ve)).join("&")}).filter(M=>""!==M).join("&")}clone(M){const R=new Fe({encoder:this.encoder});return R.cloneFrom=this.cloneFrom||this,R.updates=(this.updates||[]).concat(M),R}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(M=>this.map.set(M,this.cloneFrom.map.get(M))),this.updates.forEach(M=>{switch(M.op){case"a":case"s":const R=("a"===M.op?this.map.get(M.param):void 0)||[];R.push(Se(M.value)),this.map.set(M.param,R);break;case"d":if(void 0===M.value){this.map.delete(M.param);break}{let ve=this.map.get(M.param)||[];const L=ve.indexOf(Se(M.value));-1!==L&&ve.splice(L,1),ve.length>0?this.map.set(M.param,ve):this.map.delete(M.param)}}}),this.cloneFrom=this.updates=null)}}class De{constructor(){this.map=new Map}set(M,R){return this.map.set(M,R),this}get(M){return this.map.has(M)||this.map.set(M,M.defaultValue()),this.map.get(M)}delete(M){return this.map.delete(M),this}has(M){return this.map.has(M)}keys(){return this.map.keys()}}function H(F){return typeof ArrayBuffer<"u"&&F instanceof ArrayBuffer}function ae(F){return typeof Blob<"u"&&F instanceof Blob}function le(F){return typeof FormData<"u"&&F instanceof FormData}class se{constructor(M,R,ve,L){let G;if(this.url=R,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=M.toUpperCase(),function Me(F){switch(F){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||L?(this.body=void 0!==ve?ve:null,G=L):G=ve,G&&(this.reportProgress=!!G.reportProgress,this.withCredentials=!!G.withCredentials,G.responseType&&(this.responseType=G.responseType),G.headers&&(this.headers=G.headers),G.context&&(this.context=G.context),G.params&&(this.params=G.params)),this.headers||(this.headers=new j),this.context||(this.context=new De),this.params){const de=this.params.toString();if(0===de.length)this.urlWithParams=R;else{const He=R.indexOf("?");this.urlWithParams=R+(-1===He?"?":He<R.length-1?"&":"")+de}}else this.params=new Fe,this.urlWithParams=R}serializeBody(){return null===this.body?null:H(this.body)||ae(this.body)||le(this.body)||function pe(F){return typeof URLSearchParams<"u"&&F instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof Fe?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||le(this.body)?null:ae(this.body)?this.body.type||null:H(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Fe?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(M={}){const R=M.method||this.method,ve=M.url||this.url,L=M.responseType||this.responseType,G=void 0!==M.body?M.body:this.body,de=void 0!==M.withCredentials?M.withCredentials:this.withCredentials,He=void 0!==M.reportProgress?M.reportProgress:this.reportProgress;let Ee=M.headers||this.headers,ot=M.params||this.params;const Nt=M.context??this.context;return void 0!==M.setHeaders&&(Ee=Object.keys(M.setHeaders).reduce((Bt,ye)=>Bt.set(ye,M.setHeaders[ye]),Ee)),M.setParams&&(ot=Object.keys(M.setParams).reduce((Bt,ye)=>Bt.set(ye,M.setParams[ye]),ot)),new se(R,ve,G,{params:ot,headers:Ee,context:Nt,reportProgress:He,responseType:L,withCredentials:de})}}var ge=(()=>((ge=ge||{})[ge.Sent=0]="Sent",ge[ge.UploadProgress=1]="UploadProgress",ge[ge.ResponseHeader=2]="ResponseHeader",ge[ge.DownloadProgress=3]="DownloadProgress",ge[ge.Response=4]="Response",ge[ge.User=5]="User",ge))();class Z{constructor(M,R=200,ve="OK"){this.headers=M.headers||new j,this.status=void 0!==M.status?M.status:R,this.statusText=M.statusText||ve,this.url=M.url||null,this.ok=this.status>=200&&this.status<300}}class re extends Z{constructor(M={}){super(M),this.type=ge.ResponseHeader}clone(M={}){return new re({headers:M.headers||this.headers,status:void 0!==M.status?M.status:this.status,statusText:M.statusText||this.statusText,url:M.url||this.url||void 0})}}class Ie extends Z{constructor(M={}){super(M),this.type=ge.Response,this.body=void 0!==M.body?M.body:null}clone(M={}){return new Ie({body:void 0!==M.body?M.body:this.body,headers:M.headers||this.headers,status:void 0!==M.status?M.status:this.status,statusText:M.statusText||this.statusText,url:M.url||this.url||void 0})}}class me extends Z{constructor(M){super(M,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${M.url||"(unknown url)"}`:`Http failure response for ${M.url||"(unknown url)"}: ${M.status} ${M.statusText}`,this.error=M.error||null}}function We(F,M){return{body:M,headers:F.headers,context:F.context,observe:F.observe,params:F.params,reportProgress:F.reportProgress,responseType:F.responseType,withCredentials:F.withCredentials}}let qe=(()=>{class F{constructor(R){this.handler=R}request(R,ve,L={}){let G;if(R instanceof se)G=R;else{let Ee,ot;Ee=L.headers instanceof j?L.headers:new j(L.headers),L.params&&(ot=L.params instanceof Fe?L.params:new Fe({fromObject:L.params})),G=new se(R,ve,void 0!==L.body?L.body:null,{headers:Ee,context:L.context,params:ot,reportProgress:L.reportProgress,responseType:L.responseType||"json",withCredentials:L.withCredentials})}const de=(0,U.of)(G).pipe((0,X.b)(Ee=>this.handler.handle(Ee)));if(R instanceof se||"events"===L.observe)return de;const He=de.pipe((0,J.h)(Ee=>Ee instanceof Ie));switch(L.observe||"body"){case"body":switch(G.responseType){case"arraybuffer":return He.pipe((0,oe.U)(Ee=>{if(null!==Ee.body&&!(Ee.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Ee.body}));case"blob":return He.pipe((0,oe.U)(Ee=>{if(null!==Ee.body&&!(Ee.body instanceof Blob))throw new Error("Response is not a Blob.");return Ee.body}));case"text":return He.pipe((0,oe.U)(Ee=>{if(null!==Ee.body&&"string"!=typeof Ee.body)throw new Error("Response is not a string.");return Ee.body}));default:return He.pipe((0,oe.U)(Ee=>Ee.body))}case"response":return He;default:throw new Error(`Unreachable: unhandled observe type ${L.observe}}`)}}delete(R,ve={}){return this.request("DELETE",R,ve)}get(R,ve={}){return this.request("GET",R,ve)}head(R,ve={}){return this.request("HEAD",R,ve)}jsonp(R,ve){return this.request("JSONP",R,{params:(new Fe).append(ve,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(R,ve={}){return this.request("OPTIONS",R,ve)}patch(R,ve,L={}){return this.request("PATCH",R,We(L,ve))}post(R,ve,L={}){return this.request("POST",R,We(L,ve))}put(R,ve,L={}){return this.request("PUT",R,We(L,ve))}}return F.\u0275fac=function(R){return new(R||F)(f.LFG(ee))},F.\u0275prov=f.Yz7({token:F,factory:F.\u0275fac}),F})();function pt(F,M){return M(F)}function Ht(F,M){return(R,ve)=>M.intercept(R,{handle:L=>F(L,ve)})}const At=new f.OlP("HTTP_INTERCEPTORS"),It=new f.OlP("HTTP_INTERCEPTOR_FNS");function Le(){let F=null;return(M,R)=>(null===F&&(F=((0,f.f3M)(At,{optional:!0})??[]).reduceRight(Ht,pt)),F(M,R))}let et=(()=>{class F extends ee{constructor(R,ve){super(),this.backend=R,this.injector=ve,this.chain=null}handle(R){if(null===this.chain){const ve=Array.from(new Set(this.injector.get(It)));this.chain=ve.reduceRight((L,G)=>function en(F,M,R){return(ve,L)=>R.runInContext(()=>M(ve,G=>F(G,L)))}(L,G,this.injector),pt)}return this.chain(R,ve=>this.backend.handle(ve))}}return F.\u0275fac=function(R){return new(R||F)(f.LFG(Q),f.LFG(f.lqb))},F.\u0275prov=f.Yz7({token:F,factory:F.\u0275fac}),F})();const Xt=/^\)\]\}',?\n/;let Gt=(()=>{class F{constructor(R){this.xhrFactory=R}handle(R){if("JSONP"===R.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new K.y(ve=>{const L=this.xhrFactory.build();if(L.open(R.method,R.urlWithParams),R.withCredentials&&(L.withCredentials=!0),R.headers.forEach((x,C)=>L.setRequestHeader(x,C.join(","))),R.headers.has("Accept")||L.setRequestHeader("Accept","application/json, text/plain, */*"),!R.headers.has("Content-Type")){const x=R.detectContentTypeHeader();null!==x&&L.setRequestHeader("Content-Type",x)}if(R.responseType){const x=R.responseType.toLowerCase();L.responseType="json"!==x?x:"text"}const G=R.serializeBody();let de=null;const He=()=>{if(null!==de)return de;const x=L.statusText||"OK",C=new j(L.getAllResponseHeaders()),I=function wn(F){return"responseURL"in F&&F.responseURL?F.responseURL:/^X-Request-URL:/m.test(F.getAllResponseHeaders())?F.getResponseHeader("X-Request-URL"):null}(L)||R.url;return de=new re({headers:C,status:L.status,statusText:x,url:I}),de},Ee=()=>{let{headers:x,status:C,statusText:I,url:$}=He(),ue=null;204!==C&&(ue=typeof L.response>"u"?L.responseText:L.response),0===C&&(C=ue?200:0);let Ke=C>=200&&C<300;if("json"===R.responseType&&"string"==typeof ue){const vt=ue;ue=ue.replace(Xt,"");try{ue=""!==ue?JSON.parse(ue):null}catch(Dn){ue=vt,Ke&&(Ke=!1,ue={error:Dn,text:ue})}}Ke?(ve.next(new Ie({body:ue,headers:x,status:C,statusText:I,url:$||void 0})),ve.complete()):ve.error(new me({error:ue,headers:x,status:C,statusText:I,url:$||void 0}))},ot=x=>{const{url:C}=He(),I=new me({error:x,status:L.status||0,statusText:L.statusText||"Unknown Error",url:C||void 0});ve.error(I)};let Nt=!1;const Bt=x=>{Nt||(ve.next(He()),Nt=!0);let C={type:ge.DownloadProgress,loaded:x.loaded};x.lengthComputable&&(C.total=x.total),"text"===R.responseType&&L.responseText&&(C.partialText=L.responseText),ve.next(C)},ye=x=>{let C={type:ge.UploadProgress,loaded:x.loaded};x.lengthComputable&&(C.total=x.total),ve.next(C)};return L.addEventListener("load",Ee),L.addEventListener("error",ot),L.addEventListener("timeout",ot),L.addEventListener("abort",ot),R.reportProgress&&(L.addEventListener("progress",Bt),null!==G&&L.upload&&L.upload.addEventListener("progress",ye)),L.send(G),ve.next({type:ge.Sent}),()=>{L.removeEventListener("error",ot),L.removeEventListener("abort",ot),L.removeEventListener("load",Ee),L.removeEventListener("timeout",ot),R.reportProgress&&(L.removeEventListener("progress",Bt),null!==G&&L.upload&&L.upload.removeEventListener("progress",ye)),L.readyState!==L.DONE&&L.abort()}})}}return F.\u0275fac=function(R){return new(R||F)(f.LFG(s.JF))},F.\u0275prov=f.Yz7({token:F,factory:F.\u0275fac}),F})();const yt=new f.OlP("XSRF_ENABLED"),wt="XSRF-TOKEN",tn=new f.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>wt}),$n="X-XSRF-TOKEN",gn=new f.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>$n});class bn{}let Hn=(()=>{class F{constructor(R,ve,L){this.doc=R,this.platform=ve,this.cookieName=L,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const R=this.doc.cookie||"";return R!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,s.Mx)(R,this.cookieName),this.lastCookieString=R),this.lastToken}}return F.\u0275fac=function(R){return new(R||F)(f.LFG(s.K0),f.LFG(f.Lbi),f.LFG(tn))},F.\u0275prov=f.Yz7({token:F,factory:F.\u0275fac}),F})();function Ot(F,M){const R=F.url.toLowerCase();if(!(0,f.f3M)(yt)||"GET"===F.method||"HEAD"===F.method||R.startsWith("http://")||R.startsWith("https://"))return M(F);const ve=(0,f.f3M)(bn).getToken(),L=(0,f.f3M)(gn);return null!=ve&&!F.headers.has(L)&&(F=F.clone({headers:F.headers.set(L,ve)})),M(F)}var ut=(()=>((ut=ut||{})[ut.Interceptors=0]="Interceptors",ut[ut.LegacyInterceptors=1]="LegacyInterceptors",ut[ut.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",ut[ut.NoXsrfProtection=3]="NoXsrfProtection",ut[ut.JsonpSupport=4]="JsonpSupport",ut[ut.RequestsMadeViaParent=5]="RequestsMadeViaParent",ut))();function xt(F,M){return{\u0275kind:F,\u0275providers:M}}function ze(...F){const M=[qe,Gt,et,{provide:ee,useExisting:et},{provide:Q,useExisting:Gt},{provide:It,useValue:Ot,multi:!0},{provide:yt,useValue:!0},{provide:bn,useClass:Hn}];for(const R of F)M.push(...R.\u0275providers);return(0,f.MR2)(M)}const Re=new f.OlP("LEGACY_INTERCEPTOR_FN");function kt({cookieName:F,headerName:M}){const R=[];return void 0!==F&&R.push({provide:tn,useValue:F}),void 0!==M&&R.push({provide:gn,useValue:M}),xt(ut.CustomXsrfConfiguration,R)}let Zn=(()=>{class F{}return F.\u0275fac=function(R){return new(R||F)},F.\u0275mod=f.oAB({type:F}),F.\u0275inj=f.cJS({providers:[ze(xt(ut.LegacyInterceptors,[{provide:Re,useFactory:Le},{provide:It,useExisting:Re,multi:!0}]),kt({cookieName:wt,headerName:$n}))]}),F})()},4650:(it,Ce,D)=>{D.d(Ce,{$8M:()=>Sr,$WT:()=>qn,$Z:()=>vf,AFp:()=>Dg,ALo:()=>Hp,AaK:()=>ee,AsE:()=>fu,BQk:()=>Ml,CHM:()=>Qi,CRH:()=>Xp,CZH:()=>Ul,CqO:()=>qf,D6c:()=>kD,DdM:()=>Ap,EJc:()=>Q0,EiD:()=>Fd,EpF:()=>Xf,F$t:()=>ih,F4k:()=>Jf,FYo:()=>Zd,FiY:()=>aa,G48:()=>_D,Gf:()=>Zp,GfV:()=>Qd,GkF:()=>Jc,Gpc:()=>Y,Gre:()=>kh,Hsn:()=>oh,Ikx:()=>hu,JOm:()=>ds,JVY:()=>jm,JZr:()=>Ye,KtG:()=>$o,L6k:()=>$m,LAX:()=>zm,LFG:()=>lt,LSH:()=>mc,Lbi:()=>W0,Lck:()=>Yb,MAs:()=>Qf,MMx:()=>Cu,MR2:()=>s_,NdJ:()=>eu,O4$:()=>Es,OlP:()=>Un,Oqu:()=>du,P3R:()=>Ld,PXZ:()=>dD,Q6J:()=>Zc,QGY:()=>qc,QbO:()=>K0,Qsj:()=>D_,R0b:()=>Bo,RDi:()=>Fm,Rgc:()=>tl,SBq:()=>ja,Sil:()=>J0,Suo:()=>Qp,TTD:()=>Oi,TgZ:()=>Cl,Tol:()=>bh,Udp:()=>lu,VKq:()=>xp,W1O:()=>tg,WFA:()=>tu,WLB:()=>Op,X6Q:()=>mD,XFs:()=>wt,Xpm:()=>Mn,Xts:()=>_c,Y36:()=>ma,YKP:()=>bp,YNc:()=>Zf,Yjl:()=>ji,Yz7:()=>rt,Z0I:()=>Kt,ZZ4:()=>Ku,_Bn:()=>vp,_UZ:()=>Xc,_Vd:()=>Ha,_c5:()=>RD,_uU:()=>Ih,aQg:()=>Yu,c2e:()=>Y0,cJS:()=>$t,cg1:()=>gu,d8E:()=>pu,dDg:()=>aD,dqk:()=>Ot,eBb:()=>Vm,eFA:()=>Fg,ekj:()=>cu,eoX:()=>Og,f3M:()=>F,g9A:()=>Cg,h0i:()=>xa,hGG:()=>FD,hYB:()=>iu,hij:()=>Al,iGM:()=>Yp,ifc:()=>Bt,ip1:()=>bg,jDz:()=>Ep,kEZ:()=>Pp,kL8:()=>Gh,kcU:()=>br,kuF:()=>Fe,l5B:()=>Rp,lG2:()=>Ur,lcZ:()=>jp,lqb:()=>Ys,lri:()=>Ag,mCW:()=>cl,n5z:()=>Zt,n_E:()=>Fl,oAB:()=>si,oJD:()=>kd,oxw:()=>rh,pB0:()=>Gm,q3G:()=>Qr,q4F:()=>Xd,qLn:()=>$a,qOj:()=>Gc,qZA:()=>wl,qbA:()=>Fp,qzn:()=>da,rWj:()=>xg,s9C:()=>nu,sBO:()=>yD,s_b:()=>Nl,soG:()=>Hl,tBr:()=>sa,tb:()=>wg,tp0:()=>T,uIk:()=>Yc,vHH:()=>Se,vpe:()=>ms,wAp:()=>on,xi3:()=>$p,xp6:()=>sf,ynx:()=>Tl,z2F:()=>jl,z3N:()=>Ts,zSh:()=>Dc,zs3:()=>Zs});var s=D(7579),f=D(727),U=D(9751),K=D(6451),X=D(3099);function J(e){for(let t in e)if(e[t]===J)return t;throw Error("Could not find renamed property on target object.")}function oe(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function ee(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(ee).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function Q(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const j=J({__forward_ref__:J});function Y(e){return e.__forward_ref__=Y,e.toString=function(){return ee(this())},e}function W(e){return xe(e)?e():e}function xe(e){return"function"==typeof e&&e.hasOwnProperty(j)&&e.__forward_ref__===Y}function Te(e){return e&&!!e.\u0275providers}const Ye="https://g.co/ng/security#xss";class Se extends Error{constructor(t,n){super(Fe(t,n)),this.code=t}}function Fe(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}function Pe(e){return"string"==typeof e?e:null==e?"":String(e)}function le(e,t){throw new Se(-201,!1)}function It(e,t){null==e&&function Le(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function rt(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function $t(e){return{providers:e.providers||[],imports:e.imports||[]}}function ln(e){return Wn(e,Xt)||Wn(e,Gt)}function Kt(e){return null!==ln(e)}function Wn(e,t){return e.hasOwnProperty(t)?e[t]:null}function In(e){return e&&(e.hasOwnProperty(wn)||e.hasOwnProperty(yt))?e[wn]:null}const Xt=J({\u0275prov:J}),wn=J({\u0275inj:J}),Gt=J({ngInjectableDef:J}),yt=J({ngInjectorDef:J});var wt=(()=>((wt=wt||{})[wt.Default=0]="Default",wt[wt.Host=1]="Host",wt[wt.Self=2]="Self",wt[wt.SkipSelf=4]="SkipSelf",wt[wt.Optional=8]="Optional",wt))();let tn;function gn(e){const t=tn;return tn=e,t}function bn(e,t,n){const r=ln(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&wt.Optional?null:void 0!==t?t:void le(ee(e))}const Ot=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),ze={},ft="__NG_DI_FLAG__",Re="ngTempTokenPath",kt=/\n/gm,Yn="__source";let Pt;function Tn(e){const t=Pt;return Pt=e,t}function Zn(e,t=wt.Default){if(void 0===Pt)throw new Se(-203,!1);return null===Pt?bn(e,void 0,t):Pt.get(e,t&wt.Optional?null:void 0,t)}function lt(e,t=wt.Default){return(function $n(){return tn}()||Zn)(W(e),t)}function F(e,t=wt.Default){return lt(e,M(t))}function M(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function R(e){const t=[];for(let n=0;n<e.length;n++){const r=W(e[n]);if(Array.isArray(r)){if(0===r.length)throw new Se(900,!1);let i,o=wt.Default;for(let u=0;u<r.length;u++){const p=r[u],v=L(p);"number"==typeof v?-1===v?i=p.token:o|=v:i=p}t.push(lt(i,o))}else t.push(lt(r))}return t}function ve(e,t){return e[ft]=t,e.prototype[ft]=t,e}function L(e){return e[ft]}function He(e){return{toString:e}.toString()}var Ee=(()=>((Ee=Ee||{})[Ee.OnPush=0]="OnPush",Ee[Ee.Default=1]="Default",Ee))(),Bt=(()=>{return(e=Bt||(Bt={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",Bt;var e})();const ye={},x=[],C=J({\u0275cmp:J}),I=J({\u0275dir:J}),$=J({\u0275pipe:J}),ue=J({\u0275mod:J}),Ke=J({\u0275fac:J}),vt=J({__NG_ELEMENT_ID__:J});let Dn=0;function Mn(e){return He(()=>{const n=!0===e.standalone,r={},i={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:r,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===Ee.OnPush,directiveDefs:null,pipeDefs:null,standalone:n,dependencies:n&&e.dependencies||null,getStandaloneInjector:null,selectors:e.selectors||x,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Bt.Emulated,id:"c"+Dn++,styles:e.styles||x,_:null,setInput:null,schemas:e.schemas||null,tView:null,findHostDirectiveDefs:null,hostDirectives:null},o=e.dependencies,u=e.features;return i.inputs=Hi(e.inputs,r),i.outputs=Hi(e.outputs),u&&u.forEach(p=>p(i)),i.directiveDefs=o?()=>("function"==typeof o?o():o).map(Sn).filter(Jr):null,i.pipeDefs=o?()=>("function"==typeof o?o():o).map(cr).filter(Jr):null,i})}function Sn(e){return _n(e)||Nn(e)}function Jr(e){return null!==e}function si(e){return He(()=>({type:e.type,bootstrap:e.bootstrap||x,declarations:e.declarations||x,imports:e.imports||x,exports:e.exports||x,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Hi(e,t){if(null==e)return ye;const n={};for(const r in e)if(e.hasOwnProperty(r)){let i=e[r],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),n[i]=r,t&&(t[i]=o)}return n}const Ur=Mn;function ji(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function _n(e){return e[C]||null}function Nn(e){return e[I]||null}function cr(e){return e[$]||null}function qn(e){const t=_n(e)||Nn(e)||cr(e);return null!==t&&t.standalone}function tr(e,t){const n=e[ue]||null;if(!n&&!0===t)throw new Error(`Type ${ee(e)} does not have '\u0275mod' property.`);return n}function _r(e){return Array.isArray(e)&&"object"==typeof e[1]}function Kn(e){return Array.isArray(e)&&!0===e[1]}function qr(e){return 0!=(4&e.flags)}function zi(e){return e.componentOffset>-1}function Gi(e){return 1==(1&e.flags)}function Rr(e){return null!==e.template}function Si(e){return 0!=(256&e[2])}function rr(e,t){return e.hasOwnProperty(Ke)?e[Ke]:null}class kr{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Oi(){return ai}function ai(e){return e.type.prototype.ngOnChanges&&(e.setInput=so),li}function li(){const e=Hr(this),t=e?.current;if(t){const n=e.previous;if(n===ye)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function so(e,t,n,r){const i=this.declaredInputs[n],o=Hr(e)||function Yi(e,t){return e[yi]=t}(e,{previous:ye,current:null}),u=o.current||(o.current={}),p=o.previous,v=p[i];u[i]=new kr(v&&v.currentValue,t,p===ye),e[r]=t}Oi.ngInherit=!0;const yi="__ngSimpleChanges__";function Hr(e){return e[yi]||null}function xn(e){for(;Array.isArray(e);)e=e[0];return e}function Kr(e,t){return xn(t[e])}function yr(e,t){return xn(t[e.index])}function Zi(e,t){return e.data[t]}function Yr(e,t){return e[t]}function Nr(e,t){const n=t[e];return _r(n)?n:n[0]}function vi(e){return 64==(64&e[2])}function ci(e,t){return null==t?null:e[t]}function Jo(e){e[18]=0}function bi(e,t){e[5]+=t;let n=e,r=e[3];for(;null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}const Wt={lFrame:Ps(null),bindingsEnabled:!0};function es(){return Wt.bindingsEnabled}function Qe(){return Wt.lFrame.lView}function fn(){return Wt.lFrame.tView}function Qi(e){return Wt.lFrame.contextLView=e,e[8]}function $o(e){return Wt.lFrame.contextLView=null,e}function vr(){let e=bo();for(;null!==e&&64===e.type;)e=e.parent;return e}function bo(){return Wt.lFrame.currentTNode}function jr(e,t){const n=Wt.lFrame;n.currentTNode=e,n.isParent=t}function Po(){return Wt.lFrame.isParent}function Vo(){Wt.lFrame.isParent=!1}function Mr(){const e=Wt.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function $r(){return Wt.lFrame.bindingIndex++}function Vr(e){const t=Wt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Ro(e,t){const n=Wt.lFrame;n.bindingIndex=n.bindingRootIndex=e,lo(t)}function lo(e){Wt.lFrame.currentDirectiveIndex=e}function Pi(e){const t=Wt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function Go(){return Wt.lFrame.currentQueryIndex}function Ri(e){Wt.lFrame.currentQueryIndex=e}function Fi(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function co(e,t,n){if(n&wt.SkipSelf){let i=t,o=e;for(;!(i=i.parent,null!==i||n&wt.Host||(i=Fi(o),null===i||(o=o[15],10&i.type))););if(null===i)return!1;t=i,e=o}const r=Wt.lFrame=Ji();return r.currentTNode=t,r.lView=e,!0}function sr(e){const t=Ji(),n=e[1];Wt.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Ji(){const e=Wt.lFrame,t=null===e?null:e.child;return null===t?Ps(e):t}function Ps(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function Rs(){const e=Wt.lFrame;return Wt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Fo=Rs;function bs(){const e=Rs();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Lr(){return Wt.lFrame.selectedIndex}function eo(e){Wt.lFrame.selectedIndex=e}function Qn(){const e=Wt.lFrame;return Zi(e.tView,e.selectedIndex)}function Es(){Wt.lFrame.currentNamespace="svg"}function br(){!function Cs(){Wt.lFrame.currentNamespace=null}()}function Eo(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const o=e.data[n].type.prototype,{ngAfterContentInit:u,ngAfterContentChecked:p,ngAfterViewInit:v,ngAfterViewChecked:S,ngOnDestroy:B}=o;u&&(e.contentHooks||(e.contentHooks=[])).push(-n,u),p&&((e.contentHooks||(e.contentHooks=[])).push(n,p),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,p)),v&&(e.viewHooks||(e.viewHooks=[])).push(-n,v),S&&((e.viewHooks||(e.viewHooks=[])).push(n,S),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,S)),null!=B&&(e.destroyHooks||(e.destroyHooks=[])).push(n,B)}}function g(e,t,n){P(e,t,3,n)}function A(e,t,n,r){(3&e[2])===n&&P(e,t,n,r)}function y(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function P(e,t,n,r){const o=r??-1,u=t.length-1;let p=0;for(let v=void 0!==r?65535&e[18]:0;v<u;v++)if("number"==typeof t[v+1]){if(p=t[v],null!=r&&p>=r)break}else t[v]<0&&(e[18]+=65536),(p<o||-1==o)&&(te(e,n,t,v),e[18]=(4294901760&e[18])+v+2),v++}function te(e,t,n,r){const i=n[r]<0,o=n[r+1],p=e[i?-n[r]:n[r]];if(i){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048;try{o.call(p)}finally{}}}else try{o.call(p)}finally{}}class Ge{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function pi(e,t,n){let r=0;for(;r<n.length;){const i=n[r];if("number"==typeof i){if(0!==i)break;r++;const o=n[r++],u=n[r++],p=n[r++];e.setAttribute(t,u,p,o)}else{const o=i,u=n[++r];Br(o)?e.setProperty(t,o,u):e.setAttribute(t,o,u),r++}}return r}function ri(e){return 3===e||4===e||6===e}function Br(e){return 64===e.charCodeAt(0)}function lr(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const i=t[r];"number"==typeof i?n=i:0===n||ki(e,n,i,null,-1===n||2===n?t[++r]:null)}}return e}function ki(e,t,n,r,i){let o=0,u=e.length;if(-1===t)u=-1;else for(;o<e.length;){const p=e[o++];if("number"==typeof p){if(p===t){u=-1;break}if(p>t){u=o-1;break}}}for(;o<e.length;){const p=e[o];if("number"==typeof p)break;if(p===n){if(null===r)return void(null!==i&&(e[o+1]=i));if(r===e[o+1])return void(e[o+2]=i)}o++,null!==r&&o++,null!==i&&o++}-1!==u&&(e.splice(u,0,t),o=u+1),e.splice(o++,0,n),null!==r&&e.splice(o++,0,r),null!==i&&e.splice(o++,0,i)}function Co(e){return-1!==e}function uo(e){return 32767&e}function os(e,t){let n=function is(e){return e>>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let Wo=!0;function ss(e){const t=Wo;return Wo=e,t}let Vs=0;const ui={};function ko(e,t){const n=fo(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,Ko(r.data,e),Ko(t,null),Ko(r.blueprint,null));const i=E(e,t),o=e.injectorIndex;if(Co(i)){const u=uo(i),p=os(i,t),v=p[1].data;for(let S=0;S<8;S++)t[o+S]=p[u+S]|v[u+S]}return t[o+8]=i,o}function Ko(e,t){e.push(0,0,0,0,0,0,0,0,t)}function fo(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function E(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,i=t;for(;null!==i;){if(r=Ir(i),null===r)return-1;if(n++,i=i[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function a(e,t,n){!function Ns(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(vt)&&(r=n[vt]),null==r&&(r=n[vt]=Vs++);const i=255&r;t.data[e+(i>>5)]|=1<<i}(e,t,n)}function _(e,t,n){if(n&wt.Optional||void 0!==e)return e;le()}function O(e,t,n,r){if(n&wt.Optional&&void 0===r&&(r=null),!(n&(wt.Self|wt.Host))){const i=e[9],o=gn(void 0);try{return i?i.get(t,r,n&wt.Optional):bn(t,r,n&wt.Optional)}finally{gn(o)}}return _(r,0,n)}function z(e,t,n,r=wt.Default,i){if(null!==e){if(1024&t[2]){const u=function or(e,t,n,r,i){let o=e,u=t;for(;null!==o&&null!==u&&1024&u[2]&&!(256&u[2]);){const p=ce(o,u,n,r|wt.Self,ui);if(p!==ui)return p;let v=o.parent;if(!v){const S=u[21];if(S){const B=S.get(n,ui,r);if(B!==ui)return B}v=Ir(u),u=u[15]}o=v}return i}(e,t,n,r,ui);if(u!==ui)return u}const o=ce(e,t,n,r,ui);if(o!==ui)return o}return O(t,n,r,i)}function ce(e,t,n,r,i){const o=function bt(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(vt)?e[vt]:void 0;return"number"==typeof t?t>=0?255&t:Ut:t}(n);if("function"==typeof o){if(!co(t,e,r))return r&wt.Host?_(i,0,r):O(t,n,r,i);try{const u=o(r);if(null!=u||r&wt.Optional)return u;le()}finally{Fo()}}else if("number"==typeof o){let u=null,p=fo(e,t),v=-1,S=r&wt.Host?t[16][6]:null;for((-1===p||r&wt.SkipSelf)&&(v=-1===p?E(e,t):t[p+8],-1!==v&&sn(r,!1)?(u=t[1],p=uo(v),t=os(v,t)):p=-1);-1!==p;){const B=t[1];if(Dt(o,p,B.data)){const q=he(p,t,n,u,r,S);if(q!==ui)return q}v=t[p+8],-1!==v&&sn(r,t[1].data[p+8]===S)&&Dt(o,p,t)?(u=B,p=uo(v),t=os(v,t)):p=-1}}return i}function he(e,t,n,r,i,o){const u=t[1],p=u.data[e+8],B=Be(p,u,n,null==r?zi(p)&&Wo:r!=u&&0!=(3&p.type),i&wt.Host&&o===p);return null!==B?Je(t,u,B,p):ui}function Be(e,t,n,r,i){const o=e.providerIndexes,u=t.data,p=1048575&o,v=e.directiveStart,B=o>>20,we=i?p+B:e.directiveEnd;for(let Ue=r?p:p+B;Ue<we;Ue++){const tt=u[Ue];if(Ue<v&&n===tt||Ue>=v&&tt.type===n)return Ue}if(i){const Ue=u[v];if(Ue&&Rr(Ue)&&Ue.type===n)return v}return null}function Je(e,t,n,r){let i=e[n];const o=t.data;if(function mt(e){return e instanceof Ge}(i)){const u=i;u.resolving&&function Me(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new Se(-200,`Circular dependency in DI detected for ${e}${n}`)}(function De(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Pe(e)}(o[n]));const p=ss(u.canSeeViewProviders);u.resolving=!0;const v=u.injectImpl?gn(u.injectImpl):null;co(e,r,wt.Default);try{i=e[n]=u.factory(void 0,o,e,r),t.firstCreatePass&&n>=r.directiveStart&&function Fs(e,t,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=t.type.prototype;if(r){const u=ai(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,u),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,u)}i&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,i),o&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,o))}(n,o[n],t)}finally{null!==v&&gn(v),ss(p),u.resolving=!1,Fo()}}return i}function Dt(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function sn(e,t){return!(e&wt.Self||e&wt.Host&&t)}class Yt{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return z(this._tNode,this._lView,t,M(r),n)}}function Ut(){return new Yt(vr(),Qe())}function Zt(e){return He(()=>{const t=e.prototype.constructor,n=t[Ke]||Fn(t),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const o=i[Ke]||Fn(i);if(o&&o!==n)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function Fn(e){return xe(e)?()=>{const t=Fn(W(e));return t&&t()}:rr(e)}function Ir(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[6]:null}function Sr(e){return function l(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let i=0;for(;i<r;){const o=n[i];if(ri(o))break;if(0===o)i+=2;else if("number"==typeof o)for(i++;i<r&&"string"==typeof n[i];)i++;else{if(o===t)return n[i+1];i+=2}}}return null}(vr(),e)}const gi="__parameters__";function oi(e,t,n){return He(()=>{const r=function Ni(e){return function(...n){if(e){const r=e(...n);for(const i in r)this[i]=r[i]}}}(t);function i(...o){if(this instanceof i)return r.apply(this,o),this;const u=new i(...o);return p.annotation=u,p;function p(v,S,B){const q=v.hasOwnProperty(gi)?v[gi]:Object.defineProperty(v,gi,{value:[]})[gi];for(;q.length<=B;)q.push(null);return(q[B]=q[B]||[]).push(u),v}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}class Un{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=rt({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function h(e,t){e.forEach(n=>Array.isArray(n)?h(n,t):t(n))}function c(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function m(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function w(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}function _t(e,t,n){let r=yn(e,t);return r>=0?e[1|r]=n:(r=~r,function Oe(e,t,n,r){let i=e.length;if(i==t)e.push(n,r);else if(1===i)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;)e[i]=e[i-2],i--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function St(e,t){const n=yn(e,t);if(n>=0)return e[1|n]}function yn(e,t){return function wo(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){const o=r+(i-r>>1),u=e[o<<n];if(t===u)return o<<n;u>t?i=o:r=o+1}return~(i<<n)}(e,t,1)}const sa=ve(oi("Inject",e=>({token:e})),-1),aa=ve(oi("Optional"),8),T=ve(oi("SkipSelf"),4);var ds=(()=>((ds=ds||{})[ds.Important=1]="Important",ds[ds.DashCase=2]="DashCase",ds))();const Zl=new Map;let rm=0;const Xl="__ngContext__";function Bi(e,t){_r(t)?(e[Xl]=t[20],function om(e){Zl.set(e[20],e)}(t)):e[Xl]=t}function ql(e,t){return undefined(e,t)}function Na(e){const t=e[3];return Kn(t)?t[3]:t}function ec(e){return ld(e[13])}function tc(e){return ld(e[4])}function ld(e){for(;null!==e&&!Kn(e);)e=e[4];return e}function ua(e,t,n,r,i){if(null!=r){let o,u=!1;Kn(r)?o=r:_r(r)&&(u=!0,r=r[0]);const p=xn(r);0===e&&null!==n?null==i?pd(t,n,p):zs(t,n,p,i||null,!0):1===e&&null!==n?zs(t,n,p,i||null,!0):2===e?function lc(e,t,n){const r=il(e,t);r&&function Tm(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,p,u):3===e&&t.destroyNode(p),null!=o&&function Sm(e,t,n,r,i){const o=n[7];o!==xn(n)&&ua(t,e,r,o,i);for(let p=10;p<n.length;p++){const v=n[p];La(v[1],v,e,t,r,o)}}(t,e,o,n,i)}}function rc(e,t,n){return e.createElement(t,n)}function ud(e,t){const n=e[9],r=n.indexOf(t),i=t[3];512&t[2]&&(t[2]&=-513,bi(i,-1)),n.splice(r,1)}function ic(e,t){if(e.length<=10)return;const n=10+t,r=e[n];if(r){const i=r[17];null!==i&&i!==e&&ud(i,r),t>0&&(e[n-1][4]=r[4]);const o=m(e,10+t);!function _m(e,t){La(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(r[1],r);const u=o[19];null!==u&&u.detachView(o[1]),r[3]=null,r[4]=null,r[2]&=-65}return r}function dd(e,t){if(!(128&t[2])){const n=t[11];n.destroyNode&&La(e,t,n,3,null,null),function bm(e){let t=e[13];if(!t)return oc(e[1],e);for(;t;){let n=null;if(_r(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)_r(t)&&oc(t[1],t),t=t[3];null===t&&(t=e),_r(t)&&oc(t[1],t),n=t&&t[4]}t=n}}(t)}}function oc(e,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function wm(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const i=t[n[r]];if(!(i instanceof Ge)){const o=n[r+1];if(Array.isArray(o))for(let u=0;u<o.length;u+=2){const p=i[o[u]],v=o[u+1];try{v.call(p)}finally{}}else try{o.call(i)}finally{}}}}(e,t),function Cm(e,t){const n=e.cleanup,r=t[7];let i=-1;if(null!==n)for(let o=0;o<n.length-1;o+=2)if("string"==typeof n[o]){const u=n[o+3];u>=0?r[i=u]():r[i=-u].unsubscribe(),o+=2}else{const u=r[i=n[o+1]];n[o].call(u)}if(null!==r){for(let o=i+1;o<r.length;o++)(0,r[o])();t[7]=null}}(e,t),1===t[1].type&&t[11].destroy();const n=t[17];if(null!==n&&Kn(t[3])){n!==t[3]&&ud(n,t);const r=t[19];null!==r&&r.detachView(e)}!function sm(e){Zl.delete(e[20])}(t)}}function fd(e,t,n){return function hd(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[0];{const{componentOffset:i}=r;if(i>-1){const{encapsulation:o}=e.data[r.directiveStart+i];if(o===Bt.None||o===Bt.Emulated)return null}return yr(r,n)}}(e,t.parent,n)}function zs(e,t,n,r,i){e.insertBefore(t,n,r,i)}function pd(e,t,n){e.appendChild(t,n)}function gd(e,t,n,r,i){null!==r?zs(e,t,n,r,i):pd(e,t,n)}function il(e,t){return e.parentNode(t)}function md(e,t,n){return yd(e,t,n)}let al,dc,ll,yd=function _d(e,t,n){return 40&e.type?yr(e,n):null};function ol(e,t,n,r){const i=fd(e,r,t),o=t[11],p=md(r.parent||t[6],r,t);if(null!=i)if(Array.isArray(n))for(let v=0;v<n.length;v++)gd(o,i,n[v],p,!1);else gd(o,i,n,p,!1)}function sl(e,t){if(null!==t){const n=t.type;if(3&n)return yr(t,e);if(4&n)return ac(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return sl(e,r);{const i=e[t.index];return Kn(i)?ac(-1,i):xn(i)}}if(32&n)return ql(t,e)()||xn(e[t.index]);{const r=bd(e,t);return null!==r?Array.isArray(r)?r[0]:sl(Na(e[16]),r):sl(e,t.next)}}return null}function bd(e,t){return null!==t?e[16][6].projection[t.projection]:null}function ac(e,t){const n=10+e+1;if(n<t.length){const r=t[n],i=r[1].firstChild;if(null!==i)return sl(r,i)}return t[7]}function cc(e,t,n,r,i,o,u){for(;null!=n;){const p=r[n.index],v=n.type;if(u&&0===t&&(p&&Bi(xn(p),r),n.flags|=2),32!=(32&n.flags))if(8&v)cc(e,t,n.child,r,i,o,!1),ua(t,e,i,p,o);else if(32&v){const S=ql(n,r);let B;for(;B=S();)ua(t,e,i,B,o);ua(t,e,i,p,o)}else 16&v?Dd(e,t,r,n,i,o):ua(t,e,i,p,o);n=u?n.projectionNext:n.next}}function La(e,t,n,r,i,o){cc(n,r,e.firstChild,t,i,o,!1)}function Dd(e,t,n,r,i,o){const u=n[16],v=u[6].projection[r.projection];if(Array.isArray(v))for(let S=0;S<v.length;S++)ua(t,e,i,v[S],o);else cc(e,t,v,u[3],i,o,!0)}function Ed(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Cd(e,t,n){const{mergedAttrs:r,classes:i,styles:o}=n;null!==r&&pi(e,t,r),null!==i&&Ed(e,t,i),null!==o&&function xm(e,t,n){e.setAttribute(t,"style",n)}(e,t,o)}function Gs(e){return function uc(){if(void 0===al&&(al=null,Ot.trustedTypes))try{al=Ot.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return al}()?.createHTML(e)||e}function Fm(e){dc=e}function fc(){if(void 0===ll&&(ll=null,Ot.trustedTypes))try{ll=Ot.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ll}function Td(e){return fc()?.createHTML(e)||e}function Id(e){return fc()?.createScriptURL(e)||e}class Ws{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Ye})`}}class km extends Ws{getTypeName(){return"HTML"}}class Nm extends Ws{getTypeName(){return"Style"}}class Lm extends Ws{getTypeName(){return"Script"}}class Bm extends Ws{getTypeName(){return"URL"}}class Um extends Ws{getTypeName(){return"ResourceURL"}}function Ts(e){return e instanceof Ws?e.changingThisBreaksApplicationSecurity:e}function da(e,t){const n=function Hm(e){return e instanceof Ws&&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 ${Ye})`)}return n===t}function jm(e){return new km(e)}function $m(e){return new Nm(e)}function Vm(e){return new Lm(e)}function zm(e){return new Bm(e)}function Gm(e){return new Um(e)}class Wm{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(Gs(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class Km{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const n=this.inertDocument.createElement("html");this.inertDocument.appendChild(n);const r=this.inertDocument.createElement("body");n.appendChild(r)}}getInertBodyElement(t){const n=this.inertDocument.createElement("template");if("content"in n)return n.innerHTML=Gs(t),n;const r=this.inertDocument.createElement("body");return r.innerHTML=Gs(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(r),r}stripCustomNsAttrs(t){const n=t.attributes;for(let i=n.length-1;0<i;i--){const u=n.item(i).name;("xmlns:ns1"===u||0===u.indexOf("ns1:"))&&t.removeAttribute(u)}let r=t.firstChild;for(;r;)r.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(r),r=r.nextSibling}}const Zm=/^(?:(?:https?|mailto|data|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi;function cl(e){return(e=String(e)).match(Zm)?e:"unsafe:"+e}function Ms(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function Ba(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const Ad=Ms("area,br,col,hr,img,wbr"),xd=Ms("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Od=Ms("rp,rt"),hc=Ba(Ad,Ba(xd,Ms("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")),Ba(Od,Ms("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")),Ba(Od,xd)),pc=Ms("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Pd=Ba(pc,Ms("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"),Ms("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")),Qm=Ms("script,style,template");class Xm{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0;for(;n;)if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=this.checkClobberedElement(n,n.nextSibling);if(i){n=i;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!hc.hasOwnProperty(n))return this.sanitizedSomething=!0,!Qm.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let i=0;i<r.length;i++){const o=r.item(i),u=o.name,p=u.toLowerCase();if(!Pd.hasOwnProperty(p)){this.sanitizedSomething=!0;continue}let v=o.value;pc[p]&&(v=cl(v)),this.buf.push(" ",u,'="',Rd(v),'"')}return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();hc.hasOwnProperty(n)&&!Ad.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Rd(t))}checkClobberedElement(t,n){if(n&&(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return n}}const Jm=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,qm=/([^\#-~ |!])/g;function Rd(e){return e.replace(/&/g,"&").replace(Jm,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(qm,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let ul;function Fd(e,t){let n=null;try{ul=ul||function Sd(e){const t=new Km(e);return function Ym(){try{return!!(new window.DOMParser).parseFromString(Gs(""),"text/html")}catch{return!1}}()?new Wm(t):t}(e);let r=t?String(t):"";n=ul.getInertBodyElement(r);let i=5,o=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=o,o=n.innerHTML,n=ul.getInertBodyElement(r)}while(r!==o);return Gs((new Xm).sanitizeChildren(gc(n)||n))}finally{if(n){const r=gc(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function gc(e){return"content"in e&&function e_(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Qr=(()=>((Qr=Qr||{})[Qr.NONE=0]="NONE",Qr[Qr.HTML=1]="HTML",Qr[Qr.STYLE=2]="STYLE",Qr[Qr.SCRIPT=3]="SCRIPT",Qr[Qr.URL=4]="URL",Qr[Qr.RESOURCE_URL=5]="RESOURCE_URL",Qr))();function kd(e){const t=Ua();return t?Td(t.sanitize(Qr.HTML,e)||""):da(e,"HTML")?Td(Ts(e)):Fd(function wd(){return void 0!==dc?dc:typeof document<"u"?document:void 0}(),Pe(e))}function mc(e){const t=Ua();return t?t.sanitize(Qr.URL,e)||"":da(e,"URL")?Ts(e):cl(Pe(e))}function Nd(e){const t=Ua();if(t)return Id(t.sanitize(Qr.RESOURCE_URL,e)||"");if(da(e,"ResourceURL"))return Id(Ts(e));throw new Se(904,!1)}function Ld(e,t,n){return function o_(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?Nd:mc}(t,n)(e)}function Ua(){const e=Qe();return e&&e[12]}const _c=new Un("ENVIRONMENT_INITIALIZER"),Bd=new Un("INJECTOR",-1),Ud=new Un("INJECTOR_DEF_TYPES");class Hd{get(t,n=ze){if(n===ze){const r=new Error(`NullInjectorError: No provider for ${ee(t)}!`);throw r.name="NullInjectorError",r}return n}}function s_(e){return{\u0275providers:e}}function a_(...e){return{\u0275providers:jd(0,e),\u0275fromNgModule:!0}}function jd(e,...t){const n=[],r=new Set;let i;return h(t,o=>{const u=o;yc(u,n,[],r)&&(i||(i=[]),i.push(u))}),void 0!==i&&$d(i,n),n}function $d(e,t){for(let n=0;n<e.length;n++){const{providers:i}=e[n];vc(i,o=>{t.push(o)})}}function yc(e,t,n,r){if(!(e=W(e)))return!1;let i=null,o=In(e);const u=!o&&_n(e);if(o||u){if(u&&!u.standalone)return!1;i=e}else{const v=e.ngModule;if(o=In(v),!o)return!1;i=v}const p=r.has(i);if(u){if(p)return!1;if(r.add(i),u.dependencies){const v="function"==typeof u.dependencies?u.dependencies():u.dependencies;for(const S of v)yc(S,t,n,r)}}else{if(!o)return!1;{if(null!=o.imports&&!p){let S;r.add(i);try{h(o.imports,B=>{yc(B,t,n,r)&&(S||(S=[]),S.push(B))})}finally{}void 0!==S&&$d(S,t)}if(!p){const S=rr(i)||(()=>new i);t.push({provide:i,useFactory:S,deps:x},{provide:Ud,useValue:i,multi:!0},{provide:_c,useValue:()=>lt(i),multi:!0})}const v=o.providers;null==v||p||vc(v,B=>{t.push(B)})}}return i!==e&&void 0!==e.providers}function vc(e,t){for(let n of e)Te(n)&&(n=n.\u0275providers),Array.isArray(n)?vc(n,t):t(n)}const l_=J({provide:String,useValue:J});function bc(e){return null!==e&&"object"==typeof e&&l_ in e}function Ks(e){return"function"==typeof e}const Dc=new Un("Set Injector scope."),dl={},u_={};let Ec;function fl(){return void 0===Ec&&(Ec=new Hd),Ec}class Ys{}class Gd extends Ys{get destroyed(){return this._destroyed}constructor(t,n,r,i){super(),this.parent=n,this.source=r,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,wc(t,u=>this.processProvider(u)),this.records.set(Bd,fa(void 0,this)),i.has("environment")&&this.records.set(Ys,fa(void 0,this));const o=this.records.get(Dc);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Ud.multi,x,wt.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const n=Tn(this),r=gn(void 0);try{return t()}finally{Tn(n),gn(r)}}get(t,n=ze,r=wt.Default){this.assertNotDestroyed(),r=M(r);const i=Tn(this),o=gn(void 0);try{if(!(r&wt.SkipSelf)){let p=this.records.get(t);if(void 0===p){const v=function g_(e){return"function"==typeof e||"object"==typeof e&&e instanceof Un}(t)&&ln(t);p=v&&this.injectableDefInScope(v)?fa(Cc(t),dl):null,this.records.set(t,p)}if(null!=p)return this.hydrate(t,p)}return(r&wt.Self?fl():this.parent).get(t,n=r&wt.Optional&&n===ze?null:n)}catch(u){if("NullInjectorError"===u.name){if((u[Re]=u[Re]||[]).unshift(ee(t)),i)throw u;return function G(e,t,n,r){const i=e[Re];throw t[Yn]&&i.unshift(t[Yn]),e.message=function de(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let i=ee(t);if(Array.isArray(t))i=t.map(ee).join(" -> ");else if("object"==typeof t){let o=[];for(let u in t)if(t.hasOwnProperty(u)){let p=t[u];o.push(u+":"+("string"==typeof p?JSON.stringify(p):ee(p)))}i=`{${o.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(kt,"\n ")}`}("\n"+e.message,i,n,r),e.ngTokenPath=i,e[Re]=null,e}(u,t,"R3InjectorError",this.source)}throw u}finally{gn(o),Tn(i)}}resolveInjectorInitializers(){const t=Tn(this),n=gn(void 0);try{const r=this.get(_c.multi,x,wt.Self);for(const i of r)i()}finally{Tn(t),gn(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(ee(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Se(205,!1)}processProvider(t){let n=Ks(t=W(t))?t:W(t&&t.provide);const r=function f_(e){return bc(e)?fa(void 0,e.useValue):fa(Wd(e),dl)}(t);if(Ks(t)||!0!==t.multi)this.records.get(n);else{let i=this.records.get(n);i||(i=fa(void 0,dl,!0),i.factory=()=>R(i.multi),this.records.set(n,i)),n=t,i.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===dl&&(n.value=u_,n.value=n.factory()),"object"==typeof n.value&&n.value&&function p_(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=W(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function Cc(e){const t=ln(e),n=null!==t?t.factory:rr(e);if(null!==n)return n;if(e instanceof Un)throw new Se(204,!1);if(e instanceof Function)return function d_(e){const t=e.length;if(t>0)throw w(t,"?"),new Se(204,!1);const n=function vn(e){const t=e&&(e[Xt]||e[Gt]);if(t){const n=function kn(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new Se(204,!1)}function Wd(e,t,n){let r;if(Ks(e)){const i=W(e);return rr(i)||Cc(i)}if(bc(e))r=()=>W(e.useValue);else if(function zd(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...R(e.deps||[]));else if(function Vd(e){return!(!e||!e.useExisting)}(e))r=()=>lt(W(e.useExisting));else{const i=W(e&&(e.useClass||e.provide));if(!function h_(e){return!!e.deps}(e))return rr(i)||Cc(i);r=()=>new i(...R(e.deps))}return r}function fa(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function wc(e,t){for(const n of e)Array.isArray(n)?wc(n,t):n&&Te(n)?wc(n.\u0275providers,t):t(n)}class m_{}class Kd{}class y_{resolveComponentFactory(t){throw function __(e){const t=Error(`No component factory found for ${ee(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let Ha=(()=>{class e{}return e.NULL=new y_,e})();function v_(){return ha(vr(),Qe())}function ha(e,t){return new ja(yr(e,t))}let ja=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=v_,e})();function b_(e){return e instanceof ja?e.nativeElement:e}class Zd{}let D_=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function E_(){const e=Qe(),n=Nr(vr().index,e);return(_r(n)?n:e)[11]}(),e})(),C_=(()=>{class e{}return e.\u0275prov=rt({token:e,providedIn:"root",factory:()=>null}),e})();class Qd{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Xd=new Qd("15.1.1"),Tc={};function Ic(e){return e.ngOriginalError}class $a{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Ic(t);for(;n&&Ic(n);)n=Ic(n);return n||null}}function Is(e){return e instanceof Function?e():e}function qd(e,t,n){let r=e.length;for(;;){const i=e.indexOf(t,n);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){const o=t.length;if(i+o===r||e.charCodeAt(i+o)<=32)return i}n=i+1}}const ef="ng-template";function F_(e,t,n){let r=0;for(;r<e.length;){let i=e[r++];if(n&&"class"===i){if(i=e[r],-1!==qd(i.toLowerCase(),t,0))return!0}else if(1===i){for(;r<e.length&&"string"==typeof(i=e[r++]);)if(i.toLowerCase()===t)return!0;return!1}}return!1}function tf(e){return 4===e.type&&e.value!==ef}function k_(e,t,n){return t===(4!==e.type||n?e.value:ef)}function N_(e,t,n){let r=4;const i=e.attrs||[],o=function U_(e){for(let t=0;t<e.length;t++)if(ri(e[t]))return t;return e.length}(i);let u=!1;for(let p=0;p<t.length;p++){const v=t[p];if("number"!=typeof v){if(!u)if(4&r){if(r=2|1&r,""!==v&&!k_(e,v,n)||""===v&&1===t.length){if(Yo(r))return!1;u=!0}}else{const S=8&r?v:t[++p];if(8&r&&null!==e.attrs){if(!F_(e.attrs,S,n)){if(Yo(r))return!1;u=!0}continue}const q=L_(8&r?"class":v,i,tf(e),n);if(-1===q){if(Yo(r))return!1;u=!0;continue}if(""!==S){let we;we=q>o?"":i[q+1].toLowerCase();const Ue=8&r?we:null;if(Ue&&-1!==qd(Ue,S,0)||2&r&&S!==we){if(Yo(r))return!1;u=!0}}}}else{if(!u&&!Yo(r)&&!Yo(v))return!1;if(u&&Yo(v))continue;u=!1,r=v|1&r}}return Yo(r)||u}function Yo(e){return 0==(1&e)}function L_(e,t,n,r){if(null===t)return-1;let i=0;if(r||!n){let o=!1;for(;i<t.length;){const u=t[i];if(u===e)return i;if(3===u||6===u)o=!0;else{if(1===u||2===u){let p=t[++i];for(;"string"==typeof p;)p=t[++i];continue}if(4===u)break;if(0===u){i+=4;continue}}i+=o?1:2}return-1}return function H_(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function nf(e,t,n=!1){for(let r=0;r<t.length;r++)if(N_(e,t[r],n))return!0;return!1}function j_(e,t){e:for(let n=0;n<t.length;n++){const r=t[n];if(e.length===r.length){for(let i=0;i<e.length;i++)if(e[i]!==r[i])continue e;return!0}}return!1}function rf(e,t){return e?":not("+t.trim()+")":t}function $_(e){let t=e[0],n=1,r=2,i="",o=!1;for(;n<e.length;){let u=e[n];if("string"==typeof u)if(2&r){const p=e[++n];i+="["+u+(p.length>0?'="'+p+'"':"")+"]"}else 8&r?i+="."+u:4&r&&(i+=" "+u);else""!==i&&!Yo(u)&&(t+=rf(o,i),i=""),r=u,o=o||!Yo(r);n++}return""!==i&&(t+=rf(o,i)),t}const mn={};function sf(e){af(fn(),Qe(),Lr()+e,!1)}function af(e,t,n,r){if(!r)if(3==(3&t[2])){const o=e.preOrderCheckHooks;null!==o&&g(t,o,n)}else{const o=e.preOrderHooks;null!==o&&A(t,o,0,n)}eo(n)}function df(e,t=null,n=null,r){const i=ff(e,t,n,r);return i.resolveInjectorInitializers(),i}function ff(e,t=null,n=null,r,i=new Set){const o=[n||x,a_(e)];return r=r||("object"==typeof e?void 0:ee(e)),new Gd(o,t||fl(),r||null,i)}let Zs=(()=>{class e{static create(n,r){if(Array.isArray(n))return df({name:""},r,n,"");{const i=n.name??"";return df({name:i},n.parent,n.providers,i)}}}return e.THROW_IF_NOT_FOUND=ze,e.NULL=new Hd,e.\u0275prov=rt({token:e,providedIn:"any",factory:()=>lt(Bd)}),e.__NG_ELEMENT_ID__=-1,e})();function ma(e,t=wt.Default){const n=Qe();return null===n?lt(e,t):z(vr(),n,W(e),t)}function vf(){throw new Error("invalid")}function bf(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const o=n[r+1];if(-1!==o){const u=e.data[o];Ri(n[r]),u.contentQueries(2,t[o],o)}}}function pl(e,t,n,r,i,o,u,p,v,S,B){const q=t.blueprint.slice();return q[0]=i,q[2]=76|r,(null!==B||e&&1024&e[2])&&(q[2]|=1024),Jo(q),q[3]=q[15]=e,q[8]=n,q[10]=u||e&&e[10],q[11]=p||e&&e[11],q[12]=v||e&&e[12]||null,q[9]=S||e&&e[9]||null,q[6]=o,q[20]=function im(){return rm++}(),q[21]=B,q[16]=2==t.type?e[16]:q,q}function _a(e,t,n,r,i){let o=e.data[t];if(null===o)o=function Pc(e,t,n,r,i){const o=bo(),u=Po(),v=e.data[t]=function py(e,t,n,r,i,o){return{type:n,index:r,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:0,providerIndexes:0,value:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,u?o:o&&o.parent,n,t,r,i);return null===e.firstChild&&(e.firstChild=v),null!==o&&(u?null==o.child&&null!==v.parent&&(o.child=v):null===o.next&&(o.next=v)),v}(e,t,n,r,i),function ts(){return Wt.lFrame.inI18n}()&&(o.flags|=32);else if(64&o.type){o.type=n,o.value=r,o.attrs=i;const u=function Oo(){const e=Wt.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();o.injectorIndex=null===u?-1:u.injectorIndex}return jr(o,!0),o}function Va(e,t,n,r){if(0===n)return-1;const i=t.length;for(let o=0;o<n;o++)t.push(r),e.blueprint.push(r),e.data.push(null);return i}function Rc(e,t,n){sr(t);try{const r=e.viewQuery;null!==r&&Vc(1,r,n);const i=e.template;null!==i&&Df(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&bf(e,t),e.staticViewQueries&&Vc(2,e.viewQuery,n);const o=e.components;null!==o&&function dy(e,t){for(let n=0;n<t.length;n++)Ry(e,t[n])}(t,o)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[2]&=-5,bs()}}function gl(e,t,n,r){const i=t[2];if(128!=(128&i)){sr(t);try{Jo(t),function Di(e){return Wt.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&Df(e,t,n,2,r);const u=3==(3&i);if(u){const S=e.preOrderCheckHooks;null!==S&&g(t,S,null)}else{const S=e.preOrderHooks;null!==S&&A(t,S,0,null),y(t,0)}if(function Oy(e){for(let t=ec(e);null!==t;t=tc(t)){if(!t[2])continue;const n=t[9];for(let r=0;r<n.length;r++){const i=n[r];512&i[2]||bi(i[3],1),i[2]|=512}}}(t),function xy(e){for(let t=ec(e);null!==t;t=tc(t))for(let n=10;n<t.length;n++){const r=t[n],i=r[1];vi(r)&&gl(i,r,i.template,r[8])}}(t),null!==e.contentQueries&&bf(e,t),u){const S=e.contentCheckHooks;null!==S&&g(t,S)}else{const S=e.contentHooks;null!==S&&A(t,S,1),y(t,1)}!function cy(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const i=n[r];if(i<0)eo(~i);else{const o=i,u=n[++r],p=n[++r];Ro(u,o),p(2,t[o])}}}finally{eo(-1)}}(e,t);const p=e.components;null!==p&&function uy(e,t){for(let n=0;n<t.length;n++)Py(e,t[n])}(t,p);const v=e.viewQuery;if(null!==v&&Vc(2,v,r),u){const S=e.viewCheckHooks;null!==S&&g(t,S)}else{const S=e.viewHooks;null!==S&&A(t,S,2),y(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[2]&=-41,512&t[2]&&(t[2]&=-513,bi(t[3],-1))}finally{bs()}}}function Df(e,t,n,r,i){const o=Lr(),u=2&r;try{eo(-1),u&&t.length>22&&af(e,t,22,!1),n(r,i)}finally{eo(o)}}function Fc(e,t,n){if(qr(t)){const i=t.directiveEnd;for(let o=t.directiveStart;o<i;o++){const u=e.data[o];u.contentQueries&&u.contentQueries(1,n[o],o)}}}function kc(e,t,n){es()&&(function by(e,t,n,r){const i=n.directiveStart,o=n.directiveEnd;zi(n)&&function Iy(e,t,n){const r=yr(t,e),i=Ef(n),o=e[10],u=ml(e,pl(e,i,null,n.onPush?32:16,r,t,o,o.createRenderer(r,n),null,null,null));e[t.index]=u}(t,n,e.data[i+n.componentOffset]),e.firstCreatePass||ko(n,t),Bi(r,t);const u=n.initialInputs;for(let p=i;p<o;p++){const v=e.data[p],S=Je(t,e,p,n);Bi(S,t),null!==u&&Sy(0,p-i,S,v,0,u),Rr(v)&&(Nr(n.index,t)[8]=Je(t,e,p,n))}}(e,t,n,yr(n,t)),64==(64&n.flags)&&Sf(e,t,n))}function Nc(e,t,n=yr){const r=t.localNames;if(null!==r){let i=t.index+1;for(let o=0;o<r.length;o+=2){const u=r[o+1],p=-1===u?n(t,e):e[u];e[i++]=p}}}function Ef(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Lc(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function Lc(e,t,n,r,i,o,u,p,v,S){const B=22+r,q=B+i,we=function fy(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:mn);return n}(B,q),Ue="function"==typeof S?S():S;return we[1]={type:e,blueprint:we,template:n,queries:null,viewQuery:p,declTNode:t,data:we.slice().fill(null,B),bindingStartIndex:B,expandoStartIndex:q,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof o?o():o,pipeRegistry:"function"==typeof u?u():u,firstChild:null,schemas:v,consts:Ue,incompleteFirstPass:!1}}function Cf(e,t,n,r){const i=xf(t);null===n?i.push(r):(i.push(n),e.firstCreatePass&&Of(e).push(r,i.length-1))}function wf(e,t,n,r){for(let i in e)if(e.hasOwnProperty(i)){n=null===n?{}:n;const o=e[i];null===r?Tf(n,t,i,o):r.hasOwnProperty(i)&&Tf(n,t,r[i],o)}return n}function Tf(e,t,n,r){e.hasOwnProperty(n)?e[n].push(t,r):e[n]=[t,r]}function Mo(e,t,n,r,i,o,u,p){const v=yr(t,n);let B,S=t.inputs;!p&&null!=S&&(B=S[r])?(zc(e,n,B,r,i),zi(t)&&Mf(n,t.index)):3&t.type&&(r=function my(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),i=null!=u?u(i,t.value||"",r):i,o.setProperty(v,r,i))}function Mf(e,t){const n=Nr(t,e);16&n[2]||(n[2]|=32)}function Bc(e,t,n,r){let i=!1;if(es()){const o=null===r?null:{"":-1},u=function Ey(e,t){const n=e.directiveRegistry;let r=null,i=null;if(n)for(let o=0;o<n.length;o++){const u=n[o];if(nf(t,u.selectors,!1))if(r||(r=[]),Rr(u))if(null!==u.findHostDirectiveDefs){const p=[];i=i||new Map,u.findHostDirectiveDefs(u,p,i),r.unshift(...p,u),Uc(e,t,p.length)}else r.unshift(u),Uc(e,t,0);else i=i||new Map,u.findHostDirectiveDefs?.(u,r,i),r.push(u)}return null===r?null:[r,i]}(e,n);let p,v;null===u?p=v=null:[p,v]=u,null!==p&&(i=!0,If(e,t,n,p,o,v)),o&&function Cy(e,t,n){if(t){const r=e.localNames=[];for(let i=0;i<t.length;i+=2){const o=n[t[i+1]];if(null==o)throw new Se(-301,!1);r.push(t[i],o)}}}(n,r,o)}return n.mergedAttrs=lr(n.mergedAttrs,n.attrs),i}function If(e,t,n,r,i,o){for(let S=0;S<r.length;S++)a(ko(n,t),e,r[S].type);!function Ty(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}(n,e.data.length,r.length);for(let S=0;S<r.length;S++){const B=r[S];B.providersResolver&&B.providersResolver(B)}let u=!1,p=!1,v=Va(e,t,r.length,null);for(let S=0;S<r.length;S++){const B=r[S];n.mergedAttrs=lr(n.mergedAttrs,B.hostAttrs),My(e,n,t,v,B),wy(v,B,i),null!==B.contentQueries&&(n.flags|=4),(null!==B.hostBindings||null!==B.hostAttrs||0!==B.hostVars)&&(n.flags|=64);const q=B.type.prototype;!u&&(q.ngOnChanges||q.ngOnInit||q.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),u=!0),!p&&(q.ngOnChanges||q.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),p=!0),v++}!function gy(e,t,n){const i=t.directiveEnd,o=e.data,u=t.attrs,p=[];let v=null,S=null;for(let B=t.directiveStart;B<i;B++){const q=o[B],we=n?n.get(q):null,tt=we?we.outputs:null;v=wf(q.inputs,B,v,we?we.inputs:null),S=wf(q.outputs,B,S,tt);const dt=null===v||null===u||tf(t)?null:Ay(v,B,u);p.push(dt)}null!==v&&(v.hasOwnProperty("class")&&(t.flags|=8),v.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=p,t.inputs=v,t.outputs=S}(e,n,o)}function Sf(e,t,n){const r=n.directiveStart,i=n.directiveEnd,o=n.index,u=function ns(){return Wt.lFrame.currentDirectiveIndex}();try{eo(o);for(let p=r;p<i;p++){const v=e.data[p],S=t[p];lo(p),(null!==v.hostBindings||0!==v.hostVars||null!==v.hostAttrs)&&Dy(v,S)}}finally{eo(-1),lo(u)}}function Dy(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Uc(e,t,n){t.componentOffset=n,(e.components||(e.components=[])).push(t.index)}function wy(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Rr(t)&&(n[""]=e)}}function My(e,t,n,r,i){e.data[r]=i;const o=i.factory||(i.factory=rr(i.type)),u=new Ge(o,Rr(i),ma);e.blueprint[r]=u,n[r]=u,function yy(e,t,n,r,i){const o=i.hostBindings;if(o){let u=e.hostBindingOpCodes;null===u&&(u=e.hostBindingOpCodes=[]);const p=~t.index;(function vy(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(u)!=p&&u.push(p),u.push(n,r,o)}}(e,t,r,Va(e,n,i.hostVars,mn),i)}function fs(e,t,n,r,i,o){const u=yr(e,t);!function Hc(e,t,n,r,i,o,u){if(null==o)e.removeAttribute(t,i,n);else{const p=null==u?Pe(o):u(o,r||"",i);e.setAttribute(t,i,p,n)}}(t[11],u,o,e.value,n,r,i)}function Sy(e,t,n,r,i,o){const u=o[t];if(null!==u){const p=r.setInput;for(let v=0;v<u.length;){const S=u[v++],B=u[v++],q=u[v++];null!==p?r.setInput(n,q,S,B):n[B]=q}}}function Ay(e,t,n){let r=null,i=0;for(;i<n.length;){const o=n[i];if(0!==o)if(5!==o){if("number"==typeof o)break;if(e.hasOwnProperty(o)){null===r&&(r=[]);const u=e[o];for(let p=0;p<u.length;p+=2)if(u[p]===t){r.push(o,u[p+1],n[i+1]);break}}i+=2}else i+=2;else i+=4}return r}function Af(e,t,n,r){return[e,!0,!1,t,null,0,r,n,null,null]}function Py(e,t){const n=Nr(t,e);if(vi(n)){const r=n[1];48&n[2]?gl(r,n,r.template,n[8]):n[5]>0&&jc(n)}}function jc(e){for(let r=ec(e);null!==r;r=tc(r))for(let i=10;i<r.length;i++){const o=r[i];if(vi(o))if(512&o[2]){const u=o[1];gl(u,o,u.template,o[8])}else o[5]>0&&jc(o)}const n=e[1].components;if(null!==n)for(let r=0;r<n.length;r++){const i=Nr(n[r],e);vi(i)&&i[5]>0&&jc(i)}}function Ry(e,t){const n=Nr(t,e),r=n[1];(function Fy(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(r,n),Rc(r,n,n[8])}function ml(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function $c(e){for(;e;){e[2]|=32;const t=Na(e);if(Si(e)&&!t)return e;e=t}return null}function _l(e,t,n,r=!0){const i=t[10];i.begin&&i.begin();try{gl(e,t,e.template,n)}catch(u){throw r&&Rf(t,u),u}finally{i.end&&i.end()}}function Vc(e,t,n){Ri(0),t(e,n)}function xf(e){return e[7]||(e[7]=[])}function Of(e){return e.cleanup||(e.cleanup=[])}function Pf(e,t,n){return(null===e||Rr(e))&&(n=function So(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(n[t.index])),n[11]}function Rf(e,t){const n=e[9],r=n?n.get($a,null):null;r&&r.handleError(t)}function zc(e,t,n,r,i){for(let o=0;o<n.length;){const u=n[o++],p=n[o++],v=t[u],S=e.data[u];null!==S.setInput?S.setInput(v,i,r,p):v[p]=i}}function Ss(e,t,n){const r=Kr(t,e);!function cd(e,t,n){e.setValue(t,n)}(e[11],r,n)}function yl(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,o=0;if(null!==t)for(let u=0;u<t.length;u++){const p=t[u];"number"==typeof p?o=p:1==o?i=Q(i,p):2==o&&(r=Q(r,p+": "+t[++u]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}function vl(e,t,n,r,i=!1){for(;null!==n;){const o=t[n.index];if(null!==o&&r.push(xn(o)),Kn(o))for(let p=10;p<o.length;p++){const v=o[p],S=v[1].firstChild;null!==S&&vl(v[1],v,S,r)}const u=n.type;if(8&u)vl(e,t,n.child,r);else if(32&u){const p=ql(n,t);let v;for(;v=p();)r.push(v)}else if(16&u){const p=bd(t,n);if(Array.isArray(p))r.push(...p);else{const v=Na(t[16]);vl(v[1],v,p,r,!0)}}n=i?n.projectionNext:n.next}return r}class za{get rootNodes(){const t=this._lView,n=t[1];return vl(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return 128==(128&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(Kn(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(ic(t,r),m(n,r))}this._attachedToViewContainer=!1}dd(this._lView[1],this._lView)}onDestroy(t){Cf(this._lView[1],this._lView,null,t)}markForCheck(){$c(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){_l(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Se(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function vm(e,t){La(e,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Se(902,!1);this._appRef=t}}class ky extends za{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;_l(t[1],t,t[8],!1)}checkNoChanges(){}get context(){return null}}class Ff extends Ha{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=_n(t);return new Ga(n,this.ngModule)}}function kf(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class Ly{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=M(r);const i=this.injector.get(t,Tc,r);return i!==Tc||n===Tc?i:this.parentInjector.get(t,n,r)}}class Ga extends Kd{get inputs(){return kf(this.componentDef.inputs)}get outputs(){return kf(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function V_(e){return e.map($_).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,i){let o=(i=i||this.ngModule)instanceof Ys?i:i?.injector;o&&null!==this.componentDef.getStandaloneInjector&&(o=this.componentDef.getStandaloneInjector(o)||o);const u=o?new Ly(t,o):t,p=u.get(Zd,null);if(null===p)throw new Se(407,!1);const v=u.get(C_,null),S=p.createRenderer(null,this.componentDef),B=this.componentDef.selectors[0][0]||"div",q=r?function hy(e,t,n){return e.selectRootElement(t,n===Bt.ShadowDom)}(S,r,this.componentDef.encapsulation):rc(S,B,function Ny(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(B)),we=this.componentDef.onPush?288:272,Ue=Lc(0,null,null,1,0,null,null,null,null,null),tt=pl(null,Ue,null,we,null,null,p,S,v,u,null);let dt,Ct;sr(tt);try{const Lt=this.componentDef;let an,ct=null;Lt.findHostDirectiveDefs?(an=[],ct=new Map,Lt.findHostDirectiveDefs(Lt,an,ct),an.push(Lt)):an=[Lt];const pn=function Uy(e,t){const n=e[1];return e[22]=t,_a(n,22,2,"#host",null)}(tt,q),Ar=function Hy(e,t,n,r,i,o,u,p){const v=i[1];!function jy(e,t,n,r){for(const i of e)t.mergedAttrs=lr(t.mergedAttrs,i.hostAttrs);null!==t.mergedAttrs&&(yl(t,t.mergedAttrs,!0),null!==n&&Cd(r,n,t))}(r,e,t,u);const S=o.createRenderer(t,n),B=pl(i,Ef(n),null,n.onPush?32:16,i[e.index],e,o,S,p||null,null,null);return v.firstCreatePass&&Uc(v,e,r.length-1),ml(i,B),i[e.index]=B}(pn,q,Lt,an,tt,p,S);Ct=Zi(Ue,22),q&&function Vy(e,t,n,r){if(r)pi(e,n,["ng-version",Xd.full]);else{const{attrs:i,classes:o}=function z_(e){const t=[],n=[];let r=1,i=2;for(;r<e.length;){let o=e[r];if("string"==typeof o)2===i?""!==o&&t.push(o,e[++r]):8===i&&n.push(o);else{if(!Yo(i))break;i=o}r++}return{attrs:t,classes:n}}(t.selectors[0]);i&&pi(e,n,i),o&&o.length>0&&Ed(e,n,o.join(" "))}}(S,Lt,q,r),void 0!==n&&function zy(e,t,n){const r=e.projection=[];for(let i=0;i<t.length;i++){const o=n[i];r.push(null!=o?Array.from(o):null)}}(Ct,this.ngContentSelectors,n),dt=function $y(e,t,n,r,i,o){const u=vr(),p=i[1],v=yr(u,i);If(p,i,u,n,null,r);for(let B=0;B<n.length;B++)Bi(Je(i,p,u.directiveStart+B,u),i);Sf(p,i,u),v&&Bi(v,i);const S=Je(i,p,u.directiveStart+u.componentOffset,u);if(e[8]=i[8]=S,null!==o)for(const B of o)B(S,t);return Fc(p,u,e),S}(Ar,Lt,an,ct,tt,[Gy]),Rc(Ue,tt,null)}finally{bs()}return new By(this.componentType,dt,ha(Ct,tt),tt,Ct)}}class By extends m_{constructor(t,n,r,i,o){super(),this.location=r,this._rootLView=i,this._tNode=o,this.instance=n,this.hostView=this.changeDetectorRef=new ky(i),this.componentType=t}setInput(t,n){const r=this._tNode.inputs;let i;if(null!==r&&(i=r[t])){const o=this._rootLView;zc(o[1],o,i,t,n),Mf(o,this._tNode.index)}}get injector(){return new Yt(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function Gy(){const e=vr();Eo(Qe()[1],e)}function Gc(e){let t=function Nf(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let i;if(Rr(e))i=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Se(903,!1);i=t.\u0275dir}if(i){if(n){r.push(i);const u=e;u.inputs=Wc(e.inputs),u.declaredInputs=Wc(e.declaredInputs),u.outputs=Wc(e.outputs);const p=i.hostBindings;p&&Zy(e,p);const v=i.viewQuery,S=i.contentQueries;if(v&&Ky(e,v),S&&Yy(e,S),oe(e.inputs,i.inputs),oe(e.declaredInputs,i.declaredInputs),oe(e.outputs,i.outputs),Rr(i)&&i.data.animation){const B=e.data;B.animation=(B.animation||[]).concat(i.data.animation)}}const o=i.features;if(o)for(let u=0;u<o.length;u++){const p=o[u];p&&p.ngInherit&&p(e),p===Gc&&(n=!1)}}t=Object.getPrototypeOf(t)}!function Wy(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const i=e[r];i.hostVars=t+=i.hostVars,i.hostAttrs=lr(i.hostAttrs,n=lr(n,i.hostAttrs))}}(r)}function Wc(e){return e===ye?{}:e===x?[]:e}function Ky(e,t){const n=e.viewQuery;e.viewQuery=n?(r,i)=>{t(r,i),n(r,i)}:t}function Yy(e,t){const n=e.contentQueries;e.contentQueries=n?(r,i,o)=>{t(r,i,o),n(r,i,o)}:t}function Zy(e,t){const n=e.hostBindings;e.hostBindings=n?(r,i)=>{t(r,i),n(r,i)}:t}let bl=null;function Qs(){if(!bl){const e=Ot.Symbol;if(e&&e.iterator)bl=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;n<t.length;++n){const r=t[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(bl=r)}}}return bl}function Dl(e){return!!Kc(e)&&(Array.isArray(e)||!(e instanceof Map)&&Qs()in e)}function Kc(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function hs(e,t,n){return e[t]=n}function Wa(e,t){return e[t]}function Ui(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Xs(e,t,n,r){const i=Ui(e,t,n);return Ui(e,t+1,r)||i}function Lo(e,t,n,r,i,o){const u=Xs(e,t,n,r);return Xs(e,t+2,i,o)||u}function Yc(e,t,n,r){const i=Qe();return Ui(i,$r(),t)&&(fn(),fs(Qn(),i,e,t,n,r)),Yc}function va(e,t,n,r){return Ui(e,$r(),n)?t+Pe(n)+r:mn}function ba(e,t,n,r,i,o){const p=Xs(e,function zn(){return Wt.lFrame.bindingIndex}(),n,i);return Vr(2),p?t+Pe(n)+r+Pe(i)+o:mn}function Zf(e,t,n,r,i,o,u,p){const v=Qe(),S=fn(),B=e+22,q=S.firstCreatePass?function ov(e,t,n,r,i,o,u,p,v){const S=t.consts,B=_a(t,e,4,u||null,ci(S,p));Bc(t,n,B,ci(S,v)),Eo(t,B);const q=B.tViews=Lc(2,B,r,i,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,S);return null!==t.queries&&(t.queries.template(t,B),q.queries=t.queries.embeddedTView(B)),B}(B,S,v,t,n,r,i,o,u):S.data[B];jr(q,!1);const we=v[11].createComment("");ol(S,v,we,q),Bi(we,v),ml(v,v[B]=Af(we,v,we,q)),Gi(q)&&kc(S,v,q),null!=u&&Nc(v,q,p)}function Qf(e){return Yr(function zo(){return Wt.lFrame.contextLView}(),22+e)}function Zc(e,t,n){const r=Qe();return Ui(r,$r(),t)&&Mo(fn(),Qn(),r,e,t,r[11],n,!1),Zc}function Qc(e,t,n,r,i){const u=i?"class":"style";zc(e,n,t.inputs[u],u,r)}function Cl(e,t,n,r){const i=Qe(),o=fn(),u=22+e,p=i[11],v=i[u]=rc(p,t,function ws(){return Wt.lFrame.currentNamespace}()),S=o.firstCreatePass?function av(e,t,n,r,i,o,u){const p=t.consts,S=_a(t,e,2,i,ci(p,o));return Bc(t,n,S,ci(p,u)),null!==S.attrs&&yl(S,S.attrs,!1),null!==S.mergedAttrs&&yl(S,S.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,S),S}(u,o,i,0,t,n,r):o.data[u];return jr(S,!0),Cd(p,v,S),32!=(32&S.flags)&&ol(o,i,v,S),0===function xo(){return Wt.lFrame.elementDepthCount}()&&Bi(v,i),function xs(){Wt.lFrame.elementDepthCount++}(),Gi(S)&&(kc(o,i,S),Fc(o,S,i)),null!==r&&Nc(i,S),Cl}function wl(){let e=vr();Po()?Vo():(e=e.parent,jr(e,!1));const t=e;!function jo(){Wt.lFrame.elementDepthCount--}();const n=fn();return n.firstCreatePass&&(Eo(n,e),qr(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function un(e){return 0!=(8&e.flags)}(t)&&Qc(n,t,Qe(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function ar(e){return 0!=(16&e.flags)}(t)&&Qc(n,t,Qe(),t.stylesWithoutHost,!1),wl}function Xc(e,t,n,r){return Cl(e,t,n,r),wl(),Xc}function Tl(e,t,n){const r=Qe(),i=fn(),o=e+22,u=i.firstCreatePass?function lv(e,t,n,r,i){const o=t.consts,u=ci(o,r),p=_a(t,e,8,"ng-container",u);return null!==u&&yl(p,u,!0),Bc(t,n,p,ci(o,i)),null!==t.queries&&t.queries.elementStart(t,p),p}(o,i,r,t,n):i.data[o];jr(u,!0);const p=r[o]=r[11].createComment("");return ol(i,r,p,u),Bi(p,r),Gi(u)&&(kc(i,r,u),Fc(i,u,r)),null!=n&&Nc(r,u),Tl}function Ml(){let e=vr();const t=fn();return Po()?Vo():(e=e.parent,jr(e,!1)),t.firstCreatePass&&(Eo(t,e),qr(e)&&t.queries.elementEnd(e)),Ml}function Jc(e,t,n){return Tl(e,t,n),Ml(),Jc}function Xf(){return Qe()}function qc(e){return!!e&&"function"==typeof e.then}function Jf(e){return!!e&&"function"==typeof e.subscribe}const qf=Jf;function eu(e,t,n,r){const i=Qe(),o=fn(),u=vr();return eh(o,i,i[11],u,e,t,r),eu}function tu(e,t){const n=vr(),r=Qe(),i=fn();return eh(i,r,Pf(Pi(i.data),n,r),n,e,t),tu}function eh(e,t,n,r,i,o,u){const p=Gi(r),S=e.firstCreatePass&&Of(e),B=t[8],q=xf(t);let we=!0;if(3&r.type||u){const dt=yr(r,t),Ct=u?u(dt):dt,Lt=q.length,an=u?pn=>u(xn(pn[r.index])):r.index;let ct=null;if(!u&&p&&(ct=function cv(e,t,n,r){const i=e.cleanup;if(null!=i)for(let o=0;o<i.length-1;o+=2){const u=i[o];if(u===n&&i[o+1]===r){const p=t[7],v=i[o+2];return p.length>v?p[v]:null}"string"==typeof u&&(o+=2)}return null}(e,t,i,r.index)),null!==ct)(ct.__ngLastListenerFn__||ct).__ngNextListenerFn__=o,ct.__ngLastListenerFn__=o,we=!1;else{o=nh(r,t,B,o,!1);const pn=n.listen(Ct,i,o);q.push(o,pn),S&&S.push(i,an,Lt,Lt+1)}}else o=nh(r,t,B,o,!1);const Ue=r.outputs;let tt;if(we&&null!==Ue&&(tt=Ue[i])){const dt=tt.length;if(dt)for(let Ct=0;Ct<dt;Ct+=2){const Ar=t[tt[Ct]][tt[Ct+1]].subscribe(o),Xr=q.length;q.push(o,Ar),S&&S.push(i,r.index,Xr,-(Xr+1))}}}function th(e,t,n,r){try{return!1!==n(r)}catch(i){return Rf(e,i),!1}}function nh(e,t,n,r,i){return function o(u){if(u===Function)return r;$c(e.componentOffset>-1?Nr(e.index,t):t);let v=th(t,0,r,u),S=o.__ngNextListenerFn__;for(;S;)v=th(t,0,S,u)&&v,S=S.__ngNextListenerFn__;return i&&!1===v&&(u.preventDefault(),u.returnValue=!1),v}}function rh(e=1){return function Ds(e){return(Wt.lFrame.contextLView=function qi(e,t){for(;e>0;)t=t[15],e--;return t}(e,Wt.lFrame.contextLView))[8]}(e)}function uv(e,t){let n=null;const r=function B_(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(!(1&n))return t[n+1]}return null}(e);for(let i=0;i<t.length;i++){const o=t[i];if("*"!==o){if(null===r?nf(e,o,!0):j_(r,o))return i}else n=i}return n}function ih(e){const t=Qe()[16][6];if(!t.projection){const r=t.projection=w(e?e.length:1,null),i=r.slice();let o=t.child;for(;null!==o;){const u=e?uv(o,e):0;null!==u&&(i[u]?i[u].projectionNext=o:r[u]=o,i[u]=o),o=o.next}}}function oh(e,t=0,n){const r=Qe(),i=fn(),o=_a(i,22+e,16,null,n||null);null===o.projection&&(o.projection=t),Vo(),32!=(32&o.flags)&&function Im(e,t,n){Dd(t[11],0,t,n,fd(e,n,t),md(n.parent||t[6],n,t))}(i,r,o)}function nu(e,t,n){return ru(e,"",t,"",n),nu}function ru(e,t,n,r,i){const o=Qe(),u=va(o,t,n,r);return u!==mn&&Mo(fn(),Qn(),o,e,u,o[11],i,!1),ru}function iu(e,t,n,r,i,o,u){const p=Qe(),v=ba(p,t,n,r,i,o);return v!==mn&&Mo(fn(),Qn(),p,e,v,p[11],u,!1),iu}function Il(e,t){return e<<17|t<<2}function js(e){return e>>17&32767}function ou(e){return 2|e}function Js(e){return(131068&e)>>2}function su(e,t){return-131069&e|t<<2}function au(e){return 1|e}function hh(e,t,n,r,i){const o=e[n+1],u=null===t;let p=r?js(o):Js(o),v=!1;for(;0!==p&&(!1===v||u);){const B=e[p+1];mv(e[p],t)&&(v=!0,e[p+1]=r?au(B):ou(B)),p=r?js(B):Js(B)}v&&(e[n+1]=r?ou(o):au(o))}function mv(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&yn(e,t)>=0}const di={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function ph(e){return e.substring(di.key,di.keyEnd)}function gh(e,t){const n=di.textEnd;return n===t?-1:(t=di.keyEnd=function bv(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,di.key=t,n),Ia(e,t,n))}function Ia(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function lu(e,t,n){return Zo(e,t,n,!1),lu}function cu(e,t){return Zo(e,t,null,!0),cu}function bh(e){Qo(_t,gs,e,!0)}function gs(e,t){for(let n=function yv(e){return function _h(e){di.key=0,di.keyEnd=0,di.value=0,di.valueEnd=0,di.textEnd=e.length}(e),gh(e,Ia(e,0,di.textEnd))}(t);n>=0;n=gh(t,n))_t(e,ph(t),!0)}function Zo(e,t,n,r){const i=Qe(),o=fn(),u=Vr(2);o.firstUpdatePass&&Eh(o,e,u,r),t!==mn&&Ui(i,u,t)&&wh(o,o.data[Lr()],i,i[11],e,i[u+1]=function xv(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=ee(Ts(e)))),e}(t,n),r,u)}function Qo(e,t,n,r){const i=fn(),o=Vr(2);i.firstUpdatePass&&Eh(i,null,o,r);const u=Qe();if(n!==mn&&Ui(u,o,n)){const p=i.data[Lr()];if(Mh(p,r)&&!Dh(i,o)){let v=r?p.classesWithoutHost:p.stylesWithoutHost;null!==v&&(n=Q(v,n||"")),Qc(i,p,u,n,r)}else!function Av(e,t,n,r,i,o,u,p){i===mn&&(i=x);let v=0,S=0,B=0<i.length?i[0]:null,q=0<o.length?o[0]:null;for(;null!==B||null!==q;){const we=v<i.length?i[v+1]:void 0,Ue=S<o.length?o[S+1]:void 0;let dt,tt=null;B===q?(v+=2,S+=2,we!==Ue&&(tt=q,dt=Ue)):null===q||null!==B&&B<q?(v+=2,tt=B):(S+=2,tt=q,dt=Ue),null!==tt&&wh(e,t,n,r,tt,dt,u,p),B=v<i.length?i[v]:null,q=S<o.length?o[S]:null}}(i,p,u,u[11],u[o+1],u[o+1]=function Sv(e,t,n){if(null==n||""===n)return x;const r=[],i=Ts(n);if(Array.isArray(i))for(let o=0;o<i.length;o++)e(r,i[o],!0);else if("object"==typeof i)for(const o in i)i.hasOwnProperty(o)&&e(r,o,i[o]);else"string"==typeof i&&t(r,i);return r}(e,t,n),r,o)}}function Dh(e,t){return t>=e.expandoStartIndex}function Eh(e,t,n,r){const i=e.data;if(null===i[n+1]){const o=i[Lr()],u=Dh(e,n);Mh(o,r)&&null===t&&!u&&(t=!1),t=function wv(e,t,n,r){const i=Pi(e);let o=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(n=Ka(n=uu(null,e,t,n,r),t.attrs,r),o=null);else{const u=t.directiveStylingLast;if(-1===u||e[u]!==i)if(n=uu(i,e,t,n,r),null===o){let v=function Tv(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==Js(r))return e[js(r)]}(e,t,r);void 0!==v&&Array.isArray(v)&&(v=uu(null,e,t,v[1],r),v=Ka(v,t.attrs,r),function Mv(e,t,n,r){e[js(n?t.classBindings:t.styleBindings)]=r}(e,t,r,v))}else o=function Iv(e,t,n){let r;const i=t.directiveEnd;for(let o=1+t.directiveStylingLast;o<i;o++)r=Ka(r,e[o].hostAttrs,n);return Ka(r,t.attrs,n)}(e,t,r)}return void 0!==o&&(r?t.residualClasses=o:t.residualStyles=o),n}(i,o,t,r),function pv(e,t,n,r,i,o){let u=o?t.classBindings:t.styleBindings,p=js(u),v=Js(u);e[r]=n;let B,S=!1;if(Array.isArray(n)?(B=n[1],(null===B||yn(n,B)>0)&&(S=!0)):B=n,i)if(0!==v){const we=js(e[p+1]);e[r+1]=Il(we,p),0!==we&&(e[we+1]=su(e[we+1],r)),e[p+1]=function fv(e,t){return 131071&e|t<<17}(e[p+1],r)}else e[r+1]=Il(p,0),0!==p&&(e[p+1]=su(e[p+1],r)),p=r;else e[r+1]=Il(v,0),0===p?p=r:e[v+1]=su(e[v+1],r),v=r;S&&(e[r+1]=ou(e[r+1])),hh(e,B,r,!0),hh(e,B,r,!1),function gv(e,t,n,r,i){const o=i?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof t&&yn(o,t)>=0&&(n[r+1]=au(n[r+1]))}(t,B,e,r,o),u=Il(p,v),o?t.classBindings=u:t.styleBindings=u}(i,o,t,n,u,r)}}function uu(e,t,n,r,i){let o=null;const u=n.directiveEnd;let p=n.directiveStylingLast;for(-1===p?p=n.directiveStart:p++;p<u&&(o=t[p],r=Ka(r,o.hostAttrs,i),o!==e);)p++;return null!==e&&(n.directiveStylingLast=p),r}function Ka(e,t,n){const r=n?1:2;let i=-1;if(null!==t)for(let o=0;o<t.length;o++){const u=t[o];"number"==typeof u?i=u:i===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),_t(e,u,!!n||t[++o]))}return void 0===e?null:e}function wh(e,t,n,r,i,o,u,p){if(!(3&t.type))return;const v=e.data,S=v[p+1],B=function hv(e){return 1==(1&e)}(S)?Th(v,t,n,i,Js(S),u):void 0;Sl(B)||(Sl(o)||function dv(e){return 2==(2&e)}(S)&&(o=Th(v,null,n,i,p,u)),function Am(e,t,n,r,i){if(t)i?e.addClass(n,r):e.removeClass(n,r);else{let o=-1===r.indexOf("-")?void 0:ds.DashCase;null==i?e.removeStyle(n,r,o):("string"==typeof i&&i.endsWith("!important")&&(i=i.slice(0,-10),o|=ds.Important),e.setStyle(n,r,i,o))}}(r,u,Kr(Lr(),n),i,o))}function Th(e,t,n,r,i,o){const u=null===t;let p;for(;i>0;){const v=e[i],S=Array.isArray(v),B=S?v[1]:v,q=null===B;let we=n[i+1];we===mn&&(we=q?x:void 0);let Ue=q?St(we,r):B===r?we:void 0;if(S&&!Sl(Ue)&&(Ue=St(v,r)),Sl(Ue)&&(p=Ue,u))return p;const tt=e[i+1];i=u?js(tt):Js(tt)}if(null!==t){let v=o?t.residualClasses:t.residualStyles;null!=v&&(p=St(v,r))}return p}function Sl(e){return void 0!==e}function Mh(e,t){return 0!=(e.flags&(t?8:16))}function Ih(e,t=""){const n=Qe(),r=fn(),i=e+22,o=r.firstCreatePass?_a(r,i,1,t,null):r.data[i],u=n[i]=function nc(e,t){return e.createText(t)}(n[11],t);ol(r,n,u,o),jr(o,!1)}function du(e){return Al("",e,""),du}function Al(e,t,n){const r=Qe(),i=va(r,e,t,n);return i!==mn&&Ss(r,Lr(),i),Al}function fu(e,t,n,r,i){const o=Qe(),u=ba(o,e,t,n,r,i);return u!==mn&&Ss(o,Lr(),u),fu}function kh(e,t,n){Qo(_t,gs,va(Qe(),e,t,n),!0)}function hu(e,t,n){const r=Qe();return Ui(r,$r(),t)&&Mo(fn(),Qn(),r,e,t,r[11],n,!0),hu}function pu(e,t,n){const r=Qe();if(Ui(r,$r(),t)){const o=fn(),u=Qn();Mo(o,u,r,e,t,Pf(Pi(o.data),u,r),n,!0)}return pu}const qs=void 0;var Zv=["en",[["a","p"],["AM","PM"],qs],[["AM","PM"],qs,qs],[["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"]],qs,[["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"]],qs,[["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}",qs,"{1} 'at' {0}",qs],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function Yv(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let Sa={};function gu(e){const t=function Qv(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Wh(t);if(n)return n;const r=t.split("-")[0];if(n=Wh(r),n)return n;if("en"===r)return Zv;throw new Se(701,!1)}function Gh(e){return gu(e)[on.PluralCase]}function Wh(e){return e in Sa||(Sa[e]=Ot.ng&&Ot.ng.common&&Ot.ng.common.locales&&Ot.ng.common.locales[e]),Sa[e]}var on=(()=>((on=on||{})[on.LocaleId=0]="LocaleId",on[on.DayPeriodsFormat=1]="DayPeriodsFormat",on[on.DayPeriodsStandalone=2]="DayPeriodsStandalone",on[on.DaysFormat=3]="DaysFormat",on[on.DaysStandalone=4]="DaysStandalone",on[on.MonthsFormat=5]="MonthsFormat",on[on.MonthsStandalone=6]="MonthsStandalone",on[on.Eras=7]="Eras",on[on.FirstDayOfWeek=8]="FirstDayOfWeek",on[on.WeekendRange=9]="WeekendRange",on[on.DateFormat=10]="DateFormat",on[on.TimeFormat=11]="TimeFormat",on[on.DateTimeFormat=12]="DateTimeFormat",on[on.NumberSymbols=13]="NumberSymbols",on[on.NumberFormats=14]="NumberFormats",on[on.CurrencyCode=15]="CurrencyCode",on[on.CurrencySymbol=16]="CurrencySymbol",on[on.CurrencyName=17]="CurrencyName",on[on.Currencies=18]="Currencies",on[on.Directionality=19]="Directionality",on[on.PluralCase=20]="PluralCase",on[on.ExtraData=21]="ExtraData",on))();const Aa="en-US";let Kh=Aa;function yu(e,t,n,r,i){if(e=W(e),Array.isArray(e))for(let o=0;o<e.length;o++)yu(e[o],t,n,r,i);else{const o=fn(),u=Qe();let p=Ks(e)?e:W(e.provide),v=Wd(e);const S=vr(),B=1048575&S.providerIndexes,q=S.directiveStart,we=S.providerIndexes>>20;if(Ks(e)||!e.multi){const Ue=new Ge(v,i,ma),tt=bu(p,t,i?B:B+we,q);-1===tt?(a(ko(S,u),o,p),vu(o,e,t.length),t.push(p),S.directiveStart++,S.directiveEnd++,i&&(S.providerIndexes+=1048576),n.push(Ue),u.push(Ue)):(n[tt]=Ue,u[tt]=Ue)}else{const Ue=bu(p,t,B+we,q),tt=bu(p,t,B,B+we),Ct=tt>=0&&n[tt];if(i&&!Ct||!i&&!(Ue>=0&&n[Ue])){a(ko(S,u),o,p);const Lt=function Kb(e,t,n,r,i){const o=new Ge(e,n,ma);return o.multi=[],o.index=t,o.componentProviders=0,yp(o,i,r&&!n),o}(i?Wb:Gb,n.length,i,r,v);!i&&Ct&&(n[tt].providerFactory=Lt),vu(o,e,t.length,0),t.push(p),S.directiveStart++,S.directiveEnd++,i&&(S.providerIndexes+=1048576),n.push(Lt),u.push(Lt)}else vu(o,e,Ue>-1?Ue:tt,yp(n[i?tt:Ue],v,!i&&r));!i&&r&&Ct&&n[tt].componentProviders++}}}function vu(e,t,n,r){const i=Ks(t),o=function c_(e){return!!e.useClass}(t);if(i||o){const v=(o?W(t.useClass):t).prototype.ngOnDestroy;if(v){const S=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){const B=S.indexOf(n);-1===B?S.push(n,[r,v]):S[B+1].push(r,v)}else S.push(n,v)}}}function yp(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function bu(e,t,n,r){for(let i=n;i<r;i++)if(t[i]===e)return i;return-1}function Gb(e,t,n,r){return Du(this.multi,[])}function Wb(e,t,n,r){const i=this.multi;let o;if(this.providerFactory){const u=this.providerFactory.componentProviders,p=Je(n,n[1],this.providerFactory.index,r);o=p.slice(0,u),Du(i,o);for(let v=u;v<p.length;v++)o.push(p[v])}else o=[],Du(i,o);return o}function Du(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function vp(e,t=[]){return n=>{n.providersResolver=(r,i)=>function zb(e,t,n){const r=fn();if(r.firstCreatePass){const i=Rr(e);yu(n,r.data,r.blueprint,i,!0),yu(t,r.data,r.blueprint,i,!1)}}(r,i?i(e):e,t)}}class xa{}class bp{}function Yb(e,t){return new Dp(e,t??null)}class Dp extends xa{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Ff(this);const r=tr(t);this._bootstrapComponents=Is(r.bootstrap),this._r3Injector=ff(t,n,[{provide:xa,useValue:this},{provide:Ha,useValue:this.componentFactoryResolver}],ee(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}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 Eu extends bp{constructor(t){super(),this.moduleType=t}create(t){return new Dp(this.moduleType,t)}}class Zb extends xa{constructor(t,n,r){super(),this.componentFactoryResolver=new Ff(this),this.instance=null;const i=new Gd([...t,{provide:xa,useValue:this},{provide:Ha,useValue:this.componentFactoryResolver}],n||fl(),r,new Set(["environment"]));this.injector=i,i.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Cu(e,t,n=null){return new Zb(e,t,n).injector}let Qb=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n.id)){const r=jd(0,n.type),i=r.length>0?Cu([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n.id,i)}return this.cachedInjectors.get(n.id)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}}return e.\u0275prov=rt({token:e,providedIn:"environment",factory:()=>new e(lt(Ys))}),e})();function Ep(e){e.getStandaloneInjector=t=>t.get(Qb).getOrCreateStandaloneInjector(e)}function Ap(e,t,n){const r=Mr()+e,i=Qe();return i[r]===mn?hs(i,r,n?t.call(n):t()):Wa(i,r)}function xp(e,t,n,r){return kp(Qe(),Mr(),e,t,n,r)}function Op(e,t,n,r,i){return Np(Qe(),Mr(),e,t,n,r,i)}function Pp(e,t,n,r,i,o){return function Lp(e,t,n,r,i,o,u,p){const v=t+n;return function El(e,t,n,r,i){const o=Xs(e,t,n,r);return Ui(e,t+2,i)||o}(e,v,i,o,u)?hs(e,v+3,p?r.call(p,i,o,u):r(i,o,u)):qa(e,v+3)}(Qe(),Mr(),e,t,n,r,i,o)}function Rp(e,t,n,r,i,o,u){return function Bp(e,t,n,r,i,o,u,p,v){const S=t+n;return Lo(e,S,i,o,u,p)?hs(e,S+4,v?r.call(v,i,o,u,p):r(i,o,u,p)):qa(e,S+4)}(Qe(),Mr(),e,t,n,r,i,o,u)}function Fp(e,t,n,r,i,o,u,p){const v=Mr()+e,S=Qe(),B=Lo(S,v,n,r,i,o);return Ui(S,v+4,u)||B?hs(S,v+5,p?t.call(p,n,r,i,o,u):t(n,r,i,o,u)):Wa(S,v+5)}function qa(e,t){const n=e[t];return n===mn?void 0:n}function kp(e,t,n,r,i,o){const u=t+n;return Ui(e,u,i)?hs(e,u+1,o?r.call(o,i):r(i)):qa(e,u+1)}function Np(e,t,n,r,i,o,u){const p=t+n;return Xs(e,p,i,o)?hs(e,p+2,u?r.call(u,i,o):r(i,o)):qa(e,p+2)}function Hp(e,t){const n=fn();let r;const i=e+22;n.firstCreatePass?(r=function u0(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[i]=r,r.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(i,r.onDestroy)):r=n.data[i];const o=r.factory||(r.factory=rr(r.type)),u=gn(ma);try{const p=ss(!1),v=o();return ss(p),function sv(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,Qe(),i,v),v}finally{gn(u)}}function jp(e,t,n){const r=e+22,i=Qe(),o=Yr(i,r);return el(i,r)?kp(i,Mr(),t,o.transform,n,o):o.transform(n)}function $p(e,t,n,r){const i=e+22,o=Qe(),u=Yr(o,i);return el(o,i)?Np(o,Mr(),t,u.transform,n,r,u):u.transform(n,r)}function el(e,t){return e[1].data[t].pure}function Tu(e){return t=>{setTimeout(e,void 0,t)}}const ms=class p0 extends s.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let i=t,o=n||(()=>null),u=r;if(t&&"object"==typeof t){const v=t;i=v.next?.bind(v),o=v.error?.bind(v),u=v.complete?.bind(v)}this.__isAsync&&(o=Tu(o),i&&(i=Tu(i)),u&&(u=Tu(u)));const p=super.subscribe({next:i,error:o,complete:u});return t instanceof f.w0&&t.add(p),p}};function g0(){return this._results[Qs()]()}class Fl{get changes(){return this._changes||(this._changes=new ms)}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const n=Qs(),r=Fl.prototype;r[n]||(r[n]=g0)}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){const r=this;r.dirty=!1;const i=function d(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function Bs(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let i=e[r],o=t[r];if(n&&(i=n(i),o=n(o)),o!==i)return!1}return!0}(r._results,i,n))&&(r._results=i,r.length=i.length,r.last=i[this.length-1],r.first=i[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}let tl=(()=>{class e{}return e.__NG_ELEMENT_ID__=y0,e})();const m0=tl,_0=class extends m0{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t,n){const r=this._declarationTContainer.tViews,i=pl(this._declarationLView,r,t,16,null,r.declTNode,null,null,null,null,n||null);i[17]=this._declarationLView[this._declarationTContainer.index];const u=this._declarationLView[19];return null!==u&&(i[19]=u.createEmbeddedView(r)),Rc(r,i,t),new za(i)}};function y0(){return kl(vr(),Qe())}function kl(e,t){return 4&e.type?new _0(t,e,ha(e,t)):null}let Nl=(()=>{class e{}return e.__NG_ELEMENT_ID__=v0,e})();function v0(){return Gp(vr(),Qe())}const b0=Nl,Vp=class extends b0{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return ha(this._hostTNode,this._hostLView)}get injector(){return new Yt(this._hostTNode,this._hostLView)}get parentInjector(){const t=E(this._hostTNode,this._hostLView);if(Co(t)){const n=os(t,this._hostLView),r=uo(t);return new Yt(n[1].data[r+8],n)}return new Yt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=zp(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){let i,o;"number"==typeof r?i=r:null!=r&&(i=r.index,o=r.injector);const u=t.createEmbeddedView(n||{},o);return this.insert(u,i),u}createComponent(t,n,r,i,o){const u=t&&!function No(e){return"function"==typeof e}(t);let p;if(u)p=n;else{const q=n||{};p=q.index,r=q.injector,i=q.projectableNodes,o=q.environmentInjector||q.ngModuleRef}const v=u?t:new Ga(_n(t)),S=r||this.parentInjector;if(!o&&null==v.ngModule){const we=(u?S:this.parentInjector).get(Ys,null);we&&(o=we)}const B=v.create(S,i,void 0,o);return this.insert(B.hostView,p),B}insert(t,n){const r=t._lView,i=r[1];if(function Ao(e){return Kn(e[3])}(r)){const B=this.indexOf(t);if(-1!==B)this.detach(B);else{const q=r[3],we=new Vp(q,q[6],q[3]);we.detach(we.indexOf(t))}}const o=this._adjustIndex(n),u=this._lContainer;!function Dm(e,t,n,r){const i=10+r,o=n.length;r>0&&(n[i-1][4]=t),r<o-10?(t[4]=n[i],c(n,10+r,t)):(n.push(t),t[4]=null),t[3]=n;const u=t[17];null!==u&&n!==u&&function Em(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(u,t);const p=t[19];null!==p&&p.insertView(e),t[2]|=64}(i,r,u,o);const p=ac(o,u),v=r[11],S=il(v,u[7]);return null!==S&&function ym(e,t,n,r,i,o){r[0]=i,r[6]=t,La(e,r,n,1,i,o)}(i,u[6],v,r,S,p),t.attachToViewContainerRef(),c(Mu(u),o,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=zp(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=ic(this._lContainer,n);r&&(m(Mu(this._lContainer),n),dd(r[1],r))}detach(t){const n=this._adjustIndex(t,-1),r=ic(this._lContainer,n);return r&&null!=m(Mu(this._lContainer),n)?new za(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function zp(e){return e[8]}function Mu(e){return e[8]||(e[8]=[])}function Gp(e,t){let n;const r=t[e.index];if(Kn(r))n=r;else{let i;if(8&e.type)i=xn(r);else{const o=t[11];i=o.createComment("");const u=yr(e,t);zs(o,il(o,u),i,function Mm(e,t){return e.nextSibling(t)}(o,u),!1)}t[e.index]=n=Af(r,t,i,e),ml(t,n)}return new Vp(n,e,t)}class Iu{constructor(t){this.queryList=t,this.matches=null}clone(){return new Iu(this.queryList)}setDirty(){this.queryList.setDirty()}}class Su{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,i=[];for(let o=0;o<r;o++){const u=n.getByIndex(o);i.push(this.queries[u.indexInDeclarationView].clone())}return new Su(i)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==eg(t,n).matches&&this.queries[n].setDirty()}}class Wp{constructor(t,n,r=null){this.predicate=t,this.flags=n,this.read=r}}class Au{constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){const i=null!==n?n.length:0,o=this.getByIndex(r).embeddedTView(t,i);o&&(o.indexInDeclarationView=r,null!==n?n.push(o):n=[o])}return null!==n?new Au(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class xu{constructor(t,n=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new xu(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const n=this._declarationNodeIndex;let r=t.parent;for(;null!==r&&8&r.type&&r.index!==n;)r=r.parent;return n===(null!==r?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const r=this.metadata.predicate;if(Array.isArray(r))for(let i=0;i<r.length;i++){const o=r[i];this.matchTNodeWithReadOption(t,n,D0(n,o)),this.matchTNodeWithReadOption(t,n,Be(n,t,o,!1,!1))}else r===tl?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Be(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const i=this.metadata.read;if(null!==i)if(i===ja||i===Nl||i===tl&&4&n.type)this.addMatch(n.index,-2);else{const o=Be(n,t,i,!1,!1);null!==o&&this.addMatch(n.index,o)}else this.addMatch(n.index,r)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function D0(e,t){const n=e.localNames;if(null!==n)for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1];return null}function C0(e,t,n,r){return-1===n?function E0(e,t){return 11&e.type?ha(e,t):4&e.type?kl(e,t):null}(t,e):-2===n?function w0(e,t,n){return n===ja?ha(t,e):n===tl?kl(t,e):n===Nl?Gp(t,e):void 0}(e,t,r):Je(e,e[1],n,t)}function Kp(e,t,n,r){const i=t[19].queries[r];if(null===i.matches){const o=e.data,u=n.matches,p=[];for(let v=0;v<u.length;v+=2){const S=u[v];p.push(S<0?null:C0(t,o[S],u[v+1],n.metadata.read))}i.matches=p}return i.matches}function Ou(e,t,n,r){const i=e.queries.getByIndex(n),o=i.matches;if(null!==o){const u=Kp(e,t,i,n);for(let p=0;p<o.length;p+=2){const v=o[p];if(v>0)r.push(u[p/2]);else{const S=o[p+1],B=t[-v];for(let q=10;q<B.length;q++){const we=B[q];we[17]===we[3]&&Ou(we[1],we,S,r)}if(null!==B[9]){const q=B[9];for(let we=0;we<q.length;we++){const Ue=q[we];Ou(Ue[1],Ue,S,r)}}}}}return r}function Yp(e){const t=Qe(),n=fn(),r=Go();Ri(r+1);const i=eg(n,r);if(e.dirty&&function Ho(e){return 4==(4&e[2])}(t)===(2==(2&i.metadata.flags))){if(null===i.matches)e.reset([]);else{const o=i.crossesNgTemplate?Ou(n,t,r,[]):Kp(n,t,i,r);e.reset(o,b_),e.notifyOnChanges()}return!0}return!1}function Zp(e,t,n){const r=fn();r.firstCreatePass&&(qp(r,new Wp(e,t,n),-1),2==(2&t)&&(r.staticViewQueries=!0)),Jp(r,Qe(),t)}function Qp(e,t,n,r){const i=fn();if(i.firstCreatePass){const o=vr();qp(i,new Wp(t,n,r),o.index),function M0(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(i,e),2==(2&n)&&(i.staticContentQueries=!0)}Jp(i,Qe(),n)}function Xp(){return function T0(e,t){return e[19].queries[t].queryList}(Qe(),Go())}function Jp(e,t,n){const r=new Fl(4==(4&n));Cf(e,t,r,r.destroy),null===t[19]&&(t[19]=new Su),t[19].queries.push(new Iu(r))}function qp(e,t,n){null===e.queries&&(e.queries=new Au),e.queries.track(new xu(t,n))}function eg(e,t){return e.queries.getByIndex(t)}function tg(e,t){return kl(e,t)}function Bl(...e){}const bg=new Un("Application Initializer");let Ul=(()=>{class e{constructor(n){this.appInits=n,this.resolve=Bl,this.reject=Bl,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,i)=>{this.resolve=r,this.reject=i})}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let i=0;i<this.appInits.length;i++){const o=this.appInits[i]();if(qc(o))n.push(o);else if(qf(o)){const u=new Promise((p,v)=>{o.subscribe({complete:p,error:v})});n.push(u)}}Promise.all(n).then(()=>{r()}).catch(i=>{this.reject(i)}),0===n.length&&r(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(lt(bg,8))},e.\u0275prov=rt({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Dg=new Un("AppId",{providedIn:"root",factory:function Eg(){return`${Nu()}${Nu()}${Nu()}`}});function Nu(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Cg=new Un("Platform Initializer"),W0=new Un("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),wg=new Un("appBootstrapListener"),K0=new Un("AnimationModuleType");let Y0=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=rt({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const Hl=new Un("LocaleId",{providedIn:"root",factory:()=>F(Hl,wt.Optional|wt.SkipSelf)||function Z0(){return typeof $localize<"u"&&$localize.locale||Aa}()}),Q0=new Un("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class X0{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let J0=(()=>{class e{compileModuleSync(n){return new Eu(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),o=Is(tr(n).declarations).reduce((u,p)=>{const v=_n(p);return v&&u.push(new Ga(v)),u},[]);return new X0(r,o)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=rt({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const tD=(()=>Promise.resolve(0))();function Lu(e){typeof Zone>"u"?tD.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Bo{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ms(!1),this.onMicrotaskEmpty=new ms(!1),this.onStable=new ms(!1),this.onError=new ms(!1),typeof Zone>"u")throw new Se(908,!1);Zone.assertZonePatched();const i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!r&&n,i.shouldCoalesceRunChangeDetection=r,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function nD(){let e=Ot.requestAnimationFrame,t=Ot.cancelAnimationFrame;if(typeof Zone<"u"&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function oD(e){const t=()=>{!function iD(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Ot,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Uu(e),e.isCheckStableRunning=!0,Bu(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Uu(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,i,o,u,p)=>{try{return Ig(e),n.invokeTask(i,o,u,p)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||e.shouldCoalesceRunChangeDetection)&&t(),Sg(e)}},onInvoke:(n,r,i,o,u,p,v)=>{try{return Ig(e),n.invoke(i,o,u,p,v)}finally{e.shouldCoalesceRunChangeDetection&&t(),Sg(e)}},onHasTask:(n,r,i,o)=>{n.hasTask(i,o),r===i&&("microTask"==o.change?(e._hasPendingMicrotasks=o.microTask,Uu(e),Bu(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(n,r,i,o)=>(n.handleError(i,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}(i)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Bo.isInAngularZone())throw new Se(909,!1)}static assertNotInAngularZone(){if(Bo.isInAngularZone())throw new Se(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,i){const o=this._inner,u=o.scheduleEventTask("NgZoneEvent: "+i,t,rD,Bl,Bl);try{return o.runTask(u,n,r)}finally{o.cancelTask(u)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const rD={};function Bu(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 Uu(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Ig(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Sg(e){e._nesting--,Bu(e)}class sD{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ms,this.onMicrotaskEmpty=new ms,this.onStable=new ms,this.onError=new ms}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,i){return t.apply(n,r)}}const Ag=new Un(""),xg=new Un("");let Hu,aD=(()=>{class e{constructor(n,r,i){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Hu||(function lD(e){Hu=e}(i),i.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Bo.assertNotInAngularZone(),Lu(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())Lu(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,i){let o=-1;r&&r>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(u=>u.timeoutId!==o),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:o,updateCb:i})}whenStable(n,r,i){if(i&&!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,r,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,i){return[]}}return e.\u0275fac=function(n){return new(n||e)(lt(Bo),lt(Og),lt(xg))},e.\u0275prov=rt({token:e,factory:e.\u0275fac}),e})(),Og=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}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,r=!0){return Hu?.findTestabilityInTree(this,n,r)??null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=rt({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})(),$s=null;const Pg=new Un("AllowMultipleToken"),ju=new Un("PlatformDestroyListeners");class dD{constructor(t,n){this.name=t,this.token=n}}function Fg(e,t,n=[]){const r=`Platform: ${t}`,i=new Un(r);return(o=[])=>{let u=$u();if(!u||u.injector.get(Pg,!1)){const p=[...n,...o,{provide:i,useValue:!0}];e?e(p):function fD(e){if($s&&!$s.get(Pg,!1))throw new Se(400,!1);$s=e;const t=e.get(Ng);(function Rg(e){const t=e.get(Cg,null);t&&t.forEach(n=>n())})(e)}(function kg(e=[],t){return Zs.create({name:t,providers:[{provide:Dc,useValue:"platform"},{provide:ju,useValue:new Set([()=>$s=null])},...e]})}(p,r))}return function pD(e){const t=$u();if(!t)throw new Se(401,!1);return t}()}}function $u(){return $s?.get(Ng)??null}let Ng=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const i=function Bg(e,t){let n;return n="noop"===e?new sD:("zone.js"===e?void 0:e)||new Bo(t),n}(r?.ngZone,function Lg(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(r)),o=[{provide:Bo,useValue:i}];return i.run(()=>{const u=Zs.create({providers:o,parent:this.injector,name:n.moduleType.name}),p=n.create(u),v=p.injector.get($a,null);if(!v)throw new Se(402,!1);return i.runOutsideAngular(()=>{const S=i.onError.subscribe({next:B=>{v.handleError(B)}});p.onDestroy(()=>{$l(this._modules,p),S.unsubscribe()})}),function Ug(e,t,n){try{const r=n();return qc(r)?r.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(v,i,()=>{const S=p.injector.get(Ul);return S.runInitializers(),S.donePromise.then(()=>(function Yh(e){It(e,"Expected localeId to be defined"),"string"==typeof e&&(Kh=e.toLowerCase().replace(/_/g,"-"))}(p.injector.get(Hl,Aa)||Aa),this._moduleDoBootstrap(p),p))})})}bootstrapModule(n,r=[]){const i=Hg({},r);return function cD(e,t,n){const r=new Eu(n);return Promise.resolve(r)}(0,0,n).then(o=>this.bootstrapModuleFactory(o,i))}_moduleDoBootstrap(n){const r=n.injector.get(jl);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(i=>r.bootstrap(i));else{if(!n.instance.ngDoBootstrap)throw new Se(-403,!1);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Se(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(ju,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(lt(Zs))},e.\u0275prov=rt({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function Hg(e,t){return Array.isArray(t)?t.reduce(Hg,e):{...e,...t}}let jl=(()=>{class e{get destroyed(){return this._destroyed}get injector(){return this._injector}constructor(n,r,i){this._zone=n,this._injector=r,this._exceptionHandler=i,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const o=new U.y(p=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{p.next(this._stable),p.complete()})}),u=new U.y(p=>{let v;this._zone.runOutsideAngular(()=>{v=this._zone.onStable.subscribe(()=>{Bo.assertNotInAngularZone(),Lu(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,p.next(!0))})})});const S=this._zone.onUnstable.subscribe(()=>{Bo.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{p.next(!1)}))});return()=>{v.unsubscribe(),S.unsubscribe()}});this.isStable=(0,K.T)(o,u.pipe((0,X.B)()))}bootstrap(n,r){const i=n instanceof Kd;if(!this._injector.get(Ul).done)throw!i&&qn(n),new Se(405,false);let u;u=i?n:this._injector.get(Ha).resolveComponentFactory(n),this.componentTypes.push(u.componentType);const p=function uD(e){return e.isBoundToModule}(u)?void 0:this._injector.get(xa),S=u.create(Zs.NULL,[],r||u.selector,p),B=S.location.nativeElement,q=S.injector.get(Ag,null);return q?.registerApplication(B),S.onDestroy(()=>{this.detachView(S.hostView),$l(this.components,S),q?.unregisterApplication(B)}),this._loadComponent(S),S}tick(){if(this._runningTick)throw new Se(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;$l(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(wg,[]);r.push(...this._bootstrapListeners),r.forEach(i=>i(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>$l(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new Se(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(n){return new(n||e)(lt(Bo),lt(Ys),lt($a))},e.\u0275prov=rt({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function $l(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function mD(){return!1}function _D(){}let yD=(()=>{class e{}return e.__NG_ELEMENT_ID__=vD,e})();function vD(e){return function bD(e,t,n){if(zi(e)&&!n){const r=Nr(e.index,t);return new za(r,r)}return 47&e.type?new za(t[16],t):null}(vr(),Qe(),16==(16&e))}class Gg{constructor(){}supports(t){return Dl(t)}create(t){return new MD(t)}}const TD=(e,t)=>t;class MD{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||TD}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,i=0,o=null;for(;n||r;){const u=!r||n&&n.currentIndex<Kg(r,i,o)?n:r,p=Kg(u,i,o),v=u.currentIndex;if(u===r)i--,r=r._nextRemoved;else if(n=n._next,null==u.previousIndex)i++;else{o||(o=[]);const S=p-i,B=v-i;if(S!=B){for(let we=0;we<S;we++){const Ue=we<o.length?o[we]:o[we]=0,tt=Ue+we;B<=tt&&tt<S&&(o[we]=Ue+1)}o[u.previousIndex]=B-S}}p!==v&&t(u,p,v)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!Dl(t))throw new Se(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let i,o,u,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let p=0;p<this.length;p++)o=t[p],u=this._trackByFn(p,o),null!==n&&Object.is(n.trackById,u)?(r&&(n=this._verifyReinsertion(n,o,u,p)),Object.is(n.item,o)||this._addIdentityChange(n,o)):(n=this._mismatch(n,o,u,p),r=!0),n=n._next}else i=0,function nv(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Qs()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,p=>{u=this._trackByFn(i,p),null!==n&&Object.is(n.trackById,u)?(r&&(n=this._verifyReinsertion(n,p,u,i)),Object.is(n.item,p)||this._addIdentityChange(n,p)):(n=this._mismatch(n,p,u,i),r=!0),n=n._next,i++}),this.length=i;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,i){let o;return null===t?o=this._itTail:(o=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,o,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,i))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,o,i)):t=this._addAfter(new ID(n,r),o,i),t}_verifyReinsertion(t,n,r,i){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==o?t=this._reinsertAfter(o,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}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(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const i=t._prevRemoved,o=t._nextRemoved;return null===i?this._removalsHead=o:i._nextRemoved=o,null===o?this._removalsTail=i:o._prevRemoved=i,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const i=null===n?this._itHead:n._next;return t._next=i,t._prev=n,null===i?this._itTail=t:i._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new Wg),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Wg),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class ID{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class SD{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class Wg{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new SD,this.map.set(n,r)),r.add(t)}get(t,n){const i=this.map.get(t);return i?i.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Kg(e,t,n){const r=e.previousIndex;if(null===r)return r;let i=0;return n&&r<n.length&&(i=n[r]),r+t+i}class Yg{constructor(){}supports(t){return t instanceof Map||Kc(t)}create(){return new AD}}class AD{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let n;for(n=this._mapHead;null!==n;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;null!==n;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;null!==n;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}diff(t){if(t){if(!(t instanceof Map||Kc(t)))throw new Se(900,!1)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,i)=>{if(n&&n.key===i)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const o=this._getOrCreateRecordForKey(i,r);n=this._insertBeforeOrAppend(n,o)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const i=this._records.get(t);this._maybeAddToChanges(i,n);const o=i._prev,u=i._next;return o&&(o._next=u),u&&(u._prev=o),i._next=null,i._prev=null,i}const r=new xD(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}}class xD{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function Zg(){return new Ku([new Gg])}let Ku=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(null!=r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Zg()),deps:[[e,new T,new aa]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(null!=r)return r;throw new Se(901,!1)}}return e.\u0275prov=rt({token:e,providedIn:"root",factory:Zg}),e})();function Qg(){return new Yu([new Yg])}let Yu=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Qg()),deps:[[e,new T,new aa]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(r)return r;throw new Se(901,!1)}}return e.\u0275prov=rt({token:e,providedIn:"root",factory:Qg}),e})();const RD=Fg(null,"core",[]);let FD=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(lt(jl))},e.\u0275mod=si({type:e}),e.\u0275inj=$t({}),e})();function kD(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}},3238:(it,Ce,D)=>{D.d(Ce,{yN:()=>Pe,mZ:()=>De,_A:()=>Ht,rD:()=>Ft,sG:()=>en,Ad:()=>qe,K7:()=>Re,HF:()=>ut,Y2:()=>gn,BQ:()=>ae,XK:()=>Ne,ey:()=>Pt,Ng:()=>lt,wG:()=>bn,si:()=>Hn,CB:()=>Tn,jH:()=>Zn,pj:()=>Z,Kr:()=>re,Id:()=>ge,FD:()=>me,dB:()=>We,sb:()=>Ie});var s=D(4650),f=D(7253),U=D(445),X=D(6895),J=D(3353),oe=D(1281),ee=D(9751),Q=D(7579),j=D(9521);const xe=["text"];function Te(ne,F){if(1&ne&&s._UZ(0,"mat-pseudo-checkbox",5),2&ne){const M=s.oxw();s.Q6J("state",M.selected?"checked":"unchecked")("disabled",M.disabled)}}function $e(ne,F){if(1&ne&&(s.TgZ(0,"span",6),s._uU(1),s.qZA()),2&ne){const M=s.oxw();s.xp6(1),s.hij("(",M.group.label,")")}}const Ye=[[["mat-icon"]],"*"],Se=["mat-icon","*"];let Pe=(()=>{class ne{}return ne.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",ne.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",ne.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",ne.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",ne})(),De=(()=>{class ne{}return ne.COMPLEX="375ms",ne.ENTERING="225ms",ne.EXITING="195ms",ne})();const H=new s.OlP("mat-sanity-checks",{providedIn:"root",factory:function Me(){return!0}});let ae=(()=>{class ne{constructor(M,R,ve){this._sanityChecks=R,this._document=ve,this._hasDoneGlobalChecks=!1,M._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(M){return!(0,J.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[M])}}return ne.\u0275fac=function(M){return new(M||ne)(s.LFG(f.qm),s.LFG(H,8),s.LFG(X.K0))},ne.\u0275mod=s.oAB({type:ne}),ne.\u0275inj=s.cJS({imports:[U.vT,U.vT]}),ne})();function ge(ne){return class extends ne{get disabled(){return this._disabled}set disabled(F){this._disabled=(0,oe.Ig)(F)}constructor(...F){super(...F),this._disabled=!1}}}function Z(ne,F){return class extends ne{get color(){return this._color}set color(M){const R=M||this.defaultColor;R!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),R&&this._elementRef.nativeElement.classList.add(`mat-${R}`),this._color=R)}constructor(...M){super(...M),this.defaultColor=F,this.color=F}}}function re(ne){return class extends ne{get disableRipple(){return this._disableRipple}set disableRipple(F){this._disableRipple=(0,oe.Ig)(F)}constructor(...F){super(...F),this._disableRipple=!1}}}function Ie(ne,F=0){return class extends ne{get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(M){this._tabIndex=null!=M?(0,oe.su)(M):this.defaultTabIndex}constructor(...M){super(...M),this._tabIndex=F,this.defaultTabIndex=F}}}function me(ne){return class extends ne{updateErrorState(){const F=this.errorState,L=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);L!==F&&(this.errorState=L,this.stateChanges.next())}constructor(...F){super(...F),this.errorState=!1}}}function We(ne){return class extends ne{constructor(...F){super(...F),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new ee.y(M=>{this._isInitialized?this._notifySubscriber(M):this._pendingSubscribers.push(M)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(F){F.next(),F.complete()}}}const qe=new s.OlP("MAT_DATE_LOCALE",{providedIn:"root",factory:function pt(){return(0,s.f3M)(s.soG)}});class Ht{constructor(){this._localeChanges=new Q.x,this.localeChanges=this._localeChanges}getValidDateOrNull(F){return this.isDateInstance(F)&&this.isValid(F)?F:null}deserialize(F){return null==F||this.isDateInstance(F)&&this.isValid(F)?F:this.invalid()}setLocale(F){this.locale=F,this._localeChanges.next()}compareDate(F,M){return this.getYear(F)-this.getYear(M)||this.getMonth(F)-this.getMonth(M)||this.getDate(F)-this.getDate(M)}sameDate(F,M){if(F&&M){let R=this.isValid(F),ve=this.isValid(M);return R&&ve?!this.compareDate(F,M):R==ve}return F==M}clampDate(F,M,R){return M&&this.compareDate(F,M)<0?M:R&&this.compareDate(F,R)>0?R:F}}const en=new s.OlP("mat-date-formats"),At=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function It(ne,F){const M=Array(ne);for(let R=0;R<ne;R++)M[R]=F(R);return M}let Le=(()=>{class ne extends Ht{constructor(M,R){super(),this.useUtcForDisplay=!1,super.setLocale(M)}getYear(M){return M.getFullYear()}getMonth(M){return M.getMonth()}getDate(M){return M.getDate()}getDayOfWeek(M){return M.getDay()}getMonthNames(M){const R=new Intl.DateTimeFormat(this.locale,{month:M,timeZone:"utc"});return It(12,ve=>this._format(R,new Date(2017,ve,1)))}getDateNames(){const M=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return It(31,R=>this._format(M,new Date(2017,0,R+1)))}getDayOfWeekNames(M){const R=new Intl.DateTimeFormat(this.locale,{weekday:M,timeZone:"utc"});return It(7,ve=>this._format(R,new Date(2017,0,ve+1)))}getYearName(M){const R=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(R,M)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(M){return this.getDate(this._createDateWithOverflow(this.getYear(M),this.getMonth(M)+1,0))}clone(M){return new Date(M.getTime())}createDate(M,R,ve){let L=this._createDateWithOverflow(M,R,ve);return L.getMonth(),L}today(){return new Date}parse(M,R){return"number"==typeof M?new Date(M):M?new Date(Date.parse(M)):null}format(M,R){if(!this.isValid(M))throw Error("NativeDateAdapter: Cannot format invalid date.");const ve=new Intl.DateTimeFormat(this.locale,{...R,timeZone:"utc"});return this._format(ve,M)}addCalendarYears(M,R){return this.addCalendarMonths(M,12*R)}addCalendarMonths(M,R){let ve=this._createDateWithOverflow(this.getYear(M),this.getMonth(M)+R,this.getDate(M));return this.getMonth(ve)!=((this.getMonth(M)+R)%12+12)%12&&(ve=this._createDateWithOverflow(this.getYear(ve),this.getMonth(ve),0)),ve}addCalendarDays(M,R){return this._createDateWithOverflow(this.getYear(M),this.getMonth(M),this.getDate(M)+R)}toIso8601(M){return[M.getUTCFullYear(),this._2digit(M.getUTCMonth()+1),this._2digit(M.getUTCDate())].join("-")}deserialize(M){if("string"==typeof M){if(!M)return null;if(At.test(M)){let R=new Date(M);if(this.isValid(R))return R}}return super.deserialize(M)}isDateInstance(M){return M instanceof Date}isValid(M){return!isNaN(M.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(M,R,ve){const L=new Date;return L.setFullYear(M,R,ve),L.setHours(0,0,0,0),L}_2digit(M){return("00"+M).slice(-2)}_format(M,R){const ve=new Date;return ve.setUTCFullYear(R.getFullYear(),R.getMonth(),R.getDate()),ve.setUTCHours(R.getHours(),R.getMinutes(),R.getSeconds(),R.getMilliseconds()),M.format(ve)}}return ne.\u0275fac=function(M){return new(M||ne)(s.LFG(qe,8),s.LFG(J.t4))},ne.\u0275prov=s.Yz7({token:ne,factory:ne.\u0275fac}),ne})();const et={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let fe=(()=>{class ne{}return ne.\u0275fac=function(M){return new(M||ne)},ne.\u0275mod=s.oAB({type:ne}),ne.\u0275inj=s.cJS({providers:[{provide:Ht,useClass:Le}]}),ne})(),Ne=(()=>{class ne{}return ne.\u0275fac=function(M){return new(M||ne)},ne.\u0275mod=s.oAB({type:ne}),ne.\u0275inj=s.cJS({providers:[{provide:en,useValue:et}],imports:[fe]}),ne})(),Ft=(()=>{class ne{isErrorState(M,R){return!!(M&&M.invalid&&(M.touched||R&&R.submitted))}}return ne.\u0275fac=function(M){return new(M||ne)},ne.\u0275prov=s.Yz7({token:ne,factory:ne.\u0275fac,providedIn:"root"}),ne})();class vn{constructor(F,M,R,ve=!1){this._renderer=F,this.element=M,this.config=R,this._animationForciblyDisabledThroughCss=ve,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const kn=(0,J.i$)({passive:!0,capture:!0});class In{constructor(){this._events=new Map,this._delegateEventHandler=F=>{const M=(0,J.sA)(F);M&&this._events.get(F.type)?.forEach((R,ve)=>{(ve===M||ve.contains(M))&&R.forEach(L=>L.handleEvent(F))})}}addHandler(F,M,R,ve){const L=this._events.get(M);if(L){const G=L.get(R);G?G.add(ve):L.set(R,new Set([ve]))}else this._events.set(M,new Map([[R,new Set([ve])]])),F.runOutsideAngular(()=>{document.addEventListener(M,this._delegateEventHandler,kn)})}removeHandler(F,M,R){const ve=this._events.get(F);if(!ve)return;const L=ve.get(M);L&&(L.delete(R),0===L.size&&ve.delete(M),0===ve.size&&(this._events.delete(F),document.removeEventListener(F,this._delegateEventHandler,kn)))}}const Xt={enterDuration:225,exitDuration:150},Gt=(0,J.i$)({passive:!0,capture:!0}),yt=["mousedown","touchstart"],wt=["mouseup","mouseleave","touchend","touchcancel"];class tn{constructor(F,M,R,ve){this._target=F,this._ngZone=M,this._platform=ve,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,ve.isBrowser&&(this._containerElement=(0,oe.fI)(R))}fadeInRipple(F,M,R={}){const ve=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),L={...Xt,...R.animation};R.centered&&(F=ve.left+ve.width/2,M=ve.top+ve.height/2);const G=R.radius||function $n(ne,F,M){const R=Math.max(Math.abs(ne-M.left),Math.abs(ne-M.right)),ve=Math.max(Math.abs(F-M.top),Math.abs(F-M.bottom));return Math.sqrt(R*R+ve*ve)}(F,M,ve),de=F-ve.left,He=M-ve.top,Ee=L.enterDuration,ot=document.createElement("div");ot.classList.add("mat-ripple-element"),ot.style.left=de-G+"px",ot.style.top=He-G+"px",ot.style.height=2*G+"px",ot.style.width=2*G+"px",null!=R.color&&(ot.style.backgroundColor=R.color),ot.style.transitionDuration=`${Ee}ms`,this._containerElement.appendChild(ot);const Nt=window.getComputedStyle(ot),ye=Nt.transitionDuration,x="none"===Nt.transitionProperty||"0s"===ye||"0s, 0s"===ye||0===ve.width&&0===ve.height,C=new vn(this,ot,R,x);ot.style.transform="scale3d(1, 1, 1)",C.state=0,R.persistent||(this._mostRecentTransientRipple=C);let I=null;return!x&&(Ee||L.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const $=()=>this._finishRippleTransition(C),ue=()=>this._destroyRipple(C);ot.addEventListener("transitionend",$),ot.addEventListener("transitioncancel",ue),I={onTransitionEnd:$,onTransitionCancel:ue}}),this._activeRipples.set(C,I),(x||!Ee)&&this._finishRippleTransition(C),C}fadeOutRipple(F){if(2===F.state||3===F.state)return;const M=F.element,R={...Xt,...F.config.animation};M.style.transitionDuration=`${R.exitDuration}ms`,M.style.opacity="0",F.state=2,(F._animationForciblyDisabledThroughCss||!R.exitDuration)&&this._finishRippleTransition(F)}fadeOutAll(){this._getActiveRipples().forEach(F=>F.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(F=>{F.config.persistent||F.fadeOut()})}setupTriggerEvents(F){const M=(0,oe.fI)(F);!this._platform.isBrowser||!M||M===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=M,yt.forEach(R=>{tn._eventManager.addHandler(this._ngZone,R,M,this)}))}handleEvent(F){"mousedown"===F.type?this._onMousedown(F):"touchstart"===F.type?this._onTouchStart(F):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{wt.forEach(M=>{this._triggerElement.addEventListener(M,this,Gt)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(F){0===F.state?this._startFadeOutTransition(F):2===F.state&&this._destroyRipple(F)}_startFadeOutTransition(F){const M=F===this._mostRecentTransientRipple,{persistent:R}=F.config;F.state=1,!R&&(!M||!this._isPointerDown)&&F.fadeOut()}_destroyRipple(F){const M=this._activeRipples.get(F)??null;this._activeRipples.delete(F),this._activeRipples.size||(this._containerRect=null),F===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),F.state=3,null!==M&&(F.element.removeEventListener("transitionend",M.onTransitionEnd),F.element.removeEventListener("transitioncancel",M.onTransitionCancel)),F.element.remove()}_onMousedown(F){const M=(0,f.X6)(F),R=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!M&&!R&&(this._isPointerDown=!0,this.fadeInRipple(F.clientX,F.clientY,this._target.rippleConfig))}_onTouchStart(F){if(!this._target.rippleDisabled&&!(0,f.yG)(F)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const M=F.changedTouches;for(let R=0;R<M.length;R++)this.fadeInRipple(M[R].clientX,M[R].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(F=>{!F.config.persistent&&(1===F.state||F.config.terminateOnPointerUp&&0===F.state)&&F.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const F=this._triggerElement;F&&(yt.forEach(M=>tn._eventManager.removeHandler(M,F,this)),this._pointerUpEventsRegistered&&wt.forEach(M=>F.removeEventListener(M,this,Gt)))}}tn._eventManager=new In;const gn=new s.OlP("mat-ripple-global-options");let bn=(()=>{class ne{get disabled(){return this._disabled}set disabled(M){M&&this.fadeOutAllNonPersistent(),this._disabled=M,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(M){this._trigger=M,this._setupTriggerEventsIfEnabled()}constructor(M,R,ve,L,G){this._elementRef=M,this._animationMode=G,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=L||{},this._rippleRenderer=new tn(this,R,M,ve)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(M,R=0,ve){return"number"==typeof M?this._rippleRenderer.fadeInRipple(M,R,{...this.rippleConfig,...ve}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...M})}}return ne.\u0275fac=function(M){return new(M||ne)(s.Y36(s.SBq),s.Y36(s.R0b),s.Y36(J.t4),s.Y36(gn,8),s.Y36(s.QbO,8))},ne.\u0275dir=s.lG2({type:ne,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(M,R){2&M&&s.ekj("mat-ripple-unbounded",R.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),ne})(),Hn=(()=>{class ne{}return ne.\u0275fac=function(M){return new(M||ne)},ne.\u0275mod=s.oAB({type:ne}),ne.\u0275inj=s.cJS({imports:[ae,ae]}),ne})(),Ot=(()=>{class ne{constructor(M){this._animationMode=M,this.state="unchecked",this.disabled=!1}}return ne.\u0275fac=function(M){return new(M||ne)(s.Y36(s.QbO,8))},ne.\u0275cmp=s.Xpm({type:ne,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(M,R){2&M&&s.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===R.state)("mat-pseudo-checkbox-checked","checked"===R.state)("mat-pseudo-checkbox-disabled",R.disabled)("_mat-animation-noopable","NoopAnimations"===R._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(M,R){},styles:['.mat-pseudo-checkbox{border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}.mat-pseudo-checkbox-checked::after{top:2.7px;width:10px;height:4px}'],encapsulation:2,changeDetection:0}),ne})(),Tt=(()=>{class ne{}return ne.\u0275fac=function(M){return new(M||ne)},ne.\u0275mod=s.oAB({type:ne}),ne.\u0275inj=s.cJS({imports:[ae]}),ne})();const ut=new s.OlP("MAT_OPTION_PARENT_COMPONENT"),Re=new s.OlP("MatOptgroup");let kt=0;class Mt{constructor(F,M=!1){this.source=F,this.isUserInput=M}}let Yn=(()=>{class ne{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(M){this._disabled=(0,oe.Ig)(M)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}constructor(M,R,ve,L){this._element=M,this._changeDetectorRef=R,this._parent=ve,this.group=L,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+kt++,this.onSelectionChange=new s.vpe,this._stateChanges=new Q.x}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(M,R){const ve=this._getHostElement();"function"==typeof ve.focus&&ve.focus(R)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(M){(M.keyCode===j.K5||M.keyCode===j.L_)&&!(0,j.Vb)(M)&&(this._selectViaInteraction(),M.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const M=this.viewValue;M!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=M)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(M=!1){this.onSelectionChange.emit(new Mt(this,M))}}return ne.\u0275fac=function(M){s.$Z()},ne.\u0275dir=s.lG2({type:ne,viewQuery:function(M,R){if(1&M&&s.Gf(xe,7),2&M){let ve;s.iGM(ve=s.CRH())&&(R._text=ve.first)}},inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),ne})(),Pt=(()=>{class ne extends Yn{constructor(M,R,ve,L){super(M,R,ve,L)}}return ne.\u0275fac=function(M){return new(M||ne)(s.Y36(s.SBq),s.Y36(s.sBO),s.Y36(ut,8),s.Y36(Re,8))},ne.\u0275cmp=s.Xpm({type:ne,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-mdc-option","mat-mdc-focus-indicator","mdc-list-item"],hostVars:12,hostBindings:function(M,R){1&M&&s.NdJ("click",function(){return R._selectViaInteraction()})("keydown",function(L){return R._handleKeydown(L)}),2&M&&(s.Ikx("id",R.id),s.uIk("tabindex",R._getTabIndex())("aria-selected",R._getAriaSelected())("aria-disabled",R.disabled.toString()),s.ekj("mdc-list-item--selected",R.selected)("mat-mdc-option-multiple",R.multiple)("mat-mdc-option-active",R.active)("mdc-list-item--disabled",R.disabled))},exportAs:["matOption"],features:[s.qOj],ngContentSelectors:Se,decls:7,vars:4,consts:[["class","mat-mdc-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mdc-list-item__primary-text"],["text",""],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-mdc-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-mdc-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(M,R){1&M&&(s.F$t(Ye),s.YNc(0,Te,1,2,"mat-pseudo-checkbox",0),s.Hsn(1),s.TgZ(2,"span",1,2),s.Hsn(4,1),s.qZA(),s.YNc(5,$e,2,1,"span",3),s._UZ(6,"div",4)),2&M&&(s.Q6J("ngIf",R.multiple),s.xp6(5),s.Q6J("ngIf",R.group&&R.group._inert),s.xp6(1),s.Q6J("matRippleTrigger",R._getHostElement())("matRippleDisabled",R.disabled||R.disableRipple))},dependencies:[bn,X.O5,Ot],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option.mdc-list-item{align-items:center}.mat-mdc-option.mdc-list-item--disabled{opacity:.38;cursor:default}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox{margin-right:0;margin-left:16px}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-active::before{content:""}'],encapsulation:2,changeDetection:0}),ne})();function Tn(ne,F,M){if(M.length){let R=F.toArray(),ve=M.toArray(),L=0;for(let G=0;G<ne+1;G++)R[G].group&&R[G].group===ve[L]&&L++;return L}return 0}function Zn(ne,F,M,R){return ne<M?ne:ne+F>M+R?Math.max(0,ne-R+F):M}let lt=(()=>{class ne{}return ne.\u0275fac=function(M){return new(M||ne)},ne.\u0275mod=s.oAB({type:ne}),ne.\u0275inj=s.cJS({imports:[Hn,X.ez,ae,Tt]}),ne})()},9549:(it,Ce,D)=>{D.d(Ce,{Eo:()=>wn,G_:()=>tn,KE:()=>ut,R9:()=>$t,hX:()=>en,lN:()=>xt,o2:()=>$n,qo:()=>rt});var s=D(4650),f=D(445),U=D(3353),K=D(7579),X=D(6451),J=D(2722),oe=D(6895),ee=D(1281),Q=D(7340),j=D(9643),Y=D(3238);const W=["matFormFieldNotchedOutline",""],xe=["*"],Te=["textField"],$e=["iconPrefixContainer"],Ye=["textPrefixContainer"];function Se(ze,ft){1&ze&&s._UZ(0,"span",19)}function Fe(ze,ft){if(1&ze){const Re=s.EpF();s.TgZ(0,"label",17),s.NdJ("cdkObserveContent",function(){s.CHM(Re);const kt=s.oxw(2);return s.KtG(kt._refreshOutlineNotchWidth())}),s.Hsn(1,1),s.YNc(2,Se,1,0,"span",18),s.qZA()}if(2&ze){const Re=s.oxw(2);s.Q6J("floating",Re._shouldLabelFloat())("cdkObserveContentDisabled",!Re._hasOutline())("id",Re._labelId),s.uIk("for",Re._control.id)("aria-owns",Re._control.id),s.xp6(2),s.Q6J("ngIf",!Re.hideRequiredMarker&&Re._control.required)}}function Pe(ze,ft){if(1&ze&&s.YNc(0,Fe,3,6,"label",16),2&ze){const Re=s.oxw();s.Q6J("ngIf",Re._hasFloatingLabel())}}function De(ze,ft){1&ze&&s._UZ(0,"div",20)}function Me(ze,ft){}function H(ze,ft){if(1&ze&&s.YNc(0,Me,0,0,"ng-template",22),2&ze){s.oxw(2);const Re=s.MAs(1);s.Q6J("ngTemplateOutlet",Re)}}function ae(ze,ft){if(1&ze&&(s.TgZ(0,"div",21),s.YNc(1,H,1,1,"ng-template",9),s.qZA()),2&ze){const Re=s.oxw();s.Q6J("matFormFieldNotchedOutlineOpen",Re._shouldLabelFloat())("matFormFieldNotchedOutlineLabelWidth",Re._labelWidth),s.xp6(1),s.Q6J("ngIf",!Re._forceDisplayInfixLabel())}}function le(ze,ft){1&ze&&(s.TgZ(0,"div",23,24),s.Hsn(2,2),s.qZA())}function pe(ze,ft){1&ze&&(s.TgZ(0,"div",25,26),s.Hsn(2,3),s.qZA())}function se(ze,ft){}function ge(ze,ft){if(1&ze&&s.YNc(0,se,0,0,"ng-template",22),2&ze){s.oxw();const Re=s.MAs(1);s.Q6J("ngTemplateOutlet",Re)}}function Z(ze,ft){1&ze&&(s.TgZ(0,"div",27),s.Hsn(1,4),s.qZA())}function re(ze,ft){1&ze&&(s.TgZ(0,"div",28),s.Hsn(1,5),s.qZA())}function Ie(ze,ft){1&ze&&s._UZ(0,"div",29)}function me(ze,ft){if(1&ze&&(s.TgZ(0,"div",30),s.Hsn(1,6),s.qZA()),2&ze){const Re=s.oxw();s.Q6J("@transitionMessages",Re._subscriptAnimationState)}}function We(ze,ft){if(1&ze&&(s.TgZ(0,"mat-hint",34),s._uU(1),s.qZA()),2&ze){const Re=s.oxw(2);s.Q6J("id",Re._hintLabelId),s.xp6(1),s.Oqu(Re.hintLabel)}}function qe(ze,ft){if(1&ze&&(s.TgZ(0,"div",31),s.YNc(1,We,2,2,"mat-hint",32),s.Hsn(2,7),s._UZ(3,"div",33),s.Hsn(4,8),s.qZA()),2&ze){const Re=s.oxw();s.Q6J("@transitionMessages",Re._subscriptAnimationState),s.xp6(1),s.Q6J("ngIf",Re.hintLabel)}}const pt=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],Ht=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];let en=(()=>{class ze{}return ze.\u0275fac=function(Re){return new(Re||ze)},ze.\u0275dir=s.lG2({type:ze,selectors:[["mat-label"]]}),ze})();const It=new s.OlP("MatError");let et=0,fe=(()=>{class ze{constructor(){this.align="start",this.id="mat-mdc-hint-"+et++}}return ze.\u0275fac=function(Re){return new(Re||ze)},ze.\u0275dir=s.lG2({type:ze,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(Re,Ze){2&Re&&(s.Ikx("id",Ze.id),s.uIk("align",null),s.ekj("mat-mdc-form-field-hint-end","end"===Ze.align))},inputs:{align:"align",id:"id"}}),ze})();const Ne=new s.OlP("MatPrefix");let rt=(()=>{class ze{constructor(){this._isText=!1}set _isTextSelector(Re){this._isText=!0}}return ze.\u0275fac=function(Re){return new(Re||ze)},ze.\u0275dir=s.lG2({type:ze,selectors:[["","matPrefix",""],["","matIconPrefix",""],["","matTextPrefix",""]],inputs:{_isTextSelector:["matTextPrefix","_isTextSelector"]},features:[s._Bn([{provide:Ne,useExisting:ze}])]}),ze})();const Ft=new s.OlP("MatSuffix");let $t=(()=>{class ze{constructor(){this._isText=!1}set _isTextSelector(Re){this._isText=!0}}return ze.\u0275fac=function(Re){return new(Re||ze)},ze.\u0275dir=s.lG2({type:ze,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:["matTextSuffix","_isTextSelector"]},features:[s._Bn([{provide:Ft,useExisting:ze}])]}),ze})(),ln=(()=>{class ze{constructor(Re){this._elementRef=Re,this.floating=!1}getWidth(){return function Kt(ze){if(null!==ze.offsetParent)return ze.scrollWidth;const Re=ze.cloneNode(!0);Re.style.setProperty("position","absolute"),Re.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(Re);const Ze=Re.scrollWidth;return Re.remove(),Ze}(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}}return ze.\u0275fac=function(Re){return new(Re||ze)(s.Y36(s.SBq))},ze.\u0275dir=s.lG2({type:ze,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(Re,Ze){2&Re&&s.ekj("mdc-floating-label--float-above",Ze.floating)},inputs:{floating:"floating"}}),ze})();const Wn="mdc-line-ripple--active",vn="mdc-line-ripple--deactivating";let kn=(()=>{class ze{constructor(Re,Ze){this._elementRef=Re,this._handleTransitionEnd=kt=>{const Mt=this._elementRef.nativeElement.classList,Yn=Mt.contains(vn);"opacity"===kt.propertyName&&Yn&&Mt.remove(Wn,vn)},Ze.runOutsideAngular(()=>{Re.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const Re=this._elementRef.nativeElement.classList;Re.remove(vn),Re.add(Wn)}deactivate(){this._elementRef.nativeElement.classList.add(vn)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}}return ze.\u0275fac=function(Re){return new(Re||ze)(s.Y36(s.SBq),s.Y36(s.R0b))},ze.\u0275dir=s.lG2({type:ze,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]}),ze})(),In=(()=>{class ze{constructor(Re,Ze){this._elementRef=Re,this._ngZone=Ze,this.labelWidth=0,this.open=!1}ngAfterViewInit(){const Re=this._elementRef.nativeElement.querySelector(".mdc-floating-label");Re?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(Re.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>Re.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_getNotchWidth(){return this.open?this.labelWidth>0?`calc(${this.labelWidth}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:"0px":null}}return ze.\u0275fac=function(Re){return new(Re||ze)(s.Y36(s.SBq),s.Y36(s.R0b))},ze.\u0275cmp=s.Xpm({type:ze,selectors:[["div","matFormFieldNotchedOutline",""]],hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(Re,Ze){2&Re&&s.ekj("mdc-notched-outline--notched",Ze.open)},inputs:{labelWidth:["matFormFieldNotchedOutlineLabelWidth","labelWidth"],open:["matFormFieldNotchedOutlineOpen","open"]},attrs:W,ngContentSelectors:xe,decls:4,vars:2,consts:[[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],[1,"mdc-notched-outline__trailing"]],template:function(Re,Ze){1&Re&&(s.F$t(),s._UZ(0,"div",0),s.TgZ(1,"div",1),s.Hsn(2),s.qZA(),s._UZ(3,"div",2)),2&Re&&(s.xp6(1),s.Udp("width",Ze._getNotchWidth()))},encapsulation:2,changeDetection:0}),ze})();const Xt={transitionMessages:(0,Q.X$)("transitionMessages",[(0,Q.SB)("enter",(0,Q.oB)({opacity:1,transform:"translateY(0%)"})),(0,Q.eR)("void => enter",[(0,Q.oB)({opacity:0,transform:"translateY(-5px)"}),(0,Q.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let wn=(()=>{class ze{}return ze.\u0275fac=function(Re){return new(Re||ze)},ze.\u0275dir=s.lG2({type:ze}),ze})();const tn=new s.OlP("MatFormField"),$n=new s.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS");let gn=0,ut=(()=>{class ze{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(Re){this._hideRequiredMarker=(0,ee.Ig)(Re)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(Re){Re!==this._floatLabel&&(this._floatLabel=Re,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(Re){const Ze=this._appearance;this._appearance=Re||this._defaults?.appearance||"fill","outline"===this._appearance&&this._appearance!==Ze&&(this._refreshOutlineNotchWidth(),this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(Re){this._subscriptSizing=Re||this._defaults?.subscriptSizing||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel(Re){this._hintLabel=Re,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(Re){this._explicitFormFieldControl=Re}constructor(Re,Ze,kt,Mt,Yn,Pt,Tn,Zn){this._elementRef=Re,this._changeDetectorRef=Ze,this._ngZone=kt,this._dir=Mt,this._platform=Yn,this._defaults=Pt,this._animationMode=Tn,this._document=Zn,this._hideRequiredMarker=!1,this.color="primary",this._appearance="fill",this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId="mat-mdc-form-field-label-"+gn++,this._hintLabelId="mat-mdc-hint-"+gn++,this._subscriptAnimationState="",this._labelWidth=0,this._destroyed=new K.x,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,Pt&&(Pt.appearance&&(this.appearance=Pt.appearance),this._hideRequiredMarker=Boolean(Pt?.hideRequiredMarker),Pt.color&&(this.color=Pt.color))}ngAfterViewInit(){this._updateFocusState(),this._refreshOutlineNotchWidth(),this._document?.fonts?.ready?this._document.fonts.ready.then(()=>{this._refreshOutlineNotchWidth(),this._changeDetectorRef.markForCheck()}):setTimeout(()=>this._refreshOutlineNotchWidth(),100),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){const Re=this._control;Re.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${Re.controlType}`),Re.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),Re.ngControl&&Re.ngControl.valueChanges&&Re.ngControl.valueChanges.pipe((0,J.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(Re=>!Re._isText),this._hasTextPrefix=!!this._prefixChildren.find(Re=>Re._isText),this._hasIconSuffix=!!this._suffixChildren.find(Re=>!Re._isText),this._hasTextSuffix=!!this._suffixChildren.find(Re=>Re._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),(0,X.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||null===this._isFocused)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,J.R)(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe((0,J.R)(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0)}_shouldAlwaysFloat(){return"always"===this.floatLabel}_hasOutline(){return"outline"===this.appearance}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(Re){const Ze=this._control?this._control.ngControl:null;return Ze&&Ze[Re]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||(this._labelWidth=this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_syncDescribedByIds(){if(this._control){let Re=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&Re.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const Ze=this._hintChildren?this._hintChildren.find(Mt=>"start"===Mt.align):null,kt=this._hintChildren?this._hintChildren.find(Mt=>"end"===Mt.align):null;Ze?Re.push(Ze.id):this._hintLabel&&Re.push(this._hintLabelId),kt&&Re.push(kt.id)}else this._errorChildren&&Re.push(...this._errorChildren.map(Ze=>Ze.id));this._control.setDescribedByIds(Re)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const Re=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(Re.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const Ze=this._iconPrefixContainer?.nativeElement,kt=this._textPrefixContainer?.nativeElement,Mt=Ze?.getBoundingClientRect().width??0,Yn=kt?.getBoundingClientRect().width??0;Re.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${Mt+Yn}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`}_isAttachedToDom(){const Re=this._elementRef.nativeElement;if(Re.getRootNode){const Ze=Re.getRootNode();return Ze&&Ze!==Re}return document.documentElement.contains(Re)}}return ze.\u0275fac=function(Re){return new(Re||ze)(s.Y36(s.SBq),s.Y36(s.sBO),s.Y36(s.R0b),s.Y36(f.Is),s.Y36(U.t4),s.Y36($n,8),s.Y36(s.QbO,8),s.Y36(oe.K0))},ze.\u0275cmp=s.Xpm({type:ze,selectors:[["mat-form-field"]],contentQueries:function(Re,Ze,kt){if(1&Re&&(s.Suo(kt,en,5),s.Suo(kt,en,7),s.Suo(kt,wn,5),s.Suo(kt,Ne,5),s.Suo(kt,Ft,5),s.Suo(kt,It,5),s.Suo(kt,fe,5)),2&Re){let Mt;s.iGM(Mt=s.CRH())&&(Ze._labelChildNonStatic=Mt.first),s.iGM(Mt=s.CRH())&&(Ze._labelChildStatic=Mt.first),s.iGM(Mt=s.CRH())&&(Ze._formFieldControl=Mt.first),s.iGM(Mt=s.CRH())&&(Ze._prefixChildren=Mt),s.iGM(Mt=s.CRH())&&(Ze._suffixChildren=Mt),s.iGM(Mt=s.CRH())&&(Ze._errorChildren=Mt),s.iGM(Mt=s.CRH())&&(Ze._hintChildren=Mt)}},viewQuery:function(Re,Ze){if(1&Re&&(s.Gf(Te,5),s.Gf($e,5),s.Gf(Ye,5),s.Gf(ln,5),s.Gf(In,5),s.Gf(kn,5)),2&Re){let kt;s.iGM(kt=s.CRH())&&(Ze._textField=kt.first),s.iGM(kt=s.CRH())&&(Ze._iconPrefixContainer=kt.first),s.iGM(kt=s.CRH())&&(Ze._textPrefixContainer=kt.first),s.iGM(kt=s.CRH())&&(Ze._floatingLabel=kt.first),s.iGM(kt=s.CRH())&&(Ze._notchedOutline=kt.first),s.iGM(kt=s.CRH())&&(Ze._lineRipple=kt.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(Re,Ze){2&Re&&s.ekj("mat-mdc-form-field-label-always-float",Ze._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",Ze._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",Ze._hasIconSuffix)("mat-form-field-invalid",Ze._control.errorState)("mat-form-field-disabled",Ze._control.disabled)("mat-form-field-autofilled",Ze._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===Ze._animationMode)("mat-form-field-appearance-fill","fill"==Ze.appearance)("mat-form-field-appearance-outline","outline"==Ze.appearance)("mat-form-field-hide-placeholder",Ze._hasFloatingLabel()&&!Ze._shouldLabelFloat())("mat-focused",Ze._control.focused)("mat-primary","accent"!==Ze.color&&"warn"!==Ze.color)("mat-accent","accent"===Ze.color)("mat-warn","warn"===Ze.color)("ng-untouched",Ze._shouldForward("untouched"))("ng-touched",Ze._shouldForward("touched"))("ng-pristine",Ze._shouldForward("pristine"))("ng-dirty",Ze._shouldForward("dirty"))("ng-valid",Ze._shouldForward("valid"))("ng-invalid",Ze._shouldForward("invalid"))("ng-pending",Ze._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[s._Bn([{provide:tn,useExisting:ze}])],ngContentSelectors:Ht,decls:18,vars:23,consts:[["labelTemplate",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],["textField",""],["class","mat-mdc-form-field-focus-overlay",4,"ngIf"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen","matFormFieldNotchedOutlineLabelWidth",4,"ngIf"],["class","mat-mdc-form-field-icon-prefix",4,"ngIf"],["class","mat-mdc-form-field-text-prefix",4,"ngIf"],[1,"mat-mdc-form-field-infix"],[3,"ngIf"],["class","mat-mdc-form-field-text-suffix",4,"ngIf"],["class","mat-mdc-form-field-icon-suffix",4,"ngIf"],["matFormFieldLineRipple","",4,"ngIf"],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align",3,"ngSwitch"],["class","mat-mdc-form-field-error-wrapper",4,"ngSwitchCase"],["class","mat-mdc-form-field-hint-wrapper",4,"ngSwitchCase"],["matFormFieldFloatingLabel","",3,"floating","cdkObserveContentDisabled","id","cdkObserveContent",4,"ngIf"],["matFormFieldFloatingLabel","",3,"floating","cdkObserveContentDisabled","id","cdkObserveContent"],["aria-hidden","true","class","mat-mdc-form-field-required-marker mdc-floating-label--required",4,"ngIf"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-focus-overlay"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen","matFormFieldNotchedOutlineLabelWidth"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-icon-prefix"],["iconPrefixContainer",""],[1,"mat-mdc-form-field-text-prefix"],["textPrefixContainer",""],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id",4,"ngIf"],[1,"mat-mdc-form-field-hint-spacer"],[3,"id"]],template:function(Re,Ze){1&Re&&(s.F$t(pt),s.YNc(0,Pe,1,1,"ng-template",null,0,s.W1O),s.TgZ(2,"div",1,2),s.NdJ("click",function(Mt){return Ze._control.onContainerClick&&Ze._control.onContainerClick(Mt)}),s.YNc(4,De,1,0,"div",3),s.TgZ(5,"div",4),s.YNc(6,ae,2,3,"div",5),s.YNc(7,le,3,0,"div",6),s.YNc(8,pe,3,0,"div",7),s.TgZ(9,"div",8),s.YNc(10,ge,1,1,"ng-template",9),s.Hsn(11),s.qZA(),s.YNc(12,Z,2,0,"div",10),s.YNc(13,re,2,0,"div",11),s.qZA(),s.YNc(14,Ie,1,0,"div",12),s.qZA(),s.TgZ(15,"div",13),s.YNc(16,me,2,1,"div",14),s.YNc(17,qe,5,2,"div",15),s.qZA()),2&Re&&(s.xp6(2),s.ekj("mdc-text-field--filled",!Ze._hasOutline())("mdc-text-field--outlined",Ze._hasOutline())("mdc-text-field--no-label",!Ze._hasFloatingLabel())("mdc-text-field--disabled",Ze._control.disabled)("mdc-text-field--invalid",Ze._control.errorState),s.xp6(2),s.Q6J("ngIf",!Ze._hasOutline()&&!Ze._control.disabled),s.xp6(2),s.Q6J("ngIf",Ze._hasOutline()),s.xp6(1),s.Q6J("ngIf",Ze._hasIconPrefix),s.xp6(1),s.Q6J("ngIf",Ze._hasTextPrefix),s.xp6(2),s.Q6J("ngIf",!Ze._hasOutline()||Ze._forceDisplayInfixLabel()),s.xp6(2),s.Q6J("ngIf",Ze._hasTextSuffix),s.xp6(1),s.Q6J("ngIf",Ze._hasIconSuffix),s.xp6(1),s.Q6J("ngIf",!Ze._hasOutline()),s.xp6(1),s.ekj("mat-mdc-form-field-subscript-dynamic-size","dynamic"===Ze.subscriptSizing),s.Q6J("ngSwitch",Ze._getDisplayedMessages()),s.xp6(1),s.Q6J("ngSwitchCase","error"),s.xp6(1),s.Q6J("ngSwitchCase","hint"))},dependencies:[oe.O5,oe.tP,oe.RF,oe.n9,j.wD,fe,ln,In,kn],styles:['.mdc-text-field{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px, var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px, var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 96px / 0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after,.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;border-top:1px solid;border-bottom:1px solid;pointer-events:none}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid;flex-grow:1}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{flex:0 0 auto;width:auto;max-width:calc(100% - 12px * 2)}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{line-height:normal;pointer-events:all}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:12px;box-sizing:content-box}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0 - 0%)) translateY(-10.25px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-10.25px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-10.25px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-10.25px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-24.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-24.75px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0 - 0%)) translateY(-106%) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-106%) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-106%) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-106%) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}'],encapsulation:2,data:{animation:[Xt.transitionMessages]},changeDetection:0}),ze})(),xt=(()=>{class ze{}return ze.\u0275fac=function(Re){return new(Re||ze)},ze.\u0275mod=s.oAB({type:ze}),ze.\u0275inj=s.cJS({imports:[Y.BQ,oe.ez,j.Q8,Y.BQ]}),ze})()},1481:(it,Ce,D)=>{D.d(Ce,{Dx:()=>bn,H7:()=>ot,b2:()=>yt,q6:()=>In,se:()=>Ie});var s=D(6895),f=D(4650);class U extends s.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class K extends U{static makeCurrent(){(0,s.HT)(new K)}onAndCancel(C,I,$){return C.addEventListener(I,$,!1),()=>{C.removeEventListener(I,$,!1)}}dispatchEvent(C,I){C.dispatchEvent(I)}remove(C){C.parentNode&&C.parentNode.removeChild(C)}createElement(C,I){return(I=I||this.getDefaultDocument()).createElement(C)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(C){return C.nodeType===Node.ELEMENT_NODE}isShadowRoot(C){return C instanceof DocumentFragment}getGlobalEventTarget(C,I){return"window"===I?window:"document"===I?C:"body"===I?C.body:null}getBaseHref(C){const I=function J(){return X=X||document.querySelector("base"),X?X.getAttribute("href"):null}();return null==I?null:function ee(x){oe=oe||document.createElement("a"),oe.setAttribute("href",x);const C=oe.pathname;return"/"===C.charAt(0)?C:`/${C}`}(I)}resetBaseElement(){X=null}getUserAgent(){return window.navigator.userAgent}getCookie(C){return(0,s.Mx)(document.cookie,C)}}let oe,X=null;const Q=new f.OlP("TRANSITION_ID"),Y=[{provide:f.ip1,useFactory:function j(x,C,I){return()=>{I.get(f.CZH).donePromise.then(()=>{const $=(0,s.q)(),ue=C.querySelectorAll(`style[ng-transition="${x}"]`);for(let Ke=0;Ke<ue.length;Ke++)$.remove(ue[Ke])})}},deps:[Q,s.K0,f.zs3],multi:!0}];let xe=(()=>{class x{build(){return new XMLHttpRequest}}return x.\u0275fac=function(I){return new(I||x)},x.\u0275prov=f.Yz7({token:x,factory:x.\u0275fac}),x})();const Te=new f.OlP("EventManagerPlugins");let $e=(()=>{class x{constructor(I,$){this._zone=$,this._eventNameToPlugin=new Map,I.forEach(ue=>ue.manager=this),this._plugins=I.slice().reverse()}addEventListener(I,$,ue){return this._findPluginFor($).addEventListener(I,$,ue)}addGlobalEventListener(I,$,ue){return this._findPluginFor($).addGlobalEventListener(I,$,ue)}getZone(){return this._zone}_findPluginFor(I){const $=this._eventNameToPlugin.get(I);if($)return $;const ue=this._plugins;for(let Ke=0;Ke<ue.length;Ke++){const vt=ue[Ke];if(vt.supports(I))return this._eventNameToPlugin.set(I,vt),vt}throw new Error(`No event manager plugin found for event ${I}`)}}return x.\u0275fac=function(I){return new(I||x)(f.LFG(Te),f.LFG(f.R0b))},x.\u0275prov=f.Yz7({token:x,factory:x.\u0275fac}),x})();class Ye{constructor(C){this._doc=C}addGlobalEventListener(C,I,$){const ue=(0,s.q)().getGlobalEventTarget(this._doc,C);if(!ue)throw new Error(`Unsupported event target ${ue} for event ${I}`);return this.addEventListener(ue,I,$)}}let Se=(()=>{class x{constructor(){this._stylesSet=new Set}addStyles(I){const $=new Set;I.forEach(ue=>{this._stylesSet.has(ue)||(this._stylesSet.add(ue),$.add(ue))}),this.onStylesAdded($)}onStylesAdded(I){}getAllStyles(){return Array.from(this._stylesSet)}}return x.\u0275fac=function(I){return new(I||x)},x.\u0275prov=f.Yz7({token:x,factory:x.\u0275fac}),x})(),Fe=(()=>{class x extends Se{constructor(I){super(),this._doc=I,this._hostNodes=new Map,this._hostNodes.set(I.head,[])}_addStylesToHost(I,$,ue){I.forEach(Ke=>{const vt=this._doc.createElement("style");vt.textContent=Ke,ue.push($.appendChild(vt))})}addHost(I){const $=[];this._addStylesToHost(this._stylesSet,I,$),this._hostNodes.set(I,$)}removeHost(I){const $=this._hostNodes.get(I);$&&$.forEach(Pe),this._hostNodes.delete(I)}onStylesAdded(I){this._hostNodes.forEach(($,ue)=>{this._addStylesToHost(I,ue,$)})}ngOnDestroy(){this._hostNodes.forEach(I=>I.forEach(Pe))}}return x.\u0275fac=function(I){return new(I||x)(f.LFG(s.K0))},x.\u0275prov=f.Yz7({token:x,factory:x.\u0275fac}),x})();function Pe(x){(0,s.q)().remove(x)}const De={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/MathML/"},Me=/%COMP%/g;function Z(x,C){return C.flat(100).map(I=>I.replace(Me,x))}function re(x){return C=>{if("__ngUnwrap__"===C)return x;!1===x(C)&&(C.preventDefault(),C.returnValue=!1)}}let Ie=(()=>{class x{constructor(I,$,ue){this.eventManager=I,this.sharedStylesHost=$,this.appId=ue,this.rendererByCompId=new Map,this.defaultRenderer=new me(I)}createRenderer(I,$){if(!I||!$)return this.defaultRenderer;switch($.encapsulation){case f.ifc.Emulated:{let ue=this.rendererByCompId.get($.id);return ue||(ue=new Ht(this.eventManager,this.sharedStylesHost,$,this.appId),this.rendererByCompId.set($.id,ue)),ue.applyToHost(I),ue}case f.ifc.ShadowDom:return new en(this.eventManager,this.sharedStylesHost,I,$);default:if(!this.rendererByCompId.has($.id)){const ue=Z($.id,$.styles);this.sharedStylesHost.addStyles(ue),this.rendererByCompId.set($.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return x.\u0275fac=function(I){return new(I||x)(f.LFG($e),f.LFG(Fe),f.LFG(f.AFp))},x.\u0275prov=f.Yz7({token:x,factory:x.\u0275fac}),x})();class me{constructor(C){this.eventManager=C,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(C,I){return I?document.createElementNS(De[I]||I,C):document.createElement(C)}createComment(C){return document.createComment(C)}createText(C){return document.createTextNode(C)}appendChild(C,I){(pt(C)?C.content:C).appendChild(I)}insertBefore(C,I,$){C&&(pt(C)?C.content:C).insertBefore(I,$)}removeChild(C,I){C&&C.removeChild(I)}selectRootElement(C,I){let $="string"==typeof C?document.querySelector(C):C;if(!$)throw new Error(`The selector "${C}" did not match any elements`);return I||($.textContent=""),$}parentNode(C){return C.parentNode}nextSibling(C){return C.nextSibling}setAttribute(C,I,$,ue){if(ue){I=ue+":"+I;const Ke=De[ue];Ke?C.setAttributeNS(Ke,I,$):C.setAttribute(I,$)}else C.setAttribute(I,$)}removeAttribute(C,I,$){if($){const ue=De[$];ue?C.removeAttributeNS(ue,I):C.removeAttribute(`${$}:${I}`)}else C.removeAttribute(I)}addClass(C,I){C.classList.add(I)}removeClass(C,I){C.classList.remove(I)}setStyle(C,I,$,ue){ue&(f.JOm.DashCase|f.JOm.Important)?C.style.setProperty(I,$,ue&f.JOm.Important?"important":""):C.style[I]=$}removeStyle(C,I,$){$&f.JOm.DashCase?C.style.removeProperty(I):C.style[I]=""}setProperty(C,I,$){C[I]=$}setValue(C,I){C.nodeValue=I}listen(C,I,$){return"string"==typeof C?this.eventManager.addGlobalEventListener(C,I,re($)):this.eventManager.addEventListener(C,I,re($))}}function pt(x){return"TEMPLATE"===x.tagName&&void 0!==x.content}class Ht extends me{constructor(C,I,$,ue){super(C),this.component=$;const Ke=Z(ue+"-"+$.id,$.styles);I.addStyles(Ke),this.contentAttr=function se(x){return"_ngcontent-%COMP%".replace(Me,x)}(ue+"-"+$.id),this.hostAttr=function ge(x){return"_nghost-%COMP%".replace(Me,x)}(ue+"-"+$.id)}applyToHost(C){super.setAttribute(C,this.hostAttr,"")}createElement(C,I){const $=super.createElement(C,I);return super.setAttribute($,this.contentAttr,""),$}}class en extends me{constructor(C,I,$,ue){super(C),this.sharedStylesHost=I,this.hostEl=$,this.shadowRoot=$.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Ke=Z(ue.id,ue.styles);for(let vt=0;vt<Ke.length;vt++){const Dn=document.createElement("style");Dn.textContent=Ke[vt],this.shadowRoot.appendChild(Dn)}}nodeOrShadowRoot(C){return C===this.hostEl?this.shadowRoot:C}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(C,I){return super.appendChild(this.nodeOrShadowRoot(C),I)}insertBefore(C,I,$){return super.insertBefore(this.nodeOrShadowRoot(C),I,$)}removeChild(C,I){return super.removeChild(this.nodeOrShadowRoot(C),I)}parentNode(C){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(C)))}}let At=(()=>{class x extends Ye{constructor(I){super(I)}supports(I){return!0}addEventListener(I,$,ue){return I.addEventListener($,ue,!1),()=>this.removeEventListener(I,$,ue)}removeEventListener(I,$,ue){return I.removeEventListener($,ue)}}return x.\u0275fac=function(I){return new(I||x)(f.LFG(s.K0))},x.\u0275prov=f.Yz7({token:x,factory:x.\u0275fac}),x})();const It=["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"},et={alt:x=>x.altKey,control:x=>x.ctrlKey,meta:x=>x.metaKey,shift:x=>x.shiftKey};let fe=(()=>{class x extends Ye{constructor(I){super(I)}supports(I){return null!=x.parseEventName(I)}addEventListener(I,$,ue){const Ke=x.parseEventName($),vt=x.eventCallback(Ke.fullKey,ue,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,s.q)().onAndCancel(I,Ke.domEventName,vt))}static parseEventName(I){const $=I.toLowerCase().split("."),ue=$.shift();if(0===$.length||"keydown"!==ue&&"keyup"!==ue)return null;const Ke=x._normalizeKey($.pop());let vt="",Dn=$.indexOf("code");if(Dn>-1&&($.splice(Dn,1),vt="code."),It.forEach(Dr=>{const Sn=$.indexOf(Dr);Sn>-1&&($.splice(Sn,1),vt+=Dr+".")}),vt+=Ke,0!=$.length||0===Ke.length)return null;const Mn={};return Mn.domEventName=ue,Mn.fullKey=vt,Mn}static matchEventFullKeyCode(I,$){let ue=Le[I.key]||I.key,Ke="";return $.indexOf("code.")>-1&&(ue=I.code,Ke="code."),!(null==ue||!ue)&&(ue=ue.toLowerCase()," "===ue?ue="space":"."===ue&&(ue="dot"),It.forEach(vt=>{vt!==ue&&(0,et[vt])(I)&&(Ke+=vt+".")}),Ke+=ue,Ke===$)}static eventCallback(I,$,ue){return Ke=>{x.matchEventFullKeyCode(Ke,I)&&ue.runGuarded(()=>$(Ke))}}static _normalizeKey(I){return"esc"===I?"escape":I}}return x.\u0275fac=function(I){return new(I||x)(f.LFG(s.K0))},x.\u0275prov=f.Yz7({token:x,factory:x.\u0275fac}),x})();const In=(0,f.eFA)(f._c5,"browser",[{provide:f.Lbi,useValue:s.bD},{provide:f.g9A,useValue:function Kt(){K.makeCurrent()},multi:!0},{provide:s.K0,useFactory:function vn(){return(0,f.RDi)(document),document},deps:[]}]),Xt=new f.OlP(""),wn=[{provide:f.rWj,useClass:class W{addToWindow(C){f.dqk.getAngularTestability=($,ue=!0)=>{const Ke=C.findTestabilityInTree($,ue);if(null==Ke)throw new Error("Could not find testability for element.");return Ke},f.dqk.getAllAngularTestabilities=()=>C.getAllTestabilities(),f.dqk.getAllAngularRootElements=()=>C.getAllRootElements(),f.dqk.frameworkStabilizers||(f.dqk.frameworkStabilizers=[]),f.dqk.frameworkStabilizers.push($=>{const ue=f.dqk.getAllAngularTestabilities();let Ke=ue.length,vt=!1;const Dn=function(Mn){vt=vt||Mn,Ke--,0==Ke&&$(vt)};ue.forEach(function(Mn){Mn.whenStable(Dn)})})}findTestabilityInTree(C,I,$){return null==I?null:C.getTestability(I)??($?(0,s.q)().isShadowRoot(I)?this.findTestabilityInTree(C,I.host,!0):this.findTestabilityInTree(C,I.parentElement,!0):null)}},deps:[]},{provide:f.lri,useClass:f.dDg,deps:[f.R0b,f.eoX,f.rWj]},{provide:f.dDg,useClass:f.dDg,deps:[f.R0b,f.eoX,f.rWj]}],Gt=[{provide:f.zSh,useValue:"root"},{provide:f.qLn,useFactory:function Wn(){return new f.qLn},deps:[]},{provide:Te,useClass:At,multi:!0,deps:[s.K0,f.R0b,f.Lbi]},{provide:Te,useClass:fe,multi:!0,deps:[s.K0]},{provide:Ie,useClass:Ie,deps:[$e,Fe,f.AFp]},{provide:f.FYo,useExisting:Ie},{provide:Se,useExisting:Fe},{provide:Fe,useClass:Fe,deps:[s.K0]},{provide:$e,useClass:$e,deps:[Te,f.R0b]},{provide:s.JF,useClass:xe,deps:[]},[]];let yt=(()=>{class x{constructor(I){}static withServerTransition(I){return{ngModule:x,providers:[{provide:f.AFp,useValue:I.appId},{provide:Q,useExisting:f.AFp},Y]}}}return x.\u0275fac=function(I){return new(I||x)(f.LFG(Xt,12))},x.\u0275mod=f.oAB({type:x}),x.\u0275inj=f.cJS({providers:[...Gt,...wn],imports:[s.ez,f.hGG]}),x})(),bn=(()=>{class x{constructor(I){this._doc=I}getTitle(){return this._doc.title}setTitle(I){this._doc.title=I||""}}return x.\u0275fac=function(I){return new(I||x)(f.LFG(s.K0))},x.\u0275prov=f.Yz7({token:x,factory:function(I){let $=null;return $=I?new I:function gn(){return new bn((0,f.LFG)(s.K0))}(),$},providedIn:"root"}),x})();typeof window<"u"&&window;let ot=(()=>{class x{}return x.\u0275fac=function(I){return new(I||x)},x.\u0275prov=f.Yz7({token:x,factory:function(I){let $=null;return $=I?new(I||x):f.LFG(Bt),$},providedIn:"root"}),x})(),Bt=(()=>{class x extends ot{constructor(I){super(),this._doc=I}sanitize(I,$){if(null==$)return null;switch(I){case f.q3G.NONE:return $;case f.q3G.HTML:return(0,f.qzn)($,"HTML")?(0,f.z3N)($):(0,f.EiD)(this._doc,String($)).toString();case f.q3G.STYLE:return(0,f.qzn)($,"Style")?(0,f.z3N)($):$;case f.q3G.SCRIPT:if((0,f.qzn)($,"Script"))return(0,f.z3N)($);throw new Error("unsafe value used in a script context");case f.q3G.URL:return(0,f.qzn)($,"URL")?(0,f.z3N)($):(0,f.mCW)(String($));case f.q3G.RESOURCE_URL:if((0,f.qzn)($,"ResourceURL"))return(0,f.z3N)($);throw new Error(`unsafe value used in a resource URL context (see ${f.JZr})`);default:throw new Error(`Unexpected SecurityContext ${I} (see ${f.JZr})`)}}bypassSecurityTrustHtml(I){return(0,f.JVY)(I)}bypassSecurityTrustStyle(I){return(0,f.L6k)(I)}bypassSecurityTrustScript(I){return(0,f.eBb)(I)}bypassSecurityTrustUrl(I){return(0,f.LAX)(I)}bypassSecurityTrustResourceUrl(I){return(0,f.pB0)(I)}}return x.\u0275fac=function(I){return new(I||x)(f.LFG(s.K0))},x.\u0275prov=f.Yz7({token:x,factory:function(I){let $=null;return $=I?new I:function Nt(x){return new Bt(x.get(s.K0))}(f.LFG(f.zs3)),$},providedIn:"root"}),x})()},284:(it,Ce,D)=>{D.d(Ce,{gz:()=>Si,m2:()=>dn,F0:()=>E,rH:()=>l,Od:()=>_,Bz:()=>Qt,lC:()=>rr});var s=D(4650),f=D(8996),U=D(9646),K=D(1135),X=D(6805),J=D(9841),oe=D(7272),ee=D(9770),Q=D(9635),j=D(2843),Y=D(9751),W=D(515),xe=D(727),Te=D(4482),$e=D(5403);function Ye(){return(0,Te.e)((d,h)=>{let c=null;d._refCount++;const m=(0,$e.x)(h,void 0,void 0,void 0,()=>{if(!d||d._refCount<=0||0<--d._refCount)return void(c=null);const w=d._connection,N=c;c=null,w&&(!N||w===N)&&w.unsubscribe(),h.unsubscribe()});d.subscribe(m),m.closed||(c=d.connect())})}class Se extends Y.y{constructor(h,c){super(),this.source=h,this.subjectFactory=c,this._subject=null,this._refCount=0,this._connection=null,(0,Te.A)(h)&&(this.lift=h.lift)}_subscribe(h){return this.getSubject().subscribe(h)}getSubject(){const h=this._subject;return(!h||h.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:h}=this;this._subject=this._connection=null,h?.unsubscribe()}connect(){let h=this._connection;if(!h){h=this._connection=new xe.w0;const c=this.getSubject();h.add(this.source.subscribe((0,$e.x)(c,void 0,()=>{this._teardown(),c.complete()},m=>{this._teardown(),c.error(m)},()=>this._teardown()))),h.closed&&(this._connection=null,h=xe.w0.EMPTY)}return h}refCount(){return Ye()(this)}}var Fe=D(7579),Pe=D(6895),De=D(4004),Me=D(3900),H=D(5698),ae=D(8675),le=D(9300),pe=D(5577),se=D(590),ge=D(4351),Z=D(8505),re=D(262),Ie=D(5026);function me(d){return d<=0?()=>W.E:(0,Te.e)((h,c)=>{let m=[];h.subscribe((0,$e.x)(c,w=>{m.push(w),d<m.length&&m.shift()},()=>{for(const w of m)c.next(w);c.complete()},void 0,()=>{m=null}))})}var We=D(8068),qe=D(6590),pt=D(4671);function Ht(d,h){const c=arguments.length>=2;return m=>m.pipe(d?(0,le.h)((w,N)=>d(w,N,m)):pt.y,me(1),c?(0,qe.d)(h):(0,We.T)(()=>new X.K))}var en=D(2529),It=D(8746),Le=D(8189),et=D(1481);const fe="primary",Ne=Symbol("RouteTitle");class rt{constructor(h){this.params=h||{}}has(h){return Object.prototype.hasOwnProperty.call(this.params,h)}get(h){if(this.has(h)){const c=this.params[h];return Array.isArray(c)?c[0]:c}return null}getAll(h){if(this.has(h)){const c=this.params[h];return Array.isArray(c)?c:[c]}return[]}get keys(){return Object.keys(this.params)}}function Ft(d){return new rt(d)}function $t(d,h,c){const m=c.path.split("/");if(m.length>d.length||"full"===c.pathMatch&&(h.hasChildren()||m.length<d.length))return null;const w={};for(let N=0;N<m.length;N++){const V=m[N],Oe=d[N];if(V.startsWith(":"))w[V.substring(1)]=Oe;else if(V!==Oe.path)return null}return{consumed:d.slice(0,m.length),posParams:w}}function Kt(d,h){const c=d?Object.keys(d):void 0,m=h?Object.keys(h):void 0;if(!c||!m||c.length!=m.length)return!1;let w;for(let N=0;N<c.length;N++)if(w=c[N],!Wn(d[w],h[w]))return!1;return!0}function Wn(d,h){if(Array.isArray(d)&&Array.isArray(h)){if(d.length!==h.length)return!1;const c=[...d].sort(),m=[...h].sort();return c.every((w,N)=>m[N]===w)}return d===h}function vn(d){return Array.prototype.concat.apply([],d)}function kn(d){return d.length>0?d[d.length-1]:null}function Xt(d,h){for(const c in d)d.hasOwnProperty(c)&&h(d[c],c)}function wn(d){return(0,s.CqO)(d)?d:(0,s.QGY)(d)?(0,f.D)(Promise.resolve(d)):(0,U.of)(d)}const Gt=!1,yt={exact:function gn(d,h,c){if(!Re(d.segments,h.segments)||!Tt(d.segments,h.segments,c)||d.numberOfChildren!==h.numberOfChildren)return!1;for(const m in h.children)if(!d.children[m]||!gn(d.children[m],h.children[m],c))return!1;return!0},subset:Hn},wt={exact:function $n(d,h){return Kt(d,h)},subset:function bn(d,h){return Object.keys(h).length<=Object.keys(d).length&&Object.keys(h).every(c=>Wn(d[c],h[c]))},ignored:()=>!0};function tn(d,h,c){return yt[c.paths](d.root,h.root,c.matrixParams)&&wt[c.queryParams](d.queryParams,h.queryParams)&&!("exact"===c.fragment&&d.fragment!==h.fragment)}function Hn(d,h,c){return Ot(d,h,h.segments,c)}function Ot(d,h,c,m){if(d.segments.length>c.length){const w=d.segments.slice(0,c.length);return!(!Re(w,c)||h.hasChildren()||!Tt(w,c,m))}if(d.segments.length===c.length){if(!Re(d.segments,c)||!Tt(d.segments,c,m))return!1;for(const w in h.children)if(!d.children[w]||!Hn(d.children[w],h.children[w],m))return!1;return!0}{const w=c.slice(0,d.segments.length),N=c.slice(d.segments.length);return!!(Re(d.segments,w)&&Tt(d.segments,w,m)&&d.children[fe])&&Ot(d.children[fe],h,N,m)}}function Tt(d,h,c){return h.every((m,w)=>wt[c](d[w].parameters,m.parameters))}class ut{constructor(h=new xt([],{}),c={},m=null){this.root=h,this.queryParams=c,this.fragment=m}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ft(this.queryParams)),this._queryParamMap}toString(){return Yn.serialize(this)}}class xt{constructor(h,c){this.segments=h,this.children=c,this.parent=null,Xt(c,(m,w)=>m.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Pt(this)}}class ze{constructor(h,c){this.path=h,this.parameters=c}get parameterMap(){return this._parameterMap||(this._parameterMap=Ft(this.parameters)),this._parameterMap}toString(){return ve(this)}}function Re(d,h){return d.length===h.length&&d.every((c,m)=>c.path===h[m].path)}let kt=(()=>{class d{}return d.\u0275fac=function(c){return new(c||d)},d.\u0275prov=s.Yz7({token:d,factory:function(){return new Mt},providedIn:"root"}),d})();class Mt{parse(h){const c=new ye(h);return new ut(c.parseRootSegment(),c.parseQueryParams(),c.parseFragment())}serialize(h){const c=`/${Tn(h.root,!0)}`,m=function G(d){const h=Object.keys(d).map(c=>{const m=d[c];return Array.isArray(m)?m.map(w=>`${lt(c)}=${lt(w)}`).join("&"):`${lt(c)}=${lt(m)}`}).filter(c=>!!c);return h.length?`?${h.join("&")}`:""}(h.queryParams);return`${c}${m}${"string"==typeof h.fragment?`#${function ne(d){return encodeURI(d)}(h.fragment)}`:""}`}}const Yn=new Mt;function Pt(d){return d.segments.map(h=>ve(h)).join("/")}function Tn(d,h){if(!d.hasChildren())return Pt(d);if(h){const c=d.children[fe]?Tn(d.children[fe],!1):"",m=[];return Xt(d.children,(w,N)=>{N!==fe&&m.push(`${N}:${Tn(w,!1)}`)}),m.length>0?`${c}(${m.join("//")})`:c}{const c=function Ze(d,h){let c=[];return Xt(d.children,(m,w)=>{w===fe&&(c=c.concat(h(m,w)))}),Xt(d.children,(m,w)=>{w!==fe&&(c=c.concat(h(m,w)))}),c}(d,(m,w)=>w===fe?[Tn(d.children[fe],!1)]:[`${w}:${Tn(m,!1)}`]);return 1===Object.keys(d.children).length&&null!=d.children[fe]?`${Pt(d)}/${c[0]}`:`${Pt(d)}/(${c.join("//")})`}}function Zn(d){return encodeURIComponent(d).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function lt(d){return Zn(d).replace(/%3B/gi,";")}function F(d){return Zn(d).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function M(d){return decodeURIComponent(d)}function R(d){return M(d.replace(/\+/g,"%20"))}function ve(d){return`${F(d.path)}${function L(d){return Object.keys(d).map(h=>`;${F(h)}=${F(d[h])}`).join("")}(d.parameters)}`}const de=/^[^\/()?;=#]+/;function He(d){const h=d.match(de);return h?h[0]:""}const Ee=/^[^=?&#]+/,Nt=/^[^&#]+/;class ye{constructor(h){this.url=h,this.remaining=h}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new xt([],{}):new xt([],this.parseChildren())}parseQueryParams(){const h={};if(this.consumeOptional("?"))do{this.parseQueryParam(h)}while(this.consumeOptional("&"));return h}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const h=[];for(this.peekStartsWith("(")||h.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),h.push(this.parseSegment());let c={};this.peekStartsWith("/(")&&(this.capture("/"),c=this.parseParens(!0));let m={};return this.peekStartsWith("(")&&(m=this.parseParens(!1)),(h.length>0||Object.keys(c).length>0)&&(m[fe]=new xt(h,c)),m}parseSegment(){const h=He(this.remaining);if(""===h&&this.peekStartsWith(";"))throw new s.vHH(4009,Gt);return this.capture(h),new ze(M(h),this.parseMatrixParams())}parseMatrixParams(){const h={};for(;this.consumeOptional(";");)this.parseParam(h);return h}parseParam(h){const c=He(this.remaining);if(!c)return;this.capture(c);let m="";if(this.consumeOptional("=")){const w=He(this.remaining);w&&(m=w,this.capture(m))}h[M(c)]=M(m)}parseQueryParam(h){const c=function ot(d){const h=d.match(Ee);return h?h[0]:""}(this.remaining);if(!c)return;this.capture(c);let m="";if(this.consumeOptional("=")){const V=function Bt(d){const h=d.match(Nt);return h?h[0]:""}(this.remaining);V&&(m=V,this.capture(m))}const w=R(c),N=R(m);if(h.hasOwnProperty(w)){let V=h[w];Array.isArray(V)||(V=[V],h[w]=V),V.push(N)}else h[w]=N}parseParens(h){const c={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const m=He(this.remaining),w=this.remaining[m.length];if("/"!==w&&")"!==w&&";"!==w)throw new s.vHH(4010,Gt);let N;m.indexOf(":")>-1?(N=m.slice(0,m.indexOf(":")),this.capture(N),this.capture(":")):h&&(N=fe);const V=this.parseChildren();c[N]=1===Object.keys(V).length?V[fe]:new xt([],V),this.consumeOptional("//")}return c}peekStartsWith(h){return this.remaining.startsWith(h)}consumeOptional(h){return!!this.peekStartsWith(h)&&(this.remaining=this.remaining.substring(h.length),!0)}capture(h){if(!this.consumeOptional(h))throw new s.vHH(4011,Gt)}}function x(d){return d.segments.length>0?new xt([],{[fe]:d}):d}function C(d){const h={};for(const m of Object.keys(d.children)){const N=C(d.children[m]);(N.segments.length>0||N.hasChildren())&&(h[m]=N)}return function I(d){if(1===d.numberOfChildren&&d.children[fe]){const h=d.children[fe];return new xt(d.segments.concat(h.segments),h.children)}return d}(new xt(d.segments,h))}function $(d){return d instanceof ut}function Mn(d,h,c,m,w){if(0===c.length)return Jr(h.root,h.root,h.root,m,w);const N=function Hi(d){if("string"==typeof d[0]&&1===d.length&&"/"===d[0])return new oo(!0,0,d);let h=0,c=!1;const m=d.reduce((w,N,V)=>{if("object"==typeof N&&null!=N){if(N.outlets){const Oe={};return Xt(N.outlets,(nt,_t)=>{Oe[_t]="string"==typeof nt?nt.split("/"):nt}),[...w,{outlets:Oe}]}if(N.segmentPath)return[...w,N.segmentPath]}return"string"!=typeof N?[...w,N]:0===V?(N.split("/").forEach((Oe,nt)=>{0==nt&&"."===Oe||(0==nt&&""===Oe?c=!0:".."===Oe?h++:""!=Oe&&w.push(Oe))}),w):[...w,N]},[]);return new oo(c,h,m)}(c);return N.toRoot()?Jr(h.root,h.root,new xt([],{}),m,w):function V(nt){const _t=function _n(d,h,c,m){if(d.isAbsolute)return new Ur(h.root,!0,0);if(-1===m)return new Ur(c,c===h.root,0);return function Nn(d,h,c){let m=d,w=h,N=c;for(;N>w;){if(N-=w,m=m.parent,!m)throw new s.vHH(4005,!1);w=m.segments.length}return new Ur(m,!1,w-N)}(c,m+(Dr(d.commands[0])?0:1),d.numberOfDoubleDots)}(N,h,d.snapshot?._urlSegment,nt),St=_t.processChildren?tr(_t.segmentGroup,_t.index,N.commands):qn(_t.segmentGroup,_t.index,N.commands);return Jr(h.root,_t.segmentGroup,St,m,w)}(d.snapshot?._lastPathIndex)}function Dr(d){return"object"==typeof d&&null!=d&&!d.outlets&&!d.segmentPath}function Sn(d){return"object"==typeof d&&null!=d&&d.outlets}function Jr(d,h,c,m,w){let V,N={};m&&Xt(m,(nt,_t)=>{N[_t]=Array.isArray(nt)?nt.map(St=>`${St}`):`${nt}`}),V=d===h?c:si(d,h,c);const Oe=x(C(V));return new ut(Oe,N,w)}function si(d,h,c){const m={};return Xt(d.children,(w,N)=>{m[N]=w===h?c:si(w,h,c)}),new xt(d.segments,m)}class oo{constructor(h,c,m){if(this.isAbsolute=h,this.numberOfDoubleDots=c,this.commands=m,h&&m.length>0&&Dr(m[0]))throw new s.vHH(4003,!1);const w=m.find(Sn);if(w&&w!==kn(m))throw new s.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Ur{constructor(h,c,m){this.segmentGroup=h,this.processChildren=c,this.index=m}}function qn(d,h,c){if(d||(d=new xt([],{})),0===d.segments.length&&d.hasChildren())return tr(d,h,c);const m=function xr(d,h,c){let m=0,w=h;const N={match:!1,pathIndex:0,commandIndex:0};for(;w<d.segments.length;){if(m>=c.length)return N;const V=d.segments[w],Oe=c[m];if(Sn(Oe))break;const nt=`${Oe}`,_t=m<c.length-1?c[m+1]:null;if(w>0&&void 0===nt)break;if(nt&&_t&&"object"==typeof _t&&void 0===_t.outlets){if(!ur(nt,_t,V))return N;m+=2}else{if(!ur(nt,{},V))return N;m++}w++}return{match:!0,pathIndex:w,commandIndex:m}}(d,h,c),w=c.slice(m.commandIndex);if(m.match&&m.pathIndex<d.segments.length){const N=new xt(d.segments.slice(0,m.pathIndex),{});return N.children[fe]=new xt(d.segments.slice(m.pathIndex),d.children),tr(N,0,w)}return m.match&&0===w.length?new xt(d.segments,{}):m.match&&!d.hasChildren()?gt(d,h,c):m.match?tr(d,0,w):gt(d,h,c)}function tr(d,h,c){if(0===c.length)return new xt(d.segments,{});{const m=function cr(d){return Sn(d[0])?d[0].outlets:{[fe]:d}}(c),w={};return Xt(m,(N,V)=>{"string"==typeof N&&(N=[N]),null!==N&&(w[V]=qn(d.children[V],h,N))}),Xt(d.children,(N,V)=>{void 0===m[V]&&(w[V]=N)}),new xt(d.segments,w)}}function gt(d,h,c){const m=d.segments.slice(0,h);let w=0;for(;w<c.length;){const N=c[w];if(Sn(N)){const nt=Vt(N.outlets);return new xt(m,nt)}if(0===w&&Dr(c[0])){m.push(new ze(d.segments[h].path,Vn(c[0]))),w++;continue}const V=Sn(N)?N.outlets[fe]:`${N}`,Oe=w<c.length-1?c[w+1]:null;V&&Oe&&Dr(Oe)?(m.push(new ze(V,Vn(Oe))),w+=2):(m.push(new ze(V,{})),w++)}return new xt(m,{})}function Vt(d){const h={};return Xt(d,(c,m)=>{"string"==typeof c&&(c=[c]),null!==c&&(h[m]=gt(new xt([],{}),0,c))}),h}function Vn(d){const h={};return Xt(d,(c,m)=>h[m]=`${c}`),h}function ur(d,h,c){return d==c.path&&Kt(h,c.parameters)}const Er="imperative";class An{constructor(h,c){this.id=h,this.url=c}}class mr extends An{constructor(h,c,m="imperative",w=null){super(h,c),this.type=0,this.navigationTrigger=m,this.restoredState=w}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class dn extends An{constructor(h,c,m){super(h,c),this.urlAfterRedirects=m,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Or extends An{constructor(h,c,m,w){super(h,c),this.reason=m,this.code=w,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Cr extends An{constructor(h,c,m,w){super(h,c),this.reason=m,this.code=w,this.type=16}}class nn extends An{constructor(h,c,m,w){super(h,c),this.error=m,this.target=w,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Ti extends An{constructor(h,c,m,w){super(h,c),this.urlAfterRedirects=m,this.state=w,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Mi extends An{constructor(h,c,m,w){super(h,c),this.urlAfterRedirects=m,this.state=w,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class $i extends An{constructor(h,c,m,w,N){super(h,c),this.urlAfterRedirects=m,this.state=w,this.shouldActivate=N,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class nr extends An{constructor(h,c,m,w){super(h,c),this.urlAfterRedirects=m,this.state=w,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class dr extends An{constructor(h,c,m,w){super(h,c),this.urlAfterRedirects=m,this.state=w,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class _i{constructor(h){this.route=h,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class fi{constructor(h){this.route=h,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class wr{constructor(h){this.snapshot=h,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class hi{constructor(h){this.snapshot=h,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Vi{constructor(h){this.snapshot=h,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ln{constructor(h){this.snapshot=h,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class fr{constructor(h,c,m){this.routerEvent=h,this.position=c,this.anchor=m,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}let Pr=(()=>{class d{createUrlTree(c,m,w,N,V,Oe){return Mn(c||m.root,w,N,V,Oe)}}return d.\u0275fac=function(c){return new(c||d)},d.\u0275prov=s.Yz7({token:d,factory:d.\u0275fac}),d})(),hr=(()=>{class d{}return d.\u0275fac=function(c){return new(c||d)},d.\u0275prov=s.Yz7({token:d,factory:function(h){return Pr.\u0275fac(h)},providedIn:"root"}),d})();class gr{constructor(h){this._root=h}get root(){return this._root.value}parent(h){const c=this.pathFromRoot(h);return c.length>1?c[c.length-2]:null}children(h){const c=go(h,this._root);return c?c.children.map(m=>m.value):[]}firstChild(h){const c=go(h,this._root);return c&&c.children.length>0?c.children[0].value:null}siblings(h){const c=_r(h,this._root);return c.length<2?[]:c[c.length-2].children.map(w=>w.value).filter(w=>w!==h)}pathFromRoot(h){return _r(h,this._root).map(c=>c.value)}}function go(d,h){if(d===h.value)return h;for(const c of h.children){const m=go(d,c);if(m)return m}return null}function _r(d,h){if(d===h.value)return[h];for(const c of h.children){const m=_r(d,c);if(m.length)return m.unshift(h),m}return[]}class Kn{constructor(h,c){this.value=h,this.children=c}toString(){return`TreeNode(${this.value})`}}function qr(d){const h={};return d&&d.children.forEach(c=>h[c.value.outlet]=c),h}class zi extends gr{constructor(h,c){super(h),this.snapshot=c,Ki(this,h)}toString(){return this.snapshot.toString()}}function Gi(d,h){const c=function Rr(d,h){const V=new Ai([],{},{},"",{},fe,h,null,d.root,-1,{});return new Wi("",new Kn(V,[]))}(d,h),m=new K.X([new ze("",{})]),w=new K.X({}),N=new K.X({}),V=new K.X({}),Oe=new K.X(""),nt=new Si(m,w,V,Oe,N,fe,h,c.root);return nt.snapshot=c.root,new zi(new Kn(nt,[]),c)}class Si{constructor(h,c,m,w,N,V,Oe,nt){this.url=h,this.params=c,this.queryParams=m,this.fragment=w,this.data=N,this.outlet=V,this.component=Oe,this.title=this.data?.pipe((0,De.U)(_t=>_t[Ne]))??(0,U.of)(void 0),this._futureSnapshot=nt}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._paramMap=this.params.pipe((0,De.U)(h=>Ft(h)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,De.U)(h=>Ft(h)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function mo(d,h="emptyOnly"){const c=d.pathFromRoot;let m=0;if("always"!==h)for(m=c.length-1;m>=1;){const w=c[m],N=c[m-1];if(w.routeConfig&&""===w.routeConfig.path)m--;else{if(N.component)break;m--}}return function Fr(d){return d.reduce((h,c)=>({params:{...h.params,...c.params},data:{...h.data,...c.data},resolve:{...c.data,...h.resolve,...c.routeConfig?.data,...c._resolvedData}}),{params:{},data:{},resolve:{}})}(c.slice(m))}class Ai{get title(){return this.data?.[Ne]}constructor(h,c,m,w,N,V,Oe,nt,_t,St,yn){this.url=h,this.params=c,this.queryParams=m,this.fragment=w,this.data=N,this.outlet=V,this.component=Oe,this.routeConfig=nt,this._urlSegment=_t,this._lastPathIndex=St,this._resolve=yn}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._paramMap=Ft(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ft(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(m=>m.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Wi extends gr{constructor(h,c){super(c),this.url=h,Ki(this,c)}toString(){return _o(this._root)}}function Ki(d,h){h.value._routerState=d,h.children.forEach(c=>Ki(d,c))}function _o(d){const h=d.children.length>0?` { ${d.children.map(_o).join(", ")} } `:"";return`${d.value}${h}`}function yo(d){if(d.snapshot){const h=d.snapshot,c=d._futureSnapshot;d.snapshot=c,Kt(h.queryParams,c.queryParams)||d.queryParams.next(c.queryParams),h.fragment!==c.fragment&&d.fragment.next(c.fragment),Kt(h.params,c.params)||d.params.next(c.params),function ln(d,h){if(d.length!==h.length)return!1;for(let c=0;c<d.length;++c)if(!Kt(d[c],h[c]))return!1;return!0}(h.url,c.url)||d.url.next(c.url),Kt(h.data,c.data)||d.data.next(c.data)}else d.snapshot=d._futureSnapshot,d.data.next(d._futureSnapshot.data)}function Io(d,h){const c=Kt(d.params,h.params)&&function ft(d,h){return Re(d,h)&&d.every((c,m)=>Kt(c.parameters,h[m].parameters))}(d.url,h.url);return c&&!(!d.parent!=!h.parent)&&(!d.parent||Io(d.parent,h.parent))}function xi(d,h,c){if(c&&d.shouldReuseRoute(h.value,c.value.snapshot)){const m=c.value;m._futureSnapshot=h.value;const w=function ei(d,h,c){return h.children.map(m=>{for(const w of c.children)if(d.shouldReuseRoute(m.value,w.value.snapshot))return xi(d,m,w);return xi(d,m)})}(d,h,c);return new Kn(m,w)}{if(d.shouldAttach(h.value)){const N=d.retrieve(h.value);if(null!==N){const V=N.route;return V.value._futureSnapshot=h.value,V.children=h.children.map(Oe=>xi(d,Oe)),V}}const m=function _e(d){return new Si(new K.X(d.url),new K.X(d.params),new K.X(d.queryParams),new K.X(d.fragment),new K.X(d.data),d.outlet,d.component,d)}(h.value),w=h.children.map(N=>xi(d,N));return new Kn(m,w)}}const be="ngNavigationCancelingError";function ke(d,h){const{redirectTo:c,navigationBehaviorOptions:m}=$(h)?{redirectTo:h,navigationBehaviorOptions:void 0}:h,w=Xe(!1,0,h);return w.url=c,w.navigationBehaviorOptions=m,w}function Xe(d,h,c){const m=new Error("NavigationCancelingError: "+(d||""));return m[be]=!0,m.cancellationCode=h,c&&(m.url=c),m}function at(d){return ht(d)&&$(d.url)}function ht(d){return d&&d[be]}class zt{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new jn,this.attachRef=null}}let jn=(()=>{class d{constructor(){this.contexts=new Map}onChildOutletCreated(c,m){const w=this.getOrCreateContext(c);w.outlet=m,this.contexts.set(c,w)}onChildOutletDestroyed(c){const m=this.getContext(c);m&&(m.outlet=null,m.attachRef=null)}onOutletDeactivated(){const c=this.contexts;return this.contexts=new Map,c}onOutletReAttached(c){this.contexts=c}getOrCreateContext(c){let m=this.getContext(c);return m||(m=new zt,this.contexts.set(c,m)),m}getContext(c){return this.contexts.get(c)||null}}return d.\u0275fac=function(c){return new(c||d)},d.\u0275prov=s.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),d})();const rn=!1;let rr=(()=>{class d{constructor(){this.activated=null,this._activatedRoute=null,this.name=fe,this.activateEvents=new s.vpe,this.deactivateEvents=new s.vpe,this.attachEvents=new s.vpe,this.detachEvents=new s.vpe,this.parentContexts=(0,s.f3M)(jn),this.location=(0,s.f3M)(s.s_b),this.changeDetector=(0,s.f3M)(s.sBO),this.environmentInjector=(0,s.f3M)(s.lqb)}ngOnChanges(c){if(c.name){const{firstChange:m,previousValue:w}=c.name;if(m)return;this.isTrackedInParentContexts(w)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(w)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name)}isTrackedInParentContexts(c){return this.parentContexts.getContext(c)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const c=this.parentContexts.getContext(this.name);c?.route&&(c.attachRef?this.attach(c.attachRef,c.route):this.activateWith(c.route,c.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new s.vHH(4012,rn);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new s.vHH(4012,rn);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new s.vHH(4012,rn);this.location.detach();const c=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(c.instance),c}attach(c,m){this.activated=c,this._activatedRoute=m,this.location.insert(c.hostView),this.attachEvents.emit(c.instance)}deactivate(){if(this.activated){const c=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(c)}}activateWith(c,m){if(this.isActivated)throw new s.vHH(4013,rn);this._activatedRoute=c;const w=this.location,V=c.snapshot.component,Oe=this.parentContexts.getOrCreateContext(this.name).children,nt=new kr(c,Oe,w.injector);if(m&&function Oi(d){return!!d.resolveComponentFactory}(m)){const _t=m.resolveComponentFactory(V);this.activated=w.createComponent(_t,w.length,nt)}else this.activated=w.createComponent(V,{index:w.length,injector:nt,environmentInjector:m??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return d.\u0275fac=function(c){return new(c||d)},d.\u0275dir=s.lG2({type:d,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[s.TTD]}),d})();class kr{constructor(h,c,m){this.route=h,this.childContexts=c,this.parent=m}get(h,c){return h===Si?this.route:h===jn?this.childContexts:this.parent.get(h,c)}}let ai=(()=>{class d{}return d.\u0275fac=function(c){return new(c||d)},d.\u0275cmp=s.Xpm({type:d,selectors:[["ng-component"]],standalone:!0,features:[s.jDz],decls:1,vars:0,template:function(c,m){1&c&&s._UZ(0,"router-outlet")},dependencies:[rr],encapsulation:2}),d})();function li(d,h){return d.providers&&!d._injector&&(d._injector=(0,s.MMx)(d.providers,h,`Route: ${d.path}`)),d._injector??h}function ni(d){const h=d.children&&d.children.map(ni),c=h?{...d,children:h}:{...d};return!c.component&&!c.loadComponent&&(h||c.loadChildren)&&c.outlet&&c.outlet!==fe&&(c.component=ai),c}function xn(d){return d.outlet||fe}function So(d,h){const c=d.filter(m=>xn(m)===h);return c.push(...d.filter(m=>xn(m)!==h)),c}function Kr(d){if(!d)return null;if(d.routeConfig?._injector)return d.routeConfig._injector;for(let h=d.parent;h;h=h.parent){const c=h.routeConfig;if(c?._loadedInjector)return c._loadedInjector;if(c?._injector)return c._injector}return null}class ao{constructor(h,c,m,w){this.routeReuseStrategy=h,this.futureState=c,this.currState=m,this.forwardEvent=w}activate(h){const c=this.futureState._root,m=this.currState?this.currState._root:null;this.deactivateChildRoutes(c,m,h),yo(this.futureState.root),this.activateChildRoutes(c,m,h)}deactivateChildRoutes(h,c,m){const w=qr(c);h.children.forEach(N=>{const V=N.value.outlet;this.deactivateRoutes(N,w[V],m),delete w[V]}),Xt(w,(N,V)=>{this.deactivateRouteAndItsChildren(N,m)})}deactivateRoutes(h,c,m){const w=h.value,N=c?c.value:null;if(w===N)if(w.component){const V=m.getContext(w.outlet);V&&this.deactivateChildRoutes(h,c,V.children)}else this.deactivateChildRoutes(h,c,m);else N&&this.deactivateRouteAndItsChildren(c,m)}deactivateRouteAndItsChildren(h,c){h.value.component&&this.routeReuseStrategy.shouldDetach(h.value.snapshot)?this.detachAndStoreRouteSubtree(h,c):this.deactivateRouteAndOutlet(h,c)}detachAndStoreRouteSubtree(h,c){const m=c.getContext(h.value.outlet),w=m&&h.value.component?m.children:c,N=qr(h);for(const V of Object.keys(N))this.deactivateRouteAndItsChildren(N[V],w);if(m&&m.outlet){const V=m.outlet.detach(),Oe=m.children.onOutletDeactivated();this.routeReuseStrategy.store(h.value.snapshot,{componentRef:V,route:h,contexts:Oe})}}deactivateRouteAndOutlet(h,c){const m=c.getContext(h.value.outlet),w=m&&h.value.component?m.children:c,N=qr(h);for(const V of Object.keys(N))this.deactivateRouteAndItsChildren(N[V],w);m&&m.outlet&&(m.outlet.deactivate(),m.children.onOutletDeactivated(),m.attachRef=null,m.resolver=null,m.route=null)}activateChildRoutes(h,c,m){const w=qr(c);h.children.forEach(N=>{this.activateRoutes(N,w[N.value.outlet],m),this.forwardEvent(new Ln(N.value.snapshot))}),h.children.length&&this.forwardEvent(new hi(h.value.snapshot))}activateRoutes(h,c,m){const w=h.value,N=c?c.value:null;if(yo(w),w===N)if(w.component){const V=m.getOrCreateContext(w.outlet);this.activateChildRoutes(h,c,V.children)}else this.activateChildRoutes(h,c,m);else if(w.component){const V=m.getOrCreateContext(w.outlet);if(this.routeReuseStrategy.shouldAttach(w.snapshot)){const Oe=this.routeReuseStrategy.retrieve(w.snapshot);this.routeReuseStrategy.store(w.snapshot,null),V.children.onOutletReAttached(Oe.contexts),V.attachRef=Oe.componentRef,V.route=Oe.route.value,V.outlet&&V.outlet.attach(Oe.componentRef,Oe.route.value),yo(Oe.route.value),this.activateChildRoutes(h,null,V.children)}else{const Oe=Kr(w.snapshot),nt=Oe?.get(s._Vd)??null;V.attachRef=null,V.route=w,V.resolver=nt,V.injector=Oe,V.outlet&&V.outlet.activateWith(w,V.injector),this.activateChildRoutes(h,null,V.children)}}else this.activateChildRoutes(h,null,m)}}class Zi{constructor(h){this.path=h,this.route=this.path[this.path.length-1]}}class Yr{constructor(h,c){this.component=h,this.route=c}}function Nr(d,h,c){const m=d._root;return Ao(m,h?h._root:null,c,[m.value])}function vi(d,h){const c=Symbol(),m=h.get(d,c);return m===c?"function"!=typeof d||(0,s.Z0I)(d)?h.get(d):d:m}function Ao(d,h,c,m,w={canDeactivateChecks:[],canActivateChecks:[]}){const N=qr(h);return d.children.forEach(V=>{(function ci(d,h,c,m,w={canDeactivateChecks:[],canActivateChecks:[]}){const N=d.value,V=h?h.value:null,Oe=c?c.getContext(d.value.outlet):null;if(V&&N.routeConfig===V.routeConfig){const nt=function Jo(d,h,c){if("function"==typeof c)return c(d,h);switch(c){case"pathParamsChange":return!Re(d.url,h.url);case"pathParamsOrQueryParamsChange":return!Re(d.url,h.url)||!Kt(d.queryParams,h.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Io(d,h)||!Kt(d.queryParams,h.queryParams);default:return!Io(d,h)}}(V,N,N.routeConfig.runGuardsAndResolvers);nt?w.canActivateChecks.push(new Zi(m)):(N.data=V.data,N._resolvedData=V._resolvedData),Ao(d,h,N.component?Oe?Oe.children:null:c,m,w),nt&&Oe&&Oe.outlet&&Oe.outlet.isActivated&&w.canDeactivateChecks.push(new Yr(Oe.outlet.component,V))}else V&&bi(h,Oe,w),w.canActivateChecks.push(new Zi(m)),Ao(d,null,N.component?Oe?Oe.children:null:c,m,w)})(V,N[V.value.outlet],c,m.concat([V.value]),w),delete N[V.value.outlet]}),Xt(N,(V,Oe)=>bi(V,c.getContext(Oe),w)),w}function bi(d,h,c){const m=qr(d),w=d.value;Xt(m,(N,V)=>{bi(N,w.component?h?h.children.getContext(V):null:h,c)}),c.canDeactivateChecks.push(new Yr(w.component&&h&&h.outlet&&h.outlet.isActivated?h.outlet.component:null,w))}function Wt(d){return"function"==typeof d}function Qe(d){return d instanceof X.K||"EmptyError"===d?.name}const fn=Symbol("INITIAL_VALUE");function Qi(){return(0,Me.w)(d=>(0,J.a)(d.map(h=>h.pipe((0,H.q)(1),(0,ae.O)(fn)))).pipe((0,De.U)(h=>{for(const c of h)if(!0!==c){if(c===fn)return fn;if(!1===c||c instanceof ut)return c}return!0}),(0,le.h)(h=>h!==fn),(0,H.q)(1)))}function Xi(d){return(0,Q.z)((0,Z.b)(h=>{if($(h))throw ke(0,h)}),(0,De.U)(h=>!0===h))}const zn={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Di(d,h,c,m,w){const N=$r(d,h,c);return N.matched?function Mr(d,h,c,m){const w=h.canMatch;if(!w||0===w.length)return(0,U.of)(!0);const N=w.map(V=>{const Oe=vi(V,d);return wn(function es(d){return d&&Wt(d.canMatch)}(Oe)?Oe.canMatch(h,c):d.runInContext(()=>Oe(h,c)))});return(0,U.of)(N).pipe(Qi(),Xi())}(m=li(h,m),h,c).pipe((0,De.U)(V=>!0===V?N:{...zn})):(0,U.of)(N)}function $r(d,h,c){if(""===h.path)return"full"===h.pathMatch&&(d.hasChildren()||c.length>0)?{...zn}:{matched:!0,consumedSegments:[],remainingSegments:c,parameters:{},positionalParamSegments:{}};const w=(h.matcher||$t)(c,d,h);if(!w)return{...zn};const N={};Xt(w.posParams,(Oe,nt)=>{N[nt]=Oe.path});const V=w.consumed.length>0?{...N,...w.consumed[w.consumed.length-1].parameters}:N;return{matched:!0,consumedSegments:w.consumed,remainingSegments:c.slice(w.consumed.length),parameters:V,positionalParamSegments:w.posParams??{}}}function Vr(d,h,c,m){if(c.length>0&&function Ro(d,h,c){return c.some(m=>lo(d,h,m)&&xn(m)!==fe)}(d,c,m)){const N=new xt(h,function Do(d,h,c,m){const w={};w[fe]=m,m._sourceSegment=d,m._segmentIndexShift=h.length;for(const N of c)if(""===N.path&&xn(N)!==fe){const V=new xt([],{});V._sourceSegment=d,V._segmentIndexShift=h.length,w[xn(N)]=V}return w}(d,h,m,new xt(c,d.children)));return N._sourceSegment=d,N._segmentIndexShift=h.length,{segmentGroup:N,slicedSegments:[]}}if(0===c.length&&function ns(d,h,c){return c.some(m=>lo(d,h,m))}(d,c,m)){const N=new xt(d.segments,function ts(d,h,c,m,w){const N={};for(const V of m)if(lo(d,c,V)&&!w[xn(V)]){const Oe=new xt([],{});Oe._sourceSegment=d,Oe._segmentIndexShift=h.length,N[xn(V)]=Oe}return{...w,...N}}(d,h,c,m,d.children));return N._sourceSegment=d,N._segmentIndexShift=h.length,{segmentGroup:N,slicedSegments:c}}const w=new xt(d.segments,d.children);return w._sourceSegment=d,w._segmentIndexShift=h.length,{segmentGroup:w,slicedSegments:c}}function lo(d,h,c){return(!(d.hasChildren()||h.length>0)||"full"!==c.pathMatch)&&""===c.path}function Pi(d,h,c,m){return!!(xn(d)===m||m!==fe&&lo(h,c,d))&&("**"===d.path||$r(h,d,c).matched)}function Go(d,h,c){return 0===h.length&&!d.children[c]}const Ri=!1;class Fi{constructor(h){this.segmentGroup=h||null}}class co{constructor(h){this.urlTree=h}}function sr(d){return(0,j._)(new Fi(d))}function Ji(d){return(0,j._)(new co(d))}class bs{constructor(h,c,m,w,N){this.injector=h,this.configLoader=c,this.urlSerializer=m,this.urlTree=w,this.config=N,this.allowRedirects=!0}apply(){const h=Vr(this.urlTree.root,[],[],this.config).segmentGroup,c=new xt(h.segments,h.children);return this.expandSegmentGroup(this.injector,this.config,c,fe).pipe((0,De.U)(N=>this.createUrlTree(C(N),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,re.K)(N=>{if(N instanceof co)return this.allowRedirects=!1,this.match(N.urlTree);throw N instanceof Fi?this.noMatchError(N):N}))}match(h){return this.expandSegmentGroup(this.injector,this.config,h.root,fe).pipe((0,De.U)(w=>this.createUrlTree(C(w),h.queryParams,h.fragment))).pipe((0,re.K)(w=>{throw w instanceof Fi?this.noMatchError(w):w}))}noMatchError(h){return new s.vHH(4002,Ri)}createUrlTree(h,c,m){const w=x(h);return new ut(w,c,m)}expandSegmentGroup(h,c,m,w){return 0===m.segments.length&&m.hasChildren()?this.expandChildren(h,c,m).pipe((0,De.U)(N=>new xt([],N))):this.expandSegment(h,m,c,m.segments,w,!0)}expandChildren(h,c,m){const w=[];for(const N of Object.keys(m.children))"primary"===N?w.unshift(N):w.push(N);return(0,f.D)(w).pipe((0,ge.b)(N=>{const V=m.children[N],Oe=So(c,N);return this.expandSegmentGroup(h,Oe,V,N).pipe((0,De.U)(nt=>({segment:nt,outlet:N})))}),(0,Ie.R)((N,V)=>(N[V.outlet]=V.segment,N),{}),Ht())}expandSegment(h,c,m,w,N,V){return(0,f.D)(m).pipe((0,ge.b)(Oe=>this.expandSegmentAgainstRoute(h,c,m,Oe,w,N,V).pipe((0,re.K)(_t=>{if(_t instanceof Fi)return(0,U.of)(null);throw _t}))),(0,se.P)(Oe=>!!Oe),(0,re.K)((Oe,nt)=>{if(Qe(Oe))return Go(c,w,N)?(0,U.of)(new xt([],{})):sr(c);throw Oe}))}expandSegmentAgainstRoute(h,c,m,w,N,V,Oe){return Pi(w,c,N,V)?void 0===w.redirectTo?this.matchSegmentAgainstRoute(h,c,w,N,V):Oe&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(h,c,m,w,N,V):sr(c):sr(c)}expandSegmentAgainstRouteUsingRedirect(h,c,m,w,N,V){return"**"===w.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(h,m,w,V):this.expandRegularSegmentAgainstRouteUsingRedirect(h,c,m,w,N,V)}expandWildCardWithParamsAgainstRouteUsingRedirect(h,c,m,w){const N=this.applyRedirectCommands([],m.redirectTo,{});return m.redirectTo.startsWith("/")?Ji(N):this.lineralizeSegments(m,N).pipe((0,pe.z)(V=>{const Oe=new xt(V,{});return this.expandSegment(h,Oe,c,V,w,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(h,c,m,w,N,V){const{matched:Oe,consumedSegments:nt,remainingSegments:_t,positionalParamSegments:St}=$r(c,w,N);if(!Oe)return sr(c);const yn=this.applyRedirectCommands(nt,w.redirectTo,St);return w.redirectTo.startsWith("/")?Ji(yn):this.lineralizeSegments(w,yn).pipe((0,pe.z)(zr=>this.expandSegment(h,c,m,zr.concat(_t),V,!1)))}matchSegmentAgainstRoute(h,c,m,w,N){return"**"===m.path?(h=li(m,h),m.loadChildren?(m._loadedRoutes?(0,U.of)({routes:m._loadedRoutes,injector:m._loadedInjector}):this.configLoader.loadChildren(h,m)).pipe((0,De.U)(Oe=>(m._loadedRoutes=Oe.routes,m._loadedInjector=Oe.injector,new xt(w,{})))):(0,U.of)(new xt(w,{}))):Di(c,m,w,h).pipe((0,Me.w)(({matched:V,consumedSegments:Oe,remainingSegments:nt})=>V?this.getChildConfig(h=m._injector??h,m,w).pipe((0,pe.z)(St=>{const yn=St.injector??h,zr=St.routes,{segmentGroup:wo,slicedSegments:To}=Vr(c,Oe,nt,zr),Ci=new xt(wo.segments,wo.children);if(0===To.length&&Ci.hasChildren())return this.expandChildren(yn,zr,Ci).pipe((0,De.U)(rl=>new xt(Oe,rl)));if(0===zr.length&&0===To.length)return(0,U.of)(new xt(Oe,{}));const ro=xn(m)===N;return this.expandSegment(yn,Ci,zr,To,ro?fe:N,!0).pipe((0,De.U)(ra=>new xt(Oe.concat(ra.segments),ra.children)))})):sr(c)))}getChildConfig(h,c,m){return c.children?(0,U.of)({routes:c.children,injector:h}):c.loadChildren?void 0!==c._loadedRoutes?(0,U.of)({routes:c._loadedRoutes,injector:c._loadedInjector}):function vs(d,h,c,m){const w=h.canLoad;if(void 0===w||0===w.length)return(0,U.of)(!0);const N=w.map(V=>{const Oe=vi(V,d);return wn(function qo(d){return d&&Wt(d.canLoad)}(Oe)?Oe.canLoad(h,c):d.runInContext(()=>Oe(h,c)))});return(0,U.of)(N).pipe(Qi(),Xi())}(h,c,m).pipe((0,pe.z)(w=>w?this.configLoader.loadChildren(h,c).pipe((0,Z.b)(N=>{c._loadedRoutes=N.routes,c._loadedInjector=N.injector})):function Rs(d){return(0,j._)(Xe(Ri,3))}())):(0,U.of)({routes:[],injector:h})}lineralizeSegments(h,c){let m=[],w=c.root;for(;;){if(m=m.concat(w.segments),0===w.numberOfChildren)return(0,U.of)(m);if(w.numberOfChildren>1||!w.children[fe])return(0,j._)(new s.vHH(4e3,Ri));w=w.children[fe]}}applyRedirectCommands(h,c,m){return this.applyRedirectCreateUrlTree(c,this.urlSerializer.parse(c),h,m)}applyRedirectCreateUrlTree(h,c,m,w){const N=this.createSegmentGroup(h,c.root,m,w);return new ut(N,this.createQueryParams(c.queryParams,this.urlTree.queryParams),c.fragment)}createQueryParams(h,c){const m={};return Xt(h,(w,N)=>{if("string"==typeof w&&w.startsWith(":")){const Oe=w.substring(1);m[N]=c[Oe]}else m[N]=w}),m}createSegmentGroup(h,c,m,w){const N=this.createSegments(h,c.segments,m,w);let V={};return Xt(c.children,(Oe,nt)=>{V[nt]=this.createSegmentGroup(h,Oe,m,w)}),new xt(N,V)}createSegments(h,c,m,w){return c.map(N=>N.path.startsWith(":")?this.findPosParam(h,N,w):this.findOrReturn(N,m))}findPosParam(h,c,m){const w=m[c.path.substring(1)];if(!w)throw new s.vHH(4001,Ri);return w}findOrReturn(h,c){let m=0;for(const w of c){if(w.path===h.path)return c.splice(m),w;m++}return h}}class Lr{}class Es{constructor(h,c,m,w,N,V,Oe){this.injector=h,this.rootComponentType=c,this.config=m,this.urlTree=w,this.url=N,this.paramsInheritanceStrategy=V,this.urlSerializer=Oe}recognize(){const h=Vr(this.urlTree.root,[],[],this.config.filter(c=>void 0===c.redirectTo)).segmentGroup;return this.processSegmentGroup(this.injector,this.config,h,fe).pipe((0,De.U)(c=>{if(null===c)return null;const m=new Ai([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},fe,this.rootComponentType,null,this.urlTree.root,-1,{}),w=new Kn(m,c),N=new Wi(this.url,w);return this.inheritParamsAndData(N._root),N}))}inheritParamsAndData(h){const c=h.value,m=mo(c,this.paramsInheritanceStrategy);c.params=Object.freeze(m.params),c.data=Object.freeze(m.data),h.children.forEach(w=>this.inheritParamsAndData(w))}processSegmentGroup(h,c,m,w){return 0===m.segments.length&&m.hasChildren()?this.processChildren(h,c,m):this.processSegment(h,c,m,m.segments,w)}processChildren(h,c,m){return(0,f.D)(Object.keys(m.children)).pipe((0,ge.b)(w=>{const N=m.children[w],V=So(c,w);return this.processSegmentGroup(h,V,N,w)}),(0,Ie.R)((w,N)=>w&&N?(w.push(...N),w):null),(0,en.o)(w=>null!==w),(0,qe.d)(null),Ht(),(0,De.U)(w=>{if(null===w)return null;const N=ws(w);return function rs(d){d.sort((h,c)=>h.value.outlet===fe?-1:c.value.outlet===fe?1:h.value.outlet.localeCompare(c.value.outlet))}(N),N}))}processSegment(h,c,m,w,N){return(0,f.D)(c).pipe((0,ge.b)(V=>this.processSegmentAgainstRoute(V._injector??h,V,m,w,N)),(0,se.P)(V=>!!V),(0,re.K)(V=>{if(Qe(V))return Go(m,w,N)?(0,U.of)([]):(0,U.of)(null);throw V}))}processSegmentAgainstRoute(h,c,m,w,N){if(c.redirectTo||!Pi(c,m,w,N))return(0,U.of)(null);let V;if("**"===c.path){const Oe=w.length>0?kn(w).parameters:{},nt=g(m)+w.length,_t=new Ai(w,Oe,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,y(c),xn(c),c.component??c._loadedComponent??null,c,Eo(m),nt,P(c));V=(0,U.of)({snapshot:_t,consumedSegments:[],remainingSegments:[]})}else V=Di(m,c,w,h).pipe((0,De.U)(({matched:Oe,consumedSegments:nt,remainingSegments:_t,parameters:St})=>{if(!Oe)return null;const yn=g(m)+nt.length;return{snapshot:new Ai(nt,St,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,y(c),xn(c),c.component??c._loadedComponent??null,c,Eo(m),yn,P(c)),consumedSegments:nt,remainingSegments:_t}}));return V.pipe((0,Me.w)(Oe=>{if(null===Oe)return(0,U.of)(null);const{snapshot:nt,consumedSegments:_t,remainingSegments:St}=Oe;h=c._injector??h;const yn=c._loadedInjector??h,zr=function br(d){return d.children?d.children:d.loadChildren?d._loadedRoutes:[]}(c),{segmentGroup:wo,slicedSegments:To}=Vr(m,_t,St,zr.filter(ro=>void 0===ro.redirectTo));if(0===To.length&&wo.hasChildren())return this.processChildren(yn,zr,wo).pipe((0,De.U)(ro=>null===ro?null:[new Kn(nt,ro)]));if(0===zr.length&&0===To.length)return(0,U.of)([new Kn(nt,[])]);const Ci=xn(c)===N;return this.processSegment(yn,zr,wo,To,Ci?fe:N).pipe((0,De.U)(ro=>null===ro?null:[new Kn(nt,ro)]))}))}}function Cs(d){const h=d.value.routeConfig;return h&&""===h.path&&void 0===h.redirectTo}function ws(d){const h=[],c=new Set;for(const m of d){if(!Cs(m)){h.push(m);continue}const w=h.find(N=>m.value.routeConfig===N.value.routeConfig);void 0!==w?(w.children.push(...m.children),c.add(w)):h.push(m)}for(const m of c){const w=ws(m.children);h.push(new Kn(m.value,w))}return h.filter(m=>!c.has(m))}function Eo(d){let h=d;for(;h._sourceSegment;)h=h._sourceSegment;return h}function g(d){let h=d,c=h._segmentIndexShift??0;for(;h._sourceSegment;)h=h._sourceSegment,c+=h._segmentIndexShift??0;return c-1}function y(d){return d.data||{}}function P(d){return d.resolve||{}}function On(d){return"string"==typeof d.title||null===d.title}function un(d){return(0,Me.w)(h=>{const c=d(h);return c?(0,f.D)(c).pipe((0,De.U)(()=>h)):(0,U.of)(h)})}const ir=new s.OlP("ROUTES");let pi=(()=>{class d{constructor(c,m){this.injector=c,this.compiler=m,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(c){if(this.componentLoaders.get(c))return this.componentLoaders.get(c);if(c._loadedComponent)return(0,U.of)(c._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(c);const m=wn(c.loadComponent()).pipe((0,De.U)(Br),(0,Z.b)(N=>{this.onLoadEndListener&&this.onLoadEndListener(c),c._loadedComponent=N}),(0,It.x)(()=>{this.componentLoaders.delete(c)})),w=new Se(m,()=>new Fe.x).pipe(Ye());return this.componentLoaders.set(c,w),w}loadChildren(c,m){if(this.childrenLoaders.get(m))return this.childrenLoaders.get(m);if(m._loadedRoutes)return(0,U.of)({routes:m._loadedRoutes,injector:m._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(m);const N=this.loadModuleFactoryOrRoutes(m.loadChildren).pipe((0,De.U)(Oe=>{this.onLoadEndListener&&this.onLoadEndListener(m);let nt,_t,St=!1;Array.isArray(Oe)?_t=Oe:(nt=Oe.create(c).injector,_t=vn(nt.get(ir,[],s.XFs.Self|s.XFs.Optional)));return{routes:_t.map(ni),injector:nt}}),(0,It.x)(()=>{this.childrenLoaders.delete(m)})),V=new Se(N,()=>new Fe.x).pipe(Ye());return this.childrenLoaders.set(m,V),V}loadModuleFactoryOrRoutes(c){return wn(c()).pipe((0,De.U)(Br),(0,pe.z)(w=>w instanceof s.YKP||Array.isArray(w)?(0,U.of)(w):(0,f.D)(this.compiler.compileModuleAsync(w))))}}return d.\u0275fac=function(c){return new(c||d)(s.LFG(s.zs3),s.LFG(s.Sil))},d.\u0275prov=s.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),d})();function Br(d){return function ri(d){return d&&"object"==typeof d&&"default"in d}(d)?d.default:d}let ki=(()=>{class d{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new Fe.x,this.configLoader=(0,s.f3M)(pi),this.environmentInjector=(0,s.f3M)(s.lqb),this.urlSerializer=(0,s.f3M)(kt),this.rootContexts=(0,s.f3M)(jn),this.navigationId=0,this.afterPreactivation=()=>(0,U.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=w=>this.events.next(new fi(w)),this.configLoader.onLoadStartListener=w=>this.events.next(new _i(w))}complete(){this.transitions?.complete()}handleNavigationRequest(c){const m=++this.navigationId;this.transitions?.next({...this.transitions.value,...c,id:m})}setupNavigations(c){return this.transitions=new K.X({id:0,targetPageId:0,currentUrlTree:c.currentUrlTree,currentRawUrl:c.currentUrlTree,extractedUrl:c.urlHandlingStrategy.extract(c.currentUrlTree),urlAfterRedirects:c.urlHandlingStrategy.extract(c.currentUrlTree),rawUrl:c.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Er,restoredState:null,currentSnapshot:c.routerState.snapshot,targetSnapshot:null,currentRouterState:c.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,le.h)(m=>0!==m.id),(0,De.U)(m=>({...m,extractedUrl:c.urlHandlingStrategy.extract(m.rawUrl)})),(0,Me.w)(m=>{let w=!1,N=!1;return(0,U.of)(m).pipe((0,Z.b)(V=>{this.currentNavigation={id:V.id,initialUrl:V.rawUrl,extractedUrl:V.extractedUrl,trigger:V.source,extras:V.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,Me.w)(V=>{const Oe=c.browserUrlTree.toString(),nt=!c.navigated||V.extractedUrl.toString()!==Oe||Oe!==c.currentUrlTree.toString();if(!nt&&"reload"!==(V.extras.onSameUrlNavigation??c.onSameUrlNavigation)){const St="";return this.events.next(new Cr(V.id,c.serializeUrl(m.rawUrl),St,0)),c.rawUrlTree=V.rawUrl,V.resolve(null),W.E}if(c.urlHandlingStrategy.shouldProcessUrl(V.rawUrl))return Co(V.source)&&(c.browserUrlTree=V.extractedUrl),(0,U.of)(V).pipe((0,Me.w)(St=>{const yn=this.transitions?.getValue();return this.events.next(new mr(St.id,this.urlSerializer.serialize(St.extractedUrl),St.source,St.restoredState)),yn!==this.transitions?.getValue()?W.E:Promise.resolve(St)}),function Ds(d,h,c,m){return(0,Me.w)(w=>function Fo(d,h,c,m,w){return new bs(d,h,c,m,w).apply()}(d,h,c,w.extractedUrl,m).pipe((0,De.U)(N=>({...w,urlAfterRedirects:N}))))}(this.environmentInjector,this.configLoader,this.urlSerializer,c.config),(0,Z.b)(St=>{this.currentNavigation={...this.currentNavigation,finalUrl:St.urlAfterRedirects},m.urlAfterRedirects=St.urlAfterRedirects}),function te(d,h,c,m,w){return(0,pe.z)(N=>function Qn(d,h,c,m,w,N,V="emptyOnly"){return new Es(d,h,c,m,w,V,N).recognize().pipe((0,Me.w)(Oe=>null===Oe?function eo(d){return new Y.y(h=>h.error(d))}(new Lr):(0,U.of)(Oe)))}(d,h,c,N.urlAfterRedirects,m.serialize(N.urlAfterRedirects),m,w).pipe((0,De.U)(V=>({...N,targetSnapshot:V}))))}(this.environmentInjector,this.rootComponentType,c.config,this.urlSerializer,c.paramsInheritanceStrategy),(0,Z.b)(St=>{if(m.targetSnapshot=St.targetSnapshot,"eager"===c.urlUpdateStrategy){if(!St.extras.skipLocationChange){const zr=c.urlHandlingStrategy.merge(St.urlAfterRedirects,St.rawUrl);c.setBrowserUrl(zr,St)}c.browserUrlTree=St.urlAfterRedirects}const yn=new Ti(St.id,this.urlSerializer.serialize(St.extractedUrl),this.urlSerializer.serialize(St.urlAfterRedirects),St.targetSnapshot);this.events.next(yn)}));if(nt&&c.urlHandlingStrategy.shouldProcessUrl(c.rawUrlTree)){const{id:St,extractedUrl:yn,source:zr,restoredState:wo,extras:To}=V,Ci=new mr(St,this.urlSerializer.serialize(yn),zr,wo);this.events.next(Ci);const ro=Gi(yn,this.rootComponentType).snapshot;return m={...V,targetSnapshot:ro,urlAfterRedirects:yn,extras:{...To,skipLocationChange:!1,replaceUrl:!1}},(0,U.of)(m)}{const St="";return this.events.next(new Cr(V.id,c.serializeUrl(m.extractedUrl),St,1)),c.rawUrlTree=V.rawUrl,V.resolve(null),W.E}}),(0,Z.b)(V=>{const Oe=new Mi(V.id,this.urlSerializer.serialize(V.extractedUrl),this.urlSerializer.serialize(V.urlAfterRedirects),V.targetSnapshot);this.events.next(Oe)}),(0,De.U)(V=>m={...V,guards:Nr(V.targetSnapshot,V.currentSnapshot,this.rootContexts)}),function $o(d,h){return(0,pe.z)(c=>{const{targetSnapshot:m,currentSnapshot:w,guards:{canActivateChecks:N,canDeactivateChecks:V}}=c;return 0===V.length&&0===N.length?(0,U.of)({...c,guardsResult:!0}):function vr(d,h,c,m){return(0,f.D)(d).pipe((0,pe.z)(w=>function zo(d,h,c,m,w){const N=h&&h.routeConfig?h.routeConfig.canDeactivate:null;if(!N||0===N.length)return(0,U.of)(!0);const V=N.map(Oe=>{const nt=Kr(h)??w,_t=vi(Oe,nt);return wn(function jo(d){return d&&Wt(d.canDeactivate)}(_t)?_t.canDeactivate(d,h,c,m):nt.runInContext(()=>_t(d,h,c,m))).pipe((0,se.P)())});return(0,U.of)(V).pipe(Qi())}(w.component,w.route,c,h,m)),(0,se.P)(w=>!0!==w,!0))}(V,m,w,d).pipe((0,pe.z)(Oe=>Oe&&function vo(d){return"boolean"==typeof d}(Oe)?function bo(d,h,c,m){return(0,f.D)(h).pipe((0,ge.b)(w=>(0,oe.z)(function jr(d,h){return null!==d&&h&&h(new wr(d)),(0,U.of)(!0)}(w.route.parent,m),function Oo(d,h){return null!==d&&h&&h(new Vi(d)),(0,U.of)(!0)}(w.route,m),function Vo(d,h,c){const m=h[h.length-1],N=h.slice(0,h.length-1).reverse().map(V=>function Ho(d){const h=d.routeConfig?d.routeConfig.canActivateChild:null;return h&&0!==h.length?{node:d,guards:h}:null}(V)).filter(V=>null!==V).map(V=>(0,ee.P)(()=>{const Oe=V.guards.map(nt=>{const _t=Kr(V.node)??c,St=vi(nt,_t);return wn(function xs(d){return d&&Wt(d.canActivateChild)}(St)?St.canActivateChild(m,d):_t.runInContext(()=>St(m,d))).pipe((0,se.P)())});return(0,U.of)(Oe).pipe(Qi())}));return(0,U.of)(N).pipe(Qi())}(d,w.path,c),function Po(d,h,c){const m=h.routeConfig?h.routeConfig.canActivate:null;if(!m||0===m.length)return(0,U.of)(!0);const w=m.map(N=>(0,ee.P)(()=>{const V=Kr(h)??c,Oe=vi(N,V);return wn(function xo(d){return d&&Wt(d.canActivate)}(Oe)?Oe.canActivate(h,d):V.runInContext(()=>Oe(h,d))).pipe((0,se.P)())}));return(0,U.of)(w).pipe(Qi())}(d,w.route,c))),(0,se.P)(w=>!0!==w,!0))}(m,N,d,h):(0,U.of)(Oe)),(0,De.U)(Oe=>({...c,guardsResult:Oe})))})}(this.environmentInjector,V=>this.events.next(V)),(0,Z.b)(V=>{if(m.guardsResult=V.guardsResult,$(V.guardsResult))throw ke(0,V.guardsResult);const Oe=new $i(V.id,this.urlSerializer.serialize(V.extractedUrl),this.urlSerializer.serialize(V.urlAfterRedirects),V.targetSnapshot,!!V.guardsResult);this.events.next(Oe)}),(0,le.h)(V=>!!V.guardsResult||(c.restoreHistory(V),this.cancelNavigationTransition(V,"",3),!1)),un(V=>{if(V.guards.canActivateChecks.length)return(0,U.of)(V).pipe((0,Z.b)(Oe=>{const nt=new nr(Oe.id,this.urlSerializer.serialize(Oe.extractedUrl),this.urlSerializer.serialize(Oe.urlAfterRedirects),Oe.targetSnapshot);this.events.next(nt)}),(0,Me.w)(Oe=>{let nt=!1;return(0,U.of)(Oe).pipe(function je(d,h){return(0,pe.z)(c=>{const{targetSnapshot:m,guards:{canActivateChecks:w}}=c;if(!w.length)return(0,U.of)(c);let N=0;return(0,f.D)(w).pipe((0,ge.b)(V=>function Ge(d,h,c,m){const w=d.routeConfig,N=d._resolve;return void 0!==w?.title&&!On(w)&&(N[Ne]=w.title),function mt(d,h,c,m){const w=function Rn(d){return[...Object.keys(d),...Object.getOwnPropertySymbols(d)]}(d);if(0===w.length)return(0,U.of)({});const N={};return(0,f.D)(w).pipe((0,pe.z)(V=>function Cn(d,h,c,m){const w=Kr(h)??m,N=vi(d,w);return wn(N.resolve?N.resolve(h,c):w.runInContext(()=>N(h,c)))}(d[V],h,c,m).pipe((0,se.P)(),(0,Z.b)(Oe=>{N[V]=Oe}))),me(1),function At(d){return(0,De.U)(()=>d)}(N),(0,re.K)(V=>Qe(V)?W.E:(0,j._)(V)))}(N,d,h,m).pipe((0,De.U)(V=>(d._resolvedData=V,d.data=mo(d,c).resolve,w&&On(w)&&(d.data[Ne]=w.title),null)))}(V.route,m,d,h)),(0,Z.b)(()=>N++),me(1),(0,pe.z)(V=>N===w.length?(0,U.of)(c):W.E))})}(c.paramsInheritanceStrategy,this.environmentInjector),(0,Z.b)({next:()=>nt=!0,complete:()=>{nt||(c.restoreHistory(Oe),this.cancelNavigationTransition(Oe,"",2))}}))}),(0,Z.b)(Oe=>{const nt=new dr(Oe.id,this.urlSerializer.serialize(Oe.extractedUrl),this.urlSerializer.serialize(Oe.urlAfterRedirects),Oe.targetSnapshot);this.events.next(nt)}))}),un(V=>{const Oe=nt=>{const _t=[];nt.routeConfig?.loadComponent&&!nt.routeConfig._loadedComponent&&_t.push(this.configLoader.loadComponent(nt.routeConfig).pipe((0,Z.b)(St=>{nt.component=St}),(0,De.U)(()=>{})));for(const St of nt.children)_t.push(...Oe(St));return _t};return(0,J.a)(Oe(V.targetSnapshot.root)).pipe((0,qe.d)(),(0,H.q)(1))}),un(()=>this.afterPreactivation()),(0,De.U)(V=>{const Oe=function _s(d,h,c){const m=xi(d,h._root,c?c._root:void 0);return new zi(m,h)}(c.routeReuseStrategy,V.targetSnapshot,V.currentRouterState);return m={...V,targetRouterState:Oe}}),(0,Z.b)(V=>{c.currentUrlTree=V.urlAfterRedirects,c.rawUrlTree=c.urlHandlingStrategy.merge(V.urlAfterRedirects,V.rawUrl),c.routerState=V.targetRouterState,"deferred"===c.urlUpdateStrategy&&(V.extras.skipLocationChange||c.setBrowserUrl(c.rawUrlTree,V),c.browserUrlTree=V.urlAfterRedirects)}),((d,h,c)=>(0,De.U)(m=>(new ao(h,m.targetRouterState,m.currentRouterState,c).activate(d),m)))(this.rootContexts,c.routeReuseStrategy,V=>this.events.next(V)),(0,Z.b)({next:V=>{w=!0,this.lastSuccessfulNavigation=this.currentNavigation,c.navigated=!0,this.events.next(new dn(V.id,this.urlSerializer.serialize(V.extractedUrl),this.urlSerializer.serialize(c.currentUrlTree))),c.titleStrategy?.updateTitle(V.targetRouterState.snapshot),V.resolve(!0)},complete:()=>{w=!0}}),(0,It.x)(()=>{w||N||this.cancelNavigationTransition(m,"",1),this.currentNavigation?.id===m.id&&(this.currentNavigation=null)}),(0,re.K)(V=>{if(N=!0,ht(V)){at(V)||(c.navigated=!0,c.restoreHistory(m,!0));const Oe=new Or(m.id,this.urlSerializer.serialize(m.extractedUrl),V.message,V.cancellationCode);if(this.events.next(Oe),at(V)){const nt=c.urlHandlingStrategy.merge(V.url,c.rawUrlTree),_t={skipLocationChange:m.extras.skipLocationChange,replaceUrl:"eager"===c.urlUpdateStrategy||Co(m.source)};c.scheduleNavigation(nt,Er,null,_t,{resolve:m.resolve,reject:m.reject,promise:m.promise})}else m.resolve(!1)}else{c.restoreHistory(m,!0);const Oe=new nn(m.id,this.urlSerializer.serialize(m.extractedUrl),V,m.targetSnapshot??void 0);this.events.next(Oe);try{m.resolve(c.errorHandler(V))}catch(nt){m.reject(nt)}}return W.E}))}))}cancelNavigationTransition(c,m,w){const N=new Or(c.id,this.urlSerializer.serialize(c.extractedUrl),m,w);this.events.next(N),c.resolve(!1)}}return d.\u0275fac=function(c){return new(c||d)},d.\u0275prov=s.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),d})();function Co(d){return d!==Er}let uo=(()=>{class d{buildTitle(c){let m,w=c.root;for(;void 0!==w;)m=this.getResolvedTitleForRoute(w)??m,w=w.children.find(N=>N.outlet===fe);return m}getResolvedTitleForRoute(c){return c.data[Ne]}}return d.\u0275fac=function(c){return new(c||d)},d.\u0275prov=s.Yz7({token:d,factory:function(){return(0,s.f3M)(is)},providedIn:"root"}),d})(),is=(()=>{class d extends uo{constructor(c){super(),this.title=c}updateTitle(c){const m=this.buildTitle(c);void 0!==m&&this.title.setTitle(m)}}return d.\u0275fac=function(c){return new(c||d)(s.LFG(et.Dx))},d.\u0275prov=s.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),d})(),os=(()=>{class d{}return d.\u0275fac=function(c){return new(c||d)},d.\u0275prov=s.Yz7({token:d,factory:function(){return(0,s.f3M)(ss)},providedIn:"root"}),d})();class Wo{shouldDetach(h){return!1}store(h,c){}shouldAttach(h){return!1}retrieve(h){return null}shouldReuseRoute(h,c){return h.routeConfig===c.routeConfig}}let ss=(()=>{class d extends Wo{}return d.\u0275fac=function(){let h;return function(m){return(h||(h=s.n5z(d)))(m||d)}}(),d.\u0275prov=s.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),d})();const to=new s.OlP("",{providedIn:"root",factory:()=>({})});let as=(()=>{class d{}return d.\u0275fac=function(c){return new(c||d)},d.\u0275prov=s.Yz7({token:d,factory:function(){return(0,s.f3M)(Vs)},providedIn:"root"}),d})(),Vs=(()=>{class d{shouldProcessUrl(c){return!0}extract(c){return c}merge(c,m){return c}}return d.\u0275fac=function(c){return new(c||d)},d.\u0275prov=s.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),d})();function Ns(d){throw d}function ko(d,h,c){return h.parse("/")}const Ko={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},fo={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let E=(()=>{class d{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return this.location.getState()?.\u0275routerPageId}get events(){return this.navigationTransitions.events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=(0,s.f3M)(s.c2e),this.isNgZoneEnabled=!1,this.options=(0,s.f3M)(to,{optional:!0})||{},this.errorHandler=this.options.errorHandler||Ns,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||ko,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=(0,s.f3M)(as),this.routeReuseStrategy=(0,s.f3M)(os),this.urlCreationStrategy=(0,s.f3M)(hr),this.titleStrategy=(0,s.f3M)(uo),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=vn((0,s.f3M)(ir,{optional:!0})??[]),this.navigationTransitions=(0,s.f3M)(ki),this.urlSerializer=(0,s.f3M)(kt),this.location=(0,s.f3M)(Pe.Ye),this.isNgZoneEnabled=(0,s.f3M)(s.R0b)instanceof s.R0b&&s.R0b.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new ut,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=Gi(this.currentUrlTree,null),this.navigationTransitions.setupNavigations(this).subscribe(c=>{this.lastSuccessfulId=c.id,this.currentPageId=c.targetPageId},c=>{this.console.warn(`Unhandled Navigation Error: ${c}`)})}resetRootComponentType(c){this.routerState.root.component=c,this.navigationTransitions.rootComponentType=c}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const c=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),Er,c)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(c=>{const m="popstate"===c.type?"popstate":"hashchange";"popstate"===m&&setTimeout(()=>{this.navigateToSyncWithBrowser(c.url,m,c.state)},0)}))}navigateToSyncWithBrowser(c,m,w){const N={replaceUrl:!0},V=w?.navigationId?w:null;if(w){const nt={...w};delete nt.navigationId,delete nt.\u0275routerPageId,0!==Object.keys(nt).length&&(N.state=nt)}const Oe=this.parseUrl(c);this.scheduleNavigation(Oe,m,V,N)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}resetConfig(c){this.config=c.map(ni),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(c,m={}){const{relativeTo:w,queryParams:N,fragment:V,queryParamsHandling:Oe,preserveFragment:nt}=m,_t=nt?this.currentUrlTree.fragment:V;let St=null;switch(Oe){case"merge":St={...this.currentUrlTree.queryParams,...N};break;case"preserve":St=this.currentUrlTree.queryParams;break;default:St=N||null}return null!==St&&(St=this.removeEmptyProps(St)),this.urlCreationStrategy.createUrlTree(w,this.routerState,this.currentUrlTree,c,St,_t??null)}navigateByUrl(c,m={skipLocationChange:!1}){const w=$(c)?c:this.parseUrl(c),N=this.urlHandlingStrategy.merge(w,this.rawUrlTree);return this.scheduleNavigation(N,Er,null,m)}navigate(c,m={skipLocationChange:!1}){return function a(d){for(let h=0;h<d.length;h++){if(null==d[h])throw new s.vHH(4008,!1)}}(c),this.navigateByUrl(this.createUrlTree(c,m),m)}serializeUrl(c){return this.urlSerializer.serialize(c)}parseUrl(c){let m;try{m=this.urlSerializer.parse(c)}catch(w){m=this.malformedUriErrorHandler(w,this.urlSerializer,c)}return m}isActive(c,m){let w;if(w=!0===m?{...Ko}:!1===m?{...fo}:m,$(c))return tn(this.currentUrlTree,c,w);const N=this.parseUrl(c);return tn(this.currentUrlTree,N,w)}removeEmptyProps(c){return Object.keys(c).reduce((m,w)=>{const N=c[w];return null!=N&&(m[w]=N),m},{})}scheduleNavigation(c,m,w,N,V){if(this.disposed)return Promise.resolve(!1);let Oe,nt,_t,St;return V?(Oe=V.resolve,nt=V.reject,_t=V.promise):_t=new Promise((yn,zr)=>{Oe=yn,nt=zr}),St="computed"===this.canceledNavigationResolution?w&&w.\u0275routerPageId?w.\u0275routerPageId:N.replaceUrl||N.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1:0,this.navigationTransitions.handleNavigationRequest({targetPageId:St,source:m,restoredState:w,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:c,extras:N,resolve:Oe,reject:nt,promise:_t,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),_t.catch(yn=>Promise.reject(yn))}setBrowserUrl(c,m){const w=this.urlSerializer.serialize(c),N={...m.extras.state,...this.generateNgRouterState(m.id,m.targetPageId)};this.location.isCurrentPathEqualTo(w)||m.extras.replaceUrl?this.location.replaceState(w,"",N):this.location.go(w,"",N)}restoreHistory(c,m=!1){if("computed"===this.canceledNavigationResolution){const w=this.currentPageId-c.targetPageId;"popstate"!==c.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.getCurrentNavigation()?.finalUrl||0===w?this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===w&&(this.resetState(c),this.browserUrlTree=c.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(w)}else"replace"===this.canceledNavigationResolution&&(m&&this.resetState(c),this.resetUrlToCurrentUrlTree())}resetState(c){this.routerState=c.currentRouterState,this.currentUrlTree=c.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,c.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(c,m){return"computed"===this.canceledNavigationResolution?{navigationId:c,\u0275routerPageId:m}:{navigationId:c}}}return d.\u0275fac=function(c){return new(c||d)},d.\u0275prov=s.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),d})(),l=(()=>{class d{constructor(c,m,w,N,V,Oe){this.router=c,this.route=m,this.tabIndexAttribute=w,this.renderer=N,this.el=V,this.locationStrategy=Oe,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.href=null,this.commands=null,this.onChanges=new Fe.x;const nt=V.nativeElement.tagName;this.isAnchorElement="A"===nt||"AREA"===nt,this.isAnchorElement?this.subscription=c.events.subscribe(_t=>{_t instanceof dn&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}set preserveFragment(c){this._preserveFragment=(0,s.D6c)(c)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(c){this._skipLocationChange=(0,s.D6c)(c)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(c){this._replaceUrl=(0,s.D6c)(c)}get replaceUrl(){return this._replaceUrl}setTabIndexIfNotOnNativeEl(c){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",c)}ngOnChanges(c){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(c){null!=c?(this.commands=Array.isArray(c)?c:[c],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(c,m,w,N,V){return!!(null===this.urlTree||this.isAnchorElement&&(0!==c||m||w||N||V||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const c=null===this.href?null:(0,s.P3R)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",c)}applyAttributeValue(c,m){const w=this.renderer,N=this.el.nativeElement;null!==m?w.setAttribute(N,c,m):w.removeAttribute(N,c)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return d.\u0275fac=function(c){return new(c||d)(s.Y36(E),s.Y36(Si),s.$8M("tabindex"),s.Y36(s.Qsj),s.Y36(s.SBq),s.Y36(Pe.S$))},d.\u0275dir=s.lG2({type:d,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(c,m){1&c&&s.NdJ("click",function(N){return m.onClick(N.button,N.ctrlKey,N.shiftKey,N.altKey,N.metaKey)}),2&c&&s.uIk("target",m.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[s.TTD]}),d})(),_=(()=>{class d{get isActive(){return this._isActive}constructor(c,m,w,N,V){this.router=c,this.element=m,this.renderer=w,this.cdr=N,this.link=V,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new s.vpe,this.routerEventsSubscription=c.events.subscribe(Oe=>{Oe instanceof dn&&this.update()})}ngAfterContentInit(){(0,U.of)(this.links.changes,(0,U.of)(null)).pipe((0,Le.J)()).subscribe(c=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const c=[...this.links.toArray(),this.link].filter(m=>!!m).map(m=>m.onChanges);this.linkInputChangesSubscription=(0,f.D)(c).pipe((0,Le.J)()).subscribe(m=>{this._isActive!==this.isLinkActive(this.router)(m)&&this.update()})}set routerLinkActive(c){const m=Array.isArray(c)?c:c.split(" ");this.classes=m.filter(w=>!!w)}ngOnChanges(c){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||Promise.resolve().then(()=>{const c=this.hasActiveLinks();this._isActive!==c&&(this._isActive=c,this.cdr.markForCheck(),this.classes.forEach(m=>{c?this.renderer.addClass(this.element.nativeElement,m):this.renderer.removeClass(this.element.nativeElement,m)}),c&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(c))})}isLinkActive(c){const m=function O(d){return!!d.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return w=>!!w.urlTree&&c.isActive(w.urlTree,m)}hasActiveLinks(){const c=this.isLinkActive(this.router);return this.link&&c(this.link)||this.links.some(c)}}return d.\u0275fac=function(c){return new(c||d)(s.Y36(E),s.Y36(s.SBq),s.Y36(s.Qsj),s.Y36(s.sBO),s.Y36(l,8))},d.\u0275dir=s.lG2({type:d,selectors:[["","routerLinkActive",""]],contentQueries:function(c,m,w){if(1&c&&s.Suo(w,l,5),2&c){let N;s.iGM(N=s.CRH())&&(m.links=N)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[s.TTD]}),d})();class z{}let Be=(()=>{class d{constructor(c,m,w,N,V){this.router=c,this.injector=w,this.preloadingStrategy=N,this.loader=V}setUpPreloading(){this.subscription=this.router.events.pipe((0,le.h)(c=>c instanceof dn),(0,ge.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(c,m){const w=[];for(const N of m){N.providers&&!N._injector&&(N._injector=(0,s.MMx)(N.providers,c,`Route: ${N.path}`));const V=N._injector??c,Oe=N._loadedInjector??V;N.loadChildren&&!N._loadedRoutes&&void 0===N.canLoad||N.loadComponent&&!N._loadedComponent?w.push(this.preloadConfig(V,N)):(N.children||N._loadedRoutes)&&w.push(this.processRoutes(Oe,N.children??N._loadedRoutes))}return(0,f.D)(w).pipe((0,Le.J)())}preloadConfig(c,m){return this.preloadingStrategy.preload(m,()=>{let w;w=m.loadChildren&&void 0===m.canLoad?this.loader.loadChildren(c,m):(0,U.of)(null);const N=w.pipe((0,pe.z)(V=>null===V?(0,U.of)(void 0):(m._loadedRoutes=V.routes,m._loadedInjector=V.injector,this.processRoutes(V.injector??c,V.routes))));if(m.loadComponent&&!m._loadedComponent){const V=this.loader.loadComponent(m);return(0,f.D)([N,V]).pipe((0,Le.J)())}return N})}}return d.\u0275fac=function(c){return new(c||d)(s.LFG(E),s.LFG(s.Sil),s.LFG(s.lqb),s.LFG(z),s.LFG(pi))},d.\u0275prov=s.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),d})();const Je=new s.OlP("");let bt=(()=>{class d{constructor(c,m,w,N,V={}){this.urlSerializer=c,this.transitions=m,this.viewportScroller=w,this.zone=N,this.options=V,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},V.scrollPositionRestoration=V.scrollPositionRestoration||"disabled",V.anchorScrolling=V.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(c=>{c instanceof mr?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=c.navigationTrigger,this.restoredId=c.restoredState?c.restoredState.navigationId:0):c instanceof dn&&(this.lastId=c.id,this.scheduleScrollEvent(c,this.urlSerializer.parse(c.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(c=>{c instanceof fr&&(c.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(c.position):c.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(c.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(c,m){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new fr(c,"popstate"===this.lastSource?this.store[this.restoredId]:null,m))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return d.\u0275fac=function(c){s.$Z()},d.\u0275prov=s.Yz7({token:d,factory:d.\u0275fac}),d})();function Ut(d,h){return{\u0275kind:d,\u0275providers:h}}function Sr(){const d=(0,s.f3M)(s.zs3);return h=>{const c=d.get(s.z2F);if(h!==c.components[0])return;const m=d.get(E),w=d.get(er);1===d.get(gi)&&m.initialNavigation(),d.get(oi,null,s.XFs.Optional)?.setUpPreloading(),d.get(Je,null,s.XFs.Optional)?.init(),m.resetRootComponentType(c.componentTypes[0]),w.closed||(w.next(),w.unsubscribe())}}const er=new s.OlP("",{factory:()=>new Fe.x}),gi=new s.OlP("",{providedIn:"root",factory:()=>1});const oi=new s.OlP("");function ho(d){return Ut(0,[{provide:oi,useExisting:Be},{provide:z,useExisting:d}])}const Ls=new s.OlP("ROUTER_FORROOT_GUARD"),Rt=[Pe.Ye,{provide:kt,useClass:Mt},E,jn,{provide:Si,useFactory:function Yt(d){return d.routerState.root},deps:[E]},pi,[]];function jt(){return new s.PXZ("Router",E)}let Qt=(()=>{class d{constructor(c){}static forRoot(c,m){return{ngModule:d,providers:[Rt,[],{provide:ir,multi:!0,useValue:c},{provide:Ls,useFactory:mi,deps:[[E,new s.FiY,new s.tp0]]},{provide:to,useValue:m||{}},m?.useHash?{provide:Pe.S$,useClass:Pe.Do}:{provide:Pe.S$,useClass:Pe.b0},{provide:Je,useFactory:()=>{const d=(0,s.f3M)(Pe.EM),h=(0,s.f3M)(s.R0b),c=(0,s.f3M)(to),m=(0,s.f3M)(ki),w=(0,s.f3M)(kt);return c.scrollOffset&&d.setOffset(c.scrollOffset),new bt(w,m,d,h,c)}},m?.preloadingStrategy?ho(m.preloadingStrategy).\u0275providers:[],{provide:s.PXZ,multi:!0,useFactory:jt},m?.initialNavigation?Xn(m):[],[{provide:Jn,useFactory:Sr},{provide:s.tb,multi:!0,useExisting:Jn}]]}}static forChild(c){return{ngModule:d,providers:[{provide:ir,multi:!0,useValue:c}]}}}return d.\u0275fac=function(c){return new(c||d)(s.LFG(Ls,8))},d.\u0275mod=s.oAB({type:d}),d.\u0275inj=s.cJS({imports:[ai]}),d})();function mi(d){return"guarded"}function Xn(d){return["disabled"===d.initialNavigation?Ut(3,[{provide:s.ip1,multi:!0,useFactory:()=>{const h=(0,s.f3M)(E);return()=>{h.setUpLocationChangeListener()}}},{provide:gi,useValue:2}]).\u0275providers:[],"enabledBlocking"===d.initialNavigation?Ut(2,[{provide:gi,useValue:0},{provide:s.ip1,multi:!0,deps:[s.zs3],useFactory:h=>{const c=h.get(Pe.V_,Promise.resolve());return()=>c.then(()=>new Promise(w=>{const N=h.get(E),V=h.get(er);(function m(w){h.get(E).events.pipe((0,le.h)(V=>V instanceof dn||V instanceof Or||V instanceof nn),(0,De.U)(V=>V instanceof dn||V instanceof Or&&(0===V.code||1===V.code)&&null),(0,le.h)(V=>null!==V),(0,H.q)(1)).subscribe(()=>{w()})})(()=>{w(!0)}),h.get(ki).afterPreactivation=()=>(w(!0),V.closed?(0,U.of)(void 0):V),N.initialNavigation()}))}}]).\u0275providers:[]]}const Jn=new s.OlP("")},3942:(it,Ce,D)=>{D.d(Ce,{Z:()=>$e});var s=D(2090),f=D(4859),U=D(9681),K=D(1877);class X{constructor(Se,Fe){this._delegate=Se,this.firebase=Fe,(0,U._addComponent)(Se,new f.wA("app-compat",()=>this,"PUBLIC")),this.container=Se.container}get automaticDataCollectionEnabled(){return this._delegate.automaticDataCollectionEnabled}set automaticDataCollectionEnabled(Se){this._delegate.automaticDataCollectionEnabled=Se}get name(){return this._delegate.name}get options(){return this._delegate.options}delete(){return new Promise(Se=>{this._delegate.checkDestroyed(),Se()}).then(()=>(this.firebase.INTERNAL.removeApp(this.name),(0,U.deleteApp)(this._delegate)))}_getService(Se,Fe=U._DEFAULT_ENTRY_NAME){var Pe;this._delegate.checkDestroyed();const De=this._delegate.container.getProvider(Se);return!De.isInitialized()&&"EXPLICIT"===(null===(Pe=De.getComponent())||void 0===Pe?void 0:Pe.instantiationMode)&&De.initialize(),De.getImmediate({identifier:Fe})}_removeServiceInstance(Se,Fe=U._DEFAULT_ENTRY_NAME){this._delegate.container.getProvider(Se).clearInstance(Fe)}_addComponent(Se){(0,U._addComponent)(this._delegate,Se)}_addOrOverwriteComponent(Se){(0,U._addOrOverwriteComponent)(this._delegate,Se)}toJSON(){return{name:this.name,automaticDataCollectionEnabled:this.automaticDataCollectionEnabled,options:this.options}}}const oe=new s.LL("app-compat","Firebase",{"no-app":"No Firebase App '{$appName}' has been created - call Firebase App.initializeApp()","invalid-app-argument":"firebase.{$appName}() takes either no argument or a Firebase App instance."}),j=function Q(){const Ye=function ee(Ye){const Se={},Fe={__esModule:!0,initializeApp:function Me(pe,se={}){const ge=U.initializeApp(pe,se);if((0,s.r3)(Se,ge.name))return Se[ge.name];const Z=new Ye(ge,Fe);return Se[ge.name]=Z,Z},app:De,registerVersion:U.registerVersion,setLogLevel:U.setLogLevel,onLog:U.onLog,apps:null,SDK_VERSION:U.SDK_VERSION,INTERNAL:{registerComponent:function ae(pe){const se=pe.name,ge=se.replace("-compat","");if(U._registerComponent(pe)&&"PUBLIC"===pe.type){const Z=(re=De())=>{if("function"!=typeof re[ge])throw oe.create("invalid-app-argument",{appName:se});return re[ge]()};void 0!==pe.serviceProps&&(0,s.ZB)(Z,pe.serviceProps),Fe[ge]=Z,Ye.prototype[ge]=function(...re){return this._getService.bind(this,se).apply(this,pe.multipleInstances?re:[])}}return"PUBLIC"===pe.type?Fe[ge]:null},removeApp:function Pe(pe){delete Se[pe]},useAsService:function le(pe,se){return"serverAuth"===se?null:se},modularAPIs:U}};function De(pe){if(!(0,s.r3)(Se,pe=pe||U._DEFAULT_ENTRY_NAME))throw oe.create("no-app",{appName:pe});return Se[pe]}return Fe.default=Fe,Object.defineProperty(Fe,"apps",{get:function H(){return Object.keys(Se).map(pe=>Se[pe])}}),De.App=Ye,Fe}(X);return Ye.INTERNAL=Object.assign(Object.assign({},Ye.INTERNAL),{createFirebaseNamespace:Q,extendNamespace:function Se(Fe){(0,s.ZB)(Ye,Fe)},createSubscribe:s.ne,ErrorFactory:s.LL,deepExtend:s.ZB}),Ye}(),Y=new K.Yd("@firebase/app-compat");if((0,s.jU)()&&void 0!==self.firebase){Y.warn("\n Warning: Firebase is already defined in the global scope. Please make sure\n Firebase library is only loaded once.\n ");const Ye=self.firebase.SDK_VERSION;Ye&&Ye.indexOf("LITE")>=0&&Y.warn("\n Warning: You are trying to load Firebase while using Firebase Performance standalone script.\n You should load Firebase Performance with this instance of Firebase to avoid loading duplicate code.\n ")}const $e=j;!function Te(Ye){(0,U.registerVersion)("@firebase/app-compat","0.1.37",Ye)}()},9681:(it,Ce,D)=>{D.r(Ce),D.d(Ce,{FirebaseError:()=>K.ZR,SDK_VERSION:()=>vn,_DEFAULT_ENTRY_NAME:()=>en,_addComponent:()=>et,_addOrOverwriteComponent:()=>fe,_apps:()=>It,_clearComponents:()=>$t,_components:()=>Le,_getProvider:()=>rt,_registerComponent:()=>Ne,_removeServiceInstance:()=>Ft,deleteApp:()=>wn,getApp:()=>In,getApps:()=>Xt,initializeApp:()=>kn,onLog:()=>wt,registerVersion:()=>yt,setLogLevel:()=>tn});var s=D(5861),f=D(4859),U=D(1877),K=D(2090),X=D(8766);class J{constructor(ne){this.container=ne}getPlatformInfoString(){return this.container.getProviders().map(F=>{if(function oe(lt){return"VERSION"===lt.getComponent()?.type}(F)){const M=F.getImmediate();return`${M.library}/${M.version}`}return null}).filter(F=>F).join(" ")}}const ee="@firebase/app",Q="0.8.2",j=new U.Yd("@firebase/app"),en="[DEFAULT]",At={[ee]:"fire-core","@firebase/app-compat":"fire-core-compat","@firebase/analytics":"fire-analytics","@firebase/analytics-compat":"fire-analytics-compat","@firebase/app-check":"fire-app-check","@firebase/app-check-compat":"fire-app-check-compat","@firebase/auth":"fire-auth","@firebase/auth-compat":"fire-auth-compat","@firebase/database":"fire-rtdb","@firebase/database-compat":"fire-rtdb-compat","@firebase/functions":"fire-fn","@firebase/functions-compat":"fire-fn-compat","@firebase/installations":"fire-iid","@firebase/installations-compat":"fire-iid-compat","@firebase/messaging":"fire-fcm","@firebase/messaging-compat":"fire-fcm-compat","@firebase/performance":"fire-perf","@firebase/performance-compat":"fire-perf-compat","@firebase/remote-config":"fire-rc","@firebase/remote-config-compat":"fire-rc-compat","@firebase/storage":"fire-gcs","@firebase/storage-compat":"fire-gcs-compat","@firebase/firestore":"fire-fst","@firebase/firestore-compat":"fire-fst-compat","fire-js":"fire-js",firebase:"fire-js-all"},It=new Map,Le=new Map;function et(lt,ne){try{lt.container.addComponent(ne)}catch(F){j.debug(`Component ${ne.name} failed to register with FirebaseApp ${lt.name}`,F)}}function fe(lt,ne){lt.container.addOrOverwriteComponent(ne)}function Ne(lt){const ne=lt.name;if(Le.has(ne))return j.debug(`There were multiple attempts to register component ${ne}.`),!1;Le.set(ne,lt);for(const F of It.values())et(F,lt);return!0}function rt(lt,ne){const F=lt.container.getProvider("heartbeat").getImmediate({optional:!0});return F&&F.triggerHeartbeat(),lt.container.getProvider(ne)}function Ft(lt,ne,F=en){rt(lt,ne).clearInstance(F)}function $t(){Le.clear()}const Kt=new K.LL("app","Firebase",{"no-app":"No Firebase App '{$appName}' has been created - call Firebase App.initializeApp()","bad-app-name":"Illegal App name: '{$appName}","duplicate-app":"Firebase App named '{$appName}' already exists with different options or config","app-deleted":"Firebase App named '{$appName}' already deleted","no-options":"Need to provide options, when not being deployed to hosting via source.","invalid-app-argument":"firebase.{$appName}() takes either no argument or a Firebase App instance.","invalid-log-argument":"First argument to `onLog` must be null or a function.","idb-open":"Error thrown when opening IndexedDB. Original error: {$originalErrorMessage}.","idb-get":"Error thrown when reading from IndexedDB. Original error: {$originalErrorMessage}.","idb-set":"Error thrown when writing to IndexedDB. Original error: {$originalErrorMessage}.","idb-delete":"Error thrown when deleting from IndexedDB. Original error: {$originalErrorMessage}."});class Wn{constructor(ne,F,M){this._isDeleted=!1,this._options=Object.assign({},ne),this._config=Object.assign({},F),this._name=F.name,this._automaticDataCollectionEnabled=F.automaticDataCollectionEnabled,this._container=M,this.container.addComponent(new f.wA("app",()=>this,"PUBLIC"))}get automaticDataCollectionEnabled(){return this.checkDestroyed(),this._automaticDataCollectionEnabled}set automaticDataCollectionEnabled(ne){this.checkDestroyed(),this._automaticDataCollectionEnabled=ne}get name(){return this.checkDestroyed(),this._name}get options(){return this.checkDestroyed(),this._options}get config(){return this.checkDestroyed(),this._config}get container(){return this._container}get isDeleted(){return this._isDeleted}set isDeleted(ne){this._isDeleted=ne}checkDestroyed(){if(this.isDeleted)throw Kt.create("app-deleted",{appName:this._name})}}const vn="9.12.1";function kn(lt,ne={}){let F=lt;"object"!=typeof ne&&(ne={name:ne});const M=Object.assign({name:en,automaticDataCollectionEnabled:!1},ne),R=M.name;if("string"!=typeof R||!R)throw Kt.create("bad-app-name",{appName:String(R)});if(F||(F=(0,K.aH)()),!F)throw Kt.create("no-options");const ve=It.get(R);if(ve){if((0,K.vZ)(F,ve.options)&&(0,K.vZ)(M,ve.config))return ve;throw Kt.create("duplicate-app",{appName:R})}const L=new f.H0(R);for(const de of Le.values())L.addComponent(de);const G=new Wn(F,M,L);return It.set(R,G),G}function In(lt=en){const ne=It.get(lt);if(!ne&<===en)return kn();if(!ne)throw Kt.create("no-app",{appName:lt});return ne}function Xt(){return Array.from(It.values())}function wn(lt){return Gt.apply(this,arguments)}function Gt(){return(Gt=(0,s.Z)(function*(lt){const ne=lt.name;It.has(ne)&&(It.delete(ne),yield Promise.all(lt.container.getProviders().map(F=>F.delete())),lt.isDeleted=!0)})).apply(this,arguments)}function yt(lt,ne,F){var M;let R=null!==(M=At[lt])&&void 0!==M?M:lt;F&&(R+=`-${F}`);const ve=R.match(/\s|\//),L=ne.match(/\s|\//);if(ve||L){const G=[`Unable to register library "${R}" with version "${ne}":`];return ve&&G.push(`library name "${R}" contains illegal characters (whitespace or "/")`),ve&&L&&G.push("and"),L&&G.push(`version name "${ne}" contains illegal characters (whitespace or "/")`),void j.warn(G.join(" "))}Ne(new f.wA(`${R}-version`,()=>({library:R,version:ne}),"VERSION"))}function wt(lt,ne){if(null!==lt&&"function"!=typeof lt)throw Kt.create("invalid-log-argument");(0,U.Am)(lt,ne)}function tn(lt){(0,U.Ub)(lt)}const bn="firebase-heartbeat-store";let Hn=null;function Ot(){return Hn||(Hn=(0,X.X3)("firebase-heartbeat-database",1,{upgrade:(lt,ne)=>{0===ne&<.createObjectStore(bn)}}).catch(lt=>{throw Kt.create("idb-open",{originalErrorMessage:lt.message})})),Hn}function ut(){return(ut=(0,s.Z)(function*(lt){var ne;try{return(yield Ot()).transaction(bn).objectStore(bn).get(ft(lt))}catch(F){if(F instanceof K.ZR)j.warn(F.message);else{const M=Kt.create("idb-get",{originalErrorMessage:null===(ne=F)||void 0===ne?void 0:ne.message});j.warn(M.message)}}})).apply(this,arguments)}function xt(lt,ne){return ze.apply(this,arguments)}function ze(){return(ze=(0,s.Z)(function*(lt,ne){var F;try{const R=(yield Ot()).transaction(bn,"readwrite");return yield R.objectStore(bn).put(ne,ft(lt)),R.done}catch(M){if(M instanceof K.ZR)j.warn(M.message);else{const R=Kt.create("idb-set",{originalErrorMessage:null===(F=M)||void 0===F?void 0:F.message});j.warn(R.message)}}})).apply(this,arguments)}function ft(lt){return`${lt.name}!${lt.options.appId}`}class kt{constructor(ne){this.container=ne,this._heartbeatsCache=null;const F=this.container.getProvider("app").getImmediate();this._storage=new Pt(F),this._heartbeatsCachePromise=this._storage.read().then(M=>(this._heartbeatsCache=M,M))}triggerHeartbeat(){var ne=this;return(0,s.Z)(function*(){const M=ne.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(),R=Mt();if(null===ne._heartbeatsCache&&(ne._heartbeatsCache=yield ne._heartbeatsCachePromise),ne._heartbeatsCache.lastSentHeartbeatDate!==R&&!ne._heartbeatsCache.heartbeats.some(ve=>ve.date===R))return ne._heartbeatsCache.heartbeats.push({date:R,agent:M}),ne._heartbeatsCache.heartbeats=ne._heartbeatsCache.heartbeats.filter(ve=>{const L=new Date(ve.date).valueOf();return Date.now()-L<=2592e6}),ne._storage.overwrite(ne._heartbeatsCache)})()}getHeartbeatsHeader(){var ne=this;return(0,s.Z)(function*(){if(null===ne._heartbeatsCache&&(yield ne._heartbeatsCachePromise),null===ne._heartbeatsCache||0===ne._heartbeatsCache.heartbeats.length)return"";const F=Mt(),{heartbeatsToSend:M,unsentEntries:R}=function Yn(lt,ne=1024){const F=[];let M=lt.slice();for(const R of lt){const ve=F.find(L=>L.agent===R.agent);if(ve){if(ve.dates.push(R.date),Tn(F)>ne){ve.dates.pop();break}}else if(F.push({agent:R.agent,dates:[R.date]}),Tn(F)>ne){F.pop();break}M=M.slice(1)}return{heartbeatsToSend:F,unsentEntries:M}}(ne._heartbeatsCache.heartbeats),ve=(0,K.L)(JSON.stringify({version:2,heartbeats:M}));return ne._heartbeatsCache.lastSentHeartbeatDate=F,R.length>0?(ne._heartbeatsCache.heartbeats=R,yield ne._storage.overwrite(ne._heartbeatsCache)):(ne._heartbeatsCache.heartbeats=[],ne._storage.overwrite(ne._heartbeatsCache)),ve})()}}function Mt(){return(new Date).toISOString().substring(0,10)}class Pt{constructor(ne){this.app=ne,this._canUseIndexedDBPromise=this.runIndexedDBEnvironmentCheck()}runIndexedDBEnvironmentCheck(){return(0,s.Z)(function*(){return!!(0,K.hl)()&&(0,K.eu)().then(()=>!0).catch(()=>!1)})()}read(){var ne=this;return(0,s.Z)(function*(){return(yield ne._canUseIndexedDBPromise)&&(yield function Tt(lt){return ut.apply(this,arguments)}(ne.app))||{heartbeats:[]}})()}overwrite(ne){var F=this;return(0,s.Z)(function*(){var M;if(yield F._canUseIndexedDBPromise){const ve=yield F.read();return xt(F.app,{lastSentHeartbeatDate:null!==(M=ne.lastSentHeartbeatDate)&&void 0!==M?M:ve.lastSentHeartbeatDate,heartbeats:ne.heartbeats})}})()}add(ne){var F=this;return(0,s.Z)(function*(){var M;if(yield F._canUseIndexedDBPromise){const ve=yield F.read();return xt(F.app,{lastSentHeartbeatDate:null!==(M=ne.lastSentHeartbeatDate)&&void 0!==M?M:ve.lastSentHeartbeatDate,heartbeats:[...ve.heartbeats,...ne.heartbeats]})}})()}}function Tn(lt){return(0,K.L)(JSON.stringify({version:2,heartbeats:lt})).length}!function Zn(lt){Ne(new f.wA("platform-logger",ne=>new J(ne),"PRIVATE")),Ne(new f.wA("heartbeat",ne=>new kt(ne),"PRIVATE")),yt(ee,Q,lt),yt(ee,Q,"esm2017"),yt("fire-js","")}("")},4859:(it,Ce,D)=>{D.d(Ce,{H0:()=>ee,wA:()=>U});var s=D(5861),f=D(2090);class U{constructor(j,Y,W){this.name=j,this.instanceFactory=Y,this.type=W,this.multipleInstances=!1,this.serviceProps={},this.instantiationMode="LAZY",this.onInstanceCreated=null}setInstantiationMode(j){return this.instantiationMode=j,this}setMultipleInstances(j){return this.multipleInstances=j,this}setServiceProps(j){return this.serviceProps=j,this}setInstanceCreatedCallback(j){return this.onInstanceCreated=j,this}}const K="[DEFAULT]";class X{constructor(j,Y){this.name=j,this.container=Y,this.component=null,this.instances=new Map,this.instancesDeferred=new Map,this.instancesOptions=new Map,this.onInitCallbacks=new Map}get(j){const Y=this.normalizeInstanceIdentifier(j);if(!this.instancesDeferred.has(Y)){const W=new f.BH;if(this.instancesDeferred.set(Y,W),this.isInitialized(Y)||this.shouldAutoInitialize())try{const xe=this.getOrInitializeService({instanceIdentifier:Y});xe&&W.resolve(xe)}catch{}}return this.instancesDeferred.get(Y).promise}getImmediate(j){var Y;const W=this.normalizeInstanceIdentifier(j?.identifier),xe=null!==(Y=j?.optional)&&void 0!==Y&&Y;if(!this.isInitialized(W)&&!this.shouldAutoInitialize()){if(xe)return null;throw Error(`Service ${this.name} is not available`)}try{return this.getOrInitializeService({instanceIdentifier:W})}catch(Te){if(xe)return null;throw Te}}getComponent(){return this.component}setComponent(j){if(j.name!==this.name)throw Error(`Mismatching Component ${j.name} for Provider ${this.name}.`);if(this.component)throw Error(`Component for ${this.name} has already been provided`);if(this.component=j,this.shouldAutoInitialize()){if(function oe(Q){return"EAGER"===Q.instantiationMode}(j))try{this.getOrInitializeService({instanceIdentifier:K})}catch{}for(const[Y,W]of this.instancesDeferred.entries()){const xe=this.normalizeInstanceIdentifier(Y);try{const Te=this.getOrInitializeService({instanceIdentifier:xe});W.resolve(Te)}catch{}}}}clearInstance(j=K){this.instancesDeferred.delete(j),this.instancesOptions.delete(j),this.instances.delete(j)}delete(){var j=this;return(0,s.Z)(function*(){const Y=Array.from(j.instances.values());yield Promise.all([...Y.filter(W=>"INTERNAL"in W).map(W=>W.INTERNAL.delete()),...Y.filter(W=>"_delete"in W).map(W=>W._delete())])})()}isComponentSet(){return null!=this.component}isInitialized(j=K){return this.instances.has(j)}getOptions(j=K){return this.instancesOptions.get(j)||{}}initialize(j={}){const{options:Y={}}=j,W=this.normalizeInstanceIdentifier(j.instanceIdentifier);if(this.isInitialized(W))throw Error(`${this.name}(${W}) has already been initialized`);if(!this.isComponentSet())throw Error(`Component ${this.name} has not been registered yet`);const xe=this.getOrInitializeService({instanceIdentifier:W,options:Y});for(const[Te,$e]of this.instancesDeferred.entries())W===this.normalizeInstanceIdentifier(Te)&&$e.resolve(xe);return xe}onInit(j,Y){var W;const xe=this.normalizeInstanceIdentifier(Y),Te=null!==(W=this.onInitCallbacks.get(xe))&&void 0!==W?W:new Set;Te.add(j),this.onInitCallbacks.set(xe,Te);const $e=this.instances.get(xe);return $e&&j($e,xe),()=>{Te.delete(j)}}invokeOnInitCallbacks(j,Y){const W=this.onInitCallbacks.get(Y);if(W)for(const xe of W)try{xe(j,Y)}catch{}}getOrInitializeService({instanceIdentifier:j,options:Y={}}){let W=this.instances.get(j);if(!W&&this.component&&(W=this.component.instanceFactory(this.container,{instanceIdentifier:(Q=j,Q===K?void 0:Q),options:Y}),this.instances.set(j,W),this.instancesOptions.set(j,Y),this.invokeOnInitCallbacks(W,j),this.component.onInstanceCreated))try{this.component.onInstanceCreated(this.container,j,W)}catch{}var Q;return W||null}normalizeInstanceIdentifier(j=K){return this.component?this.component.multipleInstances?j:K:j}shouldAutoInitialize(){return!!this.component&&"EXPLICIT"!==this.component.instantiationMode}}class ee{constructor(j){this.name=j,this.providers=new Map}addComponent(j){const Y=this.getProvider(j.name);if(Y.isComponentSet())throw new Error(`Component ${j.name} has already been registered with ${this.name}`);Y.setComponent(j)}addOrOverwriteComponent(j){this.getProvider(j.name).isComponentSet()&&this.providers.delete(j.name),this.addComponent(j)}getProvider(j){if(this.providers.has(j))return this.providers.get(j);const Y=new X(j,this);return this.providers.set(j,Y),Y}getProviders(){return Array.from(this.providers.values())}}},1877:(it,Ce,D)=>{D.d(Ce,{Am:()=>Q,Ub:()=>ee,Yd:()=>oe,in:()=>f});const s=[];var f=(()=>{return(j=f||(f={}))[j.DEBUG=0]="DEBUG",j[j.VERBOSE=1]="VERBOSE",j[j.INFO=2]="INFO",j[j.WARN=3]="WARN",j[j.ERROR=4]="ERROR",j[j.SILENT=5]="SILENT",f;var j})();const U={debug:f.DEBUG,verbose:f.VERBOSE,info:f.INFO,warn:f.WARN,error:f.ERROR,silent:f.SILENT},K=f.INFO,X={[f.DEBUG]:"log",[f.VERBOSE]:"log",[f.INFO]:"info",[f.WARN]:"warn",[f.ERROR]:"error"},J=(j,Y,...W)=>{if(Y<j.logLevel)return;const xe=(new Date).toISOString(),Te=X[Y];if(!Te)throw new Error(`Attempted to log a message with an invalid logType (value: ${Y})`);console[Te](`[${xe}] ${j.name}:`,...W)};class oe{constructor(Y){this.name=Y,this._logLevel=K,this._logHandler=J,this._userLogHandler=null,s.push(this)}get logLevel(){return this._logLevel}set logLevel(Y){if(!(Y in f))throw new TypeError(`Invalid value "${Y}" assigned to \`logLevel\``);this._logLevel=Y}setLogLevel(Y){this._logLevel="string"==typeof Y?U[Y]:Y}get logHandler(){return this._logHandler}set logHandler(Y){if("function"!=typeof Y)throw new TypeError("Value assigned to `logHandler` must be a function");this._logHandler=Y}get userLogHandler(){return this._userLogHandler}set userLogHandler(Y){this._userLogHandler=Y}debug(...Y){this._userLogHandler&&this._userLogHandler(this,f.DEBUG,...Y),this._logHandler(this,f.DEBUG,...Y)}log(...Y){this._userLogHandler&&this._userLogHandler(this,f.VERBOSE,...Y),this._logHandler(this,f.VERBOSE,...Y)}info(...Y){this._userLogHandler&&this._userLogHandler(this,f.INFO,...Y),this._logHandler(this,f.INFO,...Y)}warn(...Y){this._userLogHandler&&this._userLogHandler(this,f.WARN,...Y),this._logHandler(this,f.WARN,...Y)}error(...Y){this._userLogHandler&&this._userLogHandler(this,f.ERROR,...Y),this._logHandler(this,f.ERROR,...Y)}}function ee(j){s.forEach(Y=>{Y.setLogLevel(j)})}function Q(j,Y){for(const W of s){let xe=null;Y&&Y.level&&(xe=U[Y.level]),W.userLogHandler=null===j?null:(Te,$e,...Ye)=>{const Se=Ye.map(Fe=>{if(null==Fe)return null;if("string"==typeof Fe)return Fe;if("number"==typeof Fe||"boolean"==typeof Fe)return Fe.toString();if(Fe instanceof Error)return Fe.message;try{return JSON.stringify(Fe)}catch{return null}}).filter(Fe=>Fe).join(" ");$e>=(xe??Te.logLevel)&&j({level:f[$e].toLowerCase(),message:Se,args:Ye,type:Te.name})}}}},8766:(it,Ce,D)=>{D.d(Ce,{Lj:()=>Me,X3:()=>De});var s=D(5861);let U,K;const oe=new WeakMap,ee=new WeakMap,Q=new WeakMap,j=new WeakMap,Y=new WeakMap;let Te={get(se,ge,Z){if(se instanceof IDBTransaction){if("done"===ge)return ee.get(se);if("objectStoreNames"===ge)return se.objectStoreNames||Q.get(se);if("store"===ge)return Z.objectStoreNames[1]?void 0:Z.objectStore(Z.objectStoreNames[0])}return Fe(se[ge])},set:(se,ge,Z)=>(se[ge]=Z,!0),has:(se,ge)=>se instanceof IDBTransaction&&("done"===ge||"store"===ge)||ge in se};function Se(se){return"function"==typeof se?function Ye(se){return se!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?function J(){return K||(K=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}().includes(se)?function(...ge){return se.apply(Pe(this),ge),Fe(oe.get(this))}:function(...ge){return Fe(se.apply(Pe(this),ge))}:function(ge,...Z){const re=se.call(Pe(this),ge,...Z);return Q.set(re,ge.sort?ge.sort():[ge]),Fe(re)}}(se):(se instanceof IDBTransaction&&function xe(se){if(ee.has(se))return;const ge=new Promise((Z,re)=>{const Ie=()=>{se.removeEventListener("complete",me),se.removeEventListener("error",We),se.removeEventListener("abort",We)},me=()=>{Z(),Ie()},We=()=>{re(se.error||new DOMException("AbortError","AbortError")),Ie()};se.addEventListener("complete",me),se.addEventListener("error",We),se.addEventListener("abort",We)});ee.set(se,ge)}(se),((se,ge)=>ge.some(Z=>se instanceof Z))(se,function X(){return U||(U=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}())?new Proxy(se,Te):se)}function Fe(se){if(se instanceof IDBRequest)return function W(se){const ge=new Promise((Z,re)=>{const Ie=()=>{se.removeEventListener("success",me),se.removeEventListener("error",We)},me=()=>{Z(Fe(se.result)),Ie()},We=()=>{re(se.error),Ie()};se.addEventListener("success",me),se.addEventListener("error",We)});return ge.then(Z=>{Z instanceof IDBCursor&&oe.set(Z,se)}).catch(()=>{}),Y.set(ge,se),ge}(se);if(j.has(se))return j.get(se);const ge=Se(se);return ge!==se&&(j.set(se,ge),Y.set(ge,se)),ge}const Pe=se=>Y.get(se);function De(se,ge,{blocked:Z,upgrade:re,blocking:Ie,terminated:me}={}){const We=indexedDB.open(se,ge),qe=Fe(We);return re&&We.addEventListener("upgradeneeded",pt=>{re(Fe(We.result),pt.oldVersion,pt.newVersion,Fe(We.transaction))}),Z&&We.addEventListener("blocked",()=>Z()),qe.then(pt=>{me&&pt.addEventListener("close",()=>me()),Ie&&pt.addEventListener("versionchange",()=>Ie())}).catch(()=>{}),qe}function Me(se,{blocked:ge}={}){const Z=indexedDB.deleteDatabase(se);return ge&&Z.addEventListener("blocked",()=>ge()),Fe(Z).then(()=>{})}const H=["get","getKey","getAll","getAllKeys","count"],ae=["put","add","delete","clear"],le=new Map;function pe(se,ge){if(!(se instanceof IDBDatabase)||ge in se||"string"!=typeof ge)return;if(le.get(ge))return le.get(ge);const Z=ge.replace(/FromIndex$/,""),re=ge!==Z,Ie=ae.includes(Z);if(!(Z in(re?IDBIndex:IDBObjectStore).prototype)||!Ie&&!H.includes(Z))return;const me=function(){var We=(0,s.Z)(function*(qe,...pt){const Ht=this.transaction(qe,Ie?"readwrite":"readonly");let en=Ht.store;return re&&(en=en.index(pt.shift())),(yield Promise.all([en[Z](...pt),Ie&&Ht.done]))[0]});return function(pt){return We.apply(this,arguments)}}();return le.set(ge,me),me}!function $e(se){Te=se(Te)}(se=>({...se,get:(ge,Z,re)=>pe(ge,Z)||se.get(ge,Z,re),has:(ge,Z)=>!!pe(ge,Z)||se.has(ge,Z)}))},5421:(it,Ce,D)=>{D.d(Ce,{Cz:()=>Pe,ys:()=>Fe});var s=D(5861),f=D(4650),U=D(6895),K=D(9751),X=D(8996),J=D(9841),oe=D(7579),ee=D(5698);function Q(De,Me,H,ae){return new Promise((le,pe)=>{De||pe("IndexedDB not available");const se=De.open(Me,H);let ge;se.onsuccess=Z=>{ge=se.result,le(ge)},se.onerror=Z=>{pe(`IndexedDB error: ${se.error}`)},"function"==typeof ae&&(se.onupgradeneeded=Z=>{ae(Z,ge)})})}function j(De,Me,H,ae,le){if(!De)return;const pe=De.open(Me,H);pe.onupgradeneeded=se=>{const ge=se.target.result;ae.forEach(re=>{if(!ge.objectStoreNames.contains(re.store)){const Ie=ge.createObjectStore(re.store,re.storeConfig);re.storeSchema.forEach(me=>{Ie.createIndex(me.name,me.keypath,me.options)})}});const Z=le&&le();Z&&Object.keys(Z).map(re=>parseInt(re,10)).filter(re=>re>se.oldVersion).sort((re,Ie)=>re-Ie).forEach(re=>{Z[re](ge,pe.transaction)}),ge.close()},pe.onsuccess=se=>{se.target.result.close()}}function xe(De,Me,H){De||H("You need to use the openDatabase function to create a database before you query it!"),function W(De,Me){return De.objectStoreNames.contains(Me)}(De,Me)||H(`objectStore does not exists: ${Me}`)}function Te(De,Me){const H=De.transaction(Me.storeName,Me.dbMode);return H.onerror=Me.error,H.onabort=Me.abort,H}function $e(De,Me,H,ae){return{storeName:Me,dbMode:De,error:le=>{H(le)},abort:le=>{H(le)}}}var Ye=(()=>{return(De=Ye||(Ye={})).readonly="readonly",De.readwrite="readwrite",Ye;var De})();const Se=new f.OlP(null);let Fe=(()=>{class De{constructor(H,ae){if(this.dbConfig=H,this.platformId=ae,!H.name)throw new Error("NgxIndexedDB: Please, provide the dbName in the configuration");if(!H.version)throw new Error("NgxIndexedDB: Please, provide the db version in the configuration");this.isBrowser=(0,U.NF)(this.platformId),this.isBrowser&&(this.indexedDB=window.indexedDB||window.mozIndexedDB||window.webkitIndexedDB||window.msIndexedDB,j(this.indexedDB,H.name,H.version,H.objectStoresMeta,H.migrationFactory),Q(this.indexedDB,H.name).then(le=>{le.version!==H.version&&(this.dbConfig.version=le.version)}))}createObjectStore(H,ae){const le=[H];j(this.indexedDB,this.dbConfig.name,++this.dbConfig.version,le,ae)}add(H,ae,le){return new K.y(pe=>{Q(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(se=>{const Z=Te(se,$e(Ye.readwrite,H,Ie=>pe.error(Ie))).objectStore(H);(Boolean(le)?Z.add(ae,le):Z.add(ae)).onsuccess=function(){var Ie=(0,s.Z)(function*(me){Z.get(me.target.result).onsuccess=pt=>{pe.next(pt.target.result),pe.complete()}});return function(me){return Ie.apply(this,arguments)}}()}).catch(se=>pe.error(se))})}bulkAdd(H,ae){const le=new Promise((pe,se)=>{Q(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(ge=>{const re=Te(ge,$e(Ye.readwrite,H,pe)).objectStore(H),Ie=ae.map(me=>new Promise((We,qe)=>{const pt=me.key;delete me.key,(Boolean(pt)?re.add(me,pt):re.add(me)).onsuccess=en=>{We(en.target.result)}}));pe(Promise.all(Ie))}).catch(ge=>se(ge))});return(0,X.D)(le)}bulkDelete(H,ae){const le=ae.map(pe=>new Promise((se,ge)=>{Q(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(Z=>{const re=Te(Z,$e(Ye.readwrite,H,ge));re.objectStore(H).delete(pe),re.oncomplete=()=>{this.getAll(H).pipe((0,ee.q)(1)).subscribe(me=>{se(me)})}}).catch(Z=>ge(Z))}));return(0,X.D)(Promise.all(le))}getByKey(H,ae){return new K.y(le=>{Q(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(pe=>{const Z=Te(pe,$e(Ye.readonly,H,le.error)).objectStore(H).get(ae);Z.onsuccess=re=>{le.next(re.target.result),le.complete()},Z.onerror=re=>{le.error(re)}}).catch(pe=>le.error(pe))})}bulkGet(H,ae){const le=ae.map(pe=>this.getByKey(H,pe));return new K.y(pe=>{(0,J.a)(le).subscribe(se=>{pe.next(se),pe.complete()})})}getByID(H,ae){return new K.y(le=>{Q(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(pe=>{xe(pe,H,re=>le.error(re)),Te(pe,$e(Ye.readonly,H,le.error)).objectStore(H).get(ae).onsuccess=re=>{le.next(re.target.result)}}).catch(pe=>le.error(pe))})}getByIndex(H,ae,le){return new K.y(pe=>{Q(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(se=>{xe(se,H,me=>pe.error(me)),Te(se,$e(Ye.readonly,H,pe.error)).objectStore(H).index(ae).get(le).onsuccess=me=>{pe.next(me.target.result),pe.complete()}}).catch(se=>pe.error(se))})}getAll(H){return new K.y(ae=>{Q(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(le=>{xe(le,H,Z=>ae.error(Z));const ge=Te(le,$e(Ye.readonly,H,ae.error)).objectStore(H).getAll();ge.onerror=Z=>{ae.error(Z)},ge.onsuccess=({target:{result:Z}})=>{ae.next(Z),ae.complete()}}).catch(le=>ae.error(le))})}update(H,ae){return new K.y(le=>{Q(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(pe=>{xe(pe,H,re=>le.error(re));const ge=Te(pe,$e(Ye.readwrite,H,re=>le.error(re))).objectStore(H);ge.put(ae).onsuccess=function(){var re=(0,s.Z)(function*(Ie){ge.get(Ie.target.result).onsuccess=qe=>{le.next(qe.target.result),le.complete()}});return function(Ie){return re.apply(this,arguments)}}()}).catch(pe=>le.error(pe))})}delete(H,ae){return new K.y(le=>{Q(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(pe=>{xe(pe,H,Z=>le.error(Z));const se=Te(pe,$e(Ye.readwrite,H,Z=>le.error(Z)));se.objectStore(H).delete(ae),se.oncomplete=()=>{this.getAll(H).pipe((0,ee.q)(1)).subscribe(Z=>{le.next(Z),le.complete()})}}).catch(pe=>le.error(pe))})}deleteByKey(H,ae){return new K.y(le=>{Q(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(pe=>{xe(pe,H,Z=>le.error(Z));const se=Te(pe,$e(Ye.readwrite,H,Z=>le.error(Z))),ge=se.objectStore(H);se.oncomplete=()=>{le.next(!0),le.complete()},ge.delete(ae)}).catch(pe=>le.error(pe))})}clear(H){return new K.y(ae=>{Q(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(le=>{xe(le,H,ge=>ae.error(ge));const pe=Te(le,$e(Ye.readwrite,H,ge=>ae.error(ge)));pe.objectStore(H).clear(),pe.oncomplete=()=>{ae.next(!0),ae.complete()}}).catch(le=>ae.error(le))})}deleteDatabase(){var H=this;return new K.y(ae=>{Q(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(function(){var le=(0,s.Z)(function*(pe){yield pe.close();const se=H.indexedDB.deleteDatabase(H.dbConfig.name);se.onsuccess=()=>{ae.next(!0),ae.complete()},se.onerror=ge=>ae.error(ge),se.onblocked=()=>{throw new Error("Unable to delete database because it's blocked")}});return function(pe){return le.apply(this,arguments)}}()).catch(le=>ae.error(le))})}openCursor(H,ae){return new K.y(le=>{Q(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(pe=>{xe(pe,H,re=>le.error(re));const ge=Te(pe,$e(Ye.readonly,H,le.error)).objectStore(H);(void 0===ae?ge.openCursor():ge.openCursor(ae)).onsuccess=re=>{le.next(re),le.complete()}}).catch(pe=>le.error(pe))})}openCursorByIndex(H,ae,le,pe=Ye.readonly){const se=new oe.x;return Q(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(ge=>{xe(ge,H,We=>{se.error(We)}),Te(ge,$e(pe,H,We=>{se.error(We)})).objectStore(H).index(ae).openCursor(le).onsuccess=We=>{se.next(We)}}).catch(ge=>se.error(ge)),se}getAllByIndex(H,ae,le){const pe=[];return new K.y(se=>{Q(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(ge=>{xe(ge,H,We=>se.error(We)),Te(ge,$e(Ye.readonly,H,se.error)).objectStore(H).index(ae).openCursor(le).onsuccess=We=>{const qe=We.target.result;qe?(pe.push(qe.value),qe.continue()):(se.next(pe),se.complete())}}).catch(ge=>se.error(ge))})}getAllKeysByIndex(H,ae,le){const pe=[];return new K.y(se=>{Q(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(ge=>{xe(ge,H,We=>se.error(We)),Te(ge,$e(Ye.readonly,H,se.error)).objectStore(H).index(ae).openKeyCursor(le).onsuccess=We=>{const qe=We.target.result;qe?(pe.push({primaryKey:qe.primaryKey,key:qe.key}),qe.continue()):(se.next(pe),se.complete())}}).catch(ge=>se.error(ge))})}count(H,ae){return new K.y(le=>{Q(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(pe=>{xe(pe,H,re=>le.error(re));const Z=Te(pe,$e(Ye.readonly,H,le.error)).objectStore(H).count(ae);Z.onerror=re=>le.error(re),Z.onsuccess=re=>{le.next(re.target.result),le.complete()}}).catch(pe=>le.error(pe))})}countByIndex(H,ae,le){return new K.y(pe=>{Q(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(se=>{xe(se,H,me=>pe.error(me));const Ie=Te(se,$e(Ye.readonly,H,pe.error)).objectStore(H).index(ae).count(le);Ie.onerror=me=>pe.error(me),Ie.onsuccess=me=>{pe.next(me.target.result),pe.complete()}}).catch(se=>pe.error(se))})}deleteObjectStore(H){return function Y(De,Me,H){if(!De||!Me||!H)throw Error('Params: "dbName", "version", "storeName" are mandatory.');return new K.y(ae=>{try{const pe=indexedDB.open(De,Me+1);pe.onupgradeneeded=se=>{const ge=se.target.result;ge.deleteObjectStore(H),ge.close(),console.log("onupgradeneeded"),ae.next(!0),ae.complete()},pe.onerror=se=>ae.error(se)}catch(le){ae.error(le)}})}(this.dbConfig.name,++this.dbConfig.version,H)}}return De.\u0275fac=function(H){return new(H||De)(f.LFG(Se),f.LFG(f.Lbi))},De.\u0275prov=f.Yz7({token:De,factory:De.\u0275fac}),De})(),Pe=(()=>{class De{static forRoot(H){return{ngModule:De,providers:[Fe,{provide:Se,useValue:H}]}}}return De.\u0275fac=function(H){return new(H||De)},De.\u0275mod=f.oAB({type:De}),De.\u0275inj=f.cJS({imports:[[U.ez]]}),De})()},7185:(it,Ce,D)=>{D.d(Ce,{FN:()=>We,PR:()=>le,Rh:()=>pt,_W:()=>me});var s=D(4650),f=D(7340),U=D(7579),K=D(6895),X=D(1481);const J=["toast-component",""];function oe(Le,et){if(1&Le){const fe=s.EpF();s.TgZ(0,"button",5),s.NdJ("click",function(){s.CHM(fe);const rt=s.oxw();return s.KtG(rt.remove())}),s.TgZ(1,"span",6),s._uU(2,"\xd7"),s.qZA()()}}function ee(Le,et){if(1&Le&&(s.ynx(0),s._uU(1),s.BQk()),2&Le){const fe=s.oxw(2);s.xp6(1),s.hij("[",fe.duplicatesCount+1,"]")}}function Q(Le,et){if(1&Le&&(s.TgZ(0,"div"),s._uU(1),s.YNc(2,ee,2,1,"ng-container",4),s.qZA()),2&Le){const fe=s.oxw();s.Tol(fe.options.titleClass),s.uIk("aria-label",fe.title),s.xp6(1),s.hij(" ",fe.title," "),s.xp6(1),s.Q6J("ngIf",fe.duplicatesCount)}}function j(Le,et){if(1&Le&&s._UZ(0,"div",7),2&Le){const fe=s.oxw();s.Tol(fe.options.messageClass),s.Q6J("innerHTML",fe.message,s.oJD)}}function Y(Le,et){if(1&Le&&(s.TgZ(0,"div",8),s._uU(1),s.qZA()),2&Le){const fe=s.oxw();s.Tol(fe.options.messageClass),s.uIk("aria-label",fe.message),s.xp6(1),s.hij(" ",fe.message," ")}}function W(Le,et){if(1&Le&&(s.TgZ(0,"div"),s._UZ(1,"div",9),s.qZA()),2&Le){const fe=s.oxw();s.xp6(1),s.Udp("width",fe.width+"%")}}class Me{constructor(et,fe){this.component=et,this.injector=fe}attach(et,fe){return this._attachedHost=et,et.attach(this,fe)}detach(){const et=this._attachedHost;if(et)return this._attachedHost=void 0,et.detach()}get isAttached(){return null!=this._attachedHost}setAttachedHost(et){this._attachedHost=et}}class H{attach(et,fe){return this._attachedPortal=et,this.attachComponentPortal(et,fe)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(et){this._disposeFn=et}}class ae{constructor(et){this._overlayRef=et,this.duplicatesCount=0,this._afterClosed=new U.x,this._activate=new U.x,this._manualClose=new U.x,this._resetTimeout=new U.x,this._countDuplicate=new U.x}manualClose(){this._manualClose.next(),this._manualClose.complete()}manualClosed(){return this._manualClose.asObservable()}timeoutReset(){return this._resetTimeout.asObservable()}countDuplicate(){return this._countDuplicate.asObservable()}close(){this._overlayRef.detach(),this._afterClosed.next(),this._manualClose.next(),this._afterClosed.complete(),this._manualClose.complete(),this._activate.complete(),this._resetTimeout.complete(),this._countDuplicate.complete()}afterClosed(){return this._afterClosed.asObservable()}isInactive(){return this._activate.isStopped}activate(){this._activate.next(),this._activate.complete()}afterActivate(){return this._activate.asObservable()}onDuplicate(et,fe){et&&this._resetTimeout.next(),fe&&this._countDuplicate.next(++this.duplicatesCount)}}class le{constructor(et,fe,Ne,rt,Ft,$t){this.toastId=et,this.config=fe,this.message=Ne,this.title=rt,this.toastType=Ft,this.toastRef=$t,this._onTap=new U.x,this._onAction=new U.x,this.toastRef.afterClosed().subscribe(()=>{this._onAction.complete(),this._onTap.complete()})}triggerTap(){this._onTap.next(),this.config.tapToDismiss&&this._onTap.complete()}onTap(){return this._onTap.asObservable()}triggerAction(et){this._onAction.next(et)}onAction(){return this._onAction.asObservable()}}const se=new s.OlP("ToastConfig");class ge extends H{constructor(et,fe,Ne){super(),this._hostDomElement=et,this._componentFactoryResolver=fe,this._appRef=Ne}attachComponentPortal(et,fe){const Ne=this._componentFactoryResolver.resolveComponentFactory(et.component);let rt;return rt=Ne.create(et.injector),this._appRef.attachView(rt.hostView),this.setDisposeFn(()=>{this._appRef.detachView(rt.hostView),rt.destroy()}),fe?this._hostDomElement.insertBefore(this._getComponentRootNode(rt),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(rt)),rt}_getComponentRootNode(et){return et.hostView.rootNodes[0]}}class Z{constructor(et){this._portalHost=et}attach(et,fe=!0){return this._portalHost.attach(et,fe)}detach(){return this._portalHost.detach()}}let re=(()=>{class Le{constructor(fe){this._document=fe}ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const fe=this._document.createElement("div");fe.classList.add("overlay-container"),fe.setAttribute("aria-live","polite"),this._document.body.appendChild(fe),this._containerElement=fe}}return Le.\u0275fac=function(fe){return new(fe||Le)(s.LFG(K.K0))},Le.\u0275prov=s.Yz7({token:Le,factory:Le.\u0275fac,providedIn:"root"}),Le})(),Ie=(()=>{class Le{constructor(fe,Ne,rt,Ft){this._overlayContainer=fe,this._componentFactoryResolver=Ne,this._appRef=rt,this._document=Ft,this._paneElements=new Map}create(fe,Ne){return this._createOverlayRef(this.getPaneElement(fe,Ne))}getPaneElement(fe="",Ne){return this._paneElements.get(Ne)||this._paneElements.set(Ne,{}),this._paneElements.get(Ne)[fe]||(this._paneElements.get(Ne)[fe]=this._createPaneElement(fe,Ne)),this._paneElements.get(Ne)[fe]}_createPaneElement(fe,Ne){const rt=this._document.createElement("div");return rt.id="toast-container",rt.classList.add(fe),rt.classList.add("toast-container"),Ne?Ne.getContainerElement().appendChild(rt):this._overlayContainer.getContainerElement().appendChild(rt),rt}_createPortalHost(fe){return new ge(fe,this._componentFactoryResolver,this._appRef)}_createOverlayRef(fe){return new Z(this._createPortalHost(fe))}}return Le.\u0275fac=function(fe){return new(fe||Le)(s.LFG(re),s.LFG(s._Vd),s.LFG(s.z2F),s.LFG(K.K0))},Le.\u0275prov=s.Yz7({token:Le,factory:Le.\u0275fac,providedIn:"root"}),Le})(),me=(()=>{class Le{constructor(fe,Ne,rt,Ft,$t){this.overlay=Ne,this._injector=rt,this.sanitizer=Ft,this.ngZone=$t,this.currentlyActive=0,this.toasts=[],this.index=0,this.toastrConfig={...fe.default,...fe.config},fe.config.iconClasses&&(this.toastrConfig.iconClasses={...fe.default.iconClasses,...fe.config.iconClasses})}show(fe,Ne,rt={},Ft=""){return this._preBuildNotification(Ft,fe,Ne,this.applyConfig(rt))}success(fe,Ne,rt={}){return this._preBuildNotification(this.toastrConfig.iconClasses.success||"",fe,Ne,this.applyConfig(rt))}error(fe,Ne,rt={}){return this._preBuildNotification(this.toastrConfig.iconClasses.error||"",fe,Ne,this.applyConfig(rt))}info(fe,Ne,rt={}){return this._preBuildNotification(this.toastrConfig.iconClasses.info||"",fe,Ne,this.applyConfig(rt))}warning(fe,Ne,rt={}){return this._preBuildNotification(this.toastrConfig.iconClasses.warning||"",fe,Ne,this.applyConfig(rt))}clear(fe){for(const Ne of this.toasts)if(void 0!==fe){if(Ne.toastId===fe)return void Ne.toastRef.manualClose()}else Ne.toastRef.manualClose()}remove(fe){const Ne=this._findToast(fe);if(!Ne||(Ne.activeToast.toastRef.close(),this.toasts.splice(Ne.index,1),this.currentlyActive=this.currentlyActive-1,!this.toastrConfig.maxOpened||!this.toasts.length))return!1;if(this.currentlyActive<this.toastrConfig.maxOpened&&this.toasts[this.currentlyActive]){const rt=this.toasts[this.currentlyActive].toastRef;rt.isInactive()||(this.currentlyActive=this.currentlyActive+1,rt.activate())}return!0}findDuplicate(fe="",Ne="",rt,Ft){const{includeTitleDuplicates:$t}=this.toastrConfig;for(const ln of this.toasts)if((!$t||$t&&ln.title===fe)&&ln.message===Ne)return ln.toastRef.onDuplicate(rt,Ft),ln;return null}applyConfig(fe={}){return{...this.toastrConfig,...fe}}_findToast(fe){for(let Ne=0;Ne<this.toasts.length;Ne++)if(this.toasts[Ne].toastId===fe)return{index:Ne,activeToast:this.toasts[Ne]};return null}_preBuildNotification(fe,Ne,rt,Ft){return Ft.onActivateTick?this.ngZone.run(()=>this._buildNotification(fe,Ne,rt,Ft)):this._buildNotification(fe,Ne,rt,Ft)}_buildNotification(fe,Ne,rt,Ft){if(!Ft.toastComponent)throw new Error("toastComponent required");const $t=this.findDuplicate(rt,Ne,this.toastrConfig.resetTimeoutOnDuplicate&&Ft.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&rt||Ne)&&this.toastrConfig.preventDuplicates&&null!==$t)return $t;this.previousToastMessage=Ne;let ln=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(ln=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));const Kt=this.overlay.create(Ft.positionClass,this.overlayContainer);this.index=this.index+1;let Wn=Ne;Ne&&Ft.enableHtml&&(Wn=this.sanitizer.sanitize(s.q3G.HTML,Ne));const vn=new ae(Kt),kn=new le(this.index,Ft,Wn,rt,fe,vn),Xt=s.zs3.create({providers:[{provide:le,useValue:kn}],parent:this._injector}),wn=new Me(Ft.toastComponent,Xt),Gt=Kt.attach(wn,Ft.newestOnTop);vn.componentInstance=Gt.instance;const yt={toastId:this.index,title:rt||"",message:Ne||"",toastRef:vn,onShown:vn.afterActivate(),onHidden:vn.afterClosed(),onTap:kn.onTap(),onAction:kn.onAction(),portal:Gt};return ln||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{yt.toastRef.activate()})),this.toasts.push(yt),yt}}return Le.\u0275fac=function(fe){return new(fe||Le)(s.LFG(se),s.LFG(Ie),s.LFG(s.zs3),s.LFG(X.H7),s.LFG(s.R0b))},Le.\u0275prov=s.Yz7({token:Le,factory:Le.\u0275fac,providedIn:"root"}),Le})(),We=(()=>{class Le{constructor(fe,Ne,rt){this.toastrService=fe,this.toastPackage=Ne,this.ngZone=rt,this.width=-1,this.toastClasses="",this.state={value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}},this.message=Ne.message,this.title=Ne.title,this.options=Ne.config,this.originalTimeout=Ne.config.timeOut,this.toastClasses=`${Ne.toastType} ${Ne.config.toastClass}`,this.sub=Ne.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=Ne.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=Ne.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=Ne.toastRef.countDuplicate().subscribe(Ft=>{this.duplicatesCount=Ft})}get displayStyle(){if("inactive"===this.state.value)return"none"}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state={...this.state,value:"active"},!0!==this.options.disableTimeOut&&"timeOut"!==this.options.disableTimeOut&&this.options.timeOut&&(this.outsideTimeout(()=>this.remove(),this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}updateProgress(){if(0===this.width||100===this.width||!this.options.timeOut)return;const fe=(new Date).getTime();this.width=(this.hideTime-fe)/this.options.timeOut*100,"increasing"===this.options.progressAnimation&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state={...this.state,value:"active"},this.outsideTimeout(()=>this.remove(),this.originalTimeout),this.options.timeOut=this.originalTimeout,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10)}remove(){"removed"!==this.state.value&&(clearTimeout(this.timeout),this.state={...this.state,value:"removed"},this.outsideTimeout(()=>this.toastrService.remove(this.toastPackage.toastId),+this.toastPackage.config.easeTime))}tapToast(){"removed"!==this.state.value&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){"removed"!==this.state.value&&"extendedTimeOut"!==this.options.disableTimeOut&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)}delayedHideToast(){!0===this.options.disableTimeOut||"extendedTimeOut"===this.options.disableTimeOut||0===this.options.extendedTimeOut||"removed"===this.state.value||(this.outsideTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}outsideTimeout(fe,Ne){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(fe),Ne)):this.timeout=setTimeout(()=>fe(),Ne)}outsideInterval(fe,Ne){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(fe),Ne)):this.intervalId=setInterval(()=>fe(),Ne)}runInsideAngular(fe){this.ngZone?this.ngZone.run(()=>fe()):fe()}}return Le.\u0275fac=function(fe){return new(fe||Le)(s.Y36(me),s.Y36(le),s.Y36(s.R0b))},Le.\u0275cmp=s.Xpm({type:Le,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(fe,Ne){1&fe&&s.NdJ("click",function(){return Ne.tapToast()})("mouseenter",function(){return Ne.stickAround()})("mouseleave",function(){return Ne.delayedHideToast()}),2&fe&&(s.d8E("@flyInOut",Ne.state),s.Tol(Ne.toastClasses),s.Udp("display",Ne.displayStyle))},attrs:J,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(fe,Ne){1&fe&&(s.YNc(0,oe,3,0,"button",0),s.YNc(1,Q,3,5,"div",1),s.YNc(2,j,1,3,"div",2),s.YNc(3,Y,2,4,"div",3),s.YNc(4,W,2,2,"div",4)),2&fe&&(s.Q6J("ngIf",Ne.options.closeButton),s.xp6(1),s.Q6J("ngIf",Ne.title),s.xp6(1),s.Q6J("ngIf",Ne.message&&Ne.options.enableHtml),s.xp6(1),s.Q6J("ngIf",Ne.message&&!Ne.options.enableHtml),s.xp6(1),s.Q6J("ngIf",Ne.options.progressBar))},dependencies:[K.O5],encapsulation:2,data:{animation:[(0,f.X$)("flyInOut",[(0,f.SB)("inactive",(0,f.oB)({opacity:0})),(0,f.SB)("active",(0,f.oB)({opacity:1})),(0,f.SB)("removed",(0,f.oB)({opacity:0})),(0,f.eR)("inactive => active",(0,f.jt)("{{ easeTime }}ms {{ easing }}")),(0,f.eR)("active => removed",(0,f.jt)("{{ easeTime }}ms {{ easing }}"))])]}}),Le})();const qe={maxOpened:0,autoDismiss:!1,newestOnTop:!0,preventDuplicates:!1,countDuplicates:!1,resetTimeoutOnDuplicate:!1,includeTitleDuplicates:!1,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},closeButton:!1,disableTimeOut:!1,timeOut:5e3,extendedTimeOut:1e3,enableHtml:!1,progressBar:!1,toastClass:"ngx-toastr",positionClass:"toast-top-right",titleClass:"toast-title",messageClass:"toast-message",easing:"ease-in",easeTime:300,tapToDismiss:!0,onActivateTick:!1,progressAnimation:"decreasing",payload:null,toastComponent:We};let pt=(()=>{class Le{static forRoot(fe={}){return{ngModule:Le,providers:[{provide:se,useValue:{default:qe,config:fe}}]}}}return Le.\u0275fac=function(fe){return new(fe||Le)},Le.\u0275mod=s.oAB({type:Le}),Le.\u0275inj=s.cJS({imports:[K.ez]}),Le})()},5861:(it,Ce,D)=>{function s(U,K,X,J,oe,ee,Q){try{var j=U[ee](Q),Y=j.value}catch(W){return void X(W)}j.done?K(Y):Promise.resolve(Y).then(J,oe)}function f(U){return function(){var K=this,X=arguments;return new Promise(function(J,oe){var ee=U.apply(K,X);function Q(Y){s(ee,J,oe,Q,j,"next",Y)}function j(Y){s(ee,J,oe,Q,j,"throw",Y)}Q(void 0)})}}D.d(Ce,{Z:()=>f})}},it=>{it(it.s=5059)}]);
|