dealpostools 2.5.2 → 2.5.3

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.
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkweb_tools=self.webpackChunkweb_tools||[]).push([[179],{6304:(tt,ve,I)=>{I.d(ve,{Dh:()=>ae,GT:()=>$,cc:()=>Te,hO:()=>xe,on:()=>U,pX:()=>z,xv:()=>de});var a=I(5879),u=I(7142),G=I(8186);tt=I.hmd(tt);const ne=["ngOnDestroy"],z=(Le,et,Ve,Z={})=>new Proxy(Le,{get:(De,me)=>Ve.runOutsideAngular(()=>{var Se;if(Le[me])return!(null===(Se=Z?.spy)||void 0===Se)&&Se.get&&Z.spy.get(me,Le[me]),Le[me];if(ne.indexOf(me)>-1)return()=>{};const We=et.toPromise().then($e=>{const st=$e&&$e[me];return"function"==typeof st?st.bind($e):st&&st.then?st.then(ht=>Ve.run(()=>ht)):Ve.run(()=>st)});return new Proxy(()=>{},{get:($e,st)=>We[st],apply:($e,st,ht)=>We.then(It=>{var St;const en=It&&It(...ht);return!(null===(St=Z?.spy)||void 0===St)&&St.apply&&Z.spy.apply(me,ht,en),en})})})}),$=(Le,et)=>{et.forEach(Ve=>{Object.getOwnPropertyNames(Ve.prototype||Ve).forEach(Z=>{Object.defineProperty(Le.prototype,Z,Object.getOwnPropertyDescriptor(Ve.prototype||Ve,Z))})})};class ee{constructor(et){return et}}const ae=new a.OlP("angularfire2.app.options"),de=new a.OlP("angularfire2.app.name");function U(Le,et,Ve){const De="object"==typeof Ve&&Ve||{};De.name=De.name||"string"==typeof Ve&&Ve||"[DEFAULT]";const Se=u.Z.apps.filter(We=>We&&We.name===De.name)[0]||et.runOutsideAngular(()=>u.Z.initializeApp(Le,De));try{JSON.stringify(Le)!==JSON.stringify(Se.options)&&J("error",`${Se.name} Firebase App already initialized with different options${tt.hot?", you may need to reload as Firebase is not HMR aware.":"."}`)}catch{}return new ee(Se)}const J=(Le,...et)=>{(0,a.X6Q)()&&typeof console<"u"&&console[Le](...et)},fe={provide:ee,useFactory:U,deps:[ae,a.R0b,[new a.FiY,de]]};let xe=(()=>{class Le{constructor(Ve){u.Z.registerVersion("angularfire",G.q4.full,"core"),u.Z.registerVersion("angularfire",G.q4.full,"app-compat"),u.Z.registerVersion("angular",a.q4F.full,Ve.toString())}static initializeApp(Ve,Z){return{ngModule:Le,providers:[{provide:ae,useValue:Ve},{provide:de,useValue:Z}]}}}return Le.\u0275fac=function(Ve){return new(Ve||Le)(a.LFG(a.Lbi))},Le.\u0275mod=a.oAB({type:Le}),Le.\u0275inj=a.cJS({providers:[fe]}),Le})();function Te(Le,et,Ve,Z,De){const[,me,Se]=globalThis.\u0275AngularfireInstanceCache.find(We=>We[0]===Le)||[];if(me)return function Ye(Le,et){try{return Le.toString()===et.toString()}catch{return Le===et}}(De,Se)||(je("error",`${et} was already initialized on the ${Ve} Firebase App with different settings.${Oe?" You may need to reload as Firebase is not HMR aware.":""}`),je("warn",{is:De,was:Se})),me;{const We=Z();return globalThis.\u0275AngularfireInstanceCache.push([Le,We,De]),We}}const Oe=!!tt.hot,je=(Le,...et)=>{(0,a.X6Q)()&&typeof console<"u"&&console[Le](...et)};globalThis.\u0275AngularfireInstanceCache||(globalThis.\u0275AngularfireInstanceCache=[])},8186:(tt,ve,I)=>{I.d(ve,{q4:()=>Ja,iC:()=>rl,HU:()=>Tc,vb:()=>vl,JM:()=>ms});var a=I(5879),u=I(3182),G=I(5861),ne=I(534),z=I(9058),$=I(4537),ee=I(7879);const ae=(m,E)=>E.some(P=>m instanceof P);let de,U;const xe=new WeakMap,Te=new WeakMap,Ye=new WeakMap,Oe=new WeakMap,je=new WeakMap;let Ve={get(m,E,P){if(m instanceof IDBTransaction){if("done"===E)return Te.get(m);if("objectStoreNames"===E)return m.objectStoreNames||Ye.get(m);if("store"===E)return P.objectStoreNames[1]?void 0:P.objectStore(P.objectStoreNames[0])}return Se(m[E])},set:(m,E,P)=>(m[E]=P,!0),has:(m,E)=>m instanceof IDBTransaction&&("done"===E||"store"===E)||E in m};function me(m){return"function"==typeof m?function De(m){return m!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?function fe(){return U||(U=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}().includes(m)?function(...E){return m.apply(We(this),E),Se(xe.get(this))}:function(...E){return Se(m.apply(We(this),E))}:function(E,...P){const W=m.call(We(this),E,...P);return Ye.set(W,E.sort?E.sort():[E]),Se(W)}}(m):(m instanceof IDBTransaction&&function et(m){if(Te.has(m))return;const E=new Promise((P,W)=>{const ce=()=>{m.removeEventListener("complete",be),m.removeEventListener("error",He),m.removeEventListener("abort",He)},be=()=>{P(),ce()},He=()=>{W(m.error||new DOMException("AbortError","AbortError")),ce()};m.addEventListener("complete",be),m.addEventListener("error",He),m.addEventListener("abort",He)});Te.set(m,E)}(m),ae(m,function J(){return de||(de=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}())?new Proxy(m,Ve):m)}function Se(m){if(m instanceof IDBRequest)return function Le(m){const E=new Promise((P,W)=>{const ce=()=>{m.removeEventListener("success",be),m.removeEventListener("error",He)},be=()=>{P(Se(m.result)),ce()},He=()=>{W(m.error),ce()};m.addEventListener("success",be),m.addEventListener("error",He)});return E.then(P=>{P instanceof IDBCursor&&xe.set(P,m)}).catch(()=>{}),je.set(E,m),E}(m);if(Oe.has(m))return Oe.get(m);const E=me(m);return E!==m&&(Oe.set(m,E),je.set(E,m)),E}const We=m=>je.get(m),ht=["get","getKey","getAll","getAllKeys","count"],It=["put","add","delete","clear"],St=new Map;function en(m,E){if(!(m instanceof IDBDatabase)||E in m||"string"!=typeof E)return;if(St.get(E))return St.get(E);const P=E.replace(/FromIndex$/,""),W=E!==P,ce=It.includes(P);if(!(P in(W?IDBIndex:IDBObjectStore).prototype)||!ce&&!ht.includes(P))return;const be=function(){var He=(0,G.Z)(function*(ft,...ut){const Et=this.transaction(ft,ce?"readwrite":"readonly");let Wt=Et.store;return W&&(Wt=Wt.index(ut.shift())),(yield Promise.all([Wt[P](...ut),ce&&Et.done]))[0]});return function(ut){return He.apply(this,arguments)}}();return St.set(E,be),be}!function Z(m){Ve=m(Ve)}(m=>({...m,get:(E,P,W)=>en(E,P)||m.get(E,P,W),has:(E,P)=>!!en(E,P)||m.has(E,P)}));const pn="@firebase/installations",on="0.6.4",or=1e4,_r=`w:${on}`,Pe="FIS_v2",Ne="https://firebaseinstallations.googleapis.com/v1",Ue=36e5,Ae=new z.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 _e(m){return m instanceof z.ZR&&m.code.includes("request-failed")}function pe({projectId:m}){return`${Ne}/projects/${m}/installations`}function Xe(m){return{token:m.token,requestStatus:2,expiresIn:xn(m.expiresIn),creationTime:Date.now()}}function pt(m,E){return Dt.apply(this,arguments)}function Dt(){return(Dt=(0,G.Z)(function*(m,E){const W=(yield E.json()).error;return Ae.create("request-failed",{requestName:m,serverCode:W.code,serverMessage:W.message,serverStatus:W.status})})).apply(this,arguments)}function Ct({apiKey:m}){return new Headers({"Content-Type":"application/json",Accept:"application/json","x-goog-api-key":m})}function sn(m){return xt.apply(this,arguments)}function xt(){return(xt=(0,G.Z)(function*(m){const E=yield m();return E.status>=500&&E.status<600?m():E})).apply(this,arguments)}function xn(m){return Number(m.replace("s","000"))}function Jn(){return(Jn=(0,G.Z)(function*({appConfig:m,heartbeatServiceProvider:E},{fid:P}){const W=pe(m),ce=Ct(m),be=E.getImmediate({optional:!0});if(be){const Et=yield be.getHeartbeatsHeader();Et&&ce.append("x-firebase-client",Et)}const ft={method:"POST",headers:ce,body:JSON.stringify({fid:P,authVersion:Pe,appId:m.appId,sdkVersion:_r})},ut=yield sn(()=>fetch(W,ft));if(ut.ok){const Et=yield ut.json();return{fid:Et.fid||P,registrationStatus:2,refreshToken:Et.refreshToken,authToken:Xe(Et.authToken)}}throw yield pt("Create Installation",ut)})).apply(this,arguments)}function Vn(m){return new Promise(E=>{setTimeout(E,m)})}const Xn=/^[cdef][\w-]{21}$/,ct="";function Vt(){try{const m=new Uint8Array(17);(self.crypto||self.msCrypto).getRandomValues(m),m[0]=112+m[0]%16;const P=function Tt(m){return function sr(m){return btoa(String.fromCharCode(...m)).replace(/\+/g,"-").replace(/\//g,"_")}(m).substr(0,22)}(m);return Xn.test(P)?P:ct}catch{return ct}}function rn(m){return`${m.appName}!${m.appId}`}const jn=new Map;function jt(m,E){const P=rn(m);Ur(P,E),function cn(m,E){const P=function kt(){return!ir&&"BroadcastChannel"in self&&(ir=new BroadcastChannel("[Firebase] FID Change"),ir.onmessage=m=>{Ur(m.data.key,m.data.fid)}),ir}();P&&P.postMessage({key:m,fid:E}),function Mn(){0===jn.size&&ir&&(ir.close(),ir=null)}()}(P,E)}function Ur(m,E){const P=jn.get(m);if(P)for(const W of P)W(E)}let ir=null;const Yn="firebase-installations-database",zn=1,Fn="firebase-installations-store";let En=null;function Ln(){return En||(En=function $e(m,E,{blocked:P,upgrade:W,blocking:ce,terminated:be}={}){const He=indexedDB.open(m,E),ft=Se(He);return W&&He.addEventListener("upgradeneeded",ut=>{W(Se(He.result),ut.oldVersion,ut.newVersion,Se(He.transaction))}),P&&He.addEventListener("blocked",()=>P()),ft.then(ut=>{be&&ut.addEventListener("close",()=>be()),ce&&ut.addEventListener("versionchange",()=>ce())}).catch(()=>{}),ft}(Yn,zn,{upgrade:(m,E)=>{0===E&&m.createObjectStore(Fn)}})),En}function ar(m,E){return er.apply(this,arguments)}function er(){return(er=(0,G.Z)(function*(m,E){const P=rn(m),ce=(yield Ln()).transaction(Fn,"readwrite"),be=ce.objectStore(Fn),He=yield be.get(P);return yield be.put(E,P),yield ce.done,(!He||He.fid!==E.fid)&&jt(m,E.fid),E})).apply(this,arguments)}function lr(m){return vr.apply(this,arguments)}function vr(){return(vr=(0,G.Z)(function*(m){const E=rn(m),W=(yield Ln()).transaction(Fn,"readwrite");yield W.objectStore(Fn).delete(E),yield W.done})).apply(this,arguments)}function Dr(m,E){return so.apply(this,arguments)}function so(){return(so=(0,G.Z)(function*(m,E){const P=rn(m),ce=(yield Ln()).transaction(Fn,"readwrite"),be=ce.objectStore(Fn),He=yield be.get(P),ft=E(He);return void 0===ft?yield be.delete(P):yield be.put(ft,P),yield ce.done,ft&&(!He||He.fid!==ft.fid)&&jt(m,ft.fid),ft})).apply(this,arguments)}function ie(m){return k.apply(this,arguments)}function k(){return k=(0,G.Z)(function*(m){let E;const P=yield Dr(m.appConfig,W=>{const ce=function x(m){return lt(m||{fid:Vt(),registrationStatus:0})}(W),be=function te(m,E){if(0===E.registrationStatus){if(!navigator.onLine)return{installationEntry:E,registrationPromise:Promise.reject(Ae.create("app-offline"))};const P={fid:E.fid,registrationStatus:1,registrationTime:Date.now()},W=function L(m,E){return se.apply(this,arguments)}(m,P);return{installationEntry:P,registrationPromise:W}}return 1===E.registrationStatus?{installationEntry:E,registrationPromise:Re(m)}:{installationEntry:E}}(m,ce);return E=be.registrationPromise,be.installationEntry});return P.fid===ct?{installationEntry:yield E}:{installationEntry:P,registrationPromise:E}}),k.apply(this,arguments)}function se(){return se=(0,G.Z)(function*(m,E){try{const P=yield function yr(m,E){return Jn.apply(this,arguments)}(m,E);return ar(m.appConfig,P)}catch(P){throw _e(P)&&409===P.customData.serverCode?yield lr(m.appConfig):yield ar(m.appConfig,{fid:E.fid,registrationStatus:0}),P}}),se.apply(this,arguments)}function Re(m){return Qe.apply(this,arguments)}function Qe(){return(Qe=(0,G.Z)(function*(m){let E=yield vt(m.appConfig);for(;1===E.registrationStatus;)yield Vn(100),E=yield vt(m.appConfig);if(0===E.registrationStatus){const{installationEntry:P,registrationPromise:W}=yield ie(m);return W||P}return E})).apply(this,arguments)}function vt(m){return Dr(m,E=>{if(!E)throw Ae.create("installation-not-found");return lt(E)})}function lt(m){return function Lt(m){return 1===m.registrationStatus&&m.registrationTime+or<Date.now()}(m)?{fid:m.fid,registrationStatus:0}:m}function Qt(){return(Qt=(0,G.Z)(function*({appConfig:m,heartbeatServiceProvider:E},P){const W=function ye(m,{fid:E}){return`${pe(m)}/${E}/authTokens:generate`}(m,P),ce=function Yt(m,{refreshToken:E}){const P=Ct(m);return P.append("Authorization",function Sn(m){return`${Pe} ${m}`}(E)),P}(m,P),be=E.getImmediate({optional:!0});if(be){const Et=yield be.getHeartbeatsHeader();Et&&ce.append("x-firebase-client",Et)}const ft={method:"POST",headers:ce,body:JSON.stringify({installation:{sdkVersion:_r,appId:m.appId}})},ut=yield sn(()=>fetch(W,ft));if(ut.ok)return Xe(yield ut.json());throw yield pt("Generate Auth Token",ut)})).apply(this,arguments)}function re(m){return Ie.apply(this,arguments)}function Ie(){return Ie=(0,G.Z)(function*(m,E=!1){let P;const W=yield Dr(m.appConfig,be=>{if(!gt(be))throw Ae.create("not-registered");const He=be.authToken;if(!E&&function mt(m){return 2===m.requestStatus&&!function un(m){const E=Date.now();return E<m.creationTime||m.creationTime+m.expiresIn<E+Ue}(m)}(He))return be;if(1===He.requestStatus)return P=function K(m,E){return oe.apply(this,arguments)}(m,E),be;{if(!navigator.onLine)throw Ae.create("app-offline");const ft=function Cn(m){const E={requestStatus:1,requestTime:Date.now()};return Object.assign(Object.assign({},m),{authToken:E})}(be);return P=function Ze(m,E){return ke.apply(this,arguments)}(m,ft),ft}});return P?yield P:W.authToken}),Ie.apply(this,arguments)}function oe(){return(oe=(0,G.Z)(function*(m,E){let P=yield ge(m.appConfig);for(;1===P.authToken.requestStatus;)yield Vn(100),P=yield ge(m.appConfig);const W=P.authToken;return 0===W.requestStatus?re(m,E):W})).apply(this,arguments)}function ge(m){return Dr(m,E=>{if(!gt(E))throw Ae.create("not-registered");return function dn(m){return 1===m.requestStatus&&m.requestTime+or<Date.now()}(E.authToken)?Object.assign(Object.assign({},E),{authToken:{requestStatus:0}}):E})}function ke(){return ke=(0,G.Z)(function*(m,E){try{const P=yield function bt(m,E){return Qt.apply(this,arguments)}(m,E),W=Object.assign(Object.assign({},E),{authToken:P});return yield ar(m.appConfig,W),P}catch(P){if(!_e(P)||401!==P.customData.serverCode&&404!==P.customData.serverCode){const W=Object.assign(Object.assign({},E),{authToken:{requestStatus:0}});yield ar(m.appConfig,W)}else yield lr(m.appConfig);throw P}}),ke.apply(this,arguments)}function gt(m){return void 0!==m&&2===m.registrationStatus}function Sr(){return(Sr=(0,G.Z)(function*(m){const E=m,{installationEntry:P,registrationPromise:W}=yield ie(E);return W?W.catch(console.error):re(E).catch(console.error),P.fid})).apply(this,arguments)}function tn(){return tn=(0,G.Z)(function*(m,E=!1){const P=m;return yield function wn(m){return Lr.apply(this,arguments)}(P),(yield re(P,E)).token}),tn.apply(this,arguments)}function Lr(){return(Lr=(0,G.Z)(function*(m){const{registrationPromise:E}=yield ie(m);E&&(yield E)})).apply(this,arguments)}function To(m){return Ae.create("missing-app-config-values",{valueName:m})}const Us="installations",fa=m=>{const E=m.getProvider("app").getImmediate(),P=function Er(m){if(!m||!m.options)throw To("App Configuration");if(!m.name)throw To("App Name");const E=["projectId","apiKey","appId"];for(const P of E)if(!m.options[P])throw To(P);return{appName:m.name,projectId:m.options.projectId,apiKey:m.options.apiKey,appId:m.options.appId}}(E);return{app:E,appConfig:P,heartbeatServiceProvider:(0,ne._getProvider)(E,"heartbeat"),_delete:()=>Promise.resolve()}},Ii=m=>{const E=m.getProvider("app").getImmediate(),P=(0,ne._getProvider)(E,Us).getImmediate();return{getId:()=>function Gn(m){return Sr.apply(this,arguments)}(P),getToken:ce=>function Zr(m){return tn.apply(this,arguments)}(P,ce)}};(function Es(){(0,ne._registerComponent)(new $.wA(Us,fa,"PUBLIC")),(0,ne._registerComponent)(new $.wA("installations-internal",Ii,"PRIVATE"))})(),(0,ne.registerVersion)(pn,on),(0,ne.registerVersion)(pn,on,"esm2017");const ko="@firebase/remote-config",Ar=new z.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 Pt{constructor(E,P,W,ce){this.client=E,this.storage=P,this.storageCache=W,this.logger=ce}isCachedDataFresh(E,P){if(!P)return this.logger.debug("Config fetch cache check. Cache unpopulated."),!1;const W=Date.now()-P,ce=W<=E;return this.logger.debug(`Config fetch cache check. Cache age millis: ${W}. Cache max age millis (minimumFetchIntervalMillis setting): ${E}. Is cache hit: ${ce}.`),ce}fetch(E){var P=this;return(0,G.Z)(function*(){const[W,ce]=yield Promise.all([P.storage.getLastSuccessfulFetchTimestampMillis(),P.storage.getLastSuccessfulFetchResponse()]);if(ce&&P.isCachedDataFresh(E.cacheMaxAgeMillis,W))return ce;E.eTag=ce&&ce.eTag;const be=yield P.client.fetch(E),He=[P.storageCache.setLastSuccessfulFetchTimestampMillis(Date.now())];return 200===be.status&&He.push(P.storage.setLastSuccessfulFetchResponse(be)),yield Promise.all(He),be})()}}function Pn(m=navigator){return m.languages&&m.languages[0]||m.language}class Cr{constructor(E,P,W,ce,be,He){this.firebaseInstallations=E,this.sdkVersion=P,this.namespace=W,this.projectId=ce,this.apiKey=be,this.appId=He}fetch(E){var P=this;return(0,G.Z)(function*(){const[W,ce]=yield Promise.all([P.firebaseInstallations.getId(),P.firebaseInstallations.getToken()]),He=`${window.FIREBASE_REMOTE_CONFIG_URL_BASE||"https://firebaseremoteconfig.googleapis.com"}/v1/projects/${P.projectId}/namespaces/${P.namespace}:fetch?key=${P.apiKey}`,ft={"Content-Type":"application/json","Content-Encoding":"gzip","If-None-Match":E.eTag||"*"},ut={sdk_version:P.sdkVersion,app_instance_id:W,app_instance_id_token:ce,app_id:P.appId,language_code:Pn()},Et={method:"POST",headers:ft,body:JSON.stringify(ut)},Wt=fetch(He,Et),Kt=new Promise((Co,oi)=>{E.signal.addEventListener(()=>{const zo=new Error("The operation was aborted.");zo.name="AbortError",oi(zo)})});let to;try{yield Promise.race([Wt,Kt]),to=yield Wt}catch(Co){let oi="fetch-client-network";throw"AbortError"===Co?.name&&(oi="fetch-timeout"),Ar.create(oi,{originalErrorMessage:Co?.message})}let no=to.status;const Sa=to.headers.get("ETag")||void 0;let dr,ia;if(200===to.status){let Co;try{Co=yield to.json()}catch(oi){throw Ar.create("fetch-client-parse",{originalErrorMessage:oi?.message})}dr=Co.entries,ia=Co.state}if("INSTANCE_STATE_UNSPECIFIED"===ia?no=500:"NO_CHANGE"===ia?no=304:("NO_TEMPLATE"===ia||"EMPTY_CONFIG"===ia)&&(dr={}),304!==no&&200!==no)throw Ar.create("fetch-status",{httpStatus:no});return{status:no,eTag:Sa,config:dr}})()}}class mo{constructor(E,P){this.client=E,this.storage=P}fetch(E){var P=this;return(0,G.Z)(function*(){const W=(yield P.storage.getThrottleMetadata())||{backoffCount:0,throttleEndTimeMillis:Date.now()};return P.attemptFetch(E,W)})()}attemptFetch(E,{throttleEndTimeMillis:P,backoffCount:W}){var ce=this;return(0,G.Z)(function*(){yield function Io(m,E){return new Promise((P,W)=>{const ce=Math.max(E-Date.now(),0),be=setTimeout(P,ce);m.addEventListener(()=>{clearTimeout(be),W(Ar.create("fetch-throttle",{throttleEndTimeMillis:E}))})})}(E.signal,P);try{const be=yield ce.client.fetch(E);return yield ce.storage.deleteThrottleMetadata(),be}catch(be){if(!function qn(m){if(!(m instanceof z.ZR&&m.customData))return!1;const E=Number(m.customData.httpStatus);return 429===E||500===E||503===E||504===E}(be))throw be;const He={throttleEndTimeMillis:Date.now()+(0,z.$s)(W),backoffCount:W+1};return yield ce.storage.setThrottleMetadata(He),ce.attemptFetch(E,He)}})()}}class ao{constructor(E,P,W,ce,be){this.app=E,this._client=P,this._storageCache=W,this._storage=ce,this._logger=be,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 Rt(m,E){const P=m.target.error||void 0;return Ar.create(E,{originalErrorMessage:P&&P?.message})}const Kr="app_namespace_store";class lo{constructor(E,P,W,ce=function Zn(){return new Promise((m,E)=>{try{const P=indexedDB.open("firebase_remote_config",1);P.onerror=W=>{E(Rt(W,"storage-open"))},P.onsuccess=W=>{m(W.target.result)},P.onupgradeneeded=W=>{0===W.oldVersion&&W.target.result.createObjectStore(Kr,{keyPath:"compositeKey"})}}catch(P){E(Ar.create("storage-open",{originalErrorMessage:P?.message}))}})}()){this.appId=E,this.appName=P,this.namespace=W,this.openDbPromise=ce}getLastFetchStatus(){return this.get("last_fetch_status")}setLastFetchStatus(E){return this.set("last_fetch_status",E)}getLastSuccessfulFetchTimestampMillis(){return this.get("last_successful_fetch_timestamp_millis")}setLastSuccessfulFetchTimestampMillis(E){return this.set("last_successful_fetch_timestamp_millis",E)}getLastSuccessfulFetchResponse(){return this.get("last_successful_fetch_response")}setLastSuccessfulFetchResponse(E){return this.set("last_successful_fetch_response",E)}getActiveConfig(){return this.get("active_config")}setActiveConfig(E){return this.set("active_config",E)}getActiveConfigEtag(){return this.get("active_config_etag")}setActiveConfigEtag(E){return this.set("active_config_etag",E)}getThrottleMetadata(){return this.get("throttle_metadata")}setThrottleMetadata(E){return this.set("throttle_metadata",E)}deleteThrottleMetadata(){return this.delete("throttle_metadata")}get(E){var P=this;return(0,G.Z)(function*(){const W=yield P.openDbPromise;return new Promise((ce,be)=>{const ft=W.transaction([Kr],"readonly").objectStore(Kr),ut=P.createCompositeKey(E);try{const Et=ft.get(ut);Et.onerror=Wt=>{be(Rt(Wt,"storage-get"))},Et.onsuccess=Wt=>{const Kt=Wt.target.result;ce(Kt?Kt.value:void 0)}}catch(Et){be(Ar.create("storage-get",{originalErrorMessage:Et?.message}))}})})()}set(E,P){var W=this;return(0,G.Z)(function*(){const ce=yield W.openDbPromise;return new Promise((be,He)=>{const ut=ce.transaction([Kr],"readwrite").objectStore(Kr),Et=W.createCompositeKey(E);try{const Wt=ut.put({compositeKey:Et,value:P});Wt.onerror=Kt=>{He(Rt(Kt,"storage-set"))},Wt.onsuccess=()=>{be()}}catch(Wt){He(Ar.create("storage-set",{originalErrorMessage:Wt?.message}))}})})()}delete(E){var P=this;return(0,G.Z)(function*(){const W=yield P.openDbPromise;return new Promise((ce,be)=>{const ft=W.transaction([Kr],"readwrite").objectStore(Kr),ut=P.createCompositeKey(E);try{const Et=ft.delete(ut);Et.onerror=Wt=>{be(Rt(Wt,"storage-delete"))},Et.onsuccess=()=>{ce()}}catch(Et){be(Ar.create("storage-delete",{originalErrorMessage:Et?.message}))}})})()}createCompositeKey(E){return[this.appId,this.appName,this.namespace,E].join()}}class Yo{constructor(E){this.storage=E}getLastFetchStatus(){return this.lastFetchStatus}getLastSuccessfulFetchTimestampMillis(){return this.lastSuccessfulFetchTimestampMillis}getActiveConfig(){return this.activeConfig}loadFromStorage(){var E=this;return(0,G.Z)(function*(){const P=E.storage.getLastFetchStatus(),W=E.storage.getLastSuccessfulFetchTimestampMillis(),ce=E.storage.getActiveConfig(),be=yield P;be&&(E.lastFetchStatus=be);const He=yield W;He&&(E.lastSuccessfulFetchTimestampMillis=He);const ft=yield ce;ft&&(E.activeConfig=ft)})()}setLastFetchStatus(E){return this.lastFetchStatus=E,this.storage.setLastFetchStatus(E)}setLastSuccessfulFetchTimestampMillis(E){return this.lastSuccessfulFetchTimestampMillis=E,this.storage.setLastSuccessfulFetchTimestampMillis(E)}setActiveConfig(E){return this.activeConfig=E,this.storage.setActiveConfig(E)}}function qo(){return co.apply(this,arguments)}function co(){return(co=(0,G.Z)(function*(){if(!(0,z.hl)())return!1;try{return yield(0,z.eu)()}catch{return!1}})).apply(this,arguments)}!function Hr(){(0,ne._registerComponent)(new $.wA("remote-config",function m(E,{instanceIdentifier:P}){const W=E.getProvider("app").getImmediate(),ce=E.getProvider("installations-internal").getImmediate();if(typeof window>"u")throw Ar.create("registration-window");if(!(0,z.hl)())throw Ar.create("indexed-db-unavailable");const{projectId:be,apiKey:He,appId:ft}=W.options;if(!be)throw Ar.create("registration-project-id");if(!He)throw Ar.create("registration-api-key");if(!ft)throw Ar.create("registration-app-id");const ut=new lo(ft,W.name,P=P||"firebase"),Et=new Yo(ut),Wt=new ee.Yd(ko);Wt.logLevel=ee.in.ERROR;const Kt=new Cr(ce,ne.SDK_VERSION,P,be,He,ft),to=new mo(Kt,ut),no=new Pt(to,ut,Et,Wt),Sa=new ao(W,no,Et,ut,Wt);return function Un(m){const E=(0,z.m9)(m);E._initializePromise||(E._initializePromise=E._storageCache.loadFromStorage().then(()=>{E._isInitializationComplete=!0}))}(Sa),Sa},"PUBLIC").setMultipleInstances(!0)),(0,ne.registerVersion)(ko,"0.4.4"),(0,ne.registerVersion)(ko,"0.4.4","esm2017")}();const Qo=(m,E)=>E.some(P=>m instanceof P);let uo,Zt;const Jo=new WeakMap,Rn=new WeakMap,Vo=new WeakMap,Xr=new WeakMap,jo=new WeakMap;let Pr={get(m,E,P){if(m instanceof IDBTransaction){if("done"===E)return Rn.get(m);if("objectStoreNames"===E)return m.objectStoreNames||Vo.get(m);if("store"===E)return P.objectStoreNames[1]?void 0:P.objectStore(P.objectStoreNames[0])}return Rr(m[E])},set:(m,E,P)=>(m[E]=P,!0),has:(m,E)=>m instanceof IDBTransaction&&("done"===E||"store"===E)||E in m};function us(m){return"function"==typeof m?function Ws(m){return m!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?function $r(){return Zt||(Zt=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}().includes(m)?function(...E){return m.apply(Nr(this),E),Rr(Jo.get(this))}:function(...E){return Rr(m.apply(Nr(this),E))}:function(E,...P){const W=m.call(Nr(this),E,...P);return Vo.set(W,E.sort?E.sort():[E]),Rr(W)}}(m):(m instanceof IDBTransaction&&function Fa(m){if(Rn.has(m))return;const E=new Promise((P,W)=>{const ce=()=>{m.removeEventListener("complete",be),m.removeEventListener("error",He),m.removeEventListener("abort",He)},be=()=>{P(),ce()},He=()=>{W(m.error||new DOMException("AbortError","AbortError")),ce()};m.addEventListener("complete",be),m.addEventListener("error",He),m.addEventListener("abort",He)});Rn.set(m,E)}(m),Qo(m,function Ai(){return uo||(uo=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}())?new Proxy(m,Pr):m)}function Rr(m){if(m instanceof IDBRequest)return function br(m){const E=new Promise((P,W)=>{const ce=()=>{m.removeEventListener("success",be),m.removeEventListener("error",He)},be=()=>{P(Rr(m.result)),ce()},He=()=>{W(m.error),ce()};m.addEventListener("success",be),m.addEventListener("error",He)});return E.then(P=>{P instanceof IDBCursor&&Jo.set(P,m)}).catch(()=>{}),jo.set(E,m),E}(m);if(Xr.has(m))return Xr.get(m);const E=us(m);return E!==m&&(Xr.set(m,E),jo.set(E,m)),E}const Nr=m=>jo.get(m);function As(m,E,{blocked:P,upgrade:W,blocking:ce,terminated:be}={}){const He=indexedDB.open(m,E),ft=Rr(He);return W&&He.addEventListener("upgradeneeded",ut=>{W(Rr(He.result),ut.oldVersion,ut.newVersion,Rr(He.transaction))}),P&&He.addEventListener("blocked",()=>P()),ft.then(ut=>{be&&ut.addEventListener("close",()=>be()),ce&&ut.addEventListener("versionchange",()=>ce())}).catch(()=>{}),ft}function ai(m,{blocked:E}={}){const P=indexedDB.deleteDatabase(m);return E&&P.addEventListener("blocked",()=>E()),Rr(P).then(()=>{})}const Xo=["get","getKey","getAll","getAllKeys","count"],li=["put","add","delete","clear"],Zs=new Map;function ci(m,E){if(!(m instanceof IDBDatabase)||E in m||"string"!=typeof E)return;if(Zs.get(E))return Zs.get(E);const P=E.replace(/FromIndex$/,""),W=E!==P,ce=li.includes(P);if(!(P in(W?IDBIndex:IDBObjectStore).prototype)||!ce&&!Xo.includes(P))return;const be=function(){var He=(0,G.Z)(function*(ft,...ut){const Et=this.transaction(ft,ce?"readwrite":"readonly");let Wt=Et.store;return W&&(Wt=Wt.index(ut.shift())),(yield Promise.all([Wt[P](...ut),ce&&Et.done]))[0]});return function(ut){return He.apply(this,arguments)}}();return Zs.set(E,be),be}!function tr(m){Pr=m(Pr)}(m=>({...m,get:(E,P,W)=>ci(E,P)||m.get(E,P,W),has:(E,P)=>!!ci(E,P)||m.has(E,P)}));const A="/firebase-messaging-sw.js",w="/firebase-cloud-messaging-push-scope",B="BDOU99-h67HcA6JeFXHbSNMu7e2yNNu3RzoMj8TM4W88jITfq7ZmPvIM1Iv-4_l2LxQcYwhqby2xGpWwzjfAnG4",O="https://fcmregistrations.googleapis.com/v1",H="google.c.a.c_id",rt="google.c.a.c_l",Ut="google.c.a.ts";var ds=function(m){return m.PUSH_RECEIVED="push-received",m.NOTIFICATION_CLICKED="notification-clicked",m}(ds||{});function yo(m){const E=new Uint8Array(m);return btoa(String.fromCharCode(...E)).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function ll(m){const P=(m+"=".repeat((4-m.length%4)%4)).replace(/\-/g,"+").replace(/_/g,"/"),W=atob(P),ce=new Uint8Array(W.length);for(let be=0;be<W.length;++be)ce[be]=W.charCodeAt(be);return ce}const ui="fcm_token_details_db",ha=5,La="fcm_token_object_Store";function Oi(){return Oi=(0,G.Z)(function*(m){if("databases"in indexedDB&&!(yield indexedDB.databases()).map(be=>be.name).includes(ui))return null;let E=null;return(yield As(ui,ha,{upgrade:(W=(0,G.Z)(function*(ce,be,He,ft){var ut;if(be<2||!ce.objectStoreNames.contains(La))return;const Et=ft.objectStore(La),Wt=yield Et.index("fcmSenderId").get(m);if(yield Et.clear(),Wt)if(2===be){const Kt=Wt;if(!Kt.auth||!Kt.p256dh||!Kt.endpoint)return;E={token:Kt.fcmToken,createTime:null!==(ut=Kt.createTime)&&void 0!==ut?ut:Date.now(),subscriptionOptions:{auth:Kt.auth,p256dh:Kt.p256dh,endpoint:Kt.endpoint,swScope:Kt.swScope,vapidKey:"string"==typeof Kt.vapidKey?Kt.vapidKey:yo(Kt.vapidKey)}}}else if(3===be){const Kt=Wt;E={token:Kt.fcmToken,createTime:Kt.createTime,subscriptionOptions:{auth:yo(Kt.auth),p256dh:yo(Kt.p256dh),endpoint:Kt.endpoint,swScope:Kt.swScope,vapidKey:yo(Kt.vapidKey)}}}else if(4===be){const Kt=Wt;E={token:Kt.fcmToken,createTime:Kt.createTime,subscriptionOptions:{auth:yo(Kt.auth),p256dh:yo(Kt.p256dh),endpoint:Kt.endpoint,swScope:Kt.swScope,vapidKey:yo(Kt.vapidKey)}}}}),function(be,He,ft,ut){return W.apply(this,arguments)})})).close(),yield ai(ui),yield ai("fcm_vapid_details_db"),yield ai("undefined"),function qr(m){if(!m||!m.subscriptionOptions)return!1;const{subscriptionOptions:E}=m;return"number"==typeof m.createTime&&m.createTime>0&&"string"==typeof m.token&&m.token.length>0&&"string"==typeof E.auth&&E.auth.length>0&&"string"==typeof E.p256dh&&E.p256dh.length>0&&"string"==typeof E.endpoint&&E.endpoint.length>0&&"string"==typeof E.swScope&&E.swScope.length>0&&"string"==typeof E.vapidKey&&E.vapidKey.length>0}(E)?E:null;var W}),Oi.apply(this,arguments)}const So="firebase-messaging-database",Pi=1,Vr="firebase-messaging-store";let cr=null;function vo(){return cr||(cr=As(So,Pi,{upgrade:(m,E)=>{0===E&&m.createObjectStore(Vr)}})),cr}function jr(m){return es.apply(this,arguments)}function es(){return es=(0,G.Z)(function*(m){const E=Ks(m),W=yield(yield vo()).transaction(Vr).objectStore(Vr).get(E);if(W)return W;{const ce=yield function cl(m){return Oi.apply(this,arguments)}(m.appConfig.senderId);if(ce)return yield di(m,ce),ce}}),es.apply(this,arguments)}function di(m,E){return fi.apply(this,arguments)}function fi(){return(fi=(0,G.Z)(function*(m,E){const P=Ks(m),ce=(yield vo()).transaction(Vr,"readwrite");return yield ce.objectStore(Vr).put(E,P),yield ce.done,E})).apply(this,arguments)}function ts(){return(ts=(0,G.Z)(function*(m){const E=Ks(m),W=(yield vo()).transaction(Vr,"readwrite");yield W.objectStore(Vr).delete(E),yield W.done})).apply(this,arguments)}function Ks({appConfig:m}){return m.appId}const hr=new z.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 pa(m,E){return Ni.apply(this,arguments)}function Ni(){return(Ni=(0,G.Z)(function*(m,E){const P=yield ea(m),W=ki(E),ce={method:"POST",headers:P,body:JSON.stringify(W)};let be;try{be=yield(yield fetch(xi(m.appConfig),ce)).json()}catch(He){throw hr.create("token-subscribe-failed",{errorInfo:He?.toString()})}if(be.error)throw hr.create("token-subscribe-failed",{errorInfo:be.error.message});if(!be.token)throw hr.create("token-subscribe-no-token");return be.token})).apply(this,arguments)}function fs(){return(fs=(0,G.Z)(function*(m,E){const P=yield ea(m),W=ki(E.subscriptionOptions),ce={method:"PATCH",headers:P,body:JSON.stringify(W)};let be;try{be=yield(yield fetch(`${xi(m.appConfig)}/${E.token}`,ce)).json()}catch(He){throw hr.create("token-update-failed",{errorInfo:He?.toString()})}if(be.error)throw hr.create("token-update-failed",{errorInfo:be.error.message});if(!be.token)throw hr.create("token-update-no-token");return be.token})).apply(this,arguments)}function Os(m,E){return ns.apply(this,arguments)}function ns(){return(ns=(0,G.Z)(function*(m,E){const W={method:"DELETE",headers:yield ea(m)};try{const be=yield(yield fetch(`${xi(m.appConfig)}/${E}`,W)).json();if(be.error)throw hr.create("token-unsubscribe-failed",{errorInfo:be.error.message})}catch(ce){throw hr.create("token-unsubscribe-failed",{errorInfo:ce?.toString()})}})).apply(this,arguments)}function xi({projectId:m}){return`${O}/projects/${m}/registrations`}function ea(m){return Ys.apply(this,arguments)}function Ys(){return(Ys=(0,G.Z)(function*({appConfig:m,installations:E}){const P=yield E.getToken();return new Headers({"Content-Type":"application/json",Accept:"application/json","x-goog-api-key":m.apiKey,"x-goog-firebase-installations-auth":`FIS ${P}`})})).apply(this,arguments)}function ki({p256dh:m,auth:E,endpoint:P,vapidKey:W}){const ce={web:{endpoint:P,auth:E,p256dh:m}};return W!==B&&(ce.web.applicationPubKey=W),ce}const pi=6048e5;function Fi(){return Fi=(0,G.Z)(function*(m){const E=yield function _i(m,E){return yi.apply(this,arguments)}(m.swRegistration,m.vapidKey),P={vapidKey:m.vapidKey,swScope:m.swRegistration.scope,endpoint:E.endpoint,auth:yo(E.getKey("auth")),p256dh:yo(E.getKey("p256dh"))},W=yield jr(m.firebaseDependencies);if(W){if(function g(m,E){return E.vapidKey===m.vapidKey&&E.endpoint===m.endpoint&&E.auth===m.auth&&E.p256dh===m.p256dh}(W.subscriptionOptions,P))return Date.now()>=W.createTime+pi?function dl(m,E){return mi.apply(this,arguments)}(m,{token:W.token,createTime:Date.now(),subscriptionOptions:P}):W.token;try{yield Os(m.firebaseDependencies,W.token)}catch(ce){console.warn(ce)}return ga(m.firebaseDependencies,P)}return ga(m.firebaseDependencies,P)}),Fi.apply(this,arguments)}function gi(){return gi=(0,G.Z)(function*(m){const E=yield jr(m.firebaseDependencies);E&&(yield Os(m.firebaseDependencies,E.token),yield function Ri(m){return ts.apply(this,arguments)}(m.firebaseDependencies));const P=yield m.swRegistration.pushManager.getSubscription();return!P||P.unsubscribe()}),gi.apply(this,arguments)}function mi(){return mi=(0,G.Z)(function*(m,E){try{const P=yield function zt(m,E){return fs.apply(this,arguments)}(m.firebaseDependencies,E),W=Object.assign(Object.assign({},E),{token:P,createTime:Date.now()});return yield di(m.firebaseDependencies,W),P}catch(P){throw yield function Li(m){return gi.apply(this,arguments)}(m),P}}),mi.apply(this,arguments)}function ga(m,E){return ma.apply(this,arguments)}function ma(){return(ma=(0,G.Z)(function*(m,E){const W={token:yield pa(m,E),createTime:Date.now(),subscriptionOptions:E};return yield di(m,W),W.token})).apply(this,arguments)}function yi(){return(yi=(0,G.Z)(function*(m,E){return(yield m.pushManager.getSubscription())||m.pushManager.subscribe({userVisibleOnly:!0,applicationServerKey:ll(E)})})).apply(this,arguments)}function T(m){const E={from:m.from,collapseKey:m.collapse_key,messageId:m.fcmMessageId};return function Y(m,E){if(!E.notification)return;m.notification={};const P=E.notification.title;P&&(m.notification.title=P);const W=E.notification.body;W&&(m.notification.body=W);const ce=E.notification.image;ce&&(m.notification.image=ce);const be=E.notification.icon;be&&(m.notification.icon=be)}(E,m),function b(m,E){E.data&&(m.data=E.data)}(E,m),function V(m,E){var P,W,ce,be,He;if(!(E.fcmOptions||null!==(P=E.notification)&&void 0!==P&&P.click_action))return;m.fcmOptions={};const ft=null!==(ce=null===(W=E.fcmOptions)||void 0===W?void 0:W.link)&&void 0!==ce?ce:null===(be=E.notification)||void 0===be?void 0:be.click_action;ft&&(m.fcmOptions.link=ft);const ut=null===(He=E.fcmOptions)||void 0===He?void 0:He.analytics_label;ut&&(m.fcmOptions.analyticsLabel=ut)}(E,m),E}function ze(m,E){const P=[];for(let W=0;W<m.length;W++)P.push(m.charAt(W)),W<E.length&&P.push(E.charAt(W));return P.join("")}function Jt(m){return hr.create("missing-app-config-values",{valueName:m})}ze("hts/frbslgigp.ogepscmv/ieo/eaylg","tp:/ieaeogn-agolai.o/1frlglgc/o"),ze("AzSCbw63g1R0nCw85jG8","Iaya3yLKwmgvh7cF0q4");class vn{constructor(E,P,W){this.deliveryMetricsExportedToBigQueryEnabled=!1,this.onBackgroundMessageHandler=null,this.onMessageHandler=null,this.logEvents=[],this.isLogServiceStarted=!1;const ce=function it(m){if(!m||!m.options)throw Jt("App Configuration Object");if(!m.name)throw Jt("App Name");const E=["projectId","apiKey","appId","messagingSenderId"],{options:P}=m;for(const W of E)if(!P[W])throw Jt(W);return{appName:m.name,projectId:P.projectId,apiKey:P.apiKey,appId:P.appId,senderId:P.messagingSenderId}}(E);this.firebaseDependencies={app:E,appConfig:ce,installations:P,analyticsProvider:W}}_delete(){return Promise.resolve()}}function Gt(){return(Gt=(0,G.Z)(function*(m){try{m.swRegistration=yield navigator.serviceWorker.register(A,{scope:w}),m.swRegistration.update().catch(()=>{})}catch(E){throw hr.create("failed-service-worker-registration",{browserErrorMessage:E?.message})}})).apply(this,arguments)}function Tn(){return(Tn=(0,G.Z)(function*(m,E){if(!E&&!m.swRegistration&&(yield function gn(m){return Gt.apply(this,arguments)}(m)),E||!m.swRegistration){if(!(E instanceof ServiceWorkerRegistration))throw hr.create("invalid-sw-registration");m.swRegistration=E}})).apply(this,arguments)}function zr(){return(zr=(0,G.Z)(function*(m,E){E?m.vapidKey=E:m.vapidKey||(m.vapidKey=B)})).apply(this,arguments)}function Uo(){return Uo=(0,G.Z)(function*(m,E){if(!navigator)throw hr.create("only-available-in-window");if("default"===Notification.permission&&(yield Notification.requestPermission()),"granted"!==Notification.permission)throw hr.create("permission-blocked");return yield function pr(m,E){return zr.apply(this,arguments)}(m,E?.vapidKey),yield function Hn(m,E){return Tn.apply(this,arguments)}(m,E?.serviceWorkerRegistration),function ul(m){return Fi.apply(this,arguments)}(m)}),Uo.apply(this,arguments)}function wr(){return(wr=(0,G.Z)(function*(m,E,P){const W=function Gr(m){switch(m){case ds.NOTIFICATION_CLICKED:return"notification_open";case ds.PUSH_RECEIVED:return"notification_foreground";default:throw new Error}}(E);(yield m.firebaseDependencies.analyticsProvider.get()).logEvent(W,{message_id:P[H],message_name:P[rt],message_time:P[Ut],message_device_time:Math.floor(Date.now()/1e3)})})).apply(this,arguments)}function In(){return In=(0,G.Z)(function*(m,E){const P=E.data;if(!P.isFirebaseMessaging)return;m.onMessageHandler&&P.messageType===ds.PUSH_RECEIVED&&("function"==typeof m.onMessageHandler?m.onMessageHandler(T(P)):m.onMessageHandler.next(T(P)));const W=P.data;(function le(m){return"object"==typeof m&&!!m&&H in m})(W)&&"1"===W["google.c.a.e"]&&(yield function Eo(m,E,P){return wr.apply(this,arguments)}(m,P.messageType,W))}),In.apply(this,arguments)}const qs="@firebase/messaging",Bn=m=>{const E=new vn(m.getProvider("app").getImmediate(),m.getProvider("installations-internal").getImmediate(),m.getProvider("analytics-internal"));return navigator.serviceWorker.addEventListener("message",P=>function ur(m,E){return In.apply(this,arguments)}(E,P)),E},Ba=m=>{const E=m.getProvider("messaging").getImmediate();return{getToken:W=>function Do(m,E){return Uo.apply(this,arguments)}(E,W)}};function Ps(){return fo.apply(this,arguments)}function fo(){return(fo=(0,G.Z)(function*(){try{yield(0,z.eu)()}catch{return!1}return typeof window<"u"&&(0,z.hl)()&&(0,z.zI)()&&"serviceWorker"in navigator&&"PushManager"in window&&"Notification"in window&&"fetch"in window&&ServiceWorkerRegistration.prototype.hasOwnProperty("showNotification")&&PushSubscription.prototype.hasOwnProperty("getKey")})).apply(this,arguments)}!function _a(){(0,ne._registerComponent)(new $.wA("messaging",Bn,"PUBLIC")),(0,ne._registerComponent)(new $.wA("messaging-internal",Ba,"PRIVATE")),(0,ne.registerVersion)(qs,"0.12.4"),(0,ne.registerVersion)(qs,"0.12.4","esm2017")}();const Vi="analytics",Ha="firebase_id",Nt="origin",ta=6e4,$a="https://firebase.googleapis.com/v1alpha/projects/-/apps/{app-id}/webConfig",ji="https://www.googletagmanager.com/gtag/js",gr=new ee.Yd("@firebase/analytics"),Mr=new z.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 Js(m){if(!m.startsWith(ji)){const E=Mr.create("invalid-gtag-resource",{gtagURL:m});return gr.warn(E.message),""}return m}function va(m){return Promise.all(m.map(E=>E.catch(P=>P)))}function qe(){return(qe=(0,G.Z)(function*(m,E,P,W,ce,be){const He=W[ce];try{if(He)yield E[He];else{const ut=(yield va(P)).find(Et=>Et.measurementId===ce);ut&&(yield E[ut.appId])}}catch(ft){gr.error(ft)}m("config",ce,be)})).apply(this,arguments)}function ra(){return(ra=(0,G.Z)(function*(m,E,P,W,ce){try{let be=[];if(ce&&ce.send_to){let He=ce.send_to;Array.isArray(He)||(He=[He]);const ft=yield va(P);for(const ut of He){const Et=ft.find(Kt=>Kt.measurementId===ut),Wt=Et&&E[Et.appId];if(!Wt){be=[];break}be.push(Wt)}}0===be.length&&(be=Object.values(E)),yield Promise.all(be),m("event",W,ce||{})}catch(be){gr.error(be)}})).apply(this,arguments)}const $o=30,Xs=new class Ea{constructor(E={},P=1e3){this.throttleMetadata=E,this.intervalMillis=P}getThrottleMetadata(E){return this.throttleMetadata[E]}setThrottleMetadata(E,P){this.throttleMetadata[E]=P}deleteThrottleMetadata(E){delete this.throttleMetadata[E]}};function Ga(m){return new Headers({Accept:"application/json","x-goog-api-key":m})}function Di(){return(Di=(0,G.Z)(function*(m){var E;const{appId:P,apiKey:W}=m,ce={method:"GET",headers:Ga(W)},be=$a.replace("{app-id}",P),He=yield fetch(be,ce);if(200!==He.status&&304!==He.status){let ft="";try{const ut=yield He.json();null!==(E=ut.error)&&void 0!==E&&E.message&&(ft=ut.error.message)}catch{}throw Mr.create("config-fetch-failed",{httpStatus:He.status,responseMessage:ft})}return He.json()})).apply(this,arguments)}function Oo(){return(Oo=(0,G.Z)(function*(m,E=Xs,P){const{appId:W,apiKey:ce,measurementId:be}=m.options;if(!W)throw Mr.create("no-app-id");if(!ce){if(be)return{measurementId:be,appId:W};throw Mr.create("no-api-key")}const He=E.getThrottleMetadata(W)||{backoffCount:0,throttleEndTimeMillis:Date.now()},ft=new C;return setTimeout((0,G.Z)(function*(){ft.abort()}),void 0!==P?P:ta),fl({appId:W,apiKey:ce,measurementId:be},He,ft,E)})).apply(this,arguments)}function fl(m,E,P){return ei.apply(this,arguments)}function ei(){return ei=(0,G.Z)(function*(m,{throttleEndTimeMillis:E,backoffCount:P},W,ce=Xs){var be;const{appId:He,measurementId:ft}=m;try{yield function h(m,E){return new Promise((P,W)=>{const ce=Math.max(E-Date.now(),0),be=setTimeout(P,ce);m.addEventListener(()=>{clearTimeout(be),W(Mr.create("fetch-throttle",{throttleEndTimeMillis:E}))})})}(W,E)}catch(ut){if(ft)return gr.warn(`Timed out fetching this Firebase app's measurement ID from the server. Falling back to the measurement ID ${ft} provided in the "measurementId" field in the local Firebase config. [${ut?.message}]`),{appId:He,measurementId:ft};throw ut}try{const ut=yield function Ca(m){return Di.apply(this,arguments)}(m);return ce.deleteThrottleMetadata(He),ut}catch(ut){const Et=ut;if(!function _(m){if(!(m instanceof z.ZR&&m.customData))return!1;const E=Number(m.customData.httpStatus);return 429===E||500===E||503===E||504===E}(Et)){if(ce.deleteThrottleMetadata(He),ft)return gr.warn(`Failed to fetch this Firebase app's measurement ID from the server. Falling back to the measurement ID ${ft} provided in the "measurementId" field in the local Firebase config. [${Et?.message}]`),{appId:He,measurementId:ft};throw ut}const Wt=503===Number(null===(be=Et?.customData)||void 0===be?void 0:be.httpStatus)?(0,z.$s)(P,ce.intervalMillis,$o):(0,z.$s)(P,ce.intervalMillis),Kt={throttleEndTimeMillis:Date.now()+Wt,backoffCount:P+1};return ce.setThrottleMetadata(He,Kt),gr.debug(`Calling attemptFetch again in ${Wt} millis`),fl(m,Kt,W,ce)}}),ei.apply(this,arguments)}class C{constructor(){this.listeners=[]}addEventListener(E){this.listeners.push(E)}abort(){this.listeners.forEach(E=>E())}}let y,Ns;function F(){return(F=(0,G.Z)(function*(m,E,P,W,ce){if(ce&&ce.global)m("event",P,W);else{const be=yield E;m("event",P,Object.assign(Object.assign({},W),{send_to:be}))}})).apply(this,arguments)}function ni(){return(ni=(0,G.Z)(function*(){if(!(0,z.hl)())return gr.warn(Mr.create("indexeddb-unavailable",{errorInfo:"IndexedDB is not available in this environment."}).message),!1;try{yield(0,z.eu)()}catch(m){return gr.warn(Mr.create("indexeddb-unavailable",{errorInfo:m?.toString()}).message),!1}return!0})).apply(this,arguments)}function Wa(){return Wa=(0,G.Z)(function*(m,E,P,W,ce,be,He){var ft;const ut=function po(m){return Oo.apply(this,arguments)}(m);ut.then(no=>{P[no.measurementId]=no.appId,m.options.measurementId&&no.measurementId!==m.options.measurementId&&gr.warn(`The measurement ID in the local Firebase config (${m.options.measurementId}) does not match the measurement ID fetched from the server (${no.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(no=>gr.error(no)),E.push(ut);const Et=function Qr(){return ni.apply(this,arguments)}().then(no=>{if(no)return W.getId()}),[Wt,Kt]=yield Promise.all([ut,Et]);(function Ho(m){const E=window.document.getElementsByTagName("script");for(const P of Object.values(E))if(P.src&&P.src.includes(ji)&&P.src.includes(m))return P;return null})(be)||function za(m,E){const P=function Rs(m,E){let P;return window.trustedTypes&&(P=window.trustedTypes.createPolicy(m,E)),P}("firebase-js-sdk-policy",{createScriptURL:Js}),W=document.createElement("script"),ce=`${ji}?l=${m}&id=${E}`;W.src=P?P?.createScriptURL(ce):ce,W.async=!0,document.head.appendChild(W)}(be,Wt.measurementId),Ns&&(ce("consent","default",Ns),function ti(m){Ns=m}(void 0)),ce("js",new Date);const to=null!==(ft=He?.config)&&void 0!==ft?ft:{};return to[Nt]="firebase",to.update=!0,null!=Kt&&(to[Ha]=Kt),ce("config",Wt.measurementId,to),y&&(ce("set",y),function oa(m){y=m}(void 0)),Wt.measurementId}),Wa.apply(this,arguments)}class Ec{constructor(E){this.app=E}_delete(){return delete ps[this.app.options.appId],Promise.resolve()}}let ps={},xl=[];const ri={};let os,xs,Ui="dataLayer",sa=!1;function pl(m,E,P){!function Za(){const m=[];if((0,z.ru)()&&m.push("This is a browser extension environment."),(0,z.zI)()||m.push("Cookies are not available."),m.length>0){const E=m.map((W,ce)=>`(${ce+1}) ${W}`).join(" "),P=Mr.create("invalid-analytics-context",{errorInfo:E});gr.warn(P.message)}}();const W=m.options.appId;if(!W)throw Mr.create("no-app-id");if(!m.options.apiKey){if(!m.options.measurementId)throw Mr.create("no-api-key");gr.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 ${m.options.measurementId} provided in the "measurementId" field in the local Firebase config.`)}if(null!=ps[W])throw Mr.create("already-exists",{id:W});if(!sa){!function na(m){let E=[];Array.isArray(window[m])?E=window[m]:window[m]=E}(Ui);const{wrappedGtag:be,gtagCore:He}=function Qn(m,E,P,W,ce){let be=function(...He){window[W].push(arguments)};return window[ce]&&"function"==typeof window[ce]&&(be=window[ce]),window[ce]=function Da(m,E,P,W){function be(){return be=(0,G.Z)(function*(He,...ft){try{if("event"===He){const[ut,Et]=ft;yield function mn(m,E,P,W,ce){return ra.apply(this,arguments)}(m,E,P,ut,Et)}else if("config"===He){const[ut,Et]=ft;yield function Nl(m,E,P,W,ce,be){return qe.apply(this,arguments)}(m,E,P,W,ut,Et)}else if("consent"===He){const[ut]=ft;m("consent","update",ut)}else if("get"===He){const[ut,Et,Wt]=ft;m("get",ut,Et,Wt)}else if("set"===He){const[ut]=ft;m("set",ut)}else m(He,...ft)}catch(ut){gr.error(ut)}}),be.apply(this,arguments)}return function ce(He){return be.apply(this,arguments)}}(be,m,E,P),{gtagCore:be,wrappedGtag:window[ce]}}(ps,xl,ri,Ui,"gtag");xs=be,os=He,sa=!0}return ps[W]=function mr(m,E,P,W,ce,be,He){return Wa.apply(this,arguments)}(m,xl,ri,E,os,Ui,P),new Ec(m)}function Ka(){return ks.apply(this,arguments)}function ks(){return(ks=(0,G.Z)(function*(){if((0,z.ru)()||!(0,z.zI)()||!(0,z.hl)())return!1;try{return yield(0,z.eu)()}catch{return!1}})).apply(this,arguments)}const ba="@firebase/analytics";!function Bl(){(0,ne._registerComponent)(new $.wA(Vi,(E,{options:P})=>pl(E.getProvider("app").getImmediate(),E.getProvider("installations-internal").getImmediate(),P),"PUBLIC")),(0,ne._registerComponent)(new $.wA("analytics-internal",function m(E){try{const P=E.getProvider(Vi).getImmediate();return{logEvent:(W,ce,be)=>function cu(m,E,P,W){m=(0,z.m9)(m),function M(m,E,P,W,ce){return F.apply(this,arguments)}(xs,ps[m.app.options.appId],E,P,W).catch(ce=>gr.error(ce))}(P,W,ce,be)}}catch(P){throw Mr.create("interop-component-reg-failed",{reason:P})}},"PRIVATE")),(0,ne.registerVersion)(ba,"0.10.0"),(0,ne.registerVersion)(ba,"0.10.0","esm2017")}();var Ya=I(1954),qa=I(2631);const Vl=new class uu extends qa.v{}(class _l extends Ya.o{constructor(E,P){super(E,P),this.scheduler=E,this.work=P}schedule(E,P=0){return P>0?super.schedule(E,P):(this.delay=P,this.state=E,this.scheduler.flush(this),this)}execute(E,P){return P>0||this.closed?super.execute(E,P):this._execute(E,P)}requestAsyncId(E,P,W=0){return null!=W&&W>0||null==W&&this.delay>0?super.requestAsyncId(E,P,W):(E.flush(this),0)}});var bc=I(6321),gs=I(9397),wc=I(5137),Qa=I(3093);const Ja=new a.GfV("7.6.1"),Xa="__angularfire_symbol__analyticsIsSupportedValue",Ci="__angularfire_symbol__analyticsIsSupported",wa="__angularfire_symbol__remoteConfigIsSupportedValue",yl="__angularfire_symbol__remoteConfigIsSupported",el="__angularfire_symbol__messagingIsSupportedValue",tl="__angularfire_symbol__messagingIsSupported";function ms(m,E,P){if(E){if(1===E.length)return E[0];const be=E.filter(He=>He.app===P);if(1===be.length)return be[0]}return P.container.getProvider(m).getImmediate({optional:!0})}globalThis[Ci]||(globalThis[Ci]=Ka().then(m=>globalThis[Xa]=m).catch(()=>globalThis[Xa]=!1)),globalThis[tl]||(globalThis[tl]=Ps().then(m=>globalThis[el]=m).catch(()=>globalThis[el]=!1)),globalThis[yl]||(globalThis[yl]=qo().then(m=>globalThis[wa]=m).catch(()=>globalThis[wa]=!1));const vl=(m,E)=>{const P=E?[E]:(0,u.C6)(),W=[];return P.forEach(ce=>{ce.container.getProvider(m).instances.forEach(He=>{W.includes(He)||W.push(He)})}),W};function zi(){}class Dl{constructor(E,P=Vl){this.zone=E,this.delegate=P}now(){return this.delegate.now()}schedule(E,P,W){const ce=this.zone;return this.delegate.schedule(function(He){ce.runGuarded(()=>{E.apply(this,[He])})},P,W)}}class Gi{constructor(E){this.zone=E,this.task=null}call(E,P){const W=this.unscheduleTask.bind(this);return this.task=this.zone.run(()=>Zone.current.scheduleMacroTask("firebaseZoneBlock",zi,{},zi,zi)),P.pipe((0,gs.b)({next:W,complete:W,error:W})).subscribe(E).add(W)}unscheduleTask(){setTimeout(()=>{null!=this.task&&"scheduled"===this.task.state&&(this.task.invoke(),this.task=null)},10)}}let Tc=(()=>{class m{constructor(P){this.ngZone=P,this.outsideAngular=P.runOutsideAngular(()=>new Dl(Zone.current)),this.insideAngular=P.run(()=>new Dl(Zone.current,bc.z)),globalThis.\u0275AngularFireScheduler||(globalThis.\u0275AngularFireScheduler=this)}}return m.\u0275fac=function(P){return new(P||m)(a.LFG(a.R0b))},m.\u0275prov=a.Yz7({token:m,factory:m.\u0275fac,providedIn:"root"}),m})();function kr(){const m=globalThis.\u0275AngularFireScheduler;if(!m)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 m}function rl(m){return kr(),function Po(m){return function(P){return(P=P.lift(new Gi(m.ngZone))).pipe((0,wc.R)(m.outsideAngular),(0,Qa.Q)(m.insideAngular))}}(kr())(m)}},9058:(tt,ve,I)=>{I.d(ve,{$s:()=>lr,BH:()=>me,L:()=>de,LL:()=>Ee,Pz:()=>De,UG:()=>st,US:()=>$,ZB:()=>fe,ZR:()=>Ce,aH:()=>Z,b$:()=>St,eu:()=>Ne,hl:()=>Pe,jU:()=>ht,m9:()=>so,ne:()=>rn,pd:()=>Vt,r3:()=>xt,ru:()=>It,tV:()=>U,uI:()=>$e,vZ:()=>Jn,w1:()=>pn,xO:()=>Xn,xb:()=>Sn,z$:()=>We,zI:()=>Ue,zd:()=>ct});const ne=function(ie){const k=[];let x=0;for(let te=0;te<ie.length;te++){let L=ie.charCodeAt(te);L<128?k[x++]=L:L<2048?(k[x++]=L>>6|192,k[x++]=63&L|128):55296==(64512&L)&&te+1<ie.length&&56320==(64512&ie.charCodeAt(te+1))?(L=65536+((1023&L)<<10)+(1023&ie.charCodeAt(++te)),k[x++]=L>>18|240,k[x++]=L>>12&63|128,k[x++]=L>>6&63|128,k[x++]=63&L|128):(k[x++]=L>>12|224,k[x++]=L>>6&63|128,k[x++]=63&L|128)}return k},$={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(ie,k){if(!Array.isArray(ie))throw Error("encodeByteArray takes an array as a parameter");this.init_();const x=k?this.byteToCharMapWebSafe_:this.byteToCharMap_,te=[];for(let L=0;L<ie.length;L+=3){const se=ie[L],Re=L+1<ie.length,Qe=Re?ie[L+1]:0,vt=L+2<ie.length,lt=vt?ie[L+2]:0;let Qt=(15&Qe)<<2|lt>>6,ye=63&lt;vt||(ye=64,Re||(Qt=64)),te.push(x[se>>2],x[(3&se)<<4|Qe>>4],x[Qt],x[ye])}return te.join("")},encodeString(ie,k){return this.HAS_NATIVE_SUPPORT&&!k?btoa(ie):this.encodeByteArray(ne(ie),k)},decodeString(ie,k){return this.HAS_NATIVE_SUPPORT&&!k?atob(ie):function(ie){const k=[];let x=0,te=0;for(;x<ie.length;){const L=ie[x++];if(L<128)k[te++]=String.fromCharCode(L);else if(L>191&&L<224){const se=ie[x++];k[te++]=String.fromCharCode((31&L)<<6|63&se)}else if(L>239&&L<365){const vt=((7&L)<<18|(63&ie[x++])<<12|(63&ie[x++])<<6|63&ie[x++])-65536;k[te++]=String.fromCharCode(55296+(vt>>10)),k[te++]=String.fromCharCode(56320+(1023&vt))}else{const se=ie[x++],Re=ie[x++];k[te++]=String.fromCharCode((15&L)<<12|(63&se)<<6|63&Re)}}return k.join("")}(this.decodeStringToByteArray(ie,k))},decodeStringToByteArray(ie,k){this.init_();const x=k?this.charToByteMapWebSafe_:this.charToByteMap_,te=[];for(let L=0;L<ie.length;){const se=x[ie.charAt(L++)],Qe=L<ie.length?x[ie.charAt(L)]:0;++L;const lt=L<ie.length?x[ie.charAt(L)]:64;++L;const bt=L<ie.length?x[ie.charAt(L)]:64;if(++L,null==se||null==Qe||null==lt||null==bt)throw new ee;te.push(se<<2|Qe>>4),64!==lt&&(te.push(Qe<<4&240|lt>>2),64!==bt&&te.push(lt<<6&192|bt))}return te},init_(){if(!this.byteToCharMap_){this.byteToCharMap_={},this.charToByteMap_={},this.byteToCharMapWebSafe_={},this.charToByteMapWebSafe_={};for(let ie=0;ie<this.ENCODED_VALS.length;ie++)this.byteToCharMap_[ie]=this.ENCODED_VALS.charAt(ie),this.charToByteMap_[this.byteToCharMap_[ie]]=ie,this.byteToCharMapWebSafe_[ie]=this.ENCODED_VALS_WEBSAFE.charAt(ie),this.charToByteMapWebSafe_[this.byteToCharMapWebSafe_[ie]]=ie,ie>=this.ENCODED_VALS_BASE.length&&(this.charToByteMap_[this.ENCODED_VALS_WEBSAFE.charAt(ie)]=ie,this.charToByteMapWebSafe_[this.ENCODED_VALS.charAt(ie)]=ie)}}};class ee extends Error{constructor(){super(...arguments),this.name="DecodeBase64StringError"}}const de=function(ie){return function(ie){const k=ne(ie);return $.encodeByteArray(k,!0)}(ie).replace(/\./g,"")},U=function(ie){try{return $.decodeString(ie,!0)}catch(k){console.error("base64Decode failed: ",k)}return null};function fe(ie,k){if(!(k instanceof Object))return k;switch(k.constructor){case Date:return new Date(k.getTime());case Object:void 0===ie&&(ie={});break;case Array:ie=[];break;default:return k}for(const x in k)!k.hasOwnProperty(x)||!xe(x)||(ie[x]=fe(ie[x],k[x]));return ie}function xe(ie){return"__proto__"!==ie}const Le=()=>{try{return function Te(){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 ie=process.env.__FIREBASE_DEFAULTS__;return ie?JSON.parse(ie):void 0})()||(()=>{if(typeof document>"u")return;let ie;try{ie=document.cookie.match(/__FIREBASE_DEFAULTS__=([^;]+)/)}catch{return}const k=ie&&U(ie[1]);return k&&JSON.parse(k)})()}catch(ie){return void console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${ie}`)}},Z=()=>{var ie;return null===(ie=Le())||void 0===ie?void 0:ie.config},De=ie=>{var k;return null===(k=Le())||void 0===k?void 0:k[`_${ie}`]};class me{constructor(){this.reject=()=>{},this.resolve=()=>{},this.promise=new Promise((k,x)=>{this.resolve=k,this.reject=x})}wrapCallback(k){return(x,te)=>{x?this.reject(x):this.resolve(te),"function"==typeof k&&(this.promise.catch(()=>{}),1===k.length?k(x):k(x,te))}}}function We(){return typeof navigator<"u"&&"string"==typeof navigator.userAgent?navigator.userAgent:""}function $e(){return typeof window<"u"&&!!(window.cordova||window.phonegap||window.PhoneGap)&&/ios|iphone|ipod|ipad|android|blackberry|iemobile/i.test(We())}function st(){var ie;const k=null===(ie=Le())||void 0===ie?void 0:ie.forceEnvironment;if("node"===k)return!0;if("browser"===k)return!1;try{return"[object process]"===Object.prototype.toString.call(global.process)}catch{return!1}}function ht(){return"object"==typeof self&&self.self===self}function It(){const ie="object"==typeof chrome?chrome.runtime:"object"==typeof browser?browser.runtime:void 0;return"object"==typeof ie&&void 0!==ie.id}function St(){return"object"==typeof navigator&&"ReactNative"===navigator.product}function pn(){const ie=We();return ie.indexOf("MSIE ")>=0||ie.indexOf("Trident/")>=0}function Pe(){try{return"object"==typeof indexedDB}catch{return!1}}function Ne(){return new Promise((ie,k)=>{try{let x=!0;const te="validate-browser-context-for-indexeddb-analytics-module",L=self.indexedDB.open(te);L.onsuccess=()=>{L.result.close(),x||self.indexedDB.deleteDatabase(te),ie(!0)},L.onupgradeneeded=()=>{x=!1},L.onerror=()=>{var se;k((null===(se=L.error)||void 0===se?void 0:se.message)||"")}}catch(x){k(x)}})}function Ue(){return!(typeof navigator>"u"||!navigator.cookieEnabled)}class Ce extends Error{constructor(k,x,te){super(x),this.code=k,this.customData=te,this.name="FirebaseError",Object.setPrototypeOf(this,Ce.prototype),Error.captureStackTrace&&Error.captureStackTrace(this,Ee.prototype.create)}}class Ee{constructor(k,x,te){this.service=k,this.serviceName=x,this.errors=te}create(k,...x){const te=x[0]||{},L=`${this.service}/${k}`,se=this.errors[k],Re=se?function Ae(ie,k){return ie.replace(_e,(x,te)=>{const L=k[te];return null!=L?String(L):`<${te}?>`})}(se,te):"Error";return new Ce(L,`${this.serviceName}: ${Re} (${L}).`,te)}}const _e=/\{\$([^}]+)}/g;function xt(ie,k){return Object.prototype.hasOwnProperty.call(ie,k)}function Sn(ie){for(const k in ie)if(Object.prototype.hasOwnProperty.call(ie,k))return!1;return!0}function Jn(ie,k){if(ie===k)return!0;const x=Object.keys(ie),te=Object.keys(k);for(const L of x){if(!te.includes(L))return!1;const se=ie[L],Re=k[L];if(Vn(se)&&Vn(Re)){if(!Jn(se,Re))return!1}else if(se!==Re)return!1}for(const L of te)if(!x.includes(L))return!1;return!0}function Vn(ie){return null!==ie&&"object"==typeof ie}function Xn(ie){const k=[];for(const[x,te]of Object.entries(ie))Array.isArray(te)?te.forEach(L=>{k.push(encodeURIComponent(x)+"="+encodeURIComponent(L))}):k.push(encodeURIComponent(x)+"="+encodeURIComponent(te));return k.length?"&"+k.join("&"):""}function ct(ie){const k={};return ie.replace(/^\?/,"").split("&").forEach(te=>{if(te){const[L,se]=te.split("=");k[decodeURIComponent(L)]=decodeURIComponent(se)}}),k}function Vt(ie){const k=ie.indexOf("?");if(!k)return"";const x=ie.indexOf("#",k);return ie.substring(k,x>0?x:void 0)}function rn(ie,k){const x=new jn(ie,k);return x.subscribe.bind(x)}class jn{constructor(k,x){this.observers=[],this.unsubscribes=[],this.observerCount=0,this.task=Promise.resolve(),this.finalized=!1,this.onNoObservers=x,this.task.then(()=>{k(this)}).catch(te=>{this.error(te)})}next(k){this.forEachObserver(x=>{x.next(k)})}error(k){this.forEachObserver(x=>{x.error(k)}),this.close(k)}complete(){this.forEachObserver(k=>{k.complete()}),this.close()}subscribe(k,x,te){let L;if(void 0===k&&void 0===x&&void 0===te)throw new Error("Missing Observer.");L=function qt(ie,k){if("object"!=typeof ie||null===ie)return!1;for(const x of k)if(x in ie&&"function"==typeof ie[x])return!0;return!1}(k,["next","error","complete"])?k:{next:k,error:x,complete:te},void 0===L.next&&(L.next=kn),void 0===L.error&&(L.error=kn),void 0===L.complete&&(L.complete=kn);const se=this.unsubscribeOne.bind(this,this.observers.length);return this.finalized&&this.task.then(()=>{try{this.finalError?L.error(this.finalError):L.complete()}catch{}}),this.observers.push(L),se}unsubscribeOne(k){void 0===this.observers||void 0===this.observers[k]||(delete this.observers[k],this.observerCount-=1,0===this.observerCount&&void 0!==this.onNoObservers&&this.onNoObservers(this))}forEachObserver(k){if(!this.finalized)for(let x=0;x<this.observers.length;x++)this.sendOne(x,k)}sendOne(k,x){this.task.then(()=>{if(void 0!==this.observers&&void 0!==this.observers[k])try{x(this.observers[k])}catch(te){typeof console<"u"&&console.error&&console.error(te)}})}close(k){this.finalized||(this.finalized=!0,void 0!==k&&(this.finalError=k),this.task.then(()=>{this.observers=void 0,this.onNoObservers=void 0}))}}function kn(){}const En=1e3,Ln=2,ar=144e5,er=.5;function lr(ie,k=En,x=Ln){const te=k*Math.pow(x,ie),L=Math.round(er*te*(Math.random()-.5)*2);return Math.min(ar,te+L)}function so(ie){return ie&&ie._delegate?ie._delegate:ie}},4201:(tt,ve,I)=>{I.d(ve,{a:()=>ne});var a=I(5879),u=I(4835),G=I(8184);let ne=(()=>{var z;class ${constructor(ae,de){this._authService=ae,this._router=de}canActivate(ae,de){return!!this._authService.isAuthentication()||(this._router.navigate([""]),!1)}}return(z=$).\u0275fac=function(ae){return new(ae||z)(a.LFG(u.$),a.LFG(G.F0))},z.\u0275prov=a.Yz7({token:z,factory:z.\u0275fac}),$})()},4835:(tt,ve,I)=>{I.d(ve,{$:()=>ne});var a=I(5879),u=I(8184),G=I(2425);let ne=(()=>{var z;class ${constructor(ae,de){this._router=ae,this.toaster=de}login(ae){this._router.navigate([ae])}logout(){localStorage.removeItem("Token"),localStorage.removeItem("Domain"),this._router.navigate([""])}isAuthentication(){return null!=localStorage.getItem("Token")&&!this.isTokenExpired()}isTokenExpired(){return!1}setLocalStorage(ae,de){localStorage.setItem("posdomain",ae),localStorage.setItem("username",de)}getUsernameLocalStorage(){return localStorage.getItem("username")}getDomainLocalStorage(){return localStorage.getItem("posdomain")}isLocalStorageExist(){let ae=localStorage.getItem("posdomain"),de=localStorage.getItem("username"),U=!1;return ae&&de&&(U=!0),U}}return(z=$).\u0275fac=function(ae){return new(ae||z)(a.LFG(u.F0),a.LFG(G._W))},z.\u0275prov=a.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),$})()},8017:(tt,ve,I)=>{I.d(ve,{O:()=>Ye});var a=I(9862),u=I(5592),G=I(6321),ne=I(93),z=I(9360),$=I(4829),ee=I(2306),ae=I(8251),de=I(7103);const U=(0,ee.d)(Oe=>function(Le=null){Oe(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=Le});function J(Oe,je){const{first:Le,each:et,with:Ve=fe,scheduler:Z=je??G.z,meta:De=null}=(0,ne.q)(Oe)?{first:Oe}:"number"==typeof Oe?{each:Oe}:Oe;if(null==Le&&null==et)throw new TypeError("No timeout provided.");return(0,z.e)((me,Se)=>{let We,$e,st=null,ht=0;const It=St=>{$e=(0,de.f)(Se,Z,()=>{try{We.unsubscribe(),(0,$.Xf)(Ve({meta:De,lastValue:st,seen:ht})).subscribe(Se)}catch(en){Se.error(en)}},St)};We=me.subscribe((0,ae.x)(Se,St=>{$e?.unsubscribe(),ht++,Se.next(st=St),et>0&&It(et)},void 0,void 0,()=>{$e?.closed||$e?.unsubscribe(),st=null})),!ht&&It(null!=Le?"number"==typeof Le?Le:+Le-Z.now():et)})}function fe(Oe){throw new U(Oe)}var xe=I(5879),Te=I(2425);let Ye=(()=>{var Oe;class je{constructor(et,Ve){this.http=et,this.toastr=Ve}delete(et,Ve){let Z=localStorage.getItem("Token"),De=new a.WM({"Content-Type":"application/json","Cache-Control":"no-cache"});return Z&&(De=De.append("Authorization","Bearer "+Z)),this.http.delete(et,{body:Ve,headers:De})}post(et,Ve,Z=1e5){return new u.y(De=>{let me=localStorage.getItem("Token"),Se=new a.WM({"Content-Type":"application/json","Cache-Control":"no-cache"});me&&(Se=Se.append("Authorization","Bearer "+me)),this.http.post(et,Ve,{headers:Se}).pipe(J(Z)).subscribe($e=>{De.next($e),De.complete()},$e=>{if(200==$e.status)De.next($e.error.text),De.complete();else{if(!this.unauthorizedErrorHandling($e)){let ht=this.errorMessageHandling($e);this.toastr.error(""!=ht.message?ht.message:"An unknown error has occured!",ht.header)}De.error($e)}})})}postFormData(et,Ve,Z=!0){return new u.y(De=>{let me=localStorage.getItem("Token"),We={headers:new a.WM({Authorization:"Bearer "+me})};this.http.post(et,Ve,We).pipe(J(1e5)).subscribe($e=>{De.next($e),De.complete()},$e=>{if(200==$e.status)De.next($e.error.text),De.complete();else{if(!this.unauthorizedErrorHandling($e)&&Z){let ht=this.errorMessageHandling($e);this.toastr.error(""!=ht.message?ht.message:"An unknown error has occured!",ht.header)}De.error($e)}})})}unauthorizedErrorHandling(et){let Ve=!1;return 401==et.status&&(localStorage.getItem("Token")?window.location.href="/A/Unauthorized/Main/Unauthorized":window.location.href="/",Ve=!0),Ve}errorMessageHandling(et){let Ve="API Error",Z="Exception Message";return et.error?(Ve="API Error - "+et.status,et.error.Message&&(Z=et.error.Message)):et.message&&(Ve="API Error - "+et.name,Z=et.message),{header:Ve,message:Z}}get(et,Ve=1e5){return new u.y(Z=>{let De=localStorage.getItem("Token"),me=new a.WM({"Content-Type":"application/json","Cache-Control":"no-cache"});De&&(me=me.append("Authorization","Bearer "+De)),this.http.get(et,{headers:me}).pipe(J(Ve)).subscribe(We=>{Z.next(We),Z.complete()},We=>{if(200==We.status)Z.next(We.error.text),Z.complete();else{if(!this.unauthorizedErrorHandling(We)){let st=this.errorMessageHandling(We);this.toastr.error(""!=st.message?st.message:"An unknown error has occured!",st.header)}Z.error(We)}})})}}return(Oe=je).\u0275fac=function(et){return new(et||Oe)(xe.LFG(a.eN),xe.LFG(Te._W))},Oe.\u0275prov=xe.Yz7({token:Oe,factory:Oe.\u0275fac,providedIn:"root"}),je})()},6493:(tt,ve,I)=>{I.d(ve,{g:()=>a});let a=(()=>{var G;class ne{static StringFormat($,...ee){for(let ae=0;ae<ee.length;ae++)$=$.replace(`{${ae}}`,ee[ae]);return $}static parseJwt($){var ae=$.split(".")[1].replace(/-/g,"+").replace(/_/g,"/"),de=decodeURIComponent(atob(ae).split("").map(function(U){return"%"+("00"+U.charCodeAt(0).toString(16)).slice(-2)}).join(""));return JSON.parse(de)}static IsNotEmpty($){return""!=$&&$!=ne.GuidEmpty&&null!=$&&null!=$}static IsEmpty($){return""==$||null==$||null==$||$==ne.GuidEmpty}static FilterByID($,ee){try{const ae=$.filter(de=>de.ID==ee);if(ae.length>0)return ae[0]}catch{console.log("error filter")}return null}static DateOnly($){return $?new Date(new Date($).toDateString()):new Date((new Date).toDateString())}static GenerateYears($,ee,ae){var de=-1;(null==ee||null==ee)&&(ee=11),(null==ae||null==ae||!ae)&&(de=1);for(var U=[],J=0;J<ee;J++)U.push($+J*de);return U}static formatTitleFromDate($,ee){let ae=null;const de=new Date($),U=new Date(ee);return de.getDate()!=U.getDate()&&(ae="dd"),de.getMonth()!=U.getMonth()&&(ae="dd MMM"),de.getFullYear()!=U.getFullYear()&&(ae="dd MMM yyyy"),ae}}return(G=ne).GuidEmpty="00000000-0000-0000-0000-000000000000",G.DecimalMinValue="-7.922816251426434e+28",G.InputLockTimeSpan=500,G.MinDate="0001-01-01T00:00:00",G.MinTime="00:00:00",G.Month=[{ID:1,Label:"January"},{ID:2,Label:"February"},{ID:3,Label:"March"},{ID:4,Label:"April"},{ID:5,Label:"May"},{ID:6,Label:"June"},{ID:7,Label:"July"},{ID:8,Label:"August"},{ID:9,Label:"September"},{ID:10,Label:"October"},{ID:11,Label:"November"},{ID:12,Label:"December"}],ne})()},553:(tt,ve,I)=>{I.d(ve,{N:()=>a});const a={production:!0}},2940:(tt,ve,I)=>{var a=I(6593),u=I(5879),G=I(8184);function ne(p){this.message=p}(ne.prototype=new Error).name="InvalidCharacterError";var z=typeof window<"u"&&window.atob&&window.atob.bind(window)||function(p){var i=String(p).replace(/=+$/,"");if(i.length%4==1)throw new ne("'atob' failed: The string to be decoded is not correctly encoded.");for(var l,f,D=0,R=0,q="";f=i.charAt(R++);~f&&(l=D%4?64*l+f:f,D++%4)?q+=String.fromCharCode(255&l>>(-2*D&6)):0)f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(f);return q};function ee(p){this.message=p}(ee.prototype=new Error).name="InvalidTokenError";var U=I(6493),J=I(3106),fe=I(2459),xe=I(7398),Te=I(4664),Ye=I(9397),Oe=I(8017),je=I(2425),Le=I(4835),et=I(8645),Ve=I(2096),Z=I(5592),De=I(3019),me=I(3093),Se=I(7081),We=I(1374),$e=I(4674);function st(p,i){return(0,$e.m)(i)?(0,Te.w)(()=>p,i):(0,Te.w)(()=>p)}var ht=I(5137),It=I(2181),St=I(8186),en=I(6304),pn=I(6814);I(3182);var xt=I(5861),xn=I(534),Sn=I(4537),yr=I(9058),Jn=I(7879);const Vn=new Map,sr={activated:!1,tokenObservers:[]},Xn={initialized:!1,enabled:!1};function ct(p){return Vn.get(p)||Object.assign({},sr)}function Tt(){return Xn}const rn="https://content-firebaseappcheck.googleapis.com/v1",qt="exchangeDebugToken",kn={OFFSET_DURATION:3e5,RETRIAL_MIN_WAIT:3e4,RETRIAL_MAX_WAIT:96e4};class cn{constructor(i,l,f,D,R){if(this.operation=i,this.retryPolicy=l,this.getWaitDuration=f,this.lowerBound=D,this.upperBound=R,this.pending=null,this.nextErrorWaitInterval=D,D>R)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(i){var l=this;return(0,xt.Z)(function*(){l.stop();try{l.pending=new yr.BH,yield function ir(p){return new Promise(i=>{setTimeout(i,p)})}(l.getNextRun(i)),l.pending.resolve(),yield l.pending.promise,l.pending=new yr.BH,yield l.operation(),l.pending.resolve(),yield l.pending.promise,l.process(!0).catch(()=>{})}catch(f){l.retryPolicy(f)?l.process(!1).catch(()=>{}):l.stop()}})()}getNextRun(i){if(i)return this.nextErrorWaitInterval=this.lowerBound,this.getWaitDuration();{const l=this.nextErrorWaitInterval;return this.nextErrorWaitInterval*=2,this.nextErrorWaitInterval>this.upperBound&&(this.nextErrorWaitInterval=this.upperBound),l}}}const Mn=new yr.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 zn(p){if(!ct(p).activated)throw Mn.create("use-before-activation",{appName:p.name})}function Ln(p,i){return ar.apply(this,arguments)}function ar(){return(ar=(0,xt.Z)(function*({url:p,body:i},l){const f={"Content-Type":"application/json"},D=l.getImmediate({optional:!0});if(D){const at=yield D.getHeartbeatsHeader();at&&(f["X-Firebase-Client"]=at)}const R={method:"POST",body:JSON.stringify(i),headers:f};let q,X;try{q=yield fetch(p,R)}catch(at){throw Mn.create("fetch-network-error",{originalErrorMessage:at?.message})}if(200!==q.status)throw Mn.create("fetch-status-error",{httpStatus:q.status});try{X=yield q.json()}catch(at){throw Mn.create("fetch-parse-error",{originalErrorMessage:at?.message})}const ue=X.ttl.match(/^([\d.]+)(s)$/);if(!ue||!ue[2]||isNaN(Number(ue[1])))throw Mn.create("fetch-parse-error",{originalErrorMessage:`ttl field (timeToLive) is not in standard Protobuf Duration format: ${X.ttl}`});const Be=1e3*Number(ue[1]),yt=Date.now();return{token:X.token,expireTimeMillis:yt+Be,issuedAtTimeMillis:yt}})).apply(this,arguments)}function vr(p,i){const{projectId:l,appId:f,apiKey:D}=p.options;return{url:`${rn}/projects/${l}/apps/${f}:${qt}?key=${D}`,body:{debug_token:i}}}const Dr="firebase-app-check-database",so=1,ie="firebase-app-check-store";let x=null;function lt(){return(lt=(0,xt.Z)(function*(p,i){const f=(yield function te(){return x||(x=new Promise((p,i)=>{try{const l=indexedDB.open(Dr,so);l.onsuccess=f=>{p(f.target.result)},l.onerror=f=>{var D;i(Mn.create("storage-open",{originalErrorMessage:null===(D=f.target.error)||void 0===D?void 0:D.message}))},l.onupgradeneeded=f=>{0===f.oldVersion&&f.target.result.createObjectStore(ie,{keyPath:"compositeKey"})}}catch(l){i(Mn.create("storage-open",{originalErrorMessage:l?.message}))}}),x)}()).transaction(ie,"readwrite"),R=f.objectStore(ie).put({compositeKey:p,value:i});return new Promise((q,X)=>{R.onsuccess=ue=>{q()},f.onerror=ue=>{var Be;X(Mn.create("storage-set",{originalErrorMessage:null===(Be=ue.target.error)||void 0===Be?void 0:Be.message}))}})})).apply(this,arguments)}const ye=new Jn.Yd("@firebase/app-check");function K(p,i){return(0,yr.hl)()?function se(p,i){return function vt(p,i){return lt.apply(this,arguments)}(function Qt(p){return`${p.options.appId}-${p.name}`}(p),i)}(p,i).catch(l=>{ye.warn(`Failed to write token to IndexedDB. Error: ${l}`)}):Promise.resolve()}function Ze(){return Tt().enabled}function ke(){return gt.apply(this,arguments)}function gt(){return(gt=(0,xt.Z)(function*(){const p=Tt();if(p.enabled&&p.token)return p.token.promise;throw Error("\n Can't get debug token in production mode.\n ")})).apply(this,arguments)}const un={error:"UNKNOWN_ERROR"};function Cn(p){return yr.US.encodeString(JSON.stringify(p),!1)}function dn(p){return Gn.apply(this,arguments)}function Gn(){return(Gn=(0,xt.Z)(function*(p,i=!1){const l=p.app;zn(l);const f=ct(l);let R,D=f.token;if(D&&!An(D)&&(f.token=void 0,D=void 0),!D){const ue=yield f.cachedTokenPromise;ue&&(An(ue)?D=ue:yield K(l,void 0))}if(!i&&D&&An(D))return{token:D.token};let X,q=!1;if(Ze()){f.exchangeTokenPromise||(f.exchangeTokenPromise=Ln(vr(l,yield ke()),p.heartbeatServiceProvider).finally(()=>{f.exchangeTokenPromise=void 0}),q=!0);const ue=yield f.exchangeTokenPromise;return yield K(l,ue),f.token=ue,{token:ue.token}}try{f.exchangeTokenPromise||(f.exchangeTokenPromise=f.provider.getToken().finally(()=>{f.exchangeTokenPromise=void 0}),q=!0),D=yield ct(l).exchangeTokenPromise}catch(ue){"appCheck/throttled"===ue.code?ye.warn(ue.message):ye.error(ue),R=ue}return D?R?X=An(D)?{token:D.token,internalError:R}:No(R):(X={token:D.token},f.token=D,yield K(l,D)):X=No(R),q&&function _n(p,i){const l=ct(p).tokenObservers;for(const f of l)try{"EXTERNAL"===f.type&&null!=i.error?f.error(i.error):f.next(i)}catch{}}(l,X),X})).apply(this,arguments)}function Sr(p){return Zr.apply(this,arguments)}function Zr(){return(Zr=(0,xt.Z)(function*(p){const i=p.app;zn(i);const{provider:l}=ct(i);if(Ze()){const f=yield ke(),{token:D}=yield Ln(vr(i,f),p.heartbeatServiceProvider);return{token:D}}{const{token:f}=yield l.getToken();return{token:f}}})).apply(this,arguments)}function wn(p,i){const l=ct(p),f=l.tokenObservers.filter(D=>D.next!==i);0===f.length&&l.tokenRefresher&&l.tokenRefresher.isRunning()&&l.tokenRefresher.stop(),l.tokenObservers=f}function Lr(p){const{app:i}=p,l=ct(i);let f=l.tokenRefresher;f||(f=function io(p){const{app:i}=p;return new cn((0,xt.Z)(function*(){let f;if(f=ct(i).token?yield dn(p,!0):yield dn(p),f.error)throw f.error;if(f.internalError)throw f.internalError}),()=>!0,()=>{const l=ct(i);if(l.token){let f=l.token.issuedAtTimeMillis+.5*(l.token.expireTimeMillis-l.token.issuedAtTimeMillis)+3e5;return f=Math.min(f,l.token.expireTimeMillis-3e5),Math.max(0,f-Date.now())}return 0},kn.RETRIAL_MIN_WAIT,kn.RETRIAL_MAX_WAIT)}(p),l.tokenRefresher=f),!f.isRunning()&&l.isTokenAutoRefreshEnabled&&f.start()}function An(p){return p.expireTimeMillis-Date.now()>0}function No(p){return{token:Cn(un),error:p}}class fr{constructor(i,l){this.app=i,this.heartbeatServiceProvider=l}_delete(){const{tokenObservers:i}=ct(this.app);for(const l of i)wn(this.app,l.next);return Promise.resolve()}}const Lo="app-check-internal";!function Ko(){(0,xn._registerComponent)(new Sn.wA("app-check",p=>function Mo(p,i){return new fr(p,i)}(p.getProvider("app").getImmediate(),p.getProvider("heartbeat")),"PUBLIC").setInstantiationMode("EXPLICIT").setInstanceCreatedCallback((p,i,l)=>{p.getProvider(Lo).initialize()})),(0,xn._registerComponent)(new Sn.wA(Lo,p=>function xo(p){return{getToken:i=>dn(p,i),getLimitedUseToken:()=>Sr(p),addTokenListener:i=>function tn(p,i,l,f){const{app:D}=p,R=ct(D);if(R.tokenObservers=[...R.tokenObservers,{next:l,error:f,type:i}],R.token&&An(R.token)){const X=R.token;Promise.resolve().then(()=>{l({token:X.token}),Lr(p)}).catch(()=>{})}R.cachedTokenPromise.then(()=>Lr(p))}(p,"INTERNAL",i),removeTokenListener:i=>wn(p.app,i)}}(p.getProvider("app-check").getImmediate()),"PUBLIC").setInstantiationMode("EXPLICIT")),(0,xn.registerVersion)("@firebase/app-check","0.8.0")}();class On{constructor(){return(0,St.vb)("app-check")}}typeof window<"u"&&window;var lo=I(7142);const Hr=new u.OlP("angularfire2.auth.use-emulator"),Is=new u.OlP("angularfire2.auth.settings"),Ss=new u.OlP("angularfire2.auth.tenant-id"),qo=new u.OlP("angularfire2.auth.langugage-code"),co=new u.OlP("angularfire2.auth.use-device-language"),Qo=new u.OlP("angularfire.auth.persistence");let Zt=(()=>{class p{constructor(l,f,D,R,q,X,ue,Be,yt,at,hn,an){const Ot=new et.x,Bt=(0,Ve.of)(void 0).pipe((0,me.Q)(q.outsideAngular),(0,Te.w)(()=>R.runOutsideAngular(()=>I.e(967).then(I.bind(I,5967)))),(0,xe.U)(()=>(0,en.on)(l,R,f)),(0,xe.U)($n=>((p,i,l,f,D,R,q,X)=>(0,en.cc)(`${p.name}.auth`,"AngularFireAuth",p.name,()=>{const ue=i.runOutsideAngular(()=>p.auth());if(l&&ue.useEmulator(...l),f&&(ue.tenantId=f),ue.languageCode=D,R&&ue.useDeviceLanguage(),q)for(const[Be,yt]of Object.entries(q))ue.settings[Be]=yt;return X&&ue.setPersistence(X),ue},[l,f,D,R,q,X]))($n,R,X,Be,yt,at,ue,hn)),(0,Se.d)({bufferSize:1,refCount:!1}));if((0,pn.PM)(D))this.authState=this.user=this.idToken=this.idTokenResult=this.credential=(0,Ve.of)(null);else{Bt.pipe((0,We.P)()).subscribe();const nr=Bt.pipe((0,Te.w)(Dn=>Dn.getRedirectResult().then(Go=>Go,()=>null)),St.iC,(0,Se.d)({bufferSize:1,refCount:!1})),Fr=Bt.pipe((0,Te.w)(Dn=>new Z.y(Go=>({unsubscribe:R.runOutsideAngular(()=>Dn.onAuthStateChanged(oo=>Go.next(oo),oo=>Go.error(oo),()=>Go.complete()))})))),ro=Bt.pipe((0,Te.w)(Dn=>new Z.y(Go=>({unsubscribe:R.runOutsideAngular(()=>Dn.onIdTokenChanged(oo=>Go.next(oo),oo=>Go.error(oo),()=>Go.complete()))}))));this.authState=nr.pipe(st(Fr),(0,ht.R)(q.outsideAngular),(0,me.Q)(q.insideAngular)),this.user=nr.pipe(st(ro),(0,ht.R)(q.outsideAngular),(0,me.Q)(q.insideAngular)),this.idToken=this.user.pipe((0,Te.w)(Dn=>Dn?(0,fe.D)(Dn.getIdToken()):(0,Ve.of)(null))),this.idTokenResult=this.user.pipe((0,Te.w)(Dn=>Dn?(0,fe.D)(Dn.getIdTokenResult()):(0,Ve.of)(null))),this.credential=(0,De.T)(nr,Ot,this.authState.pipe((0,It.h)(Dn=>!Dn))).pipe((0,xe.U)(Dn=>Dn?.user?Dn:null),(0,ht.R)(q.outsideAngular),(0,me.Q)(q.insideAngular))}return(0,en.pX)(this,Bt,R,{spy:{apply:($n,nr,Fr)=>{($n.startsWith("signIn")||$n.startsWith("createUser"))&&Fr.then(ro=>Ot.next(ro))}}})}}return p.\u0275fac=function(l){return new(l||p)(u.LFG(en.Dh),u.LFG(en.xv,8),u.LFG(u.Lbi),u.LFG(u.R0b),u.LFG(St.HU),u.LFG(Hr,8),u.LFG(Is,8),u.LFG(Ss,8),u.LFG(qo,8),u.LFG(co,8),u.LFG(Qo,8),u.LFG(On,8))},p.\u0275prov=u.Yz7({token:p,factory:p.\u0275fac,providedIn:"any"}),p})(),Ai=(()=>{class p{constructor(){lo.Z.registerVersion("angularfire",St.q4.full,"auth-compat")}}return p.\u0275fac=function(l){return new(l||p)},p.\u0275mod=u.oAB({type:p}),p.\u0275inj=u.cJS({providers:[Zt]}),p})();var $r=I(6223);const Jo=["domainAutoFocus"],Rn=["passAutoFocus"];function Vo(p,i){if(1&p){const l=u.EpF();u.ynx(0),u.TgZ(1,"div",18)(2,"div",19)(3,"form")(4,"div",20)(5,"h2",21),u._uU(6,"Sign in"),u.qZA(),u.TgZ(7,"div",22)(8,"div",23)(9,"div",24)(10,"span",25),u._UZ(11,"i",26),u.qZA(),u.TgZ(12,"input",27,28),u.NdJ("ngModelChange",function(D){u.CHM(l);const R=u.oxw();return u.KtG(R.posDomain=D)}),u.qZA()()(),u.TgZ(14,"select",29),u.NdJ("ngModelChange",function(D){u.CHM(l);const R=u.oxw();return u.KtG(R.domain=D)}),u.TgZ(15,"option",30),u._uU(16,".dealpos.co.id"),u.qZA(),u.TgZ(17,"option",31),u._uU(18,".dealpos.net"),u.qZA(),u.TgZ(19,"option",32),u._uU(20,".dealpos.com"),u.qZA(),u.TgZ(21,"option",33),u._uU(22,".dealpos.app"),u.qZA()()()(),u.TgZ(23,"div",34)(24,"button",35),u.NdJ("click",function(){u.CHM(l);const D=u.oxw();return u.KtG(D.onNextState())}),u._uU(25," Next "),u.qZA()()()()(),u.BQk()}if(2&p){const l=u.oxw();u.xp6(12),u.Q6J("ngModel",l.posDomain),u.xp6(2),u.Q6J("ngModel",l.domain)}}function Xr(p,i){1&p&&(u.TgZ(0,"p"),u._uU(1," Username is required "),u.qZA())}function jo(p,i){if(1&p&&(u.TgZ(0,"div",59),u.YNc(1,Xr,2,0,"p",60),u.qZA()),2&p){u.oxw();const l=u.MAs(13);u.xp6(1),u.Q6J("ngIf",l.errors.required)}}const br=function(p,i){return{"fa-eye":p,"fa-eye-slash":i}};function Fa(p,i){if(1&p){const l=u.EpF();u.TgZ(0,"i",61),u.NdJ("click",function(){u.CHM(l);const D=u.oxw(2);return u.KtG(D.hideShowPassword())}),u.qZA()}if(2&p){const l=u.oxw(2);u.Q6J("ngClass",u.WLB(1,br,"eye-off"==l.passwordIcon,"eye"==l.passwordIcon))}}function Pr(p,i){1&p&&(u.TgZ(0,"p"),u._uU(1," Password is required "),u.qZA())}function tr(p,i){if(1&p&&(u.TgZ(0,"div",59),u.YNc(1,Pr,2,0,"p",60),u.qZA()),2&p){u.oxw();const l=u.MAs(19);u.xp6(1),u.Q6J("ngIf",l.errors.required)}}function Ws(p,i){if(1&p){const l=u.EpF();u.TgZ(0,"div",18)(1,"div",19)(2,"div",36)(3,"h2",21),u._uU(4,"Sign in"),u.qZA(),u.TgZ(5,"div",37),u._uU(6," to "),u.TgZ(7,"h6",38),u._uU(8),u.qZA(),u.TgZ(9,"i",39),u.NdJ("click",function(){u.CHM(l);const D=u.oxw();return u.KtG(D.onEditDomain())}),u.qZA()()(),u.TgZ(10,"form",40)(11,"div",41)(12,"input",42,43),u.NdJ("ngModelChange",function(D){u.CHM(l);const R=u.oxw();return u.KtG(R.username=D)}),u.qZA(),u.TgZ(14,"label",44),u._uU(15,"Username"),u.qZA(),u.YNc(16,jo,2,1,"div",45),u.qZA(),u.TgZ(17,"div",46)(18,"input",47,48),u.NdJ("ngModelChange",function(D){u.CHM(l);const R=u.oxw();return u.KtG(R.password=D)}),u.qZA(),u.TgZ(20,"label",49),u._uU(21,"Password"),u.qZA(),u.YNc(22,Fa,1,4,"i",50),u.YNc(23,tr,2,1,"div",45),u.qZA(),u.TgZ(24,"div",51)(25,"a",52),u._uU(26,"Forgot Password?"),u.qZA()(),u.TgZ(27,"div",53)(28,"button",54),u.NdJ("click",function(){u.CHM(l);const D=u.oxw();return u.KtG(D.onLogin())}),u._uU(29," Log in "),u.qZA()(),u.TgZ(30,"div",55),u._UZ(31,"hr"),u.TgZ(32,"span",56),u._uU(33,"or"),u.qZA(),u._UZ(34,"hr"),u.qZA(),u.TgZ(35,"div")(36,"button",57),u.NdJ("click",function(D){u.CHM(l);const R=u.oxw();return u.KtG(R.onLoginByGoogle(D))}),u._UZ(37,"i",58),u._uU(38," Sign In with Google "),u.qZA()()()()()}if(2&p){const l=u.MAs(13),f=u.MAs(19),D=u.oxw();u.xp6(8),u.AsE(" (",D.posDomain,"",D.domain,") "),u.xp6(4),u.Q6J("ngModel",D.username),u.xp6(4),u.Q6J("ngIf",l.invalid&&(l.dirty||l.touched)),u.xp6(2),u.Q6J("type",D.passwordType)("ngModel",D.password),u.xp6(4),u.Q6J("ngIf",""!=D.password&&"edge"!=D.browser),u.xp6(1),u.Q6J("ngIf",f.invalid&&(f.dirty||f.touched)),u.xp6(2),u.Q6J("href","https://"+D.posDomain+D.domain+"/ForgotPassword",u.LSH)}}const Rr=[{path:"",component:(()=>{var p;class i{constructor(f,D,R,q,X,ue,Be){this._httpService=f,this.toastr=D,this.auth=R,this.elementRef=q,this.cdr=X,this.afAuth=ue,this.router=Be,this.loginState="FORM_DOMAIN",this.domain=".dealpos.co.id",this.passwordType="password",this.passwordIcon="eye-off"}ngOnInit(){this.elementRef.nativeElement.ownerDocument.body.style.backgroundColor="#edefff"}ngAfterViewInit(){this.getLocalStorage()}ngOnDestroy(){this.elementRef.nativeElement.ownerDocument.body.style.backgroundColor="white"}getLocalStorage(){let f=this.auth.isLocalStorageExist();this.setAutoFocusDomain(),this.username=localStorage.getItem("username"),this.posDomain=localStorage.getItem("posdomain").split(".dealpos")[0];const D=localStorage.getItem("posdomain").split(".dealpos")[1];this.domain=".co.id"==D?".dealpos.co.id":".net"==D?".dealpos.net":".dealpos.com",f&&(this.setAutoFocusPass(),this.cdr.detectChanges(),this.username=this.auth.getUsernameLocalStorage(),this.setAutoFocusPass(),this.cdr.detectChanges())}setAutoFocusDomain(){this.domainElementRef?.nativeElement.focus()}setAutoFocusPass(){this.passElementRef?.nativeElement.focus()}hideShowPassword(){this.passwordType="text"===this.passwordType?"password":"text",this.passwordIcon="eye-off"===this.passwordIcon?"eye":"eye-off"}onLogin(){var f={Username:this.username,Password:this.password,Host:this.posDomain+(this.posDomain.includes("localhost")?"":this.domain)};this._httpService.post("api/Token/Login",JSON.stringify(f)).toPromise().then(D=>{null==D.access_token&&null==D.access_token||(localStorage.setItem("Domain",this.posDomain+(this.posDomain.includes("localhost")?"":this.domain)),localStorage.setItem("Token",D.access_token),"Tools"==function ae(p,i){if("string"!=typeof p)throw new ee("Invalid token specified");var l=!0===(i=i||{}).header?0:1;try{return JSON.parse(function $(p){var i=p.replace(/-/g,"+").replace(/_/g,"/");switch(i.length%4){case 0:break;case 2:i+="==";break;case 3:i+="=";break;default:throw"Illegal base64url string!"}try{return decodeURIComponent(z(i).replace(/(.)/g,function(f,D){var R=D.charCodeAt(0).toString(16).toUpperCase();return R.length<2&&(R="0"+R),"%"+R}))}catch{return z(i)}}(p.split(".")[l]))}catch(f){throw new ee("Invalid token specified: "+f.message)}}(D.access_token)["http://schemas.microsoft.com/ws/2008/06/identity/claims/role"].filter(ue=>"Tools"==ue)?(this.saveToLocalStorage(),this.auth.login("/menu/product")):this.toastr.error("Please check your role","Error"))})}saveToLocalStorage(){this.auth.setLocalStorage(this.posDomain+this.domain,this.username)}onNextState(){U.g.IsEmpty(this.posDomain)?this.toastr.warning("Account Domain is required","Warning"):this.loginState="FORM_AUTH"}onEditDomain(){this.loginState="FORM_DOMAIN"}onLoginByGoogle(f){var D=this.posDomain+(this.posDomain.includes("localhost")?"":this.domain);f.preventDefault();const R=new J.Z.auth.GoogleAuthProvider;R.setCustomParameters({prompt:"select_account"}),(0,fe.D)(this.afAuth.signInWithPopup(R)).pipe((0,xe.U)(X=>X.credential),(0,xe.U)(X=>X.idToken),(0,Te.w)(X=>this._httpService.post("api/Token/LoginWithSocialProvider",JSON.stringify({IDToken:X,Host:D}))),(0,Ye.b)(X=>{localStorage.setItem("Token",X.Token),this.router.navigate(["/menu/product/existing"])})).subscribe()}}return(p=i).\u0275fac=function(f){return new(f||p)(u.Y36(Oe.O),u.Y36(je._W),u.Y36(Le.$),u.Y36(u.SBq),u.Y36(u.sBO),u.Y36(Zt),u.Y36(G.F0))},p.\u0275cmp=u.Xpm({type:p,selectors:[["app-login"]],viewQuery:function(f,D){if(1&f&&(u.Gf(Jo,5),u.Gf(Rn,5)),2&f){let R;u.iGM(R=u.CRH())&&(D.domainElementRef=R.first),u.iGM(R=u.CRH())&&(D.passElementRef=R.first)}},decls:30,vars:7,consts:[[1,"container"],[1,"row","mt-md-0","align-self-center"],[1,"col-12","col-md-7","text-center"],[1,"big-display","robotoslab","d-none","d-sm-block"],["src","https://res.cloudinary.com/pos/image/upload/w_200/v1614247725/Apps/Login/tools-dealpos-app.png","alt","integration-image",1,"img-fluid",3,"width"],[1,"col-12","col-md-5","order-first","order-md-last","mt-12"],[1,"big-display","text-center","my-5","py-5","robotoslab","d-block","d-sm-none"],[4,"ngIf","ngIfElse"],["USR_PASS",""],[1,"col-12","d-block","d-md-none","text-center"],[1,"pt-8","me-3"],["target","_blank","href","https://www.dealpos.com"],["src","https://res.cloudinary.com/pos/image/upload/POS/Images/Login/dealpos.png","alt","dealpos-logo",1,"img-fluid",3,"width","height"],["target","_blank","href","https://changelog.dealpos.com/?categories=cat_nILYcoEQzgGWX&view=complete",1,"pt-8","font-italic"],[1,"mx-5","pb-5","mb-5","d-none","d-md-block"],[1,"row","justify-content-between","align-items-center"],[1,"col-auto","d-inline-flex"],[1,"col-auto"],[1,"card"],[1,"card-body","p-8"],[1,"card-title"],[1,"fw-normal","font-xl","robotoslab"],[1,"d-flex","align-items-center","mt-6"],[1,"mt-7","w-75","rounded-end-0"],[1,"input-group","mb-3"],["id","basic-addon1",1,"input-group-text","border-end-0","rounded-start"],[1,"fa-solid","fa-cloud"],["type","text","required","","name","subdomain","id","inputHost","placeholder","Store Address",1,"form-control","text-start","subdomain-input","border-start-0",2,"padding-left","0px",3,"ngModel","ngModelChange"],["subdomainEl",""],["name","domainOption",1,"form-select","form-control","border-start-0","mt-4","rounded-end","rounded-start-0","domain-option",3,"ngModel","ngModelChange"],["selected","","value",".dealpos.co.id"],["value",".dealpos.net"],["value",".dealpos.com"],["value",".dealpos.app"],[1,"w-100","mt-10"],["name","next","data-cy","next","type","submit",1,"btn","btn-lg","btn-primary","btn-block","font125rem","robotoslab","w-100",3,"click"],[1,"card-title","d-flex","align-items-center"],[1,"pt-2","ms-2"],[1,"fw-bold","me-2","robotoslab","d-inline-block","text-primary"],[1,"fa-solid","fa-edit","link-primary","fs-5","pointer",3,"click"],[1,"mt-10"],[1,"form-label-group"],["autofocus","","type","text","name","Username","id","inputUsername","placeholder","Username","required","",1,"form-control","text-start",3,"ngModel","ngModelChange"],["usernameCtrl","ngModel"],["for","inputUsername",1,"text-start"],["class","text-danger",4,"ngIf"],[1,"form-label-group","mb-5","mb-sm-1"],["name","Password","id","inputPassword","placeholder","Password","required","",1,"form-control","text-start",3,"type","ngModel","ngModelChange"],["passwordCtrl","ngModel"],["for","inputPassword",1,"text-start"],["class","passwordIcon fas fa-lg",3,"ngClass","click",4,"ngIf"],[1,"text-end","mt-3"],[3,"href"],[1,"w-100","mt-8"],["data-cy","login","type","submit",1,"btn","btn-lg","btn-primary","btn-block","font125rem","robotoslab","w-100",3,"click"],[1,"divider","d-flex","align-items-center","justify-content-center"],[1,"mx-4","text-muted"],[1,"btn","btn-social-login","text-primary","w-100","fw-bold",3,"click"],[1,"fa-brands","fa-google"],[1,"text-danger"],[4,"ngIf"],[1,"passwordIcon","fas","fa-lg",3,"ngClass","click"]],template:function(f,D){if(1&f&&(u.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"h1",3),u._uU(4," DealPOS - Tools "),u.qZA(),u._UZ(5,"img",4),u.qZA(),u.TgZ(6,"div",5)(7,"h1",6),u._uU(8," DealPOS - Tools "),u.qZA(),u.YNc(9,Vo,26,2,"ng-container",7),u.YNc(10,Ws,39,9,"ng-template",null,8,u.W1O),u.qZA(),u.TgZ(12,"div",9)(13,"p",10),u._uU(14,"Powered by :"),u.qZA(),u.TgZ(15,"a",11),u._UZ(16,"img",12),u.qZA(),u._UZ(17,"br"),u.TgZ(18,"a",13),u._uU(19,"Version 2.5.2"),u.qZA()()()(),u.TgZ(20,"footer",14)(21,"div",15)(22,"div",16)(23,"p",10),u._uU(24,"Powered by :"),u.qZA(),u.TgZ(25,"a",11),u._UZ(26,"img",12),u.qZA()(),u.TgZ(27,"div",17)(28,"a",13),u._uU(29,"Version 2.5.2"),u.qZA()()()()),2&f){const R=u.MAs(11);u.xp6(5),u.Q6J("width",250),u.xp6(4),u.Q6J("ngIf","FORM_DOMAIN"==D.loginState)("ngIfElse",R),u.xp6(7),u.Q6J("width",130)("height",73),u.xp6(10),u.Q6J("width",130)("height",73)}},dependencies:[pn.mk,pn.O5,$r._Y,$r.YN,$r.Kr,$r.Fj,$r.EJ,$r.JJ,$r.JL,$r.Q7,$r.On,$r.F],styles:[".container[_ngcontent-%COMP%]{position:absolute;max-width:100%}.card[_ngcontent-%COMP%]{margin-bottom:30px;padding-bottom:5px;padding-top:5px}.passwordIcon[_ngcontent-%COMP%]{top:1.8rem;right:.8rem;position:absolute;margin:0 auto!important;cursor:pointer}.big-display[_ngcontent-%COMP%]{font-size:2rem;font-weight:300;line-height:1.2}@media (min-width: 768px){.container[_ngcontent-%COMP%]{max-width:70%;top:50%;left:50%;transform:translate(-50%) translateY(-50%)}.big-display[_ngcontent-%COMP%]{font-size:3rem}}footer[_ngcontent-%COMP%]{position:absolute;bottom:0;width:90%;left:3rem}.form-label-group[_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{color:#666}.font-xl[_ngcontent-%COMP%]{font-size:x-large}.font125rem[_ngcontent-%COMP%]{font-size:1.25rem}.robotoslab[_ngcontent-%COMP%]{font-family:Roboto Slab}div.divider[_ngcontent-%COMP%] > hr[_ngcontent-%COMP%]{margin-top:1.2rem;margin-bottom:1.2rem;border-top:1px solid rgba(0,0,0,.855);width:20%}button.btn-social-login[_ngcontent-%COMP%]{border:1px solid var(--bs-primary)}.fa-google[_ngcontent-%COMP%]{background:conic-gradient(from -45deg,#ea4335 110deg,#4285f4 90deg 180deg,#34a853 180deg 270deg,#fbbc05 270deg) 73% 55%/150% 150% no-repeat;-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}.domain-option[_ngcontent-%COMP%]{height:3.625rem;padding:.75rem;color:#343434;font-size:.875rem;border-color:#c8d3df;width:10rem}.subdomain-input[_ngcontent-%COMP%]{height:3.625rem;padding:.75rem;color:#343434;font-size:.875rem;border-color:#c8d3df}.form-select[_ngcontent-%COMP%]:focus{border:solid 1.5px #1A73E8!important;box-shadow:none!important}"]}),i})(),pathMatch:"full"},{path:"menu",loadChildren:()=>I.e(214).then(I.bind(I,8214)).then(p=>p.MenuModule)},{path:"**",redirectTo:"",pathMatch:"full"}];let Nr=(()=>{var p;class i{}return(p=i).\u0275fac=function(f){return new(f||p)},p.\u0275mod=u.oAB({type:p}),p.\u0275inj=u.cJS({imports:[G.Bz.forRoot(Rr,{}),G.Bz]}),i})();var As=I(7328);function ai(p,i){return(l,f)=>!p.call(i,l,f)}var Xo=I(4829),Zs=I(9080),ci=I(4716),A=I(9360),w=I(2420),B=I(8251);function O(p){return(0,A.e)((i,l)=>{let f=!1,D=null,R=null;const q=()=>{if(R?.unsubscribe(),R=null,f){f=!1;const X=D;D=null,l.next(X)}};i.subscribe((0,B.x)(l,X=>{R?.unsubscribe(),f=!0,D=X,R=(0,B.x)(l,q,w.Z),(0,Xo.Xf)(p(X)).subscribe(R)},()=>{q(),l.complete()},void 0,()=>{D=R=null}))})}var H=I(3997),rt=I(9862);function Ut(p,i){1&p&&u.GkF(0)}function xr(p,i){if(1&p&&u._UZ(0,"sk-cube-grid",4),2&p){const l=u.oxw(2);u.Q6J("backgroundColor",l.backgroundColor)}}function Yr(p,i){if(1&p&&u._UZ(0,"sk-chasing-dots",4),2&p){const l=u.oxw(2);u.Q6J("backgroundColor",l.backgroundColor)}}function ds(p,i){if(1&p&&u._UZ(0,"sk-double-bounce",4),2&p){const l=u.oxw(2);u.Q6J("backgroundColor",l.backgroundColor)}}function yo(p,i){if(1&p&&u._UZ(0,"sk-rotating-plane",4),2&p){const l=u.oxw(2);u.Q6J("backgroundColor",l.backgroundColor)}}function ll(p,i){if(1&p&&u._UZ(0,"sk-spinner-pulse",4),2&p){const l=u.oxw(2);u.Q6J("backgroundColor",l.backgroundColor)}}function ui(p,i){if(1&p&&u._UZ(0,"sk-three-bounce",4),2&p){const l=u.oxw(2);u.Q6J("backgroundColor",l.backgroundColor)}}function ha(p,i){if(1&p&&u._UZ(0,"sk-wandering-cubes",4),2&p){const l=u.oxw(2);u.Q6J("backgroundColor",l.backgroundColor)}}function La(p,i){if(1&p&&u._UZ(0,"sk-wave",4),2&p){const l=u.oxw(2);u.Q6J("backgroundColor",l.backgroundColor)}}const cl=function(p){return{"background-color":p}};function Oi(p,i){if(1&p&&(u.TgZ(0,"div",1),u.YNc(1,Ut,1,0,"ng-container",2),u.YNc(2,xr,1,1,"sk-cube-grid",3),u.YNc(3,Yr,1,1,"sk-chasing-dots",3),u.YNc(4,ds,1,1,"sk-double-bounce",3),u.YNc(5,yo,1,1,"sk-rotating-plane",3),u.YNc(6,ll,1,1,"sk-spinner-pulse",3),u.YNc(7,ui,1,1,"sk-three-bounce",3),u.YNc(8,ha,1,1,"sk-wandering-cubes",3),u.YNc(9,La,1,1,"sk-wave",3),u.qZA()),2&p){const l=u.oxw();u.Udp("opacity",l.opacity),u.ekj("backdrop",l.backdrop),u.Q6J("ngStyle",u.VKq(14,cl,l.backdrop?l.backdropBackgroundColor:"transparent")),u.xp6(1),u.Q6J("ngComponentOutlet",l.entryComponent),u.xp6(1),u.Q6J("ngIf",l.spinner===l.spinkit.skCubeGrid),u.xp6(1),u.Q6J("ngIf",l.spinner===l.spinkit.skChasingDots),u.xp6(1),u.Q6J("ngIf",l.spinner===l.spinkit.skDoubleBounce),u.xp6(1),u.Q6J("ngIf",l.spinner===l.spinkit.skRotatingPlane),u.xp6(1),u.Q6J("ngIf",l.spinner===l.spinkit.skSpinnerPulse),u.xp6(1),u.Q6J("ngIf",l.spinner===l.spinkit.skThreeBounce),u.xp6(1),u.Q6J("ngIf",l.spinner===l.spinkit.skWanderingCubes),u.xp6(1),u.Q6J("ngIf",l.spinner===l.spinkit.skWave)}}let qr=(()=>{var p;class i{}return(p=i).\u0275fac=function(f){return new(f||p)},p.\u0275dir=u.lG2({type:p,inputs:{backgroundColor:"backgroundColor"}}),i})(),So=(()=>{var p;class i extends qr{}return(p=i).\u0275fac=function(){let l;return function(D){return(l||(l=u.n5z(p)))(D||p)}}(),p.\u0275cmp=u.Xpm({type:p,selectors:[["sk-chasing-dots"]],features:[u.qOj],decls:3,vars:6,consts:[[1,"sk-chasing-dots"],[1,"sk-child","sk-dot1"],[1,"sk-child","sk-dot2"]],template:function(f,D){1&f&&(u.TgZ(0,"div",0),u._UZ(1,"div",1)(2,"div",2),u.qZA()),2&f&&(u.ekj("colored",!D.backgroundColor),u.xp6(1),u.Udp("background-color",D.backgroundColor),u.xp6(1),u.Udp("background-color",D.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)}}"]}),i})(),Pi=(()=>{var p;class i extends qr{}return(p=i).\u0275fac=function(){let l;return function(D){return(l||(l=u.n5z(p)))(D||p)}}(),p.\u0275cmp=u.Xpm({type:p,selectors:[["sk-cube-grid"]],features:[u.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(f,D){1&f&&(u.TgZ(0,"div",0),u._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),u.qZA()),2&f&&(u.ekj("colored",!D.backgroundColor),u.xp6(1),u.Udp("background-color",D.backgroundColor),u.xp6(1),u.Udp("background-color",D.backgroundColor),u.xp6(1),u.Udp("background-color",D.backgroundColor),u.xp6(1),u.Udp("background-color",D.backgroundColor),u.xp6(1),u.Udp("background-color",D.backgroundColor),u.xp6(1),u.Udp("background-color",D.backgroundColor),u.xp6(1),u.Udp("background-color",D.backgroundColor),u.xp6(1),u.Udp("background-color",D.backgroundColor),u.xp6(1),u.Udp("background-color",D.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)}}"]}),i})(),Vr=(()=>{var p;class i extends qr{}return(p=i).\u0275fac=function(){let l;return function(D){return(l||(l=u.n5z(p)))(D||p)}}(),p.\u0275cmp=u.Xpm({type:p,selectors:[["sk-double-bounce"]],features:[u.qOj],decls:3,vars:6,consts:[[1,"sk-double-bounce"],[1,"sk-child","sk-double-bounce1"],[1,"sk-child","sk-double-bounce2"]],template:function(f,D){1&f&&(u.TgZ(0,"div",0),u._UZ(1,"div",1)(2,"div",2),u.qZA()),2&f&&(u.ekj("colored",!D.backgroundColor),u.xp6(1),u.Udp("background-color",D.backgroundColor),u.xp6(1),u.Udp("background-color",D.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)}}"]}),i})(),cr=(()=>{var p;class i extends qr{}return(p=i).\u0275fac=function(){let l;return function(D){return(l||(l=u.n5z(p)))(D||p)}}(),p.\u0275cmp=u.Xpm({type:p,selectors:[["sk-rotating-plane"]],features:[u.qOj],decls:1,vars:2,consts:[[1,"sk-rotating-plane","colored-parent"]],template:function(f,D){1&f&&u._UZ(0,"div",0),2&f&&u.Udp("background-color",D.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)}}"]}),i})(),vo=(()=>{var p;class i extends qr{}return(p=i).\u0275fac=function(){let l;return function(D){return(l||(l=u.n5z(p)))(D||p)}}(),p.\u0275cmp=u.Xpm({type:p,selectors:[["sk-spinner-pulse"]],features:[u.qOj],decls:1,vars:2,consts:[[1,"sk-spinner","sk-spinner-pulse","colored-parent"]],template:function(f,D){1&f&&u._UZ(0,"div",0),2&f&&u.Udp("background-color",D.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}}"]}),i})(),jr=(()=>{var p;class i extends qr{}return(p=i).\u0275fac=function(){let l;return function(D){return(l||(l=u.n5z(p)))(D||p)}}(),p.\u0275cmp=u.Xpm({type:p,selectors:[["sk-three-bounce"]],features:[u.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(f,D){1&f&&(u.TgZ(0,"div",0),u._UZ(1,"div",1)(2,"div",2)(3,"div",3),u.qZA()),2&f&&(u.ekj("colored",!D.backgroundColor),u.xp6(1),u.Udp("background-color",D.backgroundColor),u.xp6(1),u.Udp("background-color",D.backgroundColor),u.xp6(1),u.Udp("background-color",D.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)}}"]}),i})(),es=(()=>{var p;class i extends qr{}return(p=i).\u0275fac=function(){let l;return function(D){return(l||(l=u.n5z(p)))(D||p)}}(),p.\u0275cmp=u.Xpm({type:p,selectors:[["sk-wandering-cubes"]],features:[u.qOj],decls:3,vars:6,consts:[[1,"sk-wandering-cubes"],[1,"sk-cube","sk-cube1"],[1,"sk-cube","sk-cube2"]],template:function(f,D){1&f&&(u.TgZ(0,"div",0),u._UZ(1,"div",1)(2,"div",2),u.qZA()),2&f&&(u.ekj("colored",!D.backgroundColor),u.xp6(1),u.Udp("background-color",D.backgroundColor),u.xp6(1),u.Udp("background-color",D.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)}}"]}),i})(),di=(()=>{var p;class i extends qr{}return(p=i).\u0275fac=function(){let l;return function(D){return(l||(l=u.n5z(p)))(D||p)}}(),p.\u0275cmp=u.Xpm({type:p,selectors:[["sk-wave"]],features:[u.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(f,D){1&f&&(u.TgZ(0,"div",0),u._UZ(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5),u.qZA()),2&f&&(u.ekj("colored",!D.backgroundColor),u.xp6(1),u.Udp("background-color",D.backgroundColor),u.xp6(1),u.Udp("background-color",D.backgroundColor),u.xp6(1),u.Udp("background-color",D.backgroundColor),u.xp6(1),u.Udp("background-color",D.backgroundColor),u.xp6(1),u.Udp("background-color",D.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)}}"]}),i})();const fi={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 ts=(()=>{var p;class i{constructor(){this._pendingRequests=0,this._pendingRequestsStatus$=new As.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(f){this._filteredMethods=f}set filteredHeaders(f){this._filteredHeaders=f}set forceByPass(f){this._forceByPass=f}shouldBypassUrl(f){return this._filteredUrlPatterns.some(D=>D.test(f))}shouldBypassMethod(f){return this._filteredMethods.some(D=>D.toUpperCase()===f.method.toUpperCase())}shouldBypassHeader(f){return this._filteredHeaders.some(D=>f.headers.has(D))}shouldBypass(f){return this._forceByPass||this.shouldBypassUrl(f.urlWithParams)||this.shouldBypassMethod(f)||this.shouldBypassHeader(f)}intercept(f,D){const R=this.shouldBypass(f);return R||(this._pendingRequests++,1===this._pendingRequests&&this._pendingRequestsStatus$.next(!0)),D.handle(f).pipe((0,ci.x)(()=>{R||(this._pendingRequests--,0===this._pendingRequests&&this._pendingRequestsStatus$.next(!1))}))}}return(p=i).\u0275fac=function(f){return new(f||p)},p.\u0275prov=u.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),i})();const Ks=[{provide:rt.TP,useExisting:ts,multi:!0}];let hi=(()=>{var p;class i{constructor(f){this.pendingRequestsInterceptor=f,this._visibility$=new As.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(p=i).\u0275fac=function(f){return new(f||p)(u.LFG(ts))},p.\u0275prov=u.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),i})(),hr=(()=>{var p;class i{constructor(f,D){this.pendingRequestsInterceptor=f,this.spinnerVisibility=D,this.spinkit=fi,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=fi.skWave}ngOnInit(){this.initIsvisibleObservable(),this.nullifySpinnerIfEntryComponentIsDefined(),this.initFilters()}initIsvisibleObservable(){const[f,D]=function li(p,i,l){return[(0,It.h)(i,l)((0,Xo.Xf)(p)),(0,It.h)(ai(i,l))((0,Xo.Xf)(p))]}(this.pendingRequestsInterceptor.pendingRequestsStatus$,R=>R);this.isVisible$=(0,De.T)(this.pendingRequestsInterceptor.pendingRequestsStatus$.pipe((0,Te.w)(()=>f.pipe(O(()=>(0,Zs.H)(this.debounceDelay))))),f.pipe((0,Te.w)(()=>D.pipe(O(()=>this.getVisibilityTimer$())))),this.spinnerVisibility.visibility$).pipe((0,H.x)(),(0,Ye.b)(R=>this.updateExpirationDelay(R)))}nullifySpinnerIfEntryComponentIsDefined(){this.entryComponent&&(this.spinner=null)}initFilters(){this.initFilteredUrlPatterns(),this.initFilteredMethods(),this.initFilteredHeaders()}initFilteredUrlPatterns(){this.filteredUrlPatterns.length&&this.filteredUrlPatterns.forEach(f=>this.pendingRequestsInterceptor.filteredUrlPatterns.push(new RegExp(f)))}initFilteredMethods(){this.pendingRequestsInterceptor.filteredMethods=this.filteredMethods}initFilteredHeaders(){this.pendingRequestsInterceptor.filteredHeaders=this.filteredHeaders}updateExpirationDelay(f){f&&(this.visibleUntil=Date.now()+this.minDuration)}getVisibilityTimer$(){return(0,Zs.H)(Math.max(this.extraDuration,this.visibleUntil-Date.now()))}}return(p=i).\u0275fac=function(f){return new(f||p)(u.Y36(ts),u.Y36(hi))},p.\u0275cmp=u.Xpm({type:p,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(f,D){1&f&&(u.YNc(0,Oi,10,16,"div",0),u.ALo(1,"async")),2&f&&u.Q6J("ngIf",u.lcZ(1,1,D.isVisible$))},dependencies:[pn.$G,pn.O5,pn.PC,Pi,So,Vr,cr,vo,jr,es,di,pn.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}"]}),i})(),pa=(()=>{var p;class i{static forRoot(){return{ngModule:i,providers:[Ks]}}}return(p=i).\u0275fac=function(f){return new(f||p)},p.\u0275mod=u.oAB({type:p}),p.\u0275inj=u.cJS({imports:[pn.ez]}),i})();var Ni=I(4201),zt=I(6825);function Os(p){return new u.vHH(3e3,!1)}function Gr(p){switch(p.length){case 0:return new zt.ZN;case 1:return p[0];default:return new zt.ZE(p)}}function ur(p,i,l=new Map,f=new Map){const D=[],R=[];let q=-1,X=null;if(i.forEach(ue=>{const Be=ue.get("offset"),yt=Be==q,at=yt&&X||new Map;ue.forEach((hn,an)=>{let Ot=an,Bt=hn;if("offset"!==an)switch(Ot=p.normalizePropertyName(Ot,D),Bt){case zt.k1:Bt=l.get(an);break;case zt.l3:Bt=f.get(an);break;default:Bt=p.normalizeStyleValue(an,Ot,Bt,D)}at.set(Ot,Bt)}),yt||R.push(at),X=at,q=Be}),D.length)throw function it(p){return new u.vHH(3502,!1)}();return R}function In(p,i,l,f){switch(i){case"start":p.onStart(()=>f(l&&qs(l,"start",p)));break;case"done":p.onDone(()=>f(l&&qs(l,"done",p)));break;case"destroy":p.onDestroy(()=>f(l&&qs(l,"destroy",p)))}}function qs(p,i,l){const R=rs(p.element,p.triggerName,p.fromState,p.toState,i||p.phaseName,l.totalTime??p.totalTime,!!l.disabled),q=p._data;return null!=q&&(R._data=q),R}function rs(p,i,l,f,D="",R=0,q){return{element:p,triggerName:i,fromState:l,toState:f,phaseName:D,totalTime:R,disabled:!!q}}function Bn(p,i,l){let f=p.get(i);return f||p.set(i,f=l),f}function Ba(p){const i=p.indexOf(":");return[p.substring(1,i),p.slice(i+1)]}const _a=(()=>typeof document>"u"?null:document.documentElement)();function Ps(p){const i=p.parentNode||p.host||null;return i===_a?null:i}let Qs=null,vi=!1;function Ao(p,i){for(;i;){if(i===p)return!0;i=Ps(i)}return!1}function Ua(p,i,l){if(l)return Array.from(p.querySelectorAll(i));const f=p.querySelector(i);return f?[f]:[]}let Vi=(()=>{var p;class i{validateStyleProperty(f){return function Va(p){Qs||(Qs=function ja(){return typeof document<"u"?document.body:null}()||{},vi=!!Qs.style&&"WebkitAppearance"in Qs.style);let i=!0;return Qs.style&&!function fo(p){return"ebkit"==p.substring(1,6)}(p)&&(i=p in Qs.style,!i&&vi&&(i="Webkit"+p.charAt(0).toUpperCase()+p.slice(1)in Qs.style)),i}(f)}matchesElement(f,D){return!1}containsElement(f,D){return Ao(f,D)}getParentElement(f){return Ps(f)}query(f,D,R){return Ua(f,D,R)}computeStyle(f,D,R){return R||""}animate(f,D,R,q,X,ue=[],Be){return new zt.ZN(R,q)}}return(p=i).\u0275fac=function(f){return new(f||p)},p.\u0275prov=u.Yz7({token:p,factory:p.\u0275fac}),i})(),Ha=(()=>{class i{}return i.NOOP=new Vi,i})();const Nt=1e3,ji="ng-enter",gr="ng-leave",ya="ng-trigger",Mr=".ng-trigger",Js="ng-animating",va=".ng-animating";function Rs(p){if("number"==typeof p)return p;const i=p.match(/^(-?[\.\d]+)(m?s)/);return!i||i.length<2?0:za(parseFloat(i[1]),i[2])}function za(p,i){return"s"===i?p*Nt:p}function na(p,i,l){return p.hasOwnProperty("duration")?p:function Nl(p,i,l){let D,R=0,q="";if("string"==typeof p){const X=p.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===X)return i.push(Os()),{duration:0,delay:0,easing:""};D=za(parseFloat(X[1]),X[2]);const ue=X[3];null!=ue&&(R=za(parseFloat(ue),X[4]));const Be=X[5];Be&&(q=Be)}else D=p;if(!l){let X=!1,ue=i.length;D<0&&(i.push(function ns(){return new u.vHH(3100,!1)}()),X=!0),R<0&&(i.push(function xi(){return new u.vHH(3101,!1)}()),X=!0),X&&i.splice(ue,0,Os())}return{duration:D,delay:R,easing:q}}(p,i,l)}function qe(p,i={}){return Object.keys(p).forEach(l=>{i[l]=p[l]}),i}function mn(p){const i=new Map;return Object.keys(p).forEach(l=>{i.set(l,p[l])}),i}function Qn(p,i=new Map,l){if(l)for(let[f,D]of l)i.set(f,D);for(let[f,D]of p)i.set(f,D);return i}function Ho(p,i,l){i.forEach((f,D)=>{const R=Oo(D);l&&!l.has(D)&&l.set(D,p.style[R]),p.style[R]=f})}function $o(p,i){i.forEach((l,f)=>{const D=Oo(f);p.style[D]=""})}function ho(p){return Array.isArray(p)?1==p.length?p[0]:(0,zt.vP)(p):p}const Xs=new RegExp("{{\\s*(.+?)\\s*}}","g");function Ga(p){let i=[];if("string"==typeof p){let l;for(;l=Xs.exec(p);)i.push(l[1]);Xs.lastIndex=0}return i}function Ca(p,i,l){const f=p.toString(),D=f.replace(Xs,(R,q)=>{let X=i[q];return null==X&&(l.push(function Ys(p){return new u.vHH(3003,!1)}()),X=""),X.toString()});return D==f?p:D}function Di(p){const i=[];let l=p.next();for(;!l.done;)i.push(l.value),l=p.next();return i}const po=/-+([a-z0-9])/g;function Oo(p){return p.replace(po,(...i)=>i[1].toUpperCase())}function _(p,i,l){switch(i.type){case 7:return p.visitTrigger(i,l);case 0:return p.visitState(i,l);case 1:return p.visitTransition(i,l);case 2:return p.visitSequence(i,l);case 3:return p.visitGroup(i,l);case 4:return p.visitAnimate(i,l);case 5:return p.visitKeyframes(i,l);case 6:return p.visitStyle(i,l);case 8:return p.visitReference(i,l);case 9:return p.visitAnimateChild(i,l);case 10:return p.visitAnimateRef(i,l);case 11:return p.visitQuery(i,l);case 12:return p.visitStagger(i,l);default:throw function ki(p){return new u.vHH(3004,!1)}()}}function C(p,i){return window.getComputedStyle(p)[i]}const Fe="*";function wt(p,i){const l=[];return"string"==typeof p?p.split(/\s*,\s*/).forEach(f=>function Ht(p,i,l){if(":"==p[0]){const ue=function Tr(p,i){switch(p){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(l,f)=>parseFloat(f)>parseFloat(l);case":decrement":return(l,f)=>parseFloat(f)<parseFloat(l);default:return i.push(function b(p){return new u.vHH(3016,!1)}()),"* => *"}}(p,l);if("function"==typeof ue)return void i.push(ue);p=ue}const f=p.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==f||f.length<4)return l.push(function Y(p){return new u.vHH(3015,!1)}()),i;const D=f[1],R=f[2],q=f[3];i.push(hs(D,q));"<"==R[0]&&!(D==Fe&&q==Fe)&&i.push(hs(q,D))}(f,l,i)):l.push(p),l}const fn=new Set(["true","1"]),eo=new Set(["false","0"]);function hs(p,i){const l=fn.has(p)||eo.has(p),f=fn.has(i)||eo.has(i);return(D,R)=>{let q=p==Fe||p==D,X=i==Fe||i==R;return!q&&l&&"boolean"==typeof D&&(q=D?fn.has(p):eo.has(p)),!X&&f&&"boolean"==typeof R&&(X=R?fn.has(i):eo.has(i)),q&&X}}const ti=new RegExp("s*:selfs*,?","g");function oa(p,i,l,f){return new ni(p).build(i,l,f)}class ni{constructor(i){this._driver=i}build(i,l,f){const D=new Ec(l);return this._resetContextStyleTimingState(D),_(this,ho(i),D)}_resetContextStyleTimingState(i){i.currentQuerySelector="",i.collectedStyles=new Map,i.collectedStyles.set("",new Map),i.currentTime=0}visitTrigger(i,l){let f=l.queryCount=0,D=l.depCount=0;const R=[],q=[];return"@"==i.name.charAt(0)&&l.errors.push(function ul(){return new u.vHH(3006,!1)}()),i.definitions.forEach(X=>{if(this._resetContextStyleTimingState(l),0==X.type){const ue=X,Be=ue.name;Be.toString().split(/\s*,\s*/).forEach(yt=>{ue.name=yt,R.push(this.visitState(ue,l))}),ue.name=Be}else if(1==X.type){const ue=this.visitTransition(X,l);f+=ue.queryCount,D+=ue.depCount,q.push(ue)}else l.errors.push(function Fi(){return new u.vHH(3007,!1)}())}),{type:7,name:i.name,states:R,transitions:q,queryCount:f,depCount:D,options:null}}visitState(i,l){const f=this.visitStyle(i.styles,l),D=i.options&&i.options.params||null;if(f.containsDynamicStyles){const R=new Set,q=D||{};f.styles.forEach(X=>{X instanceof Map&&X.forEach(ue=>{Ga(ue).forEach(Be=>{q.hasOwnProperty(Be)||R.add(Be)})})}),R.size&&(Di(R.values()),l.errors.push(function Li(p,i){return new u.vHH(3008,!1)}()))}return{type:0,name:i.name,style:f,options:D?{params:D}:null}}visitTransition(i,l){l.queryCount=0,l.depCount=0;const f=_(this,ho(i.animation),l);return{type:1,matchers:wt(i.expr,l.errors),animation:f,queryCount:l.queryCount,depCount:l.depCount,options:ri(i.options)}}visitSequence(i,l){return{type:2,steps:i.steps.map(f=>_(this,f,l)),options:ri(i.options)}}visitGroup(i,l){const f=l.currentTime;let D=0;const R=i.steps.map(q=>{l.currentTime=f;const X=_(this,q,l);return D=Math.max(D,l.currentTime),X});return l.currentTime=D,{type:3,steps:R,options:ri(i.options)}}visitAnimate(i,l){const f=function xl(p,i){if(p.hasOwnProperty("duration"))return p;if("number"==typeof p)return Ui(na(p,i).duration,0,"");const l=p;if(l.split(/\s+/).some(R=>"{"==R.charAt(0)&&"{"==R.charAt(1))){const R=Ui(0,0,"");return R.dynamic=!0,R.strValue=l,R}const D=na(l,i);return Ui(D.duration,D.delay,D.easing)}(i.timings,l.errors);l.currentAnimateTimings=f;let D,R=i.styles?i.styles:(0,zt.oB)({});if(5==R.type)D=this.visitKeyframes(R,l);else{let q=i.styles,X=!1;if(!q){X=!0;const Be={};f.easing&&(Be.easing=f.easing),q=(0,zt.oB)(Be)}l.currentTime+=f.duration+f.delay;const ue=this.visitStyle(q,l);ue.isEmptyStep=X,D=ue}return l.currentAnimateTimings=null,{type:4,timings:f,style:D,options:null}}visitStyle(i,l){const f=this._makeStyleAst(i,l);return this._validateStyleAst(f,l),f}_makeStyleAst(i,l){const f=[],D=Array.isArray(i.styles)?i.styles:[i.styles];for(let X of D)"string"==typeof X?X===zt.l3?f.push(X):l.errors.push(new u.vHH(3002,!1)):f.push(mn(X));let R=!1,q=null;return f.forEach(X=>{if(X instanceof Map&&(X.has("easing")&&(q=X.get("easing"),X.delete("easing")),!R))for(let ue of X.values())if(ue.toString().indexOf("{{")>=0){R=!0;break}}),{type:6,styles:f,easing:q,offset:i.offset,containsDynamicStyles:R,options:null}}_validateStyleAst(i,l){const f=l.currentAnimateTimings;let D=l.currentTime,R=l.currentTime;f&&R>0&&(R-=f.duration+f.delay),i.styles.forEach(q=>{"string"!=typeof q&&q.forEach((X,ue)=>{const Be=l.collectedStyles.get(l.currentQuerySelector),yt=Be.get(ue);let at=!0;yt&&(R!=D&&R>=yt.startTime&&D<=yt.endTime&&(l.errors.push(function mi(p,i,l,f,D){return new u.vHH(3010,!1)}()),at=!1),R=yt.startTime),at&&Be.set(ue,{startTime:R,endTime:D}),l.options&&function Ea(p,i,l){const f=i.params||{},D=Ga(p);D.length&&D.forEach(R=>{f.hasOwnProperty(R)||l.push(function ea(p){return new u.vHH(3001,!1)}())})}(X,l.options,l.errors)})})}visitKeyframes(i,l){const f={type:5,styles:[],options:null};if(!l.currentAnimateTimings)return l.errors.push(function ga(){return new u.vHH(3011,!1)}()),f;let R=0;const q=[];let X=!1,ue=!1,Be=0;const yt=i.steps.map(nr=>{const Fr=this._makeStyleAst(nr,l);let ro=null!=Fr.offset?Fr.offset:function ps(p){if("string"==typeof p)return null;let i=null;if(Array.isArray(p))p.forEach(l=>{if(l instanceof Map&&l.has("offset")){const f=l;i=parseFloat(f.get("offset")),f.delete("offset")}});else if(p instanceof Map&&p.has("offset")){const l=p;i=parseFloat(l.get("offset")),l.delete("offset")}return i}(Fr.styles),Dn=0;return null!=ro&&(R++,Dn=Fr.offset=ro),ue=ue||Dn<0||Dn>1,X=X||Dn<Be,Be=Dn,q.push(Dn),Fr});ue&&l.errors.push(function ma(){return new u.vHH(3012,!1)}()),X&&l.errors.push(function _i(){return new u.vHH(3200,!1)}());const at=i.steps.length;let hn=0;R>0&&R<at?l.errors.push(function yi(){return new u.vHH(3202,!1)}()):0==R&&(hn=1/(at-1));const an=at-1,Ot=l.currentTime,Bt=l.currentAnimateTimings,$n=Bt.duration;return yt.forEach((nr,Fr)=>{const ro=hn>0?Fr==an?1:hn*Fr:q[Fr],Dn=ro*$n;l.currentTime=Ot+Bt.delay+Dn,Bt.duration=Dn,this._validateStyleAst(nr,l),nr.offset=ro,f.styles.push(nr)}),f}visitReference(i,l){return{type:8,animation:_(this,ho(i.animation),l),options:ri(i.options)}}visitAnimateChild(i,l){return l.depCount++,{type:9,options:ri(i.options)}}visitAnimateRef(i,l){return{type:10,animation:this.visitReference(i.animation,l),options:ri(i.options)}}visitQuery(i,l){const f=l.currentQuerySelector,D=i.options||{};l.queryCount++,l.currentQuery=i;const[R,q]=function mr(p){const i=!!p.split(/\s*,\s*/).find(l=>":self"==l);return i&&(p=p.replace(ti,"")),p=p.replace(/@\*/g,Mr).replace(/@\w+/g,l=>Mr+"-"+l.slice(1)).replace(/:animating/g,va),[p,i]}(i.selector);l.currentQuerySelector=f.length?f+" "+R:R,Bn(l.collectedStyles,l.currentQuerySelector,new Map);const X=_(this,ho(i.animation),l);return l.currentQuery=null,l.currentQuerySelector=f,{type:11,selector:R,limit:D.limit||0,optional:!!D.optional,includeSelf:q,animation:X,originalSelector:i.selector,options:ri(i.options)}}visitStagger(i,l){l.currentQuery||l.errors.push(function g(){return new u.vHH(3013,!1)}());const f="full"===i.timings?{duration:0,delay:0,easing:"full"}:na(i.timings,l.errors,!0);return{type:12,animation:_(this,ho(i.animation),l),timings:f,options:null}}}class Ec{constructor(i){this.errors=i,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 ri(p){return p?(p=qe(p)).params&&(p.params=function Wa(p){return p?qe(p):null}(p.params)):p={},p}function Ui(p,i,l){return{duration:p,delay:i,easing:l}}function Hi(p,i,l,f,D,R,q=null,X=!1){return{type:1,element:p,keyframes:i,preStyleProps:l,postStyleProps:f,duration:D,delay:R,totalTime:D+R,easing:q,subTimeline:X}}class os{constructor(){this._map=new Map}get(i){return this._map.get(i)||[]}append(i,l){let f=this._map.get(i);f||this._map.set(i,f=[]),f.push(...l)}has(i){return this._map.has(i)}clear(){this._map.clear()}}const hl=new RegExp(":enter","g"),pl=new RegExp(":leave","g");function gl(p,i,l,f,D,R=new Map,q=new Map,X,ue,Be=[]){return(new kl).buildKeyframes(p,i,l,f,D,R,q,X,ue,Be)}class kl{buildKeyframes(i,l,f,D,R,q,X,ue,Be,yt=[]){Be=Be||new os;const at=new ks(i,l,Be,D,R,yt,[]);at.options=ue;const hn=ue.delay?Rs(ue.delay):0;at.currentTimeline.delayNextStep(hn),at.currentTimeline.setStyles([q],null,at.errors,ue),_(this,f,at);const an=at.timelines.filter(Ot=>Ot.containsAnimation());if(an.length&&X.size){let Ot;for(let Bt=an.length-1;Bt>=0;Bt--){const $n=an[Bt];if($n.element===l){Ot=$n;break}}Ot&&!Ot.allowOnlyTimelineStyles()&&Ot.setStyles([X],null,at.errors,ue)}return an.length?an.map(Ot=>Ot.buildKeyframes()):[Hi(l,[],[],[],0,hn,"",!1)]}visitTrigger(i,l){}visitState(i,l){}visitTransition(i,l){}visitAnimateChild(i,l){const f=l.subInstructions.get(l.element);if(f){const D=l.createSubContext(i.options),R=l.currentTimeline.currentTime,q=this._visitSubInstructions(f,D,D.options);R!=q&&l.transformIntoNewTimeline(q)}l.previousNode=i}visitAnimateRef(i,l){const f=l.createSubContext(i.options);f.transformIntoNewTimeline(),this._applyAnimationRefDelays([i.options,i.animation.options],l,f),this.visitReference(i.animation,f),l.transformIntoNewTimeline(f.currentTimeline.currentTime),l.previousNode=i}_applyAnimationRefDelays(i,l,f){for(const D of i){const R=D?.delay;if(R){const q="number"==typeof R?R:Rs(Ca(R,D?.params??{},l.errors));f.delayNextStep(q)}}}_visitSubInstructions(i,l,f){let R=l.currentTimeline.currentTime;const q=null!=f.duration?Rs(f.duration):null,X=null!=f.delay?Rs(f.delay):null;return 0!==q&&i.forEach(ue=>{const Be=l.appendInstructionToTimeline(ue,q,X);R=Math.max(R,Be.duration+Be.delay)}),R}visitReference(i,l){l.updateOptions(i.options,!0),_(this,i.animation,l),l.previousNode=i}visitSequence(i,l){const f=l.subContextCount;let D=l;const R=i.options;if(R&&(R.params||R.delay)&&(D=l.createSubContext(R),D.transformIntoNewTimeline(),null!=R.delay)){6==D.previousNode.type&&(D.currentTimeline.snapshotCurrentStyles(),D.previousNode=Ka);const q=Rs(R.delay);D.delayNextStep(q)}i.steps.length&&(i.steps.forEach(q=>_(this,q,D)),D.currentTimeline.applyStylesToKeyframe(),D.subContextCount>f&&D.transformIntoNewTimeline()),l.previousNode=i}visitGroup(i,l){const f=[];let D=l.currentTimeline.currentTime;const R=i.options&&i.options.delay?Rs(i.options.delay):0;i.steps.forEach(q=>{const X=l.createSubContext(i.options);R&&X.delayNextStep(R),_(this,q,X),D=Math.max(D,X.currentTimeline.currentTime),f.push(X.currentTimeline)}),f.forEach(q=>l.currentTimeline.mergeTimelineCollectedStyles(q)),l.transformIntoNewTimeline(D),l.previousNode=i}_visitTiming(i,l){if(i.dynamic){const f=i.strValue;return na(l.params?Ca(f,l.params,l.errors):f,l.errors)}return{duration:i.duration,delay:i.delay,easing:i.easing}}visitAnimate(i,l){const f=l.currentAnimateTimings=this._visitTiming(i.timings,l),D=l.currentTimeline;f.delay&&(l.incrementTime(f.delay),D.snapshotCurrentStyles());const R=i.style;5==R.type?this.visitKeyframes(R,l):(l.incrementTime(f.duration),this.visitStyle(R,l),D.applyStylesToKeyframe()),l.currentAnimateTimings=null,l.previousNode=i}visitStyle(i,l){const f=l.currentTimeline,D=l.currentAnimateTimings;!D&&f.hasCurrentStyleProperties()&&f.forwardFrame();const R=D&&D.easing||i.easing;i.isEmptyStep?f.applyEmptyStep(R):f.setStyles(i.styles,R,l.errors,l.options),l.previousNode=i}visitKeyframes(i,l){const f=l.currentAnimateTimings,D=l.currentTimeline.duration,R=f.duration,X=l.createSubContext().currentTimeline;X.easing=f.easing,i.styles.forEach(ue=>{X.forwardTime((ue.offset||0)*R),X.setStyles(ue.styles,ue.easing,l.errors,l.options),X.applyStylesToKeyframe()}),l.currentTimeline.mergeTimelineCollectedStyles(X),l.transformIntoNewTimeline(D+R),l.previousNode=i}visitQuery(i,l){const f=l.currentTimeline.currentTime,D=i.options||{},R=D.delay?Rs(D.delay):0;R&&(6===l.previousNode.type||0==f&&l.currentTimeline.hasCurrentStyleProperties())&&(l.currentTimeline.snapshotCurrentStyles(),l.previousNode=Ka);let q=f;const X=l.invokeQuery(i.selector,i.originalSelector,i.limit,i.includeSelf,!!D.optional,l.errors);l.currentQueryTotal=X.length;let ue=null;X.forEach((Be,yt)=>{l.currentQueryIndex=yt;const at=l.createSubContext(i.options,Be);R&&at.delayNextStep(R),Be===l.element&&(ue=at.currentTimeline),_(this,i.animation,at),at.currentTimeline.applyStylesToKeyframe(),q=Math.max(q,at.currentTimeline.currentTime)}),l.currentQueryIndex=0,l.currentQueryTotal=0,l.transformIntoNewTimeline(q),ue&&(l.currentTimeline.mergeTimelineCollectedStyles(ue),l.currentTimeline.snapshotCurrentStyles()),l.previousNode=i}visitStagger(i,l){const f=l.parentContext,D=l.currentTimeline,R=i.timings,q=Math.abs(R.duration),X=q*(l.currentQueryTotal-1);let ue=q*l.currentQueryIndex;switch(R.duration<0?"reverse":R.easing){case"reverse":ue=X-ue;break;case"full":ue=f.currentStaggerTime}const yt=l.currentTimeline;ue&&yt.delayNextStep(ue);const at=yt.currentTime;_(this,i.animation,l),l.previousNode=i,f.currentStaggerTime=D.currentTime-at+(D.startTime-f.currentTimeline.startTime)}}const Ka={};class ks{constructor(i,l,f,D,R,q,X,ue){this._driver=i,this.element=l,this.subInstructions=f,this._enterClassName=D,this._leaveClassName=R,this.errors=q,this.timelines=X,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Ka,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=ue||new $i(this._driver,l,0),X.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(i,l){if(!i)return;const f=i;let D=this.options;null!=f.duration&&(D.duration=Rs(f.duration)),null!=f.delay&&(D.delay=Rs(f.delay));const R=f.params;if(R){let q=D.params;q||(q=this.options.params={}),Object.keys(R).forEach(X=>{(!l||!q.hasOwnProperty(X))&&(q[X]=Ca(R[X],q,this.errors))})}}_copyOptions(){const i={};if(this.options){const l=this.options.params;if(l){const f=i.params={};Object.keys(l).forEach(D=>{f[D]=l[D]})}}return i}createSubContext(i=null,l,f){const D=l||this.element,R=new ks(this._driver,D,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(D,f||0));return R.previousNode=this.previousNode,R.currentAnimateTimings=this.currentAnimateTimings,R.options=this._copyOptions(),R.updateOptions(i),R.currentQueryIndex=this.currentQueryIndex,R.currentQueryTotal=this.currentQueryTotal,R.parentContext=this,this.subContextCount++,R}transformIntoNewTimeline(i){return this.previousNode=Ka,this.currentTimeline=this.currentTimeline.fork(this.element,i),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(i,l,f){const D={duration:l??i.duration,delay:this.currentTimeline.currentTime+(f??0)+i.delay,easing:""},R=new lu(this._driver,i.element,i.keyframes,i.preStyleProps,i.postStyleProps,D,i.stretchStartingKeyframe);return this.timelines.push(R),D}incrementTime(i){this.currentTimeline.forwardTime(this.currentTimeline.duration+i)}delayNextStep(i){i>0&&this.currentTimeline.delayNextStep(i)}invokeQuery(i,l,f,D,R,q){let X=[];if(D&&X.push(this.element),i.length>0){i=(i=i.replace(hl,"."+this._enterClassName)).replace(pl,"."+this._leaveClassName);let Be=this._driver.query(this.element,i,1!=f);0!==f&&(Be=f<0?Be.slice(Be.length+f,Be.length):Be.slice(0,f)),X.push(...Be)}return!R&&0==X.length&&q.push(function T(p){return new u.vHH(3014,!1)}()),X}}class $i{constructor(i,l,f,D){this._driver=i,this.element=l,this.startTime=f,this._elementTimelineStylesLookup=D,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(l),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(l,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(i){const l=1===this._keyframes.size&&this._pendingStyles.size;this.duration||l?(this.forwardTime(this.currentTime+i),l&&this.snapshotCurrentStyles()):this.startTime+=i}fork(i,l){return this.applyStylesToKeyframe(),new $i(this._driver,i,l||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(i){this.applyStylesToKeyframe(),this.duration=i,this._loadKeyframe()}_updateStyle(i,l){this._localTimelineStyles.set(i,l),this._globalTimelineStyles.set(i,l),this._styleSummary.set(i,{time:this.currentTime,value:l})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(i){i&&this._previousKeyframe.set("easing",i);for(let[l,f]of this._globalTimelineStyles)this._backFill.set(l,f||zt.l3),this._currentKeyframe.set(l,zt.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(i,l,f,D){l&&this._previousKeyframe.set("easing",l);const R=D&&D.params||{},q=function Fl(p,i){const l=new Map;let f;return p.forEach(D=>{if("*"===D){f=f||i.keys();for(let R of f)l.set(R,zt.l3)}else Qn(D,l)}),l}(i,this._globalTimelineStyles);for(let[X,ue]of q){const Be=Ca(ue,R,f);this._pendingStyles.set(X,Be),this._localTimelineStyles.has(X)||this._backFill.set(X,this._globalTimelineStyles.get(X)??zt.l3),this._updateStyle(X,Be)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((i,l)=>{this._currentKeyframe.set(l,i)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((i,l)=>{this._currentKeyframe.has(l)||this._currentKeyframe.set(l,i)}))}snapshotCurrentStyles(){for(let[i,l]of this._localTimelineStyles)this._pendingStyles.set(i,l),this._updateStyle(i,l)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const i=[];for(let l in this._currentKeyframe)i.push(l);return i}mergeTimelineCollectedStyles(i){i._styleSummary.forEach((l,f)=>{const D=this._styleSummary.get(f);(!D||l.time>D.time)&&this._updateStyle(f,l.value)})}buildKeyframes(){this.applyStylesToKeyframe();const i=new Set,l=new Set,f=1===this._keyframes.size&&0===this.duration;let D=[];this._keyframes.forEach((X,ue)=>{const Be=Qn(X,new Map,this._backFill);Be.forEach((yt,at)=>{yt===zt.k1?i.add(at):yt===zt.l3&&l.add(at)}),f||Be.set("offset",ue/this.duration),D.push(Be)});const R=i.size?Di(i.values()):[],q=l.size?Di(l.values()):[];if(f){const X=D[0],ue=new Map(X);X.set("offset",0),ue.set("offset",1),D=[X,ue]}return Hi(this.element,D,R,q,this.duration,this.startTime,this.easing,!1)}}class lu extends $i{constructor(i,l,f,D,R,q,X=!1){super(i,l,q.delay),this.keyframes=f,this.preStyleProps=D,this.postStyleProps=R,this._stretchStartingKeyframe=X,this.timings={duration:q.duration,delay:q.delay,easing:q.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let i=this.keyframes,{delay:l,duration:f,easing:D}=this.timings;if(this._stretchStartingKeyframe&&l){const R=[],q=f+l,X=l/q,ue=Qn(i[0]);ue.set("offset",0),R.push(ue);const Be=Qn(i[0]);Be.set("offset",ml(X)),R.push(Be);const yt=i.length-1;for(let at=1;at<=yt;at++){let hn=Qn(i[at]);const an=hn.get("offset");hn.set("offset",ml((l+an*f)/q)),R.push(hn)}f=q,l=0,D="",i=R}return Hi(this.element,i,this.preStyleProps,this.postStyleProps,f,l,D,!0)}}function ml(p,i=3){const l=Math.pow(10,i-1);return Math.round(p*l)/l}class Ll{}const cu=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 md extends Ll{normalizePropertyName(i,l){return Oo(i)}normalizeStyleValue(i,l,f,D){let R="";const q=f.toString().trim();if(cu.has(l)&&0!==f&&"0"!==f)if("number"==typeof f)R="px";else{const X=f.match(/^[+-]?[\d\.]+([a-z]*)$/);X&&0==X[1].length&&D.push(function pi(p,i){return new u.vHH(3005,!1)}())}return q+R}}function ba(p,i,l,f,D,R,q,X,ue,Be,yt,at,hn){return{type:0,element:p,triggerName:i,isRemovalTransition:D,fromState:l,fromStyles:R,toState:f,toStyles:q,timelines:X,queriedElements:ue,preStyleProps:Be,postStyleProps:yt,totalTime:at,errors:hn}}const Ei={};class Bl{constructor(i,l,f){this._triggerName=i,this.ast=l,this._stateStyles=f}match(i,l,f,D){return function _l(p,i,l,f,D){return p.some(R=>R(i,l,f,D))}(this.ast.matchers,i,l,f,D)}buildStyles(i,l,f){let D=this._stateStyles.get("*");return void 0!==i&&(D=this._stateStyles.get(i?.toString())||D),D?D.buildStyles(l,f):new Map}build(i,l,f,D,R,q,X,ue,Be,yt){const at=[],hn=this.ast.options&&this.ast.options.params||Ei,Ot=this.buildStyles(f,X&&X.params||Ei,at),Bt=ue&&ue.params||Ei,$n=this.buildStyles(D,Bt,at),nr=new Set,Fr=new Map,ro=new Map,Dn="void"===D,Go={params:qa(Bt,hn),delay:this.ast.options?.delay},oo=yt?[]:gl(i,l,this.ast.animation,R,q,Ot,$n,Go,Be,at);let ss=0;if(oo.forEach(Zi=>{ss=Math.max(Zi.duration+Zi.delay,ss)}),at.length)return ba(l,this._triggerName,f,D,Dn,Ot,$n,[],[],Fr,ro,ss,at);oo.forEach(Zi=>{const si=Zi.element,Id=Bn(Fr,si,new Set);Zi.preStyleProps.forEach(Ki=>Id.add(Ki));const zl=Bn(ro,si,new Set);Zi.postStyleProps.forEach(Ki=>zl.add(Ki)),si!==l&&nr.add(si)});const Wi=Di(nr.values());return ba(l,this._triggerName,f,D,Dn,Ot,$n,oo,Wi,Fr,ro,ss)}}function qa(p,i){const l=qe(i);for(const f in p)p.hasOwnProperty(f)&&null!=p[f]&&(l[f]=p[f]);return l}class uu{constructor(i,l,f){this.styles=i,this.defaultParams=l,this.normalizer=f}buildStyles(i,l){const f=new Map,D=qe(this.defaultParams);return Object.keys(i).forEach(R=>{const q=i[R];null!==q&&(D[R]=q)}),this.styles.styles.forEach(R=>{"string"!=typeof R&&R.forEach((q,X)=>{q&&(q=Ca(q,D,l));const ue=this.normalizer.normalizePropertyName(X,l);q=this.normalizer.normalizeStyleValue(X,ue,q,l),f.set(X,q)})}),f}}class Cc{constructor(i,l,f){this.name=i,this.ast=l,this._normalizer=f,this.transitionFactories=[],this.states=new Map,l.states.forEach(D=>{this.states.set(D.name,new uu(D.style,D.options&&D.options.params||{},f))}),gs(this.states,"true","1"),gs(this.states,"false","0"),l.transitions.forEach(D=>{this.transitionFactories.push(new Bl(i,D,this.states))}),this.fallbackTransition=function bc(p,i,l){return new Bl(p,{type:1,animation:{type:2,steps:[],options:null},matchers:[(q,X)=>!0],options:null,queryCount:0,depCount:0},i)}(i,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(i,l,f,D){return this.transitionFactories.find(q=>q.match(i,l,f,D))||null}matchStyles(i,l,f){return this.fallbackTransition.buildStyles(i,l,f)}}function gs(p,i,l){p.has(i)?p.has(l)||p.set(l,p.get(i)):p.has(l)&&p.set(i,p.get(l))}const wc=new os;class Qa{constructor(i,l,f){this.bodyNode=i,this._driver=l,this._normalizer=f,this._animations=new Map,this._playersById=new Map,this.players=[]}register(i,l){const f=[],R=oa(this._driver,l,f,[]);if(f.length)throw function Jt(p){return new u.vHH(3503,!1)}();this._animations.set(i,R)}_buildPlayer(i,l,f){const D=i.element,R=ur(this._normalizer,i.keyframes,l,f);return this._driver.animate(D,R,i.duration,i.delay,i.easing,[],!0)}create(i,l,f={}){const D=[],R=this._animations.get(i);let q;const X=new Map;if(R?(q=gl(this._driver,l,R,ji,gr,new Map,new Map,f,wc,D),q.forEach(yt=>{const at=Bn(X,yt.element,new Map);yt.postStyleProps.forEach(hn=>at.set(hn,null))})):(D.push(function vn(){return new u.vHH(3300,!1)}()),q=[]),D.length)throw function gn(p){return new u.vHH(3504,!1)}();X.forEach((yt,at)=>{yt.forEach((hn,an)=>{yt.set(an,this._driver.computeStyle(at,an,zt.l3))})});const Be=Gr(q.map(yt=>{const at=X.get(yt.element);return this._buildPlayer(yt,new Map,at)}));return this._playersById.set(i,Be),Be.onDestroy(()=>this.destroy(i)),this.players.push(Be),Be}destroy(i){const l=this._getPlayer(i);l.destroy(),this._playersById.delete(i);const f=this.players.indexOf(l);f>=0&&this.players.splice(f,1)}_getPlayer(i){const l=this._playersById.get(i);if(!l)throw function Gt(p){return new u.vHH(3301,!1)}();return l}listen(i,l,f,D){const R=rs(l,"","","");return In(this._getPlayer(i),f,R,D),()=>{}}command(i,l,f,D){if("register"==f)return void this.register(i,D[0]);if("create"==f)return void this.create(i,l,D[0]||{});const R=this._getPlayer(i);switch(f){case"play":R.play();break;case"pause":R.pause();break;case"reset":R.reset();break;case"restart":R.restart();break;case"finish":R.finish();break;case"init":R.init();break;case"setPosition":R.setPosition(parseFloat(D[0]));break;case"destroy":this.destroy(i)}}}const Ja="ng-animate-queued",Ci="ng-animate-disabled",tl=[],Ma={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Mc={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Fs="__ng_removed";class Ta{get params(){return this.options.params}constructor(i,l=""){this.namespaceId=l;const f=i&&i.hasOwnProperty("value");if(this.value=function kr(p){return p??null}(f?i.value:i),f){const R=qe(i);delete R.value,this.options=R}else this.options={};this.options.params||(this.options.params={})}absorbOptions(i){const l=i.params;if(l){const f=this.options.params;Object.keys(l).forEach(D=>{null==f[D]&&(f[D]=l[D])})}}}const ms="void",vl=new Ta(ms);class zi{constructor(i,l,f){this.id=i,this.hostElement=l,this._engine=f,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+i,Po(l,this._hostClassName)}listen(i,l,f,D){if(!this._triggers.has(l))throw function Hn(p,i){return new u.vHH(3302,!1)}();if(null==f||0==f.length)throw function Tn(p){return new u.vHH(3303,!1)}();if(!function bi(p){return"start"==p||"done"==p}(f))throw function pr(p,i){return new u.vHH(3400,!1)}();const R=Bn(this._elementListeners,i,[]),q={name:l,phase:f,callback:D};R.push(q);const X=Bn(this._engine.statesByElement,i,new Map);return X.has(l)||(Po(i,ya),Po(i,ya+"-"+l),X.set(l,vl)),()=>{this._engine.afterFlush(()=>{const ue=R.indexOf(q);ue>=0&&R.splice(ue,1),this._triggers.has(l)||X.delete(l)})}}register(i,l){return!this._triggers.has(i)&&(this._triggers.set(i,l),!0)}_getTrigger(i){const l=this._triggers.get(i);if(!l)throw function zr(p){return new u.vHH(3401,!1)}();return l}trigger(i,l,f,D=!0){const R=this._getTrigger(l),q=new Gi(this.id,l,i);let X=this._engine.statesByElement.get(i);X||(Po(i,ya),Po(i,ya+"-"+l),this._engine.statesByElement.set(i,X=new Map));let ue=X.get(l);const Be=new Ta(f,this.id);if(!(f&&f.hasOwnProperty("value"))&&ue&&Be.absorbOptions(ue.options),X.set(l,Be),ue||(ue=vl),Be.value!==ms&&ue.value===Be.value){if(!function P(p,i){const l=Object.keys(p),f=Object.keys(i);if(l.length!=f.length)return!1;for(let D=0;D<l.length;D++){const R=l[D];if(!i.hasOwnProperty(R)||p[R]!==i[R])return!1}return!0}(ue.params,Be.params)){const Bt=[],$n=R.matchStyles(ue.value,ue.params,Bt),nr=R.matchStyles(Be.value,Be.params,Bt);Bt.length?this._engine.reportError(Bt):this._engine.afterFlush(()=>{$o(i,$n),Ho(i,nr)})}return}const hn=Bn(this._engine.playersByElement,i,[]);hn.forEach(Bt=>{Bt.namespaceId==this.id&&Bt.triggerName==l&&Bt.queued&&Bt.destroy()});let an=R.matchTransition(ue.value,Be.value,i,Be.params),Ot=!1;if(!an){if(!D)return;an=R.fallbackTransition,Ot=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:i,triggerName:l,transition:an,fromState:ue,toState:Be,player:q,isFallbackTransition:Ot}),Ot||(Po(i,Ja),q.onStart(()=>{_s(i,Ja)})),q.onDone(()=>{let Bt=this.players.indexOf(q);Bt>=0&&this.players.splice(Bt,1);const $n=this._engine.playersByElement.get(i);if($n){let nr=$n.indexOf(q);nr>=0&&$n.splice(nr,1)}}),this.players.push(q),hn.push(q),q}deregister(i){this._triggers.delete(i),this._engine.statesByElement.forEach(l=>l.delete(i)),this._elementListeners.forEach((l,f)=>{this._elementListeners.set(f,l.filter(D=>D.name!=i))})}clearElementCache(i){this._engine.statesByElement.delete(i),this._elementListeners.delete(i);const l=this._engine.playersByElement.get(i);l&&(l.forEach(f=>f.destroy()),this._engine.playersByElement.delete(i))}_signalRemovalForInnerTriggers(i,l){const f=this._engine.driver.query(i,Mr,!0);f.forEach(D=>{if(D[Fs])return;const R=this._engine.fetchNamespacesByElement(D);R.size?R.forEach(q=>q.triggerLeaveAnimation(D,l,!1,!0)):this.clearElementCache(D)}),this._engine.afterFlushAnimationsDone(()=>f.forEach(D=>this.clearElementCache(D)))}triggerLeaveAnimation(i,l,f,D){const R=this._engine.statesByElement.get(i),q=new Map;if(R){const X=[];if(R.forEach((ue,Be)=>{if(q.set(Be,ue.value),this._triggers.has(Be)){const yt=this.trigger(i,Be,ms,D);yt&&X.push(yt)}}),X.length)return this._engine.markElementAsRemoved(this.id,i,!0,l,q),f&&Gr(X).onDone(()=>this._engine.processLeaveNode(i)),!0}return!1}prepareLeaveAnimationListeners(i){const l=this._elementListeners.get(i),f=this._engine.statesByElement.get(i);if(l&&f){const D=new Set;l.forEach(R=>{const q=R.name;if(D.has(q))return;D.add(q);const ue=this._triggers.get(q).fallbackTransition,Be=f.get(q)||vl,yt=new Ta(ms),at=new Gi(this.id,q,i);this._engine.totalQueuedPlayers++,this._queue.push({element:i,triggerName:q,transition:ue,fromState:Be,toState:yt,player:at,isFallbackTransition:!0})})}}removeNode(i,l){const f=this._engine;if(i.childElementCount&&this._signalRemovalForInnerTriggers(i,l),this.triggerLeaveAnimation(i,l,!0))return;let D=!1;if(f.totalAnimations){const R=f.players.length?f.playersByQueriedElement.get(i):[];if(R&&R.length)D=!0;else{let q=i;for(;q=q.parentNode;)if(f.statesByElement.get(q)){D=!0;break}}}if(this.prepareLeaveAnimationListeners(i),D)f.markElementAsRemoved(this.id,i,!1,l);else{const R=i[Fs];(!R||R===Ma)&&(f.afterFlush(()=>this.clearElementCache(i)),f.destroyInnerAnimations(i),f._onRemovalComplete(i,l))}}insertNode(i,l){Po(i,this._hostClassName)}drainQueuedTransitions(i){const l=[];return this._queue.forEach(f=>{const D=f.player;if(D.destroyed)return;const R=f.element,q=this._elementListeners.get(R);q&&q.forEach(X=>{if(X.name==f.triggerName){const ue=rs(R,f.triggerName,f.fromState.value,f.toState.value);ue._data=i,In(f.player,X.phase,ue,X.callback)}}),D.markedForDestroy?this._engine.afterFlush(()=>{D.destroy()}):l.push(f)}),this._queue=[],l.sort((f,D)=>{const R=f.transition.ast.depCount,q=D.transition.ast.depCount;return 0==R||0==q?R-q:this._engine.driver.containsElement(f.element,D.element)?1:-1})}destroy(i){this.players.forEach(l=>l.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,i)}}class Dl{_onRemovalComplete(i,l){this.onRemovalComplete(i,l)}constructor(i,l,f){this.bodyNode=i,this.driver=l,this._normalizer=f,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=(D,R)=>{}}get queuedPlayers(){const i=[];return this._namespaceList.forEach(l=>{l.players.forEach(f=>{f.queued&&i.push(f)})}),i}createNamespace(i,l){const f=new zi(i,l,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,l)?this._balanceNamespaceList(f,l):(this.newHostElements.set(l,f),this.collectEnterElement(l)),this._namespaceLookup[i]=f}_balanceNamespaceList(i,l){const f=this._namespaceList,D=this.namespacesByHostElement;if(f.length-1>=0){let q=!1,X=this.driver.getParentElement(l);for(;X;){const ue=D.get(X);if(ue){const Be=f.indexOf(ue);f.splice(Be+1,0,i),q=!0;break}X=this.driver.getParentElement(X)}q||f.unshift(i)}else f.push(i);return D.set(l,i),i}register(i,l){let f=this._namespaceLookup[i];return f||(f=this.createNamespace(i,l)),f}registerTrigger(i,l,f){let D=this._namespaceLookup[i];D&&D.register(l,f)&&this.totalAnimations++}destroy(i,l){i&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const f=this._fetchNamespace(i);this.namespacesByHostElement.delete(f.hostElement);const D=this._namespaceList.indexOf(f);D>=0&&this._namespaceList.splice(D,1),f.destroy(l),delete this._namespaceLookup[i]}))}_fetchNamespace(i){return this._namespaceLookup[i]}fetchNamespacesByElement(i){const l=new Set,f=this.statesByElement.get(i);if(f)for(let D of f.values())if(D.namespaceId){const R=this._fetchNamespace(D.namespaceId);R&&l.add(R)}return l}trigger(i,l,f,D){if(nl(l)){const R=this._fetchNamespace(i);if(R)return R.trigger(l,f,D),!0}return!1}insertNode(i,l,f,D){if(!nl(l))return;const R=l[Fs];if(R&&R.setForRemoval){R.setForRemoval=!1,R.setForMove=!0;const q=this.collectedLeaveElements.indexOf(l);q>=0&&this.collectedLeaveElements.splice(q,1)}if(i){const q=this._fetchNamespace(i);q&&q.insertNode(l,f)}D&&this.collectEnterElement(l)}collectEnterElement(i){this.collectedEnterElements.push(i)}markElementAsDisabled(i,l){l?this.disabledNodes.has(i)||(this.disabledNodes.add(i),Po(i,Ci)):this.disabledNodes.has(i)&&(this.disabledNodes.delete(i),_s(i,Ci))}removeNode(i,l,f){if(nl(l)){const D=i?this._fetchNamespace(i):null;D?D.removeNode(l,f):this.markElementAsRemoved(i,l,!1,f);const R=this.namespacesByHostElement.get(l);R&&R.id!==i&&R.removeNode(l,f)}else this._onRemovalComplete(l,f)}markElementAsRemoved(i,l,f,D,R){this.collectedLeaveElements.push(l),l[Fs]={namespaceId:i,setForRemoval:D,hasAnimation:f,removedBeforeQueried:!1,previousTriggersValues:R}}listen(i,l,f,D,R){return nl(l)?this._fetchNamespace(i).listen(l,f,D,R):()=>{}}_buildInstruction(i,l,f,D,R){return i.transition.build(this.driver,i.element,i.fromState.value,i.toState.value,f,D,i.fromState.options,i.toState.options,l,R)}destroyInnerAnimations(i){let l=this.driver.query(i,Mr,!0);l.forEach(f=>this.destroyActiveAnimationsForElement(f)),0!=this.playersByQueriedElement.size&&(l=this.driver.query(i,va,!0),l.forEach(f=>this.finishActiveQueriedAnimationOnElement(f)))}destroyActiveAnimationsForElement(i){const l=this.playersByElement.get(i);l&&l.forEach(f=>{f.queued?f.markedForDestroy=!0:f.destroy()})}finishActiveQueriedAnimationOnElement(i){const l=this.playersByQueriedElement.get(i);l&&l.forEach(f=>f.finish())}whenRenderingDone(){return new Promise(i=>{if(this.players.length)return Gr(this.players).onDone(()=>i());i()})}processLeaveNode(i){const l=i[Fs];if(l&&l.setForRemoval){if(i[Fs]=Ma,l.namespaceId){this.destroyInnerAnimations(i);const f=this._fetchNamespace(l.namespaceId);f&&f.clearElementCache(i)}this._onRemovalComplete(i,l.setForRemoval)}i.classList?.contains(Ci)&&this.markElementAsDisabled(i,!1),this.driver.query(i,".ng-animate-disabled",!0).forEach(f=>{this.markElementAsDisabled(f,!1)})}flush(i=-1){let l=[];if(this.newHostElements.size&&(this.newHostElements.forEach((f,D)=>this._balanceNamespaceList(f,D)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let f=0;f<this.collectedEnterElements.length;f++)Po(this.collectedEnterElements[f],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const f=[];try{l=this._flushAnimations(f,i)}finally{for(let D=0;D<f.length;D++)f[D]()}}else for(let f=0;f<this.collectedLeaveElements.length;f++)this.processLeaveNode(this.collectedLeaveElements[f]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(f=>f()),this._flushFns=[],this._whenQuietFns.length){const f=this._whenQuietFns;this._whenQuietFns=[],l.length?Gr(l).onDone(()=>{f.forEach(D=>D())}):f.forEach(D=>D())}}reportError(i){throw function Do(p){return new u.vHH(3402,!1)}()}_flushAnimations(i,l){const f=new os,D=[],R=new Map,q=[],X=new Map,ue=new Map,Be=new Map,yt=new Set;this.disabledNodes.forEach(Mt=>{yt.add(Mt);const Ft=this.driver.query(Mt,".ng-animate-queued",!0);for(let $t=0;$t<Ft.length;$t++)yt.add(Ft[$t])});const at=this.bodyNode,hn=Array.from(this.statesByElement.keys()),an=rl(hn,this.collectedEnterElements),Ot=new Map;let Bt=0;an.forEach((Mt,Ft)=>{const $t=ji+Bt++;Ot.set(Ft,$t),Mt.forEach(Nn=>Po(Nn,$t))});const $n=[],nr=new Set,Fr=new Set;for(let Mt=0;Mt<this.collectedLeaveElements.length;Mt++){const Ft=this.collectedLeaveElements[Mt],$t=Ft[Fs];$t&&$t.setForRemoval&&($n.push(Ft),nr.add(Ft),$t.hasAnimation?this.driver.query(Ft,".ng-star-inserted",!0).forEach(Nn=>nr.add(Nn)):Fr.add(Ft))}const ro=new Map,Dn=rl(hn,Array.from(nr));Dn.forEach((Mt,Ft)=>{const $t=gr+Bt++;ro.set(Ft,$t),Mt.forEach(Nn=>Po(Nn,$t))}),i.push(()=>{an.forEach((Mt,Ft)=>{const $t=Ot.get(Ft);Mt.forEach(Nn=>_s(Nn,$t))}),Dn.forEach((Mt,Ft)=>{const $t=ro.get(Ft);Mt.forEach(Nn=>_s(Nn,$t))}),$n.forEach(Mt=>{this.processLeaveNode(Mt)})});const Go=[],oo=[];for(let Mt=this._namespaceList.length-1;Mt>=0;Mt--)this._namespaceList[Mt].drainQueuedTransitions(l).forEach($t=>{const Nn=$t.player,Wr=$t.element;if(Go.push(Nn),this.collectedEnterElements.length){const bo=Wr[Fs];if(bo&&bo.setForMove){if(bo.previousTriggersValues&&bo.previousTriggersValues.has($t.triggerName)){const wi=bo.previousTriggersValues.get($t.triggerName),Wo=this.statesByElement.get($t.element);if(Wo&&Wo.has($t.triggerName)){const Oa=Wo.get($t.triggerName);Oa.value=wi,Wo.set($t.triggerName,Oa)}}return void Nn.destroy()}}const vs=!at||!this.driver.containsElement(at,Wr),is=ro.get(Wr),Yi=Ot.get(Wr),Ir=this._buildInstruction($t,f,Yi,is,vs);if(Ir.errors&&Ir.errors.length)return void oo.push(Ir);if(vs)return Nn.onStart(()=>$o(Wr,Ir.fromStyles)),Nn.onDestroy(()=>Ho(Wr,Ir.toStyles)),void D.push(Nn);if($t.isFallbackTransition)return Nn.onStart(()=>$o(Wr,Ir.fromStyles)),Nn.onDestroy(()=>Ho(Wr,Ir.toStyles)),void D.push(Nn);const Aa=[];Ir.timelines.forEach(bo=>{bo.stretchStartingKeyframe=!0,this.disabledNodes.has(bo.element)||Aa.push(bo)}),Ir.timelines=Aa,f.append(Wr,Ir.timelines),q.push({instruction:Ir,player:Nn,element:Wr}),Ir.queriedElements.forEach(bo=>Bn(X,bo,[]).push(Nn)),Ir.preStyleProps.forEach((bo,wi)=>{if(bo.size){let Wo=ue.get(wi);Wo||ue.set(wi,Wo=new Set),bo.forEach((Oa,Oc)=>Wo.add(Oc))}}),Ir.postStyleProps.forEach((bo,wi)=>{let Wo=Be.get(wi);Wo||Be.set(wi,Wo=new Set),bo.forEach((Oa,Oc)=>Wo.add(Oc))})});if(oo.length){const Mt=[];oo.forEach(Ft=>{Mt.push(function Eo(p,i){return new u.vHH(3505,!1)}())}),Go.forEach(Ft=>Ft.destroy()),this.reportError(Mt)}const ss=new Map,Wi=new Map;q.forEach(Mt=>{const Ft=Mt.element;f.has(Ft)&&(Wi.set(Ft,Ft),this._beforeAnimationBuild(Mt.player.namespaceId,Mt.instruction,ss))}),D.forEach(Mt=>{const Ft=Mt.element;this._getPreviousPlayers(Ft,!1,Mt.namespaceId,Mt.triggerName,null).forEach(Nn=>{Bn(ss,Ft,[]).push(Nn),Nn.destroy()})});const Zi=$n.filter(Mt=>W(Mt,ue,Be)),si=new Map;Ic(si,this.driver,Fr,Be,zt.l3).forEach(Mt=>{W(Mt,ue,Be)&&Zi.push(Mt)});const zl=new Map;an.forEach((Mt,Ft)=>{Ic(zl,this.driver,new Set(Mt),ue,zt.k1)}),Zi.forEach(Mt=>{const Ft=si.get(Mt),$t=zl.get(Mt);si.set(Mt,new Map([...Ft?.entries()??[],...$t?.entries()??[]]))});const Ki=[],Sd=[],Ad={};q.forEach(Mt=>{const{element:Ft,player:$t,instruction:Nn}=Mt;if(f.has(Ft)){if(yt.has(Ft))return $t.onDestroy(()=>Ho(Ft,Nn.toStyles)),$t.disabled=!0,$t.overrideTotalTime(Nn.totalTime),void D.push($t);let Wr=Ad;if(Wi.size>1){let is=Ft;const Yi=[];for(;is=is.parentNode;){const Ir=Wi.get(is);if(Ir){Wr=Ir;break}Yi.push(is)}Yi.forEach(Ir=>Wi.set(Ir,Wr))}const vs=this._buildAnimation($t.namespaceId,Nn,ss,R,zl,si);if($t.setRealPlayer(vs),Wr===Ad)Ki.push($t);else{const is=this.playersByElement.get(Wr);is&&is.length&&($t.parentPlayer=Gr(is)),D.push($t)}}else $o(Ft,Nn.fromStyles),$t.onDestroy(()=>Ho(Ft,Nn.toStyles)),Sd.push($t),yt.has(Ft)&&D.push($t)}),Sd.forEach(Mt=>{const Ft=R.get(Mt.element);if(Ft&&Ft.length){const $t=Gr(Ft);Mt.setRealPlayer($t)}}),D.forEach(Mt=>{Mt.parentPlayer?Mt.syncPlayerEvents(Mt.parentPlayer):Mt.destroy()});for(let Mt=0;Mt<$n.length;Mt++){const Ft=$n[Mt],$t=Ft[Fs];if(_s(Ft,gr),$t&&$t.hasAnimation)continue;let Nn=[];if(X.size){let vs=X.get(Ft);vs&&vs.length&&Nn.push(...vs);let is=this.driver.query(Ft,va,!0);for(let Yi=0;Yi<is.length;Yi++){let Ir=X.get(is[Yi]);Ir&&Ir.length&&Nn.push(...Ir)}}const Wr=Nn.filter(vs=>!vs.destroyed);Wr.length?Ia(this,Ft,Wr):this.processLeaveNode(Ft)}return $n.length=0,Ki.forEach(Mt=>{this.players.push(Mt),Mt.onDone(()=>{Mt.destroy();const Ft=this.players.indexOf(Mt);this.players.splice(Ft,1)}),Mt.play()}),Ki}afterFlush(i){this._flushFns.push(i)}afterFlushAnimationsDone(i){this._whenQuietFns.push(i)}_getPreviousPlayers(i,l,f,D,R){let q=[];if(l){const X=this.playersByQueriedElement.get(i);X&&(q=X)}else{const X=this.playersByElement.get(i);if(X){const ue=!R||R==ms;X.forEach(Be=>{Be.queued||!ue&&Be.triggerName!=D||q.push(Be)})}}return(f||D)&&(q=q.filter(X=>!(f&&f!=X.namespaceId||D&&D!=X.triggerName))),q}_beforeAnimationBuild(i,l,f){const R=l.element,q=l.isRemovalTransition?void 0:i,X=l.isRemovalTransition?void 0:l.triggerName;for(const ue of l.timelines){const Be=ue.element,yt=Be!==R,at=Bn(f,Be,[]);this._getPreviousPlayers(Be,yt,q,X,l.toState).forEach(an=>{const Ot=an.getRealPlayer();Ot.beforeDestroy&&Ot.beforeDestroy(),an.destroy(),at.push(an)})}$o(R,l.fromStyles)}_buildAnimation(i,l,f,D,R,q){const X=l.triggerName,ue=l.element,Be=[],yt=new Set,at=new Set,hn=l.timelines.map(Ot=>{const Bt=Ot.element;yt.add(Bt);const $n=Bt[Fs];if($n&&$n.removedBeforeQueried)return new zt.ZN(Ot.duration,Ot.delay);const nr=Bt!==ue,Fr=function m(p){const i=[];return E(p,i),i}((f.get(Bt)||tl).map(ss=>ss.getRealPlayer())).filter(ss=>!!ss.element&&ss.element===Bt),ro=R.get(Bt),Dn=q.get(Bt),Go=ur(this._normalizer,Ot.keyframes,ro,Dn),oo=this._buildPlayer(Ot,Go,Fr);if(Ot.subTimeline&&D&&at.add(Bt),nr){const ss=new Gi(i,X,Bt);ss.setRealPlayer(oo),Be.push(ss)}return oo});Be.forEach(Ot=>{Bn(this.playersByQueriedElement,Ot.element,[]).push(Ot),Ot.onDone(()=>function Tc(p,i,l){let f=p.get(i);if(f){if(f.length){const D=f.indexOf(l);f.splice(D,1)}0==f.length&&p.delete(i)}return f}(this.playersByQueriedElement,Ot.element,Ot))}),yt.forEach(Ot=>Po(Ot,Js));const an=Gr(hn);return an.onDestroy(()=>{yt.forEach(Ot=>_s(Ot,Js)),Ho(ue,l.toStyles)}),at.forEach(Ot=>{Bn(D,Ot,[]).push(an)}),an}_buildPlayer(i,l,f){return l.length>0?this.driver.animate(i.element,l,i.duration,i.delay,i.easing,f):new zt.ZN(i.duration,i.delay)}}class Gi{constructor(i,l,f){this.namespaceId=i,this.triggerName=l,this.element=f,this._player=new zt.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(i){this._containsRealPlayer||(this._player=i,this._queuedCallbacks.forEach((l,f)=>{l.forEach(D=>In(i,f,void 0,D))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(i.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(i){this.totalTime=i}syncPlayerEvents(i){const l=this._player;l.triggerCallback&&i.onStart(()=>l.triggerCallback("start")),i.onDone(()=>this.finish()),i.onDestroy(()=>this.destroy())}_queueEvent(i,l){Bn(this._queuedCallbacks,i,[]).push(l)}onDone(i){this.queued&&this._queueEvent("done",i),this._player.onDone(i)}onStart(i){this.queued&&this._queueEvent("start",i),this._player.onStart(i)}onDestroy(i){this.queued&&this._queueEvent("destroy",i),this._player.onDestroy(i)}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(i){this.queued||this._player.setPosition(i)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(i){const l=this._player;l.triggerCallback&&l.triggerCallback(i)}}function nl(p){return p&&1===p.nodeType}function El(p,i){const l=p.style.display;return p.style.display=i??"none",l}function Ic(p,i,l,f,D){const R=[];l.forEach(ue=>R.push(El(ue)));const q=[];f.forEach((ue,Be)=>{const yt=new Map;ue.forEach(at=>{const hn=i.computeStyle(Be,at,D);yt.set(at,hn),(!hn||0==hn.length)&&(Be[Fs]=Mc,q.push(Be))}),p.set(Be,yt)});let X=0;return l.forEach(ue=>El(ue,R[X++])),q}function rl(p,i){const l=new Map;if(p.forEach(X=>l.set(X,[])),0==i.length)return l;const D=new Set(i),R=new Map;function q(X){if(!X)return 1;let ue=R.get(X);if(ue)return ue;const Be=X.parentNode;return ue=l.has(Be)?Be:D.has(Be)?1:q(Be),R.set(X,ue),ue}return i.forEach(X=>{const ue=q(X);1!==ue&&l.get(ue).push(X)}),l}function Po(p,i){p.classList?.add(i)}function _s(p,i){p.classList?.remove(i)}function Ia(p,i,l){Gr(l).onDone(()=>p.processLeaveNode(i))}function E(p,i){for(let l=0;l<p.length;l++){const f=p[l];f instanceof zt.ZE?E(f.players,i):i.push(f)}}function W(p,i,l){const f=l.get(p);if(!f)return!1;let D=i.get(p);return D?f.forEach(R=>D.add(R)):i.set(p,f),l.delete(p),!0}class ce{constructor(i,l,f){this.bodyNode=i,this._driver=l,this._normalizer=f,this._triggerCache={},this.onRemovalComplete=(D,R)=>{},this._transitionEngine=new Dl(i,l,f),this._timelineEngine=new Qa(i,l,f),this._transitionEngine.onRemovalComplete=(D,R)=>this.onRemovalComplete(D,R)}registerTrigger(i,l,f,D,R){const q=i+"-"+D;let X=this._triggerCache[q];if(!X){const ue=[],yt=oa(this._driver,R,ue,[]);if(ue.length)throw function ze(p,i){return new u.vHH(3404,!1)}();X=function Vl(p,i,l){return new Cc(p,i,l)}(D,yt,this._normalizer),this._triggerCache[q]=X}this._transitionEngine.registerTrigger(l,D,X)}register(i,l){this._transitionEngine.register(i,l)}destroy(i,l){this._transitionEngine.destroy(i,l)}onInsert(i,l,f,D){this._transitionEngine.insertNode(i,l,f,D)}onRemove(i,l,f){this._transitionEngine.removeNode(i,l,f)}disableAnimations(i,l){this._transitionEngine.markElementAsDisabled(i,l)}process(i,l,f,D){if("@"==f.charAt(0)){const[R,q]=Ba(f);this._timelineEngine.command(R,l,q,D)}else this._transitionEngine.trigger(i,l,f,D)}listen(i,l,f,D,R){if("@"==f.charAt(0)){const[q,X]=Ba(f);return this._timelineEngine.listen(q,l,X,R)}return this._transitionEngine.listen(i,l,f,D,R)}flush(i=-1){this._transitionEngine.flush(i)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(i){this._transitionEngine.afterFlushAnimationsDone(i)}}let He=(()=>{class i{constructor(f,D,R){this._element=f,this._startStyles=D,this._endStyles=R,this._state=0;let q=i.initialStylesByElement.get(f);q||i.initialStylesByElement.set(f,q=new Map),this._initialStyles=q}start(){this._state<1&&(this._startStyles&&Ho(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Ho(this._element,this._initialStyles),this._endStyles&&(Ho(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(i.initialStylesByElement.delete(this._element),this._startStyles&&($o(this._element,this._startStyles),this._endStyles=null),this._endStyles&&($o(this._element,this._endStyles),this._endStyles=null),Ho(this._element,this._initialStyles),this._state=3)}}return i.initialStylesByElement=new WeakMap,i})();function ft(p){let i=null;return p.forEach((l,f)=>{(function ut(p){return"display"===p||"position"===p})(f)&&(i=i||new Map,i.set(f,l))}),i}class Et{constructor(i,l,f,D){this.element=i,this.keyframes=l,this.options=f,this._specialStyles=D,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=f.duration,this._delay=f.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(i=>i()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const i=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,i,this.options),this._finalKeyframe=i.length?i[i.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(i){const l=[];return i.forEach(f=>{l.push(Object.fromEntries(f))}),l}_triggerWebAnimation(i,l,f){return i.animate(this._convertKeyframesToObject(l),f)}onStart(i){this._originalOnStartFns.push(i),this._onStartFns.push(i)}onDone(i){this._originalOnDoneFns.push(i),this._onDoneFns.push(i)}onDestroy(i){this._onDestroyFns.push(i)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(i=>i()),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(i=>i()),this._onDestroyFns=[])}setPosition(i){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=i*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const i=new Map;this.hasStarted()&&this._finalKeyframe.forEach((f,D)=>{"offset"!==D&&i.set(D,this._finished?f:C(this.element,D))}),this.currentSnapshot=i}triggerCallback(i){const l="start"===i?this._onStartFns:this._onDoneFns;l.forEach(f=>f()),l.length=0}}class Wt{validateStyleProperty(i){return!0}validateAnimatableStyleProperty(i){return!0}matchesElement(i,l){return!1}containsElement(i,l){return Ao(i,l)}getParentElement(i){return Ps(i)}query(i,l,f){return Ua(i,l,f)}computeStyle(i,l,f){return window.getComputedStyle(i)[l]}animate(i,l,f,D,R,q=[]){const ue={duration:f,delay:D,fill:0==D?"both":"forwards"};R&&(ue.easing=R);const Be=new Map,yt=q.filter(an=>an instanceof Et);(function ei(p,i){return 0===p||0===i})(f,D)&&yt.forEach(an=>{an.currentSnapshot.forEach((Ot,Bt)=>Be.set(Bt,Ot))});let at=function ra(p){return p.length?p[0]instanceof Map?p:p.map(i=>mn(i)):[]}(l).map(an=>Qn(an));at=function h(p,i,l){if(l.size&&i.length){let f=i[0],D=[];if(l.forEach((R,q)=>{f.has(q)||D.push(q),f.set(q,R)}),D.length)for(let R=1;R<i.length;R++){let q=i[R];D.forEach(X=>q.set(X,C(p,X)))}}return i}(i,at,Be);const hn=function be(p,i){let l=null,f=null;return Array.isArray(i)&&i.length?(l=ft(i[0]),i.length>1&&(f=ft(i[i.length-1]))):i instanceof Map&&(l=ft(i)),l||f?new He(p,l,f):null}(i,at);return new Et(i,at,ue,hn)}}let Kt=(()=>{var p;class i extends zt._j{constructor(f,D){super(),this._nextAnimationId=0,this._renderer=f.createRenderer(D.body,{id:"0",encapsulation:u.ifc.None,styles:[],data:{animation:[]}})}build(f){const D=this._nextAnimationId.toString();this._nextAnimationId++;const R=Array.isArray(f)?(0,zt.vP)(f):f;return Sa(this._renderer,null,D,"register",[R]),new to(D,this._renderer)}}return(p=i).\u0275fac=function(f){return new(f||p)(u.LFG(u.FYo),u.LFG(pn.K0))},p.\u0275prov=u.Yz7({token:p,factory:p.\u0275fac}),i})();class to extends zt.LC{constructor(i,l){super(),this._id=i,this._renderer=l}create(i,l){return new no(this._id,i,l||{},this._renderer)}}class no{constructor(i,l,f,D){this.id=i,this.element=l,this._renderer=D,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",f)}_listen(i,l){return this._renderer.listen(this.element,`@@${this.id}:${i}`,l)}_command(i,...l){return Sa(this._renderer,this.element,this.id,i,l)}onDone(i){this._listen("done",i)}onStart(i){this._listen("start",i)}onDestroy(i){this._listen("destroy",i)}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(i){this._command("setPosition",i)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function Sa(p,i,l,f,D){return p.setProperty(i,`@@${l}:${f}`,D)}const ia="@.disabled";let Co=(()=>{var p;class i{constructor(f,D,R){this.delegate=f,this.engine=D,this._zone=R,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,D.onRemovalComplete=(q,X)=>{const ue=X?.parentNode(q);ue&&X.removeChild(ue,q)}}createRenderer(f,D){const q=this.delegate.createRenderer(f,D);if(!(f&&D&&D.data&&D.data.animation)){let at=this._rendererCache.get(q);return at||(at=new oi("",q,this.engine,()=>this._rendererCache.delete(q)),this._rendererCache.set(q,at)),at}const X=D.id,ue=D.id+"-"+this._currentId;this._currentId++,this.engine.register(ue,f);const Be=at=>{Array.isArray(at)?at.forEach(Be):this.engine.registerTrigger(X,ue,f,at.name,at)};return D.data.animation.forEach(Be),new zo(this,ue,q,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(f,D,R){f>=0&&f<this._microtaskId?this._zone.run(()=>D(R)):(0==this._animationCallbacksBuffer.length&&queueMicrotask(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(q=>{const[X,ue]=q;X(ue)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([D,R]))}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(p=i).\u0275fac=function(f){return new(f||p)(u.LFG(u.FYo),u.LFG(ce),u.LFG(u.R0b))},p.\u0275prov=u.Yz7({token:p,factory:p.\u0275fac}),i})();class oi{constructor(i,l,f,D){this.namespaceId=i,this.delegate=l,this.engine=f,this._onDestroy=D}get data(){return this.delegate.data}destroyNode(i){this.delegate.destroyNode?.(i)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(i,l){return this.delegate.createElement(i,l)}createComment(i){return this.delegate.createComment(i)}createText(i){return this.delegate.createText(i)}appendChild(i,l){this.delegate.appendChild(i,l),this.engine.onInsert(this.namespaceId,l,i,!1)}insertBefore(i,l,f,D=!0){this.delegate.insertBefore(i,l,f),this.engine.onInsert(this.namespaceId,l,i,D)}removeChild(i,l,f){this.engine.onRemove(this.namespaceId,l,this.delegate)}selectRootElement(i,l){return this.delegate.selectRootElement(i,l)}parentNode(i){return this.delegate.parentNode(i)}nextSibling(i){return this.delegate.nextSibling(i)}setAttribute(i,l,f,D){this.delegate.setAttribute(i,l,f,D)}removeAttribute(i,l,f){this.delegate.removeAttribute(i,l,f)}addClass(i,l){this.delegate.addClass(i,l)}removeClass(i,l){this.delegate.removeClass(i,l)}setStyle(i,l,f,D){this.delegate.setStyle(i,l,f,D)}removeStyle(i,l,f){this.delegate.removeStyle(i,l,f)}setProperty(i,l,f){"@"==l.charAt(0)&&l==ia?this.disableAnimations(i,!!f):this.delegate.setProperty(i,l,f)}setValue(i,l){this.delegate.setValue(i,l)}listen(i,l,f){return this.delegate.listen(i,l,f)}disableAnimations(i,l){this.engine.disableAnimations(i,l)}}class zo extends oi{constructor(i,l,f,D,R){super(l,f,D,R),this.factory=i,this.namespaceId=l}setProperty(i,l,f){"@"==l.charAt(0)?"."==l.charAt(1)&&l==ia?this.disableAnimations(i,f=void 0===f||!!f):this.engine.process(this.namespaceId,i,l.slice(1),f):this.delegate.setProperty(i,l,f)}listen(i,l,f){if("@"==l.charAt(0)){const D=function ol(p){switch(p){case"body":return document.body;case"document":return document;case"window":return window;default:return p}}(i);let R=l.slice(1),q="";return"@"!=R.charAt(0)&&([R,q]=function du(p){const i=p.indexOf(".");return[p.substring(0,i),p.slice(i+1)]}(R)),this.engine.listen(this.namespaceId,D,R,q,X=>{this.factory.scheduleListenerCallback(X._data||-1,f,X)})}return this.delegate.listen(i,l,f)}}const yd=[{provide:zt._j,useClass:Kt},{provide:Ll,useFactory:function Cl(){return new md}},{provide:ce,useClass:(()=>{var p;class i extends ce{constructor(f,D,R,q){super(f.body,D,R)}ngOnDestroy(){this.flush()}}return(p=i).\u0275fac=function(f){return new(f||p)(u.LFG(pn.K0),u.LFG(Ha),u.LFG(Ll),u.LFG(u.z2F))},p.\u0275prov=u.Yz7({token:p,factory:p.\u0275fac}),i})()},{provide:u.FYo,useFactory:function _d(p,i,l){return new Co(p,i,l)},deps:[a.se,ce,u.R0b]}],Sc=[{provide:Ha,useFactory:()=>new Wt},{provide:u.QbO,useValue:"BrowserAnimations"},...yd],vd=[{provide:Ha,useClass:Vi},{provide:u.QbO,useValue:"NoopAnimations"},...yd];let ys=(()=>{var p;class i{static withConfig(f){return{ngModule:i,providers:f.disableAnimations?vd:Sc}}}return(p=i).\u0275fac=function(f){return new(f||p)},p.\u0275mod=u.oAB({type:p}),p.\u0275inj=u.cJS({providers:Sc,imports:[a.b2]}),i})(),hu=(()=>{var p;class i{constructor(){function f(D){return D<10?"0"+D:D}this.title="web-tools",Date.prototype.toJSON=function(){return this.getFullYear()+"-"+f(this.getMonth()+1)+"-"+f(this.getDate())+"T"+f(this.getHours())+":"+f(this.getMinutes())+":"+f(this.getSeconds())+".000"}}}return(p=i).\u0275fac=function(f){return new(f||p)},p.\u0275cmp=u.Xpm({type:p,selectors:[["app-root"]],decls:2,vars:0,template:function(f,D){1&f&&u._UZ(0,"ng-http-loader")(1,"router-outlet")},dependencies:[G.lC,hr]}),i})();const Dd=["custom-toast-component",""];function Ed(p,i){if(1&p){const l=u.EpF();u.TgZ(0,"a",11),u.NdJ("click",function(){u.CHM(l);const D=u.oxw(2);return u.KtG(D.remove())}),u._uU(1," x "),u.qZA()}}function Cd(p,i){if(1&p&&(u.TgZ(0,"div",6)(1,"div",7)(2,"div",8)(3,"h4"),u._uU(4),u.qZA()()(),u.TgZ(5,"div",9),u.YNc(6,Ed,2,0,"a",10),u.qZA()()),2&p){const l=u.oxw();u.Udp("display","inactive"===l.state.value?"none":""),u.xp6(2),u.Tol(l.options.titleClass),u.uIk("aria-label",l.title),u.xp6(2),u.Oqu(l.title),u.xp6(2),u.Q6J("ngIf",l.options.closeButton)}}const pu=function(p){return{notitle:p}};function bd(p,i){if(1&p&&u._UZ(0,"div",12),2&p){const l=u.oxw();u.Tol(l.options.messageClass),u.Q6J("ngClass",u.VKq(4,pu,null==l.title))("innerHTML",l.message,u.oJD)}}function wd(p,i){if(1&p&&(u.TgZ(0,"div",13),u._uU(1),u.qZA()),2&p){const l=u.oxw();u.Tol(l.options.messageClass),u.Q6J("ngClass",u.VKq(5,pu,null==l.title)),u.uIk("aria-label",l.message),u.xp6(1),u.hij(" ",l.message," ")}}function Ac(p,i){if(1&p){const l=u.EpF();u.TgZ(0,"a",11),u.NdJ("click",function(){u.CHM(l);const D=u.oxw();return u.KtG(D.remove())}),u._uU(1," x "),u.qZA()}}function Ul(p,i){if(1&p&&(u.TgZ(0,"div"),u._UZ(1,"div",14),u.qZA()),2&p){const l=u.oxw();u.xp6(1),u.Udp("width",l.width+"%")}}let Md=(()=>{var p;class i extends je.FN{constructor(f,D){super(f,D),this.toastrService=f,this.toastPackage=D}ngOnInit(){}action(f){return f.stopPropagation(),this.toastPackage.triggerAction(),!1}}return(p=i).\u0275fac=function(f){return new(f||p)(u.Y36(je._W),u.Y36(je.PR))},p.\u0275cmp=u.Xpm({type:p,selectors:[["","custom-toast-component",""]],features:[u.qOj],attrs:Dd,decls:6,vars:5,consts:[[1,"toast-case"],["class","row toast-header",3,"display",4,"ngIf"],["class","row toast-body text-start","role","alert","aria-live","polite",3,"ngClass","class","innerHTML",4,"ngIf"],["class","row toast-body text-start","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","px-0","text-start"],[1,"my-4"],[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,"row","toast-body","text-start",3,"ngClass","innerHTML"],["role","alert","aria-live","polite",1,"row","toast-body","text-start",3,"ngClass"],[1,"toast-progress"]],template:function(f,D){1&f&&(u.TgZ(0,"div",0),u.YNc(1,Cd,7,7,"div",1),u.YNc(2,bd,1,6,"div",2),u.YNc(3,wd,2,7,"div",3),u.YNc(4,Ac,2,0,"a",4),u.YNc(5,Ul,2,2,"div",5),u.qZA()),2&f&&(u.xp6(1),u.Q6J("ngIf",D.title),u.xp6(1),u.Q6J("ngIf",D.message&&D.options.enableHtml),u.xp6(1),u.Q6J("ngIf",D.message&&!D.options.enableHtml),u.xp6(1),u.Q6J("ngIf",D.options.closeButton&&null==D.title),u.xp6(1),u.Q6J("ngIf",D.options.progressBar))},dependencies:[pn.mk,pn.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:10px}.toast-header[_ngcontent-%COMP%]{background-clip:padding-box;border-bottom:1px solid gainsboro;border-width:1px;padding-bottom:0rem;padding-top:0rem;padding-right:0}.toast-title[_ngcontent-%COMP%]{color:#000}.toast-body[_ngcontent-%COMP%]{padding:10px 15px 10px 0}.notitle[_ngcontent-%COMP%]{margin-bottom:-1rem}.toast-close-button[_ngcontent-%COMP%]{color:#dcdcdc!important}"],data:{animation:[(0,zt.X$)("flyInOut",[(0,zt.SB)("inactive",(0,zt.oB)({opacity:0})),(0,zt.eR)("inactive => active",(0,zt.jt)("400ms ease-out",(0,zt.F4)([(0,zt.oB)({transform:"translate3d(100%, 0, 0) skewX(-30deg)",opacity:0}),(0,zt.oB)({transform:"skewX(20deg)",opacity:1}),(0,zt.oB)({transform:"skewX(-5deg)",opacity:1}),(0,zt.oB)({transform:"none",opacity:1})]))),(0,zt.eR)("active => removed",(0,zt.jt)("400ms ease-out",(0,zt.F4)([(0,zt.oB)({opacity:1}),(0,zt.oB)({transform:"translate3d(100%, 0, 0) skewX(30deg)",opacity:0})])))])]}}),i})();const Hl={apiKey:"AIzaSyDnnitFXpM8TglWKNpzu4ChgF98n25Rgvw",authDomain:"auth.dealpos.com",projectId:"devops-signin",storageBucket:"devops-signin.appspot.com",messagingSenderId:"412465165194",appId:"1:412465165194:web:03d806f6b6ab6f8b460e73",measurementId:"G-MNDBRJ5XZD"};let Td=(()=>{var p;class i{}return(p=i).\u0275fac=function(f){return new(f||p)},p.\u0275mod=u.oAB({type:p,bootstrap:[hu]}),p.\u0275inj=u.cJS({providers:[Oe.O,Ni.a],imports:[a.b2,ys,Nr,$r.u5,G.Bz,en.hO.initializeApp(Hl),Ai,rt.JF,pa.forRoot(),je.Rh.forRoot({toastComponent:Md,positionClass:"toast-bottom-right",closeButton:!0}),G.Bz]}),i})();I(553).N.production&&(0,u.G48)(),a.q6().bootstrapModule(Td).catch(p=>console.error(p))},5619:(tt,ve,I)=>{I.d(ve,{X:()=>u});var a=I(8645);class u extends a.x{constructor(ne){super(),this._value=ne}get value(){return this.getValue()}_subscribe(ne){const z=super._subscribe(ne);return!z.closed&&ne.next(this._value),z}getValue(){const{hasError:ne,thrownError:z,_value:$}=this;if(ne)throw z;return this._throwIfClosed(),$}next(ne){super.next(this._value=ne)}}},5592:(tt,ve,I)=>{I.d(ve,{y:()=>ae});var a=I(305),u=I(7394),G=I(4850),ne=I(8407),z=I(2653),$=I(4674),ee=I(1441);let ae=(()=>{class fe{constructor(Te){Te&&(this._subscribe=Te)}lift(Te){const Ye=new fe;return Ye.source=this,Ye.operator=Te,Ye}subscribe(Te,Ye,Oe){const je=function J(fe){return fe&&fe instanceof a.Lv||function U(fe){return fe&&(0,$.m)(fe.next)&&(0,$.m)(fe.error)&&(0,$.m)(fe.complete)}(fe)&&(0,u.Nn)(fe)}(Te)?Te:new a.Hp(Te,Ye,Oe);return(0,ee.x)(()=>{const{operator:Le,source:et}=this;je.add(Le?Le.call(je,et):et?this._subscribe(je):this._trySubscribe(je))}),je}_trySubscribe(Te){try{return this._subscribe(Te)}catch(Ye){Te.error(Ye)}}forEach(Te,Ye){return new(Ye=de(Ye))((Oe,je)=>{const Le=new a.Hp({next:et=>{try{Te(et)}catch(Ve){je(Ve),Le.unsubscribe()}},error:je,complete:Oe});this.subscribe(Le)})}_subscribe(Te){var Ye;return null===(Ye=this.source)||void 0===Ye?void 0:Ye.subscribe(Te)}[G.L](){return this}pipe(...Te){return(0,ne.U)(Te)(this)}toPromise(Te){return new(Te=de(Te))((Ye,Oe)=>{let je;this.subscribe(Le=>je=Le,Le=>Oe(Le),()=>Ye(je))})}}return fe.create=xe=>new fe(xe),fe})();function de(fe){var xe;return null!==(xe=fe??z.config.Promise)&&void 0!==xe?xe:Promise}},7328:(tt,ve,I)=>{I.d(ve,{t:()=>G});var a=I(8645),u=I(4552);class G extends a.x{constructor(z=1/0,$=1/0,ee=u.l){super(),this._bufferSize=z,this._windowTime=$,this._timestampProvider=ee,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=$===1/0,this._bufferSize=Math.max(1,z),this._windowTime=Math.max(1,$)}next(z){const{isStopped:$,_buffer:ee,_infiniteTimeWindow:ae,_timestampProvider:de,_windowTime:U}=this;$||(ee.push(z),!ae&&ee.push(de.now()+U)),this._trimBuffer(),super.next(z)}_subscribe(z){this._throwIfClosed(),this._trimBuffer();const $=this._innerSubscribe(z),{_infiniteTimeWindow:ee,_buffer:ae}=this,de=ae.slice();for(let U=0;U<de.length&&!z.closed;U+=ee?1:2)z.next(de[U]);return this._checkFinalizedStatuses(z),$}_trimBuffer(){const{_bufferSize:z,_timestampProvider:$,_buffer:ee,_infiniteTimeWindow:ae}=this,de=(ae?1:2)*z;if(z<1/0&&de<ee.length&&ee.splice(0,ee.length-de),!ae){const U=$.now();let J=0;for(let fe=1;fe<ee.length&&ee[fe]<=U;fe+=2)J=fe;J&&ee.splice(0,J+1)}}}},8645:(tt,ve,I)=>{I.d(ve,{x:()=>ee});var a=I(5592),u=I(7394);const ne=(0,I(2306).d)(de=>function(){de(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var z=I(9039),$=I(1441);let ee=(()=>{class de extends a.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 ae(this,this);return fe.operator=J,fe}_throwIfClosed(){if(this.closed)throw new ne}next(J){(0,$.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,$.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,$.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:xe,observers:Te}=this;return fe||xe?u.Lc:(this.currentObservers=null,Te.push(J),new u.w0(()=>{this.currentObservers=null,(0,z.P)(Te,J)}))}_checkFinalizedStatuses(J){const{hasError:fe,thrownError:xe,isStopped:Te}=this;fe?J.error(xe):Te&&J.complete()}asObservable(){const J=new a.y;return J.source=this,J}}return de.create=(U,J)=>new ae(U,J),de})();class ae extends ee{constructor(U,J){super(),this.destination=U,this.source=J}next(U){var J,fe;null===(fe=null===(J=this.destination)||void 0===J?void 0:J.next)||void 0===fe||fe.call(J,U)}error(U){var J,fe;null===(fe=null===(J=this.destination)||void 0===J?void 0:J.error)||void 0===fe||fe.call(J,U)}complete(){var U,J;null===(J=null===(U=this.destination)||void 0===U?void 0:U.complete)||void 0===J||J.call(U)}_subscribe(U){var J,fe;return null!==(fe=null===(J=this.source)||void 0===J?void 0:J.subscribe(U))&&void 0!==fe?fe:u.Lc}}},305:(tt,ve,I)=>{I.d(ve,{Hp:()=>Oe,Lv:()=>fe});var a=I(4674),u=I(7394),G=I(2653),ne=I(3894),z=I(2420);const $=de("C",void 0,void 0);function de(Z,De,me){return{kind:Z,value:De,error:me}}var U=I(7599),J=I(1441);class fe extends u.w0{constructor(De){super(),this.isStopped=!1,De?(this.destination=De,(0,u.Nn)(De)&&De.add(this)):this.destination=Ve}static create(De,me,Se){return new Oe(De,me,Se)}next(De){this.isStopped?et(function ae(Z){return de("N",Z,void 0)}(De),this):this._next(De)}error(De){this.isStopped?et(function ee(Z){return de("E",void 0,Z)}(De),this):(this.isStopped=!0,this._error(De))}complete(){this.isStopped?et($,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(De){this.destination.next(De)}_error(De){try{this.destination.error(De)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const xe=Function.prototype.bind;function Te(Z,De){return xe.call(Z,De)}class Ye{constructor(De){this.partialObserver=De}next(De){const{partialObserver:me}=this;if(me.next)try{me.next(De)}catch(Se){je(Se)}}error(De){const{partialObserver:me}=this;if(me.error)try{me.error(De)}catch(Se){je(Se)}else je(De)}complete(){const{partialObserver:De}=this;if(De.complete)try{De.complete()}catch(me){je(me)}}}class Oe extends fe{constructor(De,me,Se){let We;if(super(),(0,a.m)(De)||!De)We={next:De??void 0,error:me??void 0,complete:Se??void 0};else{let $e;this&&G.config.useDeprecatedNextContext?($e=Object.create(De),$e.unsubscribe=()=>this.unsubscribe(),We={next:De.next&&Te(De.next,$e),error:De.error&&Te(De.error,$e),complete:De.complete&&Te(De.complete,$e)}):We=De}this.destination=new Ye(We)}}function je(Z){G.config.useDeprecatedSynchronousErrorHandling?(0,J.O)(Z):(0,ne.h)(Z)}function et(Z,De){const{onStoppedNotification:me}=G.config;me&&U.z.setTimeout(()=>me(Z,De))}const Ve={closed:!0,next:z.Z,error:function Le(Z){throw Z},complete:z.Z}},7394:(tt,ve,I)=>{I.d(ve,{Lc:()=>$,w0:()=>z,Nn:()=>ee});var a=I(4674);const G=(0,I(2306).d)(de=>function(J){de(this),this.message=J?`${J.length} errors occurred during unsubscription:\n${J.map((fe,xe)=>`${xe+1}) ${fe.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=J});var ne=I(9039);class z{constructor(U){this.initialTeardown=U,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let U;if(!this.closed){this.closed=!0;const{_parentage:J}=this;if(J)if(this._parentage=null,Array.isArray(J))for(const Te of J)Te.remove(this);else J.remove(this);const{initialTeardown:fe}=this;if((0,a.m)(fe))try{fe()}catch(Te){U=Te instanceof G?Te.errors:[Te]}const{_finalizers:xe}=this;if(xe){this._finalizers=null;for(const Te of xe)try{ae(Te)}catch(Ye){U=U??[],Ye instanceof G?U=[...U,...Ye.errors]:U.push(Ye)}}if(U)throw new G(U)}}add(U){var J;if(U&&U!==this)if(this.closed)ae(U);else{if(U instanceof z){if(U.closed||U._hasParent(this))return;U._addParent(this)}(this._finalizers=null!==(J=this._finalizers)&&void 0!==J?J:[]).push(U)}}_hasParent(U){const{_parentage:J}=this;return J===U||Array.isArray(J)&&J.includes(U)}_addParent(U){const{_parentage:J}=this;this._parentage=Array.isArray(J)?(J.push(U),J):J?[J,U]:U}_removeParent(U){const{_parentage:J}=this;J===U?this._parentage=null:Array.isArray(J)&&(0,ne.P)(J,U)}remove(U){const{_finalizers:J}=this;J&&(0,ne.P)(J,U),U instanceof z&&U._removeParent(this)}}z.EMPTY=(()=>{const de=new z;return de.closed=!0,de})();const $=z.EMPTY;function ee(de){return de instanceof z||de&&"closed"in de&&(0,a.m)(de.remove)&&(0,a.m)(de.add)&&(0,a.m)(de.unsubscribe)}function ae(de){(0,a.m)(de)?de():de.unsubscribe()}},2653:(tt,ve,I)=>{I.d(ve,{config:()=>a});const a={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},2572:(tt,ve,I)=>{I.d(ve,{a:()=>U});var a=I(5592),u=I(7453),G=I(2459),ne=I(2737),z=I(7400),$=I(9940),ee=I(2714),ae=I(8251),de=I(7103);function U(...xe){const Te=(0,$.yG)(xe),Ye=(0,$.jO)(xe),{args:Oe,keys:je}=(0,u.D)(xe);if(0===Oe.length)return(0,G.D)([],Te);const Le=new a.y(function J(xe,Te,Ye=ne.y){return Oe=>{fe(Te,()=>{const{length:je}=xe,Le=new Array(je);let et=je,Ve=je;for(let Z=0;Z<je;Z++)fe(Te,()=>{const De=(0,G.D)(xe[Z],Te);let me=!1;De.subscribe((0,ae.x)(Oe,Se=>{Le[Z]=Se,me||(me=!0,Ve--),Ve||Oe.next(Ye(Le.slice()))},()=>{--et||Oe.complete()}))},Oe)},Oe)}}(Oe,Te,je?et=>(0,ee.n)(je,et):ne.y));return Ye?Le.pipe((0,z.Z)(Ye)):Le}function fe(xe,Te,Ye){xe?(0,de.f)(Ye,xe,Te):Te()}},5211:(tt,ve,I)=>{I.d(ve,{z:()=>z});var a=I(7537),G=I(9940),ne=I(2459);function z(...$){return function u(){return(0,a.J)(1)}()((0,ne.D)($,(0,G.yG)($)))}},4911:(tt,ve,I)=>{I.d(ve,{P:()=>G});var a=I(5592),u=I(4829);function G(ne){return new a.y(z=>{(0,u.Xf)(ne()).subscribe(z)})}},6232:(tt,ve,I)=>{I.d(ve,{E:()=>u});const u=new(I(5592).y)(z=>z.complete())},9315:(tt,ve,I)=>{I.d(ve,{D:()=>ae});var a=I(5592),u=I(7453),G=I(4829),ne=I(9940),z=I(8251),$=I(7400),ee=I(2714);function ae(...de){const U=(0,ne.jO)(de),{args:J,keys:fe}=(0,u.D)(de),xe=new a.y(Te=>{const{length:Ye}=J;if(!Ye)return void Te.complete();const Oe=new Array(Ye);let je=Ye,Le=Ye;for(let et=0;et<Ye;et++){let Ve=!1;(0,G.Xf)(J[et]).subscribe((0,z.x)(Te,Z=>{Ve||(Ve=!0,Le--),Oe[et]=Z},()=>je--,void 0,()=>{(!je||!Ve)&&(Le||Te.next(fe?(0,ee.n)(fe,Oe):Oe),Te.complete())}))}});return U?xe.pipe((0,$.Z)(U)):xe}},2459:(tt,ve,I)=>{I.d(ve,{D:()=>De});var a=I(4829),u=I(3093),G=I(5137),$=I(5592),ae=I(4971),de=I(4674),U=I(7103);function fe(me,Se){if(!me)throw new Error("Iterable cannot be null");return new $.y(We=>{(0,U.f)(We,Se,()=>{const $e=me[Symbol.asyncIterator]();(0,U.f)(We,Se,()=>{$e.next().then(st=>{st.done?We.complete():We.next(st.value)})},0,!0)})})}var xe=I(8382),Te=I(4026),Ye=I(4266),Oe=I(3664),je=I(5726),Le=I(9853),et=I(541);function De(me,Se){return Se?function Z(me,Se){if(null!=me){if((0,xe.c)(me))return function ne(me,Se){return(0,a.Xf)(me).pipe((0,G.R)(Se),(0,u.Q)(Se))}(me,Se);if((0,Ye.z)(me))return function ee(me,Se){return new $.y(We=>{let $e=0;return Se.schedule(function(){$e===me.length?We.complete():(We.next(me[$e++]),We.closed||this.schedule())})})}(me,Se);if((0,Te.t)(me))return function z(me,Se){return(0,a.Xf)(me).pipe((0,G.R)(Se),(0,u.Q)(Se))}(me,Se);if((0,je.D)(me))return fe(me,Se);if((0,Oe.T)(me))return function J(me,Se){return new $.y(We=>{let $e;return(0,U.f)(We,Se,()=>{$e=me[ae.h](),(0,U.f)(We,Se,()=>{let st,ht;try{({value:st,done:ht}=$e.next())}catch(It){return void We.error(It)}ht?We.complete():We.next(st)},0,!0)}),()=>(0,de.m)($e?.return)&&$e.return()})}(me,Se);if((0,et.L)(me))return function Ve(me,Se){return fe((0,et.Q)(me),Se)}(me,Se)}throw(0,Le.z)(me)}(me,Se):(0,a.Xf)(me)}},4829:(tt,ve,I)=>{I.d(ve,{Xf:()=>xe});var a=I(7582),u=I(4266),G=I(4026),ne=I(5592),z=I(8382),$=I(5726),ee=I(9853),ae=I(3664),de=I(541),U=I(4674),J=I(3894),fe=I(4850);function xe(Z){if(Z instanceof ne.y)return Z;if(null!=Z){if((0,z.c)(Z))return function Te(Z){return new ne.y(De=>{const me=Z[fe.L]();if((0,U.m)(me.subscribe))return me.subscribe(De);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(Z);if((0,u.z)(Z))return function Ye(Z){return new ne.y(De=>{for(let me=0;me<Z.length&&!De.closed;me++)De.next(Z[me]);De.complete()})}(Z);if((0,G.t)(Z))return function Oe(Z){return new ne.y(De=>{Z.then(me=>{De.closed||(De.next(me),De.complete())},me=>De.error(me)).then(null,J.h)})}(Z);if((0,$.D)(Z))return Le(Z);if((0,ae.T)(Z))return function je(Z){return new ne.y(De=>{for(const me of Z)if(De.next(me),De.closed)return;De.complete()})}(Z);if((0,de.L)(Z))return function et(Z){return Le((0,de.Q)(Z))}(Z)}throw(0,ee.z)(Z)}function Le(Z){return new ne.y(De=>{(function Ve(Z,De){var me,Se,We,$e;return(0,a.mG)(this,void 0,void 0,function*(){try{for(me=(0,a.KL)(Z);!(Se=yield me.next()).done;)if(De.next(Se.value),De.closed)return}catch(st){We={error:st}}finally{try{Se&&!Se.done&&($e=me.return)&&(yield $e.call(me))}finally{if(We)throw We.error}}De.complete()})})(Z,De).catch(me=>De.error(me))})}},3019:(tt,ve,I)=>{I.d(ve,{T:()=>$});var a=I(7537),u=I(4829),G=I(6232),ne=I(9940),z=I(2459);function $(...ee){const ae=(0,ne.yG)(ee),de=(0,ne._6)(ee,1/0),U=ee;return U.length?1===U.length?(0,u.Xf)(U[0]):(0,a.J)(de)((0,z.D)(U,ae)):G.E}},2096:(tt,ve,I)=>{I.d(ve,{of:()=>G});var a=I(9940),u=I(2459);function G(...ne){const z=(0,a.yG)(ne);return(0,u.D)(ne,z)}},8504:(tt,ve,I)=>{I.d(ve,{_:()=>G});var a=I(5592),u=I(4674);function G(ne,z){const $=(0,u.m)(ne)?ne:()=>ne,ee=ae=>ae.error($());return new a.y(z?ae=>z.schedule(ee,0,ae):ee)}},9080:(tt,ve,I)=>{I.d(ve,{H:()=>z});var a=I(5592),u=I(6321),G=I(671),ne=I(93);function z($=0,ee,ae=u.P){let de=-1;return null!=ee&&((0,G.K)(ee)?ae=ee:de=ee),new a.y(U=>{let J=(0,ne.q)($)?+$-ae.now():$;J<0&&(J=0);let fe=0;return ae.schedule(function(){U.closed||(U.next(fe++),0<=de?this.schedule(void 0,de):U.complete())},J)})}},8251:(tt,ve,I)=>{I.d(ve,{x:()=>u});var a=I(305);function u(ne,z,$,ee,ae){return new G(ne,z,$,ee,ae)}class G extends a.Lv{constructor(z,$,ee,ae,de,U){super(z),this.onFinalize=de,this.shouldUnsubscribe=U,this._next=$?function(J){try{$(J)}catch(fe){z.error(fe)}}:super._next,this._error=ae?function(J){try{ae(J)}catch(fe){z.error(fe)}finally{this.unsubscribe()}}:super._error,this._complete=ee?function(){try{ee()}catch(J){z.error(J)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var z;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:$}=this;super.unsubscribe(),!$&&(null===(z=this.onFinalize)||void 0===z||z.call(this))}}}},6306:(tt,ve,I)=>{I.d(ve,{K:()=>ne});var a=I(4829),u=I(8251),G=I(9360);function ne(z){return(0,G.e)(($,ee)=>{let U,ae=null,de=!1;ae=$.subscribe((0,u.x)(ee,void 0,void 0,J=>{U=(0,a.Xf)(z(J,ne(z)($))),ae?(ae.unsubscribe(),ae=null,U.subscribe(ee)):de=!0})),de&&(ae.unsubscribe(),ae=null,U.subscribe(ee))})}},6328:(tt,ve,I)=>{I.d(ve,{b:()=>G});var a=I(1631),u=I(4674);function G(ne,z){return(0,u.m)(z)?(0,a.z)(ne,z,1):(0,a.z)(ne,1)}},3572:(tt,ve,I)=>{I.d(ve,{d:()=>G});var a=I(9360),u=I(8251);function G(ne){return(0,a.e)((z,$)=>{let ee=!1;z.subscribe((0,u.x)($,ae=>{ee=!0,$.next(ae)},()=>{ee||$.next(ne),$.complete()}))})}},3997:(tt,ve,I)=>{I.d(ve,{x:()=>ne});var a=I(2737),u=I(9360),G=I(8251);function ne($,ee=a.y){return $=$??z,(0,u.e)((ae,de)=>{let U,J=!0;ae.subscribe((0,G.x)(de,fe=>{const xe=ee(fe);(J||!$(U,xe))&&(J=!1,U=xe,de.next(fe))}))})}function z($,ee){return $===ee}},2181:(tt,ve,I)=>{I.d(ve,{h:()=>G});var a=I(9360),u=I(8251);function G(ne,z){return(0,a.e)(($,ee)=>{let ae=0;$.subscribe((0,u.x)(ee,de=>ne.call(z,de,ae++)&&ee.next(de)))})}},4716:(tt,ve,I)=>{I.d(ve,{x:()=>u});var a=I(9360);function u(G){return(0,a.e)((ne,z)=>{try{ne.subscribe(z)}finally{z.add(G)}})}},1374:(tt,ve,I)=>{I.d(ve,{P:()=>ee});var a=I(6973),u=I(2181),G=I(8180),ne=I(3572),z=I(3026),$=I(2737);function ee(ae,de){const U=arguments.length>=2;return J=>J.pipe(ae?(0,u.h)((fe,xe)=>ae(fe,xe,J)):$.y,(0,G.q)(1),U?(0,ne.d)(de):(0,z.T)(()=>new a.K))}},7398:(tt,ve,I)=>{I.d(ve,{U:()=>G});var a=I(9360),u=I(8251);function G(ne,z){return(0,a.e)(($,ee)=>{let ae=0;$.subscribe((0,u.x)(ee,de=>{ee.next(ne.call(z,de,ae++))}))})}},975:(tt,ve,I)=>{I.d(ve,{h:()=>u});var a=I(7398);function u(G){return(0,a.U)(()=>G)}},7537:(tt,ve,I)=>{I.d(ve,{J:()=>G});var a=I(1631),u=I(2737);function G(ne=1/0){return(0,a.z)(u.y,ne)}},1631:(tt,ve,I)=>{I.d(ve,{z:()=>ae});var a=I(7398),u=I(4829),G=I(9360),ne=I(7103),z=I(8251),ee=I(4674);function ae(de,U,J=1/0){return(0,ee.m)(U)?ae((fe,xe)=>(0,a.U)((Te,Ye)=>U(fe,Te,xe,Ye))((0,u.Xf)(de(fe,xe))),J):("number"==typeof U&&(J=U),(0,G.e)((fe,xe)=>function $(de,U,J,fe,xe,Te,Ye,Oe){const je=[];let Le=0,et=0,Ve=!1;const Z=()=>{Ve&&!je.length&&!Le&&U.complete()},De=Se=>Le<fe?me(Se):je.push(Se),me=Se=>{Te&&U.next(Se),Le++;let We=!1;(0,u.Xf)(J(Se,et++)).subscribe((0,z.x)(U,$e=>{xe?.($e),Te?De($e):U.next($e)},()=>{We=!0},void 0,()=>{if(We)try{for(Le--;je.length&&Le<fe;){const $e=je.shift();Ye?(0,ne.f)(U,Ye,()=>me($e)):me($e)}Z()}catch($e){U.error($e)}}))};return de.subscribe((0,z.x)(U,De,()=>{Ve=!0,Z()})),()=>{Oe?.()}}(fe,xe,de,J)))}},3093:(tt,ve,I)=>{I.d(ve,{Q:()=>ne});var a=I(7103),u=I(9360),G=I(8251);function ne(z,$=0){return(0,u.e)((ee,ae)=>{ee.subscribe((0,G.x)(ae,de=>(0,a.f)(ae,z,()=>ae.next(de),$),()=>(0,a.f)(ae,z,()=>ae.complete(),$),de=>(0,a.f)(ae,z,()=>ae.error(de),$)))})}},3020:(tt,ve,I)=>{I.d(ve,{B:()=>z});var a=I(4829),u=I(8645),G=I(305),ne=I(9360);function z(ee={}){const{connector:ae=(()=>new u.x),resetOnError:de=!0,resetOnComplete:U=!0,resetOnRefCountZero:J=!0}=ee;return fe=>{let xe,Te,Ye,Oe=0,je=!1,Le=!1;const et=()=>{Te?.unsubscribe(),Te=void 0},Ve=()=>{et(),xe=Ye=void 0,je=Le=!1},Z=()=>{const De=xe;Ve(),De?.unsubscribe()};return(0,ne.e)((De,me)=>{Oe++,!Le&&!je&&et();const Se=Ye=Ye??ae();me.add(()=>{Oe--,0===Oe&&!Le&&!je&&(Te=$(Z,J))}),Se.subscribe(me),!xe&&Oe>0&&(xe=new G.Hp({next:We=>Se.next(We),error:We=>{Le=!0,et(),Te=$(Ve,de,We),Se.error(We)},complete:()=>{je=!0,et(),Te=$(Ve,U),Se.complete()}}),(0,a.Xf)(De).subscribe(xe))})(fe)}}function $(ee,ae,...de){if(!0===ae)return void ee();if(!1===ae)return;const U=new G.Hp({next:()=>{U.unsubscribe(),ee()}});return(0,a.Xf)(ae(...de)).subscribe(U)}},7081:(tt,ve,I)=>{I.d(ve,{d:()=>G});var a=I(7328),u=I(3020);function G(ne,z,$){let ee,ae=!1;return ne&&"object"==typeof ne?({bufferSize:ee=1/0,windowTime:z=1/0,refCount:ae=!1,scheduler:$}=ne):ee=ne??1/0,(0,u.B)({connector:()=>new a.t(ee,z,$),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:ae})}},7921:(tt,ve,I)=>{I.d(ve,{O:()=>ne});var a=I(5211),u=I(9940),G=I(9360);function ne(...z){const $=(0,u.yG)(z);return(0,G.e)((ee,ae)=>{($?(0,a.z)(z,ee,$):(0,a.z)(z,ee)).subscribe(ae)})}},5137:(tt,ve,I)=>{I.d(ve,{R:()=>u});var a=I(9360);function u(G,ne=0){return(0,a.e)((z,$)=>{$.add(G.schedule(()=>z.subscribe($),ne))})}},4664:(tt,ve,I)=>{I.d(ve,{w:()=>ne});var a=I(4829),u=I(9360),G=I(8251);function ne(z,$){return(0,u.e)((ee,ae)=>{let de=null,U=0,J=!1;const fe=()=>J&&!de&&ae.complete();ee.subscribe((0,G.x)(ae,xe=>{de?.unsubscribe();let Te=0;const Ye=U++;(0,a.Xf)(z(xe,Ye)).subscribe(de=(0,G.x)(ae,Oe=>ae.next($?$(xe,Oe,Ye,Te++):Oe),()=>{de=null,fe()}))},()=>{J=!0,fe()}))})}},8180:(tt,ve,I)=>{I.d(ve,{q:()=>ne});var a=I(6232),u=I(9360),G=I(8251);function ne(z){return z<=0?()=>a.E:(0,u.e)(($,ee)=>{let ae=0;$.subscribe((0,G.x)(ee,de=>{++ae<=z&&(ee.next(de),z<=ae&&ee.complete())}))})}},9773:(tt,ve,I)=>{I.d(ve,{R:()=>z});var a=I(9360),u=I(8251),G=I(4829),ne=I(2420);function z($){return(0,a.e)((ee,ae)=>{(0,G.Xf)($).subscribe((0,u.x)(ae,()=>ae.complete(),ne.Z)),!ae.closed&&ee.subscribe(ae)})}},9397:(tt,ve,I)=>{I.d(ve,{b:()=>z});var a=I(4674),u=I(9360),G=I(8251),ne=I(2737);function z($,ee,ae){const de=(0,a.m)($)||ee||ae?{next:$,error:ee,complete:ae}:$;return de?(0,u.e)((U,J)=>{var fe;null===(fe=de.subscribe)||void 0===fe||fe.call(de);let xe=!0;U.subscribe((0,G.x)(J,Te=>{var Ye;null===(Ye=de.next)||void 0===Ye||Ye.call(de,Te),J.next(Te)},()=>{var Te;xe=!1,null===(Te=de.complete)||void 0===Te||Te.call(de),J.complete()},Te=>{var Ye;xe=!1,null===(Ye=de.error)||void 0===Ye||Ye.call(de,Te),J.error(Te)},()=>{var Te,Ye;xe&&(null===(Te=de.unsubscribe)||void 0===Te||Te.call(de)),null===(Ye=de.finalize)||void 0===Ye||Ye.call(de)}))}):ne.y}},3026:(tt,ve,I)=>{I.d(ve,{T:()=>ne});var a=I(6973),u=I(9360),G=I(8251);function ne($=z){return(0,u.e)((ee,ae)=>{let de=!1;ee.subscribe((0,G.x)(ae,U=>{de=!0,ae.next(U)},()=>de?ae.complete():ae.error($())))})}function z(){return new a.K}},1954:(tt,ve,I)=>{I.d(ve,{o:()=>z});var a=I(7394);class u extends a.w0{constructor(ee,ae){super()}schedule(ee,ae=0){return this}}const G={setInterval($,ee,...ae){const{delegate:de}=G;return de?.setInterval?de.setInterval($,ee,...ae):setInterval($,ee,...ae)},clearInterval($){const{delegate:ee}=G;return(ee?.clearInterval||clearInterval)($)},delegate:void 0};var ne=I(9039);class z extends u{constructor(ee,ae){super(ee,ae),this.scheduler=ee,this.work=ae,this.pending=!1}schedule(ee,ae=0){var de;if(this.closed)return this;this.state=ee;const U=this.id,J=this.scheduler;return null!=U&&(this.id=this.recycleAsyncId(J,U,ae)),this.pending=!0,this.delay=ae,this.id=null!==(de=this.id)&&void 0!==de?de:this.requestAsyncId(J,this.id,ae),this}requestAsyncId(ee,ae,de=0){return G.setInterval(ee.flush.bind(ee,this),de)}recycleAsyncId(ee,ae,de=0){if(null!=de&&this.delay===de&&!1===this.pending)return ae;null!=ae&&G.clearInterval(ae)}execute(ee,ae){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const de=this._execute(ee,ae);if(de)return de;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(ee,ae){let U,de=!1;try{this.work(ee)}catch(J){de=!0,U=J||new Error("Scheduled action threw falsy error")}if(de)return this.unsubscribe(),U}unsubscribe(){if(!this.closed){const{id:ee,scheduler:ae}=this,{actions:de}=ae;this.work=this.state=this.scheduler=null,this.pending=!1,(0,ne.P)(de,this),null!=ee&&(this.id=this.recycleAsyncId(ae,ee,null)),this.delay=null,super.unsubscribe()}}}},2631:(tt,ve,I)=>{I.d(ve,{v:()=>G});var a=I(4552);class u{constructor(z,$=u.now){this.schedulerActionCtor=z,this.now=$}schedule(z,$=0,ee){return new this.schedulerActionCtor(this,z).schedule(ee,$)}}u.now=a.l.now;class G extends u{constructor(z,$=u.now){super(z,$),this.actions=[],this._active=!1}flush(z){const{actions:$}=this;if(this._active)return void $.push(z);let ee;this._active=!0;do{if(ee=z.execute(z.state,z.delay))break}while(z=$.shift());if(this._active=!1,ee){for(;z=$.shift();)z.unsubscribe();throw ee}}}},6321:(tt,ve,I)=>{I.d(ve,{P:()=>ne,z:()=>G});var a=I(1954);const G=new(I(2631).v)(a.o),ne=G},4552:(tt,ve,I)=>{I.d(ve,{l:()=>a});const a={now:()=>(a.delegate||Date).now(),delegate:void 0}},7599:(tt,ve,I)=>{I.d(ve,{z:()=>a});const a={setTimeout(u,G,...ne){const{delegate:z}=a;return z?.setTimeout?z.setTimeout(u,G,...ne):setTimeout(u,G,...ne)},clearTimeout(u){const{delegate:G}=a;return(G?.clearTimeout||clearTimeout)(u)},delegate:void 0}},4971:(tt,ve,I)=>{I.d(ve,{h:()=>u});const u=function a(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},4850:(tt,ve,I)=>{I.d(ve,{L:()=>a});const a="function"==typeof Symbol&&Symbol.observable||"@@observable"},6973:(tt,ve,I)=>{I.d(ve,{K:()=>u});const u=(0,I(2306).d)(G=>function(){G(this),this.name="EmptyError",this.message="no elements in sequence"})},9940:(tt,ve,I)=>{I.d(ve,{_6:()=>$,jO:()=>ne,yG:()=>z});var a=I(4674),u=I(671);function G(ee){return ee[ee.length-1]}function ne(ee){return(0,a.m)(G(ee))?ee.pop():void 0}function z(ee){return(0,u.K)(G(ee))?ee.pop():void 0}function $(ee,ae){return"number"==typeof G(ee)?ee.pop():ae}},7453:(tt,ve,I)=>{I.d(ve,{D:()=>z});const{isArray:a}=Array,{getPrototypeOf:u,prototype:G,keys:ne}=Object;function z(ee){if(1===ee.length){const ae=ee[0];if(a(ae))return{args:ae,keys:null};if(function $(ee){return ee&&"object"==typeof ee&&u(ee)===G}(ae)){const de=ne(ae);return{args:de.map(U=>ae[U]),keys:de}}}return{args:ee,keys:null}}},9039:(tt,ve,I)=>{function a(u,G){if(u){const ne=u.indexOf(G);0<=ne&&u.splice(ne,1)}}I.d(ve,{P:()=>a})},2306:(tt,ve,I)=>{function a(u){const ne=u(z=>{Error.call(z),z.stack=(new Error).stack});return ne.prototype=Object.create(Error.prototype),ne.prototype.constructor=ne,ne}I.d(ve,{d:()=>a})},2714:(tt,ve,I)=>{function a(u,G){return u.reduce((ne,z,$)=>(ne[z]=G[$],ne),{})}I.d(ve,{n:()=>a})},1441:(tt,ve,I)=>{I.d(ve,{O:()=>ne,x:()=>G});var a=I(2653);let u=null;function G(z){if(a.config.useDeprecatedSynchronousErrorHandling){const $=!u;if($&&(u={errorThrown:!1,error:null}),z(),$){const{errorThrown:ee,error:ae}=u;if(u=null,ee)throw ae}}else z()}function ne(z){a.config.useDeprecatedSynchronousErrorHandling&&u&&(u.errorThrown=!0,u.error=z)}},7103:(tt,ve,I)=>{function a(u,G,ne,z=0,$=!1){const ee=G.schedule(function(){ne(),$?u.add(this.schedule(null,z)):this.unsubscribe()},z);if(u.add(ee),!$)return ee}I.d(ve,{f:()=>a})},2737:(tt,ve,I)=>{function a(u){return u}I.d(ve,{y:()=>a})},4266:(tt,ve,I)=>{I.d(ve,{z:()=>a});const a=u=>u&&"number"==typeof u.length&&"function"!=typeof u},5726:(tt,ve,I)=>{I.d(ve,{D:()=>u});var a=I(4674);function u(G){return Symbol.asyncIterator&&(0,a.m)(G?.[Symbol.asyncIterator])}},93:(tt,ve,I)=>{function a(u){return u instanceof Date&&!isNaN(u)}I.d(ve,{q:()=>a})},4674:(tt,ve,I)=>{function a(u){return"function"==typeof u}I.d(ve,{m:()=>a})},8382:(tt,ve,I)=>{I.d(ve,{c:()=>G});var a=I(4850),u=I(4674);function G(ne){return(0,u.m)(ne[a.L])}},3664:(tt,ve,I)=>{I.d(ve,{T:()=>G});var a=I(4971),u=I(4674);function G(ne){return(0,u.m)(ne?.[a.h])}},4026:(tt,ve,I)=>{I.d(ve,{t:()=>u});var a=I(4674);function u(G){return(0,a.m)(G?.then)}},541:(tt,ve,I)=>{I.d(ve,{L:()=>ne,Q:()=>G});var a=I(7582),u=I(4674);function G(z){return(0,a.FC)(this,arguments,function*(){const ee=z.getReader();try{for(;;){const{value:ae,done:de}=yield(0,a.qq)(ee.read());if(de)return yield(0,a.qq)(void 0);yield yield(0,a.qq)(ae)}}finally{ee.releaseLock()}})}function ne(z){return(0,u.m)(z?.getReader)}},671:(tt,ve,I)=>{I.d(ve,{K:()=>u});var a=I(4674);function u(G){return G&&(0,a.m)(G.schedule)}},9360:(tt,ve,I)=>{I.d(ve,{A:()=>u,e:()=>G});var a=I(4674);function u(ne){return(0,a.m)(ne?.lift)}function G(ne){return z=>{if(u(z))return z.lift(function($){try{return ne($,this)}catch(ee){this.error(ee)}});throw new TypeError("Unable to lift unknown Observable type")}}},7400:(tt,ve,I)=>{I.d(ve,{Z:()=>ne});var a=I(7398);const{isArray:u}=Array;function ne(z){return(0,a.U)($=>function G(z,$){return u($)?z(...$):z($)}(z,$))}},2420:(tt,ve,I)=>{function a(){}I.d(ve,{Z:()=>a})},8407:(tt,ve,I)=>{I.d(ve,{U:()=>G,z:()=>u});var a=I(2737);function u(...ne){return G(ne)}function G(ne){return 0===ne.length?a.y:1===ne.length?ne[0]:function($){return ne.reduce((ee,ae)=>ae(ee),$)}}},3894:(tt,ve,I)=>{I.d(ve,{h:()=>G});var a=I(2653),u=I(7599);function G(ne){u.z.setTimeout(()=>{const{onUnhandledError:z}=a.config;if(!z)throw ne;z(ne)})}},9853:(tt,ve,I)=>{function a(u){return new TypeError(`You provided ${null!==u&&"object"==typeof u?"an invalid object":`'${u}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}I.d(ve,{z:()=>a})},6825:(tt,ve,I)=>{I.d(ve,{F4:()=>U,IO:()=>Ye,LC:()=>u,SB:()=>de,X$:()=>ne,ZE:()=>Le,ZN:()=>je,_7:()=>Te,_j:()=>a,eR:()=>J,jt:()=>z,k1:()=>et,l3:()=>G,oB:()=>ae,oQ:()=>fe,pV:()=>xe,ru:()=>$,vP:()=>ee});class a{}class u{}const G="*";function ne(Ve,Z){return{type:7,name:Ve,definitions:Z,options:{}}}function z(Ve,Z=null){return{type:4,styles:Z,timings:Ve}}function $(Ve,Z=null){return{type:3,steps:Ve,options:Z}}function ee(Ve,Z=null){return{type:2,steps:Ve,options:Z}}function ae(Ve){return{type:6,styles:Ve,offset:null}}function de(Ve,Z,De){return{type:0,name:Ve,styles:Z,options:De}}function U(Ve){return{type:5,steps:Ve}}function J(Ve,Z,De=null){return{type:1,expr:Ve,animation:Z,options:De}}function fe(Ve,Z=null){return{type:8,animation:Ve,options:Z}}function xe(Ve=null){return{type:9,options:Ve}}function Te(Ve,Z=null){return{type:10,animation:Ve,options:Z}}function Ye(Ve,Z,De=null){return{type:11,selector:Ve,animation:Z,options:De}}class je{constructor(Z=0,De=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=Z+De}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(Z=>Z()),this._onDoneFns=[])}onStart(Z){this._originalOnStartFns.push(Z),this._onStartFns.push(Z)}onDone(Z){this._originalOnDoneFns.push(Z),this._onDoneFns.push(Z)}onDestroy(Z){this._onDestroyFns.push(Z)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(Z=>Z()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(Z=>Z()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(Z){this._position=this.totalTime?Z*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(Z){const De="start"==Z?this._onStartFns:this._onDoneFns;De.forEach(me=>me()),De.length=0}}class Le{constructor(Z){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=Z;let De=0,me=0,Se=0;const We=this.players.length;0==We?queueMicrotask(()=>this._onFinish()):this.players.forEach($e=>{$e.onDone(()=>{++De==We&&this._onFinish()}),$e.onDestroy(()=>{++me==We&&this._onDestroy()}),$e.onStart(()=>{++Se==We&&this._onStart()})}),this.totalTime=this.players.reduce(($e,st)=>Math.max($e,st.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(Z=>Z()),this._onDoneFns=[])}init(){this.players.forEach(Z=>Z.init())}onStart(Z){this._onStartFns.push(Z)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(Z=>Z()),this._onStartFns=[])}onDone(Z){this._onDoneFns.push(Z)}onDestroy(Z){this._onDestroyFns.push(Z)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(Z=>Z.play())}pause(){this.players.forEach(Z=>Z.pause())}restart(){this.players.forEach(Z=>Z.restart())}finish(){this._onFinish(),this.players.forEach(Z=>Z.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(Z=>Z.destroy()),this._onDestroyFns.forEach(Z=>Z()),this._onDestroyFns=[])}reset(){this.players.forEach(Z=>Z.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(Z){const De=Z*this.totalTime;this.players.forEach(me=>{const Se=me.totalTime?Math.min(1,De/me.totalTime):1;me.setPosition(Se)})}getPosition(){const Z=this.players.reduce((De,me)=>null===De||me.totalTime>De.totalTime?me:De,null);return null!=Z?Z.getPosition():0}beforeDestroy(){this.players.forEach(Z=>{Z.beforeDestroy&&Z.beforeDestroy()})}triggerCallback(Z){const De="start"==Z?this._onStartFns:this._onDoneFns;De.forEach(me=>me()),De.length=0}}const et="!"},6814:(tt,ve,I)=>{I.d(ve,{$G:()=>wn,Do:()=>Oe,ED:()=>Ti,EM:()=>Hr,HT:()=>ne,JF:()=>co,JJ:()=>dt,K0:()=>$,Mx:()=>Gn,NF:()=>Ts,O5:()=>fr,OU:()=>qn,Ov:()=>zs,PC:()=>ko,PM:()=>Bo,RF:()=>To,S$:()=>xe,V_:()=>ae,Ye:()=>je,b0:()=>Ye,bD:()=>_o,ez:()=>Wn,mk:()=>tn,n9:()=>Us,q:()=>G,sg:()=>_n,tP:()=>Cs,uU:()=>go,w_:()=>z});var a=I(5879);let u=null;function G(){return u}function ne(g){u||(u=g)}class z{}const $=new a.OlP("DocumentToken");let ee=(()=>{var g;class T{historyGo(b){throw new Error("Not implemented")}}return(g=T).\u0275fac=function(b){return new(b||g)},g.\u0275prov=a.Yz7({token:g,factory:function(){return(0,a.f3M)(de)},providedIn:"platform"}),T})();const ae=new a.OlP("Location Initialized");let de=(()=>{var g;class T extends ee{constructor(){super(),this._doc=(0,a.f3M)($),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return G().getBaseHref(this._doc)}onPopState(b){const V=G().getGlobalEventTarget(this._doc,"window");return V.addEventListener("popstate",b,!1),()=>V.removeEventListener("popstate",b)}onHashChange(b){const V=G().getGlobalEventTarget(this._doc,"window");return V.addEventListener("hashchange",b,!1),()=>V.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,V,le){this._history.pushState(b,V,le)}replaceState(b,V,le){this._history.replaceState(b,V,le)}forward(){this._history.forward()}back(){this._history.back()}historyGo(b=0){this._history.go(b)}getState(){return this._history.state}}return(g=T).\u0275fac=function(b){return new(b||g)},g.\u0275prov=a.Yz7({token:g,factory:function(){return new g},providedIn:"platform"}),T})();function U(g,T){if(0==g.length)return T;if(0==T.length)return g;let Y=0;return g.endsWith("/")&&Y++,T.startsWith("/")&&Y++,2==Y?g+T.substring(1):1==Y?g+T:g+"/"+T}function J(g){const T=g.match(/#|\?|$/),Y=T&&T.index||g.length;return g.slice(0,Y-("/"===g[Y-1]?1:0))+g.slice(Y)}function fe(g){return g&&"?"!==g[0]?"?"+g:g}let xe=(()=>{var g;class T{historyGo(b){throw new Error("Not implemented")}}return(g=T).\u0275fac=function(b){return new(b||g)},g.\u0275prov=a.Yz7({token:g,factory:function(){return(0,a.f3M)(Ye)},providedIn:"root"}),T})();const Te=new a.OlP("appBaseHref");let Ye=(()=>{var g;class T extends xe{constructor(b,V){super(),this._platformLocation=b,this._removeListenerFns=[],this._baseHref=V??this._platformLocation.getBaseHrefFromDOM()??(0,a.f3M)($).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 U(this._baseHref,b)}path(b=!1){const V=this._platformLocation.pathname+fe(this._platformLocation.search),le=this._platformLocation.hash;return le&&b?`${V}${le}`:V}pushState(b,V,le,ze){const it=this.prepareExternalUrl(le+fe(ze));this._platformLocation.pushState(b,V,it)}replaceState(b,V,le,ze){const it=this.prepareExternalUrl(le+fe(ze));this._platformLocation.replaceState(b,V,it)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(b=0){this._platformLocation.historyGo?.(b)}}return(g=T).\u0275fac=function(b){return new(b||g)(a.LFG(ee),a.LFG(Te,8))},g.\u0275prov=a.Yz7({token:g,factory:g.\u0275fac,providedIn:"root"}),T})(),Oe=(()=>{var g;class T extends xe{constructor(b,V){super(),this._platformLocation=b,this._baseHref="",this._removeListenerFns=[],null!=V&&(this._baseHref=V)}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 V=this._platformLocation.hash;return null==V&&(V="#"),V.length>0?V.substring(1):V}prepareExternalUrl(b){const V=U(this._baseHref,b);return V.length>0?"#"+V:V}pushState(b,V,le,ze){let it=this.prepareExternalUrl(le+fe(ze));0==it.length&&(it=this._platformLocation.pathname),this._platformLocation.pushState(b,V,it)}replaceState(b,V,le,ze){let it=this.prepareExternalUrl(le+fe(ze));0==it.length&&(it=this._platformLocation.pathname),this._platformLocation.replaceState(b,V,it)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(b=0){this._platformLocation.historyGo?.(b)}}return(g=T).\u0275fac=function(b){return new(b||g)(a.LFG(ee),a.LFG(Te,8))},g.\u0275prov=a.Yz7({token:g,factory:g.\u0275fac}),T})(),je=(()=>{var g;class T{constructor(b){this._subject=new a.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=b;const V=this._locationStrategy.getBaseHref();this._basePath=function Z(g){if(new RegExp("^(https?:)?//").test(g)){const[,Y]=g.split(/\/\/[^\/]+/);return Y}return g}(J(Ve(V))),this._locationStrategy.onPopState(le=>{this._subject.emit({url:this.path(!0),pop:!0,state:le.state,type:le.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(b=!1){return this.normalize(this._locationStrategy.path(b))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(b,V=""){return this.path()==this.normalize(b+fe(V))}normalize(b){return T.stripTrailingSlash(function et(g,T){if(!g||!T.startsWith(g))return T;const Y=T.substring(g.length);return""===Y||["/",";","?","#"].includes(Y[0])?Y:T}(this._basePath,Ve(b)))}prepareExternalUrl(b){return b&&"/"!==b[0]&&(b="/"+b),this._locationStrategy.prepareExternalUrl(b)}go(b,V="",le=null){this._locationStrategy.pushState(le,"",b,V),this._notifyUrlChangeListeners(this.prepareExternalUrl(b+fe(V)),le)}replaceState(b,V="",le=null){this._locationStrategy.replaceState(le,"",b,V),this._notifyUrlChangeListeners(this.prepareExternalUrl(b+fe(V)),le)}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(V=>{this._notifyUrlChangeListeners(V.url,V.state)})),()=>{const V=this._urlChangeListeners.indexOf(b);this._urlChangeListeners.splice(V,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(b="",V){this._urlChangeListeners.forEach(le=>le(b,V))}subscribe(b,V,le){return this._subject.subscribe({next:b,error:V,complete:le})}}return(g=T).normalizeQueryParams=fe,g.joinWithSlash=U,g.stripTrailingSlash=J,g.\u0275fac=function(b){return new(b||g)(a.LFG(xe))},g.\u0275prov=a.Yz7({token:g,factory:function(){return function Le(){return new je((0,a.LFG)(xe))}()},providedIn:"root"}),T})();function Ve(g){return g.replace(/\/index.html$/,"")}var me=function(g){return g[g.Decimal=0]="Decimal",g[g.Percent=1]="Percent",g[g.Currency=2]="Currency",g[g.Scientific=3]="Scientific",g}(me||{}),We=function(g){return g[g.Format=0]="Format",g[g.Standalone=1]="Standalone",g}(We||{}),$e=function(g){return g[g.Narrow=0]="Narrow",g[g.Abbreviated=1]="Abbreviated",g[g.Wide=2]="Wide",g[g.Short=3]="Short",g}($e||{}),st=function(g){return g[g.Short=0]="Short",g[g.Medium=1]="Medium",g[g.Long=2]="Long",g[g.Full=3]="Full",g}(st||{}),ht=function(g){return g[g.Decimal=0]="Decimal",g[g.Group=1]="Group",g[g.List=2]="List",g[g.PercentSign=3]="PercentSign",g[g.PlusSign=4]="PlusSign",g[g.MinusSign=5]="MinusSign",g[g.Exponential=6]="Exponential",g[g.SuperscriptingExponent=7]="SuperscriptingExponent",g[g.PerMille=8]="PerMille",g[g.Infinity=9]="Infinity",g[g.NaN=10]="NaN",g[g.TimeSeparator=11]="TimeSeparator",g[g.CurrencyDecimal=12]="CurrencyDecimal",g[g.CurrencyGroup=13]="CurrencyGroup",g}(ht||{});function Ne(g,T){return xt((0,a.cg1)(g)[a.wAp.DateFormat],T)}function Ue(g,T){return xt((0,a.cg1)(g)[a.wAp.TimeFormat],T)}function Ge(g,T){return xt((0,a.cg1)(g)[a.wAp.DateTimeFormat],T)}function Ce(g,T){const Y=(0,a.cg1)(g),b=Y[a.wAp.NumberSymbols][T];if(typeof b>"u"){if(T===ht.CurrencyDecimal)return Y[a.wAp.NumberSymbols][ht.Decimal];if(T===ht.CurrencyGroup)return Y[a.wAp.NumberSymbols][ht.Group]}return b}function Dt(g){if(!g[a.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${g[a.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function xt(g,T){for(let Y=T;Y>-1;Y--)if(typeof g[Y]<"u")return g[Y];throw new Error("Locale data API: locale data undefined")}function xn(g){const[T,Y]=g.split(":");return{hours:+T,minutes:+Y}}const Vn=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,sr={},Xn=/((?:[^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 ct=function(g){return g[g.Short=0]="Short",g[g.ShortGMT=1]="ShortGMT",g[g.Long=2]="Long",g[g.Extended=3]="Extended",g}(ct||{}),Vt=function(g){return g[g.FullYear=0]="FullYear",g[g.Month=1]="Month",g[g.Date=2]="Date",g[g.Hours=3]="Hours",g[g.Minutes=4]="Minutes",g[g.Seconds=5]="Seconds",g[g.FractionalSeconds=6]="FractionalSeconds",g[g.Day=7]="Day",g}(Vt||{}),Tt=function(g){return g[g.DayPeriods=0]="DayPeriods",g[g.Days=1]="Days",g[g.Months=2]="Months",g[g.Eras=3]="Eras",g}(Tt||{});function rn(g,T,Y,b){let V=function k(g){if(te(g))return g;if("number"==typeof g&&!isNaN(g))return new Date(g);if("string"==typeof g){if(g=g.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(g)){const[V,le=1,ze=1]=g.split("-").map(it=>+it);return jn(V,le-1,ze)}const Y=parseFloat(g);if(!isNaN(g-Y))return new Date(Y);let b;if(b=g.match(Vn))return function x(g){const T=new Date(0);let Y=0,b=0;const V=g[8]?T.setUTCFullYear:T.setFullYear,le=g[8]?T.setUTCHours:T.setHours;g[9]&&(Y=Number(g[9]+g[10]),b=Number(g[9]+g[11])),V.call(T,Number(g[1]),Number(g[2])-1,Number(g[3]));const ze=Number(g[4]||0)-Y,it=Number(g[5]||0)-b,Jt=Number(g[6]||0),vn=Math.floor(1e3*parseFloat("0."+(g[7]||0)));return le.call(T,ze,it,Jt,vn),T}(b)}const T=new Date(g);if(!te(T))throw new Error(`Unable to convert "${g}" into a date`);return T}(g);T=jt(Y,T)||T;let it,ze=[];for(;T;){if(it=Xn.exec(T),!it){ze.push(T);break}{ze=ze.concat(it.slice(1));const gn=ze.pop();if(!gn)break;T=gn}}let Jt=V.getTimezoneOffset();b&&(Jt=Dr(b,Jt),V=function ie(g,T,Y){const b=Y?-1:1,V=g.getTimezoneOffset();return function so(g,T){return(g=new Date(g.getTime())).setMinutes(g.getMinutes()+T),g}(g,b*(Dr(T,V)-V))}(V,b,!0));let vn="";return ze.forEach(gn=>{const Gt=function vr(g){if(lr[g])return lr[g];let T;switch(g){case"G":case"GG":case"GGG":T=kt(Tt.Eras,$e.Abbreviated);break;case"GGGG":T=kt(Tt.Eras,$e.Wide);break;case"GGGGG":T=kt(Tt.Eras,$e.Narrow);break;case"y":T=cn(Vt.FullYear,1,0,!1,!0);break;case"yy":T=cn(Vt.FullYear,2,0,!0,!0);break;case"yyy":T=cn(Vt.FullYear,3,0,!1,!0);break;case"yyyy":T=cn(Vt.FullYear,4,0,!1,!0);break;case"Y":T=er(1);break;case"YY":T=er(2,!0);break;case"YYY":T=er(3);break;case"YYYY":T=er(4);break;case"M":case"L":T=cn(Vt.Month,1,1);break;case"MM":case"LL":T=cn(Vt.Month,2,1);break;case"MMM":T=kt(Tt.Months,$e.Abbreviated);break;case"MMMM":T=kt(Tt.Months,$e.Wide);break;case"MMMMM":T=kt(Tt.Months,$e.Narrow);break;case"LLL":T=kt(Tt.Months,$e.Abbreviated,We.Standalone);break;case"LLLL":T=kt(Tt.Months,$e.Wide,We.Standalone);break;case"LLLLL":T=kt(Tt.Months,$e.Narrow,We.Standalone);break;case"w":T=ar(1);break;case"ww":T=ar(2);break;case"W":T=ar(1,!0);break;case"d":T=cn(Vt.Date,1);break;case"dd":T=cn(Vt.Date,2);break;case"c":case"cc":T=cn(Vt.Day,1);break;case"ccc":T=kt(Tt.Days,$e.Abbreviated,We.Standalone);break;case"cccc":T=kt(Tt.Days,$e.Wide,We.Standalone);break;case"ccccc":T=kt(Tt.Days,$e.Narrow,We.Standalone);break;case"cccccc":T=kt(Tt.Days,$e.Short,We.Standalone);break;case"E":case"EE":case"EEE":T=kt(Tt.Days,$e.Abbreviated);break;case"EEEE":T=kt(Tt.Days,$e.Wide);break;case"EEEEE":T=kt(Tt.Days,$e.Narrow);break;case"EEEEEE":T=kt(Tt.Days,$e.Short);break;case"a":case"aa":case"aaa":T=kt(Tt.DayPeriods,$e.Abbreviated);break;case"aaaa":T=kt(Tt.DayPeriods,$e.Wide);break;case"aaaaa":T=kt(Tt.DayPeriods,$e.Narrow);break;case"b":case"bb":case"bbb":T=kt(Tt.DayPeriods,$e.Abbreviated,We.Standalone,!0);break;case"bbbb":T=kt(Tt.DayPeriods,$e.Wide,We.Standalone,!0);break;case"bbbbb":T=kt(Tt.DayPeriods,$e.Narrow,We.Standalone,!0);break;case"B":case"BB":case"BBB":T=kt(Tt.DayPeriods,$e.Abbreviated,We.Format,!0);break;case"BBBB":T=kt(Tt.DayPeriods,$e.Wide,We.Format,!0);break;case"BBBBB":T=kt(Tt.DayPeriods,$e.Narrow,We.Format,!0);break;case"h":T=cn(Vt.Hours,1,-12);break;case"hh":T=cn(Vt.Hours,2,-12);break;case"H":T=cn(Vt.Hours,1);break;case"HH":T=cn(Vt.Hours,2);break;case"m":T=cn(Vt.Minutes,1);break;case"mm":T=cn(Vt.Minutes,2);break;case"s":T=cn(Vt.Seconds,1);break;case"ss":T=cn(Vt.Seconds,2);break;case"S":T=cn(Vt.FractionalSeconds,1);break;case"SS":T=cn(Vt.FractionalSeconds,2);break;case"SSS":T=cn(Vt.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":T=Yn(ct.Short);break;case"ZZZZZ":T=Yn(ct.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":T=Yn(ct.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":T=Yn(ct.Long);break;default:return null}return lr[g]=T,T}(gn);vn+=Gt?Gt(V,Y,Jt):"''"===gn?"'":gn.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),vn}function jn(g,T,Y){const b=new Date(0);return b.setFullYear(g,T,Y),b.setHours(0,0,0),b}function jt(g,T){const Y=function St(g){return(0,a.cg1)(g)[a.wAp.LocaleId]}(g);if(sr[Y]=sr[Y]||{},sr[Y][T])return sr[Y][T];let b="";switch(T){case"shortDate":b=Ne(g,st.Short);break;case"mediumDate":b=Ne(g,st.Medium);break;case"longDate":b=Ne(g,st.Long);break;case"fullDate":b=Ne(g,st.Full);break;case"shortTime":b=Ue(g,st.Short);break;case"mediumTime":b=Ue(g,st.Medium);break;case"longTime":b=Ue(g,st.Long);break;case"fullTime":b=Ue(g,st.Full);break;case"short":const V=jt(g,"shortTime"),le=jt(g,"shortDate");b=qt(Ge(g,st.Short),[V,le]);break;case"medium":const ze=jt(g,"mediumTime"),it=jt(g,"mediumDate");b=qt(Ge(g,st.Medium),[ze,it]);break;case"long":const Jt=jt(g,"longTime"),vn=jt(g,"longDate");b=qt(Ge(g,st.Long),[Jt,vn]);break;case"full":const gn=jt(g,"fullTime"),Gt=jt(g,"fullDate");b=qt(Ge(g,st.Full),[gn,Gt])}return b&&(sr[Y][T]=b),b}function qt(g,T){return T&&(g=g.replace(/\{([^}]+)}/g,function(Y,b){return null!=T&&b in T?T[b]:Y})),g}function kn(g,T,Y="-",b,V){let le="";(g<0||V&&g<=0)&&(V?g=1-g:(g=-g,le=Y));let ze=String(g);for(;ze.length<T;)ze="0"+ze;return b&&(ze=ze.slice(ze.length-T)),le+ze}function cn(g,T,Y=0,b=!1,V=!1){return function(le,ze){let it=function ir(g,T){switch(g){case Vt.FullYear:return T.getFullYear();case Vt.Month:return T.getMonth();case Vt.Date:return T.getDate();case Vt.Hours:return T.getHours();case Vt.Minutes:return T.getMinutes();case Vt.Seconds:return T.getSeconds();case Vt.FractionalSeconds:return T.getMilliseconds();case Vt.Day:return T.getDay();default:throw new Error(`Unknown DateType value "${g}".`)}}(g,le);if((Y>0||it>-Y)&&(it+=Y),g===Vt.Hours)0===it&&-12===Y&&(it=12);else if(g===Vt.FractionalSeconds)return function Ur(g,T){return kn(g,3).substring(0,T)}(it,T);const Jt=Ce(ze,ht.MinusSign);return kn(it,T,Jt,b,V)}}function kt(g,T,Y=We.Format,b=!1){return function(V,le){return function Mn(g,T,Y,b,V,le){switch(Y){case Tt.Months:return function on(g,T,Y){const b=(0,a.cg1)(g),le=xt([b[a.wAp.MonthsFormat],b[a.wAp.MonthsStandalone]],T);return xt(le,Y)}(T,V,b)[g.getMonth()];case Tt.Days:return function pn(g,T,Y){const b=(0,a.cg1)(g),le=xt([b[a.wAp.DaysFormat],b[a.wAp.DaysStandalone]],T);return xt(le,Y)}(T,V,b)[g.getDay()];case Tt.DayPeriods:const ze=g.getHours(),it=g.getMinutes();if(le){const vn=function Ct(g){const T=(0,a.cg1)(g);return Dt(T),(T[a.wAp.ExtraData][2]||[]).map(b=>"string"==typeof b?xn(b):[xn(b[0]),xn(b[1])])}(T),gn=function Yt(g,T,Y){const b=(0,a.cg1)(g);Dt(b);const le=xt([b[a.wAp.ExtraData][0],b[a.wAp.ExtraData][1]],T)||[];return xt(le,Y)||[]}(T,V,b),Gt=vn.findIndex(Hn=>{if(Array.isArray(Hn)){const[Tn,pr]=Hn,zr=ze>=Tn.hours&&it>=Tn.minutes,Do=ze<pr.hours||ze===pr.hours&&it<pr.minutes;if(Tn.hours<pr.hours){if(zr&&Do)return!0}else if(zr||Do)return!0}else if(Hn.hours===ze&&Hn.minutes===it)return!0;return!1});if(-1!==Gt)return gn[Gt]}return function en(g,T,Y){const b=(0,a.cg1)(g),le=xt([b[a.wAp.DayPeriodsFormat],b[a.wAp.DayPeriodsStandalone]],T);return xt(le,Y)}(T,V,b)[ze<12?0:1];case Tt.Eras:return function or(g,T){return xt((0,a.cg1)(g)[a.wAp.Eras],T)}(T,b)[g.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${Y}`)}}(V,le,g,T,Y,b)}}function Yn(g){return function(T,Y,b){const V=-1*b,le=Ce(Y,ht.MinusSign),ze=V>0?Math.floor(V/60):Math.ceil(V/60);switch(g){case ct.Short:return(V>=0?"+":"")+kn(ze,2,le)+kn(Math.abs(V%60),2,le);case ct.ShortGMT:return"GMT"+(V>=0?"+":"")+kn(ze,1,le);case ct.Long:return"GMT"+(V>=0?"+":"")+kn(ze,2,le)+":"+kn(Math.abs(V%60),2,le);case ct.Extended:return 0===b?"Z":(V>=0?"+":"")+kn(ze,2,le)+":"+kn(Math.abs(V%60),2,le);default:throw new Error(`Unknown zone width "${g}"`)}}}const zn=0,Fn=4;function Ln(g){return jn(g.getFullYear(),g.getMonth(),g.getDate()+(Fn-g.getDay()))}function ar(g,T=!1){return function(Y,b){let V;if(T){const le=new Date(Y.getFullYear(),Y.getMonth(),1).getDay()-1,ze=Y.getDate();V=1+Math.floor((ze+le)/7)}else{const le=Ln(Y),ze=function En(g){const T=jn(g,zn,1).getDay();return jn(g,0,1+(T<=Fn?Fn:Fn+7)-T)}(le.getFullYear()),it=le.getTime()-ze.getTime();V=1+Math.round(it/6048e5)}return kn(V,g,Ce(b,ht.MinusSign))}}function er(g,T=!1){return function(Y,b){return kn(Ln(Y).getFullYear(),g,Ce(b,ht.MinusSign),T)}}const lr={};function Dr(g,T){g=g.replace(/:/g,"");const Y=Date.parse("Jan 01, 1970 00:00:00 "+g)/6e4;return isNaN(Y)?T:Y}function te(g){return g instanceof Date&&!isNaN(g.valueOf())}const L=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function gt(g){const T=parseInt(g);if(isNaN(T))throw new Error("Invalid integer literal when parsing "+g);return T}function Gn(g,T){T=encodeURIComponent(T);for(const Y of g.split(";")){const b=Y.indexOf("="),[V,le]=-1==b?[Y,""]:[Y.slice(0,b),Y.slice(b+1)];if(V.trim()===T)return decodeURIComponent(le)}return null}const Sr=/\s+/,Zr=[];let tn=(()=>{var g;class T{constructor(b,V,le,ze){this._iterableDiffers=b,this._keyValueDiffers=V,this._ngEl=le,this._renderer=ze,this.initialClasses=Zr,this.stateMap=new Map}set klass(b){this.initialClasses=null!=b?b.trim().split(Sr):Zr}set ngClass(b){this.rawClass="string"==typeof b?b.trim().split(Sr):b}ngDoCheck(){for(const V of this.initialClasses)this._updateState(V,!0);const b=this.rawClass;if(Array.isArray(b)||b instanceof Set)for(const V of b)this._updateState(V,!0);else if(null!=b)for(const V of Object.keys(b))this._updateState(V,!!b[V]);this._applyStateDiff()}_updateState(b,V){const le=this.stateMap.get(b);void 0!==le?(le.enabled!==V&&(le.changed=!0,le.enabled=V),le.touched=!0):this.stateMap.set(b,{enabled:V,changed:!0,touched:!0})}_applyStateDiff(){for(const b of this.stateMap){const V=b[0],le=b[1];le.changed?(this._toggleClass(V,le.enabled),le.changed=!1):le.touched||(le.enabled&&this._toggleClass(V,!1),this.stateMap.delete(V)),le.touched=!1}}_toggleClass(b,V){(b=b.trim()).length>0&&b.split(Sr).forEach(le=>{V?this._renderer.addClass(this._ngEl.nativeElement,le):this._renderer.removeClass(this._ngEl.nativeElement,le)})}}return(g=T).\u0275fac=function(b){return new(b||g)(a.Y36(a.ZZ4),a.Y36(a.aQg),a.Y36(a.SBq),a.Y36(a.Qsj))},g.\u0275dir=a.lG2({type:g,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),T})(),wn=(()=>{var g;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 V=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(b)&&(this._moduleRef?.destroy(),this._moduleRef=this.ngComponentOutletNgModule?(0,a.Lck)(this.ngComponentOutletNgModule,Lr(V)):this.ngComponentOutletNgModuleFactory?this.ngComponentOutletNgModuleFactory.create(Lr(V)):void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:V,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[V,le]of this._inputsUsed)le?(b.setInput(V,this.ngComponentOutletInputs[V]),this._inputsUsed.set(V,!1)):(b.setInput(V,void 0),this._inputsUsed.delete(V))}}return(g=T).\u0275fac=function(b){return new(b||g)(a.Y36(a.s_b))},g.\u0275dir=a.lG2({type:g,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[a.TTD]}),T})();function Lr(g){return g.get(a.h0i).injector}class io{constructor(T,Y,b,V){this.$implicit=T,this.ngForOf=Y,this.index=b,this.count=V}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 _n=(()=>{var g;class T{set ngForOf(b){this._ngForOf=b,this._ngForOfDirty=!0}set ngForTrackBy(b){this._trackByFn=b}get ngForTrackBy(){return this._trackByFn}constructor(b,V,le){this._viewContainer=b,this._template=V,this._differs=le,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 V=this._viewContainer;b.forEachOperation((le,ze,it)=>{if(null==le.previousIndex)V.createEmbeddedView(this._template,new io(le.item,this._ngForOf,-1,-1),null===it?void 0:it);else if(null==it)V.remove(null===ze?void 0:ze);else if(null!==ze){const Jt=V.get(ze);V.move(Jt,it),An(Jt,le)}});for(let le=0,ze=V.length;le<ze;le++){const Jt=V.get(le).context;Jt.index=le,Jt.count=ze,Jt.ngForOf=this._ngForOf}b.forEachIdentityChange(le=>{An(V.get(le.currentIndex),le)})}static ngTemplateContextGuard(b,V){return!0}}return(g=T).\u0275fac=function(b){return new(b||g)(a.Y36(a.s_b),a.Y36(a.Rgc),a.Y36(a.ZZ4))},g.\u0275dir=a.lG2({type:g,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),T})();function An(g,T){g.context.$implicit=T.item}let fr=(()=>{var g;class T{constructor(b,V){this._viewContainer=b,this._context=new Mo,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=V}set ngIf(b){this._context.$implicit=this._context.ngIf=b,this._updateView()}set ngIfThen(b){xo("ngIfThen",b),this._thenTemplateRef=b,this._thenViewRef=null,this._updateView()}set ngIfElse(b){xo("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,V){return!0}}return(g=T).\u0275fac=function(b){return new(b||g)(a.Y36(a.s_b),a.Y36(a.Rgc))},g.\u0275dir=a.lG2({type:g,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),T})();class Mo{constructor(){this.$implicit=null,this.ngIf=null}}function xo(g,T){if(T&&!T.createEmbeddedView)throw new Error(`${g} must be a TemplateRef, but received '${(0,a.AaK)(T)}'.`)}class Er{constructor(T,Y){this._viewContainerRef=T,this._templateRef=Y,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 To=(()=>{var g;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 V=b==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||V,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),V}_updateDefaultCases(b){if(this._defaultViews.length>0&&b!==this._defaultUsed){this._defaultUsed=b;for(const V of this._defaultViews)V.enforceState(b)}}}return(g=T).\u0275fac=function(b){return new(b||g)},g.\u0275dir=a.lG2({type:g,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),T})(),Us=(()=>{var g;class T{constructor(b,V,le){this.ngSwitch=le,le._addCase(),this._view=new Er(b,V)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return(g=T).\u0275fac=function(b){return new(b||g)(a.Y36(a.s_b),a.Y36(a.Rgc),a.Y36(To,9))},g.\u0275dir=a.lG2({type:g,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),T})(),Ti=(()=>{var g;class T{constructor(b,V,le){le._addDefault(new Er(b,V))}}return(g=T).\u0275fac=function(b){return new(b||g)(a.Y36(a.s_b),a.Y36(a.Rgc),a.Y36(To,9))},g.\u0275dir=a.lG2({type:g,selectors:[["","ngSwitchDefault",""]],standalone:!0}),T})(),ko=(()=>{var g;class T{constructor(b,V,le){this._ngEl=b,this._differs=V,this._renderer=le,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,V){const[le,ze]=b.split("."),it=-1===le.indexOf("-")?void 0:a.JOm.DashCase;null!=V?this._renderer.setStyle(this._ngEl.nativeElement,le,ze?`${V}${ze}`:V,it):this._renderer.removeStyle(this._ngEl.nativeElement,le,it)}_applyChanges(b){b.forEachRemovedItem(V=>this._setStyle(V.key,null)),b.forEachAddedItem(V=>this._setStyle(V.key,V.currentValue)),b.forEachChangedItem(V=>this._setStyle(V.key,V.currentValue))}}return(g=T).\u0275fac=function(b){return new(b||g)(a.Y36(a.SBq),a.Y36(a.aQg),a.Y36(a.Qsj))},g.\u0275dir=a.lG2({type:g,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),T})(),Cs=(()=>{var g;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 V=this._viewContainerRef;if(this._viewRef&&V.remove(V.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:le,ngTemplateOutletContext:ze,ngTemplateOutletInjector:it}=this;this._viewRef=V.createEmbeddedView(le,ze,it?{injector:it}:void 0)}else this._viewRef=null}else this._viewRef&&b.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return(g=T).\u0275fac=function(b){return new(b||g)(a.Y36(a.s_b))},g.\u0275dir=a.lG2({type:g,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[a.TTD]}),T})();function Br(g,T){return new a.vHH(2100,!1)}class $s{createSubscription(T,Y){return(0,a.rg0)(()=>T.subscribe({next:Y,error:b=>{throw b}}))}dispose(T){(0,a.rg0)(()=>T.unsubscribe())}}class Ar{createSubscription(T,Y){return T.then(Y,b=>{throw b})}dispose(T){}}const Zo=new Ar,bs=new $s;let zs=(()=>{var g;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,V=>this._updateLatestValue(b,V))}_selectStrategy(b){if((0,a.QGY)(b))return Zo;if((0,a.F4k)(b))return bs;throw Br()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(b,V){b===this._obj&&(this._latestValue=V,this._ref.markForCheck())}}return(g=T).\u0275fac=function(b){return new(b||g)(a.Y36(a.sBO,16))},g.\u0275pipe=a.Yjl({name:"async",type:g,pure:!1,standalone:!0}),T})();const bn=new a.OlP("DATE_PIPE_DEFAULT_TIMEZONE"),Un=new a.OlP("DATE_PIPE_DEFAULT_OPTIONS");let go=(()=>{var g;class T{constructor(b,V,le){this.locale=b,this.defaultTimezone=V,this.defaultOptions=le}transform(b,V,le,ze){if(null==b||""===b||b!=b)return null;try{return rn(b,V??this.defaultOptions?.dateFormat??"mediumDate",ze||this.locale,le??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(it){throw Br()}}}return(g=T).\u0275fac=function(b){return new(b||g)(a.Y36(a.soG,16),a.Y36(bn,24),a.Y36(Un,24))},g.\u0275pipe=a.Yjl({name:"date",type:g,pure:!0,standalone:!0}),T})(),dt=(()=>{var g;class T{constructor(b){this._locale=b}transform(b,V,le){if(!function Cr(g){return!(null==g||""===g||g!=g)}(b))return null;le=le||this._locale;try{return function K(g,T,Y){return function ye(g,T,Y,b,V,le,ze=!1){let it="",Jt=!1;if(isFinite(g)){let vn=function Ze(g){let b,V,le,ze,it,T=Math.abs(g)+"",Y=0;for((V=T.indexOf("."))>-1&&(T=T.replace(".","")),(le=T.search(/e/i))>0?(V<0&&(V=le),V+=+T.slice(le+1),T=T.substring(0,le)):V<0&&(V=T.length),le=0;"0"===T.charAt(le);le++);if(le===(it=T.length))b=[0],V=1;else{for(it--;"0"===T.charAt(it);)it--;for(V-=le,b=[],ze=0;le<=it;le++,ze++)b[ze]=Number(T.charAt(le))}return V>22&&(b=b.splice(0,21),Y=V-1,V=1),{digits:b,exponent:Y,integerLen:V}}(g);ze&&(vn=function ge(g){if(0===g.digits[0])return g;const T=g.digits.length-g.integerLen;return g.exponent?g.exponent+=2:(0===T?g.digits.push(0,0):1===T&&g.digits.push(0),g.integerLen+=2),g}(vn));let gn=T.minInt,Gt=T.minFrac,Hn=T.maxFrac;if(le){const Eo=le.match(L);if(null===Eo)throw new Error(`${le} is not a valid digit info`);const wr=Eo[1],Gr=Eo[3],ur=Eo[5];null!=wr&&(gn=gt(wr)),null!=Gr&&(Gt=gt(Gr)),null!=ur?Hn=gt(ur):null!=Gr&&Gt>Hn&&(Hn=Gt)}!function ke(g,T,Y){if(T>Y)throw new Error(`The minimum number of digits after fraction (${T}) is higher than the maximum (${Y}).`);let b=g.digits,V=b.length-g.integerLen;const le=Math.min(Math.max(T,V),Y);let ze=le+g.integerLen,it=b[ze];if(ze>0){b.splice(Math.max(g.integerLen,ze));for(let Gt=ze;Gt<b.length;Gt++)b[Gt]=0}else{V=Math.max(0,V),g.integerLen=1,b.length=Math.max(1,ze=le+1),b[0]=0;for(let Gt=1;Gt<ze;Gt++)b[Gt]=0}if(it>=5)if(ze-1<0){for(let Gt=0;Gt>ze;Gt--)b.unshift(0),g.integerLen++;b.unshift(1),g.integerLen++}else b[ze-1]++;for(;V<Math.max(0,le);V++)b.push(0);let Jt=0!==le;const vn=T+g.integerLen,gn=b.reduceRight(function(Gt,Hn,Tn,pr){return pr[Tn]=(Hn+=Gt)<10?Hn:Hn-10,Jt&&(0===pr[Tn]&&Tn>=vn?pr.pop():Jt=!1),Hn>=10?1:0},0);gn&&(b.unshift(gn),g.integerLen++)}(vn,Gt,Hn);let Tn=vn.digits,pr=vn.integerLen;const zr=vn.exponent;let Do=[];for(Jt=Tn.every(Eo=>!Eo);pr<gn;pr++)Tn.unshift(0);for(;pr<0;pr++)Tn.unshift(0);pr>0?Do=Tn.splice(pr,Tn.length):(Do=Tn,Tn=[0]);const Uo=[];for(Tn.length>=T.lgSize&&Uo.unshift(Tn.splice(-T.lgSize,Tn.length).join(""));Tn.length>T.gSize;)Uo.unshift(Tn.splice(-T.gSize,Tn.length).join(""));Tn.length&&Uo.unshift(Tn.join("")),it=Uo.join(Ce(Y,b)),Do.length&&(it+=Ce(Y,V)+Do.join("")),zr&&(it+=Ce(Y,ht.Exponential)+"+"+zr)}else it=Ce(Y,ht.Infinity);return it=g<0&&!Jt?T.negPre+it+T.negSuf:T.posPre+it+T.posSuf,it}(g,function oe(g,T="-"){const Y={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},b=g.split(";"),V=b[0],le=b[1],ze=-1!==V.indexOf(".")?V.split("."):[V.substring(0,V.lastIndexOf("0")+1),V.substring(V.lastIndexOf("0")+1)],it=ze[0],Jt=ze[1]||"";Y.posPre=it.substring(0,it.indexOf("#"));for(let gn=0;gn<Jt.length;gn++){const Gt=Jt.charAt(gn);"0"===Gt?Y.minFrac=Y.maxFrac=gn+1:"#"===Gt?Y.maxFrac=gn+1:Y.posSuf+=Gt}const vn=it.split(",");if(Y.gSize=vn[1]?vn[1].length:0,Y.lgSize=vn[2]||vn[1]?(vn[2]||vn[1]).length:0,le){const gn=V.length-Y.posPre.length-Y.posSuf.length,Gt=le.indexOf("#");Y.negPre=le.substring(0,Gt).replace(/'/g,""),Y.negSuf=le.slice(Gt+gn).replace(/'/g,"")}else Y.negPre=T+Y.posPre,Y.negSuf=Y.posSuf;return Y}(function Ee(g,T){return(0,a.cg1)(g)[a.wAp.NumberFormats][T]}(T,me.Decimal),Ce(T,ht.MinusSign)),T,ht.Group,ht.Decimal,Y)}(function Io(g){if("string"==typeof g&&!isNaN(Number(g)-parseFloat(g)))return Number(g);if("number"!=typeof g)throw new Error(`${g} is not a number`);return g}(b),le,V)}catch(ze){throw Br()}}}return(g=T).\u0275fac=function(b){return new(b||g)(a.Y36(a.soG,16))},g.\u0275pipe=a.Yjl({name:"number",type:g,pure:!0,standalone:!0}),T})();let qn=(()=>{var g;class T{transform(b,V,le){if(null==b)return null;if(!this.supports(b))throw Br();return b.slice(V,le)}supports(b){return"string"==typeof b||Array.isArray(b)}}return(g=T).\u0275fac=function(b){return new(b||g)},g.\u0275pipe=a.Yjl({name:"slice",type:g,pure:!1,standalone:!0}),T})(),Wn=(()=>{var g;class T{}return(g=T).\u0275fac=function(b){return new(b||g)},g.\u0275mod=a.oAB({type:g}),g.\u0275inj=a.cJS({}),T})();const _o="browser",ao="server";function Ts(g){return g===_o}function Bo(g){return g===ao}let Hr=(()=>{var g;class T{}return(g=T).\u0275prov=(0,a.Yz7)({token:g,providedIn:"root",factory:()=>new Is((0,a.LFG)($),window)}),T})();class Is{constructor(T,Y){this.document=T,this.window=Y,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 Y=function Ss(g,T){const Y=g.getElementById(T)||g.getElementsByName(T)[0];if(Y)return Y;if("function"==typeof g.createTreeWalker&&g.body&&"function"==typeof g.body.attachShadow){const b=g.createTreeWalker(g.body,NodeFilter.SHOW_ELEMENT);let V=b.currentNode;for(;V;){const le=V.shadowRoot;if(le){const ze=le.getElementById(T)||le.querySelector(`[name="${T}"]`);if(ze)return ze}V=b.nextNode()}}return null}(this.document,T);Y&&(this.scrollToElement(Y),Y.focus())}setHistoryScrollRestoration(T){this.supportsScrolling()&&(this.window.history.scrollRestoration=T)}scrollToElement(T){const Y=T.getBoundingClientRect(),b=Y.left+this.window.pageXOffset,V=Y.top+this.window.pageYOffset,le=this.offset();this.window.scrollTo(b-le[0],V-le[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class co{}},9862:(tt,ve,I)=>{I.d(ve,{JF:()=>L,TP:()=>Dt,WM:()=>xe,eN:()=>Pe});var a=I(5879),u=I(2096),G=I(2459),ne=I(5592),z=I(6328),$=I(2181),ee=I(7398),ae=I(4716),de=I(4664),U=I(6814);class J{}class fe{}class xe{constructor(re){this.normalizedNames=new Map,this.lazyUpdate=null,re?"string"==typeof re?this.lazyInit=()=>{this.headers=new Map,re.split("\n").forEach(Ie=>{const K=Ie.indexOf(":");if(K>0){const oe=Ie.slice(0,K),ge=oe.toLowerCase(),Ze=Ie.slice(K+1).trim();this.maybeSetNormalizedName(oe,ge),this.headers.has(ge)?this.headers.get(ge).push(Ze):this.headers.set(ge,[Ze])}})}:typeof Headers<"u"&&re instanceof Headers?(this.headers=new Map,re.forEach((Ie,K)=>{this.setHeaderEntries(K,Ie)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(re).forEach(([Ie,K])=>{this.setHeaderEntries(Ie,K)})}:this.headers=new Map}has(re){return this.init(),this.headers.has(re.toLowerCase())}get(re){this.init();const Ie=this.headers.get(re.toLowerCase());return Ie&&Ie.length>0?Ie[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(re){return this.init(),this.headers.get(re.toLowerCase())||null}append(re,Ie){return this.clone({name:re,value:Ie,op:"a"})}set(re,Ie){return this.clone({name:re,value:Ie,op:"s"})}delete(re,Ie){return this.clone({name:re,value:Ie,op:"d"})}maybeSetNormalizedName(re,Ie){this.normalizedNames.has(Ie)||this.normalizedNames.set(Ie,re)}init(){this.lazyInit&&(this.lazyInit instanceof xe?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(re=>this.applyUpdate(re)),this.lazyUpdate=null))}copyFrom(re){re.init(),Array.from(re.headers.keys()).forEach(Ie=>{this.headers.set(Ie,re.headers.get(Ie)),this.normalizedNames.set(Ie,re.normalizedNames.get(Ie))})}clone(re){const Ie=new xe;return Ie.lazyInit=this.lazyInit&&this.lazyInit instanceof xe?this.lazyInit:this,Ie.lazyUpdate=(this.lazyUpdate||[]).concat([re]),Ie}applyUpdate(re){const Ie=re.name.toLowerCase();switch(re.op){case"a":case"s":let K=re.value;if("string"==typeof K&&(K=[K]),0===K.length)return;this.maybeSetNormalizedName(re.name,Ie);const oe=("a"===re.op?this.headers.get(Ie):void 0)||[];oe.push(...K),this.headers.set(Ie,oe);break;case"d":const ge=re.value;if(ge){let Ze=this.headers.get(Ie);if(!Ze)return;Ze=Ze.filter(ke=>-1===ge.indexOf(ke)),0===Ze.length?(this.headers.delete(Ie),this.normalizedNames.delete(Ie)):this.headers.set(Ie,Ze)}else this.headers.delete(Ie),this.normalizedNames.delete(Ie)}}setHeaderEntries(re,Ie){const K=(Array.isArray(Ie)?Ie:[Ie]).map(ge=>ge.toString()),oe=re.toLowerCase();this.headers.set(oe,K),this.maybeSetNormalizedName(re,oe)}forEach(re){this.init(),Array.from(this.normalizedNames.keys()).forEach(Ie=>re(this.normalizedNames.get(Ie),this.headers.get(Ie)))}}class Ye{encodeKey(re){return et(re)}encodeValue(re){return et(re)}decodeKey(re){return decodeURIComponent(re)}decodeValue(re){return decodeURIComponent(re)}}const je=/%(\d[a-f0-9])/gi,Le={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function et(ye){return encodeURIComponent(ye).replace(je,(re,Ie)=>Le[Ie]??re)}function Ve(ye){return`${ye}`}class Z{constructor(re={}){if(this.updates=null,this.cloneFrom=null,this.encoder=re.encoder||new Ye,re.fromString){if(re.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function Oe(ye,re){const Ie=new Map;return ye.length>0&&ye.replace(/^\?/,"").split("&").forEach(oe=>{const ge=oe.indexOf("="),[Ze,ke]=-1==ge?[re.decodeKey(oe),""]:[re.decodeKey(oe.slice(0,ge)),re.decodeValue(oe.slice(ge+1))],gt=Ie.get(Ze)||[];gt.push(ke),Ie.set(Ze,gt)}),Ie}(re.fromString,this.encoder)}else re.fromObject?(this.map=new Map,Object.keys(re.fromObject).forEach(Ie=>{const K=re.fromObject[Ie],oe=Array.isArray(K)?K.map(Ve):[Ve(K)];this.map.set(Ie,oe)})):this.map=null}has(re){return this.init(),this.map.has(re)}get(re){this.init();const Ie=this.map.get(re);return Ie?Ie[0]:null}getAll(re){return this.init(),this.map.get(re)||null}keys(){return this.init(),Array.from(this.map.keys())}append(re,Ie){return this.clone({param:re,value:Ie,op:"a"})}appendAll(re){const Ie=[];return Object.keys(re).forEach(K=>{const oe=re[K];Array.isArray(oe)?oe.forEach(ge=>{Ie.push({param:K,value:ge,op:"a"})}):Ie.push({param:K,value:oe,op:"a"})}),this.clone(Ie)}set(re,Ie){return this.clone({param:re,value:Ie,op:"s"})}delete(re,Ie){return this.clone({param:re,value:Ie,op:"d"})}toString(){return this.init(),this.keys().map(re=>{const Ie=this.encoder.encodeKey(re);return this.map.get(re).map(K=>Ie+"="+this.encoder.encodeValue(K)).join("&")}).filter(re=>""!==re).join("&")}clone(re){const Ie=new Z({encoder:this.encoder});return Ie.cloneFrom=this.cloneFrom||this,Ie.updates=(this.updates||[]).concat(re),Ie}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(re=>this.map.set(re,this.cloneFrom.map.get(re))),this.updates.forEach(re=>{switch(re.op){case"a":case"s":const Ie=("a"===re.op?this.map.get(re.param):void 0)||[];Ie.push(Ve(re.value)),this.map.set(re.param,Ie);break;case"d":if(void 0===re.value){this.map.delete(re.param);break}{let K=this.map.get(re.param)||[];const oe=K.indexOf(Ve(re.value));-1!==oe&&K.splice(oe,1),K.length>0?this.map.set(re.param,K):this.map.delete(re.param)}}}),this.cloneFrom=this.updates=null)}}class me{constructor(){this.map=new Map}set(re,Ie){return this.map.set(re,Ie),this}get(re){return this.map.has(re)||this.map.set(re,re.defaultValue()),this.map.get(re)}delete(re){return this.map.delete(re),this}has(re){return this.map.has(re)}keys(){return this.map.keys()}}function We(ye){return typeof ArrayBuffer<"u"&&ye instanceof ArrayBuffer}function $e(ye){return typeof Blob<"u"&&ye instanceof Blob}function st(ye){return typeof FormData<"u"&&ye instanceof FormData}class It{constructor(re,Ie,K,oe){let ge;if(this.url=Ie,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=re.toUpperCase(),function Se(ye){switch(ye){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||oe?(this.body=void 0!==K?K:null,ge=oe):ge=K,ge&&(this.reportProgress=!!ge.reportProgress,this.withCredentials=!!ge.withCredentials,ge.responseType&&(this.responseType=ge.responseType),ge.headers&&(this.headers=ge.headers),ge.context&&(this.context=ge.context),ge.params&&(this.params=ge.params)),this.headers||(this.headers=new xe),this.context||(this.context=new me),this.params){const Ze=this.params.toString();if(0===Ze.length)this.urlWithParams=Ie;else{const ke=Ie.indexOf("?");this.urlWithParams=Ie+(-1===ke?"?":ke<Ie.length-1?"&":"")+Ze}}else this.params=new Z,this.urlWithParams=Ie}serializeBody(){return null===this.body?null:We(this.body)||$e(this.body)||st(this.body)||function ht(ye){return typeof URLSearchParams<"u"&&ye instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof Z?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||st(this.body)?null:$e(this.body)?this.body.type||null:We(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Z?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(re={}){const Ie=re.method||this.method,K=re.url||this.url,oe=re.responseType||this.responseType,ge=void 0!==re.body?re.body:this.body,Ze=void 0!==re.withCredentials?re.withCredentials:this.withCredentials,ke=void 0!==re.reportProgress?re.reportProgress:this.reportProgress;let gt=re.headers||this.headers,mt=re.params||this.params;const un=re.context??this.context;return void 0!==re.setHeaders&&(gt=Object.keys(re.setHeaders).reduce((Cn,dn)=>Cn.set(dn,re.setHeaders[dn]),gt)),re.setParams&&(mt=Object.keys(re.setParams).reduce((Cn,dn)=>Cn.set(dn,re.setParams[dn]),mt)),new It(Ie,K,ge,{params:mt,headers:gt,context:un,reportProgress:ke,responseType:oe,withCredentials:Ze})}}var St=function(ye){return ye[ye.Sent=0]="Sent",ye[ye.UploadProgress=1]="UploadProgress",ye[ye.ResponseHeader=2]="ResponseHeader",ye[ye.DownloadProgress=3]="DownloadProgress",ye[ye.Response=4]="Response",ye[ye.User=5]="User",ye}(St||{});class en{constructor(re,Ie=200,K="OK"){this.headers=re.headers||new xe,this.status=void 0!==re.status?re.status:Ie,this.statusText=re.statusText||K,this.url=re.url||null,this.ok=this.status>=200&&this.status<300}}class pn extends en{constructor(re={}){super(re),this.type=St.ResponseHeader}clone(re={}){return new pn({headers:re.headers||this.headers,status:void 0!==re.status?re.status:this.status,statusText:re.statusText||this.statusText,url:re.url||this.url||void 0})}}class on extends en{constructor(re={}){super(re),this.type=St.Response,this.body=void 0!==re.body?re.body:null}clone(re={}){return new on({body:void 0!==re.body?re.body:this.body,headers:re.headers||this.headers,status:void 0!==re.status?re.status:this.status,statusText:re.statusText||this.statusText,url:re.url||this.url||void 0})}}class or extends en{constructor(re){super(re,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${re.url||"(unknown url)"}`:`Http failure response for ${re.url||"(unknown url)"}: ${re.status} ${re.statusText}`,this.error=re.error||null}}function _r(ye,re){return{body:re,headers:ye.headers,context:ye.context,observe:ye.observe,params:ye.params,reportProgress:ye.reportProgress,responseType:ye.responseType,withCredentials:ye.withCredentials}}let Pe=(()=>{var ye;class re{constructor(K){this.handler=K}request(K,oe,ge={}){let Ze;if(K instanceof It)Ze=K;else{let mt,un;mt=ge.headers instanceof xe?ge.headers:new xe(ge.headers),ge.params&&(un=ge.params instanceof Z?ge.params:new Z({fromObject:ge.params})),Ze=new It(K,oe,void 0!==ge.body?ge.body:null,{headers:mt,context:ge.context,params:un,reportProgress:ge.reportProgress,responseType:ge.responseType||"json",withCredentials:ge.withCredentials})}const ke=(0,u.of)(Ze).pipe((0,z.b)(mt=>this.handler.handle(mt)));if(K instanceof It||"events"===ge.observe)return ke;const gt=ke.pipe((0,$.h)(mt=>mt instanceof on));switch(ge.observe||"body"){case"body":switch(Ze.responseType){case"arraybuffer":return gt.pipe((0,ee.U)(mt=>{if(null!==mt.body&&!(mt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return mt.body}));case"blob":return gt.pipe((0,ee.U)(mt=>{if(null!==mt.body&&!(mt.body instanceof Blob))throw new Error("Response is not a Blob.");return mt.body}));case"text":return gt.pipe((0,ee.U)(mt=>{if(null!==mt.body&&"string"!=typeof mt.body)throw new Error("Response is not a string.");return mt.body}));default:return gt.pipe((0,ee.U)(mt=>mt.body))}case"response":return gt;default:throw new Error(`Unreachable: unhandled observe type ${ge.observe}}`)}}delete(K,oe={}){return this.request("DELETE",K,oe)}get(K,oe={}){return this.request("GET",K,oe)}head(K,oe={}){return this.request("HEAD",K,oe)}jsonp(K,oe){return this.request("JSONP",K,{params:(new Z).append(oe,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(K,oe={}){return this.request("OPTIONS",K,oe)}patch(K,oe,ge={}){return this.request("PATCH",K,_r(ge,oe))}post(K,oe,ge={}){return this.request("POST",K,_r(ge,oe))}put(K,oe,ge={}){return this.request("PUT",K,_r(ge,oe))}}return(ye=re).\u0275fac=function(K){return new(K||ye)(a.LFG(J))},ye.\u0275prov=a.Yz7({token:ye,factory:ye.\u0275fac}),re})();function pe(ye,re){return re(ye)}function Xe(ye,re){return(Ie,K)=>re.intercept(Ie,{handle:oe=>ye(oe,K)})}const Dt=new a.OlP(""),Ct=new a.OlP(""),Yt=new a.OlP("");function sn(){let ye=null;return(re,Ie)=>{null===ye&&(ye=((0,a.f3M)(Dt,{optional:!0})??[]).reduceRight(Xe,pe));const K=(0,a.f3M)(a.HDt),oe=K.add();return ye(re,Ie).pipe((0,ae.x)(()=>K.remove(oe)))}}let xt=(()=>{var ye;class re extends J{constructor(K,oe){super(),this.backend=K,this.injector=oe,this.chain=null,this.pendingTasks=(0,a.f3M)(a.HDt)}handle(K){if(null===this.chain){const ge=Array.from(new Set([...this.injector.get(Ct),...this.injector.get(Yt,[])]));this.chain=ge.reduceRight((Ze,ke)=>function pt(ye,re,Ie){return(K,oe)=>Ie.runInContext(()=>re(K,ge=>ye(ge,oe)))}(Ze,ke,this.injector),pe)}const oe=this.pendingTasks.add();return this.chain(K,ge=>this.backend.handle(ge)).pipe((0,ae.x)(()=>this.pendingTasks.remove(oe)))}}return(ye=re).\u0275fac=function(K){return new(K||ye)(a.LFG(fe),a.LFG(a.lqb))},ye.\u0275prov=a.Yz7({token:ye,factory:ye.\u0275fac}),re})();const jn=/^\)\]\}',?\n/;let qt=(()=>{var ye;class re{constructor(K){this.xhrFactory=K}handle(K){if("JSONP"===K.method)throw new a.vHH(-2800,!1);const oe=this.xhrFactory;return(oe.\u0275loadImpl?(0,G.D)(oe.\u0275loadImpl()):(0,u.of)(null)).pipe((0,de.w)(()=>new ne.y(Ze=>{const ke=oe.build();if(ke.open(K.method,K.urlWithParams),K.withCredentials&&(ke.withCredentials=!0),K.headers.forEach((tn,wn)=>ke.setRequestHeader(tn,wn.join(","))),K.headers.has("Accept")||ke.setRequestHeader("Accept","application/json, text/plain, */*"),!K.headers.has("Content-Type")){const tn=K.detectContentTypeHeader();null!==tn&&ke.setRequestHeader("Content-Type",tn)}if(K.responseType){const tn=K.responseType.toLowerCase();ke.responseType="json"!==tn?tn:"text"}const gt=K.serializeBody();let mt=null;const un=()=>{if(null!==mt)return mt;const tn=ke.statusText||"OK",wn=new xe(ke.getAllResponseHeaders()),Lr=function jt(ye){return"responseURL"in ye&&ye.responseURL?ye.responseURL:/^X-Request-URL:/m.test(ye.getAllResponseHeaders())?ye.getResponseHeader("X-Request-URL"):null}(ke)||K.url;return mt=new pn({headers:wn,status:ke.status,statusText:tn,url:Lr}),mt},Cn=()=>{let{headers:tn,status:wn,statusText:Lr,url:io}=un(),_n=null;204!==wn&&(_n=typeof ke.response>"u"?ke.responseText:ke.response),0===wn&&(wn=_n?200:0);let An=wn>=200&&wn<300;if("json"===K.responseType&&"string"==typeof _n){const No=_n;_n=_n.replace(jn,"");try{_n=""!==_n?JSON.parse(_n):null}catch(fr){_n=No,An&&(An=!1,_n={error:fr,text:_n})}}An?(Ze.next(new on({body:_n,headers:tn,status:wn,statusText:Lr,url:io||void 0})),Ze.complete()):Ze.error(new or({error:_n,headers:tn,status:wn,statusText:Lr,url:io||void 0}))},dn=tn=>{const{url:wn}=un(),Lr=new or({error:tn,status:ke.status||0,statusText:ke.statusText||"Unknown Error",url:wn||void 0});Ze.error(Lr)};let Gn=!1;const Sr=tn=>{Gn||(Ze.next(un()),Gn=!0);let wn={type:St.DownloadProgress,loaded:tn.loaded};tn.lengthComputable&&(wn.total=tn.total),"text"===K.responseType&&ke.responseText&&(wn.partialText=ke.responseText),Ze.next(wn)},Zr=tn=>{let wn={type:St.UploadProgress,loaded:tn.loaded};tn.lengthComputable&&(wn.total=tn.total),Ze.next(wn)};return ke.addEventListener("load",Cn),ke.addEventListener("error",dn),ke.addEventListener("timeout",dn),ke.addEventListener("abort",dn),K.reportProgress&&(ke.addEventListener("progress",Sr),null!==gt&&ke.upload&&ke.upload.addEventListener("progress",Zr)),ke.send(gt),Ze.next({type:St.Sent}),()=>{ke.removeEventListener("error",dn),ke.removeEventListener("abort",dn),ke.removeEventListener("load",Cn),ke.removeEventListener("timeout",dn),K.reportProgress&&(ke.removeEventListener("progress",Sr),null!==gt&&ke.upload&&ke.upload.removeEventListener("progress",Zr)),ke.readyState!==ke.DONE&&ke.abort()}})))}}return(ye=re).\u0275fac=function(K){return new(K||ye)(a.LFG(U.JF))},ye.\u0275prov=a.Yz7({token:ye,factory:ye.\u0275fac}),re})();const kn=new a.OlP("XSRF_ENABLED"),cn=new a.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),kt=new a.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Mn{}let Yn=(()=>{var ye;class re{constructor(K,oe,ge){this.doc=K,this.platform=oe,this.cookieName=ge,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const K=this.doc.cookie||"";return K!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,U.Mx)(K,this.cookieName),this.lastCookieString=K),this.lastToken}}return(ye=re).\u0275fac=function(K){return new(K||ye)(a.LFG(U.K0),a.LFG(a.Lbi),a.LFG(cn))},ye.\u0275prov=a.Yz7({token:ye,factory:ye.\u0275fac}),re})();function zn(ye,re){const Ie=ye.url.toLowerCase();if(!(0,a.f3M)(kn)||"GET"===ye.method||"HEAD"===ye.method||Ie.startsWith("http://")||Ie.startsWith("https://"))return re(ye);const K=(0,a.f3M)(Mn).getToken(),oe=(0,a.f3M)(kt);return null!=K&&!ye.headers.has(oe)&&(ye=ye.clone({headers:ye.headers.set(oe,K)})),re(ye)}var En=function(ye){return ye[ye.Interceptors=0]="Interceptors",ye[ye.LegacyInterceptors=1]="LegacyInterceptors",ye[ye.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",ye[ye.NoXsrfProtection=3]="NoXsrfProtection",ye[ye.JsonpSupport=4]="JsonpSupport",ye[ye.RequestsMadeViaParent=5]="RequestsMadeViaParent",ye[ye.Fetch=6]="Fetch",ye}(En||{});function Ln(ye,re){return{\u0275kind:ye,\u0275providers:re}}function ar(...ye){const re=[Pe,qt,xt,{provide:J,useExisting:xt},{provide:fe,useExisting:qt},{provide:Ct,useValue:zn,multi:!0},{provide:kn,useValue:!0},{provide:Mn,useClass:Yn}];for(const Ie of ye)re.push(...Ie.\u0275providers);return(0,a.MR2)(re)}const lr=new a.OlP("LEGACY_INTERCEPTOR_FN");let L=(()=>{var ye;class re{}return(ye=re).\u0275fac=function(K){return new(K||ye)},ye.\u0275mod=a.oAB({type:ye}),ye.\u0275inj=a.cJS({providers:[ar(Ln(En.LegacyInterceptors,[{provide:lr,useFactory:sn},{provide:Ct,useExisting:lr,multi:!0}]))]}),re})()},5879:(tt,ve,I)=>{I.d(ve,{$8M:()=>Po,$WT:()=>go,$Z:()=>yg,AFp:()=>Fp,ALo:()=>ny,AaK:()=>fe,Akn:()=>Qi,AsE:()=>sh,BQk:()=>qu,CHM:()=>ra,CRH:()=>Ey,DdM:()=>z_,Dn7:()=>sy,EJc:()=>Yw,EiD:()=>Mp,EpF:()=>um,F$t:()=>mm,F4k:()=>dm,FYo:()=>$p,FiY:()=>Hl,G48:()=>PM,Gf:()=>vy,GfV:()=>zp,GkF:()=>Wf,Gpc:()=>Ye,Gre:()=>Ym,HDt:()=>zy,Hsn:()=>_m,Ikx:()=>ih,JOm:()=>Oa,JVY:()=>fD,JZr:()=>Ve,Jf7:()=>rg,KtG:()=>Da,L6k:()=>hD,LAX:()=>gD,LFG:()=>Qe,LSH:()=>Kd,Lbi:()=>rf,Lck:()=>zb,MAs:()=>am,MMx:()=>F_,MR2:()=>qd,NdJ:()=>Kf,O4$:()=>Wa,Ojb:()=>HD,OlP:()=>Kn,Oqu:()=>oh,P3R:()=>Sp,PXZ:()=>CM,Q6J:()=>$f,QGY:()=>Zf,QbO:()=>UD,Qsj:()=>rE,R0b:()=>Ro,RDi:()=>sD,Rgc:()=>su,SBq:()=>Uc,Sil:()=>Jw,Suo:()=>Dy,TTD:()=>gn,TgZ:()=>Zu,Tol:()=>Nm,Udp:()=>th,VKq:()=>G_,VuI:()=>sT,W1O:()=>My,WFA:()=>Yf,WLB:()=>W_,X6Q:()=>OM,XFs:()=>ct,Xpm:()=>$s,Xq5:()=>Gg,Xts:()=>Lc,Y36:()=>tc,YKP:()=>x_,YNc:()=>om,Yjl:()=>Gs,Yz7:()=>Dt,Z0I:()=>xt,ZZ4:()=>jh,_Bn:()=>N_,_UZ:()=>Gf,_Vd:()=>jc,_c5:()=>ZM,_uU:()=>jm,aQg:()=>Uh,c2e:()=>$y,cJS:()=>Yt,cg1:()=>lh,d8E:()=>ah,dDg:()=>yM,dqk:()=>qt,eBb:()=>pD,eFA:()=>ev,eJc:()=>wh,ekj:()=>nh,eoX:()=>qy,f3M:()=>lt,g9A:()=>Lp,gM2:()=>iy,h0i:()=>Pl,hGG:()=>KM,hij:()=>Xu,iGM:()=>yy,ifc:()=>ge,ip1:()=>Hy,jDz:()=>L_,kEZ:()=>Z_,kL8:()=>s_,kcU:()=>ps,l5B:()=>K_,lG2:()=>cs,lcZ:()=>ry,lqb:()=>aa,lri:()=>Ky,mCW:()=>wu,n5z:()=>bi,n_E:()=>od,oAB:()=>zs,oJD:()=>Tp,oxw:()=>gm,pB0:()=>mD,q3G:()=>Tl,q4F:()=>Gp,qFp:()=>aT,qLn:()=>sl,qOj:()=>kf,qZA:()=>Ku,qbA:()=>Y_,qzn:()=>Kl,rFY:()=>q_,rWj:()=>Yy,rg0:()=>V,s9C:()=>qf,sBO:()=>RM,s_b:()=>ad,soG:()=>cd,tb:()=>xh,tdS:()=>ga,tp0:()=>$l,uIk:()=>Lf,vHH:()=>Z,vpe:()=>la,wAp:()=>pc,xi3:()=>oy,xp6:()=>mg,ynx:()=>Yu,z2F:()=>yc,z3N:()=>Pa,zSh:()=>Xd,zs3:()=>qi});var a=I(8645),u=I(7394),G=I(5592),ne=I(3019),z=I(5619),$=I(2096),ee=I(3020),ae=I(4664),de=I(3997);function U(e){for(let t in e)if(e[t]===U)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 xe(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const Te=U({__forward_ref__:U});function Ye(e){return e.__forward_ref__=Ye,e.toString=function(){return fe(this())},e}function Oe(e){return je(e)?e():e}function je(e){return"function"==typeof e&&e.hasOwnProperty(Te)&&e.__forward_ref__===Ye}function Le(e){return e&&!!e.\u0275providers}const Ve="https://g.co/ng/security#xss";class Z extends Error{constructor(t,n){super(function De(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function me(e){return"string"==typeof e?e:null==e?"":String(e)}function ht(e,t){throw new Z(-201,!1)}function Ae(e,t){null==e&&function _e(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function Dt(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Yt(e){return{providers:e.providers||[],imports:e.imports||[]}}function sn(e){return xn(e,Jn)||xn(e,sr)}function xt(e){return null!==sn(e)}function xn(e,t){return e.hasOwnProperty(t)?e[t]:null}function yr(e){return e&&(e.hasOwnProperty(Vn)||e.hasOwnProperty(Xn))?e[Vn]:null}const Jn=U({\u0275prov:U}),Vn=U({\u0275inj:U}),sr=U({ngInjectableDef:U}),Xn=U({ngInjectorDef:U});var ct=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}(ct||{});let Vt;function rn(e){const t=Vt;return Vt=e,t}function jn(e,t,n){const r=sn(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&ct.Optional?null:void 0!==t?t:void ht(fe(e))}const qt=globalThis,lr={},vr="__NG_DI_FLAG__",Dr="ngTempTokenPath",ie=/\n/gm,x="__source";let te;function se(e){const t=te;return te=e,t}function Re(e,t=ct.Default){if(void 0===te)throw new Z(-203,!1);return null===te?jn(e,void 0,t):te.get(e,t&ct.Optional?null:void 0,t)}function Qe(e,t=ct.Default){return(function Tt(){return Vt}()||Re)(Oe(e),t)}function lt(e,t=ct.Default){return Qe(e,Lt(t))}function Lt(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function bt(e){const t=[];for(let n=0;n<e.length;n++){const r=Oe(e[n]);if(Array.isArray(r)){if(0===r.length)throw new Z(900,!1);let o,s=ct.Default;for(let c=0;c<r.length;c++){const d=r[c],v=ye(d);"number"==typeof v?-1===v?o=d.token:s|=v:o=d}t.push(Qe(o,s))}else t.push(Qe(r))}return t}function Qt(e,t){return e[vr]=t,e.prototype[vr]=t,e}function ye(e){return e[vr]}function K(e){return{toString:e}.toString()}var oe=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(oe||{}),ge=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(ge||{});const Ze={},ke=[],gt=U({\u0275cmp:U}),mt=U({\u0275dir:U}),un=U({\u0275pipe:U}),Cn=U({\u0275mod:U}),dn=U({\u0275fac:U}),Gn=U({__NG_ELEMENT_ID__:U}),Sr=U({__NG_ENV_ID__:U});function Zr(e,t,n){let r=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const s=t.length;if(o+s===r||e.charCodeAt(o+s)<=32)return o}n=o+1}}function tn(e,t,n){let r=0;for(;r<n.length;){const o=n[r];if("number"==typeof o){if(0!==o)break;r++;const s=n[r++],c=n[r++],d=n[r++];e.setAttribute(t,c,d,s)}else{const s=o,c=n[++r];Lr(s)?e.setProperty(t,s,c):e.setAttribute(t,s,c),r++}}return r}function wn(e){return 3===e||4===e||6===e}function Lr(e){return 64===e.charCodeAt(0)}function io(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 o=t[r];"number"==typeof o?n=o:0===n||_n(e,n,o,null,-1===n||2===n?t[++r]:null)}}return e}function _n(e,t,n,r,o){let s=0,c=e.length;if(-1===t)c=-1;else for(;s<e.length;){const d=e[s++];if("number"==typeof d){if(d===t){c=-1;break}if(d>t){c=s-1;break}}}for(;s<e.length;){const d=e[s];if("number"==typeof d)break;if(d===n){if(null===r)return void(null!==o&&(e[s+1]=o));if(r===e[s+1])return void(e[s+2]=o)}s++,null!==r&&s++,null!==o&&s++}-1!==c&&(e.splice(c,0,t),s=c+1),e.splice(s++,0,n),null!==r&&e.splice(s++,0,r),null!==o&&e.splice(s++,0,o)}const An="ng-template";function No(e,t,n){let r=0,o=!0;for(;r<e.length;){let s=e[r++];if("string"==typeof s&&o){const c=e[r++];if(n&&"class"===s&&-1!==Zr(c.toLowerCase(),t,0))return!0}else{if(1===s){for(;r<e.length&&"string"==typeof(s=e[r++]);)if(s.toLowerCase()===t)return!0;return!1}"number"==typeof s&&(o=!1)}}return!1}function fr(e){return 4===e.type&&e.value!==An}function Mo(e,t,n){return t===(4!==e.type||n?e.value:An)}function xo(e,t,n){let r=4;const o=e.attrs||[],s=function fa(e){for(let t=0;t<e.length;t++)if(wn(e[t]))return t;return e.length}(o);let c=!1;for(let d=0;d<t.length;d++){const v=t[d];if("number"!=typeof v){if(!c)if(4&r){if(r=2|1&r,""!==v&&!Mo(e,v,n)||""===v&&1===t.length){if(Er(r))return!1;c=!0}}else{const S=8&r?v:t[++d];if(8&r&&null!==e.attrs){if(!No(e.attrs,S,n)){if(Er(r))return!1;c=!0}continue}const Q=To(8&r?"class":v,o,fr(e),n);if(-1===Q){if(Er(r))return!1;c=!0;continue}if(""!==S){let he;he=Q>s?"":o[Q+1].toLowerCase();const Me=8&r?he:null;if(Me&&-1!==Zr(Me,S,0)||2&r&&S!==he){if(Er(r))return!1;c=!0}}}}else{if(!c&&!Er(r)&&!Er(v))return!1;if(c&&Er(v))continue;c=!1,r=v|1&r}}return Er(r)||c}function Er(e){return 0==(1&e)}function To(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let s=!1;for(;o<t.length;){const c=t[o];if(c===e)return o;if(3===c||6===c)s=!0;else{if(1===c||2===c){let d=t[++o];for(;"string"==typeof d;)d=t[++o];continue}if(4===c)break;if(0===c){o+=4;continue}}o+=s?1:2}return-1}return function Ii(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 Us(e,t,n=!1){for(let r=0;r<t.length;r++)if(xo(e,t[r],n))return!0;return!1}function Es(e,t){e:for(let n=0;n<t.length;n++){const r=t[n];if(e.length===r.length){for(let o=0;o<e.length;o++)if(e[o]!==r[o])continue e;return!0}}return!1}function ko(e,t){return e?":not("+t.trim()+")":t}function Cs(e){let t=e[0],n=1,r=2,o="",s=!1;for(;n<e.length;){let c=e[n];if("string"==typeof c)if(2&r){const d=e[++n];o+="["+c+(d.length>0?'="'+d+'"':"")+"]"}else 8&r?o+="."+c:4&r&&(o+=" "+c);else""!==o&&!Er(c)&&(t+=ko(s,o),o=""),r=c,s=s||!Er(r);n++}return""!==o&&(t+=ko(s,o)),t}function $s(e){return K(()=>{const t=Ms(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===oe.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||ge.Emulated,styles:e.styles||ke,_:null,schemas:e.schemas||null,tView:null,id:""};Lo(n);const r=e.dependencies;return n.directiveDefs=Ko(r,!1),n.pipeDefs=Ko(r,!0),n.id=function Jr(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 o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(n),n})}function Zo(e){return nn(e)||bn(e)}function bs(e){return null!==e}function zs(e){return K(()=>({type:e.type,bootstrap:e.bootstrap||ke,declarations:e.declarations||ke,imports:e.imports||ke,exports:e.exports||ke,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Fo(e,t){if(null==e)return Ze;const n={};for(const r in e)if(e.hasOwnProperty(r)){let o=e[r],s=o;Array.isArray(o)&&(s=o[1],o=o[0]),n[o]=r,t&&(t[o]=s)}return n}function cs(e){return K(()=>{const t=Ms(e);return Lo(t),t})}function Gs(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 nn(e){return e[gt]||null}function bn(e){return e[mt]||null}function Un(e){return e[un]||null}function go(e){const t=nn(e)||bn(e)||Un(e);return null!==t&&t.standalone}function Or(e,t){const n=e[Cn]||null;if(!n&&!0===t)throw new Error(`Type ${fe(e)} does not have '\u0275mod' property.`);return n}function Ms(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||Ze,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||ke,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Fo(e.inputs,t),outputs:Fo(e.outputs)}}function Lo(e){e.features?.forEach(t=>t(e))}function Ko(e,t){if(!e)return null;const n=t?Un:Zo;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(bs)}const On=0,dt=1,Pt=2,Pn=3,Cr=4,Io=5,qn=6,mo=7,Wn=8,_o=9,ao=10,Rt=11,Kr=12,Ts=13,Bo=14,Zn=15,lo=16,Yo=17,Hr=18,Is=19,Ss=20,qo=21,co=22,Qo=23,uo=24,Zt=25,$r=1,Jo=2,Rn=7,Xr=9,br=11;function Pr(e){return Array.isArray(e)&&"object"==typeof e[$r]}function tr(e){return Array.isArray(e)&&!0===e[$r]}function Ws(e){return 0!=(4&e.flags)}function us(e){return e.componentOffset>-1}function Rr(e){return 1==(1&e.flags)}function Nr(e){return!!e.template}function As(e){return 0!=(512&e[Pt])}function qr(e,t){return e.hasOwnProperty(dn)?e[dn]:null}const So=Symbol("SIGNAL");let cr=null,vo=!1;function jr(e){const t=cr;return cr=e,t}const es={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 di(e){if(vo)throw new Error("");if(null===cr)return;const t=cr.nextProducerIndex++;ns(cr),t<cr.producerNode.length&&cr.producerNode[t]!==e&&Os(cr)&&fs(cr.producerNode[t],cr.producerIndexOfThis[t]),cr.producerNode[t]!==e&&(cr.producerNode[t]=e,cr.producerIndexOfThis[t]=Os(cr)?zt(e,cr,t):0),cr.producerLastReadVersion[t]=e.version}function fi(e){if(!Os(e)||e.dirty){if(!e.producerMustRecompute(e)&&!pa(e))return void(e.dirty=!1);e.producerRecomputeValue(e),e.dirty=!1}}function Ri(e){if(void 0===e.liveConsumerNode)return;const t=vo;vo=!0;try{for(const n of e.liveConsumerNode)n.dirty||Ks(n)}finally{vo=t}}function ts(){return!1!==cr?.consumerAllowSignalWrites}function Ks(e){e.dirty=!0,Ri(e),e.consumerMarkedDirty?.(e)}function hi(e){return e&&(e.nextProducerIndex=0),jr(e)}function hr(e,t){if(jr(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(Os(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)fs(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 pa(e){ns(e);for(let t=0;t<e.producerNode.length;t++){const n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(fi(n),r!==n.version))return!0}return!1}function Ni(e){if(ns(e),Os(e))for(let t=0;t<e.producerNode.length;t++)fs(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 zt(e,t,n){if(xi(e),ns(e),0===e.liveConsumerNode.length)for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=zt(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function fs(e,t){if(xi(e),ns(e),1===e.liveConsumerNode.length)for(let r=0;r<e.producerNode.length;r++)fs(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],o=e.liveConsumerNode[t];ns(o),o.producerIndexOfThis[r]=t}}function Os(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function ns(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function xi(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}let Li=function Fi(){throw new Error};function gi(){Li()}let mi=null;function ga(e,t){const n=Object.create(_i);function r(){return di(n),n.value}return n.value=e,t?.equal&&(n.equal=t.equal),r.set=g,r.update=T,r.mutate=Y,r.asReadonly=b,r[So]=n,r}const _i={...es,equal:function Vr(e,t){return(null===e||"object"!=typeof e)&&Object.is(e,t)},readonlyFn:void 0};function yi(e){e.version++,Ri(e),mi?.()}function g(e){const t=this[So];ts()||gi(),t.equal(t.value,e)||(t.value=e,yi(t))}function T(e){ts()||gi(),g.call(this,e(this[So].value))}function Y(e){const t=this[So];ts()||gi(),e(t.value),yi(t)}function b(){const e=this[So];if(void 0===e.readonlyFn){const t=()=>this();t[So]=e,e.readonlyFn=t}return e.readonlyFn}function V(e){const t=jr(null);try{return e()}finally{jr(t)}}const ze=()=>{},it={...es,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule(e.ref)},hasRun:!1,cleanupFn:ze};class vn{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function gn(){return Gt}function Gt(e){return e.type.prototype.ngOnChanges&&(e.setInput=Tn),Hn}function Hn(){const e=zr(this),t=e?.current;if(t){const n=e.previous;if(n===Ze)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Tn(e,t,n,r){const o=this.declaredInputs[n],s=zr(e)||function Do(e,t){return e[pr]=t}(e,{previous:Ze,current:null}),c=s.current||(s.current={}),d=s.previous,v=d[o];c[o]=new vn(v&&v.currentValue,t,d===Ze),e[r]=t}gn.ngInherit=!0;const pr="__ngSimpleChanges__";function zr(e){return e[pr]||null}const wr=function(e,t,n){},Gr="svg";function In(e){for(;Array.isArray(e);)e=e[On];return e}function rs(e,t){return In(t[e])}function Bn(e,t){return In(t[e.index])}function _a(e,t){return e.data[t]}function Ps(e,t){return e[t]}function fo(e,t){const n=t[e];return Pr(n)?n:n[On]}function Bi(e,t){return null==t?null:e[t]}function ja(e){e[Yo]=0}function Ao(e){1024&e[Pt]||(e[Pt]|=1024,Dc(e,1))}function Ua(e){1024&e[Pt]&&(e[Pt]&=-1025,Dc(e,-1))}function Dc(e,t){let n=e[Pn];if(null===n)return;n[Io]+=t;let r=n;for(n=n[Pn];null!==n&&(1===t&&1===r[Io]||-1===t&&0===r[Io]);)n[Io]+=t,r=n,n=n[Pn]}const Nt={lFrame:fn(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Mr(){return Nt.bindingsEnabled}function Js(){return null!==Nt.skipHydrationRootTNode}function qe(){return Nt.lFrame.lView}function mn(){return Nt.lFrame.tView}function ra(e){return Nt.lFrame.contextLView=e,e[Wn]}function Da(e){return Nt.lFrame.contextLView=null,e}function Qn(){let e=Ho();for(;null!==e&&64===e.type;)e=e.parent;return e}function Ho(){return Nt.lFrame.currentTNode}function ho(e,t){const n=Nt.lFrame;n.currentTNode=e,n.isParent=t}function Ea(){return Nt.lFrame.isParent}function Xs(){Nt.lFrame.isParent=!1}function po(){const e=Nt.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function ei(){return Nt.lFrame.bindingIndex++}function h(e){const t=Nt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function y(e,t){const n=Nt.lFrame;n.bindingIndex=n.bindingRootIndex=e,F(t)}function F(e){Nt.lFrame.currentDirectiveIndex=e}function j(e){const t=Nt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function we(){return Nt.lFrame.currentQueryIndex}function nt(e){Nt.lFrame.currentQueryIndex=e}function Fe(e){const t=e[dt];return 2===t.type?t.declTNode:1===t.type?e[qn]:null}function wt(e,t,n){if(n&ct.SkipSelf){let o=t,s=e;for(;!(o=o.parent,null!==o||n&ct.Host||(o=Fe(s),null===o||(s=s[Bo],10&o.type))););if(null===o)return!1;t=o,e=s}const r=Nt.lFrame=Tr();return r.currentTNode=t,r.lView=e,!0}function Ht(e){const t=Tr(),n=e[dt];Nt.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Tr(){const e=Nt.lFrame,t=null===e?null:e.child;return null===t?fn(e):t}function fn(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 eo(){const e=Nt.lFrame;return Nt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const hs=eo;function Ns(){const e=eo();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 Qr(){return Nt.lFrame.selectedIndex}function ni(e){Nt.lFrame.selectedIndex=e}function mr(){const e=Nt.lFrame;return _a(e.tView,e.selectedIndex)}function Wa(){Nt.lFrame.currentNamespace=Gr}function ps(){!function xl(){Nt.lFrame.currentNamespace=null}()}let Ui=!0;function Hi(){return Ui}function os(e){Ui=e}function sa(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const s=e.data[n].type.prototype,{ngAfterContentInit:c,ngAfterContentChecked:d,ngAfterViewInit:v,ngAfterViewChecked:S,ngOnDestroy:N}=s;c&&(e.contentHooks??=[]).push(-n,c),d&&((e.contentHooks??=[]).push(n,d),(e.contentCheckHooks??=[]).push(n,d)),v&&(e.viewHooks??=[]).push(-n,v),S&&((e.viewHooks??=[]).push(n,S),(e.viewCheckHooks??=[]).push(n,S)),null!=N&&(e.destroyHooks??=[]).push(n,N)}}function hl(e,t,n){gl(e,t,3,n)}function Za(e,t,n,r){(3&e[Pt])===n&&gl(e,t,n,r)}function pl(e,t){let n=e[Pt];(3&n)===t&&(n&=8191,n+=1,e[Pt]=n)}function gl(e,t,n,r){const s=r??-1,c=t.length-1;let d=0;for(let v=void 0!==r?65535&e[Yo]:0;v<c;v++)if("number"==typeof t[v+1]){if(d=t[v],null!=r&&d>=r)break}else t[v]<0&&(e[Yo]+=65536),(d<s||-1==s)&&(Ka(e,n,t,v),e[Yo]=(4294901760&e[Yo])+v+2),v++}function kl(e,t){wr(4,e,t);const n=jr(null);try{t.call(e)}finally{jr(n),wr(5,e,t)}}function Ka(e,t,n,r){const o=n[r]<0,s=n[r+1],d=e[o?-n[r]:n[r]];o?e[Pt]>>13<e[Yo]>>16&&(3&e[Pt])===t&&(e[Pt]+=8192,kl(d,s)):kl(d,s)}const ks=-1;class $i{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function ba(e){return e!==ks}function Ei(e){return 32767&e}function Ya(e,t){let n=function Bl(e){return e>>16}(e),r=t;for(;n>0;)r=r[Bo],n--;return r}let _l=!0;function qa(e){const t=_l;return _l=e,t}const Vl=255,Cc=5;let bc=0;const gs={};function Qa(e,t){const n=Xa(e,t);if(-1!==n)return n;const r=t[dt];r.firstCreatePass&&(e.injectorIndex=t.length,Ja(r.data,e),Ja(t,null),Ja(r.blueprint,null));const o=Ci(e,t),s=e.injectorIndex;if(ba(o)){const c=Ei(o),d=Ya(o,t),v=d[dt].data;for(let S=0;S<8;S++)t[s+S]=d[c+S]|v[c+S]}return t[s+8]=o,s}function Ja(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Xa(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Ci(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){if(r=rl(o),null===r)return ks;if(n++,o=o[Bo],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return ks}function wa(e,t,n){!function wc(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Gn)&&(r=n[Gn]),null==r&&(r=n[Gn]=bc++);const o=r&Vl;t.data[e+(o>>Cc)]|=1<<o}(e,t,n)}function el(e,t,n){if(n&ct.Optional||void 0!==e)return e;ht()}function tl(e,t,n,r){if(n&ct.Optional&&void 0===r&&(r=null),!(n&(ct.Self|ct.Host))){const o=e[_o],s=rn(void 0);try{return o?o.get(t,r,n&ct.Optional):jn(t,r,n&ct.Optional)}finally{rn(s)}}return el(r,0,n)}function Ma(e,t,n,r=ct.Default,o){if(null!==e){if(2048&t[Pt]&&!(r&ct.Self)){const c=function Ic(e,t,n,r,o){let s=e,c=t;for(;null!==s&&null!==c&&2048&c[Pt]&&!(512&c[Pt]);){const d=Mc(s,c,n,r|ct.Self,gs);if(d!==gs)return d;let v=s.parent;if(!v){const S=c[Ss];if(S){const N=S.get(n,gs,r);if(N!==gs)return N}v=rl(c),c=c[Bo]}s=v}return o}(e,t,n,r,gs);if(c!==gs)return c}const s=Mc(e,t,n,r,gs);if(s!==gs)return s}return tl(t,n,r,o)}function Mc(e,t,n,r,o){const s=function vl(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Gn)?e[Gn]:void 0;return"number"==typeof t?t>=0?t&Vl:nl:t}(n);if("function"==typeof s){if(!wt(t,e,r))return r&ct.Host?el(o,0,r):tl(t,n,r,o);try{let c;if(c=s(r),null!=c||r&ct.Optional)return c;ht()}finally{hs()}}else if("number"==typeof s){let c=null,d=Xa(e,t),v=ks,S=r&ct.Host?t[Zn][qn]:null;for((-1===d||r&ct.SkipSelf)&&(v=-1===d?Ci(e,t):t[d+8],v!==ks&&Dl(r,!1)?(c=t[dt],d=Ei(v),t=Ya(v,t)):d=-1);-1!==d;){const N=t[dt];if(zi(s,d,N.data)){const Q=Fs(d,t,n,c,r,S);if(Q!==gs)return Q}v=t[d+8],v!==ks&&Dl(r,t[dt].data[d+8]===S)&&zi(s,d,t)?(c=N,d=Ei(v),t=Ya(v,t)):d=-1}}return o}function Fs(e,t,n,r,o,s){const c=t[dt],d=c.data[e+8],N=Ta(d,c,n,null==r?us(d)&&_l:r!=c&&0!=(3&d.type),o&ct.Host&&s===d);return null!==N?ms(t,c,N,d):gs}function Ta(e,t,n,r,o){const s=e.providerIndexes,c=t.data,d=1048575&s,v=e.directiveStart,N=s>>20,he=o?d+N:e.directiveEnd;for(let Me=r?d:d+N;Me<he;Me++){const Ke=c[Me];if(Me<v&&n===Ke||Me>=v&&Ke.type===n)return Me}if(o){const Me=c[v];if(Me&&Nr(Me)&&Me.type===n)return v}return null}function ms(e,t,n,r){let o=e[n];const s=t.data;if(function lu(e){return e instanceof $i}(o)){const c=o;c.resolving&&function We(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new Z(-200,`Circular dependency in DI detected for ${e}${n}`)}(function Se(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():me(e)}(s[n]));const d=qa(c.canSeeViewProviders);c.resolving=!0;const S=c.injectImpl?rn(c.injectImpl):null;wt(e,r,ct.Default);try{o=e[n]=c.factory(void 0,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&function xs(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:s}=t.type.prototype;if(r){const c=Gt(t);(n.preOrderHooks??=[]).push(e,c),(n.preOrderCheckHooks??=[]).push(e,c)}o&&(n.preOrderHooks??=[]).push(0-e,o),s&&((n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s))}(n,s[n],t)}finally{null!==S&&rn(S),qa(d),c.resolving=!1,hs()}}return o}function zi(e,t,n){return!!(n[t+(e>>Cc)]&1<<e)}function Dl(e,t){return!(e&ct.Self||e&ct.Host&&t)}class kr{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Ma(this._tNode,this._lView,t,Lt(r),n)}}function nl(){return new kr(Qn(),qe())}function bi(e){return K(()=>{const t=e.prototype.constructor,n=t[dn]||El(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const s=o[dn]||El(o);if(s&&s!==n)return s;o=Object.getPrototypeOf(o)}return s=>new s})}function El(e){return je(e)?()=>{const t=El(Oe(e));return t&&t()}:qr(e)}function rl(e){const t=e[dt],n=t.type;return 2===n?t.declTNode:1===n?e[qn]:null}function Po(e){return function yl(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 o=0;for(;o<r;){const s=n[o];if(wn(s))break;if(0===s)o+=2;else if("number"==typeof s)for(o++;o<r&&"string"==typeof n[o];)o++;else{if(s===t)return n[o+1];o+=2}}}return null}(Qn(),e)}const Ia="__parameters__";function W(e,t,n){return K(()=>{const r=function P(e){return function(...n){if(e){const r=e(...n);for(const o in r)this[o]=r[o]}}}(t);function o(...s){if(this instanceof o)return r.apply(this,s),this;const c=new o(...s);return d.annotation=c,d;function d(v,S,N){const Q=v.hasOwnProperty(Ia)?v[Ia]:Object.defineProperty(v,Ia,{value:[]})[Ia];for(;Q.length<=N;)Q.push(null);return(Q[N]=Q[N]||[]).push(c),v}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}function ol(e,t){e.forEach(n=>Array.isArray(n)?ol(n,t):t(n))}function du(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function jl(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Cl(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}function ys(e,t,n){let r=bl(e,t);return r>=0?e[1|r]=n:(r=~r,function Sc(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(1===o)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function fu(e,t){const n=bl(e,t);if(n>=0)return e[1|n]}function bl(e,t){return function hu(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){const s=r+(o-r>>1),c=e[s<<n];if(t===c)return s<<n;c>t?o=s:r=s+1}return~(o<<n)}(e,t,1)}const Hl=Qt(W("Optional"),8),$l=Qt(W("SkipSelf"),4);function wi(e){return 128==(128&e.flags)}var Oa=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Oa||{});const Oc=/^>|^->|<!--|-->|--!>|<!-$/g,Iv=/(<|>)/g,Sv="\u200b$1\u200b";const Od=new Map;let Av=0;const Rd="__ngContext__";function as(e,t){Pr(t)?(e[Rd]=t[Is],function Pv(e){Od.set(e[Is],e)}(t)):e[Rd]=t}let Nd;function xd(e,t){return Nd(e,t)}function Rc(e){const t=e[Pn];return tr(t)?t[Pn]:t}function Xh(e){return tp(e[Kr])}function ep(e){return tp(e[Cr])}function tp(e){for(;null!==e&&!tr(e);)e=e[Cr];return e}function Gl(e,t,n,r,o){if(null!=r){let s,c=!1;tr(r)?s=r:Pr(r)&&(c=!0,r=r[On]);const d=In(r);0===e&&null!==n?null==o?sp(t,n,d):wl(t,n,d,o||null,!0):1===e&&null!==n?wl(t,n,d,o||null,!0):2===e?function Eu(e,t,n){const r=vu(e,t);r&&function qv(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,d,c):3===e&&t.destroyNode(d),null!=s&&function Xv(e,t,n,r,o){const s=n[Rn];s!==In(n)&&Gl(t,e,r,s,o);for(let d=br;d<n.length;d++){const v=n[d];xc(v[dt],v,e,t,r,s)}}(t,e,s,n,o)}}function kd(e,t){return e.createComment(function Gh(e){return e.replace(Oc,t=>t.replace(Iv,Sv))}(t))}function _u(e,t,n){return e.createElement(t,n)}function rp(e,t){const n=e[Xr],r=n.indexOf(t);Ua(t),n.splice(r,1)}function yu(e,t){if(e.length<=br)return;const n=br+t,r=e[n];if(r){const o=r[lo];null!==o&&o!==e&&rp(o,r),t>0&&(e[n-1][Cr]=r[Cr]);const s=jl(e,br+t);!function Hv(e,t){xc(e,t,t[Rt],2,null,null),t[On]=null,t[qn]=null}(r[dt],r);const c=s[Hr];null!==c&&c.detachView(s[dt]),r[Pn]=null,r[Cr]=null,r[Pt]&=-129}return r}function Fd(e,t){if(!(256&t[Pt])){const n=t[Rt];t[Qo]&&Ni(t[Qo]),t[uo]&&Ni(t[uo]),n.destroyNode&&xc(e,t,n,3,null,null),function Gv(e){let t=e[Kr];if(!t)return Ld(e[dt],e);for(;t;){let n=null;if(Pr(t))n=t[Kr];else{const r=t[br];r&&(n=r)}if(!n){for(;t&&!t[Cr]&&t!==e;)Pr(t)&&Ld(t[dt],t),t=t[Pn];null===t&&(t=e),Pr(t)&&Ld(t[dt],t),n=t&&t[Cr]}t=n}}(t)}}function Ld(e,t){if(!(256&t[Pt])){t[Pt]&=-129,t[Pt]|=256,function Yv(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const o=t[n[r]];if(!(o instanceof $i)){const s=n[r+1];if(Array.isArray(s))for(let c=0;c<s.length;c+=2){const d=o[s[c]],v=s[c+1];wr(4,d,v);try{v.call(d)}finally{wr(5,d,v)}}else{wr(4,o,s);try{s.call(o)}finally{wr(5,o,s)}}}}}(e,t),function Kv(e,t){const n=e.cleanup,r=t[mo];if(null!==n)for(let s=0;s<n.length-1;s+=2)if("string"==typeof n[s]){const c=n[s+3];c>=0?r[c]():r[-c].unsubscribe(),s+=2}else n[s].call(r[n[s+1]]);null!==r&&(t[mo]=null);const o=t[qo];if(null!==o){t[qo]=null;for(let s=0;s<o.length;s++)(0,o[s])()}}(e,t),1===t[dt].type&&t[Rt].destroy();const n=t[lo];if(null!==n&&tr(t[Pn])){n!==t[Pn]&&rp(n,t);const r=t[Hr];null!==r&&r.detachView(e)}!function Rv(e){Od.delete(e[Is])}(t)}}function Bd(e,t,n){return function op(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[On];{const{componentOffset:o}=r;if(o>-1){const{encapsulation:s}=e.data[r.directiveStart+o];if(s===ge.None||s===ge.Emulated)return null}return Bn(r,n)}}(e,t.parent,n)}function wl(e,t,n,r,o){e.insertBefore(t,n,r,o)}function sp(e,t,n){e.appendChild(t,n)}function ip(e,t,n,r,o){null!==r?wl(e,t,n,r,o):sp(e,t,n)}function vu(e,t){return e.parentNode(t)}function ap(e,t,n){return cp(e,t,n)}let Vd,Cu,$d,bu,cp=function lp(e,t,n){return 40&e.type?Bn(e,n):null};function Du(e,t,n,r){const o=Bd(e,r,t),s=t[Rt],d=ap(r.parent||t[qn],r,t);if(null!=o)if(Array.isArray(n))for(let v=0;v<n.length;v++)ip(s,o,n[v],d,!1);else ip(s,o,n,d,!1);void 0!==Vd&&Vd(s,r,t,n,o)}function Nc(e,t){if(null!==t){const n=t.type;if(3&n)return Bn(t,e);if(4&n)return jd(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return Nc(e,r);{const o=e[t.index];return tr(o)?jd(-1,o):In(o)}}if(32&n)return xd(t,e)()||In(e[t.index]);{const r=dp(e,t);return null!==r?Array.isArray(r)?r[0]:Nc(Rc(e[Zn]),r):Nc(e,t.next)}}return null}function dp(e,t){return null!==t?e[Zn][qn].projection[t.projection]:null}function jd(e,t){const n=br+e+1;if(n<t.length){const r=t[n],o=r[dt].firstChild;if(null!==o)return Nc(r,o)}return t[Rn]}function Ud(e,t,n,r,o,s,c){for(;null!=n;){const d=r[n.index],v=n.type;if(c&&0===t&&(d&&as(In(d),r),n.flags|=2),32!=(32&n.flags))if(8&v)Ud(e,t,n.child,r,o,s,!1),Gl(t,e,o,d,s);else if(32&v){const S=xd(n,r);let N;for(;N=S();)Gl(t,e,o,N,s);Gl(t,e,o,d,s)}else 16&v?hp(e,t,r,n,o,s):Gl(t,e,o,d,s);n=c?n.projectionNext:n.next}}function xc(e,t,n,r,o,s){Ud(n,r,e.firstChild,t,o,s,!1)}function hp(e,t,n,r,o,s){const c=n[Zn],v=c[qn].projection[r.projection];if(Array.isArray(v))for(let S=0;S<v.length;S++)Gl(t,e,o,v[S],s);else{let S=v;const N=c[Pn];wi(r)&&(S.flags|=128),Ud(e,t,S,N,o,s,!0)}}function pp(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function gp(e,t,n){const{mergedAttrs:r,classes:o,styles:s}=n;null!==r&&tn(e,t,r),null!==o&&pp(e,t,o),null!==s&&function tD(e,t,n){e.setAttribute(t,"style",n)}(e,t,s)}function Wl(e){return function Hd(){if(void 0===Cu&&(Cu=null,qt.trustedTypes))try{Cu=qt.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Cu}()?.createHTML(e)||e}function sD(e){$d=e}function Zl(){if(void 0!==$d)return $d;if(typeof document<"u")return document;throw new Z(210,!1)}function zd(){if(void 0===bu&&(bu=null,qt.trustedTypes))try{bu=qt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return bu}function mp(e){return zd()?.createHTML(e)||e}function yp(e){return zd()?.createScriptURL(e)||e}class Ml{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Ve})`}}class iD extends Ml{getTypeName(){return"HTML"}}class aD extends Ml{getTypeName(){return"Style"}}class lD extends Ml{getTypeName(){return"Script"}}class cD extends Ml{getTypeName(){return"URL"}}class uD extends Ml{getTypeName(){return"ResourceURL"}}function Pa(e){return e instanceof Ml?e.changingThisBreaksApplicationSecurity:e}function Kl(e,t){const n=function dD(e){return e instanceof Ml&&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 ${Ve})`)}return n===t}function fD(e){return new iD(e)}function hD(e){return new aD(e)}function pD(e){return new lD(e)}function gD(e){return new cD(e)}function mD(e){return new uD(e)}class _D{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(Wl(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class yD{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=Wl(t),n}}const DD=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function wu(e){return(e=String(e)).match(DD)?e:"unsafe:"+e}function Ra(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function kc(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const Dp=Ra("area,br,col,hr,img,wbr"),Ep=Ra("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Cp=Ra("rp,rt"),Gd=kc(Dp,kc(Ep,Ra("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")),kc(Cp,Ra("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")),kc(Cp,Ep)),Wd=Ra("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),bp=kc(Wd,Ra("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"),Ra("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")),ED=Ra("script,style,template");class CD{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 o=this.checkClobberedElement(n,n.nextSibling);if(o){n=o;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!Gd.hasOwnProperty(n))return this.sanitizedSomething=!0,!ED.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let o=0;o<r.length;o++){const s=r.item(o),c=s.name,d=c.toLowerCase();if(!bp.hasOwnProperty(d)){this.sanitizedSomething=!0;continue}let v=s.value;Wd[d]&&(v=wu(v)),this.buf.push(" ",c,'="',wp(v),'"')}return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();Gd.hasOwnProperty(n)&&!Dp.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(wp(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 bD=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,wD=/([^\#-~ |!])/g;function wp(e){return e.replace(/&/g,"&amp;").replace(bD,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(wD,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let Mu;function Mp(e,t){let n=null;try{Mu=Mu||function vp(e){const t=new yD(e);return function vD(){try{return!!(new window.DOMParser).parseFromString(Wl(""),"text/html")}catch{return!1}}()?new _D(t):t}(e);let r=t?String(t):"";n=Mu.getInertBodyElement(r);let o=5,s=r;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,r=s,s=n.innerHTML,n=Mu.getInertBodyElement(r)}while(r!==s);return Wl((new CD).sanitizeChildren(Zd(n)||n))}finally{if(n){const r=Zd(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function Zd(e){return"content"in e&&function MD(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Tl=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}(Tl||{});function Tp(e){const t=Fc();return t?mp(t.sanitize(Tl.HTML,e)||""):Kl(e,"HTML")?mp(Pa(e)):Mp(Zl(),me(e))}function Kd(e){const t=Fc();return t?t.sanitize(Tl.URL,e)||"":Kl(e,"URL")?Pa(e):wu(me(e))}function Ip(e){const t=Fc();if(t)return yp(t.sanitize(Tl.RESOURCE_URL,e)||"");if(Kl(e,"ResourceURL"))return yp(Pa(e));throw new Z(904,!1)}function Sp(e,t,n){return function OD(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?Ip:Kd}(t,n)(e)}function Fc(){const e=qe();return e&&e[ao].sanitizer}class Kn{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=Dt({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const Lc=new Kn("ENVIRONMENT_INITIALIZER"),Ap=new Kn("INJECTOR",-1),Op=new Kn("INJECTOR_DEF_TYPES");class Yd{get(t,n=lr){if(n===lr){const r=new Error(`NullInjectorError: No provider for ${fe(t)}!`);throw r.name="NullInjectorError",r}return n}}function qd(e){return{\u0275providers:e}}function PD(...e){return{\u0275providers:Pp(0,e),\u0275fromNgModule:!0}}function Pp(e,...t){const n=[],r=new Set;let o;const s=c=>{n.push(c)};return ol(t,c=>{const d=c;Tu(d,s,[],r)&&(o||=[],o.push(d))}),void 0!==o&&Rp(o,s),n}function Rp(e,t){for(let n=0;n<e.length;n++){const{ngModule:r,providers:o}=e[n];Qd(o,s=>{t(s,r)})}}function Tu(e,t,n,r){if(!(e=Oe(e)))return!1;let o=null,s=yr(e);const c=!s&&nn(e);if(s||c){if(c&&!c.standalone)return!1;o=e}else{const v=e.ngModule;if(s=yr(v),!s)return!1;o=v}const d=r.has(o);if(c){if(d)return!1;if(r.add(o),c.dependencies){const v="function"==typeof c.dependencies?c.dependencies():c.dependencies;for(const S of v)Tu(S,t,n,r)}}else{if(!s)return!1;{if(null!=s.imports&&!d){let S;r.add(o);try{ol(s.imports,N=>{Tu(N,t,n,r)&&(S||=[],S.push(N))})}finally{}void 0!==S&&Rp(S,t)}if(!d){const S=qr(o)||(()=>new o);t({provide:o,useFactory:S,deps:ke},o),t({provide:Op,useValue:o,multi:!0},o),t({provide:Lc,useValue:()=>Qe(o),multi:!0},o)}const v=s.providers;if(null!=v&&!d){const S=e;Qd(v,N=>{t(N,S)})}}}return o!==e&&void 0!==e.providers}function Qd(e,t){for(let n of e)Le(n)&&(n=n.\u0275providers),Array.isArray(n)?Qd(n,t):t(n)}const RD=U({provide:String,useValue:U});function Jd(e){return null!==e&&"object"==typeof e&&RD in e}function Il(e){return"function"==typeof e}const Xd=new Kn("Set Injector scope."),Iu={},xD={};let ef;function Su(){return void 0===ef&&(ef=new Yd),ef}class aa{}class Au extends aa{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,nf(t,c=>this.processProvider(c)),this.records.set(Ap,Yl(void 0,this)),o.has("environment")&&this.records.set(aa,Yl(void 0,this));const s=this.records.get(Xd);null!=s&&"string"==typeof s.value&&this.scopes.add(s.value),this.injectorDefTypes=new Set(this.get(Op.multi,ke,ct.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=se(this),r=rn(void 0);try{return t()}finally{se(n),rn(r)}}get(t,n=lr,r=ct.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Sr))return t[Sr](this);r=Lt(r);const s=se(this),c=rn(void 0);try{if(!(r&ct.SkipSelf)){let v=this.records.get(t);if(void 0===v){const S=function VD(e){return"function"==typeof e||"object"==typeof e&&e instanceof Kn}(t)&&sn(t);v=S&&this.injectableDefInScope(S)?Yl(tf(t),Iu):null,this.records.set(t,v)}if(null!=v)return this.hydrate(t,v)}return(r&ct.Self?Su():this.parent).get(t,n=r&ct.Optional&&n===lr?null:n)}catch(d){if("NullInjectorError"===d.name){if((d[Dr]=d[Dr]||[]).unshift(fe(t)),s)throw d;return function re(e,t,n,r){const o=e[Dr];throw t[x]&&o.unshift(t[x]),e.message=function Ie(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=fe(t);if(Array.isArray(t))o=t.map(fe).join(" -> ");else if("object"==typeof t){let s=[];for(let c in t)if(t.hasOwnProperty(c)){let d=t[c];s.push(c+":"+("string"==typeof d?JSON.stringify(d):fe(d)))}o=`{${s.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(ie,"\n ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[Dr]=null,e}(d,t,"R3InjectorError",this.source)}throw d}finally{rn(c),se(s)}}resolveInjectorInitializers(){const t=se(this),n=rn(void 0);try{const o=this.get(Lc.multi,ke,ct.Self);for(const s of o)s()}finally{se(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 Z(205,!1)}processProvider(t){let n=Il(t=Oe(t))?t:Oe(t&&t.provide);const r=function FD(e){return Jd(e)?Yl(void 0,e.useValue):Yl(kp(e),Iu)}(t);if(Il(t)||!0!==t.multi)this.records.get(n);else{let o=this.records.get(n);o||(o=Yl(void 0,Iu,!0),o.factory=()=>bt(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===Iu&&(n.value=xD,n.value=n.factory()),"object"==typeof n.value&&n.value&&function BD(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=Oe(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 tf(e){const t=sn(e),n=null!==t?t.factory:qr(e);if(null!==n)return n;if(e instanceof Kn)throw new Z(204,!1);if(e instanceof Function)return function kD(e){const t=e.length;if(t>0)throw Cl(t,"?"),new Z(204,!1);const n=function Sn(e){return e&&(e[Jn]||e[sr])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new Z(204,!1)}function kp(e,t,n){let r;if(Il(e)){const o=Oe(e);return qr(o)||tf(o)}if(Jd(e))r=()=>Oe(e.useValue);else if(function xp(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...bt(e.deps||[]));else if(function Np(e){return!(!e||!e.useExisting)}(e))r=()=>Qe(Oe(e.useExisting));else{const o=Oe(e&&(e.useClass||e.provide));if(!function LD(e){return!!e.deps}(e))return qr(o)||tf(o);r=()=>new o(...bt(e.deps))}return r}function Yl(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function nf(e,t){for(const n of e)Array.isArray(n)?nf(n,t):n&&Le(n)?nf(n.\u0275providers,t):t(n)}const Fp=new Kn("AppId",{providedIn:"root",factory:()=>jD}),jD="ng",Lp=new Kn("Platform Initializer"),rf=new Kn("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),UD=new Kn("AnimationModuleType"),HD=new Kn("CSP nonce",{providedIn:"root",factory:()=>Zl().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let Bp=(e,t,n)=>null;function hf(e,t,n=!1){return Bp(e,t,n)}class JD{}class Up{}class eE{resolveComponentFactory(t){throw function XD(e){const t=Error(`No component factory found for ${fe(e)}.`);return t.ngComponent=e,t}(t)}}let jc=(()=>{class t{}return t.NULL=new eE,t})();function tE(){return Jl(Qn(),qe())}function Jl(e,t){return new Uc(Bn(e,t))}let Uc=(()=>{class t{constructor(r){this.nativeElement=r}}return t.__NG_ELEMENT_ID__=tE,t})();function nE(e){return e instanceof Uc?e.nativeElement:e}class $p{}let rE=(()=>{class t{constructor(){this.destroyNode=null}}return t.__NG_ELEMENT_ID__=()=>function oE(){const e=qe(),n=fo(Qn().index,e);return(Pr(n)?n:e)[Rt]}(),t})(),sE=(()=>{var e;class t{}return(e=t).\u0275prov=Dt({token:e,providedIn:"root",factory:()=>null}),t})();class zp{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Gp=new zp("16.2.5"),mf={};function Yp(e,t=null,n=null,r){const o=qp(e,t,n,r);return o.resolveInjectorInitializers(),o}function qp(e,t=null,n=null,r,o=new Set){const s=[n||ke,PD(e)];return r=r||("object"==typeof e?void 0:fe(e)),new Au(s,t||Su(),r||null,o)}let qi=(()=>{var e;class t{static create(r,o){if(Array.isArray(r))return Yp({name:""},o,r,"");{const s=r.name??"";return Yp({name:s},r.parent,r.providers,s)}}}return(e=t).THROW_IF_NOT_FOUND=lr,e.NULL=new Yd,e.\u0275prov=Dt({token:e,providedIn:"any",factory:()=>Qe(Ap)}),e.__NG_ELEMENT_ID__=-1,t})();function yf(e){return e.ngOriginalError}class sl{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&&yf(t);for(;n&&yf(n);)n=yf(n);return n||null}}function Df(e){return t=>{setTimeout(e,void 0,t)}}const la=class fE extends a.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let o=t,s=n||(()=>null),c=r;if(t&&"object"==typeof t){const v=t;o=v.next?.bind(v),s=v.error?.bind(v),c=v.complete?.bind(v)}this.__isAsync&&(s=Df(s),o&&(o=Df(o)),c&&(c=Df(c)));const d=super.subscribe({next:o,error:s,complete:c});return t instanceof u.w0&&t.add(d),d}};function Jp(...e){}class Ro{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new la(!1),this.onMicrotaskEmpty=new la(!1),this.onStable=new la(!1),this.onError=new la(!1),typeof Zone>"u")throw new Z(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function hE(){const e="function"==typeof qt.requestAnimationFrame;let t=qt[e?"requestAnimationFrame":"setTimeout"],n=qt[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);const o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function mE(e){const t=()=>{!function gE(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(qt,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Cf(e),e.isCheckStableRunning=!0,Ef(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Cf(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,s,c,d)=>{if(function yE(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(d))return n.invokeTask(o,s,c,d);try{return Xp(e),n.invokeTask(o,s,c,d)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&t(),eg(e)}},onInvoke:(n,r,o,s,c,d,v)=>{try{return Xp(e),n.invoke(o,s,c,d,v)}finally{e.shouldCoalesceRunChangeDetection&&t(),eg(e)}},onHasTask:(n,r,o,s)=>{n.hasTask(o,s),r===o&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,Cf(e),Ef(e)):"macroTask"==s.change&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(n,r,o,s)=>(n.handleError(o,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Ro.isInAngularZone())throw new Z(909,!1)}static assertNotInAngularZone(){if(Ro.isInAngularZone())throw new Z(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){const s=this._inner,c=s.scheduleEventTask("NgZoneEvent: "+o,t,pE,Jp,Jp);try{return s.runTask(c,n,r)}finally{s.cancelTask(c)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const pE={};function Ef(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 Cf(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Xp(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function eg(e){e._nesting--,Ef(e)}class _E{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new la,this.onMicrotaskEmpty=new la,this.onStable=new la,this.onError=new la}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,o){return t.apply(n,r)}}const tg=new Kn("",{providedIn:"root",factory:ng});function ng(){const e=lt(Ro);let t=!0;const n=new G.y(o=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{o.next(t),o.complete()})}),r=new G.y(o=>{let s;e.runOutsideAngular(()=>{s=e.onStable.subscribe(()=>{Ro.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,o.next(!0))})})});const c=e.onUnstable.subscribe(()=>{Ro.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{o.next(!1)}))});return()=>{s.unsubscribe(),c.unsubscribe()}});return(0,ne.T)(n,r.pipe((0,ee.B)()))}function rg(e){return e.ownerDocument.defaultView}function Na(e){return e instanceof Function?e():e}let bf=(()=>{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=Dt({token:e,providedIn:"root",factory:()=>new e}),t})();function Hc(e){for(;e;){e[Pt]|=64;const t=Rc(e);if(As(e)&&!t)return e;e=t}return null}const lg=new Kn("",{providedIn:"root",factory:()=>!1});let Fu=null;function fg(e,t){return e[t]??gg()}function hg(e,t){const n=gg();n.producerNode?.length&&(e[t]=Fu,n.lView=e,Fu=pg())}const IE={...es,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Hc(e.lView)},lView:null};function pg(){return Object.create(IE)}function gg(){return Fu??=pg(),Fu}const ln={};function mg(e){_g(mn(),qe(),Qr()+e,!1)}function _g(e,t,n,r){if(!r)if(3==(3&t[Pt])){const s=e.preOrderCheckHooks;null!==s&&hl(t,s,n)}else{const s=e.preOrderHooks;null!==s&&Za(t,s,0,n)}ni(n)}function tc(e,t=ct.Default){const n=qe();return null===n?Qe(e,t):Ma(Qn(),n,Oe(e),t)}function yg(){throw new Error("invalid")}function Lu(e,t,n,r,o,s,c,d,v,S,N){const Q=t.blueprint.slice();return Q[On]=o,Q[Pt]=140|r,(null!==S||e&&2048&e[Pt])&&(Q[Pt]|=2048),ja(Q),Q[Pn]=Q[Bo]=e,Q[Wn]=n,Q[ao]=c||e&&e[ao],Q[Rt]=d||e&&e[Rt],Q[_o]=v||e&&e[_o]||null,Q[qn]=s,Q[Is]=function Ov(){return Av++}(),Q[co]=N,Q[Ss]=S,Q[Zn]=2==t.type?e[Zn]:Q,Q}function nc(e,t,n,r,o){let s=e.data[t];if(null===s)s=function wf(e,t,n,r,o){const s=Ho(),c=Ea(),v=e.data[t]=function kE(e,t,n,r,o,s){let c=t?t.injectorIndex:-1,d=0;return Js()&&(d|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:c,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:d,providerIndexes:0,value:o,attrs:s,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,c?s:s&&s.parent,n,t,r,o);return null===e.firstChild&&(e.firstChild=v),null!==s&&(c?null==s.child&&null!==v.parent&&(s.child=v):null===s.next&&(s.next=v,v.prev=s)),v}(e,t,n,r,o),function _(){return Nt.lFrame.inI18n}()&&(s.flags|=32);else if(64&s.type){s.type=n,s.value=r,s.attrs=o;const c=function $o(){const e=Nt.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();s.injectorIndex=null===c?-1:c.injectorIndex}return ho(s,!0),s}function $c(e,t,n,r){if(0===n)return-1;const o=t.length;for(let s=0;s<n;s++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function vg(e,t,n,r,o){const s=fg(t,Qo),c=Qr(),d=2&r;try{ni(-1),d&&t.length>Zt&&_g(e,t,Zt,!1),wr(d?2:0,o);const S=d?s:null,N=hi(S);try{null!==S&&(S.dirty=!1),n(r,o)}finally{hr(S,N)}}finally{d&&null===t[Qo]&&hg(t,Qo),ni(c),wr(d?3:1,o)}}function Mf(e,t,n){if(Ws(t)){const r=jr(null);try{const s=t.directiveEnd;for(let c=t.directiveStart;c<s;c++){const d=e.data[c];d.contentQueries&&d.contentQueries(1,n[c],c)}}finally{jr(r)}}}function Tf(e,t,n){Mr()&&(function HE(e,t,n,r){const o=n.directiveStart,s=n.directiveEnd;us(n)&&function YE(e,t,n){const r=Bn(t,e),o=Dg(n);let c=16;n.signals?c=4096:n.onPush&&(c=64);const d=Bu(e,Lu(e,o,null,c,r,t,null,e[ao].rendererFactory.createRenderer(r,n),null,null,null));e[t.index]=d}(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||Qa(n,t),as(r,t);const c=n.initialInputs;for(let d=o;d<s;d++){const v=e.data[d],S=ms(t,e,d,n);as(S,t),null!==c&&qE(0,d-o,S,v,0,c),Nr(v)&&(fo(n.index,t)[Wn]=ms(t,e,d,n))}}(e,t,n,Bn(n,t)),64==(64&n.flags)&&Mg(e,t,n))}function If(e,t,n=Bn){const r=t.localNames;if(null!==r){let o=t.index+1;for(let s=0;s<r.length;s+=2){const c=r[s+1],d=-1===c?n(t,e):e[c];e[o++]=d}}}function Dg(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Sf(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Sf(e,t,n,r,o,s,c,d,v,S,N){const Q=Zt+r,he=Q+o,Me=function AE(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:ln);return n}(Q,he),Ke="function"==typeof S?S():S;return Me[dt]={type:e,blueprint:Me,template:n,queries:null,viewQuery:d,declTNode:t,data:Me.slice().fill(null,Q),bindingStartIndex:Q,expandoStartIndex:he,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 s?s():s,pipeRegistry:"function"==typeof c?c():c,firstChild:null,schemas:v,consts:Ke,incompleteFirstPass:!1,ssrId:N}}let Eg=e=>null;function Cg(e,t,n,r){for(let o in e)if(e.hasOwnProperty(o)){n=null===n?{}:n;const s=e[o];null===r?bg(n,t,o,s):r.hasOwnProperty(o)&&bg(n,t,r[o],s)}return n}function bg(e,t,n,r){e.hasOwnProperty(n)?e[n].push(t,r):e[n]=[t,r]}function ii(e,t,n,r,o,s,c,d){const v=Bn(t,n);let N,S=t.inputs;!d&&null!=S&&(N=S[r])?(Nf(e,n,N,r,o),us(t)&&function BE(e,t){const n=fo(t,e);16&n[Pt]||(n[Pt]|=64)}(n,t.index)):3&t.type&&(r=function LE(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),o=null!=c?c(o,t.value||"",r):o,s.setProperty(v,r,o))}function Af(e,t,n,r){if(Mr()){const o=null===r?null:{"":-1},s=function zE(e,t){const n=e.directiveRegistry;let r=null,o=null;if(n)for(let s=0;s<n.length;s++){const c=n[s];if(Us(t,c.selectors,!1))if(r||(r=[]),Nr(c))if(null!==c.findHostDirectiveDefs){const d=[];o=o||new Map,c.findHostDirectiveDefs(c,d,o),r.unshift(...d,c),Of(e,t,d.length)}else r.unshift(c),Of(e,t,0);else o=o||new Map,c.findHostDirectiveDefs?.(c,r,o),r.push(c)}return null===r?null:[r,o]}(e,n);let c,d;null===s?c=d=null:[c,d]=s,null!==c&&wg(e,t,n,c,o,d),o&&function GE(e,t,n){if(t){const r=e.localNames=[];for(let o=0;o<t.length;o+=2){const s=n[t[o+1]];if(null==s)throw new Z(-301,!1);r.push(t[o],s)}}}(n,r,o)}n.mergedAttrs=io(n.mergedAttrs,n.attrs)}function wg(e,t,n,r,o,s){for(let S=0;S<r.length;S++)wa(Qa(n,t),e,r[S].type);!function ZE(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 N=r[S];N.providersResolver&&N.providersResolver(N)}let c=!1,d=!1,v=$c(e,t,r.length,null);for(let S=0;S<r.length;S++){const N=r[S];n.mergedAttrs=io(n.mergedAttrs,N.hostAttrs),KE(e,n,t,v,N),WE(v,N,o),null!==N.contentQueries&&(n.flags|=4),(null!==N.hostBindings||null!==N.hostAttrs||0!==N.hostVars)&&(n.flags|=64);const Q=N.type.prototype;!c&&(Q.ngOnChanges||Q.ngOnInit||Q.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),c=!0),!d&&(Q.ngOnChanges||Q.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),d=!0),v++}!function FE(e,t,n){const o=t.directiveEnd,s=e.data,c=t.attrs,d=[];let v=null,S=null;for(let N=t.directiveStart;N<o;N++){const Q=s[N],he=n?n.get(Q):null,Ke=he?he.outputs:null;v=Cg(Q.inputs,N,v,he?he.inputs:null),S=Cg(Q.outputs,N,S,Ke);const ot=null===v||null===c||fr(t)?null:QE(v,N,c);d.push(ot)}null!==v&&(v.hasOwnProperty("class")&&(t.flags|=8),v.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=d,t.inputs=v,t.outputs=S}(e,n,s)}function Mg(e,t,n){const r=n.directiveStart,o=n.directiveEnd,s=n.index,c=function M(){return Nt.lFrame.currentDirectiveIndex}();try{ni(s);for(let d=r;d<o;d++){const v=e.data[d],S=t[d];F(d),(null!==v.hostBindings||0!==v.hostVars||null!==v.hostAttrs)&&$E(v,S)}}finally{ni(-1),F(c)}}function $E(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Of(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function WE(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Nr(t)&&(n[""]=e)}}function KE(e,t,n,r,o){e.data[r]=o;const s=o.factory||(o.factory=qr(o.type)),c=new $i(s,Nr(o),tc);e.blueprint[r]=c,n[r]=c,function jE(e,t,n,r,o){const s=o.hostBindings;if(s){let c=e.hostBindingOpCodes;null===c&&(c=e.hostBindingOpCodes=[]);const d=~t.index;(function UE(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(c)!=d&&c.push(d),c.push(n,r,s)}}(e,t,r,$c(e,n,o.hostVars,ln),o)}function ca(e,t,n,r,o,s){const c=Bn(e,t);!function Pf(e,t,n,r,o,s,c){if(null==s)e.removeAttribute(t,o,n);else{const d=null==c?me(s):c(s,r||"",o);e.setAttribute(t,o,d,n)}}(t[Rt],c,s,e.value,n,r,o)}function qE(e,t,n,r,o,s){const c=s[t];if(null!==c)for(let d=0;d<c.length;)Tg(r,n,c[d++],c[d++],c[d++])}function Tg(e,t,n,r,o){const s=jr(null);try{const c=e.inputTransforms;null!==c&&c.hasOwnProperty(r)&&(o=c[r].call(t,o)),null!==e.setInput?e.setInput(t,o,n,r):t[r]=o}finally{jr(s)}}function QE(e,t,n){let r=null,o=0;for(;o<n.length;){const s=n[o];if(0!==s)if(5!==s){if("number"==typeof s)break;if(e.hasOwnProperty(s)){null===r&&(r=[]);const c=e[s];for(let d=0;d<c.length;d+=2)if(c[d]===t){r.push(s,c[d+1],n[o+1]);break}}o+=2}else o+=2;else o+=4}return r}function Ig(e,t,n,r){return[e,!0,!1,t,null,0,r,n,null,null,null]}function Sg(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const s=n[r+1];if(-1!==s){const c=e.data[s];nt(n[r]),c.contentQueries(2,t[s],s)}}}function Bu(e,t){return e[Kr]?e[Ts][Cr]=t:e[Kr]=t,e[Ts]=t,t}function Rf(e,t,n){nt(0);const r=jr(null);try{t(e,n)}finally{jr(r)}}function Ag(e){return e[mo]||(e[mo]=[])}function Og(e){return e.cleanup||(e.cleanup=[])}function Pg(e,t,n){return(null===e||Nr(e))&&(n=function qs(e){for(;Array.isArray(e);){if("object"==typeof e[$r])return e;e=e[On]}return null}(n[t.index])),n[Rt]}function Rg(e,t){const n=e[_o],r=n?n.get(sl,null):null;r&&r.handleError(t)}function Nf(e,t,n,r,o){for(let s=0;s<n.length;){const c=n[s++],d=n[s++];Tg(e.data[c],t[c],r,d,o)}}function xa(e,t,n){const r=rs(t,e);!function np(e,t,n){e.setValue(t,n)}(e[Rt],r,n)}function JE(e,t){const n=fo(t,e),r=n[dt];!function XE(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n);const o=n[On];null!==o&&null===n[co]&&(n[co]=hf(o,n[_o])),xf(r,n,n[Wn])}function xf(e,t,n){Ht(t);try{const r=e.viewQuery;null!==r&&Rf(1,r,n);const o=e.template;null!==o&&vg(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Sg(e,t),e.staticViewQueries&&Rf(2,e.viewQuery,n);const s=e.components;null!==s&&function e0(e,t){for(let n=0;n<t.length;n++)JE(e,t[n])}(t,s)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[Pt]&=-5,Ns()}}let Ng=(()=>{var e;class t{constructor(){this.all=new Set,this.queue=new Map}create(r,o,s){const c=typeof Zone>"u"?null:Zone.current,d=function le(e,t,n){const r=Object.create(it);n&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;const o=c=>{r.cleanupFn=c};return r.ref={notify:()=>Ks(r),run:()=>{if(r.dirty=!1,r.hasRun&&!pa(r))return;r.hasRun=!0;const c=hi(r);try{r.cleanupFn(),r.cleanupFn=ze,r.fn(o)}finally{hr(r,c)}},cleanup:()=>r.cleanupFn()},r.ref}(r,N=>{this.all.has(N)&&this.queue.set(N,c)},s);let v;this.all.add(d),d.notify();const S=()=>{d.cleanup(),v?.(),this.all.delete(d),this.queue.delete(d)};return v=o?.onDestroy(S),{destroy:S}}flush(){if(0!==this.queue.size)for(const[r,o]of this.queue)this.queue.delete(r),o?o.run(()=>r.run()):r.run()}get isQueueEmpty(){return 0===this.queue.size}}return(e=t).\u0275prov=Dt({token:e,providedIn:"root",factory:()=>new e}),t})();function Vu(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,s=0;if(null!==t)for(let c=0;c<t.length;c++){const d=t[c];"number"==typeof d?s=d:1==s?o=xe(o,d):2==s&&(r=xe(r,d+": "+t[++c]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function zc(e,t,n,r,o=!1){for(;null!==n;){const s=t[n.index];null!==s&&r.push(In(s)),tr(s)&&xg(s,r);const c=n.type;if(8&c)zc(e,t,n.child,r);else if(32&c){const d=xd(n,t);let v;for(;v=d();)r.push(v)}else if(16&c){const d=dp(t,n);if(Array.isArray(d))r.push(...d);else{const v=Rc(t[Zn]);zc(v[dt],v,d,r,!0)}}n=o?n.projectionNext:n.next}return r}function xg(e,t){for(let n=br;n<e.length;n++){const r=e[n],o=r[dt].firstChild;null!==o&&zc(r[dt],r,o,t)}e[Rn]!==e[On]&&t.push(e[Rn])}function ju(e,t,n,r=!0){const o=t[ao],s=o.rendererFactory,c=o.afterRenderEventManager;s.begin?.(),c?.begin();try{kg(e,t,e.template,n)}catch(v){throw r&&Rg(t,v),v}finally{s.end?.(),o.effectManager?.flush(),c?.end()}}function kg(e,t,n,r){const o=t[Pt];if(256!=(256&o)){t[ao].effectManager?.flush(),Ht(t);try{ja(t),function fl(e){return Nt.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&vg(e,t,n,2,r);const c=3==(3&o);if(c){const S=e.preOrderCheckHooks;null!==S&&hl(t,S,null)}else{const S=e.preOrderHooks;null!==S&&Za(t,S,0,null),pl(t,0)}if(function r0(e){for(let t=Xh(e);null!==t;t=ep(t)){if(!t[Jo])continue;const n=t[Xr];for(let r=0;r<n.length;r++){Ao(n[r])}}}(t),Fg(t,2),null!==e.contentQueries&&Sg(e,t),c){const S=e.contentCheckHooks;null!==S&&hl(t,S)}else{const S=e.contentHooks;null!==S&&Za(t,S,1),pl(t,1)}!function SE(e,t){const n=e.hostBindingOpCodes;if(null===n)return;const r=fg(t,uo);try{for(let o=0;o<n.length;o++){const s=n[o];if(s<0)ni(~s);else{const c=s,d=n[++o],v=n[++o];y(d,c),r.dirty=!1;const S=hi(r);try{v(2,t[c])}finally{hr(r,S)}}}}finally{null===t[uo]&&hg(t,uo),ni(-1)}}(e,t);const d=e.components;null!==d&&Bg(t,d,0);const v=e.viewQuery;if(null!==v&&Rf(2,v,r),c){const S=e.viewCheckHooks;null!==S&&hl(t,S)}else{const S=e.viewHooks;null!==S&&Za(t,S,2),pl(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[Pt]&=-73,Ua(t)}finally{Ns()}}}function Fg(e,t){for(let n=Xh(e);null!==n;n=ep(n))for(let r=br;r<n.length;r++)Lg(n[r],t)}function o0(e,t,n){Lg(fo(t,e),n)}function Lg(e,t){if(!function vi(e){return 128==(128&e[Pt])}(e))return;const n=e[dt],r=e[Pt];if(80&r&&0===t||1024&r||2===t)kg(n,e,n.template,e[Wn]);else if(e[Io]>0){Fg(e,1);const o=n.components;null!==o&&Bg(e,o,1)}}function Bg(e,t,n){for(let r=0;r<t.length;r++)o0(e,t[r],n)}class Gc{get rootNodes(){const t=this._lView,n=t[dt];return zc(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[Wn]}set context(t){this._lView[Wn]=t}get destroyed(){return 256==(256&this._lView[Pt])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[Pn];if(tr(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(yu(t,r),jl(n,r))}this._attachedToViewContainer=!1}Fd(this._lView[dt],this._lView)}onDestroy(t){!function Vi(e,t){if(256==(256&e[Pt]))throw new Z(911,!1);null===e[qo]&&(e[qo]=[]),e[qo].push(t)}(this._lView,t)}markForCheck(){Hc(this._cdRefInjectingView||this._lView)}detach(){this._lView[Pt]&=-129}reattach(){this._lView[Pt]|=128}detectChanges(){ju(this._lView[dt],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Z(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function zv(e,t){xc(e,t,t[Rt],2,null,null)}(this._lView[dt],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Z(902,!1);this._appRef=t}}class s0 extends Gc{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;ju(t[dt],t,t[Wn],!1)}checkNoChanges(){}get context(){return null}}class Vg extends jc{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=nn(t);return new Wc(n,this.ngModule)}}function jg(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class l0{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=Lt(r);const o=this.injector.get(t,mf,r);return o!==mf||n===mf?o:this.parentInjector.get(t,n,r)}}class Wc extends Up{get inputs(){const t=this.componentDef,n=t.inputTransforms,r=jg(t.inputs);if(null!==n)for(const o of r)n.hasOwnProperty(o.propName)&&(o.transform=n[o.propName]);return r}get outputs(){return jg(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function Hs(e){return e.map(Cs).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,o){let s=(o=o||this.ngModule)instanceof aa?o:o?.injector;s&&null!==this.componentDef.getStandaloneInjector&&(s=this.componentDef.getStandaloneInjector(s)||s);const c=s?new l0(t,s):t,d=c.get($p,null);if(null===d)throw new Z(407,!1);const Q={rendererFactory:d,sanitizer:c.get(sE,null),effectManager:c.get(Ng,null),afterRenderEventManager:c.get(bf,null)},he=d.createRenderer(null,this.componentDef),Me=this.componentDef.selectors[0][0]||"div",Ke=r?function OE(e,t,n,r){const s=r.get(lg,!1)||n===ge.ShadowDom,c=e.selectRootElement(t,s);return function PE(e){Eg(e)}(c),c}(he,r,this.componentDef.encapsulation,c):_u(he,Me,function a0(e){const t=e.toLowerCase();return"svg"===t?Gr:"math"===t?"math":null}(Me)),At=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let Je=null;null!==Ke&&(Je=hf(Ke,c,!0));const Xt=Sf(0,null,null,1,0,null,null,null,null,null,null),yn=Lu(null,Xt,null,At,null,null,Q,he,c,null,Je);let rr,js;Ht(yn);try{const ka=this.componentDef;let vc,$h=null;ka.findHostDirectiveDefs?(vc=[],$h=new Map,ka.findHostDirectiveDefs(ka,vc,$h),vc.push(ka)):vc=[ka];const lT=function u0(e,t){const n=e[dt],r=Zt;return e[r]=t,nc(n,r,2,"#host",null)}(yn,Ke),cT=function d0(e,t,n,r,o,s,c){const d=o[dt];!function f0(e,t,n,r){for(const o of e)t.mergedAttrs=io(t.mergedAttrs,o.hostAttrs);null!==t.mergedAttrs&&(Vu(t,t.mergedAttrs,!0),null!==n&&gp(r,n,t))}(r,e,t,c);let v=null;null!==t&&(v=hf(t,o[_o]));const S=s.rendererFactory.createRenderer(t,n);let N=16;n.signals?N=4096:n.onPush&&(N=64);const Q=Lu(o,Dg(n),null,N,o[e.index],e,s,S,null,null,v);return d.firstCreatePass&&Of(d,e,r.length-1),Bu(o,Q),o[e.index]=Q}(lT,Ke,ka,vc,yn,Q,he);js=_a(Xt,Zt),Ke&&function p0(e,t,n,r){if(r)tn(e,n,["ng-version",Gp.full]);else{const{attrs:o,classes:s}=function Br(e){const t=[],n=[];let r=1,o=2;for(;r<e.length;){let s=e[r];if("string"==typeof s)2===o?""!==s&&t.push(s,e[++r]):8===o&&n.push(s);else{if(!Er(o))break;o=s}r++}return{attrs:t,classes:n}}(t.selectors[0]);o&&tn(e,n,o),s&&s.length>0&&pp(e,n,s.join(" "))}}(he,ka,Ke,r),void 0!==n&&function g0(e,t,n){const r=e.projection=[];for(let o=0;o<t.length;o++){const s=n[o];r.push(null!=s?Array.from(s):null)}}(js,this.ngContentSelectors,n),rr=function h0(e,t,n,r,o,s){const c=Qn(),d=o[dt],v=Bn(c,o);wg(d,o,c,n,null,r);for(let N=0;N<n.length;N++)as(ms(o,d,c.directiveStart+N,c),o);Mg(d,o,c),v&&as(v,o);const S=ms(o,d,c.directiveStart+c.componentOffset,c);if(e[Wn]=o[Wn]=S,null!==s)for(const N of s)N(S,t);return Mf(d,c,e),S}(cT,ka,vc,$h,yn,[m0]),xf(Xt,yn,null)}finally{Ns()}return new c0(this.componentType,rr,Jl(js,yn),yn,js)}}class c0 extends JD{constructor(t,n,r,o,s){super(),this.location=r,this._rootLView=o,this._tNode=s,this.previousInputValues=null,this.instance=n,this.hostView=this.changeDetectorRef=new s0(o),this.componentType=t}setInput(t,n){const r=this._tNode.inputs;let o;if(null!==r&&(o=r[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;const s=this._rootLView;Nf(s[dt],s,o,t,n),this.previousInputValues.set(t,n),Hc(fo(this._tNode.index,s))}}get injector(){return new kr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function m0(){const e=Qn();sa(qe()[dt],e)}function kf(e){let t=function Ug(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let o;if(Nr(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Z(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);const c=e;c.inputs=Uu(e.inputs),c.inputTransforms=Uu(e.inputTransforms),c.declaredInputs=Uu(e.declaredInputs),c.outputs=Uu(e.outputs);const d=o.hostBindings;d&&D0(e,d);const v=o.viewQuery,S=o.contentQueries;if(v&&y0(e,v),S&&v0(e,S),J(e.inputs,o.inputs),J(e.declaredInputs,o.declaredInputs),J(e.outputs,o.outputs),null!==o.inputTransforms&&(null===c.inputTransforms&&(c.inputTransforms={}),J(c.inputTransforms,o.inputTransforms)),Nr(o)&&o.data.animation){const N=e.data;N.animation=(N.animation||[]).concat(o.data.animation)}}const s=o.features;if(s)for(let c=0;c<s.length;c++){const d=s[c];d&&d.ngInherit&&d(e),d===kf&&(n=!1)}}t=Object.getPrototypeOf(t)}!function _0(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=io(o.hostAttrs,n=io(n,o.hostAttrs))}}(r)}function Uu(e){return e===Ze?{}:e===ke?[]:e}function y0(e,t){const n=e.viewQuery;e.viewQuery=n?(r,o)=>{t(r,o),n(r,o)}:t}function v0(e,t){const n=e.contentQueries;e.contentQueries=n?(r,o,s)=>{t(r,o,s),n(r,o,s)}:t}function D0(e,t){const n=e.hostBindings;e.hostBindings=n?(r,o)=>{t(r,o),n(r,o)}:t}function Gg(e){const t=e.inputConfig,n={};for(const r in t)if(t.hasOwnProperty(r)){const o=t[r];Array.isArray(o)&&o[2]&&(n[r]=o[2])}e.inputTransforms=n}function Hu(e){return!!Ff(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Ff(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function ua(e,t,n){return e[t]=n}function Zc(e,t){return e[t]}function ls(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Sl(e,t,n,r){const o=ls(e,t,n);return ls(e,t+1,r)||o}function Mi(e,t,n,r,o,s){const c=Sl(e,t,n,r);return Sl(e,t+2,o,s)||c}function Lf(e,t,n,r){const o=qe();return ls(o,ei(),t)&&(mn(),ca(mr(),o,e,t,n,r)),Lf}function oc(e,t,n,r){return ls(e,ei(),n)?t+me(n)+r:ln}function sc(e,t,n,r,o,s){const d=Sl(e,function Oo(){return Nt.lFrame.bindingIndex}(),n,o);return h(2),d?t+me(n)+r+me(o)+s:ln}function om(e,t,n,r,o,s,c,d){const v=qe(),S=mn(),N=e+Zt,Q=S.firstCreatePass?function G0(e,t,n,r,o,s,c,d,v){const S=t.consts,N=nc(t,e,4,c||null,Bi(S,d));Af(t,n,N,Bi(S,v)),sa(t,N);const Q=N.tView=Sf(2,N,r,o,s,t.directiveRegistry,t.pipeRegistry,null,t.schemas,S,null);return null!==t.queries&&(t.queries.template(t,N),Q.queries=t.queries.embeddedTView(N)),N}(N,S,v,t,n,r,o,s,c):S.data[N];ho(Q,!1);const he=sm(S,v,Q,e);Hi()&&Du(S,v,he,Q),as(he,v),Bu(v,v[N]=Ig(he,v,he,Q)),Rr(Q)&&Tf(S,v,Q),null!=c&&If(v,Q,d)}let sm=function im(e,t,n,r){return os(!0),t[Rt].createComment("")};function am(e){return Ps(function Ga(){return Nt.lFrame.contextLView}(),Zt+e)}function $f(e,t,n){const r=qe();return ls(r,ei(),t)&&ii(mn(),mr(),r,e,t,r[Rt],n,!1),$f}function zf(e,t,n,r,o){const c=o?"class":"style";Nf(e,n,t.inputs[c],c,r)}function Zu(e,t,n,r){const o=qe(),s=mn(),c=Zt+e,d=o[Rt],v=s.firstCreatePass?function Y0(e,t,n,r,o,s){const c=t.consts,v=nc(t,e,2,r,Bi(c,o));return Af(t,n,v,Bi(c,s)),null!==v.attrs&&Vu(v,v.attrs,!1),null!==v.mergedAttrs&&Vu(v,v.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,v),v}(c,s,o,t,n,r):s.data[c],S=lm(s,o,v,d,t,e);o[c]=S;const N=Rr(v);return ho(v,!0),gp(d,S,v),32!=(32&v.flags)&&Hi()&&Du(s,o,S,v),0===function ji(){return Nt.lFrame.elementDepthCount}()&&as(S,o),function gr(){Nt.lFrame.elementDepthCount++}(),N&&(Tf(s,o,v),Mf(s,v,o)),null!==r&&If(o,v),Zu}function Ku(){let e=Qn();Ea()?Xs():(e=e.parent,ho(e,!1));const t=e;(function va(e){return Nt.skipHydrationRootTNode===e})(t)&&function Nl(){Nt.skipHydrationRootTNode=null}(),function ya(){Nt.lFrame.elementDepthCount--}();const n=mn();return n.firstCreatePass&&(sa(n,e),Ws(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function Ll(e){return 0!=(8&e.flags)}(t)&&zf(n,t,qe(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function gd(e){return 0!=(16&e.flags)}(t)&&zf(n,t,qe(),t.stylesWithoutHost,!1),Ku}function Gf(e,t,n,r){return Zu(e,t,n,r),Ku(),Gf}let lm=(e,t,n,r,o,s)=>(os(!0),_u(r,o,function ri(){return Nt.lFrame.currentNamespace}()));function Yu(e,t,n){const r=qe(),o=mn(),s=e+Zt,c=o.firstCreatePass?function J0(e,t,n,r,o){const s=t.consts,c=Bi(s,r),d=nc(t,e,8,"ng-container",c);return null!==c&&Vu(d,c,!0),Af(t,n,d,Bi(s,o)),null!==t.queries&&t.queries.elementStart(t,d),d}(s,o,r,t,n):o.data[s];ho(c,!0);const d=cm(o,r,c,e);return r[s]=d,Hi()&&Du(o,r,d,c),as(d,r),Rr(c)&&(Tf(o,r,c),Mf(o,c,r)),null!=n&&If(r,c),Yu}function qu(){let e=Qn();const t=mn();return Ea()?Xs():(e=e.parent,ho(e,!1)),t.firstCreatePass&&(sa(t,e),Ws(e)&&t.queries.elementEnd(e)),qu}function Wf(e,t,n){return Yu(e,t,n),qu(),Wf}let cm=(e,t,n,r)=>(os(!0),kd(t[Rt],""));function um(){return qe()}function Zf(e){return!!e&&"function"==typeof e.then}function dm(e){return!!e&&"function"==typeof e.subscribe}function Kf(e,t,n,r){const o=qe(),s=mn(),c=Qn();return fm(s,o,o[Rt],c,e,t,r),Kf}function Yf(e,t){const n=Qn(),r=qe(),o=mn();return fm(o,r,Pg(j(o.data),n,r),n,e,t),Yf}function fm(e,t,n,r,o,s,c){const d=Rr(r),S=e.firstCreatePass&&Og(e),N=t[Wn],Q=Ag(t);let he=!0;if(3&r.type||c){const ot=Bn(r,t),_t=c?c(ot):ot,At=Q.length,Je=c?yn=>c(In(yn[r.index])):r.index;let Xt=null;if(!c&&d&&(Xt=function tC(e,t,n,r){const o=e.cleanup;if(null!=o)for(let s=0;s<o.length-1;s+=2){const c=o[s];if(c===n&&o[s+1]===r){const d=t[mo],v=o[s+2];return d.length>v?d[v]:null}"string"==typeof c&&(s+=2)}return null}(e,t,o,r.index)),null!==Xt)(Xt.__ngLastListenerFn__||Xt).__ngNextListenerFn__=s,Xt.__ngLastListenerFn__=s,he=!1;else{s=pm(r,t,N,s,!1);const yn=n.listen(_t,o,s);Q.push(s,yn),S&&S.push(o,Je,At,At+1)}}else s=pm(r,t,N,s,!1);const Me=r.outputs;let Ke;if(he&&null!==Me&&(Ke=Me[o])){const ot=Ke.length;if(ot)for(let _t=0;_t<ot;_t+=2){const rr=t[Ke[_t]][Ke[_t+1]].subscribe(s),js=Q.length;Q.push(s,rr),S&&S.push(o,r.index,js,-(js+1))}}}function hm(e,t,n,r){try{return wr(6,t,n),!1!==n(r)}catch(o){return Rg(e,o),!1}finally{wr(7,t,n)}}function pm(e,t,n,r,o){return function s(c){if(c===Function)return r;Hc(e.componentOffset>-1?fo(e.index,t):t);let v=hm(t,n,r,c),S=s.__ngNextListenerFn__;for(;S;)v=hm(t,n,S,c)&&v,S=S.__ngNextListenerFn__;return o&&!1===v&&c.preventDefault(),v}}function gm(e=1){return function ti(e){return(Nt.lFrame.contextLView=function oa(e,t){for(;e>0;)t=t[Bo],e--;return t}(e,Nt.lFrame.contextLView))[Wn]}(e)}function nC(e,t){let n=null;const r=function Ti(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 o=0;o<t.length;o++){const s=t[o];if("*"!==s){if(null===r?Us(e,s,!0):Es(r,s))return o}else n=o}return n}function mm(e){const t=qe()[Zn][qn];if(!t.projection){const r=t.projection=Cl(e?e.length:1,null),o=r.slice();let s=t.child;for(;null!==s;){const c=e?nC(s,e):0;null!==c&&(o[c]?o[c].projectionNext=s:r[c]=s,o[c]=s),s=s.next}}}function _m(e,t=0,n){const r=qe(),o=mn(),s=nc(o,Zt+e,16,null,n||null);null===s.projection&&(s.projection=t),Xs(),(!r[co]||Js())&&32!=(32&s.flags)&&function Jv(e,t,n){hp(t[Rt],0,t,n,Bd(e,n,t),ap(n.parent||t[qn],n,t))}(o,r,s)}function qf(e,t,n){return Qf(e,"",t,"",n),qf}function Qf(e,t,n,r,o){const s=qe(),c=oc(s,t,n,r);return c!==ln&&ii(mn(),mr(),s,e,c,s[Rt],o,!1),Qf}function Qu(e,t){return e<<17|t<<2}function il(e){return e>>17&32767}function Jf(e){return 2|e}function Al(e){return(131068&e)>>2}function Xf(e,t){return-131069&e|t<<2}function eh(e){return 1|e}function Tm(e,t,n,r,o){const s=e[n+1],c=null===t;let d=r?il(s):Al(s),v=!1;for(;0!==d&&(!1===v||c);){const N=e[d+1];lC(e[d],t)&&(v=!0,e[d+1]=r?eh(N):Jf(N)),d=r?il(N):Al(N)}v&&(e[n+1]=r?Jf(s):eh(s))}function lC(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&bl(e,t)>=0}const wo={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Im(e){return e.substring(wo.key,wo.keyEnd)}function cC(e){return e.substring(wo.value,wo.valueEnd)}function Sm(e,t){const n=wo.textEnd;return n===t?-1:(t=wo.keyEnd=function fC(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,wo.key=t,n),fc(e,t,n))}function Am(e,t){const n=wo.textEnd;let r=wo.key=fc(e,t,n);return n===r?-1:(r=wo.keyEnd=function hC(e,t,n){let r;for(;t<n&&(45===(r=e.charCodeAt(t))||95===r||(-33&r)>=65&&(-33&r)<=90||r>=48&&r<=57);)t++;return t}(e,r,n),r=Pm(e,r,n),r=wo.value=fc(e,r,n),r=wo.valueEnd=function pC(e,t,n){let r=-1,o=-1,s=-1,c=t,d=c;for(;c<n;){const v=e.charCodeAt(c++);if(59===v)return d;34===v||39===v?d=c=Rm(e,v,c,n):t===c-4&&85===s&&82===o&&76===r&&40===v?d=c=Rm(e,41,c,n):v>32&&(d=c),s=o,o=r,r=-33&v}return d}(e,r,n),Pm(e,r,n))}function Om(e){wo.key=0,wo.keyEnd=0,wo.value=0,wo.valueEnd=0,wo.textEnd=e.length}function fc(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Pm(e,t,n,r){return(t=fc(e,t,n))<n&&t++,t}function Rm(e,t,n,r){let o=-1,s=n;for(;s<r;){const c=e.charCodeAt(s++);if(c==t&&92!==o)return s;o=92==c&&92===o?0:c}throw new Error}function th(e,t,n){return Ji(e,t,n,!1),th}function nh(e,t){return Ji(e,t,null,!0),nh}function Qi(e){Xi(Fm,gC,e,!1)}function gC(e,t){for(let n=function dC(e){return Om(e),Am(e,fc(e,0,wo.textEnd))}(t);n>=0;n=Am(t,n))Fm(e,Im(t),cC(t))}function Nm(e){Xi(EC,da,e,!0)}function da(e,t){for(let n=function uC(e){return Om(e),Sm(e,fc(e,0,wo.textEnd))}(t);n>=0;n=Sm(t,n))ys(e,Im(t),!0)}function Ji(e,t,n,r){const o=qe(),s=mn(),c=h(2);s.firstUpdatePass&&km(s,e,c,r),t!==ln&&ls(o,c,t)&&Lm(s,s.data[Qr()],o,o[Rt],e,o[c+1]=function bC(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=fe(Pa(e)))),e}(t,n),r,c)}function Xi(e,t,n,r){const o=mn(),s=h(2);o.firstUpdatePass&&km(o,null,s,r);const c=qe();if(n!==ln&&ls(c,s,n)){const d=o.data[Qr()];if(Vm(d,r)&&!xm(o,s)){let v=r?d.classesWithoutHost:d.stylesWithoutHost;null!==v&&(n=xe(v,n||"")),zf(o,d,c,n,r)}else!function CC(e,t,n,r,o,s,c,d){o===ln&&(o=ke);let v=0,S=0,N=0<o.length?o[0]:null,Q=0<s.length?s[0]:null;for(;null!==N||null!==Q;){const he=v<o.length?o[v+1]:void 0,Me=S<s.length?s[S+1]:void 0;let ot,Ke=null;N===Q?(v+=2,S+=2,he!==Me&&(Ke=Q,ot=Me)):null===Q||null!==N&&N<Q?(v+=2,Ke=N):(S+=2,Ke=Q,ot=Me),null!==Ke&&Lm(e,t,n,r,Ke,ot,c,d),N=v<o.length?o[v]:null,Q=S<s.length?s[S]:null}}(o,d,c,c[Rt],c[s+1],c[s+1]=function DC(e,t,n){if(null==n||""===n)return ke;const r=[],o=Pa(n);if(Array.isArray(o))for(let s=0;s<o.length;s++)e(r,o[s],!0);else if("object"==typeof o)for(const s in o)o.hasOwnProperty(s)&&e(r,s,o[s]);else"string"==typeof o&&t(r,o);return r}(e,t,n),r,s)}}function xm(e,t){return t>=e.expandoStartIndex}function km(e,t,n,r){const o=e.data;if(null===o[n+1]){const s=o[Qr()],c=xm(e,n);Vm(s,r)&&null===t&&!c&&(t=!1),t=function mC(e,t,n,r){const o=j(e);let s=r?t.residualClasses:t.residualStyles;if(null===o)0===(r?t.classBindings:t.styleBindings)&&(n=Qc(n=rh(null,e,t,n,r),t.attrs,r),s=null);else{const c=t.directiveStylingLast;if(-1===c||e[c]!==o)if(n=rh(o,e,t,n,r),null===s){let v=function _C(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==Al(r))return e[il(r)]}(e,t,r);void 0!==v&&Array.isArray(v)&&(v=rh(null,e,t,v[1],r),v=Qc(v,t.attrs,r),function yC(e,t,n,r){e[il(n?t.classBindings:t.styleBindings)]=r}(e,t,r,v))}else s=function vC(e,t,n){let r;const o=t.directiveEnd;for(let s=1+t.directiveStylingLast;s<o;s++)r=Qc(r,e[s].hostAttrs,n);return Qc(r,t.attrs,n)}(e,t,r)}return void 0!==s&&(r?t.residualClasses=s:t.residualStyles=s),n}(o,s,t,r),function iC(e,t,n,r,o,s){let c=s?t.classBindings:t.styleBindings,d=il(c),v=Al(c);e[r]=n;let N,S=!1;if(Array.isArray(n)?(N=n[1],(null===N||bl(n,N)>0)&&(S=!0)):N=n,o)if(0!==v){const he=il(e[d+1]);e[r+1]=Qu(he,d),0!==he&&(e[he+1]=Xf(e[he+1],r)),e[d+1]=function oC(e,t){return 131071&e|t<<17}(e[d+1],r)}else e[r+1]=Qu(d,0),0!==d&&(e[d+1]=Xf(e[d+1],r)),d=r;else e[r+1]=Qu(v,0),0===d?d=r:e[v+1]=Xf(e[v+1],r),v=r;S&&(e[r+1]=Jf(e[r+1])),Tm(e,N,r,!0),Tm(e,N,r,!1),function aC(e,t,n,r,o){const s=o?e.residualClasses:e.residualStyles;null!=s&&"string"==typeof t&&bl(s,t)>=0&&(n[r+1]=eh(n[r+1]))}(t,N,e,r,s),c=Qu(d,v),s?t.classBindings=c:t.styleBindings=c}(o,s,t,n,c,r)}}function rh(e,t,n,r,o){let s=null;const c=n.directiveEnd;let d=n.directiveStylingLast;for(-1===d?d=n.directiveStart:d++;d<c&&(s=t[d],r=Qc(r,s.hostAttrs,o),s!==e);)d++;return null!==e&&(n.directiveStylingLast=d),r}function Qc(e,t,n){const r=n?1:2;let o=-1;if(null!==t)for(let s=0;s<t.length;s++){const c=t[s];"number"==typeof c?o=c:o===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),ys(e,c,!!n||t[++s]))}return void 0===e?null:e}function Fm(e,t,n){ys(e,t,Pa(n))}function EC(e,t,n){const r=String(t);""!==r&&!r.includes(" ")&&ys(e,r,n)}function Lm(e,t,n,r,o,s,c,d){if(!(3&t.type))return;const v=e.data,S=v[d+1],N=function sC(e){return 1==(1&e)}(S)?Bm(v,t,n,o,Al(S),c):void 0;Ju(N)||(Ju(s)||function rC(e){return 2==(2&e)}(S)&&(s=Bm(v,null,n,o,d,c)),function eD(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let s=-1===r.indexOf("-")?void 0:Oa.DashCase;null==o?e.removeStyle(n,r,s):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),s|=Oa.Important),e.setStyle(n,r,o,s))}}(r,c,rs(Qr(),n),o,s))}function Bm(e,t,n,r,o,s){const c=null===t;let d;for(;o>0;){const v=e[o],S=Array.isArray(v),N=S?v[1]:v,Q=null===N;let he=n[o+1];he===ln&&(he=Q?ke:void 0);let Me=Q?fu(he,r):N===r?he:void 0;if(S&&!Ju(Me)&&(Me=fu(v,r)),Ju(Me)&&(d=Me,c))return d;const Ke=e[o+1];o=c?il(Ke):Al(Ke)}if(null!==t){let v=s?t.residualClasses:t.residualStyles;null!=v&&(d=fu(v,r))}return d}function Ju(e){return void 0!==e}function Vm(e,t){return 0!=(e.flags&(t?8:16))}function jm(e,t=""){const n=qe(),r=mn(),o=e+Zt,s=r.firstCreatePass?nc(r,o,1,t,null):r.data[o],c=Um(r,n,s,t,e);n[o]=c,Hi()&&Du(r,n,c,s),ho(s,!1)}let Um=(e,t,n,r,o)=>(os(!0),function mu(e,t){return e.createText(t)}(t[Rt],r));function oh(e){return Xu("",e,""),oh}function Xu(e,t,n){const r=qe(),o=oc(r,e,t,n);return o!==ln&&xa(r,Qr(),o),Xu}function sh(e,t,n,r,o){const s=qe(),c=sc(s,e,t,n,r,o);return c!==ln&&xa(s,Qr(),c),sh}function Ym(e,t,n){Xi(ys,da,oc(qe(),e,t,n),!0)}function ih(e,t,n){const r=qe();return ls(r,ei(),t)&&ii(mn(),mr(),r,e,t,r[Rt],n,!0),ih}function ah(e,t,n){const r=qe();if(ls(r,ei(),t)){const s=mn(),c=mr();ii(s,c,r,e,t,Pg(j(s.data),c,r),n,!0)}return ah}const Ol=void 0;var zC=["en",[["a","p"],["AM","PM"],Ol],[["AM","PM"],Ol,Ol],[["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"]],Ol,[["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"]],Ol,[["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}",Ol,"{1} 'at' {0}",Ol],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function $C(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let hc={};function lh(e){const t=function GC(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=i_(t);if(n)return n;const r=t.split("-")[0];if(n=i_(r),n)return n;if("en"===r)return zC;throw new Z(701,!1)}function s_(e){return lh(e)[pc.PluralCase]}function i_(e){return e in hc||(hc[e]=qt.ng&&qt.ng.common&&qt.ng.common.locales&&qt.ng.common.locales[e]),hc[e]}var pc=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}(pc||{});const gc="en-US";let a_=gc;function dh(e,t,n,r,o){if(e=Oe(e),Array.isArray(e))for(let s=0;s<e.length;s++)dh(e[s],t,n,r,o);else{const s=mn(),c=qe(),d=Qn();let v=Il(e)?e:Oe(e.provide);const S=kp(e),N=1048575&d.providerIndexes,Q=d.directiveStart,he=d.providerIndexes>>20;if(Il(e)||!e.multi){const Me=new $i(S,o,tc),Ke=hh(v,t,o?N:N+he,Q);-1===Ke?(wa(Qa(d,c),s,v),fh(s,e,t.length),t.push(v),d.directiveStart++,d.directiveEnd++,o&&(d.providerIndexes+=1048576),n.push(Me),c.push(Me)):(n[Ke]=Me,c[Ke]=Me)}else{const Me=hh(v,t,N+he,Q),Ke=hh(v,t,N,N+he),_t=Ke>=0&&n[Ke];if(o&&!_t||!o&&!(Me>=0&&n[Me])){wa(Qa(d,c),s,v);const At=function $b(e,t,n,r,o){const s=new $i(e,n,tc);return s.multi=[],s.index=t,s.componentProviders=0,R_(s,o,r&&!n),s}(o?Hb:Ub,n.length,o,r,S);!o&&_t&&(n[Ke].providerFactory=At),fh(s,e,t.length,0),t.push(v),d.directiveStart++,d.directiveEnd++,o&&(d.providerIndexes+=1048576),n.push(At),c.push(At)}else fh(s,e,Me>-1?Me:Ke,R_(n[o?Ke:Me],S,!o&&r));!o&&r&&_t&&n[Ke].componentProviders++}}}function fh(e,t,n,r){const o=Il(t),s=function ND(e){return!!e.useClass}(t);if(o||s){const v=(s?Oe(t.useClass):t).prototype.ngOnDestroy;if(v){const S=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const N=S.indexOf(n);-1===N?S.push(n,[r,v]):S[N+1].push(r,v)}else S.push(n,v)}}}function R_(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function hh(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function Ub(e,t,n,r){return ph(this.multi,[])}function Hb(e,t,n,r){const o=this.multi;let s;if(this.providerFactory){const c=this.providerFactory.componentProviders,d=ms(n,n[dt],this.providerFactory.index,r);s=d.slice(0,c),ph(o,s);for(let v=c;v<d.length;v++)s.push(d[v])}else s=[],ph(o,s);return s}function ph(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function N_(e,t=[]){return n=>{n.providersResolver=(r,o)=>function jb(e,t,n){const r=mn();if(r.firstCreatePass){const o=Nr(e);dh(n,r.data,r.blueprint,o,!0),dh(t,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,t)}}class Pl{}class x_{}function zb(e,t){return new gh(e,t??null,[])}class gh extends Pl{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Vg(this);const o=Or(t);this._bootstrapComponents=Na(o.bootstrap),this._r3Injector=qp(t,n,[{provide:Pl,useValue:this},{provide:jc,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 mh extends x_{constructor(t){super(),this.moduleType=t}create(t){return new gh(this.moduleType,t,[])}}class k_ extends Pl{constructor(t){super(),this.componentFactoryResolver=new Vg(this),this.instance=null;const n=new Au([...t.providers,{provide:Pl,useValue:this},{provide:jc,useValue:this.componentFactoryResolver}],t.parent||Su(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function F_(e,t,n=null){return new k_({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}let Wb=(()=>{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 o=Pp(0,r.type),s=o.length>0?F_([o],this._injector,`Standalone[${r.type.name}]`):null;this.cachedInjectors.set(r,s)}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=Dt({token:e,providedIn:"environment",factory:()=>new e(Qe(aa))}),t})();function L_(e){e.getStandaloneInjector=t=>t.get(Wb).getOrCreateStandaloneInjector(e)}function z_(e,t,n){const r=po()+e,o=qe();return o[r]===ln?ua(o,r,n?t.call(n):t()):Zc(o,r)}function G_(e,t,n,r){return Q_(qe(),po(),e,t,n,r)}function W_(e,t,n,r,o){return J_(qe(),po(),e,t,n,r,o)}function Z_(e,t,n,r,o,s){return X_(qe(),po(),e,t,n,r,o,s)}function K_(e,t,n,r,o,s,c){return ey(qe(),po(),e,t,n,r,o,s,c)}function Y_(e,t,n,r,o,s,c,d){const v=po()+e,S=qe(),N=Mi(S,v,n,r,o,s);return ls(S,v+4,c)||N?ua(S,v+5,d?t.call(d,n,r,o,s,c):t(n,r,o,s,c)):Zc(S,v+5)}function q_(e,t,n,r){return function ty(e,t,n,r,o,s){let c=t+n,d=!1;for(let v=0;v<o.length;v++)ls(e,c++,o[v])&&(d=!0);return d?ua(e,c,r.apply(s,o)):ru(e,c)}(qe(),po(),e,t,n,r)}function ru(e,t){const n=e[t];return n===ln?void 0:n}function Q_(e,t,n,r,o,s){const c=t+n;return ls(e,c,o)?ua(e,c+1,s?r.call(s,o):r(o)):ru(e,c+1)}function J_(e,t,n,r,o,s,c){const d=t+n;return Sl(e,d,o,s)?ua(e,d+2,c?r.call(c,o,s):r(o,s)):ru(e,d+2)}function X_(e,t,n,r,o,s,c,d){const v=t+n;return function $u(e,t,n,r,o){const s=Sl(e,t,n,r);return ls(e,t+2,o)||s}(e,v,o,s,c)?ua(e,v+3,d?r.call(d,o,s,c):r(o,s,c)):ru(e,v+3)}function ey(e,t,n,r,o,s,c,d,v){const S=t+n;return Mi(e,S,o,s,c,d)?ua(e,S+4,v?r.call(v,o,s,c,d):r(o,s,c,d)):ru(e,S+4)}function ny(e,t){const n=mn();let r;const o=e+Zt;n.firstCreatePass?(r=function ow(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[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];const s=r.factory||(r.factory=qr(r.type)),d=rn(tc);try{const v=qa(!1),S=s();return qa(v),function K0(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,qe(),o,S),S}finally{rn(d)}}function ry(e,t,n){const r=e+Zt,o=qe(),s=Ps(o,r);return ou(o,r)?Q_(o,po(),t,s.transform,n,s):s.transform(n)}function oy(e,t,n,r){const o=e+Zt,s=qe(),c=Ps(s,o);return ou(s,o)?J_(s,po(),t,c.transform,n,r,c):c.transform(n,r)}function sy(e,t,n,r,o){const s=e+Zt,c=qe(),d=Ps(c,s);return ou(c,s)?X_(c,po(),t,d.transform,n,r,o,d):d.transform(n,r,o)}function iy(e,t,n,r,o,s){const c=e+Zt,d=qe(),v=Ps(d,c);return ou(d,c)?ey(d,po(),t,v.transform,n,r,o,s,v):v.transform(n,r,o,s)}function ou(e,t){return e[dt].data[t].pure}function iw(){return this._results[Symbol.iterator]()}class od{get changes(){return this._changes||(this._changes=new la)}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=od.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=iw)}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 o=function zo(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function oi(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],s=t[r];if(n&&(o=n(o),s=n(s)),s!==o)return!1}return!0}(r._results,o,n))&&(r._results=o,r.length=o.length,r.last=o[this.length-1],r.first=o[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}function lw(e,t,n,r=!0){const o=t[dt];if(function Wv(e,t,n,r){const o=br+r,s=n.length;r>0&&(n[o-1][Cr]=t),r<s-br?(t[Cr]=n[o],du(n,br+r,t)):(n.push(t),t[Cr]=null),t[Pn]=n;const c=t[lo];null!==c&&n!==c&&function Zv(e,t){const n=e[Xr];t[Zn]!==t[Pn][Pn][Zn]&&(e[Jo]=!0),null===n?e[Xr]=[t]:n.push(t)}(c,t);const d=t[Hr];null!==d&&d.insertView(e),t[Pt]|=128}(o,t,e,n),r){const s=jd(n,e),c=t[Rt],d=vu(c,e[Rn]);null!==d&&function $v(e,t,n,r,o,s){r[On]=o,r[qn]=t,xc(e,r,n,1,o,s)}(o,e[qn],c,t,d,s)}}let su=(()=>{class t{}return t.__NG_ELEMENT_ID__=dw,t})();const cw=su,uw=class extends cw{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 o=function aw(e,t,n,r){const o=t.tView,d=Lu(e,o,n,4096&e[Pt]?4096:16,null,t,null,null,null,r?.injector??null,r?.hydrationInfo??null);d[lo]=e[t.index];const S=e[Hr];return null!==S&&(d[Hr]=S.createEmbeddedView(o)),xf(o,d,n),d}(this._declarationLView,this._declarationTContainer,t,{injector:n,hydrationInfo:r});return new Gc(o)}};function dw(){return sd(Qn(),qe())}function sd(e,t){return 4&e.type?new uw(t,e,Jl(e,t)):null}let ad=(()=>{class t{}return t.__NG_ELEMENT_ID__=_w,t})();function _w(){return hy(Qn(),qe())}const yw=ad,dy=class extends yw{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Jl(this._hostTNode,this._hostLView)}get injector(){return new kr(this._hostTNode,this._hostLView)}get parentInjector(){const t=Ci(this._hostTNode,this._hostLView);if(ba(t)){const n=Ya(t,this._hostLView),r=Ei(t);return new kr(n[dt].data[r+8],n)}return new kr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=fy(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-br}createEmbeddedView(t,n,r){let o,s;"number"==typeof r?o=r:null!=r&&(o=r.index,s=r.injector);const d=t.createEmbeddedViewImpl(n||{},s,null);return this.insertImpl(d,o,false),d}createComponent(t,n,r,o,s){const c=t&&!function Co(e){return"function"==typeof e}(t);let d;if(c)d=n;else{const ot=n||{};d=ot.index,r=ot.injector,o=ot.projectableNodes,s=ot.environmentInjector||ot.ngModuleRef}const v=c?t:new Wc(nn(t)),S=r||this.parentInjector;if(!s&&null==v.ngModule){const _t=(c?S:this.parentInjector).get(aa,null);_t&&(s=_t)}nn(v.componentType??{});const Me=v.create(S,o,null,s);return this.insertImpl(Me.hostView,d,false),Me}insert(t,n){return this.insertImpl(t,n,!1)}insertImpl(t,n,r){const o=t._lView;if(function Va(e){return tr(e[Pn])}(o)){const v=this.indexOf(t);if(-1!==v)this.detach(v);else{const S=o[Pn],N=new dy(S,S[qn],S[Pn]);N.detach(N.indexOf(t))}}const c=this._adjustIndex(n),d=this._lContainer;return lw(d,o,c,!r),t.attachToViewContainerRef(),du(yh(d),c,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=fy(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=yu(this._lContainer,n);r&&(jl(yh(this._lContainer),n),Fd(r[dt],r))}detach(t){const n=this._adjustIndex(t,-1),r=yu(this._lContainer,n);return r&&null!=jl(yh(this._lContainer),n)?new Gc(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function fy(e){return e[8]}function yh(e){return e[8]||(e[8]=[])}function hy(e,t){let n;const r=t[e.index];return tr(r)?n=r:(n=Ig(r,t,null,e),t[e.index]=n,Bu(t,n)),py(n,t,e,r),new dy(n,e,t)}let py=function gy(e,t,n,r){if(e[Rn])return;let o;o=8&n.type?In(r):function vw(e,t){const n=e[Rt],r=n.createComment(""),o=Bn(t,e);return wl(n,vu(n,o),r,function Qv(e,t){return e.nextSibling(t)}(n,o),!1),r}(t,n),e[Rn]=o};class vh{constructor(t){this.queryList=t,this.matches=null}clone(){return new vh(this.queryList)}setDirty(){this.queryList.setDirty()}}class Dh{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,o=[];for(let s=0;s<r;s++){const c=n.getByIndex(s);o.push(this.queries[c.indexInDeclarationView].clone())}return new Dh(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==wy(t,n).matches&&this.queries[n].setDirty()}}class my{constructor(t,n,r=null){this.predicate=t,this.flags=n,this.read=r}}class Eh{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 o=null!==n?n.length:0,s=this.getByIndex(r).embeddedTView(t,o);s&&(s.indexInDeclarationView=r,null!==n?n.push(s):n=[s])}return null!==n?new Eh(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 Ch{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 Ch(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 o=0;o<r.length;o++){const s=r[o];this.matchTNodeWithReadOption(t,n,Cw(n,s)),this.matchTNodeWithReadOption(t,n,Ta(n,t,s,!1,!1))}else r===su?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Ta(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const o=this.metadata.read;if(null!==o)if(o===Uc||o===ad||o===su&&4&n.type)this.addMatch(n.index,-2);else{const s=Ta(n,t,o,!1,!1);null!==s&&this.addMatch(n.index,s)}else this.addMatch(n.index,r)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function Cw(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 ww(e,t,n,r){return-1===n?function bw(e,t){return 11&e.type?Jl(e,t):4&e.type?sd(e,t):null}(t,e):-2===n?function Mw(e,t,n){return n===Uc?Jl(t,e):n===su?sd(t,e):n===ad?hy(t,e):void 0}(e,t,r):ms(e,e[dt],n,t)}function _y(e,t,n,r){const o=t[Hr].queries[r];if(null===o.matches){const s=e.data,c=n.matches,d=[];for(let v=0;v<c.length;v+=2){const S=c[v];d.push(S<0?null:ww(t,s[S],c[v+1],n.metadata.read))}o.matches=d}return o.matches}function bh(e,t,n,r){const o=e.queries.getByIndex(n),s=o.matches;if(null!==s){const c=_y(e,t,o,n);for(let d=0;d<s.length;d+=2){const v=s[d];if(v>0)r.push(c[d/2]);else{const S=s[d+1],N=t[-v];for(let Q=br;Q<N.length;Q++){const he=N[Q];he[lo]===he[Pn]&&bh(he[dt],he,S,r)}if(null!==N[Xr]){const Q=N[Xr];for(let he=0;he<Q.length;he++){const Me=Q[he];bh(Me[dt],Me,S,r)}}}}}return r}function yy(e){const t=qe(),n=mn(),r=we();nt(r+1);const o=wy(n,r);if(e.dirty&&function Qs(e){return 4==(4&e[Pt])}(t)===(2==(2&o.metadata.flags))){if(null===o.matches)e.reset([]);else{const s=o.crossesNgTemplate?bh(n,t,r,[]):_y(n,t,o,r);e.reset(s,nE),e.notifyOnChanges()}return!0}return!1}function vy(e,t,n){const r=mn();r.firstCreatePass&&(by(r,new my(e,t,n),-1),2==(2&t)&&(r.staticViewQueries=!0)),Cy(r,qe(),t)}function Dy(e,t,n,r){const o=mn();if(o.firstCreatePass){const s=Qn();by(o,new my(t,n,r),s.index),function Iw(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(o,e),2==(2&n)&&(o.staticContentQueries=!0)}Cy(o,qe(),n)}function Ey(){return function Tw(e,t){return e[Hr].queries[t].queryList}(qe(),we())}function Cy(e,t,n){const r=new od(4==(4&n));(function xE(e,t,n,r){const o=Ag(t);o.push(n),e.firstCreatePass&&Og(e).push(r,o.length-1)})(e,t,r,r.destroy),null===t[Hr]&&(t[Hr]=new Dh),t[Hr].queries.push(new vh(r))}function by(e,t,n){null===e.queries&&(e.queries=new Eh),e.queries.track(new Ch(t,n))}function wy(e,t){return e.queries.getByIndex(t)}function My(e,t){return sd(e,t)}function wh(e){return!!Or(e)}const Hy=new Kn("Application Initializer");let Ah=(()=>{var e;class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o}),this.appInits=lt(Hy,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const r=[];for(const s of this.appInits){const c=s();if(Zf(c))r.push(c);else if(dm(c)){const d=new Promise((v,S)=>{c.subscribe({complete:v,error:S})});r.push(d)}}const o=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{o()}).catch(s=>{this.reject(s)}),0===r.length&&o(),this.initialized=!0}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=Dt({token:e,factory:e.\u0275fac,providedIn:"root"}),t})(),$y=(()=>{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=Dt({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})();const cd=new Kn("LocaleId",{providedIn:"root",factory:()=>lt(cd,ct.Optional|ct.SkipSelf)||function Kw(){return typeof $localize<"u"&&$localize.locale||gc}()}),Yw=new Kn("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});let zy=(()=>{var e;class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new z.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=Dt({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();class Qw{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let Jw=(()=>{var e;class t{compileModuleSync(r){return new mh(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){const o=this.compileModuleSync(r),c=Na(Or(r).declarations).reduce((d,v)=>{const S=nn(v);return S&&d.push(new Wc(S)),d},[]);return new Qw(o,c)}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=Dt({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();const Ky=new Kn(""),Yy=new Kn("");let Rh,yM=(()=>{var e;class t{constructor(r,o,s){this._ngZone=r,this.registry=o,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Rh||(function vM(e){Rh=e}(s),s.addToWindow(o)),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:()=>{Ro.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(o=>!o.updateCb||!o.updateCb(r)||(clearTimeout(o.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,o,s){let c=-1;o&&o>0&&(c=setTimeout(()=>{this._callbacks=this._callbacks.filter(d=>d.timeoutId!==c),r(this._didWork,this.getPendingTasks())},o)),this._callbacks.push({doneCb:r,timeoutId:c,updateCb:s})}whenStable(r,o,s){if(s&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(r,o,s),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(r){this.registry.registerApplication(r,this)}unregisterApplication(r){this.registry.unregisterApplication(r)}findProviders(r,o,s){return[]}}return(e=t).\u0275fac=function(r){return new(r||e)(Qe(Ro),Qe(qy),Qe(Yy))},e.\u0275prov=Dt({token:e,factory:e.\u0275fac}),t})(),qy=(()=>{var e;class t{constructor(){this._applications=new Map}registerApplication(r,o){this._applications.set(r,o)}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,o=!0){return Rh?.findTestabilityInTree(this,r,o)??null}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=Dt({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})(),al=null;const Qy=new Kn("AllowMultipleToken"),Nh=new Kn("PlatformDestroyListeners"),xh=new Kn("appBootstrapListener");class CM{constructor(t,n){this.name=t,this.token=n}}function ev(e,t,n=[]){const r=`Platform: ${t}`,o=new Kn(r);return(s=[])=>{let c=kh();if(!c||c.injector.get(Qy,!1)){const d=[...n,...s,{provide:o,useValue:!0}];e?e(d):function bM(e){if(al&&!al.get(Qy,!1))throw new Z(400,!1);(function Jy(){!function dl(e){Li=e}(()=>{throw new Z(600,!1)})})(),al=e;const t=e.get(nv);(function Xy(e){e.get(Lp,null)?.forEach(n=>n())})(e)}(function tv(e=[],t){return qi.create({name:t,providers:[{provide:Xd,useValue:"platform"},{provide:Nh,useValue:new Set([()=>al=null])},...e]})}(d,r))}return function MM(e){const t=kh();if(!t)throw new Z(401,!1);return t}()}}function kh(){return al?.get(nv)??null}let nv=(()=>{var e;class t{constructor(r){this._injector=r,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(r,o){const s=function TM(e="zone.js",t){return"noop"===e?new _E:"zone.js"===e?new Ro(t):e}(o?.ngZone,function rv(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:o?.ngZoneEventCoalescing,runCoalescing:o?.ngZoneRunCoalescing}));return s.run(()=>{const c=function Gb(e,t,n){return new gh(e,t,n)}(r.moduleType,this.injector,function lv(e){return[{provide:Ro,useFactory:e},{provide:Lc,multi:!0,useFactory:()=>{const t=lt(SM,{optional:!0});return()=>t.initialize()}},{provide:av,useFactory:IM},{provide:tg,useFactory:ng}]}(()=>s)),d=c.injector.get(sl,null);return s.runOutsideAngular(()=>{const v=s.onError.subscribe({next:S=>{d.handleError(S)}});c.onDestroy(()=>{dd(this._modules,c),v.unsubscribe()})}),function ov(e,t,n){try{const r=n();return Zf(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(d,s,()=>{const v=c.injector.get(Ah);return v.runInitializers(),v.donePromise.then(()=>(function l_(e){Ae(e,"Expected localeId to be defined"),"string"==typeof e&&(a_=e.toLowerCase().replace(/_/g,"-"))}(c.injector.get(cd,gc)||gc),this._moduleDoBootstrap(c),c))})})}bootstrapModule(r,o=[]){const s=sv({},o);return function DM(e,t,n){const r=new mh(n);return Promise.resolve(r)}(0,0,r).then(c=>this.bootstrapModuleFactory(c,s))}_moduleDoBootstrap(r){const o=r.injector.get(yc);if(r._bootstrapComponents.length>0)r._bootstrapComponents.forEach(s=>o.bootstrap(s));else{if(!r.instance.ngDoBootstrap)throw new Z(-403,!1);r.instance.ngDoBootstrap(o)}this._modules.push(r)}onDestroy(r){this._destroyListeners.push(r)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Z(404,!1);this._modules.slice().forEach(o=>o.destroy()),this._destroyListeners.forEach(o=>o());const r=this._injector.get(Nh,null);r&&(r.forEach(o=>o()),r.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return(e=t).\u0275fac=function(r){return new(r||e)(Qe(qi))},e.\u0275prov=Dt({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})();function sv(e,t){return Array.isArray(t)?t.reduce(sv,e):{...e,...t}}let yc=(()=>{var e;class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=lt(av),this.zoneIsStable=lt(tg),this.componentTypes=[],this.components=[],this.isStable=lt(zy).hasPendingTasks.pipe((0,ae.w)(r=>r?(0,$.of)(!1):this.zoneIsStable),(0,de.x)(),(0,ee.B)()),this._injector=lt(aa)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,o){const s=r instanceof Up;if(!this._injector.get(Ah).done)throw!s&&go(r),new Z(405,!1);let d;d=s?r:this._injector.get(jc).resolveComponentFactory(r),this.componentTypes.push(d.componentType);const v=function EM(e){return e.isBoundToModule}(d)?void 0:this._injector.get(Pl),N=d.create(qi.NULL,[],o||d.selector,v),Q=N.location.nativeElement,he=N.injector.get(Ky,null);return he?.registerApplication(Q),N.onDestroy(()=>{this.detachView(N.hostView),dd(this.components,N),he?.unregisterApplication(Q)}),this._loadComponent(N),N}tick(){if(this._runningTick)throw new Z(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 o=r;this._views.push(o),o.attachToAppRef(this)}detachView(r){const o=r;dd(this._views,o),o.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);const o=this._injector.get(xh,[]);o.push(...this._bootstrapListeners),o.forEach(s=>s(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),()=>dd(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new Z(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=Dt({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function dd(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const av=new Kn("",{providedIn:"root",factory:()=>lt(sl).handleError.bind(void 0)});function IM(){const e=lt(Ro),t=lt(sl);return n=>e.runOutsideAngular(()=>t.handleError(n))}let SM=(()=>{var e;class t{constructor(){this.zone=lt(Ro),this.applicationRef=lt(yc)}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=Dt({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function OM(){return!1}function PM(){}let RM=(()=>{class t{}return t.__NG_ELEMENT_ID__=NM,t})();function NM(e){return function xM(e,t,n){if(us(e)&&!n){const r=fo(e.index,t);return new Gc(r,r)}return 47&e.type?new Gc(t[Zn],t):null}(Qn(),qe(),16==(16&e))}class fv{constructor(){}supports(t){return Hu(t)}create(t){return new jM(t)}}const VM=(e,t)=>t;class jM{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||VM}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,s=null;for(;n||r;){const c=!r||n&&n.currentIndex<pv(r,o,s)?n:r,d=pv(c,o,s),v=c.currentIndex;if(c===r)o--,r=r._nextRemoved;else if(n=n._next,null==c.previousIndex)o++;else{s||(s=[]);const S=d-o,N=v-o;if(S!=N){for(let he=0;he<S;he++){const Me=he<s.length?s[he]:s[he]=0,Ke=Me+he;N<=Ke&&Ke<S&&(s[he]=Me+1)}s[c.previousIndex]=N-S}}d!==v&&t(c,d,v)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!Hu(t))throw new Z(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let o,s,c,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let d=0;d<this.length;d++)s=t[d],c=this._trackByFn(d,s),null!==n&&Object.is(n.trackById,c)?(r&&(n=this._verifyReinsertion(n,s,c,d)),Object.is(n.item,s)||this._addIdentityChange(n,s)):(n=this._mismatch(n,s,c,d),r=!0),n=n._next}else o=0,function I0(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,d=>{c=this._trackByFn(o,d),null!==n&&Object.is(n.trackById,c)?(r&&(n=this._verifyReinsertion(n,d,c,o)),Object.is(n.item,d)||this._addIdentityChange(n,d)):(n=this._mismatch(n,d,c,o),r=!0),n=n._next,o++}),this.length=o;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,o){let s;return null===t?s=this._itTail:(s=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,s,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,s,o)):t=this._addAfter(new UM(n,r),s,o),t}_verifyReinsertion(t,n,r,o){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==s?t=this._reinsertAfter(s,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),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 o=t._prevRemoved,s=t._nextRemoved;return null===o?this._removalsHead=s:o._nextRemoved=s,null===s?this._removalsTail=o:s._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const o=null===n?this._itHead:n._next;return t._next=o,t._prev=n,null===o?this._itTail=t:o._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new hv),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 hv),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 UM{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 HM{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 hv{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new HM,this.map.set(n,r)),r.add(t)}get(t,n){const o=this.map.get(t);return o?o.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 pv(e,t,n){const r=e.previousIndex;if(null===r)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}class gv{constructor(){}supports(t){return t instanceof Map||Ff(t)}create(){return new $M}}class $M{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||Ff(t)))throw new Z(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,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const s=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,s)}}),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 o=this._records.get(t);this._maybeAddToChanges(o,n);const s=o._prev,c=o._next;return s&&(s._next=c),c&&(c._prev=s),o._next=null,o._prev=null,o}const r=new zM(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 zM{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 mv(){return new jh([new fv])}let jh=(()=>{var e;class t{constructor(r){this.factories=r}static create(r,o){if(null!=o){const s=o.factories.slice();r=r.concat(s)}return new t(r)}static extend(r){return{provide:t,useFactory:o=>t.create(r,o||mv()),deps:[[t,new $l,new Hl]]}}find(r){const o=this.factories.find(s=>s.supports(r));if(null!=o)return o;throw new Z(901,!1)}}return(e=t).\u0275prov=Dt({token:e,providedIn:"root",factory:mv}),t})();function _v(){return new Uh([new gv])}let Uh=(()=>{var e;class t{constructor(r){this.factories=r}static create(r,o){if(o){const s=o.factories.slice();r=r.concat(s)}return new t(r)}static extend(r){return{provide:t,useFactory:o=>t.create(r,o||_v()),deps:[[t,new $l,new Hl]]}}find(r){const o=this.factories.find(s=>s.supports(r));if(o)return o;throw new Z(901,!1)}}return(e=t).\u0275prov=Dt({token:e,providedIn:"root",factory:_v}),t})();const ZM=ev(null,"core",[]);let KM=(()=>{var e;class t{constructor(r){}}return(e=t).\u0275fac=function(r){return new(r||e)(Qe(yc))},e.\u0275mod=zs({type:e}),e.\u0275inj=Yt({}),t})();function sT(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function aT(e){const t=nn(e);if(!t)return null;const n=new Wc(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}}}},6223:(tt,ve,I)=>{I.d(ve,{Cf:()=>je,EJ:()=>qn,F:()=>An,Fd:()=>Hr,Fj:()=>Te,JJ:()=>Sn,JL:()=>yr,JU:()=>ae,Kr:()=>Ts,NI:()=>Mo,On:()=>Br,Q7:()=>Qo,UX:()=>ci,Wl:()=>U,YN:()=>mo,Zs:()=>uo,_Y:()=>$s,a5:()=>Yt,gN:()=>Ct,kI:()=>Ve,nD:()=>Vo,oH:()=>go,p4:()=>xo,sg:()=>Ms,u5:()=>Zs,wV:()=>Zo});var a=I(5879),u=I(6814),G=I(2459),ne=I(9315),z=I(7398);let $=(()=>{var A;class w{constructor(O,H){this._renderer=O,this._elementRef=H,this.onChange=rt=>{},this.onTouched=()=>{}}setProperty(O,H){this._renderer.setProperty(this._elementRef.nativeElement,O,H)}registerOnTouched(O){this.onTouched=O}registerOnChange(O){this.onChange=O}setDisabledState(O){this.setProperty("disabled",O)}}return(A=w).\u0275fac=function(O){return new(O||A)(a.Y36(a.Qsj),a.Y36(a.SBq))},A.\u0275dir=a.lG2({type:A}),w})(),ee=(()=>{var A;class w extends ${}return(A=w).\u0275fac=function(){let B;return function(H){return(B||(B=a.n5z(A)))(H||A)}}(),A.\u0275dir=a.lG2({type:A,features:[a.qOj]}),w})();const ae=new a.OlP("NgValueAccessor"),de={provide:ae,useExisting:(0,a.Gpc)(()=>U),multi:!0};let U=(()=>{var A;class w extends ee{writeValue(O){this.setProperty("checked",O)}}return(A=w).\u0275fac=function(){let B;return function(H){return(B||(B=a.n5z(A)))(H||A)}}(),A.\u0275dir=a.lG2({type:A,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(O,H){1&O&&a.NdJ("change",function(Ut){return H.onChange(Ut.target.checked)})("blur",function(){return H.onTouched()})},features:[a._Bn([de]),a.qOj]}),w})();const J={provide:ae,useExisting:(0,a.Gpc)(()=>Te),multi:!0},xe=new a.OlP("CompositionEventMode");let Te=(()=>{var A;class w extends ${constructor(O,H,rt){super(O,H),this._compositionMode=rt,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function fe(){const A=(0,u.q)()?(0,u.q)().getUserAgent():"";return/android (\d+)/.test(A.toLowerCase())}())}writeValue(O){this.setProperty("value",O??"")}_handleInput(O){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(O)}_compositionStart(){this._composing=!0}_compositionEnd(O){this._composing=!1,this._compositionMode&&this.onChange(O)}}return(A=w).\u0275fac=function(O){return new(O||A)(a.Y36(a.Qsj),a.Y36(a.SBq),a.Y36(xe,8))},A.\u0275dir=a.lG2({type:A,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(O,H){1&O&&a.NdJ("input",function(Ut){return H._handleInput(Ut.target.value)})("blur",function(){return H.onTouched()})("compositionstart",function(){return H._compositionStart()})("compositionend",function(Ut){return H._compositionEnd(Ut.target.value)})},features:[a._Bn([J]),a.qOj]}),w})();function Ye(A){return null==A||("string"==typeof A||Array.isArray(A))&&0===A.length}function Oe(A){return null!=A&&"number"==typeof A.length}const je=new a.OlP("NgValidators"),Le=new a.OlP("NgAsyncValidators"),et=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class Ve{static min(w){return function Z(A){return w=>{if(Ye(w.value)||Ye(A))return null;const B=parseFloat(w.value);return!isNaN(B)&&B<A?{min:{min:A,actual:w.value}}:null}}(w)}static max(w){return De(w)}static required(w){return me(w)}static requiredTrue(w){return Se(w)}static email(w){return function We(A){return Ye(A.value)||et.test(A.value)?null:{email:!0}}(w)}static minLength(w){return function $e(A){return w=>Ye(w.value)||!Oe(w.value)?null:w.value.length<A?{minlength:{requiredLength:A,actualLength:w.value.length}}:null}(w)}static maxLength(w){return st(w)}static pattern(w){return function ht(A){if(!A)return It;let w,B;return"string"==typeof A?(B="","^"!==A.charAt(0)&&(B+="^"),B+=A,"$"!==A.charAt(A.length-1)&&(B+="$"),w=new RegExp(B)):(B=A.toString(),w=A),O=>{if(Ye(O.value))return null;const H=O.value;return w.test(H)?null:{pattern:{requiredPattern:B,actualValue:H}}}}(w)}static nullValidator(w){return null}static compose(w){return Pe(w)}static composeAsync(w){return Ue(w)}}function De(A){return w=>{if(Ye(w.value)||Ye(A))return null;const B=parseFloat(w.value);return!isNaN(B)&&B>A?{max:{max:A,actual:w.value}}:null}}function me(A){return Ye(A.value)?{required:!0}:null}function Se(A){return!0===A.value?null:{required:!0}}function st(A){return w=>Oe(w.value)&&w.value.length>A?{maxlength:{requiredLength:A,actualLength:w.value.length}}:null}function It(A){return null}function St(A){return null!=A}function en(A){return(0,a.QGY)(A)?(0,G.D)(A):A}function pn(A){let w={};return A.forEach(B=>{w=null!=B?{...w,...B}:w}),0===Object.keys(w).length?null:w}function on(A,w){return w.map(B=>B(A))}function _r(A){return A.map(w=>function or(A){return!A.validate}(w)?w:B=>w.validate(B))}function Pe(A){if(!A)return null;const w=A.filter(St);return 0==w.length?null:function(B){return pn(on(B,w))}}function Ne(A){return null!=A?Pe(_r(A)):null}function Ue(A){if(!A)return null;const w=A.filter(St);return 0==w.length?null:function(B){const O=on(B,w).map(en);return(0,ne.D)(O).pipe((0,z.U)(pn))}}function Ge(A){return null!=A?Ue(_r(A)):null}function Ce(A,w){return null===A?[w]:Array.isArray(A)?[...A,w]:[A,w]}function Ee(A){return A._rawValidators}function Ae(A){return A._rawAsyncValidators}function _e(A){return A?Array.isArray(A)?A:[A]:[]}function pe(A,w){return Array.isArray(A)?A.includes(w):A===w}function Xe(A,w){const B=_e(w);return _e(A).forEach(H=>{pe(B,H)||B.push(H)}),B}function pt(A,w){return _e(w).filter(B=>!pe(A,B))}class Dt{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(w){this._rawValidators=w||[],this._composedValidatorFn=Ne(this._rawValidators)}_setAsyncValidators(w){this._rawAsyncValidators=w||[],this._composedAsyncValidatorFn=Ge(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(w){this._onDestroyCallbacks.push(w)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(w=>w()),this._onDestroyCallbacks=[]}reset(w=void 0){this.control&&this.control.reset(w)}hasError(w,B){return!!this.control&&this.control.hasError(w,B)}getError(w,B){return this.control?this.control.getError(w,B):null}}class Ct extends Dt{get formDirective(){return null}get path(){return null}}class Yt extends Dt{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class sn{constructor(w){this._cd=w}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let Sn=(()=>{var A;class w extends sn{constructor(O){super(O)}}return(A=w).\u0275fac=function(O){return new(O||A)(a.Y36(Yt,2))},A.\u0275dir=a.lG2({type:A,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(O,H){2&O&&a.ekj("ng-untouched",H.isUntouched)("ng-touched",H.isTouched)("ng-pristine",H.isPristine)("ng-dirty",H.isDirty)("ng-valid",H.isValid)("ng-invalid",H.isInvalid)("ng-pending",H.isPending)},features:[a.qOj]}),w})(),yr=(()=>{var A;class w extends sn{constructor(O){super(O)}}return(A=w).\u0275fac=function(O){return new(O||A)(a.Y36(Ct,10))},A.\u0275dir=a.lG2({type:A,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(O,H){2&O&&a.ekj("ng-untouched",H.isUntouched)("ng-touched",H.isTouched)("ng-pristine",H.isPristine)("ng-dirty",H.isDirty)("ng-valid",H.isValid)("ng-invalid",H.isInvalid)("ng-pending",H.isPending)("ng-submitted",H.isSubmitted)},features:[a.qOj]}),w})();const Yn="VALID",zn="INVALID",Fn="PENDING",En="DISABLED";function Ln(A){return(vr(A)?A.validators:A)||null}function er(A,w){return(vr(w)?w.asyncValidators:A)||null}function vr(A){return null!=A&&!Array.isArray(A)&&"object"==typeof A}class ie{constructor(w,B){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(w),this._assignAsyncValidators(B)}get validator(){return this._composedValidatorFn}set validator(w){this._rawValidators=this._composedValidatorFn=w}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(w){this._rawAsyncValidators=this._composedAsyncValidatorFn=w}get parent(){return this._parent}get valid(){return this.status===Yn}get invalid(){return this.status===zn}get pending(){return this.status==Fn}get disabled(){return this.status===En}get enabled(){return this.status!==En}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(w){this._assignValidators(w)}setAsyncValidators(w){this._assignAsyncValidators(w)}addValidators(w){this.setValidators(Xe(w,this._rawValidators))}addAsyncValidators(w){this.setAsyncValidators(Xe(w,this._rawAsyncValidators))}removeValidators(w){this.setValidators(pt(w,this._rawValidators))}removeAsyncValidators(w){this.setAsyncValidators(pt(w,this._rawAsyncValidators))}hasValidator(w){return pe(this._rawValidators,w)}hasAsyncValidator(w){return pe(this._rawAsyncValidators,w)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(w={}){this.touched=!0,this._parent&&!w.onlySelf&&this._parent.markAsTouched(w)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(w=>w.markAllAsTouched())}markAsUntouched(w={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(B=>{B.markAsUntouched({onlySelf:!0})}),this._parent&&!w.onlySelf&&this._parent._updateTouched(w)}markAsDirty(w={}){this.pristine=!1,this._parent&&!w.onlySelf&&this._parent.markAsDirty(w)}markAsPristine(w={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(B=>{B.markAsPristine({onlySelf:!0})}),this._parent&&!w.onlySelf&&this._parent._updatePristine(w)}markAsPending(w={}){this.status=Fn,!1!==w.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!w.onlySelf&&this._parent.markAsPending(w)}disable(w={}){const B=this._parentMarkedDirty(w.onlySelf);this.status=En,this.errors=null,this._forEachChild(O=>{O.disable({...w,onlySelf:!0})}),this._updateValue(),!1!==w.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...w,skipPristineCheck:B}),this._onDisabledChange.forEach(O=>O(!0))}enable(w={}){const B=this._parentMarkedDirty(w.onlySelf);this.status=Yn,this._forEachChild(O=>{O.enable({...w,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:w.emitEvent}),this._updateAncestors({...w,skipPristineCheck:B}),this._onDisabledChange.forEach(O=>O(!1))}_updateAncestors(w){this._parent&&!w.onlySelf&&(this._parent.updateValueAndValidity(w),w.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(w){this._parent=w}getRawValue(){return this.value}updateValueAndValidity(w={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Yn||this.status===Fn)&&this._runAsyncValidator(w.emitEvent)),!1!==w.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!w.onlySelf&&this._parent.updateValueAndValidity(w)}_updateTreeValidity(w={emitEvent:!0}){this._forEachChild(B=>B._updateTreeValidity(w)),this.updateValueAndValidity({onlySelf:!0,emitEvent:w.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?En:Yn}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(w){if(this.asyncValidator){this.status=Fn,this._hasOwnPendingAsyncValidator=!0;const B=en(this.asyncValidator(this));this._asyncValidationSubscription=B.subscribe(O=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(O,{emitEvent:w})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(w,B={}){this.errors=w,this._updateControlsErrors(!1!==B.emitEvent)}get(w){let B=w;return null==B||(Array.isArray(B)||(B=B.split(".")),0===B.length)?null:B.reduce((O,H)=>O&&O._find(H),this)}getError(w,B){const O=B?this.get(B):this;return O&&O.errors?O.errors[w]:null}hasError(w,B){return!!this.getError(w,B)}get root(){let w=this;for(;w._parent;)w=w._parent;return w}_updateControlsErrors(w){this.status=this._calculateStatus(),w&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(w)}_initObservables(){this.valueChanges=new a.vpe,this.statusChanges=new a.vpe}_calculateStatus(){return this._allControlsDisabled()?En:this.errors?zn:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Fn)?Fn:this._anyControlsHaveStatus(zn)?zn:Yn}_anyControlsHaveStatus(w){return this._anyControls(B=>B.status===w)}_anyControlsDirty(){return this._anyControls(w=>w.dirty)}_anyControlsTouched(){return this._anyControls(w=>w.touched)}_updatePristine(w={}){this.pristine=!this._anyControlsDirty(),this._parent&&!w.onlySelf&&this._parent._updatePristine(w)}_updateTouched(w={}){this.touched=this._anyControlsTouched(),this._parent&&!w.onlySelf&&this._parent._updateTouched(w)}_registerOnCollectionChange(w){this._onCollectionChange=w}_setUpdateStrategy(w){vr(w)&&null!=w.updateOn&&(this._updateOn=w.updateOn)}_parentMarkedDirty(w){return!w&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(w){return null}_assignValidators(w){this._rawValidators=Array.isArray(w)?w.slice():w,this._composedValidatorFn=function ar(A){return Array.isArray(A)?Ne(A):A||null}(this._rawValidators)}_assignAsyncValidators(w){this._rawAsyncValidators=Array.isArray(w)?w.slice():w,this._composedAsyncValidatorFn=function lr(A){return Array.isArray(A)?Ge(A):A||null}(this._rawAsyncValidators)}}class k extends ie{constructor(w,B,O){super(Ln(B),er(O,B)),this.controls=w,this._initObservables(),this._setUpdateStrategy(B),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(w,B){return this.controls[w]?this.controls[w]:(this.controls[w]=B,B.setParent(this),B._registerOnCollectionChange(this._onCollectionChange),B)}addControl(w,B,O={}){this.registerControl(w,B),this.updateValueAndValidity({emitEvent:O.emitEvent}),this._onCollectionChange()}removeControl(w,B={}){this.controls[w]&&this.controls[w]._registerOnCollectionChange(()=>{}),delete this.controls[w],this.updateValueAndValidity({emitEvent:B.emitEvent}),this._onCollectionChange()}setControl(w,B,O={}){this.controls[w]&&this.controls[w]._registerOnCollectionChange(()=>{}),delete this.controls[w],B&&this.registerControl(w,B),this.updateValueAndValidity({emitEvent:O.emitEvent}),this._onCollectionChange()}contains(w){return this.controls.hasOwnProperty(w)&&this.controls[w].enabled}setValue(w,B={}){(function so(A,w,B){A._forEachChild((O,H)=>{if(void 0===B[H])throw new a.vHH(1002,"")})})(this,0,w),Object.keys(w).forEach(O=>{(function Dr(A,w,B){const O=A.controls;if(!(w?Object.keys(O):O).length)throw new a.vHH(1e3,"");if(!O[B])throw new a.vHH(1001,"")})(this,!0,O),this.controls[O].setValue(w[O],{onlySelf:!0,emitEvent:B.emitEvent})}),this.updateValueAndValidity(B)}patchValue(w,B={}){null!=w&&(Object.keys(w).forEach(O=>{const H=this.controls[O];H&&H.patchValue(w[O],{onlySelf:!0,emitEvent:B.emitEvent})}),this.updateValueAndValidity(B))}reset(w={},B={}){this._forEachChild((O,H)=>{O.reset(w[H],{onlySelf:!0,emitEvent:B.emitEvent})}),this._updatePristine(B),this._updateTouched(B),this.updateValueAndValidity(B)}getRawValue(){return this._reduceChildren({},(w,B,O)=>(w[O]=B.getRawValue(),w))}_syncPendingControls(){let w=this._reduceChildren(!1,(B,O)=>!!O._syncPendingControls()||B);return w&&this.updateValueAndValidity({onlySelf:!0}),w}_forEachChild(w){Object.keys(this.controls).forEach(B=>{const O=this.controls[B];O&&w(O,B)})}_setUpControls(){this._forEachChild(w=>{w.setParent(this),w._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(w){for(const[B,O]of Object.entries(this.controls))if(this.contains(B)&&w(O))return!0;return!1}_reduceValue(){return this._reduceChildren({},(B,O,H)=>((O.enabled||this.disabled)&&(B[H]=O.value),B))}_reduceChildren(w,B){let O=w;return this._forEachChild((H,rt)=>{O=B(O,H,rt)}),O}_allControlsDisabled(){for(const w of Object.keys(this.controls))if(this.controls[w].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(w){return this.controls.hasOwnProperty(w)?this.controls[w]:null}}const Re=new a.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>Qe}),Qe="always";function lt(A,w,B=Qe){ye(A,w),w.valueAccessor.writeValue(A.value),(A.disabled||"always"===B)&&w.valueAccessor.setDisabledState?.(A.disabled),function Ie(A,w){w.valueAccessor.registerOnChange(B=>{A._pendingValue=B,A._pendingChange=!0,A._pendingDirty=!0,"change"===A.updateOn&&oe(A,w)})}(A,w),function ge(A,w){const B=(O,H)=>{w.valueAccessor.writeValue(O),H&&w.viewToModelUpdate(O)};A.registerOnChange(B),w._registerOnDestroy(()=>{A._unregisterOnChange(B)})}(A,w),function K(A,w){w.valueAccessor.registerOnTouched(()=>{A._pendingTouched=!0,"blur"===A.updateOn&&A._pendingChange&&oe(A,w),"submit"!==A.updateOn&&A.markAsTouched()})}(A,w),function Qt(A,w){if(w.valueAccessor.setDisabledState){const B=O=>{w.valueAccessor.setDisabledState(O)};A.registerOnDisabledChange(B),w._registerOnDestroy(()=>{A._unregisterOnDisabledChange(B)})}}(A,w)}function Lt(A,w,B=!0){const O=()=>{};w.valueAccessor&&(w.valueAccessor.registerOnChange(O),w.valueAccessor.registerOnTouched(O)),re(A,w),A&&(w._invokeOnDestroyCallbacks(),A._registerOnCollectionChange(()=>{}))}function bt(A,w){A.forEach(B=>{B.registerOnValidatorChange&&B.registerOnValidatorChange(w)})}function ye(A,w){const B=Ee(A);null!==w.validator?A.setValidators(Ce(B,w.validator)):"function"==typeof B&&A.setValidators([B]);const O=Ae(A);null!==w.asyncValidator?A.setAsyncValidators(Ce(O,w.asyncValidator)):"function"==typeof O&&A.setAsyncValidators([O]);const H=()=>A.updateValueAndValidity();bt(w._rawValidators,H),bt(w._rawAsyncValidators,H)}function re(A,w){let B=!1;if(null!==A){if(null!==w.validator){const H=Ee(A);if(Array.isArray(H)&&H.length>0){const rt=H.filter(Ut=>Ut!==w.validator);rt.length!==H.length&&(B=!0,A.setValidators(rt))}}if(null!==w.asyncValidator){const H=Ae(A);if(Array.isArray(H)&&H.length>0){const rt=H.filter(Ut=>Ut!==w.asyncValidator);rt.length!==H.length&&(B=!0,A.setAsyncValidators(rt))}}}const O=()=>{};return bt(w._rawValidators,O),bt(w._rawAsyncValidators,O),B}function oe(A,w){A._pendingDirty&&A.markAsDirty(),A.setValue(A._pendingValue,{emitModelToViewChange:!1}),w.viewToModelUpdate(A._pendingValue),A._pendingChange=!1}function Ze(A,w){ye(A,w)}function Gn(A,w){if(!A.hasOwnProperty("model"))return!1;const B=A.model;return!!B.isFirstChange()||!Object.is(w,B.currentValue)}function Zr(A,w){A._syncPendingControls(),w.forEach(B=>{const O=B.control;"submit"===O.updateOn&&O._pendingChange&&(B.viewToModelUpdate(O._pendingValue),O._pendingChange=!1)})}function tn(A,w){if(!w)return null;let B,O,H;return Array.isArray(w),w.forEach(rt=>{rt.constructor===Te?B=rt:function Sr(A){return Object.getPrototypeOf(A.constructor)===ee}(rt)?O=rt:H=rt}),H||O||B||null}const io={provide:Ct,useExisting:(0,a.Gpc)(()=>An)},_n=(()=>Promise.resolve())();let An=(()=>{var A;class w extends Ct{constructor(O,H,rt){super(),this.callSetDisabledState=rt,this.submitted=!1,this._directives=new Set,this.ngSubmit=new a.vpe,this.form=new k({},Ne(O),Ge(H))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(O){_n.then(()=>{const H=this._findContainer(O.path);O.control=H.registerControl(O.name,O.control),lt(O.control,O,this.callSetDisabledState),O.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(O)})}getControl(O){return this.form.get(O.path)}removeControl(O){_n.then(()=>{const H=this._findContainer(O.path);H&&H.removeControl(O.name),this._directives.delete(O)})}addFormGroup(O){_n.then(()=>{const H=this._findContainer(O.path),rt=new k({});Ze(rt,O),H.registerControl(O.name,rt),rt.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(O){_n.then(()=>{const H=this._findContainer(O.path);H&&H.removeControl(O.name)})}getFormGroup(O){return this.form.get(O.path)}updateModel(O,H){_n.then(()=>{this.form.get(O.path).setValue(H)})}setValue(O){this.control.setValue(O)}onSubmit(O){return this.submitted=!0,Zr(this.form,this._directives),this.ngSubmit.emit(O),"dialog"===O?.target?.method}onReset(){this.resetForm()}resetForm(O=void 0){this.form.reset(O),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(O){return O.pop(),O.length?this.form.get(O):this.form}}return(A=w).\u0275fac=function(O){return new(O||A)(a.Y36(je,10),a.Y36(Le,10),a.Y36(Re,8))},A.\u0275dir=a.lG2({type:A,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(O,H){1&O&&a.NdJ("submit",function(Ut){return H.onSubmit(Ut)})("reset",function(){return H.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[a._Bn([io]),a.qOj]}),w})();function No(A,w){const B=A.indexOf(w);B>-1&&A.splice(B,1)}function fr(A){return"object"==typeof A&&null!==A&&2===Object.keys(A).length&&"value"in A&&"disabled"in A}const Mo=class extends ie{constructor(w=null,B,O){super(Ln(B),er(O,B)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(w),this._setUpdateStrategy(B),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),vr(B)&&(B.nonNullable||B.initialValueIsDefault)&&(this.defaultValue=fr(w)?w.value:w)}setValue(w,B={}){this.value=this._pendingValue=w,this._onChange.length&&!1!==B.emitModelToViewChange&&this._onChange.forEach(O=>O(this.value,!1!==B.emitViewToModelChange)),this.updateValueAndValidity(B)}patchValue(w,B={}){this.setValue(w,B)}reset(w=this.defaultValue,B={}){this._applyFormState(w),this.markAsPristine(B),this.markAsUntouched(B),this.setValue(this.value,B),this._pendingChange=!1}_updateValue(){}_anyControls(w){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(w){this._onChange.push(w)}_unregisterOnChange(w){No(this._onChange,w)}registerOnDisabledChange(w){this._onDisabledChange.push(w)}_unregisterOnDisabledChange(w){No(this._onDisabledChange,w)}_forEachChild(w){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(w){fr(w)?(this.value=this._pendingValue=w.value,w.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=w}},xo=Mo,Cs={provide:Yt,useExisting:(0,a.Gpc)(()=>Br)},Hs=(()=>Promise.resolve())();let Br=(()=>{var A;class w extends Yt{constructor(O,H,rt,Ut,xr,Yr){super(),this._changeDetectorRef=xr,this.callSetDisabledState=Yr,this.control=new Mo,this._registered=!1,this.name="",this.update=new a.vpe,this._parent=O,this._setValidators(H),this._setAsyncValidators(rt),this.valueAccessor=tn(0,Ut)}ngOnChanges(O){if(this._checkForErrors(),!this._registered||"name"in O){if(this._registered&&(this._checkName(),this.formDirective)){const H=O.name.previousValue;this.formDirective.removeControl({name:H,path:this._getPath(H)})}this._setUpControl()}"isDisabled"in O&&this._updateDisabled(O),Gn(O,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(O){this.viewModel=O,this.update.emit(O)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){lt(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(O){Hs.then(()=>{this.control.setValue(O,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(O){const H=O.isDisabled.currentValue,rt=0!==H&&(0,a.VuI)(H);Hs.then(()=>{rt&&!this.control.disabled?this.control.disable():!rt&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(O){return this._parent?function vt(A,w){return[...w.path,A]}(O,this._parent):[O]}}return(A=w).\u0275fac=function(O){return new(O||A)(a.Y36(Ct,9),a.Y36(je,10),a.Y36(Le,10),a.Y36(ae,10),a.Y36(a.sBO,8),a.Y36(Re,8))},A.\u0275dir=a.lG2({type:A,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[a._Bn([Cs]),a.qOj,a.TTD]}),w})(),$s=(()=>{var A;class w{}return(A=w).\u0275fac=function(O){return new(O||A)},A.\u0275dir=a.lG2({type:A,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),w})();const Ar={provide:ae,useExisting:(0,a.Gpc)(()=>Zo),multi:!0};let Zo=(()=>{var A;class w extends ee{writeValue(O){this.setProperty("value",O??"")}registerOnChange(O){this.onChange=H=>{O(""==H?null:parseFloat(H))}}}return(A=w).\u0275fac=function(){let B;return function(H){return(B||(B=a.n5z(A)))(H||A)}}(),A.\u0275dir=a.lG2({type:A,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(O,H){1&O&&a.NdJ("input",function(Ut){return H.onChange(Ut.target.value)})("blur",function(){return H.onTouched()})},features:[a._Bn([Ar]),a.qOj]}),w})(),ws=(()=>{var A;class w{}return(A=w).\u0275fac=function(O){return new(O||A)},A.\u0275mod=a.oAB({type:A}),A.\u0275inj=a.cJS({}),w})();const bn=new a.OlP("NgModelWithFormControlWarning"),Un={provide:Yt,useExisting:(0,a.Gpc)(()=>go)};let go=(()=>{var A;class w extends Yt{set isDisabled(O){}constructor(O,H,rt,Ut,xr){super(),this._ngModelWarningConfig=Ut,this.callSetDisabledState=xr,this.update=new a.vpe,this._ngModelWarningSent=!1,this._setValidators(O),this._setAsyncValidators(H),this.valueAccessor=tn(0,rt)}ngOnChanges(O){if(this._isControlChanged(O)){const H=O.form.previousValue;H&&Lt(H,this,!1),lt(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Gn(O,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Lt(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(O){this.viewModel=O,this.update.emit(O)}_isControlChanged(O){return O.hasOwnProperty("form")}}return(A=w)._ngModelWarningSentOnce=!1,A.\u0275fac=function(O){return new(O||A)(a.Y36(je,10),a.Y36(Le,10),a.Y36(ae,10),a.Y36(bn,8),a.Y36(Re,8))},A.\u0275dir=a.lG2({type:A,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[a._Bn([Un]),a.qOj,a.TTD]}),w})();const Or={provide:Ct,useExisting:(0,a.Gpc)(()=>Ms)};let Ms=(()=>{var A;class w extends Ct{constructor(O,H,rt){super(),this.callSetDisabledState=rt,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new a.vpe,this._setValidators(O),this._setAsyncValidators(H)}ngOnChanges(O){this._checkFormPresent(),O.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(re(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(O){const H=this.form.get(O.path);return lt(H,O,this.callSetDisabledState),H.updateValueAndValidity({emitEvent:!1}),this.directives.push(O),H}getControl(O){return this.form.get(O.path)}removeControl(O){Lt(O.control||null,O,!1),function wn(A,w){const B=A.indexOf(w);B>-1&&A.splice(B,1)}(this.directives,O)}addFormGroup(O){this._setUpFormContainer(O)}removeFormGroup(O){this._cleanUpFormContainer(O)}getFormGroup(O){return this.form.get(O.path)}addFormArray(O){this._setUpFormContainer(O)}removeFormArray(O){this._cleanUpFormContainer(O)}getFormArray(O){return this.form.get(O.path)}updateModel(O,H){this.form.get(O.path).setValue(H)}onSubmit(O){return this.submitted=!0,Zr(this.form,this.directives),this.ngSubmit.emit(O),"dialog"===O?.target?.method}onReset(){this.resetForm()}resetForm(O=void 0){this.form.reset(O),this.submitted=!1}_updateDomValue(){this.directives.forEach(O=>{const H=O.control,rt=this.form.get(O.path);H!==rt&&(Lt(H||null,O),(A=>A instanceof Mo)(rt)&&(lt(rt,O,this.callSetDisabledState),O.control=rt))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(O){const H=this.form.get(O.path);Ze(H,O),H.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(O){if(this.form){const H=this.form.get(O.path);H&&function ke(A,w){return re(A,w)}(H,O)&&H.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){ye(this.form,this),this._oldForm&&re(this._oldForm,this)}_checkFormPresent(){}}return(A=w).\u0275fac=function(O){return new(O||A)(a.Y36(je,10),a.Y36(Le,10),a.Y36(Re,8))},A.\u0275dir=a.lG2({type:A,selectors:[["","formGroup",""]],hostBindings:function(O,H){1&O&&a.NdJ("submit",function(Ut){return H.onSubmit(Ut)})("reset",function(){return H.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[a._Bn([Or]),a.qOj,a.TTD]}),w})();const Pn={provide:ae,useExisting:(0,a.Gpc)(()=>qn),multi:!0};function Cr(A,w){return null==A?`${w}`:(w&&"object"==typeof w&&(w="Object"),`${A}: ${w}`.slice(0,50))}let qn=(()=>{var A;class w extends ee{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(O){this._compareWith=O}writeValue(O){this.value=O;const rt=Cr(this._getOptionId(O),O);this.setProperty("value",rt)}registerOnChange(O){this.onChange=H=>{this.value=this._getOptionValue(H),O(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(O){for(const H of this._optionMap.keys())if(this._compareWith(this._optionMap.get(H),O))return H;return null}_getOptionValue(O){const H=function Io(A){return A.split(":")[0]}(O);return this._optionMap.has(H)?this._optionMap.get(H):O}}return(A=w).\u0275fac=function(){let B;return function(H){return(B||(B=a.n5z(A)))(H||A)}}(),A.\u0275dir=a.lG2({type:A,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(O,H){1&O&&a.NdJ("change",function(Ut){return H.onChange(Ut.target.value)})("blur",function(){return H.onTouched()})},inputs:{compareWith:"compareWith"},features:[a._Bn([Pn]),a.qOj]}),w})(),mo=(()=>{var A;class w{constructor(O,H,rt){this._element=O,this._renderer=H,this._select=rt,this._select&&(this.id=this._select._registerOption())}set ngValue(O){null!=this._select&&(this._select._optionMap.set(this.id,O),this._setElementValue(Cr(this.id,O)),this._select.writeValue(this._select.value))}set value(O){this._setElementValue(O),this._select&&this._select.writeValue(this._select.value)}_setElementValue(O){this._renderer.setProperty(this._element.nativeElement,"value",O)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return(A=w).\u0275fac=function(O){return new(O||A)(a.Y36(a.SBq),a.Y36(a.Qsj),a.Y36(qn,9))},A.\u0275dir=a.lG2({type:A,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),w})();const Wn={provide:ae,useExisting:(0,a.Gpc)(()=>Kr),multi:!0};function _o(A,w){return null==A?`${w}`:("string"==typeof w&&(w=`'${w}'`),w&&"object"==typeof w&&(w="Object"),`${A}: ${w}`.slice(0,50))}let Kr=(()=>{var A;class w extends ee{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(O){this._compareWith=O}writeValue(O){let H;if(this.value=O,Array.isArray(O)){const rt=O.map(Ut=>this._getOptionId(Ut));H=(Ut,xr)=>{Ut._setSelected(rt.indexOf(xr.toString())>-1)}}else H=(rt,Ut)=>{rt._setSelected(!1)};this._optionMap.forEach(H)}registerOnChange(O){this.onChange=H=>{const rt=[],Ut=H.selectedOptions;if(void 0!==Ut){const xr=Ut;for(let Yr=0;Yr<xr.length;Yr++){const yo=this._getOptionValue(xr[Yr].value);rt.push(yo)}}else{const xr=H.options;for(let Yr=0;Yr<xr.length;Yr++){const ds=xr[Yr];if(ds.selected){const yo=this._getOptionValue(ds.value);rt.push(yo)}}}this.value=rt,O(rt)}}_registerOption(O){const H=(this._idCounter++).toString();return this._optionMap.set(H,O),H}_getOptionId(O){for(const H of this._optionMap.keys())if(this._compareWith(this._optionMap.get(H)._value,O))return H;return null}_getOptionValue(O){const H=function ao(A){return A.split(":")[0]}(O);return this._optionMap.has(H)?this._optionMap.get(H)._value:O}}return(A=w).\u0275fac=function(){let B;return function(H){return(B||(B=a.n5z(A)))(H||A)}}(),A.\u0275dir=a.lG2({type:A,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(O,H){1&O&&a.NdJ("change",function(Ut){return H.onChange(Ut.target)})("blur",function(){return H.onTouched()})},inputs:{compareWith:"compareWith"},features:[a._Bn([Wn]),a.qOj]}),w})(),Ts=(()=>{var A;class w{constructor(O,H,rt){this._element=O,this._renderer=H,this._select=rt,this._select&&(this.id=this._select._registerOption(this))}set ngValue(O){null!=this._select&&(this._value=O,this._setElementValue(_o(this.id,O)),this._select.writeValue(this._select.value))}set value(O){this._select?(this._value=O,this._setElementValue(_o(this.id,O)),this._select.writeValue(this._select.value)):this._setElementValue(O)}_setElementValue(O){this._renderer.setProperty(this._element.nativeElement,"value",O)}_setSelected(O){this._renderer.setProperty(this._element.nativeElement,"selected",O)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return(A=w).\u0275fac=function(O){return new(O||A)(a.Y36(a.SBq),a.Y36(a.Qsj),a.Y36(Kr,9))},A.\u0275dir=a.lG2({type:A,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),w})();let lo=(()=>{var A;class w{constructor(){this._validator=It}ngOnChanges(O){if(this.inputName in O){const H=this.normalizeInput(O[this.inputName].currentValue);this._enabled=this.enabled(H),this._validator=this._enabled?this.createValidator(H):It,this._onChange&&this._onChange()}}validate(O){return this._validator(O)}registerOnValidatorChange(O){this._onChange=O}enabled(O){return null!=O}}return(A=w).\u0275fac=function(O){return new(O||A)},A.\u0275dir=a.lG2({type:A,features:[a.TTD]}),w})();const Yo={provide:je,useExisting:(0,a.Gpc)(()=>Hr),multi:!0};let Hr=(()=>{var A;class w extends lo{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=O=>function Zn(A){return"number"==typeof A?A:parseFloat(A)}(O),this.createValidator=O=>De(O)}}return(A=w).\u0275fac=function(){let B;return function(H){return(B||(B=a.n5z(A)))(H||A)}}(),A.\u0275dir=a.lG2({type:A,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(O,H){2&O&&a.uIk("max",H._enabled?H.max:null)},inputs:{max:"max"},features:[a._Bn([Yo]),a.qOj]}),w})();const qo={provide:je,useExisting:(0,a.Gpc)(()=>Qo),multi:!0},co={provide:je,useExisting:(0,a.Gpc)(()=>uo),multi:!0};let Qo=(()=>{var A;class w extends lo{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=a.VuI,this.createValidator=O=>me}enabled(O){return O}}return(A=w).\u0275fac=function(){let B;return function(H){return(B||(B=a.n5z(A)))(H||A)}}(),A.\u0275dir=a.lG2({type:A,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(O,H){2&O&&a.uIk("required",H._enabled?"":null)},inputs:{required:"required"},features:[a._Bn([qo]),a.qOj]}),w})(),uo=(()=>{var A;class w extends Qo{constructor(){super(...arguments),this.createValidator=O=>Se}}return(A=w).\u0275fac=function(){let B;return function(H){return(B||(B=a.n5z(A)))(H||A)}}(),A.\u0275dir=a.lG2({type:A,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(O,H){2&O&&a.uIk("required",H._enabled?"":null)},features:[a._Bn([co]),a.qOj]}),w})();const Rn={provide:je,useExisting:(0,a.Gpc)(()=>Vo),multi:!0};let Vo=(()=>{var A;class w extends lo{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=O=>function Bo(A){return"number"==typeof A?A:parseInt(A,10)}(O),this.createValidator=O=>st(O)}}return(A=w).\u0275fac=function(){let B;return function(H){return(B||(B=a.n5z(A)))(H||A)}}(),A.\u0275dir=a.lG2({type:A,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(O,H){2&O&&a.uIk("maxlength",H._enabled?H.maxlength:null)},inputs:{maxlength:"maxlength"},features:[a._Bn([Rn]),a.qOj]}),w})(),tr=(()=>{var A;class w{}return(A=w).\u0275fac=function(O){return new(O||A)},A.\u0275mod=a.oAB({type:A}),A.\u0275inj=a.cJS({imports:[ws]}),w})(),Zs=(()=>{var A;class w{static withConfig(O){return{ngModule:w,providers:[{provide:Re,useValue:O.callSetDisabledState??Qe}]}}}return(A=w).\u0275fac=function(O){return new(O||A)},A.\u0275mod=a.oAB({type:A}),A.\u0275inj=a.cJS({imports:[tr]}),w})(),ci=(()=>{var A;class w{static withConfig(O){return{ngModule:w,providers:[{provide:bn,useValue:O.warnOnNgModelWithFormControl??"always"},{provide:Re,useValue:O.callSetDisabledState??Qe}]}}}return(A=w).\u0275fac=function(O){return new(O||A)},A.\u0275mod=a.oAB({type:A}),A.\u0275inj=a.cJS({imports:[tr]}),w})()},6593:(tt,ve,I)=>{I.d(ve,{Dx:()=>Vn,H7:()=>zn,b2:()=>xt,q6:()=>Dt,se:()=>$e});var a=I(5879),u=I(6814);class G extends u.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class ne extends G{static makeCurrent(){(0,u.HT)(new ne)}onAndCancel(x,te,L){return x.addEventListener(te,L),()=>{x.removeEventListener(te,L)}}dispatchEvent(x,te){x.dispatchEvent(te)}remove(x){x.parentNode&&x.parentNode.removeChild(x)}createElement(x,te){return(te=te||this.getDefaultDocument()).createElement(x)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(x){return x.nodeType===Node.ELEMENT_NODE}isShadowRoot(x){return x instanceof DocumentFragment}getGlobalEventTarget(x,te){return"window"===te?window:"document"===te?x:"body"===te?x.body:null}getBaseHref(x){const te=function $(){return z=z||document.querySelector("base"),z?z.getAttribute("href"):null}();return null==te?null:function ae(k){ee=ee||document.createElement("a"),ee.setAttribute("href",k);const x=ee.pathname;return"/"===x.charAt(0)?x:`/${x}`}(te)}resetBaseElement(){z=null}getUserAgent(){return window.navigator.userAgent}getCookie(x){return(0,u.Mx)(document.cookie,x)}}let ee,z=null,U=(()=>{var k;class x{build(){return new XMLHttpRequest}}return(k=x).\u0275fac=function(L){return new(L||k)},k.\u0275prov=a.Yz7({token:k,factory:k.\u0275fac}),x})();const J=new a.OlP("EventManagerPlugins");let fe=(()=>{var k;class x{constructor(L,se){this._zone=se,this._eventNameToPlugin=new Map,L.forEach(Re=>{Re.manager=this}),this._plugins=L.slice().reverse()}addEventListener(L,se,Re){return this._findPluginFor(se).addEventListener(L,se,Re)}getZone(){return this._zone}_findPluginFor(L){let se=this._eventNameToPlugin.get(L);if(se)return se;if(se=this._plugins.find(Qe=>Qe.supports(L)),!se)throw new a.vHH(5101,!1);return this._eventNameToPlugin.set(L,se),se}}return(k=x).\u0275fac=function(L){return new(L||k)(a.LFG(J),a.LFG(a.R0b))},k.\u0275prov=a.Yz7({token:k,factory:k.\u0275fac}),x})();class xe{constructor(x){this._doc=x}}const Te="ng-app-id";let Ye=(()=>{var k;class x{constructor(L,se,Re,Qe={}){this.doc=L,this.appId=se,this.nonce=Re,this.platformId=Qe,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,u.PM)(Qe),this.resetHostNodes()}addStyles(L){for(const se of L)1===this.changeUsageCount(se,1)&&this.onStyleAdded(se)}removeStyles(L){for(const se of L)this.changeUsageCount(se,-1)<=0&&this.onStyleRemoved(se)}ngOnDestroy(){const L=this.styleNodesInDOM;L&&(L.forEach(se=>se.remove()),L.clear());for(const se of this.getAllStyles())this.onStyleRemoved(se);this.resetHostNodes()}addHost(L){this.hostNodes.add(L);for(const se of this.getAllStyles())this.addStyleToHost(L,se)}removeHost(L){this.hostNodes.delete(L)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(L){for(const se of this.hostNodes)this.addStyleToHost(se,L)}onStyleRemoved(L){const se=this.styleRef;se.get(L)?.elements?.forEach(Re=>Re.remove()),se.delete(L)}collectServerRenderedStyles(){const L=this.doc.head?.querySelectorAll(`style[${Te}="${this.appId}"]`);if(L?.length){const se=new Map;return L.forEach(Re=>{null!=Re.textContent&&se.set(Re.textContent,Re)}),se}return null}changeUsageCount(L,se){const Re=this.styleRef;if(Re.has(L)){const Qe=Re.get(L);return Qe.usage+=se,Qe.usage}return Re.set(L,{usage:se,elements:[]}),se}getStyleElement(L,se){const Re=this.styleNodesInDOM,Qe=Re?.get(se);if(Qe?.parentNode===L)return Re.delete(se),Qe.removeAttribute(Te),Qe;{const vt=this.doc.createElement("style");return this.nonce&&vt.setAttribute("nonce",this.nonce),vt.textContent=se,this.platformIsServer&&vt.setAttribute(Te,this.appId),vt}}addStyleToHost(L,se){const Re=this.getStyleElement(L,se);L.appendChild(Re);const Qe=this.styleRef,vt=Qe.get(se)?.elements;vt?vt.push(Re):Qe.set(se,{elements:[Re],usage:1})}resetHostNodes(){const L=this.hostNodes;L.clear(),L.add(this.doc.head)}}return(k=x).\u0275fac=function(L){return new(L||k)(a.LFG(u.K0),a.LFG(a.AFp),a.LFG(a.Ojb,8),a.LFG(a.Lbi))},k.\u0275prov=a.Yz7({token:k,factory:k.\u0275fac}),x})();const Oe={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,De=new a.OlP("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function We(k,x){return x.map(te=>te.replace(je,k))}let $e=(()=>{var k;class x{constructor(L,se,Re,Qe,vt,lt,Lt,bt=null){this.eventManager=L,this.sharedStylesHost=se,this.appId=Re,this.removeStylesOnCompDestroy=Qe,this.doc=vt,this.platformId=lt,this.ngZone=Lt,this.nonce=bt,this.rendererByCompId=new Map,this.platformIsServer=(0,u.PM)(lt),this.defaultRenderer=new st(L,vt,Lt,this.platformIsServer)}createRenderer(L,se){if(!L||!se)return this.defaultRenderer;this.platformIsServer&&se.encapsulation===a.ifc.ShadowDom&&(se={...se,encapsulation:a.ifc.Emulated});const Re=this.getOrCreateRenderer(L,se);return Re instanceof on?Re.applyToHost(L):Re instanceof pn&&Re.applyStyles(),Re}getOrCreateRenderer(L,se){const Re=this.rendererByCompId;let Qe=Re.get(se.id);if(!Qe){const vt=this.doc,lt=this.ngZone,Lt=this.eventManager,bt=this.sharedStylesHost,Qt=this.removeStylesOnCompDestroy,ye=this.platformIsServer;switch(se.encapsulation){case a.ifc.Emulated:Qe=new on(Lt,bt,se,this.appId,Qt,vt,lt,ye);break;case a.ifc.ShadowDom:return new en(Lt,bt,L,se,vt,lt,this.nonce,ye);default:Qe=new pn(Lt,bt,se,Qt,vt,lt,ye)}Re.set(se.id,Qe)}return Qe}ngOnDestroy(){this.rendererByCompId.clear()}}return(k=x).\u0275fac=function(L){return new(L||k)(a.LFG(fe),a.LFG(Ye),a.LFG(a.AFp),a.LFG(De),a.LFG(u.K0),a.LFG(a.Lbi),a.LFG(a.R0b),a.LFG(a.Ojb))},k.\u0275prov=a.Yz7({token:k,factory:k.\u0275fac}),x})();class st{constructor(x,te,L,se){this.eventManager=x,this.doc=te,this.ngZone=L,this.platformIsServer=se,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(x,te){return te?this.doc.createElementNS(Oe[te]||te,x):this.doc.createElement(x)}createComment(x){return this.doc.createComment(x)}createText(x){return this.doc.createTextNode(x)}appendChild(x,te){(St(x)?x.content:x).appendChild(te)}insertBefore(x,te,L){x&&(St(x)?x.content:x).insertBefore(te,L)}removeChild(x,te){x&&x.removeChild(te)}selectRootElement(x,te){let L="string"==typeof x?this.doc.querySelector(x):x;if(!L)throw new a.vHH(-5104,!1);return te||(L.textContent=""),L}parentNode(x){return x.parentNode}nextSibling(x){return x.nextSibling}setAttribute(x,te,L,se){if(se){te=se+":"+te;const Re=Oe[se];Re?x.setAttributeNS(Re,te,L):x.setAttribute(te,L)}else x.setAttribute(te,L)}removeAttribute(x,te,L){if(L){const se=Oe[L];se?x.removeAttributeNS(se,te):x.removeAttribute(`${L}:${te}`)}else x.removeAttribute(te)}addClass(x,te){x.classList.add(te)}removeClass(x,te){x.classList.remove(te)}setStyle(x,te,L,se){se&(a.JOm.DashCase|a.JOm.Important)?x.style.setProperty(te,L,se&a.JOm.Important?"important":""):x.style[te]=L}removeStyle(x,te,L){L&a.JOm.DashCase?x.style.removeProperty(te):x.style[te]=""}setProperty(x,te,L){x[te]=L}setValue(x,te){x.nodeValue=te}listen(x,te,L){if("string"==typeof x&&!(x=(0,u.q)().getGlobalEventTarget(this.doc,x)))throw new Error(`Unsupported event target ${x} for event ${te}`);return this.eventManager.addEventListener(x,te,this.decoratePreventDefault(L))}decoratePreventDefault(x){return te=>{if("__ngUnwrap__"===te)return x;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>x(te)):x(te))&&te.preventDefault()}}}function St(k){return"TEMPLATE"===k.tagName&&void 0!==k.content}class en extends st{constructor(x,te,L,se,Re,Qe,vt,lt){super(x,Re,Qe,lt),this.sharedStylesHost=te,this.hostEl=L,this.shadowRoot=L.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Lt=We(se.id,se.styles);for(const bt of Lt){const Qt=document.createElement("style");vt&&Qt.setAttribute("nonce",vt),Qt.textContent=bt,this.shadowRoot.appendChild(Qt)}}nodeOrShadowRoot(x){return x===this.hostEl?this.shadowRoot:x}appendChild(x,te){return super.appendChild(this.nodeOrShadowRoot(x),te)}insertBefore(x,te,L){return super.insertBefore(this.nodeOrShadowRoot(x),te,L)}removeChild(x,te){return super.removeChild(this.nodeOrShadowRoot(x),te)}parentNode(x){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(x)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class pn extends st{constructor(x,te,L,se,Re,Qe,vt,lt){super(x,Re,Qe,vt),this.sharedStylesHost=te,this.removeStylesOnCompDestroy=se,this.styles=lt?We(lt,L.styles):L.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class on extends pn{constructor(x,te,L,se,Re,Qe,vt,lt){const Lt=se+"-"+L.id;super(x,te,L,Re,Qe,vt,lt,Lt),this.contentAttr=function me(k){return"_ngcontent-%COMP%".replace(je,k)}(Lt),this.hostAttr=function Se(k){return"_nghost-%COMP%".replace(je,k)}(Lt)}applyToHost(x){this.applyStyles(),this.setAttribute(x,this.hostAttr,"")}createElement(x,te){const L=super.createElement(x,te);return super.setAttribute(L,this.contentAttr,""),L}}let or=(()=>{var k;class x extends xe{constructor(L){super(L)}supports(L){return!0}addEventListener(L,se,Re){return L.addEventListener(se,Re,!1),()=>this.removeEventListener(L,se,Re)}removeEventListener(L,se,Re){return L.removeEventListener(se,Re)}}return(k=x).\u0275fac=function(L){return new(L||k)(a.LFG(u.K0))},k.\u0275prov=a.Yz7({token:k,factory:k.\u0275fac}),x})();const _r=["alt","control","meta","shift"],Pe={"\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"},Ne={alt:k=>k.altKey,control:k=>k.ctrlKey,meta:k=>k.metaKey,shift:k=>k.shiftKey};let Ue=(()=>{var k;class x extends xe{constructor(L){super(L)}supports(L){return null!=x.parseEventName(L)}addEventListener(L,se,Re){const Qe=x.parseEventName(se),vt=x.eventCallback(Qe.fullKey,Re,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,u.q)().onAndCancel(L,Qe.domEventName,vt))}static parseEventName(L){const se=L.toLowerCase().split("."),Re=se.shift();if(0===se.length||"keydown"!==Re&&"keyup"!==Re)return null;const Qe=x._normalizeKey(se.pop());let vt="",lt=se.indexOf("code");if(lt>-1&&(se.splice(lt,1),vt="code."),_r.forEach(bt=>{const Qt=se.indexOf(bt);Qt>-1&&(se.splice(Qt,1),vt+=bt+".")}),vt+=Qe,0!=se.length||0===Qe.length)return null;const Lt={};return Lt.domEventName=Re,Lt.fullKey=vt,Lt}static matchEventFullKeyCode(L,se){let Re=Pe[L.key]||L.key,Qe="";return se.indexOf("code.")>-1&&(Re=L.code,Qe="code."),!(null==Re||!Re)&&(Re=Re.toLowerCase()," "===Re?Re="space":"."===Re&&(Re="dot"),_r.forEach(vt=>{vt!==Re&&(0,Ne[vt])(L)&&(Qe+=vt+".")}),Qe+=Re,Qe===se)}static eventCallback(L,se,Re){return Qe=>{x.matchEventFullKeyCode(Qe,L)&&Re.runGuarded(()=>se(Qe))}}static _normalizeKey(L){return"esc"===L?"escape":L}}return(k=x).\u0275fac=function(L){return new(L||k)(a.LFG(u.K0))},k.\u0275prov=a.Yz7({token:k,factory:k.\u0275fac}),x})();const Dt=(0,a.eFA)(a._c5,"browser",[{provide:a.Lbi,useValue:u.bD},{provide:a.g9A,useValue:function _e(){ne.makeCurrent()},multi:!0},{provide:u.K0,useFactory:function Xe(){return(0,a.RDi)(document),document},deps:[]}]),Ct=new a.OlP(""),Yt=[{provide:a.rWj,useClass:class de{addToWindow(x){a.dqk.getAngularTestability=(L,se=!0)=>{const Re=x.findTestabilityInTree(L,se);if(null==Re)throw new a.vHH(5103,!1);return Re},a.dqk.getAllAngularTestabilities=()=>x.getAllTestabilities(),a.dqk.getAllAngularRootElements=()=>x.getAllRootElements(),a.dqk.frameworkStabilizers||(a.dqk.frameworkStabilizers=[]),a.dqk.frameworkStabilizers.push(L=>{const se=a.dqk.getAllAngularTestabilities();let Re=se.length,Qe=!1;const vt=function(lt){Qe=Qe||lt,Re--,0==Re&&L(Qe)};se.forEach(lt=>{lt.whenStable(vt)})})}findTestabilityInTree(x,te,L){return null==te?null:x.getTestability(te)??(L?(0,u.q)().isShadowRoot(te)?this.findTestabilityInTree(x,te.host,!0):this.findTestabilityInTree(x,te.parentElement,!0):null)}},deps:[]},{provide:a.lri,useClass:a.dDg,deps:[a.R0b,a.eoX,a.rWj]},{provide:a.dDg,useClass:a.dDg,deps:[a.R0b,a.eoX,a.rWj]}],sn=[{provide:a.zSh,useValue:"root"},{provide:a.qLn,useFactory:function pe(){return new a.qLn},deps:[]},{provide:J,useClass:or,multi:!0,deps:[u.K0,a.R0b,a.Lbi]},{provide:J,useClass:Ue,multi:!0,deps:[u.K0]},$e,Ye,fe,{provide:a.FYo,useExisting:$e},{provide:u.JF,useClass:U,deps:[]},[]];let xt=(()=>{var k;class x{constructor(L){}static withServerTransition(L){return{ngModule:x,providers:[{provide:a.AFp,useValue:L.appId}]}}}return(k=x).\u0275fac=function(L){return new(L||k)(a.LFG(Ct,12))},k.\u0275mod=a.oAB({type:k}),k.\u0275inj=a.cJS({providers:[...sn,...Yt],imports:[u.ez,a.hGG]}),x})(),Vn=(()=>{var k;class x{constructor(L){this._doc=L}getTitle(){return this._doc.title}setTitle(L){this._doc.title=L||""}}return(k=x).\u0275fac=function(L){return new(L||k)(a.LFG(u.K0))},k.\u0275prov=a.Yz7({token:k,factory:function(L){let se=null;return se=L?new L:function Jn(){return new Vn((0,a.LFG)(u.K0))}(),se},providedIn:"root"}),x})();typeof window<"u"&&window;let zn=(()=>{var k;class x{}return(k=x).\u0275fac=function(L){return new(L||k)},k.\u0275prov=a.Yz7({token:k,factory:function(L){let se=null;return se=L?new(L||k):a.LFG(En),se},providedIn:"root"}),x})(),En=(()=>{var k;class x extends zn{constructor(L){super(),this._doc=L}sanitize(L,se){if(null==se)return null;switch(L){case a.q3G.NONE:return se;case a.q3G.HTML:return(0,a.qzn)(se,"HTML")?(0,a.z3N)(se):(0,a.EiD)(this._doc,String(se)).toString();case a.q3G.STYLE:return(0,a.qzn)(se,"Style")?(0,a.z3N)(se):se;case a.q3G.SCRIPT:if((0,a.qzn)(se,"Script"))return(0,a.z3N)(se);throw new a.vHH(5200,!1);case a.q3G.URL:return(0,a.qzn)(se,"URL")?(0,a.z3N)(se):(0,a.mCW)(String(se));case a.q3G.RESOURCE_URL:if((0,a.qzn)(se,"ResourceURL"))return(0,a.z3N)(se);throw new a.vHH(5201,!1);default:throw new a.vHH(5202,!1)}}bypassSecurityTrustHtml(L){return(0,a.JVY)(L)}bypassSecurityTrustStyle(L){return(0,a.L6k)(L)}bypassSecurityTrustScript(L){return(0,a.eBb)(L)}bypassSecurityTrustUrl(L){return(0,a.LAX)(L)}bypassSecurityTrustResourceUrl(L){return(0,a.pB0)(L)}}return(k=x).\u0275fac=function(L){return new(L||k)(a.LFG(u.K0))},k.\u0275prov=a.Yz7({token:k,factory:function(L){let se=null;return se=L?new L:function Fn(k){return new En(k.get(u.K0))}(a.LFG(a.zs3)),se},providedIn:"root"}),x})()},8184:(tt,ve,I)=>{I.d(ve,{F0:()=>ur,rH:()=>rs,Od:()=>Bn,Bz:()=>Da,lC:()=>Io});var a=I(5879),u=I(5592),G=I(4674),z=I(2459),$=I(2096),ee=I(5619),ae=I(2572),de=I(6973),U=I(5211),J=I(4911),fe=I(8407),xe=I(8504),Te=I(6232),Ye=I(7394),Oe=I(9360),je=I(8251);function Le(){return(0,Oe.e)((h,_)=>{let C=null;h._refCount++;const y=(0,je.x)(_,void 0,void 0,void 0,()=>{if(!h||h._refCount<=0||0<--h._refCount)return void(C=null);const M=h._connection,F=C;C=null,M&&(!F||M===F)&&M.unsubscribe(),_.unsubscribe()});h.subscribe(y),y.closed||(C=h.connect())})}class et extends u.y{constructor(_,C){super(),this.source=_,this.subjectFactory=C,this._subject=null,this._refCount=0,this._connection=null,(0,Oe.A)(_)&&(this.lift=_.lift)}_subscribe(_){return this.getSubject().subscribe(_)}getSubject(){const _=this._subject;return(!_||_.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:_}=this;this._subject=this._connection=null,_?.unsubscribe()}connect(){let _=this._connection;if(!_){_=this._connection=new Ye.w0;const C=this.getSubject();_.add(this.source.subscribe((0,je.x)(C,void 0,()=>{this._teardown(),C.complete()},y=>{this._teardown(),C.error(y)},()=>this._teardown()))),_.closed&&(this._connection=null,_=Ye.w0.EMPTY)}return _}refCount(){return Le()(this)}}var Ve=I(8645),Z=I(6814),De=I(7398),me=I(4664),Se=I(8180),We=I(7921),$e=I(2181),st=I(1631),ht=I(1374),It=I(6328),St=I(9397),en=I(6306);var or=I(3572);function _r(h){return h<=0?()=>Te.E:(0,Oe.e)((_,C)=>{let y=[];_.subscribe((0,je.x)(C,M=>{y.push(M),h<y.length&&y.shift()},()=>{for(const M of y)C.next(M);C.complete()},void 0,()=>{y=null}))})}var Pe=I(3026),Ne=I(2737),Ge=I(975),Ce=I(4716),Ee=I(9773),Ae=I(7537),_e=I(6593);const pe="primary",Xe=Symbol("RouteTitle");class pt{constructor(_){this.params=_||{}}has(_){return Object.prototype.hasOwnProperty.call(this.params,_)}get(_){if(this.has(_)){const C=this.params[_];return Array.isArray(C)?C[0]:C}return null}getAll(_){if(this.has(_)){const C=this.params[_];return Array.isArray(C)?C:[C]}return[]}get keys(){return Object.keys(this.params)}}function Dt(h){return new pt(h)}function Ct(h,_,C){const y=C.path.split("/");if(y.length>h.length||"full"===C.pathMatch&&(_.hasChildren()||y.length<h.length))return null;const M={};for(let F=0;F<y.length;F++){const j=y[F],we=h[F];if(j.startsWith(":"))M[j.substring(1)]=we;else if(j!==we.path)return null}return{consumed:h.slice(0,y.length),posParams:M}}function sn(h,_){const C=h?Object.keys(h):void 0,y=_?Object.keys(_):void 0;if(!C||!y||C.length!=y.length)return!1;let M;for(let F=0;F<C.length;F++)if(M=C[F],!xt(h[M],_[M]))return!1;return!0}function xt(h,_){if(Array.isArray(h)&&Array.isArray(_)){if(h.length!==_.length)return!1;const C=[...h].sort(),y=[..._].sort();return C.every((M,F)=>y[F]===M)}return h===_}function xn(h){return h.length>0?h[h.length-1]:null}function Sn(h){return function ne(h){return!!h&&(h instanceof u.y||(0,G.m)(h.lift)&&(0,G.m)(h.subscribe))}(h)?h:(0,a.QGY)(h)?(0,z.D)(Promise.resolve(h)):(0,$.of)(h)}const yr={exact:function Xn(h,_,C){if(!Ur(h.segments,_.segments)||!rn(h.segments,_.segments,C)||h.numberOfChildren!==_.numberOfChildren)return!1;for(const y in _.children)if(!h.children[y]||!Xn(h.children[y],_.children[y],C))return!1;return!0},subset:Vt},Jn={exact:function sr(h,_){return sn(h,_)},subset:function ct(h,_){return Object.keys(_).length<=Object.keys(h).length&&Object.keys(_).every(C=>xt(h[C],_[C]))},ignored:()=>!0};function Vn(h,_,C){return yr[C.paths](h.root,_.root,C.matrixParams)&&Jn[C.queryParams](h.queryParams,_.queryParams)&&!("exact"===C.fragment&&h.fragment!==_.fragment)}function Vt(h,_,C){return Tt(h,_,_.segments,C)}function Tt(h,_,C,y){if(h.segments.length>C.length){const M=h.segments.slice(0,C.length);return!(!Ur(M,C)||_.hasChildren()||!rn(M,C,y))}if(h.segments.length===C.length){if(!Ur(h.segments,C)||!rn(h.segments,C,y))return!1;for(const M in _.children)if(!h.children[M]||!Vt(h.children[M],_.children[M],y))return!1;return!0}{const M=C.slice(0,h.segments.length),F=C.slice(h.segments.length);return!!(Ur(h.segments,M)&&rn(h.segments,M,y)&&h.children[pe])&&Tt(h.children[pe],_,F,y)}}function rn(h,_,C){return _.every((y,M)=>Jn[C](h[M].parameters,y.parameters))}class jn{constructor(_=new jt([],{}),C={},y=null){this.root=_,this.queryParams=C,this.fragment=y}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Dt(this.queryParams)),this._queryParamMap}toString(){return Mn.serialize(this)}}class jt{constructor(_,C){this.segments=_,this.children=C,this.parent=null,Object.values(C).forEach(y=>y.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Yn(this)}}class qt{constructor(_,C){this.path=_,this.parameters=C}get parameterMap(){return this._parameterMap||(this._parameterMap=Dt(this.parameters)),this._parameterMap}toString(){return vr(this)}}function Ur(h,_){return h.length===_.length&&h.every((C,y)=>C.path===_[y].path)}let ir=(()=>{var h;class _{}return(h=_).\u0275fac=function(y){return new(y||h)},h.\u0275prov=a.Yz7({token:h,factory:function(){return new kt},providedIn:"root"}),_})();class kt{parse(_){const C=new vt(_);return new jn(C.parseRootSegment(),C.parseQueryParams(),C.parseFragment())}serialize(_){const C=`/${zn(_.root,!0)}`,y=function so(h){const _=Object.keys(h).map(C=>{const y=h[C];return Array.isArray(y)?y.map(M=>`${En(C)}=${En(M)}`).join("&"):`${En(C)}=${En(y)}`}).filter(C=>!!C);return _.length?`?${_.join("&")}`:""}(_.queryParams);return`${C}${y}${"string"==typeof _.fragment?`#${function Ln(h){return encodeURI(h)}(_.fragment)}`:""}`}}const Mn=new kt;function Yn(h){return h.segments.map(_=>vr(_)).join("/")}function zn(h,_){if(!h.hasChildren())return Yn(h);if(_){const C=h.children[pe]?zn(h.children[pe],!1):"",y=[];return Object.entries(h.children).forEach(([M,F])=>{M!==pe&&y.push(`${M}:${zn(F,!1)}`)}),y.length>0?`${C}(${y.join("//")})`:C}{const C=function cn(h,_){let C=[];return Object.entries(h.children).forEach(([y,M])=>{y===pe&&(C=C.concat(_(M,y)))}),Object.entries(h.children).forEach(([y,M])=>{y!==pe&&(C=C.concat(_(M,y)))}),C}(h,(y,M)=>M===pe?[zn(h.children[pe],!1)]:[`${M}:${zn(y,!1)}`]);return 1===Object.keys(h.children).length&&null!=h.children[pe]?`${Yn(h)}/${C[0]}`:`${Yn(h)}/(${C.join("//")})`}}function Fn(h){return encodeURIComponent(h).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function En(h){return Fn(h).replace(/%3B/gi,";")}function ar(h){return Fn(h).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function er(h){return decodeURIComponent(h)}function lr(h){return er(h.replace(/\+/g,"%20"))}function vr(h){return`${ar(h.path)}${function Dr(h){return Object.keys(h).map(_=>`;${ar(_)}=${ar(h[_])}`).join("")}(h.parameters)}`}const ie=/^[^\/()?;#]+/;function k(h){const _=h.match(ie);return _?_[0]:""}const x=/^[^\/()?;=#]+/,L=/^[^=?&#]+/,Re=/^[^&#]+/;class vt{constructor(_){this.url=_,this.remaining=_}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new jt([],{}):new jt([],this.parseChildren())}parseQueryParams(){const _={};if(this.consumeOptional("?"))do{this.parseQueryParam(_)}while(this.consumeOptional("&"));return _}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const _=[];for(this.peekStartsWith("(")||_.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),_.push(this.parseSegment());let C={};this.peekStartsWith("/(")&&(this.capture("/"),C=this.parseParens(!0));let y={};return this.peekStartsWith("(")&&(y=this.parseParens(!1)),(_.length>0||Object.keys(C).length>0)&&(y[pe]=new jt(_,C)),y}parseSegment(){const _=k(this.remaining);if(""===_&&this.peekStartsWith(";"))throw new a.vHH(4009,!1);return this.capture(_),new qt(er(_),this.parseMatrixParams())}parseMatrixParams(){const _={};for(;this.consumeOptional(";");)this.parseParam(_);return _}parseParam(_){const C=function te(h){const _=h.match(x);return _?_[0]:""}(this.remaining);if(!C)return;this.capture(C);let y="";if(this.consumeOptional("=")){const M=k(this.remaining);M&&(y=M,this.capture(y))}_[er(C)]=er(y)}parseQueryParam(_){const C=function se(h){const _=h.match(L);return _?_[0]:""}(this.remaining);if(!C)return;this.capture(C);let y="";if(this.consumeOptional("=")){const j=function Qe(h){const _=h.match(Re);return _?_[0]:""}(this.remaining);j&&(y=j,this.capture(y))}const M=lr(C),F=lr(y);if(_.hasOwnProperty(M)){let j=_[M];Array.isArray(j)||(j=[j],_[M]=j),j.push(F)}else _[M]=F}parseParens(_){const C={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const y=k(this.remaining),M=this.remaining[y.length];if("/"!==M&&")"!==M&&";"!==M)throw new a.vHH(4010,!1);let F;y.indexOf(":")>-1?(F=y.slice(0,y.indexOf(":")),this.capture(F),this.capture(":")):_&&(F=pe);const j=this.parseChildren();C[F]=1===Object.keys(j).length?j[pe]:new jt([],j),this.consumeOptional("//")}return C}peekStartsWith(_){return this.remaining.startsWith(_)}consumeOptional(_){return!!this.peekStartsWith(_)&&(this.remaining=this.remaining.substring(_.length),!0)}capture(_){if(!this.consumeOptional(_))throw new a.vHH(4011,!1)}}function lt(h){return h.segments.length>0?new jt([],{[pe]:h}):h}function Lt(h){const _={};for(const y of Object.keys(h.children)){const F=Lt(h.children[y]);if(y===pe&&0===F.segments.length&&F.hasChildren())for(const[j,we]of Object.entries(F.children))_[j]=we;else(F.segments.length>0||F.hasChildren())&&(_[y]=F)}return function bt(h){if(1===h.numberOfChildren&&h.children[pe]){const _=h.children[pe];return new jt(h.segments.concat(_.segments),_.children)}return h}(new jt(h.segments,_))}function Qt(h){return h instanceof jn}function re(h){let _;const M=lt(function C(F){const j={};for(const nt of F.children){const Fe=C(nt);j[nt.outlet]=Fe}const we=new jt(F.url,j);return F===h&&(_=we),we}(h.root));return _??M}function Ie(h,_,C,y){let M=h;for(;M.parent;)M=M.parent;if(0===_.length)return ge(M,M,M,C,y);const F=function gt(h){if("string"==typeof h[0]&&1===h.length&&"/"===h[0])return new ke(!0,0,h);let _=0,C=!1;const y=h.reduce((M,F,j)=>{if("object"==typeof F&&null!=F){if(F.outlets){const we={};return Object.entries(F.outlets).forEach(([nt,Fe])=>{we[nt]="string"==typeof Fe?Fe.split("/"):Fe}),[...M,{outlets:we}]}if(F.segmentPath)return[...M,F.segmentPath]}return"string"!=typeof F?[...M,F]:0===j?(F.split("/").forEach((we,nt)=>{0==nt&&"."===we||(0==nt&&""===we?C=!0:".."===we?_++:""!=we&&M.push(we))}),M):[...M,F]},[]);return new ke(C,_,y)}(_);if(F.toRoot())return ge(M,M,new jt([],{}),C,y);const j=function un(h,_,C){if(h.isAbsolute)return new mt(_,!0,0);if(!C)return new mt(_,!1,NaN);if(null===C.parent)return new mt(C,!0,0);const y=K(h.commands[0])?0:1;return function Cn(h,_,C){let y=h,M=_,F=C;for(;F>M;){if(F-=M,y=y.parent,!y)throw new a.vHH(4005,!1);M=y.segments.length}return new mt(y,!1,M-F)}(C,C.segments.length-1+y,h.numberOfDoubleDots)}(F,M,h),we=j.processChildren?Sr(j.segmentGroup,j.index,F.commands):Gn(j.segmentGroup,j.index,F.commands);return ge(M,j.segmentGroup,we,C,y)}function K(h){return"object"==typeof h&&null!=h&&!h.outlets&&!h.segmentPath}function oe(h){return"object"==typeof h&&null!=h&&h.outlets}function ge(h,_,C,y,M){let j,F={};y&&Object.entries(y).forEach(([nt,Fe])=>{F[nt]=Array.isArray(Fe)?Fe.map(wt=>`${wt}`):`${Fe}`}),j=h===_?C:Ze(h,_,C);const we=lt(Lt(j));return new jn(we,F,M)}function Ze(h,_,C){const y={};return Object.entries(h.children).forEach(([M,F])=>{y[M]=F===_?C:Ze(F,_,C)}),new jt(h.segments,y)}class ke{constructor(_,C,y){if(this.isAbsolute=_,this.numberOfDoubleDots=C,this.commands=y,_&&y.length>0&&K(y[0]))throw new a.vHH(4003,!1);const M=y.find(oe);if(M&&M!==xn(y))throw new a.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class mt{constructor(_,C,y){this.segmentGroup=_,this.processChildren=C,this.index=y}}function Gn(h,_,C){if(h||(h=new jt([],{})),0===h.segments.length&&h.hasChildren())return Sr(h,_,C);const y=function Zr(h,_,C){let y=0,M=_;const F={match:!1,pathIndex:0,commandIndex:0};for(;M<h.segments.length;){if(y>=C.length)return F;const j=h.segments[M],we=C[y];if(oe(we))break;const nt=`${we}`,Fe=y<C.length-1?C[y+1]:null;if(M>0&&void 0===nt)break;if(nt&&Fe&&"object"==typeof Fe&&void 0===Fe.outlets){if(!io(nt,Fe,j))return F;y+=2}else{if(!io(nt,{},j))return F;y++}M++}return{match:!0,pathIndex:M,commandIndex:y}}(h,_,C),M=C.slice(y.commandIndex);if(y.match&&y.pathIndex<h.segments.length){const F=new jt(h.segments.slice(0,y.pathIndex),{});return F.children[pe]=new jt(h.segments.slice(y.pathIndex),h.children),Sr(F,0,M)}return y.match&&0===M.length?new jt(h.segments,{}):y.match&&!h.hasChildren()?tn(h,_,C):y.match?Sr(h,0,M):tn(h,_,C)}function Sr(h,_,C){if(0===C.length)return new jt(h.segments,{});{const y=function dn(h){return oe(h[0])?h[0].outlets:{[pe]:h}}(C),M={};if(Object.keys(y).some(F=>F!==pe)&&h.children[pe]&&1===h.numberOfChildren&&0===h.children[pe].segments.length){const F=Sr(h.children[pe],_,C);return new jt(h.segments,F.children)}return Object.entries(y).forEach(([F,j])=>{"string"==typeof j&&(j=[j]),null!==j&&(M[F]=Gn(h.children[F],_,j))}),Object.entries(h.children).forEach(([F,j])=>{void 0===y[F]&&(M[F]=j)}),new jt(h.segments,M)}}function tn(h,_,C){const y=h.segments.slice(0,_);let M=0;for(;M<C.length;){const F=C[M];if(oe(F)){const nt=wn(F.outlets);return new jt(y,nt)}if(0===M&&K(C[0])){y.push(new qt(h.segments[_].path,Lr(C[0]))),M++;continue}const j=oe(F)?F.outlets[pe]:`${F}`,we=M<C.length-1?C[M+1]:null;j&&we&&K(we)?(y.push(new qt(j,Lr(we))),M+=2):(y.push(new qt(j,{})),M++)}return new jt(y,{})}function wn(h){const _={};return Object.entries(h).forEach(([C,y])=>{"string"==typeof y&&(y=[y]),null!==y&&(_[C]=tn(new jt([],{}),0,y))}),_}function Lr(h){const _={};return Object.entries(h).forEach(([C,y])=>_[C]=`${y}`),_}function io(h,_,C){return h==C.path&&sn(_,C.parameters)}const _n="imperative";class An{constructor(_,C){this.id=_,this.url=C}}class No extends An{constructor(_,C,y="imperative",M=null){super(_,C),this.type=0,this.navigationTrigger=y,this.restoredState=M}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class fr extends An{constructor(_,C,y){super(_,C),this.urlAfterRedirects=y,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Mo extends An{constructor(_,C,y,M){super(_,C),this.reason=y,this.code=M,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class xo extends An{constructor(_,C,y,M){super(_,C),this.reason=y,this.code=M,this.type=16}}class Er extends An{constructor(_,C,y,M){super(_,C),this.error=y,this.target=M,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class To extends An{constructor(_,C,y,M){super(_,C),this.urlAfterRedirects=y,this.state=M,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Us extends An{constructor(_,C,y,M){super(_,C),this.urlAfterRedirects=y,this.state=M,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ti extends An{constructor(_,C,y,M,F){super(_,C),this.urlAfterRedirects=y,this.state=M,this.shouldActivate=F,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class fa extends An{constructor(_,C,y,M){super(_,C),this.urlAfterRedirects=y,this.state=M,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ii extends An{constructor(_,C,y,M){super(_,C),this.urlAfterRedirects=y,this.state=M,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Es{constructor(_){this.route=_,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class ko{constructor(_){this.route=_,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Cs{constructor(_){this.snapshot=_,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Hs{constructor(_){this.snapshot=_,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Br{constructor(_){this.snapshot=_,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class $s{constructor(_){this.snapshot=_,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ar{constructor(_,C,y){this.routerEvent=_,this.position=C,this.anchor=y,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Zo{}class bs{constructor(_){this.url=_}}class ws{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Fo,this.attachRef=null}}let Fo=(()=>{var h;class _{constructor(){this.contexts=new Map}onChildOutletCreated(y,M){const F=this.getOrCreateContext(y);F.outlet=M,this.contexts.set(y,F)}onChildOutletDestroyed(y){const M=this.getContext(y);M&&(M.outlet=null,M.attachRef=null)}onOutletDeactivated(){const y=this.contexts;return this.contexts=new Map,y}onOutletReAttached(y){this.contexts=y}getOrCreateContext(y){let M=this.getContext(y);return M||(M=new ws,this.contexts.set(y,M)),M}getContext(y){return this.contexts.get(y)||null}}return(h=_).\u0275fac=function(y){return new(y||h)},h.\u0275prov=a.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),_})();class cs{constructor(_){this._root=_}get root(){return this._root.value}parent(_){const C=this.pathFromRoot(_);return C.length>1?C[C.length-2]:null}children(_){const C=Gs(_,this._root);return C?C.children.map(y=>y.value):[]}firstChild(_){const C=Gs(_,this._root);return C&&C.children.length>0?C.children[0].value:null}siblings(_){const C=nn(_,this._root);return C.length<2?[]:C[C.length-2].children.map(M=>M.value).filter(M=>M!==_)}pathFromRoot(_){return nn(_,this._root).map(C=>C.value)}}function Gs(h,_){if(h===_.value)return _;for(const C of _.children){const y=Gs(h,C);if(y)return y}return null}function nn(h,_){if(h===_.value)return[_];for(const C of _.children){const y=nn(h,C);if(y.length)return y.unshift(_),y}return[]}class bn{constructor(_,C){this.value=_,this.children=C}toString(){return`TreeNode(${this.value})`}}function Un(h){const _={};return h&&h.children.forEach(C=>_[C.value.outlet]=C),_}class go extends cs{constructor(_,C){super(_),this.snapshot=C,dt(this,_)}toString(){return this.snapshot.toString()}}function Or(h,_){const C=function Ms(h,_){const j=new Jr([],{},{},"",{},pe,_,null,{});return new On("",new bn(j,[]))}(0,_),y=new ee.X([new qt("",{})]),M=new ee.X({}),F=new ee.X({}),j=new ee.X({}),we=new ee.X(""),nt=new Lo(y,M,j,we,F,pe,_,C.root);return nt.snapshot=C.root,new go(new bn(nt,[]),C)}class Lo{constructor(_,C,y,M,F,j,we,nt){this.urlSubject=_,this.paramsSubject=C,this.queryParamsSubject=y,this.fragmentSubject=M,this.dataSubject=F,this.outlet=j,this.component=we,this._futureSnapshot=nt,this.title=this.dataSubject?.pipe((0,De.U)(Fe=>Fe[Xe]))??(0,$.of)(void 0),this.url=_,this.params=C,this.queryParams=y,this.fragment=M,this.data=F}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe((0,De.U)(_=>Dt(_)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,De.U)(_=>Dt(_)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Ko(h,_="emptyOnly"){const C=h.pathFromRoot;let y=0;if("always"!==_)for(y=C.length-1;y>=1;){const M=C[y],F=C[y-1];if(M.routeConfig&&""===M.routeConfig.path)y--;else{if(F.component)break;y--}}return function Si(h){return h.reduce((_,C)=>({params:{..._.params,...C.params},data:{..._.data,...C.data},resolve:{...C.data,..._.resolve,...C.routeConfig?.data,...C._resolvedData}}),{params:{},data:{},resolve:{}})}(C.slice(y))}class Jr{get title(){return this.data?.[Xe]}constructor(_,C,y,M,F,j,we,nt,Fe){this.url=_,this.params=C,this.queryParams=y,this.fragment=M,this.data=F,this.outlet=j,this.component=we,this.routeConfig=nt,this._resolve=Fe}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=Dt(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Dt(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(y=>y.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class On extends cs{constructor(_,C){super(C),this.url=_,dt(this,C)}toString(){return Pt(this._root)}}function dt(h,_){_.value._routerState=h,_.children.forEach(C=>dt(h,C))}function Pt(h){const _=h.children.length>0?` { ${h.children.map(Pt).join(", ")} } `:"";return`${h.value}${_}`}function Pn(h){if(h.snapshot){const _=h.snapshot,C=h._futureSnapshot;h.snapshot=C,sn(_.queryParams,C.queryParams)||h.queryParamsSubject.next(C.queryParams),_.fragment!==C.fragment&&h.fragmentSubject.next(C.fragment),sn(_.params,C.params)||h.paramsSubject.next(C.params),function Yt(h,_){if(h.length!==_.length)return!1;for(let C=0;C<h.length;++C)if(!sn(h[C],_[C]))return!1;return!0}(_.url,C.url)||h.urlSubject.next(C.url),sn(_.data,C.data)||h.dataSubject.next(C.data)}else h.snapshot=h._futureSnapshot,h.dataSubject.next(h._futureSnapshot.data)}function Cr(h,_){const C=sn(h.params,_.params)&&function kn(h,_){return Ur(h,_)&&h.every((C,y)=>sn(C.parameters,_[y].parameters))}(h.url,_.url);return C&&!(!h.parent!=!_.parent)&&(!h.parent||Cr(h.parent,_.parent))}let Io=(()=>{var h;class _{constructor(){this.activated=null,this._activatedRoute=null,this.name=pe,this.activateEvents=new a.vpe,this.deactivateEvents=new a.vpe,this.attachEvents=new a.vpe,this.detachEvents=new a.vpe,this.parentContexts=(0,a.f3M)(Fo),this.location=(0,a.f3M)(a.s_b),this.changeDetector=(0,a.f3M)(a.sBO),this.environmentInjector=(0,a.f3M)(a.lqb),this.inputBinder=(0,a.f3M)(mo,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(y){if(y.name){const{firstChange:M,previousValue:F}=y.name;if(M)return;this.isTrackedInParentContexts(F)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(F)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(y){return this.parentContexts.getContext(y)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const y=this.parentContexts.getContext(this.name);y?.route&&(y.attachRef?this.attach(y.attachRef,y.route):this.activateWith(y.route,y.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new a.vHH(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new a.vHH(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new a.vHH(4012,!1);this.location.detach();const y=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(y.instance),y}attach(y,M){this.activated=y,this._activatedRoute=M,this.location.insert(y.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(y.instance)}deactivate(){if(this.activated){const y=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(y)}}activateWith(y,M){if(this.isActivated)throw new a.vHH(4013,!1);this._activatedRoute=y;const F=this.location,we=y.snapshot.component,nt=this.parentContexts.getOrCreateContext(this.name).children,Fe=new qn(y,nt,F.injector);this.activated=F.createComponent(we,{index:F.length,injector:Fe,environmentInjector:M??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}}return(h=_).\u0275fac=function(y){return new(y||h)},h.\u0275dir=a.lG2({type:h,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[a.TTD]}),_})();class qn{constructor(_,C,y){this.route=_,this.childContexts=C,this.parent=y}get(_,C){return _===Lo?this.route:_===Fo?this.childContexts:this.parent.get(_,C)}}const mo=new a.OlP("");let Wn=(()=>{var h;class _{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(y){this.unsubscribeFromRouteData(y),this.subscribeToRouteData(y)}unsubscribeFromRouteData(y){this.outletDataSubscriptions.get(y)?.unsubscribe(),this.outletDataSubscriptions.delete(y)}subscribeToRouteData(y){const{activatedRoute:M}=y,F=(0,ae.a)([M.queryParams,M.params,M.data]).pipe((0,me.w)(([j,we,nt],Fe)=>(nt={...j,...we,...nt},0===Fe?(0,$.of)(nt):Promise.resolve(nt)))).subscribe(j=>{if(!y.isActivated||!y.activatedComponentRef||y.activatedRoute!==M||null===M.component)return void this.unsubscribeFromRouteData(y);const we=(0,a.qFp)(M.component);if(we)for(const{templateName:nt}of we.inputs)y.activatedComponentRef.setInput(nt,j[nt]);else this.unsubscribeFromRouteData(y)});this.outletDataSubscriptions.set(y,F)}}return(h=_).\u0275fac=function(y){return new(y||h)},h.\u0275prov=a.Yz7({token:h,factory:h.\u0275fac}),_})();function ao(h,_,C){if(C&&h.shouldReuseRoute(_.value,C.value.snapshot)){const y=C.value;y._futureSnapshot=_.value;const M=function Rt(h,_,C){return _.children.map(y=>{for(const M of C.children)if(h.shouldReuseRoute(y.value,M.value.snapshot))return ao(h,y,M);return ao(h,y)})}(h,_,C);return new bn(y,M)}{if(h.shouldAttach(_.value)){const F=h.retrieve(_.value);if(null!==F){const j=F.route;return j.value._futureSnapshot=_.value,j.children=_.children.map(we=>ao(h,we)),j}}const y=function Kr(h){return new Lo(new ee.X(h.url),new ee.X(h.params),new ee.X(h.queryParams),new ee.X(h.fragment),new ee.X(h.data),h.outlet,h.component,h)}(_.value),M=_.children.map(F=>ao(h,F));return new bn(y,M)}}const Ts="ngNavigationCancelingError";function Bo(h,_){const{redirectTo:C,navigationBehaviorOptions:y}=Qt(_)?{redirectTo:_,navigationBehaviorOptions:void 0}:_,M=Zn(!1,0,_);return M.url=C,M.navigationBehaviorOptions=y,M}function Zn(h,_,C){const y=new Error("NavigationCancelingError: "+(h||""));return y[Ts]=!0,y.cancellationCode=_,C&&(y.url=C),y}function Yo(h){return h&&h[Ts]}let Hr=(()=>{var h;class _{}return(h=_).\u0275fac=function(y){return new(y||h)},h.\u0275cmp=a.Xpm({type:h,selectors:[["ng-component"]],standalone:!0,features:[a.jDz],decls:1,vars:0,template:function(y,M){1&y&&a._UZ(0,"router-outlet")},dependencies:[Io],encapsulation:2}),_})();function Jo(h){const _=h.children&&h.children.map(Jo),C=_?{...h,children:_}:{...h};return!C.component&&!C.loadComponent&&(_||C.loadChildren)&&C.outlet&&C.outlet!==pe&&(C.component=Hr),C}function Rn(h){return h.outlet||pe}function Xr(h){if(!h)return null;if(h.routeConfig?._injector)return h.routeConfig._injector;for(let _=h.parent;_;_=_.parent){const C=_.routeConfig;if(C?._loadedInjector)return C._loadedInjector;if(C?._injector)return C._injector}return null}class Fa{constructor(_,C,y,M,F){this.routeReuseStrategy=_,this.futureState=C,this.currState=y,this.forwardEvent=M,this.inputBindingEnabled=F}activate(_){const C=this.futureState._root,y=this.currState?this.currState._root:null;this.deactivateChildRoutes(C,y,_),Pn(this.futureState.root),this.activateChildRoutes(C,y,_)}deactivateChildRoutes(_,C,y){const M=Un(C);_.children.forEach(F=>{const j=F.value.outlet;this.deactivateRoutes(F,M[j],y),delete M[j]}),Object.values(M).forEach(F=>{this.deactivateRouteAndItsChildren(F,y)})}deactivateRoutes(_,C,y){const M=_.value,F=C?C.value:null;if(M===F)if(M.component){const j=y.getContext(M.outlet);j&&this.deactivateChildRoutes(_,C,j.children)}else this.deactivateChildRoutes(_,C,y);else F&&this.deactivateRouteAndItsChildren(C,y)}deactivateRouteAndItsChildren(_,C){_.value.component&&this.routeReuseStrategy.shouldDetach(_.value.snapshot)?this.detachAndStoreRouteSubtree(_,C):this.deactivateRouteAndOutlet(_,C)}detachAndStoreRouteSubtree(_,C){const y=C.getContext(_.value.outlet),M=y&&_.value.component?y.children:C,F=Un(_);for(const j of Object.keys(F))this.deactivateRouteAndItsChildren(F[j],M);if(y&&y.outlet){const j=y.outlet.detach(),we=y.children.onOutletDeactivated();this.routeReuseStrategy.store(_.value.snapshot,{componentRef:j,route:_,contexts:we})}}deactivateRouteAndOutlet(_,C){const y=C.getContext(_.value.outlet),M=y&&_.value.component?y.children:C,F=Un(_);for(const j of Object.keys(F))this.deactivateRouteAndItsChildren(F[j],M);y&&(y.outlet&&(y.outlet.deactivate(),y.children.onOutletDeactivated()),y.attachRef=null,y.route=null)}activateChildRoutes(_,C,y){const M=Un(C);_.children.forEach(F=>{this.activateRoutes(F,M[F.value.outlet],y),this.forwardEvent(new $s(F.value.snapshot))}),_.children.length&&this.forwardEvent(new Hs(_.value.snapshot))}activateRoutes(_,C,y){const M=_.value,F=C?C.value:null;if(Pn(M),M===F)if(M.component){const j=y.getOrCreateContext(M.outlet);this.activateChildRoutes(_,C,j.children)}else this.activateChildRoutes(_,C,y);else if(M.component){const j=y.getOrCreateContext(M.outlet);if(this.routeReuseStrategy.shouldAttach(M.snapshot)){const we=this.routeReuseStrategy.retrieve(M.snapshot);this.routeReuseStrategy.store(M.snapshot,null),j.children.onOutletReAttached(we.contexts),j.attachRef=we.componentRef,j.route=we.route.value,j.outlet&&j.outlet.attach(we.componentRef,we.route.value),Pn(we.route.value),this.activateChildRoutes(_,null,j.children)}else{const we=Xr(M.snapshot);j.attachRef=null,j.route=M,j.injector=we,j.outlet&&j.outlet.activateWith(M,j.injector),this.activateChildRoutes(_,null,j.children)}}else this.activateChildRoutes(_,null,y)}}class Pr{constructor(_){this.path=_,this.route=this.path[this.path.length-1]}}class tr{constructor(_,C){this.component=_,this.route=C}}function Ws(h,_,C){const y=h._root;return Nr(y,_?_._root:null,C,[y.value])}function Rr(h,_){const C=Symbol(),y=_.get(h,C);return y===C?"function"!=typeof h||(0,a.Z0I)(h)?_.get(h):h:y}function Nr(h,_,C,y,M={canDeactivateChecks:[],canActivateChecks:[]}){const F=Un(_);return h.children.forEach(j=>{(function As(h,_,C,y,M={canDeactivateChecks:[],canActivateChecks:[]}){const F=h.value,j=_?_.value:null,we=C?C.getContext(h.value.outlet):null;if(j&&F.routeConfig===j.routeConfig){const nt=function ai(h,_,C){if("function"==typeof C)return C(h,_);switch(C){case"pathParamsChange":return!Ur(h.url,_.url);case"pathParamsOrQueryParamsChange":return!Ur(h.url,_.url)||!sn(h.queryParams,_.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Cr(h,_)||!sn(h.queryParams,_.queryParams);default:return!Cr(h,_)}}(j,F,F.routeConfig.runGuardsAndResolvers);nt?M.canActivateChecks.push(new Pr(y)):(F.data=j.data,F._resolvedData=j._resolvedData),Nr(h,_,F.component?we?we.children:null:C,y,M),nt&&we&&we.outlet&&we.outlet.isActivated&&M.canDeactivateChecks.push(new tr(we.outlet.component,j))}else j&&Xo(_,we,M),M.canActivateChecks.push(new Pr(y)),Nr(h,null,F.component?we?we.children:null:C,y,M)})(j,F[j.value.outlet],C,y.concat([j.value]),M),delete F[j.value.outlet]}),Object.entries(F).forEach(([j,we])=>Xo(we,C.getContext(j),M)),M}function Xo(h,_,C){const y=Un(h),M=h.value;Object.entries(y).forEach(([F,j])=>{Xo(j,M.component?_?_.children.getContext(F):null:_,C)}),C.canDeactivateChecks.push(new tr(M.component&&_&&_.outlet&&_.outlet.isActivated?_.outlet.component:null,M))}function li(h){return"function"==typeof h}function Ut(h){return h instanceof de.K||"EmptyError"===h?.name}const xr=Symbol("INITIAL_VALUE");function Yr(){return(0,me.w)(h=>(0,ae.a)(h.map(_=>_.pipe((0,Se.q)(1),(0,We.O)(xr)))).pipe((0,De.U)(_=>{for(const C of _)if(!0!==C){if(C===xr)return xr;if(!1===C||C instanceof jn)return C}return!0}),(0,$e.h)(_=>_!==xr),(0,Se.q)(1)))}function So(h){return(0,fe.z)((0,St.b)(_=>{if(Qt(_))throw Bo(0,_)}),(0,De.U)(_=>!0===_))}class Vr{constructor(_){this.segmentGroup=_||null}}class cr{constructor(_){this.urlTree=_}}function vo(h){return(0,xe._)(new Vr(h))}function jr(h){return(0,xe._)(new cr(h))}class fi{constructor(_,C){this.urlSerializer=_,this.urlTree=C}noMatchError(_){return new a.vHH(4002,!1)}lineralizeSegments(_,C){let y=[],M=C.root;for(;;){if(y=y.concat(M.segments),0===M.numberOfChildren)return(0,$.of)(y);if(M.numberOfChildren>1||!M.children[pe])return(0,xe._)(new a.vHH(4e3,!1));M=M.children[pe]}}applyRedirectCommands(_,C,y){return this.applyRedirectCreateUrlTree(C,this.urlSerializer.parse(C),_,y)}applyRedirectCreateUrlTree(_,C,y,M){const F=this.createSegmentGroup(_,C.root,y,M);return new jn(F,this.createQueryParams(C.queryParams,this.urlTree.queryParams),C.fragment)}createQueryParams(_,C){const y={};return Object.entries(_).forEach(([M,F])=>{if("string"==typeof F&&F.startsWith(":")){const we=F.substring(1);y[M]=C[we]}else y[M]=F}),y}createSegmentGroup(_,C,y,M){const F=this.createSegments(_,C.segments,y,M);let j={};return Object.entries(C.children).forEach(([we,nt])=>{j[we]=this.createSegmentGroup(_,nt,y,M)}),new jt(F,j)}createSegments(_,C,y,M){return C.map(F=>F.path.startsWith(":")?this.findPosParam(_,F,M):this.findOrReturn(F,y))}findPosParam(_,C,y){const M=y[C.path.substring(1)];if(!M)throw new a.vHH(4001,!1);return M}findOrReturn(_,C){let y=0;for(const M of C){if(M.path===_.path)return C.splice(y),M;y++}return _}}const Ri={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function ts(h,_,C,y,M){const F=Ks(h,_,C);return F.matched?(y=function Is(h,_){return h.providers&&!h._injector&&(h._injector=(0,a.MMx)(h.providers,_,`Route: ${h.path}`)),h._injector??_}(_,y),function Pi(h,_,C,y){const M=_.canMatch;if(!M||0===M.length)return(0,$.of)(!0);const F=M.map(j=>{const we=Rr(j,h);return Sn(function O(h){return h&&li(h.canMatch)}(we)?we.canMatch(_,C):h.runInContext(()=>we(_,C)))});return(0,$.of)(F).pipe(Yr(),So())}(y,_,C).pipe((0,De.U)(j=>!0===j?F:{...Ri}))):(0,$.of)(F)}function Ks(h,_,C){if(""===_.path)return"full"===_.pathMatch&&(h.hasChildren()||C.length>0)?{...Ri}:{matched:!0,consumedSegments:[],remainingSegments:C,parameters:{},positionalParamSegments:{}};const M=(_.matcher||Ct)(C,h,_);if(!M)return{...Ri};const F={};Object.entries(M.posParams??{}).forEach(([we,nt])=>{F[we]=nt.path});const j=M.consumed.length>0?{...F,...M.consumed[M.consumed.length-1].parameters}:F;return{matched:!0,consumedSegments:M.consumed,remainingSegments:C.slice(M.consumed.length),parameters:j,positionalParamSegments:M.posParams??{}}}function hi(h,_,C,y){return C.length>0&&function Ni(h,_,C){return C.some(y=>fs(h,_,y)&&Rn(y)!==pe)}(h,C,y)?{segmentGroup:new jt(_,pa(y,new jt(C,h.children))),slicedSegments:[]}:0===C.length&&function zt(h,_,C){return C.some(y=>fs(h,_,y))}(h,C,y)?{segmentGroup:new jt(h.segments,hr(h,0,C,y,h.children)),slicedSegments:C}:{segmentGroup:new jt(h.segments,h.children),slicedSegments:C}}function hr(h,_,C,y,M){const F={};for(const j of y)if(fs(h,C,j)&&!M[Rn(j)]){const we=new jt([],{});F[Rn(j)]=we}return{...M,...F}}function pa(h,_){const C={};C[pe]=_;for(const y of h)if(""===y.path&&Rn(y)!==pe){const M=new jt([],{});C[Rn(y)]=M}return C}function fs(h,_,C){return(!(h.hasChildren()||_.length>0)||"full"!==C.pathMatch)&&""===C.path}class ea{constructor(_,C,y,M,F,j,we){this.injector=_,this.configLoader=C,this.rootComponentType=y,this.config=M,this.urlTree=F,this.paramsInheritanceStrategy=j,this.urlSerializer=we,this.allowRedirects=!0,this.applyRedirects=new fi(this.urlSerializer,this.urlTree)}noMatchError(_){return new a.vHH(4002,!1)}recognize(){const _=hi(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,_,pe).pipe((0,en.K)(C=>{if(C instanceof cr)return this.allowRedirects=!1,this.urlTree=C.urlTree,this.match(C.urlTree);throw C instanceof Vr?this.noMatchError(C):C}),(0,De.U)(C=>{const y=new Jr([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},pe,this.rootComponentType,null,{}),M=new bn(y,C),F=new On("",M),j=function ye(h,_,C=null,y=null){return Ie(re(h),_,C,y)}(y,[],this.urlTree.queryParams,this.urlTree.fragment);return j.queryParams=this.urlTree.queryParams,F.url=this.urlSerializer.serialize(j),this.inheritParamsAndData(F._root),{state:F,tree:j}}))}match(_){return this.processSegmentGroup(this.injector,this.config,_.root,pe).pipe((0,en.K)(y=>{throw y instanceof Vr?this.noMatchError(y):y}))}inheritParamsAndData(_){const C=_.value,y=Ko(C,this.paramsInheritanceStrategy);C.params=Object.freeze(y.params),C.data=Object.freeze(y.data),_.children.forEach(M=>this.inheritParamsAndData(M))}processSegmentGroup(_,C,y,M){return 0===y.segments.length&&y.hasChildren()?this.processChildren(_,C,y):this.processSegment(_,C,y,y.segments,M,!0)}processChildren(_,C,y){const M=[];for(const F of Object.keys(y.children))"primary"===F?M.unshift(F):M.push(F);return(0,z.D)(M).pipe((0,It.b)(F=>{const j=y.children[F],we=function Vo(h,_){const C=h.filter(y=>Rn(y)===_);return C.push(...h.filter(y=>Rn(y)!==_)),C}(C,F);return this.processSegmentGroup(_,we,j,F)}),function on(h,_){return(0,Oe.e)(function pn(h,_,C,y,M){return(F,j)=>{let we=C,nt=_,Fe=0;F.subscribe((0,je.x)(j,wt=>{const Ht=Fe++;nt=we?h(nt,wt,Ht):(we=!0,wt),y&&j.next(nt)},M&&(()=>{we&&j.next(nt),j.complete()})))}}(h,_,arguments.length>=2,!0))}((F,j)=>(F.push(...j),F)),(0,or.d)(null),function Ue(h,_){const C=arguments.length>=2;return y=>y.pipe(h?(0,$e.h)((M,F)=>h(M,F,y)):Ne.y,_r(1),C?(0,or.d)(_):(0,Pe.T)(()=>new de.K))}(),(0,st.z)(F=>{if(null===F)return vo(y);const j=pi(F);return function Ys(h){h.sort((_,C)=>_.value.outlet===pe?-1:C.value.outlet===pe?1:_.value.outlet.localeCompare(C.value.outlet))}(j),(0,$.of)(j)}))}processSegment(_,C,y,M,F,j){return(0,z.D)(C).pipe((0,It.b)(we=>this.processSegmentAgainstRoute(we._injector??_,C,we,y,M,F,j).pipe((0,en.K)(nt=>{if(nt instanceof Vr)return(0,$.of)(null);throw nt}))),(0,ht.P)(we=>!!we),(0,en.K)(we=>{if(Ut(we))return function ns(h,_,C){return 0===_.length&&!h.children[C]}(y,M,F)?(0,$.of)([]):vo(y);throw we}))}processSegmentAgainstRoute(_,C,y,M,F,j,we){return function Os(h,_,C,y){return!!(Rn(h)===y||y!==pe&&fs(_,C,h))&&("**"===h.path||Ks(_,h,C).matched)}(y,M,F,j)?void 0===y.redirectTo?this.matchSegmentAgainstRoute(_,M,y,F,j,we):we&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(_,M,C,y,F,j):vo(M):vo(M)}expandSegmentAgainstRouteUsingRedirect(_,C,y,M,F,j){return"**"===M.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(_,y,M,j):this.expandRegularSegmentAgainstRouteUsingRedirect(_,C,y,M,F,j)}expandWildCardWithParamsAgainstRouteUsingRedirect(_,C,y,M){const F=this.applyRedirects.applyRedirectCommands([],y.redirectTo,{});return y.redirectTo.startsWith("/")?jr(F):this.applyRedirects.lineralizeSegments(y,F).pipe((0,st.z)(j=>{const we=new jt(j,{});return this.processSegment(_,C,we,j,M,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(_,C,y,M,F,j){const{matched:we,consumedSegments:nt,remainingSegments:Fe,positionalParamSegments:wt}=Ks(C,M,F);if(!we)return vo(C);const Ht=this.applyRedirects.applyRedirectCommands(nt,M.redirectTo,wt);return M.redirectTo.startsWith("/")?jr(Ht):this.applyRedirects.lineralizeSegments(M,Ht).pipe((0,st.z)(Tr=>this.processSegment(_,y,C,Tr.concat(Fe),j,!1)))}matchSegmentAgainstRoute(_,C,y,M,F,j){let we;if("**"===y.path){const nt=M.length>0?xn(M).parameters:{},Fe=new Jr(M,nt,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Fi(y),Rn(y),y.component??y._loadedComponent??null,y,Li(y));we=(0,$.of)({snapshot:Fe,consumedSegments:[],remainingSegments:[]}),C.children={}}else we=ts(C,y,M,_).pipe((0,De.U)(({matched:nt,consumedSegments:Fe,remainingSegments:wt,parameters:Ht})=>nt?{snapshot:new Jr(Fe,Ht,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Fi(y),Rn(y),y.component??y._loadedComponent??null,y,Li(y)),consumedSegments:Fe,remainingSegments:wt}:null));return we.pipe((0,me.w)(nt=>null===nt?vo(C):this.getChildConfig(_=y._injector??_,y,M).pipe((0,me.w)(({routes:Fe})=>{const wt=y._loadedInjector??_,{snapshot:Ht,consumedSegments:Tr,remainingSegments:fn}=nt,{segmentGroup:eo,slicedSegments:hs}=hi(C,Tr,fn,Fe);if(0===hs.length&&eo.hasChildren())return this.processChildren(wt,Fe,eo).pipe((0,De.U)(ti=>null===ti?null:[new bn(Ht,ti)]));if(0===Fe.length&&0===hs.length)return(0,$.of)([new bn(Ht,[])]);const Ns=Rn(y)===F;return this.processSegment(wt,Fe,eo,hs,Ns?pe:F,!0).pipe((0,De.U)(ti=>[new bn(Ht,ti)]))}))))}getChildConfig(_,C,y){return C.children?(0,$.of)({routes:C.children,injector:_}):C.loadChildren?void 0!==C._loadedRoutes?(0,$.of)({routes:C._loadedRoutes,injector:C._loadedInjector}):function qr(h,_,C,y){const M=_.canLoad;if(void 0===M||0===M.length)return(0,$.of)(!0);const F=M.map(j=>{const we=Rr(j,h);return Sn(function ci(h){return h&&li(h.canLoad)}(we)?we.canLoad(_,C):h.runInContext(()=>we(_,C)))});return(0,$.of)(F).pipe(Yr(),So())}(_,C,y).pipe((0,st.z)(M=>M?this.configLoader.loadChildren(_,C).pipe((0,St.b)(F=>{C._loadedRoutes=F.routes,C._loadedInjector=F.injector})):function di(h){return(0,xe._)(Zn(!1,3))}())):(0,$.of)({routes:[],injector:_})}}function ki(h){const _=h.value.routeConfig;return _&&""===_.path}function pi(h){const _=[],C=new Set;for(const y of h){if(!ki(y)){_.push(y);continue}const M=_.find(F=>y.value.routeConfig===F.value.routeConfig);void 0!==M?(M.children.push(...y.children),C.add(M)):_.push(y)}for(const y of C){const M=pi(y.children);_.push(new bn(y.value,M))}return _.filter(y=>!C.has(y))}function Fi(h){return h.data||{}}function Li(h){return h.resolve||{}}function yi(h){return"string"==typeof h.title||null===h.title}function g(h){return(0,me.w)(_=>{const C=h(_);return C?(0,z.D)(C).pipe((0,De.U)(()=>_)):(0,$.of)(_)})}const T=new a.OlP("ROUTES");let Y=(()=>{var h;class _{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,a.f3M)(a.Sil)}loadComponent(y){if(this.componentLoaders.get(y))return this.componentLoaders.get(y);if(y._loadedComponent)return(0,$.of)(y._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(y);const M=Sn(y.loadComponent()).pipe((0,De.U)(V),(0,St.b)(j=>{this.onLoadEndListener&&this.onLoadEndListener(y),y._loadedComponent=j}),(0,Ce.x)(()=>{this.componentLoaders.delete(y)})),F=new et(M,()=>new Ve.x).pipe(Le());return this.componentLoaders.set(y,F),F}loadChildren(y,M){if(this.childrenLoaders.get(M))return this.childrenLoaders.get(M);if(M._loadedRoutes)return(0,$.of)({routes:M._loadedRoutes,injector:M._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(M);const j=this.loadModuleFactoryOrRoutes(M.loadChildren).pipe((0,De.U)(nt=>{this.onLoadEndListener&&this.onLoadEndListener(M);let Fe,wt;return Array.isArray(nt)?wt=nt:(Fe=nt.create(y).injector,wt=Fe.get(T,[],a.XFs.Self|a.XFs.Optional).flat()),{routes:wt.map(Jo),injector:Fe}}),(0,Ce.x)(()=>{this.childrenLoaders.delete(M)})),we=new et(j,()=>new Ve.x).pipe(Le());return this.childrenLoaders.set(M,we),we}loadModuleFactoryOrRoutes(y){return Sn(y()).pipe((0,De.U)(V),(0,st.z)(M=>M instanceof a.YKP||Array.isArray(M)?(0,$.of)(M):(0,z.D)(this.compiler.compileModuleAsync(M))))}}return(h=_).\u0275fac=function(y){return new(y||h)},h.\u0275prov=a.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),_})();function V(h){return function b(h){return h&&"object"==typeof h&&"default"in h}(h)?h.default:h}let le=(()=>{var h;class _{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Ve.x,this.transitionAbortSubject=new Ve.x,this.configLoader=(0,a.f3M)(Y),this.environmentInjector=(0,a.f3M)(a.lqb),this.urlSerializer=(0,a.f3M)(ir),this.rootContexts=(0,a.f3M)(Fo),this.inputBindingEnabled=null!==(0,a.f3M)(mo,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,$.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=F=>this.events.next(new ko(F)),this.configLoader.onLoadStartListener=F=>this.events.next(new Es(F))}complete(){this.transitions?.complete()}handleNavigationRequest(y){const M=++this.navigationId;this.transitions?.next({...this.transitions.value,...y,id:M})}setupNavigations(y,M,F){return this.transitions=new ee.X({id:0,currentUrlTree:M,currentRawUrl:M,currentBrowserUrl:M,extractedUrl:y.urlHandlingStrategy.extract(M),urlAfterRedirects:y.urlHandlingStrategy.extract(M),rawUrl:M,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:_n,restoredState:null,currentSnapshot:F.snapshot,targetSnapshot:null,currentRouterState:F,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,$e.h)(j=>0!==j.id),(0,De.U)(j=>({...j,extractedUrl:y.urlHandlingStrategy.extract(j.rawUrl)})),(0,me.w)(j=>{this.currentTransition=j;let we=!1,nt=!1;return(0,$.of)(j).pipe((0,St.b)(Fe=>{this.currentNavigation={id:Fe.id,initialUrl:Fe.rawUrl,extractedUrl:Fe.extractedUrl,trigger:Fe.source,extras:Fe.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,me.w)(Fe=>{const wt=Fe.currentBrowserUrl.toString(),Ht=!y.navigated||Fe.extractedUrl.toString()!==wt||wt!==Fe.currentUrlTree.toString();if(!Ht&&"reload"!==(Fe.extras.onSameUrlNavigation??y.onSameUrlNavigation)){const fn="";return this.events.next(new xo(Fe.id,this.urlSerializer.serialize(Fe.rawUrl),fn,0)),Fe.resolve(null),Te.E}if(y.urlHandlingStrategy.shouldProcessUrl(Fe.rawUrl))return(0,$.of)(Fe).pipe((0,me.w)(fn=>{const eo=this.transitions?.getValue();return this.events.next(new No(fn.id,this.urlSerializer.serialize(fn.extractedUrl),fn.source,fn.restoredState)),eo!==this.transitions?.getValue()?Te.E:Promise.resolve(fn)}),function gi(h,_,C,y,M,F){return(0,st.z)(j=>function xi(h,_,C,y,M,F,j="emptyOnly"){return new ea(h,_,C,y,M,j,F).recognize()}(h,_,C,y,j.extractedUrl,M,F).pipe((0,De.U)(({state:we,tree:nt})=>({...j,targetSnapshot:we,urlAfterRedirects:nt}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,y.config,this.urlSerializer,y.paramsInheritanceStrategy),(0,St.b)(fn=>{j.targetSnapshot=fn.targetSnapshot,j.urlAfterRedirects=fn.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:fn.urlAfterRedirects};const eo=new To(fn.id,this.urlSerializer.serialize(fn.extractedUrl),this.urlSerializer.serialize(fn.urlAfterRedirects),fn.targetSnapshot);this.events.next(eo)}));if(Ht&&y.urlHandlingStrategy.shouldProcessUrl(Fe.currentRawUrl)){const{id:fn,extractedUrl:eo,source:hs,restoredState:Ns,extras:ti}=Fe,oa=new No(fn,this.urlSerializer.serialize(eo),hs,Ns);this.events.next(oa);const Qr=Or(0,this.rootComponentType).snapshot;return this.currentTransition=j={...Fe,targetSnapshot:Qr,urlAfterRedirects:eo,extras:{...ti,skipLocationChange:!1,replaceUrl:!1}},(0,$.of)(j)}{const fn="";return this.events.next(new xo(Fe.id,this.urlSerializer.serialize(Fe.extractedUrl),fn,1)),Fe.resolve(null),Te.E}}),(0,St.b)(Fe=>{const wt=new Us(Fe.id,this.urlSerializer.serialize(Fe.extractedUrl),this.urlSerializer.serialize(Fe.urlAfterRedirects),Fe.targetSnapshot);this.events.next(wt)}),(0,De.U)(Fe=>(this.currentTransition=j={...Fe,guards:Ws(Fe.targetSnapshot,Fe.currentSnapshot,this.rootContexts)},j)),function ds(h,_){return(0,st.z)(C=>{const{targetSnapshot:y,currentSnapshot:M,guards:{canActivateChecks:F,canDeactivateChecks:j}}=C;return 0===j.length&&0===F.length?(0,$.of)({...C,guardsResult:!0}):function yo(h,_,C,y){return(0,z.D)(h).pipe((0,st.z)(M=>function Oi(h,_,C,y,M){const F=_&&_.routeConfig?_.routeConfig.canDeactivate:null;if(!F||0===F.length)return(0,$.of)(!0);const j=F.map(we=>{const nt=Xr(_)??M,Fe=Rr(we,nt);return Sn(function B(h){return h&&li(h.canDeactivate)}(Fe)?Fe.canDeactivate(h,_,C,y):nt.runInContext(()=>Fe(h,_,C,y))).pipe((0,ht.P)())});return(0,$.of)(j).pipe(Yr())}(M.component,M.route,C,_,y)),(0,ht.P)(M=>!0!==M,!0))}(j,y,M,h).pipe((0,st.z)(we=>we&&function Zs(h){return"boolean"==typeof h}(we)?function ll(h,_,C,y){return(0,z.D)(_).pipe((0,It.b)(M=>(0,U.z)(function ha(h,_){return null!==h&&_&&_(new Cs(h)),(0,$.of)(!0)}(M.route.parent,y),function ui(h,_){return null!==h&&_&&_(new Br(h)),(0,$.of)(!0)}(M.route,y),function cl(h,_,C){const y=_[_.length-1],F=_.slice(0,_.length-1).reverse().map(j=>function us(h){const _=h.routeConfig?h.routeConfig.canActivateChild:null;return _&&0!==_.length?{node:h,guards:_}:null}(j)).filter(j=>null!==j).map(j=>(0,J.P)(()=>{const we=j.guards.map(nt=>{const Fe=Xr(j.node)??C,wt=Rr(nt,Fe);return Sn(function w(h){return h&&li(h.canActivateChild)}(wt)?wt.canActivateChild(y,h):Fe.runInContext(()=>wt(y,h))).pipe((0,ht.P)())});return(0,$.of)(we).pipe(Yr())}));return(0,$.of)(F).pipe(Yr())}(h,M.path,C),function La(h,_,C){const y=_.routeConfig?_.routeConfig.canActivate:null;if(!y||0===y.length)return(0,$.of)(!0);const M=y.map(F=>(0,J.P)(()=>{const j=Xr(_)??C,we=Rr(F,j);return Sn(function A(h){return h&&li(h.canActivate)}(we)?we.canActivate(_,h):j.runInContext(()=>we(_,h))).pipe((0,ht.P)())}));return(0,$.of)(M).pipe(Yr())}(h,M.route,C))),(0,ht.P)(M=>!0!==M,!0))}(y,F,h,_):(0,$.of)(we)),(0,De.U)(we=>({...C,guardsResult:we})))})}(this.environmentInjector,Fe=>this.events.next(Fe)),(0,St.b)(Fe=>{if(j.guardsResult=Fe.guardsResult,Qt(Fe.guardsResult))throw Bo(0,Fe.guardsResult);const wt=new Ti(Fe.id,this.urlSerializer.serialize(Fe.extractedUrl),this.urlSerializer.serialize(Fe.urlAfterRedirects),Fe.targetSnapshot,!!Fe.guardsResult);this.events.next(wt)}),(0,$e.h)(Fe=>!!Fe.guardsResult||(this.cancelNavigationTransition(Fe,"",3),!1)),g(Fe=>{if(Fe.guards.canActivateChecks.length)return(0,$.of)(Fe).pipe((0,St.b)(wt=>{const Ht=new fa(wt.id,this.urlSerializer.serialize(wt.extractedUrl),this.urlSerializer.serialize(wt.urlAfterRedirects),wt.targetSnapshot);this.events.next(Ht)}),(0,me.w)(wt=>{let Ht=!1;return(0,$.of)(wt).pipe(function dl(h,_){return(0,st.z)(C=>{const{targetSnapshot:y,guards:{canActivateChecks:M}}=C;if(!M.length)return(0,$.of)(C);let F=0;return(0,z.D)(M).pipe((0,It.b)(j=>function mi(h,_,C,y){const M=h.routeConfig,F=h._resolve;return void 0!==M?.title&&!yi(M)&&(F[Xe]=M.title),function ga(h,_,C,y){const M=function ma(h){return[...Object.keys(h),...Object.getOwnPropertySymbols(h)]}(h);if(0===M.length)return(0,$.of)({});const F={};return(0,z.D)(M).pipe((0,st.z)(j=>function _i(h,_,C,y){const M=Xr(_)??y,F=Rr(h,M);return Sn(F.resolve?F.resolve(_,C):M.runInContext(()=>F(_,C)))}(h[j],_,C,y).pipe((0,ht.P)(),(0,St.b)(we=>{F[j]=we}))),_r(1),(0,Ge.h)(F),(0,en.K)(j=>Ut(j)?Te.E:(0,xe._)(j)))}(F,h,_,y).pipe((0,De.U)(j=>(h._resolvedData=j,h.data=Ko(h,C).resolve,M&&yi(M)&&(h.data[Xe]=M.title),null)))}(j.route,y,h,_)),(0,St.b)(()=>F++),_r(1),(0,st.z)(j=>F===M.length?(0,$.of)(C):Te.E))})}(y.paramsInheritanceStrategy,this.environmentInjector),(0,St.b)({next:()=>Ht=!0,complete:()=>{Ht||this.cancelNavigationTransition(wt,"",2)}}))}),(0,St.b)(wt=>{const Ht=new Ii(wt.id,this.urlSerializer.serialize(wt.extractedUrl),this.urlSerializer.serialize(wt.urlAfterRedirects),wt.targetSnapshot);this.events.next(Ht)}))}),g(Fe=>{const wt=Ht=>{const Tr=[];Ht.routeConfig?.loadComponent&&!Ht.routeConfig._loadedComponent&&Tr.push(this.configLoader.loadComponent(Ht.routeConfig).pipe((0,St.b)(fn=>{Ht.component=fn}),(0,De.U)(()=>{})));for(const fn of Ht.children)Tr.push(...wt(fn));return Tr};return(0,ae.a)(wt(Fe.targetSnapshot.root)).pipe((0,or.d)(),(0,Se.q)(1))}),g(()=>this.afterPreactivation()),(0,De.U)(Fe=>{const wt=function _o(h,_,C){const y=ao(h,_._root,C?C._root:void 0);return new go(y,_)}(y.routeReuseStrategy,Fe.targetSnapshot,Fe.currentRouterState);return this.currentTransition=j={...Fe,targetRouterState:wt},j}),(0,St.b)(()=>{this.events.next(new Zo)}),((h,_,C,y)=>(0,De.U)(M=>(new Fa(_,M.targetRouterState,M.currentRouterState,C,y).activate(h),M)))(this.rootContexts,y.routeReuseStrategy,Fe=>this.events.next(Fe),this.inputBindingEnabled),(0,Se.q)(1),(0,St.b)({next:Fe=>{we=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new fr(Fe.id,this.urlSerializer.serialize(Fe.extractedUrl),this.urlSerializer.serialize(Fe.urlAfterRedirects))),y.titleStrategy?.updateTitle(Fe.targetRouterState.snapshot),Fe.resolve(!0)},complete:()=>{we=!0}}),(0,Ee.R)(this.transitionAbortSubject.pipe((0,St.b)(Fe=>{throw Fe}))),(0,Ce.x)(()=>{we||nt||this.cancelNavigationTransition(j,"",1),this.currentNavigation?.id===j.id&&(this.currentNavigation=null)}),(0,en.K)(Fe=>{if(nt=!0,Yo(Fe))this.events.next(new Mo(j.id,this.urlSerializer.serialize(j.extractedUrl),Fe.message,Fe.cancellationCode)),function lo(h){return Yo(h)&&Qt(h.url)}(Fe)?this.events.next(new bs(Fe.url)):j.resolve(!1);else{this.events.next(new Er(j.id,this.urlSerializer.serialize(j.extractedUrl),Fe,j.targetSnapshot??void 0));try{j.resolve(y.errorHandler(Fe))}catch(wt){j.reject(wt)}}return Te.E}))}))}cancelNavigationTransition(y,M,F){const j=new Mo(y.id,this.urlSerializer.serialize(y.extractedUrl),M,F);this.events.next(j),y.resolve(!1)}}return(h=_).\u0275fac=function(y){return new(y||h)},h.\u0275prov=a.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),_})();function ze(h){return h!==_n}let it=(()=>{var h;class _{buildTitle(y){let M,F=y.root;for(;void 0!==F;)M=this.getResolvedTitleForRoute(F)??M,F=F.children.find(j=>j.outlet===pe);return M}getResolvedTitleForRoute(y){return y.data[Xe]}}return(h=_).\u0275fac=function(y){return new(y||h)},h.\u0275prov=a.Yz7({token:h,factory:function(){return(0,a.f3M)(Jt)},providedIn:"root"}),_})(),Jt=(()=>{var h;class _ extends it{constructor(y){super(),this.title=y}updateTitle(y){const M=this.buildTitle(y);void 0!==M&&this.title.setTitle(M)}}return(h=_).\u0275fac=function(y){return new(y||h)(a.LFG(_e.Dx))},h.\u0275prov=a.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),_})(),vn=(()=>{var h;class _{}return(h=_).\u0275fac=function(y){return new(y||h)},h.\u0275prov=a.Yz7({token:h,factory:function(){return(0,a.f3M)(Gt)},providedIn:"root"}),_})();class gn{shouldDetach(_){return!1}store(_,C){}shouldAttach(_){return!1}retrieve(_){return null}shouldReuseRoute(_,C){return _.routeConfig===C.routeConfig}}let Gt=(()=>{var h;class _ extends gn{}return(h=_).\u0275fac=function(){let C;return function(M){return(C||(C=a.n5z(h)))(M||h)}}(),h.\u0275prov=a.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),_})();const Hn=new a.OlP("",{providedIn:"root",factory:()=>({})});let Tn=(()=>{var h;class _{}return(h=_).\u0275fac=function(y){return new(y||h)},h.\u0275prov=a.Yz7({token:h,factory:function(){return(0,a.f3M)(pr)},providedIn:"root"}),_})(),pr=(()=>{var h;class _{shouldProcessUrl(y){return!0}extract(y){return y}merge(y,M){return y}}return(h=_).\u0275fac=function(y){return new(y||h)},h.\u0275prov=a.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),_})();var zr=function(h){return h[h.COMPLETE=0]="COMPLETE",h[h.FAILED=1]="FAILED",h[h.REDIRECTING=2]="REDIRECTING",h}(zr||{});function Do(h,_){h.events.pipe((0,$e.h)(C=>C instanceof fr||C instanceof Mo||C instanceof Er||C instanceof xo),(0,De.U)(C=>C instanceof fr||C instanceof xo?zr.COMPLETE:C instanceof Mo&&(0===C.code||1===C.code)?zr.REDIRECTING:zr.FAILED),(0,$e.h)(C=>C!==zr.REDIRECTING),(0,Se.q)(1)).subscribe(()=>{_()})}function Uo(h){throw h}function Eo(h,_,C){return _.parse("/")}const wr={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Gr={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let ur=(()=>{var h;class _{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,a.f3M)(a.c2e),this.isNgZoneEnabled=!1,this._events=new Ve.x,this.options=(0,a.f3M)(Hn,{optional:!0})||{},this.pendingTasks=(0,a.f3M)(a.HDt),this.errorHandler=this.options.errorHandler||Uo,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||Eo,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=(0,a.f3M)(Tn),this.routeReuseStrategy=(0,a.f3M)(vn),this.titleStrategy=(0,a.f3M)(it),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,a.f3M)(T,{optional:!0})?.flat()??[],this.navigationTransitions=(0,a.f3M)(le),this.urlSerializer=(0,a.f3M)(ir),this.location=(0,a.f3M)(Z.Ye),this.componentInputBindingEnabled=!!(0,a.f3M)(mo,{optional:!0}),this.eventsSubscription=new Ye.w0,this.isNgZoneEnabled=(0,a.f3M)(a.R0b)instanceof a.R0b&&a.R0b.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new jn,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=Or(0,null),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe(y=>{this.lastSuccessfulId=y.id,this.currentPageId=this.browserPageId},y=>{this.console.warn(`Unhandled Navigation Error: ${y}`)}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const y=this.navigationTransitions.events.subscribe(M=>{try{const{currentTransition:F}=this.navigationTransitions;if(null===F)return void(qs(M)&&this._events.next(M));if(M instanceof No)ze(F.source)&&(this.browserUrlTree=F.extractedUrl);else if(M instanceof xo)this.rawUrlTree=F.rawUrl;else if(M instanceof To){if("eager"===this.urlUpdateStrategy){if(!F.extras.skipLocationChange){const j=this.urlHandlingStrategy.merge(F.urlAfterRedirects,F.rawUrl);this.setBrowserUrl(j,F)}this.browserUrlTree=F.urlAfterRedirects}}else if(M instanceof Zo)this.currentUrlTree=F.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(F.urlAfterRedirects,F.rawUrl),this.routerState=F.targetRouterState,"deferred"===this.urlUpdateStrategy&&(F.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,F),this.browserUrlTree=F.urlAfterRedirects);else if(M instanceof Mo)0!==M.code&&1!==M.code&&(this.navigated=!0),(3===M.code||2===M.code)&&this.restoreHistory(F);else if(M instanceof bs){const j=this.urlHandlingStrategy.merge(M.url,F.currentRawUrl),we={skipLocationChange:F.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||ze(F.source)};this.scheduleNavigation(j,_n,null,we,{resolve:F.resolve,reject:F.reject,promise:F.promise})}M instanceof Er&&this.restoreHistory(F,!0),M instanceof fr&&(this.navigated=!0),qs(M)&&this._events.next(M)}catch(F){this.navigationTransitions.transitionAbortSubject.next(F)}});this.eventsSubscription.add(y)}resetRootComponentType(y){this.routerState.root.component=y,this.navigationTransitions.rootComponentType=y}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const y=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),_n,y)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(y=>{const M="popstate"===y.type?"popstate":"hashchange";"popstate"===M&&setTimeout(()=>{this.navigateToSyncWithBrowser(y.url,M,y.state)},0)}))}navigateToSyncWithBrowser(y,M,F){const j={replaceUrl:!0},we=F?.navigationId?F:null;if(F){const Fe={...F};delete Fe.navigationId,delete Fe.\u0275routerPageId,0!==Object.keys(Fe).length&&(j.state=Fe)}const nt=this.parseUrl(y);this.scheduleNavigation(nt,M,we,j)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(y){this.config=y.map(Jo),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(y,M={}){const{relativeTo:F,queryParams:j,fragment:we,queryParamsHandling:nt,preserveFragment:Fe}=M,wt=Fe?this.currentUrlTree.fragment:we;let Tr,Ht=null;switch(nt){case"merge":Ht={...this.currentUrlTree.queryParams,...j};break;case"preserve":Ht=this.currentUrlTree.queryParams;break;default:Ht=j||null}null!==Ht&&(Ht=this.removeEmptyProps(Ht));try{Tr=re(F?F.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof y[0]||!y[0].startsWith("/"))&&(y=[]),Tr=this.currentUrlTree.root}return Ie(Tr,y,Ht,wt??null)}navigateByUrl(y,M={skipLocationChange:!1}){const F=Qt(y)?y:this.parseUrl(y),j=this.urlHandlingStrategy.merge(F,this.rawUrlTree);return this.scheduleNavigation(j,_n,null,M)}navigate(y,M={skipLocationChange:!1}){return function In(h){for(let _=0;_<h.length;_++)if(null==h[_])throw new a.vHH(4008,!1)}(y),this.navigateByUrl(this.createUrlTree(y,M),M)}serializeUrl(y){return this.urlSerializer.serialize(y)}parseUrl(y){let M;try{M=this.urlSerializer.parse(y)}catch(F){M=this.malformedUriErrorHandler(F,this.urlSerializer,y)}return M}isActive(y,M){let F;if(F=!0===M?{...wr}:!1===M?{...Gr}:M,Qt(y))return Vn(this.currentUrlTree,y,F);const j=this.parseUrl(y);return Vn(this.currentUrlTree,j,F)}removeEmptyProps(y){return Object.keys(y).reduce((M,F)=>{const j=y[F];return null!=j&&(M[F]=j),M},{})}scheduleNavigation(y,M,F,j,we){if(this.disposed)return Promise.resolve(!1);let nt,Fe,wt;we?(nt=we.resolve,Fe=we.reject,wt=we.promise):wt=new Promise((Tr,fn)=>{nt=Tr,Fe=fn});const Ht=this.pendingTasks.add();return Do(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(Ht))}),this.navigationTransitions.handleNavigationRequest({source:M,restoredState:F,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,currentBrowserUrl:this.browserUrlTree,rawUrl:y,extras:j,resolve:nt,reject:Fe,promise:wt,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),wt.catch(Tr=>Promise.reject(Tr))}setBrowserUrl(y,M){const F=this.urlSerializer.serialize(y);if(this.location.isCurrentPathEqualTo(F)||M.extras.replaceUrl){const we={...M.extras.state,...this.generateNgRouterState(M.id,this.browserPageId)};this.location.replaceState(F,"",we)}else{const j={...M.extras.state,...this.generateNgRouterState(M.id,this.browserPageId+1)};this.location.go(F,"",j)}}restoreHistory(y,M=!1){if("computed"===this.canceledNavigationResolution){const j=this.currentPageId-this.browserPageId;0!==j?this.location.historyGo(j):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===j&&(this.resetState(y),this.browserUrlTree=y.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(M&&this.resetState(y),this.resetUrlToCurrentUrlTree())}resetState(y){this.routerState=y.currentRouterState,this.currentUrlTree=y.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,y.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(y,M){return"computed"===this.canceledNavigationResolution?{navigationId:y,\u0275routerPageId:M}:{navigationId:y}}}return(h=_).\u0275fac=function(y){return new(y||h)},h.\u0275prov=a.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),_})();function qs(h){return!(h instanceof Zo||h instanceof bs)}let rs=(()=>{var h;class _{constructor(y,M,F,j,we,nt){this.router=y,this.route=M,this.tabIndexAttribute=F,this.renderer=j,this.el=we,this.locationStrategy=nt,this.href=null,this.commands=null,this.onChanges=new Ve.x,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const Fe=we.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===Fe||"area"===Fe,this.isAnchorElement?this.subscription=y.events.subscribe(wt=>{wt instanceof fr&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(y){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",y)}ngOnChanges(y){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(y){null!=y?(this.commands=Array.isArray(y)?y:[y],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(y,M,F,j,we){return!!(null===this.urlTree||this.isAnchorElement&&(0!==y||M||F||j||we||"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 y=null===this.href?null:(0,a.P3R)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",y)}applyAttributeValue(y,M){const F=this.renderer,j=this.el.nativeElement;null!==M?F.setAttribute(j,y,M):F.removeAttribute(j,y)}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(h=_).\u0275fac=function(y){return new(y||h)(a.Y36(ur),a.Y36(Lo),a.$8M("tabindex"),a.Y36(a.Qsj),a.Y36(a.SBq),a.Y36(Z.S$))},h.\u0275dir=a.lG2({type:h,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(y,M){1&y&&a.NdJ("click",function(j){return M.onClick(j.button,j.ctrlKey,j.shiftKey,j.altKey,j.metaKey)}),2&y&&a.uIk("target",M.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",a.VuI],skipLocationChange:["skipLocationChange","skipLocationChange",a.VuI],replaceUrl:["replaceUrl","replaceUrl",a.VuI],routerLink:"routerLink"},standalone:!0,features:[a.Xq5,a.TTD]}),_})(),Bn=(()=>{var h;class _{get isActive(){return this._isActive}constructor(y,M,F,j,we){this.router=y,this.element=M,this.renderer=F,this.cdr=j,this.link=we,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new a.vpe,this.routerEventsSubscription=y.events.subscribe(nt=>{nt instanceof fr&&this.update()})}ngAfterContentInit(){(0,$.of)(this.links.changes,(0,$.of)(null)).pipe((0,Ae.J)()).subscribe(y=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const y=[...this.links.toArray(),this.link].filter(M=>!!M).map(M=>M.onChanges);this.linkInputChangesSubscription=(0,z.D)(y).pipe((0,Ae.J)()).subscribe(M=>{this._isActive!==this.isLinkActive(this.router)(M)&&this.update()})}set routerLinkActive(y){const M=Array.isArray(y)?y:y.split(" ");this.classes=M.filter(F=>!!F)}ngOnChanges(y){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const y=this.hasActiveLinks();this._isActive!==y&&(this._isActive=y,this.cdr.markForCheck(),this.classes.forEach(M=>{y?this.renderer.addClass(this.element.nativeElement,M):this.renderer.removeClass(this.element.nativeElement,M)}),y&&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(y))})}isLinkActive(y){const M=function Ba(h){return!!h.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return F=>!!F.urlTree&&y.isActive(F.urlTree,M)}hasActiveLinks(){const y=this.isLinkActive(this.router);return this.link&&y(this.link)||this.links.some(y)}}return(h=_).\u0275fac=function(y){return new(y||h)(a.Y36(ur),a.Y36(a.SBq),a.Y36(a.Qsj),a.Y36(a.sBO),a.Y36(rs,8))},h.\u0275dir=a.lG2({type:h,selectors:[["","routerLinkActive",""]],contentQueries:function(y,M,F){if(1&y&&a.Suo(F,rs,5),2&y){let j;a.iGM(j=a.CRH())&&(M.links=j)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[a.TTD]}),_})();class _a{}let Qs=(()=>{var h;class _{constructor(y,M,F,j,we){this.router=y,this.injector=F,this.preloadingStrategy=j,this.loader=we}setUpPreloading(){this.subscription=this.router.events.pipe((0,$e.h)(y=>y instanceof fr),(0,It.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(y,M){const F=[];for(const j of M){j.providers&&!j._injector&&(j._injector=(0,a.MMx)(j.providers,y,`Route: ${j.path}`));const we=j._injector??y,nt=j._loadedInjector??we;(j.loadChildren&&!j._loadedRoutes&&void 0===j.canLoad||j.loadComponent&&!j._loadedComponent)&&F.push(this.preloadConfig(we,j)),(j.children||j._loadedRoutes)&&F.push(this.processRoutes(nt,j.children??j._loadedRoutes))}return(0,z.D)(F).pipe((0,Ae.J)())}preloadConfig(y,M){return this.preloadingStrategy.preload(M,()=>{let F;F=M.loadChildren&&void 0===M.canLoad?this.loader.loadChildren(y,M):(0,$.of)(null);const j=F.pipe((0,st.z)(we=>null===we?(0,$.of)(void 0):(M._loadedRoutes=we.routes,M._loadedInjector=we.injector,this.processRoutes(we.injector??y,we.routes))));if(M.loadComponent&&!M._loadedComponent){const we=this.loader.loadComponent(M);return(0,z.D)([j,we]).pipe((0,Ae.J)())}return j})}}return(h=_).\u0275fac=function(y){return new(y||h)(a.LFG(ur),a.LFG(a.Sil),a.LFG(a.lqb),a.LFG(_a),a.LFG(Y))},h.\u0275prov=a.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),_})();const vi=new a.OlP("");let Va=(()=>{var h;class _{constructor(y,M,F,j,we={}){this.urlSerializer=y,this.transitions=M,this.viewportScroller=F,this.zone=j,this.options=we,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},we.scrollPositionRestoration=we.scrollPositionRestoration||"disabled",we.anchorScrolling=we.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(y=>{y instanceof No?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=y.navigationTrigger,this.restoredId=y.restoredState?y.restoredState.navigationId:0):y instanceof fr?(this.lastId=y.id,this.scheduleScrollEvent(y,this.urlSerializer.parse(y.urlAfterRedirects).fragment)):y instanceof xo&&0===y.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(y,this.urlSerializer.parse(y.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(y=>{y instanceof Ar&&(y.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(y.position):y.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(y.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(y,M){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Ar(y,"popstate"===this.lastSource?this.store[this.restoredId]:null,M))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return(h=_).\u0275fac=function(y){a.$Z()},h.\u0275prov=a.Yz7({token:h,factory:h.\u0275fac}),_})();function Ao(h,_){return{\u0275kind:h,\u0275providers:_}}function Nt(){const h=(0,a.f3M)(a.zs3);return _=>{const C=h.get(a.z2F);if(_!==C.components[0])return;const y=h.get(ur),M=h.get(ta);1===h.get($a)&&y.initialNavigation(),h.get(Mr,null,a.XFs.Optional)?.setUpPreloading(),h.get(vi,null,a.XFs.Optional)?.init(),y.resetRootComponentType(C.componentTypes[0]),M.closed||(M.next(),M.complete(),M.unsubscribe())}}const ta=new a.OlP("",{factory:()=>new Ve.x}),$a=new a.OlP("",{providedIn:"root",factory:()=>1}),Mr=new a.OlP("");function Js(h){return Ao(0,[{provide:Mr,useExisting:Qs},{provide:_a,useExisting:h}])}const qe=new a.OlP("ROUTER_FORROOT_GUARD"),mn=[Z.Ye,{provide:ir,useClass:kt},ur,Fo,{provide:Lo,useFactory:function ja(h){return h.routerState.root},deps:[ur]},Y,[]];function ra(){return new a.PXZ("Router",ur)}let Da=(()=>{var h;class _{constructor(y){}static forRoot(y,M){return{ngModule:_,providers:[mn,[],{provide:T,multi:!0,useValue:y},{provide:qe,useFactory:ho,deps:[[ur,new a.FiY,new a.tp0]]},{provide:Hn,useValue:M||{}},M?.useHash?{provide:Z.S$,useClass:Z.Do}:{provide:Z.S$,useClass:Z.b0},{provide:vi,useFactory:()=>{const h=(0,a.f3M)(Z.EM),_=(0,a.f3M)(a.R0b),C=(0,a.f3M)(Hn),y=(0,a.f3M)(le),M=(0,a.f3M)(ir);return C.scrollOffset&&h.setOffset(C.scrollOffset),new Va(M,y,h,_,C)}},M?.preloadingStrategy?Js(M.preloadingStrategy).\u0275providers:[],{provide:a.PXZ,multi:!0,useFactory:ra},M?.initialNavigation?Ea(M):[],M?.bindToComponentInputs?Ao(8,[Wn,{provide:mo,useExisting:Wn}]).\u0275providers:[],[{provide:Xs,useFactory:Nt},{provide:a.tb,multi:!0,useExisting:Xs}]]}}static forChild(y){return{ngModule:_,providers:[{provide:T,multi:!0,useValue:y}]}}}return(h=_).\u0275fac=function(y){return new(y||h)(a.LFG(qe,8))},h.\u0275mod=a.oAB({type:h}),h.\u0275inj=a.cJS({}),_})();function ho(h){return"guarded"}function Ea(h){return["disabled"===h.initialNavigation?Ao(3,[{provide:a.ip1,multi:!0,useFactory:()=>{const _=(0,a.f3M)(ur);return()=>{_.setUpLocationChangeListener()}}},{provide:$a,useValue:2}]).\u0275providers:[],"enabledBlocking"===h.initialNavigation?Ao(2,[{provide:$a,useValue:0},{provide:a.ip1,multi:!0,deps:[a.zs3],useFactory:_=>{const C=_.get(Z.V_,Promise.resolve());return()=>C.then(()=>new Promise(y=>{const M=_.get(ur),F=_.get(ta);Do(M,()=>{y(!0)}),_.get(le).afterPreactivation=()=>(y(!0),F.closed?(0,$.of)(void 0):F),M.initialNavigation()}))}}]).\u0275providers:[]]}const Xs=new a.OlP("")},3106:(tt,ve,I)=>{I.d(ve,{Z:()=>Ye});var a=I(9058),u=I(4537),G=I(534),ne=I(7879);class z{constructor(je,Le){this._delegate=je,this.firebase=Le,(0,G._addComponent)(je,new u.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,G.deleteApp)(this._delegate)))}_getService(je,Le=G._DEFAULT_ENTRY_NAME){var et;this._delegate.checkDestroyed();const Ve=this._delegate.container.getProvider(je);return!Ve.isInitialized()&&"EXPLICIT"===(null===(et=Ve.getComponent())||void 0===et?void 0:et.instantiationMode)&&Ve.initialize(),Ve.getImmediate({identifier:Le})}_removeServiceInstance(je,Le=G._DEFAULT_ENTRY_NAME){this._delegate.container.getProvider(je).clearInstance(Le)}_addComponent(je){(0,G._addComponent)(this._delegate,je)}_addOrOverwriteComponent(je){(0,G._addOrOverwriteComponent)(this._delegate,je)}toJSON(){return{name:this.name,automaticDataCollectionEnabled:this.automaticDataCollectionEnabled,options:this.options}}}const ee=new a.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."}),U=function de(){const Oe=function ae(Oe){const je={},Le={__esModule:!0,initializeApp:function Z(We,$e={}){const st=G.initializeApp(We,$e);if((0,a.r3)(je,st.name))return je[st.name];const ht=new Oe(st,Le);return je[st.name]=ht,ht},app:Ve,registerVersion:G.registerVersion,setLogLevel:G.setLogLevel,onLog:G.onLog,apps:null,SDK_VERSION:G.SDK_VERSION,INTERNAL:{registerComponent:function me(We){const $e=We.name,st=$e.replace("-compat","");if(G._registerComponent(We)&&"PUBLIC"===We.type){const ht=(It=Ve())=>{if("function"!=typeof It[st])throw ee.create("invalid-app-argument",{appName:$e});return It[st]()};void 0!==We.serviceProps&&(0,a.ZB)(ht,We.serviceProps),Le[st]=ht,Oe.prototype[st]=function(...It){return this._getService.bind(this,$e).apply(this,We.multipleInstances?It:[])}}return"PUBLIC"===We.type?Le[st]:null},removeApp:function et(We){delete je[We]},useAsService:function Se(We,$e){return"serverAuth"===$e?null:$e},modularAPIs:G}};function Ve(We){if(!(0,a.r3)(je,We=We||G._DEFAULT_ENTRY_NAME))throw ee.create("no-app",{appName:We});return je[We]}return Le.default=Le,Object.defineProperty(Le,"apps",{get:function De(){return Object.keys(je).map(We=>je[We])}}),Ve.App=Oe,Le}(z);return Oe.INTERNAL=Object.assign(Object.assign({},Oe.INTERNAL),{createFirebaseNamespace:de,extendNamespace:function je(Le){(0,a.ZB)(Oe,Le)},createSubscribe:a.ne,ErrorFactory:a.LL,deepExtend:a.ZB}),Oe}(),J=new ne.Yd("@firebase/app-compat");if((0,a.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 Oe=self.firebase.SDK_VERSION;Oe&&Oe.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 Ye=U;!function Te(Oe){(0,G.registerVersion)("@firebase/app-compat","0.2.13",Oe)}()},534:(tt,ve,I)=>{I.r(ve),I.d(ve,{FirebaseError:()=>ne.ZR,SDK_VERSION:()=>Yn,_DEFAULT_ENTRY_NAME:()=>ct,_addComponent:()=>jn,_addOrOverwriteComponent:()=>jt,_apps:()=>Tt,_clearComponents:()=>cn,_components:()=>rn,_getProvider:()=>kn,_registerComponent:()=>qt,_removeServiceInstance:()=>Ur,deleteApp:()=>Ln,getApp:()=>Fn,getApps:()=>En,initializeApp:()=>zn,onLog:()=>lr,registerVersion:()=>er,setLogLevel:()=>vr});var a=I(5861),u=I(4537),G=I(7879),ne=I(9058);const z=(K,oe)=>oe.some(ge=>K instanceof ge);let $,ee;const U=new WeakMap,J=new WeakMap,fe=new WeakMap,xe=new WeakMap,Te=new WeakMap;let je={get(K,oe,ge){if(K instanceof IDBTransaction){if("done"===oe)return J.get(K);if("objectStoreNames"===oe)return K.objectStoreNames||fe.get(K);if("store"===oe)return ge.objectStoreNames[1]?void 0:ge.objectStore(ge.objectStoreNames[0])}return Z(K[oe])},set:(K,oe,ge)=>(K[oe]=ge,!0),has:(K,oe)=>K instanceof IDBTransaction&&("done"===oe||"store"===oe)||oe in K};function Ve(K){return"function"==typeof K?function et(K){return K!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?function de(){return ee||(ee=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}().includes(K)?function(...oe){return K.apply(De(this),oe),Z(U.get(this))}:function(...oe){return Z(K.apply(De(this),oe))}:function(oe,...ge){const Ze=K.call(De(this),oe,...ge);return fe.set(Ze,oe.sort?oe.sort():[oe]),Z(Ze)}}(K):(K instanceof IDBTransaction&&function Oe(K){if(J.has(K))return;const oe=new Promise((ge,Ze)=>{const ke=()=>{K.removeEventListener("complete",gt),K.removeEventListener("error",mt),K.removeEventListener("abort",mt)},gt=()=>{ge(),ke()},mt=()=>{Ze(K.error||new DOMException("AbortError","AbortError")),ke()};K.addEventListener("complete",gt),K.addEventListener("error",mt),K.addEventListener("abort",mt)});J.set(K,oe)}(K),z(K,function ae(){return $||($=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}())?new Proxy(K,je):K)}function Z(K){if(K instanceof IDBRequest)return function Ye(K){const oe=new Promise((ge,Ze)=>{const ke=()=>{K.removeEventListener("success",gt),K.removeEventListener("error",mt)},gt=()=>{ge(Z(K.result)),ke()},mt=()=>{Ze(K.error),ke()};K.addEventListener("success",gt),K.addEventListener("error",mt)});return oe.then(ge=>{ge instanceof IDBCursor&&U.set(ge,K)}).catch(()=>{}),Te.set(oe,K),oe}(K);if(xe.has(K))return xe.get(K);const oe=Ve(K);return oe!==K&&(xe.set(K,oe),Te.set(oe,K)),oe}const De=K=>Te.get(K),We=["get","getKey","getAll","getAllKeys","count"],$e=["put","add","delete","clear"],st=new Map;function ht(K,oe){if(!(K instanceof IDBDatabase)||oe in K||"string"!=typeof oe)return;if(st.get(oe))return st.get(oe);const ge=oe.replace(/FromIndex$/,""),Ze=oe!==ge,ke=$e.includes(ge);if(!(ge in(Ze?IDBIndex:IDBObjectStore).prototype)||!ke&&!We.includes(ge))return;const gt=function(){var mt=(0,a.Z)(function*(un,...Cn){const dn=this.transaction(un,ke?"readwrite":"readonly");let Gn=dn.store;return Ze&&(Gn=Gn.index(Cn.shift())),(yield Promise.all([Gn[ge](...Cn),ke&&dn.done]))[0]});return function(Cn){return mt.apply(this,arguments)}}();return st.set(oe,gt),gt}!function Le(K){je=K(je)}(K=>({...K,get:(oe,ge,Ze)=>ht(oe,ge)||K.get(oe,ge,Ze),has:(oe,ge)=>!!ht(oe,ge)||K.has(oe,ge)}));class It{constructor(oe){this.container=oe}getPlatformInfoString(){return this.container.getProviders().map(ge=>{if(function St(K){const oe=K.getComponent();return"VERSION"===oe?.type}(ge)){const Ze=ge.getImmediate();return`${Ze.library}/${Ze.version}`}return null}).filter(ge=>ge).join(" ")}}const en="@firebase/app",on=new G.Yd("@firebase/app"),ct="[DEFAULT]",Vt={[en]:"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"},Tt=new Map,rn=new Map;function jn(K,oe){try{K.container.addComponent(oe)}catch(ge){on.debug(`Component ${oe.name} failed to register with FirebaseApp ${K.name}`,ge)}}function jt(K,oe){K.container.addOrOverwriteComponent(oe)}function qt(K){const oe=K.name;if(rn.has(oe))return on.debug(`There were multiple attempts to register component ${oe}.`),!1;rn.set(oe,K);for(const ge of Tt.values())jn(ge,K);return!0}function kn(K,oe){const ge=K.container.getProvider("heartbeat").getImmediate({optional:!0});return ge&&ge.triggerHeartbeat(),K.container.getProvider(oe)}function Ur(K,oe,ge=ct){kn(K,oe).clearInstance(ge)}function cn(){rn.clear()}const kt=new ne.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 Mn{constructor(oe,ge,Ze){this._isDeleted=!1,this._options=Object.assign({},oe),this._config=Object.assign({},ge),this._name=ge.name,this._automaticDataCollectionEnabled=ge.automaticDataCollectionEnabled,this._container=Ze,this.container.addComponent(new u.wA("app",()=>this,"PUBLIC"))}get automaticDataCollectionEnabled(){return this.checkDestroyed(),this._automaticDataCollectionEnabled}set automaticDataCollectionEnabled(oe){this.checkDestroyed(),this._automaticDataCollectionEnabled=oe}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(oe){this._isDeleted=oe}checkDestroyed(){if(this.isDeleted)throw kt.create("app-deleted",{appName:this._name})}}const Yn="9.23.0";function zn(K,oe={}){let ge=K;"object"!=typeof oe&&(oe={name:oe});const Ze=Object.assign({name:ct,automaticDataCollectionEnabled:!1},oe),ke=Ze.name;if("string"!=typeof ke||!ke)throw kt.create("bad-app-name",{appName:String(ke)});if(ge||(ge=(0,ne.aH)()),!ge)throw kt.create("no-options");const gt=Tt.get(ke);if(gt){if((0,ne.vZ)(ge,gt.options)&&(0,ne.vZ)(Ze,gt.config))return gt;throw kt.create("duplicate-app",{appName:ke})}const mt=new u.H0(ke);for(const Cn of rn.values())mt.addComponent(Cn);const un=new Mn(ge,Ze,mt);return Tt.set(ke,un),un}function Fn(K=ct){const oe=Tt.get(K);if(!oe&&K===ct&&(0,ne.aH)())return zn();if(!oe)throw kt.create("no-app",{appName:K});return oe}function En(){return Array.from(Tt.values())}function Ln(K){return ar.apply(this,arguments)}function ar(){return(ar=(0,a.Z)(function*(K){const oe=K.name;Tt.has(oe)&&(Tt.delete(oe),yield Promise.all(K.container.getProviders().map(ge=>ge.delete())),K.isDeleted=!0)})).apply(this,arguments)}function er(K,oe,ge){var Ze;let ke=null!==(Ze=Vt[K])&&void 0!==Ze?Ze:K;ge&&(ke+=`-${ge}`);const gt=ke.match(/\s|\//),mt=oe.match(/\s|\//);if(gt||mt){const un=[`Unable to register library "${ke}" with version "${oe}":`];return gt&&un.push(`library name "${ke}" contains illegal characters (whitespace or "/")`),gt&&mt&&un.push("and"),mt&&un.push(`version name "${oe}" contains illegal characters (whitespace or "/")`),void on.warn(un.join(" "))}qt(new u.wA(`${ke}-version`,()=>({library:ke,version:oe}),"VERSION"))}function lr(K,oe){if(null!==K&&"function"!=typeof K)throw kt.create("invalid-log-argument");(0,G.Am)(K,oe)}function vr(K){(0,G.Ub)(K)}const Dr="firebase-heartbeat-database",so=1,ie="firebase-heartbeat-store";let k=null;function x(){return k||(k=function me(K,oe,{blocked:ge,upgrade:Ze,blocking:ke,terminated:gt}={}){const mt=indexedDB.open(K,oe),un=Z(mt);return Ze&&mt.addEventListener("upgradeneeded",Cn=>{Ze(Z(mt.result),Cn.oldVersion,Cn.newVersion,Z(mt.transaction),Cn)}),ge&&mt.addEventListener("blocked",Cn=>ge(Cn.oldVersion,Cn.newVersion,Cn)),un.then(Cn=>{gt&&Cn.addEventListener("close",()=>gt()),ke&&Cn.addEventListener("versionchange",dn=>ke(dn.oldVersion,dn.newVersion,dn))}).catch(()=>{}),un}(Dr,so,{upgrade:(K,oe)=>{0===oe&&K.createObjectStore(ie)}}).catch(K=>{throw kt.create("idb-open",{originalErrorMessage:K.message})})),k}function L(){return(L=(0,a.Z)(function*(K){try{return yield(yield x()).transaction(ie).objectStore(ie).get(Qe(K))}catch(oe){if(oe instanceof ne.ZR)on.warn(oe.message);else{const ge=kt.create("idb-get",{originalErrorMessage:oe?.message});on.warn(ge.message)}}})).apply(this,arguments)}function se(K,oe){return Re.apply(this,arguments)}function Re(){return(Re=(0,a.Z)(function*(K,oe){try{const Ze=(yield x()).transaction(ie,"readwrite");yield Ze.objectStore(ie).put(oe,Qe(K)),yield Ze.done}catch(ge){if(ge instanceof ne.ZR)on.warn(ge.message);else{const Ze=kt.create("idb-set",{originalErrorMessage:ge?.message});on.warn(Ze.message)}}})).apply(this,arguments)}function Qe(K){return`${K.name}!${K.options.appId}`}class Lt{constructor(oe){this.container=oe,this._heartbeatsCache=null;const ge=this.container.getProvider("app").getImmediate();this._storage=new ye(ge),this._heartbeatsCachePromise=this._storage.read().then(Ze=>(this._heartbeatsCache=Ze,Ze))}triggerHeartbeat(){var oe=this;return(0,a.Z)(function*(){const Ze=oe.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(),ke=bt();if(null===oe._heartbeatsCache&&(oe._heartbeatsCache=yield oe._heartbeatsCachePromise),oe._heartbeatsCache.lastSentHeartbeatDate!==ke&&!oe._heartbeatsCache.heartbeats.some(gt=>gt.date===ke))return oe._heartbeatsCache.heartbeats.push({date:ke,agent:Ze}),oe._heartbeatsCache.heartbeats=oe._heartbeatsCache.heartbeats.filter(gt=>{const mt=new Date(gt.date).valueOf();return Date.now()-mt<=2592e6}),oe._storage.overwrite(oe._heartbeatsCache)})()}getHeartbeatsHeader(){var oe=this;return(0,a.Z)(function*(){if(null===oe._heartbeatsCache&&(yield oe._heartbeatsCachePromise),null===oe._heartbeatsCache||0===oe._heartbeatsCache.heartbeats.length)return"";const ge=bt(),{heartbeatsToSend:Ze,unsentEntries:ke}=function Qt(K,oe=1024){const ge=[];let Ze=K.slice();for(const ke of K){const gt=ge.find(mt=>mt.agent===ke.agent);if(gt){if(gt.dates.push(ke.date),re(ge)>oe){gt.dates.pop();break}}else if(ge.push({agent:ke.agent,dates:[ke.date]}),re(ge)>oe){ge.pop();break}Ze=Ze.slice(1)}return{heartbeatsToSend:ge,unsentEntries:Ze}}(oe._heartbeatsCache.heartbeats),gt=(0,ne.L)(JSON.stringify({version:2,heartbeats:Ze}));return oe._heartbeatsCache.lastSentHeartbeatDate=ge,ke.length>0?(oe._heartbeatsCache.heartbeats=ke,yield oe._storage.overwrite(oe._heartbeatsCache)):(oe._heartbeatsCache.heartbeats=[],oe._storage.overwrite(oe._heartbeatsCache)),gt})()}}function bt(){return(new Date).toISOString().substring(0,10)}class ye{constructor(oe){this.app=oe,this._canUseIndexedDBPromise=this.runIndexedDBEnvironmentCheck()}runIndexedDBEnvironmentCheck(){return(0,a.Z)(function*(){return!!(0,ne.hl)()&&(0,ne.eu)().then(()=>!0).catch(()=>!1)})()}read(){var oe=this;return(0,a.Z)(function*(){return(yield oe._canUseIndexedDBPromise)&&(yield function te(K){return L.apply(this,arguments)}(oe.app))||{heartbeats:[]}})()}overwrite(oe){var ge=this;return(0,a.Z)(function*(){var Ze;if(yield ge._canUseIndexedDBPromise){const gt=yield ge.read();return se(ge.app,{lastSentHeartbeatDate:null!==(Ze=oe.lastSentHeartbeatDate)&&void 0!==Ze?Ze:gt.lastSentHeartbeatDate,heartbeats:oe.heartbeats})}})()}add(oe){var ge=this;return(0,a.Z)(function*(){var Ze;if(yield ge._canUseIndexedDBPromise){const gt=yield ge.read();return se(ge.app,{lastSentHeartbeatDate:null!==(Ze=oe.lastSentHeartbeatDate)&&void 0!==Ze?Ze:gt.lastSentHeartbeatDate,heartbeats:[...gt.heartbeats,...oe.heartbeats]})}})()}}function re(K){return(0,ne.L)(JSON.stringify({version:2,heartbeats:K})).length}!function Ie(K){qt(new u.wA("platform-logger",oe=>new It(oe),"PRIVATE")),qt(new u.wA("heartbeat",oe=>new Lt(oe),"PRIVATE")),er(en,"0.9.13",K),er(en,"0.9.13","esm2017"),er("fire-js","")}("")},4537:(tt,ve,I)=>{I.d(ve,{H0:()=>ae,wA:()=>G});var a=I(5861),u=I(9058);class G{constructor(U,J,fe){this.name=U,this.instanceFactory=J,this.type=fe,this.multipleInstances=!1,this.serviceProps={},this.instantiationMode="LAZY",this.onInstanceCreated=null}setInstantiationMode(U){return this.instantiationMode=U,this}setMultipleInstances(U){return this.multipleInstances=U,this}setServiceProps(U){return this.serviceProps=U,this}setInstanceCreatedCallback(U){return this.onInstanceCreated=U,this}}const ne="[DEFAULT]";class z{constructor(U,J){this.name=U,this.container=J,this.component=null,this.instances=new Map,this.instancesDeferred=new Map,this.instancesOptions=new Map,this.onInitCallbacks=new Map}get(U){const J=this.normalizeInstanceIdentifier(U);if(!this.instancesDeferred.has(J)){const fe=new u.BH;if(this.instancesDeferred.set(J,fe),this.isInitialized(J)||this.shouldAutoInitialize())try{const xe=this.getOrInitializeService({instanceIdentifier:J});xe&&fe.resolve(xe)}catch{}}return this.instancesDeferred.get(J).promise}getImmediate(U){var J;const fe=this.normalizeInstanceIdentifier(U?.identifier),xe=null!==(J=U?.optional)&&void 0!==J&&J;if(!this.isInitialized(fe)&&!this.shouldAutoInitialize()){if(xe)return null;throw Error(`Service ${this.name} is not available`)}try{return this.getOrInitializeService({instanceIdentifier:fe})}catch(Te){if(xe)return null;throw Te}}getComponent(){return this.component}setComponent(U){if(U.name!==this.name)throw Error(`Mismatching Component ${U.name} for Provider ${this.name}.`);if(this.component)throw Error(`Component for ${this.name} has already been provided`);if(this.component=U,this.shouldAutoInitialize()){if(function ee(de){return"EAGER"===de.instantiationMode}(U))try{this.getOrInitializeService({instanceIdentifier:ne})}catch{}for(const[J,fe]of this.instancesDeferred.entries()){const xe=this.normalizeInstanceIdentifier(J);try{const Te=this.getOrInitializeService({instanceIdentifier:xe});fe.resolve(Te)}catch{}}}}clearInstance(U=ne){this.instancesDeferred.delete(U),this.instancesOptions.delete(U),this.instances.delete(U)}delete(){var U=this;return(0,a.Z)(function*(){const J=Array.from(U.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(U=ne){return this.instances.has(U)}getOptions(U=ne){return this.instancesOptions.get(U)||{}}initialize(U={}){const{options:J={}}=U,fe=this.normalizeInstanceIdentifier(U.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 xe=this.getOrInitializeService({instanceIdentifier:fe,options:J});for(const[Te,Ye]of this.instancesDeferred.entries())fe===this.normalizeInstanceIdentifier(Te)&&Ye.resolve(xe);return xe}onInit(U,J){var fe;const xe=this.normalizeInstanceIdentifier(J),Te=null!==(fe=this.onInitCallbacks.get(xe))&&void 0!==fe?fe:new Set;Te.add(U),this.onInitCallbacks.set(xe,Te);const Ye=this.instances.get(xe);return Ye&&U(Ye,xe),()=>{Te.delete(U)}}invokeOnInitCallbacks(U,J){const fe=this.onInitCallbacks.get(J);if(fe)for(const xe of fe)try{xe(U,J)}catch{}}getOrInitializeService({instanceIdentifier:U,options:J={}}){let fe=this.instances.get(U);if(!fe&&this.component&&(fe=this.component.instanceFactory(this.container,{instanceIdentifier:(de=U,de===ne?void 0:de),options:J}),this.instances.set(U,fe),this.instancesOptions.set(U,J),this.invokeOnInitCallbacks(fe,U),this.component.onInstanceCreated))try{this.component.onInstanceCreated(this.container,U,fe)}catch{}var de;return fe||null}normalizeInstanceIdentifier(U=ne){return this.component?this.component.multipleInstances?U:ne:U}shouldAutoInitialize(){return!!this.component&&"EXPLICIT"!==this.component.instantiationMode}}class ae{constructor(U){this.name=U,this.providers=new Map}addComponent(U){const J=this.getProvider(U.name);if(J.isComponentSet())throw new Error(`Component ${U.name} has already been registered with ${this.name}`);J.setComponent(U)}addOrOverwriteComponent(U){this.getProvider(U.name).isComponentSet()&&this.providers.delete(U.name),this.addComponent(U)}getProvider(U){if(this.providers.has(U))return this.providers.get(U);const J=new z(U,this);return this.providers.set(U,J),J}getProviders(){return Array.from(this.providers.values())}}},7879:(tt,ve,I)=>{I.d(ve,{Am:()=>de,Ub:()=>ae,Yd:()=>ee,in:()=>u});const a=[];var u=function(U){return U[U.DEBUG=0]="DEBUG",U[U.VERBOSE=1]="VERBOSE",U[U.INFO=2]="INFO",U[U.WARN=3]="WARN",U[U.ERROR=4]="ERROR",U[U.SILENT=5]="SILENT",U}(u||{});const G={debug:u.DEBUG,verbose:u.VERBOSE,info:u.INFO,warn:u.WARN,error:u.ERROR,silent:u.SILENT},ne=u.INFO,z={[u.DEBUG]:"log",[u.VERBOSE]:"log",[u.INFO]:"info",[u.WARN]:"warn",[u.ERROR]:"error"},$=(U,J,...fe)=>{if(J<U.logLevel)return;const xe=(new Date).toISOString(),Te=z[J];if(!Te)throw new Error(`Attempted to log a message with an invalid logType (value: ${J})`);console[Te](`[${xe}] ${U.name}:`,...fe)};class ee{constructor(J){this.name=J,this._logLevel=ne,this._logHandler=$,this._userLogHandler=null,a.push(this)}get logLevel(){return this._logLevel}set logLevel(J){if(!(J in u))throw new TypeError(`Invalid value "${J}" assigned to \`logLevel\``);this._logLevel=J}setLogLevel(J){this._logLevel="string"==typeof J?G[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,u.DEBUG,...J),this._logHandler(this,u.DEBUG,...J)}log(...J){this._userLogHandler&&this._userLogHandler(this,u.VERBOSE,...J),this._logHandler(this,u.VERBOSE,...J)}info(...J){this._userLogHandler&&this._userLogHandler(this,u.INFO,...J),this._logHandler(this,u.INFO,...J)}warn(...J){this._userLogHandler&&this._userLogHandler(this,u.WARN,...J),this._logHandler(this,u.WARN,...J)}error(...J){this._userLogHandler&&this._userLogHandler(this,u.ERROR,...J),this._logHandler(this,u.ERROR,...J)}}function ae(U){a.forEach(J=>{J.setLogLevel(U)})}function de(U,J){for(const fe of a){let xe=null;J&&J.level&&(xe=G[J.level]),fe.userLogHandler=null===U?null:(Te,Ye,...Oe)=>{const je=Oe.map(Le=>{if(null==Le)return null;if("string"==typeof Le)return Le;if("number"==typeof Le||"boolean"==typeof Le)return Le.toString();if(Le instanceof Error)return Le.message;try{return JSON.stringify(Le)}catch{return null}}).filter(Le=>Le).join(" ");Ye>=(xe??Te.logLevel)&&U({level:u[Ye].toLowerCase(),message:je,args:Oe,type:Te.name})}}}},3182:(tt,ve,I)=>{I.d(ve,{C6:()=>a.getApps,Mq:()=>a.getApp});var a=I(534);(0,a.registerVersion)("firebase","9.23.0","app")},7142:(tt,ve,I)=>{I.d(ve,{Z:()=>a.Z});var a=I(3106);a.Z.registerVersion("firebase","9.23.0","app-compat")},2425:(tt,ve,I)=>{I.d(ve,{FN:()=>pn,PR:()=>Se,Rh:()=>_r,_W:()=>en});var a=I(1180),u=I(5879),G=I(6825),ne=I(6814),z=I(8645),$=I(6593);const ee=["toast-component",""];function ae(Ce,Ee){if(1&Ce){const Ae=u.EpF();u.TgZ(0,"button",5),u.NdJ("click",function(){u.CHM(Ae);const pe=u.oxw();return u.KtG(pe.remove())}),u.TgZ(1,"span",6),u._uU(2,"\xd7"),u.qZA()()}}function de(Ce,Ee){if(1&Ce&&(u.ynx(0),u._uU(1),u.BQk()),2&Ce){const Ae=u.oxw(2);u.xp6(1),u.hij("[",Ae.duplicatesCount+1,"]")}}function U(Ce,Ee){if(1&Ce&&(u.TgZ(0,"div"),u._uU(1),u.YNc(2,de,2,1,"ng-container",4),u.qZA()),2&Ce){const Ae=u.oxw();u.Tol(Ae.options.titleClass),u.uIk("aria-label",Ae.title),u.xp6(1),u.hij(" ",Ae.title," "),u.xp6(1),u.Q6J("ngIf",Ae.duplicatesCount)}}function J(Ce,Ee){if(1&Ce&&u._UZ(0,"div",7),2&Ce){const Ae=u.oxw();u.Tol(Ae.options.messageClass),u.Q6J("innerHTML",Ae.message,u.oJD)}}function fe(Ce,Ee){if(1&Ce&&(u.TgZ(0,"div",8),u._uU(1),u.qZA()),2&Ce){const Ae=u.oxw();u.Tol(Ae.options.messageClass),u.uIk("aria-label",Ae.message),u.xp6(1),u.hij(" ",Ae.message," ")}}function xe(Ce,Ee){if(1&Ce&&(u.TgZ(0,"div"),u._UZ(1,"div",9),u.qZA()),2&Ce){const Ae=u.oxw();u.xp6(1),u.Udp("width",Ae.width+"%")}}class Z{constructor(Ee,Ae){(0,a.Z)(this,"_attachedHost",void 0),(0,a.Z)(this,"component",void 0),(0,a.Z)(this,"viewContainerRef",void 0),(0,a.Z)(this,"injector",void 0),this.component=Ee,this.injector=Ae}attach(Ee,Ae){return this._attachedHost=Ee,Ee.attach(this,Ae)}detach(){const Ee=this._attachedHost;if(Ee)return this._attachedHost=void 0,Ee.detach()}get isAttached(){return null!=this._attachedHost}setAttachedHost(Ee){this._attachedHost=Ee}}class De{constructor(){(0,a.Z)(this,"_attachedPortal",void 0),(0,a.Z)(this,"_disposeFn",void 0)}attach(Ee,Ae){return this._attachedPortal=Ee,this.attachComponentPortal(Ee,Ae)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(Ee){this._disposeFn=Ee}}class me{constructor(Ee){(0,a.Z)(this,"_overlayRef",void 0),(0,a.Z)(this,"componentInstance",void 0),(0,a.Z)(this,"duplicatesCount",0),(0,a.Z)(this,"_afterClosed",new z.x),(0,a.Z)(this,"_activate",new z.x),(0,a.Z)(this,"_manualClose",new z.x),(0,a.Z)(this,"_resetTimeout",new z.x),(0,a.Z)(this,"_countDuplicate",new z.x),this._overlayRef=Ee}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(Ee,Ae){Ee&&this._resetTimeout.next(),Ae&&this._countDuplicate.next(++this.duplicatesCount)}}class Se{constructor(Ee,Ae,_e,pe,Xe,pt){(0,a.Z)(this,"toastId",void 0),(0,a.Z)(this,"config",void 0),(0,a.Z)(this,"message",void 0),(0,a.Z)(this,"title",void 0),(0,a.Z)(this,"toastType",void 0),(0,a.Z)(this,"toastRef",void 0),(0,a.Z)(this,"_onTap",new z.x),(0,a.Z)(this,"_onAction",new z.x),this.toastId=Ee,this.config=Ae,this.message=_e,this.title=pe,this.toastType=Xe,this.toastRef=pt,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(Ee){this._onAction.next(Ee)}onAction(){return this._onAction.asObservable()}}const $e=new u.OlP("ToastConfig");class st extends De{constructor(Ee,Ae,_e){super(),(0,a.Z)(this,"_hostDomElement",void 0),(0,a.Z)(this,"_componentFactoryResolver",void 0),(0,a.Z)(this,"_appRef",void 0),this._hostDomElement=Ee,this._componentFactoryResolver=Ae,this._appRef=_e}attachComponentPortal(Ee,Ae){const _e=this._componentFactoryResolver.resolveComponentFactory(Ee.component);let pe;return pe=_e.create(Ee.injector),this._appRef.attachView(pe.hostView),this.setDisposeFn(()=>{this._appRef.detachView(pe.hostView),pe.destroy()}),Ae?this._hostDomElement.insertBefore(this._getComponentRootNode(pe),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(pe)),pe}_getComponentRootNode(Ee){return Ee.hostView.rootNodes[0]}}let ht=(()=>{var Ce;class Ee{constructor(){(0,a.Z)(this,"_document",(0,u.f3M)(ne.K0)),(0,a.Z)(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 _e=this._document.createElement("div");_e.classList.add("overlay-container"),_e.setAttribute("aria-live","polite"),this._document.body.appendChild(_e),this._containerElement=_e}}return Ce=Ee,(0,a.Z)(Ee,"\u0275fac",function(_e){return new(_e||Ce)}),(0,a.Z)(Ee,"\u0275prov",u.Yz7({token:Ce,factory:Ce.\u0275fac,providedIn:"root"})),Ee})();class It{constructor(Ee){(0,a.Z)(this,"_portalHost",void 0),this._portalHost=Ee}attach(Ee,Ae=!0){return this._portalHost.attach(Ee,Ae)}detach(){return this._portalHost.detach()}}let St=(()=>{var Ce;class Ee{constructor(){(0,a.Z)(this,"_overlayContainer",(0,u.f3M)(ht)),(0,a.Z)(this,"_componentFactoryResolver",(0,u.f3M)(u._Vd)),(0,a.Z)(this,"_appRef",(0,u.f3M)(u.z2F)),(0,a.Z)(this,"_document",(0,u.f3M)(ne.K0)),(0,a.Z)(this,"_paneElements",new Map)}create(_e,pe){return this._createOverlayRef(this.getPaneElement(_e,pe))}getPaneElement(_e="",pe){return this._paneElements.get(pe)||this._paneElements.set(pe,{}),this._paneElements.get(pe)[_e]||(this._paneElements.get(pe)[_e]=this._createPaneElement(_e,pe)),this._paneElements.get(pe)[_e]}_createPaneElement(_e,pe){const Xe=this._document.createElement("div");return Xe.id="toast-container",Xe.classList.add(_e),Xe.classList.add("toast-container"),pe?pe.getContainerElement().appendChild(Xe):this._overlayContainer.getContainerElement().appendChild(Xe),Xe}_createPortalHost(_e){return new st(_e,this._componentFactoryResolver,this._appRef)}_createOverlayRef(_e){return new It(this._createPortalHost(_e))}}return Ce=Ee,(0,a.Z)(Ee,"\u0275fac",function(_e){return new(_e||Ce)}),(0,a.Z)(Ee,"\u0275prov",u.Yz7({token:Ce,factory:Ce.\u0275fac,providedIn:"root"})),Ee})(),en=(()=>{var Ce;class Ee{constructor(_e,pe,Xe,pt,Dt){(0,a.Z)(this,"overlay",void 0),(0,a.Z)(this,"_injector",void 0),(0,a.Z)(this,"sanitizer",void 0),(0,a.Z)(this,"ngZone",void 0),(0,a.Z)(this,"toastrConfig",void 0),(0,a.Z)(this,"currentlyActive",0),(0,a.Z)(this,"toasts",[]),(0,a.Z)(this,"overlayContainer",void 0),(0,a.Z)(this,"previousToastMessage",void 0),(0,a.Z)(this,"index",0),this.overlay=pe,this._injector=Xe,this.sanitizer=pt,this.ngZone=Dt,this.toastrConfig={..._e.default,..._e.config},_e.config.iconClasses&&(this.toastrConfig.iconClasses={..._e.default.iconClasses,..._e.config.iconClasses})}show(_e,pe,Xe={},pt=""){return this._preBuildNotification(pt,_e,pe,this.applyConfig(Xe))}success(_e,pe,Xe={}){return this._preBuildNotification(this.toastrConfig.iconClasses.success||"",_e,pe,this.applyConfig(Xe))}error(_e,pe,Xe={}){return this._preBuildNotification(this.toastrConfig.iconClasses.error||"",_e,pe,this.applyConfig(Xe))}info(_e,pe,Xe={}){return this._preBuildNotification(this.toastrConfig.iconClasses.info||"",_e,pe,this.applyConfig(Xe))}warning(_e,pe,Xe={}){return this._preBuildNotification(this.toastrConfig.iconClasses.warning||"",_e,pe,this.applyConfig(Xe))}clear(_e){for(const pe of this.toasts)if(void 0!==_e){if(pe.toastId===_e)return void pe.toastRef.manualClose()}else pe.toastRef.manualClose()}remove(_e){const pe=this._findToast(_e);if(!pe||(pe.activeToast.toastRef.close(),this.toasts.splice(pe.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 Xe=this.toasts[this.currentlyActive].toastRef;Xe.isInactive()||(this.currentlyActive=this.currentlyActive+1,Xe.activate())}return!0}findDuplicate(_e="",pe="",Xe,pt){const{includeTitleDuplicates:Dt}=this.toastrConfig;for(const Ct of this.toasts)if((!Dt||Dt&&Ct.title===_e)&&Ct.message===pe)return Ct.toastRef.onDuplicate(Xe,pt),Ct;return null}applyConfig(_e={}){return{...this.toastrConfig,..._e}}_findToast(_e){for(let pe=0;pe<this.toasts.length;pe++)if(this.toasts[pe].toastId===_e)return{index:pe,activeToast:this.toasts[pe]};return null}_preBuildNotification(_e,pe,Xe,pt){return pt.onActivateTick?this.ngZone.run(()=>this._buildNotification(_e,pe,Xe,pt)):this._buildNotification(_e,pe,Xe,pt)}_buildNotification(_e,pe,Xe,pt){if(!pt.toastComponent)throw new Error("toastComponent required");const Dt=this.findDuplicate(Xe,pe,this.toastrConfig.resetTimeoutOnDuplicate&&pt.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&Xe||pe)&&this.toastrConfig.preventDuplicates&&null!==Dt)return Dt;this.previousToastMessage=pe;let Ct=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(Ct=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));const Yt=this.overlay.create(pt.positionClass,this.overlayContainer);this.index=this.index+1;let sn=pe;pe&&pt.enableHtml&&(sn=this.sanitizer.sanitize(u.q3G.HTML,pe));const xt=new me(Yt),xn=new Se(this.index,pt,sn,Xe,_e,xt),yr=u.zs3.create({providers:[{provide:Se,useValue:xn}],parent:this._injector}),Jn=new Z(pt.toastComponent,yr),Vn=Yt.attach(Jn,pt.newestOnTop);xt.componentInstance=Vn.instance;const sr={toastId:this.index,title:Xe||"",message:pe||"",toastRef:xt,onShown:xt.afterActivate(),onHidden:xt.afterClosed(),onTap:xn.onTap(),onAction:xn.onAction(),portal:Vn};return Ct||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{sr.toastRef.activate()})),this.toasts.push(sr),sr}}return Ce=Ee,(0,a.Z)(Ee,"\u0275fac",function(_e){return new(_e||Ce)(u.LFG($e),u.LFG(St),u.LFG(u.zs3),u.LFG($.H7),u.LFG(u.R0b))}),(0,a.Z)(Ee,"\u0275prov",u.Yz7({token:Ce,factory:Ce.\u0275fac,providedIn:"root"})),Ee})(),pn=(()=>{var Ce;class Ee{get displayStyle(){if("inactive"===this.state.value)return"none"}constructor(_e,pe,Xe){(0,a.Z)(this,"toastrService",void 0),(0,a.Z)(this,"toastPackage",void 0),(0,a.Z)(this,"ngZone",void 0),(0,a.Z)(this,"message",void 0),(0,a.Z)(this,"title",void 0),(0,a.Z)(this,"options",void 0),(0,a.Z)(this,"duplicatesCount",void 0),(0,a.Z)(this,"originalTimeout",void 0),(0,a.Z)(this,"width",-1),(0,a.Z)(this,"toastClasses",""),(0,a.Z)(this,"state",void 0),(0,a.Z)(this,"timeout",void 0),(0,a.Z)(this,"intervalId",void 0),(0,a.Z)(this,"hideTime",void 0),(0,a.Z)(this,"sub",void 0),(0,a.Z)(this,"sub1",void 0),(0,a.Z)(this,"sub2",void 0),(0,a.Z)(this,"sub3",void 0),this.toastrService=_e,this.toastPackage=pe,this.ngZone=Xe,this.message=pe.message,this.title=pe.title,this.options=pe.config,this.originalTimeout=pe.config.timeOut,this.toastClasses=`${pe.toastType} ${pe.config.toastClass}`,this.sub=pe.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=pe.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=pe.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=pe.toastRef.countDuplicate().subscribe(pt=>{this.duplicatesCount=pt}),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 _e=(new Date).getTime();this.width=(this.hideTime-_e)/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(_e,pe){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(_e),pe)):this.timeout=setTimeout(()=>_e(),pe)}outsideInterval(_e,pe){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(_e),pe)):this.intervalId=setInterval(()=>_e(),pe)}runInsideAngular(_e){this.ngZone?this.ngZone.run(()=>_e()):_e()}}return Ce=Ee,(0,a.Z)(Ee,"\u0275fac",function(_e){return new(_e||Ce)(u.Y36(en),u.Y36(Se),u.Y36(u.R0b))}),(0,a.Z)(Ee,"\u0275cmp",u.Xpm({type:Ce,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(_e,pe){1&_e&&u.NdJ("click",function(){return pe.tapToast()})("mouseenter",function(){return pe.stickAround()})("mouseleave",function(){return pe.delayedHideToast()}),2&_e&&(u.d8E("@flyInOut",pe.state),u.Tol(pe.toastClasses),u.Udp("display",pe.displayStyle))},standalone:!0,features:[u.jDz],attrs:ee,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(_e,pe){1&_e&&(u.YNc(0,ae,3,0,"button",0),u.YNc(1,U,3,5,"div",1),u.YNc(2,J,1,3,"div",2),u.YNc(3,fe,2,4,"div",3),u.YNc(4,xe,2,2,"div",4)),2&_e&&(u.Q6J("ngIf",pe.options.closeButton),u.xp6(1),u.Q6J("ngIf",pe.title),u.xp6(1),u.Q6J("ngIf",pe.message&&pe.options.enableHtml),u.xp6(1),u.Q6J("ngIf",pe.message&&!pe.options.enableHtml),u.xp6(1),u.Q6J("ngIf",pe.options.progressBar))},dependencies:[ne.O5],encapsulation:2,data:{animation:[(0,G.X$)("flyInOut",[(0,G.SB)("inactive",(0,G.oB)({opacity:0})),(0,G.SB)("active",(0,G.oB)({opacity:1})),(0,G.SB)("removed",(0,G.oB)({opacity:0})),(0,G.eR)("inactive => active",(0,G.jt)("{{ easeTime }}ms {{ easing }}")),(0,G.eR)("active => removed",(0,G.jt)("{{ easeTime }}ms {{ easing }}"))])]}})),Ee})();const on={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:pn},or=(Ce={})=>(0,u.MR2)([{provide:$e,useValue:{default:on,config:Ce}}]);let _r=(()=>{var Ce;class Ee{static forRoot(_e={}){return{ngModule:Ee,providers:[or(_e)]}}}return Ce=Ee,(0,a.Z)(Ee,"\u0275fac",function(_e){return new(_e||Ce)}),(0,a.Z)(Ee,"\u0275mod",u.oAB({type:Ce})),(0,a.Z)(Ee,"\u0275inj",u.cJS({})),Ee})()},5861:(tt,ve,I)=>{function a(G,ne,z,$,ee,ae,de){try{var U=G[ae](de),J=U.value}catch(fe){return void z(fe)}U.done?ne(J):Promise.resolve(J).then($,ee)}function u(G){return function(){var ne=this,z=arguments;return new Promise(function($,ee){var ae=G.apply(ne,z);function de(J){a(ae,$,ee,de,U,"next",J)}function U(J){a(ae,$,ee,de,U,"throw",J)}de(void 0)})}}I.d(ve,{Z:()=>u})},1180:(tt,ve,I)=>{function a(z){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function($){return typeof $}:function($){return $&&"function"==typeof Symbol&&$.constructor===Symbol&&$!==Symbol.prototype?"symbol":typeof $})(z)}function ne(z,$,ee){return($=function G(z){var $=function u(z,$){if("object"!==a(z)||null===z)return z;var ee=z[Symbol.toPrimitive];if(void 0!==ee){var ae=ee.call(z,$||"default");if("object"!==a(ae))return ae;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===$?String:Number)(z)}(z,"string");return"symbol"===a($)?$:String($)}($))in z?Object.defineProperty(z,$,{value:ee,enumerable:!0,configurable:!0,writable:!0}):z[$]=ee,z}I.d(ve,{Z:()=>ne})},7582:(tt,ve,I)=>{function ne(Pe,Ne){var Ue={};for(var Ge in Pe)Object.prototype.hasOwnProperty.call(Pe,Ge)&&Ne.indexOf(Ge)<0&&(Ue[Ge]=Pe[Ge]);if(null!=Pe&&"function"==typeof Object.getOwnPropertySymbols){var Ce=0;for(Ge=Object.getOwnPropertySymbols(Pe);Ce<Ge.length;Ce++)Ne.indexOf(Ge[Ce])<0&&Object.prototype.propertyIsEnumerable.call(Pe,Ge[Ce])&&(Ue[Ge[Ce]]=Pe[Ge[Ce]])}return Ue}function fe(Pe,Ne,Ue,Ge){return new(Ue||(Ue=Promise))(function(Ee,Ae){function _e(pt){try{Xe(Ge.next(pt))}catch(Dt){Ae(Dt)}}function pe(pt){try{Xe(Ge.throw(pt))}catch(Dt){Ae(Dt)}}function Xe(pt){pt.done?Ee(pt.value):function Ce(Ee){return Ee instanceof Ue?Ee:new Ue(function(Ae){Ae(Ee)})}(pt.value).then(_e,pe)}Xe((Ge=Ge.apply(Pe,Ne||[])).next())})}function Z(Pe){return this instanceof Z?(this.v=Pe,this):new Z(Pe)}function De(Pe,Ne,Ue){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Ce,Ge=Ue.apply(Pe,Ne||[]),Ee=[];return Ce={},Ae("next"),Ae("throw"),Ae("return"),Ce[Symbol.asyncIterator]=function(){return this},Ce;function Ae(Ct){Ge[Ct]&&(Ce[Ct]=function(Yt){return new Promise(function(sn,xt){Ee.push([Ct,Yt,sn,xt])>1||_e(Ct,Yt)})})}function _e(Ct,Yt){try{!function pe(Ct){Ct.value instanceof Z?Promise.resolve(Ct.value.v).then(Xe,pt):Dt(Ee[0][2],Ct)}(Ge[Ct](Yt))}catch(sn){Dt(Ee[0][3],sn)}}function Xe(Ct){_e("next",Ct)}function pt(Ct){_e("throw",Ct)}function Dt(Ct,Yt){Ct(Yt),Ee.shift(),Ee.length&&_e(Ee[0][0],Ee[0][1])}}function Se(Pe){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Ue,Ne=Pe[Symbol.asyncIterator];return Ne?Ne.call(Pe):(Pe=function Oe(Pe){var Ne="function"==typeof Symbol&&Symbol.iterator,Ue=Ne&&Pe[Ne],Ge=0;if(Ue)return Ue.call(Pe);if(Pe&&"number"==typeof Pe.length)return{next:function(){return Pe&&Ge>=Pe.length&&(Pe=void 0),{value:Pe&&Pe[Ge++],done:!Pe}}};throw new TypeError(Ne?"Object is not iterable.":"Symbol.iterator is not defined.")}(Pe),Ue={},Ge("next"),Ge("throw"),Ge("return"),Ue[Symbol.asyncIterator]=function(){return this},Ue);function Ge(Ee){Ue[Ee]=Pe[Ee]&&function(Ae){return new Promise(function(_e,pe){!function Ce(Ee,Ae,_e,pe){Promise.resolve(pe).then(function(Xe){Ee({value:Xe,done:_e})},Ae)}(_e,pe,(Ae=Pe[Ee](Ae)).done,Ae.value)})}}}I.d(ve,{FC:()=>De,KL:()=>Se,_T:()=>ne,mG:()=>fe,qq:()=>Z}),"function"==typeof SuppressedError&&SuppressedError}},tt=>{tt(tt.s=2940)}]);
1
+ "use strict";(self.webpackChunkweb_tools=self.webpackChunkweb_tools||[]).push([[179],{6304:(tt,ve,I)=>{I.d(ve,{Dh:()=>ae,GT:()=>$,cc:()=>Te,hO:()=>xe,on:()=>U,pX:()=>z,xv:()=>de});var a=I(5879),u=I(7142),G=I(8186);tt=I.hmd(tt);const ne=["ngOnDestroy"],z=(Le,et,Ve,Z={})=>new Proxy(Le,{get:(De,me)=>Ve.runOutsideAngular(()=>{var Se;if(Le[me])return!(null===(Se=Z?.spy)||void 0===Se)&&Se.get&&Z.spy.get(me,Le[me]),Le[me];if(ne.indexOf(me)>-1)return()=>{};const We=et.toPromise().then($e=>{const st=$e&&$e[me];return"function"==typeof st?st.bind($e):st&&st.then?st.then(ht=>Ve.run(()=>ht)):Ve.run(()=>st)});return new Proxy(()=>{},{get:($e,st)=>We[st],apply:($e,st,ht)=>We.then(It=>{var St;const en=It&&It(...ht);return!(null===(St=Z?.spy)||void 0===St)&&St.apply&&Z.spy.apply(me,ht,en),en})})})}),$=(Le,et)=>{et.forEach(Ve=>{Object.getOwnPropertyNames(Ve.prototype||Ve).forEach(Z=>{Object.defineProperty(Le.prototype,Z,Object.getOwnPropertyDescriptor(Ve.prototype||Ve,Z))})})};class ee{constructor(et){return et}}const ae=new a.OlP("angularfire2.app.options"),de=new a.OlP("angularfire2.app.name");function U(Le,et,Ve){const De="object"==typeof Ve&&Ve||{};De.name=De.name||"string"==typeof Ve&&Ve||"[DEFAULT]";const Se=u.Z.apps.filter(We=>We&&We.name===De.name)[0]||et.runOutsideAngular(()=>u.Z.initializeApp(Le,De));try{JSON.stringify(Le)!==JSON.stringify(Se.options)&&J("error",`${Se.name} Firebase App already initialized with different options${tt.hot?", you may need to reload as Firebase is not HMR aware.":"."}`)}catch{}return new ee(Se)}const J=(Le,...et)=>{(0,a.X6Q)()&&typeof console<"u"&&console[Le](...et)},fe={provide:ee,useFactory:U,deps:[ae,a.R0b,[new a.FiY,de]]};let xe=(()=>{class Le{constructor(Ve){u.Z.registerVersion("angularfire",G.q4.full,"core"),u.Z.registerVersion("angularfire",G.q4.full,"app-compat"),u.Z.registerVersion("angular",a.q4F.full,Ve.toString())}static initializeApp(Ve,Z){return{ngModule:Le,providers:[{provide:ae,useValue:Ve},{provide:de,useValue:Z}]}}}return Le.\u0275fac=function(Ve){return new(Ve||Le)(a.LFG(a.Lbi))},Le.\u0275mod=a.oAB({type:Le}),Le.\u0275inj=a.cJS({providers:[fe]}),Le})();function Te(Le,et,Ve,Z,De){const[,me,Se]=globalThis.\u0275AngularfireInstanceCache.find(We=>We[0]===Le)||[];if(me)return function Ye(Le,et){try{return Le.toString()===et.toString()}catch{return Le===et}}(De,Se)||(je("error",`${et} was already initialized on the ${Ve} Firebase App with different settings.${Oe?" You may need to reload as Firebase is not HMR aware.":""}`),je("warn",{is:De,was:Se})),me;{const We=Z();return globalThis.\u0275AngularfireInstanceCache.push([Le,We,De]),We}}const Oe=!!tt.hot,je=(Le,...et)=>{(0,a.X6Q)()&&typeof console<"u"&&console[Le](...et)};globalThis.\u0275AngularfireInstanceCache||(globalThis.\u0275AngularfireInstanceCache=[])},8186:(tt,ve,I)=>{I.d(ve,{q4:()=>Ja,iC:()=>rl,HU:()=>Tc,vb:()=>vl,JM:()=>ms});var a=I(5879),u=I(3182),G=I(5861),ne=I(534),z=I(9058),$=I(4537),ee=I(7879);const ae=(m,E)=>E.some(P=>m instanceof P);let de,U;const xe=new WeakMap,Te=new WeakMap,Ye=new WeakMap,Oe=new WeakMap,je=new WeakMap;let Ve={get(m,E,P){if(m instanceof IDBTransaction){if("done"===E)return Te.get(m);if("objectStoreNames"===E)return m.objectStoreNames||Ye.get(m);if("store"===E)return P.objectStoreNames[1]?void 0:P.objectStore(P.objectStoreNames[0])}return Se(m[E])},set:(m,E,P)=>(m[E]=P,!0),has:(m,E)=>m instanceof IDBTransaction&&("done"===E||"store"===E)||E in m};function me(m){return"function"==typeof m?function De(m){return m!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?function fe(){return U||(U=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}().includes(m)?function(...E){return m.apply(We(this),E),Se(xe.get(this))}:function(...E){return Se(m.apply(We(this),E))}:function(E,...P){const W=m.call(We(this),E,...P);return Ye.set(W,E.sort?E.sort():[E]),Se(W)}}(m):(m instanceof IDBTransaction&&function et(m){if(Te.has(m))return;const E=new Promise((P,W)=>{const ce=()=>{m.removeEventListener("complete",be),m.removeEventListener("error",He),m.removeEventListener("abort",He)},be=()=>{P(),ce()},He=()=>{W(m.error||new DOMException("AbortError","AbortError")),ce()};m.addEventListener("complete",be),m.addEventListener("error",He),m.addEventListener("abort",He)});Te.set(m,E)}(m),ae(m,function J(){return de||(de=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}())?new Proxy(m,Ve):m)}function Se(m){if(m instanceof IDBRequest)return function Le(m){const E=new Promise((P,W)=>{const ce=()=>{m.removeEventListener("success",be),m.removeEventListener("error",He)},be=()=>{P(Se(m.result)),ce()},He=()=>{W(m.error),ce()};m.addEventListener("success",be),m.addEventListener("error",He)});return E.then(P=>{P instanceof IDBCursor&&xe.set(P,m)}).catch(()=>{}),je.set(E,m),E}(m);if(Oe.has(m))return Oe.get(m);const E=me(m);return E!==m&&(Oe.set(m,E),je.set(E,m)),E}const We=m=>je.get(m),ht=["get","getKey","getAll","getAllKeys","count"],It=["put","add","delete","clear"],St=new Map;function en(m,E){if(!(m instanceof IDBDatabase)||E in m||"string"!=typeof E)return;if(St.get(E))return St.get(E);const P=E.replace(/FromIndex$/,""),W=E!==P,ce=It.includes(P);if(!(P in(W?IDBIndex:IDBObjectStore).prototype)||!ce&&!ht.includes(P))return;const be=function(){var He=(0,G.Z)(function*(ft,...ut){const Et=this.transaction(ft,ce?"readwrite":"readonly");let Wt=Et.store;return W&&(Wt=Wt.index(ut.shift())),(yield Promise.all([Wt[P](...ut),ce&&Et.done]))[0]});return function(ut){return He.apply(this,arguments)}}();return St.set(E,be),be}!function Z(m){Ve=m(Ve)}(m=>({...m,get:(E,P,W)=>en(E,P)||m.get(E,P,W),has:(E,P)=>!!en(E,P)||m.has(E,P)}));const pn="@firebase/installations",on="0.6.4",or=1e4,_r=`w:${on}`,Pe="FIS_v2",Ne="https://firebaseinstallations.googleapis.com/v1",Ue=36e5,Ae=new z.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 _e(m){return m instanceof z.ZR&&m.code.includes("request-failed")}function pe({projectId:m}){return`${Ne}/projects/${m}/installations`}function Xe(m){return{token:m.token,requestStatus:2,expiresIn:xn(m.expiresIn),creationTime:Date.now()}}function pt(m,E){return Dt.apply(this,arguments)}function Dt(){return(Dt=(0,G.Z)(function*(m,E){const W=(yield E.json()).error;return Ae.create("request-failed",{requestName:m,serverCode:W.code,serverMessage:W.message,serverStatus:W.status})})).apply(this,arguments)}function Ct({apiKey:m}){return new Headers({"Content-Type":"application/json",Accept:"application/json","x-goog-api-key":m})}function sn(m){return xt.apply(this,arguments)}function xt(){return(xt=(0,G.Z)(function*(m){const E=yield m();return E.status>=500&&E.status<600?m():E})).apply(this,arguments)}function xn(m){return Number(m.replace("s","000"))}function Jn(){return(Jn=(0,G.Z)(function*({appConfig:m,heartbeatServiceProvider:E},{fid:P}){const W=pe(m),ce=Ct(m),be=E.getImmediate({optional:!0});if(be){const Et=yield be.getHeartbeatsHeader();Et&&ce.append("x-firebase-client",Et)}const ft={method:"POST",headers:ce,body:JSON.stringify({fid:P,authVersion:Pe,appId:m.appId,sdkVersion:_r})},ut=yield sn(()=>fetch(W,ft));if(ut.ok){const Et=yield ut.json();return{fid:Et.fid||P,registrationStatus:2,refreshToken:Et.refreshToken,authToken:Xe(Et.authToken)}}throw yield pt("Create Installation",ut)})).apply(this,arguments)}function Vn(m){return new Promise(E=>{setTimeout(E,m)})}const Xn=/^[cdef][\w-]{21}$/,ct="";function Vt(){try{const m=new Uint8Array(17);(self.crypto||self.msCrypto).getRandomValues(m),m[0]=112+m[0]%16;const P=function Tt(m){return function sr(m){return btoa(String.fromCharCode(...m)).replace(/\+/g,"-").replace(/\//g,"_")}(m).substr(0,22)}(m);return Xn.test(P)?P:ct}catch{return ct}}function rn(m){return`${m.appName}!${m.appId}`}const jn=new Map;function jt(m,E){const P=rn(m);Ur(P,E),function cn(m,E){const P=function kt(){return!ir&&"BroadcastChannel"in self&&(ir=new BroadcastChannel("[Firebase] FID Change"),ir.onmessage=m=>{Ur(m.data.key,m.data.fid)}),ir}();P&&P.postMessage({key:m,fid:E}),function Mn(){0===jn.size&&ir&&(ir.close(),ir=null)}()}(P,E)}function Ur(m,E){const P=jn.get(m);if(P)for(const W of P)W(E)}let ir=null;const Yn="firebase-installations-database",zn=1,Fn="firebase-installations-store";let En=null;function Ln(){return En||(En=function $e(m,E,{blocked:P,upgrade:W,blocking:ce,terminated:be}={}){const He=indexedDB.open(m,E),ft=Se(He);return W&&He.addEventListener("upgradeneeded",ut=>{W(Se(He.result),ut.oldVersion,ut.newVersion,Se(He.transaction))}),P&&He.addEventListener("blocked",()=>P()),ft.then(ut=>{be&&ut.addEventListener("close",()=>be()),ce&&ut.addEventListener("versionchange",()=>ce())}).catch(()=>{}),ft}(Yn,zn,{upgrade:(m,E)=>{0===E&&m.createObjectStore(Fn)}})),En}function ar(m,E){return er.apply(this,arguments)}function er(){return(er=(0,G.Z)(function*(m,E){const P=rn(m),ce=(yield Ln()).transaction(Fn,"readwrite"),be=ce.objectStore(Fn),He=yield be.get(P);return yield be.put(E,P),yield ce.done,(!He||He.fid!==E.fid)&&jt(m,E.fid),E})).apply(this,arguments)}function lr(m){return vr.apply(this,arguments)}function vr(){return(vr=(0,G.Z)(function*(m){const E=rn(m),W=(yield Ln()).transaction(Fn,"readwrite");yield W.objectStore(Fn).delete(E),yield W.done})).apply(this,arguments)}function Dr(m,E){return so.apply(this,arguments)}function so(){return(so=(0,G.Z)(function*(m,E){const P=rn(m),ce=(yield Ln()).transaction(Fn,"readwrite"),be=ce.objectStore(Fn),He=yield be.get(P),ft=E(He);return void 0===ft?yield be.delete(P):yield be.put(ft,P),yield ce.done,ft&&(!He||He.fid!==ft.fid)&&jt(m,ft.fid),ft})).apply(this,arguments)}function ie(m){return k.apply(this,arguments)}function k(){return k=(0,G.Z)(function*(m){let E;const P=yield Dr(m.appConfig,W=>{const ce=function x(m){return lt(m||{fid:Vt(),registrationStatus:0})}(W),be=function te(m,E){if(0===E.registrationStatus){if(!navigator.onLine)return{installationEntry:E,registrationPromise:Promise.reject(Ae.create("app-offline"))};const P={fid:E.fid,registrationStatus:1,registrationTime:Date.now()},W=function L(m,E){return se.apply(this,arguments)}(m,P);return{installationEntry:P,registrationPromise:W}}return 1===E.registrationStatus?{installationEntry:E,registrationPromise:Re(m)}:{installationEntry:E}}(m,ce);return E=be.registrationPromise,be.installationEntry});return P.fid===ct?{installationEntry:yield E}:{installationEntry:P,registrationPromise:E}}),k.apply(this,arguments)}function se(){return se=(0,G.Z)(function*(m,E){try{const P=yield function yr(m,E){return Jn.apply(this,arguments)}(m,E);return ar(m.appConfig,P)}catch(P){throw _e(P)&&409===P.customData.serverCode?yield lr(m.appConfig):yield ar(m.appConfig,{fid:E.fid,registrationStatus:0}),P}}),se.apply(this,arguments)}function Re(m){return Qe.apply(this,arguments)}function Qe(){return(Qe=(0,G.Z)(function*(m){let E=yield vt(m.appConfig);for(;1===E.registrationStatus;)yield Vn(100),E=yield vt(m.appConfig);if(0===E.registrationStatus){const{installationEntry:P,registrationPromise:W}=yield ie(m);return W||P}return E})).apply(this,arguments)}function vt(m){return Dr(m,E=>{if(!E)throw Ae.create("installation-not-found");return lt(E)})}function lt(m){return function Lt(m){return 1===m.registrationStatus&&m.registrationTime+or<Date.now()}(m)?{fid:m.fid,registrationStatus:0}:m}function Qt(){return(Qt=(0,G.Z)(function*({appConfig:m,heartbeatServiceProvider:E},P){const W=function ye(m,{fid:E}){return`${pe(m)}/${E}/authTokens:generate`}(m,P),ce=function Yt(m,{refreshToken:E}){const P=Ct(m);return P.append("Authorization",function Sn(m){return`${Pe} ${m}`}(E)),P}(m,P),be=E.getImmediate({optional:!0});if(be){const Et=yield be.getHeartbeatsHeader();Et&&ce.append("x-firebase-client",Et)}const ft={method:"POST",headers:ce,body:JSON.stringify({installation:{sdkVersion:_r,appId:m.appId}})},ut=yield sn(()=>fetch(W,ft));if(ut.ok)return Xe(yield ut.json());throw yield pt("Generate Auth Token",ut)})).apply(this,arguments)}function re(m){return Ie.apply(this,arguments)}function Ie(){return Ie=(0,G.Z)(function*(m,E=!1){let P;const W=yield Dr(m.appConfig,be=>{if(!gt(be))throw Ae.create("not-registered");const He=be.authToken;if(!E&&function mt(m){return 2===m.requestStatus&&!function un(m){const E=Date.now();return E<m.creationTime||m.creationTime+m.expiresIn<E+Ue}(m)}(He))return be;if(1===He.requestStatus)return P=function K(m,E){return oe.apply(this,arguments)}(m,E),be;{if(!navigator.onLine)throw Ae.create("app-offline");const ft=function Cn(m){const E={requestStatus:1,requestTime:Date.now()};return Object.assign(Object.assign({},m),{authToken:E})}(be);return P=function Ze(m,E){return ke.apply(this,arguments)}(m,ft),ft}});return P?yield P:W.authToken}),Ie.apply(this,arguments)}function oe(){return(oe=(0,G.Z)(function*(m,E){let P=yield ge(m.appConfig);for(;1===P.authToken.requestStatus;)yield Vn(100),P=yield ge(m.appConfig);const W=P.authToken;return 0===W.requestStatus?re(m,E):W})).apply(this,arguments)}function ge(m){return Dr(m,E=>{if(!gt(E))throw Ae.create("not-registered");return function dn(m){return 1===m.requestStatus&&m.requestTime+or<Date.now()}(E.authToken)?Object.assign(Object.assign({},E),{authToken:{requestStatus:0}}):E})}function ke(){return ke=(0,G.Z)(function*(m,E){try{const P=yield function bt(m,E){return Qt.apply(this,arguments)}(m,E),W=Object.assign(Object.assign({},E),{authToken:P});return yield ar(m.appConfig,W),P}catch(P){if(!_e(P)||401!==P.customData.serverCode&&404!==P.customData.serverCode){const W=Object.assign(Object.assign({},E),{authToken:{requestStatus:0}});yield ar(m.appConfig,W)}else yield lr(m.appConfig);throw P}}),ke.apply(this,arguments)}function gt(m){return void 0!==m&&2===m.registrationStatus}function Sr(){return(Sr=(0,G.Z)(function*(m){const E=m,{installationEntry:P,registrationPromise:W}=yield ie(E);return W?W.catch(console.error):re(E).catch(console.error),P.fid})).apply(this,arguments)}function tn(){return tn=(0,G.Z)(function*(m,E=!1){const P=m;return yield function wn(m){return Lr.apply(this,arguments)}(P),(yield re(P,E)).token}),tn.apply(this,arguments)}function Lr(){return(Lr=(0,G.Z)(function*(m){const{registrationPromise:E}=yield ie(m);E&&(yield E)})).apply(this,arguments)}function To(m){return Ae.create("missing-app-config-values",{valueName:m})}const Us="installations",fa=m=>{const E=m.getProvider("app").getImmediate(),P=function Er(m){if(!m||!m.options)throw To("App Configuration");if(!m.name)throw To("App Name");const E=["projectId","apiKey","appId"];for(const P of E)if(!m.options[P])throw To(P);return{appName:m.name,projectId:m.options.projectId,apiKey:m.options.apiKey,appId:m.options.appId}}(E);return{app:E,appConfig:P,heartbeatServiceProvider:(0,ne._getProvider)(E,"heartbeat"),_delete:()=>Promise.resolve()}},Ii=m=>{const E=m.getProvider("app").getImmediate(),P=(0,ne._getProvider)(E,Us).getImmediate();return{getId:()=>function Gn(m){return Sr.apply(this,arguments)}(P),getToken:ce=>function Zr(m){return tn.apply(this,arguments)}(P,ce)}};(function Es(){(0,ne._registerComponent)(new $.wA(Us,fa,"PUBLIC")),(0,ne._registerComponent)(new $.wA("installations-internal",Ii,"PRIVATE"))})(),(0,ne.registerVersion)(pn,on),(0,ne.registerVersion)(pn,on,"esm2017");const ko="@firebase/remote-config",Ar=new z.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 Pt{constructor(E,P,W,ce){this.client=E,this.storage=P,this.storageCache=W,this.logger=ce}isCachedDataFresh(E,P){if(!P)return this.logger.debug("Config fetch cache check. Cache unpopulated."),!1;const W=Date.now()-P,ce=W<=E;return this.logger.debug(`Config fetch cache check. Cache age millis: ${W}. Cache max age millis (minimumFetchIntervalMillis setting): ${E}. Is cache hit: ${ce}.`),ce}fetch(E){var P=this;return(0,G.Z)(function*(){const[W,ce]=yield Promise.all([P.storage.getLastSuccessfulFetchTimestampMillis(),P.storage.getLastSuccessfulFetchResponse()]);if(ce&&P.isCachedDataFresh(E.cacheMaxAgeMillis,W))return ce;E.eTag=ce&&ce.eTag;const be=yield P.client.fetch(E),He=[P.storageCache.setLastSuccessfulFetchTimestampMillis(Date.now())];return 200===be.status&&He.push(P.storage.setLastSuccessfulFetchResponse(be)),yield Promise.all(He),be})()}}function Pn(m=navigator){return m.languages&&m.languages[0]||m.language}class Cr{constructor(E,P,W,ce,be,He){this.firebaseInstallations=E,this.sdkVersion=P,this.namespace=W,this.projectId=ce,this.apiKey=be,this.appId=He}fetch(E){var P=this;return(0,G.Z)(function*(){const[W,ce]=yield Promise.all([P.firebaseInstallations.getId(),P.firebaseInstallations.getToken()]),He=`${window.FIREBASE_REMOTE_CONFIG_URL_BASE||"https://firebaseremoteconfig.googleapis.com"}/v1/projects/${P.projectId}/namespaces/${P.namespace}:fetch?key=${P.apiKey}`,ft={"Content-Type":"application/json","Content-Encoding":"gzip","If-None-Match":E.eTag||"*"},ut={sdk_version:P.sdkVersion,app_instance_id:W,app_instance_id_token:ce,app_id:P.appId,language_code:Pn()},Et={method:"POST",headers:ft,body:JSON.stringify(ut)},Wt=fetch(He,Et),Kt=new Promise((Co,oi)=>{E.signal.addEventListener(()=>{const zo=new Error("The operation was aborted.");zo.name="AbortError",oi(zo)})});let to;try{yield Promise.race([Wt,Kt]),to=yield Wt}catch(Co){let oi="fetch-client-network";throw"AbortError"===Co?.name&&(oi="fetch-timeout"),Ar.create(oi,{originalErrorMessage:Co?.message})}let no=to.status;const Sa=to.headers.get("ETag")||void 0;let dr,ia;if(200===to.status){let Co;try{Co=yield to.json()}catch(oi){throw Ar.create("fetch-client-parse",{originalErrorMessage:oi?.message})}dr=Co.entries,ia=Co.state}if("INSTANCE_STATE_UNSPECIFIED"===ia?no=500:"NO_CHANGE"===ia?no=304:("NO_TEMPLATE"===ia||"EMPTY_CONFIG"===ia)&&(dr={}),304!==no&&200!==no)throw Ar.create("fetch-status",{httpStatus:no});return{status:no,eTag:Sa,config:dr}})()}}class mo{constructor(E,P){this.client=E,this.storage=P}fetch(E){var P=this;return(0,G.Z)(function*(){const W=(yield P.storage.getThrottleMetadata())||{backoffCount:0,throttleEndTimeMillis:Date.now()};return P.attemptFetch(E,W)})()}attemptFetch(E,{throttleEndTimeMillis:P,backoffCount:W}){var ce=this;return(0,G.Z)(function*(){yield function Io(m,E){return new Promise((P,W)=>{const ce=Math.max(E-Date.now(),0),be=setTimeout(P,ce);m.addEventListener(()=>{clearTimeout(be),W(Ar.create("fetch-throttle",{throttleEndTimeMillis:E}))})})}(E.signal,P);try{const be=yield ce.client.fetch(E);return yield ce.storage.deleteThrottleMetadata(),be}catch(be){if(!function qn(m){if(!(m instanceof z.ZR&&m.customData))return!1;const E=Number(m.customData.httpStatus);return 429===E||500===E||503===E||504===E}(be))throw be;const He={throttleEndTimeMillis:Date.now()+(0,z.$s)(W),backoffCount:W+1};return yield ce.storage.setThrottleMetadata(He),ce.attemptFetch(E,He)}})()}}class ao{constructor(E,P,W,ce,be){this.app=E,this._client=P,this._storageCache=W,this._storage=ce,this._logger=be,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 Rt(m,E){const P=m.target.error||void 0;return Ar.create(E,{originalErrorMessage:P&&P?.message})}const Kr="app_namespace_store";class lo{constructor(E,P,W,ce=function Zn(){return new Promise((m,E)=>{try{const P=indexedDB.open("firebase_remote_config",1);P.onerror=W=>{E(Rt(W,"storage-open"))},P.onsuccess=W=>{m(W.target.result)},P.onupgradeneeded=W=>{0===W.oldVersion&&W.target.result.createObjectStore(Kr,{keyPath:"compositeKey"})}}catch(P){E(Ar.create("storage-open",{originalErrorMessage:P?.message}))}})}()){this.appId=E,this.appName=P,this.namespace=W,this.openDbPromise=ce}getLastFetchStatus(){return this.get("last_fetch_status")}setLastFetchStatus(E){return this.set("last_fetch_status",E)}getLastSuccessfulFetchTimestampMillis(){return this.get("last_successful_fetch_timestamp_millis")}setLastSuccessfulFetchTimestampMillis(E){return this.set("last_successful_fetch_timestamp_millis",E)}getLastSuccessfulFetchResponse(){return this.get("last_successful_fetch_response")}setLastSuccessfulFetchResponse(E){return this.set("last_successful_fetch_response",E)}getActiveConfig(){return this.get("active_config")}setActiveConfig(E){return this.set("active_config",E)}getActiveConfigEtag(){return this.get("active_config_etag")}setActiveConfigEtag(E){return this.set("active_config_etag",E)}getThrottleMetadata(){return this.get("throttle_metadata")}setThrottleMetadata(E){return this.set("throttle_metadata",E)}deleteThrottleMetadata(){return this.delete("throttle_metadata")}get(E){var P=this;return(0,G.Z)(function*(){const W=yield P.openDbPromise;return new Promise((ce,be)=>{const ft=W.transaction([Kr],"readonly").objectStore(Kr),ut=P.createCompositeKey(E);try{const Et=ft.get(ut);Et.onerror=Wt=>{be(Rt(Wt,"storage-get"))},Et.onsuccess=Wt=>{const Kt=Wt.target.result;ce(Kt?Kt.value:void 0)}}catch(Et){be(Ar.create("storage-get",{originalErrorMessage:Et?.message}))}})})()}set(E,P){var W=this;return(0,G.Z)(function*(){const ce=yield W.openDbPromise;return new Promise((be,He)=>{const ut=ce.transaction([Kr],"readwrite").objectStore(Kr),Et=W.createCompositeKey(E);try{const Wt=ut.put({compositeKey:Et,value:P});Wt.onerror=Kt=>{He(Rt(Kt,"storage-set"))},Wt.onsuccess=()=>{be()}}catch(Wt){He(Ar.create("storage-set",{originalErrorMessage:Wt?.message}))}})})()}delete(E){var P=this;return(0,G.Z)(function*(){const W=yield P.openDbPromise;return new Promise((ce,be)=>{const ft=W.transaction([Kr],"readwrite").objectStore(Kr),ut=P.createCompositeKey(E);try{const Et=ft.delete(ut);Et.onerror=Wt=>{be(Rt(Wt,"storage-delete"))},Et.onsuccess=()=>{ce()}}catch(Et){be(Ar.create("storage-delete",{originalErrorMessage:Et?.message}))}})})()}createCompositeKey(E){return[this.appId,this.appName,this.namespace,E].join()}}class Yo{constructor(E){this.storage=E}getLastFetchStatus(){return this.lastFetchStatus}getLastSuccessfulFetchTimestampMillis(){return this.lastSuccessfulFetchTimestampMillis}getActiveConfig(){return this.activeConfig}loadFromStorage(){var E=this;return(0,G.Z)(function*(){const P=E.storage.getLastFetchStatus(),W=E.storage.getLastSuccessfulFetchTimestampMillis(),ce=E.storage.getActiveConfig(),be=yield P;be&&(E.lastFetchStatus=be);const He=yield W;He&&(E.lastSuccessfulFetchTimestampMillis=He);const ft=yield ce;ft&&(E.activeConfig=ft)})()}setLastFetchStatus(E){return this.lastFetchStatus=E,this.storage.setLastFetchStatus(E)}setLastSuccessfulFetchTimestampMillis(E){return this.lastSuccessfulFetchTimestampMillis=E,this.storage.setLastSuccessfulFetchTimestampMillis(E)}setActiveConfig(E){return this.activeConfig=E,this.storage.setActiveConfig(E)}}function qo(){return co.apply(this,arguments)}function co(){return(co=(0,G.Z)(function*(){if(!(0,z.hl)())return!1;try{return yield(0,z.eu)()}catch{return!1}})).apply(this,arguments)}!function Hr(){(0,ne._registerComponent)(new $.wA("remote-config",function m(E,{instanceIdentifier:P}){const W=E.getProvider("app").getImmediate(),ce=E.getProvider("installations-internal").getImmediate();if(typeof window>"u")throw Ar.create("registration-window");if(!(0,z.hl)())throw Ar.create("indexed-db-unavailable");const{projectId:be,apiKey:He,appId:ft}=W.options;if(!be)throw Ar.create("registration-project-id");if(!He)throw Ar.create("registration-api-key");if(!ft)throw Ar.create("registration-app-id");const ut=new lo(ft,W.name,P=P||"firebase"),Et=new Yo(ut),Wt=new ee.Yd(ko);Wt.logLevel=ee.in.ERROR;const Kt=new Cr(ce,ne.SDK_VERSION,P,be,He,ft),to=new mo(Kt,ut),no=new Pt(to,ut,Et,Wt),Sa=new ao(W,no,Et,ut,Wt);return function Un(m){const E=(0,z.m9)(m);E._initializePromise||(E._initializePromise=E._storageCache.loadFromStorage().then(()=>{E._isInitializationComplete=!0}))}(Sa),Sa},"PUBLIC").setMultipleInstances(!0)),(0,ne.registerVersion)(ko,"0.4.4"),(0,ne.registerVersion)(ko,"0.4.4","esm2017")}();const Qo=(m,E)=>E.some(P=>m instanceof P);let uo,Zt;const Jo=new WeakMap,Rn=new WeakMap,Vo=new WeakMap,Xr=new WeakMap,jo=new WeakMap;let Pr={get(m,E,P){if(m instanceof IDBTransaction){if("done"===E)return Rn.get(m);if("objectStoreNames"===E)return m.objectStoreNames||Vo.get(m);if("store"===E)return P.objectStoreNames[1]?void 0:P.objectStore(P.objectStoreNames[0])}return Rr(m[E])},set:(m,E,P)=>(m[E]=P,!0),has:(m,E)=>m instanceof IDBTransaction&&("done"===E||"store"===E)||E in m};function us(m){return"function"==typeof m?function Ws(m){return m!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?function $r(){return Zt||(Zt=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}().includes(m)?function(...E){return m.apply(Nr(this),E),Rr(Jo.get(this))}:function(...E){return Rr(m.apply(Nr(this),E))}:function(E,...P){const W=m.call(Nr(this),E,...P);return Vo.set(W,E.sort?E.sort():[E]),Rr(W)}}(m):(m instanceof IDBTransaction&&function Fa(m){if(Rn.has(m))return;const E=new Promise((P,W)=>{const ce=()=>{m.removeEventListener("complete",be),m.removeEventListener("error",He),m.removeEventListener("abort",He)},be=()=>{P(),ce()},He=()=>{W(m.error||new DOMException("AbortError","AbortError")),ce()};m.addEventListener("complete",be),m.addEventListener("error",He),m.addEventListener("abort",He)});Rn.set(m,E)}(m),Qo(m,function Ai(){return uo||(uo=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}())?new Proxy(m,Pr):m)}function Rr(m){if(m instanceof IDBRequest)return function br(m){const E=new Promise((P,W)=>{const ce=()=>{m.removeEventListener("success",be),m.removeEventListener("error",He)},be=()=>{P(Rr(m.result)),ce()},He=()=>{W(m.error),ce()};m.addEventListener("success",be),m.addEventListener("error",He)});return E.then(P=>{P instanceof IDBCursor&&Jo.set(P,m)}).catch(()=>{}),jo.set(E,m),E}(m);if(Xr.has(m))return Xr.get(m);const E=us(m);return E!==m&&(Xr.set(m,E),jo.set(E,m)),E}const Nr=m=>jo.get(m);function As(m,E,{blocked:P,upgrade:W,blocking:ce,terminated:be}={}){const He=indexedDB.open(m,E),ft=Rr(He);return W&&He.addEventListener("upgradeneeded",ut=>{W(Rr(He.result),ut.oldVersion,ut.newVersion,Rr(He.transaction))}),P&&He.addEventListener("blocked",()=>P()),ft.then(ut=>{be&&ut.addEventListener("close",()=>be()),ce&&ut.addEventListener("versionchange",()=>ce())}).catch(()=>{}),ft}function ai(m,{blocked:E}={}){const P=indexedDB.deleteDatabase(m);return E&&P.addEventListener("blocked",()=>E()),Rr(P).then(()=>{})}const Xo=["get","getKey","getAll","getAllKeys","count"],li=["put","add","delete","clear"],Zs=new Map;function ci(m,E){if(!(m instanceof IDBDatabase)||E in m||"string"!=typeof E)return;if(Zs.get(E))return Zs.get(E);const P=E.replace(/FromIndex$/,""),W=E!==P,ce=li.includes(P);if(!(P in(W?IDBIndex:IDBObjectStore).prototype)||!ce&&!Xo.includes(P))return;const be=function(){var He=(0,G.Z)(function*(ft,...ut){const Et=this.transaction(ft,ce?"readwrite":"readonly");let Wt=Et.store;return W&&(Wt=Wt.index(ut.shift())),(yield Promise.all([Wt[P](...ut),ce&&Et.done]))[0]});return function(ut){return He.apply(this,arguments)}}();return Zs.set(E,be),be}!function tr(m){Pr=m(Pr)}(m=>({...m,get:(E,P,W)=>ci(E,P)||m.get(E,P,W),has:(E,P)=>!!ci(E,P)||m.has(E,P)}));const A="/firebase-messaging-sw.js",w="/firebase-cloud-messaging-push-scope",B="BDOU99-h67HcA6JeFXHbSNMu7e2yNNu3RzoMj8TM4W88jITfq7ZmPvIM1Iv-4_l2LxQcYwhqby2xGpWwzjfAnG4",O="https://fcmregistrations.googleapis.com/v1",H="google.c.a.c_id",rt="google.c.a.c_l",Ut="google.c.a.ts";var ds=function(m){return m.PUSH_RECEIVED="push-received",m.NOTIFICATION_CLICKED="notification-clicked",m}(ds||{});function yo(m){const E=new Uint8Array(m);return btoa(String.fromCharCode(...E)).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function ll(m){const P=(m+"=".repeat((4-m.length%4)%4)).replace(/\-/g,"+").replace(/_/g,"/"),W=atob(P),ce=new Uint8Array(W.length);for(let be=0;be<W.length;++be)ce[be]=W.charCodeAt(be);return ce}const ui="fcm_token_details_db",ha=5,La="fcm_token_object_Store";function Oi(){return Oi=(0,G.Z)(function*(m){if("databases"in indexedDB&&!(yield indexedDB.databases()).map(be=>be.name).includes(ui))return null;let E=null;return(yield As(ui,ha,{upgrade:(W=(0,G.Z)(function*(ce,be,He,ft){var ut;if(be<2||!ce.objectStoreNames.contains(La))return;const Et=ft.objectStore(La),Wt=yield Et.index("fcmSenderId").get(m);if(yield Et.clear(),Wt)if(2===be){const Kt=Wt;if(!Kt.auth||!Kt.p256dh||!Kt.endpoint)return;E={token:Kt.fcmToken,createTime:null!==(ut=Kt.createTime)&&void 0!==ut?ut:Date.now(),subscriptionOptions:{auth:Kt.auth,p256dh:Kt.p256dh,endpoint:Kt.endpoint,swScope:Kt.swScope,vapidKey:"string"==typeof Kt.vapidKey?Kt.vapidKey:yo(Kt.vapidKey)}}}else if(3===be){const Kt=Wt;E={token:Kt.fcmToken,createTime:Kt.createTime,subscriptionOptions:{auth:yo(Kt.auth),p256dh:yo(Kt.p256dh),endpoint:Kt.endpoint,swScope:Kt.swScope,vapidKey:yo(Kt.vapidKey)}}}else if(4===be){const Kt=Wt;E={token:Kt.fcmToken,createTime:Kt.createTime,subscriptionOptions:{auth:yo(Kt.auth),p256dh:yo(Kt.p256dh),endpoint:Kt.endpoint,swScope:Kt.swScope,vapidKey:yo(Kt.vapidKey)}}}}),function(be,He,ft,ut){return W.apply(this,arguments)})})).close(),yield ai(ui),yield ai("fcm_vapid_details_db"),yield ai("undefined"),function qr(m){if(!m||!m.subscriptionOptions)return!1;const{subscriptionOptions:E}=m;return"number"==typeof m.createTime&&m.createTime>0&&"string"==typeof m.token&&m.token.length>0&&"string"==typeof E.auth&&E.auth.length>0&&"string"==typeof E.p256dh&&E.p256dh.length>0&&"string"==typeof E.endpoint&&E.endpoint.length>0&&"string"==typeof E.swScope&&E.swScope.length>0&&"string"==typeof E.vapidKey&&E.vapidKey.length>0}(E)?E:null;var W}),Oi.apply(this,arguments)}const So="firebase-messaging-database",Pi=1,Vr="firebase-messaging-store";let cr=null;function vo(){return cr||(cr=As(So,Pi,{upgrade:(m,E)=>{0===E&&m.createObjectStore(Vr)}})),cr}function jr(m){return es.apply(this,arguments)}function es(){return es=(0,G.Z)(function*(m){const E=Ks(m),W=yield(yield vo()).transaction(Vr).objectStore(Vr).get(E);if(W)return W;{const ce=yield function cl(m){return Oi.apply(this,arguments)}(m.appConfig.senderId);if(ce)return yield di(m,ce),ce}}),es.apply(this,arguments)}function di(m,E){return fi.apply(this,arguments)}function fi(){return(fi=(0,G.Z)(function*(m,E){const P=Ks(m),ce=(yield vo()).transaction(Vr,"readwrite");return yield ce.objectStore(Vr).put(E,P),yield ce.done,E})).apply(this,arguments)}function ts(){return(ts=(0,G.Z)(function*(m){const E=Ks(m),W=(yield vo()).transaction(Vr,"readwrite");yield W.objectStore(Vr).delete(E),yield W.done})).apply(this,arguments)}function Ks({appConfig:m}){return m.appId}const hr=new z.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 pa(m,E){return Ni.apply(this,arguments)}function Ni(){return(Ni=(0,G.Z)(function*(m,E){const P=yield ea(m),W=ki(E),ce={method:"POST",headers:P,body:JSON.stringify(W)};let be;try{be=yield(yield fetch(xi(m.appConfig),ce)).json()}catch(He){throw hr.create("token-subscribe-failed",{errorInfo:He?.toString()})}if(be.error)throw hr.create("token-subscribe-failed",{errorInfo:be.error.message});if(!be.token)throw hr.create("token-subscribe-no-token");return be.token})).apply(this,arguments)}function fs(){return(fs=(0,G.Z)(function*(m,E){const P=yield ea(m),W=ki(E.subscriptionOptions),ce={method:"PATCH",headers:P,body:JSON.stringify(W)};let be;try{be=yield(yield fetch(`${xi(m.appConfig)}/${E.token}`,ce)).json()}catch(He){throw hr.create("token-update-failed",{errorInfo:He?.toString()})}if(be.error)throw hr.create("token-update-failed",{errorInfo:be.error.message});if(!be.token)throw hr.create("token-update-no-token");return be.token})).apply(this,arguments)}function Os(m,E){return ns.apply(this,arguments)}function ns(){return(ns=(0,G.Z)(function*(m,E){const W={method:"DELETE",headers:yield ea(m)};try{const be=yield(yield fetch(`${xi(m.appConfig)}/${E}`,W)).json();if(be.error)throw hr.create("token-unsubscribe-failed",{errorInfo:be.error.message})}catch(ce){throw hr.create("token-unsubscribe-failed",{errorInfo:ce?.toString()})}})).apply(this,arguments)}function xi({projectId:m}){return`${O}/projects/${m}/registrations`}function ea(m){return Ys.apply(this,arguments)}function Ys(){return(Ys=(0,G.Z)(function*({appConfig:m,installations:E}){const P=yield E.getToken();return new Headers({"Content-Type":"application/json",Accept:"application/json","x-goog-api-key":m.apiKey,"x-goog-firebase-installations-auth":`FIS ${P}`})})).apply(this,arguments)}function ki({p256dh:m,auth:E,endpoint:P,vapidKey:W}){const ce={web:{endpoint:P,auth:E,p256dh:m}};return W!==B&&(ce.web.applicationPubKey=W),ce}const pi=6048e5;function Fi(){return Fi=(0,G.Z)(function*(m){const E=yield function _i(m,E){return yi.apply(this,arguments)}(m.swRegistration,m.vapidKey),P={vapidKey:m.vapidKey,swScope:m.swRegistration.scope,endpoint:E.endpoint,auth:yo(E.getKey("auth")),p256dh:yo(E.getKey("p256dh"))},W=yield jr(m.firebaseDependencies);if(W){if(function g(m,E){return E.vapidKey===m.vapidKey&&E.endpoint===m.endpoint&&E.auth===m.auth&&E.p256dh===m.p256dh}(W.subscriptionOptions,P))return Date.now()>=W.createTime+pi?function dl(m,E){return mi.apply(this,arguments)}(m,{token:W.token,createTime:Date.now(),subscriptionOptions:P}):W.token;try{yield Os(m.firebaseDependencies,W.token)}catch(ce){console.warn(ce)}return ga(m.firebaseDependencies,P)}return ga(m.firebaseDependencies,P)}),Fi.apply(this,arguments)}function gi(){return gi=(0,G.Z)(function*(m){const E=yield jr(m.firebaseDependencies);E&&(yield Os(m.firebaseDependencies,E.token),yield function Ri(m){return ts.apply(this,arguments)}(m.firebaseDependencies));const P=yield m.swRegistration.pushManager.getSubscription();return!P||P.unsubscribe()}),gi.apply(this,arguments)}function mi(){return mi=(0,G.Z)(function*(m,E){try{const P=yield function zt(m,E){return fs.apply(this,arguments)}(m.firebaseDependencies,E),W=Object.assign(Object.assign({},E),{token:P,createTime:Date.now()});return yield di(m.firebaseDependencies,W),P}catch(P){throw yield function Li(m){return gi.apply(this,arguments)}(m),P}}),mi.apply(this,arguments)}function ga(m,E){return ma.apply(this,arguments)}function ma(){return(ma=(0,G.Z)(function*(m,E){const W={token:yield pa(m,E),createTime:Date.now(),subscriptionOptions:E};return yield di(m,W),W.token})).apply(this,arguments)}function yi(){return(yi=(0,G.Z)(function*(m,E){return(yield m.pushManager.getSubscription())||m.pushManager.subscribe({userVisibleOnly:!0,applicationServerKey:ll(E)})})).apply(this,arguments)}function T(m){const E={from:m.from,collapseKey:m.collapse_key,messageId:m.fcmMessageId};return function Y(m,E){if(!E.notification)return;m.notification={};const P=E.notification.title;P&&(m.notification.title=P);const W=E.notification.body;W&&(m.notification.body=W);const ce=E.notification.image;ce&&(m.notification.image=ce);const be=E.notification.icon;be&&(m.notification.icon=be)}(E,m),function b(m,E){E.data&&(m.data=E.data)}(E,m),function V(m,E){var P,W,ce,be,He;if(!(E.fcmOptions||null!==(P=E.notification)&&void 0!==P&&P.click_action))return;m.fcmOptions={};const ft=null!==(ce=null===(W=E.fcmOptions)||void 0===W?void 0:W.link)&&void 0!==ce?ce:null===(be=E.notification)||void 0===be?void 0:be.click_action;ft&&(m.fcmOptions.link=ft);const ut=null===(He=E.fcmOptions)||void 0===He?void 0:He.analytics_label;ut&&(m.fcmOptions.analyticsLabel=ut)}(E,m),E}function ze(m,E){const P=[];for(let W=0;W<m.length;W++)P.push(m.charAt(W)),W<E.length&&P.push(E.charAt(W));return P.join("")}function Jt(m){return hr.create("missing-app-config-values",{valueName:m})}ze("hts/frbslgigp.ogepscmv/ieo/eaylg","tp:/ieaeogn-agolai.o/1frlglgc/o"),ze("AzSCbw63g1R0nCw85jG8","Iaya3yLKwmgvh7cF0q4");class vn{constructor(E,P,W){this.deliveryMetricsExportedToBigQueryEnabled=!1,this.onBackgroundMessageHandler=null,this.onMessageHandler=null,this.logEvents=[],this.isLogServiceStarted=!1;const ce=function it(m){if(!m||!m.options)throw Jt("App Configuration Object");if(!m.name)throw Jt("App Name");const E=["projectId","apiKey","appId","messagingSenderId"],{options:P}=m;for(const W of E)if(!P[W])throw Jt(W);return{appName:m.name,projectId:P.projectId,apiKey:P.apiKey,appId:P.appId,senderId:P.messagingSenderId}}(E);this.firebaseDependencies={app:E,appConfig:ce,installations:P,analyticsProvider:W}}_delete(){return Promise.resolve()}}function Gt(){return(Gt=(0,G.Z)(function*(m){try{m.swRegistration=yield navigator.serviceWorker.register(A,{scope:w}),m.swRegistration.update().catch(()=>{})}catch(E){throw hr.create("failed-service-worker-registration",{browserErrorMessage:E?.message})}})).apply(this,arguments)}function Tn(){return(Tn=(0,G.Z)(function*(m,E){if(!E&&!m.swRegistration&&(yield function gn(m){return Gt.apply(this,arguments)}(m)),E||!m.swRegistration){if(!(E instanceof ServiceWorkerRegistration))throw hr.create("invalid-sw-registration");m.swRegistration=E}})).apply(this,arguments)}function zr(){return(zr=(0,G.Z)(function*(m,E){E?m.vapidKey=E:m.vapidKey||(m.vapidKey=B)})).apply(this,arguments)}function Uo(){return Uo=(0,G.Z)(function*(m,E){if(!navigator)throw hr.create("only-available-in-window");if("default"===Notification.permission&&(yield Notification.requestPermission()),"granted"!==Notification.permission)throw hr.create("permission-blocked");return yield function pr(m,E){return zr.apply(this,arguments)}(m,E?.vapidKey),yield function Hn(m,E){return Tn.apply(this,arguments)}(m,E?.serviceWorkerRegistration),function ul(m){return Fi.apply(this,arguments)}(m)}),Uo.apply(this,arguments)}function wr(){return(wr=(0,G.Z)(function*(m,E,P){const W=function Gr(m){switch(m){case ds.NOTIFICATION_CLICKED:return"notification_open";case ds.PUSH_RECEIVED:return"notification_foreground";default:throw new Error}}(E);(yield m.firebaseDependencies.analyticsProvider.get()).logEvent(W,{message_id:P[H],message_name:P[rt],message_time:P[Ut],message_device_time:Math.floor(Date.now()/1e3)})})).apply(this,arguments)}function In(){return In=(0,G.Z)(function*(m,E){const P=E.data;if(!P.isFirebaseMessaging)return;m.onMessageHandler&&P.messageType===ds.PUSH_RECEIVED&&("function"==typeof m.onMessageHandler?m.onMessageHandler(T(P)):m.onMessageHandler.next(T(P)));const W=P.data;(function le(m){return"object"==typeof m&&!!m&&H in m})(W)&&"1"===W["google.c.a.e"]&&(yield function Eo(m,E,P){return wr.apply(this,arguments)}(m,P.messageType,W))}),In.apply(this,arguments)}const qs="@firebase/messaging",Bn=m=>{const E=new vn(m.getProvider("app").getImmediate(),m.getProvider("installations-internal").getImmediate(),m.getProvider("analytics-internal"));return navigator.serviceWorker.addEventListener("message",P=>function ur(m,E){return In.apply(this,arguments)}(E,P)),E},Ba=m=>{const E=m.getProvider("messaging").getImmediate();return{getToken:W=>function Do(m,E){return Uo.apply(this,arguments)}(E,W)}};function Ps(){return fo.apply(this,arguments)}function fo(){return(fo=(0,G.Z)(function*(){try{yield(0,z.eu)()}catch{return!1}return typeof window<"u"&&(0,z.hl)()&&(0,z.zI)()&&"serviceWorker"in navigator&&"PushManager"in window&&"Notification"in window&&"fetch"in window&&ServiceWorkerRegistration.prototype.hasOwnProperty("showNotification")&&PushSubscription.prototype.hasOwnProperty("getKey")})).apply(this,arguments)}!function _a(){(0,ne._registerComponent)(new $.wA("messaging",Bn,"PUBLIC")),(0,ne._registerComponent)(new $.wA("messaging-internal",Ba,"PRIVATE")),(0,ne.registerVersion)(qs,"0.12.4"),(0,ne.registerVersion)(qs,"0.12.4","esm2017")}();const Vi="analytics",Ha="firebase_id",Nt="origin",ta=6e4,$a="https://firebase.googleapis.com/v1alpha/projects/-/apps/{app-id}/webConfig",ji="https://www.googletagmanager.com/gtag/js",gr=new ee.Yd("@firebase/analytics"),Mr=new z.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 Js(m){if(!m.startsWith(ji)){const E=Mr.create("invalid-gtag-resource",{gtagURL:m});return gr.warn(E.message),""}return m}function va(m){return Promise.all(m.map(E=>E.catch(P=>P)))}function qe(){return(qe=(0,G.Z)(function*(m,E,P,W,ce,be){const He=W[ce];try{if(He)yield E[He];else{const ut=(yield va(P)).find(Et=>Et.measurementId===ce);ut&&(yield E[ut.appId])}}catch(ft){gr.error(ft)}m("config",ce,be)})).apply(this,arguments)}function ra(){return(ra=(0,G.Z)(function*(m,E,P,W,ce){try{let be=[];if(ce&&ce.send_to){let He=ce.send_to;Array.isArray(He)||(He=[He]);const ft=yield va(P);for(const ut of He){const Et=ft.find(Kt=>Kt.measurementId===ut),Wt=Et&&E[Et.appId];if(!Wt){be=[];break}be.push(Wt)}}0===be.length&&(be=Object.values(E)),yield Promise.all(be),m("event",W,ce||{})}catch(be){gr.error(be)}})).apply(this,arguments)}const $o=30,Xs=new class Ea{constructor(E={},P=1e3){this.throttleMetadata=E,this.intervalMillis=P}getThrottleMetadata(E){return this.throttleMetadata[E]}setThrottleMetadata(E,P){this.throttleMetadata[E]=P}deleteThrottleMetadata(E){delete this.throttleMetadata[E]}};function Ga(m){return new Headers({Accept:"application/json","x-goog-api-key":m})}function Di(){return(Di=(0,G.Z)(function*(m){var E;const{appId:P,apiKey:W}=m,ce={method:"GET",headers:Ga(W)},be=$a.replace("{app-id}",P),He=yield fetch(be,ce);if(200!==He.status&&304!==He.status){let ft="";try{const ut=yield He.json();null!==(E=ut.error)&&void 0!==E&&E.message&&(ft=ut.error.message)}catch{}throw Mr.create("config-fetch-failed",{httpStatus:He.status,responseMessage:ft})}return He.json()})).apply(this,arguments)}function Oo(){return(Oo=(0,G.Z)(function*(m,E=Xs,P){const{appId:W,apiKey:ce,measurementId:be}=m.options;if(!W)throw Mr.create("no-app-id");if(!ce){if(be)return{measurementId:be,appId:W};throw Mr.create("no-api-key")}const He=E.getThrottleMetadata(W)||{backoffCount:0,throttleEndTimeMillis:Date.now()},ft=new C;return setTimeout((0,G.Z)(function*(){ft.abort()}),void 0!==P?P:ta),fl({appId:W,apiKey:ce,measurementId:be},He,ft,E)})).apply(this,arguments)}function fl(m,E,P){return ei.apply(this,arguments)}function ei(){return ei=(0,G.Z)(function*(m,{throttleEndTimeMillis:E,backoffCount:P},W,ce=Xs){var be;const{appId:He,measurementId:ft}=m;try{yield function h(m,E){return new Promise((P,W)=>{const ce=Math.max(E-Date.now(),0),be=setTimeout(P,ce);m.addEventListener(()=>{clearTimeout(be),W(Mr.create("fetch-throttle",{throttleEndTimeMillis:E}))})})}(W,E)}catch(ut){if(ft)return gr.warn(`Timed out fetching this Firebase app's measurement ID from the server. Falling back to the measurement ID ${ft} provided in the "measurementId" field in the local Firebase config. [${ut?.message}]`),{appId:He,measurementId:ft};throw ut}try{const ut=yield function Ca(m){return Di.apply(this,arguments)}(m);return ce.deleteThrottleMetadata(He),ut}catch(ut){const Et=ut;if(!function _(m){if(!(m instanceof z.ZR&&m.customData))return!1;const E=Number(m.customData.httpStatus);return 429===E||500===E||503===E||504===E}(Et)){if(ce.deleteThrottleMetadata(He),ft)return gr.warn(`Failed to fetch this Firebase app's measurement ID from the server. Falling back to the measurement ID ${ft} provided in the "measurementId" field in the local Firebase config. [${Et?.message}]`),{appId:He,measurementId:ft};throw ut}const Wt=503===Number(null===(be=Et?.customData)||void 0===be?void 0:be.httpStatus)?(0,z.$s)(P,ce.intervalMillis,$o):(0,z.$s)(P,ce.intervalMillis),Kt={throttleEndTimeMillis:Date.now()+Wt,backoffCount:P+1};return ce.setThrottleMetadata(He,Kt),gr.debug(`Calling attemptFetch again in ${Wt} millis`),fl(m,Kt,W,ce)}}),ei.apply(this,arguments)}class C{constructor(){this.listeners=[]}addEventListener(E){this.listeners.push(E)}abort(){this.listeners.forEach(E=>E())}}let y,Ns;function F(){return(F=(0,G.Z)(function*(m,E,P,W,ce){if(ce&&ce.global)m("event",P,W);else{const be=yield E;m("event",P,Object.assign(Object.assign({},W),{send_to:be}))}})).apply(this,arguments)}function ni(){return(ni=(0,G.Z)(function*(){if(!(0,z.hl)())return gr.warn(Mr.create("indexeddb-unavailable",{errorInfo:"IndexedDB is not available in this environment."}).message),!1;try{yield(0,z.eu)()}catch(m){return gr.warn(Mr.create("indexeddb-unavailable",{errorInfo:m?.toString()}).message),!1}return!0})).apply(this,arguments)}function Wa(){return Wa=(0,G.Z)(function*(m,E,P,W,ce,be,He){var ft;const ut=function po(m){return Oo.apply(this,arguments)}(m);ut.then(no=>{P[no.measurementId]=no.appId,m.options.measurementId&&no.measurementId!==m.options.measurementId&&gr.warn(`The measurement ID in the local Firebase config (${m.options.measurementId}) does not match the measurement ID fetched from the server (${no.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(no=>gr.error(no)),E.push(ut);const Et=function Qr(){return ni.apply(this,arguments)}().then(no=>{if(no)return W.getId()}),[Wt,Kt]=yield Promise.all([ut,Et]);(function Ho(m){const E=window.document.getElementsByTagName("script");for(const P of Object.values(E))if(P.src&&P.src.includes(ji)&&P.src.includes(m))return P;return null})(be)||function za(m,E){const P=function Rs(m,E){let P;return window.trustedTypes&&(P=window.trustedTypes.createPolicy(m,E)),P}("firebase-js-sdk-policy",{createScriptURL:Js}),W=document.createElement("script"),ce=`${ji}?l=${m}&id=${E}`;W.src=P?P?.createScriptURL(ce):ce,W.async=!0,document.head.appendChild(W)}(be,Wt.measurementId),Ns&&(ce("consent","default",Ns),function ti(m){Ns=m}(void 0)),ce("js",new Date);const to=null!==(ft=He?.config)&&void 0!==ft?ft:{};return to[Nt]="firebase",to.update=!0,null!=Kt&&(to[Ha]=Kt),ce("config",Wt.measurementId,to),y&&(ce("set",y),function oa(m){y=m}(void 0)),Wt.measurementId}),Wa.apply(this,arguments)}class Ec{constructor(E){this.app=E}_delete(){return delete ps[this.app.options.appId],Promise.resolve()}}let ps={},xl=[];const ri={};let os,xs,Ui="dataLayer",sa=!1;function pl(m,E,P){!function Za(){const m=[];if((0,z.ru)()&&m.push("This is a browser extension environment."),(0,z.zI)()||m.push("Cookies are not available."),m.length>0){const E=m.map((W,ce)=>`(${ce+1}) ${W}`).join(" "),P=Mr.create("invalid-analytics-context",{errorInfo:E});gr.warn(P.message)}}();const W=m.options.appId;if(!W)throw Mr.create("no-app-id");if(!m.options.apiKey){if(!m.options.measurementId)throw Mr.create("no-api-key");gr.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 ${m.options.measurementId} provided in the "measurementId" field in the local Firebase config.`)}if(null!=ps[W])throw Mr.create("already-exists",{id:W});if(!sa){!function na(m){let E=[];Array.isArray(window[m])?E=window[m]:window[m]=E}(Ui);const{wrappedGtag:be,gtagCore:He}=function Qn(m,E,P,W,ce){let be=function(...He){window[W].push(arguments)};return window[ce]&&"function"==typeof window[ce]&&(be=window[ce]),window[ce]=function Da(m,E,P,W){function be(){return be=(0,G.Z)(function*(He,...ft){try{if("event"===He){const[ut,Et]=ft;yield function mn(m,E,P,W,ce){return ra.apply(this,arguments)}(m,E,P,ut,Et)}else if("config"===He){const[ut,Et]=ft;yield function Nl(m,E,P,W,ce,be){return qe.apply(this,arguments)}(m,E,P,W,ut,Et)}else if("consent"===He){const[ut]=ft;m("consent","update",ut)}else if("get"===He){const[ut,Et,Wt]=ft;m("get",ut,Et,Wt)}else if("set"===He){const[ut]=ft;m("set",ut)}else m(He,...ft)}catch(ut){gr.error(ut)}}),be.apply(this,arguments)}return function ce(He){return be.apply(this,arguments)}}(be,m,E,P),{gtagCore:be,wrappedGtag:window[ce]}}(ps,xl,ri,Ui,"gtag");xs=be,os=He,sa=!0}return ps[W]=function mr(m,E,P,W,ce,be,He){return Wa.apply(this,arguments)}(m,xl,ri,E,os,Ui,P),new Ec(m)}function Ka(){return ks.apply(this,arguments)}function ks(){return(ks=(0,G.Z)(function*(){if((0,z.ru)()||!(0,z.zI)()||!(0,z.hl)())return!1;try{return yield(0,z.eu)()}catch{return!1}})).apply(this,arguments)}const ba="@firebase/analytics";!function Bl(){(0,ne._registerComponent)(new $.wA(Vi,(E,{options:P})=>pl(E.getProvider("app").getImmediate(),E.getProvider("installations-internal").getImmediate(),P),"PUBLIC")),(0,ne._registerComponent)(new $.wA("analytics-internal",function m(E){try{const P=E.getProvider(Vi).getImmediate();return{logEvent:(W,ce,be)=>function cu(m,E,P,W){m=(0,z.m9)(m),function M(m,E,P,W,ce){return F.apply(this,arguments)}(xs,ps[m.app.options.appId],E,P,W).catch(ce=>gr.error(ce))}(P,W,ce,be)}}catch(P){throw Mr.create("interop-component-reg-failed",{reason:P})}},"PRIVATE")),(0,ne.registerVersion)(ba,"0.10.0"),(0,ne.registerVersion)(ba,"0.10.0","esm2017")}();var Ya=I(1954),qa=I(2631);const Vl=new class uu extends qa.v{}(class _l extends Ya.o{constructor(E,P){super(E,P),this.scheduler=E,this.work=P}schedule(E,P=0){return P>0?super.schedule(E,P):(this.delay=P,this.state=E,this.scheduler.flush(this),this)}execute(E,P){return P>0||this.closed?super.execute(E,P):this._execute(E,P)}requestAsyncId(E,P,W=0){return null!=W&&W>0||null==W&&this.delay>0?super.requestAsyncId(E,P,W):(E.flush(this),0)}});var bc=I(6321),gs=I(9397),wc=I(5137),Qa=I(3093);const Ja=new a.GfV("7.6.1"),Xa="__angularfire_symbol__analyticsIsSupportedValue",Ci="__angularfire_symbol__analyticsIsSupported",wa="__angularfire_symbol__remoteConfigIsSupportedValue",yl="__angularfire_symbol__remoteConfigIsSupported",el="__angularfire_symbol__messagingIsSupportedValue",tl="__angularfire_symbol__messagingIsSupported";function ms(m,E,P){if(E){if(1===E.length)return E[0];const be=E.filter(He=>He.app===P);if(1===be.length)return be[0]}return P.container.getProvider(m).getImmediate({optional:!0})}globalThis[Ci]||(globalThis[Ci]=Ka().then(m=>globalThis[Xa]=m).catch(()=>globalThis[Xa]=!1)),globalThis[tl]||(globalThis[tl]=Ps().then(m=>globalThis[el]=m).catch(()=>globalThis[el]=!1)),globalThis[yl]||(globalThis[yl]=qo().then(m=>globalThis[wa]=m).catch(()=>globalThis[wa]=!1));const vl=(m,E)=>{const P=E?[E]:(0,u.C6)(),W=[];return P.forEach(ce=>{ce.container.getProvider(m).instances.forEach(He=>{W.includes(He)||W.push(He)})}),W};function zi(){}class Dl{constructor(E,P=Vl){this.zone=E,this.delegate=P}now(){return this.delegate.now()}schedule(E,P,W){const ce=this.zone;return this.delegate.schedule(function(He){ce.runGuarded(()=>{E.apply(this,[He])})},P,W)}}class Gi{constructor(E){this.zone=E,this.task=null}call(E,P){const W=this.unscheduleTask.bind(this);return this.task=this.zone.run(()=>Zone.current.scheduleMacroTask("firebaseZoneBlock",zi,{},zi,zi)),P.pipe((0,gs.b)({next:W,complete:W,error:W})).subscribe(E).add(W)}unscheduleTask(){setTimeout(()=>{null!=this.task&&"scheduled"===this.task.state&&(this.task.invoke(),this.task=null)},10)}}let Tc=(()=>{class m{constructor(P){this.ngZone=P,this.outsideAngular=P.runOutsideAngular(()=>new Dl(Zone.current)),this.insideAngular=P.run(()=>new Dl(Zone.current,bc.z)),globalThis.\u0275AngularFireScheduler||(globalThis.\u0275AngularFireScheduler=this)}}return m.\u0275fac=function(P){return new(P||m)(a.LFG(a.R0b))},m.\u0275prov=a.Yz7({token:m,factory:m.\u0275fac,providedIn:"root"}),m})();function kr(){const m=globalThis.\u0275AngularFireScheduler;if(!m)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 m}function rl(m){return kr(),function Po(m){return function(P){return(P=P.lift(new Gi(m.ngZone))).pipe((0,wc.R)(m.outsideAngular),(0,Qa.Q)(m.insideAngular))}}(kr())(m)}},9058:(tt,ve,I)=>{I.d(ve,{$s:()=>lr,BH:()=>me,L:()=>de,LL:()=>Ee,Pz:()=>De,UG:()=>st,US:()=>$,ZB:()=>fe,ZR:()=>Ce,aH:()=>Z,b$:()=>St,eu:()=>Ne,hl:()=>Pe,jU:()=>ht,m9:()=>so,ne:()=>rn,pd:()=>Vt,r3:()=>xt,ru:()=>It,tV:()=>U,uI:()=>$e,vZ:()=>Jn,w1:()=>pn,xO:()=>Xn,xb:()=>Sn,z$:()=>We,zI:()=>Ue,zd:()=>ct});const ne=function(ie){const k=[];let x=0;for(let te=0;te<ie.length;te++){let L=ie.charCodeAt(te);L<128?k[x++]=L:L<2048?(k[x++]=L>>6|192,k[x++]=63&L|128):55296==(64512&L)&&te+1<ie.length&&56320==(64512&ie.charCodeAt(te+1))?(L=65536+((1023&L)<<10)+(1023&ie.charCodeAt(++te)),k[x++]=L>>18|240,k[x++]=L>>12&63|128,k[x++]=L>>6&63|128,k[x++]=63&L|128):(k[x++]=L>>12|224,k[x++]=L>>6&63|128,k[x++]=63&L|128)}return k},$={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(ie,k){if(!Array.isArray(ie))throw Error("encodeByteArray takes an array as a parameter");this.init_();const x=k?this.byteToCharMapWebSafe_:this.byteToCharMap_,te=[];for(let L=0;L<ie.length;L+=3){const se=ie[L],Re=L+1<ie.length,Qe=Re?ie[L+1]:0,vt=L+2<ie.length,lt=vt?ie[L+2]:0;let Qt=(15&Qe)<<2|lt>>6,ye=63&lt;vt||(ye=64,Re||(Qt=64)),te.push(x[se>>2],x[(3&se)<<4|Qe>>4],x[Qt],x[ye])}return te.join("")},encodeString(ie,k){return this.HAS_NATIVE_SUPPORT&&!k?btoa(ie):this.encodeByteArray(ne(ie),k)},decodeString(ie,k){return this.HAS_NATIVE_SUPPORT&&!k?atob(ie):function(ie){const k=[];let x=0,te=0;for(;x<ie.length;){const L=ie[x++];if(L<128)k[te++]=String.fromCharCode(L);else if(L>191&&L<224){const se=ie[x++];k[te++]=String.fromCharCode((31&L)<<6|63&se)}else if(L>239&&L<365){const vt=((7&L)<<18|(63&ie[x++])<<12|(63&ie[x++])<<6|63&ie[x++])-65536;k[te++]=String.fromCharCode(55296+(vt>>10)),k[te++]=String.fromCharCode(56320+(1023&vt))}else{const se=ie[x++],Re=ie[x++];k[te++]=String.fromCharCode((15&L)<<12|(63&se)<<6|63&Re)}}return k.join("")}(this.decodeStringToByteArray(ie,k))},decodeStringToByteArray(ie,k){this.init_();const x=k?this.charToByteMapWebSafe_:this.charToByteMap_,te=[];for(let L=0;L<ie.length;){const se=x[ie.charAt(L++)],Qe=L<ie.length?x[ie.charAt(L)]:0;++L;const lt=L<ie.length?x[ie.charAt(L)]:64;++L;const bt=L<ie.length?x[ie.charAt(L)]:64;if(++L,null==se||null==Qe||null==lt||null==bt)throw new ee;te.push(se<<2|Qe>>4),64!==lt&&(te.push(Qe<<4&240|lt>>2),64!==bt&&te.push(lt<<6&192|bt))}return te},init_(){if(!this.byteToCharMap_){this.byteToCharMap_={},this.charToByteMap_={},this.byteToCharMapWebSafe_={},this.charToByteMapWebSafe_={};for(let ie=0;ie<this.ENCODED_VALS.length;ie++)this.byteToCharMap_[ie]=this.ENCODED_VALS.charAt(ie),this.charToByteMap_[this.byteToCharMap_[ie]]=ie,this.byteToCharMapWebSafe_[ie]=this.ENCODED_VALS_WEBSAFE.charAt(ie),this.charToByteMapWebSafe_[this.byteToCharMapWebSafe_[ie]]=ie,ie>=this.ENCODED_VALS_BASE.length&&(this.charToByteMap_[this.ENCODED_VALS_WEBSAFE.charAt(ie)]=ie,this.charToByteMapWebSafe_[this.ENCODED_VALS.charAt(ie)]=ie)}}};class ee extends Error{constructor(){super(...arguments),this.name="DecodeBase64StringError"}}const de=function(ie){return function(ie){const k=ne(ie);return $.encodeByteArray(k,!0)}(ie).replace(/\./g,"")},U=function(ie){try{return $.decodeString(ie,!0)}catch(k){console.error("base64Decode failed: ",k)}return null};function fe(ie,k){if(!(k instanceof Object))return k;switch(k.constructor){case Date:return new Date(k.getTime());case Object:void 0===ie&&(ie={});break;case Array:ie=[];break;default:return k}for(const x in k)!k.hasOwnProperty(x)||!xe(x)||(ie[x]=fe(ie[x],k[x]));return ie}function xe(ie){return"__proto__"!==ie}const Le=()=>{try{return function Te(){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 ie=process.env.__FIREBASE_DEFAULTS__;return ie?JSON.parse(ie):void 0})()||(()=>{if(typeof document>"u")return;let ie;try{ie=document.cookie.match(/__FIREBASE_DEFAULTS__=([^;]+)/)}catch{return}const k=ie&&U(ie[1]);return k&&JSON.parse(k)})()}catch(ie){return void console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${ie}`)}},Z=()=>{var ie;return null===(ie=Le())||void 0===ie?void 0:ie.config},De=ie=>{var k;return null===(k=Le())||void 0===k?void 0:k[`_${ie}`]};class me{constructor(){this.reject=()=>{},this.resolve=()=>{},this.promise=new Promise((k,x)=>{this.resolve=k,this.reject=x})}wrapCallback(k){return(x,te)=>{x?this.reject(x):this.resolve(te),"function"==typeof k&&(this.promise.catch(()=>{}),1===k.length?k(x):k(x,te))}}}function We(){return typeof navigator<"u"&&"string"==typeof navigator.userAgent?navigator.userAgent:""}function $e(){return typeof window<"u"&&!!(window.cordova||window.phonegap||window.PhoneGap)&&/ios|iphone|ipod|ipad|android|blackberry|iemobile/i.test(We())}function st(){var ie;const k=null===(ie=Le())||void 0===ie?void 0:ie.forceEnvironment;if("node"===k)return!0;if("browser"===k)return!1;try{return"[object process]"===Object.prototype.toString.call(global.process)}catch{return!1}}function ht(){return"object"==typeof self&&self.self===self}function It(){const ie="object"==typeof chrome?chrome.runtime:"object"==typeof browser?browser.runtime:void 0;return"object"==typeof ie&&void 0!==ie.id}function St(){return"object"==typeof navigator&&"ReactNative"===navigator.product}function pn(){const ie=We();return ie.indexOf("MSIE ")>=0||ie.indexOf("Trident/")>=0}function Pe(){try{return"object"==typeof indexedDB}catch{return!1}}function Ne(){return new Promise((ie,k)=>{try{let x=!0;const te="validate-browser-context-for-indexeddb-analytics-module",L=self.indexedDB.open(te);L.onsuccess=()=>{L.result.close(),x||self.indexedDB.deleteDatabase(te),ie(!0)},L.onupgradeneeded=()=>{x=!1},L.onerror=()=>{var se;k((null===(se=L.error)||void 0===se?void 0:se.message)||"")}}catch(x){k(x)}})}function Ue(){return!(typeof navigator>"u"||!navigator.cookieEnabled)}class Ce extends Error{constructor(k,x,te){super(x),this.code=k,this.customData=te,this.name="FirebaseError",Object.setPrototypeOf(this,Ce.prototype),Error.captureStackTrace&&Error.captureStackTrace(this,Ee.prototype.create)}}class Ee{constructor(k,x,te){this.service=k,this.serviceName=x,this.errors=te}create(k,...x){const te=x[0]||{},L=`${this.service}/${k}`,se=this.errors[k],Re=se?function Ae(ie,k){return ie.replace(_e,(x,te)=>{const L=k[te];return null!=L?String(L):`<${te}?>`})}(se,te):"Error";return new Ce(L,`${this.serviceName}: ${Re} (${L}).`,te)}}const _e=/\{\$([^}]+)}/g;function xt(ie,k){return Object.prototype.hasOwnProperty.call(ie,k)}function Sn(ie){for(const k in ie)if(Object.prototype.hasOwnProperty.call(ie,k))return!1;return!0}function Jn(ie,k){if(ie===k)return!0;const x=Object.keys(ie),te=Object.keys(k);for(const L of x){if(!te.includes(L))return!1;const se=ie[L],Re=k[L];if(Vn(se)&&Vn(Re)){if(!Jn(se,Re))return!1}else if(se!==Re)return!1}for(const L of te)if(!x.includes(L))return!1;return!0}function Vn(ie){return null!==ie&&"object"==typeof ie}function Xn(ie){const k=[];for(const[x,te]of Object.entries(ie))Array.isArray(te)?te.forEach(L=>{k.push(encodeURIComponent(x)+"="+encodeURIComponent(L))}):k.push(encodeURIComponent(x)+"="+encodeURIComponent(te));return k.length?"&"+k.join("&"):""}function ct(ie){const k={};return ie.replace(/^\?/,"").split("&").forEach(te=>{if(te){const[L,se]=te.split("=");k[decodeURIComponent(L)]=decodeURIComponent(se)}}),k}function Vt(ie){const k=ie.indexOf("?");if(!k)return"";const x=ie.indexOf("#",k);return ie.substring(k,x>0?x:void 0)}function rn(ie,k){const x=new jn(ie,k);return x.subscribe.bind(x)}class jn{constructor(k,x){this.observers=[],this.unsubscribes=[],this.observerCount=0,this.task=Promise.resolve(),this.finalized=!1,this.onNoObservers=x,this.task.then(()=>{k(this)}).catch(te=>{this.error(te)})}next(k){this.forEachObserver(x=>{x.next(k)})}error(k){this.forEachObserver(x=>{x.error(k)}),this.close(k)}complete(){this.forEachObserver(k=>{k.complete()}),this.close()}subscribe(k,x,te){let L;if(void 0===k&&void 0===x&&void 0===te)throw new Error("Missing Observer.");L=function qt(ie,k){if("object"!=typeof ie||null===ie)return!1;for(const x of k)if(x in ie&&"function"==typeof ie[x])return!0;return!1}(k,["next","error","complete"])?k:{next:k,error:x,complete:te},void 0===L.next&&(L.next=kn),void 0===L.error&&(L.error=kn),void 0===L.complete&&(L.complete=kn);const se=this.unsubscribeOne.bind(this,this.observers.length);return this.finalized&&this.task.then(()=>{try{this.finalError?L.error(this.finalError):L.complete()}catch{}}),this.observers.push(L),se}unsubscribeOne(k){void 0===this.observers||void 0===this.observers[k]||(delete this.observers[k],this.observerCount-=1,0===this.observerCount&&void 0!==this.onNoObservers&&this.onNoObservers(this))}forEachObserver(k){if(!this.finalized)for(let x=0;x<this.observers.length;x++)this.sendOne(x,k)}sendOne(k,x){this.task.then(()=>{if(void 0!==this.observers&&void 0!==this.observers[k])try{x(this.observers[k])}catch(te){typeof console<"u"&&console.error&&console.error(te)}})}close(k){this.finalized||(this.finalized=!0,void 0!==k&&(this.finalError=k),this.task.then(()=>{this.observers=void 0,this.onNoObservers=void 0}))}}function kn(){}const En=1e3,Ln=2,ar=144e5,er=.5;function lr(ie,k=En,x=Ln){const te=k*Math.pow(x,ie),L=Math.round(er*te*(Math.random()-.5)*2);return Math.min(ar,te+L)}function so(ie){return ie&&ie._delegate?ie._delegate:ie}},4201:(tt,ve,I)=>{I.d(ve,{a:()=>ne});var a=I(5879),u=I(4835),G=I(8184);let ne=(()=>{var z;class ${constructor(ae,de){this._authService=ae,this._router=de}canActivate(ae,de){return!!this._authService.isAuthentication()||(this._router.navigate([""]),!1)}}return(z=$).\u0275fac=function(ae){return new(ae||z)(a.LFG(u.$),a.LFG(G.F0))},z.\u0275prov=a.Yz7({token:z,factory:z.\u0275fac}),$})()},4835:(tt,ve,I)=>{I.d(ve,{$:()=>ne});var a=I(5879),u=I(8184),G=I(2425);let ne=(()=>{var z;class ${constructor(ae,de){this._router=ae,this.toaster=de}login(ae){this._router.navigate([ae])}logout(){localStorage.removeItem("Token"),localStorage.removeItem("Domain"),this._router.navigate([""])}isAuthentication(){return null!=localStorage.getItem("Token")&&!this.isTokenExpired()}isTokenExpired(){return!1}setLocalStorage(ae,de){localStorage.setItem("posdomain",ae),localStorage.setItem("username",de)}getUsernameLocalStorage(){return localStorage.getItem("username")}getDomainLocalStorage(){return localStorage.getItem("posdomain")}isLocalStorageExist(){let ae=localStorage.getItem("posdomain"),de=localStorage.getItem("username"),U=!1;return ae&&de&&(U=!0),U}}return(z=$).\u0275fac=function(ae){return new(ae||z)(a.LFG(u.F0),a.LFG(G._W))},z.\u0275prov=a.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),$})()},8017:(tt,ve,I)=>{I.d(ve,{O:()=>Ye});var a=I(9862),u=I(5592),G=I(6321),ne=I(93),z=I(9360),$=I(4829),ee=I(2306),ae=I(8251),de=I(7103);const U=(0,ee.d)(Oe=>function(Le=null){Oe(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=Le});function J(Oe,je){const{first:Le,each:et,with:Ve=fe,scheduler:Z=je??G.z,meta:De=null}=(0,ne.q)(Oe)?{first:Oe}:"number"==typeof Oe?{each:Oe}:Oe;if(null==Le&&null==et)throw new TypeError("No timeout provided.");return(0,z.e)((me,Se)=>{let We,$e,st=null,ht=0;const It=St=>{$e=(0,de.f)(Se,Z,()=>{try{We.unsubscribe(),(0,$.Xf)(Ve({meta:De,lastValue:st,seen:ht})).subscribe(Se)}catch(en){Se.error(en)}},St)};We=me.subscribe((0,ae.x)(Se,St=>{$e?.unsubscribe(),ht++,Se.next(st=St),et>0&&It(et)},void 0,void 0,()=>{$e?.closed||$e?.unsubscribe(),st=null})),!ht&&It(null!=Le?"number"==typeof Le?Le:+Le-Z.now():et)})}function fe(Oe){throw new U(Oe)}var xe=I(5879),Te=I(2425);let Ye=(()=>{var Oe;class je{constructor(et,Ve){this.http=et,this.toastr=Ve}delete(et,Ve){let Z=localStorage.getItem("Token"),De=new a.WM({"Content-Type":"application/json","Cache-Control":"no-cache"});return Z&&(De=De.append("Authorization","Bearer "+Z)),this.http.delete(et,{body:Ve,headers:De})}post(et,Ve,Z=1e5){return new u.y(De=>{let me=localStorage.getItem("Token"),Se=new a.WM({"Content-Type":"application/json","Cache-Control":"no-cache"});me&&(Se=Se.append("Authorization","Bearer "+me)),this.http.post(et,Ve,{headers:Se}).pipe(J(Z)).subscribe($e=>{De.next($e),De.complete()},$e=>{if(200==$e.status)De.next($e.error.text),De.complete();else{if(!this.unauthorizedErrorHandling($e)){let ht=this.errorMessageHandling($e);this.toastr.error(""!=ht.message?ht.message:"An unknown error has occured!",ht.header)}De.error($e)}})})}postFormData(et,Ve,Z=!0){return new u.y(De=>{let me=localStorage.getItem("Token"),We={headers:new a.WM({Authorization:"Bearer "+me})};this.http.post(et,Ve,We).pipe(J(1e5)).subscribe($e=>{De.next($e),De.complete()},$e=>{if(200==$e.status)De.next($e.error.text),De.complete();else{if(!this.unauthorizedErrorHandling($e)&&Z){let ht=this.errorMessageHandling($e);this.toastr.error(""!=ht.message?ht.message:"An unknown error has occured!",ht.header)}De.error($e)}})})}unauthorizedErrorHandling(et){let Ve=!1;return 401==et.status&&(localStorage.getItem("Token")?window.location.href="/A/Unauthorized/Main/Unauthorized":window.location.href="/",Ve=!0),Ve}errorMessageHandling(et){let Ve="API Error",Z="Exception Message";return et.error?(Ve="API Error - "+et.status,et.error.Message&&(Z=et.error.Message)):et.message&&(Ve="API Error - "+et.name,Z=et.message),{header:Ve,message:Z}}get(et,Ve=1e5){return new u.y(Z=>{let De=localStorage.getItem("Token"),me=new a.WM({"Content-Type":"application/json","Cache-Control":"no-cache"});De&&(me=me.append("Authorization","Bearer "+De)),this.http.get(et,{headers:me}).pipe(J(Ve)).subscribe(We=>{Z.next(We),Z.complete()},We=>{if(200==We.status)Z.next(We.error.text),Z.complete();else{if(!this.unauthorizedErrorHandling(We)){let st=this.errorMessageHandling(We);this.toastr.error(""!=st.message?st.message:"An unknown error has occured!",st.header)}Z.error(We)}})})}}return(Oe=je).\u0275fac=function(et){return new(et||Oe)(xe.LFG(a.eN),xe.LFG(Te._W))},Oe.\u0275prov=xe.Yz7({token:Oe,factory:Oe.\u0275fac,providedIn:"root"}),je})()},6493:(tt,ve,I)=>{I.d(ve,{g:()=>a});let a=(()=>{var G;class ne{static StringFormat($,...ee){for(let ae=0;ae<ee.length;ae++)$=$.replace(`{${ae}}`,ee[ae]);return $}static parseJwt($){var ae=$.split(".")[1].replace(/-/g,"+").replace(/_/g,"/"),de=decodeURIComponent(atob(ae).split("").map(function(U){return"%"+("00"+U.charCodeAt(0).toString(16)).slice(-2)}).join(""));return JSON.parse(de)}static IsNotEmpty($){return""!=$&&$!=ne.GuidEmpty&&null!=$&&null!=$}static IsEmpty($){return""==$||null==$||null==$||$==ne.GuidEmpty}static FilterByID($,ee){try{const ae=$.filter(de=>de.ID==ee);if(ae.length>0)return ae[0]}catch{console.log("error filter")}return null}static DateOnly($){return $?new Date(new Date($).toDateString()):new Date((new Date).toDateString())}static GenerateYears($,ee,ae){var de=-1;(null==ee||null==ee)&&(ee=11),(null==ae||null==ae||!ae)&&(de=1);for(var U=[],J=0;J<ee;J++)U.push($+J*de);return U}static formatTitleFromDate($,ee){let ae=null;const de=new Date($),U=new Date(ee);return de.getDate()!=U.getDate()&&(ae="dd"),de.getMonth()!=U.getMonth()&&(ae="dd MMM"),de.getFullYear()!=U.getFullYear()&&(ae="dd MMM yyyy"),ae}}return(G=ne).GuidEmpty="00000000-0000-0000-0000-000000000000",G.DecimalMinValue="-7.922816251426434e+28",G.InputLockTimeSpan=500,G.MinDate="0001-01-01T00:00:00",G.MinTime="00:00:00",G.Month=[{ID:1,Label:"January"},{ID:2,Label:"February"},{ID:3,Label:"March"},{ID:4,Label:"April"},{ID:5,Label:"May"},{ID:6,Label:"June"},{ID:7,Label:"July"},{ID:8,Label:"August"},{ID:9,Label:"September"},{ID:10,Label:"October"},{ID:11,Label:"November"},{ID:12,Label:"December"}],ne})()},553:(tt,ve,I)=>{I.d(ve,{N:()=>a});const a={production:!0}},2940:(tt,ve,I)=>{var a=I(6593),u=I(5879),G=I(8184);function ne(p){this.message=p}(ne.prototype=new Error).name="InvalidCharacterError";var z=typeof window<"u"&&window.atob&&window.atob.bind(window)||function(p){var i=String(p).replace(/=+$/,"");if(i.length%4==1)throw new ne("'atob' failed: The string to be decoded is not correctly encoded.");for(var l,f,D=0,R=0,q="";f=i.charAt(R++);~f&&(l=D%4?64*l+f:f,D++%4)?q+=String.fromCharCode(255&l>>(-2*D&6)):0)f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(f);return q};function ee(p){this.message=p}(ee.prototype=new Error).name="InvalidTokenError";var U=I(6493),J=I(3106),fe=I(2459),xe=I(7398),Te=I(4664),Ye=I(9397),Oe=I(8017),je=I(2425),Le=I(4835),et=I(8645),Ve=I(2096),Z=I(5592),De=I(3019),me=I(3093),Se=I(7081),We=I(1374),$e=I(4674);function st(p,i){return(0,$e.m)(i)?(0,Te.w)(()=>p,i):(0,Te.w)(()=>p)}var ht=I(5137),It=I(2181),St=I(8186),en=I(6304),pn=I(6814);I(3182);var xt=I(5861),xn=I(534),Sn=I(4537),yr=I(9058),Jn=I(7879);const Vn=new Map,sr={activated:!1,tokenObservers:[]},Xn={initialized:!1,enabled:!1};function ct(p){return Vn.get(p)||Object.assign({},sr)}function Tt(){return Xn}const rn="https://content-firebaseappcheck.googleapis.com/v1",qt="exchangeDebugToken",kn={OFFSET_DURATION:3e5,RETRIAL_MIN_WAIT:3e4,RETRIAL_MAX_WAIT:96e4};class cn{constructor(i,l,f,D,R){if(this.operation=i,this.retryPolicy=l,this.getWaitDuration=f,this.lowerBound=D,this.upperBound=R,this.pending=null,this.nextErrorWaitInterval=D,D>R)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(i){var l=this;return(0,xt.Z)(function*(){l.stop();try{l.pending=new yr.BH,yield function ir(p){return new Promise(i=>{setTimeout(i,p)})}(l.getNextRun(i)),l.pending.resolve(),yield l.pending.promise,l.pending=new yr.BH,yield l.operation(),l.pending.resolve(),yield l.pending.promise,l.process(!0).catch(()=>{})}catch(f){l.retryPolicy(f)?l.process(!1).catch(()=>{}):l.stop()}})()}getNextRun(i){if(i)return this.nextErrorWaitInterval=this.lowerBound,this.getWaitDuration();{const l=this.nextErrorWaitInterval;return this.nextErrorWaitInterval*=2,this.nextErrorWaitInterval>this.upperBound&&(this.nextErrorWaitInterval=this.upperBound),l}}}const Mn=new yr.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 zn(p){if(!ct(p).activated)throw Mn.create("use-before-activation",{appName:p.name})}function Ln(p,i){return ar.apply(this,arguments)}function ar(){return(ar=(0,xt.Z)(function*({url:p,body:i},l){const f={"Content-Type":"application/json"},D=l.getImmediate({optional:!0});if(D){const at=yield D.getHeartbeatsHeader();at&&(f["X-Firebase-Client"]=at)}const R={method:"POST",body:JSON.stringify(i),headers:f};let q,X;try{q=yield fetch(p,R)}catch(at){throw Mn.create("fetch-network-error",{originalErrorMessage:at?.message})}if(200!==q.status)throw Mn.create("fetch-status-error",{httpStatus:q.status});try{X=yield q.json()}catch(at){throw Mn.create("fetch-parse-error",{originalErrorMessage:at?.message})}const ue=X.ttl.match(/^([\d.]+)(s)$/);if(!ue||!ue[2]||isNaN(Number(ue[1])))throw Mn.create("fetch-parse-error",{originalErrorMessage:`ttl field (timeToLive) is not in standard Protobuf Duration format: ${X.ttl}`});const Be=1e3*Number(ue[1]),yt=Date.now();return{token:X.token,expireTimeMillis:yt+Be,issuedAtTimeMillis:yt}})).apply(this,arguments)}function vr(p,i){const{projectId:l,appId:f,apiKey:D}=p.options;return{url:`${rn}/projects/${l}/apps/${f}:${qt}?key=${D}`,body:{debug_token:i}}}const Dr="firebase-app-check-database",so=1,ie="firebase-app-check-store";let x=null;function lt(){return(lt=(0,xt.Z)(function*(p,i){const f=(yield function te(){return x||(x=new Promise((p,i)=>{try{const l=indexedDB.open(Dr,so);l.onsuccess=f=>{p(f.target.result)},l.onerror=f=>{var D;i(Mn.create("storage-open",{originalErrorMessage:null===(D=f.target.error)||void 0===D?void 0:D.message}))},l.onupgradeneeded=f=>{0===f.oldVersion&&f.target.result.createObjectStore(ie,{keyPath:"compositeKey"})}}catch(l){i(Mn.create("storage-open",{originalErrorMessage:l?.message}))}}),x)}()).transaction(ie,"readwrite"),R=f.objectStore(ie).put({compositeKey:p,value:i});return new Promise((q,X)=>{R.onsuccess=ue=>{q()},f.onerror=ue=>{var Be;X(Mn.create("storage-set",{originalErrorMessage:null===(Be=ue.target.error)||void 0===Be?void 0:Be.message}))}})})).apply(this,arguments)}const ye=new Jn.Yd("@firebase/app-check");function K(p,i){return(0,yr.hl)()?function se(p,i){return function vt(p,i){return lt.apply(this,arguments)}(function Qt(p){return`${p.options.appId}-${p.name}`}(p),i)}(p,i).catch(l=>{ye.warn(`Failed to write token to IndexedDB. Error: ${l}`)}):Promise.resolve()}function Ze(){return Tt().enabled}function ke(){return gt.apply(this,arguments)}function gt(){return(gt=(0,xt.Z)(function*(){const p=Tt();if(p.enabled&&p.token)return p.token.promise;throw Error("\n Can't get debug token in production mode.\n ")})).apply(this,arguments)}const un={error:"UNKNOWN_ERROR"};function Cn(p){return yr.US.encodeString(JSON.stringify(p),!1)}function dn(p){return Gn.apply(this,arguments)}function Gn(){return(Gn=(0,xt.Z)(function*(p,i=!1){const l=p.app;zn(l);const f=ct(l);let R,D=f.token;if(D&&!An(D)&&(f.token=void 0,D=void 0),!D){const ue=yield f.cachedTokenPromise;ue&&(An(ue)?D=ue:yield K(l,void 0))}if(!i&&D&&An(D))return{token:D.token};let X,q=!1;if(Ze()){f.exchangeTokenPromise||(f.exchangeTokenPromise=Ln(vr(l,yield ke()),p.heartbeatServiceProvider).finally(()=>{f.exchangeTokenPromise=void 0}),q=!0);const ue=yield f.exchangeTokenPromise;return yield K(l,ue),f.token=ue,{token:ue.token}}try{f.exchangeTokenPromise||(f.exchangeTokenPromise=f.provider.getToken().finally(()=>{f.exchangeTokenPromise=void 0}),q=!0),D=yield ct(l).exchangeTokenPromise}catch(ue){"appCheck/throttled"===ue.code?ye.warn(ue.message):ye.error(ue),R=ue}return D?R?X=An(D)?{token:D.token,internalError:R}:No(R):(X={token:D.token},f.token=D,yield K(l,D)):X=No(R),q&&function _n(p,i){const l=ct(p).tokenObservers;for(const f of l)try{"EXTERNAL"===f.type&&null!=i.error?f.error(i.error):f.next(i)}catch{}}(l,X),X})).apply(this,arguments)}function Sr(p){return Zr.apply(this,arguments)}function Zr(){return(Zr=(0,xt.Z)(function*(p){const i=p.app;zn(i);const{provider:l}=ct(i);if(Ze()){const f=yield ke(),{token:D}=yield Ln(vr(i,f),p.heartbeatServiceProvider);return{token:D}}{const{token:f}=yield l.getToken();return{token:f}}})).apply(this,arguments)}function wn(p,i){const l=ct(p),f=l.tokenObservers.filter(D=>D.next!==i);0===f.length&&l.tokenRefresher&&l.tokenRefresher.isRunning()&&l.tokenRefresher.stop(),l.tokenObservers=f}function Lr(p){const{app:i}=p,l=ct(i);let f=l.tokenRefresher;f||(f=function io(p){const{app:i}=p;return new cn((0,xt.Z)(function*(){let f;if(f=ct(i).token?yield dn(p,!0):yield dn(p),f.error)throw f.error;if(f.internalError)throw f.internalError}),()=>!0,()=>{const l=ct(i);if(l.token){let f=l.token.issuedAtTimeMillis+.5*(l.token.expireTimeMillis-l.token.issuedAtTimeMillis)+3e5;return f=Math.min(f,l.token.expireTimeMillis-3e5),Math.max(0,f-Date.now())}return 0},kn.RETRIAL_MIN_WAIT,kn.RETRIAL_MAX_WAIT)}(p),l.tokenRefresher=f),!f.isRunning()&&l.isTokenAutoRefreshEnabled&&f.start()}function An(p){return p.expireTimeMillis-Date.now()>0}function No(p){return{token:Cn(un),error:p}}class fr{constructor(i,l){this.app=i,this.heartbeatServiceProvider=l}_delete(){const{tokenObservers:i}=ct(this.app);for(const l of i)wn(this.app,l.next);return Promise.resolve()}}const Lo="app-check-internal";!function Ko(){(0,xn._registerComponent)(new Sn.wA("app-check",p=>function Mo(p,i){return new fr(p,i)}(p.getProvider("app").getImmediate(),p.getProvider("heartbeat")),"PUBLIC").setInstantiationMode("EXPLICIT").setInstanceCreatedCallback((p,i,l)=>{p.getProvider(Lo).initialize()})),(0,xn._registerComponent)(new Sn.wA(Lo,p=>function xo(p){return{getToken:i=>dn(p,i),getLimitedUseToken:()=>Sr(p),addTokenListener:i=>function tn(p,i,l,f){const{app:D}=p,R=ct(D);if(R.tokenObservers=[...R.tokenObservers,{next:l,error:f,type:i}],R.token&&An(R.token)){const X=R.token;Promise.resolve().then(()=>{l({token:X.token}),Lr(p)}).catch(()=>{})}R.cachedTokenPromise.then(()=>Lr(p))}(p,"INTERNAL",i),removeTokenListener:i=>wn(p.app,i)}}(p.getProvider("app-check").getImmediate()),"PUBLIC").setInstantiationMode("EXPLICIT")),(0,xn.registerVersion)("@firebase/app-check","0.8.0")}();class On{constructor(){return(0,St.vb)("app-check")}}typeof window<"u"&&window;var lo=I(7142);const Hr=new u.OlP("angularfire2.auth.use-emulator"),Is=new u.OlP("angularfire2.auth.settings"),Ss=new u.OlP("angularfire2.auth.tenant-id"),qo=new u.OlP("angularfire2.auth.langugage-code"),co=new u.OlP("angularfire2.auth.use-device-language"),Qo=new u.OlP("angularfire.auth.persistence");let Zt=(()=>{class p{constructor(l,f,D,R,q,X,ue,Be,yt,at,hn,an){const Ot=new et.x,Bt=(0,Ve.of)(void 0).pipe((0,me.Q)(q.outsideAngular),(0,Te.w)(()=>R.runOutsideAngular(()=>I.e(967).then(I.bind(I,5967)))),(0,xe.U)(()=>(0,en.on)(l,R,f)),(0,xe.U)($n=>((p,i,l,f,D,R,q,X)=>(0,en.cc)(`${p.name}.auth`,"AngularFireAuth",p.name,()=>{const ue=i.runOutsideAngular(()=>p.auth());if(l&&ue.useEmulator(...l),f&&(ue.tenantId=f),ue.languageCode=D,R&&ue.useDeviceLanguage(),q)for(const[Be,yt]of Object.entries(q))ue.settings[Be]=yt;return X&&ue.setPersistence(X),ue},[l,f,D,R,q,X]))($n,R,X,Be,yt,at,ue,hn)),(0,Se.d)({bufferSize:1,refCount:!1}));if((0,pn.PM)(D))this.authState=this.user=this.idToken=this.idTokenResult=this.credential=(0,Ve.of)(null);else{Bt.pipe((0,We.P)()).subscribe();const nr=Bt.pipe((0,Te.w)(Dn=>Dn.getRedirectResult().then(Go=>Go,()=>null)),St.iC,(0,Se.d)({bufferSize:1,refCount:!1})),Fr=Bt.pipe((0,Te.w)(Dn=>new Z.y(Go=>({unsubscribe:R.runOutsideAngular(()=>Dn.onAuthStateChanged(oo=>Go.next(oo),oo=>Go.error(oo),()=>Go.complete()))})))),ro=Bt.pipe((0,Te.w)(Dn=>new Z.y(Go=>({unsubscribe:R.runOutsideAngular(()=>Dn.onIdTokenChanged(oo=>Go.next(oo),oo=>Go.error(oo),()=>Go.complete()))}))));this.authState=nr.pipe(st(Fr),(0,ht.R)(q.outsideAngular),(0,me.Q)(q.insideAngular)),this.user=nr.pipe(st(ro),(0,ht.R)(q.outsideAngular),(0,me.Q)(q.insideAngular)),this.idToken=this.user.pipe((0,Te.w)(Dn=>Dn?(0,fe.D)(Dn.getIdToken()):(0,Ve.of)(null))),this.idTokenResult=this.user.pipe((0,Te.w)(Dn=>Dn?(0,fe.D)(Dn.getIdTokenResult()):(0,Ve.of)(null))),this.credential=(0,De.T)(nr,Ot,this.authState.pipe((0,It.h)(Dn=>!Dn))).pipe((0,xe.U)(Dn=>Dn?.user?Dn:null),(0,ht.R)(q.outsideAngular),(0,me.Q)(q.insideAngular))}return(0,en.pX)(this,Bt,R,{spy:{apply:($n,nr,Fr)=>{($n.startsWith("signIn")||$n.startsWith("createUser"))&&Fr.then(ro=>Ot.next(ro))}}})}}return p.\u0275fac=function(l){return new(l||p)(u.LFG(en.Dh),u.LFG(en.xv,8),u.LFG(u.Lbi),u.LFG(u.R0b),u.LFG(St.HU),u.LFG(Hr,8),u.LFG(Is,8),u.LFG(Ss,8),u.LFG(qo,8),u.LFG(co,8),u.LFG(Qo,8),u.LFG(On,8))},p.\u0275prov=u.Yz7({token:p,factory:p.\u0275fac,providedIn:"any"}),p})(),Ai=(()=>{class p{constructor(){lo.Z.registerVersion("angularfire",St.q4.full,"auth-compat")}}return p.\u0275fac=function(l){return new(l||p)},p.\u0275mod=u.oAB({type:p}),p.\u0275inj=u.cJS({providers:[Zt]}),p})();var $r=I(6223);const Jo=["domainAutoFocus"],Rn=["passAutoFocus"];function Vo(p,i){if(1&p){const l=u.EpF();u.ynx(0),u.TgZ(1,"div",18)(2,"div",19)(3,"form")(4,"div",20)(5,"h2",21),u._uU(6,"Sign in"),u.qZA(),u.TgZ(7,"div",22)(8,"div",23)(9,"div",24)(10,"span",25),u._UZ(11,"i",26),u.qZA(),u.TgZ(12,"input",27,28),u.NdJ("ngModelChange",function(D){u.CHM(l);const R=u.oxw();return u.KtG(R.posDomain=D)}),u.qZA()()(),u.TgZ(14,"select",29),u.NdJ("ngModelChange",function(D){u.CHM(l);const R=u.oxw();return u.KtG(R.domain=D)}),u.TgZ(15,"option",30),u._uU(16,".dealpos.co.id"),u.qZA(),u.TgZ(17,"option",31),u._uU(18,".dealpos.net"),u.qZA(),u.TgZ(19,"option",32),u._uU(20,".dealpos.com"),u.qZA(),u.TgZ(21,"option",33),u._uU(22,".dealpos.app"),u.qZA()()()(),u.TgZ(23,"div",34)(24,"button",35),u.NdJ("click",function(){u.CHM(l);const D=u.oxw();return u.KtG(D.onNextState())}),u._uU(25," Next "),u.qZA()()()()(),u.BQk()}if(2&p){const l=u.oxw();u.xp6(12),u.Q6J("ngModel",l.posDomain),u.xp6(2),u.Q6J("ngModel",l.domain)}}function Xr(p,i){1&p&&(u.TgZ(0,"p"),u._uU(1," Username is required "),u.qZA())}function jo(p,i){if(1&p&&(u.TgZ(0,"div",59),u.YNc(1,Xr,2,0,"p",60),u.qZA()),2&p){u.oxw();const l=u.MAs(13);u.xp6(1),u.Q6J("ngIf",l.errors.required)}}const br=function(p,i){return{"fa-eye":p,"fa-eye-slash":i}};function Fa(p,i){if(1&p){const l=u.EpF();u.TgZ(0,"i",61),u.NdJ("click",function(){u.CHM(l);const D=u.oxw(2);return u.KtG(D.hideShowPassword())}),u.qZA()}if(2&p){const l=u.oxw(2);u.Q6J("ngClass",u.WLB(1,br,"eye-off"==l.passwordIcon,"eye"==l.passwordIcon))}}function Pr(p,i){1&p&&(u.TgZ(0,"p"),u._uU(1," Password is required "),u.qZA())}function tr(p,i){if(1&p&&(u.TgZ(0,"div",59),u.YNc(1,Pr,2,0,"p",60),u.qZA()),2&p){u.oxw();const l=u.MAs(19);u.xp6(1),u.Q6J("ngIf",l.errors.required)}}function Ws(p,i){if(1&p){const l=u.EpF();u.TgZ(0,"div",18)(1,"div",19)(2,"div",36)(3,"h2",21),u._uU(4,"Sign in"),u.qZA(),u.TgZ(5,"div",37),u._uU(6," to "),u.TgZ(7,"h6",38),u._uU(8),u.qZA(),u.TgZ(9,"i",39),u.NdJ("click",function(){u.CHM(l);const D=u.oxw();return u.KtG(D.onEditDomain())}),u.qZA()()(),u.TgZ(10,"form",40)(11,"div",41)(12,"input",42,43),u.NdJ("ngModelChange",function(D){u.CHM(l);const R=u.oxw();return u.KtG(R.username=D)}),u.qZA(),u.TgZ(14,"label",44),u._uU(15,"Username"),u.qZA(),u.YNc(16,jo,2,1,"div",45),u.qZA(),u.TgZ(17,"div",46)(18,"input",47,48),u.NdJ("ngModelChange",function(D){u.CHM(l);const R=u.oxw();return u.KtG(R.password=D)}),u.qZA(),u.TgZ(20,"label",49),u._uU(21,"Password"),u.qZA(),u.YNc(22,Fa,1,4,"i",50),u.YNc(23,tr,2,1,"div",45),u.qZA(),u.TgZ(24,"div",51)(25,"a",52),u._uU(26,"Forgot Password?"),u.qZA()(),u.TgZ(27,"div",53)(28,"button",54),u.NdJ("click",function(){u.CHM(l);const D=u.oxw();return u.KtG(D.onLogin())}),u._uU(29," Log in "),u.qZA()(),u.TgZ(30,"div",55),u._UZ(31,"hr"),u.TgZ(32,"span",56),u._uU(33,"or"),u.qZA(),u._UZ(34,"hr"),u.qZA(),u.TgZ(35,"div")(36,"button",57),u.NdJ("click",function(D){u.CHM(l);const R=u.oxw();return u.KtG(R.onLoginByGoogle(D))}),u._UZ(37,"i",58),u._uU(38," Sign In with Google "),u.qZA()()()()()}if(2&p){const l=u.MAs(13),f=u.MAs(19),D=u.oxw();u.xp6(8),u.AsE(" (",D.posDomain,"",D.domain,") "),u.xp6(4),u.Q6J("ngModel",D.username),u.xp6(4),u.Q6J("ngIf",l.invalid&&(l.dirty||l.touched)),u.xp6(2),u.Q6J("type",D.passwordType)("ngModel",D.password),u.xp6(4),u.Q6J("ngIf",""!=D.password&&"edge"!=D.browser),u.xp6(1),u.Q6J("ngIf",f.invalid&&(f.dirty||f.touched)),u.xp6(2),u.Q6J("href","https://"+D.posDomain+D.domain+"/ForgotPassword",u.LSH)}}const Rr=[{path:"",component:(()=>{var p;class i{constructor(f,D,R,q,X,ue,Be){this._httpService=f,this.toastr=D,this.auth=R,this.elementRef=q,this.cdr=X,this.afAuth=ue,this.router=Be,this.loginState="FORM_DOMAIN",this.domain=".dealpos.co.id",this.passwordType="password",this.passwordIcon="eye-off"}ngOnInit(){this.elementRef.nativeElement.ownerDocument.body.style.backgroundColor="#edefff"}ngAfterViewInit(){this.getLocalStorage()}ngOnDestroy(){this.elementRef.nativeElement.ownerDocument.body.style.backgroundColor="white"}getLocalStorage(){let f=this.auth.isLocalStorageExist();this.setAutoFocusDomain(),this.username=localStorage.getItem("username"),this.posDomain=localStorage.getItem("posdomain").split(".dealpos")[0];const D=localStorage.getItem("posdomain").split(".dealpos")[1];this.domain=".co.id"==D?".dealpos.co.id":".net"==D?".dealpos.net":".dealpos.com",f&&(this.setAutoFocusPass(),this.cdr.detectChanges(),this.username=this.auth.getUsernameLocalStorage(),this.setAutoFocusPass(),this.cdr.detectChanges())}setAutoFocusDomain(){this.domainElementRef?.nativeElement.focus()}setAutoFocusPass(){this.passElementRef?.nativeElement.focus()}hideShowPassword(){this.passwordType="text"===this.passwordType?"password":"text",this.passwordIcon="eye-off"===this.passwordIcon?"eye":"eye-off"}onLogin(){var f={Username:this.username,Password:this.password,Host:this.posDomain+(this.posDomain.includes("localhost")?"":this.domain)};this._httpService.post("api/Token/Login",JSON.stringify(f)).toPromise().then(D=>{null==D.access_token&&null==D.access_token||(localStorage.setItem("Domain",this.posDomain+(this.posDomain.includes("localhost")?"":this.domain)),localStorage.setItem("Token",D.access_token),"Tools"==function ae(p,i){if("string"!=typeof p)throw new ee("Invalid token specified");var l=!0===(i=i||{}).header?0:1;try{return JSON.parse(function $(p){var i=p.replace(/-/g,"+").replace(/_/g,"/");switch(i.length%4){case 0:break;case 2:i+="==";break;case 3:i+="=";break;default:throw"Illegal base64url string!"}try{return decodeURIComponent(z(i).replace(/(.)/g,function(f,D){var R=D.charCodeAt(0).toString(16).toUpperCase();return R.length<2&&(R="0"+R),"%"+R}))}catch{return z(i)}}(p.split(".")[l]))}catch(f){throw new ee("Invalid token specified: "+f.message)}}(D.access_token)["http://schemas.microsoft.com/ws/2008/06/identity/claims/role"].filter(ue=>"Tools"==ue)?(this.saveToLocalStorage(),this.auth.login("/menu/product")):this.toastr.error("Please check your role","Error"))})}saveToLocalStorage(){this.auth.setLocalStorage(this.posDomain+this.domain,this.username)}onNextState(){U.g.IsEmpty(this.posDomain)?this.toastr.warning("Account Domain is required","Warning"):this.loginState="FORM_AUTH"}onEditDomain(){this.loginState="FORM_DOMAIN"}onLoginByGoogle(f){var D=this.posDomain+(this.posDomain.includes("localhost")?"":this.domain);f.preventDefault();const R=new J.Z.auth.GoogleAuthProvider;R.setCustomParameters({prompt:"select_account"}),(0,fe.D)(this.afAuth.signInWithPopup(R)).pipe((0,xe.U)(X=>X.credential),(0,xe.U)(X=>X.idToken),(0,Te.w)(X=>this._httpService.post("api/Token/LoginWithSocialProvider",JSON.stringify({IDToken:X,Host:D}))),(0,Ye.b)(X=>{localStorage.setItem("Token",X.Token),this.router.navigate(["/menu/product/existing"])})).subscribe()}}return(p=i).\u0275fac=function(f){return new(f||p)(u.Y36(Oe.O),u.Y36(je._W),u.Y36(Le.$),u.Y36(u.SBq),u.Y36(u.sBO),u.Y36(Zt),u.Y36(G.F0))},p.\u0275cmp=u.Xpm({type:p,selectors:[["app-login"]],viewQuery:function(f,D){if(1&f&&(u.Gf(Jo,5),u.Gf(Rn,5)),2&f){let R;u.iGM(R=u.CRH())&&(D.domainElementRef=R.first),u.iGM(R=u.CRH())&&(D.passElementRef=R.first)}},decls:30,vars:7,consts:[[1,"container"],[1,"row","mt-md-0","align-self-center"],[1,"col-12","col-md-7","text-center"],[1,"big-display","robotoslab","d-none","d-sm-block"],["src","https://res.cloudinary.com/pos/image/upload/w_200/v1614247725/Apps/Login/tools-dealpos-app.png","alt","integration-image",1,"img-fluid",3,"width"],[1,"col-12","col-md-5","order-first","order-md-last","mt-12"],[1,"big-display","text-center","my-5","py-5","robotoslab","d-block","d-sm-none"],[4,"ngIf","ngIfElse"],["USR_PASS",""],[1,"col-12","d-block","d-md-none","text-center"],[1,"pt-8","me-3"],["target","_blank","href","https://www.dealpos.com"],["src","https://res.cloudinary.com/pos/image/upload/POS/Images/Login/dealpos.png","alt","dealpos-logo",1,"img-fluid",3,"width","height"],["target","_blank","href","https://changelog.dealpos.com/?categories=cat_nILYcoEQzgGWX&view=complete",1,"pt-8","font-italic"],[1,"mx-5","pb-5","mb-5","d-none","d-md-block"],[1,"row","justify-content-between","align-items-center"],[1,"col-auto","d-inline-flex"],[1,"col-auto"],[1,"card"],[1,"card-body","p-8"],[1,"card-title"],[1,"fw-normal","font-xl","robotoslab"],[1,"d-flex","align-items-center","mt-6"],[1,"mt-7","w-75","rounded-end-0"],[1,"input-group","mb-3"],["id","basic-addon1",1,"input-group-text","border-end-0","rounded-start"],[1,"fa-solid","fa-cloud"],["type","text","required","","name","subdomain","id","inputHost","placeholder","Store Address",1,"form-control","text-start","subdomain-input","border-start-0",2,"padding-left","0px",3,"ngModel","ngModelChange"],["subdomainEl",""],["name","domainOption",1,"form-select","form-control","border-start-0","mt-4","rounded-end","rounded-start-0","domain-option",3,"ngModel","ngModelChange"],["selected","","value",".dealpos.co.id"],["value",".dealpos.net"],["value",".dealpos.com"],["value",".dealpos.app"],[1,"w-100","mt-10"],["name","next","data-cy","next","type","submit",1,"btn","btn-lg","btn-primary","btn-block","font125rem","robotoslab","w-100",3,"click"],[1,"card-title","d-flex","align-items-center"],[1,"pt-2","ms-2"],[1,"fw-bold","me-2","robotoslab","d-inline-block","text-primary"],[1,"fa-solid","fa-edit","link-primary","fs-5","pointer",3,"click"],[1,"mt-10"],[1,"form-label-group"],["autofocus","","type","text","name","Username","id","inputUsername","placeholder","Username","required","",1,"form-control","text-start",3,"ngModel","ngModelChange"],["usernameCtrl","ngModel"],["for","inputUsername",1,"text-start"],["class","text-danger",4,"ngIf"],[1,"form-label-group","mb-5","mb-sm-1"],["name","Password","id","inputPassword","placeholder","Password","required","",1,"form-control","text-start",3,"type","ngModel","ngModelChange"],["passwordCtrl","ngModel"],["for","inputPassword",1,"text-start"],["class","passwordIcon fas fa-lg",3,"ngClass","click",4,"ngIf"],[1,"text-end","mt-3"],[3,"href"],[1,"w-100","mt-8"],["data-cy","login","type","submit",1,"btn","btn-lg","btn-primary","btn-block","font125rem","robotoslab","w-100",3,"click"],[1,"divider","d-flex","align-items-center","justify-content-center"],[1,"mx-4","text-muted"],[1,"btn","btn-social-login","text-primary","w-100","fw-bold",3,"click"],[1,"fa-brands","fa-google"],[1,"text-danger"],[4,"ngIf"],[1,"passwordIcon","fas","fa-lg",3,"ngClass","click"]],template:function(f,D){if(1&f&&(u.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"h1",3),u._uU(4," DealPOS - Tools "),u.qZA(),u._UZ(5,"img",4),u.qZA(),u.TgZ(6,"div",5)(7,"h1",6),u._uU(8," DealPOS - Tools "),u.qZA(),u.YNc(9,Vo,26,2,"ng-container",7),u.YNc(10,Ws,39,9,"ng-template",null,8,u.W1O),u.qZA(),u.TgZ(12,"div",9)(13,"p",10),u._uU(14,"Powered by :"),u.qZA(),u.TgZ(15,"a",11),u._UZ(16,"img",12),u.qZA(),u._UZ(17,"br"),u.TgZ(18,"a",13),u._uU(19,"Version 2.5.3"),u.qZA()()()(),u.TgZ(20,"footer",14)(21,"div",15)(22,"div",16)(23,"p",10),u._uU(24,"Powered by :"),u.qZA(),u.TgZ(25,"a",11),u._UZ(26,"img",12),u.qZA()(),u.TgZ(27,"div",17)(28,"a",13),u._uU(29,"Version 2.5.3"),u.qZA()()()()),2&f){const R=u.MAs(11);u.xp6(5),u.Q6J("width",250),u.xp6(4),u.Q6J("ngIf","FORM_DOMAIN"==D.loginState)("ngIfElse",R),u.xp6(7),u.Q6J("width",130)("height",73),u.xp6(10),u.Q6J("width",130)("height",73)}},dependencies:[pn.mk,pn.O5,$r._Y,$r.YN,$r.Kr,$r.Fj,$r.EJ,$r.JJ,$r.JL,$r.Q7,$r.On,$r.F],styles:[".container[_ngcontent-%COMP%]{position:absolute;max-width:100%}.card[_ngcontent-%COMP%]{margin-bottom:30px;padding-bottom:5px;padding-top:5px}.passwordIcon[_ngcontent-%COMP%]{top:1.8rem;right:.8rem;position:absolute;margin:0 auto!important;cursor:pointer}.big-display[_ngcontent-%COMP%]{font-size:2rem;font-weight:300;line-height:1.2}@media (min-width: 768px){.container[_ngcontent-%COMP%]{max-width:70%;top:50%;left:50%;transform:translate(-50%) translateY(-50%)}.big-display[_ngcontent-%COMP%]{font-size:3rem}}footer[_ngcontent-%COMP%]{position:absolute;bottom:0;width:90%;left:3rem}.form-label-group[_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{color:#666}.font-xl[_ngcontent-%COMP%]{font-size:x-large}.font125rem[_ngcontent-%COMP%]{font-size:1.25rem}.robotoslab[_ngcontent-%COMP%]{font-family:Roboto Slab}div.divider[_ngcontent-%COMP%] > hr[_ngcontent-%COMP%]{margin-top:1.2rem;margin-bottom:1.2rem;border-top:1px solid rgba(0,0,0,.855);width:20%}button.btn-social-login[_ngcontent-%COMP%]{border:1px solid var(--bs-primary)}.fa-google[_ngcontent-%COMP%]{background:conic-gradient(from -45deg,#ea4335 110deg,#4285f4 90deg 180deg,#34a853 180deg 270deg,#fbbc05 270deg) 73% 55%/150% 150% no-repeat;-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}.domain-option[_ngcontent-%COMP%]{height:3.625rem;padding:.75rem;color:#343434;font-size:.875rem;border-color:#c8d3df;width:10rem}.subdomain-input[_ngcontent-%COMP%]{height:3.625rem;padding:.75rem;color:#343434;font-size:.875rem;border-color:#c8d3df}.form-select[_ngcontent-%COMP%]:focus{border:solid 1.5px #1A73E8!important;box-shadow:none!important}"]}),i})(),pathMatch:"full"},{path:"menu",loadChildren:()=>I.e(214).then(I.bind(I,8214)).then(p=>p.MenuModule)},{path:"**",redirectTo:"",pathMatch:"full"}];let Nr=(()=>{var p;class i{}return(p=i).\u0275fac=function(f){return new(f||p)},p.\u0275mod=u.oAB({type:p}),p.\u0275inj=u.cJS({imports:[G.Bz.forRoot(Rr,{}),G.Bz]}),i})();var As=I(7328);function ai(p,i){return(l,f)=>!p.call(i,l,f)}var Xo=I(4829),Zs=I(9080),ci=I(4716),A=I(9360),w=I(2420),B=I(8251);function O(p){return(0,A.e)((i,l)=>{let f=!1,D=null,R=null;const q=()=>{if(R?.unsubscribe(),R=null,f){f=!1;const X=D;D=null,l.next(X)}};i.subscribe((0,B.x)(l,X=>{R?.unsubscribe(),f=!0,D=X,R=(0,B.x)(l,q,w.Z),(0,Xo.Xf)(p(X)).subscribe(R)},()=>{q(),l.complete()},void 0,()=>{D=R=null}))})}var H=I(3997),rt=I(9862);function Ut(p,i){1&p&&u.GkF(0)}function xr(p,i){if(1&p&&u._UZ(0,"sk-cube-grid",4),2&p){const l=u.oxw(2);u.Q6J("backgroundColor",l.backgroundColor)}}function Yr(p,i){if(1&p&&u._UZ(0,"sk-chasing-dots",4),2&p){const l=u.oxw(2);u.Q6J("backgroundColor",l.backgroundColor)}}function ds(p,i){if(1&p&&u._UZ(0,"sk-double-bounce",4),2&p){const l=u.oxw(2);u.Q6J("backgroundColor",l.backgroundColor)}}function yo(p,i){if(1&p&&u._UZ(0,"sk-rotating-plane",4),2&p){const l=u.oxw(2);u.Q6J("backgroundColor",l.backgroundColor)}}function ll(p,i){if(1&p&&u._UZ(0,"sk-spinner-pulse",4),2&p){const l=u.oxw(2);u.Q6J("backgroundColor",l.backgroundColor)}}function ui(p,i){if(1&p&&u._UZ(0,"sk-three-bounce",4),2&p){const l=u.oxw(2);u.Q6J("backgroundColor",l.backgroundColor)}}function ha(p,i){if(1&p&&u._UZ(0,"sk-wandering-cubes",4),2&p){const l=u.oxw(2);u.Q6J("backgroundColor",l.backgroundColor)}}function La(p,i){if(1&p&&u._UZ(0,"sk-wave",4),2&p){const l=u.oxw(2);u.Q6J("backgroundColor",l.backgroundColor)}}const cl=function(p){return{"background-color":p}};function Oi(p,i){if(1&p&&(u.TgZ(0,"div",1),u.YNc(1,Ut,1,0,"ng-container",2),u.YNc(2,xr,1,1,"sk-cube-grid",3),u.YNc(3,Yr,1,1,"sk-chasing-dots",3),u.YNc(4,ds,1,1,"sk-double-bounce",3),u.YNc(5,yo,1,1,"sk-rotating-plane",3),u.YNc(6,ll,1,1,"sk-spinner-pulse",3),u.YNc(7,ui,1,1,"sk-three-bounce",3),u.YNc(8,ha,1,1,"sk-wandering-cubes",3),u.YNc(9,La,1,1,"sk-wave",3),u.qZA()),2&p){const l=u.oxw();u.Udp("opacity",l.opacity),u.ekj("backdrop",l.backdrop),u.Q6J("ngStyle",u.VKq(14,cl,l.backdrop?l.backdropBackgroundColor:"transparent")),u.xp6(1),u.Q6J("ngComponentOutlet",l.entryComponent),u.xp6(1),u.Q6J("ngIf",l.spinner===l.spinkit.skCubeGrid),u.xp6(1),u.Q6J("ngIf",l.spinner===l.spinkit.skChasingDots),u.xp6(1),u.Q6J("ngIf",l.spinner===l.spinkit.skDoubleBounce),u.xp6(1),u.Q6J("ngIf",l.spinner===l.spinkit.skRotatingPlane),u.xp6(1),u.Q6J("ngIf",l.spinner===l.spinkit.skSpinnerPulse),u.xp6(1),u.Q6J("ngIf",l.spinner===l.spinkit.skThreeBounce),u.xp6(1),u.Q6J("ngIf",l.spinner===l.spinkit.skWanderingCubes),u.xp6(1),u.Q6J("ngIf",l.spinner===l.spinkit.skWave)}}let qr=(()=>{var p;class i{}return(p=i).\u0275fac=function(f){return new(f||p)},p.\u0275dir=u.lG2({type:p,inputs:{backgroundColor:"backgroundColor"}}),i})(),So=(()=>{var p;class i extends qr{}return(p=i).\u0275fac=function(){let l;return function(D){return(l||(l=u.n5z(p)))(D||p)}}(),p.\u0275cmp=u.Xpm({type:p,selectors:[["sk-chasing-dots"]],features:[u.qOj],decls:3,vars:6,consts:[[1,"sk-chasing-dots"],[1,"sk-child","sk-dot1"],[1,"sk-child","sk-dot2"]],template:function(f,D){1&f&&(u.TgZ(0,"div",0),u._UZ(1,"div",1)(2,"div",2),u.qZA()),2&f&&(u.ekj("colored",!D.backgroundColor),u.xp6(1),u.Udp("background-color",D.backgroundColor),u.xp6(1),u.Udp("background-color",D.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)}}"]}),i})(),Pi=(()=>{var p;class i extends qr{}return(p=i).\u0275fac=function(){let l;return function(D){return(l||(l=u.n5z(p)))(D||p)}}(),p.\u0275cmp=u.Xpm({type:p,selectors:[["sk-cube-grid"]],features:[u.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(f,D){1&f&&(u.TgZ(0,"div",0),u._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),u.qZA()),2&f&&(u.ekj("colored",!D.backgroundColor),u.xp6(1),u.Udp("background-color",D.backgroundColor),u.xp6(1),u.Udp("background-color",D.backgroundColor),u.xp6(1),u.Udp("background-color",D.backgroundColor),u.xp6(1),u.Udp("background-color",D.backgroundColor),u.xp6(1),u.Udp("background-color",D.backgroundColor),u.xp6(1),u.Udp("background-color",D.backgroundColor),u.xp6(1),u.Udp("background-color",D.backgroundColor),u.xp6(1),u.Udp("background-color",D.backgroundColor),u.xp6(1),u.Udp("background-color",D.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)}}"]}),i})(),Vr=(()=>{var p;class i extends qr{}return(p=i).\u0275fac=function(){let l;return function(D){return(l||(l=u.n5z(p)))(D||p)}}(),p.\u0275cmp=u.Xpm({type:p,selectors:[["sk-double-bounce"]],features:[u.qOj],decls:3,vars:6,consts:[[1,"sk-double-bounce"],[1,"sk-child","sk-double-bounce1"],[1,"sk-child","sk-double-bounce2"]],template:function(f,D){1&f&&(u.TgZ(0,"div",0),u._UZ(1,"div",1)(2,"div",2),u.qZA()),2&f&&(u.ekj("colored",!D.backgroundColor),u.xp6(1),u.Udp("background-color",D.backgroundColor),u.xp6(1),u.Udp("background-color",D.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)}}"]}),i})(),cr=(()=>{var p;class i extends qr{}return(p=i).\u0275fac=function(){let l;return function(D){return(l||(l=u.n5z(p)))(D||p)}}(),p.\u0275cmp=u.Xpm({type:p,selectors:[["sk-rotating-plane"]],features:[u.qOj],decls:1,vars:2,consts:[[1,"sk-rotating-plane","colored-parent"]],template:function(f,D){1&f&&u._UZ(0,"div",0),2&f&&u.Udp("background-color",D.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)}}"]}),i})(),vo=(()=>{var p;class i extends qr{}return(p=i).\u0275fac=function(){let l;return function(D){return(l||(l=u.n5z(p)))(D||p)}}(),p.\u0275cmp=u.Xpm({type:p,selectors:[["sk-spinner-pulse"]],features:[u.qOj],decls:1,vars:2,consts:[[1,"sk-spinner","sk-spinner-pulse","colored-parent"]],template:function(f,D){1&f&&u._UZ(0,"div",0),2&f&&u.Udp("background-color",D.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}}"]}),i})(),jr=(()=>{var p;class i extends qr{}return(p=i).\u0275fac=function(){let l;return function(D){return(l||(l=u.n5z(p)))(D||p)}}(),p.\u0275cmp=u.Xpm({type:p,selectors:[["sk-three-bounce"]],features:[u.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(f,D){1&f&&(u.TgZ(0,"div",0),u._UZ(1,"div",1)(2,"div",2)(3,"div",3),u.qZA()),2&f&&(u.ekj("colored",!D.backgroundColor),u.xp6(1),u.Udp("background-color",D.backgroundColor),u.xp6(1),u.Udp("background-color",D.backgroundColor),u.xp6(1),u.Udp("background-color",D.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)}}"]}),i})(),es=(()=>{var p;class i extends qr{}return(p=i).\u0275fac=function(){let l;return function(D){return(l||(l=u.n5z(p)))(D||p)}}(),p.\u0275cmp=u.Xpm({type:p,selectors:[["sk-wandering-cubes"]],features:[u.qOj],decls:3,vars:6,consts:[[1,"sk-wandering-cubes"],[1,"sk-cube","sk-cube1"],[1,"sk-cube","sk-cube2"]],template:function(f,D){1&f&&(u.TgZ(0,"div",0),u._UZ(1,"div",1)(2,"div",2),u.qZA()),2&f&&(u.ekj("colored",!D.backgroundColor),u.xp6(1),u.Udp("background-color",D.backgroundColor),u.xp6(1),u.Udp("background-color",D.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)}}"]}),i})(),di=(()=>{var p;class i extends qr{}return(p=i).\u0275fac=function(){let l;return function(D){return(l||(l=u.n5z(p)))(D||p)}}(),p.\u0275cmp=u.Xpm({type:p,selectors:[["sk-wave"]],features:[u.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(f,D){1&f&&(u.TgZ(0,"div",0),u._UZ(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5),u.qZA()),2&f&&(u.ekj("colored",!D.backgroundColor),u.xp6(1),u.Udp("background-color",D.backgroundColor),u.xp6(1),u.Udp("background-color",D.backgroundColor),u.xp6(1),u.Udp("background-color",D.backgroundColor),u.xp6(1),u.Udp("background-color",D.backgroundColor),u.xp6(1),u.Udp("background-color",D.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)}}"]}),i})();const fi={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 ts=(()=>{var p;class i{constructor(){this._pendingRequests=0,this._pendingRequestsStatus$=new As.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(f){this._filteredMethods=f}set filteredHeaders(f){this._filteredHeaders=f}set forceByPass(f){this._forceByPass=f}shouldBypassUrl(f){return this._filteredUrlPatterns.some(D=>D.test(f))}shouldBypassMethod(f){return this._filteredMethods.some(D=>D.toUpperCase()===f.method.toUpperCase())}shouldBypassHeader(f){return this._filteredHeaders.some(D=>f.headers.has(D))}shouldBypass(f){return this._forceByPass||this.shouldBypassUrl(f.urlWithParams)||this.shouldBypassMethod(f)||this.shouldBypassHeader(f)}intercept(f,D){const R=this.shouldBypass(f);return R||(this._pendingRequests++,1===this._pendingRequests&&this._pendingRequestsStatus$.next(!0)),D.handle(f).pipe((0,ci.x)(()=>{R||(this._pendingRequests--,0===this._pendingRequests&&this._pendingRequestsStatus$.next(!1))}))}}return(p=i).\u0275fac=function(f){return new(f||p)},p.\u0275prov=u.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),i})();const Ks=[{provide:rt.TP,useExisting:ts,multi:!0}];let hi=(()=>{var p;class i{constructor(f){this.pendingRequestsInterceptor=f,this._visibility$=new As.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(p=i).\u0275fac=function(f){return new(f||p)(u.LFG(ts))},p.\u0275prov=u.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),i})(),hr=(()=>{var p;class i{constructor(f,D){this.pendingRequestsInterceptor=f,this.spinnerVisibility=D,this.spinkit=fi,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=fi.skWave}ngOnInit(){this.initIsvisibleObservable(),this.nullifySpinnerIfEntryComponentIsDefined(),this.initFilters()}initIsvisibleObservable(){const[f,D]=function li(p,i,l){return[(0,It.h)(i,l)((0,Xo.Xf)(p)),(0,It.h)(ai(i,l))((0,Xo.Xf)(p))]}(this.pendingRequestsInterceptor.pendingRequestsStatus$,R=>R);this.isVisible$=(0,De.T)(this.pendingRequestsInterceptor.pendingRequestsStatus$.pipe((0,Te.w)(()=>f.pipe(O(()=>(0,Zs.H)(this.debounceDelay))))),f.pipe((0,Te.w)(()=>D.pipe(O(()=>this.getVisibilityTimer$())))),this.spinnerVisibility.visibility$).pipe((0,H.x)(),(0,Ye.b)(R=>this.updateExpirationDelay(R)))}nullifySpinnerIfEntryComponentIsDefined(){this.entryComponent&&(this.spinner=null)}initFilters(){this.initFilteredUrlPatterns(),this.initFilteredMethods(),this.initFilteredHeaders()}initFilteredUrlPatterns(){this.filteredUrlPatterns.length&&this.filteredUrlPatterns.forEach(f=>this.pendingRequestsInterceptor.filteredUrlPatterns.push(new RegExp(f)))}initFilteredMethods(){this.pendingRequestsInterceptor.filteredMethods=this.filteredMethods}initFilteredHeaders(){this.pendingRequestsInterceptor.filteredHeaders=this.filteredHeaders}updateExpirationDelay(f){f&&(this.visibleUntil=Date.now()+this.minDuration)}getVisibilityTimer$(){return(0,Zs.H)(Math.max(this.extraDuration,this.visibleUntil-Date.now()))}}return(p=i).\u0275fac=function(f){return new(f||p)(u.Y36(ts),u.Y36(hi))},p.\u0275cmp=u.Xpm({type:p,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(f,D){1&f&&(u.YNc(0,Oi,10,16,"div",0),u.ALo(1,"async")),2&f&&u.Q6J("ngIf",u.lcZ(1,1,D.isVisible$))},dependencies:[pn.$G,pn.O5,pn.PC,Pi,So,Vr,cr,vo,jr,es,di,pn.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}"]}),i})(),pa=(()=>{var p;class i{static forRoot(){return{ngModule:i,providers:[Ks]}}}return(p=i).\u0275fac=function(f){return new(f||p)},p.\u0275mod=u.oAB({type:p}),p.\u0275inj=u.cJS({imports:[pn.ez]}),i})();var Ni=I(4201),zt=I(6825);function Os(p){return new u.vHH(3e3,!1)}function Gr(p){switch(p.length){case 0:return new zt.ZN;case 1:return p[0];default:return new zt.ZE(p)}}function ur(p,i,l=new Map,f=new Map){const D=[],R=[];let q=-1,X=null;if(i.forEach(ue=>{const Be=ue.get("offset"),yt=Be==q,at=yt&&X||new Map;ue.forEach((hn,an)=>{let Ot=an,Bt=hn;if("offset"!==an)switch(Ot=p.normalizePropertyName(Ot,D),Bt){case zt.k1:Bt=l.get(an);break;case zt.l3:Bt=f.get(an);break;default:Bt=p.normalizeStyleValue(an,Ot,Bt,D)}at.set(Ot,Bt)}),yt||R.push(at),X=at,q=Be}),D.length)throw function it(p){return new u.vHH(3502,!1)}();return R}function In(p,i,l,f){switch(i){case"start":p.onStart(()=>f(l&&qs(l,"start",p)));break;case"done":p.onDone(()=>f(l&&qs(l,"done",p)));break;case"destroy":p.onDestroy(()=>f(l&&qs(l,"destroy",p)))}}function qs(p,i,l){const R=rs(p.element,p.triggerName,p.fromState,p.toState,i||p.phaseName,l.totalTime??p.totalTime,!!l.disabled),q=p._data;return null!=q&&(R._data=q),R}function rs(p,i,l,f,D="",R=0,q){return{element:p,triggerName:i,fromState:l,toState:f,phaseName:D,totalTime:R,disabled:!!q}}function Bn(p,i,l){let f=p.get(i);return f||p.set(i,f=l),f}function Ba(p){const i=p.indexOf(":");return[p.substring(1,i),p.slice(i+1)]}const _a=(()=>typeof document>"u"?null:document.documentElement)();function Ps(p){const i=p.parentNode||p.host||null;return i===_a?null:i}let Qs=null,vi=!1;function Ao(p,i){for(;i;){if(i===p)return!0;i=Ps(i)}return!1}function Ua(p,i,l){if(l)return Array.from(p.querySelectorAll(i));const f=p.querySelector(i);return f?[f]:[]}let Vi=(()=>{var p;class i{validateStyleProperty(f){return function Va(p){Qs||(Qs=function ja(){return typeof document<"u"?document.body:null}()||{},vi=!!Qs.style&&"WebkitAppearance"in Qs.style);let i=!0;return Qs.style&&!function fo(p){return"ebkit"==p.substring(1,6)}(p)&&(i=p in Qs.style,!i&&vi&&(i="Webkit"+p.charAt(0).toUpperCase()+p.slice(1)in Qs.style)),i}(f)}matchesElement(f,D){return!1}containsElement(f,D){return Ao(f,D)}getParentElement(f){return Ps(f)}query(f,D,R){return Ua(f,D,R)}computeStyle(f,D,R){return R||""}animate(f,D,R,q,X,ue=[],Be){return new zt.ZN(R,q)}}return(p=i).\u0275fac=function(f){return new(f||p)},p.\u0275prov=u.Yz7({token:p,factory:p.\u0275fac}),i})(),Ha=(()=>{class i{}return i.NOOP=new Vi,i})();const Nt=1e3,ji="ng-enter",gr="ng-leave",ya="ng-trigger",Mr=".ng-trigger",Js="ng-animating",va=".ng-animating";function Rs(p){if("number"==typeof p)return p;const i=p.match(/^(-?[\.\d]+)(m?s)/);return!i||i.length<2?0:za(parseFloat(i[1]),i[2])}function za(p,i){return"s"===i?p*Nt:p}function na(p,i,l){return p.hasOwnProperty("duration")?p:function Nl(p,i,l){let D,R=0,q="";if("string"==typeof p){const X=p.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===X)return i.push(Os()),{duration:0,delay:0,easing:""};D=za(parseFloat(X[1]),X[2]);const ue=X[3];null!=ue&&(R=za(parseFloat(ue),X[4]));const Be=X[5];Be&&(q=Be)}else D=p;if(!l){let X=!1,ue=i.length;D<0&&(i.push(function ns(){return new u.vHH(3100,!1)}()),X=!0),R<0&&(i.push(function xi(){return new u.vHH(3101,!1)}()),X=!0),X&&i.splice(ue,0,Os())}return{duration:D,delay:R,easing:q}}(p,i,l)}function qe(p,i={}){return Object.keys(p).forEach(l=>{i[l]=p[l]}),i}function mn(p){const i=new Map;return Object.keys(p).forEach(l=>{i.set(l,p[l])}),i}function Qn(p,i=new Map,l){if(l)for(let[f,D]of l)i.set(f,D);for(let[f,D]of p)i.set(f,D);return i}function Ho(p,i,l){i.forEach((f,D)=>{const R=Oo(D);l&&!l.has(D)&&l.set(D,p.style[R]),p.style[R]=f})}function $o(p,i){i.forEach((l,f)=>{const D=Oo(f);p.style[D]=""})}function ho(p){return Array.isArray(p)?1==p.length?p[0]:(0,zt.vP)(p):p}const Xs=new RegExp("{{\\s*(.+?)\\s*}}","g");function Ga(p){let i=[];if("string"==typeof p){let l;for(;l=Xs.exec(p);)i.push(l[1]);Xs.lastIndex=0}return i}function Ca(p,i,l){const f=p.toString(),D=f.replace(Xs,(R,q)=>{let X=i[q];return null==X&&(l.push(function Ys(p){return new u.vHH(3003,!1)}()),X=""),X.toString()});return D==f?p:D}function Di(p){const i=[];let l=p.next();for(;!l.done;)i.push(l.value),l=p.next();return i}const po=/-+([a-z0-9])/g;function Oo(p){return p.replace(po,(...i)=>i[1].toUpperCase())}function _(p,i,l){switch(i.type){case 7:return p.visitTrigger(i,l);case 0:return p.visitState(i,l);case 1:return p.visitTransition(i,l);case 2:return p.visitSequence(i,l);case 3:return p.visitGroup(i,l);case 4:return p.visitAnimate(i,l);case 5:return p.visitKeyframes(i,l);case 6:return p.visitStyle(i,l);case 8:return p.visitReference(i,l);case 9:return p.visitAnimateChild(i,l);case 10:return p.visitAnimateRef(i,l);case 11:return p.visitQuery(i,l);case 12:return p.visitStagger(i,l);default:throw function ki(p){return new u.vHH(3004,!1)}()}}function C(p,i){return window.getComputedStyle(p)[i]}const Fe="*";function wt(p,i){const l=[];return"string"==typeof p?p.split(/\s*,\s*/).forEach(f=>function Ht(p,i,l){if(":"==p[0]){const ue=function Tr(p,i){switch(p){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(l,f)=>parseFloat(f)>parseFloat(l);case":decrement":return(l,f)=>parseFloat(f)<parseFloat(l);default:return i.push(function b(p){return new u.vHH(3016,!1)}()),"* => *"}}(p,l);if("function"==typeof ue)return void i.push(ue);p=ue}const f=p.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==f||f.length<4)return l.push(function Y(p){return new u.vHH(3015,!1)}()),i;const D=f[1],R=f[2],q=f[3];i.push(hs(D,q));"<"==R[0]&&!(D==Fe&&q==Fe)&&i.push(hs(q,D))}(f,l,i)):l.push(p),l}const fn=new Set(["true","1"]),eo=new Set(["false","0"]);function hs(p,i){const l=fn.has(p)||eo.has(p),f=fn.has(i)||eo.has(i);return(D,R)=>{let q=p==Fe||p==D,X=i==Fe||i==R;return!q&&l&&"boolean"==typeof D&&(q=D?fn.has(p):eo.has(p)),!X&&f&&"boolean"==typeof R&&(X=R?fn.has(i):eo.has(i)),q&&X}}const ti=new RegExp("s*:selfs*,?","g");function oa(p,i,l,f){return new ni(p).build(i,l,f)}class ni{constructor(i){this._driver=i}build(i,l,f){const D=new Ec(l);return this._resetContextStyleTimingState(D),_(this,ho(i),D)}_resetContextStyleTimingState(i){i.currentQuerySelector="",i.collectedStyles=new Map,i.collectedStyles.set("",new Map),i.currentTime=0}visitTrigger(i,l){let f=l.queryCount=0,D=l.depCount=0;const R=[],q=[];return"@"==i.name.charAt(0)&&l.errors.push(function ul(){return new u.vHH(3006,!1)}()),i.definitions.forEach(X=>{if(this._resetContextStyleTimingState(l),0==X.type){const ue=X,Be=ue.name;Be.toString().split(/\s*,\s*/).forEach(yt=>{ue.name=yt,R.push(this.visitState(ue,l))}),ue.name=Be}else if(1==X.type){const ue=this.visitTransition(X,l);f+=ue.queryCount,D+=ue.depCount,q.push(ue)}else l.errors.push(function Fi(){return new u.vHH(3007,!1)}())}),{type:7,name:i.name,states:R,transitions:q,queryCount:f,depCount:D,options:null}}visitState(i,l){const f=this.visitStyle(i.styles,l),D=i.options&&i.options.params||null;if(f.containsDynamicStyles){const R=new Set,q=D||{};f.styles.forEach(X=>{X instanceof Map&&X.forEach(ue=>{Ga(ue).forEach(Be=>{q.hasOwnProperty(Be)||R.add(Be)})})}),R.size&&(Di(R.values()),l.errors.push(function Li(p,i){return new u.vHH(3008,!1)}()))}return{type:0,name:i.name,style:f,options:D?{params:D}:null}}visitTransition(i,l){l.queryCount=0,l.depCount=0;const f=_(this,ho(i.animation),l);return{type:1,matchers:wt(i.expr,l.errors),animation:f,queryCount:l.queryCount,depCount:l.depCount,options:ri(i.options)}}visitSequence(i,l){return{type:2,steps:i.steps.map(f=>_(this,f,l)),options:ri(i.options)}}visitGroup(i,l){const f=l.currentTime;let D=0;const R=i.steps.map(q=>{l.currentTime=f;const X=_(this,q,l);return D=Math.max(D,l.currentTime),X});return l.currentTime=D,{type:3,steps:R,options:ri(i.options)}}visitAnimate(i,l){const f=function xl(p,i){if(p.hasOwnProperty("duration"))return p;if("number"==typeof p)return Ui(na(p,i).duration,0,"");const l=p;if(l.split(/\s+/).some(R=>"{"==R.charAt(0)&&"{"==R.charAt(1))){const R=Ui(0,0,"");return R.dynamic=!0,R.strValue=l,R}const D=na(l,i);return Ui(D.duration,D.delay,D.easing)}(i.timings,l.errors);l.currentAnimateTimings=f;let D,R=i.styles?i.styles:(0,zt.oB)({});if(5==R.type)D=this.visitKeyframes(R,l);else{let q=i.styles,X=!1;if(!q){X=!0;const Be={};f.easing&&(Be.easing=f.easing),q=(0,zt.oB)(Be)}l.currentTime+=f.duration+f.delay;const ue=this.visitStyle(q,l);ue.isEmptyStep=X,D=ue}return l.currentAnimateTimings=null,{type:4,timings:f,style:D,options:null}}visitStyle(i,l){const f=this._makeStyleAst(i,l);return this._validateStyleAst(f,l),f}_makeStyleAst(i,l){const f=[],D=Array.isArray(i.styles)?i.styles:[i.styles];for(let X of D)"string"==typeof X?X===zt.l3?f.push(X):l.errors.push(new u.vHH(3002,!1)):f.push(mn(X));let R=!1,q=null;return f.forEach(X=>{if(X instanceof Map&&(X.has("easing")&&(q=X.get("easing"),X.delete("easing")),!R))for(let ue of X.values())if(ue.toString().indexOf("{{")>=0){R=!0;break}}),{type:6,styles:f,easing:q,offset:i.offset,containsDynamicStyles:R,options:null}}_validateStyleAst(i,l){const f=l.currentAnimateTimings;let D=l.currentTime,R=l.currentTime;f&&R>0&&(R-=f.duration+f.delay),i.styles.forEach(q=>{"string"!=typeof q&&q.forEach((X,ue)=>{const Be=l.collectedStyles.get(l.currentQuerySelector),yt=Be.get(ue);let at=!0;yt&&(R!=D&&R>=yt.startTime&&D<=yt.endTime&&(l.errors.push(function mi(p,i,l,f,D){return new u.vHH(3010,!1)}()),at=!1),R=yt.startTime),at&&Be.set(ue,{startTime:R,endTime:D}),l.options&&function Ea(p,i,l){const f=i.params||{},D=Ga(p);D.length&&D.forEach(R=>{f.hasOwnProperty(R)||l.push(function ea(p){return new u.vHH(3001,!1)}())})}(X,l.options,l.errors)})})}visitKeyframes(i,l){const f={type:5,styles:[],options:null};if(!l.currentAnimateTimings)return l.errors.push(function ga(){return new u.vHH(3011,!1)}()),f;let R=0;const q=[];let X=!1,ue=!1,Be=0;const yt=i.steps.map(nr=>{const Fr=this._makeStyleAst(nr,l);let ro=null!=Fr.offset?Fr.offset:function ps(p){if("string"==typeof p)return null;let i=null;if(Array.isArray(p))p.forEach(l=>{if(l instanceof Map&&l.has("offset")){const f=l;i=parseFloat(f.get("offset")),f.delete("offset")}});else if(p instanceof Map&&p.has("offset")){const l=p;i=parseFloat(l.get("offset")),l.delete("offset")}return i}(Fr.styles),Dn=0;return null!=ro&&(R++,Dn=Fr.offset=ro),ue=ue||Dn<0||Dn>1,X=X||Dn<Be,Be=Dn,q.push(Dn),Fr});ue&&l.errors.push(function ma(){return new u.vHH(3012,!1)}()),X&&l.errors.push(function _i(){return new u.vHH(3200,!1)}());const at=i.steps.length;let hn=0;R>0&&R<at?l.errors.push(function yi(){return new u.vHH(3202,!1)}()):0==R&&(hn=1/(at-1));const an=at-1,Ot=l.currentTime,Bt=l.currentAnimateTimings,$n=Bt.duration;return yt.forEach((nr,Fr)=>{const ro=hn>0?Fr==an?1:hn*Fr:q[Fr],Dn=ro*$n;l.currentTime=Ot+Bt.delay+Dn,Bt.duration=Dn,this._validateStyleAst(nr,l),nr.offset=ro,f.styles.push(nr)}),f}visitReference(i,l){return{type:8,animation:_(this,ho(i.animation),l),options:ri(i.options)}}visitAnimateChild(i,l){return l.depCount++,{type:9,options:ri(i.options)}}visitAnimateRef(i,l){return{type:10,animation:this.visitReference(i.animation,l),options:ri(i.options)}}visitQuery(i,l){const f=l.currentQuerySelector,D=i.options||{};l.queryCount++,l.currentQuery=i;const[R,q]=function mr(p){const i=!!p.split(/\s*,\s*/).find(l=>":self"==l);return i&&(p=p.replace(ti,"")),p=p.replace(/@\*/g,Mr).replace(/@\w+/g,l=>Mr+"-"+l.slice(1)).replace(/:animating/g,va),[p,i]}(i.selector);l.currentQuerySelector=f.length?f+" "+R:R,Bn(l.collectedStyles,l.currentQuerySelector,new Map);const X=_(this,ho(i.animation),l);return l.currentQuery=null,l.currentQuerySelector=f,{type:11,selector:R,limit:D.limit||0,optional:!!D.optional,includeSelf:q,animation:X,originalSelector:i.selector,options:ri(i.options)}}visitStagger(i,l){l.currentQuery||l.errors.push(function g(){return new u.vHH(3013,!1)}());const f="full"===i.timings?{duration:0,delay:0,easing:"full"}:na(i.timings,l.errors,!0);return{type:12,animation:_(this,ho(i.animation),l),timings:f,options:null}}}class Ec{constructor(i){this.errors=i,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 ri(p){return p?(p=qe(p)).params&&(p.params=function Wa(p){return p?qe(p):null}(p.params)):p={},p}function Ui(p,i,l){return{duration:p,delay:i,easing:l}}function Hi(p,i,l,f,D,R,q=null,X=!1){return{type:1,element:p,keyframes:i,preStyleProps:l,postStyleProps:f,duration:D,delay:R,totalTime:D+R,easing:q,subTimeline:X}}class os{constructor(){this._map=new Map}get(i){return this._map.get(i)||[]}append(i,l){let f=this._map.get(i);f||this._map.set(i,f=[]),f.push(...l)}has(i){return this._map.has(i)}clear(){this._map.clear()}}const hl=new RegExp(":enter","g"),pl=new RegExp(":leave","g");function gl(p,i,l,f,D,R=new Map,q=new Map,X,ue,Be=[]){return(new kl).buildKeyframes(p,i,l,f,D,R,q,X,ue,Be)}class kl{buildKeyframes(i,l,f,D,R,q,X,ue,Be,yt=[]){Be=Be||new os;const at=new ks(i,l,Be,D,R,yt,[]);at.options=ue;const hn=ue.delay?Rs(ue.delay):0;at.currentTimeline.delayNextStep(hn),at.currentTimeline.setStyles([q],null,at.errors,ue),_(this,f,at);const an=at.timelines.filter(Ot=>Ot.containsAnimation());if(an.length&&X.size){let Ot;for(let Bt=an.length-1;Bt>=0;Bt--){const $n=an[Bt];if($n.element===l){Ot=$n;break}}Ot&&!Ot.allowOnlyTimelineStyles()&&Ot.setStyles([X],null,at.errors,ue)}return an.length?an.map(Ot=>Ot.buildKeyframes()):[Hi(l,[],[],[],0,hn,"",!1)]}visitTrigger(i,l){}visitState(i,l){}visitTransition(i,l){}visitAnimateChild(i,l){const f=l.subInstructions.get(l.element);if(f){const D=l.createSubContext(i.options),R=l.currentTimeline.currentTime,q=this._visitSubInstructions(f,D,D.options);R!=q&&l.transformIntoNewTimeline(q)}l.previousNode=i}visitAnimateRef(i,l){const f=l.createSubContext(i.options);f.transformIntoNewTimeline(),this._applyAnimationRefDelays([i.options,i.animation.options],l,f),this.visitReference(i.animation,f),l.transformIntoNewTimeline(f.currentTimeline.currentTime),l.previousNode=i}_applyAnimationRefDelays(i,l,f){for(const D of i){const R=D?.delay;if(R){const q="number"==typeof R?R:Rs(Ca(R,D?.params??{},l.errors));f.delayNextStep(q)}}}_visitSubInstructions(i,l,f){let R=l.currentTimeline.currentTime;const q=null!=f.duration?Rs(f.duration):null,X=null!=f.delay?Rs(f.delay):null;return 0!==q&&i.forEach(ue=>{const Be=l.appendInstructionToTimeline(ue,q,X);R=Math.max(R,Be.duration+Be.delay)}),R}visitReference(i,l){l.updateOptions(i.options,!0),_(this,i.animation,l),l.previousNode=i}visitSequence(i,l){const f=l.subContextCount;let D=l;const R=i.options;if(R&&(R.params||R.delay)&&(D=l.createSubContext(R),D.transformIntoNewTimeline(),null!=R.delay)){6==D.previousNode.type&&(D.currentTimeline.snapshotCurrentStyles(),D.previousNode=Ka);const q=Rs(R.delay);D.delayNextStep(q)}i.steps.length&&(i.steps.forEach(q=>_(this,q,D)),D.currentTimeline.applyStylesToKeyframe(),D.subContextCount>f&&D.transformIntoNewTimeline()),l.previousNode=i}visitGroup(i,l){const f=[];let D=l.currentTimeline.currentTime;const R=i.options&&i.options.delay?Rs(i.options.delay):0;i.steps.forEach(q=>{const X=l.createSubContext(i.options);R&&X.delayNextStep(R),_(this,q,X),D=Math.max(D,X.currentTimeline.currentTime),f.push(X.currentTimeline)}),f.forEach(q=>l.currentTimeline.mergeTimelineCollectedStyles(q)),l.transformIntoNewTimeline(D),l.previousNode=i}_visitTiming(i,l){if(i.dynamic){const f=i.strValue;return na(l.params?Ca(f,l.params,l.errors):f,l.errors)}return{duration:i.duration,delay:i.delay,easing:i.easing}}visitAnimate(i,l){const f=l.currentAnimateTimings=this._visitTiming(i.timings,l),D=l.currentTimeline;f.delay&&(l.incrementTime(f.delay),D.snapshotCurrentStyles());const R=i.style;5==R.type?this.visitKeyframes(R,l):(l.incrementTime(f.duration),this.visitStyle(R,l),D.applyStylesToKeyframe()),l.currentAnimateTimings=null,l.previousNode=i}visitStyle(i,l){const f=l.currentTimeline,D=l.currentAnimateTimings;!D&&f.hasCurrentStyleProperties()&&f.forwardFrame();const R=D&&D.easing||i.easing;i.isEmptyStep?f.applyEmptyStep(R):f.setStyles(i.styles,R,l.errors,l.options),l.previousNode=i}visitKeyframes(i,l){const f=l.currentAnimateTimings,D=l.currentTimeline.duration,R=f.duration,X=l.createSubContext().currentTimeline;X.easing=f.easing,i.styles.forEach(ue=>{X.forwardTime((ue.offset||0)*R),X.setStyles(ue.styles,ue.easing,l.errors,l.options),X.applyStylesToKeyframe()}),l.currentTimeline.mergeTimelineCollectedStyles(X),l.transformIntoNewTimeline(D+R),l.previousNode=i}visitQuery(i,l){const f=l.currentTimeline.currentTime,D=i.options||{},R=D.delay?Rs(D.delay):0;R&&(6===l.previousNode.type||0==f&&l.currentTimeline.hasCurrentStyleProperties())&&(l.currentTimeline.snapshotCurrentStyles(),l.previousNode=Ka);let q=f;const X=l.invokeQuery(i.selector,i.originalSelector,i.limit,i.includeSelf,!!D.optional,l.errors);l.currentQueryTotal=X.length;let ue=null;X.forEach((Be,yt)=>{l.currentQueryIndex=yt;const at=l.createSubContext(i.options,Be);R&&at.delayNextStep(R),Be===l.element&&(ue=at.currentTimeline),_(this,i.animation,at),at.currentTimeline.applyStylesToKeyframe(),q=Math.max(q,at.currentTimeline.currentTime)}),l.currentQueryIndex=0,l.currentQueryTotal=0,l.transformIntoNewTimeline(q),ue&&(l.currentTimeline.mergeTimelineCollectedStyles(ue),l.currentTimeline.snapshotCurrentStyles()),l.previousNode=i}visitStagger(i,l){const f=l.parentContext,D=l.currentTimeline,R=i.timings,q=Math.abs(R.duration),X=q*(l.currentQueryTotal-1);let ue=q*l.currentQueryIndex;switch(R.duration<0?"reverse":R.easing){case"reverse":ue=X-ue;break;case"full":ue=f.currentStaggerTime}const yt=l.currentTimeline;ue&&yt.delayNextStep(ue);const at=yt.currentTime;_(this,i.animation,l),l.previousNode=i,f.currentStaggerTime=D.currentTime-at+(D.startTime-f.currentTimeline.startTime)}}const Ka={};class ks{constructor(i,l,f,D,R,q,X,ue){this._driver=i,this.element=l,this.subInstructions=f,this._enterClassName=D,this._leaveClassName=R,this.errors=q,this.timelines=X,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Ka,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=ue||new $i(this._driver,l,0),X.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(i,l){if(!i)return;const f=i;let D=this.options;null!=f.duration&&(D.duration=Rs(f.duration)),null!=f.delay&&(D.delay=Rs(f.delay));const R=f.params;if(R){let q=D.params;q||(q=this.options.params={}),Object.keys(R).forEach(X=>{(!l||!q.hasOwnProperty(X))&&(q[X]=Ca(R[X],q,this.errors))})}}_copyOptions(){const i={};if(this.options){const l=this.options.params;if(l){const f=i.params={};Object.keys(l).forEach(D=>{f[D]=l[D]})}}return i}createSubContext(i=null,l,f){const D=l||this.element,R=new ks(this._driver,D,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(D,f||0));return R.previousNode=this.previousNode,R.currentAnimateTimings=this.currentAnimateTimings,R.options=this._copyOptions(),R.updateOptions(i),R.currentQueryIndex=this.currentQueryIndex,R.currentQueryTotal=this.currentQueryTotal,R.parentContext=this,this.subContextCount++,R}transformIntoNewTimeline(i){return this.previousNode=Ka,this.currentTimeline=this.currentTimeline.fork(this.element,i),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(i,l,f){const D={duration:l??i.duration,delay:this.currentTimeline.currentTime+(f??0)+i.delay,easing:""},R=new lu(this._driver,i.element,i.keyframes,i.preStyleProps,i.postStyleProps,D,i.stretchStartingKeyframe);return this.timelines.push(R),D}incrementTime(i){this.currentTimeline.forwardTime(this.currentTimeline.duration+i)}delayNextStep(i){i>0&&this.currentTimeline.delayNextStep(i)}invokeQuery(i,l,f,D,R,q){let X=[];if(D&&X.push(this.element),i.length>0){i=(i=i.replace(hl,"."+this._enterClassName)).replace(pl,"."+this._leaveClassName);let Be=this._driver.query(this.element,i,1!=f);0!==f&&(Be=f<0?Be.slice(Be.length+f,Be.length):Be.slice(0,f)),X.push(...Be)}return!R&&0==X.length&&q.push(function T(p){return new u.vHH(3014,!1)}()),X}}class $i{constructor(i,l,f,D){this._driver=i,this.element=l,this.startTime=f,this._elementTimelineStylesLookup=D,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(l),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(l,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(i){const l=1===this._keyframes.size&&this._pendingStyles.size;this.duration||l?(this.forwardTime(this.currentTime+i),l&&this.snapshotCurrentStyles()):this.startTime+=i}fork(i,l){return this.applyStylesToKeyframe(),new $i(this._driver,i,l||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(i){this.applyStylesToKeyframe(),this.duration=i,this._loadKeyframe()}_updateStyle(i,l){this._localTimelineStyles.set(i,l),this._globalTimelineStyles.set(i,l),this._styleSummary.set(i,{time:this.currentTime,value:l})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(i){i&&this._previousKeyframe.set("easing",i);for(let[l,f]of this._globalTimelineStyles)this._backFill.set(l,f||zt.l3),this._currentKeyframe.set(l,zt.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(i,l,f,D){l&&this._previousKeyframe.set("easing",l);const R=D&&D.params||{},q=function Fl(p,i){const l=new Map;let f;return p.forEach(D=>{if("*"===D){f=f||i.keys();for(let R of f)l.set(R,zt.l3)}else Qn(D,l)}),l}(i,this._globalTimelineStyles);for(let[X,ue]of q){const Be=Ca(ue,R,f);this._pendingStyles.set(X,Be),this._localTimelineStyles.has(X)||this._backFill.set(X,this._globalTimelineStyles.get(X)??zt.l3),this._updateStyle(X,Be)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((i,l)=>{this._currentKeyframe.set(l,i)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((i,l)=>{this._currentKeyframe.has(l)||this._currentKeyframe.set(l,i)}))}snapshotCurrentStyles(){for(let[i,l]of this._localTimelineStyles)this._pendingStyles.set(i,l),this._updateStyle(i,l)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const i=[];for(let l in this._currentKeyframe)i.push(l);return i}mergeTimelineCollectedStyles(i){i._styleSummary.forEach((l,f)=>{const D=this._styleSummary.get(f);(!D||l.time>D.time)&&this._updateStyle(f,l.value)})}buildKeyframes(){this.applyStylesToKeyframe();const i=new Set,l=new Set,f=1===this._keyframes.size&&0===this.duration;let D=[];this._keyframes.forEach((X,ue)=>{const Be=Qn(X,new Map,this._backFill);Be.forEach((yt,at)=>{yt===zt.k1?i.add(at):yt===zt.l3&&l.add(at)}),f||Be.set("offset",ue/this.duration),D.push(Be)});const R=i.size?Di(i.values()):[],q=l.size?Di(l.values()):[];if(f){const X=D[0],ue=new Map(X);X.set("offset",0),ue.set("offset",1),D=[X,ue]}return Hi(this.element,D,R,q,this.duration,this.startTime,this.easing,!1)}}class lu extends $i{constructor(i,l,f,D,R,q,X=!1){super(i,l,q.delay),this.keyframes=f,this.preStyleProps=D,this.postStyleProps=R,this._stretchStartingKeyframe=X,this.timings={duration:q.duration,delay:q.delay,easing:q.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let i=this.keyframes,{delay:l,duration:f,easing:D}=this.timings;if(this._stretchStartingKeyframe&&l){const R=[],q=f+l,X=l/q,ue=Qn(i[0]);ue.set("offset",0),R.push(ue);const Be=Qn(i[0]);Be.set("offset",ml(X)),R.push(Be);const yt=i.length-1;for(let at=1;at<=yt;at++){let hn=Qn(i[at]);const an=hn.get("offset");hn.set("offset",ml((l+an*f)/q)),R.push(hn)}f=q,l=0,D="",i=R}return Hi(this.element,i,this.preStyleProps,this.postStyleProps,f,l,D,!0)}}function ml(p,i=3){const l=Math.pow(10,i-1);return Math.round(p*l)/l}class Ll{}const cu=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 md extends Ll{normalizePropertyName(i,l){return Oo(i)}normalizeStyleValue(i,l,f,D){let R="";const q=f.toString().trim();if(cu.has(l)&&0!==f&&"0"!==f)if("number"==typeof f)R="px";else{const X=f.match(/^[+-]?[\d\.]+([a-z]*)$/);X&&0==X[1].length&&D.push(function pi(p,i){return new u.vHH(3005,!1)}())}return q+R}}function ba(p,i,l,f,D,R,q,X,ue,Be,yt,at,hn){return{type:0,element:p,triggerName:i,isRemovalTransition:D,fromState:l,fromStyles:R,toState:f,toStyles:q,timelines:X,queriedElements:ue,preStyleProps:Be,postStyleProps:yt,totalTime:at,errors:hn}}const Ei={};class Bl{constructor(i,l,f){this._triggerName=i,this.ast=l,this._stateStyles=f}match(i,l,f,D){return function _l(p,i,l,f,D){return p.some(R=>R(i,l,f,D))}(this.ast.matchers,i,l,f,D)}buildStyles(i,l,f){let D=this._stateStyles.get("*");return void 0!==i&&(D=this._stateStyles.get(i?.toString())||D),D?D.buildStyles(l,f):new Map}build(i,l,f,D,R,q,X,ue,Be,yt){const at=[],hn=this.ast.options&&this.ast.options.params||Ei,Ot=this.buildStyles(f,X&&X.params||Ei,at),Bt=ue&&ue.params||Ei,$n=this.buildStyles(D,Bt,at),nr=new Set,Fr=new Map,ro=new Map,Dn="void"===D,Go={params:qa(Bt,hn),delay:this.ast.options?.delay},oo=yt?[]:gl(i,l,this.ast.animation,R,q,Ot,$n,Go,Be,at);let ss=0;if(oo.forEach(Zi=>{ss=Math.max(Zi.duration+Zi.delay,ss)}),at.length)return ba(l,this._triggerName,f,D,Dn,Ot,$n,[],[],Fr,ro,ss,at);oo.forEach(Zi=>{const si=Zi.element,Id=Bn(Fr,si,new Set);Zi.preStyleProps.forEach(Ki=>Id.add(Ki));const zl=Bn(ro,si,new Set);Zi.postStyleProps.forEach(Ki=>zl.add(Ki)),si!==l&&nr.add(si)});const Wi=Di(nr.values());return ba(l,this._triggerName,f,D,Dn,Ot,$n,oo,Wi,Fr,ro,ss)}}function qa(p,i){const l=qe(i);for(const f in p)p.hasOwnProperty(f)&&null!=p[f]&&(l[f]=p[f]);return l}class uu{constructor(i,l,f){this.styles=i,this.defaultParams=l,this.normalizer=f}buildStyles(i,l){const f=new Map,D=qe(this.defaultParams);return Object.keys(i).forEach(R=>{const q=i[R];null!==q&&(D[R]=q)}),this.styles.styles.forEach(R=>{"string"!=typeof R&&R.forEach((q,X)=>{q&&(q=Ca(q,D,l));const ue=this.normalizer.normalizePropertyName(X,l);q=this.normalizer.normalizeStyleValue(X,ue,q,l),f.set(X,q)})}),f}}class Cc{constructor(i,l,f){this.name=i,this.ast=l,this._normalizer=f,this.transitionFactories=[],this.states=new Map,l.states.forEach(D=>{this.states.set(D.name,new uu(D.style,D.options&&D.options.params||{},f))}),gs(this.states,"true","1"),gs(this.states,"false","0"),l.transitions.forEach(D=>{this.transitionFactories.push(new Bl(i,D,this.states))}),this.fallbackTransition=function bc(p,i,l){return new Bl(p,{type:1,animation:{type:2,steps:[],options:null},matchers:[(q,X)=>!0],options:null,queryCount:0,depCount:0},i)}(i,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(i,l,f,D){return this.transitionFactories.find(q=>q.match(i,l,f,D))||null}matchStyles(i,l,f){return this.fallbackTransition.buildStyles(i,l,f)}}function gs(p,i,l){p.has(i)?p.has(l)||p.set(l,p.get(i)):p.has(l)&&p.set(i,p.get(l))}const wc=new os;class Qa{constructor(i,l,f){this.bodyNode=i,this._driver=l,this._normalizer=f,this._animations=new Map,this._playersById=new Map,this.players=[]}register(i,l){const f=[],R=oa(this._driver,l,f,[]);if(f.length)throw function Jt(p){return new u.vHH(3503,!1)}();this._animations.set(i,R)}_buildPlayer(i,l,f){const D=i.element,R=ur(this._normalizer,i.keyframes,l,f);return this._driver.animate(D,R,i.duration,i.delay,i.easing,[],!0)}create(i,l,f={}){const D=[],R=this._animations.get(i);let q;const X=new Map;if(R?(q=gl(this._driver,l,R,ji,gr,new Map,new Map,f,wc,D),q.forEach(yt=>{const at=Bn(X,yt.element,new Map);yt.postStyleProps.forEach(hn=>at.set(hn,null))})):(D.push(function vn(){return new u.vHH(3300,!1)}()),q=[]),D.length)throw function gn(p){return new u.vHH(3504,!1)}();X.forEach((yt,at)=>{yt.forEach((hn,an)=>{yt.set(an,this._driver.computeStyle(at,an,zt.l3))})});const Be=Gr(q.map(yt=>{const at=X.get(yt.element);return this._buildPlayer(yt,new Map,at)}));return this._playersById.set(i,Be),Be.onDestroy(()=>this.destroy(i)),this.players.push(Be),Be}destroy(i){const l=this._getPlayer(i);l.destroy(),this._playersById.delete(i);const f=this.players.indexOf(l);f>=0&&this.players.splice(f,1)}_getPlayer(i){const l=this._playersById.get(i);if(!l)throw function Gt(p){return new u.vHH(3301,!1)}();return l}listen(i,l,f,D){const R=rs(l,"","","");return In(this._getPlayer(i),f,R,D),()=>{}}command(i,l,f,D){if("register"==f)return void this.register(i,D[0]);if("create"==f)return void this.create(i,l,D[0]||{});const R=this._getPlayer(i);switch(f){case"play":R.play();break;case"pause":R.pause();break;case"reset":R.reset();break;case"restart":R.restart();break;case"finish":R.finish();break;case"init":R.init();break;case"setPosition":R.setPosition(parseFloat(D[0]));break;case"destroy":this.destroy(i)}}}const Ja="ng-animate-queued",Ci="ng-animate-disabled",tl=[],Ma={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Mc={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Fs="__ng_removed";class Ta{get params(){return this.options.params}constructor(i,l=""){this.namespaceId=l;const f=i&&i.hasOwnProperty("value");if(this.value=function kr(p){return p??null}(f?i.value:i),f){const R=qe(i);delete R.value,this.options=R}else this.options={};this.options.params||(this.options.params={})}absorbOptions(i){const l=i.params;if(l){const f=this.options.params;Object.keys(l).forEach(D=>{null==f[D]&&(f[D]=l[D])})}}}const ms="void",vl=new Ta(ms);class zi{constructor(i,l,f){this.id=i,this.hostElement=l,this._engine=f,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+i,Po(l,this._hostClassName)}listen(i,l,f,D){if(!this._triggers.has(l))throw function Hn(p,i){return new u.vHH(3302,!1)}();if(null==f||0==f.length)throw function Tn(p){return new u.vHH(3303,!1)}();if(!function bi(p){return"start"==p||"done"==p}(f))throw function pr(p,i){return new u.vHH(3400,!1)}();const R=Bn(this._elementListeners,i,[]),q={name:l,phase:f,callback:D};R.push(q);const X=Bn(this._engine.statesByElement,i,new Map);return X.has(l)||(Po(i,ya),Po(i,ya+"-"+l),X.set(l,vl)),()=>{this._engine.afterFlush(()=>{const ue=R.indexOf(q);ue>=0&&R.splice(ue,1),this._triggers.has(l)||X.delete(l)})}}register(i,l){return!this._triggers.has(i)&&(this._triggers.set(i,l),!0)}_getTrigger(i){const l=this._triggers.get(i);if(!l)throw function zr(p){return new u.vHH(3401,!1)}();return l}trigger(i,l,f,D=!0){const R=this._getTrigger(l),q=new Gi(this.id,l,i);let X=this._engine.statesByElement.get(i);X||(Po(i,ya),Po(i,ya+"-"+l),this._engine.statesByElement.set(i,X=new Map));let ue=X.get(l);const Be=new Ta(f,this.id);if(!(f&&f.hasOwnProperty("value"))&&ue&&Be.absorbOptions(ue.options),X.set(l,Be),ue||(ue=vl),Be.value!==ms&&ue.value===Be.value){if(!function P(p,i){const l=Object.keys(p),f=Object.keys(i);if(l.length!=f.length)return!1;for(let D=0;D<l.length;D++){const R=l[D];if(!i.hasOwnProperty(R)||p[R]!==i[R])return!1}return!0}(ue.params,Be.params)){const Bt=[],$n=R.matchStyles(ue.value,ue.params,Bt),nr=R.matchStyles(Be.value,Be.params,Bt);Bt.length?this._engine.reportError(Bt):this._engine.afterFlush(()=>{$o(i,$n),Ho(i,nr)})}return}const hn=Bn(this._engine.playersByElement,i,[]);hn.forEach(Bt=>{Bt.namespaceId==this.id&&Bt.triggerName==l&&Bt.queued&&Bt.destroy()});let an=R.matchTransition(ue.value,Be.value,i,Be.params),Ot=!1;if(!an){if(!D)return;an=R.fallbackTransition,Ot=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:i,triggerName:l,transition:an,fromState:ue,toState:Be,player:q,isFallbackTransition:Ot}),Ot||(Po(i,Ja),q.onStart(()=>{_s(i,Ja)})),q.onDone(()=>{let Bt=this.players.indexOf(q);Bt>=0&&this.players.splice(Bt,1);const $n=this._engine.playersByElement.get(i);if($n){let nr=$n.indexOf(q);nr>=0&&$n.splice(nr,1)}}),this.players.push(q),hn.push(q),q}deregister(i){this._triggers.delete(i),this._engine.statesByElement.forEach(l=>l.delete(i)),this._elementListeners.forEach((l,f)=>{this._elementListeners.set(f,l.filter(D=>D.name!=i))})}clearElementCache(i){this._engine.statesByElement.delete(i),this._elementListeners.delete(i);const l=this._engine.playersByElement.get(i);l&&(l.forEach(f=>f.destroy()),this._engine.playersByElement.delete(i))}_signalRemovalForInnerTriggers(i,l){const f=this._engine.driver.query(i,Mr,!0);f.forEach(D=>{if(D[Fs])return;const R=this._engine.fetchNamespacesByElement(D);R.size?R.forEach(q=>q.triggerLeaveAnimation(D,l,!1,!0)):this.clearElementCache(D)}),this._engine.afterFlushAnimationsDone(()=>f.forEach(D=>this.clearElementCache(D)))}triggerLeaveAnimation(i,l,f,D){const R=this._engine.statesByElement.get(i),q=new Map;if(R){const X=[];if(R.forEach((ue,Be)=>{if(q.set(Be,ue.value),this._triggers.has(Be)){const yt=this.trigger(i,Be,ms,D);yt&&X.push(yt)}}),X.length)return this._engine.markElementAsRemoved(this.id,i,!0,l,q),f&&Gr(X).onDone(()=>this._engine.processLeaveNode(i)),!0}return!1}prepareLeaveAnimationListeners(i){const l=this._elementListeners.get(i),f=this._engine.statesByElement.get(i);if(l&&f){const D=new Set;l.forEach(R=>{const q=R.name;if(D.has(q))return;D.add(q);const ue=this._triggers.get(q).fallbackTransition,Be=f.get(q)||vl,yt=new Ta(ms),at=new Gi(this.id,q,i);this._engine.totalQueuedPlayers++,this._queue.push({element:i,triggerName:q,transition:ue,fromState:Be,toState:yt,player:at,isFallbackTransition:!0})})}}removeNode(i,l){const f=this._engine;if(i.childElementCount&&this._signalRemovalForInnerTriggers(i,l),this.triggerLeaveAnimation(i,l,!0))return;let D=!1;if(f.totalAnimations){const R=f.players.length?f.playersByQueriedElement.get(i):[];if(R&&R.length)D=!0;else{let q=i;for(;q=q.parentNode;)if(f.statesByElement.get(q)){D=!0;break}}}if(this.prepareLeaveAnimationListeners(i),D)f.markElementAsRemoved(this.id,i,!1,l);else{const R=i[Fs];(!R||R===Ma)&&(f.afterFlush(()=>this.clearElementCache(i)),f.destroyInnerAnimations(i),f._onRemovalComplete(i,l))}}insertNode(i,l){Po(i,this._hostClassName)}drainQueuedTransitions(i){const l=[];return this._queue.forEach(f=>{const D=f.player;if(D.destroyed)return;const R=f.element,q=this._elementListeners.get(R);q&&q.forEach(X=>{if(X.name==f.triggerName){const ue=rs(R,f.triggerName,f.fromState.value,f.toState.value);ue._data=i,In(f.player,X.phase,ue,X.callback)}}),D.markedForDestroy?this._engine.afterFlush(()=>{D.destroy()}):l.push(f)}),this._queue=[],l.sort((f,D)=>{const R=f.transition.ast.depCount,q=D.transition.ast.depCount;return 0==R||0==q?R-q:this._engine.driver.containsElement(f.element,D.element)?1:-1})}destroy(i){this.players.forEach(l=>l.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,i)}}class Dl{_onRemovalComplete(i,l){this.onRemovalComplete(i,l)}constructor(i,l,f){this.bodyNode=i,this.driver=l,this._normalizer=f,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=(D,R)=>{}}get queuedPlayers(){const i=[];return this._namespaceList.forEach(l=>{l.players.forEach(f=>{f.queued&&i.push(f)})}),i}createNamespace(i,l){const f=new zi(i,l,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,l)?this._balanceNamespaceList(f,l):(this.newHostElements.set(l,f),this.collectEnterElement(l)),this._namespaceLookup[i]=f}_balanceNamespaceList(i,l){const f=this._namespaceList,D=this.namespacesByHostElement;if(f.length-1>=0){let q=!1,X=this.driver.getParentElement(l);for(;X;){const ue=D.get(X);if(ue){const Be=f.indexOf(ue);f.splice(Be+1,0,i),q=!0;break}X=this.driver.getParentElement(X)}q||f.unshift(i)}else f.push(i);return D.set(l,i),i}register(i,l){let f=this._namespaceLookup[i];return f||(f=this.createNamespace(i,l)),f}registerTrigger(i,l,f){let D=this._namespaceLookup[i];D&&D.register(l,f)&&this.totalAnimations++}destroy(i,l){i&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const f=this._fetchNamespace(i);this.namespacesByHostElement.delete(f.hostElement);const D=this._namespaceList.indexOf(f);D>=0&&this._namespaceList.splice(D,1),f.destroy(l),delete this._namespaceLookup[i]}))}_fetchNamespace(i){return this._namespaceLookup[i]}fetchNamespacesByElement(i){const l=new Set,f=this.statesByElement.get(i);if(f)for(let D of f.values())if(D.namespaceId){const R=this._fetchNamespace(D.namespaceId);R&&l.add(R)}return l}trigger(i,l,f,D){if(nl(l)){const R=this._fetchNamespace(i);if(R)return R.trigger(l,f,D),!0}return!1}insertNode(i,l,f,D){if(!nl(l))return;const R=l[Fs];if(R&&R.setForRemoval){R.setForRemoval=!1,R.setForMove=!0;const q=this.collectedLeaveElements.indexOf(l);q>=0&&this.collectedLeaveElements.splice(q,1)}if(i){const q=this._fetchNamespace(i);q&&q.insertNode(l,f)}D&&this.collectEnterElement(l)}collectEnterElement(i){this.collectedEnterElements.push(i)}markElementAsDisabled(i,l){l?this.disabledNodes.has(i)||(this.disabledNodes.add(i),Po(i,Ci)):this.disabledNodes.has(i)&&(this.disabledNodes.delete(i),_s(i,Ci))}removeNode(i,l,f){if(nl(l)){const D=i?this._fetchNamespace(i):null;D?D.removeNode(l,f):this.markElementAsRemoved(i,l,!1,f);const R=this.namespacesByHostElement.get(l);R&&R.id!==i&&R.removeNode(l,f)}else this._onRemovalComplete(l,f)}markElementAsRemoved(i,l,f,D,R){this.collectedLeaveElements.push(l),l[Fs]={namespaceId:i,setForRemoval:D,hasAnimation:f,removedBeforeQueried:!1,previousTriggersValues:R}}listen(i,l,f,D,R){return nl(l)?this._fetchNamespace(i).listen(l,f,D,R):()=>{}}_buildInstruction(i,l,f,D,R){return i.transition.build(this.driver,i.element,i.fromState.value,i.toState.value,f,D,i.fromState.options,i.toState.options,l,R)}destroyInnerAnimations(i){let l=this.driver.query(i,Mr,!0);l.forEach(f=>this.destroyActiveAnimationsForElement(f)),0!=this.playersByQueriedElement.size&&(l=this.driver.query(i,va,!0),l.forEach(f=>this.finishActiveQueriedAnimationOnElement(f)))}destroyActiveAnimationsForElement(i){const l=this.playersByElement.get(i);l&&l.forEach(f=>{f.queued?f.markedForDestroy=!0:f.destroy()})}finishActiveQueriedAnimationOnElement(i){const l=this.playersByQueriedElement.get(i);l&&l.forEach(f=>f.finish())}whenRenderingDone(){return new Promise(i=>{if(this.players.length)return Gr(this.players).onDone(()=>i());i()})}processLeaveNode(i){const l=i[Fs];if(l&&l.setForRemoval){if(i[Fs]=Ma,l.namespaceId){this.destroyInnerAnimations(i);const f=this._fetchNamespace(l.namespaceId);f&&f.clearElementCache(i)}this._onRemovalComplete(i,l.setForRemoval)}i.classList?.contains(Ci)&&this.markElementAsDisabled(i,!1),this.driver.query(i,".ng-animate-disabled",!0).forEach(f=>{this.markElementAsDisabled(f,!1)})}flush(i=-1){let l=[];if(this.newHostElements.size&&(this.newHostElements.forEach((f,D)=>this._balanceNamespaceList(f,D)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let f=0;f<this.collectedEnterElements.length;f++)Po(this.collectedEnterElements[f],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const f=[];try{l=this._flushAnimations(f,i)}finally{for(let D=0;D<f.length;D++)f[D]()}}else for(let f=0;f<this.collectedLeaveElements.length;f++)this.processLeaveNode(this.collectedLeaveElements[f]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(f=>f()),this._flushFns=[],this._whenQuietFns.length){const f=this._whenQuietFns;this._whenQuietFns=[],l.length?Gr(l).onDone(()=>{f.forEach(D=>D())}):f.forEach(D=>D())}}reportError(i){throw function Do(p){return new u.vHH(3402,!1)}()}_flushAnimations(i,l){const f=new os,D=[],R=new Map,q=[],X=new Map,ue=new Map,Be=new Map,yt=new Set;this.disabledNodes.forEach(Mt=>{yt.add(Mt);const Ft=this.driver.query(Mt,".ng-animate-queued",!0);for(let $t=0;$t<Ft.length;$t++)yt.add(Ft[$t])});const at=this.bodyNode,hn=Array.from(this.statesByElement.keys()),an=rl(hn,this.collectedEnterElements),Ot=new Map;let Bt=0;an.forEach((Mt,Ft)=>{const $t=ji+Bt++;Ot.set(Ft,$t),Mt.forEach(Nn=>Po(Nn,$t))});const $n=[],nr=new Set,Fr=new Set;for(let Mt=0;Mt<this.collectedLeaveElements.length;Mt++){const Ft=this.collectedLeaveElements[Mt],$t=Ft[Fs];$t&&$t.setForRemoval&&($n.push(Ft),nr.add(Ft),$t.hasAnimation?this.driver.query(Ft,".ng-star-inserted",!0).forEach(Nn=>nr.add(Nn)):Fr.add(Ft))}const ro=new Map,Dn=rl(hn,Array.from(nr));Dn.forEach((Mt,Ft)=>{const $t=gr+Bt++;ro.set(Ft,$t),Mt.forEach(Nn=>Po(Nn,$t))}),i.push(()=>{an.forEach((Mt,Ft)=>{const $t=Ot.get(Ft);Mt.forEach(Nn=>_s(Nn,$t))}),Dn.forEach((Mt,Ft)=>{const $t=ro.get(Ft);Mt.forEach(Nn=>_s(Nn,$t))}),$n.forEach(Mt=>{this.processLeaveNode(Mt)})});const Go=[],oo=[];for(let Mt=this._namespaceList.length-1;Mt>=0;Mt--)this._namespaceList[Mt].drainQueuedTransitions(l).forEach($t=>{const Nn=$t.player,Wr=$t.element;if(Go.push(Nn),this.collectedEnterElements.length){const bo=Wr[Fs];if(bo&&bo.setForMove){if(bo.previousTriggersValues&&bo.previousTriggersValues.has($t.triggerName)){const wi=bo.previousTriggersValues.get($t.triggerName),Wo=this.statesByElement.get($t.element);if(Wo&&Wo.has($t.triggerName)){const Oa=Wo.get($t.triggerName);Oa.value=wi,Wo.set($t.triggerName,Oa)}}return void Nn.destroy()}}const vs=!at||!this.driver.containsElement(at,Wr),is=ro.get(Wr),Yi=Ot.get(Wr),Ir=this._buildInstruction($t,f,Yi,is,vs);if(Ir.errors&&Ir.errors.length)return void oo.push(Ir);if(vs)return Nn.onStart(()=>$o(Wr,Ir.fromStyles)),Nn.onDestroy(()=>Ho(Wr,Ir.toStyles)),void D.push(Nn);if($t.isFallbackTransition)return Nn.onStart(()=>$o(Wr,Ir.fromStyles)),Nn.onDestroy(()=>Ho(Wr,Ir.toStyles)),void D.push(Nn);const Aa=[];Ir.timelines.forEach(bo=>{bo.stretchStartingKeyframe=!0,this.disabledNodes.has(bo.element)||Aa.push(bo)}),Ir.timelines=Aa,f.append(Wr,Ir.timelines),q.push({instruction:Ir,player:Nn,element:Wr}),Ir.queriedElements.forEach(bo=>Bn(X,bo,[]).push(Nn)),Ir.preStyleProps.forEach((bo,wi)=>{if(bo.size){let Wo=ue.get(wi);Wo||ue.set(wi,Wo=new Set),bo.forEach((Oa,Oc)=>Wo.add(Oc))}}),Ir.postStyleProps.forEach((bo,wi)=>{let Wo=Be.get(wi);Wo||Be.set(wi,Wo=new Set),bo.forEach((Oa,Oc)=>Wo.add(Oc))})});if(oo.length){const Mt=[];oo.forEach(Ft=>{Mt.push(function Eo(p,i){return new u.vHH(3505,!1)}())}),Go.forEach(Ft=>Ft.destroy()),this.reportError(Mt)}const ss=new Map,Wi=new Map;q.forEach(Mt=>{const Ft=Mt.element;f.has(Ft)&&(Wi.set(Ft,Ft),this._beforeAnimationBuild(Mt.player.namespaceId,Mt.instruction,ss))}),D.forEach(Mt=>{const Ft=Mt.element;this._getPreviousPlayers(Ft,!1,Mt.namespaceId,Mt.triggerName,null).forEach(Nn=>{Bn(ss,Ft,[]).push(Nn),Nn.destroy()})});const Zi=$n.filter(Mt=>W(Mt,ue,Be)),si=new Map;Ic(si,this.driver,Fr,Be,zt.l3).forEach(Mt=>{W(Mt,ue,Be)&&Zi.push(Mt)});const zl=new Map;an.forEach((Mt,Ft)=>{Ic(zl,this.driver,new Set(Mt),ue,zt.k1)}),Zi.forEach(Mt=>{const Ft=si.get(Mt),$t=zl.get(Mt);si.set(Mt,new Map([...Ft?.entries()??[],...$t?.entries()??[]]))});const Ki=[],Sd=[],Ad={};q.forEach(Mt=>{const{element:Ft,player:$t,instruction:Nn}=Mt;if(f.has(Ft)){if(yt.has(Ft))return $t.onDestroy(()=>Ho(Ft,Nn.toStyles)),$t.disabled=!0,$t.overrideTotalTime(Nn.totalTime),void D.push($t);let Wr=Ad;if(Wi.size>1){let is=Ft;const Yi=[];for(;is=is.parentNode;){const Ir=Wi.get(is);if(Ir){Wr=Ir;break}Yi.push(is)}Yi.forEach(Ir=>Wi.set(Ir,Wr))}const vs=this._buildAnimation($t.namespaceId,Nn,ss,R,zl,si);if($t.setRealPlayer(vs),Wr===Ad)Ki.push($t);else{const is=this.playersByElement.get(Wr);is&&is.length&&($t.parentPlayer=Gr(is)),D.push($t)}}else $o(Ft,Nn.fromStyles),$t.onDestroy(()=>Ho(Ft,Nn.toStyles)),Sd.push($t),yt.has(Ft)&&D.push($t)}),Sd.forEach(Mt=>{const Ft=R.get(Mt.element);if(Ft&&Ft.length){const $t=Gr(Ft);Mt.setRealPlayer($t)}}),D.forEach(Mt=>{Mt.parentPlayer?Mt.syncPlayerEvents(Mt.parentPlayer):Mt.destroy()});for(let Mt=0;Mt<$n.length;Mt++){const Ft=$n[Mt],$t=Ft[Fs];if(_s(Ft,gr),$t&&$t.hasAnimation)continue;let Nn=[];if(X.size){let vs=X.get(Ft);vs&&vs.length&&Nn.push(...vs);let is=this.driver.query(Ft,va,!0);for(let Yi=0;Yi<is.length;Yi++){let Ir=X.get(is[Yi]);Ir&&Ir.length&&Nn.push(...Ir)}}const Wr=Nn.filter(vs=>!vs.destroyed);Wr.length?Ia(this,Ft,Wr):this.processLeaveNode(Ft)}return $n.length=0,Ki.forEach(Mt=>{this.players.push(Mt),Mt.onDone(()=>{Mt.destroy();const Ft=this.players.indexOf(Mt);this.players.splice(Ft,1)}),Mt.play()}),Ki}afterFlush(i){this._flushFns.push(i)}afterFlushAnimationsDone(i){this._whenQuietFns.push(i)}_getPreviousPlayers(i,l,f,D,R){let q=[];if(l){const X=this.playersByQueriedElement.get(i);X&&(q=X)}else{const X=this.playersByElement.get(i);if(X){const ue=!R||R==ms;X.forEach(Be=>{Be.queued||!ue&&Be.triggerName!=D||q.push(Be)})}}return(f||D)&&(q=q.filter(X=>!(f&&f!=X.namespaceId||D&&D!=X.triggerName))),q}_beforeAnimationBuild(i,l,f){const R=l.element,q=l.isRemovalTransition?void 0:i,X=l.isRemovalTransition?void 0:l.triggerName;for(const ue of l.timelines){const Be=ue.element,yt=Be!==R,at=Bn(f,Be,[]);this._getPreviousPlayers(Be,yt,q,X,l.toState).forEach(an=>{const Ot=an.getRealPlayer();Ot.beforeDestroy&&Ot.beforeDestroy(),an.destroy(),at.push(an)})}$o(R,l.fromStyles)}_buildAnimation(i,l,f,D,R,q){const X=l.triggerName,ue=l.element,Be=[],yt=new Set,at=new Set,hn=l.timelines.map(Ot=>{const Bt=Ot.element;yt.add(Bt);const $n=Bt[Fs];if($n&&$n.removedBeforeQueried)return new zt.ZN(Ot.duration,Ot.delay);const nr=Bt!==ue,Fr=function m(p){const i=[];return E(p,i),i}((f.get(Bt)||tl).map(ss=>ss.getRealPlayer())).filter(ss=>!!ss.element&&ss.element===Bt),ro=R.get(Bt),Dn=q.get(Bt),Go=ur(this._normalizer,Ot.keyframes,ro,Dn),oo=this._buildPlayer(Ot,Go,Fr);if(Ot.subTimeline&&D&&at.add(Bt),nr){const ss=new Gi(i,X,Bt);ss.setRealPlayer(oo),Be.push(ss)}return oo});Be.forEach(Ot=>{Bn(this.playersByQueriedElement,Ot.element,[]).push(Ot),Ot.onDone(()=>function Tc(p,i,l){let f=p.get(i);if(f){if(f.length){const D=f.indexOf(l);f.splice(D,1)}0==f.length&&p.delete(i)}return f}(this.playersByQueriedElement,Ot.element,Ot))}),yt.forEach(Ot=>Po(Ot,Js));const an=Gr(hn);return an.onDestroy(()=>{yt.forEach(Ot=>_s(Ot,Js)),Ho(ue,l.toStyles)}),at.forEach(Ot=>{Bn(D,Ot,[]).push(an)}),an}_buildPlayer(i,l,f){return l.length>0?this.driver.animate(i.element,l,i.duration,i.delay,i.easing,f):new zt.ZN(i.duration,i.delay)}}class Gi{constructor(i,l,f){this.namespaceId=i,this.triggerName=l,this.element=f,this._player=new zt.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(i){this._containsRealPlayer||(this._player=i,this._queuedCallbacks.forEach((l,f)=>{l.forEach(D=>In(i,f,void 0,D))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(i.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(i){this.totalTime=i}syncPlayerEvents(i){const l=this._player;l.triggerCallback&&i.onStart(()=>l.triggerCallback("start")),i.onDone(()=>this.finish()),i.onDestroy(()=>this.destroy())}_queueEvent(i,l){Bn(this._queuedCallbacks,i,[]).push(l)}onDone(i){this.queued&&this._queueEvent("done",i),this._player.onDone(i)}onStart(i){this.queued&&this._queueEvent("start",i),this._player.onStart(i)}onDestroy(i){this.queued&&this._queueEvent("destroy",i),this._player.onDestroy(i)}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(i){this.queued||this._player.setPosition(i)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(i){const l=this._player;l.triggerCallback&&l.triggerCallback(i)}}function nl(p){return p&&1===p.nodeType}function El(p,i){const l=p.style.display;return p.style.display=i??"none",l}function Ic(p,i,l,f,D){const R=[];l.forEach(ue=>R.push(El(ue)));const q=[];f.forEach((ue,Be)=>{const yt=new Map;ue.forEach(at=>{const hn=i.computeStyle(Be,at,D);yt.set(at,hn),(!hn||0==hn.length)&&(Be[Fs]=Mc,q.push(Be))}),p.set(Be,yt)});let X=0;return l.forEach(ue=>El(ue,R[X++])),q}function rl(p,i){const l=new Map;if(p.forEach(X=>l.set(X,[])),0==i.length)return l;const D=new Set(i),R=new Map;function q(X){if(!X)return 1;let ue=R.get(X);if(ue)return ue;const Be=X.parentNode;return ue=l.has(Be)?Be:D.has(Be)?1:q(Be),R.set(X,ue),ue}return i.forEach(X=>{const ue=q(X);1!==ue&&l.get(ue).push(X)}),l}function Po(p,i){p.classList?.add(i)}function _s(p,i){p.classList?.remove(i)}function Ia(p,i,l){Gr(l).onDone(()=>p.processLeaveNode(i))}function E(p,i){for(let l=0;l<p.length;l++){const f=p[l];f instanceof zt.ZE?E(f.players,i):i.push(f)}}function W(p,i,l){const f=l.get(p);if(!f)return!1;let D=i.get(p);return D?f.forEach(R=>D.add(R)):i.set(p,f),l.delete(p),!0}class ce{constructor(i,l,f){this.bodyNode=i,this._driver=l,this._normalizer=f,this._triggerCache={},this.onRemovalComplete=(D,R)=>{},this._transitionEngine=new Dl(i,l,f),this._timelineEngine=new Qa(i,l,f),this._transitionEngine.onRemovalComplete=(D,R)=>this.onRemovalComplete(D,R)}registerTrigger(i,l,f,D,R){const q=i+"-"+D;let X=this._triggerCache[q];if(!X){const ue=[],yt=oa(this._driver,R,ue,[]);if(ue.length)throw function ze(p,i){return new u.vHH(3404,!1)}();X=function Vl(p,i,l){return new Cc(p,i,l)}(D,yt,this._normalizer),this._triggerCache[q]=X}this._transitionEngine.registerTrigger(l,D,X)}register(i,l){this._transitionEngine.register(i,l)}destroy(i,l){this._transitionEngine.destroy(i,l)}onInsert(i,l,f,D){this._transitionEngine.insertNode(i,l,f,D)}onRemove(i,l,f){this._transitionEngine.removeNode(i,l,f)}disableAnimations(i,l){this._transitionEngine.markElementAsDisabled(i,l)}process(i,l,f,D){if("@"==f.charAt(0)){const[R,q]=Ba(f);this._timelineEngine.command(R,l,q,D)}else this._transitionEngine.trigger(i,l,f,D)}listen(i,l,f,D,R){if("@"==f.charAt(0)){const[q,X]=Ba(f);return this._timelineEngine.listen(q,l,X,R)}return this._transitionEngine.listen(i,l,f,D,R)}flush(i=-1){this._transitionEngine.flush(i)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(i){this._transitionEngine.afterFlushAnimationsDone(i)}}let He=(()=>{class i{constructor(f,D,R){this._element=f,this._startStyles=D,this._endStyles=R,this._state=0;let q=i.initialStylesByElement.get(f);q||i.initialStylesByElement.set(f,q=new Map),this._initialStyles=q}start(){this._state<1&&(this._startStyles&&Ho(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Ho(this._element,this._initialStyles),this._endStyles&&(Ho(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(i.initialStylesByElement.delete(this._element),this._startStyles&&($o(this._element,this._startStyles),this._endStyles=null),this._endStyles&&($o(this._element,this._endStyles),this._endStyles=null),Ho(this._element,this._initialStyles),this._state=3)}}return i.initialStylesByElement=new WeakMap,i})();function ft(p){let i=null;return p.forEach((l,f)=>{(function ut(p){return"display"===p||"position"===p})(f)&&(i=i||new Map,i.set(f,l))}),i}class Et{constructor(i,l,f,D){this.element=i,this.keyframes=l,this.options=f,this._specialStyles=D,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=f.duration,this._delay=f.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(i=>i()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const i=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,i,this.options),this._finalKeyframe=i.length?i[i.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(i){const l=[];return i.forEach(f=>{l.push(Object.fromEntries(f))}),l}_triggerWebAnimation(i,l,f){return i.animate(this._convertKeyframesToObject(l),f)}onStart(i){this._originalOnStartFns.push(i),this._onStartFns.push(i)}onDone(i){this._originalOnDoneFns.push(i),this._onDoneFns.push(i)}onDestroy(i){this._onDestroyFns.push(i)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(i=>i()),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(i=>i()),this._onDestroyFns=[])}setPosition(i){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=i*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const i=new Map;this.hasStarted()&&this._finalKeyframe.forEach((f,D)=>{"offset"!==D&&i.set(D,this._finished?f:C(this.element,D))}),this.currentSnapshot=i}triggerCallback(i){const l="start"===i?this._onStartFns:this._onDoneFns;l.forEach(f=>f()),l.length=0}}class Wt{validateStyleProperty(i){return!0}validateAnimatableStyleProperty(i){return!0}matchesElement(i,l){return!1}containsElement(i,l){return Ao(i,l)}getParentElement(i){return Ps(i)}query(i,l,f){return Ua(i,l,f)}computeStyle(i,l,f){return window.getComputedStyle(i)[l]}animate(i,l,f,D,R,q=[]){const ue={duration:f,delay:D,fill:0==D?"both":"forwards"};R&&(ue.easing=R);const Be=new Map,yt=q.filter(an=>an instanceof Et);(function ei(p,i){return 0===p||0===i})(f,D)&&yt.forEach(an=>{an.currentSnapshot.forEach((Ot,Bt)=>Be.set(Bt,Ot))});let at=function ra(p){return p.length?p[0]instanceof Map?p:p.map(i=>mn(i)):[]}(l).map(an=>Qn(an));at=function h(p,i,l){if(l.size&&i.length){let f=i[0],D=[];if(l.forEach((R,q)=>{f.has(q)||D.push(q),f.set(q,R)}),D.length)for(let R=1;R<i.length;R++){let q=i[R];D.forEach(X=>q.set(X,C(p,X)))}}return i}(i,at,Be);const hn=function be(p,i){let l=null,f=null;return Array.isArray(i)&&i.length?(l=ft(i[0]),i.length>1&&(f=ft(i[i.length-1]))):i instanceof Map&&(l=ft(i)),l||f?new He(p,l,f):null}(i,at);return new Et(i,at,ue,hn)}}let Kt=(()=>{var p;class i extends zt._j{constructor(f,D){super(),this._nextAnimationId=0,this._renderer=f.createRenderer(D.body,{id:"0",encapsulation:u.ifc.None,styles:[],data:{animation:[]}})}build(f){const D=this._nextAnimationId.toString();this._nextAnimationId++;const R=Array.isArray(f)?(0,zt.vP)(f):f;return Sa(this._renderer,null,D,"register",[R]),new to(D,this._renderer)}}return(p=i).\u0275fac=function(f){return new(f||p)(u.LFG(u.FYo),u.LFG(pn.K0))},p.\u0275prov=u.Yz7({token:p,factory:p.\u0275fac}),i})();class to extends zt.LC{constructor(i,l){super(),this._id=i,this._renderer=l}create(i,l){return new no(this._id,i,l||{},this._renderer)}}class no{constructor(i,l,f,D){this.id=i,this.element=l,this._renderer=D,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",f)}_listen(i,l){return this._renderer.listen(this.element,`@@${this.id}:${i}`,l)}_command(i,...l){return Sa(this._renderer,this.element,this.id,i,l)}onDone(i){this._listen("done",i)}onStart(i){this._listen("start",i)}onDestroy(i){this._listen("destroy",i)}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(i){this._command("setPosition",i)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function Sa(p,i,l,f,D){return p.setProperty(i,`@@${l}:${f}`,D)}const ia="@.disabled";let Co=(()=>{var p;class i{constructor(f,D,R){this.delegate=f,this.engine=D,this._zone=R,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,D.onRemovalComplete=(q,X)=>{const ue=X?.parentNode(q);ue&&X.removeChild(ue,q)}}createRenderer(f,D){const q=this.delegate.createRenderer(f,D);if(!(f&&D&&D.data&&D.data.animation)){let at=this._rendererCache.get(q);return at||(at=new oi("",q,this.engine,()=>this._rendererCache.delete(q)),this._rendererCache.set(q,at)),at}const X=D.id,ue=D.id+"-"+this._currentId;this._currentId++,this.engine.register(ue,f);const Be=at=>{Array.isArray(at)?at.forEach(Be):this.engine.registerTrigger(X,ue,f,at.name,at)};return D.data.animation.forEach(Be),new zo(this,ue,q,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(f,D,R){f>=0&&f<this._microtaskId?this._zone.run(()=>D(R)):(0==this._animationCallbacksBuffer.length&&queueMicrotask(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(q=>{const[X,ue]=q;X(ue)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([D,R]))}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(p=i).\u0275fac=function(f){return new(f||p)(u.LFG(u.FYo),u.LFG(ce),u.LFG(u.R0b))},p.\u0275prov=u.Yz7({token:p,factory:p.\u0275fac}),i})();class oi{constructor(i,l,f,D){this.namespaceId=i,this.delegate=l,this.engine=f,this._onDestroy=D}get data(){return this.delegate.data}destroyNode(i){this.delegate.destroyNode?.(i)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(i,l){return this.delegate.createElement(i,l)}createComment(i){return this.delegate.createComment(i)}createText(i){return this.delegate.createText(i)}appendChild(i,l){this.delegate.appendChild(i,l),this.engine.onInsert(this.namespaceId,l,i,!1)}insertBefore(i,l,f,D=!0){this.delegate.insertBefore(i,l,f),this.engine.onInsert(this.namespaceId,l,i,D)}removeChild(i,l,f){this.engine.onRemove(this.namespaceId,l,this.delegate)}selectRootElement(i,l){return this.delegate.selectRootElement(i,l)}parentNode(i){return this.delegate.parentNode(i)}nextSibling(i){return this.delegate.nextSibling(i)}setAttribute(i,l,f,D){this.delegate.setAttribute(i,l,f,D)}removeAttribute(i,l,f){this.delegate.removeAttribute(i,l,f)}addClass(i,l){this.delegate.addClass(i,l)}removeClass(i,l){this.delegate.removeClass(i,l)}setStyle(i,l,f,D){this.delegate.setStyle(i,l,f,D)}removeStyle(i,l,f){this.delegate.removeStyle(i,l,f)}setProperty(i,l,f){"@"==l.charAt(0)&&l==ia?this.disableAnimations(i,!!f):this.delegate.setProperty(i,l,f)}setValue(i,l){this.delegate.setValue(i,l)}listen(i,l,f){return this.delegate.listen(i,l,f)}disableAnimations(i,l){this.engine.disableAnimations(i,l)}}class zo extends oi{constructor(i,l,f,D,R){super(l,f,D,R),this.factory=i,this.namespaceId=l}setProperty(i,l,f){"@"==l.charAt(0)?"."==l.charAt(1)&&l==ia?this.disableAnimations(i,f=void 0===f||!!f):this.engine.process(this.namespaceId,i,l.slice(1),f):this.delegate.setProperty(i,l,f)}listen(i,l,f){if("@"==l.charAt(0)){const D=function ol(p){switch(p){case"body":return document.body;case"document":return document;case"window":return window;default:return p}}(i);let R=l.slice(1),q="";return"@"!=R.charAt(0)&&([R,q]=function du(p){const i=p.indexOf(".");return[p.substring(0,i),p.slice(i+1)]}(R)),this.engine.listen(this.namespaceId,D,R,q,X=>{this.factory.scheduleListenerCallback(X._data||-1,f,X)})}return this.delegate.listen(i,l,f)}}const yd=[{provide:zt._j,useClass:Kt},{provide:Ll,useFactory:function Cl(){return new md}},{provide:ce,useClass:(()=>{var p;class i extends ce{constructor(f,D,R,q){super(f.body,D,R)}ngOnDestroy(){this.flush()}}return(p=i).\u0275fac=function(f){return new(f||p)(u.LFG(pn.K0),u.LFG(Ha),u.LFG(Ll),u.LFG(u.z2F))},p.\u0275prov=u.Yz7({token:p,factory:p.\u0275fac}),i})()},{provide:u.FYo,useFactory:function _d(p,i,l){return new Co(p,i,l)},deps:[a.se,ce,u.R0b]}],Sc=[{provide:Ha,useFactory:()=>new Wt},{provide:u.QbO,useValue:"BrowserAnimations"},...yd],vd=[{provide:Ha,useClass:Vi},{provide:u.QbO,useValue:"NoopAnimations"},...yd];let ys=(()=>{var p;class i{static withConfig(f){return{ngModule:i,providers:f.disableAnimations?vd:Sc}}}return(p=i).\u0275fac=function(f){return new(f||p)},p.\u0275mod=u.oAB({type:p}),p.\u0275inj=u.cJS({providers:Sc,imports:[a.b2]}),i})(),hu=(()=>{var p;class i{constructor(){function f(D){return D<10?"0"+D:D}this.title="web-tools",Date.prototype.toJSON=function(){return this.getFullYear()+"-"+f(this.getMonth()+1)+"-"+f(this.getDate())+"T"+f(this.getHours())+":"+f(this.getMinutes())+":"+f(this.getSeconds())+".000"}}}return(p=i).\u0275fac=function(f){return new(f||p)},p.\u0275cmp=u.Xpm({type:p,selectors:[["app-root"]],decls:2,vars:0,template:function(f,D){1&f&&u._UZ(0,"ng-http-loader")(1,"router-outlet")},dependencies:[G.lC,hr]}),i})();const Dd=["custom-toast-component",""];function Ed(p,i){if(1&p){const l=u.EpF();u.TgZ(0,"a",11),u.NdJ("click",function(){u.CHM(l);const D=u.oxw(2);return u.KtG(D.remove())}),u._uU(1," x "),u.qZA()}}function Cd(p,i){if(1&p&&(u.TgZ(0,"div",6)(1,"div",7)(2,"div",8)(3,"h4"),u._uU(4),u.qZA()()(),u.TgZ(5,"div",9),u.YNc(6,Ed,2,0,"a",10),u.qZA()()),2&p){const l=u.oxw();u.Udp("display","inactive"===l.state.value?"none":""),u.xp6(2),u.Tol(l.options.titleClass),u.uIk("aria-label",l.title),u.xp6(2),u.Oqu(l.title),u.xp6(2),u.Q6J("ngIf",l.options.closeButton)}}const pu=function(p){return{notitle:p}};function bd(p,i){if(1&p&&u._UZ(0,"div",12),2&p){const l=u.oxw();u.Tol(l.options.messageClass),u.Q6J("ngClass",u.VKq(4,pu,null==l.title))("innerHTML",l.message,u.oJD)}}function wd(p,i){if(1&p&&(u.TgZ(0,"div",13),u._uU(1),u.qZA()),2&p){const l=u.oxw();u.Tol(l.options.messageClass),u.Q6J("ngClass",u.VKq(5,pu,null==l.title)),u.uIk("aria-label",l.message),u.xp6(1),u.hij(" ",l.message," ")}}function Ac(p,i){if(1&p){const l=u.EpF();u.TgZ(0,"a",11),u.NdJ("click",function(){u.CHM(l);const D=u.oxw();return u.KtG(D.remove())}),u._uU(1," x "),u.qZA()}}function Ul(p,i){if(1&p&&(u.TgZ(0,"div"),u._UZ(1,"div",14),u.qZA()),2&p){const l=u.oxw();u.xp6(1),u.Udp("width",l.width+"%")}}let Md=(()=>{var p;class i extends je.FN{constructor(f,D){super(f,D),this.toastrService=f,this.toastPackage=D}ngOnInit(){}action(f){return f.stopPropagation(),this.toastPackage.triggerAction(),!1}}return(p=i).\u0275fac=function(f){return new(f||p)(u.Y36(je._W),u.Y36(je.PR))},p.\u0275cmp=u.Xpm({type:p,selectors:[["","custom-toast-component",""]],features:[u.qOj],attrs:Dd,decls:6,vars:5,consts:[[1,"toast-case"],["class","row toast-header",3,"display",4,"ngIf"],["class","row toast-body text-start","role","alert","aria-live","polite",3,"ngClass","class","innerHTML",4,"ngIf"],["class","row toast-body text-start","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","px-0","text-start"],[1,"my-4"],[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,"row","toast-body","text-start",3,"ngClass","innerHTML"],["role","alert","aria-live","polite",1,"row","toast-body","text-start",3,"ngClass"],[1,"toast-progress"]],template:function(f,D){1&f&&(u.TgZ(0,"div",0),u.YNc(1,Cd,7,7,"div",1),u.YNc(2,bd,1,6,"div",2),u.YNc(3,wd,2,7,"div",3),u.YNc(4,Ac,2,0,"a",4),u.YNc(5,Ul,2,2,"div",5),u.qZA()),2&f&&(u.xp6(1),u.Q6J("ngIf",D.title),u.xp6(1),u.Q6J("ngIf",D.message&&D.options.enableHtml),u.xp6(1),u.Q6J("ngIf",D.message&&!D.options.enableHtml),u.xp6(1),u.Q6J("ngIf",D.options.closeButton&&null==D.title),u.xp6(1),u.Q6J("ngIf",D.options.progressBar))},dependencies:[pn.mk,pn.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:10px}.toast-header[_ngcontent-%COMP%]{background-clip:padding-box;border-bottom:1px solid gainsboro;border-width:1px;padding-bottom:0rem;padding-top:0rem;padding-right:0}.toast-title[_ngcontent-%COMP%]{color:#000}.toast-body[_ngcontent-%COMP%]{padding:10px 15px 10px 0}.notitle[_ngcontent-%COMP%]{margin-bottom:-1rem}.toast-close-button[_ngcontent-%COMP%]{color:#dcdcdc!important}"],data:{animation:[(0,zt.X$)("flyInOut",[(0,zt.SB)("inactive",(0,zt.oB)({opacity:0})),(0,zt.eR)("inactive => active",(0,zt.jt)("400ms ease-out",(0,zt.F4)([(0,zt.oB)({transform:"translate3d(100%, 0, 0) skewX(-30deg)",opacity:0}),(0,zt.oB)({transform:"skewX(20deg)",opacity:1}),(0,zt.oB)({transform:"skewX(-5deg)",opacity:1}),(0,zt.oB)({transform:"none",opacity:1})]))),(0,zt.eR)("active => removed",(0,zt.jt)("400ms ease-out",(0,zt.F4)([(0,zt.oB)({opacity:1}),(0,zt.oB)({transform:"translate3d(100%, 0, 0) skewX(30deg)",opacity:0})])))])]}}),i})();const Hl={apiKey:"AIzaSyDnnitFXpM8TglWKNpzu4ChgF98n25Rgvw",authDomain:"auth.dealpos.com",projectId:"devops-signin",storageBucket:"devops-signin.appspot.com",messagingSenderId:"412465165194",appId:"1:412465165194:web:03d806f6b6ab6f8b460e73",measurementId:"G-MNDBRJ5XZD"};let Td=(()=>{var p;class i{}return(p=i).\u0275fac=function(f){return new(f||p)},p.\u0275mod=u.oAB({type:p,bootstrap:[hu]}),p.\u0275inj=u.cJS({providers:[Oe.O,Ni.a],imports:[a.b2,ys,Nr,$r.u5,G.Bz,en.hO.initializeApp(Hl),Ai,rt.JF,pa.forRoot(),je.Rh.forRoot({toastComponent:Md,positionClass:"toast-bottom-right",closeButton:!0}),G.Bz]}),i})();I(553).N.production&&(0,u.G48)(),a.q6().bootstrapModule(Td).catch(p=>console.error(p))},5619:(tt,ve,I)=>{I.d(ve,{X:()=>u});var a=I(8645);class u extends a.x{constructor(ne){super(),this._value=ne}get value(){return this.getValue()}_subscribe(ne){const z=super._subscribe(ne);return!z.closed&&ne.next(this._value),z}getValue(){const{hasError:ne,thrownError:z,_value:$}=this;if(ne)throw z;return this._throwIfClosed(),$}next(ne){super.next(this._value=ne)}}},5592:(tt,ve,I)=>{I.d(ve,{y:()=>ae});var a=I(305),u=I(7394),G=I(4850),ne=I(8407),z=I(2653),$=I(4674),ee=I(1441);let ae=(()=>{class fe{constructor(Te){Te&&(this._subscribe=Te)}lift(Te){const Ye=new fe;return Ye.source=this,Ye.operator=Te,Ye}subscribe(Te,Ye,Oe){const je=function J(fe){return fe&&fe instanceof a.Lv||function U(fe){return fe&&(0,$.m)(fe.next)&&(0,$.m)(fe.error)&&(0,$.m)(fe.complete)}(fe)&&(0,u.Nn)(fe)}(Te)?Te:new a.Hp(Te,Ye,Oe);return(0,ee.x)(()=>{const{operator:Le,source:et}=this;je.add(Le?Le.call(je,et):et?this._subscribe(je):this._trySubscribe(je))}),je}_trySubscribe(Te){try{return this._subscribe(Te)}catch(Ye){Te.error(Ye)}}forEach(Te,Ye){return new(Ye=de(Ye))((Oe,je)=>{const Le=new a.Hp({next:et=>{try{Te(et)}catch(Ve){je(Ve),Le.unsubscribe()}},error:je,complete:Oe});this.subscribe(Le)})}_subscribe(Te){var Ye;return null===(Ye=this.source)||void 0===Ye?void 0:Ye.subscribe(Te)}[G.L](){return this}pipe(...Te){return(0,ne.U)(Te)(this)}toPromise(Te){return new(Te=de(Te))((Ye,Oe)=>{let je;this.subscribe(Le=>je=Le,Le=>Oe(Le),()=>Ye(je))})}}return fe.create=xe=>new fe(xe),fe})();function de(fe){var xe;return null!==(xe=fe??z.config.Promise)&&void 0!==xe?xe:Promise}},7328:(tt,ve,I)=>{I.d(ve,{t:()=>G});var a=I(8645),u=I(4552);class G extends a.x{constructor(z=1/0,$=1/0,ee=u.l){super(),this._bufferSize=z,this._windowTime=$,this._timestampProvider=ee,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=$===1/0,this._bufferSize=Math.max(1,z),this._windowTime=Math.max(1,$)}next(z){const{isStopped:$,_buffer:ee,_infiniteTimeWindow:ae,_timestampProvider:de,_windowTime:U}=this;$||(ee.push(z),!ae&&ee.push(de.now()+U)),this._trimBuffer(),super.next(z)}_subscribe(z){this._throwIfClosed(),this._trimBuffer();const $=this._innerSubscribe(z),{_infiniteTimeWindow:ee,_buffer:ae}=this,de=ae.slice();for(let U=0;U<de.length&&!z.closed;U+=ee?1:2)z.next(de[U]);return this._checkFinalizedStatuses(z),$}_trimBuffer(){const{_bufferSize:z,_timestampProvider:$,_buffer:ee,_infiniteTimeWindow:ae}=this,de=(ae?1:2)*z;if(z<1/0&&de<ee.length&&ee.splice(0,ee.length-de),!ae){const U=$.now();let J=0;for(let fe=1;fe<ee.length&&ee[fe]<=U;fe+=2)J=fe;J&&ee.splice(0,J+1)}}}},8645:(tt,ve,I)=>{I.d(ve,{x:()=>ee});var a=I(5592),u=I(7394);const ne=(0,I(2306).d)(de=>function(){de(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var z=I(9039),$=I(1441);let ee=(()=>{class de extends a.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 ae(this,this);return fe.operator=J,fe}_throwIfClosed(){if(this.closed)throw new ne}next(J){(0,$.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,$.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,$.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:xe,observers:Te}=this;return fe||xe?u.Lc:(this.currentObservers=null,Te.push(J),new u.w0(()=>{this.currentObservers=null,(0,z.P)(Te,J)}))}_checkFinalizedStatuses(J){const{hasError:fe,thrownError:xe,isStopped:Te}=this;fe?J.error(xe):Te&&J.complete()}asObservable(){const J=new a.y;return J.source=this,J}}return de.create=(U,J)=>new ae(U,J),de})();class ae extends ee{constructor(U,J){super(),this.destination=U,this.source=J}next(U){var J,fe;null===(fe=null===(J=this.destination)||void 0===J?void 0:J.next)||void 0===fe||fe.call(J,U)}error(U){var J,fe;null===(fe=null===(J=this.destination)||void 0===J?void 0:J.error)||void 0===fe||fe.call(J,U)}complete(){var U,J;null===(J=null===(U=this.destination)||void 0===U?void 0:U.complete)||void 0===J||J.call(U)}_subscribe(U){var J,fe;return null!==(fe=null===(J=this.source)||void 0===J?void 0:J.subscribe(U))&&void 0!==fe?fe:u.Lc}}},305:(tt,ve,I)=>{I.d(ve,{Hp:()=>Oe,Lv:()=>fe});var a=I(4674),u=I(7394),G=I(2653),ne=I(3894),z=I(2420);const $=de("C",void 0,void 0);function de(Z,De,me){return{kind:Z,value:De,error:me}}var U=I(7599),J=I(1441);class fe extends u.w0{constructor(De){super(),this.isStopped=!1,De?(this.destination=De,(0,u.Nn)(De)&&De.add(this)):this.destination=Ve}static create(De,me,Se){return new Oe(De,me,Se)}next(De){this.isStopped?et(function ae(Z){return de("N",Z,void 0)}(De),this):this._next(De)}error(De){this.isStopped?et(function ee(Z){return de("E",void 0,Z)}(De),this):(this.isStopped=!0,this._error(De))}complete(){this.isStopped?et($,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(De){this.destination.next(De)}_error(De){try{this.destination.error(De)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const xe=Function.prototype.bind;function Te(Z,De){return xe.call(Z,De)}class Ye{constructor(De){this.partialObserver=De}next(De){const{partialObserver:me}=this;if(me.next)try{me.next(De)}catch(Se){je(Se)}}error(De){const{partialObserver:me}=this;if(me.error)try{me.error(De)}catch(Se){je(Se)}else je(De)}complete(){const{partialObserver:De}=this;if(De.complete)try{De.complete()}catch(me){je(me)}}}class Oe extends fe{constructor(De,me,Se){let We;if(super(),(0,a.m)(De)||!De)We={next:De??void 0,error:me??void 0,complete:Se??void 0};else{let $e;this&&G.config.useDeprecatedNextContext?($e=Object.create(De),$e.unsubscribe=()=>this.unsubscribe(),We={next:De.next&&Te(De.next,$e),error:De.error&&Te(De.error,$e),complete:De.complete&&Te(De.complete,$e)}):We=De}this.destination=new Ye(We)}}function je(Z){G.config.useDeprecatedSynchronousErrorHandling?(0,J.O)(Z):(0,ne.h)(Z)}function et(Z,De){const{onStoppedNotification:me}=G.config;me&&U.z.setTimeout(()=>me(Z,De))}const Ve={closed:!0,next:z.Z,error:function Le(Z){throw Z},complete:z.Z}},7394:(tt,ve,I)=>{I.d(ve,{Lc:()=>$,w0:()=>z,Nn:()=>ee});var a=I(4674);const G=(0,I(2306).d)(de=>function(J){de(this),this.message=J?`${J.length} errors occurred during unsubscription:\n${J.map((fe,xe)=>`${xe+1}) ${fe.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=J});var ne=I(9039);class z{constructor(U){this.initialTeardown=U,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let U;if(!this.closed){this.closed=!0;const{_parentage:J}=this;if(J)if(this._parentage=null,Array.isArray(J))for(const Te of J)Te.remove(this);else J.remove(this);const{initialTeardown:fe}=this;if((0,a.m)(fe))try{fe()}catch(Te){U=Te instanceof G?Te.errors:[Te]}const{_finalizers:xe}=this;if(xe){this._finalizers=null;for(const Te of xe)try{ae(Te)}catch(Ye){U=U??[],Ye instanceof G?U=[...U,...Ye.errors]:U.push(Ye)}}if(U)throw new G(U)}}add(U){var J;if(U&&U!==this)if(this.closed)ae(U);else{if(U instanceof z){if(U.closed||U._hasParent(this))return;U._addParent(this)}(this._finalizers=null!==(J=this._finalizers)&&void 0!==J?J:[]).push(U)}}_hasParent(U){const{_parentage:J}=this;return J===U||Array.isArray(J)&&J.includes(U)}_addParent(U){const{_parentage:J}=this;this._parentage=Array.isArray(J)?(J.push(U),J):J?[J,U]:U}_removeParent(U){const{_parentage:J}=this;J===U?this._parentage=null:Array.isArray(J)&&(0,ne.P)(J,U)}remove(U){const{_finalizers:J}=this;J&&(0,ne.P)(J,U),U instanceof z&&U._removeParent(this)}}z.EMPTY=(()=>{const de=new z;return de.closed=!0,de})();const $=z.EMPTY;function ee(de){return de instanceof z||de&&"closed"in de&&(0,a.m)(de.remove)&&(0,a.m)(de.add)&&(0,a.m)(de.unsubscribe)}function ae(de){(0,a.m)(de)?de():de.unsubscribe()}},2653:(tt,ve,I)=>{I.d(ve,{config:()=>a});const a={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},2572:(tt,ve,I)=>{I.d(ve,{a:()=>U});var a=I(5592),u=I(7453),G=I(2459),ne=I(2737),z=I(7400),$=I(9940),ee=I(2714),ae=I(8251),de=I(7103);function U(...xe){const Te=(0,$.yG)(xe),Ye=(0,$.jO)(xe),{args:Oe,keys:je}=(0,u.D)(xe);if(0===Oe.length)return(0,G.D)([],Te);const Le=new a.y(function J(xe,Te,Ye=ne.y){return Oe=>{fe(Te,()=>{const{length:je}=xe,Le=new Array(je);let et=je,Ve=je;for(let Z=0;Z<je;Z++)fe(Te,()=>{const De=(0,G.D)(xe[Z],Te);let me=!1;De.subscribe((0,ae.x)(Oe,Se=>{Le[Z]=Se,me||(me=!0,Ve--),Ve||Oe.next(Ye(Le.slice()))},()=>{--et||Oe.complete()}))},Oe)},Oe)}}(Oe,Te,je?et=>(0,ee.n)(je,et):ne.y));return Ye?Le.pipe((0,z.Z)(Ye)):Le}function fe(xe,Te,Ye){xe?(0,de.f)(Ye,xe,Te):Te()}},5211:(tt,ve,I)=>{I.d(ve,{z:()=>z});var a=I(7537),G=I(9940),ne=I(2459);function z(...$){return function u(){return(0,a.J)(1)}()((0,ne.D)($,(0,G.yG)($)))}},4911:(tt,ve,I)=>{I.d(ve,{P:()=>G});var a=I(5592),u=I(4829);function G(ne){return new a.y(z=>{(0,u.Xf)(ne()).subscribe(z)})}},6232:(tt,ve,I)=>{I.d(ve,{E:()=>u});const u=new(I(5592).y)(z=>z.complete())},9315:(tt,ve,I)=>{I.d(ve,{D:()=>ae});var a=I(5592),u=I(7453),G=I(4829),ne=I(9940),z=I(8251),$=I(7400),ee=I(2714);function ae(...de){const U=(0,ne.jO)(de),{args:J,keys:fe}=(0,u.D)(de),xe=new a.y(Te=>{const{length:Ye}=J;if(!Ye)return void Te.complete();const Oe=new Array(Ye);let je=Ye,Le=Ye;for(let et=0;et<Ye;et++){let Ve=!1;(0,G.Xf)(J[et]).subscribe((0,z.x)(Te,Z=>{Ve||(Ve=!0,Le--),Oe[et]=Z},()=>je--,void 0,()=>{(!je||!Ve)&&(Le||Te.next(fe?(0,ee.n)(fe,Oe):Oe),Te.complete())}))}});return U?xe.pipe((0,$.Z)(U)):xe}},2459:(tt,ve,I)=>{I.d(ve,{D:()=>De});var a=I(4829),u=I(3093),G=I(5137),$=I(5592),ae=I(4971),de=I(4674),U=I(7103);function fe(me,Se){if(!me)throw new Error("Iterable cannot be null");return new $.y(We=>{(0,U.f)(We,Se,()=>{const $e=me[Symbol.asyncIterator]();(0,U.f)(We,Se,()=>{$e.next().then(st=>{st.done?We.complete():We.next(st.value)})},0,!0)})})}var xe=I(8382),Te=I(4026),Ye=I(4266),Oe=I(3664),je=I(5726),Le=I(9853),et=I(541);function De(me,Se){return Se?function Z(me,Se){if(null!=me){if((0,xe.c)(me))return function ne(me,Se){return(0,a.Xf)(me).pipe((0,G.R)(Se),(0,u.Q)(Se))}(me,Se);if((0,Ye.z)(me))return function ee(me,Se){return new $.y(We=>{let $e=0;return Se.schedule(function(){$e===me.length?We.complete():(We.next(me[$e++]),We.closed||this.schedule())})})}(me,Se);if((0,Te.t)(me))return function z(me,Se){return(0,a.Xf)(me).pipe((0,G.R)(Se),(0,u.Q)(Se))}(me,Se);if((0,je.D)(me))return fe(me,Se);if((0,Oe.T)(me))return function J(me,Se){return new $.y(We=>{let $e;return(0,U.f)(We,Se,()=>{$e=me[ae.h](),(0,U.f)(We,Se,()=>{let st,ht;try{({value:st,done:ht}=$e.next())}catch(It){return void We.error(It)}ht?We.complete():We.next(st)},0,!0)}),()=>(0,de.m)($e?.return)&&$e.return()})}(me,Se);if((0,et.L)(me))return function Ve(me,Se){return fe((0,et.Q)(me),Se)}(me,Se)}throw(0,Le.z)(me)}(me,Se):(0,a.Xf)(me)}},4829:(tt,ve,I)=>{I.d(ve,{Xf:()=>xe});var a=I(7582),u=I(4266),G=I(4026),ne=I(5592),z=I(8382),$=I(5726),ee=I(9853),ae=I(3664),de=I(541),U=I(4674),J=I(3894),fe=I(4850);function xe(Z){if(Z instanceof ne.y)return Z;if(null!=Z){if((0,z.c)(Z))return function Te(Z){return new ne.y(De=>{const me=Z[fe.L]();if((0,U.m)(me.subscribe))return me.subscribe(De);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(Z);if((0,u.z)(Z))return function Ye(Z){return new ne.y(De=>{for(let me=0;me<Z.length&&!De.closed;me++)De.next(Z[me]);De.complete()})}(Z);if((0,G.t)(Z))return function Oe(Z){return new ne.y(De=>{Z.then(me=>{De.closed||(De.next(me),De.complete())},me=>De.error(me)).then(null,J.h)})}(Z);if((0,$.D)(Z))return Le(Z);if((0,ae.T)(Z))return function je(Z){return new ne.y(De=>{for(const me of Z)if(De.next(me),De.closed)return;De.complete()})}(Z);if((0,de.L)(Z))return function et(Z){return Le((0,de.Q)(Z))}(Z)}throw(0,ee.z)(Z)}function Le(Z){return new ne.y(De=>{(function Ve(Z,De){var me,Se,We,$e;return(0,a.mG)(this,void 0,void 0,function*(){try{for(me=(0,a.KL)(Z);!(Se=yield me.next()).done;)if(De.next(Se.value),De.closed)return}catch(st){We={error:st}}finally{try{Se&&!Se.done&&($e=me.return)&&(yield $e.call(me))}finally{if(We)throw We.error}}De.complete()})})(Z,De).catch(me=>De.error(me))})}},3019:(tt,ve,I)=>{I.d(ve,{T:()=>$});var a=I(7537),u=I(4829),G=I(6232),ne=I(9940),z=I(2459);function $(...ee){const ae=(0,ne.yG)(ee),de=(0,ne._6)(ee,1/0),U=ee;return U.length?1===U.length?(0,u.Xf)(U[0]):(0,a.J)(de)((0,z.D)(U,ae)):G.E}},2096:(tt,ve,I)=>{I.d(ve,{of:()=>G});var a=I(9940),u=I(2459);function G(...ne){const z=(0,a.yG)(ne);return(0,u.D)(ne,z)}},8504:(tt,ve,I)=>{I.d(ve,{_:()=>G});var a=I(5592),u=I(4674);function G(ne,z){const $=(0,u.m)(ne)?ne:()=>ne,ee=ae=>ae.error($());return new a.y(z?ae=>z.schedule(ee,0,ae):ee)}},9080:(tt,ve,I)=>{I.d(ve,{H:()=>z});var a=I(5592),u=I(6321),G=I(671),ne=I(93);function z($=0,ee,ae=u.P){let de=-1;return null!=ee&&((0,G.K)(ee)?ae=ee:de=ee),new a.y(U=>{let J=(0,ne.q)($)?+$-ae.now():$;J<0&&(J=0);let fe=0;return ae.schedule(function(){U.closed||(U.next(fe++),0<=de?this.schedule(void 0,de):U.complete())},J)})}},8251:(tt,ve,I)=>{I.d(ve,{x:()=>u});var a=I(305);function u(ne,z,$,ee,ae){return new G(ne,z,$,ee,ae)}class G extends a.Lv{constructor(z,$,ee,ae,de,U){super(z),this.onFinalize=de,this.shouldUnsubscribe=U,this._next=$?function(J){try{$(J)}catch(fe){z.error(fe)}}:super._next,this._error=ae?function(J){try{ae(J)}catch(fe){z.error(fe)}finally{this.unsubscribe()}}:super._error,this._complete=ee?function(){try{ee()}catch(J){z.error(J)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var z;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:$}=this;super.unsubscribe(),!$&&(null===(z=this.onFinalize)||void 0===z||z.call(this))}}}},6306:(tt,ve,I)=>{I.d(ve,{K:()=>ne});var a=I(4829),u=I(8251),G=I(9360);function ne(z){return(0,G.e)(($,ee)=>{let U,ae=null,de=!1;ae=$.subscribe((0,u.x)(ee,void 0,void 0,J=>{U=(0,a.Xf)(z(J,ne(z)($))),ae?(ae.unsubscribe(),ae=null,U.subscribe(ee)):de=!0})),de&&(ae.unsubscribe(),ae=null,U.subscribe(ee))})}},6328:(tt,ve,I)=>{I.d(ve,{b:()=>G});var a=I(1631),u=I(4674);function G(ne,z){return(0,u.m)(z)?(0,a.z)(ne,z,1):(0,a.z)(ne,1)}},3572:(tt,ve,I)=>{I.d(ve,{d:()=>G});var a=I(9360),u=I(8251);function G(ne){return(0,a.e)((z,$)=>{let ee=!1;z.subscribe((0,u.x)($,ae=>{ee=!0,$.next(ae)},()=>{ee||$.next(ne),$.complete()}))})}},3997:(tt,ve,I)=>{I.d(ve,{x:()=>ne});var a=I(2737),u=I(9360),G=I(8251);function ne($,ee=a.y){return $=$??z,(0,u.e)((ae,de)=>{let U,J=!0;ae.subscribe((0,G.x)(de,fe=>{const xe=ee(fe);(J||!$(U,xe))&&(J=!1,U=xe,de.next(fe))}))})}function z($,ee){return $===ee}},2181:(tt,ve,I)=>{I.d(ve,{h:()=>G});var a=I(9360),u=I(8251);function G(ne,z){return(0,a.e)(($,ee)=>{let ae=0;$.subscribe((0,u.x)(ee,de=>ne.call(z,de,ae++)&&ee.next(de)))})}},4716:(tt,ve,I)=>{I.d(ve,{x:()=>u});var a=I(9360);function u(G){return(0,a.e)((ne,z)=>{try{ne.subscribe(z)}finally{z.add(G)}})}},1374:(tt,ve,I)=>{I.d(ve,{P:()=>ee});var a=I(6973),u=I(2181),G=I(8180),ne=I(3572),z=I(3026),$=I(2737);function ee(ae,de){const U=arguments.length>=2;return J=>J.pipe(ae?(0,u.h)((fe,xe)=>ae(fe,xe,J)):$.y,(0,G.q)(1),U?(0,ne.d)(de):(0,z.T)(()=>new a.K))}},7398:(tt,ve,I)=>{I.d(ve,{U:()=>G});var a=I(9360),u=I(8251);function G(ne,z){return(0,a.e)(($,ee)=>{let ae=0;$.subscribe((0,u.x)(ee,de=>{ee.next(ne.call(z,de,ae++))}))})}},975:(tt,ve,I)=>{I.d(ve,{h:()=>u});var a=I(7398);function u(G){return(0,a.U)(()=>G)}},7537:(tt,ve,I)=>{I.d(ve,{J:()=>G});var a=I(1631),u=I(2737);function G(ne=1/0){return(0,a.z)(u.y,ne)}},1631:(tt,ve,I)=>{I.d(ve,{z:()=>ae});var a=I(7398),u=I(4829),G=I(9360),ne=I(7103),z=I(8251),ee=I(4674);function ae(de,U,J=1/0){return(0,ee.m)(U)?ae((fe,xe)=>(0,a.U)((Te,Ye)=>U(fe,Te,xe,Ye))((0,u.Xf)(de(fe,xe))),J):("number"==typeof U&&(J=U),(0,G.e)((fe,xe)=>function $(de,U,J,fe,xe,Te,Ye,Oe){const je=[];let Le=0,et=0,Ve=!1;const Z=()=>{Ve&&!je.length&&!Le&&U.complete()},De=Se=>Le<fe?me(Se):je.push(Se),me=Se=>{Te&&U.next(Se),Le++;let We=!1;(0,u.Xf)(J(Se,et++)).subscribe((0,z.x)(U,$e=>{xe?.($e),Te?De($e):U.next($e)},()=>{We=!0},void 0,()=>{if(We)try{for(Le--;je.length&&Le<fe;){const $e=je.shift();Ye?(0,ne.f)(U,Ye,()=>me($e)):me($e)}Z()}catch($e){U.error($e)}}))};return de.subscribe((0,z.x)(U,De,()=>{Ve=!0,Z()})),()=>{Oe?.()}}(fe,xe,de,J)))}},3093:(tt,ve,I)=>{I.d(ve,{Q:()=>ne});var a=I(7103),u=I(9360),G=I(8251);function ne(z,$=0){return(0,u.e)((ee,ae)=>{ee.subscribe((0,G.x)(ae,de=>(0,a.f)(ae,z,()=>ae.next(de),$),()=>(0,a.f)(ae,z,()=>ae.complete(),$),de=>(0,a.f)(ae,z,()=>ae.error(de),$)))})}},3020:(tt,ve,I)=>{I.d(ve,{B:()=>z});var a=I(4829),u=I(8645),G=I(305),ne=I(9360);function z(ee={}){const{connector:ae=(()=>new u.x),resetOnError:de=!0,resetOnComplete:U=!0,resetOnRefCountZero:J=!0}=ee;return fe=>{let xe,Te,Ye,Oe=0,je=!1,Le=!1;const et=()=>{Te?.unsubscribe(),Te=void 0},Ve=()=>{et(),xe=Ye=void 0,je=Le=!1},Z=()=>{const De=xe;Ve(),De?.unsubscribe()};return(0,ne.e)((De,me)=>{Oe++,!Le&&!je&&et();const Se=Ye=Ye??ae();me.add(()=>{Oe--,0===Oe&&!Le&&!je&&(Te=$(Z,J))}),Se.subscribe(me),!xe&&Oe>0&&(xe=new G.Hp({next:We=>Se.next(We),error:We=>{Le=!0,et(),Te=$(Ve,de,We),Se.error(We)},complete:()=>{je=!0,et(),Te=$(Ve,U),Se.complete()}}),(0,a.Xf)(De).subscribe(xe))})(fe)}}function $(ee,ae,...de){if(!0===ae)return void ee();if(!1===ae)return;const U=new G.Hp({next:()=>{U.unsubscribe(),ee()}});return(0,a.Xf)(ae(...de)).subscribe(U)}},7081:(tt,ve,I)=>{I.d(ve,{d:()=>G});var a=I(7328),u=I(3020);function G(ne,z,$){let ee,ae=!1;return ne&&"object"==typeof ne?({bufferSize:ee=1/0,windowTime:z=1/0,refCount:ae=!1,scheduler:$}=ne):ee=ne??1/0,(0,u.B)({connector:()=>new a.t(ee,z,$),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:ae})}},7921:(tt,ve,I)=>{I.d(ve,{O:()=>ne});var a=I(5211),u=I(9940),G=I(9360);function ne(...z){const $=(0,u.yG)(z);return(0,G.e)((ee,ae)=>{($?(0,a.z)(z,ee,$):(0,a.z)(z,ee)).subscribe(ae)})}},5137:(tt,ve,I)=>{I.d(ve,{R:()=>u});var a=I(9360);function u(G,ne=0){return(0,a.e)((z,$)=>{$.add(G.schedule(()=>z.subscribe($),ne))})}},4664:(tt,ve,I)=>{I.d(ve,{w:()=>ne});var a=I(4829),u=I(9360),G=I(8251);function ne(z,$){return(0,u.e)((ee,ae)=>{let de=null,U=0,J=!1;const fe=()=>J&&!de&&ae.complete();ee.subscribe((0,G.x)(ae,xe=>{de?.unsubscribe();let Te=0;const Ye=U++;(0,a.Xf)(z(xe,Ye)).subscribe(de=(0,G.x)(ae,Oe=>ae.next($?$(xe,Oe,Ye,Te++):Oe),()=>{de=null,fe()}))},()=>{J=!0,fe()}))})}},8180:(tt,ve,I)=>{I.d(ve,{q:()=>ne});var a=I(6232),u=I(9360),G=I(8251);function ne(z){return z<=0?()=>a.E:(0,u.e)(($,ee)=>{let ae=0;$.subscribe((0,G.x)(ee,de=>{++ae<=z&&(ee.next(de),z<=ae&&ee.complete())}))})}},9773:(tt,ve,I)=>{I.d(ve,{R:()=>z});var a=I(9360),u=I(8251),G=I(4829),ne=I(2420);function z($){return(0,a.e)((ee,ae)=>{(0,G.Xf)($).subscribe((0,u.x)(ae,()=>ae.complete(),ne.Z)),!ae.closed&&ee.subscribe(ae)})}},9397:(tt,ve,I)=>{I.d(ve,{b:()=>z});var a=I(4674),u=I(9360),G=I(8251),ne=I(2737);function z($,ee,ae){const de=(0,a.m)($)||ee||ae?{next:$,error:ee,complete:ae}:$;return de?(0,u.e)((U,J)=>{var fe;null===(fe=de.subscribe)||void 0===fe||fe.call(de);let xe=!0;U.subscribe((0,G.x)(J,Te=>{var Ye;null===(Ye=de.next)||void 0===Ye||Ye.call(de,Te),J.next(Te)},()=>{var Te;xe=!1,null===(Te=de.complete)||void 0===Te||Te.call(de),J.complete()},Te=>{var Ye;xe=!1,null===(Ye=de.error)||void 0===Ye||Ye.call(de,Te),J.error(Te)},()=>{var Te,Ye;xe&&(null===(Te=de.unsubscribe)||void 0===Te||Te.call(de)),null===(Ye=de.finalize)||void 0===Ye||Ye.call(de)}))}):ne.y}},3026:(tt,ve,I)=>{I.d(ve,{T:()=>ne});var a=I(6973),u=I(9360),G=I(8251);function ne($=z){return(0,u.e)((ee,ae)=>{let de=!1;ee.subscribe((0,G.x)(ae,U=>{de=!0,ae.next(U)},()=>de?ae.complete():ae.error($())))})}function z(){return new a.K}},1954:(tt,ve,I)=>{I.d(ve,{o:()=>z});var a=I(7394);class u extends a.w0{constructor(ee,ae){super()}schedule(ee,ae=0){return this}}const G={setInterval($,ee,...ae){const{delegate:de}=G;return de?.setInterval?de.setInterval($,ee,...ae):setInterval($,ee,...ae)},clearInterval($){const{delegate:ee}=G;return(ee?.clearInterval||clearInterval)($)},delegate:void 0};var ne=I(9039);class z extends u{constructor(ee,ae){super(ee,ae),this.scheduler=ee,this.work=ae,this.pending=!1}schedule(ee,ae=0){var de;if(this.closed)return this;this.state=ee;const U=this.id,J=this.scheduler;return null!=U&&(this.id=this.recycleAsyncId(J,U,ae)),this.pending=!0,this.delay=ae,this.id=null!==(de=this.id)&&void 0!==de?de:this.requestAsyncId(J,this.id,ae),this}requestAsyncId(ee,ae,de=0){return G.setInterval(ee.flush.bind(ee,this),de)}recycleAsyncId(ee,ae,de=0){if(null!=de&&this.delay===de&&!1===this.pending)return ae;null!=ae&&G.clearInterval(ae)}execute(ee,ae){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const de=this._execute(ee,ae);if(de)return de;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(ee,ae){let U,de=!1;try{this.work(ee)}catch(J){de=!0,U=J||new Error("Scheduled action threw falsy error")}if(de)return this.unsubscribe(),U}unsubscribe(){if(!this.closed){const{id:ee,scheduler:ae}=this,{actions:de}=ae;this.work=this.state=this.scheduler=null,this.pending=!1,(0,ne.P)(de,this),null!=ee&&(this.id=this.recycleAsyncId(ae,ee,null)),this.delay=null,super.unsubscribe()}}}},2631:(tt,ve,I)=>{I.d(ve,{v:()=>G});var a=I(4552);class u{constructor(z,$=u.now){this.schedulerActionCtor=z,this.now=$}schedule(z,$=0,ee){return new this.schedulerActionCtor(this,z).schedule(ee,$)}}u.now=a.l.now;class G extends u{constructor(z,$=u.now){super(z,$),this.actions=[],this._active=!1}flush(z){const{actions:$}=this;if(this._active)return void $.push(z);let ee;this._active=!0;do{if(ee=z.execute(z.state,z.delay))break}while(z=$.shift());if(this._active=!1,ee){for(;z=$.shift();)z.unsubscribe();throw ee}}}},6321:(tt,ve,I)=>{I.d(ve,{P:()=>ne,z:()=>G});var a=I(1954);const G=new(I(2631).v)(a.o),ne=G},4552:(tt,ve,I)=>{I.d(ve,{l:()=>a});const a={now:()=>(a.delegate||Date).now(),delegate:void 0}},7599:(tt,ve,I)=>{I.d(ve,{z:()=>a});const a={setTimeout(u,G,...ne){const{delegate:z}=a;return z?.setTimeout?z.setTimeout(u,G,...ne):setTimeout(u,G,...ne)},clearTimeout(u){const{delegate:G}=a;return(G?.clearTimeout||clearTimeout)(u)},delegate:void 0}},4971:(tt,ve,I)=>{I.d(ve,{h:()=>u});const u=function a(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},4850:(tt,ve,I)=>{I.d(ve,{L:()=>a});const a="function"==typeof Symbol&&Symbol.observable||"@@observable"},6973:(tt,ve,I)=>{I.d(ve,{K:()=>u});const u=(0,I(2306).d)(G=>function(){G(this),this.name="EmptyError",this.message="no elements in sequence"})},9940:(tt,ve,I)=>{I.d(ve,{_6:()=>$,jO:()=>ne,yG:()=>z});var a=I(4674),u=I(671);function G(ee){return ee[ee.length-1]}function ne(ee){return(0,a.m)(G(ee))?ee.pop():void 0}function z(ee){return(0,u.K)(G(ee))?ee.pop():void 0}function $(ee,ae){return"number"==typeof G(ee)?ee.pop():ae}},7453:(tt,ve,I)=>{I.d(ve,{D:()=>z});const{isArray:a}=Array,{getPrototypeOf:u,prototype:G,keys:ne}=Object;function z(ee){if(1===ee.length){const ae=ee[0];if(a(ae))return{args:ae,keys:null};if(function $(ee){return ee&&"object"==typeof ee&&u(ee)===G}(ae)){const de=ne(ae);return{args:de.map(U=>ae[U]),keys:de}}}return{args:ee,keys:null}}},9039:(tt,ve,I)=>{function a(u,G){if(u){const ne=u.indexOf(G);0<=ne&&u.splice(ne,1)}}I.d(ve,{P:()=>a})},2306:(tt,ve,I)=>{function a(u){const ne=u(z=>{Error.call(z),z.stack=(new Error).stack});return ne.prototype=Object.create(Error.prototype),ne.prototype.constructor=ne,ne}I.d(ve,{d:()=>a})},2714:(tt,ve,I)=>{function a(u,G){return u.reduce((ne,z,$)=>(ne[z]=G[$],ne),{})}I.d(ve,{n:()=>a})},1441:(tt,ve,I)=>{I.d(ve,{O:()=>ne,x:()=>G});var a=I(2653);let u=null;function G(z){if(a.config.useDeprecatedSynchronousErrorHandling){const $=!u;if($&&(u={errorThrown:!1,error:null}),z(),$){const{errorThrown:ee,error:ae}=u;if(u=null,ee)throw ae}}else z()}function ne(z){a.config.useDeprecatedSynchronousErrorHandling&&u&&(u.errorThrown=!0,u.error=z)}},7103:(tt,ve,I)=>{function a(u,G,ne,z=0,$=!1){const ee=G.schedule(function(){ne(),$?u.add(this.schedule(null,z)):this.unsubscribe()},z);if(u.add(ee),!$)return ee}I.d(ve,{f:()=>a})},2737:(tt,ve,I)=>{function a(u){return u}I.d(ve,{y:()=>a})},4266:(tt,ve,I)=>{I.d(ve,{z:()=>a});const a=u=>u&&"number"==typeof u.length&&"function"!=typeof u},5726:(tt,ve,I)=>{I.d(ve,{D:()=>u});var a=I(4674);function u(G){return Symbol.asyncIterator&&(0,a.m)(G?.[Symbol.asyncIterator])}},93:(tt,ve,I)=>{function a(u){return u instanceof Date&&!isNaN(u)}I.d(ve,{q:()=>a})},4674:(tt,ve,I)=>{function a(u){return"function"==typeof u}I.d(ve,{m:()=>a})},8382:(tt,ve,I)=>{I.d(ve,{c:()=>G});var a=I(4850),u=I(4674);function G(ne){return(0,u.m)(ne[a.L])}},3664:(tt,ve,I)=>{I.d(ve,{T:()=>G});var a=I(4971),u=I(4674);function G(ne){return(0,u.m)(ne?.[a.h])}},4026:(tt,ve,I)=>{I.d(ve,{t:()=>u});var a=I(4674);function u(G){return(0,a.m)(G?.then)}},541:(tt,ve,I)=>{I.d(ve,{L:()=>ne,Q:()=>G});var a=I(7582),u=I(4674);function G(z){return(0,a.FC)(this,arguments,function*(){const ee=z.getReader();try{for(;;){const{value:ae,done:de}=yield(0,a.qq)(ee.read());if(de)return yield(0,a.qq)(void 0);yield yield(0,a.qq)(ae)}}finally{ee.releaseLock()}})}function ne(z){return(0,u.m)(z?.getReader)}},671:(tt,ve,I)=>{I.d(ve,{K:()=>u});var a=I(4674);function u(G){return G&&(0,a.m)(G.schedule)}},9360:(tt,ve,I)=>{I.d(ve,{A:()=>u,e:()=>G});var a=I(4674);function u(ne){return(0,a.m)(ne?.lift)}function G(ne){return z=>{if(u(z))return z.lift(function($){try{return ne($,this)}catch(ee){this.error(ee)}});throw new TypeError("Unable to lift unknown Observable type")}}},7400:(tt,ve,I)=>{I.d(ve,{Z:()=>ne});var a=I(7398);const{isArray:u}=Array;function ne(z){return(0,a.U)($=>function G(z,$){return u($)?z(...$):z($)}(z,$))}},2420:(tt,ve,I)=>{function a(){}I.d(ve,{Z:()=>a})},8407:(tt,ve,I)=>{I.d(ve,{U:()=>G,z:()=>u});var a=I(2737);function u(...ne){return G(ne)}function G(ne){return 0===ne.length?a.y:1===ne.length?ne[0]:function($){return ne.reduce((ee,ae)=>ae(ee),$)}}},3894:(tt,ve,I)=>{I.d(ve,{h:()=>G});var a=I(2653),u=I(7599);function G(ne){u.z.setTimeout(()=>{const{onUnhandledError:z}=a.config;if(!z)throw ne;z(ne)})}},9853:(tt,ve,I)=>{function a(u){return new TypeError(`You provided ${null!==u&&"object"==typeof u?"an invalid object":`'${u}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}I.d(ve,{z:()=>a})},6825:(tt,ve,I)=>{I.d(ve,{F4:()=>U,IO:()=>Ye,LC:()=>u,SB:()=>de,X$:()=>ne,ZE:()=>Le,ZN:()=>je,_7:()=>Te,_j:()=>a,eR:()=>J,jt:()=>z,k1:()=>et,l3:()=>G,oB:()=>ae,oQ:()=>fe,pV:()=>xe,ru:()=>$,vP:()=>ee});class a{}class u{}const G="*";function ne(Ve,Z){return{type:7,name:Ve,definitions:Z,options:{}}}function z(Ve,Z=null){return{type:4,styles:Z,timings:Ve}}function $(Ve,Z=null){return{type:3,steps:Ve,options:Z}}function ee(Ve,Z=null){return{type:2,steps:Ve,options:Z}}function ae(Ve){return{type:6,styles:Ve,offset:null}}function de(Ve,Z,De){return{type:0,name:Ve,styles:Z,options:De}}function U(Ve){return{type:5,steps:Ve}}function J(Ve,Z,De=null){return{type:1,expr:Ve,animation:Z,options:De}}function fe(Ve,Z=null){return{type:8,animation:Ve,options:Z}}function xe(Ve=null){return{type:9,options:Ve}}function Te(Ve,Z=null){return{type:10,animation:Ve,options:Z}}function Ye(Ve,Z,De=null){return{type:11,selector:Ve,animation:Z,options:De}}class je{constructor(Z=0,De=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=Z+De}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(Z=>Z()),this._onDoneFns=[])}onStart(Z){this._originalOnStartFns.push(Z),this._onStartFns.push(Z)}onDone(Z){this._originalOnDoneFns.push(Z),this._onDoneFns.push(Z)}onDestroy(Z){this._onDestroyFns.push(Z)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(Z=>Z()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(Z=>Z()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(Z){this._position=this.totalTime?Z*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(Z){const De="start"==Z?this._onStartFns:this._onDoneFns;De.forEach(me=>me()),De.length=0}}class Le{constructor(Z){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=Z;let De=0,me=0,Se=0;const We=this.players.length;0==We?queueMicrotask(()=>this._onFinish()):this.players.forEach($e=>{$e.onDone(()=>{++De==We&&this._onFinish()}),$e.onDestroy(()=>{++me==We&&this._onDestroy()}),$e.onStart(()=>{++Se==We&&this._onStart()})}),this.totalTime=this.players.reduce(($e,st)=>Math.max($e,st.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(Z=>Z()),this._onDoneFns=[])}init(){this.players.forEach(Z=>Z.init())}onStart(Z){this._onStartFns.push(Z)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(Z=>Z()),this._onStartFns=[])}onDone(Z){this._onDoneFns.push(Z)}onDestroy(Z){this._onDestroyFns.push(Z)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(Z=>Z.play())}pause(){this.players.forEach(Z=>Z.pause())}restart(){this.players.forEach(Z=>Z.restart())}finish(){this._onFinish(),this.players.forEach(Z=>Z.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(Z=>Z.destroy()),this._onDestroyFns.forEach(Z=>Z()),this._onDestroyFns=[])}reset(){this.players.forEach(Z=>Z.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(Z){const De=Z*this.totalTime;this.players.forEach(me=>{const Se=me.totalTime?Math.min(1,De/me.totalTime):1;me.setPosition(Se)})}getPosition(){const Z=this.players.reduce((De,me)=>null===De||me.totalTime>De.totalTime?me:De,null);return null!=Z?Z.getPosition():0}beforeDestroy(){this.players.forEach(Z=>{Z.beforeDestroy&&Z.beforeDestroy()})}triggerCallback(Z){const De="start"==Z?this._onStartFns:this._onDoneFns;De.forEach(me=>me()),De.length=0}}const et="!"},6814:(tt,ve,I)=>{I.d(ve,{$G:()=>wn,Do:()=>Oe,ED:()=>Ti,EM:()=>Hr,HT:()=>ne,JF:()=>co,JJ:()=>dt,K0:()=>$,Mx:()=>Gn,NF:()=>Ts,O5:()=>fr,OU:()=>qn,Ov:()=>zs,PC:()=>ko,PM:()=>Bo,RF:()=>To,S$:()=>xe,V_:()=>ae,Ye:()=>je,b0:()=>Ye,bD:()=>_o,ez:()=>Wn,mk:()=>tn,n9:()=>Us,q:()=>G,sg:()=>_n,tP:()=>Cs,uU:()=>go,w_:()=>z});var a=I(5879);let u=null;function G(){return u}function ne(g){u||(u=g)}class z{}const $=new a.OlP("DocumentToken");let ee=(()=>{var g;class T{historyGo(b){throw new Error("Not implemented")}}return(g=T).\u0275fac=function(b){return new(b||g)},g.\u0275prov=a.Yz7({token:g,factory:function(){return(0,a.f3M)(de)},providedIn:"platform"}),T})();const ae=new a.OlP("Location Initialized");let de=(()=>{var g;class T extends ee{constructor(){super(),this._doc=(0,a.f3M)($),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return G().getBaseHref(this._doc)}onPopState(b){const V=G().getGlobalEventTarget(this._doc,"window");return V.addEventListener("popstate",b,!1),()=>V.removeEventListener("popstate",b)}onHashChange(b){const V=G().getGlobalEventTarget(this._doc,"window");return V.addEventListener("hashchange",b,!1),()=>V.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,V,le){this._history.pushState(b,V,le)}replaceState(b,V,le){this._history.replaceState(b,V,le)}forward(){this._history.forward()}back(){this._history.back()}historyGo(b=0){this._history.go(b)}getState(){return this._history.state}}return(g=T).\u0275fac=function(b){return new(b||g)},g.\u0275prov=a.Yz7({token:g,factory:function(){return new g},providedIn:"platform"}),T})();function U(g,T){if(0==g.length)return T;if(0==T.length)return g;let Y=0;return g.endsWith("/")&&Y++,T.startsWith("/")&&Y++,2==Y?g+T.substring(1):1==Y?g+T:g+"/"+T}function J(g){const T=g.match(/#|\?|$/),Y=T&&T.index||g.length;return g.slice(0,Y-("/"===g[Y-1]?1:0))+g.slice(Y)}function fe(g){return g&&"?"!==g[0]?"?"+g:g}let xe=(()=>{var g;class T{historyGo(b){throw new Error("Not implemented")}}return(g=T).\u0275fac=function(b){return new(b||g)},g.\u0275prov=a.Yz7({token:g,factory:function(){return(0,a.f3M)(Ye)},providedIn:"root"}),T})();const Te=new a.OlP("appBaseHref");let Ye=(()=>{var g;class T extends xe{constructor(b,V){super(),this._platformLocation=b,this._removeListenerFns=[],this._baseHref=V??this._platformLocation.getBaseHrefFromDOM()??(0,a.f3M)($).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 U(this._baseHref,b)}path(b=!1){const V=this._platformLocation.pathname+fe(this._platformLocation.search),le=this._platformLocation.hash;return le&&b?`${V}${le}`:V}pushState(b,V,le,ze){const it=this.prepareExternalUrl(le+fe(ze));this._platformLocation.pushState(b,V,it)}replaceState(b,V,le,ze){const it=this.prepareExternalUrl(le+fe(ze));this._platformLocation.replaceState(b,V,it)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(b=0){this._platformLocation.historyGo?.(b)}}return(g=T).\u0275fac=function(b){return new(b||g)(a.LFG(ee),a.LFG(Te,8))},g.\u0275prov=a.Yz7({token:g,factory:g.\u0275fac,providedIn:"root"}),T})(),Oe=(()=>{var g;class T extends xe{constructor(b,V){super(),this._platformLocation=b,this._baseHref="",this._removeListenerFns=[],null!=V&&(this._baseHref=V)}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 V=this._platformLocation.hash;return null==V&&(V="#"),V.length>0?V.substring(1):V}prepareExternalUrl(b){const V=U(this._baseHref,b);return V.length>0?"#"+V:V}pushState(b,V,le,ze){let it=this.prepareExternalUrl(le+fe(ze));0==it.length&&(it=this._platformLocation.pathname),this._platformLocation.pushState(b,V,it)}replaceState(b,V,le,ze){let it=this.prepareExternalUrl(le+fe(ze));0==it.length&&(it=this._platformLocation.pathname),this._platformLocation.replaceState(b,V,it)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(b=0){this._platformLocation.historyGo?.(b)}}return(g=T).\u0275fac=function(b){return new(b||g)(a.LFG(ee),a.LFG(Te,8))},g.\u0275prov=a.Yz7({token:g,factory:g.\u0275fac}),T})(),je=(()=>{var g;class T{constructor(b){this._subject=new a.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=b;const V=this._locationStrategy.getBaseHref();this._basePath=function Z(g){if(new RegExp("^(https?:)?//").test(g)){const[,Y]=g.split(/\/\/[^\/]+/);return Y}return g}(J(Ve(V))),this._locationStrategy.onPopState(le=>{this._subject.emit({url:this.path(!0),pop:!0,state:le.state,type:le.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(b=!1){return this.normalize(this._locationStrategy.path(b))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(b,V=""){return this.path()==this.normalize(b+fe(V))}normalize(b){return T.stripTrailingSlash(function et(g,T){if(!g||!T.startsWith(g))return T;const Y=T.substring(g.length);return""===Y||["/",";","?","#"].includes(Y[0])?Y:T}(this._basePath,Ve(b)))}prepareExternalUrl(b){return b&&"/"!==b[0]&&(b="/"+b),this._locationStrategy.prepareExternalUrl(b)}go(b,V="",le=null){this._locationStrategy.pushState(le,"",b,V),this._notifyUrlChangeListeners(this.prepareExternalUrl(b+fe(V)),le)}replaceState(b,V="",le=null){this._locationStrategy.replaceState(le,"",b,V),this._notifyUrlChangeListeners(this.prepareExternalUrl(b+fe(V)),le)}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(V=>{this._notifyUrlChangeListeners(V.url,V.state)})),()=>{const V=this._urlChangeListeners.indexOf(b);this._urlChangeListeners.splice(V,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(b="",V){this._urlChangeListeners.forEach(le=>le(b,V))}subscribe(b,V,le){return this._subject.subscribe({next:b,error:V,complete:le})}}return(g=T).normalizeQueryParams=fe,g.joinWithSlash=U,g.stripTrailingSlash=J,g.\u0275fac=function(b){return new(b||g)(a.LFG(xe))},g.\u0275prov=a.Yz7({token:g,factory:function(){return function Le(){return new je((0,a.LFG)(xe))}()},providedIn:"root"}),T})();function Ve(g){return g.replace(/\/index.html$/,"")}var me=function(g){return g[g.Decimal=0]="Decimal",g[g.Percent=1]="Percent",g[g.Currency=2]="Currency",g[g.Scientific=3]="Scientific",g}(me||{}),We=function(g){return g[g.Format=0]="Format",g[g.Standalone=1]="Standalone",g}(We||{}),$e=function(g){return g[g.Narrow=0]="Narrow",g[g.Abbreviated=1]="Abbreviated",g[g.Wide=2]="Wide",g[g.Short=3]="Short",g}($e||{}),st=function(g){return g[g.Short=0]="Short",g[g.Medium=1]="Medium",g[g.Long=2]="Long",g[g.Full=3]="Full",g}(st||{}),ht=function(g){return g[g.Decimal=0]="Decimal",g[g.Group=1]="Group",g[g.List=2]="List",g[g.PercentSign=3]="PercentSign",g[g.PlusSign=4]="PlusSign",g[g.MinusSign=5]="MinusSign",g[g.Exponential=6]="Exponential",g[g.SuperscriptingExponent=7]="SuperscriptingExponent",g[g.PerMille=8]="PerMille",g[g.Infinity=9]="Infinity",g[g.NaN=10]="NaN",g[g.TimeSeparator=11]="TimeSeparator",g[g.CurrencyDecimal=12]="CurrencyDecimal",g[g.CurrencyGroup=13]="CurrencyGroup",g}(ht||{});function Ne(g,T){return xt((0,a.cg1)(g)[a.wAp.DateFormat],T)}function Ue(g,T){return xt((0,a.cg1)(g)[a.wAp.TimeFormat],T)}function Ge(g,T){return xt((0,a.cg1)(g)[a.wAp.DateTimeFormat],T)}function Ce(g,T){const Y=(0,a.cg1)(g),b=Y[a.wAp.NumberSymbols][T];if(typeof b>"u"){if(T===ht.CurrencyDecimal)return Y[a.wAp.NumberSymbols][ht.Decimal];if(T===ht.CurrencyGroup)return Y[a.wAp.NumberSymbols][ht.Group]}return b}function Dt(g){if(!g[a.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${g[a.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function xt(g,T){for(let Y=T;Y>-1;Y--)if(typeof g[Y]<"u")return g[Y];throw new Error("Locale data API: locale data undefined")}function xn(g){const[T,Y]=g.split(":");return{hours:+T,minutes:+Y}}const Vn=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,sr={},Xn=/((?:[^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 ct=function(g){return g[g.Short=0]="Short",g[g.ShortGMT=1]="ShortGMT",g[g.Long=2]="Long",g[g.Extended=3]="Extended",g}(ct||{}),Vt=function(g){return g[g.FullYear=0]="FullYear",g[g.Month=1]="Month",g[g.Date=2]="Date",g[g.Hours=3]="Hours",g[g.Minutes=4]="Minutes",g[g.Seconds=5]="Seconds",g[g.FractionalSeconds=6]="FractionalSeconds",g[g.Day=7]="Day",g}(Vt||{}),Tt=function(g){return g[g.DayPeriods=0]="DayPeriods",g[g.Days=1]="Days",g[g.Months=2]="Months",g[g.Eras=3]="Eras",g}(Tt||{});function rn(g,T,Y,b){let V=function k(g){if(te(g))return g;if("number"==typeof g&&!isNaN(g))return new Date(g);if("string"==typeof g){if(g=g.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(g)){const[V,le=1,ze=1]=g.split("-").map(it=>+it);return jn(V,le-1,ze)}const Y=parseFloat(g);if(!isNaN(g-Y))return new Date(Y);let b;if(b=g.match(Vn))return function x(g){const T=new Date(0);let Y=0,b=0;const V=g[8]?T.setUTCFullYear:T.setFullYear,le=g[8]?T.setUTCHours:T.setHours;g[9]&&(Y=Number(g[9]+g[10]),b=Number(g[9]+g[11])),V.call(T,Number(g[1]),Number(g[2])-1,Number(g[3]));const ze=Number(g[4]||0)-Y,it=Number(g[5]||0)-b,Jt=Number(g[6]||0),vn=Math.floor(1e3*parseFloat("0."+(g[7]||0)));return le.call(T,ze,it,Jt,vn),T}(b)}const T=new Date(g);if(!te(T))throw new Error(`Unable to convert "${g}" into a date`);return T}(g);T=jt(Y,T)||T;let it,ze=[];for(;T;){if(it=Xn.exec(T),!it){ze.push(T);break}{ze=ze.concat(it.slice(1));const gn=ze.pop();if(!gn)break;T=gn}}let Jt=V.getTimezoneOffset();b&&(Jt=Dr(b,Jt),V=function ie(g,T,Y){const b=Y?-1:1,V=g.getTimezoneOffset();return function so(g,T){return(g=new Date(g.getTime())).setMinutes(g.getMinutes()+T),g}(g,b*(Dr(T,V)-V))}(V,b,!0));let vn="";return ze.forEach(gn=>{const Gt=function vr(g){if(lr[g])return lr[g];let T;switch(g){case"G":case"GG":case"GGG":T=kt(Tt.Eras,$e.Abbreviated);break;case"GGGG":T=kt(Tt.Eras,$e.Wide);break;case"GGGGG":T=kt(Tt.Eras,$e.Narrow);break;case"y":T=cn(Vt.FullYear,1,0,!1,!0);break;case"yy":T=cn(Vt.FullYear,2,0,!0,!0);break;case"yyy":T=cn(Vt.FullYear,3,0,!1,!0);break;case"yyyy":T=cn(Vt.FullYear,4,0,!1,!0);break;case"Y":T=er(1);break;case"YY":T=er(2,!0);break;case"YYY":T=er(3);break;case"YYYY":T=er(4);break;case"M":case"L":T=cn(Vt.Month,1,1);break;case"MM":case"LL":T=cn(Vt.Month,2,1);break;case"MMM":T=kt(Tt.Months,$e.Abbreviated);break;case"MMMM":T=kt(Tt.Months,$e.Wide);break;case"MMMMM":T=kt(Tt.Months,$e.Narrow);break;case"LLL":T=kt(Tt.Months,$e.Abbreviated,We.Standalone);break;case"LLLL":T=kt(Tt.Months,$e.Wide,We.Standalone);break;case"LLLLL":T=kt(Tt.Months,$e.Narrow,We.Standalone);break;case"w":T=ar(1);break;case"ww":T=ar(2);break;case"W":T=ar(1,!0);break;case"d":T=cn(Vt.Date,1);break;case"dd":T=cn(Vt.Date,2);break;case"c":case"cc":T=cn(Vt.Day,1);break;case"ccc":T=kt(Tt.Days,$e.Abbreviated,We.Standalone);break;case"cccc":T=kt(Tt.Days,$e.Wide,We.Standalone);break;case"ccccc":T=kt(Tt.Days,$e.Narrow,We.Standalone);break;case"cccccc":T=kt(Tt.Days,$e.Short,We.Standalone);break;case"E":case"EE":case"EEE":T=kt(Tt.Days,$e.Abbreviated);break;case"EEEE":T=kt(Tt.Days,$e.Wide);break;case"EEEEE":T=kt(Tt.Days,$e.Narrow);break;case"EEEEEE":T=kt(Tt.Days,$e.Short);break;case"a":case"aa":case"aaa":T=kt(Tt.DayPeriods,$e.Abbreviated);break;case"aaaa":T=kt(Tt.DayPeriods,$e.Wide);break;case"aaaaa":T=kt(Tt.DayPeriods,$e.Narrow);break;case"b":case"bb":case"bbb":T=kt(Tt.DayPeriods,$e.Abbreviated,We.Standalone,!0);break;case"bbbb":T=kt(Tt.DayPeriods,$e.Wide,We.Standalone,!0);break;case"bbbbb":T=kt(Tt.DayPeriods,$e.Narrow,We.Standalone,!0);break;case"B":case"BB":case"BBB":T=kt(Tt.DayPeriods,$e.Abbreviated,We.Format,!0);break;case"BBBB":T=kt(Tt.DayPeriods,$e.Wide,We.Format,!0);break;case"BBBBB":T=kt(Tt.DayPeriods,$e.Narrow,We.Format,!0);break;case"h":T=cn(Vt.Hours,1,-12);break;case"hh":T=cn(Vt.Hours,2,-12);break;case"H":T=cn(Vt.Hours,1);break;case"HH":T=cn(Vt.Hours,2);break;case"m":T=cn(Vt.Minutes,1);break;case"mm":T=cn(Vt.Minutes,2);break;case"s":T=cn(Vt.Seconds,1);break;case"ss":T=cn(Vt.Seconds,2);break;case"S":T=cn(Vt.FractionalSeconds,1);break;case"SS":T=cn(Vt.FractionalSeconds,2);break;case"SSS":T=cn(Vt.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":T=Yn(ct.Short);break;case"ZZZZZ":T=Yn(ct.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":T=Yn(ct.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":T=Yn(ct.Long);break;default:return null}return lr[g]=T,T}(gn);vn+=Gt?Gt(V,Y,Jt):"''"===gn?"'":gn.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),vn}function jn(g,T,Y){const b=new Date(0);return b.setFullYear(g,T,Y),b.setHours(0,0,0),b}function jt(g,T){const Y=function St(g){return(0,a.cg1)(g)[a.wAp.LocaleId]}(g);if(sr[Y]=sr[Y]||{},sr[Y][T])return sr[Y][T];let b="";switch(T){case"shortDate":b=Ne(g,st.Short);break;case"mediumDate":b=Ne(g,st.Medium);break;case"longDate":b=Ne(g,st.Long);break;case"fullDate":b=Ne(g,st.Full);break;case"shortTime":b=Ue(g,st.Short);break;case"mediumTime":b=Ue(g,st.Medium);break;case"longTime":b=Ue(g,st.Long);break;case"fullTime":b=Ue(g,st.Full);break;case"short":const V=jt(g,"shortTime"),le=jt(g,"shortDate");b=qt(Ge(g,st.Short),[V,le]);break;case"medium":const ze=jt(g,"mediumTime"),it=jt(g,"mediumDate");b=qt(Ge(g,st.Medium),[ze,it]);break;case"long":const Jt=jt(g,"longTime"),vn=jt(g,"longDate");b=qt(Ge(g,st.Long),[Jt,vn]);break;case"full":const gn=jt(g,"fullTime"),Gt=jt(g,"fullDate");b=qt(Ge(g,st.Full),[gn,Gt])}return b&&(sr[Y][T]=b),b}function qt(g,T){return T&&(g=g.replace(/\{([^}]+)}/g,function(Y,b){return null!=T&&b in T?T[b]:Y})),g}function kn(g,T,Y="-",b,V){let le="";(g<0||V&&g<=0)&&(V?g=1-g:(g=-g,le=Y));let ze=String(g);for(;ze.length<T;)ze="0"+ze;return b&&(ze=ze.slice(ze.length-T)),le+ze}function cn(g,T,Y=0,b=!1,V=!1){return function(le,ze){let it=function ir(g,T){switch(g){case Vt.FullYear:return T.getFullYear();case Vt.Month:return T.getMonth();case Vt.Date:return T.getDate();case Vt.Hours:return T.getHours();case Vt.Minutes:return T.getMinutes();case Vt.Seconds:return T.getSeconds();case Vt.FractionalSeconds:return T.getMilliseconds();case Vt.Day:return T.getDay();default:throw new Error(`Unknown DateType value "${g}".`)}}(g,le);if((Y>0||it>-Y)&&(it+=Y),g===Vt.Hours)0===it&&-12===Y&&(it=12);else if(g===Vt.FractionalSeconds)return function Ur(g,T){return kn(g,3).substring(0,T)}(it,T);const Jt=Ce(ze,ht.MinusSign);return kn(it,T,Jt,b,V)}}function kt(g,T,Y=We.Format,b=!1){return function(V,le){return function Mn(g,T,Y,b,V,le){switch(Y){case Tt.Months:return function on(g,T,Y){const b=(0,a.cg1)(g),le=xt([b[a.wAp.MonthsFormat],b[a.wAp.MonthsStandalone]],T);return xt(le,Y)}(T,V,b)[g.getMonth()];case Tt.Days:return function pn(g,T,Y){const b=(0,a.cg1)(g),le=xt([b[a.wAp.DaysFormat],b[a.wAp.DaysStandalone]],T);return xt(le,Y)}(T,V,b)[g.getDay()];case Tt.DayPeriods:const ze=g.getHours(),it=g.getMinutes();if(le){const vn=function Ct(g){const T=(0,a.cg1)(g);return Dt(T),(T[a.wAp.ExtraData][2]||[]).map(b=>"string"==typeof b?xn(b):[xn(b[0]),xn(b[1])])}(T),gn=function Yt(g,T,Y){const b=(0,a.cg1)(g);Dt(b);const le=xt([b[a.wAp.ExtraData][0],b[a.wAp.ExtraData][1]],T)||[];return xt(le,Y)||[]}(T,V,b),Gt=vn.findIndex(Hn=>{if(Array.isArray(Hn)){const[Tn,pr]=Hn,zr=ze>=Tn.hours&&it>=Tn.minutes,Do=ze<pr.hours||ze===pr.hours&&it<pr.minutes;if(Tn.hours<pr.hours){if(zr&&Do)return!0}else if(zr||Do)return!0}else if(Hn.hours===ze&&Hn.minutes===it)return!0;return!1});if(-1!==Gt)return gn[Gt]}return function en(g,T,Y){const b=(0,a.cg1)(g),le=xt([b[a.wAp.DayPeriodsFormat],b[a.wAp.DayPeriodsStandalone]],T);return xt(le,Y)}(T,V,b)[ze<12?0:1];case Tt.Eras:return function or(g,T){return xt((0,a.cg1)(g)[a.wAp.Eras],T)}(T,b)[g.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${Y}`)}}(V,le,g,T,Y,b)}}function Yn(g){return function(T,Y,b){const V=-1*b,le=Ce(Y,ht.MinusSign),ze=V>0?Math.floor(V/60):Math.ceil(V/60);switch(g){case ct.Short:return(V>=0?"+":"")+kn(ze,2,le)+kn(Math.abs(V%60),2,le);case ct.ShortGMT:return"GMT"+(V>=0?"+":"")+kn(ze,1,le);case ct.Long:return"GMT"+(V>=0?"+":"")+kn(ze,2,le)+":"+kn(Math.abs(V%60),2,le);case ct.Extended:return 0===b?"Z":(V>=0?"+":"")+kn(ze,2,le)+":"+kn(Math.abs(V%60),2,le);default:throw new Error(`Unknown zone width "${g}"`)}}}const zn=0,Fn=4;function Ln(g){return jn(g.getFullYear(),g.getMonth(),g.getDate()+(Fn-g.getDay()))}function ar(g,T=!1){return function(Y,b){let V;if(T){const le=new Date(Y.getFullYear(),Y.getMonth(),1).getDay()-1,ze=Y.getDate();V=1+Math.floor((ze+le)/7)}else{const le=Ln(Y),ze=function En(g){const T=jn(g,zn,1).getDay();return jn(g,0,1+(T<=Fn?Fn:Fn+7)-T)}(le.getFullYear()),it=le.getTime()-ze.getTime();V=1+Math.round(it/6048e5)}return kn(V,g,Ce(b,ht.MinusSign))}}function er(g,T=!1){return function(Y,b){return kn(Ln(Y).getFullYear(),g,Ce(b,ht.MinusSign),T)}}const lr={};function Dr(g,T){g=g.replace(/:/g,"");const Y=Date.parse("Jan 01, 1970 00:00:00 "+g)/6e4;return isNaN(Y)?T:Y}function te(g){return g instanceof Date&&!isNaN(g.valueOf())}const L=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function gt(g){const T=parseInt(g);if(isNaN(T))throw new Error("Invalid integer literal when parsing "+g);return T}function Gn(g,T){T=encodeURIComponent(T);for(const Y of g.split(";")){const b=Y.indexOf("="),[V,le]=-1==b?[Y,""]:[Y.slice(0,b),Y.slice(b+1)];if(V.trim()===T)return decodeURIComponent(le)}return null}const Sr=/\s+/,Zr=[];let tn=(()=>{var g;class T{constructor(b,V,le,ze){this._iterableDiffers=b,this._keyValueDiffers=V,this._ngEl=le,this._renderer=ze,this.initialClasses=Zr,this.stateMap=new Map}set klass(b){this.initialClasses=null!=b?b.trim().split(Sr):Zr}set ngClass(b){this.rawClass="string"==typeof b?b.trim().split(Sr):b}ngDoCheck(){for(const V of this.initialClasses)this._updateState(V,!0);const b=this.rawClass;if(Array.isArray(b)||b instanceof Set)for(const V of b)this._updateState(V,!0);else if(null!=b)for(const V of Object.keys(b))this._updateState(V,!!b[V]);this._applyStateDiff()}_updateState(b,V){const le=this.stateMap.get(b);void 0!==le?(le.enabled!==V&&(le.changed=!0,le.enabled=V),le.touched=!0):this.stateMap.set(b,{enabled:V,changed:!0,touched:!0})}_applyStateDiff(){for(const b of this.stateMap){const V=b[0],le=b[1];le.changed?(this._toggleClass(V,le.enabled),le.changed=!1):le.touched||(le.enabled&&this._toggleClass(V,!1),this.stateMap.delete(V)),le.touched=!1}}_toggleClass(b,V){(b=b.trim()).length>0&&b.split(Sr).forEach(le=>{V?this._renderer.addClass(this._ngEl.nativeElement,le):this._renderer.removeClass(this._ngEl.nativeElement,le)})}}return(g=T).\u0275fac=function(b){return new(b||g)(a.Y36(a.ZZ4),a.Y36(a.aQg),a.Y36(a.SBq),a.Y36(a.Qsj))},g.\u0275dir=a.lG2({type:g,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),T})(),wn=(()=>{var g;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 V=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(b)&&(this._moduleRef?.destroy(),this._moduleRef=this.ngComponentOutletNgModule?(0,a.Lck)(this.ngComponentOutletNgModule,Lr(V)):this.ngComponentOutletNgModuleFactory?this.ngComponentOutletNgModuleFactory.create(Lr(V)):void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:V,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[V,le]of this._inputsUsed)le?(b.setInput(V,this.ngComponentOutletInputs[V]),this._inputsUsed.set(V,!1)):(b.setInput(V,void 0),this._inputsUsed.delete(V))}}return(g=T).\u0275fac=function(b){return new(b||g)(a.Y36(a.s_b))},g.\u0275dir=a.lG2({type:g,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[a.TTD]}),T})();function Lr(g){return g.get(a.h0i).injector}class io{constructor(T,Y,b,V){this.$implicit=T,this.ngForOf=Y,this.index=b,this.count=V}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 _n=(()=>{var g;class T{set ngForOf(b){this._ngForOf=b,this._ngForOfDirty=!0}set ngForTrackBy(b){this._trackByFn=b}get ngForTrackBy(){return this._trackByFn}constructor(b,V,le){this._viewContainer=b,this._template=V,this._differs=le,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 V=this._viewContainer;b.forEachOperation((le,ze,it)=>{if(null==le.previousIndex)V.createEmbeddedView(this._template,new io(le.item,this._ngForOf,-1,-1),null===it?void 0:it);else if(null==it)V.remove(null===ze?void 0:ze);else if(null!==ze){const Jt=V.get(ze);V.move(Jt,it),An(Jt,le)}});for(let le=0,ze=V.length;le<ze;le++){const Jt=V.get(le).context;Jt.index=le,Jt.count=ze,Jt.ngForOf=this._ngForOf}b.forEachIdentityChange(le=>{An(V.get(le.currentIndex),le)})}static ngTemplateContextGuard(b,V){return!0}}return(g=T).\u0275fac=function(b){return new(b||g)(a.Y36(a.s_b),a.Y36(a.Rgc),a.Y36(a.ZZ4))},g.\u0275dir=a.lG2({type:g,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),T})();function An(g,T){g.context.$implicit=T.item}let fr=(()=>{var g;class T{constructor(b,V){this._viewContainer=b,this._context=new Mo,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=V}set ngIf(b){this._context.$implicit=this._context.ngIf=b,this._updateView()}set ngIfThen(b){xo("ngIfThen",b),this._thenTemplateRef=b,this._thenViewRef=null,this._updateView()}set ngIfElse(b){xo("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,V){return!0}}return(g=T).\u0275fac=function(b){return new(b||g)(a.Y36(a.s_b),a.Y36(a.Rgc))},g.\u0275dir=a.lG2({type:g,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),T})();class Mo{constructor(){this.$implicit=null,this.ngIf=null}}function xo(g,T){if(T&&!T.createEmbeddedView)throw new Error(`${g} must be a TemplateRef, but received '${(0,a.AaK)(T)}'.`)}class Er{constructor(T,Y){this._viewContainerRef=T,this._templateRef=Y,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 To=(()=>{var g;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 V=b==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||V,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),V}_updateDefaultCases(b){if(this._defaultViews.length>0&&b!==this._defaultUsed){this._defaultUsed=b;for(const V of this._defaultViews)V.enforceState(b)}}}return(g=T).\u0275fac=function(b){return new(b||g)},g.\u0275dir=a.lG2({type:g,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),T})(),Us=(()=>{var g;class T{constructor(b,V,le){this.ngSwitch=le,le._addCase(),this._view=new Er(b,V)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return(g=T).\u0275fac=function(b){return new(b||g)(a.Y36(a.s_b),a.Y36(a.Rgc),a.Y36(To,9))},g.\u0275dir=a.lG2({type:g,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),T})(),Ti=(()=>{var g;class T{constructor(b,V,le){le._addDefault(new Er(b,V))}}return(g=T).\u0275fac=function(b){return new(b||g)(a.Y36(a.s_b),a.Y36(a.Rgc),a.Y36(To,9))},g.\u0275dir=a.lG2({type:g,selectors:[["","ngSwitchDefault",""]],standalone:!0}),T})(),ko=(()=>{var g;class T{constructor(b,V,le){this._ngEl=b,this._differs=V,this._renderer=le,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,V){const[le,ze]=b.split("."),it=-1===le.indexOf("-")?void 0:a.JOm.DashCase;null!=V?this._renderer.setStyle(this._ngEl.nativeElement,le,ze?`${V}${ze}`:V,it):this._renderer.removeStyle(this._ngEl.nativeElement,le,it)}_applyChanges(b){b.forEachRemovedItem(V=>this._setStyle(V.key,null)),b.forEachAddedItem(V=>this._setStyle(V.key,V.currentValue)),b.forEachChangedItem(V=>this._setStyle(V.key,V.currentValue))}}return(g=T).\u0275fac=function(b){return new(b||g)(a.Y36(a.SBq),a.Y36(a.aQg),a.Y36(a.Qsj))},g.\u0275dir=a.lG2({type:g,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),T})(),Cs=(()=>{var g;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 V=this._viewContainerRef;if(this._viewRef&&V.remove(V.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:le,ngTemplateOutletContext:ze,ngTemplateOutletInjector:it}=this;this._viewRef=V.createEmbeddedView(le,ze,it?{injector:it}:void 0)}else this._viewRef=null}else this._viewRef&&b.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return(g=T).\u0275fac=function(b){return new(b||g)(a.Y36(a.s_b))},g.\u0275dir=a.lG2({type:g,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[a.TTD]}),T})();function Br(g,T){return new a.vHH(2100,!1)}class $s{createSubscription(T,Y){return(0,a.rg0)(()=>T.subscribe({next:Y,error:b=>{throw b}}))}dispose(T){(0,a.rg0)(()=>T.unsubscribe())}}class Ar{createSubscription(T,Y){return T.then(Y,b=>{throw b})}dispose(T){}}const Zo=new Ar,bs=new $s;let zs=(()=>{var g;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,V=>this._updateLatestValue(b,V))}_selectStrategy(b){if((0,a.QGY)(b))return Zo;if((0,a.F4k)(b))return bs;throw Br()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(b,V){b===this._obj&&(this._latestValue=V,this._ref.markForCheck())}}return(g=T).\u0275fac=function(b){return new(b||g)(a.Y36(a.sBO,16))},g.\u0275pipe=a.Yjl({name:"async",type:g,pure:!1,standalone:!0}),T})();const bn=new a.OlP("DATE_PIPE_DEFAULT_TIMEZONE"),Un=new a.OlP("DATE_PIPE_DEFAULT_OPTIONS");let go=(()=>{var g;class T{constructor(b,V,le){this.locale=b,this.defaultTimezone=V,this.defaultOptions=le}transform(b,V,le,ze){if(null==b||""===b||b!=b)return null;try{return rn(b,V??this.defaultOptions?.dateFormat??"mediumDate",ze||this.locale,le??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(it){throw Br()}}}return(g=T).\u0275fac=function(b){return new(b||g)(a.Y36(a.soG,16),a.Y36(bn,24),a.Y36(Un,24))},g.\u0275pipe=a.Yjl({name:"date",type:g,pure:!0,standalone:!0}),T})(),dt=(()=>{var g;class T{constructor(b){this._locale=b}transform(b,V,le){if(!function Cr(g){return!(null==g||""===g||g!=g)}(b))return null;le=le||this._locale;try{return function K(g,T,Y){return function ye(g,T,Y,b,V,le,ze=!1){let it="",Jt=!1;if(isFinite(g)){let vn=function Ze(g){let b,V,le,ze,it,T=Math.abs(g)+"",Y=0;for((V=T.indexOf("."))>-1&&(T=T.replace(".","")),(le=T.search(/e/i))>0?(V<0&&(V=le),V+=+T.slice(le+1),T=T.substring(0,le)):V<0&&(V=T.length),le=0;"0"===T.charAt(le);le++);if(le===(it=T.length))b=[0],V=1;else{for(it--;"0"===T.charAt(it);)it--;for(V-=le,b=[],ze=0;le<=it;le++,ze++)b[ze]=Number(T.charAt(le))}return V>22&&(b=b.splice(0,21),Y=V-1,V=1),{digits:b,exponent:Y,integerLen:V}}(g);ze&&(vn=function ge(g){if(0===g.digits[0])return g;const T=g.digits.length-g.integerLen;return g.exponent?g.exponent+=2:(0===T?g.digits.push(0,0):1===T&&g.digits.push(0),g.integerLen+=2),g}(vn));let gn=T.minInt,Gt=T.minFrac,Hn=T.maxFrac;if(le){const Eo=le.match(L);if(null===Eo)throw new Error(`${le} is not a valid digit info`);const wr=Eo[1],Gr=Eo[3],ur=Eo[5];null!=wr&&(gn=gt(wr)),null!=Gr&&(Gt=gt(Gr)),null!=ur?Hn=gt(ur):null!=Gr&&Gt>Hn&&(Hn=Gt)}!function ke(g,T,Y){if(T>Y)throw new Error(`The minimum number of digits after fraction (${T}) is higher than the maximum (${Y}).`);let b=g.digits,V=b.length-g.integerLen;const le=Math.min(Math.max(T,V),Y);let ze=le+g.integerLen,it=b[ze];if(ze>0){b.splice(Math.max(g.integerLen,ze));for(let Gt=ze;Gt<b.length;Gt++)b[Gt]=0}else{V=Math.max(0,V),g.integerLen=1,b.length=Math.max(1,ze=le+1),b[0]=0;for(let Gt=1;Gt<ze;Gt++)b[Gt]=0}if(it>=5)if(ze-1<0){for(let Gt=0;Gt>ze;Gt--)b.unshift(0),g.integerLen++;b.unshift(1),g.integerLen++}else b[ze-1]++;for(;V<Math.max(0,le);V++)b.push(0);let Jt=0!==le;const vn=T+g.integerLen,gn=b.reduceRight(function(Gt,Hn,Tn,pr){return pr[Tn]=(Hn+=Gt)<10?Hn:Hn-10,Jt&&(0===pr[Tn]&&Tn>=vn?pr.pop():Jt=!1),Hn>=10?1:0},0);gn&&(b.unshift(gn),g.integerLen++)}(vn,Gt,Hn);let Tn=vn.digits,pr=vn.integerLen;const zr=vn.exponent;let Do=[];for(Jt=Tn.every(Eo=>!Eo);pr<gn;pr++)Tn.unshift(0);for(;pr<0;pr++)Tn.unshift(0);pr>0?Do=Tn.splice(pr,Tn.length):(Do=Tn,Tn=[0]);const Uo=[];for(Tn.length>=T.lgSize&&Uo.unshift(Tn.splice(-T.lgSize,Tn.length).join(""));Tn.length>T.gSize;)Uo.unshift(Tn.splice(-T.gSize,Tn.length).join(""));Tn.length&&Uo.unshift(Tn.join("")),it=Uo.join(Ce(Y,b)),Do.length&&(it+=Ce(Y,V)+Do.join("")),zr&&(it+=Ce(Y,ht.Exponential)+"+"+zr)}else it=Ce(Y,ht.Infinity);return it=g<0&&!Jt?T.negPre+it+T.negSuf:T.posPre+it+T.posSuf,it}(g,function oe(g,T="-"){const Y={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},b=g.split(";"),V=b[0],le=b[1],ze=-1!==V.indexOf(".")?V.split("."):[V.substring(0,V.lastIndexOf("0")+1),V.substring(V.lastIndexOf("0")+1)],it=ze[0],Jt=ze[1]||"";Y.posPre=it.substring(0,it.indexOf("#"));for(let gn=0;gn<Jt.length;gn++){const Gt=Jt.charAt(gn);"0"===Gt?Y.minFrac=Y.maxFrac=gn+1:"#"===Gt?Y.maxFrac=gn+1:Y.posSuf+=Gt}const vn=it.split(",");if(Y.gSize=vn[1]?vn[1].length:0,Y.lgSize=vn[2]||vn[1]?(vn[2]||vn[1]).length:0,le){const gn=V.length-Y.posPre.length-Y.posSuf.length,Gt=le.indexOf("#");Y.negPre=le.substring(0,Gt).replace(/'/g,""),Y.negSuf=le.slice(Gt+gn).replace(/'/g,"")}else Y.negPre=T+Y.posPre,Y.negSuf=Y.posSuf;return Y}(function Ee(g,T){return(0,a.cg1)(g)[a.wAp.NumberFormats][T]}(T,me.Decimal),Ce(T,ht.MinusSign)),T,ht.Group,ht.Decimal,Y)}(function Io(g){if("string"==typeof g&&!isNaN(Number(g)-parseFloat(g)))return Number(g);if("number"!=typeof g)throw new Error(`${g} is not a number`);return g}(b),le,V)}catch(ze){throw Br()}}}return(g=T).\u0275fac=function(b){return new(b||g)(a.Y36(a.soG,16))},g.\u0275pipe=a.Yjl({name:"number",type:g,pure:!0,standalone:!0}),T})();let qn=(()=>{var g;class T{transform(b,V,le){if(null==b)return null;if(!this.supports(b))throw Br();return b.slice(V,le)}supports(b){return"string"==typeof b||Array.isArray(b)}}return(g=T).\u0275fac=function(b){return new(b||g)},g.\u0275pipe=a.Yjl({name:"slice",type:g,pure:!1,standalone:!0}),T})(),Wn=(()=>{var g;class T{}return(g=T).\u0275fac=function(b){return new(b||g)},g.\u0275mod=a.oAB({type:g}),g.\u0275inj=a.cJS({}),T})();const _o="browser",ao="server";function Ts(g){return g===_o}function Bo(g){return g===ao}let Hr=(()=>{var g;class T{}return(g=T).\u0275prov=(0,a.Yz7)({token:g,providedIn:"root",factory:()=>new Is((0,a.LFG)($),window)}),T})();class Is{constructor(T,Y){this.document=T,this.window=Y,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 Y=function Ss(g,T){const Y=g.getElementById(T)||g.getElementsByName(T)[0];if(Y)return Y;if("function"==typeof g.createTreeWalker&&g.body&&"function"==typeof g.body.attachShadow){const b=g.createTreeWalker(g.body,NodeFilter.SHOW_ELEMENT);let V=b.currentNode;for(;V;){const le=V.shadowRoot;if(le){const ze=le.getElementById(T)||le.querySelector(`[name="${T}"]`);if(ze)return ze}V=b.nextNode()}}return null}(this.document,T);Y&&(this.scrollToElement(Y),Y.focus())}setHistoryScrollRestoration(T){this.supportsScrolling()&&(this.window.history.scrollRestoration=T)}scrollToElement(T){const Y=T.getBoundingClientRect(),b=Y.left+this.window.pageXOffset,V=Y.top+this.window.pageYOffset,le=this.offset();this.window.scrollTo(b-le[0],V-le[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class co{}},9862:(tt,ve,I)=>{I.d(ve,{JF:()=>L,TP:()=>Dt,WM:()=>xe,eN:()=>Pe});var a=I(5879),u=I(2096),G=I(2459),ne=I(5592),z=I(6328),$=I(2181),ee=I(7398),ae=I(4716),de=I(4664),U=I(6814);class J{}class fe{}class xe{constructor(re){this.normalizedNames=new Map,this.lazyUpdate=null,re?"string"==typeof re?this.lazyInit=()=>{this.headers=new Map,re.split("\n").forEach(Ie=>{const K=Ie.indexOf(":");if(K>0){const oe=Ie.slice(0,K),ge=oe.toLowerCase(),Ze=Ie.slice(K+1).trim();this.maybeSetNormalizedName(oe,ge),this.headers.has(ge)?this.headers.get(ge).push(Ze):this.headers.set(ge,[Ze])}})}:typeof Headers<"u"&&re instanceof Headers?(this.headers=new Map,re.forEach((Ie,K)=>{this.setHeaderEntries(K,Ie)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(re).forEach(([Ie,K])=>{this.setHeaderEntries(Ie,K)})}:this.headers=new Map}has(re){return this.init(),this.headers.has(re.toLowerCase())}get(re){this.init();const Ie=this.headers.get(re.toLowerCase());return Ie&&Ie.length>0?Ie[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(re){return this.init(),this.headers.get(re.toLowerCase())||null}append(re,Ie){return this.clone({name:re,value:Ie,op:"a"})}set(re,Ie){return this.clone({name:re,value:Ie,op:"s"})}delete(re,Ie){return this.clone({name:re,value:Ie,op:"d"})}maybeSetNormalizedName(re,Ie){this.normalizedNames.has(Ie)||this.normalizedNames.set(Ie,re)}init(){this.lazyInit&&(this.lazyInit instanceof xe?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(re=>this.applyUpdate(re)),this.lazyUpdate=null))}copyFrom(re){re.init(),Array.from(re.headers.keys()).forEach(Ie=>{this.headers.set(Ie,re.headers.get(Ie)),this.normalizedNames.set(Ie,re.normalizedNames.get(Ie))})}clone(re){const Ie=new xe;return Ie.lazyInit=this.lazyInit&&this.lazyInit instanceof xe?this.lazyInit:this,Ie.lazyUpdate=(this.lazyUpdate||[]).concat([re]),Ie}applyUpdate(re){const Ie=re.name.toLowerCase();switch(re.op){case"a":case"s":let K=re.value;if("string"==typeof K&&(K=[K]),0===K.length)return;this.maybeSetNormalizedName(re.name,Ie);const oe=("a"===re.op?this.headers.get(Ie):void 0)||[];oe.push(...K),this.headers.set(Ie,oe);break;case"d":const ge=re.value;if(ge){let Ze=this.headers.get(Ie);if(!Ze)return;Ze=Ze.filter(ke=>-1===ge.indexOf(ke)),0===Ze.length?(this.headers.delete(Ie),this.normalizedNames.delete(Ie)):this.headers.set(Ie,Ze)}else this.headers.delete(Ie),this.normalizedNames.delete(Ie)}}setHeaderEntries(re,Ie){const K=(Array.isArray(Ie)?Ie:[Ie]).map(ge=>ge.toString()),oe=re.toLowerCase();this.headers.set(oe,K),this.maybeSetNormalizedName(re,oe)}forEach(re){this.init(),Array.from(this.normalizedNames.keys()).forEach(Ie=>re(this.normalizedNames.get(Ie),this.headers.get(Ie)))}}class Ye{encodeKey(re){return et(re)}encodeValue(re){return et(re)}decodeKey(re){return decodeURIComponent(re)}decodeValue(re){return decodeURIComponent(re)}}const je=/%(\d[a-f0-9])/gi,Le={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function et(ye){return encodeURIComponent(ye).replace(je,(re,Ie)=>Le[Ie]??re)}function Ve(ye){return`${ye}`}class Z{constructor(re={}){if(this.updates=null,this.cloneFrom=null,this.encoder=re.encoder||new Ye,re.fromString){if(re.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function Oe(ye,re){const Ie=new Map;return ye.length>0&&ye.replace(/^\?/,"").split("&").forEach(oe=>{const ge=oe.indexOf("="),[Ze,ke]=-1==ge?[re.decodeKey(oe),""]:[re.decodeKey(oe.slice(0,ge)),re.decodeValue(oe.slice(ge+1))],gt=Ie.get(Ze)||[];gt.push(ke),Ie.set(Ze,gt)}),Ie}(re.fromString,this.encoder)}else re.fromObject?(this.map=new Map,Object.keys(re.fromObject).forEach(Ie=>{const K=re.fromObject[Ie],oe=Array.isArray(K)?K.map(Ve):[Ve(K)];this.map.set(Ie,oe)})):this.map=null}has(re){return this.init(),this.map.has(re)}get(re){this.init();const Ie=this.map.get(re);return Ie?Ie[0]:null}getAll(re){return this.init(),this.map.get(re)||null}keys(){return this.init(),Array.from(this.map.keys())}append(re,Ie){return this.clone({param:re,value:Ie,op:"a"})}appendAll(re){const Ie=[];return Object.keys(re).forEach(K=>{const oe=re[K];Array.isArray(oe)?oe.forEach(ge=>{Ie.push({param:K,value:ge,op:"a"})}):Ie.push({param:K,value:oe,op:"a"})}),this.clone(Ie)}set(re,Ie){return this.clone({param:re,value:Ie,op:"s"})}delete(re,Ie){return this.clone({param:re,value:Ie,op:"d"})}toString(){return this.init(),this.keys().map(re=>{const Ie=this.encoder.encodeKey(re);return this.map.get(re).map(K=>Ie+"="+this.encoder.encodeValue(K)).join("&")}).filter(re=>""!==re).join("&")}clone(re){const Ie=new Z({encoder:this.encoder});return Ie.cloneFrom=this.cloneFrom||this,Ie.updates=(this.updates||[]).concat(re),Ie}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(re=>this.map.set(re,this.cloneFrom.map.get(re))),this.updates.forEach(re=>{switch(re.op){case"a":case"s":const Ie=("a"===re.op?this.map.get(re.param):void 0)||[];Ie.push(Ve(re.value)),this.map.set(re.param,Ie);break;case"d":if(void 0===re.value){this.map.delete(re.param);break}{let K=this.map.get(re.param)||[];const oe=K.indexOf(Ve(re.value));-1!==oe&&K.splice(oe,1),K.length>0?this.map.set(re.param,K):this.map.delete(re.param)}}}),this.cloneFrom=this.updates=null)}}class me{constructor(){this.map=new Map}set(re,Ie){return this.map.set(re,Ie),this}get(re){return this.map.has(re)||this.map.set(re,re.defaultValue()),this.map.get(re)}delete(re){return this.map.delete(re),this}has(re){return this.map.has(re)}keys(){return this.map.keys()}}function We(ye){return typeof ArrayBuffer<"u"&&ye instanceof ArrayBuffer}function $e(ye){return typeof Blob<"u"&&ye instanceof Blob}function st(ye){return typeof FormData<"u"&&ye instanceof FormData}class It{constructor(re,Ie,K,oe){let ge;if(this.url=Ie,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=re.toUpperCase(),function Se(ye){switch(ye){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||oe?(this.body=void 0!==K?K:null,ge=oe):ge=K,ge&&(this.reportProgress=!!ge.reportProgress,this.withCredentials=!!ge.withCredentials,ge.responseType&&(this.responseType=ge.responseType),ge.headers&&(this.headers=ge.headers),ge.context&&(this.context=ge.context),ge.params&&(this.params=ge.params)),this.headers||(this.headers=new xe),this.context||(this.context=new me),this.params){const Ze=this.params.toString();if(0===Ze.length)this.urlWithParams=Ie;else{const ke=Ie.indexOf("?");this.urlWithParams=Ie+(-1===ke?"?":ke<Ie.length-1?"&":"")+Ze}}else this.params=new Z,this.urlWithParams=Ie}serializeBody(){return null===this.body?null:We(this.body)||$e(this.body)||st(this.body)||function ht(ye){return typeof URLSearchParams<"u"&&ye instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof Z?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||st(this.body)?null:$e(this.body)?this.body.type||null:We(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Z?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(re={}){const Ie=re.method||this.method,K=re.url||this.url,oe=re.responseType||this.responseType,ge=void 0!==re.body?re.body:this.body,Ze=void 0!==re.withCredentials?re.withCredentials:this.withCredentials,ke=void 0!==re.reportProgress?re.reportProgress:this.reportProgress;let gt=re.headers||this.headers,mt=re.params||this.params;const un=re.context??this.context;return void 0!==re.setHeaders&&(gt=Object.keys(re.setHeaders).reduce((Cn,dn)=>Cn.set(dn,re.setHeaders[dn]),gt)),re.setParams&&(mt=Object.keys(re.setParams).reduce((Cn,dn)=>Cn.set(dn,re.setParams[dn]),mt)),new It(Ie,K,ge,{params:mt,headers:gt,context:un,reportProgress:ke,responseType:oe,withCredentials:Ze})}}var St=function(ye){return ye[ye.Sent=0]="Sent",ye[ye.UploadProgress=1]="UploadProgress",ye[ye.ResponseHeader=2]="ResponseHeader",ye[ye.DownloadProgress=3]="DownloadProgress",ye[ye.Response=4]="Response",ye[ye.User=5]="User",ye}(St||{});class en{constructor(re,Ie=200,K="OK"){this.headers=re.headers||new xe,this.status=void 0!==re.status?re.status:Ie,this.statusText=re.statusText||K,this.url=re.url||null,this.ok=this.status>=200&&this.status<300}}class pn extends en{constructor(re={}){super(re),this.type=St.ResponseHeader}clone(re={}){return new pn({headers:re.headers||this.headers,status:void 0!==re.status?re.status:this.status,statusText:re.statusText||this.statusText,url:re.url||this.url||void 0})}}class on extends en{constructor(re={}){super(re),this.type=St.Response,this.body=void 0!==re.body?re.body:null}clone(re={}){return new on({body:void 0!==re.body?re.body:this.body,headers:re.headers||this.headers,status:void 0!==re.status?re.status:this.status,statusText:re.statusText||this.statusText,url:re.url||this.url||void 0})}}class or extends en{constructor(re){super(re,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${re.url||"(unknown url)"}`:`Http failure response for ${re.url||"(unknown url)"}: ${re.status} ${re.statusText}`,this.error=re.error||null}}function _r(ye,re){return{body:re,headers:ye.headers,context:ye.context,observe:ye.observe,params:ye.params,reportProgress:ye.reportProgress,responseType:ye.responseType,withCredentials:ye.withCredentials}}let Pe=(()=>{var ye;class re{constructor(K){this.handler=K}request(K,oe,ge={}){let Ze;if(K instanceof It)Ze=K;else{let mt,un;mt=ge.headers instanceof xe?ge.headers:new xe(ge.headers),ge.params&&(un=ge.params instanceof Z?ge.params:new Z({fromObject:ge.params})),Ze=new It(K,oe,void 0!==ge.body?ge.body:null,{headers:mt,context:ge.context,params:un,reportProgress:ge.reportProgress,responseType:ge.responseType||"json",withCredentials:ge.withCredentials})}const ke=(0,u.of)(Ze).pipe((0,z.b)(mt=>this.handler.handle(mt)));if(K instanceof It||"events"===ge.observe)return ke;const gt=ke.pipe((0,$.h)(mt=>mt instanceof on));switch(ge.observe||"body"){case"body":switch(Ze.responseType){case"arraybuffer":return gt.pipe((0,ee.U)(mt=>{if(null!==mt.body&&!(mt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return mt.body}));case"blob":return gt.pipe((0,ee.U)(mt=>{if(null!==mt.body&&!(mt.body instanceof Blob))throw new Error("Response is not a Blob.");return mt.body}));case"text":return gt.pipe((0,ee.U)(mt=>{if(null!==mt.body&&"string"!=typeof mt.body)throw new Error("Response is not a string.");return mt.body}));default:return gt.pipe((0,ee.U)(mt=>mt.body))}case"response":return gt;default:throw new Error(`Unreachable: unhandled observe type ${ge.observe}}`)}}delete(K,oe={}){return this.request("DELETE",K,oe)}get(K,oe={}){return this.request("GET",K,oe)}head(K,oe={}){return this.request("HEAD",K,oe)}jsonp(K,oe){return this.request("JSONP",K,{params:(new Z).append(oe,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(K,oe={}){return this.request("OPTIONS",K,oe)}patch(K,oe,ge={}){return this.request("PATCH",K,_r(ge,oe))}post(K,oe,ge={}){return this.request("POST",K,_r(ge,oe))}put(K,oe,ge={}){return this.request("PUT",K,_r(ge,oe))}}return(ye=re).\u0275fac=function(K){return new(K||ye)(a.LFG(J))},ye.\u0275prov=a.Yz7({token:ye,factory:ye.\u0275fac}),re})();function pe(ye,re){return re(ye)}function Xe(ye,re){return(Ie,K)=>re.intercept(Ie,{handle:oe=>ye(oe,K)})}const Dt=new a.OlP(""),Ct=new a.OlP(""),Yt=new a.OlP("");function sn(){let ye=null;return(re,Ie)=>{null===ye&&(ye=((0,a.f3M)(Dt,{optional:!0})??[]).reduceRight(Xe,pe));const K=(0,a.f3M)(a.HDt),oe=K.add();return ye(re,Ie).pipe((0,ae.x)(()=>K.remove(oe)))}}let xt=(()=>{var ye;class re extends J{constructor(K,oe){super(),this.backend=K,this.injector=oe,this.chain=null,this.pendingTasks=(0,a.f3M)(a.HDt)}handle(K){if(null===this.chain){const ge=Array.from(new Set([...this.injector.get(Ct),...this.injector.get(Yt,[])]));this.chain=ge.reduceRight((Ze,ke)=>function pt(ye,re,Ie){return(K,oe)=>Ie.runInContext(()=>re(K,ge=>ye(ge,oe)))}(Ze,ke,this.injector),pe)}const oe=this.pendingTasks.add();return this.chain(K,ge=>this.backend.handle(ge)).pipe((0,ae.x)(()=>this.pendingTasks.remove(oe)))}}return(ye=re).\u0275fac=function(K){return new(K||ye)(a.LFG(fe),a.LFG(a.lqb))},ye.\u0275prov=a.Yz7({token:ye,factory:ye.\u0275fac}),re})();const jn=/^\)\]\}',?\n/;let qt=(()=>{var ye;class re{constructor(K){this.xhrFactory=K}handle(K){if("JSONP"===K.method)throw new a.vHH(-2800,!1);const oe=this.xhrFactory;return(oe.\u0275loadImpl?(0,G.D)(oe.\u0275loadImpl()):(0,u.of)(null)).pipe((0,de.w)(()=>new ne.y(Ze=>{const ke=oe.build();if(ke.open(K.method,K.urlWithParams),K.withCredentials&&(ke.withCredentials=!0),K.headers.forEach((tn,wn)=>ke.setRequestHeader(tn,wn.join(","))),K.headers.has("Accept")||ke.setRequestHeader("Accept","application/json, text/plain, */*"),!K.headers.has("Content-Type")){const tn=K.detectContentTypeHeader();null!==tn&&ke.setRequestHeader("Content-Type",tn)}if(K.responseType){const tn=K.responseType.toLowerCase();ke.responseType="json"!==tn?tn:"text"}const gt=K.serializeBody();let mt=null;const un=()=>{if(null!==mt)return mt;const tn=ke.statusText||"OK",wn=new xe(ke.getAllResponseHeaders()),Lr=function jt(ye){return"responseURL"in ye&&ye.responseURL?ye.responseURL:/^X-Request-URL:/m.test(ye.getAllResponseHeaders())?ye.getResponseHeader("X-Request-URL"):null}(ke)||K.url;return mt=new pn({headers:wn,status:ke.status,statusText:tn,url:Lr}),mt},Cn=()=>{let{headers:tn,status:wn,statusText:Lr,url:io}=un(),_n=null;204!==wn&&(_n=typeof ke.response>"u"?ke.responseText:ke.response),0===wn&&(wn=_n?200:0);let An=wn>=200&&wn<300;if("json"===K.responseType&&"string"==typeof _n){const No=_n;_n=_n.replace(jn,"");try{_n=""!==_n?JSON.parse(_n):null}catch(fr){_n=No,An&&(An=!1,_n={error:fr,text:_n})}}An?(Ze.next(new on({body:_n,headers:tn,status:wn,statusText:Lr,url:io||void 0})),Ze.complete()):Ze.error(new or({error:_n,headers:tn,status:wn,statusText:Lr,url:io||void 0}))},dn=tn=>{const{url:wn}=un(),Lr=new or({error:tn,status:ke.status||0,statusText:ke.statusText||"Unknown Error",url:wn||void 0});Ze.error(Lr)};let Gn=!1;const Sr=tn=>{Gn||(Ze.next(un()),Gn=!0);let wn={type:St.DownloadProgress,loaded:tn.loaded};tn.lengthComputable&&(wn.total=tn.total),"text"===K.responseType&&ke.responseText&&(wn.partialText=ke.responseText),Ze.next(wn)},Zr=tn=>{let wn={type:St.UploadProgress,loaded:tn.loaded};tn.lengthComputable&&(wn.total=tn.total),Ze.next(wn)};return ke.addEventListener("load",Cn),ke.addEventListener("error",dn),ke.addEventListener("timeout",dn),ke.addEventListener("abort",dn),K.reportProgress&&(ke.addEventListener("progress",Sr),null!==gt&&ke.upload&&ke.upload.addEventListener("progress",Zr)),ke.send(gt),Ze.next({type:St.Sent}),()=>{ke.removeEventListener("error",dn),ke.removeEventListener("abort",dn),ke.removeEventListener("load",Cn),ke.removeEventListener("timeout",dn),K.reportProgress&&(ke.removeEventListener("progress",Sr),null!==gt&&ke.upload&&ke.upload.removeEventListener("progress",Zr)),ke.readyState!==ke.DONE&&ke.abort()}})))}}return(ye=re).\u0275fac=function(K){return new(K||ye)(a.LFG(U.JF))},ye.\u0275prov=a.Yz7({token:ye,factory:ye.\u0275fac}),re})();const kn=new a.OlP("XSRF_ENABLED"),cn=new a.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),kt=new a.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Mn{}let Yn=(()=>{var ye;class re{constructor(K,oe,ge){this.doc=K,this.platform=oe,this.cookieName=ge,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const K=this.doc.cookie||"";return K!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,U.Mx)(K,this.cookieName),this.lastCookieString=K),this.lastToken}}return(ye=re).\u0275fac=function(K){return new(K||ye)(a.LFG(U.K0),a.LFG(a.Lbi),a.LFG(cn))},ye.\u0275prov=a.Yz7({token:ye,factory:ye.\u0275fac}),re})();function zn(ye,re){const Ie=ye.url.toLowerCase();if(!(0,a.f3M)(kn)||"GET"===ye.method||"HEAD"===ye.method||Ie.startsWith("http://")||Ie.startsWith("https://"))return re(ye);const K=(0,a.f3M)(Mn).getToken(),oe=(0,a.f3M)(kt);return null!=K&&!ye.headers.has(oe)&&(ye=ye.clone({headers:ye.headers.set(oe,K)})),re(ye)}var En=function(ye){return ye[ye.Interceptors=0]="Interceptors",ye[ye.LegacyInterceptors=1]="LegacyInterceptors",ye[ye.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",ye[ye.NoXsrfProtection=3]="NoXsrfProtection",ye[ye.JsonpSupport=4]="JsonpSupport",ye[ye.RequestsMadeViaParent=5]="RequestsMadeViaParent",ye[ye.Fetch=6]="Fetch",ye}(En||{});function Ln(ye,re){return{\u0275kind:ye,\u0275providers:re}}function ar(...ye){const re=[Pe,qt,xt,{provide:J,useExisting:xt},{provide:fe,useExisting:qt},{provide:Ct,useValue:zn,multi:!0},{provide:kn,useValue:!0},{provide:Mn,useClass:Yn}];for(const Ie of ye)re.push(...Ie.\u0275providers);return(0,a.MR2)(re)}const lr=new a.OlP("LEGACY_INTERCEPTOR_FN");let L=(()=>{var ye;class re{}return(ye=re).\u0275fac=function(K){return new(K||ye)},ye.\u0275mod=a.oAB({type:ye}),ye.\u0275inj=a.cJS({providers:[ar(Ln(En.LegacyInterceptors,[{provide:lr,useFactory:sn},{provide:Ct,useExisting:lr,multi:!0}]))]}),re})()},5879:(tt,ve,I)=>{I.d(ve,{$8M:()=>Po,$WT:()=>go,$Z:()=>yg,AFp:()=>Fp,ALo:()=>ny,AaK:()=>fe,Akn:()=>Qi,AsE:()=>sh,BQk:()=>qu,CHM:()=>ra,CRH:()=>Ey,DdM:()=>z_,Dn7:()=>sy,EJc:()=>Yw,EiD:()=>Mp,EpF:()=>um,F$t:()=>mm,F4k:()=>dm,FYo:()=>$p,FiY:()=>Hl,G48:()=>PM,Gf:()=>vy,GfV:()=>zp,GkF:()=>Wf,Gpc:()=>Ye,Gre:()=>Ym,HDt:()=>zy,Hsn:()=>_m,Ikx:()=>ih,JOm:()=>Oa,JVY:()=>fD,JZr:()=>Ve,Jf7:()=>rg,KtG:()=>Da,L6k:()=>hD,LAX:()=>gD,LFG:()=>Qe,LSH:()=>Kd,Lbi:()=>rf,Lck:()=>zb,MAs:()=>am,MMx:()=>F_,MR2:()=>qd,NdJ:()=>Kf,O4$:()=>Wa,Ojb:()=>HD,OlP:()=>Kn,Oqu:()=>oh,P3R:()=>Sp,PXZ:()=>CM,Q6J:()=>$f,QGY:()=>Zf,QbO:()=>UD,Qsj:()=>rE,R0b:()=>Ro,RDi:()=>sD,Rgc:()=>su,SBq:()=>Uc,Sil:()=>Jw,Suo:()=>Dy,TTD:()=>gn,TgZ:()=>Zu,Tol:()=>Nm,Udp:()=>th,VKq:()=>G_,VuI:()=>sT,W1O:()=>My,WFA:()=>Yf,WLB:()=>W_,X6Q:()=>OM,XFs:()=>ct,Xpm:()=>$s,Xq5:()=>Gg,Xts:()=>Lc,Y36:()=>tc,YKP:()=>x_,YNc:()=>om,Yjl:()=>Gs,Yz7:()=>Dt,Z0I:()=>xt,ZZ4:()=>jh,_Bn:()=>N_,_UZ:()=>Gf,_Vd:()=>jc,_c5:()=>ZM,_uU:()=>jm,aQg:()=>Uh,c2e:()=>$y,cJS:()=>Yt,cg1:()=>lh,d8E:()=>ah,dDg:()=>yM,dqk:()=>qt,eBb:()=>pD,eFA:()=>ev,eJc:()=>wh,ekj:()=>nh,eoX:()=>qy,f3M:()=>lt,g9A:()=>Lp,gM2:()=>iy,h0i:()=>Pl,hGG:()=>KM,hij:()=>Xu,iGM:()=>yy,ifc:()=>ge,ip1:()=>Hy,jDz:()=>L_,kEZ:()=>Z_,kL8:()=>s_,kcU:()=>ps,l5B:()=>K_,lG2:()=>cs,lcZ:()=>ry,lqb:()=>aa,lri:()=>Ky,mCW:()=>wu,n5z:()=>bi,n_E:()=>od,oAB:()=>zs,oJD:()=>Tp,oxw:()=>gm,pB0:()=>mD,q3G:()=>Tl,q4F:()=>Gp,qFp:()=>aT,qLn:()=>sl,qOj:()=>kf,qZA:()=>Ku,qbA:()=>Y_,qzn:()=>Kl,rFY:()=>q_,rWj:()=>Yy,rg0:()=>V,s9C:()=>qf,sBO:()=>RM,s_b:()=>ad,soG:()=>cd,tb:()=>xh,tdS:()=>ga,tp0:()=>$l,uIk:()=>Lf,vHH:()=>Z,vpe:()=>la,wAp:()=>pc,xi3:()=>oy,xp6:()=>mg,ynx:()=>Yu,z2F:()=>yc,z3N:()=>Pa,zSh:()=>Xd,zs3:()=>qi});var a=I(8645),u=I(7394),G=I(5592),ne=I(3019),z=I(5619),$=I(2096),ee=I(3020),ae=I(4664),de=I(3997);function U(e){for(let t in e)if(e[t]===U)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 xe(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const Te=U({__forward_ref__:U});function Ye(e){return e.__forward_ref__=Ye,e.toString=function(){return fe(this())},e}function Oe(e){return je(e)?e():e}function je(e){return"function"==typeof e&&e.hasOwnProperty(Te)&&e.__forward_ref__===Ye}function Le(e){return e&&!!e.\u0275providers}const Ve="https://g.co/ng/security#xss";class Z extends Error{constructor(t,n){super(function De(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function me(e){return"string"==typeof e?e:null==e?"":String(e)}function ht(e,t){throw new Z(-201,!1)}function Ae(e,t){null==e&&function _e(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function Dt(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Yt(e){return{providers:e.providers||[],imports:e.imports||[]}}function sn(e){return xn(e,Jn)||xn(e,sr)}function xt(e){return null!==sn(e)}function xn(e,t){return e.hasOwnProperty(t)?e[t]:null}function yr(e){return e&&(e.hasOwnProperty(Vn)||e.hasOwnProperty(Xn))?e[Vn]:null}const Jn=U({\u0275prov:U}),Vn=U({\u0275inj:U}),sr=U({ngInjectableDef:U}),Xn=U({ngInjectorDef:U});var ct=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}(ct||{});let Vt;function rn(e){const t=Vt;return Vt=e,t}function jn(e,t,n){const r=sn(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&ct.Optional?null:void 0!==t?t:void ht(fe(e))}const qt=globalThis,lr={},vr="__NG_DI_FLAG__",Dr="ngTempTokenPath",ie=/\n/gm,x="__source";let te;function se(e){const t=te;return te=e,t}function Re(e,t=ct.Default){if(void 0===te)throw new Z(-203,!1);return null===te?jn(e,void 0,t):te.get(e,t&ct.Optional?null:void 0,t)}function Qe(e,t=ct.Default){return(function Tt(){return Vt}()||Re)(Oe(e),t)}function lt(e,t=ct.Default){return Qe(e,Lt(t))}function Lt(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function bt(e){const t=[];for(let n=0;n<e.length;n++){const r=Oe(e[n]);if(Array.isArray(r)){if(0===r.length)throw new Z(900,!1);let o,s=ct.Default;for(let c=0;c<r.length;c++){const d=r[c],v=ye(d);"number"==typeof v?-1===v?o=d.token:s|=v:o=d}t.push(Qe(o,s))}else t.push(Qe(r))}return t}function Qt(e,t){return e[vr]=t,e.prototype[vr]=t,e}function ye(e){return e[vr]}function K(e){return{toString:e}.toString()}var oe=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(oe||{}),ge=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(ge||{});const Ze={},ke=[],gt=U({\u0275cmp:U}),mt=U({\u0275dir:U}),un=U({\u0275pipe:U}),Cn=U({\u0275mod:U}),dn=U({\u0275fac:U}),Gn=U({__NG_ELEMENT_ID__:U}),Sr=U({__NG_ENV_ID__:U});function Zr(e,t,n){let r=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const s=t.length;if(o+s===r||e.charCodeAt(o+s)<=32)return o}n=o+1}}function tn(e,t,n){let r=0;for(;r<n.length;){const o=n[r];if("number"==typeof o){if(0!==o)break;r++;const s=n[r++],c=n[r++],d=n[r++];e.setAttribute(t,c,d,s)}else{const s=o,c=n[++r];Lr(s)?e.setProperty(t,s,c):e.setAttribute(t,s,c),r++}}return r}function wn(e){return 3===e||4===e||6===e}function Lr(e){return 64===e.charCodeAt(0)}function io(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 o=t[r];"number"==typeof o?n=o:0===n||_n(e,n,o,null,-1===n||2===n?t[++r]:null)}}return e}function _n(e,t,n,r,o){let s=0,c=e.length;if(-1===t)c=-1;else for(;s<e.length;){const d=e[s++];if("number"==typeof d){if(d===t){c=-1;break}if(d>t){c=s-1;break}}}for(;s<e.length;){const d=e[s];if("number"==typeof d)break;if(d===n){if(null===r)return void(null!==o&&(e[s+1]=o));if(r===e[s+1])return void(e[s+2]=o)}s++,null!==r&&s++,null!==o&&s++}-1!==c&&(e.splice(c,0,t),s=c+1),e.splice(s++,0,n),null!==r&&e.splice(s++,0,r),null!==o&&e.splice(s++,0,o)}const An="ng-template";function No(e,t,n){let r=0,o=!0;for(;r<e.length;){let s=e[r++];if("string"==typeof s&&o){const c=e[r++];if(n&&"class"===s&&-1!==Zr(c.toLowerCase(),t,0))return!0}else{if(1===s){for(;r<e.length&&"string"==typeof(s=e[r++]);)if(s.toLowerCase()===t)return!0;return!1}"number"==typeof s&&(o=!1)}}return!1}function fr(e){return 4===e.type&&e.value!==An}function Mo(e,t,n){return t===(4!==e.type||n?e.value:An)}function xo(e,t,n){let r=4;const o=e.attrs||[],s=function fa(e){for(let t=0;t<e.length;t++)if(wn(e[t]))return t;return e.length}(o);let c=!1;for(let d=0;d<t.length;d++){const v=t[d];if("number"!=typeof v){if(!c)if(4&r){if(r=2|1&r,""!==v&&!Mo(e,v,n)||""===v&&1===t.length){if(Er(r))return!1;c=!0}}else{const S=8&r?v:t[++d];if(8&r&&null!==e.attrs){if(!No(e.attrs,S,n)){if(Er(r))return!1;c=!0}continue}const Q=To(8&r?"class":v,o,fr(e),n);if(-1===Q){if(Er(r))return!1;c=!0;continue}if(""!==S){let he;he=Q>s?"":o[Q+1].toLowerCase();const Me=8&r?he:null;if(Me&&-1!==Zr(Me,S,0)||2&r&&S!==he){if(Er(r))return!1;c=!0}}}}else{if(!c&&!Er(r)&&!Er(v))return!1;if(c&&Er(v))continue;c=!1,r=v|1&r}}return Er(r)||c}function Er(e){return 0==(1&e)}function To(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let s=!1;for(;o<t.length;){const c=t[o];if(c===e)return o;if(3===c||6===c)s=!0;else{if(1===c||2===c){let d=t[++o];for(;"string"==typeof d;)d=t[++o];continue}if(4===c)break;if(0===c){o+=4;continue}}o+=s?1:2}return-1}return function Ii(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 Us(e,t,n=!1){for(let r=0;r<t.length;r++)if(xo(e,t[r],n))return!0;return!1}function Es(e,t){e:for(let n=0;n<t.length;n++){const r=t[n];if(e.length===r.length){for(let o=0;o<e.length;o++)if(e[o]!==r[o])continue e;return!0}}return!1}function ko(e,t){return e?":not("+t.trim()+")":t}function Cs(e){let t=e[0],n=1,r=2,o="",s=!1;for(;n<e.length;){let c=e[n];if("string"==typeof c)if(2&r){const d=e[++n];o+="["+c+(d.length>0?'="'+d+'"':"")+"]"}else 8&r?o+="."+c:4&r&&(o+=" "+c);else""!==o&&!Er(c)&&(t+=ko(s,o),o=""),r=c,s=s||!Er(r);n++}return""!==o&&(t+=ko(s,o)),t}function $s(e){return K(()=>{const t=Ms(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===oe.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||ge.Emulated,styles:e.styles||ke,_:null,schemas:e.schemas||null,tView:null,id:""};Lo(n);const r=e.dependencies;return n.directiveDefs=Ko(r,!1),n.pipeDefs=Ko(r,!0),n.id=function Jr(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 o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(n),n})}function Zo(e){return nn(e)||bn(e)}function bs(e){return null!==e}function zs(e){return K(()=>({type:e.type,bootstrap:e.bootstrap||ke,declarations:e.declarations||ke,imports:e.imports||ke,exports:e.exports||ke,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Fo(e,t){if(null==e)return Ze;const n={};for(const r in e)if(e.hasOwnProperty(r)){let o=e[r],s=o;Array.isArray(o)&&(s=o[1],o=o[0]),n[o]=r,t&&(t[o]=s)}return n}function cs(e){return K(()=>{const t=Ms(e);return Lo(t),t})}function Gs(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 nn(e){return e[gt]||null}function bn(e){return e[mt]||null}function Un(e){return e[un]||null}function go(e){const t=nn(e)||bn(e)||Un(e);return null!==t&&t.standalone}function Or(e,t){const n=e[Cn]||null;if(!n&&!0===t)throw new Error(`Type ${fe(e)} does not have '\u0275mod' property.`);return n}function Ms(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||Ze,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||ke,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Fo(e.inputs,t),outputs:Fo(e.outputs)}}function Lo(e){e.features?.forEach(t=>t(e))}function Ko(e,t){if(!e)return null;const n=t?Un:Zo;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(bs)}const On=0,dt=1,Pt=2,Pn=3,Cr=4,Io=5,qn=6,mo=7,Wn=8,_o=9,ao=10,Rt=11,Kr=12,Ts=13,Bo=14,Zn=15,lo=16,Yo=17,Hr=18,Is=19,Ss=20,qo=21,co=22,Qo=23,uo=24,Zt=25,$r=1,Jo=2,Rn=7,Xr=9,br=11;function Pr(e){return Array.isArray(e)&&"object"==typeof e[$r]}function tr(e){return Array.isArray(e)&&!0===e[$r]}function Ws(e){return 0!=(4&e.flags)}function us(e){return e.componentOffset>-1}function Rr(e){return 1==(1&e.flags)}function Nr(e){return!!e.template}function As(e){return 0!=(512&e[Pt])}function qr(e,t){return e.hasOwnProperty(dn)?e[dn]:null}const So=Symbol("SIGNAL");let cr=null,vo=!1;function jr(e){const t=cr;return cr=e,t}const es={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 di(e){if(vo)throw new Error("");if(null===cr)return;const t=cr.nextProducerIndex++;ns(cr),t<cr.producerNode.length&&cr.producerNode[t]!==e&&Os(cr)&&fs(cr.producerNode[t],cr.producerIndexOfThis[t]),cr.producerNode[t]!==e&&(cr.producerNode[t]=e,cr.producerIndexOfThis[t]=Os(cr)?zt(e,cr,t):0),cr.producerLastReadVersion[t]=e.version}function fi(e){if(!Os(e)||e.dirty){if(!e.producerMustRecompute(e)&&!pa(e))return void(e.dirty=!1);e.producerRecomputeValue(e),e.dirty=!1}}function Ri(e){if(void 0===e.liveConsumerNode)return;const t=vo;vo=!0;try{for(const n of e.liveConsumerNode)n.dirty||Ks(n)}finally{vo=t}}function ts(){return!1!==cr?.consumerAllowSignalWrites}function Ks(e){e.dirty=!0,Ri(e),e.consumerMarkedDirty?.(e)}function hi(e){return e&&(e.nextProducerIndex=0),jr(e)}function hr(e,t){if(jr(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(Os(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)fs(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 pa(e){ns(e);for(let t=0;t<e.producerNode.length;t++){const n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(fi(n),r!==n.version))return!0}return!1}function Ni(e){if(ns(e),Os(e))for(let t=0;t<e.producerNode.length;t++)fs(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 zt(e,t,n){if(xi(e),ns(e),0===e.liveConsumerNode.length)for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=zt(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function fs(e,t){if(xi(e),ns(e),1===e.liveConsumerNode.length)for(let r=0;r<e.producerNode.length;r++)fs(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],o=e.liveConsumerNode[t];ns(o),o.producerIndexOfThis[r]=t}}function Os(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function ns(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function xi(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}let Li=function Fi(){throw new Error};function gi(){Li()}let mi=null;function ga(e,t){const n=Object.create(_i);function r(){return di(n),n.value}return n.value=e,t?.equal&&(n.equal=t.equal),r.set=g,r.update=T,r.mutate=Y,r.asReadonly=b,r[So]=n,r}const _i={...es,equal:function Vr(e,t){return(null===e||"object"!=typeof e)&&Object.is(e,t)},readonlyFn:void 0};function yi(e){e.version++,Ri(e),mi?.()}function g(e){const t=this[So];ts()||gi(),t.equal(t.value,e)||(t.value=e,yi(t))}function T(e){ts()||gi(),g.call(this,e(this[So].value))}function Y(e){const t=this[So];ts()||gi(),e(t.value),yi(t)}function b(){const e=this[So];if(void 0===e.readonlyFn){const t=()=>this();t[So]=e,e.readonlyFn=t}return e.readonlyFn}function V(e){const t=jr(null);try{return e()}finally{jr(t)}}const ze=()=>{},it={...es,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule(e.ref)},hasRun:!1,cleanupFn:ze};class vn{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function gn(){return Gt}function Gt(e){return e.type.prototype.ngOnChanges&&(e.setInput=Tn),Hn}function Hn(){const e=zr(this),t=e?.current;if(t){const n=e.previous;if(n===Ze)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Tn(e,t,n,r){const o=this.declaredInputs[n],s=zr(e)||function Do(e,t){return e[pr]=t}(e,{previous:Ze,current:null}),c=s.current||(s.current={}),d=s.previous,v=d[o];c[o]=new vn(v&&v.currentValue,t,d===Ze),e[r]=t}gn.ngInherit=!0;const pr="__ngSimpleChanges__";function zr(e){return e[pr]||null}const wr=function(e,t,n){},Gr="svg";function In(e){for(;Array.isArray(e);)e=e[On];return e}function rs(e,t){return In(t[e])}function Bn(e,t){return In(t[e.index])}function _a(e,t){return e.data[t]}function Ps(e,t){return e[t]}function fo(e,t){const n=t[e];return Pr(n)?n:n[On]}function Bi(e,t){return null==t?null:e[t]}function ja(e){e[Yo]=0}function Ao(e){1024&e[Pt]||(e[Pt]|=1024,Dc(e,1))}function Ua(e){1024&e[Pt]&&(e[Pt]&=-1025,Dc(e,-1))}function Dc(e,t){let n=e[Pn];if(null===n)return;n[Io]+=t;let r=n;for(n=n[Pn];null!==n&&(1===t&&1===r[Io]||-1===t&&0===r[Io]);)n[Io]+=t,r=n,n=n[Pn]}const Nt={lFrame:fn(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Mr(){return Nt.bindingsEnabled}function Js(){return null!==Nt.skipHydrationRootTNode}function qe(){return Nt.lFrame.lView}function mn(){return Nt.lFrame.tView}function ra(e){return Nt.lFrame.contextLView=e,e[Wn]}function Da(e){return Nt.lFrame.contextLView=null,e}function Qn(){let e=Ho();for(;null!==e&&64===e.type;)e=e.parent;return e}function Ho(){return Nt.lFrame.currentTNode}function ho(e,t){const n=Nt.lFrame;n.currentTNode=e,n.isParent=t}function Ea(){return Nt.lFrame.isParent}function Xs(){Nt.lFrame.isParent=!1}function po(){const e=Nt.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function ei(){return Nt.lFrame.bindingIndex++}function h(e){const t=Nt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function y(e,t){const n=Nt.lFrame;n.bindingIndex=n.bindingRootIndex=e,F(t)}function F(e){Nt.lFrame.currentDirectiveIndex=e}function j(e){const t=Nt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function we(){return Nt.lFrame.currentQueryIndex}function nt(e){Nt.lFrame.currentQueryIndex=e}function Fe(e){const t=e[dt];return 2===t.type?t.declTNode:1===t.type?e[qn]:null}function wt(e,t,n){if(n&ct.SkipSelf){let o=t,s=e;for(;!(o=o.parent,null!==o||n&ct.Host||(o=Fe(s),null===o||(s=s[Bo],10&o.type))););if(null===o)return!1;t=o,e=s}const r=Nt.lFrame=Tr();return r.currentTNode=t,r.lView=e,!0}function Ht(e){const t=Tr(),n=e[dt];Nt.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Tr(){const e=Nt.lFrame,t=null===e?null:e.child;return null===t?fn(e):t}function fn(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 eo(){const e=Nt.lFrame;return Nt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const hs=eo;function Ns(){const e=eo();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 Qr(){return Nt.lFrame.selectedIndex}function ni(e){Nt.lFrame.selectedIndex=e}function mr(){const e=Nt.lFrame;return _a(e.tView,e.selectedIndex)}function Wa(){Nt.lFrame.currentNamespace=Gr}function ps(){!function xl(){Nt.lFrame.currentNamespace=null}()}let Ui=!0;function Hi(){return Ui}function os(e){Ui=e}function sa(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const s=e.data[n].type.prototype,{ngAfterContentInit:c,ngAfterContentChecked:d,ngAfterViewInit:v,ngAfterViewChecked:S,ngOnDestroy:N}=s;c&&(e.contentHooks??=[]).push(-n,c),d&&((e.contentHooks??=[]).push(n,d),(e.contentCheckHooks??=[]).push(n,d)),v&&(e.viewHooks??=[]).push(-n,v),S&&((e.viewHooks??=[]).push(n,S),(e.viewCheckHooks??=[]).push(n,S)),null!=N&&(e.destroyHooks??=[]).push(n,N)}}function hl(e,t,n){gl(e,t,3,n)}function Za(e,t,n,r){(3&e[Pt])===n&&gl(e,t,n,r)}function pl(e,t){let n=e[Pt];(3&n)===t&&(n&=8191,n+=1,e[Pt]=n)}function gl(e,t,n,r){const s=r??-1,c=t.length-1;let d=0;for(let v=void 0!==r?65535&e[Yo]:0;v<c;v++)if("number"==typeof t[v+1]){if(d=t[v],null!=r&&d>=r)break}else t[v]<0&&(e[Yo]+=65536),(d<s||-1==s)&&(Ka(e,n,t,v),e[Yo]=(4294901760&e[Yo])+v+2),v++}function kl(e,t){wr(4,e,t);const n=jr(null);try{t.call(e)}finally{jr(n),wr(5,e,t)}}function Ka(e,t,n,r){const o=n[r]<0,s=n[r+1],d=e[o?-n[r]:n[r]];o?e[Pt]>>13<e[Yo]>>16&&(3&e[Pt])===t&&(e[Pt]+=8192,kl(d,s)):kl(d,s)}const ks=-1;class $i{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function ba(e){return e!==ks}function Ei(e){return 32767&e}function Ya(e,t){let n=function Bl(e){return e>>16}(e),r=t;for(;n>0;)r=r[Bo],n--;return r}let _l=!0;function qa(e){const t=_l;return _l=e,t}const Vl=255,Cc=5;let bc=0;const gs={};function Qa(e,t){const n=Xa(e,t);if(-1!==n)return n;const r=t[dt];r.firstCreatePass&&(e.injectorIndex=t.length,Ja(r.data,e),Ja(t,null),Ja(r.blueprint,null));const o=Ci(e,t),s=e.injectorIndex;if(ba(o)){const c=Ei(o),d=Ya(o,t),v=d[dt].data;for(let S=0;S<8;S++)t[s+S]=d[c+S]|v[c+S]}return t[s+8]=o,s}function Ja(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Xa(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Ci(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){if(r=rl(o),null===r)return ks;if(n++,o=o[Bo],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return ks}function wa(e,t,n){!function wc(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Gn)&&(r=n[Gn]),null==r&&(r=n[Gn]=bc++);const o=r&Vl;t.data[e+(o>>Cc)]|=1<<o}(e,t,n)}function el(e,t,n){if(n&ct.Optional||void 0!==e)return e;ht()}function tl(e,t,n,r){if(n&ct.Optional&&void 0===r&&(r=null),!(n&(ct.Self|ct.Host))){const o=e[_o],s=rn(void 0);try{return o?o.get(t,r,n&ct.Optional):jn(t,r,n&ct.Optional)}finally{rn(s)}}return el(r,0,n)}function Ma(e,t,n,r=ct.Default,o){if(null!==e){if(2048&t[Pt]&&!(r&ct.Self)){const c=function Ic(e,t,n,r,o){let s=e,c=t;for(;null!==s&&null!==c&&2048&c[Pt]&&!(512&c[Pt]);){const d=Mc(s,c,n,r|ct.Self,gs);if(d!==gs)return d;let v=s.parent;if(!v){const S=c[Ss];if(S){const N=S.get(n,gs,r);if(N!==gs)return N}v=rl(c),c=c[Bo]}s=v}return o}(e,t,n,r,gs);if(c!==gs)return c}const s=Mc(e,t,n,r,gs);if(s!==gs)return s}return tl(t,n,r,o)}function Mc(e,t,n,r,o){const s=function vl(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Gn)?e[Gn]:void 0;return"number"==typeof t?t>=0?t&Vl:nl:t}(n);if("function"==typeof s){if(!wt(t,e,r))return r&ct.Host?el(o,0,r):tl(t,n,r,o);try{let c;if(c=s(r),null!=c||r&ct.Optional)return c;ht()}finally{hs()}}else if("number"==typeof s){let c=null,d=Xa(e,t),v=ks,S=r&ct.Host?t[Zn][qn]:null;for((-1===d||r&ct.SkipSelf)&&(v=-1===d?Ci(e,t):t[d+8],v!==ks&&Dl(r,!1)?(c=t[dt],d=Ei(v),t=Ya(v,t)):d=-1);-1!==d;){const N=t[dt];if(zi(s,d,N.data)){const Q=Fs(d,t,n,c,r,S);if(Q!==gs)return Q}v=t[d+8],v!==ks&&Dl(r,t[dt].data[d+8]===S)&&zi(s,d,t)?(c=N,d=Ei(v),t=Ya(v,t)):d=-1}}return o}function Fs(e,t,n,r,o,s){const c=t[dt],d=c.data[e+8],N=Ta(d,c,n,null==r?us(d)&&_l:r!=c&&0!=(3&d.type),o&ct.Host&&s===d);return null!==N?ms(t,c,N,d):gs}function Ta(e,t,n,r,o){const s=e.providerIndexes,c=t.data,d=1048575&s,v=e.directiveStart,N=s>>20,he=o?d+N:e.directiveEnd;for(let Me=r?d:d+N;Me<he;Me++){const Ke=c[Me];if(Me<v&&n===Ke||Me>=v&&Ke.type===n)return Me}if(o){const Me=c[v];if(Me&&Nr(Me)&&Me.type===n)return v}return null}function ms(e,t,n,r){let o=e[n];const s=t.data;if(function lu(e){return e instanceof $i}(o)){const c=o;c.resolving&&function We(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new Z(-200,`Circular dependency in DI detected for ${e}${n}`)}(function Se(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():me(e)}(s[n]));const d=qa(c.canSeeViewProviders);c.resolving=!0;const S=c.injectImpl?rn(c.injectImpl):null;wt(e,r,ct.Default);try{o=e[n]=c.factory(void 0,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&function xs(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:s}=t.type.prototype;if(r){const c=Gt(t);(n.preOrderHooks??=[]).push(e,c),(n.preOrderCheckHooks??=[]).push(e,c)}o&&(n.preOrderHooks??=[]).push(0-e,o),s&&((n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s))}(n,s[n],t)}finally{null!==S&&rn(S),qa(d),c.resolving=!1,hs()}}return o}function zi(e,t,n){return!!(n[t+(e>>Cc)]&1<<e)}function Dl(e,t){return!(e&ct.Self||e&ct.Host&&t)}class kr{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Ma(this._tNode,this._lView,t,Lt(r),n)}}function nl(){return new kr(Qn(),qe())}function bi(e){return K(()=>{const t=e.prototype.constructor,n=t[dn]||El(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const s=o[dn]||El(o);if(s&&s!==n)return s;o=Object.getPrototypeOf(o)}return s=>new s})}function El(e){return je(e)?()=>{const t=El(Oe(e));return t&&t()}:qr(e)}function rl(e){const t=e[dt],n=t.type;return 2===n?t.declTNode:1===n?e[qn]:null}function Po(e){return function yl(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 o=0;for(;o<r;){const s=n[o];if(wn(s))break;if(0===s)o+=2;else if("number"==typeof s)for(o++;o<r&&"string"==typeof n[o];)o++;else{if(s===t)return n[o+1];o+=2}}}return null}(Qn(),e)}const Ia="__parameters__";function W(e,t,n){return K(()=>{const r=function P(e){return function(...n){if(e){const r=e(...n);for(const o in r)this[o]=r[o]}}}(t);function o(...s){if(this instanceof o)return r.apply(this,s),this;const c=new o(...s);return d.annotation=c,d;function d(v,S,N){const Q=v.hasOwnProperty(Ia)?v[Ia]:Object.defineProperty(v,Ia,{value:[]})[Ia];for(;Q.length<=N;)Q.push(null);return(Q[N]=Q[N]||[]).push(c),v}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}function ol(e,t){e.forEach(n=>Array.isArray(n)?ol(n,t):t(n))}function du(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function jl(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Cl(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}function ys(e,t,n){let r=bl(e,t);return r>=0?e[1|r]=n:(r=~r,function Sc(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(1===o)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function fu(e,t){const n=bl(e,t);if(n>=0)return e[1|n]}function bl(e,t){return function hu(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){const s=r+(o-r>>1),c=e[s<<n];if(t===c)return s<<n;c>t?o=s:r=s+1}return~(o<<n)}(e,t,1)}const Hl=Qt(W("Optional"),8),$l=Qt(W("SkipSelf"),4);function wi(e){return 128==(128&e.flags)}var Oa=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Oa||{});const Oc=/^>|^->|<!--|-->|--!>|<!-$/g,Iv=/(<|>)/g,Sv="\u200b$1\u200b";const Od=new Map;let Av=0;const Rd="__ngContext__";function as(e,t){Pr(t)?(e[Rd]=t[Is],function Pv(e){Od.set(e[Is],e)}(t)):e[Rd]=t}let Nd;function xd(e,t){return Nd(e,t)}function Rc(e){const t=e[Pn];return tr(t)?t[Pn]:t}function Xh(e){return tp(e[Kr])}function ep(e){return tp(e[Cr])}function tp(e){for(;null!==e&&!tr(e);)e=e[Cr];return e}function Gl(e,t,n,r,o){if(null!=r){let s,c=!1;tr(r)?s=r:Pr(r)&&(c=!0,r=r[On]);const d=In(r);0===e&&null!==n?null==o?sp(t,n,d):wl(t,n,d,o||null,!0):1===e&&null!==n?wl(t,n,d,o||null,!0):2===e?function Eu(e,t,n){const r=vu(e,t);r&&function qv(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,d,c):3===e&&t.destroyNode(d),null!=s&&function Xv(e,t,n,r,o){const s=n[Rn];s!==In(n)&&Gl(t,e,r,s,o);for(let d=br;d<n.length;d++){const v=n[d];xc(v[dt],v,e,t,r,s)}}(t,e,s,n,o)}}function kd(e,t){return e.createComment(function Gh(e){return e.replace(Oc,t=>t.replace(Iv,Sv))}(t))}function _u(e,t,n){return e.createElement(t,n)}function rp(e,t){const n=e[Xr],r=n.indexOf(t);Ua(t),n.splice(r,1)}function yu(e,t){if(e.length<=br)return;const n=br+t,r=e[n];if(r){const o=r[lo];null!==o&&o!==e&&rp(o,r),t>0&&(e[n-1][Cr]=r[Cr]);const s=jl(e,br+t);!function Hv(e,t){xc(e,t,t[Rt],2,null,null),t[On]=null,t[qn]=null}(r[dt],r);const c=s[Hr];null!==c&&c.detachView(s[dt]),r[Pn]=null,r[Cr]=null,r[Pt]&=-129}return r}function Fd(e,t){if(!(256&t[Pt])){const n=t[Rt];t[Qo]&&Ni(t[Qo]),t[uo]&&Ni(t[uo]),n.destroyNode&&xc(e,t,n,3,null,null),function Gv(e){let t=e[Kr];if(!t)return Ld(e[dt],e);for(;t;){let n=null;if(Pr(t))n=t[Kr];else{const r=t[br];r&&(n=r)}if(!n){for(;t&&!t[Cr]&&t!==e;)Pr(t)&&Ld(t[dt],t),t=t[Pn];null===t&&(t=e),Pr(t)&&Ld(t[dt],t),n=t&&t[Cr]}t=n}}(t)}}function Ld(e,t){if(!(256&t[Pt])){t[Pt]&=-129,t[Pt]|=256,function Yv(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const o=t[n[r]];if(!(o instanceof $i)){const s=n[r+1];if(Array.isArray(s))for(let c=0;c<s.length;c+=2){const d=o[s[c]],v=s[c+1];wr(4,d,v);try{v.call(d)}finally{wr(5,d,v)}}else{wr(4,o,s);try{s.call(o)}finally{wr(5,o,s)}}}}}(e,t),function Kv(e,t){const n=e.cleanup,r=t[mo];if(null!==n)for(let s=0;s<n.length-1;s+=2)if("string"==typeof n[s]){const c=n[s+3];c>=0?r[c]():r[-c].unsubscribe(),s+=2}else n[s].call(r[n[s+1]]);null!==r&&(t[mo]=null);const o=t[qo];if(null!==o){t[qo]=null;for(let s=0;s<o.length;s++)(0,o[s])()}}(e,t),1===t[dt].type&&t[Rt].destroy();const n=t[lo];if(null!==n&&tr(t[Pn])){n!==t[Pn]&&rp(n,t);const r=t[Hr];null!==r&&r.detachView(e)}!function Rv(e){Od.delete(e[Is])}(t)}}function Bd(e,t,n){return function op(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[On];{const{componentOffset:o}=r;if(o>-1){const{encapsulation:s}=e.data[r.directiveStart+o];if(s===ge.None||s===ge.Emulated)return null}return Bn(r,n)}}(e,t.parent,n)}function wl(e,t,n,r,o){e.insertBefore(t,n,r,o)}function sp(e,t,n){e.appendChild(t,n)}function ip(e,t,n,r,o){null!==r?wl(e,t,n,r,o):sp(e,t,n)}function vu(e,t){return e.parentNode(t)}function ap(e,t,n){return cp(e,t,n)}let Vd,Cu,$d,bu,cp=function lp(e,t,n){return 40&e.type?Bn(e,n):null};function Du(e,t,n,r){const o=Bd(e,r,t),s=t[Rt],d=ap(r.parent||t[qn],r,t);if(null!=o)if(Array.isArray(n))for(let v=0;v<n.length;v++)ip(s,o,n[v],d,!1);else ip(s,o,n,d,!1);void 0!==Vd&&Vd(s,r,t,n,o)}function Nc(e,t){if(null!==t){const n=t.type;if(3&n)return Bn(t,e);if(4&n)return jd(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return Nc(e,r);{const o=e[t.index];return tr(o)?jd(-1,o):In(o)}}if(32&n)return xd(t,e)()||In(e[t.index]);{const r=dp(e,t);return null!==r?Array.isArray(r)?r[0]:Nc(Rc(e[Zn]),r):Nc(e,t.next)}}return null}function dp(e,t){return null!==t?e[Zn][qn].projection[t.projection]:null}function jd(e,t){const n=br+e+1;if(n<t.length){const r=t[n],o=r[dt].firstChild;if(null!==o)return Nc(r,o)}return t[Rn]}function Ud(e,t,n,r,o,s,c){for(;null!=n;){const d=r[n.index],v=n.type;if(c&&0===t&&(d&&as(In(d),r),n.flags|=2),32!=(32&n.flags))if(8&v)Ud(e,t,n.child,r,o,s,!1),Gl(t,e,o,d,s);else if(32&v){const S=xd(n,r);let N;for(;N=S();)Gl(t,e,o,N,s);Gl(t,e,o,d,s)}else 16&v?hp(e,t,r,n,o,s):Gl(t,e,o,d,s);n=c?n.projectionNext:n.next}}function xc(e,t,n,r,o,s){Ud(n,r,e.firstChild,t,o,s,!1)}function hp(e,t,n,r,o,s){const c=n[Zn],v=c[qn].projection[r.projection];if(Array.isArray(v))for(let S=0;S<v.length;S++)Gl(t,e,o,v[S],s);else{let S=v;const N=c[Pn];wi(r)&&(S.flags|=128),Ud(e,t,S,N,o,s,!0)}}function pp(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function gp(e,t,n){const{mergedAttrs:r,classes:o,styles:s}=n;null!==r&&tn(e,t,r),null!==o&&pp(e,t,o),null!==s&&function tD(e,t,n){e.setAttribute(t,"style",n)}(e,t,s)}function Wl(e){return function Hd(){if(void 0===Cu&&(Cu=null,qt.trustedTypes))try{Cu=qt.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Cu}()?.createHTML(e)||e}function sD(e){$d=e}function Zl(){if(void 0!==$d)return $d;if(typeof document<"u")return document;throw new Z(210,!1)}function zd(){if(void 0===bu&&(bu=null,qt.trustedTypes))try{bu=qt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return bu}function mp(e){return zd()?.createHTML(e)||e}function yp(e){return zd()?.createScriptURL(e)||e}class Ml{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Ve})`}}class iD extends Ml{getTypeName(){return"HTML"}}class aD extends Ml{getTypeName(){return"Style"}}class lD extends Ml{getTypeName(){return"Script"}}class cD extends Ml{getTypeName(){return"URL"}}class uD extends Ml{getTypeName(){return"ResourceURL"}}function Pa(e){return e instanceof Ml?e.changingThisBreaksApplicationSecurity:e}function Kl(e,t){const n=function dD(e){return e instanceof Ml&&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 ${Ve})`)}return n===t}function fD(e){return new iD(e)}function hD(e){return new aD(e)}function pD(e){return new lD(e)}function gD(e){return new cD(e)}function mD(e){return new uD(e)}class _D{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(Wl(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class yD{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=Wl(t),n}}const DD=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function wu(e){return(e=String(e)).match(DD)?e:"unsafe:"+e}function Ra(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function kc(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const Dp=Ra("area,br,col,hr,img,wbr"),Ep=Ra("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Cp=Ra("rp,rt"),Gd=kc(Dp,kc(Ep,Ra("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")),kc(Cp,Ra("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")),kc(Cp,Ep)),Wd=Ra("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),bp=kc(Wd,Ra("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"),Ra("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")),ED=Ra("script,style,template");class CD{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 o=this.checkClobberedElement(n,n.nextSibling);if(o){n=o;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!Gd.hasOwnProperty(n))return this.sanitizedSomething=!0,!ED.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let o=0;o<r.length;o++){const s=r.item(o),c=s.name,d=c.toLowerCase();if(!bp.hasOwnProperty(d)){this.sanitizedSomething=!0;continue}let v=s.value;Wd[d]&&(v=wu(v)),this.buf.push(" ",c,'="',wp(v),'"')}return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();Gd.hasOwnProperty(n)&&!Dp.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(wp(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 bD=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,wD=/([^\#-~ |!])/g;function wp(e){return e.replace(/&/g,"&amp;").replace(bD,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(wD,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let Mu;function Mp(e,t){let n=null;try{Mu=Mu||function vp(e){const t=new yD(e);return function vD(){try{return!!(new window.DOMParser).parseFromString(Wl(""),"text/html")}catch{return!1}}()?new _D(t):t}(e);let r=t?String(t):"";n=Mu.getInertBodyElement(r);let o=5,s=r;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,r=s,s=n.innerHTML,n=Mu.getInertBodyElement(r)}while(r!==s);return Wl((new CD).sanitizeChildren(Zd(n)||n))}finally{if(n){const r=Zd(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function Zd(e){return"content"in e&&function MD(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Tl=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}(Tl||{});function Tp(e){const t=Fc();return t?mp(t.sanitize(Tl.HTML,e)||""):Kl(e,"HTML")?mp(Pa(e)):Mp(Zl(),me(e))}function Kd(e){const t=Fc();return t?t.sanitize(Tl.URL,e)||"":Kl(e,"URL")?Pa(e):wu(me(e))}function Ip(e){const t=Fc();if(t)return yp(t.sanitize(Tl.RESOURCE_URL,e)||"");if(Kl(e,"ResourceURL"))return yp(Pa(e));throw new Z(904,!1)}function Sp(e,t,n){return function OD(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?Ip:Kd}(t,n)(e)}function Fc(){const e=qe();return e&&e[ao].sanitizer}class Kn{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=Dt({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const Lc=new Kn("ENVIRONMENT_INITIALIZER"),Ap=new Kn("INJECTOR",-1),Op=new Kn("INJECTOR_DEF_TYPES");class Yd{get(t,n=lr){if(n===lr){const r=new Error(`NullInjectorError: No provider for ${fe(t)}!`);throw r.name="NullInjectorError",r}return n}}function qd(e){return{\u0275providers:e}}function PD(...e){return{\u0275providers:Pp(0,e),\u0275fromNgModule:!0}}function Pp(e,...t){const n=[],r=new Set;let o;const s=c=>{n.push(c)};return ol(t,c=>{const d=c;Tu(d,s,[],r)&&(o||=[],o.push(d))}),void 0!==o&&Rp(o,s),n}function Rp(e,t){for(let n=0;n<e.length;n++){const{ngModule:r,providers:o}=e[n];Qd(o,s=>{t(s,r)})}}function Tu(e,t,n,r){if(!(e=Oe(e)))return!1;let o=null,s=yr(e);const c=!s&&nn(e);if(s||c){if(c&&!c.standalone)return!1;o=e}else{const v=e.ngModule;if(s=yr(v),!s)return!1;o=v}const d=r.has(o);if(c){if(d)return!1;if(r.add(o),c.dependencies){const v="function"==typeof c.dependencies?c.dependencies():c.dependencies;for(const S of v)Tu(S,t,n,r)}}else{if(!s)return!1;{if(null!=s.imports&&!d){let S;r.add(o);try{ol(s.imports,N=>{Tu(N,t,n,r)&&(S||=[],S.push(N))})}finally{}void 0!==S&&Rp(S,t)}if(!d){const S=qr(o)||(()=>new o);t({provide:o,useFactory:S,deps:ke},o),t({provide:Op,useValue:o,multi:!0},o),t({provide:Lc,useValue:()=>Qe(o),multi:!0},o)}const v=s.providers;if(null!=v&&!d){const S=e;Qd(v,N=>{t(N,S)})}}}return o!==e&&void 0!==e.providers}function Qd(e,t){for(let n of e)Le(n)&&(n=n.\u0275providers),Array.isArray(n)?Qd(n,t):t(n)}const RD=U({provide:String,useValue:U});function Jd(e){return null!==e&&"object"==typeof e&&RD in e}function Il(e){return"function"==typeof e}const Xd=new Kn("Set Injector scope."),Iu={},xD={};let ef;function Su(){return void 0===ef&&(ef=new Yd),ef}class aa{}class Au extends aa{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,nf(t,c=>this.processProvider(c)),this.records.set(Ap,Yl(void 0,this)),o.has("environment")&&this.records.set(aa,Yl(void 0,this));const s=this.records.get(Xd);null!=s&&"string"==typeof s.value&&this.scopes.add(s.value),this.injectorDefTypes=new Set(this.get(Op.multi,ke,ct.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=se(this),r=rn(void 0);try{return t()}finally{se(n),rn(r)}}get(t,n=lr,r=ct.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Sr))return t[Sr](this);r=Lt(r);const s=se(this),c=rn(void 0);try{if(!(r&ct.SkipSelf)){let v=this.records.get(t);if(void 0===v){const S=function VD(e){return"function"==typeof e||"object"==typeof e&&e instanceof Kn}(t)&&sn(t);v=S&&this.injectableDefInScope(S)?Yl(tf(t),Iu):null,this.records.set(t,v)}if(null!=v)return this.hydrate(t,v)}return(r&ct.Self?Su():this.parent).get(t,n=r&ct.Optional&&n===lr?null:n)}catch(d){if("NullInjectorError"===d.name){if((d[Dr]=d[Dr]||[]).unshift(fe(t)),s)throw d;return function re(e,t,n,r){const o=e[Dr];throw t[x]&&o.unshift(t[x]),e.message=function Ie(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=fe(t);if(Array.isArray(t))o=t.map(fe).join(" -> ");else if("object"==typeof t){let s=[];for(let c in t)if(t.hasOwnProperty(c)){let d=t[c];s.push(c+":"+("string"==typeof d?JSON.stringify(d):fe(d)))}o=`{${s.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(ie,"\n ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[Dr]=null,e}(d,t,"R3InjectorError",this.source)}throw d}finally{rn(c),se(s)}}resolveInjectorInitializers(){const t=se(this),n=rn(void 0);try{const o=this.get(Lc.multi,ke,ct.Self);for(const s of o)s()}finally{se(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 Z(205,!1)}processProvider(t){let n=Il(t=Oe(t))?t:Oe(t&&t.provide);const r=function FD(e){return Jd(e)?Yl(void 0,e.useValue):Yl(kp(e),Iu)}(t);if(Il(t)||!0!==t.multi)this.records.get(n);else{let o=this.records.get(n);o||(o=Yl(void 0,Iu,!0),o.factory=()=>bt(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===Iu&&(n.value=xD,n.value=n.factory()),"object"==typeof n.value&&n.value&&function BD(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=Oe(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 tf(e){const t=sn(e),n=null!==t?t.factory:qr(e);if(null!==n)return n;if(e instanceof Kn)throw new Z(204,!1);if(e instanceof Function)return function kD(e){const t=e.length;if(t>0)throw Cl(t,"?"),new Z(204,!1);const n=function Sn(e){return e&&(e[Jn]||e[sr])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new Z(204,!1)}function kp(e,t,n){let r;if(Il(e)){const o=Oe(e);return qr(o)||tf(o)}if(Jd(e))r=()=>Oe(e.useValue);else if(function xp(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...bt(e.deps||[]));else if(function Np(e){return!(!e||!e.useExisting)}(e))r=()=>Qe(Oe(e.useExisting));else{const o=Oe(e&&(e.useClass||e.provide));if(!function LD(e){return!!e.deps}(e))return qr(o)||tf(o);r=()=>new o(...bt(e.deps))}return r}function Yl(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function nf(e,t){for(const n of e)Array.isArray(n)?nf(n,t):n&&Le(n)?nf(n.\u0275providers,t):t(n)}const Fp=new Kn("AppId",{providedIn:"root",factory:()=>jD}),jD="ng",Lp=new Kn("Platform Initializer"),rf=new Kn("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),UD=new Kn("AnimationModuleType"),HD=new Kn("CSP nonce",{providedIn:"root",factory:()=>Zl().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let Bp=(e,t,n)=>null;function hf(e,t,n=!1){return Bp(e,t,n)}class JD{}class Up{}class eE{resolveComponentFactory(t){throw function XD(e){const t=Error(`No component factory found for ${fe(e)}.`);return t.ngComponent=e,t}(t)}}let jc=(()=>{class t{}return t.NULL=new eE,t})();function tE(){return Jl(Qn(),qe())}function Jl(e,t){return new Uc(Bn(e,t))}let Uc=(()=>{class t{constructor(r){this.nativeElement=r}}return t.__NG_ELEMENT_ID__=tE,t})();function nE(e){return e instanceof Uc?e.nativeElement:e}class $p{}let rE=(()=>{class t{constructor(){this.destroyNode=null}}return t.__NG_ELEMENT_ID__=()=>function oE(){const e=qe(),n=fo(Qn().index,e);return(Pr(n)?n:e)[Rt]}(),t})(),sE=(()=>{var e;class t{}return(e=t).\u0275prov=Dt({token:e,providedIn:"root",factory:()=>null}),t})();class zp{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Gp=new zp("16.2.5"),mf={};function Yp(e,t=null,n=null,r){const o=qp(e,t,n,r);return o.resolveInjectorInitializers(),o}function qp(e,t=null,n=null,r,o=new Set){const s=[n||ke,PD(e)];return r=r||("object"==typeof e?void 0:fe(e)),new Au(s,t||Su(),r||null,o)}let qi=(()=>{var e;class t{static create(r,o){if(Array.isArray(r))return Yp({name:""},o,r,"");{const s=r.name??"";return Yp({name:s},r.parent,r.providers,s)}}}return(e=t).THROW_IF_NOT_FOUND=lr,e.NULL=new Yd,e.\u0275prov=Dt({token:e,providedIn:"any",factory:()=>Qe(Ap)}),e.__NG_ELEMENT_ID__=-1,t})();function yf(e){return e.ngOriginalError}class sl{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&&yf(t);for(;n&&yf(n);)n=yf(n);return n||null}}function Df(e){return t=>{setTimeout(e,void 0,t)}}const la=class fE extends a.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let o=t,s=n||(()=>null),c=r;if(t&&"object"==typeof t){const v=t;o=v.next?.bind(v),s=v.error?.bind(v),c=v.complete?.bind(v)}this.__isAsync&&(s=Df(s),o&&(o=Df(o)),c&&(c=Df(c)));const d=super.subscribe({next:o,error:s,complete:c});return t instanceof u.w0&&t.add(d),d}};function Jp(...e){}class Ro{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new la(!1),this.onMicrotaskEmpty=new la(!1),this.onStable=new la(!1),this.onError=new la(!1),typeof Zone>"u")throw new Z(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function hE(){const e="function"==typeof qt.requestAnimationFrame;let t=qt[e?"requestAnimationFrame":"setTimeout"],n=qt[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);const o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function mE(e){const t=()=>{!function gE(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(qt,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Cf(e),e.isCheckStableRunning=!0,Ef(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Cf(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,s,c,d)=>{if(function yE(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(d))return n.invokeTask(o,s,c,d);try{return Xp(e),n.invokeTask(o,s,c,d)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&t(),eg(e)}},onInvoke:(n,r,o,s,c,d,v)=>{try{return Xp(e),n.invoke(o,s,c,d,v)}finally{e.shouldCoalesceRunChangeDetection&&t(),eg(e)}},onHasTask:(n,r,o,s)=>{n.hasTask(o,s),r===o&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,Cf(e),Ef(e)):"macroTask"==s.change&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(n,r,o,s)=>(n.handleError(o,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Ro.isInAngularZone())throw new Z(909,!1)}static assertNotInAngularZone(){if(Ro.isInAngularZone())throw new Z(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){const s=this._inner,c=s.scheduleEventTask("NgZoneEvent: "+o,t,pE,Jp,Jp);try{return s.runTask(c,n,r)}finally{s.cancelTask(c)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const pE={};function Ef(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 Cf(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Xp(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function eg(e){e._nesting--,Ef(e)}class _E{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new la,this.onMicrotaskEmpty=new la,this.onStable=new la,this.onError=new la}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,o){return t.apply(n,r)}}const tg=new Kn("",{providedIn:"root",factory:ng});function ng(){const e=lt(Ro);let t=!0;const n=new G.y(o=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{o.next(t),o.complete()})}),r=new G.y(o=>{let s;e.runOutsideAngular(()=>{s=e.onStable.subscribe(()=>{Ro.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,o.next(!0))})})});const c=e.onUnstable.subscribe(()=>{Ro.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{o.next(!1)}))});return()=>{s.unsubscribe(),c.unsubscribe()}});return(0,ne.T)(n,r.pipe((0,ee.B)()))}function rg(e){return e.ownerDocument.defaultView}function Na(e){return e instanceof Function?e():e}let bf=(()=>{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=Dt({token:e,providedIn:"root",factory:()=>new e}),t})();function Hc(e){for(;e;){e[Pt]|=64;const t=Rc(e);if(As(e)&&!t)return e;e=t}return null}const lg=new Kn("",{providedIn:"root",factory:()=>!1});let Fu=null;function fg(e,t){return e[t]??gg()}function hg(e,t){const n=gg();n.producerNode?.length&&(e[t]=Fu,n.lView=e,Fu=pg())}const IE={...es,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Hc(e.lView)},lView:null};function pg(){return Object.create(IE)}function gg(){return Fu??=pg(),Fu}const ln={};function mg(e){_g(mn(),qe(),Qr()+e,!1)}function _g(e,t,n,r){if(!r)if(3==(3&t[Pt])){const s=e.preOrderCheckHooks;null!==s&&hl(t,s,n)}else{const s=e.preOrderHooks;null!==s&&Za(t,s,0,n)}ni(n)}function tc(e,t=ct.Default){const n=qe();return null===n?Qe(e,t):Ma(Qn(),n,Oe(e),t)}function yg(){throw new Error("invalid")}function Lu(e,t,n,r,o,s,c,d,v,S,N){const Q=t.blueprint.slice();return Q[On]=o,Q[Pt]=140|r,(null!==S||e&&2048&e[Pt])&&(Q[Pt]|=2048),ja(Q),Q[Pn]=Q[Bo]=e,Q[Wn]=n,Q[ao]=c||e&&e[ao],Q[Rt]=d||e&&e[Rt],Q[_o]=v||e&&e[_o]||null,Q[qn]=s,Q[Is]=function Ov(){return Av++}(),Q[co]=N,Q[Ss]=S,Q[Zn]=2==t.type?e[Zn]:Q,Q}function nc(e,t,n,r,o){let s=e.data[t];if(null===s)s=function wf(e,t,n,r,o){const s=Ho(),c=Ea(),v=e.data[t]=function kE(e,t,n,r,o,s){let c=t?t.injectorIndex:-1,d=0;return Js()&&(d|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:c,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:d,providerIndexes:0,value:o,attrs:s,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,c?s:s&&s.parent,n,t,r,o);return null===e.firstChild&&(e.firstChild=v),null!==s&&(c?null==s.child&&null!==v.parent&&(s.child=v):null===s.next&&(s.next=v,v.prev=s)),v}(e,t,n,r,o),function _(){return Nt.lFrame.inI18n}()&&(s.flags|=32);else if(64&s.type){s.type=n,s.value=r,s.attrs=o;const c=function $o(){const e=Nt.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();s.injectorIndex=null===c?-1:c.injectorIndex}return ho(s,!0),s}function $c(e,t,n,r){if(0===n)return-1;const o=t.length;for(let s=0;s<n;s++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function vg(e,t,n,r,o){const s=fg(t,Qo),c=Qr(),d=2&r;try{ni(-1),d&&t.length>Zt&&_g(e,t,Zt,!1),wr(d?2:0,o);const S=d?s:null,N=hi(S);try{null!==S&&(S.dirty=!1),n(r,o)}finally{hr(S,N)}}finally{d&&null===t[Qo]&&hg(t,Qo),ni(c),wr(d?3:1,o)}}function Mf(e,t,n){if(Ws(t)){const r=jr(null);try{const s=t.directiveEnd;for(let c=t.directiveStart;c<s;c++){const d=e.data[c];d.contentQueries&&d.contentQueries(1,n[c],c)}}finally{jr(r)}}}function Tf(e,t,n){Mr()&&(function HE(e,t,n,r){const o=n.directiveStart,s=n.directiveEnd;us(n)&&function YE(e,t,n){const r=Bn(t,e),o=Dg(n);let c=16;n.signals?c=4096:n.onPush&&(c=64);const d=Bu(e,Lu(e,o,null,c,r,t,null,e[ao].rendererFactory.createRenderer(r,n),null,null,null));e[t.index]=d}(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||Qa(n,t),as(r,t);const c=n.initialInputs;for(let d=o;d<s;d++){const v=e.data[d],S=ms(t,e,d,n);as(S,t),null!==c&&qE(0,d-o,S,v,0,c),Nr(v)&&(fo(n.index,t)[Wn]=ms(t,e,d,n))}}(e,t,n,Bn(n,t)),64==(64&n.flags)&&Mg(e,t,n))}function If(e,t,n=Bn){const r=t.localNames;if(null!==r){let o=t.index+1;for(let s=0;s<r.length;s+=2){const c=r[s+1],d=-1===c?n(t,e):e[c];e[o++]=d}}}function Dg(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Sf(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Sf(e,t,n,r,o,s,c,d,v,S,N){const Q=Zt+r,he=Q+o,Me=function AE(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:ln);return n}(Q,he),Ke="function"==typeof S?S():S;return Me[dt]={type:e,blueprint:Me,template:n,queries:null,viewQuery:d,declTNode:t,data:Me.slice().fill(null,Q),bindingStartIndex:Q,expandoStartIndex:he,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 s?s():s,pipeRegistry:"function"==typeof c?c():c,firstChild:null,schemas:v,consts:Ke,incompleteFirstPass:!1,ssrId:N}}let Eg=e=>null;function Cg(e,t,n,r){for(let o in e)if(e.hasOwnProperty(o)){n=null===n?{}:n;const s=e[o];null===r?bg(n,t,o,s):r.hasOwnProperty(o)&&bg(n,t,r[o],s)}return n}function bg(e,t,n,r){e.hasOwnProperty(n)?e[n].push(t,r):e[n]=[t,r]}function ii(e,t,n,r,o,s,c,d){const v=Bn(t,n);let N,S=t.inputs;!d&&null!=S&&(N=S[r])?(Nf(e,n,N,r,o),us(t)&&function BE(e,t){const n=fo(t,e);16&n[Pt]||(n[Pt]|=64)}(n,t.index)):3&t.type&&(r=function LE(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),o=null!=c?c(o,t.value||"",r):o,s.setProperty(v,r,o))}function Af(e,t,n,r){if(Mr()){const o=null===r?null:{"":-1},s=function zE(e,t){const n=e.directiveRegistry;let r=null,o=null;if(n)for(let s=0;s<n.length;s++){const c=n[s];if(Us(t,c.selectors,!1))if(r||(r=[]),Nr(c))if(null!==c.findHostDirectiveDefs){const d=[];o=o||new Map,c.findHostDirectiveDefs(c,d,o),r.unshift(...d,c),Of(e,t,d.length)}else r.unshift(c),Of(e,t,0);else o=o||new Map,c.findHostDirectiveDefs?.(c,r,o),r.push(c)}return null===r?null:[r,o]}(e,n);let c,d;null===s?c=d=null:[c,d]=s,null!==c&&wg(e,t,n,c,o,d),o&&function GE(e,t,n){if(t){const r=e.localNames=[];for(let o=0;o<t.length;o+=2){const s=n[t[o+1]];if(null==s)throw new Z(-301,!1);r.push(t[o],s)}}}(n,r,o)}n.mergedAttrs=io(n.mergedAttrs,n.attrs)}function wg(e,t,n,r,o,s){for(let S=0;S<r.length;S++)wa(Qa(n,t),e,r[S].type);!function ZE(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 N=r[S];N.providersResolver&&N.providersResolver(N)}let c=!1,d=!1,v=$c(e,t,r.length,null);for(let S=0;S<r.length;S++){const N=r[S];n.mergedAttrs=io(n.mergedAttrs,N.hostAttrs),KE(e,n,t,v,N),WE(v,N,o),null!==N.contentQueries&&(n.flags|=4),(null!==N.hostBindings||null!==N.hostAttrs||0!==N.hostVars)&&(n.flags|=64);const Q=N.type.prototype;!c&&(Q.ngOnChanges||Q.ngOnInit||Q.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),c=!0),!d&&(Q.ngOnChanges||Q.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),d=!0),v++}!function FE(e,t,n){const o=t.directiveEnd,s=e.data,c=t.attrs,d=[];let v=null,S=null;for(let N=t.directiveStart;N<o;N++){const Q=s[N],he=n?n.get(Q):null,Ke=he?he.outputs:null;v=Cg(Q.inputs,N,v,he?he.inputs:null),S=Cg(Q.outputs,N,S,Ke);const ot=null===v||null===c||fr(t)?null:QE(v,N,c);d.push(ot)}null!==v&&(v.hasOwnProperty("class")&&(t.flags|=8),v.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=d,t.inputs=v,t.outputs=S}(e,n,s)}function Mg(e,t,n){const r=n.directiveStart,o=n.directiveEnd,s=n.index,c=function M(){return Nt.lFrame.currentDirectiveIndex}();try{ni(s);for(let d=r;d<o;d++){const v=e.data[d],S=t[d];F(d),(null!==v.hostBindings||0!==v.hostVars||null!==v.hostAttrs)&&$E(v,S)}}finally{ni(-1),F(c)}}function $E(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Of(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function WE(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Nr(t)&&(n[""]=e)}}function KE(e,t,n,r,o){e.data[r]=o;const s=o.factory||(o.factory=qr(o.type)),c=new $i(s,Nr(o),tc);e.blueprint[r]=c,n[r]=c,function jE(e,t,n,r,o){const s=o.hostBindings;if(s){let c=e.hostBindingOpCodes;null===c&&(c=e.hostBindingOpCodes=[]);const d=~t.index;(function UE(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(c)!=d&&c.push(d),c.push(n,r,s)}}(e,t,r,$c(e,n,o.hostVars,ln),o)}function ca(e,t,n,r,o,s){const c=Bn(e,t);!function Pf(e,t,n,r,o,s,c){if(null==s)e.removeAttribute(t,o,n);else{const d=null==c?me(s):c(s,r||"",o);e.setAttribute(t,o,d,n)}}(t[Rt],c,s,e.value,n,r,o)}function qE(e,t,n,r,o,s){const c=s[t];if(null!==c)for(let d=0;d<c.length;)Tg(r,n,c[d++],c[d++],c[d++])}function Tg(e,t,n,r,o){const s=jr(null);try{const c=e.inputTransforms;null!==c&&c.hasOwnProperty(r)&&(o=c[r].call(t,o)),null!==e.setInput?e.setInput(t,o,n,r):t[r]=o}finally{jr(s)}}function QE(e,t,n){let r=null,o=0;for(;o<n.length;){const s=n[o];if(0!==s)if(5!==s){if("number"==typeof s)break;if(e.hasOwnProperty(s)){null===r&&(r=[]);const c=e[s];for(let d=0;d<c.length;d+=2)if(c[d]===t){r.push(s,c[d+1],n[o+1]);break}}o+=2}else o+=2;else o+=4}return r}function Ig(e,t,n,r){return[e,!0,!1,t,null,0,r,n,null,null,null]}function Sg(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const s=n[r+1];if(-1!==s){const c=e.data[s];nt(n[r]),c.contentQueries(2,t[s],s)}}}function Bu(e,t){return e[Kr]?e[Ts][Cr]=t:e[Kr]=t,e[Ts]=t,t}function Rf(e,t,n){nt(0);const r=jr(null);try{t(e,n)}finally{jr(r)}}function Ag(e){return e[mo]||(e[mo]=[])}function Og(e){return e.cleanup||(e.cleanup=[])}function Pg(e,t,n){return(null===e||Nr(e))&&(n=function qs(e){for(;Array.isArray(e);){if("object"==typeof e[$r])return e;e=e[On]}return null}(n[t.index])),n[Rt]}function Rg(e,t){const n=e[_o],r=n?n.get(sl,null):null;r&&r.handleError(t)}function Nf(e,t,n,r,o){for(let s=0;s<n.length;){const c=n[s++],d=n[s++];Tg(e.data[c],t[c],r,d,o)}}function xa(e,t,n){const r=rs(t,e);!function np(e,t,n){e.setValue(t,n)}(e[Rt],r,n)}function JE(e,t){const n=fo(t,e),r=n[dt];!function XE(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n);const o=n[On];null!==o&&null===n[co]&&(n[co]=hf(o,n[_o])),xf(r,n,n[Wn])}function xf(e,t,n){Ht(t);try{const r=e.viewQuery;null!==r&&Rf(1,r,n);const o=e.template;null!==o&&vg(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Sg(e,t),e.staticViewQueries&&Rf(2,e.viewQuery,n);const s=e.components;null!==s&&function e0(e,t){for(let n=0;n<t.length;n++)JE(e,t[n])}(t,s)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[Pt]&=-5,Ns()}}let Ng=(()=>{var e;class t{constructor(){this.all=new Set,this.queue=new Map}create(r,o,s){const c=typeof Zone>"u"?null:Zone.current,d=function le(e,t,n){const r=Object.create(it);n&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;const o=c=>{r.cleanupFn=c};return r.ref={notify:()=>Ks(r),run:()=>{if(r.dirty=!1,r.hasRun&&!pa(r))return;r.hasRun=!0;const c=hi(r);try{r.cleanupFn(),r.cleanupFn=ze,r.fn(o)}finally{hr(r,c)}},cleanup:()=>r.cleanupFn()},r.ref}(r,N=>{this.all.has(N)&&this.queue.set(N,c)},s);let v;this.all.add(d),d.notify();const S=()=>{d.cleanup(),v?.(),this.all.delete(d),this.queue.delete(d)};return v=o?.onDestroy(S),{destroy:S}}flush(){if(0!==this.queue.size)for(const[r,o]of this.queue)this.queue.delete(r),o?o.run(()=>r.run()):r.run()}get isQueueEmpty(){return 0===this.queue.size}}return(e=t).\u0275prov=Dt({token:e,providedIn:"root",factory:()=>new e}),t})();function Vu(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,s=0;if(null!==t)for(let c=0;c<t.length;c++){const d=t[c];"number"==typeof d?s=d:1==s?o=xe(o,d):2==s&&(r=xe(r,d+": "+t[++c]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function zc(e,t,n,r,o=!1){for(;null!==n;){const s=t[n.index];null!==s&&r.push(In(s)),tr(s)&&xg(s,r);const c=n.type;if(8&c)zc(e,t,n.child,r);else if(32&c){const d=xd(n,t);let v;for(;v=d();)r.push(v)}else if(16&c){const d=dp(t,n);if(Array.isArray(d))r.push(...d);else{const v=Rc(t[Zn]);zc(v[dt],v,d,r,!0)}}n=o?n.projectionNext:n.next}return r}function xg(e,t){for(let n=br;n<e.length;n++){const r=e[n],o=r[dt].firstChild;null!==o&&zc(r[dt],r,o,t)}e[Rn]!==e[On]&&t.push(e[Rn])}function ju(e,t,n,r=!0){const o=t[ao],s=o.rendererFactory,c=o.afterRenderEventManager;s.begin?.(),c?.begin();try{kg(e,t,e.template,n)}catch(v){throw r&&Rg(t,v),v}finally{s.end?.(),o.effectManager?.flush(),c?.end()}}function kg(e,t,n,r){const o=t[Pt];if(256!=(256&o)){t[ao].effectManager?.flush(),Ht(t);try{ja(t),function fl(e){return Nt.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&vg(e,t,n,2,r);const c=3==(3&o);if(c){const S=e.preOrderCheckHooks;null!==S&&hl(t,S,null)}else{const S=e.preOrderHooks;null!==S&&Za(t,S,0,null),pl(t,0)}if(function r0(e){for(let t=Xh(e);null!==t;t=ep(t)){if(!t[Jo])continue;const n=t[Xr];for(let r=0;r<n.length;r++){Ao(n[r])}}}(t),Fg(t,2),null!==e.contentQueries&&Sg(e,t),c){const S=e.contentCheckHooks;null!==S&&hl(t,S)}else{const S=e.contentHooks;null!==S&&Za(t,S,1),pl(t,1)}!function SE(e,t){const n=e.hostBindingOpCodes;if(null===n)return;const r=fg(t,uo);try{for(let o=0;o<n.length;o++){const s=n[o];if(s<0)ni(~s);else{const c=s,d=n[++o],v=n[++o];y(d,c),r.dirty=!1;const S=hi(r);try{v(2,t[c])}finally{hr(r,S)}}}}finally{null===t[uo]&&hg(t,uo),ni(-1)}}(e,t);const d=e.components;null!==d&&Bg(t,d,0);const v=e.viewQuery;if(null!==v&&Rf(2,v,r),c){const S=e.viewCheckHooks;null!==S&&hl(t,S)}else{const S=e.viewHooks;null!==S&&Za(t,S,2),pl(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[Pt]&=-73,Ua(t)}finally{Ns()}}}function Fg(e,t){for(let n=Xh(e);null!==n;n=ep(n))for(let r=br;r<n.length;r++)Lg(n[r],t)}function o0(e,t,n){Lg(fo(t,e),n)}function Lg(e,t){if(!function vi(e){return 128==(128&e[Pt])}(e))return;const n=e[dt],r=e[Pt];if(80&r&&0===t||1024&r||2===t)kg(n,e,n.template,e[Wn]);else if(e[Io]>0){Fg(e,1);const o=n.components;null!==o&&Bg(e,o,1)}}function Bg(e,t,n){for(let r=0;r<t.length;r++)o0(e,t[r],n)}class Gc{get rootNodes(){const t=this._lView,n=t[dt];return zc(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[Wn]}set context(t){this._lView[Wn]=t}get destroyed(){return 256==(256&this._lView[Pt])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[Pn];if(tr(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(yu(t,r),jl(n,r))}this._attachedToViewContainer=!1}Fd(this._lView[dt],this._lView)}onDestroy(t){!function Vi(e,t){if(256==(256&e[Pt]))throw new Z(911,!1);null===e[qo]&&(e[qo]=[]),e[qo].push(t)}(this._lView,t)}markForCheck(){Hc(this._cdRefInjectingView||this._lView)}detach(){this._lView[Pt]&=-129}reattach(){this._lView[Pt]|=128}detectChanges(){ju(this._lView[dt],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Z(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function zv(e,t){xc(e,t,t[Rt],2,null,null)}(this._lView[dt],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Z(902,!1);this._appRef=t}}class s0 extends Gc{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;ju(t[dt],t,t[Wn],!1)}checkNoChanges(){}get context(){return null}}class Vg extends jc{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=nn(t);return new Wc(n,this.ngModule)}}function jg(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class l0{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=Lt(r);const o=this.injector.get(t,mf,r);return o!==mf||n===mf?o:this.parentInjector.get(t,n,r)}}class Wc extends Up{get inputs(){const t=this.componentDef,n=t.inputTransforms,r=jg(t.inputs);if(null!==n)for(const o of r)n.hasOwnProperty(o.propName)&&(o.transform=n[o.propName]);return r}get outputs(){return jg(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function Hs(e){return e.map(Cs).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,o){let s=(o=o||this.ngModule)instanceof aa?o:o?.injector;s&&null!==this.componentDef.getStandaloneInjector&&(s=this.componentDef.getStandaloneInjector(s)||s);const c=s?new l0(t,s):t,d=c.get($p,null);if(null===d)throw new Z(407,!1);const Q={rendererFactory:d,sanitizer:c.get(sE,null),effectManager:c.get(Ng,null),afterRenderEventManager:c.get(bf,null)},he=d.createRenderer(null,this.componentDef),Me=this.componentDef.selectors[0][0]||"div",Ke=r?function OE(e,t,n,r){const s=r.get(lg,!1)||n===ge.ShadowDom,c=e.selectRootElement(t,s);return function PE(e){Eg(e)}(c),c}(he,r,this.componentDef.encapsulation,c):_u(he,Me,function a0(e){const t=e.toLowerCase();return"svg"===t?Gr:"math"===t?"math":null}(Me)),At=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let Je=null;null!==Ke&&(Je=hf(Ke,c,!0));const Xt=Sf(0,null,null,1,0,null,null,null,null,null,null),yn=Lu(null,Xt,null,At,null,null,Q,he,c,null,Je);let rr,js;Ht(yn);try{const ka=this.componentDef;let vc,$h=null;ka.findHostDirectiveDefs?(vc=[],$h=new Map,ka.findHostDirectiveDefs(ka,vc,$h),vc.push(ka)):vc=[ka];const lT=function u0(e,t){const n=e[dt],r=Zt;return e[r]=t,nc(n,r,2,"#host",null)}(yn,Ke),cT=function d0(e,t,n,r,o,s,c){const d=o[dt];!function f0(e,t,n,r){for(const o of e)t.mergedAttrs=io(t.mergedAttrs,o.hostAttrs);null!==t.mergedAttrs&&(Vu(t,t.mergedAttrs,!0),null!==n&&gp(r,n,t))}(r,e,t,c);let v=null;null!==t&&(v=hf(t,o[_o]));const S=s.rendererFactory.createRenderer(t,n);let N=16;n.signals?N=4096:n.onPush&&(N=64);const Q=Lu(o,Dg(n),null,N,o[e.index],e,s,S,null,null,v);return d.firstCreatePass&&Of(d,e,r.length-1),Bu(o,Q),o[e.index]=Q}(lT,Ke,ka,vc,yn,Q,he);js=_a(Xt,Zt),Ke&&function p0(e,t,n,r){if(r)tn(e,n,["ng-version",Gp.full]);else{const{attrs:o,classes:s}=function Br(e){const t=[],n=[];let r=1,o=2;for(;r<e.length;){let s=e[r];if("string"==typeof s)2===o?""!==s&&t.push(s,e[++r]):8===o&&n.push(s);else{if(!Er(o))break;o=s}r++}return{attrs:t,classes:n}}(t.selectors[0]);o&&tn(e,n,o),s&&s.length>0&&pp(e,n,s.join(" "))}}(he,ka,Ke,r),void 0!==n&&function g0(e,t,n){const r=e.projection=[];for(let o=0;o<t.length;o++){const s=n[o];r.push(null!=s?Array.from(s):null)}}(js,this.ngContentSelectors,n),rr=function h0(e,t,n,r,o,s){const c=Qn(),d=o[dt],v=Bn(c,o);wg(d,o,c,n,null,r);for(let N=0;N<n.length;N++)as(ms(o,d,c.directiveStart+N,c),o);Mg(d,o,c),v&&as(v,o);const S=ms(o,d,c.directiveStart+c.componentOffset,c);if(e[Wn]=o[Wn]=S,null!==s)for(const N of s)N(S,t);return Mf(d,c,e),S}(cT,ka,vc,$h,yn,[m0]),xf(Xt,yn,null)}finally{Ns()}return new c0(this.componentType,rr,Jl(js,yn),yn,js)}}class c0 extends JD{constructor(t,n,r,o,s){super(),this.location=r,this._rootLView=o,this._tNode=s,this.previousInputValues=null,this.instance=n,this.hostView=this.changeDetectorRef=new s0(o),this.componentType=t}setInput(t,n){const r=this._tNode.inputs;let o;if(null!==r&&(o=r[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;const s=this._rootLView;Nf(s[dt],s,o,t,n),this.previousInputValues.set(t,n),Hc(fo(this._tNode.index,s))}}get injector(){return new kr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function m0(){const e=Qn();sa(qe()[dt],e)}function kf(e){let t=function Ug(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let o;if(Nr(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Z(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);const c=e;c.inputs=Uu(e.inputs),c.inputTransforms=Uu(e.inputTransforms),c.declaredInputs=Uu(e.declaredInputs),c.outputs=Uu(e.outputs);const d=o.hostBindings;d&&D0(e,d);const v=o.viewQuery,S=o.contentQueries;if(v&&y0(e,v),S&&v0(e,S),J(e.inputs,o.inputs),J(e.declaredInputs,o.declaredInputs),J(e.outputs,o.outputs),null!==o.inputTransforms&&(null===c.inputTransforms&&(c.inputTransforms={}),J(c.inputTransforms,o.inputTransforms)),Nr(o)&&o.data.animation){const N=e.data;N.animation=(N.animation||[]).concat(o.data.animation)}}const s=o.features;if(s)for(let c=0;c<s.length;c++){const d=s[c];d&&d.ngInherit&&d(e),d===kf&&(n=!1)}}t=Object.getPrototypeOf(t)}!function _0(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=io(o.hostAttrs,n=io(n,o.hostAttrs))}}(r)}function Uu(e){return e===Ze?{}:e===ke?[]:e}function y0(e,t){const n=e.viewQuery;e.viewQuery=n?(r,o)=>{t(r,o),n(r,o)}:t}function v0(e,t){const n=e.contentQueries;e.contentQueries=n?(r,o,s)=>{t(r,o,s),n(r,o,s)}:t}function D0(e,t){const n=e.hostBindings;e.hostBindings=n?(r,o)=>{t(r,o),n(r,o)}:t}function Gg(e){const t=e.inputConfig,n={};for(const r in t)if(t.hasOwnProperty(r)){const o=t[r];Array.isArray(o)&&o[2]&&(n[r]=o[2])}e.inputTransforms=n}function Hu(e){return!!Ff(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Ff(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function ua(e,t,n){return e[t]=n}function Zc(e,t){return e[t]}function ls(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Sl(e,t,n,r){const o=ls(e,t,n);return ls(e,t+1,r)||o}function Mi(e,t,n,r,o,s){const c=Sl(e,t,n,r);return Sl(e,t+2,o,s)||c}function Lf(e,t,n,r){const o=qe();return ls(o,ei(),t)&&(mn(),ca(mr(),o,e,t,n,r)),Lf}function oc(e,t,n,r){return ls(e,ei(),n)?t+me(n)+r:ln}function sc(e,t,n,r,o,s){const d=Sl(e,function Oo(){return Nt.lFrame.bindingIndex}(),n,o);return h(2),d?t+me(n)+r+me(o)+s:ln}function om(e,t,n,r,o,s,c,d){const v=qe(),S=mn(),N=e+Zt,Q=S.firstCreatePass?function G0(e,t,n,r,o,s,c,d,v){const S=t.consts,N=nc(t,e,4,c||null,Bi(S,d));Af(t,n,N,Bi(S,v)),sa(t,N);const Q=N.tView=Sf(2,N,r,o,s,t.directiveRegistry,t.pipeRegistry,null,t.schemas,S,null);return null!==t.queries&&(t.queries.template(t,N),Q.queries=t.queries.embeddedTView(N)),N}(N,S,v,t,n,r,o,s,c):S.data[N];ho(Q,!1);const he=sm(S,v,Q,e);Hi()&&Du(S,v,he,Q),as(he,v),Bu(v,v[N]=Ig(he,v,he,Q)),Rr(Q)&&Tf(S,v,Q),null!=c&&If(v,Q,d)}let sm=function im(e,t,n,r){return os(!0),t[Rt].createComment("")};function am(e){return Ps(function Ga(){return Nt.lFrame.contextLView}(),Zt+e)}function $f(e,t,n){const r=qe();return ls(r,ei(),t)&&ii(mn(),mr(),r,e,t,r[Rt],n,!1),$f}function zf(e,t,n,r,o){const c=o?"class":"style";Nf(e,n,t.inputs[c],c,r)}function Zu(e,t,n,r){const o=qe(),s=mn(),c=Zt+e,d=o[Rt],v=s.firstCreatePass?function Y0(e,t,n,r,o,s){const c=t.consts,v=nc(t,e,2,r,Bi(c,o));return Af(t,n,v,Bi(c,s)),null!==v.attrs&&Vu(v,v.attrs,!1),null!==v.mergedAttrs&&Vu(v,v.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,v),v}(c,s,o,t,n,r):s.data[c],S=lm(s,o,v,d,t,e);o[c]=S;const N=Rr(v);return ho(v,!0),gp(d,S,v),32!=(32&v.flags)&&Hi()&&Du(s,o,S,v),0===function ji(){return Nt.lFrame.elementDepthCount}()&&as(S,o),function gr(){Nt.lFrame.elementDepthCount++}(),N&&(Tf(s,o,v),Mf(s,v,o)),null!==r&&If(o,v),Zu}function Ku(){let e=Qn();Ea()?Xs():(e=e.parent,ho(e,!1));const t=e;(function va(e){return Nt.skipHydrationRootTNode===e})(t)&&function Nl(){Nt.skipHydrationRootTNode=null}(),function ya(){Nt.lFrame.elementDepthCount--}();const n=mn();return n.firstCreatePass&&(sa(n,e),Ws(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function Ll(e){return 0!=(8&e.flags)}(t)&&zf(n,t,qe(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function gd(e){return 0!=(16&e.flags)}(t)&&zf(n,t,qe(),t.stylesWithoutHost,!1),Ku}function Gf(e,t,n,r){return Zu(e,t,n,r),Ku(),Gf}let lm=(e,t,n,r,o,s)=>(os(!0),_u(r,o,function ri(){return Nt.lFrame.currentNamespace}()));function Yu(e,t,n){const r=qe(),o=mn(),s=e+Zt,c=o.firstCreatePass?function J0(e,t,n,r,o){const s=t.consts,c=Bi(s,r),d=nc(t,e,8,"ng-container",c);return null!==c&&Vu(d,c,!0),Af(t,n,d,Bi(s,o)),null!==t.queries&&t.queries.elementStart(t,d),d}(s,o,r,t,n):o.data[s];ho(c,!0);const d=cm(o,r,c,e);return r[s]=d,Hi()&&Du(o,r,d,c),as(d,r),Rr(c)&&(Tf(o,r,c),Mf(o,c,r)),null!=n&&If(r,c),Yu}function qu(){let e=Qn();const t=mn();return Ea()?Xs():(e=e.parent,ho(e,!1)),t.firstCreatePass&&(sa(t,e),Ws(e)&&t.queries.elementEnd(e)),qu}function Wf(e,t,n){return Yu(e,t,n),qu(),Wf}let cm=(e,t,n,r)=>(os(!0),kd(t[Rt],""));function um(){return qe()}function Zf(e){return!!e&&"function"==typeof e.then}function dm(e){return!!e&&"function"==typeof e.subscribe}function Kf(e,t,n,r){const o=qe(),s=mn(),c=Qn();return fm(s,o,o[Rt],c,e,t,r),Kf}function Yf(e,t){const n=Qn(),r=qe(),o=mn();return fm(o,r,Pg(j(o.data),n,r),n,e,t),Yf}function fm(e,t,n,r,o,s,c){const d=Rr(r),S=e.firstCreatePass&&Og(e),N=t[Wn],Q=Ag(t);let he=!0;if(3&r.type||c){const ot=Bn(r,t),_t=c?c(ot):ot,At=Q.length,Je=c?yn=>c(In(yn[r.index])):r.index;let Xt=null;if(!c&&d&&(Xt=function tC(e,t,n,r){const o=e.cleanup;if(null!=o)for(let s=0;s<o.length-1;s+=2){const c=o[s];if(c===n&&o[s+1]===r){const d=t[mo],v=o[s+2];return d.length>v?d[v]:null}"string"==typeof c&&(s+=2)}return null}(e,t,o,r.index)),null!==Xt)(Xt.__ngLastListenerFn__||Xt).__ngNextListenerFn__=s,Xt.__ngLastListenerFn__=s,he=!1;else{s=pm(r,t,N,s,!1);const yn=n.listen(_t,o,s);Q.push(s,yn),S&&S.push(o,Je,At,At+1)}}else s=pm(r,t,N,s,!1);const Me=r.outputs;let Ke;if(he&&null!==Me&&(Ke=Me[o])){const ot=Ke.length;if(ot)for(let _t=0;_t<ot;_t+=2){const rr=t[Ke[_t]][Ke[_t+1]].subscribe(s),js=Q.length;Q.push(s,rr),S&&S.push(o,r.index,js,-(js+1))}}}function hm(e,t,n,r){try{return wr(6,t,n),!1!==n(r)}catch(o){return Rg(e,o),!1}finally{wr(7,t,n)}}function pm(e,t,n,r,o){return function s(c){if(c===Function)return r;Hc(e.componentOffset>-1?fo(e.index,t):t);let v=hm(t,n,r,c),S=s.__ngNextListenerFn__;for(;S;)v=hm(t,n,S,c)&&v,S=S.__ngNextListenerFn__;return o&&!1===v&&c.preventDefault(),v}}function gm(e=1){return function ti(e){return(Nt.lFrame.contextLView=function oa(e,t){for(;e>0;)t=t[Bo],e--;return t}(e,Nt.lFrame.contextLView))[Wn]}(e)}function nC(e,t){let n=null;const r=function Ti(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 o=0;o<t.length;o++){const s=t[o];if("*"!==s){if(null===r?Us(e,s,!0):Es(r,s))return o}else n=o}return n}function mm(e){const t=qe()[Zn][qn];if(!t.projection){const r=t.projection=Cl(e?e.length:1,null),o=r.slice();let s=t.child;for(;null!==s;){const c=e?nC(s,e):0;null!==c&&(o[c]?o[c].projectionNext=s:r[c]=s,o[c]=s),s=s.next}}}function _m(e,t=0,n){const r=qe(),o=mn(),s=nc(o,Zt+e,16,null,n||null);null===s.projection&&(s.projection=t),Xs(),(!r[co]||Js())&&32!=(32&s.flags)&&function Jv(e,t,n){hp(t[Rt],0,t,n,Bd(e,n,t),ap(n.parent||t[qn],n,t))}(o,r,s)}function qf(e,t,n){return Qf(e,"",t,"",n),qf}function Qf(e,t,n,r,o){const s=qe(),c=oc(s,t,n,r);return c!==ln&&ii(mn(),mr(),s,e,c,s[Rt],o,!1),Qf}function Qu(e,t){return e<<17|t<<2}function il(e){return e>>17&32767}function Jf(e){return 2|e}function Al(e){return(131068&e)>>2}function Xf(e,t){return-131069&e|t<<2}function eh(e){return 1|e}function Tm(e,t,n,r,o){const s=e[n+1],c=null===t;let d=r?il(s):Al(s),v=!1;for(;0!==d&&(!1===v||c);){const N=e[d+1];lC(e[d],t)&&(v=!0,e[d+1]=r?eh(N):Jf(N)),d=r?il(N):Al(N)}v&&(e[n+1]=r?Jf(s):eh(s))}function lC(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&bl(e,t)>=0}const wo={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Im(e){return e.substring(wo.key,wo.keyEnd)}function cC(e){return e.substring(wo.value,wo.valueEnd)}function Sm(e,t){const n=wo.textEnd;return n===t?-1:(t=wo.keyEnd=function fC(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,wo.key=t,n),fc(e,t,n))}function Am(e,t){const n=wo.textEnd;let r=wo.key=fc(e,t,n);return n===r?-1:(r=wo.keyEnd=function hC(e,t,n){let r;for(;t<n&&(45===(r=e.charCodeAt(t))||95===r||(-33&r)>=65&&(-33&r)<=90||r>=48&&r<=57);)t++;return t}(e,r,n),r=Pm(e,r,n),r=wo.value=fc(e,r,n),r=wo.valueEnd=function pC(e,t,n){let r=-1,o=-1,s=-1,c=t,d=c;for(;c<n;){const v=e.charCodeAt(c++);if(59===v)return d;34===v||39===v?d=c=Rm(e,v,c,n):t===c-4&&85===s&&82===o&&76===r&&40===v?d=c=Rm(e,41,c,n):v>32&&(d=c),s=o,o=r,r=-33&v}return d}(e,r,n),Pm(e,r,n))}function Om(e){wo.key=0,wo.keyEnd=0,wo.value=0,wo.valueEnd=0,wo.textEnd=e.length}function fc(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Pm(e,t,n,r){return(t=fc(e,t,n))<n&&t++,t}function Rm(e,t,n,r){let o=-1,s=n;for(;s<r;){const c=e.charCodeAt(s++);if(c==t&&92!==o)return s;o=92==c&&92===o?0:c}throw new Error}function th(e,t,n){return Ji(e,t,n,!1),th}function nh(e,t){return Ji(e,t,null,!0),nh}function Qi(e){Xi(Fm,gC,e,!1)}function gC(e,t){for(let n=function dC(e){return Om(e),Am(e,fc(e,0,wo.textEnd))}(t);n>=0;n=Am(t,n))Fm(e,Im(t),cC(t))}function Nm(e){Xi(EC,da,e,!0)}function da(e,t){for(let n=function uC(e){return Om(e),Sm(e,fc(e,0,wo.textEnd))}(t);n>=0;n=Sm(t,n))ys(e,Im(t),!0)}function Ji(e,t,n,r){const o=qe(),s=mn(),c=h(2);s.firstUpdatePass&&km(s,e,c,r),t!==ln&&ls(o,c,t)&&Lm(s,s.data[Qr()],o,o[Rt],e,o[c+1]=function bC(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=fe(Pa(e)))),e}(t,n),r,c)}function Xi(e,t,n,r){const o=mn(),s=h(2);o.firstUpdatePass&&km(o,null,s,r);const c=qe();if(n!==ln&&ls(c,s,n)){const d=o.data[Qr()];if(Vm(d,r)&&!xm(o,s)){let v=r?d.classesWithoutHost:d.stylesWithoutHost;null!==v&&(n=xe(v,n||"")),zf(o,d,c,n,r)}else!function CC(e,t,n,r,o,s,c,d){o===ln&&(o=ke);let v=0,S=0,N=0<o.length?o[0]:null,Q=0<s.length?s[0]:null;for(;null!==N||null!==Q;){const he=v<o.length?o[v+1]:void 0,Me=S<s.length?s[S+1]:void 0;let ot,Ke=null;N===Q?(v+=2,S+=2,he!==Me&&(Ke=Q,ot=Me)):null===Q||null!==N&&N<Q?(v+=2,Ke=N):(S+=2,Ke=Q,ot=Me),null!==Ke&&Lm(e,t,n,r,Ke,ot,c,d),N=v<o.length?o[v]:null,Q=S<s.length?s[S]:null}}(o,d,c,c[Rt],c[s+1],c[s+1]=function DC(e,t,n){if(null==n||""===n)return ke;const r=[],o=Pa(n);if(Array.isArray(o))for(let s=0;s<o.length;s++)e(r,o[s],!0);else if("object"==typeof o)for(const s in o)o.hasOwnProperty(s)&&e(r,s,o[s]);else"string"==typeof o&&t(r,o);return r}(e,t,n),r,s)}}function xm(e,t){return t>=e.expandoStartIndex}function km(e,t,n,r){const o=e.data;if(null===o[n+1]){const s=o[Qr()],c=xm(e,n);Vm(s,r)&&null===t&&!c&&(t=!1),t=function mC(e,t,n,r){const o=j(e);let s=r?t.residualClasses:t.residualStyles;if(null===o)0===(r?t.classBindings:t.styleBindings)&&(n=Qc(n=rh(null,e,t,n,r),t.attrs,r),s=null);else{const c=t.directiveStylingLast;if(-1===c||e[c]!==o)if(n=rh(o,e,t,n,r),null===s){let v=function _C(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==Al(r))return e[il(r)]}(e,t,r);void 0!==v&&Array.isArray(v)&&(v=rh(null,e,t,v[1],r),v=Qc(v,t.attrs,r),function yC(e,t,n,r){e[il(n?t.classBindings:t.styleBindings)]=r}(e,t,r,v))}else s=function vC(e,t,n){let r;const o=t.directiveEnd;for(let s=1+t.directiveStylingLast;s<o;s++)r=Qc(r,e[s].hostAttrs,n);return Qc(r,t.attrs,n)}(e,t,r)}return void 0!==s&&(r?t.residualClasses=s:t.residualStyles=s),n}(o,s,t,r),function iC(e,t,n,r,o,s){let c=s?t.classBindings:t.styleBindings,d=il(c),v=Al(c);e[r]=n;let N,S=!1;if(Array.isArray(n)?(N=n[1],(null===N||bl(n,N)>0)&&(S=!0)):N=n,o)if(0!==v){const he=il(e[d+1]);e[r+1]=Qu(he,d),0!==he&&(e[he+1]=Xf(e[he+1],r)),e[d+1]=function oC(e,t){return 131071&e|t<<17}(e[d+1],r)}else e[r+1]=Qu(d,0),0!==d&&(e[d+1]=Xf(e[d+1],r)),d=r;else e[r+1]=Qu(v,0),0===d?d=r:e[v+1]=Xf(e[v+1],r),v=r;S&&(e[r+1]=Jf(e[r+1])),Tm(e,N,r,!0),Tm(e,N,r,!1),function aC(e,t,n,r,o){const s=o?e.residualClasses:e.residualStyles;null!=s&&"string"==typeof t&&bl(s,t)>=0&&(n[r+1]=eh(n[r+1]))}(t,N,e,r,s),c=Qu(d,v),s?t.classBindings=c:t.styleBindings=c}(o,s,t,n,c,r)}}function rh(e,t,n,r,o){let s=null;const c=n.directiveEnd;let d=n.directiveStylingLast;for(-1===d?d=n.directiveStart:d++;d<c&&(s=t[d],r=Qc(r,s.hostAttrs,o),s!==e);)d++;return null!==e&&(n.directiveStylingLast=d),r}function Qc(e,t,n){const r=n?1:2;let o=-1;if(null!==t)for(let s=0;s<t.length;s++){const c=t[s];"number"==typeof c?o=c:o===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),ys(e,c,!!n||t[++s]))}return void 0===e?null:e}function Fm(e,t,n){ys(e,t,Pa(n))}function EC(e,t,n){const r=String(t);""!==r&&!r.includes(" ")&&ys(e,r,n)}function Lm(e,t,n,r,o,s,c,d){if(!(3&t.type))return;const v=e.data,S=v[d+1],N=function sC(e){return 1==(1&e)}(S)?Bm(v,t,n,o,Al(S),c):void 0;Ju(N)||(Ju(s)||function rC(e){return 2==(2&e)}(S)&&(s=Bm(v,null,n,o,d,c)),function eD(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let s=-1===r.indexOf("-")?void 0:Oa.DashCase;null==o?e.removeStyle(n,r,s):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),s|=Oa.Important),e.setStyle(n,r,o,s))}}(r,c,rs(Qr(),n),o,s))}function Bm(e,t,n,r,o,s){const c=null===t;let d;for(;o>0;){const v=e[o],S=Array.isArray(v),N=S?v[1]:v,Q=null===N;let he=n[o+1];he===ln&&(he=Q?ke:void 0);let Me=Q?fu(he,r):N===r?he:void 0;if(S&&!Ju(Me)&&(Me=fu(v,r)),Ju(Me)&&(d=Me,c))return d;const Ke=e[o+1];o=c?il(Ke):Al(Ke)}if(null!==t){let v=s?t.residualClasses:t.residualStyles;null!=v&&(d=fu(v,r))}return d}function Ju(e){return void 0!==e}function Vm(e,t){return 0!=(e.flags&(t?8:16))}function jm(e,t=""){const n=qe(),r=mn(),o=e+Zt,s=r.firstCreatePass?nc(r,o,1,t,null):r.data[o],c=Um(r,n,s,t,e);n[o]=c,Hi()&&Du(r,n,c,s),ho(s,!1)}let Um=(e,t,n,r,o)=>(os(!0),function mu(e,t){return e.createText(t)}(t[Rt],r));function oh(e){return Xu("",e,""),oh}function Xu(e,t,n){const r=qe(),o=oc(r,e,t,n);return o!==ln&&xa(r,Qr(),o),Xu}function sh(e,t,n,r,o){const s=qe(),c=sc(s,e,t,n,r,o);return c!==ln&&xa(s,Qr(),c),sh}function Ym(e,t,n){Xi(ys,da,oc(qe(),e,t,n),!0)}function ih(e,t,n){const r=qe();return ls(r,ei(),t)&&ii(mn(),mr(),r,e,t,r[Rt],n,!0),ih}function ah(e,t,n){const r=qe();if(ls(r,ei(),t)){const s=mn(),c=mr();ii(s,c,r,e,t,Pg(j(s.data),c,r),n,!0)}return ah}const Ol=void 0;var zC=["en",[["a","p"],["AM","PM"],Ol],[["AM","PM"],Ol,Ol],[["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"]],Ol,[["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"]],Ol,[["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}",Ol,"{1} 'at' {0}",Ol],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function $C(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let hc={};function lh(e){const t=function GC(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=i_(t);if(n)return n;const r=t.split("-")[0];if(n=i_(r),n)return n;if("en"===r)return zC;throw new Z(701,!1)}function s_(e){return lh(e)[pc.PluralCase]}function i_(e){return e in hc||(hc[e]=qt.ng&&qt.ng.common&&qt.ng.common.locales&&qt.ng.common.locales[e]),hc[e]}var pc=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}(pc||{});const gc="en-US";let a_=gc;function dh(e,t,n,r,o){if(e=Oe(e),Array.isArray(e))for(let s=0;s<e.length;s++)dh(e[s],t,n,r,o);else{const s=mn(),c=qe(),d=Qn();let v=Il(e)?e:Oe(e.provide);const S=kp(e),N=1048575&d.providerIndexes,Q=d.directiveStart,he=d.providerIndexes>>20;if(Il(e)||!e.multi){const Me=new $i(S,o,tc),Ke=hh(v,t,o?N:N+he,Q);-1===Ke?(wa(Qa(d,c),s,v),fh(s,e,t.length),t.push(v),d.directiveStart++,d.directiveEnd++,o&&(d.providerIndexes+=1048576),n.push(Me),c.push(Me)):(n[Ke]=Me,c[Ke]=Me)}else{const Me=hh(v,t,N+he,Q),Ke=hh(v,t,N,N+he),_t=Ke>=0&&n[Ke];if(o&&!_t||!o&&!(Me>=0&&n[Me])){wa(Qa(d,c),s,v);const At=function $b(e,t,n,r,o){const s=new $i(e,n,tc);return s.multi=[],s.index=t,s.componentProviders=0,R_(s,o,r&&!n),s}(o?Hb:Ub,n.length,o,r,S);!o&&_t&&(n[Ke].providerFactory=At),fh(s,e,t.length,0),t.push(v),d.directiveStart++,d.directiveEnd++,o&&(d.providerIndexes+=1048576),n.push(At),c.push(At)}else fh(s,e,Me>-1?Me:Ke,R_(n[o?Ke:Me],S,!o&&r));!o&&r&&_t&&n[Ke].componentProviders++}}}function fh(e,t,n,r){const o=Il(t),s=function ND(e){return!!e.useClass}(t);if(o||s){const v=(s?Oe(t.useClass):t).prototype.ngOnDestroy;if(v){const S=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const N=S.indexOf(n);-1===N?S.push(n,[r,v]):S[N+1].push(r,v)}else S.push(n,v)}}}function R_(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function hh(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function Ub(e,t,n,r){return ph(this.multi,[])}function Hb(e,t,n,r){const o=this.multi;let s;if(this.providerFactory){const c=this.providerFactory.componentProviders,d=ms(n,n[dt],this.providerFactory.index,r);s=d.slice(0,c),ph(o,s);for(let v=c;v<d.length;v++)s.push(d[v])}else s=[],ph(o,s);return s}function ph(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function N_(e,t=[]){return n=>{n.providersResolver=(r,o)=>function jb(e,t,n){const r=mn();if(r.firstCreatePass){const o=Nr(e);dh(n,r.data,r.blueprint,o,!0),dh(t,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,t)}}class Pl{}class x_{}function zb(e,t){return new gh(e,t??null,[])}class gh extends Pl{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Vg(this);const o=Or(t);this._bootstrapComponents=Na(o.bootstrap),this._r3Injector=qp(t,n,[{provide:Pl,useValue:this},{provide:jc,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 mh extends x_{constructor(t){super(),this.moduleType=t}create(t){return new gh(this.moduleType,t,[])}}class k_ extends Pl{constructor(t){super(),this.componentFactoryResolver=new Vg(this),this.instance=null;const n=new Au([...t.providers,{provide:Pl,useValue:this},{provide:jc,useValue:this.componentFactoryResolver}],t.parent||Su(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function F_(e,t,n=null){return new k_({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}let Wb=(()=>{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 o=Pp(0,r.type),s=o.length>0?F_([o],this._injector,`Standalone[${r.type.name}]`):null;this.cachedInjectors.set(r,s)}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=Dt({token:e,providedIn:"environment",factory:()=>new e(Qe(aa))}),t})();function L_(e){e.getStandaloneInjector=t=>t.get(Wb).getOrCreateStandaloneInjector(e)}function z_(e,t,n){const r=po()+e,o=qe();return o[r]===ln?ua(o,r,n?t.call(n):t()):Zc(o,r)}function G_(e,t,n,r){return Q_(qe(),po(),e,t,n,r)}function W_(e,t,n,r,o){return J_(qe(),po(),e,t,n,r,o)}function Z_(e,t,n,r,o,s){return X_(qe(),po(),e,t,n,r,o,s)}function K_(e,t,n,r,o,s,c){return ey(qe(),po(),e,t,n,r,o,s,c)}function Y_(e,t,n,r,o,s,c,d){const v=po()+e,S=qe(),N=Mi(S,v,n,r,o,s);return ls(S,v+4,c)||N?ua(S,v+5,d?t.call(d,n,r,o,s,c):t(n,r,o,s,c)):Zc(S,v+5)}function q_(e,t,n,r){return function ty(e,t,n,r,o,s){let c=t+n,d=!1;for(let v=0;v<o.length;v++)ls(e,c++,o[v])&&(d=!0);return d?ua(e,c,r.apply(s,o)):ru(e,c)}(qe(),po(),e,t,n,r)}function ru(e,t){const n=e[t];return n===ln?void 0:n}function Q_(e,t,n,r,o,s){const c=t+n;return ls(e,c,o)?ua(e,c+1,s?r.call(s,o):r(o)):ru(e,c+1)}function J_(e,t,n,r,o,s,c){const d=t+n;return Sl(e,d,o,s)?ua(e,d+2,c?r.call(c,o,s):r(o,s)):ru(e,d+2)}function X_(e,t,n,r,o,s,c,d){const v=t+n;return function $u(e,t,n,r,o){const s=Sl(e,t,n,r);return ls(e,t+2,o)||s}(e,v,o,s,c)?ua(e,v+3,d?r.call(d,o,s,c):r(o,s,c)):ru(e,v+3)}function ey(e,t,n,r,o,s,c,d,v){const S=t+n;return Mi(e,S,o,s,c,d)?ua(e,S+4,v?r.call(v,o,s,c,d):r(o,s,c,d)):ru(e,S+4)}function ny(e,t){const n=mn();let r;const o=e+Zt;n.firstCreatePass?(r=function ow(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[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];const s=r.factory||(r.factory=qr(r.type)),d=rn(tc);try{const v=qa(!1),S=s();return qa(v),function K0(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,qe(),o,S),S}finally{rn(d)}}function ry(e,t,n){const r=e+Zt,o=qe(),s=Ps(o,r);return ou(o,r)?Q_(o,po(),t,s.transform,n,s):s.transform(n)}function oy(e,t,n,r){const o=e+Zt,s=qe(),c=Ps(s,o);return ou(s,o)?J_(s,po(),t,c.transform,n,r,c):c.transform(n,r)}function sy(e,t,n,r,o){const s=e+Zt,c=qe(),d=Ps(c,s);return ou(c,s)?X_(c,po(),t,d.transform,n,r,o,d):d.transform(n,r,o)}function iy(e,t,n,r,o,s){const c=e+Zt,d=qe(),v=Ps(d,c);return ou(d,c)?ey(d,po(),t,v.transform,n,r,o,s,v):v.transform(n,r,o,s)}function ou(e,t){return e[dt].data[t].pure}function iw(){return this._results[Symbol.iterator]()}class od{get changes(){return this._changes||(this._changes=new la)}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=od.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=iw)}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 o=function zo(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function oi(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],s=t[r];if(n&&(o=n(o),s=n(s)),s!==o)return!1}return!0}(r._results,o,n))&&(r._results=o,r.length=o.length,r.last=o[this.length-1],r.first=o[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}function lw(e,t,n,r=!0){const o=t[dt];if(function Wv(e,t,n,r){const o=br+r,s=n.length;r>0&&(n[o-1][Cr]=t),r<s-br?(t[Cr]=n[o],du(n,br+r,t)):(n.push(t),t[Cr]=null),t[Pn]=n;const c=t[lo];null!==c&&n!==c&&function Zv(e,t){const n=e[Xr];t[Zn]!==t[Pn][Pn][Zn]&&(e[Jo]=!0),null===n?e[Xr]=[t]:n.push(t)}(c,t);const d=t[Hr];null!==d&&d.insertView(e),t[Pt]|=128}(o,t,e,n),r){const s=jd(n,e),c=t[Rt],d=vu(c,e[Rn]);null!==d&&function $v(e,t,n,r,o,s){r[On]=o,r[qn]=t,xc(e,r,n,1,o,s)}(o,e[qn],c,t,d,s)}}let su=(()=>{class t{}return t.__NG_ELEMENT_ID__=dw,t})();const cw=su,uw=class extends cw{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 o=function aw(e,t,n,r){const o=t.tView,d=Lu(e,o,n,4096&e[Pt]?4096:16,null,t,null,null,null,r?.injector??null,r?.hydrationInfo??null);d[lo]=e[t.index];const S=e[Hr];return null!==S&&(d[Hr]=S.createEmbeddedView(o)),xf(o,d,n),d}(this._declarationLView,this._declarationTContainer,t,{injector:n,hydrationInfo:r});return new Gc(o)}};function dw(){return sd(Qn(),qe())}function sd(e,t){return 4&e.type?new uw(t,e,Jl(e,t)):null}let ad=(()=>{class t{}return t.__NG_ELEMENT_ID__=_w,t})();function _w(){return hy(Qn(),qe())}const yw=ad,dy=class extends yw{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Jl(this._hostTNode,this._hostLView)}get injector(){return new kr(this._hostTNode,this._hostLView)}get parentInjector(){const t=Ci(this._hostTNode,this._hostLView);if(ba(t)){const n=Ya(t,this._hostLView),r=Ei(t);return new kr(n[dt].data[r+8],n)}return new kr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=fy(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-br}createEmbeddedView(t,n,r){let o,s;"number"==typeof r?o=r:null!=r&&(o=r.index,s=r.injector);const d=t.createEmbeddedViewImpl(n||{},s,null);return this.insertImpl(d,o,false),d}createComponent(t,n,r,o,s){const c=t&&!function Co(e){return"function"==typeof e}(t);let d;if(c)d=n;else{const ot=n||{};d=ot.index,r=ot.injector,o=ot.projectableNodes,s=ot.environmentInjector||ot.ngModuleRef}const v=c?t:new Wc(nn(t)),S=r||this.parentInjector;if(!s&&null==v.ngModule){const _t=(c?S:this.parentInjector).get(aa,null);_t&&(s=_t)}nn(v.componentType??{});const Me=v.create(S,o,null,s);return this.insertImpl(Me.hostView,d,false),Me}insert(t,n){return this.insertImpl(t,n,!1)}insertImpl(t,n,r){const o=t._lView;if(function Va(e){return tr(e[Pn])}(o)){const v=this.indexOf(t);if(-1!==v)this.detach(v);else{const S=o[Pn],N=new dy(S,S[qn],S[Pn]);N.detach(N.indexOf(t))}}const c=this._adjustIndex(n),d=this._lContainer;return lw(d,o,c,!r),t.attachToViewContainerRef(),du(yh(d),c,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=fy(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=yu(this._lContainer,n);r&&(jl(yh(this._lContainer),n),Fd(r[dt],r))}detach(t){const n=this._adjustIndex(t,-1),r=yu(this._lContainer,n);return r&&null!=jl(yh(this._lContainer),n)?new Gc(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function fy(e){return e[8]}function yh(e){return e[8]||(e[8]=[])}function hy(e,t){let n;const r=t[e.index];return tr(r)?n=r:(n=Ig(r,t,null,e),t[e.index]=n,Bu(t,n)),py(n,t,e,r),new dy(n,e,t)}let py=function gy(e,t,n,r){if(e[Rn])return;let o;o=8&n.type?In(r):function vw(e,t){const n=e[Rt],r=n.createComment(""),o=Bn(t,e);return wl(n,vu(n,o),r,function Qv(e,t){return e.nextSibling(t)}(n,o),!1),r}(t,n),e[Rn]=o};class vh{constructor(t){this.queryList=t,this.matches=null}clone(){return new vh(this.queryList)}setDirty(){this.queryList.setDirty()}}class Dh{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,o=[];for(let s=0;s<r;s++){const c=n.getByIndex(s);o.push(this.queries[c.indexInDeclarationView].clone())}return new Dh(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==wy(t,n).matches&&this.queries[n].setDirty()}}class my{constructor(t,n,r=null){this.predicate=t,this.flags=n,this.read=r}}class Eh{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 o=null!==n?n.length:0,s=this.getByIndex(r).embeddedTView(t,o);s&&(s.indexInDeclarationView=r,null!==n?n.push(s):n=[s])}return null!==n?new Eh(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 Ch{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 Ch(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 o=0;o<r.length;o++){const s=r[o];this.matchTNodeWithReadOption(t,n,Cw(n,s)),this.matchTNodeWithReadOption(t,n,Ta(n,t,s,!1,!1))}else r===su?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Ta(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const o=this.metadata.read;if(null!==o)if(o===Uc||o===ad||o===su&&4&n.type)this.addMatch(n.index,-2);else{const s=Ta(n,t,o,!1,!1);null!==s&&this.addMatch(n.index,s)}else this.addMatch(n.index,r)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function Cw(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 ww(e,t,n,r){return-1===n?function bw(e,t){return 11&e.type?Jl(e,t):4&e.type?sd(e,t):null}(t,e):-2===n?function Mw(e,t,n){return n===Uc?Jl(t,e):n===su?sd(t,e):n===ad?hy(t,e):void 0}(e,t,r):ms(e,e[dt],n,t)}function _y(e,t,n,r){const o=t[Hr].queries[r];if(null===o.matches){const s=e.data,c=n.matches,d=[];for(let v=0;v<c.length;v+=2){const S=c[v];d.push(S<0?null:ww(t,s[S],c[v+1],n.metadata.read))}o.matches=d}return o.matches}function bh(e,t,n,r){const o=e.queries.getByIndex(n),s=o.matches;if(null!==s){const c=_y(e,t,o,n);for(let d=0;d<s.length;d+=2){const v=s[d];if(v>0)r.push(c[d/2]);else{const S=s[d+1],N=t[-v];for(let Q=br;Q<N.length;Q++){const he=N[Q];he[lo]===he[Pn]&&bh(he[dt],he,S,r)}if(null!==N[Xr]){const Q=N[Xr];for(let he=0;he<Q.length;he++){const Me=Q[he];bh(Me[dt],Me,S,r)}}}}}return r}function yy(e){const t=qe(),n=mn(),r=we();nt(r+1);const o=wy(n,r);if(e.dirty&&function Qs(e){return 4==(4&e[Pt])}(t)===(2==(2&o.metadata.flags))){if(null===o.matches)e.reset([]);else{const s=o.crossesNgTemplate?bh(n,t,r,[]):_y(n,t,o,r);e.reset(s,nE),e.notifyOnChanges()}return!0}return!1}function vy(e,t,n){const r=mn();r.firstCreatePass&&(by(r,new my(e,t,n),-1),2==(2&t)&&(r.staticViewQueries=!0)),Cy(r,qe(),t)}function Dy(e,t,n,r){const o=mn();if(o.firstCreatePass){const s=Qn();by(o,new my(t,n,r),s.index),function Iw(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(o,e),2==(2&n)&&(o.staticContentQueries=!0)}Cy(o,qe(),n)}function Ey(){return function Tw(e,t){return e[Hr].queries[t].queryList}(qe(),we())}function Cy(e,t,n){const r=new od(4==(4&n));(function xE(e,t,n,r){const o=Ag(t);o.push(n),e.firstCreatePass&&Og(e).push(r,o.length-1)})(e,t,r,r.destroy),null===t[Hr]&&(t[Hr]=new Dh),t[Hr].queries.push(new vh(r))}function by(e,t,n){null===e.queries&&(e.queries=new Eh),e.queries.track(new Ch(t,n))}function wy(e,t){return e.queries.getByIndex(t)}function My(e,t){return sd(e,t)}function wh(e){return!!Or(e)}const Hy=new Kn("Application Initializer");let Ah=(()=>{var e;class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o}),this.appInits=lt(Hy,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const r=[];for(const s of this.appInits){const c=s();if(Zf(c))r.push(c);else if(dm(c)){const d=new Promise((v,S)=>{c.subscribe({complete:v,error:S})});r.push(d)}}const o=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{o()}).catch(s=>{this.reject(s)}),0===r.length&&o(),this.initialized=!0}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=Dt({token:e,factory:e.\u0275fac,providedIn:"root"}),t})(),$y=(()=>{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=Dt({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})();const cd=new Kn("LocaleId",{providedIn:"root",factory:()=>lt(cd,ct.Optional|ct.SkipSelf)||function Kw(){return typeof $localize<"u"&&$localize.locale||gc}()}),Yw=new Kn("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});let zy=(()=>{var e;class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new z.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=Dt({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();class Qw{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let Jw=(()=>{var e;class t{compileModuleSync(r){return new mh(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){const o=this.compileModuleSync(r),c=Na(Or(r).declarations).reduce((d,v)=>{const S=nn(v);return S&&d.push(new Wc(S)),d},[]);return new Qw(o,c)}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=Dt({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();const Ky=new Kn(""),Yy=new Kn("");let Rh,yM=(()=>{var e;class t{constructor(r,o,s){this._ngZone=r,this.registry=o,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Rh||(function vM(e){Rh=e}(s),s.addToWindow(o)),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:()=>{Ro.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(o=>!o.updateCb||!o.updateCb(r)||(clearTimeout(o.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,o,s){let c=-1;o&&o>0&&(c=setTimeout(()=>{this._callbacks=this._callbacks.filter(d=>d.timeoutId!==c),r(this._didWork,this.getPendingTasks())},o)),this._callbacks.push({doneCb:r,timeoutId:c,updateCb:s})}whenStable(r,o,s){if(s&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(r,o,s),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(r){this.registry.registerApplication(r,this)}unregisterApplication(r){this.registry.unregisterApplication(r)}findProviders(r,o,s){return[]}}return(e=t).\u0275fac=function(r){return new(r||e)(Qe(Ro),Qe(qy),Qe(Yy))},e.\u0275prov=Dt({token:e,factory:e.\u0275fac}),t})(),qy=(()=>{var e;class t{constructor(){this._applications=new Map}registerApplication(r,o){this._applications.set(r,o)}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,o=!0){return Rh?.findTestabilityInTree(this,r,o)??null}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=Dt({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})(),al=null;const Qy=new Kn("AllowMultipleToken"),Nh=new Kn("PlatformDestroyListeners"),xh=new Kn("appBootstrapListener");class CM{constructor(t,n){this.name=t,this.token=n}}function ev(e,t,n=[]){const r=`Platform: ${t}`,o=new Kn(r);return(s=[])=>{let c=kh();if(!c||c.injector.get(Qy,!1)){const d=[...n,...s,{provide:o,useValue:!0}];e?e(d):function bM(e){if(al&&!al.get(Qy,!1))throw new Z(400,!1);(function Jy(){!function dl(e){Li=e}(()=>{throw new Z(600,!1)})})(),al=e;const t=e.get(nv);(function Xy(e){e.get(Lp,null)?.forEach(n=>n())})(e)}(function tv(e=[],t){return qi.create({name:t,providers:[{provide:Xd,useValue:"platform"},{provide:Nh,useValue:new Set([()=>al=null])},...e]})}(d,r))}return function MM(e){const t=kh();if(!t)throw new Z(401,!1);return t}()}}function kh(){return al?.get(nv)??null}let nv=(()=>{var e;class t{constructor(r){this._injector=r,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(r,o){const s=function TM(e="zone.js",t){return"noop"===e?new _E:"zone.js"===e?new Ro(t):e}(o?.ngZone,function rv(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:o?.ngZoneEventCoalescing,runCoalescing:o?.ngZoneRunCoalescing}));return s.run(()=>{const c=function Gb(e,t,n){return new gh(e,t,n)}(r.moduleType,this.injector,function lv(e){return[{provide:Ro,useFactory:e},{provide:Lc,multi:!0,useFactory:()=>{const t=lt(SM,{optional:!0});return()=>t.initialize()}},{provide:av,useFactory:IM},{provide:tg,useFactory:ng}]}(()=>s)),d=c.injector.get(sl,null);return s.runOutsideAngular(()=>{const v=s.onError.subscribe({next:S=>{d.handleError(S)}});c.onDestroy(()=>{dd(this._modules,c),v.unsubscribe()})}),function ov(e,t,n){try{const r=n();return Zf(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(d,s,()=>{const v=c.injector.get(Ah);return v.runInitializers(),v.donePromise.then(()=>(function l_(e){Ae(e,"Expected localeId to be defined"),"string"==typeof e&&(a_=e.toLowerCase().replace(/_/g,"-"))}(c.injector.get(cd,gc)||gc),this._moduleDoBootstrap(c),c))})})}bootstrapModule(r,o=[]){const s=sv({},o);return function DM(e,t,n){const r=new mh(n);return Promise.resolve(r)}(0,0,r).then(c=>this.bootstrapModuleFactory(c,s))}_moduleDoBootstrap(r){const o=r.injector.get(yc);if(r._bootstrapComponents.length>0)r._bootstrapComponents.forEach(s=>o.bootstrap(s));else{if(!r.instance.ngDoBootstrap)throw new Z(-403,!1);r.instance.ngDoBootstrap(o)}this._modules.push(r)}onDestroy(r){this._destroyListeners.push(r)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Z(404,!1);this._modules.slice().forEach(o=>o.destroy()),this._destroyListeners.forEach(o=>o());const r=this._injector.get(Nh,null);r&&(r.forEach(o=>o()),r.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return(e=t).\u0275fac=function(r){return new(r||e)(Qe(qi))},e.\u0275prov=Dt({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})();function sv(e,t){return Array.isArray(t)?t.reduce(sv,e):{...e,...t}}let yc=(()=>{var e;class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=lt(av),this.zoneIsStable=lt(tg),this.componentTypes=[],this.components=[],this.isStable=lt(zy).hasPendingTasks.pipe((0,ae.w)(r=>r?(0,$.of)(!1):this.zoneIsStable),(0,de.x)(),(0,ee.B)()),this._injector=lt(aa)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,o){const s=r instanceof Up;if(!this._injector.get(Ah).done)throw!s&&go(r),new Z(405,!1);let d;d=s?r:this._injector.get(jc).resolveComponentFactory(r),this.componentTypes.push(d.componentType);const v=function EM(e){return e.isBoundToModule}(d)?void 0:this._injector.get(Pl),N=d.create(qi.NULL,[],o||d.selector,v),Q=N.location.nativeElement,he=N.injector.get(Ky,null);return he?.registerApplication(Q),N.onDestroy(()=>{this.detachView(N.hostView),dd(this.components,N),he?.unregisterApplication(Q)}),this._loadComponent(N),N}tick(){if(this._runningTick)throw new Z(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 o=r;this._views.push(o),o.attachToAppRef(this)}detachView(r){const o=r;dd(this._views,o),o.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);const o=this._injector.get(xh,[]);o.push(...this._bootstrapListeners),o.forEach(s=>s(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),()=>dd(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new Z(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=Dt({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function dd(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const av=new Kn("",{providedIn:"root",factory:()=>lt(sl).handleError.bind(void 0)});function IM(){const e=lt(Ro),t=lt(sl);return n=>e.runOutsideAngular(()=>t.handleError(n))}let SM=(()=>{var e;class t{constructor(){this.zone=lt(Ro),this.applicationRef=lt(yc)}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=Dt({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function OM(){return!1}function PM(){}let RM=(()=>{class t{}return t.__NG_ELEMENT_ID__=NM,t})();function NM(e){return function xM(e,t,n){if(us(e)&&!n){const r=fo(e.index,t);return new Gc(r,r)}return 47&e.type?new Gc(t[Zn],t):null}(Qn(),qe(),16==(16&e))}class fv{constructor(){}supports(t){return Hu(t)}create(t){return new jM(t)}}const VM=(e,t)=>t;class jM{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||VM}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,s=null;for(;n||r;){const c=!r||n&&n.currentIndex<pv(r,o,s)?n:r,d=pv(c,o,s),v=c.currentIndex;if(c===r)o--,r=r._nextRemoved;else if(n=n._next,null==c.previousIndex)o++;else{s||(s=[]);const S=d-o,N=v-o;if(S!=N){for(let he=0;he<S;he++){const Me=he<s.length?s[he]:s[he]=0,Ke=Me+he;N<=Ke&&Ke<S&&(s[he]=Me+1)}s[c.previousIndex]=N-S}}d!==v&&t(c,d,v)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!Hu(t))throw new Z(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let o,s,c,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let d=0;d<this.length;d++)s=t[d],c=this._trackByFn(d,s),null!==n&&Object.is(n.trackById,c)?(r&&(n=this._verifyReinsertion(n,s,c,d)),Object.is(n.item,s)||this._addIdentityChange(n,s)):(n=this._mismatch(n,s,c,d),r=!0),n=n._next}else o=0,function I0(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,d=>{c=this._trackByFn(o,d),null!==n&&Object.is(n.trackById,c)?(r&&(n=this._verifyReinsertion(n,d,c,o)),Object.is(n.item,d)||this._addIdentityChange(n,d)):(n=this._mismatch(n,d,c,o),r=!0),n=n._next,o++}),this.length=o;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,o){let s;return null===t?s=this._itTail:(s=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,s,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,s,o)):t=this._addAfter(new UM(n,r),s,o),t}_verifyReinsertion(t,n,r,o){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==s?t=this._reinsertAfter(s,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),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 o=t._prevRemoved,s=t._nextRemoved;return null===o?this._removalsHead=s:o._nextRemoved=s,null===s?this._removalsTail=o:s._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const o=null===n?this._itHead:n._next;return t._next=o,t._prev=n,null===o?this._itTail=t:o._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new hv),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 hv),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 UM{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 HM{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 hv{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new HM,this.map.set(n,r)),r.add(t)}get(t,n){const o=this.map.get(t);return o?o.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 pv(e,t,n){const r=e.previousIndex;if(null===r)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}class gv{constructor(){}supports(t){return t instanceof Map||Ff(t)}create(){return new $M}}class $M{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||Ff(t)))throw new Z(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,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const s=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,s)}}),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 o=this._records.get(t);this._maybeAddToChanges(o,n);const s=o._prev,c=o._next;return s&&(s._next=c),c&&(c._prev=s),o._next=null,o._prev=null,o}const r=new zM(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 zM{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 mv(){return new jh([new fv])}let jh=(()=>{var e;class t{constructor(r){this.factories=r}static create(r,o){if(null!=o){const s=o.factories.slice();r=r.concat(s)}return new t(r)}static extend(r){return{provide:t,useFactory:o=>t.create(r,o||mv()),deps:[[t,new $l,new Hl]]}}find(r){const o=this.factories.find(s=>s.supports(r));if(null!=o)return o;throw new Z(901,!1)}}return(e=t).\u0275prov=Dt({token:e,providedIn:"root",factory:mv}),t})();function _v(){return new Uh([new gv])}let Uh=(()=>{var e;class t{constructor(r){this.factories=r}static create(r,o){if(o){const s=o.factories.slice();r=r.concat(s)}return new t(r)}static extend(r){return{provide:t,useFactory:o=>t.create(r,o||_v()),deps:[[t,new $l,new Hl]]}}find(r){const o=this.factories.find(s=>s.supports(r));if(o)return o;throw new Z(901,!1)}}return(e=t).\u0275prov=Dt({token:e,providedIn:"root",factory:_v}),t})();const ZM=ev(null,"core",[]);let KM=(()=>{var e;class t{constructor(r){}}return(e=t).\u0275fac=function(r){return new(r||e)(Qe(yc))},e.\u0275mod=zs({type:e}),e.\u0275inj=Yt({}),t})();function sT(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function aT(e){const t=nn(e);if(!t)return null;const n=new Wc(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}}}},6223:(tt,ve,I)=>{I.d(ve,{Cf:()=>je,EJ:()=>qn,F:()=>An,Fd:()=>Hr,Fj:()=>Te,JJ:()=>Sn,JL:()=>yr,JU:()=>ae,Kr:()=>Ts,NI:()=>Mo,On:()=>Br,Q7:()=>Qo,UX:()=>ci,Wl:()=>U,YN:()=>mo,Zs:()=>uo,_Y:()=>$s,a5:()=>Yt,gN:()=>Ct,kI:()=>Ve,nD:()=>Vo,oH:()=>go,p4:()=>xo,sg:()=>Ms,u5:()=>Zs,wV:()=>Zo});var a=I(5879),u=I(6814),G=I(2459),ne=I(9315),z=I(7398);let $=(()=>{var A;class w{constructor(O,H){this._renderer=O,this._elementRef=H,this.onChange=rt=>{},this.onTouched=()=>{}}setProperty(O,H){this._renderer.setProperty(this._elementRef.nativeElement,O,H)}registerOnTouched(O){this.onTouched=O}registerOnChange(O){this.onChange=O}setDisabledState(O){this.setProperty("disabled",O)}}return(A=w).\u0275fac=function(O){return new(O||A)(a.Y36(a.Qsj),a.Y36(a.SBq))},A.\u0275dir=a.lG2({type:A}),w})(),ee=(()=>{var A;class w extends ${}return(A=w).\u0275fac=function(){let B;return function(H){return(B||(B=a.n5z(A)))(H||A)}}(),A.\u0275dir=a.lG2({type:A,features:[a.qOj]}),w})();const ae=new a.OlP("NgValueAccessor"),de={provide:ae,useExisting:(0,a.Gpc)(()=>U),multi:!0};let U=(()=>{var A;class w extends ee{writeValue(O){this.setProperty("checked",O)}}return(A=w).\u0275fac=function(){let B;return function(H){return(B||(B=a.n5z(A)))(H||A)}}(),A.\u0275dir=a.lG2({type:A,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(O,H){1&O&&a.NdJ("change",function(Ut){return H.onChange(Ut.target.checked)})("blur",function(){return H.onTouched()})},features:[a._Bn([de]),a.qOj]}),w})();const J={provide:ae,useExisting:(0,a.Gpc)(()=>Te),multi:!0},xe=new a.OlP("CompositionEventMode");let Te=(()=>{var A;class w extends ${constructor(O,H,rt){super(O,H),this._compositionMode=rt,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function fe(){const A=(0,u.q)()?(0,u.q)().getUserAgent():"";return/android (\d+)/.test(A.toLowerCase())}())}writeValue(O){this.setProperty("value",O??"")}_handleInput(O){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(O)}_compositionStart(){this._composing=!0}_compositionEnd(O){this._composing=!1,this._compositionMode&&this.onChange(O)}}return(A=w).\u0275fac=function(O){return new(O||A)(a.Y36(a.Qsj),a.Y36(a.SBq),a.Y36(xe,8))},A.\u0275dir=a.lG2({type:A,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(O,H){1&O&&a.NdJ("input",function(Ut){return H._handleInput(Ut.target.value)})("blur",function(){return H.onTouched()})("compositionstart",function(){return H._compositionStart()})("compositionend",function(Ut){return H._compositionEnd(Ut.target.value)})},features:[a._Bn([J]),a.qOj]}),w})();function Ye(A){return null==A||("string"==typeof A||Array.isArray(A))&&0===A.length}function Oe(A){return null!=A&&"number"==typeof A.length}const je=new a.OlP("NgValidators"),Le=new a.OlP("NgAsyncValidators"),et=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class Ve{static min(w){return function Z(A){return w=>{if(Ye(w.value)||Ye(A))return null;const B=parseFloat(w.value);return!isNaN(B)&&B<A?{min:{min:A,actual:w.value}}:null}}(w)}static max(w){return De(w)}static required(w){return me(w)}static requiredTrue(w){return Se(w)}static email(w){return function We(A){return Ye(A.value)||et.test(A.value)?null:{email:!0}}(w)}static minLength(w){return function $e(A){return w=>Ye(w.value)||!Oe(w.value)?null:w.value.length<A?{minlength:{requiredLength:A,actualLength:w.value.length}}:null}(w)}static maxLength(w){return st(w)}static pattern(w){return function ht(A){if(!A)return It;let w,B;return"string"==typeof A?(B="","^"!==A.charAt(0)&&(B+="^"),B+=A,"$"!==A.charAt(A.length-1)&&(B+="$"),w=new RegExp(B)):(B=A.toString(),w=A),O=>{if(Ye(O.value))return null;const H=O.value;return w.test(H)?null:{pattern:{requiredPattern:B,actualValue:H}}}}(w)}static nullValidator(w){return null}static compose(w){return Pe(w)}static composeAsync(w){return Ue(w)}}function De(A){return w=>{if(Ye(w.value)||Ye(A))return null;const B=parseFloat(w.value);return!isNaN(B)&&B>A?{max:{max:A,actual:w.value}}:null}}function me(A){return Ye(A.value)?{required:!0}:null}function Se(A){return!0===A.value?null:{required:!0}}function st(A){return w=>Oe(w.value)&&w.value.length>A?{maxlength:{requiredLength:A,actualLength:w.value.length}}:null}function It(A){return null}function St(A){return null!=A}function en(A){return(0,a.QGY)(A)?(0,G.D)(A):A}function pn(A){let w={};return A.forEach(B=>{w=null!=B?{...w,...B}:w}),0===Object.keys(w).length?null:w}function on(A,w){return w.map(B=>B(A))}function _r(A){return A.map(w=>function or(A){return!A.validate}(w)?w:B=>w.validate(B))}function Pe(A){if(!A)return null;const w=A.filter(St);return 0==w.length?null:function(B){return pn(on(B,w))}}function Ne(A){return null!=A?Pe(_r(A)):null}function Ue(A){if(!A)return null;const w=A.filter(St);return 0==w.length?null:function(B){const O=on(B,w).map(en);return(0,ne.D)(O).pipe((0,z.U)(pn))}}function Ge(A){return null!=A?Ue(_r(A)):null}function Ce(A,w){return null===A?[w]:Array.isArray(A)?[...A,w]:[A,w]}function Ee(A){return A._rawValidators}function Ae(A){return A._rawAsyncValidators}function _e(A){return A?Array.isArray(A)?A:[A]:[]}function pe(A,w){return Array.isArray(A)?A.includes(w):A===w}function Xe(A,w){const B=_e(w);return _e(A).forEach(H=>{pe(B,H)||B.push(H)}),B}function pt(A,w){return _e(w).filter(B=>!pe(A,B))}class Dt{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(w){this._rawValidators=w||[],this._composedValidatorFn=Ne(this._rawValidators)}_setAsyncValidators(w){this._rawAsyncValidators=w||[],this._composedAsyncValidatorFn=Ge(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(w){this._onDestroyCallbacks.push(w)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(w=>w()),this._onDestroyCallbacks=[]}reset(w=void 0){this.control&&this.control.reset(w)}hasError(w,B){return!!this.control&&this.control.hasError(w,B)}getError(w,B){return this.control?this.control.getError(w,B):null}}class Ct extends Dt{get formDirective(){return null}get path(){return null}}class Yt extends Dt{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class sn{constructor(w){this._cd=w}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let Sn=(()=>{var A;class w extends sn{constructor(O){super(O)}}return(A=w).\u0275fac=function(O){return new(O||A)(a.Y36(Yt,2))},A.\u0275dir=a.lG2({type:A,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(O,H){2&O&&a.ekj("ng-untouched",H.isUntouched)("ng-touched",H.isTouched)("ng-pristine",H.isPristine)("ng-dirty",H.isDirty)("ng-valid",H.isValid)("ng-invalid",H.isInvalid)("ng-pending",H.isPending)},features:[a.qOj]}),w})(),yr=(()=>{var A;class w extends sn{constructor(O){super(O)}}return(A=w).\u0275fac=function(O){return new(O||A)(a.Y36(Ct,10))},A.\u0275dir=a.lG2({type:A,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(O,H){2&O&&a.ekj("ng-untouched",H.isUntouched)("ng-touched",H.isTouched)("ng-pristine",H.isPristine)("ng-dirty",H.isDirty)("ng-valid",H.isValid)("ng-invalid",H.isInvalid)("ng-pending",H.isPending)("ng-submitted",H.isSubmitted)},features:[a.qOj]}),w})();const Yn="VALID",zn="INVALID",Fn="PENDING",En="DISABLED";function Ln(A){return(vr(A)?A.validators:A)||null}function er(A,w){return(vr(w)?w.asyncValidators:A)||null}function vr(A){return null!=A&&!Array.isArray(A)&&"object"==typeof A}class ie{constructor(w,B){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(w),this._assignAsyncValidators(B)}get validator(){return this._composedValidatorFn}set validator(w){this._rawValidators=this._composedValidatorFn=w}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(w){this._rawAsyncValidators=this._composedAsyncValidatorFn=w}get parent(){return this._parent}get valid(){return this.status===Yn}get invalid(){return this.status===zn}get pending(){return this.status==Fn}get disabled(){return this.status===En}get enabled(){return this.status!==En}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(w){this._assignValidators(w)}setAsyncValidators(w){this._assignAsyncValidators(w)}addValidators(w){this.setValidators(Xe(w,this._rawValidators))}addAsyncValidators(w){this.setAsyncValidators(Xe(w,this._rawAsyncValidators))}removeValidators(w){this.setValidators(pt(w,this._rawValidators))}removeAsyncValidators(w){this.setAsyncValidators(pt(w,this._rawAsyncValidators))}hasValidator(w){return pe(this._rawValidators,w)}hasAsyncValidator(w){return pe(this._rawAsyncValidators,w)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(w={}){this.touched=!0,this._parent&&!w.onlySelf&&this._parent.markAsTouched(w)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(w=>w.markAllAsTouched())}markAsUntouched(w={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(B=>{B.markAsUntouched({onlySelf:!0})}),this._parent&&!w.onlySelf&&this._parent._updateTouched(w)}markAsDirty(w={}){this.pristine=!1,this._parent&&!w.onlySelf&&this._parent.markAsDirty(w)}markAsPristine(w={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(B=>{B.markAsPristine({onlySelf:!0})}),this._parent&&!w.onlySelf&&this._parent._updatePristine(w)}markAsPending(w={}){this.status=Fn,!1!==w.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!w.onlySelf&&this._parent.markAsPending(w)}disable(w={}){const B=this._parentMarkedDirty(w.onlySelf);this.status=En,this.errors=null,this._forEachChild(O=>{O.disable({...w,onlySelf:!0})}),this._updateValue(),!1!==w.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...w,skipPristineCheck:B}),this._onDisabledChange.forEach(O=>O(!0))}enable(w={}){const B=this._parentMarkedDirty(w.onlySelf);this.status=Yn,this._forEachChild(O=>{O.enable({...w,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:w.emitEvent}),this._updateAncestors({...w,skipPristineCheck:B}),this._onDisabledChange.forEach(O=>O(!1))}_updateAncestors(w){this._parent&&!w.onlySelf&&(this._parent.updateValueAndValidity(w),w.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(w){this._parent=w}getRawValue(){return this.value}updateValueAndValidity(w={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Yn||this.status===Fn)&&this._runAsyncValidator(w.emitEvent)),!1!==w.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!w.onlySelf&&this._parent.updateValueAndValidity(w)}_updateTreeValidity(w={emitEvent:!0}){this._forEachChild(B=>B._updateTreeValidity(w)),this.updateValueAndValidity({onlySelf:!0,emitEvent:w.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?En:Yn}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(w){if(this.asyncValidator){this.status=Fn,this._hasOwnPendingAsyncValidator=!0;const B=en(this.asyncValidator(this));this._asyncValidationSubscription=B.subscribe(O=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(O,{emitEvent:w})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(w,B={}){this.errors=w,this._updateControlsErrors(!1!==B.emitEvent)}get(w){let B=w;return null==B||(Array.isArray(B)||(B=B.split(".")),0===B.length)?null:B.reduce((O,H)=>O&&O._find(H),this)}getError(w,B){const O=B?this.get(B):this;return O&&O.errors?O.errors[w]:null}hasError(w,B){return!!this.getError(w,B)}get root(){let w=this;for(;w._parent;)w=w._parent;return w}_updateControlsErrors(w){this.status=this._calculateStatus(),w&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(w)}_initObservables(){this.valueChanges=new a.vpe,this.statusChanges=new a.vpe}_calculateStatus(){return this._allControlsDisabled()?En:this.errors?zn:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Fn)?Fn:this._anyControlsHaveStatus(zn)?zn:Yn}_anyControlsHaveStatus(w){return this._anyControls(B=>B.status===w)}_anyControlsDirty(){return this._anyControls(w=>w.dirty)}_anyControlsTouched(){return this._anyControls(w=>w.touched)}_updatePristine(w={}){this.pristine=!this._anyControlsDirty(),this._parent&&!w.onlySelf&&this._parent._updatePristine(w)}_updateTouched(w={}){this.touched=this._anyControlsTouched(),this._parent&&!w.onlySelf&&this._parent._updateTouched(w)}_registerOnCollectionChange(w){this._onCollectionChange=w}_setUpdateStrategy(w){vr(w)&&null!=w.updateOn&&(this._updateOn=w.updateOn)}_parentMarkedDirty(w){return!w&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(w){return null}_assignValidators(w){this._rawValidators=Array.isArray(w)?w.slice():w,this._composedValidatorFn=function ar(A){return Array.isArray(A)?Ne(A):A||null}(this._rawValidators)}_assignAsyncValidators(w){this._rawAsyncValidators=Array.isArray(w)?w.slice():w,this._composedAsyncValidatorFn=function lr(A){return Array.isArray(A)?Ge(A):A||null}(this._rawAsyncValidators)}}class k extends ie{constructor(w,B,O){super(Ln(B),er(O,B)),this.controls=w,this._initObservables(),this._setUpdateStrategy(B),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(w,B){return this.controls[w]?this.controls[w]:(this.controls[w]=B,B.setParent(this),B._registerOnCollectionChange(this._onCollectionChange),B)}addControl(w,B,O={}){this.registerControl(w,B),this.updateValueAndValidity({emitEvent:O.emitEvent}),this._onCollectionChange()}removeControl(w,B={}){this.controls[w]&&this.controls[w]._registerOnCollectionChange(()=>{}),delete this.controls[w],this.updateValueAndValidity({emitEvent:B.emitEvent}),this._onCollectionChange()}setControl(w,B,O={}){this.controls[w]&&this.controls[w]._registerOnCollectionChange(()=>{}),delete this.controls[w],B&&this.registerControl(w,B),this.updateValueAndValidity({emitEvent:O.emitEvent}),this._onCollectionChange()}contains(w){return this.controls.hasOwnProperty(w)&&this.controls[w].enabled}setValue(w,B={}){(function so(A,w,B){A._forEachChild((O,H)=>{if(void 0===B[H])throw new a.vHH(1002,"")})})(this,0,w),Object.keys(w).forEach(O=>{(function Dr(A,w,B){const O=A.controls;if(!(w?Object.keys(O):O).length)throw new a.vHH(1e3,"");if(!O[B])throw new a.vHH(1001,"")})(this,!0,O),this.controls[O].setValue(w[O],{onlySelf:!0,emitEvent:B.emitEvent})}),this.updateValueAndValidity(B)}patchValue(w,B={}){null!=w&&(Object.keys(w).forEach(O=>{const H=this.controls[O];H&&H.patchValue(w[O],{onlySelf:!0,emitEvent:B.emitEvent})}),this.updateValueAndValidity(B))}reset(w={},B={}){this._forEachChild((O,H)=>{O.reset(w[H],{onlySelf:!0,emitEvent:B.emitEvent})}),this._updatePristine(B),this._updateTouched(B),this.updateValueAndValidity(B)}getRawValue(){return this._reduceChildren({},(w,B,O)=>(w[O]=B.getRawValue(),w))}_syncPendingControls(){let w=this._reduceChildren(!1,(B,O)=>!!O._syncPendingControls()||B);return w&&this.updateValueAndValidity({onlySelf:!0}),w}_forEachChild(w){Object.keys(this.controls).forEach(B=>{const O=this.controls[B];O&&w(O,B)})}_setUpControls(){this._forEachChild(w=>{w.setParent(this),w._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(w){for(const[B,O]of Object.entries(this.controls))if(this.contains(B)&&w(O))return!0;return!1}_reduceValue(){return this._reduceChildren({},(B,O,H)=>((O.enabled||this.disabled)&&(B[H]=O.value),B))}_reduceChildren(w,B){let O=w;return this._forEachChild((H,rt)=>{O=B(O,H,rt)}),O}_allControlsDisabled(){for(const w of Object.keys(this.controls))if(this.controls[w].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(w){return this.controls.hasOwnProperty(w)?this.controls[w]:null}}const Re=new a.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>Qe}),Qe="always";function lt(A,w,B=Qe){ye(A,w),w.valueAccessor.writeValue(A.value),(A.disabled||"always"===B)&&w.valueAccessor.setDisabledState?.(A.disabled),function Ie(A,w){w.valueAccessor.registerOnChange(B=>{A._pendingValue=B,A._pendingChange=!0,A._pendingDirty=!0,"change"===A.updateOn&&oe(A,w)})}(A,w),function ge(A,w){const B=(O,H)=>{w.valueAccessor.writeValue(O),H&&w.viewToModelUpdate(O)};A.registerOnChange(B),w._registerOnDestroy(()=>{A._unregisterOnChange(B)})}(A,w),function K(A,w){w.valueAccessor.registerOnTouched(()=>{A._pendingTouched=!0,"blur"===A.updateOn&&A._pendingChange&&oe(A,w),"submit"!==A.updateOn&&A.markAsTouched()})}(A,w),function Qt(A,w){if(w.valueAccessor.setDisabledState){const B=O=>{w.valueAccessor.setDisabledState(O)};A.registerOnDisabledChange(B),w._registerOnDestroy(()=>{A._unregisterOnDisabledChange(B)})}}(A,w)}function Lt(A,w,B=!0){const O=()=>{};w.valueAccessor&&(w.valueAccessor.registerOnChange(O),w.valueAccessor.registerOnTouched(O)),re(A,w),A&&(w._invokeOnDestroyCallbacks(),A._registerOnCollectionChange(()=>{}))}function bt(A,w){A.forEach(B=>{B.registerOnValidatorChange&&B.registerOnValidatorChange(w)})}function ye(A,w){const B=Ee(A);null!==w.validator?A.setValidators(Ce(B,w.validator)):"function"==typeof B&&A.setValidators([B]);const O=Ae(A);null!==w.asyncValidator?A.setAsyncValidators(Ce(O,w.asyncValidator)):"function"==typeof O&&A.setAsyncValidators([O]);const H=()=>A.updateValueAndValidity();bt(w._rawValidators,H),bt(w._rawAsyncValidators,H)}function re(A,w){let B=!1;if(null!==A){if(null!==w.validator){const H=Ee(A);if(Array.isArray(H)&&H.length>0){const rt=H.filter(Ut=>Ut!==w.validator);rt.length!==H.length&&(B=!0,A.setValidators(rt))}}if(null!==w.asyncValidator){const H=Ae(A);if(Array.isArray(H)&&H.length>0){const rt=H.filter(Ut=>Ut!==w.asyncValidator);rt.length!==H.length&&(B=!0,A.setAsyncValidators(rt))}}}const O=()=>{};return bt(w._rawValidators,O),bt(w._rawAsyncValidators,O),B}function oe(A,w){A._pendingDirty&&A.markAsDirty(),A.setValue(A._pendingValue,{emitModelToViewChange:!1}),w.viewToModelUpdate(A._pendingValue),A._pendingChange=!1}function Ze(A,w){ye(A,w)}function Gn(A,w){if(!A.hasOwnProperty("model"))return!1;const B=A.model;return!!B.isFirstChange()||!Object.is(w,B.currentValue)}function Zr(A,w){A._syncPendingControls(),w.forEach(B=>{const O=B.control;"submit"===O.updateOn&&O._pendingChange&&(B.viewToModelUpdate(O._pendingValue),O._pendingChange=!1)})}function tn(A,w){if(!w)return null;let B,O,H;return Array.isArray(w),w.forEach(rt=>{rt.constructor===Te?B=rt:function Sr(A){return Object.getPrototypeOf(A.constructor)===ee}(rt)?O=rt:H=rt}),H||O||B||null}const io={provide:Ct,useExisting:(0,a.Gpc)(()=>An)},_n=(()=>Promise.resolve())();let An=(()=>{var A;class w extends Ct{constructor(O,H,rt){super(),this.callSetDisabledState=rt,this.submitted=!1,this._directives=new Set,this.ngSubmit=new a.vpe,this.form=new k({},Ne(O),Ge(H))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(O){_n.then(()=>{const H=this._findContainer(O.path);O.control=H.registerControl(O.name,O.control),lt(O.control,O,this.callSetDisabledState),O.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(O)})}getControl(O){return this.form.get(O.path)}removeControl(O){_n.then(()=>{const H=this._findContainer(O.path);H&&H.removeControl(O.name),this._directives.delete(O)})}addFormGroup(O){_n.then(()=>{const H=this._findContainer(O.path),rt=new k({});Ze(rt,O),H.registerControl(O.name,rt),rt.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(O){_n.then(()=>{const H=this._findContainer(O.path);H&&H.removeControl(O.name)})}getFormGroup(O){return this.form.get(O.path)}updateModel(O,H){_n.then(()=>{this.form.get(O.path).setValue(H)})}setValue(O){this.control.setValue(O)}onSubmit(O){return this.submitted=!0,Zr(this.form,this._directives),this.ngSubmit.emit(O),"dialog"===O?.target?.method}onReset(){this.resetForm()}resetForm(O=void 0){this.form.reset(O),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(O){return O.pop(),O.length?this.form.get(O):this.form}}return(A=w).\u0275fac=function(O){return new(O||A)(a.Y36(je,10),a.Y36(Le,10),a.Y36(Re,8))},A.\u0275dir=a.lG2({type:A,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(O,H){1&O&&a.NdJ("submit",function(Ut){return H.onSubmit(Ut)})("reset",function(){return H.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[a._Bn([io]),a.qOj]}),w})();function No(A,w){const B=A.indexOf(w);B>-1&&A.splice(B,1)}function fr(A){return"object"==typeof A&&null!==A&&2===Object.keys(A).length&&"value"in A&&"disabled"in A}const Mo=class extends ie{constructor(w=null,B,O){super(Ln(B),er(O,B)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(w),this._setUpdateStrategy(B),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),vr(B)&&(B.nonNullable||B.initialValueIsDefault)&&(this.defaultValue=fr(w)?w.value:w)}setValue(w,B={}){this.value=this._pendingValue=w,this._onChange.length&&!1!==B.emitModelToViewChange&&this._onChange.forEach(O=>O(this.value,!1!==B.emitViewToModelChange)),this.updateValueAndValidity(B)}patchValue(w,B={}){this.setValue(w,B)}reset(w=this.defaultValue,B={}){this._applyFormState(w),this.markAsPristine(B),this.markAsUntouched(B),this.setValue(this.value,B),this._pendingChange=!1}_updateValue(){}_anyControls(w){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(w){this._onChange.push(w)}_unregisterOnChange(w){No(this._onChange,w)}registerOnDisabledChange(w){this._onDisabledChange.push(w)}_unregisterOnDisabledChange(w){No(this._onDisabledChange,w)}_forEachChild(w){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(w){fr(w)?(this.value=this._pendingValue=w.value,w.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=w}},xo=Mo,Cs={provide:Yt,useExisting:(0,a.Gpc)(()=>Br)},Hs=(()=>Promise.resolve())();let Br=(()=>{var A;class w extends Yt{constructor(O,H,rt,Ut,xr,Yr){super(),this._changeDetectorRef=xr,this.callSetDisabledState=Yr,this.control=new Mo,this._registered=!1,this.name="",this.update=new a.vpe,this._parent=O,this._setValidators(H),this._setAsyncValidators(rt),this.valueAccessor=tn(0,Ut)}ngOnChanges(O){if(this._checkForErrors(),!this._registered||"name"in O){if(this._registered&&(this._checkName(),this.formDirective)){const H=O.name.previousValue;this.formDirective.removeControl({name:H,path:this._getPath(H)})}this._setUpControl()}"isDisabled"in O&&this._updateDisabled(O),Gn(O,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(O){this.viewModel=O,this.update.emit(O)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){lt(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(O){Hs.then(()=>{this.control.setValue(O,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(O){const H=O.isDisabled.currentValue,rt=0!==H&&(0,a.VuI)(H);Hs.then(()=>{rt&&!this.control.disabled?this.control.disable():!rt&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(O){return this._parent?function vt(A,w){return[...w.path,A]}(O,this._parent):[O]}}return(A=w).\u0275fac=function(O){return new(O||A)(a.Y36(Ct,9),a.Y36(je,10),a.Y36(Le,10),a.Y36(ae,10),a.Y36(a.sBO,8),a.Y36(Re,8))},A.\u0275dir=a.lG2({type:A,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[a._Bn([Cs]),a.qOj,a.TTD]}),w})(),$s=(()=>{var A;class w{}return(A=w).\u0275fac=function(O){return new(O||A)},A.\u0275dir=a.lG2({type:A,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),w})();const Ar={provide:ae,useExisting:(0,a.Gpc)(()=>Zo),multi:!0};let Zo=(()=>{var A;class w extends ee{writeValue(O){this.setProperty("value",O??"")}registerOnChange(O){this.onChange=H=>{O(""==H?null:parseFloat(H))}}}return(A=w).\u0275fac=function(){let B;return function(H){return(B||(B=a.n5z(A)))(H||A)}}(),A.\u0275dir=a.lG2({type:A,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(O,H){1&O&&a.NdJ("input",function(Ut){return H.onChange(Ut.target.value)})("blur",function(){return H.onTouched()})},features:[a._Bn([Ar]),a.qOj]}),w})(),ws=(()=>{var A;class w{}return(A=w).\u0275fac=function(O){return new(O||A)},A.\u0275mod=a.oAB({type:A}),A.\u0275inj=a.cJS({}),w})();const bn=new a.OlP("NgModelWithFormControlWarning"),Un={provide:Yt,useExisting:(0,a.Gpc)(()=>go)};let go=(()=>{var A;class w extends Yt{set isDisabled(O){}constructor(O,H,rt,Ut,xr){super(),this._ngModelWarningConfig=Ut,this.callSetDisabledState=xr,this.update=new a.vpe,this._ngModelWarningSent=!1,this._setValidators(O),this._setAsyncValidators(H),this.valueAccessor=tn(0,rt)}ngOnChanges(O){if(this._isControlChanged(O)){const H=O.form.previousValue;H&&Lt(H,this,!1),lt(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Gn(O,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Lt(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(O){this.viewModel=O,this.update.emit(O)}_isControlChanged(O){return O.hasOwnProperty("form")}}return(A=w)._ngModelWarningSentOnce=!1,A.\u0275fac=function(O){return new(O||A)(a.Y36(je,10),a.Y36(Le,10),a.Y36(ae,10),a.Y36(bn,8),a.Y36(Re,8))},A.\u0275dir=a.lG2({type:A,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[a._Bn([Un]),a.qOj,a.TTD]}),w})();const Or={provide:Ct,useExisting:(0,a.Gpc)(()=>Ms)};let Ms=(()=>{var A;class w extends Ct{constructor(O,H,rt){super(),this.callSetDisabledState=rt,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new a.vpe,this._setValidators(O),this._setAsyncValidators(H)}ngOnChanges(O){this._checkFormPresent(),O.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(re(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(O){const H=this.form.get(O.path);return lt(H,O,this.callSetDisabledState),H.updateValueAndValidity({emitEvent:!1}),this.directives.push(O),H}getControl(O){return this.form.get(O.path)}removeControl(O){Lt(O.control||null,O,!1),function wn(A,w){const B=A.indexOf(w);B>-1&&A.splice(B,1)}(this.directives,O)}addFormGroup(O){this._setUpFormContainer(O)}removeFormGroup(O){this._cleanUpFormContainer(O)}getFormGroup(O){return this.form.get(O.path)}addFormArray(O){this._setUpFormContainer(O)}removeFormArray(O){this._cleanUpFormContainer(O)}getFormArray(O){return this.form.get(O.path)}updateModel(O,H){this.form.get(O.path).setValue(H)}onSubmit(O){return this.submitted=!0,Zr(this.form,this.directives),this.ngSubmit.emit(O),"dialog"===O?.target?.method}onReset(){this.resetForm()}resetForm(O=void 0){this.form.reset(O),this.submitted=!1}_updateDomValue(){this.directives.forEach(O=>{const H=O.control,rt=this.form.get(O.path);H!==rt&&(Lt(H||null,O),(A=>A instanceof Mo)(rt)&&(lt(rt,O,this.callSetDisabledState),O.control=rt))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(O){const H=this.form.get(O.path);Ze(H,O),H.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(O){if(this.form){const H=this.form.get(O.path);H&&function ke(A,w){return re(A,w)}(H,O)&&H.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){ye(this.form,this),this._oldForm&&re(this._oldForm,this)}_checkFormPresent(){}}return(A=w).\u0275fac=function(O){return new(O||A)(a.Y36(je,10),a.Y36(Le,10),a.Y36(Re,8))},A.\u0275dir=a.lG2({type:A,selectors:[["","formGroup",""]],hostBindings:function(O,H){1&O&&a.NdJ("submit",function(Ut){return H.onSubmit(Ut)})("reset",function(){return H.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[a._Bn([Or]),a.qOj,a.TTD]}),w})();const Pn={provide:ae,useExisting:(0,a.Gpc)(()=>qn),multi:!0};function Cr(A,w){return null==A?`${w}`:(w&&"object"==typeof w&&(w="Object"),`${A}: ${w}`.slice(0,50))}let qn=(()=>{var A;class w extends ee{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(O){this._compareWith=O}writeValue(O){this.value=O;const rt=Cr(this._getOptionId(O),O);this.setProperty("value",rt)}registerOnChange(O){this.onChange=H=>{this.value=this._getOptionValue(H),O(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(O){for(const H of this._optionMap.keys())if(this._compareWith(this._optionMap.get(H),O))return H;return null}_getOptionValue(O){const H=function Io(A){return A.split(":")[0]}(O);return this._optionMap.has(H)?this._optionMap.get(H):O}}return(A=w).\u0275fac=function(){let B;return function(H){return(B||(B=a.n5z(A)))(H||A)}}(),A.\u0275dir=a.lG2({type:A,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(O,H){1&O&&a.NdJ("change",function(Ut){return H.onChange(Ut.target.value)})("blur",function(){return H.onTouched()})},inputs:{compareWith:"compareWith"},features:[a._Bn([Pn]),a.qOj]}),w})(),mo=(()=>{var A;class w{constructor(O,H,rt){this._element=O,this._renderer=H,this._select=rt,this._select&&(this.id=this._select._registerOption())}set ngValue(O){null!=this._select&&(this._select._optionMap.set(this.id,O),this._setElementValue(Cr(this.id,O)),this._select.writeValue(this._select.value))}set value(O){this._setElementValue(O),this._select&&this._select.writeValue(this._select.value)}_setElementValue(O){this._renderer.setProperty(this._element.nativeElement,"value",O)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return(A=w).\u0275fac=function(O){return new(O||A)(a.Y36(a.SBq),a.Y36(a.Qsj),a.Y36(qn,9))},A.\u0275dir=a.lG2({type:A,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),w})();const Wn={provide:ae,useExisting:(0,a.Gpc)(()=>Kr),multi:!0};function _o(A,w){return null==A?`${w}`:("string"==typeof w&&(w=`'${w}'`),w&&"object"==typeof w&&(w="Object"),`${A}: ${w}`.slice(0,50))}let Kr=(()=>{var A;class w extends ee{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(O){this._compareWith=O}writeValue(O){let H;if(this.value=O,Array.isArray(O)){const rt=O.map(Ut=>this._getOptionId(Ut));H=(Ut,xr)=>{Ut._setSelected(rt.indexOf(xr.toString())>-1)}}else H=(rt,Ut)=>{rt._setSelected(!1)};this._optionMap.forEach(H)}registerOnChange(O){this.onChange=H=>{const rt=[],Ut=H.selectedOptions;if(void 0!==Ut){const xr=Ut;for(let Yr=0;Yr<xr.length;Yr++){const yo=this._getOptionValue(xr[Yr].value);rt.push(yo)}}else{const xr=H.options;for(let Yr=0;Yr<xr.length;Yr++){const ds=xr[Yr];if(ds.selected){const yo=this._getOptionValue(ds.value);rt.push(yo)}}}this.value=rt,O(rt)}}_registerOption(O){const H=(this._idCounter++).toString();return this._optionMap.set(H,O),H}_getOptionId(O){for(const H of this._optionMap.keys())if(this._compareWith(this._optionMap.get(H)._value,O))return H;return null}_getOptionValue(O){const H=function ao(A){return A.split(":")[0]}(O);return this._optionMap.has(H)?this._optionMap.get(H)._value:O}}return(A=w).\u0275fac=function(){let B;return function(H){return(B||(B=a.n5z(A)))(H||A)}}(),A.\u0275dir=a.lG2({type:A,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(O,H){1&O&&a.NdJ("change",function(Ut){return H.onChange(Ut.target)})("blur",function(){return H.onTouched()})},inputs:{compareWith:"compareWith"},features:[a._Bn([Wn]),a.qOj]}),w})(),Ts=(()=>{var A;class w{constructor(O,H,rt){this._element=O,this._renderer=H,this._select=rt,this._select&&(this.id=this._select._registerOption(this))}set ngValue(O){null!=this._select&&(this._value=O,this._setElementValue(_o(this.id,O)),this._select.writeValue(this._select.value))}set value(O){this._select?(this._value=O,this._setElementValue(_o(this.id,O)),this._select.writeValue(this._select.value)):this._setElementValue(O)}_setElementValue(O){this._renderer.setProperty(this._element.nativeElement,"value",O)}_setSelected(O){this._renderer.setProperty(this._element.nativeElement,"selected",O)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return(A=w).\u0275fac=function(O){return new(O||A)(a.Y36(a.SBq),a.Y36(a.Qsj),a.Y36(Kr,9))},A.\u0275dir=a.lG2({type:A,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),w})();let lo=(()=>{var A;class w{constructor(){this._validator=It}ngOnChanges(O){if(this.inputName in O){const H=this.normalizeInput(O[this.inputName].currentValue);this._enabled=this.enabled(H),this._validator=this._enabled?this.createValidator(H):It,this._onChange&&this._onChange()}}validate(O){return this._validator(O)}registerOnValidatorChange(O){this._onChange=O}enabled(O){return null!=O}}return(A=w).\u0275fac=function(O){return new(O||A)},A.\u0275dir=a.lG2({type:A,features:[a.TTD]}),w})();const Yo={provide:je,useExisting:(0,a.Gpc)(()=>Hr),multi:!0};let Hr=(()=>{var A;class w extends lo{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=O=>function Zn(A){return"number"==typeof A?A:parseFloat(A)}(O),this.createValidator=O=>De(O)}}return(A=w).\u0275fac=function(){let B;return function(H){return(B||(B=a.n5z(A)))(H||A)}}(),A.\u0275dir=a.lG2({type:A,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(O,H){2&O&&a.uIk("max",H._enabled?H.max:null)},inputs:{max:"max"},features:[a._Bn([Yo]),a.qOj]}),w})();const qo={provide:je,useExisting:(0,a.Gpc)(()=>Qo),multi:!0},co={provide:je,useExisting:(0,a.Gpc)(()=>uo),multi:!0};let Qo=(()=>{var A;class w extends lo{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=a.VuI,this.createValidator=O=>me}enabled(O){return O}}return(A=w).\u0275fac=function(){let B;return function(H){return(B||(B=a.n5z(A)))(H||A)}}(),A.\u0275dir=a.lG2({type:A,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(O,H){2&O&&a.uIk("required",H._enabled?"":null)},inputs:{required:"required"},features:[a._Bn([qo]),a.qOj]}),w})(),uo=(()=>{var A;class w extends Qo{constructor(){super(...arguments),this.createValidator=O=>Se}}return(A=w).\u0275fac=function(){let B;return function(H){return(B||(B=a.n5z(A)))(H||A)}}(),A.\u0275dir=a.lG2({type:A,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(O,H){2&O&&a.uIk("required",H._enabled?"":null)},features:[a._Bn([co]),a.qOj]}),w})();const Rn={provide:je,useExisting:(0,a.Gpc)(()=>Vo),multi:!0};let Vo=(()=>{var A;class w extends lo{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=O=>function Bo(A){return"number"==typeof A?A:parseInt(A,10)}(O),this.createValidator=O=>st(O)}}return(A=w).\u0275fac=function(){let B;return function(H){return(B||(B=a.n5z(A)))(H||A)}}(),A.\u0275dir=a.lG2({type:A,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(O,H){2&O&&a.uIk("maxlength",H._enabled?H.maxlength:null)},inputs:{maxlength:"maxlength"},features:[a._Bn([Rn]),a.qOj]}),w})(),tr=(()=>{var A;class w{}return(A=w).\u0275fac=function(O){return new(O||A)},A.\u0275mod=a.oAB({type:A}),A.\u0275inj=a.cJS({imports:[ws]}),w})(),Zs=(()=>{var A;class w{static withConfig(O){return{ngModule:w,providers:[{provide:Re,useValue:O.callSetDisabledState??Qe}]}}}return(A=w).\u0275fac=function(O){return new(O||A)},A.\u0275mod=a.oAB({type:A}),A.\u0275inj=a.cJS({imports:[tr]}),w})(),ci=(()=>{var A;class w{static withConfig(O){return{ngModule:w,providers:[{provide:bn,useValue:O.warnOnNgModelWithFormControl??"always"},{provide:Re,useValue:O.callSetDisabledState??Qe}]}}}return(A=w).\u0275fac=function(O){return new(O||A)},A.\u0275mod=a.oAB({type:A}),A.\u0275inj=a.cJS({imports:[tr]}),w})()},6593:(tt,ve,I)=>{I.d(ve,{Dx:()=>Vn,H7:()=>zn,b2:()=>xt,q6:()=>Dt,se:()=>$e});var a=I(5879),u=I(6814);class G extends u.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class ne extends G{static makeCurrent(){(0,u.HT)(new ne)}onAndCancel(x,te,L){return x.addEventListener(te,L),()=>{x.removeEventListener(te,L)}}dispatchEvent(x,te){x.dispatchEvent(te)}remove(x){x.parentNode&&x.parentNode.removeChild(x)}createElement(x,te){return(te=te||this.getDefaultDocument()).createElement(x)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(x){return x.nodeType===Node.ELEMENT_NODE}isShadowRoot(x){return x instanceof DocumentFragment}getGlobalEventTarget(x,te){return"window"===te?window:"document"===te?x:"body"===te?x.body:null}getBaseHref(x){const te=function $(){return z=z||document.querySelector("base"),z?z.getAttribute("href"):null}();return null==te?null:function ae(k){ee=ee||document.createElement("a"),ee.setAttribute("href",k);const x=ee.pathname;return"/"===x.charAt(0)?x:`/${x}`}(te)}resetBaseElement(){z=null}getUserAgent(){return window.navigator.userAgent}getCookie(x){return(0,u.Mx)(document.cookie,x)}}let ee,z=null,U=(()=>{var k;class x{build(){return new XMLHttpRequest}}return(k=x).\u0275fac=function(L){return new(L||k)},k.\u0275prov=a.Yz7({token:k,factory:k.\u0275fac}),x})();const J=new a.OlP("EventManagerPlugins");let fe=(()=>{var k;class x{constructor(L,se){this._zone=se,this._eventNameToPlugin=new Map,L.forEach(Re=>{Re.manager=this}),this._plugins=L.slice().reverse()}addEventListener(L,se,Re){return this._findPluginFor(se).addEventListener(L,se,Re)}getZone(){return this._zone}_findPluginFor(L){let se=this._eventNameToPlugin.get(L);if(se)return se;if(se=this._plugins.find(Qe=>Qe.supports(L)),!se)throw new a.vHH(5101,!1);return this._eventNameToPlugin.set(L,se),se}}return(k=x).\u0275fac=function(L){return new(L||k)(a.LFG(J),a.LFG(a.R0b))},k.\u0275prov=a.Yz7({token:k,factory:k.\u0275fac}),x})();class xe{constructor(x){this._doc=x}}const Te="ng-app-id";let Ye=(()=>{var k;class x{constructor(L,se,Re,Qe={}){this.doc=L,this.appId=se,this.nonce=Re,this.platformId=Qe,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,u.PM)(Qe),this.resetHostNodes()}addStyles(L){for(const se of L)1===this.changeUsageCount(se,1)&&this.onStyleAdded(se)}removeStyles(L){for(const se of L)this.changeUsageCount(se,-1)<=0&&this.onStyleRemoved(se)}ngOnDestroy(){const L=this.styleNodesInDOM;L&&(L.forEach(se=>se.remove()),L.clear());for(const se of this.getAllStyles())this.onStyleRemoved(se);this.resetHostNodes()}addHost(L){this.hostNodes.add(L);for(const se of this.getAllStyles())this.addStyleToHost(L,se)}removeHost(L){this.hostNodes.delete(L)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(L){for(const se of this.hostNodes)this.addStyleToHost(se,L)}onStyleRemoved(L){const se=this.styleRef;se.get(L)?.elements?.forEach(Re=>Re.remove()),se.delete(L)}collectServerRenderedStyles(){const L=this.doc.head?.querySelectorAll(`style[${Te}="${this.appId}"]`);if(L?.length){const se=new Map;return L.forEach(Re=>{null!=Re.textContent&&se.set(Re.textContent,Re)}),se}return null}changeUsageCount(L,se){const Re=this.styleRef;if(Re.has(L)){const Qe=Re.get(L);return Qe.usage+=se,Qe.usage}return Re.set(L,{usage:se,elements:[]}),se}getStyleElement(L,se){const Re=this.styleNodesInDOM,Qe=Re?.get(se);if(Qe?.parentNode===L)return Re.delete(se),Qe.removeAttribute(Te),Qe;{const vt=this.doc.createElement("style");return this.nonce&&vt.setAttribute("nonce",this.nonce),vt.textContent=se,this.platformIsServer&&vt.setAttribute(Te,this.appId),vt}}addStyleToHost(L,se){const Re=this.getStyleElement(L,se);L.appendChild(Re);const Qe=this.styleRef,vt=Qe.get(se)?.elements;vt?vt.push(Re):Qe.set(se,{elements:[Re],usage:1})}resetHostNodes(){const L=this.hostNodes;L.clear(),L.add(this.doc.head)}}return(k=x).\u0275fac=function(L){return new(L||k)(a.LFG(u.K0),a.LFG(a.AFp),a.LFG(a.Ojb,8),a.LFG(a.Lbi))},k.\u0275prov=a.Yz7({token:k,factory:k.\u0275fac}),x})();const Oe={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,De=new a.OlP("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function We(k,x){return x.map(te=>te.replace(je,k))}let $e=(()=>{var k;class x{constructor(L,se,Re,Qe,vt,lt,Lt,bt=null){this.eventManager=L,this.sharedStylesHost=se,this.appId=Re,this.removeStylesOnCompDestroy=Qe,this.doc=vt,this.platformId=lt,this.ngZone=Lt,this.nonce=bt,this.rendererByCompId=new Map,this.platformIsServer=(0,u.PM)(lt),this.defaultRenderer=new st(L,vt,Lt,this.platformIsServer)}createRenderer(L,se){if(!L||!se)return this.defaultRenderer;this.platformIsServer&&se.encapsulation===a.ifc.ShadowDom&&(se={...se,encapsulation:a.ifc.Emulated});const Re=this.getOrCreateRenderer(L,se);return Re instanceof on?Re.applyToHost(L):Re instanceof pn&&Re.applyStyles(),Re}getOrCreateRenderer(L,se){const Re=this.rendererByCompId;let Qe=Re.get(se.id);if(!Qe){const vt=this.doc,lt=this.ngZone,Lt=this.eventManager,bt=this.sharedStylesHost,Qt=this.removeStylesOnCompDestroy,ye=this.platformIsServer;switch(se.encapsulation){case a.ifc.Emulated:Qe=new on(Lt,bt,se,this.appId,Qt,vt,lt,ye);break;case a.ifc.ShadowDom:return new en(Lt,bt,L,se,vt,lt,this.nonce,ye);default:Qe=new pn(Lt,bt,se,Qt,vt,lt,ye)}Re.set(se.id,Qe)}return Qe}ngOnDestroy(){this.rendererByCompId.clear()}}return(k=x).\u0275fac=function(L){return new(L||k)(a.LFG(fe),a.LFG(Ye),a.LFG(a.AFp),a.LFG(De),a.LFG(u.K0),a.LFG(a.Lbi),a.LFG(a.R0b),a.LFG(a.Ojb))},k.\u0275prov=a.Yz7({token:k,factory:k.\u0275fac}),x})();class st{constructor(x,te,L,se){this.eventManager=x,this.doc=te,this.ngZone=L,this.platformIsServer=se,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(x,te){return te?this.doc.createElementNS(Oe[te]||te,x):this.doc.createElement(x)}createComment(x){return this.doc.createComment(x)}createText(x){return this.doc.createTextNode(x)}appendChild(x,te){(St(x)?x.content:x).appendChild(te)}insertBefore(x,te,L){x&&(St(x)?x.content:x).insertBefore(te,L)}removeChild(x,te){x&&x.removeChild(te)}selectRootElement(x,te){let L="string"==typeof x?this.doc.querySelector(x):x;if(!L)throw new a.vHH(-5104,!1);return te||(L.textContent=""),L}parentNode(x){return x.parentNode}nextSibling(x){return x.nextSibling}setAttribute(x,te,L,se){if(se){te=se+":"+te;const Re=Oe[se];Re?x.setAttributeNS(Re,te,L):x.setAttribute(te,L)}else x.setAttribute(te,L)}removeAttribute(x,te,L){if(L){const se=Oe[L];se?x.removeAttributeNS(se,te):x.removeAttribute(`${L}:${te}`)}else x.removeAttribute(te)}addClass(x,te){x.classList.add(te)}removeClass(x,te){x.classList.remove(te)}setStyle(x,te,L,se){se&(a.JOm.DashCase|a.JOm.Important)?x.style.setProperty(te,L,se&a.JOm.Important?"important":""):x.style[te]=L}removeStyle(x,te,L){L&a.JOm.DashCase?x.style.removeProperty(te):x.style[te]=""}setProperty(x,te,L){x[te]=L}setValue(x,te){x.nodeValue=te}listen(x,te,L){if("string"==typeof x&&!(x=(0,u.q)().getGlobalEventTarget(this.doc,x)))throw new Error(`Unsupported event target ${x} for event ${te}`);return this.eventManager.addEventListener(x,te,this.decoratePreventDefault(L))}decoratePreventDefault(x){return te=>{if("__ngUnwrap__"===te)return x;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>x(te)):x(te))&&te.preventDefault()}}}function St(k){return"TEMPLATE"===k.tagName&&void 0!==k.content}class en extends st{constructor(x,te,L,se,Re,Qe,vt,lt){super(x,Re,Qe,lt),this.sharedStylesHost=te,this.hostEl=L,this.shadowRoot=L.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Lt=We(se.id,se.styles);for(const bt of Lt){const Qt=document.createElement("style");vt&&Qt.setAttribute("nonce",vt),Qt.textContent=bt,this.shadowRoot.appendChild(Qt)}}nodeOrShadowRoot(x){return x===this.hostEl?this.shadowRoot:x}appendChild(x,te){return super.appendChild(this.nodeOrShadowRoot(x),te)}insertBefore(x,te,L){return super.insertBefore(this.nodeOrShadowRoot(x),te,L)}removeChild(x,te){return super.removeChild(this.nodeOrShadowRoot(x),te)}parentNode(x){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(x)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class pn extends st{constructor(x,te,L,se,Re,Qe,vt,lt){super(x,Re,Qe,vt),this.sharedStylesHost=te,this.removeStylesOnCompDestroy=se,this.styles=lt?We(lt,L.styles):L.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class on extends pn{constructor(x,te,L,se,Re,Qe,vt,lt){const Lt=se+"-"+L.id;super(x,te,L,Re,Qe,vt,lt,Lt),this.contentAttr=function me(k){return"_ngcontent-%COMP%".replace(je,k)}(Lt),this.hostAttr=function Se(k){return"_nghost-%COMP%".replace(je,k)}(Lt)}applyToHost(x){this.applyStyles(),this.setAttribute(x,this.hostAttr,"")}createElement(x,te){const L=super.createElement(x,te);return super.setAttribute(L,this.contentAttr,""),L}}let or=(()=>{var k;class x extends xe{constructor(L){super(L)}supports(L){return!0}addEventListener(L,se,Re){return L.addEventListener(se,Re,!1),()=>this.removeEventListener(L,se,Re)}removeEventListener(L,se,Re){return L.removeEventListener(se,Re)}}return(k=x).\u0275fac=function(L){return new(L||k)(a.LFG(u.K0))},k.\u0275prov=a.Yz7({token:k,factory:k.\u0275fac}),x})();const _r=["alt","control","meta","shift"],Pe={"\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"},Ne={alt:k=>k.altKey,control:k=>k.ctrlKey,meta:k=>k.metaKey,shift:k=>k.shiftKey};let Ue=(()=>{var k;class x extends xe{constructor(L){super(L)}supports(L){return null!=x.parseEventName(L)}addEventListener(L,se,Re){const Qe=x.parseEventName(se),vt=x.eventCallback(Qe.fullKey,Re,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,u.q)().onAndCancel(L,Qe.domEventName,vt))}static parseEventName(L){const se=L.toLowerCase().split("."),Re=se.shift();if(0===se.length||"keydown"!==Re&&"keyup"!==Re)return null;const Qe=x._normalizeKey(se.pop());let vt="",lt=se.indexOf("code");if(lt>-1&&(se.splice(lt,1),vt="code."),_r.forEach(bt=>{const Qt=se.indexOf(bt);Qt>-1&&(se.splice(Qt,1),vt+=bt+".")}),vt+=Qe,0!=se.length||0===Qe.length)return null;const Lt={};return Lt.domEventName=Re,Lt.fullKey=vt,Lt}static matchEventFullKeyCode(L,se){let Re=Pe[L.key]||L.key,Qe="";return se.indexOf("code.")>-1&&(Re=L.code,Qe="code."),!(null==Re||!Re)&&(Re=Re.toLowerCase()," "===Re?Re="space":"."===Re&&(Re="dot"),_r.forEach(vt=>{vt!==Re&&(0,Ne[vt])(L)&&(Qe+=vt+".")}),Qe+=Re,Qe===se)}static eventCallback(L,se,Re){return Qe=>{x.matchEventFullKeyCode(Qe,L)&&Re.runGuarded(()=>se(Qe))}}static _normalizeKey(L){return"esc"===L?"escape":L}}return(k=x).\u0275fac=function(L){return new(L||k)(a.LFG(u.K0))},k.\u0275prov=a.Yz7({token:k,factory:k.\u0275fac}),x})();const Dt=(0,a.eFA)(a._c5,"browser",[{provide:a.Lbi,useValue:u.bD},{provide:a.g9A,useValue:function _e(){ne.makeCurrent()},multi:!0},{provide:u.K0,useFactory:function Xe(){return(0,a.RDi)(document),document},deps:[]}]),Ct=new a.OlP(""),Yt=[{provide:a.rWj,useClass:class de{addToWindow(x){a.dqk.getAngularTestability=(L,se=!0)=>{const Re=x.findTestabilityInTree(L,se);if(null==Re)throw new a.vHH(5103,!1);return Re},a.dqk.getAllAngularTestabilities=()=>x.getAllTestabilities(),a.dqk.getAllAngularRootElements=()=>x.getAllRootElements(),a.dqk.frameworkStabilizers||(a.dqk.frameworkStabilizers=[]),a.dqk.frameworkStabilizers.push(L=>{const se=a.dqk.getAllAngularTestabilities();let Re=se.length,Qe=!1;const vt=function(lt){Qe=Qe||lt,Re--,0==Re&&L(Qe)};se.forEach(lt=>{lt.whenStable(vt)})})}findTestabilityInTree(x,te,L){return null==te?null:x.getTestability(te)??(L?(0,u.q)().isShadowRoot(te)?this.findTestabilityInTree(x,te.host,!0):this.findTestabilityInTree(x,te.parentElement,!0):null)}},deps:[]},{provide:a.lri,useClass:a.dDg,deps:[a.R0b,a.eoX,a.rWj]},{provide:a.dDg,useClass:a.dDg,deps:[a.R0b,a.eoX,a.rWj]}],sn=[{provide:a.zSh,useValue:"root"},{provide:a.qLn,useFactory:function pe(){return new a.qLn},deps:[]},{provide:J,useClass:or,multi:!0,deps:[u.K0,a.R0b,a.Lbi]},{provide:J,useClass:Ue,multi:!0,deps:[u.K0]},$e,Ye,fe,{provide:a.FYo,useExisting:$e},{provide:u.JF,useClass:U,deps:[]},[]];let xt=(()=>{var k;class x{constructor(L){}static withServerTransition(L){return{ngModule:x,providers:[{provide:a.AFp,useValue:L.appId}]}}}return(k=x).\u0275fac=function(L){return new(L||k)(a.LFG(Ct,12))},k.\u0275mod=a.oAB({type:k}),k.\u0275inj=a.cJS({providers:[...sn,...Yt],imports:[u.ez,a.hGG]}),x})(),Vn=(()=>{var k;class x{constructor(L){this._doc=L}getTitle(){return this._doc.title}setTitle(L){this._doc.title=L||""}}return(k=x).\u0275fac=function(L){return new(L||k)(a.LFG(u.K0))},k.\u0275prov=a.Yz7({token:k,factory:function(L){let se=null;return se=L?new L:function Jn(){return new Vn((0,a.LFG)(u.K0))}(),se},providedIn:"root"}),x})();typeof window<"u"&&window;let zn=(()=>{var k;class x{}return(k=x).\u0275fac=function(L){return new(L||k)},k.\u0275prov=a.Yz7({token:k,factory:function(L){let se=null;return se=L?new(L||k):a.LFG(En),se},providedIn:"root"}),x})(),En=(()=>{var k;class x extends zn{constructor(L){super(),this._doc=L}sanitize(L,se){if(null==se)return null;switch(L){case a.q3G.NONE:return se;case a.q3G.HTML:return(0,a.qzn)(se,"HTML")?(0,a.z3N)(se):(0,a.EiD)(this._doc,String(se)).toString();case a.q3G.STYLE:return(0,a.qzn)(se,"Style")?(0,a.z3N)(se):se;case a.q3G.SCRIPT:if((0,a.qzn)(se,"Script"))return(0,a.z3N)(se);throw new a.vHH(5200,!1);case a.q3G.URL:return(0,a.qzn)(se,"URL")?(0,a.z3N)(se):(0,a.mCW)(String(se));case a.q3G.RESOURCE_URL:if((0,a.qzn)(se,"ResourceURL"))return(0,a.z3N)(se);throw new a.vHH(5201,!1);default:throw new a.vHH(5202,!1)}}bypassSecurityTrustHtml(L){return(0,a.JVY)(L)}bypassSecurityTrustStyle(L){return(0,a.L6k)(L)}bypassSecurityTrustScript(L){return(0,a.eBb)(L)}bypassSecurityTrustUrl(L){return(0,a.LAX)(L)}bypassSecurityTrustResourceUrl(L){return(0,a.pB0)(L)}}return(k=x).\u0275fac=function(L){return new(L||k)(a.LFG(u.K0))},k.\u0275prov=a.Yz7({token:k,factory:function(L){let se=null;return se=L?new L:function Fn(k){return new En(k.get(u.K0))}(a.LFG(a.zs3)),se},providedIn:"root"}),x})()},8184:(tt,ve,I)=>{I.d(ve,{F0:()=>ur,rH:()=>rs,Od:()=>Bn,Bz:()=>Da,lC:()=>Io});var a=I(5879),u=I(5592),G=I(4674),z=I(2459),$=I(2096),ee=I(5619),ae=I(2572),de=I(6973),U=I(5211),J=I(4911),fe=I(8407),xe=I(8504),Te=I(6232),Ye=I(7394),Oe=I(9360),je=I(8251);function Le(){return(0,Oe.e)((h,_)=>{let C=null;h._refCount++;const y=(0,je.x)(_,void 0,void 0,void 0,()=>{if(!h||h._refCount<=0||0<--h._refCount)return void(C=null);const M=h._connection,F=C;C=null,M&&(!F||M===F)&&M.unsubscribe(),_.unsubscribe()});h.subscribe(y),y.closed||(C=h.connect())})}class et extends u.y{constructor(_,C){super(),this.source=_,this.subjectFactory=C,this._subject=null,this._refCount=0,this._connection=null,(0,Oe.A)(_)&&(this.lift=_.lift)}_subscribe(_){return this.getSubject().subscribe(_)}getSubject(){const _=this._subject;return(!_||_.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:_}=this;this._subject=this._connection=null,_?.unsubscribe()}connect(){let _=this._connection;if(!_){_=this._connection=new Ye.w0;const C=this.getSubject();_.add(this.source.subscribe((0,je.x)(C,void 0,()=>{this._teardown(),C.complete()},y=>{this._teardown(),C.error(y)},()=>this._teardown()))),_.closed&&(this._connection=null,_=Ye.w0.EMPTY)}return _}refCount(){return Le()(this)}}var Ve=I(8645),Z=I(6814),De=I(7398),me=I(4664),Se=I(8180),We=I(7921),$e=I(2181),st=I(1631),ht=I(1374),It=I(6328),St=I(9397),en=I(6306);var or=I(3572);function _r(h){return h<=0?()=>Te.E:(0,Oe.e)((_,C)=>{let y=[];_.subscribe((0,je.x)(C,M=>{y.push(M),h<y.length&&y.shift()},()=>{for(const M of y)C.next(M);C.complete()},void 0,()=>{y=null}))})}var Pe=I(3026),Ne=I(2737),Ge=I(975),Ce=I(4716),Ee=I(9773),Ae=I(7537),_e=I(6593);const pe="primary",Xe=Symbol("RouteTitle");class pt{constructor(_){this.params=_||{}}has(_){return Object.prototype.hasOwnProperty.call(this.params,_)}get(_){if(this.has(_)){const C=this.params[_];return Array.isArray(C)?C[0]:C}return null}getAll(_){if(this.has(_)){const C=this.params[_];return Array.isArray(C)?C:[C]}return[]}get keys(){return Object.keys(this.params)}}function Dt(h){return new pt(h)}function Ct(h,_,C){const y=C.path.split("/");if(y.length>h.length||"full"===C.pathMatch&&(_.hasChildren()||y.length<h.length))return null;const M={};for(let F=0;F<y.length;F++){const j=y[F],we=h[F];if(j.startsWith(":"))M[j.substring(1)]=we;else if(j!==we.path)return null}return{consumed:h.slice(0,y.length),posParams:M}}function sn(h,_){const C=h?Object.keys(h):void 0,y=_?Object.keys(_):void 0;if(!C||!y||C.length!=y.length)return!1;let M;for(let F=0;F<C.length;F++)if(M=C[F],!xt(h[M],_[M]))return!1;return!0}function xt(h,_){if(Array.isArray(h)&&Array.isArray(_)){if(h.length!==_.length)return!1;const C=[...h].sort(),y=[..._].sort();return C.every((M,F)=>y[F]===M)}return h===_}function xn(h){return h.length>0?h[h.length-1]:null}function Sn(h){return function ne(h){return!!h&&(h instanceof u.y||(0,G.m)(h.lift)&&(0,G.m)(h.subscribe))}(h)?h:(0,a.QGY)(h)?(0,z.D)(Promise.resolve(h)):(0,$.of)(h)}const yr={exact:function Xn(h,_,C){if(!Ur(h.segments,_.segments)||!rn(h.segments,_.segments,C)||h.numberOfChildren!==_.numberOfChildren)return!1;for(const y in _.children)if(!h.children[y]||!Xn(h.children[y],_.children[y],C))return!1;return!0},subset:Vt},Jn={exact:function sr(h,_){return sn(h,_)},subset:function ct(h,_){return Object.keys(_).length<=Object.keys(h).length&&Object.keys(_).every(C=>xt(h[C],_[C]))},ignored:()=>!0};function Vn(h,_,C){return yr[C.paths](h.root,_.root,C.matrixParams)&&Jn[C.queryParams](h.queryParams,_.queryParams)&&!("exact"===C.fragment&&h.fragment!==_.fragment)}function Vt(h,_,C){return Tt(h,_,_.segments,C)}function Tt(h,_,C,y){if(h.segments.length>C.length){const M=h.segments.slice(0,C.length);return!(!Ur(M,C)||_.hasChildren()||!rn(M,C,y))}if(h.segments.length===C.length){if(!Ur(h.segments,C)||!rn(h.segments,C,y))return!1;for(const M in _.children)if(!h.children[M]||!Vt(h.children[M],_.children[M],y))return!1;return!0}{const M=C.slice(0,h.segments.length),F=C.slice(h.segments.length);return!!(Ur(h.segments,M)&&rn(h.segments,M,y)&&h.children[pe])&&Tt(h.children[pe],_,F,y)}}function rn(h,_,C){return _.every((y,M)=>Jn[C](h[M].parameters,y.parameters))}class jn{constructor(_=new jt([],{}),C={},y=null){this.root=_,this.queryParams=C,this.fragment=y}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Dt(this.queryParams)),this._queryParamMap}toString(){return Mn.serialize(this)}}class jt{constructor(_,C){this.segments=_,this.children=C,this.parent=null,Object.values(C).forEach(y=>y.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Yn(this)}}class qt{constructor(_,C){this.path=_,this.parameters=C}get parameterMap(){return this._parameterMap||(this._parameterMap=Dt(this.parameters)),this._parameterMap}toString(){return vr(this)}}function Ur(h,_){return h.length===_.length&&h.every((C,y)=>C.path===_[y].path)}let ir=(()=>{var h;class _{}return(h=_).\u0275fac=function(y){return new(y||h)},h.\u0275prov=a.Yz7({token:h,factory:function(){return new kt},providedIn:"root"}),_})();class kt{parse(_){const C=new vt(_);return new jn(C.parseRootSegment(),C.parseQueryParams(),C.parseFragment())}serialize(_){const C=`/${zn(_.root,!0)}`,y=function so(h){const _=Object.keys(h).map(C=>{const y=h[C];return Array.isArray(y)?y.map(M=>`${En(C)}=${En(M)}`).join("&"):`${En(C)}=${En(y)}`}).filter(C=>!!C);return _.length?`?${_.join("&")}`:""}(_.queryParams);return`${C}${y}${"string"==typeof _.fragment?`#${function Ln(h){return encodeURI(h)}(_.fragment)}`:""}`}}const Mn=new kt;function Yn(h){return h.segments.map(_=>vr(_)).join("/")}function zn(h,_){if(!h.hasChildren())return Yn(h);if(_){const C=h.children[pe]?zn(h.children[pe],!1):"",y=[];return Object.entries(h.children).forEach(([M,F])=>{M!==pe&&y.push(`${M}:${zn(F,!1)}`)}),y.length>0?`${C}(${y.join("//")})`:C}{const C=function cn(h,_){let C=[];return Object.entries(h.children).forEach(([y,M])=>{y===pe&&(C=C.concat(_(M,y)))}),Object.entries(h.children).forEach(([y,M])=>{y!==pe&&(C=C.concat(_(M,y)))}),C}(h,(y,M)=>M===pe?[zn(h.children[pe],!1)]:[`${M}:${zn(y,!1)}`]);return 1===Object.keys(h.children).length&&null!=h.children[pe]?`${Yn(h)}/${C[0]}`:`${Yn(h)}/(${C.join("//")})`}}function Fn(h){return encodeURIComponent(h).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function En(h){return Fn(h).replace(/%3B/gi,";")}function ar(h){return Fn(h).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function er(h){return decodeURIComponent(h)}function lr(h){return er(h.replace(/\+/g,"%20"))}function vr(h){return`${ar(h.path)}${function Dr(h){return Object.keys(h).map(_=>`;${ar(_)}=${ar(h[_])}`).join("")}(h.parameters)}`}const ie=/^[^\/()?;#]+/;function k(h){const _=h.match(ie);return _?_[0]:""}const x=/^[^\/()?;=#]+/,L=/^[^=?&#]+/,Re=/^[^&#]+/;class vt{constructor(_){this.url=_,this.remaining=_}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new jt([],{}):new jt([],this.parseChildren())}parseQueryParams(){const _={};if(this.consumeOptional("?"))do{this.parseQueryParam(_)}while(this.consumeOptional("&"));return _}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const _=[];for(this.peekStartsWith("(")||_.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),_.push(this.parseSegment());let C={};this.peekStartsWith("/(")&&(this.capture("/"),C=this.parseParens(!0));let y={};return this.peekStartsWith("(")&&(y=this.parseParens(!1)),(_.length>0||Object.keys(C).length>0)&&(y[pe]=new jt(_,C)),y}parseSegment(){const _=k(this.remaining);if(""===_&&this.peekStartsWith(";"))throw new a.vHH(4009,!1);return this.capture(_),new qt(er(_),this.parseMatrixParams())}parseMatrixParams(){const _={};for(;this.consumeOptional(";");)this.parseParam(_);return _}parseParam(_){const C=function te(h){const _=h.match(x);return _?_[0]:""}(this.remaining);if(!C)return;this.capture(C);let y="";if(this.consumeOptional("=")){const M=k(this.remaining);M&&(y=M,this.capture(y))}_[er(C)]=er(y)}parseQueryParam(_){const C=function se(h){const _=h.match(L);return _?_[0]:""}(this.remaining);if(!C)return;this.capture(C);let y="";if(this.consumeOptional("=")){const j=function Qe(h){const _=h.match(Re);return _?_[0]:""}(this.remaining);j&&(y=j,this.capture(y))}const M=lr(C),F=lr(y);if(_.hasOwnProperty(M)){let j=_[M];Array.isArray(j)||(j=[j],_[M]=j),j.push(F)}else _[M]=F}parseParens(_){const C={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const y=k(this.remaining),M=this.remaining[y.length];if("/"!==M&&")"!==M&&";"!==M)throw new a.vHH(4010,!1);let F;y.indexOf(":")>-1?(F=y.slice(0,y.indexOf(":")),this.capture(F),this.capture(":")):_&&(F=pe);const j=this.parseChildren();C[F]=1===Object.keys(j).length?j[pe]:new jt([],j),this.consumeOptional("//")}return C}peekStartsWith(_){return this.remaining.startsWith(_)}consumeOptional(_){return!!this.peekStartsWith(_)&&(this.remaining=this.remaining.substring(_.length),!0)}capture(_){if(!this.consumeOptional(_))throw new a.vHH(4011,!1)}}function lt(h){return h.segments.length>0?new jt([],{[pe]:h}):h}function Lt(h){const _={};for(const y of Object.keys(h.children)){const F=Lt(h.children[y]);if(y===pe&&0===F.segments.length&&F.hasChildren())for(const[j,we]of Object.entries(F.children))_[j]=we;else(F.segments.length>0||F.hasChildren())&&(_[y]=F)}return function bt(h){if(1===h.numberOfChildren&&h.children[pe]){const _=h.children[pe];return new jt(h.segments.concat(_.segments),_.children)}return h}(new jt(h.segments,_))}function Qt(h){return h instanceof jn}function re(h){let _;const M=lt(function C(F){const j={};for(const nt of F.children){const Fe=C(nt);j[nt.outlet]=Fe}const we=new jt(F.url,j);return F===h&&(_=we),we}(h.root));return _??M}function Ie(h,_,C,y){let M=h;for(;M.parent;)M=M.parent;if(0===_.length)return ge(M,M,M,C,y);const F=function gt(h){if("string"==typeof h[0]&&1===h.length&&"/"===h[0])return new ke(!0,0,h);let _=0,C=!1;const y=h.reduce((M,F,j)=>{if("object"==typeof F&&null!=F){if(F.outlets){const we={};return Object.entries(F.outlets).forEach(([nt,Fe])=>{we[nt]="string"==typeof Fe?Fe.split("/"):Fe}),[...M,{outlets:we}]}if(F.segmentPath)return[...M,F.segmentPath]}return"string"!=typeof F?[...M,F]:0===j?(F.split("/").forEach((we,nt)=>{0==nt&&"."===we||(0==nt&&""===we?C=!0:".."===we?_++:""!=we&&M.push(we))}),M):[...M,F]},[]);return new ke(C,_,y)}(_);if(F.toRoot())return ge(M,M,new jt([],{}),C,y);const j=function un(h,_,C){if(h.isAbsolute)return new mt(_,!0,0);if(!C)return new mt(_,!1,NaN);if(null===C.parent)return new mt(C,!0,0);const y=K(h.commands[0])?0:1;return function Cn(h,_,C){let y=h,M=_,F=C;for(;F>M;){if(F-=M,y=y.parent,!y)throw new a.vHH(4005,!1);M=y.segments.length}return new mt(y,!1,M-F)}(C,C.segments.length-1+y,h.numberOfDoubleDots)}(F,M,h),we=j.processChildren?Sr(j.segmentGroup,j.index,F.commands):Gn(j.segmentGroup,j.index,F.commands);return ge(M,j.segmentGroup,we,C,y)}function K(h){return"object"==typeof h&&null!=h&&!h.outlets&&!h.segmentPath}function oe(h){return"object"==typeof h&&null!=h&&h.outlets}function ge(h,_,C,y,M){let j,F={};y&&Object.entries(y).forEach(([nt,Fe])=>{F[nt]=Array.isArray(Fe)?Fe.map(wt=>`${wt}`):`${Fe}`}),j=h===_?C:Ze(h,_,C);const we=lt(Lt(j));return new jn(we,F,M)}function Ze(h,_,C){const y={};return Object.entries(h.children).forEach(([M,F])=>{y[M]=F===_?C:Ze(F,_,C)}),new jt(h.segments,y)}class ke{constructor(_,C,y){if(this.isAbsolute=_,this.numberOfDoubleDots=C,this.commands=y,_&&y.length>0&&K(y[0]))throw new a.vHH(4003,!1);const M=y.find(oe);if(M&&M!==xn(y))throw new a.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class mt{constructor(_,C,y){this.segmentGroup=_,this.processChildren=C,this.index=y}}function Gn(h,_,C){if(h||(h=new jt([],{})),0===h.segments.length&&h.hasChildren())return Sr(h,_,C);const y=function Zr(h,_,C){let y=0,M=_;const F={match:!1,pathIndex:0,commandIndex:0};for(;M<h.segments.length;){if(y>=C.length)return F;const j=h.segments[M],we=C[y];if(oe(we))break;const nt=`${we}`,Fe=y<C.length-1?C[y+1]:null;if(M>0&&void 0===nt)break;if(nt&&Fe&&"object"==typeof Fe&&void 0===Fe.outlets){if(!io(nt,Fe,j))return F;y+=2}else{if(!io(nt,{},j))return F;y++}M++}return{match:!0,pathIndex:M,commandIndex:y}}(h,_,C),M=C.slice(y.commandIndex);if(y.match&&y.pathIndex<h.segments.length){const F=new jt(h.segments.slice(0,y.pathIndex),{});return F.children[pe]=new jt(h.segments.slice(y.pathIndex),h.children),Sr(F,0,M)}return y.match&&0===M.length?new jt(h.segments,{}):y.match&&!h.hasChildren()?tn(h,_,C):y.match?Sr(h,0,M):tn(h,_,C)}function Sr(h,_,C){if(0===C.length)return new jt(h.segments,{});{const y=function dn(h){return oe(h[0])?h[0].outlets:{[pe]:h}}(C),M={};if(Object.keys(y).some(F=>F!==pe)&&h.children[pe]&&1===h.numberOfChildren&&0===h.children[pe].segments.length){const F=Sr(h.children[pe],_,C);return new jt(h.segments,F.children)}return Object.entries(y).forEach(([F,j])=>{"string"==typeof j&&(j=[j]),null!==j&&(M[F]=Gn(h.children[F],_,j))}),Object.entries(h.children).forEach(([F,j])=>{void 0===y[F]&&(M[F]=j)}),new jt(h.segments,M)}}function tn(h,_,C){const y=h.segments.slice(0,_);let M=0;for(;M<C.length;){const F=C[M];if(oe(F)){const nt=wn(F.outlets);return new jt(y,nt)}if(0===M&&K(C[0])){y.push(new qt(h.segments[_].path,Lr(C[0]))),M++;continue}const j=oe(F)?F.outlets[pe]:`${F}`,we=M<C.length-1?C[M+1]:null;j&&we&&K(we)?(y.push(new qt(j,Lr(we))),M+=2):(y.push(new qt(j,{})),M++)}return new jt(y,{})}function wn(h){const _={};return Object.entries(h).forEach(([C,y])=>{"string"==typeof y&&(y=[y]),null!==y&&(_[C]=tn(new jt([],{}),0,y))}),_}function Lr(h){const _={};return Object.entries(h).forEach(([C,y])=>_[C]=`${y}`),_}function io(h,_,C){return h==C.path&&sn(_,C.parameters)}const _n="imperative";class An{constructor(_,C){this.id=_,this.url=C}}class No extends An{constructor(_,C,y="imperative",M=null){super(_,C),this.type=0,this.navigationTrigger=y,this.restoredState=M}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class fr extends An{constructor(_,C,y){super(_,C),this.urlAfterRedirects=y,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Mo extends An{constructor(_,C,y,M){super(_,C),this.reason=y,this.code=M,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class xo extends An{constructor(_,C,y,M){super(_,C),this.reason=y,this.code=M,this.type=16}}class Er extends An{constructor(_,C,y,M){super(_,C),this.error=y,this.target=M,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class To extends An{constructor(_,C,y,M){super(_,C),this.urlAfterRedirects=y,this.state=M,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Us extends An{constructor(_,C,y,M){super(_,C),this.urlAfterRedirects=y,this.state=M,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ti extends An{constructor(_,C,y,M,F){super(_,C),this.urlAfterRedirects=y,this.state=M,this.shouldActivate=F,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class fa extends An{constructor(_,C,y,M){super(_,C),this.urlAfterRedirects=y,this.state=M,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ii extends An{constructor(_,C,y,M){super(_,C),this.urlAfterRedirects=y,this.state=M,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Es{constructor(_){this.route=_,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class ko{constructor(_){this.route=_,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Cs{constructor(_){this.snapshot=_,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Hs{constructor(_){this.snapshot=_,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Br{constructor(_){this.snapshot=_,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class $s{constructor(_){this.snapshot=_,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ar{constructor(_,C,y){this.routerEvent=_,this.position=C,this.anchor=y,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Zo{}class bs{constructor(_){this.url=_}}class ws{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Fo,this.attachRef=null}}let Fo=(()=>{var h;class _{constructor(){this.contexts=new Map}onChildOutletCreated(y,M){const F=this.getOrCreateContext(y);F.outlet=M,this.contexts.set(y,F)}onChildOutletDestroyed(y){const M=this.getContext(y);M&&(M.outlet=null,M.attachRef=null)}onOutletDeactivated(){const y=this.contexts;return this.contexts=new Map,y}onOutletReAttached(y){this.contexts=y}getOrCreateContext(y){let M=this.getContext(y);return M||(M=new ws,this.contexts.set(y,M)),M}getContext(y){return this.contexts.get(y)||null}}return(h=_).\u0275fac=function(y){return new(y||h)},h.\u0275prov=a.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),_})();class cs{constructor(_){this._root=_}get root(){return this._root.value}parent(_){const C=this.pathFromRoot(_);return C.length>1?C[C.length-2]:null}children(_){const C=Gs(_,this._root);return C?C.children.map(y=>y.value):[]}firstChild(_){const C=Gs(_,this._root);return C&&C.children.length>0?C.children[0].value:null}siblings(_){const C=nn(_,this._root);return C.length<2?[]:C[C.length-2].children.map(M=>M.value).filter(M=>M!==_)}pathFromRoot(_){return nn(_,this._root).map(C=>C.value)}}function Gs(h,_){if(h===_.value)return _;for(const C of _.children){const y=Gs(h,C);if(y)return y}return null}function nn(h,_){if(h===_.value)return[_];for(const C of _.children){const y=nn(h,C);if(y.length)return y.unshift(_),y}return[]}class bn{constructor(_,C){this.value=_,this.children=C}toString(){return`TreeNode(${this.value})`}}function Un(h){const _={};return h&&h.children.forEach(C=>_[C.value.outlet]=C),_}class go extends cs{constructor(_,C){super(_),this.snapshot=C,dt(this,_)}toString(){return this.snapshot.toString()}}function Or(h,_){const C=function Ms(h,_){const j=new Jr([],{},{},"",{},pe,_,null,{});return new On("",new bn(j,[]))}(0,_),y=new ee.X([new qt("",{})]),M=new ee.X({}),F=new ee.X({}),j=new ee.X({}),we=new ee.X(""),nt=new Lo(y,M,j,we,F,pe,_,C.root);return nt.snapshot=C.root,new go(new bn(nt,[]),C)}class Lo{constructor(_,C,y,M,F,j,we,nt){this.urlSubject=_,this.paramsSubject=C,this.queryParamsSubject=y,this.fragmentSubject=M,this.dataSubject=F,this.outlet=j,this.component=we,this._futureSnapshot=nt,this.title=this.dataSubject?.pipe((0,De.U)(Fe=>Fe[Xe]))??(0,$.of)(void 0),this.url=_,this.params=C,this.queryParams=y,this.fragment=M,this.data=F}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe((0,De.U)(_=>Dt(_)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,De.U)(_=>Dt(_)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Ko(h,_="emptyOnly"){const C=h.pathFromRoot;let y=0;if("always"!==_)for(y=C.length-1;y>=1;){const M=C[y],F=C[y-1];if(M.routeConfig&&""===M.routeConfig.path)y--;else{if(F.component)break;y--}}return function Si(h){return h.reduce((_,C)=>({params:{..._.params,...C.params},data:{..._.data,...C.data},resolve:{...C.data,..._.resolve,...C.routeConfig?.data,...C._resolvedData}}),{params:{},data:{},resolve:{}})}(C.slice(y))}class Jr{get title(){return this.data?.[Xe]}constructor(_,C,y,M,F,j,we,nt,Fe){this.url=_,this.params=C,this.queryParams=y,this.fragment=M,this.data=F,this.outlet=j,this.component=we,this.routeConfig=nt,this._resolve=Fe}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=Dt(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Dt(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(y=>y.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class On extends cs{constructor(_,C){super(C),this.url=_,dt(this,C)}toString(){return Pt(this._root)}}function dt(h,_){_.value._routerState=h,_.children.forEach(C=>dt(h,C))}function Pt(h){const _=h.children.length>0?` { ${h.children.map(Pt).join(", ")} } `:"";return`${h.value}${_}`}function Pn(h){if(h.snapshot){const _=h.snapshot,C=h._futureSnapshot;h.snapshot=C,sn(_.queryParams,C.queryParams)||h.queryParamsSubject.next(C.queryParams),_.fragment!==C.fragment&&h.fragmentSubject.next(C.fragment),sn(_.params,C.params)||h.paramsSubject.next(C.params),function Yt(h,_){if(h.length!==_.length)return!1;for(let C=0;C<h.length;++C)if(!sn(h[C],_[C]))return!1;return!0}(_.url,C.url)||h.urlSubject.next(C.url),sn(_.data,C.data)||h.dataSubject.next(C.data)}else h.snapshot=h._futureSnapshot,h.dataSubject.next(h._futureSnapshot.data)}function Cr(h,_){const C=sn(h.params,_.params)&&function kn(h,_){return Ur(h,_)&&h.every((C,y)=>sn(C.parameters,_[y].parameters))}(h.url,_.url);return C&&!(!h.parent!=!_.parent)&&(!h.parent||Cr(h.parent,_.parent))}let Io=(()=>{var h;class _{constructor(){this.activated=null,this._activatedRoute=null,this.name=pe,this.activateEvents=new a.vpe,this.deactivateEvents=new a.vpe,this.attachEvents=new a.vpe,this.detachEvents=new a.vpe,this.parentContexts=(0,a.f3M)(Fo),this.location=(0,a.f3M)(a.s_b),this.changeDetector=(0,a.f3M)(a.sBO),this.environmentInjector=(0,a.f3M)(a.lqb),this.inputBinder=(0,a.f3M)(mo,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(y){if(y.name){const{firstChange:M,previousValue:F}=y.name;if(M)return;this.isTrackedInParentContexts(F)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(F)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(y){return this.parentContexts.getContext(y)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const y=this.parentContexts.getContext(this.name);y?.route&&(y.attachRef?this.attach(y.attachRef,y.route):this.activateWith(y.route,y.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new a.vHH(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new a.vHH(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new a.vHH(4012,!1);this.location.detach();const y=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(y.instance),y}attach(y,M){this.activated=y,this._activatedRoute=M,this.location.insert(y.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(y.instance)}deactivate(){if(this.activated){const y=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(y)}}activateWith(y,M){if(this.isActivated)throw new a.vHH(4013,!1);this._activatedRoute=y;const F=this.location,we=y.snapshot.component,nt=this.parentContexts.getOrCreateContext(this.name).children,Fe=new qn(y,nt,F.injector);this.activated=F.createComponent(we,{index:F.length,injector:Fe,environmentInjector:M??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}}return(h=_).\u0275fac=function(y){return new(y||h)},h.\u0275dir=a.lG2({type:h,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[a.TTD]}),_})();class qn{constructor(_,C,y){this.route=_,this.childContexts=C,this.parent=y}get(_,C){return _===Lo?this.route:_===Fo?this.childContexts:this.parent.get(_,C)}}const mo=new a.OlP("");let Wn=(()=>{var h;class _{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(y){this.unsubscribeFromRouteData(y),this.subscribeToRouteData(y)}unsubscribeFromRouteData(y){this.outletDataSubscriptions.get(y)?.unsubscribe(),this.outletDataSubscriptions.delete(y)}subscribeToRouteData(y){const{activatedRoute:M}=y,F=(0,ae.a)([M.queryParams,M.params,M.data]).pipe((0,me.w)(([j,we,nt],Fe)=>(nt={...j,...we,...nt},0===Fe?(0,$.of)(nt):Promise.resolve(nt)))).subscribe(j=>{if(!y.isActivated||!y.activatedComponentRef||y.activatedRoute!==M||null===M.component)return void this.unsubscribeFromRouteData(y);const we=(0,a.qFp)(M.component);if(we)for(const{templateName:nt}of we.inputs)y.activatedComponentRef.setInput(nt,j[nt]);else this.unsubscribeFromRouteData(y)});this.outletDataSubscriptions.set(y,F)}}return(h=_).\u0275fac=function(y){return new(y||h)},h.\u0275prov=a.Yz7({token:h,factory:h.\u0275fac}),_})();function ao(h,_,C){if(C&&h.shouldReuseRoute(_.value,C.value.snapshot)){const y=C.value;y._futureSnapshot=_.value;const M=function Rt(h,_,C){return _.children.map(y=>{for(const M of C.children)if(h.shouldReuseRoute(y.value,M.value.snapshot))return ao(h,y,M);return ao(h,y)})}(h,_,C);return new bn(y,M)}{if(h.shouldAttach(_.value)){const F=h.retrieve(_.value);if(null!==F){const j=F.route;return j.value._futureSnapshot=_.value,j.children=_.children.map(we=>ao(h,we)),j}}const y=function Kr(h){return new Lo(new ee.X(h.url),new ee.X(h.params),new ee.X(h.queryParams),new ee.X(h.fragment),new ee.X(h.data),h.outlet,h.component,h)}(_.value),M=_.children.map(F=>ao(h,F));return new bn(y,M)}}const Ts="ngNavigationCancelingError";function Bo(h,_){const{redirectTo:C,navigationBehaviorOptions:y}=Qt(_)?{redirectTo:_,navigationBehaviorOptions:void 0}:_,M=Zn(!1,0,_);return M.url=C,M.navigationBehaviorOptions=y,M}function Zn(h,_,C){const y=new Error("NavigationCancelingError: "+(h||""));return y[Ts]=!0,y.cancellationCode=_,C&&(y.url=C),y}function Yo(h){return h&&h[Ts]}let Hr=(()=>{var h;class _{}return(h=_).\u0275fac=function(y){return new(y||h)},h.\u0275cmp=a.Xpm({type:h,selectors:[["ng-component"]],standalone:!0,features:[a.jDz],decls:1,vars:0,template:function(y,M){1&y&&a._UZ(0,"router-outlet")},dependencies:[Io],encapsulation:2}),_})();function Jo(h){const _=h.children&&h.children.map(Jo),C=_?{...h,children:_}:{...h};return!C.component&&!C.loadComponent&&(_||C.loadChildren)&&C.outlet&&C.outlet!==pe&&(C.component=Hr),C}function Rn(h){return h.outlet||pe}function Xr(h){if(!h)return null;if(h.routeConfig?._injector)return h.routeConfig._injector;for(let _=h.parent;_;_=_.parent){const C=_.routeConfig;if(C?._loadedInjector)return C._loadedInjector;if(C?._injector)return C._injector}return null}class Fa{constructor(_,C,y,M,F){this.routeReuseStrategy=_,this.futureState=C,this.currState=y,this.forwardEvent=M,this.inputBindingEnabled=F}activate(_){const C=this.futureState._root,y=this.currState?this.currState._root:null;this.deactivateChildRoutes(C,y,_),Pn(this.futureState.root),this.activateChildRoutes(C,y,_)}deactivateChildRoutes(_,C,y){const M=Un(C);_.children.forEach(F=>{const j=F.value.outlet;this.deactivateRoutes(F,M[j],y),delete M[j]}),Object.values(M).forEach(F=>{this.deactivateRouteAndItsChildren(F,y)})}deactivateRoutes(_,C,y){const M=_.value,F=C?C.value:null;if(M===F)if(M.component){const j=y.getContext(M.outlet);j&&this.deactivateChildRoutes(_,C,j.children)}else this.deactivateChildRoutes(_,C,y);else F&&this.deactivateRouteAndItsChildren(C,y)}deactivateRouteAndItsChildren(_,C){_.value.component&&this.routeReuseStrategy.shouldDetach(_.value.snapshot)?this.detachAndStoreRouteSubtree(_,C):this.deactivateRouteAndOutlet(_,C)}detachAndStoreRouteSubtree(_,C){const y=C.getContext(_.value.outlet),M=y&&_.value.component?y.children:C,F=Un(_);for(const j of Object.keys(F))this.deactivateRouteAndItsChildren(F[j],M);if(y&&y.outlet){const j=y.outlet.detach(),we=y.children.onOutletDeactivated();this.routeReuseStrategy.store(_.value.snapshot,{componentRef:j,route:_,contexts:we})}}deactivateRouteAndOutlet(_,C){const y=C.getContext(_.value.outlet),M=y&&_.value.component?y.children:C,F=Un(_);for(const j of Object.keys(F))this.deactivateRouteAndItsChildren(F[j],M);y&&(y.outlet&&(y.outlet.deactivate(),y.children.onOutletDeactivated()),y.attachRef=null,y.route=null)}activateChildRoutes(_,C,y){const M=Un(C);_.children.forEach(F=>{this.activateRoutes(F,M[F.value.outlet],y),this.forwardEvent(new $s(F.value.snapshot))}),_.children.length&&this.forwardEvent(new Hs(_.value.snapshot))}activateRoutes(_,C,y){const M=_.value,F=C?C.value:null;if(Pn(M),M===F)if(M.component){const j=y.getOrCreateContext(M.outlet);this.activateChildRoutes(_,C,j.children)}else this.activateChildRoutes(_,C,y);else if(M.component){const j=y.getOrCreateContext(M.outlet);if(this.routeReuseStrategy.shouldAttach(M.snapshot)){const we=this.routeReuseStrategy.retrieve(M.snapshot);this.routeReuseStrategy.store(M.snapshot,null),j.children.onOutletReAttached(we.contexts),j.attachRef=we.componentRef,j.route=we.route.value,j.outlet&&j.outlet.attach(we.componentRef,we.route.value),Pn(we.route.value),this.activateChildRoutes(_,null,j.children)}else{const we=Xr(M.snapshot);j.attachRef=null,j.route=M,j.injector=we,j.outlet&&j.outlet.activateWith(M,j.injector),this.activateChildRoutes(_,null,j.children)}}else this.activateChildRoutes(_,null,y)}}class Pr{constructor(_){this.path=_,this.route=this.path[this.path.length-1]}}class tr{constructor(_,C){this.component=_,this.route=C}}function Ws(h,_,C){const y=h._root;return Nr(y,_?_._root:null,C,[y.value])}function Rr(h,_){const C=Symbol(),y=_.get(h,C);return y===C?"function"!=typeof h||(0,a.Z0I)(h)?_.get(h):h:y}function Nr(h,_,C,y,M={canDeactivateChecks:[],canActivateChecks:[]}){const F=Un(_);return h.children.forEach(j=>{(function As(h,_,C,y,M={canDeactivateChecks:[],canActivateChecks:[]}){const F=h.value,j=_?_.value:null,we=C?C.getContext(h.value.outlet):null;if(j&&F.routeConfig===j.routeConfig){const nt=function ai(h,_,C){if("function"==typeof C)return C(h,_);switch(C){case"pathParamsChange":return!Ur(h.url,_.url);case"pathParamsOrQueryParamsChange":return!Ur(h.url,_.url)||!sn(h.queryParams,_.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Cr(h,_)||!sn(h.queryParams,_.queryParams);default:return!Cr(h,_)}}(j,F,F.routeConfig.runGuardsAndResolvers);nt?M.canActivateChecks.push(new Pr(y)):(F.data=j.data,F._resolvedData=j._resolvedData),Nr(h,_,F.component?we?we.children:null:C,y,M),nt&&we&&we.outlet&&we.outlet.isActivated&&M.canDeactivateChecks.push(new tr(we.outlet.component,j))}else j&&Xo(_,we,M),M.canActivateChecks.push(new Pr(y)),Nr(h,null,F.component?we?we.children:null:C,y,M)})(j,F[j.value.outlet],C,y.concat([j.value]),M),delete F[j.value.outlet]}),Object.entries(F).forEach(([j,we])=>Xo(we,C.getContext(j),M)),M}function Xo(h,_,C){const y=Un(h),M=h.value;Object.entries(y).forEach(([F,j])=>{Xo(j,M.component?_?_.children.getContext(F):null:_,C)}),C.canDeactivateChecks.push(new tr(M.component&&_&&_.outlet&&_.outlet.isActivated?_.outlet.component:null,M))}function li(h){return"function"==typeof h}function Ut(h){return h instanceof de.K||"EmptyError"===h?.name}const xr=Symbol("INITIAL_VALUE");function Yr(){return(0,me.w)(h=>(0,ae.a)(h.map(_=>_.pipe((0,Se.q)(1),(0,We.O)(xr)))).pipe((0,De.U)(_=>{for(const C of _)if(!0!==C){if(C===xr)return xr;if(!1===C||C instanceof jn)return C}return!0}),(0,$e.h)(_=>_!==xr),(0,Se.q)(1)))}function So(h){return(0,fe.z)((0,St.b)(_=>{if(Qt(_))throw Bo(0,_)}),(0,De.U)(_=>!0===_))}class Vr{constructor(_){this.segmentGroup=_||null}}class cr{constructor(_){this.urlTree=_}}function vo(h){return(0,xe._)(new Vr(h))}function jr(h){return(0,xe._)(new cr(h))}class fi{constructor(_,C){this.urlSerializer=_,this.urlTree=C}noMatchError(_){return new a.vHH(4002,!1)}lineralizeSegments(_,C){let y=[],M=C.root;for(;;){if(y=y.concat(M.segments),0===M.numberOfChildren)return(0,$.of)(y);if(M.numberOfChildren>1||!M.children[pe])return(0,xe._)(new a.vHH(4e3,!1));M=M.children[pe]}}applyRedirectCommands(_,C,y){return this.applyRedirectCreateUrlTree(C,this.urlSerializer.parse(C),_,y)}applyRedirectCreateUrlTree(_,C,y,M){const F=this.createSegmentGroup(_,C.root,y,M);return new jn(F,this.createQueryParams(C.queryParams,this.urlTree.queryParams),C.fragment)}createQueryParams(_,C){const y={};return Object.entries(_).forEach(([M,F])=>{if("string"==typeof F&&F.startsWith(":")){const we=F.substring(1);y[M]=C[we]}else y[M]=F}),y}createSegmentGroup(_,C,y,M){const F=this.createSegments(_,C.segments,y,M);let j={};return Object.entries(C.children).forEach(([we,nt])=>{j[we]=this.createSegmentGroup(_,nt,y,M)}),new jt(F,j)}createSegments(_,C,y,M){return C.map(F=>F.path.startsWith(":")?this.findPosParam(_,F,M):this.findOrReturn(F,y))}findPosParam(_,C,y){const M=y[C.path.substring(1)];if(!M)throw new a.vHH(4001,!1);return M}findOrReturn(_,C){let y=0;for(const M of C){if(M.path===_.path)return C.splice(y),M;y++}return _}}const Ri={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function ts(h,_,C,y,M){const F=Ks(h,_,C);return F.matched?(y=function Is(h,_){return h.providers&&!h._injector&&(h._injector=(0,a.MMx)(h.providers,_,`Route: ${h.path}`)),h._injector??_}(_,y),function Pi(h,_,C,y){const M=_.canMatch;if(!M||0===M.length)return(0,$.of)(!0);const F=M.map(j=>{const we=Rr(j,h);return Sn(function O(h){return h&&li(h.canMatch)}(we)?we.canMatch(_,C):h.runInContext(()=>we(_,C)))});return(0,$.of)(F).pipe(Yr(),So())}(y,_,C).pipe((0,De.U)(j=>!0===j?F:{...Ri}))):(0,$.of)(F)}function Ks(h,_,C){if(""===_.path)return"full"===_.pathMatch&&(h.hasChildren()||C.length>0)?{...Ri}:{matched:!0,consumedSegments:[],remainingSegments:C,parameters:{},positionalParamSegments:{}};const M=(_.matcher||Ct)(C,h,_);if(!M)return{...Ri};const F={};Object.entries(M.posParams??{}).forEach(([we,nt])=>{F[we]=nt.path});const j=M.consumed.length>0?{...F,...M.consumed[M.consumed.length-1].parameters}:F;return{matched:!0,consumedSegments:M.consumed,remainingSegments:C.slice(M.consumed.length),parameters:j,positionalParamSegments:M.posParams??{}}}function hi(h,_,C,y){return C.length>0&&function Ni(h,_,C){return C.some(y=>fs(h,_,y)&&Rn(y)!==pe)}(h,C,y)?{segmentGroup:new jt(_,pa(y,new jt(C,h.children))),slicedSegments:[]}:0===C.length&&function zt(h,_,C){return C.some(y=>fs(h,_,y))}(h,C,y)?{segmentGroup:new jt(h.segments,hr(h,0,C,y,h.children)),slicedSegments:C}:{segmentGroup:new jt(h.segments,h.children),slicedSegments:C}}function hr(h,_,C,y,M){const F={};for(const j of y)if(fs(h,C,j)&&!M[Rn(j)]){const we=new jt([],{});F[Rn(j)]=we}return{...M,...F}}function pa(h,_){const C={};C[pe]=_;for(const y of h)if(""===y.path&&Rn(y)!==pe){const M=new jt([],{});C[Rn(y)]=M}return C}function fs(h,_,C){return(!(h.hasChildren()||_.length>0)||"full"!==C.pathMatch)&&""===C.path}class ea{constructor(_,C,y,M,F,j,we){this.injector=_,this.configLoader=C,this.rootComponentType=y,this.config=M,this.urlTree=F,this.paramsInheritanceStrategy=j,this.urlSerializer=we,this.allowRedirects=!0,this.applyRedirects=new fi(this.urlSerializer,this.urlTree)}noMatchError(_){return new a.vHH(4002,!1)}recognize(){const _=hi(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,_,pe).pipe((0,en.K)(C=>{if(C instanceof cr)return this.allowRedirects=!1,this.urlTree=C.urlTree,this.match(C.urlTree);throw C instanceof Vr?this.noMatchError(C):C}),(0,De.U)(C=>{const y=new Jr([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},pe,this.rootComponentType,null,{}),M=new bn(y,C),F=new On("",M),j=function ye(h,_,C=null,y=null){return Ie(re(h),_,C,y)}(y,[],this.urlTree.queryParams,this.urlTree.fragment);return j.queryParams=this.urlTree.queryParams,F.url=this.urlSerializer.serialize(j),this.inheritParamsAndData(F._root),{state:F,tree:j}}))}match(_){return this.processSegmentGroup(this.injector,this.config,_.root,pe).pipe((0,en.K)(y=>{throw y instanceof Vr?this.noMatchError(y):y}))}inheritParamsAndData(_){const C=_.value,y=Ko(C,this.paramsInheritanceStrategy);C.params=Object.freeze(y.params),C.data=Object.freeze(y.data),_.children.forEach(M=>this.inheritParamsAndData(M))}processSegmentGroup(_,C,y,M){return 0===y.segments.length&&y.hasChildren()?this.processChildren(_,C,y):this.processSegment(_,C,y,y.segments,M,!0)}processChildren(_,C,y){const M=[];for(const F of Object.keys(y.children))"primary"===F?M.unshift(F):M.push(F);return(0,z.D)(M).pipe((0,It.b)(F=>{const j=y.children[F],we=function Vo(h,_){const C=h.filter(y=>Rn(y)===_);return C.push(...h.filter(y=>Rn(y)!==_)),C}(C,F);return this.processSegmentGroup(_,we,j,F)}),function on(h,_){return(0,Oe.e)(function pn(h,_,C,y,M){return(F,j)=>{let we=C,nt=_,Fe=0;F.subscribe((0,je.x)(j,wt=>{const Ht=Fe++;nt=we?h(nt,wt,Ht):(we=!0,wt),y&&j.next(nt)},M&&(()=>{we&&j.next(nt),j.complete()})))}}(h,_,arguments.length>=2,!0))}((F,j)=>(F.push(...j),F)),(0,or.d)(null),function Ue(h,_){const C=arguments.length>=2;return y=>y.pipe(h?(0,$e.h)((M,F)=>h(M,F,y)):Ne.y,_r(1),C?(0,or.d)(_):(0,Pe.T)(()=>new de.K))}(),(0,st.z)(F=>{if(null===F)return vo(y);const j=pi(F);return function Ys(h){h.sort((_,C)=>_.value.outlet===pe?-1:C.value.outlet===pe?1:_.value.outlet.localeCompare(C.value.outlet))}(j),(0,$.of)(j)}))}processSegment(_,C,y,M,F,j){return(0,z.D)(C).pipe((0,It.b)(we=>this.processSegmentAgainstRoute(we._injector??_,C,we,y,M,F,j).pipe((0,en.K)(nt=>{if(nt instanceof Vr)return(0,$.of)(null);throw nt}))),(0,ht.P)(we=>!!we),(0,en.K)(we=>{if(Ut(we))return function ns(h,_,C){return 0===_.length&&!h.children[C]}(y,M,F)?(0,$.of)([]):vo(y);throw we}))}processSegmentAgainstRoute(_,C,y,M,F,j,we){return function Os(h,_,C,y){return!!(Rn(h)===y||y!==pe&&fs(_,C,h))&&("**"===h.path||Ks(_,h,C).matched)}(y,M,F,j)?void 0===y.redirectTo?this.matchSegmentAgainstRoute(_,M,y,F,j,we):we&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(_,M,C,y,F,j):vo(M):vo(M)}expandSegmentAgainstRouteUsingRedirect(_,C,y,M,F,j){return"**"===M.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(_,y,M,j):this.expandRegularSegmentAgainstRouteUsingRedirect(_,C,y,M,F,j)}expandWildCardWithParamsAgainstRouteUsingRedirect(_,C,y,M){const F=this.applyRedirects.applyRedirectCommands([],y.redirectTo,{});return y.redirectTo.startsWith("/")?jr(F):this.applyRedirects.lineralizeSegments(y,F).pipe((0,st.z)(j=>{const we=new jt(j,{});return this.processSegment(_,C,we,j,M,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(_,C,y,M,F,j){const{matched:we,consumedSegments:nt,remainingSegments:Fe,positionalParamSegments:wt}=Ks(C,M,F);if(!we)return vo(C);const Ht=this.applyRedirects.applyRedirectCommands(nt,M.redirectTo,wt);return M.redirectTo.startsWith("/")?jr(Ht):this.applyRedirects.lineralizeSegments(M,Ht).pipe((0,st.z)(Tr=>this.processSegment(_,y,C,Tr.concat(Fe),j,!1)))}matchSegmentAgainstRoute(_,C,y,M,F,j){let we;if("**"===y.path){const nt=M.length>0?xn(M).parameters:{},Fe=new Jr(M,nt,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Fi(y),Rn(y),y.component??y._loadedComponent??null,y,Li(y));we=(0,$.of)({snapshot:Fe,consumedSegments:[],remainingSegments:[]}),C.children={}}else we=ts(C,y,M,_).pipe((0,De.U)(({matched:nt,consumedSegments:Fe,remainingSegments:wt,parameters:Ht})=>nt?{snapshot:new Jr(Fe,Ht,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Fi(y),Rn(y),y.component??y._loadedComponent??null,y,Li(y)),consumedSegments:Fe,remainingSegments:wt}:null));return we.pipe((0,me.w)(nt=>null===nt?vo(C):this.getChildConfig(_=y._injector??_,y,M).pipe((0,me.w)(({routes:Fe})=>{const wt=y._loadedInjector??_,{snapshot:Ht,consumedSegments:Tr,remainingSegments:fn}=nt,{segmentGroup:eo,slicedSegments:hs}=hi(C,Tr,fn,Fe);if(0===hs.length&&eo.hasChildren())return this.processChildren(wt,Fe,eo).pipe((0,De.U)(ti=>null===ti?null:[new bn(Ht,ti)]));if(0===Fe.length&&0===hs.length)return(0,$.of)([new bn(Ht,[])]);const Ns=Rn(y)===F;return this.processSegment(wt,Fe,eo,hs,Ns?pe:F,!0).pipe((0,De.U)(ti=>[new bn(Ht,ti)]))}))))}getChildConfig(_,C,y){return C.children?(0,$.of)({routes:C.children,injector:_}):C.loadChildren?void 0!==C._loadedRoutes?(0,$.of)({routes:C._loadedRoutes,injector:C._loadedInjector}):function qr(h,_,C,y){const M=_.canLoad;if(void 0===M||0===M.length)return(0,$.of)(!0);const F=M.map(j=>{const we=Rr(j,h);return Sn(function ci(h){return h&&li(h.canLoad)}(we)?we.canLoad(_,C):h.runInContext(()=>we(_,C)))});return(0,$.of)(F).pipe(Yr(),So())}(_,C,y).pipe((0,st.z)(M=>M?this.configLoader.loadChildren(_,C).pipe((0,St.b)(F=>{C._loadedRoutes=F.routes,C._loadedInjector=F.injector})):function di(h){return(0,xe._)(Zn(!1,3))}())):(0,$.of)({routes:[],injector:_})}}function ki(h){const _=h.value.routeConfig;return _&&""===_.path}function pi(h){const _=[],C=new Set;for(const y of h){if(!ki(y)){_.push(y);continue}const M=_.find(F=>y.value.routeConfig===F.value.routeConfig);void 0!==M?(M.children.push(...y.children),C.add(M)):_.push(y)}for(const y of C){const M=pi(y.children);_.push(new bn(y.value,M))}return _.filter(y=>!C.has(y))}function Fi(h){return h.data||{}}function Li(h){return h.resolve||{}}function yi(h){return"string"==typeof h.title||null===h.title}function g(h){return(0,me.w)(_=>{const C=h(_);return C?(0,z.D)(C).pipe((0,De.U)(()=>_)):(0,$.of)(_)})}const T=new a.OlP("ROUTES");let Y=(()=>{var h;class _{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,a.f3M)(a.Sil)}loadComponent(y){if(this.componentLoaders.get(y))return this.componentLoaders.get(y);if(y._loadedComponent)return(0,$.of)(y._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(y);const M=Sn(y.loadComponent()).pipe((0,De.U)(V),(0,St.b)(j=>{this.onLoadEndListener&&this.onLoadEndListener(y),y._loadedComponent=j}),(0,Ce.x)(()=>{this.componentLoaders.delete(y)})),F=new et(M,()=>new Ve.x).pipe(Le());return this.componentLoaders.set(y,F),F}loadChildren(y,M){if(this.childrenLoaders.get(M))return this.childrenLoaders.get(M);if(M._loadedRoutes)return(0,$.of)({routes:M._loadedRoutes,injector:M._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(M);const j=this.loadModuleFactoryOrRoutes(M.loadChildren).pipe((0,De.U)(nt=>{this.onLoadEndListener&&this.onLoadEndListener(M);let Fe,wt;return Array.isArray(nt)?wt=nt:(Fe=nt.create(y).injector,wt=Fe.get(T,[],a.XFs.Self|a.XFs.Optional).flat()),{routes:wt.map(Jo),injector:Fe}}),(0,Ce.x)(()=>{this.childrenLoaders.delete(M)})),we=new et(j,()=>new Ve.x).pipe(Le());return this.childrenLoaders.set(M,we),we}loadModuleFactoryOrRoutes(y){return Sn(y()).pipe((0,De.U)(V),(0,st.z)(M=>M instanceof a.YKP||Array.isArray(M)?(0,$.of)(M):(0,z.D)(this.compiler.compileModuleAsync(M))))}}return(h=_).\u0275fac=function(y){return new(y||h)},h.\u0275prov=a.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),_})();function V(h){return function b(h){return h&&"object"==typeof h&&"default"in h}(h)?h.default:h}let le=(()=>{var h;class _{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Ve.x,this.transitionAbortSubject=new Ve.x,this.configLoader=(0,a.f3M)(Y),this.environmentInjector=(0,a.f3M)(a.lqb),this.urlSerializer=(0,a.f3M)(ir),this.rootContexts=(0,a.f3M)(Fo),this.inputBindingEnabled=null!==(0,a.f3M)(mo,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,$.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=F=>this.events.next(new ko(F)),this.configLoader.onLoadStartListener=F=>this.events.next(new Es(F))}complete(){this.transitions?.complete()}handleNavigationRequest(y){const M=++this.navigationId;this.transitions?.next({...this.transitions.value,...y,id:M})}setupNavigations(y,M,F){return this.transitions=new ee.X({id:0,currentUrlTree:M,currentRawUrl:M,currentBrowserUrl:M,extractedUrl:y.urlHandlingStrategy.extract(M),urlAfterRedirects:y.urlHandlingStrategy.extract(M),rawUrl:M,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:_n,restoredState:null,currentSnapshot:F.snapshot,targetSnapshot:null,currentRouterState:F,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,$e.h)(j=>0!==j.id),(0,De.U)(j=>({...j,extractedUrl:y.urlHandlingStrategy.extract(j.rawUrl)})),(0,me.w)(j=>{this.currentTransition=j;let we=!1,nt=!1;return(0,$.of)(j).pipe((0,St.b)(Fe=>{this.currentNavigation={id:Fe.id,initialUrl:Fe.rawUrl,extractedUrl:Fe.extractedUrl,trigger:Fe.source,extras:Fe.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,me.w)(Fe=>{const wt=Fe.currentBrowserUrl.toString(),Ht=!y.navigated||Fe.extractedUrl.toString()!==wt||wt!==Fe.currentUrlTree.toString();if(!Ht&&"reload"!==(Fe.extras.onSameUrlNavigation??y.onSameUrlNavigation)){const fn="";return this.events.next(new xo(Fe.id,this.urlSerializer.serialize(Fe.rawUrl),fn,0)),Fe.resolve(null),Te.E}if(y.urlHandlingStrategy.shouldProcessUrl(Fe.rawUrl))return(0,$.of)(Fe).pipe((0,me.w)(fn=>{const eo=this.transitions?.getValue();return this.events.next(new No(fn.id,this.urlSerializer.serialize(fn.extractedUrl),fn.source,fn.restoredState)),eo!==this.transitions?.getValue()?Te.E:Promise.resolve(fn)}),function gi(h,_,C,y,M,F){return(0,st.z)(j=>function xi(h,_,C,y,M,F,j="emptyOnly"){return new ea(h,_,C,y,M,j,F).recognize()}(h,_,C,y,j.extractedUrl,M,F).pipe((0,De.U)(({state:we,tree:nt})=>({...j,targetSnapshot:we,urlAfterRedirects:nt}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,y.config,this.urlSerializer,y.paramsInheritanceStrategy),(0,St.b)(fn=>{j.targetSnapshot=fn.targetSnapshot,j.urlAfterRedirects=fn.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:fn.urlAfterRedirects};const eo=new To(fn.id,this.urlSerializer.serialize(fn.extractedUrl),this.urlSerializer.serialize(fn.urlAfterRedirects),fn.targetSnapshot);this.events.next(eo)}));if(Ht&&y.urlHandlingStrategy.shouldProcessUrl(Fe.currentRawUrl)){const{id:fn,extractedUrl:eo,source:hs,restoredState:Ns,extras:ti}=Fe,oa=new No(fn,this.urlSerializer.serialize(eo),hs,Ns);this.events.next(oa);const Qr=Or(0,this.rootComponentType).snapshot;return this.currentTransition=j={...Fe,targetSnapshot:Qr,urlAfterRedirects:eo,extras:{...ti,skipLocationChange:!1,replaceUrl:!1}},(0,$.of)(j)}{const fn="";return this.events.next(new xo(Fe.id,this.urlSerializer.serialize(Fe.extractedUrl),fn,1)),Fe.resolve(null),Te.E}}),(0,St.b)(Fe=>{const wt=new Us(Fe.id,this.urlSerializer.serialize(Fe.extractedUrl),this.urlSerializer.serialize(Fe.urlAfterRedirects),Fe.targetSnapshot);this.events.next(wt)}),(0,De.U)(Fe=>(this.currentTransition=j={...Fe,guards:Ws(Fe.targetSnapshot,Fe.currentSnapshot,this.rootContexts)},j)),function ds(h,_){return(0,st.z)(C=>{const{targetSnapshot:y,currentSnapshot:M,guards:{canActivateChecks:F,canDeactivateChecks:j}}=C;return 0===j.length&&0===F.length?(0,$.of)({...C,guardsResult:!0}):function yo(h,_,C,y){return(0,z.D)(h).pipe((0,st.z)(M=>function Oi(h,_,C,y,M){const F=_&&_.routeConfig?_.routeConfig.canDeactivate:null;if(!F||0===F.length)return(0,$.of)(!0);const j=F.map(we=>{const nt=Xr(_)??M,Fe=Rr(we,nt);return Sn(function B(h){return h&&li(h.canDeactivate)}(Fe)?Fe.canDeactivate(h,_,C,y):nt.runInContext(()=>Fe(h,_,C,y))).pipe((0,ht.P)())});return(0,$.of)(j).pipe(Yr())}(M.component,M.route,C,_,y)),(0,ht.P)(M=>!0!==M,!0))}(j,y,M,h).pipe((0,st.z)(we=>we&&function Zs(h){return"boolean"==typeof h}(we)?function ll(h,_,C,y){return(0,z.D)(_).pipe((0,It.b)(M=>(0,U.z)(function ha(h,_){return null!==h&&_&&_(new Cs(h)),(0,$.of)(!0)}(M.route.parent,y),function ui(h,_){return null!==h&&_&&_(new Br(h)),(0,$.of)(!0)}(M.route,y),function cl(h,_,C){const y=_[_.length-1],F=_.slice(0,_.length-1).reverse().map(j=>function us(h){const _=h.routeConfig?h.routeConfig.canActivateChild:null;return _&&0!==_.length?{node:h,guards:_}:null}(j)).filter(j=>null!==j).map(j=>(0,J.P)(()=>{const we=j.guards.map(nt=>{const Fe=Xr(j.node)??C,wt=Rr(nt,Fe);return Sn(function w(h){return h&&li(h.canActivateChild)}(wt)?wt.canActivateChild(y,h):Fe.runInContext(()=>wt(y,h))).pipe((0,ht.P)())});return(0,$.of)(we).pipe(Yr())}));return(0,$.of)(F).pipe(Yr())}(h,M.path,C),function La(h,_,C){const y=_.routeConfig?_.routeConfig.canActivate:null;if(!y||0===y.length)return(0,$.of)(!0);const M=y.map(F=>(0,J.P)(()=>{const j=Xr(_)??C,we=Rr(F,j);return Sn(function A(h){return h&&li(h.canActivate)}(we)?we.canActivate(_,h):j.runInContext(()=>we(_,h))).pipe((0,ht.P)())}));return(0,$.of)(M).pipe(Yr())}(h,M.route,C))),(0,ht.P)(M=>!0!==M,!0))}(y,F,h,_):(0,$.of)(we)),(0,De.U)(we=>({...C,guardsResult:we})))})}(this.environmentInjector,Fe=>this.events.next(Fe)),(0,St.b)(Fe=>{if(j.guardsResult=Fe.guardsResult,Qt(Fe.guardsResult))throw Bo(0,Fe.guardsResult);const wt=new Ti(Fe.id,this.urlSerializer.serialize(Fe.extractedUrl),this.urlSerializer.serialize(Fe.urlAfterRedirects),Fe.targetSnapshot,!!Fe.guardsResult);this.events.next(wt)}),(0,$e.h)(Fe=>!!Fe.guardsResult||(this.cancelNavigationTransition(Fe,"",3),!1)),g(Fe=>{if(Fe.guards.canActivateChecks.length)return(0,$.of)(Fe).pipe((0,St.b)(wt=>{const Ht=new fa(wt.id,this.urlSerializer.serialize(wt.extractedUrl),this.urlSerializer.serialize(wt.urlAfterRedirects),wt.targetSnapshot);this.events.next(Ht)}),(0,me.w)(wt=>{let Ht=!1;return(0,$.of)(wt).pipe(function dl(h,_){return(0,st.z)(C=>{const{targetSnapshot:y,guards:{canActivateChecks:M}}=C;if(!M.length)return(0,$.of)(C);let F=0;return(0,z.D)(M).pipe((0,It.b)(j=>function mi(h,_,C,y){const M=h.routeConfig,F=h._resolve;return void 0!==M?.title&&!yi(M)&&(F[Xe]=M.title),function ga(h,_,C,y){const M=function ma(h){return[...Object.keys(h),...Object.getOwnPropertySymbols(h)]}(h);if(0===M.length)return(0,$.of)({});const F={};return(0,z.D)(M).pipe((0,st.z)(j=>function _i(h,_,C,y){const M=Xr(_)??y,F=Rr(h,M);return Sn(F.resolve?F.resolve(_,C):M.runInContext(()=>F(_,C)))}(h[j],_,C,y).pipe((0,ht.P)(),(0,St.b)(we=>{F[j]=we}))),_r(1),(0,Ge.h)(F),(0,en.K)(j=>Ut(j)?Te.E:(0,xe._)(j)))}(F,h,_,y).pipe((0,De.U)(j=>(h._resolvedData=j,h.data=Ko(h,C).resolve,M&&yi(M)&&(h.data[Xe]=M.title),null)))}(j.route,y,h,_)),(0,St.b)(()=>F++),_r(1),(0,st.z)(j=>F===M.length?(0,$.of)(C):Te.E))})}(y.paramsInheritanceStrategy,this.environmentInjector),(0,St.b)({next:()=>Ht=!0,complete:()=>{Ht||this.cancelNavigationTransition(wt,"",2)}}))}),(0,St.b)(wt=>{const Ht=new Ii(wt.id,this.urlSerializer.serialize(wt.extractedUrl),this.urlSerializer.serialize(wt.urlAfterRedirects),wt.targetSnapshot);this.events.next(Ht)}))}),g(Fe=>{const wt=Ht=>{const Tr=[];Ht.routeConfig?.loadComponent&&!Ht.routeConfig._loadedComponent&&Tr.push(this.configLoader.loadComponent(Ht.routeConfig).pipe((0,St.b)(fn=>{Ht.component=fn}),(0,De.U)(()=>{})));for(const fn of Ht.children)Tr.push(...wt(fn));return Tr};return(0,ae.a)(wt(Fe.targetSnapshot.root)).pipe((0,or.d)(),(0,Se.q)(1))}),g(()=>this.afterPreactivation()),(0,De.U)(Fe=>{const wt=function _o(h,_,C){const y=ao(h,_._root,C?C._root:void 0);return new go(y,_)}(y.routeReuseStrategy,Fe.targetSnapshot,Fe.currentRouterState);return this.currentTransition=j={...Fe,targetRouterState:wt},j}),(0,St.b)(()=>{this.events.next(new Zo)}),((h,_,C,y)=>(0,De.U)(M=>(new Fa(_,M.targetRouterState,M.currentRouterState,C,y).activate(h),M)))(this.rootContexts,y.routeReuseStrategy,Fe=>this.events.next(Fe),this.inputBindingEnabled),(0,Se.q)(1),(0,St.b)({next:Fe=>{we=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new fr(Fe.id,this.urlSerializer.serialize(Fe.extractedUrl),this.urlSerializer.serialize(Fe.urlAfterRedirects))),y.titleStrategy?.updateTitle(Fe.targetRouterState.snapshot),Fe.resolve(!0)},complete:()=>{we=!0}}),(0,Ee.R)(this.transitionAbortSubject.pipe((0,St.b)(Fe=>{throw Fe}))),(0,Ce.x)(()=>{we||nt||this.cancelNavigationTransition(j,"",1),this.currentNavigation?.id===j.id&&(this.currentNavigation=null)}),(0,en.K)(Fe=>{if(nt=!0,Yo(Fe))this.events.next(new Mo(j.id,this.urlSerializer.serialize(j.extractedUrl),Fe.message,Fe.cancellationCode)),function lo(h){return Yo(h)&&Qt(h.url)}(Fe)?this.events.next(new bs(Fe.url)):j.resolve(!1);else{this.events.next(new Er(j.id,this.urlSerializer.serialize(j.extractedUrl),Fe,j.targetSnapshot??void 0));try{j.resolve(y.errorHandler(Fe))}catch(wt){j.reject(wt)}}return Te.E}))}))}cancelNavigationTransition(y,M,F){const j=new Mo(y.id,this.urlSerializer.serialize(y.extractedUrl),M,F);this.events.next(j),y.resolve(!1)}}return(h=_).\u0275fac=function(y){return new(y||h)},h.\u0275prov=a.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),_})();function ze(h){return h!==_n}let it=(()=>{var h;class _{buildTitle(y){let M,F=y.root;for(;void 0!==F;)M=this.getResolvedTitleForRoute(F)??M,F=F.children.find(j=>j.outlet===pe);return M}getResolvedTitleForRoute(y){return y.data[Xe]}}return(h=_).\u0275fac=function(y){return new(y||h)},h.\u0275prov=a.Yz7({token:h,factory:function(){return(0,a.f3M)(Jt)},providedIn:"root"}),_})(),Jt=(()=>{var h;class _ extends it{constructor(y){super(),this.title=y}updateTitle(y){const M=this.buildTitle(y);void 0!==M&&this.title.setTitle(M)}}return(h=_).\u0275fac=function(y){return new(y||h)(a.LFG(_e.Dx))},h.\u0275prov=a.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),_})(),vn=(()=>{var h;class _{}return(h=_).\u0275fac=function(y){return new(y||h)},h.\u0275prov=a.Yz7({token:h,factory:function(){return(0,a.f3M)(Gt)},providedIn:"root"}),_})();class gn{shouldDetach(_){return!1}store(_,C){}shouldAttach(_){return!1}retrieve(_){return null}shouldReuseRoute(_,C){return _.routeConfig===C.routeConfig}}let Gt=(()=>{var h;class _ extends gn{}return(h=_).\u0275fac=function(){let C;return function(M){return(C||(C=a.n5z(h)))(M||h)}}(),h.\u0275prov=a.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),_})();const Hn=new a.OlP("",{providedIn:"root",factory:()=>({})});let Tn=(()=>{var h;class _{}return(h=_).\u0275fac=function(y){return new(y||h)},h.\u0275prov=a.Yz7({token:h,factory:function(){return(0,a.f3M)(pr)},providedIn:"root"}),_})(),pr=(()=>{var h;class _{shouldProcessUrl(y){return!0}extract(y){return y}merge(y,M){return y}}return(h=_).\u0275fac=function(y){return new(y||h)},h.\u0275prov=a.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),_})();var zr=function(h){return h[h.COMPLETE=0]="COMPLETE",h[h.FAILED=1]="FAILED",h[h.REDIRECTING=2]="REDIRECTING",h}(zr||{});function Do(h,_){h.events.pipe((0,$e.h)(C=>C instanceof fr||C instanceof Mo||C instanceof Er||C instanceof xo),(0,De.U)(C=>C instanceof fr||C instanceof xo?zr.COMPLETE:C instanceof Mo&&(0===C.code||1===C.code)?zr.REDIRECTING:zr.FAILED),(0,$e.h)(C=>C!==zr.REDIRECTING),(0,Se.q)(1)).subscribe(()=>{_()})}function Uo(h){throw h}function Eo(h,_,C){return _.parse("/")}const wr={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Gr={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let ur=(()=>{var h;class _{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,a.f3M)(a.c2e),this.isNgZoneEnabled=!1,this._events=new Ve.x,this.options=(0,a.f3M)(Hn,{optional:!0})||{},this.pendingTasks=(0,a.f3M)(a.HDt),this.errorHandler=this.options.errorHandler||Uo,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||Eo,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=(0,a.f3M)(Tn),this.routeReuseStrategy=(0,a.f3M)(vn),this.titleStrategy=(0,a.f3M)(it),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,a.f3M)(T,{optional:!0})?.flat()??[],this.navigationTransitions=(0,a.f3M)(le),this.urlSerializer=(0,a.f3M)(ir),this.location=(0,a.f3M)(Z.Ye),this.componentInputBindingEnabled=!!(0,a.f3M)(mo,{optional:!0}),this.eventsSubscription=new Ye.w0,this.isNgZoneEnabled=(0,a.f3M)(a.R0b)instanceof a.R0b&&a.R0b.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new jn,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=Or(0,null),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe(y=>{this.lastSuccessfulId=y.id,this.currentPageId=this.browserPageId},y=>{this.console.warn(`Unhandled Navigation Error: ${y}`)}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const y=this.navigationTransitions.events.subscribe(M=>{try{const{currentTransition:F}=this.navigationTransitions;if(null===F)return void(qs(M)&&this._events.next(M));if(M instanceof No)ze(F.source)&&(this.browserUrlTree=F.extractedUrl);else if(M instanceof xo)this.rawUrlTree=F.rawUrl;else if(M instanceof To){if("eager"===this.urlUpdateStrategy){if(!F.extras.skipLocationChange){const j=this.urlHandlingStrategy.merge(F.urlAfterRedirects,F.rawUrl);this.setBrowserUrl(j,F)}this.browserUrlTree=F.urlAfterRedirects}}else if(M instanceof Zo)this.currentUrlTree=F.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(F.urlAfterRedirects,F.rawUrl),this.routerState=F.targetRouterState,"deferred"===this.urlUpdateStrategy&&(F.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,F),this.browserUrlTree=F.urlAfterRedirects);else if(M instanceof Mo)0!==M.code&&1!==M.code&&(this.navigated=!0),(3===M.code||2===M.code)&&this.restoreHistory(F);else if(M instanceof bs){const j=this.urlHandlingStrategy.merge(M.url,F.currentRawUrl),we={skipLocationChange:F.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||ze(F.source)};this.scheduleNavigation(j,_n,null,we,{resolve:F.resolve,reject:F.reject,promise:F.promise})}M instanceof Er&&this.restoreHistory(F,!0),M instanceof fr&&(this.navigated=!0),qs(M)&&this._events.next(M)}catch(F){this.navigationTransitions.transitionAbortSubject.next(F)}});this.eventsSubscription.add(y)}resetRootComponentType(y){this.routerState.root.component=y,this.navigationTransitions.rootComponentType=y}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const y=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),_n,y)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(y=>{const M="popstate"===y.type?"popstate":"hashchange";"popstate"===M&&setTimeout(()=>{this.navigateToSyncWithBrowser(y.url,M,y.state)},0)}))}navigateToSyncWithBrowser(y,M,F){const j={replaceUrl:!0},we=F?.navigationId?F:null;if(F){const Fe={...F};delete Fe.navigationId,delete Fe.\u0275routerPageId,0!==Object.keys(Fe).length&&(j.state=Fe)}const nt=this.parseUrl(y);this.scheduleNavigation(nt,M,we,j)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(y){this.config=y.map(Jo),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(y,M={}){const{relativeTo:F,queryParams:j,fragment:we,queryParamsHandling:nt,preserveFragment:Fe}=M,wt=Fe?this.currentUrlTree.fragment:we;let Tr,Ht=null;switch(nt){case"merge":Ht={...this.currentUrlTree.queryParams,...j};break;case"preserve":Ht=this.currentUrlTree.queryParams;break;default:Ht=j||null}null!==Ht&&(Ht=this.removeEmptyProps(Ht));try{Tr=re(F?F.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof y[0]||!y[0].startsWith("/"))&&(y=[]),Tr=this.currentUrlTree.root}return Ie(Tr,y,Ht,wt??null)}navigateByUrl(y,M={skipLocationChange:!1}){const F=Qt(y)?y:this.parseUrl(y),j=this.urlHandlingStrategy.merge(F,this.rawUrlTree);return this.scheduleNavigation(j,_n,null,M)}navigate(y,M={skipLocationChange:!1}){return function In(h){for(let _=0;_<h.length;_++)if(null==h[_])throw new a.vHH(4008,!1)}(y),this.navigateByUrl(this.createUrlTree(y,M),M)}serializeUrl(y){return this.urlSerializer.serialize(y)}parseUrl(y){let M;try{M=this.urlSerializer.parse(y)}catch(F){M=this.malformedUriErrorHandler(F,this.urlSerializer,y)}return M}isActive(y,M){let F;if(F=!0===M?{...wr}:!1===M?{...Gr}:M,Qt(y))return Vn(this.currentUrlTree,y,F);const j=this.parseUrl(y);return Vn(this.currentUrlTree,j,F)}removeEmptyProps(y){return Object.keys(y).reduce((M,F)=>{const j=y[F];return null!=j&&(M[F]=j),M},{})}scheduleNavigation(y,M,F,j,we){if(this.disposed)return Promise.resolve(!1);let nt,Fe,wt;we?(nt=we.resolve,Fe=we.reject,wt=we.promise):wt=new Promise((Tr,fn)=>{nt=Tr,Fe=fn});const Ht=this.pendingTasks.add();return Do(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(Ht))}),this.navigationTransitions.handleNavigationRequest({source:M,restoredState:F,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,currentBrowserUrl:this.browserUrlTree,rawUrl:y,extras:j,resolve:nt,reject:Fe,promise:wt,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),wt.catch(Tr=>Promise.reject(Tr))}setBrowserUrl(y,M){const F=this.urlSerializer.serialize(y);if(this.location.isCurrentPathEqualTo(F)||M.extras.replaceUrl){const we={...M.extras.state,...this.generateNgRouterState(M.id,this.browserPageId)};this.location.replaceState(F,"",we)}else{const j={...M.extras.state,...this.generateNgRouterState(M.id,this.browserPageId+1)};this.location.go(F,"",j)}}restoreHistory(y,M=!1){if("computed"===this.canceledNavigationResolution){const j=this.currentPageId-this.browserPageId;0!==j?this.location.historyGo(j):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===j&&(this.resetState(y),this.browserUrlTree=y.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(M&&this.resetState(y),this.resetUrlToCurrentUrlTree())}resetState(y){this.routerState=y.currentRouterState,this.currentUrlTree=y.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,y.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(y,M){return"computed"===this.canceledNavigationResolution?{navigationId:y,\u0275routerPageId:M}:{navigationId:y}}}return(h=_).\u0275fac=function(y){return new(y||h)},h.\u0275prov=a.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),_})();function qs(h){return!(h instanceof Zo||h instanceof bs)}let rs=(()=>{var h;class _{constructor(y,M,F,j,we,nt){this.router=y,this.route=M,this.tabIndexAttribute=F,this.renderer=j,this.el=we,this.locationStrategy=nt,this.href=null,this.commands=null,this.onChanges=new Ve.x,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const Fe=we.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===Fe||"area"===Fe,this.isAnchorElement?this.subscription=y.events.subscribe(wt=>{wt instanceof fr&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(y){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",y)}ngOnChanges(y){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(y){null!=y?(this.commands=Array.isArray(y)?y:[y],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(y,M,F,j,we){return!!(null===this.urlTree||this.isAnchorElement&&(0!==y||M||F||j||we||"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 y=null===this.href?null:(0,a.P3R)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",y)}applyAttributeValue(y,M){const F=this.renderer,j=this.el.nativeElement;null!==M?F.setAttribute(j,y,M):F.removeAttribute(j,y)}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(h=_).\u0275fac=function(y){return new(y||h)(a.Y36(ur),a.Y36(Lo),a.$8M("tabindex"),a.Y36(a.Qsj),a.Y36(a.SBq),a.Y36(Z.S$))},h.\u0275dir=a.lG2({type:h,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(y,M){1&y&&a.NdJ("click",function(j){return M.onClick(j.button,j.ctrlKey,j.shiftKey,j.altKey,j.metaKey)}),2&y&&a.uIk("target",M.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",a.VuI],skipLocationChange:["skipLocationChange","skipLocationChange",a.VuI],replaceUrl:["replaceUrl","replaceUrl",a.VuI],routerLink:"routerLink"},standalone:!0,features:[a.Xq5,a.TTD]}),_})(),Bn=(()=>{var h;class _{get isActive(){return this._isActive}constructor(y,M,F,j,we){this.router=y,this.element=M,this.renderer=F,this.cdr=j,this.link=we,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new a.vpe,this.routerEventsSubscription=y.events.subscribe(nt=>{nt instanceof fr&&this.update()})}ngAfterContentInit(){(0,$.of)(this.links.changes,(0,$.of)(null)).pipe((0,Ae.J)()).subscribe(y=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const y=[...this.links.toArray(),this.link].filter(M=>!!M).map(M=>M.onChanges);this.linkInputChangesSubscription=(0,z.D)(y).pipe((0,Ae.J)()).subscribe(M=>{this._isActive!==this.isLinkActive(this.router)(M)&&this.update()})}set routerLinkActive(y){const M=Array.isArray(y)?y:y.split(" ");this.classes=M.filter(F=>!!F)}ngOnChanges(y){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const y=this.hasActiveLinks();this._isActive!==y&&(this._isActive=y,this.cdr.markForCheck(),this.classes.forEach(M=>{y?this.renderer.addClass(this.element.nativeElement,M):this.renderer.removeClass(this.element.nativeElement,M)}),y&&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(y))})}isLinkActive(y){const M=function Ba(h){return!!h.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return F=>!!F.urlTree&&y.isActive(F.urlTree,M)}hasActiveLinks(){const y=this.isLinkActive(this.router);return this.link&&y(this.link)||this.links.some(y)}}return(h=_).\u0275fac=function(y){return new(y||h)(a.Y36(ur),a.Y36(a.SBq),a.Y36(a.Qsj),a.Y36(a.sBO),a.Y36(rs,8))},h.\u0275dir=a.lG2({type:h,selectors:[["","routerLinkActive",""]],contentQueries:function(y,M,F){if(1&y&&a.Suo(F,rs,5),2&y){let j;a.iGM(j=a.CRH())&&(M.links=j)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[a.TTD]}),_})();class _a{}let Qs=(()=>{var h;class _{constructor(y,M,F,j,we){this.router=y,this.injector=F,this.preloadingStrategy=j,this.loader=we}setUpPreloading(){this.subscription=this.router.events.pipe((0,$e.h)(y=>y instanceof fr),(0,It.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(y,M){const F=[];for(const j of M){j.providers&&!j._injector&&(j._injector=(0,a.MMx)(j.providers,y,`Route: ${j.path}`));const we=j._injector??y,nt=j._loadedInjector??we;(j.loadChildren&&!j._loadedRoutes&&void 0===j.canLoad||j.loadComponent&&!j._loadedComponent)&&F.push(this.preloadConfig(we,j)),(j.children||j._loadedRoutes)&&F.push(this.processRoutes(nt,j.children??j._loadedRoutes))}return(0,z.D)(F).pipe((0,Ae.J)())}preloadConfig(y,M){return this.preloadingStrategy.preload(M,()=>{let F;F=M.loadChildren&&void 0===M.canLoad?this.loader.loadChildren(y,M):(0,$.of)(null);const j=F.pipe((0,st.z)(we=>null===we?(0,$.of)(void 0):(M._loadedRoutes=we.routes,M._loadedInjector=we.injector,this.processRoutes(we.injector??y,we.routes))));if(M.loadComponent&&!M._loadedComponent){const we=this.loader.loadComponent(M);return(0,z.D)([j,we]).pipe((0,Ae.J)())}return j})}}return(h=_).\u0275fac=function(y){return new(y||h)(a.LFG(ur),a.LFG(a.Sil),a.LFG(a.lqb),a.LFG(_a),a.LFG(Y))},h.\u0275prov=a.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),_})();const vi=new a.OlP("");let Va=(()=>{var h;class _{constructor(y,M,F,j,we={}){this.urlSerializer=y,this.transitions=M,this.viewportScroller=F,this.zone=j,this.options=we,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},we.scrollPositionRestoration=we.scrollPositionRestoration||"disabled",we.anchorScrolling=we.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(y=>{y instanceof No?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=y.navigationTrigger,this.restoredId=y.restoredState?y.restoredState.navigationId:0):y instanceof fr?(this.lastId=y.id,this.scheduleScrollEvent(y,this.urlSerializer.parse(y.urlAfterRedirects).fragment)):y instanceof xo&&0===y.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(y,this.urlSerializer.parse(y.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(y=>{y instanceof Ar&&(y.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(y.position):y.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(y.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(y,M){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Ar(y,"popstate"===this.lastSource?this.store[this.restoredId]:null,M))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return(h=_).\u0275fac=function(y){a.$Z()},h.\u0275prov=a.Yz7({token:h,factory:h.\u0275fac}),_})();function Ao(h,_){return{\u0275kind:h,\u0275providers:_}}function Nt(){const h=(0,a.f3M)(a.zs3);return _=>{const C=h.get(a.z2F);if(_!==C.components[0])return;const y=h.get(ur),M=h.get(ta);1===h.get($a)&&y.initialNavigation(),h.get(Mr,null,a.XFs.Optional)?.setUpPreloading(),h.get(vi,null,a.XFs.Optional)?.init(),y.resetRootComponentType(C.componentTypes[0]),M.closed||(M.next(),M.complete(),M.unsubscribe())}}const ta=new a.OlP("",{factory:()=>new Ve.x}),$a=new a.OlP("",{providedIn:"root",factory:()=>1}),Mr=new a.OlP("");function Js(h){return Ao(0,[{provide:Mr,useExisting:Qs},{provide:_a,useExisting:h}])}const qe=new a.OlP("ROUTER_FORROOT_GUARD"),mn=[Z.Ye,{provide:ir,useClass:kt},ur,Fo,{provide:Lo,useFactory:function ja(h){return h.routerState.root},deps:[ur]},Y,[]];function ra(){return new a.PXZ("Router",ur)}let Da=(()=>{var h;class _{constructor(y){}static forRoot(y,M){return{ngModule:_,providers:[mn,[],{provide:T,multi:!0,useValue:y},{provide:qe,useFactory:ho,deps:[[ur,new a.FiY,new a.tp0]]},{provide:Hn,useValue:M||{}},M?.useHash?{provide:Z.S$,useClass:Z.Do}:{provide:Z.S$,useClass:Z.b0},{provide:vi,useFactory:()=>{const h=(0,a.f3M)(Z.EM),_=(0,a.f3M)(a.R0b),C=(0,a.f3M)(Hn),y=(0,a.f3M)(le),M=(0,a.f3M)(ir);return C.scrollOffset&&h.setOffset(C.scrollOffset),new Va(M,y,h,_,C)}},M?.preloadingStrategy?Js(M.preloadingStrategy).\u0275providers:[],{provide:a.PXZ,multi:!0,useFactory:ra},M?.initialNavigation?Ea(M):[],M?.bindToComponentInputs?Ao(8,[Wn,{provide:mo,useExisting:Wn}]).\u0275providers:[],[{provide:Xs,useFactory:Nt},{provide:a.tb,multi:!0,useExisting:Xs}]]}}static forChild(y){return{ngModule:_,providers:[{provide:T,multi:!0,useValue:y}]}}}return(h=_).\u0275fac=function(y){return new(y||h)(a.LFG(qe,8))},h.\u0275mod=a.oAB({type:h}),h.\u0275inj=a.cJS({}),_})();function ho(h){return"guarded"}function Ea(h){return["disabled"===h.initialNavigation?Ao(3,[{provide:a.ip1,multi:!0,useFactory:()=>{const _=(0,a.f3M)(ur);return()=>{_.setUpLocationChangeListener()}}},{provide:$a,useValue:2}]).\u0275providers:[],"enabledBlocking"===h.initialNavigation?Ao(2,[{provide:$a,useValue:0},{provide:a.ip1,multi:!0,deps:[a.zs3],useFactory:_=>{const C=_.get(Z.V_,Promise.resolve());return()=>C.then(()=>new Promise(y=>{const M=_.get(ur),F=_.get(ta);Do(M,()=>{y(!0)}),_.get(le).afterPreactivation=()=>(y(!0),F.closed?(0,$.of)(void 0):F),M.initialNavigation()}))}}]).\u0275providers:[]]}const Xs=new a.OlP("")},3106:(tt,ve,I)=>{I.d(ve,{Z:()=>Ye});var a=I(9058),u=I(4537),G=I(534),ne=I(7879);class z{constructor(je,Le){this._delegate=je,this.firebase=Le,(0,G._addComponent)(je,new u.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,G.deleteApp)(this._delegate)))}_getService(je,Le=G._DEFAULT_ENTRY_NAME){var et;this._delegate.checkDestroyed();const Ve=this._delegate.container.getProvider(je);return!Ve.isInitialized()&&"EXPLICIT"===(null===(et=Ve.getComponent())||void 0===et?void 0:et.instantiationMode)&&Ve.initialize(),Ve.getImmediate({identifier:Le})}_removeServiceInstance(je,Le=G._DEFAULT_ENTRY_NAME){this._delegate.container.getProvider(je).clearInstance(Le)}_addComponent(je){(0,G._addComponent)(this._delegate,je)}_addOrOverwriteComponent(je){(0,G._addOrOverwriteComponent)(this._delegate,je)}toJSON(){return{name:this.name,automaticDataCollectionEnabled:this.automaticDataCollectionEnabled,options:this.options}}}const ee=new a.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."}),U=function de(){const Oe=function ae(Oe){const je={},Le={__esModule:!0,initializeApp:function Z(We,$e={}){const st=G.initializeApp(We,$e);if((0,a.r3)(je,st.name))return je[st.name];const ht=new Oe(st,Le);return je[st.name]=ht,ht},app:Ve,registerVersion:G.registerVersion,setLogLevel:G.setLogLevel,onLog:G.onLog,apps:null,SDK_VERSION:G.SDK_VERSION,INTERNAL:{registerComponent:function me(We){const $e=We.name,st=$e.replace("-compat","");if(G._registerComponent(We)&&"PUBLIC"===We.type){const ht=(It=Ve())=>{if("function"!=typeof It[st])throw ee.create("invalid-app-argument",{appName:$e});return It[st]()};void 0!==We.serviceProps&&(0,a.ZB)(ht,We.serviceProps),Le[st]=ht,Oe.prototype[st]=function(...It){return this._getService.bind(this,$e).apply(this,We.multipleInstances?It:[])}}return"PUBLIC"===We.type?Le[st]:null},removeApp:function et(We){delete je[We]},useAsService:function Se(We,$e){return"serverAuth"===$e?null:$e},modularAPIs:G}};function Ve(We){if(!(0,a.r3)(je,We=We||G._DEFAULT_ENTRY_NAME))throw ee.create("no-app",{appName:We});return je[We]}return Le.default=Le,Object.defineProperty(Le,"apps",{get:function De(){return Object.keys(je).map(We=>je[We])}}),Ve.App=Oe,Le}(z);return Oe.INTERNAL=Object.assign(Object.assign({},Oe.INTERNAL),{createFirebaseNamespace:de,extendNamespace:function je(Le){(0,a.ZB)(Oe,Le)},createSubscribe:a.ne,ErrorFactory:a.LL,deepExtend:a.ZB}),Oe}(),J=new ne.Yd("@firebase/app-compat");if((0,a.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 Oe=self.firebase.SDK_VERSION;Oe&&Oe.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 Ye=U;!function Te(Oe){(0,G.registerVersion)("@firebase/app-compat","0.2.13",Oe)}()},534:(tt,ve,I)=>{I.r(ve),I.d(ve,{FirebaseError:()=>ne.ZR,SDK_VERSION:()=>Yn,_DEFAULT_ENTRY_NAME:()=>ct,_addComponent:()=>jn,_addOrOverwriteComponent:()=>jt,_apps:()=>Tt,_clearComponents:()=>cn,_components:()=>rn,_getProvider:()=>kn,_registerComponent:()=>qt,_removeServiceInstance:()=>Ur,deleteApp:()=>Ln,getApp:()=>Fn,getApps:()=>En,initializeApp:()=>zn,onLog:()=>lr,registerVersion:()=>er,setLogLevel:()=>vr});var a=I(5861),u=I(4537),G=I(7879),ne=I(9058);const z=(K,oe)=>oe.some(ge=>K instanceof ge);let $,ee;const U=new WeakMap,J=new WeakMap,fe=new WeakMap,xe=new WeakMap,Te=new WeakMap;let je={get(K,oe,ge){if(K instanceof IDBTransaction){if("done"===oe)return J.get(K);if("objectStoreNames"===oe)return K.objectStoreNames||fe.get(K);if("store"===oe)return ge.objectStoreNames[1]?void 0:ge.objectStore(ge.objectStoreNames[0])}return Z(K[oe])},set:(K,oe,ge)=>(K[oe]=ge,!0),has:(K,oe)=>K instanceof IDBTransaction&&("done"===oe||"store"===oe)||oe in K};function Ve(K){return"function"==typeof K?function et(K){return K!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?function de(){return ee||(ee=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}().includes(K)?function(...oe){return K.apply(De(this),oe),Z(U.get(this))}:function(...oe){return Z(K.apply(De(this),oe))}:function(oe,...ge){const Ze=K.call(De(this),oe,...ge);return fe.set(Ze,oe.sort?oe.sort():[oe]),Z(Ze)}}(K):(K instanceof IDBTransaction&&function Oe(K){if(J.has(K))return;const oe=new Promise((ge,Ze)=>{const ke=()=>{K.removeEventListener("complete",gt),K.removeEventListener("error",mt),K.removeEventListener("abort",mt)},gt=()=>{ge(),ke()},mt=()=>{Ze(K.error||new DOMException("AbortError","AbortError")),ke()};K.addEventListener("complete",gt),K.addEventListener("error",mt),K.addEventListener("abort",mt)});J.set(K,oe)}(K),z(K,function ae(){return $||($=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}())?new Proxy(K,je):K)}function Z(K){if(K instanceof IDBRequest)return function Ye(K){const oe=new Promise((ge,Ze)=>{const ke=()=>{K.removeEventListener("success",gt),K.removeEventListener("error",mt)},gt=()=>{ge(Z(K.result)),ke()},mt=()=>{Ze(K.error),ke()};K.addEventListener("success",gt),K.addEventListener("error",mt)});return oe.then(ge=>{ge instanceof IDBCursor&&U.set(ge,K)}).catch(()=>{}),Te.set(oe,K),oe}(K);if(xe.has(K))return xe.get(K);const oe=Ve(K);return oe!==K&&(xe.set(K,oe),Te.set(oe,K)),oe}const De=K=>Te.get(K),We=["get","getKey","getAll","getAllKeys","count"],$e=["put","add","delete","clear"],st=new Map;function ht(K,oe){if(!(K instanceof IDBDatabase)||oe in K||"string"!=typeof oe)return;if(st.get(oe))return st.get(oe);const ge=oe.replace(/FromIndex$/,""),Ze=oe!==ge,ke=$e.includes(ge);if(!(ge in(Ze?IDBIndex:IDBObjectStore).prototype)||!ke&&!We.includes(ge))return;const gt=function(){var mt=(0,a.Z)(function*(un,...Cn){const dn=this.transaction(un,ke?"readwrite":"readonly");let Gn=dn.store;return Ze&&(Gn=Gn.index(Cn.shift())),(yield Promise.all([Gn[ge](...Cn),ke&&dn.done]))[0]});return function(Cn){return mt.apply(this,arguments)}}();return st.set(oe,gt),gt}!function Le(K){je=K(je)}(K=>({...K,get:(oe,ge,Ze)=>ht(oe,ge)||K.get(oe,ge,Ze),has:(oe,ge)=>!!ht(oe,ge)||K.has(oe,ge)}));class It{constructor(oe){this.container=oe}getPlatformInfoString(){return this.container.getProviders().map(ge=>{if(function St(K){const oe=K.getComponent();return"VERSION"===oe?.type}(ge)){const Ze=ge.getImmediate();return`${Ze.library}/${Ze.version}`}return null}).filter(ge=>ge).join(" ")}}const en="@firebase/app",on=new G.Yd("@firebase/app"),ct="[DEFAULT]",Vt={[en]:"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"},Tt=new Map,rn=new Map;function jn(K,oe){try{K.container.addComponent(oe)}catch(ge){on.debug(`Component ${oe.name} failed to register with FirebaseApp ${K.name}`,ge)}}function jt(K,oe){K.container.addOrOverwriteComponent(oe)}function qt(K){const oe=K.name;if(rn.has(oe))return on.debug(`There were multiple attempts to register component ${oe}.`),!1;rn.set(oe,K);for(const ge of Tt.values())jn(ge,K);return!0}function kn(K,oe){const ge=K.container.getProvider("heartbeat").getImmediate({optional:!0});return ge&&ge.triggerHeartbeat(),K.container.getProvider(oe)}function Ur(K,oe,ge=ct){kn(K,oe).clearInstance(ge)}function cn(){rn.clear()}const kt=new ne.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 Mn{constructor(oe,ge,Ze){this._isDeleted=!1,this._options=Object.assign({},oe),this._config=Object.assign({},ge),this._name=ge.name,this._automaticDataCollectionEnabled=ge.automaticDataCollectionEnabled,this._container=Ze,this.container.addComponent(new u.wA("app",()=>this,"PUBLIC"))}get automaticDataCollectionEnabled(){return this.checkDestroyed(),this._automaticDataCollectionEnabled}set automaticDataCollectionEnabled(oe){this.checkDestroyed(),this._automaticDataCollectionEnabled=oe}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(oe){this._isDeleted=oe}checkDestroyed(){if(this.isDeleted)throw kt.create("app-deleted",{appName:this._name})}}const Yn="9.23.0";function zn(K,oe={}){let ge=K;"object"!=typeof oe&&(oe={name:oe});const Ze=Object.assign({name:ct,automaticDataCollectionEnabled:!1},oe),ke=Ze.name;if("string"!=typeof ke||!ke)throw kt.create("bad-app-name",{appName:String(ke)});if(ge||(ge=(0,ne.aH)()),!ge)throw kt.create("no-options");const gt=Tt.get(ke);if(gt){if((0,ne.vZ)(ge,gt.options)&&(0,ne.vZ)(Ze,gt.config))return gt;throw kt.create("duplicate-app",{appName:ke})}const mt=new u.H0(ke);for(const Cn of rn.values())mt.addComponent(Cn);const un=new Mn(ge,Ze,mt);return Tt.set(ke,un),un}function Fn(K=ct){const oe=Tt.get(K);if(!oe&&K===ct&&(0,ne.aH)())return zn();if(!oe)throw kt.create("no-app",{appName:K});return oe}function En(){return Array.from(Tt.values())}function Ln(K){return ar.apply(this,arguments)}function ar(){return(ar=(0,a.Z)(function*(K){const oe=K.name;Tt.has(oe)&&(Tt.delete(oe),yield Promise.all(K.container.getProviders().map(ge=>ge.delete())),K.isDeleted=!0)})).apply(this,arguments)}function er(K,oe,ge){var Ze;let ke=null!==(Ze=Vt[K])&&void 0!==Ze?Ze:K;ge&&(ke+=`-${ge}`);const gt=ke.match(/\s|\//),mt=oe.match(/\s|\//);if(gt||mt){const un=[`Unable to register library "${ke}" with version "${oe}":`];return gt&&un.push(`library name "${ke}" contains illegal characters (whitespace or "/")`),gt&&mt&&un.push("and"),mt&&un.push(`version name "${oe}" contains illegal characters (whitespace or "/")`),void on.warn(un.join(" "))}qt(new u.wA(`${ke}-version`,()=>({library:ke,version:oe}),"VERSION"))}function lr(K,oe){if(null!==K&&"function"!=typeof K)throw kt.create("invalid-log-argument");(0,G.Am)(K,oe)}function vr(K){(0,G.Ub)(K)}const Dr="firebase-heartbeat-database",so=1,ie="firebase-heartbeat-store";let k=null;function x(){return k||(k=function me(K,oe,{blocked:ge,upgrade:Ze,blocking:ke,terminated:gt}={}){const mt=indexedDB.open(K,oe),un=Z(mt);return Ze&&mt.addEventListener("upgradeneeded",Cn=>{Ze(Z(mt.result),Cn.oldVersion,Cn.newVersion,Z(mt.transaction),Cn)}),ge&&mt.addEventListener("blocked",Cn=>ge(Cn.oldVersion,Cn.newVersion,Cn)),un.then(Cn=>{gt&&Cn.addEventListener("close",()=>gt()),ke&&Cn.addEventListener("versionchange",dn=>ke(dn.oldVersion,dn.newVersion,dn))}).catch(()=>{}),un}(Dr,so,{upgrade:(K,oe)=>{0===oe&&K.createObjectStore(ie)}}).catch(K=>{throw kt.create("idb-open",{originalErrorMessage:K.message})})),k}function L(){return(L=(0,a.Z)(function*(K){try{return yield(yield x()).transaction(ie).objectStore(ie).get(Qe(K))}catch(oe){if(oe instanceof ne.ZR)on.warn(oe.message);else{const ge=kt.create("idb-get",{originalErrorMessage:oe?.message});on.warn(ge.message)}}})).apply(this,arguments)}function se(K,oe){return Re.apply(this,arguments)}function Re(){return(Re=(0,a.Z)(function*(K,oe){try{const Ze=(yield x()).transaction(ie,"readwrite");yield Ze.objectStore(ie).put(oe,Qe(K)),yield Ze.done}catch(ge){if(ge instanceof ne.ZR)on.warn(ge.message);else{const Ze=kt.create("idb-set",{originalErrorMessage:ge?.message});on.warn(Ze.message)}}})).apply(this,arguments)}function Qe(K){return`${K.name}!${K.options.appId}`}class Lt{constructor(oe){this.container=oe,this._heartbeatsCache=null;const ge=this.container.getProvider("app").getImmediate();this._storage=new ye(ge),this._heartbeatsCachePromise=this._storage.read().then(Ze=>(this._heartbeatsCache=Ze,Ze))}triggerHeartbeat(){var oe=this;return(0,a.Z)(function*(){const Ze=oe.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(),ke=bt();if(null===oe._heartbeatsCache&&(oe._heartbeatsCache=yield oe._heartbeatsCachePromise),oe._heartbeatsCache.lastSentHeartbeatDate!==ke&&!oe._heartbeatsCache.heartbeats.some(gt=>gt.date===ke))return oe._heartbeatsCache.heartbeats.push({date:ke,agent:Ze}),oe._heartbeatsCache.heartbeats=oe._heartbeatsCache.heartbeats.filter(gt=>{const mt=new Date(gt.date).valueOf();return Date.now()-mt<=2592e6}),oe._storage.overwrite(oe._heartbeatsCache)})()}getHeartbeatsHeader(){var oe=this;return(0,a.Z)(function*(){if(null===oe._heartbeatsCache&&(yield oe._heartbeatsCachePromise),null===oe._heartbeatsCache||0===oe._heartbeatsCache.heartbeats.length)return"";const ge=bt(),{heartbeatsToSend:Ze,unsentEntries:ke}=function Qt(K,oe=1024){const ge=[];let Ze=K.slice();for(const ke of K){const gt=ge.find(mt=>mt.agent===ke.agent);if(gt){if(gt.dates.push(ke.date),re(ge)>oe){gt.dates.pop();break}}else if(ge.push({agent:ke.agent,dates:[ke.date]}),re(ge)>oe){ge.pop();break}Ze=Ze.slice(1)}return{heartbeatsToSend:ge,unsentEntries:Ze}}(oe._heartbeatsCache.heartbeats),gt=(0,ne.L)(JSON.stringify({version:2,heartbeats:Ze}));return oe._heartbeatsCache.lastSentHeartbeatDate=ge,ke.length>0?(oe._heartbeatsCache.heartbeats=ke,yield oe._storage.overwrite(oe._heartbeatsCache)):(oe._heartbeatsCache.heartbeats=[],oe._storage.overwrite(oe._heartbeatsCache)),gt})()}}function bt(){return(new Date).toISOString().substring(0,10)}class ye{constructor(oe){this.app=oe,this._canUseIndexedDBPromise=this.runIndexedDBEnvironmentCheck()}runIndexedDBEnvironmentCheck(){return(0,a.Z)(function*(){return!!(0,ne.hl)()&&(0,ne.eu)().then(()=>!0).catch(()=>!1)})()}read(){var oe=this;return(0,a.Z)(function*(){return(yield oe._canUseIndexedDBPromise)&&(yield function te(K){return L.apply(this,arguments)}(oe.app))||{heartbeats:[]}})()}overwrite(oe){var ge=this;return(0,a.Z)(function*(){var Ze;if(yield ge._canUseIndexedDBPromise){const gt=yield ge.read();return se(ge.app,{lastSentHeartbeatDate:null!==(Ze=oe.lastSentHeartbeatDate)&&void 0!==Ze?Ze:gt.lastSentHeartbeatDate,heartbeats:oe.heartbeats})}})()}add(oe){var ge=this;return(0,a.Z)(function*(){var Ze;if(yield ge._canUseIndexedDBPromise){const gt=yield ge.read();return se(ge.app,{lastSentHeartbeatDate:null!==(Ze=oe.lastSentHeartbeatDate)&&void 0!==Ze?Ze:gt.lastSentHeartbeatDate,heartbeats:[...gt.heartbeats,...oe.heartbeats]})}})()}}function re(K){return(0,ne.L)(JSON.stringify({version:2,heartbeats:K})).length}!function Ie(K){qt(new u.wA("platform-logger",oe=>new It(oe),"PRIVATE")),qt(new u.wA("heartbeat",oe=>new Lt(oe),"PRIVATE")),er(en,"0.9.13",K),er(en,"0.9.13","esm2017"),er("fire-js","")}("")},4537:(tt,ve,I)=>{I.d(ve,{H0:()=>ae,wA:()=>G});var a=I(5861),u=I(9058);class G{constructor(U,J,fe){this.name=U,this.instanceFactory=J,this.type=fe,this.multipleInstances=!1,this.serviceProps={},this.instantiationMode="LAZY",this.onInstanceCreated=null}setInstantiationMode(U){return this.instantiationMode=U,this}setMultipleInstances(U){return this.multipleInstances=U,this}setServiceProps(U){return this.serviceProps=U,this}setInstanceCreatedCallback(U){return this.onInstanceCreated=U,this}}const ne="[DEFAULT]";class z{constructor(U,J){this.name=U,this.container=J,this.component=null,this.instances=new Map,this.instancesDeferred=new Map,this.instancesOptions=new Map,this.onInitCallbacks=new Map}get(U){const J=this.normalizeInstanceIdentifier(U);if(!this.instancesDeferred.has(J)){const fe=new u.BH;if(this.instancesDeferred.set(J,fe),this.isInitialized(J)||this.shouldAutoInitialize())try{const xe=this.getOrInitializeService({instanceIdentifier:J});xe&&fe.resolve(xe)}catch{}}return this.instancesDeferred.get(J).promise}getImmediate(U){var J;const fe=this.normalizeInstanceIdentifier(U?.identifier),xe=null!==(J=U?.optional)&&void 0!==J&&J;if(!this.isInitialized(fe)&&!this.shouldAutoInitialize()){if(xe)return null;throw Error(`Service ${this.name} is not available`)}try{return this.getOrInitializeService({instanceIdentifier:fe})}catch(Te){if(xe)return null;throw Te}}getComponent(){return this.component}setComponent(U){if(U.name!==this.name)throw Error(`Mismatching Component ${U.name} for Provider ${this.name}.`);if(this.component)throw Error(`Component for ${this.name} has already been provided`);if(this.component=U,this.shouldAutoInitialize()){if(function ee(de){return"EAGER"===de.instantiationMode}(U))try{this.getOrInitializeService({instanceIdentifier:ne})}catch{}for(const[J,fe]of this.instancesDeferred.entries()){const xe=this.normalizeInstanceIdentifier(J);try{const Te=this.getOrInitializeService({instanceIdentifier:xe});fe.resolve(Te)}catch{}}}}clearInstance(U=ne){this.instancesDeferred.delete(U),this.instancesOptions.delete(U),this.instances.delete(U)}delete(){var U=this;return(0,a.Z)(function*(){const J=Array.from(U.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(U=ne){return this.instances.has(U)}getOptions(U=ne){return this.instancesOptions.get(U)||{}}initialize(U={}){const{options:J={}}=U,fe=this.normalizeInstanceIdentifier(U.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 xe=this.getOrInitializeService({instanceIdentifier:fe,options:J});for(const[Te,Ye]of this.instancesDeferred.entries())fe===this.normalizeInstanceIdentifier(Te)&&Ye.resolve(xe);return xe}onInit(U,J){var fe;const xe=this.normalizeInstanceIdentifier(J),Te=null!==(fe=this.onInitCallbacks.get(xe))&&void 0!==fe?fe:new Set;Te.add(U),this.onInitCallbacks.set(xe,Te);const Ye=this.instances.get(xe);return Ye&&U(Ye,xe),()=>{Te.delete(U)}}invokeOnInitCallbacks(U,J){const fe=this.onInitCallbacks.get(J);if(fe)for(const xe of fe)try{xe(U,J)}catch{}}getOrInitializeService({instanceIdentifier:U,options:J={}}){let fe=this.instances.get(U);if(!fe&&this.component&&(fe=this.component.instanceFactory(this.container,{instanceIdentifier:(de=U,de===ne?void 0:de),options:J}),this.instances.set(U,fe),this.instancesOptions.set(U,J),this.invokeOnInitCallbacks(fe,U),this.component.onInstanceCreated))try{this.component.onInstanceCreated(this.container,U,fe)}catch{}var de;return fe||null}normalizeInstanceIdentifier(U=ne){return this.component?this.component.multipleInstances?U:ne:U}shouldAutoInitialize(){return!!this.component&&"EXPLICIT"!==this.component.instantiationMode}}class ae{constructor(U){this.name=U,this.providers=new Map}addComponent(U){const J=this.getProvider(U.name);if(J.isComponentSet())throw new Error(`Component ${U.name} has already been registered with ${this.name}`);J.setComponent(U)}addOrOverwriteComponent(U){this.getProvider(U.name).isComponentSet()&&this.providers.delete(U.name),this.addComponent(U)}getProvider(U){if(this.providers.has(U))return this.providers.get(U);const J=new z(U,this);return this.providers.set(U,J),J}getProviders(){return Array.from(this.providers.values())}}},7879:(tt,ve,I)=>{I.d(ve,{Am:()=>de,Ub:()=>ae,Yd:()=>ee,in:()=>u});const a=[];var u=function(U){return U[U.DEBUG=0]="DEBUG",U[U.VERBOSE=1]="VERBOSE",U[U.INFO=2]="INFO",U[U.WARN=3]="WARN",U[U.ERROR=4]="ERROR",U[U.SILENT=5]="SILENT",U}(u||{});const G={debug:u.DEBUG,verbose:u.VERBOSE,info:u.INFO,warn:u.WARN,error:u.ERROR,silent:u.SILENT},ne=u.INFO,z={[u.DEBUG]:"log",[u.VERBOSE]:"log",[u.INFO]:"info",[u.WARN]:"warn",[u.ERROR]:"error"},$=(U,J,...fe)=>{if(J<U.logLevel)return;const xe=(new Date).toISOString(),Te=z[J];if(!Te)throw new Error(`Attempted to log a message with an invalid logType (value: ${J})`);console[Te](`[${xe}] ${U.name}:`,...fe)};class ee{constructor(J){this.name=J,this._logLevel=ne,this._logHandler=$,this._userLogHandler=null,a.push(this)}get logLevel(){return this._logLevel}set logLevel(J){if(!(J in u))throw new TypeError(`Invalid value "${J}" assigned to \`logLevel\``);this._logLevel=J}setLogLevel(J){this._logLevel="string"==typeof J?G[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,u.DEBUG,...J),this._logHandler(this,u.DEBUG,...J)}log(...J){this._userLogHandler&&this._userLogHandler(this,u.VERBOSE,...J),this._logHandler(this,u.VERBOSE,...J)}info(...J){this._userLogHandler&&this._userLogHandler(this,u.INFO,...J),this._logHandler(this,u.INFO,...J)}warn(...J){this._userLogHandler&&this._userLogHandler(this,u.WARN,...J),this._logHandler(this,u.WARN,...J)}error(...J){this._userLogHandler&&this._userLogHandler(this,u.ERROR,...J),this._logHandler(this,u.ERROR,...J)}}function ae(U){a.forEach(J=>{J.setLogLevel(U)})}function de(U,J){for(const fe of a){let xe=null;J&&J.level&&(xe=G[J.level]),fe.userLogHandler=null===U?null:(Te,Ye,...Oe)=>{const je=Oe.map(Le=>{if(null==Le)return null;if("string"==typeof Le)return Le;if("number"==typeof Le||"boolean"==typeof Le)return Le.toString();if(Le instanceof Error)return Le.message;try{return JSON.stringify(Le)}catch{return null}}).filter(Le=>Le).join(" ");Ye>=(xe??Te.logLevel)&&U({level:u[Ye].toLowerCase(),message:je,args:Oe,type:Te.name})}}}},3182:(tt,ve,I)=>{I.d(ve,{C6:()=>a.getApps,Mq:()=>a.getApp});var a=I(534);(0,a.registerVersion)("firebase","9.23.0","app")},7142:(tt,ve,I)=>{I.d(ve,{Z:()=>a.Z});var a=I(3106);a.Z.registerVersion("firebase","9.23.0","app-compat")},2425:(tt,ve,I)=>{I.d(ve,{FN:()=>pn,PR:()=>Se,Rh:()=>_r,_W:()=>en});var a=I(1180),u=I(5879),G=I(6825),ne=I(6814),z=I(8645),$=I(6593);const ee=["toast-component",""];function ae(Ce,Ee){if(1&Ce){const Ae=u.EpF();u.TgZ(0,"button",5),u.NdJ("click",function(){u.CHM(Ae);const pe=u.oxw();return u.KtG(pe.remove())}),u.TgZ(1,"span",6),u._uU(2,"\xd7"),u.qZA()()}}function de(Ce,Ee){if(1&Ce&&(u.ynx(0),u._uU(1),u.BQk()),2&Ce){const Ae=u.oxw(2);u.xp6(1),u.hij("[",Ae.duplicatesCount+1,"]")}}function U(Ce,Ee){if(1&Ce&&(u.TgZ(0,"div"),u._uU(1),u.YNc(2,de,2,1,"ng-container",4),u.qZA()),2&Ce){const Ae=u.oxw();u.Tol(Ae.options.titleClass),u.uIk("aria-label",Ae.title),u.xp6(1),u.hij(" ",Ae.title," "),u.xp6(1),u.Q6J("ngIf",Ae.duplicatesCount)}}function J(Ce,Ee){if(1&Ce&&u._UZ(0,"div",7),2&Ce){const Ae=u.oxw();u.Tol(Ae.options.messageClass),u.Q6J("innerHTML",Ae.message,u.oJD)}}function fe(Ce,Ee){if(1&Ce&&(u.TgZ(0,"div",8),u._uU(1),u.qZA()),2&Ce){const Ae=u.oxw();u.Tol(Ae.options.messageClass),u.uIk("aria-label",Ae.message),u.xp6(1),u.hij(" ",Ae.message," ")}}function xe(Ce,Ee){if(1&Ce&&(u.TgZ(0,"div"),u._UZ(1,"div",9),u.qZA()),2&Ce){const Ae=u.oxw();u.xp6(1),u.Udp("width",Ae.width+"%")}}class Z{constructor(Ee,Ae){(0,a.Z)(this,"_attachedHost",void 0),(0,a.Z)(this,"component",void 0),(0,a.Z)(this,"viewContainerRef",void 0),(0,a.Z)(this,"injector",void 0),this.component=Ee,this.injector=Ae}attach(Ee,Ae){return this._attachedHost=Ee,Ee.attach(this,Ae)}detach(){const Ee=this._attachedHost;if(Ee)return this._attachedHost=void 0,Ee.detach()}get isAttached(){return null!=this._attachedHost}setAttachedHost(Ee){this._attachedHost=Ee}}class De{constructor(){(0,a.Z)(this,"_attachedPortal",void 0),(0,a.Z)(this,"_disposeFn",void 0)}attach(Ee,Ae){return this._attachedPortal=Ee,this.attachComponentPortal(Ee,Ae)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(Ee){this._disposeFn=Ee}}class me{constructor(Ee){(0,a.Z)(this,"_overlayRef",void 0),(0,a.Z)(this,"componentInstance",void 0),(0,a.Z)(this,"duplicatesCount",0),(0,a.Z)(this,"_afterClosed",new z.x),(0,a.Z)(this,"_activate",new z.x),(0,a.Z)(this,"_manualClose",new z.x),(0,a.Z)(this,"_resetTimeout",new z.x),(0,a.Z)(this,"_countDuplicate",new z.x),this._overlayRef=Ee}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(Ee,Ae){Ee&&this._resetTimeout.next(),Ae&&this._countDuplicate.next(++this.duplicatesCount)}}class Se{constructor(Ee,Ae,_e,pe,Xe,pt){(0,a.Z)(this,"toastId",void 0),(0,a.Z)(this,"config",void 0),(0,a.Z)(this,"message",void 0),(0,a.Z)(this,"title",void 0),(0,a.Z)(this,"toastType",void 0),(0,a.Z)(this,"toastRef",void 0),(0,a.Z)(this,"_onTap",new z.x),(0,a.Z)(this,"_onAction",new z.x),this.toastId=Ee,this.config=Ae,this.message=_e,this.title=pe,this.toastType=Xe,this.toastRef=pt,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(Ee){this._onAction.next(Ee)}onAction(){return this._onAction.asObservable()}}const $e=new u.OlP("ToastConfig");class st extends De{constructor(Ee,Ae,_e){super(),(0,a.Z)(this,"_hostDomElement",void 0),(0,a.Z)(this,"_componentFactoryResolver",void 0),(0,a.Z)(this,"_appRef",void 0),this._hostDomElement=Ee,this._componentFactoryResolver=Ae,this._appRef=_e}attachComponentPortal(Ee,Ae){const _e=this._componentFactoryResolver.resolveComponentFactory(Ee.component);let pe;return pe=_e.create(Ee.injector),this._appRef.attachView(pe.hostView),this.setDisposeFn(()=>{this._appRef.detachView(pe.hostView),pe.destroy()}),Ae?this._hostDomElement.insertBefore(this._getComponentRootNode(pe),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(pe)),pe}_getComponentRootNode(Ee){return Ee.hostView.rootNodes[0]}}let ht=(()=>{var Ce;class Ee{constructor(){(0,a.Z)(this,"_document",(0,u.f3M)(ne.K0)),(0,a.Z)(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 _e=this._document.createElement("div");_e.classList.add("overlay-container"),_e.setAttribute("aria-live","polite"),this._document.body.appendChild(_e),this._containerElement=_e}}return Ce=Ee,(0,a.Z)(Ee,"\u0275fac",function(_e){return new(_e||Ce)}),(0,a.Z)(Ee,"\u0275prov",u.Yz7({token:Ce,factory:Ce.\u0275fac,providedIn:"root"})),Ee})();class It{constructor(Ee){(0,a.Z)(this,"_portalHost",void 0),this._portalHost=Ee}attach(Ee,Ae=!0){return this._portalHost.attach(Ee,Ae)}detach(){return this._portalHost.detach()}}let St=(()=>{var Ce;class Ee{constructor(){(0,a.Z)(this,"_overlayContainer",(0,u.f3M)(ht)),(0,a.Z)(this,"_componentFactoryResolver",(0,u.f3M)(u._Vd)),(0,a.Z)(this,"_appRef",(0,u.f3M)(u.z2F)),(0,a.Z)(this,"_document",(0,u.f3M)(ne.K0)),(0,a.Z)(this,"_paneElements",new Map)}create(_e,pe){return this._createOverlayRef(this.getPaneElement(_e,pe))}getPaneElement(_e="",pe){return this._paneElements.get(pe)||this._paneElements.set(pe,{}),this._paneElements.get(pe)[_e]||(this._paneElements.get(pe)[_e]=this._createPaneElement(_e,pe)),this._paneElements.get(pe)[_e]}_createPaneElement(_e,pe){const Xe=this._document.createElement("div");return Xe.id="toast-container",Xe.classList.add(_e),Xe.classList.add("toast-container"),pe?pe.getContainerElement().appendChild(Xe):this._overlayContainer.getContainerElement().appendChild(Xe),Xe}_createPortalHost(_e){return new st(_e,this._componentFactoryResolver,this._appRef)}_createOverlayRef(_e){return new It(this._createPortalHost(_e))}}return Ce=Ee,(0,a.Z)(Ee,"\u0275fac",function(_e){return new(_e||Ce)}),(0,a.Z)(Ee,"\u0275prov",u.Yz7({token:Ce,factory:Ce.\u0275fac,providedIn:"root"})),Ee})(),en=(()=>{var Ce;class Ee{constructor(_e,pe,Xe,pt,Dt){(0,a.Z)(this,"overlay",void 0),(0,a.Z)(this,"_injector",void 0),(0,a.Z)(this,"sanitizer",void 0),(0,a.Z)(this,"ngZone",void 0),(0,a.Z)(this,"toastrConfig",void 0),(0,a.Z)(this,"currentlyActive",0),(0,a.Z)(this,"toasts",[]),(0,a.Z)(this,"overlayContainer",void 0),(0,a.Z)(this,"previousToastMessage",void 0),(0,a.Z)(this,"index",0),this.overlay=pe,this._injector=Xe,this.sanitizer=pt,this.ngZone=Dt,this.toastrConfig={..._e.default,..._e.config},_e.config.iconClasses&&(this.toastrConfig.iconClasses={..._e.default.iconClasses,..._e.config.iconClasses})}show(_e,pe,Xe={},pt=""){return this._preBuildNotification(pt,_e,pe,this.applyConfig(Xe))}success(_e,pe,Xe={}){return this._preBuildNotification(this.toastrConfig.iconClasses.success||"",_e,pe,this.applyConfig(Xe))}error(_e,pe,Xe={}){return this._preBuildNotification(this.toastrConfig.iconClasses.error||"",_e,pe,this.applyConfig(Xe))}info(_e,pe,Xe={}){return this._preBuildNotification(this.toastrConfig.iconClasses.info||"",_e,pe,this.applyConfig(Xe))}warning(_e,pe,Xe={}){return this._preBuildNotification(this.toastrConfig.iconClasses.warning||"",_e,pe,this.applyConfig(Xe))}clear(_e){for(const pe of this.toasts)if(void 0!==_e){if(pe.toastId===_e)return void pe.toastRef.manualClose()}else pe.toastRef.manualClose()}remove(_e){const pe=this._findToast(_e);if(!pe||(pe.activeToast.toastRef.close(),this.toasts.splice(pe.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 Xe=this.toasts[this.currentlyActive].toastRef;Xe.isInactive()||(this.currentlyActive=this.currentlyActive+1,Xe.activate())}return!0}findDuplicate(_e="",pe="",Xe,pt){const{includeTitleDuplicates:Dt}=this.toastrConfig;for(const Ct of this.toasts)if((!Dt||Dt&&Ct.title===_e)&&Ct.message===pe)return Ct.toastRef.onDuplicate(Xe,pt),Ct;return null}applyConfig(_e={}){return{...this.toastrConfig,..._e}}_findToast(_e){for(let pe=0;pe<this.toasts.length;pe++)if(this.toasts[pe].toastId===_e)return{index:pe,activeToast:this.toasts[pe]};return null}_preBuildNotification(_e,pe,Xe,pt){return pt.onActivateTick?this.ngZone.run(()=>this._buildNotification(_e,pe,Xe,pt)):this._buildNotification(_e,pe,Xe,pt)}_buildNotification(_e,pe,Xe,pt){if(!pt.toastComponent)throw new Error("toastComponent required");const Dt=this.findDuplicate(Xe,pe,this.toastrConfig.resetTimeoutOnDuplicate&&pt.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&Xe||pe)&&this.toastrConfig.preventDuplicates&&null!==Dt)return Dt;this.previousToastMessage=pe;let Ct=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(Ct=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));const Yt=this.overlay.create(pt.positionClass,this.overlayContainer);this.index=this.index+1;let sn=pe;pe&&pt.enableHtml&&(sn=this.sanitizer.sanitize(u.q3G.HTML,pe));const xt=new me(Yt),xn=new Se(this.index,pt,sn,Xe,_e,xt),yr=u.zs3.create({providers:[{provide:Se,useValue:xn}],parent:this._injector}),Jn=new Z(pt.toastComponent,yr),Vn=Yt.attach(Jn,pt.newestOnTop);xt.componentInstance=Vn.instance;const sr={toastId:this.index,title:Xe||"",message:pe||"",toastRef:xt,onShown:xt.afterActivate(),onHidden:xt.afterClosed(),onTap:xn.onTap(),onAction:xn.onAction(),portal:Vn};return Ct||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{sr.toastRef.activate()})),this.toasts.push(sr),sr}}return Ce=Ee,(0,a.Z)(Ee,"\u0275fac",function(_e){return new(_e||Ce)(u.LFG($e),u.LFG(St),u.LFG(u.zs3),u.LFG($.H7),u.LFG(u.R0b))}),(0,a.Z)(Ee,"\u0275prov",u.Yz7({token:Ce,factory:Ce.\u0275fac,providedIn:"root"})),Ee})(),pn=(()=>{var Ce;class Ee{get displayStyle(){if("inactive"===this.state.value)return"none"}constructor(_e,pe,Xe){(0,a.Z)(this,"toastrService",void 0),(0,a.Z)(this,"toastPackage",void 0),(0,a.Z)(this,"ngZone",void 0),(0,a.Z)(this,"message",void 0),(0,a.Z)(this,"title",void 0),(0,a.Z)(this,"options",void 0),(0,a.Z)(this,"duplicatesCount",void 0),(0,a.Z)(this,"originalTimeout",void 0),(0,a.Z)(this,"width",-1),(0,a.Z)(this,"toastClasses",""),(0,a.Z)(this,"state",void 0),(0,a.Z)(this,"timeout",void 0),(0,a.Z)(this,"intervalId",void 0),(0,a.Z)(this,"hideTime",void 0),(0,a.Z)(this,"sub",void 0),(0,a.Z)(this,"sub1",void 0),(0,a.Z)(this,"sub2",void 0),(0,a.Z)(this,"sub3",void 0),this.toastrService=_e,this.toastPackage=pe,this.ngZone=Xe,this.message=pe.message,this.title=pe.title,this.options=pe.config,this.originalTimeout=pe.config.timeOut,this.toastClasses=`${pe.toastType} ${pe.config.toastClass}`,this.sub=pe.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=pe.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=pe.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=pe.toastRef.countDuplicate().subscribe(pt=>{this.duplicatesCount=pt}),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 _e=(new Date).getTime();this.width=(this.hideTime-_e)/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(_e,pe){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(_e),pe)):this.timeout=setTimeout(()=>_e(),pe)}outsideInterval(_e,pe){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(_e),pe)):this.intervalId=setInterval(()=>_e(),pe)}runInsideAngular(_e){this.ngZone?this.ngZone.run(()=>_e()):_e()}}return Ce=Ee,(0,a.Z)(Ee,"\u0275fac",function(_e){return new(_e||Ce)(u.Y36(en),u.Y36(Se),u.Y36(u.R0b))}),(0,a.Z)(Ee,"\u0275cmp",u.Xpm({type:Ce,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(_e,pe){1&_e&&u.NdJ("click",function(){return pe.tapToast()})("mouseenter",function(){return pe.stickAround()})("mouseleave",function(){return pe.delayedHideToast()}),2&_e&&(u.d8E("@flyInOut",pe.state),u.Tol(pe.toastClasses),u.Udp("display",pe.displayStyle))},standalone:!0,features:[u.jDz],attrs:ee,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(_e,pe){1&_e&&(u.YNc(0,ae,3,0,"button",0),u.YNc(1,U,3,5,"div",1),u.YNc(2,J,1,3,"div",2),u.YNc(3,fe,2,4,"div",3),u.YNc(4,xe,2,2,"div",4)),2&_e&&(u.Q6J("ngIf",pe.options.closeButton),u.xp6(1),u.Q6J("ngIf",pe.title),u.xp6(1),u.Q6J("ngIf",pe.message&&pe.options.enableHtml),u.xp6(1),u.Q6J("ngIf",pe.message&&!pe.options.enableHtml),u.xp6(1),u.Q6J("ngIf",pe.options.progressBar))},dependencies:[ne.O5],encapsulation:2,data:{animation:[(0,G.X$)("flyInOut",[(0,G.SB)("inactive",(0,G.oB)({opacity:0})),(0,G.SB)("active",(0,G.oB)({opacity:1})),(0,G.SB)("removed",(0,G.oB)({opacity:0})),(0,G.eR)("inactive => active",(0,G.jt)("{{ easeTime }}ms {{ easing }}")),(0,G.eR)("active => removed",(0,G.jt)("{{ easeTime }}ms {{ easing }}"))])]}})),Ee})();const on={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:pn},or=(Ce={})=>(0,u.MR2)([{provide:$e,useValue:{default:on,config:Ce}}]);let _r=(()=>{var Ce;class Ee{static forRoot(_e={}){return{ngModule:Ee,providers:[or(_e)]}}}return Ce=Ee,(0,a.Z)(Ee,"\u0275fac",function(_e){return new(_e||Ce)}),(0,a.Z)(Ee,"\u0275mod",u.oAB({type:Ce})),(0,a.Z)(Ee,"\u0275inj",u.cJS({})),Ee})()},5861:(tt,ve,I)=>{function a(G,ne,z,$,ee,ae,de){try{var U=G[ae](de),J=U.value}catch(fe){return void z(fe)}U.done?ne(J):Promise.resolve(J).then($,ee)}function u(G){return function(){var ne=this,z=arguments;return new Promise(function($,ee){var ae=G.apply(ne,z);function de(J){a(ae,$,ee,de,U,"next",J)}function U(J){a(ae,$,ee,de,U,"throw",J)}de(void 0)})}}I.d(ve,{Z:()=>u})},1180:(tt,ve,I)=>{function a(z){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function($){return typeof $}:function($){return $&&"function"==typeof Symbol&&$.constructor===Symbol&&$!==Symbol.prototype?"symbol":typeof $})(z)}function ne(z,$,ee){return($=function G(z){var $=function u(z,$){if("object"!==a(z)||null===z)return z;var ee=z[Symbol.toPrimitive];if(void 0!==ee){var ae=ee.call(z,$||"default");if("object"!==a(ae))return ae;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===$?String:Number)(z)}(z,"string");return"symbol"===a($)?$:String($)}($))in z?Object.defineProperty(z,$,{value:ee,enumerable:!0,configurable:!0,writable:!0}):z[$]=ee,z}I.d(ve,{Z:()=>ne})},7582:(tt,ve,I)=>{function ne(Pe,Ne){var Ue={};for(var Ge in Pe)Object.prototype.hasOwnProperty.call(Pe,Ge)&&Ne.indexOf(Ge)<0&&(Ue[Ge]=Pe[Ge]);if(null!=Pe&&"function"==typeof Object.getOwnPropertySymbols){var Ce=0;for(Ge=Object.getOwnPropertySymbols(Pe);Ce<Ge.length;Ce++)Ne.indexOf(Ge[Ce])<0&&Object.prototype.propertyIsEnumerable.call(Pe,Ge[Ce])&&(Ue[Ge[Ce]]=Pe[Ge[Ce]])}return Ue}function fe(Pe,Ne,Ue,Ge){return new(Ue||(Ue=Promise))(function(Ee,Ae){function _e(pt){try{Xe(Ge.next(pt))}catch(Dt){Ae(Dt)}}function pe(pt){try{Xe(Ge.throw(pt))}catch(Dt){Ae(Dt)}}function Xe(pt){pt.done?Ee(pt.value):function Ce(Ee){return Ee instanceof Ue?Ee:new Ue(function(Ae){Ae(Ee)})}(pt.value).then(_e,pe)}Xe((Ge=Ge.apply(Pe,Ne||[])).next())})}function Z(Pe){return this instanceof Z?(this.v=Pe,this):new Z(Pe)}function De(Pe,Ne,Ue){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Ce,Ge=Ue.apply(Pe,Ne||[]),Ee=[];return Ce={},Ae("next"),Ae("throw"),Ae("return"),Ce[Symbol.asyncIterator]=function(){return this},Ce;function Ae(Ct){Ge[Ct]&&(Ce[Ct]=function(Yt){return new Promise(function(sn,xt){Ee.push([Ct,Yt,sn,xt])>1||_e(Ct,Yt)})})}function _e(Ct,Yt){try{!function pe(Ct){Ct.value instanceof Z?Promise.resolve(Ct.value.v).then(Xe,pt):Dt(Ee[0][2],Ct)}(Ge[Ct](Yt))}catch(sn){Dt(Ee[0][3],sn)}}function Xe(Ct){_e("next",Ct)}function pt(Ct){_e("throw",Ct)}function Dt(Ct,Yt){Ct(Yt),Ee.shift(),Ee.length&&_e(Ee[0][0],Ee[0][1])}}function Se(Pe){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Ue,Ne=Pe[Symbol.asyncIterator];return Ne?Ne.call(Pe):(Pe=function Oe(Pe){var Ne="function"==typeof Symbol&&Symbol.iterator,Ue=Ne&&Pe[Ne],Ge=0;if(Ue)return Ue.call(Pe);if(Pe&&"number"==typeof Pe.length)return{next:function(){return Pe&&Ge>=Pe.length&&(Pe=void 0),{value:Pe&&Pe[Ge++],done:!Pe}}};throw new TypeError(Ne?"Object is not iterable.":"Symbol.iterator is not defined.")}(Pe),Ue={},Ge("next"),Ge("throw"),Ge("return"),Ue[Symbol.asyncIterator]=function(){return this},Ue);function Ge(Ee){Ue[Ee]=Pe[Ee]&&function(Ae){return new Promise(function(_e,pe){!function Ce(Ee,Ae,_e,pe){Promise.resolve(pe).then(function(Xe){Ee({value:Xe,done:_e})},Ae)}(_e,pe,(Ae=Pe[Ee](Ae)).done,Ae.value)})}}}I.d(ve,{FC:()=>De,KL:()=>Se,_T:()=>ne,mG:()=>fe,qq:()=>Z}),"function"==typeof SuppressedError&&SuppressedError}},tt=>{tt(tt.s=2940)}]);