marketplacepos 2.9.6 → 2.9.7
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/{168.f88b133ecbdcb96a.js → 168.372c8292de413867.js} +1 -1
- package/Marketplace/307.494dace4c75f3987.js +1 -0
- package/Marketplace/478.bdd1c6271d13e6fc.js +1 -0
- package/Marketplace/index.html +2 -2
- package/Marketplace/{main.e646f758e999bb20.js → main.9ef14d5cfe5be8d5.js} +1 -1
- package/Marketplace/{runtime.2e7e4ee8428d338f.js → runtime.d8765e35f501b572.js} +1 -1
- package/package.json +1 -1
- package/Marketplace/307.f56ec0946ec944b7.js +0 -1
- package/Marketplace/478.348a0f1d9f25448d.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkpos_marketplace=self.webpackChunkpos_marketplace||[]).push([[179],{6897:(ft,De,v)=>{v.d(De,{zQ:()=>Jt,ww:()=>Ni});var s=v(5879),m=v(8645),W=v(2096),U=v(5592),I=v(2459),Y=v(3019),Z=v(3093),re=v(4664),te=v(7398),H=v(7081),J=v(1374),fe=v(4674);function Se(Me,be){return(0,fe.m)(be)?(0,re.w)(()=>Me,be):(0,re.w)(()=>Me)}var Ie=v(5137),Ke=v(2181),we=v(8186),Je=v(6304),Ve=v(6814);v(3182);var At,ve,N,Ae,Le,$e=v(5861),Ye=v(534),Qe=v(4537),lt=v(9058),dt=v(7879);const Lt=new Map,Mn={activated:!1,tokenObservers:[]},kn={initialized:!1,enabled:!1};function Ct(Me){return Lt.get(Me)||Object.assign({},Mn)}function Un(){return kn}const On="https://content-firebaseappcheck.googleapis.com/v1",Vt="exchangeDebugToken",rn={OFFSET_DURATION:3e5,RETRIAL_MIN_WAIT:3e4,RETRIAL_MAX_WAIT:96e4};class Tn{constructor(be,Re,ot,mt,Tt){if(this.operation=be,this.retryPolicy=Re,this.getWaitDuration=ot,this.lowerBound=mt,this.upperBound=Tt,this.pending=null,this.nextErrorWaitInterval=mt,mt>Tt)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 Re=this;return(0,$e.Z)(function*(){Re.stop();try{Re.pending=new lt.BH,yield function cn(Me){return new Promise(be=>{setTimeout(be,Me)})}(Re.getNextRun(be)),Re.pending.resolve(),yield Re.pending.promise,Re.pending=new lt.BH,yield Re.operation(),Re.pending.resolve(),yield Re.pending.promise,Re.process(!0).catch(()=>{})}catch(ot){Re.retryPolicy(ot)?Re.process(!1).catch(()=>{}):Re.stop()}})()}getNextRun(be){if(be)return this.nextErrorWaitInterval=this.lowerBound,this.getWaitDuration();{const Re=this.nextErrorWaitInterval;return this.nextErrorWaitInterval*=2,this.nextErrorWaitInterval>this.upperBound&&(this.nextErrorWaitInterval=this.upperBound),Re}}}const Fn=new lt.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 or(Me){if(!Ct(Me).activated)throw Fn.create("use-before-activation",{appName:Me.name})}function Wn(Me,be){return(At=At||(0,$e.Z)(function*({url:Re,body:ot},mt){const Tt={"Content-Type":"application/json"},Kt=mt.getImmediate({optional:!0});if(Kt){const di=yield Kt.getHeartbeatsHeader();di&&(Tt["X-Firebase-Client"]=di)}const $n={method:"POST",body:JSON.stringify(ot),headers:Tt};let wn,yn;try{wn=yield fetch(Re,$n)}catch(di){throw Fn.create("fetch-network-error",{originalErrorMessage:di?.message})}if(200!==wn.status)throw Fn.create("fetch-status-error",{httpStatus:wn.status});try{yn=yield wn.json()}catch(di){throw Fn.create("fetch-parse-error",{originalErrorMessage:di?.message})}const Er=yn.ttl.match(/^([\d.]+)(s)$/);if(!Er||!Er[2]||isNaN(Number(Er[1])))throw Fn.create("fetch-parse-error",{originalErrorMessage:`ttl field (timeToLive) is not in standard Protobuf Duration format: ${yn.ttl}`});const Kr=1e3*Number(Er[1]),dn=Date.now();return{token:yn.token,expireTimeMillis:dn+Kr,issuedAtTimeMillis:dn}})).apply(this,arguments)}function Ze(Me,be){const{projectId:Re,appId:ot,apiKey:mt}=Me.options;return{url:`${On}/projects/${Re}/apps/${ot}:${Vt}?key=${mt}`,body:{debug_token:be}}}const Dt="firebase-app-check-database",yt=1,We="firebase-app-check-store";let Ut=null;function O(Me,be){return(ve=ve||(0,$e.Z)(function*(Re,ot){const Tt=(yield function en(){return Ut||(Ut=new Promise((Me,be)=>{try{const Re=indexedDB.open(Dt,yt);Re.onsuccess=ot=>{Me(ot.target.result)},Re.onerror=ot=>{var mt;be(Fn.create("storage-open",{originalErrorMessage:null===(mt=ot.target.error)||void 0===mt?void 0:mt.message}))},Re.onupgradeneeded=ot=>{0===ot.oldVersion&&ot.target.result.createObjectStore(We,{keyPath:"compositeKey"})}}catch(Re){be(Fn.create("storage-open",{originalErrorMessage:Re?.message}))}}),Ut)}()).transaction(We,"readwrite"),$n=Tt.objectStore(We).put({compositeKey:Re,value:ot});return new Promise((wn,yn)=>{$n.onsuccess=Er=>{wn()},Tt.onerror=Er=>{var Kr;yn(Fn.create("storage-set",{originalErrorMessage:null===(Kr=Er.target.error)||void 0===Kr?void 0:Kr.message}))}})})).apply(this,arguments)}const R=new dt.Yd("@firebase/app-check");function V(Me,be){return(0,lt.hl)()?function pe(Me,be){return O(function F(Me){return`${Me.options.appId}-${Me.name}`}(Me),be)}(Me,be).catch(Re=>{R.warn(`Failed to write token to IndexedDB. Error: ${Re}`)}):Promise.resolve()}function ne(){return Un().enabled}function le(){return(N=N||(0,$e.Z)(function*(){const Me=Un();if(Me.enabled&&Me.token)return Me.token.promise;throw Error("\n Can't get debug token in production mode.\n ")})).apply(this,arguments)}const oe={error:"UNKNOWN_ERROR"};function ee(Me){return lt.US.encodeString(JSON.stringify(Me),!1)}function Pe(Me){return(Ae=Ae||(0,$e.Z)(function*(be,Re=!1){const ot=be.app;or(ot);const mt=Ct(ot);let Kt,Tt=mt.token;if(Tt&&!Ot(Tt)&&(mt.token=void 0,Tt=void 0),!Tt){const yn=yield mt.cachedTokenPromise;yn&&(Ot(yn)?Tt=yn:yield V(ot,void 0))}if(!Re&&Tt&&Ot(Tt))return{token:Tt.token};let wn,$n=!1;if(ne()){mt.exchangeTokenPromise||(mt.exchangeTokenPromise=Wn(Ze(ot,yield le()),be.heartbeatServiceProvider).finally(()=>{mt.exchangeTokenPromise=void 0}),$n=!0);const yn=yield mt.exchangeTokenPromise;return yield V(ot,yn),mt.token=yn,{token:yn.token}}try{mt.exchangeTokenPromise||(mt.exchangeTokenPromise=mt.provider.getToken().finally(()=>{mt.exchangeTokenPromise=void 0}),$n=!0),Tt=yield Ct(ot).exchangeTokenPromise}catch(yn){"appCheck/throttled"===yn.code?R.warn(yn.message):R.error(yn),Kt=yn}return Tt?Kt?wn=Ot(Tt)?{token:Tt.token,internalError:Kt}:Pn(Kt):(wn={token:Tt.token},mt.token=Tt,yield V(ot,Tt)):wn=Pn(Kt),$n&&function wt(Me,be){const Re=Ct(Me).tokenObservers;for(const ot of Re)try{"EXTERNAL"===ot.type&&null!=be.error?ot.error(be.error):ot.next(be)}catch{}}(ot,wn),wn})).apply(this,arguments)}function Ce(Me,be){const Re=Ct(Me),ot=Re.tokenObservers.filter(mt=>mt.next!==be);0===ot.length&&Re.tokenRefresher&&Re.tokenRefresher.isRunning()&&Re.tokenRefresher.stop(),Re.tokenObservers=ot}function rt(Me){const{app:be}=Me,Re=Ct(be);let ot=Re.tokenRefresher;ot||(ot=function Xe(Me){const{app:be}=Me;return new Tn((0,$e.Z)(function*(){let ot;if(ot=Ct(be).token?yield Pe(Me,!0):yield Pe(Me),ot.error)throw ot.error;if(ot.internalError)throw ot.internalError}),()=>!0,()=>{const Re=Ct(be);if(Re.token){let ot=Re.token.issuedAtTimeMillis+.5*(Re.token.expireTimeMillis-Re.token.issuedAtTimeMillis)+3e5;return ot=Math.min(ot,Re.token.expireTimeMillis-3e5),Math.max(0,ot-Date.now())}return 0},rn.RETRIAL_MIN_WAIT,rn.RETRIAL_MAX_WAIT)}(Me),Re.tokenRefresher=ot),!ot.isRunning()&&Re.isTokenAutoRefreshEnabled&&ot.start()}function Ot(Me){return Me.expireTimeMillis-Date.now()>0}function Pn(Me){return{token:ee(oe),error:Me}}class zn{constructor(be,Re){this.app=be,this.heartbeatServiceProvider=Re}_delete(){const{tokenObservers:be}=Ct(this.app);for(const Re of be)Ce(this.app,Re.next);return Promise.resolve()}}const pi="app-check-internal";!function Eo(){(0,Ye._registerComponent)(new Qe.wA("app-check",Me=>function Rn(Me,be){return new zn(Me,be)}(Me.getProvider("app").getImmediate(),Me.getProvider("heartbeat")),"PUBLIC").setInstantiationMode("EXPLICIT").setInstanceCreatedCallback((Me,be,Re)=>{Me.getProvider(pi).initialize()})),(0,Ye._registerComponent)(new Qe.wA(pi,Me=>function sr(Me){return{getToken:be=>Pe(Me,be),getLimitedUseToken:()=>function X(Me){return(Le=Le||(0,$e.Z)(function*(be){const Re=be.app;or(Re);const{provider:ot}=Ct(Re);if(ne()){const mt=yield le(),{token:Tt}=yield Wn(Ze(Re,mt),be.heartbeatServiceProvider);return{token:Tt}}{const{token:mt}=yield ot.getToken();return{token:mt}}})).apply(this,arguments)}(Me),addTokenListener:be=>function ce(Me,be,Re,ot){const{app:mt}=Me,Tt=Ct(mt);if(Tt.tokenObservers=[...Tt.tokenObservers,{next:Re,error:ot,type:be}],Tt.token&&Ot(Tt.token)){const $n=Tt.token;Promise.resolve().then(()=>{Re({token:$n.token}),rt(Me)}).catch(()=>{})}Tt.cachedTokenPromise.then(()=>rt(Me))}(Me,"INTERNAL",be),removeTokenListener:be=>Ce(Me.app,be)}}(Me.getProvider("app-check").getImmediate()),"PUBLIC").setInstantiationMode("EXPLICIT")),(0,Ye.registerVersion)("@firebase/app-check","0.8.0")}();class er{constructor(){return(0,we.vb)("app-check")}}typeof window<"u"&&window;var sn=v(7142);const Nr=new s.OlP("angularfire2.auth.use-emulator"),ui=new s.OlP("angularfire2.auth.settings"),hr=new s.OlP("angularfire2.auth.tenant-id"),Ri=new s.OlP("angularfire2.auth.langugage-code"),lr=new s.OlP("angularfire2.auth.use-device-language"),Wr=new s.OlP("angularfire.auth.persistence");let Jt=(()=>{class Me{constructor(Re,ot,mt,Tt,Kt,$n,wn,yn,Er,Kr,dn,di){const Ci=new m.x,Sr=(0,W.of)(void 0).pipe((0,Z.Q)(Kt.outsideAngular),(0,re.w)(()=>Tt.runOutsideAngular(()=>v.e(967).then(v.bind(v,5967)))),(0,te.U)(()=>(0,Je.on)(Re,Tt,ot)),(0,te.U)(tr=>((Me,be,Re,ot,mt,Tt,Kt,$n)=>(0,Je.cc)(`${Me.name}.auth`,"AngularFireAuth",Me.name,()=>{const wn=be.runOutsideAngular(()=>Me.auth());if(Re&&wn.useEmulator(...Re),ot&&(wn.tenantId=ot),wn.languageCode=mt,Tt&&wn.useDeviceLanguage(),Kt)for(const[yn,Er]of Object.entries(Kt))wn.settings[yn]=Er;return $n&&wn.setPersistence($n),wn},[Re,ot,mt,Tt,Kt,$n]))(tr,Tt,$n,yn,Er,Kr,wn,dn)),(0,H.d)({bufferSize:1,refCount:!1}));if((0,Ve.PM)(mt))this.authState=this.user=this.idToken=this.idTokenResult=this.credential=(0,W.of)(null);else{Sr.pipe((0,J.P)()).subscribe();const kr=Sr.pipe((0,re.w)(En=>En.getRedirectResult().then(wi=>wi,()=>null)),we.iC,(0,H.d)({bufferSize:1,refCount:!1})),si=Sr.pipe((0,re.w)(En=>new U.y(wi=>({unsubscribe:Tt.runOutsideAngular(()=>En.onAuthStateChanged(nr=>wi.next(nr),nr=>wi.error(nr),()=>wi.complete()))})))),mi=Sr.pipe((0,re.w)(En=>new U.y(wi=>({unsubscribe:Tt.runOutsideAngular(()=>En.onIdTokenChanged(nr=>wi.next(nr),nr=>wi.error(nr),()=>wi.complete()))}))));this.authState=kr.pipe(Se(si),(0,Ie.R)(Kt.outsideAngular),(0,Z.Q)(Kt.insideAngular)),this.user=kr.pipe(Se(mi),(0,Ie.R)(Kt.outsideAngular),(0,Z.Q)(Kt.insideAngular)),this.idToken=this.user.pipe((0,re.w)(En=>En?(0,I.D)(En.getIdToken()):(0,W.of)(null))),this.idTokenResult=this.user.pipe((0,re.w)(En=>En?(0,I.D)(En.getIdTokenResult()):(0,W.of)(null))),this.credential=(0,Y.T)(kr,Ci,this.authState.pipe((0,Ke.h)(En=>!En))).pipe((0,te.U)(En=>En?.user?En:null),(0,Ie.R)(Kt.outsideAngular),(0,Z.Q)(Kt.insideAngular))}return(0,Je.pX)(this,Sr,Tt,{spy:{apply:(tr,kr,si)=>{(tr.startsWith("signIn")||tr.startsWith("createUser"))&&si.then(mi=>Ci.next(mi))}}})}}return Me.\u0275fac=function(Re){return new(Re||Me)(s.LFG(Je.Dh),s.LFG(Je.xv,8),s.LFG(s.Lbi),s.LFG(s.R0b),s.LFG(we.HU),s.LFG(Nr,8),s.LFG(ui,8),s.LFG(hr,8),s.LFG(Ri,8),s.LFG(lr,8),s.LFG(Wr,8),s.LFG(er,8))},Me.\u0275prov=s.Yz7({token:Me,factory:Me.\u0275fac,providedIn:"any"}),Me})(),Ni=(()=>{class Me{constructor(){sn.Z.registerVersion("angularfire",we.q4.full,"auth-compat")}}return Me.\u0275fac=function(Re){return new(Re||Me)},Me.\u0275mod=s.oAB({type:Me}),Me.\u0275inj=s.cJS({providers:[Jt]}),Me})()},6304:(ft,De,v)=>{v.d(De,{Dh:()=>re,GT:()=>Y,cc:()=>Ie,hO:()=>Se,on:()=>H,pX:()=>I,xv:()=>te});var s=v(5879),m=v(7142),W=v(8186);ft=v.hmd(ft);const U=["ngOnDestroy"],I=(Ve,ut,ke,G={})=>new Proxy(Ve,{get:(z,ie)=>ke.runOutsideAngular(()=>{var ue;if(Ve[ie])return!(null===(ue=G?.spy)||void 0===ue)&&ue.get&&G.spy.get(ie,Ve[ie]),Ve[ie];if(U.indexOf(ie)>-1)return()=>{};const ge=ut.toPromise().then(xe=>{const Ge=xe&&xe[ie];return"function"==typeof Ge?Ge.bind(xe):Ge&&Ge.then?Ge.then(nt=>ke.run(()=>nt)):ke.run(()=>Ge)});return new Proxy(()=>{},{get:(xe,Ge)=>ge[Ge],apply:(xe,Ge,nt)=>ge.then(ht=>{var Mt;const Pt=ht&&ht(...nt);return!(null===(Mt=G?.spy)||void 0===Mt)&&Mt.apply&&G.spy.apply(ie,nt,Pt),Pt})})})}),Y=(Ve,ut)=>{ut.forEach(ke=>{Object.getOwnPropertyNames(ke.prototype||ke).forEach(G=>{Object.defineProperty(Ve.prototype,G,Object.getOwnPropertyDescriptor(ke.prototype||ke,G))})})};class Z{constructor(ut){return ut}}const re=new s.OlP("angularfire2.app.options"),te=new s.OlP("angularfire2.app.name");function H(Ve,ut,ke){const z="object"==typeof ke&&ke||{};z.name=z.name||"string"==typeof ke&&ke||"[DEFAULT]";const ue=m.Z.apps.filter(ge=>ge&&ge.name===z.name)[0]||ut.runOutsideAngular(()=>m.Z.initializeApp(Ve,z));try{JSON.stringify(Ve)!==JSON.stringify(ue.options)&&J("error",`${ue.name} Firebase App already initialized with different options${ft.hot?", you may need to reload as Firebase is not HMR aware.":"."}`)}catch{}return new Z(ue)}const J=(Ve,...ut)=>{(0,s.X6Q)()&&typeof console<"u"&&console[Ve](...ut)},fe={provide:Z,useFactory:H,deps:[re,s.R0b,[new s.FiY,te]]};let Se=(()=>{class Ve{constructor(ke){m.Z.registerVersion("angularfire",W.q4.full,"core"),m.Z.registerVersion("angularfire",W.q4.full,"app-compat"),m.Z.registerVersion("angular",s.q4F.full,ke.toString())}static initializeApp(ke,G){return{ngModule:Ve,providers:[{provide:re,useValue:ke},{provide:te,useValue:G}]}}}return Ve.\u0275fac=function(ke){return new(ke||Ve)(s.LFG(s.Lbi))},Ve.\u0275mod=s.oAB({type:Ve}),Ve.\u0275inj=s.cJS({providers:[fe]}),Ve})();function Ie(Ve,ut,ke,G,z){const[,ie,ue]=globalThis.\u0275AngularfireInstanceCache.find(ge=>ge[0]===Ve)||[];if(ie)return function Ke(Ve,ut){try{return Ve.toString()===ut.toString()}catch{return Ve===ut}}(z,ue)||(Je("error",`${ut} was already initialized on the ${ke} Firebase App with different settings.${we?" You may need to reload as Firebase is not HMR aware.":""}`),Je("warn",{is:z,was:ue})),ie;{const ge=G();return globalThis.\u0275AngularfireInstanceCache.push([Ve,ge,z]),ge}}const we=!!ft.hot,Je=(Ve,...ut)=>{(0,s.X6Q)()&&typeof console<"u"&&console[Ve](...ut)};globalThis.\u0275AngularfireInstanceCache||(globalThis.\u0275AngularfireInstanceCache=[])},8186:(ft,De,v)=>{v.d(De,{q4:()=>al,iC:()=>dl,HU:()=>vu,vb:()=>_u,JM:()=>Rs});var s=v(5879),m=v(3182),W=v(5861),U=v(534),I=v(9058),Y=v(4537),Z=v(7879);const re=(E,w)=>w.some(M=>E instanceof M);let te,H;const Se=new WeakMap,Ie=new WeakMap,Ke=new WeakMap,we=new WeakMap,Je=new WeakMap;let ke={get(E,w,M){if(E instanceof IDBTransaction){if("done"===w)return Ie.get(E);if("objectStoreNames"===w)return E.objectStoreNames||Ke.get(E);if("store"===w)return M.objectStoreNames[1]?void 0:M.objectStore(M.objectStoreNames[0])}return ue(E[w])},set:(E,w,M)=>(E[w]=M,!0),has:(E,w)=>E instanceof IDBTransaction&&("done"===w||"store"===w)||w in E};function ie(E){return"function"==typeof E?function z(E){return E!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?function fe(){return H||(H=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}().includes(E)?function(...w){return E.apply(ge(this),w),ue(Se.get(this))}:function(...w){return ue(E.apply(ge(this),w))}:function(w,...M){const Q=E.call(ge(this),w,...M);return Ke.set(Q,w.sort?w.sort():[w]),ue(Q)}}(E):(E instanceof IDBTransaction&&function ut(E){if(Ie.has(E))return;const w=new Promise((M,Q)=>{const he=()=>{E.removeEventListener("complete",He),E.removeEventListener("error",it),E.removeEventListener("abort",it)},He=()=>{M(),he()},it=()=>{Q(E.error||new DOMException("AbortError","AbortError")),he()};E.addEventListener("complete",He),E.addEventListener("error",it),E.addEventListener("abort",it)});Ie.set(E,w)}(E),re(E,function J(){return te||(te=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}())?new Proxy(E,ke):E)}function ue(E){if(E instanceof IDBRequest)return function Ve(E){const w=new Promise((M,Q)=>{const he=()=>{E.removeEventListener("success",He),E.removeEventListener("error",it)},He=()=>{M(ue(E.result)),he()},it=()=>{Q(E.error),he()};E.addEventListener("success",He),E.addEventListener("error",it)});return w.then(M=>{M instanceof IDBCursor&&Se.set(M,E)}).catch(()=>{}),Je.set(w,E),w}(E);if(we.has(E))return we.get(E);const w=ie(E);return w!==E&&(we.set(E,w),Je.set(w,E)),w}const ge=E=>Je.get(E),nt=["get","getKey","getAll","getAllKeys","count"],ht=["put","add","delete","clear"],Mt=new Map;function Pt(E,w){var M;if(!(E instanceof IDBDatabase)||w in E||"string"!=typeof w)return;if(Mt.get(w))return Mt.get(w);const Q=w.replace(/FromIndex$/,""),he=w!==Q,He=ht.includes(Q);if(!(Q in(he?IDBIndex:IDBObjectStore).prototype)||!He&&!nt.includes(Q))return;const it=function(xt){return(M=M||(0,W.Z)(function*(Bt,...zt){const qt=this.transaction(Bt,He?"readwrite":"readonly");let Nn=qt.store;return he&&(Nn=Nn.index(zt.shift())),(yield Promise.all([Nn[Q](...zt),He&&qt.done]))[0]})).apply(this,arguments)};return Mt.set(w,it),it}var Gt,$t,gn,Cn,Ue,$e,Ye,Qe,lt,dt,At,ve,qe,ye,Oe,N;!function G(E){ke=E(ke)}(E=>({...E,get:(w,M,Q)=>Pt(w,M)||E.get(w,M,Q),has:(w,M)=>!!Pt(w,M)||E.has(w,M)}));const St="@firebase/installations",vt="0.6.4",Lt=1e4,Mn=`w:${vt}`,kn="FIS_v2",Ct="https://firebaseinstallations.googleapis.com/v1",ir=36e5,jt=new I.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 Vt(E){return E instanceof I.ZR&&E.code.includes("request-failed")}function rn({projectId:E}){return`${Ct}/projects/${E}/installations`}function Xt(E){return{token:E.token,requestStatus:2,expiresIn:Yt(E.expiresIn),creationTime:Date.now()}}function Tn(E,w){return(Gt=Gt||(0,W.Z)(function*(M,Q){const He=(yield Q.json()).error;return jt.create("request-failed",{requestName:M,serverCode:He.code,serverMessage:He.message,serverStatus:He.status})})).apply(this,arguments)}function cn({apiKey:E}){return new Headers({"Content-Type":"application/json",Accept:"application/json","x-goog-api-key":E})}function Fn(E){return($t=$t||(0,W.Z)(function*(w){const M=yield w();return M.status>=500&&M.status<600?w():M})).apply(this,arguments)}function Yt(E){return Number(E.replace("s","000"))}function Qn(E){return new Promise(w=>{setTimeout(w,E)})}const In=/^[cdef][\w-]{21}$/,dr="";function Ze(){try{const E=new Uint8Array(17);(self.crypto||self.msCrypto).getRandomValues(E),E[0]=112+E[0]%16;const M=function Dt(E){return function Wn(E){return btoa(String.fromCharCode(...E)).replace(/\+/g,"-").replace(/\//g,"_")}(E).substr(0,22)}(E);return In.test(M)?M:dr}catch{return dr}}function yt(E){return`${E.appName}!${E.appId}`}const We=new Map;function st(E,w){const M=yt(E);Jn(M,w),function pe(E,w){const M=function k(){return!B&&"BroadcastChannel"in self&&(B=new BroadcastChannel("[Firebase] FID Change"),B.onmessage=E=>{Jn(E.data.key,E.data.fid)}),B}();M&&M.postMessage({key:E,fid:w}),function O(){0===We.size&&B&&(B.close(),B=null)}()}(M,w)}function Jn(E,w){const M=We.get(E);if(M)for(const Q of M)Q(w)}let B=null;const D="firebase-installations-database",F=1,R="firebase-installations-store";let P=null;function V(){return P||(P=function xe(E,w,{blocked:M,upgrade:Q,blocking:he,terminated:He}={}){const it=indexedDB.open(E,w),pt=ue(it);return Q&&it.addEventListener("upgradeneeded",xt=>{Q(ue(it.result),xt.oldVersion,xt.newVersion,ue(it.transaction))}),M&&it.addEventListener("blocked",()=>M()),pt.then(xt=>{He&&xt.addEventListener("close",()=>He()),he&&xt.addEventListener("versionchange",()=>he())}).catch(()=>{}),pt}(D,F,{upgrade:(E,w)=>{0===w&&E.createObjectStore(R)}})),P}function me(E,w){return(Cn=Cn||(0,W.Z)(function*(M,Q){const he=yt(M),it=(yield V()).transaction(R,"readwrite"),pt=it.objectStore(R),xt=yield pt.get(he);return yield pt.put(Q,he),yield it.done,(!xt||xt.fid!==Q.fid)&&st(M,Q.fid),Q})).apply(this,arguments)}function ne(E){return(Ue=Ue||(0,W.Z)(function*(w){const M=yt(w),he=(yield V()).transaction(R,"readwrite");yield he.objectStore(R).delete(M),yield he.done})).apply(this,arguments)}function le(E,w){return($e=$e||(0,W.Z)(function*(M,Q){const he=yt(M),it=(yield V()).transaction(R,"readwrite"),pt=it.objectStore(R),xt=yield pt.get(he),Bt=Q(xt);return void 0===Bt?yield pt.delete(he):yield pt.put(Bt,he),yield it.done,Bt&&(!xt||xt.fid!==Bt.fid)&&st(M,Bt.fid),Bt})).apply(this,arguments)}function je(E){return(Ye=Ye||(0,W.Z)(function*(w){let M;const Q=yield le(w.appConfig,he=>{const He=function oe(E){return Ce(E||{fid:Ze(),registrationStatus:0})}(he),it=function ee(E,w){if(0===w.registrationStatus){if(!navigator.onLine)return{installationEntry:w,registrationPromise:Promise.reject(jt.create("app-offline"))};const M={fid:w.fid,registrationStatus:1,registrationTime:Date.now()},Q=function Pe(E,w){return(Qe=Qe||(0,W.Z)(function*(M,Q){try{const he=yield function on(E,w){return(gn=gn||(0,W.Z)(function*({appConfig:M,heartbeatServiceProvider:Q},{fid:he}){const He=rn(M),it=cn(M),pt=Q.getImmediate({optional:!0});if(pt){const qt=yield pt.getHeartbeatsHeader();qt&&it.append("x-firebase-client",qt)}const Bt={method:"POST",headers:it,body:JSON.stringify({fid:he,authVersion:kn,appId:M.appId,sdkVersion:Mn})},zt=yield Fn(()=>fetch(He,Bt));if(zt.ok){const qt=yield zt.json();return{fid:qt.fid||he,registrationStatus:2,refreshToken:qt.refreshToken,authToken:Xt(qt.authToken)}}throw yield Tn("Create Installation",zt)})).apply(this,arguments)}(M,Q);return me(M.appConfig,he)}catch(he){throw Vt(he)&&409===he.customData.serverCode?yield ne(M.appConfig):yield me(M.appConfig,{fid:Q.fid,registrationStatus:0}),he}})).apply(this,arguments)}(E,M);return{installationEntry:M,registrationPromise:Q}}return 1===w.registrationStatus?{installationEntry:w,registrationPromise:X(E)}:{installationEntry:w}}(w,He);return M=it.registrationPromise,it.installationEntry});return Q.fid===dr?{installationEntry:yield M}:{installationEntry:Q,registrationPromise:M}})).apply(this,arguments)}function X(E){return(lt=lt||(0,W.Z)(function*(w){let M=yield ce(w.appConfig);for(;1===M.registrationStatus;)yield Qn(100),M=yield ce(w.appConfig);if(0===M.registrationStatus){const{installationEntry:Q,registrationPromise:he}=yield je(w);return he||Q}return M})).apply(this,arguments)}function ce(E){return le(E,w=>{if(!w)throw jt.create("installation-not-found");return Ce(w)})}function Ce(E){return function rt(E){return 1===E.registrationStatus&&E.registrationTime+Lt<Date.now()}(E)?{fid:E.fid,registrationStatus:0}:E}function Xe(E,w){return(dt=dt||(0,W.Z)(function*({appConfig:M,heartbeatServiceProvider:Q},he){const He=function wt(E,{fid:w}){return`${rn(E)}/${w}/authTokens:generate`}(M,he),it=function _n(E,{refreshToken:w}){const M=cn(E);return M.append("Authorization",function or(E){return`${kn} ${E}`}(w)),M}(M,he),pt=Q.getImmediate({optional:!0});if(pt){const qt=yield pt.getHeartbeatsHeader();qt&&it.append("x-firebase-client",qt)}const Bt={method:"POST",headers:it,body:JSON.stringify({installation:{sdkVersion:Mn,appId:M.appId}})},zt=yield Fn(()=>fetch(He,Bt));if(zt.ok)return Xt(yield zt.json());throw yield Tn("Generate Auth Token",zt)})).apply(this,arguments)}function Ot(E){return(At=At||(0,W.Z)(function*(w,M=!1){let Q;const he=yield le(w.appConfig,it=>{if(!sr(it))throw jt.create("not-registered");const pt=it.authToken;if(!M&&function Vr(E){return 2===E.requestStatus&&!function Ar(E){const w=Date.now();return w<E.creationTime||E.creationTime+E.expiresIn<w+ir}(E)}(pt))return it;if(1===pt.requestStatus)return Q=function Pn(E,w){return(ve=ve||(0,W.Z)(function*(M,Q){let he=yield zn(M.appConfig);for(;1===he.authToken.requestStatus;)yield Qn(100),he=yield zn(M.appConfig);const He=he.authToken;return 0===He.requestStatus?Ot(M,Q):He})).apply(this,arguments)}(w,M),it;{if(!navigator.onLine)throw jt.create("app-offline");const xt=function Ln(E){const w={requestStatus:1,requestTime:Date.now()};return Object.assign(Object.assign({},E),{authToken:w})}(it);return Q=function Rn(E,w){return(qe=qe||(0,W.Z)(function*(M,Q){try{const he=yield Xe(M,Q),He=Object.assign(Object.assign({},Q),{authToken:he});return yield me(M.appConfig,He),he}catch(he){if(!Vt(he)||401!==he.customData.serverCode&&404!==he.customData.serverCode){const He=Object.assign(Object.assign({},Q),{authToken:{requestStatus:0}});yield me(M.appConfig,He)}else yield ne(M.appConfig);throw he}})).apply(this,arguments)}(w,xt),xt}});return Q?yield Q:he.authToken})).apply(this,arguments)}function zn(E){return le(E,w=>{if(!sr(w))throw jt.create("not-registered");return function Hn(E){return 1===E.requestStatus&&E.requestTime+Lt<Date.now()}(w.authToken)?Object.assign(Object.assign({},w),{authToken:{requestStatus:0}}):w})}function sr(E){return void 0!==E&&2===E.registrationStatus}function Tr(E){return jt.create("missing-app-config-values",{valueName:E})}const Ai="installations",zo=E=>{const w=E.getProvider("app").getImmediate(),M=function yr(E){if(!E||!E.options)throw Tr("App Configuration");if(!E.name)throw Tr("App Name");const w=["projectId","apiKey","appId"];for(const M of w)if(!E.options[M])throw Tr(M);return{appName:E.name,projectId:E.options.projectId,apiKey:E.options.apiKey,appId:E.options.appId}}(w);return{app:w,appConfig:M,heartbeatServiceProvider:(0,U._getProvider)(w,"heartbeat"),_delete:()=>Promise.resolve()}},Ji=E=>{const w=E.getProvider("app").getImmediate(),M=(0,U._getProvider)(w,Ai).getImmediate();return{getId:()=>function zr(E){return(ye=ye||(0,W.Z)(function*(w){const M=w,{installationEntry:Q,registrationPromise:he}=yield je(M);return he?he.catch(console.error):Ot(M).catch(console.error),Q.fid})).apply(this,arguments)}(M),getToken:he=>function Or(E){return(Oe=Oe||(0,W.Z)(function*(w,M=!1){const Q=w;return yield function An(E){return(N=N||(0,W.Z)(function*(w){const{registrationPromise:M}=yield je(w);M&&(yield M)})).apply(this,arguments)}(Q),(yield Ot(Q,M)).token})).apply(this,arguments)}(M,he)}};var br;(function Oo(){(0,U._registerComponent)(new Y.wA(Ai,zo,"PUBLIC")),(0,U._registerComponent)(new Y.wA("installations-internal",Ji,"PRIVATE"))})(),(0,U.registerVersion)(St,vt),(0,U.registerVersion)(St,vt,"esm2017");const oi="@firebase/remote-config",er=new I.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 Nr{constructor(w,M,Q,he){this.client=w,this.storage=M,this.storageCache=Q,this.logger=he}isCachedDataFresh(w,M){if(!M)return this.logger.debug("Config fetch cache check. Cache unpopulated."),!1;const Q=Date.now()-M,he=Q<=w;return this.logger.debug(`Config fetch cache check. Cache age millis: ${Q}. Cache max age millis (minimumFetchIntervalMillis setting): ${w}. Is cache hit: ${he}.`),he}fetch(w){var M=this;return(0,W.Z)(function*(){const[Q,he]=yield Promise.all([M.storage.getLastSuccessfulFetchTimestampMillis(),M.storage.getLastSuccessfulFetchResponse()]);if(he&&M.isCachedDataFresh(w.cacheMaxAgeMillis,Q))return he;w.eTag=he&&he.eTag;const He=yield M.client.fetch(w),it=[M.storageCache.setLastSuccessfulFetchTimestampMillis(Date.now())];return 200===He.status&&it.push(M.storage.setLastSuccessfulFetchResponse(He)),yield Promise.all(it),He})()}}function ui(E=navigator){return E.languages&&E.languages[0]||E.language}class hr{constructor(w,M,Q,he,He,it){this.firebaseInstallations=w,this.sdkVersion=M,this.namespace=Q,this.projectId=he,this.apiKey=He,this.appId=it}fetch(w){var M=this;return(0,W.Z)(function*(){const[Q,he]=yield Promise.all([M.firebaseInstallations.getId(),M.firebaseInstallations.getToken()]),it=`${window.FIREBASE_REMOTE_CONFIG_URL_BASE||"https://firebaseremoteconfig.googleapis.com"}/v1/projects/${M.projectId}/namespaces/${M.namespace}:fetch?key=${M.apiKey}`,pt={"Content-Type":"application/json","Content-Encoding":"gzip","If-None-Match":w.eTag||"*"},xt={sdk_version:M.sdkVersion,app_instance_id:Q,app_instance_id_token:he,app_id:M.appId,language_code:ui()},Bt={method:"POST",headers:pt,body:JSON.stringify(xt)},zt=fetch(it,Bt),qt=new Promise((mn,Mo)=>{w.signal.addEventListener(()=>{const hi=new Error("The operation was aborted.");hi.name="AbortError",Mo(hi)})});let Nn;try{yield Promise.race([zt,qt]),Nn=yield zt}catch(mn){let Mo="fetch-client-network";throw"AbortError"===mn?.name&&(Mo="fetch-timeout"),er.create(Mo,{originalErrorMessage:mn?.message})}let $r=Nn.status;const qr=Nn.headers.get("ETag")||void 0;let Zn,Yi;if(200===Nn.status){let mn;try{mn=yield Nn.json()}catch(Mo){throw er.create("fetch-client-parse",{originalErrorMessage:Mo?.message})}Zn=mn.entries,Yi=mn.state}if("INSTANCE_STATE_UNSPECIFIED"===Yi?$r=500:"NO_CHANGE"===Yi?$r=304:("NO_TEMPLATE"===Yi||"EMPTY_CONFIG"===Yi)&&(Zn={}),304!==$r&&200!==$r)throw er.create("fetch-status",{httpStatus:$r});return{status:$r,eTag:qr,config:Zn}})()}}class Wr{constructor(w,M){this.client=w,this.storage=M}fetch(w){var M=this;return(0,W.Z)(function*(){const Q=(yield M.storage.getThrottleMetadata())||{backoffCount:0,throttleEndTimeMillis:Date.now()};return M.attemptFetch(w,Q)})()}attemptFetch(w,{throttleEndTimeMillis:M,backoffCount:Q}){var he=this;return(0,W.Z)(function*(){yield function Ri(E,w){return new Promise((M,Q)=>{const he=Math.max(w-Date.now(),0),He=setTimeout(M,he);E.addEventListener(()=>{clearTimeout(He),Q(er.create("fetch-throttle",{throttleEndTimeMillis:w}))})})}(w.signal,M);try{const He=yield he.client.fetch(w);return yield he.storage.deleteThrottleMetadata(),He}catch(He){if(!function lr(E){if(!(E instanceof I.ZR&&E.customData))return!1;const w=Number(E.customData.httpStatus);return 429===w||500===w||503===w||504===w}(He))throw He;const it={throttleEndTimeMillis:Date.now()+(0,I.$s)(Q),backoffCount:Q+1};return yield he.storage.setThrottleMetadata(it),he.attemptFetch(w,it)}})()}}class Ni{constructor(w,M,Q,he,He){this.app=w,this._client=M,this._storageCache=Q,this._storage=he,this._logger=He,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 Me(E,w){const M=E.target.error||void 0;return er.create(w,{originalErrorMessage:M&&M?.message})}const be="app_namespace_store";class Tt{constructor(w,M,Q,he=function mt(){return new Promise((E,w)=>{try{const M=indexedDB.open("firebase_remote_config",1);M.onerror=Q=>{w(Me(Q,"storage-open"))},M.onsuccess=Q=>{E(Q.target.result)},M.onupgradeneeded=Q=>{0===Q.oldVersion&&Q.target.result.createObjectStore(be,{keyPath:"compositeKey"})}}catch(M){w(er.create("storage-open",{originalErrorMessage:M?.message}))}})}()){this.appId=w,this.appName=M,this.namespace=Q,this.openDbPromise=he}getLastFetchStatus(){return this.get("last_fetch_status")}setLastFetchStatus(w){return this.set("last_fetch_status",w)}getLastSuccessfulFetchTimestampMillis(){return this.get("last_successful_fetch_timestamp_millis")}setLastSuccessfulFetchTimestampMillis(w){return this.set("last_successful_fetch_timestamp_millis",w)}getLastSuccessfulFetchResponse(){return this.get("last_successful_fetch_response")}setLastSuccessfulFetchResponse(w){return this.set("last_successful_fetch_response",w)}getActiveConfig(){return this.get("active_config")}setActiveConfig(w){return this.set("active_config",w)}getActiveConfigEtag(){return this.get("active_config_etag")}setActiveConfigEtag(w){return this.set("active_config_etag",w)}getThrottleMetadata(){return this.get("throttle_metadata")}setThrottleMetadata(w){return this.set("throttle_metadata",w)}deleteThrottleMetadata(){return this.delete("throttle_metadata")}get(w){var M=this;return(0,W.Z)(function*(){const Q=yield M.openDbPromise;return new Promise((he,He)=>{const pt=Q.transaction([be],"readonly").objectStore(be),xt=M.createCompositeKey(w);try{const Bt=pt.get(xt);Bt.onerror=zt=>{He(Me(zt,"storage-get"))},Bt.onsuccess=zt=>{const qt=zt.target.result;he(qt?qt.value:void 0)}}catch(Bt){He(er.create("storage-get",{originalErrorMessage:Bt?.message}))}})})()}set(w,M){var Q=this;return(0,W.Z)(function*(){const he=yield Q.openDbPromise;return new Promise((He,it)=>{const xt=he.transaction([be],"readwrite").objectStore(be),Bt=Q.createCompositeKey(w);try{const zt=xt.put({compositeKey:Bt,value:M});zt.onerror=qt=>{it(Me(qt,"storage-set"))},zt.onsuccess=()=>{He()}}catch(zt){it(er.create("storage-set",{originalErrorMessage:zt?.message}))}})})()}delete(w){var M=this;return(0,W.Z)(function*(){const Q=yield M.openDbPromise;return new Promise((he,He)=>{const pt=Q.transaction([be],"readwrite").objectStore(be),xt=M.createCompositeKey(w);try{const Bt=pt.delete(xt);Bt.onerror=zt=>{He(Me(zt,"storage-delete"))},Bt.onsuccess=()=>{he()}}catch(Bt){He(er.create("storage-delete",{originalErrorMessage:Bt?.message}))}})})()}createCompositeKey(w){return[this.appId,this.appName,this.namespace,w].join()}}class Kt{constructor(w){this.storage=w}getLastFetchStatus(){return this.lastFetchStatus}getLastSuccessfulFetchTimestampMillis(){return this.lastSuccessfulFetchTimestampMillis}getActiveConfig(){return this.activeConfig}loadFromStorage(){var w=this;return(0,W.Z)(function*(){const M=w.storage.getLastFetchStatus(),Q=w.storage.getLastSuccessfulFetchTimestampMillis(),he=w.storage.getActiveConfig(),He=yield M;He&&(w.lastFetchStatus=He);const it=yield Q;it&&(w.lastSuccessfulFetchTimestampMillis=it);const pt=yield he;pt&&(w.activeConfig=pt)})()}setLastFetchStatus(w){return this.lastFetchStatus=w,this.storage.setLastFetchStatus(w)}setLastSuccessfulFetchTimestampMillis(w){return this.lastSuccessfulFetchTimestampMillis=w,this.storage.setLastSuccessfulFetchTimestampMillis(w)}setActiveConfig(w){return this.activeConfig=w,this.storage.setActiveConfig(w)}}function yn(){return(br=br||(0,W.Z)(function*(){if(!(0,I.hl)())return!1;try{return yield(0,I.eu)()}catch{return!1}})).apply(this,arguments)}!function $n(){(0,U._registerComponent)(new Y.wA("remote-config",function E(w,{instanceIdentifier:M}){const Q=w.getProvider("app").getImmediate(),he=w.getProvider("installations-internal").getImmediate();if(typeof window>"u")throw er.create("registration-window");if(!(0,I.hl)())throw er.create("indexed-db-unavailable");const{projectId:He,apiKey:it,appId:pt}=Q.options;if(!He)throw er.create("registration-project-id");if(!it)throw er.create("registration-api-key");if(!pt)throw er.create("registration-app-id");const xt=new Tt(pt,Q.name,M=M||"firebase"),Bt=new Kt(xt),zt=new Z.Yd(oi);zt.logLevel=Z.in.ERROR;const qt=new hr(he,U.SDK_VERSION,M,He,it,pt),Nn=new Wr(qt,xt),$r=new Nr(Nn,xt,Bt,zt),qr=new Ni(Q,$r,Bt,xt,zt);return function Hi(E){const w=(0,I.m9)(E);w._initializePromise||(w._initializePromise=w._storageCache.loadFromStorage().then(()=>{w._isInitializationComplete=!0}))}(qr),qr},"PUBLIC").setMultipleInstances(!0)),(0,U.registerVersion)(oi,"0.4.4"),(0,U.registerVersion)(oi,"0.4.4","esm2017")}();const Er=(E,w)=>w.some(M=>E instanceof M);let Kr,dn;const Sr=new WeakMap,tr=new WeakMap,kr=new WeakMap,si=new WeakMap,mi=new WeakMap;let nr={get(E,w,M){if(E instanceof IDBTransaction){if("done"===w)return tr.get(E);if("objectStoreNames"===w)return E.objectStoreNames||kr.get(E);if("store"===w)return M.objectStoreNames[1]?void 0:M.objectStore(M.objectStoreNames[0])}return Yr(E[w])},set:(E,w,M)=>(E[w]=M,!0),has:(E,w)=>E instanceof IDBTransaction&&("done"===w||"store"===w)||w in E};function fi(E){return"function"==typeof E?function ls(E){return E!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?function Ci(){return dn||(dn=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}().includes(E)?function(...w){return E.apply(ai(this),w),Yr(Sr.get(this))}:function(...w){return Yr(E.apply(ai(this),w))}:function(w,...M){const Q=E.call(ai(this),w,...M);return kr.set(Q,w.sort?w.sort():[w]),Yr(Q)}}(E):(E instanceof IDBTransaction&&function wi(E){if(tr.has(E))return;const w=new Promise((M,Q)=>{const he=()=>{E.removeEventListener("complete",He),E.removeEventListener("error",it),E.removeEventListener("abort",it)},He=()=>{M(),he()},it=()=>{Q(E.error||new DOMException("AbortError","AbortError")),he()};E.addEventListener("complete",He),E.addEventListener("error",it),E.addEventListener("abort",it)});tr.set(E,w)}(E),Er(E,function di(){return Kr||(Kr=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}())?new Proxy(E,nr):E)}function Yr(E){if(E instanceof IDBRequest)return function En(E){const w=new Promise((M,Q)=>{const he=()=>{E.removeEventListener("success",He),E.removeEventListener("error",it)},He=()=>{M(Yr(E.result)),he()},it=()=>{Q(E.error),he()};E.addEventListener("success",He),E.addEventListener("error",it)});return w.then(M=>{M instanceof IDBCursor&&Sr.set(M,E)}).catch(()=>{}),mi.set(w,E),w}(E);if(si.has(E))return si.get(E);const w=fi(E);return w!==E&&(si.set(E,w),mi.set(w,E)),w}const ai=E=>mi.get(E);function ao(E,w,{blocked:M,upgrade:Q,blocking:he,terminated:He}={}){const it=indexedDB.open(E,w),pt=Yr(it);return Q&&it.addEventListener("upgradeneeded",xt=>{Q(Yr(it.result),xt.oldVersion,xt.newVersion,Yr(it.transaction))}),M&&it.addEventListener("blocked",()=>M()),pt.then(xt=>{He&&xt.addEventListener("close",()=>He()),he&&xt.addEventListener("versionchange",()=>he())}).catch(()=>{}),pt}function $i(E,{blocked:w}={}){const M=indexedDB.deleteDatabase(E);return w&&M.addEventListener("blocked",()=>w()),Yr(M).then(()=>{})}const No=["get","getKey","getAll","getAllKeys","count"],ea=["put","add","delete","clear"],cs=new Map;function us(E,w){var M;if(!(E instanceof IDBDatabase)||w in E||"string"!=typeof w)return;if(cs.get(w))return cs.get(w);const Q=w.replace(/FromIndex$/,""),he=w!==Q,He=ea.includes(Q);if(!(Q in(he?IDBIndex:IDBObjectStore).prototype)||!He&&!No.includes(Q))return;const it=function(xt){return(M=M||(0,W.Z)(function*(Bt,...zt){const qt=this.transaction(Bt,He?"readwrite":"readonly");let Nn=qt.store;return he&&(Nn=Nn.index(zt.shift())),(yield Promise.all([Nn[Q](...zt),He&&qt.done]))[0]})).apply(this,arguments)};return cs.set(w,it),it}var ws,xs,Us,Hs,pr,Wo,ko,lo,Ko,Ts,Ss,$s,Fo,Yo,Ms,gi,Lo,ei,_i,co;!function Fr(E){nr=E(nr)}(E=>({...E,get:(w,M,Q)=>us(w,M)||E.get(w,M,Q),has:(w,M)=>!!us(w,M)||E.has(w,M)}));const Do="/firebase-messaging-sw.js",li="/firebase-cloud-messaging-push-scope",ki="BDOU99-h67HcA6JeFXHbSNMu7e2yNNu3RzoMj8TM4W88jITfq7ZmPvIM1Iv-4_l2LxQcYwhqby2xGpWwzjfAnG4",ds="https://fcmregistrations.googleapis.com/v1",uo="google.c.a.c_id",Zo="google.c.a.c_l",eo="google.c.a.ts";var to=function(E){return E.PUSH_RECEIVED="push-received",E.NOTIFICATION_CLICKED="notification-clicked",E}(to||{});function Li(E){const w=new Uint8Array(E);return btoa(String.fromCharCode(...w)).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function fs(E){const M=(E+"=".repeat((4-E.length%4)%4)).replace(/\-/g,"+").replace(/_/g,"/"),Q=atob(M),he=new Uint8Array(Q.length);for(let He=0;He<Q.length;++He)he[He]=Q.charCodeAt(He);return he}const fo="fcm_token_details_db",Bo=5,zi="fcm_token_object_Store",hs="firebase-messaging-database",Qo=1,xi="firebase-messaging-store";let jo=null;function Jo(){return jo||(jo=ao(hs,Qo,{upgrade:(E,w)=>{0===w&&E.createObjectStore(xi)}})),jo}function As(E){return(xs=xs||(0,W.Z)(function*(w){const M=Co(w),he=yield(yield Jo()).transaction(xi).objectStore(xi).get(M);if(he)return he;{const He=yield function ho(E){return(ws=ws||(0,W.Z)(function*(w){var M;if("databases"in indexedDB&&!(yield indexedDB.databases()).map(pt=>pt.name).includes(fo))return null;let Q=null;return(yield ao(fo,Bo,{upgrade:function(it,pt,xt,Bt){return(M=M||(0,W.Z)(function*(zt,qt,Nn,$r){var qr;if(qt<2||!zt.objectStoreNames.contains(zi))return;const Zn=$r.objectStore(zi),Yi=yield Zn.index("fcmSenderId").get(w);if(yield Zn.clear(),Yi)if(2===qt){const mn=Yi;if(!mn.auth||!mn.p256dh||!mn.endpoint)return;Q={token:mn.fcmToken,createTime:null!==(qr=mn.createTime)&&void 0!==qr?qr:Date.now(),subscriptionOptions:{auth:mn.auth,p256dh:mn.p256dh,endpoint:mn.endpoint,swScope:mn.swScope,vapidKey:"string"==typeof mn.vapidKey?mn.vapidKey:Li(mn.vapidKey)}}}else if(3===qt){const mn=Yi;Q={token:mn.fcmToken,createTime:mn.createTime,subscriptionOptions:{auth:Li(mn.auth),p256dh:Li(mn.p256dh),endpoint:mn.endpoint,swScope:mn.swScope,vapidKey:Li(mn.vapidKey)}}}else if(4===qt){const mn=Yi;Q={token:mn.fcmToken,createTime:mn.createTime,subscriptionOptions:{auth:Li(mn.auth),p256dh:Li(mn.p256dh),endpoint:mn.endpoint,swScope:mn.swScope,vapidKey:Li(mn.vapidKey)}}}})).apply(this,arguments)}})).close(),yield $i(fo),yield $i("fcm_vapid_details_db"),yield $i("undefined"),function Is(E){if(!E||!E.subscriptionOptions)return!1;const{subscriptionOptions:w}=E;return"number"==typeof E.createTime&&E.createTime>0&&"string"==typeof E.token&&E.token.length>0&&"string"==typeof w.auth&&w.auth.length>0&&"string"==typeof w.p256dh&&w.p256dh.length>0&&"string"==typeof w.endpoint&&w.endpoint.length>0&&"string"==typeof w.swScope&&w.swScope.length>0&&"string"==typeof w.vapidKey&&w.vapidKey.length>0}(Q)?Q:null})).apply(this,arguments)}(w.appConfig.senderId);if(He)return yield qo(w,He),He}})).apply(this,arguments)}function qo(E,w){return(Us=Us||(0,W.Z)(function*(M,Q){const he=Co(M),it=(yield Jo()).transaction(xi,"readwrite");return yield it.objectStore(xi).put(Q,he),yield it.done,Q})).apply(this,arguments)}function Co({appConfig:E}){return E.appId}const Zr=new I.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 Vs(E,w){return(pr=pr||(0,W.Z)(function*(M,Q){const he=yield T(M),He=se(Q),it={method:"POST",headers:he,body:JSON.stringify(He)};let pt;try{pt=yield(yield fetch(f(M.appConfig),it)).json()}catch(xt){throw Zr.create("token-subscribe-failed",{errorInfo:xt?.toString()})}if(pt.error)throw Zr.create("token-subscribe-failed",{errorInfo:pt.error.message});if(!pt.token)throw Zr.create("token-subscribe-no-token");return pt.token})).apply(this,arguments)}function xo(E,w){return(ko=ko||(0,W.Z)(function*(M,Q){const He={method:"DELETE",headers:yield T(M)};try{const pt=yield(yield fetch(`${f(M.appConfig)}/${Q}`,He)).json();if(pt.error)throw Zr.create("token-unsubscribe-failed",{errorInfo:pt.error.message})}catch(it){throw Zr.create("token-unsubscribe-failed",{errorInfo:it?.toString()})}})).apply(this,arguments)}function f({projectId:E}){return`${ds}/projects/${E}/registrations`}function T(E){return(lo=lo||(0,W.Z)(function*({appConfig:w,installations:M}){const Q=yield M.getToken();return new Headers({"Content-Type":"application/json",Accept:"application/json","x-goog-api-key":w.apiKey,"x-goog-firebase-installations-auth":`FIS ${Q}`})})).apply(this,arguments)}function se({p256dh:E,auth:w,endpoint:M,vapidKey:Q}){const he={web:{endpoint:M,auth:w,p256dh:E}};return Q!==ki&&(he.web.applicationPubKey=Q),he}const b=6048e5;function $(E){return(Ko=Ko||(0,W.Z)(function*(w){const M=yield function hn(E,w){return(Fo=Fo||(0,W.Z)(function*(M,Q){return(yield M.pushManager.getSubscription())||M.pushManager.subscribe({userVisibleOnly:!0,applicationServerKey:fs(Q)})})).apply(this,arguments)}(w.swRegistration,w.vapidKey),Q={vapidKey:w.vapidKey,swScope:w.swRegistration.scope,endpoint:M.endpoint,auth:Li(M.getKey("auth")),p256dh:Li(M.getKey("p256dh"))},he=yield As(w.firebaseDependencies);if(he){if(function Vn(E,w){return w.vapidKey===E.vapidKey&&w.endpoint===E.endpoint&&w.auth===E.auth&&w.p256dh===E.p256dh}(he.subscriptionOptions,Q))return Date.now()>=he.createTime+b?function et(E,w){return(Ss=Ss||(0,W.Z)(function*(M,Q){try{const he=yield function wo(E,w){return(Wo=Wo||(0,W.Z)(function*(M,Q){const he=yield T(M),He=se(Q.subscriptionOptions),it={method:"PATCH",headers:he,body:JSON.stringify(He)};let pt;try{pt=yield(yield fetch(`${f(M.appConfig)}/${Q.token}`,it)).json()}catch(xt){throw Zr.create("token-update-failed",{errorInfo:xt?.toString()})}if(pt.error)throw Zr.create("token-update-failed",{errorInfo:pt.error.message});if(!pt.token)throw Zr.create("token-update-no-token");return pt.token})).apply(this,arguments)}(M.firebaseDependencies,Q),He=Object.assign(Object.assign({},Q),{token:he,createTime:Date.now()});return yield qo(M.firebaseDependencies,He),he}catch(he){throw yield function de(E){return(Ts=Ts||(0,W.Z)(function*(w){const M=yield As(w.firebaseDependencies);M&&(yield xo(w.firebaseDependencies,M.token),yield function Xo(E){return(Hs=Hs||(0,W.Z)(function*(w){const M=Co(w),he=(yield Jo()).transaction(xi,"readwrite");yield he.objectStore(xi).delete(M),yield he.done})).apply(this,arguments)}(w.firebaseDependencies));const Q=yield w.swRegistration.pushManager.getSubscription();return!Q||Q.unsubscribe()})).apply(this,arguments)}(M),he}})).apply(this,arguments)}(w,{token:he.token,createTime:Date.now(),subscriptionOptions:Q}):he.token;try{yield xo(w.firebaseDependencies,he.token)}catch(He){console.warn(He)}return _t(w.firebaseDependencies,Q)}return _t(w.firebaseDependencies,Q)})).apply(this,arguments)}function _t(E,w){return($s=$s||(0,W.Z)(function*(M,Q){const He={token:yield Vs(M,Q),createTime:Date.now(),subscriptionOptions:Q};return yield qo(M,He),He.token})).apply(this,arguments)}function Bn(E){const w={from:E.from,collapseKey:E.collapse_key,messageId:E.fcmMessageId};return function pn(E,w){if(!w.notification)return;E.notification={};const M=w.notification.title;M&&(E.notification.title=M);const Q=w.notification.body;Q&&(E.notification.body=Q);const he=w.notification.image;he&&(E.notification.image=he);const He=w.notification.icon;He&&(E.notification.icon=He)}(w,E),function cr(E,w){w.data&&(E.data=w.data)}(w,E),function qn(E,w){var M,Q,he,He,it;if(!(w.fcmOptions||null!==(M=w.notification)&&void 0!==M&&M.click_action))return;E.fcmOptions={};const pt=null!==(he=null===(Q=w.fcmOptions)||void 0===Q?void 0:Q.link)&&void 0!==he?he:null===(He=w.notification)||void 0===He?void 0:He.click_action;pt&&(E.fcmOptions.link=pt);const xt=null===(it=w.fcmOptions)||void 0===it?void 0:it.analytics_label;xt&&(E.fcmOptions.analyticsLabel=xt)}(w,E),w}function vi(E,w){const M=[];for(let Q=0;Q<E.length;Q++)M.push(E.charAt(Q)),Q<w.length&&M.push(w.charAt(Q));return M.join("")}function Si(E){return Zr.create("missing-app-config-values",{valueName:E})}vi("hts/frbslgigp.ogepscmv/ieo/eaylg","tp:/ieaeogn-agolai.o/1frlglgc/o"),vi("AzSCbw63g1R0nCw85jG8","Iaya3yLKwmgvh7cF0q4");class yi{constructor(w,M,Q){this.deliveryMetricsExportedToBigQueryEnabled=!1,this.onBackgroundMessageHandler=null,this.onMessageHandler=null,this.logEvents=[],this.isLogServiceStarted=!1;const he=function Ti(E){if(!E||!E.options)throw Si("App Configuration Object");if(!E.name)throw Si("App Name");const w=["projectId","apiKey","appId","messagingSenderId"],{options:M}=E;for(const Q of w)if(!M[Q])throw Si(Q);return{appName:E.name,projectId:M.projectId,apiKey:M.apiKey,appId:M.appId,senderId:M.messagingSenderId}}(w);this.firebaseDependencies={app:w,appConfig:he,installations:M,analyticsProvider:Q}}_delete(){return Promise.resolve()}}function Xn(E,w){return(Lo=Lo||(0,W.Z)(function*(M,Q){if(!navigator)throw Zr.create("only-available-in-window");if("default"===Notification.permission&&(yield Notification.requestPermission()),"granted"!==Notification.permission)throw Zr.create("permission-blocked");return yield function no(E,w){return(gi=gi||(0,W.Z)(function*(M,Q){Q?M.vapidKey=Q:M.vapidKey||(M.vapidKey=ki)})).apply(this,arguments)}(M,Q?.vapidKey),yield function xr(E,w){return(Ms=Ms||(0,W.Z)(function*(M,Q){if(!Q&&!M.swRegistration&&(yield function Lr(E){return(Yo=Yo||(0,W.Z)(function*(w){try{w.swRegistration=yield navigator.serviceWorker.register(Do,{scope:li}),w.swRegistration.update().catch(()=>{})}catch(M){throw Zr.create("failed-service-worker-registration",{browserErrorMessage:M?.message})}})).apply(this,arguments)}(M)),Q||!M.swRegistration){if(!(Q instanceof ServiceWorkerRegistration))throw Zr.create("invalid-sw-registration");M.swRegistration=Q}})).apply(this,arguments)}(M,Q?.serviceWorkerRegistration),$(M)})).apply(this,arguments)}function ci(E,w){return(_i=_i||(0,W.Z)(function*(M,Q){const he=Q.data;if(!he.isFirebaseMessaging)return;M.onMessageHandler&&he.messageType===to.PUSH_RECEIVED&&("function"==typeof M.onMessageHandler?M.onMessageHandler(Bn(he)):M.onMessageHandler.next(Bn(he)));const He=he.data;(function mr(E){return"object"==typeof E&&!!E&&uo in E})(He)&&"1"===He["google.c.a.e"]&&(yield function Uo(E,w,M){return(ei=ei||(0,W.Z)(function*(Q,he,He){const it=function ts(E){switch(E){case to.NOTIFICATION_CLICKED:return"notification_open";case to.PUSH_RECEIVED:return"notification_foreground";default:throw new Error}}(he);(yield Q.firebaseDependencies.analyticsProvider.get()).logEvent(it,{message_id:He[uo],message_name:He[Zo],message_time:He[eo],message_device_time:Math.floor(Date.now()/1e3)})})).apply(this,arguments)}(M,he.messageType,He))})).apply(this,arguments)}const Os="@firebase/messaging",ns=E=>{const w=new yi(E.getProvider("app").getImmediate(),E.getProvider("installations-internal").getImmediate(),E.getProvider("analytics-internal"));return navigator.serviceWorker.addEventListener("message",M=>ci(w,M)),w},bi=E=>{const w=E.getProvider("messaging").getImmediate();return{getToken:Q=>Xn(w,Q)}};function C(){return(co=co||(0,W.Z)(function*(){try{yield(0,I.eu)()}catch{return!1}return typeof window<"u"&&(0,I.hl)()&&(0,I.zI)()&&"serviceWorker"in navigator&&"PushManager"in window&&"Notification"in window&&"fetch"in window&&ServiceWorkerRegistration.prototype.hasOwnProperty("showNotification")&&PushSubscription.prototype.hasOwnProperty("getKey")})).apply(this,arguments)}var Ee,ze,Fe,Ft,Rt,Dn,Hr,ni,Qr;!function Ps(){(0,U._registerComponent)(new Y.wA("messaging",ns,"PUBLIC")),(0,U._registerComponent)(new Y.wA("messaging-internal",bi,"PRIVATE")),(0,U.registerVersion)(Os,"0.12.4"),(0,U.registerVersion)(Os,"0.12.4","esm2017")}();const ct="analytics",an="firebase_id",Gi="origin",Wi=6e4,gr="https://firebase.googleapis.com/v1alpha/projects/-/apps/{app-id}/webConfig",rs="https://www.googletagmanager.com/gtag/js",ur=new Z.Yd("@firebase/analytics"),jr=new I.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.',"no-client-id":'The "client_id" field is empty.',"invalid-gtag-resource":"Trusted Types detected an invalid gtag resource: {$gtagURL}."});function ps(E){if(!E.startsWith(rs)){const w=jr.create("invalid-gtag-resource",{gtagURL:E});return ur.warn(w.message),""}return E}function Ht(E){return Promise.all(E.map(w=>w.catch(M=>M)))}const p=30,q=new class j{constructor(w={},M=1e3){this.throttleMetadata=w,this.intervalMillis=M}getThrottleMetadata(w){return this.throttleMetadata[w]}setThrottleMetadata(w,M){this.throttleMetadata[w]=M}deleteThrottleMetadata(w){delete this.throttleMetadata[w]}};function Ne(E){return new Headers({Accept:"application/json","x-goog-api-key":E})}function tt(E){return(Ft=Ft||(0,W.Z)(function*(w,M=q,Q){const{appId:he,apiKey:He,measurementId:it}=w.options;if(!he)throw jr.create("no-app-id");if(!He){if(it)return{measurementId:it,appId:he};throw jr.create("no-api-key")}const pt=M.getThrottleMetadata(he)||{backoffCount:0,throttleEndTimeMillis:Date.now()},xt=new Yn;return setTimeout((0,W.Z)(function*(){xt.abort()}),void 0!==Q?Q:Wi),Zt({appId:he,apiKey:He,measurementId:it},pt,xt,M)})).apply(this,arguments)}function Zt(E,w,M){return(Rt=Rt||(0,W.Z)(function*(Q,{throttleEndTimeMillis:he,backoffCount:He},it,pt=q){var xt;const{appId:Bt,measurementId:zt}=Q;try{yield function Sn(E,w){return new Promise((M,Q)=>{const he=Math.max(w-Date.now(),0),He=setTimeout(M,he);E.addEventListener(()=>{clearTimeout(He),Q(jr.create("fetch-throttle",{throttleEndTimeMillis:w}))})})}(it,he)}catch(qt){if(zt)return ur.warn(`Timed out fetching this Firebase app's measurement ID from the server. Falling back to the measurement ID ${zt} provided in the "measurementId" field in the local Firebase config. [${qt?.message}]`),{appId:Bt,measurementId:zt};throw qt}try{const qt=yield function bt(E){return(Fe=Fe||(0,W.Z)(function*(w){var M;const{appId:Q,apiKey:he}=w,He={method:"GET",headers:Ne(he)},it=gr.replace("{app-id}",Q),pt=yield fetch(it,He);if(200!==pt.status&&304!==pt.status){let xt="";try{const Bt=yield pt.json();null!==(M=Bt.error)&&void 0!==M&&M.message&&(xt=Bt.error.message)}catch{}throw jr.create("config-fetch-failed",{httpStatus:pt.status,responseMessage:xt})}return pt.json()})).apply(this,arguments)}(Q);return pt.deleteThrottleMetadata(Bt),qt}catch(qt){const Nn=qt;if(!function Ur(E){if(!(E instanceof I.ZR&&E.customData))return!1;const w=Number(E.customData.httpStatus);return 429===w||500===w||503===w||504===w}(Nn)){if(pt.deleteThrottleMetadata(Bt),zt)return ur.warn(`Failed to fetch this Firebase app's measurement ID from the server. Falling back to the measurement ID ${zt} provided in the "measurementId" field in the local Firebase config. [${Nn?.message}]`),{appId:Bt,measurementId:zt};throw qt}const $r=503===Number(null===(xt=Nn?.customData)||void 0===xt?void 0:xt.httpStatus)?(0,I.$s)(He,pt.intervalMillis,p):(0,I.$s)(He,pt.intervalMillis),qr={throttleEndTimeMillis:Date.now()+$r,backoffCount:He+1};return pt.setThrottleMetadata(Bt,qr),ur.debug(`Calling attemptFetch again in ${$r} millis`),Zt(Q,qr,it,pt)}})).apply(this,arguments)}class Yn{constructor(){this.listeners=[]}addEventListener(w){this.listeners.push(w)}abort(){this.listeners.forEach(w=>w())}}let Mi,is;function Wl(E,w,M,Q,he,He,it){return(ni=ni||(0,W.Z)(function*(pt,xt,Bt,zt,qt,Nn,$r){var qr;const Zn=tt(pt);Zn.then(io=>{Bt[io.measurementId]=io.appId,pt.options.measurementId&&io.measurementId!==pt.options.measurementId&&ur.warn(`The measurement ID in the local Firebase config (${pt.options.measurementId}) does not match the measurement ID fetched from the server (${io.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(io=>ur.error(io)),xt.push(Zn);const Yi=function uu(){return(Hr=Hr||(0,W.Z)(function*(){if(!(0,I.hl)())return ur.warn(jr.create("indexeddb-unavailable",{errorInfo:"IndexedDB is not available in this environment."}).message),!1;try{yield(0,I.eu)()}catch(E){return ur.warn(jr.create("indexeddb-unavailable",{errorInfo:E?.toString()}).message),!1}return!0})).apply(this,arguments)}().then(io=>{if(io)return zt.getId()}),[mn,Mo]=yield Promise.all([Zn,Yi]);(function y(E){const w=window.document.getElementsByTagName("script");for(const M of Object.values(w))if(M.src&&M.src.includes(rs)&&M.src.includes(E))return M;return null})(Nn)||function nn(E,w){const M=function tn(E,w){let M;return window.trustedTypes&&(M=window.trustedTypes.createPolicy(E,w)),M}("firebase-js-sdk-policy",{createScriptURL:ps}),Q=document.createElement("script"),he=`${rs}?l=${E}&id=${w}`;Q.src=M?M?.createScriptURL(he):he,Q.async=!0,document.head.appendChild(Q)}(Nn,mn.measurementId),is&&(qt("consent","default",is),function Ir(E){is=E}(void 0)),qt("js",new Date);const hi=null!==(qr=$r?.config)&&void 0!==qr?qr:{};return hi[Gi]="firebase",hi.update=!0,null!=Mo&&(hi[an]=Mo),qt("config",mn.measurementId,hi),Mi&&(qt("set",Mi),function il(E){Mi=E}(void 0)),mn.measurementId})).apply(this,arguments)}class du{constructor(w){this.app=w}_delete(){return delete To[this.app.options.appId],Promise.resolve()}}let To={},ol=[];const ta={};let na,ro,So="dataLayer",Ws=!1;function Ql(E,w,M){!function Zl(){const E=[];if((0,I.ru)()&&E.push("This is a browser extension environment."),(0,I.zI)()||E.push("Cookies are not available."),E.length>0){const w=E.map((Q,he)=>`(${he+1}) ${Q}`).join(" "),M=jr.create("invalid-analytics-context",{errorInfo:w});ur.warn(M.message)}}();const Q=E.options.appId;if(!Q)throw jr.create("no-app-id");if(!E.options.apiKey){if(!E.options.measurementId)throw jr.create("no-api-key");ur.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 ${E.options.measurementId} provided in the "measurementId" field in the local Firebase config.`)}if(null!=To[Q])throw jr.create("already-exists",{id:Q});if(!Ws){!function fn(E){let w=[];Array.isArray(window[E])?w=window[E]:window[E]=w}(So);const{wrappedGtag:He,gtagCore:it}=function h(E,w,M,Q,he){let He=function(...it){window[Q].push(arguments)};return window[he]&&"function"==typeof window[he]&&(He=window[he]),window[he]=function d(E,w,M,Q){var he;return function He(it){return(he=he||(0,W.Z)(function*(pt,...xt){try{if("event"===pt){const[Bt,zt]=xt;yield function Ki(E,w,M,Q,he){return(ze=ze||(0,W.Z)(function*(He,it,pt,xt,Bt){try{let zt=[];if(Bt&&Bt.send_to){let qt=Bt.send_to;Array.isArray(qt)||(qt=[qt]);const Nn=yield Ht(pt);for(const $r of qt){const qr=Nn.find(Yi=>Yi.measurementId===$r),Zn=qr&&it[qr.appId];if(!Zn){zt=[];break}zt.push(Zn)}}0===zt.length&&(zt=Object.values(it)),yield Promise.all(zt),He("event",xt,Bt||{})}catch(zt){ur.error(zt)}})).apply(this,arguments)}(E,w,M,Bt,zt)}else if("config"===pt){const[Bt,zt]=xt;yield function _r(E,w,M,Q,he,He){return(Ee=Ee||(0,W.Z)(function*(it,pt,xt,Bt,zt,qt){const Nn=Bt[zt];try{if(Nn)yield pt[Nn];else{const qr=(yield Ht(xt)).find(Zn=>Zn.measurementId===zt);qr&&(yield pt[qr.appId])}}catch($r){ur.error($r)}it("config",zt,qt)})).apply(this,arguments)}(E,w,M,Q,Bt,zt)}else if("consent"===pt){const[Bt]=xt;E("consent","update",Bt)}else if("get"===pt){const[Bt,zt,qt]=xt;E("get",Bt,zt,qt)}else if("set"===pt){const[Bt]=xt;E("set",Bt)}else E(pt,...xt)}catch(Bt){ur.error(Bt)}})).apply(this,arguments)}}(He,E,w,M),{gtagCore:He,wrappedGtag:window[he]}}(To,ol,ta,So,"gtag");ro=He,na=it,Ws=!0}return To[Q]=Wl(E,ol,ta,w,na,So,M),new du(E)}function ra(){return(Qr=Qr||(0,W.Z)(function*(){if((0,I.ru)()||!(0,I.zI)()||!(0,I.hl)())return!1;try{return yield(0,I.eu)()}catch{return!1}})).apply(this,arguments)}const _a="@firebase/analytics";!function fu(){(0,U._registerComponent)(new Y.wA(ct,(w,{options:M})=>Ql(w.getProvider("app").getImmediate(),w.getProvider("installations-internal").getImmediate(),M),"PUBLIC")),(0,U._registerComponent)(new Y.wA("analytics-internal",function E(w){try{const M=w.getProvider(ct).getImmediate();return{logEvent:(Q,he,He)=>function zf(E,w,M,Q){E=(0,I.m9)(E),function ms(E,w,M,Q,he){return(Dn=Dn||(0,W.Z)(function*(He,it,pt,xt,Bt){if(Bt&&Bt.global)He("event",pt,xt);else{const zt=yield it;He("event",pt,Object.assign(Object.assign({},xt),{send_to:zt}))}})).apply(this,arguments)}(ro,To[E.app.options.appId],w,M,Q).catch(he=>ur.error(he))}(M,Q,he,He)}}catch(M){throw jr.create("interop-component-reg-failed",{reason:M})}},"PRIVATE")),(0,U.registerVersion)(_a,"0.10.0"),(0,U.registerVersion)(_a,"0.10.0","esm2017")}();var ia=v(1954),va=v(2631);const ql=new class Gf extends va.v{}(class sl extends ia.o{constructor(w,M){super(w,M),this.scheduler=w,this.work=M}schedule(w,M=0){return M>0?super.schedule(w,M):(this.delay=M,this.state=w,this.scheduler.flush(this),this)}execute(w,M){return M>0||this.closed?super.execute(w,M):this._execute(w,M)}requestAsyncId(w,M,Q=0){return null!=Q&&Q>0||null==Q&&this.delay>0?super.requestAsyncId(w,M,Q):(w.flush(this),0)}});var pu=v(6321),$o=v(9397),mu=v(5137),ya=v(3093);const al=new s.GfV("7.6.1"),ba="__angularfire_symbol__analyticsIsSupportedValue",Zs="__angularfire_symbol__analyticsIsSupported",oa="__angularfire_symbol__remoteConfigIsSupportedValue",ll="__angularfire_symbol__remoteConfigIsSupported",Ea="__angularfire_symbol__messagingIsSupportedValue",Da="__angularfire_symbol__messagingIsSupported";function Rs(E,w,M){if(w){if(1===w.length)return w[0];const He=w.filter(it=>it.app===M);if(1===He.length)return He[0]}return M.container.getProvider(E).getImmediate({optional:!0})}globalThis[Zs]||(globalThis[Zs]=ra().then(E=>globalThis[ba]=E).catch(()=>globalThis[ba]=!1)),globalThis[Da]||(globalThis[Da]=C().then(E=>globalThis[Ea]=E).catch(()=>globalThis[Ea]=!1)),globalThis[ll]||(globalThis[ll]=yn().then(E=>globalThis[oa]=E).catch(()=>globalThis[oa]=!1));const _u=(E,w)=>{const M=w?[w]:(0,m.C6)(),Q=[];return M.forEach(he=>{he.container.getProvider(E).instances.forEach(it=>{Q.includes(it)||Q.push(it)})}),Q};function Ns(){}class ul{constructor(w,M=ql){this.zone=w,this.delegate=M}now(){return this.delegate.now()}schedule(w,M,Q){const he=this.zone;return this.delegate.schedule(function(it){he.runGuarded(()=>{w.apply(this,[it])})},M,Q)}}class sa{constructor(w){this.zone=w,this.task=null}call(w,M){const Q=this.unscheduleTask.bind(this);return this.task=this.zone.run(()=>Zone.current.scheduleMacroTask("firebaseZoneBlock",Ns,{},Ns,Ns)),M.pipe((0,$o.b)({next:Q,complete:Q,error:Q})).subscribe(w).add(Q)}unscheduleTask(){setTimeout(()=>{null!=this.task&&"scheduled"===this.task.state&&(this.task.invoke(),this.task=null)},10)}}let vu=(()=>{class E{constructor(M){this.ngZone=M,this.outsideAngular=M.runOutsideAngular(()=>new ul(Zone.current)),this.insideAngular=M.run(()=>new ul(Zone.current,pu.z)),globalThis.\u0275AngularFireScheduler||(globalThis.\u0275AngularFireScheduler=this)}}return E.\u0275fac=function(M){return new(M||E)(s.LFG(s.R0b))},E.\u0275prov=s.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"}),E})();function Jr(){const E=globalThis.\u0275AngularFireScheduler;if(!E)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 E}function dl(E){return Jr(),function fl(E){return function(M){return(M=M.lift(new sa(E.ngZone))).pipe((0,mu.R)(E.outsideAngular),(0,ya.Q)(E.insideAngular))}}(Jr())(E)}},9058:(ft,De,v)=>{v.d(De,{$s:()=>st,BH:()=>ie,L:()=>te,LL:()=>dt,Pz:()=>z,UG:()=>Ge,US:()=>Y,ZB:()=>fe,ZR:()=>lt,aH:()=>G,b$:()=>Mt,eu:()=>$e,hl:()=>Ue,jU:()=>nt,m9:()=>Jn,ne:()=>rn,pd:()=>jt,r3:()=>vt,ru:()=>ht,tV:()=>H,uI:()=>xe,vZ:()=>Ct,w1:()=>Gt,xO:()=>On,xb:()=>Mn,z$:()=>ge,zI:()=>Ye,zd:()=>Nt});const U=function(pe){const B=[];let k=0;for(let O=0;O<pe.length;O++){let D=pe.charCodeAt(O);D<128?B[k++]=D:D<2048?(B[k++]=D>>6|192,B[k++]=63&D|128):55296==(64512&D)&&O+1<pe.length&&56320==(64512&pe.charCodeAt(O+1))?(D=65536+((1023&D)<<10)+(1023&pe.charCodeAt(++O)),B[k++]=D>>18|240,B[k++]=D>>12&63|128,B[k++]=D>>6&63|128,B[k++]=63&D|128):(B[k++]=D>>12|224,B[k++]=D>>6&63|128,B[k++]=63&D|128)}return B},Y={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(pe,B){if(!Array.isArray(pe))throw Error("encodeByteArray takes an array as a parameter");this.init_();const k=B?this.byteToCharMapWebSafe_:this.byteToCharMap_,O=[];for(let D=0;D<pe.length;D+=3){const F=pe[D],R=D+1<pe.length,P=R?pe[D+1]:0,V=D+2<pe.length,me=V?pe[D+2]:0;let je=(15&P)<<2|me>>6,oe=63&me;V||(oe=64,R||(je=64)),O.push(k[F>>2],k[(3&F)<<4|P>>4],k[je],k[oe])}return O.join("")},encodeString(pe,B){return this.HAS_NATIVE_SUPPORT&&!B?btoa(pe):this.encodeByteArray(U(pe),B)},decodeString(pe,B){return this.HAS_NATIVE_SUPPORT&&!B?atob(pe):function(pe){const B=[];let k=0,O=0;for(;k<pe.length;){const D=pe[k++];if(D<128)B[O++]=String.fromCharCode(D);else if(D>191&&D<224){const F=pe[k++];B[O++]=String.fromCharCode((31&D)<<6|63&F)}else if(D>239&&D<365){const V=((7&D)<<18|(63&pe[k++])<<12|(63&pe[k++])<<6|63&pe[k++])-65536;B[O++]=String.fromCharCode(55296+(V>>10)),B[O++]=String.fromCharCode(56320+(1023&V))}else{const F=pe[k++],R=pe[k++];B[O++]=String.fromCharCode((15&D)<<12|(63&F)<<6|63&R)}}return B.join("")}(this.decodeStringToByteArray(pe,B))},decodeStringToByteArray(pe,B){this.init_();const k=B?this.charToByteMapWebSafe_:this.charToByteMap_,O=[];for(let D=0;D<pe.length;){const F=k[pe.charAt(D++)],P=D<pe.length?k[pe.charAt(D)]:0;++D;const me=D<pe.length?k[pe.charAt(D)]:64;++D;const le=D<pe.length?k[pe.charAt(D)]:64;if(++D,null==F||null==P||null==me||null==le)throw new Z;O.push(F<<2|P>>4),64!==me&&(O.push(P<<4&240|me>>2),64!==le&&O.push(me<<6&192|le))}return O},init_(){if(!this.byteToCharMap_){this.byteToCharMap_={},this.charToByteMap_={},this.byteToCharMapWebSafe_={},this.charToByteMapWebSafe_={};for(let pe=0;pe<this.ENCODED_VALS.length;pe++)this.byteToCharMap_[pe]=this.ENCODED_VALS.charAt(pe),this.charToByteMap_[this.byteToCharMap_[pe]]=pe,this.byteToCharMapWebSafe_[pe]=this.ENCODED_VALS_WEBSAFE.charAt(pe),this.charToByteMapWebSafe_[this.byteToCharMapWebSafe_[pe]]=pe,pe>=this.ENCODED_VALS_BASE.length&&(this.charToByteMap_[this.ENCODED_VALS_WEBSAFE.charAt(pe)]=pe,this.charToByteMapWebSafe_[this.ENCODED_VALS.charAt(pe)]=pe)}}};class Z extends Error{constructor(){super(...arguments),this.name="DecodeBase64StringError"}}const te=function(pe){return function(pe){const B=U(pe);return Y.encodeByteArray(B,!0)}(pe).replace(/\./g,"")},H=function(pe){try{return Y.decodeString(pe,!0)}catch(B){console.error("base64Decode failed: ",B)}return null};function fe(pe,B){if(!(B instanceof Object))return B;switch(B.constructor){case Date:return new Date(B.getTime());case Object:void 0===pe&&(pe={});break;case Array:pe=[];break;default:return B}for(const k in B)!B.hasOwnProperty(k)||!Se(k)||(pe[k]=fe(pe[k],B[k]));return pe}function Se(pe){return"__proto__"!==pe}const Ve=()=>{try{return function Ie(){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 pe=process.env.__FIREBASE_DEFAULTS__;return pe?JSON.parse(pe):void 0})()||(()=>{if(typeof document>"u")return;let pe;try{pe=document.cookie.match(/__FIREBASE_DEFAULTS__=([^;]+)/)}catch{return}const B=pe&&H(pe[1]);return B&&JSON.parse(B)})()}catch(pe){return void console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${pe}`)}},G=()=>{var pe;return null===(pe=Ve())||void 0===pe?void 0:pe.config},z=pe=>{var B;return null===(B=Ve())||void 0===B?void 0:B[`_${pe}`]};class ie{constructor(){this.reject=()=>{},this.resolve=()=>{},this.promise=new Promise((B,k)=>{this.resolve=B,this.reject=k})}wrapCallback(B){return(k,O)=>{k?this.reject(k):this.resolve(O),"function"==typeof B&&(this.promise.catch(()=>{}),1===B.length?B(k):B(k,O))}}}function ge(){return typeof navigator<"u"&&"string"==typeof navigator.userAgent?navigator.userAgent:""}function xe(){return typeof window<"u"&&!!(window.cordova||window.phonegap||window.PhoneGap)&&/ios|iphone|ipod|ipad|android|blackberry|iemobile/i.test(ge())}function Ge(){var pe;const B=null===(pe=Ve())||void 0===pe?void 0:pe.forceEnvironment;if("node"===B)return!0;if("browser"===B)return!1;try{return"[object process]"===Object.prototype.toString.call(global.process)}catch{return!1}}function nt(){return"object"==typeof self&&self.self===self}function ht(){const pe="object"==typeof chrome?chrome.runtime:"object"==typeof browser?browser.runtime:void 0;return"object"==typeof pe&&void 0!==pe.id}function Mt(){return"object"==typeof navigator&&"ReactNative"===navigator.product}function Gt(){const pe=ge();return pe.indexOf("MSIE ")>=0||pe.indexOf("Trident/")>=0}function Ue(){try{return"object"==typeof indexedDB}catch{return!1}}function $e(){return new Promise((pe,B)=>{try{let k=!0;const O="validate-browser-context-for-indexeddb-analytics-module",D=self.indexedDB.open(O);D.onsuccess=()=>{D.result.close(),k||self.indexedDB.deleteDatabase(O),pe(!0)},D.onupgradeneeded=()=>{k=!1},D.onerror=()=>{var F;B((null===(F=D.error)||void 0===F?void 0:F.message)||"")}}catch(k){B(k)}})}function Ye(){return!(typeof navigator>"u"||!navigator.cookieEnabled)}class lt extends Error{constructor(B,k,O){super(k),this.code=B,this.customData=O,this.name="FirebaseError",Object.setPrototypeOf(this,lt.prototype),Error.captureStackTrace&&Error.captureStackTrace(this,dt.prototype.create)}}class dt{constructor(B,k,O){this.service=B,this.serviceName=k,this.errors=O}create(B,...k){const O=k[0]||{},D=`${this.service}/${B}`,F=this.errors[B],R=F?function At(pe,B){return pe.replace(ve,(k,O)=>{const D=B[O];return null!=D?String(D):`<${O}?>`})}(F,O):"Error";return new lt(D,`${this.serviceName}: ${R} (${D}).`,O)}}const ve=/\{\$([^}]+)}/g;function vt(pe,B){return Object.prototype.hasOwnProperty.call(pe,B)}function Mn(pe){for(const B in pe)if(Object.prototype.hasOwnProperty.call(pe,B))return!1;return!0}function Ct(pe,B){if(pe===B)return!0;const k=Object.keys(pe),O=Object.keys(B);for(const D of k){if(!O.includes(D))return!1;const F=pe[D],R=B[D];if(ir(F)&&ir(R)){if(!Ct(F,R))return!1}else if(F!==R)return!1}for(const D of O)if(!k.includes(D))return!1;return!0}function ir(pe){return null!==pe&&"object"==typeof pe}function On(pe){const B=[];for(const[k,O]of Object.entries(pe))Array.isArray(O)?O.forEach(D=>{B.push(encodeURIComponent(k)+"="+encodeURIComponent(D))}):B.push(encodeURIComponent(k)+"="+encodeURIComponent(O));return B.length?"&"+B.join("&"):""}function Nt(pe){const B={};return pe.replace(/^\?/,"").split("&").forEach(O=>{if(O){const[D,F]=O.split("=");B[decodeURIComponent(D)]=decodeURIComponent(F)}}),B}function jt(pe){const B=pe.indexOf("?");if(!B)return"";const k=pe.indexOf("#",B);return pe.substring(B,k>0?k:void 0)}function rn(pe,B){const k=new Xt(pe,B);return k.subscribe.bind(k)}class Xt{constructor(B,k){this.observers=[],this.unsubscribes=[],this.observerCount=0,this.task=Promise.resolve(),this.finalized=!1,this.onNoObservers=k,this.task.then(()=>{B(this)}).catch(O=>{this.error(O)})}next(B){this.forEachObserver(k=>{k.next(B)})}error(B){this.forEachObserver(k=>{k.error(B)}),this.close(B)}complete(){this.forEachObserver(B=>{B.complete()}),this.close()}subscribe(B,k,O){let D;if(void 0===B&&void 0===k&&void 0===O)throw new Error("Missing Observer.");D=function cn(pe,B){if("object"!=typeof pe||null===pe)return!1;for(const k of B)if(k in pe&&"function"==typeof pe[k])return!0;return!1}(B,["next","error","complete"])?B:{next:B,error:k,complete:O},void 0===D.next&&(D.next=_n),void 0===D.error&&(D.error=_n),void 0===D.complete&&(D.complete=_n);const F=this.unsubscribeOne.bind(this,this.observers.length);return this.finalized&&this.task.then(()=>{try{this.finalError?D.error(this.finalError):D.complete()}catch{}}),this.observers.push(D),F}unsubscribeOne(B){void 0===this.observers||void 0===this.observers[B]||(delete this.observers[B],this.observerCount-=1,0===this.observerCount&&void 0!==this.onNoObservers&&this.onNoObservers(this))}forEachObserver(B){if(!this.finalized)for(let k=0;k<this.observers.length;k++)this.sendOne(k,B)}sendOne(B,k){this.task.then(()=>{if(void 0!==this.observers&&void 0!==this.observers[B])try{k(this.observers[B])}catch(O){typeof console<"u"&&console.error&&console.error(O)}})}close(B){this.finalized||(this.finalized=!0,void 0!==B&&(this.finalError=B),this.task.then(()=>{this.observers=void 0,this.onNoObservers=void 0}))}}function _n(){}const Ze=1e3,Dt=2,yt=144e5,We=.5;function st(pe,B=Ze,k=Dt){const O=B*Math.pow(k,pe),D=Math.round(We*O*(Math.random()-.5)*2);return Math.min(yt,O+D)}function Jn(pe){return pe&&pe._delegate?pe._delegate:pe}},4750:(ft,De,v)=>{v.d(De,{e:()=>fe});var s=v(9397),m=v(2459),W=v(7398),U=v(4664),I=v(3106),Y=v(5802),Z=v(5879),re=v(9659),te=v(6639),H=v(6897),J=v(8253);let fe=(()=>{var Se;class Ie{constructor(we,Je,Ve,ut){this.httpService=we,this.tokenDecodeService=Je,this.afAuth=Ve,this.ngxPermission=ut}login(we){return this.httpService.post("/api/token/Login",we).pipe((0,s.b)(Je=>{this.setLocalStorage(Je,we.Host,we.Username),this.loadPermissions()}))}loginWithGoogle(we,Je){we.preventDefault();const Ve=new I.Z.auth.GoogleAuthProvider;return Ve.setCustomParameters({prompt:"select_account"}),(0,m.D)(this.afAuth.signInWithPopup(Ve)).pipe((0,W.U)(ut=>ut.credential),(0,W.U)(ut=>ut.idToken),(0,U.w)(ut=>this.httpService.post("/api/token/LoginWithSocialProvider",JSON.stringify({IDToken:ut,Host:Je}))),(0,s.b)(ut=>{this.setLocalStorage(ut,Je,null),this.loadPermissions()}))}setLocalStorage(we,Je,Ve){localStorage.setItem("user",JSON.stringify(we)),localStorage.setItem("Authorization",JSON.stringify({Host:Je,username:Ve})),localStorage.setItem("Intercom",JSON.stringify(we.IntercomWidget))}loadPermissions(){this.ngxPermission.loadPermissions([]);let we=localStorage.getItem("user");if(Y.g.IsNotEmpty(we)){let Je=this.tokenDecodeService.GetRoles();this.ngxPermission.loadPermissions(Je)}}logout(){this.clearLocalStorage(),this.ngxPermission.flushPermissions()}isActiveToken(){let we=JSON.parse(window.localStorage.getItem("user"));return null!=we&&(new Date<new Date(we.Token.expiredAt)||(this.clearLocalStorage(),!1))}getDomain(){if(!this.domain){const we=localStorage.getItem("Authorization");this.domain="https://"+JSON.parse(we).Host}return this.domain}clearLocalStorage(){localStorage.removeItem("Intercom"),localStorage.removeItem("Authorization"),localStorage.removeItem("user")}}return(Se=Ie).\u0275fac=function(we){return new(we||Se)(Z.LFG(re.O),Z.LFG(te.e),Z.LFG(H.zQ),Z.LFG(J.YI))},Se.\u0275prov=Z.Yz7({token:Se,factory:Se.\u0275fac,providedIn:"root"}),Ie})()},5802:(ft,De,v)=>{v.d(De,{g:()=>W});var s=v(851),m=v(754);let W=(()=>{var U;class I{static IsNotEmpty(Z){return""!=Z&&Z!=I.GuidEMpty&&null!=Z&&null!=Z}static IsEmpty(Z){return""==Z||null==Z||null==Z||Z==I.GuidEMpty}static getChannelLogoByTypeId(Z){let re;switch(Z){case m.x.Tokopedia:re=s.$.TOKOPEDIA;break;case m.x.ShopeeV2:re=s.$.SHOOPE;break;case m.x.WooCommerce:re=s.$.WOOCOMMERCE;break;case m.x.Lazada:re=s.$.LAZADA;break;case m.x.Tiktok:re=s.$.TIKTOK;break;case m.x.KalCare:re=s.$.KALCARE}return re}static getChannelLogoByName(Z=""){let re;switch(Z=Z.toLowerCase()){case"tokopedia":re=s.$.TOKOPEDIA;break;case"shoppe":re=s.$.SHOOPE;break;case"woocommerce":re=s.$.WOOCOMMERCE;break;case"tiktok":re=s.$.TIKTOK;break;case"lazada":re=s.$.LAZADA;break;case"kalCare":re=s.$.KALCARE}return re}static getChannelName(Z){let re;switch(Z){case m.x.ShopeeV2:re="Shopee";break;case m.x.Tokopedia:re="Tokopedia";break;case m.x.Lazada:re="Lazada";break;case m.x.Tiktok:re="Tiktok";break;case m.x.WooCommerce:case m.x.KalCare:re="WooCommerce"}return re}static assignChannelLogo(Z){return Z.map(re=>(re.logo=this.getChannelLogoByTypeId(re.TypeID),re))}static getCssChannelColor(Z){let re;switch(Z){case m.x.ShopeeV2:re="#ee4d2d";break;case m.x.Tokopedia:re="var(--G500,#03AC0E)";break;case m.x.Lazada:re="#FF00B2";break;case m.x.Tiktok:re="black";break;case m.x.WooCommerce:re="#674399";break;case m.x.KalCare:re="rgb(128, 188, 0)"}return re}static getDaysDiff(Z,re){return(re.getTime()-Z.getTime())/864e5}static addDays(Z,re){const te=new Date(Number(Z));return te.setDate(Z.getDate()-re),te}static isValidDate(Z){return Z instanceof Date&&!isNaN(Z)}static getImageInfo(Z){return new Promise((re,te)=>{let H=new Image;H.src=Z,H.decode().then(()=>{re({img:Z,height:H.height,width:H.width})}).catch(()=>{te(new Error(`Image load error for ${Z}`))})})}static formatTitleFromDate(Z,re){let te=null;const H=new Date(Z),J=new Date(re);return H.getDate()!=J.getDate()&&(te="dd"),H.getMonth()!=J.getMonth()&&(te="dd MMM"),H.getFullYear()!=J.getFullYear()&&(te="dd MMM yyyy"),te}static openDownloadFile(Z,re){var te=window.URL.createObjectURL(Z),H=document.createElement("a");H.href=te,H.download=re,H.click()}static compare(Z,re,te){return(Z<re?-1:1)*(te?1:-1)}}return(U=I).GuidEMpty="00000000-0000-0000-0000-000000000000",U.MinDate="0001-01-01T00:00:00",I})()},851:(ft,De,v)=>{v.d(De,{$:()=>s});var s=function(m){return m.SHOOPE="//res.cloudinary.com/pos/image/upload/v1598262220/icons/marketplace_icons/shopee.png",m.WOOCOMMERCE="//res.cloudinary.com/pos/image/upload/w_50/v1632447439/icons/WooCommerce/woocommerce-icon.webp",m.TOKOPEDIA="//res.cloudinary.com/pos/image/upload/v1598262221/icons/marketplace_icons/tokopedia.png",m.TIKTOK="//res.cloudinary.com/pos/image/upload/w_30/v1645761611/icons/Marketplace%20logo/tiktok.png",m.LAZADA="//res.cloudinary.com/pos/image/upload/v1680681836/icons/marketplace_icons/Lazadanew.png",m.KALCARE="//res.cloudinary.com/pos/image/upload/v1654230268/icons/marketplace_icons/kalcare.png",m}(s||{})},754:(ft,De,v)=>{v.d(De,{x:()=>s});var s=function(m){return m[m.Shopee=0]="Shopee",m[m.Tokopedia=1]="Tokopedia",m[m.WooCommerce=2]="WooCommerce",m[m.None=3]="None",m[m.KalCare=4]="KalCare",m[m.ShopeeV2=5]="ShopeeV2",m[m.Tiktok=6]="Tiktok",m[m.Lazada=7]="Lazada",m}(s||{})},9659:(ft,De,v)=>{v.d(De,{O:()=>Je});var s=v(6232),m=v(5592),W=v(6306),U=v(6321),I=v(93),Y=v(9360),Z=v(4829),re=v(2306),te=v(8251),H=v(7103);const J=(0,re.d)(Ve=>function(ke=null){Ve(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=ke});function Se(Ve){throw new J(Ve)}var Ie=v(5879),Ke=v(9862),we=v(9229);let Je=(()=>{var Ve;class ut{constructor(G,z){this.http=G,this.toastr=z}get(G){return this.http.get(G).pipe((0,W.K)(z=>{let ie=this.errorMessageHandling(z);return this.toastr.error(""!=ie.message?ie.message:"An unknown error has occured!",ie.header),s.E}))}post(G,z,ie={},ue=1e5){return new m.y(ge=>{this.http.post(G,z,ie).pipe(function fe(Ve,ut){const{first:ke,each:G,with:z=Se,scheduler:ie=ut??U.z,meta:ue=null}=(0,I.q)(Ve)?{first:Ve}:"number"==typeof Ve?{each:Ve}:Ve;if(null==ke&&null==G)throw new TypeError("No timeout provided.");return(0,Y.e)((ge,xe)=>{let Ge,nt,ht=null,Mt=0;const Pt=Gt=>{nt=(0,H.f)(xe,ie,()=>{try{Ge.unsubscribe(),(0,Z.Xf)(z({meta:ue,lastValue:ht,seen:Mt})).subscribe(xe)}catch($t){xe.error($t)}},Gt)};Ge=ge.subscribe((0,te.x)(xe,Gt=>{nt?.unsubscribe(),Mt++,xe.next(ht=Gt),G>0&&Pt(G)},void 0,void 0,()=>{nt?.closed||nt?.unsubscribe(),ht=null})),!Mt&&Pt(null!=ke?"number"==typeof ke?ke:+ke-ie.now():G)})}(ue)).subscribe({next:xe=>{ge.next(xe),ge.complete()},error:xe=>{if(200==xe.status)ge.next(xe.error.text),ge.complete();else{if(!this.unauthorizedErrorHandling(xe)&&!Array.isArray(xe?.error?.Message)){let nt=this.errorMessageHandling(xe);this.toastr.error(""!=nt.message?nt.message:"An unknown error has occured!",nt.header,{enableHtml:!0})}ge.error(xe)}}})})}unauthorizedErrorHandling(G){let z=!1;return 401==G.status&&(localStorage.getItem("Token")?window.location.href="/A/Unauthorized/Main/Unauthorized":window.location.href="/",z=!0),z}errorMessageHandling(G){let z="API Error",ie="Exception Message";return G.error?(z="API Error - "+G.status,G.error.Message&&(ie=-1!=G.error.Message.indexOf("Message")?JSON.parse(G.error.Message).Message:G.error.Message)):G.message&&(z="API Error - "+G.name,ie=G.message),{header:z,message:ie}}}return(Ve=ut).\u0275fac=function(G){return new(G||Ve)(Ie.LFG(Ke.eN),Ie.LFG(we._W))},Ve.\u0275prov=Ie.Yz7({token:Ve,factory:Ve.\u0275fac,providedIn:"root"}),ut})()},6639:(ft,De,v)=>{v.d(De,{e:()=>m});var s=v(5879);let m=(()=>{var W;class U{constructor(){}getParseToken(){let Y=JSON.parse(window.localStorage.getItem("user"));return this.ParseToken(Y.Token.access_token)}GetRoles(){return this.getParseToken()["http://schemas.microsoft.com/ws/2008/06/identity/claims/role"]||[]}ParseToken(Y){try{const re=Y.split(".")[0].replace("-","+").replace("_","/"),te=JSON.parse(window.atob(re)),J=Y.split(".")[1].replace("-","+").replace("_","/"),fe=JSON.parse(window.atob(J));return fe.header=te,fe}catch{return!1}}}return(W=U).\u0275fac=function(Y){return new(Y||W)},W.\u0275prov=s.Yz7({token:W,factory:W.\u0275fac,providedIn:"root"}),U})()},553:(ft,De,v)=>{v.d(De,{N:()=>s});const s={production:!0,version:"2.9.6",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"}}},3943:(ft,De,v)=>{var s=v(6593),m=v(5879),W=v(9862),U=v(7328);function I(C,l){return(c,g)=>!C.call(l,c,g)}var Y=v(2181),Z=v(4829),te=v(3019),H=v(9080),J=v(4716),fe=v(4664),Se=v(9360),Ie=v(2420),Ke=v(8251);function we(C){return(0,Se.e)((l,c)=>{let g=!1,A=null,K=null;const _e=()=>{if(K?.unsubscribe(),K=null,g){g=!1;const Ee=A;A=null,c.next(Ee)}};l.subscribe((0,Ke.x)(c,Ee=>{K?.unsubscribe(),g=!0,A=Ee,K=(0,Ke.x)(c,_e,Ie.Z),(0,Z.Xf)(C(Ee)).subscribe(K)},()=>{_e(),c.complete()},void 0,()=>{A=K=null}))})}var Je=v(3997),Ve=v(9397),ut=v(6814);function ke(C,l){1&C&&m.GkF(0)}function G(C,l){if(1&C&&m._UZ(0,"sk-cube-grid",4),2&C){const c=m.oxw(2);m.Q6J("backgroundColor",c.backgroundColor)}}function z(C,l){if(1&C&&m._UZ(0,"sk-chasing-dots",4),2&C){const c=m.oxw(2);m.Q6J("backgroundColor",c.backgroundColor)}}function ie(C,l){if(1&C&&m._UZ(0,"sk-double-bounce",4),2&C){const c=m.oxw(2);m.Q6J("backgroundColor",c.backgroundColor)}}function ue(C,l){if(1&C&&m._UZ(0,"sk-rotating-plane",4),2&C){const c=m.oxw(2);m.Q6J("backgroundColor",c.backgroundColor)}}function ge(C,l){if(1&C&&m._UZ(0,"sk-spinner-pulse",4),2&C){const c=m.oxw(2);m.Q6J("backgroundColor",c.backgroundColor)}}function xe(C,l){if(1&C&&m._UZ(0,"sk-three-bounce",4),2&C){const c=m.oxw(2);m.Q6J("backgroundColor",c.backgroundColor)}}function Ge(C,l){if(1&C&&m._UZ(0,"sk-wandering-cubes",4),2&C){const c=m.oxw(2);m.Q6J("backgroundColor",c.backgroundColor)}}function nt(C,l){if(1&C&&m._UZ(0,"sk-wave",4),2&C){const c=m.oxw(2);m.Q6J("backgroundColor",c.backgroundColor)}}const ht=function(C){return{"background-color":C}};function Mt(C,l){if(1&C&&(m.TgZ(0,"div",1),m.YNc(1,ke,1,0,"ng-container",2),m.YNc(2,G,1,1,"sk-cube-grid",3),m.YNc(3,z,1,1,"sk-chasing-dots",3),m.YNc(4,ie,1,1,"sk-double-bounce",3),m.YNc(5,ue,1,1,"sk-rotating-plane",3),m.YNc(6,ge,1,1,"sk-spinner-pulse",3),m.YNc(7,xe,1,1,"sk-three-bounce",3),m.YNc(8,Ge,1,1,"sk-wandering-cubes",3),m.YNc(9,nt,1,1,"sk-wave",3),m.qZA()),2&C){const c=m.oxw();m.Udp("opacity",c.opacity),m.ekj("backdrop",c.backdrop),m.Q6J("ngStyle",m.VKq(14,ht,c.backdrop?c.backdropBackgroundColor:"transparent")),m.xp6(1),m.Q6J("ngComponentOutlet",c.entryComponent),m.xp6(1),m.Q6J("ngIf",c.spinner===c.spinkit.skCubeGrid),m.xp6(1),m.Q6J("ngIf",c.spinner===c.spinkit.skChasingDots),m.xp6(1),m.Q6J("ngIf",c.spinner===c.spinkit.skDoubleBounce),m.xp6(1),m.Q6J("ngIf",c.spinner===c.spinkit.skRotatingPlane),m.xp6(1),m.Q6J("ngIf",c.spinner===c.spinkit.skSpinnerPulse),m.xp6(1),m.Q6J("ngIf",c.spinner===c.spinkit.skThreeBounce),m.xp6(1),m.Q6J("ngIf",c.spinner===c.spinkit.skWanderingCubes),m.xp6(1),m.Q6J("ngIf",c.spinner===c.spinkit.skWave)}}let Pt=(()=>{class C{}return C.\u0275fac=function(c){return new(c||C)},C.\u0275dir=m.lG2({type:C,inputs:{backgroundColor:"backgroundColor"}}),C})(),Gt=(()=>{class C extends Pt{}return C.\u0275fac=function(){let l;return function(g){return(l||(l=m.n5z(C)))(g||C)}}(),C.\u0275cmp=m.Xpm({type:C,selectors:[["sk-chasing-dots"]],features:[m.qOj],decls:3,vars:6,consts:[[1,"sk-chasing-dots"],[1,"sk-child","sk-dot1"],[1,"sk-child","sk-dot2"]],template:function(c,g){1&c&&(m.TgZ(0,"div",0),m._UZ(1,"div",1)(2,"div",2),m.qZA()),2&c&&(m.ekj("colored",!g.backgroundColor),m.xp6(1),m.Udp("background-color",g.backgroundColor),m.xp6(1),m.Udp("background-color",g.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)}}"]}),C})(),$t=(()=>{class C extends Pt{}return C.\u0275fac=function(){let l;return function(g){return(l||(l=m.n5z(C)))(g||C)}}(),C.\u0275cmp=m.Xpm({type:C,selectors:[["sk-cube-grid"]],features:[m.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(c,g){1&c&&(m.TgZ(0,"div",0),m._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),m.qZA()),2&c&&(m.ekj("colored",!g.backgroundColor),m.xp6(1),m.Udp("background-color",g.backgroundColor),m.xp6(1),m.Udp("background-color",g.backgroundColor),m.xp6(1),m.Udp("background-color",g.backgroundColor),m.xp6(1),m.Udp("background-color",g.backgroundColor),m.xp6(1),m.Udp("background-color",g.backgroundColor),m.xp6(1),m.Udp("background-color",g.backgroundColor),m.xp6(1),m.Udp("background-color",g.backgroundColor),m.xp6(1),m.Udp("background-color",g.backgroundColor),m.xp6(1),m.Udp("background-color",g.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)}}"]}),C})(),gn=(()=>{class C extends Pt{}return C.\u0275fac=function(){let l;return function(g){return(l||(l=m.n5z(C)))(g||C)}}(),C.\u0275cmp=m.Xpm({type:C,selectors:[["sk-double-bounce"]],features:[m.qOj],decls:3,vars:6,consts:[[1,"sk-double-bounce"],[1,"sk-child","sk-double-bounce1"],[1,"sk-child","sk-double-bounce2"]],template:function(c,g){1&c&&(m.TgZ(0,"div",0),m._UZ(1,"div",1)(2,"div",2),m.qZA()),2&c&&(m.ekj("colored",!g.backgroundColor),m.xp6(1),m.Udp("background-color",g.backgroundColor),m.xp6(1),m.Udp("background-color",g.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)}}"]}),C})(),Cn=(()=>{class C extends Pt{}return C.\u0275fac=function(){let l;return function(g){return(l||(l=m.n5z(C)))(g||C)}}(),C.\u0275cmp=m.Xpm({type:C,selectors:[["sk-rotating-plane"]],features:[m.qOj],decls:1,vars:2,consts:[[1,"sk-rotating-plane","colored-parent"]],template:function(c,g){1&c&&m._UZ(0,"div",0),2&c&&m.Udp("background-color",g.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)}}"]}),C})(),Ue=(()=>{class C extends Pt{}return C.\u0275fac=function(){let l;return function(g){return(l||(l=m.n5z(C)))(g||C)}}(),C.\u0275cmp=m.Xpm({type:C,selectors:[["sk-spinner-pulse"]],features:[m.qOj],decls:1,vars:2,consts:[[1,"sk-spinner","sk-spinner-pulse","colored-parent"]],template:function(c,g){1&c&&m._UZ(0,"div",0),2&c&&m.Udp("background-color",g.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}}"]}),C})(),$e=(()=>{class C extends Pt{}return C.\u0275fac=function(){let l;return function(g){return(l||(l=m.n5z(C)))(g||C)}}(),C.\u0275cmp=m.Xpm({type:C,selectors:[["sk-three-bounce"]],features:[m.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(c,g){1&c&&(m.TgZ(0,"div",0),m._UZ(1,"div",1)(2,"div",2)(3,"div",3),m.qZA()),2&c&&(m.ekj("colored",!g.backgroundColor),m.xp6(1),m.Udp("background-color",g.backgroundColor),m.xp6(1),m.Udp("background-color",g.backgroundColor),m.xp6(1),m.Udp("background-color",g.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)}}"]}),C})(),Ye=(()=>{class C extends Pt{}return C.\u0275fac=function(){let l;return function(g){return(l||(l=m.n5z(C)))(g||C)}}(),C.\u0275cmp=m.Xpm({type:C,selectors:[["sk-wandering-cubes"]],features:[m.qOj],decls:3,vars:6,consts:[[1,"sk-wandering-cubes"],[1,"sk-cube","sk-cube1"],[1,"sk-cube","sk-cube2"]],template:function(c,g){1&c&&(m.TgZ(0,"div",0),m._UZ(1,"div",1)(2,"div",2),m.qZA()),2&c&&(m.ekj("colored",!g.backgroundColor),m.xp6(1),m.Udp("background-color",g.backgroundColor),m.xp6(1),m.Udp("background-color",g.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)}}"]}),C})(),Qe=(()=>{class C extends Pt{}return C.\u0275fac=function(){let l;return function(g){return(l||(l=m.n5z(C)))(g||C)}}(),C.\u0275cmp=m.Xpm({type:C,selectors:[["sk-wave"]],features:[m.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(c,g){1&c&&(m.TgZ(0,"div",0),m._UZ(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5),m.qZA()),2&c&&(m.ekj("colored",!g.backgroundColor),m.xp6(1),m.Udp("background-color",g.backgroundColor),m.xp6(1),m.Udp("background-color",g.backgroundColor),m.xp6(1),m.Udp("background-color",g.backgroundColor),m.xp6(1),m.Udp("background-color",g.backgroundColor),m.xp6(1),m.Udp("background-color",g.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)}}"]}),C})();const lt={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 At=(()=>{class C{constructor(){this._pendingRequests=0,this._pendingRequestsStatus$=new U.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(c){this._filteredMethods=c}set filteredHeaders(c){this._filteredHeaders=c}set forceByPass(c){this._forceByPass=c}shouldBypassUrl(c){return this._filteredUrlPatterns.some(g=>g.test(c))}shouldBypassMethod(c){return this._filteredMethods.some(g=>g.toUpperCase()===c.method.toUpperCase())}shouldBypassHeader(c){return this._filteredHeaders.some(g=>c.headers.has(g))}shouldBypass(c){return this._forceByPass||this.shouldBypassUrl(c.urlWithParams)||this.shouldBypassMethod(c)||this.shouldBypassHeader(c)}intercept(c,g){const A=this.shouldBypass(c);return A||(this._pendingRequests++,1===this._pendingRequests&&this._pendingRequestsStatus$.next(!0)),g.handle(c).pipe((0,J.x)(()=>{A||(this._pendingRequests--,0===this._pendingRequests&&this._pendingRequestsStatus$.next(!1))}))}}return C.\u0275fac=function(c){return new(c||C)},C.\u0275prov=m.Yz7({token:C,factory:C.\u0275fac,providedIn:"root"}),C})();const ve=[{provide:W.TP,useExisting:At,multi:!0}];let qe=(()=>{class C{constructor(c){this.pendingRequestsInterceptor=c,this._visibility$=new U.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 C.\u0275fac=function(c){return new(c||C)(m.LFG(At))},C.\u0275prov=m.Yz7({token:C,factory:C.\u0275fac,providedIn:"root"}),C})(),ye=(()=>{class C{constructor(c,g){this.pendingRequestsInterceptor=c,this.spinnerVisibility=g,this.spinkit=lt,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=lt.skWave}ngOnInit(){this.initIsvisibleObservable(),this.nullifySpinnerIfEntryComponentIsDefined(),this.initFilters()}initIsvisibleObservable(){const[c,g]=function re(C,l,c){return[(0,Y.h)(l,c)((0,Z.Xf)(C)),(0,Y.h)(I(l,c))((0,Z.Xf)(C))]}(this.pendingRequestsInterceptor.pendingRequestsStatus$,A=>A);this.isVisible$=(0,te.T)(this.pendingRequestsInterceptor.pendingRequestsStatus$.pipe((0,fe.w)(()=>c.pipe(we(()=>(0,H.H)(this.debounceDelay))))),c.pipe((0,fe.w)(()=>g.pipe(we(()=>this.getVisibilityTimer$())))),this.spinnerVisibility.visibility$).pipe((0,Je.x)(),(0,Ve.b)(A=>this.updateExpirationDelay(A)))}nullifySpinnerIfEntryComponentIsDefined(){this.entryComponent&&(this.spinner=null)}initFilters(){this.initFilteredUrlPatterns(),this.initFilteredMethods(),this.initFilteredHeaders()}initFilteredUrlPatterns(){this.filteredUrlPatterns.length&&this.filteredUrlPatterns.forEach(c=>this.pendingRequestsInterceptor.filteredUrlPatterns.push(new RegExp(c)))}initFilteredMethods(){this.pendingRequestsInterceptor.filteredMethods=this.filteredMethods}initFilteredHeaders(){this.pendingRequestsInterceptor.filteredHeaders=this.filteredHeaders}updateExpirationDelay(c){c&&(this.visibleUntil=Date.now()+this.minDuration)}getVisibilityTimer$(){return(0,H.H)(Math.max(this.extraDuration,this.visibleUntil-Date.now()))}}return C.\u0275fac=function(c){return new(c||C)(m.Y36(At),m.Y36(qe))},C.\u0275cmp=m.Xpm({type:C,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(c,g){1&c&&(m.YNc(0,Mt,10,16,"div",0),m.ALo(1,"async")),2&c&&m.Q6J("ngIf",m.lcZ(1,1,g.isVisible$))},dependencies:[ut.$G,ut.O5,ut.PC,$t,Gt,gn,Cn,Ue,$e,Ye,Qe,ut.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}"]}),C})(),Oe=(()=>{class C{static forRoot(){return{ngModule:C,providers:[ve]}}}return C.\u0275fac=function(c){return new(c||C)},C.\u0275mod=m.oAB({type:C}),C.\u0275inj=m.cJS({imports:[ut.ez]}),C})();var N=v(9659),Ae=v(6639),Le=v(9790);const St=[{path:"",loadChildren:()=>Promise.all([v.e(56),v.e(168)]).then(v.bind(v,7168)).then(C=>C.LoginModule)},{path:"menu",loadChildren:()=>Promise.all([v.e(56),v.e(452)]).then(v.bind(v,6452)).then(C=>C.MenuModule)},{path:"**",redirectTo:"",pathMatch:"full"}];let vt=(()=>{var C;class l{}return(C=l).\u0275fac=function(g){return new(g||C)},C.\u0275mod=m.oAB({type:C}),C.\u0275inj=m.cJS({imports:[Le.Bz.forRoot(St,{}),Le.Bz]}),l})();var Lt=v(7398),Mn=v(1631);let kn=(()=>{var C;class l{constructor(g,A,K){this._router=g,this.titleService=A,this.activatedRoute=K}ngOnInit(){this.overrideDateToJsonFunction(),this._router.events.pipe((0,Y.h)(g=>g instanceof Le.m2)).pipe((0,Lt.U)(()=>this.activatedRoute),(0,Lt.U)(g=>{for(;g.firstChild;)g=g.firstChild;return g}),(0,Y.h)(g=>"primary"===g.outlet),(0,Mn.z)(g=>g.data)).subscribe(g=>{let A=" | Marketplace";"Dealpos x Marketplace"==g.title&&(A=""),this.titleService.setTitle(g.title+A)})}overrideDateToJsonFunction(){function g(A){return A<10?"0"+A:A}Date.prototype.toJSON=function(){return this.getFullYear()+"-"+g(this.getMonth()+1)+"-"+g(this.getDate())+"T"+g(this.getHours())+":"+g(this.getMinutes())+":"+g(this.getSeconds())+".000"}}}return(C=l).\u0275fac=function(g){return new(g||C)(m.Y36(Le.F0),m.Y36(s.Dx),m.Y36(Le.gz))},C.\u0275cmp=m.Xpm({type:C,selectors:[["app-root"]],decls:2,vars:0,template:function(g,A){1&g&&m._UZ(0,"router-outlet")(1,"ng-http-loader")},dependencies:[Le.lC,ye]}),l})();var Ct=v(6825);function Un(C){return new m.vHH(3e3,!1)}function le(C){switch(C.length){case 0:return new Ct.ZN;case 1:return C[0];default:return new Ct.ZE(C)}}function je(C,l,c=new Map,g=new Map){const A=[],K=[];let _e=-1,Ee=null;if(l.forEach(ze=>{const Fe=ze.get("offset"),Ft=Fe==_e,Rt=Ft&&Ee||new Map;ze.forEach((Dn,vn)=>{let Wt=vn,ln=Dn;if("offset"!==vn)switch(Wt=C.normalizePropertyName(Wt,A),ln){case Ct.k1:ln=c.get(vn);break;case Ct.l3:ln=g.get(vn);break;default:ln=C.normalizeStyleValue(vn,Wt,ln,A)}Rt.set(Wt,ln)}),Ft||K.push(Rt),Ee=Rt,_e=Fe}),A.length)throw function en(C){return new m.vHH(3502,!1)}();return K}function oe(C,l,c,g){switch(l){case"start":C.onStart(()=>g(c&&ee(c,"start",C)));break;case"done":C.onDone(()=>g(c&&ee(c,"done",C)));break;case"destroy":C.onDestroy(()=>g(c&&ee(c,"destroy",C)))}}function ee(C,l,c){const K=Pe(C.element,C.triggerName,C.fromState,C.toState,l||C.phaseName,c.totalTime??C.totalTime,!!c.disabled),_e=C._data;return null!=_e&&(K._data=_e),K}function Pe(C,l,c,g,A="",K=0,_e){return{element:C,triggerName:l,fromState:c,toState:g,phaseName:A,totalTime:K,disabled:!!_e}}function X(C,l,c){let g=C.get(l);return g||C.set(l,g=c),g}function ce(C){const l=C.indexOf(":");return[C.substring(1,l),C.slice(l+1)]}const Ce=(()=>typeof document>"u"?null:document.documentElement)();function rt(C){const l=C.parentNode||C.host||null;return l===Ce?null:l}let wt=null,Ot=!1;function sr(C,l){for(;l;){if(l===C)return!0;l=rt(l)}return!1}function Vr(C,l,c){if(c)return Array.from(C.querySelectorAll(l));const g=C.querySelector(l);return g?[g]:[]}let Ln=(()=>{var C;class l{validateStyleProperty(g){return function Pn(C){wt||(wt=function Rn(){return typeof document<"u"?document.body:null}()||{},Ot=!!wt.style&&"WebkitAppearance"in wt.style);let l=!0;return wt.style&&!function Xe(C){return"ebkit"==C.substring(1,6)}(C)&&(l=C in wt.style,!l&&Ot&&(l="Webkit"+C.charAt(0).toUpperCase()+C.slice(1)in wt.style)),l}(g)}matchesElement(g,A){return!1}containsElement(g,A){return sr(g,A)}getParentElement(g){return rt(g)}query(g,A,K){return Vr(g,A,K)}computeStyle(g,A,K){return K||""}animate(g,A,K,_e,Ee,ze=[],Fe){return new Ct.ZN(K,_e)}}return(C=l).\u0275fac=function(g){return new(g||C)},C.\u0275prov=m.Yz7({token:C,factory:C.\u0275fac}),l})(),Hn=(()=>{class l{}return l.NOOP=new Ln,l})();const zr=1e3,Pr="ng-enter",Mr="ng-leave",Rr="ng-trigger",ii=".ng-trigger",Xr="ng-animating",yr=".ng-animating";function Tr(C){if("number"==typeof C)return C;const l=C.match(/^(-?[\.\d]+)(m?s)/);return!l||l.length<2?0:Ai(parseFloat(l[1]),l[2])}function Ai(C,l){return"s"===l?C*zr:C}function ji(C,l,c){return C.hasOwnProperty("duration")?C:function zo(C,l,c){let A,K=0,_e="";if("string"==typeof C){const Ee=C.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===Ee)return l.push(Un()),{duration:0,delay:0,easing:""};A=Ai(parseFloat(Ee[1]),Ee[2]);const ze=Ee[3];null!=ze&&(K=Ai(parseFloat(ze),Ee[4]));const Fe=Ee[5];Fe&&(_e=Fe)}else A=C;if(!c){let Ee=!1,ze=l.length;A<0&&(l.push(function On(){return new m.vHH(3100,!1)}()),Ee=!0),K<0&&(l.push(function Nt(){return new m.vHH(3101,!1)}()),Ee=!0),Ee&&l.splice(ze,0,Un())}return{duration:A,delay:K,easing:_e}}(C,l,c)}function Ji(C,l={}){return Object.keys(C).forEach(c=>{l[c]=C[c]}),l}function Oo(C){const l=new Map;return Object.keys(C).forEach(c=>{l.set(c,C[c])}),l}function Oi(C,l=new Map,c){if(c)for(let[g,A]of c)l.set(g,A);for(let[g,A]of C)l.set(g,A);return l}function br(C,l,c){l.forEach((g,A)=>{const K=Xi(A);c&&!c.has(A)&&c.set(A,C.style[K]),C.style[K]=g})}function oi(C,l){l.forEach((c,g)=>{const A=Xi(g);C.style[A]=""})}function pi(C){return Array.isArray(C)?1==C.length?C[0]:(0,Ct.vP)(C):C}const so=new RegExp("{{\\s*(.+?)\\s*}}","g");function Pi(C){let l=[];if("string"==typeof C){let c;for(;c=so.exec(C);)l.push(c[1]);so.lastIndex=0}return l}function er(C,l,c){const g=C.toString(),A=g.replace(so,(K,_e)=>{let Ee=l[_e];return null==Ee&&(c.push(function Vt(C){return new m.vHH(3003,!1)}()),Ee=""),Ee.toString()});return A==g?C:A}function qi(C){const l=[];let c=C.next();for(;!c.done;)l.push(c.value),c=C.next();return l}const Ui=/-+([a-z0-9])/g;function Xi(C){return C.replace(Ui,(...l)=>l[1].toUpperCase())}function Dr(C,l,c){switch(l.type){case 7:return C.visitTrigger(l,c);case 0:return C.visitState(l,c);case 1:return C.visitTransition(l,c);case 2:return C.visitSequence(l,c);case 3:return C.visitGroup(l,c);case 4:return C.visitAnimate(l,c);case 5:return C.visitKeyframes(l,c);case 6:return C.visitStyle(l,c);case 8:return C.visitReference(l,c);case 9:return C.visitAnimateChild(l,c);case 10:return C.visitAnimateRef(l,c);case 11:return C.visitQuery(l,c);case 12:return C.visitStagger(l,c);default:throw function rn(C){return new m.vHH(3004,!1)}()}}function Gr(C,l){return window.getComputedStyle(C)[l]}const It="*";function sn(C,l){const c=[];return"string"==typeof C?C.split(/\s*,\s*/).forEach(g=>function Gn(C,l,c){if(":"==C[0]){const ze=function Nr(C,l){switch(C){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(c,g)=>parseFloat(g)>parseFloat(c);case":decrement":return(c,g)=>parseFloat(g)<parseFloat(c);default:return l.push(function yt(C){return new m.vHH(3016,!1)}()),"* => *"}}(C,c);if("function"==typeof ze)return void l.push(ze);C=ze}const g=C.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==g||g.length<4)return c.push(function Dt(C){return new m.vHH(3015,!1)}()),l;const A=g[1],K=g[2],_e=g[3];l.push(Ri(A,_e));"<"==K[0]&&!(A==It&&_e==It)&&l.push(Ri(_e,A))}(g,c,l)):c.push(C),c}const ui=new Set(["true","1"]),hr=new Set(["false","0"]);function Ri(C,l){const c=ui.has(C)||hr.has(C),g=ui.has(l)||hr.has(l);return(A,K)=>{let _e=C==It||C==A,Ee=l==It||l==K;return!_e&&c&&"boolean"==typeof A&&(_e=A?ui.has(C):hr.has(C)),!Ee&&g&&"boolean"==typeof K&&(Ee=K?ui.has(l):hr.has(l)),_e&&Ee}}const Wr=new RegExp("s*:selfs*,?","g");function Di(C,l,c,g){return new Ni(C).build(l,c,g)}class Ni{constructor(l){this._driver=l}build(l,c,g){const A=new Re(c);return this._resetContextStyleTimingState(A),Dr(this,pi(l),A)}_resetContextStyleTimingState(l){l.currentQuerySelector="",l.collectedStyles=new Map,l.collectedStyles.set("",new Map),l.currentTime=0}visitTrigger(l,c){let g=c.queryCount=0,A=c.depCount=0;const K=[],_e=[];return"@"==l.name.charAt(0)&&c.errors.push(function Tn(){return new m.vHH(3006,!1)}()),l.definitions.forEach(Ee=>{if(this._resetContextStyleTimingState(c),0==Ee.type){const ze=Ee,Fe=ze.name;Fe.toString().split(/\s*,\s*/).forEach(Ft=>{ze.name=Ft,K.push(this.visitState(ze,c))}),ze.name=Fe}else if(1==Ee.type){const ze=this.visitTransition(Ee,c);g+=ze.queryCount,A+=ze.depCount,_e.push(ze)}else c.errors.push(function cn(){return new m.vHH(3007,!1)}())}),{type:7,name:l.name,states:K,transitions:_e,queryCount:g,depCount:A,options:null}}visitState(l,c){const g=this.visitStyle(l.styles,c),A=l.options&&l.options.params||null;if(g.containsDynamicStyles){const K=new Set,_e=A||{};g.styles.forEach(Ee=>{Ee instanceof Map&&Ee.forEach(ze=>{Pi(ze).forEach(Fe=>{_e.hasOwnProperty(Fe)||K.add(Fe)})})}),K.size&&(qi(K.values()),c.errors.push(function _n(C,l){return new m.vHH(3008,!1)}()))}return{type:0,name:l.name,style:g,options:A?{params:A}:null}}visitTransition(l,c){c.queryCount=0,c.depCount=0;const g=Dr(this,pi(l.animation),c);return{type:1,matchers:sn(l.expr,c.errors),animation:g,queryCount:c.queryCount,depCount:c.depCount,options:Tt(l.options)}}visitSequence(l,c){return{type:2,steps:l.steps.map(g=>Dr(this,g,c)),options:Tt(l.options)}}visitGroup(l,c){const g=c.currentTime;let A=0;const K=l.steps.map(_e=>{c.currentTime=g;const Ee=Dr(this,_e,c);return A=Math.max(A,c.currentTime),Ee});return c.currentTime=A,{type:3,steps:K,options:Tt(l.options)}}visitAnimate(l,c){const g=function mt(C,l){if(C.hasOwnProperty("duration"))return C;if("number"==typeof C)return Kt(ji(C,l).duration,0,"");const c=C;if(c.split(/\s+/).some(K=>"{"==K.charAt(0)&&"{"==K.charAt(1))){const K=Kt(0,0,"");return K.dynamic=!0,K.strValue=c,K}const A=ji(c,l);return Kt(A.duration,A.delay,A.easing)}(l.timings,c.errors);c.currentAnimateTimings=g;let A,K=l.styles?l.styles:(0,Ct.oB)({});if(5==K.type)A=this.visitKeyframes(K,c);else{let _e=l.styles,Ee=!1;if(!_e){Ee=!0;const Fe={};g.easing&&(Fe.easing=g.easing),_e=(0,Ct.oB)(Fe)}c.currentTime+=g.duration+g.delay;const ze=this.visitStyle(_e,c);ze.isEmptyStep=Ee,A=ze}return c.currentAnimateTimings=null,{type:4,timings:g,style:A,options:null}}visitStyle(l,c){const g=this._makeStyleAst(l,c);return this._validateStyleAst(g,c),g}_makeStyleAst(l,c){const g=[],A=Array.isArray(l.styles)?l.styles:[l.styles];for(let Ee of A)"string"==typeof Ee?Ee===Ct.l3?g.push(Ee):c.errors.push(new m.vHH(3002,!1)):g.push(Oo(Ee));let K=!1,_e=null;return g.forEach(Ee=>{if(Ee instanceof Map&&(Ee.has("easing")&&(_e=Ee.get("easing"),Ee.delete("easing")),!K))for(let ze of Ee.values())if(ze.toString().indexOf("{{")>=0){K=!0;break}}),{type:6,styles:g,easing:_e,offset:l.offset,containsDynamicStyles:K,options:null}}_validateStyleAst(l,c){const g=c.currentAnimateTimings;let A=c.currentTime,K=c.currentTime;g&&K>0&&(K-=g.duration+g.delay),l.styles.forEach(_e=>{"string"!=typeof _e&&_e.forEach((Ee,ze)=>{const Fe=c.collectedStyles.get(c.currentQuerySelector),Ft=Fe.get(ze);let Rt=!0;Ft&&(K!=A&&K>=Ft.startTime&&A<=Ft.endTime&&(c.errors.push(function or(C,l,c,g,A){return new m.vHH(3010,!1)}()),Rt=!1),K=Ft.startTime),Rt&&Fe.set(ze,{startTime:K,endTime:A}),c.options&&function Eo(C,l,c){const g=l.params||{},A=Pi(C);A.length&&A.forEach(K=>{g.hasOwnProperty(K)||c.push(function jt(C){return new m.vHH(3001,!1)}())})}(Ee,c.options,c.errors)})})}visitKeyframes(l,c){const g={type:5,styles:[],options:null};if(!c.currentAnimateTimings)return c.errors.push(function on(){return new m.vHH(3011,!1)}()),g;let K=0;const _e=[];let Ee=!1,ze=!1,Fe=0;const Ft=l.steps.map(Br=>{const Hr=this._makeStyleAst(Br,c);let ni=null!=Hr.offset?Hr.offset:function ot(C){if("string"==typeof C)return null;let l=null;if(Array.isArray(C))C.forEach(c=>{if(c instanceof Map&&c.has("offset")){const g=c;l=parseFloat(g.get("offset")),g.delete("offset")}});else if(C instanceof Map&&C.has("offset")){const c=C;l=parseFloat(c.get("offset")),c.delete("offset")}return l}(Hr.styles),Qr=0;return null!=ni&&(K++,Qr=Hr.offset=ni),ze=ze||Qr<0||Qr>1,Ee=Ee||Qr<Fe,Fe=Qr,_e.push(Qr),Hr});ze&&c.errors.push(function Qn(){return new m.vHH(3012,!1)}()),Ee&&c.errors.push(function Wn(){return new m.vHH(3200,!1)}());const Rt=l.steps.length;let Dn=0;K>0&&K<Rt?c.errors.push(function In(){return new m.vHH(3202,!1)}()):0==K&&(Dn=1/(Rt-1));const vn=Rt-1,Wt=c.currentTime,ln=c.currentAnimateTimings,Kn=ln.duration;return Ft.forEach((Br,Hr)=>{const ni=Dn>0?Hr==vn?1:Dn*Hr:_e[Hr],Qr=ni*Kn;c.currentTime=Wt+ln.delay+Qr,ln.duration=Qr,this._validateStyleAst(Br,c),Br.offset=ni,g.styles.push(Br)}),g}visitReference(l,c){return{type:8,animation:Dr(this,pi(l.animation),c),options:Tt(l.options)}}visitAnimateChild(l,c){return c.depCount++,{type:9,options:Tt(l.options)}}visitAnimateRef(l,c){return{type:10,animation:this.visitReference(l.animation,c),options:Tt(l.options)}}visitQuery(l,c){const g=c.currentQuerySelector,A=l.options||{};c.queryCount++,c.currentQuery=l;const[K,_e]=function Me(C){const l=!!C.split(/\s*,\s*/).find(c=>":self"==c);return l&&(C=C.replace(Wr,"")),C=C.replace(/@\*/g,ii).replace(/@\w+/g,c=>ii+"-"+c.slice(1)).replace(/:animating/g,yr),[C,l]}(l.selector);c.currentQuerySelector=g.length?g+" "+K:K,X(c.collectedStyles,c.currentQuerySelector,new Map);const Ee=Dr(this,pi(l.animation),c);return c.currentQuery=null,c.currentQuerySelector=g,{type:11,selector:K,limit:A.limit||0,optional:!!A.optional,includeSelf:_e,animation:Ee,originalSelector:l.selector,options:Tt(l.options)}}visitStagger(l,c){c.currentQuery||c.errors.push(function dr(){return new m.vHH(3013,!1)}());const g="full"===l.timings?{duration:0,delay:0,easing:"full"}:ji(l.timings,c.errors,!0);return{type:12,animation:Dr(this,pi(l.animation),c),timings:g,options:null}}}class Re{constructor(l){this.errors=l,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 Tt(C){return C?(C=Ji(C)).params&&(C.params=function be(C){return C?Ji(C):null}(C.params)):C={},C}function Kt(C,l,c){return{duration:C,delay:l,easing:c}}function $n(C,l,c,g,A,K,_e=null,Ee=!1){return{type:1,element:C,keyframes:l,preStyleProps:c,postStyleProps:g,duration:A,delay:K,totalTime:A+K,easing:_e,subTimeline:Ee}}class wn{constructor(){this._map=new Map}get(l){return this._map.get(l)||[]}append(l,c){let g=this._map.get(l);g||this._map.set(l,g=[]),g.push(...c)}has(l){return this._map.has(l)}clear(){this._map.clear()}}const Kr=new RegExp(":enter","g"),di=new RegExp(":leave","g");function Ci(C,l,c,g,A,K=new Map,_e=new Map,Ee,ze,Fe=[]){return(new Sr).buildKeyframes(C,l,c,g,A,K,_e,Ee,ze,Fe)}class Sr{buildKeyframes(l,c,g,A,K,_e,Ee,ze,Fe,Ft=[]){Fe=Fe||new wn;const Rt=new kr(l,c,Fe,A,K,Ft,[]);Rt.options=ze;const Dn=ze.delay?Tr(ze.delay):0;Rt.currentTimeline.delayNextStep(Dn),Rt.currentTimeline.setStyles([_e],null,Rt.errors,ze),Dr(this,g,Rt);const vn=Rt.timelines.filter(Wt=>Wt.containsAnimation());if(vn.length&&Ee.size){let Wt;for(let ln=vn.length-1;ln>=0;ln--){const Kn=vn[ln];if(Kn.element===c){Wt=Kn;break}}Wt&&!Wt.allowOnlyTimelineStyles()&&Wt.setStyles([Ee],null,Rt.errors,ze)}return vn.length?vn.map(Wt=>Wt.buildKeyframes()):[$n(c,[],[],[],0,Dn,"",!1)]}visitTrigger(l,c){}visitState(l,c){}visitTransition(l,c){}visitAnimateChild(l,c){const g=c.subInstructions.get(c.element);if(g){const A=c.createSubContext(l.options),K=c.currentTimeline.currentTime,_e=this._visitSubInstructions(g,A,A.options);K!=_e&&c.transformIntoNewTimeline(_e)}c.previousNode=l}visitAnimateRef(l,c){const g=c.createSubContext(l.options);g.transformIntoNewTimeline(),this._applyAnimationRefDelays([l.options,l.animation.options],c,g),this.visitReference(l.animation,g),c.transformIntoNewTimeline(g.currentTimeline.currentTime),c.previousNode=l}_applyAnimationRefDelays(l,c,g){for(const A of l){const K=A?.delay;if(K){const _e="number"==typeof K?K:Tr(er(K,A?.params??{},c.errors));g.delayNextStep(_e)}}}_visitSubInstructions(l,c,g){let K=c.currentTimeline.currentTime;const _e=null!=g.duration?Tr(g.duration):null,Ee=null!=g.delay?Tr(g.delay):null;return 0!==_e&&l.forEach(ze=>{const Fe=c.appendInstructionToTimeline(ze,_e,Ee);K=Math.max(K,Fe.duration+Fe.delay)}),K}visitReference(l,c){c.updateOptions(l.options,!0),Dr(this,l.animation,c),c.previousNode=l}visitSequence(l,c){const g=c.subContextCount;let A=c;const K=l.options;if(K&&(K.params||K.delay)&&(A=c.createSubContext(K),A.transformIntoNewTimeline(),null!=K.delay)){6==A.previousNode.type&&(A.currentTimeline.snapshotCurrentStyles(),A.previousNode=tr);const _e=Tr(K.delay);A.delayNextStep(_e)}l.steps.length&&(l.steps.forEach(_e=>Dr(this,_e,A)),A.currentTimeline.applyStylesToKeyframe(),A.subContextCount>g&&A.transformIntoNewTimeline()),c.previousNode=l}visitGroup(l,c){const g=[];let A=c.currentTimeline.currentTime;const K=l.options&&l.options.delay?Tr(l.options.delay):0;l.steps.forEach(_e=>{const Ee=c.createSubContext(l.options);K&&Ee.delayNextStep(K),Dr(this,_e,Ee),A=Math.max(A,Ee.currentTimeline.currentTime),g.push(Ee.currentTimeline)}),g.forEach(_e=>c.currentTimeline.mergeTimelineCollectedStyles(_e)),c.transformIntoNewTimeline(A),c.previousNode=l}_visitTiming(l,c){if(l.dynamic){const g=l.strValue;return ji(c.params?er(g,c.params,c.errors):g,c.errors)}return{duration:l.duration,delay:l.delay,easing:l.easing}}visitAnimate(l,c){const g=c.currentAnimateTimings=this._visitTiming(l.timings,c),A=c.currentTimeline;g.delay&&(c.incrementTime(g.delay),A.snapshotCurrentStyles());const K=l.style;5==K.type?this.visitKeyframes(K,c):(c.incrementTime(g.duration),this.visitStyle(K,c),A.applyStylesToKeyframe()),c.currentAnimateTimings=null,c.previousNode=l}visitStyle(l,c){const g=c.currentTimeline,A=c.currentAnimateTimings;!A&&g.hasCurrentStyleProperties()&&g.forwardFrame();const K=A&&A.easing||l.easing;l.isEmptyStep?g.applyEmptyStep(K):g.setStyles(l.styles,K,c.errors,c.options),c.previousNode=l}visitKeyframes(l,c){const g=c.currentAnimateTimings,A=c.currentTimeline.duration,K=g.duration,Ee=c.createSubContext().currentTimeline;Ee.easing=g.easing,l.styles.forEach(ze=>{Ee.forwardTime((ze.offset||0)*K),Ee.setStyles(ze.styles,ze.easing,c.errors,c.options),Ee.applyStylesToKeyframe()}),c.currentTimeline.mergeTimelineCollectedStyles(Ee),c.transformIntoNewTimeline(A+K),c.previousNode=l}visitQuery(l,c){const g=c.currentTimeline.currentTime,A=l.options||{},K=A.delay?Tr(A.delay):0;K&&(6===c.previousNode.type||0==g&&c.currentTimeline.hasCurrentStyleProperties())&&(c.currentTimeline.snapshotCurrentStyles(),c.previousNode=tr);let _e=g;const Ee=c.invokeQuery(l.selector,l.originalSelector,l.limit,l.includeSelf,!!A.optional,c.errors);c.currentQueryTotal=Ee.length;let ze=null;Ee.forEach((Fe,Ft)=>{c.currentQueryIndex=Ft;const Rt=c.createSubContext(l.options,Fe);K&&Rt.delayNextStep(K),Fe===c.element&&(ze=Rt.currentTimeline),Dr(this,l.animation,Rt),Rt.currentTimeline.applyStylesToKeyframe(),_e=Math.max(_e,Rt.currentTimeline.currentTime)}),c.currentQueryIndex=0,c.currentQueryTotal=0,c.transformIntoNewTimeline(_e),ze&&(c.currentTimeline.mergeTimelineCollectedStyles(ze),c.currentTimeline.snapshotCurrentStyles()),c.previousNode=l}visitStagger(l,c){const g=c.parentContext,A=c.currentTimeline,K=l.timings,_e=Math.abs(K.duration),Ee=_e*(c.currentQueryTotal-1);let ze=_e*c.currentQueryIndex;switch(K.duration<0?"reverse":K.easing){case"reverse":ze=Ee-ze;break;case"full":ze=g.currentStaggerTime}const Ft=c.currentTimeline;ze&&Ft.delayNextStep(ze);const Rt=Ft.currentTime;Dr(this,l.animation,c),c.previousNode=l,g.currentStaggerTime=A.currentTime-Rt+(A.startTime-g.currentTimeline.startTime)}}const tr={};class kr{constructor(l,c,g,A,K,_e,Ee,ze){this._driver=l,this.element=c,this.subInstructions=g,this._enterClassName=A,this._leaveClassName=K,this.errors=_e,this.timelines=Ee,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=tr,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=ze||new si(this._driver,c,0),Ee.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(l,c){if(!l)return;const g=l;let A=this.options;null!=g.duration&&(A.duration=Tr(g.duration)),null!=g.delay&&(A.delay=Tr(g.delay));const K=g.params;if(K){let _e=A.params;_e||(_e=this.options.params={}),Object.keys(K).forEach(Ee=>{(!c||!_e.hasOwnProperty(Ee))&&(_e[Ee]=er(K[Ee],_e,this.errors))})}}_copyOptions(){const l={};if(this.options){const c=this.options.params;if(c){const g=l.params={};Object.keys(c).forEach(A=>{g[A]=c[A]})}}return l}createSubContext(l=null,c,g){const A=c||this.element,K=new kr(this._driver,A,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(A,g||0));return K.previousNode=this.previousNode,K.currentAnimateTimings=this.currentAnimateTimings,K.options=this._copyOptions(),K.updateOptions(l),K.currentQueryIndex=this.currentQueryIndex,K.currentQueryTotal=this.currentQueryTotal,K.parentContext=this,this.subContextCount++,K}transformIntoNewTimeline(l){return this.previousNode=tr,this.currentTimeline=this.currentTimeline.fork(this.element,l),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(l,c,g){const A={duration:c??l.duration,delay:this.currentTimeline.currentTime+(g??0)+l.delay,easing:""},K=new mi(this._driver,l.element,l.keyframes,l.preStyleProps,l.postStyleProps,A,l.stretchStartingKeyframe);return this.timelines.push(K),A}incrementTime(l){this.currentTimeline.forwardTime(this.currentTimeline.duration+l)}delayNextStep(l){l>0&&this.currentTimeline.delayNextStep(l)}invokeQuery(l,c,g,A,K,_e){let Ee=[];if(A&&Ee.push(this.element),l.length>0){l=(l=l.replace(Kr,"."+this._enterClassName)).replace(di,"."+this._leaveClassName);let Fe=this._driver.query(this.element,l,1!=g);0!==g&&(Fe=g<0?Fe.slice(Fe.length+g,Fe.length):Fe.slice(0,g)),Ee.push(...Fe)}return!K&&0==Ee.length&&_e.push(function Ze(C){return new m.vHH(3014,!1)}()),Ee}}class si{constructor(l,c,g,A){this._driver=l,this.element=c,this.startTime=g,this._elementTimelineStylesLookup=A,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(c),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(c,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(l){const c=1===this._keyframes.size&&this._pendingStyles.size;this.duration||c?(this.forwardTime(this.currentTime+l),c&&this.snapshotCurrentStyles()):this.startTime+=l}fork(l,c){return this.applyStylesToKeyframe(),new si(this._driver,l,c||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(l){this.applyStylesToKeyframe(),this.duration=l,this._loadKeyframe()}_updateStyle(l,c){this._localTimelineStyles.set(l,c),this._globalTimelineStyles.set(l,c),this._styleSummary.set(l,{time:this.currentTime,value:c})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(l){l&&this._previousKeyframe.set("easing",l);for(let[c,g]of this._globalTimelineStyles)this._backFill.set(c,g||Ct.l3),this._currentKeyframe.set(c,Ct.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(l,c,g,A){c&&this._previousKeyframe.set("easing",c);const K=A&&A.params||{},_e=function wi(C,l){const c=new Map;let g;return C.forEach(A=>{if("*"===A){g=g||l.keys();for(let K of g)c.set(K,Ct.l3)}else Oi(A,c)}),c}(l,this._globalTimelineStyles);for(let[Ee,ze]of _e){const Fe=er(ze,K,g);this._pendingStyles.set(Ee,Fe),this._localTimelineStyles.has(Ee)||this._backFill.set(Ee,this._globalTimelineStyles.get(Ee)??Ct.l3),this._updateStyle(Ee,Fe)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((l,c)=>{this._currentKeyframe.set(c,l)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((l,c)=>{this._currentKeyframe.has(c)||this._currentKeyframe.set(c,l)}))}snapshotCurrentStyles(){for(let[l,c]of this._localTimelineStyles)this._pendingStyles.set(l,c),this._updateStyle(l,c)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const l=[];for(let c in this._currentKeyframe)l.push(c);return l}mergeTimelineCollectedStyles(l){l._styleSummary.forEach((c,g)=>{const A=this._styleSummary.get(g);(!A||c.time>A.time)&&this._updateStyle(g,c.value)})}buildKeyframes(){this.applyStylesToKeyframe();const l=new Set,c=new Set,g=1===this._keyframes.size&&0===this.duration;let A=[];this._keyframes.forEach((Ee,ze)=>{const Fe=Oi(Ee,new Map,this._backFill);Fe.forEach((Ft,Rt)=>{Ft===Ct.k1?l.add(Rt):Ft===Ct.l3&&c.add(Rt)}),g||Fe.set("offset",ze/this.duration),A.push(Fe)});const K=l.size?qi(l.values()):[],_e=c.size?qi(c.values()):[];if(g){const Ee=A[0],ze=new Map(Ee);Ee.set("offset",0),ze.set("offset",1),A=[Ee,ze]}return $n(this.element,A,K,_e,this.duration,this.startTime,this.easing,!1)}}class mi extends si{constructor(l,c,g,A,K,_e,Ee=!1){super(l,c,_e.delay),this.keyframes=g,this.preStyleProps=A,this.postStyleProps=K,this._stretchStartingKeyframe=Ee,this.timings={duration:_e.duration,delay:_e.delay,easing:_e.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let l=this.keyframes,{delay:c,duration:g,easing:A}=this.timings;if(this._stretchStartingKeyframe&&c){const K=[],_e=g+c,Ee=c/_e,ze=Oi(l[0]);ze.set("offset",0),K.push(ze);const Fe=Oi(l[0]);Fe.set("offset",En(Ee)),K.push(Fe);const Ft=l.length-1;for(let Rt=1;Rt<=Ft;Rt++){let Dn=Oi(l[Rt]);const vn=Dn.get("offset");Dn.set("offset",En((c+vn*g)/_e)),K.push(Dn)}g=_e,c=0,A="",l=K}return $n(this.element,l,this.preStyleProps,this.postStyleProps,g,c,A,!0)}}function En(C,l=3){const c=Math.pow(10,l-1);return Math.round(C*c)/c}class Fr{}const fi=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 Yr extends Fr{normalizePropertyName(l,c){return Xi(l)}normalizeStyleValue(l,c,g,A){let K="";const _e=g.toString().trim();if(fi.has(c)&&0!==g&&"0"!==g)if("number"==typeof g)K="px";else{const Ee=g.match(/^[+-]?[\d\.]+([a-z]*)$/);Ee&&0==Ee[1].length&&A.push(function Xt(C,l){return new m.vHH(3005,!1)}())}return _e+K}}function ai(C,l,c,g,A,K,_e,Ee,ze,Fe,Ft,Rt,Dn){return{type:0,element:C,triggerName:l,isRemovalTransition:A,fromState:c,fromStyles:K,toState:g,toStyles:_e,timelines:Ee,queriedElements:ze,preStyleProps:Fe,postStyleProps:Ft,totalTime:Rt,errors:Dn}}const ao={};class $i{constructor(l,c,g){this._triggerName=l,this.ast=c,this._stateStyles=g}match(l,c,g,A){return function ea(C,l,c,g,A){return C.some(K=>K(l,c,g,A))}(this.ast.matchers,l,c,g,A)}buildStyles(l,c,g){let A=this._stateStyles.get("*");return void 0!==l&&(A=this._stateStyles.get(l?.toString())||A),A?A.buildStyles(c,g):new Map}build(l,c,g,A,K,_e,Ee,ze,Fe,Ft){const Rt=[],Dn=this.ast.options&&this.ast.options.params||ao,Wt=this.buildStyles(g,Ee&&Ee.params||ao,Rt),ln=ze&&ze.params||ao,Kn=this.buildStyles(A,ln,Rt),Br=new Set,Hr=new Map,ni=new Map,Qr="void"===A,po={params:cs(ln,Dn),delay:this.ast.options?.delay},ct=Ft?[]:Ci(l,c,this.ast.animation,K,_e,Wt,Kn,po,Fe,Rt);let an=0;if(ct.forEach(Wi=>{an=Math.max(Wi.duration+Wi.delay,an)}),Rt.length)return ai(c,this._triggerName,g,A,Qr,Wt,Kn,[],[],Hr,ni,an,Rt);ct.forEach(Wi=>{const gr=Wi.element,rs=X(Hr,gr,new Set);Wi.preStyleProps.forEach(ri=>rs.add(ri));const ur=X(ni,gr,new Set);Wi.postStyleProps.forEach(ri=>ur.add(ri)),gr!==c&&Br.add(gr)});const Gi=qi(Br.values());return ai(c,this._triggerName,g,A,Qr,Wt,Kn,ct,Gi,Hr,ni,an)}}function cs(C,l){const c=Ji(l);for(const g in C)C.hasOwnProperty(g)&&null!=C[g]&&(c[g]=C[g]);return c}class us{constructor(l,c,g){this.styles=l,this.defaultParams=c,this.normalizer=g}buildStyles(l,c){const g=new Map,A=Ji(this.defaultParams);return Object.keys(l).forEach(K=>{const _e=l[K];null!==_e&&(A[K]=_e)}),this.styles.styles.forEach(K=>{"string"!=typeof K&&K.forEach((_e,Ee)=>{_e&&(_e=er(_e,A,c));const ze=this.normalizer.normalizePropertyName(Ee,c);_e=this.normalizer.normalizeStyleValue(Ee,ze,_e,c),g.set(Ee,_e)})}),g}}class xs{constructor(l,c,g){this.name=l,this.ast=c,this._normalizer=g,this.transitionFactories=[],this.states=new Map,c.states.forEach(A=>{this.states.set(A.name,new us(A.style,A.options&&A.options.params||{},g))}),Hs(this.states,"true","1"),Hs(this.states,"false","0"),c.transitions.forEach(A=>{this.transitionFactories.push(new $i(l,A,this.states))}),this.fallbackTransition=function Us(C,l,c){return new $i(C,{type:1,animation:{type:2,steps:[],options:null},matchers:[(_e,Ee)=>!0],options:null,queryCount:0,depCount:0},l)}(l,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(l,c,g,A){return this.transitionFactories.find(_e=>_e.match(l,c,g,A))||null}matchStyles(l,c,g){return this.fallbackTransition.buildStyles(l,c,g)}}function Hs(C,l,c){C.has(l)?C.has(c)||C.set(c,C.get(l)):C.has(c)&&C.set(l,C.get(c))}const pr=new wn;class Wo{constructor(l,c,g){this.bodyNode=l,this._driver=c,this._normalizer=g,this._animations=new Map,this._playersById=new Map,this.players=[]}register(l,c){const g=[],K=Di(this._driver,c,g,[]);if(g.length)throw function Jn(C){return new m.vHH(3503,!1)}();this._animations.set(l,K)}_buildPlayer(l,c,g){const A=l.element,K=je(this._normalizer,l.keyframes,c,g);return this._driver.animate(A,K,l.duration,l.delay,l.easing,[],!0)}create(l,c,g={}){const A=[],K=this._animations.get(l);let _e;const Ee=new Map;if(K?(_e=Ci(this._driver,c,K,Pr,Mr,new Map,new Map,g,pr,A),_e.forEach(Ft=>{const Rt=X(Ee,Ft.element,new Map);Ft.postStyleProps.forEach(Dn=>Rt.set(Dn,null))})):(A.push(function pe(){return new m.vHH(3300,!1)}()),_e=[]),A.length)throw function B(C){return new m.vHH(3504,!1)}();Ee.forEach((Ft,Rt)=>{Ft.forEach((Dn,vn)=>{Ft.set(vn,this._driver.computeStyle(Rt,vn,Ct.l3))})});const Fe=le(_e.map(Ft=>{const Rt=Ee.get(Ft.element);return this._buildPlayer(Ft,new Map,Rt)}));return this._playersById.set(l,Fe),Fe.onDestroy(()=>this.destroy(l)),this.players.push(Fe),Fe}destroy(l){const c=this._getPlayer(l);c.destroy(),this._playersById.delete(l);const g=this.players.indexOf(c);g>=0&&this.players.splice(g,1)}_getPlayer(l){const c=this._playersById.get(l);if(!c)throw function k(C){return new m.vHH(3301,!1)}();return c}listen(l,c,g,A){const K=Pe(c,"","","");return oe(this._getPlayer(l),g,K,A),()=>{}}command(l,c,g,A){if("register"==g)return void this.register(l,A[0]);if("create"==g)return void this.create(l,c,A[0]||{});const K=this._getPlayer(l);switch(g){case"play":K.play();break;case"pause":K.pause();break;case"reset":K.reset();break;case"restart":K.restart();break;case"finish":K.finish();break;case"init":K.init();break;case"setPosition":K.setPosition(parseFloat(A[0]));break;case"destroy":this.destroy(l)}}}const ko="ng-animate-queued",Ko="ng-animate-disabled",Fo=[],Yo={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Ms={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},gi="__ng_removed";class Lo{get params(){return this.options.params}constructor(l,c=""){this.namespaceId=c;const g=l&&l.hasOwnProperty("value");if(this.value=function li(C){return C??null}(g?l.value:l),g){const K=Ji(l);delete K.value,this.options=K}else this.options={};this.options.params||(this.options.params={})}absorbOptions(l){const c=l.params;if(c){const g=this.options.params;Object.keys(c).forEach(A=>{null==g[A]&&(g[A]=c[A])})}}}const ei="void",_i=new Lo(ei);class co{constructor(l,c,g){this.id=l,this.hostElement=c,this._engine=g,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+l,ti(c,this._hostClassName)}listen(l,c,g,A){if(!this._triggers.has(c))throw function O(C,l){return new m.vHH(3302,!1)}();if(null==g||0==g.length)throw function D(C){return new m.vHH(3303,!1)}();if(!function ds(C){return"start"==C||"done"==C}(g))throw function F(C,l){return new m.vHH(3400,!1)}();const K=X(this._elementListeners,l,[]),_e={name:c,phase:g,callback:A};K.push(_e);const Ee=X(this._engine.statesByElement,l,new Map);return Ee.has(c)||(ti(l,Rr),ti(l,Rr+"-"+c),Ee.set(c,_i)),()=>{this._engine.afterFlush(()=>{const ze=K.indexOf(_e);ze>=0&&K.splice(ze,1),this._triggers.has(c)||Ee.delete(c)})}}register(l,c){return!this._triggers.has(l)&&(this._triggers.set(l,c),!0)}_getTrigger(l){const c=this._triggers.get(l);if(!c)throw function R(C){return new m.vHH(3401,!1)}();return c}trigger(l,c,g,A=!0){const K=this._getTrigger(c),_e=new rr(this.id,c,l);let Ee=this._engine.statesByElement.get(l);Ee||(ti(l,Rr),ti(l,Rr+"-"+c),this._engine.statesByElement.set(l,Ee=new Map));let ze=Ee.get(c);const Fe=new Lo(g,this.id);if(!(g&&g.hasOwnProperty("value"))&&ze&&Fe.absorbOptions(ze.options),Ee.set(c,Fe),ze||(ze=_i),Fe.value!==ei&&ze.value===Fe.value){if(!function fo(C,l){const c=Object.keys(C),g=Object.keys(l);if(c.length!=g.length)return!1;for(let A=0;A<c.length;A++){const K=c[A];if(!l.hasOwnProperty(K)||C[K]!==l[K])return!1}return!0}(ze.params,Fe.params)){const ln=[],Kn=K.matchStyles(ze.value,ze.params,ln),Br=K.matchStyles(Fe.value,Fe.params,ln);ln.length?this._engine.reportError(ln):this._engine.afterFlush(()=>{oi(l,Kn),br(l,Br)})}return}const Dn=X(this._engine.playersByElement,l,[]);Dn.forEach(ln=>{ln.namespaceId==this.id&&ln.triggerName==c&&ln.queued&&ln.destroy()});let vn=K.matchTransition(ze.value,Fe.value,l,Fe.params),Wt=!1;if(!vn){if(!A)return;vn=K.fallbackTransition,Wt=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:l,triggerName:c,transition:vn,fromState:ze,toState:Fe,player:_e,isFallbackTransition:Wt}),Wt||(ti(l,ko),_e.onStart(()=>{Fi(l,ko)})),_e.onDone(()=>{let ln=this.players.indexOf(_e);ln>=0&&this.players.splice(ln,1);const Kn=this._engine.playersByElement.get(l);if(Kn){let Br=Kn.indexOf(_e);Br>=0&&Kn.splice(Br,1)}}),this.players.push(_e),Dn.push(_e),_e}deregister(l){this._triggers.delete(l),this._engine.statesByElement.forEach(c=>c.delete(l)),this._elementListeners.forEach((c,g)=>{this._elementListeners.set(g,c.filter(A=>A.name!=l))})}clearElementCache(l){this._engine.statesByElement.delete(l),this._elementListeners.delete(l);const c=this._engine.playersByElement.get(l);c&&(c.forEach(g=>g.destroy()),this._engine.playersByElement.delete(l))}_signalRemovalForInnerTriggers(l,c){const g=this._engine.driver.query(l,ii,!0);g.forEach(A=>{if(A[gi])return;const K=this._engine.fetchNamespacesByElement(A);K.size?K.forEach(_e=>_e.triggerLeaveAnimation(A,c,!1,!0)):this.clearElementCache(A)}),this._engine.afterFlushAnimationsDone(()=>g.forEach(A=>this.clearElementCache(A)))}triggerLeaveAnimation(l,c,g,A){const K=this._engine.statesByElement.get(l),_e=new Map;if(K){const Ee=[];if(K.forEach((ze,Fe)=>{if(_e.set(Fe,ze.value),this._triggers.has(Fe)){const Ft=this.trigger(l,Fe,ei,A);Ft&&Ee.push(Ft)}}),Ee.length)return this._engine.markElementAsRemoved(this.id,l,!0,c,_e),g&&le(Ee).onDone(()=>this._engine.processLeaveNode(l)),!0}return!1}prepareLeaveAnimationListeners(l){const c=this._elementListeners.get(l),g=this._engine.statesByElement.get(l);if(c&&g){const A=new Set;c.forEach(K=>{const _e=K.name;if(A.has(_e))return;A.add(_e);const ze=this._triggers.get(_e).fallbackTransition,Fe=g.get(_e)||_i,Ft=new Lo(ei),Rt=new rr(this.id,_e,l);this._engine.totalQueuedPlayers++,this._queue.push({element:l,triggerName:_e,transition:ze,fromState:Fe,toState:Ft,player:Rt,isFallbackTransition:!0})})}}removeNode(l,c){const g=this._engine;if(l.childElementCount&&this._signalRemovalForInnerTriggers(l,c),this.triggerLeaveAnimation(l,c,!0))return;let A=!1;if(g.totalAnimations){const K=g.players.length?g.playersByQueriedElement.get(l):[];if(K&&K.length)A=!0;else{let _e=l;for(;_e=_e.parentNode;)if(g.statesByElement.get(_e)){A=!0;break}}}if(this.prepareLeaveAnimationListeners(l),A)g.markElementAsRemoved(this.id,l,!1,c);else{const K=l[gi];(!K||K===Yo)&&(g.afterFlush(()=>this.clearElementCache(l)),g.destroyInnerAnimations(l),g._onRemovalComplete(l,c))}}insertNode(l,c){ti(l,this._hostClassName)}drainQueuedTransitions(l){const c=[];return this._queue.forEach(g=>{const A=g.player;if(A.destroyed)return;const K=g.element,_e=this._elementListeners.get(K);_e&&_e.forEach(Ee=>{if(Ee.name==g.triggerName){const ze=Pe(K,g.triggerName,g.fromState.value,g.toState.value);ze._data=l,oe(g.player,Ee.phase,ze,Ee.callback)}}),A.markedForDestroy?this._engine.afterFlush(()=>{A.destroy()}):c.push(g)}),this._queue=[],c.sort((g,A)=>{const K=g.transition.ast.depCount,_e=A.transition.ast.depCount;return 0==K||0==_e?K-_e:this._engine.driver.containsElement(g.element,A.element)?1:-1})}destroy(l){this.players.forEach(c=>c.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,l)}}class Vi{_onRemovalComplete(l,c){this.onRemovalComplete(l,c)}constructor(l,c,g){this.bodyNode=l,this.driver=c,this._normalizer=g,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=(A,K)=>{}}get queuedPlayers(){const l=[];return this._namespaceList.forEach(c=>{c.players.forEach(g=>{g.queued&&l.push(g)})}),l}createNamespace(l,c){const g=new co(l,c,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,c)?this._balanceNamespaceList(g,c):(this.newHostElements.set(c,g),this.collectEnterElement(c)),this._namespaceLookup[l]=g}_balanceNamespaceList(l,c){const g=this._namespaceList,A=this.namespacesByHostElement;if(g.length-1>=0){let _e=!1,Ee=this.driver.getParentElement(c);for(;Ee;){const ze=A.get(Ee);if(ze){const Fe=g.indexOf(ze);g.splice(Fe+1,0,l),_e=!0;break}Ee=this.driver.getParentElement(Ee)}_e||g.unshift(l)}else g.push(l);return A.set(c,l),l}register(l,c){let g=this._namespaceLookup[l];return g||(g=this.createNamespace(l,c)),g}registerTrigger(l,c,g){let A=this._namespaceLookup[l];A&&A.register(c,g)&&this.totalAnimations++}destroy(l,c){l&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const g=this._fetchNamespace(l);this.namespacesByHostElement.delete(g.hostElement);const A=this._namespaceList.indexOf(g);A>=0&&this._namespaceList.splice(A,1),g.destroy(c),delete this._namespaceLookup[l]}))}_fetchNamespace(l){return this._namespaceLookup[l]}fetchNamespacesByElement(l){const c=new Set,g=this.statesByElement.get(l);if(g)for(let A of g.values())if(A.namespaceId){const K=this._fetchNamespace(A.namespaceId);K&&c.add(K)}return c}trigger(l,c,g,A){if(ki(c)){const K=this._fetchNamespace(l);if(K)return K.trigger(c,g,A),!0}return!1}insertNode(l,c,g,A){if(!ki(c))return;const K=c[gi];if(K&&K.setForRemoval){K.setForRemoval=!1,K.setForMove=!0;const _e=this.collectedLeaveElements.indexOf(c);_e>=0&&this.collectedLeaveElements.splice(_e,1)}if(l){const _e=this._fetchNamespace(l);_e&&_e.insertNode(c,g)}A&&this.collectEnterElement(c)}collectEnterElement(l){this.collectedEnterElements.push(l)}markElementAsDisabled(l,c){c?this.disabledNodes.has(l)||(this.disabledNodes.add(l),ti(l,Ko)):this.disabledNodes.has(l)&&(this.disabledNodes.delete(l),Fi(l,Ko))}removeNode(l,c,g){if(ki(c)){const A=l?this._fetchNamespace(l):null;A?A.removeNode(c,g):this.markElementAsRemoved(l,c,!1,g);const K=this.namespacesByHostElement.get(c);K&&K.id!==l&&K.removeNode(c,g)}else this._onRemovalComplete(c,g)}markElementAsRemoved(l,c,g,A,K){this.collectedLeaveElements.push(c),c[gi]={namespaceId:l,setForRemoval:A,hasAnimation:g,removedBeforeQueried:!1,previousTriggersValues:K}}listen(l,c,g,A,K){return ki(c)?this._fetchNamespace(l).listen(c,g,A,K):()=>{}}_buildInstruction(l,c,g,A,K){return l.transition.build(this.driver,l.element,l.fromState.value,l.toState.value,g,A,l.fromState.options,l.toState.options,c,K)}destroyInnerAnimations(l){let c=this.driver.query(l,ii,!0);c.forEach(g=>this.destroyActiveAnimationsForElement(g)),0!=this.playersByQueriedElement.size&&(c=this.driver.query(l,yr,!0),c.forEach(g=>this.finishActiveQueriedAnimationOnElement(g)))}destroyActiveAnimationsForElement(l){const c=this.playersByElement.get(l);c&&c.forEach(g=>{g.queued?g.markedForDestroy=!0:g.destroy()})}finishActiveQueriedAnimationOnElement(l){const c=this.playersByQueriedElement.get(l);c&&c.forEach(g=>g.finish())}whenRenderingDone(){return new Promise(l=>{if(this.players.length)return le(this.players).onDone(()=>l());l()})}processLeaveNode(l){const c=l[gi];if(c&&c.setForRemoval){if(l[gi]=Yo,c.namespaceId){this.destroyInnerAnimations(l);const g=this._fetchNamespace(c.namespaceId);g&&g.clearElementCache(l)}this._onRemovalComplete(l,c.setForRemoval)}l.classList?.contains(Ko)&&this.markElementAsDisabled(l,!1),this.driver.query(l,".ng-animate-disabled",!0).forEach(g=>{this.markElementAsDisabled(g,!1)})}flush(l=-1){let c=[];if(this.newHostElements.size&&(this.newHostElements.forEach((g,A)=>this._balanceNamespaceList(g,A)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let g=0;g<this.collectedEnterElements.length;g++)ti(this.collectedEnterElements[g],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const g=[];try{c=this._flushAnimations(g,l)}finally{for(let A=0;A<g.length;A++)g[A]()}}else for(let g=0;g<this.collectedLeaveElements.length;g++)this.processLeaveNode(this.collectedLeaveElements[g]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(g=>g()),this._flushFns=[],this._whenQuietFns.length){const g=this._whenQuietFns;this._whenQuietFns=[],c.length?le(c).onDone(()=>{g.forEach(A=>A())}):g.forEach(A=>A())}}reportError(l){throw function P(C){return new m.vHH(3402,!1)}()}_flushAnimations(l,c){const g=new wn,A=[],K=new Map,_e=[],Ee=new Map,ze=new Map,Fe=new Map,Ft=new Set;this.disabledNodes.forEach(Ht=>{Ft.add(Ht);const tn=this.driver.query(Ht,".ng-animate-queued",!0);for(let nn=0;nn<tn.length;nn++)Ft.add(tn[nn])});const Rt=this.bodyNode,Dn=Array.from(this.statesByElement.keys()),vn=eo(Dn,this.collectedEnterElements),Wt=new Map;let ln=0;vn.forEach((Ht,tn)=>{const nn=Pr+ln++;Wt.set(tn,nn),Ht.forEach(fn=>ti(fn,nn))});const Kn=[],Br=new Set,Hr=new Set;for(let Ht=0;Ht<this.collectedLeaveElements.length;Ht++){const tn=this.collectedLeaveElements[Ht],nn=tn[gi];nn&&nn.setForRemoval&&(Kn.push(tn),Br.add(tn),nn.hasAnimation?this.driver.query(tn,".ng-star-inserted",!0).forEach(fn=>Br.add(fn)):Hr.add(tn))}const ni=new Map,Qr=eo(Dn,Array.from(Br));Qr.forEach((Ht,tn)=>{const nn=Mr+ln++;ni.set(tn,nn),Ht.forEach(fn=>ti(fn,nn))}),l.push(()=>{vn.forEach((Ht,tn)=>{const nn=Wt.get(tn);Ht.forEach(fn=>Fi(fn,nn))}),Qr.forEach((Ht,tn)=>{const nn=ni.get(tn);Ht.forEach(fn=>Fi(fn,nn))}),Kn.forEach(Ht=>{this.processLeaveNode(Ht)})});const po=[],ct=[];for(let Ht=this._namespaceList.length-1;Ht>=0;Ht--)this._namespaceList[Ht].drainQueuedTransitions(c).forEach(nn=>{const fn=nn.player,_r=nn.element;if(po.push(fn),this.collectedEnterElements.length){const j=_r[gi];if(j&&j.setForMove){if(j.previousTriggersValues&&j.previousTriggersValues.has(nn.triggerName)){const q=j.previousTriggersValues.get(nn.triggerName),Ne=this.statesByElement.get(nn.element);if(Ne&&Ne.has(nn.triggerName)){const bt=Ne.get(nn.triggerName);bt.value=q,Ne.set(nn.triggerName,bt)}}return void fn.destroy()}}const Ki=!Rt||!this.driver.containsElement(Rt,_r),d=ni.get(_r),h=Wt.get(_r),y=this._buildInstruction(nn,g,h,d,Ki);if(y.errors&&y.errors.length)return void ct.push(y);if(Ki)return fn.onStart(()=>oi(_r,y.fromStyles)),fn.onDestroy(()=>br(_r,y.toStyles)),void A.push(fn);if(nn.isFallbackTransition)return fn.onStart(()=>oi(_r,y.fromStyles)),fn.onDestroy(()=>br(_r,y.toStyles)),void A.push(fn);const p=[];y.timelines.forEach(j=>{j.stretchStartingKeyframe=!0,this.disabledNodes.has(j.element)||p.push(j)}),y.timelines=p,g.append(_r,y.timelines),_e.push({instruction:y,player:fn,element:_r}),y.queriedElements.forEach(j=>X(Ee,j,[]).push(fn)),y.preStyleProps.forEach((j,q)=>{if(j.size){let Ne=ze.get(q);Ne||ze.set(q,Ne=new Set),j.forEach((bt,tt)=>Ne.add(tt))}}),y.postStyleProps.forEach((j,q)=>{let Ne=Fe.get(q);Ne||Fe.set(q,Ne=new Set),j.forEach((bt,tt)=>Ne.add(tt))})});if(ct.length){const Ht=[];ct.forEach(tn=>{Ht.push(function me(C,l){return new m.vHH(3505,!1)}())}),po.forEach(tn=>tn.destroy()),this.reportError(Ht)}const an=new Map,Gi=new Map;_e.forEach(Ht=>{const tn=Ht.element;g.has(tn)&&(Gi.set(tn,tn),this._beforeAnimationBuild(Ht.player.namespaceId,Ht.instruction,an))}),A.forEach(Ht=>{const tn=Ht.element;this._getPreviousPlayers(tn,!1,Ht.namespaceId,Ht.triggerName,null).forEach(fn=>{X(an,tn,[]).push(fn),fn.destroy()})});const Wi=Kn.filter(Ht=>Bo(Ht,ze,Fe)),gr=new Map;Zo(gr,this.driver,Hr,Fe,Ct.l3).forEach(Ht=>{Bo(Ht,ze,Fe)&&Wi.push(Ht)});const ur=new Map;vn.forEach((Ht,tn)=>{Zo(ur,this.driver,new Set(Ht),ze,Ct.k1)}),Wi.forEach(Ht=>{const tn=gr.get(Ht),nn=ur.get(Ht);gr.set(Ht,new Map([...tn?.entries()??[],...nn?.entries()??[]]))});const ri=[],jr=[],ps={};_e.forEach(Ht=>{const{element:tn,player:nn,instruction:fn}=Ht;if(g.has(tn)){if(Ft.has(tn))return nn.onDestroy(()=>br(tn,fn.toStyles)),nn.disabled=!0,nn.overrideTotalTime(fn.totalTime),void A.push(nn);let _r=ps;if(Gi.size>1){let d=tn;const h=[];for(;d=d.parentNode;){const y=Gi.get(d);if(y){_r=y;break}h.push(d)}h.forEach(y=>Gi.set(y,_r))}const Ki=this._buildAnimation(nn.namespaceId,fn,an,K,ur,gr);if(nn.setRealPlayer(Ki),_r===ps)ri.push(nn);else{const d=this.playersByElement.get(_r);d&&d.length&&(nn.parentPlayer=le(d)),A.push(nn)}}else oi(tn,fn.fromStyles),nn.onDestroy(()=>br(tn,fn.toStyles)),jr.push(nn),Ft.has(tn)&&A.push(nn)}),jr.forEach(Ht=>{const tn=K.get(Ht.element);if(tn&&tn.length){const nn=le(tn);Ht.setRealPlayer(nn)}}),A.forEach(Ht=>{Ht.parentPlayer?Ht.syncPlayerEvents(Ht.parentPlayer):Ht.destroy()});for(let Ht=0;Ht<Kn.length;Ht++){const tn=Kn[Ht],nn=tn[gi];if(Fi(tn,Mr),nn&&nn.hasAnimation)continue;let fn=[];if(Ee.size){let Ki=Ee.get(tn);Ki&&Ki.length&&fn.push(...Ki);let d=this.driver.query(tn,yr,!0);for(let h=0;h<d.length;h++){let y=Ee.get(d[h]);y&&y.length&&fn.push(...y)}}const _r=fn.filter(Ki=>!Ki.destroyed);_r.length?to(this,tn,_r):this.processLeaveNode(tn)}return Kn.length=0,ri.forEach(Ht=>{this.players.push(Ht),Ht.onDone(()=>{Ht.destroy();const tn=this.players.indexOf(Ht);this.players.splice(tn,1)}),Ht.play()}),ri}afterFlush(l){this._flushFns.push(l)}afterFlushAnimationsDone(l){this._whenQuietFns.push(l)}_getPreviousPlayers(l,c,g,A,K){let _e=[];if(c){const Ee=this.playersByQueriedElement.get(l);Ee&&(_e=Ee)}else{const Ee=this.playersByElement.get(l);if(Ee){const ze=!K||K==ei;Ee.forEach(Fe=>{Fe.queued||!ze&&Fe.triggerName!=A||_e.push(Fe)})}}return(g||A)&&(_e=_e.filter(Ee=>!(g&&g!=Ee.namespaceId||A&&A!=Ee.triggerName))),_e}_beforeAnimationBuild(l,c,g){const K=c.element,_e=c.isRemovalTransition?void 0:l,Ee=c.isRemovalTransition?void 0:c.triggerName;for(const ze of c.timelines){const Fe=ze.element,Ft=Fe!==K,Rt=X(g,Fe,[]);this._getPreviousPlayers(Fe,Ft,_e,Ee,c.toState).forEach(vn=>{const Wt=vn.getRealPlayer();Wt.beforeDestroy&&Wt.beforeDestroy(),vn.destroy(),Rt.push(vn)})}oi(K,c.fromStyles)}_buildAnimation(l,c,g,A,K,_e){const Ee=c.triggerName,ze=c.element,Fe=[],Ft=new Set,Rt=new Set,Dn=c.timelines.map(Wt=>{const ln=Wt.element;Ft.add(ln);const Kn=ln[gi];if(Kn&&Kn.removedBeforeQueried)return new Ct.ZN(Wt.duration,Wt.delay);const Br=ln!==ze,Hr=function Li(C){const l=[];return fs(C,l),l}((g.get(ln)||Fo).map(an=>an.getRealPlayer())).filter(an=>!!an.element&&an.element===ln),ni=K.get(ln),Qr=_e.get(ln),po=je(this._normalizer,Wt.keyframes,ni,Qr),ct=this._buildPlayer(Wt,po,Hr);if(Wt.subTimeline&&A&&Rt.add(ln),Br){const an=new rr(l,Ee,ln);an.setRealPlayer(ct),Fe.push(an)}return ct});Fe.forEach(Wt=>{X(this.playersByQueriedElement,Wt.element,[]).push(Wt),Wt.onDone(()=>function Do(C,l,c){let g=C.get(l);if(g){if(g.length){const A=g.indexOf(c);g.splice(A,1)}0==g.length&&C.delete(l)}return g}(this.playersByQueriedElement,Wt.element,Wt))}),Ft.forEach(Wt=>ti(Wt,Xr));const vn=le(Dn);return vn.onDestroy(()=>{Ft.forEach(Wt=>Fi(Wt,Xr)),br(ze,c.toStyles)}),Rt.forEach(Wt=>{X(A,Wt,[]).push(vn)}),vn}_buildPlayer(l,c,g){return c.length>0?this.driver.animate(l.element,c,l.duration,l.delay,l.easing,g):new Ct.ZN(l.duration,l.delay)}}class rr{constructor(l,c,g){this.namespaceId=l,this.triggerName=c,this.element=g,this._player=new Ct.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(l){this._containsRealPlayer||(this._player=l,this._queuedCallbacks.forEach((c,g)=>{c.forEach(A=>oe(l,g,void 0,A))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(l.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(l){this.totalTime=l}syncPlayerEvents(l){const c=this._player;c.triggerCallback&&l.onStart(()=>c.triggerCallback("start")),l.onDone(()=>this.finish()),l.onDestroy(()=>this.destroy())}_queueEvent(l,c){X(this._queuedCallbacks,l,[]).push(c)}onDone(l){this.queued&&this._queueEvent("done",l),this._player.onDone(l)}onStart(l){this.queued&&this._queueEvent("start",l),this._player.onStart(l)}onDestroy(l){this.queued&&this._queueEvent("destroy",l),this._player.onDestroy(l)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(l){this.queued||this._player.setPosition(l)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(l){const c=this._player;c.triggerCallback&&c.triggerCallback(l)}}function ki(C){return C&&1===C.nodeType}function uo(C,l){const c=C.style.display;return C.style.display=l??"none",c}function Zo(C,l,c,g,A){const K=[];c.forEach(ze=>K.push(uo(ze)));const _e=[];g.forEach((ze,Fe)=>{const Ft=new Map;ze.forEach(Rt=>{const Dn=l.computeStyle(Fe,Rt,A);Ft.set(Rt,Dn),(!Dn||0==Dn.length)&&(Fe[gi]=Ms,_e.push(Fe))}),C.set(Fe,Ft)});let Ee=0;return c.forEach(ze=>uo(ze,K[Ee++])),_e}function eo(C,l){const c=new Map;if(C.forEach(Ee=>c.set(Ee,[])),0==l.length)return c;const A=new Set(l),K=new Map;function _e(Ee){if(!Ee)return 1;let ze=K.get(Ee);if(ze)return ze;const Fe=Ee.parentNode;return ze=c.has(Fe)?Fe:A.has(Fe)?1:_e(Fe),K.set(Ee,ze),ze}return l.forEach(Ee=>{const ze=_e(Ee);1!==ze&&c.get(ze).push(Ee)}),c}function ti(C,l){C.classList?.add(l)}function Fi(C,l){C.classList?.remove(l)}function to(C,l,c){le(c).onDone(()=>C.processLeaveNode(l))}function fs(C,l){for(let c=0;c<C.length;c++){const g=C[c];g instanceof Ct.ZE?fs(g.players,l):l.push(g)}}function Bo(C,l,c){const g=c.get(C);if(!g)return!1;let A=l.get(C);return A?g.forEach(K=>A.add(K)):l.set(C,g),c.delete(C),!0}class zi{constructor(l,c,g){this.bodyNode=l,this._driver=c,this._normalizer=g,this._triggerCache={},this.onRemovalComplete=(A,K)=>{},this._transitionEngine=new Vi(l,c,g),this._timelineEngine=new Wo(l,c,g),this._transitionEngine.onRemovalComplete=(A,K)=>this.onRemovalComplete(A,K)}registerTrigger(l,c,g,A,K){const _e=l+"-"+A;let Ee=this._triggerCache[_e];if(!Ee){const ze=[],Ft=Di(this._driver,K,ze,[]);if(ze.length)throw function Ut(C,l){return new m.vHH(3404,!1)}();Ee=function ws(C,l,c){return new xs(C,l,c)}(A,Ft,this._normalizer),this._triggerCache[_e]=Ee}this._transitionEngine.registerTrigger(c,A,Ee)}register(l,c){this._transitionEngine.register(l,c)}destroy(l,c){this._transitionEngine.destroy(l,c)}onInsert(l,c,g,A){this._transitionEngine.insertNode(l,c,g,A)}onRemove(l,c,g){this._transitionEngine.removeNode(l,c,g)}disableAnimations(l,c){this._transitionEngine.markElementAsDisabled(l,c)}process(l,c,g,A){if("@"==g.charAt(0)){const[K,_e]=ce(g);this._timelineEngine.command(K,c,_e,A)}else this._transitionEngine.trigger(l,c,g,A)}listen(l,c,g,A,K){if("@"==g.charAt(0)){const[_e,Ee]=ce(g);return this._timelineEngine.listen(_e,c,Ee,K)}return this._transitionEngine.listen(l,c,g,A,K)}flush(l=-1){this._transitionEngine.flush(l)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(l){this._transitionEngine.afterFlushAnimationsDone(l)}}let Is=(()=>{class l{constructor(g,A,K){this._element=g,this._startStyles=A,this._endStyles=K,this._state=0;let _e=l.initialStylesByElement.get(g);_e||l.initialStylesByElement.set(g,_e=new Map),this._initialStyles=_e}start(){this._state<1&&(this._startStyles&&br(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(br(this._element,this._initialStyles),this._endStyles&&(br(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(l.initialStylesByElement.delete(this._element),this._startStyles&&(oi(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(oi(this._element,this._endStyles),this._endStyles=null),br(this._element,this._initialStyles),this._state=3)}}return l.initialStylesByElement=new WeakMap,l})();function hs(C){let l=null;return C.forEach((c,g)=>{(function Qo(C){return"display"===C||"position"===C})(g)&&(l=l||new Map,l.set(g,c))}),l}class xi{constructor(l,c,g,A){this.element=l,this.keyframes=c,this.options=g,this._specialStyles=A,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=g.duration,this._delay=g.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(l=>l()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const l=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,l,this.options),this._finalKeyframe=l.length?l[l.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(l){const c=[];return l.forEach(g=>{c.push(Object.fromEntries(g))}),c}_triggerWebAnimation(l,c,g){return l.animate(this._convertKeyframesToObject(c),g)}onStart(l){this._originalOnStartFns.push(l),this._onStartFns.push(l)}onDone(l){this._originalOnDoneFns.push(l),this._onDoneFns.push(l)}onDestroy(l){this._onDestroyFns.push(l)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(l=>l()),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(l=>l()),this._onDestroyFns=[])}setPosition(l){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=l*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const l=new Map;this.hasStarted()&&this._finalKeyframe.forEach((g,A)=>{"offset"!==A&&l.set(A,this._finished?g:Gr(this.element,A))}),this.currentSnapshot=l}triggerCallback(l){const c="start"===l?this._onStartFns:this._onDoneFns;c.forEach(g=>g()),c.length=0}}class jo{validateStyleProperty(l){return!0}validateAnimatableStyleProperty(l){return!0}matchesElement(l,c){return!1}containsElement(l,c){return sr(l,c)}getParentElement(l){return rt(l)}query(l,c,g){return Vr(l,c,g)}computeStyle(l,c,g){return window.getComputedStyle(l)[c]}animate(l,c,g,A,K,_e=[]){const ze={duration:g,delay:A,fill:0==A?"both":"forwards"};K&&(ze.easing=K);const Fe=new Map,Ft=_e.filter(vn=>vn instanceof xi);(function fr(C,l){return 0===C||0===l})(g,A)&&Ft.forEach(vn=>{vn.currentSnapshot.forEach((Wt,ln)=>Fe.set(ln,Wt))});let Rt=function yo(C){return C.length?C[0]instanceof Map?C:C.map(l=>Oo(l)):[]}(c).map(vn=>Oi(vn));Rt=function wr(C,l,c){if(c.size&&l.length){let g=l[0],A=[];if(c.forEach((K,_e)=>{g.has(_e)||A.push(_e),g.set(_e,K)}),A.length)for(let K=1;K<l.length;K++){let _e=l[K];A.forEach(Ee=>_e.set(Ee,Gr(C,Ee)))}}return l}(l,Rt,Fe);const Dn=function ho(C,l){let c=null,g=null;return Array.isArray(l)&&l.length?(c=hs(l[0]),l.length>1&&(g=hs(l[l.length-1]))):l instanceof Map&&(c=hs(l)),c||g?new Is(C,c,g):null}(l,Rt);return new xi(l,Rt,ze,Dn)}}let Jo=(()=>{var C;class l extends Ct._j{constructor(g,A){super(),this._nextAnimationId=0,this._renderer=g.createRenderer(A.body,{id:"0",encapsulation:m.ifc.None,styles:[],data:{animation:[]}})}build(g){const A=this._nextAnimationId.toString();this._nextAnimationId++;const K=Array.isArray(g)?(0,Ct.vP)(g):g;return Xo(this._renderer,null,A,"register",[K]),new As(A,this._renderer)}}return(C=l).\u0275fac=function(g){return new(g||C)(m.LFG(m.FYo),m.LFG(ut.K0))},C.\u0275prov=m.Yz7({token:C,factory:C.\u0275fac}),l})();class As extends Ct.LC{constructor(l,c){super(),this._id=l,this._renderer=c}create(l,c){return new qo(this._id,l,c||{},this._renderer)}}class qo{constructor(l,c,g,A){this.id=l,this.element=c,this._renderer=A,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",g)}_listen(l,c){return this._renderer.listen(this.element,`@@${this.id}:${l}`,c)}_command(l,...c){return Xo(this._renderer,this.element,this.id,l,c)}onDone(l){this._listen("done",l)}onStart(l){this._listen("start",l)}onDestroy(l){this._listen("destroy",l)}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(l){this._command("setPosition",l)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function Xo(C,l,c,g,A){return C.setProperty(l,`@@${c}:${g}`,A)}const es="@.disabled";let Zr=(()=>{var C;class l{constructor(g,A,K){this.delegate=g,this.engine=A,this._zone=K,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,A.onRemovalComplete=(_e,Ee)=>{const ze=Ee?.parentNode(_e);ze&&Ee.removeChild(ze,_e)}}createRenderer(g,A){const _e=this.delegate.createRenderer(g,A);if(!(g&&A&&A.data&&A.data.animation)){let Rt=this._rendererCache.get(_e);return Rt||(Rt=new Vs("",_e,this.engine,()=>this._rendererCache.delete(_e)),this._rendererCache.set(_e,Rt)),Rt}const Ee=A.id,ze=A.id+"-"+this._currentId;this._currentId++,this.engine.register(ze,g);const Fe=Rt=>{Array.isArray(Rt)?Rt.forEach(Fe):this.engine.registerTrigger(Ee,ze,g,Rt.name,Rt)};return A.data.animation.forEach(Fe),new wo(this,ze,_e,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(g,A,K){g>=0&&g<this._microtaskId?this._zone.run(()=>A(K)):(0==this._animationCallbacksBuffer.length&&queueMicrotask(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(_e=>{const[Ee,ze]=_e;Ee(ze)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([A,K]))}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(C=l).\u0275fac=function(g){return new(g||C)(m.LFG(m.FYo),m.LFG(zi),m.LFG(m.R0b))},C.\u0275prov=m.Yz7({token:C,factory:C.\u0275fac}),l})();class Vs{constructor(l,c,g,A){this.namespaceId=l,this.delegate=c,this.engine=g,this._onDestroy=A}get data(){return this.delegate.data}destroyNode(l){this.delegate.destroyNode?.(l)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(l,c){return this.delegate.createElement(l,c)}createComment(l){return this.delegate.createComment(l)}createText(l){return this.delegate.createText(l)}appendChild(l,c){this.delegate.appendChild(l,c),this.engine.onInsert(this.namespaceId,c,l,!1)}insertBefore(l,c,g,A=!0){this.delegate.insertBefore(l,c,g),this.engine.onInsert(this.namespaceId,c,l,A)}removeChild(l,c,g){this.engine.onRemove(this.namespaceId,c,this.delegate)}selectRootElement(l,c){return this.delegate.selectRootElement(l,c)}parentNode(l){return this.delegate.parentNode(l)}nextSibling(l){return this.delegate.nextSibling(l)}setAttribute(l,c,g,A){this.delegate.setAttribute(l,c,g,A)}removeAttribute(l,c,g){this.delegate.removeAttribute(l,c,g)}addClass(l,c){this.delegate.addClass(l,c)}removeClass(l,c){this.delegate.removeClass(l,c)}setStyle(l,c,g,A){this.delegate.setStyle(l,c,g,A)}removeStyle(l,c,g){this.delegate.removeStyle(l,c,g)}setProperty(l,c,g){"@"==c.charAt(0)&&c==es?this.disableAnimations(l,!!g):this.delegate.setProperty(l,c,g)}setValue(l,c){this.delegate.setValue(l,c)}listen(l,c,g){return this.delegate.listen(l,c,g)}disableAnimations(l,c){this.engine.disableAnimations(l,c)}}class wo extends Vs{constructor(l,c,g,A,K){super(c,g,A,K),this.factory=l,this.namespaceId=c}setProperty(l,c,g){"@"==c.charAt(0)?"."==c.charAt(1)&&c==es?this.disableAnimations(l,g=void 0===g||!!g):this.engine.process(this.namespaceId,l,c.slice(1),g):this.delegate.setProperty(l,c,g)}listen(l,c,g){if("@"==c.charAt(0)){const A=function xo(C){switch(C){case"body":return document.body;case"document":return document;case"window":return window;default:return C}}(l);let K=c.slice(1),_e="";return"@"!=K.charAt(0)&&([K,_e]=function f(C){const l=C.indexOf(".");return[C.substring(0,l),C.slice(l+1)]}(K)),this.engine.listen(this.namespaceId,A,K,_e,Ee=>{this.factory.scheduleListenerCallback(Ee._data||-1,g,Ee)})}return this.delegate.listen(l,c,g)}}const $=[{provide:Ct._j,useClass:Jo},{provide:Fr,useFactory:function se(){return new Yr}},{provide:zi,useClass:(()=>{var C;class l extends zi{constructor(g,A,K,_e){super(g.body,A,K)}ngOnDestroy(){this.flush()}}return(C=l).\u0275fac=function(g){return new(g||C)(m.LFG(ut.K0),m.LFG(Hn),m.LFG(Fr),m.LFG(m.z2F))},C.\u0275prov=m.Yz7({token:C,factory:C.\u0275fac}),l})()},{provide:m.FYo,useFactory:function b(C,l,c){return new Zr(C,l,c)},deps:[s.se,zi,m.R0b]}],de=[{provide:Hn,useFactory:()=>new jo},{provide:m.QbO,useValue:"BrowserAnimations"},...$],et=[{provide:Hn,useClass:Ln},{provide:m.QbO,useValue:"NoopAnimations"},...$];let _t=(()=>{var C;class l{static withConfig(g){return{ngModule:l,providers:g.disableAnimations?et:de}}}return(C=l).\u0275fac=function(g){return new(g||C)},C.\u0275mod=m.oAB({type:C}),C.\u0275inj=m.cJS({providers:de,imports:[s.b2]}),l})(),pn=(()=>{var C;class l{constructor(g){this._router=g}intercept(g,A){let K=JSON.parse(window.localStorage.getItem("user")),_e=new Date;if(null!=K){let Ee=new Date(K.Token.expiredAt);g=g.clone(_e<Ee?{setHeaders:{"Content-Type":"application/json",Authorization:`Bearer ${K.Token.access_token}`}}:{setHeaders:{"Content-Type":"application/json"}})}else g=g.clone({setHeaders:{"Content-Type":"application/json"}});return A.handle(g)}}return(C=l).\u0275fac=function(g){return new(g||C)(m.LFG(Le.F0))},C.\u0275prov=m.Yz7({token:C,factory:C.\u0275fac}),l})();var cr=v(9229);const qn=["custom-toast-component",""];function mr(C,l){if(1&C){const c=m.EpF();m.TgZ(0,"a",10),m.NdJ("click",function(){m.CHM(c);const A=m.oxw(2);return m.KtG(A.remove())}),m._uU(1," x "),m.qZA()}}function vi(C,l){if(1&C&&(m.TgZ(0,"div",6)(1,"div",7)(2,"div")(3,"h4"),m._uU(4),m.qZA()()(),m.TgZ(5,"div",8),m.YNc(6,mr,2,0,"a",9),m.qZA()()),2&C){const c=m.oxw();m.Udp("display","inactive"===c.state.value?"none":""),m.xp6(2),m.Tol(c.options.titleClass),m.uIk("aria-label",c.title),m.xp6(2),m.Oqu(c.title),m.xp6(2),m.Q6J("ngIf",c.options.closeButton)}}const Ti=function(C){return{notitle:C}};function Si(C,l){if(1&C&&m._UZ(0,"div",11),2&C){const c=m.oxw();m.Tol(c.options.messageClass),m.Q6J("ngClass",m.VKq(4,Ti,null==c.title))("innerHTML",c.message,m.oJD)}}function yi(C,l){if(1&C&&(m.TgZ(0,"div",12),m._uU(1),m.qZA()),2&C){const c=m.oxw();m.Tol(c.options.messageClass),m.Q6J("ngClass",m.VKq(5,Ti,null==c.title)),m.uIk("aria-label",c.message),m.xp6(1),m.hij(" ",c.message," ")}}function Lr(C,l){if(1&C){const c=m.EpF();m.TgZ(0,"a",10),m.NdJ("click",function(){m.CHM(c);const A=m.oxw();return m.KtG(A.remove())}),m._uU(1," x "),m.qZA()}}function xr(C,l){if(1&C&&(m.TgZ(0,"div"),m._UZ(1,"div",13),m.qZA()),2&C){const c=m.oxw();m.xp6(1),m.Udp("width",c.width+"%")}}let no=(()=>{var C;class l extends cr.FN{constructor(g,A){super(g,A),this.toastrService=g,this.toastPackage=A}ngOnInit(){}action(g){return g.stopPropagation(),this.toastPackage.triggerAction(),!1}}return(C=l).\u0275fac=function(g){return new(g||C)(m.Y36(cr._W),m.Y36(cr.PR))},C.\u0275cmp=m.Xpm({type:C,selectors:[["","custom-toast-component",""]],features:[m.qOj],attrs:qn,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(g,A){1&g&&(m.TgZ(0,"div",0),m.YNc(1,vi,7,7,"div",1),m.YNc(2,Si,1,6,"div",2),m.YNc(3,yi,2,7,"div",3),m.YNc(4,Lr,2,0,"a",4),m.YNc(5,xr,2,2,"div",5),m.qZA()),2&g&&(m.xp6(1),m.Q6J("ngIf",A.title),m.xp6(1),m.Q6J("ngIf",A.message&&A.options.enableHtml),m.xp6(1),m.Q6J("ngIf",A.message&&!A.options.enableHtml),m.xp6(1),m.Q6J("ngIf",A.options.closeButton&&null==A.title),m.xp6(1),m.Q6J("ngIf",A.options.progressBar))},dependencies:[ut.mk,ut.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,Ct.X$)("flyInOut",[(0,Ct.SB)("inactive",(0,Ct.oB)({opacity:0})),(0,Ct.eR)("inactive => active",(0,Ct.jt)("400ms ease-out",(0,Ct.F4)([(0,Ct.oB)({transform:"translate3d(100%, 0, 0) skewX(-30deg)",opacity:0}),(0,Ct.oB)({transform:"skewX(20deg)",opacity:1}),(0,Ct.oB)({transform:"skewX(-5deg)",opacity:1}),(0,Ct.oB)({transform:"none",opacity:1})]))),(0,Ct.eR)("active => removed",(0,Ct.jt)("400ms ease-out",(0,Ct.F4)([(0,Ct.oB)({opacity:1}),(0,Ct.oB)({transform:"translate3d(100%, 0, 0) skewX(30deg)",opacity:0})])))])]}}),l})();var Xn=v(6280),Uo=v(6304),ts=v(6897),ci=v(553),Os=v(4170),zs=v(8253),ns=v(4750);const bi={name:"MarketplaceDB",version:1,objectStoresMeta:[{store:"Categories",storeConfig:{keyPath:null,autoIncrement:!1},storeSchema:[]}]};let Ps=(()=>{var C;class l{}return(C=l).\u0275fac=function(g){return new(g||C)},C.\u0275mod=m.oAB({type:C,bootstrap:[kn]}),C.\u0275inj=m.cJS({providers:[{provide:W.TP,useClass:pn,multi:!0},{provide:Os.o2,useValue:{subscriptSizing:"dynamic"}},N.O,Ae.e,{provide:m.ip1,useFactory:c=>function(){c.loadPermissions()},deps:[ns.e],multi:!0}],imports:[s.b2,vt,_t,cr.Rh.forRoot({toastComponent:no,positionClass:"toast-bottom-right",closeButton:!0}),W.JF,Xn.Cz.forRoot(bi),Oe.forRoot(),Uo.hO.initializeApp(ci.N.firebaseConfig),ts.ww,zs.VI.forRoot()]}),l})();ci.N.production&&(0,m.G48)(),s.q6().bootstrapModule(Ps).catch(C=>console.error(C))},5619:(ft,De,v)=>{v.d(De,{X:()=>m});var s=v(8645);class m extends s.x{constructor(U){super(),this._value=U}get value(){return this.getValue()}_subscribe(U){const I=super._subscribe(U);return!I.closed&&U.next(this._value),I}getValue(){const{hasError:U,thrownError:I,_value:Y}=this;if(U)throw I;return this._throwIfClosed(),Y}next(U){super.next(this._value=U)}}},5592:(ft,De,v)=>{v.d(De,{y:()=>re});var s=v(305),m=v(7394),W=v(4850),U=v(8407),I=v(2653),Y=v(4674),Z=v(1441);let re=(()=>{class fe{constructor(Ie){Ie&&(this._subscribe=Ie)}lift(Ie){const Ke=new fe;return Ke.source=this,Ke.operator=Ie,Ke}subscribe(Ie,Ke,we){const Je=function J(fe){return fe&&fe instanceof s.Lv||function H(fe){return fe&&(0,Y.m)(fe.next)&&(0,Y.m)(fe.error)&&(0,Y.m)(fe.complete)}(fe)&&(0,m.Nn)(fe)}(Ie)?Ie:new s.Hp(Ie,Ke,we);return(0,Z.x)(()=>{const{operator:Ve,source:ut}=this;Je.add(Ve?Ve.call(Je,ut):ut?this._subscribe(Je):this._trySubscribe(Je))}),Je}_trySubscribe(Ie){try{return this._subscribe(Ie)}catch(Ke){Ie.error(Ke)}}forEach(Ie,Ke){return new(Ke=te(Ke))((we,Je)=>{const Ve=new s.Hp({next:ut=>{try{Ie(ut)}catch(ke){Je(ke),Ve.unsubscribe()}},error:Je,complete:we});this.subscribe(Ve)})}_subscribe(Ie){var Ke;return null===(Ke=this.source)||void 0===Ke?void 0:Ke.subscribe(Ie)}[W.L](){return this}pipe(...Ie){return(0,U.U)(Ie)(this)}toPromise(Ie){return new(Ie=te(Ie))((Ke,we)=>{let Je;this.subscribe(Ve=>Je=Ve,Ve=>we(Ve),()=>Ke(Je))})}}return fe.create=Se=>new fe(Se),fe})();function te(fe){var Se;return null!==(Se=fe??I.config.Promise)&&void 0!==Se?Se:Promise}},7328:(ft,De,v)=>{v.d(De,{t:()=>W});var s=v(8645),m=v(4552);class W extends s.x{constructor(I=1/0,Y=1/0,Z=m.l){super(),this._bufferSize=I,this._windowTime=Y,this._timestampProvider=Z,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=Y===1/0,this._bufferSize=Math.max(1,I),this._windowTime=Math.max(1,Y)}next(I){const{isStopped:Y,_buffer:Z,_infiniteTimeWindow:re,_timestampProvider:te,_windowTime:H}=this;Y||(Z.push(I),!re&&Z.push(te.now()+H)),this._trimBuffer(),super.next(I)}_subscribe(I){this._throwIfClosed(),this._trimBuffer();const Y=this._innerSubscribe(I),{_infiniteTimeWindow:Z,_buffer:re}=this,te=re.slice();for(let H=0;H<te.length&&!I.closed;H+=Z?1:2)I.next(te[H]);return this._checkFinalizedStatuses(I),Y}_trimBuffer(){const{_bufferSize:I,_timestampProvider:Y,_buffer:Z,_infiniteTimeWindow:re}=this,te=(re?1:2)*I;if(I<1/0&&te<Z.length&&Z.splice(0,Z.length-te),!re){const H=Y.now();let J=0;for(let fe=1;fe<Z.length&&Z[fe]<=H;fe+=2)J=fe;J&&Z.splice(0,J+1)}}}},8645:(ft,De,v)=>{v.d(De,{x:()=>Z});var s=v(5592),m=v(7394);const U=(0,v(2306).d)(te=>function(){te(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var I=v(9039),Y=v(1441);let Z=(()=>{class te extends s.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(J){const fe=new re(this,this);return fe.operator=J,fe}_throwIfClosed(){if(this.closed)throw new U}next(J){(0,Y.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const fe of this.currentObservers)fe.next(J)}})}error(J){(0,Y.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=J;const{observers:fe}=this;for(;fe.length;)fe.shift().error(J)}})}complete(){(0,Y.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:J}=this;for(;J.length;)J.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var J;return(null===(J=this.observers)||void 0===J?void 0:J.length)>0}_trySubscribe(J){return this._throwIfClosed(),super._trySubscribe(J)}_subscribe(J){return this._throwIfClosed(),this._checkFinalizedStatuses(J),this._innerSubscribe(J)}_innerSubscribe(J){const{hasError:fe,isStopped:Se,observers:Ie}=this;return fe||Se?m.Lc:(this.currentObservers=null,Ie.push(J),new m.w0(()=>{this.currentObservers=null,(0,I.P)(Ie,J)}))}_checkFinalizedStatuses(J){const{hasError:fe,thrownError:Se,isStopped:Ie}=this;fe?J.error(Se):Ie&&J.complete()}asObservable(){const J=new s.y;return J.source=this,J}}return te.create=(H,J)=>new re(H,J),te})();class re extends Z{constructor(H,J){super(),this.destination=H,this.source=J}next(H){var J,fe;null===(fe=null===(J=this.destination)||void 0===J?void 0:J.next)||void 0===fe||fe.call(J,H)}error(H){var J,fe;null===(fe=null===(J=this.destination)||void 0===J?void 0:J.error)||void 0===fe||fe.call(J,H)}complete(){var H,J;null===(J=null===(H=this.destination)||void 0===H?void 0:H.complete)||void 0===J||J.call(H)}_subscribe(H){var J,fe;return null!==(fe=null===(J=this.source)||void 0===J?void 0:J.subscribe(H))&&void 0!==fe?fe:m.Lc}}},305:(ft,De,v)=>{v.d(De,{Hp:()=>we,Lv:()=>fe});var s=v(4674),m=v(7394),W=v(2653),U=v(3894),I=v(2420);const Y=te("C",void 0,void 0);function te(G,z,ie){return{kind:G,value:z,error:ie}}var H=v(7599),J=v(1441);class fe extends m.w0{constructor(z){super(),this.isStopped=!1,z?(this.destination=z,(0,m.Nn)(z)&&z.add(this)):this.destination=ke}static create(z,ie,ue){return new we(z,ie,ue)}next(z){this.isStopped?ut(function re(G){return te("N",G,void 0)}(z),this):this._next(z)}error(z){this.isStopped?ut(function Z(G){return te("E",void 0,G)}(z),this):(this.isStopped=!0,this._error(z))}complete(){this.isStopped?ut(Y,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(z){this.destination.next(z)}_error(z){try{this.destination.error(z)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const Se=Function.prototype.bind;function Ie(G,z){return Se.call(G,z)}class Ke{constructor(z){this.partialObserver=z}next(z){const{partialObserver:ie}=this;if(ie.next)try{ie.next(z)}catch(ue){Je(ue)}}error(z){const{partialObserver:ie}=this;if(ie.error)try{ie.error(z)}catch(ue){Je(ue)}else Je(z)}complete(){const{partialObserver:z}=this;if(z.complete)try{z.complete()}catch(ie){Je(ie)}}}class we extends fe{constructor(z,ie,ue){let ge;if(super(),(0,s.m)(z)||!z)ge={next:z??void 0,error:ie??void 0,complete:ue??void 0};else{let xe;this&&W.config.useDeprecatedNextContext?(xe=Object.create(z),xe.unsubscribe=()=>this.unsubscribe(),ge={next:z.next&&Ie(z.next,xe),error:z.error&&Ie(z.error,xe),complete:z.complete&&Ie(z.complete,xe)}):ge=z}this.destination=new Ke(ge)}}function Je(G){W.config.useDeprecatedSynchronousErrorHandling?(0,J.O)(G):(0,U.h)(G)}function ut(G,z){const{onStoppedNotification:ie}=W.config;ie&&H.z.setTimeout(()=>ie(G,z))}const ke={closed:!0,next:I.Z,error:function Ve(G){throw G},complete:I.Z}},7394:(ft,De,v)=>{v.d(De,{Lc:()=>Y,w0:()=>I,Nn:()=>Z});var s=v(4674);const W=(0,v(2306).d)(te=>function(J){te(this),this.message=J?`${J.length} errors occurred during unsubscription:\n${J.map((fe,Se)=>`${Se+1}) ${fe.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=J});var U=v(9039);class I{constructor(H){this.initialTeardown=H,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let H;if(!this.closed){this.closed=!0;const{_parentage:J}=this;if(J)if(this._parentage=null,Array.isArray(J))for(const Ie of J)Ie.remove(this);else J.remove(this);const{initialTeardown:fe}=this;if((0,s.m)(fe))try{fe()}catch(Ie){H=Ie instanceof W?Ie.errors:[Ie]}const{_finalizers:Se}=this;if(Se){this._finalizers=null;for(const Ie of Se)try{re(Ie)}catch(Ke){H=H??[],Ke instanceof W?H=[...H,...Ke.errors]:H.push(Ke)}}if(H)throw new W(H)}}add(H){var J;if(H&&H!==this)if(this.closed)re(H);else{if(H instanceof I){if(H.closed||H._hasParent(this))return;H._addParent(this)}(this._finalizers=null!==(J=this._finalizers)&&void 0!==J?J:[]).push(H)}}_hasParent(H){const{_parentage:J}=this;return J===H||Array.isArray(J)&&J.includes(H)}_addParent(H){const{_parentage:J}=this;this._parentage=Array.isArray(J)?(J.push(H),J):J?[J,H]:H}_removeParent(H){const{_parentage:J}=this;J===H?this._parentage=null:Array.isArray(J)&&(0,U.P)(J,H)}remove(H){const{_finalizers:J}=this;J&&(0,U.P)(J,H),H instanceof I&&H._removeParent(this)}}I.EMPTY=(()=>{const te=new I;return te.closed=!0,te})();const Y=I.EMPTY;function Z(te){return te instanceof I||te&&"closed"in te&&(0,s.m)(te.remove)&&(0,s.m)(te.add)&&(0,s.m)(te.unsubscribe)}function re(te){(0,s.m)(te)?te():te.unsubscribe()}},2653:(ft,De,v)=>{v.d(De,{config:()=>s});const s={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},2572:(ft,De,v)=>{v.d(De,{a:()=>H});var s=v(5592),m=v(7453),W=v(2459),U=v(2737),I=v(7400),Y=v(9940),Z=v(2714),re=v(8251),te=v(7103);function H(...Se){const Ie=(0,Y.yG)(Se),Ke=(0,Y.jO)(Se),{args:we,keys:Je}=(0,m.D)(Se);if(0===we.length)return(0,W.D)([],Ie);const Ve=new s.y(function J(Se,Ie,Ke=U.y){return we=>{fe(Ie,()=>{const{length:Je}=Se,Ve=new Array(Je);let ut=Je,ke=Je;for(let G=0;G<Je;G++)fe(Ie,()=>{const z=(0,W.D)(Se[G],Ie);let ie=!1;z.subscribe((0,re.x)(we,ue=>{Ve[G]=ue,ie||(ie=!0,ke--),ke||we.next(Ke(Ve.slice()))},()=>{--ut||we.complete()}))},we)},we)}}(we,Ie,Je?ut=>(0,Z.n)(Je,ut):U.y));return Ke?Ve.pipe((0,I.Z)(Ke)):Ve}function fe(Se,Ie,Ke){Se?(0,te.f)(Ke,Se,Ie):Ie()}},5211:(ft,De,v)=>{v.d(De,{z:()=>I});var s=v(7537),W=v(9940),U=v(2459);function I(...Y){return function m(){return(0,s.J)(1)}()((0,U.D)(Y,(0,W.yG)(Y)))}},4911:(ft,De,v)=>{v.d(De,{P:()=>W});var s=v(5592),m=v(4829);function W(U){return new s.y(I=>{(0,m.Xf)(U()).subscribe(I)})}},6232:(ft,De,v)=>{v.d(De,{E:()=>m});const m=new(v(5592).y)(I=>I.complete())},9315:(ft,De,v)=>{v.d(De,{D:()=>re});var s=v(5592),m=v(7453),W=v(4829),U=v(9940),I=v(8251),Y=v(7400),Z=v(2714);function re(...te){const H=(0,U.jO)(te),{args:J,keys:fe}=(0,m.D)(te),Se=new s.y(Ie=>{const{length:Ke}=J;if(!Ke)return void Ie.complete();const we=new Array(Ke);let Je=Ke,Ve=Ke;for(let ut=0;ut<Ke;ut++){let ke=!1;(0,W.Xf)(J[ut]).subscribe((0,I.x)(Ie,G=>{ke||(ke=!0,Ve--),we[ut]=G},()=>Je--,void 0,()=>{(!Je||!ke)&&(Ve||Ie.next(fe?(0,Z.n)(fe,we):we),Ie.complete())}))}});return H?Se.pipe((0,Y.Z)(H)):Se}},2459:(ft,De,v)=>{v.d(De,{D:()=>z});var s=v(4829),m=v(3093),W=v(5137),Y=v(5592),re=v(4971),te=v(4674),H=v(7103);function fe(ie,ue){if(!ie)throw new Error("Iterable cannot be null");return new Y.y(ge=>{(0,H.f)(ge,ue,()=>{const xe=ie[Symbol.asyncIterator]();(0,H.f)(ge,ue,()=>{xe.next().then(Ge=>{Ge.done?ge.complete():ge.next(Ge.value)})},0,!0)})})}var Se=v(8382),Ie=v(4026),Ke=v(4266),we=v(3664),Je=v(5726),Ve=v(9853),ut=v(541);function z(ie,ue){return ue?function G(ie,ue){if(null!=ie){if((0,Se.c)(ie))return function U(ie,ue){return(0,s.Xf)(ie).pipe((0,W.R)(ue),(0,m.Q)(ue))}(ie,ue);if((0,Ke.z)(ie))return function Z(ie,ue){return new Y.y(ge=>{let xe=0;return ue.schedule(function(){xe===ie.length?ge.complete():(ge.next(ie[xe++]),ge.closed||this.schedule())})})}(ie,ue);if((0,Ie.t)(ie))return function I(ie,ue){return(0,s.Xf)(ie).pipe((0,W.R)(ue),(0,m.Q)(ue))}(ie,ue);if((0,Je.D)(ie))return fe(ie,ue);if((0,we.T)(ie))return function J(ie,ue){return new Y.y(ge=>{let xe;return(0,H.f)(ge,ue,()=>{xe=ie[re.h](),(0,H.f)(ge,ue,()=>{let Ge,nt;try{({value:Ge,done:nt}=xe.next())}catch(ht){return void ge.error(ht)}nt?ge.complete():ge.next(Ge)},0,!0)}),()=>(0,te.m)(xe?.return)&&xe.return()})}(ie,ue);if((0,ut.L)(ie))return function ke(ie,ue){return fe((0,ut.Q)(ie),ue)}(ie,ue)}throw(0,Ve.z)(ie)}(ie,ue):(0,s.Xf)(ie)}},4829:(ft,De,v)=>{v.d(De,{Xf:()=>Se});var s=v(7582),m=v(4266),W=v(4026),U=v(5592),I=v(8382),Y=v(5726),Z=v(9853),re=v(3664),te=v(541),H=v(4674),J=v(3894),fe=v(4850);function Se(G){if(G instanceof U.y)return G;if(null!=G){if((0,I.c)(G))return function Ie(G){return new U.y(z=>{const ie=G[fe.L]();if((0,H.m)(ie.subscribe))return ie.subscribe(z);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(G);if((0,m.z)(G))return function Ke(G){return new U.y(z=>{for(let ie=0;ie<G.length&&!z.closed;ie++)z.next(G[ie]);z.complete()})}(G);if((0,W.t)(G))return function we(G){return new U.y(z=>{G.then(ie=>{z.closed||(z.next(ie),z.complete())},ie=>z.error(ie)).then(null,J.h)})}(G);if((0,Y.D)(G))return Ve(G);if((0,re.T)(G))return function Je(G){return new U.y(z=>{for(const ie of G)if(z.next(ie),z.closed)return;z.complete()})}(G);if((0,te.L)(G))return function ut(G){return Ve((0,te.Q)(G))}(G)}throw(0,Z.z)(G)}function Ve(G){return new U.y(z=>{(function ke(G,z){var ie,ue,ge,xe;return(0,s.mG)(this,void 0,void 0,function*(){try{for(ie=(0,s.KL)(G);!(ue=yield ie.next()).done;)if(z.next(ue.value),z.closed)return}catch(Ge){ge={error:Ge}}finally{try{ue&&!ue.done&&(xe=ie.return)&&(yield xe.call(ie))}finally{if(ge)throw ge.error}}z.complete()})})(G,z).catch(ie=>z.error(ie))})}},3019:(ft,De,v)=>{v.d(De,{T:()=>Y});var s=v(7537),m=v(4829),W=v(6232),U=v(9940),I=v(2459);function Y(...Z){const re=(0,U.yG)(Z),te=(0,U._6)(Z,1/0),H=Z;return H.length?1===H.length?(0,m.Xf)(H[0]):(0,s.J)(te)((0,I.D)(H,re)):W.E}},2096:(ft,De,v)=>{v.d(De,{of:()=>W});var s=v(9940),m=v(2459);function W(...U){const I=(0,s.yG)(U);return(0,m.D)(U,I)}},8504:(ft,De,v)=>{v.d(De,{_:()=>W});var s=v(5592),m=v(4674);function W(U,I){const Y=(0,m.m)(U)?U:()=>U,Z=re=>re.error(Y());return new s.y(I?re=>I.schedule(Z,0,re):Z)}},9080:(ft,De,v)=>{v.d(De,{H:()=>I});var s=v(5592),m=v(6321),W=v(671),U=v(93);function I(Y=0,Z,re=m.P){let te=-1;return null!=Z&&((0,W.K)(Z)?re=Z:te=Z),new s.y(H=>{let J=(0,U.q)(Y)?+Y-re.now():Y;J<0&&(J=0);let fe=0;return re.schedule(function(){H.closed||(H.next(fe++),0<=te?this.schedule(void 0,te):H.complete())},J)})}},8251:(ft,De,v)=>{v.d(De,{x:()=>m});var s=v(305);function m(U,I,Y,Z,re){return new W(U,I,Y,Z,re)}class W extends s.Lv{constructor(I,Y,Z,re,te,H){super(I),this.onFinalize=te,this.shouldUnsubscribe=H,this._next=Y?function(J){try{Y(J)}catch(fe){I.error(fe)}}:super._next,this._error=re?function(J){try{re(J)}catch(fe){I.error(fe)}finally{this.unsubscribe()}}:super._error,this._complete=Z?function(){try{Z()}catch(J){I.error(J)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var I;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:Y}=this;super.unsubscribe(),!Y&&(null===(I=this.onFinalize)||void 0===I||I.call(this))}}}},6306:(ft,De,v)=>{v.d(De,{K:()=>U});var s=v(4829),m=v(8251),W=v(9360);function U(I){return(0,W.e)((Y,Z)=>{let H,re=null,te=!1;re=Y.subscribe((0,m.x)(Z,void 0,void 0,J=>{H=(0,s.Xf)(I(J,U(I)(Y))),re?(re.unsubscribe(),re=null,H.subscribe(Z)):te=!0})),te&&(re.unsubscribe(),re=null,H.subscribe(Z))})}},6328:(ft,De,v)=>{v.d(De,{b:()=>W});var s=v(1631),m=v(4674);function W(U,I){return(0,m.m)(I)?(0,s.z)(U,I,1):(0,s.z)(U,1)}},3620:(ft,De,v)=>{v.d(De,{b:()=>U});var s=v(6321),m=v(9360),W=v(8251);function U(I,Y=s.z){return(0,m.e)((Z,re)=>{let te=null,H=null,J=null;const fe=()=>{if(te){te.unsubscribe(),te=null;const Ie=H;H=null,re.next(Ie)}};function Se(){const Ie=J+I,Ke=Y.now();if(Ke<Ie)return te=this.schedule(void 0,Ie-Ke),void re.add(te);fe()}Z.subscribe((0,W.x)(re,Ie=>{H=Ie,J=Y.now(),te||(te=Y.schedule(Se,I),re.add(te))},()=>{fe(),re.complete()},void 0,()=>{H=te=null}))})}},3572:(ft,De,v)=>{v.d(De,{d:()=>W});var s=v(9360),m=v(8251);function W(U){return(0,s.e)((I,Y)=>{let Z=!1;I.subscribe((0,m.x)(Y,re=>{Z=!0,Y.next(re)},()=>{Z||Y.next(U),Y.complete()}))})}},3997:(ft,De,v)=>{v.d(De,{x:()=>U});var s=v(2737),m=v(9360),W=v(8251);function U(Y,Z=s.y){return Y=Y??I,(0,m.e)((re,te)=>{let H,J=!0;re.subscribe((0,W.x)(te,fe=>{const Se=Z(fe);(J||!Y(H,Se))&&(J=!1,H=Se,te.next(fe))}))})}function I(Y,Z){return Y===Z}},2181:(ft,De,v)=>{v.d(De,{h:()=>W});var s=v(9360),m=v(8251);function W(U,I){return(0,s.e)((Y,Z)=>{let re=0;Y.subscribe((0,m.x)(Z,te=>U.call(I,te,re++)&&Z.next(te)))})}},4716:(ft,De,v)=>{v.d(De,{x:()=>m});var s=v(9360);function m(W){return(0,s.e)((U,I)=>{try{U.subscribe(I)}finally{I.add(W)}})}},1374:(ft,De,v)=>{v.d(De,{P:()=>Z});var s=v(6973),m=v(2181),W=v(8180),U=v(3572),I=v(3026),Y=v(2737);function Z(re,te){const H=arguments.length>=2;return J=>J.pipe(re?(0,m.h)((fe,Se)=>re(fe,Se,J)):Y.y,(0,W.q)(1),H?(0,U.d)(te):(0,I.T)(()=>new s.K))}},7398:(ft,De,v)=>{v.d(De,{U:()=>W});var s=v(9360),m=v(8251);function W(U,I){return(0,s.e)((Y,Z)=>{let re=0;Y.subscribe((0,m.x)(Z,te=>{Z.next(U.call(I,te,re++))}))})}},7537:(ft,De,v)=>{v.d(De,{J:()=>W});var s=v(1631),m=v(2737);function W(U=1/0){return(0,s.z)(m.y,U)}},1631:(ft,De,v)=>{v.d(De,{z:()=>re});var s=v(7398),m=v(4829),W=v(9360),U=v(7103),I=v(8251),Z=v(4674);function re(te,H,J=1/0){return(0,Z.m)(H)?re((fe,Se)=>(0,s.U)((Ie,Ke)=>H(fe,Ie,Se,Ke))((0,m.Xf)(te(fe,Se))),J):("number"==typeof H&&(J=H),(0,W.e)((fe,Se)=>function Y(te,H,J,fe,Se,Ie,Ke,we){const Je=[];let Ve=0,ut=0,ke=!1;const G=()=>{ke&&!Je.length&&!Ve&&H.complete()},z=ue=>Ve<fe?ie(ue):Je.push(ue),ie=ue=>{Ie&&H.next(ue),Ve++;let ge=!1;(0,m.Xf)(J(ue,ut++)).subscribe((0,I.x)(H,xe=>{Se?.(xe),Ie?z(xe):H.next(xe)},()=>{ge=!0},void 0,()=>{if(ge)try{for(Ve--;Je.length&&Ve<fe;){const xe=Je.shift();Ke?(0,U.f)(H,Ke,()=>ie(xe)):ie(xe)}G()}catch(xe){H.error(xe)}}))};return te.subscribe((0,I.x)(H,z,()=>{ke=!0,G()})),()=>{we?.()}}(fe,Se,te,J)))}},3093:(ft,De,v)=>{v.d(De,{Q:()=>U});var s=v(7103),m=v(9360),W=v(8251);function U(I,Y=0){return(0,m.e)((Z,re)=>{Z.subscribe((0,W.x)(re,te=>(0,s.f)(re,I,()=>re.next(te),Y),()=>(0,s.f)(re,I,()=>re.complete(),Y),te=>(0,s.f)(re,I,()=>re.error(te),Y)))})}},6699:(ft,De,v)=>{v.d(De,{R:()=>U});var s=v(9360),m=v(8251);function U(I,Y){return(0,s.e)(function W(I,Y,Z,re,te){return(H,J)=>{let fe=Z,Se=Y,Ie=0;H.subscribe((0,m.x)(J,Ke=>{const we=Ie++;Se=fe?I(Se,Ke,we):(fe=!0,Ke),re&&J.next(Se)},te&&(()=>{fe&&J.next(Se),J.complete()})))}}(I,Y,arguments.length>=2,!0))}},3020:(ft,De,v)=>{v.d(De,{B:()=>I});var s=v(4829),m=v(8645),W=v(305),U=v(9360);function I(Z={}){const{connector:re=(()=>new m.x),resetOnError:te=!0,resetOnComplete:H=!0,resetOnRefCountZero:J=!0}=Z;return fe=>{let Se,Ie,Ke,we=0,Je=!1,Ve=!1;const ut=()=>{Ie?.unsubscribe(),Ie=void 0},ke=()=>{ut(),Se=Ke=void 0,Je=Ve=!1},G=()=>{const z=Se;ke(),z?.unsubscribe()};return(0,U.e)((z,ie)=>{we++,!Ve&&!Je&&ut();const ue=Ke=Ke??re();ie.add(()=>{we--,0===we&&!Ve&&!Je&&(Ie=Y(G,J))}),ue.subscribe(ie),!Se&&we>0&&(Se=new W.Hp({next:ge=>ue.next(ge),error:ge=>{Ve=!0,ut(),Ie=Y(ke,te,ge),ue.error(ge)},complete:()=>{Je=!0,ut(),Ie=Y(ke,H),ue.complete()}}),(0,s.Xf)(z).subscribe(Se))})(fe)}}function Y(Z,re,...te){if(!0===re)return void Z();if(!1===re)return;const H=new W.Hp({next:()=>{H.unsubscribe(),Z()}});return(0,s.Xf)(re(...te)).subscribe(H)}},7081:(ft,De,v)=>{v.d(De,{d:()=>W});var s=v(7328),m=v(3020);function W(U,I,Y){let Z,re=!1;return U&&"object"==typeof U?({bufferSize:Z=1/0,windowTime:I=1/0,refCount:re=!1,scheduler:Y}=U):Z=U??1/0,(0,m.B)({connector:()=>new s.t(Z,I,Y),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:re})}},836:(ft,De,v)=>{v.d(De,{T:()=>m});var s=v(2181);function m(W){return(0,s.h)((U,I)=>W<=I)}},7921:(ft,De,v)=>{v.d(De,{O:()=>U});var s=v(5211),m=v(9940),W=v(9360);function U(...I){const Y=(0,m.yG)(I);return(0,W.e)((Z,re)=>{(Y?(0,s.z)(I,Z,Y):(0,s.z)(I,Z)).subscribe(re)})}},5137:(ft,De,v)=>{v.d(De,{R:()=>m});var s=v(9360);function m(W,U=0){return(0,s.e)((I,Y)=>{Y.add(W.schedule(()=>I.subscribe(Y),U))})}},4664:(ft,De,v)=>{v.d(De,{w:()=>U});var s=v(4829),m=v(9360),W=v(8251);function U(I,Y){return(0,m.e)((Z,re)=>{let te=null,H=0,J=!1;const fe=()=>J&&!te&&re.complete();Z.subscribe((0,W.x)(re,Se=>{te?.unsubscribe();let Ie=0;const Ke=H++;(0,s.Xf)(I(Se,Ke)).subscribe(te=(0,W.x)(re,we=>re.next(Y?Y(Se,we,Ke,Ie++):we),()=>{te=null,fe()}))},()=>{J=!0,fe()}))})}},8180:(ft,De,v)=>{v.d(De,{q:()=>U});var s=v(6232),m=v(9360),W=v(8251);function U(I){return I<=0?()=>s.E:(0,m.e)((Y,Z)=>{let re=0;Y.subscribe((0,W.x)(Z,te=>{++re<=I&&(Z.next(te),I<=re&&Z.complete())}))})}},9773:(ft,De,v)=>{v.d(De,{R:()=>I});var s=v(9360),m=v(8251),W=v(4829),U=v(2420);function I(Y){return(0,s.e)((Z,re)=>{(0,W.Xf)(Y).subscribe((0,m.x)(re,()=>re.complete(),U.Z)),!re.closed&&Z.subscribe(re)})}},9397:(ft,De,v)=>{v.d(De,{b:()=>I});var s=v(4674),m=v(9360),W=v(8251),U=v(2737);function I(Y,Z,re){const te=(0,s.m)(Y)||Z||re?{next:Y,error:Z,complete:re}:Y;return te?(0,m.e)((H,J)=>{var fe;null===(fe=te.subscribe)||void 0===fe||fe.call(te);let Se=!0;H.subscribe((0,W.x)(J,Ie=>{var Ke;null===(Ke=te.next)||void 0===Ke||Ke.call(te,Ie),J.next(Ie)},()=>{var Ie;Se=!1,null===(Ie=te.complete)||void 0===Ie||Ie.call(te),J.complete()},Ie=>{var Ke;Se=!1,null===(Ke=te.error)||void 0===Ke||Ke.call(te,Ie),J.error(Ie)},()=>{var Ie,Ke;Se&&(null===(Ie=te.unsubscribe)||void 0===Ie||Ie.call(te)),null===(Ke=te.finalize)||void 0===Ke||Ke.call(te)}))}):U.y}},3026:(ft,De,v)=>{v.d(De,{T:()=>U});var s=v(6973),m=v(9360),W=v(8251);function U(Y=I){return(0,m.e)((Z,re)=>{let te=!1;Z.subscribe((0,W.x)(re,H=>{te=!0,re.next(H)},()=>te?re.complete():re.error(Y())))})}function I(){return new s.K}},1954:(ft,De,v)=>{v.d(De,{o:()=>I});var s=v(7394);class m extends s.w0{constructor(Z,re){super()}schedule(Z,re=0){return this}}const W={setInterval(Y,Z,...re){const{delegate:te}=W;return te?.setInterval?te.setInterval(Y,Z,...re):setInterval(Y,Z,...re)},clearInterval(Y){const{delegate:Z}=W;return(Z?.clearInterval||clearInterval)(Y)},delegate:void 0};var U=v(9039);class I extends m{constructor(Z,re){super(Z,re),this.scheduler=Z,this.work=re,this.pending=!1}schedule(Z,re=0){var te;if(this.closed)return this;this.state=Z;const H=this.id,J=this.scheduler;return null!=H&&(this.id=this.recycleAsyncId(J,H,re)),this.pending=!0,this.delay=re,this.id=null!==(te=this.id)&&void 0!==te?te:this.requestAsyncId(J,this.id,re),this}requestAsyncId(Z,re,te=0){return W.setInterval(Z.flush.bind(Z,this),te)}recycleAsyncId(Z,re,te=0){if(null!=te&&this.delay===te&&!1===this.pending)return re;null!=re&&W.clearInterval(re)}execute(Z,re){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const te=this._execute(Z,re);if(te)return te;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(Z,re){let H,te=!1;try{this.work(Z)}catch(J){te=!0,H=J||new Error("Scheduled action threw falsy error")}if(te)return this.unsubscribe(),H}unsubscribe(){if(!this.closed){const{id:Z,scheduler:re}=this,{actions:te}=re;this.work=this.state=this.scheduler=null,this.pending=!1,(0,U.P)(te,this),null!=Z&&(this.id=this.recycleAsyncId(re,Z,null)),this.delay=null,super.unsubscribe()}}}},2631:(ft,De,v)=>{v.d(De,{v:()=>W});var s=v(4552);class m{constructor(I,Y=m.now){this.schedulerActionCtor=I,this.now=Y}schedule(I,Y=0,Z){return new this.schedulerActionCtor(this,I).schedule(Z,Y)}}m.now=s.l.now;class W extends m{constructor(I,Y=m.now){super(I,Y),this.actions=[],this._active=!1}flush(I){const{actions:Y}=this;if(this._active)return void Y.push(I);let Z;this._active=!0;do{if(Z=I.execute(I.state,I.delay))break}while(I=Y.shift());if(this._active=!1,Z){for(;I=Y.shift();)I.unsubscribe();throw Z}}}},6321:(ft,De,v)=>{v.d(De,{P:()=>U,z:()=>W});var s=v(1954);const W=new(v(2631).v)(s.o),U=W},4552:(ft,De,v)=>{v.d(De,{l:()=>s});const s={now:()=>(s.delegate||Date).now(),delegate:void 0}},7599:(ft,De,v)=>{v.d(De,{z:()=>s});const s={setTimeout(m,W,...U){const{delegate:I}=s;return I?.setTimeout?I.setTimeout(m,W,...U):setTimeout(m,W,...U)},clearTimeout(m){const{delegate:W}=s;return(W?.clearTimeout||clearTimeout)(m)},delegate:void 0}},4971:(ft,De,v)=>{v.d(De,{h:()=>m});const m=function s(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},4850:(ft,De,v)=>{v.d(De,{L:()=>s});const s="function"==typeof Symbol&&Symbol.observable||"@@observable"},6973:(ft,De,v)=>{v.d(De,{K:()=>m});const m=(0,v(2306).d)(W=>function(){W(this),this.name="EmptyError",this.message="no elements in sequence"})},9940:(ft,De,v)=>{v.d(De,{_6:()=>Y,jO:()=>U,yG:()=>I});var s=v(4674),m=v(671);function W(Z){return Z[Z.length-1]}function U(Z){return(0,s.m)(W(Z))?Z.pop():void 0}function I(Z){return(0,m.K)(W(Z))?Z.pop():void 0}function Y(Z,re){return"number"==typeof W(Z)?Z.pop():re}},7453:(ft,De,v)=>{v.d(De,{D:()=>I});const{isArray:s}=Array,{getPrototypeOf:m,prototype:W,keys:U}=Object;function I(Z){if(1===Z.length){const re=Z[0];if(s(re))return{args:re,keys:null};if(function Y(Z){return Z&&"object"==typeof Z&&m(Z)===W}(re)){const te=U(re);return{args:te.map(H=>re[H]),keys:te}}}return{args:Z,keys:null}}},9039:(ft,De,v)=>{function s(m,W){if(m){const U=m.indexOf(W);0<=U&&m.splice(U,1)}}v.d(De,{P:()=>s})},2306:(ft,De,v)=>{function s(m){const U=m(I=>{Error.call(I),I.stack=(new Error).stack});return U.prototype=Object.create(Error.prototype),U.prototype.constructor=U,U}v.d(De,{d:()=>s})},2714:(ft,De,v)=>{function s(m,W){return m.reduce((U,I,Y)=>(U[I]=W[Y],U),{})}v.d(De,{n:()=>s})},1441:(ft,De,v)=>{v.d(De,{O:()=>U,x:()=>W});var s=v(2653);let m=null;function W(I){if(s.config.useDeprecatedSynchronousErrorHandling){const Y=!m;if(Y&&(m={errorThrown:!1,error:null}),I(),Y){const{errorThrown:Z,error:re}=m;if(m=null,Z)throw re}}else I()}function U(I){s.config.useDeprecatedSynchronousErrorHandling&&m&&(m.errorThrown=!0,m.error=I)}},7103:(ft,De,v)=>{function s(m,W,U,I=0,Y=!1){const Z=W.schedule(function(){U(),Y?m.add(this.schedule(null,I)):this.unsubscribe()},I);if(m.add(Z),!Y)return Z}v.d(De,{f:()=>s})},2737:(ft,De,v)=>{function s(m){return m}v.d(De,{y:()=>s})},4266:(ft,De,v)=>{v.d(De,{z:()=>s});const s=m=>m&&"number"==typeof m.length&&"function"!=typeof m},5726:(ft,De,v)=>{v.d(De,{D:()=>m});var s=v(4674);function m(W){return Symbol.asyncIterator&&(0,s.m)(W?.[Symbol.asyncIterator])}},93:(ft,De,v)=>{function s(m){return m instanceof Date&&!isNaN(m)}v.d(De,{q:()=>s})},4674:(ft,De,v)=>{function s(m){return"function"==typeof m}v.d(De,{m:()=>s})},8382:(ft,De,v)=>{v.d(De,{c:()=>W});var s=v(4850),m=v(4674);function W(U){return(0,m.m)(U[s.L])}},3664:(ft,De,v)=>{v.d(De,{T:()=>W});var s=v(4971),m=v(4674);function W(U){return(0,m.m)(U?.[s.h])}},4026:(ft,De,v)=>{v.d(De,{t:()=>m});var s=v(4674);function m(W){return(0,s.m)(W?.then)}},541:(ft,De,v)=>{v.d(De,{L:()=>U,Q:()=>W});var s=v(7582),m=v(4674);function W(I){return(0,s.FC)(this,arguments,function*(){const Z=I.getReader();try{for(;;){const{value:re,done:te}=yield(0,s.qq)(Z.read());if(te)return yield(0,s.qq)(void 0);yield yield(0,s.qq)(re)}}finally{Z.releaseLock()}})}function U(I){return(0,m.m)(I?.getReader)}},671:(ft,De,v)=>{v.d(De,{K:()=>m});var s=v(4674);function m(W){return W&&(0,s.m)(W.schedule)}},9360:(ft,De,v)=>{v.d(De,{A:()=>m,e:()=>W});var s=v(4674);function m(U){return(0,s.m)(U?.lift)}function W(U){return I=>{if(m(I))return I.lift(function(Y){try{return U(Y,this)}catch(Z){this.error(Z)}});throw new TypeError("Unable to lift unknown Observable type")}}},7400:(ft,De,v)=>{v.d(De,{Z:()=>U});var s=v(7398);const{isArray:m}=Array;function U(I){return(0,s.U)(Y=>function W(I,Y){return m(Y)?I(...Y):I(Y)}(I,Y))}},2420:(ft,De,v)=>{function s(){}v.d(De,{Z:()=>s})},8407:(ft,De,v)=>{v.d(De,{U:()=>W,z:()=>m});var s=v(2737);function m(...U){return W(U)}function W(U){return 0===U.length?s.y:1===U.length?U[0]:function(Y){return U.reduce((Z,re)=>re(Z),Y)}}},3894:(ft,De,v)=>{v.d(De,{h:()=>W});var s=v(2653),m=v(7599);function W(U){m.z.setTimeout(()=>{const{onUnhandledError:I}=s.config;if(!I)throw U;I(U)})}},9853:(ft,De,v)=>{function s(m){return new TypeError(`You provided ${null!==m&&"object"==typeof m?"an invalid object":`'${m}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}v.d(De,{z:()=>s})},6825:(ft,De,v)=>{v.d(De,{F4:()=>H,IO:()=>Ke,LC:()=>m,SB:()=>te,X$:()=>U,ZE:()=>Ve,ZN:()=>Je,_j:()=>s,eR:()=>J,jt:()=>I,k1:()=>ut,l3:()=>W,oB:()=>re,pV:()=>Se,ru:()=>Y,vP:()=>Z});class s{}class m{}const W="*";function U(ke,G){return{type:7,name:ke,definitions:G,options:{}}}function I(ke,G=null){return{type:4,styles:G,timings:ke}}function Y(ke,G=null){return{type:3,steps:ke,options:G}}function Z(ke,G=null){return{type:2,steps:ke,options:G}}function re(ke){return{type:6,styles:ke,offset:null}}function te(ke,G,z){return{type:0,name:ke,styles:G,options:z}}function H(ke){return{type:5,steps:ke}}function J(ke,G,z=null){return{type:1,expr:ke,animation:G,options:z}}function Se(ke=null){return{type:9,options:ke}}function Ke(ke,G,z=null){return{type:11,selector:ke,animation:G,options:z}}class Je{constructor(G=0,z=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=G+z}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(G=>G()),this._onDoneFns=[])}onStart(G){this._originalOnStartFns.push(G),this._onStartFns.push(G)}onDone(G){this._originalOnDoneFns.push(G),this._onDoneFns.push(G)}onDestroy(G){this._onDestroyFns.push(G)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(G=>G()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(G=>G()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(G){this._position=this.totalTime?G*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(G){const z="start"==G?this._onStartFns:this._onDoneFns;z.forEach(ie=>ie()),z.length=0}}class Ve{constructor(G){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=G;let z=0,ie=0,ue=0;const ge=this.players.length;0==ge?queueMicrotask(()=>this._onFinish()):this.players.forEach(xe=>{xe.onDone(()=>{++z==ge&&this._onFinish()}),xe.onDestroy(()=>{++ie==ge&&this._onDestroy()}),xe.onStart(()=>{++ue==ge&&this._onStart()})}),this.totalTime=this.players.reduce((xe,Ge)=>Math.max(xe,Ge.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(G=>G()),this._onDoneFns=[])}init(){this.players.forEach(G=>G.init())}onStart(G){this._onStartFns.push(G)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(G=>G()),this._onStartFns=[])}onDone(G){this._onDoneFns.push(G)}onDestroy(G){this._onDestroyFns.push(G)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(G=>G.play())}pause(){this.players.forEach(G=>G.pause())}restart(){this.players.forEach(G=>G.restart())}finish(){this._onFinish(),this.players.forEach(G=>G.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(G=>G.destroy()),this._onDestroyFns.forEach(G=>G()),this._onDestroyFns=[])}reset(){this.players.forEach(G=>G.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(G){const z=G*this.totalTime;this.players.forEach(ie=>{const ue=ie.totalTime?Math.min(1,z/ie.totalTime):1;ie.setPosition(ue)})}getPosition(){const G=this.players.reduce((z,ie)=>null===z||ie.totalTime>z.totalTime?ie:z,null);return null!=G?G.getPosition():0}beforeDestroy(){this.players.forEach(G=>{G.beforeDestroy&&G.beforeDestroy()})}triggerCallback(G){const z="start"==G?this._onStartFns:this._onDoneFns;z.forEach(ie=>ie()),z.length=0}}const ut="!"},4191:(ft,De,v)=>{v.d(De,{rt:()=>R,s1:()=>qe,$s:()=>lt,kH:()=>B,mK:()=>rn,Em:()=>ye,tE:()=>pe,qV:()=>Vt,qm:()=>F,ic:()=>N,Kd:()=>st,Zf:()=>$t,X6:()=>Yt,yG:()=>or,iD:()=>gn});var s=v(6814),m=v(5879),W=v(2831),U=v(8645),I=v(7394),Y=v(5619),Z=v(2096),re=v(6028),te=v(9397),H=v(3620),J=v(2181),fe=v(7398),Se=v(8180),Ie=v(836),Ke=v(3997),we=v(9773),Je=v(2495),Ve=v(7131),ut=v(2572),ke=v(5211),G=v(5592),z=v(7921);const ue=new Set;let ge,xe=(()=>{var P;class V{constructor(ne,le){this._platform=ne,this._nonce=le,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):nt}matchMedia(ne){return(this._platform.WEBKIT||this._platform.BLINK)&&function Ge(P,V){if(!ue.has(P))try{ge||(ge=document.createElement("style"),V&&(ge.nonce=V),ge.setAttribute("type","text/css"),document.head.appendChild(ge)),ge.sheet&&(ge.sheet.insertRule(`@media ${P} {body{ }}`,0),ue.add(P))}catch(me){console.error(me)}}(ne,this._nonce),this._matchMedia(ne)}}return(P=V).\u0275fac=function(ne){return new(ne||P)(m.LFG(W.t4),m.LFG(m.Ojb,8))},P.\u0275prov=m.Yz7({token:P,factory:P.\u0275fac,providedIn:"root"}),V})();function nt(P){return{matches:"all"===P||""===P,media:P,addListener:()=>{},removeListener:()=>{}}}let ht=(()=>{var P;class V{constructor(ne,le){this._mediaMatcher=ne,this._zone=le,this._queries=new Map,this._destroySubject=new U.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(ne){return Mt((0,Je.Eq)(ne)).some(je=>this._registerQuery(je).mql.matches)}observe(ne){const je=Mt((0,Je.Eq)(ne)).map(ee=>this._registerQuery(ee).observable);let oe=(0,ut.a)(je);return oe=(0,ke.z)(oe.pipe((0,Se.q)(1)),oe.pipe((0,Ie.T)(1),(0,H.b)(0))),oe.pipe((0,fe.U)(ee=>{const Pe={matches:!1,breakpoints:{}};return ee.forEach(({matches:X,query:ce})=>{Pe.matches=Pe.matches||X,Pe.breakpoints[ce]=X}),Pe}))}_registerQuery(ne){if(this._queries.has(ne))return this._queries.get(ne);const le=this._mediaMatcher.matchMedia(ne),oe={observable:new G.y(ee=>{const Pe=X=>this._zone.run(()=>ee.next(X));return le.addListener(Pe),()=>{le.removeListener(Pe)}}).pipe((0,z.O)(le),(0,fe.U)(({matches:ee})=>({query:ne,matches:ee})),(0,we.R)(this._destroySubject)),mql:le};return this._queries.set(ne,oe),oe}}return(P=V).\u0275fac=function(ne){return new(ne||P)(m.LFG(xe),m.LFG(m.R0b))},P.\u0275prov=m.Yz7({token:P,factory:P.\u0275fac,providedIn:"root"}),V})();function Mt(P){return P.map(V=>V.split(",")).reduce((V,me)=>V.concat(me)).map(V=>V.trim())}const Gt=" ";function $t(P,V,me){const ne=Cn(P,V);ne.some(le=>le.trim()==me.trim())||(ne.push(me.trim()),P.setAttribute(V,ne.join(Gt)))}function gn(P,V,me){const le=Cn(P,V).filter(je=>je!=me.trim());le.length?P.setAttribute(V,le.join(Gt)):P.removeAttribute(V)}function Cn(P,V){return(P.getAttribute(V)||"").match(/\S+/g)||[]}const $e="cdk-describedby-message",Ye="cdk-describedby-host";let Qe=0,lt=(()=>{var P;class V{constructor(ne,le){this._platform=le,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+Qe++,this._document=ne,this._id=(0,m.f3M)(m.AFp)+"-"+Qe++}describe(ne,le,je){if(!this._canBeDescribed(ne,le))return;const oe=dt(le,je);"string"!=typeof le?(At(le,this._id),this._messageRegistry.set(oe,{messageElement:le,referenceCount:0})):this._messageRegistry.has(oe)||this._createMessageElement(le,je),this._isElementDescribedByMessage(ne,oe)||this._addMessageReference(ne,oe)}removeDescription(ne,le,je){if(!le||!this._isElementNode(ne))return;const oe=dt(le,je);if(this._isElementDescribedByMessage(ne,oe)&&this._removeMessageReference(ne,oe),"string"==typeof le){const ee=this._messageRegistry.get(oe);ee&&0===ee.referenceCount&&this._deleteMessageElement(oe)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const ne=this._document.querySelectorAll(`[${Ye}="${this._id}"]`);for(let le=0;le<ne.length;le++)this._removeCdkDescribedByReferenceIds(ne[le]),ne[le].removeAttribute(Ye);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(ne,le){const je=this._document.createElement("div");At(je,this._id),je.textContent=ne,le&&je.setAttribute("role",le),this._createMessagesContainer(),this._messagesContainer.appendChild(je),this._messageRegistry.set(dt(ne,le),{messageElement:je,referenceCount:0})}_deleteMessageElement(ne){this._messageRegistry.get(ne)?.messageElement?.remove(),this._messageRegistry.delete(ne)}_createMessagesContainer(){if(this._messagesContainer)return;const ne="cdk-describedby-message-container",le=this._document.querySelectorAll(`.${ne}[platform="server"]`);for(let oe=0;oe<le.length;oe++)le[oe].remove();const je=this._document.createElement("div");je.style.visibility="hidden",je.classList.add(ne),je.classList.add("cdk-visually-hidden"),this._platform&&!this._platform.isBrowser&&je.setAttribute("platform","server"),this._document.body.appendChild(je),this._messagesContainer=je}_removeCdkDescribedByReferenceIds(ne){const le=Cn(ne,"aria-describedby").filter(je=>0!=je.indexOf($e));ne.setAttribute("aria-describedby",le.join(" "))}_addMessageReference(ne,le){const je=this._messageRegistry.get(le);$t(ne,"aria-describedby",je.messageElement.id),ne.setAttribute(Ye,this._id),je.referenceCount++}_removeMessageReference(ne,le){const je=this._messageRegistry.get(le);je.referenceCount--,gn(ne,"aria-describedby",je.messageElement.id),ne.removeAttribute(Ye)}_isElementDescribedByMessage(ne,le){const je=Cn(ne,"aria-describedby"),oe=this._messageRegistry.get(le),ee=oe&&oe.messageElement.id;return!!ee&&-1!=je.indexOf(ee)}_canBeDescribed(ne,le){if(!this._isElementNode(ne))return!1;if(le&&"object"==typeof le)return!0;const je=null==le?"":`${le}`.trim(),oe=ne.getAttribute("aria-label");return!(!je||oe&&oe.trim()===je)}_isElementNode(ne){return ne.nodeType===this._document.ELEMENT_NODE}}return(P=V).\u0275fac=function(ne){return new(ne||P)(m.LFG(s.K0),m.LFG(W.t4))},P.\u0275prov=m.Yz7({token:P,factory:P.\u0275fac,providedIn:"root"}),V})();function dt(P,V){return"string"==typeof P?`${V||""}/${P}`:P}function At(P,V){P.id||(P.id=`${$e}-${V}-${Qe++}`)}class ve{constructor(V){this._items=V,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new U.x,this._typeaheadSubscription=I.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=me=>me.disabled,this._pressedLetters=[],this.tabOut=new U.x,this.change=new U.x,V instanceof m.n_E&&(this._itemChangesSubscription=V.changes.subscribe(me=>{if(this._activeItem){const le=me.toArray().indexOf(this._activeItem);le>-1&&le!==this._activeItemIndex&&(this._activeItemIndex=le)}}))}skipPredicate(V){return this._skipPredicateFn=V,this}withWrap(V=!0){return this._wrap=V,this}withVerticalOrientation(V=!0){return this._vertical=V,this}withHorizontalOrientation(V){return this._horizontal=V,this}withAllowedModifierKeys(V){return this._allowedModifierKeys=V,this}withTypeAhead(V=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,te.b)(me=>this._pressedLetters.push(me)),(0,H.b)(V),(0,J.h)(()=>this._pressedLetters.length>0),(0,fe.U)(()=>this._pressedLetters.join(""))).subscribe(me=>{const ne=this._getItemsArray();for(let le=1;le<ne.length+1;le++){const je=(this._activeItemIndex+le)%ne.length,oe=ne[je];if(!this._skipPredicateFn(oe)&&0===oe.getLabel().toUpperCase().trim().indexOf(me)){this.setActiveItem(je);break}}this._pressedLetters=[]}),this}cancelTypeahead(){return this._pressedLetters=[],this}withHomeAndEnd(V=!0){return this._homeAndEnd=V,this}withPageUpDown(V=!0,me=10){return this._pageUpAndDown={enabled:V,delta:me},this}setActiveItem(V){const me=this._activeItem;this.updateActiveItem(V),this._activeItem!==me&&this.change.next(this._activeItemIndex)}onKeydown(V){const me=V.keyCode,le=["altKey","ctrlKey","metaKey","shiftKey"].every(je=>!V[je]||this._allowedModifierKeys.indexOf(je)>-1);switch(me){case re.Mf:return void this.tabOut.next();case re.JH:if(this._vertical&&le){this.setNextItemActive();break}return;case re.LH:if(this._vertical&&le){this.setPreviousItemActive();break}return;case re.SV:if(this._horizontal&&le){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case re.oh:if(this._horizontal&&le){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case re.Sd:if(this._homeAndEnd&&le){this.setFirstItemActive();break}return;case re.uR:if(this._homeAndEnd&&le){this.setLastItemActive();break}return;case re.Ku:if(this._pageUpAndDown.enabled&&le){const je=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(je>0?je:0,1);break}return;case re.VM:if(this._pageUpAndDown.enabled&&le){const je=this._activeItemIndex+this._pageUpAndDown.delta,oe=this._getItemsArray().length;this._setActiveItemByIndex(je<oe?je:oe-1,-1);break}return;default:return void((le||(0,re.Vb)(V,"shiftKey"))&&(V.key&&1===V.key.length?this._letterKeyStream.next(V.key.toLocaleUpperCase()):(me>=re.A&&me<=re.Z||me>=re.xE&&me<=re.aO)&&this._letterKeyStream.next(String.fromCharCode(me))))}this._pressedLetters=[],V.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(V){const me=this._getItemsArray(),ne="number"==typeof V?V:me.indexOf(V);this._activeItem=me[ne]??null,this._activeItemIndex=ne}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(V){this._wrap?this._setActiveInWrapMode(V):this._setActiveInDefaultMode(V)}_setActiveInWrapMode(V){const me=this._getItemsArray();for(let ne=1;ne<=me.length;ne++){const le=(this._activeItemIndex+V*ne+me.length)%me.length;if(!this._skipPredicateFn(me[le]))return void this.setActiveItem(le)}}_setActiveInDefaultMode(V){this._setActiveItemByIndex(this._activeItemIndex+V,V)}_setActiveItemByIndex(V,me){const ne=this._getItemsArray();if(ne[V]){for(;this._skipPredicateFn(ne[V]);)if(!ne[V+=me])return;this.setActiveItem(V)}}_getItemsArray(){return this._items instanceof m.n_E?this._items.toArray():this._items}}class qe extends ve{setActiveItem(V){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(V),this.activeItem&&this.activeItem.setActiveStyles()}}class ye extends ve{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(V){return this._origin=V,this}setActiveItem(V){super.setActiveItem(V),this.activeItem&&this.activeItem.focus(this._origin)}}let N=(()=>{var P;class V{constructor(ne){this._platform=ne}isDisabled(ne){return ne.hasAttribute("disabled")}isVisible(ne){return function Le(P){return!!(P.offsetWidth||P.offsetHeight||"function"==typeof P.getClientRects&&P.getClientRects().length)}(ne)&&"visible"===getComputedStyle(ne).visibility}isTabbable(ne){if(!this._platform.isBrowser)return!1;const le=function Ae(P){try{return P.frameElement}catch{return null}}(function Nt(P){return P.ownerDocument&&P.ownerDocument.defaultView||window}(ne));if(le&&(-1===ir(le)||!this.isVisible(le)))return!1;let je=ne.nodeName.toLowerCase(),oe=ir(ne);return ne.hasAttribute("contenteditable")?-1!==oe:!("iframe"===je||"object"===je||this._platform.WEBKIT&&this._platform.IOS&&!function Un(P){let V=P.nodeName.toLowerCase(),me="input"===V&&P.type;return"text"===me||"password"===me||"select"===V||"textarea"===V}(ne))&&("audio"===je?!!ne.hasAttribute("controls")&&-1!==oe:"video"===je?-1!==oe&&(null!==oe||this._platform.FIREFOX||ne.hasAttribute("controls")):ne.tabIndex>=0)}isFocusable(ne,le){return function On(P){return!function vt(P){return function Mn(P){return"input"==P.nodeName.toLowerCase()}(P)&&"hidden"==P.type}(P)&&(function St(P){let V=P.nodeName.toLowerCase();return"input"===V||"select"===V||"button"===V||"textarea"===V}(P)||function Lt(P){return function kn(P){return"a"==P.nodeName.toLowerCase()}(P)&&P.hasAttribute("href")}(P)||P.hasAttribute("contenteditable")||Ct(P))}(ne)&&!this.isDisabled(ne)&&(le?.ignoreVisibility||this.isVisible(ne))}}return(P=V).\u0275fac=function(ne){return new(ne||P)(m.LFG(W.t4))},P.\u0275prov=m.Yz7({token:P,factory:P.\u0275fac,providedIn:"root"}),V})();function Ct(P){if(!P.hasAttribute("tabindex")||void 0===P.tabIndex)return!1;let V=P.getAttribute("tabindex");return!(!V||isNaN(parseInt(V,10)))}function ir(P){if(!Ct(P))return null;const V=parseInt(P.getAttribute("tabindex")||"",10);return isNaN(V)?-1:V}class jt{get enabled(){return this._enabled}set enabled(V){this._enabled=V,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(V,this._startAnchor),this._toggleAnchorTabIndex(V,this._endAnchor))}constructor(V,me,ne,le,je=!1){this._element=V,this._checker=me,this._ngZone=ne,this._document=le,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,je||this.attachAnchors()}destroy(){const V=this._startAnchor,me=this._endAnchor;V&&(V.removeEventListener("focus",this.startAnchorListener),V.remove()),me&&(me.removeEventListener("focus",this.endAnchorListener),me.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(V){return new Promise(me=>{this._executeOnStable(()=>me(this.focusInitialElement(V)))})}focusFirstTabbableElementWhenReady(V){return new Promise(me=>{this._executeOnStable(()=>me(this.focusFirstTabbableElement(V)))})}focusLastTabbableElementWhenReady(V){return new Promise(me=>{this._executeOnStable(()=>me(this.focusLastTabbableElement(V)))})}_getRegionBoundary(V){const me=this._element.querySelectorAll(`[cdk-focus-region-${V}], [cdkFocusRegion${V}], [cdk-focus-${V}]`);return"start"==V?me.length?me[0]:this._getFirstTabbableElement(this._element):me.length?me[me.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(V){const me=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(me){if(!this._checker.isFocusable(me)){const ne=this._getFirstTabbableElement(me);return ne?.focus(V),!!ne}return me.focus(V),!0}return this.focusFirstTabbableElement(V)}focusFirstTabbableElement(V){const me=this._getRegionBoundary("start");return me&&me.focus(V),!!me}focusLastTabbableElement(V){const me=this._getRegionBoundary("end");return me&&me.focus(V),!!me}hasAttached(){return this._hasAttached}_getFirstTabbableElement(V){if(this._checker.isFocusable(V)&&this._checker.isTabbable(V))return V;const me=V.children;for(let ne=0;ne<me.length;ne++){const le=me[ne].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(me[ne]):null;if(le)return le}return null}_getLastTabbableElement(V){if(this._checker.isFocusable(V)&&this._checker.isTabbable(V))return V;const me=V.children;for(let ne=me.length-1;ne>=0;ne--){const le=me[ne].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(me[ne]):null;if(le)return le}return null}_createAnchor(){const V=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,V),V.classList.add("cdk-visually-hidden"),V.classList.add("cdk-focus-trap-anchor"),V.setAttribute("aria-hidden","true"),V}_toggleAnchorTabIndex(V,me){V?me.setAttribute("tabindex","0"):me.removeAttribute("tabindex")}toggleAnchors(V){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(V,this._startAnchor),this._toggleAnchorTabIndex(V,this._endAnchor))}_executeOnStable(V){this._ngZone.isStable?V():this._ngZone.onStable.pipe((0,Se.q)(1)).subscribe(V)}}let Vt=(()=>{var P;class V{constructor(ne,le,je){this._checker=ne,this._ngZone=le,this._document=je}create(ne,le=!1){return new jt(ne,this._checker,this._ngZone,this._document,le)}}return(P=V).\u0275fac=function(ne){return new(ne||P)(m.LFG(N),m.LFG(m.R0b),m.LFG(s.K0))},P.\u0275prov=m.Yz7({token:P,factory:P.\u0275fac,providedIn:"root"}),V})(),rn=(()=>{var P;class V{get enabled(){return this.focusTrap.enabled}set enabled(ne){this.focusTrap.enabled=(0,Je.Ig)(ne)}get autoCapture(){return this._autoCapture}set autoCapture(ne){this._autoCapture=(0,Je.Ig)(ne)}constructor(ne,le,je){this._elementRef=ne,this._focusTrapFactory=le,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(ne){const le=ne.autoCapture;le&&!le.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,W.ht)(),this.focusTrap.focusInitialElementWhenReady()}}return(P=V).\u0275fac=function(ne){return new(ne||P)(m.Y36(m.SBq),m.Y36(Vt),m.Y36(s.K0))},P.\u0275dir=m.lG2({type:P,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[m.TTD]}),V})();function Yt(P){return 0===P.buttons||0===P.offsetX&&0===P.offsetY}function or(P){const V=P.touches&&P.touches[0]||P.changedTouches&&P.changedTouches[0];return!(!V||-1!==V.identifier||null!=V.radiusX&&1!==V.radiusX||null!=V.radiusY&&1!==V.radiusY)}const on=new m.OlP("cdk-input-modality-detector-options"),Qn={ignoreKeys:[re.zL,re.jx,re.b2,re.MW,re.JU]},In=(0,W.i$)({passive:!0,capture:!0});let dr=(()=>{var P;class V{get mostRecentModality(){return this._modality.value}constructor(ne,le,je,oe){this._platform=ne,this._mostRecentTarget=null,this._modality=new Y.X(null),this._lastTouchMs=0,this._onKeydown=ee=>{this._options?.ignoreKeys?.some(Pe=>Pe===ee.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,W.sA)(ee))},this._onMousedown=ee=>{Date.now()-this._lastTouchMs<650||(this._modality.next(Yt(ee)?"keyboard":"mouse"),this._mostRecentTarget=(0,W.sA)(ee))},this._onTouchstart=ee=>{or(ee)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,W.sA)(ee))},this._options={...Qn,...oe},this.modalityDetected=this._modality.pipe((0,Ie.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,Ke.x)()),ne.isBrowser&&le.runOutsideAngular(()=>{je.addEventListener("keydown",this._onKeydown,In),je.addEventListener("mousedown",this._onMousedown,In),je.addEventListener("touchstart",this._onTouchstart,In)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,In),document.removeEventListener("mousedown",this._onMousedown,In),document.removeEventListener("touchstart",this._onTouchstart,In))}}return(P=V).\u0275fac=function(ne){return new(ne||P)(m.LFG(W.t4),m.LFG(m.R0b),m.LFG(s.K0),m.LFG(on,8))},P.\u0275prov=m.Yz7({token:P,factory:P.\u0275fac,providedIn:"root"}),V})();const Ze=new m.OlP("liveAnnouncerElement",{providedIn:"root",factory:function Dt(){return null}}),yt=new m.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let We=0,st=(()=>{var P;class V{constructor(ne,le,je,oe){this._ngZone=le,this._defaultOptions=oe,this._document=je,this._liveElement=ne||this._createLiveElement()}announce(ne,...le){const je=this._defaultOptions;let oe,ee;return 1===le.length&&"number"==typeof le[0]?ee=le[0]:[oe,ee]=le,this.clear(),clearTimeout(this._previousTimeout),oe||(oe=je&&je.politeness?je.politeness:"polite"),null==ee&&je&&(ee=je.duration),this._liveElement.setAttribute("aria-live",oe),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(Pe=>this._currentResolve=Pe)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=ne,"number"==typeof ee&&(this._previousTimeout=setTimeout(()=>this.clear(),ee)),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 ne="cdk-live-announcer-element",le=this._document.getElementsByClassName(ne),je=this._document.createElement("div");for(let oe=0;oe<le.length;oe++)le[oe].remove();return je.classList.add(ne),je.classList.add("cdk-visually-hidden"),je.setAttribute("aria-atomic","true"),je.setAttribute("aria-live","polite"),je.id="cdk-live-announcer-"+We++,this._document.body.appendChild(je),je}_exposeAnnouncerToModals(ne){const le=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let je=0;je<le.length;je++){const oe=le[je],ee=oe.getAttribute("aria-owns");ee?-1===ee.indexOf(ne)&&oe.setAttribute("aria-owns",ee+" "+ne):oe.setAttribute("aria-owns",ne)}}}return(P=V).\u0275fac=function(ne){return new(ne||P)(m.LFG(Ze,8),m.LFG(m.R0b),m.LFG(s.K0),m.LFG(yt,8))},P.\u0275prov=m.Yz7({token:P,factory:P.\u0275fac,providedIn:"root"}),V})();const en=new m.OlP("cdk-focus-monitor-default-options"),Jn=(0,W.i$)({passive:!0,capture:!0});let pe=(()=>{var P;class V{constructor(ne,le,je,oe,ee){this._ngZone=ne,this._platform=le,this._inputModalityDetector=je,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 U.x,this._rootNodeFocusAndBlurListener=Pe=>{for(let ce=(0,W.sA)(Pe);ce;ce=ce.parentElement)"focus"===Pe.type?this._onFocus(Pe,ce):this._onBlur(Pe,ce)},this._document=oe,this._detectionMode=ee?.detectionMode||0}monitor(ne,le=!1){const je=(0,Je.fI)(ne);if(!this._platform.isBrowser||1!==je.nodeType)return(0,Z.of)();const oe=(0,W.kV)(je)||this._getDocument(),ee=this._elementInfo.get(je);if(ee)return le&&(ee.checkChildren=!0),ee.subject;const Pe={checkChildren:le,subject:new U.x,rootNode:oe};return this._elementInfo.set(je,Pe),this._registerGlobalListeners(Pe),Pe.subject}stopMonitoring(ne){const le=(0,Je.fI)(ne),je=this._elementInfo.get(le);je&&(je.subject.complete(),this._setClasses(le),this._elementInfo.delete(le),this._removeGlobalListeners(je))}focusVia(ne,le,je){const oe=(0,Je.fI)(ne);oe===this._getDocument().activeElement?this._getClosestElementsInfo(oe).forEach(([Pe,X])=>this._originChanged(Pe,le,X)):(this._setOrigin(le),"function"==typeof oe.focus&&oe.focus(je))}ngOnDestroy(){this._elementInfo.forEach((ne,le)=>this.stopMonitoring(le))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(ne){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(ne)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:ne&&this._isLastInteractionFromInputLabel(ne)?"mouse":"program"}_shouldBeAttributedToTouch(ne){return 1===this._detectionMode||!!ne?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(ne,le){ne.classList.toggle("cdk-focused",!!le),ne.classList.toggle("cdk-touch-focused","touch"===le),ne.classList.toggle("cdk-keyboard-focused","keyboard"===le),ne.classList.toggle("cdk-mouse-focused","mouse"===le),ne.classList.toggle("cdk-program-focused","program"===le)}_setOrigin(ne,le=!1){this._ngZone.runOutsideAngular(()=>{this._origin=ne,this._originFromTouchInteraction="touch"===ne&&le,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(ne,le){const je=this._elementInfo.get(le),oe=(0,W.sA)(ne);!je||!je.checkChildren&&le!==oe||this._originChanged(le,this._getFocusOrigin(oe),je)}_onBlur(ne,le){const je=this._elementInfo.get(le);!je||je.checkChildren&&ne.relatedTarget instanceof Node&&le.contains(ne.relatedTarget)||(this._setClasses(le),this._emitOrigin(je,null))}_emitOrigin(ne,le){ne.subject.observers.length&&this._ngZone.run(()=>ne.subject.next(le))}_registerGlobalListeners(ne){if(!this._platform.isBrowser)return;const le=ne.rootNode,je=this._rootNodeFocusListenerCount.get(le)||0;je||this._ngZone.runOutsideAngular(()=>{le.addEventListener("focus",this._rootNodeFocusAndBlurListener,Jn),le.addEventListener("blur",this._rootNodeFocusAndBlurListener,Jn)}),this._rootNodeFocusListenerCount.set(le,je+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,we.R)(this._stopInputModalityDetector)).subscribe(oe=>{this._setOrigin(oe,!0)}))}_removeGlobalListeners(ne){const le=ne.rootNode;if(this._rootNodeFocusListenerCount.has(le)){const je=this._rootNodeFocusListenerCount.get(le);je>1?this._rootNodeFocusListenerCount.set(le,je-1):(le.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Jn),le.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Jn),this._rootNodeFocusListenerCount.delete(le))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(ne,le,je){this._setClasses(ne,le),this._emitOrigin(je,le),this._lastFocusOrigin=le}_getClosestElementsInfo(ne){const le=[];return this._elementInfo.forEach((je,oe)=>{(oe===ne||je.checkChildren&&oe.contains(ne))&&le.push([oe,je])}),le}_isLastInteractionFromInputLabel(ne){const{_mostRecentTarget:le,mostRecentModality:je}=this._inputModalityDetector;if("mouse"!==je||!le||le===ne||"INPUT"!==ne.nodeName&&"TEXTAREA"!==ne.nodeName||ne.disabled)return!1;const oe=ne.labels;if(oe)for(let ee=0;ee<oe.length;ee++)if(oe[ee].contains(le))return!0;return!1}}return(P=V).\u0275fac=function(ne){return new(ne||P)(m.LFG(m.R0b),m.LFG(W.t4),m.LFG(dr),m.LFG(s.K0,8),m.LFG(en,8))},P.\u0275prov=m.Yz7({token:P,factory:P.\u0275fac,providedIn:"root"}),V})(),B=(()=>{var P;class V{constructor(ne,le){this._elementRef=ne,this._focusMonitor=le,this._focusOrigin=null,this.cdkFocusChange=new m.vpe}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const ne=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(ne,1===ne.nodeType&&ne.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(le=>{this._focusOrigin=le,this.cdkFocusChange.emit(le)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return(P=V).\u0275fac=function(ne){return new(ne||P)(m.Y36(m.SBq),m.Y36(pe))},P.\u0275dir=m.lG2({type:P,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]}),V})();const k="cdk-high-contrast-black-on-white",O="cdk-high-contrast-white-on-black",D="cdk-high-contrast-active";let F=(()=>{var P;class V{constructor(ne,le){this._platform=ne,this._document=le,this._breakpointSubscription=(0,m.f3M)(ht).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const ne=this._document.createElement("div");ne.style.backgroundColor="rgb(1,2,3)",ne.style.position="absolute",this._document.body.appendChild(ne);const le=this._document.defaultView||window,je=le&&le.getComputedStyle?le.getComputedStyle(ne):null,oe=(je&&je.backgroundColor||"").replace(/ /g,"");switch(ne.remove(),oe){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 ne=this._document.body.classList;ne.remove(D,k,O),this._hasCheckedHighContrastMode=!0;const le=this.getHighContrastMode();1===le?ne.add(D,k):2===le&&ne.add(D,O)}}}return(P=V).\u0275fac=function(ne){return new(ne||P)(m.LFG(W.t4),m.LFG(s.K0))},P.\u0275prov=m.Yz7({token:P,factory:P.\u0275fac,providedIn:"root"}),V})(),R=(()=>{var P;class V{constructor(ne){ne._applyBodyHighContrastModeCssClasses()}}return(P=V).\u0275fac=function(ne){return new(ne||P)(m.LFG(F))},P.\u0275mod=m.oAB({type:P}),P.\u0275inj=m.cJS({imports:[Ve.Q8]}),V})()},9388:(ft,De,v)=>{v.d(De,{Is:()=>Z,vT:()=>te});var s=v(5879),m=v(6814);const W=new s.OlP("cdk-dir-doc",{providedIn:"root",factory:function U(){return(0,s.f3M)(m.K0)}}),I=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let Z=(()=>{var H;class J{constructor(Se){this.value="ltr",this.change=new s.vpe,Se&&(this.value=function Y(H){const J=H?.toLowerCase()||"";return"auto"===J&&typeof navigator<"u"&&navigator?.language?I.test(navigator.language)?"rtl":"ltr":"rtl"===J?"rtl":"ltr"}((Se.body?Se.body.dir:null)||(Se.documentElement?Se.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}}return(H=J).\u0275fac=function(Se){return new(Se||H)(s.LFG(W,8))},H.\u0275prov=s.Yz7({token:H,factory:H.\u0275fac,providedIn:"root"}),J})(),te=(()=>{var H;class J{}return(H=J).\u0275fac=function(Se){return new(Se||H)},H.\u0275mod=s.oAB({type:H}),H.\u0275inj=s.cJS({}),J})()},2495:(ft,De,v)=>{v.d(De,{Eq:()=>I,HM:()=>Y,Ig:()=>m,du:()=>re,fI:()=>Z,su:()=>W});var s=v(5879);function m(te){return null!=te&&"false"!=`${te}`}function W(te,H=0){return function U(te){return!isNaN(parseFloat(te))&&!isNaN(Number(te))}(te)?Number(te):H}function I(te){return Array.isArray(te)?te:[te]}function Y(te){return null==te?"":"string"==typeof te?te:`${te}px`}function Z(te){return te instanceof s.SBq?te.nativeElement:te}function re(te,H=/\s+/){const J=[];if(null!=te){const fe=Array.isArray(te)?te:`${te}`.split(H);for(const Se of fe){const Ie=`${Se}`.trim();Ie&&J.push(Ie)}}return J}},6028:(ft,De,v)=>{v.d(De,{A:()=>Qe,JH:()=>ke,JU:()=>Y,K5:()=>I,Ku:()=>Se,LH:()=>Ve,L_:()=>fe,MW:()=>cn,Mf:()=>W,SV:()=>ut,Sd:()=>we,VM:()=>Ie,Vb:()=>ii,Z:()=>Tn,ZH:()=>m,aO:()=>gn,b2:()=>Rr,hY:()=>J,jx:()=>Z,oh:()=>Je,uR:()=>Ke,xE:()=>ge,yY:()=>ue,zL:()=>re});const m=8,W=9,I=13,Y=16,Z=17,re=18,J=27,fe=32,Se=33,Ie=34,Ke=35,we=36,Je=37,Ve=38,ut=39,ke=40,ue=46,ge=48,gn=57,Qe=65,Tn=90,cn=91,Rr=224;function ii(Xr,...yr){return yr.length?yr.some(Tr=>Xr[Tr]):Xr.altKey||Xr.shiftKey||Xr.ctrlKey||Xr.metaKey}},7131:(ft,De,v)=>{v.d(De,{Q8:()=>I});var s=v(5879);let m=(()=>{var Y;class Z{create(te){return typeof MutationObserver>"u"?null:new MutationObserver(te)}}return(Y=Z).\u0275fac=function(te){return new(te||Y)},Y.\u0275prov=s.Yz7({token:Y,factory:Y.\u0275fac,providedIn:"root"}),Z})(),I=(()=>{var Y;class Z{}return(Y=Z).\u0275fac=function(te){return new(te||Y)},Y.\u0275mod=s.oAB({type:Y}),Y.\u0275inj=s.cJS({providers:[m]}),Z})()},2831:(ft,De,v)=>{v.d(De,{Mq:()=>Ie,Oy:()=>G,ht:()=>ut,i$:()=>J,kV:()=>Ve,qK:()=>re,sA:()=>ke,t4:()=>U});var s=v(5879),m=v(6814);let W;try{W=typeof Intl<"u"&&Intl.v8BreakIterator}catch{W=!1}let Y,U=(()=>{var z;class ie{constructor(ge){this._platformId=ge,this.isBrowser=this._platformId?(0,m.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&&!W)&&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(z=ie).\u0275fac=function(ge){return new(ge||z)(s.LFG(s.Lbi))},z.\u0275prov=s.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),ie})();const Z=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function re(){if(Y)return Y;if("object"!=typeof document||!document)return Y=new Set(Z),Y;let z=document.createElement("input");return Y=new Set(Z.filter(ie=>(z.setAttribute("type",ie),z.type===ie))),Y}let te,Se,we;function J(z){return function H(){if(null==te&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>te=!0}))}finally{te=te||!1}return te}()?z:!!z.capture}function Ie(){if(null==Se){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return Se=!1,Se;if("scrollBehavior"in document.documentElement.style)Se=!0;else{const z=Element.prototype.scrollTo;Se=!!z&&!/\{\s*\[native code\]\s*\}/.test(z.toString())}}return Se}function Ve(z){if(function Je(){if(null==we){const z=typeof document<"u"?document.head:null;we=!(!z||!z.createShadowRoot&&!z.attachShadow)}return we}()){const ie=z.getRootNode?z.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&ie instanceof ShadowRoot)return ie}return null}function ut(){let z=typeof document<"u"&&document?document.activeElement:null;for(;z&&z.shadowRoot;){const ie=z.shadowRoot.activeElement;if(ie===z)break;z=ie}return z}function ke(z){return z.composedPath?z.composedPath()[0]:z.target}function G(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},6814:(ft,De,v)=>{v.d(De,{$G:()=>Hn,Do:()=>we,ED:()=>ji,EM:()=>Tt,HT:()=>U,JF:()=>yn,JJ:()=>It,K0:()=>Y,Mx:()=>sr,NF:()=>Me,O5:()=>Rr,Ov:()=>Pi,PC:()=>yo,PM:()=>be,RF:()=>Tr,S$:()=>Se,Ts:()=>Ro,V_:()=>re,Ye:()=>Je,Zd:()=>Fi,b0:()=>Ke,bD:()=>Wr,ez:()=>lr,mk:()=>Ln,n9:()=>Ai,q:()=>W,sg:()=>An,tP:()=>bo,uU:()=>Dr,w_:()=>I});var s=v(5879);let m=null;function W(){return m}function U(f){m||(m=f)}class I{}const Y=new s.OlP("DocumentToken");let Z=(()=>{var f;class T{historyGo(b){throw new Error("Not implemented")}}return(f=T).\u0275fac=function(b){return new(b||f)},f.\u0275prov=s.Yz7({token:f,factory:function(){return(0,s.f3M)(te)},providedIn:"platform"}),T})();const re=new s.OlP("Location Initialized");let te=(()=>{var f;class T extends Z{constructor(){super(),this._doc=(0,s.f3M)(Y),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return W().getBaseHref(this._doc)}onPopState(b){const $=W().getGlobalEventTarget(this._doc,"window");return $.addEventListener("popstate",b,!1),()=>$.removeEventListener("popstate",b)}onHashChange(b){const $=W().getGlobalEventTarget(this._doc,"window");return $.addEventListener("hashchange",b,!1),()=>$.removeEventListener("hashchange",b)}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(b){this._location.pathname=b}pushState(b,$,de){this._history.pushState(b,$,de)}replaceState(b,$,de){this._history.replaceState(b,$,de)}forward(){this._history.forward()}back(){this._history.back()}historyGo(b=0){this._history.go(b)}getState(){return this._history.state}}return(f=T).\u0275fac=function(b){return new(b||f)},f.\u0275prov=s.Yz7({token:f,factory:function(){return new f},providedIn:"platform"}),T})();function H(f,T){if(0==f.length)return T;if(0==T.length)return f;let se=0;return f.endsWith("/")&&se++,T.startsWith("/")&&se++,2==se?f+T.substring(1):1==se?f+T:f+"/"+T}function J(f){const T=f.match(/#|\?|$/),se=T&&T.index||f.length;return f.slice(0,se-("/"===f[se-1]?1:0))+f.slice(se)}function fe(f){return f&&"?"!==f[0]?"?"+f:f}let Se=(()=>{var f;class T{historyGo(b){throw new Error("Not implemented")}}return(f=T).\u0275fac=function(b){return new(b||f)},f.\u0275prov=s.Yz7({token:f,factory:function(){return(0,s.f3M)(Ke)},providedIn:"root"}),T})();const Ie=new s.OlP("appBaseHref");let Ke=(()=>{var f;class T extends Se{constructor(b,$){super(),this._platformLocation=b,this._removeListenerFns=[],this._baseHref=$??this._platformLocation.getBaseHrefFromDOM()??(0,s.f3M)(Y).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(b){this._removeListenerFns.push(this._platformLocation.onPopState(b),this._platformLocation.onHashChange(b))}getBaseHref(){return this._baseHref}prepareExternalUrl(b){return H(this._baseHref,b)}path(b=!1){const $=this._platformLocation.pathname+fe(this._platformLocation.search),de=this._platformLocation.hash;return de&&b?`${$}${de}`:$}pushState(b,$,de,et){const _t=this.prepareExternalUrl(de+fe(et));this._platformLocation.pushState(b,$,_t)}replaceState(b,$,de,et){const _t=this.prepareExternalUrl(de+fe(et));this._platformLocation.replaceState(b,$,_t)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(b=0){this._platformLocation.historyGo?.(b)}}return(f=T).\u0275fac=function(b){return new(b||f)(s.LFG(Z),s.LFG(Ie,8))},f.\u0275prov=s.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"}),T})(),we=(()=>{var f;class T extends Se{constructor(b,$){super(),this._platformLocation=b,this._baseHref="",this._removeListenerFns=[],null!=$&&(this._baseHref=$)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(b){this._removeListenerFns.push(this._platformLocation.onPopState(b),this._platformLocation.onHashChange(b))}getBaseHref(){return this._baseHref}path(b=!1){let $=this._platformLocation.hash;return null==$&&($="#"),$.length>0?$.substring(1):$}prepareExternalUrl(b){const $=H(this._baseHref,b);return $.length>0?"#"+$:$}pushState(b,$,de,et){let _t=this.prepareExternalUrl(de+fe(et));0==_t.length&&(_t=this._platformLocation.pathname),this._platformLocation.pushState(b,$,_t)}replaceState(b,$,de,et){let _t=this.prepareExternalUrl(de+fe(et));0==_t.length&&(_t=this._platformLocation.pathname),this._platformLocation.replaceState(b,$,_t)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(b=0){this._platformLocation.historyGo?.(b)}}return(f=T).\u0275fac=function(b){return new(b||f)(s.LFG(Z),s.LFG(Ie,8))},f.\u0275prov=s.Yz7({token:f,factory:f.\u0275fac}),T})(),Je=(()=>{var f;class T{constructor(b){this._subject=new s.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=b;const $=this._locationStrategy.getBaseHref();this._basePath=function G(f){if(new RegExp("^(https?:)?//").test(f)){const[,se]=f.split(/\/\/[^\/]+/);return se}return f}(J(ke($))),this._locationStrategy.onPopState(de=>{this._subject.emit({url:this.path(!0),pop:!0,state:de.state,type:de.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(b=!1){return this.normalize(this._locationStrategy.path(b))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(b,$=""){return this.path()==this.normalize(b+fe($))}normalize(b){return T.stripTrailingSlash(function ut(f,T){if(!f||!T.startsWith(f))return T;const se=T.substring(f.length);return""===se||["/",";","?","#"].includes(se[0])?se:T}(this._basePath,ke(b)))}prepareExternalUrl(b){return b&&"/"!==b[0]&&(b="/"+b),this._locationStrategy.prepareExternalUrl(b)}go(b,$="",de=null){this._locationStrategy.pushState(de,"",b,$),this._notifyUrlChangeListeners(this.prepareExternalUrl(b+fe($)),de)}replaceState(b,$="",de=null){this._locationStrategy.replaceState(de,"",b,$),this._notifyUrlChangeListeners(this.prepareExternalUrl(b+fe($)),de)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(b=0){this._locationStrategy.historyGo?.(b)}onUrlChange(b){return this._urlChangeListeners.push(b),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe($=>{this._notifyUrlChangeListeners($.url,$.state)})),()=>{const $=this._urlChangeListeners.indexOf(b);this._urlChangeListeners.splice($,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(b="",$){this._urlChangeListeners.forEach(de=>de(b,$))}subscribe(b,$,de){return this._subject.subscribe({next:b,error:$,complete:de})}}return(f=T).normalizeQueryParams=fe,f.joinWithSlash=H,f.stripTrailingSlash=J,f.\u0275fac=function(b){return new(b||f)(s.LFG(Se))},f.\u0275prov=s.Yz7({token:f,factory:function(){return function Ve(){return new Je((0,s.LFG)(Se))}()},providedIn:"root"}),T})();function ke(f){return f.replace(/\/index.html$/,"")}var ie=function(f){return f[f.Decimal=0]="Decimal",f[f.Percent=1]="Percent",f[f.Currency=2]="Currency",f[f.Scientific=3]="Scientific",f}(ie||{}),ge=function(f){return f[f.Format=0]="Format",f[f.Standalone=1]="Standalone",f}(ge||{}),xe=function(f){return f[f.Narrow=0]="Narrow",f[f.Abbreviated=1]="Abbreviated",f[f.Wide=2]="Wide",f[f.Short=3]="Short",f}(xe||{}),Ge=function(f){return f[f.Short=0]="Short",f[f.Medium=1]="Medium",f[f.Long=2]="Long",f[f.Full=3]="Full",f}(Ge||{}),nt=function(f){return f[f.Decimal=0]="Decimal",f[f.Group=1]="Group",f[f.List=2]="List",f[f.PercentSign=3]="PercentSign",f[f.PlusSign=4]="PlusSign",f[f.MinusSign=5]="MinusSign",f[f.Exponential=6]="Exponential",f[f.SuperscriptingExponent=7]="SuperscriptingExponent",f[f.PerMille=8]="PerMille",f[f.Infinity=9]="Infinity",f[f.NaN=10]="NaN",f[f.TimeSeparator=11]="TimeSeparator",f[f.CurrencyDecimal=12]="CurrencyDecimal",f[f.CurrencyGroup=13]="CurrencyGroup",f}(nt||{});function $e(f,T){return vt((0,s.cg1)(f)[s.wAp.DateFormat],T)}function Ye(f,T){return vt((0,s.cg1)(f)[s.wAp.TimeFormat],T)}function Qe(f,T){return vt((0,s.cg1)(f)[s.wAp.DateTimeFormat],T)}function lt(f,T){const se=(0,s.cg1)(f),b=se[s.wAp.NumberSymbols][T];if(typeof b>"u"){if(T===nt.CurrencyDecimal)return se[s.wAp.NumberSymbols][nt.Decimal];if(T===nt.CurrencyGroup)return se[s.wAp.NumberSymbols][nt.Group]}return b}function N(f){if(!f[s.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${f[s.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function vt(f,T){for(let se=T;se>-1;se--)if(typeof f[se]<"u")return f[se];throw new Error("Locale data API: locale data undefined")}function Lt(f){const[T,se]=f.split(":");return{hours:+T,minutes:+se}}const ir=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Un={},On=/((?:[^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 Nt=function(f){return f[f.Short=0]="Short",f[f.ShortGMT=1]="ShortGMT",f[f.Long=2]="Long",f[f.Extended=3]="Extended",f}(Nt||{}),jt=function(f){return f[f.FullYear=0]="FullYear",f[f.Month=1]="Month",f[f.Date=2]="Date",f[f.Hours=3]="Hours",f[f.Minutes=4]="Minutes",f[f.Seconds=5]="Seconds",f[f.FractionalSeconds=6]="FractionalSeconds",f[f.Day=7]="Day",f}(jt||{}),Vt=function(f){return f[f.DayPeriods=0]="DayPeriods",f[f.Days=1]="Days",f[f.Months=2]="Months",f[f.Eras=3]="Eras",f}(Vt||{});function rn(f,T,se,b){let $=function B(f){if(O(f))return f;if("number"==typeof f&&!isNaN(f))return new Date(f);if("string"==typeof f){if(f=f.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(f)){const[$,de=1,et=1]=f.split("-").map(_t=>+_t);return Xt($,de-1,et)}const se=parseFloat(f);if(!isNaN(f-se))return new Date(se);let b;if(b=f.match(ir))return function k(f){const T=new Date(0);let se=0,b=0;const $=f[8]?T.setUTCFullYear:T.setFullYear,de=f[8]?T.setUTCHours:T.setHours;f[9]&&(se=Number(f[9]+f[10]),b=Number(f[9]+f[11])),$.call(T,Number(f[1]),Number(f[2])-1,Number(f[3]));const et=Number(f[4]||0)-se,_t=Number(f[5]||0)-b,hn=Number(f[6]||0),Vn=Math.floor(1e3*parseFloat("0."+(f[7]||0)));return de.call(T,et,_t,hn,Vn),T}(b)}const T=new Date(f);if(!O(T))throw new Error(`Unable to convert "${f}" into a date`);return T}(f);T=Tn(se,T)||T;let _t,et=[];for(;T;){if(_t=On.exec(T),!_t){et.push(T);break}{et=et.concat(_t.slice(1));const Bn=et.pop();if(!Bn)break;T=Bn}}let hn=$.getTimezoneOffset();b&&(hn=en(b,hn),$=function pe(f,T,se){const b=se?-1:1,$=f.getTimezoneOffset();return function Jn(f,T){return(f=new Date(f.getTime())).setMinutes(f.getMinutes()+T),f}(f,b*(en(T,$)-$))}($,b,!0));let Vn="";return et.forEach(Bn=>{const pn=function Ut(f){if(st[f])return st[f];let T;switch(f){case"G":case"GG":case"GGG":T=on(Vt.Eras,xe.Abbreviated);break;case"GGGG":T=on(Vt.Eras,xe.Wide);break;case"GGGGG":T=on(Vt.Eras,xe.Narrow);break;case"y":T=Yt(jt.FullYear,1,0,!1,!0);break;case"yy":T=Yt(jt.FullYear,2,0,!0,!0);break;case"yyy":T=Yt(jt.FullYear,3,0,!1,!0);break;case"yyyy":T=Yt(jt.FullYear,4,0,!1,!0);break;case"Y":T=We(1);break;case"YY":T=We(2,!0);break;case"YYY":T=We(3);break;case"YYYY":T=We(4);break;case"M":case"L":T=Yt(jt.Month,1,1);break;case"MM":case"LL":T=Yt(jt.Month,2,1);break;case"MMM":T=on(Vt.Months,xe.Abbreviated);break;case"MMMM":T=on(Vt.Months,xe.Wide);break;case"MMMMM":T=on(Vt.Months,xe.Narrow);break;case"LLL":T=on(Vt.Months,xe.Abbreviated,ge.Standalone);break;case"LLLL":T=on(Vt.Months,xe.Wide,ge.Standalone);break;case"LLLLL":T=on(Vt.Months,xe.Narrow,ge.Standalone);break;case"w":T=yt(1);break;case"ww":T=yt(2);break;case"W":T=yt(1,!0);break;case"d":T=Yt(jt.Date,1);break;case"dd":T=Yt(jt.Date,2);break;case"c":case"cc":T=Yt(jt.Day,1);break;case"ccc":T=on(Vt.Days,xe.Abbreviated,ge.Standalone);break;case"cccc":T=on(Vt.Days,xe.Wide,ge.Standalone);break;case"ccccc":T=on(Vt.Days,xe.Narrow,ge.Standalone);break;case"cccccc":T=on(Vt.Days,xe.Short,ge.Standalone);break;case"E":case"EE":case"EEE":T=on(Vt.Days,xe.Abbreviated);break;case"EEEE":T=on(Vt.Days,xe.Wide);break;case"EEEEE":T=on(Vt.Days,xe.Narrow);break;case"EEEEEE":T=on(Vt.Days,xe.Short);break;case"a":case"aa":case"aaa":T=on(Vt.DayPeriods,xe.Abbreviated);break;case"aaaa":T=on(Vt.DayPeriods,xe.Wide);break;case"aaaaa":T=on(Vt.DayPeriods,xe.Narrow);break;case"b":case"bb":case"bbb":T=on(Vt.DayPeriods,xe.Abbreviated,ge.Standalone,!0);break;case"bbbb":T=on(Vt.DayPeriods,xe.Wide,ge.Standalone,!0);break;case"bbbbb":T=on(Vt.DayPeriods,xe.Narrow,ge.Standalone,!0);break;case"B":case"BB":case"BBB":T=on(Vt.DayPeriods,xe.Abbreviated,ge.Format,!0);break;case"BBBB":T=on(Vt.DayPeriods,xe.Wide,ge.Format,!0);break;case"BBBBB":T=on(Vt.DayPeriods,xe.Narrow,ge.Format,!0);break;case"h":T=Yt(jt.Hours,1,-12);break;case"hh":T=Yt(jt.Hours,2,-12);break;case"H":T=Yt(jt.Hours,1);break;case"HH":T=Yt(jt.Hours,2);break;case"m":T=Yt(jt.Minutes,1);break;case"mm":T=Yt(jt.Minutes,2);break;case"s":T=Yt(jt.Seconds,1);break;case"ss":T=Yt(jt.Seconds,2);break;case"S":T=Yt(jt.FractionalSeconds,1);break;case"SS":T=Yt(jt.FractionalSeconds,2);break;case"SSS":T=Yt(jt.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":T=Wn(Nt.Short);break;case"ZZZZZ":T=Wn(Nt.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":T=Wn(Nt.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":T=Wn(Nt.Long);break;default:return null}return st[f]=T,T}(Bn);Vn+=pn?pn($,se,hn):"''"===Bn?"'":Bn.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Vn}function Xt(f,T,se){const b=new Date(0);return b.setFullYear(f,T,se),b.setHours(0,0,0),b}function Tn(f,T){const se=function Mt(f){return(0,s.cg1)(f)[s.wAp.LocaleId]}(f);if(Un[se]=Un[se]||{},Un[se][T])return Un[se][T];let b="";switch(T){case"shortDate":b=$e(f,Ge.Short);break;case"mediumDate":b=$e(f,Ge.Medium);break;case"longDate":b=$e(f,Ge.Long);break;case"fullDate":b=$e(f,Ge.Full);break;case"shortTime":b=Ye(f,Ge.Short);break;case"mediumTime":b=Ye(f,Ge.Medium);break;case"longTime":b=Ye(f,Ge.Long);break;case"fullTime":b=Ye(f,Ge.Full);break;case"short":const $=Tn(f,"shortTime"),de=Tn(f,"shortDate");b=cn(Qe(f,Ge.Short),[$,de]);break;case"medium":const et=Tn(f,"mediumTime"),_t=Tn(f,"mediumDate");b=cn(Qe(f,Ge.Medium),[et,_t]);break;case"long":const hn=Tn(f,"longTime"),Vn=Tn(f,"longDate");b=cn(Qe(f,Ge.Long),[hn,Vn]);break;case"full":const Bn=Tn(f,"fullTime"),pn=Tn(f,"fullDate");b=cn(Qe(f,Ge.Full),[Bn,pn])}return b&&(Un[se][T]=b),b}function cn(f,T){return T&&(f=f.replace(/\{([^}]+)}/g,function(se,b){return null!=T&&b in T?T[b]:se})),f}function _n(f,T,se="-",b,$){let de="";(f<0||$&&f<=0)&&($?f=1-f:(f=-f,de=se));let et=String(f);for(;et.length<T;)et="0"+et;return b&&(et=et.slice(et.length-T)),de+et}function Yt(f,T,se=0,b=!1,$=!1){return function(de,et){let _t=function or(f,T){switch(f){case jt.FullYear:return T.getFullYear();case jt.Month:return T.getMonth();case jt.Date:return T.getDate();case jt.Hours:return T.getHours();case jt.Minutes:return T.getMinutes();case jt.Seconds:return T.getSeconds();case jt.FractionalSeconds:return T.getMilliseconds();case jt.Day:return T.getDay();default:throw new Error(`Unknown DateType value "${f}".`)}}(f,de);if((se>0||_t>-se)&&(_t+=se),f===jt.Hours)0===_t&&-12===se&&(_t=12);else if(f===jt.FractionalSeconds)return function Fn(f,T){return _n(f,3).substring(0,T)}(_t,T);const hn=lt(et,nt.MinusSign);return _n(_t,T,hn,b,$)}}function on(f,T,se=ge.Format,b=!1){return function($,de){return function Qn(f,T,se,b,$,de){switch(se){case Vt.Months:return function $t(f,T,se){const b=(0,s.cg1)(f),de=vt([b[s.wAp.MonthsFormat],b[s.wAp.MonthsStandalone]],T);return vt(de,se)}(T,$,b)[f.getMonth()];case Vt.Days:return function Gt(f,T,se){const b=(0,s.cg1)(f),de=vt([b[s.wAp.DaysFormat],b[s.wAp.DaysStandalone]],T);return vt(de,se)}(T,$,b)[f.getDay()];case Vt.DayPeriods:const et=f.getHours(),_t=f.getMinutes();if(de){const Vn=function Ae(f){const T=(0,s.cg1)(f);return N(T),(T[s.wAp.ExtraData][2]||[]).map(b=>"string"==typeof b?Lt(b):[Lt(b[0]),Lt(b[1])])}(T),Bn=function Le(f,T,se){const b=(0,s.cg1)(f);N(b);const de=vt([b[s.wAp.ExtraData][0],b[s.wAp.ExtraData][1]],T)||[];return vt(de,se)||[]}(T,$,b),pn=Vn.findIndex(cr=>{if(Array.isArray(cr)){const[qn,mr]=cr,vi=et>=qn.hours&&_t>=qn.minutes,Ti=et<mr.hours||et===mr.hours&&_t<mr.minutes;if(qn.hours<mr.hours){if(vi&&Ti)return!0}else if(vi||Ti)return!0}else if(cr.hours===et&&cr.minutes===_t)return!0;return!1});if(-1!==pn)return Bn[pn]}return function Pt(f,T,se){const b=(0,s.cg1)(f),de=vt([b[s.wAp.DayPeriodsFormat],b[s.wAp.DayPeriodsStandalone]],T);return vt(de,se)}(T,$,b)[et<12?0:1];case Vt.Eras:return function gn(f,T){return vt((0,s.cg1)(f)[s.wAp.Eras],T)}(T,b)[f.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${se}`)}}($,de,f,T,se,b)}}function Wn(f){return function(T,se,b){const $=-1*b,de=lt(se,nt.MinusSign),et=$>0?Math.floor($/60):Math.ceil($/60);switch(f){case Nt.Short:return($>=0?"+":"")+_n(et,2,de)+_n(Math.abs($%60),2,de);case Nt.ShortGMT:return"GMT"+($>=0?"+":"")+_n(et,1,de);case Nt.Long:return"GMT"+($>=0?"+":"")+_n(et,2,de)+":"+_n(Math.abs($%60),2,de);case Nt.Extended:return 0===b?"Z":($>=0?"+":"")+_n(et,2,de)+":"+_n(Math.abs($%60),2,de);default:throw new Error(`Unknown zone width "${f}"`)}}}const In=0,dr=4;function Dt(f){return Xt(f.getFullYear(),f.getMonth(),f.getDate()+(dr-f.getDay()))}function yt(f,T=!1){return function(se,b){let $;if(T){const de=new Date(se.getFullYear(),se.getMonth(),1).getDay()-1,et=se.getDate();$=1+Math.floor((et+de)/7)}else{const de=Dt(se),et=function Ze(f){const T=Xt(f,In,1).getDay();return Xt(f,0,1+(T<=dr?dr:dr+7)-T)}(de.getFullYear()),_t=de.getTime()-et.getTime();$=1+Math.round(_t/6048e5)}return _n($,f,lt(b,nt.MinusSign))}}function We(f,T=!1){return function(se,b){return _n(Dt(se).getFullYear(),f,lt(b,nt.MinusSign),T)}}const st={};function en(f,T){f=f.replace(/:/g,"");const se=Date.parse("Jan 01, 1970 00:00:00 "+f)/6e4;return isNaN(se)?T:se}function O(f){return f instanceof Date&&!isNaN(f.valueOf())}const D=/^(\d+)?\.((\d+)(-(\d+))?)?$/,R=".",P="0";function wt(f){const T=parseInt(f);if(isNaN(T))throw new Error("Invalid integer literal when parsing "+f);return T}function sr(f,T){T=encodeURIComponent(T);for(const se of f.split(";")){const b=se.indexOf("="),[$,de]=-1==b?[se,""]:[se.slice(0,b),se.slice(b+1)];if($.trim()===T)return decodeURIComponent(de)}return null}const Vr=/\s+/,Ar=[];let Ln=(()=>{var f;class T{constructor(b,$,de,et){this._iterableDiffers=b,this._keyValueDiffers=$,this._ngEl=de,this._renderer=et,this.initialClasses=Ar,this.stateMap=new Map}set klass(b){this.initialClasses=null!=b?b.trim().split(Vr):Ar}set ngClass(b){this.rawClass="string"==typeof b?b.trim().split(Vr):b}ngDoCheck(){for(const $ of this.initialClasses)this._updateState($,!0);const b=this.rawClass;if(Array.isArray(b)||b instanceof Set)for(const $ of b)this._updateState($,!0);else if(null!=b)for(const $ of Object.keys(b))this._updateState($,!!b[$]);this._applyStateDiff()}_updateState(b,$){const de=this.stateMap.get(b);void 0!==de?(de.enabled!==$&&(de.changed=!0,de.enabled=$),de.touched=!0):this.stateMap.set(b,{enabled:$,changed:!0,touched:!0})}_applyStateDiff(){for(const b of this.stateMap){const $=b[0],de=b[1];de.changed?(this._toggleClass($,de.enabled),de.changed=!1):de.touched||(de.enabled&&this._toggleClass($,!1),this.stateMap.delete($)),de.touched=!1}}_toggleClass(b,$){(b=b.trim()).length>0&&b.split(Vr).forEach(de=>{$?this._renderer.addClass(this._ngEl.nativeElement,de):this._renderer.removeClass(this._ngEl.nativeElement,de)})}}return(f=T).\u0275fac=function(b){return new(b||f)(s.Y36(s.ZZ4),s.Y36(s.aQg),s.Y36(s.SBq),s.Y36(s.Qsj))},f.\u0275dir=s.lG2({type:f,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),T})(),Hn=(()=>{var f;class T{constructor(b){this._viewContainerRef=b,this.ngComponentOutlet=null,this._inputsUsed=new Map}_needToReCreateNgModuleInstance(b){return void 0!==b.ngComponentOutletNgModule||void 0!==b.ngComponentOutletNgModuleFactory}_needToReCreateComponentInstance(b){return void 0!==b.ngComponentOutlet||void 0!==b.ngComponentOutletContent||void 0!==b.ngComponentOutletInjector||this._needToReCreateNgModuleInstance(b)}ngOnChanges(b){if(this._needToReCreateComponentInstance(b)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){const $=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(b)&&(this._moduleRef?.destroy(),this._moduleRef=this.ngComponentOutletNgModule?(0,s.Lck)(this.ngComponentOutletNgModule,zr($)):this.ngComponentOutletNgModuleFactory?this.ngComponentOutletNgModuleFactory.create(zr($)):void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:$,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(const b of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(b,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(b){for(const[$,de]of this._inputsUsed)de?(b.setInput($,this.ngComponentOutletInputs[$]),this._inputsUsed.set($,!1)):(b.setInput($,void 0),this._inputsUsed.delete($))}}return(f=T).\u0275fac=function(b){return new(b||f)(s.Y36(s.s_b))},f.\u0275dir=s.lG2({type:f,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[s.TTD]}),T})();function zr(f){return f.get(s.h0i).injector}class Or{constructor(T,se,b,$){this.$implicit=T,this.ngForOf=se,this.index=b,this.count=$}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 An=(()=>{var f;class T{set ngForOf(b){this._ngForOf=b,this._ngForOfDirty=!0}set ngForTrackBy(b){this._trackByFn=b}get ngForTrackBy(){return this._trackByFn}constructor(b,$,de){this._viewContainer=b,this._template=$,this._differs=de,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(b){b&&(this._template=b)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const b=this._ngForOf;!this._differ&&b&&(this._differ=this._differs.find(b).create(this.ngForTrackBy))}if(this._differ){const b=this._differ.diff(this._ngForOf);b&&this._applyChanges(b)}}_applyChanges(b){const $=this._viewContainer;b.forEachOperation((de,et,_t)=>{if(null==de.previousIndex)$.createEmbeddedView(this._template,new Or(de.item,this._ngForOf,-1,-1),null===_t?void 0:_t);else if(null==_t)$.remove(null===et?void 0:et);else if(null!==et){const hn=$.get(et);$.move(hn,_t),Pr(hn,de)}});for(let de=0,et=$.length;de<et;de++){const hn=$.get(de).context;hn.index=de,hn.count=et,hn.ngForOf=this._ngForOf}b.forEachIdentityChange(de=>{Pr($.get(de.currentIndex),de)})}static ngTemplateContextGuard(b,$){return!0}}return(f=T).\u0275fac=function(b){return new(b||f)(s.Y36(s.s_b),s.Y36(s.Rgc),s.Y36(s.ZZ4))},f.\u0275dir=s.lG2({type:f,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),T})();function Pr(f,T){f.context.$implicit=T.item}let Rr=(()=>{var f;class T{constructor(b,$){this._viewContainer=b,this._context=new ii,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=$}set ngIf(b){this._context.$implicit=this._context.ngIf=b,this._updateView()}set ngIfThen(b){Xr("ngIfThen",b),this._thenTemplateRef=b,this._thenViewRef=null,this._updateView()}set ngIfElse(b){Xr("ngIfElse",b),this._elseTemplateRef=b,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(b,$){return!0}}return(f=T).\u0275fac=function(b){return new(b||f)(s.Y36(s.s_b),s.Y36(s.Rgc))},f.\u0275dir=s.lG2({type:f,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),T})();class ii{constructor(){this.$implicit=null,this.ngIf=null}}function Xr(f,T){if(T&&!T.createEmbeddedView)throw new Error(`${f} must be a TemplateRef, but received '${(0,s.AaK)(T)}'.`)}class yr{constructor(T,se){this._viewContainerRef=T,this._templateRef=se,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(T){T&&!this._created?this.create():!T&&this._created&&this.destroy()}}let Tr=(()=>{var f;class T{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(b){this._ngSwitch=b,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(b){this._defaultViews.push(b)}_matchCase(b){const $=b==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||$,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),$}_updateDefaultCases(b){if(this._defaultViews.length>0&&b!==this._defaultUsed){this._defaultUsed=b;for(const $ of this._defaultViews)$.enforceState(b)}}}return(f=T).\u0275fac=function(b){return new(b||f)},f.\u0275dir=s.lG2({type:f,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),T})(),Ai=(()=>{var f;class T{constructor(b,$,de){this.ngSwitch=de,de._addCase(),this._view=new yr(b,$)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return(f=T).\u0275fac=function(b){return new(b||f)(s.Y36(s.s_b),s.Y36(s.Rgc),s.Y36(Tr,9))},f.\u0275dir=s.lG2({type:f,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),T})(),ji=(()=>{var f;class T{constructor(b,$,de){de._addDefault(new yr(b,$))}}return(f=T).\u0275fac=function(b){return new(b||f)(s.Y36(s.s_b),s.Y36(s.Rgc),s.Y36(Tr,9))},f.\u0275dir=s.lG2({type:f,selectors:[["","ngSwitchDefault",""]],standalone:!0}),T})(),yo=(()=>{var f;class T{constructor(b,$,de){this._ngEl=b,this._differs=$,this._renderer=de,this._ngStyle=null,this._differ=null}set ngStyle(b){this._ngStyle=b,!this._differ&&b&&(this._differ=this._differs.find(b).create())}ngDoCheck(){if(this._differ){const b=this._differ.diff(this._ngStyle);b&&this._applyChanges(b)}}_setStyle(b,$){const[de,et]=b.split("."),_t=-1===de.indexOf("-")?void 0:s.JOm.DashCase;null!=$?this._renderer.setStyle(this._ngEl.nativeElement,de,et?`${$}${et}`:$,_t):this._renderer.removeStyle(this._ngEl.nativeElement,de,_t)}_applyChanges(b){b.forEachRemovedItem($=>this._setStyle($.key,null)),b.forEachAddedItem($=>this._setStyle($.key,$.currentValue)),b.forEachChangedItem($=>this._setStyle($.key,$.currentValue))}}return(f=T).\u0275fac=function(b){return new(b||f)(s.Y36(s.SBq),s.Y36(s.aQg),s.Y36(s.Qsj))},f.\u0275dir=s.lG2({type:f,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),T})(),bo=(()=>{var f;class T{constructor(b){this._viewContainerRef=b,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(b){if(b.ngTemplateOutlet||b.ngTemplateOutletInjector){const $=this._viewContainerRef;if(this._viewRef&&$.remove($.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:de,ngTemplateOutletContext:et,ngTemplateOutletInjector:_t}=this;this._viewRef=$.createEmbeddedView(de,et,_t?{injector:_t}:void 0)}else this._viewRef=null}else this._viewRef&&b.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return(f=T).\u0275fac=function(b){return new(b||f)(s.Y36(s.s_b))},f.\u0275dir=s.lG2({type:f,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[s.TTD]}),T})();function br(f,T){return new s.vHH(2100,!1)}class oi{createSubscription(T,se){return(0,s.rg0)(()=>T.subscribe({next:se,error:b=>{throw b}}))}dispose(T){(0,s.rg0)(()=>T.unsubscribe())}}class pi{createSubscription(T,se){return T.then(se,b=>{throw b})}dispose(T){}}const Eo=new pi,so=new oi;let Pi=(()=>{var f;class T{constructor(b){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=b}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(b){return this._obj?b!==this._obj?(this._dispose(),this.transform(b)):this._latestValue:(b&&this._subscribe(b),this._latestValue)}_subscribe(b){this._obj=b,this._strategy=this._selectStrategy(b),this._subscription=this._strategy.createSubscription(b,$=>this._updateLatestValue(b,$))}_selectStrategy(b){if((0,s.QGY)(b))return Eo;if((0,s.F4k)(b))return so;throw br()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(b,$){b===this._obj&&(this._latestValue=$,this._ref.markForCheck())}}return(f=T).\u0275fac=function(b){return new(b||f)(s.Y36(s.sBO,16))},f.\u0275pipe=s.Yjl({name:"async",type:f,pure:!1,standalone:!0}),T})();const fr=new s.OlP("DATE_PIPE_DEFAULT_TIMEZONE"),wr=new s.OlP("DATE_PIPE_DEFAULT_OPTIONS");let Dr=(()=>{var f;class T{constructor(b,$,de){this.locale=b,this.defaultTimezone=$,this.defaultOptions=de}transform(b,$,de,et){if(null==b||""===b||b!=b)return null;try{return rn(b,$??this.defaultOptions?.dateFormat??"mediumDate",et||this.locale,de??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(_t){throw br()}}}return(f=T).\u0275fac=function(b){return new(b||f)(s.Y36(s.soG,16),s.Y36(fr,24),s.Y36(wr,24))},f.\u0275pipe=s.Yjl({name:"date",type:f,pure:!0,standalone:!0}),T})(),Ro=(()=>{var f;class T{transform(b){return JSON.stringify(b,null,2)}}return(f=T).\u0275fac=function(b){return new(b||f)},f.\u0275pipe=s.Yjl({name:"json",type:f,pure:!1,standalone:!0}),T})(),It=(()=>{var f;class T{constructor(b){this._locale=b}transform(b,$,de){if(!function Nr(f){return!(null==f||""===f||f!=f)}(b))return null;de=de||this._locale;try{return function X(f,T,se){return function oe(f,T,se,b,$,de,et=!1){let _t="",hn=!1;if(isFinite(f)){let Vn=function rt(f){let b,$,de,et,_t,T=Math.abs(f)+"",se=0;for(($=T.indexOf(R))>-1&&(T=T.replace(R,"")),(de=T.search(/e/i))>0?($<0&&($=de),$+=+T.slice(de+1),T=T.substring(0,de)):$<0&&($=T.length),de=0;T.charAt(de)===P;de++);if(de===(_t=T.length))b=[0],$=1;else{for(_t--;T.charAt(_t)===P;)_t--;for($-=de,b=[],et=0;de<=_t;de++,et++)b[et]=Number(T.charAt(de))}return $>22&&(b=b.splice(0,21),se=$-1,$=1),{digits:b,exponent:se,integerLen:$}}(f);et&&(Vn=function Ce(f){if(0===f.digits[0])return f;const T=f.digits.length-f.integerLen;return f.exponent?f.exponent+=2:(0===T?f.digits.push(0,0):1===T&&f.digits.push(0),f.integerLen+=2),f}(Vn));let Bn=T.minInt,pn=T.minFrac,cr=T.maxFrac;if(de){const yi=de.match(D);if(null===yi)throw new Error(`${de} is not a valid digit info`);const Lr=yi[1],xr=yi[3],no=yi[5];null!=Lr&&(Bn=wt(Lr)),null!=xr&&(pn=wt(xr)),null!=no?cr=wt(no):null!=xr&&pn>cr&&(cr=pn)}!function Xe(f,T,se){if(T>se)throw new Error(`The minimum number of digits after fraction (${T}) is higher than the maximum (${se}).`);let b=f.digits,$=b.length-f.integerLen;const de=Math.min(Math.max(T,$),se);let et=de+f.integerLen,_t=b[et];if(et>0){b.splice(Math.max(f.integerLen,et));for(let pn=et;pn<b.length;pn++)b[pn]=0}else{$=Math.max(0,$),f.integerLen=1,b.length=Math.max(1,et=de+1),b[0]=0;for(let pn=1;pn<et;pn++)b[pn]=0}if(_t>=5)if(et-1<0){for(let pn=0;pn>et;pn--)b.unshift(0),f.integerLen++;b.unshift(1),f.integerLen++}else b[et-1]++;for(;$<Math.max(0,de);$++)b.push(0);let hn=0!==de;const Vn=T+f.integerLen,Bn=b.reduceRight(function(pn,cr,qn,mr){return mr[qn]=(cr+=pn)<10?cr:cr-10,hn&&(0===mr[qn]&&qn>=Vn?mr.pop():hn=!1),cr>=10?1:0},0);Bn&&(b.unshift(Bn),f.integerLen++)}(Vn,pn,cr);let qn=Vn.digits,mr=Vn.integerLen;const vi=Vn.exponent;let Ti=[];for(hn=qn.every(yi=>!yi);mr<Bn;mr++)qn.unshift(0);for(;mr<0;mr++)qn.unshift(0);mr>0?Ti=qn.splice(mr,qn.length):(Ti=qn,qn=[0]);const Si=[];for(qn.length>=T.lgSize&&Si.unshift(qn.splice(-T.lgSize,qn.length).join(""));qn.length>T.gSize;)Si.unshift(qn.splice(-T.gSize,qn.length).join(""));qn.length&&Si.unshift(qn.join("")),_t=Si.join(lt(se,b)),Ti.length&&(_t+=lt(se,$)+Ti.join("")),vi&&(_t+=lt(se,nt.Exponential)+"+"+vi)}else _t=lt(se,nt.Infinity);return _t=f<0&&!hn?T.negPre+_t+T.negSuf:T.posPre+_t+T.posSuf,_t}(f,function ce(f,T="-"){const se={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},b=f.split(";"),$=b[0],de=b[1],et=-1!==$.indexOf(R)?$.split(R):[$.substring(0,$.lastIndexOf(P)+1),$.substring($.lastIndexOf(P)+1)],_t=et[0],hn=et[1]||"";se.posPre=_t.substring(0,_t.indexOf("#"));for(let Bn=0;Bn<hn.length;Bn++){const pn=hn.charAt(Bn);pn===P?se.minFrac=se.maxFrac=Bn+1:"#"===pn?se.maxFrac=Bn+1:se.posSuf+=pn}const Vn=_t.split(",");if(se.gSize=Vn[1]?Vn[1].length:0,se.lgSize=Vn[2]||Vn[1]?(Vn[2]||Vn[1]).length:0,de){const Bn=$.length-se.posPre.length-se.posSuf.length,pn=de.indexOf("#");se.negPre=de.substring(0,pn).replace(/'/g,""),se.negSuf=de.slice(pn+Bn).replace(/'/g,"")}else se.negPre=T+se.posPre,se.negSuf=se.posSuf;return se}(function dt(f,T){return(0,s.cg1)(f)[s.wAp.NumberFormats][T]}(T,ie.Decimal),lt(T,nt.MinusSign)),T,nt.Group,nt.Decimal,se)}(function ui(f){if("string"==typeof f&&!isNaN(Number(f)-parseFloat(f)))return Number(f);if("number"!=typeof f)throw new Error(`${f} is not a number`);return f}(b),de,$)}catch(et){throw br()}}}return(f=T).\u0275fac=function(b){return new(b||f)(s.Y36(s.soG,16))},f.\u0275pipe=s.Yjl({name:"number",type:f,pure:!0,standalone:!0}),T})();let lr=(()=>{var f;class T{}return(f=T).\u0275fac=function(b){return new(b||f)},f.\u0275mod=s.oAB({type:f}),f.\u0275inj=s.cJS({}),T})();const Wr="browser",Di="server";function Me(f){return f===Wr}function be(f){return f===Di}let Tt=(()=>{var f;class T{}return(f=T).\u0275prov=(0,s.Yz7)({token:f,providedIn:"root",factory:()=>new Kt((0,s.LFG)(Y),window)}),T})();class Kt{constructor(T,se){this.document=T,this.window=se,this.offset=()=>[0,0]}setOffset(T){this.offset=Array.isArray(T)?()=>T:T}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(T){this.supportsScrolling()&&this.window.scrollTo(T[0],T[1])}scrollToAnchor(T){if(!this.supportsScrolling())return;const se=function $n(f,T){const se=f.getElementById(T)||f.getElementsByName(T)[0];if(se)return se;if("function"==typeof f.createTreeWalker&&f.body&&"function"==typeof f.body.attachShadow){const b=f.createTreeWalker(f.body,NodeFilter.SHOW_ELEMENT);let $=b.currentNode;for(;$;){const de=$.shadowRoot;if(de){const et=de.getElementById(T)||de.querySelector(`[name="${T}"]`);if(et)return et}$=b.nextNode()}}return null}(this.document,T);se&&(this.scrollToElement(se),se.focus())}setHistoryScrollRestoration(T){this.supportsScrolling()&&(this.window.history.scrollRestoration=T)}scrollToElement(T){const se=T.getBoundingClientRect(),b=se.left+this.window.pageXOffset,$=se.top+this.window.pageYOffset,de=this.offset();this.window.scrollTo(b-de[0],$-de[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class yn{}const tr=f=>f.src,kr=new s.OlP("ImageLoader",{providedIn:"root",factory:()=>tr}),Ms=new s.OlP("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:()=>new Set});let gi=(()=>{var f;class T{constructor(){this.preloadedImages=(0,s.f3M)(Ms),this.document=(0,s.f3M)(Y)}createPreloadLinkTag(b,$,de,et){if(this.preloadedImages.has($))return;this.preloadedImages.add($);const _t=b.createElement("link");b.setAttribute(_t,"as","image"),b.setAttribute(_t,"href",$),b.setAttribute(_t,"rel","preload"),b.setAttribute(_t,"fetchpriority","high"),et&&b.setAttribute(_t,"imageSizes",et),de&&b.setAttribute(_t,"imageSrcset",de),b.appendChild(this.document.head,_t)}}return(f=T).\u0275fac=function(b){return new(b||f)},f.\u0275prov=s.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"}),T})();const ei=/^((\s*\d+w\s*(,|$)){1,})$/,rr=[1,2],eo={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840]},ti=new s.OlP("ImageConfig",{providedIn:"root",factory:()=>eo});let Fi=(()=>{var f;class T{constructor(){this.imageLoader=(0,s.f3M)(kr),this.config=function to(f){let T={};return f.breakpoints&&(T.breakpoints=f.breakpoints.sort((se,b)=>se-b)),Object.assign({},eo,f,T)}((0,s.f3M)(ti)),this.renderer=(0,s.f3M)(s.Qsj),this.imgElement=(0,s.f3M)(s.SBq).nativeElement,this.injector=(0,s.f3M)(s.zs3),this.isServer=be((0,s.f3M)(s.Lbi)),this.preloadLinkCreator=(0,s.f3M)(gi),this.lcpObserver=null,this._renderedSrc=null,this.priority=!1,this.disableOptimizedSrcset=!1,this.fill=!1}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 b=this.updateSrcAndSrcset();this.sizes&&this.setHostAttribute("sizes",this.sizes),this.isServer&&this.priority&&this.preloadLinkCreator.createPreloadLinkTag(this.renderer,this.getRewrittenSrc(),b,this.sizes)}ngOnChanges(b){if(b.ngSrc&&!b.ngSrc.isFirstChange()){const $=this._renderedSrc;this.updateSrcAndSrcset(!0);const de=this._renderedSrc;null!==this.lcpObserver&&$&&de&&$!==de&&this.injector.get(s.R0b).runOutsideAngular(()=>{this.lcpObserver?.updateImage($,de)})}}callImageLoader(b){let $=b;return this.loaderParams&&($.loaderParams=this.loaderParams),this.imageLoader($)}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.callImageLoader({src:this.ngSrc})),this._renderedSrc}getRewrittenSrcset(){const b=ei.test(this.ngSrcset);return this.ngSrcset.split(",").filter(de=>""!==de).map(de=>{de=de.trim();const et=b?parseFloat(de):parseFloat(de)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:et})} ${de}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){const{breakpoints:b}=this.config;let $=b;return"100vw"===this.sizes?.trim()&&($=b.filter(et=>et>=640)),$.map(et=>`${this.callImageLoader({src:this.ngSrc,width:et})} ${et}w`).join(", ")}updateSrcAndSrcset(b=!1){b&&(this._renderedSrc=null);const $=this.getRewrittenSrc();let de;return this.setHostAttribute("src",$),this.ngSrcset?de=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(de=this.getAutomaticSrcset()),de&&this.setHostAttribute("srcset",de),de}getFixedSrcset(){return rr.map($=>`${this.callImageLoader({src:this.ngSrc,width:this.width*$})} ${$}x`).join(", ")}shouldGenerateAutomaticSrcset(){return!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==tr&&!(this.width>1920||this.height>1080)}ngOnDestroy(){}setHostAttribute(b,$){this.renderer.setAttribute(this.imgElement,b,$)}}return(f=T).\u0275fac=function(b){return new(b||f)},f.\u0275dir=s.lG2({type:f,selectors:[["img","ngSrc",""]],hostVars:8,hostBindings:function(b,$){2&b&&s.Udp("position",$.fill?"absolute":null)("width",$.fill?"100%":null)("height",$.fill?"100%":null)("inset",$.fill?"0px":null)},inputs:{ngSrc:["ngSrc","ngSrc",xo],ngSrcset:"ngSrcset",sizes:"sizes",width:["width","width",s.Cb_],height:["height","height",s.Cb_],loading:"loading",priority:["priority","priority",s.VuI],loaderParams:"loaderParams",disableOptimizedSrcset:["disableOptimizedSrcset","disableOptimizedSrcset",s.VuI],fill:["fill","fill",s.VuI],src:"src",srcset:"srcset"},standalone:!0,features:[s.Xq5,s.TTD]}),T})();function xo(f){return"string"==typeof f?f:(0,s.z3N)(f)}},9862:(ft,De,v)=>{v.d(De,{JF:()=>D,TP:()=>N,eN:()=>Ue});var s=v(5879),m=v(2096),W=v(2459),U=v(5592),I=v(6328),Y=v(2181),Z=v(7398),re=v(4716),te=v(4664),H=v(6814);class J{}class fe{}class Se{constructor(ee){this.normalizedNames=new Map,this.lazyUpdate=null,ee?"string"==typeof ee?this.lazyInit=()=>{this.headers=new Map,ee.split("\n").forEach(Pe=>{const X=Pe.indexOf(":");if(X>0){const ce=Pe.slice(0,X),Ce=ce.toLowerCase(),rt=Pe.slice(X+1).trim();this.maybeSetNormalizedName(ce,Ce),this.headers.has(Ce)?this.headers.get(Ce).push(rt):this.headers.set(Ce,[rt])}})}:typeof Headers<"u"&&ee instanceof Headers?(this.headers=new Map,ee.forEach((Pe,X)=>{this.setHeaderEntries(X,Pe)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(ee).forEach(([Pe,X])=>{this.setHeaderEntries(Pe,X)})}:this.headers=new Map}has(ee){return this.init(),this.headers.has(ee.toLowerCase())}get(ee){this.init();const Pe=this.headers.get(ee.toLowerCase());return Pe&&Pe.length>0?Pe[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(ee){return this.init(),this.headers.get(ee.toLowerCase())||null}append(ee,Pe){return this.clone({name:ee,value:Pe,op:"a"})}set(ee,Pe){return this.clone({name:ee,value:Pe,op:"s"})}delete(ee,Pe){return this.clone({name:ee,value:Pe,op:"d"})}maybeSetNormalizedName(ee,Pe){this.normalizedNames.has(Pe)||this.normalizedNames.set(Pe,ee)}init(){this.lazyInit&&(this.lazyInit instanceof Se?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(ee=>this.applyUpdate(ee)),this.lazyUpdate=null))}copyFrom(ee){ee.init(),Array.from(ee.headers.keys()).forEach(Pe=>{this.headers.set(Pe,ee.headers.get(Pe)),this.normalizedNames.set(Pe,ee.normalizedNames.get(Pe))})}clone(ee){const Pe=new Se;return Pe.lazyInit=this.lazyInit&&this.lazyInit instanceof Se?this.lazyInit:this,Pe.lazyUpdate=(this.lazyUpdate||[]).concat([ee]),Pe}applyUpdate(ee){const Pe=ee.name.toLowerCase();switch(ee.op){case"a":case"s":let X=ee.value;if("string"==typeof X&&(X=[X]),0===X.length)return;this.maybeSetNormalizedName(ee.name,Pe);const ce=("a"===ee.op?this.headers.get(Pe):void 0)||[];ce.push(...X),this.headers.set(Pe,ce);break;case"d":const Ce=ee.value;if(Ce){let rt=this.headers.get(Pe);if(!rt)return;rt=rt.filter(Xe=>-1===Ce.indexOf(Xe)),0===rt.length?(this.headers.delete(Pe),this.normalizedNames.delete(Pe)):this.headers.set(Pe,rt)}else this.headers.delete(Pe),this.normalizedNames.delete(Pe)}}setHeaderEntries(ee,Pe){const X=(Array.isArray(Pe)?Pe:[Pe]).map(Ce=>Ce.toString()),ce=ee.toLowerCase();this.headers.set(ce,X),this.maybeSetNormalizedName(ee,ce)}forEach(ee){this.init(),Array.from(this.normalizedNames.keys()).forEach(Pe=>ee(this.normalizedNames.get(Pe),this.headers.get(Pe)))}}class Ke{encodeKey(ee){return ut(ee)}encodeValue(ee){return ut(ee)}decodeKey(ee){return decodeURIComponent(ee)}decodeValue(ee){return decodeURIComponent(ee)}}const Je=/%(\d[a-f0-9])/gi,Ve={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function ut(oe){return encodeURIComponent(oe).replace(Je,(ee,Pe)=>Ve[Pe]??ee)}function ke(oe){return`${oe}`}class G{constructor(ee={}){if(this.updates=null,this.cloneFrom=null,this.encoder=ee.encoder||new Ke,ee.fromString){if(ee.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function we(oe,ee){const Pe=new Map;return oe.length>0&&oe.replace(/^\?/,"").split("&").forEach(ce=>{const Ce=ce.indexOf("="),[rt,Xe]=-1==Ce?[ee.decodeKey(ce),""]:[ee.decodeKey(ce.slice(0,Ce)),ee.decodeValue(ce.slice(Ce+1))],wt=Pe.get(rt)||[];wt.push(Xe),Pe.set(rt,wt)}),Pe}(ee.fromString,this.encoder)}else ee.fromObject?(this.map=new Map,Object.keys(ee.fromObject).forEach(Pe=>{const X=ee.fromObject[Pe],ce=Array.isArray(X)?X.map(ke):[ke(X)];this.map.set(Pe,ce)})):this.map=null}has(ee){return this.init(),this.map.has(ee)}get(ee){this.init();const Pe=this.map.get(ee);return Pe?Pe[0]:null}getAll(ee){return this.init(),this.map.get(ee)||null}keys(){return this.init(),Array.from(this.map.keys())}append(ee,Pe){return this.clone({param:ee,value:Pe,op:"a"})}appendAll(ee){const Pe=[];return Object.keys(ee).forEach(X=>{const ce=ee[X];Array.isArray(ce)?ce.forEach(Ce=>{Pe.push({param:X,value:Ce,op:"a"})}):Pe.push({param:X,value:ce,op:"a"})}),this.clone(Pe)}set(ee,Pe){return this.clone({param:ee,value:Pe,op:"s"})}delete(ee,Pe){return this.clone({param:ee,value:Pe,op:"d"})}toString(){return this.init(),this.keys().map(ee=>{const Pe=this.encoder.encodeKey(ee);return this.map.get(ee).map(X=>Pe+"="+this.encoder.encodeValue(X)).join("&")}).filter(ee=>""!==ee).join("&")}clone(ee){const Pe=new G({encoder:this.encoder});return Pe.cloneFrom=this.cloneFrom||this,Pe.updates=(this.updates||[]).concat(ee),Pe}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(ee=>this.map.set(ee,this.cloneFrom.map.get(ee))),this.updates.forEach(ee=>{switch(ee.op){case"a":case"s":const Pe=("a"===ee.op?this.map.get(ee.param):void 0)||[];Pe.push(ke(ee.value)),this.map.set(ee.param,Pe);break;case"d":if(void 0===ee.value){this.map.delete(ee.param);break}{let X=this.map.get(ee.param)||[];const ce=X.indexOf(ke(ee.value));-1!==ce&&X.splice(ce,1),X.length>0?this.map.set(ee.param,X):this.map.delete(ee.param)}}}),this.cloneFrom=this.updates=null)}}class ie{constructor(){this.map=new Map}set(ee,Pe){return this.map.set(ee,Pe),this}get(ee){return this.map.has(ee)||this.map.set(ee,ee.defaultValue()),this.map.get(ee)}delete(ee){return this.map.delete(ee),this}has(ee){return this.map.has(ee)}keys(){return this.map.keys()}}function ge(oe){return typeof ArrayBuffer<"u"&&oe instanceof ArrayBuffer}function xe(oe){return typeof Blob<"u"&&oe instanceof Blob}function Ge(oe){return typeof FormData<"u"&&oe instanceof FormData}class ht{constructor(ee,Pe,X,ce){let Ce;if(this.url=Pe,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=ee.toUpperCase(),function ue(oe){switch(oe){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||ce?(this.body=void 0!==X?X:null,Ce=ce):Ce=X,Ce&&(this.reportProgress=!!Ce.reportProgress,this.withCredentials=!!Ce.withCredentials,Ce.responseType&&(this.responseType=Ce.responseType),Ce.headers&&(this.headers=Ce.headers),Ce.context&&(this.context=Ce.context),Ce.params&&(this.params=Ce.params)),this.headers||(this.headers=new Se),this.context||(this.context=new ie),this.params){const rt=this.params.toString();if(0===rt.length)this.urlWithParams=Pe;else{const Xe=Pe.indexOf("?");this.urlWithParams=Pe+(-1===Xe?"?":Xe<Pe.length-1?"&":"")+rt}}else this.params=new G,this.urlWithParams=Pe}serializeBody(){return null===this.body?null:ge(this.body)||xe(this.body)||Ge(this.body)||function nt(oe){return typeof URLSearchParams<"u"&&oe instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof G?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||Ge(this.body)?null:xe(this.body)?this.body.type||null:ge(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof G?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(ee={}){const Pe=ee.method||this.method,X=ee.url||this.url,ce=ee.responseType||this.responseType,Ce=void 0!==ee.body?ee.body:this.body,rt=void 0!==ee.withCredentials?ee.withCredentials:this.withCredentials,Xe=void 0!==ee.reportProgress?ee.reportProgress:this.reportProgress;let wt=ee.headers||this.headers,Ot=ee.params||this.params;const Pn=ee.context??this.context;return void 0!==ee.setHeaders&&(wt=Object.keys(ee.setHeaders).reduce((zn,Rn)=>zn.set(Rn,ee.setHeaders[Rn]),wt)),ee.setParams&&(Ot=Object.keys(ee.setParams).reduce((zn,Rn)=>zn.set(Rn,ee.setParams[Rn]),Ot)),new ht(Pe,X,Ce,{params:Ot,headers:wt,context:Pn,reportProgress:Xe,responseType:ce,withCredentials:rt})}}var Mt=function(oe){return oe[oe.Sent=0]="Sent",oe[oe.UploadProgress=1]="UploadProgress",oe[oe.ResponseHeader=2]="ResponseHeader",oe[oe.DownloadProgress=3]="DownloadProgress",oe[oe.Response=4]="Response",oe[oe.User=5]="User",oe}(Mt||{});class Pt{constructor(ee,Pe=200,X="OK"){this.headers=ee.headers||new Se,this.status=void 0!==ee.status?ee.status:Pe,this.statusText=ee.statusText||X,this.url=ee.url||null,this.ok=this.status>=200&&this.status<300}}class Gt extends Pt{constructor(ee={}){super(ee),this.type=Mt.ResponseHeader}clone(ee={}){return new Gt({headers:ee.headers||this.headers,status:void 0!==ee.status?ee.status:this.status,statusText:ee.statusText||this.statusText,url:ee.url||this.url||void 0})}}class $t extends Pt{constructor(ee={}){super(ee),this.type=Mt.Response,this.body=void 0!==ee.body?ee.body:null}clone(ee={}){return new $t({body:void 0!==ee.body?ee.body:this.body,headers:ee.headers||this.headers,status:void 0!==ee.status?ee.status:this.status,statusText:ee.statusText||this.statusText,url:ee.url||this.url||void 0})}}class gn extends Pt{constructor(ee){super(ee,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${ee.url||"(unknown url)"}`:`Http failure response for ${ee.url||"(unknown url)"}: ${ee.status} ${ee.statusText}`,this.error=ee.error||null}}function Cn(oe,ee){return{body:ee,headers:oe.headers,context:oe.context,observe:oe.observe,params:oe.params,reportProgress:oe.reportProgress,responseType:oe.responseType,withCredentials:oe.withCredentials}}let Ue=(()=>{var oe;class ee{constructor(X){this.handler=X}request(X,ce,Ce={}){let rt;if(X instanceof ht)rt=X;else{let Ot,Pn;Ot=Ce.headers instanceof Se?Ce.headers:new Se(Ce.headers),Ce.params&&(Pn=Ce.params instanceof G?Ce.params:new G({fromObject:Ce.params})),rt=new ht(X,ce,void 0!==Ce.body?Ce.body:null,{headers:Ot,context:Ce.context,params:Pn,reportProgress:Ce.reportProgress,responseType:Ce.responseType||"json",withCredentials:Ce.withCredentials})}const Xe=(0,m.of)(rt).pipe((0,I.b)(Ot=>this.handler.handle(Ot)));if(X instanceof ht||"events"===Ce.observe)return Xe;const wt=Xe.pipe((0,Y.h)(Ot=>Ot instanceof $t));switch(Ce.observe||"body"){case"body":switch(rt.responseType){case"arraybuffer":return wt.pipe((0,Z.U)(Ot=>{if(null!==Ot.body&&!(Ot.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Ot.body}));case"blob":return wt.pipe((0,Z.U)(Ot=>{if(null!==Ot.body&&!(Ot.body instanceof Blob))throw new Error("Response is not a Blob.");return Ot.body}));case"text":return wt.pipe((0,Z.U)(Ot=>{if(null!==Ot.body&&"string"!=typeof Ot.body)throw new Error("Response is not a string.");return Ot.body}));default:return wt.pipe((0,Z.U)(Ot=>Ot.body))}case"response":return wt;default:throw new Error(`Unreachable: unhandled observe type ${Ce.observe}}`)}}delete(X,ce={}){return this.request("DELETE",X,ce)}get(X,ce={}){return this.request("GET",X,ce)}head(X,ce={}){return this.request("HEAD",X,ce)}jsonp(X,ce){return this.request("JSONP",X,{params:(new G).append(ce,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(X,ce={}){return this.request("OPTIONS",X,ce)}patch(X,ce,Ce={}){return this.request("PATCH",X,Cn(Ce,ce))}post(X,ce,Ce={}){return this.request("POST",X,Cn(Ce,ce))}put(X,ce,Ce={}){return this.request("PUT",X,Cn(Ce,ce))}}return(oe=ee).\u0275fac=function(X){return new(X||oe)(s.LFG(J))},oe.\u0275prov=s.Yz7({token:oe,factory:oe.\u0275fac}),ee})();function qe(oe,ee){return ee(oe)}function ye(oe,ee){return(Pe,X)=>ee.intercept(Pe,{handle:ce=>oe(ce,X)})}const N=new s.OlP(""),Ae=new s.OlP(""),Le=new s.OlP("");function St(){let oe=null;return(ee,Pe)=>{null===oe&&(oe=((0,s.f3M)(N,{optional:!0})??[]).reduceRight(ye,qe));const X=(0,s.f3M)(s.HDt),ce=X.add();return oe(ee,Pe).pipe((0,re.x)(()=>X.remove(ce)))}}let vt=(()=>{var oe;class ee extends J{constructor(X,ce){super(),this.backend=X,this.injector=ce,this.chain=null,this.pendingTasks=(0,s.f3M)(s.HDt)}handle(X){if(null===this.chain){const Ce=Array.from(new Set([...this.injector.get(Ae),...this.injector.get(Le,[])]));this.chain=Ce.reduceRight((rt,Xe)=>function Oe(oe,ee,Pe){return(X,ce)=>Pe.runInContext(()=>ee(X,Ce=>oe(Ce,ce)))}(rt,Xe,this.injector),qe)}const ce=this.pendingTasks.add();return this.chain(X,Ce=>this.backend.handle(Ce)).pipe((0,re.x)(()=>this.pendingTasks.remove(ce)))}}return(oe=ee).\u0275fac=function(X){return new(X||oe)(s.LFG(fe),s.LFG(s.lqb))},oe.\u0275prov=s.Yz7({token:oe,factory:oe.\u0275fac}),ee})();const Xt=/^\)\]\}',?\n/;let cn=(()=>{var oe;class ee{constructor(X){this.xhrFactory=X}handle(X){if("JSONP"===X.method)throw new s.vHH(-2800,!1);const ce=this.xhrFactory;return(ce.\u0275loadImpl?(0,W.D)(ce.\u0275loadImpl()):(0,m.of)(null)).pipe((0,te.w)(()=>new U.y(rt=>{const Xe=ce.build();if(Xe.open(X.method,X.urlWithParams),X.withCredentials&&(Xe.withCredentials=!0),X.headers.forEach((Ln,Hn)=>Xe.setRequestHeader(Ln,Hn.join(","))),X.headers.has("Accept")||Xe.setRequestHeader("Accept","application/json, text/plain, */*"),!X.headers.has("Content-Type")){const Ln=X.detectContentTypeHeader();null!==Ln&&Xe.setRequestHeader("Content-Type",Ln)}if(X.responseType){const Ln=X.responseType.toLowerCase();Xe.responseType="json"!==Ln?Ln:"text"}const wt=X.serializeBody();let Ot=null;const Pn=()=>{if(null!==Ot)return Ot;const Ln=Xe.statusText||"OK",Hn=new Se(Xe.getAllResponseHeaders()),zr=function Tn(oe){return"responseURL"in oe&&oe.responseURL?oe.responseURL:/^X-Request-URL:/m.test(oe.getAllResponseHeaders())?oe.getResponseHeader("X-Request-URL"):null}(Xe)||X.url;return Ot=new Gt({headers:Hn,status:Xe.status,statusText:Ln,url:zr}),Ot},zn=()=>{let{headers:Ln,status:Hn,statusText:zr,url:Or}=Pn(),An=null;204!==Hn&&(An=typeof Xe.response>"u"?Xe.responseText:Xe.response),0===Hn&&(Hn=An?200:0);let Pr=Hn>=200&&Hn<300;if("json"===X.responseType&&"string"==typeof An){const Mr=An;An=An.replace(Xt,"");try{An=""!==An?JSON.parse(An):null}catch(Rr){An=Mr,Pr&&(Pr=!1,An={error:Rr,text:An})}}Pr?(rt.next(new $t({body:An,headers:Ln,status:Hn,statusText:zr,url:Or||void 0})),rt.complete()):rt.error(new gn({error:An,headers:Ln,status:Hn,statusText:zr,url:Or||void 0}))},Rn=Ln=>{const{url:Hn}=Pn(),zr=new gn({error:Ln,status:Xe.status||0,statusText:Xe.statusText||"Unknown Error",url:Hn||void 0});rt.error(zr)};let sr=!1;const Vr=Ln=>{sr||(rt.next(Pn()),sr=!0);let Hn={type:Mt.DownloadProgress,loaded:Ln.loaded};Ln.lengthComputable&&(Hn.total=Ln.total),"text"===X.responseType&&Xe.responseText&&(Hn.partialText=Xe.responseText),rt.next(Hn)},Ar=Ln=>{let Hn={type:Mt.UploadProgress,loaded:Ln.loaded};Ln.lengthComputable&&(Hn.total=Ln.total),rt.next(Hn)};return Xe.addEventListener("load",zn),Xe.addEventListener("error",Rn),Xe.addEventListener("timeout",Rn),Xe.addEventListener("abort",Rn),X.reportProgress&&(Xe.addEventListener("progress",Vr),null!==wt&&Xe.upload&&Xe.upload.addEventListener("progress",Ar)),Xe.send(wt),rt.next({type:Mt.Sent}),()=>{Xe.removeEventListener("error",Rn),Xe.removeEventListener("abort",Rn),Xe.removeEventListener("load",zn),Xe.removeEventListener("timeout",Rn),X.reportProgress&&(Xe.removeEventListener("progress",Vr),null!==wt&&Xe.upload&&Xe.upload.removeEventListener("progress",Ar)),Xe.readyState!==Xe.DONE&&Xe.abort()}})))}}return(oe=ee).\u0275fac=function(X){return new(X||oe)(s.LFG(H.JF))},oe.\u0275prov=s.Yz7({token:oe,factory:oe.\u0275fac}),ee})();const _n=new s.OlP("XSRF_ENABLED"),Yt=new s.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),on=new s.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Qn{}let Wn=(()=>{var oe;class ee{constructor(X,ce,Ce){this.doc=X,this.platform=ce,this.cookieName=Ce,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const X=this.doc.cookie||"";return X!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,H.Mx)(X,this.cookieName),this.lastCookieString=X),this.lastToken}}return(oe=ee).\u0275fac=function(X){return new(X||oe)(s.LFG(H.K0),s.LFG(s.Lbi),s.LFG(Yt))},oe.\u0275prov=s.Yz7({token:oe,factory:oe.\u0275fac}),ee})();function In(oe,ee){const Pe=oe.url.toLowerCase();if(!(0,s.f3M)(_n)||"GET"===oe.method||"HEAD"===oe.method||Pe.startsWith("http://")||Pe.startsWith("https://"))return ee(oe);const X=(0,s.f3M)(Qn).getToken(),ce=(0,s.f3M)(on);return null!=X&&!oe.headers.has(ce)&&(oe=oe.clone({headers:oe.headers.set(ce,X)})),ee(oe)}var Ze=function(oe){return oe[oe.Interceptors=0]="Interceptors",oe[oe.LegacyInterceptors=1]="LegacyInterceptors",oe[oe.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",oe[oe.NoXsrfProtection=3]="NoXsrfProtection",oe[oe.JsonpSupport=4]="JsonpSupport",oe[oe.RequestsMadeViaParent=5]="RequestsMadeViaParent",oe[oe.Fetch=6]="Fetch",oe}(Ze||{});function Dt(oe,ee){return{\u0275kind:oe,\u0275providers:ee}}function yt(...oe){const ee=[Ue,cn,vt,{provide:J,useExisting:vt},{provide:fe,useExisting:cn},{provide:Ae,useValue:In,multi:!0},{provide:_n,useValue:!0},{provide:Qn,useClass:Wn}];for(const Pe of oe)ee.push(...Pe.\u0275providers);return(0,s.MR2)(ee)}const st=new s.OlP("LEGACY_INTERCEPTOR_FN");let D=(()=>{var oe;class ee{}return(oe=ee).\u0275fac=function(X){return new(X||oe)},oe.\u0275mod=s.oAB({type:oe}),oe.\u0275inj=s.cJS({providers:[yt(Dt(Ze.LegacyInterceptors,[{provide:st,useFactory:St},{provide:Ae,useExisting:st,multi:!0}]))]}),ee})()},5879:(ft,De,v)=>{v.d(De,{$8M:()=>fl,$WT:()=>Dr,$Z:()=>Rp,AFp:()=>qh,ALo:()=>m_,AaK:()=>fe,AsE:()=>Xd,BQk:()=>Gc,CHM:()=>Gi,CRH:()=>P_,Cb_:()=>Wx,DdM:()=>i_,EJc:()=>kw,EiD:()=>Hh,EpF:()=>xm,F$t:()=>Om,F4k:()=>Tm,FYo:()=>op,FiY:()=>nc,G48:()=>_x,Gf:()=>A_,GfV:()=>sp,GkF:()=>jd,Gpc:()=>Ke,Gre:()=>cg,HDt:()=>tv,Hsn:()=>Pm,Ikx:()=>ef,JOm:()=>uc,JVY:()=>Yy,JZr:()=>ke,KtG:()=>Wi,L6k:()=>Zy,LAX:()=>Jy,LFG:()=>P,LSH:()=>Vu,Lbi:()=>qu,Lck:()=>SC,MAs:()=>Dm,MMx:()=>Qg,MR2:()=>Gu,NdJ:()=>Hd,O4$:()=>il,Ojb:()=>wb,OlP:()=>vr,Oqu:()=>qd,P3R:()=>zh,PXZ:()=>lx,Q6J:()=>Fd,QGY:()=>Ud,QbO:()=>Cb,Qsj:()=>jb,R0b:()=>Ii,RDi:()=>Hy,Rgc:()=>Vl,SBq:()=>xl,Sil:()=>Bw,Suo:()=>O_,TTD:()=>Bn,TgZ:()=>$c,Tol:()=>Km,Udp:()=>Zd,VKq:()=>o_,VuI:()=>Gx,W1O:()=>F_,WFA:()=>$d,WLB:()=>s_,X6Q:()=>gx,XFs:()=>Nt,Xpm:()=>oi,Xq5:()=>sm,Xts:()=>El,Y36:()=>La,YKP:()=>Yg,YNc:()=>ym,Yjl:()=>Xi,Yz7:()=>N,Z0I:()=>vt,ZZ4:()=>Ff,_Bn:()=>Kg,_UZ:()=>Bd,_Vd:()=>wl,_c5:()=>Rx,_uU:()=>eg,aQg:()=>Lf,c2e:()=>ev,cJS:()=>Le,cg1:()=>nf,d8E:()=>tf,dDg:()=>ix,dqk:()=>cn,eBb:()=>Qy,eFA:()=>dv,eJc:()=>bf,ekj:()=>Qd,eoX:()=>av,f3M:()=>me,g9A:()=>Xh,h0i:()=>ma,hGG:()=>Nx,hYB:()=>Gd,hij:()=>Yc,iGM:()=>I_,ifc:()=>Ce,ip1:()=>X_,jDz:()=>Jg,kEZ:()=>a_,kL8:()=>yg,kcU:()=>Wl,kuF:()=>z,l5B:()=>l_,lG2:()=>Ui,lcZ:()=>g_,lqb:()=>_s,lri:()=>ov,mCW:()=>yc,n5z:()=>gs,n_E:()=>Xc,oAB:()=>Pi,oJD:()=>$h,oxw:()=>Am,pB0:()=>qy,q3G:()=>ua,q4F:()=>ap,qFp:()=>Yx,qLn:()=>Js,qOj:()=>Md,qZA:()=>Vc,qbA:()=>c_,qzn:()=>Aa,rWj:()=>sv,rg0:()=>$,s9C:()=>Vd,sBO:()=>vx,s_b:()=>nu,soG:()=>iu,tb:()=>Af,tp0:()=>rc,uIk:()=>Ad,vHH:()=>G,vpe:()=>vs,wAp:()=>Qa,xi3:()=>__,xp6:()=>Op,ynx:()=>zc,z2F:()=>el,z3N:()=>ks,zSh:()=>Yu,zs3:()=>os});var s=v(8645),m=v(7394),W=v(5592),U=v(3019),I=v(5619),Y=v(2096),Z=v(3020),re=v(4664),te=v(3997);function H(e){for(let t in e)if(e[t]===H)return t;throw Error("Could not find renamed property on target object.")}function J(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function fe(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(fe).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 Se(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const Ie=H({__forward_ref__:H});function Ke(e){return e.__forward_ref__=Ke,e.toString=function(){return fe(this())},e}function we(e){return Je(e)?e():e}function Je(e){return"function"==typeof e&&e.hasOwnProperty(Ie)&&e.__forward_ref__===Ke}function Ve(e){return e&&!!e.\u0275providers}const ke="https://g.co/ng/security#xss";class G extends Error{constructor(t,n){super(z(t,n)),this.code=t}}function z(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}function ie(e){return"string"==typeof e?e:null==e?"":String(e)}function nt(e,t){throw new G(-201,!1)}function At(e,t){null==e&&function ve(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function N(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Le(e){return{providers:e.providers||[],imports:e.imports||[]}}function St(e){return Lt(e,Ct)||Lt(e,Un)}function vt(e){return null!==St(e)}function Lt(e,t){return e.hasOwnProperty(t)?e[t]:null}function kn(e){return e&&(e.hasOwnProperty(ir)||e.hasOwnProperty(On))?e[ir]:null}const Ct=H({\u0275prov:H}),ir=H({\u0275inj:H}),Un=H({ngInjectableDef:H}),On=H({ngInjectorDef:H});var Nt=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(Nt||{});let jt;function rn(e){const t=jt;return jt=e,t}function Xt(e,t,n){const r=St(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&Nt.Optional?null:void 0!==t?t:void nt(fe(e))}const cn=globalThis,st={},Ut="__NG_DI_FLAG__",en="ngTempTokenPath",pe=/\n/gm,k="__source";let O;function F(e){const t=O;return O=e,t}function R(e,t=Nt.Default){if(void 0===O)throw new G(-203,!1);return null===O?Xt(e,void 0,t):O.get(e,t&Nt.Optional?null:void 0,t)}function P(e,t=Nt.Default){return(function Vt(){return jt}()||R)(we(e),t)}function me(e,t=Nt.Default){return P(e,ne(t))}function ne(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function le(e){const t=[];for(let n=0;n<e.length;n++){const r=we(e[n]);if(Array.isArray(r)){if(0===r.length)throw new G(900,!1);let i,o=Nt.Default;for(let a=0;a<r.length;a++){const u=r[a],_=oe(u);"number"==typeof _?-1===_?i=u.token:o|=_:i=u}t.push(P(i,o))}else t.push(P(r))}return t}function je(e,t){return e[Ut]=t,e.prototype[Ut]=t,e}function oe(e){return e[Ut]}function X(e){return{toString:e}.toString()}var ce=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(ce||{}),Ce=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Ce||{});const rt={},Xe=[],wt=H({\u0275cmp:H}),Ot=H({\u0275dir:H}),Pn=H({\u0275pipe:H}),zn=H({\u0275mod:H}),Rn=H({\u0275fac:H}),sr=H({__NG_ELEMENT_ID__:H}),Vr=H({__NG_ENV_ID__:H});function Ar(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}}function Ln(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++],a=n[r++],u=n[r++];e.setAttribute(t,a,u,o)}else{const o=i,a=n[++r];zr(o)?e.setProperty(t,o,a):e.setAttribute(t,o,a),r++}}return r}function Hn(e){return 3===e||4===e||6===e}function zr(e){return 64===e.charCodeAt(0)}function Or(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||An(e,n,i,null,-1===n||2===n?t[++r]:null)}}return e}function An(e,t,n,r,i){let o=0,a=e.length;if(-1===t)a=-1;else for(;o<e.length;){const u=e[o++];if("number"==typeof u){if(u===t){a=-1;break}if(u>t){a=o-1;break}}}for(;o<e.length;){const u=e[o];if("number"==typeof u)break;if(u===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!==a&&(e.splice(a,0,t),o=a+1),e.splice(o++,0,n),null!==r&&e.splice(o++,0,r),null!==i&&e.splice(o++,0,i)}const Pr="ng-template";function Mr(e,t,n){let r=0,i=!0;for(;r<e.length;){let o=e[r++];if("string"==typeof o&&i){const a=e[r++];if(n&&"class"===o&&-1!==Ar(a.toLowerCase(),t,0))return!0}else{if(1===o){for(;r<e.length&&"string"==typeof(o=e[r++]);)if(o.toLowerCase()===t)return!0;return!1}"number"==typeof o&&(i=!1)}}return!1}function Rr(e){return 4===e.type&&e.value!==Pr}function ii(e,t,n){return t===(4!==e.type||n?e.value:Pr)}function Xr(e,t,n){let r=4;const i=e.attrs||[],o=function zo(e){for(let t=0;t<e.length;t++)if(Hn(e[t]))return t;return e.length}(i);let a=!1;for(let u=0;u<t.length;u++){const _=t[u];if("number"!=typeof _){if(!a)if(4&r){if(r=2|1&r,""!==_&&!ii(e,_,n)||""===_&&1===t.length){if(yr(r))return!1;a=!0}}else{const S=8&r?_:t[++u];if(8&r&&null!==e.attrs){if(!Mr(e.attrs,S,n)){if(yr(r))return!1;a=!0}continue}const ae=Tr(8&r?"class":_,i,Rr(e),n);if(-1===ae){if(yr(r))return!1;a=!0;continue}if(""!==S){let Te;Te=ae>o?"":i[ae+1].toLowerCase();const Be=8&r?Te:null;if(Be&&-1!==Ar(Be,S,0)||2&r&&S!==Te){if(yr(r))return!1;a=!0}}}}else{if(!a&&!yr(r)&&!yr(_))return!1;if(a&&yr(_))continue;a=!1,r=_|1&r}}return yr(r)||a}function yr(e){return 0==(1&e)}function Tr(e,t,n,r){if(null===t)return-1;let i=0;if(r||!n){let o=!1;for(;i<t.length;){const a=t[i];if(a===e)return i;if(3===a||6===a)o=!0;else{if(1===a||2===a){let u=t[++i];for(;"string"==typeof u;)u=t[++i];continue}if(4===a)break;if(0===a){i+=4;continue}}i+=o?1:2}return-1}return function Ji(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 Ai(e,t,n=!1){for(let r=0;r<t.length;r++)if(Xr(e,t[r],n))return!0;return!1}function Oo(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 yo(e,t){return e?":not("+t.trim()+")":t}function bo(e){let t=e[0],n=1,r=2,i="",o=!1;for(;n<e.length;){let a=e[n];if("string"==typeof a)if(2&r){const u=e[++n];i+="["+a+(u.length>0?'="'+u+'"':"")+"]"}else 8&r?i+="."+a:4&r&&(i+=" "+a);else""!==i&&!yr(a)&&(t+=yo(o,i),i=""),r=a,o=o||!yr(r);n++}return""!==i&&(t+=yo(o,i)),t}function oi(e){return X(()=>{const t=Hi(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===ce.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Ce.Emulated,styles:e.styles||Xe,_:null,schemas:e.schemas||null,tView:null,id:""};Po(n);const r=e.dependencies;return n.directiveDefs=Ro(r,!1),n.pipeDefs=Ro(r,!0),n.id=function Cs(e){let t=0;const n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const i of n)t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(n),n})}function Eo(e){return un(e)||fr(e)}function so(e){return null!==e}function Pi(e){return X(()=>({type:e.type,bootstrap:e.bootstrap||Xe,declarations:e.declarations||Xe,imports:e.imports||Xe,exports:e.exports||Xe,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function qi(e,t){if(null==e)return rt;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}function Ui(e){return X(()=>{const t=Hi(e);return Po(t),t})}function Xi(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 un(e){return e[wt]||null}function fr(e){return e[Ot]||null}function wr(e){return e[Pn]||null}function Dr(e){const t=un(e)||fr(e)||wr(e);return null!==t&&t.standalone}function Gr(e,t){const n=e[zn]||null;if(!n&&!0===t)throw new Error(`Type ${fe(e)} does not have '\u0275mod' property.`);return n}function Hi(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||rt,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||Xe,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:qi(e.inputs,t),outputs:qi(e.outputs)}}function Po(e){e.features?.forEach(t=>t(e))}function Ro(e,t){if(!e)return null;const n=t?wr:Eo;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(so)}const ar=0,It=1,sn=2,Gn=3,Nr=4,ui=5,hr=6,Ri=7,lr=8,Wr=9,Di=10,Jt=11,Ni=12,Me=13,be=14,Re=15,ot=16,mt=17,Tt=18,Kt=19,$n=20,wn=21,yn=22,Er=23,Kr=24,dn=25,Ci=1,Sr=2,tr=7,si=9,En=11;function nr(e){return Array.isArray(e)&&"object"==typeof e[Ci]}function Fr(e){return Array.isArray(e)&&!0===e[Ci]}function ls(e){return 0!=(4&e.flags)}function fi(e){return e.componentOffset>-1}function Yr(e){return 1==(1&e.flags)}function ai(e){return!!e.template}function ao(e){return 0!=(512&e[sn])}function ei(e,t){return e.hasOwnProperty(Rn)?e[Rn]:null}let rr=null,Do=!1;function li(e){const t=rr;return rr=e,t}const ki={version:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{}};function uo(e){if(!zi(e)||e.dirty){if(!e.producerMustRecompute(e)&&!Li(e))return void(e.dirty=!1);e.producerRecomputeValue(e),e.dirty=!1}}function ti(e){e.dirty=!0,function Zo(e){if(void 0===e.liveConsumerNode)return;const t=Do;Do=!0;try{for(const n of e.liveConsumerNode)n.dirty||ti(n)}finally{Do=t}}(e),e.consumerMarkedDirty?.(e)}function Fi(e){return e&&(e.nextProducerIndex=0),li(e)}function to(e,t){if(li(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(zi(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)Bo(e.producerNode[n],e.producerIndexOfThis[n]);for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Li(e){ho(e);for(let t=0;t<e.producerNode.length;t++){const n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(uo(n),r!==n.version))return!0}return!1}function fs(e){if(ho(e),zi(e))for(let t=0;t<e.producerNode.length;t++)Bo(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function Bo(e,t){if(function Is(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}(e),ho(e),1===e.liveConsumerNode.length)for(let r=0;r<e.producerNode.length;r++)Bo(e.producerNode[r],e.producerIndexOfThis[r]);const n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){const r=e.liveConsumerIndexOfThis[t],i=e.liveConsumerNode[t];ho(i),i.producerIndexOfThis[r]=t}}function zi(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function ho(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let qo=null;function $(e){const t=li(null);try{return e()}finally{li(t)}}const et=()=>{},_t={...ki,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule(e.ref)},hasRun:!1,cleanupFn:et};class Vn{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Bn(){return pn}function pn(e){return e.type.prototype.ngOnChanges&&(e.setInput=qn),cr}function cr(){const e=vi(this),t=e?.current;if(t){const n=e.previous;if(n===rt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function qn(e,t,n,r){const i=this.declaredInputs[n],o=vi(e)||function Ti(e,t){return e[mr]=t}(e,{previous:rt,current:null}),a=o.current||(o.current={}),u=o.previous,_=u[i];a[i]=new Vn(_&&_.currentValue,t,u===rt),e[r]=t}Bn.ngInherit=!0;const mr="__ngSimpleChanges__";function vi(e){return e[mr]||null}const Lr=function(e,t,n){},xr="svg";function Xn(e){for(;Array.isArray(e);)e=e[ar];return e}function ts(e,t){return Xn(t[e])}function ci(e,t){return Xn(t[e.index])}function zs(e,t){return e.data[t]}function ns(e,t){return e[t]}function bi(e,t){const n=t[e];return nr(n)?n:n[ar]}function c(e,t){return null==t?null:e[t]}function g(e){e[mt]=0}function A(e){1024&e[sn]||(e[sn]|=1024,_e(e,1))}function K(e){1024&e[sn]&&(e[sn]&=-1025,_e(e,-1))}function _e(e,t){let n=e[Gn];if(null===n)return;n[ui]+=t;let r=n;for(n=n[Gn];null!==n&&(1===t&&1===r[ui]||-1===t&&0===r[ui]);)n[ui]+=t,r=n,n=n[Gn]}const Fe={lFrame:Mi(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function ln(){return Fe.bindingsEnabled}function Kn(){return null!==Fe.skipHydrationRootTNode}function ct(){return Fe.lFrame.lView}function an(){return Fe.lFrame.tView}function Gi(e){return Fe.lFrame.contextLView=e,e[lr]}function Wi(e){return Fe.lFrame.contextLView=null,e}function gr(){let e=rs();for(;null!==e&&64===e.type;)e=e.parent;return e}function rs(){return Fe.lFrame.currentTNode}function ri(e,t){const n=Fe.lFrame;n.currentTNode=e,n.isParent=t}function jr(){return Fe.lFrame.isParent}function ps(){Fe.lFrame.isParent=!1}function fn(){const e=Fe.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function d(){return Fe.lFrame.bindingIndex++}function h(e){const t=Fe.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function x(e,t){const n=Fe.lFrame;n.bindingIndex=n.bindingRootIndex=e,q(t)}function q(e){Fe.lFrame.currentDirectiveIndex=e}function Ne(e){const t=Fe.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function bt(){return Fe.lFrame.currentQueryIndex}function tt(e){Fe.lFrame.currentQueryIndex=e}function Zt(e){const t=e[It];return 2===t.type?t.declTNode:1===t.type?e[hr]:null}function Sn(e,t,n){if(n&Nt.SkipSelf){let i=t,o=e;for(;!(i=i.parent,null!==i||n&Nt.Host||(i=Zt(o),null===i||(o=o[be],10&i.type))););if(null===i)return!1;t=i,e=o}const r=Fe.lFrame=Yn();return r.currentTNode=t,r.lView=e,!0}function Ur(e){const t=Yn(),n=e[It];Fe.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Yn(){const e=Fe.lFrame,t=null===e?null:e.child;return null===t?Mi(e):t}function Mi(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 ms(){const e=Fe.lFrame;return Fe.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Gs=ms;function Ho(){const e=ms();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 Bi(){return Fe.lFrame.selectedIndex}function is(e){Fe.lFrame.selectedIndex=e}function Ir(){const e=Fe.lFrame;return zs(e.tView,e.selectedIndex)}function il(){Fe.lFrame.currentNamespace=xr}function Wl(){!function du(){Fe.lFrame.currentNamespace=null}()}let ol=!0;function ta(){return ol}function So(e){ol=e}function na(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const o=e.data[n].type.prototype,{ngAfterContentInit:a,ngAfterContentChecked:u,ngAfterViewInit:_,ngAfterViewChecked:S,ngOnDestroy:L}=o;a&&(e.contentHooks??=[]).push(-n,a),u&&((e.contentHooks??=[]).push(n,u),(e.contentCheckHooks??=[]).push(n,u)),_&&(e.viewHooks??=[]).push(-n,_),S&&((e.viewHooks??=[]).push(n,S),(e.viewCheckHooks??=[]).push(n,S)),null!=L&&(e.destroyHooks??=[]).push(n,L)}}function ro(e,t,n){Zl(e,t,3,n)}function Ws(e,t,n,r){(3&e[sn])===n&&Zl(e,t,n,r)}function Yl(e,t){let n=e[sn];(3&n)===t&&(n&=8191,n+=1,e[sn]=n)}function Zl(e,t,n,r){const o=r??-1,a=t.length-1;let u=0;for(let _=void 0!==r?65535&e[mt]:0;_<a;_++)if("number"==typeof t[_+1]){if(u=t[_],null!=r&&u>=r)break}else t[_]<0&&(e[mt]+=65536),(u<o||-1==o)&&(Uf(e,n,t,_),e[mt]=(4294901760&e[mt])+_+2),_++}function Ql(e,t){Lr(4,e,t);const n=li(null);try{t.call(e)}finally{li(n),Lr(5,e,t)}}function Uf(e,t,n,r){const i=n[r]<0,o=n[r+1],u=e[i?-n[r]:n[r]];i?e[sn]>>13<e[mt]>>16&&(3&e[sn])===t&&(e[sn]+=8192,Ql(u,o)):Ql(u,o)}const Ks=-1;class ra{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function _a(e){return e!==Ks}function Ys(e){return 32767&e}function ia(e,t){let n=function fu(e){return e>>16}(e),r=t;for(;n>0;)r=r[be],n--;return r}let sl=!0;function va(e){const t=sl;return sl=e,t}const ql=255,hu=5;let pu=0;const $o={};function ya(e,t){const n=ba(e,t);if(-1!==n)return n;const r=t[It];r.firstCreatePass&&(e.injectorIndex=t.length,al(r.data,e),al(t,null),al(r.blueprint,null));const i=Zs(e,t),o=e.injectorIndex;if(_a(i)){const a=Ys(i),u=ia(i,t),_=u[It].data;for(let S=0;S<8;S++)t[o+S]=u[a+S]|_[a+S]}return t[o+8]=i,o}function al(e,t){e.push(0,0,0,0,0,0,0,0,t)}function ba(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Zs(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=dl(i),null===r)return Ks;if(n++,i=i[be],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return Ks}function oa(e,t,n){!function mu(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(sr)&&(r=n[sr]),null==r&&(r=n[sr]=pu++);const i=r&ql;t.data[e+(i>>hu)]|=1<<i}(e,t,n)}function Ea(e,t,n){if(n&Nt.Optional||void 0!==e)return e;nt()}function Da(e,t,n,r){if(n&Nt.Optional&&void 0===r&&(r=null),!(n&(Nt.Self|Nt.Host))){const i=e[Wr],o=rn(void 0);try{return i?i.get(t,r,n&Nt.Optional):Xt(t,r,n&Nt.Optional)}finally{rn(o)}}return Ea(r,0,n)}function Ca(e,t,n,r=Nt.Default,i){if(null!==e){if(2048&t[sn]&&!(r&Nt.Self)){const a=function Kf(e,t,n,r,i){let o=e,a=t;for(;null!==o&&null!==a&&2048&a[sn]&&!(512&a[sn]);){const u=gu(o,a,n,r|Nt.Self,$o);if(u!==$o)return u;let _=o.parent;if(!_){const S=a[$n];if(S){const L=S.get(n,$o,r);if(L!==$o)return L}_=dl(a),a=a[be]}o=_}return i}(e,t,n,r,$o);if(a!==$o)return a}const o=gu(e,t,n,r,$o);if(o!==$o)return o}return Da(t,n,r,i)}function gu(e,t,n,r,i){const o=function _u(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(sr)?e[sr]:void 0;return"number"==typeof t?t>=0?t&ql:yu:t}(n);if("function"==typeof o){if(!Sn(t,e,r))return r&Nt.Host?Ea(i,0,r):Da(t,n,r,i);try{let a;if(a=o(r),null!=a||r&Nt.Optional)return a;nt()}finally{Gs()}}else if("number"==typeof o){let a=null,u=ba(e,t),_=Ks,S=r&Nt.Host?t[Re][hr]:null;for((-1===u||r&Nt.SkipSelf)&&(_=-1===u?Zs(e,t):t[u+8],_!==Ks&&ul(r,!1)?(a=t[It],u=Ys(_),t=ia(_,t)):u=-1);-1!==u;){const L=t[It];if(Ns(o,u,L.data)){const ae=Wf(u,t,n,a,r,S);if(ae!==$o)return ae}_=t[u+8],_!==Ks&&ul(r,t[It].data[u+8]===S)&&Ns(o,u,t)?(a=L,u=Ys(_),t=ia(_,t)):u=-1}}return i}function Wf(e,t,n,r,i,o){const a=t[It],u=a.data[e+8],L=cl(u,a,n,null==r?fi(u)&&sl:r!=a&&0!=(3&u.type),i&Nt.Host&&o===u);return null!==L?Rs(t,a,L,u):$o}function cl(e,t,n,r,i){const o=e.providerIndexes,a=t.data,u=1048575&o,_=e.directiveStart,L=o>>20,Te=i?u+L:e.directiveEnd;for(let Be=r?u:u+L;Be<Te;Be++){const at=a[Be];if(Be<_&&n===at||Be>=_&&at.type===n)return Be}if(i){const Be=a[_];if(Be&&ai(Be)&&Be.type===n)return _}return null}function Rs(e,t,n,r){let i=e[n];const o=t.data;if(function Hf(e){return e instanceof ra}(i)){const a=i;a.resolving&&function ge(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new G(-200,`Circular dependency in DI detected for ${e}${n}`)}(function ue(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():ie(e)}(o[n]));const u=va(a.canSeeViewProviders);a.resolving=!0;const S=a.injectImpl?rn(a.injectImpl):null;Sn(e,r,Nt.Default);try{i=e[n]=a.factory(void 0,o,e,r),t.firstCreatePass&&n>=r.directiveStart&&function Kl(e,t,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=t.type.prototype;if(r){const a=pn(t);(n.preOrderHooks??=[]).push(e,a),(n.preOrderCheckHooks??=[]).push(e,a)}i&&(n.preOrderHooks??=[]).push(0-e,i),o&&((n.preOrderHooks??=[]).push(e,o),(n.preOrderCheckHooks??=[]).push(e,o))}(n,o[n],t)}finally{null!==S&&rn(S),va(u),a.resolving=!1,Gs()}}return i}function Ns(e,t,n){return!!(n[t+(e>>hu)]&1<<e)}function ul(e,t){return!(e&Nt.Self||e&Nt.Host&&t)}class Jr{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Ca(this._tNode,this._lView,t,ne(r),n)}}function yu(){return new Jr(gr(),ct())}function gs(e){return X(()=>{const t=e.prototype.constructor,n=t[Rn]||Xl(t),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const o=i[Rn]||Xl(i);if(o&&o!==n)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function Xl(e){return Je(e)?()=>{const t=Xl(we(e));return t&&t()}:ei(e)}function dl(e){const t=e[It],n=t.type;return 2===n?t.declTNode:1===n?e[hr]:null}function fl(e){return function ll(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(Hn(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}(gr(),e)}const aa="__parameters__";function Q(e,t,n){return X(()=>{const r=function M(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 a=new i(...o);return u.annotation=a,u;function u(_,S,L){const ae=_.hasOwnProperty(aa)?_[aa]:Object.defineProperty(_,aa,{value:[]})[aa];for(;ae.length<=L;)ae.push(null);return(ae[L]=ae[L]||[]).push(a),_}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}function io(e,t){e.forEach(n=>Array.isArray(n)?io(n,t):t(n))}function Yf(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function ec(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function hl(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}function Io(e,t,n){let r=wa(e,t);return r>=0?e[1|r]=n:(r=~r,function Hv(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 bu(e,t){const n=wa(e,t);if(n>=0)return e[1|n]}function wa(e,t){return function Zf(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){const o=r+(i-r>>1),a=e[o<<n];if(t===a)return o<<n;a>t?i=o:r=o+1}return~(i<<n)}(e,t,1)}const nc=je(Q("Optional"),8),rc=je(Q("SkipSelf"),4);function lc(e){return 128==(128&e.flags)}var uc=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(uc||{});const ly=/^>|^->|<!--|-->|--!>|<!-$/g,cy=/(<|>)/g,uy="\u200b$1\u200b";const xu=new Map;let dy=0;const Su="__ngContext__";function Zi(e,t){nr(t)?(e[Su]=t[Kt],function hy(e){xu.set(e[Kt],e)}(t)):e[Su]=t}let Mu;function Iu(e,t){return Mu(e,t)}function gl(e){const t=e[Gn];return Fr(t)?t[Gn]:t}function mh(e){return _h(e[Ni])}function gh(e){return _h(e[Nr])}function _h(e){for(;null!==e&&!Fr(e);)e=e[Nr];return e}function Sa(e,t,n,r,i){if(null!=r){let o,a=!1;Fr(r)?o=r:nr(r)&&(a=!0,r=r[ar]);const u=Xn(r);0===e&&null!==n?null==i?Eh(t,n,u):la(t,n,u,i||null,!0):1===e&&null!==n?la(t,n,u,i||null,!0):2===e?function gc(e,t,n){const r=pc(e,t);r&&function Py(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,u,a):3===e&&t.destroyNode(u),null!=o&&function ky(e,t,n,r,i){const o=n[tr];o!==Xn(n)&&Sa(t,e,r,o,i);for(let u=En;u<n.length;u++){const _=n[u];vl(_[It],_,e,t,r,o)}}(t,e,o,n,i)}}function Au(e,t){return e.createComment(function ah(e){return e.replace(ly,t=>t.replace(cy,uy))}(t))}function fc(e,t,n){return e.createElement(t,n)}function yh(e,t){const n=e[si],r=n.indexOf(t);K(t),n.splice(r,1)}function hc(e,t){if(e.length<=En)return;const n=En+t,r=e[n];if(r){const i=r[ot];null!==i&&i!==e&&yh(i,r),t>0&&(e[n-1][Nr]=r[Nr]);const o=ec(e,En+t);!function wy(e,t){vl(e,t,t[Jt],2,null,null),t[ar]=null,t[hr]=null}(r[It],r);const a=o[Tt];null!==a&&a.detachView(o[It]),r[Gn]=null,r[Nr]=null,r[sn]&=-129}return r}function Ou(e,t){if(!(256&t[sn])){const n=t[Jt];t[Er]&&fs(t[Er]),t[Kr]&&fs(t[Kr]),n.destroyNode&&vl(e,t,n,3,null,null),function Sy(e){let t=e[Ni];if(!t)return Pu(e[It],e);for(;t;){let n=null;if(nr(t))n=t[Ni];else{const r=t[En];r&&(n=r)}if(!n){for(;t&&!t[Nr]&&t!==e;)nr(t)&&Pu(t[It],t),t=t[Gn];null===t&&(t=e),nr(t)&&Pu(t[It],t),n=t&&t[Nr]}t=n}}(t)}}function Pu(e,t){if(!(256&t[sn])){t[sn]&=-129,t[sn]|=256,function Oy(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 ra)){const o=n[r+1];if(Array.isArray(o))for(let a=0;a<o.length;a+=2){const u=i[o[a]],_=o[a+1];Lr(4,u,_);try{_.call(u)}finally{Lr(5,u,_)}}else{Lr(4,i,o);try{o.call(i)}finally{Lr(5,i,o)}}}}}(e,t),function Ay(e,t){const n=e.cleanup,r=t[Ri];if(null!==n)for(let o=0;o<n.length-1;o+=2)if("string"==typeof n[o]){const a=n[o+3];a>=0?r[a]():r[-a].unsubscribe(),o+=2}else n[o].call(r[n[o+1]]);null!==r&&(t[Ri]=null);const i=t[wn];if(null!==i){t[wn]=null;for(let o=0;o<i.length;o++)(0,i[o])()}}(e,t),1===t[It].type&&t[Jt].destroy();const n=t[ot];if(null!==n&&Fr(t[Gn])){n!==t[Gn]&&yh(n,t);const r=t[Tt];null!==r&&r.detachView(e)}!function py(e){xu.delete(e[Kt])}(t)}}function Ru(e,t,n){return function bh(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[ar];{const{componentOffset:i}=r;if(i>-1){const{encapsulation:o}=e.data[r.directiveStart+i];if(o===Ce.None||o===Ce.Emulated)return null}return ci(r,n)}}(e,t.parent,n)}function la(e,t,n,r,i){e.insertBefore(t,n,r,i)}function Eh(e,t,n){e.appendChild(t,n)}function Dh(e,t,n,r,i){null!==r?la(e,t,n,r,i):Eh(e,t,n)}function pc(e,t){return e.parentNode(t)}function Ch(e,t,n){return xh(e,t,n)}let Nu,_c,Bu,vc,xh=function wh(e,t,n){return 40&e.type?ci(e,n):null};function mc(e,t,n,r){const i=Ru(e,r,t),o=t[Jt],u=Ch(r.parent||t[hr],r,t);if(null!=i)if(Array.isArray(n))for(let _=0;_<n.length;_++)Dh(o,i,n[_],u,!1);else Dh(o,i,n,u,!1);void 0!==Nu&&Nu(o,r,t,n,i)}function _l(e,t){if(null!==t){const n=t.type;if(3&n)return ci(t,e);if(4&n)return ku(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return _l(e,r);{const i=e[t.index];return Fr(i)?ku(-1,i):Xn(i)}}if(32&n)return Iu(t,e)()||Xn(e[t.index]);{const r=Sh(e,t);return null!==r?Array.isArray(r)?r[0]:_l(gl(e[Re]),r):_l(e,t.next)}}return null}function Sh(e,t){return null!==t?e[Re][hr].projection[t.projection]:null}function ku(e,t){const n=En+e+1;if(n<t.length){const r=t[n],i=r[It].firstChild;if(null!==i)return _l(r,i)}return t[tr]}function Fu(e,t,n,r,i,o,a){for(;null!=n;){const u=r[n.index],_=n.type;if(a&&0===t&&(u&&Zi(Xn(u),r),n.flags|=2),32!=(32&n.flags))if(8&_)Fu(e,t,n.child,r,i,o,!1),Sa(t,e,i,u,o);else if(32&_){const S=Iu(n,r);let L;for(;L=S();)Sa(t,e,i,L,o);Sa(t,e,i,u,o)}else 16&_?Ih(e,t,r,n,i,o):Sa(t,e,i,u,o);n=a?n.projectionNext:n.next}}function vl(e,t,n,r,i,o){Fu(n,r,e.firstChild,t,i,o,!1)}function Ih(e,t,n,r,i,o){const a=n[Re],_=a[hr].projection[r.projection];if(Array.isArray(_))for(let S=0;S<_.length;S++)Sa(t,e,i,_[S],o);else{let S=_;const L=a[Gn];lc(r)&&(S.flags|=128),Fu(e,t,S,L,i,o,!0)}}function Ah(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Oh(e,t,n){const{mergedAttrs:r,classes:i,styles:o}=n;null!==r&&Ln(e,t,r),null!==i&&Ah(e,t,i),null!==o&&function Ly(e,t,n){e.setAttribute(t,"style",n)}(e,t,o)}function Ma(e){return function Lu(){if(void 0===_c&&(_c=null,cn.trustedTypes))try{_c=cn.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return _c}()?.createHTML(e)||e}function Hy(e){Bu=e}function Ia(){if(void 0!==Bu)return Bu;if(typeof document<"u")return document;throw new G(210,!1)}function ju(){if(void 0===vc&&(vc=null,cn.trustedTypes))try{vc=cn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return vc}function Ph(e){return ju()?.createHTML(e)||e}function Nh(e){return ju()?.createScriptURL(e)||e}class ca{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${ke})`}}class $y extends ca{getTypeName(){return"HTML"}}class Vy extends ca{getTypeName(){return"Style"}}class zy extends ca{getTypeName(){return"Script"}}class Gy extends ca{getTypeName(){return"URL"}}class Wy extends ca{getTypeName(){return"ResourceURL"}}function ks(e){return e instanceof ca?e.changingThisBreaksApplicationSecurity:e}function Aa(e,t){const n=function Ky(e){return e instanceof ca&&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 ${ke})`)}return n===t}function Yy(e){return new $y(e)}function Zy(e){return new Vy(e)}function Qy(e){return new zy(e)}function Jy(e){return new Gy(e)}function qy(e){return new Wy(e)}class Xy{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(Ma(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class eb{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=Ma(t),n}}const nb=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function yc(e){return(e=String(e)).match(nb)?e:"unsafe:"+e}function Fs(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function yl(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const Fh=Fs("area,br,col,hr,img,wbr"),Lh=Fs("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Bh=Fs("rp,rt"),Uu=yl(Fh,yl(Lh,Fs("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")),yl(Bh,Fs("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")),yl(Bh,Lh)),Hu=Fs("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),jh=yl(Hu,Fs("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Fs("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")),rb=Fs("script,style,template");class ib{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(!Uu.hasOwnProperty(n))return this.sanitizedSomething=!0,!rb.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),a=o.name,u=a.toLowerCase();if(!jh.hasOwnProperty(u)){this.sanitizedSomething=!0;continue}let _=o.value;Hu[u]&&(_=yc(_)),this.buf.push(" ",a,'="',Uh(_),'"')}return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();Uu.hasOwnProperty(n)&&!Fh.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Uh(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 ob=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,sb=/([^\#-~ |!])/g;function Uh(e){return e.replace(/&/g,"&").replace(ob,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(sb,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let bc;function Hh(e,t){let n=null;try{bc=bc||function kh(e){const t=new eb(e);return function tb(){try{return!!(new window.DOMParser).parseFromString(Ma(""),"text/html")}catch{return!1}}()?new Xy(t):t}(e);let r=t?String(t):"";n=bc.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=bc.getInertBodyElement(r)}while(r!==o);return Ma((new ib).sanitizeChildren($u(n)||n))}finally{if(n){const r=$u(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function $u(e){return"content"in e&&function ab(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var ua=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(ua||{});function $h(e){const t=bl();return t?Ph(t.sanitize(ua.HTML,e)||""):Aa(e,"HTML")?Ph(ks(e)):Hh(Ia(),ie(e))}function Vu(e){const t=bl();return t?t.sanitize(ua.URL,e)||"":Aa(e,"URL")?ks(e):yc(ie(e))}function Vh(e){const t=bl();if(t)return Nh(t.sanitize(ua.RESOURCE_URL,e)||"");if(Aa(e,"ResourceURL"))return Nh(ks(e));throw new G(904,!1)}function zh(e,t,n){return function fb(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?Vh:Vu}(t,n)(e)}function bl(){const e=ct();return e&&e[Di].sanitizer}class vr{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=N({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const El=new vr("ENVIRONMENT_INITIALIZER"),Gh=new vr("INJECTOR",-1),Wh=new vr("INJECTOR_DEF_TYPES");class zu{get(t,n=st){if(n===st){const r=new Error(`NullInjectorError: No provider for ${fe(t)}!`);throw r.name="NullInjectorError",r}return n}}function Gu(e){return{\u0275providers:e}}function hb(...e){return{\u0275providers:Kh(0,e),\u0275fromNgModule:!0}}function Kh(e,...t){const n=[],r=new Set;let i;const o=a=>{n.push(a)};return io(t,a=>{const u=a;Ec(u,o,[],r)&&(i||=[],i.push(u))}),void 0!==i&&Yh(i,o),n}function Yh(e,t){for(let n=0;n<e.length;n++){const{ngModule:r,providers:i}=e[n];Wu(i,o=>{t(o,r)})}}function Ec(e,t,n,r){if(!(e=we(e)))return!1;let i=null,o=kn(e);const a=!o&&un(e);if(o||a){if(a&&!a.standalone)return!1;i=e}else{const _=e.ngModule;if(o=kn(_),!o)return!1;i=_}const u=r.has(i);if(a){if(u)return!1;if(r.add(i),a.dependencies){const _="function"==typeof a.dependencies?a.dependencies():a.dependencies;for(const S of _)Ec(S,t,n,r)}}else{if(!o)return!1;{if(null!=o.imports&&!u){let S;r.add(i);try{io(o.imports,L=>{Ec(L,t,n,r)&&(S||=[],S.push(L))})}finally{}void 0!==S&&Yh(S,t)}if(!u){const S=ei(i)||(()=>new i);t({provide:i,useFactory:S,deps:Xe},i),t({provide:Wh,useValue:i,multi:!0},i),t({provide:El,useValue:()=>P(i),multi:!0},i)}const _=o.providers;if(null!=_&&!u){const S=e;Wu(_,L=>{t(L,S)})}}}return i!==e&&void 0!==e.providers}function Wu(e,t){for(let n of e)Ve(n)&&(n=n.\u0275providers),Array.isArray(n)?Wu(n,t):t(n)}const pb=H({provide:String,useValue:H});function Ku(e){return null!==e&&"object"==typeof e&&pb in e}function da(e){return"function"==typeof e}const Yu=new vr("Set Injector scope."),Dc={},gb={};let Zu;function Cc(){return void 0===Zu&&(Zu=new zu),Zu}class _s{}class wc extends _s{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,Ju(t,a=>this.processProvider(a)),this.records.set(Gh,Oa(void 0,this)),i.has("environment")&&this.records.set(_s,Oa(void 0,this));const o=this.records.get(Yu);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Wh.multi,Xe,Nt.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const n of t)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=F(this),r=rn(void 0);try{return t()}finally{F(n),rn(r)}}get(t,n=st,r=Nt.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Vr))return t[Vr](this);r=ne(r);const o=F(this),a=rn(void 0);try{if(!(r&Nt.SkipSelf)){let _=this.records.get(t);if(void 0===_){const S=function Eb(e){return"function"==typeof e||"object"==typeof e&&e instanceof vr}(t)&&St(t);_=S&&this.injectableDefInScope(S)?Oa(Qu(t),Dc):null,this.records.set(t,_)}if(null!=_)return this.hydrate(t,_)}return(r&Nt.Self?Cc():this.parent).get(t,n=r&Nt.Optional&&n===st?null:n)}catch(u){if("NullInjectorError"===u.name){if((u[en]=u[en]||[]).unshift(fe(t)),o)throw u;return function ee(e,t,n,r){const i=e[en];throw t[k]&&i.unshift(t[k]),e.message=function Pe(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let i=fe(t);if(Array.isArray(t))i=t.map(fe).join(" -> ");else if("object"==typeof t){let o=[];for(let a in t)if(t.hasOwnProperty(a)){let u=t[a];o.push(a+":"+("string"==typeof u?JSON.stringify(u):fe(u)))}i=`{${o.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(pe,"\n ")}`}("\n"+e.message,i,n,r),e.ngTokenPath=i,e[en]=null,e}(u,t,"R3InjectorError",this.source)}throw u}finally{rn(a),F(o)}}resolveInjectorInitializers(){const t=F(this),n=rn(void 0);try{const i=this.get(El.multi,Xe,Nt.Self);for(const o of i)o()}finally{F(t),rn(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(fe(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new G(205,!1)}processProvider(t){let n=da(t=we(t))?t:we(t&&t.provide);const r=function vb(e){return Ku(e)?Oa(void 0,e.useValue):Oa(Jh(e),Dc)}(t);if(da(t)||!0!==t.multi)this.records.get(n);else{let i=this.records.get(n);i||(i=Oa(void 0,Dc,!0),i.factory=()=>le(i.multi),this.records.set(n,i)),n=t,i.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===Dc&&(n.value=gb,n.value=n.factory()),"object"==typeof n.value&&n.value&&function bb(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=we(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function Qu(e){const t=St(e),n=null!==t?t.factory:ei(e);if(null!==n)return n;if(e instanceof vr)throw new G(204,!1);if(e instanceof Function)return function _b(e){const t=e.length;if(t>0)throw hl(t,"?"),new G(204,!1);const n=function Mn(e){return e&&(e[Ct]||e[Un])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new G(204,!1)}function Jh(e,t,n){let r;if(da(e)){const i=we(e);return ei(i)||Qu(i)}if(Ku(e))r=()=>we(e.useValue);else if(function Qh(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...le(e.deps||[]));else if(function Zh(e){return!(!e||!e.useExisting)}(e))r=()=>P(we(e.useExisting));else{const i=we(e&&(e.useClass||e.provide));if(!function yb(e){return!!e.deps}(e))return ei(i)||Qu(i);r=()=>new i(...le(e.deps))}return r}function Oa(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Ju(e,t){for(const n of e)Array.isArray(n)?Ju(n,t):n&&Ve(n)?Ju(n.\u0275providers,t):t(n)}const qh=new vr("AppId",{providedIn:"root",factory:()=>Db}),Db="ng",Xh=new vr("Platform Initializer"),qu=new vr("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Cb=new vr("AnimationModuleType"),wb=new vr("CSP nonce",{providedIn:"root",factory:()=>Ia().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let ep=(e,t,n)=>null;function sd(e,t,n=!1){return ep(e,t,n)}class Nb{}class rp{}class Fb{resolveComponentFactory(t){throw function kb(e){const t=Error(`No component factory found for ${fe(e)}.`);return t.ngComponent=e,t}(t)}}let wl=(()=>{class t{}return t.NULL=new Fb,t})();function Lb(){return Na(gr(),ct())}function Na(e,t){return new xl(ci(e,t))}let xl=(()=>{class t{constructor(r){this.nativeElement=r}}return t.__NG_ELEMENT_ID__=Lb,t})();function Bb(e){return e instanceof xl?e.nativeElement:e}class op{}let jb=(()=>{class t{constructor(){this.destroyNode=null}}return t.__NG_ELEMENT_ID__=()=>function Ub(){const e=ct(),n=bi(gr().index,e);return(nr(n)?n:e)[Jt]}(),t})(),Hb=(()=>{var e;class t{}return(e=t).\u0275prov=N({token:e,providedIn:"root",factory:()=>null}),t})();class sp{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const ap=new sp("16.2.5"),cd={};function dp(e,t=null,n=null,r){const i=fp(e,t,n,r);return i.resolveInjectorInitializers(),i}function fp(e,t=null,n=null,r,i=new Set){const o=[n||Xe,hb(e)];return r=r||("object"==typeof e?void 0:fe(e)),new wc(o,t||Cc(),r||null,i)}let os=(()=>{var e;class t{static create(r,i){if(Array.isArray(r))return dp({name:""},i,r,"");{const o=r.name??"";return dp({name:o},r.parent,r.providers,o)}}}return(e=t).THROW_IF_NOT_FOUND=st,e.NULL=new zu,e.\u0275prov=N({token:e,providedIn:"any",factory:()=>P(Gh)}),e.__NG_ELEMENT_ID__=-1,t})();function dd(e){return e.ngOriginalError}class Js{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&&dd(t);for(;n&&dd(n);)n=dd(n);return n||null}}function hd(e){return t=>{setTimeout(e,void 0,t)}}const vs=class Yb 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),a=r;if(t&&"object"==typeof t){const _=t;i=_.next?.bind(_),o=_.error?.bind(_),a=_.complete?.bind(_)}this.__isAsync&&(o=hd(o),i&&(i=hd(i)),a&&(a=hd(a)));const u=super.subscribe({next:i,error:o,complete:a});return t instanceof m.w0&&t.add(u),u}};function pp(...e){}class Ii{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new vs(!1),this.onMicrotaskEmpty=new vs(!1),this.onStable=new vs(!1),this.onError=new vs(!1),typeof Zone>"u")throw new G(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 Zb(){const e="function"==typeof cn.requestAnimationFrame;let t=cn[e?"requestAnimationFrame":"setTimeout"],n=cn[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);const i=n[Zone.__symbol__("OriginalDelegate")];i&&(n=i)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function qb(e){const t=()=>{!function Jb(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(cn,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,md(e),e.isCheckStableRunning=!0,pd(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),md(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,i,o,a,u)=>{if(function e0(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(u))return n.invokeTask(i,o,a,u);try{return mp(e),n.invokeTask(i,o,a,u)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||e.shouldCoalesceRunChangeDetection)&&t(),gp(e)}},onInvoke:(n,r,i,o,a,u,_)=>{try{return mp(e),n.invoke(i,o,a,u,_)}finally{e.shouldCoalesceRunChangeDetection&&t(),gp(e)}},onHasTask:(n,r,i,o)=>{n.hasTask(i,o),r===i&&("microTask"==o.change?(e._hasPendingMicrotasks=o.microTask,md(e),pd(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(!Ii.isInAngularZone())throw new G(909,!1)}static assertNotInAngularZone(){if(Ii.isInAngularZone())throw new G(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,i){const o=this._inner,a=o.scheduleEventTask("NgZoneEvent: "+i,t,Qb,pp,pp);try{return o.runTask(a,n,r)}finally{o.cancelTask(a)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const Qb={};function pd(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 md(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function mp(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function gp(e){e._nesting--,pd(e)}class Xb{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new vs,this.onMicrotaskEmpty=new vs,this.onStable=new vs,this.onError=new vs}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 _p=new vr("",{providedIn:"root",factory:vp});function vp(){const e=me(Ii);let t=!0;const n=new W.y(i=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{i.next(t),i.complete()})}),r=new W.y(i=>{let o;e.runOutsideAngular(()=>{o=e.onStable.subscribe(()=>{Ii.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,i.next(!0))})})});const a=e.onUnstable.subscribe(()=>{Ii.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{i.next(!1)}))});return()=>{o.unsubscribe(),a.unsubscribe()}});return(0,U.T)(n,r.pipe((0,Z.B)()))}function Ls(e){return e instanceof Function?e():e}let gd=(()=>{var e;class t{constructor(){this.renderDepth=0,this.handler=null}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){this.renderDepth--,0===this.renderDepth&&this.handler?.execute()}ngOnDestroy(){this.handler?.destroy(),this.handler=null}}return(e=t).\u0275prov=N({token:e,providedIn:"root",factory:()=>new e}),t})();function Tl(e){for(;e;){e[sn]|=64;const t=gl(e);if(ao(e)&&!t)return e;e=t}return null}const Cp=new vr("",{providedIn:"root",factory:()=>!1});let Oc=null;function Sp(e,t){return e[t]??Ap()}function Mp(e,t){const n=Ap();n.producerNode?.length&&(e[t]=Oc,n.lView=e,Oc=Ip())}const d0={...ki,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Tl(e.lView)},lView:null};function Ip(){return Object.create(d0)}function Ap(){return Oc??=Ip(),Oc}const xn={};function Op(e){Pp(an(),ct(),Bi()+e,!1)}function Pp(e,t,n,r){if(!r)if(3==(3&t[sn])){const o=e.preOrderCheckHooks;null!==o&&ro(t,o,n)}else{const o=e.preOrderHooks;null!==o&&Ws(t,o,0,n)}is(n)}function La(e,t=Nt.Default){const n=ct();return null===n?P(e,t):Ca(gr(),n,we(e),t)}function Rp(){throw new Error("invalid")}function Pc(e,t,n,r,i,o,a,u,_,S,L){const ae=t.blueprint.slice();return ae[ar]=i,ae[sn]=140|r,(null!==S||e&&2048&e[sn])&&(ae[sn]|=2048),g(ae),ae[Gn]=ae[be]=e,ae[lr]=n,ae[Di]=a||e&&e[Di],ae[Jt]=u||e&&e[Jt],ae[Wr]=_||e&&e[Wr]||null,ae[hr]=o,ae[Kt]=function fy(){return dy++}(),ae[yn]=L,ae[$n]=S,ae[Re]=2==t.type?e[Re]:ae,ae}function Ba(e,t,n,r,i){let o=e.data[t];if(null===o)o=function _d(e,t,n,r,i){const o=rs(),a=jr(),_=e.data[t]=function y0(e,t,n,r,i,o){let a=t?t.injectorIndex:-1,u=0;return Kn()&&(u|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:a,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:u,providerIndexes:0,value:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,a?o:o&&o.parent,n,t,r,i);return null===e.firstChild&&(e.firstChild=_),null!==o&&(a?null==o.child&&null!==_.parent&&(o.child=_):null===o.next&&(o.next=_,_.prev=o)),_}(e,t,n,r,i),function y(){return Fe.lFrame.inI18n}()&&(o.flags|=32);else if(64&o.type){o.type=n,o.value=r,o.attrs=i;const a=function ur(){const e=Fe.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();o.injectorIndex=null===a?-1:a.injectorIndex}return ri(o,!0),o}function Sl(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 Np(e,t,n,r,i){const o=Sp(t,Er),a=Bi(),u=2&r;try{is(-1),u&&t.length>dn&&Pp(e,t,dn,!1),Lr(u?2:0,i);const S=u?o:null,L=Fi(S);try{null!==S&&(S.dirty=!1),n(r,i)}finally{to(S,L)}}finally{u&&null===t[Er]&&Mp(t,Er),is(a),Lr(u?3:1,i)}}function vd(e,t,n){if(ls(t)){const r=li(null);try{const o=t.directiveEnd;for(let a=t.directiveStart;a<o;a++){const u=e.data[a];u.contentQueries&&u.contentQueries(1,n[a],a)}}finally{li(r)}}}function yd(e,t,n){ln()&&(function T0(e,t,n,r){const i=n.directiveStart,o=n.directiveEnd;fi(n)&&function R0(e,t,n){const r=ci(t,e),i=kp(n);let a=16;n.signals?a=4096:n.onPush&&(a=64);const u=Rc(e,Pc(e,i,null,a,r,t,null,e[Di].rendererFactory.createRenderer(r,n),null,null,null));e[t.index]=u}(t,n,e.data[i+n.componentOffset]),e.firstCreatePass||ya(n,t),Zi(r,t);const a=n.initialInputs;for(let u=i;u<o;u++){const _=e.data[u],S=Rs(t,e,u,n);Zi(S,t),null!==a&&N0(0,u-i,S,_,0,a),ai(_)&&(bi(n.index,t)[lr]=Rs(t,e,u,n))}}(e,t,n,ci(n,t)),64==(64&n.flags)&&Up(e,t,n))}function bd(e,t,n=ci){const r=t.localNames;if(null!==r){let i=t.index+1;for(let o=0;o<r.length;o+=2){const a=r[o+1],u=-1===a?n(t,e):e[a];e[i++]=u}}}function kp(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Ed(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Ed(e,t,n,r,i,o,a,u,_,S,L){const ae=dn+r,Te=ae+i,Be=function h0(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:xn);return n}(ae,Te),at="function"==typeof S?S():S;return Be[It]={type:e,blueprint:Be,template:n,queries:null,viewQuery:u,declTNode:t,data:Be.slice().fill(null,ae),bindingStartIndex:ae,expandoStartIndex:Te,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 a?a():a,firstChild:null,schemas:_,consts:at,incompleteFirstPass:!1,ssrId:L}}let Fp=e=>null;function Lp(e,t,n,r){for(let i in e)if(e.hasOwnProperty(i)){n=null===n?{}:n;const o=e[i];null===r?Bp(n,t,i,o):r.hasOwnProperty(i)&&Bp(n,t,r[i],o)}return n}function Bp(e,t,n,r){e.hasOwnProperty(n)?e[n].push(t,r):e[n]=[t,r]}function Ao(e,t,n,r,i,o,a,u){const _=ci(t,n);let L,S=t.inputs;!u&&null!=S&&(L=S[r])?(Td(e,n,L,r,i),fi(t)&&function D0(e,t){const n=bi(t,e);16&n[sn]||(n[sn]|=64)}(n,t.index)):3&t.type&&(r=function E0(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),i=null!=a?a(i,t.value||"",r):i,o.setProperty(_,r,i))}function Dd(e,t,n,r){if(ln()){const i=null===r?null:{"":-1},o=function M0(e,t){const n=e.directiveRegistry;let r=null,i=null;if(n)for(let o=0;o<n.length;o++){const a=n[o];if(Ai(t,a.selectors,!1))if(r||(r=[]),ai(a))if(null!==a.findHostDirectiveDefs){const u=[];i=i||new Map,a.findHostDirectiveDefs(a,u,i),r.unshift(...u,a),Cd(e,t,u.length)}else r.unshift(a),Cd(e,t,0);else i=i||new Map,a.findHostDirectiveDefs?.(a,r,i),r.push(a)}return null===r?null:[r,i]}(e,n);let a,u;null===o?a=u=null:[a,u]=o,null!==a&&jp(e,t,n,a,i,u),i&&function I0(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 G(-301,!1);r.push(t[i],o)}}}(n,r,i)}n.mergedAttrs=Or(n.mergedAttrs,n.attrs)}function jp(e,t,n,r,i,o){for(let S=0;S<r.length;S++)oa(ya(n,t),e,r[S].type);!function O0(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 L=r[S];L.providersResolver&&L.providersResolver(L)}let a=!1,u=!1,_=Sl(e,t,r.length,null);for(let S=0;S<r.length;S++){const L=r[S];n.mergedAttrs=Or(n.mergedAttrs,L.hostAttrs),P0(e,n,t,_,L),A0(_,L,i),null!==L.contentQueries&&(n.flags|=4),(null!==L.hostBindings||null!==L.hostAttrs||0!==L.hostVars)&&(n.flags|=64);const ae=L.type.prototype;!a&&(ae.ngOnChanges||ae.ngOnInit||ae.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),a=!0),!u&&(ae.ngOnChanges||ae.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),u=!0),_++}!function b0(e,t,n){const i=t.directiveEnd,o=e.data,a=t.attrs,u=[];let _=null,S=null;for(let L=t.directiveStart;L<i;L++){const ae=o[L],Te=n?n.get(ae):null,at=Te?Te.outputs:null;_=Lp(ae.inputs,L,_,Te?Te.inputs:null),S=Lp(ae.outputs,L,S,at);const Et=null===_||null===a||Rr(t)?null:k0(_,L,a);u.push(Et)}null!==_&&(_.hasOwnProperty("class")&&(t.flags|=8),_.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=u,t.inputs=_,t.outputs=S}(e,n,o)}function Up(e,t,n){const r=n.directiveStart,i=n.directiveEnd,o=n.index,a=function j(){return Fe.lFrame.currentDirectiveIndex}();try{is(o);for(let u=r;u<i;u++){const _=e.data[u],S=t[u];q(u),(null!==_.hostBindings||0!==_.hostVars||null!==_.hostAttrs)&&S0(_,S)}}finally{is(-1),q(a)}}function S0(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Cd(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function A0(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;ai(t)&&(n[""]=e)}}function P0(e,t,n,r,i){e.data[r]=i;const o=i.factory||(i.factory=ei(i.type)),a=new ra(o,ai(i),La);e.blueprint[r]=a,n[r]=a,function w0(e,t,n,r,i){const o=i.hostBindings;if(o){let a=e.hostBindingOpCodes;null===a&&(a=e.hostBindingOpCodes=[]);const u=~t.index;(function x0(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(a)!=u&&a.push(u),a.push(n,r,o)}}(e,t,r,Sl(e,n,i.hostVars,xn),i)}function ys(e,t,n,r,i,o){const a=ci(e,t);!function wd(e,t,n,r,i,o,a){if(null==o)e.removeAttribute(t,i,n);else{const u=null==a?ie(o):a(o,r||"",i);e.setAttribute(t,i,u,n)}}(t[Jt],a,o,e.value,n,r,i)}function N0(e,t,n,r,i,o){const a=o[t];if(null!==a)for(let u=0;u<a.length;)Hp(r,n,a[u++],a[u++],a[u++])}function Hp(e,t,n,r,i){const o=li(null);try{const a=e.inputTransforms;null!==a&&a.hasOwnProperty(r)&&(i=a[r].call(t,i)),null!==e.setInput?e.setInput(t,i,n,r):t[r]=i}finally{li(o)}}function k0(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 a=e[o];for(let u=0;u<a.length;u+=2)if(a[u]===t){r.push(o,a[u+1],n[i+1]);break}}i+=2}else i+=2;else i+=4}return r}function $p(e,t,n,r){return[e,!0,!1,t,null,0,r,n,null,null,null]}function Vp(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 a=e.data[o];tt(n[r]),a.contentQueries(2,t[o],o)}}}function Rc(e,t){return e[Ni]?e[Me][Nr]=t:e[Ni]=t,e[Me]=t,t}function xd(e,t,n){tt(0);const r=li(null);try{t(e,n)}finally{li(r)}}function zp(e){return e[Ri]||(e[Ri]=[])}function Gp(e){return e.cleanup||(e.cleanup=[])}function Wp(e,t,n){return(null===e||ai(e))&&(n=function Uo(e){for(;Array.isArray(e);){if("object"==typeof e[Ci])return e;e=e[ar]}return null}(n[t.index])),n[Jt]}function Kp(e,t){const n=e[Wr],r=n?n.get(Js,null):null;r&&r.handleError(t)}function Td(e,t,n,r,i){for(let o=0;o<n.length;){const a=n[o++],u=n[o++];Hp(e.data[a],t[a],r,u,i)}}function Bs(e,t,n){const r=ts(t,e);!function vh(e,t,n){e.setValue(t,n)}(e[Jt],r,n)}function F0(e,t){const n=bi(t,e),r=n[It];!function L0(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n);const i=n[ar];null!==i&&null===n[yn]&&(n[yn]=sd(i,n[Wr])),Sd(r,n,n[lr])}function Sd(e,t,n){Ur(t);try{const r=e.viewQuery;null!==r&&xd(1,r,n);const i=e.template;null!==i&&Np(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Vp(e,t),e.staticViewQueries&&xd(2,e.viewQuery,n);const o=e.components;null!==o&&function B0(e,t){for(let n=0;n<t.length;n++)F0(e,t[n])}(t,o)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[sn]&=-5,Ho()}}let Yp=(()=>{var e;class t{constructor(){this.all=new Set,this.queue=new Map}create(r,i,o){const a=typeof Zone>"u"?null:Zone.current,u=function de(e,t,n){const r=Object.create(_t);n&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;const i=a=>{r.cleanupFn=a};return r.ref={notify:()=>ti(r),run:()=>{if(r.dirty=!1,r.hasRun&&!Li(r))return;r.hasRun=!0;const a=Fi(r);try{r.cleanupFn(),r.cleanupFn=et,r.fn(i)}finally{to(r,a)}},cleanup:()=>r.cleanupFn()},r.ref}(r,L=>{this.all.has(L)&&this.queue.set(L,a)},o);let _;this.all.add(u),u.notify();const S=()=>{u.cleanup(),_?.(),this.all.delete(u),this.queue.delete(u)};return _=i?.onDestroy(S),{destroy:S}}flush(){if(0!==this.queue.size)for(const[r,i]of this.queue)this.queue.delete(r),i?i.run(()=>r.run()):r.run()}get isQueueEmpty(){return 0===this.queue.size}}return(e=t).\u0275prov=N({token:e,providedIn:"root",factory:()=>new e}),t})();function Nc(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,o=0;if(null!==t)for(let a=0;a<t.length;a++){const u=t[a];"number"==typeof u?o=u:1==o?i=Se(i,u):2==o&&(r=Se(r,u+": "+t[++a]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}function Ml(e,t,n,r,i=!1){for(;null!==n;){const o=t[n.index];null!==o&&r.push(Xn(o)),Fr(o)&&Zp(o,r);const a=n.type;if(8&a)Ml(e,t,n.child,r);else if(32&a){const u=Iu(n,t);let _;for(;_=u();)r.push(_)}else if(16&a){const u=Sh(t,n);if(Array.isArray(u))r.push(...u);else{const _=gl(t[Re]);Ml(_[It],_,u,r,!0)}}n=i?n.projectionNext:n.next}return r}function Zp(e,t){for(let n=En;n<e.length;n++){const r=e[n],i=r[It].firstChild;null!==i&&Ml(r[It],r,i,t)}e[tr]!==e[ar]&&t.push(e[tr])}function kc(e,t,n,r=!0){const i=t[Di],o=i.rendererFactory,a=i.afterRenderEventManager;o.begin?.(),a?.begin();try{Qp(e,t,e.template,n)}catch(_){throw r&&Kp(t,_),_}finally{o.end?.(),i.effectManager?.flush(),a?.end()}}function Qp(e,t,n,r){const i=t[sn];if(256!=(256&i)){t[Di].effectManager?.flush(),Ur(t);try{g(t),function Ki(e){return Fe.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&Np(e,t,n,2,r);const a=3==(3&i);if(a){const S=e.preOrderCheckHooks;null!==S&&ro(t,S,null)}else{const S=e.preOrderHooks;null!==S&&Ws(t,S,0,null),Yl(t,0)}if(function H0(e){for(let t=mh(e);null!==t;t=gh(t)){if(!t[Sr])continue;const n=t[si];for(let r=0;r<n.length;r++){A(n[r])}}}(t),Jp(t,2),null!==e.contentQueries&&Vp(e,t),a){const S=e.contentCheckHooks;null!==S&&ro(t,S)}else{const S=e.contentHooks;null!==S&&Ws(t,S,1),Yl(t,1)}!function f0(e,t){const n=e.hostBindingOpCodes;if(null===n)return;const r=Sp(t,Kr);try{for(let i=0;i<n.length;i++){const o=n[i];if(o<0)is(~o);else{const a=o,u=n[++i],_=n[++i];x(u,a),r.dirty=!1;const S=Fi(r);try{_(2,t[a])}finally{to(r,S)}}}}finally{null===t[Kr]&&Mp(t,Kr),is(-1)}}(e,t);const u=e.components;null!==u&&Xp(t,u,0);const _=e.viewQuery;if(null!==_&&xd(2,_,r),a){const S=e.viewCheckHooks;null!==S&&ro(t,S)}else{const S=e.viewHooks;null!==S&&Ws(t,S,2),Yl(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[sn]&=-73,K(t)}finally{Ho()}}}function Jp(e,t){for(let n=mh(e);null!==n;n=gh(n))for(let r=En;r<n.length;r++)qp(n[r],t)}function $0(e,t,n){qp(bi(t,e),n)}function qp(e,t){if(!function C(e){return 128==(128&e[sn])}(e))return;const n=e[It],r=e[sn];if(80&r&&0===t||1024&r||2===t)Qp(n,e,n.template,e[lr]);else if(e[ui]>0){Jp(e,1);const i=n.components;null!==i&&Xp(e,i,1)}}function Xp(e,t,n){for(let r=0;r<t.length;r++)$0(e,t[r],n)}class Il{get rootNodes(){const t=this._lView,n=t[It];return Ml(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[lr]}set context(t){this._lView[lr]=t}get destroyed(){return 256==(256&this._lView[sn])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[Gn];if(Fr(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(hc(t,r),ec(n,r))}this._attachedToViewContainer=!1}Ou(this._lView[It],this._lView)}onDestroy(t){!function Ee(e,t){if(256==(256&e[sn]))throw new G(911,!1);null===e[wn]&&(e[wn]=[]),e[wn].push(t)}(this._lView,t)}markForCheck(){Tl(this._cdRefInjectingView||this._lView)}detach(){this._lView[sn]&=-129}reattach(){this._lView[sn]|=128}detectChanges(){kc(this._lView[It],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new G(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Ty(e,t){vl(e,t,t[Jt],2,null,null)}(this._lView[It],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new G(902,!1);this._appRef=t}}class V0 extends Il{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;kc(t[It],t,t[lr],!1)}checkNoChanges(){}get context(){return null}}class em extends wl{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=un(t);return new Al(n,this.ngModule)}}function tm(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class G0{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=ne(r);const i=this.injector.get(t,cd,r);return i!==cd||n===cd?i:this.parentInjector.get(t,n,r)}}class Al extends rp{get inputs(){const t=this.componentDef,n=t.inputTransforms,r=tm(t.inputs);if(null!==n)for(const i of r)n.hasOwnProperty(i.propName)&&(i.transform=n[i.propName]);return r}get outputs(){return tm(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function Oi(e){return e.map(bo).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,i){let o=(i=i||this.ngModule)instanceof _s?i:i?.injector;o&&null!==this.componentDef.getStandaloneInjector&&(o=this.componentDef.getStandaloneInjector(o)||o);const a=o?new G0(t,o):t,u=a.get(op,null);if(null===u)throw new G(407,!1);const ae={rendererFactory:u,sanitizer:a.get(Hb,null),effectManager:a.get(Yp,null),afterRenderEventManager:a.get(gd,null)},Te=u.createRenderer(null,this.componentDef),Be=this.componentDef.selectors[0][0]||"div",at=r?function p0(e,t,n,r){const o=r.get(Cp,!1)||n===Ce.ShadowDom,a=e.selectRootElement(t,o);return function m0(e){Fp(e)}(a),a}(Te,r,this.componentDef.encapsulation,a):fc(Te,Be,function z0(e){const t=e.toLowerCase();return"svg"===t?xr:"math"===t?"math":null}(Be)),Qt=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let gt=null;null!==at&&(gt=sd(at,a,!0));const bn=Ed(0,null,null,1,0,null,null,null,null,null,null),jn=Pc(null,bn,null,Qt,null,null,ae,Te,a,null,gt);let Cr,vo;Ur(jn);try{const js=this.componentDef;let tl,jf=null;js.findHostDirectiveDefs?(tl=[],jf=new Map,js.findHostDirectiveDefs(js,tl,jf),tl.push(js)):tl=[js];const Zx=function K0(e,t){const n=e[It],r=dn;return e[r]=t,Ba(n,r,2,"#host",null)}(jn,at),Qx=function Y0(e,t,n,r,i,o,a){const u=i[It];!function Z0(e,t,n,r){for(const i of e)t.mergedAttrs=Or(t.mergedAttrs,i.hostAttrs);null!==t.mergedAttrs&&(Nc(t,t.mergedAttrs,!0),null!==n&&Oh(r,n,t))}(r,e,t,a);let _=null;null!==t&&(_=sd(t,i[Wr]));const S=o.rendererFactory.createRenderer(t,n);let L=16;n.signals?L=4096:n.onPush&&(L=64);const ae=Pc(i,kp(n),null,L,i[e.index],e,o,S,null,null,_);return u.firstCreatePass&&Cd(u,e,r.length-1),Rc(i,ae),i[e.index]=ae}(Zx,at,js,tl,jn,ae,Te);vo=zs(bn,dn),at&&function J0(e,t,n,r){if(r)Ln(e,n,["ng-version",ap.full]);else{const{attrs:i,classes:o}=function br(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(!yr(i))break;i=o}r++}return{attrs:t,classes:n}}(t.selectors[0]);i&&Ln(e,n,i),o&&o.length>0&&Ah(e,n,o.join(" "))}}(Te,js,at,r),void 0!==n&&function q0(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)}}(vo,this.ngContentSelectors,n),Cr=function Q0(e,t,n,r,i,o){const a=gr(),u=i[It],_=ci(a,i);jp(u,i,a,n,null,r);for(let L=0;L<n.length;L++)Zi(Rs(i,u,a.directiveStart+L,a),i);Up(u,i,a),_&&Zi(_,i);const S=Rs(i,u,a.directiveStart+a.componentOffset,a);if(e[lr]=i[lr]=S,null!==o)for(const L of o)L(S,t);return vd(u,a,e),S}(Qx,js,tl,jf,jn,[X0]),Sd(bn,jn,null)}finally{Ho()}return new W0(this.componentType,Cr,Na(vo,jn),jn,vo)}}class W0 extends Nb{constructor(t,n,r,i,o){super(),this.location=r,this._rootLView=i,this._tNode=o,this.previousInputValues=null,this.instance=n,this.hostView=this.changeDetectorRef=new V0(i),this.componentType=t}setInput(t,n){const r=this._tNode.inputs;let i;if(null!==r&&(i=r[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;const o=this._rootLView;Td(o[It],o,i,t,n),this.previousInputValues.set(t,n),Tl(bi(this._tNode.index,o))}}get injector(){return new Jr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function X0(){const e=gr();na(ct()[It],e)}function Md(e){let t=function nm(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let i;if(ai(e))i=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new G(903,!1);i=t.\u0275dir}if(i){if(n){r.push(i);const a=e;a.inputs=Fc(e.inputs),a.inputTransforms=Fc(e.inputTransforms),a.declaredInputs=Fc(e.declaredInputs),a.outputs=Fc(e.outputs);const u=i.hostBindings;u&&rE(e,u);const _=i.viewQuery,S=i.contentQueries;if(_&&tE(e,_),S&&nE(e,S),J(e.inputs,i.inputs),J(e.declaredInputs,i.declaredInputs),J(e.outputs,i.outputs),null!==i.inputTransforms&&(null===a.inputTransforms&&(a.inputTransforms={}),J(a.inputTransforms,i.inputTransforms)),ai(i)&&i.data.animation){const L=e.data;L.animation=(L.animation||[]).concat(i.data.animation)}}const o=i.features;if(o)for(let a=0;a<o.length;a++){const u=o[a];u&&u.ngInherit&&u(e),u===Md&&(n=!1)}}t=Object.getPrototypeOf(t)}!function eE(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=Or(i.hostAttrs,n=Or(n,i.hostAttrs))}}(r)}function Fc(e){return e===rt?{}:e===Xe?[]:e}function tE(e,t){const n=e.viewQuery;e.viewQuery=n?(r,i)=>{t(r,i),n(r,i)}:t}function nE(e,t){const n=e.contentQueries;e.contentQueries=n?(r,i,o)=>{t(r,i,o),n(r,i,o)}:t}function rE(e,t){const n=e.hostBindings;e.hostBindings=n?(r,i)=>{t(r,i),n(r,i)}:t}function sm(e){const t=e.inputConfig,n={};for(const r in t)if(t.hasOwnProperty(r)){const i=t[r];Array.isArray(i)&&i[2]&&(n[r]=i[2])}e.inputTransforms=n}function Lc(e){return!!Id(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Id(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function bs(e,t,n){return e[t]=n}function Ol(e,t){return e[t]}function Qi(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function fa(e,t,n,r){const i=Qi(e,t,n);return Qi(e,t+1,r)||i}function Vo(e,t,n,r,i,o){const a=fa(e,t,n,r);return fa(e,t+2,i,o)||a}function Ad(e,t,n,r){const i=ct();return Qi(i,d(),t)&&(an(),ys(Ir(),i,e,t,n,r)),Ad}function Ua(e,t,n,r){return Qi(e,d(),n)?t+ie(n)+r:xn}function Ha(e,t,n,r,i,o){const u=fa(e,function _r(){return Fe.lFrame.bindingIndex}(),n,i);return h(2),u?t+ie(n)+r+ie(i)+o:xn}function ym(e,t,n,r,i,o,a,u){const _=ct(),S=an(),L=e+dn,ae=S.firstCreatePass?function ME(e,t,n,r,i,o,a,u,_){const S=t.consts,L=Ba(t,e,4,a||null,c(S,u));Dd(t,n,L,c(S,_)),na(t,L);const ae=L.tView=Ed(2,L,r,i,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,S,null);return null!==t.queries&&(t.queries.template(t,L),ae.queries=t.queries.embeddedTView(L)),L}(L,S,_,t,n,r,i,o,a):S.data[L];ri(ae,!1);const Te=bm(S,_,ae,e);ta()&&mc(S,_,Te,ae),Zi(Te,_),Rc(_,_[L]=$p(Te,_,Te,ae)),Yr(ae)&&yd(S,_,ae),null!=a&&bd(_,ae,u)}let bm=function Em(e,t,n,r){return So(!0),t[Jt].createComment("")};function Dm(e){return ns(function Ht(){return Fe.lFrame.contextLView}(),dn+e)}function Fd(e,t,n){const r=ct();return Qi(r,d(),t)&&Ao(an(),Ir(),r,e,t,r[Jt],n,!1),Fd}function Ld(e,t,n,r,i){const a=i?"class":"style";Td(e,n,t.inputs[a],a,r)}function $c(e,t,n,r){const i=ct(),o=an(),a=dn+e,u=i[Jt],_=o.firstCreatePass?function PE(e,t,n,r,i,o){const a=t.consts,_=Ba(t,e,2,r,c(a,i));return Dd(t,n,_,c(a,o)),null!==_.attrs&&Nc(_,_.attrs,!1),null!==_.mergedAttrs&&Nc(_,_.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,_),_}(a,o,i,t,n,r):o.data[a],S=Cm(o,i,_,u,t,e);i[a]=S;const L=Yr(_);return ri(_,!0),Oh(u,S,_),32!=(32&_.flags)&&ta()&&mc(o,i,S,_),0===function Dn(){return Fe.lFrame.elementDepthCount}()&&Zi(S,i),function vn(){Fe.lFrame.elementDepthCount++}(),L&&(yd(o,i,_),vd(o,_,i)),null!==r&&bd(i,_),$c}function Vc(){let e=gr();jr()?ps():(e=e.parent,ri(e,!1));const t=e;(function Br(e){return Fe.skipHydrationRootTNode===e})(t)&&function po(){Fe.skipHydrationRootTNode=null}(),function Wt(){Fe.lFrame.elementDepthCount--}();const n=an();return n.firstCreatePass&&(na(n,e),ls(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function $f(e){return 0!=(8&e.flags)}(t)&&Ld(n,t,ct(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function Vf(e){return 0!=(16&e.flags)}(t)&&Ld(n,t,ct(),t.stylesWithoutHost,!1),Vc}function Bd(e,t,n,r){return $c(e,t,n,r),Vc(),Bd}let Cm=(e,t,n,r,i,o)=>(So(!0),fc(r,i,function To(){return Fe.lFrame.currentNamespace}()));function zc(e,t,n){const r=ct(),i=an(),o=e+dn,a=i.firstCreatePass?function kE(e,t,n,r,i){const o=t.consts,a=c(o,r),u=Ba(t,e,8,"ng-container",a);return null!==a&&Nc(u,a,!0),Dd(t,n,u,c(o,i)),null!==t.queries&&t.queries.elementStart(t,u),u}(o,i,r,t,n):i.data[o];ri(a,!0);const u=wm(i,r,a,e);return r[o]=u,ta()&&mc(i,r,u,a),Zi(u,r),Yr(a)&&(yd(i,r,a),vd(i,a,r)),null!=n&&bd(r,a),zc}function Gc(){let e=gr();const t=an();return jr()?ps():(e=e.parent,ri(e,!1)),t.firstCreatePass&&(na(t,e),ls(e)&&t.queries.elementEnd(e)),Gc}function jd(e,t,n){return zc(e,t,n),Gc(),jd}let wm=(e,t,n,r)=>(So(!0),Au(t[Jt],""));function xm(){return ct()}function Ud(e){return!!e&&"function"==typeof e.then}function Tm(e){return!!e&&"function"==typeof e.subscribe}function Hd(e,t,n,r){const i=ct(),o=an(),a=gr();return Sm(o,i,i[Jt],a,e,t,r),Hd}function $d(e,t){const n=gr(),r=ct(),i=an();return Sm(i,r,Wp(Ne(i.data),n,r),n,e,t),$d}function Sm(e,t,n,r,i,o,a){const u=Yr(r),S=e.firstCreatePass&&Gp(e),L=t[lr],ae=zp(t);let Te=!0;if(3&r.type||a){const Et=ci(r,t),kt=a?a(Et):Et,Qt=ae.length,gt=a?jn=>a(Xn(jn[r.index])):r.index;let bn=null;if(!a&&u&&(bn=function BE(e,t,n,r){const i=e.cleanup;if(null!=i)for(let o=0;o<i.length-1;o+=2){const a=i[o];if(a===n&&i[o+1]===r){const u=t[Ri],_=i[o+2];return u.length>_?u[_]:null}"string"==typeof a&&(o+=2)}return null}(e,t,i,r.index)),null!==bn)(bn.__ngLastListenerFn__||bn).__ngNextListenerFn__=o,bn.__ngLastListenerFn__=o,Te=!1;else{o=Im(r,t,L,o,!1);const jn=n.listen(kt,i,o);ae.push(o,jn),S&&S.push(i,gt,Qt,Qt+1)}}else o=Im(r,t,L,o,!1);const Be=r.outputs;let at;if(Te&&null!==Be&&(at=Be[i])){const Et=at.length;if(Et)for(let kt=0;kt<Et;kt+=2){const Cr=t[at[kt]][at[kt+1]].subscribe(o),vo=ae.length;ae.push(o,Cr),S&&S.push(i,r.index,vo,-(vo+1))}}}function Mm(e,t,n,r){try{return Lr(6,t,n),!1!==n(r)}catch(i){return Kp(e,i),!1}finally{Lr(7,t,n)}}function Im(e,t,n,r,i){return function o(a){if(a===Function)return r;Tl(e.componentOffset>-1?bi(e.index,t):t);let _=Mm(t,n,r,a),S=o.__ngNextListenerFn__;for(;S;)_=Mm(t,n,S,a)&&_,S=S.__ngNextListenerFn__;return i&&!1===_&&a.preventDefault(),_}}function Am(e=1){return function nl(e){return(Fe.lFrame.contextLView=function rl(e,t){for(;e>0;)t=t[be],e--;return t}(e,Fe.lFrame.contextLView))[lr]}(e)}function jE(e,t){let n=null;const r=function ji(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?Ai(e,o,!0):Oo(r,o))return i}else n=i}return n}function Om(e){const t=ct()[Re][hr];if(!t.projection){const r=t.projection=hl(e?e.length:1,null),i=r.slice();let o=t.child;for(;null!==o;){const a=e?jE(o,e):0;null!==a&&(i[a]?i[a].projectionNext=o:r[a]=o,i[a]=o),o=o.next}}}function Pm(e,t=0,n){const r=ct(),i=an(),o=Ba(i,dn+e,16,null,n||null);null===o.projection&&(o.projection=t),ps(),(!r[yn]||Kn())&&32!=(32&o.flags)&&function Ny(e,t,n){Ih(t[Jt],0,t,n,Ru(e,n,t),Ch(n.parent||t[hr],n,t))}(i,r,o)}function Vd(e,t,n){return zd(e,"",t,"",n),Vd}function zd(e,t,n,r,i){const o=ct(),a=Ua(o,t,n,r);return a!==xn&&Ao(an(),Ir(),o,e,a,o[Jt],i,!1),zd}function Gd(e,t,n,r,i,o,a){const u=ct(),_=Ha(u,t,n,r,i,o);return _!==xn&&Ao(an(),Ir(),u,e,_,u[Jt],a,!1),Gd}function Wc(e,t){return e<<17|t<<2}function qs(e){return e>>17&32767}function Wd(e){return 2|e}function ha(e){return(131068&e)>>2}function Kd(e,t){return-131069&e|t<<2}function Yd(e){return 1|e}function Um(e,t,n,r,i){const o=e[n+1],a=null===t;let u=r?qs(o):ha(o),_=!1;for(;0!==u&&(!1===_||a);){const L=e[u+1];GE(e[u],t)&&(_=!0,e[u+1]=r?Yd(L):Wd(L)),u=r?qs(L):ha(L)}_&&(e[n+1]=r?Wd(o):Yd(o))}function GE(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&wa(e,t)>=0}const Ei={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Hm(e){return e.substring(Ei.key,Ei.keyEnd)}function $m(e,t){const n=Ei.textEnd;return n===t?-1:(t=Ei.keyEnd=function ZE(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Ei.key=t,n),Ya(e,t,n))}function Ya(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Zd(e,t,n){return ss(e,t,n,!1),Zd}function Qd(e,t){return ss(e,t,null,!0),Qd}function Km(e){as(iD,Ds,e,!0)}function Ds(e,t){for(let n=function KE(e){return function zm(e){Ei.key=0,Ei.keyEnd=0,Ei.value=0,Ei.valueEnd=0,Ei.textEnd=e.length}(e),$m(e,Ya(e,0,Ei.textEnd))}(t);n>=0;n=$m(t,n))Io(e,Hm(t),!0)}function ss(e,t,n,r){const i=ct(),o=an(),a=h(2);o.firstUpdatePass&&Zm(o,e,a,r),t!==xn&&Qi(i,a,t)&&Jm(o,o.data[Bi()],i,i[Jt],e,i[a+1]=function sD(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=fe(ks(e)))),e}(t,n),r,a)}function as(e,t,n,r){const i=an(),o=h(2);i.firstUpdatePass&&Zm(i,null,o,r);const a=ct();if(n!==xn&&Qi(a,o,n)){const u=i.data[Bi()];if(Xm(u,r)&&!Ym(i,o)){let _=r?u.classesWithoutHost:u.stylesWithoutHost;null!==_&&(n=Se(_,n||"")),Ld(i,u,a,n,r)}else!function oD(e,t,n,r,i,o,a,u){i===xn&&(i=Xe);let _=0,S=0,L=0<i.length?i[0]:null,ae=0<o.length?o[0]:null;for(;null!==L||null!==ae;){const Te=_<i.length?i[_+1]:void 0,Be=S<o.length?o[S+1]:void 0;let Et,at=null;L===ae?(_+=2,S+=2,Te!==Be&&(at=ae,Et=Be)):null===ae||null!==L&&L<ae?(_+=2,at=L):(S+=2,at=ae,Et=Be),null!==at&&Jm(e,t,n,r,at,Et,a,u),L=_<i.length?i[_]:null,ae=S<o.length?o[S]:null}}(i,u,a,a[Jt],a[o+1],a[o+1]=function rD(e,t,n){if(null==n||""===n)return Xe;const r=[],i=ks(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 Ym(e,t){return t>=e.expandoStartIndex}function Zm(e,t,n,r){const i=e.data;if(null===i[n+1]){const o=i[Bi()],a=Ym(e,n);Xm(o,r)&&null===t&&!a&&(t=!1),t=function XE(e,t,n,r){const i=Ne(e);let o=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(n=kl(n=Jd(null,e,t,n,r),t.attrs,r),o=null);else{const a=t.directiveStylingLast;if(-1===a||e[a]!==i)if(n=Jd(i,e,t,n,r),null===o){let _=function eD(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==ha(r))return e[qs(r)]}(e,t,r);void 0!==_&&Array.isArray(_)&&(_=Jd(null,e,t,_[1],r),_=kl(_,t.attrs,r),function tD(e,t,n,r){e[qs(n?t.classBindings:t.styleBindings)]=r}(e,t,r,_))}else o=function nD(e,t,n){let r;const i=t.directiveEnd;for(let o=1+t.directiveStylingLast;o<i;o++)r=kl(r,e[o].hostAttrs,n);return kl(r,t.attrs,n)}(e,t,r)}return void 0!==o&&(r?t.residualClasses=o:t.residualStyles=o),n}(i,o,t,r),function VE(e,t,n,r,i,o){let a=o?t.classBindings:t.styleBindings,u=qs(a),_=ha(a);e[r]=n;let L,S=!1;if(Array.isArray(n)?(L=n[1],(null===L||wa(n,L)>0)&&(S=!0)):L=n,i)if(0!==_){const Te=qs(e[u+1]);e[r+1]=Wc(Te,u),0!==Te&&(e[Te+1]=Kd(e[Te+1],r)),e[u+1]=function HE(e,t){return 131071&e|t<<17}(e[u+1],r)}else e[r+1]=Wc(u,0),0!==u&&(e[u+1]=Kd(e[u+1],r)),u=r;else e[r+1]=Wc(_,0),0===u?u=r:e[_+1]=Kd(e[_+1],r),_=r;S&&(e[r+1]=Wd(e[r+1])),Um(e,L,r,!0),Um(e,L,r,!1),function zE(e,t,n,r,i){const o=i?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof t&&wa(o,t)>=0&&(n[r+1]=Yd(n[r+1]))}(t,L,e,r,o),a=Wc(u,_),o?t.classBindings=a:t.styleBindings=a}(i,o,t,n,a,r)}}function Jd(e,t,n,r,i){let o=null;const a=n.directiveEnd;let u=n.directiveStylingLast;for(-1===u?u=n.directiveStart:u++;u<a&&(o=t[u],r=kl(r,o.hostAttrs,i),o!==e);)u++;return null!==e&&(n.directiveStylingLast=u),r}function kl(e,t,n){const r=n?1:2;let i=-1;if(null!==t)for(let o=0;o<t.length;o++){const a=t[o];"number"==typeof a?i=a:i===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Io(e,a,!!n||t[++o]))}return void 0===e?null:e}function iD(e,t,n){const r=String(t);""!==r&&!r.includes(" ")&&Io(e,r,n)}function Jm(e,t,n,r,i,o,a,u){if(!(3&t.type))return;const _=e.data,S=_[u+1],L=function $E(e){return 1==(1&e)}(S)?qm(_,t,n,i,ha(S),a):void 0;Kc(L)||(Kc(o)||function UE(e){return 2==(2&e)}(S)&&(o=qm(_,null,n,i,u,a)),function Fy(e,t,n,r,i){if(t)i?e.addClass(n,r):e.removeClass(n,r);else{let o=-1===r.indexOf("-")?void 0:uc.DashCase;null==i?e.removeStyle(n,r,o):("string"==typeof i&&i.endsWith("!important")&&(i=i.slice(0,-10),o|=uc.Important),e.setStyle(n,r,i,o))}}(r,a,ts(Bi(),n),i,o))}function qm(e,t,n,r,i,o){const a=null===t;let u;for(;i>0;){const _=e[i],S=Array.isArray(_),L=S?_[1]:_,ae=null===L;let Te=n[i+1];Te===xn&&(Te=ae?Xe:void 0);let Be=ae?bu(Te,r):L===r?Te:void 0;if(S&&!Kc(Be)&&(Be=bu(_,r)),Kc(Be)&&(u=Be,a))return u;const at=e[i+1];i=a?qs(at):ha(at)}if(null!==t){let _=o?t.residualClasses:t.residualStyles;null!=_&&(u=bu(_,r))}return u}function Kc(e){return void 0!==e}function Xm(e,t){return 0!=(e.flags&(t?8:16))}function eg(e,t=""){const n=ct(),r=an(),i=e+dn,o=r.firstCreatePass?Ba(r,i,1,t,null):r.data[i],a=tg(r,n,o,t,e);n[i]=a,ta()&&mc(r,n,a,o),ri(o,!1)}let tg=(e,t,n,r,i)=>(So(!0),function dc(e,t){return e.createText(t)}(t[Jt],r));function qd(e){return Yc("",e,""),qd}function Yc(e,t,n){const r=ct(),i=Ua(r,e,t,n);return i!==xn&&Bs(r,Bi(),i),Yc}function Xd(e,t,n,r,i){const o=ct(),a=Ha(o,e,t,n,r,i);return a!==xn&&Bs(o,Bi(),a),Xd}function cg(e,t,n){as(Io,Ds,Ua(ct(),e,t,n),!0)}function ef(e,t,n){const r=ct();return Qi(r,d(),t)&&Ao(an(),Ir(),r,e,t,r[Jt],n,!0),ef}function tf(e,t,n){const r=ct();if(Qi(r,d(),t)){const o=an(),a=Ir();Ao(o,a,r,e,t,Wp(Ne(o.data),a,r),n,!0)}return tf}const pa=void 0;var SD=["en",[["a","p"],["AM","PM"],pa],[["AM","PM"],pa,pa],[["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"]],pa,[["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"]],pa,[["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}",pa,"{1} 'at' {0}",pa],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function TD(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let Za={};function nf(e){const t=function MD(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=bg(t);if(n)return n;const r=t.split("-")[0];if(n=bg(r),n)return n;if("en"===r)return SD;throw new G(701,!1)}function yg(e){return nf(e)[Qa.PluralCase]}function bg(e){return e in Za||(Za[e]=cn.ng&&cn.ng.common&&cn.ng.common.locales&&cn.ng.common.locales[e]),Za[e]}var Qa=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(Qa||{});const Ja="en-US";let Eg=Ja;function af(e,t,n,r,i){if(e=we(e),Array.isArray(e))for(let o=0;o<e.length;o++)af(e[o],t,n,r,i);else{const o=an(),a=ct(),u=gr();let _=da(e)?e:we(e.provide);const S=Jh(e),L=1048575&u.providerIndexes,ae=u.directiveStart,Te=u.providerIndexes>>20;if(da(e)||!e.multi){const Be=new ra(S,i,La),at=cf(_,t,i?L:L+Te,ae);-1===at?(oa(ya(u,a),o,_),lf(o,e,t.length),t.push(_),u.directiveStart++,u.directiveEnd++,i&&(u.providerIndexes+=1048576),n.push(Be),a.push(Be)):(n[at]=Be,a[at]=Be)}else{const Be=cf(_,t,L+Te,ae),at=cf(_,t,L,L+Te),kt=at>=0&&n[at];if(i&&!kt||!i&&!(Be>=0&&n[Be])){oa(ya(u,a),o,_);const Qt=function TC(e,t,n,r,i){const o=new ra(e,n,La);return o.multi=[],o.index=t,o.componentProviders=0,Wg(o,i,r&&!n),o}(i?xC:wC,n.length,i,r,S);!i&&kt&&(n[at].providerFactory=Qt),lf(o,e,t.length,0),t.push(_),u.directiveStart++,u.directiveEnd++,i&&(u.providerIndexes+=1048576),n.push(Qt),a.push(Qt)}else lf(o,e,Be>-1?Be:at,Wg(n[i?at:Be],S,!i&&r));!i&&r&&kt&&n[at].componentProviders++}}}function lf(e,t,n,r){const i=da(t),o=function mb(e){return!!e.useClass}(t);if(i||o){const _=(o?we(t.useClass):t).prototype.ngOnDestroy;if(_){const S=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){const L=S.indexOf(n);-1===L?S.push(n,[r,_]):S[L+1].push(r,_)}else S.push(n,_)}}}function Wg(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function cf(e,t,n,r){for(let i=n;i<r;i++)if(t[i]===e)return i;return-1}function wC(e,t,n,r){return uf(this.multi,[])}function xC(e,t,n,r){const i=this.multi;let o;if(this.providerFactory){const a=this.providerFactory.componentProviders,u=Rs(n,n[It],this.providerFactory.index,r);o=u.slice(0,a),uf(i,o);for(let _=a;_<u.length;_++)o.push(u[_])}else o=[],uf(i,o);return o}function uf(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function Kg(e,t=[]){return n=>{n.providersResolver=(r,i)=>function CC(e,t,n){const r=an();if(r.firstCreatePass){const i=ai(e);af(n,r.data,r.blueprint,i,!0),af(t,r.data,r.blueprint,i,!1)}}(r,i?i(e):e,t)}}class ma{}class Yg{}function SC(e,t){return new df(e,t??null,[])}class df extends ma{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new em(this);const i=Gr(t);this._bootstrapComponents=Ls(i.bootstrap),this._r3Injector=fp(t,n,[{provide:ma,useValue:this},{provide:wl,useValue:this.componentFactoryResolver},...r],fe(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 ff extends Yg{constructor(t){super(),this.moduleType=t}create(t){return new df(this.moduleType,t,[])}}class Zg extends ma{constructor(t){super(),this.componentFactoryResolver=new em(this),this.instance=null;const n=new wc([...t.providers,{provide:ma,useValue:this},{provide:wl,useValue:this.componentFactoryResolver}],t.parent||Cc(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Qg(e,t,n=null){return new Zg({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}let IC=(()=>{var e;class t{constructor(r){this._injector=r,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(r){if(!r.standalone)return null;if(!this.cachedInjectors.has(r)){const i=Kh(0,r.type),o=i.length>0?Qg([i],this._injector,`Standalone[${r.type.name}]`):null;this.cachedInjectors.set(r,o)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(const r of this.cachedInjectors.values())null!==r&&r.destroy()}finally{this.cachedInjectors.clear()}}}return(e=t).\u0275prov=N({token:e,providedIn:"environment",factory:()=>new e(P(_s))}),t})();function Jg(e){e.getStandaloneInjector=t=>t.get(IC).getOrCreateStandaloneInjector(e)}function i_(e,t,n){const r=fn()+e,i=ct();return i[r]===xn?bs(i,r,n?t.call(n):t()):Ol(i,r)}function o_(e,t,n,r){return u_(ct(),fn(),e,t,n,r)}function s_(e,t,n,r,i){return d_(ct(),fn(),e,t,n,r,i)}function a_(e,t,n,r,i,o){return function f_(e,t,n,r,i,o,a,u){const _=t+n;return function Bc(e,t,n,r,i){const o=fa(e,t,n,r);return Qi(e,t+2,i)||o}(e,_,i,o,a)?bs(e,_+3,u?r.call(u,i,o,a):r(i,o,a)):Hl(e,_+3)}(ct(),fn(),e,t,n,r,i,o)}function l_(e,t,n,r,i,o,a){return function h_(e,t,n,r,i,o,a,u,_){const S=t+n;return Vo(e,S,i,o,a,u)?bs(e,S+4,_?r.call(_,i,o,a,u):r(i,o,a,u)):Hl(e,S+4)}(ct(),fn(),e,t,n,r,i,o,a)}function c_(e,t,n,r,i,o,a,u){const _=fn()+e,S=ct(),L=Vo(S,_,n,r,i,o);return Qi(S,_+4,a)||L?bs(S,_+5,u?t.call(u,n,r,i,o,a):t(n,r,i,o,a)):Ol(S,_+5)}function Hl(e,t){const n=e[t];return n===xn?void 0:n}function u_(e,t,n,r,i,o){const a=t+n;return Qi(e,a,i)?bs(e,a+1,o?r.call(o,i):r(i)):Hl(e,a+1)}function d_(e,t,n,r,i,o,a){const u=t+n;return fa(e,u,i,o)?bs(e,u+2,a?r.call(a,i,o):r(i,o)):Hl(e,u+2)}function m_(e,t){const n=an();let r;const i=e+dn;n.firstCreatePass?(r=function $C(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??=[]).push(i,r.onDestroy)):r=n.data[i];const o=r.factory||(r.factory=ei(r.type)),u=rn(La);try{const _=va(!1),S=o();return va(_),function OE(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,ct(),i,S),S}finally{rn(u)}}function g_(e,t,n){const r=e+dn,i=ct(),o=ns(i,r);return $l(i,r)?u_(i,fn(),t,o.transform,n,o):o.transform(n)}function __(e,t,n,r){const i=e+dn,o=ct(),a=ns(o,i);return $l(o,i)?d_(o,fn(),t,a.transform,n,r,a):a.transform(n,r)}function $l(e,t){return e[It].data[t].pure}function WC(){return this._results[Symbol.iterator]()}class Xc{get changes(){return this._changes||(this._changes=new vs)}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=Xc.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=WC)}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 hi(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function Mo(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()}}function YC(e,t,n,r=!0){const i=t[It];if(function My(e,t,n,r){const i=En+r,o=n.length;r>0&&(n[i-1][Nr]=t),r<o-En?(t[Nr]=n[i],Yf(n,En+r,t)):(n.push(t),t[Nr]=null),t[Gn]=n;const a=t[ot];null!==a&&n!==a&&function Iy(e,t){const n=e[si];t[Re]!==t[Gn][Gn][Re]&&(e[Sr]=!0),null===n?e[si]=[t]:n.push(t)}(a,t);const u=t[Tt];null!==u&&u.insertView(e),t[sn]|=128}(i,t,e,n),r){const o=ku(n,e),a=t[Jt],u=pc(a,e[tr]);null!==u&&function xy(e,t,n,r,i,o){r[ar]=i,r[hr]=t,vl(e,r,n,1,i,o)}(i,e[hr],a,t,u,o)}}let Vl=(()=>{class t{}return t.__NG_ELEMENT_ID__=JC,t})();const ZC=Vl,QC=class extends ZC{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){const i=function KC(e,t,n,r){const i=t.tView,u=Pc(e,i,n,4096&e[sn]?4096:16,null,t,null,null,null,r?.injector??null,r?.hydrationInfo??null);u[ot]=e[t.index];const S=e[Tt];return null!==S&&(u[Tt]=S.createEmbeddedView(i)),Sd(i,u,n),u}(this._declarationLView,this._declarationTContainer,t,{injector:n,hydrationInfo:r});return new Il(i)}};function JC(){return eu(gr(),ct())}function eu(e,t){return 4&e.type?new QC(t,e,Na(e,t)):null}let nu=(()=>{class t{}return t.__NG_ELEMENT_ID__=rw,t})();function rw(){return w_(gr(),ct())}const iw=nu,D_=class extends iw{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Na(this._hostTNode,this._hostLView)}get injector(){return new Jr(this._hostTNode,this._hostLView)}get parentInjector(){const t=Zs(this._hostTNode,this._hostLView);if(_a(t)){const n=ia(t,this._hostLView),r=Ys(t);return new Jr(n[It].data[r+8],n)}return new Jr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=C_(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-En}createEmbeddedView(t,n,r){let i,o;"number"==typeof r?i=r:null!=r&&(i=r.index,o=r.injector);const u=t.createEmbeddedViewImpl(n||{},o,null);return this.insertImpl(u,i,false),u}createComponent(t,n,r,i,o){const a=t&&!function mn(e){return"function"==typeof e}(t);let u;if(a)u=n;else{const Et=n||{};u=Et.index,r=Et.injector,i=Et.projectableNodes,o=Et.environmentInjector||Et.ngModuleRef}const _=a?t:new Al(un(t)),S=r||this.parentInjector;if(!o&&null==_.ngModule){const kt=(a?S:this.parentInjector).get(_s,null);kt&&(o=kt)}un(_.componentType??{});const Be=_.create(S,i,null,o);return this.insertImpl(Be.hostView,u,false),Be}insert(t,n){return this.insertImpl(t,n,!1)}insertImpl(t,n,r){const i=t._lView;if(function l(e){return Fr(e[Gn])}(i)){const _=this.indexOf(t);if(-1!==_)this.detach(_);else{const S=i[Gn],L=new D_(S,S[hr],S[Gn]);L.detach(L.indexOf(t))}}const a=this._adjustIndex(n),u=this._lContainer;return YC(u,i,a,!r),t.attachToViewContainerRef(),Yf(pf(u),a,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=C_(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=hc(this._lContainer,n);r&&(ec(pf(this._lContainer),n),Ou(r[It],r))}detach(t){const n=this._adjustIndex(t,-1),r=hc(this._lContainer,n);return r&&null!=ec(pf(this._lContainer),n)?new Il(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function C_(e){return e[8]}function pf(e){return e[8]||(e[8]=[])}function w_(e,t){let n;const r=t[e.index];return Fr(r)?n=r:(n=$p(r,t,null,e),t[e.index]=n,Rc(t,n)),x_(n,t,e,r),new D_(n,e,t)}let x_=function T_(e,t,n,r){if(e[tr])return;let i;i=8&n.type?Xn(r):function ow(e,t){const n=e[Jt],r=n.createComment(""),i=ci(t,e);return la(n,pc(n,i),r,function Ry(e,t){return e.nextSibling(t)}(n,i),!1),r}(t,n),e[tr]=i};class mf{constructor(t){this.queryList=t,this.matches=null}clone(){return new mf(this.queryList)}setDirty(){this.queryList.setDirty()}}class gf{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 a=n.getByIndex(o);i.push(this.queries[a.indexInDeclarationView].clone())}return new gf(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!==k_(t,n).matches&&this.queries[n].setDirty()}}class S_{constructor(t,n,r=null){this.predicate=t,this.flags=n,this.read=r}}class _f{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 _f(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 vf{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 vf(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,lw(n,o)),this.matchTNodeWithReadOption(t,n,cl(n,t,o,!1,!1))}else r===Vl?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,cl(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const i=this.metadata.read;if(null!==i)if(i===xl||i===nu||i===Vl&&4&n.type)this.addMatch(n.index,-2);else{const o=cl(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 lw(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 uw(e,t,n,r){return-1===n?function cw(e,t){return 11&e.type?Na(e,t):4&e.type?eu(e,t):null}(t,e):-2===n?function dw(e,t,n){return n===xl?Na(t,e):n===Vl?eu(t,e):n===nu?w_(t,e):void 0}(e,t,r):Rs(e,e[It],n,t)}function M_(e,t,n,r){const i=t[Tt].queries[r];if(null===i.matches){const o=e.data,a=n.matches,u=[];for(let _=0;_<a.length;_+=2){const S=a[_];u.push(S<0?null:uw(t,o[S],a[_+1],n.metadata.read))}i.matches=u}return i.matches}function yf(e,t,n,r){const i=e.queries.getByIndex(n),o=i.matches;if(null!==o){const a=M_(e,t,i,n);for(let u=0;u<o.length;u+=2){const _=o[u];if(_>0)r.push(a[u/2]);else{const S=o[u+1],L=t[-_];for(let ae=En;ae<L.length;ae++){const Te=L[ae];Te[ot]===Te[Gn]&&yf(Te[It],Te,S,r)}if(null!==L[si]){const ae=L[si];for(let Te=0;Te<ae.length;Te++){const Be=ae[Te];yf(Be[It],Be,S,r)}}}}}return r}function I_(e){const t=ct(),n=an(),r=bt();tt(r+1);const i=k_(n,r);if(e.dirty&&function Ps(e){return 4==(4&e[sn])}(t)===(2==(2&i.metadata.flags))){if(null===i.matches)e.reset([]);else{const o=i.crossesNgTemplate?yf(n,t,r,[]):M_(n,t,i,r);e.reset(o,Bb),e.notifyOnChanges()}return!0}return!1}function A_(e,t,n){const r=an();r.firstCreatePass&&(N_(r,new S_(e,t,n),-1),2==(2&t)&&(r.staticViewQueries=!0)),R_(r,ct(),t)}function O_(e,t,n,r){const i=an();if(i.firstCreatePass){const o=gr();N_(i,new S_(t,n,r),o.index),function hw(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)}R_(i,ct(),n)}function P_(){return function fw(e,t){return e[Tt].queries[t].queryList}(ct(),bt())}function R_(e,t,n){const r=new Xc(4==(4&n));(function v0(e,t,n,r){const i=zp(t);i.push(n),e.firstCreatePass&&Gp(e).push(r,i.length-1)})(e,t,r,r.destroy),null===t[Tt]&&(t[Tt]=new gf),t[Tt].queries.push(new mf(r))}function N_(e,t,n){null===e.queries&&(e.queries=new _f),e.queries.track(new vf(t,n))}function k_(e,t){return e.queries.getByIndex(t)}function F_(e,t){return eu(e,t)}function bf(e){return!!Gr(e)}const X_=new vr("Application Initializer");let xf=(()=>{var e;class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,i)=>{this.resolve=r,this.reject=i}),this.appInits=me(X_,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const r=[];for(const o of this.appInits){const a=o();if(Ud(a))r.push(a);else if(Tm(a)){const u=new Promise((_,S)=>{a.subscribe({complete:_,error:S})});r.push(u)}}const i=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{i()}).catch(o=>{this.reject(o)}),0===r.length&&i(),this.initialized=!0}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"}),t})(),ev=(()=>{var e;class t{log(r){console.log(r)}warn(r){console.warn(r)}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})();const iu=new vr("LocaleId",{providedIn:"root",factory:()=>me(iu,Nt.Optional|Nt.SkipSelf)||function Nw(){return typeof $localize<"u"&&$localize.locale||Ja}()}),kw=new vr("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});let tv=(()=>{var e;class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new I.X(!1)}add(){this.hasPendingTasks.next(!0);const r=this.taskId++;return this.pendingTasks.add(r),r}remove(r){this.pendingTasks.delete(r),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();class Lw{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let Bw=(()=>{var e;class t{compileModuleSync(r){return new ff(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){const i=this.compileModuleSync(r),a=Ls(Gr(r).declarations).reduce((u,_)=>{const S=un(_);return S&&u.push(new Al(S)),u},[]);return new Lw(i,a)}compileModuleAndAllComponentsAsync(r){return Promise.resolve(this.compileModuleAndAllComponentsSync(r))}clearCache(){}clearCacheFor(r){}getModuleId(r){}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();const ov=new vr(""),sv=new vr("");let Mf,ix=(()=>{var e;class t{constructor(r,i,o){this._ngZone=r,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Mf||(function ox(e){Mf=e}(o),o.addToWindow(i)),this._watchAngularEvents(),r.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:()=>{Ii.assertNotInAngularZone(),queueMicrotask(()=>{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())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let r=this._callbacks.pop();clearTimeout(r.timeoutId),r.doneCb(this._didWork)}this._didWork=!1});else{let r=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(r)||(clearTimeout(i.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(r=>({source:r.source,creationLocation:r.creationLocation,data:r.data})):[]}addCallback(r,i,o){let a=-1;i&&i>0&&(a=setTimeout(()=>{this._callbacks=this._callbacks.filter(u=>u.timeoutId!==a),r(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:r,timeoutId:a,updateCb:o})}whenStable(r,i,o){if(o&&!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(r,i,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(r){this.registry.registerApplication(r,this)}unregisterApplication(r){this.registry.unregisterApplication(r)}findProviders(r,i,o){return[]}}return(e=t).\u0275fac=function(r){return new(r||e)(P(Ii),P(av),P(sv))},e.\u0275prov=N({token:e,factory:e.\u0275fac}),t})(),av=(()=>{var e;class t{constructor(){this._applications=new Map}registerApplication(r,i){this._applications.set(r,i)}unregisterApplication(r){this._applications.delete(r)}unregisterAllApplications(){this._applications.clear()}getTestability(r){return this._applications.get(r)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(r,i=!0){return Mf?.findTestabilityInTree(this,r,i)??null}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})(),Xs=null;const lv=new vr("AllowMultipleToken"),If=new vr("PlatformDestroyListeners"),Af=new vr("appBootstrapListener");class lx{constructor(t,n){this.name=t,this.token=n}}function dv(e,t,n=[]){const r=`Platform: ${t}`,i=new vr(r);return(o=[])=>{let a=Of();if(!a||a.injector.get(lv,!1)){const u=[...n,...o,{provide:i,useValue:!0}];e?e(u):function cx(e){if(Xs&&!Xs.get(lv,!1))throw new G(400,!1);(function cv(){!function Co(e){qo=e}(()=>{throw new G(600,!1)})})(),Xs=e;const t=e.get(hv);(function uv(e){e.get(Xh,null)?.forEach(n=>n())})(e)}(function fv(e=[],t){return os.create({name:t,providers:[{provide:Yu,useValue:"platform"},{provide:If,useValue:new Set([()=>Xs=null])},...e]})}(u,r))}return function dx(e){const t=Of();if(!t)throw new G(401,!1);return t}()}}function Of(){return Xs?.get(hv)??null}let hv=(()=>{var e;class t{constructor(r){this._injector=r,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(r,i){const o=function fx(e="zone.js",t){return"noop"===e?new Xb:"zone.js"===e?new Ii(t):e}(i?.ngZone,function pv(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:i?.ngZoneEventCoalescing,runCoalescing:i?.ngZoneRunCoalescing}));return o.run(()=>{const a=function MC(e,t,n){return new df(e,t,n)}(r.moduleType,this.injector,function yv(e){return[{provide:Ii,useFactory:e},{provide:El,multi:!0,useFactory:()=>{const t=me(px,{optional:!0});return()=>t.initialize()}},{provide:vv,useFactory:hx},{provide:_p,useFactory:vp}]}(()=>o)),u=a.injector.get(Js,null);return o.runOutsideAngular(()=>{const _=o.onError.subscribe({next:S=>{u.handleError(S)}});a.onDestroy(()=>{su(this._modules,a),_.unsubscribe()})}),function mv(e,t,n){try{const r=n();return Ud(r)?r.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(u,o,()=>{const _=a.injector.get(xf);return _.runInitializers(),_.donePromise.then(()=>(function Dg(e){At(e,"Expected localeId to be defined"),"string"==typeof e&&(Eg=e.toLowerCase().replace(/_/g,"-"))}(a.injector.get(iu,Ja)||Ja),this._moduleDoBootstrap(a),a))})})}bootstrapModule(r,i=[]){const o=gv({},i);return function sx(e,t,n){const r=new ff(n);return Promise.resolve(r)}(0,0,r).then(a=>this.bootstrapModuleFactory(a,o))}_moduleDoBootstrap(r){const i=r.injector.get(el);if(r._bootstrapComponents.length>0)r._bootstrapComponents.forEach(o=>i.bootstrap(o));else{if(!r.instance.ngDoBootstrap)throw new G(-403,!1);r.instance.ngDoBootstrap(i)}this._modules.push(r)}onDestroy(r){this._destroyListeners.push(r)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new G(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const r=this._injector.get(If,null);r&&(r.forEach(i=>i()),r.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return(e=t).\u0275fac=function(r){return new(r||e)(P(os))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})();function gv(e,t){return Array.isArray(t)?t.reduce(gv,e):{...e,...t}}let el=(()=>{var e;class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=me(vv),this.zoneIsStable=me(_p),this.componentTypes=[],this.components=[],this.isStable=me(tv).hasPendingTasks.pipe((0,re.w)(r=>r?(0,Y.of)(!1):this.zoneIsStable),(0,te.x)(),(0,Z.B)()),this._injector=me(_s)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,i){const o=r instanceof rp;if(!this._injector.get(xf).done)throw!o&&Dr(r),new G(405,!1);let u;u=o?r:this._injector.get(wl).resolveComponentFactory(r),this.componentTypes.push(u.componentType);const _=function ax(e){return e.isBoundToModule}(u)?void 0:this._injector.get(ma),L=u.create(os.NULL,[],i||u.selector,_),ae=L.location.nativeElement,Te=L.injector.get(ov,null);return Te?.registerApplication(ae),L.onDestroy(()=>{this.detachView(L.hostView),su(this.components,L),Te?.unregisterApplication(ae)}),this._loadComponent(L),L}tick(){if(this._runningTick)throw new G(101,!1);try{this._runningTick=!0;for(let r of this._views)r.detectChanges()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1}}attachView(r){const i=r;this._views.push(i),i.attachToAppRef(this)}detachView(r){const i=r;su(this._views,i),i.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);const i=this._injector.get(Af,[]);i.push(...this._bootstrapListeners),i.forEach(o=>o(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>su(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new G(406,!1);const r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function su(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const vv=new vr("",{providedIn:"root",factory:()=>me(Js).handleError.bind(void 0)});function hx(){const e=me(Ii),t=me(Js);return n=>e.runOutsideAngular(()=>t.handleError(n))}let px=(()=>{var e;class t{constructor(){this.zone=me(Ii),this.applicationRef=me(el)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function gx(){return!1}function _x(){}let vx=(()=>{class t{}return t.__NG_ELEMENT_ID__=yx,t})();function yx(e){return function bx(e,t,n){if(fi(e)&&!n){const r=bi(e.index,t);return new Il(r,r)}return 47&e.type?new Il(t[Re],t):null}(gr(),ct(),16==(16&e))}class Cv{constructor(){}supports(t){return Lc(t)}create(t){return new Tx(t)}}const xx=(e,t)=>t;class Tx{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||xx}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 a=!r||n&&n.currentIndex<xv(r,i,o)?n:r,u=xv(a,i,o),_=a.currentIndex;if(a===r)i--,r=r._nextRemoved;else if(n=n._next,null==a.previousIndex)i++;else{o||(o=[]);const S=u-i,L=_-i;if(S!=L){for(let Te=0;Te<S;Te++){const Be=Te<o.length?o[Te]:o[Te]=0,at=Be+Te;L<=at&&at<S&&(o[Te]=Be+1)}o[a.previousIndex]=L-S}}u!==_&&t(a,u,_)}}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=[]),!Lc(t))throw new G(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let i,o,a,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let u=0;u<this.length;u++)o=t[u],a=this._trackByFn(u,o),null!==n&&Object.is(n.trackById,a)?(r&&(n=this._verifyReinsertion(n,o,a,u)),Object.is(n.item,o)||this._addIdentityChange(n,o)):(n=this._mismatch(n,o,a,u),r=!0),n=n._next}else i=0,function uE(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Symbol.iterator]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,u=>{a=this._trackByFn(i,u),null!==n&&Object.is(n.trackById,a)?(r&&(n=this._verifyReinsertion(n,u,a,i)),Object.is(n.item,u)||this._addIdentityChange(n,u)):(n=this._mismatch(n,u,a,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 Sx(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 wv),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 wv),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 Sx{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 Mx{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 wv{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new Mx,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 xv(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 Tv{constructor(){}supports(t){return t instanceof Map||Id(t)}create(){return new Ix}}class Ix{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||Id(t)))throw new G(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,a=i._next;return o&&(o._next=a),a&&(a._prev=o),i._next=null,i._prev=null,i}const r=new Ax(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 Ax{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 Sv(){return new Ff([new Cv])}let Ff=(()=>{var e;class t{constructor(r){this.factories=r}static create(r,i){if(null!=i){const o=i.factories.slice();r=r.concat(o)}return new t(r)}static extend(r){return{provide:t,useFactory:i=>t.create(r,i||Sv()),deps:[[t,new rc,new nc]]}}find(r){const i=this.factories.find(o=>o.supports(r));if(null!=i)return i;throw new G(901,!1)}}return(e=t).\u0275prov=N({token:e,providedIn:"root",factory:Sv}),t})();function Mv(){return new Lf([new Tv])}let Lf=(()=>{var e;class t{constructor(r){this.factories=r}static create(r,i){if(i){const o=i.factories.slice();r=r.concat(o)}return new t(r)}static extend(r){return{provide:t,useFactory:i=>t.create(r,i||Mv()),deps:[[t,new rc,new nc]]}}find(r){const i=this.factories.find(o=>o.supports(r));if(i)return i;throw new G(901,!1)}}return(e=t).\u0275prov=N({token:e,providedIn:"root",factory:Mv}),t})();const Rx=dv(null,"core",[]);let Nx=(()=>{var e;class t{constructor(r){}}return(e=t).\u0275fac=function(r){return new(r||e)(P(el))},e.\u0275mod=Pi({type:e}),e.\u0275inj=Le({}),t})();function Gx(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function Wx(e,t=NaN){return isNaN(parseFloat(e))||isNaN(Number(e))?t:Number(e)}function Yx(e){const t=un(e);if(!t)return null;const n=new Al(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}},3680:(ft,De,v)=>{v.d(De,{yN:()=>G,mZ:()=>z,_A:()=>$e,rD:()=>Oe,sG:()=>Ye,Ad:()=>Cn,K7:()=>on,HF:()=>_n,Y2:()=>Vt,BQ:()=>ge,XK:()=>qe,ey:()=>Ze,Ng:()=>We,wG:()=>rn,Fq:()=>k,si:()=>Xt,CB:()=>Dt,jH:()=>yt,pj:()=>Mt,Kr:()=>Pt,Id:()=>ht,FD:()=>$t,dB:()=>gn,sb:()=>Gt});var s=v(5879),m=v(4191),W=v(9388),I=v(6814),Y=v(2831),Z=v(2495),re=v(5592),te=v(8645),H=v(6028);const Ie=["text"];function Ke(O,D){if(1&O&&s._UZ(0,"mat-pseudo-checkbox",6),2&O){const F=s.oxw();s.Q6J("disabled",F.disabled)("state",F.selected?"checked":"unchecked")}}function we(O,D){if(1&O&&s._UZ(0,"mat-pseudo-checkbox",7),2&O){const F=s.oxw();s.Q6J("disabled",F.disabled)}}function Je(O,D){if(1&O&&(s.TgZ(0,"span",8),s._uU(1),s.qZA()),2&O){const F=s.oxw();s.xp6(1),s.hij("(",F.group.label,")")}}const Ve=[[["mat-icon"]],"*"],ut=["mat-icon","*"];let G=(()=>{var O;class D{}return(O=D).STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",O.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",O.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",O.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",D})(),z=(()=>{var O;class D{}return(O=D).COMPLEX="375ms",O.ENTERING="225ms",O.EXITING="195ms",D})();const ue=new s.OlP("mat-sanity-checks",{providedIn:"root",factory:function ie(){return!0}});let ge=(()=>{var O;class D{constructor(R,P,V){this._sanityChecks=P,this._document=V,this._hasDoneGlobalChecks=!1,R._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(R){return!(0,Y.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[R])}}return(O=D).\u0275fac=function(R){return new(R||O)(s.LFG(m.qm),s.LFG(ue,8),s.LFG(I.K0))},O.\u0275mod=s.oAB({type:O}),O.\u0275inj=s.cJS({imports:[W.vT,W.vT]}),D})();function ht(O){return class extends O{get disabled(){return this._disabled}set disabled(D){this._disabled=(0,Z.Ig)(D)}constructor(...D){super(...D),this._disabled=!1}}}function Mt(O,D){return class extends O{get color(){return this._color}set color(F){const R=F||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(...F){super(...F),this.defaultColor=D,this.color=D}}}function Pt(O){return class extends O{get disableRipple(){return this._disableRipple}set disableRipple(D){this._disableRipple=(0,Z.Ig)(D)}constructor(...D){super(...D),this._disableRipple=!1}}}function Gt(O,D=0){return class extends O{get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(F){this._tabIndex=null!=F?(0,Z.su)(F):this.defaultTabIndex}constructor(...F){super(...F),this._tabIndex=D,this.defaultTabIndex=D}}}function $t(O){return class extends O{updateErrorState(){const D=this.errorState,V=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);V!==D&&(this.errorState=V,this.stateChanges.next())}constructor(...D){super(...D),this.errorState=!1}}}function gn(O){return class extends O{constructor(...D){super(...D),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new re.y(F=>{this._isInitialized?this._notifySubscriber(F):this._pendingSubscribers.push(F)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(D){D.next(),D.complete()}}}const Cn=new s.OlP("MAT_DATE_LOCALE",{providedIn:"root",factory:function Ue(){return(0,s.f3M)(s.soG)}});class $e{constructor(){this._localeChanges=new te.x,this.localeChanges=this._localeChanges}getValidDateOrNull(D){return this.isDateInstance(D)&&this.isValid(D)?D:null}deserialize(D){return null==D||this.isDateInstance(D)&&this.isValid(D)?D:this.invalid()}setLocale(D){this.locale=D,this._localeChanges.next()}compareDate(D,F){return this.getYear(D)-this.getYear(F)||this.getMonth(D)-this.getMonth(F)||this.getDate(D)-this.getDate(F)}sameDate(D,F){if(D&&F){let R=this.isValid(D),P=this.isValid(F);return R&&P?!this.compareDate(D,F):R==P}return D==F}clampDate(D,F,R){return F&&this.compareDate(D,F)<0?F:R&&this.compareDate(D,R)>0?R:D}}const Ye=new s.OlP("mat-date-formats"),Qe=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function lt(O,D){const F=Array(O);for(let R=0;R<O;R++)F[R]=D(R);return F}let dt=(()=>{var O;class D extends $e{constructor(R,P){super(),this.useUtcForDisplay=!1,super.setLocale(R)}getYear(R){return R.getFullYear()}getMonth(R){return R.getMonth()}getDate(R){return R.getDate()}getDayOfWeek(R){return R.getDay()}getMonthNames(R){const P=new Intl.DateTimeFormat(this.locale,{month:R,timeZone:"utc"});return lt(12,V=>this._format(P,new Date(2017,V,1)))}getDateNames(){const R=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return lt(31,P=>this._format(R,new Date(2017,0,P+1)))}getDayOfWeekNames(R){const P=new Intl.DateTimeFormat(this.locale,{weekday:R,timeZone:"utc"});return lt(7,V=>this._format(P,new Date(2017,0,V+1)))}getYearName(R){const P=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(P,R)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(R){return this.getDate(this._createDateWithOverflow(this.getYear(R),this.getMonth(R)+1,0))}clone(R){return new Date(R.getTime())}createDate(R,P,V){let me=this._createDateWithOverflow(R,P,V);return me.getMonth(),me}today(){return new Date}parse(R,P){return"number"==typeof R?new Date(R):R?new Date(Date.parse(R)):null}format(R,P){if(!this.isValid(R))throw Error("NativeDateAdapter: Cannot format invalid date.");const V=new Intl.DateTimeFormat(this.locale,{...P,timeZone:"utc"});return this._format(V,R)}addCalendarYears(R,P){return this.addCalendarMonths(R,12*P)}addCalendarMonths(R,P){let V=this._createDateWithOverflow(this.getYear(R),this.getMonth(R)+P,this.getDate(R));return this.getMonth(V)!=((this.getMonth(R)+P)%12+12)%12&&(V=this._createDateWithOverflow(this.getYear(V),this.getMonth(V),0)),V}addCalendarDays(R,P){return this._createDateWithOverflow(this.getYear(R),this.getMonth(R),this.getDate(R)+P)}toIso8601(R){return[R.getUTCFullYear(),this._2digit(R.getUTCMonth()+1),this._2digit(R.getUTCDate())].join("-")}deserialize(R){if("string"==typeof R){if(!R)return null;if(Qe.test(R)){let P=new Date(R);if(this.isValid(P))return P}}return super.deserialize(R)}isDateInstance(R){return R instanceof Date}isValid(R){return!isNaN(R.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(R,P,V){const me=new Date;return me.setFullYear(R,P,V),me.setHours(0,0,0,0),me}_2digit(R){return("00"+R).slice(-2)}_format(R,P){const V=new Date;return V.setUTCFullYear(P.getFullYear(),P.getMonth(),P.getDate()),V.setUTCHours(P.getHours(),P.getMinutes(),P.getSeconds(),P.getMilliseconds()),R.format(V)}}return(O=D).\u0275fac=function(R){return new(R||O)(s.LFG(Cn,8),s.LFG(Y.t4))},O.\u0275prov=s.Yz7({token:O,factory:O.\u0275fac}),D})();const At={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 ve=(()=>{var O;class D{}return(O=D).\u0275fac=function(R){return new(R||O)},O.\u0275mod=s.oAB({type:O}),O.\u0275inj=s.cJS({providers:[{provide:$e,useClass:dt}]}),D})(),qe=(()=>{var O;class D{}return(O=D).\u0275fac=function(R){return new(R||O)},O.\u0275mod=s.oAB({type:O}),O.\u0275inj=s.cJS({providers:[{provide:Ye,useValue:At}],imports:[ve]}),D})(),Oe=(()=>{var O;class D{isErrorState(R,P){return!!(R&&R.invalid&&(R.touched||P&&P.submitted))}}return(O=D).\u0275fac=function(R){return new(R||O)},O.\u0275prov=s.Yz7({token:O,factory:O.\u0275fac,providedIn:"root"}),D})();class vt{constructor(D,F,R,P=!1){this._renderer=D,this.element=F,this.config=R,this._animationForciblyDisabledThroughCss=P,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const Lt=(0,Y.i$)({passive:!0,capture:!0});class Mn{constructor(){this._events=new Map,this._delegateEventHandler=D=>{const F=(0,Y.sA)(D);F&&this._events.get(D.type)?.forEach((R,P)=>{(P===F||P.contains(F))&&R.forEach(V=>V.handleEvent(D))})}}addHandler(D,F,R,P){const V=this._events.get(F);if(V){const me=V.get(R);me?me.add(P):V.set(R,new Set([P]))}else this._events.set(F,new Map([[R,new Set([P])]])),D.runOutsideAngular(()=>{document.addEventListener(F,this._delegateEventHandler,Lt)})}removeHandler(D,F,R){const P=this._events.get(D);if(!P)return;const V=P.get(F);V&&(V.delete(R),0===V.size&&P.delete(F),0===P.size&&(this._events.delete(D),document.removeEventListener(D,this._delegateEventHandler,Lt)))}}const kn={enterDuration:225,exitDuration:150},ir=(0,Y.i$)({passive:!0,capture:!0}),Un=["mousedown","touchstart"],On=["mouseup","mouseleave","touchend","touchcancel"];class Nt{constructor(D,F,R,P){this._target=D,this._ngZone=F,this._platform=P,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,P.isBrowser&&(this._containerElement=(0,Z.fI)(R))}fadeInRipple(D,F,R={}){const P=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),V={...kn,...R.animation};R.centered&&(D=P.left+P.width/2,F=P.top+P.height/2);const me=R.radius||function jt(O,D,F){const R=Math.max(Math.abs(O-F.left),Math.abs(O-F.right)),P=Math.max(Math.abs(D-F.top),Math.abs(D-F.bottom));return Math.sqrt(R*R+P*P)}(D,F,P),ne=D-P.left,le=F-P.top,je=V.enterDuration,oe=document.createElement("div");oe.classList.add("mat-ripple-element"),oe.style.left=ne-me+"px",oe.style.top=le-me+"px",oe.style.height=2*me+"px",oe.style.width=2*me+"px",null!=R.color&&(oe.style.backgroundColor=R.color),oe.style.transitionDuration=`${je}ms`,this._containerElement.appendChild(oe);const ee=window.getComputedStyle(oe),X=ee.transitionDuration,ce="none"===ee.transitionProperty||"0s"===X||"0s, 0s"===X||0===P.width&&0===P.height,Ce=new vt(this,oe,R,ce);oe.style.transform="scale3d(1, 1, 1)",Ce.state=0,R.persistent||(this._mostRecentTransientRipple=Ce);let rt=null;return!ce&&(je||V.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const Xe=()=>this._finishRippleTransition(Ce),wt=()=>this._destroyRipple(Ce);oe.addEventListener("transitionend",Xe),oe.addEventListener("transitioncancel",wt),rt={onTransitionEnd:Xe,onTransitionCancel:wt}}),this._activeRipples.set(Ce,rt),(ce||!je)&&this._finishRippleTransition(Ce),Ce}fadeOutRipple(D){if(2===D.state||3===D.state)return;const F=D.element,R={...kn,...D.config.animation};F.style.transitionDuration=`${R.exitDuration}ms`,F.style.opacity="0",D.state=2,(D._animationForciblyDisabledThroughCss||!R.exitDuration)&&this._finishRippleTransition(D)}fadeOutAll(){this._getActiveRipples().forEach(D=>D.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(D=>{D.config.persistent||D.fadeOut()})}setupTriggerEvents(D){const F=(0,Z.fI)(D);!this._platform.isBrowser||!F||F===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=F,Un.forEach(R=>{Nt._eventManager.addHandler(this._ngZone,R,F,this)}))}handleEvent(D){"mousedown"===D.type?this._onMousedown(D):"touchstart"===D.type?this._onTouchStart(D):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{On.forEach(F=>{this._triggerElement.addEventListener(F,this,ir)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(D){0===D.state?this._startFadeOutTransition(D):2===D.state&&this._destroyRipple(D)}_startFadeOutTransition(D){const F=D===this._mostRecentTransientRipple,{persistent:R}=D.config;D.state=1,!R&&(!F||!this._isPointerDown)&&D.fadeOut()}_destroyRipple(D){const F=this._activeRipples.get(D)??null;this._activeRipples.delete(D),this._activeRipples.size||(this._containerRect=null),D===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),D.state=3,null!==F&&(D.element.removeEventListener("transitionend",F.onTransitionEnd),D.element.removeEventListener("transitioncancel",F.onTransitionCancel)),D.element.remove()}_onMousedown(D){const F=(0,m.X6)(D),R=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!F&&!R&&(this._isPointerDown=!0,this.fadeInRipple(D.clientX,D.clientY,this._target.rippleConfig))}_onTouchStart(D){if(!this._target.rippleDisabled&&!(0,m.yG)(D)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const F=D.changedTouches;if(F)for(let R=0;R<F.length;R++)this.fadeInRipple(F[R].clientX,F[R].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(D=>{!D.config.persistent&&(1===D.state||D.config.terminateOnPointerUp&&0===D.state)&&D.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const D=this._triggerElement;D&&(Un.forEach(F=>Nt._eventManager.removeHandler(F,D,this)),this._pointerUpEventsRegistered&&On.forEach(F=>D.removeEventListener(F,this,ir)))}}Nt._eventManager=new Mn;const Vt=new s.OlP("mat-ripple-global-options");let rn=(()=>{var O;class D{get disabled(){return this._disabled}set disabled(R){R&&this.fadeOutAllNonPersistent(),this._disabled=R,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(R){this._trigger=R,this._setupTriggerEventsIfEnabled()}constructor(R,P,V,me,ne){this._elementRef=R,this._animationMode=ne,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=me||{},this._rippleRenderer=new Nt(this,P,R,V)}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(R,P=0,V){return"number"==typeof R?this._rippleRenderer.fadeInRipple(R,P,{...this.rippleConfig,...V}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...R})}}return(O=D).\u0275fac=function(R){return new(R||O)(s.Y36(s.SBq),s.Y36(s.R0b),s.Y36(Y.t4),s.Y36(Vt,8),s.Y36(s.QbO,8))},O.\u0275dir=s.lG2({type:O,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(R,P){2&R&&s.ekj("mat-ripple-unbounded",P.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"]}),D})(),Xt=(()=>{var O;class D{}return(O=D).\u0275fac=function(R){return new(R||O)},O.\u0275mod=s.oAB({type:O}),O.\u0275inj=s.cJS({imports:[ge,ge]}),D})(),Tn=(()=>{var O;class D{constructor(R){this._animationMode=R,this.state="unchecked",this.disabled=!1,this.appearance="full"}}return(O=D).\u0275fac=function(R){return new(R||O)(s.Y36(s.QbO,8))},O.\u0275cmp=s.Xpm({type:O,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(R,P){2&R&&s.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===P.state)("mat-pseudo-checkbox-checked","checked"===P.state)("mat-pseudo-checkbox-disabled",P.disabled)("mat-pseudo-checkbox-minimal","minimal"===P.appearance)("mat-pseudo-checkbox-full","full"===P.appearance)("_mat-animation-noopable","NoopAnimations"===P._animationMode)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(R,P){},styles:['.mat-pseudo-checkbox{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-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-full{border:2px solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0}),D})(),cn=(()=>{var O;class D{}return(O=D).\u0275fac=function(R){return new(R||O)},O.\u0275mod=s.oAB({type:O}),O.\u0275inj=s.cJS({imports:[ge]}),D})();const _n=new s.OlP("MAT_OPTION_PARENT_COMPONENT"),on=new s.OlP("MatOptgroup");let Wn=0;class In{constructor(D,F=!1){this.source=D,this.isUserInput=F}}let dr=(()=>{var O;class D{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(R){this._disabled=(0,Z.Ig)(R)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}constructor(R,P,V,me){this._element=R,this._changeDetectorRef=P,this._parent=V,this.group=me,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+Wn++,this.onSelectionChange=new s.vpe,this._stateChanges=new te.x}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(R=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),R&&this._emitSelectionChangeEvent())}deselect(R=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),R&&this._emitSelectionChangeEvent())}focus(R,P){const V=this._getHostElement();"function"==typeof V.focus&&V.focus(P)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(R){(R.keyCode===H.K5||R.keyCode===H.L_)&&!(0,H.Vb)(R)&&(this._selectViaInteraction(),R.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const R=this.viewValue;R!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=R)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(R=!1){this.onSelectionChange.emit(new In(this,R))}}return(O=D).\u0275fac=function(R){s.$Z()},O.\u0275dir=s.lG2({type:O,viewQuery:function(R,P){if(1&R&&s.Gf(Ie,7),2&R){let V;s.iGM(V=s.CRH())&&(P._text=V.first)}},inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),D})(),Ze=(()=>{var O;class D extends dr{constructor(R,P,V,me){super(R,P,V,me)}}return(O=D).\u0275fac=function(R){return new(R||O)(s.Y36(s.SBq),s.Y36(s.sBO),s.Y36(_n,8),s.Y36(on,8))},O.\u0275cmp=s.Xpm({type:O,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(R,P){1&R&&s.NdJ("click",function(){return P._selectViaInteraction()})("keydown",function(me){return P._handleKeydown(me)}),2&R&&(s.Ikx("id",P.id),s.uIk("aria-selected",P.selected)("aria-disabled",P.disabled.toString()),s.ekj("mdc-list-item--selected",P.selected)("mat-mdc-option-multiple",P.multiple)("mat-mdc-option-active",P.active)("mdc-list-item--disabled",P.disabled))},exportAs:["matOption"],features:[s.qOj],ngContentSelectors:ut,decls:8,vars:5,consts:[["class","mat-mdc-option-pseudo-checkbox","aria-hidden","true",3,"disabled","state",4,"ngIf"],[1,"mdc-list-item__primary-text"],["text",""],["class","mat-mdc-option-pseudo-checkbox","state","checked","aria-hidden","true","appearance","minimal",3,"disabled",4,"ngIf"],["class","cdk-visually-hidden",4,"ngIf"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"]],template:function(R,P){1&R&&(s.F$t(Ve),s.YNc(0,Ke,1,2,"mat-pseudo-checkbox",0),s.Hsn(1),s.TgZ(2,"span",1,2),s.Hsn(4,1),s.qZA(),s.YNc(5,we,1,1,"mat-pseudo-checkbox",3),s.YNc(6,Je,2,1,"span",4),s._UZ(7,"div",5)),2&R&&(s.Q6J("ngIf",P.multiple),s.xp6(5),s.Q6J("ngIf",!P.multiple&&P.selected&&!P.hideSingleSelectionIndicator),s.xp6(1),s.Q6J("ngIf",P.group&&P.group._inert),s.xp6(1),s.Q6J("matRippleTrigger",P._getHostElement())("matRippleDisabled",P.disabled||P.disableRipple))},dependencies:[rn,I.O5,Tn],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;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color);font-family:var(--mat-option-label-text-font);line-height:var(--mat-option-label-text-line-height);font-size:var(--mat-option-label-text-size);letter-spacing:var(--mat-option-label-text-tracking);font-weight:var(--mat-option-label-text-weight);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:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color)}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color)}.mat-mdc-option.mdc-list-item{align-items:center}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.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-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.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;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.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 .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),D})();function Dt(O,D,F){if(F.length){let R=D.toArray(),P=F.toArray(),V=0;for(let me=0;me<O+1;me++)R[me].group&&R[me].group===P[V]&&V++;return V}return 0}function yt(O,D,F,R){return O<F?O:O+D>F+R?Math.max(0,O-R+D):F}let We=(()=>{var O;class D{}return(O=D).\u0275fac=function(R){return new(R||O)},O.\u0275mod=s.oAB({type:O}),O.\u0275inj=s.cJS({imports:[Xt,I.ez,ge,cn]}),D})();const st={capture:!0},Ut=["focus","click","mouseenter","touchstart"],en="mat-ripple-loader-uninitialized",Jn="mat-ripple-loader-class-name",pe="mat-ripple-loader-centered",B="mat-ripple-loader-disabled";let k=(()=>{var O;class D{constructor(){this._document=(0,s.f3M)(I.K0,{optional:!0}),this._animationMode=(0,s.f3M)(s.QbO,{optional:!0}),this._globalRippleOptions=(0,s.f3M)(Vt,{optional:!0}),this._platform=(0,s.f3M)(Y.t4),this._ngZone=(0,s.f3M)(s.R0b),this._onInteraction=R=>{if(!(R.target instanceof HTMLElement))return;const V=R.target.closest(`[${en}]`);V&&this.createRipple(V)},this._ngZone.runOutsideAngular(()=>{for(const R of Ut)this._document?.addEventListener(R,this._onInteraction,st)})}ngOnDestroy(){for(const R of Ut)this._document?.removeEventListener(R,this._onInteraction,st)}configureRipple(R,P){R.setAttribute(en,""),(P.className||!R.hasAttribute(Jn))&&R.setAttribute(Jn,P.className||""),P.centered&&R.setAttribute(pe,""),P.disabled&&R.setAttribute(B,"")}getRipple(R){return R.matRipple?R.matRipple:this.createRipple(R)}setDisabled(R,P){const V=R.matRipple;V?V.disabled=P:P?R.setAttribute(B,""):R.removeAttribute(B)}createRipple(R){if(!this._document)return;R.querySelector(".mat-ripple")?.remove();const P=this._document.createElement("span");P.classList.add("mat-ripple",R.getAttribute(Jn)),R.append(P);const V=new rn(new s.SBq(P),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return V._isInitialized=!0,V.trigger=R,V.centered=R.hasAttribute(pe),V.disabled=R.hasAttribute(B),this.attachRipple(R,V),V}attachRipple(R,P){R.removeAttribute(en),R.matRipple=P}}return(O=D).\u0275fac=function(R){return new(R||O)},O.\u0275prov=s.Yz7({token:O,factory:O.\u0275fac,providedIn:"root"}),D})()},4170:(ft,De,v)=>{v.d(De,{G_:()=>_n,o2:()=>Fn,KE:()=>In,Eo:()=>rn,lN:()=>dr,hX:()=>qe,qo:()=>vt,R9:()=>Mn});var s=v(5879),m=v(9388),W=v(2831),U=v(7394),I=v(8645),Y=v(3019),Z=v(9773),re=v(5592),te=v(2181),H=v(7081);class fe{constructor(Dt){this._box=Dt,this._destroyed=new I.x,this._resizeSubject=new I.x,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(yt=>this._resizeSubject.next(yt)))}observe(Dt){return this._elementObservables.has(Dt)||this._elementObservables.set(Dt,new re.y(yt=>{const We=this._resizeSubject.subscribe(yt);return this._resizeObserver?.observe(Dt,{box:this._box}),()=>{this._resizeObserver?.unobserve(Dt),We.unsubscribe(),this._elementObservables.delete(Dt)}}).pipe((0,te.h)(yt=>yt.some(We=>We.target===Dt)),(0,H.d)({bufferSize:1,refCount:!0}),(0,Z.R)(this._destroyed))),this._elementObservables.get(Dt)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}}let Se=(()=>{var Ze;class Dt{constructor(){this._observers=new Map,this._ngZone=(0,s.f3M)(s.R0b)}ngOnDestroy(){for(const[,We]of this._observers)We.destroy();this._observers.clear()}observe(We,st){const Ut=st?.box||"content-box";return this._observers.has(Ut)||this._observers.set(Ut,new fe(Ut)),this._observers.get(Ut).observe(We)}}return(Ze=Dt).\u0275fac=function(We){return new(We||Ze)},Ze.\u0275prov=s.Yz7({token:Ze,factory:Ze.\u0275fac,providedIn:"root"}),Dt})();var Ie=v(2495),Ke=v(6825),we=v(6814),Je=v(7131),Ve=v(3680);const ut=["notch"],ke=["matFormFieldNotchedOutline",""],G=["*"],z=["textField"],ie=["iconPrefixContainer"],ue=["textPrefixContainer"];function ge(Ze,Dt){1&Ze&&s._UZ(0,"span",19)}function xe(Ze,Dt){if(1&Ze&&(s.TgZ(0,"label",17),s.Hsn(1,1),s.YNc(2,ge,1,0,"span",18),s.qZA()),2&Ze){const yt=s.oxw(2);s.Q6J("floating",yt._shouldLabelFloat())("monitorResize",yt._hasOutline())("id",yt._labelId),s.uIk("for",yt._control.id),s.xp6(2),s.Q6J("ngIf",!yt.hideRequiredMarker&&yt._control.required)}}function Ge(Ze,Dt){if(1&Ze&&s.YNc(0,xe,3,5,"label",16),2&Ze){const yt=s.oxw();s.Q6J("ngIf",yt._hasFloatingLabel())}}function nt(Ze,Dt){1&Ze&&s._UZ(0,"div",20)}function ht(Ze,Dt){}function Mt(Ze,Dt){if(1&Ze&&s.YNc(0,ht,0,0,"ng-template",22),2&Ze){s.oxw(2);const yt=s.MAs(1);s.Q6J("ngTemplateOutlet",yt)}}function Pt(Ze,Dt){if(1&Ze&&(s.TgZ(0,"div",21),s.YNc(1,Mt,1,1,"ng-template",9),s.qZA()),2&Ze){const yt=s.oxw();s.Q6J("matFormFieldNotchedOutlineOpen",yt._shouldLabelFloat()),s.xp6(1),s.Q6J("ngIf",!yt._forceDisplayInfixLabel())}}function Gt(Ze,Dt){1&Ze&&(s.TgZ(0,"div",23,24),s.Hsn(2,2),s.qZA())}function $t(Ze,Dt){1&Ze&&(s.TgZ(0,"div",25,26),s.Hsn(2,3),s.qZA())}function gn(Ze,Dt){}function Cn(Ze,Dt){if(1&Ze&&s.YNc(0,gn,0,0,"ng-template",22),2&Ze){s.oxw();const yt=s.MAs(1);s.Q6J("ngTemplateOutlet",yt)}}function Ue(Ze,Dt){1&Ze&&(s.TgZ(0,"div",27),s.Hsn(1,4),s.qZA())}function $e(Ze,Dt){1&Ze&&(s.TgZ(0,"div",28),s.Hsn(1,5),s.qZA())}function Ye(Ze,Dt){1&Ze&&s._UZ(0,"div",29)}function Qe(Ze,Dt){if(1&Ze&&(s.TgZ(0,"div",30),s.Hsn(1,6),s.qZA()),2&Ze){const yt=s.oxw();s.Q6J("@transitionMessages",yt._subscriptAnimationState)}}function lt(Ze,Dt){if(1&Ze&&(s.TgZ(0,"mat-hint",34),s._uU(1),s.qZA()),2&Ze){const yt=s.oxw(2);s.Q6J("id",yt._hintLabelId),s.xp6(1),s.Oqu(yt.hintLabel)}}function dt(Ze,Dt){if(1&Ze&&(s.TgZ(0,"div",31),s.YNc(1,lt,2,2,"mat-hint",32),s.Hsn(2,7),s._UZ(3,"div",33),s.Hsn(4,8),s.qZA()),2&Ze){const yt=s.oxw();s.Q6J("@transitionMessages",yt._subscriptAnimationState),s.xp6(1),s.Q6J("ngIf",yt.hintLabel)}}const At=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],ve=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];let qe=(()=>{var Ze;class Dt{}return(Ze=Dt).\u0275fac=function(We){return new(We||Ze)},Ze.\u0275dir=s.lG2({type:Ze,selectors:[["mat-label"]]}),Dt})();const Oe=new s.OlP("MatError");let Ae=0,Le=(()=>{var Ze;class Dt{constructor(){this.align="start",this.id="mat-mdc-hint-"+Ae++}}return(Ze=Dt).\u0275fac=function(We){return new(We||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(We,st){2&We&&(s.Ikx("id",st.id),s.uIk("align",null),s.ekj("mat-mdc-form-field-hint-end","end"===st.align))},inputs:{align:"align",id:"id"}}),Dt})();const St=new s.OlP("MatPrefix");let vt=(()=>{var Ze;class Dt{constructor(){this._isText=!1}set _isTextSelector(We){this._isText=!0}}return(Ze=Dt).\u0275fac=function(We){return new(We||Ze)},Ze.\u0275dir=s.lG2({type:Ze,selectors:[["","matPrefix",""],["","matIconPrefix",""],["","matTextPrefix",""]],inputs:{_isTextSelector:["matTextPrefix","_isTextSelector"]},features:[s._Bn([{provide:St,useExisting:Ze}])]}),Dt})();const Lt=new s.OlP("MatSuffix");let Mn=(()=>{var Ze;class Dt{constructor(){this._isText=!1}set _isTextSelector(We){this._isText=!0}}return(Ze=Dt).\u0275fac=function(We){return new(We||Ze)},Ze.\u0275dir=s.lG2({type:Ze,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:["matTextSuffix","_isTextSelector"]},features:[s._Bn([{provide:Lt,useExisting:Ze}])]}),Dt})();const kn=new s.OlP("FloatingLabelParent");let Ct=(()=>{var Ze;class Dt{get floating(){return this._floating}set floating(We){this._floating=We,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(We){this._monitorResize=We,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(We){this._elementRef=We,this._floating=!1,this._monitorResize=!1,this._resizeObserver=(0,s.f3M)(Se),this._ngZone=(0,s.f3M)(s.R0b),this._parent=(0,s.f3M)(kn),this._resizeSubscription=new U.w0}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return function ir(Ze){if(null!==Ze.offsetParent)return Ze.scrollWidth;const yt=Ze.cloneNode(!0);yt.style.setProperty("position","absolute"),yt.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(yt);const We=yt.scrollWidth;return yt.remove(),We}(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}}return(Ze=Dt).\u0275fac=function(We){return new(We||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(We,st){2&We&&s.ekj("mdc-floating-label--float-above",st.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}}),Dt})();const Un="mdc-line-ripple--active",On="mdc-line-ripple--deactivating";let Nt=(()=>{var Ze;class Dt{constructor(We,st){this._elementRef=We,this._handleTransitionEnd=Ut=>{const en=this._elementRef.nativeElement.classList,Jn=en.contains(On);"opacity"===Ut.propertyName&&Jn&&en.remove(Un,On)},st.runOutsideAngular(()=>{We.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const We=this._elementRef.nativeElement.classList;We.remove(On),We.add(Un)}deactivate(){this._elementRef.nativeElement.classList.add(On)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}}return(Ze=Dt).\u0275fac=function(We){return new(We||Ze)(s.Y36(s.SBq),s.Y36(s.R0b))},Ze.\u0275dir=s.lG2({type:Ze,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]}),Dt})(),jt=(()=>{var Ze;class Dt{constructor(We,st){this._elementRef=We,this._ngZone=st,this.open=!1}ngAfterViewInit(){const We=this._elementRef.nativeElement.querySelector(".mdc-floating-label");We?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(We.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>We.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(We){this._notch.nativeElement.style.width=this.open&&We?`calc(${We}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:""}}return(Ze=Dt).\u0275fac=function(We){return new(We||Ze)(s.Y36(s.SBq),s.Y36(s.R0b))},Ze.\u0275cmp=s.Xpm({type:Ze,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(We,st){if(1&We&&s.Gf(ut,5),2&We){let Ut;s.iGM(Ut=s.CRH())&&(st._notch=Ut.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(We,st){2&We&&s.ekj("mdc-notched-outline--notched",st.open)},inputs:{open:["matFormFieldNotchedOutlineOpen","open"]},attrs:ke,ngContentSelectors:G,decls:5,vars:0,consts:[[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],["notch",""],[1,"mdc-notched-outline__trailing"]],template:function(We,st){1&We&&(s.F$t(),s._UZ(0,"div",0),s.TgZ(1,"div",1,2),s.Hsn(3),s.qZA(),s._UZ(4,"div",3))},encapsulation:2,changeDetection:0}),Dt})();const Vt={transitionMessages:(0,Ke.X$)("transitionMessages",[(0,Ke.SB)("enter",(0,Ke.oB)({opacity:1,transform:"translateY(0%)"})),(0,Ke.eR)("void => enter",[(0,Ke.oB)({opacity:0,transform:"translateY(-5px)"}),(0,Ke.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let rn=(()=>{var Ze;class Dt{}return(Ze=Dt).\u0275fac=function(We){return new(We||Ze)},Ze.\u0275dir=s.lG2({type:Ze}),Dt})();const _n=new s.OlP("MatFormField"),Fn=new s.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS");let Yt=0,In=(()=>{var Ze;class Dt{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(We){this._hideRequiredMarker=(0,Ie.Ig)(We)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(We){We!==this._floatLabel&&(this._floatLabel=We,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(We){const st=this._appearance;this._appearance=We||this._defaults?.appearance||"fill","outline"===this._appearance&&this._appearance!==st&&(this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(We){this._subscriptSizing=We||this._defaults?.subscriptSizing||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel(We){this._hintLabel=We,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(We){this._explicitFormFieldControl=We}constructor(We,st,Ut,en,Jn,pe,B,k){this._elementRef=We,this._changeDetectorRef=st,this._ngZone=Ut,this._dir=en,this._platform=Jn,this._defaults=pe,this._animationMode=B,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-"+Yt++,this._hintLabelId="mat-mdc-hint-"+Yt++,this._subscriptAnimationState="",this._destroyed=new I.x,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,pe&&(pe.appearance&&(this.appearance=pe.appearance),this._hideRequiredMarker=!!pe?.hideRequiredMarker,pe.color&&(this.color=pe.color))}ngAfterViewInit(){this._updateFocusState(),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 We=this._control;We.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${We.controlType}`),We.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),We.ngControl&&We.ngControl.valueChanges&&We.ngControl.valueChanges.pipe((0,Z.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(We=>!We._isText),this._hasTextPrefix=!!this._prefixChildren.find(We=>We._isText),this._hasIconSuffix=!!this._suffixChildren.find(We=>!We._isText),this._hasTextSuffix=!!this._suffixChildren.find(We=>We._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),(0,Y.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,Z.R)(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe((0,Z.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(We){const st=this._control?this._control.ngControl:null;return st&&st[We]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){this._hasOutline()&&this._floatingLabel&&this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth()):this._notchedOutline?._setNotchWidth(0)}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_syncDescribedByIds(){if(this._control){let We=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&We.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const st=this._hintChildren?this._hintChildren.find(en=>"start"===en.align):null,Ut=this._hintChildren?this._hintChildren.find(en=>"end"===en.align):null;st?We.push(st.id):this._hintLabel&&We.push(this._hintLabelId),Ut&&We.push(Ut.id)}else this._errorChildren&&We.push(...this._errorChildren.map(st=>st.id));this._control.setDescribedByIds(We)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const We=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(We.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const st=this._iconPrefixContainer?.nativeElement,Ut=this._textPrefixContainer?.nativeElement,en=st?.getBoundingClientRect().width??0,Jn=Ut?.getBoundingClientRect().width??0;We.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${en+Jn}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`}_isAttachedToDom(){const We=this._elementRef.nativeElement;if(We.getRootNode){const st=We.getRootNode();return st&&st!==We}return document.documentElement.contains(We)}}return(Ze=Dt).\u0275fac=function(We){return new(We||Ze)(s.Y36(s.SBq),s.Y36(s.sBO),s.Y36(s.R0b),s.Y36(m.Is),s.Y36(W.t4),s.Y36(Fn,8),s.Y36(s.QbO,8),s.Y36(we.K0))},Ze.\u0275cmp=s.Xpm({type:Ze,selectors:[["mat-form-field"]],contentQueries:function(We,st,Ut){if(1&We&&(s.Suo(Ut,qe,5),s.Suo(Ut,qe,7),s.Suo(Ut,rn,5),s.Suo(Ut,St,5),s.Suo(Ut,Lt,5),s.Suo(Ut,Oe,5),s.Suo(Ut,Le,5)),2&We){let en;s.iGM(en=s.CRH())&&(st._labelChildNonStatic=en.first),s.iGM(en=s.CRH())&&(st._labelChildStatic=en.first),s.iGM(en=s.CRH())&&(st._formFieldControl=en.first),s.iGM(en=s.CRH())&&(st._prefixChildren=en),s.iGM(en=s.CRH())&&(st._suffixChildren=en),s.iGM(en=s.CRH())&&(st._errorChildren=en),s.iGM(en=s.CRH())&&(st._hintChildren=en)}},viewQuery:function(We,st){if(1&We&&(s.Gf(z,5),s.Gf(ie,5),s.Gf(ue,5),s.Gf(Ct,5),s.Gf(jt,5),s.Gf(Nt,5)),2&We){let Ut;s.iGM(Ut=s.CRH())&&(st._textField=Ut.first),s.iGM(Ut=s.CRH())&&(st._iconPrefixContainer=Ut.first),s.iGM(Ut=s.CRH())&&(st._textPrefixContainer=Ut.first),s.iGM(Ut=s.CRH())&&(st._floatingLabel=Ut.first),s.iGM(Ut=s.CRH())&&(st._notchedOutline=Ut.first),s.iGM(Ut=s.CRH())&&(st._lineRipple=Ut.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(We,st){2&We&&s.ekj("mat-mdc-form-field-label-always-float",st._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",st._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",st._hasIconSuffix)("mat-form-field-invalid",st._control.errorState)("mat-form-field-disabled",st._control.disabled)("mat-form-field-autofilled",st._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===st._animationMode)("mat-form-field-appearance-fill","fill"==st.appearance)("mat-form-field-appearance-outline","outline"==st.appearance)("mat-form-field-hide-placeholder",st._hasFloatingLabel()&&!st._shouldLabelFloat())("mat-focused",st._control.focused)("mat-primary","accent"!==st.color&&"warn"!==st.color)("mat-accent","accent"===st.color)("mat-warn","warn"===st.color)("ng-untouched",st._shouldForward("untouched"))("ng-touched",st._shouldForward("touched"))("ng-pristine",st._shouldForward("pristine"))("ng-dirty",st._shouldForward("dirty"))("ng-valid",st._shouldForward("valid"))("ng-invalid",st._shouldForward("invalid"))("ng-pending",st._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[s._Bn([{provide:_n,useExisting:Ze},{provide:kn,useExisting:Ze}])],ngContentSelectors:ve,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",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","monitorResize","id",4,"ngIf"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["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"],[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(We,st){1&We&&(s.F$t(At),s.YNc(0,Ge,1,1,"ng-template",null,0,s.W1O),s.TgZ(2,"div",1,2),s.NdJ("click",function(en){return st._control.onContainerClick(en)}),s.YNc(4,nt,1,0,"div",3),s.TgZ(5,"div",4),s.YNc(6,Pt,2,2,"div",5),s.YNc(7,Gt,3,0,"div",6),s.YNc(8,$t,3,0,"div",7),s.TgZ(9,"div",8),s.YNc(10,Cn,1,1,"ng-template",9),s.Hsn(11),s.qZA(),s.YNc(12,Ue,2,0,"div",10),s.YNc(13,$e,2,0,"div",11),s.qZA(),s.YNc(14,Ye,1,0,"div",12),s.qZA(),s.TgZ(15,"div",13),s.YNc(16,Qe,2,1,"div",14),s.YNc(17,dt,5,2,"div",15),s.qZA()),2&We&&(s.xp6(2),s.ekj("mdc-text-field--filled",!st._hasOutline())("mdc-text-field--outlined",st._hasOutline())("mdc-text-field--no-label",!st._hasFloatingLabel())("mdc-text-field--disabled",st._control.disabled)("mdc-text-field--invalid",st._control.errorState),s.xp6(2),s.Q6J("ngIf",!st._hasOutline()&&!st._control.disabled),s.xp6(2),s.Q6J("ngIf",st._hasOutline()),s.xp6(1),s.Q6J("ngIf",st._hasIconPrefix),s.xp6(1),s.Q6J("ngIf",st._hasTextPrefix),s.xp6(2),s.Q6J("ngIf",!st._hasOutline()||st._forceDisplayInfixLabel()),s.xp6(2),s.Q6J("ngIf",st._hasTextSuffix),s.xp6(1),s.Q6J("ngIf",st._hasIconSuffix),s.xp6(1),s.Q6J("ngIf",!st._hasOutline()),s.xp6(1),s.ekj("mat-mdc-form-field-subscript-dynamic-size","dynamic"===st.subscriptSizing),s.Q6J("ngSwitch",st._getDisplayedMessages()),s.xp6(1),s.Q6J("ngSwitchCase","error"),s.xp6(1),s.Q6J("ngSwitchCase","hint"))},dependencies:[we.O5,we.tP,we.RF,we.n9,Le,Ct,jt,Nt],styles:['.mdc-text-field{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius: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:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;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:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius: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:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius: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:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;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-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%;pointer-events:none}.mdc-notched-outline__trailing{flex-grow:1}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.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{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}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{border-top:1px solid;border-bottom:1px solid}.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}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{max-width:calc(100% - 12px * 2)}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mdc-text-field--filled{--mdc-filled-text-field-active-indicator-height:1px;--mdc-filled-text-field-focus-active-indicator-height:2px;--mdc-filled-text-field-container-shape:4px;border-top-left-radius:var(--mdc-filled-text-field-container-shape);border-top-right-radius:var(--mdc-filled-text-field-container-shape);border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-caret-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-focus-label-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-disabled-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-focus-label-text-color)}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font);font-size:var(--mdc-filled-text-field-label-text-size);font-weight:var(--mdc-filled-text-field-label-text-weight);letter-spacing:var(--mdc-filled-text-field-label-text-tracking)}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color)}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color)}.mdc-text-field--filled .mdc-line-ripple::before{border-bottom-width:var(--mdc-filled-text-field-active-indicator-height)}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height)}.mdc-text-field--outlined{--mdc-outlined-text-field-outline-width:1px;--mdc-outlined-text-field-focus-outline-width:2px;--mdc-outlined-text-field-container-shape:4px}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-caret-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-focus-label-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-disabled-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-focus-label-text-color)}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font);font-size:var(--mdc-outlined-text-field-label-text-size);font-weight:var(--mdc-outlined-text-field-label-text-weight);letter-spacing:var(--mdc-outlined-text-field-label-text-tracking)}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}[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-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);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-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px, var(--mdc-outlined-text-field-container-shape))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);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-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px, calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px, var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px, calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px, var(--mdc-outlined-text-field-container-shape))}}.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-outlined-text-field-container-shape))}}[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-outlined-text-field-container-shape))}}.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-outlined-text-field-container-shape) + 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-outlined-text-field-container-shape) + 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:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-hover-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-focus-outline-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-disabled-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-hover-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-focus-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-outline-width)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-focus-outline-width)}.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{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;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-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.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-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.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;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font);line-height:var(--mat-form-field-container-text-line-height);font-size:var(--mat-form-field-container-text-size);letter-spacing:var(--mat-form-field-container-text-tracking);font-weight:var(--mat-form-field-container-text-weight)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size) * var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}.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;position:relative;z-index:1}.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(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 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(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 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(calc(0% - 10.25px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 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(calc(0% - 10.25px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 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(calc(0% - 24.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 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(calc(0% - 24.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 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(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(calc(0% - 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(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 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(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(calc(0% - 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(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 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(calc(0% - 106%)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 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)}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}'],encapsulation:2,data:{animation:[Vt.transitionMessages]},changeDetection:0}),Dt})(),dr=(()=>{var Ze;class Dt{}return(Ze=Dt).\u0275fac=function(We){return new(We||Ze)},Ze.\u0275mod=s.oAB({type:Ze}),Ze.\u0275inj=s.cJS({imports:[Ve.BQ,we.ez,Je.Q8,Ve.BQ]}),Dt})()},6593:(ft,De,v)=>{v.d(De,{Dx:()=>ir,H7:()=>In,b2:()=>vt,q6:()=>N,se:()=>xe});var s=v(5879),m=v(6814);class W extends m.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class U extends W{static makeCurrent(){(0,m.HT)(new U)}onAndCancel(k,O,D){return k.addEventListener(O,D),()=>{k.removeEventListener(O,D)}}dispatchEvent(k,O){k.dispatchEvent(O)}remove(k){k.parentNode&&k.parentNode.removeChild(k)}createElement(k,O){return(O=O||this.getDefaultDocument()).createElement(k)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(k){return k.nodeType===Node.ELEMENT_NODE}isShadowRoot(k){return k instanceof DocumentFragment}getGlobalEventTarget(k,O){return"window"===O?window:"document"===O?k:"body"===O?k.body:null}getBaseHref(k){const O=function Y(){return I=I||document.querySelector("base"),I?I.getAttribute("href"):null}();return null==O?null:function re(B){Z=Z||document.createElement("a"),Z.setAttribute("href",B);const k=Z.pathname;return"/"===k.charAt(0)?k:`/${k}`}(O)}resetBaseElement(){I=null}getUserAgent(){return window.navigator.userAgent}getCookie(k){return(0,m.Mx)(document.cookie,k)}}let Z,I=null,H=(()=>{var B;class k{build(){return new XMLHttpRequest}}return(B=k).\u0275fac=function(D){return new(D||B)},B.\u0275prov=s.Yz7({token:B,factory:B.\u0275fac}),k})();const J=new s.OlP("EventManagerPlugins");let fe=(()=>{var B;class k{constructor(D,F){this._zone=F,this._eventNameToPlugin=new Map,D.forEach(R=>{R.manager=this}),this._plugins=D.slice().reverse()}addEventListener(D,F,R){return this._findPluginFor(F).addEventListener(D,F,R)}getZone(){return this._zone}_findPluginFor(D){let F=this._eventNameToPlugin.get(D);if(F)return F;if(F=this._plugins.find(P=>P.supports(D)),!F)throw new s.vHH(5101,!1);return this._eventNameToPlugin.set(D,F),F}}return(B=k).\u0275fac=function(D){return new(D||B)(s.LFG(J),s.LFG(s.R0b))},B.\u0275prov=s.Yz7({token:B,factory:B.\u0275fac}),k})();class Se{constructor(k){this._doc=k}}const Ie="ng-app-id";let Ke=(()=>{var B;class k{constructor(D,F,R,P={}){this.doc=D,this.appId=F,this.nonce=R,this.platformId=P,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,m.PM)(P),this.resetHostNodes()}addStyles(D){for(const F of D)1===this.changeUsageCount(F,1)&&this.onStyleAdded(F)}removeStyles(D){for(const F of D)this.changeUsageCount(F,-1)<=0&&this.onStyleRemoved(F)}ngOnDestroy(){const D=this.styleNodesInDOM;D&&(D.forEach(F=>F.remove()),D.clear());for(const F of this.getAllStyles())this.onStyleRemoved(F);this.resetHostNodes()}addHost(D){this.hostNodes.add(D);for(const F of this.getAllStyles())this.addStyleToHost(D,F)}removeHost(D){this.hostNodes.delete(D)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(D){for(const F of this.hostNodes)this.addStyleToHost(F,D)}onStyleRemoved(D){const F=this.styleRef;F.get(D)?.elements?.forEach(R=>R.remove()),F.delete(D)}collectServerRenderedStyles(){const D=this.doc.head?.querySelectorAll(`style[${Ie}="${this.appId}"]`);if(D?.length){const F=new Map;return D.forEach(R=>{null!=R.textContent&&F.set(R.textContent,R)}),F}return null}changeUsageCount(D,F){const R=this.styleRef;if(R.has(D)){const P=R.get(D);return P.usage+=F,P.usage}return R.set(D,{usage:F,elements:[]}),F}getStyleElement(D,F){const R=this.styleNodesInDOM,P=R?.get(F);if(P?.parentNode===D)return R.delete(F),P.removeAttribute(Ie),P;{const V=this.doc.createElement("style");return this.nonce&&V.setAttribute("nonce",this.nonce),V.textContent=F,this.platformIsServer&&V.setAttribute(Ie,this.appId),V}}addStyleToHost(D,F){const R=this.getStyleElement(D,F);D.appendChild(R);const P=this.styleRef,V=P.get(F)?.elements;V?V.push(R):P.set(F,{elements:[R],usage:1})}resetHostNodes(){const D=this.hostNodes;D.clear(),D.add(this.doc.head)}}return(B=k).\u0275fac=function(D){return new(D||B)(s.LFG(m.K0),s.LFG(s.AFp),s.LFG(s.Ojb,8),s.LFG(s.Lbi))},B.\u0275prov=s.Yz7({token:B,factory:B.\u0275fac}),k})();const we={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/"},Je=/%COMP%/g,z=new s.OlP("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function ge(B,k){return k.map(O=>O.replace(Je,B))}let xe=(()=>{var B;class k{constructor(D,F,R,P,V,me,ne,le=null){this.eventManager=D,this.sharedStylesHost=F,this.appId=R,this.removeStylesOnCompDestroy=P,this.doc=V,this.platformId=me,this.ngZone=ne,this.nonce=le,this.rendererByCompId=new Map,this.platformIsServer=(0,m.PM)(me),this.defaultRenderer=new Ge(D,V,ne,this.platformIsServer)}createRenderer(D,F){if(!D||!F)return this.defaultRenderer;this.platformIsServer&&F.encapsulation===s.ifc.ShadowDom&&(F={...F,encapsulation:s.ifc.Emulated});const R=this.getOrCreateRenderer(D,F);return R instanceof $t?R.applyToHost(D):R instanceof Gt&&R.applyStyles(),R}getOrCreateRenderer(D,F){const R=this.rendererByCompId;let P=R.get(F.id);if(!P){const V=this.doc,me=this.ngZone,ne=this.eventManager,le=this.sharedStylesHost,je=this.removeStylesOnCompDestroy,oe=this.platformIsServer;switch(F.encapsulation){case s.ifc.Emulated:P=new $t(ne,le,F,this.appId,je,V,me,oe);break;case s.ifc.ShadowDom:return new Pt(ne,le,D,F,V,me,this.nonce,oe);default:P=new Gt(ne,le,F,je,V,me,oe)}R.set(F.id,P)}return P}ngOnDestroy(){this.rendererByCompId.clear()}}return(B=k).\u0275fac=function(D){return new(D||B)(s.LFG(fe),s.LFG(Ke),s.LFG(s.AFp),s.LFG(z),s.LFG(m.K0),s.LFG(s.Lbi),s.LFG(s.R0b),s.LFG(s.Ojb))},B.\u0275prov=s.Yz7({token:B,factory:B.\u0275fac}),k})();class Ge{constructor(k,O,D,F){this.eventManager=k,this.doc=O,this.ngZone=D,this.platformIsServer=F,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(k,O){return O?this.doc.createElementNS(we[O]||O,k):this.doc.createElement(k)}createComment(k){return this.doc.createComment(k)}createText(k){return this.doc.createTextNode(k)}appendChild(k,O){(Mt(k)?k.content:k).appendChild(O)}insertBefore(k,O,D){k&&(Mt(k)?k.content:k).insertBefore(O,D)}removeChild(k,O){k&&k.removeChild(O)}selectRootElement(k,O){let D="string"==typeof k?this.doc.querySelector(k):k;if(!D)throw new s.vHH(-5104,!1);return O||(D.textContent=""),D}parentNode(k){return k.parentNode}nextSibling(k){return k.nextSibling}setAttribute(k,O,D,F){if(F){O=F+":"+O;const R=we[F];R?k.setAttributeNS(R,O,D):k.setAttribute(O,D)}else k.setAttribute(O,D)}removeAttribute(k,O,D){if(D){const F=we[D];F?k.removeAttributeNS(F,O):k.removeAttribute(`${D}:${O}`)}else k.removeAttribute(O)}addClass(k,O){k.classList.add(O)}removeClass(k,O){k.classList.remove(O)}setStyle(k,O,D,F){F&(s.JOm.DashCase|s.JOm.Important)?k.style.setProperty(O,D,F&s.JOm.Important?"important":""):k.style[O]=D}removeStyle(k,O,D){D&s.JOm.DashCase?k.style.removeProperty(O):k.style[O]=""}setProperty(k,O,D){k[O]=D}setValue(k,O){k.nodeValue=O}listen(k,O,D){if("string"==typeof k&&!(k=(0,m.q)().getGlobalEventTarget(this.doc,k)))throw new Error(`Unsupported event target ${k} for event ${O}`);return this.eventManager.addEventListener(k,O,this.decoratePreventDefault(D))}decoratePreventDefault(k){return O=>{if("__ngUnwrap__"===O)return k;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>k(O)):k(O))&&O.preventDefault()}}}function Mt(B){return"TEMPLATE"===B.tagName&&void 0!==B.content}class Pt extends Ge{constructor(k,O,D,F,R,P,V,me){super(k,R,P,me),this.sharedStylesHost=O,this.hostEl=D,this.shadowRoot=D.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const ne=ge(F.id,F.styles);for(const le of ne){const je=document.createElement("style");V&&je.setAttribute("nonce",V),je.textContent=le,this.shadowRoot.appendChild(je)}}nodeOrShadowRoot(k){return k===this.hostEl?this.shadowRoot:k}appendChild(k,O){return super.appendChild(this.nodeOrShadowRoot(k),O)}insertBefore(k,O,D){return super.insertBefore(this.nodeOrShadowRoot(k),O,D)}removeChild(k,O){return super.removeChild(this.nodeOrShadowRoot(k),O)}parentNode(k){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(k)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Gt extends Ge{constructor(k,O,D,F,R,P,V,me){super(k,R,P,V),this.sharedStylesHost=O,this.removeStylesOnCompDestroy=F,this.styles=me?ge(me,D.styles):D.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class $t extends Gt{constructor(k,O,D,F,R,P,V,me){const ne=F+"-"+D.id;super(k,O,D,R,P,V,me,ne),this.contentAttr=function ie(B){return"_ngcontent-%COMP%".replace(Je,B)}(ne),this.hostAttr=function ue(B){return"_nghost-%COMP%".replace(Je,B)}(ne)}applyToHost(k){this.applyStyles(),this.setAttribute(k,this.hostAttr,"")}createElement(k,O){const D=super.createElement(k,O);return super.setAttribute(D,this.contentAttr,""),D}}let gn=(()=>{var B;class k extends Se{constructor(D){super(D)}supports(D){return!0}addEventListener(D,F,R){return D.addEventListener(F,R,!1),()=>this.removeEventListener(D,F,R)}removeEventListener(D,F,R){return D.removeEventListener(F,R)}}return(B=k).\u0275fac=function(D){return new(D||B)(s.LFG(m.K0))},B.\u0275prov=s.Yz7({token:B,factory:B.\u0275fac}),k})();const Cn=["alt","control","meta","shift"],Ue={"\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"},$e={alt:B=>B.altKey,control:B=>B.ctrlKey,meta:B=>B.metaKey,shift:B=>B.shiftKey};let Ye=(()=>{var B;class k extends Se{constructor(D){super(D)}supports(D){return null!=k.parseEventName(D)}addEventListener(D,F,R){const P=k.parseEventName(F),V=k.eventCallback(P.fullKey,R,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,m.q)().onAndCancel(D,P.domEventName,V))}static parseEventName(D){const F=D.toLowerCase().split("."),R=F.shift();if(0===F.length||"keydown"!==R&&"keyup"!==R)return null;const P=k._normalizeKey(F.pop());let V="",me=F.indexOf("code");if(me>-1&&(F.splice(me,1),V="code."),Cn.forEach(le=>{const je=F.indexOf(le);je>-1&&(F.splice(je,1),V+=le+".")}),V+=P,0!=F.length||0===P.length)return null;const ne={};return ne.domEventName=R,ne.fullKey=V,ne}static matchEventFullKeyCode(D,F){let R=Ue[D.key]||D.key,P="";return F.indexOf("code.")>-1&&(R=D.code,P="code."),!(null==R||!R)&&(R=R.toLowerCase()," "===R?R="space":"."===R&&(R="dot"),Cn.forEach(V=>{V!==R&&(0,$e[V])(D)&&(P+=V+".")}),P+=R,P===F)}static eventCallback(D,F,R){return P=>{k.matchEventFullKeyCode(P,D)&&R.runGuarded(()=>F(P))}}static _normalizeKey(D){return"esc"===D?"escape":D}}return(B=k).\u0275fac=function(D){return new(D||B)(s.LFG(m.K0))},B.\u0275prov=s.Yz7({token:B,factory:B.\u0275fac}),k})();const N=(0,s.eFA)(s._c5,"browser",[{provide:s.Lbi,useValue:m.bD},{provide:s.g9A,useValue:function ve(){U.makeCurrent()},multi:!0},{provide:m.K0,useFactory:function ye(){return(0,s.RDi)(document),document},deps:[]}]),Ae=new s.OlP(""),Le=[{provide:s.rWj,useClass:class te{addToWindow(k){s.dqk.getAngularTestability=(D,F=!0)=>{const R=k.findTestabilityInTree(D,F);if(null==R)throw new s.vHH(5103,!1);return R},s.dqk.getAllAngularTestabilities=()=>k.getAllTestabilities(),s.dqk.getAllAngularRootElements=()=>k.getAllRootElements(),s.dqk.frameworkStabilizers||(s.dqk.frameworkStabilizers=[]),s.dqk.frameworkStabilizers.push(D=>{const F=s.dqk.getAllAngularTestabilities();let R=F.length,P=!1;const V=function(me){P=P||me,R--,0==R&&D(P)};F.forEach(me=>{me.whenStable(V)})})}findTestabilityInTree(k,O,D){return null==O?null:k.getTestability(O)??(D?(0,m.q)().isShadowRoot(O)?this.findTestabilityInTree(k,O.host,!0):this.findTestabilityInTree(k,O.parentElement,!0):null)}},deps:[]},{provide:s.lri,useClass:s.dDg,deps:[s.R0b,s.eoX,s.rWj]},{provide:s.dDg,useClass:s.dDg,deps:[s.R0b,s.eoX,s.rWj]}],St=[{provide:s.zSh,useValue:"root"},{provide:s.qLn,useFactory:function qe(){return new s.qLn},deps:[]},{provide:J,useClass:gn,multi:!0,deps:[m.K0,s.R0b,s.Lbi]},{provide:J,useClass:Ye,multi:!0,deps:[m.K0]},xe,Ke,fe,{provide:s.FYo,useExisting:xe},{provide:m.JF,useClass:H,deps:[]},[]];let vt=(()=>{var B;class k{constructor(D){}static withServerTransition(D){return{ngModule:k,providers:[{provide:s.AFp,useValue:D.appId}]}}}return(B=k).\u0275fac=function(D){return new(D||B)(s.LFG(Ae,12))},B.\u0275mod=s.oAB({type:B}),B.\u0275inj=s.cJS({providers:[...St,...Le],imports:[m.ez,s.hGG]}),k})(),ir=(()=>{var B;class k{constructor(D){this._doc=D}getTitle(){return this._doc.title}setTitle(D){this._doc.title=D||""}}return(B=k).\u0275fac=function(D){return new(D||B)(s.LFG(m.K0))},B.\u0275prov=s.Yz7({token:B,factory:function(D){let F=null;return F=D?new D:function Ct(){return new ir((0,s.LFG)(m.K0))}(),F},providedIn:"root"}),k})();typeof window<"u"&&window;let In=(()=>{var B;class k{}return(B=k).\u0275fac=function(D){return new(D||B)},B.\u0275prov=s.Yz7({token:B,factory:function(D){let F=null;return F=D?new(D||B):s.LFG(Ze),F},providedIn:"root"}),k})(),Ze=(()=>{var B;class k extends In{constructor(D){super(),this._doc=D}sanitize(D,F){if(null==F)return null;switch(D){case s.q3G.NONE:return F;case s.q3G.HTML:return(0,s.qzn)(F,"HTML")?(0,s.z3N)(F):(0,s.EiD)(this._doc,String(F)).toString();case s.q3G.STYLE:return(0,s.qzn)(F,"Style")?(0,s.z3N)(F):F;case s.q3G.SCRIPT:if((0,s.qzn)(F,"Script"))return(0,s.z3N)(F);throw new s.vHH(5200,!1);case s.q3G.URL:return(0,s.qzn)(F,"URL")?(0,s.z3N)(F):(0,s.mCW)(String(F));case s.q3G.RESOURCE_URL:if((0,s.qzn)(F,"ResourceURL"))return(0,s.z3N)(F);throw new s.vHH(5201,!1);default:throw new s.vHH(5202,!1)}}bypassSecurityTrustHtml(D){return(0,s.JVY)(D)}bypassSecurityTrustStyle(D){return(0,s.L6k)(D)}bypassSecurityTrustScript(D){return(0,s.eBb)(D)}bypassSecurityTrustUrl(D){return(0,s.LAX)(D)}bypassSecurityTrustResourceUrl(D){return(0,s.pB0)(D)}}return(B=k).\u0275fac=function(D){return new(D||B)(s.LFG(m.K0))},B.\u0275prov=s.Yz7({token:B,factory:function(D){let F=null;return F=D?new D:function dr(B){return new Ze(B.get(m.K0))}(s.LFG(s.zs3)),F},providedIn:"root"}),k})()},9790:(ft,De,v)=>{v.d(De,{gz:()=>Hi,m2:()=>Mr,F0:()=>xr,rH:()=>Uo,Od:()=>ts,Bz:()=>Gi,lC:()=>Nr});var s=v(5879),m=v(5592),W=v(4674),I=v(2459),Y=v(2096),Z=v(5619),re=v(2572),te=v(6973),H=v(5211),J=v(4911),fe=v(8407),Se=v(8504),Ie=v(6232),Ke=v(7394),we=v(9360),Je=v(8251);function Ve(){return(0,we.e)((d,h)=>{let y=null;d._refCount++;const p=(0,Je.x)(h,void 0,void 0,void 0,()=>{if(!d||d._refCount<=0||0<--d._refCount)return void(y=null);const x=d._connection,j=y;y=null,x&&(!j||x===j)&&x.unsubscribe(),h.unsubscribe()});d.subscribe(p),p.closed||(y=d.connect())})}class ut extends m.y{constructor(h,y){super(),this.source=h,this.subjectFactory=y,this._subject=null,this._refCount=0,this._connection=null,(0,we.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 Ke.w0;const y=this.getSubject();h.add(this.source.subscribe((0,Je.x)(y,void 0,()=>{this._teardown(),y.complete()},p=>{this._teardown(),y.error(p)},()=>this._teardown()))),h.closed&&(this._connection=null,h=Ke.w0.EMPTY)}return h}refCount(){return Ve()(this)}}var ke=v(8645),G=v(6814),z=v(7398),ie=v(4664),ue=v(8180),ge=v(7921),xe=v(2181),Ge=v(1631),nt=v(1374),ht=v(6328),Mt=v(9397),Pt=v(6306),Gt=v(6699),$t=v(3572);function gn(d){return d<=0?()=>Ie.E:(0,we.e)((h,y)=>{let p=[];h.subscribe((0,Je.x)(y,x=>{p.push(x),d<p.length&&p.shift()},()=>{for(const x of p)y.next(x);y.complete()},void 0,()=>{p=null}))})}var Cn=v(3026),Ue=v(2737),Qe=v(4716),lt=v(9773),dt=v(7537),At=v(6593);const ve="primary",qe=Symbol("RouteTitle");class ye{constructor(h){this.params=h||{}}has(h){return Object.prototype.hasOwnProperty.call(this.params,h)}get(h){if(this.has(h)){const y=this.params[h];return Array.isArray(y)?y[0]:y}return null}getAll(h){if(this.has(h)){const y=this.params[h];return Array.isArray(y)?y:[y]}return[]}get keys(){return Object.keys(this.params)}}function Oe(d){return new ye(d)}function N(d,h,y){const p=y.path.split("/");if(p.length>d.length||"full"===y.pathMatch&&(h.hasChildren()||p.length<d.length))return null;const x={};for(let j=0;j<p.length;j++){const q=p[j],Ne=d[j];if(q.startsWith(":"))x[q.substring(1)]=Ne;else if(q!==Ne.path)return null}return{consumed:d.slice(0,p.length),posParams:x}}function Le(d,h){const y=d?Object.keys(d):void 0,p=h?Object.keys(h):void 0;if(!y||!p||y.length!=p.length)return!1;let x;for(let j=0;j<y.length;j++)if(x=y[j],!St(d[x],h[x]))return!1;return!0}function St(d,h){if(Array.isArray(d)&&Array.isArray(h)){if(d.length!==h.length)return!1;const y=[...d].sort(),p=[...h].sort();return y.every((x,j)=>p[j]===x)}return d===h}function vt(d){return d.length>0?d[d.length-1]:null}function Lt(d){return function U(d){return!!d&&(d instanceof m.y||(0,W.m)(d.lift)&&(0,W.m)(d.subscribe))}(d)?d:(0,s.QGY)(d)?(0,I.D)(Promise.resolve(d)):(0,Y.of)(d)}const Mn={exact:function Un(d,h,y){if(!_n(d.segments,h.segments)||!Vt(d.segments,h.segments,y)||d.numberOfChildren!==h.numberOfChildren)return!1;for(const p in h.children)if(!d.children[p]||!Un(d.children[p],h.children[p],y))return!1;return!0},subset:Nt},kn={exact:function ir(d,h){return Le(d,h)},subset:function On(d,h){return Object.keys(h).length<=Object.keys(d).length&&Object.keys(h).every(y=>St(d[y],h[y]))},ignored:()=>!0};function Ct(d,h,y){return Mn[y.paths](d.root,h.root,y.matrixParams)&&kn[y.queryParams](d.queryParams,h.queryParams)&&!("exact"===y.fragment&&d.fragment!==h.fragment)}function Nt(d,h,y){return jt(d,h,h.segments,y)}function jt(d,h,y,p){if(d.segments.length>y.length){const x=d.segments.slice(0,y.length);return!(!_n(x,y)||h.hasChildren()||!Vt(x,y,p))}if(d.segments.length===y.length){if(!_n(d.segments,y)||!Vt(d.segments,y,p))return!1;for(const x in h.children)if(!d.children[x]||!Nt(d.children[x],h.children[x],p))return!1;return!0}{const x=y.slice(0,d.segments.length),j=y.slice(d.segments.length);return!!(_n(d.segments,x)&&Vt(d.segments,x,p)&&d.children[ve])&&jt(d.children[ve],h,j,p)}}function Vt(d,h,y){return h.every((p,x)=>kn[y](d[x].parameters,p.parameters))}class rn{constructor(h=new Xt([],{}),y={},p=null){this.root=h,this.queryParams=y,this.fragment=p}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Oe(this.queryParams)),this._queryParamMap}toString(){return on.serialize(this)}}class Xt{constructor(h,y){this.segments=h,this.children=y,this.parent=null,Object.values(y).forEach(p=>p.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Qn(this)}}class Tn{constructor(h,y){this.path=h,this.parameters=y}get parameterMap(){return this._parameterMap||(this._parameterMap=Oe(this.parameters)),this._parameterMap}toString(){return st(this)}}function _n(d,h){return d.length===h.length&&d.every((y,p)=>y.path===h[p].path)}let Yt=(()=>{var d;class h{}return(d=h).\u0275fac=function(p){return new(p||d)},d.\u0275prov=s.Yz7({token:d,factory:function(){return new or},providedIn:"root"}),h})();class or{parse(h){const y=new P(h);return new rn(y.parseRootSegment(),y.parseQueryParams(),y.parseFragment())}serialize(h){const y=`/${Wn(h.root,!0)}`,p=function en(d){const h=Object.keys(d).map(y=>{const p=d[y];return Array.isArray(p)?p.map(x=>`${dr(y)}=${dr(x)}`).join("&"):`${dr(y)}=${dr(p)}`}).filter(y=>!!y);return h.length?`?${h.join("&")}`:""}(h.queryParams);return`${y}${p}${"string"==typeof h.fragment?`#${function Ze(d){return encodeURI(d)}(h.fragment)}`:""}`}}const on=new or;function Qn(d){return d.segments.map(h=>st(h)).join("/")}function Wn(d,h){if(!d.hasChildren())return Qn(d);if(h){const y=d.children[ve]?Wn(d.children[ve],!1):"",p=[];return Object.entries(d.children).forEach(([x,j])=>{x!==ve&&p.push(`${x}:${Wn(j,!1)}`)}),p.length>0?`${y}(${p.join("//")})`:y}{const y=function Fn(d,h){let y=[];return Object.entries(d.children).forEach(([p,x])=>{p===ve&&(y=y.concat(h(x,p)))}),Object.entries(d.children).forEach(([p,x])=>{p!==ve&&(y=y.concat(h(x,p)))}),y}(d,(p,x)=>x===ve?[Wn(d.children[ve],!1)]:[`${x}:${Wn(p,!1)}`]);return 1===Object.keys(d.children).length&&null!=d.children[ve]?`${Qn(d)}/${y[0]}`:`${Qn(d)}/(${y.join("//")})`}}function In(d){return encodeURIComponent(d).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function dr(d){return In(d).replace(/%3B/gi,";")}function Dt(d){return In(d).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function yt(d){return decodeURIComponent(d)}function We(d){return yt(d.replace(/\+/g,"%20"))}function st(d){return`${Dt(d.path)}${function Ut(d){return Object.keys(d).map(h=>`;${Dt(h)}=${Dt(d[h])}`).join("")}(d.parameters)}`}const Jn=/^[^\/()?;#]+/;function pe(d){const h=d.match(Jn);return h?h[0]:""}const B=/^[^\/()?;=#]+/,O=/^[^=?&#]+/,F=/^[^&#]+/;class P{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 y={};this.peekStartsWith("/(")&&(this.capture("/"),y=this.parseParens(!0));let p={};return this.peekStartsWith("(")&&(p=this.parseParens(!1)),(h.length>0||Object.keys(y).length>0)&&(p[ve]=new Xt(h,y)),p}parseSegment(){const h=pe(this.remaining);if(""===h&&this.peekStartsWith(";"))throw new s.vHH(4009,!1);return this.capture(h),new Tn(yt(h),this.parseMatrixParams())}parseMatrixParams(){const h={};for(;this.consumeOptional(";");)this.parseParam(h);return h}parseParam(h){const y=function k(d){const h=d.match(B);return h?h[0]:""}(this.remaining);if(!y)return;this.capture(y);let p="";if(this.consumeOptional("=")){const x=pe(this.remaining);x&&(p=x,this.capture(p))}h[yt(y)]=yt(p)}parseQueryParam(h){const y=function D(d){const h=d.match(O);return h?h[0]:""}(this.remaining);if(!y)return;this.capture(y);let p="";if(this.consumeOptional("=")){const q=function R(d){const h=d.match(F);return h?h[0]:""}(this.remaining);q&&(p=q,this.capture(p))}const x=We(y),j=We(p);if(h.hasOwnProperty(x)){let q=h[x];Array.isArray(q)||(q=[q],h[x]=q),q.push(j)}else h[x]=j}parseParens(h){const y={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const p=pe(this.remaining),x=this.remaining[p.length];if("/"!==x&&")"!==x&&";"!==x)throw new s.vHH(4010,!1);let j;p.indexOf(":")>-1?(j=p.slice(0,p.indexOf(":")),this.capture(j),this.capture(":")):h&&(j=ve);const q=this.parseChildren();y[j]=1===Object.keys(q).length?q[ve]:new Xt([],q),this.consumeOptional("//")}return y}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,!1)}}function V(d){return d.segments.length>0?new Xt([],{[ve]:d}):d}function me(d){const h={};for(const p of Object.keys(d.children)){const j=me(d.children[p]);if(p===ve&&0===j.segments.length&&j.hasChildren())for(const[q,Ne]of Object.entries(j.children))h[q]=Ne;else(j.segments.length>0||j.hasChildren())&&(h[p]=j)}return function ne(d){if(1===d.numberOfChildren&&d.children[ve]){const h=d.children[ve];return new Xt(d.segments.concat(h.segments),h.children)}return d}(new Xt(d.segments,h))}function le(d){return d instanceof rn}function oe(d){let h;const x=V(function y(j){const q={};for(const bt of j.children){const tt=y(bt);q[bt.outlet]=tt}const Ne=new Xt(j.url,q);return j===d&&(h=Ne),Ne}(d.root));return h??x}function ee(d,h,y,p){let x=d;for(;x.parent;)x=x.parent;if(0===h.length)return ce(x,x,x,y,p);const j=function Xe(d){if("string"==typeof d[0]&&1===d.length&&"/"===d[0])return new rt(!0,0,d);let h=0,y=!1;const p=d.reduce((x,j,q)=>{if("object"==typeof j&&null!=j){if(j.outlets){const Ne={};return Object.entries(j.outlets).forEach(([bt,tt])=>{Ne[bt]="string"==typeof tt?tt.split("/"):tt}),[...x,{outlets:Ne}]}if(j.segmentPath)return[...x,j.segmentPath]}return"string"!=typeof j?[...x,j]:0===q?(j.split("/").forEach((Ne,bt)=>{0==bt&&"."===Ne||(0==bt&&""===Ne?y=!0:".."===Ne?h++:""!=Ne&&x.push(Ne))}),x):[...x,j]},[]);return new rt(y,h,p)}(h);if(j.toRoot())return ce(x,x,new Xt([],{}),y,p);const q=function Ot(d,h,y){if(d.isAbsolute)return new wt(h,!0,0);if(!y)return new wt(h,!1,NaN);if(null===y.parent)return new wt(y,!0,0);const p=Pe(d.commands[0])?0:1;return function Pn(d,h,y){let p=d,x=h,j=y;for(;j>x;){if(j-=x,p=p.parent,!p)throw new s.vHH(4005,!1);x=p.segments.length}return new wt(p,!1,x-j)}(y,y.segments.length-1+p,d.numberOfDoubleDots)}(j,x,d),Ne=q.processChildren?sr(q.segmentGroup,q.index,j.commands):Rn(q.segmentGroup,q.index,j.commands);return ce(x,q.segmentGroup,Ne,y,p)}function Pe(d){return"object"==typeof d&&null!=d&&!d.outlets&&!d.segmentPath}function X(d){return"object"==typeof d&&null!=d&&d.outlets}function ce(d,h,y,p,x){let q,j={};p&&Object.entries(p).forEach(([bt,tt])=>{j[bt]=Array.isArray(tt)?tt.map(Zt=>`${Zt}`):`${tt}`}),q=d===h?y:Ce(d,h,y);const Ne=V(me(q));return new rn(Ne,j,x)}function Ce(d,h,y){const p={};return Object.entries(d.children).forEach(([x,j])=>{p[x]=j===h?y:Ce(j,h,y)}),new Xt(d.segments,p)}class rt{constructor(h,y,p){if(this.isAbsolute=h,this.numberOfDoubleDots=y,this.commands=p,h&&p.length>0&&Pe(p[0]))throw new s.vHH(4003,!1);const x=p.find(X);if(x&&x!==vt(p))throw new s.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class wt{constructor(h,y,p){this.segmentGroup=h,this.processChildren=y,this.index=p}}function Rn(d,h,y){if(d||(d=new Xt([],{})),0===d.segments.length&&d.hasChildren())return sr(d,h,y);const p=function Vr(d,h,y){let p=0,x=h;const j={match:!1,pathIndex:0,commandIndex:0};for(;x<d.segments.length;){if(p>=y.length)return j;const q=d.segments[x],Ne=y[p];if(X(Ne))break;const bt=`${Ne}`,tt=p<y.length-1?y[p+1]:null;if(x>0&&void 0===bt)break;if(bt&&tt&&"object"==typeof tt&&void 0===tt.outlets){if(!zr(bt,tt,q))return j;p+=2}else{if(!zr(bt,{},q))return j;p++}x++}return{match:!0,pathIndex:x,commandIndex:p}}(d,h,y),x=y.slice(p.commandIndex);if(p.match&&p.pathIndex<d.segments.length){const j=new Xt(d.segments.slice(0,p.pathIndex),{});return j.children[ve]=new Xt(d.segments.slice(p.pathIndex),d.children),sr(j,0,x)}return p.match&&0===x.length?new Xt(d.segments,{}):p.match&&!d.hasChildren()?Ar(d,h,y):p.match?sr(d,0,x):Ar(d,h,y)}function sr(d,h,y){if(0===y.length)return new Xt(d.segments,{});{const p=function zn(d){return X(d[0])?d[0].outlets:{[ve]:d}}(y),x={};if(Object.keys(p).some(j=>j!==ve)&&d.children[ve]&&1===d.numberOfChildren&&0===d.children[ve].segments.length){const j=sr(d.children[ve],h,y);return new Xt(d.segments,j.children)}return Object.entries(p).forEach(([j,q])=>{"string"==typeof q&&(q=[q]),null!==q&&(x[j]=Rn(d.children[j],h,q))}),Object.entries(d.children).forEach(([j,q])=>{void 0===p[j]&&(x[j]=q)}),new Xt(d.segments,x)}}function Ar(d,h,y){const p=d.segments.slice(0,h);let x=0;for(;x<y.length;){const j=y[x];if(X(j)){const bt=Ln(j.outlets);return new Xt(p,bt)}if(0===x&&Pe(y[0])){p.push(new Tn(d.segments[h].path,Hn(y[0]))),x++;continue}const q=X(j)?j.outlets[ve]:`${j}`,Ne=x<y.length-1?y[x+1]:null;q&&Ne&&Pe(Ne)?(p.push(new Tn(q,Hn(Ne))),x+=2):(p.push(new Tn(q,{})),x++)}return new Xt(p,{})}function Ln(d){const h={};return Object.entries(d).forEach(([y,p])=>{"string"==typeof p&&(p=[p]),null!==p&&(h[y]=Ar(new Xt([],{}),0,p))}),h}function Hn(d){const h={};return Object.entries(d).forEach(([y,p])=>h[y]=`${p}`),h}function zr(d,h,y){return d==y.path&&Le(h,y.parameters)}const Or="imperative";class An{constructor(h,y){this.id=h,this.url=y}}class Pr extends An{constructor(h,y,p="imperative",x=null){super(h,y),this.type=0,this.navigationTrigger=p,this.restoredState=x}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Mr extends An{constructor(h,y,p){super(h,y),this.urlAfterRedirects=p,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Rr extends An{constructor(h,y,p,x){super(h,y),this.reason=p,this.code=x,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class ii extends An{constructor(h,y,p,x){super(h,y),this.reason=p,this.code=x,this.type=16}}class Xr extends An{constructor(h,y,p,x){super(h,y),this.error=p,this.target=x,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class yr extends An{constructor(h,y,p,x){super(h,y),this.urlAfterRedirects=p,this.state=x,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Tr extends An{constructor(h,y,p,x){super(h,y),this.urlAfterRedirects=p,this.state=x,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ai extends An{constructor(h,y,p,x,j){super(h,y),this.urlAfterRedirects=p,this.state=x,this.shouldActivate=j,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class ji extends An{constructor(h,y,p,x){super(h,y),this.urlAfterRedirects=p,this.state=x,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class zo extends An{constructor(h,y,p,x){super(h,y),this.urlAfterRedirects=p,this.state=x,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ji{constructor(h){this.route=h,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Oo{constructor(h){this.route=h,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class yo{constructor(h){this.snapshot=h,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class bo{constructor(h){this.snapshot=h,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Oi{constructor(h){this.snapshot=h,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class br{constructor(h){this.snapshot=h,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class oi{constructor(h,y,p){this.routerEvent=h,this.position=y,this.anchor=p,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class pi{}class Eo{constructor(h){this.url=h}}class Pi{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new er,this.attachRef=null}}let er=(()=>{var d;class h{constructor(){this.contexts=new Map}onChildOutletCreated(p,x){const j=this.getOrCreateContext(p);j.outlet=x,this.contexts.set(p,j)}onChildOutletDestroyed(p){const x=this.getContext(p);x&&(x.outlet=null,x.attachRef=null)}onOutletDeactivated(){const p=this.contexts;return this.contexts=new Map,p}onOutletReAttached(p){this.contexts=p}getOrCreateContext(p){let x=this.getContext(p);return x||(x=new Pi,this.contexts.set(p,x)),x}getContext(p){return this.contexts.get(p)||null}}return(d=h).\u0275fac=function(p){return new(p||d)},d.\u0275prov=s.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),h})();class qi{constructor(h){this._root=h}get root(){return this._root.value}parent(h){const y=this.pathFromRoot(h);return y.length>1?y[y.length-2]:null}children(h){const y=Ui(h,this._root);return y?y.children.map(p=>p.value):[]}firstChild(h){const y=Ui(h,this._root);return y&&y.children.length>0?y.children[0].value:null}siblings(h){const y=Xi(h,this._root);return y.length<2?[]:y[y.length-2].children.map(x=>x.value).filter(x=>x!==h)}pathFromRoot(h){return Xi(h,this._root).map(y=>y.value)}}function Ui(d,h){if(d===h.value)return h;for(const y of h.children){const p=Ui(d,y);if(p)return p}return null}function Xi(d,h){if(d===h.value)return[h];for(const y of h.children){const p=Xi(d,y);if(p.length)return p.unshift(h),p}return[]}class un{constructor(h,y){this.value=h,this.children=y}toString(){return`TreeNode(${this.value})`}}function fr(d){const h={};return d&&d.children.forEach(y=>h[y.value.outlet]=y),h}class wr extends qi{constructor(h,y){super(h),this.snapshot=y,ar(this,h)}toString(){return this.snapshot.toString()}}function Dr(d,h){const y=function Gr(d,h){const q=new Go([],{},{},"",{},ve,h,null,{});return new Cs("",new un(q,[]))}(0,h),p=new Z.X([new Tn("",{})]),x=new Z.X({}),j=new Z.X({}),q=new Z.X({}),Ne=new Z.X(""),bt=new Hi(p,x,q,Ne,j,ve,h,y.root);return bt.snapshot=y.root,new wr(new un(bt,[]),y)}class Hi{constructor(h,y,p,x,j,q,Ne,bt){this.urlSubject=h,this.paramsSubject=y,this.queryParamsSubject=p,this.fragmentSubject=x,this.dataSubject=j,this.outlet=q,this.component=Ne,this._futureSnapshot=bt,this.title=this.dataSubject?.pipe((0,z.U)(tt=>tt[qe]))??(0,Y.of)(void 0),this.url=h,this.params=y,this.queryParams=p,this.fragment=x,this.data=j}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe((0,z.U)(h=>Oe(h)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,z.U)(h=>Oe(h)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Po(d,h="emptyOnly"){const y=d.pathFromRoot;let p=0;if("always"!==h)for(p=y.length-1;p>=1;){const x=y[p],j=y[p-1];if(x.routeConfig&&""===x.routeConfig.path)p--;else{if(j.component)break;p--}}return function Ro(d){return d.reduce((h,y)=>({params:{...h.params,...y.params},data:{...h.data,...y.data},resolve:{...y.data,...h.resolve,...y.routeConfig?.data,...y._resolvedData}}),{params:{},data:{},resolve:{}})}(y.slice(p))}class Go{get title(){return this.data?.[qe]}constructor(h,y,p,x,j,q,Ne,bt,tt){this.url=h,this.params=y,this.queryParams=p,this.fragment=x,this.data=j,this.outlet=q,this.component=Ne,this.routeConfig=bt,this._resolve=tt}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=Oe(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Oe(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(p=>p.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Cs extends qi{constructor(h,y){super(y),this.url=h,ar(this,y)}toString(){return It(this._root)}}function ar(d,h){h.value._routerState=d,h.children.forEach(y=>ar(d,y))}function It(d){const h=d.children.length>0?` { ${d.children.map(It).join(", ")} } `:"";return`${d.value}${h}`}function sn(d){if(d.snapshot){const h=d.snapshot,y=d._futureSnapshot;d.snapshot=y,Le(h.queryParams,y.queryParams)||d.queryParamsSubject.next(y.queryParams),h.fragment!==y.fragment&&d.fragmentSubject.next(y.fragment),Le(h.params,y.params)||d.paramsSubject.next(y.params),function Ae(d,h){if(d.length!==h.length)return!1;for(let y=0;y<d.length;++y)if(!Le(d[y],h[y]))return!1;return!0}(h.url,y.url)||d.urlSubject.next(y.url),Le(h.data,y.data)||d.dataSubject.next(y.data)}else d.snapshot=d._futureSnapshot,d.dataSubject.next(d._futureSnapshot.data)}function Gn(d,h){const y=Le(d.params,h.params)&&function cn(d,h){return _n(d,h)&&d.every((y,p)=>Le(y.parameters,h[p].parameters))}(d.url,h.url);return y&&!(!d.parent!=!h.parent)&&(!d.parent||Gn(d.parent,h.parent))}let Nr=(()=>{var d;class h{constructor(){this.activated=null,this._activatedRoute=null,this.name=ve,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)(er),this.location=(0,s.f3M)(s.s_b),this.changeDetector=(0,s.f3M)(s.sBO),this.environmentInjector=(0,s.f3M)(s.lqb),this.inputBinder=(0,s.f3M)(hr,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(p){if(p.name){const{firstChange:x,previousValue:j}=p.name;if(x)return;this.isTrackedInParentContexts(j)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(j)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(p){return this.parentContexts.getContext(p)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const p=this.parentContexts.getContext(this.name);p?.route&&(p.attachRef?this.attach(p.attachRef,p.route):this.activateWith(p.route,p.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new s.vHH(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new s.vHH(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new s.vHH(4012,!1);this.location.detach();const p=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(p.instance),p}attach(p,x){this.activated=p,this._activatedRoute=x,this.location.insert(p.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(p.instance)}deactivate(){if(this.activated){const p=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(p)}}activateWith(p,x){if(this.isActivated)throw new s.vHH(4013,!1);this._activatedRoute=p;const j=this.location,Ne=p.snapshot.component,bt=this.parentContexts.getOrCreateContext(this.name).children,tt=new ui(p,bt,j.injector);this.activated=j.createComponent(Ne,{index:j.length,injector:tt,environmentInjector:x??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}}return(d=h).\u0275fac=function(p){return new(p||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]}),h})();class ui{constructor(h,y,p){this.route=h,this.childContexts=y,this.parent=p}get(h,y){return h===Hi?this.route:h===er?this.childContexts:this.parent.get(h,y)}}const hr=new s.OlP("");let Ri=(()=>{var d;class h{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(p){this.unsubscribeFromRouteData(p),this.subscribeToRouteData(p)}unsubscribeFromRouteData(p){this.outletDataSubscriptions.get(p)?.unsubscribe(),this.outletDataSubscriptions.delete(p)}subscribeToRouteData(p){const{activatedRoute:x}=p,j=(0,re.a)([x.queryParams,x.params,x.data]).pipe((0,ie.w)(([q,Ne,bt],tt)=>(bt={...q,...Ne,...bt},0===tt?(0,Y.of)(bt):Promise.resolve(bt)))).subscribe(q=>{if(!p.isActivated||!p.activatedComponentRef||p.activatedRoute!==x||null===x.component)return void this.unsubscribeFromRouteData(p);const Ne=(0,s.qFp)(x.component);if(Ne)for(const{templateName:bt}of Ne.inputs)p.activatedComponentRef.setInput(bt,q[bt]);else this.unsubscribeFromRouteData(p)});this.outletDataSubscriptions.set(p,j)}}return(d=h).\u0275fac=function(p){return new(p||d)},d.\u0275prov=s.Yz7({token:d,factory:d.\u0275fac}),h})();function Wr(d,h,y){if(y&&d.shouldReuseRoute(h.value,y.value.snapshot)){const p=y.value;p._futureSnapshot=h.value;const x=function Di(d,h,y){return h.children.map(p=>{for(const x of y.children)if(d.shouldReuseRoute(p.value,x.value.snapshot))return Wr(d,p,x);return Wr(d,p)})}(d,h,y);return new un(p,x)}{if(d.shouldAttach(h.value)){const j=d.retrieve(h.value);if(null!==j){const q=j.route;return q.value._futureSnapshot=h.value,q.children=h.children.map(Ne=>Wr(d,Ne)),q}}const p=function Jt(d){return new Hi(new Z.X(d.url),new Z.X(d.params),new Z.X(d.queryParams),new Z.X(d.fragment),new Z.X(d.data),d.outlet,d.component,d)}(h.value),x=h.children.map(j=>Wr(d,j));return new un(p,x)}}const Ni="ngNavigationCancelingError";function Me(d,h){const{redirectTo:y,navigationBehaviorOptions:p}=le(h)?{redirectTo:h,navigationBehaviorOptions:void 0}:h,x=be(!1,0,h);return x.url=y,x.navigationBehaviorOptions=p,x}function be(d,h,y){const p=new Error("NavigationCancelingError: "+(d||""));return p[Ni]=!0,p.cancellationCode=h,y&&(p.url=y),p}function ot(d){return d&&d[Ni]}let mt=(()=>{var d;class h{}return(d=h).\u0275fac=function(p){return new(p||d)},d.\u0275cmp=s.Xpm({type:d,selectors:[["ng-component"]],standalone:!0,features:[s.jDz],decls:1,vars:0,template:function(p,x){1&p&&s._UZ(0,"router-outlet")},dependencies:[Nr],encapsulation:2}),h})();function Ci(d){const h=d.children&&d.children.map(Ci),y=h?{...d,children:h}:{...d};return!y.component&&!y.loadComponent&&(h||y.loadChildren)&&y.outlet&&y.outlet!==ve&&(y.component=mt),y}function Sr(d){return d.outlet||ve}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 y=h.routeConfig;if(y?._loadedInjector)return y._loadedInjector;if(y?._injector)return y._injector}return null}class En{constructor(h,y,p,x,j){this.routeReuseStrategy=h,this.futureState=y,this.currState=p,this.forwardEvent=x,this.inputBindingEnabled=j}activate(h){const y=this.futureState._root,p=this.currState?this.currState._root:null;this.deactivateChildRoutes(y,p,h),sn(this.futureState.root),this.activateChildRoutes(y,p,h)}deactivateChildRoutes(h,y,p){const x=fr(y);h.children.forEach(j=>{const q=j.value.outlet;this.deactivateRoutes(j,x[q],p),delete x[q]}),Object.values(x).forEach(j=>{this.deactivateRouteAndItsChildren(j,p)})}deactivateRoutes(h,y,p){const x=h.value,j=y?y.value:null;if(x===j)if(x.component){const q=p.getContext(x.outlet);q&&this.deactivateChildRoutes(h,y,q.children)}else this.deactivateChildRoutes(h,y,p);else j&&this.deactivateRouteAndItsChildren(y,p)}deactivateRouteAndItsChildren(h,y){h.value.component&&this.routeReuseStrategy.shouldDetach(h.value.snapshot)?this.detachAndStoreRouteSubtree(h,y):this.deactivateRouteAndOutlet(h,y)}detachAndStoreRouteSubtree(h,y){const p=y.getContext(h.value.outlet),x=p&&h.value.component?p.children:y,j=fr(h);for(const q of Object.keys(j))this.deactivateRouteAndItsChildren(j[q],x);if(p&&p.outlet){const q=p.outlet.detach(),Ne=p.children.onOutletDeactivated();this.routeReuseStrategy.store(h.value.snapshot,{componentRef:q,route:h,contexts:Ne})}}deactivateRouteAndOutlet(h,y){const p=y.getContext(h.value.outlet),x=p&&h.value.component?p.children:y,j=fr(h);for(const q of Object.keys(j))this.deactivateRouteAndItsChildren(j[q],x);p&&(p.outlet&&(p.outlet.deactivate(),p.children.onOutletDeactivated()),p.attachRef=null,p.route=null)}activateChildRoutes(h,y,p){const x=fr(y);h.children.forEach(j=>{this.activateRoutes(j,x[j.value.outlet],p),this.forwardEvent(new br(j.value.snapshot))}),h.children.length&&this.forwardEvent(new bo(h.value.snapshot))}activateRoutes(h,y,p){const x=h.value,j=y?y.value:null;if(sn(x),x===j)if(x.component){const q=p.getOrCreateContext(x.outlet);this.activateChildRoutes(h,y,q.children)}else this.activateChildRoutes(h,y,p);else if(x.component){const q=p.getOrCreateContext(x.outlet);if(this.routeReuseStrategy.shouldAttach(x.snapshot)){const Ne=this.routeReuseStrategy.retrieve(x.snapshot);this.routeReuseStrategy.store(x.snapshot,null),q.children.onOutletReAttached(Ne.contexts),q.attachRef=Ne.componentRef,q.route=Ne.route.value,q.outlet&&q.outlet.attach(Ne.componentRef,Ne.route.value),sn(Ne.route.value),this.activateChildRoutes(h,null,q.children)}else{const Ne=kr(x.snapshot);q.attachRef=null,q.route=x,q.injector=Ne,q.outlet&&q.outlet.activateWith(x,q.injector),this.activateChildRoutes(h,null,q.children)}}else this.activateChildRoutes(h,null,p)}}class wi{constructor(h){this.path=h,this.route=this.path[this.path.length-1]}}class nr{constructor(h,y){this.component=h,this.route=y}}function Fr(d,h,y){const p=d._root;return Yr(p,h?h._root:null,y,[p.value])}function fi(d,h){const y=Symbol(),p=h.get(d,y);return p===y?"function"!=typeof d||(0,s.Z0I)(d)?h.get(d):d:p}function Yr(d,h,y,p,x={canDeactivateChecks:[],canActivateChecks:[]}){const j=fr(h);return d.children.forEach(q=>{(function ai(d,h,y,p,x={canDeactivateChecks:[],canActivateChecks:[]}){const j=d.value,q=h?h.value:null,Ne=y?y.getContext(d.value.outlet):null;if(q&&j.routeConfig===q.routeConfig){const bt=function ao(d,h,y){if("function"==typeof y)return y(d,h);switch(y){case"pathParamsChange":return!_n(d.url,h.url);case"pathParamsOrQueryParamsChange":return!_n(d.url,h.url)||!Le(d.queryParams,h.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Gn(d,h)||!Le(d.queryParams,h.queryParams);default:return!Gn(d,h)}}(q,j,j.routeConfig.runGuardsAndResolvers);bt?x.canActivateChecks.push(new wi(p)):(j.data=q.data,j._resolvedData=q._resolvedData),Yr(d,h,j.component?Ne?Ne.children:null:y,p,x),bt&&Ne&&Ne.outlet&&Ne.outlet.isActivated&&x.canDeactivateChecks.push(new nr(Ne.outlet.component,q))}else q&&$i(h,Ne,x),x.canActivateChecks.push(new wi(p)),Yr(d,null,j.component?Ne?Ne.children:null:y,p,x)})(q,j[q.value.outlet],y,p.concat([q.value]),x),delete j[q.value.outlet]}),Object.entries(j).forEach(([q,Ne])=>$i(Ne,y.getContext(q),x)),x}function $i(d,h,y){const p=fr(d),x=d.value;Object.entries(p).forEach(([j,q])=>{$i(q,x.component?h?h.children.getContext(j):null:h,y)}),y.canDeactivateChecks.push(new nr(x.component&&h&&h.outlet&&h.outlet.isActivated?h.outlet.component:null,x))}function No(d){return"function"==typeof d}function Wo(d){return d instanceof te.K||"EmptyError"===d?.name}const ko=Symbol("INITIAL_VALUE");function lo(){return(0,ie.w)(d=>(0,re.a)(d.map(h=>h.pipe((0,ue.q)(1),(0,ge.O)(ko)))).pipe((0,z.U)(h=>{for(const y of h)if(!0!==y){if(y===ko)return ko;if(!1===y||y instanceof rn)return y}return!0}),(0,xe.h)(h=>h!==ko),(0,ue.q)(1)))}function ei(d){return(0,fe.z)((0,Mt.b)(h=>{if(le(h))throw Me(0,h)}),(0,z.U)(h=>!0===h))}class co{constructor(h){this.segmentGroup=h||null}}class Vi{constructor(h){this.urlTree=h}}function rr(d){return(0,Se._)(new co(d))}function Do(d){return(0,Se._)(new Vi(d))}class ds{constructor(h,y){this.urlSerializer=h,this.urlTree=y}noMatchError(h){return new s.vHH(4002,!1)}lineralizeSegments(h,y){let p=[],x=y.root;for(;;){if(p=p.concat(x.segments),0===x.numberOfChildren)return(0,Y.of)(p);if(x.numberOfChildren>1||!x.children[ve])return(0,Se._)(new s.vHH(4e3,!1));x=x.children[ve]}}applyRedirectCommands(h,y,p){return this.applyRedirectCreateUrlTree(y,this.urlSerializer.parse(y),h,p)}applyRedirectCreateUrlTree(h,y,p,x){const j=this.createSegmentGroup(h,y.root,p,x);return new rn(j,this.createQueryParams(y.queryParams,this.urlTree.queryParams),y.fragment)}createQueryParams(h,y){const p={};return Object.entries(h).forEach(([x,j])=>{if("string"==typeof j&&j.startsWith(":")){const Ne=j.substring(1);p[x]=y[Ne]}else p[x]=j}),p}createSegmentGroup(h,y,p,x){const j=this.createSegments(h,y.segments,p,x);let q={};return Object.entries(y.children).forEach(([Ne,bt])=>{q[Ne]=this.createSegmentGroup(h,bt,p,x)}),new Xt(j,q)}createSegments(h,y,p,x){return y.map(j=>j.path.startsWith(":")?this.findPosParam(h,j,x):this.findOrReturn(j,p))}findPosParam(h,y,p){const x=p[y.path.substring(1)];if(!x)throw new s.vHH(4001,!1);return x}findOrReturn(h,y){let p=0;for(const x of y){if(x.path===h.path)return y.splice(p),x;p++}return h}}const uo={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Zo(d,h,y,p,x){const j=eo(d,h,y);return j.matched?(p=function Tt(d,h){return d.providers&&!d._injector&&(d._injector=(0,s.MMx)(d.providers,h,`Route: ${d.path}`)),d._injector??h}(h,p),function _i(d,h,y,p){const x=h.canMatch;if(!x||0===x.length)return(0,Y.of)(!0);const j=x.map(q=>{const Ne=fi(q,d);return Lt(function Us(d){return d&&No(d.canMatch)}(Ne)?Ne.canMatch(h,y):d.runInContext(()=>Ne(h,y)))});return(0,Y.of)(j).pipe(lo(),ei())}(p,h,y).pipe((0,z.U)(q=>!0===q?j:{...uo}))):(0,Y.of)(j)}function eo(d,h,y){if(""===h.path)return"full"===h.pathMatch&&(d.hasChildren()||y.length>0)?{...uo}:{matched:!0,consumedSegments:[],remainingSegments:y,parameters:{},positionalParamSegments:{}};const x=(h.matcher||N)(y,d,h);if(!x)return{...uo};const j={};Object.entries(x.posParams??{}).forEach(([Ne,bt])=>{j[Ne]=bt.path});const q=x.consumed.length>0?{...j,...x.consumed[x.consumed.length-1].parameters}:j;return{matched:!0,consumedSegments:x.consumed,remainingSegments:y.slice(x.consumed.length),parameters:q,positionalParamSegments:x.posParams??{}}}function ti(d,h,y,p){return y.length>0&&function Li(d,h,y){return y.some(p=>fo(d,h,p)&&Sr(p)!==ve)}(d,y,p)?{segmentGroup:new Xt(h,to(p,new Xt(y,d.children))),slicedSegments:[]}:0===y.length&&function fs(d,h,y){return y.some(p=>fo(d,h,p))}(d,y,p)?{segmentGroup:new Xt(d.segments,Fi(d,0,y,p,d.children)),slicedSegments:y}:{segmentGroup:new Xt(d.segments,d.children),slicedSegments:y}}function Fi(d,h,y,p,x){const j={};for(const q of p)if(fo(d,y,q)&&!x[Sr(q)]){const Ne=new Xt([],{});j[Sr(q)]=Ne}return{...x,...j}}function to(d,h){const y={};y[ve]=h;for(const p of d)if(""===p.path&&Sr(p)!==ve){const x=new Xt([],{});y[Sr(p)]=x}return y}function fo(d,h,y){return(!(d.hasChildren()||h.length>0)||"full"!==y.pathMatch)&&""===y.path}class Is{constructor(h,y,p,x,j,q,Ne){this.injector=h,this.configLoader=y,this.rootComponentType=p,this.config=x,this.urlTree=j,this.paramsInheritanceStrategy=q,this.urlSerializer=Ne,this.allowRedirects=!0,this.applyRedirects=new ds(this.urlSerializer,this.urlTree)}noMatchError(h){return new s.vHH(4002,!1)}recognize(){const h=ti(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,h,ve).pipe((0,Pt.K)(y=>{if(y instanceof Vi)return this.allowRedirects=!1,this.urlTree=y.urlTree,this.match(y.urlTree);throw y instanceof co?this.noMatchError(y):y}),(0,z.U)(y=>{const p=new Go([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},ve,this.rootComponentType,null,{}),x=new un(p,y),j=new Cs("",x),q=function je(d,h,y=null,p=null){return ee(oe(d),h,y,p)}(p,[],this.urlTree.queryParams,this.urlTree.fragment);return q.queryParams=this.urlTree.queryParams,j.url=this.urlSerializer.serialize(q),this.inheritParamsAndData(j._root),{state:j,tree:q}}))}match(h){return this.processSegmentGroup(this.injector,this.config,h.root,ve).pipe((0,Pt.K)(p=>{throw p instanceof co?this.noMatchError(p):p}))}inheritParamsAndData(h){const y=h.value,p=Po(y,this.paramsInheritanceStrategy);y.params=Object.freeze(p.params),y.data=Object.freeze(p.data),h.children.forEach(x=>this.inheritParamsAndData(x))}processSegmentGroup(h,y,p,x){return 0===p.segments.length&&p.hasChildren()?this.processChildren(h,y,p):this.processSegment(h,y,p,p.segments,x,!0)}processChildren(h,y,p){const x=[];for(const j of Object.keys(p.children))"primary"===j?x.unshift(j):x.push(j);return(0,I.D)(x).pipe((0,ht.b)(j=>{const q=p.children[j],Ne=function tr(d,h){const y=d.filter(p=>Sr(p)===h);return y.push(...d.filter(p=>Sr(p)!==h)),y}(y,j);return this.processSegmentGroup(h,Ne,q,j)}),(0,Gt.R)((j,q)=>(j.push(...q),j)),(0,$t.d)(null),function $e(d,h){const y=arguments.length>=2;return p=>p.pipe(d?(0,xe.h)((x,j)=>d(x,j,p)):Ue.y,gn(1),y?(0,$t.d)(h):(0,Cn.T)(()=>new te.K))}(),(0,Ge.z)(j=>{if(null===j)return rr(p);const q=xi(j);return function hs(d){d.sort((h,y)=>h.value.outlet===ve?-1:y.value.outlet===ve?1:h.value.outlet.localeCompare(y.value.outlet))}(q),(0,Y.of)(q)}))}processSegment(h,y,p,x,j,q){return(0,I.D)(y).pipe((0,ht.b)(Ne=>this.processSegmentAgainstRoute(Ne._injector??h,y,Ne,p,x,j,q).pipe((0,Pt.K)(bt=>{if(bt instanceof co)return(0,Y.of)(null);throw bt}))),(0,nt.P)(Ne=>!!Ne),(0,Pt.K)(Ne=>{if(Wo(Ne))return function zi(d,h,y){return 0===h.length&&!d.children[y]}(p,x,j)?(0,Y.of)([]):rr(p);throw Ne}))}processSegmentAgainstRoute(h,y,p,x,j,q,Ne){return function Bo(d,h,y,p){return!!(Sr(d)===p||p!==ve&&fo(h,y,d))&&("**"===d.path||eo(h,d,y).matched)}(p,x,j,q)?void 0===p.redirectTo?this.matchSegmentAgainstRoute(h,x,p,j,q,Ne):Ne&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(h,x,y,p,j,q):rr(x):rr(x)}expandSegmentAgainstRouteUsingRedirect(h,y,p,x,j,q){return"**"===x.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(h,p,x,q):this.expandRegularSegmentAgainstRouteUsingRedirect(h,y,p,x,j,q)}expandWildCardWithParamsAgainstRouteUsingRedirect(h,y,p,x){const j=this.applyRedirects.applyRedirectCommands([],p.redirectTo,{});return p.redirectTo.startsWith("/")?Do(j):this.applyRedirects.lineralizeSegments(p,j).pipe((0,Ge.z)(q=>{const Ne=new Xt(q,{});return this.processSegment(h,y,Ne,q,x,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(h,y,p,x,j,q){const{matched:Ne,consumedSegments:bt,remainingSegments:tt,positionalParamSegments:Zt}=eo(y,x,j);if(!Ne)return rr(y);const Sn=this.applyRedirects.applyRedirectCommands(bt,x.redirectTo,Zt);return x.redirectTo.startsWith("/")?Do(Sn):this.applyRedirects.lineralizeSegments(x,Sn).pipe((0,Ge.z)(Ur=>this.processSegment(h,p,y,Ur.concat(tt),q,!1)))}matchSegmentAgainstRoute(h,y,p,x,j,q){let Ne;if("**"===p.path){const bt=x.length>0?vt(x).parameters:{},tt=new Go(x,bt,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Jo(p),Sr(p),p.component??p._loadedComponent??null,p,As(p));Ne=(0,Y.of)({snapshot:tt,consumedSegments:[],remainingSegments:[]}),y.children={}}else Ne=Zo(y,p,x,h).pipe((0,z.U)(({matched:bt,consumedSegments:tt,remainingSegments:Zt,parameters:Sn})=>bt?{snapshot:new Go(tt,Sn,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Jo(p),Sr(p),p.component??p._loadedComponent??null,p,As(p)),consumedSegments:tt,remainingSegments:Zt}:null));return Ne.pipe((0,ie.w)(bt=>null===bt?rr(y):this.getChildConfig(h=p._injector??h,p,x).pipe((0,ie.w)(({routes:tt})=>{const Zt=p._loadedInjector??h,{snapshot:Sn,consumedSegments:Ur,remainingSegments:Yn}=bt,{segmentGroup:Mi,slicedSegments:ms}=ti(y,Ur,Yn,tt);if(0===ms.length&&Mi.hasChildren())return this.processChildren(Zt,tt,Mi).pipe((0,z.U)(Ho=>null===Ho?null:[new un(Sn,Ho)]));if(0===tt.length&&0===ms.length)return(0,Y.of)([new un(Sn,[])]);const Gs=Sr(p)===j;return this.processSegment(Zt,tt,Mi,ms,Gs?ve:j,!0).pipe((0,z.U)(Ho=>[new un(Sn,Ho)]))}))))}getChildConfig(h,y,p){return y.children?(0,Y.of)({routes:y.children,injector:h}):y.loadChildren?void 0!==y._loadedRoutes?(0,Y.of)({routes:y._loadedRoutes,injector:y._loadedInjector}):function Lo(d,h,y,p){const x=h.canLoad;if(void 0===x||0===x.length)return(0,Y.of)(!0);const j=x.map(q=>{const Ne=fi(q,d);return Lt(function cs(d){return d&&No(d.canLoad)}(Ne)?Ne.canLoad(h,y):d.runInContext(()=>Ne(h,y)))});return(0,Y.of)(j).pipe(lo(),ei())}(h,y,p).pipe((0,Ge.z)(x=>x?this.configLoader.loadChildren(h,y).pipe((0,Mt.b)(j=>{y._loadedRoutes=j.routes,y._loadedInjector=j.injector})):function ki(d){return(0,Se._)(be(!1,3))}())):(0,Y.of)({routes:[],injector:h})}}function Qo(d){const h=d.value.routeConfig;return h&&""===h.path}function xi(d){const h=[],y=new Set;for(const p of d){if(!Qo(p)){h.push(p);continue}const x=h.find(j=>p.value.routeConfig===j.value.routeConfig);void 0!==x?(x.children.push(...p.children),y.add(x)):h.push(p)}for(const p of y){const x=xi(p.children);h.push(new un(p.value,x))}return h.filter(p=>!y.has(p))}function Jo(d){return d.data||{}}function As(d){return d.resolve||{}}function wo(d){return"string"==typeof d.title||null===d.title}function xo(d){return(0,ie.w)(h=>{const y=d(h);return y?(0,I.D)(y).pipe((0,z.U)(()=>h)):(0,Y.of)(h)})}const f=new s.OlP("ROUTES");let T=(()=>{var d;class h{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,s.f3M)(s.Sil)}loadComponent(p){if(this.componentLoaders.get(p))return this.componentLoaders.get(p);if(p._loadedComponent)return(0,Y.of)(p._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(p);const x=Lt(p.loadComponent()).pipe((0,z.U)(b),(0,Mt.b)(q=>{this.onLoadEndListener&&this.onLoadEndListener(p),p._loadedComponent=q}),(0,Qe.x)(()=>{this.componentLoaders.delete(p)})),j=new ut(x,()=>new ke.x).pipe(Ve());return this.componentLoaders.set(p,j),j}loadChildren(p,x){if(this.childrenLoaders.get(x))return this.childrenLoaders.get(x);if(x._loadedRoutes)return(0,Y.of)({routes:x._loadedRoutes,injector:x._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(x);const q=this.loadModuleFactoryOrRoutes(x.loadChildren).pipe((0,z.U)(bt=>{this.onLoadEndListener&&this.onLoadEndListener(x);let tt,Zt;return Array.isArray(bt)?Zt=bt:(tt=bt.create(p).injector,Zt=tt.get(f,[],s.XFs.Self|s.XFs.Optional).flat()),{routes:Zt.map(Ci),injector:tt}}),(0,Qe.x)(()=>{this.childrenLoaders.delete(x)})),Ne=new ut(q,()=>new ke.x).pipe(Ve());return this.childrenLoaders.set(x,Ne),Ne}loadModuleFactoryOrRoutes(p){return Lt(p()).pipe((0,z.U)(b),(0,Ge.z)(x=>x instanceof s.YKP||Array.isArray(x)?(0,Y.of)(x):(0,I.D)(this.compiler.compileModuleAsync(x))))}}return(d=h).\u0275fac=function(p){return new(p||d)},d.\u0275prov=s.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),h})();function b(d){return function se(d){return d&&"object"==typeof d&&"default"in d}(d)?d.default:d}let $=(()=>{var d;class h{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new ke.x,this.transitionAbortSubject=new ke.x,this.configLoader=(0,s.f3M)(T),this.environmentInjector=(0,s.f3M)(s.lqb),this.urlSerializer=(0,s.f3M)(Yt),this.rootContexts=(0,s.f3M)(er),this.inputBindingEnabled=null!==(0,s.f3M)(hr,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,Y.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=j=>this.events.next(new Oo(j)),this.configLoader.onLoadStartListener=j=>this.events.next(new Ji(j))}complete(){this.transitions?.complete()}handleNavigationRequest(p){const x=++this.navigationId;this.transitions?.next({...this.transitions.value,...p,id:x})}setupNavigations(p,x,j){return this.transitions=new Z.X({id:0,currentUrlTree:x,currentRawUrl:x,currentBrowserUrl:x,extractedUrl:p.urlHandlingStrategy.extract(x),urlAfterRedirects:p.urlHandlingStrategy.extract(x),rawUrl:x,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Or,restoredState:null,currentSnapshot:j.snapshot,targetSnapshot:null,currentRouterState:j,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,xe.h)(q=>0!==q.id),(0,z.U)(q=>({...q,extractedUrl:p.urlHandlingStrategy.extract(q.rawUrl)})),(0,ie.w)(q=>{this.currentTransition=q;let Ne=!1,bt=!1;return(0,Y.of)(q).pipe((0,Mt.b)(tt=>{this.currentNavigation={id:tt.id,initialUrl:tt.rawUrl,extractedUrl:tt.extractedUrl,trigger:tt.source,extras:tt.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,ie.w)(tt=>{const Zt=tt.currentBrowserUrl.toString(),Sn=!p.navigated||tt.extractedUrl.toString()!==Zt||Zt!==tt.currentUrlTree.toString();if(!Sn&&"reload"!==(tt.extras.onSameUrlNavigation??p.onSameUrlNavigation)){const Yn="";return this.events.next(new ii(tt.id,this.urlSerializer.serialize(tt.rawUrl),Yn,0)),tt.resolve(null),Ie.E}if(p.urlHandlingStrategy.shouldProcessUrl(tt.rawUrl))return(0,Y.of)(tt).pipe((0,ie.w)(Yn=>{const Mi=this.transitions?.getValue();return this.events.next(new Pr(Yn.id,this.urlSerializer.serialize(Yn.extractedUrl),Yn.source,Yn.restoredState)),Mi!==this.transitions?.getValue()?Ie.E:Promise.resolve(Yn)}),function qo(d,h,y,p,x,j){return(0,Ge.z)(q=>function ho(d,h,y,p,x,j,q="emptyOnly"){return new Is(d,h,y,p,x,q,j).recognize()}(d,h,y,p,q.extractedUrl,x,j).pipe((0,z.U)(({state:Ne,tree:bt})=>({...q,targetSnapshot:Ne,urlAfterRedirects:bt}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,p.config,this.urlSerializer,p.paramsInheritanceStrategy),(0,Mt.b)(Yn=>{q.targetSnapshot=Yn.targetSnapshot,q.urlAfterRedirects=Yn.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:Yn.urlAfterRedirects};const Mi=new yr(Yn.id,this.urlSerializer.serialize(Yn.extractedUrl),this.urlSerializer.serialize(Yn.urlAfterRedirects),Yn.targetSnapshot);this.events.next(Mi)}));if(Sn&&p.urlHandlingStrategy.shouldProcessUrl(tt.currentRawUrl)){const{id:Yn,extractedUrl:Mi,source:ms,restoredState:Gs,extras:Ho}=tt,nl=new Pr(Yn,this.urlSerializer.serialize(Mi),ms,Gs);this.events.next(nl);const rl=Dr(0,this.rootComponentType).snapshot;return this.currentTransition=q={...tt,targetSnapshot:rl,urlAfterRedirects:Mi,extras:{...Ho,skipLocationChange:!1,replaceUrl:!1}},(0,Y.of)(q)}{const Yn="";return this.events.next(new ii(tt.id,this.urlSerializer.serialize(tt.extractedUrl),Yn,1)),tt.resolve(null),Ie.E}}),(0,Mt.b)(tt=>{const Zt=new Tr(tt.id,this.urlSerializer.serialize(tt.extractedUrl),this.urlSerializer.serialize(tt.urlAfterRedirects),tt.targetSnapshot);this.events.next(Zt)}),(0,z.U)(tt=>(this.currentTransition=q={...tt,guards:Fr(tt.targetSnapshot,tt.currentSnapshot,this.rootContexts)},q)),function Ko(d,h){return(0,Ge.z)(y=>{const{targetSnapshot:p,currentSnapshot:x,guards:{canActivateChecks:j,canDeactivateChecks:q}}=y;return 0===q.length&&0===j.length?(0,Y.of)({...y,guardsResult:!0}):function Ts(d,h,y,p){return(0,I.D)(d).pipe((0,Ge.z)(x=>function gi(d,h,y,p,x){const j=h&&h.routeConfig?h.routeConfig.canDeactivate:null;if(!j||0===j.length)return(0,Y.of)(!0);const q=j.map(Ne=>{const bt=kr(h)??x,tt=fi(Ne,bt);return Lt(function xs(d){return d&&No(d.canDeactivate)}(tt)?tt.canDeactivate(d,h,y,p):bt.runInContext(()=>tt(d,h,y,p))).pipe((0,nt.P)())});return(0,Y.of)(q).pipe(lo())}(x.component,x.route,y,h,p)),(0,nt.P)(x=>!0!==x,!0))}(q,p,x,d).pipe((0,Ge.z)(Ne=>Ne&&function ea(d){return"boolean"==typeof d}(Ne)?function Ss(d,h,y,p){return(0,I.D)(h).pipe((0,ht.b)(x=>(0,H.z)(function Fo(d,h){return null!==d&&h&&h(new yo(d)),(0,Y.of)(!0)}(x.route.parent,p),function $s(d,h){return null!==d&&h&&h(new Oi(d)),(0,Y.of)(!0)}(x.route,p),function Ms(d,h,y){const p=h[h.length-1],j=h.slice(0,h.length-1).reverse().map(q=>function ls(d){const h=d.routeConfig?d.routeConfig.canActivateChild:null;return h&&0!==h.length?{node:d,guards:h}:null}(q)).filter(q=>null!==q).map(q=>(0,J.P)(()=>{const Ne=q.guards.map(bt=>{const tt=kr(q.node)??y,Zt=fi(bt,tt);return Lt(function ws(d){return d&&No(d.canActivateChild)}(Zt)?Zt.canActivateChild(p,d):tt.runInContext(()=>Zt(p,d))).pipe((0,nt.P)())});return(0,Y.of)(Ne).pipe(lo())}));return(0,Y.of)(j).pipe(lo())}(d,x.path,y),function Yo(d,h,y){const p=h.routeConfig?h.routeConfig.canActivate:null;if(!p||0===p.length)return(0,Y.of)(!0);const x=p.map(j=>(0,J.P)(()=>{const q=kr(h)??y,Ne=fi(j,q);return Lt(function us(d){return d&&No(d.canActivate)}(Ne)?Ne.canActivate(h,d):q.runInContext(()=>Ne(h,d))).pipe((0,nt.P)())}));return(0,Y.of)(x).pipe(lo())}(d,x.route,y))),(0,nt.P)(x=>!0!==x,!0))}(p,j,d,h):(0,Y.of)(Ne)),(0,z.U)(Ne=>({...y,guardsResult:Ne})))})}(this.environmentInjector,tt=>this.events.next(tt)),(0,Mt.b)(tt=>{if(q.guardsResult=tt.guardsResult,le(tt.guardsResult))throw Me(0,tt.guardsResult);const Zt=new Ai(tt.id,this.urlSerializer.serialize(tt.extractedUrl),this.urlSerializer.serialize(tt.urlAfterRedirects),tt.targetSnapshot,!!tt.guardsResult);this.events.next(Zt)}),(0,xe.h)(tt=>!!tt.guardsResult||(this.cancelNavigationTransition(tt,"",3),!1)),xo(tt=>{if(tt.guards.canActivateChecks.length)return(0,Y.of)(tt).pipe((0,Mt.b)(Zt=>{const Sn=new ji(Zt.id,this.urlSerializer.serialize(Zt.extractedUrl),this.urlSerializer.serialize(Zt.urlAfterRedirects),Zt.targetSnapshot);this.events.next(Sn)}),(0,ie.w)(Zt=>{let Sn=!1;return(0,Y.of)(Zt).pipe(function Xo(d,h){return(0,Ge.z)(y=>{const{targetSnapshot:p,guards:{canActivateChecks:x}}=y;if(!x.length)return(0,Y.of)(y);let j=0;return(0,I.D)(x).pipe((0,ht.b)(q=>function Co(d,h,y,p){const x=d.routeConfig,j=d._resolve;return void 0!==x?.title&&!wo(x)&&(j[qe]=x.title),function es(d,h,y,p){const x=function Zr(d){return[...Object.keys(d),...Object.getOwnPropertySymbols(d)]}(d);if(0===x.length)return(0,Y.of)({});const j={};return(0,I.D)(x).pipe((0,Ge.z)(q=>function Vs(d,h,y,p){const x=kr(h)??p,j=fi(d,x);return Lt(j.resolve?j.resolve(h,y):x.runInContext(()=>j(h,y)))}(d[q],h,y,p).pipe((0,nt.P)(),(0,Mt.b)(Ne=>{j[q]=Ne}))),gn(1),function Ye(d){return(0,z.U)(()=>d)}(j),(0,Pt.K)(q=>Wo(q)?Ie.E:(0,Se._)(q)))}(j,d,h,p).pipe((0,z.U)(q=>(d._resolvedData=q,d.data=Po(d,y).resolve,x&&wo(x)&&(d.data[qe]=x.title),null)))}(q.route,p,d,h)),(0,Mt.b)(()=>j++),gn(1),(0,Ge.z)(q=>j===x.length?(0,Y.of)(y):Ie.E))})}(p.paramsInheritanceStrategy,this.environmentInjector),(0,Mt.b)({next:()=>Sn=!0,complete:()=>{Sn||this.cancelNavigationTransition(Zt,"",2)}}))}),(0,Mt.b)(Zt=>{const Sn=new zo(Zt.id,this.urlSerializer.serialize(Zt.extractedUrl),this.urlSerializer.serialize(Zt.urlAfterRedirects),Zt.targetSnapshot);this.events.next(Sn)}))}),xo(tt=>{const Zt=Sn=>{const Ur=[];Sn.routeConfig?.loadComponent&&!Sn.routeConfig._loadedComponent&&Ur.push(this.configLoader.loadComponent(Sn.routeConfig).pipe((0,Mt.b)(Yn=>{Sn.component=Yn}),(0,z.U)(()=>{})));for(const Yn of Sn.children)Ur.push(...Zt(Yn));return Ur};return(0,re.a)(Zt(tt.targetSnapshot.root)).pipe((0,$t.d)(),(0,ue.q)(1))}),xo(()=>this.afterPreactivation()),(0,z.U)(tt=>{const Zt=function lr(d,h,y){const p=Wr(d,h._root,y?y._root:void 0);return new wr(p,h)}(p.routeReuseStrategy,tt.targetSnapshot,tt.currentRouterState);return this.currentTransition=q={...tt,targetRouterState:Zt},q}),(0,Mt.b)(()=>{this.events.next(new pi)}),((d,h,y,p)=>(0,z.U)(x=>(new En(h,x.targetRouterState,x.currentRouterState,y,p).activate(d),x)))(this.rootContexts,p.routeReuseStrategy,tt=>this.events.next(tt),this.inputBindingEnabled),(0,ue.q)(1),(0,Mt.b)({next:tt=>{Ne=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Mr(tt.id,this.urlSerializer.serialize(tt.extractedUrl),this.urlSerializer.serialize(tt.urlAfterRedirects))),p.titleStrategy?.updateTitle(tt.targetRouterState.snapshot),tt.resolve(!0)},complete:()=>{Ne=!0}}),(0,lt.R)(this.transitionAbortSubject.pipe((0,Mt.b)(tt=>{throw tt}))),(0,Qe.x)(()=>{Ne||bt||this.cancelNavigationTransition(q,"",1),this.currentNavigation?.id===q.id&&(this.currentNavigation=null)}),(0,Pt.K)(tt=>{if(bt=!0,ot(tt))this.events.next(new Rr(q.id,this.urlSerializer.serialize(q.extractedUrl),tt.message,tt.cancellationCode)),function Re(d){return ot(d)&&le(d.url)}(tt)?this.events.next(new Eo(tt.url)):q.resolve(!1);else{this.events.next(new Xr(q.id,this.urlSerializer.serialize(q.extractedUrl),tt,q.targetSnapshot??void 0));try{q.resolve(p.errorHandler(tt))}catch(Zt){q.reject(Zt)}}return Ie.E}))}))}cancelNavigationTransition(p,x,j){const q=new Rr(p.id,this.urlSerializer.serialize(p.extractedUrl),x,j);this.events.next(q),p.resolve(!1)}}return(d=h).\u0275fac=function(p){return new(p||d)},d.\u0275prov=s.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),h})();function de(d){return d!==Or}let et=(()=>{var d;class h{buildTitle(p){let x,j=p.root;for(;void 0!==j;)x=this.getResolvedTitleForRoute(j)??x,j=j.children.find(q=>q.outlet===ve);return x}getResolvedTitleForRoute(p){return p.data[qe]}}return(d=h).\u0275fac=function(p){return new(p||d)},d.\u0275prov=s.Yz7({token:d,factory:function(){return(0,s.f3M)(_t)},providedIn:"root"}),h})(),_t=(()=>{var d;class h extends et{constructor(p){super(),this.title=p}updateTitle(p){const x=this.buildTitle(p);void 0!==x&&this.title.setTitle(x)}}return(d=h).\u0275fac=function(p){return new(p||d)(s.LFG(At.Dx))},d.\u0275prov=s.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),h})(),hn=(()=>{var d;class h{}return(d=h).\u0275fac=function(p){return new(p||d)},d.\u0275prov=s.Yz7({token:d,factory:function(){return(0,s.f3M)(Bn)},providedIn:"root"}),h})();class Vn{shouldDetach(h){return!1}store(h,y){}shouldAttach(h){return!1}retrieve(h){return null}shouldReuseRoute(h,y){return h.routeConfig===y.routeConfig}}let Bn=(()=>{var d;class h extends Vn{}return(d=h).\u0275fac=function(){let y;return function(x){return(y||(y=s.n5z(d)))(x||d)}}(),d.\u0275prov=s.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),h})();const pn=new s.OlP("",{providedIn:"root",factory:()=>({})});let cr=(()=>{var d;class h{}return(d=h).\u0275fac=function(p){return new(p||d)},d.\u0275prov=s.Yz7({token:d,factory:function(){return(0,s.f3M)(qn)},providedIn:"root"}),h})(),qn=(()=>{var d;class h{shouldProcessUrl(p){return!0}extract(p){return p}merge(p,x){return p}}return(d=h).\u0275fac=function(p){return new(p||d)},d.\u0275prov=s.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),h})();var mr=function(d){return d[d.COMPLETE=0]="COMPLETE",d[d.FAILED=1]="FAILED",d[d.REDIRECTING=2]="REDIRECTING",d}(mr||{});function vi(d,h){d.events.pipe((0,xe.h)(y=>y instanceof Mr||y instanceof Rr||y instanceof Xr||y instanceof ii),(0,z.U)(y=>y instanceof Mr||y instanceof ii?mr.COMPLETE:y instanceof Rr&&(0===y.code||1===y.code)?mr.REDIRECTING:mr.FAILED),(0,xe.h)(y=>y!==mr.REDIRECTING),(0,ue.q)(1)).subscribe(()=>{h()})}function Ti(d){throw d}function Si(d,h,y){return h.parse("/")}const yi={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Lr={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let xr=(()=>{var d;class h{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.location.getState()?.\u0275routerPageId??this.currentPageId}get events(){return this._events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=(0,s.f3M)(s.c2e),this.isNgZoneEnabled=!1,this._events=new ke.x,this.options=(0,s.f3M)(pn,{optional:!0})||{},this.pendingTasks=(0,s.f3M)(s.HDt),this.errorHandler=this.options.errorHandler||Ti,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||Si,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=(0,s.f3M)(cr),this.routeReuseStrategy=(0,s.f3M)(hn),this.titleStrategy=(0,s.f3M)(et),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=(0,s.f3M)(f,{optional:!0})?.flat()??[],this.navigationTransitions=(0,s.f3M)($),this.urlSerializer=(0,s.f3M)(Yt),this.location=(0,s.f3M)(G.Ye),this.componentInputBindingEnabled=!!(0,s.f3M)(hr,{optional:!0}),this.eventsSubscription=new Ke.w0,this.isNgZoneEnabled=(0,s.f3M)(s.R0b)instanceof s.R0b&&s.R0b.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new rn,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=Dr(0,null),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe(p=>{this.lastSuccessfulId=p.id,this.currentPageId=this.browserPageId},p=>{this.console.warn(`Unhandled Navigation Error: ${p}`)}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const p=this.navigationTransitions.events.subscribe(x=>{try{const{currentTransition:j}=this.navigationTransitions;if(null===j)return void(Xn(x)&&this._events.next(x));if(x instanceof Pr)de(j.source)&&(this.browserUrlTree=j.extractedUrl);else if(x instanceof ii)this.rawUrlTree=j.rawUrl;else if(x instanceof yr){if("eager"===this.urlUpdateStrategy){if(!j.extras.skipLocationChange){const q=this.urlHandlingStrategy.merge(j.urlAfterRedirects,j.rawUrl);this.setBrowserUrl(q,j)}this.browserUrlTree=j.urlAfterRedirects}}else if(x instanceof pi)this.currentUrlTree=j.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(j.urlAfterRedirects,j.rawUrl),this.routerState=j.targetRouterState,"deferred"===this.urlUpdateStrategy&&(j.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,j),this.browserUrlTree=j.urlAfterRedirects);else if(x instanceof Rr)0!==x.code&&1!==x.code&&(this.navigated=!0),(3===x.code||2===x.code)&&this.restoreHistory(j);else if(x instanceof Eo){const q=this.urlHandlingStrategy.merge(x.url,j.currentRawUrl),Ne={skipLocationChange:j.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||de(j.source)};this.scheduleNavigation(q,Or,null,Ne,{resolve:j.resolve,reject:j.reject,promise:j.promise})}x instanceof Xr&&this.restoreHistory(j,!0),x instanceof Mr&&(this.navigated=!0),Xn(x)&&this._events.next(x)}catch(j){this.navigationTransitions.transitionAbortSubject.next(j)}});this.eventsSubscription.add(p)}resetRootComponentType(p){this.routerState.root.component=p,this.navigationTransitions.rootComponentType=p}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const p=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),Or,p)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(p=>{const x="popstate"===p.type?"popstate":"hashchange";"popstate"===x&&setTimeout(()=>{this.navigateToSyncWithBrowser(p.url,x,p.state)},0)}))}navigateToSyncWithBrowser(p,x,j){const q={replaceUrl:!0},Ne=j?.navigationId?j:null;if(j){const tt={...j};delete tt.navigationId,delete tt.\u0275routerPageId,0!==Object.keys(tt).length&&(q.state=tt)}const bt=this.parseUrl(p);this.scheduleNavigation(bt,x,Ne,q)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(p){this.config=p.map(Ci),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,this.eventsSubscription.unsubscribe()}createUrlTree(p,x={}){const{relativeTo:j,queryParams:q,fragment:Ne,queryParamsHandling:bt,preserveFragment:tt}=x,Zt=tt?this.currentUrlTree.fragment:Ne;let Ur,Sn=null;switch(bt){case"merge":Sn={...this.currentUrlTree.queryParams,...q};break;case"preserve":Sn=this.currentUrlTree.queryParams;break;default:Sn=q||null}null!==Sn&&(Sn=this.removeEmptyProps(Sn));try{Ur=oe(j?j.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof p[0]||!p[0].startsWith("/"))&&(p=[]),Ur=this.currentUrlTree.root}return ee(Ur,p,Sn,Zt??null)}navigateByUrl(p,x={skipLocationChange:!1}){const j=le(p)?p:this.parseUrl(p),q=this.urlHandlingStrategy.merge(j,this.rawUrlTree);return this.scheduleNavigation(q,Or,null,x)}navigate(p,x={skipLocationChange:!1}){return function no(d){for(let h=0;h<d.length;h++)if(null==d[h])throw new s.vHH(4008,!1)}(p),this.navigateByUrl(this.createUrlTree(p,x),x)}serializeUrl(p){return this.urlSerializer.serialize(p)}parseUrl(p){let x;try{x=this.urlSerializer.parse(p)}catch(j){x=this.malformedUriErrorHandler(j,this.urlSerializer,p)}return x}isActive(p,x){let j;if(j=!0===x?{...yi}:!1===x?{...Lr}:x,le(p))return Ct(this.currentUrlTree,p,j);const q=this.parseUrl(p);return Ct(this.currentUrlTree,q,j)}removeEmptyProps(p){return Object.keys(p).reduce((x,j)=>{const q=p[j];return null!=q&&(x[j]=q),x},{})}scheduleNavigation(p,x,j,q,Ne){if(this.disposed)return Promise.resolve(!1);let bt,tt,Zt;Ne?(bt=Ne.resolve,tt=Ne.reject,Zt=Ne.promise):Zt=new Promise((Ur,Yn)=>{bt=Ur,tt=Yn});const Sn=this.pendingTasks.add();return vi(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(Sn))}),this.navigationTransitions.handleNavigationRequest({source:x,restoredState:j,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,currentBrowserUrl:this.browserUrlTree,rawUrl:p,extras:q,resolve:bt,reject:tt,promise:Zt,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Zt.catch(Ur=>Promise.reject(Ur))}setBrowserUrl(p,x){const j=this.urlSerializer.serialize(p);if(this.location.isCurrentPathEqualTo(j)||x.extras.replaceUrl){const Ne={...x.extras.state,...this.generateNgRouterState(x.id,this.browserPageId)};this.location.replaceState(j,"",Ne)}else{const q={...x.extras.state,...this.generateNgRouterState(x.id,this.browserPageId+1)};this.location.go(j,"",q)}}restoreHistory(p,x=!1){if("computed"===this.canceledNavigationResolution){const q=this.currentPageId-this.browserPageId;0!==q?this.location.historyGo(q):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===q&&(this.resetState(p),this.browserUrlTree=p.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(x&&this.resetState(p),this.resetUrlToCurrentUrlTree())}resetState(p){this.routerState=p.currentRouterState,this.currentUrlTree=p.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,p.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(p,x){return"computed"===this.canceledNavigationResolution?{navigationId:p,\u0275routerPageId:x}:{navigationId:p}}}return(d=h).\u0275fac=function(p){return new(p||d)},d.\u0275prov=s.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),h})();function Xn(d){return!(d instanceof pi||d instanceof Eo)}let Uo=(()=>{var d;class h{constructor(p,x,j,q,Ne,bt){this.router=p,this.route=x,this.tabIndexAttribute=j,this.renderer=q,this.el=Ne,this.locationStrategy=bt,this.href=null,this.commands=null,this.onChanges=new ke.x,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const tt=Ne.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===tt||"area"===tt,this.isAnchorElement?this.subscription=p.events.subscribe(Zt=>{Zt instanceof Mr&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(p){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",p)}ngOnChanges(p){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(p){null!=p?(this.commands=Array.isArray(p)?p:[p],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(p,x,j,q,Ne){return!!(null===this.urlTree||this.isAnchorElement&&(0!==p||x||j||q||Ne||"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 p=null===this.href?null:(0,s.P3R)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",p)}applyAttributeValue(p,x){const j=this.renderer,q=this.el.nativeElement;null!==x?j.setAttribute(q,p,x):j.removeAttribute(q,p)}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=h).\u0275fac=function(p){return new(p||d)(s.Y36(xr),s.Y36(Hi),s.$8M("tabindex"),s.Y36(s.Qsj),s.Y36(s.SBq),s.Y36(G.S$))},d.\u0275dir=s.lG2({type:d,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(p,x){1&p&&s.NdJ("click",function(q){return x.onClick(q.button,q.ctrlKey,q.shiftKey,q.altKey,q.metaKey)}),2&p&&s.uIk("target",x.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",s.VuI],skipLocationChange:["skipLocationChange","skipLocationChange",s.VuI],replaceUrl:["replaceUrl","replaceUrl",s.VuI],routerLink:"routerLink"},standalone:!0,features:[s.Xq5,s.TTD]}),h})(),ts=(()=>{var d;class h{get isActive(){return this._isActive}constructor(p,x,j,q,Ne){this.router=p,this.element=x,this.renderer=j,this.cdr=q,this.link=Ne,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new s.vpe,this.routerEventsSubscription=p.events.subscribe(bt=>{bt instanceof Mr&&this.update()})}ngAfterContentInit(){(0,Y.of)(this.links.changes,(0,Y.of)(null)).pipe((0,dt.J)()).subscribe(p=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const p=[...this.links.toArray(),this.link].filter(x=>!!x).map(x=>x.onChanges);this.linkInputChangesSubscription=(0,I.D)(p).pipe((0,dt.J)()).subscribe(x=>{this._isActive!==this.isLinkActive(this.router)(x)&&this.update()})}set routerLinkActive(p){const x=Array.isArray(p)?p:p.split(" ");this.classes=x.filter(j=>!!j)}ngOnChanges(p){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const p=this.hasActiveLinks();this._isActive!==p&&(this._isActive=p,this.cdr.markForCheck(),this.classes.forEach(x=>{p?this.renderer.addClass(this.element.nativeElement,x):this.renderer.removeClass(this.element.nativeElement,x)}),p&&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(p))})}isLinkActive(p){const x=function ci(d){return!!d.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return j=>!!j.urlTree&&p.isActive(j.urlTree,x)}hasActiveLinks(){const p=this.isLinkActive(this.router);return this.link&&p(this.link)||this.links.some(p)}}return(d=h).\u0275fac=function(p){return new(p||d)(s.Y36(xr),s.Y36(s.SBq),s.Y36(s.Qsj),s.Y36(s.sBO),s.Y36(Uo,8))},d.\u0275dir=s.lG2({type:d,selectors:[["","routerLinkActive",""]],contentQueries:function(p,x,j){if(1&p&&s.Suo(j,Uo,5),2&p){let q;s.iGM(q=s.CRH())&&(x.links=q)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[s.TTD]}),h})();class Os{}let bi=(()=>{var d;class h{constructor(p,x,j,q,Ne){this.router=p,this.injector=j,this.preloadingStrategy=q,this.loader=Ne}setUpPreloading(){this.subscription=this.router.events.pipe((0,xe.h)(p=>p instanceof Mr),(0,ht.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(p,x){const j=[];for(const q of x){q.providers&&!q._injector&&(q._injector=(0,s.MMx)(q.providers,p,`Route: ${q.path}`));const Ne=q._injector??p,bt=q._loadedInjector??Ne;(q.loadChildren&&!q._loadedRoutes&&void 0===q.canLoad||q.loadComponent&&!q._loadedComponent)&&j.push(this.preloadConfig(Ne,q)),(q.children||q._loadedRoutes)&&j.push(this.processRoutes(bt,q.children??q._loadedRoutes))}return(0,I.D)(j).pipe((0,dt.J)())}preloadConfig(p,x){return this.preloadingStrategy.preload(x,()=>{let j;j=x.loadChildren&&void 0===x.canLoad?this.loader.loadChildren(p,x):(0,Y.of)(null);const q=j.pipe((0,Ge.z)(Ne=>null===Ne?(0,Y.of)(void 0):(x._loadedRoutes=Ne.routes,x._loadedInjector=Ne.injector,this.processRoutes(Ne.injector??p,Ne.routes))));if(x.loadComponent&&!x._loadedComponent){const Ne=this.loader.loadComponent(x);return(0,I.D)([q,Ne]).pipe((0,dt.J)())}return q})}}return(d=h).\u0275fac=function(p){return new(p||d)(s.LFG(xr),s.LFG(s.Sil),s.LFG(s.lqb),s.LFG(Os),s.LFG(T))},d.\u0275prov=s.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),h})();const Ps=new s.OlP("");let C=(()=>{var d;class h{constructor(p,x,j,q,Ne={}){this.urlSerializer=p,this.transitions=x,this.viewportScroller=j,this.zone=q,this.options=Ne,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},Ne.scrollPositionRestoration=Ne.scrollPositionRestoration||"disabled",Ne.anchorScrolling=Ne.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(p=>{p instanceof Pr?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=p.navigationTrigger,this.restoredId=p.restoredState?p.restoredState.navigationId:0):p instanceof Mr?(this.lastId=p.id,this.scheduleScrollEvent(p,this.urlSerializer.parse(p.urlAfterRedirects).fragment)):p instanceof ii&&0===p.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(p,this.urlSerializer.parse(p.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(p=>{p instanceof oi&&(p.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(p.position):p.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(p.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(p,x){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new oi(p,"popstate"===this.lastSource?this.store[this.restoredId]:null,x))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return(d=h).\u0275fac=function(p){s.$Z()},d.\u0275prov=s.Yz7({token:d,factory:d.\u0275fac}),h})();function g(d,h){return{\u0275kind:d,\u0275providers:h}}function ze(){const d=(0,s.f3M)(s.zs3);return h=>{const y=d.get(s.z2F);if(h!==y.components[0])return;const p=d.get(xr),x=d.get(Fe);1===d.get(Ft)&&p.initialNavigation(),d.get(Wt,null,s.XFs.Optional)?.setUpPreloading(),d.get(Ps,null,s.XFs.Optional)?.init(),p.resetRootComponentType(y.componentTypes[0]),x.closed||(x.next(),x.complete(),x.unsubscribe())}}const Fe=new s.OlP("",{factory:()=>new ke.x}),Ft=new s.OlP("",{providedIn:"root",factory:()=>1}),Wt=new s.OlP("");function ln(d){return g(0,[{provide:Wt,useExisting:bi},{provide:Os,useExisting:d}])}const po=new s.OlP("ROUTER_FORROOT_GUARD"),ct=[G.Ye,{provide:Yt,useClass:or},xr,er,{provide:Hi,useFactory:function c(d){return d.routerState.root},deps:[xr]},T,[]];function an(){return new s.PXZ("Router",xr)}let Gi=(()=>{var d;class h{constructor(p){}static forRoot(p,x){return{ngModule:h,providers:[ct,[],{provide:f,multi:!0,useValue:p},{provide:po,useFactory:ur,deps:[[xr,new s.FiY,new s.tp0]]},{provide:pn,useValue:x||{}},x?.useHash?{provide:G.S$,useClass:G.Do}:{provide:G.S$,useClass:G.b0},{provide:Ps,useFactory:()=>{const d=(0,s.f3M)(G.EM),h=(0,s.f3M)(s.R0b),y=(0,s.f3M)(pn),p=(0,s.f3M)($),x=(0,s.f3M)(Yt);return y.scrollOffset&&d.setOffset(y.scrollOffset),new C(x,p,d,h,y)}},x?.preloadingStrategy?ln(x.preloadingStrategy).\u0275providers:[],{provide:s.PXZ,multi:!0,useFactory:an},x?.initialNavigation?ri(x):[],x?.bindToComponentInputs?g(8,[Ri,{provide:hr,useExisting:Ri}]).\u0275providers:[],[{provide:jr,useFactory:ze},{provide:s.tb,multi:!0,useExisting:jr}]]}}static forChild(p){return{ngModule:h,providers:[{provide:f,multi:!0,useValue:p}]}}}return(d=h).\u0275fac=function(p){return new(p||d)(s.LFG(po,8))},d.\u0275mod=s.oAB({type:d}),d.\u0275inj=s.cJS({}),h})();function ur(d){return"guarded"}function ri(d){return["disabled"===d.initialNavigation?g(3,[{provide:s.ip1,multi:!0,useFactory:()=>{const h=(0,s.f3M)(xr);return()=>{h.setUpLocationChangeListener()}}},{provide:Ft,useValue:2}]).\u0275providers:[],"enabledBlocking"===d.initialNavigation?g(2,[{provide:Ft,useValue:0},{provide:s.ip1,multi:!0,deps:[s.zs3],useFactory:h=>{const y=h.get(G.V_,Promise.resolve());return()=>y.then(()=>new Promise(p=>{const x=h.get(xr),j=h.get(Fe);vi(x,()=>{p(!0)}),h.get($).afterPreactivation=()=>(p(!0),j.closed?(0,Y.of)(void 0):j),x.initialNavigation()}))}}]).\u0275providers:[]]}const jr=new s.OlP("")},3106:(ft,De,v)=>{v.d(De,{Z:()=>Ke});var s=v(9058),m=v(4537),W=v(534),U=v(7879);class I{constructor(Je,Ve){this._delegate=Je,this.firebase=Ve,(0,W._addComponent)(Je,new m.wA("app-compat",()=>this,"PUBLIC")),this.container=Je.container}get automaticDataCollectionEnabled(){return this._delegate.automaticDataCollectionEnabled}set automaticDataCollectionEnabled(Je){this._delegate.automaticDataCollectionEnabled=Je}get name(){return this._delegate.name}get options(){return this._delegate.options}delete(){return new Promise(Je=>{this._delegate.checkDestroyed(),Je()}).then(()=>(this.firebase.INTERNAL.removeApp(this.name),(0,W.deleteApp)(this._delegate)))}_getService(Je,Ve=W._DEFAULT_ENTRY_NAME){var ut;this._delegate.checkDestroyed();const ke=this._delegate.container.getProvider(Je);return!ke.isInitialized()&&"EXPLICIT"===(null===(ut=ke.getComponent())||void 0===ut?void 0:ut.instantiationMode)&&ke.initialize(),ke.getImmediate({identifier:Ve})}_removeServiceInstance(Je,Ve=W._DEFAULT_ENTRY_NAME){this._delegate.container.getProvider(Je).clearInstance(Ve)}_addComponent(Je){(0,W._addComponent)(this._delegate,Je)}_addOrOverwriteComponent(Je){(0,W._addOrOverwriteComponent)(this._delegate,Je)}toJSON(){return{name:this.name,automaticDataCollectionEnabled:this.automaticDataCollectionEnabled,options:this.options}}}const Z=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."}),H=function te(){const we=function re(we){const Je={},Ve={__esModule:!0,initializeApp:function G(ge,xe={}){const Ge=W.initializeApp(ge,xe);if((0,s.r3)(Je,Ge.name))return Je[Ge.name];const nt=new we(Ge,Ve);return Je[Ge.name]=nt,nt},app:ke,registerVersion:W.registerVersion,setLogLevel:W.setLogLevel,onLog:W.onLog,apps:null,SDK_VERSION:W.SDK_VERSION,INTERNAL:{registerComponent:function ie(ge){const xe=ge.name,Ge=xe.replace("-compat","");if(W._registerComponent(ge)&&"PUBLIC"===ge.type){const nt=(ht=ke())=>{if("function"!=typeof ht[Ge])throw Z.create("invalid-app-argument",{appName:xe});return ht[Ge]()};void 0!==ge.serviceProps&&(0,s.ZB)(nt,ge.serviceProps),Ve[Ge]=nt,we.prototype[Ge]=function(...ht){return this._getService.bind(this,xe).apply(this,ge.multipleInstances?ht:[])}}return"PUBLIC"===ge.type?Ve[Ge]:null},removeApp:function ut(ge){delete Je[ge]},useAsService:function ue(ge,xe){return"serverAuth"===xe?null:xe},modularAPIs:W}};function ke(ge){if(!(0,s.r3)(Je,ge=ge||W._DEFAULT_ENTRY_NAME))throw Z.create("no-app",{appName:ge});return Je[ge]}return Ve.default=Ve,Object.defineProperty(Ve,"apps",{get:function z(){return Object.keys(Je).map(ge=>Je[ge])}}),ke.App=we,Ve}(I);return we.INTERNAL=Object.assign(Object.assign({},we.INTERNAL),{createFirebaseNamespace:te,extendNamespace:function Je(Ve){(0,s.ZB)(we,Ve)},createSubscribe:s.ne,ErrorFactory:s.LL,deepExtend:s.ZB}),we}(),J=new U.Yd("@firebase/app-compat");if((0,s.jU)()&&void 0!==self.firebase){J.warn("\n Warning: Firebase is already defined in the global scope. Please make sure\n Firebase library is only loaded once.\n ");const we=self.firebase.SDK_VERSION;we&&we.indexOf("LITE")>=0&&J.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 Ke=H;!function Ie(we){(0,W.registerVersion)("@firebase/app-compat","0.2.13",we)}()},534:(ft,De,v)=>{v.r(De),v.d(De,{FirebaseError:()=>U.ZR,SDK_VERSION:()=>Ze,_DEFAULT_ENTRY_NAME:()=>rn,_addComponent:()=>_n,_addOrOverwriteComponent:()=>Fn,_apps:()=>Tn,_clearComponents:()=>Qn,_components:()=>cn,_getProvider:()=>or,_registerComponent:()=>Yt,_removeServiceInstance:()=>on,deleteApp:()=>st,getApp:()=>yt,getApps:()=>We,initializeApp:()=>Dt,onLog:()=>en,registerVersion:()=>Ut,setLogLevel:()=>Jn});var s=v(5861),m=v(4537),W=v(7879),U=v(9058);const I=(X,ce)=>ce.some(Ce=>X instanceof Ce);let Y,Z;const H=new WeakMap,J=new WeakMap,fe=new WeakMap,Se=new WeakMap,Ie=new WeakMap;let Je={get(X,ce,Ce){if(X instanceof IDBTransaction){if("done"===ce)return J.get(X);if("objectStoreNames"===ce)return X.objectStoreNames||fe.get(X);if("store"===ce)return Ce.objectStoreNames[1]?void 0:Ce.objectStore(Ce.objectStoreNames[0])}return G(X[ce])},set:(X,ce,Ce)=>(X[ce]=Ce,!0),has:(X,ce)=>X instanceof IDBTransaction&&("done"===ce||"store"===ce)||ce in X};function ke(X){return"function"==typeof X?function ut(X){return X!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?function te(){return Z||(Z=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}().includes(X)?function(...ce){return X.apply(z(this),ce),G(H.get(this))}:function(...ce){return G(X.apply(z(this),ce))}:function(ce,...Ce){const rt=X.call(z(this),ce,...Ce);return fe.set(rt,ce.sort?ce.sort():[ce]),G(rt)}}(X):(X instanceof IDBTransaction&&function we(X){if(J.has(X))return;const ce=new Promise((Ce,rt)=>{const Xe=()=>{X.removeEventListener("complete",wt),X.removeEventListener("error",Ot),X.removeEventListener("abort",Ot)},wt=()=>{Ce(),Xe()},Ot=()=>{rt(X.error||new DOMException("AbortError","AbortError")),Xe()};X.addEventListener("complete",wt),X.addEventListener("error",Ot),X.addEventListener("abort",Ot)});J.set(X,ce)}(X),I(X,function re(){return Y||(Y=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}())?new Proxy(X,Je):X)}function G(X){if(X instanceof IDBRequest)return function Ke(X){const ce=new Promise((Ce,rt)=>{const Xe=()=>{X.removeEventListener("success",wt),X.removeEventListener("error",Ot)},wt=()=>{Ce(G(X.result)),Xe()},Ot=()=>{rt(X.error),Xe()};X.addEventListener("success",wt),X.addEventListener("error",Ot)});return ce.then(Ce=>{Ce instanceof IDBCursor&&H.set(Ce,X)}).catch(()=>{}),Ie.set(ce,X),ce}(X);if(Se.has(X))return Se.get(X);const ce=ke(X);return ce!==X&&(Se.set(X,ce),Ie.set(ce,X)),ce}const z=X=>Ie.get(X),ge=["get","getKey","getAll","getAllKeys","count"],xe=["put","add","delete","clear"],Ge=new Map;function nt(X,ce){var Ce;if(!(X instanceof IDBDatabase)||ce in X||"string"!=typeof ce)return;if(Ge.get(ce))return Ge.get(ce);const rt=ce.replace(/FromIndex$/,""),Xe=ce!==rt,wt=xe.includes(rt);if(!(rt in(Xe?IDBIndex:IDBObjectStore).prototype)||!wt&&!ge.includes(rt))return;const Ot=function(zn){return(Ce=Ce||(0,s.Z)(function*(Rn,...sr){const Vr=this.transaction(Rn,wt?"readwrite":"readonly");let Ar=Vr.store;return Xe&&(Ar=Ar.index(sr.shift())),(yield Promise.all([Ar[rt](...sr),wt&&Vr.done]))[0]})).apply(this,arguments)};return Ge.set(ce,Ot),Ot}var ht,Mt,Pt;!function Ve(X){Je=X(Je)}(X=>({...X,get:(ce,Ce,rt)=>nt(ce,Ce)||X.get(ce,Ce,rt),has:(ce,Ce)=>!!nt(ce,Ce)||X.has(ce,Ce)}));class Gt{constructor(ce){this.container=ce}getPlatformInfoString(){return this.container.getProviders().map(Ce=>{if(function $t(X){const ce=X.getComponent();return"VERSION"===ce?.type}(Ce)){const rt=Ce.getImmediate();return`${rt.library}/${rt.version}`}return null}).filter(Ce=>Ce).join(" ")}}const gn="@firebase/app",Ue=new W.Yd("@firebase/app"),rn="[DEFAULT]",Xt={[gn]:"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"},Tn=new Map,cn=new Map;function _n(X,ce){try{X.container.addComponent(ce)}catch(Ce){Ue.debug(`Component ${ce.name} failed to register with FirebaseApp ${X.name}`,Ce)}}function Fn(X,ce){X.container.addOrOverwriteComponent(ce)}function Yt(X){const ce=X.name;if(cn.has(ce))return Ue.debug(`There were multiple attempts to register component ${ce}.`),!1;cn.set(ce,X);for(const Ce of Tn.values())_n(Ce,X);return!0}function or(X,ce){const Ce=X.container.getProvider("heartbeat").getImmediate({optional:!0});return Ce&&Ce.triggerHeartbeat(),X.container.getProvider(ce)}function on(X,ce,Ce=rn){or(X,ce).clearInstance(Ce)}function Qn(){cn.clear()}const In=new U.LL("app","Firebase",{"no-app":"No Firebase App '{$appName}' has been created - call initializeApp() first","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 dr{constructor(ce,Ce,rt){this._isDeleted=!1,this._options=Object.assign({},ce),this._config=Object.assign({},Ce),this._name=Ce.name,this._automaticDataCollectionEnabled=Ce.automaticDataCollectionEnabled,this._container=rt,this.container.addComponent(new m.wA("app",()=>this,"PUBLIC"))}get automaticDataCollectionEnabled(){return this.checkDestroyed(),this._automaticDataCollectionEnabled}set automaticDataCollectionEnabled(ce){this.checkDestroyed(),this._automaticDataCollectionEnabled=ce}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(ce){this._isDeleted=ce}checkDestroyed(){if(this.isDeleted)throw In.create("app-deleted",{appName:this._name})}}const Ze="9.23.0";function Dt(X,ce={}){let Ce=X;"object"!=typeof ce&&(ce={name:ce});const rt=Object.assign({name:rn,automaticDataCollectionEnabled:!1},ce),Xe=rt.name;if("string"!=typeof Xe||!Xe)throw In.create("bad-app-name",{appName:String(Xe)});if(Ce||(Ce=(0,U.aH)()),!Ce)throw In.create("no-options");const wt=Tn.get(Xe);if(wt){if((0,U.vZ)(Ce,wt.options)&&(0,U.vZ)(rt,wt.config))return wt;throw In.create("duplicate-app",{appName:Xe})}const Ot=new m.H0(Xe);for(const zn of cn.values())Ot.addComponent(zn);const Pn=new dr(Ce,rt,Ot);return Tn.set(Xe,Pn),Pn}function yt(X=rn){const ce=Tn.get(X);if(!ce&&X===rn&&(0,U.aH)())return Dt();if(!ce)throw In.create("no-app",{appName:X});return ce}function We(){return Array.from(Tn.values())}function st(X){return(ht=ht||(0,s.Z)(function*(ce){const Ce=ce.name;Tn.has(Ce)&&(Tn.delete(Ce),yield Promise.all(ce.container.getProviders().map(rt=>rt.delete())),ce.isDeleted=!0)})).apply(this,arguments)}function Ut(X,ce,Ce){var rt;let Xe=null!==(rt=Xt[X])&&void 0!==rt?rt:X;Ce&&(Xe+=`-${Ce}`);const wt=Xe.match(/\s|\//),Ot=ce.match(/\s|\//);if(wt||Ot){const Pn=[`Unable to register library "${Xe}" with version "${ce}":`];return wt&&Pn.push(`library name "${Xe}" contains illegal characters (whitespace or "/")`),wt&&Ot&&Pn.push("and"),Ot&&Pn.push(`version name "${ce}" contains illegal characters (whitespace or "/")`),void Ue.warn(Pn.join(" "))}Yt(new m.wA(`${Xe}-version`,()=>({library:Xe,version:ce}),"VERSION"))}function en(X,ce){if(null!==X&&"function"!=typeof X)throw In.create("invalid-log-argument");(0,W.Am)(X,ce)}function Jn(X){(0,W.Ub)(X)}const pe="firebase-heartbeat-database",B=1,k="firebase-heartbeat-store";let O=null;function D(){return O||(O=function ie(X,ce,{blocked:Ce,upgrade:rt,blocking:Xe,terminated:wt}={}){const Ot=indexedDB.open(X,ce),Pn=G(Ot);return rt&&Ot.addEventListener("upgradeneeded",zn=>{rt(G(Ot.result),zn.oldVersion,zn.newVersion,G(Ot.transaction),zn)}),Ce&&Ot.addEventListener("blocked",zn=>Ce(zn.oldVersion,zn.newVersion,zn)),Pn.then(zn=>{wt&&zn.addEventListener("close",()=>wt()),Xe&&zn.addEventListener("versionchange",Rn=>Xe(Rn.oldVersion,Rn.newVersion,Rn))}).catch(()=>{}),Pn}(pe,B,{upgrade:(X,ce)=>{0===ce&&X.createObjectStore(k)}}).catch(X=>{throw In.create("idb-open",{originalErrorMessage:X.message})})),O}function R(X,ce){return(Pt=Pt||(0,s.Z)(function*(Ce,rt){try{const wt=(yield D()).transaction(k,"readwrite");yield wt.objectStore(k).put(rt,P(Ce)),yield wt.done}catch(Xe){if(Xe instanceof U.ZR)Ue.warn(Xe.message);else{const wt=In.create("idb-set",{originalErrorMessage:Xe?.message});Ue.warn(wt.message)}}})).apply(this,arguments)}function P(X){return`${X.name}!${X.options.appId}`}class ne{constructor(ce){this.container=ce,this._heartbeatsCache=null;const Ce=this.container.getProvider("app").getImmediate();this._storage=new oe(Ce),this._heartbeatsCachePromise=this._storage.read().then(rt=>(this._heartbeatsCache=rt,rt))}triggerHeartbeat(){var ce=this;return(0,s.Z)(function*(){const rt=ce.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(),Xe=le();if(null===ce._heartbeatsCache&&(ce._heartbeatsCache=yield ce._heartbeatsCachePromise),ce._heartbeatsCache.lastSentHeartbeatDate!==Xe&&!ce._heartbeatsCache.heartbeats.some(wt=>wt.date===Xe))return ce._heartbeatsCache.heartbeats.push({date:Xe,agent:rt}),ce._heartbeatsCache.heartbeats=ce._heartbeatsCache.heartbeats.filter(wt=>{const Ot=new Date(wt.date).valueOf();return Date.now()-Ot<=2592e6}),ce._storage.overwrite(ce._heartbeatsCache)})()}getHeartbeatsHeader(){var ce=this;return(0,s.Z)(function*(){if(null===ce._heartbeatsCache&&(yield ce._heartbeatsCachePromise),null===ce._heartbeatsCache||0===ce._heartbeatsCache.heartbeats.length)return"";const Ce=le(),{heartbeatsToSend:rt,unsentEntries:Xe}=function je(X,ce=1024){const Ce=[];let rt=X.slice();for(const Xe of X){const wt=Ce.find(Ot=>Ot.agent===Xe.agent);if(wt){if(wt.dates.push(Xe.date),ee(Ce)>ce){wt.dates.pop();break}}else if(Ce.push({agent:Xe.agent,dates:[Xe.date]}),ee(Ce)>ce){Ce.pop();break}rt=rt.slice(1)}return{heartbeatsToSend:Ce,unsentEntries:rt}}(ce._heartbeatsCache.heartbeats),wt=(0,U.L)(JSON.stringify({version:2,heartbeats:rt}));return ce._heartbeatsCache.lastSentHeartbeatDate=Ce,Xe.length>0?(ce._heartbeatsCache.heartbeats=Xe,yield ce._storage.overwrite(ce._heartbeatsCache)):(ce._heartbeatsCache.heartbeats=[],ce._storage.overwrite(ce._heartbeatsCache)),wt})()}}function le(){return(new Date).toISOString().substring(0,10)}class oe{constructor(ce){this.app=ce,this._canUseIndexedDBPromise=this.runIndexedDBEnvironmentCheck()}runIndexedDBEnvironmentCheck(){return(0,s.Z)(function*(){return!!(0,U.hl)()&&(0,U.eu)().then(()=>!0).catch(()=>!1)})()}read(){var ce=this;return(0,s.Z)(function*(){return(yield ce._canUseIndexedDBPromise)&&(yield function F(X){return(Mt=Mt||(0,s.Z)(function*(ce){try{return yield(yield D()).transaction(k).objectStore(k).get(P(ce))}catch(Ce){if(Ce instanceof U.ZR)Ue.warn(Ce.message);else{const rt=In.create("idb-get",{originalErrorMessage:Ce?.message});Ue.warn(rt.message)}}})).apply(this,arguments)}(ce.app))||{heartbeats:[]}})()}overwrite(ce){var Ce=this;return(0,s.Z)(function*(){var rt;if(yield Ce._canUseIndexedDBPromise){const wt=yield Ce.read();return R(Ce.app,{lastSentHeartbeatDate:null!==(rt=ce.lastSentHeartbeatDate)&&void 0!==rt?rt:wt.lastSentHeartbeatDate,heartbeats:ce.heartbeats})}})()}add(ce){var Ce=this;return(0,s.Z)(function*(){var rt;if(yield Ce._canUseIndexedDBPromise){const wt=yield Ce.read();return R(Ce.app,{lastSentHeartbeatDate:null!==(rt=ce.lastSentHeartbeatDate)&&void 0!==rt?rt:wt.lastSentHeartbeatDate,heartbeats:[...wt.heartbeats,...ce.heartbeats]})}})()}}function ee(X){return(0,U.L)(JSON.stringify({version:2,heartbeats:X})).length}!function Pe(X){Yt(new m.wA("platform-logger",ce=>new Gt(ce),"PRIVATE")),Yt(new m.wA("heartbeat",ce=>new ne(ce),"PRIVATE")),Ut(gn,"0.9.13",X),Ut(gn,"0.9.13","esm2017"),Ut("fire-js","")}("")},4537:(ft,De,v)=>{v.d(De,{H0:()=>re,wA:()=>W});var s=v(5861),m=v(9058);class W{constructor(H,J,fe){this.name=H,this.instanceFactory=J,this.type=fe,this.multipleInstances=!1,this.serviceProps={},this.instantiationMode="LAZY",this.onInstanceCreated=null}setInstantiationMode(H){return this.instantiationMode=H,this}setMultipleInstances(H){return this.multipleInstances=H,this}setServiceProps(H){return this.serviceProps=H,this}setInstanceCreatedCallback(H){return this.onInstanceCreated=H,this}}const U="[DEFAULT]";class I{constructor(H,J){this.name=H,this.container=J,this.component=null,this.instances=new Map,this.instancesDeferred=new Map,this.instancesOptions=new Map,this.onInitCallbacks=new Map}get(H){const J=this.normalizeInstanceIdentifier(H);if(!this.instancesDeferred.has(J)){const fe=new m.BH;if(this.instancesDeferred.set(J,fe),this.isInitialized(J)||this.shouldAutoInitialize())try{const Se=this.getOrInitializeService({instanceIdentifier:J});Se&&fe.resolve(Se)}catch{}}return this.instancesDeferred.get(J).promise}getImmediate(H){var J;const fe=this.normalizeInstanceIdentifier(H?.identifier),Se=null!==(J=H?.optional)&&void 0!==J&&J;if(!this.isInitialized(fe)&&!this.shouldAutoInitialize()){if(Se)return null;throw Error(`Service ${this.name} is not available`)}try{return this.getOrInitializeService({instanceIdentifier:fe})}catch(Ie){if(Se)return null;throw Ie}}getComponent(){return this.component}setComponent(H){if(H.name!==this.name)throw Error(`Mismatching Component ${H.name} for Provider ${this.name}.`);if(this.component)throw Error(`Component for ${this.name} has already been provided`);if(this.component=H,this.shouldAutoInitialize()){if(function Z(te){return"EAGER"===te.instantiationMode}(H))try{this.getOrInitializeService({instanceIdentifier:U})}catch{}for(const[J,fe]of this.instancesDeferred.entries()){const Se=this.normalizeInstanceIdentifier(J);try{const Ie=this.getOrInitializeService({instanceIdentifier:Se});fe.resolve(Ie)}catch{}}}}clearInstance(H=U){this.instancesDeferred.delete(H),this.instancesOptions.delete(H),this.instances.delete(H)}delete(){var H=this;return(0,s.Z)(function*(){const J=Array.from(H.instances.values());yield Promise.all([...J.filter(fe=>"INTERNAL"in fe).map(fe=>fe.INTERNAL.delete()),...J.filter(fe=>"_delete"in fe).map(fe=>fe._delete())])})()}isComponentSet(){return null!=this.component}isInitialized(H=U){return this.instances.has(H)}getOptions(H=U){return this.instancesOptions.get(H)||{}}initialize(H={}){const{options:J={}}=H,fe=this.normalizeInstanceIdentifier(H.instanceIdentifier);if(this.isInitialized(fe))throw Error(`${this.name}(${fe}) has already been initialized`);if(!this.isComponentSet())throw Error(`Component ${this.name} has not been registered yet`);const Se=this.getOrInitializeService({instanceIdentifier:fe,options:J});for(const[Ie,Ke]of this.instancesDeferred.entries())fe===this.normalizeInstanceIdentifier(Ie)&&Ke.resolve(Se);return Se}onInit(H,J){var fe;const Se=this.normalizeInstanceIdentifier(J),Ie=null!==(fe=this.onInitCallbacks.get(Se))&&void 0!==fe?fe:new Set;Ie.add(H),this.onInitCallbacks.set(Se,Ie);const Ke=this.instances.get(Se);return Ke&&H(Ke,Se),()=>{Ie.delete(H)}}invokeOnInitCallbacks(H,J){const fe=this.onInitCallbacks.get(J);if(fe)for(const Se of fe)try{Se(H,J)}catch{}}getOrInitializeService({instanceIdentifier:H,options:J={}}){let fe=this.instances.get(H);if(!fe&&this.component&&(fe=this.component.instanceFactory(this.container,{instanceIdentifier:(te=H,te===U?void 0:te),options:J}),this.instances.set(H,fe),this.instancesOptions.set(H,J),this.invokeOnInitCallbacks(fe,H),this.component.onInstanceCreated))try{this.component.onInstanceCreated(this.container,H,fe)}catch{}var te;return fe||null}normalizeInstanceIdentifier(H=U){return this.component?this.component.multipleInstances?H:U:H}shouldAutoInitialize(){return!!this.component&&"EXPLICIT"!==this.component.instantiationMode}}class re{constructor(H){this.name=H,this.providers=new Map}addComponent(H){const J=this.getProvider(H.name);if(J.isComponentSet())throw new Error(`Component ${H.name} has already been registered with ${this.name}`);J.setComponent(H)}addOrOverwriteComponent(H){this.getProvider(H.name).isComponentSet()&&this.providers.delete(H.name),this.addComponent(H)}getProvider(H){if(this.providers.has(H))return this.providers.get(H);const J=new I(H,this);return this.providers.set(H,J),J}getProviders(){return Array.from(this.providers.values())}}},7879:(ft,De,v)=>{v.d(De,{Am:()=>te,Ub:()=>re,Yd:()=>Z,in:()=>m});const s=[];var m=function(H){return H[H.DEBUG=0]="DEBUG",H[H.VERBOSE=1]="VERBOSE",H[H.INFO=2]="INFO",H[H.WARN=3]="WARN",H[H.ERROR=4]="ERROR",H[H.SILENT=5]="SILENT",H}(m||{});const W={debug:m.DEBUG,verbose:m.VERBOSE,info:m.INFO,warn:m.WARN,error:m.ERROR,silent:m.SILENT},U=m.INFO,I={[m.DEBUG]:"log",[m.VERBOSE]:"log",[m.INFO]:"info",[m.WARN]:"warn",[m.ERROR]:"error"},Y=(H,J,...fe)=>{if(J<H.logLevel)return;const Se=(new Date).toISOString(),Ie=I[J];if(!Ie)throw new Error(`Attempted to log a message with an invalid logType (value: ${J})`);console[Ie](`[${Se}] ${H.name}:`,...fe)};class Z{constructor(J){this.name=J,this._logLevel=U,this._logHandler=Y,this._userLogHandler=null,s.push(this)}get logLevel(){return this._logLevel}set logLevel(J){if(!(J in m))throw new TypeError(`Invalid value "${J}" assigned to \`logLevel\``);this._logLevel=J}setLogLevel(J){this._logLevel="string"==typeof J?W[J]:J}get logHandler(){return this._logHandler}set logHandler(J){if("function"!=typeof J)throw new TypeError("Value assigned to `logHandler` must be a function");this._logHandler=J}get userLogHandler(){return this._userLogHandler}set userLogHandler(J){this._userLogHandler=J}debug(...J){this._userLogHandler&&this._userLogHandler(this,m.DEBUG,...J),this._logHandler(this,m.DEBUG,...J)}log(...J){this._userLogHandler&&this._userLogHandler(this,m.VERBOSE,...J),this._logHandler(this,m.VERBOSE,...J)}info(...J){this._userLogHandler&&this._userLogHandler(this,m.INFO,...J),this._logHandler(this,m.INFO,...J)}warn(...J){this._userLogHandler&&this._userLogHandler(this,m.WARN,...J),this._logHandler(this,m.WARN,...J)}error(...J){this._userLogHandler&&this._userLogHandler(this,m.ERROR,...J),this._logHandler(this,m.ERROR,...J)}}function re(H){s.forEach(J=>{J.setLogLevel(H)})}function te(H,J){for(const fe of s){let Se=null;J&&J.level&&(Se=W[J.level]),fe.userLogHandler=null===H?null:(Ie,Ke,...we)=>{const Je=we.map(Ve=>{if(null==Ve)return null;if("string"==typeof Ve)return Ve;if("number"==typeof Ve||"boolean"==typeof Ve)return Ve.toString();if(Ve instanceof Error)return Ve.message;try{return JSON.stringify(Ve)}catch{return null}}).filter(Ve=>Ve).join(" ");Ke>=(Se??Ie.logLevel)&&H({level:m[Ke].toLowerCase(),message:Je,args:we,type:Ie.name})}}}},3182:(ft,De,v)=>{v.d(De,{C6:()=>s.getApps,Mq:()=>s.getApp});var s=v(534);(0,s.registerVersion)("firebase","9.23.0","app")},7142:(ft,De,v)=>{v.d(De,{Z:()=>s.Z});var s=v(3106);s.Z.registerVersion("firebase","9.23.0","app-compat")},6280:(ft,De,v)=>{v.d(De,{Cz:()=>ut,ys:()=>Ve});var s=v(5861),m=v(5879),W=v(6814),U=v(5592),I=v(2459),Y=v(2572),Z=v(8645),re=v(8180);function te(ke,G,z,ie){return new Promise((ue,ge)=>{ke||ge("IndexedDB not available");const xe=ke.open(G,z);let Ge;xe.onsuccess=nt=>{Ge=xe.result,ue(Ge)},xe.onerror=nt=>{ge(`IndexedDB error: ${xe.error}`)},"function"==typeof ie&&(xe.onupgradeneeded=nt=>{ie(nt,Ge)})})}function H(ke,G,z,ie,ue){if(!ke)return;const ge=ke.open(G,z);ge.onupgradeneeded=xe=>{const Ge=xe.target.result;ie.forEach(ht=>{if(!Ge.objectStoreNames.contains(ht.store)){const Mt=Ge.createObjectStore(ht.store,ht.storeConfig);ht.storeSchema.forEach(Pt=>{Mt.createIndex(Pt.name,Pt.keypath,Pt.options)})}});const nt=ue&&ue();nt&&Object.keys(nt).map(ht=>parseInt(ht,10)).filter(ht=>ht>xe.oldVersion).sort((ht,Mt)=>ht-Mt).forEach(ht=>{nt[ht](Ge,ge.transaction)}),Ge.close()},ge.onsuccess=xe=>{xe.target.result.close()}}function Se(ke,G,z){ke||z("You need to use the openDatabase function to create a database before you query it!"),function fe(ke,G){return ke.objectStoreNames.contains(G)}(ke,G)||z(`objectStore does not exists: ${G}`)}function Ie(ke,G){const z=ke.transaction(G.storeName,G.dbMode);return z.onerror=G.error,z.onabort=G.abort,z}function Ke(ke,G,z,ie){return{storeName:G,dbMode:ke,error:ue=>{z(ue)},abort:ue=>{z(ue)}}}var we=function(ke){return ke.readonly="readonly",ke.readwrite="readwrite",ke}(we||{});const Je=new m.OlP(null);let Ve=(()=>{class ke{constructor(z,ie){if(this.dbConfig=z,this.platformId=ie,!z.name)throw new Error("NgxIndexedDB: Please, provide the dbName in the configuration");if(!z.version)throw new Error("NgxIndexedDB: Please, provide the db version in the configuration");this.isBrowser=(0,W.NF)(this.platformId),this.isBrowser&&(this.indexedDB=window.indexedDB||window.mozIndexedDB||window.webkitIndexedDB||window.msIndexedDB,H(this.indexedDB,z.name,z.version,z.objectStoresMeta,z.migrationFactory),te(this.indexedDB,z.name).then(ue=>{ue.version!==z.version&&(this.dbConfig.version=ue.version)}))}createObjectStore(z,ie){const ue=[z];H(this.indexedDB,this.dbConfig.name,++this.dbConfig.version,ue,ie)}add(z,ie,ue){return new U.y(ge=>{te(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(xe=>{var Ge;const ht=Ie(xe,Ke(we.readwrite,z,Pt=>ge.error(Pt))).objectStore(z);(ue?ht.add(ie,ue):ht.add(ie)).onsuccess=function(Pt){return(Ge=Ge||(0,s.Z)(function*(Gt){ht.get(Gt.target.result).onsuccess=Cn=>{ge.next(Cn.target.result),ge.complete()}})).apply(this,arguments)}}).catch(xe=>ge.error(xe))})}bulkAdd(z,ie){const ue=new Promise((ge,xe)=>{te(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(Ge=>{const ht=Ie(Ge,Ke(we.readwrite,z,ge)).objectStore(z),Mt=ie.map(Pt=>new Promise((Gt,$t)=>{const gn=Pt.key;delete Pt.key,(gn?ht.add(Pt,gn):ht.add(Pt)).onsuccess=Ue=>{Gt(Ue.target.result)}}));ge(Promise.all(Mt))}).catch(Ge=>xe(Ge))});return(0,I.D)(ue)}bulkDelete(z,ie){const ue=ie.map(ge=>new Promise((xe,Ge)=>{te(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(nt=>{const ht=Ie(nt,Ke(we.readwrite,z,Ge));ht.objectStore(z).delete(ge),ht.oncomplete=()=>{this.getAll(z).pipe((0,re.q)(1)).subscribe(Pt=>{xe(Pt)})}}).catch(nt=>Ge(nt))}));return(0,I.D)(Promise.all(ue))}getByKey(z,ie){return new U.y(ue=>{te(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(ge=>{const nt=Ie(ge,Ke(we.readonly,z,ue.error)).objectStore(z).get(ie);nt.onsuccess=ht=>{ue.next(ht.target.result),ue.complete()},nt.onerror=ht=>{ue.error(ht)}}).catch(ge=>ue.error(ge))})}bulkGet(z,ie){const ue=ie.map(ge=>this.getByKey(z,ge));return new U.y(ge=>{(0,Y.a)(ue).subscribe(xe=>{ge.next(xe),ge.complete()})})}getByID(z,ie){return new U.y(ue=>{te(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(ge=>{Se(ge,z,ht=>ue.error(ht)),Ie(ge,Ke(we.readonly,z,ue.error)).objectStore(z).get(ie).onsuccess=ht=>{ue.next(ht.target.result)}}).catch(ge=>ue.error(ge))})}getByIndex(z,ie,ue){return new U.y(ge=>{te(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(xe=>{Se(xe,z,Pt=>ge.error(Pt)),Ie(xe,Ke(we.readonly,z,ge.error)).objectStore(z).index(ie).get(ue).onsuccess=Pt=>{ge.next(Pt.target.result),ge.complete()}}).catch(xe=>ge.error(xe))})}getAll(z){return new U.y(ie=>{te(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(ue=>{Se(ue,z,nt=>ie.error(nt));const Ge=Ie(ue,Ke(we.readonly,z,ie.error)).objectStore(z).getAll();Ge.onerror=nt=>{ie.error(nt)},Ge.onsuccess=({target:{result:nt}})=>{ie.next(nt),ie.complete()}}).catch(ue=>ie.error(ue))})}update(z,ie){return new U.y(ue=>{te(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(ge=>{var xe;Se(ge,z,Mt=>ue.error(Mt));const nt=Ie(ge,Ke(we.readwrite,z,Mt=>ue.error(Mt))).objectStore(z);nt.put(ie).onsuccess=function(Mt){return(xe=xe||(0,s.Z)(function*(Pt){nt.get(Pt.target.result).onsuccess=gn=>{ue.next(gn.target.result),ue.complete()}})).apply(this,arguments)}}).catch(ge=>ue.error(ge))})}delete(z,ie){return new U.y(ue=>{te(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(ge=>{Se(ge,z,nt=>ue.error(nt));const xe=Ie(ge,Ke(we.readwrite,z,nt=>ue.error(nt)));xe.objectStore(z).delete(ie),xe.oncomplete=()=>{this.getAll(z).pipe((0,re.q)(1)).subscribe(nt=>{ue.next(nt),ue.complete()})}}).catch(ge=>ue.error(ge))})}deleteByKey(z,ie){return new U.y(ue=>{te(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(ge=>{Se(ge,z,nt=>ue.error(nt));const xe=Ie(ge,Ke(we.readwrite,z,nt=>ue.error(nt))),Ge=xe.objectStore(z);xe.oncomplete=()=>{ue.next(!0),ue.complete()},Ge.delete(ie)}).catch(ge=>ue.error(ge))})}clear(z){return new U.y(ie=>{te(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(ue=>{Se(ue,z,Ge=>ie.error(Ge));const ge=Ie(ue,Ke(we.readwrite,z,Ge=>ie.error(Ge)));ge.objectStore(z).clear(),ge.oncomplete=()=>{ie.next(!0),ie.complete()}}).catch(ue=>ie.error(ue))})}deleteDatabase(){var z=this;return new U.y(ie=>{var ue;te(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(function(ge){return(ue=ue||(0,s.Z)(function*(xe){yield xe.close();const Ge=z.indexedDB.deleteDatabase(z.dbConfig.name);Ge.onsuccess=()=>{ie.next(!0),ie.complete()},Ge.onerror=nt=>ie.error(nt),Ge.onblocked=()=>{throw new Error("Unable to delete database because it's blocked")}})).apply(this,arguments)}).catch(ge=>ie.error(ge))})}openCursor(z,ie){return new U.y(ue=>{te(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(ge=>{Se(ge,z,ht=>ue.error(ht));const Ge=Ie(ge,Ke(we.readonly,z,ue.error)).objectStore(z);(void 0===ie?Ge.openCursor():Ge.openCursor(ie)).onsuccess=ht=>{ue.next(ht),ue.complete()}}).catch(ge=>ue.error(ge))})}openCursorByIndex(z,ie,ue,ge=we.readonly){const xe=new Z.x;return te(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(Ge=>{Se(Ge,z,Gt=>{xe.error(Gt)}),Ie(Ge,Ke(ge,z,Gt=>{xe.error(Gt)})).objectStore(z).index(ie).openCursor(ue).onsuccess=Gt=>{xe.next(Gt)}}).catch(Ge=>xe.error(Ge)),xe}getAllByIndex(z,ie,ue){const ge=[];return new U.y(xe=>{te(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(Ge=>{Se(Ge,z,Gt=>xe.error(Gt)),Ie(Ge,Ke(we.readonly,z,xe.error)).objectStore(z).index(ie).openCursor(ue).onsuccess=Gt=>{const $t=Gt.target.result;$t?(ge.push($t.value),$t.continue()):(xe.next(ge),xe.complete())}}).catch(Ge=>xe.error(Ge))})}getAllKeysByIndex(z,ie,ue){const ge=[];return new U.y(xe=>{te(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(Ge=>{Se(Ge,z,Gt=>xe.error(Gt)),Ie(Ge,Ke(we.readonly,z,xe.error)).objectStore(z).index(ie).openKeyCursor(ue).onsuccess=Gt=>{const $t=Gt.target.result;$t?(ge.push({primaryKey:$t.primaryKey,key:$t.key}),$t.continue()):(xe.next(ge),xe.complete())}}).catch(Ge=>xe.error(Ge))})}count(z,ie){return new U.y(ue=>{te(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(ge=>{Se(ge,z,ht=>ue.error(ht));const nt=Ie(ge,Ke(we.readonly,z,ue.error)).objectStore(z).count(ie);nt.onerror=ht=>ue.error(ht),nt.onsuccess=ht=>{ue.next(ht.target.result),ue.complete()}}).catch(ge=>ue.error(ge))})}countByIndex(z,ie,ue){return new U.y(ge=>{te(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(xe=>{Se(xe,z,Pt=>ge.error(Pt));const Mt=Ie(xe,Ke(we.readonly,z,ge.error)).objectStore(z).index(ie).count(ue);Mt.onerror=Pt=>ge.error(Pt),Mt.onsuccess=Pt=>{ge.next(Pt.target.result),ge.complete()}}).catch(xe=>ge.error(xe))})}deleteObjectStore(z){return function J(ke,G,z){if(!ke||!G||!z)throw Error('Params: "dbName", "version", "storeName" are mandatory.');return new U.y(ie=>{try{const ge=indexedDB.open(ke,G+1);ge.onupgradeneeded=xe=>{const Ge=xe.target.result;Ge.deleteObjectStore(z),Ge.close(),console.log("onupgradeneeded"),ie.next(!0),ie.complete()},ge.onerror=xe=>ie.error(xe)}catch(ue){ie.error(ue)}})}(this.dbConfig.name,++this.dbConfig.version,z)}}return ke.\u0275fac=function(z){return new(z||ke)(m.LFG(Je),m.LFG(m.Lbi))},ke.\u0275prov=m.Yz7({token:ke,factory:ke.\u0275fac}),ke})(),ut=(()=>{class ke{static forRoot(z){return{ngModule:ke,providers:[Ve,{provide:Je,useValue:z}]}}}return ke.\u0275fac=function(z){return new(z||ke)},ke.\u0275mod=m.oAB({type:ke}),ke.\u0275inj=m.cJS({imports:[[W.ez]]}),ke})()},8253:(ft,De,v)=>{v.d(De,{gE:()=>$e,VI:()=>At,YI:()=>Mt});var s=v(5879),m=v(5619),W=v(2096),U=v(2459),I=v(3019),Y=v(9315),Z=v(7398),re=v(4664),te=v(6306),H=v(7537),J=v(1374),fe=v(1631),Se=v(9360),Ie=v(8251),we=v(836),Je=v(8180),Ve=v(9397),ut=v(9790);function G(ye){return"function"==typeof ye}function z(ye){if("[object Object]"!==Object.prototype.toString.call(ye))return!1;{const Oe=Object.getPrototypeOf(ye);return null===Oe||Oe===Object.prototype}}function ie(ye){return!!ye&&"string"==typeof ye}function ue(ye){return"boolean"==typeof ye}function xe(ye){return Array.isArray(ye)?ye.length>0:!!ye}function Ge(ye){return ie(ye)?[ye]:ye}let nt=(()=>{class ye{constructor(){this.permissionsSource=new m.X({}),this.permissions$=this.permissionsSource.asObservable()}}return ye.\u0275fac=function(N){return new(N||ye)},ye.\u0275prov=s.Yz7({token:ye,factory:ye.\u0275fac}),ye})();const ht=new s.OlP("USE_PERMISSIONS_STORE");let Mt=(()=>{class ye{constructor(N=!1,Ae){this.isolate=N,this.permissionsStore=Ae,this.permissionsSource=N?new m.X({}):Ae.permissionsSource,this.permissions$=this.permissionsSource.asObservable()}flushPermissions(){this.permissionsSource.next({})}hasPermission(N){return!N||Array.isArray(N)&&0===N.length?Promise.resolve(!0):(N=Ge(N),this.hasArrayPermission(N))}loadPermissions(N,Ae){const Le=N.reduce((St,vt)=>this.reducePermission(St,vt,Ae),{});this.permissionsSource.next(Le)}addPermission(N,Ae){if(Array.isArray(N)){const Le=N.reduce((St,vt)=>this.reducePermission(St,vt,Ae),this.permissionsSource.value);this.permissionsSource.next(Le)}else{const Le=this.reducePermission(this.permissionsSource.value,N,Ae);this.permissionsSource.next(Le)}}removePermission(N){const Ae={...this.permissionsSource.value};delete Ae[N],this.permissionsSource.next(Ae)}getPermission(N){return this.permissionsSource.value[N]}getPermissions(){return this.permissionsSource.value}reducePermission(N,Ae,Le){return Le&&G(Le)?{...N,[Ae]:{name:Ae,validationFunction:Le}}:{...N,[Ae]:{name:Ae}}}hasArrayPermission(N){const Ae=N.map(Le=>{if(this.hasPermissionValidationFunction(Le)){const St=this.permissionsSource.value[Le].validationFunction,vt={...this.permissionsSource.value};return(0,W.of)(null).pipe((0,Z.U)(()=>St(Le,vt)),(0,re.w)(Lt=>ue(Lt)?(0,W.of)(Lt):Lt),(0,te.K)(()=>(0,W.of)(!1)))}return(0,W.of)(!!this.permissionsSource.value[Le])});return(0,U.D)(Ae).pipe((0,H.J)(),(0,J.P)(Le=>!1!==Le,!1),(0,Z.U)(Le=>!1!==Le)).toPromise().then(Le=>Le)}hasPermissionValidationFunction(N){return!!this.permissionsSource.value[N]&&!!this.permissionsSource.value[N].validationFunction&&G(this.permissionsSource.value[N].validationFunction)}}return ye.\u0275fac=function(N){return new(N||ye)(s.LFG(ht),s.LFG(nt))},ye.\u0275prov=s.Yz7({token:ye,factory:ye.\u0275fac}),ye})(),Pt=(()=>{class ye{constructor(){this.strategiesSource=new m.X({}),this.strategies$=this.strategiesSource.asObservable()}}return ye.\u0275fac=function(N){return new(N||ye)},ye.\u0275prov=s.Yz7({token:ye,factory:ye.\u0275fac}),ye})();const Gt=new s.OlP("USE_CONFIGURATION_STORE");let $t=(()=>{class ye{constructor(N=!1,Ae){this.isolate=N,this.configurationStore=Ae,this.strategiesSource=this.isolate?new m.X({}):this.configurationStore.strategiesSource,this.strategies$=this.strategiesSource.asObservable(),this.onAuthorisedDefaultStrategy=this.isolate?void 0:this.configurationStore.onAuthorisedDefaultStrategy,this.onUnAuthorisedDefaultStrategy=this.isolate?void 0:this.configurationStore.onUnAuthorisedDefaultStrategy}setDefaultOnAuthorizedStrategy(N){this.isolate?this.onAuthorisedDefaultStrategy=this.getDefinedStrategy(N):(this.configurationStore.onAuthorisedDefaultStrategy=this.getDefinedStrategy(N),this.onAuthorisedDefaultStrategy=this.configurationStore.onAuthorisedDefaultStrategy)}setDefaultOnUnauthorizedStrategy(N){this.isolate?this.onUnAuthorisedDefaultStrategy=this.getDefinedStrategy(N):(this.configurationStore.onUnAuthorisedDefaultStrategy=this.getDefinedStrategy(N),this.onUnAuthorisedDefaultStrategy=this.configurationStore.onUnAuthorisedDefaultStrategy)}addPermissionStrategy(N,Ae){this.strategiesSource.value[N]=Ae}getStrategy(N){return this.strategiesSource.value[N]}getAllStrategies(){return this.strategiesSource.value}getDefinedStrategy(N){if(this.strategiesSource.value[N]||this.isPredefinedStrategy(N))return N;throw new Error(`No ' ${N} ' strategy is found please define one`)}isPredefinedStrategy(N){return"show"===N||"remove"===N}}return ye.\u0275fac=function(N){return new(N||ye)(s.LFG(Gt),s.LFG(Pt))},ye.\u0275prov=s.Yz7({token:ye,factory:ye.\u0275fac}),ye})();class gn{constructor(){this.rolesSource=new m.X({}),this.roles$=this.rolesSource.asObservable()}}const Cn=new s.OlP("USE_ROLES_STORE");let Ue=(()=>{class ye{constructor(N=!1,Ae,Le){this.isolate=N,this.rolesStore=Ae,this.permissionsService=Le,this.rolesSource=this.isolate?new m.X({}):this.rolesStore.rolesSource,this.roles$=this.rolesSource.asObservable()}addRole(N,Ae){const Le={...this.rolesSource.value,[N]:{name:N,validationFunction:Ae}};this.rolesSource.next(Le)}addRoleWithPermissions(N,Ae){this.permissionsService.addPermission(Ae),this.addRole(N,Ae)}addRoles(N){Object.keys(N).forEach((Ae,Le)=>{this.addRole(Ae,N[Ae])})}addRolesWithPermissions(N){Object.keys(N).forEach((Ae,Le)=>{this.addRoleWithPermissions(Ae,N[Ae])})}flushRoles(){this.rolesSource.next({})}flushRolesAndPermissions(){this.flushRoles(),this.permissionsService.flushPermissions()}removeRole(N){const Ae={...this.rolesSource.value};delete Ae[N],this.rolesSource.next(Ae)}getRoles(){return this.rolesSource.value}getRole(N){return this.rolesSource.value[N]}hasOnlyRoles(N){return!N||Array.isArray(N)&&0===N.length?Promise.resolve(!0):(N=Ge(N),Promise.all([this.hasRoleKey(N),this.hasRolePermission(this.rolesSource.value,N)]).then(([Le,St])=>Le||St))}hasRoleKey(N){const Ae=N.map(Le=>{if(this.rolesSource.value[Le]&&this.rolesSource.value[Le].validationFunction&&G(this.rolesSource.value[Le].validationFunction)&&!function ge(ye){return"[object Promise]"===Object.prototype.toString.call(ye)}(this.rolesSource.value[Le].validationFunction)){const vt=this.rolesSource.value[Le].validationFunction,Lt={...this.rolesSource.value};return(0,W.of)(null).pipe((0,Z.U)(()=>vt(Le,Lt)),(0,re.w)(Mn=>ue(Mn)?(0,W.of)(Mn):Mn),(0,te.K)(()=>(0,W.of)(!1)))}return(0,W.of)(!1)});return(0,U.D)(Ae).pipe((0,H.J)(),(0,J.P)(Le=>!1!==Le,!1),(0,Z.U)(Le=>!1!==Le)).toPromise().then(Le=>Le)}hasRolePermission(N,Ae){return(0,U.D)(Ae).pipe((0,fe.z)(Le=>N[Le]&&Array.isArray(N[Le].validationFunction)?(0,U.D)(N[Le].validationFunction).pipe((0,fe.z)(St=>this.permissionsService.hasPermission(St)),function Ke(ye,Oe){return(0,Se.e)((N,Ae)=>{let Le=0;N.subscribe((0,Ie.x)(Ae,St=>{ye.call(Oe,St,Le++,N)||(Ae.next(!1),Ae.complete())},()=>{Ae.next(!0),Ae.complete()}))})}(St=>!0===St)):(0,W.of)(!1)),(0,J.P)(Le=>!0===Le,!1)).toPromise()}}return ye.\u0275fac=function(N){return new(N||ye)(s.LFG(Cn),s.LFG(gn),s.LFG(Mt))},ye.\u0275prov=s.Yz7({token:ye,factory:ye.\u0275fac}),ye})(),$e=(()=>{class ye{constructor(N,Ae,Le,St,vt,Lt){this.permissionsService=N,this.configurationService=Ae,this.rolesService=Le,this.viewContainer=St,this.changeDetector=vt,this.templateRef=Lt,this.permissionsAuthorized=new s.vpe,this.permissionsUnauthorized=new s.vpe,this.firstMergeUnusedRun=1}ngOnInit(){this.viewContainer.clear(),this.initPermissionSubscription=this.validateExceptOnlyPermissions()}ngOnChanges(N){const Ae=N.ngxPermissionsOnly,Le=N.ngxPermissionsExcept;if(Ae||Le){if(Ae&&Ae.firstChange||Le&&Le.firstChange)return;(0,I.T)(this.permissionsService.permissions$,this.rolesService.roles$).pipe((0,we.T)(this.firstMergeUnusedRun),(0,Je.q)(1)).subscribe(()=>{xe(this.ngxPermissionsExcept)?this.validateExceptAndOnlyPermissions():xe(this.ngxPermissionsOnly)?this.validateOnlyPermissions():this.handleAuthorisedPermission(this.getAuthorisedTemplates())})}}ngOnDestroy(){this.initPermissionSubscription&&this.initPermissionSubscription.unsubscribe()}validateExceptOnlyPermissions(){return(0,I.T)(this.permissionsService.permissions$,this.rolesService.roles$).pipe((0,we.T)(this.firstMergeUnusedRun)).subscribe(()=>{xe(this.ngxPermissionsExcept)?this.validateExceptAndOnlyPermissions():xe(this.ngxPermissionsOnly)?this.validateOnlyPermissions():this.handleAuthorisedPermission(this.getAuthorisedTemplates())})}validateExceptAndOnlyPermissions(){Promise.all([this.permissionsService.hasPermission(this.ngxPermissionsExcept),this.rolesService.hasOnlyRoles(this.ngxPermissionsExcept)]).then(([N,Ae])=>{if(N||Ae)this.handleUnauthorisedPermission(this.ngxPermissionsExceptElse||this.ngxPermissionsElse);else{if(this.ngxPermissionsOnly)throw!1;this.handleAuthorisedPermission(this.ngxPermissionsExceptThen||this.ngxPermissionsThen||this.templateRef)}}).catch(()=>{this.ngxPermissionsOnly?this.validateOnlyPermissions():this.handleAuthorisedPermission(this.ngxPermissionsExceptThen||this.ngxPermissionsThen||this.templateRef)})}validateOnlyPermissions(){Promise.all([this.permissionsService.hasPermission(this.ngxPermissionsOnly),this.rolesService.hasOnlyRoles(this.ngxPermissionsOnly)]).then(([N,Ae])=>{N||Ae?this.handleAuthorisedPermission(this.ngxPermissionsOnlyThen||this.ngxPermissionsThen||this.templateRef):this.handleUnauthorisedPermission(this.ngxPermissionsOnlyElse||this.ngxPermissionsElse)}).catch(()=>{this.handleUnauthorisedPermission(this.ngxPermissionsOnlyElse||this.ngxPermissionsElse)})}handleUnauthorisedPermission(N){if(!ue(this.currentAuthorizedState)||this.currentAuthorizedState){if(this.currentAuthorizedState=!1,this.permissionsUnauthorized.emit(),this.getUnAuthorizedStrategyInput())return void this.applyStrategyAccordingToStrategyType(this.getUnAuthorizedStrategyInput());this.configurationService.onUnAuthorisedDefaultStrategy&&!this.elseBlockDefined()?this.applyStrategy(this.configurationService.onUnAuthorisedDefaultStrategy):this.showTemplateBlockInView(N)}}handleAuthorisedPermission(N){if(!ue(this.currentAuthorizedState)||!this.currentAuthorizedState){if(this.currentAuthorizedState=!0,this.permissionsAuthorized.emit(),this.getAuthorizedStrategyInput())return void this.applyStrategyAccordingToStrategyType(this.getAuthorizedStrategyInput());this.configurationService.onAuthorisedDefaultStrategy&&!this.thenBlockDefined()?this.applyStrategy(this.configurationService.onAuthorisedDefaultStrategy):this.showTemplateBlockInView(N)}}applyStrategyAccordingToStrategyType(N){if(!ie(N))return G(N)?(this.showTemplateBlockInView(this.templateRef),void N(this.templateRef)):void 0;this.applyStrategy(N)}showTemplateBlockInView(N){this.viewContainer.clear(),N&&(this.viewContainer.createEmbeddedView(N),this.changeDetector.markForCheck())}getAuthorisedTemplates(){return this.ngxPermissionsOnlyThen||this.ngxPermissionsExceptThen||this.ngxPermissionsThen||this.templateRef}elseBlockDefined(){return!!this.ngxPermissionsExceptElse||!!this.ngxPermissionsElse}thenBlockDefined(){return!!this.ngxPermissionsExceptThen||!!this.ngxPermissionsThen}getAuthorizedStrategyInput(){return this.ngxPermissionsOnlyAuthorisedStrategy||this.ngxPermissionsExceptAuthorisedStrategy||this.ngxPermissionsAuthorisedStrategy}getUnAuthorizedStrategyInput(){return this.ngxPermissionsOnlyUnauthorisedStrategy||this.ngxPermissionsExceptUnauthorisedStrategy||this.ngxPermissionsUnauthorisedStrategy}applyStrategy(N){if("show"===N)return void this.showTemplateBlockInView(this.templateRef);if("remove"===N)return void this.viewContainer.clear();const Ae=this.configurationService.getStrategy(N);this.showTemplateBlockInView(this.templateRef),Ae(this.templateRef)}}return ye.\u0275fac=function(N){return new(N||ye)(s.Y36(Mt),s.Y36($t),s.Y36(Ue),s.Y36(s.s_b),s.Y36(s.sBO),s.Y36(s.Rgc))},ye.\u0275dir=s.lG2({type:ye,selectors:[["","ngxPermissionsOnly",""],["","ngxPermissionsExcept",""]],inputs:{ngxPermissionsOnly:"ngxPermissionsOnly",ngxPermissionsOnlyThen:"ngxPermissionsOnlyThen",ngxPermissionsOnlyElse:"ngxPermissionsOnlyElse",ngxPermissionsExcept:"ngxPermissionsExcept",ngxPermissionsExceptElse:"ngxPermissionsExceptElse",ngxPermissionsExceptThen:"ngxPermissionsExceptThen",ngxPermissionsThen:"ngxPermissionsThen",ngxPermissionsElse:"ngxPermissionsElse",ngxPermissionsOnlyAuthorisedStrategy:"ngxPermissionsOnlyAuthorisedStrategy",ngxPermissionsOnlyUnauthorisedStrategy:"ngxPermissionsOnlyUnauthorisedStrategy",ngxPermissionsExceptUnauthorisedStrategy:"ngxPermissionsExceptUnauthorisedStrategy",ngxPermissionsExceptAuthorisedStrategy:"ngxPermissionsExceptAuthorisedStrategy",ngxPermissionsUnauthorisedStrategy:"ngxPermissionsUnauthorisedStrategy",ngxPermissionsAuthorisedStrategy:"ngxPermissionsAuthorisedStrategy"},outputs:{permissionsAuthorized:"permissionsAuthorized",permissionsUnauthorized:"permissionsUnauthorized"},features:[s.TTD]}),ye})(),Qe=(()=>{class ye{constructor(N,Ae,Le){this.permissionsService=N,this.rolesService=Ae,this.router=Le}canActivate(N,Ae){return this.hasPermissions(N,Ae)}canActivateChild(N,Ae){return this.hasPermissions(N,Ae)}canLoad(N){return this.hasPermissions(N)}canMatch(N){return this.hasPermissions(N)}hasPermissions(N,Ae){const St=this.transformPermission(N&&N.data?N.data.permissions:{},N,Ae);return this.isParameterAvailable(St.except)?this.passingExceptPermissionsValidation(St,N,Ae):!this.isParameterAvailable(St.only)||this.passingOnlyPermissionsValidation(St,N,Ae)}transformPermission(N,Ae,Le){return{only:G(N.only)?N.only(Ae,Le):Ge(N.only),except:G(N.except)?N.except(Ae,Le):Ge(N.except),redirectTo:N.redirectTo}}isParameterAvailable(N){return!!N&&N.length>0}passingExceptPermissionsValidation(N,Ae,Le){if(N.redirectTo&&(G(N.redirectTo)||z(N.redirectTo)&&!this.isRedirectionWithParameters(N.redirectTo))){let St="";return(0,U.D)(N.except).pipe((0,fe.z)(vt=>(0,Y.D)([this.permissionsService.hasPermission(vt),this.rolesService.hasOnlyRoles(vt)]).pipe((0,Ve.b)(Lt=>{Lt.every(kn=>!1===kn)||(St=vt)}))),(0,J.P)(vt=>vt.some(Lt=>!0===Lt),!1),(0,fe.z)(vt=>St?(this.handleRedirectOfFailedPermission(N,St,Ae,Le),(0,W.of)(!1)):!vt&&N.only?this.onlyRedirectCheck(N,Ae,Le):(0,W.of)(!vt))).toPromise()}return Promise.all([this.permissionsService.hasPermission(N.except),this.rolesService.hasOnlyRoles(N.except)]).then(([St,vt])=>St||vt?(N.redirectTo&&this.redirectToAnotherRoute(N.redirectTo,Ae,Le),!1):!N.only||this.checkOnlyPermissions(N,Ae,Le))}redirectToAnotherRoute(N,Ae,Le,St){const vt=G(N)?N(St,Ae,Le):N;if(this.isRedirectionWithParameters(vt))return vt.navigationCommands=this.transformNavigationCommands(vt.navigationCommands,Ae,Le),vt.navigationExtras=this.transformNavigationExtras(vt.navigationExtras,Ae,Le),void this.router.navigate(vt.navigationCommands,vt.navigationExtras);Array.isArray(vt)?this.router.navigate(vt):this.router.navigate([vt])}isRedirectionWithParameters(N){return z(N)&&(!!N.navigationCommands||!!N.navigationExtras)}transformNavigationCommands(N,Ae,Le){return G(N)?N(Ae,Le):N}transformNavigationExtras(N,Ae,Le){return G(N)?N(Ae,Le):N}onlyRedirectCheck(N,Ae,Le){let St="";return(0,U.D)(N.only).pipe((0,fe.z)(vt=>(0,Y.D)([this.permissionsService.hasPermission(vt),this.rolesService.hasOnlyRoles(vt)]).pipe((0,Ve.b)(Lt=>{Lt.every(kn=>!1===kn)&&(St=vt)}))),(0,J.P)(vt=>G(N.redirectTo)?vt.some(Lt=>!0===Lt):vt.every(Lt=>!1===Lt),!1),(0,fe.z)(vt=>G(N.redirectTo)?vt?(0,W.of)(!0):(this.handleRedirectOfFailedPermission(N,St,Ae,Le),(0,W.of)(!1)):(St&&this.handleRedirectOfFailedPermission(N,St,Ae,Le),(0,W.of)(!vt)))).toPromise()}handleRedirectOfFailedPermission(N,Ae,Le,St){this.isFailedPermissionPropertyOfRedirectTo(N,Ae)?this.redirectToAnotherRoute(N.redirectTo[Ae],Le,St,Ae):G(N.redirectTo)?this.redirectToAnotherRoute(N.redirectTo,Le,St,Ae):this.redirectToAnotherRoute(N.redirectTo.default,Le,St,Ae)}isFailedPermissionPropertyOfRedirectTo(N,Ae){return!!N.redirectTo&&N.redirectTo[Ae]}checkOnlyPermissions(N,Ae,Le){const St={...N};return Promise.all([this.permissionsService.hasPermission(St.only),this.rolesService.hasOnlyRoles(St.only)]).then(([vt,Lt])=>!(!vt&&!Lt&&(St.redirectTo&&this.redirectToAnotherRoute(St.redirectTo,Ae,Le),1)))}passingOnlyPermissionsValidation(N,Ae,Le){return G(N.redirectTo)||z(N.redirectTo)&&!this.isRedirectionWithParameters(N.redirectTo)?this.onlyRedirectCheck(N,Ae,Le):this.checkOnlyPermissions(N,Ae,Le)}}return ye.\u0275fac=function(N){return new(N||ye)(s.LFG(Mt),s.LFG(Ue),s.LFG(ut.F0))},ye.\u0275prov=s.Yz7({token:ye,factory:ye.\u0275fac}),ye})(),At=(()=>{class ye{static forRoot(N={}){return{ngModule:ye,providers:[nt,gn,Pt,Mt,Qe,Ue,$t,{provide:ht,useValue:N.permissionsIsolate},{provide:Cn,useValue:N.rolesIsolate},{provide:Gt,useValue:N.configurationIsolate}]}}static forChild(N={}){return{ngModule:ye,providers:[{provide:ht,useValue:N.permissionsIsolate},{provide:Cn,useValue:N.rolesIsolate},{provide:Gt,useValue:N.configurationIsolate},$t,Mt,Ue,Qe]}}}return ye.\u0275fac=function(N){return new(N||ye)},ye.\u0275mod=s.oAB({type:ye}),ye.\u0275inj=s.cJS({}),ye})()},9229:(ft,De,v)=>{function s(ve){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(qe){return typeof qe}:function(qe){return qe&&"function"==typeof Symbol&&qe.constructor===Symbol&&qe!==Symbol.prototype?"symbol":typeof qe})(ve)}function U(ve,qe,ye){return(qe=function W(ve){var qe=function m(ve,qe){if("object"!==s(ve)||null===ve)return ve;var ye=ve[Symbol.toPrimitive];if(void 0!==ye){var Oe=ye.call(ve,qe||"default");if("object"!==s(Oe))return Oe;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===qe?String:Number)(ve)}(ve,"string");return"symbol"===s(qe)?qe:String(qe)}(qe))in ve?Object.defineProperty(ve,qe,{value:ye,enumerable:!0,configurable:!0,writable:!0}):ve[qe]=ye,ve}v.d(De,{FN:()=>Cn,PR:()=>Ge,Rh:()=>Ye,_W:()=>gn});var I=v(5879),Y=v(6825),Z=v(6814),re=v(8645),te=v(6593);const H=["toast-component",""];function J(ve,qe){if(1&ve){const ye=I.EpF();I.TgZ(0,"button",5),I.NdJ("click",function(){I.CHM(ye);const N=I.oxw();return I.KtG(N.remove())}),I.TgZ(1,"span",6),I._uU(2,"\xd7"),I.qZA()()}}function fe(ve,qe){if(1&ve&&(I.ynx(0),I._uU(1),I.BQk()),2&ve){const ye=I.oxw(2);I.xp6(1),I.hij("[",ye.duplicatesCount+1,"]")}}function Se(ve,qe){if(1&ve&&(I.TgZ(0,"div"),I._uU(1),I.YNc(2,fe,2,1,"ng-container",4),I.qZA()),2&ve){const ye=I.oxw();I.Tol(ye.options.titleClass),I.uIk("aria-label",ye.title),I.xp6(1),I.hij(" ",ye.title," "),I.xp6(1),I.Q6J("ngIf",ye.duplicatesCount)}}function Ie(ve,qe){if(1&ve&&I._UZ(0,"div",7),2&ve){const ye=I.oxw();I.Tol(ye.options.messageClass),I.Q6J("innerHTML",ye.message,I.oJD)}}function Ke(ve,qe){if(1&ve&&(I.TgZ(0,"div",8),I._uU(1),I.qZA()),2&ve){const ye=I.oxw();I.Tol(ye.options.messageClass),I.uIk("aria-label",ye.message),I.xp6(1),I.hij(" ",ye.message," ")}}function we(ve,qe){if(1&ve&&(I.TgZ(0,"div"),I._UZ(1,"div",9),I.qZA()),2&ve){const ye=I.oxw();I.xp6(1),I.Udp("width",ye.width+"%")}}class ue{constructor(qe,ye){U(this,"_attachedHost",void 0),U(this,"component",void 0),U(this,"viewContainerRef",void 0),U(this,"injector",void 0),this.component=qe,this.injector=ye}attach(qe,ye){return this._attachedHost=qe,qe.attach(this,ye)}detach(){const qe=this._attachedHost;if(qe)return this._attachedHost=void 0,qe.detach()}get isAttached(){return null!=this._attachedHost}setAttachedHost(qe){this._attachedHost=qe}}class ge{constructor(){U(this,"_attachedPortal",void 0),U(this,"_disposeFn",void 0)}attach(qe,ye){return this._attachedPortal=qe,this.attachComponentPortal(qe,ye)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(qe){this._disposeFn=qe}}class xe{constructor(qe){U(this,"_overlayRef",void 0),U(this,"componentInstance",void 0),U(this,"duplicatesCount",0),U(this,"_afterClosed",new re.x),U(this,"_activate",new re.x),U(this,"_manualClose",new re.x),U(this,"_resetTimeout",new re.x),U(this,"_countDuplicate",new re.x),this._overlayRef=qe}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(qe,ye){qe&&this._resetTimeout.next(),ye&&this._countDuplicate.next(++this.duplicatesCount)}}class Ge{constructor(qe,ye,Oe,N,Ae,Le){U(this,"toastId",void 0),U(this,"config",void 0),U(this,"message",void 0),U(this,"title",void 0),U(this,"toastType",void 0),U(this,"toastRef",void 0),U(this,"_onTap",new re.x),U(this,"_onAction",new re.x),this.toastId=qe,this.config=ye,this.message=Oe,this.title=N,this.toastType=Ae,this.toastRef=Le,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(qe){this._onAction.next(qe)}onAction(){return this._onAction.asObservable()}}const ht=new I.OlP("ToastConfig");class Mt extends ge{constructor(qe,ye,Oe){super(),U(this,"_hostDomElement",void 0),U(this,"_componentFactoryResolver",void 0),U(this,"_appRef",void 0),this._hostDomElement=qe,this._componentFactoryResolver=ye,this._appRef=Oe}attachComponentPortal(qe,ye){const Oe=this._componentFactoryResolver.resolveComponentFactory(qe.component);let N;return N=Oe.create(qe.injector),this._appRef.attachView(N.hostView),this.setDisposeFn(()=>{this._appRef.detachView(N.hostView),N.destroy()}),ye?this._hostDomElement.insertBefore(this._getComponentRootNode(N),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(N)),N}_getComponentRootNode(qe){return qe.hostView.rootNodes[0]}}let Pt=(()=>{var ve;class qe{constructor(){U(this,"_document",(0,I.f3M)(Z.K0)),U(this,"_containerElement",void 0)}ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const Oe=this._document.createElement("div");Oe.classList.add("overlay-container"),Oe.setAttribute("aria-live","polite"),this._document.body.appendChild(Oe),this._containerElement=Oe}}return ve=qe,U(qe,"\u0275fac",function(Oe){return new(Oe||ve)}),U(qe,"\u0275prov",I.Yz7({token:ve,factory:ve.\u0275fac,providedIn:"root"})),qe})();class Gt{constructor(qe){U(this,"_portalHost",void 0),this._portalHost=qe}attach(qe,ye=!0){return this._portalHost.attach(qe,ye)}detach(){return this._portalHost.detach()}}let $t=(()=>{var ve;class qe{constructor(){U(this,"_overlayContainer",(0,I.f3M)(Pt)),U(this,"_componentFactoryResolver",(0,I.f3M)(I._Vd)),U(this,"_appRef",(0,I.f3M)(I.z2F)),U(this,"_document",(0,I.f3M)(Z.K0)),U(this,"_paneElements",new Map)}create(Oe,N){return this._createOverlayRef(this.getPaneElement(Oe,N))}getPaneElement(Oe="",N){return this._paneElements.get(N)||this._paneElements.set(N,{}),this._paneElements.get(N)[Oe]||(this._paneElements.get(N)[Oe]=this._createPaneElement(Oe,N)),this._paneElements.get(N)[Oe]}_createPaneElement(Oe,N){const Ae=this._document.createElement("div");return Ae.id="toast-container",Ae.classList.add(Oe),Ae.classList.add("toast-container"),N?N.getContainerElement().appendChild(Ae):this._overlayContainer.getContainerElement().appendChild(Ae),Ae}_createPortalHost(Oe){return new Mt(Oe,this._componentFactoryResolver,this._appRef)}_createOverlayRef(Oe){return new Gt(this._createPortalHost(Oe))}}return ve=qe,U(qe,"\u0275fac",function(Oe){return new(Oe||ve)}),U(qe,"\u0275prov",I.Yz7({token:ve,factory:ve.\u0275fac,providedIn:"root"})),qe})(),gn=(()=>{var ve;class qe{constructor(Oe,N,Ae,Le,St){U(this,"overlay",void 0),U(this,"_injector",void 0),U(this,"sanitizer",void 0),U(this,"ngZone",void 0),U(this,"toastrConfig",void 0),U(this,"currentlyActive",0),U(this,"toasts",[]),U(this,"overlayContainer",void 0),U(this,"previousToastMessage",void 0),U(this,"index",0),this.overlay=N,this._injector=Ae,this.sanitizer=Le,this.ngZone=St,this.toastrConfig={...Oe.default,...Oe.config},Oe.config.iconClasses&&(this.toastrConfig.iconClasses={...Oe.default.iconClasses,...Oe.config.iconClasses})}show(Oe,N,Ae={},Le=""){return this._preBuildNotification(Le,Oe,N,this.applyConfig(Ae))}success(Oe,N,Ae={}){return this._preBuildNotification(this.toastrConfig.iconClasses.success||"",Oe,N,this.applyConfig(Ae))}error(Oe,N,Ae={}){return this._preBuildNotification(this.toastrConfig.iconClasses.error||"",Oe,N,this.applyConfig(Ae))}info(Oe,N,Ae={}){return this._preBuildNotification(this.toastrConfig.iconClasses.info||"",Oe,N,this.applyConfig(Ae))}warning(Oe,N,Ae={}){return this._preBuildNotification(this.toastrConfig.iconClasses.warning||"",Oe,N,this.applyConfig(Ae))}clear(Oe){for(const N of this.toasts)if(void 0!==Oe){if(N.toastId===Oe)return void N.toastRef.manualClose()}else N.toastRef.manualClose()}remove(Oe){const N=this._findToast(Oe);if(!N||(N.activeToast.toastRef.close(),this.toasts.splice(N.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 Ae=this.toasts[this.currentlyActive].toastRef;Ae.isInactive()||(this.currentlyActive=this.currentlyActive+1,Ae.activate())}return!0}findDuplicate(Oe="",N="",Ae,Le){const{includeTitleDuplicates:St}=this.toastrConfig;for(const vt of this.toasts)if((!St||St&&vt.title===Oe)&&vt.message===N)return vt.toastRef.onDuplicate(Ae,Le),vt;return null}applyConfig(Oe={}){return{...this.toastrConfig,...Oe}}_findToast(Oe){for(let N=0;N<this.toasts.length;N++)if(this.toasts[N].toastId===Oe)return{index:N,activeToast:this.toasts[N]};return null}_preBuildNotification(Oe,N,Ae,Le){return Le.onActivateTick?this.ngZone.run(()=>this._buildNotification(Oe,N,Ae,Le)):this._buildNotification(Oe,N,Ae,Le)}_buildNotification(Oe,N,Ae,Le){if(!Le.toastComponent)throw new Error("toastComponent required");const St=this.findDuplicate(Ae,N,this.toastrConfig.resetTimeoutOnDuplicate&&Le.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&Ae||N)&&this.toastrConfig.preventDuplicates&&null!==St)return St;this.previousToastMessage=N;let vt=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(vt=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));const Lt=this.overlay.create(Le.positionClass,this.overlayContainer);this.index=this.index+1;let Mn=N;N&&Le.enableHtml&&(Mn=this.sanitizer.sanitize(I.q3G.HTML,N));const kn=new xe(Lt),Ct=new Ge(this.index,Le,Mn,Ae,Oe,kn),Un=I.zs3.create({providers:[{provide:Ge,useValue:Ct}],parent:this._injector}),On=new ue(Le.toastComponent,Un),Nt=Lt.attach(On,Le.newestOnTop);kn.componentInstance=Nt.instance;const jt={toastId:this.index,title:Ae||"",message:N||"",toastRef:kn,onShown:kn.afterActivate(),onHidden:kn.afterClosed(),onTap:Ct.onTap(),onAction:Ct.onAction(),portal:Nt};return vt||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{jt.toastRef.activate()})),this.toasts.push(jt),jt}}return ve=qe,U(qe,"\u0275fac",function(Oe){return new(Oe||ve)(I.LFG(ht),I.LFG($t),I.LFG(I.zs3),I.LFG(te.H7),I.LFG(I.R0b))}),U(qe,"\u0275prov",I.Yz7({token:ve,factory:ve.\u0275fac,providedIn:"root"})),qe})(),Cn=(()=>{var ve;class qe{get displayStyle(){if("inactive"===this.state.value)return"none"}constructor(Oe,N,Ae){U(this,"toastrService",void 0),U(this,"toastPackage",void 0),U(this,"ngZone",void 0),U(this,"message",void 0),U(this,"title",void 0),U(this,"options",void 0),U(this,"duplicatesCount",void 0),U(this,"originalTimeout",void 0),U(this,"width",-1),U(this,"toastClasses",""),U(this,"state",void 0),U(this,"timeout",void 0),U(this,"intervalId",void 0),U(this,"hideTime",void 0),U(this,"sub",void 0),U(this,"sub1",void 0),U(this,"sub2",void 0),U(this,"sub3",void 0),this.toastrService=Oe,this.toastPackage=N,this.ngZone=Ae,this.message=N.message,this.title=N.title,this.options=N.config,this.originalTimeout=N.config.timeOut,this.toastClasses=`${N.toastType} ${N.config.toastClass}`,this.sub=N.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=N.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=N.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=N.toastRef.countDuplicate().subscribe(Le=>{this.duplicatesCount=Le}),this.state={value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}}}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 Oe=(new Date).getTime();this.width=(this.hideTime-Oe)/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(Oe,N){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(Oe),N)):this.timeout=setTimeout(()=>Oe(),N)}outsideInterval(Oe,N){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(Oe),N)):this.intervalId=setInterval(()=>Oe(),N)}runInsideAngular(Oe){this.ngZone?this.ngZone.run(()=>Oe()):Oe()}}return ve=qe,U(qe,"\u0275fac",function(Oe){return new(Oe||ve)(I.Y36(gn),I.Y36(Ge),I.Y36(I.R0b))}),U(qe,"\u0275cmp",I.Xpm({type:ve,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(Oe,N){1&Oe&&I.NdJ("click",function(){return N.tapToast()})("mouseenter",function(){return N.stickAround()})("mouseleave",function(){return N.delayedHideToast()}),2&Oe&&(I.d8E("@flyInOut",N.state),I.Tol(N.toastClasses),I.Udp("display",N.displayStyle))},standalone:!0,features:[I.jDz],attrs:H,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(Oe,N){1&Oe&&(I.YNc(0,J,3,0,"button",0),I.YNc(1,Se,3,5,"div",1),I.YNc(2,Ie,1,3,"div",2),I.YNc(3,Ke,2,4,"div",3),I.YNc(4,we,2,2,"div",4)),2&Oe&&(I.Q6J("ngIf",N.options.closeButton),I.xp6(1),I.Q6J("ngIf",N.title),I.xp6(1),I.Q6J("ngIf",N.message&&N.options.enableHtml),I.xp6(1),I.Q6J("ngIf",N.message&&!N.options.enableHtml),I.xp6(1),I.Q6J("ngIf",N.options.progressBar))},dependencies:[Z.O5],encapsulation:2,data:{animation:[(0,Y.X$)("flyInOut",[(0,Y.SB)("inactive",(0,Y.oB)({opacity:0})),(0,Y.SB)("active",(0,Y.oB)({opacity:1})),(0,Y.SB)("removed",(0,Y.oB)({opacity:0})),(0,Y.eR)("inactive => active",(0,Y.jt)("{{ easeTime }}ms {{ easing }}")),(0,Y.eR)("active => removed",(0,Y.jt)("{{ easeTime }}ms {{ easing }}"))])]}})),qe})();const Ue={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",toastComponent:Cn},$e=(ve={})=>(0,I.MR2)([{provide:ht,useValue:{default:Ue,config:ve}}]);let Ye=(()=>{var ve;class qe{static forRoot(Oe={}){return{ngModule:qe,providers:[$e(Oe)]}}}return ve=qe,U(qe,"\u0275fac",function(Oe){return new(Oe||ve)}),U(qe,"\u0275mod",I.oAB({type:ve})),U(qe,"\u0275inj",I.cJS({})),qe})()},5861:(ft,De,v)=>{function s(W,U,I,Y,Z,re,te){try{var H=W[re](te),J=H.value}catch(fe){return void I(fe)}H.done?U(J):Promise.resolve(J).then(Y,Z)}function m(W){return function(){var U=this,I=arguments;return new Promise(function(Y,Z){var re=W.apply(U,I);function te(J){s(re,Y,Z,te,H,"next",J)}function H(J){s(re,Y,Z,te,H,"throw",J)}te(void 0)})}}v.d(De,{Z:()=>m})},7582:(ft,De,v)=>{function U(Ue,$e){var Ye={};for(var Qe in Ue)Object.prototype.hasOwnProperty.call(Ue,Qe)&&$e.indexOf(Qe)<0&&(Ye[Qe]=Ue[Qe]);if(null!=Ue&&"function"==typeof Object.getOwnPropertySymbols){var lt=0;for(Qe=Object.getOwnPropertySymbols(Ue);lt<Qe.length;lt++)$e.indexOf(Qe[lt])<0&&Object.prototype.propertyIsEnumerable.call(Ue,Qe[lt])&&(Ye[Qe[lt]]=Ue[Qe[lt]])}return Ye}function fe(Ue,$e,Ye,Qe){return new(Ye||(Ye=Promise))(function(dt,At){function ve(Oe){try{ye(Qe.next(Oe))}catch(N){At(N)}}function qe(Oe){try{ye(Qe.throw(Oe))}catch(N){At(N)}}function ye(Oe){Oe.done?dt(Oe.value):function lt(dt){return dt instanceof Ye?dt:new Ye(function(At){At(dt)})}(Oe.value).then(ve,qe)}ye((Qe=Qe.apply(Ue,$e||[])).next())})}function G(Ue){return this instanceof G?(this.v=Ue,this):new G(Ue)}function z(Ue,$e,Ye){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var lt,Qe=Ye.apply(Ue,$e||[]),dt=[];return lt={},At("next"),At("throw"),At("return"),lt[Symbol.asyncIterator]=function(){return this},lt;function At(Ae){Qe[Ae]&&(lt[Ae]=function(Le){return new Promise(function(St,vt){dt.push([Ae,Le,St,vt])>1||ve(Ae,Le)})})}function ve(Ae,Le){try{!function qe(Ae){Ae.value instanceof G?Promise.resolve(Ae.value.v).then(ye,Oe):N(dt[0][2],Ae)}(Qe[Ae](Le))}catch(St){N(dt[0][3],St)}}function ye(Ae){ve("next",Ae)}function Oe(Ae){ve("throw",Ae)}function N(Ae,Le){Ae(Le),dt.shift(),dt.length&&ve(dt[0][0],dt[0][1])}}function ue(Ue){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Ye,$e=Ue[Symbol.asyncIterator];return $e?$e.call(Ue):(Ue=function we(Ue){var $e="function"==typeof Symbol&&Symbol.iterator,Ye=$e&&Ue[$e],Qe=0;if(Ye)return Ye.call(Ue);if(Ue&&"number"==typeof Ue.length)return{next:function(){return Ue&&Qe>=Ue.length&&(Ue=void 0),{value:Ue&&Ue[Qe++],done:!Ue}}};throw new TypeError($e?"Object is not iterable.":"Symbol.iterator is not defined.")}(Ue),Ye={},Qe("next"),Qe("throw"),Qe("return"),Ye[Symbol.asyncIterator]=function(){return this},Ye);function Qe(dt){Ye[dt]=Ue[dt]&&function(At){return new Promise(function(ve,qe){!function lt(dt,At,ve,qe){Promise.resolve(qe).then(function(ye){dt({value:ye,done:ve})},At)}(ve,qe,(At=Ue[dt](At)).done,At.value)})}}}v.d(De,{FC:()=>z,KL:()=>ue,_T:()=>U,mG:()=>fe,qq:()=>G}),"function"==typeof SuppressedError&&SuppressedError}},ft=>{ft(ft.s=3943)}]);
|
|
1
|
+
"use strict";(self.webpackChunkpos_marketplace=self.webpackChunkpos_marketplace||[]).push([[179],{6897:(ft,De,v)=>{v.d(De,{zQ:()=>Jt,ww:()=>Ni});var s=v(5879),m=v(8645),W=v(2096),U=v(5592),I=v(2459),Y=v(3019),Z=v(3093),re=v(4664),te=v(7398),H=v(7081),J=v(1374),fe=v(4674);function Se(Me,be){return(0,fe.m)(be)?(0,re.w)(()=>Me,be):(0,re.w)(()=>Me)}var Ie=v(5137),Ke=v(2181),we=v(8186),Je=v(6304),Ve=v(6814);v(3182);var At,ve,N,Ae,Le,$e=v(5861),Ye=v(534),Qe=v(4537),lt=v(9058),dt=v(7879);const Lt=new Map,Mn={activated:!1,tokenObservers:[]},kn={initialized:!1,enabled:!1};function Ct(Me){return Lt.get(Me)||Object.assign({},Mn)}function Un(){return kn}const On="https://content-firebaseappcheck.googleapis.com/v1",Vt="exchangeDebugToken",rn={OFFSET_DURATION:3e5,RETRIAL_MIN_WAIT:3e4,RETRIAL_MAX_WAIT:96e4};class Tn{constructor(be,Re,ot,mt,Tt){if(this.operation=be,this.retryPolicy=Re,this.getWaitDuration=ot,this.lowerBound=mt,this.upperBound=Tt,this.pending=null,this.nextErrorWaitInterval=mt,mt>Tt)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 Re=this;return(0,$e.Z)(function*(){Re.stop();try{Re.pending=new lt.BH,yield function cn(Me){return new Promise(be=>{setTimeout(be,Me)})}(Re.getNextRun(be)),Re.pending.resolve(),yield Re.pending.promise,Re.pending=new lt.BH,yield Re.operation(),Re.pending.resolve(),yield Re.pending.promise,Re.process(!0).catch(()=>{})}catch(ot){Re.retryPolicy(ot)?Re.process(!1).catch(()=>{}):Re.stop()}})()}getNextRun(be){if(be)return this.nextErrorWaitInterval=this.lowerBound,this.getWaitDuration();{const Re=this.nextErrorWaitInterval;return this.nextErrorWaitInterval*=2,this.nextErrorWaitInterval>this.upperBound&&(this.nextErrorWaitInterval=this.upperBound),Re}}}const Fn=new lt.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 or(Me){if(!Ct(Me).activated)throw Fn.create("use-before-activation",{appName:Me.name})}function Wn(Me,be){return(At=At||(0,$e.Z)(function*({url:Re,body:ot},mt){const Tt={"Content-Type":"application/json"},Kt=mt.getImmediate({optional:!0});if(Kt){const di=yield Kt.getHeartbeatsHeader();di&&(Tt["X-Firebase-Client"]=di)}const $n={method:"POST",body:JSON.stringify(ot),headers:Tt};let wn,yn;try{wn=yield fetch(Re,$n)}catch(di){throw Fn.create("fetch-network-error",{originalErrorMessage:di?.message})}if(200!==wn.status)throw Fn.create("fetch-status-error",{httpStatus:wn.status});try{yn=yield wn.json()}catch(di){throw Fn.create("fetch-parse-error",{originalErrorMessage:di?.message})}const Er=yn.ttl.match(/^([\d.]+)(s)$/);if(!Er||!Er[2]||isNaN(Number(Er[1])))throw Fn.create("fetch-parse-error",{originalErrorMessage:`ttl field (timeToLive) is not in standard Protobuf Duration format: ${yn.ttl}`});const Kr=1e3*Number(Er[1]),dn=Date.now();return{token:yn.token,expireTimeMillis:dn+Kr,issuedAtTimeMillis:dn}})).apply(this,arguments)}function Ze(Me,be){const{projectId:Re,appId:ot,apiKey:mt}=Me.options;return{url:`${On}/projects/${Re}/apps/${ot}:${Vt}?key=${mt}`,body:{debug_token:be}}}const Dt="firebase-app-check-database",yt=1,We="firebase-app-check-store";let Ut=null;function O(Me,be){return(ve=ve||(0,$e.Z)(function*(Re,ot){const Tt=(yield function en(){return Ut||(Ut=new Promise((Me,be)=>{try{const Re=indexedDB.open(Dt,yt);Re.onsuccess=ot=>{Me(ot.target.result)},Re.onerror=ot=>{var mt;be(Fn.create("storage-open",{originalErrorMessage:null===(mt=ot.target.error)||void 0===mt?void 0:mt.message}))},Re.onupgradeneeded=ot=>{0===ot.oldVersion&&ot.target.result.createObjectStore(We,{keyPath:"compositeKey"})}}catch(Re){be(Fn.create("storage-open",{originalErrorMessage:Re?.message}))}}),Ut)}()).transaction(We,"readwrite"),$n=Tt.objectStore(We).put({compositeKey:Re,value:ot});return new Promise((wn,yn)=>{$n.onsuccess=Er=>{wn()},Tt.onerror=Er=>{var Kr;yn(Fn.create("storage-set",{originalErrorMessage:null===(Kr=Er.target.error)||void 0===Kr?void 0:Kr.message}))}})})).apply(this,arguments)}const R=new dt.Yd("@firebase/app-check");function V(Me,be){return(0,lt.hl)()?function pe(Me,be){return O(function F(Me){return`${Me.options.appId}-${Me.name}`}(Me),be)}(Me,be).catch(Re=>{R.warn(`Failed to write token to IndexedDB. Error: ${Re}`)}):Promise.resolve()}function ne(){return Un().enabled}function le(){return(N=N||(0,$e.Z)(function*(){const Me=Un();if(Me.enabled&&Me.token)return Me.token.promise;throw Error("\n Can't get debug token in production mode.\n ")})).apply(this,arguments)}const oe={error:"UNKNOWN_ERROR"};function ee(Me){return lt.US.encodeString(JSON.stringify(Me),!1)}function Pe(Me){return(Ae=Ae||(0,$e.Z)(function*(be,Re=!1){const ot=be.app;or(ot);const mt=Ct(ot);let Kt,Tt=mt.token;if(Tt&&!Ot(Tt)&&(mt.token=void 0,Tt=void 0),!Tt){const yn=yield mt.cachedTokenPromise;yn&&(Ot(yn)?Tt=yn:yield V(ot,void 0))}if(!Re&&Tt&&Ot(Tt))return{token:Tt.token};let wn,$n=!1;if(ne()){mt.exchangeTokenPromise||(mt.exchangeTokenPromise=Wn(Ze(ot,yield le()),be.heartbeatServiceProvider).finally(()=>{mt.exchangeTokenPromise=void 0}),$n=!0);const yn=yield mt.exchangeTokenPromise;return yield V(ot,yn),mt.token=yn,{token:yn.token}}try{mt.exchangeTokenPromise||(mt.exchangeTokenPromise=mt.provider.getToken().finally(()=>{mt.exchangeTokenPromise=void 0}),$n=!0),Tt=yield Ct(ot).exchangeTokenPromise}catch(yn){"appCheck/throttled"===yn.code?R.warn(yn.message):R.error(yn),Kt=yn}return Tt?Kt?wn=Ot(Tt)?{token:Tt.token,internalError:Kt}:Pn(Kt):(wn={token:Tt.token},mt.token=Tt,yield V(ot,Tt)):wn=Pn(Kt),$n&&function wt(Me,be){const Re=Ct(Me).tokenObservers;for(const ot of Re)try{"EXTERNAL"===ot.type&&null!=be.error?ot.error(be.error):ot.next(be)}catch{}}(ot,wn),wn})).apply(this,arguments)}function Ce(Me,be){const Re=Ct(Me),ot=Re.tokenObservers.filter(mt=>mt.next!==be);0===ot.length&&Re.tokenRefresher&&Re.tokenRefresher.isRunning()&&Re.tokenRefresher.stop(),Re.tokenObservers=ot}function rt(Me){const{app:be}=Me,Re=Ct(be);let ot=Re.tokenRefresher;ot||(ot=function Xe(Me){const{app:be}=Me;return new Tn((0,$e.Z)(function*(){let ot;if(ot=Ct(be).token?yield Pe(Me,!0):yield Pe(Me),ot.error)throw ot.error;if(ot.internalError)throw ot.internalError}),()=>!0,()=>{const Re=Ct(be);if(Re.token){let ot=Re.token.issuedAtTimeMillis+.5*(Re.token.expireTimeMillis-Re.token.issuedAtTimeMillis)+3e5;return ot=Math.min(ot,Re.token.expireTimeMillis-3e5),Math.max(0,ot-Date.now())}return 0},rn.RETRIAL_MIN_WAIT,rn.RETRIAL_MAX_WAIT)}(Me),Re.tokenRefresher=ot),!ot.isRunning()&&Re.isTokenAutoRefreshEnabled&&ot.start()}function Ot(Me){return Me.expireTimeMillis-Date.now()>0}function Pn(Me){return{token:ee(oe),error:Me}}class zn{constructor(be,Re){this.app=be,this.heartbeatServiceProvider=Re}_delete(){const{tokenObservers:be}=Ct(this.app);for(const Re of be)Ce(this.app,Re.next);return Promise.resolve()}}const pi="app-check-internal";!function Eo(){(0,Ye._registerComponent)(new Qe.wA("app-check",Me=>function Rn(Me,be){return new zn(Me,be)}(Me.getProvider("app").getImmediate(),Me.getProvider("heartbeat")),"PUBLIC").setInstantiationMode("EXPLICIT").setInstanceCreatedCallback((Me,be,Re)=>{Me.getProvider(pi).initialize()})),(0,Ye._registerComponent)(new Qe.wA(pi,Me=>function sr(Me){return{getToken:be=>Pe(Me,be),getLimitedUseToken:()=>function X(Me){return(Le=Le||(0,$e.Z)(function*(be){const Re=be.app;or(Re);const{provider:ot}=Ct(Re);if(ne()){const mt=yield le(),{token:Tt}=yield Wn(Ze(Re,mt),be.heartbeatServiceProvider);return{token:Tt}}{const{token:mt}=yield ot.getToken();return{token:mt}}})).apply(this,arguments)}(Me),addTokenListener:be=>function ce(Me,be,Re,ot){const{app:mt}=Me,Tt=Ct(mt);if(Tt.tokenObservers=[...Tt.tokenObservers,{next:Re,error:ot,type:be}],Tt.token&&Ot(Tt.token)){const $n=Tt.token;Promise.resolve().then(()=>{Re({token:$n.token}),rt(Me)}).catch(()=>{})}Tt.cachedTokenPromise.then(()=>rt(Me))}(Me,"INTERNAL",be),removeTokenListener:be=>Ce(Me.app,be)}}(Me.getProvider("app-check").getImmediate()),"PUBLIC").setInstantiationMode("EXPLICIT")),(0,Ye.registerVersion)("@firebase/app-check","0.8.0")}();class er{constructor(){return(0,we.vb)("app-check")}}typeof window<"u"&&window;var sn=v(7142);const Nr=new s.OlP("angularfire2.auth.use-emulator"),ui=new s.OlP("angularfire2.auth.settings"),hr=new s.OlP("angularfire2.auth.tenant-id"),Ri=new s.OlP("angularfire2.auth.langugage-code"),lr=new s.OlP("angularfire2.auth.use-device-language"),Wr=new s.OlP("angularfire.auth.persistence");let Jt=(()=>{class Me{constructor(Re,ot,mt,Tt,Kt,$n,wn,yn,Er,Kr,dn,di){const Ci=new m.x,Sr=(0,W.of)(void 0).pipe((0,Z.Q)(Kt.outsideAngular),(0,re.w)(()=>Tt.runOutsideAngular(()=>v.e(967).then(v.bind(v,5967)))),(0,te.U)(()=>(0,Je.on)(Re,Tt,ot)),(0,te.U)(tr=>((Me,be,Re,ot,mt,Tt,Kt,$n)=>(0,Je.cc)(`${Me.name}.auth`,"AngularFireAuth",Me.name,()=>{const wn=be.runOutsideAngular(()=>Me.auth());if(Re&&wn.useEmulator(...Re),ot&&(wn.tenantId=ot),wn.languageCode=mt,Tt&&wn.useDeviceLanguage(),Kt)for(const[yn,Er]of Object.entries(Kt))wn.settings[yn]=Er;return $n&&wn.setPersistence($n),wn},[Re,ot,mt,Tt,Kt,$n]))(tr,Tt,$n,yn,Er,Kr,wn,dn)),(0,H.d)({bufferSize:1,refCount:!1}));if((0,Ve.PM)(mt))this.authState=this.user=this.idToken=this.idTokenResult=this.credential=(0,W.of)(null);else{Sr.pipe((0,J.P)()).subscribe();const kr=Sr.pipe((0,re.w)(En=>En.getRedirectResult().then(wi=>wi,()=>null)),we.iC,(0,H.d)({bufferSize:1,refCount:!1})),si=Sr.pipe((0,re.w)(En=>new U.y(wi=>({unsubscribe:Tt.runOutsideAngular(()=>En.onAuthStateChanged(nr=>wi.next(nr),nr=>wi.error(nr),()=>wi.complete()))})))),mi=Sr.pipe((0,re.w)(En=>new U.y(wi=>({unsubscribe:Tt.runOutsideAngular(()=>En.onIdTokenChanged(nr=>wi.next(nr),nr=>wi.error(nr),()=>wi.complete()))}))));this.authState=kr.pipe(Se(si),(0,Ie.R)(Kt.outsideAngular),(0,Z.Q)(Kt.insideAngular)),this.user=kr.pipe(Se(mi),(0,Ie.R)(Kt.outsideAngular),(0,Z.Q)(Kt.insideAngular)),this.idToken=this.user.pipe((0,re.w)(En=>En?(0,I.D)(En.getIdToken()):(0,W.of)(null))),this.idTokenResult=this.user.pipe((0,re.w)(En=>En?(0,I.D)(En.getIdTokenResult()):(0,W.of)(null))),this.credential=(0,Y.T)(kr,Ci,this.authState.pipe((0,Ke.h)(En=>!En))).pipe((0,te.U)(En=>En?.user?En:null),(0,Ie.R)(Kt.outsideAngular),(0,Z.Q)(Kt.insideAngular))}return(0,Je.pX)(this,Sr,Tt,{spy:{apply:(tr,kr,si)=>{(tr.startsWith("signIn")||tr.startsWith("createUser"))&&si.then(mi=>Ci.next(mi))}}})}}return Me.\u0275fac=function(Re){return new(Re||Me)(s.LFG(Je.Dh),s.LFG(Je.xv,8),s.LFG(s.Lbi),s.LFG(s.R0b),s.LFG(we.HU),s.LFG(Nr,8),s.LFG(ui,8),s.LFG(hr,8),s.LFG(Ri,8),s.LFG(lr,8),s.LFG(Wr,8),s.LFG(er,8))},Me.\u0275prov=s.Yz7({token:Me,factory:Me.\u0275fac,providedIn:"any"}),Me})(),Ni=(()=>{class Me{constructor(){sn.Z.registerVersion("angularfire",we.q4.full,"auth-compat")}}return Me.\u0275fac=function(Re){return new(Re||Me)},Me.\u0275mod=s.oAB({type:Me}),Me.\u0275inj=s.cJS({providers:[Jt]}),Me})()},6304:(ft,De,v)=>{v.d(De,{Dh:()=>re,GT:()=>Y,cc:()=>Ie,hO:()=>Se,on:()=>H,pX:()=>I,xv:()=>te});var s=v(5879),m=v(7142),W=v(8186);ft=v.hmd(ft);const U=["ngOnDestroy"],I=(Ve,ut,ke,G={})=>new Proxy(Ve,{get:(z,ie)=>ke.runOutsideAngular(()=>{var ue;if(Ve[ie])return!(null===(ue=G?.spy)||void 0===ue)&&ue.get&&G.spy.get(ie,Ve[ie]),Ve[ie];if(U.indexOf(ie)>-1)return()=>{};const ge=ut.toPromise().then(xe=>{const Ge=xe&&xe[ie];return"function"==typeof Ge?Ge.bind(xe):Ge&&Ge.then?Ge.then(nt=>ke.run(()=>nt)):ke.run(()=>Ge)});return new Proxy(()=>{},{get:(xe,Ge)=>ge[Ge],apply:(xe,Ge,nt)=>ge.then(ht=>{var Mt;const Pt=ht&&ht(...nt);return!(null===(Mt=G?.spy)||void 0===Mt)&&Mt.apply&&G.spy.apply(ie,nt,Pt),Pt})})})}),Y=(Ve,ut)=>{ut.forEach(ke=>{Object.getOwnPropertyNames(ke.prototype||ke).forEach(G=>{Object.defineProperty(Ve.prototype,G,Object.getOwnPropertyDescriptor(ke.prototype||ke,G))})})};class Z{constructor(ut){return ut}}const re=new s.OlP("angularfire2.app.options"),te=new s.OlP("angularfire2.app.name");function H(Ve,ut,ke){const z="object"==typeof ke&&ke||{};z.name=z.name||"string"==typeof ke&&ke||"[DEFAULT]";const ue=m.Z.apps.filter(ge=>ge&&ge.name===z.name)[0]||ut.runOutsideAngular(()=>m.Z.initializeApp(Ve,z));try{JSON.stringify(Ve)!==JSON.stringify(ue.options)&&J("error",`${ue.name} Firebase App already initialized with different options${ft.hot?", you may need to reload as Firebase is not HMR aware.":"."}`)}catch{}return new Z(ue)}const J=(Ve,...ut)=>{(0,s.X6Q)()&&typeof console<"u"&&console[Ve](...ut)},fe={provide:Z,useFactory:H,deps:[re,s.R0b,[new s.FiY,te]]};let Se=(()=>{class Ve{constructor(ke){m.Z.registerVersion("angularfire",W.q4.full,"core"),m.Z.registerVersion("angularfire",W.q4.full,"app-compat"),m.Z.registerVersion("angular",s.q4F.full,ke.toString())}static initializeApp(ke,G){return{ngModule:Ve,providers:[{provide:re,useValue:ke},{provide:te,useValue:G}]}}}return Ve.\u0275fac=function(ke){return new(ke||Ve)(s.LFG(s.Lbi))},Ve.\u0275mod=s.oAB({type:Ve}),Ve.\u0275inj=s.cJS({providers:[fe]}),Ve})();function Ie(Ve,ut,ke,G,z){const[,ie,ue]=globalThis.\u0275AngularfireInstanceCache.find(ge=>ge[0]===Ve)||[];if(ie)return function Ke(Ve,ut){try{return Ve.toString()===ut.toString()}catch{return Ve===ut}}(z,ue)||(Je("error",`${ut} was already initialized on the ${ke} Firebase App with different settings.${we?" You may need to reload as Firebase is not HMR aware.":""}`),Je("warn",{is:z,was:ue})),ie;{const ge=G();return globalThis.\u0275AngularfireInstanceCache.push([Ve,ge,z]),ge}}const we=!!ft.hot,Je=(Ve,...ut)=>{(0,s.X6Q)()&&typeof console<"u"&&console[Ve](...ut)};globalThis.\u0275AngularfireInstanceCache||(globalThis.\u0275AngularfireInstanceCache=[])},8186:(ft,De,v)=>{v.d(De,{q4:()=>al,iC:()=>dl,HU:()=>vu,vb:()=>_u,JM:()=>Rs});var s=v(5879),m=v(3182),W=v(5861),U=v(534),I=v(9058),Y=v(4537),Z=v(7879);const re=(E,w)=>w.some(M=>E instanceof M);let te,H;const Se=new WeakMap,Ie=new WeakMap,Ke=new WeakMap,we=new WeakMap,Je=new WeakMap;let ke={get(E,w,M){if(E instanceof IDBTransaction){if("done"===w)return Ie.get(E);if("objectStoreNames"===w)return E.objectStoreNames||Ke.get(E);if("store"===w)return M.objectStoreNames[1]?void 0:M.objectStore(M.objectStoreNames[0])}return ue(E[w])},set:(E,w,M)=>(E[w]=M,!0),has:(E,w)=>E instanceof IDBTransaction&&("done"===w||"store"===w)||w in E};function ie(E){return"function"==typeof E?function z(E){return E!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?function fe(){return H||(H=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}().includes(E)?function(...w){return E.apply(ge(this),w),ue(Se.get(this))}:function(...w){return ue(E.apply(ge(this),w))}:function(w,...M){const Q=E.call(ge(this),w,...M);return Ke.set(Q,w.sort?w.sort():[w]),ue(Q)}}(E):(E instanceof IDBTransaction&&function ut(E){if(Ie.has(E))return;const w=new Promise((M,Q)=>{const he=()=>{E.removeEventListener("complete",He),E.removeEventListener("error",it),E.removeEventListener("abort",it)},He=()=>{M(),he()},it=()=>{Q(E.error||new DOMException("AbortError","AbortError")),he()};E.addEventListener("complete",He),E.addEventListener("error",it),E.addEventListener("abort",it)});Ie.set(E,w)}(E),re(E,function J(){return te||(te=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}())?new Proxy(E,ke):E)}function ue(E){if(E instanceof IDBRequest)return function Ve(E){const w=new Promise((M,Q)=>{const he=()=>{E.removeEventListener("success",He),E.removeEventListener("error",it)},He=()=>{M(ue(E.result)),he()},it=()=>{Q(E.error),he()};E.addEventListener("success",He),E.addEventListener("error",it)});return w.then(M=>{M instanceof IDBCursor&&Se.set(M,E)}).catch(()=>{}),Je.set(w,E),w}(E);if(we.has(E))return we.get(E);const w=ie(E);return w!==E&&(we.set(E,w),Je.set(w,E)),w}const ge=E=>Je.get(E),nt=["get","getKey","getAll","getAllKeys","count"],ht=["put","add","delete","clear"],Mt=new Map;function Pt(E,w){var M;if(!(E instanceof IDBDatabase)||w in E||"string"!=typeof w)return;if(Mt.get(w))return Mt.get(w);const Q=w.replace(/FromIndex$/,""),he=w!==Q,He=ht.includes(Q);if(!(Q in(he?IDBIndex:IDBObjectStore).prototype)||!He&&!nt.includes(Q))return;const it=function(xt){return(M=M||(0,W.Z)(function*(Bt,...zt){const qt=this.transaction(Bt,He?"readwrite":"readonly");let Nn=qt.store;return he&&(Nn=Nn.index(zt.shift())),(yield Promise.all([Nn[Q](...zt),He&&qt.done]))[0]})).apply(this,arguments)};return Mt.set(w,it),it}var Gt,$t,gn,Cn,Ue,$e,Ye,Qe,lt,dt,At,ve,qe,ye,Oe,N;!function G(E){ke=E(ke)}(E=>({...E,get:(w,M,Q)=>Pt(w,M)||E.get(w,M,Q),has:(w,M)=>!!Pt(w,M)||E.has(w,M)}));const St="@firebase/installations",vt="0.6.4",Lt=1e4,Mn=`w:${vt}`,kn="FIS_v2",Ct="https://firebaseinstallations.googleapis.com/v1",ir=36e5,jt=new I.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 Vt(E){return E instanceof I.ZR&&E.code.includes("request-failed")}function rn({projectId:E}){return`${Ct}/projects/${E}/installations`}function Xt(E){return{token:E.token,requestStatus:2,expiresIn:Yt(E.expiresIn),creationTime:Date.now()}}function Tn(E,w){return(Gt=Gt||(0,W.Z)(function*(M,Q){const He=(yield Q.json()).error;return jt.create("request-failed",{requestName:M,serverCode:He.code,serverMessage:He.message,serverStatus:He.status})})).apply(this,arguments)}function cn({apiKey:E}){return new Headers({"Content-Type":"application/json",Accept:"application/json","x-goog-api-key":E})}function Fn(E){return($t=$t||(0,W.Z)(function*(w){const M=yield w();return M.status>=500&&M.status<600?w():M})).apply(this,arguments)}function Yt(E){return Number(E.replace("s","000"))}function Qn(E){return new Promise(w=>{setTimeout(w,E)})}const In=/^[cdef][\w-]{21}$/,dr="";function Ze(){try{const E=new Uint8Array(17);(self.crypto||self.msCrypto).getRandomValues(E),E[0]=112+E[0]%16;const M=function Dt(E){return function Wn(E){return btoa(String.fromCharCode(...E)).replace(/\+/g,"-").replace(/\//g,"_")}(E).substr(0,22)}(E);return In.test(M)?M:dr}catch{return dr}}function yt(E){return`${E.appName}!${E.appId}`}const We=new Map;function st(E,w){const M=yt(E);Jn(M,w),function pe(E,w){const M=function k(){return!B&&"BroadcastChannel"in self&&(B=new BroadcastChannel("[Firebase] FID Change"),B.onmessage=E=>{Jn(E.data.key,E.data.fid)}),B}();M&&M.postMessage({key:E,fid:w}),function O(){0===We.size&&B&&(B.close(),B=null)}()}(M,w)}function Jn(E,w){const M=We.get(E);if(M)for(const Q of M)Q(w)}let B=null;const D="firebase-installations-database",F=1,R="firebase-installations-store";let P=null;function V(){return P||(P=function xe(E,w,{blocked:M,upgrade:Q,blocking:he,terminated:He}={}){const it=indexedDB.open(E,w),pt=ue(it);return Q&&it.addEventListener("upgradeneeded",xt=>{Q(ue(it.result),xt.oldVersion,xt.newVersion,ue(it.transaction))}),M&&it.addEventListener("blocked",()=>M()),pt.then(xt=>{He&&xt.addEventListener("close",()=>He()),he&&xt.addEventListener("versionchange",()=>he())}).catch(()=>{}),pt}(D,F,{upgrade:(E,w)=>{0===w&&E.createObjectStore(R)}})),P}function me(E,w){return(Cn=Cn||(0,W.Z)(function*(M,Q){const he=yt(M),it=(yield V()).transaction(R,"readwrite"),pt=it.objectStore(R),xt=yield pt.get(he);return yield pt.put(Q,he),yield it.done,(!xt||xt.fid!==Q.fid)&&st(M,Q.fid),Q})).apply(this,arguments)}function ne(E){return(Ue=Ue||(0,W.Z)(function*(w){const M=yt(w),he=(yield V()).transaction(R,"readwrite");yield he.objectStore(R).delete(M),yield he.done})).apply(this,arguments)}function le(E,w){return($e=$e||(0,W.Z)(function*(M,Q){const he=yt(M),it=(yield V()).transaction(R,"readwrite"),pt=it.objectStore(R),xt=yield pt.get(he),Bt=Q(xt);return void 0===Bt?yield pt.delete(he):yield pt.put(Bt,he),yield it.done,Bt&&(!xt||xt.fid!==Bt.fid)&&st(M,Bt.fid),Bt})).apply(this,arguments)}function je(E){return(Ye=Ye||(0,W.Z)(function*(w){let M;const Q=yield le(w.appConfig,he=>{const He=function oe(E){return Ce(E||{fid:Ze(),registrationStatus:0})}(he),it=function ee(E,w){if(0===w.registrationStatus){if(!navigator.onLine)return{installationEntry:w,registrationPromise:Promise.reject(jt.create("app-offline"))};const M={fid:w.fid,registrationStatus:1,registrationTime:Date.now()},Q=function Pe(E,w){return(Qe=Qe||(0,W.Z)(function*(M,Q){try{const he=yield function on(E,w){return(gn=gn||(0,W.Z)(function*({appConfig:M,heartbeatServiceProvider:Q},{fid:he}){const He=rn(M),it=cn(M),pt=Q.getImmediate({optional:!0});if(pt){const qt=yield pt.getHeartbeatsHeader();qt&&it.append("x-firebase-client",qt)}const Bt={method:"POST",headers:it,body:JSON.stringify({fid:he,authVersion:kn,appId:M.appId,sdkVersion:Mn})},zt=yield Fn(()=>fetch(He,Bt));if(zt.ok){const qt=yield zt.json();return{fid:qt.fid||he,registrationStatus:2,refreshToken:qt.refreshToken,authToken:Xt(qt.authToken)}}throw yield Tn("Create Installation",zt)})).apply(this,arguments)}(M,Q);return me(M.appConfig,he)}catch(he){throw Vt(he)&&409===he.customData.serverCode?yield ne(M.appConfig):yield me(M.appConfig,{fid:Q.fid,registrationStatus:0}),he}})).apply(this,arguments)}(E,M);return{installationEntry:M,registrationPromise:Q}}return 1===w.registrationStatus?{installationEntry:w,registrationPromise:X(E)}:{installationEntry:w}}(w,He);return M=it.registrationPromise,it.installationEntry});return Q.fid===dr?{installationEntry:yield M}:{installationEntry:Q,registrationPromise:M}})).apply(this,arguments)}function X(E){return(lt=lt||(0,W.Z)(function*(w){let M=yield ce(w.appConfig);for(;1===M.registrationStatus;)yield Qn(100),M=yield ce(w.appConfig);if(0===M.registrationStatus){const{installationEntry:Q,registrationPromise:he}=yield je(w);return he||Q}return M})).apply(this,arguments)}function ce(E){return le(E,w=>{if(!w)throw jt.create("installation-not-found");return Ce(w)})}function Ce(E){return function rt(E){return 1===E.registrationStatus&&E.registrationTime+Lt<Date.now()}(E)?{fid:E.fid,registrationStatus:0}:E}function Xe(E,w){return(dt=dt||(0,W.Z)(function*({appConfig:M,heartbeatServiceProvider:Q},he){const He=function wt(E,{fid:w}){return`${rn(E)}/${w}/authTokens:generate`}(M,he),it=function _n(E,{refreshToken:w}){const M=cn(E);return M.append("Authorization",function or(E){return`${kn} ${E}`}(w)),M}(M,he),pt=Q.getImmediate({optional:!0});if(pt){const qt=yield pt.getHeartbeatsHeader();qt&&it.append("x-firebase-client",qt)}const Bt={method:"POST",headers:it,body:JSON.stringify({installation:{sdkVersion:Mn,appId:M.appId}})},zt=yield Fn(()=>fetch(He,Bt));if(zt.ok)return Xt(yield zt.json());throw yield Tn("Generate Auth Token",zt)})).apply(this,arguments)}function Ot(E){return(At=At||(0,W.Z)(function*(w,M=!1){let Q;const he=yield le(w.appConfig,it=>{if(!sr(it))throw jt.create("not-registered");const pt=it.authToken;if(!M&&function Vr(E){return 2===E.requestStatus&&!function Ar(E){const w=Date.now();return w<E.creationTime||E.creationTime+E.expiresIn<w+ir}(E)}(pt))return it;if(1===pt.requestStatus)return Q=function Pn(E,w){return(ve=ve||(0,W.Z)(function*(M,Q){let he=yield zn(M.appConfig);for(;1===he.authToken.requestStatus;)yield Qn(100),he=yield zn(M.appConfig);const He=he.authToken;return 0===He.requestStatus?Ot(M,Q):He})).apply(this,arguments)}(w,M),it;{if(!navigator.onLine)throw jt.create("app-offline");const xt=function Ln(E){const w={requestStatus:1,requestTime:Date.now()};return Object.assign(Object.assign({},E),{authToken:w})}(it);return Q=function Rn(E,w){return(qe=qe||(0,W.Z)(function*(M,Q){try{const he=yield Xe(M,Q),He=Object.assign(Object.assign({},Q),{authToken:he});return yield me(M.appConfig,He),he}catch(he){if(!Vt(he)||401!==he.customData.serverCode&&404!==he.customData.serverCode){const He=Object.assign(Object.assign({},Q),{authToken:{requestStatus:0}});yield me(M.appConfig,He)}else yield ne(M.appConfig);throw he}})).apply(this,arguments)}(w,xt),xt}});return Q?yield Q:he.authToken})).apply(this,arguments)}function zn(E){return le(E,w=>{if(!sr(w))throw jt.create("not-registered");return function Hn(E){return 1===E.requestStatus&&E.requestTime+Lt<Date.now()}(w.authToken)?Object.assign(Object.assign({},w),{authToken:{requestStatus:0}}):w})}function sr(E){return void 0!==E&&2===E.registrationStatus}function Tr(E){return jt.create("missing-app-config-values",{valueName:E})}const Ai="installations",zo=E=>{const w=E.getProvider("app").getImmediate(),M=function yr(E){if(!E||!E.options)throw Tr("App Configuration");if(!E.name)throw Tr("App Name");const w=["projectId","apiKey","appId"];for(const M of w)if(!E.options[M])throw Tr(M);return{appName:E.name,projectId:E.options.projectId,apiKey:E.options.apiKey,appId:E.options.appId}}(w);return{app:w,appConfig:M,heartbeatServiceProvider:(0,U._getProvider)(w,"heartbeat"),_delete:()=>Promise.resolve()}},Ji=E=>{const w=E.getProvider("app").getImmediate(),M=(0,U._getProvider)(w,Ai).getImmediate();return{getId:()=>function zr(E){return(ye=ye||(0,W.Z)(function*(w){const M=w,{installationEntry:Q,registrationPromise:he}=yield je(M);return he?he.catch(console.error):Ot(M).catch(console.error),Q.fid})).apply(this,arguments)}(M),getToken:he=>function Or(E){return(Oe=Oe||(0,W.Z)(function*(w,M=!1){const Q=w;return yield function An(E){return(N=N||(0,W.Z)(function*(w){const{registrationPromise:M}=yield je(w);M&&(yield M)})).apply(this,arguments)}(Q),(yield Ot(Q,M)).token})).apply(this,arguments)}(M,he)}};var br;(function Oo(){(0,U._registerComponent)(new Y.wA(Ai,zo,"PUBLIC")),(0,U._registerComponent)(new Y.wA("installations-internal",Ji,"PRIVATE"))})(),(0,U.registerVersion)(St,vt),(0,U.registerVersion)(St,vt,"esm2017");const oi="@firebase/remote-config",er=new I.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 Nr{constructor(w,M,Q,he){this.client=w,this.storage=M,this.storageCache=Q,this.logger=he}isCachedDataFresh(w,M){if(!M)return this.logger.debug("Config fetch cache check. Cache unpopulated."),!1;const Q=Date.now()-M,he=Q<=w;return this.logger.debug(`Config fetch cache check. Cache age millis: ${Q}. Cache max age millis (minimumFetchIntervalMillis setting): ${w}. Is cache hit: ${he}.`),he}fetch(w){var M=this;return(0,W.Z)(function*(){const[Q,he]=yield Promise.all([M.storage.getLastSuccessfulFetchTimestampMillis(),M.storage.getLastSuccessfulFetchResponse()]);if(he&&M.isCachedDataFresh(w.cacheMaxAgeMillis,Q))return he;w.eTag=he&&he.eTag;const He=yield M.client.fetch(w),it=[M.storageCache.setLastSuccessfulFetchTimestampMillis(Date.now())];return 200===He.status&&it.push(M.storage.setLastSuccessfulFetchResponse(He)),yield Promise.all(it),He})()}}function ui(E=navigator){return E.languages&&E.languages[0]||E.language}class hr{constructor(w,M,Q,he,He,it){this.firebaseInstallations=w,this.sdkVersion=M,this.namespace=Q,this.projectId=he,this.apiKey=He,this.appId=it}fetch(w){var M=this;return(0,W.Z)(function*(){const[Q,he]=yield Promise.all([M.firebaseInstallations.getId(),M.firebaseInstallations.getToken()]),it=`${window.FIREBASE_REMOTE_CONFIG_URL_BASE||"https://firebaseremoteconfig.googleapis.com"}/v1/projects/${M.projectId}/namespaces/${M.namespace}:fetch?key=${M.apiKey}`,pt={"Content-Type":"application/json","Content-Encoding":"gzip","If-None-Match":w.eTag||"*"},xt={sdk_version:M.sdkVersion,app_instance_id:Q,app_instance_id_token:he,app_id:M.appId,language_code:ui()},Bt={method:"POST",headers:pt,body:JSON.stringify(xt)},zt=fetch(it,Bt),qt=new Promise((mn,Mo)=>{w.signal.addEventListener(()=>{const hi=new Error("The operation was aborted.");hi.name="AbortError",Mo(hi)})});let Nn;try{yield Promise.race([zt,qt]),Nn=yield zt}catch(mn){let Mo="fetch-client-network";throw"AbortError"===mn?.name&&(Mo="fetch-timeout"),er.create(Mo,{originalErrorMessage:mn?.message})}let $r=Nn.status;const qr=Nn.headers.get("ETag")||void 0;let Zn,Yi;if(200===Nn.status){let mn;try{mn=yield Nn.json()}catch(Mo){throw er.create("fetch-client-parse",{originalErrorMessage:Mo?.message})}Zn=mn.entries,Yi=mn.state}if("INSTANCE_STATE_UNSPECIFIED"===Yi?$r=500:"NO_CHANGE"===Yi?$r=304:("NO_TEMPLATE"===Yi||"EMPTY_CONFIG"===Yi)&&(Zn={}),304!==$r&&200!==$r)throw er.create("fetch-status",{httpStatus:$r});return{status:$r,eTag:qr,config:Zn}})()}}class Wr{constructor(w,M){this.client=w,this.storage=M}fetch(w){var M=this;return(0,W.Z)(function*(){const Q=(yield M.storage.getThrottleMetadata())||{backoffCount:0,throttleEndTimeMillis:Date.now()};return M.attemptFetch(w,Q)})()}attemptFetch(w,{throttleEndTimeMillis:M,backoffCount:Q}){var he=this;return(0,W.Z)(function*(){yield function Ri(E,w){return new Promise((M,Q)=>{const he=Math.max(w-Date.now(),0),He=setTimeout(M,he);E.addEventListener(()=>{clearTimeout(He),Q(er.create("fetch-throttle",{throttleEndTimeMillis:w}))})})}(w.signal,M);try{const He=yield he.client.fetch(w);return yield he.storage.deleteThrottleMetadata(),He}catch(He){if(!function lr(E){if(!(E instanceof I.ZR&&E.customData))return!1;const w=Number(E.customData.httpStatus);return 429===w||500===w||503===w||504===w}(He))throw He;const it={throttleEndTimeMillis:Date.now()+(0,I.$s)(Q),backoffCount:Q+1};return yield he.storage.setThrottleMetadata(it),he.attemptFetch(w,it)}})()}}class Ni{constructor(w,M,Q,he,He){this.app=w,this._client=M,this._storageCache=Q,this._storage=he,this._logger=He,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 Me(E,w){const M=E.target.error||void 0;return er.create(w,{originalErrorMessage:M&&M?.message})}const be="app_namespace_store";class Tt{constructor(w,M,Q,he=function mt(){return new Promise((E,w)=>{try{const M=indexedDB.open("firebase_remote_config",1);M.onerror=Q=>{w(Me(Q,"storage-open"))},M.onsuccess=Q=>{E(Q.target.result)},M.onupgradeneeded=Q=>{0===Q.oldVersion&&Q.target.result.createObjectStore(be,{keyPath:"compositeKey"})}}catch(M){w(er.create("storage-open",{originalErrorMessage:M?.message}))}})}()){this.appId=w,this.appName=M,this.namespace=Q,this.openDbPromise=he}getLastFetchStatus(){return this.get("last_fetch_status")}setLastFetchStatus(w){return this.set("last_fetch_status",w)}getLastSuccessfulFetchTimestampMillis(){return this.get("last_successful_fetch_timestamp_millis")}setLastSuccessfulFetchTimestampMillis(w){return this.set("last_successful_fetch_timestamp_millis",w)}getLastSuccessfulFetchResponse(){return this.get("last_successful_fetch_response")}setLastSuccessfulFetchResponse(w){return this.set("last_successful_fetch_response",w)}getActiveConfig(){return this.get("active_config")}setActiveConfig(w){return this.set("active_config",w)}getActiveConfigEtag(){return this.get("active_config_etag")}setActiveConfigEtag(w){return this.set("active_config_etag",w)}getThrottleMetadata(){return this.get("throttle_metadata")}setThrottleMetadata(w){return this.set("throttle_metadata",w)}deleteThrottleMetadata(){return this.delete("throttle_metadata")}get(w){var M=this;return(0,W.Z)(function*(){const Q=yield M.openDbPromise;return new Promise((he,He)=>{const pt=Q.transaction([be],"readonly").objectStore(be),xt=M.createCompositeKey(w);try{const Bt=pt.get(xt);Bt.onerror=zt=>{He(Me(zt,"storage-get"))},Bt.onsuccess=zt=>{const qt=zt.target.result;he(qt?qt.value:void 0)}}catch(Bt){He(er.create("storage-get",{originalErrorMessage:Bt?.message}))}})})()}set(w,M){var Q=this;return(0,W.Z)(function*(){const he=yield Q.openDbPromise;return new Promise((He,it)=>{const xt=he.transaction([be],"readwrite").objectStore(be),Bt=Q.createCompositeKey(w);try{const zt=xt.put({compositeKey:Bt,value:M});zt.onerror=qt=>{it(Me(qt,"storage-set"))},zt.onsuccess=()=>{He()}}catch(zt){it(er.create("storage-set",{originalErrorMessage:zt?.message}))}})})()}delete(w){var M=this;return(0,W.Z)(function*(){const Q=yield M.openDbPromise;return new Promise((he,He)=>{const pt=Q.transaction([be],"readwrite").objectStore(be),xt=M.createCompositeKey(w);try{const Bt=pt.delete(xt);Bt.onerror=zt=>{He(Me(zt,"storage-delete"))},Bt.onsuccess=()=>{he()}}catch(Bt){He(er.create("storage-delete",{originalErrorMessage:Bt?.message}))}})})()}createCompositeKey(w){return[this.appId,this.appName,this.namespace,w].join()}}class Kt{constructor(w){this.storage=w}getLastFetchStatus(){return this.lastFetchStatus}getLastSuccessfulFetchTimestampMillis(){return this.lastSuccessfulFetchTimestampMillis}getActiveConfig(){return this.activeConfig}loadFromStorage(){var w=this;return(0,W.Z)(function*(){const M=w.storage.getLastFetchStatus(),Q=w.storage.getLastSuccessfulFetchTimestampMillis(),he=w.storage.getActiveConfig(),He=yield M;He&&(w.lastFetchStatus=He);const it=yield Q;it&&(w.lastSuccessfulFetchTimestampMillis=it);const pt=yield he;pt&&(w.activeConfig=pt)})()}setLastFetchStatus(w){return this.lastFetchStatus=w,this.storage.setLastFetchStatus(w)}setLastSuccessfulFetchTimestampMillis(w){return this.lastSuccessfulFetchTimestampMillis=w,this.storage.setLastSuccessfulFetchTimestampMillis(w)}setActiveConfig(w){return this.activeConfig=w,this.storage.setActiveConfig(w)}}function yn(){return(br=br||(0,W.Z)(function*(){if(!(0,I.hl)())return!1;try{return yield(0,I.eu)()}catch{return!1}})).apply(this,arguments)}!function $n(){(0,U._registerComponent)(new Y.wA("remote-config",function E(w,{instanceIdentifier:M}){const Q=w.getProvider("app").getImmediate(),he=w.getProvider("installations-internal").getImmediate();if(typeof window>"u")throw er.create("registration-window");if(!(0,I.hl)())throw er.create("indexed-db-unavailable");const{projectId:He,apiKey:it,appId:pt}=Q.options;if(!He)throw er.create("registration-project-id");if(!it)throw er.create("registration-api-key");if(!pt)throw er.create("registration-app-id");const xt=new Tt(pt,Q.name,M=M||"firebase"),Bt=new Kt(xt),zt=new Z.Yd(oi);zt.logLevel=Z.in.ERROR;const qt=new hr(he,U.SDK_VERSION,M,He,it,pt),Nn=new Wr(qt,xt),$r=new Nr(Nn,xt,Bt,zt),qr=new Ni(Q,$r,Bt,xt,zt);return function Hi(E){const w=(0,I.m9)(E);w._initializePromise||(w._initializePromise=w._storageCache.loadFromStorage().then(()=>{w._isInitializationComplete=!0}))}(qr),qr},"PUBLIC").setMultipleInstances(!0)),(0,U.registerVersion)(oi,"0.4.4"),(0,U.registerVersion)(oi,"0.4.4","esm2017")}();const Er=(E,w)=>w.some(M=>E instanceof M);let Kr,dn;const Sr=new WeakMap,tr=new WeakMap,kr=new WeakMap,si=new WeakMap,mi=new WeakMap;let nr={get(E,w,M){if(E instanceof IDBTransaction){if("done"===w)return tr.get(E);if("objectStoreNames"===w)return E.objectStoreNames||kr.get(E);if("store"===w)return M.objectStoreNames[1]?void 0:M.objectStore(M.objectStoreNames[0])}return Yr(E[w])},set:(E,w,M)=>(E[w]=M,!0),has:(E,w)=>E instanceof IDBTransaction&&("done"===w||"store"===w)||w in E};function fi(E){return"function"==typeof E?function ls(E){return E!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?function Ci(){return dn||(dn=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}().includes(E)?function(...w){return E.apply(ai(this),w),Yr(Sr.get(this))}:function(...w){return Yr(E.apply(ai(this),w))}:function(w,...M){const Q=E.call(ai(this),w,...M);return kr.set(Q,w.sort?w.sort():[w]),Yr(Q)}}(E):(E instanceof IDBTransaction&&function wi(E){if(tr.has(E))return;const w=new Promise((M,Q)=>{const he=()=>{E.removeEventListener("complete",He),E.removeEventListener("error",it),E.removeEventListener("abort",it)},He=()=>{M(),he()},it=()=>{Q(E.error||new DOMException("AbortError","AbortError")),he()};E.addEventListener("complete",He),E.addEventListener("error",it),E.addEventListener("abort",it)});tr.set(E,w)}(E),Er(E,function di(){return Kr||(Kr=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}())?new Proxy(E,nr):E)}function Yr(E){if(E instanceof IDBRequest)return function En(E){const w=new Promise((M,Q)=>{const he=()=>{E.removeEventListener("success",He),E.removeEventListener("error",it)},He=()=>{M(Yr(E.result)),he()},it=()=>{Q(E.error),he()};E.addEventListener("success",He),E.addEventListener("error",it)});return w.then(M=>{M instanceof IDBCursor&&Sr.set(M,E)}).catch(()=>{}),mi.set(w,E),w}(E);if(si.has(E))return si.get(E);const w=fi(E);return w!==E&&(si.set(E,w),mi.set(w,E)),w}const ai=E=>mi.get(E);function ao(E,w,{blocked:M,upgrade:Q,blocking:he,terminated:He}={}){const it=indexedDB.open(E,w),pt=Yr(it);return Q&&it.addEventListener("upgradeneeded",xt=>{Q(Yr(it.result),xt.oldVersion,xt.newVersion,Yr(it.transaction))}),M&&it.addEventListener("blocked",()=>M()),pt.then(xt=>{He&&xt.addEventListener("close",()=>He()),he&&xt.addEventListener("versionchange",()=>he())}).catch(()=>{}),pt}function $i(E,{blocked:w}={}){const M=indexedDB.deleteDatabase(E);return w&&M.addEventListener("blocked",()=>w()),Yr(M).then(()=>{})}const No=["get","getKey","getAll","getAllKeys","count"],ea=["put","add","delete","clear"],cs=new Map;function us(E,w){var M;if(!(E instanceof IDBDatabase)||w in E||"string"!=typeof w)return;if(cs.get(w))return cs.get(w);const Q=w.replace(/FromIndex$/,""),he=w!==Q,He=ea.includes(Q);if(!(Q in(he?IDBIndex:IDBObjectStore).prototype)||!He&&!No.includes(Q))return;const it=function(xt){return(M=M||(0,W.Z)(function*(Bt,...zt){const qt=this.transaction(Bt,He?"readwrite":"readonly");let Nn=qt.store;return he&&(Nn=Nn.index(zt.shift())),(yield Promise.all([Nn[Q](...zt),He&&qt.done]))[0]})).apply(this,arguments)};return cs.set(w,it),it}var ws,xs,Us,Hs,pr,Wo,ko,lo,Ko,Ts,Ss,$s,Fo,Yo,Ms,gi,Lo,ei,_i,co;!function Fr(E){nr=E(nr)}(E=>({...E,get:(w,M,Q)=>us(w,M)||E.get(w,M,Q),has:(w,M)=>!!us(w,M)||E.has(w,M)}));const Do="/firebase-messaging-sw.js",li="/firebase-cloud-messaging-push-scope",ki="BDOU99-h67HcA6JeFXHbSNMu7e2yNNu3RzoMj8TM4W88jITfq7ZmPvIM1Iv-4_l2LxQcYwhqby2xGpWwzjfAnG4",ds="https://fcmregistrations.googleapis.com/v1",uo="google.c.a.c_id",Zo="google.c.a.c_l",eo="google.c.a.ts";var to=function(E){return E.PUSH_RECEIVED="push-received",E.NOTIFICATION_CLICKED="notification-clicked",E}(to||{});function Li(E){const w=new Uint8Array(E);return btoa(String.fromCharCode(...w)).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function fs(E){const M=(E+"=".repeat((4-E.length%4)%4)).replace(/\-/g,"+").replace(/_/g,"/"),Q=atob(M),he=new Uint8Array(Q.length);for(let He=0;He<Q.length;++He)he[He]=Q.charCodeAt(He);return he}const fo="fcm_token_details_db",Bo=5,zi="fcm_token_object_Store",hs="firebase-messaging-database",Qo=1,xi="firebase-messaging-store";let jo=null;function Jo(){return jo||(jo=ao(hs,Qo,{upgrade:(E,w)=>{0===w&&E.createObjectStore(xi)}})),jo}function As(E){return(xs=xs||(0,W.Z)(function*(w){const M=Co(w),he=yield(yield Jo()).transaction(xi).objectStore(xi).get(M);if(he)return he;{const He=yield function ho(E){return(ws=ws||(0,W.Z)(function*(w){var M;if("databases"in indexedDB&&!(yield indexedDB.databases()).map(pt=>pt.name).includes(fo))return null;let Q=null;return(yield ao(fo,Bo,{upgrade:function(it,pt,xt,Bt){return(M=M||(0,W.Z)(function*(zt,qt,Nn,$r){var qr;if(qt<2||!zt.objectStoreNames.contains(zi))return;const Zn=$r.objectStore(zi),Yi=yield Zn.index("fcmSenderId").get(w);if(yield Zn.clear(),Yi)if(2===qt){const mn=Yi;if(!mn.auth||!mn.p256dh||!mn.endpoint)return;Q={token:mn.fcmToken,createTime:null!==(qr=mn.createTime)&&void 0!==qr?qr:Date.now(),subscriptionOptions:{auth:mn.auth,p256dh:mn.p256dh,endpoint:mn.endpoint,swScope:mn.swScope,vapidKey:"string"==typeof mn.vapidKey?mn.vapidKey:Li(mn.vapidKey)}}}else if(3===qt){const mn=Yi;Q={token:mn.fcmToken,createTime:mn.createTime,subscriptionOptions:{auth:Li(mn.auth),p256dh:Li(mn.p256dh),endpoint:mn.endpoint,swScope:mn.swScope,vapidKey:Li(mn.vapidKey)}}}else if(4===qt){const mn=Yi;Q={token:mn.fcmToken,createTime:mn.createTime,subscriptionOptions:{auth:Li(mn.auth),p256dh:Li(mn.p256dh),endpoint:mn.endpoint,swScope:mn.swScope,vapidKey:Li(mn.vapidKey)}}}})).apply(this,arguments)}})).close(),yield $i(fo),yield $i("fcm_vapid_details_db"),yield $i("undefined"),function Is(E){if(!E||!E.subscriptionOptions)return!1;const{subscriptionOptions:w}=E;return"number"==typeof E.createTime&&E.createTime>0&&"string"==typeof E.token&&E.token.length>0&&"string"==typeof w.auth&&w.auth.length>0&&"string"==typeof w.p256dh&&w.p256dh.length>0&&"string"==typeof w.endpoint&&w.endpoint.length>0&&"string"==typeof w.swScope&&w.swScope.length>0&&"string"==typeof w.vapidKey&&w.vapidKey.length>0}(Q)?Q:null})).apply(this,arguments)}(w.appConfig.senderId);if(He)return yield qo(w,He),He}})).apply(this,arguments)}function qo(E,w){return(Us=Us||(0,W.Z)(function*(M,Q){const he=Co(M),it=(yield Jo()).transaction(xi,"readwrite");return yield it.objectStore(xi).put(Q,he),yield it.done,Q})).apply(this,arguments)}function Co({appConfig:E}){return E.appId}const Zr=new I.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 Vs(E,w){return(pr=pr||(0,W.Z)(function*(M,Q){const he=yield T(M),He=se(Q),it={method:"POST",headers:he,body:JSON.stringify(He)};let pt;try{pt=yield(yield fetch(f(M.appConfig),it)).json()}catch(xt){throw Zr.create("token-subscribe-failed",{errorInfo:xt?.toString()})}if(pt.error)throw Zr.create("token-subscribe-failed",{errorInfo:pt.error.message});if(!pt.token)throw Zr.create("token-subscribe-no-token");return pt.token})).apply(this,arguments)}function xo(E,w){return(ko=ko||(0,W.Z)(function*(M,Q){const He={method:"DELETE",headers:yield T(M)};try{const pt=yield(yield fetch(`${f(M.appConfig)}/${Q}`,He)).json();if(pt.error)throw Zr.create("token-unsubscribe-failed",{errorInfo:pt.error.message})}catch(it){throw Zr.create("token-unsubscribe-failed",{errorInfo:it?.toString()})}})).apply(this,arguments)}function f({projectId:E}){return`${ds}/projects/${E}/registrations`}function T(E){return(lo=lo||(0,W.Z)(function*({appConfig:w,installations:M}){const Q=yield M.getToken();return new Headers({"Content-Type":"application/json",Accept:"application/json","x-goog-api-key":w.apiKey,"x-goog-firebase-installations-auth":`FIS ${Q}`})})).apply(this,arguments)}function se({p256dh:E,auth:w,endpoint:M,vapidKey:Q}){const he={web:{endpoint:M,auth:w,p256dh:E}};return Q!==ki&&(he.web.applicationPubKey=Q),he}const b=6048e5;function $(E){return(Ko=Ko||(0,W.Z)(function*(w){const M=yield function hn(E,w){return(Fo=Fo||(0,W.Z)(function*(M,Q){return(yield M.pushManager.getSubscription())||M.pushManager.subscribe({userVisibleOnly:!0,applicationServerKey:fs(Q)})})).apply(this,arguments)}(w.swRegistration,w.vapidKey),Q={vapidKey:w.vapidKey,swScope:w.swRegistration.scope,endpoint:M.endpoint,auth:Li(M.getKey("auth")),p256dh:Li(M.getKey("p256dh"))},he=yield As(w.firebaseDependencies);if(he){if(function Vn(E,w){return w.vapidKey===E.vapidKey&&w.endpoint===E.endpoint&&w.auth===E.auth&&w.p256dh===E.p256dh}(he.subscriptionOptions,Q))return Date.now()>=he.createTime+b?function et(E,w){return(Ss=Ss||(0,W.Z)(function*(M,Q){try{const he=yield function wo(E,w){return(Wo=Wo||(0,W.Z)(function*(M,Q){const he=yield T(M),He=se(Q.subscriptionOptions),it={method:"PATCH",headers:he,body:JSON.stringify(He)};let pt;try{pt=yield(yield fetch(`${f(M.appConfig)}/${Q.token}`,it)).json()}catch(xt){throw Zr.create("token-update-failed",{errorInfo:xt?.toString()})}if(pt.error)throw Zr.create("token-update-failed",{errorInfo:pt.error.message});if(!pt.token)throw Zr.create("token-update-no-token");return pt.token})).apply(this,arguments)}(M.firebaseDependencies,Q),He=Object.assign(Object.assign({},Q),{token:he,createTime:Date.now()});return yield qo(M.firebaseDependencies,He),he}catch(he){throw yield function de(E){return(Ts=Ts||(0,W.Z)(function*(w){const M=yield As(w.firebaseDependencies);M&&(yield xo(w.firebaseDependencies,M.token),yield function Xo(E){return(Hs=Hs||(0,W.Z)(function*(w){const M=Co(w),he=(yield Jo()).transaction(xi,"readwrite");yield he.objectStore(xi).delete(M),yield he.done})).apply(this,arguments)}(w.firebaseDependencies));const Q=yield w.swRegistration.pushManager.getSubscription();return!Q||Q.unsubscribe()})).apply(this,arguments)}(M),he}})).apply(this,arguments)}(w,{token:he.token,createTime:Date.now(),subscriptionOptions:Q}):he.token;try{yield xo(w.firebaseDependencies,he.token)}catch(He){console.warn(He)}return _t(w.firebaseDependencies,Q)}return _t(w.firebaseDependencies,Q)})).apply(this,arguments)}function _t(E,w){return($s=$s||(0,W.Z)(function*(M,Q){const He={token:yield Vs(M,Q),createTime:Date.now(),subscriptionOptions:Q};return yield qo(M,He),He.token})).apply(this,arguments)}function Bn(E){const w={from:E.from,collapseKey:E.collapse_key,messageId:E.fcmMessageId};return function pn(E,w){if(!w.notification)return;E.notification={};const M=w.notification.title;M&&(E.notification.title=M);const Q=w.notification.body;Q&&(E.notification.body=Q);const he=w.notification.image;he&&(E.notification.image=he);const He=w.notification.icon;He&&(E.notification.icon=He)}(w,E),function cr(E,w){w.data&&(E.data=w.data)}(w,E),function qn(E,w){var M,Q,he,He,it;if(!(w.fcmOptions||null!==(M=w.notification)&&void 0!==M&&M.click_action))return;E.fcmOptions={};const pt=null!==(he=null===(Q=w.fcmOptions)||void 0===Q?void 0:Q.link)&&void 0!==he?he:null===(He=w.notification)||void 0===He?void 0:He.click_action;pt&&(E.fcmOptions.link=pt);const xt=null===(it=w.fcmOptions)||void 0===it?void 0:it.analytics_label;xt&&(E.fcmOptions.analyticsLabel=xt)}(w,E),w}function vi(E,w){const M=[];for(let Q=0;Q<E.length;Q++)M.push(E.charAt(Q)),Q<w.length&&M.push(w.charAt(Q));return M.join("")}function Si(E){return Zr.create("missing-app-config-values",{valueName:E})}vi("hts/frbslgigp.ogepscmv/ieo/eaylg","tp:/ieaeogn-agolai.o/1frlglgc/o"),vi("AzSCbw63g1R0nCw85jG8","Iaya3yLKwmgvh7cF0q4");class yi{constructor(w,M,Q){this.deliveryMetricsExportedToBigQueryEnabled=!1,this.onBackgroundMessageHandler=null,this.onMessageHandler=null,this.logEvents=[],this.isLogServiceStarted=!1;const he=function Ti(E){if(!E||!E.options)throw Si("App Configuration Object");if(!E.name)throw Si("App Name");const w=["projectId","apiKey","appId","messagingSenderId"],{options:M}=E;for(const Q of w)if(!M[Q])throw Si(Q);return{appName:E.name,projectId:M.projectId,apiKey:M.apiKey,appId:M.appId,senderId:M.messagingSenderId}}(w);this.firebaseDependencies={app:w,appConfig:he,installations:M,analyticsProvider:Q}}_delete(){return Promise.resolve()}}function Xn(E,w){return(Lo=Lo||(0,W.Z)(function*(M,Q){if(!navigator)throw Zr.create("only-available-in-window");if("default"===Notification.permission&&(yield Notification.requestPermission()),"granted"!==Notification.permission)throw Zr.create("permission-blocked");return yield function no(E,w){return(gi=gi||(0,W.Z)(function*(M,Q){Q?M.vapidKey=Q:M.vapidKey||(M.vapidKey=ki)})).apply(this,arguments)}(M,Q?.vapidKey),yield function xr(E,w){return(Ms=Ms||(0,W.Z)(function*(M,Q){if(!Q&&!M.swRegistration&&(yield function Lr(E){return(Yo=Yo||(0,W.Z)(function*(w){try{w.swRegistration=yield navigator.serviceWorker.register(Do,{scope:li}),w.swRegistration.update().catch(()=>{})}catch(M){throw Zr.create("failed-service-worker-registration",{browserErrorMessage:M?.message})}})).apply(this,arguments)}(M)),Q||!M.swRegistration){if(!(Q instanceof ServiceWorkerRegistration))throw Zr.create("invalid-sw-registration");M.swRegistration=Q}})).apply(this,arguments)}(M,Q?.serviceWorkerRegistration),$(M)})).apply(this,arguments)}function ci(E,w){return(_i=_i||(0,W.Z)(function*(M,Q){const he=Q.data;if(!he.isFirebaseMessaging)return;M.onMessageHandler&&he.messageType===to.PUSH_RECEIVED&&("function"==typeof M.onMessageHandler?M.onMessageHandler(Bn(he)):M.onMessageHandler.next(Bn(he)));const He=he.data;(function mr(E){return"object"==typeof E&&!!E&&uo in E})(He)&&"1"===He["google.c.a.e"]&&(yield function Uo(E,w,M){return(ei=ei||(0,W.Z)(function*(Q,he,He){const it=function ts(E){switch(E){case to.NOTIFICATION_CLICKED:return"notification_open";case to.PUSH_RECEIVED:return"notification_foreground";default:throw new Error}}(he);(yield Q.firebaseDependencies.analyticsProvider.get()).logEvent(it,{message_id:He[uo],message_name:He[Zo],message_time:He[eo],message_device_time:Math.floor(Date.now()/1e3)})})).apply(this,arguments)}(M,he.messageType,He))})).apply(this,arguments)}const Os="@firebase/messaging",ns=E=>{const w=new yi(E.getProvider("app").getImmediate(),E.getProvider("installations-internal").getImmediate(),E.getProvider("analytics-internal"));return navigator.serviceWorker.addEventListener("message",M=>ci(w,M)),w},bi=E=>{const w=E.getProvider("messaging").getImmediate();return{getToken:Q=>Xn(w,Q)}};function C(){return(co=co||(0,W.Z)(function*(){try{yield(0,I.eu)()}catch{return!1}return typeof window<"u"&&(0,I.hl)()&&(0,I.zI)()&&"serviceWorker"in navigator&&"PushManager"in window&&"Notification"in window&&"fetch"in window&&ServiceWorkerRegistration.prototype.hasOwnProperty("showNotification")&&PushSubscription.prototype.hasOwnProperty("getKey")})).apply(this,arguments)}var Ee,ze,Fe,Ft,Rt,Dn,Hr,ni,Qr;!function Ps(){(0,U._registerComponent)(new Y.wA("messaging",ns,"PUBLIC")),(0,U._registerComponent)(new Y.wA("messaging-internal",bi,"PRIVATE")),(0,U.registerVersion)(Os,"0.12.4"),(0,U.registerVersion)(Os,"0.12.4","esm2017")}();const ct="analytics",an="firebase_id",Gi="origin",Wi=6e4,gr="https://firebase.googleapis.com/v1alpha/projects/-/apps/{app-id}/webConfig",rs="https://www.googletagmanager.com/gtag/js",ur=new Z.Yd("@firebase/analytics"),jr=new I.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.',"no-client-id":'The "client_id" field is empty.',"invalid-gtag-resource":"Trusted Types detected an invalid gtag resource: {$gtagURL}."});function ps(E){if(!E.startsWith(rs)){const w=jr.create("invalid-gtag-resource",{gtagURL:E});return ur.warn(w.message),""}return E}function Ht(E){return Promise.all(E.map(w=>w.catch(M=>M)))}const p=30,q=new class j{constructor(w={},M=1e3){this.throttleMetadata=w,this.intervalMillis=M}getThrottleMetadata(w){return this.throttleMetadata[w]}setThrottleMetadata(w,M){this.throttleMetadata[w]=M}deleteThrottleMetadata(w){delete this.throttleMetadata[w]}};function Ne(E){return new Headers({Accept:"application/json","x-goog-api-key":E})}function tt(E){return(Ft=Ft||(0,W.Z)(function*(w,M=q,Q){const{appId:he,apiKey:He,measurementId:it}=w.options;if(!he)throw jr.create("no-app-id");if(!He){if(it)return{measurementId:it,appId:he};throw jr.create("no-api-key")}const pt=M.getThrottleMetadata(he)||{backoffCount:0,throttleEndTimeMillis:Date.now()},xt=new Yn;return setTimeout((0,W.Z)(function*(){xt.abort()}),void 0!==Q?Q:Wi),Zt({appId:he,apiKey:He,measurementId:it},pt,xt,M)})).apply(this,arguments)}function Zt(E,w,M){return(Rt=Rt||(0,W.Z)(function*(Q,{throttleEndTimeMillis:he,backoffCount:He},it,pt=q){var xt;const{appId:Bt,measurementId:zt}=Q;try{yield function Sn(E,w){return new Promise((M,Q)=>{const he=Math.max(w-Date.now(),0),He=setTimeout(M,he);E.addEventListener(()=>{clearTimeout(He),Q(jr.create("fetch-throttle",{throttleEndTimeMillis:w}))})})}(it,he)}catch(qt){if(zt)return ur.warn(`Timed out fetching this Firebase app's measurement ID from the server. Falling back to the measurement ID ${zt} provided in the "measurementId" field in the local Firebase config. [${qt?.message}]`),{appId:Bt,measurementId:zt};throw qt}try{const qt=yield function bt(E){return(Fe=Fe||(0,W.Z)(function*(w){var M;const{appId:Q,apiKey:he}=w,He={method:"GET",headers:Ne(he)},it=gr.replace("{app-id}",Q),pt=yield fetch(it,He);if(200!==pt.status&&304!==pt.status){let xt="";try{const Bt=yield pt.json();null!==(M=Bt.error)&&void 0!==M&&M.message&&(xt=Bt.error.message)}catch{}throw jr.create("config-fetch-failed",{httpStatus:pt.status,responseMessage:xt})}return pt.json()})).apply(this,arguments)}(Q);return pt.deleteThrottleMetadata(Bt),qt}catch(qt){const Nn=qt;if(!function Ur(E){if(!(E instanceof I.ZR&&E.customData))return!1;const w=Number(E.customData.httpStatus);return 429===w||500===w||503===w||504===w}(Nn)){if(pt.deleteThrottleMetadata(Bt),zt)return ur.warn(`Failed to fetch this Firebase app's measurement ID from the server. Falling back to the measurement ID ${zt} provided in the "measurementId" field in the local Firebase config. [${Nn?.message}]`),{appId:Bt,measurementId:zt};throw qt}const $r=503===Number(null===(xt=Nn?.customData)||void 0===xt?void 0:xt.httpStatus)?(0,I.$s)(He,pt.intervalMillis,p):(0,I.$s)(He,pt.intervalMillis),qr={throttleEndTimeMillis:Date.now()+$r,backoffCount:He+1};return pt.setThrottleMetadata(Bt,qr),ur.debug(`Calling attemptFetch again in ${$r} millis`),Zt(Q,qr,it,pt)}})).apply(this,arguments)}class Yn{constructor(){this.listeners=[]}addEventListener(w){this.listeners.push(w)}abort(){this.listeners.forEach(w=>w())}}let Mi,is;function Wl(E,w,M,Q,he,He,it){return(ni=ni||(0,W.Z)(function*(pt,xt,Bt,zt,qt,Nn,$r){var qr;const Zn=tt(pt);Zn.then(io=>{Bt[io.measurementId]=io.appId,pt.options.measurementId&&io.measurementId!==pt.options.measurementId&&ur.warn(`The measurement ID in the local Firebase config (${pt.options.measurementId}) does not match the measurement ID fetched from the server (${io.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(io=>ur.error(io)),xt.push(Zn);const Yi=function uu(){return(Hr=Hr||(0,W.Z)(function*(){if(!(0,I.hl)())return ur.warn(jr.create("indexeddb-unavailable",{errorInfo:"IndexedDB is not available in this environment."}).message),!1;try{yield(0,I.eu)()}catch(E){return ur.warn(jr.create("indexeddb-unavailable",{errorInfo:E?.toString()}).message),!1}return!0})).apply(this,arguments)}().then(io=>{if(io)return zt.getId()}),[mn,Mo]=yield Promise.all([Zn,Yi]);(function y(E){const w=window.document.getElementsByTagName("script");for(const M of Object.values(w))if(M.src&&M.src.includes(rs)&&M.src.includes(E))return M;return null})(Nn)||function nn(E,w){const M=function tn(E,w){let M;return window.trustedTypes&&(M=window.trustedTypes.createPolicy(E,w)),M}("firebase-js-sdk-policy",{createScriptURL:ps}),Q=document.createElement("script"),he=`${rs}?l=${E}&id=${w}`;Q.src=M?M?.createScriptURL(he):he,Q.async=!0,document.head.appendChild(Q)}(Nn,mn.measurementId),is&&(qt("consent","default",is),function Ir(E){is=E}(void 0)),qt("js",new Date);const hi=null!==(qr=$r?.config)&&void 0!==qr?qr:{};return hi[Gi]="firebase",hi.update=!0,null!=Mo&&(hi[an]=Mo),qt("config",mn.measurementId,hi),Mi&&(qt("set",Mi),function il(E){Mi=E}(void 0)),mn.measurementId})).apply(this,arguments)}class du{constructor(w){this.app=w}_delete(){return delete To[this.app.options.appId],Promise.resolve()}}let To={},ol=[];const ta={};let na,ro,So="dataLayer",Ws=!1;function Ql(E,w,M){!function Zl(){const E=[];if((0,I.ru)()&&E.push("This is a browser extension environment."),(0,I.zI)()||E.push("Cookies are not available."),E.length>0){const w=E.map((Q,he)=>`(${he+1}) ${Q}`).join(" "),M=jr.create("invalid-analytics-context",{errorInfo:w});ur.warn(M.message)}}();const Q=E.options.appId;if(!Q)throw jr.create("no-app-id");if(!E.options.apiKey){if(!E.options.measurementId)throw jr.create("no-api-key");ur.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 ${E.options.measurementId} provided in the "measurementId" field in the local Firebase config.`)}if(null!=To[Q])throw jr.create("already-exists",{id:Q});if(!Ws){!function fn(E){let w=[];Array.isArray(window[E])?w=window[E]:window[E]=w}(So);const{wrappedGtag:He,gtagCore:it}=function h(E,w,M,Q,he){let He=function(...it){window[Q].push(arguments)};return window[he]&&"function"==typeof window[he]&&(He=window[he]),window[he]=function d(E,w,M,Q){var he;return function He(it){return(he=he||(0,W.Z)(function*(pt,...xt){try{if("event"===pt){const[Bt,zt]=xt;yield function Ki(E,w,M,Q,he){return(ze=ze||(0,W.Z)(function*(He,it,pt,xt,Bt){try{let zt=[];if(Bt&&Bt.send_to){let qt=Bt.send_to;Array.isArray(qt)||(qt=[qt]);const Nn=yield Ht(pt);for(const $r of qt){const qr=Nn.find(Yi=>Yi.measurementId===$r),Zn=qr&&it[qr.appId];if(!Zn){zt=[];break}zt.push(Zn)}}0===zt.length&&(zt=Object.values(it)),yield Promise.all(zt),He("event",xt,Bt||{})}catch(zt){ur.error(zt)}})).apply(this,arguments)}(E,w,M,Bt,zt)}else if("config"===pt){const[Bt,zt]=xt;yield function _r(E,w,M,Q,he,He){return(Ee=Ee||(0,W.Z)(function*(it,pt,xt,Bt,zt,qt){const Nn=Bt[zt];try{if(Nn)yield pt[Nn];else{const qr=(yield Ht(xt)).find(Zn=>Zn.measurementId===zt);qr&&(yield pt[qr.appId])}}catch($r){ur.error($r)}it("config",zt,qt)})).apply(this,arguments)}(E,w,M,Q,Bt,zt)}else if("consent"===pt){const[Bt]=xt;E("consent","update",Bt)}else if("get"===pt){const[Bt,zt,qt]=xt;E("get",Bt,zt,qt)}else if("set"===pt){const[Bt]=xt;E("set",Bt)}else E(pt,...xt)}catch(Bt){ur.error(Bt)}})).apply(this,arguments)}}(He,E,w,M),{gtagCore:He,wrappedGtag:window[he]}}(To,ol,ta,So,"gtag");ro=He,na=it,Ws=!0}return To[Q]=Wl(E,ol,ta,w,na,So,M),new du(E)}function ra(){return(Qr=Qr||(0,W.Z)(function*(){if((0,I.ru)()||!(0,I.zI)()||!(0,I.hl)())return!1;try{return yield(0,I.eu)()}catch{return!1}})).apply(this,arguments)}const _a="@firebase/analytics";!function fu(){(0,U._registerComponent)(new Y.wA(ct,(w,{options:M})=>Ql(w.getProvider("app").getImmediate(),w.getProvider("installations-internal").getImmediate(),M),"PUBLIC")),(0,U._registerComponent)(new Y.wA("analytics-internal",function E(w){try{const M=w.getProvider(ct).getImmediate();return{logEvent:(Q,he,He)=>function zf(E,w,M,Q){E=(0,I.m9)(E),function ms(E,w,M,Q,he){return(Dn=Dn||(0,W.Z)(function*(He,it,pt,xt,Bt){if(Bt&&Bt.global)He("event",pt,xt);else{const zt=yield it;He("event",pt,Object.assign(Object.assign({},xt),{send_to:zt}))}})).apply(this,arguments)}(ro,To[E.app.options.appId],w,M,Q).catch(he=>ur.error(he))}(M,Q,he,He)}}catch(M){throw jr.create("interop-component-reg-failed",{reason:M})}},"PRIVATE")),(0,U.registerVersion)(_a,"0.10.0"),(0,U.registerVersion)(_a,"0.10.0","esm2017")}();var ia=v(1954),va=v(2631);const ql=new class Gf extends va.v{}(class sl extends ia.o{constructor(w,M){super(w,M),this.scheduler=w,this.work=M}schedule(w,M=0){return M>0?super.schedule(w,M):(this.delay=M,this.state=w,this.scheduler.flush(this),this)}execute(w,M){return M>0||this.closed?super.execute(w,M):this._execute(w,M)}requestAsyncId(w,M,Q=0){return null!=Q&&Q>0||null==Q&&this.delay>0?super.requestAsyncId(w,M,Q):(w.flush(this),0)}});var pu=v(6321),$o=v(9397),mu=v(5137),ya=v(3093);const al=new s.GfV("7.6.1"),ba="__angularfire_symbol__analyticsIsSupportedValue",Zs="__angularfire_symbol__analyticsIsSupported",oa="__angularfire_symbol__remoteConfigIsSupportedValue",ll="__angularfire_symbol__remoteConfigIsSupported",Ea="__angularfire_symbol__messagingIsSupportedValue",Da="__angularfire_symbol__messagingIsSupported";function Rs(E,w,M){if(w){if(1===w.length)return w[0];const He=w.filter(it=>it.app===M);if(1===He.length)return He[0]}return M.container.getProvider(E).getImmediate({optional:!0})}globalThis[Zs]||(globalThis[Zs]=ra().then(E=>globalThis[ba]=E).catch(()=>globalThis[ba]=!1)),globalThis[Da]||(globalThis[Da]=C().then(E=>globalThis[Ea]=E).catch(()=>globalThis[Ea]=!1)),globalThis[ll]||(globalThis[ll]=yn().then(E=>globalThis[oa]=E).catch(()=>globalThis[oa]=!1));const _u=(E,w)=>{const M=w?[w]:(0,m.C6)(),Q=[];return M.forEach(he=>{he.container.getProvider(E).instances.forEach(it=>{Q.includes(it)||Q.push(it)})}),Q};function Ns(){}class ul{constructor(w,M=ql){this.zone=w,this.delegate=M}now(){return this.delegate.now()}schedule(w,M,Q){const he=this.zone;return this.delegate.schedule(function(it){he.runGuarded(()=>{w.apply(this,[it])})},M,Q)}}class sa{constructor(w){this.zone=w,this.task=null}call(w,M){const Q=this.unscheduleTask.bind(this);return this.task=this.zone.run(()=>Zone.current.scheduleMacroTask("firebaseZoneBlock",Ns,{},Ns,Ns)),M.pipe((0,$o.b)({next:Q,complete:Q,error:Q})).subscribe(w).add(Q)}unscheduleTask(){setTimeout(()=>{null!=this.task&&"scheduled"===this.task.state&&(this.task.invoke(),this.task=null)},10)}}let vu=(()=>{class E{constructor(M){this.ngZone=M,this.outsideAngular=M.runOutsideAngular(()=>new ul(Zone.current)),this.insideAngular=M.run(()=>new ul(Zone.current,pu.z)),globalThis.\u0275AngularFireScheduler||(globalThis.\u0275AngularFireScheduler=this)}}return E.\u0275fac=function(M){return new(M||E)(s.LFG(s.R0b))},E.\u0275prov=s.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"}),E})();function Jr(){const E=globalThis.\u0275AngularFireScheduler;if(!E)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 E}function dl(E){return Jr(),function fl(E){return function(M){return(M=M.lift(new sa(E.ngZone))).pipe((0,mu.R)(E.outsideAngular),(0,ya.Q)(E.insideAngular))}}(Jr())(E)}},9058:(ft,De,v)=>{v.d(De,{$s:()=>st,BH:()=>ie,L:()=>te,LL:()=>dt,Pz:()=>z,UG:()=>Ge,US:()=>Y,ZB:()=>fe,ZR:()=>lt,aH:()=>G,b$:()=>Mt,eu:()=>$e,hl:()=>Ue,jU:()=>nt,m9:()=>Jn,ne:()=>rn,pd:()=>jt,r3:()=>vt,ru:()=>ht,tV:()=>H,uI:()=>xe,vZ:()=>Ct,w1:()=>Gt,xO:()=>On,xb:()=>Mn,z$:()=>ge,zI:()=>Ye,zd:()=>Nt});const U=function(pe){const B=[];let k=0;for(let O=0;O<pe.length;O++){let D=pe.charCodeAt(O);D<128?B[k++]=D:D<2048?(B[k++]=D>>6|192,B[k++]=63&D|128):55296==(64512&D)&&O+1<pe.length&&56320==(64512&pe.charCodeAt(O+1))?(D=65536+((1023&D)<<10)+(1023&pe.charCodeAt(++O)),B[k++]=D>>18|240,B[k++]=D>>12&63|128,B[k++]=D>>6&63|128,B[k++]=63&D|128):(B[k++]=D>>12|224,B[k++]=D>>6&63|128,B[k++]=63&D|128)}return B},Y={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(pe,B){if(!Array.isArray(pe))throw Error("encodeByteArray takes an array as a parameter");this.init_();const k=B?this.byteToCharMapWebSafe_:this.byteToCharMap_,O=[];for(let D=0;D<pe.length;D+=3){const F=pe[D],R=D+1<pe.length,P=R?pe[D+1]:0,V=D+2<pe.length,me=V?pe[D+2]:0;let je=(15&P)<<2|me>>6,oe=63&me;V||(oe=64,R||(je=64)),O.push(k[F>>2],k[(3&F)<<4|P>>4],k[je],k[oe])}return O.join("")},encodeString(pe,B){return this.HAS_NATIVE_SUPPORT&&!B?btoa(pe):this.encodeByteArray(U(pe),B)},decodeString(pe,B){return this.HAS_NATIVE_SUPPORT&&!B?atob(pe):function(pe){const B=[];let k=0,O=0;for(;k<pe.length;){const D=pe[k++];if(D<128)B[O++]=String.fromCharCode(D);else if(D>191&&D<224){const F=pe[k++];B[O++]=String.fromCharCode((31&D)<<6|63&F)}else if(D>239&&D<365){const V=((7&D)<<18|(63&pe[k++])<<12|(63&pe[k++])<<6|63&pe[k++])-65536;B[O++]=String.fromCharCode(55296+(V>>10)),B[O++]=String.fromCharCode(56320+(1023&V))}else{const F=pe[k++],R=pe[k++];B[O++]=String.fromCharCode((15&D)<<12|(63&F)<<6|63&R)}}return B.join("")}(this.decodeStringToByteArray(pe,B))},decodeStringToByteArray(pe,B){this.init_();const k=B?this.charToByteMapWebSafe_:this.charToByteMap_,O=[];for(let D=0;D<pe.length;){const F=k[pe.charAt(D++)],P=D<pe.length?k[pe.charAt(D)]:0;++D;const me=D<pe.length?k[pe.charAt(D)]:64;++D;const le=D<pe.length?k[pe.charAt(D)]:64;if(++D,null==F||null==P||null==me||null==le)throw new Z;O.push(F<<2|P>>4),64!==me&&(O.push(P<<4&240|me>>2),64!==le&&O.push(me<<6&192|le))}return O},init_(){if(!this.byteToCharMap_){this.byteToCharMap_={},this.charToByteMap_={},this.byteToCharMapWebSafe_={},this.charToByteMapWebSafe_={};for(let pe=0;pe<this.ENCODED_VALS.length;pe++)this.byteToCharMap_[pe]=this.ENCODED_VALS.charAt(pe),this.charToByteMap_[this.byteToCharMap_[pe]]=pe,this.byteToCharMapWebSafe_[pe]=this.ENCODED_VALS_WEBSAFE.charAt(pe),this.charToByteMapWebSafe_[this.byteToCharMapWebSafe_[pe]]=pe,pe>=this.ENCODED_VALS_BASE.length&&(this.charToByteMap_[this.ENCODED_VALS_WEBSAFE.charAt(pe)]=pe,this.charToByteMapWebSafe_[this.ENCODED_VALS.charAt(pe)]=pe)}}};class Z extends Error{constructor(){super(...arguments),this.name="DecodeBase64StringError"}}const te=function(pe){return function(pe){const B=U(pe);return Y.encodeByteArray(B,!0)}(pe).replace(/\./g,"")},H=function(pe){try{return Y.decodeString(pe,!0)}catch(B){console.error("base64Decode failed: ",B)}return null};function fe(pe,B){if(!(B instanceof Object))return B;switch(B.constructor){case Date:return new Date(B.getTime());case Object:void 0===pe&&(pe={});break;case Array:pe=[];break;default:return B}for(const k in B)!B.hasOwnProperty(k)||!Se(k)||(pe[k]=fe(pe[k],B[k]));return pe}function Se(pe){return"__proto__"!==pe}const Ve=()=>{try{return function Ie(){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 pe=process.env.__FIREBASE_DEFAULTS__;return pe?JSON.parse(pe):void 0})()||(()=>{if(typeof document>"u")return;let pe;try{pe=document.cookie.match(/__FIREBASE_DEFAULTS__=([^;]+)/)}catch{return}const B=pe&&H(pe[1]);return B&&JSON.parse(B)})()}catch(pe){return void console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${pe}`)}},G=()=>{var pe;return null===(pe=Ve())||void 0===pe?void 0:pe.config},z=pe=>{var B;return null===(B=Ve())||void 0===B?void 0:B[`_${pe}`]};class ie{constructor(){this.reject=()=>{},this.resolve=()=>{},this.promise=new Promise((B,k)=>{this.resolve=B,this.reject=k})}wrapCallback(B){return(k,O)=>{k?this.reject(k):this.resolve(O),"function"==typeof B&&(this.promise.catch(()=>{}),1===B.length?B(k):B(k,O))}}}function ge(){return typeof navigator<"u"&&"string"==typeof navigator.userAgent?navigator.userAgent:""}function xe(){return typeof window<"u"&&!!(window.cordova||window.phonegap||window.PhoneGap)&&/ios|iphone|ipod|ipad|android|blackberry|iemobile/i.test(ge())}function Ge(){var pe;const B=null===(pe=Ve())||void 0===pe?void 0:pe.forceEnvironment;if("node"===B)return!0;if("browser"===B)return!1;try{return"[object process]"===Object.prototype.toString.call(global.process)}catch{return!1}}function nt(){return"object"==typeof self&&self.self===self}function ht(){const pe="object"==typeof chrome?chrome.runtime:"object"==typeof browser?browser.runtime:void 0;return"object"==typeof pe&&void 0!==pe.id}function Mt(){return"object"==typeof navigator&&"ReactNative"===navigator.product}function Gt(){const pe=ge();return pe.indexOf("MSIE ")>=0||pe.indexOf("Trident/")>=0}function Ue(){try{return"object"==typeof indexedDB}catch{return!1}}function $e(){return new Promise((pe,B)=>{try{let k=!0;const O="validate-browser-context-for-indexeddb-analytics-module",D=self.indexedDB.open(O);D.onsuccess=()=>{D.result.close(),k||self.indexedDB.deleteDatabase(O),pe(!0)},D.onupgradeneeded=()=>{k=!1},D.onerror=()=>{var F;B((null===(F=D.error)||void 0===F?void 0:F.message)||"")}}catch(k){B(k)}})}function Ye(){return!(typeof navigator>"u"||!navigator.cookieEnabled)}class lt extends Error{constructor(B,k,O){super(k),this.code=B,this.customData=O,this.name="FirebaseError",Object.setPrototypeOf(this,lt.prototype),Error.captureStackTrace&&Error.captureStackTrace(this,dt.prototype.create)}}class dt{constructor(B,k,O){this.service=B,this.serviceName=k,this.errors=O}create(B,...k){const O=k[0]||{},D=`${this.service}/${B}`,F=this.errors[B],R=F?function At(pe,B){return pe.replace(ve,(k,O)=>{const D=B[O];return null!=D?String(D):`<${O}?>`})}(F,O):"Error";return new lt(D,`${this.serviceName}: ${R} (${D}).`,O)}}const ve=/\{\$([^}]+)}/g;function vt(pe,B){return Object.prototype.hasOwnProperty.call(pe,B)}function Mn(pe){for(const B in pe)if(Object.prototype.hasOwnProperty.call(pe,B))return!1;return!0}function Ct(pe,B){if(pe===B)return!0;const k=Object.keys(pe),O=Object.keys(B);for(const D of k){if(!O.includes(D))return!1;const F=pe[D],R=B[D];if(ir(F)&&ir(R)){if(!Ct(F,R))return!1}else if(F!==R)return!1}for(const D of O)if(!k.includes(D))return!1;return!0}function ir(pe){return null!==pe&&"object"==typeof pe}function On(pe){const B=[];for(const[k,O]of Object.entries(pe))Array.isArray(O)?O.forEach(D=>{B.push(encodeURIComponent(k)+"="+encodeURIComponent(D))}):B.push(encodeURIComponent(k)+"="+encodeURIComponent(O));return B.length?"&"+B.join("&"):""}function Nt(pe){const B={};return pe.replace(/^\?/,"").split("&").forEach(O=>{if(O){const[D,F]=O.split("=");B[decodeURIComponent(D)]=decodeURIComponent(F)}}),B}function jt(pe){const B=pe.indexOf("?");if(!B)return"";const k=pe.indexOf("#",B);return pe.substring(B,k>0?k:void 0)}function rn(pe,B){const k=new Xt(pe,B);return k.subscribe.bind(k)}class Xt{constructor(B,k){this.observers=[],this.unsubscribes=[],this.observerCount=0,this.task=Promise.resolve(),this.finalized=!1,this.onNoObservers=k,this.task.then(()=>{B(this)}).catch(O=>{this.error(O)})}next(B){this.forEachObserver(k=>{k.next(B)})}error(B){this.forEachObserver(k=>{k.error(B)}),this.close(B)}complete(){this.forEachObserver(B=>{B.complete()}),this.close()}subscribe(B,k,O){let D;if(void 0===B&&void 0===k&&void 0===O)throw new Error("Missing Observer.");D=function cn(pe,B){if("object"!=typeof pe||null===pe)return!1;for(const k of B)if(k in pe&&"function"==typeof pe[k])return!0;return!1}(B,["next","error","complete"])?B:{next:B,error:k,complete:O},void 0===D.next&&(D.next=_n),void 0===D.error&&(D.error=_n),void 0===D.complete&&(D.complete=_n);const F=this.unsubscribeOne.bind(this,this.observers.length);return this.finalized&&this.task.then(()=>{try{this.finalError?D.error(this.finalError):D.complete()}catch{}}),this.observers.push(D),F}unsubscribeOne(B){void 0===this.observers||void 0===this.observers[B]||(delete this.observers[B],this.observerCount-=1,0===this.observerCount&&void 0!==this.onNoObservers&&this.onNoObservers(this))}forEachObserver(B){if(!this.finalized)for(let k=0;k<this.observers.length;k++)this.sendOne(k,B)}sendOne(B,k){this.task.then(()=>{if(void 0!==this.observers&&void 0!==this.observers[B])try{k(this.observers[B])}catch(O){typeof console<"u"&&console.error&&console.error(O)}})}close(B){this.finalized||(this.finalized=!0,void 0!==B&&(this.finalError=B),this.task.then(()=>{this.observers=void 0,this.onNoObservers=void 0}))}}function _n(){}const Ze=1e3,Dt=2,yt=144e5,We=.5;function st(pe,B=Ze,k=Dt){const O=B*Math.pow(k,pe),D=Math.round(We*O*(Math.random()-.5)*2);return Math.min(yt,O+D)}function Jn(pe){return pe&&pe._delegate?pe._delegate:pe}},4750:(ft,De,v)=>{v.d(De,{e:()=>fe});var s=v(9397),m=v(2459),W=v(7398),U=v(4664),I=v(3106),Y=v(5802),Z=v(5879),re=v(9659),te=v(6639),H=v(6897),J=v(8253);let fe=(()=>{var Se;class Ie{constructor(we,Je,Ve,ut){this.httpService=we,this.tokenDecodeService=Je,this.afAuth=Ve,this.ngxPermission=ut}login(we){return this.httpService.post("/api/token/Login",we).pipe((0,s.b)(Je=>{this.setLocalStorage(Je,we.Host,we.Username),this.loadPermissions()}))}loginWithGoogle(we,Je){we.preventDefault();const Ve=new I.Z.auth.GoogleAuthProvider;return Ve.setCustomParameters({prompt:"select_account"}),(0,m.D)(this.afAuth.signInWithPopup(Ve)).pipe((0,W.U)(ut=>ut.credential),(0,W.U)(ut=>ut.idToken),(0,U.w)(ut=>this.httpService.post("/api/token/LoginWithSocialProvider",JSON.stringify({IDToken:ut,Host:Je}))),(0,s.b)(ut=>{this.setLocalStorage(ut,Je,null),this.loadPermissions()}))}setLocalStorage(we,Je,Ve){localStorage.setItem("user",JSON.stringify(we)),localStorage.setItem("Authorization",JSON.stringify({Host:Je,username:Ve})),localStorage.setItem("Intercom",JSON.stringify(we.IntercomWidget))}loadPermissions(){this.ngxPermission.loadPermissions([]);let we=localStorage.getItem("user");if(Y.g.IsNotEmpty(we)){let Je=this.tokenDecodeService.GetRoles();this.ngxPermission.loadPermissions(Je)}}logout(){this.clearLocalStorage(),this.ngxPermission.flushPermissions()}isActiveToken(){let we=JSON.parse(window.localStorage.getItem("user"));return null!=we&&(new Date<new Date(we.Token.expiredAt)||(this.clearLocalStorage(),!1))}getDomain(){if(!this.domain){const we=localStorage.getItem("Authorization");this.domain="https://"+JSON.parse(we).Host}return this.domain}clearLocalStorage(){localStorage.removeItem("Intercom"),localStorage.removeItem("Authorization"),localStorage.removeItem("user")}}return(Se=Ie).\u0275fac=function(we){return new(we||Se)(Z.LFG(re.O),Z.LFG(te.e),Z.LFG(H.zQ),Z.LFG(J.YI))},Se.\u0275prov=Z.Yz7({token:Se,factory:Se.\u0275fac,providedIn:"root"}),Ie})()},5802:(ft,De,v)=>{v.d(De,{g:()=>W});var s=v(851),m=v(754);let W=(()=>{var U;class I{static IsNotEmpty(Z){return""!=Z&&Z!=I.GuidEMpty&&null!=Z&&null!=Z}static IsEmpty(Z){return""==Z||null==Z||null==Z||Z==I.GuidEMpty}static getChannelLogoByTypeId(Z){let re;switch(Z){case m.x.Tokopedia:re=s.$.TOKOPEDIA;break;case m.x.ShopeeV2:re=s.$.SHOOPE;break;case m.x.WooCommerce:re=s.$.WOOCOMMERCE;break;case m.x.Lazada:re=s.$.LAZADA;break;case m.x.Tiktok:re=s.$.TIKTOK;break;case m.x.KalCare:re=s.$.KALCARE}return re}static getChannelLogoByName(Z=""){let re;switch(Z=Z.toLowerCase()){case"tokopedia":re=s.$.TOKOPEDIA;break;case"shoppe":re=s.$.SHOOPE;break;case"woocommerce":re=s.$.WOOCOMMERCE;break;case"tiktok":re=s.$.TIKTOK;break;case"lazada":re=s.$.LAZADA;break;case"kalCare":re=s.$.KALCARE}return re}static getChannelName(Z){let re;switch(Z){case m.x.ShopeeV2:re="Shopee";break;case m.x.Tokopedia:re="Tokopedia";break;case m.x.Lazada:re="Lazada";break;case m.x.Tiktok:re="Tiktok";break;case m.x.WooCommerce:case m.x.KalCare:re="WooCommerce"}return re}static assignChannelLogo(Z){return Z.map(re=>(re.logo=this.getChannelLogoByTypeId(re.TypeID),re))}static getCssChannelColor(Z){let re;switch(Z){case m.x.ShopeeV2:re="#ee4d2d";break;case m.x.Tokopedia:re="var(--G500,#03AC0E)";break;case m.x.Lazada:re="#FF00B2";break;case m.x.Tiktok:re="black";break;case m.x.WooCommerce:re="#674399";break;case m.x.KalCare:re="rgb(128, 188, 0)"}return re}static getDaysDiff(Z,re){return(re.getTime()-Z.getTime())/864e5}static addDays(Z,re){const te=new Date(Number(Z));return te.setDate(Z.getDate()-re),te}static isValidDate(Z){return Z instanceof Date&&!isNaN(Z)}static getImageInfo(Z){return new Promise((re,te)=>{let H=new Image;H.src=Z,H.decode().then(()=>{re({img:Z,height:H.height,width:H.width})}).catch(()=>{te(new Error(`Image load error for ${Z}`))})})}static formatTitleFromDate(Z,re){let te=null;const H=new Date(Z),J=new Date(re);return H.getDate()!=J.getDate()&&(te="dd"),H.getMonth()!=J.getMonth()&&(te="dd MMM"),H.getFullYear()!=J.getFullYear()&&(te="dd MMM yyyy"),te}static openDownloadFile(Z,re){var te=window.URL.createObjectURL(Z),H=document.createElement("a");H.href=te,H.download=re,H.click()}static compare(Z,re,te){return(Z<re?-1:1)*(te?1:-1)}}return(U=I).GuidEMpty="00000000-0000-0000-0000-000000000000",U.MinDate="0001-01-01T00:00:00",I})()},851:(ft,De,v)=>{v.d(De,{$:()=>s});var s=function(m){return m.SHOOPE="//res.cloudinary.com/pos/image/upload/v1598262220/icons/marketplace_icons/shopee.png",m.WOOCOMMERCE="//res.cloudinary.com/pos/image/upload/w_50/v1632447439/icons/WooCommerce/woocommerce-icon.webp",m.TOKOPEDIA="//res.cloudinary.com/pos/image/upload/v1598262221/icons/marketplace_icons/tokopedia.png",m.TIKTOK="//res.cloudinary.com/pos/image/upload/w_30/v1645761611/icons/Marketplace%20logo/tiktok.png",m.LAZADA="//res.cloudinary.com/pos/image/upload/v1680681836/icons/marketplace_icons/Lazadanew.png",m.KALCARE="//res.cloudinary.com/pos/image/upload/v1654230268/icons/marketplace_icons/kalcare.png",m}(s||{})},754:(ft,De,v)=>{v.d(De,{x:()=>s});var s=function(m){return m[m.Shopee=0]="Shopee",m[m.Tokopedia=1]="Tokopedia",m[m.WooCommerce=2]="WooCommerce",m[m.None=3]="None",m[m.KalCare=4]="KalCare",m[m.ShopeeV2=5]="ShopeeV2",m[m.Tiktok=6]="Tiktok",m[m.Lazada=7]="Lazada",m}(s||{})},9659:(ft,De,v)=>{v.d(De,{O:()=>Je});var s=v(6232),m=v(5592),W=v(6306),U=v(6321),I=v(93),Y=v(9360),Z=v(4829),re=v(2306),te=v(8251),H=v(7103);const J=(0,re.d)(Ve=>function(ke=null){Ve(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=ke});function Se(Ve){throw new J(Ve)}var Ie=v(5879),Ke=v(9862),we=v(9229);let Je=(()=>{var Ve;class ut{constructor(G,z){this.http=G,this.toastr=z}get(G){return this.http.get(G).pipe((0,W.K)(z=>{let ie=this.errorMessageHandling(z);return this.toastr.error(""!=ie.message?ie.message:"An unknown error has occured!",ie.header),s.E}))}post(G,z,ie={},ue=1e5){return new m.y(ge=>{this.http.post(G,z,ie).pipe(function fe(Ve,ut){const{first:ke,each:G,with:z=Se,scheduler:ie=ut??U.z,meta:ue=null}=(0,I.q)(Ve)?{first:Ve}:"number"==typeof Ve?{each:Ve}:Ve;if(null==ke&&null==G)throw new TypeError("No timeout provided.");return(0,Y.e)((ge,xe)=>{let Ge,nt,ht=null,Mt=0;const Pt=Gt=>{nt=(0,H.f)(xe,ie,()=>{try{Ge.unsubscribe(),(0,Z.Xf)(z({meta:ue,lastValue:ht,seen:Mt})).subscribe(xe)}catch($t){xe.error($t)}},Gt)};Ge=ge.subscribe((0,te.x)(xe,Gt=>{nt?.unsubscribe(),Mt++,xe.next(ht=Gt),G>0&&Pt(G)},void 0,void 0,()=>{nt?.closed||nt?.unsubscribe(),ht=null})),!Mt&&Pt(null!=ke?"number"==typeof ke?ke:+ke-ie.now():G)})}(ue)).subscribe({next:xe=>{ge.next(xe),ge.complete()},error:xe=>{if(200==xe.status)ge.next(xe.error.text),ge.complete();else{if(!this.unauthorizedErrorHandling(xe)&&!Array.isArray(xe?.error?.Message)){let nt=this.errorMessageHandling(xe);this.toastr.error(""!=nt.message?nt.message:"An unknown error has occured!",nt.header,{enableHtml:!0})}ge.error(xe)}}})})}unauthorizedErrorHandling(G){let z=!1;return 401==G.status&&(localStorage.getItem("Token")?window.location.href="/A/Unauthorized/Main/Unauthorized":window.location.href="/",z=!0),z}errorMessageHandling(G){let z="API Error",ie="Exception Message";return G.error?(z="API Error - "+G.status,G.error.Message&&(ie=-1!=G.error.Message.indexOf("Message")?JSON.parse(G.error.Message).Message:G.error.Message)):G.message&&(z="API Error - "+G.name,ie=G.message),{header:z,message:ie}}}return(Ve=ut).\u0275fac=function(G){return new(G||Ve)(Ie.LFG(Ke.eN),Ie.LFG(we._W))},Ve.\u0275prov=Ie.Yz7({token:Ve,factory:Ve.\u0275fac,providedIn:"root"}),ut})()},6639:(ft,De,v)=>{v.d(De,{e:()=>m});var s=v(5879);let m=(()=>{var W;class U{constructor(){}getParseToken(){let Y=JSON.parse(window.localStorage.getItem("user"));return this.ParseToken(Y.Token.access_token)}GetRoles(){return this.getParseToken()["http://schemas.microsoft.com/ws/2008/06/identity/claims/role"]||[]}ParseToken(Y){try{const re=Y.split(".")[0].replace("-","+").replace("_","/"),te=JSON.parse(window.atob(re)),J=Y.split(".")[1].replace("-","+").replace("_","/"),fe=JSON.parse(window.atob(J));return fe.header=te,fe}catch{return!1}}}return(W=U).\u0275fac=function(Y){return new(Y||W)},W.\u0275prov=s.Yz7({token:W,factory:W.\u0275fac,providedIn:"root"}),U})()},553:(ft,De,v)=>{v.d(De,{N:()=>s});const s={production:!0,version:"2.9.7",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"}}},3943:(ft,De,v)=>{var s=v(6593),m=v(5879),W=v(9862),U=v(7328);function I(C,l){return(c,g)=>!C.call(l,c,g)}var Y=v(2181),Z=v(4829),te=v(3019),H=v(9080),J=v(4716),fe=v(4664),Se=v(9360),Ie=v(2420),Ke=v(8251);function we(C){return(0,Se.e)((l,c)=>{let g=!1,A=null,K=null;const _e=()=>{if(K?.unsubscribe(),K=null,g){g=!1;const Ee=A;A=null,c.next(Ee)}};l.subscribe((0,Ke.x)(c,Ee=>{K?.unsubscribe(),g=!0,A=Ee,K=(0,Ke.x)(c,_e,Ie.Z),(0,Z.Xf)(C(Ee)).subscribe(K)},()=>{_e(),c.complete()},void 0,()=>{A=K=null}))})}var Je=v(3997),Ve=v(9397),ut=v(6814);function ke(C,l){1&C&&m.GkF(0)}function G(C,l){if(1&C&&m._UZ(0,"sk-cube-grid",4),2&C){const c=m.oxw(2);m.Q6J("backgroundColor",c.backgroundColor)}}function z(C,l){if(1&C&&m._UZ(0,"sk-chasing-dots",4),2&C){const c=m.oxw(2);m.Q6J("backgroundColor",c.backgroundColor)}}function ie(C,l){if(1&C&&m._UZ(0,"sk-double-bounce",4),2&C){const c=m.oxw(2);m.Q6J("backgroundColor",c.backgroundColor)}}function ue(C,l){if(1&C&&m._UZ(0,"sk-rotating-plane",4),2&C){const c=m.oxw(2);m.Q6J("backgroundColor",c.backgroundColor)}}function ge(C,l){if(1&C&&m._UZ(0,"sk-spinner-pulse",4),2&C){const c=m.oxw(2);m.Q6J("backgroundColor",c.backgroundColor)}}function xe(C,l){if(1&C&&m._UZ(0,"sk-three-bounce",4),2&C){const c=m.oxw(2);m.Q6J("backgroundColor",c.backgroundColor)}}function Ge(C,l){if(1&C&&m._UZ(0,"sk-wandering-cubes",4),2&C){const c=m.oxw(2);m.Q6J("backgroundColor",c.backgroundColor)}}function nt(C,l){if(1&C&&m._UZ(0,"sk-wave",4),2&C){const c=m.oxw(2);m.Q6J("backgroundColor",c.backgroundColor)}}const ht=function(C){return{"background-color":C}};function Mt(C,l){if(1&C&&(m.TgZ(0,"div",1),m.YNc(1,ke,1,0,"ng-container",2),m.YNc(2,G,1,1,"sk-cube-grid",3),m.YNc(3,z,1,1,"sk-chasing-dots",3),m.YNc(4,ie,1,1,"sk-double-bounce",3),m.YNc(5,ue,1,1,"sk-rotating-plane",3),m.YNc(6,ge,1,1,"sk-spinner-pulse",3),m.YNc(7,xe,1,1,"sk-three-bounce",3),m.YNc(8,Ge,1,1,"sk-wandering-cubes",3),m.YNc(9,nt,1,1,"sk-wave",3),m.qZA()),2&C){const c=m.oxw();m.Udp("opacity",c.opacity),m.ekj("backdrop",c.backdrop),m.Q6J("ngStyle",m.VKq(14,ht,c.backdrop?c.backdropBackgroundColor:"transparent")),m.xp6(1),m.Q6J("ngComponentOutlet",c.entryComponent),m.xp6(1),m.Q6J("ngIf",c.spinner===c.spinkit.skCubeGrid),m.xp6(1),m.Q6J("ngIf",c.spinner===c.spinkit.skChasingDots),m.xp6(1),m.Q6J("ngIf",c.spinner===c.spinkit.skDoubleBounce),m.xp6(1),m.Q6J("ngIf",c.spinner===c.spinkit.skRotatingPlane),m.xp6(1),m.Q6J("ngIf",c.spinner===c.spinkit.skSpinnerPulse),m.xp6(1),m.Q6J("ngIf",c.spinner===c.spinkit.skThreeBounce),m.xp6(1),m.Q6J("ngIf",c.spinner===c.spinkit.skWanderingCubes),m.xp6(1),m.Q6J("ngIf",c.spinner===c.spinkit.skWave)}}let Pt=(()=>{class C{}return C.\u0275fac=function(c){return new(c||C)},C.\u0275dir=m.lG2({type:C,inputs:{backgroundColor:"backgroundColor"}}),C})(),Gt=(()=>{class C extends Pt{}return C.\u0275fac=function(){let l;return function(g){return(l||(l=m.n5z(C)))(g||C)}}(),C.\u0275cmp=m.Xpm({type:C,selectors:[["sk-chasing-dots"]],features:[m.qOj],decls:3,vars:6,consts:[[1,"sk-chasing-dots"],[1,"sk-child","sk-dot1"],[1,"sk-child","sk-dot2"]],template:function(c,g){1&c&&(m.TgZ(0,"div",0),m._UZ(1,"div",1)(2,"div",2),m.qZA()),2&c&&(m.ekj("colored",!g.backgroundColor),m.xp6(1),m.Udp("background-color",g.backgroundColor),m.xp6(1),m.Udp("background-color",g.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)}}"]}),C})(),$t=(()=>{class C extends Pt{}return C.\u0275fac=function(){let l;return function(g){return(l||(l=m.n5z(C)))(g||C)}}(),C.\u0275cmp=m.Xpm({type:C,selectors:[["sk-cube-grid"]],features:[m.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(c,g){1&c&&(m.TgZ(0,"div",0),m._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),m.qZA()),2&c&&(m.ekj("colored",!g.backgroundColor),m.xp6(1),m.Udp("background-color",g.backgroundColor),m.xp6(1),m.Udp("background-color",g.backgroundColor),m.xp6(1),m.Udp("background-color",g.backgroundColor),m.xp6(1),m.Udp("background-color",g.backgroundColor),m.xp6(1),m.Udp("background-color",g.backgroundColor),m.xp6(1),m.Udp("background-color",g.backgroundColor),m.xp6(1),m.Udp("background-color",g.backgroundColor),m.xp6(1),m.Udp("background-color",g.backgroundColor),m.xp6(1),m.Udp("background-color",g.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)}}"]}),C})(),gn=(()=>{class C extends Pt{}return C.\u0275fac=function(){let l;return function(g){return(l||(l=m.n5z(C)))(g||C)}}(),C.\u0275cmp=m.Xpm({type:C,selectors:[["sk-double-bounce"]],features:[m.qOj],decls:3,vars:6,consts:[[1,"sk-double-bounce"],[1,"sk-child","sk-double-bounce1"],[1,"sk-child","sk-double-bounce2"]],template:function(c,g){1&c&&(m.TgZ(0,"div",0),m._UZ(1,"div",1)(2,"div",2),m.qZA()),2&c&&(m.ekj("colored",!g.backgroundColor),m.xp6(1),m.Udp("background-color",g.backgroundColor),m.xp6(1),m.Udp("background-color",g.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)}}"]}),C})(),Cn=(()=>{class C extends Pt{}return C.\u0275fac=function(){let l;return function(g){return(l||(l=m.n5z(C)))(g||C)}}(),C.\u0275cmp=m.Xpm({type:C,selectors:[["sk-rotating-plane"]],features:[m.qOj],decls:1,vars:2,consts:[[1,"sk-rotating-plane","colored-parent"]],template:function(c,g){1&c&&m._UZ(0,"div",0),2&c&&m.Udp("background-color",g.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)}}"]}),C})(),Ue=(()=>{class C extends Pt{}return C.\u0275fac=function(){let l;return function(g){return(l||(l=m.n5z(C)))(g||C)}}(),C.\u0275cmp=m.Xpm({type:C,selectors:[["sk-spinner-pulse"]],features:[m.qOj],decls:1,vars:2,consts:[[1,"sk-spinner","sk-spinner-pulse","colored-parent"]],template:function(c,g){1&c&&m._UZ(0,"div",0),2&c&&m.Udp("background-color",g.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}}"]}),C})(),$e=(()=>{class C extends Pt{}return C.\u0275fac=function(){let l;return function(g){return(l||(l=m.n5z(C)))(g||C)}}(),C.\u0275cmp=m.Xpm({type:C,selectors:[["sk-three-bounce"]],features:[m.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(c,g){1&c&&(m.TgZ(0,"div",0),m._UZ(1,"div",1)(2,"div",2)(3,"div",3),m.qZA()),2&c&&(m.ekj("colored",!g.backgroundColor),m.xp6(1),m.Udp("background-color",g.backgroundColor),m.xp6(1),m.Udp("background-color",g.backgroundColor),m.xp6(1),m.Udp("background-color",g.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)}}"]}),C})(),Ye=(()=>{class C extends Pt{}return C.\u0275fac=function(){let l;return function(g){return(l||(l=m.n5z(C)))(g||C)}}(),C.\u0275cmp=m.Xpm({type:C,selectors:[["sk-wandering-cubes"]],features:[m.qOj],decls:3,vars:6,consts:[[1,"sk-wandering-cubes"],[1,"sk-cube","sk-cube1"],[1,"sk-cube","sk-cube2"]],template:function(c,g){1&c&&(m.TgZ(0,"div",0),m._UZ(1,"div",1)(2,"div",2),m.qZA()),2&c&&(m.ekj("colored",!g.backgroundColor),m.xp6(1),m.Udp("background-color",g.backgroundColor),m.xp6(1),m.Udp("background-color",g.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)}}"]}),C})(),Qe=(()=>{class C extends Pt{}return C.\u0275fac=function(){let l;return function(g){return(l||(l=m.n5z(C)))(g||C)}}(),C.\u0275cmp=m.Xpm({type:C,selectors:[["sk-wave"]],features:[m.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(c,g){1&c&&(m.TgZ(0,"div",0),m._UZ(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5),m.qZA()),2&c&&(m.ekj("colored",!g.backgroundColor),m.xp6(1),m.Udp("background-color",g.backgroundColor),m.xp6(1),m.Udp("background-color",g.backgroundColor),m.xp6(1),m.Udp("background-color",g.backgroundColor),m.xp6(1),m.Udp("background-color",g.backgroundColor),m.xp6(1),m.Udp("background-color",g.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)}}"]}),C})();const lt={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 At=(()=>{class C{constructor(){this._pendingRequests=0,this._pendingRequestsStatus$=new U.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(c){this._filteredMethods=c}set filteredHeaders(c){this._filteredHeaders=c}set forceByPass(c){this._forceByPass=c}shouldBypassUrl(c){return this._filteredUrlPatterns.some(g=>g.test(c))}shouldBypassMethod(c){return this._filteredMethods.some(g=>g.toUpperCase()===c.method.toUpperCase())}shouldBypassHeader(c){return this._filteredHeaders.some(g=>c.headers.has(g))}shouldBypass(c){return this._forceByPass||this.shouldBypassUrl(c.urlWithParams)||this.shouldBypassMethod(c)||this.shouldBypassHeader(c)}intercept(c,g){const A=this.shouldBypass(c);return A||(this._pendingRequests++,1===this._pendingRequests&&this._pendingRequestsStatus$.next(!0)),g.handle(c).pipe((0,J.x)(()=>{A||(this._pendingRequests--,0===this._pendingRequests&&this._pendingRequestsStatus$.next(!1))}))}}return C.\u0275fac=function(c){return new(c||C)},C.\u0275prov=m.Yz7({token:C,factory:C.\u0275fac,providedIn:"root"}),C})();const ve=[{provide:W.TP,useExisting:At,multi:!0}];let qe=(()=>{class C{constructor(c){this.pendingRequestsInterceptor=c,this._visibility$=new U.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 C.\u0275fac=function(c){return new(c||C)(m.LFG(At))},C.\u0275prov=m.Yz7({token:C,factory:C.\u0275fac,providedIn:"root"}),C})(),ye=(()=>{class C{constructor(c,g){this.pendingRequestsInterceptor=c,this.spinnerVisibility=g,this.spinkit=lt,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=lt.skWave}ngOnInit(){this.initIsvisibleObservable(),this.nullifySpinnerIfEntryComponentIsDefined(),this.initFilters()}initIsvisibleObservable(){const[c,g]=function re(C,l,c){return[(0,Y.h)(l,c)((0,Z.Xf)(C)),(0,Y.h)(I(l,c))((0,Z.Xf)(C))]}(this.pendingRequestsInterceptor.pendingRequestsStatus$,A=>A);this.isVisible$=(0,te.T)(this.pendingRequestsInterceptor.pendingRequestsStatus$.pipe((0,fe.w)(()=>c.pipe(we(()=>(0,H.H)(this.debounceDelay))))),c.pipe((0,fe.w)(()=>g.pipe(we(()=>this.getVisibilityTimer$())))),this.spinnerVisibility.visibility$).pipe((0,Je.x)(),(0,Ve.b)(A=>this.updateExpirationDelay(A)))}nullifySpinnerIfEntryComponentIsDefined(){this.entryComponent&&(this.spinner=null)}initFilters(){this.initFilteredUrlPatterns(),this.initFilteredMethods(),this.initFilteredHeaders()}initFilteredUrlPatterns(){this.filteredUrlPatterns.length&&this.filteredUrlPatterns.forEach(c=>this.pendingRequestsInterceptor.filteredUrlPatterns.push(new RegExp(c)))}initFilteredMethods(){this.pendingRequestsInterceptor.filteredMethods=this.filteredMethods}initFilteredHeaders(){this.pendingRequestsInterceptor.filteredHeaders=this.filteredHeaders}updateExpirationDelay(c){c&&(this.visibleUntil=Date.now()+this.minDuration)}getVisibilityTimer$(){return(0,H.H)(Math.max(this.extraDuration,this.visibleUntil-Date.now()))}}return C.\u0275fac=function(c){return new(c||C)(m.Y36(At),m.Y36(qe))},C.\u0275cmp=m.Xpm({type:C,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(c,g){1&c&&(m.YNc(0,Mt,10,16,"div",0),m.ALo(1,"async")),2&c&&m.Q6J("ngIf",m.lcZ(1,1,g.isVisible$))},dependencies:[ut.$G,ut.O5,ut.PC,$t,Gt,gn,Cn,Ue,$e,Ye,Qe,ut.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}"]}),C})(),Oe=(()=>{class C{static forRoot(){return{ngModule:C,providers:[ve]}}}return C.\u0275fac=function(c){return new(c||C)},C.\u0275mod=m.oAB({type:C}),C.\u0275inj=m.cJS({imports:[ut.ez]}),C})();var N=v(9659),Ae=v(6639),Le=v(9790);const St=[{path:"",loadChildren:()=>Promise.all([v.e(56),v.e(168)]).then(v.bind(v,7168)).then(C=>C.LoginModule)},{path:"menu",loadChildren:()=>Promise.all([v.e(56),v.e(452)]).then(v.bind(v,6452)).then(C=>C.MenuModule)},{path:"**",redirectTo:"",pathMatch:"full"}];let vt=(()=>{var C;class l{}return(C=l).\u0275fac=function(g){return new(g||C)},C.\u0275mod=m.oAB({type:C}),C.\u0275inj=m.cJS({imports:[Le.Bz.forRoot(St,{}),Le.Bz]}),l})();var Lt=v(7398),Mn=v(1631);let kn=(()=>{var C;class l{constructor(g,A,K){this._router=g,this.titleService=A,this.activatedRoute=K}ngOnInit(){this.overrideDateToJsonFunction(),this._router.events.pipe((0,Y.h)(g=>g instanceof Le.m2)).pipe((0,Lt.U)(()=>this.activatedRoute),(0,Lt.U)(g=>{for(;g.firstChild;)g=g.firstChild;return g}),(0,Y.h)(g=>"primary"===g.outlet),(0,Mn.z)(g=>g.data)).subscribe(g=>{let A=" | Marketplace";"Dealpos x Marketplace"==g.title&&(A=""),this.titleService.setTitle(g.title+A)})}overrideDateToJsonFunction(){function g(A){return A<10?"0"+A:A}Date.prototype.toJSON=function(){return this.getFullYear()+"-"+g(this.getMonth()+1)+"-"+g(this.getDate())+"T"+g(this.getHours())+":"+g(this.getMinutes())+":"+g(this.getSeconds())+".000"}}}return(C=l).\u0275fac=function(g){return new(g||C)(m.Y36(Le.F0),m.Y36(s.Dx),m.Y36(Le.gz))},C.\u0275cmp=m.Xpm({type:C,selectors:[["app-root"]],decls:2,vars:0,template:function(g,A){1&g&&m._UZ(0,"router-outlet")(1,"ng-http-loader")},dependencies:[Le.lC,ye]}),l})();var Ct=v(6825);function Un(C){return new m.vHH(3e3,!1)}function le(C){switch(C.length){case 0:return new Ct.ZN;case 1:return C[0];default:return new Ct.ZE(C)}}function je(C,l,c=new Map,g=new Map){const A=[],K=[];let _e=-1,Ee=null;if(l.forEach(ze=>{const Fe=ze.get("offset"),Ft=Fe==_e,Rt=Ft&&Ee||new Map;ze.forEach((Dn,vn)=>{let Wt=vn,ln=Dn;if("offset"!==vn)switch(Wt=C.normalizePropertyName(Wt,A),ln){case Ct.k1:ln=c.get(vn);break;case Ct.l3:ln=g.get(vn);break;default:ln=C.normalizeStyleValue(vn,Wt,ln,A)}Rt.set(Wt,ln)}),Ft||K.push(Rt),Ee=Rt,_e=Fe}),A.length)throw function en(C){return new m.vHH(3502,!1)}();return K}function oe(C,l,c,g){switch(l){case"start":C.onStart(()=>g(c&&ee(c,"start",C)));break;case"done":C.onDone(()=>g(c&&ee(c,"done",C)));break;case"destroy":C.onDestroy(()=>g(c&&ee(c,"destroy",C)))}}function ee(C,l,c){const K=Pe(C.element,C.triggerName,C.fromState,C.toState,l||C.phaseName,c.totalTime??C.totalTime,!!c.disabled),_e=C._data;return null!=_e&&(K._data=_e),K}function Pe(C,l,c,g,A="",K=0,_e){return{element:C,triggerName:l,fromState:c,toState:g,phaseName:A,totalTime:K,disabled:!!_e}}function X(C,l,c){let g=C.get(l);return g||C.set(l,g=c),g}function ce(C){const l=C.indexOf(":");return[C.substring(1,l),C.slice(l+1)]}const Ce=(()=>typeof document>"u"?null:document.documentElement)();function rt(C){const l=C.parentNode||C.host||null;return l===Ce?null:l}let wt=null,Ot=!1;function sr(C,l){for(;l;){if(l===C)return!0;l=rt(l)}return!1}function Vr(C,l,c){if(c)return Array.from(C.querySelectorAll(l));const g=C.querySelector(l);return g?[g]:[]}let Ln=(()=>{var C;class l{validateStyleProperty(g){return function Pn(C){wt||(wt=function Rn(){return typeof document<"u"?document.body:null}()||{},Ot=!!wt.style&&"WebkitAppearance"in wt.style);let l=!0;return wt.style&&!function Xe(C){return"ebkit"==C.substring(1,6)}(C)&&(l=C in wt.style,!l&&Ot&&(l="Webkit"+C.charAt(0).toUpperCase()+C.slice(1)in wt.style)),l}(g)}matchesElement(g,A){return!1}containsElement(g,A){return sr(g,A)}getParentElement(g){return rt(g)}query(g,A,K){return Vr(g,A,K)}computeStyle(g,A,K){return K||""}animate(g,A,K,_e,Ee,ze=[],Fe){return new Ct.ZN(K,_e)}}return(C=l).\u0275fac=function(g){return new(g||C)},C.\u0275prov=m.Yz7({token:C,factory:C.\u0275fac}),l})(),Hn=(()=>{class l{}return l.NOOP=new Ln,l})();const zr=1e3,Pr="ng-enter",Mr="ng-leave",Rr="ng-trigger",ii=".ng-trigger",Xr="ng-animating",yr=".ng-animating";function Tr(C){if("number"==typeof C)return C;const l=C.match(/^(-?[\.\d]+)(m?s)/);return!l||l.length<2?0:Ai(parseFloat(l[1]),l[2])}function Ai(C,l){return"s"===l?C*zr:C}function ji(C,l,c){return C.hasOwnProperty("duration")?C:function zo(C,l,c){let A,K=0,_e="";if("string"==typeof C){const Ee=C.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===Ee)return l.push(Un()),{duration:0,delay:0,easing:""};A=Ai(parseFloat(Ee[1]),Ee[2]);const ze=Ee[3];null!=ze&&(K=Ai(parseFloat(ze),Ee[4]));const Fe=Ee[5];Fe&&(_e=Fe)}else A=C;if(!c){let Ee=!1,ze=l.length;A<0&&(l.push(function On(){return new m.vHH(3100,!1)}()),Ee=!0),K<0&&(l.push(function Nt(){return new m.vHH(3101,!1)}()),Ee=!0),Ee&&l.splice(ze,0,Un())}return{duration:A,delay:K,easing:_e}}(C,l,c)}function Ji(C,l={}){return Object.keys(C).forEach(c=>{l[c]=C[c]}),l}function Oo(C){const l=new Map;return Object.keys(C).forEach(c=>{l.set(c,C[c])}),l}function Oi(C,l=new Map,c){if(c)for(let[g,A]of c)l.set(g,A);for(let[g,A]of C)l.set(g,A);return l}function br(C,l,c){l.forEach((g,A)=>{const K=Xi(A);c&&!c.has(A)&&c.set(A,C.style[K]),C.style[K]=g})}function oi(C,l){l.forEach((c,g)=>{const A=Xi(g);C.style[A]=""})}function pi(C){return Array.isArray(C)?1==C.length?C[0]:(0,Ct.vP)(C):C}const so=new RegExp("{{\\s*(.+?)\\s*}}","g");function Pi(C){let l=[];if("string"==typeof C){let c;for(;c=so.exec(C);)l.push(c[1]);so.lastIndex=0}return l}function er(C,l,c){const g=C.toString(),A=g.replace(so,(K,_e)=>{let Ee=l[_e];return null==Ee&&(c.push(function Vt(C){return new m.vHH(3003,!1)}()),Ee=""),Ee.toString()});return A==g?C:A}function qi(C){const l=[];let c=C.next();for(;!c.done;)l.push(c.value),c=C.next();return l}const Ui=/-+([a-z0-9])/g;function Xi(C){return C.replace(Ui,(...l)=>l[1].toUpperCase())}function Dr(C,l,c){switch(l.type){case 7:return C.visitTrigger(l,c);case 0:return C.visitState(l,c);case 1:return C.visitTransition(l,c);case 2:return C.visitSequence(l,c);case 3:return C.visitGroup(l,c);case 4:return C.visitAnimate(l,c);case 5:return C.visitKeyframes(l,c);case 6:return C.visitStyle(l,c);case 8:return C.visitReference(l,c);case 9:return C.visitAnimateChild(l,c);case 10:return C.visitAnimateRef(l,c);case 11:return C.visitQuery(l,c);case 12:return C.visitStagger(l,c);default:throw function rn(C){return new m.vHH(3004,!1)}()}}function Gr(C,l){return window.getComputedStyle(C)[l]}const It="*";function sn(C,l){const c=[];return"string"==typeof C?C.split(/\s*,\s*/).forEach(g=>function Gn(C,l,c){if(":"==C[0]){const ze=function Nr(C,l){switch(C){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(c,g)=>parseFloat(g)>parseFloat(c);case":decrement":return(c,g)=>parseFloat(g)<parseFloat(c);default:return l.push(function yt(C){return new m.vHH(3016,!1)}()),"* => *"}}(C,c);if("function"==typeof ze)return void l.push(ze);C=ze}const g=C.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==g||g.length<4)return c.push(function Dt(C){return new m.vHH(3015,!1)}()),l;const A=g[1],K=g[2],_e=g[3];l.push(Ri(A,_e));"<"==K[0]&&!(A==It&&_e==It)&&l.push(Ri(_e,A))}(g,c,l)):c.push(C),c}const ui=new Set(["true","1"]),hr=new Set(["false","0"]);function Ri(C,l){const c=ui.has(C)||hr.has(C),g=ui.has(l)||hr.has(l);return(A,K)=>{let _e=C==It||C==A,Ee=l==It||l==K;return!_e&&c&&"boolean"==typeof A&&(_e=A?ui.has(C):hr.has(C)),!Ee&&g&&"boolean"==typeof K&&(Ee=K?ui.has(l):hr.has(l)),_e&&Ee}}const Wr=new RegExp("s*:selfs*,?","g");function Di(C,l,c,g){return new Ni(C).build(l,c,g)}class Ni{constructor(l){this._driver=l}build(l,c,g){const A=new Re(c);return this._resetContextStyleTimingState(A),Dr(this,pi(l),A)}_resetContextStyleTimingState(l){l.currentQuerySelector="",l.collectedStyles=new Map,l.collectedStyles.set("",new Map),l.currentTime=0}visitTrigger(l,c){let g=c.queryCount=0,A=c.depCount=0;const K=[],_e=[];return"@"==l.name.charAt(0)&&c.errors.push(function Tn(){return new m.vHH(3006,!1)}()),l.definitions.forEach(Ee=>{if(this._resetContextStyleTimingState(c),0==Ee.type){const ze=Ee,Fe=ze.name;Fe.toString().split(/\s*,\s*/).forEach(Ft=>{ze.name=Ft,K.push(this.visitState(ze,c))}),ze.name=Fe}else if(1==Ee.type){const ze=this.visitTransition(Ee,c);g+=ze.queryCount,A+=ze.depCount,_e.push(ze)}else c.errors.push(function cn(){return new m.vHH(3007,!1)}())}),{type:7,name:l.name,states:K,transitions:_e,queryCount:g,depCount:A,options:null}}visitState(l,c){const g=this.visitStyle(l.styles,c),A=l.options&&l.options.params||null;if(g.containsDynamicStyles){const K=new Set,_e=A||{};g.styles.forEach(Ee=>{Ee instanceof Map&&Ee.forEach(ze=>{Pi(ze).forEach(Fe=>{_e.hasOwnProperty(Fe)||K.add(Fe)})})}),K.size&&(qi(K.values()),c.errors.push(function _n(C,l){return new m.vHH(3008,!1)}()))}return{type:0,name:l.name,style:g,options:A?{params:A}:null}}visitTransition(l,c){c.queryCount=0,c.depCount=0;const g=Dr(this,pi(l.animation),c);return{type:1,matchers:sn(l.expr,c.errors),animation:g,queryCount:c.queryCount,depCount:c.depCount,options:Tt(l.options)}}visitSequence(l,c){return{type:2,steps:l.steps.map(g=>Dr(this,g,c)),options:Tt(l.options)}}visitGroup(l,c){const g=c.currentTime;let A=0;const K=l.steps.map(_e=>{c.currentTime=g;const Ee=Dr(this,_e,c);return A=Math.max(A,c.currentTime),Ee});return c.currentTime=A,{type:3,steps:K,options:Tt(l.options)}}visitAnimate(l,c){const g=function mt(C,l){if(C.hasOwnProperty("duration"))return C;if("number"==typeof C)return Kt(ji(C,l).duration,0,"");const c=C;if(c.split(/\s+/).some(K=>"{"==K.charAt(0)&&"{"==K.charAt(1))){const K=Kt(0,0,"");return K.dynamic=!0,K.strValue=c,K}const A=ji(c,l);return Kt(A.duration,A.delay,A.easing)}(l.timings,c.errors);c.currentAnimateTimings=g;let A,K=l.styles?l.styles:(0,Ct.oB)({});if(5==K.type)A=this.visitKeyframes(K,c);else{let _e=l.styles,Ee=!1;if(!_e){Ee=!0;const Fe={};g.easing&&(Fe.easing=g.easing),_e=(0,Ct.oB)(Fe)}c.currentTime+=g.duration+g.delay;const ze=this.visitStyle(_e,c);ze.isEmptyStep=Ee,A=ze}return c.currentAnimateTimings=null,{type:4,timings:g,style:A,options:null}}visitStyle(l,c){const g=this._makeStyleAst(l,c);return this._validateStyleAst(g,c),g}_makeStyleAst(l,c){const g=[],A=Array.isArray(l.styles)?l.styles:[l.styles];for(let Ee of A)"string"==typeof Ee?Ee===Ct.l3?g.push(Ee):c.errors.push(new m.vHH(3002,!1)):g.push(Oo(Ee));let K=!1,_e=null;return g.forEach(Ee=>{if(Ee instanceof Map&&(Ee.has("easing")&&(_e=Ee.get("easing"),Ee.delete("easing")),!K))for(let ze of Ee.values())if(ze.toString().indexOf("{{")>=0){K=!0;break}}),{type:6,styles:g,easing:_e,offset:l.offset,containsDynamicStyles:K,options:null}}_validateStyleAst(l,c){const g=c.currentAnimateTimings;let A=c.currentTime,K=c.currentTime;g&&K>0&&(K-=g.duration+g.delay),l.styles.forEach(_e=>{"string"!=typeof _e&&_e.forEach((Ee,ze)=>{const Fe=c.collectedStyles.get(c.currentQuerySelector),Ft=Fe.get(ze);let Rt=!0;Ft&&(K!=A&&K>=Ft.startTime&&A<=Ft.endTime&&(c.errors.push(function or(C,l,c,g,A){return new m.vHH(3010,!1)}()),Rt=!1),K=Ft.startTime),Rt&&Fe.set(ze,{startTime:K,endTime:A}),c.options&&function Eo(C,l,c){const g=l.params||{},A=Pi(C);A.length&&A.forEach(K=>{g.hasOwnProperty(K)||c.push(function jt(C){return new m.vHH(3001,!1)}())})}(Ee,c.options,c.errors)})})}visitKeyframes(l,c){const g={type:5,styles:[],options:null};if(!c.currentAnimateTimings)return c.errors.push(function on(){return new m.vHH(3011,!1)}()),g;let K=0;const _e=[];let Ee=!1,ze=!1,Fe=0;const Ft=l.steps.map(Br=>{const Hr=this._makeStyleAst(Br,c);let ni=null!=Hr.offset?Hr.offset:function ot(C){if("string"==typeof C)return null;let l=null;if(Array.isArray(C))C.forEach(c=>{if(c instanceof Map&&c.has("offset")){const g=c;l=parseFloat(g.get("offset")),g.delete("offset")}});else if(C instanceof Map&&C.has("offset")){const c=C;l=parseFloat(c.get("offset")),c.delete("offset")}return l}(Hr.styles),Qr=0;return null!=ni&&(K++,Qr=Hr.offset=ni),ze=ze||Qr<0||Qr>1,Ee=Ee||Qr<Fe,Fe=Qr,_e.push(Qr),Hr});ze&&c.errors.push(function Qn(){return new m.vHH(3012,!1)}()),Ee&&c.errors.push(function Wn(){return new m.vHH(3200,!1)}());const Rt=l.steps.length;let Dn=0;K>0&&K<Rt?c.errors.push(function In(){return new m.vHH(3202,!1)}()):0==K&&(Dn=1/(Rt-1));const vn=Rt-1,Wt=c.currentTime,ln=c.currentAnimateTimings,Kn=ln.duration;return Ft.forEach((Br,Hr)=>{const ni=Dn>0?Hr==vn?1:Dn*Hr:_e[Hr],Qr=ni*Kn;c.currentTime=Wt+ln.delay+Qr,ln.duration=Qr,this._validateStyleAst(Br,c),Br.offset=ni,g.styles.push(Br)}),g}visitReference(l,c){return{type:8,animation:Dr(this,pi(l.animation),c),options:Tt(l.options)}}visitAnimateChild(l,c){return c.depCount++,{type:9,options:Tt(l.options)}}visitAnimateRef(l,c){return{type:10,animation:this.visitReference(l.animation,c),options:Tt(l.options)}}visitQuery(l,c){const g=c.currentQuerySelector,A=l.options||{};c.queryCount++,c.currentQuery=l;const[K,_e]=function Me(C){const l=!!C.split(/\s*,\s*/).find(c=>":self"==c);return l&&(C=C.replace(Wr,"")),C=C.replace(/@\*/g,ii).replace(/@\w+/g,c=>ii+"-"+c.slice(1)).replace(/:animating/g,yr),[C,l]}(l.selector);c.currentQuerySelector=g.length?g+" "+K:K,X(c.collectedStyles,c.currentQuerySelector,new Map);const Ee=Dr(this,pi(l.animation),c);return c.currentQuery=null,c.currentQuerySelector=g,{type:11,selector:K,limit:A.limit||0,optional:!!A.optional,includeSelf:_e,animation:Ee,originalSelector:l.selector,options:Tt(l.options)}}visitStagger(l,c){c.currentQuery||c.errors.push(function dr(){return new m.vHH(3013,!1)}());const g="full"===l.timings?{duration:0,delay:0,easing:"full"}:ji(l.timings,c.errors,!0);return{type:12,animation:Dr(this,pi(l.animation),c),timings:g,options:null}}}class Re{constructor(l){this.errors=l,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 Tt(C){return C?(C=Ji(C)).params&&(C.params=function be(C){return C?Ji(C):null}(C.params)):C={},C}function Kt(C,l,c){return{duration:C,delay:l,easing:c}}function $n(C,l,c,g,A,K,_e=null,Ee=!1){return{type:1,element:C,keyframes:l,preStyleProps:c,postStyleProps:g,duration:A,delay:K,totalTime:A+K,easing:_e,subTimeline:Ee}}class wn{constructor(){this._map=new Map}get(l){return this._map.get(l)||[]}append(l,c){let g=this._map.get(l);g||this._map.set(l,g=[]),g.push(...c)}has(l){return this._map.has(l)}clear(){this._map.clear()}}const Kr=new RegExp(":enter","g"),di=new RegExp(":leave","g");function Ci(C,l,c,g,A,K=new Map,_e=new Map,Ee,ze,Fe=[]){return(new Sr).buildKeyframes(C,l,c,g,A,K,_e,Ee,ze,Fe)}class Sr{buildKeyframes(l,c,g,A,K,_e,Ee,ze,Fe,Ft=[]){Fe=Fe||new wn;const Rt=new kr(l,c,Fe,A,K,Ft,[]);Rt.options=ze;const Dn=ze.delay?Tr(ze.delay):0;Rt.currentTimeline.delayNextStep(Dn),Rt.currentTimeline.setStyles([_e],null,Rt.errors,ze),Dr(this,g,Rt);const vn=Rt.timelines.filter(Wt=>Wt.containsAnimation());if(vn.length&&Ee.size){let Wt;for(let ln=vn.length-1;ln>=0;ln--){const Kn=vn[ln];if(Kn.element===c){Wt=Kn;break}}Wt&&!Wt.allowOnlyTimelineStyles()&&Wt.setStyles([Ee],null,Rt.errors,ze)}return vn.length?vn.map(Wt=>Wt.buildKeyframes()):[$n(c,[],[],[],0,Dn,"",!1)]}visitTrigger(l,c){}visitState(l,c){}visitTransition(l,c){}visitAnimateChild(l,c){const g=c.subInstructions.get(c.element);if(g){const A=c.createSubContext(l.options),K=c.currentTimeline.currentTime,_e=this._visitSubInstructions(g,A,A.options);K!=_e&&c.transformIntoNewTimeline(_e)}c.previousNode=l}visitAnimateRef(l,c){const g=c.createSubContext(l.options);g.transformIntoNewTimeline(),this._applyAnimationRefDelays([l.options,l.animation.options],c,g),this.visitReference(l.animation,g),c.transformIntoNewTimeline(g.currentTimeline.currentTime),c.previousNode=l}_applyAnimationRefDelays(l,c,g){for(const A of l){const K=A?.delay;if(K){const _e="number"==typeof K?K:Tr(er(K,A?.params??{},c.errors));g.delayNextStep(_e)}}}_visitSubInstructions(l,c,g){let K=c.currentTimeline.currentTime;const _e=null!=g.duration?Tr(g.duration):null,Ee=null!=g.delay?Tr(g.delay):null;return 0!==_e&&l.forEach(ze=>{const Fe=c.appendInstructionToTimeline(ze,_e,Ee);K=Math.max(K,Fe.duration+Fe.delay)}),K}visitReference(l,c){c.updateOptions(l.options,!0),Dr(this,l.animation,c),c.previousNode=l}visitSequence(l,c){const g=c.subContextCount;let A=c;const K=l.options;if(K&&(K.params||K.delay)&&(A=c.createSubContext(K),A.transformIntoNewTimeline(),null!=K.delay)){6==A.previousNode.type&&(A.currentTimeline.snapshotCurrentStyles(),A.previousNode=tr);const _e=Tr(K.delay);A.delayNextStep(_e)}l.steps.length&&(l.steps.forEach(_e=>Dr(this,_e,A)),A.currentTimeline.applyStylesToKeyframe(),A.subContextCount>g&&A.transformIntoNewTimeline()),c.previousNode=l}visitGroup(l,c){const g=[];let A=c.currentTimeline.currentTime;const K=l.options&&l.options.delay?Tr(l.options.delay):0;l.steps.forEach(_e=>{const Ee=c.createSubContext(l.options);K&&Ee.delayNextStep(K),Dr(this,_e,Ee),A=Math.max(A,Ee.currentTimeline.currentTime),g.push(Ee.currentTimeline)}),g.forEach(_e=>c.currentTimeline.mergeTimelineCollectedStyles(_e)),c.transformIntoNewTimeline(A),c.previousNode=l}_visitTiming(l,c){if(l.dynamic){const g=l.strValue;return ji(c.params?er(g,c.params,c.errors):g,c.errors)}return{duration:l.duration,delay:l.delay,easing:l.easing}}visitAnimate(l,c){const g=c.currentAnimateTimings=this._visitTiming(l.timings,c),A=c.currentTimeline;g.delay&&(c.incrementTime(g.delay),A.snapshotCurrentStyles());const K=l.style;5==K.type?this.visitKeyframes(K,c):(c.incrementTime(g.duration),this.visitStyle(K,c),A.applyStylesToKeyframe()),c.currentAnimateTimings=null,c.previousNode=l}visitStyle(l,c){const g=c.currentTimeline,A=c.currentAnimateTimings;!A&&g.hasCurrentStyleProperties()&&g.forwardFrame();const K=A&&A.easing||l.easing;l.isEmptyStep?g.applyEmptyStep(K):g.setStyles(l.styles,K,c.errors,c.options),c.previousNode=l}visitKeyframes(l,c){const g=c.currentAnimateTimings,A=c.currentTimeline.duration,K=g.duration,Ee=c.createSubContext().currentTimeline;Ee.easing=g.easing,l.styles.forEach(ze=>{Ee.forwardTime((ze.offset||0)*K),Ee.setStyles(ze.styles,ze.easing,c.errors,c.options),Ee.applyStylesToKeyframe()}),c.currentTimeline.mergeTimelineCollectedStyles(Ee),c.transformIntoNewTimeline(A+K),c.previousNode=l}visitQuery(l,c){const g=c.currentTimeline.currentTime,A=l.options||{},K=A.delay?Tr(A.delay):0;K&&(6===c.previousNode.type||0==g&&c.currentTimeline.hasCurrentStyleProperties())&&(c.currentTimeline.snapshotCurrentStyles(),c.previousNode=tr);let _e=g;const Ee=c.invokeQuery(l.selector,l.originalSelector,l.limit,l.includeSelf,!!A.optional,c.errors);c.currentQueryTotal=Ee.length;let ze=null;Ee.forEach((Fe,Ft)=>{c.currentQueryIndex=Ft;const Rt=c.createSubContext(l.options,Fe);K&&Rt.delayNextStep(K),Fe===c.element&&(ze=Rt.currentTimeline),Dr(this,l.animation,Rt),Rt.currentTimeline.applyStylesToKeyframe(),_e=Math.max(_e,Rt.currentTimeline.currentTime)}),c.currentQueryIndex=0,c.currentQueryTotal=0,c.transformIntoNewTimeline(_e),ze&&(c.currentTimeline.mergeTimelineCollectedStyles(ze),c.currentTimeline.snapshotCurrentStyles()),c.previousNode=l}visitStagger(l,c){const g=c.parentContext,A=c.currentTimeline,K=l.timings,_e=Math.abs(K.duration),Ee=_e*(c.currentQueryTotal-1);let ze=_e*c.currentQueryIndex;switch(K.duration<0?"reverse":K.easing){case"reverse":ze=Ee-ze;break;case"full":ze=g.currentStaggerTime}const Ft=c.currentTimeline;ze&&Ft.delayNextStep(ze);const Rt=Ft.currentTime;Dr(this,l.animation,c),c.previousNode=l,g.currentStaggerTime=A.currentTime-Rt+(A.startTime-g.currentTimeline.startTime)}}const tr={};class kr{constructor(l,c,g,A,K,_e,Ee,ze){this._driver=l,this.element=c,this.subInstructions=g,this._enterClassName=A,this._leaveClassName=K,this.errors=_e,this.timelines=Ee,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=tr,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=ze||new si(this._driver,c,0),Ee.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(l,c){if(!l)return;const g=l;let A=this.options;null!=g.duration&&(A.duration=Tr(g.duration)),null!=g.delay&&(A.delay=Tr(g.delay));const K=g.params;if(K){let _e=A.params;_e||(_e=this.options.params={}),Object.keys(K).forEach(Ee=>{(!c||!_e.hasOwnProperty(Ee))&&(_e[Ee]=er(K[Ee],_e,this.errors))})}}_copyOptions(){const l={};if(this.options){const c=this.options.params;if(c){const g=l.params={};Object.keys(c).forEach(A=>{g[A]=c[A]})}}return l}createSubContext(l=null,c,g){const A=c||this.element,K=new kr(this._driver,A,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(A,g||0));return K.previousNode=this.previousNode,K.currentAnimateTimings=this.currentAnimateTimings,K.options=this._copyOptions(),K.updateOptions(l),K.currentQueryIndex=this.currentQueryIndex,K.currentQueryTotal=this.currentQueryTotal,K.parentContext=this,this.subContextCount++,K}transformIntoNewTimeline(l){return this.previousNode=tr,this.currentTimeline=this.currentTimeline.fork(this.element,l),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(l,c,g){const A={duration:c??l.duration,delay:this.currentTimeline.currentTime+(g??0)+l.delay,easing:""},K=new mi(this._driver,l.element,l.keyframes,l.preStyleProps,l.postStyleProps,A,l.stretchStartingKeyframe);return this.timelines.push(K),A}incrementTime(l){this.currentTimeline.forwardTime(this.currentTimeline.duration+l)}delayNextStep(l){l>0&&this.currentTimeline.delayNextStep(l)}invokeQuery(l,c,g,A,K,_e){let Ee=[];if(A&&Ee.push(this.element),l.length>0){l=(l=l.replace(Kr,"."+this._enterClassName)).replace(di,"."+this._leaveClassName);let Fe=this._driver.query(this.element,l,1!=g);0!==g&&(Fe=g<0?Fe.slice(Fe.length+g,Fe.length):Fe.slice(0,g)),Ee.push(...Fe)}return!K&&0==Ee.length&&_e.push(function Ze(C){return new m.vHH(3014,!1)}()),Ee}}class si{constructor(l,c,g,A){this._driver=l,this.element=c,this.startTime=g,this._elementTimelineStylesLookup=A,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(c),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(c,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(l){const c=1===this._keyframes.size&&this._pendingStyles.size;this.duration||c?(this.forwardTime(this.currentTime+l),c&&this.snapshotCurrentStyles()):this.startTime+=l}fork(l,c){return this.applyStylesToKeyframe(),new si(this._driver,l,c||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(l){this.applyStylesToKeyframe(),this.duration=l,this._loadKeyframe()}_updateStyle(l,c){this._localTimelineStyles.set(l,c),this._globalTimelineStyles.set(l,c),this._styleSummary.set(l,{time:this.currentTime,value:c})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(l){l&&this._previousKeyframe.set("easing",l);for(let[c,g]of this._globalTimelineStyles)this._backFill.set(c,g||Ct.l3),this._currentKeyframe.set(c,Ct.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(l,c,g,A){c&&this._previousKeyframe.set("easing",c);const K=A&&A.params||{},_e=function wi(C,l){const c=new Map;let g;return C.forEach(A=>{if("*"===A){g=g||l.keys();for(let K of g)c.set(K,Ct.l3)}else Oi(A,c)}),c}(l,this._globalTimelineStyles);for(let[Ee,ze]of _e){const Fe=er(ze,K,g);this._pendingStyles.set(Ee,Fe),this._localTimelineStyles.has(Ee)||this._backFill.set(Ee,this._globalTimelineStyles.get(Ee)??Ct.l3),this._updateStyle(Ee,Fe)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((l,c)=>{this._currentKeyframe.set(c,l)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((l,c)=>{this._currentKeyframe.has(c)||this._currentKeyframe.set(c,l)}))}snapshotCurrentStyles(){for(let[l,c]of this._localTimelineStyles)this._pendingStyles.set(l,c),this._updateStyle(l,c)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const l=[];for(let c in this._currentKeyframe)l.push(c);return l}mergeTimelineCollectedStyles(l){l._styleSummary.forEach((c,g)=>{const A=this._styleSummary.get(g);(!A||c.time>A.time)&&this._updateStyle(g,c.value)})}buildKeyframes(){this.applyStylesToKeyframe();const l=new Set,c=new Set,g=1===this._keyframes.size&&0===this.duration;let A=[];this._keyframes.forEach((Ee,ze)=>{const Fe=Oi(Ee,new Map,this._backFill);Fe.forEach((Ft,Rt)=>{Ft===Ct.k1?l.add(Rt):Ft===Ct.l3&&c.add(Rt)}),g||Fe.set("offset",ze/this.duration),A.push(Fe)});const K=l.size?qi(l.values()):[],_e=c.size?qi(c.values()):[];if(g){const Ee=A[0],ze=new Map(Ee);Ee.set("offset",0),ze.set("offset",1),A=[Ee,ze]}return $n(this.element,A,K,_e,this.duration,this.startTime,this.easing,!1)}}class mi extends si{constructor(l,c,g,A,K,_e,Ee=!1){super(l,c,_e.delay),this.keyframes=g,this.preStyleProps=A,this.postStyleProps=K,this._stretchStartingKeyframe=Ee,this.timings={duration:_e.duration,delay:_e.delay,easing:_e.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let l=this.keyframes,{delay:c,duration:g,easing:A}=this.timings;if(this._stretchStartingKeyframe&&c){const K=[],_e=g+c,Ee=c/_e,ze=Oi(l[0]);ze.set("offset",0),K.push(ze);const Fe=Oi(l[0]);Fe.set("offset",En(Ee)),K.push(Fe);const Ft=l.length-1;for(let Rt=1;Rt<=Ft;Rt++){let Dn=Oi(l[Rt]);const vn=Dn.get("offset");Dn.set("offset",En((c+vn*g)/_e)),K.push(Dn)}g=_e,c=0,A="",l=K}return $n(this.element,l,this.preStyleProps,this.postStyleProps,g,c,A,!0)}}function En(C,l=3){const c=Math.pow(10,l-1);return Math.round(C*c)/c}class Fr{}const fi=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 Yr extends Fr{normalizePropertyName(l,c){return Xi(l)}normalizeStyleValue(l,c,g,A){let K="";const _e=g.toString().trim();if(fi.has(c)&&0!==g&&"0"!==g)if("number"==typeof g)K="px";else{const Ee=g.match(/^[+-]?[\d\.]+([a-z]*)$/);Ee&&0==Ee[1].length&&A.push(function Xt(C,l){return new m.vHH(3005,!1)}())}return _e+K}}function ai(C,l,c,g,A,K,_e,Ee,ze,Fe,Ft,Rt,Dn){return{type:0,element:C,triggerName:l,isRemovalTransition:A,fromState:c,fromStyles:K,toState:g,toStyles:_e,timelines:Ee,queriedElements:ze,preStyleProps:Fe,postStyleProps:Ft,totalTime:Rt,errors:Dn}}const ao={};class $i{constructor(l,c,g){this._triggerName=l,this.ast=c,this._stateStyles=g}match(l,c,g,A){return function ea(C,l,c,g,A){return C.some(K=>K(l,c,g,A))}(this.ast.matchers,l,c,g,A)}buildStyles(l,c,g){let A=this._stateStyles.get("*");return void 0!==l&&(A=this._stateStyles.get(l?.toString())||A),A?A.buildStyles(c,g):new Map}build(l,c,g,A,K,_e,Ee,ze,Fe,Ft){const Rt=[],Dn=this.ast.options&&this.ast.options.params||ao,Wt=this.buildStyles(g,Ee&&Ee.params||ao,Rt),ln=ze&&ze.params||ao,Kn=this.buildStyles(A,ln,Rt),Br=new Set,Hr=new Map,ni=new Map,Qr="void"===A,po={params:cs(ln,Dn),delay:this.ast.options?.delay},ct=Ft?[]:Ci(l,c,this.ast.animation,K,_e,Wt,Kn,po,Fe,Rt);let an=0;if(ct.forEach(Wi=>{an=Math.max(Wi.duration+Wi.delay,an)}),Rt.length)return ai(c,this._triggerName,g,A,Qr,Wt,Kn,[],[],Hr,ni,an,Rt);ct.forEach(Wi=>{const gr=Wi.element,rs=X(Hr,gr,new Set);Wi.preStyleProps.forEach(ri=>rs.add(ri));const ur=X(ni,gr,new Set);Wi.postStyleProps.forEach(ri=>ur.add(ri)),gr!==c&&Br.add(gr)});const Gi=qi(Br.values());return ai(c,this._triggerName,g,A,Qr,Wt,Kn,ct,Gi,Hr,ni,an)}}function cs(C,l){const c=Ji(l);for(const g in C)C.hasOwnProperty(g)&&null!=C[g]&&(c[g]=C[g]);return c}class us{constructor(l,c,g){this.styles=l,this.defaultParams=c,this.normalizer=g}buildStyles(l,c){const g=new Map,A=Ji(this.defaultParams);return Object.keys(l).forEach(K=>{const _e=l[K];null!==_e&&(A[K]=_e)}),this.styles.styles.forEach(K=>{"string"!=typeof K&&K.forEach((_e,Ee)=>{_e&&(_e=er(_e,A,c));const ze=this.normalizer.normalizePropertyName(Ee,c);_e=this.normalizer.normalizeStyleValue(Ee,ze,_e,c),g.set(Ee,_e)})}),g}}class xs{constructor(l,c,g){this.name=l,this.ast=c,this._normalizer=g,this.transitionFactories=[],this.states=new Map,c.states.forEach(A=>{this.states.set(A.name,new us(A.style,A.options&&A.options.params||{},g))}),Hs(this.states,"true","1"),Hs(this.states,"false","0"),c.transitions.forEach(A=>{this.transitionFactories.push(new $i(l,A,this.states))}),this.fallbackTransition=function Us(C,l,c){return new $i(C,{type:1,animation:{type:2,steps:[],options:null},matchers:[(_e,Ee)=>!0],options:null,queryCount:0,depCount:0},l)}(l,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(l,c,g,A){return this.transitionFactories.find(_e=>_e.match(l,c,g,A))||null}matchStyles(l,c,g){return this.fallbackTransition.buildStyles(l,c,g)}}function Hs(C,l,c){C.has(l)?C.has(c)||C.set(c,C.get(l)):C.has(c)&&C.set(l,C.get(c))}const pr=new wn;class Wo{constructor(l,c,g){this.bodyNode=l,this._driver=c,this._normalizer=g,this._animations=new Map,this._playersById=new Map,this.players=[]}register(l,c){const g=[],K=Di(this._driver,c,g,[]);if(g.length)throw function Jn(C){return new m.vHH(3503,!1)}();this._animations.set(l,K)}_buildPlayer(l,c,g){const A=l.element,K=je(this._normalizer,l.keyframes,c,g);return this._driver.animate(A,K,l.duration,l.delay,l.easing,[],!0)}create(l,c,g={}){const A=[],K=this._animations.get(l);let _e;const Ee=new Map;if(K?(_e=Ci(this._driver,c,K,Pr,Mr,new Map,new Map,g,pr,A),_e.forEach(Ft=>{const Rt=X(Ee,Ft.element,new Map);Ft.postStyleProps.forEach(Dn=>Rt.set(Dn,null))})):(A.push(function pe(){return new m.vHH(3300,!1)}()),_e=[]),A.length)throw function B(C){return new m.vHH(3504,!1)}();Ee.forEach((Ft,Rt)=>{Ft.forEach((Dn,vn)=>{Ft.set(vn,this._driver.computeStyle(Rt,vn,Ct.l3))})});const Fe=le(_e.map(Ft=>{const Rt=Ee.get(Ft.element);return this._buildPlayer(Ft,new Map,Rt)}));return this._playersById.set(l,Fe),Fe.onDestroy(()=>this.destroy(l)),this.players.push(Fe),Fe}destroy(l){const c=this._getPlayer(l);c.destroy(),this._playersById.delete(l);const g=this.players.indexOf(c);g>=0&&this.players.splice(g,1)}_getPlayer(l){const c=this._playersById.get(l);if(!c)throw function k(C){return new m.vHH(3301,!1)}();return c}listen(l,c,g,A){const K=Pe(c,"","","");return oe(this._getPlayer(l),g,K,A),()=>{}}command(l,c,g,A){if("register"==g)return void this.register(l,A[0]);if("create"==g)return void this.create(l,c,A[0]||{});const K=this._getPlayer(l);switch(g){case"play":K.play();break;case"pause":K.pause();break;case"reset":K.reset();break;case"restart":K.restart();break;case"finish":K.finish();break;case"init":K.init();break;case"setPosition":K.setPosition(parseFloat(A[0]));break;case"destroy":this.destroy(l)}}}const ko="ng-animate-queued",Ko="ng-animate-disabled",Fo=[],Yo={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Ms={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},gi="__ng_removed";class Lo{get params(){return this.options.params}constructor(l,c=""){this.namespaceId=c;const g=l&&l.hasOwnProperty("value");if(this.value=function li(C){return C??null}(g?l.value:l),g){const K=Ji(l);delete K.value,this.options=K}else this.options={};this.options.params||(this.options.params={})}absorbOptions(l){const c=l.params;if(c){const g=this.options.params;Object.keys(c).forEach(A=>{null==g[A]&&(g[A]=c[A])})}}}const ei="void",_i=new Lo(ei);class co{constructor(l,c,g){this.id=l,this.hostElement=c,this._engine=g,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+l,ti(c,this._hostClassName)}listen(l,c,g,A){if(!this._triggers.has(c))throw function O(C,l){return new m.vHH(3302,!1)}();if(null==g||0==g.length)throw function D(C){return new m.vHH(3303,!1)}();if(!function ds(C){return"start"==C||"done"==C}(g))throw function F(C,l){return new m.vHH(3400,!1)}();const K=X(this._elementListeners,l,[]),_e={name:c,phase:g,callback:A};K.push(_e);const Ee=X(this._engine.statesByElement,l,new Map);return Ee.has(c)||(ti(l,Rr),ti(l,Rr+"-"+c),Ee.set(c,_i)),()=>{this._engine.afterFlush(()=>{const ze=K.indexOf(_e);ze>=0&&K.splice(ze,1),this._triggers.has(c)||Ee.delete(c)})}}register(l,c){return!this._triggers.has(l)&&(this._triggers.set(l,c),!0)}_getTrigger(l){const c=this._triggers.get(l);if(!c)throw function R(C){return new m.vHH(3401,!1)}();return c}trigger(l,c,g,A=!0){const K=this._getTrigger(c),_e=new rr(this.id,c,l);let Ee=this._engine.statesByElement.get(l);Ee||(ti(l,Rr),ti(l,Rr+"-"+c),this._engine.statesByElement.set(l,Ee=new Map));let ze=Ee.get(c);const Fe=new Lo(g,this.id);if(!(g&&g.hasOwnProperty("value"))&&ze&&Fe.absorbOptions(ze.options),Ee.set(c,Fe),ze||(ze=_i),Fe.value!==ei&&ze.value===Fe.value){if(!function fo(C,l){const c=Object.keys(C),g=Object.keys(l);if(c.length!=g.length)return!1;for(let A=0;A<c.length;A++){const K=c[A];if(!l.hasOwnProperty(K)||C[K]!==l[K])return!1}return!0}(ze.params,Fe.params)){const ln=[],Kn=K.matchStyles(ze.value,ze.params,ln),Br=K.matchStyles(Fe.value,Fe.params,ln);ln.length?this._engine.reportError(ln):this._engine.afterFlush(()=>{oi(l,Kn),br(l,Br)})}return}const Dn=X(this._engine.playersByElement,l,[]);Dn.forEach(ln=>{ln.namespaceId==this.id&&ln.triggerName==c&&ln.queued&&ln.destroy()});let vn=K.matchTransition(ze.value,Fe.value,l,Fe.params),Wt=!1;if(!vn){if(!A)return;vn=K.fallbackTransition,Wt=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:l,triggerName:c,transition:vn,fromState:ze,toState:Fe,player:_e,isFallbackTransition:Wt}),Wt||(ti(l,ko),_e.onStart(()=>{Fi(l,ko)})),_e.onDone(()=>{let ln=this.players.indexOf(_e);ln>=0&&this.players.splice(ln,1);const Kn=this._engine.playersByElement.get(l);if(Kn){let Br=Kn.indexOf(_e);Br>=0&&Kn.splice(Br,1)}}),this.players.push(_e),Dn.push(_e),_e}deregister(l){this._triggers.delete(l),this._engine.statesByElement.forEach(c=>c.delete(l)),this._elementListeners.forEach((c,g)=>{this._elementListeners.set(g,c.filter(A=>A.name!=l))})}clearElementCache(l){this._engine.statesByElement.delete(l),this._elementListeners.delete(l);const c=this._engine.playersByElement.get(l);c&&(c.forEach(g=>g.destroy()),this._engine.playersByElement.delete(l))}_signalRemovalForInnerTriggers(l,c){const g=this._engine.driver.query(l,ii,!0);g.forEach(A=>{if(A[gi])return;const K=this._engine.fetchNamespacesByElement(A);K.size?K.forEach(_e=>_e.triggerLeaveAnimation(A,c,!1,!0)):this.clearElementCache(A)}),this._engine.afterFlushAnimationsDone(()=>g.forEach(A=>this.clearElementCache(A)))}triggerLeaveAnimation(l,c,g,A){const K=this._engine.statesByElement.get(l),_e=new Map;if(K){const Ee=[];if(K.forEach((ze,Fe)=>{if(_e.set(Fe,ze.value),this._triggers.has(Fe)){const Ft=this.trigger(l,Fe,ei,A);Ft&&Ee.push(Ft)}}),Ee.length)return this._engine.markElementAsRemoved(this.id,l,!0,c,_e),g&&le(Ee).onDone(()=>this._engine.processLeaveNode(l)),!0}return!1}prepareLeaveAnimationListeners(l){const c=this._elementListeners.get(l),g=this._engine.statesByElement.get(l);if(c&&g){const A=new Set;c.forEach(K=>{const _e=K.name;if(A.has(_e))return;A.add(_e);const ze=this._triggers.get(_e).fallbackTransition,Fe=g.get(_e)||_i,Ft=new Lo(ei),Rt=new rr(this.id,_e,l);this._engine.totalQueuedPlayers++,this._queue.push({element:l,triggerName:_e,transition:ze,fromState:Fe,toState:Ft,player:Rt,isFallbackTransition:!0})})}}removeNode(l,c){const g=this._engine;if(l.childElementCount&&this._signalRemovalForInnerTriggers(l,c),this.triggerLeaveAnimation(l,c,!0))return;let A=!1;if(g.totalAnimations){const K=g.players.length?g.playersByQueriedElement.get(l):[];if(K&&K.length)A=!0;else{let _e=l;for(;_e=_e.parentNode;)if(g.statesByElement.get(_e)){A=!0;break}}}if(this.prepareLeaveAnimationListeners(l),A)g.markElementAsRemoved(this.id,l,!1,c);else{const K=l[gi];(!K||K===Yo)&&(g.afterFlush(()=>this.clearElementCache(l)),g.destroyInnerAnimations(l),g._onRemovalComplete(l,c))}}insertNode(l,c){ti(l,this._hostClassName)}drainQueuedTransitions(l){const c=[];return this._queue.forEach(g=>{const A=g.player;if(A.destroyed)return;const K=g.element,_e=this._elementListeners.get(K);_e&&_e.forEach(Ee=>{if(Ee.name==g.triggerName){const ze=Pe(K,g.triggerName,g.fromState.value,g.toState.value);ze._data=l,oe(g.player,Ee.phase,ze,Ee.callback)}}),A.markedForDestroy?this._engine.afterFlush(()=>{A.destroy()}):c.push(g)}),this._queue=[],c.sort((g,A)=>{const K=g.transition.ast.depCount,_e=A.transition.ast.depCount;return 0==K||0==_e?K-_e:this._engine.driver.containsElement(g.element,A.element)?1:-1})}destroy(l){this.players.forEach(c=>c.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,l)}}class Vi{_onRemovalComplete(l,c){this.onRemovalComplete(l,c)}constructor(l,c,g){this.bodyNode=l,this.driver=c,this._normalizer=g,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=(A,K)=>{}}get queuedPlayers(){const l=[];return this._namespaceList.forEach(c=>{c.players.forEach(g=>{g.queued&&l.push(g)})}),l}createNamespace(l,c){const g=new co(l,c,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,c)?this._balanceNamespaceList(g,c):(this.newHostElements.set(c,g),this.collectEnterElement(c)),this._namespaceLookup[l]=g}_balanceNamespaceList(l,c){const g=this._namespaceList,A=this.namespacesByHostElement;if(g.length-1>=0){let _e=!1,Ee=this.driver.getParentElement(c);for(;Ee;){const ze=A.get(Ee);if(ze){const Fe=g.indexOf(ze);g.splice(Fe+1,0,l),_e=!0;break}Ee=this.driver.getParentElement(Ee)}_e||g.unshift(l)}else g.push(l);return A.set(c,l),l}register(l,c){let g=this._namespaceLookup[l];return g||(g=this.createNamespace(l,c)),g}registerTrigger(l,c,g){let A=this._namespaceLookup[l];A&&A.register(c,g)&&this.totalAnimations++}destroy(l,c){l&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const g=this._fetchNamespace(l);this.namespacesByHostElement.delete(g.hostElement);const A=this._namespaceList.indexOf(g);A>=0&&this._namespaceList.splice(A,1),g.destroy(c),delete this._namespaceLookup[l]}))}_fetchNamespace(l){return this._namespaceLookup[l]}fetchNamespacesByElement(l){const c=new Set,g=this.statesByElement.get(l);if(g)for(let A of g.values())if(A.namespaceId){const K=this._fetchNamespace(A.namespaceId);K&&c.add(K)}return c}trigger(l,c,g,A){if(ki(c)){const K=this._fetchNamespace(l);if(K)return K.trigger(c,g,A),!0}return!1}insertNode(l,c,g,A){if(!ki(c))return;const K=c[gi];if(K&&K.setForRemoval){K.setForRemoval=!1,K.setForMove=!0;const _e=this.collectedLeaveElements.indexOf(c);_e>=0&&this.collectedLeaveElements.splice(_e,1)}if(l){const _e=this._fetchNamespace(l);_e&&_e.insertNode(c,g)}A&&this.collectEnterElement(c)}collectEnterElement(l){this.collectedEnterElements.push(l)}markElementAsDisabled(l,c){c?this.disabledNodes.has(l)||(this.disabledNodes.add(l),ti(l,Ko)):this.disabledNodes.has(l)&&(this.disabledNodes.delete(l),Fi(l,Ko))}removeNode(l,c,g){if(ki(c)){const A=l?this._fetchNamespace(l):null;A?A.removeNode(c,g):this.markElementAsRemoved(l,c,!1,g);const K=this.namespacesByHostElement.get(c);K&&K.id!==l&&K.removeNode(c,g)}else this._onRemovalComplete(c,g)}markElementAsRemoved(l,c,g,A,K){this.collectedLeaveElements.push(c),c[gi]={namespaceId:l,setForRemoval:A,hasAnimation:g,removedBeforeQueried:!1,previousTriggersValues:K}}listen(l,c,g,A,K){return ki(c)?this._fetchNamespace(l).listen(c,g,A,K):()=>{}}_buildInstruction(l,c,g,A,K){return l.transition.build(this.driver,l.element,l.fromState.value,l.toState.value,g,A,l.fromState.options,l.toState.options,c,K)}destroyInnerAnimations(l){let c=this.driver.query(l,ii,!0);c.forEach(g=>this.destroyActiveAnimationsForElement(g)),0!=this.playersByQueriedElement.size&&(c=this.driver.query(l,yr,!0),c.forEach(g=>this.finishActiveQueriedAnimationOnElement(g)))}destroyActiveAnimationsForElement(l){const c=this.playersByElement.get(l);c&&c.forEach(g=>{g.queued?g.markedForDestroy=!0:g.destroy()})}finishActiveQueriedAnimationOnElement(l){const c=this.playersByQueriedElement.get(l);c&&c.forEach(g=>g.finish())}whenRenderingDone(){return new Promise(l=>{if(this.players.length)return le(this.players).onDone(()=>l());l()})}processLeaveNode(l){const c=l[gi];if(c&&c.setForRemoval){if(l[gi]=Yo,c.namespaceId){this.destroyInnerAnimations(l);const g=this._fetchNamespace(c.namespaceId);g&&g.clearElementCache(l)}this._onRemovalComplete(l,c.setForRemoval)}l.classList?.contains(Ko)&&this.markElementAsDisabled(l,!1),this.driver.query(l,".ng-animate-disabled",!0).forEach(g=>{this.markElementAsDisabled(g,!1)})}flush(l=-1){let c=[];if(this.newHostElements.size&&(this.newHostElements.forEach((g,A)=>this._balanceNamespaceList(g,A)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let g=0;g<this.collectedEnterElements.length;g++)ti(this.collectedEnterElements[g],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const g=[];try{c=this._flushAnimations(g,l)}finally{for(let A=0;A<g.length;A++)g[A]()}}else for(let g=0;g<this.collectedLeaveElements.length;g++)this.processLeaveNode(this.collectedLeaveElements[g]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(g=>g()),this._flushFns=[],this._whenQuietFns.length){const g=this._whenQuietFns;this._whenQuietFns=[],c.length?le(c).onDone(()=>{g.forEach(A=>A())}):g.forEach(A=>A())}}reportError(l){throw function P(C){return new m.vHH(3402,!1)}()}_flushAnimations(l,c){const g=new wn,A=[],K=new Map,_e=[],Ee=new Map,ze=new Map,Fe=new Map,Ft=new Set;this.disabledNodes.forEach(Ht=>{Ft.add(Ht);const tn=this.driver.query(Ht,".ng-animate-queued",!0);for(let nn=0;nn<tn.length;nn++)Ft.add(tn[nn])});const Rt=this.bodyNode,Dn=Array.from(this.statesByElement.keys()),vn=eo(Dn,this.collectedEnterElements),Wt=new Map;let ln=0;vn.forEach((Ht,tn)=>{const nn=Pr+ln++;Wt.set(tn,nn),Ht.forEach(fn=>ti(fn,nn))});const Kn=[],Br=new Set,Hr=new Set;for(let Ht=0;Ht<this.collectedLeaveElements.length;Ht++){const tn=this.collectedLeaveElements[Ht],nn=tn[gi];nn&&nn.setForRemoval&&(Kn.push(tn),Br.add(tn),nn.hasAnimation?this.driver.query(tn,".ng-star-inserted",!0).forEach(fn=>Br.add(fn)):Hr.add(tn))}const ni=new Map,Qr=eo(Dn,Array.from(Br));Qr.forEach((Ht,tn)=>{const nn=Mr+ln++;ni.set(tn,nn),Ht.forEach(fn=>ti(fn,nn))}),l.push(()=>{vn.forEach((Ht,tn)=>{const nn=Wt.get(tn);Ht.forEach(fn=>Fi(fn,nn))}),Qr.forEach((Ht,tn)=>{const nn=ni.get(tn);Ht.forEach(fn=>Fi(fn,nn))}),Kn.forEach(Ht=>{this.processLeaveNode(Ht)})});const po=[],ct=[];for(let Ht=this._namespaceList.length-1;Ht>=0;Ht--)this._namespaceList[Ht].drainQueuedTransitions(c).forEach(nn=>{const fn=nn.player,_r=nn.element;if(po.push(fn),this.collectedEnterElements.length){const j=_r[gi];if(j&&j.setForMove){if(j.previousTriggersValues&&j.previousTriggersValues.has(nn.triggerName)){const q=j.previousTriggersValues.get(nn.triggerName),Ne=this.statesByElement.get(nn.element);if(Ne&&Ne.has(nn.triggerName)){const bt=Ne.get(nn.triggerName);bt.value=q,Ne.set(nn.triggerName,bt)}}return void fn.destroy()}}const Ki=!Rt||!this.driver.containsElement(Rt,_r),d=ni.get(_r),h=Wt.get(_r),y=this._buildInstruction(nn,g,h,d,Ki);if(y.errors&&y.errors.length)return void ct.push(y);if(Ki)return fn.onStart(()=>oi(_r,y.fromStyles)),fn.onDestroy(()=>br(_r,y.toStyles)),void A.push(fn);if(nn.isFallbackTransition)return fn.onStart(()=>oi(_r,y.fromStyles)),fn.onDestroy(()=>br(_r,y.toStyles)),void A.push(fn);const p=[];y.timelines.forEach(j=>{j.stretchStartingKeyframe=!0,this.disabledNodes.has(j.element)||p.push(j)}),y.timelines=p,g.append(_r,y.timelines),_e.push({instruction:y,player:fn,element:_r}),y.queriedElements.forEach(j=>X(Ee,j,[]).push(fn)),y.preStyleProps.forEach((j,q)=>{if(j.size){let Ne=ze.get(q);Ne||ze.set(q,Ne=new Set),j.forEach((bt,tt)=>Ne.add(tt))}}),y.postStyleProps.forEach((j,q)=>{let Ne=Fe.get(q);Ne||Fe.set(q,Ne=new Set),j.forEach((bt,tt)=>Ne.add(tt))})});if(ct.length){const Ht=[];ct.forEach(tn=>{Ht.push(function me(C,l){return new m.vHH(3505,!1)}())}),po.forEach(tn=>tn.destroy()),this.reportError(Ht)}const an=new Map,Gi=new Map;_e.forEach(Ht=>{const tn=Ht.element;g.has(tn)&&(Gi.set(tn,tn),this._beforeAnimationBuild(Ht.player.namespaceId,Ht.instruction,an))}),A.forEach(Ht=>{const tn=Ht.element;this._getPreviousPlayers(tn,!1,Ht.namespaceId,Ht.triggerName,null).forEach(fn=>{X(an,tn,[]).push(fn),fn.destroy()})});const Wi=Kn.filter(Ht=>Bo(Ht,ze,Fe)),gr=new Map;Zo(gr,this.driver,Hr,Fe,Ct.l3).forEach(Ht=>{Bo(Ht,ze,Fe)&&Wi.push(Ht)});const ur=new Map;vn.forEach((Ht,tn)=>{Zo(ur,this.driver,new Set(Ht),ze,Ct.k1)}),Wi.forEach(Ht=>{const tn=gr.get(Ht),nn=ur.get(Ht);gr.set(Ht,new Map([...tn?.entries()??[],...nn?.entries()??[]]))});const ri=[],jr=[],ps={};_e.forEach(Ht=>{const{element:tn,player:nn,instruction:fn}=Ht;if(g.has(tn)){if(Ft.has(tn))return nn.onDestroy(()=>br(tn,fn.toStyles)),nn.disabled=!0,nn.overrideTotalTime(fn.totalTime),void A.push(nn);let _r=ps;if(Gi.size>1){let d=tn;const h=[];for(;d=d.parentNode;){const y=Gi.get(d);if(y){_r=y;break}h.push(d)}h.forEach(y=>Gi.set(y,_r))}const Ki=this._buildAnimation(nn.namespaceId,fn,an,K,ur,gr);if(nn.setRealPlayer(Ki),_r===ps)ri.push(nn);else{const d=this.playersByElement.get(_r);d&&d.length&&(nn.parentPlayer=le(d)),A.push(nn)}}else oi(tn,fn.fromStyles),nn.onDestroy(()=>br(tn,fn.toStyles)),jr.push(nn),Ft.has(tn)&&A.push(nn)}),jr.forEach(Ht=>{const tn=K.get(Ht.element);if(tn&&tn.length){const nn=le(tn);Ht.setRealPlayer(nn)}}),A.forEach(Ht=>{Ht.parentPlayer?Ht.syncPlayerEvents(Ht.parentPlayer):Ht.destroy()});for(let Ht=0;Ht<Kn.length;Ht++){const tn=Kn[Ht],nn=tn[gi];if(Fi(tn,Mr),nn&&nn.hasAnimation)continue;let fn=[];if(Ee.size){let Ki=Ee.get(tn);Ki&&Ki.length&&fn.push(...Ki);let d=this.driver.query(tn,yr,!0);for(let h=0;h<d.length;h++){let y=Ee.get(d[h]);y&&y.length&&fn.push(...y)}}const _r=fn.filter(Ki=>!Ki.destroyed);_r.length?to(this,tn,_r):this.processLeaveNode(tn)}return Kn.length=0,ri.forEach(Ht=>{this.players.push(Ht),Ht.onDone(()=>{Ht.destroy();const tn=this.players.indexOf(Ht);this.players.splice(tn,1)}),Ht.play()}),ri}afterFlush(l){this._flushFns.push(l)}afterFlushAnimationsDone(l){this._whenQuietFns.push(l)}_getPreviousPlayers(l,c,g,A,K){let _e=[];if(c){const Ee=this.playersByQueriedElement.get(l);Ee&&(_e=Ee)}else{const Ee=this.playersByElement.get(l);if(Ee){const ze=!K||K==ei;Ee.forEach(Fe=>{Fe.queued||!ze&&Fe.triggerName!=A||_e.push(Fe)})}}return(g||A)&&(_e=_e.filter(Ee=>!(g&&g!=Ee.namespaceId||A&&A!=Ee.triggerName))),_e}_beforeAnimationBuild(l,c,g){const K=c.element,_e=c.isRemovalTransition?void 0:l,Ee=c.isRemovalTransition?void 0:c.triggerName;for(const ze of c.timelines){const Fe=ze.element,Ft=Fe!==K,Rt=X(g,Fe,[]);this._getPreviousPlayers(Fe,Ft,_e,Ee,c.toState).forEach(vn=>{const Wt=vn.getRealPlayer();Wt.beforeDestroy&&Wt.beforeDestroy(),vn.destroy(),Rt.push(vn)})}oi(K,c.fromStyles)}_buildAnimation(l,c,g,A,K,_e){const Ee=c.triggerName,ze=c.element,Fe=[],Ft=new Set,Rt=new Set,Dn=c.timelines.map(Wt=>{const ln=Wt.element;Ft.add(ln);const Kn=ln[gi];if(Kn&&Kn.removedBeforeQueried)return new Ct.ZN(Wt.duration,Wt.delay);const Br=ln!==ze,Hr=function Li(C){const l=[];return fs(C,l),l}((g.get(ln)||Fo).map(an=>an.getRealPlayer())).filter(an=>!!an.element&&an.element===ln),ni=K.get(ln),Qr=_e.get(ln),po=je(this._normalizer,Wt.keyframes,ni,Qr),ct=this._buildPlayer(Wt,po,Hr);if(Wt.subTimeline&&A&&Rt.add(ln),Br){const an=new rr(l,Ee,ln);an.setRealPlayer(ct),Fe.push(an)}return ct});Fe.forEach(Wt=>{X(this.playersByQueriedElement,Wt.element,[]).push(Wt),Wt.onDone(()=>function Do(C,l,c){let g=C.get(l);if(g){if(g.length){const A=g.indexOf(c);g.splice(A,1)}0==g.length&&C.delete(l)}return g}(this.playersByQueriedElement,Wt.element,Wt))}),Ft.forEach(Wt=>ti(Wt,Xr));const vn=le(Dn);return vn.onDestroy(()=>{Ft.forEach(Wt=>Fi(Wt,Xr)),br(ze,c.toStyles)}),Rt.forEach(Wt=>{X(A,Wt,[]).push(vn)}),vn}_buildPlayer(l,c,g){return c.length>0?this.driver.animate(l.element,c,l.duration,l.delay,l.easing,g):new Ct.ZN(l.duration,l.delay)}}class rr{constructor(l,c,g){this.namespaceId=l,this.triggerName=c,this.element=g,this._player=new Ct.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(l){this._containsRealPlayer||(this._player=l,this._queuedCallbacks.forEach((c,g)=>{c.forEach(A=>oe(l,g,void 0,A))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(l.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(l){this.totalTime=l}syncPlayerEvents(l){const c=this._player;c.triggerCallback&&l.onStart(()=>c.triggerCallback("start")),l.onDone(()=>this.finish()),l.onDestroy(()=>this.destroy())}_queueEvent(l,c){X(this._queuedCallbacks,l,[]).push(c)}onDone(l){this.queued&&this._queueEvent("done",l),this._player.onDone(l)}onStart(l){this.queued&&this._queueEvent("start",l),this._player.onStart(l)}onDestroy(l){this.queued&&this._queueEvent("destroy",l),this._player.onDestroy(l)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(l){this.queued||this._player.setPosition(l)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(l){const c=this._player;c.triggerCallback&&c.triggerCallback(l)}}function ki(C){return C&&1===C.nodeType}function uo(C,l){const c=C.style.display;return C.style.display=l??"none",c}function Zo(C,l,c,g,A){const K=[];c.forEach(ze=>K.push(uo(ze)));const _e=[];g.forEach((ze,Fe)=>{const Ft=new Map;ze.forEach(Rt=>{const Dn=l.computeStyle(Fe,Rt,A);Ft.set(Rt,Dn),(!Dn||0==Dn.length)&&(Fe[gi]=Ms,_e.push(Fe))}),C.set(Fe,Ft)});let Ee=0;return c.forEach(ze=>uo(ze,K[Ee++])),_e}function eo(C,l){const c=new Map;if(C.forEach(Ee=>c.set(Ee,[])),0==l.length)return c;const A=new Set(l),K=new Map;function _e(Ee){if(!Ee)return 1;let ze=K.get(Ee);if(ze)return ze;const Fe=Ee.parentNode;return ze=c.has(Fe)?Fe:A.has(Fe)?1:_e(Fe),K.set(Ee,ze),ze}return l.forEach(Ee=>{const ze=_e(Ee);1!==ze&&c.get(ze).push(Ee)}),c}function ti(C,l){C.classList?.add(l)}function Fi(C,l){C.classList?.remove(l)}function to(C,l,c){le(c).onDone(()=>C.processLeaveNode(l))}function fs(C,l){for(let c=0;c<C.length;c++){const g=C[c];g instanceof Ct.ZE?fs(g.players,l):l.push(g)}}function Bo(C,l,c){const g=c.get(C);if(!g)return!1;let A=l.get(C);return A?g.forEach(K=>A.add(K)):l.set(C,g),c.delete(C),!0}class zi{constructor(l,c,g){this.bodyNode=l,this._driver=c,this._normalizer=g,this._triggerCache={},this.onRemovalComplete=(A,K)=>{},this._transitionEngine=new Vi(l,c,g),this._timelineEngine=new Wo(l,c,g),this._transitionEngine.onRemovalComplete=(A,K)=>this.onRemovalComplete(A,K)}registerTrigger(l,c,g,A,K){const _e=l+"-"+A;let Ee=this._triggerCache[_e];if(!Ee){const ze=[],Ft=Di(this._driver,K,ze,[]);if(ze.length)throw function Ut(C,l){return new m.vHH(3404,!1)}();Ee=function ws(C,l,c){return new xs(C,l,c)}(A,Ft,this._normalizer),this._triggerCache[_e]=Ee}this._transitionEngine.registerTrigger(c,A,Ee)}register(l,c){this._transitionEngine.register(l,c)}destroy(l,c){this._transitionEngine.destroy(l,c)}onInsert(l,c,g,A){this._transitionEngine.insertNode(l,c,g,A)}onRemove(l,c,g){this._transitionEngine.removeNode(l,c,g)}disableAnimations(l,c){this._transitionEngine.markElementAsDisabled(l,c)}process(l,c,g,A){if("@"==g.charAt(0)){const[K,_e]=ce(g);this._timelineEngine.command(K,c,_e,A)}else this._transitionEngine.trigger(l,c,g,A)}listen(l,c,g,A,K){if("@"==g.charAt(0)){const[_e,Ee]=ce(g);return this._timelineEngine.listen(_e,c,Ee,K)}return this._transitionEngine.listen(l,c,g,A,K)}flush(l=-1){this._transitionEngine.flush(l)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(l){this._transitionEngine.afterFlushAnimationsDone(l)}}let Is=(()=>{class l{constructor(g,A,K){this._element=g,this._startStyles=A,this._endStyles=K,this._state=0;let _e=l.initialStylesByElement.get(g);_e||l.initialStylesByElement.set(g,_e=new Map),this._initialStyles=_e}start(){this._state<1&&(this._startStyles&&br(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(br(this._element,this._initialStyles),this._endStyles&&(br(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(l.initialStylesByElement.delete(this._element),this._startStyles&&(oi(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(oi(this._element,this._endStyles),this._endStyles=null),br(this._element,this._initialStyles),this._state=3)}}return l.initialStylesByElement=new WeakMap,l})();function hs(C){let l=null;return C.forEach((c,g)=>{(function Qo(C){return"display"===C||"position"===C})(g)&&(l=l||new Map,l.set(g,c))}),l}class xi{constructor(l,c,g,A){this.element=l,this.keyframes=c,this.options=g,this._specialStyles=A,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=g.duration,this._delay=g.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(l=>l()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const l=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,l,this.options),this._finalKeyframe=l.length?l[l.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(l){const c=[];return l.forEach(g=>{c.push(Object.fromEntries(g))}),c}_triggerWebAnimation(l,c,g){return l.animate(this._convertKeyframesToObject(c),g)}onStart(l){this._originalOnStartFns.push(l),this._onStartFns.push(l)}onDone(l){this._originalOnDoneFns.push(l),this._onDoneFns.push(l)}onDestroy(l){this._onDestroyFns.push(l)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(l=>l()),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(l=>l()),this._onDestroyFns=[])}setPosition(l){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=l*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const l=new Map;this.hasStarted()&&this._finalKeyframe.forEach((g,A)=>{"offset"!==A&&l.set(A,this._finished?g:Gr(this.element,A))}),this.currentSnapshot=l}triggerCallback(l){const c="start"===l?this._onStartFns:this._onDoneFns;c.forEach(g=>g()),c.length=0}}class jo{validateStyleProperty(l){return!0}validateAnimatableStyleProperty(l){return!0}matchesElement(l,c){return!1}containsElement(l,c){return sr(l,c)}getParentElement(l){return rt(l)}query(l,c,g){return Vr(l,c,g)}computeStyle(l,c,g){return window.getComputedStyle(l)[c]}animate(l,c,g,A,K,_e=[]){const ze={duration:g,delay:A,fill:0==A?"both":"forwards"};K&&(ze.easing=K);const Fe=new Map,Ft=_e.filter(vn=>vn instanceof xi);(function fr(C,l){return 0===C||0===l})(g,A)&&Ft.forEach(vn=>{vn.currentSnapshot.forEach((Wt,ln)=>Fe.set(ln,Wt))});let Rt=function yo(C){return C.length?C[0]instanceof Map?C:C.map(l=>Oo(l)):[]}(c).map(vn=>Oi(vn));Rt=function wr(C,l,c){if(c.size&&l.length){let g=l[0],A=[];if(c.forEach((K,_e)=>{g.has(_e)||A.push(_e),g.set(_e,K)}),A.length)for(let K=1;K<l.length;K++){let _e=l[K];A.forEach(Ee=>_e.set(Ee,Gr(C,Ee)))}}return l}(l,Rt,Fe);const Dn=function ho(C,l){let c=null,g=null;return Array.isArray(l)&&l.length?(c=hs(l[0]),l.length>1&&(g=hs(l[l.length-1]))):l instanceof Map&&(c=hs(l)),c||g?new Is(C,c,g):null}(l,Rt);return new xi(l,Rt,ze,Dn)}}let Jo=(()=>{var C;class l extends Ct._j{constructor(g,A){super(),this._nextAnimationId=0,this._renderer=g.createRenderer(A.body,{id:"0",encapsulation:m.ifc.None,styles:[],data:{animation:[]}})}build(g){const A=this._nextAnimationId.toString();this._nextAnimationId++;const K=Array.isArray(g)?(0,Ct.vP)(g):g;return Xo(this._renderer,null,A,"register",[K]),new As(A,this._renderer)}}return(C=l).\u0275fac=function(g){return new(g||C)(m.LFG(m.FYo),m.LFG(ut.K0))},C.\u0275prov=m.Yz7({token:C,factory:C.\u0275fac}),l})();class As extends Ct.LC{constructor(l,c){super(),this._id=l,this._renderer=c}create(l,c){return new qo(this._id,l,c||{},this._renderer)}}class qo{constructor(l,c,g,A){this.id=l,this.element=c,this._renderer=A,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",g)}_listen(l,c){return this._renderer.listen(this.element,`@@${this.id}:${l}`,c)}_command(l,...c){return Xo(this._renderer,this.element,this.id,l,c)}onDone(l){this._listen("done",l)}onStart(l){this._listen("start",l)}onDestroy(l){this._listen("destroy",l)}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(l){this._command("setPosition",l)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function Xo(C,l,c,g,A){return C.setProperty(l,`@@${c}:${g}`,A)}const es="@.disabled";let Zr=(()=>{var C;class l{constructor(g,A,K){this.delegate=g,this.engine=A,this._zone=K,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,A.onRemovalComplete=(_e,Ee)=>{const ze=Ee?.parentNode(_e);ze&&Ee.removeChild(ze,_e)}}createRenderer(g,A){const _e=this.delegate.createRenderer(g,A);if(!(g&&A&&A.data&&A.data.animation)){let Rt=this._rendererCache.get(_e);return Rt||(Rt=new Vs("",_e,this.engine,()=>this._rendererCache.delete(_e)),this._rendererCache.set(_e,Rt)),Rt}const Ee=A.id,ze=A.id+"-"+this._currentId;this._currentId++,this.engine.register(ze,g);const Fe=Rt=>{Array.isArray(Rt)?Rt.forEach(Fe):this.engine.registerTrigger(Ee,ze,g,Rt.name,Rt)};return A.data.animation.forEach(Fe),new wo(this,ze,_e,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(g,A,K){g>=0&&g<this._microtaskId?this._zone.run(()=>A(K)):(0==this._animationCallbacksBuffer.length&&queueMicrotask(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(_e=>{const[Ee,ze]=_e;Ee(ze)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([A,K]))}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(C=l).\u0275fac=function(g){return new(g||C)(m.LFG(m.FYo),m.LFG(zi),m.LFG(m.R0b))},C.\u0275prov=m.Yz7({token:C,factory:C.\u0275fac}),l})();class Vs{constructor(l,c,g,A){this.namespaceId=l,this.delegate=c,this.engine=g,this._onDestroy=A}get data(){return this.delegate.data}destroyNode(l){this.delegate.destroyNode?.(l)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(l,c){return this.delegate.createElement(l,c)}createComment(l){return this.delegate.createComment(l)}createText(l){return this.delegate.createText(l)}appendChild(l,c){this.delegate.appendChild(l,c),this.engine.onInsert(this.namespaceId,c,l,!1)}insertBefore(l,c,g,A=!0){this.delegate.insertBefore(l,c,g),this.engine.onInsert(this.namespaceId,c,l,A)}removeChild(l,c,g){this.engine.onRemove(this.namespaceId,c,this.delegate)}selectRootElement(l,c){return this.delegate.selectRootElement(l,c)}parentNode(l){return this.delegate.parentNode(l)}nextSibling(l){return this.delegate.nextSibling(l)}setAttribute(l,c,g,A){this.delegate.setAttribute(l,c,g,A)}removeAttribute(l,c,g){this.delegate.removeAttribute(l,c,g)}addClass(l,c){this.delegate.addClass(l,c)}removeClass(l,c){this.delegate.removeClass(l,c)}setStyle(l,c,g,A){this.delegate.setStyle(l,c,g,A)}removeStyle(l,c,g){this.delegate.removeStyle(l,c,g)}setProperty(l,c,g){"@"==c.charAt(0)&&c==es?this.disableAnimations(l,!!g):this.delegate.setProperty(l,c,g)}setValue(l,c){this.delegate.setValue(l,c)}listen(l,c,g){return this.delegate.listen(l,c,g)}disableAnimations(l,c){this.engine.disableAnimations(l,c)}}class wo extends Vs{constructor(l,c,g,A,K){super(c,g,A,K),this.factory=l,this.namespaceId=c}setProperty(l,c,g){"@"==c.charAt(0)?"."==c.charAt(1)&&c==es?this.disableAnimations(l,g=void 0===g||!!g):this.engine.process(this.namespaceId,l,c.slice(1),g):this.delegate.setProperty(l,c,g)}listen(l,c,g){if("@"==c.charAt(0)){const A=function xo(C){switch(C){case"body":return document.body;case"document":return document;case"window":return window;default:return C}}(l);let K=c.slice(1),_e="";return"@"!=K.charAt(0)&&([K,_e]=function f(C){const l=C.indexOf(".");return[C.substring(0,l),C.slice(l+1)]}(K)),this.engine.listen(this.namespaceId,A,K,_e,Ee=>{this.factory.scheduleListenerCallback(Ee._data||-1,g,Ee)})}return this.delegate.listen(l,c,g)}}const $=[{provide:Ct._j,useClass:Jo},{provide:Fr,useFactory:function se(){return new Yr}},{provide:zi,useClass:(()=>{var C;class l extends zi{constructor(g,A,K,_e){super(g.body,A,K)}ngOnDestroy(){this.flush()}}return(C=l).\u0275fac=function(g){return new(g||C)(m.LFG(ut.K0),m.LFG(Hn),m.LFG(Fr),m.LFG(m.z2F))},C.\u0275prov=m.Yz7({token:C,factory:C.\u0275fac}),l})()},{provide:m.FYo,useFactory:function b(C,l,c){return new Zr(C,l,c)},deps:[s.se,zi,m.R0b]}],de=[{provide:Hn,useFactory:()=>new jo},{provide:m.QbO,useValue:"BrowserAnimations"},...$],et=[{provide:Hn,useClass:Ln},{provide:m.QbO,useValue:"NoopAnimations"},...$];let _t=(()=>{var C;class l{static withConfig(g){return{ngModule:l,providers:g.disableAnimations?et:de}}}return(C=l).\u0275fac=function(g){return new(g||C)},C.\u0275mod=m.oAB({type:C}),C.\u0275inj=m.cJS({providers:de,imports:[s.b2]}),l})(),pn=(()=>{var C;class l{constructor(g){this._router=g}intercept(g,A){let K=JSON.parse(window.localStorage.getItem("user")),_e=new Date;if(null!=K){let Ee=new Date(K.Token.expiredAt);g=g.clone(_e<Ee?{setHeaders:{"Content-Type":"application/json",Authorization:`Bearer ${K.Token.access_token}`}}:{setHeaders:{"Content-Type":"application/json"}})}else g=g.clone({setHeaders:{"Content-Type":"application/json"}});return A.handle(g)}}return(C=l).\u0275fac=function(g){return new(g||C)(m.LFG(Le.F0))},C.\u0275prov=m.Yz7({token:C,factory:C.\u0275fac}),l})();var cr=v(9229);const qn=["custom-toast-component",""];function mr(C,l){if(1&C){const c=m.EpF();m.TgZ(0,"a",10),m.NdJ("click",function(){m.CHM(c);const A=m.oxw(2);return m.KtG(A.remove())}),m._uU(1," x "),m.qZA()}}function vi(C,l){if(1&C&&(m.TgZ(0,"div",6)(1,"div",7)(2,"div")(3,"h4"),m._uU(4),m.qZA()()(),m.TgZ(5,"div",8),m.YNc(6,mr,2,0,"a",9),m.qZA()()),2&C){const c=m.oxw();m.Udp("display","inactive"===c.state.value?"none":""),m.xp6(2),m.Tol(c.options.titleClass),m.uIk("aria-label",c.title),m.xp6(2),m.Oqu(c.title),m.xp6(2),m.Q6J("ngIf",c.options.closeButton)}}const Ti=function(C){return{notitle:C}};function Si(C,l){if(1&C&&m._UZ(0,"div",11),2&C){const c=m.oxw();m.Tol(c.options.messageClass),m.Q6J("ngClass",m.VKq(4,Ti,null==c.title))("innerHTML",c.message,m.oJD)}}function yi(C,l){if(1&C&&(m.TgZ(0,"div",12),m._uU(1),m.qZA()),2&C){const c=m.oxw();m.Tol(c.options.messageClass),m.Q6J("ngClass",m.VKq(5,Ti,null==c.title)),m.uIk("aria-label",c.message),m.xp6(1),m.hij(" ",c.message," ")}}function Lr(C,l){if(1&C){const c=m.EpF();m.TgZ(0,"a",10),m.NdJ("click",function(){m.CHM(c);const A=m.oxw();return m.KtG(A.remove())}),m._uU(1," x "),m.qZA()}}function xr(C,l){if(1&C&&(m.TgZ(0,"div"),m._UZ(1,"div",13),m.qZA()),2&C){const c=m.oxw();m.xp6(1),m.Udp("width",c.width+"%")}}let no=(()=>{var C;class l extends cr.FN{constructor(g,A){super(g,A),this.toastrService=g,this.toastPackage=A}ngOnInit(){}action(g){return g.stopPropagation(),this.toastPackage.triggerAction(),!1}}return(C=l).\u0275fac=function(g){return new(g||C)(m.Y36(cr._W),m.Y36(cr.PR))},C.\u0275cmp=m.Xpm({type:C,selectors:[["","custom-toast-component",""]],features:[m.qOj],attrs:qn,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(g,A){1&g&&(m.TgZ(0,"div",0),m.YNc(1,vi,7,7,"div",1),m.YNc(2,Si,1,6,"div",2),m.YNc(3,yi,2,7,"div",3),m.YNc(4,Lr,2,0,"a",4),m.YNc(5,xr,2,2,"div",5),m.qZA()),2&g&&(m.xp6(1),m.Q6J("ngIf",A.title),m.xp6(1),m.Q6J("ngIf",A.message&&A.options.enableHtml),m.xp6(1),m.Q6J("ngIf",A.message&&!A.options.enableHtml),m.xp6(1),m.Q6J("ngIf",A.options.closeButton&&null==A.title),m.xp6(1),m.Q6J("ngIf",A.options.progressBar))},dependencies:[ut.mk,ut.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,Ct.X$)("flyInOut",[(0,Ct.SB)("inactive",(0,Ct.oB)({opacity:0})),(0,Ct.eR)("inactive => active",(0,Ct.jt)("400ms ease-out",(0,Ct.F4)([(0,Ct.oB)({transform:"translate3d(100%, 0, 0) skewX(-30deg)",opacity:0}),(0,Ct.oB)({transform:"skewX(20deg)",opacity:1}),(0,Ct.oB)({transform:"skewX(-5deg)",opacity:1}),(0,Ct.oB)({transform:"none",opacity:1})]))),(0,Ct.eR)("active => removed",(0,Ct.jt)("400ms ease-out",(0,Ct.F4)([(0,Ct.oB)({opacity:1}),(0,Ct.oB)({transform:"translate3d(100%, 0, 0) skewX(30deg)",opacity:0})])))])]}}),l})();var Xn=v(6280),Uo=v(6304),ts=v(6897),ci=v(553),Os=v(4170),zs=v(8253),ns=v(4750);const bi={name:"MarketplaceDB",version:1,objectStoresMeta:[{store:"Categories",storeConfig:{keyPath:null,autoIncrement:!1},storeSchema:[]}]};let Ps=(()=>{var C;class l{}return(C=l).\u0275fac=function(g){return new(g||C)},C.\u0275mod=m.oAB({type:C,bootstrap:[kn]}),C.\u0275inj=m.cJS({providers:[{provide:W.TP,useClass:pn,multi:!0},{provide:Os.o2,useValue:{subscriptSizing:"dynamic"}},N.O,Ae.e,{provide:m.ip1,useFactory:c=>function(){c.loadPermissions()},deps:[ns.e],multi:!0}],imports:[s.b2,vt,_t,cr.Rh.forRoot({toastComponent:no,positionClass:"toast-bottom-right",closeButton:!0}),W.JF,Xn.Cz.forRoot(bi),Oe.forRoot(),Uo.hO.initializeApp(ci.N.firebaseConfig),ts.ww,zs.VI.forRoot()]}),l})();ci.N.production&&(0,m.G48)(),s.q6().bootstrapModule(Ps).catch(C=>console.error(C))},5619:(ft,De,v)=>{v.d(De,{X:()=>m});var s=v(8645);class m extends s.x{constructor(U){super(),this._value=U}get value(){return this.getValue()}_subscribe(U){const I=super._subscribe(U);return!I.closed&&U.next(this._value),I}getValue(){const{hasError:U,thrownError:I,_value:Y}=this;if(U)throw I;return this._throwIfClosed(),Y}next(U){super.next(this._value=U)}}},5592:(ft,De,v)=>{v.d(De,{y:()=>re});var s=v(305),m=v(7394),W=v(4850),U=v(8407),I=v(2653),Y=v(4674),Z=v(1441);let re=(()=>{class fe{constructor(Ie){Ie&&(this._subscribe=Ie)}lift(Ie){const Ke=new fe;return Ke.source=this,Ke.operator=Ie,Ke}subscribe(Ie,Ke,we){const Je=function J(fe){return fe&&fe instanceof s.Lv||function H(fe){return fe&&(0,Y.m)(fe.next)&&(0,Y.m)(fe.error)&&(0,Y.m)(fe.complete)}(fe)&&(0,m.Nn)(fe)}(Ie)?Ie:new s.Hp(Ie,Ke,we);return(0,Z.x)(()=>{const{operator:Ve,source:ut}=this;Je.add(Ve?Ve.call(Je,ut):ut?this._subscribe(Je):this._trySubscribe(Je))}),Je}_trySubscribe(Ie){try{return this._subscribe(Ie)}catch(Ke){Ie.error(Ke)}}forEach(Ie,Ke){return new(Ke=te(Ke))((we,Je)=>{const Ve=new s.Hp({next:ut=>{try{Ie(ut)}catch(ke){Je(ke),Ve.unsubscribe()}},error:Je,complete:we});this.subscribe(Ve)})}_subscribe(Ie){var Ke;return null===(Ke=this.source)||void 0===Ke?void 0:Ke.subscribe(Ie)}[W.L](){return this}pipe(...Ie){return(0,U.U)(Ie)(this)}toPromise(Ie){return new(Ie=te(Ie))((Ke,we)=>{let Je;this.subscribe(Ve=>Je=Ve,Ve=>we(Ve),()=>Ke(Je))})}}return fe.create=Se=>new fe(Se),fe})();function te(fe){var Se;return null!==(Se=fe??I.config.Promise)&&void 0!==Se?Se:Promise}},7328:(ft,De,v)=>{v.d(De,{t:()=>W});var s=v(8645),m=v(4552);class W extends s.x{constructor(I=1/0,Y=1/0,Z=m.l){super(),this._bufferSize=I,this._windowTime=Y,this._timestampProvider=Z,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=Y===1/0,this._bufferSize=Math.max(1,I),this._windowTime=Math.max(1,Y)}next(I){const{isStopped:Y,_buffer:Z,_infiniteTimeWindow:re,_timestampProvider:te,_windowTime:H}=this;Y||(Z.push(I),!re&&Z.push(te.now()+H)),this._trimBuffer(),super.next(I)}_subscribe(I){this._throwIfClosed(),this._trimBuffer();const Y=this._innerSubscribe(I),{_infiniteTimeWindow:Z,_buffer:re}=this,te=re.slice();for(let H=0;H<te.length&&!I.closed;H+=Z?1:2)I.next(te[H]);return this._checkFinalizedStatuses(I),Y}_trimBuffer(){const{_bufferSize:I,_timestampProvider:Y,_buffer:Z,_infiniteTimeWindow:re}=this,te=(re?1:2)*I;if(I<1/0&&te<Z.length&&Z.splice(0,Z.length-te),!re){const H=Y.now();let J=0;for(let fe=1;fe<Z.length&&Z[fe]<=H;fe+=2)J=fe;J&&Z.splice(0,J+1)}}}},8645:(ft,De,v)=>{v.d(De,{x:()=>Z});var s=v(5592),m=v(7394);const U=(0,v(2306).d)(te=>function(){te(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var I=v(9039),Y=v(1441);let Z=(()=>{class te extends s.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(J){const fe=new re(this,this);return fe.operator=J,fe}_throwIfClosed(){if(this.closed)throw new U}next(J){(0,Y.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const fe of this.currentObservers)fe.next(J)}})}error(J){(0,Y.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=J;const{observers:fe}=this;for(;fe.length;)fe.shift().error(J)}})}complete(){(0,Y.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:J}=this;for(;J.length;)J.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var J;return(null===(J=this.observers)||void 0===J?void 0:J.length)>0}_trySubscribe(J){return this._throwIfClosed(),super._trySubscribe(J)}_subscribe(J){return this._throwIfClosed(),this._checkFinalizedStatuses(J),this._innerSubscribe(J)}_innerSubscribe(J){const{hasError:fe,isStopped:Se,observers:Ie}=this;return fe||Se?m.Lc:(this.currentObservers=null,Ie.push(J),new m.w0(()=>{this.currentObservers=null,(0,I.P)(Ie,J)}))}_checkFinalizedStatuses(J){const{hasError:fe,thrownError:Se,isStopped:Ie}=this;fe?J.error(Se):Ie&&J.complete()}asObservable(){const J=new s.y;return J.source=this,J}}return te.create=(H,J)=>new re(H,J),te})();class re extends Z{constructor(H,J){super(),this.destination=H,this.source=J}next(H){var J,fe;null===(fe=null===(J=this.destination)||void 0===J?void 0:J.next)||void 0===fe||fe.call(J,H)}error(H){var J,fe;null===(fe=null===(J=this.destination)||void 0===J?void 0:J.error)||void 0===fe||fe.call(J,H)}complete(){var H,J;null===(J=null===(H=this.destination)||void 0===H?void 0:H.complete)||void 0===J||J.call(H)}_subscribe(H){var J,fe;return null!==(fe=null===(J=this.source)||void 0===J?void 0:J.subscribe(H))&&void 0!==fe?fe:m.Lc}}},305:(ft,De,v)=>{v.d(De,{Hp:()=>we,Lv:()=>fe});var s=v(4674),m=v(7394),W=v(2653),U=v(3894),I=v(2420);const Y=te("C",void 0,void 0);function te(G,z,ie){return{kind:G,value:z,error:ie}}var H=v(7599),J=v(1441);class fe extends m.w0{constructor(z){super(),this.isStopped=!1,z?(this.destination=z,(0,m.Nn)(z)&&z.add(this)):this.destination=ke}static create(z,ie,ue){return new we(z,ie,ue)}next(z){this.isStopped?ut(function re(G){return te("N",G,void 0)}(z),this):this._next(z)}error(z){this.isStopped?ut(function Z(G){return te("E",void 0,G)}(z),this):(this.isStopped=!0,this._error(z))}complete(){this.isStopped?ut(Y,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(z){this.destination.next(z)}_error(z){try{this.destination.error(z)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const Se=Function.prototype.bind;function Ie(G,z){return Se.call(G,z)}class Ke{constructor(z){this.partialObserver=z}next(z){const{partialObserver:ie}=this;if(ie.next)try{ie.next(z)}catch(ue){Je(ue)}}error(z){const{partialObserver:ie}=this;if(ie.error)try{ie.error(z)}catch(ue){Je(ue)}else Je(z)}complete(){const{partialObserver:z}=this;if(z.complete)try{z.complete()}catch(ie){Je(ie)}}}class we extends fe{constructor(z,ie,ue){let ge;if(super(),(0,s.m)(z)||!z)ge={next:z??void 0,error:ie??void 0,complete:ue??void 0};else{let xe;this&&W.config.useDeprecatedNextContext?(xe=Object.create(z),xe.unsubscribe=()=>this.unsubscribe(),ge={next:z.next&&Ie(z.next,xe),error:z.error&&Ie(z.error,xe),complete:z.complete&&Ie(z.complete,xe)}):ge=z}this.destination=new Ke(ge)}}function Je(G){W.config.useDeprecatedSynchronousErrorHandling?(0,J.O)(G):(0,U.h)(G)}function ut(G,z){const{onStoppedNotification:ie}=W.config;ie&&H.z.setTimeout(()=>ie(G,z))}const ke={closed:!0,next:I.Z,error:function Ve(G){throw G},complete:I.Z}},7394:(ft,De,v)=>{v.d(De,{Lc:()=>Y,w0:()=>I,Nn:()=>Z});var s=v(4674);const W=(0,v(2306).d)(te=>function(J){te(this),this.message=J?`${J.length} errors occurred during unsubscription:\n${J.map((fe,Se)=>`${Se+1}) ${fe.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=J});var U=v(9039);class I{constructor(H){this.initialTeardown=H,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let H;if(!this.closed){this.closed=!0;const{_parentage:J}=this;if(J)if(this._parentage=null,Array.isArray(J))for(const Ie of J)Ie.remove(this);else J.remove(this);const{initialTeardown:fe}=this;if((0,s.m)(fe))try{fe()}catch(Ie){H=Ie instanceof W?Ie.errors:[Ie]}const{_finalizers:Se}=this;if(Se){this._finalizers=null;for(const Ie of Se)try{re(Ie)}catch(Ke){H=H??[],Ke instanceof W?H=[...H,...Ke.errors]:H.push(Ke)}}if(H)throw new W(H)}}add(H){var J;if(H&&H!==this)if(this.closed)re(H);else{if(H instanceof I){if(H.closed||H._hasParent(this))return;H._addParent(this)}(this._finalizers=null!==(J=this._finalizers)&&void 0!==J?J:[]).push(H)}}_hasParent(H){const{_parentage:J}=this;return J===H||Array.isArray(J)&&J.includes(H)}_addParent(H){const{_parentage:J}=this;this._parentage=Array.isArray(J)?(J.push(H),J):J?[J,H]:H}_removeParent(H){const{_parentage:J}=this;J===H?this._parentage=null:Array.isArray(J)&&(0,U.P)(J,H)}remove(H){const{_finalizers:J}=this;J&&(0,U.P)(J,H),H instanceof I&&H._removeParent(this)}}I.EMPTY=(()=>{const te=new I;return te.closed=!0,te})();const Y=I.EMPTY;function Z(te){return te instanceof I||te&&"closed"in te&&(0,s.m)(te.remove)&&(0,s.m)(te.add)&&(0,s.m)(te.unsubscribe)}function re(te){(0,s.m)(te)?te():te.unsubscribe()}},2653:(ft,De,v)=>{v.d(De,{config:()=>s});const s={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},2572:(ft,De,v)=>{v.d(De,{a:()=>H});var s=v(5592),m=v(7453),W=v(2459),U=v(2737),I=v(7400),Y=v(9940),Z=v(2714),re=v(8251),te=v(7103);function H(...Se){const Ie=(0,Y.yG)(Se),Ke=(0,Y.jO)(Se),{args:we,keys:Je}=(0,m.D)(Se);if(0===we.length)return(0,W.D)([],Ie);const Ve=new s.y(function J(Se,Ie,Ke=U.y){return we=>{fe(Ie,()=>{const{length:Je}=Se,Ve=new Array(Je);let ut=Je,ke=Je;for(let G=0;G<Je;G++)fe(Ie,()=>{const z=(0,W.D)(Se[G],Ie);let ie=!1;z.subscribe((0,re.x)(we,ue=>{Ve[G]=ue,ie||(ie=!0,ke--),ke||we.next(Ke(Ve.slice()))},()=>{--ut||we.complete()}))},we)},we)}}(we,Ie,Je?ut=>(0,Z.n)(Je,ut):U.y));return Ke?Ve.pipe((0,I.Z)(Ke)):Ve}function fe(Se,Ie,Ke){Se?(0,te.f)(Ke,Se,Ie):Ie()}},5211:(ft,De,v)=>{v.d(De,{z:()=>I});var s=v(7537),W=v(9940),U=v(2459);function I(...Y){return function m(){return(0,s.J)(1)}()((0,U.D)(Y,(0,W.yG)(Y)))}},4911:(ft,De,v)=>{v.d(De,{P:()=>W});var s=v(5592),m=v(4829);function W(U){return new s.y(I=>{(0,m.Xf)(U()).subscribe(I)})}},6232:(ft,De,v)=>{v.d(De,{E:()=>m});const m=new(v(5592).y)(I=>I.complete())},9315:(ft,De,v)=>{v.d(De,{D:()=>re});var s=v(5592),m=v(7453),W=v(4829),U=v(9940),I=v(8251),Y=v(7400),Z=v(2714);function re(...te){const H=(0,U.jO)(te),{args:J,keys:fe}=(0,m.D)(te),Se=new s.y(Ie=>{const{length:Ke}=J;if(!Ke)return void Ie.complete();const we=new Array(Ke);let Je=Ke,Ve=Ke;for(let ut=0;ut<Ke;ut++){let ke=!1;(0,W.Xf)(J[ut]).subscribe((0,I.x)(Ie,G=>{ke||(ke=!0,Ve--),we[ut]=G},()=>Je--,void 0,()=>{(!Je||!ke)&&(Ve||Ie.next(fe?(0,Z.n)(fe,we):we),Ie.complete())}))}});return H?Se.pipe((0,Y.Z)(H)):Se}},2459:(ft,De,v)=>{v.d(De,{D:()=>z});var s=v(4829),m=v(3093),W=v(5137),Y=v(5592),re=v(4971),te=v(4674),H=v(7103);function fe(ie,ue){if(!ie)throw new Error("Iterable cannot be null");return new Y.y(ge=>{(0,H.f)(ge,ue,()=>{const xe=ie[Symbol.asyncIterator]();(0,H.f)(ge,ue,()=>{xe.next().then(Ge=>{Ge.done?ge.complete():ge.next(Ge.value)})},0,!0)})})}var Se=v(8382),Ie=v(4026),Ke=v(4266),we=v(3664),Je=v(5726),Ve=v(9853),ut=v(541);function z(ie,ue){return ue?function G(ie,ue){if(null!=ie){if((0,Se.c)(ie))return function U(ie,ue){return(0,s.Xf)(ie).pipe((0,W.R)(ue),(0,m.Q)(ue))}(ie,ue);if((0,Ke.z)(ie))return function Z(ie,ue){return new Y.y(ge=>{let xe=0;return ue.schedule(function(){xe===ie.length?ge.complete():(ge.next(ie[xe++]),ge.closed||this.schedule())})})}(ie,ue);if((0,Ie.t)(ie))return function I(ie,ue){return(0,s.Xf)(ie).pipe((0,W.R)(ue),(0,m.Q)(ue))}(ie,ue);if((0,Je.D)(ie))return fe(ie,ue);if((0,we.T)(ie))return function J(ie,ue){return new Y.y(ge=>{let xe;return(0,H.f)(ge,ue,()=>{xe=ie[re.h](),(0,H.f)(ge,ue,()=>{let Ge,nt;try{({value:Ge,done:nt}=xe.next())}catch(ht){return void ge.error(ht)}nt?ge.complete():ge.next(Ge)},0,!0)}),()=>(0,te.m)(xe?.return)&&xe.return()})}(ie,ue);if((0,ut.L)(ie))return function ke(ie,ue){return fe((0,ut.Q)(ie),ue)}(ie,ue)}throw(0,Ve.z)(ie)}(ie,ue):(0,s.Xf)(ie)}},4829:(ft,De,v)=>{v.d(De,{Xf:()=>Se});var s=v(7582),m=v(4266),W=v(4026),U=v(5592),I=v(8382),Y=v(5726),Z=v(9853),re=v(3664),te=v(541),H=v(4674),J=v(3894),fe=v(4850);function Se(G){if(G instanceof U.y)return G;if(null!=G){if((0,I.c)(G))return function Ie(G){return new U.y(z=>{const ie=G[fe.L]();if((0,H.m)(ie.subscribe))return ie.subscribe(z);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(G);if((0,m.z)(G))return function Ke(G){return new U.y(z=>{for(let ie=0;ie<G.length&&!z.closed;ie++)z.next(G[ie]);z.complete()})}(G);if((0,W.t)(G))return function we(G){return new U.y(z=>{G.then(ie=>{z.closed||(z.next(ie),z.complete())},ie=>z.error(ie)).then(null,J.h)})}(G);if((0,Y.D)(G))return Ve(G);if((0,re.T)(G))return function Je(G){return new U.y(z=>{for(const ie of G)if(z.next(ie),z.closed)return;z.complete()})}(G);if((0,te.L)(G))return function ut(G){return Ve((0,te.Q)(G))}(G)}throw(0,Z.z)(G)}function Ve(G){return new U.y(z=>{(function ke(G,z){var ie,ue,ge,xe;return(0,s.mG)(this,void 0,void 0,function*(){try{for(ie=(0,s.KL)(G);!(ue=yield ie.next()).done;)if(z.next(ue.value),z.closed)return}catch(Ge){ge={error:Ge}}finally{try{ue&&!ue.done&&(xe=ie.return)&&(yield xe.call(ie))}finally{if(ge)throw ge.error}}z.complete()})})(G,z).catch(ie=>z.error(ie))})}},3019:(ft,De,v)=>{v.d(De,{T:()=>Y});var s=v(7537),m=v(4829),W=v(6232),U=v(9940),I=v(2459);function Y(...Z){const re=(0,U.yG)(Z),te=(0,U._6)(Z,1/0),H=Z;return H.length?1===H.length?(0,m.Xf)(H[0]):(0,s.J)(te)((0,I.D)(H,re)):W.E}},2096:(ft,De,v)=>{v.d(De,{of:()=>W});var s=v(9940),m=v(2459);function W(...U){const I=(0,s.yG)(U);return(0,m.D)(U,I)}},8504:(ft,De,v)=>{v.d(De,{_:()=>W});var s=v(5592),m=v(4674);function W(U,I){const Y=(0,m.m)(U)?U:()=>U,Z=re=>re.error(Y());return new s.y(I?re=>I.schedule(Z,0,re):Z)}},9080:(ft,De,v)=>{v.d(De,{H:()=>I});var s=v(5592),m=v(6321),W=v(671),U=v(93);function I(Y=0,Z,re=m.P){let te=-1;return null!=Z&&((0,W.K)(Z)?re=Z:te=Z),new s.y(H=>{let J=(0,U.q)(Y)?+Y-re.now():Y;J<0&&(J=0);let fe=0;return re.schedule(function(){H.closed||(H.next(fe++),0<=te?this.schedule(void 0,te):H.complete())},J)})}},8251:(ft,De,v)=>{v.d(De,{x:()=>m});var s=v(305);function m(U,I,Y,Z,re){return new W(U,I,Y,Z,re)}class W extends s.Lv{constructor(I,Y,Z,re,te,H){super(I),this.onFinalize=te,this.shouldUnsubscribe=H,this._next=Y?function(J){try{Y(J)}catch(fe){I.error(fe)}}:super._next,this._error=re?function(J){try{re(J)}catch(fe){I.error(fe)}finally{this.unsubscribe()}}:super._error,this._complete=Z?function(){try{Z()}catch(J){I.error(J)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var I;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:Y}=this;super.unsubscribe(),!Y&&(null===(I=this.onFinalize)||void 0===I||I.call(this))}}}},6306:(ft,De,v)=>{v.d(De,{K:()=>U});var s=v(4829),m=v(8251),W=v(9360);function U(I){return(0,W.e)((Y,Z)=>{let H,re=null,te=!1;re=Y.subscribe((0,m.x)(Z,void 0,void 0,J=>{H=(0,s.Xf)(I(J,U(I)(Y))),re?(re.unsubscribe(),re=null,H.subscribe(Z)):te=!0})),te&&(re.unsubscribe(),re=null,H.subscribe(Z))})}},6328:(ft,De,v)=>{v.d(De,{b:()=>W});var s=v(1631),m=v(4674);function W(U,I){return(0,m.m)(I)?(0,s.z)(U,I,1):(0,s.z)(U,1)}},3620:(ft,De,v)=>{v.d(De,{b:()=>U});var s=v(6321),m=v(9360),W=v(8251);function U(I,Y=s.z){return(0,m.e)((Z,re)=>{let te=null,H=null,J=null;const fe=()=>{if(te){te.unsubscribe(),te=null;const Ie=H;H=null,re.next(Ie)}};function Se(){const Ie=J+I,Ke=Y.now();if(Ke<Ie)return te=this.schedule(void 0,Ie-Ke),void re.add(te);fe()}Z.subscribe((0,W.x)(re,Ie=>{H=Ie,J=Y.now(),te||(te=Y.schedule(Se,I),re.add(te))},()=>{fe(),re.complete()},void 0,()=>{H=te=null}))})}},3572:(ft,De,v)=>{v.d(De,{d:()=>W});var s=v(9360),m=v(8251);function W(U){return(0,s.e)((I,Y)=>{let Z=!1;I.subscribe((0,m.x)(Y,re=>{Z=!0,Y.next(re)},()=>{Z||Y.next(U),Y.complete()}))})}},3997:(ft,De,v)=>{v.d(De,{x:()=>U});var s=v(2737),m=v(9360),W=v(8251);function U(Y,Z=s.y){return Y=Y??I,(0,m.e)((re,te)=>{let H,J=!0;re.subscribe((0,W.x)(te,fe=>{const Se=Z(fe);(J||!Y(H,Se))&&(J=!1,H=Se,te.next(fe))}))})}function I(Y,Z){return Y===Z}},2181:(ft,De,v)=>{v.d(De,{h:()=>W});var s=v(9360),m=v(8251);function W(U,I){return(0,s.e)((Y,Z)=>{let re=0;Y.subscribe((0,m.x)(Z,te=>U.call(I,te,re++)&&Z.next(te)))})}},4716:(ft,De,v)=>{v.d(De,{x:()=>m});var s=v(9360);function m(W){return(0,s.e)((U,I)=>{try{U.subscribe(I)}finally{I.add(W)}})}},1374:(ft,De,v)=>{v.d(De,{P:()=>Z});var s=v(6973),m=v(2181),W=v(8180),U=v(3572),I=v(3026),Y=v(2737);function Z(re,te){const H=arguments.length>=2;return J=>J.pipe(re?(0,m.h)((fe,Se)=>re(fe,Se,J)):Y.y,(0,W.q)(1),H?(0,U.d)(te):(0,I.T)(()=>new s.K))}},7398:(ft,De,v)=>{v.d(De,{U:()=>W});var s=v(9360),m=v(8251);function W(U,I){return(0,s.e)((Y,Z)=>{let re=0;Y.subscribe((0,m.x)(Z,te=>{Z.next(U.call(I,te,re++))}))})}},7537:(ft,De,v)=>{v.d(De,{J:()=>W});var s=v(1631),m=v(2737);function W(U=1/0){return(0,s.z)(m.y,U)}},1631:(ft,De,v)=>{v.d(De,{z:()=>re});var s=v(7398),m=v(4829),W=v(9360),U=v(7103),I=v(8251),Z=v(4674);function re(te,H,J=1/0){return(0,Z.m)(H)?re((fe,Se)=>(0,s.U)((Ie,Ke)=>H(fe,Ie,Se,Ke))((0,m.Xf)(te(fe,Se))),J):("number"==typeof H&&(J=H),(0,W.e)((fe,Se)=>function Y(te,H,J,fe,Se,Ie,Ke,we){const Je=[];let Ve=0,ut=0,ke=!1;const G=()=>{ke&&!Je.length&&!Ve&&H.complete()},z=ue=>Ve<fe?ie(ue):Je.push(ue),ie=ue=>{Ie&&H.next(ue),Ve++;let ge=!1;(0,m.Xf)(J(ue,ut++)).subscribe((0,I.x)(H,xe=>{Se?.(xe),Ie?z(xe):H.next(xe)},()=>{ge=!0},void 0,()=>{if(ge)try{for(Ve--;Je.length&&Ve<fe;){const xe=Je.shift();Ke?(0,U.f)(H,Ke,()=>ie(xe)):ie(xe)}G()}catch(xe){H.error(xe)}}))};return te.subscribe((0,I.x)(H,z,()=>{ke=!0,G()})),()=>{we?.()}}(fe,Se,te,J)))}},3093:(ft,De,v)=>{v.d(De,{Q:()=>U});var s=v(7103),m=v(9360),W=v(8251);function U(I,Y=0){return(0,m.e)((Z,re)=>{Z.subscribe((0,W.x)(re,te=>(0,s.f)(re,I,()=>re.next(te),Y),()=>(0,s.f)(re,I,()=>re.complete(),Y),te=>(0,s.f)(re,I,()=>re.error(te),Y)))})}},6699:(ft,De,v)=>{v.d(De,{R:()=>U});var s=v(9360),m=v(8251);function U(I,Y){return(0,s.e)(function W(I,Y,Z,re,te){return(H,J)=>{let fe=Z,Se=Y,Ie=0;H.subscribe((0,m.x)(J,Ke=>{const we=Ie++;Se=fe?I(Se,Ke,we):(fe=!0,Ke),re&&J.next(Se)},te&&(()=>{fe&&J.next(Se),J.complete()})))}}(I,Y,arguments.length>=2,!0))}},3020:(ft,De,v)=>{v.d(De,{B:()=>I});var s=v(4829),m=v(8645),W=v(305),U=v(9360);function I(Z={}){const{connector:re=(()=>new m.x),resetOnError:te=!0,resetOnComplete:H=!0,resetOnRefCountZero:J=!0}=Z;return fe=>{let Se,Ie,Ke,we=0,Je=!1,Ve=!1;const ut=()=>{Ie?.unsubscribe(),Ie=void 0},ke=()=>{ut(),Se=Ke=void 0,Je=Ve=!1},G=()=>{const z=Se;ke(),z?.unsubscribe()};return(0,U.e)((z,ie)=>{we++,!Ve&&!Je&&ut();const ue=Ke=Ke??re();ie.add(()=>{we--,0===we&&!Ve&&!Je&&(Ie=Y(G,J))}),ue.subscribe(ie),!Se&&we>0&&(Se=new W.Hp({next:ge=>ue.next(ge),error:ge=>{Ve=!0,ut(),Ie=Y(ke,te,ge),ue.error(ge)},complete:()=>{Je=!0,ut(),Ie=Y(ke,H),ue.complete()}}),(0,s.Xf)(z).subscribe(Se))})(fe)}}function Y(Z,re,...te){if(!0===re)return void Z();if(!1===re)return;const H=new W.Hp({next:()=>{H.unsubscribe(),Z()}});return(0,s.Xf)(re(...te)).subscribe(H)}},7081:(ft,De,v)=>{v.d(De,{d:()=>W});var s=v(7328),m=v(3020);function W(U,I,Y){let Z,re=!1;return U&&"object"==typeof U?({bufferSize:Z=1/0,windowTime:I=1/0,refCount:re=!1,scheduler:Y}=U):Z=U??1/0,(0,m.B)({connector:()=>new s.t(Z,I,Y),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:re})}},836:(ft,De,v)=>{v.d(De,{T:()=>m});var s=v(2181);function m(W){return(0,s.h)((U,I)=>W<=I)}},7921:(ft,De,v)=>{v.d(De,{O:()=>U});var s=v(5211),m=v(9940),W=v(9360);function U(...I){const Y=(0,m.yG)(I);return(0,W.e)((Z,re)=>{(Y?(0,s.z)(I,Z,Y):(0,s.z)(I,Z)).subscribe(re)})}},5137:(ft,De,v)=>{v.d(De,{R:()=>m});var s=v(9360);function m(W,U=0){return(0,s.e)((I,Y)=>{Y.add(W.schedule(()=>I.subscribe(Y),U))})}},4664:(ft,De,v)=>{v.d(De,{w:()=>U});var s=v(4829),m=v(9360),W=v(8251);function U(I,Y){return(0,m.e)((Z,re)=>{let te=null,H=0,J=!1;const fe=()=>J&&!te&&re.complete();Z.subscribe((0,W.x)(re,Se=>{te?.unsubscribe();let Ie=0;const Ke=H++;(0,s.Xf)(I(Se,Ke)).subscribe(te=(0,W.x)(re,we=>re.next(Y?Y(Se,we,Ke,Ie++):we),()=>{te=null,fe()}))},()=>{J=!0,fe()}))})}},8180:(ft,De,v)=>{v.d(De,{q:()=>U});var s=v(6232),m=v(9360),W=v(8251);function U(I){return I<=0?()=>s.E:(0,m.e)((Y,Z)=>{let re=0;Y.subscribe((0,W.x)(Z,te=>{++re<=I&&(Z.next(te),I<=re&&Z.complete())}))})}},9773:(ft,De,v)=>{v.d(De,{R:()=>I});var s=v(9360),m=v(8251),W=v(4829),U=v(2420);function I(Y){return(0,s.e)((Z,re)=>{(0,W.Xf)(Y).subscribe((0,m.x)(re,()=>re.complete(),U.Z)),!re.closed&&Z.subscribe(re)})}},9397:(ft,De,v)=>{v.d(De,{b:()=>I});var s=v(4674),m=v(9360),W=v(8251),U=v(2737);function I(Y,Z,re){const te=(0,s.m)(Y)||Z||re?{next:Y,error:Z,complete:re}:Y;return te?(0,m.e)((H,J)=>{var fe;null===(fe=te.subscribe)||void 0===fe||fe.call(te);let Se=!0;H.subscribe((0,W.x)(J,Ie=>{var Ke;null===(Ke=te.next)||void 0===Ke||Ke.call(te,Ie),J.next(Ie)},()=>{var Ie;Se=!1,null===(Ie=te.complete)||void 0===Ie||Ie.call(te),J.complete()},Ie=>{var Ke;Se=!1,null===(Ke=te.error)||void 0===Ke||Ke.call(te,Ie),J.error(Ie)},()=>{var Ie,Ke;Se&&(null===(Ie=te.unsubscribe)||void 0===Ie||Ie.call(te)),null===(Ke=te.finalize)||void 0===Ke||Ke.call(te)}))}):U.y}},3026:(ft,De,v)=>{v.d(De,{T:()=>U});var s=v(6973),m=v(9360),W=v(8251);function U(Y=I){return(0,m.e)((Z,re)=>{let te=!1;Z.subscribe((0,W.x)(re,H=>{te=!0,re.next(H)},()=>te?re.complete():re.error(Y())))})}function I(){return new s.K}},1954:(ft,De,v)=>{v.d(De,{o:()=>I});var s=v(7394);class m extends s.w0{constructor(Z,re){super()}schedule(Z,re=0){return this}}const W={setInterval(Y,Z,...re){const{delegate:te}=W;return te?.setInterval?te.setInterval(Y,Z,...re):setInterval(Y,Z,...re)},clearInterval(Y){const{delegate:Z}=W;return(Z?.clearInterval||clearInterval)(Y)},delegate:void 0};var U=v(9039);class I extends m{constructor(Z,re){super(Z,re),this.scheduler=Z,this.work=re,this.pending=!1}schedule(Z,re=0){var te;if(this.closed)return this;this.state=Z;const H=this.id,J=this.scheduler;return null!=H&&(this.id=this.recycleAsyncId(J,H,re)),this.pending=!0,this.delay=re,this.id=null!==(te=this.id)&&void 0!==te?te:this.requestAsyncId(J,this.id,re),this}requestAsyncId(Z,re,te=0){return W.setInterval(Z.flush.bind(Z,this),te)}recycleAsyncId(Z,re,te=0){if(null!=te&&this.delay===te&&!1===this.pending)return re;null!=re&&W.clearInterval(re)}execute(Z,re){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const te=this._execute(Z,re);if(te)return te;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(Z,re){let H,te=!1;try{this.work(Z)}catch(J){te=!0,H=J||new Error("Scheduled action threw falsy error")}if(te)return this.unsubscribe(),H}unsubscribe(){if(!this.closed){const{id:Z,scheduler:re}=this,{actions:te}=re;this.work=this.state=this.scheduler=null,this.pending=!1,(0,U.P)(te,this),null!=Z&&(this.id=this.recycleAsyncId(re,Z,null)),this.delay=null,super.unsubscribe()}}}},2631:(ft,De,v)=>{v.d(De,{v:()=>W});var s=v(4552);class m{constructor(I,Y=m.now){this.schedulerActionCtor=I,this.now=Y}schedule(I,Y=0,Z){return new this.schedulerActionCtor(this,I).schedule(Z,Y)}}m.now=s.l.now;class W extends m{constructor(I,Y=m.now){super(I,Y),this.actions=[],this._active=!1}flush(I){const{actions:Y}=this;if(this._active)return void Y.push(I);let Z;this._active=!0;do{if(Z=I.execute(I.state,I.delay))break}while(I=Y.shift());if(this._active=!1,Z){for(;I=Y.shift();)I.unsubscribe();throw Z}}}},6321:(ft,De,v)=>{v.d(De,{P:()=>U,z:()=>W});var s=v(1954);const W=new(v(2631).v)(s.o),U=W},4552:(ft,De,v)=>{v.d(De,{l:()=>s});const s={now:()=>(s.delegate||Date).now(),delegate:void 0}},7599:(ft,De,v)=>{v.d(De,{z:()=>s});const s={setTimeout(m,W,...U){const{delegate:I}=s;return I?.setTimeout?I.setTimeout(m,W,...U):setTimeout(m,W,...U)},clearTimeout(m){const{delegate:W}=s;return(W?.clearTimeout||clearTimeout)(m)},delegate:void 0}},4971:(ft,De,v)=>{v.d(De,{h:()=>m});const m=function s(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},4850:(ft,De,v)=>{v.d(De,{L:()=>s});const s="function"==typeof Symbol&&Symbol.observable||"@@observable"},6973:(ft,De,v)=>{v.d(De,{K:()=>m});const m=(0,v(2306).d)(W=>function(){W(this),this.name="EmptyError",this.message="no elements in sequence"})},9940:(ft,De,v)=>{v.d(De,{_6:()=>Y,jO:()=>U,yG:()=>I});var s=v(4674),m=v(671);function W(Z){return Z[Z.length-1]}function U(Z){return(0,s.m)(W(Z))?Z.pop():void 0}function I(Z){return(0,m.K)(W(Z))?Z.pop():void 0}function Y(Z,re){return"number"==typeof W(Z)?Z.pop():re}},7453:(ft,De,v)=>{v.d(De,{D:()=>I});const{isArray:s}=Array,{getPrototypeOf:m,prototype:W,keys:U}=Object;function I(Z){if(1===Z.length){const re=Z[0];if(s(re))return{args:re,keys:null};if(function Y(Z){return Z&&"object"==typeof Z&&m(Z)===W}(re)){const te=U(re);return{args:te.map(H=>re[H]),keys:te}}}return{args:Z,keys:null}}},9039:(ft,De,v)=>{function s(m,W){if(m){const U=m.indexOf(W);0<=U&&m.splice(U,1)}}v.d(De,{P:()=>s})},2306:(ft,De,v)=>{function s(m){const U=m(I=>{Error.call(I),I.stack=(new Error).stack});return U.prototype=Object.create(Error.prototype),U.prototype.constructor=U,U}v.d(De,{d:()=>s})},2714:(ft,De,v)=>{function s(m,W){return m.reduce((U,I,Y)=>(U[I]=W[Y],U),{})}v.d(De,{n:()=>s})},1441:(ft,De,v)=>{v.d(De,{O:()=>U,x:()=>W});var s=v(2653);let m=null;function W(I){if(s.config.useDeprecatedSynchronousErrorHandling){const Y=!m;if(Y&&(m={errorThrown:!1,error:null}),I(),Y){const{errorThrown:Z,error:re}=m;if(m=null,Z)throw re}}else I()}function U(I){s.config.useDeprecatedSynchronousErrorHandling&&m&&(m.errorThrown=!0,m.error=I)}},7103:(ft,De,v)=>{function s(m,W,U,I=0,Y=!1){const Z=W.schedule(function(){U(),Y?m.add(this.schedule(null,I)):this.unsubscribe()},I);if(m.add(Z),!Y)return Z}v.d(De,{f:()=>s})},2737:(ft,De,v)=>{function s(m){return m}v.d(De,{y:()=>s})},4266:(ft,De,v)=>{v.d(De,{z:()=>s});const s=m=>m&&"number"==typeof m.length&&"function"!=typeof m},5726:(ft,De,v)=>{v.d(De,{D:()=>m});var s=v(4674);function m(W){return Symbol.asyncIterator&&(0,s.m)(W?.[Symbol.asyncIterator])}},93:(ft,De,v)=>{function s(m){return m instanceof Date&&!isNaN(m)}v.d(De,{q:()=>s})},4674:(ft,De,v)=>{function s(m){return"function"==typeof m}v.d(De,{m:()=>s})},8382:(ft,De,v)=>{v.d(De,{c:()=>W});var s=v(4850),m=v(4674);function W(U){return(0,m.m)(U[s.L])}},3664:(ft,De,v)=>{v.d(De,{T:()=>W});var s=v(4971),m=v(4674);function W(U){return(0,m.m)(U?.[s.h])}},4026:(ft,De,v)=>{v.d(De,{t:()=>m});var s=v(4674);function m(W){return(0,s.m)(W?.then)}},541:(ft,De,v)=>{v.d(De,{L:()=>U,Q:()=>W});var s=v(7582),m=v(4674);function W(I){return(0,s.FC)(this,arguments,function*(){const Z=I.getReader();try{for(;;){const{value:re,done:te}=yield(0,s.qq)(Z.read());if(te)return yield(0,s.qq)(void 0);yield yield(0,s.qq)(re)}}finally{Z.releaseLock()}})}function U(I){return(0,m.m)(I?.getReader)}},671:(ft,De,v)=>{v.d(De,{K:()=>m});var s=v(4674);function m(W){return W&&(0,s.m)(W.schedule)}},9360:(ft,De,v)=>{v.d(De,{A:()=>m,e:()=>W});var s=v(4674);function m(U){return(0,s.m)(U?.lift)}function W(U){return I=>{if(m(I))return I.lift(function(Y){try{return U(Y,this)}catch(Z){this.error(Z)}});throw new TypeError("Unable to lift unknown Observable type")}}},7400:(ft,De,v)=>{v.d(De,{Z:()=>U});var s=v(7398);const{isArray:m}=Array;function U(I){return(0,s.U)(Y=>function W(I,Y){return m(Y)?I(...Y):I(Y)}(I,Y))}},2420:(ft,De,v)=>{function s(){}v.d(De,{Z:()=>s})},8407:(ft,De,v)=>{v.d(De,{U:()=>W,z:()=>m});var s=v(2737);function m(...U){return W(U)}function W(U){return 0===U.length?s.y:1===U.length?U[0]:function(Y){return U.reduce((Z,re)=>re(Z),Y)}}},3894:(ft,De,v)=>{v.d(De,{h:()=>W});var s=v(2653),m=v(7599);function W(U){m.z.setTimeout(()=>{const{onUnhandledError:I}=s.config;if(!I)throw U;I(U)})}},9853:(ft,De,v)=>{function s(m){return new TypeError(`You provided ${null!==m&&"object"==typeof m?"an invalid object":`'${m}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}v.d(De,{z:()=>s})},6825:(ft,De,v)=>{v.d(De,{F4:()=>H,IO:()=>Ke,LC:()=>m,SB:()=>te,X$:()=>U,ZE:()=>Ve,ZN:()=>Je,_j:()=>s,eR:()=>J,jt:()=>I,k1:()=>ut,l3:()=>W,oB:()=>re,pV:()=>Se,ru:()=>Y,vP:()=>Z});class s{}class m{}const W="*";function U(ke,G){return{type:7,name:ke,definitions:G,options:{}}}function I(ke,G=null){return{type:4,styles:G,timings:ke}}function Y(ke,G=null){return{type:3,steps:ke,options:G}}function Z(ke,G=null){return{type:2,steps:ke,options:G}}function re(ke){return{type:6,styles:ke,offset:null}}function te(ke,G,z){return{type:0,name:ke,styles:G,options:z}}function H(ke){return{type:5,steps:ke}}function J(ke,G,z=null){return{type:1,expr:ke,animation:G,options:z}}function Se(ke=null){return{type:9,options:ke}}function Ke(ke,G,z=null){return{type:11,selector:ke,animation:G,options:z}}class Je{constructor(G=0,z=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=G+z}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(G=>G()),this._onDoneFns=[])}onStart(G){this._originalOnStartFns.push(G),this._onStartFns.push(G)}onDone(G){this._originalOnDoneFns.push(G),this._onDoneFns.push(G)}onDestroy(G){this._onDestroyFns.push(G)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(G=>G()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(G=>G()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(G){this._position=this.totalTime?G*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(G){const z="start"==G?this._onStartFns:this._onDoneFns;z.forEach(ie=>ie()),z.length=0}}class Ve{constructor(G){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=G;let z=0,ie=0,ue=0;const ge=this.players.length;0==ge?queueMicrotask(()=>this._onFinish()):this.players.forEach(xe=>{xe.onDone(()=>{++z==ge&&this._onFinish()}),xe.onDestroy(()=>{++ie==ge&&this._onDestroy()}),xe.onStart(()=>{++ue==ge&&this._onStart()})}),this.totalTime=this.players.reduce((xe,Ge)=>Math.max(xe,Ge.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(G=>G()),this._onDoneFns=[])}init(){this.players.forEach(G=>G.init())}onStart(G){this._onStartFns.push(G)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(G=>G()),this._onStartFns=[])}onDone(G){this._onDoneFns.push(G)}onDestroy(G){this._onDestroyFns.push(G)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(G=>G.play())}pause(){this.players.forEach(G=>G.pause())}restart(){this.players.forEach(G=>G.restart())}finish(){this._onFinish(),this.players.forEach(G=>G.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(G=>G.destroy()),this._onDestroyFns.forEach(G=>G()),this._onDestroyFns=[])}reset(){this.players.forEach(G=>G.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(G){const z=G*this.totalTime;this.players.forEach(ie=>{const ue=ie.totalTime?Math.min(1,z/ie.totalTime):1;ie.setPosition(ue)})}getPosition(){const G=this.players.reduce((z,ie)=>null===z||ie.totalTime>z.totalTime?ie:z,null);return null!=G?G.getPosition():0}beforeDestroy(){this.players.forEach(G=>{G.beforeDestroy&&G.beforeDestroy()})}triggerCallback(G){const z="start"==G?this._onStartFns:this._onDoneFns;z.forEach(ie=>ie()),z.length=0}}const ut="!"},4191:(ft,De,v)=>{v.d(De,{rt:()=>R,s1:()=>qe,$s:()=>lt,kH:()=>B,mK:()=>rn,Em:()=>ye,tE:()=>pe,qV:()=>Vt,qm:()=>F,ic:()=>N,Kd:()=>st,Zf:()=>$t,X6:()=>Yt,yG:()=>or,iD:()=>gn});var s=v(6814),m=v(5879),W=v(2831),U=v(8645),I=v(7394),Y=v(5619),Z=v(2096),re=v(6028),te=v(9397),H=v(3620),J=v(2181),fe=v(7398),Se=v(8180),Ie=v(836),Ke=v(3997),we=v(9773),Je=v(2495),Ve=v(7131),ut=v(2572),ke=v(5211),G=v(5592),z=v(7921);const ue=new Set;let ge,xe=(()=>{var P;class V{constructor(ne,le){this._platform=ne,this._nonce=le,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):nt}matchMedia(ne){return(this._platform.WEBKIT||this._platform.BLINK)&&function Ge(P,V){if(!ue.has(P))try{ge||(ge=document.createElement("style"),V&&(ge.nonce=V),ge.setAttribute("type","text/css"),document.head.appendChild(ge)),ge.sheet&&(ge.sheet.insertRule(`@media ${P} {body{ }}`,0),ue.add(P))}catch(me){console.error(me)}}(ne,this._nonce),this._matchMedia(ne)}}return(P=V).\u0275fac=function(ne){return new(ne||P)(m.LFG(W.t4),m.LFG(m.Ojb,8))},P.\u0275prov=m.Yz7({token:P,factory:P.\u0275fac,providedIn:"root"}),V})();function nt(P){return{matches:"all"===P||""===P,media:P,addListener:()=>{},removeListener:()=>{}}}let ht=(()=>{var P;class V{constructor(ne,le){this._mediaMatcher=ne,this._zone=le,this._queries=new Map,this._destroySubject=new U.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(ne){return Mt((0,Je.Eq)(ne)).some(je=>this._registerQuery(je).mql.matches)}observe(ne){const je=Mt((0,Je.Eq)(ne)).map(ee=>this._registerQuery(ee).observable);let oe=(0,ut.a)(je);return oe=(0,ke.z)(oe.pipe((0,Se.q)(1)),oe.pipe((0,Ie.T)(1),(0,H.b)(0))),oe.pipe((0,fe.U)(ee=>{const Pe={matches:!1,breakpoints:{}};return ee.forEach(({matches:X,query:ce})=>{Pe.matches=Pe.matches||X,Pe.breakpoints[ce]=X}),Pe}))}_registerQuery(ne){if(this._queries.has(ne))return this._queries.get(ne);const le=this._mediaMatcher.matchMedia(ne),oe={observable:new G.y(ee=>{const Pe=X=>this._zone.run(()=>ee.next(X));return le.addListener(Pe),()=>{le.removeListener(Pe)}}).pipe((0,z.O)(le),(0,fe.U)(({matches:ee})=>({query:ne,matches:ee})),(0,we.R)(this._destroySubject)),mql:le};return this._queries.set(ne,oe),oe}}return(P=V).\u0275fac=function(ne){return new(ne||P)(m.LFG(xe),m.LFG(m.R0b))},P.\u0275prov=m.Yz7({token:P,factory:P.\u0275fac,providedIn:"root"}),V})();function Mt(P){return P.map(V=>V.split(",")).reduce((V,me)=>V.concat(me)).map(V=>V.trim())}const Gt=" ";function $t(P,V,me){const ne=Cn(P,V);ne.some(le=>le.trim()==me.trim())||(ne.push(me.trim()),P.setAttribute(V,ne.join(Gt)))}function gn(P,V,me){const le=Cn(P,V).filter(je=>je!=me.trim());le.length?P.setAttribute(V,le.join(Gt)):P.removeAttribute(V)}function Cn(P,V){return(P.getAttribute(V)||"").match(/\S+/g)||[]}const $e="cdk-describedby-message",Ye="cdk-describedby-host";let Qe=0,lt=(()=>{var P;class V{constructor(ne,le){this._platform=le,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+Qe++,this._document=ne,this._id=(0,m.f3M)(m.AFp)+"-"+Qe++}describe(ne,le,je){if(!this._canBeDescribed(ne,le))return;const oe=dt(le,je);"string"!=typeof le?(At(le,this._id),this._messageRegistry.set(oe,{messageElement:le,referenceCount:0})):this._messageRegistry.has(oe)||this._createMessageElement(le,je),this._isElementDescribedByMessage(ne,oe)||this._addMessageReference(ne,oe)}removeDescription(ne,le,je){if(!le||!this._isElementNode(ne))return;const oe=dt(le,je);if(this._isElementDescribedByMessage(ne,oe)&&this._removeMessageReference(ne,oe),"string"==typeof le){const ee=this._messageRegistry.get(oe);ee&&0===ee.referenceCount&&this._deleteMessageElement(oe)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const ne=this._document.querySelectorAll(`[${Ye}="${this._id}"]`);for(let le=0;le<ne.length;le++)this._removeCdkDescribedByReferenceIds(ne[le]),ne[le].removeAttribute(Ye);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(ne,le){const je=this._document.createElement("div");At(je,this._id),je.textContent=ne,le&&je.setAttribute("role",le),this._createMessagesContainer(),this._messagesContainer.appendChild(je),this._messageRegistry.set(dt(ne,le),{messageElement:je,referenceCount:0})}_deleteMessageElement(ne){this._messageRegistry.get(ne)?.messageElement?.remove(),this._messageRegistry.delete(ne)}_createMessagesContainer(){if(this._messagesContainer)return;const ne="cdk-describedby-message-container",le=this._document.querySelectorAll(`.${ne}[platform="server"]`);for(let oe=0;oe<le.length;oe++)le[oe].remove();const je=this._document.createElement("div");je.style.visibility="hidden",je.classList.add(ne),je.classList.add("cdk-visually-hidden"),this._platform&&!this._platform.isBrowser&&je.setAttribute("platform","server"),this._document.body.appendChild(je),this._messagesContainer=je}_removeCdkDescribedByReferenceIds(ne){const le=Cn(ne,"aria-describedby").filter(je=>0!=je.indexOf($e));ne.setAttribute("aria-describedby",le.join(" "))}_addMessageReference(ne,le){const je=this._messageRegistry.get(le);$t(ne,"aria-describedby",je.messageElement.id),ne.setAttribute(Ye,this._id),je.referenceCount++}_removeMessageReference(ne,le){const je=this._messageRegistry.get(le);je.referenceCount--,gn(ne,"aria-describedby",je.messageElement.id),ne.removeAttribute(Ye)}_isElementDescribedByMessage(ne,le){const je=Cn(ne,"aria-describedby"),oe=this._messageRegistry.get(le),ee=oe&&oe.messageElement.id;return!!ee&&-1!=je.indexOf(ee)}_canBeDescribed(ne,le){if(!this._isElementNode(ne))return!1;if(le&&"object"==typeof le)return!0;const je=null==le?"":`${le}`.trim(),oe=ne.getAttribute("aria-label");return!(!je||oe&&oe.trim()===je)}_isElementNode(ne){return ne.nodeType===this._document.ELEMENT_NODE}}return(P=V).\u0275fac=function(ne){return new(ne||P)(m.LFG(s.K0),m.LFG(W.t4))},P.\u0275prov=m.Yz7({token:P,factory:P.\u0275fac,providedIn:"root"}),V})();function dt(P,V){return"string"==typeof P?`${V||""}/${P}`:P}function At(P,V){P.id||(P.id=`${$e}-${V}-${Qe++}`)}class ve{constructor(V){this._items=V,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new U.x,this._typeaheadSubscription=I.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=me=>me.disabled,this._pressedLetters=[],this.tabOut=new U.x,this.change=new U.x,V instanceof m.n_E&&(this._itemChangesSubscription=V.changes.subscribe(me=>{if(this._activeItem){const le=me.toArray().indexOf(this._activeItem);le>-1&&le!==this._activeItemIndex&&(this._activeItemIndex=le)}}))}skipPredicate(V){return this._skipPredicateFn=V,this}withWrap(V=!0){return this._wrap=V,this}withVerticalOrientation(V=!0){return this._vertical=V,this}withHorizontalOrientation(V){return this._horizontal=V,this}withAllowedModifierKeys(V){return this._allowedModifierKeys=V,this}withTypeAhead(V=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,te.b)(me=>this._pressedLetters.push(me)),(0,H.b)(V),(0,J.h)(()=>this._pressedLetters.length>0),(0,fe.U)(()=>this._pressedLetters.join(""))).subscribe(me=>{const ne=this._getItemsArray();for(let le=1;le<ne.length+1;le++){const je=(this._activeItemIndex+le)%ne.length,oe=ne[je];if(!this._skipPredicateFn(oe)&&0===oe.getLabel().toUpperCase().trim().indexOf(me)){this.setActiveItem(je);break}}this._pressedLetters=[]}),this}cancelTypeahead(){return this._pressedLetters=[],this}withHomeAndEnd(V=!0){return this._homeAndEnd=V,this}withPageUpDown(V=!0,me=10){return this._pageUpAndDown={enabled:V,delta:me},this}setActiveItem(V){const me=this._activeItem;this.updateActiveItem(V),this._activeItem!==me&&this.change.next(this._activeItemIndex)}onKeydown(V){const me=V.keyCode,le=["altKey","ctrlKey","metaKey","shiftKey"].every(je=>!V[je]||this._allowedModifierKeys.indexOf(je)>-1);switch(me){case re.Mf:return void this.tabOut.next();case re.JH:if(this._vertical&&le){this.setNextItemActive();break}return;case re.LH:if(this._vertical&&le){this.setPreviousItemActive();break}return;case re.SV:if(this._horizontal&&le){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case re.oh:if(this._horizontal&&le){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case re.Sd:if(this._homeAndEnd&&le){this.setFirstItemActive();break}return;case re.uR:if(this._homeAndEnd&&le){this.setLastItemActive();break}return;case re.Ku:if(this._pageUpAndDown.enabled&&le){const je=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(je>0?je:0,1);break}return;case re.VM:if(this._pageUpAndDown.enabled&&le){const je=this._activeItemIndex+this._pageUpAndDown.delta,oe=this._getItemsArray().length;this._setActiveItemByIndex(je<oe?je:oe-1,-1);break}return;default:return void((le||(0,re.Vb)(V,"shiftKey"))&&(V.key&&1===V.key.length?this._letterKeyStream.next(V.key.toLocaleUpperCase()):(me>=re.A&&me<=re.Z||me>=re.xE&&me<=re.aO)&&this._letterKeyStream.next(String.fromCharCode(me))))}this._pressedLetters=[],V.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(V){const me=this._getItemsArray(),ne="number"==typeof V?V:me.indexOf(V);this._activeItem=me[ne]??null,this._activeItemIndex=ne}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(V){this._wrap?this._setActiveInWrapMode(V):this._setActiveInDefaultMode(V)}_setActiveInWrapMode(V){const me=this._getItemsArray();for(let ne=1;ne<=me.length;ne++){const le=(this._activeItemIndex+V*ne+me.length)%me.length;if(!this._skipPredicateFn(me[le]))return void this.setActiveItem(le)}}_setActiveInDefaultMode(V){this._setActiveItemByIndex(this._activeItemIndex+V,V)}_setActiveItemByIndex(V,me){const ne=this._getItemsArray();if(ne[V]){for(;this._skipPredicateFn(ne[V]);)if(!ne[V+=me])return;this.setActiveItem(V)}}_getItemsArray(){return this._items instanceof m.n_E?this._items.toArray():this._items}}class qe extends ve{setActiveItem(V){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(V),this.activeItem&&this.activeItem.setActiveStyles()}}class ye extends ve{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(V){return this._origin=V,this}setActiveItem(V){super.setActiveItem(V),this.activeItem&&this.activeItem.focus(this._origin)}}let N=(()=>{var P;class V{constructor(ne){this._platform=ne}isDisabled(ne){return ne.hasAttribute("disabled")}isVisible(ne){return function Le(P){return!!(P.offsetWidth||P.offsetHeight||"function"==typeof P.getClientRects&&P.getClientRects().length)}(ne)&&"visible"===getComputedStyle(ne).visibility}isTabbable(ne){if(!this._platform.isBrowser)return!1;const le=function Ae(P){try{return P.frameElement}catch{return null}}(function Nt(P){return P.ownerDocument&&P.ownerDocument.defaultView||window}(ne));if(le&&(-1===ir(le)||!this.isVisible(le)))return!1;let je=ne.nodeName.toLowerCase(),oe=ir(ne);return ne.hasAttribute("contenteditable")?-1!==oe:!("iframe"===je||"object"===je||this._platform.WEBKIT&&this._platform.IOS&&!function Un(P){let V=P.nodeName.toLowerCase(),me="input"===V&&P.type;return"text"===me||"password"===me||"select"===V||"textarea"===V}(ne))&&("audio"===je?!!ne.hasAttribute("controls")&&-1!==oe:"video"===je?-1!==oe&&(null!==oe||this._platform.FIREFOX||ne.hasAttribute("controls")):ne.tabIndex>=0)}isFocusable(ne,le){return function On(P){return!function vt(P){return function Mn(P){return"input"==P.nodeName.toLowerCase()}(P)&&"hidden"==P.type}(P)&&(function St(P){let V=P.nodeName.toLowerCase();return"input"===V||"select"===V||"button"===V||"textarea"===V}(P)||function Lt(P){return function kn(P){return"a"==P.nodeName.toLowerCase()}(P)&&P.hasAttribute("href")}(P)||P.hasAttribute("contenteditable")||Ct(P))}(ne)&&!this.isDisabled(ne)&&(le?.ignoreVisibility||this.isVisible(ne))}}return(P=V).\u0275fac=function(ne){return new(ne||P)(m.LFG(W.t4))},P.\u0275prov=m.Yz7({token:P,factory:P.\u0275fac,providedIn:"root"}),V})();function Ct(P){if(!P.hasAttribute("tabindex")||void 0===P.tabIndex)return!1;let V=P.getAttribute("tabindex");return!(!V||isNaN(parseInt(V,10)))}function ir(P){if(!Ct(P))return null;const V=parseInt(P.getAttribute("tabindex")||"",10);return isNaN(V)?-1:V}class jt{get enabled(){return this._enabled}set enabled(V){this._enabled=V,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(V,this._startAnchor),this._toggleAnchorTabIndex(V,this._endAnchor))}constructor(V,me,ne,le,je=!1){this._element=V,this._checker=me,this._ngZone=ne,this._document=le,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,je||this.attachAnchors()}destroy(){const V=this._startAnchor,me=this._endAnchor;V&&(V.removeEventListener("focus",this.startAnchorListener),V.remove()),me&&(me.removeEventListener("focus",this.endAnchorListener),me.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(V){return new Promise(me=>{this._executeOnStable(()=>me(this.focusInitialElement(V)))})}focusFirstTabbableElementWhenReady(V){return new Promise(me=>{this._executeOnStable(()=>me(this.focusFirstTabbableElement(V)))})}focusLastTabbableElementWhenReady(V){return new Promise(me=>{this._executeOnStable(()=>me(this.focusLastTabbableElement(V)))})}_getRegionBoundary(V){const me=this._element.querySelectorAll(`[cdk-focus-region-${V}], [cdkFocusRegion${V}], [cdk-focus-${V}]`);return"start"==V?me.length?me[0]:this._getFirstTabbableElement(this._element):me.length?me[me.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(V){const me=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(me){if(!this._checker.isFocusable(me)){const ne=this._getFirstTabbableElement(me);return ne?.focus(V),!!ne}return me.focus(V),!0}return this.focusFirstTabbableElement(V)}focusFirstTabbableElement(V){const me=this._getRegionBoundary("start");return me&&me.focus(V),!!me}focusLastTabbableElement(V){const me=this._getRegionBoundary("end");return me&&me.focus(V),!!me}hasAttached(){return this._hasAttached}_getFirstTabbableElement(V){if(this._checker.isFocusable(V)&&this._checker.isTabbable(V))return V;const me=V.children;for(let ne=0;ne<me.length;ne++){const le=me[ne].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(me[ne]):null;if(le)return le}return null}_getLastTabbableElement(V){if(this._checker.isFocusable(V)&&this._checker.isTabbable(V))return V;const me=V.children;for(let ne=me.length-1;ne>=0;ne--){const le=me[ne].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(me[ne]):null;if(le)return le}return null}_createAnchor(){const V=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,V),V.classList.add("cdk-visually-hidden"),V.classList.add("cdk-focus-trap-anchor"),V.setAttribute("aria-hidden","true"),V}_toggleAnchorTabIndex(V,me){V?me.setAttribute("tabindex","0"):me.removeAttribute("tabindex")}toggleAnchors(V){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(V,this._startAnchor),this._toggleAnchorTabIndex(V,this._endAnchor))}_executeOnStable(V){this._ngZone.isStable?V():this._ngZone.onStable.pipe((0,Se.q)(1)).subscribe(V)}}let Vt=(()=>{var P;class V{constructor(ne,le,je){this._checker=ne,this._ngZone=le,this._document=je}create(ne,le=!1){return new jt(ne,this._checker,this._ngZone,this._document,le)}}return(P=V).\u0275fac=function(ne){return new(ne||P)(m.LFG(N),m.LFG(m.R0b),m.LFG(s.K0))},P.\u0275prov=m.Yz7({token:P,factory:P.\u0275fac,providedIn:"root"}),V})(),rn=(()=>{var P;class V{get enabled(){return this.focusTrap.enabled}set enabled(ne){this.focusTrap.enabled=(0,Je.Ig)(ne)}get autoCapture(){return this._autoCapture}set autoCapture(ne){this._autoCapture=(0,Je.Ig)(ne)}constructor(ne,le,je){this._elementRef=ne,this._focusTrapFactory=le,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(ne){const le=ne.autoCapture;le&&!le.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,W.ht)(),this.focusTrap.focusInitialElementWhenReady()}}return(P=V).\u0275fac=function(ne){return new(ne||P)(m.Y36(m.SBq),m.Y36(Vt),m.Y36(s.K0))},P.\u0275dir=m.lG2({type:P,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[m.TTD]}),V})();function Yt(P){return 0===P.buttons||0===P.offsetX&&0===P.offsetY}function or(P){const V=P.touches&&P.touches[0]||P.changedTouches&&P.changedTouches[0];return!(!V||-1!==V.identifier||null!=V.radiusX&&1!==V.radiusX||null!=V.radiusY&&1!==V.radiusY)}const on=new m.OlP("cdk-input-modality-detector-options"),Qn={ignoreKeys:[re.zL,re.jx,re.b2,re.MW,re.JU]},In=(0,W.i$)({passive:!0,capture:!0});let dr=(()=>{var P;class V{get mostRecentModality(){return this._modality.value}constructor(ne,le,je,oe){this._platform=ne,this._mostRecentTarget=null,this._modality=new Y.X(null),this._lastTouchMs=0,this._onKeydown=ee=>{this._options?.ignoreKeys?.some(Pe=>Pe===ee.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,W.sA)(ee))},this._onMousedown=ee=>{Date.now()-this._lastTouchMs<650||(this._modality.next(Yt(ee)?"keyboard":"mouse"),this._mostRecentTarget=(0,W.sA)(ee))},this._onTouchstart=ee=>{or(ee)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,W.sA)(ee))},this._options={...Qn,...oe},this.modalityDetected=this._modality.pipe((0,Ie.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,Ke.x)()),ne.isBrowser&&le.runOutsideAngular(()=>{je.addEventListener("keydown",this._onKeydown,In),je.addEventListener("mousedown",this._onMousedown,In),je.addEventListener("touchstart",this._onTouchstart,In)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,In),document.removeEventListener("mousedown",this._onMousedown,In),document.removeEventListener("touchstart",this._onTouchstart,In))}}return(P=V).\u0275fac=function(ne){return new(ne||P)(m.LFG(W.t4),m.LFG(m.R0b),m.LFG(s.K0),m.LFG(on,8))},P.\u0275prov=m.Yz7({token:P,factory:P.\u0275fac,providedIn:"root"}),V})();const Ze=new m.OlP("liveAnnouncerElement",{providedIn:"root",factory:function Dt(){return null}}),yt=new m.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let We=0,st=(()=>{var P;class V{constructor(ne,le,je,oe){this._ngZone=le,this._defaultOptions=oe,this._document=je,this._liveElement=ne||this._createLiveElement()}announce(ne,...le){const je=this._defaultOptions;let oe,ee;return 1===le.length&&"number"==typeof le[0]?ee=le[0]:[oe,ee]=le,this.clear(),clearTimeout(this._previousTimeout),oe||(oe=je&&je.politeness?je.politeness:"polite"),null==ee&&je&&(ee=je.duration),this._liveElement.setAttribute("aria-live",oe),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(Pe=>this._currentResolve=Pe)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=ne,"number"==typeof ee&&(this._previousTimeout=setTimeout(()=>this.clear(),ee)),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 ne="cdk-live-announcer-element",le=this._document.getElementsByClassName(ne),je=this._document.createElement("div");for(let oe=0;oe<le.length;oe++)le[oe].remove();return je.classList.add(ne),je.classList.add("cdk-visually-hidden"),je.setAttribute("aria-atomic","true"),je.setAttribute("aria-live","polite"),je.id="cdk-live-announcer-"+We++,this._document.body.appendChild(je),je}_exposeAnnouncerToModals(ne){const le=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let je=0;je<le.length;je++){const oe=le[je],ee=oe.getAttribute("aria-owns");ee?-1===ee.indexOf(ne)&&oe.setAttribute("aria-owns",ee+" "+ne):oe.setAttribute("aria-owns",ne)}}}return(P=V).\u0275fac=function(ne){return new(ne||P)(m.LFG(Ze,8),m.LFG(m.R0b),m.LFG(s.K0),m.LFG(yt,8))},P.\u0275prov=m.Yz7({token:P,factory:P.\u0275fac,providedIn:"root"}),V})();const en=new m.OlP("cdk-focus-monitor-default-options"),Jn=(0,W.i$)({passive:!0,capture:!0});let pe=(()=>{var P;class V{constructor(ne,le,je,oe,ee){this._ngZone=ne,this._platform=le,this._inputModalityDetector=je,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 U.x,this._rootNodeFocusAndBlurListener=Pe=>{for(let ce=(0,W.sA)(Pe);ce;ce=ce.parentElement)"focus"===Pe.type?this._onFocus(Pe,ce):this._onBlur(Pe,ce)},this._document=oe,this._detectionMode=ee?.detectionMode||0}monitor(ne,le=!1){const je=(0,Je.fI)(ne);if(!this._platform.isBrowser||1!==je.nodeType)return(0,Z.of)();const oe=(0,W.kV)(je)||this._getDocument(),ee=this._elementInfo.get(je);if(ee)return le&&(ee.checkChildren=!0),ee.subject;const Pe={checkChildren:le,subject:new U.x,rootNode:oe};return this._elementInfo.set(je,Pe),this._registerGlobalListeners(Pe),Pe.subject}stopMonitoring(ne){const le=(0,Je.fI)(ne),je=this._elementInfo.get(le);je&&(je.subject.complete(),this._setClasses(le),this._elementInfo.delete(le),this._removeGlobalListeners(je))}focusVia(ne,le,je){const oe=(0,Je.fI)(ne);oe===this._getDocument().activeElement?this._getClosestElementsInfo(oe).forEach(([Pe,X])=>this._originChanged(Pe,le,X)):(this._setOrigin(le),"function"==typeof oe.focus&&oe.focus(je))}ngOnDestroy(){this._elementInfo.forEach((ne,le)=>this.stopMonitoring(le))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(ne){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(ne)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:ne&&this._isLastInteractionFromInputLabel(ne)?"mouse":"program"}_shouldBeAttributedToTouch(ne){return 1===this._detectionMode||!!ne?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(ne,le){ne.classList.toggle("cdk-focused",!!le),ne.classList.toggle("cdk-touch-focused","touch"===le),ne.classList.toggle("cdk-keyboard-focused","keyboard"===le),ne.classList.toggle("cdk-mouse-focused","mouse"===le),ne.classList.toggle("cdk-program-focused","program"===le)}_setOrigin(ne,le=!1){this._ngZone.runOutsideAngular(()=>{this._origin=ne,this._originFromTouchInteraction="touch"===ne&&le,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(ne,le){const je=this._elementInfo.get(le),oe=(0,W.sA)(ne);!je||!je.checkChildren&&le!==oe||this._originChanged(le,this._getFocusOrigin(oe),je)}_onBlur(ne,le){const je=this._elementInfo.get(le);!je||je.checkChildren&&ne.relatedTarget instanceof Node&&le.contains(ne.relatedTarget)||(this._setClasses(le),this._emitOrigin(je,null))}_emitOrigin(ne,le){ne.subject.observers.length&&this._ngZone.run(()=>ne.subject.next(le))}_registerGlobalListeners(ne){if(!this._platform.isBrowser)return;const le=ne.rootNode,je=this._rootNodeFocusListenerCount.get(le)||0;je||this._ngZone.runOutsideAngular(()=>{le.addEventListener("focus",this._rootNodeFocusAndBlurListener,Jn),le.addEventListener("blur",this._rootNodeFocusAndBlurListener,Jn)}),this._rootNodeFocusListenerCount.set(le,je+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,we.R)(this._stopInputModalityDetector)).subscribe(oe=>{this._setOrigin(oe,!0)}))}_removeGlobalListeners(ne){const le=ne.rootNode;if(this._rootNodeFocusListenerCount.has(le)){const je=this._rootNodeFocusListenerCount.get(le);je>1?this._rootNodeFocusListenerCount.set(le,je-1):(le.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Jn),le.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Jn),this._rootNodeFocusListenerCount.delete(le))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(ne,le,je){this._setClasses(ne,le),this._emitOrigin(je,le),this._lastFocusOrigin=le}_getClosestElementsInfo(ne){const le=[];return this._elementInfo.forEach((je,oe)=>{(oe===ne||je.checkChildren&&oe.contains(ne))&&le.push([oe,je])}),le}_isLastInteractionFromInputLabel(ne){const{_mostRecentTarget:le,mostRecentModality:je}=this._inputModalityDetector;if("mouse"!==je||!le||le===ne||"INPUT"!==ne.nodeName&&"TEXTAREA"!==ne.nodeName||ne.disabled)return!1;const oe=ne.labels;if(oe)for(let ee=0;ee<oe.length;ee++)if(oe[ee].contains(le))return!0;return!1}}return(P=V).\u0275fac=function(ne){return new(ne||P)(m.LFG(m.R0b),m.LFG(W.t4),m.LFG(dr),m.LFG(s.K0,8),m.LFG(en,8))},P.\u0275prov=m.Yz7({token:P,factory:P.\u0275fac,providedIn:"root"}),V})(),B=(()=>{var P;class V{constructor(ne,le){this._elementRef=ne,this._focusMonitor=le,this._focusOrigin=null,this.cdkFocusChange=new m.vpe}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const ne=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(ne,1===ne.nodeType&&ne.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(le=>{this._focusOrigin=le,this.cdkFocusChange.emit(le)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return(P=V).\u0275fac=function(ne){return new(ne||P)(m.Y36(m.SBq),m.Y36(pe))},P.\u0275dir=m.lG2({type:P,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]}),V})();const k="cdk-high-contrast-black-on-white",O="cdk-high-contrast-white-on-black",D="cdk-high-contrast-active";let F=(()=>{var P;class V{constructor(ne,le){this._platform=ne,this._document=le,this._breakpointSubscription=(0,m.f3M)(ht).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const ne=this._document.createElement("div");ne.style.backgroundColor="rgb(1,2,3)",ne.style.position="absolute",this._document.body.appendChild(ne);const le=this._document.defaultView||window,je=le&&le.getComputedStyle?le.getComputedStyle(ne):null,oe=(je&&je.backgroundColor||"").replace(/ /g,"");switch(ne.remove(),oe){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 ne=this._document.body.classList;ne.remove(D,k,O),this._hasCheckedHighContrastMode=!0;const le=this.getHighContrastMode();1===le?ne.add(D,k):2===le&&ne.add(D,O)}}}return(P=V).\u0275fac=function(ne){return new(ne||P)(m.LFG(W.t4),m.LFG(s.K0))},P.\u0275prov=m.Yz7({token:P,factory:P.\u0275fac,providedIn:"root"}),V})(),R=(()=>{var P;class V{constructor(ne){ne._applyBodyHighContrastModeCssClasses()}}return(P=V).\u0275fac=function(ne){return new(ne||P)(m.LFG(F))},P.\u0275mod=m.oAB({type:P}),P.\u0275inj=m.cJS({imports:[Ve.Q8]}),V})()},9388:(ft,De,v)=>{v.d(De,{Is:()=>Z,vT:()=>te});var s=v(5879),m=v(6814);const W=new s.OlP("cdk-dir-doc",{providedIn:"root",factory:function U(){return(0,s.f3M)(m.K0)}}),I=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let Z=(()=>{var H;class J{constructor(Se){this.value="ltr",this.change=new s.vpe,Se&&(this.value=function Y(H){const J=H?.toLowerCase()||"";return"auto"===J&&typeof navigator<"u"&&navigator?.language?I.test(navigator.language)?"rtl":"ltr":"rtl"===J?"rtl":"ltr"}((Se.body?Se.body.dir:null)||(Se.documentElement?Se.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}}return(H=J).\u0275fac=function(Se){return new(Se||H)(s.LFG(W,8))},H.\u0275prov=s.Yz7({token:H,factory:H.\u0275fac,providedIn:"root"}),J})(),te=(()=>{var H;class J{}return(H=J).\u0275fac=function(Se){return new(Se||H)},H.\u0275mod=s.oAB({type:H}),H.\u0275inj=s.cJS({}),J})()},2495:(ft,De,v)=>{v.d(De,{Eq:()=>I,HM:()=>Y,Ig:()=>m,du:()=>re,fI:()=>Z,su:()=>W});var s=v(5879);function m(te){return null!=te&&"false"!=`${te}`}function W(te,H=0){return function U(te){return!isNaN(parseFloat(te))&&!isNaN(Number(te))}(te)?Number(te):H}function I(te){return Array.isArray(te)?te:[te]}function Y(te){return null==te?"":"string"==typeof te?te:`${te}px`}function Z(te){return te instanceof s.SBq?te.nativeElement:te}function re(te,H=/\s+/){const J=[];if(null!=te){const fe=Array.isArray(te)?te:`${te}`.split(H);for(const Se of fe){const Ie=`${Se}`.trim();Ie&&J.push(Ie)}}return J}},6028:(ft,De,v)=>{v.d(De,{A:()=>Qe,JH:()=>ke,JU:()=>Y,K5:()=>I,Ku:()=>Se,LH:()=>Ve,L_:()=>fe,MW:()=>cn,Mf:()=>W,SV:()=>ut,Sd:()=>we,VM:()=>Ie,Vb:()=>ii,Z:()=>Tn,ZH:()=>m,aO:()=>gn,b2:()=>Rr,hY:()=>J,jx:()=>Z,oh:()=>Je,uR:()=>Ke,xE:()=>ge,yY:()=>ue,zL:()=>re});const m=8,W=9,I=13,Y=16,Z=17,re=18,J=27,fe=32,Se=33,Ie=34,Ke=35,we=36,Je=37,Ve=38,ut=39,ke=40,ue=46,ge=48,gn=57,Qe=65,Tn=90,cn=91,Rr=224;function ii(Xr,...yr){return yr.length?yr.some(Tr=>Xr[Tr]):Xr.altKey||Xr.shiftKey||Xr.ctrlKey||Xr.metaKey}},7131:(ft,De,v)=>{v.d(De,{Q8:()=>I});var s=v(5879);let m=(()=>{var Y;class Z{create(te){return typeof MutationObserver>"u"?null:new MutationObserver(te)}}return(Y=Z).\u0275fac=function(te){return new(te||Y)},Y.\u0275prov=s.Yz7({token:Y,factory:Y.\u0275fac,providedIn:"root"}),Z})(),I=(()=>{var Y;class Z{}return(Y=Z).\u0275fac=function(te){return new(te||Y)},Y.\u0275mod=s.oAB({type:Y}),Y.\u0275inj=s.cJS({providers:[m]}),Z})()},2831:(ft,De,v)=>{v.d(De,{Mq:()=>Ie,Oy:()=>G,ht:()=>ut,i$:()=>J,kV:()=>Ve,qK:()=>re,sA:()=>ke,t4:()=>U});var s=v(5879),m=v(6814);let W;try{W=typeof Intl<"u"&&Intl.v8BreakIterator}catch{W=!1}let Y,U=(()=>{var z;class ie{constructor(ge){this._platformId=ge,this.isBrowser=this._platformId?(0,m.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&&!W)&&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(z=ie).\u0275fac=function(ge){return new(ge||z)(s.LFG(s.Lbi))},z.\u0275prov=s.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),ie})();const Z=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function re(){if(Y)return Y;if("object"!=typeof document||!document)return Y=new Set(Z),Y;let z=document.createElement("input");return Y=new Set(Z.filter(ie=>(z.setAttribute("type",ie),z.type===ie))),Y}let te,Se,we;function J(z){return function H(){if(null==te&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>te=!0}))}finally{te=te||!1}return te}()?z:!!z.capture}function Ie(){if(null==Se){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return Se=!1,Se;if("scrollBehavior"in document.documentElement.style)Se=!0;else{const z=Element.prototype.scrollTo;Se=!!z&&!/\{\s*\[native code\]\s*\}/.test(z.toString())}}return Se}function Ve(z){if(function Je(){if(null==we){const z=typeof document<"u"?document.head:null;we=!(!z||!z.createShadowRoot&&!z.attachShadow)}return we}()){const ie=z.getRootNode?z.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&ie instanceof ShadowRoot)return ie}return null}function ut(){let z=typeof document<"u"&&document?document.activeElement:null;for(;z&&z.shadowRoot;){const ie=z.shadowRoot.activeElement;if(ie===z)break;z=ie}return z}function ke(z){return z.composedPath?z.composedPath()[0]:z.target}function G(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},6814:(ft,De,v)=>{v.d(De,{$G:()=>Hn,Do:()=>we,ED:()=>ji,EM:()=>Tt,HT:()=>U,JF:()=>yn,JJ:()=>It,K0:()=>Y,Mx:()=>sr,NF:()=>Me,O5:()=>Rr,Ov:()=>Pi,PC:()=>yo,PM:()=>be,RF:()=>Tr,S$:()=>Se,Ts:()=>Ro,V_:()=>re,Ye:()=>Je,Zd:()=>Fi,b0:()=>Ke,bD:()=>Wr,ez:()=>lr,mk:()=>Ln,n9:()=>Ai,q:()=>W,sg:()=>An,tP:()=>bo,uU:()=>Dr,w_:()=>I});var s=v(5879);let m=null;function W(){return m}function U(f){m||(m=f)}class I{}const Y=new s.OlP("DocumentToken");let Z=(()=>{var f;class T{historyGo(b){throw new Error("Not implemented")}}return(f=T).\u0275fac=function(b){return new(b||f)},f.\u0275prov=s.Yz7({token:f,factory:function(){return(0,s.f3M)(te)},providedIn:"platform"}),T})();const re=new s.OlP("Location Initialized");let te=(()=>{var f;class T extends Z{constructor(){super(),this._doc=(0,s.f3M)(Y),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return W().getBaseHref(this._doc)}onPopState(b){const $=W().getGlobalEventTarget(this._doc,"window");return $.addEventListener("popstate",b,!1),()=>$.removeEventListener("popstate",b)}onHashChange(b){const $=W().getGlobalEventTarget(this._doc,"window");return $.addEventListener("hashchange",b,!1),()=>$.removeEventListener("hashchange",b)}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(b){this._location.pathname=b}pushState(b,$,de){this._history.pushState(b,$,de)}replaceState(b,$,de){this._history.replaceState(b,$,de)}forward(){this._history.forward()}back(){this._history.back()}historyGo(b=0){this._history.go(b)}getState(){return this._history.state}}return(f=T).\u0275fac=function(b){return new(b||f)},f.\u0275prov=s.Yz7({token:f,factory:function(){return new f},providedIn:"platform"}),T})();function H(f,T){if(0==f.length)return T;if(0==T.length)return f;let se=0;return f.endsWith("/")&&se++,T.startsWith("/")&&se++,2==se?f+T.substring(1):1==se?f+T:f+"/"+T}function J(f){const T=f.match(/#|\?|$/),se=T&&T.index||f.length;return f.slice(0,se-("/"===f[se-1]?1:0))+f.slice(se)}function fe(f){return f&&"?"!==f[0]?"?"+f:f}let Se=(()=>{var f;class T{historyGo(b){throw new Error("Not implemented")}}return(f=T).\u0275fac=function(b){return new(b||f)},f.\u0275prov=s.Yz7({token:f,factory:function(){return(0,s.f3M)(Ke)},providedIn:"root"}),T})();const Ie=new s.OlP("appBaseHref");let Ke=(()=>{var f;class T extends Se{constructor(b,$){super(),this._platformLocation=b,this._removeListenerFns=[],this._baseHref=$??this._platformLocation.getBaseHrefFromDOM()??(0,s.f3M)(Y).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(b){this._removeListenerFns.push(this._platformLocation.onPopState(b),this._platformLocation.onHashChange(b))}getBaseHref(){return this._baseHref}prepareExternalUrl(b){return H(this._baseHref,b)}path(b=!1){const $=this._platformLocation.pathname+fe(this._platformLocation.search),de=this._platformLocation.hash;return de&&b?`${$}${de}`:$}pushState(b,$,de,et){const _t=this.prepareExternalUrl(de+fe(et));this._platformLocation.pushState(b,$,_t)}replaceState(b,$,de,et){const _t=this.prepareExternalUrl(de+fe(et));this._platformLocation.replaceState(b,$,_t)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(b=0){this._platformLocation.historyGo?.(b)}}return(f=T).\u0275fac=function(b){return new(b||f)(s.LFG(Z),s.LFG(Ie,8))},f.\u0275prov=s.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"}),T})(),we=(()=>{var f;class T extends Se{constructor(b,$){super(),this._platformLocation=b,this._baseHref="",this._removeListenerFns=[],null!=$&&(this._baseHref=$)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(b){this._removeListenerFns.push(this._platformLocation.onPopState(b),this._platformLocation.onHashChange(b))}getBaseHref(){return this._baseHref}path(b=!1){let $=this._platformLocation.hash;return null==$&&($="#"),$.length>0?$.substring(1):$}prepareExternalUrl(b){const $=H(this._baseHref,b);return $.length>0?"#"+$:$}pushState(b,$,de,et){let _t=this.prepareExternalUrl(de+fe(et));0==_t.length&&(_t=this._platformLocation.pathname),this._platformLocation.pushState(b,$,_t)}replaceState(b,$,de,et){let _t=this.prepareExternalUrl(de+fe(et));0==_t.length&&(_t=this._platformLocation.pathname),this._platformLocation.replaceState(b,$,_t)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(b=0){this._platformLocation.historyGo?.(b)}}return(f=T).\u0275fac=function(b){return new(b||f)(s.LFG(Z),s.LFG(Ie,8))},f.\u0275prov=s.Yz7({token:f,factory:f.\u0275fac}),T})(),Je=(()=>{var f;class T{constructor(b){this._subject=new s.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=b;const $=this._locationStrategy.getBaseHref();this._basePath=function G(f){if(new RegExp("^(https?:)?//").test(f)){const[,se]=f.split(/\/\/[^\/]+/);return se}return f}(J(ke($))),this._locationStrategy.onPopState(de=>{this._subject.emit({url:this.path(!0),pop:!0,state:de.state,type:de.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(b=!1){return this.normalize(this._locationStrategy.path(b))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(b,$=""){return this.path()==this.normalize(b+fe($))}normalize(b){return T.stripTrailingSlash(function ut(f,T){if(!f||!T.startsWith(f))return T;const se=T.substring(f.length);return""===se||["/",";","?","#"].includes(se[0])?se:T}(this._basePath,ke(b)))}prepareExternalUrl(b){return b&&"/"!==b[0]&&(b="/"+b),this._locationStrategy.prepareExternalUrl(b)}go(b,$="",de=null){this._locationStrategy.pushState(de,"",b,$),this._notifyUrlChangeListeners(this.prepareExternalUrl(b+fe($)),de)}replaceState(b,$="",de=null){this._locationStrategy.replaceState(de,"",b,$),this._notifyUrlChangeListeners(this.prepareExternalUrl(b+fe($)),de)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(b=0){this._locationStrategy.historyGo?.(b)}onUrlChange(b){return this._urlChangeListeners.push(b),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe($=>{this._notifyUrlChangeListeners($.url,$.state)})),()=>{const $=this._urlChangeListeners.indexOf(b);this._urlChangeListeners.splice($,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(b="",$){this._urlChangeListeners.forEach(de=>de(b,$))}subscribe(b,$,de){return this._subject.subscribe({next:b,error:$,complete:de})}}return(f=T).normalizeQueryParams=fe,f.joinWithSlash=H,f.stripTrailingSlash=J,f.\u0275fac=function(b){return new(b||f)(s.LFG(Se))},f.\u0275prov=s.Yz7({token:f,factory:function(){return function Ve(){return new Je((0,s.LFG)(Se))}()},providedIn:"root"}),T})();function ke(f){return f.replace(/\/index.html$/,"")}var ie=function(f){return f[f.Decimal=0]="Decimal",f[f.Percent=1]="Percent",f[f.Currency=2]="Currency",f[f.Scientific=3]="Scientific",f}(ie||{}),ge=function(f){return f[f.Format=0]="Format",f[f.Standalone=1]="Standalone",f}(ge||{}),xe=function(f){return f[f.Narrow=0]="Narrow",f[f.Abbreviated=1]="Abbreviated",f[f.Wide=2]="Wide",f[f.Short=3]="Short",f}(xe||{}),Ge=function(f){return f[f.Short=0]="Short",f[f.Medium=1]="Medium",f[f.Long=2]="Long",f[f.Full=3]="Full",f}(Ge||{}),nt=function(f){return f[f.Decimal=0]="Decimal",f[f.Group=1]="Group",f[f.List=2]="List",f[f.PercentSign=3]="PercentSign",f[f.PlusSign=4]="PlusSign",f[f.MinusSign=5]="MinusSign",f[f.Exponential=6]="Exponential",f[f.SuperscriptingExponent=7]="SuperscriptingExponent",f[f.PerMille=8]="PerMille",f[f.Infinity=9]="Infinity",f[f.NaN=10]="NaN",f[f.TimeSeparator=11]="TimeSeparator",f[f.CurrencyDecimal=12]="CurrencyDecimal",f[f.CurrencyGroup=13]="CurrencyGroup",f}(nt||{});function $e(f,T){return vt((0,s.cg1)(f)[s.wAp.DateFormat],T)}function Ye(f,T){return vt((0,s.cg1)(f)[s.wAp.TimeFormat],T)}function Qe(f,T){return vt((0,s.cg1)(f)[s.wAp.DateTimeFormat],T)}function lt(f,T){const se=(0,s.cg1)(f),b=se[s.wAp.NumberSymbols][T];if(typeof b>"u"){if(T===nt.CurrencyDecimal)return se[s.wAp.NumberSymbols][nt.Decimal];if(T===nt.CurrencyGroup)return se[s.wAp.NumberSymbols][nt.Group]}return b}function N(f){if(!f[s.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${f[s.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function vt(f,T){for(let se=T;se>-1;se--)if(typeof f[se]<"u")return f[se];throw new Error("Locale data API: locale data undefined")}function Lt(f){const[T,se]=f.split(":");return{hours:+T,minutes:+se}}const ir=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Un={},On=/((?:[^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 Nt=function(f){return f[f.Short=0]="Short",f[f.ShortGMT=1]="ShortGMT",f[f.Long=2]="Long",f[f.Extended=3]="Extended",f}(Nt||{}),jt=function(f){return f[f.FullYear=0]="FullYear",f[f.Month=1]="Month",f[f.Date=2]="Date",f[f.Hours=3]="Hours",f[f.Minutes=4]="Minutes",f[f.Seconds=5]="Seconds",f[f.FractionalSeconds=6]="FractionalSeconds",f[f.Day=7]="Day",f}(jt||{}),Vt=function(f){return f[f.DayPeriods=0]="DayPeriods",f[f.Days=1]="Days",f[f.Months=2]="Months",f[f.Eras=3]="Eras",f}(Vt||{});function rn(f,T,se,b){let $=function B(f){if(O(f))return f;if("number"==typeof f&&!isNaN(f))return new Date(f);if("string"==typeof f){if(f=f.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(f)){const[$,de=1,et=1]=f.split("-").map(_t=>+_t);return Xt($,de-1,et)}const se=parseFloat(f);if(!isNaN(f-se))return new Date(se);let b;if(b=f.match(ir))return function k(f){const T=new Date(0);let se=0,b=0;const $=f[8]?T.setUTCFullYear:T.setFullYear,de=f[8]?T.setUTCHours:T.setHours;f[9]&&(se=Number(f[9]+f[10]),b=Number(f[9]+f[11])),$.call(T,Number(f[1]),Number(f[2])-1,Number(f[3]));const et=Number(f[4]||0)-se,_t=Number(f[5]||0)-b,hn=Number(f[6]||0),Vn=Math.floor(1e3*parseFloat("0."+(f[7]||0)));return de.call(T,et,_t,hn,Vn),T}(b)}const T=new Date(f);if(!O(T))throw new Error(`Unable to convert "${f}" into a date`);return T}(f);T=Tn(se,T)||T;let _t,et=[];for(;T;){if(_t=On.exec(T),!_t){et.push(T);break}{et=et.concat(_t.slice(1));const Bn=et.pop();if(!Bn)break;T=Bn}}let hn=$.getTimezoneOffset();b&&(hn=en(b,hn),$=function pe(f,T,se){const b=se?-1:1,$=f.getTimezoneOffset();return function Jn(f,T){return(f=new Date(f.getTime())).setMinutes(f.getMinutes()+T),f}(f,b*(en(T,$)-$))}($,b,!0));let Vn="";return et.forEach(Bn=>{const pn=function Ut(f){if(st[f])return st[f];let T;switch(f){case"G":case"GG":case"GGG":T=on(Vt.Eras,xe.Abbreviated);break;case"GGGG":T=on(Vt.Eras,xe.Wide);break;case"GGGGG":T=on(Vt.Eras,xe.Narrow);break;case"y":T=Yt(jt.FullYear,1,0,!1,!0);break;case"yy":T=Yt(jt.FullYear,2,0,!0,!0);break;case"yyy":T=Yt(jt.FullYear,3,0,!1,!0);break;case"yyyy":T=Yt(jt.FullYear,4,0,!1,!0);break;case"Y":T=We(1);break;case"YY":T=We(2,!0);break;case"YYY":T=We(3);break;case"YYYY":T=We(4);break;case"M":case"L":T=Yt(jt.Month,1,1);break;case"MM":case"LL":T=Yt(jt.Month,2,1);break;case"MMM":T=on(Vt.Months,xe.Abbreviated);break;case"MMMM":T=on(Vt.Months,xe.Wide);break;case"MMMMM":T=on(Vt.Months,xe.Narrow);break;case"LLL":T=on(Vt.Months,xe.Abbreviated,ge.Standalone);break;case"LLLL":T=on(Vt.Months,xe.Wide,ge.Standalone);break;case"LLLLL":T=on(Vt.Months,xe.Narrow,ge.Standalone);break;case"w":T=yt(1);break;case"ww":T=yt(2);break;case"W":T=yt(1,!0);break;case"d":T=Yt(jt.Date,1);break;case"dd":T=Yt(jt.Date,2);break;case"c":case"cc":T=Yt(jt.Day,1);break;case"ccc":T=on(Vt.Days,xe.Abbreviated,ge.Standalone);break;case"cccc":T=on(Vt.Days,xe.Wide,ge.Standalone);break;case"ccccc":T=on(Vt.Days,xe.Narrow,ge.Standalone);break;case"cccccc":T=on(Vt.Days,xe.Short,ge.Standalone);break;case"E":case"EE":case"EEE":T=on(Vt.Days,xe.Abbreviated);break;case"EEEE":T=on(Vt.Days,xe.Wide);break;case"EEEEE":T=on(Vt.Days,xe.Narrow);break;case"EEEEEE":T=on(Vt.Days,xe.Short);break;case"a":case"aa":case"aaa":T=on(Vt.DayPeriods,xe.Abbreviated);break;case"aaaa":T=on(Vt.DayPeriods,xe.Wide);break;case"aaaaa":T=on(Vt.DayPeriods,xe.Narrow);break;case"b":case"bb":case"bbb":T=on(Vt.DayPeriods,xe.Abbreviated,ge.Standalone,!0);break;case"bbbb":T=on(Vt.DayPeriods,xe.Wide,ge.Standalone,!0);break;case"bbbbb":T=on(Vt.DayPeriods,xe.Narrow,ge.Standalone,!0);break;case"B":case"BB":case"BBB":T=on(Vt.DayPeriods,xe.Abbreviated,ge.Format,!0);break;case"BBBB":T=on(Vt.DayPeriods,xe.Wide,ge.Format,!0);break;case"BBBBB":T=on(Vt.DayPeriods,xe.Narrow,ge.Format,!0);break;case"h":T=Yt(jt.Hours,1,-12);break;case"hh":T=Yt(jt.Hours,2,-12);break;case"H":T=Yt(jt.Hours,1);break;case"HH":T=Yt(jt.Hours,2);break;case"m":T=Yt(jt.Minutes,1);break;case"mm":T=Yt(jt.Minutes,2);break;case"s":T=Yt(jt.Seconds,1);break;case"ss":T=Yt(jt.Seconds,2);break;case"S":T=Yt(jt.FractionalSeconds,1);break;case"SS":T=Yt(jt.FractionalSeconds,2);break;case"SSS":T=Yt(jt.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":T=Wn(Nt.Short);break;case"ZZZZZ":T=Wn(Nt.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":T=Wn(Nt.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":T=Wn(Nt.Long);break;default:return null}return st[f]=T,T}(Bn);Vn+=pn?pn($,se,hn):"''"===Bn?"'":Bn.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Vn}function Xt(f,T,se){const b=new Date(0);return b.setFullYear(f,T,se),b.setHours(0,0,0),b}function Tn(f,T){const se=function Mt(f){return(0,s.cg1)(f)[s.wAp.LocaleId]}(f);if(Un[se]=Un[se]||{},Un[se][T])return Un[se][T];let b="";switch(T){case"shortDate":b=$e(f,Ge.Short);break;case"mediumDate":b=$e(f,Ge.Medium);break;case"longDate":b=$e(f,Ge.Long);break;case"fullDate":b=$e(f,Ge.Full);break;case"shortTime":b=Ye(f,Ge.Short);break;case"mediumTime":b=Ye(f,Ge.Medium);break;case"longTime":b=Ye(f,Ge.Long);break;case"fullTime":b=Ye(f,Ge.Full);break;case"short":const $=Tn(f,"shortTime"),de=Tn(f,"shortDate");b=cn(Qe(f,Ge.Short),[$,de]);break;case"medium":const et=Tn(f,"mediumTime"),_t=Tn(f,"mediumDate");b=cn(Qe(f,Ge.Medium),[et,_t]);break;case"long":const hn=Tn(f,"longTime"),Vn=Tn(f,"longDate");b=cn(Qe(f,Ge.Long),[hn,Vn]);break;case"full":const Bn=Tn(f,"fullTime"),pn=Tn(f,"fullDate");b=cn(Qe(f,Ge.Full),[Bn,pn])}return b&&(Un[se][T]=b),b}function cn(f,T){return T&&(f=f.replace(/\{([^}]+)}/g,function(se,b){return null!=T&&b in T?T[b]:se})),f}function _n(f,T,se="-",b,$){let de="";(f<0||$&&f<=0)&&($?f=1-f:(f=-f,de=se));let et=String(f);for(;et.length<T;)et="0"+et;return b&&(et=et.slice(et.length-T)),de+et}function Yt(f,T,se=0,b=!1,$=!1){return function(de,et){let _t=function or(f,T){switch(f){case jt.FullYear:return T.getFullYear();case jt.Month:return T.getMonth();case jt.Date:return T.getDate();case jt.Hours:return T.getHours();case jt.Minutes:return T.getMinutes();case jt.Seconds:return T.getSeconds();case jt.FractionalSeconds:return T.getMilliseconds();case jt.Day:return T.getDay();default:throw new Error(`Unknown DateType value "${f}".`)}}(f,de);if((se>0||_t>-se)&&(_t+=se),f===jt.Hours)0===_t&&-12===se&&(_t=12);else if(f===jt.FractionalSeconds)return function Fn(f,T){return _n(f,3).substring(0,T)}(_t,T);const hn=lt(et,nt.MinusSign);return _n(_t,T,hn,b,$)}}function on(f,T,se=ge.Format,b=!1){return function($,de){return function Qn(f,T,se,b,$,de){switch(se){case Vt.Months:return function $t(f,T,se){const b=(0,s.cg1)(f),de=vt([b[s.wAp.MonthsFormat],b[s.wAp.MonthsStandalone]],T);return vt(de,se)}(T,$,b)[f.getMonth()];case Vt.Days:return function Gt(f,T,se){const b=(0,s.cg1)(f),de=vt([b[s.wAp.DaysFormat],b[s.wAp.DaysStandalone]],T);return vt(de,se)}(T,$,b)[f.getDay()];case Vt.DayPeriods:const et=f.getHours(),_t=f.getMinutes();if(de){const Vn=function Ae(f){const T=(0,s.cg1)(f);return N(T),(T[s.wAp.ExtraData][2]||[]).map(b=>"string"==typeof b?Lt(b):[Lt(b[0]),Lt(b[1])])}(T),Bn=function Le(f,T,se){const b=(0,s.cg1)(f);N(b);const de=vt([b[s.wAp.ExtraData][0],b[s.wAp.ExtraData][1]],T)||[];return vt(de,se)||[]}(T,$,b),pn=Vn.findIndex(cr=>{if(Array.isArray(cr)){const[qn,mr]=cr,vi=et>=qn.hours&&_t>=qn.minutes,Ti=et<mr.hours||et===mr.hours&&_t<mr.minutes;if(qn.hours<mr.hours){if(vi&&Ti)return!0}else if(vi||Ti)return!0}else if(cr.hours===et&&cr.minutes===_t)return!0;return!1});if(-1!==pn)return Bn[pn]}return function Pt(f,T,se){const b=(0,s.cg1)(f),de=vt([b[s.wAp.DayPeriodsFormat],b[s.wAp.DayPeriodsStandalone]],T);return vt(de,se)}(T,$,b)[et<12?0:1];case Vt.Eras:return function gn(f,T){return vt((0,s.cg1)(f)[s.wAp.Eras],T)}(T,b)[f.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${se}`)}}($,de,f,T,se,b)}}function Wn(f){return function(T,se,b){const $=-1*b,de=lt(se,nt.MinusSign),et=$>0?Math.floor($/60):Math.ceil($/60);switch(f){case Nt.Short:return($>=0?"+":"")+_n(et,2,de)+_n(Math.abs($%60),2,de);case Nt.ShortGMT:return"GMT"+($>=0?"+":"")+_n(et,1,de);case Nt.Long:return"GMT"+($>=0?"+":"")+_n(et,2,de)+":"+_n(Math.abs($%60),2,de);case Nt.Extended:return 0===b?"Z":($>=0?"+":"")+_n(et,2,de)+":"+_n(Math.abs($%60),2,de);default:throw new Error(`Unknown zone width "${f}"`)}}}const In=0,dr=4;function Dt(f){return Xt(f.getFullYear(),f.getMonth(),f.getDate()+(dr-f.getDay()))}function yt(f,T=!1){return function(se,b){let $;if(T){const de=new Date(se.getFullYear(),se.getMonth(),1).getDay()-1,et=se.getDate();$=1+Math.floor((et+de)/7)}else{const de=Dt(se),et=function Ze(f){const T=Xt(f,In,1).getDay();return Xt(f,0,1+(T<=dr?dr:dr+7)-T)}(de.getFullYear()),_t=de.getTime()-et.getTime();$=1+Math.round(_t/6048e5)}return _n($,f,lt(b,nt.MinusSign))}}function We(f,T=!1){return function(se,b){return _n(Dt(se).getFullYear(),f,lt(b,nt.MinusSign),T)}}const st={};function en(f,T){f=f.replace(/:/g,"");const se=Date.parse("Jan 01, 1970 00:00:00 "+f)/6e4;return isNaN(se)?T:se}function O(f){return f instanceof Date&&!isNaN(f.valueOf())}const D=/^(\d+)?\.((\d+)(-(\d+))?)?$/,R=".",P="0";function wt(f){const T=parseInt(f);if(isNaN(T))throw new Error("Invalid integer literal when parsing "+f);return T}function sr(f,T){T=encodeURIComponent(T);for(const se of f.split(";")){const b=se.indexOf("="),[$,de]=-1==b?[se,""]:[se.slice(0,b),se.slice(b+1)];if($.trim()===T)return decodeURIComponent(de)}return null}const Vr=/\s+/,Ar=[];let Ln=(()=>{var f;class T{constructor(b,$,de,et){this._iterableDiffers=b,this._keyValueDiffers=$,this._ngEl=de,this._renderer=et,this.initialClasses=Ar,this.stateMap=new Map}set klass(b){this.initialClasses=null!=b?b.trim().split(Vr):Ar}set ngClass(b){this.rawClass="string"==typeof b?b.trim().split(Vr):b}ngDoCheck(){for(const $ of this.initialClasses)this._updateState($,!0);const b=this.rawClass;if(Array.isArray(b)||b instanceof Set)for(const $ of b)this._updateState($,!0);else if(null!=b)for(const $ of Object.keys(b))this._updateState($,!!b[$]);this._applyStateDiff()}_updateState(b,$){const de=this.stateMap.get(b);void 0!==de?(de.enabled!==$&&(de.changed=!0,de.enabled=$),de.touched=!0):this.stateMap.set(b,{enabled:$,changed:!0,touched:!0})}_applyStateDiff(){for(const b of this.stateMap){const $=b[0],de=b[1];de.changed?(this._toggleClass($,de.enabled),de.changed=!1):de.touched||(de.enabled&&this._toggleClass($,!1),this.stateMap.delete($)),de.touched=!1}}_toggleClass(b,$){(b=b.trim()).length>0&&b.split(Vr).forEach(de=>{$?this._renderer.addClass(this._ngEl.nativeElement,de):this._renderer.removeClass(this._ngEl.nativeElement,de)})}}return(f=T).\u0275fac=function(b){return new(b||f)(s.Y36(s.ZZ4),s.Y36(s.aQg),s.Y36(s.SBq),s.Y36(s.Qsj))},f.\u0275dir=s.lG2({type:f,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),T})(),Hn=(()=>{var f;class T{constructor(b){this._viewContainerRef=b,this.ngComponentOutlet=null,this._inputsUsed=new Map}_needToReCreateNgModuleInstance(b){return void 0!==b.ngComponentOutletNgModule||void 0!==b.ngComponentOutletNgModuleFactory}_needToReCreateComponentInstance(b){return void 0!==b.ngComponentOutlet||void 0!==b.ngComponentOutletContent||void 0!==b.ngComponentOutletInjector||this._needToReCreateNgModuleInstance(b)}ngOnChanges(b){if(this._needToReCreateComponentInstance(b)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){const $=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(b)&&(this._moduleRef?.destroy(),this._moduleRef=this.ngComponentOutletNgModule?(0,s.Lck)(this.ngComponentOutletNgModule,zr($)):this.ngComponentOutletNgModuleFactory?this.ngComponentOutletNgModuleFactory.create(zr($)):void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:$,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(const b of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(b,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(b){for(const[$,de]of this._inputsUsed)de?(b.setInput($,this.ngComponentOutletInputs[$]),this._inputsUsed.set($,!1)):(b.setInput($,void 0),this._inputsUsed.delete($))}}return(f=T).\u0275fac=function(b){return new(b||f)(s.Y36(s.s_b))},f.\u0275dir=s.lG2({type:f,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[s.TTD]}),T})();function zr(f){return f.get(s.h0i).injector}class Or{constructor(T,se,b,$){this.$implicit=T,this.ngForOf=se,this.index=b,this.count=$}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 An=(()=>{var f;class T{set ngForOf(b){this._ngForOf=b,this._ngForOfDirty=!0}set ngForTrackBy(b){this._trackByFn=b}get ngForTrackBy(){return this._trackByFn}constructor(b,$,de){this._viewContainer=b,this._template=$,this._differs=de,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(b){b&&(this._template=b)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const b=this._ngForOf;!this._differ&&b&&(this._differ=this._differs.find(b).create(this.ngForTrackBy))}if(this._differ){const b=this._differ.diff(this._ngForOf);b&&this._applyChanges(b)}}_applyChanges(b){const $=this._viewContainer;b.forEachOperation((de,et,_t)=>{if(null==de.previousIndex)$.createEmbeddedView(this._template,new Or(de.item,this._ngForOf,-1,-1),null===_t?void 0:_t);else if(null==_t)$.remove(null===et?void 0:et);else if(null!==et){const hn=$.get(et);$.move(hn,_t),Pr(hn,de)}});for(let de=0,et=$.length;de<et;de++){const hn=$.get(de).context;hn.index=de,hn.count=et,hn.ngForOf=this._ngForOf}b.forEachIdentityChange(de=>{Pr($.get(de.currentIndex),de)})}static ngTemplateContextGuard(b,$){return!0}}return(f=T).\u0275fac=function(b){return new(b||f)(s.Y36(s.s_b),s.Y36(s.Rgc),s.Y36(s.ZZ4))},f.\u0275dir=s.lG2({type:f,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),T})();function Pr(f,T){f.context.$implicit=T.item}let Rr=(()=>{var f;class T{constructor(b,$){this._viewContainer=b,this._context=new ii,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=$}set ngIf(b){this._context.$implicit=this._context.ngIf=b,this._updateView()}set ngIfThen(b){Xr("ngIfThen",b),this._thenTemplateRef=b,this._thenViewRef=null,this._updateView()}set ngIfElse(b){Xr("ngIfElse",b),this._elseTemplateRef=b,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(b,$){return!0}}return(f=T).\u0275fac=function(b){return new(b||f)(s.Y36(s.s_b),s.Y36(s.Rgc))},f.\u0275dir=s.lG2({type:f,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),T})();class ii{constructor(){this.$implicit=null,this.ngIf=null}}function Xr(f,T){if(T&&!T.createEmbeddedView)throw new Error(`${f} must be a TemplateRef, but received '${(0,s.AaK)(T)}'.`)}class yr{constructor(T,se){this._viewContainerRef=T,this._templateRef=se,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(T){T&&!this._created?this.create():!T&&this._created&&this.destroy()}}let Tr=(()=>{var f;class T{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(b){this._ngSwitch=b,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(b){this._defaultViews.push(b)}_matchCase(b){const $=b==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||$,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),$}_updateDefaultCases(b){if(this._defaultViews.length>0&&b!==this._defaultUsed){this._defaultUsed=b;for(const $ of this._defaultViews)$.enforceState(b)}}}return(f=T).\u0275fac=function(b){return new(b||f)},f.\u0275dir=s.lG2({type:f,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),T})(),Ai=(()=>{var f;class T{constructor(b,$,de){this.ngSwitch=de,de._addCase(),this._view=new yr(b,$)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return(f=T).\u0275fac=function(b){return new(b||f)(s.Y36(s.s_b),s.Y36(s.Rgc),s.Y36(Tr,9))},f.\u0275dir=s.lG2({type:f,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),T})(),ji=(()=>{var f;class T{constructor(b,$,de){de._addDefault(new yr(b,$))}}return(f=T).\u0275fac=function(b){return new(b||f)(s.Y36(s.s_b),s.Y36(s.Rgc),s.Y36(Tr,9))},f.\u0275dir=s.lG2({type:f,selectors:[["","ngSwitchDefault",""]],standalone:!0}),T})(),yo=(()=>{var f;class T{constructor(b,$,de){this._ngEl=b,this._differs=$,this._renderer=de,this._ngStyle=null,this._differ=null}set ngStyle(b){this._ngStyle=b,!this._differ&&b&&(this._differ=this._differs.find(b).create())}ngDoCheck(){if(this._differ){const b=this._differ.diff(this._ngStyle);b&&this._applyChanges(b)}}_setStyle(b,$){const[de,et]=b.split("."),_t=-1===de.indexOf("-")?void 0:s.JOm.DashCase;null!=$?this._renderer.setStyle(this._ngEl.nativeElement,de,et?`${$}${et}`:$,_t):this._renderer.removeStyle(this._ngEl.nativeElement,de,_t)}_applyChanges(b){b.forEachRemovedItem($=>this._setStyle($.key,null)),b.forEachAddedItem($=>this._setStyle($.key,$.currentValue)),b.forEachChangedItem($=>this._setStyle($.key,$.currentValue))}}return(f=T).\u0275fac=function(b){return new(b||f)(s.Y36(s.SBq),s.Y36(s.aQg),s.Y36(s.Qsj))},f.\u0275dir=s.lG2({type:f,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),T})(),bo=(()=>{var f;class T{constructor(b){this._viewContainerRef=b,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(b){if(b.ngTemplateOutlet||b.ngTemplateOutletInjector){const $=this._viewContainerRef;if(this._viewRef&&$.remove($.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:de,ngTemplateOutletContext:et,ngTemplateOutletInjector:_t}=this;this._viewRef=$.createEmbeddedView(de,et,_t?{injector:_t}:void 0)}else this._viewRef=null}else this._viewRef&&b.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return(f=T).\u0275fac=function(b){return new(b||f)(s.Y36(s.s_b))},f.\u0275dir=s.lG2({type:f,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[s.TTD]}),T})();function br(f,T){return new s.vHH(2100,!1)}class oi{createSubscription(T,se){return(0,s.rg0)(()=>T.subscribe({next:se,error:b=>{throw b}}))}dispose(T){(0,s.rg0)(()=>T.unsubscribe())}}class pi{createSubscription(T,se){return T.then(se,b=>{throw b})}dispose(T){}}const Eo=new pi,so=new oi;let Pi=(()=>{var f;class T{constructor(b){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=b}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(b){return this._obj?b!==this._obj?(this._dispose(),this.transform(b)):this._latestValue:(b&&this._subscribe(b),this._latestValue)}_subscribe(b){this._obj=b,this._strategy=this._selectStrategy(b),this._subscription=this._strategy.createSubscription(b,$=>this._updateLatestValue(b,$))}_selectStrategy(b){if((0,s.QGY)(b))return Eo;if((0,s.F4k)(b))return so;throw br()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(b,$){b===this._obj&&(this._latestValue=$,this._ref.markForCheck())}}return(f=T).\u0275fac=function(b){return new(b||f)(s.Y36(s.sBO,16))},f.\u0275pipe=s.Yjl({name:"async",type:f,pure:!1,standalone:!0}),T})();const fr=new s.OlP("DATE_PIPE_DEFAULT_TIMEZONE"),wr=new s.OlP("DATE_PIPE_DEFAULT_OPTIONS");let Dr=(()=>{var f;class T{constructor(b,$,de){this.locale=b,this.defaultTimezone=$,this.defaultOptions=de}transform(b,$,de,et){if(null==b||""===b||b!=b)return null;try{return rn(b,$??this.defaultOptions?.dateFormat??"mediumDate",et||this.locale,de??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(_t){throw br()}}}return(f=T).\u0275fac=function(b){return new(b||f)(s.Y36(s.soG,16),s.Y36(fr,24),s.Y36(wr,24))},f.\u0275pipe=s.Yjl({name:"date",type:f,pure:!0,standalone:!0}),T})(),Ro=(()=>{var f;class T{transform(b){return JSON.stringify(b,null,2)}}return(f=T).\u0275fac=function(b){return new(b||f)},f.\u0275pipe=s.Yjl({name:"json",type:f,pure:!1,standalone:!0}),T})(),It=(()=>{var f;class T{constructor(b){this._locale=b}transform(b,$,de){if(!function Nr(f){return!(null==f||""===f||f!=f)}(b))return null;de=de||this._locale;try{return function X(f,T,se){return function oe(f,T,se,b,$,de,et=!1){let _t="",hn=!1;if(isFinite(f)){let Vn=function rt(f){let b,$,de,et,_t,T=Math.abs(f)+"",se=0;for(($=T.indexOf(R))>-1&&(T=T.replace(R,"")),(de=T.search(/e/i))>0?($<0&&($=de),$+=+T.slice(de+1),T=T.substring(0,de)):$<0&&($=T.length),de=0;T.charAt(de)===P;de++);if(de===(_t=T.length))b=[0],$=1;else{for(_t--;T.charAt(_t)===P;)_t--;for($-=de,b=[],et=0;de<=_t;de++,et++)b[et]=Number(T.charAt(de))}return $>22&&(b=b.splice(0,21),se=$-1,$=1),{digits:b,exponent:se,integerLen:$}}(f);et&&(Vn=function Ce(f){if(0===f.digits[0])return f;const T=f.digits.length-f.integerLen;return f.exponent?f.exponent+=2:(0===T?f.digits.push(0,0):1===T&&f.digits.push(0),f.integerLen+=2),f}(Vn));let Bn=T.minInt,pn=T.minFrac,cr=T.maxFrac;if(de){const yi=de.match(D);if(null===yi)throw new Error(`${de} is not a valid digit info`);const Lr=yi[1],xr=yi[3],no=yi[5];null!=Lr&&(Bn=wt(Lr)),null!=xr&&(pn=wt(xr)),null!=no?cr=wt(no):null!=xr&&pn>cr&&(cr=pn)}!function Xe(f,T,se){if(T>se)throw new Error(`The minimum number of digits after fraction (${T}) is higher than the maximum (${se}).`);let b=f.digits,$=b.length-f.integerLen;const de=Math.min(Math.max(T,$),se);let et=de+f.integerLen,_t=b[et];if(et>0){b.splice(Math.max(f.integerLen,et));for(let pn=et;pn<b.length;pn++)b[pn]=0}else{$=Math.max(0,$),f.integerLen=1,b.length=Math.max(1,et=de+1),b[0]=0;for(let pn=1;pn<et;pn++)b[pn]=0}if(_t>=5)if(et-1<0){for(let pn=0;pn>et;pn--)b.unshift(0),f.integerLen++;b.unshift(1),f.integerLen++}else b[et-1]++;for(;$<Math.max(0,de);$++)b.push(0);let hn=0!==de;const Vn=T+f.integerLen,Bn=b.reduceRight(function(pn,cr,qn,mr){return mr[qn]=(cr+=pn)<10?cr:cr-10,hn&&(0===mr[qn]&&qn>=Vn?mr.pop():hn=!1),cr>=10?1:0},0);Bn&&(b.unshift(Bn),f.integerLen++)}(Vn,pn,cr);let qn=Vn.digits,mr=Vn.integerLen;const vi=Vn.exponent;let Ti=[];for(hn=qn.every(yi=>!yi);mr<Bn;mr++)qn.unshift(0);for(;mr<0;mr++)qn.unshift(0);mr>0?Ti=qn.splice(mr,qn.length):(Ti=qn,qn=[0]);const Si=[];for(qn.length>=T.lgSize&&Si.unshift(qn.splice(-T.lgSize,qn.length).join(""));qn.length>T.gSize;)Si.unshift(qn.splice(-T.gSize,qn.length).join(""));qn.length&&Si.unshift(qn.join("")),_t=Si.join(lt(se,b)),Ti.length&&(_t+=lt(se,$)+Ti.join("")),vi&&(_t+=lt(se,nt.Exponential)+"+"+vi)}else _t=lt(se,nt.Infinity);return _t=f<0&&!hn?T.negPre+_t+T.negSuf:T.posPre+_t+T.posSuf,_t}(f,function ce(f,T="-"){const se={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},b=f.split(";"),$=b[0],de=b[1],et=-1!==$.indexOf(R)?$.split(R):[$.substring(0,$.lastIndexOf(P)+1),$.substring($.lastIndexOf(P)+1)],_t=et[0],hn=et[1]||"";se.posPre=_t.substring(0,_t.indexOf("#"));for(let Bn=0;Bn<hn.length;Bn++){const pn=hn.charAt(Bn);pn===P?se.minFrac=se.maxFrac=Bn+1:"#"===pn?se.maxFrac=Bn+1:se.posSuf+=pn}const Vn=_t.split(",");if(se.gSize=Vn[1]?Vn[1].length:0,se.lgSize=Vn[2]||Vn[1]?(Vn[2]||Vn[1]).length:0,de){const Bn=$.length-se.posPre.length-se.posSuf.length,pn=de.indexOf("#");se.negPre=de.substring(0,pn).replace(/'/g,""),se.negSuf=de.slice(pn+Bn).replace(/'/g,"")}else se.negPre=T+se.posPre,se.negSuf=se.posSuf;return se}(function dt(f,T){return(0,s.cg1)(f)[s.wAp.NumberFormats][T]}(T,ie.Decimal),lt(T,nt.MinusSign)),T,nt.Group,nt.Decimal,se)}(function ui(f){if("string"==typeof f&&!isNaN(Number(f)-parseFloat(f)))return Number(f);if("number"!=typeof f)throw new Error(`${f} is not a number`);return f}(b),de,$)}catch(et){throw br()}}}return(f=T).\u0275fac=function(b){return new(b||f)(s.Y36(s.soG,16))},f.\u0275pipe=s.Yjl({name:"number",type:f,pure:!0,standalone:!0}),T})();let lr=(()=>{var f;class T{}return(f=T).\u0275fac=function(b){return new(b||f)},f.\u0275mod=s.oAB({type:f}),f.\u0275inj=s.cJS({}),T})();const Wr="browser",Di="server";function Me(f){return f===Wr}function be(f){return f===Di}let Tt=(()=>{var f;class T{}return(f=T).\u0275prov=(0,s.Yz7)({token:f,providedIn:"root",factory:()=>new Kt((0,s.LFG)(Y),window)}),T})();class Kt{constructor(T,se){this.document=T,this.window=se,this.offset=()=>[0,0]}setOffset(T){this.offset=Array.isArray(T)?()=>T:T}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(T){this.supportsScrolling()&&this.window.scrollTo(T[0],T[1])}scrollToAnchor(T){if(!this.supportsScrolling())return;const se=function $n(f,T){const se=f.getElementById(T)||f.getElementsByName(T)[0];if(se)return se;if("function"==typeof f.createTreeWalker&&f.body&&"function"==typeof f.body.attachShadow){const b=f.createTreeWalker(f.body,NodeFilter.SHOW_ELEMENT);let $=b.currentNode;for(;$;){const de=$.shadowRoot;if(de){const et=de.getElementById(T)||de.querySelector(`[name="${T}"]`);if(et)return et}$=b.nextNode()}}return null}(this.document,T);se&&(this.scrollToElement(se),se.focus())}setHistoryScrollRestoration(T){this.supportsScrolling()&&(this.window.history.scrollRestoration=T)}scrollToElement(T){const se=T.getBoundingClientRect(),b=se.left+this.window.pageXOffset,$=se.top+this.window.pageYOffset,de=this.offset();this.window.scrollTo(b-de[0],$-de[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class yn{}const tr=f=>f.src,kr=new s.OlP("ImageLoader",{providedIn:"root",factory:()=>tr}),Ms=new s.OlP("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:()=>new Set});let gi=(()=>{var f;class T{constructor(){this.preloadedImages=(0,s.f3M)(Ms),this.document=(0,s.f3M)(Y)}createPreloadLinkTag(b,$,de,et){if(this.preloadedImages.has($))return;this.preloadedImages.add($);const _t=b.createElement("link");b.setAttribute(_t,"as","image"),b.setAttribute(_t,"href",$),b.setAttribute(_t,"rel","preload"),b.setAttribute(_t,"fetchpriority","high"),et&&b.setAttribute(_t,"imageSizes",et),de&&b.setAttribute(_t,"imageSrcset",de),b.appendChild(this.document.head,_t)}}return(f=T).\u0275fac=function(b){return new(b||f)},f.\u0275prov=s.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"}),T})();const ei=/^((\s*\d+w\s*(,|$)){1,})$/,rr=[1,2],eo={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840]},ti=new s.OlP("ImageConfig",{providedIn:"root",factory:()=>eo});let Fi=(()=>{var f;class T{constructor(){this.imageLoader=(0,s.f3M)(kr),this.config=function to(f){let T={};return f.breakpoints&&(T.breakpoints=f.breakpoints.sort((se,b)=>se-b)),Object.assign({},eo,f,T)}((0,s.f3M)(ti)),this.renderer=(0,s.f3M)(s.Qsj),this.imgElement=(0,s.f3M)(s.SBq).nativeElement,this.injector=(0,s.f3M)(s.zs3),this.isServer=be((0,s.f3M)(s.Lbi)),this.preloadLinkCreator=(0,s.f3M)(gi),this.lcpObserver=null,this._renderedSrc=null,this.priority=!1,this.disableOptimizedSrcset=!1,this.fill=!1}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 b=this.updateSrcAndSrcset();this.sizes&&this.setHostAttribute("sizes",this.sizes),this.isServer&&this.priority&&this.preloadLinkCreator.createPreloadLinkTag(this.renderer,this.getRewrittenSrc(),b,this.sizes)}ngOnChanges(b){if(b.ngSrc&&!b.ngSrc.isFirstChange()){const $=this._renderedSrc;this.updateSrcAndSrcset(!0);const de=this._renderedSrc;null!==this.lcpObserver&&$&&de&&$!==de&&this.injector.get(s.R0b).runOutsideAngular(()=>{this.lcpObserver?.updateImage($,de)})}}callImageLoader(b){let $=b;return this.loaderParams&&($.loaderParams=this.loaderParams),this.imageLoader($)}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.callImageLoader({src:this.ngSrc})),this._renderedSrc}getRewrittenSrcset(){const b=ei.test(this.ngSrcset);return this.ngSrcset.split(",").filter(de=>""!==de).map(de=>{de=de.trim();const et=b?parseFloat(de):parseFloat(de)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:et})} ${de}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){const{breakpoints:b}=this.config;let $=b;return"100vw"===this.sizes?.trim()&&($=b.filter(et=>et>=640)),$.map(et=>`${this.callImageLoader({src:this.ngSrc,width:et})} ${et}w`).join(", ")}updateSrcAndSrcset(b=!1){b&&(this._renderedSrc=null);const $=this.getRewrittenSrc();let de;return this.setHostAttribute("src",$),this.ngSrcset?de=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(de=this.getAutomaticSrcset()),de&&this.setHostAttribute("srcset",de),de}getFixedSrcset(){return rr.map($=>`${this.callImageLoader({src:this.ngSrc,width:this.width*$})} ${$}x`).join(", ")}shouldGenerateAutomaticSrcset(){return!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==tr&&!(this.width>1920||this.height>1080)}ngOnDestroy(){}setHostAttribute(b,$){this.renderer.setAttribute(this.imgElement,b,$)}}return(f=T).\u0275fac=function(b){return new(b||f)},f.\u0275dir=s.lG2({type:f,selectors:[["img","ngSrc",""]],hostVars:8,hostBindings:function(b,$){2&b&&s.Udp("position",$.fill?"absolute":null)("width",$.fill?"100%":null)("height",$.fill?"100%":null)("inset",$.fill?"0px":null)},inputs:{ngSrc:["ngSrc","ngSrc",xo],ngSrcset:"ngSrcset",sizes:"sizes",width:["width","width",s.Cb_],height:["height","height",s.Cb_],loading:"loading",priority:["priority","priority",s.VuI],loaderParams:"loaderParams",disableOptimizedSrcset:["disableOptimizedSrcset","disableOptimizedSrcset",s.VuI],fill:["fill","fill",s.VuI],src:"src",srcset:"srcset"},standalone:!0,features:[s.Xq5,s.TTD]}),T})();function xo(f){return"string"==typeof f?f:(0,s.z3N)(f)}},9862:(ft,De,v)=>{v.d(De,{JF:()=>D,TP:()=>N,eN:()=>Ue});var s=v(5879),m=v(2096),W=v(2459),U=v(5592),I=v(6328),Y=v(2181),Z=v(7398),re=v(4716),te=v(4664),H=v(6814);class J{}class fe{}class Se{constructor(ee){this.normalizedNames=new Map,this.lazyUpdate=null,ee?"string"==typeof ee?this.lazyInit=()=>{this.headers=new Map,ee.split("\n").forEach(Pe=>{const X=Pe.indexOf(":");if(X>0){const ce=Pe.slice(0,X),Ce=ce.toLowerCase(),rt=Pe.slice(X+1).trim();this.maybeSetNormalizedName(ce,Ce),this.headers.has(Ce)?this.headers.get(Ce).push(rt):this.headers.set(Ce,[rt])}})}:typeof Headers<"u"&&ee instanceof Headers?(this.headers=new Map,ee.forEach((Pe,X)=>{this.setHeaderEntries(X,Pe)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(ee).forEach(([Pe,X])=>{this.setHeaderEntries(Pe,X)})}:this.headers=new Map}has(ee){return this.init(),this.headers.has(ee.toLowerCase())}get(ee){this.init();const Pe=this.headers.get(ee.toLowerCase());return Pe&&Pe.length>0?Pe[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(ee){return this.init(),this.headers.get(ee.toLowerCase())||null}append(ee,Pe){return this.clone({name:ee,value:Pe,op:"a"})}set(ee,Pe){return this.clone({name:ee,value:Pe,op:"s"})}delete(ee,Pe){return this.clone({name:ee,value:Pe,op:"d"})}maybeSetNormalizedName(ee,Pe){this.normalizedNames.has(Pe)||this.normalizedNames.set(Pe,ee)}init(){this.lazyInit&&(this.lazyInit instanceof Se?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(ee=>this.applyUpdate(ee)),this.lazyUpdate=null))}copyFrom(ee){ee.init(),Array.from(ee.headers.keys()).forEach(Pe=>{this.headers.set(Pe,ee.headers.get(Pe)),this.normalizedNames.set(Pe,ee.normalizedNames.get(Pe))})}clone(ee){const Pe=new Se;return Pe.lazyInit=this.lazyInit&&this.lazyInit instanceof Se?this.lazyInit:this,Pe.lazyUpdate=(this.lazyUpdate||[]).concat([ee]),Pe}applyUpdate(ee){const Pe=ee.name.toLowerCase();switch(ee.op){case"a":case"s":let X=ee.value;if("string"==typeof X&&(X=[X]),0===X.length)return;this.maybeSetNormalizedName(ee.name,Pe);const ce=("a"===ee.op?this.headers.get(Pe):void 0)||[];ce.push(...X),this.headers.set(Pe,ce);break;case"d":const Ce=ee.value;if(Ce){let rt=this.headers.get(Pe);if(!rt)return;rt=rt.filter(Xe=>-1===Ce.indexOf(Xe)),0===rt.length?(this.headers.delete(Pe),this.normalizedNames.delete(Pe)):this.headers.set(Pe,rt)}else this.headers.delete(Pe),this.normalizedNames.delete(Pe)}}setHeaderEntries(ee,Pe){const X=(Array.isArray(Pe)?Pe:[Pe]).map(Ce=>Ce.toString()),ce=ee.toLowerCase();this.headers.set(ce,X),this.maybeSetNormalizedName(ee,ce)}forEach(ee){this.init(),Array.from(this.normalizedNames.keys()).forEach(Pe=>ee(this.normalizedNames.get(Pe),this.headers.get(Pe)))}}class Ke{encodeKey(ee){return ut(ee)}encodeValue(ee){return ut(ee)}decodeKey(ee){return decodeURIComponent(ee)}decodeValue(ee){return decodeURIComponent(ee)}}const Je=/%(\d[a-f0-9])/gi,Ve={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function ut(oe){return encodeURIComponent(oe).replace(Je,(ee,Pe)=>Ve[Pe]??ee)}function ke(oe){return`${oe}`}class G{constructor(ee={}){if(this.updates=null,this.cloneFrom=null,this.encoder=ee.encoder||new Ke,ee.fromString){if(ee.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function we(oe,ee){const Pe=new Map;return oe.length>0&&oe.replace(/^\?/,"").split("&").forEach(ce=>{const Ce=ce.indexOf("="),[rt,Xe]=-1==Ce?[ee.decodeKey(ce),""]:[ee.decodeKey(ce.slice(0,Ce)),ee.decodeValue(ce.slice(Ce+1))],wt=Pe.get(rt)||[];wt.push(Xe),Pe.set(rt,wt)}),Pe}(ee.fromString,this.encoder)}else ee.fromObject?(this.map=new Map,Object.keys(ee.fromObject).forEach(Pe=>{const X=ee.fromObject[Pe],ce=Array.isArray(X)?X.map(ke):[ke(X)];this.map.set(Pe,ce)})):this.map=null}has(ee){return this.init(),this.map.has(ee)}get(ee){this.init();const Pe=this.map.get(ee);return Pe?Pe[0]:null}getAll(ee){return this.init(),this.map.get(ee)||null}keys(){return this.init(),Array.from(this.map.keys())}append(ee,Pe){return this.clone({param:ee,value:Pe,op:"a"})}appendAll(ee){const Pe=[];return Object.keys(ee).forEach(X=>{const ce=ee[X];Array.isArray(ce)?ce.forEach(Ce=>{Pe.push({param:X,value:Ce,op:"a"})}):Pe.push({param:X,value:ce,op:"a"})}),this.clone(Pe)}set(ee,Pe){return this.clone({param:ee,value:Pe,op:"s"})}delete(ee,Pe){return this.clone({param:ee,value:Pe,op:"d"})}toString(){return this.init(),this.keys().map(ee=>{const Pe=this.encoder.encodeKey(ee);return this.map.get(ee).map(X=>Pe+"="+this.encoder.encodeValue(X)).join("&")}).filter(ee=>""!==ee).join("&")}clone(ee){const Pe=new G({encoder:this.encoder});return Pe.cloneFrom=this.cloneFrom||this,Pe.updates=(this.updates||[]).concat(ee),Pe}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(ee=>this.map.set(ee,this.cloneFrom.map.get(ee))),this.updates.forEach(ee=>{switch(ee.op){case"a":case"s":const Pe=("a"===ee.op?this.map.get(ee.param):void 0)||[];Pe.push(ke(ee.value)),this.map.set(ee.param,Pe);break;case"d":if(void 0===ee.value){this.map.delete(ee.param);break}{let X=this.map.get(ee.param)||[];const ce=X.indexOf(ke(ee.value));-1!==ce&&X.splice(ce,1),X.length>0?this.map.set(ee.param,X):this.map.delete(ee.param)}}}),this.cloneFrom=this.updates=null)}}class ie{constructor(){this.map=new Map}set(ee,Pe){return this.map.set(ee,Pe),this}get(ee){return this.map.has(ee)||this.map.set(ee,ee.defaultValue()),this.map.get(ee)}delete(ee){return this.map.delete(ee),this}has(ee){return this.map.has(ee)}keys(){return this.map.keys()}}function ge(oe){return typeof ArrayBuffer<"u"&&oe instanceof ArrayBuffer}function xe(oe){return typeof Blob<"u"&&oe instanceof Blob}function Ge(oe){return typeof FormData<"u"&&oe instanceof FormData}class ht{constructor(ee,Pe,X,ce){let Ce;if(this.url=Pe,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=ee.toUpperCase(),function ue(oe){switch(oe){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||ce?(this.body=void 0!==X?X:null,Ce=ce):Ce=X,Ce&&(this.reportProgress=!!Ce.reportProgress,this.withCredentials=!!Ce.withCredentials,Ce.responseType&&(this.responseType=Ce.responseType),Ce.headers&&(this.headers=Ce.headers),Ce.context&&(this.context=Ce.context),Ce.params&&(this.params=Ce.params)),this.headers||(this.headers=new Se),this.context||(this.context=new ie),this.params){const rt=this.params.toString();if(0===rt.length)this.urlWithParams=Pe;else{const Xe=Pe.indexOf("?");this.urlWithParams=Pe+(-1===Xe?"?":Xe<Pe.length-1?"&":"")+rt}}else this.params=new G,this.urlWithParams=Pe}serializeBody(){return null===this.body?null:ge(this.body)||xe(this.body)||Ge(this.body)||function nt(oe){return typeof URLSearchParams<"u"&&oe instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof G?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||Ge(this.body)?null:xe(this.body)?this.body.type||null:ge(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof G?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(ee={}){const Pe=ee.method||this.method,X=ee.url||this.url,ce=ee.responseType||this.responseType,Ce=void 0!==ee.body?ee.body:this.body,rt=void 0!==ee.withCredentials?ee.withCredentials:this.withCredentials,Xe=void 0!==ee.reportProgress?ee.reportProgress:this.reportProgress;let wt=ee.headers||this.headers,Ot=ee.params||this.params;const Pn=ee.context??this.context;return void 0!==ee.setHeaders&&(wt=Object.keys(ee.setHeaders).reduce((zn,Rn)=>zn.set(Rn,ee.setHeaders[Rn]),wt)),ee.setParams&&(Ot=Object.keys(ee.setParams).reduce((zn,Rn)=>zn.set(Rn,ee.setParams[Rn]),Ot)),new ht(Pe,X,Ce,{params:Ot,headers:wt,context:Pn,reportProgress:Xe,responseType:ce,withCredentials:rt})}}var Mt=function(oe){return oe[oe.Sent=0]="Sent",oe[oe.UploadProgress=1]="UploadProgress",oe[oe.ResponseHeader=2]="ResponseHeader",oe[oe.DownloadProgress=3]="DownloadProgress",oe[oe.Response=4]="Response",oe[oe.User=5]="User",oe}(Mt||{});class Pt{constructor(ee,Pe=200,X="OK"){this.headers=ee.headers||new Se,this.status=void 0!==ee.status?ee.status:Pe,this.statusText=ee.statusText||X,this.url=ee.url||null,this.ok=this.status>=200&&this.status<300}}class Gt extends Pt{constructor(ee={}){super(ee),this.type=Mt.ResponseHeader}clone(ee={}){return new Gt({headers:ee.headers||this.headers,status:void 0!==ee.status?ee.status:this.status,statusText:ee.statusText||this.statusText,url:ee.url||this.url||void 0})}}class $t extends Pt{constructor(ee={}){super(ee),this.type=Mt.Response,this.body=void 0!==ee.body?ee.body:null}clone(ee={}){return new $t({body:void 0!==ee.body?ee.body:this.body,headers:ee.headers||this.headers,status:void 0!==ee.status?ee.status:this.status,statusText:ee.statusText||this.statusText,url:ee.url||this.url||void 0})}}class gn extends Pt{constructor(ee){super(ee,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${ee.url||"(unknown url)"}`:`Http failure response for ${ee.url||"(unknown url)"}: ${ee.status} ${ee.statusText}`,this.error=ee.error||null}}function Cn(oe,ee){return{body:ee,headers:oe.headers,context:oe.context,observe:oe.observe,params:oe.params,reportProgress:oe.reportProgress,responseType:oe.responseType,withCredentials:oe.withCredentials}}let Ue=(()=>{var oe;class ee{constructor(X){this.handler=X}request(X,ce,Ce={}){let rt;if(X instanceof ht)rt=X;else{let Ot,Pn;Ot=Ce.headers instanceof Se?Ce.headers:new Se(Ce.headers),Ce.params&&(Pn=Ce.params instanceof G?Ce.params:new G({fromObject:Ce.params})),rt=new ht(X,ce,void 0!==Ce.body?Ce.body:null,{headers:Ot,context:Ce.context,params:Pn,reportProgress:Ce.reportProgress,responseType:Ce.responseType||"json",withCredentials:Ce.withCredentials})}const Xe=(0,m.of)(rt).pipe((0,I.b)(Ot=>this.handler.handle(Ot)));if(X instanceof ht||"events"===Ce.observe)return Xe;const wt=Xe.pipe((0,Y.h)(Ot=>Ot instanceof $t));switch(Ce.observe||"body"){case"body":switch(rt.responseType){case"arraybuffer":return wt.pipe((0,Z.U)(Ot=>{if(null!==Ot.body&&!(Ot.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Ot.body}));case"blob":return wt.pipe((0,Z.U)(Ot=>{if(null!==Ot.body&&!(Ot.body instanceof Blob))throw new Error("Response is not a Blob.");return Ot.body}));case"text":return wt.pipe((0,Z.U)(Ot=>{if(null!==Ot.body&&"string"!=typeof Ot.body)throw new Error("Response is not a string.");return Ot.body}));default:return wt.pipe((0,Z.U)(Ot=>Ot.body))}case"response":return wt;default:throw new Error(`Unreachable: unhandled observe type ${Ce.observe}}`)}}delete(X,ce={}){return this.request("DELETE",X,ce)}get(X,ce={}){return this.request("GET",X,ce)}head(X,ce={}){return this.request("HEAD",X,ce)}jsonp(X,ce){return this.request("JSONP",X,{params:(new G).append(ce,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(X,ce={}){return this.request("OPTIONS",X,ce)}patch(X,ce,Ce={}){return this.request("PATCH",X,Cn(Ce,ce))}post(X,ce,Ce={}){return this.request("POST",X,Cn(Ce,ce))}put(X,ce,Ce={}){return this.request("PUT",X,Cn(Ce,ce))}}return(oe=ee).\u0275fac=function(X){return new(X||oe)(s.LFG(J))},oe.\u0275prov=s.Yz7({token:oe,factory:oe.\u0275fac}),ee})();function qe(oe,ee){return ee(oe)}function ye(oe,ee){return(Pe,X)=>ee.intercept(Pe,{handle:ce=>oe(ce,X)})}const N=new s.OlP(""),Ae=new s.OlP(""),Le=new s.OlP("");function St(){let oe=null;return(ee,Pe)=>{null===oe&&(oe=((0,s.f3M)(N,{optional:!0})??[]).reduceRight(ye,qe));const X=(0,s.f3M)(s.HDt),ce=X.add();return oe(ee,Pe).pipe((0,re.x)(()=>X.remove(ce)))}}let vt=(()=>{var oe;class ee extends J{constructor(X,ce){super(),this.backend=X,this.injector=ce,this.chain=null,this.pendingTasks=(0,s.f3M)(s.HDt)}handle(X){if(null===this.chain){const Ce=Array.from(new Set([...this.injector.get(Ae),...this.injector.get(Le,[])]));this.chain=Ce.reduceRight((rt,Xe)=>function Oe(oe,ee,Pe){return(X,ce)=>Pe.runInContext(()=>ee(X,Ce=>oe(Ce,ce)))}(rt,Xe,this.injector),qe)}const ce=this.pendingTasks.add();return this.chain(X,Ce=>this.backend.handle(Ce)).pipe((0,re.x)(()=>this.pendingTasks.remove(ce)))}}return(oe=ee).\u0275fac=function(X){return new(X||oe)(s.LFG(fe),s.LFG(s.lqb))},oe.\u0275prov=s.Yz7({token:oe,factory:oe.\u0275fac}),ee})();const Xt=/^\)\]\}',?\n/;let cn=(()=>{var oe;class ee{constructor(X){this.xhrFactory=X}handle(X){if("JSONP"===X.method)throw new s.vHH(-2800,!1);const ce=this.xhrFactory;return(ce.\u0275loadImpl?(0,W.D)(ce.\u0275loadImpl()):(0,m.of)(null)).pipe((0,te.w)(()=>new U.y(rt=>{const Xe=ce.build();if(Xe.open(X.method,X.urlWithParams),X.withCredentials&&(Xe.withCredentials=!0),X.headers.forEach((Ln,Hn)=>Xe.setRequestHeader(Ln,Hn.join(","))),X.headers.has("Accept")||Xe.setRequestHeader("Accept","application/json, text/plain, */*"),!X.headers.has("Content-Type")){const Ln=X.detectContentTypeHeader();null!==Ln&&Xe.setRequestHeader("Content-Type",Ln)}if(X.responseType){const Ln=X.responseType.toLowerCase();Xe.responseType="json"!==Ln?Ln:"text"}const wt=X.serializeBody();let Ot=null;const Pn=()=>{if(null!==Ot)return Ot;const Ln=Xe.statusText||"OK",Hn=new Se(Xe.getAllResponseHeaders()),zr=function Tn(oe){return"responseURL"in oe&&oe.responseURL?oe.responseURL:/^X-Request-URL:/m.test(oe.getAllResponseHeaders())?oe.getResponseHeader("X-Request-URL"):null}(Xe)||X.url;return Ot=new Gt({headers:Hn,status:Xe.status,statusText:Ln,url:zr}),Ot},zn=()=>{let{headers:Ln,status:Hn,statusText:zr,url:Or}=Pn(),An=null;204!==Hn&&(An=typeof Xe.response>"u"?Xe.responseText:Xe.response),0===Hn&&(Hn=An?200:0);let Pr=Hn>=200&&Hn<300;if("json"===X.responseType&&"string"==typeof An){const Mr=An;An=An.replace(Xt,"");try{An=""!==An?JSON.parse(An):null}catch(Rr){An=Mr,Pr&&(Pr=!1,An={error:Rr,text:An})}}Pr?(rt.next(new $t({body:An,headers:Ln,status:Hn,statusText:zr,url:Or||void 0})),rt.complete()):rt.error(new gn({error:An,headers:Ln,status:Hn,statusText:zr,url:Or||void 0}))},Rn=Ln=>{const{url:Hn}=Pn(),zr=new gn({error:Ln,status:Xe.status||0,statusText:Xe.statusText||"Unknown Error",url:Hn||void 0});rt.error(zr)};let sr=!1;const Vr=Ln=>{sr||(rt.next(Pn()),sr=!0);let Hn={type:Mt.DownloadProgress,loaded:Ln.loaded};Ln.lengthComputable&&(Hn.total=Ln.total),"text"===X.responseType&&Xe.responseText&&(Hn.partialText=Xe.responseText),rt.next(Hn)},Ar=Ln=>{let Hn={type:Mt.UploadProgress,loaded:Ln.loaded};Ln.lengthComputable&&(Hn.total=Ln.total),rt.next(Hn)};return Xe.addEventListener("load",zn),Xe.addEventListener("error",Rn),Xe.addEventListener("timeout",Rn),Xe.addEventListener("abort",Rn),X.reportProgress&&(Xe.addEventListener("progress",Vr),null!==wt&&Xe.upload&&Xe.upload.addEventListener("progress",Ar)),Xe.send(wt),rt.next({type:Mt.Sent}),()=>{Xe.removeEventListener("error",Rn),Xe.removeEventListener("abort",Rn),Xe.removeEventListener("load",zn),Xe.removeEventListener("timeout",Rn),X.reportProgress&&(Xe.removeEventListener("progress",Vr),null!==wt&&Xe.upload&&Xe.upload.removeEventListener("progress",Ar)),Xe.readyState!==Xe.DONE&&Xe.abort()}})))}}return(oe=ee).\u0275fac=function(X){return new(X||oe)(s.LFG(H.JF))},oe.\u0275prov=s.Yz7({token:oe,factory:oe.\u0275fac}),ee})();const _n=new s.OlP("XSRF_ENABLED"),Yt=new s.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),on=new s.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Qn{}let Wn=(()=>{var oe;class ee{constructor(X,ce,Ce){this.doc=X,this.platform=ce,this.cookieName=Ce,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const X=this.doc.cookie||"";return X!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,H.Mx)(X,this.cookieName),this.lastCookieString=X),this.lastToken}}return(oe=ee).\u0275fac=function(X){return new(X||oe)(s.LFG(H.K0),s.LFG(s.Lbi),s.LFG(Yt))},oe.\u0275prov=s.Yz7({token:oe,factory:oe.\u0275fac}),ee})();function In(oe,ee){const Pe=oe.url.toLowerCase();if(!(0,s.f3M)(_n)||"GET"===oe.method||"HEAD"===oe.method||Pe.startsWith("http://")||Pe.startsWith("https://"))return ee(oe);const X=(0,s.f3M)(Qn).getToken(),ce=(0,s.f3M)(on);return null!=X&&!oe.headers.has(ce)&&(oe=oe.clone({headers:oe.headers.set(ce,X)})),ee(oe)}var Ze=function(oe){return oe[oe.Interceptors=0]="Interceptors",oe[oe.LegacyInterceptors=1]="LegacyInterceptors",oe[oe.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",oe[oe.NoXsrfProtection=3]="NoXsrfProtection",oe[oe.JsonpSupport=4]="JsonpSupport",oe[oe.RequestsMadeViaParent=5]="RequestsMadeViaParent",oe[oe.Fetch=6]="Fetch",oe}(Ze||{});function Dt(oe,ee){return{\u0275kind:oe,\u0275providers:ee}}function yt(...oe){const ee=[Ue,cn,vt,{provide:J,useExisting:vt},{provide:fe,useExisting:cn},{provide:Ae,useValue:In,multi:!0},{provide:_n,useValue:!0},{provide:Qn,useClass:Wn}];for(const Pe of oe)ee.push(...Pe.\u0275providers);return(0,s.MR2)(ee)}const st=new s.OlP("LEGACY_INTERCEPTOR_FN");let D=(()=>{var oe;class ee{}return(oe=ee).\u0275fac=function(X){return new(X||oe)},oe.\u0275mod=s.oAB({type:oe}),oe.\u0275inj=s.cJS({providers:[yt(Dt(Ze.LegacyInterceptors,[{provide:st,useFactory:St},{provide:Ae,useExisting:st,multi:!0}]))]}),ee})()},5879:(ft,De,v)=>{v.d(De,{$8M:()=>fl,$WT:()=>Dr,$Z:()=>Rp,AFp:()=>qh,ALo:()=>m_,AaK:()=>fe,AsE:()=>Xd,BQk:()=>Gc,CHM:()=>Gi,CRH:()=>P_,Cb_:()=>Wx,DdM:()=>i_,EJc:()=>kw,EiD:()=>Hh,EpF:()=>xm,F$t:()=>Om,F4k:()=>Tm,FYo:()=>op,FiY:()=>nc,G48:()=>_x,Gf:()=>A_,GfV:()=>sp,GkF:()=>jd,Gpc:()=>Ke,Gre:()=>cg,HDt:()=>tv,Hsn:()=>Pm,Ikx:()=>ef,JOm:()=>uc,JVY:()=>Yy,JZr:()=>ke,KtG:()=>Wi,L6k:()=>Zy,LAX:()=>Jy,LFG:()=>P,LSH:()=>Vu,Lbi:()=>qu,Lck:()=>SC,MAs:()=>Dm,MMx:()=>Qg,MR2:()=>Gu,NdJ:()=>Hd,O4$:()=>il,Ojb:()=>wb,OlP:()=>vr,Oqu:()=>qd,P3R:()=>zh,PXZ:()=>lx,Q6J:()=>Fd,QGY:()=>Ud,QbO:()=>Cb,Qsj:()=>jb,R0b:()=>Ii,RDi:()=>Hy,Rgc:()=>Vl,SBq:()=>xl,Sil:()=>Bw,Suo:()=>O_,TTD:()=>Bn,TgZ:()=>$c,Tol:()=>Km,Udp:()=>Zd,VKq:()=>o_,VuI:()=>Gx,W1O:()=>F_,WFA:()=>$d,WLB:()=>s_,X6Q:()=>gx,XFs:()=>Nt,Xpm:()=>oi,Xq5:()=>sm,Xts:()=>El,Y36:()=>La,YKP:()=>Yg,YNc:()=>ym,Yjl:()=>Xi,Yz7:()=>N,Z0I:()=>vt,ZZ4:()=>Ff,_Bn:()=>Kg,_UZ:()=>Bd,_Vd:()=>wl,_c5:()=>Rx,_uU:()=>eg,aQg:()=>Lf,c2e:()=>ev,cJS:()=>Le,cg1:()=>nf,d8E:()=>tf,dDg:()=>ix,dqk:()=>cn,eBb:()=>Qy,eFA:()=>dv,eJc:()=>bf,ekj:()=>Qd,eoX:()=>av,f3M:()=>me,g9A:()=>Xh,h0i:()=>ma,hGG:()=>Nx,hYB:()=>Gd,hij:()=>Yc,iGM:()=>I_,ifc:()=>Ce,ip1:()=>X_,jDz:()=>Jg,kEZ:()=>a_,kL8:()=>yg,kcU:()=>Wl,kuF:()=>z,l5B:()=>l_,lG2:()=>Ui,lcZ:()=>g_,lqb:()=>_s,lri:()=>ov,mCW:()=>yc,n5z:()=>gs,n_E:()=>Xc,oAB:()=>Pi,oJD:()=>$h,oxw:()=>Am,pB0:()=>qy,q3G:()=>ua,q4F:()=>ap,qFp:()=>Yx,qLn:()=>Js,qOj:()=>Md,qZA:()=>Vc,qbA:()=>c_,qzn:()=>Aa,rWj:()=>sv,rg0:()=>$,s9C:()=>Vd,sBO:()=>vx,s_b:()=>nu,soG:()=>iu,tb:()=>Af,tp0:()=>rc,uIk:()=>Ad,vHH:()=>G,vpe:()=>vs,wAp:()=>Qa,xi3:()=>__,xp6:()=>Op,ynx:()=>zc,z2F:()=>el,z3N:()=>ks,zSh:()=>Yu,zs3:()=>os});var s=v(8645),m=v(7394),W=v(5592),U=v(3019),I=v(5619),Y=v(2096),Z=v(3020),re=v(4664),te=v(3997);function H(e){for(let t in e)if(e[t]===H)return t;throw Error("Could not find renamed property on target object.")}function J(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function fe(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(fe).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 Se(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const Ie=H({__forward_ref__:H});function Ke(e){return e.__forward_ref__=Ke,e.toString=function(){return fe(this())},e}function we(e){return Je(e)?e():e}function Je(e){return"function"==typeof e&&e.hasOwnProperty(Ie)&&e.__forward_ref__===Ke}function Ve(e){return e&&!!e.\u0275providers}const ke="https://g.co/ng/security#xss";class G extends Error{constructor(t,n){super(z(t,n)),this.code=t}}function z(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}function ie(e){return"string"==typeof e?e:null==e?"":String(e)}function nt(e,t){throw new G(-201,!1)}function At(e,t){null==e&&function ve(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function N(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Le(e){return{providers:e.providers||[],imports:e.imports||[]}}function St(e){return Lt(e,Ct)||Lt(e,Un)}function vt(e){return null!==St(e)}function Lt(e,t){return e.hasOwnProperty(t)?e[t]:null}function kn(e){return e&&(e.hasOwnProperty(ir)||e.hasOwnProperty(On))?e[ir]:null}const Ct=H({\u0275prov:H}),ir=H({\u0275inj:H}),Un=H({ngInjectableDef:H}),On=H({ngInjectorDef:H});var Nt=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(Nt||{});let jt;function rn(e){const t=jt;return jt=e,t}function Xt(e,t,n){const r=St(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&Nt.Optional?null:void 0!==t?t:void nt(fe(e))}const cn=globalThis,st={},Ut="__NG_DI_FLAG__",en="ngTempTokenPath",pe=/\n/gm,k="__source";let O;function F(e){const t=O;return O=e,t}function R(e,t=Nt.Default){if(void 0===O)throw new G(-203,!1);return null===O?Xt(e,void 0,t):O.get(e,t&Nt.Optional?null:void 0,t)}function P(e,t=Nt.Default){return(function Vt(){return jt}()||R)(we(e),t)}function me(e,t=Nt.Default){return P(e,ne(t))}function ne(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function le(e){const t=[];for(let n=0;n<e.length;n++){const r=we(e[n]);if(Array.isArray(r)){if(0===r.length)throw new G(900,!1);let i,o=Nt.Default;for(let a=0;a<r.length;a++){const u=r[a],_=oe(u);"number"==typeof _?-1===_?i=u.token:o|=_:i=u}t.push(P(i,o))}else t.push(P(r))}return t}function je(e,t){return e[Ut]=t,e.prototype[Ut]=t,e}function oe(e){return e[Ut]}function X(e){return{toString:e}.toString()}var ce=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(ce||{}),Ce=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Ce||{});const rt={},Xe=[],wt=H({\u0275cmp:H}),Ot=H({\u0275dir:H}),Pn=H({\u0275pipe:H}),zn=H({\u0275mod:H}),Rn=H({\u0275fac:H}),sr=H({__NG_ELEMENT_ID__:H}),Vr=H({__NG_ENV_ID__:H});function Ar(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}}function Ln(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++],a=n[r++],u=n[r++];e.setAttribute(t,a,u,o)}else{const o=i,a=n[++r];zr(o)?e.setProperty(t,o,a):e.setAttribute(t,o,a),r++}}return r}function Hn(e){return 3===e||4===e||6===e}function zr(e){return 64===e.charCodeAt(0)}function Or(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||An(e,n,i,null,-1===n||2===n?t[++r]:null)}}return e}function An(e,t,n,r,i){let o=0,a=e.length;if(-1===t)a=-1;else for(;o<e.length;){const u=e[o++];if("number"==typeof u){if(u===t){a=-1;break}if(u>t){a=o-1;break}}}for(;o<e.length;){const u=e[o];if("number"==typeof u)break;if(u===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!==a&&(e.splice(a,0,t),o=a+1),e.splice(o++,0,n),null!==r&&e.splice(o++,0,r),null!==i&&e.splice(o++,0,i)}const Pr="ng-template";function Mr(e,t,n){let r=0,i=!0;for(;r<e.length;){let o=e[r++];if("string"==typeof o&&i){const a=e[r++];if(n&&"class"===o&&-1!==Ar(a.toLowerCase(),t,0))return!0}else{if(1===o){for(;r<e.length&&"string"==typeof(o=e[r++]);)if(o.toLowerCase()===t)return!0;return!1}"number"==typeof o&&(i=!1)}}return!1}function Rr(e){return 4===e.type&&e.value!==Pr}function ii(e,t,n){return t===(4!==e.type||n?e.value:Pr)}function Xr(e,t,n){let r=4;const i=e.attrs||[],o=function zo(e){for(let t=0;t<e.length;t++)if(Hn(e[t]))return t;return e.length}(i);let a=!1;for(let u=0;u<t.length;u++){const _=t[u];if("number"!=typeof _){if(!a)if(4&r){if(r=2|1&r,""!==_&&!ii(e,_,n)||""===_&&1===t.length){if(yr(r))return!1;a=!0}}else{const S=8&r?_:t[++u];if(8&r&&null!==e.attrs){if(!Mr(e.attrs,S,n)){if(yr(r))return!1;a=!0}continue}const ae=Tr(8&r?"class":_,i,Rr(e),n);if(-1===ae){if(yr(r))return!1;a=!0;continue}if(""!==S){let Te;Te=ae>o?"":i[ae+1].toLowerCase();const Be=8&r?Te:null;if(Be&&-1!==Ar(Be,S,0)||2&r&&S!==Te){if(yr(r))return!1;a=!0}}}}else{if(!a&&!yr(r)&&!yr(_))return!1;if(a&&yr(_))continue;a=!1,r=_|1&r}}return yr(r)||a}function yr(e){return 0==(1&e)}function Tr(e,t,n,r){if(null===t)return-1;let i=0;if(r||!n){let o=!1;for(;i<t.length;){const a=t[i];if(a===e)return i;if(3===a||6===a)o=!0;else{if(1===a||2===a){let u=t[++i];for(;"string"==typeof u;)u=t[++i];continue}if(4===a)break;if(0===a){i+=4;continue}}i+=o?1:2}return-1}return function Ji(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 Ai(e,t,n=!1){for(let r=0;r<t.length;r++)if(Xr(e,t[r],n))return!0;return!1}function Oo(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 yo(e,t){return e?":not("+t.trim()+")":t}function bo(e){let t=e[0],n=1,r=2,i="",o=!1;for(;n<e.length;){let a=e[n];if("string"==typeof a)if(2&r){const u=e[++n];i+="["+a+(u.length>0?'="'+u+'"':"")+"]"}else 8&r?i+="."+a:4&r&&(i+=" "+a);else""!==i&&!yr(a)&&(t+=yo(o,i),i=""),r=a,o=o||!yr(r);n++}return""!==i&&(t+=yo(o,i)),t}function oi(e){return X(()=>{const t=Hi(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===ce.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Ce.Emulated,styles:e.styles||Xe,_:null,schemas:e.schemas||null,tView:null,id:""};Po(n);const r=e.dependencies;return n.directiveDefs=Ro(r,!1),n.pipeDefs=Ro(r,!0),n.id=function Cs(e){let t=0;const n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const i of n)t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(n),n})}function Eo(e){return un(e)||fr(e)}function so(e){return null!==e}function Pi(e){return X(()=>({type:e.type,bootstrap:e.bootstrap||Xe,declarations:e.declarations||Xe,imports:e.imports||Xe,exports:e.exports||Xe,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function qi(e,t){if(null==e)return rt;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}function Ui(e){return X(()=>{const t=Hi(e);return Po(t),t})}function Xi(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 un(e){return e[wt]||null}function fr(e){return e[Ot]||null}function wr(e){return e[Pn]||null}function Dr(e){const t=un(e)||fr(e)||wr(e);return null!==t&&t.standalone}function Gr(e,t){const n=e[zn]||null;if(!n&&!0===t)throw new Error(`Type ${fe(e)} does not have '\u0275mod' property.`);return n}function Hi(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||rt,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||Xe,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:qi(e.inputs,t),outputs:qi(e.outputs)}}function Po(e){e.features?.forEach(t=>t(e))}function Ro(e,t){if(!e)return null;const n=t?wr:Eo;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(so)}const ar=0,It=1,sn=2,Gn=3,Nr=4,ui=5,hr=6,Ri=7,lr=8,Wr=9,Di=10,Jt=11,Ni=12,Me=13,be=14,Re=15,ot=16,mt=17,Tt=18,Kt=19,$n=20,wn=21,yn=22,Er=23,Kr=24,dn=25,Ci=1,Sr=2,tr=7,si=9,En=11;function nr(e){return Array.isArray(e)&&"object"==typeof e[Ci]}function Fr(e){return Array.isArray(e)&&!0===e[Ci]}function ls(e){return 0!=(4&e.flags)}function fi(e){return e.componentOffset>-1}function Yr(e){return 1==(1&e.flags)}function ai(e){return!!e.template}function ao(e){return 0!=(512&e[sn])}function ei(e,t){return e.hasOwnProperty(Rn)?e[Rn]:null}let rr=null,Do=!1;function li(e){const t=rr;return rr=e,t}const ki={version:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{}};function uo(e){if(!zi(e)||e.dirty){if(!e.producerMustRecompute(e)&&!Li(e))return void(e.dirty=!1);e.producerRecomputeValue(e),e.dirty=!1}}function ti(e){e.dirty=!0,function Zo(e){if(void 0===e.liveConsumerNode)return;const t=Do;Do=!0;try{for(const n of e.liveConsumerNode)n.dirty||ti(n)}finally{Do=t}}(e),e.consumerMarkedDirty?.(e)}function Fi(e){return e&&(e.nextProducerIndex=0),li(e)}function to(e,t){if(li(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(zi(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)Bo(e.producerNode[n],e.producerIndexOfThis[n]);for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Li(e){ho(e);for(let t=0;t<e.producerNode.length;t++){const n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(uo(n),r!==n.version))return!0}return!1}function fs(e){if(ho(e),zi(e))for(let t=0;t<e.producerNode.length;t++)Bo(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function Bo(e,t){if(function Is(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}(e),ho(e),1===e.liveConsumerNode.length)for(let r=0;r<e.producerNode.length;r++)Bo(e.producerNode[r],e.producerIndexOfThis[r]);const n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){const r=e.liveConsumerIndexOfThis[t],i=e.liveConsumerNode[t];ho(i),i.producerIndexOfThis[r]=t}}function zi(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function ho(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let qo=null;function $(e){const t=li(null);try{return e()}finally{li(t)}}const et=()=>{},_t={...ki,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule(e.ref)},hasRun:!1,cleanupFn:et};class Vn{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Bn(){return pn}function pn(e){return e.type.prototype.ngOnChanges&&(e.setInput=qn),cr}function cr(){const e=vi(this),t=e?.current;if(t){const n=e.previous;if(n===rt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function qn(e,t,n,r){const i=this.declaredInputs[n],o=vi(e)||function Ti(e,t){return e[mr]=t}(e,{previous:rt,current:null}),a=o.current||(o.current={}),u=o.previous,_=u[i];a[i]=new Vn(_&&_.currentValue,t,u===rt),e[r]=t}Bn.ngInherit=!0;const mr="__ngSimpleChanges__";function vi(e){return e[mr]||null}const Lr=function(e,t,n){},xr="svg";function Xn(e){for(;Array.isArray(e);)e=e[ar];return e}function ts(e,t){return Xn(t[e])}function ci(e,t){return Xn(t[e.index])}function zs(e,t){return e.data[t]}function ns(e,t){return e[t]}function bi(e,t){const n=t[e];return nr(n)?n:n[ar]}function c(e,t){return null==t?null:e[t]}function g(e){e[mt]=0}function A(e){1024&e[sn]||(e[sn]|=1024,_e(e,1))}function K(e){1024&e[sn]&&(e[sn]&=-1025,_e(e,-1))}function _e(e,t){let n=e[Gn];if(null===n)return;n[ui]+=t;let r=n;for(n=n[Gn];null!==n&&(1===t&&1===r[ui]||-1===t&&0===r[ui]);)n[ui]+=t,r=n,n=n[Gn]}const Fe={lFrame:Mi(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function ln(){return Fe.bindingsEnabled}function Kn(){return null!==Fe.skipHydrationRootTNode}function ct(){return Fe.lFrame.lView}function an(){return Fe.lFrame.tView}function Gi(e){return Fe.lFrame.contextLView=e,e[lr]}function Wi(e){return Fe.lFrame.contextLView=null,e}function gr(){let e=rs();for(;null!==e&&64===e.type;)e=e.parent;return e}function rs(){return Fe.lFrame.currentTNode}function ri(e,t){const n=Fe.lFrame;n.currentTNode=e,n.isParent=t}function jr(){return Fe.lFrame.isParent}function ps(){Fe.lFrame.isParent=!1}function fn(){const e=Fe.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function d(){return Fe.lFrame.bindingIndex++}function h(e){const t=Fe.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function x(e,t){const n=Fe.lFrame;n.bindingIndex=n.bindingRootIndex=e,q(t)}function q(e){Fe.lFrame.currentDirectiveIndex=e}function Ne(e){const t=Fe.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function bt(){return Fe.lFrame.currentQueryIndex}function tt(e){Fe.lFrame.currentQueryIndex=e}function Zt(e){const t=e[It];return 2===t.type?t.declTNode:1===t.type?e[hr]:null}function Sn(e,t,n){if(n&Nt.SkipSelf){let i=t,o=e;for(;!(i=i.parent,null!==i||n&Nt.Host||(i=Zt(o),null===i||(o=o[be],10&i.type))););if(null===i)return!1;t=i,e=o}const r=Fe.lFrame=Yn();return r.currentTNode=t,r.lView=e,!0}function Ur(e){const t=Yn(),n=e[It];Fe.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Yn(){const e=Fe.lFrame,t=null===e?null:e.child;return null===t?Mi(e):t}function Mi(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 ms(){const e=Fe.lFrame;return Fe.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Gs=ms;function Ho(){const e=ms();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 Bi(){return Fe.lFrame.selectedIndex}function is(e){Fe.lFrame.selectedIndex=e}function Ir(){const e=Fe.lFrame;return zs(e.tView,e.selectedIndex)}function il(){Fe.lFrame.currentNamespace=xr}function Wl(){!function du(){Fe.lFrame.currentNamespace=null}()}let ol=!0;function ta(){return ol}function So(e){ol=e}function na(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const o=e.data[n].type.prototype,{ngAfterContentInit:a,ngAfterContentChecked:u,ngAfterViewInit:_,ngAfterViewChecked:S,ngOnDestroy:L}=o;a&&(e.contentHooks??=[]).push(-n,a),u&&((e.contentHooks??=[]).push(n,u),(e.contentCheckHooks??=[]).push(n,u)),_&&(e.viewHooks??=[]).push(-n,_),S&&((e.viewHooks??=[]).push(n,S),(e.viewCheckHooks??=[]).push(n,S)),null!=L&&(e.destroyHooks??=[]).push(n,L)}}function ro(e,t,n){Zl(e,t,3,n)}function Ws(e,t,n,r){(3&e[sn])===n&&Zl(e,t,n,r)}function Yl(e,t){let n=e[sn];(3&n)===t&&(n&=8191,n+=1,e[sn]=n)}function Zl(e,t,n,r){const o=r??-1,a=t.length-1;let u=0;for(let _=void 0!==r?65535&e[mt]:0;_<a;_++)if("number"==typeof t[_+1]){if(u=t[_],null!=r&&u>=r)break}else t[_]<0&&(e[mt]+=65536),(u<o||-1==o)&&(Uf(e,n,t,_),e[mt]=(4294901760&e[mt])+_+2),_++}function Ql(e,t){Lr(4,e,t);const n=li(null);try{t.call(e)}finally{li(n),Lr(5,e,t)}}function Uf(e,t,n,r){const i=n[r]<0,o=n[r+1],u=e[i?-n[r]:n[r]];i?e[sn]>>13<e[mt]>>16&&(3&e[sn])===t&&(e[sn]+=8192,Ql(u,o)):Ql(u,o)}const Ks=-1;class ra{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function _a(e){return e!==Ks}function Ys(e){return 32767&e}function ia(e,t){let n=function fu(e){return e>>16}(e),r=t;for(;n>0;)r=r[be],n--;return r}let sl=!0;function va(e){const t=sl;return sl=e,t}const ql=255,hu=5;let pu=0;const $o={};function ya(e,t){const n=ba(e,t);if(-1!==n)return n;const r=t[It];r.firstCreatePass&&(e.injectorIndex=t.length,al(r.data,e),al(t,null),al(r.blueprint,null));const i=Zs(e,t),o=e.injectorIndex;if(_a(i)){const a=Ys(i),u=ia(i,t),_=u[It].data;for(let S=0;S<8;S++)t[o+S]=u[a+S]|_[a+S]}return t[o+8]=i,o}function al(e,t){e.push(0,0,0,0,0,0,0,0,t)}function ba(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Zs(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=dl(i),null===r)return Ks;if(n++,i=i[be],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return Ks}function oa(e,t,n){!function mu(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(sr)&&(r=n[sr]),null==r&&(r=n[sr]=pu++);const i=r&ql;t.data[e+(i>>hu)]|=1<<i}(e,t,n)}function Ea(e,t,n){if(n&Nt.Optional||void 0!==e)return e;nt()}function Da(e,t,n,r){if(n&Nt.Optional&&void 0===r&&(r=null),!(n&(Nt.Self|Nt.Host))){const i=e[Wr],o=rn(void 0);try{return i?i.get(t,r,n&Nt.Optional):Xt(t,r,n&Nt.Optional)}finally{rn(o)}}return Ea(r,0,n)}function Ca(e,t,n,r=Nt.Default,i){if(null!==e){if(2048&t[sn]&&!(r&Nt.Self)){const a=function Kf(e,t,n,r,i){let o=e,a=t;for(;null!==o&&null!==a&&2048&a[sn]&&!(512&a[sn]);){const u=gu(o,a,n,r|Nt.Self,$o);if(u!==$o)return u;let _=o.parent;if(!_){const S=a[$n];if(S){const L=S.get(n,$o,r);if(L!==$o)return L}_=dl(a),a=a[be]}o=_}return i}(e,t,n,r,$o);if(a!==$o)return a}const o=gu(e,t,n,r,$o);if(o!==$o)return o}return Da(t,n,r,i)}function gu(e,t,n,r,i){const o=function _u(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(sr)?e[sr]:void 0;return"number"==typeof t?t>=0?t&ql:yu:t}(n);if("function"==typeof o){if(!Sn(t,e,r))return r&Nt.Host?Ea(i,0,r):Da(t,n,r,i);try{let a;if(a=o(r),null!=a||r&Nt.Optional)return a;nt()}finally{Gs()}}else if("number"==typeof o){let a=null,u=ba(e,t),_=Ks,S=r&Nt.Host?t[Re][hr]:null;for((-1===u||r&Nt.SkipSelf)&&(_=-1===u?Zs(e,t):t[u+8],_!==Ks&&ul(r,!1)?(a=t[It],u=Ys(_),t=ia(_,t)):u=-1);-1!==u;){const L=t[It];if(Ns(o,u,L.data)){const ae=Wf(u,t,n,a,r,S);if(ae!==$o)return ae}_=t[u+8],_!==Ks&&ul(r,t[It].data[u+8]===S)&&Ns(o,u,t)?(a=L,u=Ys(_),t=ia(_,t)):u=-1}}return i}function Wf(e,t,n,r,i,o){const a=t[It],u=a.data[e+8],L=cl(u,a,n,null==r?fi(u)&&sl:r!=a&&0!=(3&u.type),i&Nt.Host&&o===u);return null!==L?Rs(t,a,L,u):$o}function cl(e,t,n,r,i){const o=e.providerIndexes,a=t.data,u=1048575&o,_=e.directiveStart,L=o>>20,Te=i?u+L:e.directiveEnd;for(let Be=r?u:u+L;Be<Te;Be++){const at=a[Be];if(Be<_&&n===at||Be>=_&&at.type===n)return Be}if(i){const Be=a[_];if(Be&&ai(Be)&&Be.type===n)return _}return null}function Rs(e,t,n,r){let i=e[n];const o=t.data;if(function Hf(e){return e instanceof ra}(i)){const a=i;a.resolving&&function ge(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new G(-200,`Circular dependency in DI detected for ${e}${n}`)}(function ue(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():ie(e)}(o[n]));const u=va(a.canSeeViewProviders);a.resolving=!0;const S=a.injectImpl?rn(a.injectImpl):null;Sn(e,r,Nt.Default);try{i=e[n]=a.factory(void 0,o,e,r),t.firstCreatePass&&n>=r.directiveStart&&function Kl(e,t,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=t.type.prototype;if(r){const a=pn(t);(n.preOrderHooks??=[]).push(e,a),(n.preOrderCheckHooks??=[]).push(e,a)}i&&(n.preOrderHooks??=[]).push(0-e,i),o&&((n.preOrderHooks??=[]).push(e,o),(n.preOrderCheckHooks??=[]).push(e,o))}(n,o[n],t)}finally{null!==S&&rn(S),va(u),a.resolving=!1,Gs()}}return i}function Ns(e,t,n){return!!(n[t+(e>>hu)]&1<<e)}function ul(e,t){return!(e&Nt.Self||e&Nt.Host&&t)}class Jr{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Ca(this._tNode,this._lView,t,ne(r),n)}}function yu(){return new Jr(gr(),ct())}function gs(e){return X(()=>{const t=e.prototype.constructor,n=t[Rn]||Xl(t),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const o=i[Rn]||Xl(i);if(o&&o!==n)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function Xl(e){return Je(e)?()=>{const t=Xl(we(e));return t&&t()}:ei(e)}function dl(e){const t=e[It],n=t.type;return 2===n?t.declTNode:1===n?e[hr]:null}function fl(e){return function ll(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(Hn(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}(gr(),e)}const aa="__parameters__";function Q(e,t,n){return X(()=>{const r=function M(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 a=new i(...o);return u.annotation=a,u;function u(_,S,L){const ae=_.hasOwnProperty(aa)?_[aa]:Object.defineProperty(_,aa,{value:[]})[aa];for(;ae.length<=L;)ae.push(null);return(ae[L]=ae[L]||[]).push(a),_}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}function io(e,t){e.forEach(n=>Array.isArray(n)?io(n,t):t(n))}function Yf(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function ec(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function hl(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}function Io(e,t,n){let r=wa(e,t);return r>=0?e[1|r]=n:(r=~r,function Hv(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 bu(e,t){const n=wa(e,t);if(n>=0)return e[1|n]}function wa(e,t){return function Zf(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){const o=r+(i-r>>1),a=e[o<<n];if(t===a)return o<<n;a>t?i=o:r=o+1}return~(i<<n)}(e,t,1)}const nc=je(Q("Optional"),8),rc=je(Q("SkipSelf"),4);function lc(e){return 128==(128&e.flags)}var uc=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(uc||{});const ly=/^>|^->|<!--|-->|--!>|<!-$/g,cy=/(<|>)/g,uy="\u200b$1\u200b";const xu=new Map;let dy=0;const Su="__ngContext__";function Zi(e,t){nr(t)?(e[Su]=t[Kt],function hy(e){xu.set(e[Kt],e)}(t)):e[Su]=t}let Mu;function Iu(e,t){return Mu(e,t)}function gl(e){const t=e[Gn];return Fr(t)?t[Gn]:t}function mh(e){return _h(e[Ni])}function gh(e){return _h(e[Nr])}function _h(e){for(;null!==e&&!Fr(e);)e=e[Nr];return e}function Sa(e,t,n,r,i){if(null!=r){let o,a=!1;Fr(r)?o=r:nr(r)&&(a=!0,r=r[ar]);const u=Xn(r);0===e&&null!==n?null==i?Eh(t,n,u):la(t,n,u,i||null,!0):1===e&&null!==n?la(t,n,u,i||null,!0):2===e?function gc(e,t,n){const r=pc(e,t);r&&function Py(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,u,a):3===e&&t.destroyNode(u),null!=o&&function ky(e,t,n,r,i){const o=n[tr];o!==Xn(n)&&Sa(t,e,r,o,i);for(let u=En;u<n.length;u++){const _=n[u];vl(_[It],_,e,t,r,o)}}(t,e,o,n,i)}}function Au(e,t){return e.createComment(function ah(e){return e.replace(ly,t=>t.replace(cy,uy))}(t))}function fc(e,t,n){return e.createElement(t,n)}function yh(e,t){const n=e[si],r=n.indexOf(t);K(t),n.splice(r,1)}function hc(e,t){if(e.length<=En)return;const n=En+t,r=e[n];if(r){const i=r[ot];null!==i&&i!==e&&yh(i,r),t>0&&(e[n-1][Nr]=r[Nr]);const o=ec(e,En+t);!function wy(e,t){vl(e,t,t[Jt],2,null,null),t[ar]=null,t[hr]=null}(r[It],r);const a=o[Tt];null!==a&&a.detachView(o[It]),r[Gn]=null,r[Nr]=null,r[sn]&=-129}return r}function Ou(e,t){if(!(256&t[sn])){const n=t[Jt];t[Er]&&fs(t[Er]),t[Kr]&&fs(t[Kr]),n.destroyNode&&vl(e,t,n,3,null,null),function Sy(e){let t=e[Ni];if(!t)return Pu(e[It],e);for(;t;){let n=null;if(nr(t))n=t[Ni];else{const r=t[En];r&&(n=r)}if(!n){for(;t&&!t[Nr]&&t!==e;)nr(t)&&Pu(t[It],t),t=t[Gn];null===t&&(t=e),nr(t)&&Pu(t[It],t),n=t&&t[Nr]}t=n}}(t)}}function Pu(e,t){if(!(256&t[sn])){t[sn]&=-129,t[sn]|=256,function Oy(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 ra)){const o=n[r+1];if(Array.isArray(o))for(let a=0;a<o.length;a+=2){const u=i[o[a]],_=o[a+1];Lr(4,u,_);try{_.call(u)}finally{Lr(5,u,_)}}else{Lr(4,i,o);try{o.call(i)}finally{Lr(5,i,o)}}}}}(e,t),function Ay(e,t){const n=e.cleanup,r=t[Ri];if(null!==n)for(let o=0;o<n.length-1;o+=2)if("string"==typeof n[o]){const a=n[o+3];a>=0?r[a]():r[-a].unsubscribe(),o+=2}else n[o].call(r[n[o+1]]);null!==r&&(t[Ri]=null);const i=t[wn];if(null!==i){t[wn]=null;for(let o=0;o<i.length;o++)(0,i[o])()}}(e,t),1===t[It].type&&t[Jt].destroy();const n=t[ot];if(null!==n&&Fr(t[Gn])){n!==t[Gn]&&yh(n,t);const r=t[Tt];null!==r&&r.detachView(e)}!function py(e){xu.delete(e[Kt])}(t)}}function Ru(e,t,n){return function bh(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[ar];{const{componentOffset:i}=r;if(i>-1){const{encapsulation:o}=e.data[r.directiveStart+i];if(o===Ce.None||o===Ce.Emulated)return null}return ci(r,n)}}(e,t.parent,n)}function la(e,t,n,r,i){e.insertBefore(t,n,r,i)}function Eh(e,t,n){e.appendChild(t,n)}function Dh(e,t,n,r,i){null!==r?la(e,t,n,r,i):Eh(e,t,n)}function pc(e,t){return e.parentNode(t)}function Ch(e,t,n){return xh(e,t,n)}let Nu,_c,Bu,vc,xh=function wh(e,t,n){return 40&e.type?ci(e,n):null};function mc(e,t,n,r){const i=Ru(e,r,t),o=t[Jt],u=Ch(r.parent||t[hr],r,t);if(null!=i)if(Array.isArray(n))for(let _=0;_<n.length;_++)Dh(o,i,n[_],u,!1);else Dh(o,i,n,u,!1);void 0!==Nu&&Nu(o,r,t,n,i)}function _l(e,t){if(null!==t){const n=t.type;if(3&n)return ci(t,e);if(4&n)return ku(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return _l(e,r);{const i=e[t.index];return Fr(i)?ku(-1,i):Xn(i)}}if(32&n)return Iu(t,e)()||Xn(e[t.index]);{const r=Sh(e,t);return null!==r?Array.isArray(r)?r[0]:_l(gl(e[Re]),r):_l(e,t.next)}}return null}function Sh(e,t){return null!==t?e[Re][hr].projection[t.projection]:null}function ku(e,t){const n=En+e+1;if(n<t.length){const r=t[n],i=r[It].firstChild;if(null!==i)return _l(r,i)}return t[tr]}function Fu(e,t,n,r,i,o,a){for(;null!=n;){const u=r[n.index],_=n.type;if(a&&0===t&&(u&&Zi(Xn(u),r),n.flags|=2),32!=(32&n.flags))if(8&_)Fu(e,t,n.child,r,i,o,!1),Sa(t,e,i,u,o);else if(32&_){const S=Iu(n,r);let L;for(;L=S();)Sa(t,e,i,L,o);Sa(t,e,i,u,o)}else 16&_?Ih(e,t,r,n,i,o):Sa(t,e,i,u,o);n=a?n.projectionNext:n.next}}function vl(e,t,n,r,i,o){Fu(n,r,e.firstChild,t,i,o,!1)}function Ih(e,t,n,r,i,o){const a=n[Re],_=a[hr].projection[r.projection];if(Array.isArray(_))for(let S=0;S<_.length;S++)Sa(t,e,i,_[S],o);else{let S=_;const L=a[Gn];lc(r)&&(S.flags|=128),Fu(e,t,S,L,i,o,!0)}}function Ah(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Oh(e,t,n){const{mergedAttrs:r,classes:i,styles:o}=n;null!==r&&Ln(e,t,r),null!==i&&Ah(e,t,i),null!==o&&function Ly(e,t,n){e.setAttribute(t,"style",n)}(e,t,o)}function Ma(e){return function Lu(){if(void 0===_c&&(_c=null,cn.trustedTypes))try{_c=cn.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return _c}()?.createHTML(e)||e}function Hy(e){Bu=e}function Ia(){if(void 0!==Bu)return Bu;if(typeof document<"u")return document;throw new G(210,!1)}function ju(){if(void 0===vc&&(vc=null,cn.trustedTypes))try{vc=cn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return vc}function Ph(e){return ju()?.createHTML(e)||e}function Nh(e){return ju()?.createScriptURL(e)||e}class ca{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${ke})`}}class $y extends ca{getTypeName(){return"HTML"}}class Vy extends ca{getTypeName(){return"Style"}}class zy extends ca{getTypeName(){return"Script"}}class Gy extends ca{getTypeName(){return"URL"}}class Wy extends ca{getTypeName(){return"ResourceURL"}}function ks(e){return e instanceof ca?e.changingThisBreaksApplicationSecurity:e}function Aa(e,t){const n=function Ky(e){return e instanceof ca&&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 ${ke})`)}return n===t}function Yy(e){return new $y(e)}function Zy(e){return new Vy(e)}function Qy(e){return new zy(e)}function Jy(e){return new Gy(e)}function qy(e){return new Wy(e)}class Xy{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(Ma(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class eb{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=Ma(t),n}}const nb=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function yc(e){return(e=String(e)).match(nb)?e:"unsafe:"+e}function Fs(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function yl(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const Fh=Fs("area,br,col,hr,img,wbr"),Lh=Fs("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Bh=Fs("rp,rt"),Uu=yl(Fh,yl(Lh,Fs("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")),yl(Bh,Fs("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")),yl(Bh,Lh)),Hu=Fs("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),jh=yl(Hu,Fs("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Fs("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")),rb=Fs("script,style,template");class ib{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(!Uu.hasOwnProperty(n))return this.sanitizedSomething=!0,!rb.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),a=o.name,u=a.toLowerCase();if(!jh.hasOwnProperty(u)){this.sanitizedSomething=!0;continue}let _=o.value;Hu[u]&&(_=yc(_)),this.buf.push(" ",a,'="',Uh(_),'"')}return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();Uu.hasOwnProperty(n)&&!Fh.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Uh(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 ob=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,sb=/([^\#-~ |!])/g;function Uh(e){return e.replace(/&/g,"&").replace(ob,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(sb,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let bc;function Hh(e,t){let n=null;try{bc=bc||function kh(e){const t=new eb(e);return function tb(){try{return!!(new window.DOMParser).parseFromString(Ma(""),"text/html")}catch{return!1}}()?new Xy(t):t}(e);let r=t?String(t):"";n=bc.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=bc.getInertBodyElement(r)}while(r!==o);return Ma((new ib).sanitizeChildren($u(n)||n))}finally{if(n){const r=$u(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function $u(e){return"content"in e&&function ab(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var ua=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(ua||{});function $h(e){const t=bl();return t?Ph(t.sanitize(ua.HTML,e)||""):Aa(e,"HTML")?Ph(ks(e)):Hh(Ia(),ie(e))}function Vu(e){const t=bl();return t?t.sanitize(ua.URL,e)||"":Aa(e,"URL")?ks(e):yc(ie(e))}function Vh(e){const t=bl();if(t)return Nh(t.sanitize(ua.RESOURCE_URL,e)||"");if(Aa(e,"ResourceURL"))return Nh(ks(e));throw new G(904,!1)}function zh(e,t,n){return function fb(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?Vh:Vu}(t,n)(e)}function bl(){const e=ct();return e&&e[Di].sanitizer}class vr{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=N({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const El=new vr("ENVIRONMENT_INITIALIZER"),Gh=new vr("INJECTOR",-1),Wh=new vr("INJECTOR_DEF_TYPES");class zu{get(t,n=st){if(n===st){const r=new Error(`NullInjectorError: No provider for ${fe(t)}!`);throw r.name="NullInjectorError",r}return n}}function Gu(e){return{\u0275providers:e}}function hb(...e){return{\u0275providers:Kh(0,e),\u0275fromNgModule:!0}}function Kh(e,...t){const n=[],r=new Set;let i;const o=a=>{n.push(a)};return io(t,a=>{const u=a;Ec(u,o,[],r)&&(i||=[],i.push(u))}),void 0!==i&&Yh(i,o),n}function Yh(e,t){for(let n=0;n<e.length;n++){const{ngModule:r,providers:i}=e[n];Wu(i,o=>{t(o,r)})}}function Ec(e,t,n,r){if(!(e=we(e)))return!1;let i=null,o=kn(e);const a=!o&&un(e);if(o||a){if(a&&!a.standalone)return!1;i=e}else{const _=e.ngModule;if(o=kn(_),!o)return!1;i=_}const u=r.has(i);if(a){if(u)return!1;if(r.add(i),a.dependencies){const _="function"==typeof a.dependencies?a.dependencies():a.dependencies;for(const S of _)Ec(S,t,n,r)}}else{if(!o)return!1;{if(null!=o.imports&&!u){let S;r.add(i);try{io(o.imports,L=>{Ec(L,t,n,r)&&(S||=[],S.push(L))})}finally{}void 0!==S&&Yh(S,t)}if(!u){const S=ei(i)||(()=>new i);t({provide:i,useFactory:S,deps:Xe},i),t({provide:Wh,useValue:i,multi:!0},i),t({provide:El,useValue:()=>P(i),multi:!0},i)}const _=o.providers;if(null!=_&&!u){const S=e;Wu(_,L=>{t(L,S)})}}}return i!==e&&void 0!==e.providers}function Wu(e,t){for(let n of e)Ve(n)&&(n=n.\u0275providers),Array.isArray(n)?Wu(n,t):t(n)}const pb=H({provide:String,useValue:H});function Ku(e){return null!==e&&"object"==typeof e&&pb in e}function da(e){return"function"==typeof e}const Yu=new vr("Set Injector scope."),Dc={},gb={};let Zu;function Cc(){return void 0===Zu&&(Zu=new zu),Zu}class _s{}class wc extends _s{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,Ju(t,a=>this.processProvider(a)),this.records.set(Gh,Oa(void 0,this)),i.has("environment")&&this.records.set(_s,Oa(void 0,this));const o=this.records.get(Yu);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Wh.multi,Xe,Nt.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const n of t)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=F(this),r=rn(void 0);try{return t()}finally{F(n),rn(r)}}get(t,n=st,r=Nt.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Vr))return t[Vr](this);r=ne(r);const o=F(this),a=rn(void 0);try{if(!(r&Nt.SkipSelf)){let _=this.records.get(t);if(void 0===_){const S=function Eb(e){return"function"==typeof e||"object"==typeof e&&e instanceof vr}(t)&&St(t);_=S&&this.injectableDefInScope(S)?Oa(Qu(t),Dc):null,this.records.set(t,_)}if(null!=_)return this.hydrate(t,_)}return(r&Nt.Self?Cc():this.parent).get(t,n=r&Nt.Optional&&n===st?null:n)}catch(u){if("NullInjectorError"===u.name){if((u[en]=u[en]||[]).unshift(fe(t)),o)throw u;return function ee(e,t,n,r){const i=e[en];throw t[k]&&i.unshift(t[k]),e.message=function Pe(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let i=fe(t);if(Array.isArray(t))i=t.map(fe).join(" -> ");else if("object"==typeof t){let o=[];for(let a in t)if(t.hasOwnProperty(a)){let u=t[a];o.push(a+":"+("string"==typeof u?JSON.stringify(u):fe(u)))}i=`{${o.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(pe,"\n ")}`}("\n"+e.message,i,n,r),e.ngTokenPath=i,e[en]=null,e}(u,t,"R3InjectorError",this.source)}throw u}finally{rn(a),F(o)}}resolveInjectorInitializers(){const t=F(this),n=rn(void 0);try{const i=this.get(El.multi,Xe,Nt.Self);for(const o of i)o()}finally{F(t),rn(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(fe(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new G(205,!1)}processProvider(t){let n=da(t=we(t))?t:we(t&&t.provide);const r=function vb(e){return Ku(e)?Oa(void 0,e.useValue):Oa(Jh(e),Dc)}(t);if(da(t)||!0!==t.multi)this.records.get(n);else{let i=this.records.get(n);i||(i=Oa(void 0,Dc,!0),i.factory=()=>le(i.multi),this.records.set(n,i)),n=t,i.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===Dc&&(n.value=gb,n.value=n.factory()),"object"==typeof n.value&&n.value&&function bb(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=we(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function Qu(e){const t=St(e),n=null!==t?t.factory:ei(e);if(null!==n)return n;if(e instanceof vr)throw new G(204,!1);if(e instanceof Function)return function _b(e){const t=e.length;if(t>0)throw hl(t,"?"),new G(204,!1);const n=function Mn(e){return e&&(e[Ct]||e[Un])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new G(204,!1)}function Jh(e,t,n){let r;if(da(e)){const i=we(e);return ei(i)||Qu(i)}if(Ku(e))r=()=>we(e.useValue);else if(function Qh(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...le(e.deps||[]));else if(function Zh(e){return!(!e||!e.useExisting)}(e))r=()=>P(we(e.useExisting));else{const i=we(e&&(e.useClass||e.provide));if(!function yb(e){return!!e.deps}(e))return ei(i)||Qu(i);r=()=>new i(...le(e.deps))}return r}function Oa(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Ju(e,t){for(const n of e)Array.isArray(n)?Ju(n,t):n&&Ve(n)?Ju(n.\u0275providers,t):t(n)}const qh=new vr("AppId",{providedIn:"root",factory:()=>Db}),Db="ng",Xh=new vr("Platform Initializer"),qu=new vr("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Cb=new vr("AnimationModuleType"),wb=new vr("CSP nonce",{providedIn:"root",factory:()=>Ia().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let ep=(e,t,n)=>null;function sd(e,t,n=!1){return ep(e,t,n)}class Nb{}class rp{}class Fb{resolveComponentFactory(t){throw function kb(e){const t=Error(`No component factory found for ${fe(e)}.`);return t.ngComponent=e,t}(t)}}let wl=(()=>{class t{}return t.NULL=new Fb,t})();function Lb(){return Na(gr(),ct())}function Na(e,t){return new xl(ci(e,t))}let xl=(()=>{class t{constructor(r){this.nativeElement=r}}return t.__NG_ELEMENT_ID__=Lb,t})();function Bb(e){return e instanceof xl?e.nativeElement:e}class op{}let jb=(()=>{class t{constructor(){this.destroyNode=null}}return t.__NG_ELEMENT_ID__=()=>function Ub(){const e=ct(),n=bi(gr().index,e);return(nr(n)?n:e)[Jt]}(),t})(),Hb=(()=>{var e;class t{}return(e=t).\u0275prov=N({token:e,providedIn:"root",factory:()=>null}),t})();class sp{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const ap=new sp("16.2.5"),cd={};function dp(e,t=null,n=null,r){const i=fp(e,t,n,r);return i.resolveInjectorInitializers(),i}function fp(e,t=null,n=null,r,i=new Set){const o=[n||Xe,hb(e)];return r=r||("object"==typeof e?void 0:fe(e)),new wc(o,t||Cc(),r||null,i)}let os=(()=>{var e;class t{static create(r,i){if(Array.isArray(r))return dp({name:""},i,r,"");{const o=r.name??"";return dp({name:o},r.parent,r.providers,o)}}}return(e=t).THROW_IF_NOT_FOUND=st,e.NULL=new zu,e.\u0275prov=N({token:e,providedIn:"any",factory:()=>P(Gh)}),e.__NG_ELEMENT_ID__=-1,t})();function dd(e){return e.ngOriginalError}class Js{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&&dd(t);for(;n&&dd(n);)n=dd(n);return n||null}}function hd(e){return t=>{setTimeout(e,void 0,t)}}const vs=class Yb 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),a=r;if(t&&"object"==typeof t){const _=t;i=_.next?.bind(_),o=_.error?.bind(_),a=_.complete?.bind(_)}this.__isAsync&&(o=hd(o),i&&(i=hd(i)),a&&(a=hd(a)));const u=super.subscribe({next:i,error:o,complete:a});return t instanceof m.w0&&t.add(u),u}};function pp(...e){}class Ii{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new vs(!1),this.onMicrotaskEmpty=new vs(!1),this.onStable=new vs(!1),this.onError=new vs(!1),typeof Zone>"u")throw new G(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 Zb(){const e="function"==typeof cn.requestAnimationFrame;let t=cn[e?"requestAnimationFrame":"setTimeout"],n=cn[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);const i=n[Zone.__symbol__("OriginalDelegate")];i&&(n=i)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function qb(e){const t=()=>{!function Jb(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(cn,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,md(e),e.isCheckStableRunning=!0,pd(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),md(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,i,o,a,u)=>{if(function e0(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(u))return n.invokeTask(i,o,a,u);try{return mp(e),n.invokeTask(i,o,a,u)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||e.shouldCoalesceRunChangeDetection)&&t(),gp(e)}},onInvoke:(n,r,i,o,a,u,_)=>{try{return mp(e),n.invoke(i,o,a,u,_)}finally{e.shouldCoalesceRunChangeDetection&&t(),gp(e)}},onHasTask:(n,r,i,o)=>{n.hasTask(i,o),r===i&&("microTask"==o.change?(e._hasPendingMicrotasks=o.microTask,md(e),pd(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(!Ii.isInAngularZone())throw new G(909,!1)}static assertNotInAngularZone(){if(Ii.isInAngularZone())throw new G(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,i){const o=this._inner,a=o.scheduleEventTask("NgZoneEvent: "+i,t,Qb,pp,pp);try{return o.runTask(a,n,r)}finally{o.cancelTask(a)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const Qb={};function pd(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 md(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function mp(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function gp(e){e._nesting--,pd(e)}class Xb{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new vs,this.onMicrotaskEmpty=new vs,this.onStable=new vs,this.onError=new vs}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 _p=new vr("",{providedIn:"root",factory:vp});function vp(){const e=me(Ii);let t=!0;const n=new W.y(i=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{i.next(t),i.complete()})}),r=new W.y(i=>{let o;e.runOutsideAngular(()=>{o=e.onStable.subscribe(()=>{Ii.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,i.next(!0))})})});const a=e.onUnstable.subscribe(()=>{Ii.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{i.next(!1)}))});return()=>{o.unsubscribe(),a.unsubscribe()}});return(0,U.T)(n,r.pipe((0,Z.B)()))}function Ls(e){return e instanceof Function?e():e}let gd=(()=>{var e;class t{constructor(){this.renderDepth=0,this.handler=null}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){this.renderDepth--,0===this.renderDepth&&this.handler?.execute()}ngOnDestroy(){this.handler?.destroy(),this.handler=null}}return(e=t).\u0275prov=N({token:e,providedIn:"root",factory:()=>new e}),t})();function Tl(e){for(;e;){e[sn]|=64;const t=gl(e);if(ao(e)&&!t)return e;e=t}return null}const Cp=new vr("",{providedIn:"root",factory:()=>!1});let Oc=null;function Sp(e,t){return e[t]??Ap()}function Mp(e,t){const n=Ap();n.producerNode?.length&&(e[t]=Oc,n.lView=e,Oc=Ip())}const d0={...ki,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Tl(e.lView)},lView:null};function Ip(){return Object.create(d0)}function Ap(){return Oc??=Ip(),Oc}const xn={};function Op(e){Pp(an(),ct(),Bi()+e,!1)}function Pp(e,t,n,r){if(!r)if(3==(3&t[sn])){const o=e.preOrderCheckHooks;null!==o&&ro(t,o,n)}else{const o=e.preOrderHooks;null!==o&&Ws(t,o,0,n)}is(n)}function La(e,t=Nt.Default){const n=ct();return null===n?P(e,t):Ca(gr(),n,we(e),t)}function Rp(){throw new Error("invalid")}function Pc(e,t,n,r,i,o,a,u,_,S,L){const ae=t.blueprint.slice();return ae[ar]=i,ae[sn]=140|r,(null!==S||e&&2048&e[sn])&&(ae[sn]|=2048),g(ae),ae[Gn]=ae[be]=e,ae[lr]=n,ae[Di]=a||e&&e[Di],ae[Jt]=u||e&&e[Jt],ae[Wr]=_||e&&e[Wr]||null,ae[hr]=o,ae[Kt]=function fy(){return dy++}(),ae[yn]=L,ae[$n]=S,ae[Re]=2==t.type?e[Re]:ae,ae}function Ba(e,t,n,r,i){let o=e.data[t];if(null===o)o=function _d(e,t,n,r,i){const o=rs(),a=jr(),_=e.data[t]=function y0(e,t,n,r,i,o){let a=t?t.injectorIndex:-1,u=0;return Kn()&&(u|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:a,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:u,providerIndexes:0,value:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,a?o:o&&o.parent,n,t,r,i);return null===e.firstChild&&(e.firstChild=_),null!==o&&(a?null==o.child&&null!==_.parent&&(o.child=_):null===o.next&&(o.next=_,_.prev=o)),_}(e,t,n,r,i),function y(){return Fe.lFrame.inI18n}()&&(o.flags|=32);else if(64&o.type){o.type=n,o.value=r,o.attrs=i;const a=function ur(){const e=Fe.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();o.injectorIndex=null===a?-1:a.injectorIndex}return ri(o,!0),o}function Sl(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 Np(e,t,n,r,i){const o=Sp(t,Er),a=Bi(),u=2&r;try{is(-1),u&&t.length>dn&&Pp(e,t,dn,!1),Lr(u?2:0,i);const S=u?o:null,L=Fi(S);try{null!==S&&(S.dirty=!1),n(r,i)}finally{to(S,L)}}finally{u&&null===t[Er]&&Mp(t,Er),is(a),Lr(u?3:1,i)}}function vd(e,t,n){if(ls(t)){const r=li(null);try{const o=t.directiveEnd;for(let a=t.directiveStart;a<o;a++){const u=e.data[a];u.contentQueries&&u.contentQueries(1,n[a],a)}}finally{li(r)}}}function yd(e,t,n){ln()&&(function T0(e,t,n,r){const i=n.directiveStart,o=n.directiveEnd;fi(n)&&function R0(e,t,n){const r=ci(t,e),i=kp(n);let a=16;n.signals?a=4096:n.onPush&&(a=64);const u=Rc(e,Pc(e,i,null,a,r,t,null,e[Di].rendererFactory.createRenderer(r,n),null,null,null));e[t.index]=u}(t,n,e.data[i+n.componentOffset]),e.firstCreatePass||ya(n,t),Zi(r,t);const a=n.initialInputs;for(let u=i;u<o;u++){const _=e.data[u],S=Rs(t,e,u,n);Zi(S,t),null!==a&&N0(0,u-i,S,_,0,a),ai(_)&&(bi(n.index,t)[lr]=Rs(t,e,u,n))}}(e,t,n,ci(n,t)),64==(64&n.flags)&&Up(e,t,n))}function bd(e,t,n=ci){const r=t.localNames;if(null!==r){let i=t.index+1;for(let o=0;o<r.length;o+=2){const a=r[o+1],u=-1===a?n(t,e):e[a];e[i++]=u}}}function kp(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Ed(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Ed(e,t,n,r,i,o,a,u,_,S,L){const ae=dn+r,Te=ae+i,Be=function h0(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:xn);return n}(ae,Te),at="function"==typeof S?S():S;return Be[It]={type:e,blueprint:Be,template:n,queries:null,viewQuery:u,declTNode:t,data:Be.slice().fill(null,ae),bindingStartIndex:ae,expandoStartIndex:Te,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 a?a():a,firstChild:null,schemas:_,consts:at,incompleteFirstPass:!1,ssrId:L}}let Fp=e=>null;function Lp(e,t,n,r){for(let i in e)if(e.hasOwnProperty(i)){n=null===n?{}:n;const o=e[i];null===r?Bp(n,t,i,o):r.hasOwnProperty(i)&&Bp(n,t,r[i],o)}return n}function Bp(e,t,n,r){e.hasOwnProperty(n)?e[n].push(t,r):e[n]=[t,r]}function Ao(e,t,n,r,i,o,a,u){const _=ci(t,n);let L,S=t.inputs;!u&&null!=S&&(L=S[r])?(Td(e,n,L,r,i),fi(t)&&function D0(e,t){const n=bi(t,e);16&n[sn]||(n[sn]|=64)}(n,t.index)):3&t.type&&(r=function E0(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),i=null!=a?a(i,t.value||"",r):i,o.setProperty(_,r,i))}function Dd(e,t,n,r){if(ln()){const i=null===r?null:{"":-1},o=function M0(e,t){const n=e.directiveRegistry;let r=null,i=null;if(n)for(let o=0;o<n.length;o++){const a=n[o];if(Ai(t,a.selectors,!1))if(r||(r=[]),ai(a))if(null!==a.findHostDirectiveDefs){const u=[];i=i||new Map,a.findHostDirectiveDefs(a,u,i),r.unshift(...u,a),Cd(e,t,u.length)}else r.unshift(a),Cd(e,t,0);else i=i||new Map,a.findHostDirectiveDefs?.(a,r,i),r.push(a)}return null===r?null:[r,i]}(e,n);let a,u;null===o?a=u=null:[a,u]=o,null!==a&&jp(e,t,n,a,i,u),i&&function I0(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 G(-301,!1);r.push(t[i],o)}}}(n,r,i)}n.mergedAttrs=Or(n.mergedAttrs,n.attrs)}function jp(e,t,n,r,i,o){for(let S=0;S<r.length;S++)oa(ya(n,t),e,r[S].type);!function O0(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 L=r[S];L.providersResolver&&L.providersResolver(L)}let a=!1,u=!1,_=Sl(e,t,r.length,null);for(let S=0;S<r.length;S++){const L=r[S];n.mergedAttrs=Or(n.mergedAttrs,L.hostAttrs),P0(e,n,t,_,L),A0(_,L,i),null!==L.contentQueries&&(n.flags|=4),(null!==L.hostBindings||null!==L.hostAttrs||0!==L.hostVars)&&(n.flags|=64);const ae=L.type.prototype;!a&&(ae.ngOnChanges||ae.ngOnInit||ae.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),a=!0),!u&&(ae.ngOnChanges||ae.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),u=!0),_++}!function b0(e,t,n){const i=t.directiveEnd,o=e.data,a=t.attrs,u=[];let _=null,S=null;for(let L=t.directiveStart;L<i;L++){const ae=o[L],Te=n?n.get(ae):null,at=Te?Te.outputs:null;_=Lp(ae.inputs,L,_,Te?Te.inputs:null),S=Lp(ae.outputs,L,S,at);const Et=null===_||null===a||Rr(t)?null:k0(_,L,a);u.push(Et)}null!==_&&(_.hasOwnProperty("class")&&(t.flags|=8),_.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=u,t.inputs=_,t.outputs=S}(e,n,o)}function Up(e,t,n){const r=n.directiveStart,i=n.directiveEnd,o=n.index,a=function j(){return Fe.lFrame.currentDirectiveIndex}();try{is(o);for(let u=r;u<i;u++){const _=e.data[u],S=t[u];q(u),(null!==_.hostBindings||0!==_.hostVars||null!==_.hostAttrs)&&S0(_,S)}}finally{is(-1),q(a)}}function S0(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Cd(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function A0(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;ai(t)&&(n[""]=e)}}function P0(e,t,n,r,i){e.data[r]=i;const o=i.factory||(i.factory=ei(i.type)),a=new ra(o,ai(i),La);e.blueprint[r]=a,n[r]=a,function w0(e,t,n,r,i){const o=i.hostBindings;if(o){let a=e.hostBindingOpCodes;null===a&&(a=e.hostBindingOpCodes=[]);const u=~t.index;(function x0(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(a)!=u&&a.push(u),a.push(n,r,o)}}(e,t,r,Sl(e,n,i.hostVars,xn),i)}function ys(e,t,n,r,i,o){const a=ci(e,t);!function wd(e,t,n,r,i,o,a){if(null==o)e.removeAttribute(t,i,n);else{const u=null==a?ie(o):a(o,r||"",i);e.setAttribute(t,i,u,n)}}(t[Jt],a,o,e.value,n,r,i)}function N0(e,t,n,r,i,o){const a=o[t];if(null!==a)for(let u=0;u<a.length;)Hp(r,n,a[u++],a[u++],a[u++])}function Hp(e,t,n,r,i){const o=li(null);try{const a=e.inputTransforms;null!==a&&a.hasOwnProperty(r)&&(i=a[r].call(t,i)),null!==e.setInput?e.setInput(t,i,n,r):t[r]=i}finally{li(o)}}function k0(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 a=e[o];for(let u=0;u<a.length;u+=2)if(a[u]===t){r.push(o,a[u+1],n[i+1]);break}}i+=2}else i+=2;else i+=4}return r}function $p(e,t,n,r){return[e,!0,!1,t,null,0,r,n,null,null,null]}function Vp(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 a=e.data[o];tt(n[r]),a.contentQueries(2,t[o],o)}}}function Rc(e,t){return e[Ni]?e[Me][Nr]=t:e[Ni]=t,e[Me]=t,t}function xd(e,t,n){tt(0);const r=li(null);try{t(e,n)}finally{li(r)}}function zp(e){return e[Ri]||(e[Ri]=[])}function Gp(e){return e.cleanup||(e.cleanup=[])}function Wp(e,t,n){return(null===e||ai(e))&&(n=function Uo(e){for(;Array.isArray(e);){if("object"==typeof e[Ci])return e;e=e[ar]}return null}(n[t.index])),n[Jt]}function Kp(e,t){const n=e[Wr],r=n?n.get(Js,null):null;r&&r.handleError(t)}function Td(e,t,n,r,i){for(let o=0;o<n.length;){const a=n[o++],u=n[o++];Hp(e.data[a],t[a],r,u,i)}}function Bs(e,t,n){const r=ts(t,e);!function vh(e,t,n){e.setValue(t,n)}(e[Jt],r,n)}function F0(e,t){const n=bi(t,e),r=n[It];!function L0(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n);const i=n[ar];null!==i&&null===n[yn]&&(n[yn]=sd(i,n[Wr])),Sd(r,n,n[lr])}function Sd(e,t,n){Ur(t);try{const r=e.viewQuery;null!==r&&xd(1,r,n);const i=e.template;null!==i&&Np(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Vp(e,t),e.staticViewQueries&&xd(2,e.viewQuery,n);const o=e.components;null!==o&&function B0(e,t){for(let n=0;n<t.length;n++)F0(e,t[n])}(t,o)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[sn]&=-5,Ho()}}let Yp=(()=>{var e;class t{constructor(){this.all=new Set,this.queue=new Map}create(r,i,o){const a=typeof Zone>"u"?null:Zone.current,u=function de(e,t,n){const r=Object.create(_t);n&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;const i=a=>{r.cleanupFn=a};return r.ref={notify:()=>ti(r),run:()=>{if(r.dirty=!1,r.hasRun&&!Li(r))return;r.hasRun=!0;const a=Fi(r);try{r.cleanupFn(),r.cleanupFn=et,r.fn(i)}finally{to(r,a)}},cleanup:()=>r.cleanupFn()},r.ref}(r,L=>{this.all.has(L)&&this.queue.set(L,a)},o);let _;this.all.add(u),u.notify();const S=()=>{u.cleanup(),_?.(),this.all.delete(u),this.queue.delete(u)};return _=i?.onDestroy(S),{destroy:S}}flush(){if(0!==this.queue.size)for(const[r,i]of this.queue)this.queue.delete(r),i?i.run(()=>r.run()):r.run()}get isQueueEmpty(){return 0===this.queue.size}}return(e=t).\u0275prov=N({token:e,providedIn:"root",factory:()=>new e}),t})();function Nc(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,o=0;if(null!==t)for(let a=0;a<t.length;a++){const u=t[a];"number"==typeof u?o=u:1==o?i=Se(i,u):2==o&&(r=Se(r,u+": "+t[++a]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}function Ml(e,t,n,r,i=!1){for(;null!==n;){const o=t[n.index];null!==o&&r.push(Xn(o)),Fr(o)&&Zp(o,r);const a=n.type;if(8&a)Ml(e,t,n.child,r);else if(32&a){const u=Iu(n,t);let _;for(;_=u();)r.push(_)}else if(16&a){const u=Sh(t,n);if(Array.isArray(u))r.push(...u);else{const _=gl(t[Re]);Ml(_[It],_,u,r,!0)}}n=i?n.projectionNext:n.next}return r}function Zp(e,t){for(let n=En;n<e.length;n++){const r=e[n],i=r[It].firstChild;null!==i&&Ml(r[It],r,i,t)}e[tr]!==e[ar]&&t.push(e[tr])}function kc(e,t,n,r=!0){const i=t[Di],o=i.rendererFactory,a=i.afterRenderEventManager;o.begin?.(),a?.begin();try{Qp(e,t,e.template,n)}catch(_){throw r&&Kp(t,_),_}finally{o.end?.(),i.effectManager?.flush(),a?.end()}}function Qp(e,t,n,r){const i=t[sn];if(256!=(256&i)){t[Di].effectManager?.flush(),Ur(t);try{g(t),function Ki(e){return Fe.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&Np(e,t,n,2,r);const a=3==(3&i);if(a){const S=e.preOrderCheckHooks;null!==S&&ro(t,S,null)}else{const S=e.preOrderHooks;null!==S&&Ws(t,S,0,null),Yl(t,0)}if(function H0(e){for(let t=mh(e);null!==t;t=gh(t)){if(!t[Sr])continue;const n=t[si];for(let r=0;r<n.length;r++){A(n[r])}}}(t),Jp(t,2),null!==e.contentQueries&&Vp(e,t),a){const S=e.contentCheckHooks;null!==S&&ro(t,S)}else{const S=e.contentHooks;null!==S&&Ws(t,S,1),Yl(t,1)}!function f0(e,t){const n=e.hostBindingOpCodes;if(null===n)return;const r=Sp(t,Kr);try{for(let i=0;i<n.length;i++){const o=n[i];if(o<0)is(~o);else{const a=o,u=n[++i],_=n[++i];x(u,a),r.dirty=!1;const S=Fi(r);try{_(2,t[a])}finally{to(r,S)}}}}finally{null===t[Kr]&&Mp(t,Kr),is(-1)}}(e,t);const u=e.components;null!==u&&Xp(t,u,0);const _=e.viewQuery;if(null!==_&&xd(2,_,r),a){const S=e.viewCheckHooks;null!==S&&ro(t,S)}else{const S=e.viewHooks;null!==S&&Ws(t,S,2),Yl(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[sn]&=-73,K(t)}finally{Ho()}}}function Jp(e,t){for(let n=mh(e);null!==n;n=gh(n))for(let r=En;r<n.length;r++)qp(n[r],t)}function $0(e,t,n){qp(bi(t,e),n)}function qp(e,t){if(!function C(e){return 128==(128&e[sn])}(e))return;const n=e[It],r=e[sn];if(80&r&&0===t||1024&r||2===t)Qp(n,e,n.template,e[lr]);else if(e[ui]>0){Jp(e,1);const i=n.components;null!==i&&Xp(e,i,1)}}function Xp(e,t,n){for(let r=0;r<t.length;r++)$0(e,t[r],n)}class Il{get rootNodes(){const t=this._lView,n=t[It];return Ml(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[lr]}set context(t){this._lView[lr]=t}get destroyed(){return 256==(256&this._lView[sn])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[Gn];if(Fr(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(hc(t,r),ec(n,r))}this._attachedToViewContainer=!1}Ou(this._lView[It],this._lView)}onDestroy(t){!function Ee(e,t){if(256==(256&e[sn]))throw new G(911,!1);null===e[wn]&&(e[wn]=[]),e[wn].push(t)}(this._lView,t)}markForCheck(){Tl(this._cdRefInjectingView||this._lView)}detach(){this._lView[sn]&=-129}reattach(){this._lView[sn]|=128}detectChanges(){kc(this._lView[It],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new G(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Ty(e,t){vl(e,t,t[Jt],2,null,null)}(this._lView[It],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new G(902,!1);this._appRef=t}}class V0 extends Il{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;kc(t[It],t,t[lr],!1)}checkNoChanges(){}get context(){return null}}class em extends wl{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=un(t);return new Al(n,this.ngModule)}}function tm(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class G0{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=ne(r);const i=this.injector.get(t,cd,r);return i!==cd||n===cd?i:this.parentInjector.get(t,n,r)}}class Al extends rp{get inputs(){const t=this.componentDef,n=t.inputTransforms,r=tm(t.inputs);if(null!==n)for(const i of r)n.hasOwnProperty(i.propName)&&(i.transform=n[i.propName]);return r}get outputs(){return tm(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function Oi(e){return e.map(bo).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,i){let o=(i=i||this.ngModule)instanceof _s?i:i?.injector;o&&null!==this.componentDef.getStandaloneInjector&&(o=this.componentDef.getStandaloneInjector(o)||o);const a=o?new G0(t,o):t,u=a.get(op,null);if(null===u)throw new G(407,!1);const ae={rendererFactory:u,sanitizer:a.get(Hb,null),effectManager:a.get(Yp,null),afterRenderEventManager:a.get(gd,null)},Te=u.createRenderer(null,this.componentDef),Be=this.componentDef.selectors[0][0]||"div",at=r?function p0(e,t,n,r){const o=r.get(Cp,!1)||n===Ce.ShadowDom,a=e.selectRootElement(t,o);return function m0(e){Fp(e)}(a),a}(Te,r,this.componentDef.encapsulation,a):fc(Te,Be,function z0(e){const t=e.toLowerCase();return"svg"===t?xr:"math"===t?"math":null}(Be)),Qt=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let gt=null;null!==at&&(gt=sd(at,a,!0));const bn=Ed(0,null,null,1,0,null,null,null,null,null,null),jn=Pc(null,bn,null,Qt,null,null,ae,Te,a,null,gt);let Cr,vo;Ur(jn);try{const js=this.componentDef;let tl,jf=null;js.findHostDirectiveDefs?(tl=[],jf=new Map,js.findHostDirectiveDefs(js,tl,jf),tl.push(js)):tl=[js];const Zx=function K0(e,t){const n=e[It],r=dn;return e[r]=t,Ba(n,r,2,"#host",null)}(jn,at),Qx=function Y0(e,t,n,r,i,o,a){const u=i[It];!function Z0(e,t,n,r){for(const i of e)t.mergedAttrs=Or(t.mergedAttrs,i.hostAttrs);null!==t.mergedAttrs&&(Nc(t,t.mergedAttrs,!0),null!==n&&Oh(r,n,t))}(r,e,t,a);let _=null;null!==t&&(_=sd(t,i[Wr]));const S=o.rendererFactory.createRenderer(t,n);let L=16;n.signals?L=4096:n.onPush&&(L=64);const ae=Pc(i,kp(n),null,L,i[e.index],e,o,S,null,null,_);return u.firstCreatePass&&Cd(u,e,r.length-1),Rc(i,ae),i[e.index]=ae}(Zx,at,js,tl,jn,ae,Te);vo=zs(bn,dn),at&&function J0(e,t,n,r){if(r)Ln(e,n,["ng-version",ap.full]);else{const{attrs:i,classes:o}=function br(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(!yr(i))break;i=o}r++}return{attrs:t,classes:n}}(t.selectors[0]);i&&Ln(e,n,i),o&&o.length>0&&Ah(e,n,o.join(" "))}}(Te,js,at,r),void 0!==n&&function q0(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)}}(vo,this.ngContentSelectors,n),Cr=function Q0(e,t,n,r,i,o){const a=gr(),u=i[It],_=ci(a,i);jp(u,i,a,n,null,r);for(let L=0;L<n.length;L++)Zi(Rs(i,u,a.directiveStart+L,a),i);Up(u,i,a),_&&Zi(_,i);const S=Rs(i,u,a.directiveStart+a.componentOffset,a);if(e[lr]=i[lr]=S,null!==o)for(const L of o)L(S,t);return vd(u,a,e),S}(Qx,js,tl,jf,jn,[X0]),Sd(bn,jn,null)}finally{Ho()}return new W0(this.componentType,Cr,Na(vo,jn),jn,vo)}}class W0 extends Nb{constructor(t,n,r,i,o){super(),this.location=r,this._rootLView=i,this._tNode=o,this.previousInputValues=null,this.instance=n,this.hostView=this.changeDetectorRef=new V0(i),this.componentType=t}setInput(t,n){const r=this._tNode.inputs;let i;if(null!==r&&(i=r[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;const o=this._rootLView;Td(o[It],o,i,t,n),this.previousInputValues.set(t,n),Tl(bi(this._tNode.index,o))}}get injector(){return new Jr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function X0(){const e=gr();na(ct()[It],e)}function Md(e){let t=function nm(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let i;if(ai(e))i=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new G(903,!1);i=t.\u0275dir}if(i){if(n){r.push(i);const a=e;a.inputs=Fc(e.inputs),a.inputTransforms=Fc(e.inputTransforms),a.declaredInputs=Fc(e.declaredInputs),a.outputs=Fc(e.outputs);const u=i.hostBindings;u&&rE(e,u);const _=i.viewQuery,S=i.contentQueries;if(_&&tE(e,_),S&&nE(e,S),J(e.inputs,i.inputs),J(e.declaredInputs,i.declaredInputs),J(e.outputs,i.outputs),null!==i.inputTransforms&&(null===a.inputTransforms&&(a.inputTransforms={}),J(a.inputTransforms,i.inputTransforms)),ai(i)&&i.data.animation){const L=e.data;L.animation=(L.animation||[]).concat(i.data.animation)}}const o=i.features;if(o)for(let a=0;a<o.length;a++){const u=o[a];u&&u.ngInherit&&u(e),u===Md&&(n=!1)}}t=Object.getPrototypeOf(t)}!function eE(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=Or(i.hostAttrs,n=Or(n,i.hostAttrs))}}(r)}function Fc(e){return e===rt?{}:e===Xe?[]:e}function tE(e,t){const n=e.viewQuery;e.viewQuery=n?(r,i)=>{t(r,i),n(r,i)}:t}function nE(e,t){const n=e.contentQueries;e.contentQueries=n?(r,i,o)=>{t(r,i,o),n(r,i,o)}:t}function rE(e,t){const n=e.hostBindings;e.hostBindings=n?(r,i)=>{t(r,i),n(r,i)}:t}function sm(e){const t=e.inputConfig,n={};for(const r in t)if(t.hasOwnProperty(r)){const i=t[r];Array.isArray(i)&&i[2]&&(n[r]=i[2])}e.inputTransforms=n}function Lc(e){return!!Id(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Id(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function bs(e,t,n){return e[t]=n}function Ol(e,t){return e[t]}function Qi(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function fa(e,t,n,r){const i=Qi(e,t,n);return Qi(e,t+1,r)||i}function Vo(e,t,n,r,i,o){const a=fa(e,t,n,r);return fa(e,t+2,i,o)||a}function Ad(e,t,n,r){const i=ct();return Qi(i,d(),t)&&(an(),ys(Ir(),i,e,t,n,r)),Ad}function Ua(e,t,n,r){return Qi(e,d(),n)?t+ie(n)+r:xn}function Ha(e,t,n,r,i,o){const u=fa(e,function _r(){return Fe.lFrame.bindingIndex}(),n,i);return h(2),u?t+ie(n)+r+ie(i)+o:xn}function ym(e,t,n,r,i,o,a,u){const _=ct(),S=an(),L=e+dn,ae=S.firstCreatePass?function ME(e,t,n,r,i,o,a,u,_){const S=t.consts,L=Ba(t,e,4,a||null,c(S,u));Dd(t,n,L,c(S,_)),na(t,L);const ae=L.tView=Ed(2,L,r,i,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,S,null);return null!==t.queries&&(t.queries.template(t,L),ae.queries=t.queries.embeddedTView(L)),L}(L,S,_,t,n,r,i,o,a):S.data[L];ri(ae,!1);const Te=bm(S,_,ae,e);ta()&&mc(S,_,Te,ae),Zi(Te,_),Rc(_,_[L]=$p(Te,_,Te,ae)),Yr(ae)&&yd(S,_,ae),null!=a&&bd(_,ae,u)}let bm=function Em(e,t,n,r){return So(!0),t[Jt].createComment("")};function Dm(e){return ns(function Ht(){return Fe.lFrame.contextLView}(),dn+e)}function Fd(e,t,n){const r=ct();return Qi(r,d(),t)&&Ao(an(),Ir(),r,e,t,r[Jt],n,!1),Fd}function Ld(e,t,n,r,i){const a=i?"class":"style";Td(e,n,t.inputs[a],a,r)}function $c(e,t,n,r){const i=ct(),o=an(),a=dn+e,u=i[Jt],_=o.firstCreatePass?function PE(e,t,n,r,i,o){const a=t.consts,_=Ba(t,e,2,r,c(a,i));return Dd(t,n,_,c(a,o)),null!==_.attrs&&Nc(_,_.attrs,!1),null!==_.mergedAttrs&&Nc(_,_.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,_),_}(a,o,i,t,n,r):o.data[a],S=Cm(o,i,_,u,t,e);i[a]=S;const L=Yr(_);return ri(_,!0),Oh(u,S,_),32!=(32&_.flags)&&ta()&&mc(o,i,S,_),0===function Dn(){return Fe.lFrame.elementDepthCount}()&&Zi(S,i),function vn(){Fe.lFrame.elementDepthCount++}(),L&&(yd(o,i,_),vd(o,_,i)),null!==r&&bd(i,_),$c}function Vc(){let e=gr();jr()?ps():(e=e.parent,ri(e,!1));const t=e;(function Br(e){return Fe.skipHydrationRootTNode===e})(t)&&function po(){Fe.skipHydrationRootTNode=null}(),function Wt(){Fe.lFrame.elementDepthCount--}();const n=an();return n.firstCreatePass&&(na(n,e),ls(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function $f(e){return 0!=(8&e.flags)}(t)&&Ld(n,t,ct(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function Vf(e){return 0!=(16&e.flags)}(t)&&Ld(n,t,ct(),t.stylesWithoutHost,!1),Vc}function Bd(e,t,n,r){return $c(e,t,n,r),Vc(),Bd}let Cm=(e,t,n,r,i,o)=>(So(!0),fc(r,i,function To(){return Fe.lFrame.currentNamespace}()));function zc(e,t,n){const r=ct(),i=an(),o=e+dn,a=i.firstCreatePass?function kE(e,t,n,r,i){const o=t.consts,a=c(o,r),u=Ba(t,e,8,"ng-container",a);return null!==a&&Nc(u,a,!0),Dd(t,n,u,c(o,i)),null!==t.queries&&t.queries.elementStart(t,u),u}(o,i,r,t,n):i.data[o];ri(a,!0);const u=wm(i,r,a,e);return r[o]=u,ta()&&mc(i,r,u,a),Zi(u,r),Yr(a)&&(yd(i,r,a),vd(i,a,r)),null!=n&&bd(r,a),zc}function Gc(){let e=gr();const t=an();return jr()?ps():(e=e.parent,ri(e,!1)),t.firstCreatePass&&(na(t,e),ls(e)&&t.queries.elementEnd(e)),Gc}function jd(e,t,n){return zc(e,t,n),Gc(),jd}let wm=(e,t,n,r)=>(So(!0),Au(t[Jt],""));function xm(){return ct()}function Ud(e){return!!e&&"function"==typeof e.then}function Tm(e){return!!e&&"function"==typeof e.subscribe}function Hd(e,t,n,r){const i=ct(),o=an(),a=gr();return Sm(o,i,i[Jt],a,e,t,r),Hd}function $d(e,t){const n=gr(),r=ct(),i=an();return Sm(i,r,Wp(Ne(i.data),n,r),n,e,t),$d}function Sm(e,t,n,r,i,o,a){const u=Yr(r),S=e.firstCreatePass&&Gp(e),L=t[lr],ae=zp(t);let Te=!0;if(3&r.type||a){const Et=ci(r,t),kt=a?a(Et):Et,Qt=ae.length,gt=a?jn=>a(Xn(jn[r.index])):r.index;let bn=null;if(!a&&u&&(bn=function BE(e,t,n,r){const i=e.cleanup;if(null!=i)for(let o=0;o<i.length-1;o+=2){const a=i[o];if(a===n&&i[o+1]===r){const u=t[Ri],_=i[o+2];return u.length>_?u[_]:null}"string"==typeof a&&(o+=2)}return null}(e,t,i,r.index)),null!==bn)(bn.__ngLastListenerFn__||bn).__ngNextListenerFn__=o,bn.__ngLastListenerFn__=o,Te=!1;else{o=Im(r,t,L,o,!1);const jn=n.listen(kt,i,o);ae.push(o,jn),S&&S.push(i,gt,Qt,Qt+1)}}else o=Im(r,t,L,o,!1);const Be=r.outputs;let at;if(Te&&null!==Be&&(at=Be[i])){const Et=at.length;if(Et)for(let kt=0;kt<Et;kt+=2){const Cr=t[at[kt]][at[kt+1]].subscribe(o),vo=ae.length;ae.push(o,Cr),S&&S.push(i,r.index,vo,-(vo+1))}}}function Mm(e,t,n,r){try{return Lr(6,t,n),!1!==n(r)}catch(i){return Kp(e,i),!1}finally{Lr(7,t,n)}}function Im(e,t,n,r,i){return function o(a){if(a===Function)return r;Tl(e.componentOffset>-1?bi(e.index,t):t);let _=Mm(t,n,r,a),S=o.__ngNextListenerFn__;for(;S;)_=Mm(t,n,S,a)&&_,S=S.__ngNextListenerFn__;return i&&!1===_&&a.preventDefault(),_}}function Am(e=1){return function nl(e){return(Fe.lFrame.contextLView=function rl(e,t){for(;e>0;)t=t[be],e--;return t}(e,Fe.lFrame.contextLView))[lr]}(e)}function jE(e,t){let n=null;const r=function ji(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?Ai(e,o,!0):Oo(r,o))return i}else n=i}return n}function Om(e){const t=ct()[Re][hr];if(!t.projection){const r=t.projection=hl(e?e.length:1,null),i=r.slice();let o=t.child;for(;null!==o;){const a=e?jE(o,e):0;null!==a&&(i[a]?i[a].projectionNext=o:r[a]=o,i[a]=o),o=o.next}}}function Pm(e,t=0,n){const r=ct(),i=an(),o=Ba(i,dn+e,16,null,n||null);null===o.projection&&(o.projection=t),ps(),(!r[yn]||Kn())&&32!=(32&o.flags)&&function Ny(e,t,n){Ih(t[Jt],0,t,n,Ru(e,n,t),Ch(n.parent||t[hr],n,t))}(i,r,o)}function Vd(e,t,n){return zd(e,"",t,"",n),Vd}function zd(e,t,n,r,i){const o=ct(),a=Ua(o,t,n,r);return a!==xn&&Ao(an(),Ir(),o,e,a,o[Jt],i,!1),zd}function Gd(e,t,n,r,i,o,a){const u=ct(),_=Ha(u,t,n,r,i,o);return _!==xn&&Ao(an(),Ir(),u,e,_,u[Jt],a,!1),Gd}function Wc(e,t){return e<<17|t<<2}function qs(e){return e>>17&32767}function Wd(e){return 2|e}function ha(e){return(131068&e)>>2}function Kd(e,t){return-131069&e|t<<2}function Yd(e){return 1|e}function Um(e,t,n,r,i){const o=e[n+1],a=null===t;let u=r?qs(o):ha(o),_=!1;for(;0!==u&&(!1===_||a);){const L=e[u+1];GE(e[u],t)&&(_=!0,e[u+1]=r?Yd(L):Wd(L)),u=r?qs(L):ha(L)}_&&(e[n+1]=r?Wd(o):Yd(o))}function GE(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&wa(e,t)>=0}const Ei={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Hm(e){return e.substring(Ei.key,Ei.keyEnd)}function $m(e,t){const n=Ei.textEnd;return n===t?-1:(t=Ei.keyEnd=function ZE(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Ei.key=t,n),Ya(e,t,n))}function Ya(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Zd(e,t,n){return ss(e,t,n,!1),Zd}function Qd(e,t){return ss(e,t,null,!0),Qd}function Km(e){as(iD,Ds,e,!0)}function Ds(e,t){for(let n=function KE(e){return function zm(e){Ei.key=0,Ei.keyEnd=0,Ei.value=0,Ei.valueEnd=0,Ei.textEnd=e.length}(e),$m(e,Ya(e,0,Ei.textEnd))}(t);n>=0;n=$m(t,n))Io(e,Hm(t),!0)}function ss(e,t,n,r){const i=ct(),o=an(),a=h(2);o.firstUpdatePass&&Zm(o,e,a,r),t!==xn&&Qi(i,a,t)&&Jm(o,o.data[Bi()],i,i[Jt],e,i[a+1]=function sD(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=fe(ks(e)))),e}(t,n),r,a)}function as(e,t,n,r){const i=an(),o=h(2);i.firstUpdatePass&&Zm(i,null,o,r);const a=ct();if(n!==xn&&Qi(a,o,n)){const u=i.data[Bi()];if(Xm(u,r)&&!Ym(i,o)){let _=r?u.classesWithoutHost:u.stylesWithoutHost;null!==_&&(n=Se(_,n||"")),Ld(i,u,a,n,r)}else!function oD(e,t,n,r,i,o,a,u){i===xn&&(i=Xe);let _=0,S=0,L=0<i.length?i[0]:null,ae=0<o.length?o[0]:null;for(;null!==L||null!==ae;){const Te=_<i.length?i[_+1]:void 0,Be=S<o.length?o[S+1]:void 0;let Et,at=null;L===ae?(_+=2,S+=2,Te!==Be&&(at=ae,Et=Be)):null===ae||null!==L&&L<ae?(_+=2,at=L):(S+=2,at=ae,Et=Be),null!==at&&Jm(e,t,n,r,at,Et,a,u),L=_<i.length?i[_]:null,ae=S<o.length?o[S]:null}}(i,u,a,a[Jt],a[o+1],a[o+1]=function rD(e,t,n){if(null==n||""===n)return Xe;const r=[],i=ks(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 Ym(e,t){return t>=e.expandoStartIndex}function Zm(e,t,n,r){const i=e.data;if(null===i[n+1]){const o=i[Bi()],a=Ym(e,n);Xm(o,r)&&null===t&&!a&&(t=!1),t=function XE(e,t,n,r){const i=Ne(e);let o=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(n=kl(n=Jd(null,e,t,n,r),t.attrs,r),o=null);else{const a=t.directiveStylingLast;if(-1===a||e[a]!==i)if(n=Jd(i,e,t,n,r),null===o){let _=function eD(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==ha(r))return e[qs(r)]}(e,t,r);void 0!==_&&Array.isArray(_)&&(_=Jd(null,e,t,_[1],r),_=kl(_,t.attrs,r),function tD(e,t,n,r){e[qs(n?t.classBindings:t.styleBindings)]=r}(e,t,r,_))}else o=function nD(e,t,n){let r;const i=t.directiveEnd;for(let o=1+t.directiveStylingLast;o<i;o++)r=kl(r,e[o].hostAttrs,n);return kl(r,t.attrs,n)}(e,t,r)}return void 0!==o&&(r?t.residualClasses=o:t.residualStyles=o),n}(i,o,t,r),function VE(e,t,n,r,i,o){let a=o?t.classBindings:t.styleBindings,u=qs(a),_=ha(a);e[r]=n;let L,S=!1;if(Array.isArray(n)?(L=n[1],(null===L||wa(n,L)>0)&&(S=!0)):L=n,i)if(0!==_){const Te=qs(e[u+1]);e[r+1]=Wc(Te,u),0!==Te&&(e[Te+1]=Kd(e[Te+1],r)),e[u+1]=function HE(e,t){return 131071&e|t<<17}(e[u+1],r)}else e[r+1]=Wc(u,0),0!==u&&(e[u+1]=Kd(e[u+1],r)),u=r;else e[r+1]=Wc(_,0),0===u?u=r:e[_+1]=Kd(e[_+1],r),_=r;S&&(e[r+1]=Wd(e[r+1])),Um(e,L,r,!0),Um(e,L,r,!1),function zE(e,t,n,r,i){const o=i?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof t&&wa(o,t)>=0&&(n[r+1]=Yd(n[r+1]))}(t,L,e,r,o),a=Wc(u,_),o?t.classBindings=a:t.styleBindings=a}(i,o,t,n,a,r)}}function Jd(e,t,n,r,i){let o=null;const a=n.directiveEnd;let u=n.directiveStylingLast;for(-1===u?u=n.directiveStart:u++;u<a&&(o=t[u],r=kl(r,o.hostAttrs,i),o!==e);)u++;return null!==e&&(n.directiveStylingLast=u),r}function kl(e,t,n){const r=n?1:2;let i=-1;if(null!==t)for(let o=0;o<t.length;o++){const a=t[o];"number"==typeof a?i=a:i===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Io(e,a,!!n||t[++o]))}return void 0===e?null:e}function iD(e,t,n){const r=String(t);""!==r&&!r.includes(" ")&&Io(e,r,n)}function Jm(e,t,n,r,i,o,a,u){if(!(3&t.type))return;const _=e.data,S=_[u+1],L=function $E(e){return 1==(1&e)}(S)?qm(_,t,n,i,ha(S),a):void 0;Kc(L)||(Kc(o)||function UE(e){return 2==(2&e)}(S)&&(o=qm(_,null,n,i,u,a)),function Fy(e,t,n,r,i){if(t)i?e.addClass(n,r):e.removeClass(n,r);else{let o=-1===r.indexOf("-")?void 0:uc.DashCase;null==i?e.removeStyle(n,r,o):("string"==typeof i&&i.endsWith("!important")&&(i=i.slice(0,-10),o|=uc.Important),e.setStyle(n,r,i,o))}}(r,a,ts(Bi(),n),i,o))}function qm(e,t,n,r,i,o){const a=null===t;let u;for(;i>0;){const _=e[i],S=Array.isArray(_),L=S?_[1]:_,ae=null===L;let Te=n[i+1];Te===xn&&(Te=ae?Xe:void 0);let Be=ae?bu(Te,r):L===r?Te:void 0;if(S&&!Kc(Be)&&(Be=bu(_,r)),Kc(Be)&&(u=Be,a))return u;const at=e[i+1];i=a?qs(at):ha(at)}if(null!==t){let _=o?t.residualClasses:t.residualStyles;null!=_&&(u=bu(_,r))}return u}function Kc(e){return void 0!==e}function Xm(e,t){return 0!=(e.flags&(t?8:16))}function eg(e,t=""){const n=ct(),r=an(),i=e+dn,o=r.firstCreatePass?Ba(r,i,1,t,null):r.data[i],a=tg(r,n,o,t,e);n[i]=a,ta()&&mc(r,n,a,o),ri(o,!1)}let tg=(e,t,n,r,i)=>(So(!0),function dc(e,t){return e.createText(t)}(t[Jt],r));function qd(e){return Yc("",e,""),qd}function Yc(e,t,n){const r=ct(),i=Ua(r,e,t,n);return i!==xn&&Bs(r,Bi(),i),Yc}function Xd(e,t,n,r,i){const o=ct(),a=Ha(o,e,t,n,r,i);return a!==xn&&Bs(o,Bi(),a),Xd}function cg(e,t,n){as(Io,Ds,Ua(ct(),e,t,n),!0)}function ef(e,t,n){const r=ct();return Qi(r,d(),t)&&Ao(an(),Ir(),r,e,t,r[Jt],n,!0),ef}function tf(e,t,n){const r=ct();if(Qi(r,d(),t)){const o=an(),a=Ir();Ao(o,a,r,e,t,Wp(Ne(o.data),a,r),n,!0)}return tf}const pa=void 0;var SD=["en",[["a","p"],["AM","PM"],pa],[["AM","PM"],pa,pa],[["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"]],pa,[["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"]],pa,[["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}",pa,"{1} 'at' {0}",pa],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function TD(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let Za={};function nf(e){const t=function MD(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=bg(t);if(n)return n;const r=t.split("-")[0];if(n=bg(r),n)return n;if("en"===r)return SD;throw new G(701,!1)}function yg(e){return nf(e)[Qa.PluralCase]}function bg(e){return e in Za||(Za[e]=cn.ng&&cn.ng.common&&cn.ng.common.locales&&cn.ng.common.locales[e]),Za[e]}var Qa=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(Qa||{});const Ja="en-US";let Eg=Ja;function af(e,t,n,r,i){if(e=we(e),Array.isArray(e))for(let o=0;o<e.length;o++)af(e[o],t,n,r,i);else{const o=an(),a=ct(),u=gr();let _=da(e)?e:we(e.provide);const S=Jh(e),L=1048575&u.providerIndexes,ae=u.directiveStart,Te=u.providerIndexes>>20;if(da(e)||!e.multi){const Be=new ra(S,i,La),at=cf(_,t,i?L:L+Te,ae);-1===at?(oa(ya(u,a),o,_),lf(o,e,t.length),t.push(_),u.directiveStart++,u.directiveEnd++,i&&(u.providerIndexes+=1048576),n.push(Be),a.push(Be)):(n[at]=Be,a[at]=Be)}else{const Be=cf(_,t,L+Te,ae),at=cf(_,t,L,L+Te),kt=at>=0&&n[at];if(i&&!kt||!i&&!(Be>=0&&n[Be])){oa(ya(u,a),o,_);const Qt=function TC(e,t,n,r,i){const o=new ra(e,n,La);return o.multi=[],o.index=t,o.componentProviders=0,Wg(o,i,r&&!n),o}(i?xC:wC,n.length,i,r,S);!i&&kt&&(n[at].providerFactory=Qt),lf(o,e,t.length,0),t.push(_),u.directiveStart++,u.directiveEnd++,i&&(u.providerIndexes+=1048576),n.push(Qt),a.push(Qt)}else lf(o,e,Be>-1?Be:at,Wg(n[i?at:Be],S,!i&&r));!i&&r&&kt&&n[at].componentProviders++}}}function lf(e,t,n,r){const i=da(t),o=function mb(e){return!!e.useClass}(t);if(i||o){const _=(o?we(t.useClass):t).prototype.ngOnDestroy;if(_){const S=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){const L=S.indexOf(n);-1===L?S.push(n,[r,_]):S[L+1].push(r,_)}else S.push(n,_)}}}function Wg(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function cf(e,t,n,r){for(let i=n;i<r;i++)if(t[i]===e)return i;return-1}function wC(e,t,n,r){return uf(this.multi,[])}function xC(e,t,n,r){const i=this.multi;let o;if(this.providerFactory){const a=this.providerFactory.componentProviders,u=Rs(n,n[It],this.providerFactory.index,r);o=u.slice(0,a),uf(i,o);for(let _=a;_<u.length;_++)o.push(u[_])}else o=[],uf(i,o);return o}function uf(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function Kg(e,t=[]){return n=>{n.providersResolver=(r,i)=>function CC(e,t,n){const r=an();if(r.firstCreatePass){const i=ai(e);af(n,r.data,r.blueprint,i,!0),af(t,r.data,r.blueprint,i,!1)}}(r,i?i(e):e,t)}}class ma{}class Yg{}function SC(e,t){return new df(e,t??null,[])}class df extends ma{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new em(this);const i=Gr(t);this._bootstrapComponents=Ls(i.bootstrap),this._r3Injector=fp(t,n,[{provide:ma,useValue:this},{provide:wl,useValue:this.componentFactoryResolver},...r],fe(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 ff extends Yg{constructor(t){super(),this.moduleType=t}create(t){return new df(this.moduleType,t,[])}}class Zg extends ma{constructor(t){super(),this.componentFactoryResolver=new em(this),this.instance=null;const n=new wc([...t.providers,{provide:ma,useValue:this},{provide:wl,useValue:this.componentFactoryResolver}],t.parent||Cc(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Qg(e,t,n=null){return new Zg({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}let IC=(()=>{var e;class t{constructor(r){this._injector=r,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(r){if(!r.standalone)return null;if(!this.cachedInjectors.has(r)){const i=Kh(0,r.type),o=i.length>0?Qg([i],this._injector,`Standalone[${r.type.name}]`):null;this.cachedInjectors.set(r,o)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(const r of this.cachedInjectors.values())null!==r&&r.destroy()}finally{this.cachedInjectors.clear()}}}return(e=t).\u0275prov=N({token:e,providedIn:"environment",factory:()=>new e(P(_s))}),t})();function Jg(e){e.getStandaloneInjector=t=>t.get(IC).getOrCreateStandaloneInjector(e)}function i_(e,t,n){const r=fn()+e,i=ct();return i[r]===xn?bs(i,r,n?t.call(n):t()):Ol(i,r)}function o_(e,t,n,r){return u_(ct(),fn(),e,t,n,r)}function s_(e,t,n,r,i){return d_(ct(),fn(),e,t,n,r,i)}function a_(e,t,n,r,i,o){return function f_(e,t,n,r,i,o,a,u){const _=t+n;return function Bc(e,t,n,r,i){const o=fa(e,t,n,r);return Qi(e,t+2,i)||o}(e,_,i,o,a)?bs(e,_+3,u?r.call(u,i,o,a):r(i,o,a)):Hl(e,_+3)}(ct(),fn(),e,t,n,r,i,o)}function l_(e,t,n,r,i,o,a){return function h_(e,t,n,r,i,o,a,u,_){const S=t+n;return Vo(e,S,i,o,a,u)?bs(e,S+4,_?r.call(_,i,o,a,u):r(i,o,a,u)):Hl(e,S+4)}(ct(),fn(),e,t,n,r,i,o,a)}function c_(e,t,n,r,i,o,a,u){const _=fn()+e,S=ct(),L=Vo(S,_,n,r,i,o);return Qi(S,_+4,a)||L?bs(S,_+5,u?t.call(u,n,r,i,o,a):t(n,r,i,o,a)):Ol(S,_+5)}function Hl(e,t){const n=e[t];return n===xn?void 0:n}function u_(e,t,n,r,i,o){const a=t+n;return Qi(e,a,i)?bs(e,a+1,o?r.call(o,i):r(i)):Hl(e,a+1)}function d_(e,t,n,r,i,o,a){const u=t+n;return fa(e,u,i,o)?bs(e,u+2,a?r.call(a,i,o):r(i,o)):Hl(e,u+2)}function m_(e,t){const n=an();let r;const i=e+dn;n.firstCreatePass?(r=function $C(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??=[]).push(i,r.onDestroy)):r=n.data[i];const o=r.factory||(r.factory=ei(r.type)),u=rn(La);try{const _=va(!1),S=o();return va(_),function OE(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,ct(),i,S),S}finally{rn(u)}}function g_(e,t,n){const r=e+dn,i=ct(),o=ns(i,r);return $l(i,r)?u_(i,fn(),t,o.transform,n,o):o.transform(n)}function __(e,t,n,r){const i=e+dn,o=ct(),a=ns(o,i);return $l(o,i)?d_(o,fn(),t,a.transform,n,r,a):a.transform(n,r)}function $l(e,t){return e[It].data[t].pure}function WC(){return this._results[Symbol.iterator]()}class Xc{get changes(){return this._changes||(this._changes=new vs)}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=Xc.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=WC)}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 hi(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function Mo(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()}}function YC(e,t,n,r=!0){const i=t[It];if(function My(e,t,n,r){const i=En+r,o=n.length;r>0&&(n[i-1][Nr]=t),r<o-En?(t[Nr]=n[i],Yf(n,En+r,t)):(n.push(t),t[Nr]=null),t[Gn]=n;const a=t[ot];null!==a&&n!==a&&function Iy(e,t){const n=e[si];t[Re]!==t[Gn][Gn][Re]&&(e[Sr]=!0),null===n?e[si]=[t]:n.push(t)}(a,t);const u=t[Tt];null!==u&&u.insertView(e),t[sn]|=128}(i,t,e,n),r){const o=ku(n,e),a=t[Jt],u=pc(a,e[tr]);null!==u&&function xy(e,t,n,r,i,o){r[ar]=i,r[hr]=t,vl(e,r,n,1,i,o)}(i,e[hr],a,t,u,o)}}let Vl=(()=>{class t{}return t.__NG_ELEMENT_ID__=JC,t})();const ZC=Vl,QC=class extends ZC{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){const i=function KC(e,t,n,r){const i=t.tView,u=Pc(e,i,n,4096&e[sn]?4096:16,null,t,null,null,null,r?.injector??null,r?.hydrationInfo??null);u[ot]=e[t.index];const S=e[Tt];return null!==S&&(u[Tt]=S.createEmbeddedView(i)),Sd(i,u,n),u}(this._declarationLView,this._declarationTContainer,t,{injector:n,hydrationInfo:r});return new Il(i)}};function JC(){return eu(gr(),ct())}function eu(e,t){return 4&e.type?new QC(t,e,Na(e,t)):null}let nu=(()=>{class t{}return t.__NG_ELEMENT_ID__=rw,t})();function rw(){return w_(gr(),ct())}const iw=nu,D_=class extends iw{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Na(this._hostTNode,this._hostLView)}get injector(){return new Jr(this._hostTNode,this._hostLView)}get parentInjector(){const t=Zs(this._hostTNode,this._hostLView);if(_a(t)){const n=ia(t,this._hostLView),r=Ys(t);return new Jr(n[It].data[r+8],n)}return new Jr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=C_(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-En}createEmbeddedView(t,n,r){let i,o;"number"==typeof r?i=r:null!=r&&(i=r.index,o=r.injector);const u=t.createEmbeddedViewImpl(n||{},o,null);return this.insertImpl(u,i,false),u}createComponent(t,n,r,i,o){const a=t&&!function mn(e){return"function"==typeof e}(t);let u;if(a)u=n;else{const Et=n||{};u=Et.index,r=Et.injector,i=Et.projectableNodes,o=Et.environmentInjector||Et.ngModuleRef}const _=a?t:new Al(un(t)),S=r||this.parentInjector;if(!o&&null==_.ngModule){const kt=(a?S:this.parentInjector).get(_s,null);kt&&(o=kt)}un(_.componentType??{});const Be=_.create(S,i,null,o);return this.insertImpl(Be.hostView,u,false),Be}insert(t,n){return this.insertImpl(t,n,!1)}insertImpl(t,n,r){const i=t._lView;if(function l(e){return Fr(e[Gn])}(i)){const _=this.indexOf(t);if(-1!==_)this.detach(_);else{const S=i[Gn],L=new D_(S,S[hr],S[Gn]);L.detach(L.indexOf(t))}}const a=this._adjustIndex(n),u=this._lContainer;return YC(u,i,a,!r),t.attachToViewContainerRef(),Yf(pf(u),a,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=C_(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=hc(this._lContainer,n);r&&(ec(pf(this._lContainer),n),Ou(r[It],r))}detach(t){const n=this._adjustIndex(t,-1),r=hc(this._lContainer,n);return r&&null!=ec(pf(this._lContainer),n)?new Il(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function C_(e){return e[8]}function pf(e){return e[8]||(e[8]=[])}function w_(e,t){let n;const r=t[e.index];return Fr(r)?n=r:(n=$p(r,t,null,e),t[e.index]=n,Rc(t,n)),x_(n,t,e,r),new D_(n,e,t)}let x_=function T_(e,t,n,r){if(e[tr])return;let i;i=8&n.type?Xn(r):function ow(e,t){const n=e[Jt],r=n.createComment(""),i=ci(t,e);return la(n,pc(n,i),r,function Ry(e,t){return e.nextSibling(t)}(n,i),!1),r}(t,n),e[tr]=i};class mf{constructor(t){this.queryList=t,this.matches=null}clone(){return new mf(this.queryList)}setDirty(){this.queryList.setDirty()}}class gf{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 a=n.getByIndex(o);i.push(this.queries[a.indexInDeclarationView].clone())}return new gf(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!==k_(t,n).matches&&this.queries[n].setDirty()}}class S_{constructor(t,n,r=null){this.predicate=t,this.flags=n,this.read=r}}class _f{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 _f(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 vf{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 vf(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,lw(n,o)),this.matchTNodeWithReadOption(t,n,cl(n,t,o,!1,!1))}else r===Vl?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,cl(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const i=this.metadata.read;if(null!==i)if(i===xl||i===nu||i===Vl&&4&n.type)this.addMatch(n.index,-2);else{const o=cl(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 lw(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 uw(e,t,n,r){return-1===n?function cw(e,t){return 11&e.type?Na(e,t):4&e.type?eu(e,t):null}(t,e):-2===n?function dw(e,t,n){return n===xl?Na(t,e):n===Vl?eu(t,e):n===nu?w_(t,e):void 0}(e,t,r):Rs(e,e[It],n,t)}function M_(e,t,n,r){const i=t[Tt].queries[r];if(null===i.matches){const o=e.data,a=n.matches,u=[];for(let _=0;_<a.length;_+=2){const S=a[_];u.push(S<0?null:uw(t,o[S],a[_+1],n.metadata.read))}i.matches=u}return i.matches}function yf(e,t,n,r){const i=e.queries.getByIndex(n),o=i.matches;if(null!==o){const a=M_(e,t,i,n);for(let u=0;u<o.length;u+=2){const _=o[u];if(_>0)r.push(a[u/2]);else{const S=o[u+1],L=t[-_];for(let ae=En;ae<L.length;ae++){const Te=L[ae];Te[ot]===Te[Gn]&&yf(Te[It],Te,S,r)}if(null!==L[si]){const ae=L[si];for(let Te=0;Te<ae.length;Te++){const Be=ae[Te];yf(Be[It],Be,S,r)}}}}}return r}function I_(e){const t=ct(),n=an(),r=bt();tt(r+1);const i=k_(n,r);if(e.dirty&&function Ps(e){return 4==(4&e[sn])}(t)===(2==(2&i.metadata.flags))){if(null===i.matches)e.reset([]);else{const o=i.crossesNgTemplate?yf(n,t,r,[]):M_(n,t,i,r);e.reset(o,Bb),e.notifyOnChanges()}return!0}return!1}function A_(e,t,n){const r=an();r.firstCreatePass&&(N_(r,new S_(e,t,n),-1),2==(2&t)&&(r.staticViewQueries=!0)),R_(r,ct(),t)}function O_(e,t,n,r){const i=an();if(i.firstCreatePass){const o=gr();N_(i,new S_(t,n,r),o.index),function hw(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)}R_(i,ct(),n)}function P_(){return function fw(e,t){return e[Tt].queries[t].queryList}(ct(),bt())}function R_(e,t,n){const r=new Xc(4==(4&n));(function v0(e,t,n,r){const i=zp(t);i.push(n),e.firstCreatePass&&Gp(e).push(r,i.length-1)})(e,t,r,r.destroy),null===t[Tt]&&(t[Tt]=new gf),t[Tt].queries.push(new mf(r))}function N_(e,t,n){null===e.queries&&(e.queries=new _f),e.queries.track(new vf(t,n))}function k_(e,t){return e.queries.getByIndex(t)}function F_(e,t){return eu(e,t)}function bf(e){return!!Gr(e)}const X_=new vr("Application Initializer");let xf=(()=>{var e;class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,i)=>{this.resolve=r,this.reject=i}),this.appInits=me(X_,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const r=[];for(const o of this.appInits){const a=o();if(Ud(a))r.push(a);else if(Tm(a)){const u=new Promise((_,S)=>{a.subscribe({complete:_,error:S})});r.push(u)}}const i=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{i()}).catch(o=>{this.reject(o)}),0===r.length&&i(),this.initialized=!0}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"}),t})(),ev=(()=>{var e;class t{log(r){console.log(r)}warn(r){console.warn(r)}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})();const iu=new vr("LocaleId",{providedIn:"root",factory:()=>me(iu,Nt.Optional|Nt.SkipSelf)||function Nw(){return typeof $localize<"u"&&$localize.locale||Ja}()}),kw=new vr("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});let tv=(()=>{var e;class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new I.X(!1)}add(){this.hasPendingTasks.next(!0);const r=this.taskId++;return this.pendingTasks.add(r),r}remove(r){this.pendingTasks.delete(r),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();class Lw{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let Bw=(()=>{var e;class t{compileModuleSync(r){return new ff(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){const i=this.compileModuleSync(r),a=Ls(Gr(r).declarations).reduce((u,_)=>{const S=un(_);return S&&u.push(new Al(S)),u},[]);return new Lw(i,a)}compileModuleAndAllComponentsAsync(r){return Promise.resolve(this.compileModuleAndAllComponentsSync(r))}clearCache(){}clearCacheFor(r){}getModuleId(r){}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();const ov=new vr(""),sv=new vr("");let Mf,ix=(()=>{var e;class t{constructor(r,i,o){this._ngZone=r,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Mf||(function ox(e){Mf=e}(o),o.addToWindow(i)),this._watchAngularEvents(),r.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:()=>{Ii.assertNotInAngularZone(),queueMicrotask(()=>{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())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let r=this._callbacks.pop();clearTimeout(r.timeoutId),r.doneCb(this._didWork)}this._didWork=!1});else{let r=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(r)||(clearTimeout(i.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(r=>({source:r.source,creationLocation:r.creationLocation,data:r.data})):[]}addCallback(r,i,o){let a=-1;i&&i>0&&(a=setTimeout(()=>{this._callbacks=this._callbacks.filter(u=>u.timeoutId!==a),r(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:r,timeoutId:a,updateCb:o})}whenStable(r,i,o){if(o&&!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(r,i,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(r){this.registry.registerApplication(r,this)}unregisterApplication(r){this.registry.unregisterApplication(r)}findProviders(r,i,o){return[]}}return(e=t).\u0275fac=function(r){return new(r||e)(P(Ii),P(av),P(sv))},e.\u0275prov=N({token:e,factory:e.\u0275fac}),t})(),av=(()=>{var e;class t{constructor(){this._applications=new Map}registerApplication(r,i){this._applications.set(r,i)}unregisterApplication(r){this._applications.delete(r)}unregisterAllApplications(){this._applications.clear()}getTestability(r){return this._applications.get(r)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(r,i=!0){return Mf?.findTestabilityInTree(this,r,i)??null}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})(),Xs=null;const lv=new vr("AllowMultipleToken"),If=new vr("PlatformDestroyListeners"),Af=new vr("appBootstrapListener");class lx{constructor(t,n){this.name=t,this.token=n}}function dv(e,t,n=[]){const r=`Platform: ${t}`,i=new vr(r);return(o=[])=>{let a=Of();if(!a||a.injector.get(lv,!1)){const u=[...n,...o,{provide:i,useValue:!0}];e?e(u):function cx(e){if(Xs&&!Xs.get(lv,!1))throw new G(400,!1);(function cv(){!function Co(e){qo=e}(()=>{throw new G(600,!1)})})(),Xs=e;const t=e.get(hv);(function uv(e){e.get(Xh,null)?.forEach(n=>n())})(e)}(function fv(e=[],t){return os.create({name:t,providers:[{provide:Yu,useValue:"platform"},{provide:If,useValue:new Set([()=>Xs=null])},...e]})}(u,r))}return function dx(e){const t=Of();if(!t)throw new G(401,!1);return t}()}}function Of(){return Xs?.get(hv)??null}let hv=(()=>{var e;class t{constructor(r){this._injector=r,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(r,i){const o=function fx(e="zone.js",t){return"noop"===e?new Xb:"zone.js"===e?new Ii(t):e}(i?.ngZone,function pv(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:i?.ngZoneEventCoalescing,runCoalescing:i?.ngZoneRunCoalescing}));return o.run(()=>{const a=function MC(e,t,n){return new df(e,t,n)}(r.moduleType,this.injector,function yv(e){return[{provide:Ii,useFactory:e},{provide:El,multi:!0,useFactory:()=>{const t=me(px,{optional:!0});return()=>t.initialize()}},{provide:vv,useFactory:hx},{provide:_p,useFactory:vp}]}(()=>o)),u=a.injector.get(Js,null);return o.runOutsideAngular(()=>{const _=o.onError.subscribe({next:S=>{u.handleError(S)}});a.onDestroy(()=>{su(this._modules,a),_.unsubscribe()})}),function mv(e,t,n){try{const r=n();return Ud(r)?r.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(u,o,()=>{const _=a.injector.get(xf);return _.runInitializers(),_.donePromise.then(()=>(function Dg(e){At(e,"Expected localeId to be defined"),"string"==typeof e&&(Eg=e.toLowerCase().replace(/_/g,"-"))}(a.injector.get(iu,Ja)||Ja),this._moduleDoBootstrap(a),a))})})}bootstrapModule(r,i=[]){const o=gv({},i);return function sx(e,t,n){const r=new ff(n);return Promise.resolve(r)}(0,0,r).then(a=>this.bootstrapModuleFactory(a,o))}_moduleDoBootstrap(r){const i=r.injector.get(el);if(r._bootstrapComponents.length>0)r._bootstrapComponents.forEach(o=>i.bootstrap(o));else{if(!r.instance.ngDoBootstrap)throw new G(-403,!1);r.instance.ngDoBootstrap(i)}this._modules.push(r)}onDestroy(r){this._destroyListeners.push(r)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new G(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const r=this._injector.get(If,null);r&&(r.forEach(i=>i()),r.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return(e=t).\u0275fac=function(r){return new(r||e)(P(os))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})();function gv(e,t){return Array.isArray(t)?t.reduce(gv,e):{...e,...t}}let el=(()=>{var e;class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=me(vv),this.zoneIsStable=me(_p),this.componentTypes=[],this.components=[],this.isStable=me(tv).hasPendingTasks.pipe((0,re.w)(r=>r?(0,Y.of)(!1):this.zoneIsStable),(0,te.x)(),(0,Z.B)()),this._injector=me(_s)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,i){const o=r instanceof rp;if(!this._injector.get(xf).done)throw!o&&Dr(r),new G(405,!1);let u;u=o?r:this._injector.get(wl).resolveComponentFactory(r),this.componentTypes.push(u.componentType);const _=function ax(e){return e.isBoundToModule}(u)?void 0:this._injector.get(ma),L=u.create(os.NULL,[],i||u.selector,_),ae=L.location.nativeElement,Te=L.injector.get(ov,null);return Te?.registerApplication(ae),L.onDestroy(()=>{this.detachView(L.hostView),su(this.components,L),Te?.unregisterApplication(ae)}),this._loadComponent(L),L}tick(){if(this._runningTick)throw new G(101,!1);try{this._runningTick=!0;for(let r of this._views)r.detectChanges()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1}}attachView(r){const i=r;this._views.push(i),i.attachToAppRef(this)}detachView(r){const i=r;su(this._views,i),i.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);const i=this._injector.get(Af,[]);i.push(...this._bootstrapListeners),i.forEach(o=>o(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>su(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new G(406,!1);const r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function su(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const vv=new vr("",{providedIn:"root",factory:()=>me(Js).handleError.bind(void 0)});function hx(){const e=me(Ii),t=me(Js);return n=>e.runOutsideAngular(()=>t.handleError(n))}let px=(()=>{var e;class t{constructor(){this.zone=me(Ii),this.applicationRef=me(el)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function gx(){return!1}function _x(){}let vx=(()=>{class t{}return t.__NG_ELEMENT_ID__=yx,t})();function yx(e){return function bx(e,t,n){if(fi(e)&&!n){const r=bi(e.index,t);return new Il(r,r)}return 47&e.type?new Il(t[Re],t):null}(gr(),ct(),16==(16&e))}class Cv{constructor(){}supports(t){return Lc(t)}create(t){return new Tx(t)}}const xx=(e,t)=>t;class Tx{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||xx}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 a=!r||n&&n.currentIndex<xv(r,i,o)?n:r,u=xv(a,i,o),_=a.currentIndex;if(a===r)i--,r=r._nextRemoved;else if(n=n._next,null==a.previousIndex)i++;else{o||(o=[]);const S=u-i,L=_-i;if(S!=L){for(let Te=0;Te<S;Te++){const Be=Te<o.length?o[Te]:o[Te]=0,at=Be+Te;L<=at&&at<S&&(o[Te]=Be+1)}o[a.previousIndex]=L-S}}u!==_&&t(a,u,_)}}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=[]),!Lc(t))throw new G(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let i,o,a,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let u=0;u<this.length;u++)o=t[u],a=this._trackByFn(u,o),null!==n&&Object.is(n.trackById,a)?(r&&(n=this._verifyReinsertion(n,o,a,u)),Object.is(n.item,o)||this._addIdentityChange(n,o)):(n=this._mismatch(n,o,a,u),r=!0),n=n._next}else i=0,function uE(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Symbol.iterator]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,u=>{a=this._trackByFn(i,u),null!==n&&Object.is(n.trackById,a)?(r&&(n=this._verifyReinsertion(n,u,a,i)),Object.is(n.item,u)||this._addIdentityChange(n,u)):(n=this._mismatch(n,u,a,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 Sx(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 wv),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 wv),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 Sx{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 Mx{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 wv{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new Mx,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 xv(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 Tv{constructor(){}supports(t){return t instanceof Map||Id(t)}create(){return new Ix}}class Ix{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||Id(t)))throw new G(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,a=i._next;return o&&(o._next=a),a&&(a._prev=o),i._next=null,i._prev=null,i}const r=new Ax(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 Ax{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 Sv(){return new Ff([new Cv])}let Ff=(()=>{var e;class t{constructor(r){this.factories=r}static create(r,i){if(null!=i){const o=i.factories.slice();r=r.concat(o)}return new t(r)}static extend(r){return{provide:t,useFactory:i=>t.create(r,i||Sv()),deps:[[t,new rc,new nc]]}}find(r){const i=this.factories.find(o=>o.supports(r));if(null!=i)return i;throw new G(901,!1)}}return(e=t).\u0275prov=N({token:e,providedIn:"root",factory:Sv}),t})();function Mv(){return new Lf([new Tv])}let Lf=(()=>{var e;class t{constructor(r){this.factories=r}static create(r,i){if(i){const o=i.factories.slice();r=r.concat(o)}return new t(r)}static extend(r){return{provide:t,useFactory:i=>t.create(r,i||Mv()),deps:[[t,new rc,new nc]]}}find(r){const i=this.factories.find(o=>o.supports(r));if(i)return i;throw new G(901,!1)}}return(e=t).\u0275prov=N({token:e,providedIn:"root",factory:Mv}),t})();const Rx=dv(null,"core",[]);let Nx=(()=>{var e;class t{constructor(r){}}return(e=t).\u0275fac=function(r){return new(r||e)(P(el))},e.\u0275mod=Pi({type:e}),e.\u0275inj=Le({}),t})();function Gx(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function Wx(e,t=NaN){return isNaN(parseFloat(e))||isNaN(Number(e))?t:Number(e)}function Yx(e){const t=un(e);if(!t)return null;const n=new Al(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}},3680:(ft,De,v)=>{v.d(De,{yN:()=>G,mZ:()=>z,_A:()=>$e,rD:()=>Oe,sG:()=>Ye,Ad:()=>Cn,K7:()=>on,HF:()=>_n,Y2:()=>Vt,BQ:()=>ge,XK:()=>qe,ey:()=>Ze,Ng:()=>We,wG:()=>rn,Fq:()=>k,si:()=>Xt,CB:()=>Dt,jH:()=>yt,pj:()=>Mt,Kr:()=>Pt,Id:()=>ht,FD:()=>$t,dB:()=>gn,sb:()=>Gt});var s=v(5879),m=v(4191),W=v(9388),I=v(6814),Y=v(2831),Z=v(2495),re=v(5592),te=v(8645),H=v(6028);const Ie=["text"];function Ke(O,D){if(1&O&&s._UZ(0,"mat-pseudo-checkbox",6),2&O){const F=s.oxw();s.Q6J("disabled",F.disabled)("state",F.selected?"checked":"unchecked")}}function we(O,D){if(1&O&&s._UZ(0,"mat-pseudo-checkbox",7),2&O){const F=s.oxw();s.Q6J("disabled",F.disabled)}}function Je(O,D){if(1&O&&(s.TgZ(0,"span",8),s._uU(1),s.qZA()),2&O){const F=s.oxw();s.xp6(1),s.hij("(",F.group.label,")")}}const Ve=[[["mat-icon"]],"*"],ut=["mat-icon","*"];let G=(()=>{var O;class D{}return(O=D).STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",O.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",O.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",O.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",D})(),z=(()=>{var O;class D{}return(O=D).COMPLEX="375ms",O.ENTERING="225ms",O.EXITING="195ms",D})();const ue=new s.OlP("mat-sanity-checks",{providedIn:"root",factory:function ie(){return!0}});let ge=(()=>{var O;class D{constructor(R,P,V){this._sanityChecks=P,this._document=V,this._hasDoneGlobalChecks=!1,R._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(R){return!(0,Y.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[R])}}return(O=D).\u0275fac=function(R){return new(R||O)(s.LFG(m.qm),s.LFG(ue,8),s.LFG(I.K0))},O.\u0275mod=s.oAB({type:O}),O.\u0275inj=s.cJS({imports:[W.vT,W.vT]}),D})();function ht(O){return class extends O{get disabled(){return this._disabled}set disabled(D){this._disabled=(0,Z.Ig)(D)}constructor(...D){super(...D),this._disabled=!1}}}function Mt(O,D){return class extends O{get color(){return this._color}set color(F){const R=F||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(...F){super(...F),this.defaultColor=D,this.color=D}}}function Pt(O){return class extends O{get disableRipple(){return this._disableRipple}set disableRipple(D){this._disableRipple=(0,Z.Ig)(D)}constructor(...D){super(...D),this._disableRipple=!1}}}function Gt(O,D=0){return class extends O{get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(F){this._tabIndex=null!=F?(0,Z.su)(F):this.defaultTabIndex}constructor(...F){super(...F),this._tabIndex=D,this.defaultTabIndex=D}}}function $t(O){return class extends O{updateErrorState(){const D=this.errorState,V=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);V!==D&&(this.errorState=V,this.stateChanges.next())}constructor(...D){super(...D),this.errorState=!1}}}function gn(O){return class extends O{constructor(...D){super(...D),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new re.y(F=>{this._isInitialized?this._notifySubscriber(F):this._pendingSubscribers.push(F)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(D){D.next(),D.complete()}}}const Cn=new s.OlP("MAT_DATE_LOCALE",{providedIn:"root",factory:function Ue(){return(0,s.f3M)(s.soG)}});class $e{constructor(){this._localeChanges=new te.x,this.localeChanges=this._localeChanges}getValidDateOrNull(D){return this.isDateInstance(D)&&this.isValid(D)?D:null}deserialize(D){return null==D||this.isDateInstance(D)&&this.isValid(D)?D:this.invalid()}setLocale(D){this.locale=D,this._localeChanges.next()}compareDate(D,F){return this.getYear(D)-this.getYear(F)||this.getMonth(D)-this.getMonth(F)||this.getDate(D)-this.getDate(F)}sameDate(D,F){if(D&&F){let R=this.isValid(D),P=this.isValid(F);return R&&P?!this.compareDate(D,F):R==P}return D==F}clampDate(D,F,R){return F&&this.compareDate(D,F)<0?F:R&&this.compareDate(D,R)>0?R:D}}const Ye=new s.OlP("mat-date-formats"),Qe=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function lt(O,D){const F=Array(O);for(let R=0;R<O;R++)F[R]=D(R);return F}let dt=(()=>{var O;class D extends $e{constructor(R,P){super(),this.useUtcForDisplay=!1,super.setLocale(R)}getYear(R){return R.getFullYear()}getMonth(R){return R.getMonth()}getDate(R){return R.getDate()}getDayOfWeek(R){return R.getDay()}getMonthNames(R){const P=new Intl.DateTimeFormat(this.locale,{month:R,timeZone:"utc"});return lt(12,V=>this._format(P,new Date(2017,V,1)))}getDateNames(){const R=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return lt(31,P=>this._format(R,new Date(2017,0,P+1)))}getDayOfWeekNames(R){const P=new Intl.DateTimeFormat(this.locale,{weekday:R,timeZone:"utc"});return lt(7,V=>this._format(P,new Date(2017,0,V+1)))}getYearName(R){const P=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(P,R)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(R){return this.getDate(this._createDateWithOverflow(this.getYear(R),this.getMonth(R)+1,0))}clone(R){return new Date(R.getTime())}createDate(R,P,V){let me=this._createDateWithOverflow(R,P,V);return me.getMonth(),me}today(){return new Date}parse(R,P){return"number"==typeof R?new Date(R):R?new Date(Date.parse(R)):null}format(R,P){if(!this.isValid(R))throw Error("NativeDateAdapter: Cannot format invalid date.");const V=new Intl.DateTimeFormat(this.locale,{...P,timeZone:"utc"});return this._format(V,R)}addCalendarYears(R,P){return this.addCalendarMonths(R,12*P)}addCalendarMonths(R,P){let V=this._createDateWithOverflow(this.getYear(R),this.getMonth(R)+P,this.getDate(R));return this.getMonth(V)!=((this.getMonth(R)+P)%12+12)%12&&(V=this._createDateWithOverflow(this.getYear(V),this.getMonth(V),0)),V}addCalendarDays(R,P){return this._createDateWithOverflow(this.getYear(R),this.getMonth(R),this.getDate(R)+P)}toIso8601(R){return[R.getUTCFullYear(),this._2digit(R.getUTCMonth()+1),this._2digit(R.getUTCDate())].join("-")}deserialize(R){if("string"==typeof R){if(!R)return null;if(Qe.test(R)){let P=new Date(R);if(this.isValid(P))return P}}return super.deserialize(R)}isDateInstance(R){return R instanceof Date}isValid(R){return!isNaN(R.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(R,P,V){const me=new Date;return me.setFullYear(R,P,V),me.setHours(0,0,0,0),me}_2digit(R){return("00"+R).slice(-2)}_format(R,P){const V=new Date;return V.setUTCFullYear(P.getFullYear(),P.getMonth(),P.getDate()),V.setUTCHours(P.getHours(),P.getMinutes(),P.getSeconds(),P.getMilliseconds()),R.format(V)}}return(O=D).\u0275fac=function(R){return new(R||O)(s.LFG(Cn,8),s.LFG(Y.t4))},O.\u0275prov=s.Yz7({token:O,factory:O.\u0275fac}),D})();const At={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 ve=(()=>{var O;class D{}return(O=D).\u0275fac=function(R){return new(R||O)},O.\u0275mod=s.oAB({type:O}),O.\u0275inj=s.cJS({providers:[{provide:$e,useClass:dt}]}),D})(),qe=(()=>{var O;class D{}return(O=D).\u0275fac=function(R){return new(R||O)},O.\u0275mod=s.oAB({type:O}),O.\u0275inj=s.cJS({providers:[{provide:Ye,useValue:At}],imports:[ve]}),D})(),Oe=(()=>{var O;class D{isErrorState(R,P){return!!(R&&R.invalid&&(R.touched||P&&P.submitted))}}return(O=D).\u0275fac=function(R){return new(R||O)},O.\u0275prov=s.Yz7({token:O,factory:O.\u0275fac,providedIn:"root"}),D})();class vt{constructor(D,F,R,P=!1){this._renderer=D,this.element=F,this.config=R,this._animationForciblyDisabledThroughCss=P,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const Lt=(0,Y.i$)({passive:!0,capture:!0});class Mn{constructor(){this._events=new Map,this._delegateEventHandler=D=>{const F=(0,Y.sA)(D);F&&this._events.get(D.type)?.forEach((R,P)=>{(P===F||P.contains(F))&&R.forEach(V=>V.handleEvent(D))})}}addHandler(D,F,R,P){const V=this._events.get(F);if(V){const me=V.get(R);me?me.add(P):V.set(R,new Set([P]))}else this._events.set(F,new Map([[R,new Set([P])]])),D.runOutsideAngular(()=>{document.addEventListener(F,this._delegateEventHandler,Lt)})}removeHandler(D,F,R){const P=this._events.get(D);if(!P)return;const V=P.get(F);V&&(V.delete(R),0===V.size&&P.delete(F),0===P.size&&(this._events.delete(D),document.removeEventListener(D,this._delegateEventHandler,Lt)))}}const kn={enterDuration:225,exitDuration:150},ir=(0,Y.i$)({passive:!0,capture:!0}),Un=["mousedown","touchstart"],On=["mouseup","mouseleave","touchend","touchcancel"];class Nt{constructor(D,F,R,P){this._target=D,this._ngZone=F,this._platform=P,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,P.isBrowser&&(this._containerElement=(0,Z.fI)(R))}fadeInRipple(D,F,R={}){const P=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),V={...kn,...R.animation};R.centered&&(D=P.left+P.width/2,F=P.top+P.height/2);const me=R.radius||function jt(O,D,F){const R=Math.max(Math.abs(O-F.left),Math.abs(O-F.right)),P=Math.max(Math.abs(D-F.top),Math.abs(D-F.bottom));return Math.sqrt(R*R+P*P)}(D,F,P),ne=D-P.left,le=F-P.top,je=V.enterDuration,oe=document.createElement("div");oe.classList.add("mat-ripple-element"),oe.style.left=ne-me+"px",oe.style.top=le-me+"px",oe.style.height=2*me+"px",oe.style.width=2*me+"px",null!=R.color&&(oe.style.backgroundColor=R.color),oe.style.transitionDuration=`${je}ms`,this._containerElement.appendChild(oe);const ee=window.getComputedStyle(oe),X=ee.transitionDuration,ce="none"===ee.transitionProperty||"0s"===X||"0s, 0s"===X||0===P.width&&0===P.height,Ce=new vt(this,oe,R,ce);oe.style.transform="scale3d(1, 1, 1)",Ce.state=0,R.persistent||(this._mostRecentTransientRipple=Ce);let rt=null;return!ce&&(je||V.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const Xe=()=>this._finishRippleTransition(Ce),wt=()=>this._destroyRipple(Ce);oe.addEventListener("transitionend",Xe),oe.addEventListener("transitioncancel",wt),rt={onTransitionEnd:Xe,onTransitionCancel:wt}}),this._activeRipples.set(Ce,rt),(ce||!je)&&this._finishRippleTransition(Ce),Ce}fadeOutRipple(D){if(2===D.state||3===D.state)return;const F=D.element,R={...kn,...D.config.animation};F.style.transitionDuration=`${R.exitDuration}ms`,F.style.opacity="0",D.state=2,(D._animationForciblyDisabledThroughCss||!R.exitDuration)&&this._finishRippleTransition(D)}fadeOutAll(){this._getActiveRipples().forEach(D=>D.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(D=>{D.config.persistent||D.fadeOut()})}setupTriggerEvents(D){const F=(0,Z.fI)(D);!this._platform.isBrowser||!F||F===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=F,Un.forEach(R=>{Nt._eventManager.addHandler(this._ngZone,R,F,this)}))}handleEvent(D){"mousedown"===D.type?this._onMousedown(D):"touchstart"===D.type?this._onTouchStart(D):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{On.forEach(F=>{this._triggerElement.addEventListener(F,this,ir)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(D){0===D.state?this._startFadeOutTransition(D):2===D.state&&this._destroyRipple(D)}_startFadeOutTransition(D){const F=D===this._mostRecentTransientRipple,{persistent:R}=D.config;D.state=1,!R&&(!F||!this._isPointerDown)&&D.fadeOut()}_destroyRipple(D){const F=this._activeRipples.get(D)??null;this._activeRipples.delete(D),this._activeRipples.size||(this._containerRect=null),D===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),D.state=3,null!==F&&(D.element.removeEventListener("transitionend",F.onTransitionEnd),D.element.removeEventListener("transitioncancel",F.onTransitionCancel)),D.element.remove()}_onMousedown(D){const F=(0,m.X6)(D),R=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!F&&!R&&(this._isPointerDown=!0,this.fadeInRipple(D.clientX,D.clientY,this._target.rippleConfig))}_onTouchStart(D){if(!this._target.rippleDisabled&&!(0,m.yG)(D)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const F=D.changedTouches;if(F)for(let R=0;R<F.length;R++)this.fadeInRipple(F[R].clientX,F[R].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(D=>{!D.config.persistent&&(1===D.state||D.config.terminateOnPointerUp&&0===D.state)&&D.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const D=this._triggerElement;D&&(Un.forEach(F=>Nt._eventManager.removeHandler(F,D,this)),this._pointerUpEventsRegistered&&On.forEach(F=>D.removeEventListener(F,this,ir)))}}Nt._eventManager=new Mn;const Vt=new s.OlP("mat-ripple-global-options");let rn=(()=>{var O;class D{get disabled(){return this._disabled}set disabled(R){R&&this.fadeOutAllNonPersistent(),this._disabled=R,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(R){this._trigger=R,this._setupTriggerEventsIfEnabled()}constructor(R,P,V,me,ne){this._elementRef=R,this._animationMode=ne,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=me||{},this._rippleRenderer=new Nt(this,P,R,V)}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(R,P=0,V){return"number"==typeof R?this._rippleRenderer.fadeInRipple(R,P,{...this.rippleConfig,...V}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...R})}}return(O=D).\u0275fac=function(R){return new(R||O)(s.Y36(s.SBq),s.Y36(s.R0b),s.Y36(Y.t4),s.Y36(Vt,8),s.Y36(s.QbO,8))},O.\u0275dir=s.lG2({type:O,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(R,P){2&R&&s.ekj("mat-ripple-unbounded",P.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"]}),D})(),Xt=(()=>{var O;class D{}return(O=D).\u0275fac=function(R){return new(R||O)},O.\u0275mod=s.oAB({type:O}),O.\u0275inj=s.cJS({imports:[ge,ge]}),D})(),Tn=(()=>{var O;class D{constructor(R){this._animationMode=R,this.state="unchecked",this.disabled=!1,this.appearance="full"}}return(O=D).\u0275fac=function(R){return new(R||O)(s.Y36(s.QbO,8))},O.\u0275cmp=s.Xpm({type:O,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(R,P){2&R&&s.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===P.state)("mat-pseudo-checkbox-checked","checked"===P.state)("mat-pseudo-checkbox-disabled",P.disabled)("mat-pseudo-checkbox-minimal","minimal"===P.appearance)("mat-pseudo-checkbox-full","full"===P.appearance)("_mat-animation-noopable","NoopAnimations"===P._animationMode)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(R,P){},styles:['.mat-pseudo-checkbox{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-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-full{border:2px solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0}),D})(),cn=(()=>{var O;class D{}return(O=D).\u0275fac=function(R){return new(R||O)},O.\u0275mod=s.oAB({type:O}),O.\u0275inj=s.cJS({imports:[ge]}),D})();const _n=new s.OlP("MAT_OPTION_PARENT_COMPONENT"),on=new s.OlP("MatOptgroup");let Wn=0;class In{constructor(D,F=!1){this.source=D,this.isUserInput=F}}let dr=(()=>{var O;class D{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(R){this._disabled=(0,Z.Ig)(R)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}constructor(R,P,V,me){this._element=R,this._changeDetectorRef=P,this._parent=V,this.group=me,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+Wn++,this.onSelectionChange=new s.vpe,this._stateChanges=new te.x}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(R=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),R&&this._emitSelectionChangeEvent())}deselect(R=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),R&&this._emitSelectionChangeEvent())}focus(R,P){const V=this._getHostElement();"function"==typeof V.focus&&V.focus(P)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(R){(R.keyCode===H.K5||R.keyCode===H.L_)&&!(0,H.Vb)(R)&&(this._selectViaInteraction(),R.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const R=this.viewValue;R!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=R)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(R=!1){this.onSelectionChange.emit(new In(this,R))}}return(O=D).\u0275fac=function(R){s.$Z()},O.\u0275dir=s.lG2({type:O,viewQuery:function(R,P){if(1&R&&s.Gf(Ie,7),2&R){let V;s.iGM(V=s.CRH())&&(P._text=V.first)}},inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),D})(),Ze=(()=>{var O;class D extends dr{constructor(R,P,V,me){super(R,P,V,me)}}return(O=D).\u0275fac=function(R){return new(R||O)(s.Y36(s.SBq),s.Y36(s.sBO),s.Y36(_n,8),s.Y36(on,8))},O.\u0275cmp=s.Xpm({type:O,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(R,P){1&R&&s.NdJ("click",function(){return P._selectViaInteraction()})("keydown",function(me){return P._handleKeydown(me)}),2&R&&(s.Ikx("id",P.id),s.uIk("aria-selected",P.selected)("aria-disabled",P.disabled.toString()),s.ekj("mdc-list-item--selected",P.selected)("mat-mdc-option-multiple",P.multiple)("mat-mdc-option-active",P.active)("mdc-list-item--disabled",P.disabled))},exportAs:["matOption"],features:[s.qOj],ngContentSelectors:ut,decls:8,vars:5,consts:[["class","mat-mdc-option-pseudo-checkbox","aria-hidden","true",3,"disabled","state",4,"ngIf"],[1,"mdc-list-item__primary-text"],["text",""],["class","mat-mdc-option-pseudo-checkbox","state","checked","aria-hidden","true","appearance","minimal",3,"disabled",4,"ngIf"],["class","cdk-visually-hidden",4,"ngIf"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"]],template:function(R,P){1&R&&(s.F$t(Ve),s.YNc(0,Ke,1,2,"mat-pseudo-checkbox",0),s.Hsn(1),s.TgZ(2,"span",1,2),s.Hsn(4,1),s.qZA(),s.YNc(5,we,1,1,"mat-pseudo-checkbox",3),s.YNc(6,Je,2,1,"span",4),s._UZ(7,"div",5)),2&R&&(s.Q6J("ngIf",P.multiple),s.xp6(5),s.Q6J("ngIf",!P.multiple&&P.selected&&!P.hideSingleSelectionIndicator),s.xp6(1),s.Q6J("ngIf",P.group&&P.group._inert),s.xp6(1),s.Q6J("matRippleTrigger",P._getHostElement())("matRippleDisabled",P.disabled||P.disableRipple))},dependencies:[rn,I.O5,Tn],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;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color);font-family:var(--mat-option-label-text-font);line-height:var(--mat-option-label-text-line-height);font-size:var(--mat-option-label-text-size);letter-spacing:var(--mat-option-label-text-tracking);font-weight:var(--mat-option-label-text-weight);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:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color)}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color)}.mat-mdc-option.mdc-list-item{align-items:center}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.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-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.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;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.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 .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),D})();function Dt(O,D,F){if(F.length){let R=D.toArray(),P=F.toArray(),V=0;for(let me=0;me<O+1;me++)R[me].group&&R[me].group===P[V]&&V++;return V}return 0}function yt(O,D,F,R){return O<F?O:O+D>F+R?Math.max(0,O-R+D):F}let We=(()=>{var O;class D{}return(O=D).\u0275fac=function(R){return new(R||O)},O.\u0275mod=s.oAB({type:O}),O.\u0275inj=s.cJS({imports:[Xt,I.ez,ge,cn]}),D})();const st={capture:!0},Ut=["focus","click","mouseenter","touchstart"],en="mat-ripple-loader-uninitialized",Jn="mat-ripple-loader-class-name",pe="mat-ripple-loader-centered",B="mat-ripple-loader-disabled";let k=(()=>{var O;class D{constructor(){this._document=(0,s.f3M)(I.K0,{optional:!0}),this._animationMode=(0,s.f3M)(s.QbO,{optional:!0}),this._globalRippleOptions=(0,s.f3M)(Vt,{optional:!0}),this._platform=(0,s.f3M)(Y.t4),this._ngZone=(0,s.f3M)(s.R0b),this._onInteraction=R=>{if(!(R.target instanceof HTMLElement))return;const V=R.target.closest(`[${en}]`);V&&this.createRipple(V)},this._ngZone.runOutsideAngular(()=>{for(const R of Ut)this._document?.addEventListener(R,this._onInteraction,st)})}ngOnDestroy(){for(const R of Ut)this._document?.removeEventListener(R,this._onInteraction,st)}configureRipple(R,P){R.setAttribute(en,""),(P.className||!R.hasAttribute(Jn))&&R.setAttribute(Jn,P.className||""),P.centered&&R.setAttribute(pe,""),P.disabled&&R.setAttribute(B,"")}getRipple(R){return R.matRipple?R.matRipple:this.createRipple(R)}setDisabled(R,P){const V=R.matRipple;V?V.disabled=P:P?R.setAttribute(B,""):R.removeAttribute(B)}createRipple(R){if(!this._document)return;R.querySelector(".mat-ripple")?.remove();const P=this._document.createElement("span");P.classList.add("mat-ripple",R.getAttribute(Jn)),R.append(P);const V=new rn(new s.SBq(P),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return V._isInitialized=!0,V.trigger=R,V.centered=R.hasAttribute(pe),V.disabled=R.hasAttribute(B),this.attachRipple(R,V),V}attachRipple(R,P){R.removeAttribute(en),R.matRipple=P}}return(O=D).\u0275fac=function(R){return new(R||O)},O.\u0275prov=s.Yz7({token:O,factory:O.\u0275fac,providedIn:"root"}),D})()},4170:(ft,De,v)=>{v.d(De,{G_:()=>_n,o2:()=>Fn,KE:()=>In,Eo:()=>rn,lN:()=>dr,hX:()=>qe,qo:()=>vt,R9:()=>Mn});var s=v(5879),m=v(9388),W=v(2831),U=v(7394),I=v(8645),Y=v(3019),Z=v(9773),re=v(5592),te=v(2181),H=v(7081);class fe{constructor(Dt){this._box=Dt,this._destroyed=new I.x,this._resizeSubject=new I.x,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(yt=>this._resizeSubject.next(yt)))}observe(Dt){return this._elementObservables.has(Dt)||this._elementObservables.set(Dt,new re.y(yt=>{const We=this._resizeSubject.subscribe(yt);return this._resizeObserver?.observe(Dt,{box:this._box}),()=>{this._resizeObserver?.unobserve(Dt),We.unsubscribe(),this._elementObservables.delete(Dt)}}).pipe((0,te.h)(yt=>yt.some(We=>We.target===Dt)),(0,H.d)({bufferSize:1,refCount:!0}),(0,Z.R)(this._destroyed))),this._elementObservables.get(Dt)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}}let Se=(()=>{var Ze;class Dt{constructor(){this._observers=new Map,this._ngZone=(0,s.f3M)(s.R0b)}ngOnDestroy(){for(const[,We]of this._observers)We.destroy();this._observers.clear()}observe(We,st){const Ut=st?.box||"content-box";return this._observers.has(Ut)||this._observers.set(Ut,new fe(Ut)),this._observers.get(Ut).observe(We)}}return(Ze=Dt).\u0275fac=function(We){return new(We||Ze)},Ze.\u0275prov=s.Yz7({token:Ze,factory:Ze.\u0275fac,providedIn:"root"}),Dt})();var Ie=v(2495),Ke=v(6825),we=v(6814),Je=v(7131),Ve=v(3680);const ut=["notch"],ke=["matFormFieldNotchedOutline",""],G=["*"],z=["textField"],ie=["iconPrefixContainer"],ue=["textPrefixContainer"];function ge(Ze,Dt){1&Ze&&s._UZ(0,"span",19)}function xe(Ze,Dt){if(1&Ze&&(s.TgZ(0,"label",17),s.Hsn(1,1),s.YNc(2,ge,1,0,"span",18),s.qZA()),2&Ze){const yt=s.oxw(2);s.Q6J("floating",yt._shouldLabelFloat())("monitorResize",yt._hasOutline())("id",yt._labelId),s.uIk("for",yt._control.id),s.xp6(2),s.Q6J("ngIf",!yt.hideRequiredMarker&&yt._control.required)}}function Ge(Ze,Dt){if(1&Ze&&s.YNc(0,xe,3,5,"label",16),2&Ze){const yt=s.oxw();s.Q6J("ngIf",yt._hasFloatingLabel())}}function nt(Ze,Dt){1&Ze&&s._UZ(0,"div",20)}function ht(Ze,Dt){}function Mt(Ze,Dt){if(1&Ze&&s.YNc(0,ht,0,0,"ng-template",22),2&Ze){s.oxw(2);const yt=s.MAs(1);s.Q6J("ngTemplateOutlet",yt)}}function Pt(Ze,Dt){if(1&Ze&&(s.TgZ(0,"div",21),s.YNc(1,Mt,1,1,"ng-template",9),s.qZA()),2&Ze){const yt=s.oxw();s.Q6J("matFormFieldNotchedOutlineOpen",yt._shouldLabelFloat()),s.xp6(1),s.Q6J("ngIf",!yt._forceDisplayInfixLabel())}}function Gt(Ze,Dt){1&Ze&&(s.TgZ(0,"div",23,24),s.Hsn(2,2),s.qZA())}function $t(Ze,Dt){1&Ze&&(s.TgZ(0,"div",25,26),s.Hsn(2,3),s.qZA())}function gn(Ze,Dt){}function Cn(Ze,Dt){if(1&Ze&&s.YNc(0,gn,0,0,"ng-template",22),2&Ze){s.oxw();const yt=s.MAs(1);s.Q6J("ngTemplateOutlet",yt)}}function Ue(Ze,Dt){1&Ze&&(s.TgZ(0,"div",27),s.Hsn(1,4),s.qZA())}function $e(Ze,Dt){1&Ze&&(s.TgZ(0,"div",28),s.Hsn(1,5),s.qZA())}function Ye(Ze,Dt){1&Ze&&s._UZ(0,"div",29)}function Qe(Ze,Dt){if(1&Ze&&(s.TgZ(0,"div",30),s.Hsn(1,6),s.qZA()),2&Ze){const yt=s.oxw();s.Q6J("@transitionMessages",yt._subscriptAnimationState)}}function lt(Ze,Dt){if(1&Ze&&(s.TgZ(0,"mat-hint",34),s._uU(1),s.qZA()),2&Ze){const yt=s.oxw(2);s.Q6J("id",yt._hintLabelId),s.xp6(1),s.Oqu(yt.hintLabel)}}function dt(Ze,Dt){if(1&Ze&&(s.TgZ(0,"div",31),s.YNc(1,lt,2,2,"mat-hint",32),s.Hsn(2,7),s._UZ(3,"div",33),s.Hsn(4,8),s.qZA()),2&Ze){const yt=s.oxw();s.Q6J("@transitionMessages",yt._subscriptAnimationState),s.xp6(1),s.Q6J("ngIf",yt.hintLabel)}}const At=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],ve=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];let qe=(()=>{var Ze;class Dt{}return(Ze=Dt).\u0275fac=function(We){return new(We||Ze)},Ze.\u0275dir=s.lG2({type:Ze,selectors:[["mat-label"]]}),Dt})();const Oe=new s.OlP("MatError");let Ae=0,Le=(()=>{var Ze;class Dt{constructor(){this.align="start",this.id="mat-mdc-hint-"+Ae++}}return(Ze=Dt).\u0275fac=function(We){return new(We||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(We,st){2&We&&(s.Ikx("id",st.id),s.uIk("align",null),s.ekj("mat-mdc-form-field-hint-end","end"===st.align))},inputs:{align:"align",id:"id"}}),Dt})();const St=new s.OlP("MatPrefix");let vt=(()=>{var Ze;class Dt{constructor(){this._isText=!1}set _isTextSelector(We){this._isText=!0}}return(Ze=Dt).\u0275fac=function(We){return new(We||Ze)},Ze.\u0275dir=s.lG2({type:Ze,selectors:[["","matPrefix",""],["","matIconPrefix",""],["","matTextPrefix",""]],inputs:{_isTextSelector:["matTextPrefix","_isTextSelector"]},features:[s._Bn([{provide:St,useExisting:Ze}])]}),Dt})();const Lt=new s.OlP("MatSuffix");let Mn=(()=>{var Ze;class Dt{constructor(){this._isText=!1}set _isTextSelector(We){this._isText=!0}}return(Ze=Dt).\u0275fac=function(We){return new(We||Ze)},Ze.\u0275dir=s.lG2({type:Ze,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:["matTextSuffix","_isTextSelector"]},features:[s._Bn([{provide:Lt,useExisting:Ze}])]}),Dt})();const kn=new s.OlP("FloatingLabelParent");let Ct=(()=>{var Ze;class Dt{get floating(){return this._floating}set floating(We){this._floating=We,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(We){this._monitorResize=We,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(We){this._elementRef=We,this._floating=!1,this._monitorResize=!1,this._resizeObserver=(0,s.f3M)(Se),this._ngZone=(0,s.f3M)(s.R0b),this._parent=(0,s.f3M)(kn),this._resizeSubscription=new U.w0}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return function ir(Ze){if(null!==Ze.offsetParent)return Ze.scrollWidth;const yt=Ze.cloneNode(!0);yt.style.setProperty("position","absolute"),yt.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(yt);const We=yt.scrollWidth;return yt.remove(),We}(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}}return(Ze=Dt).\u0275fac=function(We){return new(We||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(We,st){2&We&&s.ekj("mdc-floating-label--float-above",st.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}}),Dt})();const Un="mdc-line-ripple--active",On="mdc-line-ripple--deactivating";let Nt=(()=>{var Ze;class Dt{constructor(We,st){this._elementRef=We,this._handleTransitionEnd=Ut=>{const en=this._elementRef.nativeElement.classList,Jn=en.contains(On);"opacity"===Ut.propertyName&&Jn&&en.remove(Un,On)},st.runOutsideAngular(()=>{We.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const We=this._elementRef.nativeElement.classList;We.remove(On),We.add(Un)}deactivate(){this._elementRef.nativeElement.classList.add(On)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}}return(Ze=Dt).\u0275fac=function(We){return new(We||Ze)(s.Y36(s.SBq),s.Y36(s.R0b))},Ze.\u0275dir=s.lG2({type:Ze,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]}),Dt})(),jt=(()=>{var Ze;class Dt{constructor(We,st){this._elementRef=We,this._ngZone=st,this.open=!1}ngAfterViewInit(){const We=this._elementRef.nativeElement.querySelector(".mdc-floating-label");We?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(We.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>We.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(We){this._notch.nativeElement.style.width=this.open&&We?`calc(${We}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:""}}return(Ze=Dt).\u0275fac=function(We){return new(We||Ze)(s.Y36(s.SBq),s.Y36(s.R0b))},Ze.\u0275cmp=s.Xpm({type:Ze,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(We,st){if(1&We&&s.Gf(ut,5),2&We){let Ut;s.iGM(Ut=s.CRH())&&(st._notch=Ut.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(We,st){2&We&&s.ekj("mdc-notched-outline--notched",st.open)},inputs:{open:["matFormFieldNotchedOutlineOpen","open"]},attrs:ke,ngContentSelectors:G,decls:5,vars:0,consts:[[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],["notch",""],[1,"mdc-notched-outline__trailing"]],template:function(We,st){1&We&&(s.F$t(),s._UZ(0,"div",0),s.TgZ(1,"div",1,2),s.Hsn(3),s.qZA(),s._UZ(4,"div",3))},encapsulation:2,changeDetection:0}),Dt})();const Vt={transitionMessages:(0,Ke.X$)("transitionMessages",[(0,Ke.SB)("enter",(0,Ke.oB)({opacity:1,transform:"translateY(0%)"})),(0,Ke.eR)("void => enter",[(0,Ke.oB)({opacity:0,transform:"translateY(-5px)"}),(0,Ke.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let rn=(()=>{var Ze;class Dt{}return(Ze=Dt).\u0275fac=function(We){return new(We||Ze)},Ze.\u0275dir=s.lG2({type:Ze}),Dt})();const _n=new s.OlP("MatFormField"),Fn=new s.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS");let Yt=0,In=(()=>{var Ze;class Dt{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(We){this._hideRequiredMarker=(0,Ie.Ig)(We)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(We){We!==this._floatLabel&&(this._floatLabel=We,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(We){const st=this._appearance;this._appearance=We||this._defaults?.appearance||"fill","outline"===this._appearance&&this._appearance!==st&&(this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(We){this._subscriptSizing=We||this._defaults?.subscriptSizing||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel(We){this._hintLabel=We,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(We){this._explicitFormFieldControl=We}constructor(We,st,Ut,en,Jn,pe,B,k){this._elementRef=We,this._changeDetectorRef=st,this._ngZone=Ut,this._dir=en,this._platform=Jn,this._defaults=pe,this._animationMode=B,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-"+Yt++,this._hintLabelId="mat-mdc-hint-"+Yt++,this._subscriptAnimationState="",this._destroyed=new I.x,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,pe&&(pe.appearance&&(this.appearance=pe.appearance),this._hideRequiredMarker=!!pe?.hideRequiredMarker,pe.color&&(this.color=pe.color))}ngAfterViewInit(){this._updateFocusState(),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 We=this._control;We.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${We.controlType}`),We.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),We.ngControl&&We.ngControl.valueChanges&&We.ngControl.valueChanges.pipe((0,Z.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(We=>!We._isText),this._hasTextPrefix=!!this._prefixChildren.find(We=>We._isText),this._hasIconSuffix=!!this._suffixChildren.find(We=>!We._isText),this._hasTextSuffix=!!this._suffixChildren.find(We=>We._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),(0,Y.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,Z.R)(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe((0,Z.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(We){const st=this._control?this._control.ngControl:null;return st&&st[We]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){this._hasOutline()&&this._floatingLabel&&this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth()):this._notchedOutline?._setNotchWidth(0)}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_syncDescribedByIds(){if(this._control){let We=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&We.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const st=this._hintChildren?this._hintChildren.find(en=>"start"===en.align):null,Ut=this._hintChildren?this._hintChildren.find(en=>"end"===en.align):null;st?We.push(st.id):this._hintLabel&&We.push(this._hintLabelId),Ut&&We.push(Ut.id)}else this._errorChildren&&We.push(...this._errorChildren.map(st=>st.id));this._control.setDescribedByIds(We)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const We=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(We.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const st=this._iconPrefixContainer?.nativeElement,Ut=this._textPrefixContainer?.nativeElement,en=st?.getBoundingClientRect().width??0,Jn=Ut?.getBoundingClientRect().width??0;We.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${en+Jn}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`}_isAttachedToDom(){const We=this._elementRef.nativeElement;if(We.getRootNode){const st=We.getRootNode();return st&&st!==We}return document.documentElement.contains(We)}}return(Ze=Dt).\u0275fac=function(We){return new(We||Ze)(s.Y36(s.SBq),s.Y36(s.sBO),s.Y36(s.R0b),s.Y36(m.Is),s.Y36(W.t4),s.Y36(Fn,8),s.Y36(s.QbO,8),s.Y36(we.K0))},Ze.\u0275cmp=s.Xpm({type:Ze,selectors:[["mat-form-field"]],contentQueries:function(We,st,Ut){if(1&We&&(s.Suo(Ut,qe,5),s.Suo(Ut,qe,7),s.Suo(Ut,rn,5),s.Suo(Ut,St,5),s.Suo(Ut,Lt,5),s.Suo(Ut,Oe,5),s.Suo(Ut,Le,5)),2&We){let en;s.iGM(en=s.CRH())&&(st._labelChildNonStatic=en.first),s.iGM(en=s.CRH())&&(st._labelChildStatic=en.first),s.iGM(en=s.CRH())&&(st._formFieldControl=en.first),s.iGM(en=s.CRH())&&(st._prefixChildren=en),s.iGM(en=s.CRH())&&(st._suffixChildren=en),s.iGM(en=s.CRH())&&(st._errorChildren=en),s.iGM(en=s.CRH())&&(st._hintChildren=en)}},viewQuery:function(We,st){if(1&We&&(s.Gf(z,5),s.Gf(ie,5),s.Gf(ue,5),s.Gf(Ct,5),s.Gf(jt,5),s.Gf(Nt,5)),2&We){let Ut;s.iGM(Ut=s.CRH())&&(st._textField=Ut.first),s.iGM(Ut=s.CRH())&&(st._iconPrefixContainer=Ut.first),s.iGM(Ut=s.CRH())&&(st._textPrefixContainer=Ut.first),s.iGM(Ut=s.CRH())&&(st._floatingLabel=Ut.first),s.iGM(Ut=s.CRH())&&(st._notchedOutline=Ut.first),s.iGM(Ut=s.CRH())&&(st._lineRipple=Ut.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(We,st){2&We&&s.ekj("mat-mdc-form-field-label-always-float",st._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",st._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",st._hasIconSuffix)("mat-form-field-invalid",st._control.errorState)("mat-form-field-disabled",st._control.disabled)("mat-form-field-autofilled",st._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===st._animationMode)("mat-form-field-appearance-fill","fill"==st.appearance)("mat-form-field-appearance-outline","outline"==st.appearance)("mat-form-field-hide-placeholder",st._hasFloatingLabel()&&!st._shouldLabelFloat())("mat-focused",st._control.focused)("mat-primary","accent"!==st.color&&"warn"!==st.color)("mat-accent","accent"===st.color)("mat-warn","warn"===st.color)("ng-untouched",st._shouldForward("untouched"))("ng-touched",st._shouldForward("touched"))("ng-pristine",st._shouldForward("pristine"))("ng-dirty",st._shouldForward("dirty"))("ng-valid",st._shouldForward("valid"))("ng-invalid",st._shouldForward("invalid"))("ng-pending",st._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[s._Bn([{provide:_n,useExisting:Ze},{provide:kn,useExisting:Ze}])],ngContentSelectors:ve,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",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","monitorResize","id",4,"ngIf"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["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"],[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(We,st){1&We&&(s.F$t(At),s.YNc(0,Ge,1,1,"ng-template",null,0,s.W1O),s.TgZ(2,"div",1,2),s.NdJ("click",function(en){return st._control.onContainerClick(en)}),s.YNc(4,nt,1,0,"div",3),s.TgZ(5,"div",4),s.YNc(6,Pt,2,2,"div",5),s.YNc(7,Gt,3,0,"div",6),s.YNc(8,$t,3,0,"div",7),s.TgZ(9,"div",8),s.YNc(10,Cn,1,1,"ng-template",9),s.Hsn(11),s.qZA(),s.YNc(12,Ue,2,0,"div",10),s.YNc(13,$e,2,0,"div",11),s.qZA(),s.YNc(14,Ye,1,0,"div",12),s.qZA(),s.TgZ(15,"div",13),s.YNc(16,Qe,2,1,"div",14),s.YNc(17,dt,5,2,"div",15),s.qZA()),2&We&&(s.xp6(2),s.ekj("mdc-text-field--filled",!st._hasOutline())("mdc-text-field--outlined",st._hasOutline())("mdc-text-field--no-label",!st._hasFloatingLabel())("mdc-text-field--disabled",st._control.disabled)("mdc-text-field--invalid",st._control.errorState),s.xp6(2),s.Q6J("ngIf",!st._hasOutline()&&!st._control.disabled),s.xp6(2),s.Q6J("ngIf",st._hasOutline()),s.xp6(1),s.Q6J("ngIf",st._hasIconPrefix),s.xp6(1),s.Q6J("ngIf",st._hasTextPrefix),s.xp6(2),s.Q6J("ngIf",!st._hasOutline()||st._forceDisplayInfixLabel()),s.xp6(2),s.Q6J("ngIf",st._hasTextSuffix),s.xp6(1),s.Q6J("ngIf",st._hasIconSuffix),s.xp6(1),s.Q6J("ngIf",!st._hasOutline()),s.xp6(1),s.ekj("mat-mdc-form-field-subscript-dynamic-size","dynamic"===st.subscriptSizing),s.Q6J("ngSwitch",st._getDisplayedMessages()),s.xp6(1),s.Q6J("ngSwitchCase","error"),s.xp6(1),s.Q6J("ngSwitchCase","hint"))},dependencies:[we.O5,we.tP,we.RF,we.n9,Le,Ct,jt,Nt],styles:['.mdc-text-field{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius: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:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;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:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius: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:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius: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:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;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-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%;pointer-events:none}.mdc-notched-outline__trailing{flex-grow:1}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.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{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}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{border-top:1px solid;border-bottom:1px solid}.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}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{max-width:calc(100% - 12px * 2)}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mdc-text-field--filled{--mdc-filled-text-field-active-indicator-height:1px;--mdc-filled-text-field-focus-active-indicator-height:2px;--mdc-filled-text-field-container-shape:4px;border-top-left-radius:var(--mdc-filled-text-field-container-shape);border-top-right-radius:var(--mdc-filled-text-field-container-shape);border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-caret-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-focus-label-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-disabled-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-focus-label-text-color)}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font);font-size:var(--mdc-filled-text-field-label-text-size);font-weight:var(--mdc-filled-text-field-label-text-weight);letter-spacing:var(--mdc-filled-text-field-label-text-tracking)}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color)}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color)}.mdc-text-field--filled .mdc-line-ripple::before{border-bottom-width:var(--mdc-filled-text-field-active-indicator-height)}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height)}.mdc-text-field--outlined{--mdc-outlined-text-field-outline-width:1px;--mdc-outlined-text-field-focus-outline-width:2px;--mdc-outlined-text-field-container-shape:4px}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-caret-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-focus-label-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-disabled-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-focus-label-text-color)}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font);font-size:var(--mdc-outlined-text-field-label-text-size);font-weight:var(--mdc-outlined-text-field-label-text-weight);letter-spacing:var(--mdc-outlined-text-field-label-text-tracking)}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}[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-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);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-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px, var(--mdc-outlined-text-field-container-shape))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);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-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px, calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px, var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px, calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px, var(--mdc-outlined-text-field-container-shape))}}.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-outlined-text-field-container-shape))}}[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-outlined-text-field-container-shape))}}.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-outlined-text-field-container-shape) + 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-outlined-text-field-container-shape) + 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:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-hover-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-focus-outline-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-disabled-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-hover-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-focus-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-outline-width)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-focus-outline-width)}.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{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;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-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.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-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.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;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font);line-height:var(--mat-form-field-container-text-line-height);font-size:var(--mat-form-field-container-text-size);letter-spacing:var(--mat-form-field-container-text-tracking);font-weight:var(--mat-form-field-container-text-weight)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size) * var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}.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;position:relative;z-index:1}.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(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 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(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 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(calc(0% - 10.25px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 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(calc(0% - 10.25px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 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(calc(0% - 24.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 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(calc(0% - 24.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 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(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(calc(0% - 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(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 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(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(calc(0% - 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(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 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(calc(0% - 106%)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 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)}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}'],encapsulation:2,data:{animation:[Vt.transitionMessages]},changeDetection:0}),Dt})(),dr=(()=>{var Ze;class Dt{}return(Ze=Dt).\u0275fac=function(We){return new(We||Ze)},Ze.\u0275mod=s.oAB({type:Ze}),Ze.\u0275inj=s.cJS({imports:[Ve.BQ,we.ez,Je.Q8,Ve.BQ]}),Dt})()},6593:(ft,De,v)=>{v.d(De,{Dx:()=>ir,H7:()=>In,b2:()=>vt,q6:()=>N,se:()=>xe});var s=v(5879),m=v(6814);class W extends m.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class U extends W{static makeCurrent(){(0,m.HT)(new U)}onAndCancel(k,O,D){return k.addEventListener(O,D),()=>{k.removeEventListener(O,D)}}dispatchEvent(k,O){k.dispatchEvent(O)}remove(k){k.parentNode&&k.parentNode.removeChild(k)}createElement(k,O){return(O=O||this.getDefaultDocument()).createElement(k)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(k){return k.nodeType===Node.ELEMENT_NODE}isShadowRoot(k){return k instanceof DocumentFragment}getGlobalEventTarget(k,O){return"window"===O?window:"document"===O?k:"body"===O?k.body:null}getBaseHref(k){const O=function Y(){return I=I||document.querySelector("base"),I?I.getAttribute("href"):null}();return null==O?null:function re(B){Z=Z||document.createElement("a"),Z.setAttribute("href",B);const k=Z.pathname;return"/"===k.charAt(0)?k:`/${k}`}(O)}resetBaseElement(){I=null}getUserAgent(){return window.navigator.userAgent}getCookie(k){return(0,m.Mx)(document.cookie,k)}}let Z,I=null,H=(()=>{var B;class k{build(){return new XMLHttpRequest}}return(B=k).\u0275fac=function(D){return new(D||B)},B.\u0275prov=s.Yz7({token:B,factory:B.\u0275fac}),k})();const J=new s.OlP("EventManagerPlugins");let fe=(()=>{var B;class k{constructor(D,F){this._zone=F,this._eventNameToPlugin=new Map,D.forEach(R=>{R.manager=this}),this._plugins=D.slice().reverse()}addEventListener(D,F,R){return this._findPluginFor(F).addEventListener(D,F,R)}getZone(){return this._zone}_findPluginFor(D){let F=this._eventNameToPlugin.get(D);if(F)return F;if(F=this._plugins.find(P=>P.supports(D)),!F)throw new s.vHH(5101,!1);return this._eventNameToPlugin.set(D,F),F}}return(B=k).\u0275fac=function(D){return new(D||B)(s.LFG(J),s.LFG(s.R0b))},B.\u0275prov=s.Yz7({token:B,factory:B.\u0275fac}),k})();class Se{constructor(k){this._doc=k}}const Ie="ng-app-id";let Ke=(()=>{var B;class k{constructor(D,F,R,P={}){this.doc=D,this.appId=F,this.nonce=R,this.platformId=P,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,m.PM)(P),this.resetHostNodes()}addStyles(D){for(const F of D)1===this.changeUsageCount(F,1)&&this.onStyleAdded(F)}removeStyles(D){for(const F of D)this.changeUsageCount(F,-1)<=0&&this.onStyleRemoved(F)}ngOnDestroy(){const D=this.styleNodesInDOM;D&&(D.forEach(F=>F.remove()),D.clear());for(const F of this.getAllStyles())this.onStyleRemoved(F);this.resetHostNodes()}addHost(D){this.hostNodes.add(D);for(const F of this.getAllStyles())this.addStyleToHost(D,F)}removeHost(D){this.hostNodes.delete(D)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(D){for(const F of this.hostNodes)this.addStyleToHost(F,D)}onStyleRemoved(D){const F=this.styleRef;F.get(D)?.elements?.forEach(R=>R.remove()),F.delete(D)}collectServerRenderedStyles(){const D=this.doc.head?.querySelectorAll(`style[${Ie}="${this.appId}"]`);if(D?.length){const F=new Map;return D.forEach(R=>{null!=R.textContent&&F.set(R.textContent,R)}),F}return null}changeUsageCount(D,F){const R=this.styleRef;if(R.has(D)){const P=R.get(D);return P.usage+=F,P.usage}return R.set(D,{usage:F,elements:[]}),F}getStyleElement(D,F){const R=this.styleNodesInDOM,P=R?.get(F);if(P?.parentNode===D)return R.delete(F),P.removeAttribute(Ie),P;{const V=this.doc.createElement("style");return this.nonce&&V.setAttribute("nonce",this.nonce),V.textContent=F,this.platformIsServer&&V.setAttribute(Ie,this.appId),V}}addStyleToHost(D,F){const R=this.getStyleElement(D,F);D.appendChild(R);const P=this.styleRef,V=P.get(F)?.elements;V?V.push(R):P.set(F,{elements:[R],usage:1})}resetHostNodes(){const D=this.hostNodes;D.clear(),D.add(this.doc.head)}}return(B=k).\u0275fac=function(D){return new(D||B)(s.LFG(m.K0),s.LFG(s.AFp),s.LFG(s.Ojb,8),s.LFG(s.Lbi))},B.\u0275prov=s.Yz7({token:B,factory:B.\u0275fac}),k})();const we={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/"},Je=/%COMP%/g,z=new s.OlP("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function ge(B,k){return k.map(O=>O.replace(Je,B))}let xe=(()=>{var B;class k{constructor(D,F,R,P,V,me,ne,le=null){this.eventManager=D,this.sharedStylesHost=F,this.appId=R,this.removeStylesOnCompDestroy=P,this.doc=V,this.platformId=me,this.ngZone=ne,this.nonce=le,this.rendererByCompId=new Map,this.platformIsServer=(0,m.PM)(me),this.defaultRenderer=new Ge(D,V,ne,this.platformIsServer)}createRenderer(D,F){if(!D||!F)return this.defaultRenderer;this.platformIsServer&&F.encapsulation===s.ifc.ShadowDom&&(F={...F,encapsulation:s.ifc.Emulated});const R=this.getOrCreateRenderer(D,F);return R instanceof $t?R.applyToHost(D):R instanceof Gt&&R.applyStyles(),R}getOrCreateRenderer(D,F){const R=this.rendererByCompId;let P=R.get(F.id);if(!P){const V=this.doc,me=this.ngZone,ne=this.eventManager,le=this.sharedStylesHost,je=this.removeStylesOnCompDestroy,oe=this.platformIsServer;switch(F.encapsulation){case s.ifc.Emulated:P=new $t(ne,le,F,this.appId,je,V,me,oe);break;case s.ifc.ShadowDom:return new Pt(ne,le,D,F,V,me,this.nonce,oe);default:P=new Gt(ne,le,F,je,V,me,oe)}R.set(F.id,P)}return P}ngOnDestroy(){this.rendererByCompId.clear()}}return(B=k).\u0275fac=function(D){return new(D||B)(s.LFG(fe),s.LFG(Ke),s.LFG(s.AFp),s.LFG(z),s.LFG(m.K0),s.LFG(s.Lbi),s.LFG(s.R0b),s.LFG(s.Ojb))},B.\u0275prov=s.Yz7({token:B,factory:B.\u0275fac}),k})();class Ge{constructor(k,O,D,F){this.eventManager=k,this.doc=O,this.ngZone=D,this.platformIsServer=F,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(k,O){return O?this.doc.createElementNS(we[O]||O,k):this.doc.createElement(k)}createComment(k){return this.doc.createComment(k)}createText(k){return this.doc.createTextNode(k)}appendChild(k,O){(Mt(k)?k.content:k).appendChild(O)}insertBefore(k,O,D){k&&(Mt(k)?k.content:k).insertBefore(O,D)}removeChild(k,O){k&&k.removeChild(O)}selectRootElement(k,O){let D="string"==typeof k?this.doc.querySelector(k):k;if(!D)throw new s.vHH(-5104,!1);return O||(D.textContent=""),D}parentNode(k){return k.parentNode}nextSibling(k){return k.nextSibling}setAttribute(k,O,D,F){if(F){O=F+":"+O;const R=we[F];R?k.setAttributeNS(R,O,D):k.setAttribute(O,D)}else k.setAttribute(O,D)}removeAttribute(k,O,D){if(D){const F=we[D];F?k.removeAttributeNS(F,O):k.removeAttribute(`${D}:${O}`)}else k.removeAttribute(O)}addClass(k,O){k.classList.add(O)}removeClass(k,O){k.classList.remove(O)}setStyle(k,O,D,F){F&(s.JOm.DashCase|s.JOm.Important)?k.style.setProperty(O,D,F&s.JOm.Important?"important":""):k.style[O]=D}removeStyle(k,O,D){D&s.JOm.DashCase?k.style.removeProperty(O):k.style[O]=""}setProperty(k,O,D){k[O]=D}setValue(k,O){k.nodeValue=O}listen(k,O,D){if("string"==typeof k&&!(k=(0,m.q)().getGlobalEventTarget(this.doc,k)))throw new Error(`Unsupported event target ${k} for event ${O}`);return this.eventManager.addEventListener(k,O,this.decoratePreventDefault(D))}decoratePreventDefault(k){return O=>{if("__ngUnwrap__"===O)return k;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>k(O)):k(O))&&O.preventDefault()}}}function Mt(B){return"TEMPLATE"===B.tagName&&void 0!==B.content}class Pt extends Ge{constructor(k,O,D,F,R,P,V,me){super(k,R,P,me),this.sharedStylesHost=O,this.hostEl=D,this.shadowRoot=D.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const ne=ge(F.id,F.styles);for(const le of ne){const je=document.createElement("style");V&&je.setAttribute("nonce",V),je.textContent=le,this.shadowRoot.appendChild(je)}}nodeOrShadowRoot(k){return k===this.hostEl?this.shadowRoot:k}appendChild(k,O){return super.appendChild(this.nodeOrShadowRoot(k),O)}insertBefore(k,O,D){return super.insertBefore(this.nodeOrShadowRoot(k),O,D)}removeChild(k,O){return super.removeChild(this.nodeOrShadowRoot(k),O)}parentNode(k){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(k)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Gt extends Ge{constructor(k,O,D,F,R,P,V,me){super(k,R,P,V),this.sharedStylesHost=O,this.removeStylesOnCompDestroy=F,this.styles=me?ge(me,D.styles):D.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class $t extends Gt{constructor(k,O,D,F,R,P,V,me){const ne=F+"-"+D.id;super(k,O,D,R,P,V,me,ne),this.contentAttr=function ie(B){return"_ngcontent-%COMP%".replace(Je,B)}(ne),this.hostAttr=function ue(B){return"_nghost-%COMP%".replace(Je,B)}(ne)}applyToHost(k){this.applyStyles(),this.setAttribute(k,this.hostAttr,"")}createElement(k,O){const D=super.createElement(k,O);return super.setAttribute(D,this.contentAttr,""),D}}let gn=(()=>{var B;class k extends Se{constructor(D){super(D)}supports(D){return!0}addEventListener(D,F,R){return D.addEventListener(F,R,!1),()=>this.removeEventListener(D,F,R)}removeEventListener(D,F,R){return D.removeEventListener(F,R)}}return(B=k).\u0275fac=function(D){return new(D||B)(s.LFG(m.K0))},B.\u0275prov=s.Yz7({token:B,factory:B.\u0275fac}),k})();const Cn=["alt","control","meta","shift"],Ue={"\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"},$e={alt:B=>B.altKey,control:B=>B.ctrlKey,meta:B=>B.metaKey,shift:B=>B.shiftKey};let Ye=(()=>{var B;class k extends Se{constructor(D){super(D)}supports(D){return null!=k.parseEventName(D)}addEventListener(D,F,R){const P=k.parseEventName(F),V=k.eventCallback(P.fullKey,R,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,m.q)().onAndCancel(D,P.domEventName,V))}static parseEventName(D){const F=D.toLowerCase().split("."),R=F.shift();if(0===F.length||"keydown"!==R&&"keyup"!==R)return null;const P=k._normalizeKey(F.pop());let V="",me=F.indexOf("code");if(me>-1&&(F.splice(me,1),V="code."),Cn.forEach(le=>{const je=F.indexOf(le);je>-1&&(F.splice(je,1),V+=le+".")}),V+=P,0!=F.length||0===P.length)return null;const ne={};return ne.domEventName=R,ne.fullKey=V,ne}static matchEventFullKeyCode(D,F){let R=Ue[D.key]||D.key,P="";return F.indexOf("code.")>-1&&(R=D.code,P="code."),!(null==R||!R)&&(R=R.toLowerCase()," "===R?R="space":"."===R&&(R="dot"),Cn.forEach(V=>{V!==R&&(0,$e[V])(D)&&(P+=V+".")}),P+=R,P===F)}static eventCallback(D,F,R){return P=>{k.matchEventFullKeyCode(P,D)&&R.runGuarded(()=>F(P))}}static _normalizeKey(D){return"esc"===D?"escape":D}}return(B=k).\u0275fac=function(D){return new(D||B)(s.LFG(m.K0))},B.\u0275prov=s.Yz7({token:B,factory:B.\u0275fac}),k})();const N=(0,s.eFA)(s._c5,"browser",[{provide:s.Lbi,useValue:m.bD},{provide:s.g9A,useValue:function ve(){U.makeCurrent()},multi:!0},{provide:m.K0,useFactory:function ye(){return(0,s.RDi)(document),document},deps:[]}]),Ae=new s.OlP(""),Le=[{provide:s.rWj,useClass:class te{addToWindow(k){s.dqk.getAngularTestability=(D,F=!0)=>{const R=k.findTestabilityInTree(D,F);if(null==R)throw new s.vHH(5103,!1);return R},s.dqk.getAllAngularTestabilities=()=>k.getAllTestabilities(),s.dqk.getAllAngularRootElements=()=>k.getAllRootElements(),s.dqk.frameworkStabilizers||(s.dqk.frameworkStabilizers=[]),s.dqk.frameworkStabilizers.push(D=>{const F=s.dqk.getAllAngularTestabilities();let R=F.length,P=!1;const V=function(me){P=P||me,R--,0==R&&D(P)};F.forEach(me=>{me.whenStable(V)})})}findTestabilityInTree(k,O,D){return null==O?null:k.getTestability(O)??(D?(0,m.q)().isShadowRoot(O)?this.findTestabilityInTree(k,O.host,!0):this.findTestabilityInTree(k,O.parentElement,!0):null)}},deps:[]},{provide:s.lri,useClass:s.dDg,deps:[s.R0b,s.eoX,s.rWj]},{provide:s.dDg,useClass:s.dDg,deps:[s.R0b,s.eoX,s.rWj]}],St=[{provide:s.zSh,useValue:"root"},{provide:s.qLn,useFactory:function qe(){return new s.qLn},deps:[]},{provide:J,useClass:gn,multi:!0,deps:[m.K0,s.R0b,s.Lbi]},{provide:J,useClass:Ye,multi:!0,deps:[m.K0]},xe,Ke,fe,{provide:s.FYo,useExisting:xe},{provide:m.JF,useClass:H,deps:[]},[]];let vt=(()=>{var B;class k{constructor(D){}static withServerTransition(D){return{ngModule:k,providers:[{provide:s.AFp,useValue:D.appId}]}}}return(B=k).\u0275fac=function(D){return new(D||B)(s.LFG(Ae,12))},B.\u0275mod=s.oAB({type:B}),B.\u0275inj=s.cJS({providers:[...St,...Le],imports:[m.ez,s.hGG]}),k})(),ir=(()=>{var B;class k{constructor(D){this._doc=D}getTitle(){return this._doc.title}setTitle(D){this._doc.title=D||""}}return(B=k).\u0275fac=function(D){return new(D||B)(s.LFG(m.K0))},B.\u0275prov=s.Yz7({token:B,factory:function(D){let F=null;return F=D?new D:function Ct(){return new ir((0,s.LFG)(m.K0))}(),F},providedIn:"root"}),k})();typeof window<"u"&&window;let In=(()=>{var B;class k{}return(B=k).\u0275fac=function(D){return new(D||B)},B.\u0275prov=s.Yz7({token:B,factory:function(D){let F=null;return F=D?new(D||B):s.LFG(Ze),F},providedIn:"root"}),k})(),Ze=(()=>{var B;class k extends In{constructor(D){super(),this._doc=D}sanitize(D,F){if(null==F)return null;switch(D){case s.q3G.NONE:return F;case s.q3G.HTML:return(0,s.qzn)(F,"HTML")?(0,s.z3N)(F):(0,s.EiD)(this._doc,String(F)).toString();case s.q3G.STYLE:return(0,s.qzn)(F,"Style")?(0,s.z3N)(F):F;case s.q3G.SCRIPT:if((0,s.qzn)(F,"Script"))return(0,s.z3N)(F);throw new s.vHH(5200,!1);case s.q3G.URL:return(0,s.qzn)(F,"URL")?(0,s.z3N)(F):(0,s.mCW)(String(F));case s.q3G.RESOURCE_URL:if((0,s.qzn)(F,"ResourceURL"))return(0,s.z3N)(F);throw new s.vHH(5201,!1);default:throw new s.vHH(5202,!1)}}bypassSecurityTrustHtml(D){return(0,s.JVY)(D)}bypassSecurityTrustStyle(D){return(0,s.L6k)(D)}bypassSecurityTrustScript(D){return(0,s.eBb)(D)}bypassSecurityTrustUrl(D){return(0,s.LAX)(D)}bypassSecurityTrustResourceUrl(D){return(0,s.pB0)(D)}}return(B=k).\u0275fac=function(D){return new(D||B)(s.LFG(m.K0))},B.\u0275prov=s.Yz7({token:B,factory:function(D){let F=null;return F=D?new D:function dr(B){return new Ze(B.get(m.K0))}(s.LFG(s.zs3)),F},providedIn:"root"}),k})()},9790:(ft,De,v)=>{v.d(De,{gz:()=>Hi,m2:()=>Mr,F0:()=>xr,rH:()=>Uo,Od:()=>ts,Bz:()=>Gi,lC:()=>Nr});var s=v(5879),m=v(5592),W=v(4674),I=v(2459),Y=v(2096),Z=v(5619),re=v(2572),te=v(6973),H=v(5211),J=v(4911),fe=v(8407),Se=v(8504),Ie=v(6232),Ke=v(7394),we=v(9360),Je=v(8251);function Ve(){return(0,we.e)((d,h)=>{let y=null;d._refCount++;const p=(0,Je.x)(h,void 0,void 0,void 0,()=>{if(!d||d._refCount<=0||0<--d._refCount)return void(y=null);const x=d._connection,j=y;y=null,x&&(!j||x===j)&&x.unsubscribe(),h.unsubscribe()});d.subscribe(p),p.closed||(y=d.connect())})}class ut extends m.y{constructor(h,y){super(),this.source=h,this.subjectFactory=y,this._subject=null,this._refCount=0,this._connection=null,(0,we.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 Ke.w0;const y=this.getSubject();h.add(this.source.subscribe((0,Je.x)(y,void 0,()=>{this._teardown(),y.complete()},p=>{this._teardown(),y.error(p)},()=>this._teardown()))),h.closed&&(this._connection=null,h=Ke.w0.EMPTY)}return h}refCount(){return Ve()(this)}}var ke=v(8645),G=v(6814),z=v(7398),ie=v(4664),ue=v(8180),ge=v(7921),xe=v(2181),Ge=v(1631),nt=v(1374),ht=v(6328),Mt=v(9397),Pt=v(6306),Gt=v(6699),$t=v(3572);function gn(d){return d<=0?()=>Ie.E:(0,we.e)((h,y)=>{let p=[];h.subscribe((0,Je.x)(y,x=>{p.push(x),d<p.length&&p.shift()},()=>{for(const x of p)y.next(x);y.complete()},void 0,()=>{p=null}))})}var Cn=v(3026),Ue=v(2737),Qe=v(4716),lt=v(9773),dt=v(7537),At=v(6593);const ve="primary",qe=Symbol("RouteTitle");class ye{constructor(h){this.params=h||{}}has(h){return Object.prototype.hasOwnProperty.call(this.params,h)}get(h){if(this.has(h)){const y=this.params[h];return Array.isArray(y)?y[0]:y}return null}getAll(h){if(this.has(h)){const y=this.params[h];return Array.isArray(y)?y:[y]}return[]}get keys(){return Object.keys(this.params)}}function Oe(d){return new ye(d)}function N(d,h,y){const p=y.path.split("/");if(p.length>d.length||"full"===y.pathMatch&&(h.hasChildren()||p.length<d.length))return null;const x={};for(let j=0;j<p.length;j++){const q=p[j],Ne=d[j];if(q.startsWith(":"))x[q.substring(1)]=Ne;else if(q!==Ne.path)return null}return{consumed:d.slice(0,p.length),posParams:x}}function Le(d,h){const y=d?Object.keys(d):void 0,p=h?Object.keys(h):void 0;if(!y||!p||y.length!=p.length)return!1;let x;for(let j=0;j<y.length;j++)if(x=y[j],!St(d[x],h[x]))return!1;return!0}function St(d,h){if(Array.isArray(d)&&Array.isArray(h)){if(d.length!==h.length)return!1;const y=[...d].sort(),p=[...h].sort();return y.every((x,j)=>p[j]===x)}return d===h}function vt(d){return d.length>0?d[d.length-1]:null}function Lt(d){return function U(d){return!!d&&(d instanceof m.y||(0,W.m)(d.lift)&&(0,W.m)(d.subscribe))}(d)?d:(0,s.QGY)(d)?(0,I.D)(Promise.resolve(d)):(0,Y.of)(d)}const Mn={exact:function Un(d,h,y){if(!_n(d.segments,h.segments)||!Vt(d.segments,h.segments,y)||d.numberOfChildren!==h.numberOfChildren)return!1;for(const p in h.children)if(!d.children[p]||!Un(d.children[p],h.children[p],y))return!1;return!0},subset:Nt},kn={exact:function ir(d,h){return Le(d,h)},subset:function On(d,h){return Object.keys(h).length<=Object.keys(d).length&&Object.keys(h).every(y=>St(d[y],h[y]))},ignored:()=>!0};function Ct(d,h,y){return Mn[y.paths](d.root,h.root,y.matrixParams)&&kn[y.queryParams](d.queryParams,h.queryParams)&&!("exact"===y.fragment&&d.fragment!==h.fragment)}function Nt(d,h,y){return jt(d,h,h.segments,y)}function jt(d,h,y,p){if(d.segments.length>y.length){const x=d.segments.slice(0,y.length);return!(!_n(x,y)||h.hasChildren()||!Vt(x,y,p))}if(d.segments.length===y.length){if(!_n(d.segments,y)||!Vt(d.segments,y,p))return!1;for(const x in h.children)if(!d.children[x]||!Nt(d.children[x],h.children[x],p))return!1;return!0}{const x=y.slice(0,d.segments.length),j=y.slice(d.segments.length);return!!(_n(d.segments,x)&&Vt(d.segments,x,p)&&d.children[ve])&&jt(d.children[ve],h,j,p)}}function Vt(d,h,y){return h.every((p,x)=>kn[y](d[x].parameters,p.parameters))}class rn{constructor(h=new Xt([],{}),y={},p=null){this.root=h,this.queryParams=y,this.fragment=p}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Oe(this.queryParams)),this._queryParamMap}toString(){return on.serialize(this)}}class Xt{constructor(h,y){this.segments=h,this.children=y,this.parent=null,Object.values(y).forEach(p=>p.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Qn(this)}}class Tn{constructor(h,y){this.path=h,this.parameters=y}get parameterMap(){return this._parameterMap||(this._parameterMap=Oe(this.parameters)),this._parameterMap}toString(){return st(this)}}function _n(d,h){return d.length===h.length&&d.every((y,p)=>y.path===h[p].path)}let Yt=(()=>{var d;class h{}return(d=h).\u0275fac=function(p){return new(p||d)},d.\u0275prov=s.Yz7({token:d,factory:function(){return new or},providedIn:"root"}),h})();class or{parse(h){const y=new P(h);return new rn(y.parseRootSegment(),y.parseQueryParams(),y.parseFragment())}serialize(h){const y=`/${Wn(h.root,!0)}`,p=function en(d){const h=Object.keys(d).map(y=>{const p=d[y];return Array.isArray(p)?p.map(x=>`${dr(y)}=${dr(x)}`).join("&"):`${dr(y)}=${dr(p)}`}).filter(y=>!!y);return h.length?`?${h.join("&")}`:""}(h.queryParams);return`${y}${p}${"string"==typeof h.fragment?`#${function Ze(d){return encodeURI(d)}(h.fragment)}`:""}`}}const on=new or;function Qn(d){return d.segments.map(h=>st(h)).join("/")}function Wn(d,h){if(!d.hasChildren())return Qn(d);if(h){const y=d.children[ve]?Wn(d.children[ve],!1):"",p=[];return Object.entries(d.children).forEach(([x,j])=>{x!==ve&&p.push(`${x}:${Wn(j,!1)}`)}),p.length>0?`${y}(${p.join("//")})`:y}{const y=function Fn(d,h){let y=[];return Object.entries(d.children).forEach(([p,x])=>{p===ve&&(y=y.concat(h(x,p)))}),Object.entries(d.children).forEach(([p,x])=>{p!==ve&&(y=y.concat(h(x,p)))}),y}(d,(p,x)=>x===ve?[Wn(d.children[ve],!1)]:[`${x}:${Wn(p,!1)}`]);return 1===Object.keys(d.children).length&&null!=d.children[ve]?`${Qn(d)}/${y[0]}`:`${Qn(d)}/(${y.join("//")})`}}function In(d){return encodeURIComponent(d).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function dr(d){return In(d).replace(/%3B/gi,";")}function Dt(d){return In(d).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function yt(d){return decodeURIComponent(d)}function We(d){return yt(d.replace(/\+/g,"%20"))}function st(d){return`${Dt(d.path)}${function Ut(d){return Object.keys(d).map(h=>`;${Dt(h)}=${Dt(d[h])}`).join("")}(d.parameters)}`}const Jn=/^[^\/()?;#]+/;function pe(d){const h=d.match(Jn);return h?h[0]:""}const B=/^[^\/()?;=#]+/,O=/^[^=?&#]+/,F=/^[^&#]+/;class P{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 y={};this.peekStartsWith("/(")&&(this.capture("/"),y=this.parseParens(!0));let p={};return this.peekStartsWith("(")&&(p=this.parseParens(!1)),(h.length>0||Object.keys(y).length>0)&&(p[ve]=new Xt(h,y)),p}parseSegment(){const h=pe(this.remaining);if(""===h&&this.peekStartsWith(";"))throw new s.vHH(4009,!1);return this.capture(h),new Tn(yt(h),this.parseMatrixParams())}parseMatrixParams(){const h={};for(;this.consumeOptional(";");)this.parseParam(h);return h}parseParam(h){const y=function k(d){const h=d.match(B);return h?h[0]:""}(this.remaining);if(!y)return;this.capture(y);let p="";if(this.consumeOptional("=")){const x=pe(this.remaining);x&&(p=x,this.capture(p))}h[yt(y)]=yt(p)}parseQueryParam(h){const y=function D(d){const h=d.match(O);return h?h[0]:""}(this.remaining);if(!y)return;this.capture(y);let p="";if(this.consumeOptional("=")){const q=function R(d){const h=d.match(F);return h?h[0]:""}(this.remaining);q&&(p=q,this.capture(p))}const x=We(y),j=We(p);if(h.hasOwnProperty(x)){let q=h[x];Array.isArray(q)||(q=[q],h[x]=q),q.push(j)}else h[x]=j}parseParens(h){const y={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const p=pe(this.remaining),x=this.remaining[p.length];if("/"!==x&&")"!==x&&";"!==x)throw new s.vHH(4010,!1);let j;p.indexOf(":")>-1?(j=p.slice(0,p.indexOf(":")),this.capture(j),this.capture(":")):h&&(j=ve);const q=this.parseChildren();y[j]=1===Object.keys(q).length?q[ve]:new Xt([],q),this.consumeOptional("//")}return y}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,!1)}}function V(d){return d.segments.length>0?new Xt([],{[ve]:d}):d}function me(d){const h={};for(const p of Object.keys(d.children)){const j=me(d.children[p]);if(p===ve&&0===j.segments.length&&j.hasChildren())for(const[q,Ne]of Object.entries(j.children))h[q]=Ne;else(j.segments.length>0||j.hasChildren())&&(h[p]=j)}return function ne(d){if(1===d.numberOfChildren&&d.children[ve]){const h=d.children[ve];return new Xt(d.segments.concat(h.segments),h.children)}return d}(new Xt(d.segments,h))}function le(d){return d instanceof rn}function oe(d){let h;const x=V(function y(j){const q={};for(const bt of j.children){const tt=y(bt);q[bt.outlet]=tt}const Ne=new Xt(j.url,q);return j===d&&(h=Ne),Ne}(d.root));return h??x}function ee(d,h,y,p){let x=d;for(;x.parent;)x=x.parent;if(0===h.length)return ce(x,x,x,y,p);const j=function Xe(d){if("string"==typeof d[0]&&1===d.length&&"/"===d[0])return new rt(!0,0,d);let h=0,y=!1;const p=d.reduce((x,j,q)=>{if("object"==typeof j&&null!=j){if(j.outlets){const Ne={};return Object.entries(j.outlets).forEach(([bt,tt])=>{Ne[bt]="string"==typeof tt?tt.split("/"):tt}),[...x,{outlets:Ne}]}if(j.segmentPath)return[...x,j.segmentPath]}return"string"!=typeof j?[...x,j]:0===q?(j.split("/").forEach((Ne,bt)=>{0==bt&&"."===Ne||(0==bt&&""===Ne?y=!0:".."===Ne?h++:""!=Ne&&x.push(Ne))}),x):[...x,j]},[]);return new rt(y,h,p)}(h);if(j.toRoot())return ce(x,x,new Xt([],{}),y,p);const q=function Ot(d,h,y){if(d.isAbsolute)return new wt(h,!0,0);if(!y)return new wt(h,!1,NaN);if(null===y.parent)return new wt(y,!0,0);const p=Pe(d.commands[0])?0:1;return function Pn(d,h,y){let p=d,x=h,j=y;for(;j>x;){if(j-=x,p=p.parent,!p)throw new s.vHH(4005,!1);x=p.segments.length}return new wt(p,!1,x-j)}(y,y.segments.length-1+p,d.numberOfDoubleDots)}(j,x,d),Ne=q.processChildren?sr(q.segmentGroup,q.index,j.commands):Rn(q.segmentGroup,q.index,j.commands);return ce(x,q.segmentGroup,Ne,y,p)}function Pe(d){return"object"==typeof d&&null!=d&&!d.outlets&&!d.segmentPath}function X(d){return"object"==typeof d&&null!=d&&d.outlets}function ce(d,h,y,p,x){let q,j={};p&&Object.entries(p).forEach(([bt,tt])=>{j[bt]=Array.isArray(tt)?tt.map(Zt=>`${Zt}`):`${tt}`}),q=d===h?y:Ce(d,h,y);const Ne=V(me(q));return new rn(Ne,j,x)}function Ce(d,h,y){const p={};return Object.entries(d.children).forEach(([x,j])=>{p[x]=j===h?y:Ce(j,h,y)}),new Xt(d.segments,p)}class rt{constructor(h,y,p){if(this.isAbsolute=h,this.numberOfDoubleDots=y,this.commands=p,h&&p.length>0&&Pe(p[0]))throw new s.vHH(4003,!1);const x=p.find(X);if(x&&x!==vt(p))throw new s.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class wt{constructor(h,y,p){this.segmentGroup=h,this.processChildren=y,this.index=p}}function Rn(d,h,y){if(d||(d=new Xt([],{})),0===d.segments.length&&d.hasChildren())return sr(d,h,y);const p=function Vr(d,h,y){let p=0,x=h;const j={match:!1,pathIndex:0,commandIndex:0};for(;x<d.segments.length;){if(p>=y.length)return j;const q=d.segments[x],Ne=y[p];if(X(Ne))break;const bt=`${Ne}`,tt=p<y.length-1?y[p+1]:null;if(x>0&&void 0===bt)break;if(bt&&tt&&"object"==typeof tt&&void 0===tt.outlets){if(!zr(bt,tt,q))return j;p+=2}else{if(!zr(bt,{},q))return j;p++}x++}return{match:!0,pathIndex:x,commandIndex:p}}(d,h,y),x=y.slice(p.commandIndex);if(p.match&&p.pathIndex<d.segments.length){const j=new Xt(d.segments.slice(0,p.pathIndex),{});return j.children[ve]=new Xt(d.segments.slice(p.pathIndex),d.children),sr(j,0,x)}return p.match&&0===x.length?new Xt(d.segments,{}):p.match&&!d.hasChildren()?Ar(d,h,y):p.match?sr(d,0,x):Ar(d,h,y)}function sr(d,h,y){if(0===y.length)return new Xt(d.segments,{});{const p=function zn(d){return X(d[0])?d[0].outlets:{[ve]:d}}(y),x={};if(Object.keys(p).some(j=>j!==ve)&&d.children[ve]&&1===d.numberOfChildren&&0===d.children[ve].segments.length){const j=sr(d.children[ve],h,y);return new Xt(d.segments,j.children)}return Object.entries(p).forEach(([j,q])=>{"string"==typeof q&&(q=[q]),null!==q&&(x[j]=Rn(d.children[j],h,q))}),Object.entries(d.children).forEach(([j,q])=>{void 0===p[j]&&(x[j]=q)}),new Xt(d.segments,x)}}function Ar(d,h,y){const p=d.segments.slice(0,h);let x=0;for(;x<y.length;){const j=y[x];if(X(j)){const bt=Ln(j.outlets);return new Xt(p,bt)}if(0===x&&Pe(y[0])){p.push(new Tn(d.segments[h].path,Hn(y[0]))),x++;continue}const q=X(j)?j.outlets[ve]:`${j}`,Ne=x<y.length-1?y[x+1]:null;q&&Ne&&Pe(Ne)?(p.push(new Tn(q,Hn(Ne))),x+=2):(p.push(new Tn(q,{})),x++)}return new Xt(p,{})}function Ln(d){const h={};return Object.entries(d).forEach(([y,p])=>{"string"==typeof p&&(p=[p]),null!==p&&(h[y]=Ar(new Xt([],{}),0,p))}),h}function Hn(d){const h={};return Object.entries(d).forEach(([y,p])=>h[y]=`${p}`),h}function zr(d,h,y){return d==y.path&&Le(h,y.parameters)}const Or="imperative";class An{constructor(h,y){this.id=h,this.url=y}}class Pr extends An{constructor(h,y,p="imperative",x=null){super(h,y),this.type=0,this.navigationTrigger=p,this.restoredState=x}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Mr extends An{constructor(h,y,p){super(h,y),this.urlAfterRedirects=p,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Rr extends An{constructor(h,y,p,x){super(h,y),this.reason=p,this.code=x,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class ii extends An{constructor(h,y,p,x){super(h,y),this.reason=p,this.code=x,this.type=16}}class Xr extends An{constructor(h,y,p,x){super(h,y),this.error=p,this.target=x,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class yr extends An{constructor(h,y,p,x){super(h,y),this.urlAfterRedirects=p,this.state=x,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Tr extends An{constructor(h,y,p,x){super(h,y),this.urlAfterRedirects=p,this.state=x,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ai extends An{constructor(h,y,p,x,j){super(h,y),this.urlAfterRedirects=p,this.state=x,this.shouldActivate=j,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class ji extends An{constructor(h,y,p,x){super(h,y),this.urlAfterRedirects=p,this.state=x,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class zo extends An{constructor(h,y,p,x){super(h,y),this.urlAfterRedirects=p,this.state=x,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ji{constructor(h){this.route=h,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Oo{constructor(h){this.route=h,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class yo{constructor(h){this.snapshot=h,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class bo{constructor(h){this.snapshot=h,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Oi{constructor(h){this.snapshot=h,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class br{constructor(h){this.snapshot=h,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class oi{constructor(h,y,p){this.routerEvent=h,this.position=y,this.anchor=p,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class pi{}class Eo{constructor(h){this.url=h}}class Pi{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new er,this.attachRef=null}}let er=(()=>{var d;class h{constructor(){this.contexts=new Map}onChildOutletCreated(p,x){const j=this.getOrCreateContext(p);j.outlet=x,this.contexts.set(p,j)}onChildOutletDestroyed(p){const x=this.getContext(p);x&&(x.outlet=null,x.attachRef=null)}onOutletDeactivated(){const p=this.contexts;return this.contexts=new Map,p}onOutletReAttached(p){this.contexts=p}getOrCreateContext(p){let x=this.getContext(p);return x||(x=new Pi,this.contexts.set(p,x)),x}getContext(p){return this.contexts.get(p)||null}}return(d=h).\u0275fac=function(p){return new(p||d)},d.\u0275prov=s.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),h})();class qi{constructor(h){this._root=h}get root(){return this._root.value}parent(h){const y=this.pathFromRoot(h);return y.length>1?y[y.length-2]:null}children(h){const y=Ui(h,this._root);return y?y.children.map(p=>p.value):[]}firstChild(h){const y=Ui(h,this._root);return y&&y.children.length>0?y.children[0].value:null}siblings(h){const y=Xi(h,this._root);return y.length<2?[]:y[y.length-2].children.map(x=>x.value).filter(x=>x!==h)}pathFromRoot(h){return Xi(h,this._root).map(y=>y.value)}}function Ui(d,h){if(d===h.value)return h;for(const y of h.children){const p=Ui(d,y);if(p)return p}return null}function Xi(d,h){if(d===h.value)return[h];for(const y of h.children){const p=Xi(d,y);if(p.length)return p.unshift(h),p}return[]}class un{constructor(h,y){this.value=h,this.children=y}toString(){return`TreeNode(${this.value})`}}function fr(d){const h={};return d&&d.children.forEach(y=>h[y.value.outlet]=y),h}class wr extends qi{constructor(h,y){super(h),this.snapshot=y,ar(this,h)}toString(){return this.snapshot.toString()}}function Dr(d,h){const y=function Gr(d,h){const q=new Go([],{},{},"",{},ve,h,null,{});return new Cs("",new un(q,[]))}(0,h),p=new Z.X([new Tn("",{})]),x=new Z.X({}),j=new Z.X({}),q=new Z.X({}),Ne=new Z.X(""),bt=new Hi(p,x,q,Ne,j,ve,h,y.root);return bt.snapshot=y.root,new wr(new un(bt,[]),y)}class Hi{constructor(h,y,p,x,j,q,Ne,bt){this.urlSubject=h,this.paramsSubject=y,this.queryParamsSubject=p,this.fragmentSubject=x,this.dataSubject=j,this.outlet=q,this.component=Ne,this._futureSnapshot=bt,this.title=this.dataSubject?.pipe((0,z.U)(tt=>tt[qe]))??(0,Y.of)(void 0),this.url=h,this.params=y,this.queryParams=p,this.fragment=x,this.data=j}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe((0,z.U)(h=>Oe(h)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,z.U)(h=>Oe(h)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Po(d,h="emptyOnly"){const y=d.pathFromRoot;let p=0;if("always"!==h)for(p=y.length-1;p>=1;){const x=y[p],j=y[p-1];if(x.routeConfig&&""===x.routeConfig.path)p--;else{if(j.component)break;p--}}return function Ro(d){return d.reduce((h,y)=>({params:{...h.params,...y.params},data:{...h.data,...y.data},resolve:{...y.data,...h.resolve,...y.routeConfig?.data,...y._resolvedData}}),{params:{},data:{},resolve:{}})}(y.slice(p))}class Go{get title(){return this.data?.[qe]}constructor(h,y,p,x,j,q,Ne,bt,tt){this.url=h,this.params=y,this.queryParams=p,this.fragment=x,this.data=j,this.outlet=q,this.component=Ne,this.routeConfig=bt,this._resolve=tt}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=Oe(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Oe(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(p=>p.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Cs extends qi{constructor(h,y){super(y),this.url=h,ar(this,y)}toString(){return It(this._root)}}function ar(d,h){h.value._routerState=d,h.children.forEach(y=>ar(d,y))}function It(d){const h=d.children.length>0?` { ${d.children.map(It).join(", ")} } `:"";return`${d.value}${h}`}function sn(d){if(d.snapshot){const h=d.snapshot,y=d._futureSnapshot;d.snapshot=y,Le(h.queryParams,y.queryParams)||d.queryParamsSubject.next(y.queryParams),h.fragment!==y.fragment&&d.fragmentSubject.next(y.fragment),Le(h.params,y.params)||d.paramsSubject.next(y.params),function Ae(d,h){if(d.length!==h.length)return!1;for(let y=0;y<d.length;++y)if(!Le(d[y],h[y]))return!1;return!0}(h.url,y.url)||d.urlSubject.next(y.url),Le(h.data,y.data)||d.dataSubject.next(y.data)}else d.snapshot=d._futureSnapshot,d.dataSubject.next(d._futureSnapshot.data)}function Gn(d,h){const y=Le(d.params,h.params)&&function cn(d,h){return _n(d,h)&&d.every((y,p)=>Le(y.parameters,h[p].parameters))}(d.url,h.url);return y&&!(!d.parent!=!h.parent)&&(!d.parent||Gn(d.parent,h.parent))}let Nr=(()=>{var d;class h{constructor(){this.activated=null,this._activatedRoute=null,this.name=ve,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)(er),this.location=(0,s.f3M)(s.s_b),this.changeDetector=(0,s.f3M)(s.sBO),this.environmentInjector=(0,s.f3M)(s.lqb),this.inputBinder=(0,s.f3M)(hr,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(p){if(p.name){const{firstChange:x,previousValue:j}=p.name;if(x)return;this.isTrackedInParentContexts(j)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(j)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(p){return this.parentContexts.getContext(p)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const p=this.parentContexts.getContext(this.name);p?.route&&(p.attachRef?this.attach(p.attachRef,p.route):this.activateWith(p.route,p.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new s.vHH(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new s.vHH(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new s.vHH(4012,!1);this.location.detach();const p=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(p.instance),p}attach(p,x){this.activated=p,this._activatedRoute=x,this.location.insert(p.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(p.instance)}deactivate(){if(this.activated){const p=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(p)}}activateWith(p,x){if(this.isActivated)throw new s.vHH(4013,!1);this._activatedRoute=p;const j=this.location,Ne=p.snapshot.component,bt=this.parentContexts.getOrCreateContext(this.name).children,tt=new ui(p,bt,j.injector);this.activated=j.createComponent(Ne,{index:j.length,injector:tt,environmentInjector:x??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}}return(d=h).\u0275fac=function(p){return new(p||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]}),h})();class ui{constructor(h,y,p){this.route=h,this.childContexts=y,this.parent=p}get(h,y){return h===Hi?this.route:h===er?this.childContexts:this.parent.get(h,y)}}const hr=new s.OlP("");let Ri=(()=>{var d;class h{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(p){this.unsubscribeFromRouteData(p),this.subscribeToRouteData(p)}unsubscribeFromRouteData(p){this.outletDataSubscriptions.get(p)?.unsubscribe(),this.outletDataSubscriptions.delete(p)}subscribeToRouteData(p){const{activatedRoute:x}=p,j=(0,re.a)([x.queryParams,x.params,x.data]).pipe((0,ie.w)(([q,Ne,bt],tt)=>(bt={...q,...Ne,...bt},0===tt?(0,Y.of)(bt):Promise.resolve(bt)))).subscribe(q=>{if(!p.isActivated||!p.activatedComponentRef||p.activatedRoute!==x||null===x.component)return void this.unsubscribeFromRouteData(p);const Ne=(0,s.qFp)(x.component);if(Ne)for(const{templateName:bt}of Ne.inputs)p.activatedComponentRef.setInput(bt,q[bt]);else this.unsubscribeFromRouteData(p)});this.outletDataSubscriptions.set(p,j)}}return(d=h).\u0275fac=function(p){return new(p||d)},d.\u0275prov=s.Yz7({token:d,factory:d.\u0275fac}),h})();function Wr(d,h,y){if(y&&d.shouldReuseRoute(h.value,y.value.snapshot)){const p=y.value;p._futureSnapshot=h.value;const x=function Di(d,h,y){return h.children.map(p=>{for(const x of y.children)if(d.shouldReuseRoute(p.value,x.value.snapshot))return Wr(d,p,x);return Wr(d,p)})}(d,h,y);return new un(p,x)}{if(d.shouldAttach(h.value)){const j=d.retrieve(h.value);if(null!==j){const q=j.route;return q.value._futureSnapshot=h.value,q.children=h.children.map(Ne=>Wr(d,Ne)),q}}const p=function Jt(d){return new Hi(new Z.X(d.url),new Z.X(d.params),new Z.X(d.queryParams),new Z.X(d.fragment),new Z.X(d.data),d.outlet,d.component,d)}(h.value),x=h.children.map(j=>Wr(d,j));return new un(p,x)}}const Ni="ngNavigationCancelingError";function Me(d,h){const{redirectTo:y,navigationBehaviorOptions:p}=le(h)?{redirectTo:h,navigationBehaviorOptions:void 0}:h,x=be(!1,0,h);return x.url=y,x.navigationBehaviorOptions=p,x}function be(d,h,y){const p=new Error("NavigationCancelingError: "+(d||""));return p[Ni]=!0,p.cancellationCode=h,y&&(p.url=y),p}function ot(d){return d&&d[Ni]}let mt=(()=>{var d;class h{}return(d=h).\u0275fac=function(p){return new(p||d)},d.\u0275cmp=s.Xpm({type:d,selectors:[["ng-component"]],standalone:!0,features:[s.jDz],decls:1,vars:0,template:function(p,x){1&p&&s._UZ(0,"router-outlet")},dependencies:[Nr],encapsulation:2}),h})();function Ci(d){const h=d.children&&d.children.map(Ci),y=h?{...d,children:h}:{...d};return!y.component&&!y.loadComponent&&(h||y.loadChildren)&&y.outlet&&y.outlet!==ve&&(y.component=mt),y}function Sr(d){return d.outlet||ve}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 y=h.routeConfig;if(y?._loadedInjector)return y._loadedInjector;if(y?._injector)return y._injector}return null}class En{constructor(h,y,p,x,j){this.routeReuseStrategy=h,this.futureState=y,this.currState=p,this.forwardEvent=x,this.inputBindingEnabled=j}activate(h){const y=this.futureState._root,p=this.currState?this.currState._root:null;this.deactivateChildRoutes(y,p,h),sn(this.futureState.root),this.activateChildRoutes(y,p,h)}deactivateChildRoutes(h,y,p){const x=fr(y);h.children.forEach(j=>{const q=j.value.outlet;this.deactivateRoutes(j,x[q],p),delete x[q]}),Object.values(x).forEach(j=>{this.deactivateRouteAndItsChildren(j,p)})}deactivateRoutes(h,y,p){const x=h.value,j=y?y.value:null;if(x===j)if(x.component){const q=p.getContext(x.outlet);q&&this.deactivateChildRoutes(h,y,q.children)}else this.deactivateChildRoutes(h,y,p);else j&&this.deactivateRouteAndItsChildren(y,p)}deactivateRouteAndItsChildren(h,y){h.value.component&&this.routeReuseStrategy.shouldDetach(h.value.snapshot)?this.detachAndStoreRouteSubtree(h,y):this.deactivateRouteAndOutlet(h,y)}detachAndStoreRouteSubtree(h,y){const p=y.getContext(h.value.outlet),x=p&&h.value.component?p.children:y,j=fr(h);for(const q of Object.keys(j))this.deactivateRouteAndItsChildren(j[q],x);if(p&&p.outlet){const q=p.outlet.detach(),Ne=p.children.onOutletDeactivated();this.routeReuseStrategy.store(h.value.snapshot,{componentRef:q,route:h,contexts:Ne})}}deactivateRouteAndOutlet(h,y){const p=y.getContext(h.value.outlet),x=p&&h.value.component?p.children:y,j=fr(h);for(const q of Object.keys(j))this.deactivateRouteAndItsChildren(j[q],x);p&&(p.outlet&&(p.outlet.deactivate(),p.children.onOutletDeactivated()),p.attachRef=null,p.route=null)}activateChildRoutes(h,y,p){const x=fr(y);h.children.forEach(j=>{this.activateRoutes(j,x[j.value.outlet],p),this.forwardEvent(new br(j.value.snapshot))}),h.children.length&&this.forwardEvent(new bo(h.value.snapshot))}activateRoutes(h,y,p){const x=h.value,j=y?y.value:null;if(sn(x),x===j)if(x.component){const q=p.getOrCreateContext(x.outlet);this.activateChildRoutes(h,y,q.children)}else this.activateChildRoutes(h,y,p);else if(x.component){const q=p.getOrCreateContext(x.outlet);if(this.routeReuseStrategy.shouldAttach(x.snapshot)){const Ne=this.routeReuseStrategy.retrieve(x.snapshot);this.routeReuseStrategy.store(x.snapshot,null),q.children.onOutletReAttached(Ne.contexts),q.attachRef=Ne.componentRef,q.route=Ne.route.value,q.outlet&&q.outlet.attach(Ne.componentRef,Ne.route.value),sn(Ne.route.value),this.activateChildRoutes(h,null,q.children)}else{const Ne=kr(x.snapshot);q.attachRef=null,q.route=x,q.injector=Ne,q.outlet&&q.outlet.activateWith(x,q.injector),this.activateChildRoutes(h,null,q.children)}}else this.activateChildRoutes(h,null,p)}}class wi{constructor(h){this.path=h,this.route=this.path[this.path.length-1]}}class nr{constructor(h,y){this.component=h,this.route=y}}function Fr(d,h,y){const p=d._root;return Yr(p,h?h._root:null,y,[p.value])}function fi(d,h){const y=Symbol(),p=h.get(d,y);return p===y?"function"!=typeof d||(0,s.Z0I)(d)?h.get(d):d:p}function Yr(d,h,y,p,x={canDeactivateChecks:[],canActivateChecks:[]}){const j=fr(h);return d.children.forEach(q=>{(function ai(d,h,y,p,x={canDeactivateChecks:[],canActivateChecks:[]}){const j=d.value,q=h?h.value:null,Ne=y?y.getContext(d.value.outlet):null;if(q&&j.routeConfig===q.routeConfig){const bt=function ao(d,h,y){if("function"==typeof y)return y(d,h);switch(y){case"pathParamsChange":return!_n(d.url,h.url);case"pathParamsOrQueryParamsChange":return!_n(d.url,h.url)||!Le(d.queryParams,h.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Gn(d,h)||!Le(d.queryParams,h.queryParams);default:return!Gn(d,h)}}(q,j,j.routeConfig.runGuardsAndResolvers);bt?x.canActivateChecks.push(new wi(p)):(j.data=q.data,j._resolvedData=q._resolvedData),Yr(d,h,j.component?Ne?Ne.children:null:y,p,x),bt&&Ne&&Ne.outlet&&Ne.outlet.isActivated&&x.canDeactivateChecks.push(new nr(Ne.outlet.component,q))}else q&&$i(h,Ne,x),x.canActivateChecks.push(new wi(p)),Yr(d,null,j.component?Ne?Ne.children:null:y,p,x)})(q,j[q.value.outlet],y,p.concat([q.value]),x),delete j[q.value.outlet]}),Object.entries(j).forEach(([q,Ne])=>$i(Ne,y.getContext(q),x)),x}function $i(d,h,y){const p=fr(d),x=d.value;Object.entries(p).forEach(([j,q])=>{$i(q,x.component?h?h.children.getContext(j):null:h,y)}),y.canDeactivateChecks.push(new nr(x.component&&h&&h.outlet&&h.outlet.isActivated?h.outlet.component:null,x))}function No(d){return"function"==typeof d}function Wo(d){return d instanceof te.K||"EmptyError"===d?.name}const ko=Symbol("INITIAL_VALUE");function lo(){return(0,ie.w)(d=>(0,re.a)(d.map(h=>h.pipe((0,ue.q)(1),(0,ge.O)(ko)))).pipe((0,z.U)(h=>{for(const y of h)if(!0!==y){if(y===ko)return ko;if(!1===y||y instanceof rn)return y}return!0}),(0,xe.h)(h=>h!==ko),(0,ue.q)(1)))}function ei(d){return(0,fe.z)((0,Mt.b)(h=>{if(le(h))throw Me(0,h)}),(0,z.U)(h=>!0===h))}class co{constructor(h){this.segmentGroup=h||null}}class Vi{constructor(h){this.urlTree=h}}function rr(d){return(0,Se._)(new co(d))}function Do(d){return(0,Se._)(new Vi(d))}class ds{constructor(h,y){this.urlSerializer=h,this.urlTree=y}noMatchError(h){return new s.vHH(4002,!1)}lineralizeSegments(h,y){let p=[],x=y.root;for(;;){if(p=p.concat(x.segments),0===x.numberOfChildren)return(0,Y.of)(p);if(x.numberOfChildren>1||!x.children[ve])return(0,Se._)(new s.vHH(4e3,!1));x=x.children[ve]}}applyRedirectCommands(h,y,p){return this.applyRedirectCreateUrlTree(y,this.urlSerializer.parse(y),h,p)}applyRedirectCreateUrlTree(h,y,p,x){const j=this.createSegmentGroup(h,y.root,p,x);return new rn(j,this.createQueryParams(y.queryParams,this.urlTree.queryParams),y.fragment)}createQueryParams(h,y){const p={};return Object.entries(h).forEach(([x,j])=>{if("string"==typeof j&&j.startsWith(":")){const Ne=j.substring(1);p[x]=y[Ne]}else p[x]=j}),p}createSegmentGroup(h,y,p,x){const j=this.createSegments(h,y.segments,p,x);let q={};return Object.entries(y.children).forEach(([Ne,bt])=>{q[Ne]=this.createSegmentGroup(h,bt,p,x)}),new Xt(j,q)}createSegments(h,y,p,x){return y.map(j=>j.path.startsWith(":")?this.findPosParam(h,j,x):this.findOrReturn(j,p))}findPosParam(h,y,p){const x=p[y.path.substring(1)];if(!x)throw new s.vHH(4001,!1);return x}findOrReturn(h,y){let p=0;for(const x of y){if(x.path===h.path)return y.splice(p),x;p++}return h}}const uo={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Zo(d,h,y,p,x){const j=eo(d,h,y);return j.matched?(p=function Tt(d,h){return d.providers&&!d._injector&&(d._injector=(0,s.MMx)(d.providers,h,`Route: ${d.path}`)),d._injector??h}(h,p),function _i(d,h,y,p){const x=h.canMatch;if(!x||0===x.length)return(0,Y.of)(!0);const j=x.map(q=>{const Ne=fi(q,d);return Lt(function Us(d){return d&&No(d.canMatch)}(Ne)?Ne.canMatch(h,y):d.runInContext(()=>Ne(h,y)))});return(0,Y.of)(j).pipe(lo(),ei())}(p,h,y).pipe((0,z.U)(q=>!0===q?j:{...uo}))):(0,Y.of)(j)}function eo(d,h,y){if(""===h.path)return"full"===h.pathMatch&&(d.hasChildren()||y.length>0)?{...uo}:{matched:!0,consumedSegments:[],remainingSegments:y,parameters:{},positionalParamSegments:{}};const x=(h.matcher||N)(y,d,h);if(!x)return{...uo};const j={};Object.entries(x.posParams??{}).forEach(([Ne,bt])=>{j[Ne]=bt.path});const q=x.consumed.length>0?{...j,...x.consumed[x.consumed.length-1].parameters}:j;return{matched:!0,consumedSegments:x.consumed,remainingSegments:y.slice(x.consumed.length),parameters:q,positionalParamSegments:x.posParams??{}}}function ti(d,h,y,p){return y.length>0&&function Li(d,h,y){return y.some(p=>fo(d,h,p)&&Sr(p)!==ve)}(d,y,p)?{segmentGroup:new Xt(h,to(p,new Xt(y,d.children))),slicedSegments:[]}:0===y.length&&function fs(d,h,y){return y.some(p=>fo(d,h,p))}(d,y,p)?{segmentGroup:new Xt(d.segments,Fi(d,0,y,p,d.children)),slicedSegments:y}:{segmentGroup:new Xt(d.segments,d.children),slicedSegments:y}}function Fi(d,h,y,p,x){const j={};for(const q of p)if(fo(d,y,q)&&!x[Sr(q)]){const Ne=new Xt([],{});j[Sr(q)]=Ne}return{...x,...j}}function to(d,h){const y={};y[ve]=h;for(const p of d)if(""===p.path&&Sr(p)!==ve){const x=new Xt([],{});y[Sr(p)]=x}return y}function fo(d,h,y){return(!(d.hasChildren()||h.length>0)||"full"!==y.pathMatch)&&""===y.path}class Is{constructor(h,y,p,x,j,q,Ne){this.injector=h,this.configLoader=y,this.rootComponentType=p,this.config=x,this.urlTree=j,this.paramsInheritanceStrategy=q,this.urlSerializer=Ne,this.allowRedirects=!0,this.applyRedirects=new ds(this.urlSerializer,this.urlTree)}noMatchError(h){return new s.vHH(4002,!1)}recognize(){const h=ti(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,h,ve).pipe((0,Pt.K)(y=>{if(y instanceof Vi)return this.allowRedirects=!1,this.urlTree=y.urlTree,this.match(y.urlTree);throw y instanceof co?this.noMatchError(y):y}),(0,z.U)(y=>{const p=new Go([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},ve,this.rootComponentType,null,{}),x=new un(p,y),j=new Cs("",x),q=function je(d,h,y=null,p=null){return ee(oe(d),h,y,p)}(p,[],this.urlTree.queryParams,this.urlTree.fragment);return q.queryParams=this.urlTree.queryParams,j.url=this.urlSerializer.serialize(q),this.inheritParamsAndData(j._root),{state:j,tree:q}}))}match(h){return this.processSegmentGroup(this.injector,this.config,h.root,ve).pipe((0,Pt.K)(p=>{throw p instanceof co?this.noMatchError(p):p}))}inheritParamsAndData(h){const y=h.value,p=Po(y,this.paramsInheritanceStrategy);y.params=Object.freeze(p.params),y.data=Object.freeze(p.data),h.children.forEach(x=>this.inheritParamsAndData(x))}processSegmentGroup(h,y,p,x){return 0===p.segments.length&&p.hasChildren()?this.processChildren(h,y,p):this.processSegment(h,y,p,p.segments,x,!0)}processChildren(h,y,p){const x=[];for(const j of Object.keys(p.children))"primary"===j?x.unshift(j):x.push(j);return(0,I.D)(x).pipe((0,ht.b)(j=>{const q=p.children[j],Ne=function tr(d,h){const y=d.filter(p=>Sr(p)===h);return y.push(...d.filter(p=>Sr(p)!==h)),y}(y,j);return this.processSegmentGroup(h,Ne,q,j)}),(0,Gt.R)((j,q)=>(j.push(...q),j)),(0,$t.d)(null),function $e(d,h){const y=arguments.length>=2;return p=>p.pipe(d?(0,xe.h)((x,j)=>d(x,j,p)):Ue.y,gn(1),y?(0,$t.d)(h):(0,Cn.T)(()=>new te.K))}(),(0,Ge.z)(j=>{if(null===j)return rr(p);const q=xi(j);return function hs(d){d.sort((h,y)=>h.value.outlet===ve?-1:y.value.outlet===ve?1:h.value.outlet.localeCompare(y.value.outlet))}(q),(0,Y.of)(q)}))}processSegment(h,y,p,x,j,q){return(0,I.D)(y).pipe((0,ht.b)(Ne=>this.processSegmentAgainstRoute(Ne._injector??h,y,Ne,p,x,j,q).pipe((0,Pt.K)(bt=>{if(bt instanceof co)return(0,Y.of)(null);throw bt}))),(0,nt.P)(Ne=>!!Ne),(0,Pt.K)(Ne=>{if(Wo(Ne))return function zi(d,h,y){return 0===h.length&&!d.children[y]}(p,x,j)?(0,Y.of)([]):rr(p);throw Ne}))}processSegmentAgainstRoute(h,y,p,x,j,q,Ne){return function Bo(d,h,y,p){return!!(Sr(d)===p||p!==ve&&fo(h,y,d))&&("**"===d.path||eo(h,d,y).matched)}(p,x,j,q)?void 0===p.redirectTo?this.matchSegmentAgainstRoute(h,x,p,j,q,Ne):Ne&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(h,x,y,p,j,q):rr(x):rr(x)}expandSegmentAgainstRouteUsingRedirect(h,y,p,x,j,q){return"**"===x.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(h,p,x,q):this.expandRegularSegmentAgainstRouteUsingRedirect(h,y,p,x,j,q)}expandWildCardWithParamsAgainstRouteUsingRedirect(h,y,p,x){const j=this.applyRedirects.applyRedirectCommands([],p.redirectTo,{});return p.redirectTo.startsWith("/")?Do(j):this.applyRedirects.lineralizeSegments(p,j).pipe((0,Ge.z)(q=>{const Ne=new Xt(q,{});return this.processSegment(h,y,Ne,q,x,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(h,y,p,x,j,q){const{matched:Ne,consumedSegments:bt,remainingSegments:tt,positionalParamSegments:Zt}=eo(y,x,j);if(!Ne)return rr(y);const Sn=this.applyRedirects.applyRedirectCommands(bt,x.redirectTo,Zt);return x.redirectTo.startsWith("/")?Do(Sn):this.applyRedirects.lineralizeSegments(x,Sn).pipe((0,Ge.z)(Ur=>this.processSegment(h,p,y,Ur.concat(tt),q,!1)))}matchSegmentAgainstRoute(h,y,p,x,j,q){let Ne;if("**"===p.path){const bt=x.length>0?vt(x).parameters:{},tt=new Go(x,bt,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Jo(p),Sr(p),p.component??p._loadedComponent??null,p,As(p));Ne=(0,Y.of)({snapshot:tt,consumedSegments:[],remainingSegments:[]}),y.children={}}else Ne=Zo(y,p,x,h).pipe((0,z.U)(({matched:bt,consumedSegments:tt,remainingSegments:Zt,parameters:Sn})=>bt?{snapshot:new Go(tt,Sn,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Jo(p),Sr(p),p.component??p._loadedComponent??null,p,As(p)),consumedSegments:tt,remainingSegments:Zt}:null));return Ne.pipe((0,ie.w)(bt=>null===bt?rr(y):this.getChildConfig(h=p._injector??h,p,x).pipe((0,ie.w)(({routes:tt})=>{const Zt=p._loadedInjector??h,{snapshot:Sn,consumedSegments:Ur,remainingSegments:Yn}=bt,{segmentGroup:Mi,slicedSegments:ms}=ti(y,Ur,Yn,tt);if(0===ms.length&&Mi.hasChildren())return this.processChildren(Zt,tt,Mi).pipe((0,z.U)(Ho=>null===Ho?null:[new un(Sn,Ho)]));if(0===tt.length&&0===ms.length)return(0,Y.of)([new un(Sn,[])]);const Gs=Sr(p)===j;return this.processSegment(Zt,tt,Mi,ms,Gs?ve:j,!0).pipe((0,z.U)(Ho=>[new un(Sn,Ho)]))}))))}getChildConfig(h,y,p){return y.children?(0,Y.of)({routes:y.children,injector:h}):y.loadChildren?void 0!==y._loadedRoutes?(0,Y.of)({routes:y._loadedRoutes,injector:y._loadedInjector}):function Lo(d,h,y,p){const x=h.canLoad;if(void 0===x||0===x.length)return(0,Y.of)(!0);const j=x.map(q=>{const Ne=fi(q,d);return Lt(function cs(d){return d&&No(d.canLoad)}(Ne)?Ne.canLoad(h,y):d.runInContext(()=>Ne(h,y)))});return(0,Y.of)(j).pipe(lo(),ei())}(h,y,p).pipe((0,Ge.z)(x=>x?this.configLoader.loadChildren(h,y).pipe((0,Mt.b)(j=>{y._loadedRoutes=j.routes,y._loadedInjector=j.injector})):function ki(d){return(0,Se._)(be(!1,3))}())):(0,Y.of)({routes:[],injector:h})}}function Qo(d){const h=d.value.routeConfig;return h&&""===h.path}function xi(d){const h=[],y=new Set;for(const p of d){if(!Qo(p)){h.push(p);continue}const x=h.find(j=>p.value.routeConfig===j.value.routeConfig);void 0!==x?(x.children.push(...p.children),y.add(x)):h.push(p)}for(const p of y){const x=xi(p.children);h.push(new un(p.value,x))}return h.filter(p=>!y.has(p))}function Jo(d){return d.data||{}}function As(d){return d.resolve||{}}function wo(d){return"string"==typeof d.title||null===d.title}function xo(d){return(0,ie.w)(h=>{const y=d(h);return y?(0,I.D)(y).pipe((0,z.U)(()=>h)):(0,Y.of)(h)})}const f=new s.OlP("ROUTES");let T=(()=>{var d;class h{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,s.f3M)(s.Sil)}loadComponent(p){if(this.componentLoaders.get(p))return this.componentLoaders.get(p);if(p._loadedComponent)return(0,Y.of)(p._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(p);const x=Lt(p.loadComponent()).pipe((0,z.U)(b),(0,Mt.b)(q=>{this.onLoadEndListener&&this.onLoadEndListener(p),p._loadedComponent=q}),(0,Qe.x)(()=>{this.componentLoaders.delete(p)})),j=new ut(x,()=>new ke.x).pipe(Ve());return this.componentLoaders.set(p,j),j}loadChildren(p,x){if(this.childrenLoaders.get(x))return this.childrenLoaders.get(x);if(x._loadedRoutes)return(0,Y.of)({routes:x._loadedRoutes,injector:x._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(x);const q=this.loadModuleFactoryOrRoutes(x.loadChildren).pipe((0,z.U)(bt=>{this.onLoadEndListener&&this.onLoadEndListener(x);let tt,Zt;return Array.isArray(bt)?Zt=bt:(tt=bt.create(p).injector,Zt=tt.get(f,[],s.XFs.Self|s.XFs.Optional).flat()),{routes:Zt.map(Ci),injector:tt}}),(0,Qe.x)(()=>{this.childrenLoaders.delete(x)})),Ne=new ut(q,()=>new ke.x).pipe(Ve());return this.childrenLoaders.set(x,Ne),Ne}loadModuleFactoryOrRoutes(p){return Lt(p()).pipe((0,z.U)(b),(0,Ge.z)(x=>x instanceof s.YKP||Array.isArray(x)?(0,Y.of)(x):(0,I.D)(this.compiler.compileModuleAsync(x))))}}return(d=h).\u0275fac=function(p){return new(p||d)},d.\u0275prov=s.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),h})();function b(d){return function se(d){return d&&"object"==typeof d&&"default"in d}(d)?d.default:d}let $=(()=>{var d;class h{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new ke.x,this.transitionAbortSubject=new ke.x,this.configLoader=(0,s.f3M)(T),this.environmentInjector=(0,s.f3M)(s.lqb),this.urlSerializer=(0,s.f3M)(Yt),this.rootContexts=(0,s.f3M)(er),this.inputBindingEnabled=null!==(0,s.f3M)(hr,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,Y.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=j=>this.events.next(new Oo(j)),this.configLoader.onLoadStartListener=j=>this.events.next(new Ji(j))}complete(){this.transitions?.complete()}handleNavigationRequest(p){const x=++this.navigationId;this.transitions?.next({...this.transitions.value,...p,id:x})}setupNavigations(p,x,j){return this.transitions=new Z.X({id:0,currentUrlTree:x,currentRawUrl:x,currentBrowserUrl:x,extractedUrl:p.urlHandlingStrategy.extract(x),urlAfterRedirects:p.urlHandlingStrategy.extract(x),rawUrl:x,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Or,restoredState:null,currentSnapshot:j.snapshot,targetSnapshot:null,currentRouterState:j,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,xe.h)(q=>0!==q.id),(0,z.U)(q=>({...q,extractedUrl:p.urlHandlingStrategy.extract(q.rawUrl)})),(0,ie.w)(q=>{this.currentTransition=q;let Ne=!1,bt=!1;return(0,Y.of)(q).pipe((0,Mt.b)(tt=>{this.currentNavigation={id:tt.id,initialUrl:tt.rawUrl,extractedUrl:tt.extractedUrl,trigger:tt.source,extras:tt.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,ie.w)(tt=>{const Zt=tt.currentBrowserUrl.toString(),Sn=!p.navigated||tt.extractedUrl.toString()!==Zt||Zt!==tt.currentUrlTree.toString();if(!Sn&&"reload"!==(tt.extras.onSameUrlNavigation??p.onSameUrlNavigation)){const Yn="";return this.events.next(new ii(tt.id,this.urlSerializer.serialize(tt.rawUrl),Yn,0)),tt.resolve(null),Ie.E}if(p.urlHandlingStrategy.shouldProcessUrl(tt.rawUrl))return(0,Y.of)(tt).pipe((0,ie.w)(Yn=>{const Mi=this.transitions?.getValue();return this.events.next(new Pr(Yn.id,this.urlSerializer.serialize(Yn.extractedUrl),Yn.source,Yn.restoredState)),Mi!==this.transitions?.getValue()?Ie.E:Promise.resolve(Yn)}),function qo(d,h,y,p,x,j){return(0,Ge.z)(q=>function ho(d,h,y,p,x,j,q="emptyOnly"){return new Is(d,h,y,p,x,q,j).recognize()}(d,h,y,p,q.extractedUrl,x,j).pipe((0,z.U)(({state:Ne,tree:bt})=>({...q,targetSnapshot:Ne,urlAfterRedirects:bt}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,p.config,this.urlSerializer,p.paramsInheritanceStrategy),(0,Mt.b)(Yn=>{q.targetSnapshot=Yn.targetSnapshot,q.urlAfterRedirects=Yn.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:Yn.urlAfterRedirects};const Mi=new yr(Yn.id,this.urlSerializer.serialize(Yn.extractedUrl),this.urlSerializer.serialize(Yn.urlAfterRedirects),Yn.targetSnapshot);this.events.next(Mi)}));if(Sn&&p.urlHandlingStrategy.shouldProcessUrl(tt.currentRawUrl)){const{id:Yn,extractedUrl:Mi,source:ms,restoredState:Gs,extras:Ho}=tt,nl=new Pr(Yn,this.urlSerializer.serialize(Mi),ms,Gs);this.events.next(nl);const rl=Dr(0,this.rootComponentType).snapshot;return this.currentTransition=q={...tt,targetSnapshot:rl,urlAfterRedirects:Mi,extras:{...Ho,skipLocationChange:!1,replaceUrl:!1}},(0,Y.of)(q)}{const Yn="";return this.events.next(new ii(tt.id,this.urlSerializer.serialize(tt.extractedUrl),Yn,1)),tt.resolve(null),Ie.E}}),(0,Mt.b)(tt=>{const Zt=new Tr(tt.id,this.urlSerializer.serialize(tt.extractedUrl),this.urlSerializer.serialize(tt.urlAfterRedirects),tt.targetSnapshot);this.events.next(Zt)}),(0,z.U)(tt=>(this.currentTransition=q={...tt,guards:Fr(tt.targetSnapshot,tt.currentSnapshot,this.rootContexts)},q)),function Ko(d,h){return(0,Ge.z)(y=>{const{targetSnapshot:p,currentSnapshot:x,guards:{canActivateChecks:j,canDeactivateChecks:q}}=y;return 0===q.length&&0===j.length?(0,Y.of)({...y,guardsResult:!0}):function Ts(d,h,y,p){return(0,I.D)(d).pipe((0,Ge.z)(x=>function gi(d,h,y,p,x){const j=h&&h.routeConfig?h.routeConfig.canDeactivate:null;if(!j||0===j.length)return(0,Y.of)(!0);const q=j.map(Ne=>{const bt=kr(h)??x,tt=fi(Ne,bt);return Lt(function xs(d){return d&&No(d.canDeactivate)}(tt)?tt.canDeactivate(d,h,y,p):bt.runInContext(()=>tt(d,h,y,p))).pipe((0,nt.P)())});return(0,Y.of)(q).pipe(lo())}(x.component,x.route,y,h,p)),(0,nt.P)(x=>!0!==x,!0))}(q,p,x,d).pipe((0,Ge.z)(Ne=>Ne&&function ea(d){return"boolean"==typeof d}(Ne)?function Ss(d,h,y,p){return(0,I.D)(h).pipe((0,ht.b)(x=>(0,H.z)(function Fo(d,h){return null!==d&&h&&h(new yo(d)),(0,Y.of)(!0)}(x.route.parent,p),function $s(d,h){return null!==d&&h&&h(new Oi(d)),(0,Y.of)(!0)}(x.route,p),function Ms(d,h,y){const p=h[h.length-1],j=h.slice(0,h.length-1).reverse().map(q=>function ls(d){const h=d.routeConfig?d.routeConfig.canActivateChild:null;return h&&0!==h.length?{node:d,guards:h}:null}(q)).filter(q=>null!==q).map(q=>(0,J.P)(()=>{const Ne=q.guards.map(bt=>{const tt=kr(q.node)??y,Zt=fi(bt,tt);return Lt(function ws(d){return d&&No(d.canActivateChild)}(Zt)?Zt.canActivateChild(p,d):tt.runInContext(()=>Zt(p,d))).pipe((0,nt.P)())});return(0,Y.of)(Ne).pipe(lo())}));return(0,Y.of)(j).pipe(lo())}(d,x.path,y),function Yo(d,h,y){const p=h.routeConfig?h.routeConfig.canActivate:null;if(!p||0===p.length)return(0,Y.of)(!0);const x=p.map(j=>(0,J.P)(()=>{const q=kr(h)??y,Ne=fi(j,q);return Lt(function us(d){return d&&No(d.canActivate)}(Ne)?Ne.canActivate(h,d):q.runInContext(()=>Ne(h,d))).pipe((0,nt.P)())}));return(0,Y.of)(x).pipe(lo())}(d,x.route,y))),(0,nt.P)(x=>!0!==x,!0))}(p,j,d,h):(0,Y.of)(Ne)),(0,z.U)(Ne=>({...y,guardsResult:Ne})))})}(this.environmentInjector,tt=>this.events.next(tt)),(0,Mt.b)(tt=>{if(q.guardsResult=tt.guardsResult,le(tt.guardsResult))throw Me(0,tt.guardsResult);const Zt=new Ai(tt.id,this.urlSerializer.serialize(tt.extractedUrl),this.urlSerializer.serialize(tt.urlAfterRedirects),tt.targetSnapshot,!!tt.guardsResult);this.events.next(Zt)}),(0,xe.h)(tt=>!!tt.guardsResult||(this.cancelNavigationTransition(tt,"",3),!1)),xo(tt=>{if(tt.guards.canActivateChecks.length)return(0,Y.of)(tt).pipe((0,Mt.b)(Zt=>{const Sn=new ji(Zt.id,this.urlSerializer.serialize(Zt.extractedUrl),this.urlSerializer.serialize(Zt.urlAfterRedirects),Zt.targetSnapshot);this.events.next(Sn)}),(0,ie.w)(Zt=>{let Sn=!1;return(0,Y.of)(Zt).pipe(function Xo(d,h){return(0,Ge.z)(y=>{const{targetSnapshot:p,guards:{canActivateChecks:x}}=y;if(!x.length)return(0,Y.of)(y);let j=0;return(0,I.D)(x).pipe((0,ht.b)(q=>function Co(d,h,y,p){const x=d.routeConfig,j=d._resolve;return void 0!==x?.title&&!wo(x)&&(j[qe]=x.title),function es(d,h,y,p){const x=function Zr(d){return[...Object.keys(d),...Object.getOwnPropertySymbols(d)]}(d);if(0===x.length)return(0,Y.of)({});const j={};return(0,I.D)(x).pipe((0,Ge.z)(q=>function Vs(d,h,y,p){const x=kr(h)??p,j=fi(d,x);return Lt(j.resolve?j.resolve(h,y):x.runInContext(()=>j(h,y)))}(d[q],h,y,p).pipe((0,nt.P)(),(0,Mt.b)(Ne=>{j[q]=Ne}))),gn(1),function Ye(d){return(0,z.U)(()=>d)}(j),(0,Pt.K)(q=>Wo(q)?Ie.E:(0,Se._)(q)))}(j,d,h,p).pipe((0,z.U)(q=>(d._resolvedData=q,d.data=Po(d,y).resolve,x&&wo(x)&&(d.data[qe]=x.title),null)))}(q.route,p,d,h)),(0,Mt.b)(()=>j++),gn(1),(0,Ge.z)(q=>j===x.length?(0,Y.of)(y):Ie.E))})}(p.paramsInheritanceStrategy,this.environmentInjector),(0,Mt.b)({next:()=>Sn=!0,complete:()=>{Sn||this.cancelNavigationTransition(Zt,"",2)}}))}),(0,Mt.b)(Zt=>{const Sn=new zo(Zt.id,this.urlSerializer.serialize(Zt.extractedUrl),this.urlSerializer.serialize(Zt.urlAfterRedirects),Zt.targetSnapshot);this.events.next(Sn)}))}),xo(tt=>{const Zt=Sn=>{const Ur=[];Sn.routeConfig?.loadComponent&&!Sn.routeConfig._loadedComponent&&Ur.push(this.configLoader.loadComponent(Sn.routeConfig).pipe((0,Mt.b)(Yn=>{Sn.component=Yn}),(0,z.U)(()=>{})));for(const Yn of Sn.children)Ur.push(...Zt(Yn));return Ur};return(0,re.a)(Zt(tt.targetSnapshot.root)).pipe((0,$t.d)(),(0,ue.q)(1))}),xo(()=>this.afterPreactivation()),(0,z.U)(tt=>{const Zt=function lr(d,h,y){const p=Wr(d,h._root,y?y._root:void 0);return new wr(p,h)}(p.routeReuseStrategy,tt.targetSnapshot,tt.currentRouterState);return this.currentTransition=q={...tt,targetRouterState:Zt},q}),(0,Mt.b)(()=>{this.events.next(new pi)}),((d,h,y,p)=>(0,z.U)(x=>(new En(h,x.targetRouterState,x.currentRouterState,y,p).activate(d),x)))(this.rootContexts,p.routeReuseStrategy,tt=>this.events.next(tt),this.inputBindingEnabled),(0,ue.q)(1),(0,Mt.b)({next:tt=>{Ne=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Mr(tt.id,this.urlSerializer.serialize(tt.extractedUrl),this.urlSerializer.serialize(tt.urlAfterRedirects))),p.titleStrategy?.updateTitle(tt.targetRouterState.snapshot),tt.resolve(!0)},complete:()=>{Ne=!0}}),(0,lt.R)(this.transitionAbortSubject.pipe((0,Mt.b)(tt=>{throw tt}))),(0,Qe.x)(()=>{Ne||bt||this.cancelNavigationTransition(q,"",1),this.currentNavigation?.id===q.id&&(this.currentNavigation=null)}),(0,Pt.K)(tt=>{if(bt=!0,ot(tt))this.events.next(new Rr(q.id,this.urlSerializer.serialize(q.extractedUrl),tt.message,tt.cancellationCode)),function Re(d){return ot(d)&&le(d.url)}(tt)?this.events.next(new Eo(tt.url)):q.resolve(!1);else{this.events.next(new Xr(q.id,this.urlSerializer.serialize(q.extractedUrl),tt,q.targetSnapshot??void 0));try{q.resolve(p.errorHandler(tt))}catch(Zt){q.reject(Zt)}}return Ie.E}))}))}cancelNavigationTransition(p,x,j){const q=new Rr(p.id,this.urlSerializer.serialize(p.extractedUrl),x,j);this.events.next(q),p.resolve(!1)}}return(d=h).\u0275fac=function(p){return new(p||d)},d.\u0275prov=s.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),h})();function de(d){return d!==Or}let et=(()=>{var d;class h{buildTitle(p){let x,j=p.root;for(;void 0!==j;)x=this.getResolvedTitleForRoute(j)??x,j=j.children.find(q=>q.outlet===ve);return x}getResolvedTitleForRoute(p){return p.data[qe]}}return(d=h).\u0275fac=function(p){return new(p||d)},d.\u0275prov=s.Yz7({token:d,factory:function(){return(0,s.f3M)(_t)},providedIn:"root"}),h})(),_t=(()=>{var d;class h extends et{constructor(p){super(),this.title=p}updateTitle(p){const x=this.buildTitle(p);void 0!==x&&this.title.setTitle(x)}}return(d=h).\u0275fac=function(p){return new(p||d)(s.LFG(At.Dx))},d.\u0275prov=s.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),h})(),hn=(()=>{var d;class h{}return(d=h).\u0275fac=function(p){return new(p||d)},d.\u0275prov=s.Yz7({token:d,factory:function(){return(0,s.f3M)(Bn)},providedIn:"root"}),h})();class Vn{shouldDetach(h){return!1}store(h,y){}shouldAttach(h){return!1}retrieve(h){return null}shouldReuseRoute(h,y){return h.routeConfig===y.routeConfig}}let Bn=(()=>{var d;class h extends Vn{}return(d=h).\u0275fac=function(){let y;return function(x){return(y||(y=s.n5z(d)))(x||d)}}(),d.\u0275prov=s.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),h})();const pn=new s.OlP("",{providedIn:"root",factory:()=>({})});let cr=(()=>{var d;class h{}return(d=h).\u0275fac=function(p){return new(p||d)},d.\u0275prov=s.Yz7({token:d,factory:function(){return(0,s.f3M)(qn)},providedIn:"root"}),h})(),qn=(()=>{var d;class h{shouldProcessUrl(p){return!0}extract(p){return p}merge(p,x){return p}}return(d=h).\u0275fac=function(p){return new(p||d)},d.\u0275prov=s.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),h})();var mr=function(d){return d[d.COMPLETE=0]="COMPLETE",d[d.FAILED=1]="FAILED",d[d.REDIRECTING=2]="REDIRECTING",d}(mr||{});function vi(d,h){d.events.pipe((0,xe.h)(y=>y instanceof Mr||y instanceof Rr||y instanceof Xr||y instanceof ii),(0,z.U)(y=>y instanceof Mr||y instanceof ii?mr.COMPLETE:y instanceof Rr&&(0===y.code||1===y.code)?mr.REDIRECTING:mr.FAILED),(0,xe.h)(y=>y!==mr.REDIRECTING),(0,ue.q)(1)).subscribe(()=>{h()})}function Ti(d){throw d}function Si(d,h,y){return h.parse("/")}const yi={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Lr={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let xr=(()=>{var d;class h{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.location.getState()?.\u0275routerPageId??this.currentPageId}get events(){return this._events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=(0,s.f3M)(s.c2e),this.isNgZoneEnabled=!1,this._events=new ke.x,this.options=(0,s.f3M)(pn,{optional:!0})||{},this.pendingTasks=(0,s.f3M)(s.HDt),this.errorHandler=this.options.errorHandler||Ti,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||Si,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=(0,s.f3M)(cr),this.routeReuseStrategy=(0,s.f3M)(hn),this.titleStrategy=(0,s.f3M)(et),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=(0,s.f3M)(f,{optional:!0})?.flat()??[],this.navigationTransitions=(0,s.f3M)($),this.urlSerializer=(0,s.f3M)(Yt),this.location=(0,s.f3M)(G.Ye),this.componentInputBindingEnabled=!!(0,s.f3M)(hr,{optional:!0}),this.eventsSubscription=new Ke.w0,this.isNgZoneEnabled=(0,s.f3M)(s.R0b)instanceof s.R0b&&s.R0b.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new rn,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=Dr(0,null),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe(p=>{this.lastSuccessfulId=p.id,this.currentPageId=this.browserPageId},p=>{this.console.warn(`Unhandled Navigation Error: ${p}`)}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const p=this.navigationTransitions.events.subscribe(x=>{try{const{currentTransition:j}=this.navigationTransitions;if(null===j)return void(Xn(x)&&this._events.next(x));if(x instanceof Pr)de(j.source)&&(this.browserUrlTree=j.extractedUrl);else if(x instanceof ii)this.rawUrlTree=j.rawUrl;else if(x instanceof yr){if("eager"===this.urlUpdateStrategy){if(!j.extras.skipLocationChange){const q=this.urlHandlingStrategy.merge(j.urlAfterRedirects,j.rawUrl);this.setBrowserUrl(q,j)}this.browserUrlTree=j.urlAfterRedirects}}else if(x instanceof pi)this.currentUrlTree=j.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(j.urlAfterRedirects,j.rawUrl),this.routerState=j.targetRouterState,"deferred"===this.urlUpdateStrategy&&(j.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,j),this.browserUrlTree=j.urlAfterRedirects);else if(x instanceof Rr)0!==x.code&&1!==x.code&&(this.navigated=!0),(3===x.code||2===x.code)&&this.restoreHistory(j);else if(x instanceof Eo){const q=this.urlHandlingStrategy.merge(x.url,j.currentRawUrl),Ne={skipLocationChange:j.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||de(j.source)};this.scheduleNavigation(q,Or,null,Ne,{resolve:j.resolve,reject:j.reject,promise:j.promise})}x instanceof Xr&&this.restoreHistory(j,!0),x instanceof Mr&&(this.navigated=!0),Xn(x)&&this._events.next(x)}catch(j){this.navigationTransitions.transitionAbortSubject.next(j)}});this.eventsSubscription.add(p)}resetRootComponentType(p){this.routerState.root.component=p,this.navigationTransitions.rootComponentType=p}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const p=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),Or,p)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(p=>{const x="popstate"===p.type?"popstate":"hashchange";"popstate"===x&&setTimeout(()=>{this.navigateToSyncWithBrowser(p.url,x,p.state)},0)}))}navigateToSyncWithBrowser(p,x,j){const q={replaceUrl:!0},Ne=j?.navigationId?j:null;if(j){const tt={...j};delete tt.navigationId,delete tt.\u0275routerPageId,0!==Object.keys(tt).length&&(q.state=tt)}const bt=this.parseUrl(p);this.scheduleNavigation(bt,x,Ne,q)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(p){this.config=p.map(Ci),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,this.eventsSubscription.unsubscribe()}createUrlTree(p,x={}){const{relativeTo:j,queryParams:q,fragment:Ne,queryParamsHandling:bt,preserveFragment:tt}=x,Zt=tt?this.currentUrlTree.fragment:Ne;let Ur,Sn=null;switch(bt){case"merge":Sn={...this.currentUrlTree.queryParams,...q};break;case"preserve":Sn=this.currentUrlTree.queryParams;break;default:Sn=q||null}null!==Sn&&(Sn=this.removeEmptyProps(Sn));try{Ur=oe(j?j.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof p[0]||!p[0].startsWith("/"))&&(p=[]),Ur=this.currentUrlTree.root}return ee(Ur,p,Sn,Zt??null)}navigateByUrl(p,x={skipLocationChange:!1}){const j=le(p)?p:this.parseUrl(p),q=this.urlHandlingStrategy.merge(j,this.rawUrlTree);return this.scheduleNavigation(q,Or,null,x)}navigate(p,x={skipLocationChange:!1}){return function no(d){for(let h=0;h<d.length;h++)if(null==d[h])throw new s.vHH(4008,!1)}(p),this.navigateByUrl(this.createUrlTree(p,x),x)}serializeUrl(p){return this.urlSerializer.serialize(p)}parseUrl(p){let x;try{x=this.urlSerializer.parse(p)}catch(j){x=this.malformedUriErrorHandler(j,this.urlSerializer,p)}return x}isActive(p,x){let j;if(j=!0===x?{...yi}:!1===x?{...Lr}:x,le(p))return Ct(this.currentUrlTree,p,j);const q=this.parseUrl(p);return Ct(this.currentUrlTree,q,j)}removeEmptyProps(p){return Object.keys(p).reduce((x,j)=>{const q=p[j];return null!=q&&(x[j]=q),x},{})}scheduleNavigation(p,x,j,q,Ne){if(this.disposed)return Promise.resolve(!1);let bt,tt,Zt;Ne?(bt=Ne.resolve,tt=Ne.reject,Zt=Ne.promise):Zt=new Promise((Ur,Yn)=>{bt=Ur,tt=Yn});const Sn=this.pendingTasks.add();return vi(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(Sn))}),this.navigationTransitions.handleNavigationRequest({source:x,restoredState:j,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,currentBrowserUrl:this.browserUrlTree,rawUrl:p,extras:q,resolve:bt,reject:tt,promise:Zt,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Zt.catch(Ur=>Promise.reject(Ur))}setBrowserUrl(p,x){const j=this.urlSerializer.serialize(p);if(this.location.isCurrentPathEqualTo(j)||x.extras.replaceUrl){const Ne={...x.extras.state,...this.generateNgRouterState(x.id,this.browserPageId)};this.location.replaceState(j,"",Ne)}else{const q={...x.extras.state,...this.generateNgRouterState(x.id,this.browserPageId+1)};this.location.go(j,"",q)}}restoreHistory(p,x=!1){if("computed"===this.canceledNavigationResolution){const q=this.currentPageId-this.browserPageId;0!==q?this.location.historyGo(q):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===q&&(this.resetState(p),this.browserUrlTree=p.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(x&&this.resetState(p),this.resetUrlToCurrentUrlTree())}resetState(p){this.routerState=p.currentRouterState,this.currentUrlTree=p.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,p.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(p,x){return"computed"===this.canceledNavigationResolution?{navigationId:p,\u0275routerPageId:x}:{navigationId:p}}}return(d=h).\u0275fac=function(p){return new(p||d)},d.\u0275prov=s.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),h})();function Xn(d){return!(d instanceof pi||d instanceof Eo)}let Uo=(()=>{var d;class h{constructor(p,x,j,q,Ne,bt){this.router=p,this.route=x,this.tabIndexAttribute=j,this.renderer=q,this.el=Ne,this.locationStrategy=bt,this.href=null,this.commands=null,this.onChanges=new ke.x,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const tt=Ne.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===tt||"area"===tt,this.isAnchorElement?this.subscription=p.events.subscribe(Zt=>{Zt instanceof Mr&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(p){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",p)}ngOnChanges(p){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(p){null!=p?(this.commands=Array.isArray(p)?p:[p],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(p,x,j,q,Ne){return!!(null===this.urlTree||this.isAnchorElement&&(0!==p||x||j||q||Ne||"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 p=null===this.href?null:(0,s.P3R)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",p)}applyAttributeValue(p,x){const j=this.renderer,q=this.el.nativeElement;null!==x?j.setAttribute(q,p,x):j.removeAttribute(q,p)}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=h).\u0275fac=function(p){return new(p||d)(s.Y36(xr),s.Y36(Hi),s.$8M("tabindex"),s.Y36(s.Qsj),s.Y36(s.SBq),s.Y36(G.S$))},d.\u0275dir=s.lG2({type:d,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(p,x){1&p&&s.NdJ("click",function(q){return x.onClick(q.button,q.ctrlKey,q.shiftKey,q.altKey,q.metaKey)}),2&p&&s.uIk("target",x.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",s.VuI],skipLocationChange:["skipLocationChange","skipLocationChange",s.VuI],replaceUrl:["replaceUrl","replaceUrl",s.VuI],routerLink:"routerLink"},standalone:!0,features:[s.Xq5,s.TTD]}),h})(),ts=(()=>{var d;class h{get isActive(){return this._isActive}constructor(p,x,j,q,Ne){this.router=p,this.element=x,this.renderer=j,this.cdr=q,this.link=Ne,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new s.vpe,this.routerEventsSubscription=p.events.subscribe(bt=>{bt instanceof Mr&&this.update()})}ngAfterContentInit(){(0,Y.of)(this.links.changes,(0,Y.of)(null)).pipe((0,dt.J)()).subscribe(p=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const p=[...this.links.toArray(),this.link].filter(x=>!!x).map(x=>x.onChanges);this.linkInputChangesSubscription=(0,I.D)(p).pipe((0,dt.J)()).subscribe(x=>{this._isActive!==this.isLinkActive(this.router)(x)&&this.update()})}set routerLinkActive(p){const x=Array.isArray(p)?p:p.split(" ");this.classes=x.filter(j=>!!j)}ngOnChanges(p){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const p=this.hasActiveLinks();this._isActive!==p&&(this._isActive=p,this.cdr.markForCheck(),this.classes.forEach(x=>{p?this.renderer.addClass(this.element.nativeElement,x):this.renderer.removeClass(this.element.nativeElement,x)}),p&&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(p))})}isLinkActive(p){const x=function ci(d){return!!d.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return j=>!!j.urlTree&&p.isActive(j.urlTree,x)}hasActiveLinks(){const p=this.isLinkActive(this.router);return this.link&&p(this.link)||this.links.some(p)}}return(d=h).\u0275fac=function(p){return new(p||d)(s.Y36(xr),s.Y36(s.SBq),s.Y36(s.Qsj),s.Y36(s.sBO),s.Y36(Uo,8))},d.\u0275dir=s.lG2({type:d,selectors:[["","routerLinkActive",""]],contentQueries:function(p,x,j){if(1&p&&s.Suo(j,Uo,5),2&p){let q;s.iGM(q=s.CRH())&&(x.links=q)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[s.TTD]}),h})();class Os{}let bi=(()=>{var d;class h{constructor(p,x,j,q,Ne){this.router=p,this.injector=j,this.preloadingStrategy=q,this.loader=Ne}setUpPreloading(){this.subscription=this.router.events.pipe((0,xe.h)(p=>p instanceof Mr),(0,ht.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(p,x){const j=[];for(const q of x){q.providers&&!q._injector&&(q._injector=(0,s.MMx)(q.providers,p,`Route: ${q.path}`));const Ne=q._injector??p,bt=q._loadedInjector??Ne;(q.loadChildren&&!q._loadedRoutes&&void 0===q.canLoad||q.loadComponent&&!q._loadedComponent)&&j.push(this.preloadConfig(Ne,q)),(q.children||q._loadedRoutes)&&j.push(this.processRoutes(bt,q.children??q._loadedRoutes))}return(0,I.D)(j).pipe((0,dt.J)())}preloadConfig(p,x){return this.preloadingStrategy.preload(x,()=>{let j;j=x.loadChildren&&void 0===x.canLoad?this.loader.loadChildren(p,x):(0,Y.of)(null);const q=j.pipe((0,Ge.z)(Ne=>null===Ne?(0,Y.of)(void 0):(x._loadedRoutes=Ne.routes,x._loadedInjector=Ne.injector,this.processRoutes(Ne.injector??p,Ne.routes))));if(x.loadComponent&&!x._loadedComponent){const Ne=this.loader.loadComponent(x);return(0,I.D)([q,Ne]).pipe((0,dt.J)())}return q})}}return(d=h).\u0275fac=function(p){return new(p||d)(s.LFG(xr),s.LFG(s.Sil),s.LFG(s.lqb),s.LFG(Os),s.LFG(T))},d.\u0275prov=s.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),h})();const Ps=new s.OlP("");let C=(()=>{var d;class h{constructor(p,x,j,q,Ne={}){this.urlSerializer=p,this.transitions=x,this.viewportScroller=j,this.zone=q,this.options=Ne,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},Ne.scrollPositionRestoration=Ne.scrollPositionRestoration||"disabled",Ne.anchorScrolling=Ne.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(p=>{p instanceof Pr?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=p.navigationTrigger,this.restoredId=p.restoredState?p.restoredState.navigationId:0):p instanceof Mr?(this.lastId=p.id,this.scheduleScrollEvent(p,this.urlSerializer.parse(p.urlAfterRedirects).fragment)):p instanceof ii&&0===p.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(p,this.urlSerializer.parse(p.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(p=>{p instanceof oi&&(p.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(p.position):p.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(p.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(p,x){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new oi(p,"popstate"===this.lastSource?this.store[this.restoredId]:null,x))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return(d=h).\u0275fac=function(p){s.$Z()},d.\u0275prov=s.Yz7({token:d,factory:d.\u0275fac}),h})();function g(d,h){return{\u0275kind:d,\u0275providers:h}}function ze(){const d=(0,s.f3M)(s.zs3);return h=>{const y=d.get(s.z2F);if(h!==y.components[0])return;const p=d.get(xr),x=d.get(Fe);1===d.get(Ft)&&p.initialNavigation(),d.get(Wt,null,s.XFs.Optional)?.setUpPreloading(),d.get(Ps,null,s.XFs.Optional)?.init(),p.resetRootComponentType(y.componentTypes[0]),x.closed||(x.next(),x.complete(),x.unsubscribe())}}const Fe=new s.OlP("",{factory:()=>new ke.x}),Ft=new s.OlP("",{providedIn:"root",factory:()=>1}),Wt=new s.OlP("");function ln(d){return g(0,[{provide:Wt,useExisting:bi},{provide:Os,useExisting:d}])}const po=new s.OlP("ROUTER_FORROOT_GUARD"),ct=[G.Ye,{provide:Yt,useClass:or},xr,er,{provide:Hi,useFactory:function c(d){return d.routerState.root},deps:[xr]},T,[]];function an(){return new s.PXZ("Router",xr)}let Gi=(()=>{var d;class h{constructor(p){}static forRoot(p,x){return{ngModule:h,providers:[ct,[],{provide:f,multi:!0,useValue:p},{provide:po,useFactory:ur,deps:[[xr,new s.FiY,new s.tp0]]},{provide:pn,useValue:x||{}},x?.useHash?{provide:G.S$,useClass:G.Do}:{provide:G.S$,useClass:G.b0},{provide:Ps,useFactory:()=>{const d=(0,s.f3M)(G.EM),h=(0,s.f3M)(s.R0b),y=(0,s.f3M)(pn),p=(0,s.f3M)($),x=(0,s.f3M)(Yt);return y.scrollOffset&&d.setOffset(y.scrollOffset),new C(x,p,d,h,y)}},x?.preloadingStrategy?ln(x.preloadingStrategy).\u0275providers:[],{provide:s.PXZ,multi:!0,useFactory:an},x?.initialNavigation?ri(x):[],x?.bindToComponentInputs?g(8,[Ri,{provide:hr,useExisting:Ri}]).\u0275providers:[],[{provide:jr,useFactory:ze},{provide:s.tb,multi:!0,useExisting:jr}]]}}static forChild(p){return{ngModule:h,providers:[{provide:f,multi:!0,useValue:p}]}}}return(d=h).\u0275fac=function(p){return new(p||d)(s.LFG(po,8))},d.\u0275mod=s.oAB({type:d}),d.\u0275inj=s.cJS({}),h})();function ur(d){return"guarded"}function ri(d){return["disabled"===d.initialNavigation?g(3,[{provide:s.ip1,multi:!0,useFactory:()=>{const h=(0,s.f3M)(xr);return()=>{h.setUpLocationChangeListener()}}},{provide:Ft,useValue:2}]).\u0275providers:[],"enabledBlocking"===d.initialNavigation?g(2,[{provide:Ft,useValue:0},{provide:s.ip1,multi:!0,deps:[s.zs3],useFactory:h=>{const y=h.get(G.V_,Promise.resolve());return()=>y.then(()=>new Promise(p=>{const x=h.get(xr),j=h.get(Fe);vi(x,()=>{p(!0)}),h.get($).afterPreactivation=()=>(p(!0),j.closed?(0,Y.of)(void 0):j),x.initialNavigation()}))}}]).\u0275providers:[]]}const jr=new s.OlP("")},3106:(ft,De,v)=>{v.d(De,{Z:()=>Ke});var s=v(9058),m=v(4537),W=v(534),U=v(7879);class I{constructor(Je,Ve){this._delegate=Je,this.firebase=Ve,(0,W._addComponent)(Je,new m.wA("app-compat",()=>this,"PUBLIC")),this.container=Je.container}get automaticDataCollectionEnabled(){return this._delegate.automaticDataCollectionEnabled}set automaticDataCollectionEnabled(Je){this._delegate.automaticDataCollectionEnabled=Je}get name(){return this._delegate.name}get options(){return this._delegate.options}delete(){return new Promise(Je=>{this._delegate.checkDestroyed(),Je()}).then(()=>(this.firebase.INTERNAL.removeApp(this.name),(0,W.deleteApp)(this._delegate)))}_getService(Je,Ve=W._DEFAULT_ENTRY_NAME){var ut;this._delegate.checkDestroyed();const ke=this._delegate.container.getProvider(Je);return!ke.isInitialized()&&"EXPLICIT"===(null===(ut=ke.getComponent())||void 0===ut?void 0:ut.instantiationMode)&&ke.initialize(),ke.getImmediate({identifier:Ve})}_removeServiceInstance(Je,Ve=W._DEFAULT_ENTRY_NAME){this._delegate.container.getProvider(Je).clearInstance(Ve)}_addComponent(Je){(0,W._addComponent)(this._delegate,Je)}_addOrOverwriteComponent(Je){(0,W._addOrOverwriteComponent)(this._delegate,Je)}toJSON(){return{name:this.name,automaticDataCollectionEnabled:this.automaticDataCollectionEnabled,options:this.options}}}const Z=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."}),H=function te(){const we=function re(we){const Je={},Ve={__esModule:!0,initializeApp:function G(ge,xe={}){const Ge=W.initializeApp(ge,xe);if((0,s.r3)(Je,Ge.name))return Je[Ge.name];const nt=new we(Ge,Ve);return Je[Ge.name]=nt,nt},app:ke,registerVersion:W.registerVersion,setLogLevel:W.setLogLevel,onLog:W.onLog,apps:null,SDK_VERSION:W.SDK_VERSION,INTERNAL:{registerComponent:function ie(ge){const xe=ge.name,Ge=xe.replace("-compat","");if(W._registerComponent(ge)&&"PUBLIC"===ge.type){const nt=(ht=ke())=>{if("function"!=typeof ht[Ge])throw Z.create("invalid-app-argument",{appName:xe});return ht[Ge]()};void 0!==ge.serviceProps&&(0,s.ZB)(nt,ge.serviceProps),Ve[Ge]=nt,we.prototype[Ge]=function(...ht){return this._getService.bind(this,xe).apply(this,ge.multipleInstances?ht:[])}}return"PUBLIC"===ge.type?Ve[Ge]:null},removeApp:function ut(ge){delete Je[ge]},useAsService:function ue(ge,xe){return"serverAuth"===xe?null:xe},modularAPIs:W}};function ke(ge){if(!(0,s.r3)(Je,ge=ge||W._DEFAULT_ENTRY_NAME))throw Z.create("no-app",{appName:ge});return Je[ge]}return Ve.default=Ve,Object.defineProperty(Ve,"apps",{get:function z(){return Object.keys(Je).map(ge=>Je[ge])}}),ke.App=we,Ve}(I);return we.INTERNAL=Object.assign(Object.assign({},we.INTERNAL),{createFirebaseNamespace:te,extendNamespace:function Je(Ve){(0,s.ZB)(we,Ve)},createSubscribe:s.ne,ErrorFactory:s.LL,deepExtend:s.ZB}),we}(),J=new U.Yd("@firebase/app-compat");if((0,s.jU)()&&void 0!==self.firebase){J.warn("\n Warning: Firebase is already defined in the global scope. Please make sure\n Firebase library is only loaded once.\n ");const we=self.firebase.SDK_VERSION;we&&we.indexOf("LITE")>=0&&J.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 Ke=H;!function Ie(we){(0,W.registerVersion)("@firebase/app-compat","0.2.13",we)}()},534:(ft,De,v)=>{v.r(De),v.d(De,{FirebaseError:()=>U.ZR,SDK_VERSION:()=>Ze,_DEFAULT_ENTRY_NAME:()=>rn,_addComponent:()=>_n,_addOrOverwriteComponent:()=>Fn,_apps:()=>Tn,_clearComponents:()=>Qn,_components:()=>cn,_getProvider:()=>or,_registerComponent:()=>Yt,_removeServiceInstance:()=>on,deleteApp:()=>st,getApp:()=>yt,getApps:()=>We,initializeApp:()=>Dt,onLog:()=>en,registerVersion:()=>Ut,setLogLevel:()=>Jn});var s=v(5861),m=v(4537),W=v(7879),U=v(9058);const I=(X,ce)=>ce.some(Ce=>X instanceof Ce);let Y,Z;const H=new WeakMap,J=new WeakMap,fe=new WeakMap,Se=new WeakMap,Ie=new WeakMap;let Je={get(X,ce,Ce){if(X instanceof IDBTransaction){if("done"===ce)return J.get(X);if("objectStoreNames"===ce)return X.objectStoreNames||fe.get(X);if("store"===ce)return Ce.objectStoreNames[1]?void 0:Ce.objectStore(Ce.objectStoreNames[0])}return G(X[ce])},set:(X,ce,Ce)=>(X[ce]=Ce,!0),has:(X,ce)=>X instanceof IDBTransaction&&("done"===ce||"store"===ce)||ce in X};function ke(X){return"function"==typeof X?function ut(X){return X!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?function te(){return Z||(Z=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}().includes(X)?function(...ce){return X.apply(z(this),ce),G(H.get(this))}:function(...ce){return G(X.apply(z(this),ce))}:function(ce,...Ce){const rt=X.call(z(this),ce,...Ce);return fe.set(rt,ce.sort?ce.sort():[ce]),G(rt)}}(X):(X instanceof IDBTransaction&&function we(X){if(J.has(X))return;const ce=new Promise((Ce,rt)=>{const Xe=()=>{X.removeEventListener("complete",wt),X.removeEventListener("error",Ot),X.removeEventListener("abort",Ot)},wt=()=>{Ce(),Xe()},Ot=()=>{rt(X.error||new DOMException("AbortError","AbortError")),Xe()};X.addEventListener("complete",wt),X.addEventListener("error",Ot),X.addEventListener("abort",Ot)});J.set(X,ce)}(X),I(X,function re(){return Y||(Y=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}())?new Proxy(X,Je):X)}function G(X){if(X instanceof IDBRequest)return function Ke(X){const ce=new Promise((Ce,rt)=>{const Xe=()=>{X.removeEventListener("success",wt),X.removeEventListener("error",Ot)},wt=()=>{Ce(G(X.result)),Xe()},Ot=()=>{rt(X.error),Xe()};X.addEventListener("success",wt),X.addEventListener("error",Ot)});return ce.then(Ce=>{Ce instanceof IDBCursor&&H.set(Ce,X)}).catch(()=>{}),Ie.set(ce,X),ce}(X);if(Se.has(X))return Se.get(X);const ce=ke(X);return ce!==X&&(Se.set(X,ce),Ie.set(ce,X)),ce}const z=X=>Ie.get(X),ge=["get","getKey","getAll","getAllKeys","count"],xe=["put","add","delete","clear"],Ge=new Map;function nt(X,ce){var Ce;if(!(X instanceof IDBDatabase)||ce in X||"string"!=typeof ce)return;if(Ge.get(ce))return Ge.get(ce);const rt=ce.replace(/FromIndex$/,""),Xe=ce!==rt,wt=xe.includes(rt);if(!(rt in(Xe?IDBIndex:IDBObjectStore).prototype)||!wt&&!ge.includes(rt))return;const Ot=function(zn){return(Ce=Ce||(0,s.Z)(function*(Rn,...sr){const Vr=this.transaction(Rn,wt?"readwrite":"readonly");let Ar=Vr.store;return Xe&&(Ar=Ar.index(sr.shift())),(yield Promise.all([Ar[rt](...sr),wt&&Vr.done]))[0]})).apply(this,arguments)};return Ge.set(ce,Ot),Ot}var ht,Mt,Pt;!function Ve(X){Je=X(Je)}(X=>({...X,get:(ce,Ce,rt)=>nt(ce,Ce)||X.get(ce,Ce,rt),has:(ce,Ce)=>!!nt(ce,Ce)||X.has(ce,Ce)}));class Gt{constructor(ce){this.container=ce}getPlatformInfoString(){return this.container.getProviders().map(Ce=>{if(function $t(X){const ce=X.getComponent();return"VERSION"===ce?.type}(Ce)){const rt=Ce.getImmediate();return`${rt.library}/${rt.version}`}return null}).filter(Ce=>Ce).join(" ")}}const gn="@firebase/app",Ue=new W.Yd("@firebase/app"),rn="[DEFAULT]",Xt={[gn]:"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"},Tn=new Map,cn=new Map;function _n(X,ce){try{X.container.addComponent(ce)}catch(Ce){Ue.debug(`Component ${ce.name} failed to register with FirebaseApp ${X.name}`,Ce)}}function Fn(X,ce){X.container.addOrOverwriteComponent(ce)}function Yt(X){const ce=X.name;if(cn.has(ce))return Ue.debug(`There were multiple attempts to register component ${ce}.`),!1;cn.set(ce,X);for(const Ce of Tn.values())_n(Ce,X);return!0}function or(X,ce){const Ce=X.container.getProvider("heartbeat").getImmediate({optional:!0});return Ce&&Ce.triggerHeartbeat(),X.container.getProvider(ce)}function on(X,ce,Ce=rn){or(X,ce).clearInstance(Ce)}function Qn(){cn.clear()}const In=new U.LL("app","Firebase",{"no-app":"No Firebase App '{$appName}' has been created - call initializeApp() first","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 dr{constructor(ce,Ce,rt){this._isDeleted=!1,this._options=Object.assign({},ce),this._config=Object.assign({},Ce),this._name=Ce.name,this._automaticDataCollectionEnabled=Ce.automaticDataCollectionEnabled,this._container=rt,this.container.addComponent(new m.wA("app",()=>this,"PUBLIC"))}get automaticDataCollectionEnabled(){return this.checkDestroyed(),this._automaticDataCollectionEnabled}set automaticDataCollectionEnabled(ce){this.checkDestroyed(),this._automaticDataCollectionEnabled=ce}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(ce){this._isDeleted=ce}checkDestroyed(){if(this.isDeleted)throw In.create("app-deleted",{appName:this._name})}}const Ze="9.23.0";function Dt(X,ce={}){let Ce=X;"object"!=typeof ce&&(ce={name:ce});const rt=Object.assign({name:rn,automaticDataCollectionEnabled:!1},ce),Xe=rt.name;if("string"!=typeof Xe||!Xe)throw In.create("bad-app-name",{appName:String(Xe)});if(Ce||(Ce=(0,U.aH)()),!Ce)throw In.create("no-options");const wt=Tn.get(Xe);if(wt){if((0,U.vZ)(Ce,wt.options)&&(0,U.vZ)(rt,wt.config))return wt;throw In.create("duplicate-app",{appName:Xe})}const Ot=new m.H0(Xe);for(const zn of cn.values())Ot.addComponent(zn);const Pn=new dr(Ce,rt,Ot);return Tn.set(Xe,Pn),Pn}function yt(X=rn){const ce=Tn.get(X);if(!ce&&X===rn&&(0,U.aH)())return Dt();if(!ce)throw In.create("no-app",{appName:X});return ce}function We(){return Array.from(Tn.values())}function st(X){return(ht=ht||(0,s.Z)(function*(ce){const Ce=ce.name;Tn.has(Ce)&&(Tn.delete(Ce),yield Promise.all(ce.container.getProviders().map(rt=>rt.delete())),ce.isDeleted=!0)})).apply(this,arguments)}function Ut(X,ce,Ce){var rt;let Xe=null!==(rt=Xt[X])&&void 0!==rt?rt:X;Ce&&(Xe+=`-${Ce}`);const wt=Xe.match(/\s|\//),Ot=ce.match(/\s|\//);if(wt||Ot){const Pn=[`Unable to register library "${Xe}" with version "${ce}":`];return wt&&Pn.push(`library name "${Xe}" contains illegal characters (whitespace or "/")`),wt&&Ot&&Pn.push("and"),Ot&&Pn.push(`version name "${ce}" contains illegal characters (whitespace or "/")`),void Ue.warn(Pn.join(" "))}Yt(new m.wA(`${Xe}-version`,()=>({library:Xe,version:ce}),"VERSION"))}function en(X,ce){if(null!==X&&"function"!=typeof X)throw In.create("invalid-log-argument");(0,W.Am)(X,ce)}function Jn(X){(0,W.Ub)(X)}const pe="firebase-heartbeat-database",B=1,k="firebase-heartbeat-store";let O=null;function D(){return O||(O=function ie(X,ce,{blocked:Ce,upgrade:rt,blocking:Xe,terminated:wt}={}){const Ot=indexedDB.open(X,ce),Pn=G(Ot);return rt&&Ot.addEventListener("upgradeneeded",zn=>{rt(G(Ot.result),zn.oldVersion,zn.newVersion,G(Ot.transaction),zn)}),Ce&&Ot.addEventListener("blocked",zn=>Ce(zn.oldVersion,zn.newVersion,zn)),Pn.then(zn=>{wt&&zn.addEventListener("close",()=>wt()),Xe&&zn.addEventListener("versionchange",Rn=>Xe(Rn.oldVersion,Rn.newVersion,Rn))}).catch(()=>{}),Pn}(pe,B,{upgrade:(X,ce)=>{0===ce&&X.createObjectStore(k)}}).catch(X=>{throw In.create("idb-open",{originalErrorMessage:X.message})})),O}function R(X,ce){return(Pt=Pt||(0,s.Z)(function*(Ce,rt){try{const wt=(yield D()).transaction(k,"readwrite");yield wt.objectStore(k).put(rt,P(Ce)),yield wt.done}catch(Xe){if(Xe instanceof U.ZR)Ue.warn(Xe.message);else{const wt=In.create("idb-set",{originalErrorMessage:Xe?.message});Ue.warn(wt.message)}}})).apply(this,arguments)}function P(X){return`${X.name}!${X.options.appId}`}class ne{constructor(ce){this.container=ce,this._heartbeatsCache=null;const Ce=this.container.getProvider("app").getImmediate();this._storage=new oe(Ce),this._heartbeatsCachePromise=this._storage.read().then(rt=>(this._heartbeatsCache=rt,rt))}triggerHeartbeat(){var ce=this;return(0,s.Z)(function*(){const rt=ce.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(),Xe=le();if(null===ce._heartbeatsCache&&(ce._heartbeatsCache=yield ce._heartbeatsCachePromise),ce._heartbeatsCache.lastSentHeartbeatDate!==Xe&&!ce._heartbeatsCache.heartbeats.some(wt=>wt.date===Xe))return ce._heartbeatsCache.heartbeats.push({date:Xe,agent:rt}),ce._heartbeatsCache.heartbeats=ce._heartbeatsCache.heartbeats.filter(wt=>{const Ot=new Date(wt.date).valueOf();return Date.now()-Ot<=2592e6}),ce._storage.overwrite(ce._heartbeatsCache)})()}getHeartbeatsHeader(){var ce=this;return(0,s.Z)(function*(){if(null===ce._heartbeatsCache&&(yield ce._heartbeatsCachePromise),null===ce._heartbeatsCache||0===ce._heartbeatsCache.heartbeats.length)return"";const Ce=le(),{heartbeatsToSend:rt,unsentEntries:Xe}=function je(X,ce=1024){const Ce=[];let rt=X.slice();for(const Xe of X){const wt=Ce.find(Ot=>Ot.agent===Xe.agent);if(wt){if(wt.dates.push(Xe.date),ee(Ce)>ce){wt.dates.pop();break}}else if(Ce.push({agent:Xe.agent,dates:[Xe.date]}),ee(Ce)>ce){Ce.pop();break}rt=rt.slice(1)}return{heartbeatsToSend:Ce,unsentEntries:rt}}(ce._heartbeatsCache.heartbeats),wt=(0,U.L)(JSON.stringify({version:2,heartbeats:rt}));return ce._heartbeatsCache.lastSentHeartbeatDate=Ce,Xe.length>0?(ce._heartbeatsCache.heartbeats=Xe,yield ce._storage.overwrite(ce._heartbeatsCache)):(ce._heartbeatsCache.heartbeats=[],ce._storage.overwrite(ce._heartbeatsCache)),wt})()}}function le(){return(new Date).toISOString().substring(0,10)}class oe{constructor(ce){this.app=ce,this._canUseIndexedDBPromise=this.runIndexedDBEnvironmentCheck()}runIndexedDBEnvironmentCheck(){return(0,s.Z)(function*(){return!!(0,U.hl)()&&(0,U.eu)().then(()=>!0).catch(()=>!1)})()}read(){var ce=this;return(0,s.Z)(function*(){return(yield ce._canUseIndexedDBPromise)&&(yield function F(X){return(Mt=Mt||(0,s.Z)(function*(ce){try{return yield(yield D()).transaction(k).objectStore(k).get(P(ce))}catch(Ce){if(Ce instanceof U.ZR)Ue.warn(Ce.message);else{const rt=In.create("idb-get",{originalErrorMessage:Ce?.message});Ue.warn(rt.message)}}})).apply(this,arguments)}(ce.app))||{heartbeats:[]}})()}overwrite(ce){var Ce=this;return(0,s.Z)(function*(){var rt;if(yield Ce._canUseIndexedDBPromise){const wt=yield Ce.read();return R(Ce.app,{lastSentHeartbeatDate:null!==(rt=ce.lastSentHeartbeatDate)&&void 0!==rt?rt:wt.lastSentHeartbeatDate,heartbeats:ce.heartbeats})}})()}add(ce){var Ce=this;return(0,s.Z)(function*(){var rt;if(yield Ce._canUseIndexedDBPromise){const wt=yield Ce.read();return R(Ce.app,{lastSentHeartbeatDate:null!==(rt=ce.lastSentHeartbeatDate)&&void 0!==rt?rt:wt.lastSentHeartbeatDate,heartbeats:[...wt.heartbeats,...ce.heartbeats]})}})()}}function ee(X){return(0,U.L)(JSON.stringify({version:2,heartbeats:X})).length}!function Pe(X){Yt(new m.wA("platform-logger",ce=>new Gt(ce),"PRIVATE")),Yt(new m.wA("heartbeat",ce=>new ne(ce),"PRIVATE")),Ut(gn,"0.9.13",X),Ut(gn,"0.9.13","esm2017"),Ut("fire-js","")}("")},4537:(ft,De,v)=>{v.d(De,{H0:()=>re,wA:()=>W});var s=v(5861),m=v(9058);class W{constructor(H,J,fe){this.name=H,this.instanceFactory=J,this.type=fe,this.multipleInstances=!1,this.serviceProps={},this.instantiationMode="LAZY",this.onInstanceCreated=null}setInstantiationMode(H){return this.instantiationMode=H,this}setMultipleInstances(H){return this.multipleInstances=H,this}setServiceProps(H){return this.serviceProps=H,this}setInstanceCreatedCallback(H){return this.onInstanceCreated=H,this}}const U="[DEFAULT]";class I{constructor(H,J){this.name=H,this.container=J,this.component=null,this.instances=new Map,this.instancesDeferred=new Map,this.instancesOptions=new Map,this.onInitCallbacks=new Map}get(H){const J=this.normalizeInstanceIdentifier(H);if(!this.instancesDeferred.has(J)){const fe=new m.BH;if(this.instancesDeferred.set(J,fe),this.isInitialized(J)||this.shouldAutoInitialize())try{const Se=this.getOrInitializeService({instanceIdentifier:J});Se&&fe.resolve(Se)}catch{}}return this.instancesDeferred.get(J).promise}getImmediate(H){var J;const fe=this.normalizeInstanceIdentifier(H?.identifier),Se=null!==(J=H?.optional)&&void 0!==J&&J;if(!this.isInitialized(fe)&&!this.shouldAutoInitialize()){if(Se)return null;throw Error(`Service ${this.name} is not available`)}try{return this.getOrInitializeService({instanceIdentifier:fe})}catch(Ie){if(Se)return null;throw Ie}}getComponent(){return this.component}setComponent(H){if(H.name!==this.name)throw Error(`Mismatching Component ${H.name} for Provider ${this.name}.`);if(this.component)throw Error(`Component for ${this.name} has already been provided`);if(this.component=H,this.shouldAutoInitialize()){if(function Z(te){return"EAGER"===te.instantiationMode}(H))try{this.getOrInitializeService({instanceIdentifier:U})}catch{}for(const[J,fe]of this.instancesDeferred.entries()){const Se=this.normalizeInstanceIdentifier(J);try{const Ie=this.getOrInitializeService({instanceIdentifier:Se});fe.resolve(Ie)}catch{}}}}clearInstance(H=U){this.instancesDeferred.delete(H),this.instancesOptions.delete(H),this.instances.delete(H)}delete(){var H=this;return(0,s.Z)(function*(){const J=Array.from(H.instances.values());yield Promise.all([...J.filter(fe=>"INTERNAL"in fe).map(fe=>fe.INTERNAL.delete()),...J.filter(fe=>"_delete"in fe).map(fe=>fe._delete())])})()}isComponentSet(){return null!=this.component}isInitialized(H=U){return this.instances.has(H)}getOptions(H=U){return this.instancesOptions.get(H)||{}}initialize(H={}){const{options:J={}}=H,fe=this.normalizeInstanceIdentifier(H.instanceIdentifier);if(this.isInitialized(fe))throw Error(`${this.name}(${fe}) has already been initialized`);if(!this.isComponentSet())throw Error(`Component ${this.name} has not been registered yet`);const Se=this.getOrInitializeService({instanceIdentifier:fe,options:J});for(const[Ie,Ke]of this.instancesDeferred.entries())fe===this.normalizeInstanceIdentifier(Ie)&&Ke.resolve(Se);return Se}onInit(H,J){var fe;const Se=this.normalizeInstanceIdentifier(J),Ie=null!==(fe=this.onInitCallbacks.get(Se))&&void 0!==fe?fe:new Set;Ie.add(H),this.onInitCallbacks.set(Se,Ie);const Ke=this.instances.get(Se);return Ke&&H(Ke,Se),()=>{Ie.delete(H)}}invokeOnInitCallbacks(H,J){const fe=this.onInitCallbacks.get(J);if(fe)for(const Se of fe)try{Se(H,J)}catch{}}getOrInitializeService({instanceIdentifier:H,options:J={}}){let fe=this.instances.get(H);if(!fe&&this.component&&(fe=this.component.instanceFactory(this.container,{instanceIdentifier:(te=H,te===U?void 0:te),options:J}),this.instances.set(H,fe),this.instancesOptions.set(H,J),this.invokeOnInitCallbacks(fe,H),this.component.onInstanceCreated))try{this.component.onInstanceCreated(this.container,H,fe)}catch{}var te;return fe||null}normalizeInstanceIdentifier(H=U){return this.component?this.component.multipleInstances?H:U:H}shouldAutoInitialize(){return!!this.component&&"EXPLICIT"!==this.component.instantiationMode}}class re{constructor(H){this.name=H,this.providers=new Map}addComponent(H){const J=this.getProvider(H.name);if(J.isComponentSet())throw new Error(`Component ${H.name} has already been registered with ${this.name}`);J.setComponent(H)}addOrOverwriteComponent(H){this.getProvider(H.name).isComponentSet()&&this.providers.delete(H.name),this.addComponent(H)}getProvider(H){if(this.providers.has(H))return this.providers.get(H);const J=new I(H,this);return this.providers.set(H,J),J}getProviders(){return Array.from(this.providers.values())}}},7879:(ft,De,v)=>{v.d(De,{Am:()=>te,Ub:()=>re,Yd:()=>Z,in:()=>m});const s=[];var m=function(H){return H[H.DEBUG=0]="DEBUG",H[H.VERBOSE=1]="VERBOSE",H[H.INFO=2]="INFO",H[H.WARN=3]="WARN",H[H.ERROR=4]="ERROR",H[H.SILENT=5]="SILENT",H}(m||{});const W={debug:m.DEBUG,verbose:m.VERBOSE,info:m.INFO,warn:m.WARN,error:m.ERROR,silent:m.SILENT},U=m.INFO,I={[m.DEBUG]:"log",[m.VERBOSE]:"log",[m.INFO]:"info",[m.WARN]:"warn",[m.ERROR]:"error"},Y=(H,J,...fe)=>{if(J<H.logLevel)return;const Se=(new Date).toISOString(),Ie=I[J];if(!Ie)throw new Error(`Attempted to log a message with an invalid logType (value: ${J})`);console[Ie](`[${Se}] ${H.name}:`,...fe)};class Z{constructor(J){this.name=J,this._logLevel=U,this._logHandler=Y,this._userLogHandler=null,s.push(this)}get logLevel(){return this._logLevel}set logLevel(J){if(!(J in m))throw new TypeError(`Invalid value "${J}" assigned to \`logLevel\``);this._logLevel=J}setLogLevel(J){this._logLevel="string"==typeof J?W[J]:J}get logHandler(){return this._logHandler}set logHandler(J){if("function"!=typeof J)throw new TypeError("Value assigned to `logHandler` must be a function");this._logHandler=J}get userLogHandler(){return this._userLogHandler}set userLogHandler(J){this._userLogHandler=J}debug(...J){this._userLogHandler&&this._userLogHandler(this,m.DEBUG,...J),this._logHandler(this,m.DEBUG,...J)}log(...J){this._userLogHandler&&this._userLogHandler(this,m.VERBOSE,...J),this._logHandler(this,m.VERBOSE,...J)}info(...J){this._userLogHandler&&this._userLogHandler(this,m.INFO,...J),this._logHandler(this,m.INFO,...J)}warn(...J){this._userLogHandler&&this._userLogHandler(this,m.WARN,...J),this._logHandler(this,m.WARN,...J)}error(...J){this._userLogHandler&&this._userLogHandler(this,m.ERROR,...J),this._logHandler(this,m.ERROR,...J)}}function re(H){s.forEach(J=>{J.setLogLevel(H)})}function te(H,J){for(const fe of s){let Se=null;J&&J.level&&(Se=W[J.level]),fe.userLogHandler=null===H?null:(Ie,Ke,...we)=>{const Je=we.map(Ve=>{if(null==Ve)return null;if("string"==typeof Ve)return Ve;if("number"==typeof Ve||"boolean"==typeof Ve)return Ve.toString();if(Ve instanceof Error)return Ve.message;try{return JSON.stringify(Ve)}catch{return null}}).filter(Ve=>Ve).join(" ");Ke>=(Se??Ie.logLevel)&&H({level:m[Ke].toLowerCase(),message:Je,args:we,type:Ie.name})}}}},3182:(ft,De,v)=>{v.d(De,{C6:()=>s.getApps,Mq:()=>s.getApp});var s=v(534);(0,s.registerVersion)("firebase","9.23.0","app")},7142:(ft,De,v)=>{v.d(De,{Z:()=>s.Z});var s=v(3106);s.Z.registerVersion("firebase","9.23.0","app-compat")},6280:(ft,De,v)=>{v.d(De,{Cz:()=>ut,ys:()=>Ve});var s=v(5861),m=v(5879),W=v(6814),U=v(5592),I=v(2459),Y=v(2572),Z=v(8645),re=v(8180);function te(ke,G,z,ie){return new Promise((ue,ge)=>{ke||ge("IndexedDB not available");const xe=ke.open(G,z);let Ge;xe.onsuccess=nt=>{Ge=xe.result,ue(Ge)},xe.onerror=nt=>{ge(`IndexedDB error: ${xe.error}`)},"function"==typeof ie&&(xe.onupgradeneeded=nt=>{ie(nt,Ge)})})}function H(ke,G,z,ie,ue){if(!ke)return;const ge=ke.open(G,z);ge.onupgradeneeded=xe=>{const Ge=xe.target.result;ie.forEach(ht=>{if(!Ge.objectStoreNames.contains(ht.store)){const Mt=Ge.createObjectStore(ht.store,ht.storeConfig);ht.storeSchema.forEach(Pt=>{Mt.createIndex(Pt.name,Pt.keypath,Pt.options)})}});const nt=ue&&ue();nt&&Object.keys(nt).map(ht=>parseInt(ht,10)).filter(ht=>ht>xe.oldVersion).sort((ht,Mt)=>ht-Mt).forEach(ht=>{nt[ht](Ge,ge.transaction)}),Ge.close()},ge.onsuccess=xe=>{xe.target.result.close()}}function Se(ke,G,z){ke||z("You need to use the openDatabase function to create a database before you query it!"),function fe(ke,G){return ke.objectStoreNames.contains(G)}(ke,G)||z(`objectStore does not exists: ${G}`)}function Ie(ke,G){const z=ke.transaction(G.storeName,G.dbMode);return z.onerror=G.error,z.onabort=G.abort,z}function Ke(ke,G,z,ie){return{storeName:G,dbMode:ke,error:ue=>{z(ue)},abort:ue=>{z(ue)}}}var we=function(ke){return ke.readonly="readonly",ke.readwrite="readwrite",ke}(we||{});const Je=new m.OlP(null);let Ve=(()=>{class ke{constructor(z,ie){if(this.dbConfig=z,this.platformId=ie,!z.name)throw new Error("NgxIndexedDB: Please, provide the dbName in the configuration");if(!z.version)throw new Error("NgxIndexedDB: Please, provide the db version in the configuration");this.isBrowser=(0,W.NF)(this.platformId),this.isBrowser&&(this.indexedDB=window.indexedDB||window.mozIndexedDB||window.webkitIndexedDB||window.msIndexedDB,H(this.indexedDB,z.name,z.version,z.objectStoresMeta,z.migrationFactory),te(this.indexedDB,z.name).then(ue=>{ue.version!==z.version&&(this.dbConfig.version=ue.version)}))}createObjectStore(z,ie){const ue=[z];H(this.indexedDB,this.dbConfig.name,++this.dbConfig.version,ue,ie)}add(z,ie,ue){return new U.y(ge=>{te(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(xe=>{var Ge;const ht=Ie(xe,Ke(we.readwrite,z,Pt=>ge.error(Pt))).objectStore(z);(ue?ht.add(ie,ue):ht.add(ie)).onsuccess=function(Pt){return(Ge=Ge||(0,s.Z)(function*(Gt){ht.get(Gt.target.result).onsuccess=Cn=>{ge.next(Cn.target.result),ge.complete()}})).apply(this,arguments)}}).catch(xe=>ge.error(xe))})}bulkAdd(z,ie){const ue=new Promise((ge,xe)=>{te(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(Ge=>{const ht=Ie(Ge,Ke(we.readwrite,z,ge)).objectStore(z),Mt=ie.map(Pt=>new Promise((Gt,$t)=>{const gn=Pt.key;delete Pt.key,(gn?ht.add(Pt,gn):ht.add(Pt)).onsuccess=Ue=>{Gt(Ue.target.result)}}));ge(Promise.all(Mt))}).catch(Ge=>xe(Ge))});return(0,I.D)(ue)}bulkDelete(z,ie){const ue=ie.map(ge=>new Promise((xe,Ge)=>{te(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(nt=>{const ht=Ie(nt,Ke(we.readwrite,z,Ge));ht.objectStore(z).delete(ge),ht.oncomplete=()=>{this.getAll(z).pipe((0,re.q)(1)).subscribe(Pt=>{xe(Pt)})}}).catch(nt=>Ge(nt))}));return(0,I.D)(Promise.all(ue))}getByKey(z,ie){return new U.y(ue=>{te(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(ge=>{const nt=Ie(ge,Ke(we.readonly,z,ue.error)).objectStore(z).get(ie);nt.onsuccess=ht=>{ue.next(ht.target.result),ue.complete()},nt.onerror=ht=>{ue.error(ht)}}).catch(ge=>ue.error(ge))})}bulkGet(z,ie){const ue=ie.map(ge=>this.getByKey(z,ge));return new U.y(ge=>{(0,Y.a)(ue).subscribe(xe=>{ge.next(xe),ge.complete()})})}getByID(z,ie){return new U.y(ue=>{te(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(ge=>{Se(ge,z,ht=>ue.error(ht)),Ie(ge,Ke(we.readonly,z,ue.error)).objectStore(z).get(ie).onsuccess=ht=>{ue.next(ht.target.result)}}).catch(ge=>ue.error(ge))})}getByIndex(z,ie,ue){return new U.y(ge=>{te(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(xe=>{Se(xe,z,Pt=>ge.error(Pt)),Ie(xe,Ke(we.readonly,z,ge.error)).objectStore(z).index(ie).get(ue).onsuccess=Pt=>{ge.next(Pt.target.result),ge.complete()}}).catch(xe=>ge.error(xe))})}getAll(z){return new U.y(ie=>{te(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(ue=>{Se(ue,z,nt=>ie.error(nt));const Ge=Ie(ue,Ke(we.readonly,z,ie.error)).objectStore(z).getAll();Ge.onerror=nt=>{ie.error(nt)},Ge.onsuccess=({target:{result:nt}})=>{ie.next(nt),ie.complete()}}).catch(ue=>ie.error(ue))})}update(z,ie){return new U.y(ue=>{te(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(ge=>{var xe;Se(ge,z,Mt=>ue.error(Mt));const nt=Ie(ge,Ke(we.readwrite,z,Mt=>ue.error(Mt))).objectStore(z);nt.put(ie).onsuccess=function(Mt){return(xe=xe||(0,s.Z)(function*(Pt){nt.get(Pt.target.result).onsuccess=gn=>{ue.next(gn.target.result),ue.complete()}})).apply(this,arguments)}}).catch(ge=>ue.error(ge))})}delete(z,ie){return new U.y(ue=>{te(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(ge=>{Se(ge,z,nt=>ue.error(nt));const xe=Ie(ge,Ke(we.readwrite,z,nt=>ue.error(nt)));xe.objectStore(z).delete(ie),xe.oncomplete=()=>{this.getAll(z).pipe((0,re.q)(1)).subscribe(nt=>{ue.next(nt),ue.complete()})}}).catch(ge=>ue.error(ge))})}deleteByKey(z,ie){return new U.y(ue=>{te(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(ge=>{Se(ge,z,nt=>ue.error(nt));const xe=Ie(ge,Ke(we.readwrite,z,nt=>ue.error(nt))),Ge=xe.objectStore(z);xe.oncomplete=()=>{ue.next(!0),ue.complete()},Ge.delete(ie)}).catch(ge=>ue.error(ge))})}clear(z){return new U.y(ie=>{te(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(ue=>{Se(ue,z,Ge=>ie.error(Ge));const ge=Ie(ue,Ke(we.readwrite,z,Ge=>ie.error(Ge)));ge.objectStore(z).clear(),ge.oncomplete=()=>{ie.next(!0),ie.complete()}}).catch(ue=>ie.error(ue))})}deleteDatabase(){var z=this;return new U.y(ie=>{var ue;te(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(function(ge){return(ue=ue||(0,s.Z)(function*(xe){yield xe.close();const Ge=z.indexedDB.deleteDatabase(z.dbConfig.name);Ge.onsuccess=()=>{ie.next(!0),ie.complete()},Ge.onerror=nt=>ie.error(nt),Ge.onblocked=()=>{throw new Error("Unable to delete database because it's blocked")}})).apply(this,arguments)}).catch(ge=>ie.error(ge))})}openCursor(z,ie){return new U.y(ue=>{te(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(ge=>{Se(ge,z,ht=>ue.error(ht));const Ge=Ie(ge,Ke(we.readonly,z,ue.error)).objectStore(z);(void 0===ie?Ge.openCursor():Ge.openCursor(ie)).onsuccess=ht=>{ue.next(ht),ue.complete()}}).catch(ge=>ue.error(ge))})}openCursorByIndex(z,ie,ue,ge=we.readonly){const xe=new Z.x;return te(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(Ge=>{Se(Ge,z,Gt=>{xe.error(Gt)}),Ie(Ge,Ke(ge,z,Gt=>{xe.error(Gt)})).objectStore(z).index(ie).openCursor(ue).onsuccess=Gt=>{xe.next(Gt)}}).catch(Ge=>xe.error(Ge)),xe}getAllByIndex(z,ie,ue){const ge=[];return new U.y(xe=>{te(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(Ge=>{Se(Ge,z,Gt=>xe.error(Gt)),Ie(Ge,Ke(we.readonly,z,xe.error)).objectStore(z).index(ie).openCursor(ue).onsuccess=Gt=>{const $t=Gt.target.result;$t?(ge.push($t.value),$t.continue()):(xe.next(ge),xe.complete())}}).catch(Ge=>xe.error(Ge))})}getAllKeysByIndex(z,ie,ue){const ge=[];return new U.y(xe=>{te(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(Ge=>{Se(Ge,z,Gt=>xe.error(Gt)),Ie(Ge,Ke(we.readonly,z,xe.error)).objectStore(z).index(ie).openKeyCursor(ue).onsuccess=Gt=>{const $t=Gt.target.result;$t?(ge.push({primaryKey:$t.primaryKey,key:$t.key}),$t.continue()):(xe.next(ge),xe.complete())}}).catch(Ge=>xe.error(Ge))})}count(z,ie){return new U.y(ue=>{te(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(ge=>{Se(ge,z,ht=>ue.error(ht));const nt=Ie(ge,Ke(we.readonly,z,ue.error)).objectStore(z).count(ie);nt.onerror=ht=>ue.error(ht),nt.onsuccess=ht=>{ue.next(ht.target.result),ue.complete()}}).catch(ge=>ue.error(ge))})}countByIndex(z,ie,ue){return new U.y(ge=>{te(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(xe=>{Se(xe,z,Pt=>ge.error(Pt));const Mt=Ie(xe,Ke(we.readonly,z,ge.error)).objectStore(z).index(ie).count(ue);Mt.onerror=Pt=>ge.error(Pt),Mt.onsuccess=Pt=>{ge.next(Pt.target.result),ge.complete()}}).catch(xe=>ge.error(xe))})}deleteObjectStore(z){return function J(ke,G,z){if(!ke||!G||!z)throw Error('Params: "dbName", "version", "storeName" are mandatory.');return new U.y(ie=>{try{const ge=indexedDB.open(ke,G+1);ge.onupgradeneeded=xe=>{const Ge=xe.target.result;Ge.deleteObjectStore(z),Ge.close(),console.log("onupgradeneeded"),ie.next(!0),ie.complete()},ge.onerror=xe=>ie.error(xe)}catch(ue){ie.error(ue)}})}(this.dbConfig.name,++this.dbConfig.version,z)}}return ke.\u0275fac=function(z){return new(z||ke)(m.LFG(Je),m.LFG(m.Lbi))},ke.\u0275prov=m.Yz7({token:ke,factory:ke.\u0275fac}),ke})(),ut=(()=>{class ke{static forRoot(z){return{ngModule:ke,providers:[Ve,{provide:Je,useValue:z}]}}}return ke.\u0275fac=function(z){return new(z||ke)},ke.\u0275mod=m.oAB({type:ke}),ke.\u0275inj=m.cJS({imports:[[W.ez]]}),ke})()},8253:(ft,De,v)=>{v.d(De,{gE:()=>$e,VI:()=>At,YI:()=>Mt});var s=v(5879),m=v(5619),W=v(2096),U=v(2459),I=v(3019),Y=v(9315),Z=v(7398),re=v(4664),te=v(6306),H=v(7537),J=v(1374),fe=v(1631),Se=v(9360),Ie=v(8251),we=v(836),Je=v(8180),Ve=v(9397),ut=v(9790);function G(ye){return"function"==typeof ye}function z(ye){if("[object Object]"!==Object.prototype.toString.call(ye))return!1;{const Oe=Object.getPrototypeOf(ye);return null===Oe||Oe===Object.prototype}}function ie(ye){return!!ye&&"string"==typeof ye}function ue(ye){return"boolean"==typeof ye}function xe(ye){return Array.isArray(ye)?ye.length>0:!!ye}function Ge(ye){return ie(ye)?[ye]:ye}let nt=(()=>{class ye{constructor(){this.permissionsSource=new m.X({}),this.permissions$=this.permissionsSource.asObservable()}}return ye.\u0275fac=function(N){return new(N||ye)},ye.\u0275prov=s.Yz7({token:ye,factory:ye.\u0275fac}),ye})();const ht=new s.OlP("USE_PERMISSIONS_STORE");let Mt=(()=>{class ye{constructor(N=!1,Ae){this.isolate=N,this.permissionsStore=Ae,this.permissionsSource=N?new m.X({}):Ae.permissionsSource,this.permissions$=this.permissionsSource.asObservable()}flushPermissions(){this.permissionsSource.next({})}hasPermission(N){return!N||Array.isArray(N)&&0===N.length?Promise.resolve(!0):(N=Ge(N),this.hasArrayPermission(N))}loadPermissions(N,Ae){const Le=N.reduce((St,vt)=>this.reducePermission(St,vt,Ae),{});this.permissionsSource.next(Le)}addPermission(N,Ae){if(Array.isArray(N)){const Le=N.reduce((St,vt)=>this.reducePermission(St,vt,Ae),this.permissionsSource.value);this.permissionsSource.next(Le)}else{const Le=this.reducePermission(this.permissionsSource.value,N,Ae);this.permissionsSource.next(Le)}}removePermission(N){const Ae={...this.permissionsSource.value};delete Ae[N],this.permissionsSource.next(Ae)}getPermission(N){return this.permissionsSource.value[N]}getPermissions(){return this.permissionsSource.value}reducePermission(N,Ae,Le){return Le&&G(Le)?{...N,[Ae]:{name:Ae,validationFunction:Le}}:{...N,[Ae]:{name:Ae}}}hasArrayPermission(N){const Ae=N.map(Le=>{if(this.hasPermissionValidationFunction(Le)){const St=this.permissionsSource.value[Le].validationFunction,vt={...this.permissionsSource.value};return(0,W.of)(null).pipe((0,Z.U)(()=>St(Le,vt)),(0,re.w)(Lt=>ue(Lt)?(0,W.of)(Lt):Lt),(0,te.K)(()=>(0,W.of)(!1)))}return(0,W.of)(!!this.permissionsSource.value[Le])});return(0,U.D)(Ae).pipe((0,H.J)(),(0,J.P)(Le=>!1!==Le,!1),(0,Z.U)(Le=>!1!==Le)).toPromise().then(Le=>Le)}hasPermissionValidationFunction(N){return!!this.permissionsSource.value[N]&&!!this.permissionsSource.value[N].validationFunction&&G(this.permissionsSource.value[N].validationFunction)}}return ye.\u0275fac=function(N){return new(N||ye)(s.LFG(ht),s.LFG(nt))},ye.\u0275prov=s.Yz7({token:ye,factory:ye.\u0275fac}),ye})(),Pt=(()=>{class ye{constructor(){this.strategiesSource=new m.X({}),this.strategies$=this.strategiesSource.asObservable()}}return ye.\u0275fac=function(N){return new(N||ye)},ye.\u0275prov=s.Yz7({token:ye,factory:ye.\u0275fac}),ye})();const Gt=new s.OlP("USE_CONFIGURATION_STORE");let $t=(()=>{class ye{constructor(N=!1,Ae){this.isolate=N,this.configurationStore=Ae,this.strategiesSource=this.isolate?new m.X({}):this.configurationStore.strategiesSource,this.strategies$=this.strategiesSource.asObservable(),this.onAuthorisedDefaultStrategy=this.isolate?void 0:this.configurationStore.onAuthorisedDefaultStrategy,this.onUnAuthorisedDefaultStrategy=this.isolate?void 0:this.configurationStore.onUnAuthorisedDefaultStrategy}setDefaultOnAuthorizedStrategy(N){this.isolate?this.onAuthorisedDefaultStrategy=this.getDefinedStrategy(N):(this.configurationStore.onAuthorisedDefaultStrategy=this.getDefinedStrategy(N),this.onAuthorisedDefaultStrategy=this.configurationStore.onAuthorisedDefaultStrategy)}setDefaultOnUnauthorizedStrategy(N){this.isolate?this.onUnAuthorisedDefaultStrategy=this.getDefinedStrategy(N):(this.configurationStore.onUnAuthorisedDefaultStrategy=this.getDefinedStrategy(N),this.onUnAuthorisedDefaultStrategy=this.configurationStore.onUnAuthorisedDefaultStrategy)}addPermissionStrategy(N,Ae){this.strategiesSource.value[N]=Ae}getStrategy(N){return this.strategiesSource.value[N]}getAllStrategies(){return this.strategiesSource.value}getDefinedStrategy(N){if(this.strategiesSource.value[N]||this.isPredefinedStrategy(N))return N;throw new Error(`No ' ${N} ' strategy is found please define one`)}isPredefinedStrategy(N){return"show"===N||"remove"===N}}return ye.\u0275fac=function(N){return new(N||ye)(s.LFG(Gt),s.LFG(Pt))},ye.\u0275prov=s.Yz7({token:ye,factory:ye.\u0275fac}),ye})();class gn{constructor(){this.rolesSource=new m.X({}),this.roles$=this.rolesSource.asObservable()}}const Cn=new s.OlP("USE_ROLES_STORE");let Ue=(()=>{class ye{constructor(N=!1,Ae,Le){this.isolate=N,this.rolesStore=Ae,this.permissionsService=Le,this.rolesSource=this.isolate?new m.X({}):this.rolesStore.rolesSource,this.roles$=this.rolesSource.asObservable()}addRole(N,Ae){const Le={...this.rolesSource.value,[N]:{name:N,validationFunction:Ae}};this.rolesSource.next(Le)}addRoleWithPermissions(N,Ae){this.permissionsService.addPermission(Ae),this.addRole(N,Ae)}addRoles(N){Object.keys(N).forEach((Ae,Le)=>{this.addRole(Ae,N[Ae])})}addRolesWithPermissions(N){Object.keys(N).forEach((Ae,Le)=>{this.addRoleWithPermissions(Ae,N[Ae])})}flushRoles(){this.rolesSource.next({})}flushRolesAndPermissions(){this.flushRoles(),this.permissionsService.flushPermissions()}removeRole(N){const Ae={...this.rolesSource.value};delete Ae[N],this.rolesSource.next(Ae)}getRoles(){return this.rolesSource.value}getRole(N){return this.rolesSource.value[N]}hasOnlyRoles(N){return!N||Array.isArray(N)&&0===N.length?Promise.resolve(!0):(N=Ge(N),Promise.all([this.hasRoleKey(N),this.hasRolePermission(this.rolesSource.value,N)]).then(([Le,St])=>Le||St))}hasRoleKey(N){const Ae=N.map(Le=>{if(this.rolesSource.value[Le]&&this.rolesSource.value[Le].validationFunction&&G(this.rolesSource.value[Le].validationFunction)&&!function ge(ye){return"[object Promise]"===Object.prototype.toString.call(ye)}(this.rolesSource.value[Le].validationFunction)){const vt=this.rolesSource.value[Le].validationFunction,Lt={...this.rolesSource.value};return(0,W.of)(null).pipe((0,Z.U)(()=>vt(Le,Lt)),(0,re.w)(Mn=>ue(Mn)?(0,W.of)(Mn):Mn),(0,te.K)(()=>(0,W.of)(!1)))}return(0,W.of)(!1)});return(0,U.D)(Ae).pipe((0,H.J)(),(0,J.P)(Le=>!1!==Le,!1),(0,Z.U)(Le=>!1!==Le)).toPromise().then(Le=>Le)}hasRolePermission(N,Ae){return(0,U.D)(Ae).pipe((0,fe.z)(Le=>N[Le]&&Array.isArray(N[Le].validationFunction)?(0,U.D)(N[Le].validationFunction).pipe((0,fe.z)(St=>this.permissionsService.hasPermission(St)),function Ke(ye,Oe){return(0,Se.e)((N,Ae)=>{let Le=0;N.subscribe((0,Ie.x)(Ae,St=>{ye.call(Oe,St,Le++,N)||(Ae.next(!1),Ae.complete())},()=>{Ae.next(!0),Ae.complete()}))})}(St=>!0===St)):(0,W.of)(!1)),(0,J.P)(Le=>!0===Le,!1)).toPromise()}}return ye.\u0275fac=function(N){return new(N||ye)(s.LFG(Cn),s.LFG(gn),s.LFG(Mt))},ye.\u0275prov=s.Yz7({token:ye,factory:ye.\u0275fac}),ye})(),$e=(()=>{class ye{constructor(N,Ae,Le,St,vt,Lt){this.permissionsService=N,this.configurationService=Ae,this.rolesService=Le,this.viewContainer=St,this.changeDetector=vt,this.templateRef=Lt,this.permissionsAuthorized=new s.vpe,this.permissionsUnauthorized=new s.vpe,this.firstMergeUnusedRun=1}ngOnInit(){this.viewContainer.clear(),this.initPermissionSubscription=this.validateExceptOnlyPermissions()}ngOnChanges(N){const Ae=N.ngxPermissionsOnly,Le=N.ngxPermissionsExcept;if(Ae||Le){if(Ae&&Ae.firstChange||Le&&Le.firstChange)return;(0,I.T)(this.permissionsService.permissions$,this.rolesService.roles$).pipe((0,we.T)(this.firstMergeUnusedRun),(0,Je.q)(1)).subscribe(()=>{xe(this.ngxPermissionsExcept)?this.validateExceptAndOnlyPermissions():xe(this.ngxPermissionsOnly)?this.validateOnlyPermissions():this.handleAuthorisedPermission(this.getAuthorisedTemplates())})}}ngOnDestroy(){this.initPermissionSubscription&&this.initPermissionSubscription.unsubscribe()}validateExceptOnlyPermissions(){return(0,I.T)(this.permissionsService.permissions$,this.rolesService.roles$).pipe((0,we.T)(this.firstMergeUnusedRun)).subscribe(()=>{xe(this.ngxPermissionsExcept)?this.validateExceptAndOnlyPermissions():xe(this.ngxPermissionsOnly)?this.validateOnlyPermissions():this.handleAuthorisedPermission(this.getAuthorisedTemplates())})}validateExceptAndOnlyPermissions(){Promise.all([this.permissionsService.hasPermission(this.ngxPermissionsExcept),this.rolesService.hasOnlyRoles(this.ngxPermissionsExcept)]).then(([N,Ae])=>{if(N||Ae)this.handleUnauthorisedPermission(this.ngxPermissionsExceptElse||this.ngxPermissionsElse);else{if(this.ngxPermissionsOnly)throw!1;this.handleAuthorisedPermission(this.ngxPermissionsExceptThen||this.ngxPermissionsThen||this.templateRef)}}).catch(()=>{this.ngxPermissionsOnly?this.validateOnlyPermissions():this.handleAuthorisedPermission(this.ngxPermissionsExceptThen||this.ngxPermissionsThen||this.templateRef)})}validateOnlyPermissions(){Promise.all([this.permissionsService.hasPermission(this.ngxPermissionsOnly),this.rolesService.hasOnlyRoles(this.ngxPermissionsOnly)]).then(([N,Ae])=>{N||Ae?this.handleAuthorisedPermission(this.ngxPermissionsOnlyThen||this.ngxPermissionsThen||this.templateRef):this.handleUnauthorisedPermission(this.ngxPermissionsOnlyElse||this.ngxPermissionsElse)}).catch(()=>{this.handleUnauthorisedPermission(this.ngxPermissionsOnlyElse||this.ngxPermissionsElse)})}handleUnauthorisedPermission(N){if(!ue(this.currentAuthorizedState)||this.currentAuthorizedState){if(this.currentAuthorizedState=!1,this.permissionsUnauthorized.emit(),this.getUnAuthorizedStrategyInput())return void this.applyStrategyAccordingToStrategyType(this.getUnAuthorizedStrategyInput());this.configurationService.onUnAuthorisedDefaultStrategy&&!this.elseBlockDefined()?this.applyStrategy(this.configurationService.onUnAuthorisedDefaultStrategy):this.showTemplateBlockInView(N)}}handleAuthorisedPermission(N){if(!ue(this.currentAuthorizedState)||!this.currentAuthorizedState){if(this.currentAuthorizedState=!0,this.permissionsAuthorized.emit(),this.getAuthorizedStrategyInput())return void this.applyStrategyAccordingToStrategyType(this.getAuthorizedStrategyInput());this.configurationService.onAuthorisedDefaultStrategy&&!this.thenBlockDefined()?this.applyStrategy(this.configurationService.onAuthorisedDefaultStrategy):this.showTemplateBlockInView(N)}}applyStrategyAccordingToStrategyType(N){if(!ie(N))return G(N)?(this.showTemplateBlockInView(this.templateRef),void N(this.templateRef)):void 0;this.applyStrategy(N)}showTemplateBlockInView(N){this.viewContainer.clear(),N&&(this.viewContainer.createEmbeddedView(N),this.changeDetector.markForCheck())}getAuthorisedTemplates(){return this.ngxPermissionsOnlyThen||this.ngxPermissionsExceptThen||this.ngxPermissionsThen||this.templateRef}elseBlockDefined(){return!!this.ngxPermissionsExceptElse||!!this.ngxPermissionsElse}thenBlockDefined(){return!!this.ngxPermissionsExceptThen||!!this.ngxPermissionsThen}getAuthorizedStrategyInput(){return this.ngxPermissionsOnlyAuthorisedStrategy||this.ngxPermissionsExceptAuthorisedStrategy||this.ngxPermissionsAuthorisedStrategy}getUnAuthorizedStrategyInput(){return this.ngxPermissionsOnlyUnauthorisedStrategy||this.ngxPermissionsExceptUnauthorisedStrategy||this.ngxPermissionsUnauthorisedStrategy}applyStrategy(N){if("show"===N)return void this.showTemplateBlockInView(this.templateRef);if("remove"===N)return void this.viewContainer.clear();const Ae=this.configurationService.getStrategy(N);this.showTemplateBlockInView(this.templateRef),Ae(this.templateRef)}}return ye.\u0275fac=function(N){return new(N||ye)(s.Y36(Mt),s.Y36($t),s.Y36(Ue),s.Y36(s.s_b),s.Y36(s.sBO),s.Y36(s.Rgc))},ye.\u0275dir=s.lG2({type:ye,selectors:[["","ngxPermissionsOnly",""],["","ngxPermissionsExcept",""]],inputs:{ngxPermissionsOnly:"ngxPermissionsOnly",ngxPermissionsOnlyThen:"ngxPermissionsOnlyThen",ngxPermissionsOnlyElse:"ngxPermissionsOnlyElse",ngxPermissionsExcept:"ngxPermissionsExcept",ngxPermissionsExceptElse:"ngxPermissionsExceptElse",ngxPermissionsExceptThen:"ngxPermissionsExceptThen",ngxPermissionsThen:"ngxPermissionsThen",ngxPermissionsElse:"ngxPermissionsElse",ngxPermissionsOnlyAuthorisedStrategy:"ngxPermissionsOnlyAuthorisedStrategy",ngxPermissionsOnlyUnauthorisedStrategy:"ngxPermissionsOnlyUnauthorisedStrategy",ngxPermissionsExceptUnauthorisedStrategy:"ngxPermissionsExceptUnauthorisedStrategy",ngxPermissionsExceptAuthorisedStrategy:"ngxPermissionsExceptAuthorisedStrategy",ngxPermissionsUnauthorisedStrategy:"ngxPermissionsUnauthorisedStrategy",ngxPermissionsAuthorisedStrategy:"ngxPermissionsAuthorisedStrategy"},outputs:{permissionsAuthorized:"permissionsAuthorized",permissionsUnauthorized:"permissionsUnauthorized"},features:[s.TTD]}),ye})(),Qe=(()=>{class ye{constructor(N,Ae,Le){this.permissionsService=N,this.rolesService=Ae,this.router=Le}canActivate(N,Ae){return this.hasPermissions(N,Ae)}canActivateChild(N,Ae){return this.hasPermissions(N,Ae)}canLoad(N){return this.hasPermissions(N)}canMatch(N){return this.hasPermissions(N)}hasPermissions(N,Ae){const St=this.transformPermission(N&&N.data?N.data.permissions:{},N,Ae);return this.isParameterAvailable(St.except)?this.passingExceptPermissionsValidation(St,N,Ae):!this.isParameterAvailable(St.only)||this.passingOnlyPermissionsValidation(St,N,Ae)}transformPermission(N,Ae,Le){return{only:G(N.only)?N.only(Ae,Le):Ge(N.only),except:G(N.except)?N.except(Ae,Le):Ge(N.except),redirectTo:N.redirectTo}}isParameterAvailable(N){return!!N&&N.length>0}passingExceptPermissionsValidation(N,Ae,Le){if(N.redirectTo&&(G(N.redirectTo)||z(N.redirectTo)&&!this.isRedirectionWithParameters(N.redirectTo))){let St="";return(0,U.D)(N.except).pipe((0,fe.z)(vt=>(0,Y.D)([this.permissionsService.hasPermission(vt),this.rolesService.hasOnlyRoles(vt)]).pipe((0,Ve.b)(Lt=>{Lt.every(kn=>!1===kn)||(St=vt)}))),(0,J.P)(vt=>vt.some(Lt=>!0===Lt),!1),(0,fe.z)(vt=>St?(this.handleRedirectOfFailedPermission(N,St,Ae,Le),(0,W.of)(!1)):!vt&&N.only?this.onlyRedirectCheck(N,Ae,Le):(0,W.of)(!vt))).toPromise()}return Promise.all([this.permissionsService.hasPermission(N.except),this.rolesService.hasOnlyRoles(N.except)]).then(([St,vt])=>St||vt?(N.redirectTo&&this.redirectToAnotherRoute(N.redirectTo,Ae,Le),!1):!N.only||this.checkOnlyPermissions(N,Ae,Le))}redirectToAnotherRoute(N,Ae,Le,St){const vt=G(N)?N(St,Ae,Le):N;if(this.isRedirectionWithParameters(vt))return vt.navigationCommands=this.transformNavigationCommands(vt.navigationCommands,Ae,Le),vt.navigationExtras=this.transformNavigationExtras(vt.navigationExtras,Ae,Le),void this.router.navigate(vt.navigationCommands,vt.navigationExtras);Array.isArray(vt)?this.router.navigate(vt):this.router.navigate([vt])}isRedirectionWithParameters(N){return z(N)&&(!!N.navigationCommands||!!N.navigationExtras)}transformNavigationCommands(N,Ae,Le){return G(N)?N(Ae,Le):N}transformNavigationExtras(N,Ae,Le){return G(N)?N(Ae,Le):N}onlyRedirectCheck(N,Ae,Le){let St="";return(0,U.D)(N.only).pipe((0,fe.z)(vt=>(0,Y.D)([this.permissionsService.hasPermission(vt),this.rolesService.hasOnlyRoles(vt)]).pipe((0,Ve.b)(Lt=>{Lt.every(kn=>!1===kn)&&(St=vt)}))),(0,J.P)(vt=>G(N.redirectTo)?vt.some(Lt=>!0===Lt):vt.every(Lt=>!1===Lt),!1),(0,fe.z)(vt=>G(N.redirectTo)?vt?(0,W.of)(!0):(this.handleRedirectOfFailedPermission(N,St,Ae,Le),(0,W.of)(!1)):(St&&this.handleRedirectOfFailedPermission(N,St,Ae,Le),(0,W.of)(!vt)))).toPromise()}handleRedirectOfFailedPermission(N,Ae,Le,St){this.isFailedPermissionPropertyOfRedirectTo(N,Ae)?this.redirectToAnotherRoute(N.redirectTo[Ae],Le,St,Ae):G(N.redirectTo)?this.redirectToAnotherRoute(N.redirectTo,Le,St,Ae):this.redirectToAnotherRoute(N.redirectTo.default,Le,St,Ae)}isFailedPermissionPropertyOfRedirectTo(N,Ae){return!!N.redirectTo&&N.redirectTo[Ae]}checkOnlyPermissions(N,Ae,Le){const St={...N};return Promise.all([this.permissionsService.hasPermission(St.only),this.rolesService.hasOnlyRoles(St.only)]).then(([vt,Lt])=>!(!vt&&!Lt&&(St.redirectTo&&this.redirectToAnotherRoute(St.redirectTo,Ae,Le),1)))}passingOnlyPermissionsValidation(N,Ae,Le){return G(N.redirectTo)||z(N.redirectTo)&&!this.isRedirectionWithParameters(N.redirectTo)?this.onlyRedirectCheck(N,Ae,Le):this.checkOnlyPermissions(N,Ae,Le)}}return ye.\u0275fac=function(N){return new(N||ye)(s.LFG(Mt),s.LFG(Ue),s.LFG(ut.F0))},ye.\u0275prov=s.Yz7({token:ye,factory:ye.\u0275fac}),ye})(),At=(()=>{class ye{static forRoot(N={}){return{ngModule:ye,providers:[nt,gn,Pt,Mt,Qe,Ue,$t,{provide:ht,useValue:N.permissionsIsolate},{provide:Cn,useValue:N.rolesIsolate},{provide:Gt,useValue:N.configurationIsolate}]}}static forChild(N={}){return{ngModule:ye,providers:[{provide:ht,useValue:N.permissionsIsolate},{provide:Cn,useValue:N.rolesIsolate},{provide:Gt,useValue:N.configurationIsolate},$t,Mt,Ue,Qe]}}}return ye.\u0275fac=function(N){return new(N||ye)},ye.\u0275mod=s.oAB({type:ye}),ye.\u0275inj=s.cJS({}),ye})()},9229:(ft,De,v)=>{function s(ve){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(qe){return typeof qe}:function(qe){return qe&&"function"==typeof Symbol&&qe.constructor===Symbol&&qe!==Symbol.prototype?"symbol":typeof qe})(ve)}function U(ve,qe,ye){return(qe=function W(ve){var qe=function m(ve,qe){if("object"!==s(ve)||null===ve)return ve;var ye=ve[Symbol.toPrimitive];if(void 0!==ye){var Oe=ye.call(ve,qe||"default");if("object"!==s(Oe))return Oe;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===qe?String:Number)(ve)}(ve,"string");return"symbol"===s(qe)?qe:String(qe)}(qe))in ve?Object.defineProperty(ve,qe,{value:ye,enumerable:!0,configurable:!0,writable:!0}):ve[qe]=ye,ve}v.d(De,{FN:()=>Cn,PR:()=>Ge,Rh:()=>Ye,_W:()=>gn});var I=v(5879),Y=v(6825),Z=v(6814),re=v(8645),te=v(6593);const H=["toast-component",""];function J(ve,qe){if(1&ve){const ye=I.EpF();I.TgZ(0,"button",5),I.NdJ("click",function(){I.CHM(ye);const N=I.oxw();return I.KtG(N.remove())}),I.TgZ(1,"span",6),I._uU(2,"\xd7"),I.qZA()()}}function fe(ve,qe){if(1&ve&&(I.ynx(0),I._uU(1),I.BQk()),2&ve){const ye=I.oxw(2);I.xp6(1),I.hij("[",ye.duplicatesCount+1,"]")}}function Se(ve,qe){if(1&ve&&(I.TgZ(0,"div"),I._uU(1),I.YNc(2,fe,2,1,"ng-container",4),I.qZA()),2&ve){const ye=I.oxw();I.Tol(ye.options.titleClass),I.uIk("aria-label",ye.title),I.xp6(1),I.hij(" ",ye.title," "),I.xp6(1),I.Q6J("ngIf",ye.duplicatesCount)}}function Ie(ve,qe){if(1&ve&&I._UZ(0,"div",7),2&ve){const ye=I.oxw();I.Tol(ye.options.messageClass),I.Q6J("innerHTML",ye.message,I.oJD)}}function Ke(ve,qe){if(1&ve&&(I.TgZ(0,"div",8),I._uU(1),I.qZA()),2&ve){const ye=I.oxw();I.Tol(ye.options.messageClass),I.uIk("aria-label",ye.message),I.xp6(1),I.hij(" ",ye.message," ")}}function we(ve,qe){if(1&ve&&(I.TgZ(0,"div"),I._UZ(1,"div",9),I.qZA()),2&ve){const ye=I.oxw();I.xp6(1),I.Udp("width",ye.width+"%")}}class ue{constructor(qe,ye){U(this,"_attachedHost",void 0),U(this,"component",void 0),U(this,"viewContainerRef",void 0),U(this,"injector",void 0),this.component=qe,this.injector=ye}attach(qe,ye){return this._attachedHost=qe,qe.attach(this,ye)}detach(){const qe=this._attachedHost;if(qe)return this._attachedHost=void 0,qe.detach()}get isAttached(){return null!=this._attachedHost}setAttachedHost(qe){this._attachedHost=qe}}class ge{constructor(){U(this,"_attachedPortal",void 0),U(this,"_disposeFn",void 0)}attach(qe,ye){return this._attachedPortal=qe,this.attachComponentPortal(qe,ye)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(qe){this._disposeFn=qe}}class xe{constructor(qe){U(this,"_overlayRef",void 0),U(this,"componentInstance",void 0),U(this,"duplicatesCount",0),U(this,"_afterClosed",new re.x),U(this,"_activate",new re.x),U(this,"_manualClose",new re.x),U(this,"_resetTimeout",new re.x),U(this,"_countDuplicate",new re.x),this._overlayRef=qe}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(qe,ye){qe&&this._resetTimeout.next(),ye&&this._countDuplicate.next(++this.duplicatesCount)}}class Ge{constructor(qe,ye,Oe,N,Ae,Le){U(this,"toastId",void 0),U(this,"config",void 0),U(this,"message",void 0),U(this,"title",void 0),U(this,"toastType",void 0),U(this,"toastRef",void 0),U(this,"_onTap",new re.x),U(this,"_onAction",new re.x),this.toastId=qe,this.config=ye,this.message=Oe,this.title=N,this.toastType=Ae,this.toastRef=Le,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(qe){this._onAction.next(qe)}onAction(){return this._onAction.asObservable()}}const ht=new I.OlP("ToastConfig");class Mt extends ge{constructor(qe,ye,Oe){super(),U(this,"_hostDomElement",void 0),U(this,"_componentFactoryResolver",void 0),U(this,"_appRef",void 0),this._hostDomElement=qe,this._componentFactoryResolver=ye,this._appRef=Oe}attachComponentPortal(qe,ye){const Oe=this._componentFactoryResolver.resolveComponentFactory(qe.component);let N;return N=Oe.create(qe.injector),this._appRef.attachView(N.hostView),this.setDisposeFn(()=>{this._appRef.detachView(N.hostView),N.destroy()}),ye?this._hostDomElement.insertBefore(this._getComponentRootNode(N),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(N)),N}_getComponentRootNode(qe){return qe.hostView.rootNodes[0]}}let Pt=(()=>{var ve;class qe{constructor(){U(this,"_document",(0,I.f3M)(Z.K0)),U(this,"_containerElement",void 0)}ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const Oe=this._document.createElement("div");Oe.classList.add("overlay-container"),Oe.setAttribute("aria-live","polite"),this._document.body.appendChild(Oe),this._containerElement=Oe}}return ve=qe,U(qe,"\u0275fac",function(Oe){return new(Oe||ve)}),U(qe,"\u0275prov",I.Yz7({token:ve,factory:ve.\u0275fac,providedIn:"root"})),qe})();class Gt{constructor(qe){U(this,"_portalHost",void 0),this._portalHost=qe}attach(qe,ye=!0){return this._portalHost.attach(qe,ye)}detach(){return this._portalHost.detach()}}let $t=(()=>{var ve;class qe{constructor(){U(this,"_overlayContainer",(0,I.f3M)(Pt)),U(this,"_componentFactoryResolver",(0,I.f3M)(I._Vd)),U(this,"_appRef",(0,I.f3M)(I.z2F)),U(this,"_document",(0,I.f3M)(Z.K0)),U(this,"_paneElements",new Map)}create(Oe,N){return this._createOverlayRef(this.getPaneElement(Oe,N))}getPaneElement(Oe="",N){return this._paneElements.get(N)||this._paneElements.set(N,{}),this._paneElements.get(N)[Oe]||(this._paneElements.get(N)[Oe]=this._createPaneElement(Oe,N)),this._paneElements.get(N)[Oe]}_createPaneElement(Oe,N){const Ae=this._document.createElement("div");return Ae.id="toast-container",Ae.classList.add(Oe),Ae.classList.add("toast-container"),N?N.getContainerElement().appendChild(Ae):this._overlayContainer.getContainerElement().appendChild(Ae),Ae}_createPortalHost(Oe){return new Mt(Oe,this._componentFactoryResolver,this._appRef)}_createOverlayRef(Oe){return new Gt(this._createPortalHost(Oe))}}return ve=qe,U(qe,"\u0275fac",function(Oe){return new(Oe||ve)}),U(qe,"\u0275prov",I.Yz7({token:ve,factory:ve.\u0275fac,providedIn:"root"})),qe})(),gn=(()=>{var ve;class qe{constructor(Oe,N,Ae,Le,St){U(this,"overlay",void 0),U(this,"_injector",void 0),U(this,"sanitizer",void 0),U(this,"ngZone",void 0),U(this,"toastrConfig",void 0),U(this,"currentlyActive",0),U(this,"toasts",[]),U(this,"overlayContainer",void 0),U(this,"previousToastMessage",void 0),U(this,"index",0),this.overlay=N,this._injector=Ae,this.sanitizer=Le,this.ngZone=St,this.toastrConfig={...Oe.default,...Oe.config},Oe.config.iconClasses&&(this.toastrConfig.iconClasses={...Oe.default.iconClasses,...Oe.config.iconClasses})}show(Oe,N,Ae={},Le=""){return this._preBuildNotification(Le,Oe,N,this.applyConfig(Ae))}success(Oe,N,Ae={}){return this._preBuildNotification(this.toastrConfig.iconClasses.success||"",Oe,N,this.applyConfig(Ae))}error(Oe,N,Ae={}){return this._preBuildNotification(this.toastrConfig.iconClasses.error||"",Oe,N,this.applyConfig(Ae))}info(Oe,N,Ae={}){return this._preBuildNotification(this.toastrConfig.iconClasses.info||"",Oe,N,this.applyConfig(Ae))}warning(Oe,N,Ae={}){return this._preBuildNotification(this.toastrConfig.iconClasses.warning||"",Oe,N,this.applyConfig(Ae))}clear(Oe){for(const N of this.toasts)if(void 0!==Oe){if(N.toastId===Oe)return void N.toastRef.manualClose()}else N.toastRef.manualClose()}remove(Oe){const N=this._findToast(Oe);if(!N||(N.activeToast.toastRef.close(),this.toasts.splice(N.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 Ae=this.toasts[this.currentlyActive].toastRef;Ae.isInactive()||(this.currentlyActive=this.currentlyActive+1,Ae.activate())}return!0}findDuplicate(Oe="",N="",Ae,Le){const{includeTitleDuplicates:St}=this.toastrConfig;for(const vt of this.toasts)if((!St||St&&vt.title===Oe)&&vt.message===N)return vt.toastRef.onDuplicate(Ae,Le),vt;return null}applyConfig(Oe={}){return{...this.toastrConfig,...Oe}}_findToast(Oe){for(let N=0;N<this.toasts.length;N++)if(this.toasts[N].toastId===Oe)return{index:N,activeToast:this.toasts[N]};return null}_preBuildNotification(Oe,N,Ae,Le){return Le.onActivateTick?this.ngZone.run(()=>this._buildNotification(Oe,N,Ae,Le)):this._buildNotification(Oe,N,Ae,Le)}_buildNotification(Oe,N,Ae,Le){if(!Le.toastComponent)throw new Error("toastComponent required");const St=this.findDuplicate(Ae,N,this.toastrConfig.resetTimeoutOnDuplicate&&Le.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&Ae||N)&&this.toastrConfig.preventDuplicates&&null!==St)return St;this.previousToastMessage=N;let vt=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(vt=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));const Lt=this.overlay.create(Le.positionClass,this.overlayContainer);this.index=this.index+1;let Mn=N;N&&Le.enableHtml&&(Mn=this.sanitizer.sanitize(I.q3G.HTML,N));const kn=new xe(Lt),Ct=new Ge(this.index,Le,Mn,Ae,Oe,kn),Un=I.zs3.create({providers:[{provide:Ge,useValue:Ct}],parent:this._injector}),On=new ue(Le.toastComponent,Un),Nt=Lt.attach(On,Le.newestOnTop);kn.componentInstance=Nt.instance;const jt={toastId:this.index,title:Ae||"",message:N||"",toastRef:kn,onShown:kn.afterActivate(),onHidden:kn.afterClosed(),onTap:Ct.onTap(),onAction:Ct.onAction(),portal:Nt};return vt||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{jt.toastRef.activate()})),this.toasts.push(jt),jt}}return ve=qe,U(qe,"\u0275fac",function(Oe){return new(Oe||ve)(I.LFG(ht),I.LFG($t),I.LFG(I.zs3),I.LFG(te.H7),I.LFG(I.R0b))}),U(qe,"\u0275prov",I.Yz7({token:ve,factory:ve.\u0275fac,providedIn:"root"})),qe})(),Cn=(()=>{var ve;class qe{get displayStyle(){if("inactive"===this.state.value)return"none"}constructor(Oe,N,Ae){U(this,"toastrService",void 0),U(this,"toastPackage",void 0),U(this,"ngZone",void 0),U(this,"message",void 0),U(this,"title",void 0),U(this,"options",void 0),U(this,"duplicatesCount",void 0),U(this,"originalTimeout",void 0),U(this,"width",-1),U(this,"toastClasses",""),U(this,"state",void 0),U(this,"timeout",void 0),U(this,"intervalId",void 0),U(this,"hideTime",void 0),U(this,"sub",void 0),U(this,"sub1",void 0),U(this,"sub2",void 0),U(this,"sub3",void 0),this.toastrService=Oe,this.toastPackage=N,this.ngZone=Ae,this.message=N.message,this.title=N.title,this.options=N.config,this.originalTimeout=N.config.timeOut,this.toastClasses=`${N.toastType} ${N.config.toastClass}`,this.sub=N.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=N.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=N.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=N.toastRef.countDuplicate().subscribe(Le=>{this.duplicatesCount=Le}),this.state={value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}}}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 Oe=(new Date).getTime();this.width=(this.hideTime-Oe)/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(Oe,N){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(Oe),N)):this.timeout=setTimeout(()=>Oe(),N)}outsideInterval(Oe,N){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(Oe),N)):this.intervalId=setInterval(()=>Oe(),N)}runInsideAngular(Oe){this.ngZone?this.ngZone.run(()=>Oe()):Oe()}}return ve=qe,U(qe,"\u0275fac",function(Oe){return new(Oe||ve)(I.Y36(gn),I.Y36(Ge),I.Y36(I.R0b))}),U(qe,"\u0275cmp",I.Xpm({type:ve,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(Oe,N){1&Oe&&I.NdJ("click",function(){return N.tapToast()})("mouseenter",function(){return N.stickAround()})("mouseleave",function(){return N.delayedHideToast()}),2&Oe&&(I.d8E("@flyInOut",N.state),I.Tol(N.toastClasses),I.Udp("display",N.displayStyle))},standalone:!0,features:[I.jDz],attrs:H,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(Oe,N){1&Oe&&(I.YNc(0,J,3,0,"button",0),I.YNc(1,Se,3,5,"div",1),I.YNc(2,Ie,1,3,"div",2),I.YNc(3,Ke,2,4,"div",3),I.YNc(4,we,2,2,"div",4)),2&Oe&&(I.Q6J("ngIf",N.options.closeButton),I.xp6(1),I.Q6J("ngIf",N.title),I.xp6(1),I.Q6J("ngIf",N.message&&N.options.enableHtml),I.xp6(1),I.Q6J("ngIf",N.message&&!N.options.enableHtml),I.xp6(1),I.Q6J("ngIf",N.options.progressBar))},dependencies:[Z.O5],encapsulation:2,data:{animation:[(0,Y.X$)("flyInOut",[(0,Y.SB)("inactive",(0,Y.oB)({opacity:0})),(0,Y.SB)("active",(0,Y.oB)({opacity:1})),(0,Y.SB)("removed",(0,Y.oB)({opacity:0})),(0,Y.eR)("inactive => active",(0,Y.jt)("{{ easeTime }}ms {{ easing }}")),(0,Y.eR)("active => removed",(0,Y.jt)("{{ easeTime }}ms {{ easing }}"))])]}})),qe})();const Ue={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",toastComponent:Cn},$e=(ve={})=>(0,I.MR2)([{provide:ht,useValue:{default:Ue,config:ve}}]);let Ye=(()=>{var ve;class qe{static forRoot(Oe={}){return{ngModule:qe,providers:[$e(Oe)]}}}return ve=qe,U(qe,"\u0275fac",function(Oe){return new(Oe||ve)}),U(qe,"\u0275mod",I.oAB({type:ve})),U(qe,"\u0275inj",I.cJS({})),qe})()},5861:(ft,De,v)=>{function s(W,U,I,Y,Z,re,te){try{var H=W[re](te),J=H.value}catch(fe){return void I(fe)}H.done?U(J):Promise.resolve(J).then(Y,Z)}function m(W){return function(){var U=this,I=arguments;return new Promise(function(Y,Z){var re=W.apply(U,I);function te(J){s(re,Y,Z,te,H,"next",J)}function H(J){s(re,Y,Z,te,H,"throw",J)}te(void 0)})}}v.d(De,{Z:()=>m})},7582:(ft,De,v)=>{function U(Ue,$e){var Ye={};for(var Qe in Ue)Object.prototype.hasOwnProperty.call(Ue,Qe)&&$e.indexOf(Qe)<0&&(Ye[Qe]=Ue[Qe]);if(null!=Ue&&"function"==typeof Object.getOwnPropertySymbols){var lt=0;for(Qe=Object.getOwnPropertySymbols(Ue);lt<Qe.length;lt++)$e.indexOf(Qe[lt])<0&&Object.prototype.propertyIsEnumerable.call(Ue,Qe[lt])&&(Ye[Qe[lt]]=Ue[Qe[lt]])}return Ye}function fe(Ue,$e,Ye,Qe){return new(Ye||(Ye=Promise))(function(dt,At){function ve(Oe){try{ye(Qe.next(Oe))}catch(N){At(N)}}function qe(Oe){try{ye(Qe.throw(Oe))}catch(N){At(N)}}function ye(Oe){Oe.done?dt(Oe.value):function lt(dt){return dt instanceof Ye?dt:new Ye(function(At){At(dt)})}(Oe.value).then(ve,qe)}ye((Qe=Qe.apply(Ue,$e||[])).next())})}function G(Ue){return this instanceof G?(this.v=Ue,this):new G(Ue)}function z(Ue,$e,Ye){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var lt,Qe=Ye.apply(Ue,$e||[]),dt=[];return lt={},At("next"),At("throw"),At("return"),lt[Symbol.asyncIterator]=function(){return this},lt;function At(Ae){Qe[Ae]&&(lt[Ae]=function(Le){return new Promise(function(St,vt){dt.push([Ae,Le,St,vt])>1||ve(Ae,Le)})})}function ve(Ae,Le){try{!function qe(Ae){Ae.value instanceof G?Promise.resolve(Ae.value.v).then(ye,Oe):N(dt[0][2],Ae)}(Qe[Ae](Le))}catch(St){N(dt[0][3],St)}}function ye(Ae){ve("next",Ae)}function Oe(Ae){ve("throw",Ae)}function N(Ae,Le){Ae(Le),dt.shift(),dt.length&&ve(dt[0][0],dt[0][1])}}function ue(Ue){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Ye,$e=Ue[Symbol.asyncIterator];return $e?$e.call(Ue):(Ue=function we(Ue){var $e="function"==typeof Symbol&&Symbol.iterator,Ye=$e&&Ue[$e],Qe=0;if(Ye)return Ye.call(Ue);if(Ue&&"number"==typeof Ue.length)return{next:function(){return Ue&&Qe>=Ue.length&&(Ue=void 0),{value:Ue&&Ue[Qe++],done:!Ue}}};throw new TypeError($e?"Object is not iterable.":"Symbol.iterator is not defined.")}(Ue),Ye={},Qe("next"),Qe("throw"),Qe("return"),Ye[Symbol.asyncIterator]=function(){return this},Ye);function Qe(dt){Ye[dt]=Ue[dt]&&function(At){return new Promise(function(ve,qe){!function lt(dt,At,ve,qe){Promise.resolve(qe).then(function(ye){dt({value:ye,done:ve})},At)}(ve,qe,(At=Ue[dt](At)).done,At.value)})}}}v.d(De,{FC:()=>z,KL:()=>ue,_T:()=>U,mG:()=>fe,qq:()=>G}),"function"==typeof SuppressedError&&SuppressedError}},ft=>{ft(ft.s=3943)}]);
|