dealpostools 2.2.2 → 2.2.4

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 +0,0 @@
1
- "use strict";(self.webpackChunkweb_tools=self.webpackChunkweb_tools||[]).push([[179],{2011:(tt,me,S)=>{S.d(me,{Dh:()=>Z,GT:()=>X,cc:()=>xe,hO:()=>Be,on:()=>L,pX:()=>V,xv:()=>Y});var l=S(4650),d=S(9260),B=S(2122);tt=S.hmd(tt);const J=["ngOnDestroy"],V=(le,Ge,rt,Se={})=>new Proxy(le,{get:(ue,we)=>rt.runOutsideAngular(()=>{var ze;if(le[we])return!(null===(ze=Se?.spy)||void 0===ze)&&ze.get&&Se.spy.get(we,le[we]),le[we];if(J.indexOf(we)>-1)return()=>{};const Ke=Ge.toPromise().then(Ce=>{const Ee=Ce&&Ce[we];return"function"==typeof Ee?Ee.bind(Ce):Ee&&Ee.then?Ee.then(ee=>rt.run(()=>ee)):rt.run(()=>Ee)});return new Proxy(()=>{},{get:(Ce,Ee)=>Ke[Ee],apply:(Ce,Ee,ee)=>Ke.then(fe=>{var Ae;const ve=fe&&fe(...ee);return!(null===(Ae=Se?.spy)||void 0===Ae)&&Ae.apply&&Se.spy.apply(we,ee,ve),ve})})})}),X=(le,Ge)=>{Ge.forEach(rt=>{Object.getOwnPropertyNames(rt.prototype||rt).forEach(Se=>{Object.defineProperty(le.prototype,Se,Object.getOwnPropertyDescriptor(rt.prototype||rt,Se))})})};class G{constructor(Ge){return Ge}}const Z=new l.OlP("angularfire2.app.options"),Y=new l.OlP("angularfire2.app.name");function L(le,Ge,rt){const ue="object"==typeof rt&&rt||{};ue.name=ue.name||"string"==typeof rt&&rt||"[DEFAULT]";const ze=d.Z.apps.filter(Ke=>Ke&&Ke.name===ue.name)[0]||Ge.runOutsideAngular(()=>d.Z.initializeApp(le,ue));try{JSON.stringify(le)!==JSON.stringify(ze.options)&&z("error",`${ze.name} Firebase App already initialized with different options${tt.hot?", you may need to reload as Firebase is not HMR aware.":"."}`)}catch{}return new G(ze)}const z=(le,...Ge)=>{(0,l.X6Q)()&&typeof console<"u"&&console[le](...Ge)},ae={provide:G,useFactory:L,deps:[Z,l.R0b,[new l.FiY,Y]]};let Be=(()=>{class le{constructor(rt){d.Z.registerVersion("angularfire",B.q4.full,"core"),d.Z.registerVersion("angularfire",B.q4.full,"app-compat"),d.Z.registerVersion("angular",l.q4F.full,rt.toString())}static initializeApp(rt,Se){return{ngModule:le,providers:[{provide:Z,useValue:rt},{provide:Y,useValue:Se}]}}}return le.\u0275fac=function(rt){return new(rt||le)(l.LFG(l.Lbi))},le.\u0275mod=l.oAB({type:le}),le.\u0275inj=l.cJS({providers:[ae]}),le})();function xe(le,Ge,rt,Se,ue){const[,we,ze]=globalThis.\u0275AngularfireInstanceCache.find(Ke=>Ke[0]===le)||[];if(we)return function Pe(le,Ge){try{return le.toString()===Ge.toString()}catch{return le===Ge}}(ue,ze)||(be("error",`${Ge} was already initialized on the ${rt} Firebase App with different settings.${$e?" You may need to reload as Firebase is not HMR aware.":""}`),be("warn",{is:ue,was:ze})),we;{const Ke=Se();return globalThis.\u0275AngularfireInstanceCache.push([le,Ke,ue]),Ke}}const $e=!!tt.hot,be=(le,...Ge)=>{(0,l.X6Q)()&&typeof console<"u"&&console[le](...Ge)};globalThis.\u0275AngularfireInstanceCache||(globalThis.\u0275AngularfireInstanceCache=[])},2122:(tt,me,S)=>{S.d(me,{q4:()=>dn,iC:()=>rr,HU:()=>ll,vb:()=>Ps,JM:()=>Ha});var l=S(4650),d=S(259),B=S(5861),J=S(9681),V=S(2090),X=S(4859),G=S(1877),Z=S(8766);const Y="@firebase/installations",L="0.6.0",ae=`w:${L}`,Be="FIS_v2",Ge=new V.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 rt(v){return v instanceof V.ZR&&v.code.includes("request-failed")}function Se({projectId:v}){return`https://firebaseinstallations.googleapis.com/v1/projects/${v}/installations`}function ue(v){return{token:v.token,requestStatus:2,expiresIn:fe(v.expiresIn),creationTime:Date.now()}}function we(v,T){return ze.apply(this,arguments)}function ze(){return(ze=(0,B.Z)(function*(v,T){const K=(yield T.json()).error;return Ge.create("request-failed",{requestName:v,serverCode:K.code,serverMessage:K.message,serverStatus:K.status})})).apply(this,arguments)}function Ke({apiKey:v}){return new Headers({"Content-Type":"application/json",Accept:"application/json","x-goog-api-key":v})}function Ce(v,{refreshToken:T}){const P=Ke(v);return P.append("Authorization",function Ae(v){return`${Be} ${v}`}(T)),P}function Ee(v){return ee.apply(this,arguments)}function ee(){return(ee=(0,B.Z)(function*(v){const T=yield v();return T.status>=500&&T.status<600?v():T})).apply(this,arguments)}function fe(v){return Number(v.replace("s","000"))}function ve(v,T){return Ue.apply(this,arguments)}function Ue(){return(Ue=(0,B.Z)(function*({appConfig:v,heartbeatServiceProvider:T},{fid:P}){const K=Se(v),_e=Ke(v),Ie=T.getImmediate({optional:!0});if(Ie){const Lt=yield Ie.getHeartbeatsHeader();Lt&&_e.append("x-firebase-client",Lt)}const Ct={method:"POST",headers:_e,body:JSON.stringify({fid:P,authVersion:Be,appId:v.appId,sdkVersion:ae})},It=yield Ee(()=>fetch(K,Ct));if(It.ok){const Lt=yield It.json();return{fid:Lt.fid||P,registrationStatus:2,refreshToken:Lt.refreshToken,authToken:ue(Lt.authToken)}}throw yield we("Create Installation",It)})).apply(this,arguments)}function Je(v){return new Promise(T=>{setTimeout(T,v)})}const Mt=/^[cdef][\w-]{21}$/;function dt(){try{const v=new Uint8Array(17);(self.crypto||self.msCrypto).getRandomValues(v),v[0]=112+v[0]%16;const P=function hn(v){return function gt(v){return btoa(String.fromCharCode(...v)).replace(/\+/g,"-").replace(/\//g,"_")}(v).substr(0,22)}(v);return Mt.test(P)?P:""}catch{return""}}function We(v){return`${v.appName}!${v.appId}`}const Qe=new Map;function he(v,T){const P=We(v);Ot(P,T),function xn(v,T){const P=function mn(){return!Rn&&"BroadcastChannel"in self&&(Rn=new BroadcastChannel("[Firebase] FID Change"),Rn.onmessage=v=>{Ot(v.data.key,v.data.fid)}),Rn}();P&&P.postMessage({key:v,fid:T}),function sr(){0===Qe.size&&Rn&&(Rn.close(),Rn=null)}()}(P,T)}function Ot(v,T){const P=Qe.get(v);if(P)for(const K of P)K(T)}let Rn=null;const Nn="firebase-installations-store";let gn=null;function yt(){return gn||(gn=(0,Z.X3)("firebase-installations-database",1,{upgrade:(v,T)=>{0===T&&v.createObjectStore(Nn)}})),gn}function nn(v,T){return Ln.apply(this,arguments)}function Ln(){return(Ln=(0,B.Z)(function*(v,T){const P=We(v),_e=(yield yt()).transaction(Nn,"readwrite"),Ie=_e.objectStore(Nn),Xe=yield Ie.get(P);return yield Ie.put(T,P),yield _e.done,(!Xe||Xe.fid!==T.fid)&&he(v,T.fid),T})).apply(this,arguments)}function Tn(v){return Wn.apply(this,arguments)}function Wn(){return(Wn=(0,B.Z)(function*(v){const T=We(v),K=(yield yt()).transaction(Nn,"readwrite");yield K.objectStore(Nn).delete(T),yield K.done})).apply(this,arguments)}function fr(v,T){return sn.apply(this,arguments)}function sn(){return(sn=(0,B.Z)(function*(v,T){const P=We(v),_e=(yield yt()).transaction(Nn,"readwrite"),Ie=_e.objectStore(Nn),Xe=yield Ie.get(P),Ct=T(Xe);return void 0===Ct?yield Ie.delete(P):yield Ie.put(Ct,P),yield _e.done,Ct&&(!Xe||Xe.fid!==Ct.fid)&&he(v,Ct.fid),Ct})).apply(this,arguments)}function En(v){return He.apply(this,arguments)}function He(){return(He=(0,B.Z)(function*(v){let T;const P=yield fr(v.appConfig,K=>{const _e=re(K),Ie=W(v,_e);return T=Ie.registrationPromise,Ie.installationEntry});return""===P.fid?{installationEntry:yield T}:{installationEntry:P,registrationPromise:T}})).apply(this,arguments)}function re(v){return Et(v||{fid:dt(),registrationStatus:0})}function W(v,T){if(0===T.registrationStatus){if(!navigator.onLine)return{installationEntry:T,registrationPromise:Promise.reject(Ge.create("app-offline"))};const P={fid:T.fid,registrationStatus:1,registrationTime:Date.now()},K=function Me(v,T){return qe.apply(this,arguments)}(v,P);return{installationEntry:P,registrationPromise:K}}return 1===T.registrationStatus?{installationEntry:T,registrationPromise:nt(v)}:{installationEntry:T}}function qe(){return(qe=(0,B.Z)(function*(v,T){try{const P=yield ve(v,T);return nn(v.appConfig,P)}catch(P){throw rt(P)&&409===P.customData.serverCode?yield Tn(v.appConfig):yield nn(v.appConfig,{fid:T.fid,registrationStatus:0}),P}})).apply(this,arguments)}function nt(v){return At.apply(this,arguments)}function At(){return(At=(0,B.Z)(function*(v){let T=yield _t(v.appConfig);for(;1===T.registrationStatus;)yield Je(100),T=yield _t(v.appConfig);if(0===T.registrationStatus){const{installationEntry:P,registrationPromise:K}=yield En(v);return K||P}return T})).apply(this,arguments)}function _t(v){return fr(v,T=>{if(!T)throw Ge.create("installation-not-found");return Et(T)})}function Et(v){return function In(v){return 1===v.registrationStatus&&v.registrationTime+1e4<Date.now()}(v)?{fid:v.fid,registrationStatus:0}:v}function Nt(v,T){return Fn.apply(this,arguments)}function Fn(){return(Fn=(0,B.Z)(function*({appConfig:v,heartbeatServiceProvider:T},P){const K=St(v,P),_e=Ce(v,P),Ie=T.getImmediate({optional:!0});if(Ie){const Lt=yield Ie.getHeartbeatsHeader();Lt&&_e.append("x-firebase-client",Lt)}const Ct={method:"POST",headers:_e,body:JSON.stringify({installation:{sdkVersion:ae,appId:v.appId}})},It=yield Ee(()=>fetch(K,Ct));if(It.ok)return ue(yield It.json());throw yield we("Generate Auth Token",It)})).apply(this,arguments)}function St(v,{fid:T}){return`${Se(v)}/${T}/authTokens:generate`}function jt(v){return Zt.apply(this,arguments)}function Zt(){return(Zt=(0,B.Z)(function*(v,T=!1){let P;const K=yield fr(v.appConfig,Ie=>{if(!rn(Ie))throw Ge.create("not-registered");const Xe=Ie.authToken;if(!T&&te(Xe))return Ie;if(1===Xe.requestStatus)return P=lt(v,T),Ie;{if(!navigator.onLine)throw Ge.create("app-offline");const Ct=de(Ie);return P=Ft(v,Ct),Ct}});return P?yield P:K.authToken})).apply(this,arguments)}function lt(v,T){return Ve.apply(this,arguments)}function Ve(){return(Ve=(0,B.Z)(function*(v,T){let P=yield ut(v.appConfig);for(;1===P.authToken.requestStatus;)yield Je(100),P=yield ut(v.appConfig);const K=P.authToken;return 0===K.requestStatus?jt(v,T):K})).apply(this,arguments)}function ut(v){return fr(v,T=>{if(!rn(T))throw Ge.create("not-registered");return function Re(v){return 1===v.requestStatus&&v.requestTime+1e4<Date.now()}(T.authToken)?Object.assign(Object.assign({},T),{authToken:{requestStatus:0}}):T})}function Ft(v,T){return Vt.apply(this,arguments)}function Vt(){return(Vt=(0,B.Z)(function*(v,T){try{const P=yield Nt(v,T),K=Object.assign(Object.assign({},T),{authToken:P});return yield nn(v.appConfig,K),P}catch(P){if(!rt(P)||401!==P.customData.serverCode&&404!==P.customData.serverCode){const K=Object.assign(Object.assign({},T),{authToken:{requestStatus:0}});yield nn(v.appConfig,K)}else yield Tn(v.appConfig);throw P}})).apply(this,arguments)}function rn(v){return void 0!==v&&2===v.registrationStatus}function te(v){return 2===v.requestStatus&&!function Q(v){const T=Date.now();return T<v.creationTime||v.creationTime+v.expiresIn<T+36e5}(v)}function de(v){const T={requestStatus:1,requestTime:Date.now()};return Object.assign(Object.assign({},v),{authToken:T})}function ct(){return(ct=(0,B.Z)(function*(v){const T=v,{installationEntry:P,registrationPromise:K}=yield En(T);return K?K.catch(console.error):jt(T).catch(console.error),P.fid})).apply(this,arguments)}function tn(){return(tn=(0,B.Z)(function*(v,T=!1){const P=v;return yield st(P),(yield jt(P,T)).token})).apply(this,arguments)}function st(v){return vt.apply(this,arguments)}function vt(){return(vt=(0,B.Z)(function*(v){const{registrationPromise:T}=yield En(v);T&&(yield T)})).apply(this,arguments)}function bt(v){return Ge.create("missing-app-config-values",{valueName:v})}const kn="installations",mr=v=>{const T=v.getProvider("app").getImmediate(),P=function Yt(v){if(!v||!v.options)throw bt("App Configuration");if(!v.name)throw bt("App Name");const T=["projectId","apiKey","appId"];for(const P of T)if(!v.options[P])throw bt(P);return{appName:v.name,projectId:v.options.projectId,apiKey:v.options.apiKey,appId:v.options.appId}}(T);return{app:T,appConfig:P,heartbeatServiceProvider:(0,J._getProvider)(T,"heartbeat"),_delete:()=>Promise.resolve()}},Fr=v=>{const T=v.getProvider("app").getImmediate(),P=(0,J._getProvider)(T,kn).getImmediate();return{getId:()=>function De(v){return ct.apply(this,arguments)}(P),getToken:_e=>function Pt(v){return tn.apply(this,arguments)}(P,_e)}};(function Kn(){(0,J._registerComponent)(new X.wA(kn,mr,"PUBLIC")),(0,J._registerComponent)(new X.wA("installations-internal",Fr,"PRIVATE"))})(),(0,J.registerVersion)(Y,L),(0,J.registerVersion)(Y,L,"esm2017");const kr="@firebase/remote-config",qt=new V.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 Xi{constructor(T,P,K,_e){this.client=T,this.storage=P,this.storageCache=K,this.logger=_e}isCachedDataFresh(T,P){if(!P)return this.logger.debug("Config fetch cache check. Cache unpopulated."),!1;const K=Date.now()-P,_e=K<=T;return this.logger.debug(`Config fetch cache check. Cache age millis: ${K}. Cache max age millis (minimumFetchIntervalMillis setting): ${T}. Is cache hit: ${_e}.`),_e}fetch(T){var P=this;return(0,B.Z)(function*(){const[K,_e]=yield Promise.all([P.storage.getLastSuccessfulFetchTimestampMillis(),P.storage.getLastSuccessfulFetchResponse()]);if(_e&&P.isCachedDataFresh(T.cacheMaxAgeMillis,K))return _e;T.eTag=_e&&_e.eTag;const Ie=yield P.client.fetch(T),Xe=[P.storageCache.setLastSuccessfulFetchTimestampMillis(Date.now())];return 200===Ie.status&&Xe.push(P.storage.setLastSuccessfulFetchResponse(Ie)),yield Promise.all(Xe),Ie})()}}function fo(v=navigator){return v.languages&&v.languages[0]||v.language}class hs{constructor(T,P,K,_e,Ie,Xe){this.firebaseInstallations=T,this.sdkVersion=P,this.namespace=K,this.projectId=_e,this.apiKey=Ie,this.appId=Xe}fetch(T){var P=this;return(0,B.Z)(function*(){const[K,_e]=yield Promise.all([P.firebaseInstallations.getId(),P.firebaseInstallations.getToken()]),Xe=`${window.FIREBASE_REMOTE_CONFIG_URL_BASE||"https://firebaseremoteconfig.googleapis.com"}/v1/projects/${P.projectId}/namespaces/${P.namespace}:fetch?key=${P.apiKey}`,Ct={"Content-Type":"application/json","Content-Encoding":"gzip","If-None-Match":T.eTag||"*"},It={sdk_version:P.sdkVersion,app_instance_id:K,app_instance_id_token:_e,app_id:P.appId,language_code:fo()},Lt={method:"POST",headers:Ct,body:JSON.stringify(It)},on=fetch(Xe,Lt),Qt=new Promise((Li,os)=>{T.signal.addEventListener(()=>{const Ea=new Error("The operation was aborted.");Ea.name="AbortError",os(Ea)})});let Qr;try{yield Promise.race([on,Qt]),Qr=yield on}catch(Li){let os="fetch-client-network";throw"AbortError"===Li?.name&&(os="fetch-timeout"),qt.create(os,{originalErrorMessage:Li?.message})}let Cr=Qr.status;const $a=Qr.headers.get("ETag")||void 0;let Yi,Fo;if(200===Qr.status){let Li;try{Li=yield Qr.json()}catch(os){throw qt.create("fetch-client-parse",{originalErrorMessage:os?.message})}Yi=Li.entries,Fo=Li.state}if("INSTANCE_STATE_UNSPECIFIED"===Fo?Cr=500:"NO_CHANGE"===Fo?Cr=304:("NO_TEMPLATE"===Fo||"EMPTY_CONFIG"===Fo)&&(Yi={}),304!==Cr&&200!==Cr)throw qt.create("fetch-status",{httpStatus:Cr});return{status:Cr,eTag:$a,config:Yi}})()}}class ps{constructor(T,P){this.client=T,this.storage=P}fetch(T){var P=this;return(0,B.Z)(function*(){const K=(yield P.storage.getThrottleMetadata())||{backoffCount:0,throttleEndTimeMillis:Date.now()};return P.attemptFetch(T,K)})()}attemptFetch(T,{throttleEndTimeMillis:P,backoffCount:K}){var _e=this;return(0,B.Z)(function*(){yield function cr(v,T){return new Promise((P,K)=>{const _e=Math.max(T-Date.now(),0),Ie=setTimeout(P,_e);v.addEventListener(()=>{clearTimeout(Ie),K(qt.create("fetch-throttle",{throttleEndTimeMillis:T}))})})}(T.signal,P);try{const Ie=yield _e.client.fetch(T);return yield _e.storage.deleteThrottleMetadata(),Ie}catch(Ie){if(!function ho(v){if(!(v instanceof V.ZR&&v.customData))return!1;const T=Number(v.customData.httpStatus);return 429===T||500===T||503===T||504===T}(Ie))throw Ie;const Xe={throttleEndTimeMillis:Date.now()+(0,V.$s)(K),backoffCount:K+1};return yield _e.storage.setThrottleMetadata(Xe),_e.attemptFetch(T,Xe)}})()}}class Gi{constructor(T,P,K,_e,Ie){this.app=T,this._client=P,this._storageCache=K,this._storage=_e,this._logger=Ie,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 Mr(v,T){const P=v.target.error||void 0;return qt.create(T,{originalErrorMessage:P&&P?.message})}const yr="app_namespace_store";class Sr{constructor(T,P,K,_e=function po(){return new Promise((v,T)=>{try{const P=indexedDB.open("firebase_remote_config",1);P.onerror=K=>{T(Mr(K,"storage-open"))},P.onsuccess=K=>{v(K.target.result)},P.onupgradeneeded=K=>{0===K.oldVersion&&K.target.result.createObjectStore(yr,{keyPath:"compositeKey"})}}catch(P){T(qt.create("storage-open",{originalErrorMessage:P?.message}))}})}()){this.appId=T,this.appName=P,this.namespace=K,this.openDbPromise=_e}getLastFetchStatus(){return this.get("last_fetch_status")}setLastFetchStatus(T){return this.set("last_fetch_status",T)}getLastSuccessfulFetchTimestampMillis(){return this.get("last_successful_fetch_timestamp_millis")}setLastSuccessfulFetchTimestampMillis(T){return this.set("last_successful_fetch_timestamp_millis",T)}getLastSuccessfulFetchResponse(){return this.get("last_successful_fetch_response")}setLastSuccessfulFetchResponse(T){return this.set("last_successful_fetch_response",T)}getActiveConfig(){return this.get("active_config")}setActiveConfig(T){return this.set("active_config",T)}getActiveConfigEtag(){return this.get("active_config_etag")}setActiveConfigEtag(T){return this.set("active_config_etag",T)}getThrottleMetadata(){return this.get("throttle_metadata")}setThrottleMetadata(T){return this.set("throttle_metadata",T)}deleteThrottleMetadata(){return this.delete("throttle_metadata")}get(T){var P=this;return(0,B.Z)(function*(){const K=yield P.openDbPromise;return new Promise((_e,Ie)=>{const Ct=K.transaction([yr],"readonly").objectStore(yr),It=P.createCompositeKey(T);try{const Lt=Ct.get(It);Lt.onerror=on=>{Ie(Mr(on,"storage-get"))},Lt.onsuccess=on=>{const Qt=on.target.result;_e(Qt?Qt.value:void 0)}}catch(Lt){Ie(qt.create("storage-get",{originalErrorMessage:Lt?.message}))}})})()}set(T,P){var K=this;return(0,B.Z)(function*(){const _e=yield K.openDbPromise;return new Promise((Ie,Xe)=>{const It=_e.transaction([yr],"readwrite").objectStore(yr),Lt=K.createCompositeKey(T);try{const on=It.put({compositeKey:Lt,value:P});on.onerror=Qt=>{Xe(Mr(Qt,"storage-set"))},on.onsuccess=()=>{Ie()}}catch(on){Xe(qt.create("storage-set",{originalErrorMessage:on?.message}))}})})()}delete(T){var P=this;return(0,B.Z)(function*(){const K=yield P.openDbPromise;return new Promise((_e,Ie)=>{const Ct=K.transaction([yr],"readwrite").objectStore(yr),It=P.createCompositeKey(T);try{const Lt=Ct.delete(It);Lt.onerror=on=>{Ie(Mr(on,"storage-delete"))},Lt.onsuccess=()=>{_e()}}catch(Lt){Ie(qt.create("storage-delete",{originalErrorMessage:Lt?.message}))}})})()}createCompositeKey(T){return[this.appId,this.appName,this.namespace,T].join()}}class ei{constructor(T){this.storage=T}getLastFetchStatus(){return this.lastFetchStatus}getLastSuccessfulFetchTimestampMillis(){return this.lastSuccessfulFetchTimestampMillis}getActiveConfig(){return this.activeConfig}loadFromStorage(){var T=this;return(0,B.Z)(function*(){const P=T.storage.getLastFetchStatus(),K=T.storage.getLastSuccessfulFetchTimestampMillis(),_e=T.storage.getActiveConfig(),Ie=yield P;Ie&&(T.lastFetchStatus=Ie);const Xe=yield K;Xe&&(T.lastSuccessfulFetchTimestampMillis=Xe);const Ct=yield _e;Ct&&(T.activeConfig=Ct)})()}setLastFetchStatus(T){return this.lastFetchStatus=T,this.storage.setLastFetchStatus(T)}setLastSuccessfulFetchTimestampMillis(T){return this.lastSuccessfulFetchTimestampMillis=T,this.storage.setLastSuccessfulFetchTimestampMillis(T)}setActiveConfig(T){return this.activeConfig=T,this.storage.setActiveConfig(T)}}function Ir(){return ti.apply(this,arguments)}function ti(){return(ti=(0,B.Z)(function*(){if(!(0,V.hl)())return!1;try{return yield(0,V.eu)()}catch{return!1}})).apply(this,arguments)}!function Uo(){(0,J._registerComponent)(new X.wA("remote-config",function v(T,{instanceIdentifier:P}){const K=T.getProvider("app").getImmediate(),_e=T.getProvider("installations-internal").getImmediate();if(typeof window>"u")throw qt.create("registration-window");if(!(0,V.hl)())throw qt.create("indexed-db-unavailable");const{projectId:Ie,apiKey:Xe,appId:Ct}=K.options;if(!Ie)throw qt.create("registration-project-id");if(!Xe)throw qt.create("registration-api-key");if(!Ct)throw qt.create("registration-app-id");const It=new Sr(Ct,K.name,P=P||"firebase"),Lt=new ei(It),on=new G.Yd(kr);on.logLevel=G.in.ERROR;const Qt=new hs(_e,J.SDK_VERSION,P,Ie,Xe,Ct),Qr=new ps(Qt,It),Cr=new Xi(Qr,It,Lt,on),$a=new Gi(K,Cr,Lt,It,on);return function Hn(v){const T=(0,V.m9)(v);T._initializePromise||(T._initializePromise=T._storageCache.loadFromStorage().then(()=>{T._isInitializationComplete=!0}))}($a),$a},"PUBLIC").setMultipleInstances(!0)),(0,J.registerVersion)(kr,"0.4.0"),(0,J.registerVersion)(kr,"0.4.0","esm2017")}();const Ai="/firebase-messaging-sw.js",di="/firebase-cloud-messaging-push-scope",Ho="BDOU99-h67HcA6JeFXHbSNMu7e2yNNu3RzoMj8TM4W88jITfq7ZmPvIM1Iv-4_l2LxQcYwhqby2xGpWwzjfAnG4",Ti="google.c.a.c_id",hi="google.c.a.c_l",Wi="google.c.a.ts",to="google.c.a.e";var Gn=(()=>{return(v=Gn||(Gn={})).PUSH_RECEIVED="push-received",v.NOTIFICATION_CLICKED="notification-clicked",Gn;var v})();function Or(v){const T=new Uint8Array(v);return btoa(String.fromCharCode(...T)).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function go(v){const P=(v+"=".repeat((4-v.length%4)%4)).replace(/\-/g,"+").replace(/_/g,"/"),K=atob(P),_e=new Uint8Array(K.length);for(let Ie=0;Ie<K.length;++Ie)_e[Ie]=K.charCodeAt(Ie);return _e}const Br="fcm_token_details_db",Ki="fcm_token_object_Store";function Mn(v){return mo.apply(this,arguments)}function mo(){return mo=(0,B.Z)(function*(v){if("databases"in indexedDB&&!(yield indexedDB.databases()).map(Ie=>Ie.name).includes(Br))return null;let T=null;return(yield(0,Z.X3)(Br,5,{upgrade:(K=(0,B.Z)(function*(_e,Ie,Xe,Ct){var It;if(Ie<2||!_e.objectStoreNames.contains(Ki))return;const Lt=Ct.objectStore(Ki),on=yield Lt.index("fcmSenderId").get(v);if(yield Lt.clear(),on)if(2===Ie){const Qt=on;if(!Qt.auth||!Qt.p256dh||!Qt.endpoint)return;T={token:Qt.fcmToken,createTime:null!==(It=Qt.createTime)&&void 0!==It?It:Date.now(),subscriptionOptions:{auth:Qt.auth,p256dh:Qt.p256dh,endpoint:Qt.endpoint,swScope:Qt.swScope,vapidKey:"string"==typeof Qt.vapidKey?Qt.vapidKey:Or(Qt.vapidKey)}}}else if(3===Ie){const Qt=on;T={token:Qt.fcmToken,createTime:Qt.createTime,subscriptionOptions:{auth:Or(Qt.auth),p256dh:Or(Qt.p256dh),endpoint:Qt.endpoint,swScope:Qt.swScope,vapidKey:Or(Qt.vapidKey)}}}else if(4===Ie){const Qt=on;T={token:Qt.fcmToken,createTime:Qt.createTime,subscriptionOptions:{auth:Or(Qt.auth),p256dh:Or(Qt.p256dh),endpoint:Qt.endpoint,swScope:Qt.swScope,vapidKey:Or(Qt.vapidKey)}}}}),function(Ie,Xe,Ct,It){return K.apply(this,arguments)})})).close(),yield(0,Z.Lj)(Br),yield(0,Z.Lj)("fcm_vapid_details_db"),yield(0,Z.Lj)("undefined"),$o(T)?T:null;var K}),mo.apply(this,arguments)}function $o(v){if(!v||!v.subscriptionOptions)return!1;const{subscriptionOptions:T}=v;return"number"==typeof v.createTime&&v.createTime>0&&"string"==typeof v.token&&v.token.length>0&&"string"==typeof T.auth&&T.auth.length>0&&"string"==typeof T.p256dh&&T.p256dh.length>0&&"string"==typeof T.endpoint&&T.endpoint.length>0&&"string"==typeof T.swScope&&T.swScope.length>0&&"string"==typeof T.vapidKey&&T.vapidKey.length>0}const ni="firebase-messaging-store";let Zi=null;function _r(){return Zi||(Zi=(0,Z.X3)("firebase-messaging-database",1,{upgrade:(v,T)=>{0===T&&v.createObjectStore(ni)}})),Zi}function Zn(v){return C.apply(this,arguments)}function C(){return(C=(0,B.Z)(function*(v){const T=Ne(v),K=yield(yield _r()).transaction(ni).objectStore(ni).get(T);if(K)return K;{const _e=yield Mn(v.appConfig.senderId);if(_e)return yield R(v,_e),_e}})).apply(this,arguments)}function R(v,T){return A.apply(this,arguments)}function A(){return(A=(0,B.Z)(function*(v,T){const P=Ne(v),_e=(yield _r()).transaction(ni,"readwrite");return yield _e.objectStore(ni).put(T,P),yield _e.done,T})).apply(this,arguments)}function F(v){return oe.apply(this,arguments)}function oe(){return(oe=(0,B.Z)(function*(v){const T=Ne(v),K=(yield _r()).transaction(ni,"readwrite");yield K.objectStore(ni).delete(T),yield K.done})).apply(this,arguments)}function Ne({appConfig:v}){return v.appId}const ft=new V.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 Bn(v,T){return bn.apply(this,arguments)}function bn(){return(bn=(0,B.Z)(function*(v,T){const P=yield Ze(v),K=Vr(T),_e={method:"POST",headers:P,body:JSON.stringify(K)};let Ie;try{Ie=yield(yield fetch(Vn(v.appConfig),_e)).json()}catch(Xe){throw ft.create("token-subscribe-failed",{errorInfo:Xe?.toString()})}if(Ie.error)throw ft.create("token-subscribe-failed",{errorInfo:Ie.error.message});if(!Ie.token)throw ft.create("token-subscribe-no-token");return Ie.token})).apply(this,arguments)}function wn(v,T){return ln.apply(this,arguments)}function ln(){return(ln=(0,B.Z)(function*(v,T){const P=yield Ze(v),K=Vr(T.subscriptionOptions),_e={method:"PATCH",headers:P,body:JSON.stringify(K)};let Ie;try{Ie=yield(yield fetch(`${Vn(v.appConfig)}/${T.token}`,_e)).json()}catch(Xe){throw ft.create("token-update-failed",{errorInfo:Xe?.toString()})}if(Ie.error)throw ft.create("token-update-failed",{errorInfo:Ie.error.message});if(!Ie.token)throw ft.create("token-update-no-token");return Ie.token})).apply(this,arguments)}function zn(v,T){return yn.apply(this,arguments)}function yn(){return(yn=(0,B.Z)(function*(v,T){const K={method:"DELETE",headers:yield Ze(v)};try{const Ie=yield(yield fetch(`${Vn(v.appConfig)}/${T}`,K)).json();if(Ie.error)throw ft.create("token-unsubscribe-failed",{errorInfo:Ie.error.message})}catch(_e){throw ft.create("token-unsubscribe-failed",{errorInfo:_e?.toString()})}})).apply(this,arguments)}function Vn({projectId:v}){return`https://fcmregistrations.googleapis.com/v1/projects/${v}/registrations`}function Ze(v){return Wt.apply(this,arguments)}function Wt(){return(Wt=(0,B.Z)(function*({appConfig:v,installations:T}){const P=yield T.getToken();return new Headers({"Content-Type":"application/json",Accept:"application/json","x-goog-api-key":v.apiKey,"x-goog-firebase-installations-auth":`FIS ${P}`})})).apply(this,arguments)}function Vr({p256dh:v,auth:T,endpoint:P,vapidKey:K}){const _e={web:{endpoint:P,auth:T,p256dh:v}};return K!==Ho&&(_e.web.applicationPubKey=K),_e}const vr=6048e5;function jn(v){return Ii.apply(this,arguments)}function Ii(){return(Ii=(0,B.Z)(function*(v){const T=yield Rt(v.swRegistration,v.vapidKey),P={vapidKey:v.vapidKey,swScope:v.swRegistration.scope,endpoint:T.endpoint,auth:Or(T.getKey("auth")),p256dh:Or(T.getKey("p256dh"))},K=yield Zn(v.firebaseDependencies);if(K){if(On(K.subscriptionOptions,P))return Date.now()>=K.createTime+vr?E(v,{token:K.token,createTime:Date.now(),subscriptionOptions:P}):K.token;try{yield zn(v.firebaseDependencies,K.token)}catch(_e){console.warn(_e)}return k(v.firebaseDependencies,P)}return k(v.firebaseDependencies,P)})).apply(this,arguments)}function pi(v){return M.apply(this,arguments)}function M(){return(M=(0,B.Z)(function*(v){const T=yield Zn(v.firebaseDependencies);T&&(yield zn(v.firebaseDependencies,T.token),yield F(v.firebaseDependencies));const P=yield v.swRegistration.pushManager.getSubscription();return!P||P.unsubscribe()})).apply(this,arguments)}function E(v,T){return D.apply(this,arguments)}function D(){return(D=(0,B.Z)(function*(v,T){try{const P=yield wn(v.firebaseDependencies,T),K=Object.assign(Object.assign({},T),{token:P,createTime:Date.now()});return yield R(v.firebaseDependencies,K),P}catch(P){throw yield pi(v),P}})).apply(this,arguments)}function k(v,T){return ke.apply(this,arguments)}function ke(){return(ke=(0,B.Z)(function*(v,T){const K={token:yield Bn(v,T),createTime:Date.now(),subscriptionOptions:T};return yield R(v,K),K.token})).apply(this,arguments)}function Rt(v,T){return Un.apply(this,arguments)}function Un(){return(Un=(0,B.Z)(function*(v,T){return(yield v.pushManager.getSubscription())||v.pushManager.subscribe({userVisibleOnly:!0,applicationServerKey:go(T)})})).apply(this,arguments)}function On(v,T){return T.vapidKey===v.vapidKey&&T.endpoint===v.endpoint&&T.auth===v.auth&&T.p256dh===v.p256dh}function Dr(v){const T={from:v.from,collapseKey:v.collapse_key,messageId:v.fcmMessageId};return function yo(v,T){if(!T.notification)return;v.notification={};const P=T.notification.title;P&&(v.notification.title=P);const K=T.notification.body;K&&(v.notification.body=K);const _e=T.notification.image;_e&&(v.notification.image=_e);const Ie=T.notification.icon;Ie&&(v.notification.icon=Ie)}(T,v),function _o(v,T){!T.data||(v.data=T.data)}(T,v),function Oi(v,T){var P,K,_e,Ie,Xe;if(!(T.fcmOptions||null!==(P=T.notification)&&void 0!==P&&P.click_action))return;v.fcmOptions={};const Ct=null!==(_e=null===(K=T.fcmOptions)||void 0===K?void 0:K.link)&&void 0!==_e?_e:null===(Ie=T.notification)||void 0===Ie?void 0:Ie.click_action;Ct&&(v.fcmOptions.link=Ct);const It=null===(Xe=T.fcmOptions)||void 0===Xe?void 0:Xe.analytics_label;It&&(v.fcmOptions.analyticsLabel=It)}(T,v),T}function Ia(v){return"object"==typeof v&&!!v&&Ti in v}function Hs(v,T){const P=[];for(let K=0;K<v.length;K++)P.push(v.charAt(K)),K<T.length&&P.push(T.charAt(K));return P.join("")}function gi(v){return ft.create("missing-app-config-values",{valueName:v})}Hs("hts/frbslgigp.ogepscmv/ieo/eaylg","tp:/ieaeogn-agolai.o/1frlglgc/o"),Hs("AzSCbw63g1R0nCw85jG8","Iaya3yLKwmgvh7cF0q4");class ms{constructor(T,P,K){this.deliveryMetricsExportedToBigQueryEnabled=!1,this.onBackgroundMessageHandler=null,this.onMessageHandler=null,this.logEvents=[],this.isLogServiceStarted=!1;const _e=function Oa(v){if(!v||!v.options)throw gi("App Configuration Object");if(!v.name)throw gi("App Name");const T=["projectId","apiKey","appId","messagingSenderId"],{options:P}=v;for(const K of T)if(!P[K])throw gi(K);return{appName:v.name,projectId:P.projectId,apiKey:P.apiKey,appId:P.appId,senderId:P.messagingSenderId}}(T);this.firebaseDependencies={app:T,appConfig:_e,installations:P,analyticsProvider:K}}_delete(){return Promise.resolve()}}function vo(v){return Go.apply(this,arguments)}function Go(){return(Go=(0,B.Z)(function*(v){try{v.swRegistration=yield navigator.serviceWorker.register(Ai,{scope:di}),v.swRegistration.update().catch(()=>{})}catch(T){throw ft.create("failed-service-worker-registration",{browserErrorMessage:T?.message})}})).apply(this,arguments)}function Do(v,T){return zo.apply(this,arguments)}function zo(){return(zo=(0,B.Z)(function*(v,T){if(!T&&!v.swRegistration&&(yield vo(v)),T||!v.swRegistration){if(!(T instanceof ServiceWorkerRegistration))throw ft.create("invalid-sw-registration");v.swRegistration=T}})).apply(this,arguments)}function Wo(v,T){return Pi.apply(this,arguments)}function Pi(){return(Pi=(0,B.Z)(function*(v,T){T?v.vapidKey=T:v.vapidKey||(v.vapidKey=Ho)})).apply(this,arguments)}function Ko(){return(Ko=(0,B.Z)(function*(v,T){if(!navigator)throw ft.create("only-available-in-window");if("default"===Notification.permission&&(yield Notification.requestPermission()),"granted"!==Notification.permission)throw ft.create("permission-blocked");return yield Wo(v,T?.vapidKey),yield Do(v,T?.serviceWorkerRegistration),jn(v)})).apply(this,arguments)}function Pa(v,T,P){return Eo.apply(this,arguments)}function Eo(){return(Eo=(0,B.Z)(function*(v,T,P){const K=Co(T);(yield v.firebaseDependencies.analyticsProvider.get()).logEvent(K,{message_id:P[Ti],message_name:P[hi],message_time:P[Wi],message_device_time:Math.floor(Date.now()/1e3)})})).apply(this,arguments)}function Co(v){switch(v){case Gn.NOTIFICATION_CLICKED:return"notification_open";case Gn.PUSH_RECEIVED:return"notification_foreground";default:throw new Error}}function _s(){return(_s=(0,B.Z)(function*(v,T){const P=T.data;if(!P.isFirebaseMessaging)return;v.onMessageHandler&&P.messageType===Gn.PUSH_RECEIVED&&("function"==typeof v.onMessageHandler?v.onMessageHandler(Dr(P)):v.onMessageHandler.next(Dr(P)));const K=P.data;Ia(K)&&"1"===K[to]&&(yield Pa(v,P.messageType,K))})).apply(this,arguments)}const tr="@firebase/messaging",zt=v=>{const T=new ms(v.getProvider("app").getImmediate(),v.getProvider("installations-internal").getImmediate(),v.getProvider("analytics-internal"));return navigator.serviceWorker.addEventListener("message",P=>function ca(v,T){return _s.apply(this,arguments)}(T,P)),T},Zo=v=>{const T=v.getProvider("messaging").getImmediate();return{getToken:K=>function ys(v,T){return Ko.apply(this,arguments)}(T,K)}};function $s(){return Gs.apply(this,arguments)}function Gs(){return(Gs=(0,B.Z)(function*(){try{yield(0,V.eu)()}catch{return!1}return typeof window<"u"&&(0,V.hl)()&&(0,V.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 js(){(0,J._registerComponent)(new X.wA("messaging",zt,"PUBLIC")),(0,J._registerComponent)(new X.wA("messaging-internal",Zo,"PRIVATE")),(0,J.registerVersion)(tr,"0.12.0"),(0,J.registerVersion)(tr,"0.12.0","esm2017")}();const mi="analytics",qo="firebase_id",Qo="https://firebase.googleapis.com/v1alpha/projects/-/apps/{app-id}/webConfig",Jo="https://www.googletagmanager.com/gtag/js",ar=new G.Yd("@firebase/analytics");function Ks(v){return Promise.all(v.map(T=>T.catch(P=>P)))}function Fa(v,T){const P=document.createElement("script");P.src=`${Jo}?l=${v}&id=${T}`,P.async=!0,document.head.appendChild(P)}function Ds(v,T,P,K,_e,Ie){return wo.apply(this,arguments)}function wo(){return(wo=(0,B.Z)(function*(v,T,P,K,_e,Ie){const Xe=K[_e];try{if(Xe)yield T[Xe];else{const It=(yield Ks(P)).find(Lt=>Lt.measurementId===_e);It&&(yield T[It.appId])}}catch(Ct){ar.error(Ct)}v("config",_e,Ie)})).apply(this,arguments)}function fa(v,T,P,K,_e){return Ao.apply(this,arguments)}function Ao(){return(Ao=(0,B.Z)(function*(v,T,P,K,_e){try{let Ie=[];if(_e&&_e.send_to){let Xe=_e.send_to;Array.isArray(Xe)||(Xe=[Xe]);const Ct=yield Ks(P);for(const It of Xe){const Lt=Ct.find(Qt=>Qt.measurementId===It),on=Lt&&T[Lt.appId];if(!on){Ie=[];break}Ie.push(on)}}0===Ie.length&&(Ie=Object.values(T)),yield Promise.all(Ie),v("event",K,_e||{})}catch(Ie){ar.error(Ie)}})).apply(this,arguments)}function To(v){const T=window.document.getElementsByTagName("script");for(const P of Object.values(T))if(P.src&&P.src.includes(Jo)&&P.src.includes(v))return P;return null}const Qn=new V.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.'}),Zs=new class ol{constructor(T={},P=1e3){this.throttleMetadata=T,this.intervalMillis=P}getThrottleMetadata(T){return this.throttleMetadata[T]}setThrottleMetadata(T,P){this.throttleMetadata[T]=P}deleteThrottleMetadata(T){delete this.throttleMetadata[T]}};function La(v){return new Headers({Accept:"application/json","x-goog-api-key":v})}function Ba(v){return Pr.apply(this,arguments)}function Pr(){return(Pr=(0,B.Z)(function*(v){var T;const{appId:P,apiKey:K}=v,_e={method:"GET",headers:La(K)},Ie=Qo.replace("{app-id}",P),Xe=yield fetch(Ie,_e);if(200!==Xe.status&&304!==Xe.status){let Ct="";try{const It=yield Xe.json();null!==(T=It.error)&&void 0!==T&&T.message&&(Ct=It.error.message)}catch{}throw Qn.create("config-fetch-failed",{httpStatus:Xe.status,responseMessage:Ct})}return Xe.json()})).apply(this,arguments)}function ma(v){return ri.apply(this,arguments)}function ri(){return(ri=(0,B.Z)(function*(v,T=Zs,P){const{appId:K,apiKey:_e,measurementId:Ie}=v.options;if(!K)throw Qn.create("no-app-id");if(!_e){if(Ie)return{measurementId:Ie,appId:K};throw Qn.create("no-api-key")}const Xe=T.getThrottleMetadata(K)||{backoffCount:0,throttleEndTimeMillis:Date.now()},Ct=new Ys;return setTimeout((0,B.Z)(function*(){Ct.abort()}),void 0!==P?P:6e4),Ur({appId:K,apiKey:_e,measurementId:Ie},Xe,Ct,T)})).apply(this,arguments)}function Ur(v,T,P){return Mo.apply(this,arguments)}function Mo(){return(Mo=(0,B.Z)(function*(v,{throttleEndTimeMillis:T,backoffCount:P},K,_e=Zs){var Ie;const{appId:Xe,measurementId:Ct}=v;try{yield So(K,T)}catch(It){if(Ct)return ar.warn(`Timed out fetching this Firebase app's measurement ID from the server. Falling back to the measurement ID ${Ct} provided in the "measurementId" field in the local Firebase config. [${It?.message}]`),{appId:Xe,measurementId:Ct};throw It}try{const It=yield Ba(v);return _e.deleteThrottleMetadata(Xe),It}catch(It){const Lt=It;if(!xi(Lt)){if(_e.deleteThrottleMetadata(Xe),Ct)return ar.warn(`Failed to fetch this Firebase app's measurement ID from the server. Falling back to the measurement ID ${Ct} provided in the "measurementId" field in the local Firebase config. [${Lt?.message}]`),{appId:Xe,measurementId:Ct};throw It}const on=503===Number(null===(Ie=Lt?.customData)||void 0===Ie?void 0:Ie.httpStatus)?(0,V.$s)(P,_e.intervalMillis,30):(0,V.$s)(P,_e.intervalMillis),Qt={throttleEndTimeMillis:Date.now()+on,backoffCount:P+1};return _e.setThrottleMetadata(Xe,Qt),ar.debug(`Calling attemptFetch again in ${on} millis`),Ur(v,Qt,K,_e)}})).apply(this,arguments)}function So(v,T){return new Promise((P,K)=>{const _e=Math.max(T-Date.now(),0),Ie=setTimeout(P,_e);v.addEventListener(()=>{clearTimeout(Ie),K(Qn.create("fetch-throttle",{throttleEndTimeMillis:T}))})})}function xi(v){if(!(v instanceof V.ZR&&v.customData))return!1;const T=Number(v.customData.httpStatus);return 429===T||500===T||503===T||504===T}class Ys{constructor(){this.listeners=[]}addEventListener(T){this.listeners.push(T)}abort(){this.listeners.forEach(T=>T())}}let pr,_a;function Io(){return(Io=(0,B.Z)(function*(v,T,P,K,_e){if(_e&&_e.global)v("event",P,K);else{const Ie=yield T;v("event",P,Object.assign(Object.assign({},K),{send_to:Ie}))}})).apply(this,arguments)}function Cs(v){_a=v}function bs(v){pr=v}function Va(){return ws.apply(this,arguments)}function ws(){return(ws=(0,B.Z)(function*(){if(!(0,V.hl)())return ar.warn(Qn.create("indexeddb-unavailable",{errorInfo:"IndexedDB is not available in this environment."}).message),!1;try{yield(0,V.eu)()}catch(v){return ar.warn(Qn.create("indexeddb-unavailable",{errorInfo:v?.toString()}).message),!1}return!0})).apply(this,arguments)}function yi(){return(yi=(0,B.Z)(function*(v,T,P,K,_e,Ie,Xe){var Ct;const It=ma(v);It.then(Cr=>{P[Cr.measurementId]=Cr.appId,v.options.measurementId&&Cr.measurementId!==v.options.measurementId&&ar.warn(`The measurement ID in the local Firebase config (${v.options.measurementId}) does not match the measurement ID fetched from the server (${Cr.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(Cr=>ar.error(Cr)),T.push(It);const Lt=Va().then(Cr=>{if(Cr)return K.getId()}),[on,Qt]=yield Promise.all([It,Lt]);To(Ie)||Fa(Ie,on.measurementId),_a&&(_e("consent","default",_a),Cs(void 0)),_e("js",new Date);const Qr=null!==(Ct=Xe?.config)&&void 0!==Ct?Ct:{};return Qr.origin="firebase",Qr.update=!0,null!=Qt&&(Qr[qo]=Qt),_e("config",on.measurementId,Qr),pr&&(_e("set",pr),bs(void 0)),on.measurementId})).apply(this,arguments)}class Hr{constructor(T){this.app=T}_delete(){return delete xr[this.app.options.appId],Promise.resolve()}}let xr={},As=[];const no={};let ns,pn,Zr="dataLayer",Ts=!1;function Js(v,T,P){!function Ms(){const v=[];if((0,V.ru)()&&v.push("This is a browser extension environment."),(0,V.zI)()||v.push("Cookies are not available."),v.length>0){const T=v.map((K,_e)=>`(${_e+1}) ${K}`).join(" "),P=Qn.create("invalid-analytics-context",{errorInfo:T});ar.warn(P.message)}}();const K=v.options.appId;if(!K)throw Qn.create("no-app-id");if(!v.options.apiKey){if(!v.options.measurementId)throw Qn.create("no-api-key");ar.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 ${v.options.measurementId} provided in the "measurementId" field in the local Firebase config.`)}if(null!=xr[K])throw Qn.create("already-exists",{id:K});if(!Ts){!function ka(v){let T=[];Array.isArray(window[v])?T=window[v]:window[v]=T}(Zr);const{wrappedGtag:Ie,gtagCore:Xe}=function pa(v,T,P,K,_e){let Ie=function(...Xe){window[K].push(arguments)};return window[_e]&&"function"==typeof window[_e]&&(Ie=window[_e]),window[_e]=function ha(v,T,P,K){function Ie(){return(Ie=(0,B.Z)(function*(Xe,Ct,It){try{"event"===Xe?yield fa(v,T,P,Ct,It):"config"===Xe?yield Ds(v,T,P,K,Ct,It):"consent"===Xe?v("consent","update",It):v("set",Ct)}catch(Lt){ar.error(Lt)}})).apply(this,arguments)}return function _e(Xe,Ct,It){return Ie.apply(this,arguments)}}(Ie,v,T,P),{gtagCore:Ie,wrappedGtag:window[_e]}}(xr,As,no,Zr,"gtag");pn=Ie,ns=Xe,Ts=!0}return xr[K]=function ts(v,T,P,K,_e,Ie,Xe){return yi.apply(this,arguments)}(v,As,no,T,ns,Zr,P),new Hr(v)}function Xs(){return ro.apply(this,arguments)}function ro(){return(ro=(0,B.Z)(function*(){if((0,V.ru)()||!(0,V.zI)()||!(0,V.hl)())return!1;try{return yield(0,V.eu)()}catch{return!1}})).apply(this,arguments)}const $r="@firebase/analytics",f="0.9.0";!function g(){(0,J._registerComponent)(new X.wA(mi,(T,{options:P})=>Js(T.getProvider("app").getImmediate(),T.getProvider("installations-internal").getImmediate(),P),"PUBLIC")),(0,J._registerComponent)(new X.wA("analytics-internal",function v(T){try{const P=T.getProvider(mi).getImmediate();return{logEvent:(K,_e,Ie)=>function Ro(v,T,P,K){v=(0,V.m9)(v),function qs(v,T,P,K,_e){return Io.apply(this,arguments)}(pn,xr[v.app.options.appId],T,P,K).catch(_e=>ar.error(_e))}(P,K,_e,Ie)}}catch(P){throw Qn.create("interop-component-reg-failed",{reason:P})}},"PRIVATE")),(0,J.registerVersion)($r,f),(0,J.registerVersion)($r,f,"esm2017")}();var c=S(4408),b=S(7565);const $=new class N extends b.v{}(class _ extends c.o{constructor(T,P){super(T,P),this.scheduler=T,this.work=P}schedule(T,P=0){return P>0?super.schedule(T,P):(this.delay=P,this.state=T,this.scheduler.flush(this),this)}execute(T,P){return P>0||this.closed?super.execute(T,P):this._execute(T,P)}requestAsyncId(T,P,K=0){return null!=K&&K>0||null==K&&this.delay>0?super.requestAsyncId(T,P,K):(T.flush(this),0)}});var Fe=S(4986),it=S(8505),Bt=S(9468),Dt=S(5363);const dn=new l.GfV("7.5.0"),Er="__angularfire_symbol__analyticsIsSupportedValue",Yr="__angularfire_symbol__analyticsIsSupported",Fi="__angularfire_symbol__remoteConfigIsSupportedValue",qr="__angularfire_symbol__remoteConfigIsSupported",ea="__angularfire_symbol__messagingIsSupportedValue",_i="__angularfire_symbol__messagingIsSupported";function Ha(v,T,P){if(T){if(1===T.length)return T[0];const Ie=T.filter(Xe=>Xe.app===P);if(1===Ie.length)return Ie[0]}return P.container.getProvider(v).getImmediate({optional:!0})}globalThis[Yr]||(globalThis[Yr]=Xs().then(v=>globalThis[Er]=v).catch(()=>globalThis[Er]=!1)),globalThis[_i]||(globalThis[_i]=$s().then(v=>globalThis[ea]=v).catch(()=>globalThis[ea]=!1)),globalThis[qr]||(globalThis[qr]=Ir().then(v=>globalThis[Fi]=v).catch(()=>globalThis[Fi]=!1));const Ps=(v,T)=>{const P=T?[T]:(0,d.C6)(),K=[];return P.forEach(_e=>{_e.container.getProvider(v).instances.forEach(Xe=>{K.includes(Xe)||K.push(Xe)})}),K};function oo(){}class na{constructor(T,P=$){this.zone=T,this.delegate=P}now(){return this.delegate.now()}schedule(T,P,K){const _e=this.zone;return this.delegate.schedule(function(Xe){_e.runGuarded(()=>{T.apply(this,[Xe])})},P,K)}}class ja{constructor(T){this.zone=T,this.task=null}call(T,P){const K=this.unscheduleTask.bind(this);return this.task=this.zone.run(()=>Zone.current.scheduleMacroTask("firebaseZoneBlock",oo,{},oo,oo)),P.pipe((0,it.b)({next:K,complete:K,error:K})).subscribe(T).add(K)}unscheduleTask(){setTimeout(()=>{null!=this.task&&"scheduled"===this.task.state&&(this.task.invoke(),this.task=null)},10)}}let ll=(()=>{class v{constructor(P){this.ngZone=P,this.outsideAngular=P.runOutsideAngular(()=>new na(Zone.current)),this.insideAngular=P.run(()=>new na(Zone.current,Fe.z)),globalThis.\u0275AngularFireScheduler||(globalThis.\u0275AngularFireScheduler=this)}}return v.\u0275fac=function(P){return new(P||v)(l.LFG(l.R0b))},v.\u0275prov=l.Yz7({token:v,factory:v.\u0275fac,providedIn:"root"}),v})();function is(){const v=globalThis.\u0275AngularFireScheduler;if(!v)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 v}function rr(v){return is(),function No(v){return function(P){return(P=P.lift(new ja(v.ngZone))).pipe((0,Bt.R)(v.outsideAngular),(0,Dt.Q)(v.insideAngular))}}(is())(v)}},2090:(tt,me,S)=>{S.d(me,{$s:()=>ut,BH:()=>kt,L:()=>Z,LL:()=>Qe,Pz:()=>Mt,UG:()=>Pe,US:()=>X,ZB:()=>z,ZR:()=>We,aH:()=>gt,b$:()=>le,eu:()=>Ke,hl:()=>ze,jU:()=>$e,m9:()=>rn,ne:()=>He,pd:()=>sn,r3:()=>Dn,ru:()=>be,tV:()=>Y,uI:()=>xe,vZ:()=>nn,w1:()=>rt,xO:()=>Wn,xb:()=>gn,z$:()=>Be,zI:()=>Ce,zd:()=>fr});const J=function(te){const Q=[];let de=0;for(let Re=0;Re<te.length;Re++){let De=te.charCodeAt(Re);De<128?Q[de++]=De:De<2048?(Q[de++]=De>>6|192,Q[de++]=63&De|128):55296==(64512&De)&&Re+1<te.length&&56320==(64512&te.charCodeAt(Re+1))?(De=65536+((1023&De)<<10)+(1023&te.charCodeAt(++Re)),Q[de++]=De>>18|240,Q[de++]=De>>12&63|128,Q[de++]=De>>6&63|128,Q[de++]=63&De|128):(Q[de++]=De>>12|224,Q[de++]=De>>6&63|128,Q[de++]=63&De|128)}return Q},X={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(te,Q){if(!Array.isArray(te))throw Error("encodeByteArray takes an array as a parameter");this.init_();const de=Q?this.byteToCharMapWebSafe_:this.byteToCharMap_,Re=[];for(let De=0;De<te.length;De+=3){const ct=te[De],Pt=De+1<te.length,tn=Pt?te[De+1]:0,st=De+2<te.length,vt=st?te[De+2]:0;let ne=(15&tn)<<2|vt>>6,U=63&vt;st||(U=64,Pt||(ne=64)),Re.push(de[ct>>2],de[(3&ct)<<4|tn>>4],de[ne],de[U])}return Re.join("")},encodeString(te,Q){return this.HAS_NATIVE_SUPPORT&&!Q?btoa(te):this.encodeByteArray(J(te),Q)},decodeString(te,Q){return this.HAS_NATIVE_SUPPORT&&!Q?atob(te):function(te){const Q=[];let de=0,Re=0;for(;de<te.length;){const De=te[de++];if(De<128)Q[Re++]=String.fromCharCode(De);else if(De>191&&De<224){const ct=te[de++];Q[Re++]=String.fromCharCode((31&De)<<6|63&ct)}else if(De>239&&De<365){const st=((7&De)<<18|(63&te[de++])<<12|(63&te[de++])<<6|63&te[de++])-65536;Q[Re++]=String.fromCharCode(55296+(st>>10)),Q[Re++]=String.fromCharCode(56320+(1023&st))}else{const ct=te[de++],Pt=te[de++];Q[Re++]=String.fromCharCode((15&De)<<12|(63&ct)<<6|63&Pt)}}return Q.join("")}(this.decodeStringToByteArray(te,Q))},decodeStringToByteArray(te,Q){this.init_();const de=Q?this.charToByteMapWebSafe_:this.charToByteMap_,Re=[];for(let De=0;De<te.length;){const ct=de[te.charAt(De++)],tn=De<te.length?de[te.charAt(De)]:0;++De;const vt=De<te.length?de[te.charAt(De)]:64;++De;const se=De<te.length?de[te.charAt(De)]:64;if(++De,null==ct||null==tn||null==vt||null==se)throw Error();Re.push(ct<<2|tn>>4),64!==vt&&(Re.push(tn<<4&240|vt>>2),64!==se&&Re.push(vt<<6&192|se))}return Re},init_(){if(!this.byteToCharMap_){this.byteToCharMap_={},this.charToByteMap_={},this.byteToCharMapWebSafe_={},this.charToByteMapWebSafe_={};for(let te=0;te<this.ENCODED_VALS.length;te++)this.byteToCharMap_[te]=this.ENCODED_VALS.charAt(te),this.charToByteMap_[this.byteToCharMap_[te]]=te,this.byteToCharMapWebSafe_[te]=this.ENCODED_VALS_WEBSAFE.charAt(te),this.charToByteMapWebSafe_[this.byteToCharMapWebSafe_[te]]=te,te>=this.ENCODED_VALS_BASE.length&&(this.charToByteMap_[this.ENCODED_VALS_WEBSAFE.charAt(te)]=te,this.charToByteMapWebSafe_[this.ENCODED_VALS.charAt(te)]=te)}}},Z=function(te){return function(te){const Q=J(te);return X.encodeByteArray(Q,!0)}(te).replace(/\./g,"")},Y=function(te){try{return X.decodeString(te,!0)}catch(Q){console.error("base64Decode failed: ",Q)}return null};function z(te,Q){if(!(Q instanceof Object))return Q;switch(Q.constructor){case Date:return new Date(Q.getTime());case Object:void 0===te&&(te={});break;case Array:te=[];break;default:return Q}for(const de in Q)!Q.hasOwnProperty(de)||!ae(de)||(te[de]=z(te[de],Q[de]));return te}function ae(te){return"__proto__"!==te}function Be(){return typeof navigator<"u"&&"string"==typeof navigator.userAgent?navigator.userAgent:""}function xe(){return typeof window<"u"&&!!(window.cordova||window.phonegap||window.PhoneGap)&&/ios|iphone|ipod|ipad|android|blackberry|iemobile/i.test(Be())}function Pe(){try{return"[object process]"===Object.prototype.toString.call(global.process)}catch{return!1}}function $e(){return"object"==typeof self&&self.self===self}function be(){const te="object"==typeof chrome?chrome.runtime:"object"==typeof browser?browser.runtime:void 0;return"object"==typeof te&&void 0!==te.id}function le(){return"object"==typeof navigator&&"ReactNative"===navigator.product}function rt(){const te=Be();return te.indexOf("MSIE ")>=0||te.indexOf("Trident/")>=0}function ze(){try{return"object"==typeof indexedDB}catch{return!1}}function Ke(){return new Promise((te,Q)=>{try{let de=!0;const Re="validate-browser-context-for-indexeddb-analytics-module",De=self.indexedDB.open(Re);De.onsuccess=()=>{De.result.close(),de||self.indexedDB.deleteDatabase(Re),te(!0)},De.onupgradeneeded=()=>{de=!1},De.onerror=()=>{var ct;Q((null===(ct=De.error)||void 0===ct?void 0:ct.message)||"")}}catch(de){Q(de)}})}function Ce(){return!(typeof navigator>"u"||!navigator.cookieEnabled)}const ve=()=>{try{return function Ee(){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 te=process.env.__FIREBASE_DEFAULTS__;return te?JSON.parse(te):void 0})()||(()=>{if(typeof document>"u")return;let te;try{te=document.cookie.match(/__FIREBASE_DEFAULTS__=([^;]+)/)}catch{return}const Q=te&&Y(te[1]);return Q&&JSON.parse(Q)})()}catch(te){return void console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${te}`)}},gt=()=>{var te;return null===(te=ve())||void 0===te?void 0:te.config},Mt=te=>{var Q;return null===(Q=ve())||void 0===Q?void 0:Q[`_${te}`]};class kt{constructor(){this.reject=()=>{},this.resolve=()=>{},this.promise=new Promise((Q,de)=>{this.resolve=Q,this.reject=de})}wrapCallback(Q){return(de,Re)=>{de?this.reject(de):this.resolve(Re),"function"==typeof Q&&(this.promise.catch(()=>{}),1===Q.length?Q(de):Q(de,Re))}}}class We extends Error{constructor(Q,de,Re){super(de),this.code=Q,this.customData=Re,this.name="FirebaseError",Object.setPrototypeOf(this,We.prototype),Error.captureStackTrace&&Error.captureStackTrace(this,Qe.prototype.create)}}class Qe{constructor(Q,de,Re){this.service=Q,this.serviceName=de,this.errors=Re}create(Q,...de){const Re=de[0]||{},De=`${this.service}/${Q}`,ct=this.errors[Q],Pt=ct?function he(te,Q){return te.replace(ye,(de,Re)=>{const De=Q[Re];return null!=De?String(De):`<${Re}?>`})}(ct,Re):"Error";return new We(De,`${this.serviceName}: ${Pt} (${De}).`,Re)}}const ye=/\{\$([^}]+)}/g;function Dn(te,Q){return Object.prototype.hasOwnProperty.call(te,Q)}function gn(te){for(const Q in te)if(Object.prototype.hasOwnProperty.call(te,Q))return!1;return!0}function nn(te,Q){if(te===Q)return!0;const de=Object.keys(te),Re=Object.keys(Q);for(const De of de){if(!Re.includes(De))return!1;const ct=te[De],Pt=Q[De];if(Ln(ct)&&Ln(Pt)){if(!nn(ct,Pt))return!1}else if(ct!==Pt)return!1}for(const De of Re)if(!de.includes(De))return!1;return!0}function Ln(te){return null!==te&&"object"==typeof te}function Wn(te){const Q=[];for(const[de,Re]of Object.entries(te))Array.isArray(Re)?Re.forEach(De=>{Q.push(encodeURIComponent(de)+"="+encodeURIComponent(De))}):Q.push(encodeURIComponent(de)+"="+encodeURIComponent(Re));return Q.length?"&"+Q.join("&"):""}function fr(te){const Q={};return te.replace(/^\?/,"").split("&").forEach(Re=>{if(Re){const[De,ct]=Re.split("=");Q[decodeURIComponent(De)]=decodeURIComponent(ct)}}),Q}function sn(te){const Q=te.indexOf("?");if(!Q)return"";const de=te.indexOf("#",Q);return te.substring(Q,de>0?de:void 0)}function He(te,Q){const de=new re(te,Q);return de.subscribe.bind(de)}class re{constructor(Q,de){this.observers=[],this.unsubscribes=[],this.observerCount=0,this.task=Promise.resolve(),this.finalized=!1,this.onNoObservers=de,this.task.then(()=>{Q(this)}).catch(Re=>{this.error(Re)})}next(Q){this.forEachObserver(de=>{de.next(Q)})}error(Q){this.forEachObserver(de=>{de.error(Q)}),this.close(Q)}complete(){this.forEachObserver(Q=>{Q.complete()}),this.close()}subscribe(Q,de,Re){let De;if(void 0===Q&&void 0===de&&void 0===Re)throw new Error("Missing Observer.");De=function Me(te,Q){if("object"!=typeof te||null===te)return!1;for(const de of Q)if(de in te&&"function"==typeof te[de])return!0;return!1}(Q,["next","error","complete"])?Q:{next:Q,error:de,complete:Re},void 0===De.next&&(De.next=qe),void 0===De.error&&(De.error=qe),void 0===De.complete&&(De.complete=qe);const ct=this.unsubscribeOne.bind(this,this.observers.length);return this.finalized&&this.task.then(()=>{try{this.finalError?De.error(this.finalError):De.complete()}catch{}}),this.observers.push(De),ct}unsubscribeOne(Q){void 0===this.observers||void 0===this.observers[Q]||(delete this.observers[Q],this.observerCount-=1,0===this.observerCount&&void 0!==this.onNoObservers&&this.onNoObservers(this))}forEachObserver(Q){if(!this.finalized)for(let de=0;de<this.observers.length;de++)this.sendOne(de,Q)}sendOne(Q,de){this.task.then(()=>{if(void 0!==this.observers&&void 0!==this.observers[Q])try{de(this.observers[Q])}catch(Re){typeof console<"u"&&console.error&&console.error(Re)}})}close(Q){this.finalized||(this.finalized=!0,void 0!==Q&&(this.finalError=Q),this.task.then(()=>{this.observers=void 0,this.onNoObservers=void 0}))}}function qe(){}function ut(te,Q=1e3,de=2){const Re=Q*Math.pow(de,te),De=Math.round(.5*Re*(Math.random()-.5)*2);return Math.min(144e5,Re+De)}function rn(te){return te&&te._delegate?te._delegate:te}},5826:(tt,me,S)=>{S.d(me,{a:()=>J});var l=S(4650),d=S(7217),B=S(2510);let J=(()=>{class V{constructor(G,Z){this._authService=G,this._router=Z}canActivate(G,Z){return!!this._authService.isAuthentication()||(this._router.navigate([""]),!1)}}return V.\u0275fac=function(G){return new(G||V)(l.LFG(d.$),l.LFG(B.F0))},V.\u0275prov=l.Yz7({token:V,factory:V.\u0275fac}),V})()},7217:(tt,me,S)=>{S.d(me,{$:()=>J});var l=S(4650),d=S(2510),B=S(7185);let J=(()=>{class V{constructor(G,Z){this._router=G,this.toaster=Z}login(G){this._router.navigate([G])}logout(){localStorage.removeItem("Token"),localStorage.removeItem("Domain"),this._router.navigate([""])}isAuthentication(){return null!=localStorage.getItem("Token")&&!this.isTokenExpired()}isTokenExpired(){return!1}setLocalStorage(G,Z){localStorage.setItem("posdomain",G),localStorage.setItem("username",Z)}getUsernameLocalStorage(){return localStorage.getItem("username")}getDomainLocalStorage(){return localStorage.getItem("posdomain")}isLocalStorageExist(){let G=localStorage.getItem("posdomain"),Z=localStorage.getItem("username"),Y=!1;return G&&Z&&(Y=!0),Y}}return V.\u0275fac=function(G){return new(G||V)(l.LFG(d.F0),l.LFG(B._W))},V.\u0275prov=l.Yz7({token:V,factory:V.\u0275fac,providedIn:"root"}),V})()},381:(tt,me,S)=>{S.d(me,{O:()=>Pe});var l=S(529),d=S(9751),B=S(4986),J=S(1165),V=S(4482),X=S(8421),G=S(3888),Z=S(5403),Y=S(9672);const L=(0,G.d)($e=>function(le=null){$e(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=le});function z($e,be){const{first:le,each:Ge,with:rt=ae,scheduler:Se=be??B.z,meta:ue=null}=(0,J.q)($e)?{first:$e}:"number"==typeof $e?{each:$e}:$e;if(null==le&&null==Ge)throw new TypeError("No timeout provided.");return(0,V.e)((we,ze)=>{let Ke,Ce,Ee=null,ee=0;const fe=Ae=>{Ce=(0,Y.f)(ze,Se,()=>{try{Ke.unsubscribe(),(0,X.Xf)(rt({meta:ue,lastValue:Ee,seen:ee})).subscribe(ze)}catch(ve){ze.error(ve)}},Ae)};Ke=we.subscribe((0,Z.x)(ze,Ae=>{Ce?.unsubscribe(),ee++,ze.next(Ee=Ae),Ge>0&&fe(Ge)},void 0,void 0,()=>{Ce?.closed||Ce?.unsubscribe(),Ee=null})),!ee&&fe(null!=le?"number"==typeof le?le:+le-Se.now():Ge)})}function ae($e){throw new L($e)}var Be=S(4650),xe=S(7185);let Pe=(()=>{class $e{constructor(le,Ge){this.http=le,this.toastr=Ge}delete(le,Ge){let rt=localStorage.getItem("Token"),Se=new l.WM({"Content-Type":"application/json","Cache-Control":"no-cache"});return rt&&(Se=Se.append("Authorization","Bearer "+rt)),this.http.delete(le,{body:Ge,headers:Se})}post(le,Ge,rt=1e5){return new d.y(Se=>{let ue=localStorage.getItem("Token"),we=new l.WM({"Content-Type":"application/json","Cache-Control":"no-cache"});ue&&(we=we.append("Authorization","Bearer "+ue)),this.http.post(le,Ge,{headers:we}).pipe(z(rt)).subscribe(Ke=>{Se.next(Ke),Se.complete()},Ke=>{if(200==Ke.status)Se.next(Ke.error.text),Se.complete();else{if(!this.unauthorizedErrorHandling(Ke)){let Ee=this.errorMessageHandling(Ke);this.toastr.error(""!=Ee.message?Ee.message:"An unknown error has occured!",Ee.header)}Se.error(Ke)}})})}postFormData(le,Ge,rt=!0){return new d.y(Se=>{let ue=localStorage.getItem("Token"),ze={headers:new l.WM({Authorization:"Bearer "+ue})};this.http.post(le,Ge,ze).pipe(z(1e5)).subscribe(Ke=>{Se.next(Ke),Se.complete()},Ke=>{if(200==Ke.status)Se.next(Ke.error.text),Se.complete();else{if(!this.unauthorizedErrorHandling(Ke)&&rt){let Ee=this.errorMessageHandling(Ke);this.toastr.error(""!=Ee.message?Ee.message:"An unknown error has occured!",Ee.header)}Se.error(Ke)}})})}unauthorizedErrorHandling(le){let Ge=!1;return 401==le.status&&(localStorage.getItem("Token")?window.location.href="/A/Unauthorized/Main/Unauthorized":window.location.href="/",Ge=!0),Ge}errorMessageHandling(le){let Ge="API Error",rt="Exception Message";return le.error?(Ge="API Error - "+le.status,le.error.Message&&(rt=le.error.Message)):le.message&&(Ge="API Error - "+le.name,rt=le.message),{header:Ge,message:rt}}}return $e.\u0275fac=function(le){return new(le||$e)(Be.LFG(l.eN),Be.LFG(xe._W))},$e.\u0275prov=Be.Yz7({token:$e,factory:$e.\u0275fac,providedIn:"root"}),$e})()},1597:(tt,me,S)=>{S.d(me,{g:()=>l});let l=(()=>{class B{static StringFormat(V,...X){for(let G=0;G<X.length;G++)V=V.replace(`{${G}}`,X[G]);return V}static parseJwt(V){var G=V.split(".")[1].replace(/-/g,"+").replace(/_/g,"/"),Z=decodeURIComponent(atob(G).split("").map(function(Y){return"%"+("00"+Y.charCodeAt(0).toString(16)).slice(-2)}).join(""));return JSON.parse(Z)}static IsNotEmpty(V){return""!=V&&V!=B.GuidEmpty&&null!=V&&null!=V}static IsEmpty(V){return""==V||null==V||null==V||V==B.GuidEmpty}static FilterByID(V,X){try{const G=V.filter(Z=>Z.ID==X);if(G.length>0)return G[0]}catch{console.log("error filter")}return null}static DateOnly(V){return V?new Date(new Date(V).toDateString()):new Date((new Date).toDateString())}static GenerateYears(V,X,G){var Z=-1;(null==X||null==X)&&(X=11),(null==G||null==G||!G)&&(Z=1);for(var Y=[],L=0;L<X;L++)Y.push(V+L*Z);return Y}}return B.GuidEmpty="00000000-0000-0000-0000-000000000000",B.DecimalMinValue="-7.922816251426434e+28",B.InputLockTimeSpan=500,B.MinDate="0001-01-01T00:00:00",B.MinTime="00:00:00",B.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"}],B})()},6356:(tt,me,S)=>{var l=S(1481),d=S(4650),B=S(2510);function J(p){this.message=p}(J.prototype=new Error).name="InvalidCharacterError";var V=typeof window<"u"&&window.atob&&window.atob.bind(window)||function(p){var s=String(p).replace(/=+$/,"");if(s.length%4==1)throw new J("'atob' failed: The string to be decoded is not correctly encoded.");for(var a,h,w=0,O=0,j="";h=s.charAt(O++);~h&&(a=w%4?64*a+h:h,w++%4)?j+=String.fromCharCode(255&a>>(-2*w&6)):0)h="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(h);return j};function G(p){this.message=p}(G.prototype=new Error).name="InvalidTokenError";var L=S(1597),z=S(3942),ae=S(8996),Be=S(4004),xe=S(3900),Pe=S(8505),$e=S(381),be=S(7185),le=S(7217),Ge=S(7579),rt=S(9646),Se=S(9751),ue=S(6451),we=S(5363),ze=S(4782),Ke=S(590),Ce=S(576);function Ee(p,s){return(0,Ce.m)(s)?(0,xe.w)(()=>p,s):(0,xe.w)(()=>p)}var ee=S(9468),fe=S(9300),Ae=S(2122),ve=S(2011),Ue=S(6895);S(259);var Nn=S(5861),gn=S(9681),yt=S(4859),nn=S(2090),Ln=S(1877);const Tn=new Map,Wn={activated:!1,tokenObservers:[]},fr={initialized:!1,enabled:!1};function sn(p){return Tn.get(p)||Object.assign({},Wn)}function He(){return fr}class _t{constructor(s,a,h,w,O){if(this.operation=s,this.retryPolicy=a,this.getWaitDuration=h,this.lowerBound=w,this.upperBound=O,this.pending=null,this.nextErrorWaitInterval=w,w>O)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(s){var a=this;return(0,Nn.Z)(function*(){a.stop();try{a.pending=new nn.BH,yield function Et(p){return new Promise(s=>{setTimeout(s,p)})}(a.getNextRun(s)),a.pending.resolve(),yield a.pending.promise,a.pending=new nn.BH,yield a.operation(),a.pending.resolve(),yield a.pending.promise,a.process(!0).catch(()=>{})}catch(h){a.retryPolicy(h)?a.process(!1).catch(()=>{}):a.stop()}})()}getNextRun(s){if(s)return this.nextErrorWaitInterval=this.lowerBound,this.getWaitDuration();{const a=this.nextErrorWaitInterval;return this.nextErrorWaitInterval*=2,this.nextErrorWaitInterval>this.upperBound&&(this.nextErrorWaitInterval=this.upperBound),a}}}const Nt=new nn.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 St(p){if(!sn(p).activated)throw Nt.create("use-before-activation",{appName:p.name})}function lt(p,s){return Ve.apply(this,arguments)}function Ve(){return(Ve=(0,Nn.Z)(function*({url:p,body:s},a){const h={"Content-Type":"application/json"},w=a.getImmediate({optional:!0});if(w){const pt=yield w.getHeartbeatsHeader();pt&&(h["X-Firebase-Client"]=pt)}const O={method:"POST",body:JSON.stringify(s),headers:h};let j,q;try{j=yield fetch(p,O)}catch(pt){throw Nt.create("fetch-network-error",{originalErrorMessage:pt?.message})}if(200!==j.status)throw Nt.create("fetch-status-error",{httpStatus:j.status});try{q=yield j.json()}catch(pt){throw Nt.create("fetch-parse-error",{originalErrorMessage:pt?.message})}const pe=q.ttl.match(/^([\d.]+)(s)$/);if(!pe||!pe[2]||isNaN(Number(pe[1])))throw Nt.create("fetch-parse-error",{originalErrorMessage:`ttl field (timeToLive) is not in standard Protobuf Duration format: ${q.ttl}`});const je=1e3*Number(pe[1]),ht=Date.now();return{token:q.token,expireTimeMillis:ht+je,issuedAtTimeMillis:ht}})).apply(this,arguments)}function Vt(p,s){const{projectId:a,appId:h,apiKey:w}=p.options;return{url:`https://content-firebaseappcheck.googleapis.com/v1/projects/${a}/apps/${h}:exchangeDebugToken?key=${w}`,body:{debug_token:s}}}const Q="firebase-app-check-store";let Re=null;function De(){return Re||(Re=new Promise((p,s)=>{try{const a=indexedDB.open("firebase-app-check-database",1);a.onsuccess=h=>{p(h.target.result)},a.onerror=h=>{var w;s(Nt.create("storage-open",{originalErrorMessage:null===(w=h.target.error)||void 0===w?void 0:w.message}))},a.onupgradeneeded=h=>{0===h.oldVersion&&h.target.result.createObjectStore(Q,{keyPath:"compositeKey"})}}catch(a){s(Nt.create("storage-open",{originalErrorMessage:a?.message}))}}),Re)}function $t(){return($t=(0,Nn.Z)(function*(p,s){const h=(yield De()).transaction(Q,"readwrite"),O=h.objectStore(Q).put({compositeKey:p,value:s});return new Promise((j,q)=>{O.onsuccess=pe=>{j()},h.onerror=pe=>{var je;q(Nt.create("storage-set",{originalErrorMessage:null===(je=pe.target.error)||void 0===je?void 0:je.message}))}})})).apply(this,arguments)}const ge=new Ln.Yd("@firebase/app-check");function Yt(p,s){return(0,nn.hl)()?function Pt(p,s){return function vt(p,s){return $t.apply(this,arguments)}(function U(p){return`${p.options.appId}-${p.name}`}(p),s)}(p,s).catch(a=>{ge.warn(`Failed to write token to IndexedDB. Error: ${a}`)}):Promise.resolve()}function Xn(){return He().enabled}function mr(){return Fr.apply(this,arguments)}function Fr(){return(Fr=(0,Nn.Z)(function*(){const p=He();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 kr={error:"UNKNOWN_ERROR"};function lr(p){return nn.US.encodeString(JSON.stringify(p),!1)}function $n(p){return Ar.apply(this,arguments)}function Ar(){return(Ar=(0,Nn.Z)(function*(p,s=!1){const a=p.app;St(a);const h=sn(a);let O,w=h.token;if(w&&!qn(w)&&(h.token=void 0,w=void 0),!w){const pe=yield h.cachedTokenPromise;pe&&(qn(pe)?w=pe:yield Yt(a,void 0))}if(!s&&w&&qn(w))return{token:w.token};let q,j=!1;if(Xn()){h.exchangeTokenPromise||(h.exchangeTokenPromise=lt(Vt(a,yield mr()),p.heartbeatServiceProvider).finally(()=>{h.exchangeTokenPromise=void 0}),j=!0);const pe=yield h.exchangeTokenPromise;return yield Yt(a,pe),h.token=pe,{token:pe.token}}try{h.exchangeTokenPromise||(h.exchangeTokenPromise=h.provider.getToken().finally(()=>{h.exchangeTokenPromise=void 0}),j=!0),w=yield sn(a).exchangeTokenPromise}catch(pe){"appCheck/throttled"===pe.code?ge.warn(pe.message):ge.error(pe),O=pe}return w?O?q=qn(w)?{token:w.token,internalError:O}:Tr(O):(q={token:w.token},h.token=w,yield Yt(a,w)):q=Tr(O),j&&li(a,q),q})).apply(this,arguments)}function qt(p,s){const a=sn(p),h=a.tokenObservers.filter(w=>w.next!==s);0===h.length&&a.tokenRefresher&&a.tokenRefresher.isRunning()&&a.tokenRefresher.stop(),a.tokenObservers=h}function Hi(p){const{app:s}=p,a=sn(s);let h=a.tokenRefresher;h||(h=function Ei(p){const{app:s}=p;return new _t((0,Nn.Z)(function*(){let h;if(h=sn(s).token?yield $n(p,!0):yield $n(p),h.error)throw h.error;if(h.internalError)throw h.internalError}),()=>!0,()=>{const a=sn(s);if(a.token){let h=a.token.issuedAtTimeMillis+.5*(a.token.expireTimeMillis-a.token.issuedAtTimeMillis)+3e5;return h=Math.min(h,a.token.expireTimeMillis-3e5),Math.max(0,h-Date.now())}return 0},3e4,96e4)}(p),a.tokenRefresher=h),!h.isRunning()&&a.isTokenAutoRefreshEnabled&&h.start()}function li(p,s){const a=sn(p).tokenObservers;for(const h of a)try{"EXTERNAL"===h.type&&null!=s.error?h.error(s.error):h.next(s)}catch{}}function qn(p){return p.expireTimeMillis-Date.now()>0}function Tr(p){return{token:lr(kr),error:p}}class zr{constructor(s,a){this.app=s,this.heartbeatServiceProvider=a}_delete(){const{tokenObservers:s}=sn(this.app);for(const a of s)qt(this.app,a.next);return Promise.resolve()}}const Sr="app-check-internal";!function ei(){(0,gn._registerComponent)(new yt.wA("app-check",p=>function Lr(p,s){return new zr(p,s)}(p.getProvider("app").getImmediate(),p.getProvider("heartbeat")),"PUBLIC").setInstantiationMode("EXPLICIT").setInstanceCreatedCallback((p,s,a)=>{p.getProvider(Sr).initialize()})),(0,gn._registerComponent)(new yt.wA(Sr,p=>function Cn(p){return{getToken:s=>$n(p,s),addTokenListener:s=>function ai(p,s,a,h){const{app:w}=p,O=sn(w);if(O.tokenObservers=[...O.tokenObservers,{next:a,error:h,type:s}],O.token&&qn(O.token)){const q=O.token;Promise.resolve().then(()=>{a({token:q.token}),Hi(p)}).catch(()=>{})}O.cachedTokenPromise.then(()=>Hi(p))}(p,"INTERNAL",s),removeTokenListener:s=>qt(p.app,s)}}(p.getProvider("app-check").getImmediate()),"PUBLIC").setInstantiationMode("EXPLICIT")),(0,gn.registerVersion)("@firebase/app-check","0.6.0")}();class zi{constructor(){return(0,Ae.vb)("app-check")}}typeof window<"u"&&window;var Mi=S(9260);const Mn=new d.OlP("angularfire2.auth.use-emulator"),mo=new d.OlP("angularfire2.auth.settings"),$o=new d.OlP("angularfire2.auth.tenant-id"),Si=new d.OlP("angularfire2.auth.langugage-code"),hr=new d.OlP("angularfire2.auth.use-device-language"),ni=new d.OlP("angularfire.auth.persistence");let _r=(()=>{class p{constructor(a,h,w,O,j,q,pe,je,ht,pt,fn,un){const Ht=new Ge.x,Kt=(0,rt.of)(void 0).pipe((0,we.Q)(j.outsideAngular),(0,xe.w)(()=>O.runOutsideAngular(()=>S.e(169).then(S.bind(S,9169)))),(0,Be.U)(()=>(0,ve.on)(a,O,h)),(0,Be.U)(_n=>((p,s,a,h,w,O,j,q)=>(0,ve.cc)(`${p.name}.auth`,"AngularFireAuth",p.name,()=>{const pe=s.runOutsideAngular(()=>p.auth());if(a&&pe.useEmulator(...a),h&&(pe.tenantId=h),pe.languageCode=w,O&&pe.useDeviceLanguage(),j)for(const[je,ht]of Object.entries(j))pe.settings[je]=ht;return q&&pe.setPersistence(q),pe},[a,h,w,O,j,q]))(_n,O,q,je,ht,pt,pe,fn)),(0,ze.d)({bufferSize:1,refCount:!1}));if((0,Ue.PM)(w))this.authState=this.user=this.idToken=this.idTokenResult=this.credential=(0,rt.of)(null);else{Kt.pipe((0,Ke.P)()).subscribe();const Pn=Kt.pipe((0,xe.w)(vn=>vn.getRedirectResult().then(Nr=>Nr,()=>null)),Ae.iC,(0,ze.d)({bufferSize:1,refCount:!1})),Jn=Kt.pipe((0,xe.w)(vn=>new Se.y(Nr=>({unsubscribe:O.runOutsideAngular(()=>vn.onAuthStateChanged(br=>Nr.next(br),br=>Nr.error(br),()=>Nr.complete()))})))),Rr=Kt.pipe((0,xe.w)(vn=>new Se.y(Nr=>({unsubscribe:O.runOutsideAngular(()=>vn.onIdTokenChanged(br=>Nr.next(br),br=>Nr.error(br),()=>Nr.complete()))}))));this.authState=Pn.pipe(Ee(Jn),(0,ee.R)(j.outsideAngular),(0,we.Q)(j.insideAngular)),this.user=Pn.pipe(Ee(Rr),(0,ee.R)(j.outsideAngular),(0,we.Q)(j.insideAngular)),this.idToken=this.user.pipe((0,xe.w)(vn=>vn?(0,ae.D)(vn.getIdToken()):(0,rt.of)(null))),this.idTokenResult=this.user.pipe((0,xe.w)(vn=>vn?(0,ae.D)(vn.getIdTokenResult()):(0,rt.of)(null))),this.credential=(0,ue.T)(Pn,Ht,this.authState.pipe((0,fe.h)(vn=>!vn))).pipe((0,Be.U)(vn=>vn?.user?vn:null),(0,ee.R)(j.outsideAngular),(0,we.Q)(j.insideAngular))}return(0,ve.pX)(this,Kt,O,{spy:{apply:(_n,Pn,Jn)=>{(_n.startsWith("signIn")||_n.startsWith("createUser"))&&Jn.then(Rr=>Ht.next(Rr))}}})}}return p.\u0275fac=function(a){return new(a||p)(d.LFG(ve.Dh),d.LFG(ve.xv,8),d.LFG(d.Lbi),d.LFG(d.R0b),d.LFG(Ae.HU),d.LFG(Mn,8),d.LFG(mo,8),d.LFG($o,8),d.LFG(Si,8),d.LFG(hr,8),d.LFG(ni,8),d.LFG(zi,8))},p.\u0275prov=d.Yz7({token:p,factory:p.\u0275fac,providedIn:"any"}),p})(),Zn=(()=>{class p{constructor(){Mi.Z.registerVersion("angularfire",Ae.q4.full,"auth-compat")}}return p.\u0275fac=function(a){return new(a||p)},p.\u0275mod=d.oAB({type:p}),p.\u0275inj=d.cJS({providers:[_r]}),p})();var C=S(4006);const R=["domainAutoFocus"],A=["passAutoFocus"];function F(p,s){if(1&p){const a=d.EpF();d.ynx(0),d.TgZ(1,"div",17)(2,"div",18)(3,"form")(4,"div",19)(5,"h2",20),d._uU(6,"Sign in"),d.qZA(),d.TgZ(7,"div",21)(8,"div",22)(9,"div",23)(10,"span",24),d._UZ(11,"i",25),d.qZA(),d.TgZ(12,"input",26,27),d.NdJ("ngModelChange",function(w){d.CHM(a);const O=d.oxw();return d.KtG(O.posDomain=w)}),d.qZA()()(),d.TgZ(14,"select",28),d.NdJ("ngModelChange",function(w){d.CHM(a);const O=d.oxw();return d.KtG(O.domain=w)}),d.TgZ(15,"option",29),d._uU(16,".dealpos.co.id"),d.qZA(),d.TgZ(17,"option",30),d._uU(18,".dealpos.net"),d.qZA(),d.TgZ(19,"option",31),d._uU(20,".dealpos.com"),d.qZA()()()(),d.TgZ(21,"div",32)(22,"button",33),d.NdJ("click",function(){d.CHM(a);const w=d.oxw();return d.KtG(w.onNextState())}),d._uU(23," Next "),d.qZA()()()()(),d.BQk()}if(2&p){const a=d.oxw();d.xp6(12),d.Q6J("ngModel",a.posDomain),d.xp6(2),d.Q6J("ngModel",a.domain)}}function oe(p,s){1&p&&(d.TgZ(0,"p"),d._uU(1," Username is required "),d.qZA())}function Ne(p,s){if(1&p&&(d.TgZ(0,"div",57),d.YNc(1,oe,2,0,"p",58),d.qZA()),2&p){d.oxw();const a=d.MAs(13);d.xp6(1),d.Q6J("ngIf",a.errors.required)}}const Oe=function(p,s){return{"fa-eye":p,"fa-eye-slash":s}};function ft(p,s){if(1&p){const a=d.EpF();d.TgZ(0,"i",59),d.NdJ("click",function(){d.CHM(a);const w=d.oxw(2);return d.KtG(w.hideShowPassword())}),d.qZA()}if(2&p){const a=d.oxw(2);d.Q6J("ngClass",d.WLB(1,Oe,"eye-off"==a.passwordIcon,"eye"==a.passwordIcon))}}function Bn(p,s){1&p&&(d.TgZ(0,"p"),d._uU(1," Password is required "),d.qZA())}function bn(p,s){if(1&p&&(d.TgZ(0,"div",57),d.YNc(1,Bn,2,0,"p",58),d.qZA()),2&p){d.oxw();const a=d.MAs(19);d.xp6(1),d.Q6J("ngIf",a.errors.required)}}function wn(p,s){if(1&p){const a=d.EpF();d.TgZ(0,"div",17)(1,"div",18)(2,"div",34)(3,"h2",20),d._uU(4,"Sign in"),d.qZA(),d.TgZ(5,"div",35),d._uU(6," to "),d.TgZ(7,"h6",36),d._uU(8),d.qZA(),d.TgZ(9,"i",37),d.NdJ("click",function(){d.CHM(a);const w=d.oxw();return d.KtG(w.onEditDomain())}),d.qZA()()(),d.TgZ(10,"form",38)(11,"div",39)(12,"input",40,41),d.NdJ("ngModelChange",function(w){d.CHM(a);const O=d.oxw();return d.KtG(O.username=w)}),d.qZA(),d.TgZ(14,"label",42),d._uU(15,"Username"),d.qZA(),d.YNc(16,Ne,2,1,"div",43),d.qZA(),d.TgZ(17,"div",44)(18,"input",45,46),d.NdJ("ngModelChange",function(w){d.CHM(a);const O=d.oxw();return d.KtG(O.password=w)}),d.qZA(),d.TgZ(20,"label",47),d._uU(21,"Password"),d.qZA(),d.YNc(22,ft,1,4,"i",48),d.YNc(23,bn,2,1,"div",43),d.qZA(),d.TgZ(24,"div",49)(25,"a",50),d._uU(26,"Forgot Password?"),d.qZA()(),d.TgZ(27,"div",51)(28,"button",52),d.NdJ("click",function(){d.CHM(a);const w=d.oxw();return d.KtG(w.login())}),d._uU(29," Log in "),d.qZA()(),d.TgZ(30,"div",53),d._UZ(31,"hr"),d.TgZ(32,"span",54),d._uU(33,"or"),d.qZA(),d._UZ(34,"hr"),d.qZA(),d.TgZ(35,"div")(36,"button",55),d.NdJ("click",function(w){d.CHM(a);const O=d.oxw();return d.KtG(O.onLoginByGoogle(w))}),d._UZ(37,"i",56),d._uU(38," Sign In with Google "),d.qZA()()()()()}if(2&p){const a=d.MAs(13),h=d.MAs(19),w=d.oxw();d.xp6(8),d.AsE(" (",w.posDomain,"",w.domain,") "),d.xp6(4),d.Q6J("ngModel",w.username),d.xp6(4),d.Q6J("ngIf",a.invalid&&(a.dirty||a.touched)),d.xp6(2),d.Q6J("type",w.passwordType)("ngModel",w.password),d.xp6(4),d.Q6J("ngIf",""!=w.password&&"edge"!=w.browser),d.xp6(1),d.Q6J("ngIf",h.invalid&&(h.dirty||h.touched)),d.xp6(2),d.Q6J("href","https://"+w.posDomain+w.domain+"/ForgotPassword",d.LSH)}}const zn=[{path:"",component:(()=>{class p{constructor(a,h,w,O,j,q,pe){this._httpService=a,this.toastr=h,this.auth=w,this.elementRef=O,this.cdr=j,this.afAuth=q,this.router=pe,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 a=this.auth.isLocalStorageExist();this.setAutoFocusDomain(),this.username=localStorage.getItem("username"),this.posDomain=localStorage.getItem("posdomain").split(".dealpos")[0],console.log(this.posDomain);const h=localStorage.getItem("posdomain").split(".dealpos")[1];this.domain=".co.id"==h?".dealpos.co.id":".net"==h?".dealpos.net":".dealpos.com",a&&(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"}login(){var a={Username:this.username,Password:this.password,Host:this.posDomain+(this.posDomain.includes("localhost")?"":this.domain)};this._httpService.post("api/Token/Login",JSON.stringify(a)).toPromise().then(h=>{null==h.access_token&&null==h.access_token||(localStorage.setItem("Domain",this.posDomain+(this.posDomain.includes("localhost")?"":this.domain)),localStorage.setItem("Token",h.access_token),"Tools"==function Z(p,s){if("string"!=typeof p)throw new G("Invalid token specified");var a=!0===(s=s||{}).header?0:1;try{return JSON.parse(function X(p){var s=p.replace(/-/g,"+").replace(/_/g,"/");switch(s.length%4){case 0:break;case 2:s+="==";break;case 3:s+="=";break;default:throw"Illegal base64url string!"}try{return decodeURIComponent(V(s).replace(/(.)/g,function(h,w){var O=w.charCodeAt(0).toString(16).toUpperCase();return O.length<2&&(O="0"+O),"%"+O}))}catch{return V(s)}}(p.split(".")[a]))}catch(h){throw new G("Invalid token specified: "+h.message)}}(h.access_token)["http://schemas.microsoft.com/ws/2008/06/identity/claims/role"].filter(q=>"Tools"==q)?(this.saveToLocalStorage(),this.auth.login("/menu/product")):this.toastr.error("Please check your role","Error"))}).catch(h=>{this.toastr.error(0==h.status?"Please check your domain name":h.error.Message,"Error")})}saveToLocalStorage(){this.auth.setLocalStorage(this.posDomain+this.domain,this.username)}onNextState(){L.g.IsEmpty(this.posDomain)?this.toastr.warning("Account Domain is required","Warning"):this.loginState="FORM_AUTH"}onEditDomain(){this.loginState="FORM_DOMAIN"}onLoginByGoogle(a){var h=this.posDomain+(this.posDomain.includes("localhost")?"":this.domain);a.preventDefault();const w=new z.Z.auth.GoogleAuthProvider;w.setCustomParameters({prompt:"select_account"}),(0,ae.D)(this.afAuth.signInWithPopup(w)).pipe((0,Be.U)(j=>j.credential),(0,Be.U)(j=>j.idToken),(0,xe.w)(j=>this._httpService.post("api/Token/LoginWithSocialProvider",JSON.stringify({IDToken:j,Host:h}))),(0,Pe.b)(j=>{localStorage.setItem("Token",j.Token),this.router.navigate(["/menu/product/existing"])})).subscribe()}}return p.\u0275fac=function(a){return new(a||p)(d.Y36($e.O),d.Y36(be._W),d.Y36(le.$),d.Y36(d.SBq),d.Y36(d.sBO),d.Y36(_r),d.Y36(B.F0))},p.\u0275cmp=d.Xpm({type:p,selectors:[["app-login"]],viewQuery:function(a,h){if(1&a&&(d.Gf(R,5),d.Gf(A,5)),2&a){let w;d.iGM(w=d.CRH())&&(h.domainElementRef=w.first),d.iGM(w=d.CRH())&&(h.passElementRef=w.first)}},decls:27,vars:2,consts:[[1,"container"],[1,"d-flex","align-items-center","mt-5","mt-md-0","align-self-center"],[1,"col-12","col-md-7","text-center"],[1,"big-display","robotoslab","d-none","d-md-block"],["src","https://res.cloudinary.com/pos/image/upload/w_200/v1614247725/Apps/Login/tools-dealpos-app.png","alt","integration-image",1,"img-fluid","mt-5","pt-5"],[4,"ngIf","ngIfElse"],["USR_PASS",""],[1,"col-12","d-block","d-md-none","text-center"],[1,"pt-1rem","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"],[1,"pt-1rem","fst-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"],["href","https://changelog.dealpos.com/?categories=cat_GkdUyaD9rSSIk&view=complete","target","_blank",1,"pt-1rem","fst-italic"],[1,"card","mt-5",2,"width","500px"],[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"],[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(a,h){if(1&a&&(d.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"h1",3),d._uU(4,"DealPOS - Tools"),d.qZA(),d._UZ(5,"img",4),d.qZA(),d.YNc(6,F,24,2,"ng-container",5),d.YNc(7,wn,39,9,"ng-template",null,6,d.W1O),d.TgZ(9,"div",7)(10,"p",8),d._uU(11,"Powered by : "),d.qZA(),d.TgZ(12,"a",9),d._UZ(13,"img",10),d.qZA(),d.TgZ(14,"a")(15,"p",11),d._uU(16,"Version 2.2.2"),d.qZA()()()()(),d.TgZ(17,"footer",12)(18,"div",13)(19,"div",14)(20,"p",8),d._uU(21,"Powered by : "),d.qZA(),d.TgZ(22,"a",9),d._UZ(23,"img",10),d.qZA()(),d.TgZ(24,"div",15)(25,"a",16),d._uU(26,"Version 2.2.2"),d.qZA()()()()),2&a){const w=d.MAs(8);d.xp6(6),d.Q6J("ngIf","FORM_DOMAIN"==h.loginState)("ngIfElse",w)}},dependencies:[Ue.mk,Ue.O5,C._Y,C.YN,C.Kr,C.Fj,C.EJ,C.JJ,C.JL,C.Q7,C.On,C.F],styles:[".passwordIcon[_ngcontent-%COMP%]{top:1.5rem;right:.5rem;position:absolute;margin:0 auto!important;cursor:pointer}@media (min-width: 768px){.container[_ngcontent-%COMP%]{max-width:90%;top:50%;left:50%;transform:translate(-50%) translateY(-50%)}.big-display[_ngcontent-%COMP%]{font-size:2.5rem}}@media (min-width: 1200px){.container[_ngcontent-%COMP%]{max-width:70%}.big-display[_ngcontent-%COMP%]{font-size:3rem}}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{height:100%}body[_ngcontent-%COMP%]{display:flex;align-items:center;padding-top:40px;padding-bottom:40px}.pt-1rem[_ngcontent-%COMP%]{padding-top:1rem}.btn-login[_ngcontent-%COMP%]{width:145px}.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}"]}),p})(),pathMatch:"full"},{path:"menu",loadChildren:()=>S.e(972).then(S.bind(S,3972)).then(p=>p.MenuModule)},{path:"**",redirectTo:"",pathMatch:"full"}];let yn=(()=>{class p{}return p.\u0275fac=function(a){return new(a||p)},p.\u0275mod=d.oAB({type:p}),p.\u0275inj=d.cJS({imports:[B.Bz.forRoot(zn,{relativeLinkResolution:"legacy"}),B.Bz]}),p})();var Vn=S(4707);function Ze(p,s){return(a,h)=>!p.call(s,a,h)}var Wt=S(8421),vr=S(2805),jn=S(8746),Ii=S(4482),pi=S(5032),M=S(5403);function E(p){return(0,Ii.e)((s,a)=>{let h=!1,w=null,O=null;const j=()=>{if(O?.unsubscribe(),O=null,h){h=!1;const q=w;w=null,a.next(q)}};s.subscribe((0,M.x)(a,q=>{O?.unsubscribe(),h=!0,w=q,O=(0,M.x)(a,j,pi.Z),(0,Wt.Xf)(p(q)).subscribe(O)},()=>{j(),a.complete()},void 0,()=>{w=O=null}))})}var D=S(1884),k=S(529);function ke(p,s){1&p&&d.GkF(0)}function Rt(p,s){if(1&p&&d._UZ(0,"sk-cube-grid",4),2&p){const a=d.oxw(2);d.Q6J("backgroundColor",a.backgroundColor)}}function Un(p,s){if(1&p&&d._UZ(0,"sk-chasing-dots",4),2&p){const a=d.oxw(2);d.Q6J("backgroundColor",a.backgroundColor)}}function On(p,s){if(1&p&&d._UZ(0,"sk-double-bounce",4),2&p){const a=d.oxw(2);d.Q6J("backgroundColor",a.backgroundColor)}}function Dr(p,s){if(1&p&&d._UZ(0,"sk-rotating-plane",4),2&p){const a=d.oxw(2);d.Q6J("backgroundColor",a.backgroundColor)}}function yo(p,s){if(1&p&&d._UZ(0,"sk-spinner-pulse",4),2&p){const a=d.oxw(2);d.Q6J("backgroundColor",a.backgroundColor)}}function _o(p,s){if(1&p&&d._UZ(0,"sk-three-bounce",4),2&p){const a=d.oxw(2);d.Q6J("backgroundColor",a.backgroundColor)}}function Oi(p,s){if(1&p&&d._UZ(0,"sk-wandering-cubes",4),2&p){const a=d.oxw(2);d.Q6J("backgroundColor",a.backgroundColor)}}function Ia(p,s){if(1&p&&d._UZ(0,"sk-wave",4),2&p){const a=d.oxw(2);d.Q6J("backgroundColor",a.backgroundColor)}}const Hs=function(p){return{"background-color":p}};function Oa(p,s){if(1&p&&(d.TgZ(0,"div",1),d.YNc(1,ke,1,0,"ng-container",2),d.YNc(2,Rt,1,1,"sk-cube-grid",3),d.YNc(3,Un,1,1,"sk-chasing-dots",3),d.YNc(4,On,1,1,"sk-double-bounce",3),d.YNc(5,Dr,1,1,"sk-rotating-plane",3),d.YNc(6,yo,1,1,"sk-spinner-pulse",3),d.YNc(7,_o,1,1,"sk-three-bounce",3),d.YNc(8,Oi,1,1,"sk-wandering-cubes",3),d.YNc(9,Ia,1,1,"sk-wave",3),d.qZA()),2&p){const a=d.oxw();d.Udp("opacity",a.opacity),d.ekj("backdrop",a.backdrop),d.Q6J("ngStyle",d.VKq(14,Hs,a.backdrop?a.backdropBackgroundColor:"transparent")),d.xp6(1),d.Q6J("ngComponentOutlet",a.entryComponent),d.xp6(1),d.Q6J("ngIf",a.spinner===a.spinkit.skCubeGrid),d.xp6(1),d.Q6J("ngIf",a.spinner===a.spinkit.skChasingDots),d.xp6(1),d.Q6J("ngIf",a.spinner===a.spinkit.skDoubleBounce),d.xp6(1),d.Q6J("ngIf",a.spinner===a.spinkit.skRotatingPlane),d.xp6(1),d.Q6J("ngIf",a.spinner===a.spinkit.skSpinnerPulse),d.xp6(1),d.Q6J("ngIf",a.spinner===a.spinkit.skThreeBounce),d.xp6(1),d.Q6J("ngIf",a.spinner===a.spinkit.skWanderingCubes),d.xp6(1),d.Q6J("ngIf",a.spinner===a.spinkit.skWave)}}let gi=(()=>{class p{}return p.\u0275fac=function(a){return new(a||p)},p.\u0275dir=d.lG2({type:p,inputs:{backgroundColor:"backgroundColor"}}),p})(),ms=(()=>{class p extends gi{}return p.\u0275fac=function(){let s;return function(h){return(s||(s=d.n5z(p)))(h||p)}}(),p.\u0275cmp=d.Xpm({type:p,selectors:[["sk-chasing-dots"]],features:[d.qOj],decls:3,vars:6,consts:[[1,"sk-chasing-dots"],[1,"sk-child","sk-dot1"],[1,"sk-child","sk-dot2"]],template:function(a,h){1&a&&(d.TgZ(0,"div",0),d._UZ(1,"div",1)(2,"div",2),d.qZA()),2&a&&(d.ekj("colored",!h.backgroundColor),d.xp6(1),d.Udp("background-color",h.backgroundColor),d.xp6(1),d.Udp("background-color",h.backgroundColor))},styles:[".sk-chasing-dots[_ngcontent-%COMP%]{top:50%;margin:auto;width:40px;height:40px;position:relative;text-align:center;animation: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:sk-chasingDotsBounce 2s infinite ease-in-out}.sk-chasing-dots[_ngcontent-%COMP%] .sk-dot2[_ngcontent-%COMP%]{top:auto;bottom:0;animation-delay:-1s}@keyframes sk-chasingDotsRotate{to{transform:rotate(360deg)}}@keyframes sk-chasingDotsBounce{0%,to{transform:scale(0)}50%{transform:scale(1)}}"]}),p})(),vo=(()=>{class p extends gi{}return p.\u0275fac=function(){let s;return function(h){return(s||(s=d.n5z(p)))(h||p)}}(),p.\u0275cmp=d.Xpm({type:p,selectors:[["sk-cube-grid"]],features:[d.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(a,h){1&a&&(d.TgZ(0,"div",0),d._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),d.qZA()),2&a&&(d.ekj("colored",!h.backgroundColor),d.xp6(1),d.Udp("background-color",h.backgroundColor),d.xp6(1),d.Udp("background-color",h.backgroundColor),d.xp6(1),d.Udp("background-color",h.backgroundColor),d.xp6(1),d.Udp("background-color",h.backgroundColor),d.xp6(1),d.Udp("background-color",h.backgroundColor),d.xp6(1),d.Udp("background-color",h.backgroundColor),d.xp6(1),d.Udp("background-color",h.backgroundColor),d.xp6(1),d.Udp("background-color",h.backgroundColor),d.xp6(1),d.Udp("background-color",h.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: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 sk-cubeGridScaleDelay{0%,70%,to{transform:scaleZ(1)}35%{transform:scale3D(0,0,1)}}"]}),p})(),Go=(()=>{class p extends gi{}return p.\u0275fac=function(){let s;return function(h){return(s||(s=d.n5z(p)))(h||p)}}(),p.\u0275cmp=d.Xpm({type:p,selectors:[["sk-double-bounce"]],features:[d.qOj],decls:3,vars:6,consts:[[1,"sk-double-bounce"],[1,"sk-child","sk-double-bounce1"],[1,"sk-child","sk-double-bounce2"]],template:function(a,h){1&a&&(d.TgZ(0,"div",0),d._UZ(1,"div",1)(2,"div",2),d.qZA()),2&a&&(d.ekj("colored",!h.backgroundColor),d.xp6(1),d.Udp("background-color",h.backgroundColor),d.xp6(1),d.Udp("background-color",h.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:sk-doubleBounce 2s infinite ease-in-out}.sk-double-bounce[_ngcontent-%COMP%] .sk-double-bounce2[_ngcontent-%COMP%]{animation-delay:-1s}@keyframes sk-doubleBounce{0%,to{transform:scale(0)}50%{transform:scale(1)}}"]}),p})(),Do=(()=>{class p extends gi{}return p.\u0275fac=function(){let s;return function(h){return(s||(s=d.n5z(p)))(h||p)}}(),p.\u0275cmp=d.Xpm({type:p,selectors:[["sk-rotating-plane"]],features:[d.qOj],decls:1,vars:2,consts:[[1,"sk-rotating-plane","colored-parent"]],template:function(a,h){1&a&&d._UZ(0,"div",0),2&a&&d.Udp("background-color",h.backgroundColor)},styles:[".sk-rotating-plane[_ngcontent-%COMP%]{position:relative;top:50%;width:40px;height:40px;margin:auto;animation:sk-rotatePlane 1.2s infinite ease-in-out}@keyframes 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)}}"]}),p})(),zo=(()=>{class p extends gi{}return p.\u0275fac=function(){let s;return function(h){return(s||(s=d.n5z(p)))(h||p)}}(),p.\u0275cmp=d.Xpm({type:p,selectors:[["sk-spinner-pulse"]],features:[d.qOj],decls:1,vars:2,consts:[[1,"sk-spinner","sk-spinner-pulse","colored-parent"]],template:function(a,h){1&a&&d._UZ(0,"div",0),2&a&&d.Udp("background-color",h.backgroundColor)},styles:[".sk-spinner-pulse[_ngcontent-%COMP%]{position:relative;top:50%;width:40px;height:40px;margin:auto;border-radius:100%;animation:sk-pulseScaleOut 1s infinite ease-in-out}@keyframes sk-pulseScaleOut{0%{transform:scale(0)}to{transform:scale(1);opacity:0}}"]}),p})(),Wo=(()=>{class p extends gi{}return p.\u0275fac=function(){let s;return function(h){return(s||(s=d.n5z(p)))(h||p)}}(),p.\u0275cmp=d.Xpm({type:p,selectors:[["sk-three-bounce"]],features:[d.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(a,h){1&a&&(d.TgZ(0,"div",0),d._UZ(1,"div",1)(2,"div",2)(3,"div",3),d.qZA()),2&a&&(d.ekj("colored",!h.backgroundColor),d.xp6(1),d.Udp("background-color",h.backgroundColor),d.xp6(1),d.Udp("background-color",h.backgroundColor),d.xp6(1),d.Udp("background-color",h.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: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 sk-three-bounce{0%,80%,to{transform:scale(0)}40%{transform:scale(1)}}"]}),p})(),Pi=(()=>{class p extends gi{}return p.\u0275fac=function(){let s;return function(h){return(s||(s=d.n5z(p)))(h||p)}}(),p.\u0275cmp=d.Xpm({type:p,selectors:[["sk-wandering-cubes"]],features:[d.qOj],decls:3,vars:6,consts:[[1,"sk-wandering-cubes"],[1,"sk-cube","sk-cube1"],[1,"sk-cube","sk-cube2"]],template:function(a,h){1&a&&(d.TgZ(0,"div",0),d._UZ(1,"div",1)(2,"div",2),d.qZA()),2&a&&(d.ekj("colored",!h.backgroundColor),d.xp6(1),d.Udp("background-color",h.backgroundColor),d.xp6(1),d.Udp("background-color",h.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:sk-wanderingCube 1.8s ease-in-out -1.8s infinite both}.sk-wandering-cubes[_ngcontent-%COMP%] .sk-cube2[_ngcontent-%COMP%]{animation-delay:-.9s}@keyframes 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)}}"]}),p})(),ys=(()=>{class p extends gi{}return p.\u0275fac=function(){let s;return function(h){return(s||(s=d.n5z(p)))(h||p)}}(),p.\u0275cmp=d.Xpm({type:p,selectors:[["sk-wave"]],features:[d.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(a,h){1&a&&(d.TgZ(0,"div",0),d._UZ(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5),d.qZA()),2&a&&(d.ekj("colored",!h.backgroundColor),d.xp6(1),d.Udp("background-color",h.backgroundColor),d.xp6(1),d.Udp("background-color",h.backgroundColor),d.xp6(1),d.Udp("background-color",h.backgroundColor),d.xp6(1),d.Udp("background-color",h.backgroundColor),d.xp6(1),d.Udp("background-color",h.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: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 sk-waveStretchDelay{0%,40%,to{transform:scaleY(.4)}20%{transform:scaleY(1)}}"]}),p})();const Ko={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 Eo=(()=>{class p{constructor(){this._pendingRequests=0,this._pendingRequestsStatus$=new Vn.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(a){this._filteredMethods=a}set filteredHeaders(a){this._filteredHeaders=a}set forceByPass(a){this._forceByPass=a}shouldBypassUrl(a){return this._filteredUrlPatterns.some(h=>h.test(a))}shouldBypassMethod(a){return this._filteredMethods.some(h=>h.toUpperCase()===a.method.toUpperCase())}shouldBypassHeader(a){return this._filteredHeaders.some(h=>a.headers.has(h))}shouldBypass(a){return this._forceByPass||this.shouldBypassUrl(a.urlWithParams)||this.shouldBypassMethod(a)||this.shouldBypassHeader(a)}intercept(a,h){const w=this.shouldBypass(a);return w||(this._pendingRequests++,1===this._pendingRequests&&this._pendingRequestsStatus$.next(!0)),h.handle(a).pipe((0,jn.x)(()=>{w||(this._pendingRequests--,0===this._pendingRequests&&this._pendingRequestsStatus$.next(!1))}))}}return p.\u0275fac=function(a){return new(a||p)},p.\u0275prov=d.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})();const Co=[{provide:k.TP,useExisting:Eo,multi:!0}];let ca=(()=>{class p{constructor(a){this.pendingRequestsInterceptor=a,this._visibility$=new Vn.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.\u0275fac=function(a){return new(a||p)(d.LFG(Eo))},p.\u0275prov=d.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})(),_s=(()=>{class p{constructor(a,h){this.pendingRequestsInterceptor=a,this.spinnerVisibility=h,this.spinkit=Ko,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=Ko.skWave}ngOnInit(){this.initIsvisibleObservable(),this.nullifySpinnerIfEntryComponentIsDefined(),this.initFilters()}initIsvisibleObservable(){const[a,h]=function Vr(p,s,a){return[(0,fe.h)(s,a)((0,Wt.Xf)(p)),(0,fe.h)(Ze(s,a))((0,Wt.Xf)(p))]}(this.pendingRequestsInterceptor.pendingRequestsStatus$,w=>w);this.isVisible$=(0,ue.T)(this.pendingRequestsInterceptor.pendingRequestsStatus$.pipe((0,xe.w)(()=>a.pipe(E(()=>(0,vr.H)(this.debounceDelay))))),a.pipe((0,xe.w)(()=>h.pipe(E(()=>this.getVisibilityTimer$())))),this.spinnerVisibility.visibility$).pipe((0,D.x)(),(0,Pe.b)(w=>this.updateExpirationDelay(w)))}nullifySpinnerIfEntryComponentIsDefined(){this.entryComponent&&(this.spinner=null)}initFilters(){this.initFilteredUrlPatterns(),this.initFilteredMethods(),this.initFilteredHeaders()}initFilteredUrlPatterns(){this.filteredUrlPatterns.length&&this.filteredUrlPatterns.forEach(a=>this.pendingRequestsInterceptor.filteredUrlPatterns.push(new RegExp(a)))}initFilteredMethods(){this.pendingRequestsInterceptor.filteredMethods=this.filteredMethods}initFilteredHeaders(){this.pendingRequestsInterceptor.filteredHeaders=this.filteredHeaders}updateExpirationDelay(a){a&&(this.visibleUntil=Date.now()+this.minDuration)}getVisibilityTimer$(){return(0,vr.H)(Math.max(this.extraDuration,this.visibleUntil-Date.now()))}}return p.\u0275fac=function(a){return new(a||p)(d.Y36(Eo),d.Y36(ca))},p.\u0275cmp=d.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(a,h){1&a&&(d.YNc(0,Oa,10,16,"div",0),d.ALo(1,"async")),2&a&&d.Q6J("ngIf",d.lcZ(1,1,h.isVisible$))},dependencies:[Ue.$G,Ue.O5,Ue.PC,vo,ms,Go,Do,zo,Wo,Pi,ys,Ue.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}"]}),p})(),tr=(()=>{class p{static forRoot(){return{ngModule:p,providers:[Co]}}}return p.\u0275fac=function(a){return new(a||p)},p.\u0275mod=d.oAB({type:p}),p.\u0275inj=d.cJS({imports:[Ue.ez]}),p})();var Wr=S(5826),zt=S(7340);function js(p){return new d.vHH(3e3,!1)}function ma(){return typeof window<"u"&&typeof window.document<"u"}function ri(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function Ur(p){switch(p.length){case 0:return new zt.ZN;case 1:return p[0];default:return new zt.ZE(p)}}function Mo(p,s,a,h,w=new Map,O=new Map){const j=[],q=[];let pe=-1,je=null;if(h.forEach(ht=>{const pt=ht.get("offset"),fn=pt==pe,un=fn&&je||new Map;ht.forEach((Ht,Kt)=>{let _n=Kt,Pn=Ht;if("offset"!==Kt)switch(_n=s.normalizePropertyName(_n,j),Pn){case zt.k1:Pn=w.get(Kt);break;case zt.l3:Pn=O.get(Kt);break;default:Pn=s.normalizeStyleValue(Kt,_n,Pn,j)}un.set(_n,Pn)}),fn||q.push(un),je=un,pe=pt}),j.length)throw function Ao(p){return new d.vHH(3502,!1)}();return q}function So(p,s,a,h){switch(s){case"start":p.onStart(()=>h(a&&xi(a,"start",p)));break;case"done":p.onDone(()=>h(a&&xi(a,"done",p)));break;case"destroy":p.onDestroy(()=>h(a&&xi(a,"destroy",p)))}}function xi(p,s,a){const O=Ys(p.element,p.triggerName,p.fromState,p.toState,s||p.phaseName,a.totalTime??p.totalTime,!!a.disabled),j=p._data;return null!=j&&(O._data=j),O}function Ys(p,s,a,h,w="",O=0,j){return{element:p,triggerName:s,fromState:a,toState:h,phaseName:w,totalTime:O,disabled:!!j}}function pr(p,s,a){let h=p.get(s);return h||p.set(s,h=a),h}function qs(p){const s=p.indexOf(":");return[p.substring(1,s),p.slice(s+1)]}let Io=(p,s)=>!1,Qs=(p,s,a)=>[],es=null;function Yn(p){const s=p.parentNode||p.host;return s===es?null:s}(ri()||typeof Element<"u")&&(ma()?(es=(()=>document.documentElement)(),Io=(p,s)=>{for(;s;){if(s===p)return!0;s=Yn(s)}return!1}):Io=(p,s)=>p.contains(s),Qs=(p,s,a)=>{if(a)return Array.from(p.querySelectorAll(s));const h=p.querySelector(s);return h?[h]:[]});let Kr=null,Po=!1;const bs=Io,Va=Qs;let ts=(()=>{class p{validateStyleProperty(a){return function Ri(p){Kr||(Kr=function Cs(){return typeof document<"u"?document.body:null}()||{},Po=!!Kr.style&&"WebkitAppearance"in Kr.style);let s=!0;return Kr.style&&!function ya(p){return"ebkit"==p.substring(1,6)}(p)&&(s=p in Kr.style,!s&&Po&&(s="Webkit"+p.charAt(0).toUpperCase()+p.slice(1)in Kr.style)),s}(a)}matchesElement(a,h){return!1}containsElement(a,h){return bs(a,h)}getParentElement(a){return Yn(a)}query(a,h,w){return Va(a,h,w)}computeStyle(a,h,w){return w||""}animate(a,h,w,O,j,q=[],pe){return new zt.ZN(w,O)}}return p.\u0275fac=function(a){return new(a||p)},p.\u0275prov=d.Yz7({token:p,factory:p.\u0275fac}),p})(),yi=(()=>{class p{}return p.NOOP=new ts,p})();const no="ng-enter",Zr="ng-leave",Ni="ng-trigger",ns=".ng-trigger",pn="ng-animating",Ts=".ng-animating";function xo(p){if("number"==typeof p)return p;const s=p.match(/^(-?[\.\d]+)(m?s)/);return!s||s.length<2?0:Ms(parseFloat(s[1]),s[2])}function Ms(p,s){return"s"===s?1e3*p:p}function Js(p,s,a){return p.hasOwnProperty("duration")?p:function Ua(p,s,a){let w,O=0,j="";if("string"==typeof p){const q=p.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===q)return s.push(js()),{duration:0,delay:0,easing:""};w=Ms(parseFloat(q[1]),q[2]);const pe=q[3];null!=pe&&(O=Ms(parseFloat(pe),q[4]));const je=q[5];je&&(j=je)}else w=p;if(!a){let q=!1,pe=s.length;w<0&&(s.push(function $s(){return new d.vHH(3100,!1)}()),q=!0),O<0&&(s.push(function Gs(){return new d.vHH(3101,!1)}()),q=!0),q&&s.splice(pe,0,js())}return{duration:w,delay:O,easing:j}}(p,s,a)}function Ss(p,s={}){return Object.keys(p).forEach(a=>{s[a]=p[a]}),s}function Xs(p){const s=new Map;return Object.keys(p).forEach(a=>{s.set(a,p[a])}),s}function io(p,s=new Map,a){if(a)for(let[h,w]of a)s.set(h,w);for(let[h,w]of p)s.set(h,w);return s}function nr(p,s,a){return a?s+":"+a+";":""}function rs(p){let s="";for(let a=0;a<p.style.length;a++){const h=p.style.item(a);s+=nr(0,h,p.style.getPropertyValue(h))}for(const a in p.style)p.style.hasOwnProperty(a)&&!a.startsWith("_")&&(s+=nr(0,$(a),p.style[a]));p.setAttribute("style",s)}function jr(p,s,a){p.style&&(s.forEach((h,w)=>{const O=N(w);a&&!a.has(w)&&a.set(w,p.style[O]),p.style[O]=h}),ri()&&rs(p))}function Ro(p,s){p.style&&(s.forEach((a,h)=>{const w=N(h);p.style[w]=""}),ri()&&rs(p))}function Is(p){return Array.isArray(p)?1==p.length?p[0]:(0,zt.vP)(p):p}const f=new RegExp("{{\\s*(.+?)\\s*}}","g");function g(p){let s=[];if("string"==typeof p){let a;for(;a=f.exec(p);)s.push(a[1]);f.lastIndex=0}return s}function c(p,s,a){const h=p.toString(),w=h.replace(f,(O,j)=>{let q=s[j];return null==q&&(a.push(function zs(p){return new d.vHH(3003,!1)}()),q=""),q.toString()});return w==h?p:w}function _(p){const s=[];let a=p.next();for(;!a.done;)s.push(a.value),a=p.next();return s}const b=/-+([a-z0-9])/g;function N(p){return p.replace(b,(...s)=>s[1].toUpperCase())}function $(p){return p.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function it(p,s,a){switch(s.type){case 7:return p.visitTrigger(s,a);case 0:return p.visitState(s,a);case 1:return p.visitTransition(s,a);case 2:return p.visitSequence(s,a);case 3:return p.visitGroup(s,a);case 4:return p.visitAnimate(s,a);case 5:return p.visitKeyframes(s,a);case 6:return p.visitStyle(s,a);case 8:return p.visitReference(s,a);case 9:return p.visitAnimateChild(s,a);case 10:return p.visitAnimateRef(s,a);case 11:return p.visitQuery(s,a);case 12:return p.visitStagger(s,a);default:throw function vs(p){return new d.vHH(3004,!1)}()}}function Bt(p,s){return window.getComputedStyle(p)[s]}function ta(p,s){const a=[];return"string"==typeof p?p.split(/\s*,\s*/).forEach(h=>function _u(p,s,a){if(":"==p[0]){const pe=function al(p,s){switch(p){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(a,h)=>parseFloat(h)>parseFloat(a);case":decrement":return(a,h)=>parseFloat(h)<parseFloat(a);default:return s.push(function ka(p){return new d.vHH(3016,!1)}()),"* => *"}}(p,a);if("function"==typeof pe)return void s.push(pe);p=pe}const h=p.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==h||h.length<4)return a.push(function Fa(p){return new d.vHH(3015,!1)}()),s;const w=h[1],O=h[2],j=h[3];s.push(Ps(w,j));"<"==O[0]&&!("*"==w&&"*"==j)&&s.push(Ps(j,w))}(h,a,s)):a.push(p),a}const Os=new Set(["true","1"]),Ha=new Set(["false","0"]);function Ps(p,s){const a=Os.has(p)||Ha.has(p),h=Os.has(s)||Ha.has(s);return(w,O)=>{let j="*"==p||p==w,q="*"==s||s==O;return!j&&a&&"boolean"==typeof w&&(j=w?Os.has(p):Ha.has(p)),!q&&h&&"boolean"==typeof O&&(q=O?Os.has(s):Ha.has(s)),j&&q}}const na=new RegExp("s*:selfs*,?","g");function ja(p,s,a,h){return new is(p).build(s,a,h)}class is{constructor(s){this._driver=s}build(s,a,h){const w=new ra(a);return this._resetContextStyleTimingState(w),it(this,Is(s),w)}_resetContextStyleTimingState(s){s.currentQuerySelector="",s.collectedStyles=new Map,s.collectedStyles.set("",new Map),s.currentTime=0}visitTrigger(s,a){let h=a.queryCount=0,w=a.depCount=0;const O=[],j=[];return"@"==s.name.charAt(0)&&a.errors.push(function Ws(){return new d.vHH(3006,!1)}()),s.definitions.forEach(q=>{if(this._resetContextStyleTimingState(a),0==q.type){const pe=q,je=pe.name;je.toString().split(/\s*,\s*/).forEach(ht=>{pe.name=ht,O.push(this.visitState(pe,a))}),pe.name=je}else if(1==q.type){const pe=this.visitTransition(q,a);h+=pe.queryCount,w+=pe.depCount,j.push(pe)}else a.errors.push(function Yo(){return new d.vHH(3007,!1)}())}),{type:7,name:s.name,states:O,transitions:j,queryCount:h,depCount:w,options:null}}visitState(s,a){const h=this.visitStyle(s.styles,a),w=s.options&&s.options.params||null;if(h.containsDynamicStyles){const O=new Set,j=w||{};h.styles.forEach(q=>{q instanceof Map&&q.forEach(pe=>{g(pe).forEach(je=>{j.hasOwnProperty(je)||O.add(je)})})}),O.size&&(_(O.values()),a.errors.push(function Ra(p,s){return new d.vHH(3008,!1)}()))}return{type:0,name:s.name,style:h,options:w?{params:w}:null}}visitTransition(s,a){a.queryCount=0,a.depCount=0;const h=it(this,Is(s.animation),a);return{type:1,matchers:ta(s.expr,a.errors),animation:h,queryCount:a.queryCount,depCount:a.depCount,options:No(s.options)}}visitSequence(s,a){return{type:2,steps:s.steps.map(h=>it(this,h,a)),options:No(s.options)}}visitGroup(s,a){const h=a.currentTime;let w=0;const O=s.steps.map(j=>{a.currentTime=h;const q=it(this,j,a);return w=Math.max(w,a.currentTime),q});return a.currentTime=w,{type:3,steps:O,options:No(s.options)}}visitAnimate(s,a){const h=function rr(p,s){if(p.hasOwnProperty("duration"))return p;if("number"==typeof p)return va(Js(p,s).duration,0,"");const a=p;if(a.split(/\s+/).some(O=>"{"==O.charAt(0)&&"{"==O.charAt(1))){const O=va(0,0,"");return O.dynamic=!0,O.strValue=a,O}const w=Js(a,s);return va(w.duration,w.delay,w.easing)}(s.timings,a.errors);a.currentAnimateTimings=h;let w,O=s.styles?s.styles:(0,zt.oB)({});if(5==O.type)w=this.visitKeyframes(O,a);else{let j=s.styles,q=!1;if(!j){q=!0;const je={};h.easing&&(je.easing=h.easing),j=(0,zt.oB)(je)}a.currentTime+=h.duration+h.delay;const pe=this.visitStyle(j,a);pe.isEmptyStep=q,w=pe}return a.currentAnimateTimings=null,{type:4,timings:h,style:w,options:null}}visitStyle(s,a){const h=this._makeStyleAst(s,a);return this._validateStyleAst(h,a),h}_makeStyleAst(s,a){const h=[],w=Array.isArray(s.styles)?s.styles:[s.styles];for(let q of w)"string"==typeof q?q===zt.l3?h.push(q):a.errors.push(new d.vHH(3002,!1)):h.push(Xs(q));let O=!1,j=null;return h.forEach(q=>{if(q instanceof Map&&(q.has("easing")&&(j=q.get("easing"),q.delete("easing")),!O))for(let pe of q.values())if(pe.toString().indexOf("{{")>=0){O=!0;break}}),{type:6,styles:h,easing:j,offset:s.offset,containsDynamicStyles:O,options:null}}_validateStyleAst(s,a){const h=a.currentAnimateTimings;let w=a.currentTime,O=a.currentTime;h&&O>0&&(O-=h.duration+h.delay),s.styles.forEach(j=>{"string"!=typeof j&&j.forEach((q,pe)=>{const je=a.collectedStyles.get(a.currentQuerySelector),ht=je.get(pe);let pt=!0;ht&&(O!=w&&O>=ht.startTime&&w<=ht.endTime&&(a.errors.push(function qo(p,s,a,h,w){return new d.vHH(3010,!1)}()),pt=!1),O=ht.startTime),pt&&je.set(pe,{startTime:O,endTime:w}),a.options&&function $r(p,s,a){const h=s.params||{},w=g(p);w.length&&w.forEach(O=>{h.hasOwnProperty(O)||a.push(function xa(p){return new d.vHH(3001,!1)}())})}(q,a.options,a.errors)})})}visitKeyframes(s,a){const h={type:5,styles:[],options:null};if(!a.currentAnimateTimings)return a.errors.push(function Na(){return new d.vHH(3011,!1)}()),h;let O=0;const j=[];let q=!1,pe=!1,je=0;const ht=s.steps.map(Pn=>{const Jn=this._makeStyleAst(Pn,a);let Rr=null!=Jn.offset?Jn.offset:function vu(p){if("string"==typeof p)return null;let s=null;if(Array.isArray(p))p.forEach(a=>{if(a instanceof Map&&a.has("offset")){const h=a;s=parseFloat(h.get("offset")),h.delete("offset")}});else if(p instanceof Map&&p.has("offset")){const a=p;s=parseFloat(a.get("offset")),a.delete("offset")}return s}(Jn.styles),vn=0;return null!=Rr&&(O++,vn=Jn.offset=Rr),pe=pe||vn<0||vn>1,q=q||vn<je,je=vn,j.push(vn),Jn});pe&&a.errors.push(function da(){return new d.vHH(3012,!1)}()),q&&a.errors.push(function Qo(){return new d.vHH(3200,!1)}());const pt=s.steps.length;let fn=0;O>0&&O<pt?a.errors.push(function Jo(){return new d.vHH(3202,!1)}()):0==O&&(fn=1/(pt-1));const un=pt-1,Ht=a.currentTime,Kt=a.currentAnimateTimings,_n=Kt.duration;return ht.forEach((Pn,Jn)=>{const Rr=fn>0?Jn==un?1:fn*Jn:j[Jn],vn=Rr*_n;a.currentTime=Ht+Kt.delay+vn,Kt.duration=vn,this._validateStyleAst(Pn,a),Pn.offset=Rr,h.styles.push(Pn)}),h}visitReference(s,a){return{type:8,animation:it(this,Is(s.animation),a),options:No(s.options)}}visitAnimateChild(s,a){return a.depCount++,{type:9,options:No(s.options)}}visitAnimateRef(s,a){return{type:10,animation:this.visitReference(s.animation,a),options:No(s.options)}}visitQuery(s,a){const h=a.currentQuerySelector,w=s.options||{};a.queryCount++,a.currentQuery=s;const[O,j]=function ul(p){const s=!!p.split(/\s*,\s*/).find(a=>":self"==a);return s&&(p=p.replace(na,"")),p=p.replace(/@\*/g,ns).replace(/@\w+/g,a=>ns+"-"+a.slice(1)).replace(/:animating/g,Ts),[p,s]}(s.selector);a.currentQuerySelector=h.length?h+" "+O:O,pr(a.collectedStyles,a.currentQuerySelector,new Map);const q=it(this,Is(s.animation),a);return a.currentQuery=null,a.currentQuerySelector=h,{type:11,selector:O,limit:w.limit||0,optional:!!w.optional,includeSelf:j,animation:q,originalSelector:s.selector,options:No(s.options)}}visitStagger(s,a){a.currentQuery||a.errors.push(function ar(){return new d.vHH(3013,!1)}());const h="full"===s.timings?{duration:0,delay:0,easing:"full"}:Js(s.timings,a.errors,!0);return{type:12,animation:it(this,Is(s.animation),a),timings:h,options:null}}}class ra{constructor(s){this.errors=s,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 No(p){return p?(p=Ss(p)).params&&(p.params=function ki(p){return p?Ss(p):null}(p.params)):p={},p}function va(p,s,a){return{duration:p,delay:s,easing:a}}function Da(p,s,a,h,w,O,j=null,q=!1){return{type:1,element:p,keyframes:s,preStyleProps:a,postStyleProps:h,duration:w,delay:O,totalTime:w+O,easing:j,subTimeline:q}}class v{constructor(){this._map=new Map}get(s){return this._map.get(s)||[]}append(s,a){let h=this._map.get(s);h||this._map.set(s,h=[]),h.push(...a)}has(s){return this._map.has(s)}clear(){this._map.clear()}}const K=new RegExp(":enter","g"),Ie=new RegExp(":leave","g");function Xe(p,s,a,h,w,O=new Map,j=new Map,q,pe,je=[]){return(new Ct).buildKeyframes(p,s,a,h,w,O,j,q,pe,je)}class Ct{buildKeyframes(s,a,h,w,O,j,q,pe,je,ht=[]){je=je||new v;const pt=new Lt(s,a,je,w,O,ht,[]);pt.options=pe;const fn=pe.delay?xo(pe.delay):0;pt.currentTimeline.delayNextStep(fn),pt.currentTimeline.setStyles([j],null,pt.errors,pe),it(this,h,pt);const un=pt.timelines.filter(Ht=>Ht.containsAnimation());if(un.length&&q.size){let Ht;for(let Kt=un.length-1;Kt>=0;Kt--){const _n=un[Kt];if(_n.element===a){Ht=_n;break}}Ht&&!Ht.allowOnlyTimelineStyles()&&Ht.setStyles([q],null,pt.errors,pe)}return un.length?un.map(Ht=>Ht.buildKeyframes()):[Da(a,[],[],[],0,fn,"",!1)]}visitTrigger(s,a){}visitState(s,a){}visitTransition(s,a){}visitAnimateChild(s,a){const h=a.subInstructions.get(a.element);if(h){const w=a.createSubContext(s.options),O=a.currentTimeline.currentTime,j=this._visitSubInstructions(h,w,w.options);O!=j&&a.transformIntoNewTimeline(j)}a.previousNode=s}visitAnimateRef(s,a){const h=a.createSubContext(s.options);h.transformIntoNewTimeline(),this.visitReference(s.animation,h),a.transformIntoNewTimeline(h.currentTimeline.currentTime),a.previousNode=s}_visitSubInstructions(s,a,h){let O=a.currentTimeline.currentTime;const j=null!=h.duration?xo(h.duration):null,q=null!=h.delay?xo(h.delay):null;return 0!==j&&s.forEach(pe=>{const je=a.appendInstructionToTimeline(pe,j,q);O=Math.max(O,je.duration+je.delay)}),O}visitReference(s,a){a.updateOptions(s.options,!0),it(this,s.animation,a),a.previousNode=s}visitSequence(s,a){const h=a.subContextCount;let w=a;const O=s.options;if(O&&(O.params||O.delay)&&(w=a.createSubContext(O),w.transformIntoNewTimeline(),null!=O.delay)){6==w.previousNode.type&&(w.currentTimeline.snapshotCurrentStyles(),w.previousNode=It);const j=xo(O.delay);w.delayNextStep(j)}s.steps.length&&(s.steps.forEach(j=>it(this,j,w)),w.currentTimeline.applyStylesToKeyframe(),w.subContextCount>h&&w.transformIntoNewTimeline()),a.previousNode=s}visitGroup(s,a){const h=[];let w=a.currentTimeline.currentTime;const O=s.options&&s.options.delay?xo(s.options.delay):0;s.steps.forEach(j=>{const q=a.createSubContext(s.options);O&&q.delayNextStep(O),it(this,j,q),w=Math.max(w,q.currentTimeline.currentTime),h.push(q.currentTimeline)}),h.forEach(j=>a.currentTimeline.mergeTimelineCollectedStyles(j)),a.transformIntoNewTimeline(w),a.previousNode=s}_visitTiming(s,a){if(s.dynamic){const h=s.strValue;return Js(a.params?c(h,a.params,a.errors):h,a.errors)}return{duration:s.duration,delay:s.delay,easing:s.easing}}visitAnimate(s,a){const h=a.currentAnimateTimings=this._visitTiming(s.timings,a),w=a.currentTimeline;h.delay&&(a.incrementTime(h.delay),w.snapshotCurrentStyles());const O=s.style;5==O.type?this.visitKeyframes(O,a):(a.incrementTime(h.duration),this.visitStyle(O,a),w.applyStylesToKeyframe()),a.currentAnimateTimings=null,a.previousNode=s}visitStyle(s,a){const h=a.currentTimeline,w=a.currentAnimateTimings;!w&&h.hasCurrentStyleProperties()&&h.forwardFrame();const O=w&&w.easing||s.easing;s.isEmptyStep?h.applyEmptyStep(O):h.setStyles(s.styles,O,a.errors,a.options),a.previousNode=s}visitKeyframes(s,a){const h=a.currentAnimateTimings,w=a.currentTimeline.duration,O=h.duration,q=a.createSubContext().currentTimeline;q.easing=h.easing,s.styles.forEach(pe=>{q.forwardTime((pe.offset||0)*O),q.setStyles(pe.styles,pe.easing,a.errors,a.options),q.applyStylesToKeyframe()}),a.currentTimeline.mergeTimelineCollectedStyles(q),a.transformIntoNewTimeline(w+O),a.previousNode=s}visitQuery(s,a){const h=a.currentTimeline.currentTime,w=s.options||{},O=w.delay?xo(w.delay):0;O&&(6===a.previousNode.type||0==h&&a.currentTimeline.hasCurrentStyleProperties())&&(a.currentTimeline.snapshotCurrentStyles(),a.previousNode=It);let j=h;const q=a.invokeQuery(s.selector,s.originalSelector,s.limit,s.includeSelf,!!w.optional,a.errors);a.currentQueryTotal=q.length;let pe=null;q.forEach((je,ht)=>{a.currentQueryIndex=ht;const pt=a.createSubContext(s.options,je);O&&pt.delayNextStep(O),je===a.element&&(pe=pt.currentTimeline),it(this,s.animation,pt),pt.currentTimeline.applyStylesToKeyframe(),j=Math.max(j,pt.currentTimeline.currentTime)}),a.currentQueryIndex=0,a.currentQueryTotal=0,a.transformIntoNewTimeline(j),pe&&(a.currentTimeline.mergeTimelineCollectedStyles(pe),a.currentTimeline.snapshotCurrentStyles()),a.previousNode=s}visitStagger(s,a){const h=a.parentContext,w=a.currentTimeline,O=s.timings,j=Math.abs(O.duration),q=j*(a.currentQueryTotal-1);let pe=j*a.currentQueryIndex;switch(O.duration<0?"reverse":O.easing){case"reverse":pe=q-pe;break;case"full":pe=h.currentStaggerTime}const ht=a.currentTimeline;pe&&ht.delayNextStep(pe);const pt=ht.currentTime;it(this,s.animation,a),a.previousNode=s,h.currentStaggerTime=w.currentTime-pt+(w.startTime-h.currentTimeline.startTime)}}const It={};class Lt{constructor(s,a,h,w,O,j,q,pe){this._driver=s,this.element=a,this.subInstructions=h,this._enterClassName=w,this._leaveClassName=O,this.errors=j,this.timelines=q,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=It,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=pe||new on(this._driver,a,0),q.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(s,a){if(!s)return;const h=s;let w=this.options;null!=h.duration&&(w.duration=xo(h.duration)),null!=h.delay&&(w.delay=xo(h.delay));const O=h.params;if(O){let j=w.params;j||(j=this.options.params={}),Object.keys(O).forEach(q=>{(!a||!j.hasOwnProperty(q))&&(j[q]=c(O[q],j,this.errors))})}}_copyOptions(){const s={};if(this.options){const a=this.options.params;if(a){const h=s.params={};Object.keys(a).forEach(w=>{h[w]=a[w]})}}return s}createSubContext(s=null,a,h){const w=a||this.element,O=new Lt(this._driver,w,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(w,h||0));return O.previousNode=this.previousNode,O.currentAnimateTimings=this.currentAnimateTimings,O.options=this._copyOptions(),O.updateOptions(s),O.currentQueryIndex=this.currentQueryIndex,O.currentQueryTotal=this.currentQueryTotal,O.parentContext=this,this.subContextCount++,O}transformIntoNewTimeline(s){return this.previousNode=It,this.currentTimeline=this.currentTimeline.fork(this.element,s),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(s,a,h){const w={duration:a??s.duration,delay:this.currentTimeline.currentTime+(h??0)+s.delay,easing:""},O=new Qt(this._driver,s.element,s.keyframes,s.preStyleProps,s.postStyleProps,w,s.stretchStartingKeyframe);return this.timelines.push(O),w}incrementTime(s){this.currentTimeline.forwardTime(this.currentTimeline.duration+s)}delayNextStep(s){s>0&&this.currentTimeline.delayNextStep(s)}invokeQuery(s,a,h,w,O,j){let q=[];if(w&&q.push(this.element),s.length>0){s=(s=s.replace(K,"."+this._enterClassName)).replace(Ie,"."+this._leaveClassName);let je=this._driver.query(this.element,s,1!=h);0!==h&&(je=h<0?je.slice(je.length+h,je.length):je.slice(0,h)),q.push(...je)}return!O&&0==q.length&&j.push(function Ks(p){return new d.vHH(3014,!1)}()),q}}class on{constructor(s,a,h,w){this._driver=s,this.element=a,this.startTime=h,this._elementTimelineStylesLookup=w,this.duration=0,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(a),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(a,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(s){const a=1===this._keyframes.size&&this._pendingStyles.size;this.duration||a?(this.forwardTime(this.currentTime+s),a&&this.snapshotCurrentStyles()):this.startTime+=s}fork(s,a){return this.applyStylesToKeyframe(),new on(this._driver,s,a||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(s){this.applyStylesToKeyframe(),this.duration=s,this._loadKeyframe()}_updateStyle(s,a){this._localTimelineStyles.set(s,a),this._globalTimelineStyles.set(s,a),this._styleSummary.set(s,{time:this.currentTime,value:a})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(s){s&&this._previousKeyframe.set("easing",s);for(let[a,h]of this._globalTimelineStyles)this._backFill.set(a,h||zt.l3),this._currentKeyframe.set(a,zt.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(s,a,h,w){a&&this._previousKeyframe.set("easing",a);const O=w&&w.params||{},j=function Cr(p,s){const a=new Map;let h;return p.forEach(w=>{if("*"===w){h=h||s.keys();for(let O of h)a.set(O,zt.l3)}else io(w,a)}),a}(s,this._globalTimelineStyles);for(let[q,pe]of j){const je=c(pe,O,h);this._pendingStyles.set(q,je),this._localTimelineStyles.has(q)||this._backFill.set(q,this._globalTimelineStyles.get(q)??zt.l3),this._updateStyle(q,je)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((s,a)=>{this._currentKeyframe.set(a,s)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((s,a)=>{this._currentKeyframe.has(a)||this._currentKeyframe.set(a,s)}))}snapshotCurrentStyles(){for(let[s,a]of this._localTimelineStyles)this._pendingStyles.set(s,a),this._updateStyle(s,a)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const s=[];for(let a in this._currentKeyframe)s.push(a);return s}mergeTimelineCollectedStyles(s){s._styleSummary.forEach((a,h)=>{const w=this._styleSummary.get(h);(!w||a.time>w.time)&&this._updateStyle(h,a.value)})}buildKeyframes(){this.applyStylesToKeyframe();const s=new Set,a=new Set,h=1===this._keyframes.size&&0===this.duration;let w=[];this._keyframes.forEach((q,pe)=>{const je=io(q,new Map,this._backFill);je.forEach((ht,pt)=>{ht===zt.k1?s.add(pt):ht===zt.l3&&a.add(pt)}),h||je.set("offset",pe/this.duration),w.push(je)});const O=s.size?_(s.values()):[],j=a.size?_(a.values()):[];if(h){const q=w[0],pe=new Map(q);q.set("offset",0),pe.set("offset",1),w=[q,pe]}return Da(this.element,w,O,j,this.duration,this.startTime,this.easing,!1)}}class Qt extends on{constructor(s,a,h,w,O,j,q=!1){super(s,a,j.delay),this.keyframes=h,this.preStyleProps=w,this.postStyleProps=O,this._stretchStartingKeyframe=q,this.timings={duration:j.duration,delay:j.delay,easing:j.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let s=this.keyframes,{delay:a,duration:h,easing:w}=this.timings;if(this._stretchStartingKeyframe&&a){const O=[],j=h+a,q=a/j,pe=io(s[0]);pe.set("offset",0),O.push(pe);const je=io(s[0]);je.set("offset",Qr(q)),O.push(je);const ht=s.length-1;for(let pt=1;pt<=ht;pt++){let fn=io(s[pt]);const un=fn.get("offset");fn.set("offset",Qr((a+un*h)/j)),O.push(fn)}h=j,a=0,w="",s=O}return Da(this.element,s,this.preStyleProps,this.postStyleProps,h,a,w,!0)}}function Qr(p,s=3){const a=Math.pow(10,s-1);return Math.round(p*a)/a}class Yi{}const Li=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 os extends Yi{normalizePropertyName(s,a){return N(s)}normalizeStyleValue(s,a,h,w){let O="";const j=h.toString().trim();if(Li.has(a)&&0!==h&&"0"!==h)if("number"==typeof h)O="px";else{const q=h.match(/^[+-]?[\d\.]+([a-z]*)$/);q&&0==q[1].length&&w.push(function bo(p,s){return new d.vHH(3005,!1)}())}return j+O}}function Ea(p,s,a,h,w,O,j,q,pe,je,ht,pt,fn){return{type:0,element:p,triggerName:s,isRemovalTransition:w,fromState:a,fromStyles:O,toState:h,toStyles:j,timelines:q,queriedElements:pe,preStyleProps:je,postStyleProps:ht,totalTime:pt,errors:fn}}const Hl={};class _c{constructor(s,a,h){this._triggerName=s,this.ast=a,this._stateStyles=h}match(s,a,h,w){return function vc(p,s,a,h,w){return p.some(O=>O(s,a,h,w))}(this.ast.matchers,s,a,h,w)}buildStyles(s,a,h){let w=this._stateStyles.get("*");return void 0!==s&&(w=this._stateStyles.get(s?.toString())||w),w?w.buildStyles(a,h):new Map}build(s,a,h,w,O,j,q,pe,je,ht){const pt=[],fn=this.ast.options&&this.ast.options.params||Hl,Ht=this.buildStyles(h,q&&q.params||Hl,pt),Kt=pe&&pe.params||Hl,_n=this.buildStyles(w,Kt,pt),Pn=new Set,Jn=new Map,Rr=new Map,vn="void"===w,Nr={params:Dc(Kt,fn),delay:this.ast.options?.delay},br=ht?[]:Xe(s,a,this.ast.animation,O,j,Ht,_n,Nr,je,pt);let Jr=0;if(br.forEach(ss=>{Jr=Math.max(ss.duration+ss.delay,Jr)}),pt.length)return Ea(a,this._triggerName,h,w,vn,Ht,_n,[],[],Jn,Rr,Jr,pt);br.forEach(ss=>{const so=ss.element,Ka=pr(Jn,so,new Set);ss.preStyleProps.forEach(as=>Ka.add(as));const Za=pr(Rr,so,new Set);ss.postStyleProps.forEach(as=>Za.add(as)),so!==a&&Pn.add(so)});const oi=_(Pn.values());return Ea(a,this._triggerName,h,w,vn,Ht,_n,br,oi,Jn,Rr,Jr)}}function Dc(p,s){const a=Ss(s);for(const h in p)p.hasOwnProperty(h)&&null!=p[h]&&(a[h]=p[h]);return a}class cl{constructor(s,a,h){this.styles=s,this.defaultParams=a,this.normalizer=h}buildStyles(s,a){const h=new Map,w=Ss(this.defaultParams);return Object.keys(s).forEach(O=>{const j=s[O];null!==j&&(w[O]=j)}),this.styles.styles.forEach(O=>{"string"!=typeof O&&O.forEach((j,q)=>{j&&(j=c(j,w,a));const pe=this.normalizer.normalizePropertyName(q,a);j=this.normalizer.normalizeStyleValue(q,pe,j,a),h.set(pe,j)})}),h}}class Ec{constructor(s,a,h){this.name=s,this.ast=a,this._normalizer=h,this.transitionFactories=[],this.states=new Map,a.states.forEach(w=>{this.states.set(w.name,new cl(w.style,w.options&&w.options.params||{},h))}),Cc(this.states,"true","1"),Cc(this.states,"false","0"),a.transitions.forEach(w=>{this.transitionFactories.push(new _c(s,w,this.states))}),this.fallbackTransition=function Eu(p,s,a){return new _c(p,{type:1,animation:{type:2,steps:[],options:null},matchers:[(j,q)=>!0],options:null,queryCount:0,depCount:0},s)}(s,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(s,a,h,w){return this.transitionFactories.find(j=>j.match(s,a,h,w))||null}matchStyles(s,a,h){return this.fallbackTransition.buildStyles(s,a,h)}}function Cc(p,s,a){p.has(s)?p.has(a)||p.set(a,p.get(s)):p.has(a)&&p.set(s,p.get(a))}const Cu=new v;class Kf{constructor(s,a,h){this.bodyNode=s,this._driver=a,this._normalizer=h,this._animations=new Map,this._playersById=new Map,this.players=[]}register(s,a){const h=[],O=ja(this._driver,a,h,[]);if(h.length)throw function ha(p){return new d.vHH(3503,!1)}();this._animations.set(s,O)}_buildPlayer(s,a,h){const w=s.element,O=Mo(0,this._normalizer,0,s.keyframes,a,h);return this._driver.animate(w,O,s.duration,s.delay,s.easing,[],!0)}create(s,a,h={}){const w=[],O=this._animations.get(s);let j;const q=new Map;if(O?(j=Xe(this._driver,a,O,no,Zr,new Map,new Map,h,Cu,w),j.forEach(ht=>{const pt=pr(q,ht.element,new Map);ht.postStyleProps.forEach(fn=>pt.set(fn,null))})):(w.push(function pa(){return new d.vHH(3300,!1)}()),j=[]),w.length)throw function To(p){return new d.vHH(3504,!1)}();q.forEach((ht,pt)=>{ht.forEach((fn,un)=>{ht.set(un,this._driver.computeStyle(pt,un,zt.l3))})});const je=Ur(j.map(ht=>{const pt=q.get(ht.element);return this._buildPlayer(ht,new Map,pt)}));return this._playersById.set(s,je),je.onDestroy(()=>this.destroy(s)),this.players.push(je),je}destroy(s){const a=this._getPlayer(s);a.destroy(),this._playersById.delete(s);const h=this.players.indexOf(a);h>=0&&this.players.splice(h,1)}_getPlayer(s){const a=this._playersById.get(s);if(!a)throw function ga(p){return new d.vHH(3301,!1)}();return a}listen(s,a,h,w){const O=Ys(a,"","","");return So(this._getPlayer(s),h,O,w),()=>{}}command(s,a,h,w){if("register"==h)return void this.register(s,w[0]);if("create"==h)return void this.create(s,a,w[0]||{});const O=this._getPlayer(s);switch(h){case"play":O.play();break;case"pause":O.pause();break;case"reset":O.reset();break;case"restart":O.restart();break;case"finish":O.finish();break;case"init":O.init();break;case"setPosition":O.setPosition(parseFloat(w[0]));break;case"destroy":this.destroy(s)}}}const dl="ng-animate-queued",fl="ng-animate-disabled",wc=[],bu={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Zf={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},ii="__ng_removed";class Ga{constructor(s,a=""){this.namespaceId=a;const h=s&&s.hasOwnProperty("value");if(this.value=function Tc(p){return p??null}(h?s.value:s),h){const O=Ss(s);delete O.value,this.options=O}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(s){const a=s.params;if(a){const h=this.options.params;Object.keys(a).forEach(w=>{null==h[w]&&(h[w]=a[w])})}}}const ba="void",pl=new Ga(ba);class wu{constructor(s,a,h){this.id=s,this.hostElement=a,this._engine=h,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+s,qi(a,this._hostClassName)}listen(s,a,h,w){if(!this._triggers.has(a))throw function Qn(p,s){return new d.vHH(3302,!1)}();if(null==h||0==h.length)throw function Es(p){return new d.vHH(3303,!1)}();if(!function Mc(p){return"start"==p||"done"==p}(h))throw function Xo(p,s){return new d.vHH(3400,!1)}();const O=pr(this._elementListeners,s,[]),j={name:a,phase:h,callback:w};O.push(j);const q=pr(this._engine.statesByElement,s,new Map);return q.has(a)||(qi(s,Ni),qi(s,Ni+"-"+a),q.set(a,pl)),()=>{this._engine.afterFlush(()=>{const pe=O.indexOf(j);pe>=0&&O.splice(pe,1),this._triggers.has(a)||q.delete(a)})}}register(s,a){return!this._triggers.has(s)&&(this._triggers.set(s,a),!0)}_getTrigger(s){const a=this._triggers.get(s);if(!a)throw function ol(p){return new d.vHH(3401,!1)}();return a}trigger(s,a,h,w=!0){const O=this._getTrigger(a),j=new $l(this.id,a,s);let q=this._engine.statesByElement.get(s);q||(qi(s,Ni),qi(s,Ni+"-"+a),this._engine.statesByElement.set(s,q=new Map));let pe=q.get(a);const je=new Ga(h,this.id);if(!(h&&h.hasOwnProperty("value"))&&pe&&je.absorbOptions(pe.options),q.set(a,je),pe||(pe=pl),je.value!==ba&&pe.value===je.value){if(!function Mu(p,s){const a=Object.keys(p),h=Object.keys(s);if(a.length!=h.length)return!1;for(let w=0;w<a.length;w++){const O=a[w];if(!s.hasOwnProperty(O)||p[O]!==s[O])return!1}return!0}(pe.params,je.params)){const Kt=[],_n=O.matchStyles(pe.value,pe.params,Kt),Pn=O.matchStyles(je.value,je.params,Kt);Kt.length?this._engine.reportError(Kt):this._engine.afterFlush(()=>{Ro(s,_n),jr(s,Pn)})}return}const fn=pr(this._engine.playersByElement,s,[]);fn.forEach(Kt=>{Kt.namespaceId==this.id&&Kt.triggerName==a&&Kt.queued&&Kt.destroy()});let un=O.matchTransition(pe.value,je.value,s,je.params),Ht=!1;if(!un){if(!w)return;un=O.fallbackTransition,Ht=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:s,triggerName:a,transition:un,fromState:pe,toState:je,player:j,isFallbackTransition:Ht}),Ht||(qi(s,dl),j.onStart(()=>{wa(s,dl)})),j.onDone(()=>{let Kt=this.players.indexOf(j);Kt>=0&&this.players.splice(Kt,1);const _n=this._engine.playersByElement.get(s);if(_n){let Pn=_n.indexOf(j);Pn>=0&&_n.splice(Pn,1)}}),this.players.push(j),fn.push(j),j}deregister(s){this._triggers.delete(s),this._engine.statesByElement.forEach(a=>a.delete(s)),this._elementListeners.forEach((a,h)=>{this._elementListeners.set(h,a.filter(w=>w.name!=s))})}clearElementCache(s){this._engine.statesByElement.delete(s),this._elementListeners.delete(s);const a=this._engine.playersByElement.get(s);a&&(a.forEach(h=>h.destroy()),this._engine.playersByElement.delete(s))}_signalRemovalForInnerTriggers(s,a){const h=this._engine.driver.query(s,ns,!0);h.forEach(w=>{if(w[ii])return;const O=this._engine.fetchNamespacesByElement(w);O.size?O.forEach(j=>j.triggerLeaveAnimation(w,a,!1,!0)):this.clearElementCache(w)}),this._engine.afterFlushAnimationsDone(()=>h.forEach(w=>this.clearElementCache(w)))}triggerLeaveAnimation(s,a,h,w){const O=this._engine.statesByElement.get(s),j=new Map;if(O){const q=[];if(O.forEach((pe,je)=>{if(j.set(je,pe.value),this._triggers.has(je)){const ht=this.trigger(s,je,ba,w);ht&&q.push(ht)}}),q.length)return this._engine.markElementAsRemoved(this.id,s,!0,a,j),h&&Ur(q).onDone(()=>this._engine.processLeaveNode(s)),!0}return!1}prepareLeaveAnimationListeners(s){const a=this._elementListeners.get(s),h=this._engine.statesByElement.get(s);if(a&&h){const w=new Set;a.forEach(O=>{const j=O.name;if(w.has(j))return;w.add(j);const pe=this._triggers.get(j).fallbackTransition,je=h.get(j)||pl,ht=new Ga(ba),pt=new $l(this.id,j,s);this._engine.totalQueuedPlayers++,this._queue.push({element:s,triggerName:j,transition:pe,fromState:je,toState:ht,player:pt,isFallbackTransition:!0})})}}removeNode(s,a){const h=this._engine;if(s.childElementCount&&this._signalRemovalForInnerTriggers(s,a),this.triggerLeaveAnimation(s,a,!0))return;let w=!1;if(h.totalAnimations){const O=h.players.length?h.playersByQueriedElement.get(s):[];if(O&&O.length)w=!0;else{let j=s;for(;j=j.parentNode;)if(h.statesByElement.get(j)){w=!0;break}}}if(this.prepareLeaveAnimationListeners(s),w)h.markElementAsRemoved(this.id,s,!1,a);else{const O=s[ii];(!O||O===bu)&&(h.afterFlush(()=>this.clearElementCache(s)),h.destroyInnerAnimations(s),h._onRemovalComplete(s,a))}}insertNode(s,a){qi(s,this._hostClassName)}drainQueuedTransitions(s){const a=[];return this._queue.forEach(h=>{const w=h.player;if(w.destroyed)return;const O=h.element,j=this._elementListeners.get(O);j&&j.forEach(q=>{if(q.name==h.triggerName){const pe=Ys(O,h.triggerName,h.fromState.value,h.toState.value);pe._data=s,So(h.player,q.phase,pe,q.callback)}}),w.markedForDestroy?this._engine.afterFlush(()=>{w.destroy()}):a.push(h)}),this._queue=[],a.sort((h,w)=>{const O=h.transition.ast.depCount,j=w.transition.ast.depCount;return 0==O||0==j?O-j:this._engine.driver.containsElement(h.element,w.element)?1:-1})}destroy(s){this.players.forEach(a=>a.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,s)}elementContainsData(s){let a=!1;return this._elementListeners.has(s)&&(a=!0),a=!!this._queue.find(h=>h.element===s)||a,a}}class ia{constructor(s,a,h){this.bodyNode=s,this.driver=a,this._normalizer=h,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=(w,O)=>{}}_onRemovalComplete(s,a){this.onRemovalComplete(s,a)}get queuedPlayers(){const s=[];return this._namespaceList.forEach(a=>{a.players.forEach(h=>{h.queued&&s.push(h)})}),s}createNamespace(s,a){const h=new wu(s,a,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,a)?this._balanceNamespaceList(h,a):(this.newHostElements.set(a,h),this.collectEnterElement(a)),this._namespaceLookup[s]=h}_balanceNamespaceList(s,a){const h=this._namespaceList,w=this.namespacesByHostElement;if(h.length-1>=0){let j=!1,q=this.driver.getParentElement(a);for(;q;){const pe=w.get(q);if(pe){const je=h.indexOf(pe);h.splice(je+1,0,s),j=!0;break}q=this.driver.getParentElement(q)}j||h.unshift(s)}else h.push(s);return w.set(a,s),s}register(s,a){let h=this._namespaceLookup[s];return h||(h=this.createNamespace(s,a)),h}registerTrigger(s,a,h){let w=this._namespaceLookup[s];w&&w.register(a,h)&&this.totalAnimations++}destroy(s,a){if(!s)return;const h=this._fetchNamespace(s);this.afterFlush(()=>{this.namespacesByHostElement.delete(h.hostElement),delete this._namespaceLookup[s];const w=this._namespaceList.indexOf(h);w>=0&&this._namespaceList.splice(w,1)}),this.afterFlushAnimationsDone(()=>h.destroy(a))}_fetchNamespace(s){return this._namespaceLookup[s]}fetchNamespacesByElement(s){const a=new Set,h=this.statesByElement.get(s);if(h)for(let w of h.values())if(w.namespaceId){const O=this._fetchNamespace(w.namespaceId);O&&a.add(O)}return a}trigger(s,a,h,w){if(gl(a)){const O=this._fetchNamespace(s);if(O)return O.trigger(a,h,w),!0}return!1}insertNode(s,a,h,w){if(!gl(a))return;const O=a[ii];if(O&&O.setForRemoval){O.setForRemoval=!1,O.setForMove=!0;const j=this.collectedLeaveElements.indexOf(a);j>=0&&this.collectedLeaveElements.splice(j,1)}if(s){const j=this._fetchNamespace(s);j&&j.insertNode(a,h)}w&&this.collectEnterElement(a)}collectEnterElement(s){this.collectedEnterElements.push(s)}markElementAsDisabled(s,a){a?this.disabledNodes.has(s)||(this.disabledNodes.add(s),qi(s,fl)):this.disabledNodes.has(s)&&(this.disabledNodes.delete(s),wa(s,fl))}removeNode(s,a,h,w){if(gl(a)){const O=s?this._fetchNamespace(s):null;if(O?O.removeNode(a,w):this.markElementAsRemoved(s,a,!1,w),h){const j=this.namespacesByHostElement.get(a);j&&j.id!==s&&j.removeNode(a,w)}}else this._onRemovalComplete(a,w)}markElementAsRemoved(s,a,h,w,O){this.collectedLeaveElements.push(a),a[ii]={namespaceId:s,setForRemoval:w,hasAnimation:h,removedBeforeQueried:!1,previousTriggersValues:O}}listen(s,a,h,w,O){return gl(a)?this._fetchNamespace(s).listen(a,h,w,O):()=>{}}_buildInstruction(s,a,h,w,O){return s.transition.build(this.driver,s.element,s.fromState.value,s.toState.value,h,w,s.fromState.options,s.toState.options,a,O)}destroyInnerAnimations(s){let a=this.driver.query(s,ns,!0);a.forEach(h=>this.destroyActiveAnimationsForElement(h)),0!=this.playersByQueriedElement.size&&(a=this.driver.query(s,Ts,!0),a.forEach(h=>this.finishActiveQueriedAnimationOnElement(h)))}destroyActiveAnimationsForElement(s){const a=this.playersByElement.get(s);a&&a.forEach(h=>{h.queued?h.markedForDestroy=!0:h.destroy()})}finishActiveQueriedAnimationOnElement(s){const a=this.playersByQueriedElement.get(s);a&&a.forEach(h=>h.finish())}whenRenderingDone(){return new Promise(s=>{if(this.players.length)return Ur(this.players).onDone(()=>s());s()})}processLeaveNode(s){const a=s[ii];if(a&&a.setForRemoval){if(s[ii]=bu,a.namespaceId){this.destroyInnerAnimations(s);const h=this._fetchNamespace(a.namespaceId);h&&h.clearElementCache(s)}this._onRemovalComplete(s,a.setForRemoval)}s.classList?.contains(fl)&&this.markElementAsDisabled(s,!1),this.driver.query(s,".ng-animate-disabled",!0).forEach(h=>{this.markElementAsDisabled(h,!1)})}flush(s=-1){let a=[];if(this.newHostElements.size&&(this.newHostElements.forEach((h,w)=>this._balanceNamespaceList(h,w)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let h=0;h<this.collectedEnterElements.length;h++)qi(this.collectedEnterElements[h],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const h=[];try{a=this._flushAnimations(h,s)}finally{for(let w=0;w<h.length;w++)h[w]()}}else for(let h=0;h<this.collectedLeaveElements.length;h++)this.processLeaveNode(this.collectedLeaveElements[h]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(h=>h()),this._flushFns=[],this._whenQuietFns.length){const h=this._whenQuietFns;this._whenQuietFns=[],a.length?Ur(a).onDone(()=>{h.forEach(w=>w())}):h.forEach(w=>w())}}reportError(s){throw function Zs(p){return new d.vHH(3402,!1)}()}_flushAnimations(s,a){const h=new v,w=[],O=new Map,j=[],q=new Map,pe=new Map,je=new Map,ht=new Set;this.disabledNodes.forEach(Tt=>{ht.add(Tt);const Ut=this.driver.query(Tt,".ng-animate-queued",!0);for(let Xt=0;Xt<Ut.length;Xt++)ht.add(Ut[Xt])});const pt=this.bodyNode,fn=Array.from(this.statesByElement.keys()),un=Au(fn,this.collectedEnterElements),Ht=new Map;let Kt=0;un.forEach((Tt,Ut)=>{const Xt=no+Kt++;Ht.set(Ut,Xt),Tt.forEach(Sn=>qi(Sn,Xt))});const _n=[],Pn=new Set,Jn=new Set;for(let Tt=0;Tt<this.collectedLeaveElements.length;Tt++){const Ut=this.collectedLeaveElements[Tt],Xt=Ut[ii];Xt&&Xt.setForRemoval&&(_n.push(Ut),Pn.add(Ut),Xt.hasAnimation?this.driver.query(Ut,".ng-star-inserted",!0).forEach(Sn=>Pn.add(Sn)):Jn.add(Ut))}const Rr=new Map,vn=Au(fn,Array.from(Pn));vn.forEach((Tt,Ut)=>{const Xt=Zr+Kt++;Rr.set(Ut,Xt),Tt.forEach(Sn=>qi(Sn,Xt))}),s.push(()=>{un.forEach((Tt,Ut)=>{const Xt=Ht.get(Ut);Tt.forEach(Sn=>wa(Sn,Xt))}),vn.forEach((Tt,Ut)=>{const Xt=Rr.get(Ut);Tt.forEach(Sn=>wa(Sn,Xt))}),_n.forEach(Tt=>{this.processLeaveNode(Tt)})});const Nr=[],br=[];for(let Tt=this._namespaceList.length-1;Tt>=0;Tt--)this._namespaceList[Tt].drainQueuedTransitions(a).forEach(Xt=>{const Sn=Xt.player,wr=Xt.element;if(Nr.push(Sn),this.collectedEnterElements.length){const Xr=wr[ii];if(Xr&&Xr.setForMove){if(Xr.previousTriggersValues&&Xr.previousTriggersValues.has(Xt.triggerName)){const Ns=Xr.previousTriggersValues.get(Xt.triggerName),Qi=this.statesByElement.get(Xt.element);if(Qi&&Qi.has(Xt.triggerName)){const qa=Qi.get(Xt.triggerName);qa.value=Ns,Qi.set(Xt.triggerName,qa)}}return void Sn.destroy()}}const si=!pt||!this.driver.containsElement(pt,wr),Bi=Rr.get(wr),Rs=Ht.get(wr),ir=this._buildInstruction(Xt,h,Rs,Bi,si);if(ir.errors&&ir.errors.length)return void br.push(ir);if(si)return Sn.onStart(()=>Ro(wr,ir.fromStyles)),Sn.onDestroy(()=>jr(wr,ir.toStyles)),void w.push(Sn);if(Xt.isFallbackTransition)return Sn.onStart(()=>Ro(wr,ir.fromStyles)),Sn.onDestroy(()=>jr(wr,ir.toStyles)),void w.push(Sn);const Fu=[];ir.timelines.forEach(Xr=>{Xr.stretchStartingKeyframe=!0,this.disabledNodes.has(Xr.element)||Fu.push(Xr)}),ir.timelines=Fu,h.append(wr,ir.timelines),j.push({instruction:ir,player:Sn,element:wr}),ir.queriedElements.forEach(Xr=>pr(q,Xr,[]).push(Sn)),ir.preStyleProps.forEach((Xr,Ns)=>{if(Xr.size){let Qi=pe.get(Ns);Qi||pe.set(Ns,Qi=new Set),Xr.forEach((qa,ku)=>Qi.add(ku))}}),ir.postStyleProps.forEach((Xr,Ns)=>{let Qi=je.get(Ns);Qi||je.set(Ns,Qi=new Set),Xr.forEach((qa,ku)=>Qi.add(ku))})});if(br.length){const Tt=[];br.forEach(Ut=>{Tt.push(function Ba(p,s){return new d.vHH(3505,!1)}())}),Nr.forEach(Ut=>Ut.destroy()),this.reportError(Tt)}const Jr=new Map,oi=new Map;j.forEach(Tt=>{const Ut=Tt.element;h.has(Ut)&&(oi.set(Ut,Ut),this._beforeAnimationBuild(Tt.player.namespaceId,Tt.instruction,Jr))}),w.forEach(Tt=>{const Ut=Tt.element;this._getPreviousPlayers(Ut,!1,Tt.namespaceId,Tt.triggerName,null).forEach(Sn=>{pr(Jr,Ut,[]).push(Sn),Sn.destroy()})});const ss=_n.filter(Tt=>Su(Tt,pe,je)),so=new Map;oa(so,this.driver,Jn,je,zt.l3).forEach(Tt=>{Su(Tt,pe,je)&&ss.push(Tt)});const Za=new Map;un.forEach((Tt,Ut)=>{oa(Za,this.driver,new Set(Tt),pe,zt.k1)}),ss.forEach(Tt=>{const Ut=so.get(Tt),Xt=Za.get(Tt);so.set(Tt,new Map([...Array.from(Ut?.entries()??[]),...Array.from(Xt?.entries()??[])]))});const as=[],Ya=[],xs={};j.forEach(Tt=>{const{element:Ut,player:Xt,instruction:Sn}=Tt;if(h.has(Ut)){if(ht.has(Ut))return Xt.onDestroy(()=>jr(Ut,Sn.toStyles)),Xt.disabled=!0,Xt.overrideTotalTime(Sn.totalTime),void w.push(Xt);let wr=xs;if(oi.size>1){let Bi=Ut;const Rs=[];for(;Bi=Bi.parentNode;){const ir=oi.get(Bi);if(ir){wr=ir;break}Rs.push(Bi)}Rs.forEach(ir=>oi.set(ir,wr))}const si=this._buildAnimation(Xt.namespaceId,Sn,Jr,O,Za,so);if(Xt.setRealPlayer(si),wr===xs)as.push(Xt);else{const Bi=this.playersByElement.get(wr);Bi&&Bi.length&&(Xt.parentPlayer=Ur(Bi)),w.push(Xt)}}else Ro(Ut,Sn.fromStyles),Xt.onDestroy(()=>jr(Ut,Sn.toStyles)),Ya.push(Xt),ht.has(Ut)&&w.push(Xt)}),Ya.forEach(Tt=>{const Ut=O.get(Tt.element);if(Ut&&Ut.length){const Xt=Ur(Ut);Tt.setRealPlayer(Xt)}}),w.forEach(Tt=>{Tt.parentPlayer?Tt.syncPlayerEvents(Tt.parentPlayer):Tt.destroy()});for(let Tt=0;Tt<_n.length;Tt++){const Ut=_n[Tt],Xt=Ut[ii];if(wa(Ut,Zr),Xt&&Xt.hasAnimation)continue;let Sn=[];if(q.size){let si=q.get(Ut);si&&si.length&&Sn.push(...si);let Bi=this.driver.query(Ut,Ts,!0);for(let Rs=0;Rs<Bi.length;Rs++){let ir=q.get(Bi[Rs]);ir&&ir.length&&Sn.push(...ir)}}const wr=Sn.filter(si=>!si.destroyed);wr.length?Sc(this,Ut,wr):this.processLeaveNode(Ut)}return _n.length=0,as.forEach(Tt=>{this.players.push(Tt),Tt.onDone(()=>{Tt.destroy();const Ut=this.players.indexOf(Tt);this.players.splice(Ut,1)}),Tt.play()}),as}elementContainsData(s,a){let h=!1;const w=a[ii];return w&&w.setForRemoval&&(h=!0),this.playersByElement.has(a)&&(h=!0),this.playersByQueriedElement.has(a)&&(h=!0),this.statesByElement.has(a)&&(h=!0),this._fetchNamespace(s).elementContainsData(a)||h}afterFlush(s){this._flushFns.push(s)}afterFlushAnimationsDone(s){this._whenQuietFns.push(s)}_getPreviousPlayers(s,a,h,w,O){let j=[];if(a){const q=this.playersByQueriedElement.get(s);q&&(j=q)}else{const q=this.playersByElement.get(s);if(q){const pe=!O||O==ba;q.forEach(je=>{je.queued||!pe&&je.triggerName!=w||j.push(je)})}}return(h||w)&&(j=j.filter(q=>!(h&&h!=q.namespaceId||w&&w!=q.triggerName))),j}_beforeAnimationBuild(s,a,h){const O=a.element,j=a.isRemovalTransition?void 0:s,q=a.isRemovalTransition?void 0:a.triggerName;for(const pe of a.timelines){const je=pe.element,ht=je!==O,pt=pr(h,je,[]);this._getPreviousPlayers(je,ht,j,q,a.toState).forEach(un=>{const Ht=un.getRealPlayer();Ht.beforeDestroy&&Ht.beforeDestroy(),un.destroy(),pt.push(un)})}Ro(O,a.fromStyles)}_buildAnimation(s,a,h,w,O,j){const q=a.triggerName,pe=a.element,je=[],ht=new Set,pt=new Set,fn=a.timelines.map(Ht=>{const Kt=Ht.element;ht.add(Kt);const _n=Kt[ii];if(_n&&_n.removedBeforeQueried)return new zt.ZN(Ht.duration,Ht.delay);const Pn=Kt!==pe,Jn=function Ic(p){const s=[];return Tu(p,s),s}((h.get(Kt)||wc).map(Jr=>Jr.getRealPlayer())).filter(Jr=>!!Jr.element&&Jr.element===Kt),Rr=O.get(Kt),vn=j.get(Kt),Nr=Mo(0,this._normalizer,0,Ht.keyframes,Rr,vn),br=this._buildPlayer(Ht,Nr,Jn);if(Ht.subTimeline&&w&&pt.add(Kt),Pn){const Jr=new $l(s,q,Kt);Jr.setRealPlayer(br),je.push(Jr)}return br});je.forEach(Ht=>{pr(this.playersByQueriedElement,Ht.element,[]).push(Ht),Ht.onDone(()=>function Ac(p,s,a){let h=p.get(s);if(h){if(h.length){const w=h.indexOf(a);h.splice(w,1)}0==h.length&&p.delete(s)}return h}(this.playersByQueriedElement,Ht.element,Ht))}),ht.forEach(Ht=>qi(Ht,pn));const un=Ur(fn);return un.onDestroy(()=>{ht.forEach(Ht=>wa(Ht,pn)),jr(pe,a.toStyles)}),pt.forEach(Ht=>{pr(w,Ht,[]).push(un)}),un}_buildPlayer(s,a,h){return a.length>0?this.driver.animate(s.element,a,s.duration,s.delay,s.easing,h):new zt.ZN(s.duration,s.delay)}}class $l{constructor(s,a,h){this.namespaceId=s,this.triggerName=a,this.element=h,this._player=new zt.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(s){this._containsRealPlayer||(this._player=s,this._queuedCallbacks.forEach((a,h)=>{a.forEach(w=>So(s,h,void 0,w))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(s.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(s){this.totalTime=s}syncPlayerEvents(s){const a=this._player;a.triggerCallback&&s.onStart(()=>a.triggerCallback("start")),s.onDone(()=>this.finish()),s.onDestroy(()=>this.destroy())}_queueEvent(s,a){pr(this._queuedCallbacks,s,[]).push(a)}onDone(s){this.queued&&this._queueEvent("done",s),this._player.onDone(s)}onStart(s){this.queued&&this._queueEvent("start",s),this._player.onStart(s)}onDestroy(s){this.queued&&this._queueEvent("destroy",s),this._player.onDestroy(s)}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(s){this.queued||this._player.setPosition(s)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(s){const a=this._player;a.triggerCallback&&a.triggerCallback(s)}}function gl(p){return p&&1===p.nodeType}function ko(p,s){const a=p.style.display;return p.style.display=s??"none",a}function oa(p,s,a,h,w){const O=[];a.forEach(pe=>O.push(ko(pe)));const j=[];h.forEach((pe,je)=>{const ht=new Map;pe.forEach(pt=>{const fn=s.computeStyle(je,pt,w);ht.set(pt,fn),(!fn||0==fn.length)&&(je[ii]=Zf,j.push(je))}),p.set(je,ht)});let q=0;return a.forEach(pe=>ko(pe,O[q++])),j}function Au(p,s){const a=new Map;if(p.forEach(q=>a.set(q,[])),0==s.length)return a;const w=new Set(s),O=new Map;function j(q){if(!q)return 1;let pe=O.get(q);if(pe)return pe;const je=q.parentNode;return pe=a.has(je)?je:w.has(je)?1:j(je),O.set(q,pe),pe}return s.forEach(q=>{const pe=j(q);1!==pe&&a.get(pe).push(q)}),a}function qi(p,s){p.classList?.add(s)}function wa(p,s){p.classList?.remove(s)}function Sc(p,s,a){Ur(a).onDone(()=>p.processLeaveNode(s))}function Tu(p,s){for(let a=0;a<p.length;a++){const h=p[a];h instanceof zt.ZE?Tu(h.players,s):s.push(h)}}function Su(p,s,a){const h=a.get(p);if(!h)return!1;let w=s.get(p);return w?h.forEach(O=>w.add(O)):s.set(p,h),a.delete(p),!0}class ml{constructor(s,a,h){this.bodyNode=s,this._driver=a,this._normalizer=h,this._triggerCache={},this.onRemovalComplete=(w,O)=>{},this._transitionEngine=new ia(s,a,h),this._timelineEngine=new Kf(s,a,h),this._transitionEngine.onRemovalComplete=(w,O)=>this.onRemovalComplete(w,O)}registerTrigger(s,a,h,w,O){const j=s+"-"+w;let q=this._triggerCache[j];if(!q){const pe=[],ht=ja(this._driver,O,pe,[]);if(pe.length)throw function fa(p,s){return new d.vHH(3404,!1)}();q=function Du(p,s,a){return new Ec(p,s,a)}(w,ht,this._normalizer),this._triggerCache[j]=q}this._transitionEngine.registerTrigger(a,w,q)}register(s,a){this._transitionEngine.register(s,a)}destroy(s,a){this._transitionEngine.destroy(s,a)}onInsert(s,a,h,w){this._transitionEngine.insertNode(s,a,h,w)}onRemove(s,a,h,w){this._transitionEngine.removeNode(s,a,w||!1,h)}disableAnimations(s,a){this._transitionEngine.markElementAsDisabled(s,a)}process(s,a,h,w){if("@"==h.charAt(0)){const[O,j]=qs(h);this._timelineEngine.command(O,a,j,w)}else this._transitionEngine.trigger(s,a,h,w)}listen(s,a,h,w,O){if("@"==h.charAt(0)){const[j,q]=qs(h);return this._timelineEngine.listen(j,a,q,O)}return this._transitionEngine.listen(s,a,h,w,O)}flush(s=-1){this._transitionEngine.flush(s)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let Pc=(()=>{class p{constructor(a,h,w){this._element=a,this._startStyles=h,this._endStyles=w,this._state=0;let O=p.initialStylesByElement.get(a);O||p.initialStylesByElement.set(a,O=new Map),this._initialStyles=O}start(){this._state<1&&(this._startStyles&&jr(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(jr(this._element,this._initialStyles),this._endStyles&&(jr(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(p.initialStylesByElement.delete(this._element),this._startStyles&&(Ro(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Ro(this._element,this._endStyles),this._endStyles=null),jr(this._element,this._initialStyles),this._state=3)}}return p.initialStylesByElement=new WeakMap,p})();function Iu(p){let s=null;return p.forEach((a,h)=>{(function xc(p){return"display"===p||"position"===p})(h)&&(s=s||new Map,s.set(h,a))}),s}class Aa{constructor(s,a,h,w){this.element=s,this.keyframes=a,this.options=h,this._specialStyles=w,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=h.duration,this._delay=h.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(s=>s()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const s=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,s,this.options),this._finalKeyframe=s.length?s[s.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(s){const a=[];return s.forEach(h=>{a.push(Object.fromEntries(h))}),a}_triggerWebAnimation(s,a,h){return s.animate(this._convertKeyframesToObject(a),h)}onStart(s){this._originalOnStartFns.push(s),this._onStartFns.push(s)}onDone(s){this._originalOnDoneFns.push(s),this._onDoneFns.push(s)}onDestroy(s){this._onDestroyFns.push(s)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(s=>s()),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(s=>s()),this._onDestroyFns=[])}setPosition(s){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=s*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const s=new Map;this.hasStarted()&&this._finalKeyframe.forEach((h,w)=>{"offset"!==w&&s.set(w,this._finished?h:Bt(this.element,w))}),this.currentSnapshot=s}triggerCallback(s){const a="start"===s?this._onStartFns:this._onDoneFns;a.forEach(h=>h()),a.length=0}}class Ou{validateStyleProperty(s){return!0}validateAnimatableStyleProperty(s){return!0}matchesElement(s,a){return!1}containsElement(s,a){return bs(s,a)}getParentElement(s){return Yn(s)}query(s,a,h){return Va(s,a,h)}computeStyle(s,a,h){return window.getComputedStyle(s)[a]}animate(s,a,h,w,O,j=[]){const pe={duration:h,delay:w,fill:0==w?"both":"forwards"};O&&(pe.easing=O);const je=new Map,ht=j.filter(un=>un instanceof Aa);(function ie(p,s){return 0===p||0===s})(h,w)&&ht.forEach(un=>{un.currentSnapshot.forEach((Ht,Kt)=>je.set(Kt,Ht))});let pt=function ro(p){return p.length?p[0]instanceof Map?p:p.map(s=>Xs(s)):[]}(a).map(un=>io(un));pt=function Fe(p,s,a){if(a.size&&s.length){let h=s[0],w=[];if(a.forEach((O,j)=>{h.has(j)||w.push(j),h.set(j,O)}),w.length)for(let O=1;O<s.length;O++){let j=s[O];w.forEach(q=>j.set(q,Bt(p,q)))}}return s}(s,pt,je);const fn=function Oc(p,s){let a=null,h=null;return Array.isArray(s)&&s.length?(a=Iu(s[0]),s.length>1&&(h=Iu(s[s.length-1]))):s instanceof Map&&(a=Iu(s)),a||h?new Pc(p,a,h):null}(s,pt);return new Aa(s,pt,pe,fn)}}let Lo=(()=>{class p extends zt._j{constructor(a,h){super(),this._nextAnimationId=0,this._renderer=a.createRenderer(h.body,{id:"0",encapsulation:d.ifc.None,styles:[],data:{animation:[]}})}build(a){const h=this._nextAnimationId.toString();this._nextAnimationId++;const w=Array.isArray(a)?(0,zt.vP)(a):a;return Gl(this._renderer,null,h,"register",[w]),new za(h,this._renderer)}}return p.\u0275fac=function(a){return new(a||p)(d.LFG(d.FYo),d.LFG(Ue.K0))},p.\u0275prov=d.Yz7({token:p,factory:p.\u0275fac}),p})();class za extends zt.LC{constructor(s,a){super(),this._id=s,this._renderer=a}create(s,a){return new Pu(this._id,s,a||{},this._renderer)}}class Pu{constructor(s,a,h,w){this.id=s,this.element=a,this._renderer=w,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",h)}_listen(s,a){return this._renderer.listen(this.element,`@@${this.id}:${s}`,a)}_command(s,...a){return Gl(this._renderer,this.element,this.id,s,a)}onDone(s){this._listen("done",s)}onStart(s){this._listen("start",s)}onDestroy(s){this._listen("destroy",s)}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(s){this._command("setPosition",s)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function Gl(p,s,a,h,w){return p.setProperty(s,`@@${a}:${h}`,w)}const Rc="@.disabled";let Yf=(()=>{class p{constructor(a,h,w){this.delegate=a,this.engine=h,this._zone=w,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),h.onRemovalComplete=(O,j)=>{const q=j?.parentNode(O);q&&j.removeChild(q,O)}}createRenderer(a,h){const O=this.delegate.createRenderer(a,h);if(!(a&&h&&h.data&&h.data.animation)){let ht=this._rendererCache.get(O);return ht||(ht=new Nc("",O,this.engine),this._rendererCache.set(O,ht)),ht}const j=h.id,q=h.id+"-"+this._currentId;this._currentId++,this.engine.register(q,a);const pe=ht=>{Array.isArray(ht)?ht.forEach(pe):this.engine.registerTrigger(j,q,a,ht.name,ht)};return h.data.animation.forEach(pe),new zl(this,q,O,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(a,h,w){a>=0&&a<this._microtaskId?this._zone.run(()=>h(w)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(O=>{const[j,q]=O;j(q)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([h,w]))}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.\u0275fac=function(a){return new(a||p)(d.LFG(d.FYo),d.LFG(ml),d.LFG(d.R0b))},p.\u0275prov=d.Yz7({token:p,factory:p.\u0275fac}),p})();class Nc{constructor(s,a,h){this.namespaceId=s,this.delegate=a,this.engine=h,this.destroyNode=this.delegate.destroyNode?w=>a.destroyNode(w):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(s,a){return this.delegate.createElement(s,a)}createComment(s){return this.delegate.createComment(s)}createText(s){return this.delegate.createText(s)}appendChild(s,a){this.delegate.appendChild(s,a),this.engine.onInsert(this.namespaceId,a,s,!1)}insertBefore(s,a,h,w=!0){this.delegate.insertBefore(s,a,h),this.engine.onInsert(this.namespaceId,a,s,w)}removeChild(s,a,h){this.engine.onRemove(this.namespaceId,a,this.delegate,h)}selectRootElement(s,a){return this.delegate.selectRootElement(s,a)}parentNode(s){return this.delegate.parentNode(s)}nextSibling(s){return this.delegate.nextSibling(s)}setAttribute(s,a,h,w){this.delegate.setAttribute(s,a,h,w)}removeAttribute(s,a,h){this.delegate.removeAttribute(s,a,h)}addClass(s,a){this.delegate.addClass(s,a)}removeClass(s,a){this.delegate.removeClass(s,a)}setStyle(s,a,h,w){this.delegate.setStyle(s,a,h,w)}removeStyle(s,a,h){this.delegate.removeStyle(s,a,h)}setProperty(s,a,h){"@"==a.charAt(0)&&a==Rc?this.disableAnimations(s,!!h):this.delegate.setProperty(s,a,h)}setValue(s,a){this.delegate.setValue(s,a)}listen(s,a,h){return this.delegate.listen(s,a,h)}disableAnimations(s,a){this.engine.disableAnimations(s,a)}}class zl extends Nc{constructor(s,a,h,w){super(a,h,w),this.factory=s,this.namespaceId=a}setProperty(s,a,h){"@"==a.charAt(0)?"."==a.charAt(1)&&a==Rc?this.disableAnimations(s,h=void 0===h||!!h):this.engine.process(this.namespaceId,s,a.slice(1),h):this.delegate.setProperty(s,a,h)}listen(s,a,h){if("@"==a.charAt(0)){const w=function Wl(p){switch(p){case"body":return document.body;case"document":return document;case"window":return window;default:return p}}(s);let O=a.slice(1),j="";return"@"!=O.charAt(0)&&([O,j]=function Kl(p){const s=p.indexOf(".");return[p.substring(0,s),p.slice(s+1)]}(O)),this.engine.listen(this.namespaceId,w,O,j,q=>{this.factory.scheduleListenerCallback(q._data||-1,h,q)})}return this.delegate.listen(s,a,h)}}const Ru=[{provide:zt._j,useClass:Lo},{provide:Yi,useFactory:function Qf(){return new os}},{provide:ml,useClass:(()=>{class p extends ml{constructor(a,h,w,O){super(a.body,h,w)}ngOnDestroy(){this.flush()}}return p.\u0275fac=function(a){return new(a||p)(d.LFG(Ue.K0),d.LFG(yi),d.LFG(Yi),d.LFG(d.z2F))},p.\u0275prov=d.Yz7({token:p,factory:p.\u0275fac}),p})()},{provide:d.FYo,useFactory:function xu(p,s,a){return new Yf(p,s,a)},deps:[l.se,ml,d.R0b]}],Zl=[{provide:yi,useFactory:()=>new Ou},{provide:d.QbO,useValue:"BrowserAnimations"},...Ru],Nu=[{provide:yi,useClass:ts},{provide:d.QbO,useValue:"NoopAnimations"},...Ru];let Fc=(()=>{class p{static withConfig(a){return{ngModule:p,providers:a.disableAnimations?Nu:Zl}}}return p.\u0275fac=function(a){return new(a||p)},p.\u0275mod=d.oAB({type:p}),p.\u0275inj=d.cJS({providers:Zl,imports:[l.b2]}),p})(),ql=(()=>{class p{constructor(){this.title="web-tools"}}return p.\u0275fac=function(a){return new(a||p)},p.\u0275cmp=d.Xpm({type:p,selectors:[["app-root"]],decls:2,vars:0,template:function(a,h){1&a&&d._UZ(0,"ng-http-loader")(1,"router-outlet")},dependencies:[B.lC,_s]}),p})();const Bc={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 dr=(()=>{class p{}return p.\u0275fac=function(a){return new(a||p)},p.\u0275mod=d.oAB({type:p,bootstrap:[ql]}),p.\u0275inj=d.cJS({providers:[$e.O,Wr.a],imports:[l.b2,Fc,yn,C.u5,B.Bz,ve.hO.initializeApp(Bc),Zn,k.JF,tr.forRoot(),be.Rh.forRoot({positionClass:"toast-bottom-right",preventDuplicates:!0,closeButton:!0,timeOut:5e3}),B.Bz]}),p})();(0,d.G48)(),l.q6().bootstrapModule(dr).catch(p=>console.error(p))},1135:(tt,me,S)=>{S.d(me,{X:()=>d});var l=S(7579);class d extends l.x{constructor(J){super(),this._value=J}get value(){return this.getValue()}_subscribe(J){const V=super._subscribe(J);return!V.closed&&J.next(this._value),V}getValue(){const{hasError:J,thrownError:V,_value:X}=this;if(J)throw V;return this._throwIfClosed(),X}next(J){super.next(this._value=J)}}},9751:(tt,me,S)=>{S.d(me,{y:()=>Z});var l=S(930),d=S(727),B=S(8822),J=S(9635),V=S(2416),X=S(576),G=S(2806);let Z=(()=>{class ae{constructor(xe){xe&&(this._subscribe=xe)}lift(xe){const Pe=new ae;return Pe.source=this,Pe.operator=xe,Pe}subscribe(xe,Pe,$e){const be=function z(ae){return ae&&ae instanceof l.Lv||function L(ae){return ae&&(0,X.m)(ae.next)&&(0,X.m)(ae.error)&&(0,X.m)(ae.complete)}(ae)&&(0,d.Nn)(ae)}(xe)?xe:new l.Hp(xe,Pe,$e);return(0,G.x)(()=>{const{operator:le,source:Ge}=this;be.add(le?le.call(be,Ge):Ge?this._subscribe(be):this._trySubscribe(be))}),be}_trySubscribe(xe){try{return this._subscribe(xe)}catch(Pe){xe.error(Pe)}}forEach(xe,Pe){return new(Pe=Y(Pe))(($e,be)=>{const le=new l.Hp({next:Ge=>{try{xe(Ge)}catch(rt){be(rt),le.unsubscribe()}},error:be,complete:$e});this.subscribe(le)})}_subscribe(xe){var Pe;return null===(Pe=this.source)||void 0===Pe?void 0:Pe.subscribe(xe)}[B.L](){return this}pipe(...xe){return(0,J.U)(xe)(this)}toPromise(xe){return new(xe=Y(xe))((Pe,$e)=>{let be;this.subscribe(le=>be=le,le=>$e(le),()=>Pe(be))})}}return ae.create=Be=>new ae(Be),ae})();function Y(ae){var Be;return null!==(Be=ae??V.v.Promise)&&void 0!==Be?Be:Promise}},4707:(tt,me,S)=>{S.d(me,{t:()=>B});var l=S(7579),d=S(6063);class B extends l.x{constructor(V=1/0,X=1/0,G=d.l){super(),this._bufferSize=V,this._windowTime=X,this._timestampProvider=G,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=X===1/0,this._bufferSize=Math.max(1,V),this._windowTime=Math.max(1,X)}next(V){const{isStopped:X,_buffer:G,_infiniteTimeWindow:Z,_timestampProvider:Y,_windowTime:L}=this;X||(G.push(V),!Z&&G.push(Y.now()+L)),this._trimBuffer(),super.next(V)}_subscribe(V){this._throwIfClosed(),this._trimBuffer();const X=this._innerSubscribe(V),{_infiniteTimeWindow:G,_buffer:Z}=this,Y=Z.slice();for(let L=0;L<Y.length&&!V.closed;L+=G?1:2)V.next(Y[L]);return this._checkFinalizedStatuses(V),X}_trimBuffer(){const{_bufferSize:V,_timestampProvider:X,_buffer:G,_infiniteTimeWindow:Z}=this,Y=(Z?1:2)*V;if(V<1/0&&Y<G.length&&G.splice(0,G.length-Y),!Z){const L=X.now();let z=0;for(let ae=1;ae<G.length&&G[ae]<=L;ae+=2)z=ae;z&&G.splice(0,z+1)}}}},7579:(tt,me,S)=>{S.d(me,{x:()=>G});var l=S(9751),d=S(727);const J=(0,S(3888).d)(Y=>function(){Y(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var V=S(8737),X=S(2806);let G=(()=>{class Y extends l.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(z){const ae=new Z(this,this);return ae.operator=z,ae}_throwIfClosed(){if(this.closed)throw new J}next(z){(0,X.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const ae of this.currentObservers)ae.next(z)}})}error(z){(0,X.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=z;const{observers:ae}=this;for(;ae.length;)ae.shift().error(z)}})}complete(){(0,X.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:z}=this;for(;z.length;)z.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var z;return(null===(z=this.observers)||void 0===z?void 0:z.length)>0}_trySubscribe(z){return this._throwIfClosed(),super._trySubscribe(z)}_subscribe(z){return this._throwIfClosed(),this._checkFinalizedStatuses(z),this._innerSubscribe(z)}_innerSubscribe(z){const{hasError:ae,isStopped:Be,observers:xe}=this;return ae||Be?d.Lc:(this.currentObservers=null,xe.push(z),new d.w0(()=>{this.currentObservers=null,(0,V.P)(xe,z)}))}_checkFinalizedStatuses(z){const{hasError:ae,thrownError:Be,isStopped:xe}=this;ae?z.error(Be):xe&&z.complete()}asObservable(){const z=new l.y;return z.source=this,z}}return Y.create=(L,z)=>new Z(L,z),Y})();class Z extends G{constructor(L,z){super(),this.destination=L,this.source=z}next(L){var z,ae;null===(ae=null===(z=this.destination)||void 0===z?void 0:z.next)||void 0===ae||ae.call(z,L)}error(L){var z,ae;null===(ae=null===(z=this.destination)||void 0===z?void 0:z.error)||void 0===ae||ae.call(z,L)}complete(){var L,z;null===(z=null===(L=this.destination)||void 0===L?void 0:L.complete)||void 0===z||z.call(L)}_subscribe(L){var z,ae;return null!==(ae=null===(z=this.source)||void 0===z?void 0:z.subscribe(L))&&void 0!==ae?ae:d.Lc}}},930:(tt,me,S)=>{S.d(me,{Hp:()=>$e,Lv:()=>ae});var l=S(576),d=S(727),B=S(2416),J=S(7849),V=S(5032);const X=Y("C",void 0,void 0);function Y(Se,ue,we){return{kind:Se,value:ue,error:we}}var L=S(3410),z=S(2806);class ae extends d.w0{constructor(ue){super(),this.isStopped=!1,ue?(this.destination=ue,(0,d.Nn)(ue)&&ue.add(this)):this.destination=rt}static create(ue,we,ze){return new $e(ue,we,ze)}next(ue){this.isStopped?Ge(function Z(Se){return Y("N",Se,void 0)}(ue),this):this._next(ue)}error(ue){this.isStopped?Ge(function G(Se){return Y("E",void 0,Se)}(ue),this):(this.isStopped=!0,this._error(ue))}complete(){this.isStopped?Ge(X,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(ue){this.destination.next(ue)}_error(ue){try{this.destination.error(ue)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const Be=Function.prototype.bind;function xe(Se,ue){return Be.call(Se,ue)}class Pe{constructor(ue){this.partialObserver=ue}next(ue){const{partialObserver:we}=this;if(we.next)try{we.next(ue)}catch(ze){be(ze)}}error(ue){const{partialObserver:we}=this;if(we.error)try{we.error(ue)}catch(ze){be(ze)}else be(ue)}complete(){const{partialObserver:ue}=this;if(ue.complete)try{ue.complete()}catch(we){be(we)}}}class $e extends ae{constructor(ue,we,ze){let Ke;if(super(),(0,l.m)(ue)||!ue)Ke={next:ue??void 0,error:we??void 0,complete:ze??void 0};else{let Ce;this&&B.v.useDeprecatedNextContext?(Ce=Object.create(ue),Ce.unsubscribe=()=>this.unsubscribe(),Ke={next:ue.next&&xe(ue.next,Ce),error:ue.error&&xe(ue.error,Ce),complete:ue.complete&&xe(ue.complete,Ce)}):Ke=ue}this.destination=new Pe(Ke)}}function be(Se){B.v.useDeprecatedSynchronousErrorHandling?(0,z.O)(Se):(0,J.h)(Se)}function Ge(Se,ue){const{onStoppedNotification:we}=B.v;we&&L.z.setTimeout(()=>we(Se,ue))}const rt={closed:!0,next:V.Z,error:function le(Se){throw Se},complete:V.Z}},727:(tt,me,S)=>{S.d(me,{Lc:()=>X,w0:()=>V,Nn:()=>G});var l=S(576);const B=(0,S(3888).d)(Y=>function(z){Y(this),this.message=z?`${z.length} errors occurred during unsubscription:\n${z.map((ae,Be)=>`${Be+1}) ${ae.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=z});var J=S(8737);class V{constructor(L){this.initialTeardown=L,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let L;if(!this.closed){this.closed=!0;const{_parentage:z}=this;if(z)if(this._parentage=null,Array.isArray(z))for(const xe of z)xe.remove(this);else z.remove(this);const{initialTeardown:ae}=this;if((0,l.m)(ae))try{ae()}catch(xe){L=xe instanceof B?xe.errors:[xe]}const{_finalizers:Be}=this;if(Be){this._finalizers=null;for(const xe of Be)try{Z(xe)}catch(Pe){L=L??[],Pe instanceof B?L=[...L,...Pe.errors]:L.push(Pe)}}if(L)throw new B(L)}}add(L){var z;if(L&&L!==this)if(this.closed)Z(L);else{if(L instanceof V){if(L.closed||L._hasParent(this))return;L._addParent(this)}(this._finalizers=null!==(z=this._finalizers)&&void 0!==z?z:[]).push(L)}}_hasParent(L){const{_parentage:z}=this;return z===L||Array.isArray(z)&&z.includes(L)}_addParent(L){const{_parentage:z}=this;this._parentage=Array.isArray(z)?(z.push(L),z):z?[z,L]:L}_removeParent(L){const{_parentage:z}=this;z===L?this._parentage=null:Array.isArray(z)&&(0,J.P)(z,L)}remove(L){const{_finalizers:z}=this;z&&(0,J.P)(z,L),L instanceof V&&L._removeParent(this)}}V.EMPTY=(()=>{const Y=new V;return Y.closed=!0,Y})();const X=V.EMPTY;function G(Y){return Y instanceof V||Y&&"closed"in Y&&(0,l.m)(Y.remove)&&(0,l.m)(Y.add)&&(0,l.m)(Y.unsubscribe)}function Z(Y){(0,l.m)(Y)?Y():Y.unsubscribe()}},2416:(tt,me,S)=>{S.d(me,{v:()=>l});const l={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},9841:(tt,me,S)=>{S.d(me,{a:()=>L});var l=S(9751),d=S(4742),B=S(8996),J=S(4671),V=S(3268),X=S(3269),G=S(1810),Z=S(5403),Y=S(9672);function L(...Be){const xe=(0,X.yG)(Be),Pe=(0,X.jO)(Be),{args:$e,keys:be}=(0,d.D)(Be);if(0===$e.length)return(0,B.D)([],xe);const le=new l.y(function z(Be,xe,Pe=J.y){return $e=>{ae(xe,()=>{const{length:be}=Be,le=new Array(be);let Ge=be,rt=be;for(let Se=0;Se<be;Se++)ae(xe,()=>{const ue=(0,B.D)(Be[Se],xe);let we=!1;ue.subscribe((0,Z.x)($e,ze=>{le[Se]=ze,we||(we=!0,rt--),rt||$e.next(Pe(le.slice()))},()=>{--Ge||$e.complete()}))},$e)},$e)}}($e,xe,be?Ge=>(0,G.n)(be,Ge):J.y));return Pe?le.pipe((0,V.Z)(Pe)):le}function ae(Be,xe,Pe){Be?(0,Y.f)(Pe,Be,xe):xe()}},7272:(tt,me,S)=>{S.d(me,{z:()=>V});var l=S(8189),B=S(3269),J=S(8996);function V(...X){return function d(){return(0,l.J)(1)}()((0,J.D)(X,(0,B.yG)(X)))}},9770:(tt,me,S)=>{S.d(me,{P:()=>B});var l=S(9751),d=S(8421);function B(J){return new l.y(V=>{(0,d.Xf)(J()).subscribe(V)})}},515:(tt,me,S)=>{S.d(me,{E:()=>d});const d=new(S(9751).y)(V=>V.complete())},4128:(tt,me,S)=>{S.d(me,{D:()=>Z});var l=S(9751),d=S(4742),B=S(8421),J=S(3269),V=S(5403),X=S(3268),G=S(1810);function Z(...Y){const L=(0,J.jO)(Y),{args:z,keys:ae}=(0,d.D)(Y),Be=new l.y(xe=>{const{length:Pe}=z;if(!Pe)return void xe.complete();const $e=new Array(Pe);let be=Pe,le=Pe;for(let Ge=0;Ge<Pe;Ge++){let rt=!1;(0,B.Xf)(z[Ge]).subscribe((0,V.x)(xe,Se=>{rt||(rt=!0,le--),$e[Ge]=Se},()=>be--,void 0,()=>{(!be||!rt)&&(le||xe.next(ae?(0,G.n)(ae,$e):$e),xe.complete())}))}});return L?Be.pipe((0,X.Z)(L)):Be}},8996:(tt,me,S)=>{S.d(me,{D:()=>ue});var l=S(8421),d=S(5363),B=S(9468),X=S(9751),Z=S(2202),Y=S(576),L=S(9672);function ae(we,ze){if(!we)throw new Error("Iterable cannot be null");return new X.y(Ke=>{(0,L.f)(Ke,ze,()=>{const Ce=we[Symbol.asyncIterator]();(0,L.f)(Ke,ze,()=>{Ce.next().then(Ee=>{Ee.done?Ke.complete():Ke.next(Ee.value)})},0,!0)})})}var Be=S(3670),xe=S(8239),Pe=S(1144),$e=S(6495),be=S(2206),le=S(4532),Ge=S(3260);function ue(we,ze){return ze?function Se(we,ze){if(null!=we){if((0,Be.c)(we))return function J(we,ze){return(0,l.Xf)(we).pipe((0,B.R)(ze),(0,d.Q)(ze))}(we,ze);if((0,Pe.z)(we))return function G(we,ze){return new X.y(Ke=>{let Ce=0;return ze.schedule(function(){Ce===we.length?Ke.complete():(Ke.next(we[Ce++]),Ke.closed||this.schedule())})})}(we,ze);if((0,xe.t)(we))return function V(we,ze){return(0,l.Xf)(we).pipe((0,B.R)(ze),(0,d.Q)(ze))}(we,ze);if((0,be.D)(we))return ae(we,ze);if((0,$e.T)(we))return function z(we,ze){return new X.y(Ke=>{let Ce;return(0,L.f)(Ke,ze,()=>{Ce=we[Z.h](),(0,L.f)(Ke,ze,()=>{let Ee,ee;try{({value:Ee,done:ee}=Ce.next())}catch(fe){return void Ke.error(fe)}ee?Ke.complete():Ke.next(Ee)},0,!0)}),()=>(0,Y.m)(Ce?.return)&&Ce.return()})}(we,ze);if((0,Ge.L)(we))return function rt(we,ze){return ae((0,Ge.Q)(we),ze)}(we,ze)}throw(0,le.z)(we)}(we,ze):(0,l.Xf)(we)}},8421:(tt,me,S)=>{S.d(me,{Xf:()=>Be});var l=S(655),d=S(1144),B=S(8239),J=S(9751),V=S(3670),X=S(2206),G=S(4532),Z=S(6495),Y=S(3260),L=S(576),z=S(7849),ae=S(8822);function Be(Se){if(Se instanceof J.y)return Se;if(null!=Se){if((0,V.c)(Se))return function xe(Se){return new J.y(ue=>{const we=Se[ae.L]();if((0,L.m)(we.subscribe))return we.subscribe(ue);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(Se);if((0,d.z)(Se))return function Pe(Se){return new J.y(ue=>{for(let we=0;we<Se.length&&!ue.closed;we++)ue.next(Se[we]);ue.complete()})}(Se);if((0,B.t)(Se))return function $e(Se){return new J.y(ue=>{Se.then(we=>{ue.closed||(ue.next(we),ue.complete())},we=>ue.error(we)).then(null,z.h)})}(Se);if((0,X.D)(Se))return le(Se);if((0,Z.T)(Se))return function be(Se){return new J.y(ue=>{for(const we of Se)if(ue.next(we),ue.closed)return;ue.complete()})}(Se);if((0,Y.L)(Se))return function Ge(Se){return le((0,Y.Q)(Se))}(Se)}throw(0,G.z)(Se)}function le(Se){return new J.y(ue=>{(function rt(Se,ue){var we,ze,Ke,Ce;return(0,l.mG)(this,void 0,void 0,function*(){try{for(we=(0,l.KL)(Se);!(ze=yield we.next()).done;)if(ue.next(ze.value),ue.closed)return}catch(Ee){Ke={error:Ee}}finally{try{ze&&!ze.done&&(Ce=we.return)&&(yield Ce.call(we))}finally{if(Ke)throw Ke.error}}ue.complete()})})(Se,ue).catch(we=>ue.error(we))})}},6451:(tt,me,S)=>{S.d(me,{T:()=>X});var l=S(8189),d=S(8421),B=S(515),J=S(3269),V=S(8996);function X(...G){const Z=(0,J.yG)(G),Y=(0,J._6)(G,1/0),L=G;return L.length?1===L.length?(0,d.Xf)(L[0]):(0,l.J)(Y)((0,V.D)(L,Z)):B.E}},9646:(tt,me,S)=>{S.d(me,{of:()=>B});var l=S(3269),d=S(8996);function B(...J){const V=(0,l.yG)(J);return(0,d.D)(J,V)}},2843:(tt,me,S)=>{S.d(me,{_:()=>B});var l=S(9751),d=S(576);function B(J,V){const X=(0,d.m)(J)?J:()=>J,G=Z=>Z.error(X());return new l.y(V?Z=>V.schedule(G,0,Z):G)}},2805:(tt,me,S)=>{S.d(me,{H:()=>V});var l=S(9751),d=S(4986),B=S(3532),J=S(1165);function V(X=0,G,Z=d.P){let Y=-1;return null!=G&&((0,B.K)(G)?Z=G:Y=G),new l.y(L=>{let z=(0,J.q)(X)?+X-Z.now():X;z<0&&(z=0);let ae=0;return Z.schedule(function(){L.closed||(L.next(ae++),0<=Y?this.schedule(void 0,Y):L.complete())},z)})}},5403:(tt,me,S)=>{S.d(me,{x:()=>d});var l=S(930);function d(J,V,X,G,Z){return new B(J,V,X,G,Z)}class B extends l.Lv{constructor(V,X,G,Z,Y,L){super(V),this.onFinalize=Y,this.shouldUnsubscribe=L,this._next=X?function(z){try{X(z)}catch(ae){V.error(ae)}}:super._next,this._error=Z?function(z){try{Z(z)}catch(ae){V.error(ae)}finally{this.unsubscribe()}}:super._error,this._complete=G?function(){try{G()}catch(z){V.error(z)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var V;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:X}=this;super.unsubscribe(),!X&&(null===(V=this.onFinalize)||void 0===V||V.call(this))}}}},262:(tt,me,S)=>{S.d(me,{K:()=>J});var l=S(8421),d=S(5403),B=S(4482);function J(V){return(0,B.e)((X,G)=>{let L,Z=null,Y=!1;Z=X.subscribe((0,d.x)(G,void 0,void 0,z=>{L=(0,l.Xf)(V(z,J(V)(X))),Z?(Z.unsubscribe(),Z=null,L.subscribe(G)):Y=!0})),Y&&(Z.unsubscribe(),Z=null,L.subscribe(G))})}},4351:(tt,me,S)=>{S.d(me,{b:()=>B});var l=S(5577),d=S(576);function B(J,V){return(0,d.m)(V)?(0,l.z)(J,V,1):(0,l.z)(J,1)}},6590:(tt,me,S)=>{S.d(me,{d:()=>B});var l=S(4482),d=S(5403);function B(J){return(0,l.e)((V,X)=>{let G=!1;V.subscribe((0,d.x)(X,Z=>{G=!0,X.next(Z)},()=>{G||X.next(J),X.complete()}))})}},1884:(tt,me,S)=>{S.d(me,{x:()=>J});var l=S(4671),d=S(4482),B=S(5403);function J(X,G=l.y){return X=X??V,(0,d.e)((Z,Y)=>{let L,z=!0;Z.subscribe((0,B.x)(Y,ae=>{const Be=G(ae);(z||!X(L,Be))&&(z=!1,L=Be,Y.next(ae))}))})}function V(X,G){return X===G}},9300:(tt,me,S)=>{S.d(me,{h:()=>B});var l=S(4482),d=S(5403);function B(J,V){return(0,l.e)((X,G)=>{let Z=0;X.subscribe((0,d.x)(G,Y=>J.call(V,Y,Z++)&&G.next(Y)))})}},8746:(tt,me,S)=>{S.d(me,{x:()=>d});var l=S(4482);function d(B){return(0,l.e)((J,V)=>{try{J.subscribe(V)}finally{V.add(B)}})}},590:(tt,me,S)=>{S.d(me,{P:()=>G});var l=S(6805),d=S(9300),B=S(5698),J=S(6590),V=S(8068),X=S(4671);function G(Z,Y){const L=arguments.length>=2;return z=>z.pipe(Z?(0,d.h)((ae,Be)=>Z(ae,Be,z)):X.y,(0,B.q)(1),L?(0,J.d)(Y):(0,V.T)(()=>new l.K))}},4004:(tt,me,S)=>{S.d(me,{U:()=>B});var l=S(4482),d=S(5403);function B(J,V){return(0,l.e)((X,G)=>{let Z=0;X.subscribe((0,d.x)(G,Y=>{G.next(J.call(V,Y,Z++))}))})}},9718:(tt,me,S)=>{S.d(me,{h:()=>d});var l=S(4004);function d(B){return(0,l.U)(()=>B)}},8189:(tt,me,S)=>{S.d(me,{J:()=>B});var l=S(5577),d=S(4671);function B(J=1/0){return(0,l.z)(d.y,J)}},5577:(tt,me,S)=>{S.d(me,{z:()=>Z});var l=S(4004),d=S(8421),B=S(4482),J=S(9672),V=S(5403),G=S(576);function Z(Y,L,z=1/0){return(0,G.m)(L)?Z((ae,Be)=>(0,l.U)((xe,Pe)=>L(ae,xe,Be,Pe))((0,d.Xf)(Y(ae,Be))),z):("number"==typeof L&&(z=L),(0,B.e)((ae,Be)=>function X(Y,L,z,ae,Be,xe,Pe,$e){const be=[];let le=0,Ge=0,rt=!1;const Se=()=>{rt&&!be.length&&!le&&L.complete()},ue=ze=>le<ae?we(ze):be.push(ze),we=ze=>{xe&&L.next(ze),le++;let Ke=!1;(0,d.Xf)(z(ze,Ge++)).subscribe((0,V.x)(L,Ce=>{Be?.(Ce),xe?ue(Ce):L.next(Ce)},()=>{Ke=!0},void 0,()=>{if(Ke)try{for(le--;be.length&&le<ae;){const Ce=be.shift();Pe?(0,J.f)(L,Pe,()=>we(Ce)):we(Ce)}Se()}catch(Ce){L.error(Ce)}}))};return Y.subscribe((0,V.x)(L,ue,()=>{rt=!0,Se()})),()=>{$e?.()}}(ae,Be,Y,z)))}},5363:(tt,me,S)=>{S.d(me,{Q:()=>J});var l=S(9672),d=S(4482),B=S(5403);function J(V,X=0){return(0,d.e)((G,Z)=>{G.subscribe((0,B.x)(Z,Y=>(0,l.f)(Z,V,()=>Z.next(Y),X),()=>(0,l.f)(Z,V,()=>Z.complete(),X),Y=>(0,l.f)(Z,V,()=>Z.error(Y),X)))})}},3099:(tt,me,S)=>{S.d(me,{B:()=>V});var l=S(8421),d=S(7579),B=S(930),J=S(4482);function V(G={}){const{connector:Z=(()=>new d.x),resetOnError:Y=!0,resetOnComplete:L=!0,resetOnRefCountZero:z=!0}=G;return ae=>{let Be,xe,Pe,$e=0,be=!1,le=!1;const Ge=()=>{xe?.unsubscribe(),xe=void 0},rt=()=>{Ge(),Be=Pe=void 0,be=le=!1},Se=()=>{const ue=Be;rt(),ue?.unsubscribe()};return(0,J.e)((ue,we)=>{$e++,!le&&!be&&Ge();const ze=Pe=Pe??Z();we.add(()=>{$e--,0===$e&&!le&&!be&&(xe=X(Se,z))}),ze.subscribe(we),!Be&&$e>0&&(Be=new B.Hp({next:Ke=>ze.next(Ke),error:Ke=>{le=!0,Ge(),xe=X(rt,Y,Ke),ze.error(Ke)},complete:()=>{be=!0,Ge(),xe=X(rt,L),ze.complete()}}),(0,l.Xf)(ue).subscribe(Be))})(ae)}}function X(G,Z,...Y){if(!0===Z)return void G();if(!1===Z)return;const L=new B.Hp({next:()=>{L.unsubscribe(),G()}});return Z(...Y).subscribe(L)}},4782:(tt,me,S)=>{S.d(me,{d:()=>B});var l=S(4707),d=S(3099);function B(J,V,X){let G,Z=!1;return J&&"object"==typeof J?({bufferSize:G=1/0,windowTime:V=1/0,refCount:Z=!1,scheduler:X}=J):G=J??1/0,(0,d.B)({connector:()=>new l.t(G,V,X),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:Z})}},8675:(tt,me,S)=>{S.d(me,{O:()=>J});var l=S(7272),d=S(3269),B=S(4482);function J(...V){const X=(0,d.yG)(V);return(0,B.e)((G,Z)=>{(X?(0,l.z)(V,G,X):(0,l.z)(V,G)).subscribe(Z)})}},9468:(tt,me,S)=>{S.d(me,{R:()=>d});var l=S(4482);function d(B,J=0){return(0,l.e)((V,X)=>{X.add(B.schedule(()=>V.subscribe(X),J))})}},3900:(tt,me,S)=>{S.d(me,{w:()=>J});var l=S(8421),d=S(4482),B=S(5403);function J(V,X){return(0,d.e)((G,Z)=>{let Y=null,L=0,z=!1;const ae=()=>z&&!Y&&Z.complete();G.subscribe((0,B.x)(Z,Be=>{Y?.unsubscribe();let xe=0;const Pe=L++;(0,l.Xf)(V(Be,Pe)).subscribe(Y=(0,B.x)(Z,$e=>Z.next(X?X(Be,$e,Pe,xe++):$e),()=>{Y=null,ae()}))},()=>{z=!0,ae()}))})}},5698:(tt,me,S)=>{S.d(me,{q:()=>J});var l=S(515),d=S(4482),B=S(5403);function J(V){return V<=0?()=>l.E:(0,d.e)((X,G)=>{let Z=0;X.subscribe((0,B.x)(G,Y=>{++Z<=V&&(G.next(Y),V<=Z&&G.complete())}))})}},2529:(tt,me,S)=>{S.d(me,{o:()=>B});var l=S(4482),d=S(5403);function B(J,V=!1){return(0,l.e)((X,G)=>{let Z=0;X.subscribe((0,d.x)(G,Y=>{const L=J(Y,Z++);(L||V)&&G.next(Y),!L&&G.complete()}))})}},8505:(tt,me,S)=>{S.d(me,{b:()=>V});var l=S(576),d=S(4482),B=S(5403),J=S(4671);function V(X,G,Z){const Y=(0,l.m)(X)||G||Z?{next:X,error:G,complete:Z}:X;return Y?(0,d.e)((L,z)=>{var ae;null===(ae=Y.subscribe)||void 0===ae||ae.call(Y);let Be=!0;L.subscribe((0,B.x)(z,xe=>{var Pe;null===(Pe=Y.next)||void 0===Pe||Pe.call(Y,xe),z.next(xe)},()=>{var xe;Be=!1,null===(xe=Y.complete)||void 0===xe||xe.call(Y),z.complete()},xe=>{var Pe;Be=!1,null===(Pe=Y.error)||void 0===Pe||Pe.call(Y,xe),z.error(xe)},()=>{var xe,Pe;Be&&(null===(xe=Y.unsubscribe)||void 0===xe||xe.call(Y)),null===(Pe=Y.finalize)||void 0===Pe||Pe.call(Y)}))}):J.y}},8068:(tt,me,S)=>{S.d(me,{T:()=>J});var l=S(6805),d=S(4482),B=S(5403);function J(X=V){return(0,d.e)((G,Z)=>{let Y=!1;G.subscribe((0,B.x)(Z,L=>{Y=!0,Z.next(L)},()=>Y?Z.complete():Z.error(X())))})}function V(){return new l.K}},4408:(tt,me,S)=>{S.d(me,{o:()=>V});var l=S(727);class d extends l.w0{constructor(G,Z){super()}schedule(G,Z=0){return this}}const B={setInterval(X,G,...Z){const{delegate:Y}=B;return Y?.setInterval?Y.setInterval(X,G,...Z):setInterval(X,G,...Z)},clearInterval(X){const{delegate:G}=B;return(G?.clearInterval||clearInterval)(X)},delegate:void 0};var J=S(8737);class V extends d{constructor(G,Z){super(G,Z),this.scheduler=G,this.work=Z,this.pending=!1}schedule(G,Z=0){var Y;if(this.closed)return this;this.state=G;const L=this.id,z=this.scheduler;return null!=L&&(this.id=this.recycleAsyncId(z,L,Z)),this.pending=!0,this.delay=Z,this.id=null!==(Y=this.id)&&void 0!==Y?Y:this.requestAsyncId(z,this.id,Z),this}requestAsyncId(G,Z,Y=0){return B.setInterval(G.flush.bind(G,this),Y)}recycleAsyncId(G,Z,Y=0){if(null!=Y&&this.delay===Y&&!1===this.pending)return Z;null!=Z&&B.clearInterval(Z)}execute(G,Z){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const Y=this._execute(G,Z);if(Y)return Y;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(G,Z){let L,Y=!1;try{this.work(G)}catch(z){Y=!0,L=z||new Error("Scheduled action threw falsy error")}if(Y)return this.unsubscribe(),L}unsubscribe(){if(!this.closed){const{id:G,scheduler:Z}=this,{actions:Y}=Z;this.work=this.state=this.scheduler=null,this.pending=!1,(0,J.P)(Y,this),null!=G&&(this.id=this.recycleAsyncId(Z,G,null)),this.delay=null,super.unsubscribe()}}}},7565:(tt,me,S)=>{S.d(me,{v:()=>B});var l=S(6063);class d{constructor(V,X=d.now){this.schedulerActionCtor=V,this.now=X}schedule(V,X=0,G){return new this.schedulerActionCtor(this,V).schedule(G,X)}}d.now=l.l.now;class B extends d{constructor(V,X=d.now){super(V,X),this.actions=[],this._active=!1}flush(V){const{actions:X}=this;if(this._active)return void X.push(V);let G;this._active=!0;do{if(G=V.execute(V.state,V.delay))break}while(V=X.shift());if(this._active=!1,G){for(;V=X.shift();)V.unsubscribe();throw G}}}},4986:(tt,me,S)=>{S.d(me,{P:()=>J,z:()=>B});var l=S(4408);const B=new(S(7565).v)(l.o),J=B},6063:(tt,me,S)=>{S.d(me,{l:()=>l});const l={now:()=>(l.delegate||Date).now(),delegate:void 0}},3410:(tt,me,S)=>{S.d(me,{z:()=>l});const l={setTimeout(d,B,...J){const{delegate:V}=l;return V?.setTimeout?V.setTimeout(d,B,...J):setTimeout(d,B,...J)},clearTimeout(d){const{delegate:B}=l;return(B?.clearTimeout||clearTimeout)(d)},delegate:void 0}},2202:(tt,me,S)=>{S.d(me,{h:()=>d});const d=function l(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},8822:(tt,me,S)=>{S.d(me,{L:()=>l});const l="function"==typeof Symbol&&Symbol.observable||"@@observable"},6805:(tt,me,S)=>{S.d(me,{K:()=>d});const d=(0,S(3888).d)(B=>function(){B(this),this.name="EmptyError",this.message="no elements in sequence"})},3269:(tt,me,S)=>{S.d(me,{_6:()=>X,jO:()=>J,yG:()=>V});var l=S(576),d=S(3532);function B(G){return G[G.length-1]}function J(G){return(0,l.m)(B(G))?G.pop():void 0}function V(G){return(0,d.K)(B(G))?G.pop():void 0}function X(G,Z){return"number"==typeof B(G)?G.pop():Z}},4742:(tt,me,S)=>{S.d(me,{D:()=>V});const{isArray:l}=Array,{getPrototypeOf:d,prototype:B,keys:J}=Object;function V(G){if(1===G.length){const Z=G[0];if(l(Z))return{args:Z,keys:null};if(function X(G){return G&&"object"==typeof G&&d(G)===B}(Z)){const Y=J(Z);return{args:Y.map(L=>Z[L]),keys:Y}}}return{args:G,keys:null}}},8737:(tt,me,S)=>{function l(d,B){if(d){const J=d.indexOf(B);0<=J&&d.splice(J,1)}}S.d(me,{P:()=>l})},3888:(tt,me,S)=>{function l(d){const J=d(V=>{Error.call(V),V.stack=(new Error).stack});return J.prototype=Object.create(Error.prototype),J.prototype.constructor=J,J}S.d(me,{d:()=>l})},1810:(tt,me,S)=>{function l(d,B){return d.reduce((J,V,X)=>(J[V]=B[X],J),{})}S.d(me,{n:()=>l})},2806:(tt,me,S)=>{S.d(me,{O:()=>J,x:()=>B});var l=S(2416);let d=null;function B(V){if(l.v.useDeprecatedSynchronousErrorHandling){const X=!d;if(X&&(d={errorThrown:!1,error:null}),V(),X){const{errorThrown:G,error:Z}=d;if(d=null,G)throw Z}}else V()}function J(V){l.v.useDeprecatedSynchronousErrorHandling&&d&&(d.errorThrown=!0,d.error=V)}},9672:(tt,me,S)=>{function l(d,B,J,V=0,X=!1){const G=B.schedule(function(){J(),X?d.add(this.schedule(null,V)):this.unsubscribe()},V);if(d.add(G),!X)return G}S.d(me,{f:()=>l})},4671:(tt,me,S)=>{function l(d){return d}S.d(me,{y:()=>l})},1144:(tt,me,S)=>{S.d(me,{z:()=>l});const l=d=>d&&"number"==typeof d.length&&"function"!=typeof d},2206:(tt,me,S)=>{S.d(me,{D:()=>d});var l=S(576);function d(B){return Symbol.asyncIterator&&(0,l.m)(B?.[Symbol.asyncIterator])}},1165:(tt,me,S)=>{function l(d){return d instanceof Date&&!isNaN(d)}S.d(me,{q:()=>l})},576:(tt,me,S)=>{function l(d){return"function"==typeof d}S.d(me,{m:()=>l})},3670:(tt,me,S)=>{S.d(me,{c:()=>B});var l=S(8822),d=S(576);function B(J){return(0,d.m)(J[l.L])}},6495:(tt,me,S)=>{S.d(me,{T:()=>B});var l=S(2202),d=S(576);function B(J){return(0,d.m)(J?.[l.h])}},8239:(tt,me,S)=>{S.d(me,{t:()=>d});var l=S(576);function d(B){return(0,l.m)(B?.then)}},3260:(tt,me,S)=>{S.d(me,{L:()=>J,Q:()=>B});var l=S(655),d=S(576);function B(V){return(0,l.FC)(this,arguments,function*(){const G=V.getReader();try{for(;;){const{value:Z,done:Y}=yield(0,l.qq)(G.read());if(Y)return yield(0,l.qq)(void 0);yield yield(0,l.qq)(Z)}}finally{G.releaseLock()}})}function J(V){return(0,d.m)(V?.getReader)}},3532:(tt,me,S)=>{S.d(me,{K:()=>d});var l=S(576);function d(B){return B&&(0,l.m)(B.schedule)}},4482:(tt,me,S)=>{S.d(me,{A:()=>d,e:()=>B});var l=S(576);function d(J){return(0,l.m)(J?.lift)}function B(J){return V=>{if(d(V))return V.lift(function(X){try{return J(X,this)}catch(G){this.error(G)}});throw new TypeError("Unable to lift unknown Observable type")}}},3268:(tt,me,S)=>{S.d(me,{Z:()=>J});var l=S(4004);const{isArray:d}=Array;function J(V){return(0,l.U)(X=>function B(V,X){return d(X)?V(...X):V(X)}(V,X))}},5032:(tt,me,S)=>{function l(){}S.d(me,{Z:()=>l})},9635:(tt,me,S)=>{S.d(me,{U:()=>B,z:()=>d});var l=S(4671);function d(...J){return B(J)}function B(J){return 0===J.length?l.y:1===J.length?J[0]:function(X){return J.reduce((G,Z)=>Z(G),X)}}},7849:(tt,me,S)=>{S.d(me,{h:()=>B});var l=S(2416),d=S(3410);function B(J){d.z.setTimeout(()=>{const{onUnhandledError:V}=l.v;if(!V)throw J;V(J)})}},4532:(tt,me,S)=>{function l(d){return new TypeError(`You provided ${null!==d&&"object"==typeof d?"an invalid object":`'${d}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}S.d(me,{z:()=>l})},655:(tt,me,S)=>{function J(ee,fe){var Ae={};for(var ve in ee)Object.prototype.hasOwnProperty.call(ee,ve)&&fe.indexOf(ve)<0&&(Ae[ve]=ee[ve]);if(null!=ee&&"function"==typeof Object.getOwnPropertySymbols){var Ue=0;for(ve=Object.getOwnPropertySymbols(ee);Ue<ve.length;Ue++)fe.indexOf(ve[Ue])<0&&Object.prototype.propertyIsEnumerable.call(ee,ve[Ue])&&(Ae[ve[Ue]]=ee[ve[Ue]])}return Ae}function Z(ee,fe,Ae,ve){return new(Ae||(Ae=Promise))(function(Je,gt){function Mt(hn){try{dt(ve.next(hn))}catch(We){gt(We)}}function kt(hn){try{dt(ve.throw(hn))}catch(We){gt(We)}}function dt(hn){hn.done?Je(hn.value):function Ue(Je){return Je instanceof Ae?Je:new Ae(function(gt){gt(Je)})}(hn.value).then(Mt,kt)}dt((ve=ve.apply(ee,fe||[])).next())})}function be(ee){return this instanceof be?(this.v=ee,this):new be(ee)}function le(ee,fe,Ae){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Ue,ve=Ae.apply(ee,fe||[]),Je=[];return Ue={},gt("next"),gt("throw"),gt("return"),Ue[Symbol.asyncIterator]=function(){return this},Ue;function gt(Qe){ve[Qe]&&(Ue[Qe]=function(he){return new Promise(function(ye,at){Je.push([Qe,he,ye,at])>1||Mt(Qe,he)})})}function Mt(Qe,he){try{!function kt(Qe){Qe.value instanceof be?Promise.resolve(Qe.value.v).then(dt,hn):We(Je[0][2],Qe)}(ve[Qe](he))}catch(ye){We(Je[0][3],ye)}}function dt(Qe){Mt("next",Qe)}function hn(Qe){Mt("throw",Qe)}function We(Qe,he){Qe(he),Je.shift(),Je.length&&Mt(Je[0][0],Je[0][1])}}function rt(ee){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Ae,fe=ee[Symbol.asyncIterator];return fe?fe.call(ee):(ee=function ae(ee){var fe="function"==typeof Symbol&&Symbol.iterator,Ae=fe&&ee[fe],ve=0;if(Ae)return Ae.call(ee);if(ee&&"number"==typeof ee.length)return{next:function(){return ee&&ve>=ee.length&&(ee=void 0),{value:ee&&ee[ve++],done:!ee}}};throw new TypeError(fe?"Object is not iterable.":"Symbol.iterator is not defined.")}(ee),Ae={},ve("next"),ve("throw"),ve("return"),Ae[Symbol.asyncIterator]=function(){return this},Ae);function ve(Je){Ae[Je]=ee[Je]&&function(gt){return new Promise(function(Mt,kt){!function Ue(Je,gt,Mt,kt){Promise.resolve(kt).then(function(dt){Je({value:dt,done:Mt})},gt)}(Mt,kt,(gt=ee[Je](gt)).done,gt.value)})}}}S.d(me,{FC:()=>le,KL:()=>rt,_T:()=>J,mG:()=>Z,qq:()=>be})},7340:(tt,me,S)=>{S.d(me,{F4:()=>L,IO:()=>Pe,LC:()=>d,SB:()=>Y,X$:()=>J,ZE:()=>Ge,ZN:()=>le,_j:()=>l,eR:()=>z,jt:()=>V,k1:()=>rt,l3:()=>B,oB:()=>Z,pV:()=>Be,ru:()=>X,vP:()=>G});class l{}class d{}const B="*";function J(Se,ue){return{type:7,name:Se,definitions:ue,options:{}}}function V(Se,ue=null){return{type:4,styles:ue,timings:Se}}function X(Se,ue=null){return{type:3,steps:Se,options:ue}}function G(Se,ue=null){return{type:2,steps:Se,options:ue}}function Z(Se){return{type:6,styles:Se,offset:null}}function Y(Se,ue,we){return{type:0,name:Se,styles:ue,options:we}}function L(Se){return{type:5,steps:Se}}function z(Se,ue,we=null){return{type:1,expr:Se,animation:ue,options:we}}function Be(Se=null){return{type:9,options:Se}}function Pe(Se,ue,we=null){return{type:11,selector:Se,animation:ue,options:we}}function be(Se){Promise.resolve(null).then(Se)}class le{constructor(ue=0,we=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=ue+we}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(ue=>ue()),this._onDoneFns=[])}onStart(ue){this._originalOnStartFns.push(ue),this._onStartFns.push(ue)}onDone(ue){this._originalOnDoneFns.push(ue),this._onDoneFns.push(ue)}onDestroy(ue){this._onDestroyFns.push(ue)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){be(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(ue=>ue()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(ue=>ue()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(ue){this._position=this.totalTime?ue*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(ue){const we="start"==ue?this._onStartFns:this._onDoneFns;we.forEach(ze=>ze()),we.length=0}}class Ge{constructor(ue){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=ue;let we=0,ze=0,Ke=0;const Ce=this.players.length;0==Ce?be(()=>this._onFinish()):this.players.forEach(Ee=>{Ee.onDone(()=>{++we==Ce&&this._onFinish()}),Ee.onDestroy(()=>{++ze==Ce&&this._onDestroy()}),Ee.onStart(()=>{++Ke==Ce&&this._onStart()})}),this.totalTime=this.players.reduce((Ee,ee)=>Math.max(Ee,ee.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(ue=>ue()),this._onDoneFns=[])}init(){this.players.forEach(ue=>ue.init())}onStart(ue){this._onStartFns.push(ue)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(ue=>ue()),this._onStartFns=[])}onDone(ue){this._onDoneFns.push(ue)}onDestroy(ue){this._onDestroyFns.push(ue)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(ue=>ue.play())}pause(){this.players.forEach(ue=>ue.pause())}restart(){this.players.forEach(ue=>ue.restart())}finish(){this._onFinish(),this.players.forEach(ue=>ue.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(ue=>ue.destroy()),this._onDestroyFns.forEach(ue=>ue()),this._onDestroyFns=[])}reset(){this.players.forEach(ue=>ue.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(ue){const we=ue*this.totalTime;this.players.forEach(ze=>{const Ke=ze.totalTime?Math.min(1,we/ze.totalTime):1;ze.setPosition(Ke)})}getPosition(){const ue=this.players.reduce((we,ze)=>null===we||ze.totalTime>we.totalTime?ze:we,null);return null!=ue?ue.getPosition():0}beforeDestroy(){this.players.forEach(ue=>{ue.beforeDestroy&&ue.beforeDestroy()})}triggerCallback(ue){const we="start"==ue?this._onStartFns:this._onDoneFns;we.forEach(ze=>ze()),we.length=0}}const rt="!"},6895:(tt,me,S)=>{S.d(me,{$G:()=>li,Do:()=>rt,ED:()=>uo,EM:()=>Si,HT:()=>V,JF:()=>Zn,JJ:()=>di,K0:()=>G,Mx:()=>Hi,NF:()=>Mi,O5:()=>Hn,OU:()=>Wi,Ov:()=>Gi,PC:()=>Xi,PM:()=>Ki,RF:()=>bi,S$:()=>be,V_:()=>L,Ye:()=>Se,b0:()=>Ge,bD:()=>Gn,ez:()=>jo,mk:()=>Ei,n9:()=>ur,q:()=>B,sg:()=>Lr,tP:()=>fo,uU:()=>Sr,w_:()=>X});var l=S(4650);let d=null;function B(){return d}function V(C){d||(d=C)}class X{}const G=new l.OlP("DocumentToken");let Z=(()=>{class C{historyGo(A){throw new Error("Not implemented")}}return C.\u0275fac=function(A){return new(A||C)},C.\u0275prov=l.Yz7({token:C,factory:function(){return function Y(){return(0,l.LFG)(z)}()},providedIn:"platform"}),C})();const L=new l.OlP("Location Initialized");let z=(()=>{class C extends Z{constructor(A){super(),this._doc=A,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return B().getBaseHref(this._doc)}onPopState(A){const F=B().getGlobalEventTarget(this._doc,"window");return F.addEventListener("popstate",A,!1),()=>F.removeEventListener("popstate",A)}onHashChange(A){const F=B().getGlobalEventTarget(this._doc,"window");return F.addEventListener("hashchange",A,!1),()=>F.removeEventListener("hashchange",A)}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(A){this.location.pathname=A}pushState(A,F,oe){ae()?this._history.pushState(A,F,oe):this.location.hash=oe}replaceState(A,F,oe){ae()?this._history.replaceState(A,F,oe):this.location.hash=oe}forward(){this._history.forward()}back(){this._history.back()}historyGo(A=0){this._history.go(A)}getState(){return this._history.state}}return C.\u0275fac=function(A){return new(A||C)(l.LFG(G))},C.\u0275prov=l.Yz7({token:C,factory:function(){return function Be(){return new z((0,l.LFG)(G))}()},providedIn:"platform"}),C})();function ae(){return!!window.history.pushState}function xe(C,R){if(0==C.length)return R;if(0==R.length)return C;let A=0;return C.endsWith("/")&&A++,R.startsWith("/")&&A++,2==A?C+R.substring(1):1==A?C+R:C+"/"+R}function Pe(C){const R=C.match(/#|\?|$/),A=R&&R.index||C.length;return C.slice(0,A-("/"===C[A-1]?1:0))+C.slice(A)}function $e(C){return C&&"?"!==C[0]?"?"+C:C}let be=(()=>{class C{historyGo(A){throw new Error("Not implemented")}}return C.\u0275fac=function(A){return new(A||C)},C.\u0275prov=l.Yz7({token:C,factory:function(){return(0,l.f3M)(Ge)},providedIn:"root"}),C})();const le=new l.OlP("appBaseHref");let Ge=(()=>{class C extends be{constructor(A,F){super(),this._platformLocation=A,this._removeListenerFns=[],this._baseHref=F??this._platformLocation.getBaseHrefFromDOM()??(0,l.f3M)(G).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(A){this._removeListenerFns.push(this._platformLocation.onPopState(A),this._platformLocation.onHashChange(A))}getBaseHref(){return this._baseHref}prepareExternalUrl(A){return xe(this._baseHref,A)}path(A=!1){const F=this._platformLocation.pathname+$e(this._platformLocation.search),oe=this._platformLocation.hash;return oe&&A?`${F}${oe}`:F}pushState(A,F,oe,Ne){const Oe=this.prepareExternalUrl(oe+$e(Ne));this._platformLocation.pushState(A,F,Oe)}replaceState(A,F,oe,Ne){const Oe=this.prepareExternalUrl(oe+$e(Ne));this._platformLocation.replaceState(A,F,Oe)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(A=0){this._platformLocation.historyGo?.(A)}}return C.\u0275fac=function(A){return new(A||C)(l.LFG(Z),l.LFG(le,8))},C.\u0275prov=l.Yz7({token:C,factory:C.\u0275fac,providedIn:"root"}),C})(),rt=(()=>{class C extends be{constructor(A,F){super(),this._platformLocation=A,this._baseHref="",this._removeListenerFns=[],null!=F&&(this._baseHref=F)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(A){this._removeListenerFns.push(this._platformLocation.onPopState(A),this._platformLocation.onHashChange(A))}getBaseHref(){return this._baseHref}path(A=!1){let F=this._platformLocation.hash;return null==F&&(F="#"),F.length>0?F.substring(1):F}prepareExternalUrl(A){const F=xe(this._baseHref,A);return F.length>0?"#"+F:F}pushState(A,F,oe,Ne){let Oe=this.prepareExternalUrl(oe+$e(Ne));0==Oe.length&&(Oe=this._platformLocation.pathname),this._platformLocation.pushState(A,F,Oe)}replaceState(A,F,oe,Ne){let Oe=this.prepareExternalUrl(oe+$e(Ne));0==Oe.length&&(Oe=this._platformLocation.pathname),this._platformLocation.replaceState(A,F,Oe)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(A=0){this._platformLocation.historyGo?.(A)}}return C.\u0275fac=function(A){return new(A||C)(l.LFG(Z),l.LFG(le,8))},C.\u0275prov=l.Yz7({token:C,factory:C.\u0275fac}),C})(),Se=(()=>{class C{constructor(A){this._subject=new l.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=A;const F=this._locationStrategy.getBaseHref();this._baseHref=Pe(ze(F)),this._locationStrategy.onPopState(oe=>{this._subject.emit({url:this.path(!0),pop:!0,state:oe.state,type:oe.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(A=!1){return this.normalize(this._locationStrategy.path(A))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(A,F=""){return this.path()==this.normalize(A+$e(F))}normalize(A){return C.stripTrailingSlash(function we(C,R){return C&&R.startsWith(C)?R.substring(C.length):R}(this._baseHref,ze(A)))}prepareExternalUrl(A){return A&&"/"!==A[0]&&(A="/"+A),this._locationStrategy.prepareExternalUrl(A)}go(A,F="",oe=null){this._locationStrategy.pushState(oe,"",A,F),this._notifyUrlChangeListeners(this.prepareExternalUrl(A+$e(F)),oe)}replaceState(A,F="",oe=null){this._locationStrategy.replaceState(oe,"",A,F),this._notifyUrlChangeListeners(this.prepareExternalUrl(A+$e(F)),oe)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(A=0){this._locationStrategy.historyGo?.(A)}onUrlChange(A){return this._urlChangeListeners.push(A),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(F=>{this._notifyUrlChangeListeners(F.url,F.state)})),()=>{const F=this._urlChangeListeners.indexOf(A);this._urlChangeListeners.splice(F,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(A="",F){this._urlChangeListeners.forEach(oe=>oe(A,F))}subscribe(A,F,oe){return this._subject.subscribe({next:A,error:F,complete:oe})}}return C.normalizeQueryParams=$e,C.joinWithSlash=xe,C.stripTrailingSlash=Pe,C.\u0275fac=function(A){return new(A||C)(l.LFG(be))},C.\u0275prov=l.Yz7({token:C,factory:function(){return function ue(){return new Se((0,l.LFG)(be))}()},providedIn:"root"}),C})();function ze(C){return C.replace(/\/index.html$/,"")}var Ce=(()=>((Ce=Ce||{})[Ce.Decimal=0]="Decimal",Ce[Ce.Percent=1]="Percent",Ce[Ce.Currency=2]="Currency",Ce[Ce.Scientific=3]="Scientific",Ce))(),ee=(()=>((ee=ee||{})[ee.Format=0]="Format",ee[ee.Standalone=1]="Standalone",ee))(),fe=(()=>((fe=fe||{})[fe.Narrow=0]="Narrow",fe[fe.Abbreviated=1]="Abbreviated",fe[fe.Wide=2]="Wide",fe[fe.Short=3]="Short",fe))(),Ae=(()=>((Ae=Ae||{})[Ae.Short=0]="Short",Ae[Ae.Medium=1]="Medium",Ae[Ae.Long=2]="Long",Ae[Ae.Full=3]="Full",Ae))(),ve=(()=>((ve=ve||{})[ve.Decimal=0]="Decimal",ve[ve.Group=1]="Group",ve[ve.List=2]="List",ve[ve.PercentSign=3]="PercentSign",ve[ve.PlusSign=4]="PlusSign",ve[ve.MinusSign=5]="MinusSign",ve[ve.Exponential=6]="Exponential",ve[ve.SuperscriptingExponent=7]="SuperscriptingExponent",ve[ve.PerMille=8]="PerMille",ve[ve.Infinity=9]="Infinity",ve[ve.NaN=10]="NaN",ve[ve.TimeSeparator=11]="TimeSeparator",ve[ve.CurrencyDecimal=12]="CurrencyDecimal",ve[ve.CurrencyGroup=13]="CurrencyGroup",ve))();function Qe(C,R){return nn((0,l.cg1)(C)[l.wAp.DateFormat],R)}function he(C,R){return nn((0,l.cg1)(C)[l.wAp.TimeFormat],R)}function ye(C,R){return nn((0,l.cg1)(C)[l.wAp.DateTimeFormat],R)}function at(C,R){const A=(0,l.cg1)(C),F=A[l.wAp.NumberSymbols][R];if(typeof F>"u"){if(R===ve.CurrencyDecimal)return A[l.wAp.NumberSymbols][ve.Decimal];if(R===ve.CurrencyGroup)return A[l.wAp.NumberSymbols][ve.Group]}return F}function Dn(C){if(!C[l.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${C[l.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function nn(C,R){for(let A=R;A>-1;A--)if(typeof C[A]<"u")return C[A];throw new Error("Locale data API: locale data undefined")}function Ln(C){const[R,A]=C.split(":");return{hours:+R,minutes:+A}}const sn=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,En={},He=/((?:[^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 re=(()=>((re=re||{})[re.Short=0]="Short",re[re.ShortGMT=1]="ShortGMT",re[re.Long=2]="Long",re[re.Extended=3]="Extended",re))(),W=(()=>((W=W||{})[W.FullYear=0]="FullYear",W[W.Month=1]="Month",W[W.Date=2]="Date",W[W.Hours=3]="Hours",W[W.Minutes=4]="Minutes",W[W.Seconds=5]="Seconds",W[W.FractionalSeconds=6]="FractionalSeconds",W[W.Day=7]="Day",W))(),Me=(()=>((Me=Me||{})[Me.DayPeriods=0]="DayPeriods",Me[Me.Days=1]="Days",Me[Me.Months=2]="Months",Me[Me.Eras=3]="Eras",Me))();function qe(C,R,A,F){let oe=function ct(C){if(tn(C))return C;if("number"==typeof C&&!isNaN(C))return new Date(C);if("string"==typeof C){if(C=C.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(C)){const[oe,Ne=1,Oe=1]=C.split("-").map(ft=>+ft);return nt(oe,Ne-1,Oe)}const A=parseFloat(C);if(!isNaN(C-A))return new Date(A);let F;if(F=C.match(sn))return function Pt(C){const R=new Date(0);let A=0,F=0;const oe=C[8]?R.setUTCFullYear:R.setFullYear,Ne=C[8]?R.setUTCHours:R.setHours;C[9]&&(A=Number(C[9]+C[10]),F=Number(C[9]+C[11])),oe.call(R,Number(C[1]),Number(C[2])-1,Number(C[3]));const Oe=Number(C[4]||0)-A,ft=Number(C[5]||0)-F,Bn=Number(C[6]||0),bn=Math.floor(1e3*parseFloat("0."+(C[7]||0)));return Ne.call(R,Oe,ft,Bn,bn),R}(F)}const R=new Date(C);if(!tn(R))throw new Error(`Unable to convert "${C}" into a date`);return R}(C);R=At(A,R)||R;let ft,Oe=[];for(;R;){if(ft=He.exec(R),!ft){Oe.push(R);break}{Oe=Oe.concat(ft.slice(1));const wn=Oe.pop();if(!wn)break;R=wn}}let Bn=oe.getTimezoneOffset();F&&(Bn=de(F,Bn),oe=function De(C,R,A){const F=A?-1:1,oe=C.getTimezoneOffset();return function Re(C,R){return(C=new Date(C.getTime())).setMinutes(C.getMinutes()+R),C}(C,F*(de(R,oe)-oe))}(oe,F,!0));let bn="";return Oe.forEach(wn=>{const ln=function Q(C){if(te[C])return te[C];let R;switch(C){case"G":case"GG":case"GGG":R=St(Me.Eras,fe.Abbreviated);break;case"GGGG":R=St(Me.Eras,fe.Wide);break;case"GGGGG":R=St(Me.Eras,fe.Narrow);break;case"y":R=Nt(W.FullYear,1,0,!1,!0);break;case"yy":R=Nt(W.FullYear,2,0,!0,!0);break;case"yyy":R=Nt(W.FullYear,3,0,!1,!0);break;case"yyyy":R=Nt(W.FullYear,4,0,!1,!0);break;case"Y":R=rn(1);break;case"YY":R=rn(2,!0);break;case"YYY":R=rn(3);break;case"YYYY":R=rn(4);break;case"M":case"L":R=Nt(W.Month,1,1);break;case"MM":case"LL":R=Nt(W.Month,2,1);break;case"MMM":R=St(Me.Months,fe.Abbreviated);break;case"MMMM":R=St(Me.Months,fe.Wide);break;case"MMMMM":R=St(Me.Months,fe.Narrow);break;case"LLL":R=St(Me.Months,fe.Abbreviated,ee.Standalone);break;case"LLLL":R=St(Me.Months,fe.Wide,ee.Standalone);break;case"LLLLL":R=St(Me.Months,fe.Narrow,ee.Standalone);break;case"w":R=Vt(1);break;case"ww":R=Vt(2);break;case"W":R=Vt(1,!0);break;case"d":R=Nt(W.Date,1);break;case"dd":R=Nt(W.Date,2);break;case"c":case"cc":R=Nt(W.Day,1);break;case"ccc":R=St(Me.Days,fe.Abbreviated,ee.Standalone);break;case"cccc":R=St(Me.Days,fe.Wide,ee.Standalone);break;case"ccccc":R=St(Me.Days,fe.Narrow,ee.Standalone);break;case"cccccc":R=St(Me.Days,fe.Short,ee.Standalone);break;case"E":case"EE":case"EEE":R=St(Me.Days,fe.Abbreviated);break;case"EEEE":R=St(Me.Days,fe.Wide);break;case"EEEEE":R=St(Me.Days,fe.Narrow);break;case"EEEEEE":R=St(Me.Days,fe.Short);break;case"a":case"aa":case"aaa":R=St(Me.DayPeriods,fe.Abbreviated);break;case"aaaa":R=St(Me.DayPeriods,fe.Wide);break;case"aaaaa":R=St(Me.DayPeriods,fe.Narrow);break;case"b":case"bb":case"bbb":R=St(Me.DayPeriods,fe.Abbreviated,ee.Standalone,!0);break;case"bbbb":R=St(Me.DayPeriods,fe.Wide,ee.Standalone,!0);break;case"bbbbb":R=St(Me.DayPeriods,fe.Narrow,ee.Standalone,!0);break;case"B":case"BB":case"BBB":R=St(Me.DayPeriods,fe.Abbreviated,ee.Format,!0);break;case"BBBB":R=St(Me.DayPeriods,fe.Wide,ee.Format,!0);break;case"BBBBB":R=St(Me.DayPeriods,fe.Narrow,ee.Format,!0);break;case"h":R=Nt(W.Hours,1,-12);break;case"hh":R=Nt(W.Hours,2,-12);break;case"H":R=Nt(W.Hours,1);break;case"HH":R=Nt(W.Hours,2);break;case"m":R=Nt(W.Minutes,1);break;case"mm":R=Nt(W.Minutes,2);break;case"s":R=Nt(W.Seconds,1);break;case"ss":R=Nt(W.Seconds,2);break;case"S":R=Nt(W.FractionalSeconds,1);break;case"SS":R=Nt(W.FractionalSeconds,2);break;case"SSS":R=Nt(W.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":R=Zt(re.Short);break;case"ZZZZZ":R=Zt(re.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":R=Zt(re.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":R=Zt(re.Long);break;default:return null}return te[C]=R,R}(wn);bn+=ln?ln(oe,A,Bn):"''"===wn?"'":wn.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),bn}function nt(C,R,A){const F=new Date(0);return F.setFullYear(C,R,A),F.setHours(0,0,0),F}function At(C,R){const A=function Je(C){return(0,l.cg1)(C)[l.wAp.LocaleId]}(C);if(En[A]=En[A]||{},En[A][R])return En[A][R];let F="";switch(R){case"shortDate":F=Qe(C,Ae.Short);break;case"mediumDate":F=Qe(C,Ae.Medium);break;case"longDate":F=Qe(C,Ae.Long);break;case"fullDate":F=Qe(C,Ae.Full);break;case"shortTime":F=he(C,Ae.Short);break;case"mediumTime":F=he(C,Ae.Medium);break;case"longTime":F=he(C,Ae.Long);break;case"fullTime":F=he(C,Ae.Full);break;case"short":const oe=At(C,"shortTime"),Ne=At(C,"shortDate");F=_t(ye(C,Ae.Short),[oe,Ne]);break;case"medium":const Oe=At(C,"mediumTime"),ft=At(C,"mediumDate");F=_t(ye(C,Ae.Medium),[Oe,ft]);break;case"long":const Bn=At(C,"longTime"),bn=At(C,"longDate");F=_t(ye(C,Ae.Long),[Bn,bn]);break;case"full":const wn=At(C,"fullTime"),ln=At(C,"fullDate");F=_t(ye(C,Ae.Full),[wn,ln])}return F&&(En[A][R]=F),F}function _t(C,R){return R&&(C=C.replace(/\{([^}]+)}/g,function(A,F){return null!=R&&F in R?R[F]:A})),C}function Et(C,R,A="-",F,oe){let Ne="";(C<0||oe&&C<=0)&&(oe?C=1-C:(C=-C,Ne=A));let Oe=String(C);for(;Oe.length<R;)Oe="0"+Oe;return F&&(Oe=Oe.slice(Oe.length-R)),Ne+Oe}function Nt(C,R,A=0,F=!1,oe=!1){return function(Ne,Oe){let ft=function Fn(C,R){switch(C){case W.FullYear:return R.getFullYear();case W.Month:return R.getMonth();case W.Date:return R.getDate();case W.Hours:return R.getHours();case W.Minutes:return R.getMinutes();case W.Seconds:return R.getSeconds();case W.FractionalSeconds:return R.getMilliseconds();case W.Day:return R.getDay();default:throw new Error(`Unknown DateType value "${C}".`)}}(C,Ne);if((A>0||ft>-A)&&(ft+=A),C===W.Hours)0===ft&&-12===A&&(ft=12);else if(C===W.FractionalSeconds)return function In(C,R){return Et(C,3).substring(0,R)}(ft,R);const Bn=at(Oe,ve.MinusSign);return Et(ft,R,Bn,F,oe)}}function St(C,R,A=ee.Format,F=!1){return function(oe,Ne){return function jt(C,R,A,F,oe,Ne){switch(A){case Me.Months:return function kt(C,R,A){const F=(0,l.cg1)(C),Ne=nn([F[l.wAp.MonthsFormat],F[l.wAp.MonthsStandalone]],R);return nn(Ne,A)}(R,oe,F)[C.getMonth()];case Me.Days:return function Mt(C,R,A){const F=(0,l.cg1)(C),Ne=nn([F[l.wAp.DaysFormat],F[l.wAp.DaysStandalone]],R);return nn(Ne,A)}(R,oe,F)[C.getDay()];case Me.DayPeriods:const Oe=C.getHours(),ft=C.getMinutes();if(Ne){const bn=function Nn(C){const R=(0,l.cg1)(C);return Dn(R),(R[l.wAp.ExtraData][2]||[]).map(F=>"string"==typeof F?Ln(F):[Ln(F[0]),Ln(F[1])])}(R),wn=function gn(C,R,A){const F=(0,l.cg1)(C);Dn(F);const Ne=nn([F[l.wAp.ExtraData][0],F[l.wAp.ExtraData][1]],R)||[];return nn(Ne,A)||[]}(R,oe,F),ln=bn.findIndex(zn=>{if(Array.isArray(zn)){const[yn,Vn]=zn,Ze=Oe>=yn.hours&&ft>=yn.minutes,Wt=Oe<Vn.hours||Oe===Vn.hours&&ft<Vn.minutes;if(yn.hours<Vn.hours){if(Ze&&Wt)return!0}else if(Ze||Wt)return!0}else if(zn.hours===Oe&&zn.minutes===ft)return!0;return!1});if(-1!==ln)return wn[ln]}return function gt(C,R,A){const F=(0,l.cg1)(C),Ne=nn([F[l.wAp.DayPeriodsFormat],F[l.wAp.DayPeriodsStandalone]],R);return nn(Ne,A)}(R,oe,F)[Oe<12?0:1];case Me.Eras:return function dt(C,R){return nn((0,l.cg1)(C)[l.wAp.Eras],R)}(R,F)[C.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${A}`)}}(oe,Ne,C,R,A,F)}}function Zt(C){return function(R,A,F){const oe=-1*F,Ne=at(A,ve.MinusSign),Oe=oe>0?Math.floor(oe/60):Math.ceil(oe/60);switch(C){case re.Short:return(oe>=0?"+":"")+Et(Oe,2,Ne)+Et(Math.abs(oe%60),2,Ne);case re.ShortGMT:return"GMT"+(oe>=0?"+":"")+Et(Oe,1,Ne);case re.Long:return"GMT"+(oe>=0?"+":"")+Et(Oe,2,Ne)+":"+Et(Math.abs(oe%60),2,Ne);case re.Extended:return 0===F?"Z":(oe>=0?"+":"")+Et(Oe,2,Ne)+":"+Et(Math.abs(oe%60),2,Ne);default:throw new Error(`Unknown zone width "${C}"`)}}}function Ft(C){return nt(C.getFullYear(),C.getMonth(),C.getDate()+(4-C.getDay()))}function Vt(C,R=!1){return function(A,F){let oe;if(R){const Ne=new Date(A.getFullYear(),A.getMonth(),1).getDay()-1,Oe=A.getDate();oe=1+Math.floor((Oe+Ne)/7)}else{const Ne=Ft(A),Oe=function ut(C){const R=nt(C,0,1).getDay();return nt(C,0,1+(R<=4?4:11)-R)}(Ne.getFullYear()),ft=Ne.getTime()-Oe.getTime();oe=1+Math.round(ft/6048e5)}return Et(oe,C,at(F,ve.MinusSign))}}function rn(C,R=!1){return function(A,F){return Et(Ft(A).getFullYear(),C,at(F,ve.MinusSign),R)}}const te={};function de(C,R){C=C.replace(/:/g,"");const A=Date.parse("Jan 01, 1970 00:00:00 "+C)/6e4;return isNaN(A)?R:A}function tn(C){return C instanceof Date&&!isNaN(C.valueOf())}const st=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function lr(C){const R=parseInt(C);if(isNaN(R))throw new Error("Invalid integer literal when parsing "+C);return R}function Hi(C,R){R=encodeURIComponent(R);for(const A of C.split(";")){const F=A.indexOf("="),[oe,Ne]=-1==F?[A,""]:[A.slice(0,F),A.slice(F+1)];if(oe.trim()===R)return decodeURIComponent(Ne)}return null}let Ei=(()=>{class C{constructor(A,F,oe,Ne){this._iterableDiffers=A,this._keyValueDiffers=F,this._ngEl=oe,this._renderer=Ne,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(A){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof A?A.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(A){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof A?A.split(/\s+/):A,this._rawClass&&((0,l.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const A=this._iterableDiffer.diff(this._rawClass);A&&this._applyIterableChanges(A)}else if(this._keyValueDiffer){const A=this._keyValueDiffer.diff(this._rawClass);A&&this._applyKeyValueChanges(A)}}_applyKeyValueChanges(A){A.forEachAddedItem(F=>this._toggleClass(F.key,F.currentValue)),A.forEachChangedItem(F=>this._toggleClass(F.key,F.currentValue)),A.forEachRemovedItem(F=>{F.previousValue&&this._toggleClass(F.key,!1)})}_applyIterableChanges(A){A.forEachAddedItem(F=>{if("string"!=typeof F.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,l.AaK)(F.item)}`);this._toggleClass(F.item,!0)}),A.forEachRemovedItem(F=>this._toggleClass(F.item,!1))}_applyClasses(A){A&&(Array.isArray(A)||A instanceof Set?A.forEach(F=>this._toggleClass(F,!0)):Object.keys(A).forEach(F=>this._toggleClass(F,!!A[F])))}_removeClasses(A){A&&(Array.isArray(A)||A instanceof Set?A.forEach(F=>this._toggleClass(F,!1)):Object.keys(A).forEach(F=>this._toggleClass(F,!1)))}_toggleClass(A,F){(A=A.trim())&&A.split(/\s+/g).forEach(oe=>{F?this._renderer.addClass(this._ngEl.nativeElement,oe):this._renderer.removeClass(this._ngEl.nativeElement,oe)})}}return C.\u0275fac=function(A){return new(A||C)(l.Y36(l.ZZ4),l.Y36(l.aQg),l.Y36(l.SBq),l.Y36(l.Qsj))},C.\u0275dir=l.lG2({type:C,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),C})(),li=(()=>{class C{constructor(A){this._viewContainerRef=A,this.ngComponentOutlet=null}ngOnChanges(A){const{_viewContainerRef:F,ngComponentOutletNgModule:oe,ngComponentOutletNgModuleFactory:Ne}=this;if(F.clear(),this._componentRef=void 0,this.ngComponentOutlet){const Oe=this.ngComponentOutletInjector||F.parentInjector;(A.ngComponentOutletNgModule||A.ngComponentOutletNgModuleFactory)&&(this._moduleRef&&this._moduleRef.destroy(),this._moduleRef=oe?(0,l.Lck)(oe,qn(Oe)):Ne?Ne.create(qn(Oe)):void 0),this._componentRef=F.createComponent(this.ngComponentOutlet,{index:F.length,injector:Oe,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngOnDestroy(){this._moduleRef&&this._moduleRef.destroy()}}return C.\u0275fac=function(A){return new(A||C)(l.Y36(l.s_b))},C.\u0275dir=l.lG2({type:C,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[l.TTD]}),C})();function qn(C){return C.get(l.h0i).injector}class zr{constructor(R,A,F,oe){this.$implicit=R,this.ngForOf=A,this.index=F,this.count=oe}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 Lr=(()=>{class C{constructor(A,F,oe){this._viewContainer=A,this._template=F,this._differs=oe,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(A){this._ngForOf=A,this._ngForOfDirty=!0}set ngForTrackBy(A){this._trackByFn=A}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(A){A&&(this._template=A)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const A=this._ngForOf;!this._differ&&A&&(this._differ=this._differs.find(A).create(this.ngForTrackBy))}if(this._differ){const A=this._differ.diff(this._ngForOf);A&&this._applyChanges(A)}}_applyChanges(A){const F=this._viewContainer;A.forEachOperation((oe,Ne,Oe)=>{if(null==oe.previousIndex)F.createEmbeddedView(this._template,new zr(oe.item,this._ngForOf,-1,-1),null===Oe?void 0:Oe);else if(null==Oe)F.remove(null===Ne?void 0:Ne);else if(null!==Ne){const ft=F.get(Ne);F.move(ft,Oe),Cn(ft,oe)}});for(let oe=0,Ne=F.length;oe<Ne;oe++){const ft=F.get(oe).context;ft.index=oe,ft.count=Ne,ft.ngForOf=this._ngForOf}A.forEachIdentityChange(oe=>{Cn(F.get(oe.currentIndex),oe)})}static ngTemplateContextGuard(A,F){return!0}}return C.\u0275fac=function(A){return new(A||C)(l.Y36(l.s_b),l.Y36(l.Rgc),l.Y36(l.ZZ4))},C.\u0275dir=l.lG2({type:C,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),C})();function Cn(C,R){C.context.$implicit=R.item}let Hn=(()=>{class C{constructor(A,F){this._viewContainer=A,this._context=new er,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=F}set ngIf(A){this._context.$implicit=this._context.ngIf=A,this._updateView()}set ngIfThen(A){ui("ngIfThen",A),this._thenTemplateRef=A,this._thenViewRef=null,this._updateView()}set ngIfElse(A){ui("ngIfElse",A),this._elseTemplateRef=A,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(A,F){return!0}}return C.\u0275fac=function(A){return new(A||C)(l.Y36(l.s_b),l.Y36(l.Rgc))},C.\u0275dir=l.lG2({type:C,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),C})();class er{constructor(){this.$implicit=null,this.ngIf=null}}function ui(C,R){if(R&&!R.createEmbeddedView)throw new Error(`${C} must be a TemplateRef, but received '${(0,l.AaK)(R)}'.`)}class ji{constructor(R,A){this._viewContainerRef=R,this._templateRef=A,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(R){R&&!this._created?this.create():!R&&this._created&&this.destroy()}}let bi=(()=>{class C{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(A){this._ngSwitch=A,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(A){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(A)}_matchCase(A){const F=A==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||F,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),F}_updateDefaultCases(A){if(this._defaultViews&&A!==this._defaultUsed){this._defaultUsed=A;for(let F=0;F<this._defaultViews.length;F++)this._defaultViews[F].enforceState(A)}}}return C.\u0275fac=function(A){return new(A||C)},C.\u0275dir=l.lG2({type:C,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),C})(),ur=(()=>{class C{constructor(A,F,oe){this.ngSwitch=oe,oe._addCase(),this._view=new ji(A,F)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return C.\u0275fac=function(A){return new(A||C)(l.Y36(l.s_b),l.Y36(l.Rgc),l.Y36(bi,9))},C.\u0275dir=l.lG2({type:C,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),C})(),uo=(()=>{class C{constructor(A,F,oe){oe._addDefault(new ji(A,F))}}return C.\u0275fac=function(A){return new(A||C)(l.Y36(l.s_b),l.Y36(l.Rgc),l.Y36(bi,9))},C.\u0275dir=l.lG2({type:C,selectors:[["","ngSwitchDefault",""]],standalone:!0}),C})(),Xi=(()=>{class C{constructor(A,F,oe){this._ngEl=A,this._differs=F,this._renderer=oe,this._ngStyle=null,this._differ=null}set ngStyle(A){this._ngStyle=A,!this._differ&&A&&(this._differ=this._differs.find(A).create())}ngDoCheck(){if(this._differ){const A=this._differ.diff(this._ngStyle);A&&this._applyChanges(A)}}_setStyle(A,F){const[oe,Ne]=A.split("."),Oe=-1===oe.indexOf("-")?void 0:l.JOm.DashCase;null!=F?this._renderer.setStyle(this._ngEl.nativeElement,oe,Ne?`${F}${Ne}`:F,Oe):this._renderer.removeStyle(this._ngEl.nativeElement,oe,Oe)}_applyChanges(A){A.forEachRemovedItem(F=>this._setStyle(F.key,null)),A.forEachAddedItem(F=>this._setStyle(F.key,F.currentValue)),A.forEachChangedItem(F=>this._setStyle(F.key,F.currentValue))}}return C.\u0275fac=function(A){return new(A||C)(l.Y36(l.SBq),l.Y36(l.aQg),l.Y36(l.Qsj))},C.\u0275dir=l.lG2({type:C,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),C})(),fo=(()=>{class C{constructor(A){this._viewContainerRef=A,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(A){if(A.ngTemplateOutlet||A.ngTemplateOutletInjector){const F=this._viewContainerRef;if(this._viewRef&&F.remove(F.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:oe,ngTemplateOutletContext:Ne,ngTemplateOutletInjector:Oe}=this;this._viewRef=F.createEmbeddedView(oe,Ne,Oe?{injector:Oe}:void 0)}else this._viewRef=null}else this._viewRef&&A.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return C.\u0275fac=function(A){return new(A||C)(l.Y36(l.s_b))},C.\u0275dir=l.lG2({type:C,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[l.TTD]}),C})();function cr(C,R){return new l.vHH(2100,!1)}class ho{createSubscription(R,A){return R.subscribe({next:A,error:F=>{throw F}})}dispose(R){R.unsubscribe()}}class ps{createSubscription(R,A){return R.then(A,F=>{throw F})}dispose(R){}}const eo=new ps,Vo=new ho;let Gi=(()=>{class C{constructor(A){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=A}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(A){return this._obj?A!==this._obj?(this._dispose(),this.transform(A)):this._latestValue:(A&&this._subscribe(A),this._latestValue)}_subscribe(A){this._obj=A,this._strategy=this._selectStrategy(A),this._subscription=this._strategy.createSubscription(A,F=>this._updateLatestValue(A,F))}_selectStrategy(A){if((0,l.QGY)(A))return eo;if((0,l.F4k)(A))return Vo;throw cr()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(A,F){A===this._obj&&(this._latestValue=F,this._ref.markForCheck())}}return C.\u0275fac=function(A){return new(A||C)(l.Y36(l.sBO,16))},C.\u0275pipe=l.Yjl({name:"async",type:C,pure:!1,standalone:!0}),C})();const po=new l.OlP("DATE_PIPE_DEFAULT_TIMEZONE");let Sr=(()=>{class C{constructor(A,F){this.locale=A,this.defaultTimezone=F}transform(A,F="mediumDate",oe,Ne){if(null==A||""===A||A!=A)return null;try{return qe(A,F,Ne||this.locale,oe??this.defaultTimezone??void 0)}catch(Oe){throw cr()}}}return C.\u0275fac=function(A){return new(A||C)(l.Y36(l.soG,16),l.Y36(po,24))},C.\u0275pipe=l.Yjl({name:"date",type:C,pure:!0,standalone:!0}),C})(),di=(()=>{class C{constructor(A){this._locale=A}transform(A,F,oe){if(!function Ti(C){return!(null==C||""===C||C!=C)}(A))return null;oe=oe||this._locale;try{return function Xn(C,R,A){return function Yt(C,R,A,F,oe,Ne,Oe=!1){let ft="",Bn=!1;if(isFinite(C)){let bn=function Kn(C){let F,oe,Ne,Oe,ft,R=Math.abs(C)+"",A=0;for((oe=R.indexOf("."))>-1&&(R=R.replace(".","")),(Ne=R.search(/e/i))>0?(oe<0&&(oe=Ne),oe+=+R.slice(Ne+1),R=R.substring(0,Ne)):oe<0&&(oe=R.length),Ne=0;"0"===R.charAt(Ne);Ne++);if(Ne===(ft=R.length))F=[0],oe=1;else{for(ft--;"0"===R.charAt(ft);)ft--;for(oe-=Ne,F=[],Oe=0;Ne<=ft;Ne++,Oe++)F[Oe]=Number(R.charAt(Ne))}return oe>22&&(F=F.splice(0,21),A=oe-1,oe=1),{digits:F,exponent:A,integerLen:oe}}(C);Oe&&(bn=function Fr(C){if(0===C.digits[0])return C;const R=C.digits.length-C.integerLen;return C.exponent?C.exponent+=2:(0===R?C.digits.push(0,0):1===R&&C.digits.push(0),C.integerLen+=2),C}(bn));let wn=R.minInt,ln=R.minFrac,zn=R.maxFrac;if(Ne){const vr=Ne.match(st);if(null===vr)throw new Error(`${Ne} is not a valid digit info`);const jn=vr[1],Ii=vr[3],pi=vr[5];null!=jn&&(wn=lr(jn)),null!=Ii&&(ln=lr(Ii)),null!=pi?zn=lr(pi):null!=Ii&&ln>zn&&(zn=ln)}!function kr(C,R,A){if(R>A)throw new Error(`The minimum number of digits after fraction (${R}) is higher than the maximum (${A}).`);let F=C.digits,oe=F.length-C.integerLen;const Ne=Math.min(Math.max(R,oe),A);let Oe=Ne+C.integerLen,ft=F[Oe];if(Oe>0){F.splice(Math.max(C.integerLen,Oe));for(let ln=Oe;ln<F.length;ln++)F[ln]=0}else{oe=Math.max(0,oe),C.integerLen=1,F.length=Math.max(1,Oe=Ne+1),F[0]=0;for(let ln=1;ln<Oe;ln++)F[ln]=0}if(ft>=5)if(Oe-1<0){for(let ln=0;ln>Oe;ln--)F.unshift(0),C.integerLen++;F.unshift(1),C.integerLen++}else F[Oe-1]++;for(;oe<Math.max(0,Ne);oe++)F.push(0);let Bn=0!==Ne;const bn=R+C.integerLen,wn=F.reduceRight(function(ln,zn,yn,Vn){return Vn[yn]=(zn+=ln)<10?zn:zn-10,Bn&&(0===Vn[yn]&&yn>=bn?Vn.pop():Bn=!1),zn>=10?1:0},0);wn&&(F.unshift(wn),C.integerLen++)}(bn,ln,zn);let yn=bn.digits,Vn=bn.integerLen;const Ze=bn.exponent;let Wt=[];for(Bn=yn.every(vr=>!vr);Vn<wn;Vn++)yn.unshift(0);for(;Vn<0;Vn++)yn.unshift(0);Vn>0?Wt=yn.splice(Vn,yn.length):(Wt=yn,yn=[0]);const Vr=[];for(yn.length>=R.lgSize&&Vr.unshift(yn.splice(-R.lgSize,yn.length).join(""));yn.length>R.gSize;)Vr.unshift(yn.splice(-R.gSize,yn.length).join(""));yn.length&&Vr.unshift(yn.join("")),ft=Vr.join(at(A,F)),Wt.length&&(ft+=at(A,oe)+Wt.join("")),Ze&&(ft+=at(A,ve.Exponential)+"+"+Ze)}else ft=at(A,ve.Infinity);return ft=C<0&&!Bn?R.negPre+ft+R.negSuf:R.posPre+ft+R.posSuf,ft}(C,function mr(C,R="-"){const A={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},F=C.split(";"),oe=F[0],Ne=F[1],Oe=-1!==oe.indexOf(".")?oe.split("."):[oe.substring(0,oe.lastIndexOf("0")+1),oe.substring(oe.lastIndexOf("0")+1)],ft=Oe[0],Bn=Oe[1]||"";A.posPre=ft.substring(0,ft.indexOf("#"));for(let wn=0;wn<Bn.length;wn++){const ln=Bn.charAt(wn);"0"===ln?A.minFrac=A.maxFrac=wn+1:"#"===ln?A.maxFrac=wn+1:A.posSuf+=ln}const bn=ft.split(",");if(A.gSize=bn[1]?bn[1].length:0,A.lgSize=bn[2]||bn[1]?(bn[2]||bn[1]).length:0,Ne){const wn=oe.length-A.posPre.length-A.posSuf.length,ln=Ne.indexOf("#");A.negPre=Ne.substring(0,ln).replace(/'/g,""),A.negSuf=Ne.slice(ln+wn).replace(/'/g,"")}else A.negPre=R+A.posPre,A.negSuf=A.posSuf;return A}(function Ot(C,R){return(0,l.cg1)(C)[l.wAp.NumberFormats][R]}(R,Ce.Decimal),at(R,ve.MinusSign)),R,ve.Group,ve.Decimal,A)}(function hi(C){if("string"==typeof C&&!isNaN(Number(C)-parseFloat(C)))return Number(C);if("number"!=typeof C)throw new Error(`${C} is not a number`);return C}(A),oe,F)}catch(Ne){throw cr()}}}return C.\u0275fac=function(A){return new(A||C)(l.Y36(l.soG,16))},C.\u0275pipe=l.Yjl({name:"number",type:C,pure:!0,standalone:!0}),C})();let Wi=(()=>{class C{transform(A,F,oe){if(null==A)return null;if(!this.supports(A))throw cr();return A.slice(F,oe)}supports(A){return"string"==typeof A||Array.isArray(A)}}return C.\u0275fac=function(A){return new(A||C)},C.\u0275pipe=l.Yjl({name:"slice",type:C,pure:!1,standalone:!0}),C})(),jo=(()=>{class C{}return C.\u0275fac=function(A){return new(A||C)},C.\u0275mod=l.oAB({type:C}),C.\u0275inj=l.cJS({}),C})();const Gn="browser";function Mi(C){return C===Gn}function Ki(C){return"server"===C}let Si=(()=>{class C{}return C.\u0275prov=(0,l.Yz7)({token:C,providedIn:"root",factory:()=>new hr((0,l.LFG)(G),window)}),C})();class hr{constructor(R,A){this.document=R,this.window=A,this.offset=()=>[0,0]}setOffset(R){this.offset=Array.isArray(R)?()=>R:R}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(R){this.supportsScrolling()&&this.window.scrollTo(R[0],R[1])}scrollToAnchor(R){if(!this.supportsScrolling())return;const A=function Zi(C,R){const A=C.getElementById(R)||C.getElementsByName(R)[0];if(A)return A;if("function"==typeof C.createTreeWalker&&C.body&&(C.body.createShadowRoot||C.body.attachShadow)){const F=C.createTreeWalker(C.body,NodeFilter.SHOW_ELEMENT);let oe=F.currentNode;for(;oe;){const Ne=oe.shadowRoot;if(Ne){const Oe=Ne.getElementById(R)||Ne.querySelector(`[name="${R}"]`);if(Oe)return Oe}oe=F.nextNode()}}return null}(this.document,R);A&&(this.scrollToElement(A),A.focus())}setHistoryScrollRestoration(R){if(this.supportScrollRestoration()){const A=this.window.history;A&&A.scrollRestoration&&(A.scrollRestoration=R)}}scrollToElement(R){const A=R.getBoundingClientRect(),F=A.left+this.window.pageXOffset,oe=A.top+this.window.pageYOffset,Ne=this.offset();this.window.scrollTo(F-Ne[0],oe-Ne[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const R=ni(this.window.history)||ni(Object.getPrototypeOf(this.window.history));return!(!R||!R.writable&&!R.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function ni(C){return Object.getOwnPropertyDescriptor(C,"scrollRestoration")}class Zn{}},529:(tt,me,S)=>{S.d(me,{JF:()=>fr,TP:()=>Mt,WM:()=>L,eN:()=>Je});var l=S(6895),d=S(4650),B=S(9646),J=S(9751),V=S(4351),X=S(9300),G=S(4004);class Z{}class Y{}class L{constructor(re){this.normalizedNames=new Map,this.lazyUpdate=null,re?this.lazyInit="string"==typeof re?()=>{this.headers=new Map,re.split("\n").forEach(W=>{const Me=W.indexOf(":");if(Me>0){const qe=W.slice(0,Me),nt=qe.toLowerCase(),At=W.slice(Me+1).trim();this.maybeSetNormalizedName(qe,nt),this.headers.has(nt)?this.headers.get(nt).push(At):this.headers.set(nt,[At])}})}:()=>{this.headers=new Map,Object.keys(re).forEach(W=>{let Me=re[W];const qe=W.toLowerCase();"string"==typeof Me&&(Me=[Me]),Me.length>0&&(this.headers.set(qe,Me),this.maybeSetNormalizedName(W,qe))})}:this.headers=new Map}has(re){return this.init(),this.headers.has(re.toLowerCase())}get(re){this.init();const W=this.headers.get(re.toLowerCase());return W&&W.length>0?W[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(re){return this.init(),this.headers.get(re.toLowerCase())||null}append(re,W){return this.clone({name:re,value:W,op:"a"})}set(re,W){return this.clone({name:re,value:W,op:"s"})}delete(re,W){return this.clone({name:re,value:W,op:"d"})}maybeSetNormalizedName(re,W){this.normalizedNames.has(W)||this.normalizedNames.set(W,re)}init(){this.lazyInit&&(this.lazyInit instanceof L?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(W=>{this.headers.set(W,re.headers.get(W)),this.normalizedNames.set(W,re.normalizedNames.get(W))})}clone(re){const W=new L;return W.lazyInit=this.lazyInit&&this.lazyInit instanceof L?this.lazyInit:this,W.lazyUpdate=(this.lazyUpdate||[]).concat([re]),W}applyUpdate(re){const W=re.name.toLowerCase();switch(re.op){case"a":case"s":let Me=re.value;if("string"==typeof Me&&(Me=[Me]),0===Me.length)return;this.maybeSetNormalizedName(re.name,W);const qe=("a"===re.op?this.headers.get(W):void 0)||[];qe.push(...Me),this.headers.set(W,qe);break;case"d":const nt=re.value;if(nt){let At=this.headers.get(W);if(!At)return;At=At.filter(_t=>-1===nt.indexOf(_t)),0===At.length?(this.headers.delete(W),this.normalizedNames.delete(W)):this.headers.set(W,At)}else this.headers.delete(W),this.normalizedNames.delete(W)}}forEach(re){this.init(),Array.from(this.normalizedNames.keys()).forEach(W=>re(this.normalizedNames.get(W),this.headers.get(W)))}}class ae{encodeKey(re){return $e(re)}encodeValue(re){return $e(re)}decodeKey(re){return decodeURIComponent(re)}decodeValue(re){return decodeURIComponent(re)}}const xe=/%(\d[a-f0-9])/gi,Pe={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function $e(He){return encodeURIComponent(He).replace(xe,(re,W)=>Pe[W]??re)}function be(He){return`${He}`}class le{constructor(re={}){if(this.updates=null,this.cloneFrom=null,this.encoder=re.encoder||new ae,re.fromString){if(re.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function Be(He,re){const W=new Map;return He.length>0&&He.replace(/^\?/,"").split("&").forEach(qe=>{const nt=qe.indexOf("="),[At,_t]=-1==nt?[re.decodeKey(qe),""]:[re.decodeKey(qe.slice(0,nt)),re.decodeValue(qe.slice(nt+1))],Et=W.get(At)||[];Et.push(_t),W.set(At,Et)}),W}(re.fromString,this.encoder)}else re.fromObject?(this.map=new Map,Object.keys(re.fromObject).forEach(W=>{const Me=re.fromObject[W],qe=Array.isArray(Me)?Me.map(be):[be(Me)];this.map.set(W,qe)})):this.map=null}has(re){return this.init(),this.map.has(re)}get(re){this.init();const W=this.map.get(re);return W?W[0]:null}getAll(re){return this.init(),this.map.get(re)||null}keys(){return this.init(),Array.from(this.map.keys())}append(re,W){return this.clone({param:re,value:W,op:"a"})}appendAll(re){const W=[];return Object.keys(re).forEach(Me=>{const qe=re[Me];Array.isArray(qe)?qe.forEach(nt=>{W.push({param:Me,value:nt,op:"a"})}):W.push({param:Me,value:qe,op:"a"})}),this.clone(W)}set(re,W){return this.clone({param:re,value:W,op:"s"})}delete(re,W){return this.clone({param:re,value:W,op:"d"})}toString(){return this.init(),this.keys().map(re=>{const W=this.encoder.encodeKey(re);return this.map.get(re).map(Me=>W+"="+this.encoder.encodeValue(Me)).join("&")}).filter(re=>""!==re).join("&")}clone(re){const W=new le({encoder:this.encoder});return W.cloneFrom=this.cloneFrom||this,W.updates=(this.updates||[]).concat(re),W}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 W=("a"===re.op?this.map.get(re.param):void 0)||[];W.push(be(re.value)),this.map.set(re.param,W);break;case"d":if(void 0===re.value){this.map.delete(re.param);break}{let Me=this.map.get(re.param)||[];const qe=Me.indexOf(be(re.value));-1!==qe&&Me.splice(qe,1),Me.length>0?this.map.set(re.param,Me):this.map.delete(re.param)}}}),this.cloneFrom=this.updates=null)}}class rt{constructor(){this.map=new Map}set(re,W){return this.map.set(re,W),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 ue(He){return typeof ArrayBuffer<"u"&&He instanceof ArrayBuffer}function we(He){return typeof Blob<"u"&&He instanceof Blob}function ze(He){return typeof FormData<"u"&&He instanceof FormData}class Ce{constructor(re,W,Me,qe){let nt;if(this.url=W,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=re.toUpperCase(),function Se(He){switch(He){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||qe?(this.body=void 0!==Me?Me:null,nt=qe):nt=Me,nt&&(this.reportProgress=!!nt.reportProgress,this.withCredentials=!!nt.withCredentials,nt.responseType&&(this.responseType=nt.responseType),nt.headers&&(this.headers=nt.headers),nt.context&&(this.context=nt.context),nt.params&&(this.params=nt.params)),this.headers||(this.headers=new L),this.context||(this.context=new rt),this.params){const At=this.params.toString();if(0===At.length)this.urlWithParams=W;else{const _t=W.indexOf("?");this.urlWithParams=W+(-1===_t?"?":_t<W.length-1?"&":"")+At}}else this.params=new le,this.urlWithParams=W}serializeBody(){return null===this.body?null:ue(this.body)||we(this.body)||ze(this.body)||function Ke(He){return typeof URLSearchParams<"u"&&He instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof le?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||ze(this.body)?null:we(this.body)?this.body.type||null:ue(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof le?"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 W=re.method||this.method,Me=re.url||this.url,qe=re.responseType||this.responseType,nt=void 0!==re.body?re.body:this.body,At=void 0!==re.withCredentials?re.withCredentials:this.withCredentials,_t=void 0!==re.reportProgress?re.reportProgress:this.reportProgress;let Et=re.headers||this.headers,In=re.params||this.params;const Nt=re.context??this.context;return void 0!==re.setHeaders&&(Et=Object.keys(re.setHeaders).reduce((Fn,St)=>Fn.set(St,re.setHeaders[St]),Et)),re.setParams&&(In=Object.keys(re.setParams).reduce((Fn,St)=>Fn.set(St,re.setParams[St]),In)),new Ce(W,Me,nt,{params:In,headers:Et,context:Nt,reportProgress:_t,responseType:qe,withCredentials:At})}}var Ee=(()=>((Ee=Ee||{})[Ee.Sent=0]="Sent",Ee[Ee.UploadProgress=1]="UploadProgress",Ee[Ee.ResponseHeader=2]="ResponseHeader",Ee[Ee.DownloadProgress=3]="DownloadProgress",Ee[Ee.Response=4]="Response",Ee[Ee.User=5]="User",Ee))();class ee{constructor(re,W=200,Me="OK"){this.headers=re.headers||new L,this.status=void 0!==re.status?re.status:W,this.statusText=re.statusText||Me,this.url=re.url||null,this.ok=this.status>=200&&this.status<300}}class fe extends ee{constructor(re={}){super(re),this.type=Ee.ResponseHeader}clone(re={}){return new fe({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 Ae extends ee{constructor(re={}){super(re),this.type=Ee.Response,this.body=void 0!==re.body?re.body:null}clone(re={}){return new Ae({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 ve extends ee{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 Ue(He,re){return{body:re,headers:He.headers,context:He.context,observe:He.observe,params:He.params,reportProgress:He.reportProgress,responseType:He.responseType,withCredentials:He.withCredentials}}let Je=(()=>{class He{constructor(W){this.handler=W}request(W,Me,qe={}){let nt;if(W instanceof Ce)nt=W;else{let Et,In;Et=qe.headers instanceof L?qe.headers:new L(qe.headers),qe.params&&(In=qe.params instanceof le?qe.params:new le({fromObject:qe.params})),nt=new Ce(W,Me,void 0!==qe.body?qe.body:null,{headers:Et,context:qe.context,params:In,reportProgress:qe.reportProgress,responseType:qe.responseType||"json",withCredentials:qe.withCredentials})}const At=(0,B.of)(nt).pipe((0,V.b)(Et=>this.handler.handle(Et)));if(W instanceof Ce||"events"===qe.observe)return At;const _t=At.pipe((0,X.h)(Et=>Et instanceof Ae));switch(qe.observe||"body"){case"body":switch(nt.responseType){case"arraybuffer":return _t.pipe((0,G.U)(Et=>{if(null!==Et.body&&!(Et.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Et.body}));case"blob":return _t.pipe((0,G.U)(Et=>{if(null!==Et.body&&!(Et.body instanceof Blob))throw new Error("Response is not a Blob.");return Et.body}));case"text":return _t.pipe((0,G.U)(Et=>{if(null!==Et.body&&"string"!=typeof Et.body)throw new Error("Response is not a string.");return Et.body}));default:return _t.pipe((0,G.U)(Et=>Et.body))}case"response":return _t;default:throw new Error(`Unreachable: unhandled observe type ${qe.observe}}`)}}delete(W,Me={}){return this.request("DELETE",W,Me)}get(W,Me={}){return this.request("GET",W,Me)}head(W,Me={}){return this.request("HEAD",W,Me)}jsonp(W,Me){return this.request("JSONP",W,{params:(new le).append(Me,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(W,Me={}){return this.request("OPTIONS",W,Me)}patch(W,Me,qe={}){return this.request("PATCH",W,Ue(qe,Me))}post(W,Me,qe={}){return this.request("POST",W,Ue(qe,Me))}put(W,Me,qe={}){return this.request("PUT",W,Ue(qe,Me))}}return He.\u0275fac=function(W){return new(W||He)(d.LFG(Z))},He.\u0275prov=d.Yz7({token:He,factory:He.\u0275fac}),He})();class gt{constructor(re,W){this.next=re,this.interceptor=W}handle(re){return this.interceptor.intercept(re,this.next)}}const Mt=new d.OlP("HTTP_INTERCEPTORS");let kt=(()=>{class He{intercept(W,Me){return Me.handle(W)}}return He.\u0275fac=function(W){return new(W||He)},He.\u0275prov=d.Yz7({token:He,factory:He.\u0275fac}),He})();const Rn=/^\)\]\}',?\n/;let sr=(()=>{class He{constructor(W){this.xhrFactory=W}handle(W){if("JSONP"===W.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new J.y(Me=>{const qe=this.xhrFactory.build();if(qe.open(W.method,W.urlWithParams),W.withCredentials&&(qe.withCredentials=!0),W.headers.forEach((jt,Zt)=>qe.setRequestHeader(jt,Zt.join(","))),W.headers.has("Accept")||qe.setRequestHeader("Accept","application/json, text/plain, */*"),!W.headers.has("Content-Type")){const jt=W.detectContentTypeHeader();null!==jt&&qe.setRequestHeader("Content-Type",jt)}if(W.responseType){const jt=W.responseType.toLowerCase();qe.responseType="json"!==jt?jt:"text"}const nt=W.serializeBody();let At=null;const _t=()=>{if(null!==At)return At;const jt=qe.statusText||"OK",Zt=new L(qe.getAllResponseHeaders()),lt=function mn(He){return"responseURL"in He&&He.responseURL?He.responseURL:/^X-Request-URL:/m.test(He.getAllResponseHeaders())?He.getResponseHeader("X-Request-URL"):null}(qe)||W.url;return At=new fe({headers:Zt,status:qe.status,statusText:jt,url:lt}),At},Et=()=>{let{headers:jt,status:Zt,statusText:lt,url:Ve}=_t(),ut=null;204!==Zt&&(ut=typeof qe.response>"u"?qe.responseText:qe.response),0===Zt&&(Zt=ut?200:0);let Ft=Zt>=200&&Zt<300;if("json"===W.responseType&&"string"==typeof ut){const Vt=ut;ut=ut.replace(Rn,"");try{ut=""!==ut?JSON.parse(ut):null}catch(rn){ut=Vt,Ft&&(Ft=!1,ut={error:rn,text:ut})}}Ft?(Me.next(new Ae({body:ut,headers:jt,status:Zt,statusText:lt,url:Ve||void 0})),Me.complete()):Me.error(new ve({error:ut,headers:jt,status:Zt,statusText:lt,url:Ve||void 0}))},In=jt=>{const{url:Zt}=_t(),lt=new ve({error:jt,status:qe.status||0,statusText:qe.statusText||"Unknown Error",url:Zt||void 0});Me.error(lt)};let Nt=!1;const Fn=jt=>{Nt||(Me.next(_t()),Nt=!0);let Zt={type:Ee.DownloadProgress,loaded:jt.loaded};jt.lengthComputable&&(Zt.total=jt.total),"text"===W.responseType&&!!qe.responseText&&(Zt.partialText=qe.responseText),Me.next(Zt)},St=jt=>{let Zt={type:Ee.UploadProgress,loaded:jt.loaded};jt.lengthComputable&&(Zt.total=jt.total),Me.next(Zt)};return qe.addEventListener("load",Et),qe.addEventListener("error",In),qe.addEventListener("timeout",In),qe.addEventListener("abort",In),W.reportProgress&&(qe.addEventListener("progress",Fn),null!==nt&&qe.upload&&qe.upload.addEventListener("progress",St)),qe.send(nt),Me.next({type:Ee.Sent}),()=>{qe.removeEventListener("error",In),qe.removeEventListener("abort",In),qe.removeEventListener("load",Et),qe.removeEventListener("timeout",In),W.reportProgress&&(qe.removeEventListener("progress",Fn),null!==nt&&qe.upload&&qe.upload.removeEventListener("progress",St)),qe.readyState!==qe.DONE&&qe.abort()}})}}return He.\u0275fac=function(W){return new(W||He)(d.LFG(l.JF))},He.\u0275prov=d.Yz7({token:He,factory:He.\u0275fac}),He})();const an=new d.OlP("XSRF_COOKIE_NAME"),Dn=new d.OlP("XSRF_HEADER_NAME");class Nn{}let gn=(()=>{class He{constructor(W,Me,qe){this.doc=W,this.platform=Me,this.cookieName=qe,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const W=this.doc.cookie||"";return W!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,l.Mx)(W,this.cookieName),this.lastCookieString=W),this.lastToken}}return He.\u0275fac=function(W){return new(W||He)(d.LFG(l.K0),d.LFG(d.Lbi),d.LFG(an))},He.\u0275prov=d.Yz7({token:He,factory:He.\u0275fac}),He})(),yt=(()=>{class He{constructor(W,Me){this.tokenService=W,this.headerName=Me}intercept(W,Me){const qe=W.url.toLowerCase();if("GET"===W.method||"HEAD"===W.method||qe.startsWith("http://")||qe.startsWith("https://"))return Me.handle(W);const nt=this.tokenService.getToken();return null!==nt&&!W.headers.has(this.headerName)&&(W=W.clone({headers:W.headers.set(this.headerName,nt)})),Me.handle(W)}}return He.\u0275fac=function(W){return new(W||He)(d.LFG(Nn),d.LFG(Dn))},He.\u0275prov=d.Yz7({token:He,factory:He.\u0275fac}),He})(),nn=(()=>{class He{constructor(W,Me){this.backend=W,this.injector=Me,this.chain=null}handle(W){if(null===this.chain){const Me=this.injector.get(Mt,[]);this.chain=Me.reduceRight((qe,nt)=>new gt(qe,nt),this.backend)}return this.chain.handle(W)}}return He.\u0275fac=function(W){return new(W||He)(d.LFG(Y),d.LFG(d.zs3))},He.\u0275prov=d.Yz7({token:He,factory:He.\u0275fac}),He})(),Wn=(()=>{class He{static disable(){return{ngModule:He,providers:[{provide:yt,useClass:kt}]}}static withOptions(W={}){return{ngModule:He,providers:[W.cookieName?{provide:an,useValue:W.cookieName}:[],W.headerName?{provide:Dn,useValue:W.headerName}:[]]}}}return He.\u0275fac=function(W){return new(W||He)},He.\u0275mod=d.oAB({type:He}),He.\u0275inj=d.cJS({providers:[yt,{provide:Mt,useExisting:yt,multi:!0},{provide:Nn,useClass:gn},{provide:an,useValue:"XSRF-TOKEN"},{provide:Dn,useValue:"X-XSRF-TOKEN"}]}),He})(),fr=(()=>{class He{}return He.\u0275fac=function(W){return new(W||He)},He.\u0275mod=d.oAB({type:He}),He.\u0275inj=d.cJS({providers:[Je,{provide:Z,useClass:nn},sr,{provide:Y,useExisting:sr}],imports:[Wn.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]}),He})()},4650:(tt,me,S)=>{S.d(me,{$8M:()=>ts,$Z:()=>Yh,AFp:()=>dy,ALo:()=>Sm,AaK:()=>Z,AsE:()=>Jd,BQk:()=>ec,CHM:()=>Vr,CRH:()=>Hm,CZH:()=>fc,CqO:()=>Hp,D6c:()=>ZC,DdM:()=>ym,Dn7:()=>Pm,EJc:()=>lC,EiD:()=>Lc,EpF:()=>Vp,F$t:()=>Wp,F4k:()=>Up,FYo:()=>Jf,FiY:()=>Ie,G48:()=>OC,Gf:()=>Vm,GfV:()=>Xf,GkF:()=>jd,Gpc:()=>z,Gre:()=>wg,Hsn:()=>Kp,IIB:()=>tC,Ikx:()=>Xd,JOm:()=>Fs,JVY:()=>qi,Jf7:()=>dh,KtG:()=>vr,L6J:()=>rC,L6k:()=>wa,LAX:()=>Ic,LFG:()=>rr,LSH:()=>s,Lbi:()=>iC,Lck:()=>rE,MAs:()=>Bp,MMx:()=>df,NdJ:()=>Gd,O4$:()=>Zo,OlP:()=>pn,Oqu:()=>Qd,PXZ:()=>bC,Q6J:()=>Vd,QGY:()=>$d,QP$:()=>Vl,QbO:()=>oC,Qsj:()=>zy,R0b:()=>lo,RDi:()=>bc,Rgc:()=>mu,SBq:()=>Xl,Sil:()=>cC,Suo:()=>Um,TTD:()=>Ai,TgZ:()=>Qu,Tol:()=>ug,Udp:()=>Zd,VKq:()=>_m,W1O:()=>zm,WFA:()=>zd,WLB:()=>vm,X6Q:()=>IC,XFs:()=>yt,Xpm:()=>lt,Xts:()=>pt,Y36:()=>El,YKP:()=>um,YNc:()=>Lp,Yjl:()=>de,Yz7:()=>he,ZZ4:()=>Ff,_Bn:()=>lm,_UZ:()=>Hd,_Vd:()=>Jl,_c5:()=>WC,_uU:()=>mg,aQ5:()=>Ua,aQg:()=>kf,c2e:()=>sC,cJS:()=>at,cg1:()=>tf,d8E:()=>ef,dDg:()=>vC,dqk:()=>Me,eBb:()=>Sc,eFA:()=>wy,ekj:()=>Yd,eoX:()=>Ey,f3M:()=>va,g9A:()=>hy,gM2:()=>xm,gxx:()=>fn,h0i:()=>Ll,hGG:()=>KC,hij:()=>nc,i9L:()=>Xs,iGM:()=>Bm,ifc:()=>W,ip1:()=>cy,kEZ:()=>Dm,kL8:()=>Ng,kYT:()=>rn,kcU:()=>$s,l5B:()=>Em,lG2:()=>Q,lcZ:()=>Im,lqb:()=>xs,lri:()=>vy,mCW:()=>Aa,n5z:()=>Cs,n_E:()=>ac,oAB:()=>Vt,oJD:()=>Vc,oxw:()=>zp,pB0:()=>Tu,q3G:()=>dr,q4F:()=>eh,qLn:()=>eu,qOj:()=>Fd,qZA:()=>Ju,qbA:()=>Cm,qzn:()=>oa,rWj:()=>Dy,r_U:()=>nC,s9C:()=>Wd,sBO:()=>PC,sIi:()=>au,s_b:()=>uc,soG:()=>hc,tBr:()=>_e,tb:()=>py,tp0:()=>Ct,uIk:()=>Bd,vHH:()=>Pe,vpe:()=>Us,wAp:()=>Jt,xi3:()=>Om,xp6:()=>kh,ynx:()=>Xu,z2F:()=>pc,z3N:()=>ko,zSh:()=>so,zs3:()=>Ja});var l=S(7579),d=S(727),B=S(9751),J=S(6451),V=S(3099);function X(e){for(let t in e)if(e[t]===X)return t;throw Error("Could not find renamed property on target object.")}function G(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Z(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Z).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 Y(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const L=X({__forward_ref__:X});function z(e){return e.__forward_ref__=z,e.toString=function(){return Z(this())},e}function ae(e){return Be(e)?e():e}function Be(e){return"function"==typeof e&&e.hasOwnProperty(L)&&e.__forward_ref__===z}class Pe extends Error{constructor(t,n){super(function $e(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}(t,n)),this.code=t}}function be(e){return"string"==typeof e?e:null==e?"":String(e)}function ue(e,t){throw new Pe(-201,!1)}function kt(e,t){null==e&&function dt(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function he(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function at(e){return{providers:e.providers||[],imports:e.imports||[]}}function Ot(e){return xn(e,an)||xn(e,Nn)}function xn(e,t){return e.hasOwnProperty(t)?e[t]:null}function sr(e){return e&&(e.hasOwnProperty(Dn)||e.hasOwnProperty(gn))?e[Dn]:null}const an=X({\u0275prov:X}),Dn=X({\u0275inj:X}),Nn=X({ngInjectableDef:X}),gn=X({ngInjectorDef:X});var yt=(()=>((yt=yt||{})[yt.Default=0]="Default",yt[yt.Host=1]="Host",yt[yt.Self=2]="Self",yt[yt.SkipSelf=4]="SkipSelf",yt[yt.Optional=8]="Optional",yt))();let nn;function Tn(e){const t=nn;return nn=e,t}function Wn(e,t,n){const r=Ot(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&yt.Optional?null:void 0!==t?t:void ue(Z(e))}function sn(e){return{toString:e}.toString()}var En=(()=>((En=En||{})[En.OnPush=0]="OnPush",En[En.Default=1]="Default",En))(),W=(()=>{return(e=W||(W={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",W;var e})();const Me=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),At={},_t=[],Et=X({\u0275cmp:X}),In=X({\u0275dir:X}),Nt=X({\u0275pipe:X}),Fn=X({\u0275mod:X}),St=X({\u0275fac:X}),jt=X({__NG_ELEMENT_ID__:X});let Zt=0;function lt(e){return sn(()=>{const n=!0===e.standalone,r={},i={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:r,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===En.OnPush,directiveDefs:null,pipeDefs:null,standalone:n,dependencies:n&&e.dependencies||null,getStandaloneInjector:null,selectors:e.selectors||_t,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||W.Emulated,id:"c"+Zt++,styles:e.styles||_t,_:null,setInput:null,schemas:e.schemas||null,tView:null},o=e.dependencies,u=e.features;return i.inputs=te(e.inputs,r),i.outputs=te(e.outputs),u&&u.forEach(m=>m(i)),i.directiveDefs=o?()=>("function"==typeof o?o():o).map(ut).filter(Ft):null,i.pipeDefs=o?()=>("function"==typeof o?o():o).map(ct).filter(Ft):null,i})}function ut(e){return Re(e)||De(e)}function Ft(e){return null!==e}function Vt(e){return sn(()=>({type:e.type,bootstrap:e.bootstrap||_t,declarations:e.declarations||_t,imports:e.imports||_t,exports:e.exports||_t,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function rn(e,t){return sn(()=>{const n=Pt(e,!0);n.declarations=t.declarations||_t,n.imports=t.imports||_t,n.exports=t.exports||_t})}function te(e,t){if(null==e)return At;const n={};for(const r in e)if(e.hasOwnProperty(r)){let i=e[r],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),n[i]=r,t&&(t[i]=o)}return n}const Q=lt;function de(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 Re(e){return e[Et]||null}function De(e){return e[In]||null}function ct(e){return e[Nt]||null}function Pt(e,t){const n=e[Fn]||null;if(!n&&!0===t)throw new Error(`Type ${Z(e)} does not have '\u0275mod' property.`);return n}function Hn(e){return Array.isArray(e)&&"object"==typeof e[1]}function er(e){return Array.isArray(e)&&!0===e[1]}function ui(e){return 0!=(8&e.flags)}function ji(e){return 2==(2&e.flags)}function bi(e){return 1==(1&e.flags)}function ur(e){return null!==e.template}function uo(e){return 0!=(256&e[2])}function Ir(e,t){return e.hasOwnProperty(St)?e[St]:null}class ti{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Ai(){return di}function di(e){return e.type.prototype.ngOnChanges&&(e.setInput=fi),Ho}function Ho(){const e=hi(this),t=e?.current;if(t){const n=e.previous;if(n===At)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function fi(e,t,n,r){const i=hi(e)||function Wi(e,t){return e[Ti]=t}(e,{previous:At,current:null}),o=i.current||(i.current={}),u=i.previous,m=this.declaredInputs[n],y=u[m];o[m]=new ti(y&&y.currentValue,t,u===At),e[r]=t}Ai.ngInherit=!0;const Ti="__ngSimpleChanges__";function hi(e){return e[Ti]||null}function Mn(e){for(;Array.isArray(e);)e=e[0];return e}function Si(e,t){return Mn(t[e])}function hr(e,t){return Mn(t[e.index])}function Zi(e,t){return e.data[t]}function _r(e,t){return e[t]}function Zn(e,t){const n=t[e];return Hn(n)?n:n[0]}function C(e){return 4==(4&e[2])}function R(e){return 64==(64&e[2])}function F(e,t){return null==t?null:e[t]}function oe(e){e[18]=0}function Ne(e,t){e[5]+=t;let n=e,r=e[3];for(;null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}const Oe={lFrame:Ko(null),bindingsEnabled:!0};function zn(){return Oe.bindingsEnabled}function Ze(){return Oe.lFrame.lView}function Wt(){return Oe.lFrame.tView}function Vr(e){return Oe.lFrame.contextLView=e,e[8]}function vr(e){return Oe.lFrame.contextLView=null,e}function jn(){let e=Ii();for(;null!==e&&64===e.type;)e=e.parent;return e}function Ii(){return Oe.lFrame.currentTNode}function M(e,t){const n=Oe.lFrame;n.currentTNode=e,n.isParent=t}function E(){return Oe.lFrame.isParent}function D(){Oe.lFrame.isParent=!1}function On(){const e=Oe.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function _o(){return Oe.lFrame.bindingIndex++}function Oi(e){const t=Oe.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Oa(e,t){const n=Oe.lFrame;n.bindingIndex=n.bindingRootIndex=e,ms(t)}function ms(e){Oe.lFrame.currentDirectiveIndex=e}function vo(e){const t=Oe.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function Go(){return Oe.lFrame.currentQueryIndex}function Do(e){Oe.lFrame.currentQueryIndex=e}function zo(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function Wo(e,t,n){if(n&yt.SkipSelf){let i=t,o=e;for(;!(i=i.parent,null!==i||n&yt.Host||(i=zo(o),null===i||(o=o[15],10&i.type))););if(null===i)return!1;t=i,e=o}const r=Oe.lFrame=ys();return r.currentTNode=t,r.lView=e,!0}function Pi(e){const t=ys(),n=e[1];Oe.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function ys(){const e=Oe.lFrame,t=null===e?null:e.child;return null===t?Ko(e):t}function Ko(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 Pa(){const e=Oe.lFrame;return Oe.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Eo=Pa;function Co(){const e=Pa();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 tr(){return Oe.lFrame.selectedIndex}function Wr(e){Oe.lFrame.selectedIndex=e}function zt(){const e=Oe.lFrame;return Zi(e.tView,e.selectedIndex)}function Zo(){Oe.lFrame.currentNamespace="svg"}function $s(){!function Gs(){Oe.lFrame.currentNamespace=null}()}function vs(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const o=e.data[n].type.prototype,{ngAfterContentInit:u,ngAfterContentChecked:m,ngAfterViewInit:y,ngAfterViewChecked:I,ngOnDestroy:x}=o;u&&(e.contentHooks||(e.contentHooks=[])).push(-n,u),m&&((e.contentHooks||(e.contentHooks=[])).push(n,m),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,m)),y&&(e.viewHooks||(e.viewHooks=[])).push(-n,y),I&&((e.viewHooks||(e.viewHooks=[])).push(n,I),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,I)),null!=x&&(e.destroyHooks||(e.destroyHooks=[])).push(n,x)}}function bo(e,t,n){Ra(e,t,3,n)}function Ws(e,t,n,r){(3&e[2])===n&&Ra(e,t,n,r)}function Yo(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function Ra(e,t,n,r){const o=r??-1,u=t.length-1;let m=0;for(let y=void 0!==r?65535&e[18]:0;y<u;y++)if("number"==typeof t[y+1]){if(m=t[y],null!=r&&m>=r)break}else t[y]<0&&(e[18]+=65536),(m<o||-1==o)&&(il(e,n,t,y),e[18]=(4294901760&e[18])+y+2),y++}function il(e,t,n,r){const i=n[r]<0,o=n[r+1],m=e[i?-n[r]:n[r]];if(i){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048;try{o.call(m)}finally{}}}else try{o.call(m)}finally{}}class qo{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function Ds(e,t,n){let r=0;for(;r<n.length;){const i=n[r];if("number"==typeof i){if(0!==i)break;r++;const o=n[r++],u=n[r++],m=n[r++];e.setAttribute(t,u,m,o)}else{const o=i,u=n[++r];fa(o)?e.setProperty(t,o,u):e.setAttribute(t,o,u),r++}}return r}function wo(e){return 3===e||4===e||6===e}function fa(e){return 64===e.charCodeAt(0)}function Ao(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const i=t[r];"number"==typeof i?n=i:0===n||ha(e,n,i,null,-1===n||2===n?t[++r]:null)}}return e}function ha(e,t,n,r,i){let o=0,u=e.length;if(-1===t)u=-1;else for(;o<e.length;){const m=e[o++];if("number"==typeof m){if(m===t){u=-1;break}if(m>t){u=o-1;break}}}for(;o<e.length;){const m=e[o];if("number"==typeof m)break;if(m===n){if(null===r)return void(null!==i&&(e[o+1]=i));if(r===e[o+1])return void(e[o+2]=i)}o++,null!==r&&o++,null!==i&&o++}-1!==u&&(e.splice(u,0,t),o=u+1),e.splice(o++,0,n),null!==r&&e.splice(o++,0,r),null!==i&&e.splice(o++,0,i)}function pa(e){return-1!==e}function To(e){return 32767&e}function Qn(e,t){let n=function ga(e){return e>>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let Es=!0;function Xo(e){const t=Es;return Es=e,t}let Ba=0;const Pr={};function ri(e,t){const n=Mo(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,Ur(r.data,e),Ur(t,null),Ur(r.blueprint,null));const i=So(e,t),o=e.injectorIndex;if(pa(i)){const u=To(i),m=Qn(i,t),y=m[1].data;for(let I=0;I<8;I++)t[o+I]=m[u+I]|y[u+I]}return t[o+8]=i,o}function Ur(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Mo(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function So(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,i=t;for(;null!==i;){if(r=ws(i),null===r)return-1;if(n++,i=i[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function xi(e,t,n){!function ma(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(jt)&&(r=n[jt]),null==r&&(r=n[jt]=Ba++);const i=255&r;t.data[e+(i>>5)]|=1<<i}(e,t,n)}function pr(e,t,n){if(n&yt.Optional)return e;ue()}function qs(e,t,n,r){if(n&yt.Optional&&void 0===r&&(r=null),0==(n&(yt.Self|yt.Host))){const i=e[9],o=Tn(void 0);try{return i?i.get(t,r,n&yt.Optional):Wn(t,r,n&yt.Optional)}finally{Tn(o)}}return pr(r,0,n)}function Io(e,t,n,r=yt.Default,i){if(null!==e){if(1024&t[2]){const u=function Va(e,t,n,r,i){let o=e,u=t;for(;null!==o&&null!==u&&1024&u[2]&&!(256&u[2]);){const m=Qs(o,u,n,r|yt.Self,Pr);if(m!==Pr)return m;let y=o.parent;if(!y){const I=u[21];if(I){const x=I.get(n,Pr,r);if(x!==Pr)return x}y=ws(u),u=u[15]}o=y}return i}(e,t,n,r,Pr);if(u!==Pr)return u}const o=Qs(e,t,n,r,Pr);if(o!==Pr)return o}return qs(t,n,r,i)}function Qs(e,t,n,r,i){const o=function ya(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(jt)?e[jt]:void 0;return"number"==typeof t?t>=0?255&t:_a:t}(n);if("function"==typeof o){if(!Wo(t,e,r))return r&yt.Host?pr(i,0,r):qs(t,n,r,i);try{const u=o(r);if(null!=u||r&yt.Optional)return u;ue()}finally{Eo()}}else if("number"==typeof o){let u=null,m=Mo(e,t),y=-1,I=r&yt.Host?t[16][6]:null;for((-1===m||r&yt.SkipSelf)&&(y=-1===m?So(e,t):t[m+8],-1!==y&&Po(r,!1)?(u=t[1],m=To(y),t=Qn(y,t)):m=-1);-1!==m;){const x=t[1];if(Kr(o,m,x.data)){const H=es(m,t,n,u,r,I);if(H!==Pr)return H}y=t[m+8],-1!==y&&Po(r,t[1].data[m+8]===I)&&Kr(o,m,t)?(u=x,m=To(y),t=Qn(y,t)):m=-1}}return i}function es(e,t,n,r,i,o){const u=t[1],m=u.data[e+8],x=Yn(m,u,n,null==r?ji(m)&&Es:r!=u&&0!=(3&m.type),i&yt.Host&&o===m);return null!==x?Oo(t,u,x,m):Pr}function Yn(e,t,n,r,i){const o=e.providerIndexes,u=t.data,m=1048575&o,y=e.directiveStart,x=o>>20,ce=i?m+x:e.directiveEnd;for(let Te=r?m:m+x;Te<ce;Te++){const Ye=u[Te];if(Te<y&&n===Ye||Te>=y&&Ye.type===n)return Te}if(i){const Te=u[y];if(Te&&ur(Te)&&Te.type===n)return y}return null}function Oo(e,t,n,r){let i=e[n];const o=t.data;if(function Na(e){return e instanceof qo}(i)){const u=i;u.resolving&&function Ge(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new Pe(-200,`Circular dependency in DI detected for ${e}${n}`)}(function le(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():be(e)}(o[n]));const m=Xo(u.canSeeViewProviders);u.resolving=!0;const y=u.injectImpl?Tn(u.injectImpl):null;Wo(e,r,yt.Default);try{i=e[n]=u.factory(void 0,o,e,r),t.firstCreatePass&&n>=r.directiveStart&&function zs(e,t,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=t.type.prototype;if(r){const u=di(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,u),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,u)}i&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,i),o&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,o))}(n,o[n],t)}finally{null!==y&&Tn(y),Xo(m),u.resolving=!1,Eo()}}return i}function Kr(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function Po(e,t){return!(e&yt.Self||e&yt.Host&&t)}class Ri{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Io(this._tNode,this._lView,t,r,n)}}function _a(){return new Ri(jn(),Ze())}function Cs(e){return sn(()=>{const t=e.prototype.constructor,n=t[St]||bs(t),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const o=i[St]||bs(i);if(o&&o!==n)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function bs(e){return Be(e)?()=>{const t=bs(ae(e));return t&&t()}:Ir(e)}function ws(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[6]:null}function ts(e){return function Ys(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let i=0;for(;i<r;){const o=n[i];if(wo(o))break;if(0===o)i+=2;else if("number"==typeof o)for(i++;i<r&&"string"==typeof n[i];)i++;else{if(o===t)return n[i+1];i+=2}}}return null}(jn(),e)}const Hr="__parameters__",xr="__prop__metadata__";function no(e){return function(...n){if(e){const r=e(...n);for(const i in r)this[i]=r[i]}}}function Zr(e,t,n){return sn(()=>{const r=no(t);function i(...o){if(this instanceof i)return r.apply(this,o),this;const u=new i(...o);return m.annotation=u,m;function m(y,I,x){const H=y.hasOwnProperty(Hr)?y[Hr]:Object.defineProperty(y,Hr,{value:[]})[Hr];for(;H.length<=x;)H.push(null);return(H[x]=H[x]||[]).push(u),y}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}function Ni(e,t,n,r){return sn(()=>{const i=no(t);function o(...u){if(this instanceof o)return i.apply(this,u),this;const m=new o(...u);return function y(I,x){const H=I.constructor,ce=H.hasOwnProperty(xr)?H[xr]:Object.defineProperty(H,xr,{value:{}})[xr];ce[x]=ce.hasOwnProperty(x)&&ce[x]||[],ce[x].unshift(m),r&&r(I,x,...u)}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}class pn{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=he({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}class Ms{}const Ua=Ni("ContentChild",(e,t={})=>({selector:e,first:!0,isViewQuery:!1,descendants:!0,...t}),Ms),Xs=Ni("ViewChild",(e,t)=>({selector:e,first:!0,isViewQuery:!0,descendants:!0,...t}),Ms);function $r(e,t){void 0===t&&(t=e);for(let n=0;n<e.length;n++){let r=e[n];Array.isArray(r)?(t===e&&(t=e.slice(0,n)),$r(r,t)):t!==e&&t.push(r)}return t}function f(e,t){e.forEach(n=>Array.isArray(n)?f(n,t):t(n))}function g(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function c(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function _(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}function Bt(e,t,n){let r=dn(e,t);return r>=0?e[1|r]=n:(r=~r,function $(e,t,n,r){let i=e.length;if(i==t)e.push(n,r);else if(1===i)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;)e[i]=e[i-2],i--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function Dt(e,t){const n=dn(e,t);if(n>=0)return e[1|n]}function dn(e,t){return function Yr(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){const o=r+(i-r>>1),u=e[o<<n];if(t===u)return o<<n;u>t?i=o:r=o+1}return~(i<<n)}(e,t,1)}const Ps={},oo="__NG_DI_FLAG__",na="ngTempTokenPath",ll=/\n/gm,ul="__source";let ki;function ra(e){const t=ki;return ki=e,t}function vu(e,t=yt.Default){if(void 0===ki)throw new Pe(-203,!1);return null===ki?Wn(e,void 0,t):ki.get(e,t&yt.Optional?null:void 0,t)}function rr(e,t=yt.Default){return(function Ln(){return nn}()||vu)(ae(e),t)}function va(e,t=yt.Default){return"number"!=typeof t&&(t=0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)),rr(e,t)}function Da(e){const t=[];for(let n=0;n<e.length;n++){const r=ae(e[n]);if(Array.isArray(r)){if(0===r.length)throw new Pe(900,!1);let i,o=yt.Default;for(let u=0;u<r.length;u++){const m=r[u],y=T(m);"number"==typeof y?-1===y?i=m.token:o|=y:i=m}t.push(rr(i,o))}else t.push(rr(r))}return t}function v(e,t){return e[oo]=t,e.prototype[oo]=t,e}function T(e){return e[oo]}const _e=v(Zr("Inject",e=>({token:e})),-1),Ie=v(Zr("Optional"),8),Ct=v(Zr("SkipSelf"),4);let dl,hl,ii;function bc(e){dl=e}function Ca(e){return function jl(){if(void 0===hl&&(hl=null,Me.trustedTypes))try{hl=Me.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return hl}()?.createHTML(e)||e}function ba(e){return function Ga(){if(void 0===ii&&(ii=null,Me.trustedTypes))try{ii=Me.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ii}()?.createHTML(e)||e}class ia{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class $l extends ia{getTypeName(){return"HTML"}}class Ac extends ia{getTypeName(){return"Style"}}class Tc extends ia{getTypeName(){return"Script"}}class gl extends ia{getTypeName(){return"URL"}}class Mc extends ia{getTypeName(){return"ResourceURL"}}function ko(e){return e instanceof ia?e.changingThisBreaksApplicationSecurity:e}function oa(e,t){const n=function Au(e){return e instanceof ia&&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 https://g.co/ng/security#xss)`)}return n===t}function qi(e){return new $l(e)}function wa(e){return new Ac(e)}function Sc(e){return new Tc(e)}function Ic(e){return new gl(e)}function Tu(e){return new Mc(e)}class Su{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(Ca(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class ml{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const n=this.inertDocument.createElement("html");this.inertDocument.appendChild(n);const r=this.inertDocument.createElement("body");n.appendChild(r)}}getInertBodyElement(t){const n=this.inertDocument.createElement("template");if("content"in n)return n.innerHTML=Ca(t),n;const r=this.inertDocument.createElement("body");return r.innerHTML=Ca(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(r),r}stripCustomNsAttrs(t){const n=t.attributes;for(let i=n.length-1;0<i;i--){const u=n.item(i).name;("xmlns:ns1"===u||0===u.indexOf("ns1:"))&&t.removeAttribute(u)}let r=t.firstChild;for(;r;)r.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(r),r=r.nextSibling}}const Pc=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,xc=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function Aa(e){return(e=String(e)).match(Pc)||e.match(xc)?e:"unsafe:"+e}function Lo(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function za(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const Pu=Lo("area,br,col,hr,img,wbr"),Gl=Lo("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Wa=Lo("rp,rt"),zl=za(Pu,za(Gl,Lo("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")),za(Wa,Lo("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")),za(Wa,Gl)),Wl=Lo("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Kl=Lo("srcset"),xu=za(Wl,Kl,Lo("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,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Lo("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")),Ru=Lo("script,style,template");class Zl{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0;for(;n;)if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=this.checkClobberedElement(n,n.nextSibling);if(i){n=i;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!zl.hasOwnProperty(n))return this.sanitizedSomething=!0,!Ru.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let i=0;i<r.length;i++){const o=r.item(i),u=o.name,m=u.toLowerCase();if(!xu.hasOwnProperty(m)){this.sanitizedSomething=!0;continue}let y=o.value;Wl[m]&&(y=Aa(y)),Kl[m]&&(e=y,y=(e=String(e)).split(",").map(t=>Aa(t.trim())).join(", ")),this.buf.push(" ",u,'="',kc(y),'"')}var e;return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();zl.hasOwnProperty(n)&&!Pu.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(kc(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 Nu=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Fc=/([^\#-~ |!])/g;function kc(e){return e.replace(/&/g,"&amp;").replace(Nu,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(Fc,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let Yl;function Lc(e,t){let n=null;try{Yl=Yl||function Mu(e){const t=new ml(e);return function Oc(){try{return!!(new window.DOMParser).parseFromString(Ca(""),"text/html")}catch{return!1}}()?new Su(t):t}(e);let r=t?String(t):"";n=Yl.getInertBodyElement(r);let i=5,o=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=o,o=n.innerHTML,n=Yl.getInertBodyElement(r)}while(r!==o);return Ca((new Zl).sanitizeChildren(ql(n)||n))}finally{if(n){const r=ql(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function ql(e){return"content"in e&&function Bc(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var dr=(()=>((dr=dr||{})[dr.NONE=0]="NONE",dr[dr.HTML=1]="HTML",dr[dr.STYLE=2]="STYLE",dr[dr.SCRIPT=3]="SCRIPT",dr[dr.URL=4]="URL",dr[dr.RESOURCE_URL=5]="RESOURCE_URL",dr))();function Vc(e){const t=ht();return t?ba(t.sanitize(dr.HTML,e)||""):oa(e,"HTML")?ba(ko(e)):Lc(function fl(){return void 0!==dl?dl:typeof document<"u"?document:void 0}(),be(e))}function s(e){const t=ht();return t?t.sanitize(dr.URL,e)||"":oa(e,"URL")?ko(e):Aa(be(e))}function ht(){const e=Ze();return e&&e[12]}const pt=new pn("ENVIRONMENT_INITIALIZER"),fn=new pn("INJECTOR",-1),un=new pn("INJECTOR_DEF_TYPES");class Ht{get(t,n=Ps){if(n===Ps){const r=new Error(`NullInjectorError: No provider for ${Z(t)}!`);throw r.name="NullInjectorError",r}return n}}function Kt(...e){return{\u0275providers:_n(0,e)}}function _n(e,...t){const n=[],r=new Set;let i;return f(t,o=>{const u=o;Jn(u,n,[],r)&&(i||(i=[]),i.push(u))}),void 0!==i&&Pn(i,n),n}function Pn(e,t){for(let n=0;n<e.length;n++){const{providers:i}=e[n];f(i,o=>{t.push(o)})}}function Jn(e,t,n,r){if(!(e=ae(e)))return!1;let i=null,o=sr(e);const u=!o&&Re(e);if(o||u){if(u&&!u.standalone)return!1;i=e}else{const y=e.ngModule;if(o=sr(y),!o)return!1;i=y}const m=r.has(i);if(u){if(m)return!1;if(r.add(i),u.dependencies){const y="function"==typeof u.dependencies?u.dependencies():u.dependencies;for(const I of y)Jn(I,t,n,r)}}else{if(!o)return!1;{if(null!=o.imports&&!m){let I;r.add(i);try{f(o.imports,x=>{Jn(x,t,n,r)&&(I||(I=[]),I.push(x))})}finally{}void 0!==I&&Pn(I,t)}if(!m){const I=Ir(i)||(()=>new i);t.push({provide:i,useFactory:I,deps:_t},{provide:un,useValue:i,multi:!0},{provide:pt,useValue:()=>rr(i),multi:!0})}const y=o.providers;null==y||m||f(y,x=>{t.push(x)})}}return i!==e&&void 0!==e.providers}const vn=X({provide:String,useValue:X});function Nr(e){return null!==e&&"object"==typeof e&&vn in e}function oi(e){return"function"==typeof e}const so=new pn("Set Injector scope."),Ka={},Za={};let as;function Ya(){return void 0===as&&(as=new Ht),as}class xs{}class Tt extends xs{constructor(t,n,r,i){super(),this.parent=n,this.source=r,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Ql(t,u=>this.processProvider(u)),this.records.set(fn,si(void 0,this)),i.has("environment")&&this.records.set(xs,si(void 0,this));const o=this.records.get(so);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(un.multi,_t,yt.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const n=ra(this),r=Tn(void 0);try{return t()}finally{ra(n),Tn(r)}}get(t,n=Ps,r=yt.Default){this.assertNotDestroyed();const i=ra(this),o=Tn(void 0);try{if(!(r&yt.SkipSelf)){let m=this.records.get(t);if(void 0===m){const y=function ir(e){return"function"==typeof e||"object"==typeof e&&e instanceof pn}(t)&&Ot(t);m=y&&this.injectableDefInScope(y)?si(Ut(t),Ka):null,this.records.set(t,m)}if(null!=m)return this.hydrate(t,m)}return(r&yt.Self?Ya():this.parent).get(t,n=r&yt.Optional&&n===Ps?null:n)}catch(u){if("NullInjectorError"===u.name){if((u[na]=u[na]||[]).unshift(Z(t)),i)throw u;return function P(e,t,n,r){const i=e[na];throw t[ul]&&i.unshift(t[ul]),e.message=function K(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let i=Z(t);if(Array.isArray(t))i=t.map(Z).join(" -> ");else if("object"==typeof t){let o=[];for(let u in t)if(t.hasOwnProperty(u)){let m=t[u];o.push(u+":"+("string"==typeof m?JSON.stringify(m):Z(m)))}i=`{${o.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(ll,"\n ")}`}("\n"+e.message,i,n,r),e.ngTokenPath=i,e[na]=null,e}(u,t,"R3InjectorError",this.source)}throw u}finally{Tn(o),ra(i)}}resolveInjectorInitializers(){const t=ra(this),n=Tn(void 0);try{const r=this.get(pt.multi,_t,yt.Self);for(const i of r)i()}finally{ra(t),Tn(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(Z(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Pe(205,!1)}processProvider(t){let n=oi(t=ae(t))?t:ae(t&&t.provide);const r=function Sn(e){return Nr(e)?si(void 0,e.useValue):si(wr(e),Ka)}(t);if(oi(t)||!0!==t.multi)this.records.get(n);else{let i=this.records.get(n);i||(i=si(void 0,Ka,!0),i.factory=()=>Da(i.multi),this.records.set(n,i)),n=t,i.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===Ka&&(n.value=Za,n.value=n.factory()),"object"==typeof n.value&&n.value&&function Rs(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=ae(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function Ut(e){const t=Ot(e),n=null!==t?t.factory:Ir(e);if(null!==n)return n;if(e instanceof pn)throw new Pe(204,!1);if(e instanceof Function)return function Xt(e){const t=e.length;if(t>0)throw _(t,"?"),new Pe(204,!1);const n=function Rn(e){const t=e&&(e[an]||e[Nn]);if(t){const n=function mn(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new Pe(204,!1)}function wr(e,t,n){let r;if(oi(e)){const i=ae(e);return Ir(i)||Ut(i)}if(Nr(e))r=()=>ae(e.useValue);else if(function Jr(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Da(e.deps||[]));else if(function br(e){return!(!e||!e.useExisting)}(e))r=()=>rr(ae(e.useExisting));else{const i=ae(e&&(e.useClass||e.provide));if(!function Bi(e){return!!e.deps}(e))return Ir(i)||Ut(i);r=()=>new i(...Da(e.deps))}return r}function si(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Fu(e){return!!e.\u0275providers}function Ql(e,t){for(const n of e)Array.isArray(n)?Ql(n,t):Fu(n)?Ql(n.\u0275providers,t):t(n)}class Ns{}class jy{resolveComponentFactory(t){throw function Qi(e){const t=Error(`No component factory found for ${Z(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let Jl=(()=>{class e{}return e.NULL=new jy,e})();function $y(){return yl(jn(),Ze())}function yl(e,t){return new Xl(hr(e,t))}let Xl=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=$y,e})();function Gy(e){return e instanceof Xl?e.nativeElement:e}class Jf{}let zy=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function Wy(){const e=Ze(),n=Zn(jn().index,e);return(Hn(n)?n:e)[11]}(),e})(),Ky=(()=>{class e{}return e.\u0275prov=he({token:e,providedIn:"root",factory:()=>null}),e})();class Xf{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const eh=new Xf("14.1.2"),Uc={};function zc(e){return e.ngOriginalError}class eu{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&&zc(t);for(;n&&zc(n);)n=zc(n);return n||null}}const Wc=new Map;let o_=0;const Zc="__ngContext__";function vi(e,t){Hn(t)?(e[Zc]=t[20],function a_(e){Wc.set(e[20],e)}(t)):e[Zc]=t}function tu(e){const t=e[Zc];return"number"==typeof t?function sh(e){return Wc.get(e)||null}(t):t||null}function Yc(e){const t=tu(e);return t?Hn(t)?t:t.lView:null}const m_=(()=>(typeof requestAnimationFrame<"u"&&requestAnimationFrame||setTimeout).bind(Me))();function dh(e){return e.ownerDocument.defaultView}function sa(e){return e instanceof Function?e():e}var Fs=(()=>((Fs=Fs||{})[Fs.Important=1]="Important",Fs[Fs.DashCase=2]="DashCase",Fs))();function Qc(e,t){return undefined(e,t)}function nu(e){const t=e[3];return er(t)?t[3]:t}function Jc(e){return gh(e[13])}function Xc(e){return gh(e[4])}function gh(e){for(;null!==e&&!er(e);)e=e[4];return e}function vl(e,t,n,r,i){if(null!=r){let o,u=!1;er(r)?o=r:Hn(r)&&(u=!0,r=r[0]);const m=Mn(r);0===e&&null!==n?null==i?Eh(t,n,m):Qa(t,n,m,i||null,!0):1===e&&null!==n?Qa(t,n,m,i||null,!0):2===e?function Sh(e,t,n){const r=Lu(e,t);r&&function R_(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,m,u):3===e&&t.destroyNode(m),null!=o&&function k_(e,t,n,r,i){const o=n[7];o!==Mn(n)&&vl(t,e,r,o,i);for(let m=10;m<n.length;m++){const y=n[m];ru(y[1],y,e,t,r,o)}}(t,e,o,n,i)}}function td(e,t,n){return e.createElement(t,n)}function yh(e,t){const n=e[9],r=n.indexOf(t),i=t[3];512&t[2]&&(t[2]&=-513,Ne(i,-1)),n.splice(r,1)}function nd(e,t){if(e.length<=10)return;const n=10+t,r=e[n];if(r){const i=r[17];null!==i&&i!==e&&yh(i,r),t>0&&(e[n-1][4]=r[4]);const o=c(e,10+t);!function A_(e,t){ru(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(r[1],r);const u=o[19];null!==u&&u.detachView(o[1]),r[3]=null,r[4]=null,r[2]&=-65}return r}function _h(e,t){if(!(128&t[2])){const n=t[11];n.destroyNode&&ru(e,t,n,3,null,null),function S_(e){let t=e[13];if(!t)return rd(e[1],e);for(;t;){let n=null;if(Hn(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)Hn(t)&&rd(t[1],t),t=t[3];null===t&&(t=e),Hn(t)&&rd(t[1],t),n=t&&t[4]}t=n}}(t)}}function rd(e,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function x_(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const i=t[n[r]];if(!(i instanceof qo)){const o=n[r+1];if(Array.isArray(o))for(let u=0;u<o.length;u+=2){const m=i[o[u]],y=o[u+1];try{y.call(m)}finally{}}else try{o.call(i)}finally{}}}}(e,t),function P_(e,t){const n=e.cleanup,r=t[7];let i=-1;if(null!==n)for(let o=0;o<n.length-1;o+=2)if("string"==typeof n[o]){const u=n[o+1],m="function"==typeof u?u(t):Mn(t[u]),y=r[i=n[o+2]],I=n[o+3];"boolean"==typeof I?m.removeEventListener(n[o],y,I):I>=0?r[i=I]():r[i=-I].unsubscribe(),o+=2}else{const u=r[i=n[o+1]];n[o].call(u)}if(null!==r){for(let o=i+1;o<r.length;o++)(0,r[o])();t[7]=null}}(e,t),1===t[1].type&&t[11].destroy();const n=t[17];if(null!==n&&er(t[3])){n!==t[3]&&yh(n,t);const r=t[19];null!==r&&r.detachView(e)}!function l_(e){Wc.delete(e[20])}(t)}}function vh(e,t,n){return function Dh(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[0];if(2&r.flags){const i=e.data[r.directiveStart].encapsulation;if(i===W.None||i===W.Emulated)return null}return hr(r,n)}(e,t.parent,n)}function Qa(e,t,n,r,i){e.insertBefore(t,n,r,i)}function Eh(e,t,n){e.appendChild(t,n)}function Ch(e,t,n,r,i){null!==r?Qa(e,t,n,r,i):Eh(e,t,n)}function Lu(e,t){return e.parentNode(t)}function bh(e,t,n){return Ah(e,t,n)}let Ah=function wh(e,t,n){return 40&e.type?hr(e,n):null};function Bu(e,t,n,r){const i=vh(e,r,t),o=t[11],m=bh(r.parent||t[6],r,t);if(null!=i)if(Array.isArray(n))for(let y=0;y<n.length;y++)Ch(o,i,n[y],m,!1);else Ch(o,i,n,m,!1)}function Vu(e,t){if(null!==t){const n=t.type;if(3&n)return hr(t,e);if(4&n)return od(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return Vu(e,r);{const i=e[t.index];return er(i)?od(-1,i):Mn(i)}}if(32&n)return Qc(t,e)()||Mn(e[t.index]);{const r=Mh(e,t);return null!==r?Array.isArray(r)?r[0]:Vu(nu(e[16]),r):Vu(e,t.next)}}return null}function Mh(e,t){return null!==t?e[16][6].projection[t.projection]:null}function od(e,t){const n=10+e+1;if(n<t.length){const r=t[n],i=r[1].firstChild;if(null!==i)return Vu(r,i)}return t[7]}function sd(e,t,n,r,i,o,u){for(;null!=n;){const m=r[n.index],y=n.type;if(u&&0===t&&(m&&vi(Mn(m),r),n.flags|=4),64!=(64&n.flags))if(8&y)sd(e,t,n.child,r,i,o,!1),vl(t,e,i,m,o);else if(32&y){const I=Qc(n,r);let x;for(;x=I();)vl(t,e,i,x,o);vl(t,e,i,m,o)}else 16&y?Ih(e,t,r,n,i,o):vl(t,e,i,m,o);n=u?n.projectionNext:n.next}}function ru(e,t,n,r,i,o){sd(n,r,e.firstChild,t,i,o,!1)}function Ih(e,t,n,r,i,o){const u=n[16],y=u[6].projection[r.projection];if(Array.isArray(y))for(let I=0;I<y.length;I++)vl(t,e,i,y[I],o);else sd(e,t,y,u[3],i,o,!0)}function Oh(e,t,n){e.setAttribute(t,"style",n)}function ad(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Ph(e,t,n){let r=e.length;for(;;){const i=e.indexOf(t,n);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){const o=t.length;if(i+o===r||e.charCodeAt(i+o)<=32)return i}n=i+1}}const xh="ng-template";function B_(e,t,n){let r=0;for(;r<e.length;){let i=e[r++];if(n&&"class"===i){if(i=e[r],-1!==Ph(i.toLowerCase(),t,0))return!0}else if(1===i){for(;r<e.length&&"string"==typeof(i=e[r++]);)if(i.toLowerCase()===t)return!0;return!1}}return!1}function Rh(e){return 4===e.type&&e.value!==xh}function V_(e,t,n){return t===(4!==e.type||n?e.value:xh)}function U_(e,t,n){let r=4;const i=e.attrs||[],o=function $_(e){for(let t=0;t<e.length;t++)if(wo(e[t]))return t;return e.length}(i);let u=!1;for(let m=0;m<t.length;m++){const y=t[m];if("number"!=typeof y){if(!u)if(4&r){if(r=2|1&r,""!==y&&!V_(e,y,n)||""===y&&1===t.length){if(ls(r))return!1;u=!0}}else{const I=8&r?y:t[++m];if(8&r&&null!==e.attrs){if(!B_(e.attrs,I,n)){if(ls(r))return!1;u=!0}continue}const H=H_(8&r?"class":y,i,Rh(e),n);if(-1===H){if(ls(r))return!1;u=!0;continue}if(""!==I){let ce;ce=H>o?"":i[H+1].toLowerCase();const Te=8&r?ce:null;if(Te&&-1!==Ph(Te,I,0)||2&r&&I!==ce){if(ls(r))return!1;u=!0}}}}else{if(!u&&!ls(r)&&!ls(y))return!1;if(u&&ls(y))continue;u=!1,r=y|1&r}}return ls(r)||u}function ls(e){return 0==(1&e)}function H_(e,t,n,r){if(null===t)return-1;let i=0;if(r||!n){let o=!1;for(;i<t.length;){const u=t[i];if(u===e)return i;if(3===u||6===u)o=!0;else{if(1===u||2===u){let m=t[++i];for(;"string"==typeof m;)m=t[++i];continue}if(4===u)break;if(0===u){i+=4;continue}}i+=o?1:2}return-1}return function G_(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 Nh(e,t,n=!1){for(let r=0;r<t.length;r++)if(U_(e,t[r],n))return!0;return!1}function z_(e,t){e:for(let n=0;n<t.length;n++){const r=t[n];if(e.length===r.length){for(let i=0;i<e.length;i++)if(e[i]!==r[i])continue e;return!0}}return!1}function Fh(e,t){return e?":not("+t.trim()+")":t}function W_(e){let t=e[0],n=1,r=2,i="",o=!1;for(;n<e.length;){let u=e[n];if("string"==typeof u)if(2&r){const m=e[++n];i+="["+u+(m.length>0?'="'+m+'"':"")+"]"}else 8&r?i+="."+u:4&r&&(i+=" "+u);else""!==i&&!ls(u)&&(t+=Fh(o,i),i=""),r=u,o=o||!ls(r);n++}return""!==i&&(t+=Fh(o,i)),t}const cn={};function kh(e){Lh(Wt(),Ze(),tr()+e,!1)}function Lh(e,t,n,r){if(!r)if(3==(3&t[2])){const o=e.preOrderCheckHooks;null!==o&&bo(t,o,n)}else{const o=e.preOrderHooks;null!==o&&Ws(t,o,0,n)}Wr(n)}function Hh(e,t=null,n=null,r){const i=jh(e,t,n,r);return i.resolveInjectorInitializers(),i}function jh(e,t=null,n=null,r,i=new Set){const o=[n||_t,Kt(e)];return r=r||("object"==typeof e?void 0:Z(e)),new Tt(o,t||Ya(),r||null,i)}let Ja=(()=>{class e{static create(n,r){if(Array.isArray(n))return Hh({name:""},r,n,"");{const i=n.name??"";return Hh({name:i},n.parent,n.providers,i)}}}return e.THROW_IF_NOT_FOUND=Ps,e.NULL=new Ht,e.\u0275prov=he({token:e,providedIn:"any",factory:()=>rr(fn)}),e.__NG_ELEMENT_ID__=-1,e})();function El(e,t=yt.Default){const n=Ze();return null===n?rr(e,t):Io(jn(),n,ae(e),t)}function Yh(){throw new Error("invalid")}function Hu(e,t){return e<<17|t<<2}function us(e){return e>>17&32767}function fd(e){return 2|e}function aa(e){return(131068&e)>>2}function hd(e,t){return-131069&e|t<<2}function pd(e){return 1|e}function sp(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const i=n[r],o=n[r+1];if(-1!==o){const u=e.data[o];Do(i),u.contentQueries(2,t[o],o)}}}function Gu(e,t,n,r,i,o,u,m,y,I,x){const H=t.blueprint.slice();return H[0]=i,H[2]=76|r,(null!==x||e&&1024&e[2])&&(H[2]|=1024),oe(H),H[3]=H[15]=e,H[8]=n,H[10]=u||e&&e[10],H[11]=m||e&&e[11],H[12]=y||e&&e[12]||null,H[9]=I||e&&e[9]||null,H[6]=o,H[20]=function s_(){return o_++}(),H[21]=x,H[16]=2==t.type?e[16]:H,H}function Cl(e,t,n,r,i){let o=e.data[t];if(null===o)o=function bd(e,t,n,r,i){const o=Ii(),u=E(),y=e.data[t]=function Iv(e,t,n,r,i,o){return{type:n,index:r,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,u?o:o&&o.parent,n,t,r,i);return null===e.firstChild&&(e.firstChild=y),null!==o&&(u?null==o.child&&null!==y.parent&&(o.child=y):null===o.next&&(o.next=y)),y}(e,t,n,r,i),function Ia(){return Oe.lFrame.inI18n}()&&(o.flags|=64);else if(64&o.type){o.type=n,o.value=r,o.attrs=i;const u=function pi(){const e=Oe.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();o.injectorIndex=null===u?-1:u.injectorIndex}return M(o,!0),o}function bl(e,t,n,r){if(0===n)return-1;const i=t.length;for(let o=0;o<n;o++)t.push(r),e.blueprint.push(r),e.data.push(null);return i}function zu(e,t,n){Pi(t);try{const r=e.viewQuery;null!==r&&xd(1,r,n);const i=e.template;null!==i&&ap(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&sp(e,t),e.staticViewQueries&&xd(2,e.viewQuery,n);const o=e.components;null!==o&&function Av(e,t){for(let n=0;n<t.length;n++)zv(e,t[n])}(t,o)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[2]&=-5,Co()}}function iu(e,t,n,r){const i=t[2];if(128!=(128&i)){Pi(t);try{oe(t),function yo(e){return Oe.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&ap(e,t,n,2,r);const u=3==(3&i);if(u){const I=e.preOrderCheckHooks;null!==I&&bo(t,I,null)}else{const I=e.preOrderHooks;null!==I&&Ws(t,I,0,null),Yo(t,0)}if(function $v(e){for(let t=Jc(e);null!==t;t=Xc(t)){if(!t[2])continue;const n=t[9];for(let r=0;r<n.length;r++){const i=n[r],o=i[3];0==(512&i[2])&&Ne(o,1),i[2]|=512}}}(t),function jv(e){for(let t=Jc(e);null!==t;t=Xc(t))for(let n=10;n<t.length;n++){const r=t[n],i=r[1];R(r)&&iu(i,r,i.template,r[8])}}(t),null!==e.contentQueries&&sp(e,t),u){const I=e.contentCheckHooks;null!==I&&bo(t,I)}else{const I=e.contentHooks;null!==I&&Ws(t,I,1),Yo(t,1)}!function bv(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const i=n[r];if(i<0)Wr(~i);else{const o=i,u=n[++r],m=n[++r];Oa(u,o),m(2,t[o])}}}finally{Wr(-1)}}(e,t);const m=e.components;null!==m&&function wv(e,t){for(let n=0;n<t.length;n++)Gv(e,t[n])}(t,m);const y=e.viewQuery;if(null!==y&&xd(2,y,r),u){const I=e.viewCheckHooks;null!==I&&bo(t,I)}else{const I=e.viewHooks;null!==I&&Ws(t,I,2),Yo(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[2]&=-41,512&t[2]&&(t[2]&=-513,Ne(t[3],-1))}finally{Co()}}}function Tv(e,t,n,r){const i=t[10],u=C(t);try{!u&&i.begin&&i.begin(),u&&zu(e,t,r),iu(e,t,n,r)}finally{!u&&i.end&&i.end()}}function ap(e,t,n,r,i){const o=tr(),u=2&r;try{Wr(-1),u&&t.length>22&&Lh(e,t,22,!1),n(r,i)}finally{Wr(o)}}function lp(e,t,n){if(ui(t)){const i=t.directiveEnd;for(let o=t.directiveStart;o<i;o++){const u=e.data[o];u.contentQueries&&u.contentQueries(1,n[o],o)}}}function wd(e,t,n){!zn()||(function Nv(e,t,n,r){const i=n.directiveStart,o=n.directiveEnd;e.firstCreatePass||ri(n,t),vi(r,t);const u=n.initialInputs;for(let m=i;m<o;m++){const y=e.data[m],I=ur(y);I&&Vv(t,n,y);const x=Oo(t,e,m,n);vi(x,t),null!==u&&Uv(0,m-i,x,y,0,u),I&&(Zn(n.index,t)[8]=x)}}(e,t,n,hr(n,t)),128==(128&n.flags)&&function Fv(e,t,n){const r=n.directiveStart,i=n.directiveEnd,o=n.index,u=function gi(){return Oe.lFrame.currentDirectiveIndex}();try{Wr(o);for(let m=r;m<i;m++){const y=e.data[m],I=t[m];ms(m),(null!==y.hostBindings||0!==y.hostVars||null!==y.hostAttrs)&&gp(y,I)}}finally{Wr(-1),ms(u)}}(e,t,n))}function Ad(e,t,n=hr){const r=t.localNames;if(null!==r){let i=t.index+1;for(let o=0;o<r.length;o+=2){const u=r[o+1],m=-1===u?n(t,e):e[u];e[i++]=m}}}function up(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Td(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function Td(e,t,n,r,i,o,u,m,y,I){const x=22+r,H=x+i,ce=function Mv(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:cn);return n}(x,H),Te="function"==typeof I?I():I;return ce[1]={type:e,blueprint:ce,template:n,queries:null,viewQuery:m,declTNode:t,data:ce.slice().fill(null,x),bindingStartIndex:x,expandoStartIndex:H,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof o?o():o,pipeRegistry:"function"==typeof u?u():u,firstChild:null,schemas:y,consts:Te,incompleteFirstPass:!1}}function cp(e,t,n,r){const i=Cp(t);null===n?i.push(r):(i.push(n),e.firstCreatePass&&bp(e).push(r,i.length-1))}function dp(e,t,n){for(let r in e)if(e.hasOwnProperty(r)){const i=e[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(t,i):n[r]=[t,i]}return n}function fp(e,t){const r=t.directiveEnd,i=e.data,o=t.attrs,u=[];let m=null,y=null;for(let I=t.directiveStart;I<r;I++){const x=i[I],H=x.inputs,ce=null===o||Rh(t)?null:Hv(H,o);u.push(ce),m=dp(H,I,m),y=dp(x.outputs,I,y)}null!==m&&(m.hasOwnProperty("class")&&(t.flags|=16),m.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=u,t.inputs=m,t.outputs=y}function ao(e,t,n,r,i,o,u,m){const y=hr(t,n);let x,I=t.inputs;!m&&null!=I&&(x=I[r])?(Rd(e,n,x,r,i),ji(t)&&hp(n,t.index)):3&t.type&&(r=function Ov(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),i=null!=u?u(i,t.value||"",r):i,o.setProperty(y,r,i))}function hp(e,t){const n=Zn(t,e);16&n[2]||(n[2]|=32)}function Md(e,t,n,r){let i=!1;if(zn()){const o=function kv(e,t,n){const r=e.directiveRegistry;let i=null;if(r)for(let o=0;o<r.length;o++){const u=r[o];Nh(n,u.selectors,!1)&&(i||(i=[]),xi(ri(n,t),e,u.type),ur(u)?(mp(e,n),i.unshift(u)):i.push(u))}return i}(e,t,n),u=null===r?null:{"":-1};if(null!==o){i=!0,yp(n,e.data.length,o.length);for(let x=0;x<o.length;x++){const H=o[x];H.providersResolver&&H.providersResolver(H)}let m=!1,y=!1,I=bl(e,t,o.length,null);for(let x=0;x<o.length;x++){const H=o[x];n.mergedAttrs=Ao(n.mergedAttrs,H.hostAttrs),_p(e,n,t,I,H),Bv(I,H,u),null!==H.contentQueries&&(n.flags|=8),(null!==H.hostBindings||null!==H.hostAttrs||0!==H.hostVars)&&(n.flags|=128);const ce=H.type.prototype;!m&&(ce.ngOnChanges||ce.ngOnInit||ce.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),m=!0),!y&&(ce.ngOnChanges||ce.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),y=!0),I++}fp(e,n)}u&&function Lv(e,t,n){if(t){const r=e.localNames=[];for(let i=0;i<t.length;i+=2){const o=n[t[i+1]];if(null==o)throw new Pe(-301,!1);r.push(t[i],o)}}}(n,r,u)}return n.mergedAttrs=Ao(n.mergedAttrs,n.attrs),i}function pp(e,t,n,r,i,o){const u=o.hostBindings;if(u){let m=e.hostBindingOpCodes;null===m&&(m=e.hostBindingOpCodes=[]);const y=~t.index;(function Rv(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(m)!=y&&m.push(y),m.push(r,i,u)}}function gp(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function mp(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function Bv(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;ur(t)&&(n[""]=e)}}function yp(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function _p(e,t,n,r,i){e.data[r]=i;const o=i.factory||(i.factory=Ir(i.type)),u=new qo(o,ur(i),El);e.blueprint[r]=u,n[r]=u,pp(e,t,0,r,bl(e,n,i.hostVars,cn),i)}function Vv(e,t,n){const r=hr(t,e),i=up(n),o=e[10],u=Wu(e,Gu(e,i,null,n.onPush?32:16,r,t,o,o.createRenderer(r,n),null,null,null));e[t.index]=u}function ks(e,t,n,r,i,o){const u=hr(e,t);!function Sd(e,t,n,r,i,o,u){if(null==o)e.removeAttribute(t,i,n);else{const m=null==u?be(o):u(o,r||"",i);e.setAttribute(t,i,m,n)}}(t[11],u,o,e.value,n,r,i)}function Uv(e,t,n,r,i,o){const u=o[t];if(null!==u){const m=r.setInput;for(let y=0;y<u.length;){const I=u[y++],x=u[y++],H=u[y++];null!==m?r.setInput(n,H,I,x):n[x]=H}}}function Hv(e,t){let n=null,r=0;for(;r<t.length;){const i=t[r];if(0!==i)if(5!==i){if("number"==typeof i)break;e.hasOwnProperty(i)&&(null===n&&(n=[]),n.push(i,e[i],t[r+1])),r+=2}else r+=2;else r+=4}return n}function vp(e,t,n,r){return new Array(e,!0,!1,t,null,0,r,n,null,null)}function Gv(e,t){const n=Zn(t,e);if(R(n)){const r=n[1];48&n[2]?iu(r,n,r.template,n[8]):n[5]>0&&Id(n)}}function Id(e){for(let r=Jc(e);null!==r;r=Xc(r))for(let i=10;i<r.length;i++){const o=r[i];if(R(o))if(512&o[2]){const u=o[1];iu(u,o,u.template,o[8])}else o[5]>0&&Id(o)}const n=e[1].components;if(null!==n)for(let r=0;r<n.length;r++){const i=Zn(n[r],e);R(i)&&i[5]>0&&Id(i)}}function zv(e,t){const n=Zn(t,e),r=n[1];(function Wv(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(r,n),zu(r,n,n[8])}function Wu(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function Od(e){for(;e;){e[2]|=32;const t=nu(e);if(uo(e)&&!t)return e;e=t}return null}function Ep(e){!function Dp(e){for(let t=0;t<e.components.length;t++){const n=e.components[t],r=Yc(n);if(null!==r){const i=r[1];Tv(i,r,i.template,n)}}}(e[8])}function xd(e,t,n){Do(0),t(e,n)}const Zv=(()=>Promise.resolve(null))();function Cp(e){return e[7]||(e[7]=[])}function bp(e){return e.cleanup||(e.cleanup=[])}function wp(e,t,n){return(null===e||ur(e))&&(n=function mo(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(n[t.index])),n[11]}function Ap(e,t){const n=e[9],r=n?n.get(eu,null):null;r&&r.handleError(t)}function Rd(e,t,n,r,i){for(let o=0;o<n.length;){const u=n[o++],m=n[o++],y=t[u],I=e.data[u];null!==I.setInput?I.setInput(y,i,r,m):y[m]=i}}function la(e,t,n){const r=Si(t,e);!function mh(e,t,n){e.setValue(t,n)}(e[11],r,n)}function Ku(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,o=0;if(null!==t)for(let u=0;u<t.length;u++){const m=t[u];"number"==typeof m?o=m:1==o?i=Y(i,m):2==o&&(r=Y(r,m+": "+t[++u]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}function Zu(e,t,n,r,i=!1){for(;null!==n;){const o=t[n.index];if(null!==o&&r.push(Mn(o)),er(o))for(let m=10;m<o.length;m++){const y=o[m],I=y[1].firstChild;null!==I&&Zu(y[1],y,I,r)}const u=n.type;if(8&u)Zu(e,t,n.child,r);else if(32&u){const m=Qc(n,t);let y;for(;y=m();)r.push(y)}else if(16&u){const m=Mh(t,n);if(Array.isArray(m))r.push(...m);else{const y=nu(t[16]);Zu(y[1],y,m,r,!0)}}n=i?n.projectionNext:n.next}return r}class ou{constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const t=this._lView,n=t[1];return Zu(n,t,n.firstChild,[])}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return 128==(128&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(er(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(nd(t,r),c(n,r))}this._attachedToViewContainer=!1}_h(this._lView[1],this._lView)}onDestroy(t){cp(this._lView[1],this._lView,null,t)}markForCheck(){Od(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){!function Pd(e,t,n){const r=t[10];r.begin&&r.begin();try{iu(e,t,e.template,n)}catch(i){throw Ap(t,i),i}finally{r.end&&r.end()}}(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Pe(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function M_(e,t){ru(e,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Pe(902,!1);this._appRef=t}}class Yv extends ou{constructor(t){super(t),this._view=t}detectChanges(){Ep(this._view)}checkNoChanges(){}get context(){return null}}class Nd extends Jl{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=Re(t);return new su(n,this.ngModule)}}function Tp(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class Qv{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){const i=this.injector.get(t,Uc,r);return i!==Uc||n===Uc?i:this.parentInjector.get(t,n,r)}}class su extends Ns{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function K_(e){return e.map(W_).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return Tp(this.componentDef.inputs)}get outputs(){return Tp(this.componentDef.outputs)}create(t,n,r,i){let o=(i=i||this.ngModule)instanceof xs?i:i?.injector;o&&null!==this.componentDef.getStandaloneInjector&&(o=this.componentDef.getStandaloneInjector(o)||o);const u=o?new Qv(t,o):t,m=u.get(Jf,null);if(null===m)throw new Pe(407,!1);const y=u.get(Ky,null),I=m.createRenderer(null,this.componentDef),x=this.componentDef.selectors[0][0]||"div",H=r?function Sv(e,t,n){return e.selectRootElement(t,n===W.ShadowDom)}(I,r,this.componentDef.encapsulation):td(m.createRenderer(null,this.componentDef),x,function qv(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(x)),ce=this.componentDef.onPush?288:272,Te=function nD(e,t){return{components:[],scheduler:e||m_,clean:Zv,playerHandler:t||null,flags:0}}(),Ye=Td(0,null,null,1,0,null,null,null,null,null),ot=Gu(null,Ye,Te,ce,null,null,m,I,y,u,null);let mt,wt;Pi(ot);try{const en=function eD(e,t,n,r,i,o){const u=n[1];n[22]=e;const y=Cl(u,22,2,"#host",null),I=y.mergedAttrs=t.hostAttrs;null!==I&&(Ku(y,I,!0),null!==e&&(Ds(i,e,I),null!==y.classes&&ad(i,e,y.classes),null!==y.styles&&Oh(i,e,y.styles)));const x=r.createRenderer(e,t),H=Gu(n,up(t),null,t.onPush?32:16,n[22],y,r,x,o||null,null,null);return u.firstCreatePass&&(xi(ri(y,n),u,t.type),mp(u,y),yp(y,n.length,1)),Wu(n,H),n[22]=H}(H,this.componentDef,ot,m,I);if(H)if(r)Ds(I,H,["ng-version",eh.full]);else{const{attrs:et,classes:Gt}=function Z_(e){const t=[],n=[];let r=1,i=2;for(;r<e.length;){let o=e[r];if("string"==typeof o)2===i?""!==o&&t.push(o,e[++r]):8===i&&n.push(o);else{if(!ls(i))break;i=o}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);et&&Ds(I,H,et),Gt&&Gt.length>0&&ad(I,H,Gt.join(" "))}if(wt=Zi(Ye,22),void 0!==n){const et=wt.projection=[];for(let Gt=0;Gt<this.ngContentSelectors.length;Gt++){const An=n[Gt];et.push(null!=An?Array.from(An):null)}}mt=function tD(e,t,n,r,i){const o=n[1],u=function xv(e,t,n){const r=jn();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),_p(e,r,t,bl(e,t,1,null),n),fp(e,r));const i=Oo(t,e,r.directiveStart,r);vi(i,t);const o=hr(r,t);return o&&vi(o,t),i}(o,n,t);if(r.components.push(u),e[8]=u,null!==i)for(const y of i)y(u,t);if(t.contentQueries){const y=jn();t.contentQueries(1,u,y.directiveStart)}const m=jn();return!o.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(Wr(m.index),pp(n[1],m,0,m.directiveStart,m.directiveEnd,t),gp(t,u)),u}(en,this.componentDef,ot,Te,[rD]),zu(Ye,ot,null)}finally{Co()}return new Xv(this.componentType,mt,yl(wt,ot),ot,wt)}}class Xv extends class Xr{}{constructor(t,n,r,i,o){super(),this.location=r,this._rootLView=i,this._tNode=o,this.instance=n,this.hostView=this.changeDetectorRef=new Yv(i),this.componentType=t}setInput(t,n){const r=this._tNode.inputs;let i;if(null!==r&&(i=r[t])){const o=this._rootLView;Rd(o[1],o,i,t,n),hp(o,this._tNode.index)}}get injector(){return new Ri(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function rD(){const e=jn();vs(Ze()[1],e)}function Fd(e){let t=function Mp(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let i;if(ur(e))i=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Pe(903,!1);i=t.\u0275dir}if(i){if(n){r.push(i);const u=e;u.inputs=kd(e.inputs),u.declaredInputs=kd(e.declaredInputs),u.outputs=kd(e.outputs);const m=i.hostBindings;m&&aD(e,m);const y=i.viewQuery,I=i.contentQueries;if(y&&oD(e,y),I&&sD(e,I),G(e.inputs,i.inputs),G(e.declaredInputs,i.declaredInputs),G(e.outputs,i.outputs),ur(i)&&i.data.animation){const x=e.data;x.animation=(x.animation||[]).concat(i.data.animation)}}const o=i.features;if(o)for(let u=0;u<o.length;u++){const m=o[u];m&&m.ngInherit&&m(e),m===Fd&&(n=!1)}}t=Object.getPrototypeOf(t)}!function iD(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const i=e[r];i.hostVars=t+=i.hostVars,i.hostAttrs=Ao(i.hostAttrs,n=Ao(n,i.hostAttrs))}}(r)}function kd(e){return e===At?{}:e===_t?[]:e}function oD(e,t){const n=e.viewQuery;e.viewQuery=n?(r,i)=>{t(r,i),n(r,i)}:t}function sD(e,t){const n=e.contentQueries;e.contentQueries=n?(r,i,o)=>{t(r,i,o),n(r,i,o)}:t}function aD(e,t){const n=e.hostBindings;e.hostBindings=n?(r,i)=>{t(r,i),n(r,i)}:t}let Yu=null;function Xa(){if(!Yu){const e=Me.Symbol;if(e&&e.iterator)Yu=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;n<t.length;++n){const r=t[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(Yu=r)}}}return Yu}function au(e){return!!Ld(e)&&(Array.isArray(e)||!(e instanceof Map)&&Xa()in e)}function Ld(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Ls(e,t,n){return e[t]=n}function lu(e,t){return e[t]}function Di(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function el(e,t,n,r){const i=Di(e,t,n);return Di(e,t+1,r)||i}function Bo(e,t,n,r,i,o){const u=el(e,t,n,r);return el(e,t+2,i,o)||u}function Bd(e,t,n,r){const i=Ze();return Di(i,_o(),t)&&(Wt(),ks(zt(),i,e,t,n,r)),Bd}function Al(e,t,n,r){return Di(e,_o(),n)?t+be(n)+r:cn}function Tl(e,t,n,r,i,o){const m=el(e,function Dr(){return Oe.lFrame.bindingIndex}(),n,i);return Oi(2),m?t+be(n)+r+be(i)+o:cn}function Lp(e,t,n,r,i,o,u,m){const y=Ze(),I=Wt(),x=e+22,H=I.firstCreatePass?function mD(e,t,n,r,i,o,u,m,y){const I=t.consts,x=Cl(t,e,4,u||null,F(I,m));Md(t,n,x,F(I,y)),vs(t,x);const H=x.tViews=Td(2,x,r,i,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,I);return null!==t.queries&&(t.queries.template(t,x),H.queries=t.queries.embeddedTView(x)),x}(x,I,y,t,n,r,i,o,u):I.data[x];M(H,!1);const ce=y[11].createComment("");Bu(I,y,ce,H),vi(ce,y),Wu(y,y[x]=vp(ce,y,ce,H)),bi(H)&&wd(I,y,H),null!=u&&Ad(y,H,m)}function Bp(e){return _r(function ke(){return Oe.lFrame.contextLView}(),22+e)}function Vd(e,t,n){const r=Ze();return Di(r,_o(),t)&&ao(Wt(),zt(),r,e,t,r[11],n,!1),Vd}function Ud(e,t,n,r,i){const u=i?"class":"style";Rd(e,n,t.inputs[u],u,r)}function Qu(e,t,n,r){const i=Ze(),o=Wt(),u=22+e,m=i[11],y=i[u]=td(m,t,function xa(){return Oe.lFrame.currentNamespace}()),I=o.firstCreatePass?function _D(e,t,n,r,i,o,u){const m=t.consts,I=Cl(t,e,2,i,F(m,o));return Md(t,n,I,F(m,u)),null!==I.attrs&&Ku(I,I.attrs,!1),null!==I.mergedAttrs&&Ku(I,I.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,I),I}(u,o,i,0,t,n,r):o.data[u];M(I,!0);const x=I.mergedAttrs;null!==x&&Ds(m,y,x);const H=I.classes;null!==H&&ad(m,y,H);const ce=I.styles;return null!==ce&&Oh(m,y,ce),64!=(64&I.flags)&&Bu(o,i,y,I),0===function bn(){return Oe.lFrame.elementDepthCount}()&&vi(y,i),function wn(){Oe.lFrame.elementDepthCount++}(),bi(I)&&(wd(o,i,I),lp(o,I,i)),null!==r&&Ad(i,I),Qu}function Ju(){let e=jn();E()?D():(e=e.parent,M(e,!1));const t=e;!function ln(){Oe.lFrame.elementDepthCount--}();const n=Wt();return n.firstCreatePass&&(vs(n,e),ui(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function ar(e){return 0!=(16&e.flags)}(t)&&Ud(n,t,Ze(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function Ks(e){return 0!=(32&e.flags)}(t)&&Ud(n,t,Ze(),t.stylesWithoutHost,!1),Ju}function Hd(e,t,n,r){return Qu(e,t,n,r),Ju(),Hd}function Xu(e,t,n){const r=Ze(),i=Wt(),o=e+22,u=i.firstCreatePass?function vD(e,t,n,r,i){const o=t.consts,u=F(o,r),m=Cl(t,e,8,"ng-container",u);return null!==u&&Ku(m,u,!0),Md(t,n,m,F(o,i)),null!==t.queries&&t.queries.elementStart(t,m),m}(o,i,r,t,n):i.data[o];M(u,!0);const m=r[o]=r[11].createComment("");return Bu(i,r,m,u),vi(m,r),bi(u)&&(wd(i,r,u),lp(i,u,r)),null!=n&&Ad(r,u),Xu}function ec(){let e=jn();const t=Wt();return E()?D():(e=e.parent,M(e,!1)),t.firstCreatePass&&(vs(t,e),ui(e)&&t.queries.elementEnd(e)),ec}function jd(e,t,n){return Xu(e,t,n),ec(),jd}function Vp(){return Ze()}function $d(e){return!!e&&"function"==typeof e.then}function Up(e){return!!e&&"function"==typeof e.subscribe}const Hp=Up;function Gd(e,t,n,r){const i=Ze(),o=Wt(),u=jn();return jp(o,i,i[11],u,e,t,0,r),Gd}function zd(e,t){const n=jn(),r=Ze(),i=Wt();return jp(i,r,wp(vo(i.data),n,r),n,e,t),zd}function jp(e,t,n,r,i,o,u,m){const y=bi(r),x=e.firstCreatePass&&bp(e),H=t[8],ce=Cp(t);let Te=!0;if(3&r.type||m){const mt=hr(r,t),wt=m?m(mt):mt,en=ce.length,et=m?An=>m(Mn(An[r.index])):r.index;let Gt=null;if(!m&&y&&(Gt=function DD(e,t,n,r){const i=e.cleanup;if(null!=i)for(let o=0;o<i.length-1;o+=2){const u=i[o];if(u===n&&i[o+1]===r){const m=t[7],y=i[o+2];return m.length>y?m[y]:null}"string"==typeof u&&(o+=2)}return null}(e,t,i,r.index)),null!==Gt)(Gt.__ngLastListenerFn__||Gt).__ngNextListenerFn__=o,Gt.__ngLastListenerFn__=o,Te=!1;else{o=Gp(r,t,H,o,!1);const An=n.listen(wt,i,o);ce.push(o,An),x&&x.push(i,et,en,en+1)}}else o=Gp(r,t,H,o,!1);const Ye=r.outputs;let ot;if(Te&&null!==Ye&&(ot=Ye[i])){const mt=ot.length;if(mt)for(let wt=0;wt<mt;wt+=2){const or=t[ot[wt]][ot[wt+1]].subscribe(o),rl=ce.length;ce.push(o,or),x&&x.push(i,r.index,rl,-(rl+1))}}}function $p(e,t,n,r){try{return!1!==n(r)}catch(i){return Ap(e,i),!1}}function Gp(e,t,n,r,i){return function o(u){if(u===Function)return r;Od(2&e.flags?Zn(e.index,t):t);let y=$p(t,0,r,u),I=o.__ngNextListenerFn__;for(;I;)y=$p(t,0,I,u)&&y,I=I.__ngNextListenerFn__;return i&&!1===y&&(u.preventDefault(),u.returnValue=!1),y}}function zp(e=1){return function ca(e){return(Oe.lFrame.contextLView=function _s(e,t){for(;e>0;)t=t[15],e--;return t}(e,Oe.lFrame.contextLView))[8]}(e)}function ED(e,t){let n=null;const r=function j_(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(0==(1&n))return t[n+1]}return null}(e);for(let i=0;i<t.length;i++){const o=t[i];if("*"!==o){if(null===r?Nh(e,o,!0):z_(r,o))return i}else n=i}return n}function Wp(e){const t=Ze()[16][6];if(!t.projection){const r=t.projection=_(e?e.length:1,null),i=r.slice();let o=t.child;for(;null!==o;){const u=e?ED(o,e):0;null!==u&&(i[u]?i[u].projectionNext=o:r[u]=o,i[u]=o),o=o.next}}}function Kp(e,t=0,n){const r=Ze(),i=Wt(),o=Cl(i,22+e,16,null,n||null);null===o.projection&&(o.projection=t),D(),64!=(64&o.flags)&&function F_(e,t,n){Ih(t[11],0,t,n,vh(e,n,t),bh(n.parent||t[6],n,t))}(i,r,o)}function Wd(e,t,n){return Kd(e,"",t,"",n),Wd}function Kd(e,t,n,r,i){const o=Ze(),u=Al(o,t,n,r);return u!==cn&&ao(Wt(),zt(),o,e,u,o[11],i,!1),Kd}function ng(e,t,n,r,i){const o=e[n+1],u=null===t;let m=r?us(o):aa(o),y=!1;for(;0!==m&&(!1===y||u);){const x=e[m+1];wD(e[m],t)&&(y=!0,e[m+1]=r?pd(x):fd(x)),m=r?us(x):aa(x)}y&&(e[n+1]=r?fd(o):pd(o))}function wD(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&dn(e,t)>=0}const Gr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function rg(e){return e.substring(Gr.key,Gr.keyEnd)}function ig(e,t){const n=Gr.textEnd;return n===t?-1:(t=Gr.keyEnd=function SD(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Gr.key=t,n),Rl(e,t,n))}function Rl(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Zd(e,t,n){return cs(e,t,n,!1),Zd}function Yd(e,t){return cs(e,t,null,!0),Yd}function ug(e){ds(Bt,Vs,e,!0)}function Vs(e,t){for(let n=function TD(e){return function sg(e){Gr.key=0,Gr.keyEnd=0,Gr.value=0,Gr.valueEnd=0,Gr.textEnd=e.length}(e),ig(e,Rl(e,0,Gr.textEnd))}(t);n>=0;n=ig(t,n))Bt(e,rg(t),!0)}function cs(e,t,n,r){const i=Ze(),o=Wt(),u=Oi(2);o.firstUpdatePass&&dg(o,e,u,r),t!==cn&&Di(i,u,t)&&hg(o,o.data[tr()],i,i[11],e,i[u+1]=function BD(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=Z(ko(e)))),e}(t,n),r,u)}function ds(e,t,n,r){const i=Wt(),o=Oi(2);i.firstUpdatePass&&dg(i,null,o,r);const u=Ze();if(n!==cn&&Di(u,o,n)){const m=i.data[tr()];if(gg(m,r)&&!cg(i,o)){let y=r?m.classesWithoutHost:m.stylesWithoutHost;null!==y&&(n=Y(y,n||"")),Ud(i,m,u,n,r)}else!function LD(e,t,n,r,i,o,u,m){i===cn&&(i=_t);let y=0,I=0,x=0<i.length?i[0]:null,H=0<o.length?o[0]:null;for(;null!==x||null!==H;){const ce=y<i.length?i[y+1]:void 0,Te=I<o.length?o[I+1]:void 0;let ot,Ye=null;x===H?(y+=2,I+=2,ce!==Te&&(Ye=H,ot=Te)):null===H||null!==x&&x<H?(y+=2,Ye=x):(I+=2,Ye=H,ot=Te),null!==Ye&&hg(e,t,n,r,Ye,ot,u,m),x=y<i.length?i[y]:null,H=I<o.length?o[I]:null}}(i,m,u,u[11],u[o+1],u[o+1]=function kD(e,t,n){if(null==n||""===n)return _t;const r=[],i=ko(n);if(Array.isArray(i))for(let o=0;o<i.length;o++)e(r,i[o],!0);else if("object"==typeof i)for(const o in i)i.hasOwnProperty(o)&&e(r,o,i[o]);else"string"==typeof i&&t(r,i);return r}(e,t,n),r,o)}}function cg(e,t){return t>=e.expandoStartIndex}function dg(e,t,n,r){const i=e.data;if(null===i[n+1]){const o=i[tr()],u=cg(e,n);gg(o,r)&&null===t&&!u&&(t=!1),t=function xD(e,t,n,r){const i=vo(e);let o=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(n=uu(n=qd(null,e,t,n,r),t.attrs,r),o=null);else{const u=t.directiveStylingLast;if(-1===u||e[u]!==i)if(n=qd(i,e,t,n,r),null===o){let y=function RD(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==aa(r))return e[us(r)]}(e,t,r);void 0!==y&&Array.isArray(y)&&(y=qd(null,e,t,y[1],r),y=uu(y,t.attrs,r),function ND(e,t,n,r){e[us(n?t.classBindings:t.styleBindings)]=r}(e,t,r,y))}else o=function FD(e,t,n){let r;const i=t.directiveEnd;for(let o=1+t.directiveStylingLast;o<i;o++)r=uu(r,e[o].hostAttrs,n);return uu(r,t.attrs,n)}(e,t,r)}return void 0!==o&&(r?t.residualClasses=o:t.residualStyles=o),n}(i,o,t,r),function CD(e,t,n,r,i,o){let u=o?t.classBindings:t.styleBindings,m=us(u),y=aa(u);e[r]=n;let x,I=!1;if(Array.isArray(n)){const H=n;x=H[1],(null===x||dn(H,x)>0)&&(I=!0)}else x=n;if(i)if(0!==y){const ce=us(e[m+1]);e[r+1]=Hu(ce,m),0!==ce&&(e[ce+1]=hd(e[ce+1],r)),e[m+1]=function hv(e,t){return 131071&e|t<<17}(e[m+1],r)}else e[r+1]=Hu(m,0),0!==m&&(e[m+1]=hd(e[m+1],r)),m=r;else e[r+1]=Hu(y,0),0===m?m=r:e[y+1]=hd(e[y+1],r),y=r;I&&(e[r+1]=fd(e[r+1])),ng(e,x,r,!0),ng(e,x,r,!1),function bD(e,t,n,r,i){const o=i?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof t&&dn(o,t)>=0&&(n[r+1]=pd(n[r+1]))}(t,x,e,r,o),u=Hu(m,y),o?t.classBindings=u:t.styleBindings=u}(i,o,t,n,u,r)}}function qd(e,t,n,r,i){let o=null;const u=n.directiveEnd;let m=n.directiveStylingLast;for(-1===m?m=n.directiveStart:m++;m<u&&(o=t[m],r=uu(r,o.hostAttrs,i),o!==e);)m++;return null!==e&&(n.directiveStylingLast=m),r}function uu(e,t,n){const r=n?1:2;let i=-1;if(null!==t)for(let o=0;o<t.length;o++){const u=t[o];"number"==typeof u?i=u:i===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Bt(e,u,!!n||t[++o]))}return void 0===e?null:e}function hg(e,t,n,r,i,o,u,m){if(!(3&t.type))return;const y=e.data,I=y[m+1];tc(function Jh(e){return 1==(1&e)}(I)?pg(y,t,n,i,aa(I),u):void 0)||(tc(o)||function Qh(e){return 2==(2&e)}(I)&&(o=pg(y,null,n,i,m,u)),function L_(e,t,n,r,i){if(t)i?e.addClass(n,r):e.removeClass(n,r);else{let o=-1===r.indexOf("-")?void 0:Fs.DashCase;null==i?e.removeStyle(n,r,o):("string"==typeof i&&i.endsWith("!important")&&(i=i.slice(0,-10),o|=Fs.Important),e.setStyle(n,r,i,o))}}(r,u,Si(tr(),n),i,o))}function pg(e,t,n,r,i,o){const u=null===t;let m;for(;i>0;){const y=e[i],I=Array.isArray(y),x=I?y[1]:y,H=null===x;let ce=n[i+1];ce===cn&&(ce=H?_t:void 0);let Te=H?Dt(ce,r):x===r?ce:void 0;if(I&&!tc(Te)&&(Te=Dt(y,r)),tc(Te)&&(m=Te,u))return m;const Ye=e[i+1];i=u?us(Ye):aa(Ye)}if(null!==t){let y=o?t.residualClasses:t.residualStyles;null!=y&&(m=Dt(y,r))}return m}function tc(e){return void 0!==e}function gg(e,t){return 0!=(e.flags&(t?16:32))}function mg(e,t=""){const n=Ze(),r=Wt(),i=e+22,o=r.firstCreatePass?Cl(r,i,1,t,null):r.data[i],u=n[i]=function ed(e,t){return e.createText(t)}(n[11],t);Bu(r,n,u,o),M(o,!1)}function Qd(e){return nc("",e,""),Qd}function nc(e,t,n){const r=Ze(),i=Al(r,e,t,n);return i!==cn&&la(r,tr(),i),nc}function Jd(e,t,n,r,i){const o=Ze(),u=Tl(o,e,t,n,r,i);return u!==cn&&la(o,tr(),u),Jd}function wg(e,t,n){ds(Bt,Vs,Al(Ze(),e,t,n),!0)}function Xd(e,t,n){const r=Ze();return Di(r,_o(),t)&&ao(Wt(),zt(),r,e,t,r[11],n,!0),Xd}function ef(e,t,n){const r=Ze();if(Di(r,_o(),t)){const o=Wt(),u=zt();ao(o,u,r,e,t,wp(vo(o.data),u,r),n,!0)}return ef}const tl=void 0;var r0=["en",[["a","p"],["AM","PM"],tl],[["AM","PM"],tl,tl],[["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"]],tl,[["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"]],tl,[["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}",tl,"{1} 'at' {0}",tl],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function n0(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let Nl={};function tf(e){const t=function o0(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Fg(t);if(n)return n;const r=t.split("-")[0];if(n=Fg(r),n)return n;if("en"===r)return r0;throw new Pe(701,!1)}function Ng(e){return tf(e)[Jt.PluralCase]}function Fg(e){return e in Nl||(Nl[e]=Me.ng&&Me.ng.common&&Me.ng.common.locales&&Me.ng.common.locales[e]),Nl[e]}var Jt=(()=>((Jt=Jt||{})[Jt.LocaleId=0]="LocaleId",Jt[Jt.DayPeriodsFormat=1]="DayPeriodsFormat",Jt[Jt.DayPeriodsStandalone=2]="DayPeriodsStandalone",Jt[Jt.DaysFormat=3]="DaysFormat",Jt[Jt.DaysStandalone=4]="DaysStandalone",Jt[Jt.MonthsFormat=5]="MonthsFormat",Jt[Jt.MonthsStandalone=6]="MonthsStandalone",Jt[Jt.Eras=7]="Eras",Jt[Jt.FirstDayOfWeek=8]="FirstDayOfWeek",Jt[Jt.WeekendRange=9]="WeekendRange",Jt[Jt.DateFormat=10]="DateFormat",Jt[Jt.TimeFormat=11]="TimeFormat",Jt[Jt.DateTimeFormat=12]="DateTimeFormat",Jt[Jt.NumberSymbols=13]="NumberSymbols",Jt[Jt.NumberFormats=14]="NumberFormats",Jt[Jt.CurrencyCode=15]="CurrencyCode",Jt[Jt.CurrencySymbol=16]="CurrencySymbol",Jt[Jt.CurrencyName=17]="CurrencyName",Jt[Jt.Currencies=18]="Currencies",Jt[Jt.Directionality=19]="Directionality",Jt[Jt.PluralCase=20]="PluralCase",Jt[Jt.ExtraData=21]="ExtraData",Jt))();const Fl="en-US";let kg=Fl;function sf(e,t,n,r,i){if(e=ae(e),Array.isArray(e))for(let o=0;o<e.length;o++)sf(e[o],t,n,r,i);else{const o=Wt(),u=Ze();let m=oi(e)?e:ae(e.provide),y=wr(e);const I=jn(),x=1048575&I.providerIndexes,H=I.directiveStart,ce=I.providerIndexes>>20;if(oi(e)||!e.multi){const Te=new qo(y,i,El),Ye=lf(m,t,i?x:x+ce,H);-1===Ye?(xi(ri(I,u),o,m),af(o,e,t.length),t.push(m),I.directiveStart++,I.directiveEnd++,i&&(I.providerIndexes+=1048576),n.push(Te),u.push(Te)):(n[Ye]=Te,u[Ye]=Te)}else{const Te=lf(m,t,x+ce,H),Ye=lf(m,t,x,x+ce),ot=Te>=0&&n[Te],mt=Ye>=0&&n[Ye];if(i&&!mt||!i&&!ot){xi(ri(I,u),o,m);const wt=function nE(e,t,n,r,i){const o=new qo(e,n,El);return o.multi=[],o.index=t,o.componentProviders=0,am(o,i,r&&!n),o}(i?tE:eE,n.length,i,r,y);!i&&mt&&(n[Ye].providerFactory=wt),af(o,e,t.length,0),t.push(m),I.directiveStart++,I.directiveEnd++,i&&(I.providerIndexes+=1048576),n.push(wt),u.push(wt)}else af(o,e,Te>-1?Te:Ye,am(n[i?Ye:Te],y,!i&&r));!i&&r&&mt&&n[Ye].componentProviders++}}}function af(e,t,n,r){const i=oi(t),o=function ss(e){return!!e.useClass}(t);if(i||o){const y=(o?ae(t.useClass):t).prototype.ngOnDestroy;if(y){const I=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){const x=I.indexOf(n);-1===x?I.push(n,[r,y]):I[x+1].push(r,y)}else I.push(n,y)}}}function am(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function lf(e,t,n,r){for(let i=n;i<r;i++)if(t[i]===e)return i;return-1}function eE(e,t,n,r){return uf(this.multi,[])}function tE(e,t,n,r){const i=this.multi;let o;if(this.providerFactory){const u=this.providerFactory.componentProviders,m=Oo(n,n[1],this.providerFactory.index,r);o=m.slice(0,u),uf(i,o);for(let y=u;y<m.length;y++)o.push(m[y])}else o=[],uf(i,o);return o}function uf(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function lm(e,t=[]){return n=>{n.providersResolver=(r,i)=>function X0(e,t,n){const r=Wt();if(r.firstCreatePass){const i=ur(e);sf(n,r.data,r.blueprint,i,!0),sf(t,r.data,r.blueprint,i,!1)}}(r,i?i(e):e,t)}}class Ll{}class um{}function rE(e,t){return new cm(e,t??null)}class cm extends Ll{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Nd(this);const r=Pt(t);this._bootstrapComponents=sa(r.bootstrap),this._r3Injector=jh(t,n,[{provide:Ll,useValue:this},{provide:Jl,useValue:this.componentFactoryResolver}],Z(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 cf extends um{constructor(t){super(),this.moduleType=t}create(t){return new cm(this.moduleType,t)}}class iE extends Ll{constructor(t,n,r){super(),this.componentFactoryResolver=new Nd(this),this.instance=null;const i=new Tt([...t,{provide:Ll,useValue:this},{provide:Jl,useValue:this.componentFactoryResolver}],n||Ya(),r,new Set(["environment"]));this.injector=i,i.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function df(e,t,n=null){return new iE(e,t,n).injector}function ym(e,t,n){const r=On()+e,i=Ze();return i[r]===cn?Ls(i,r,n?t.call(n):t()):lu(i,r)}function _m(e,t,n,r){return bm(Ze(),On(),e,t,n,r)}function vm(e,t,n,r,i){return wm(Ze(),On(),e,t,n,r,i)}function Dm(e,t,n,r,i,o){return Am(Ze(),On(),e,t,n,r,i,o)}function Em(e,t,n,r,i,o,u){return Tm(Ze(),On(),e,t,n,r,i,o,u)}function Cm(e,t,n,r,i,o,u,m){const y=On()+e,I=Ze(),x=Bo(I,y,n,r,i,o);return Di(I,y+4,u)||x?Ls(I,y+5,m?t.call(m,n,r,i,o,u):t(n,r,i,o,u)):lu(I,y+5)}function pu(e,t){const n=e[t];return n===cn?void 0:n}function bm(e,t,n,r,i,o){const u=t+n;return Di(e,u,i)?Ls(e,u+1,o?r.call(o,i):r(i)):pu(e,u+1)}function wm(e,t,n,r,i,o,u){const m=t+n;return el(e,m,i,o)?Ls(e,m+2,u?r.call(u,i,o):r(i,o)):pu(e,m+2)}function Am(e,t,n,r,i,o,u,m){const y=t+n;return function qu(e,t,n,r,i){const o=el(e,t,n,r);return Di(e,t+2,i)||o}(e,y,i,o,u)?Ls(e,y+3,m?r.call(m,i,o,u):r(i,o,u)):pu(e,y+3)}function Tm(e,t,n,r,i,o,u,m,y){const I=t+n;return Bo(e,I,i,o,u,m)?Ls(e,I+4,y?r.call(y,i,o,u,m):r(i,o,u,m)):pu(e,I+4)}function Sm(e,t){const n=Wt();let r;const i=e+22;n.firstCreatePass?(r=function vE(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[i]=r,r.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(i,r.onDestroy)):r=n.data[i];const o=r.factory||(r.factory=Ir(r.type)),u=Tn(El);try{const m=Xo(!1),y=o();return Xo(m),function yD(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,Ze(),i,y),y}finally{Tn(u)}}function Im(e,t,n){const r=e+22,i=Ze(),o=_r(i,r);return gu(i,r)?bm(i,On(),t,o.transform,n,o):o.transform(n)}function Om(e,t,n,r){const i=e+22,o=Ze(),u=_r(o,i);return gu(o,i)?wm(o,On(),t,u.transform,n,r,u):u.transform(n,r)}function Pm(e,t,n,r,i){const o=e+22,u=Ze(),m=_r(u,o);return gu(u,o)?Am(u,On(),t,m.transform,n,r,i,m):m.transform(n,r,i)}function xm(e,t,n,r,i,o){const u=e+22,m=Ze(),y=_r(m,u);return gu(m,u)?Tm(m,On(),t,y.transform,n,r,i,o,y):y.transform(n,r,i,o)}function gu(e,t){return e[1].data[t].pure}function hf(e){return t=>{setTimeout(e,void 0,t)}}const Us=class EE extends l.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let i=t,o=n||(()=>null),u=r;if(t&&"object"==typeof t){const y=t;i=y.next?.bind(y),o=y.error?.bind(y),u=y.complete?.bind(y)}this.__isAsync&&(o=hf(o),i&&(i=hf(i)),u&&(u=hf(u)));const m=super.subscribe({next:i,error:o,complete:u});return t instanceof d.w0&&t.add(m),m}};function CE(){return this._results[Xa()]()}class ac{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=Xa(),r=ac.prototype;r[n]||(r[n]=CE)}get changes(){return this._changes||(this._changes=new Us)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){const r=this;r.dirty=!1;const i=$r(t);(this._changesDetected=!function Is(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let i=e[r],o=t[r];if(n&&(i=n(i),o=n(o)),o!==i)return!1}return!0}(r._results,i,n))&&(r._results=i,r.length=i.length,r.last=i[this.length-1],r.first=i[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}let mu=(()=>{class e{}return e.__NG_ELEMENT_ID__=AE,e})();const bE=mu,wE=class extends bE{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t,n){const r=this._declarationTContainer.tViews,i=Gu(this._declarationLView,r,t,16,null,r.declTNode,null,null,null,null,n||null);i[17]=this._declarationLView[this._declarationTContainer.index];const u=this._declarationLView[19];return null!==u&&(i[19]=u.createEmbeddedView(r)),zu(r,i,t),new ou(i)}};function AE(){return lc(jn(),Ze())}function lc(e,t){return 4&e.type?new wE(t,e,yl(e,t)):null}let uc=(()=>{class e{}return e.__NG_ELEMENT_ID__=TE,e})();function TE(){return Fm(jn(),Ze())}const ME=uc,Rm=class extends ME{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return yl(this._hostTNode,this._hostLView)}get injector(){return new Ri(this._hostTNode,this._hostLView)}get parentInjector(){const t=So(this._hostTNode,this._hostLView);if(pa(t)){const n=Qn(t,this._hostLView),r=To(t);return new Ri(n[1].data[r+8],n)}return new Ri(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Nm(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){let i,o;"number"==typeof r?i=r:null!=r&&(i=r.index,o=r.injector);const u=t.createEmbeddedView(n||{},o);return this.insert(u,i),u}createComponent(t,n,r,i,o){const u=t&&!function jr(e){return"function"==typeof e}(t);let m;if(u)m=n;else{const H=n||{};m=H.index,r=H.injector,i=H.projectableNodes,o=H.environmentInjector||H.ngModuleRef}const y=u?t:new su(Re(t)),I=r||this.parentInjector;if(!o&&null==y.ngModule){const ce=(u?I:this.parentInjector).get(xs,null);ce&&(o=ce)}const x=y.create(I,i,void 0,o);return this.insert(x.hostView,m),x}insert(t,n){const r=t._lView,i=r[1];if(function A(e){return er(e[3])}(r)){const x=this.indexOf(t);if(-1!==x)this.detach(x);else{const H=r[3],ce=new Rm(H,H[6],H[3]);ce.detach(ce.indexOf(t))}}const o=this._adjustIndex(n),u=this._lContainer;!function I_(e,t,n,r){const i=10+r,o=n.length;r>0&&(n[i-1][4]=t),r<o-10?(t[4]=n[i],g(n,10+r,t)):(n.push(t),t[4]=null),t[3]=n;const u=t[17];null!==u&&n!==u&&function O_(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(u,t);const m=t[19];null!==m&&m.insertView(e),t[2]|=64}(i,r,u,o);const m=od(o,u),y=r[11],I=Lu(y,u[7]);return null!==I&&function T_(e,t,n,r,i,o){r[0]=i,r[6]=t,ru(e,r,n,1,i,o)}(i,u[6],y,r,I,m),t.attachToViewContainerRef(),g(pf(u),o,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=Nm(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=nd(this._lContainer,n);r&&(c(pf(this._lContainer),n),_h(r[1],r))}detach(t){const n=this._adjustIndex(t,-1),r=nd(this._lContainer,n);return r&&null!=c(pf(this._lContainer),n)?new ou(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Nm(e){return e[8]}function pf(e){return e[8]||(e[8]=[])}function Fm(e,t){let n;const r=t[e.index];if(er(r))n=r;else{let i;if(8&e.type)i=Mn(r);else{const o=t[11];i=o.createComment("");const u=hr(e,t);Qa(o,Lu(o,u),i,function N_(e,t){return e.nextSibling(t)}(o,u),!1)}t[e.index]=n=vp(r,t,i,e),Wu(t,n)}return new Rm(n,e,t)}class gf{constructor(t){this.queryList=t,this.matches=null}clone(){return new gf(this.queryList)}setDirty(){this.queryList.setDirty()}}class mf{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,i=[];for(let o=0;o<r;o++){const u=n.getByIndex(o);i.push(this.queries[u.indexInDeclarationView].clone())}return new mf(i)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==Gm(t,n).matches&&this.queries[n].setDirty()}}class km{constructor(t,n,r=null){this.predicate=t,this.flags=n,this.read=r}}class yf{constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){const i=null!==n?n.length:0,o=this.getByIndex(r).embeddedTView(t,i);o&&(o.indexInDeclarationView=r,null!==n?n.push(o):n=[o])}return null!==n?new yf(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 _f{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 _f(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const n=this._declarationNodeIndex;let r=t.parent;for(;null!==r&&8&r.type&&r.index!==n;)r=r.parent;return n===(null!==r?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const r=this.metadata.predicate;if(Array.isArray(r))for(let i=0;i<r.length;i++){const o=r[i];this.matchTNodeWithReadOption(t,n,OE(n,o)),this.matchTNodeWithReadOption(t,n,Yn(n,t,o,!1,!1))}else r===mu?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Yn(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const i=this.metadata.read;if(null!==i)if(i===Xl||i===uc||i===mu&&4&n.type)this.addMatch(n.index,-2);else{const o=Yn(n,t,i,!1,!1);null!==o&&this.addMatch(n.index,o)}else this.addMatch(n.index,r)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function OE(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 xE(e,t,n,r){return-1===n?function PE(e,t){return 11&e.type?yl(e,t):4&e.type?lc(e,t):null}(t,e):-2===n?function RE(e,t,n){return n===Xl?yl(t,e):n===mu?lc(t,e):n===uc?Fm(t,e):void 0}(e,t,r):Oo(e,e[1],n,t)}function Lm(e,t,n,r){const i=t[19].queries[r];if(null===i.matches){const o=e.data,u=n.matches,m=[];for(let y=0;y<u.length;y+=2){const I=u[y];m.push(I<0?null:xE(t,o[I],u[y+1],n.metadata.read))}i.matches=m}return i.matches}function vf(e,t,n,r){const i=e.queries.getByIndex(n),o=i.matches;if(null!==o){const u=Lm(e,t,i,n);for(let m=0;m<o.length;m+=2){const y=o[m];if(y>0)r.push(u[m/2]);else{const I=o[m+1],x=t[-y];for(let H=10;H<x.length;H++){const ce=x[H];ce[17]===ce[3]&&vf(ce[1],ce,I,r)}if(null!==x[9]){const H=x[9];for(let ce=0;ce<H.length;ce++){const Te=H[ce];vf(Te[1],Te,I,r)}}}}}return r}function Bm(e){const t=Ze(),n=Wt(),r=Go();Do(r+1);const i=Gm(n,r);if(e.dirty&&C(t)===(2==(2&i.metadata.flags))){if(null===i.matches)e.reset([]);else{const o=i.crossesNgTemplate?vf(n,t,r,[]):Lm(n,t,i,r);e.reset(o,Gy),e.notifyOnChanges()}return!0}return!1}function Vm(e,t,n){const r=Wt();r.firstCreatePass&&($m(r,new km(e,t,n),-1),2==(2&t)&&(r.staticViewQueries=!0)),jm(r,Ze(),t)}function Um(e,t,n,r){const i=Wt();if(i.firstCreatePass){const o=jn();$m(i,new km(t,n,r),o.index),function FE(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(i,e),2==(2&n)&&(i.staticContentQueries=!0)}jm(i,Ze(),n)}function Hm(){return function NE(e,t){return e[19].queries[t].queryList}(Ze(),Go())}function jm(e,t,n){const r=new ac(4==(4&n));cp(e,t,r,r.destroy),null===t[19]&&(t[19]=new mf),t[19].queries.push(new gf(r))}function $m(e,t,n){null===e.queries&&(e.queries=new yf),e.queries.track(new _f(t,n))}function Gm(e,t){return e.queries.getByIndex(t)}function zm(e,t){return lc(e,t)}function Vl(e){const t=Re(e)||De(e)||ct(e);return null!==t&&t.standalone}const tC=Ni("Input",e=>({bindingPropertyName:e})),nC=Ni("Output",e=>({bindingPropertyName:e})),rC=Ni("HostListener",(e,t)=>({eventName:e,args:t}));function dc(...e){}const cy=new pn("Application Initializer");let fc=(()=>{class e{constructor(n){this.appInits=n,this.resolve=dc,this.reject=dc,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,i)=>{this.resolve=r,this.reject=i})}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let i=0;i<this.appInits.length;i++){const o=this.appInits[i]();if($d(o))n.push(o);else if(Hp(o)){const u=new Promise((m,y)=>{o.subscribe({complete:m,error:y})});n.push(u)}}Promise.all(n).then(()=>{r()}).catch(i=>{this.reject(i)}),0===n.length&&r(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(rr(cy,8))},e.\u0275prov=he({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const dy=new pn("AppId",{providedIn:"root",factory:function fy(){return`${wf()}${wf()}${wf()}`}});function wf(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const hy=new pn("Platform Initializer"),iC=new pn("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),py=new pn("appBootstrapListener"),oC=new pn("AnimationModuleType");let sC=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=he({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const hc=new pn("LocaleId",{providedIn:"root",factory:()=>va(hc,yt.Optional|yt.SkipSelf)||function aC(){return typeof $localize<"u"&&$localize.locale||Fl}()}),lC=new pn("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class uC{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let cC=(()=>{class e{compileModuleSync(n){return new cf(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),o=sa(Pt(n).declarations).reduce((u,m)=>{const y=Re(m);return y&&u.push(new su(y)),u},[]);return new uC(r,o)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=he({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const hC=(()=>Promise.resolve(0))();function Af(e){typeof Zone>"u"?hC.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class lo{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Us(!1),this.onMicrotaskEmpty=new Us(!1),this.onStable=new Us(!1),this.onError=new Us(!1),typeof Zone>"u")throw new Pe(908,!1);Zone.assertZonePatched();const i=this;if(i._nesting=0,i._outer=i._inner=Zone.current,Zone.AsyncStackTaggingZoneSpec){const o=Zone.AsyncStackTaggingZoneSpec;i._inner=i._inner.fork(new o("Angular"))}Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!r&&n,i.shouldCoalesceRunChangeDetection=r,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function pC(){let e=Me.requestAnimationFrame,t=Me.cancelAnimationFrame;if(typeof Zone<"u"&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function yC(e){const t=()=>{!function mC(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Me,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Mf(e),e.isCheckStableRunning=!0,Tf(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Mf(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,i,o,u,m)=>{try{return yy(e),n.invokeTask(i,o,u,m)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||e.shouldCoalesceRunChangeDetection)&&t(),_y(e)}},onInvoke:(n,r,i,o,u,m,y)=>{try{return yy(e),n.invoke(i,o,u,m,y)}finally{e.shouldCoalesceRunChangeDetection&&t(),_y(e)}},onHasTask:(n,r,i,o)=>{n.hasTask(i,o),r===i&&("microTask"==o.change?(e._hasPendingMicrotasks=o.microTask,Mf(e),Tf(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(n,r,i,o)=>(n.handleError(i,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}(i)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!lo.isInAngularZone())throw new Pe(909,!1)}static assertNotInAngularZone(){if(lo.isInAngularZone())throw new Pe(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,i){const o=this._inner,u=o.scheduleEventTask("NgZoneEvent: "+i,t,gC,dc,dc);try{return o.runTask(u,n,r)}finally{o.cancelTask(u)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const gC={};function Tf(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 Mf(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function yy(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function _y(e){e._nesting--,Tf(e)}class _C{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Us,this.onMicrotaskEmpty=new Us,this.onStable=new Us,this.onError=new Us}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,i){return t.apply(n,r)}}const vy=new pn(""),Dy=new pn("");let Sf,vC=(()=>{class e{constructor(n,r,i){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Sf||(function DC(e){Sf=e}(i),i.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{lo.assertNotInAngularZone(),Af(()=>{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())Af(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,i){let o=-1;r&&r>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(u=>u.timeoutId!==o),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:o,updateCb:i})}whenStable(n,r,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,i){return[]}}return e.\u0275fac=function(n){return new(n||e)(rr(lo),rr(Ey),rr(Dy))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})(),Ey=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return Sf?.findTestabilityInTree(this,n,r)??null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=he({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})(),Sa=null;const Cy=new pn("AllowMultipleToken"),If=new pn("PlatformDestroyListeners");class bC{constructor(t,n){this.name=t,this.token=n}}function wy(e,t,n=[]){const r=`Platform: ${t}`,i=new pn(r);return(o=[])=>{let u=Of();if(!u||u.injector.get(Cy,!1)){const m=[...n,...o,{provide:i,useValue:!0}];e?e(m):function wC(e){if(Sa&&!Sa.get(Cy,!1))throw new Pe(400,!1);Sa=e;const t=e.get(Ty);(function by(e){const t=e.get(hy,null);t&&t.forEach(n=>n())})(e)}(function Ay(e=[],t){return Ja.create({name:t,providers:[{provide:so,useValue:"platform"},{provide:If,useValue:new Set([()=>Sa=null])},...e]})}(m,r))}return function TC(e){const t=Of();if(!t)throw new Pe(401,!1);return t}()}}function Of(){return Sa?.get(Ty)??null}let Ty=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const i=function MC(e,t){let n;return n="noop"===e?new _C:("zone.js"===e?void 0:e)||new lo(t),n}(r?.ngZone,function My(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(r)),o=[{provide:lo,useValue:i}];return i.run(()=>{const u=Ja.create({providers:o,parent:this.injector,name:n.moduleType.name}),m=n.create(u),y=m.injector.get(eu,null);if(!y)throw new Pe(402,!1);return i.runOutsideAngular(()=>{const I=i.onError.subscribe({next:x=>{y.handleError(x)}});m.onDestroy(()=>{gc(this._modules,m),I.unsubscribe()})}),function Sy(e,t,n){try{const r=n();return $d(r)?r.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(y,i,()=>{const I=m.injector.get(fc);return I.runInitializers(),I.donePromise.then(()=>(function Lg(e){kt(e,"Expected localeId to be defined"),"string"==typeof e&&(kg=e.toLowerCase().replace(/_/g,"-"))}(m.injector.get(hc,Fl)||Fl),this._moduleDoBootstrap(m),m))})})}bootstrapModule(n,r=[]){const i=Iy({},r);return function EC(e,t,n){const r=new cf(n);return Promise.resolve(r)}(0,0,n).then(o=>this.bootstrapModuleFactory(o,i))}_moduleDoBootstrap(n){const r=n.injector.get(pc);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(i=>r.bootstrap(i));else{if(!n.instance.ngDoBootstrap)throw new Pe(403,!1);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Pe(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(If,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(rr(Ja))},e.\u0275prov=he({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function Iy(e,t){return Array.isArray(t)?t.reduce(Iy,e):{...e,...t}}let pc=(()=>{class e{constructor(n,r,i){this._zone=n,this._injector=r,this._exceptionHandler=i,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const o=new B.y(m=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{m.next(this._stable),m.complete()})}),u=new B.y(m=>{let y;this._zone.runOutsideAngular(()=>{y=this._zone.onStable.subscribe(()=>{lo.assertNotInAngularZone(),Af(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,m.next(!0))})})});const I=this._zone.onUnstable.subscribe(()=>{lo.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{m.next(!1)}))});return()=>{y.unsubscribe(),I.unsubscribe()}});this.isStable=(0,J.T)(o,u.pipe((0,V.B)()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const i=n instanceof Ns;if(!this._injector.get(fc).done)throw!i&&Vl(n),new Pe(405,false);let u;u=i?n:this._injector.get(Jl).resolveComponentFactory(n),this.componentTypes.push(u.componentType);const m=function CC(e){return e.isBoundToModule}(u)?void 0:this._injector.get(Ll),I=u.create(Ja.NULL,[],r||u.selector,m),x=I.location.nativeElement,H=I.injector.get(vy,null);return H?.registerApplication(x),I.onDestroy(()=>{this.detachView(I.hostView),gc(this.components,I),H?.unregisterApplication(x)}),this._loadComponent(I),I}tick(){if(this._runningTick)throw new Pe(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;gc(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(py,[]).concat(this._bootstrapListeners).forEach(i=>i(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>gc(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new Pe(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(n){return new(n||e)(rr(lo),rr(xs),rr(eu))},e.\u0275prov=he({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function gc(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let Py=!0,xy=!1;function IC(){return xy=!0,Py}function OC(){if(xy)throw new Error("Cannot enable prod mode after platform setup.");Py=!1}let PC=(()=>{class e{}return e.__NG_ELEMENT_ID__=xC,e})();function xC(e){return function RC(e,t,n){if(ji(e)&&!n){const r=Zn(e.index,t);return new ou(r,r)}return 47&e.type?new ou(t[16],t):null}(jn(),Ze(),16==(16&e))}class ky{constructor(){}supports(t){return au(t)}create(t){return new VC(t)}}const BC=(e,t)=>t;class VC{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||BC}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,i=0,o=null;for(;n||r;){const u=!r||n&&n.currentIndex<By(r,i,o)?n:r,m=By(u,i,o),y=u.currentIndex;if(u===r)i--,r=r._nextRemoved;else if(n=n._next,null==u.previousIndex)i++;else{o||(o=[]);const I=m-i,x=y-i;if(I!=x){for(let ce=0;ce<I;ce++){const Te=ce<o.length?o[ce]:o[ce]=0,Ye=Te+ce;x<=Ye&&Ye<I&&(o[ce]=Te+1)}o[u.previousIndex]=x-I}}m!==y&&t(u,m,y)}}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=[]),!au(t))throw new Pe(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let i,o,u,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let m=0;m<this.length;m++)o=t[m],u=this._trackByFn(m,o),null!==n&&Object.is(n.trackById,u)?(r&&(n=this._verifyReinsertion(n,o,u,m)),Object.is(n.item,o)||this._addIdentityChange(n,o)):(n=this._mismatch(n,o,u,m),r=!0),n=n._next}else i=0,function fD(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Xa()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,m=>{u=this._trackByFn(i,m),null!==n&&Object.is(n.trackById,u)?(r&&(n=this._verifyReinsertion(n,m,u,i)),Object.is(n.item,m)||this._addIdentityChange(n,m)):(n=this._mismatch(n,m,u,i),r=!0),n=n._next,i++}),this.length=i;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,i){let o;return null===t?o=this._itTail:(o=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,o,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,i))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,o,i)):t=this._addAfter(new UC(n,r),o,i),t}_verifyReinsertion(t,n,r,i){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==o?t=this._reinsertAfter(o,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const i=t._prevRemoved,o=t._nextRemoved;return null===i?this._removalsHead=o:i._nextRemoved=o,null===o?this._removalsTail=i:o._prevRemoved=i,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const i=null===n?this._itHead:n._next;return t._next=i,t._prev=n,null===i?this._itTail=t:i._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new Ly),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 Ly),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 UC{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 HC{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 Ly{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new HC,this.map.set(n,r)),r.add(t)}get(t,n){const i=this.map.get(t);return i?i.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function By(e,t,n){const r=e.previousIndex;if(null===r)return r;let i=0;return n&&r<n.length&&(i=n[r]),r+t+i}class Vy{constructor(){}supports(t){return t instanceof Map||Ld(t)}create(){return new jC}}class jC{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||Ld(t)))throw new Pe(900,!1)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,i)=>{if(n&&n.key===i)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const o=this._getOrCreateRecordForKey(i,r);n=this._insertBeforeOrAppend(n,o)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const i=this._records.get(t);this._maybeAddToChanges(i,n);const o=i._prev,u=i._next;return o&&(o._next=u),u&&(u._prev=o),i._next=null,i._prev=null,i}const r=new $C(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 $C{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 Uy(){return new Ff([new ky])}let Ff=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(null!=r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Uy()),deps:[[e,new Ct,new Ie]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(null!=r)return r;throw new Pe(901,!1)}}return e.\u0275prov=he({token:e,providedIn:"root",factory:Uy}),e})();function Hy(){return new kf([new Vy])}let kf=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Hy()),deps:[[e,new Ct,new Ie]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(r)return r;throw new Pe(901,!1)}}return e.\u0275prov=he({token:e,providedIn:"root",factory:Hy}),e})();const WC=wy(null,"core",[]);let KC=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(rr(pc))},e.\u0275mod=Vt({type:e}),e.\u0275inj=at({}),e})();function ZC(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}},4006:(tt,me,S)=>{S.d(me,{Cf:()=>le,EJ:()=>hi,F:()=>Tr,Fj:()=>xe,JJ:()=>nn,JL:()=>Ln,JU:()=>Z,Kr:()=>Br,On:()=>Xi,Q7:()=>_r,UX:()=>yn,Wl:()=>L,YN:()=>Wi,_Y:()=>fo,a5:()=>Dn,gN:()=>an,kI:()=>Se,nD:()=>Ne,oH:()=>po,p4:()=>Ci,sg:()=>ei,u5:()=>zn,wV:()=>cr});var l=S(4650),d=S(6895),B=S(8996),J=S(4128),V=S(4004);let X=(()=>{class M{constructor(D,k){this._renderer=D,this._elementRef=k,this.onChange=ke=>{},this.onTouched=()=>{}}setProperty(D,k){this._renderer.setProperty(this._elementRef.nativeElement,D,k)}registerOnTouched(D){this.onTouched=D}registerOnChange(D){this.onChange=D}setDisabledState(D){this.setProperty("disabled",D)}}return M.\u0275fac=function(D){return new(D||M)(l.Y36(l.Qsj),l.Y36(l.SBq))},M.\u0275dir=l.lG2({type:M}),M})(),G=(()=>{class M extends X{}return M.\u0275fac=function(){let E;return function(k){return(E||(E=l.n5z(M)))(k||M)}}(),M.\u0275dir=l.lG2({type:M,features:[l.qOj]}),M})();const Z=new l.OlP("NgValueAccessor"),Y={provide:Z,useExisting:(0,l.Gpc)(()=>L),multi:!0};let L=(()=>{class M extends G{writeValue(D){this.setProperty("checked",D)}}return M.\u0275fac=function(){let E;return function(k){return(E||(E=l.n5z(M)))(k||M)}}(),M.\u0275dir=l.lG2({type:M,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(D,k){1&D&&l.NdJ("change",function(Rt){return k.onChange(Rt.target.checked)})("blur",function(){return k.onTouched()})},features:[l._Bn([Y]),l.qOj]}),M})();const z={provide:Z,useExisting:(0,l.Gpc)(()=>xe),multi:!0},Be=new l.OlP("CompositionEventMode");let xe=(()=>{class M extends X{constructor(D,k,ke){super(D,k),this._compositionMode=ke,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function ae(){const M=(0,d.q)()?(0,d.q)().getUserAgent():"";return/android (\d+)/.test(M.toLowerCase())}())}writeValue(D){this.setProperty("value",D??"")}_handleInput(D){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(D)}_compositionStart(){this._composing=!0}_compositionEnd(D){this._composing=!1,this._compositionMode&&this.onChange(D)}}return M.\u0275fac=function(D){return new(D||M)(l.Y36(l.Qsj),l.Y36(l.SBq),l.Y36(Be,8))},M.\u0275dir=l.lG2({type:M,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(D,k){1&D&&l.NdJ("input",function(Rt){return k._handleInput(Rt.target.value)})("blur",function(){return k.onTouched()})("compositionstart",function(){return k._compositionStart()})("compositionend",function(Rt){return k._compositionEnd(Rt.target.value)})},features:[l._Bn([z]),l.qOj]}),M})();function $e(M){return null==M||("string"==typeof M||Array.isArray(M))&&0===M.length}function be(M){return null!=M&&"number"==typeof M.length}const le=new l.OlP("NgValidators"),Ge=new l.OlP("NgAsyncValidators"),rt=/^(?=.{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 Se{static min(E){return function ue(M){return E=>{if($e(E.value)||$e(M))return null;const D=parseFloat(E.value);return!isNaN(D)&&D<M?{min:{min:M,actual:E.value}}:null}}(E)}static max(E){return function we(M){return E=>{if($e(E.value)||$e(M))return null;const D=parseFloat(E.value);return!isNaN(D)&&D>M?{max:{max:M,actual:E.value}}:null}}(E)}static required(E){return ze(E)}static requiredTrue(E){return function Ke(M){return!0===M.value?null:{required:!0}}(E)}static email(E){return function Ce(M){return $e(M.value)||rt.test(M.value)?null:{email:!0}}(E)}static minLength(E){return function Ee(M){return E=>$e(E.value)||!be(E.value)?null:E.value.length<M?{minlength:{requiredLength:M,actualLength:E.value.length}}:null}(E)}static maxLength(E){return ee(E)}static pattern(E){return function fe(M){if(!M)return Ae;let E,D;return"string"==typeof M?(D="","^"!==M.charAt(0)&&(D+="^"),D+=M,"$"!==M.charAt(M.length-1)&&(D+="$"),E=new RegExp(D)):(D=M.toString(),E=M),k=>{if($e(k.value))return null;const ke=k.value;return E.test(ke)?null:{pattern:{requiredPattern:D,actualValue:ke}}}}(E)}static nullValidator(E){return null}static compose(E){return dt(E)}static composeAsync(E){return We(E)}}function ze(M){return $e(M.value)?{required:!0}:null}function ee(M){return E=>be(E.value)&&E.value.length>M?{maxlength:{requiredLength:M,actualLength:E.value.length}}:null}function Ae(M){return null}function ve(M){return null!=M}function Ue(M){return(0,l.QGY)(M)?(0,B.D)(M):M}function Je(M){let E={};return M.forEach(D=>{E=null!=D?{...E,...D}:E}),0===Object.keys(E).length?null:E}function gt(M,E){return E.map(D=>D(M))}function kt(M){return M.map(E=>function Mt(M){return!M.validate}(E)?E:D=>E.validate(D))}function dt(M){if(!M)return null;const E=M.filter(ve);return 0==E.length?null:function(D){return Je(gt(D,E))}}function hn(M){return null!=M?dt(kt(M)):null}function We(M){if(!M)return null;const E=M.filter(ve);return 0==E.length?null:function(D){const k=gt(D,E).map(Ue);return(0,J.D)(k).pipe((0,V.U)(Je))}}function Qe(M){return null!=M?We(kt(M)):null}function he(M,E){return null===M?[E]:Array.isArray(M)?[...M,E]:[M,E]}function ye(M){return M._rawValidators}function at(M){return M._rawAsyncValidators}function Ot(M){return M?Array.isArray(M)?M:[M]:[]}function xn(M,E){return Array.isArray(M)?M.includes(E):M===E}function Rn(M,E){const D=Ot(E);return Ot(M).forEach(ke=>{xn(D,ke)||D.push(ke)}),D}function mn(M,E){return Ot(E).filter(D=>!xn(M,D))}class sr{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(E){this._rawValidators=E||[],this._composedValidatorFn=hn(this._rawValidators)}_setAsyncValidators(E){this._rawAsyncValidators=E||[],this._composedAsyncValidatorFn=Qe(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(E){this._onDestroyCallbacks.push(E)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(E=>E()),this._onDestroyCallbacks=[]}reset(E){this.control&&this.control.reset(E)}hasError(E,D){return!!this.control&&this.control.hasError(E,D)}getError(E,D){return this.control?this.control.getError(E,D):null}}class an extends sr{get formDirective(){return null}get path(){return null}}class Dn extends sr{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Nn{constructor(E){this._cd=E}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 nn=(()=>{class M extends Nn{constructor(D){super(D)}}return M.\u0275fac=function(D){return new(D||M)(l.Y36(Dn,2))},M.\u0275dir=l.lG2({type:M,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(D,k){2&D&&l.ekj("ng-untouched",k.isUntouched)("ng-touched",k.isTouched)("ng-pristine",k.isPristine)("ng-dirty",k.isDirty)("ng-valid",k.isValid)("ng-invalid",k.isInvalid)("ng-pending",k.isPending)},features:[l.qOj]}),M})(),Ln=(()=>{class M extends Nn{constructor(D){super(D)}}return M.\u0275fac=function(D){return new(D||M)(l.Y36(an,10))},M.\u0275dir=l.lG2({type:M,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(D,k){2&D&&l.ekj("ng-untouched",k.isUntouched)("ng-touched",k.isTouched)("ng-pristine",k.isPristine)("ng-dirty",k.isDirty)("ng-valid",k.isValid)("ng-invalid",k.isInvalid)("ng-pending",k.isPending)("ng-submitted",k.isSubmitted)},features:[l.qOj]}),M})();const jt="VALID",Zt="INVALID",lt="PENDING",Ve="DISABLED";function ut(M){return(te(M)?M.validators:M)||null}function Ft(M){return Array.isArray(M)?hn(M):M||null}function Vt(M,E){return(te(E)?E.asyncValidators:M)||null}function rn(M){return Array.isArray(M)?Qe(M):M||null}function te(M){return null!=M&&!Array.isArray(M)&&"object"==typeof M}class Re{constructor(E,D){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=E,this._rawAsyncValidators=D,this._composedValidatorFn=Ft(this._rawValidators),this._composedAsyncValidatorFn=rn(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(E){this._rawValidators=this._composedValidatorFn=E}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(E){this._rawAsyncValidators=this._composedAsyncValidatorFn=E}get parent(){return this._parent}get valid(){return this.status===jt}get invalid(){return this.status===Zt}get pending(){return this.status==lt}get disabled(){return this.status===Ve}get enabled(){return this.status!==Ve}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(E){this._rawValidators=E,this._composedValidatorFn=Ft(E)}setAsyncValidators(E){this._rawAsyncValidators=E,this._composedAsyncValidatorFn=rn(E)}addValidators(E){this.setValidators(Rn(E,this._rawValidators))}addAsyncValidators(E){this.setAsyncValidators(Rn(E,this._rawAsyncValidators))}removeValidators(E){this.setValidators(mn(E,this._rawValidators))}removeAsyncValidators(E){this.setAsyncValidators(mn(E,this._rawAsyncValidators))}hasValidator(E){return xn(this._rawValidators,E)}hasAsyncValidator(E){return xn(this._rawAsyncValidators,E)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(E={}){this.touched=!0,this._parent&&!E.onlySelf&&this._parent.markAsTouched(E)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(E=>E.markAllAsTouched())}markAsUntouched(E={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(D=>{D.markAsUntouched({onlySelf:!0})}),this._parent&&!E.onlySelf&&this._parent._updateTouched(E)}markAsDirty(E={}){this.pristine=!1,this._parent&&!E.onlySelf&&this._parent.markAsDirty(E)}markAsPristine(E={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(D=>{D.markAsPristine({onlySelf:!0})}),this._parent&&!E.onlySelf&&this._parent._updatePristine(E)}markAsPending(E={}){this.status=lt,!1!==E.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!E.onlySelf&&this._parent.markAsPending(E)}disable(E={}){const D=this._parentMarkedDirty(E.onlySelf);this.status=Ve,this.errors=null,this._forEachChild(k=>{k.disable({...E,onlySelf:!0})}),this._updateValue(),!1!==E.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...E,skipPristineCheck:D}),this._onDisabledChange.forEach(k=>k(!0))}enable(E={}){const D=this._parentMarkedDirty(E.onlySelf);this.status=jt,this._forEachChild(k=>{k.enable({...E,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:E.emitEvent}),this._updateAncestors({...E,skipPristineCheck:D}),this._onDisabledChange.forEach(k=>k(!1))}_updateAncestors(E){this._parent&&!E.onlySelf&&(this._parent.updateValueAndValidity(E),E.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(E){this._parent=E}getRawValue(){return this.value}updateValueAndValidity(E={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===jt||this.status===lt)&&this._runAsyncValidator(E.emitEvent)),!1!==E.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!E.onlySelf&&this._parent.updateValueAndValidity(E)}_updateTreeValidity(E={emitEvent:!0}){this._forEachChild(D=>D._updateTreeValidity(E)),this.updateValueAndValidity({onlySelf:!0,emitEvent:E.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Ve:jt}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(E){if(this.asyncValidator){this.status=lt,this._hasOwnPendingAsyncValidator=!0;const D=Ue(this.asyncValidator(this));this._asyncValidationSubscription=D.subscribe(k=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(k,{emitEvent:E})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(E,D={}){this.errors=E,this._updateControlsErrors(!1!==D.emitEvent)}get(E){let D=E;return null==D||(Array.isArray(D)||(D=D.split(".")),0===D.length)?null:D.reduce((k,ke)=>k&&k._find(ke),this)}getError(E,D){const k=D?this.get(D):this;return k&&k.errors?k.errors[E]:null}hasError(E,D){return!!this.getError(E,D)}get root(){let E=this;for(;E._parent;)E=E._parent;return E}_updateControlsErrors(E){this.status=this._calculateStatus(),E&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(E)}_initObservables(){this.valueChanges=new l.vpe,this.statusChanges=new l.vpe}_calculateStatus(){return this._allControlsDisabled()?Ve:this.errors?Zt:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(lt)?lt:this._anyControlsHaveStatus(Zt)?Zt:jt}_anyControlsHaveStatus(E){return this._anyControls(D=>D.status===E)}_anyControlsDirty(){return this._anyControls(E=>E.dirty)}_anyControlsTouched(){return this._anyControls(E=>E.touched)}_updatePristine(E={}){this.pristine=!this._anyControlsDirty(),this._parent&&!E.onlySelf&&this._parent._updatePristine(E)}_updateTouched(E={}){this.touched=this._anyControlsTouched(),this._parent&&!E.onlySelf&&this._parent._updateTouched(E)}_registerOnCollectionChange(E){this._onCollectionChange=E}_setUpdateStrategy(E){te(E)&&null!=E.updateOn&&(this._updateOn=E.updateOn)}_parentMarkedDirty(E){return!E&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(E){return null}}class De extends Re{constructor(E,D,k){super(ut(D),Vt(k,D)),this.controls=E,this._initObservables(),this._setUpdateStrategy(D),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(E,D){return this.controls[E]?this.controls[E]:(this.controls[E]=D,D.setParent(this),D._registerOnCollectionChange(this._onCollectionChange),D)}addControl(E,D,k={}){this.registerControl(E,D),this.updateValueAndValidity({emitEvent:k.emitEvent}),this._onCollectionChange()}removeControl(E,D={}){this.controls[E]&&this.controls[E]._registerOnCollectionChange(()=>{}),delete this.controls[E],this.updateValueAndValidity({emitEvent:D.emitEvent}),this._onCollectionChange()}setControl(E,D,k={}){this.controls[E]&&this.controls[E]._registerOnCollectionChange(()=>{}),delete this.controls[E],D&&this.registerControl(E,D),this.updateValueAndValidity({emitEvent:k.emitEvent}),this._onCollectionChange()}contains(E){return this.controls.hasOwnProperty(E)&&this.controls[E].enabled}setValue(E,D={}){(function de(M,E,D){M._forEachChild((k,ke)=>{if(void 0===D[ke])throw new l.vHH(1002,"")})})(this,0,E),Object.keys(E).forEach(k=>{(function Q(M,E,D){const k=M.controls;if(!(E?Object.keys(k):k).length)throw new l.vHH(1e3,"");if(!k[D])throw new l.vHH(1001,"")})(this,!0,k),this.controls[k].setValue(E[k],{onlySelf:!0,emitEvent:D.emitEvent})}),this.updateValueAndValidity(D)}patchValue(E,D={}){null!=E&&(Object.keys(E).forEach(k=>{const ke=this.controls[k];ke&&ke.patchValue(E[k],{onlySelf:!0,emitEvent:D.emitEvent})}),this.updateValueAndValidity(D))}reset(E={},D={}){this._forEachChild((k,ke)=>{k.reset(E[ke],{onlySelf:!0,emitEvent:D.emitEvent})}),this._updatePristine(D),this._updateTouched(D),this.updateValueAndValidity(D)}getRawValue(){return this._reduceChildren({},(E,D,k)=>(E[k]=D.getRawValue(),E))}_syncPendingControls(){let E=this._reduceChildren(!1,(D,k)=>!!k._syncPendingControls()||D);return E&&this.updateValueAndValidity({onlySelf:!0}),E}_forEachChild(E){Object.keys(this.controls).forEach(D=>{const k=this.controls[D];k&&E(k,D)})}_setUpControls(){this._forEachChild(E=>{E.setParent(this),E._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(E){for(const[D,k]of Object.entries(this.controls))if(this.contains(D)&&E(k))return!0;return!1}_reduceValue(){return this._reduceChildren({},(D,k,ke)=>((k.enabled||this.disabled)&&(D[ke]=k.value),D))}_reduceChildren(E,D){let k=E;return this._forEachChild((ke,Rt)=>{k=D(k,ke,Rt)}),k}_allControlsDisabled(){for(const E of Object.keys(this.controls))if(this.controls[E].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(E){return this.controls.hasOwnProperty(E)?this.controls[E]:null}}function $t(M,E){ge(M,E),E.valueAccessor.writeValue(M.value),M.disabled&&E.valueAccessor.setDisabledState?.(!0),function xt(M,E){E.valueAccessor.registerOnChange(D=>{M._pendingValue=D,M._pendingChange=!0,M._pendingDirty=!0,"change"===M.updateOn&&bt(M,E)})}(M,E),function kn(M,E){const D=(k,ke)=>{E.valueAccessor.writeValue(k),ke&&E.viewToModelUpdate(k)};M.registerOnChange(D),E._registerOnDestroy(()=>{M._unregisterOnChange(D)})}(M,E),function Yt(M,E){E.valueAccessor.registerOnTouched(()=>{M._pendingTouched=!0,"blur"===M.updateOn&&M._pendingChange&&bt(M,E),"submit"!==M.updateOn&&M.markAsTouched()})}(M,E),function U(M,E){if(E.valueAccessor.setDisabledState){const D=k=>{E.valueAccessor.setDisabledState(k)};M.registerOnDisabledChange(D),E._registerOnDestroy(()=>{M._unregisterOnDisabledChange(D)})}}(M,E)}function se(M,E,D=!0){const k=()=>{};E.valueAccessor&&(E.valueAccessor.registerOnChange(k),E.valueAccessor.registerOnTouched(k)),Le(M,E),M&&(E._invokeOnDestroyCallbacks(),M._registerOnCollectionChange(()=>{}))}function ne(M,E){M.forEach(D=>{D.registerOnValidatorChange&&D.registerOnValidatorChange(E)})}function ge(M,E){const D=ye(M);null!==E.validator?M.setValidators(he(D,E.validator)):"function"==typeof D&&M.setValidators([D]);const k=at(M);null!==E.asyncValidator?M.setAsyncValidators(he(k,E.asyncValidator)):"function"==typeof k&&M.setAsyncValidators([k]);const ke=()=>M.updateValueAndValidity();ne(E._rawValidators,ke),ne(E._rawAsyncValidators,ke)}function Le(M,E){let D=!1;if(null!==M){if(null!==E.validator){const ke=ye(M);if(Array.isArray(ke)&&ke.length>0){const Rt=ke.filter(Un=>Un!==E.validator);Rt.length!==ke.length&&(D=!0,M.setValidators(Rt))}}if(null!==E.asyncValidator){const ke=at(M);if(Array.isArray(ke)&&ke.length>0){const Rt=ke.filter(Un=>Un!==E.asyncValidator);Rt.length!==ke.length&&(D=!0,M.setAsyncValidators(Rt))}}}const k=()=>{};return ne(E._rawValidators,k),ne(E._rawAsyncValidators,k),D}function bt(M,E){M._pendingDirty&&M.markAsDirty(),M.setValue(M._pendingValue,{emitModelToViewChange:!1}),E.viewToModelUpdate(M._pendingValue),M._pendingChange=!1}function Xn(M,E){ge(M,E)}function $n(M,E){if(!M.hasOwnProperty("model"))return!1;const D=M.model;return!!D.isFirstChange()||!Object.is(E,D.currentValue)}function ai(M,E){M._syncPendingControls(),E.forEach(D=>{const k=D.control;"submit"===k.updateOn&&k._pendingChange&&(D.viewToModelUpdate(k._pendingValue),k._pendingChange=!1)})}function qt(M,E){if(!E)return null;let D,k,ke;return Array.isArray(E),E.forEach(Rt=>{Rt.constructor===xe?D=Rt:function Ar(M){return Object.getPrototypeOf(M.constructor)===G}(Rt)?k=Rt:ke=Rt}),ke||k||D||null}const li={provide:an,useExisting:(0,l.Gpc)(()=>Tr)},qn=(()=>Promise.resolve(null))();let Tr=(()=>{class M extends an{constructor(D,k){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new l.vpe,this.form=new De({},hn(D),Qe(k))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(D){qn.then(()=>{const k=this._findContainer(D.path);D.control=k.registerControl(D.name,D.control),$t(D.control,D),D.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(D)})}getControl(D){return this.form.get(D.path)}removeControl(D){qn.then(()=>{const k=this._findContainer(D.path);k&&k.removeControl(D.name),this._directives.delete(D)})}addFormGroup(D){qn.then(()=>{const k=this._findContainer(D.path),ke=new De({});Xn(ke,D),k.registerControl(D.name,ke),ke.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(D){qn.then(()=>{const k=this._findContainer(D.path);k&&k.removeControl(D.name)})}getFormGroup(D){return this.form.get(D.path)}updateModel(D,k){qn.then(()=>{this.form.get(D.path).setValue(k)})}setValue(D){this.control.setValue(D)}onSubmit(D){return this.submitted=!0,ai(this.form,this._directives),this.ngSubmit.emit(D),!1}onReset(){this.resetForm()}resetForm(D){this.form.reset(D),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(D){return D.pop(),D.length?this.form.get(D):this.form}}return M.\u0275fac=function(D){return new(D||M)(l.Y36(le,10),l.Y36(Ge,10))},M.\u0275dir=l.lG2({type:M,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(D,k){1&D&&l.NdJ("submit",function(Rt){return k.onSubmit(Rt)})("reset",function(){return k.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[l._Bn([li]),l.qOj]}),M})();function zr(M,E){const D=M.indexOf(E);D>-1&&M.splice(D,1)}function Lr(M){return"object"==typeof M&&null!==M&&2===Object.keys(M).length&&"value"in M&&"disabled"in M}const Cn=class extends Re{constructor(E=null,D,k){super(ut(D),Vt(k,D)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(E),this._setUpdateStrategy(D),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),te(D)&&(D.nonNullable||D.initialValueIsDefault)&&(this.defaultValue=Lr(E)?E.value:E)}setValue(E,D={}){this.value=this._pendingValue=E,this._onChange.length&&!1!==D.emitModelToViewChange&&this._onChange.forEach(k=>k(this.value,!1!==D.emitViewToModelChange)),this.updateValueAndValidity(D)}patchValue(E,D={}){this.setValue(E,D)}reset(E=this.defaultValue,D={}){this._applyFormState(E),this.markAsPristine(D),this.markAsUntouched(D),this.setValue(this.value,D),this._pendingChange=!1}_updateValue(){}_anyControls(E){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(E){this._onChange.push(E)}_unregisterOnChange(E){zr(this._onChange,E)}registerOnDisabledChange(E){this._onDisabledChange.push(E)}_unregisterOnDisabledChange(E){zr(this._onDisabledChange,E)}_forEachChild(E){}_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(E){Lr(E)?(this.value=this._pendingValue=E.value,E.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=E}},Ci=Cn,Ji={provide:Dn,useExisting:(0,l.Gpc)(()=>Xi)},co=(()=>Promise.resolve(null))();let Xi=(()=>{class M extends Dn{constructor(D,k,ke,Rt,Un){super(),this._changeDetectorRef=Un,this.control=new Cn,this._registered=!1,this.update=new l.vpe,this._parent=D,this._setValidators(k),this._setAsyncValidators(ke),this.valueAccessor=qt(0,Rt)}ngOnChanges(D){if(this._checkForErrors(),!this._registered||"name"in D){if(this._registered&&(this._checkName(),this.formDirective)){const k=D.name.previousValue;this.formDirective.removeControl({name:k,path:this._getPath(k)})}this._setUpControl()}"isDisabled"in D&&this._updateDisabled(D),$n(D,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(D){this.viewModel=D,this.update.emit(D)}_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(){$t(this.control,this),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(D){co.then(()=>{this.control.setValue(D,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(D){const k=D.isDisabled.currentValue,ke=0!==k&&(0,l.D6c)(k);co.then(()=>{ke&&!this.control.disabled?this.control.disable():!ke&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(D){return this._parent?function vt(M,E){return[...E.path,M]}(D,this._parent):[D]}}return M.\u0275fac=function(D){return new(D||M)(l.Y36(an,9),l.Y36(le,10),l.Y36(Ge,10),l.Y36(Z,10),l.Y36(l.sBO,8))},M.\u0275dir=l.lG2({type:M,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[l._Bn([Ji]),l.qOj,l.TTD]}),M})(),fo=(()=>{class M{}return M.\u0275fac=function(D){return new(D||M)},M.\u0275dir=l.lG2({type:M,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),M})();const hs={provide:Z,useExisting:(0,l.Gpc)(()=>cr),multi:!0};let cr=(()=>{class M extends G{writeValue(D){this.setProperty("value",D??"")}registerOnChange(D){this.onChange=k=>{D(""==k?null:parseFloat(k))}}}return M.\u0275fac=function(){let E;return function(k){return(E||(E=l.n5z(M)))(k||M)}}(),M.\u0275dir=l.lG2({type:M,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(D,k){1&D&&l.NdJ("input",function(Rt){return k.onChange(Rt.target.value)})("blur",function(){return k.onTouched()})},features:[l._Bn([hs]),l.qOj]}),M})(),eo=(()=>{class M{}return M.\u0275fac=function(D){return new(D||M)},M.\u0275mod=l.oAB({type:M}),M.\u0275inj=l.cJS({}),M})();const wi=new l.OlP("NgModelWithFormControlWarning"),gs={provide:Dn,useExisting:(0,l.Gpc)(()=>po)};let po=(()=>{class M extends Dn{constructor(D,k,ke,Rt){super(),this._ngModelWarningConfig=Rt,this.update=new l.vpe,this._ngModelWarningSent=!1,this._setValidators(D),this._setAsyncValidators(k),this.valueAccessor=qt(0,ke)}set isDisabled(D){}ngOnChanges(D){if(this._isControlChanged(D)){const k=D.form.previousValue;k&&se(k,this,!1),$t(this.form,this),this.form.updateValueAndValidity({emitEvent:!1})}$n(D,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&se(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(D){this.viewModel=D,this.update.emit(D)}_isControlChanged(D){return D.hasOwnProperty("form")}}return M._ngModelWarningSentOnce=!1,M.\u0275fac=function(D){return new(D||M)(l.Y36(le,10),l.Y36(Ge,10),l.Y36(Z,10),l.Y36(wi,8))},M.\u0275dir=l.lG2({type:M,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[l._Bn([gs]),l.qOj,l.TTD]}),M})();const Sr={provide:an,useExisting:(0,l.Gpc)(()=>ei)};let ei=(()=>{class M extends an{constructor(D,k){super(),this.validators=D,this.asyncValidators=k,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new l.vpe,this._setValidators(D),this._setAsyncValidators(k)}ngOnChanges(D){this._checkFormPresent(),D.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Le(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(D){const k=this.form.get(D.path);return $t(k,D),k.updateValueAndValidity({emitEvent:!1}),this.directives.push(D),k}getControl(D){return this.form.get(D.path)}removeControl(D){se(D.control||null,D,!1),function Hi(M,E){const D=M.indexOf(E);D>-1&&M.splice(D,1)}(this.directives,D)}addFormGroup(D){this._setUpFormContainer(D)}removeFormGroup(D){this._cleanUpFormContainer(D)}getFormGroup(D){return this.form.get(D.path)}addFormArray(D){this._setUpFormContainer(D)}removeFormArray(D){this._cleanUpFormContainer(D)}getFormArray(D){return this.form.get(D.path)}updateModel(D,k){this.form.get(D.path).setValue(k)}onSubmit(D){return this.submitted=!0,ai(this.form,this.directives),this.ngSubmit.emit(D),!1}onReset(){this.resetForm()}resetForm(D){this.form.reset(D),this.submitted=!1}_updateDomValue(){this.directives.forEach(D=>{const k=D.control,ke=this.form.get(D.path);k!==ke&&(se(k||null,D),(M=>M instanceof Cn)(ke)&&($t(ke,D),D.control=ke))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(D){const k=this.form.get(D.path);Xn(k,D),k.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(D){if(this.form){const k=this.form.get(D.path);k&&function mr(M,E){return Le(M,E)}(k,D)&&k.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){ge(this.form,this),this._oldForm&&Le(this._oldForm,this)}_checkFormPresent(){}}return M.\u0275fac=function(D){return new(D||M)(l.Y36(le,10),l.Y36(Ge,10))},M.\u0275dir=l.lG2({type:M,selectors:[["","formGroup",""]],hostBindings:function(D,k){1&D&&l.NdJ("submit",function(Rt){return k.onSubmit(Rt)})("reset",function(){return k.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[l._Bn([Sr]),l.qOj,l.TTD]}),M})();const Ho={provide:Z,useExisting:(0,l.Gpc)(()=>hi),multi:!0};function fi(M,E){return null==M?`${E}`:(E&&"object"==typeof E&&(E="Object"),`${M}: ${E}`.slice(0,50))}let hi=(()=>{class M extends G{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(D){this._compareWith=D}writeValue(D){this.value=D;const ke=fi(this._getOptionId(D),D);this.setProperty("value",ke)}registerOnChange(D){this.onChange=k=>{this.value=this._getOptionValue(k),D(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(D){for(const k of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(k),D))return k;return null}_getOptionValue(D){const k=function Ti(M){return M.split(":")[0]}(D);return this._optionMap.has(k)?this._optionMap.get(k):D}}return M.\u0275fac=function(){let E;return function(k){return(E||(E=l.n5z(M)))(k||M)}}(),M.\u0275dir=l.lG2({type:M,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(D,k){1&D&&l.NdJ("change",function(Rt){return k.onChange(Rt.target.value)})("blur",function(){return k.onTouched()})},inputs:{compareWith:"compareWith"},features:[l._Bn([Ho]),l.qOj]}),M})(),Wi=(()=>{class M{constructor(D,k,ke){this._element=D,this._renderer=k,this._select=ke,this._select&&(this.id=this._select._registerOption())}set ngValue(D){null!=this._select&&(this._select._optionMap.set(this.id,D),this._setElementValue(fi(this.id,D)),this._select.writeValue(this._select.value))}set value(D){this._setElementValue(D),this._select&&this._select.writeValue(this._select.value)}_setElementValue(D){this._renderer.setProperty(this._element.nativeElement,"value",D)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return M.\u0275fac=function(D){return new(D||M)(l.Y36(l.SBq),l.Y36(l.Qsj),l.Y36(hi,9))},M.\u0275dir=l.lG2({type:M,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),M})();const to={provide:Z,useExisting:(0,l.Gpc)(()=>go),multi:!0};function jo(M,E){return null==M?`${E}`:("string"==typeof E&&(E=`'${E}'`),E&&"object"==typeof E&&(E="Object"),`${M}: ${E}`.slice(0,50))}let go=(()=>{class M extends G{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(D){this._compareWith=D}writeValue(D){let k;if(this.value=D,Array.isArray(D)){const ke=D.map(Rt=>this._getOptionId(Rt));k=(Rt,Un)=>{Rt._setSelected(ke.indexOf(Un.toString())>-1)}}else k=(ke,Rt)=>{ke._setSelected(!1)};this._optionMap.forEach(k)}registerOnChange(D){this.onChange=k=>{const ke=[],Rt=k.selectedOptions;if(void 0!==Rt){const Un=Rt;for(let On=0;On<Un.length;On++){const yo=this._getOptionValue(Un[On].value);ke.push(yo)}}else{const Un=k.options;for(let On=0;On<Un.length;On++){const Dr=Un[On];if(Dr.selected){const yo=this._getOptionValue(Dr.value);ke.push(yo)}}}this.value=ke,D(ke)}}_registerOption(D){const k=(this._idCounter++).toString();return this._optionMap.set(k,D),k}_getOptionId(D){for(const k of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(k)._value,D))return k;return null}_getOptionValue(D){const k=function Gn(M){return M.split(":")[0]}(D);return this._optionMap.has(k)?this._optionMap.get(k)._value:D}}return M.\u0275fac=function(){let E;return function(k){return(E||(E=l.n5z(M)))(k||M)}}(),M.\u0275dir=l.lG2({type:M,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(D,k){1&D&&l.NdJ("change",function(Rt){return k.onChange(Rt.target)})("blur",function(){return k.onTouched()})},inputs:{compareWith:"compareWith"},features:[l._Bn([to]),l.qOj]}),M})(),Br=(()=>{class M{constructor(D,k,ke){this._element=D,this._renderer=k,this._select=ke,this._select&&(this.id=this._select._registerOption(this))}set ngValue(D){null!=this._select&&(this._value=D,this._setElementValue(jo(this.id,D)),this._select.writeValue(this._select.value))}set value(D){this._select?(this._value=D,this._setElementValue(jo(this.id,D)),this._select.writeValue(this._select.value)):this._setElementValue(D)}_setElementValue(D){this._renderer.setProperty(this._element.nativeElement,"value",D)}_setSelected(D){this._renderer.setProperty(this._element.nativeElement,"selected",D)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return M.\u0275fac=function(D){return new(D||M)(l.Y36(l.SBq),l.Y36(l.Qsj),l.Y36(go,9))},M.\u0275dir=l.lG2({type:M,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),M})();let Mn=(()=>{class M{constructor(){this._validator=Ae}ngOnChanges(D){if(this.inputName in D){const k=this.normalizeInput(D[this.inputName].currentValue);this._enabled=this.enabled(k),this._validator=this._enabled?this.createValidator(k):Ae,this._onChange&&this._onChange()}}validate(D){return this._validator(D)}registerOnValidatorChange(D){this._onChange=D}enabled(D){return null!=D}}return M.\u0275fac=function(D){return new(D||M)},M.\u0275dir=l.lG2({type:M,features:[l.TTD]}),M})();const ni={provide:le,useExisting:(0,l.Gpc)(()=>_r),multi:!0};let _r=(()=>{class M extends Mn{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=l.D6c,this.createValidator=D=>ze}enabled(D){return D}}return M.\u0275fac=function(){let E;return function(k){return(E||(E=l.n5z(M)))(k||M)}}(),M.\u0275dir=l.lG2({type:M,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(D,k){2&D&&l.uIk("required",k._enabled?"":null)},inputs:{required:"required"},features:[l._Bn([ni]),l.qOj]}),M})();const oe={provide:le,useExisting:(0,l.Gpc)(()=>Ne),multi:!0};let Ne=(()=>{class M extends Mn{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=D=>function Mi(M){return"number"==typeof M?M:parseInt(M,10)}(D),this.createValidator=D=>ee(D)}}return M.\u0275fac=function(){let E;return function(k){return(E||(E=l.n5z(M)))(k||M)}}(),M.\u0275dir=l.lG2({type:M,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(D,k){2&D&&l.uIk("maxlength",k._enabled?k.maxlength:null)},inputs:{maxlength:"maxlength"},features:[l._Bn([oe]),l.qOj]}),M})(),ln=(()=>{class M{}return M.\u0275fac=function(D){return new(D||M)},M.\u0275mod=l.oAB({type:M}),M.\u0275inj=l.cJS({imports:[eo]}),M})(),zn=(()=>{class M{}return M.\u0275fac=function(D){return new(D||M)},M.\u0275mod=l.oAB({type:M}),M.\u0275inj=l.cJS({imports:[ln]}),M})(),yn=(()=>{class M{static withConfig(D){return{ngModule:M,providers:[{provide:wi,useValue:D.warnOnNgModelWithFormControl}]}}}return M.\u0275fac=function(D){return new(D||M)},M.\u0275mod=l.oAB({type:M}),M.\u0275inj=l.cJS({imports:[ln]}),M})()},1481:(tt,me,S)=>{S.d(me,{Dx:()=>re,H7:()=>tn,b2:()=>Wn,q6:()=>yt,se:()=>ve});var l=S(6895),d=S(4650);class B extends l.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class J extends B{static makeCurrent(){(0,l.HT)(new J)}onAndCancel(ne,U,ge){return ne.addEventListener(U,ge,!1),()=>{ne.removeEventListener(U,ge,!1)}}dispatchEvent(ne,U){ne.dispatchEvent(U)}remove(ne){ne.parentNode&&ne.parentNode.removeChild(ne)}createElement(ne,U){return(U=U||this.getDefaultDocument()).createElement(ne)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(ne){return ne.nodeType===Node.ELEMENT_NODE}isShadowRoot(ne){return ne instanceof DocumentFragment}getGlobalEventTarget(ne,U){return"window"===U?window:"document"===U?ne:"body"===U?ne.body:null}getBaseHref(ne){const U=function X(){return V=V||document.querySelector("base"),V?V.getAttribute("href"):null}();return null==U?null:function Z(se){G=G||document.createElement("a"),G.setAttribute("href",se);const ne=G.pathname;return"/"===ne.charAt(0)?ne:`/${ne}`}(U)}resetBaseElement(){V=null}getUserAgent(){return window.navigator.userAgent}getCookie(ne){return(0,l.Mx)(document.cookie,ne)}}let G,V=null;const Y=new d.OlP("TRANSITION_ID"),z=[{provide:d.ip1,useFactory:function L(se,ne,U){return()=>{U.get(d.CZH).donePromise.then(()=>{const ge=(0,l.q)(),Le=ne.querySelectorAll(`style[ng-transition="${se}"]`);for(let xt=0;xt<Le.length;xt++)ge.remove(Le[xt])})}},deps:[Y,l.K0,d.zs3],multi:!0}];let Be=(()=>{class se{build(){return new XMLHttpRequest}}return se.\u0275fac=function(U){return new(U||se)},se.\u0275prov=d.Yz7({token:se,factory:se.\u0275fac}),se})();const xe=new d.OlP("EventManagerPlugins");let Pe=(()=>{class se{constructor(U,ge){this._zone=ge,this._eventNameToPlugin=new Map,U.forEach(Le=>Le.manager=this),this._plugins=U.slice().reverse()}addEventListener(U,ge,Le){return this._findPluginFor(ge).addEventListener(U,ge,Le)}addGlobalEventListener(U,ge,Le){return this._findPluginFor(ge).addGlobalEventListener(U,ge,Le)}getZone(){return this._zone}_findPluginFor(U){const ge=this._eventNameToPlugin.get(U);if(ge)return ge;const Le=this._plugins;for(let xt=0;xt<Le.length;xt++){const Yt=Le[xt];if(Yt.supports(U))return this._eventNameToPlugin.set(U,Yt),Yt}throw new Error(`No event manager plugin found for event ${U}`)}}return se.\u0275fac=function(U){return new(U||se)(d.LFG(xe),d.LFG(d.R0b))},se.\u0275prov=d.Yz7({token:se,factory:se.\u0275fac}),se})();class $e{constructor(ne){this._doc=ne}addGlobalEventListener(ne,U,ge){const Le=(0,l.q)().getGlobalEventTarget(this._doc,ne);if(!Le)throw new Error(`Unsupported event target ${Le} for event ${U}`);return this.addEventListener(Le,U,ge)}}let be=(()=>{class se{constructor(){this._stylesSet=new Set}addStyles(U){const ge=new Set;U.forEach(Le=>{this._stylesSet.has(Le)||(this._stylesSet.add(Le),ge.add(Le))}),this.onStylesAdded(ge)}onStylesAdded(U){}getAllStyles(){return Array.from(this._stylesSet)}}return se.\u0275fac=function(U){return new(U||se)},se.\u0275prov=d.Yz7({token:se,factory:se.\u0275fac}),se})(),le=(()=>{class se extends be{constructor(U){super(),this._doc=U,this._hostNodes=new Map,this._hostNodes.set(U.head,[])}_addStylesToHost(U,ge,Le){U.forEach(xt=>{const Yt=this._doc.createElement("style");Yt.textContent=xt,Le.push(ge.appendChild(Yt))})}addHost(U){const ge=[];this._addStylesToHost(this._stylesSet,U,ge),this._hostNodes.set(U,ge)}removeHost(U){const ge=this._hostNodes.get(U);ge&&ge.forEach(Ge),this._hostNodes.delete(U)}onStylesAdded(U){this._hostNodes.forEach((ge,Le)=>{this._addStylesToHost(U,Le,ge)})}ngOnDestroy(){this._hostNodes.forEach(U=>U.forEach(Ge))}}return se.\u0275fac=function(U){return new(U||se)(d.LFG(l.K0))},se.\u0275prov=d.Yz7({token:se,factory:se.\u0275fac}),se})();function Ge(se){(0,l.q)().remove(se)}const rt={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/"},Se=/%COMP%/g;function ee(se,ne,U){for(let ge=0;ge<ne.length;ge++){let Le=ne[ge];Array.isArray(Le)?ee(se,Le,U):(Le=Le.replace(Se,se),U.push(Le))}return U}function fe(se){return ne=>{if("__ngUnwrap__"===ne)return se;!1===se(ne)&&(ne.preventDefault(),ne.returnValue=!1)}}let ve=(()=>{class se{constructor(U,ge,Le){this.eventManager=U,this.sharedStylesHost=ge,this.appId=Le,this.rendererByCompId=new Map,this.defaultRenderer=new Ue(U)}createRenderer(U,ge){if(!U||!ge)return this.defaultRenderer;switch(ge.encapsulation){case d.ifc.Emulated:{let Le=this.rendererByCompId.get(ge.id);return Le||(Le=new kt(this.eventManager,this.sharedStylesHost,ge,this.appId),this.rendererByCompId.set(ge.id,Le)),Le.applyToHost(U),Le}case 1:case d.ifc.ShadowDom:return new dt(this.eventManager,this.sharedStylesHost,U,ge);default:if(!this.rendererByCompId.has(ge.id)){const Le=ee(ge.id,ge.styles,[]);this.sharedStylesHost.addStyles(Le),this.rendererByCompId.set(ge.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return se.\u0275fac=function(U){return new(U||se)(d.LFG(Pe),d.LFG(le),d.LFG(d.AFp))},se.\u0275prov=d.Yz7({token:se,factory:se.\u0275fac}),se})();class Ue{constructor(ne){this.eventManager=ne,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(ne,U){return U?document.createElementNS(rt[U]||U,ne):document.createElement(ne)}createComment(ne){return document.createComment(ne)}createText(ne){return document.createTextNode(ne)}appendChild(ne,U){(Mt(ne)?ne.content:ne).appendChild(U)}insertBefore(ne,U,ge){ne&&(Mt(ne)?ne.content:ne).insertBefore(U,ge)}removeChild(ne,U){ne&&ne.removeChild(U)}selectRootElement(ne,U){let ge="string"==typeof ne?document.querySelector(ne):ne;if(!ge)throw new Error(`The selector "${ne}" did not match any elements`);return U||(ge.textContent=""),ge}parentNode(ne){return ne.parentNode}nextSibling(ne){return ne.nextSibling}setAttribute(ne,U,ge,Le){if(Le){U=Le+":"+U;const xt=rt[Le];xt?ne.setAttributeNS(xt,U,ge):ne.setAttribute(U,ge)}else ne.setAttribute(U,ge)}removeAttribute(ne,U,ge){if(ge){const Le=rt[ge];Le?ne.removeAttributeNS(Le,U):ne.removeAttribute(`${ge}:${U}`)}else ne.removeAttribute(U)}addClass(ne,U){ne.classList.add(U)}removeClass(ne,U){ne.classList.remove(U)}setStyle(ne,U,ge,Le){Le&(d.JOm.DashCase|d.JOm.Important)?ne.style.setProperty(U,ge,Le&d.JOm.Important?"important":""):ne.style[U]=ge}removeStyle(ne,U,ge){ge&d.JOm.DashCase?ne.style.removeProperty(U):ne.style[U]=""}setProperty(ne,U,ge){ne[U]=ge}setValue(ne,U){ne.nodeValue=U}listen(ne,U,ge){return"string"==typeof ne?this.eventManager.addGlobalEventListener(ne,U,fe(ge)):this.eventManager.addEventListener(ne,U,fe(ge))}}function Mt(se){return"TEMPLATE"===se.tagName&&void 0!==se.content}class kt extends Ue{constructor(ne,U,ge,Le){super(ne),this.component=ge;const xt=ee(Le+"-"+ge.id,ge.styles,[]);U.addStyles(xt),this.contentAttr=function Ce(se){return"_ngcontent-%COMP%".replace(Se,se)}(Le+"-"+ge.id),this.hostAttr=function Ee(se){return"_nghost-%COMP%".replace(Se,se)}(Le+"-"+ge.id)}applyToHost(ne){super.setAttribute(ne,this.hostAttr,"")}createElement(ne,U){const ge=super.createElement(ne,U);return super.setAttribute(ge,this.contentAttr,""),ge}}class dt extends Ue{constructor(ne,U,ge,Le){super(ne),this.sharedStylesHost=U,this.hostEl=ge,this.shadowRoot=ge.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const xt=ee(Le.id,Le.styles,[]);for(let Yt=0;Yt<xt.length;Yt++){const bt=document.createElement("style");bt.textContent=xt[Yt],this.shadowRoot.appendChild(bt)}}nodeOrShadowRoot(ne){return ne===this.hostEl?this.shadowRoot:ne}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(ne,U){return super.appendChild(this.nodeOrShadowRoot(ne),U)}insertBefore(ne,U,ge){return super.insertBefore(this.nodeOrShadowRoot(ne),U,ge)}removeChild(ne,U){return super.removeChild(this.nodeOrShadowRoot(ne),U)}parentNode(ne){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(ne)))}}let hn=(()=>{class se extends $e{constructor(U){super(U)}supports(U){return!0}addEventListener(U,ge,Le){return U.addEventListener(ge,Le,!1),()=>this.removeEventListener(U,ge,Le)}removeEventListener(U,ge,Le){return U.removeEventListener(ge,Le)}}return se.\u0275fac=function(U){return new(U||se)(d.LFG(l.K0))},se.\u0275prov=d.Yz7({token:se,factory:se.\u0275fac}),se})();const We=["alt","control","meta","shift"],he={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},ye={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},at={alt:se=>se.altKey,control:se=>se.ctrlKey,meta:se=>se.metaKey,shift:se=>se.shiftKey};let Ot=(()=>{class se extends $e{constructor(U){super(U)}supports(U){return null!=se.parseEventName(U)}addEventListener(U,ge,Le){const xt=se.parseEventName(ge),Yt=se.eventCallback(xt.fullKey,Le,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,l.q)().onAndCancel(U,xt.domEventName,Yt))}static parseEventName(U){const ge=U.toLowerCase().split("."),Le=ge.shift();if(0===ge.length||"keydown"!==Le&&"keyup"!==Le)return null;const xt=se._normalizeKey(ge.pop());let Yt="";if(We.forEach(kn=>{const Xn=ge.indexOf(kn);Xn>-1&&(ge.splice(Xn,1),Yt+=kn+".")}),Yt+=xt,0!=ge.length||0===xt.length)return null;const bt={};return bt.domEventName=Le,bt.fullKey=Yt,bt}static getEventFullKey(U){let ge="",Le=function xn(se){let ne=se.key;if(null==ne){if(ne=se.keyIdentifier,null==ne)return"Unidentified";ne.startsWith("U+")&&(ne=String.fromCharCode(parseInt(ne.substring(2),16)),3===se.location&&ye.hasOwnProperty(ne)&&(ne=ye[ne]))}return he[ne]||ne}(U);return Le=Le.toLowerCase()," "===Le?Le="space":"."===Le&&(Le="dot"),We.forEach(xt=>{xt!=Le&&(0,at[xt])(U)&&(ge+=xt+".")}),ge+=Le,ge}static eventCallback(U,ge,Le){return xt=>{se.getEventFullKey(xt)===U&&Le.runGuarded(()=>ge(xt))}}static _normalizeKey(U){return"esc"===U?"escape":U}}return se.\u0275fac=function(U){return new(U||se)(d.LFG(l.K0))},se.\u0275prov=d.Yz7({token:se,factory:se.\u0275fac}),se})();const yt=(0,d.eFA)(d._c5,"browser",[{provide:d.Lbi,useValue:l.bD},{provide:d.g9A,useValue:function an(){J.makeCurrent()},multi:!0},{provide:l.K0,useFactory:function Nn(){return(0,d.RDi)(document),document},deps:[]}]),nn=new d.OlP(""),Ln=[{provide:d.rWj,useClass:class ae{addToWindow(ne){d.dqk.getAngularTestability=(ge,Le=!0)=>{const xt=ne.findTestabilityInTree(ge,Le);if(null==xt)throw new Error("Could not find testability for element.");return xt},d.dqk.getAllAngularTestabilities=()=>ne.getAllTestabilities(),d.dqk.getAllAngularRootElements=()=>ne.getAllRootElements(),d.dqk.frameworkStabilizers||(d.dqk.frameworkStabilizers=[]),d.dqk.frameworkStabilizers.push(ge=>{const Le=d.dqk.getAllAngularTestabilities();let xt=Le.length,Yt=!1;const bt=function(kn){Yt=Yt||kn,xt--,0==xt&&ge(Yt)};Le.forEach(function(kn){kn.whenStable(bt)})})}findTestabilityInTree(ne,U,ge){return null==U?null:ne.getTestability(U)??(ge?(0,l.q)().isShadowRoot(U)?this.findTestabilityInTree(ne,U.host,!0):this.findTestabilityInTree(ne,U.parentElement,!0):null)}},deps:[]},{provide:d.lri,useClass:d.dDg,deps:[d.R0b,d.eoX,d.rWj]},{provide:d.dDg,useClass:d.dDg,deps:[d.R0b,d.eoX,d.rWj]}],Tn=[{provide:d.zSh,useValue:"root"},{provide:d.qLn,useFactory:function Dn(){return new d.qLn},deps:[]},{provide:xe,useClass:hn,multi:!0,deps:[l.K0,d.R0b,d.Lbi]},{provide:xe,useClass:Ot,multi:!0,deps:[l.K0]},{provide:ve,useClass:ve,deps:[Pe,le,d.AFp]},{provide:d.FYo,useExisting:ve},{provide:be,useExisting:le},{provide:le,useClass:le,deps:[l.K0]},{provide:Pe,useClass:Pe,deps:[xe,d.R0b]},{provide:l.JF,useClass:Be,deps:[]},[]];let Wn=(()=>{class se{constructor(U){}static withServerTransition(U){return{ngModule:se,providers:[{provide:d.AFp,useValue:U.appId},{provide:Y,useExisting:d.AFp},z]}}}return se.\u0275fac=function(U){return new(U||se)(d.LFG(nn,12))},se.\u0275mod=d.oAB({type:se}),se.\u0275inj=d.cJS({providers:[...Tn,...Ln],imports:[l.ez,d.hGG]}),se})(),re=(()=>{class se{constructor(U){this._doc=U}getTitle(){return this._doc.title}setTitle(U){this._doc.title=U||""}}return se.\u0275fac=function(U){return new(U||se)(d.LFG(l.K0))},se.\u0275prov=d.Yz7({token:se,factory:function(U){let ge=null;return ge=U?new U:function He(){return new re((0,d.LFG)(l.K0))}(),ge},providedIn:"root"}),se})();typeof window<"u"&&window;let tn=(()=>{class se{}return se.\u0275fac=function(U){return new(U||se)},se.\u0275prov=d.Yz7({token:se,factory:function(U){let ge=null;return ge=U?new(U||se):d.LFG(vt),ge},providedIn:"root"}),se})(),vt=(()=>{class se extends tn{constructor(U){super(),this._doc=U}sanitize(U,ge){if(null==ge)return null;switch(U){case d.q3G.NONE:return ge;case d.q3G.HTML:return(0,d.qzn)(ge,"HTML")?(0,d.z3N)(ge):(0,d.EiD)(this._doc,String(ge)).toString();case d.q3G.STYLE:return(0,d.qzn)(ge,"Style")?(0,d.z3N)(ge):ge;case d.q3G.SCRIPT:if((0,d.qzn)(ge,"Script"))return(0,d.z3N)(ge);throw new Error("unsafe value used in a script context");case d.q3G.URL:return(0,d.qzn)(ge,"URL")?(0,d.z3N)(ge):(0,d.mCW)(String(ge));case d.q3G.RESOURCE_URL:if((0,d.qzn)(ge,"ResourceURL"))return(0,d.z3N)(ge);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${U} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(U){return(0,d.JVY)(U)}bypassSecurityTrustStyle(U){return(0,d.L6k)(U)}bypassSecurityTrustScript(U){return(0,d.eBb)(U)}bypassSecurityTrustUrl(U){return(0,d.LAX)(U)}bypassSecurityTrustResourceUrl(U){return(0,d.pB0)(U)}}return se.\u0275fac=function(U){return new(U||se)(d.LFG(l.K0))},se.\u0275prov=d.Yz7({token:se,factory:function(U){let ge=null;return ge=U?new U:function st(se){return new vt(se.get(l.K0))}(d.LFG(d.zs3)),ge},providedIn:"root"}),se})()},2510:(tt,me,S)=>{S.d(me,{gz:()=>Sr,F0:()=>Yn,Od:()=>Ri,yS:()=>Po,Bz:()=>pn,lC:()=>Ki});var l=S(4650),d=S(9751),B=S(727),J=S(4482),V=S(5403);function X(){return(0,J.e)((f,g)=>{let c=null;f._refCount++;const _=(0,V.x)(g,void 0,void 0,void 0,()=>{if(!f||f._refCount<=0||0<--f._refCount)return void(c=null);const b=f._connection,N=c;c=null,b&&(!N||b===N)&&b.unsubscribe(),g.unsubscribe()});f.subscribe(_),_.closed||(c=f.connect())})}class G extends d.y{constructor(g,c){super(),this.source=g,this.subjectFactory=c,this._subject=null,this._refCount=0,this._connection=null,(0,J.A)(g)&&(this.lift=g.lift)}_subscribe(g){return this.getSubject().subscribe(g)}getSubject(){const g=this._subject;return(!g||g.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:g}=this;this._subject=this._connection=null,g?.unsubscribe()}connect(){let g=this._connection;if(!g){g=this._connection=new B.w0;const c=this.getSubject();g.add(this.source.subscribe((0,V.x)(c,void 0,()=>{this._teardown(),c.complete()},_=>{this._teardown(),c.error(_)},()=>this._teardown()))),g.closed&&(this._connection=null,g=B.w0.EMPTY)}return g}refCount(){return X()(this)}}var Z=S(8996),Y=S(9646),L=S(1135),z=S(6805),ae=S(9841),Be=S(7272),xe=S(9770),Pe=S(9635),$e=S(2843),be=S(515),le=S(7579),Ge=S(6895);function rt(f,g,c,_,b){return(N,$)=>{let ie=c,Fe=g,it=0;N.subscribe((0,V.x)($,Bt=>{const Dt=it++;Fe=ie?f(Fe,Bt,Dt):(ie=!0,Bt),_&&$.next(Fe)},b&&(()=>{ie&&$.next(Fe),$.complete()})))}}function Se(f,g){return(0,J.e)(rt(f,g,arguments.length>=2,!0))}var ue=S(9300);function we(f){return f<=0?()=>be.E:(0,J.e)((g,c)=>{let _=[];g.subscribe((0,V.x)(c,b=>{_.push(b),f<_.length&&_.shift()},()=>{for(const b of _)c.next(b);c.complete()},void 0,()=>{_=null}))})}var ze=S(8068),Ke=S(6590),Ce=S(4671);function Ee(f,g){const c=arguments.length>=2;return _=>_.pipe(f?(0,ue.h)((b,N)=>f(b,N,_)):Ce.y,we(1),c?(0,Ke.d)(g):(0,ze.T)(()=>new z.K))}var ee=S(4004),fe=S(3900),Ae=S(5698),ve=S(8675),Ue=S(5577),Je=S(590),gt=S(4351),Mt=S(8505),kt=S(262),dt=S(2529),hn=S(9718),We=S(8746),Qe=S(8189),he=S(1481);const ye="primary";class at{constructor(g){this.params=g||{}}has(g){return Object.prototype.hasOwnProperty.call(this.params,g)}get(g){if(this.has(g)){const c=this.params[g];return Array.isArray(c)?c[0]:c}return null}getAll(g){if(this.has(g)){const c=this.params[g];return Array.isArray(c)?c:[c]}return[]}get keys(){return Object.keys(this.params)}}function Ot(f){return new at(f)}function xn(f,g,c){const _=c.path.split("/");if(_.length>f.length||"full"===c.pathMatch&&(g.hasChildren()||_.length<f.length))return null;const b={};for(let N=0;N<_.length;N++){const $=_[N],ie=f[N];if($.startsWith(":"))b[$.substring(1)]=ie;else if($!==ie.path)return null}return{consumed:f.slice(0,_.length),posParams:b}}function mn(f,g){const c=f?Object.keys(f):void 0,_=g?Object.keys(g):void 0;if(!c||!_||c.length!=_.length)return!1;let b;for(let N=0;N<c.length;N++)if(b=c[N],!sr(f[b],g[b]))return!1;return!0}function sr(f,g){if(Array.isArray(f)&&Array.isArray(g)){if(f.length!==g.length)return!1;const c=[...f].sort(),_=[...g].sort();return c.every((b,N)=>_[N]===b)}return f===g}function an(f){return Array.prototype.concat.apply([],f)}function Dn(f){return f.length>0?f[f.length-1]:null}function gn(f,g){for(const c in f)f.hasOwnProperty(c)&&g(f[c],c)}function yt(f){return(0,l.CqO)(f)?f:(0,l.QGY)(f)?(0,Z.D)(Promise.resolve(f)):(0,Y.of)(f)}const Tn={exact:function En(f,g,c){if(!Et(f.segments,g.segments)||!Me(f.segments,g.segments,c)||f.numberOfChildren!==g.numberOfChildren)return!1;for(const _ in g.children)if(!f.children[_]||!En(f.children[_],g.children[_],c))return!1;return!0},subset:re},Wn={exact:function sn(f,g){return mn(f,g)},subset:function He(f,g){return Object.keys(g).length<=Object.keys(f).length&&Object.keys(g).every(c=>sr(f[c],g[c]))},ignored:()=>!0};function fr(f,g,c){return Tn[c.paths](f.root,g.root,c.matrixParams)&&Wn[c.queryParams](f.queryParams,g.queryParams)&&!("exact"===c.fragment&&f.fragment!==g.fragment)}function re(f,g,c){return W(f,g,g.segments,c)}function W(f,g,c,_){if(f.segments.length>c.length){const b=f.segments.slice(0,c.length);return!(!Et(b,c)||g.hasChildren()||!Me(b,c,_))}if(f.segments.length===c.length){if(!Et(f.segments,c)||!Me(f.segments,c,_))return!1;for(const b in g.children)if(!f.children[b]||!re(f.children[b],g.children[b],_))return!1;return!0}{const b=c.slice(0,f.segments.length),N=c.slice(f.segments.length);return!!(Et(f.segments,b)&&Me(f.segments,b,_)&&f.children[ye])&&W(f.children[ye],g,N,_)}}function Me(f,g,c){return g.every((_,b)=>Wn[c](f[b].parameters,_.parameters))}class qe{constructor(g,c,_){this.root=g,this.queryParams=c,this.fragment=_}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ot(this.queryParams)),this._queryParamMap}toString(){return St.serialize(this)}}class nt{constructor(g,c){this.segments=g,this.children=c,this.parent=null,gn(c,(_,b)=>_.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return jt(this)}}class At{constructor(g,c){this.path=g,this.parameters=c}get parameterMap(){return this._parameterMap||(this._parameterMap=Ot(this.parameters)),this._parameterMap}toString(){return te(this)}}function Et(f,g){return f.length===g.length&&f.every((c,_)=>c.path===g[_].path)}let Nt=(()=>{class f{}return f.\u0275fac=function(c){return new(c||f)},f.\u0275prov=l.Yz7({token:f,factory:function(){return new Fn},providedIn:"root"}),f})();class Fn{parse(g){const c=new vt(g);return new qe(c.parseRootSegment(),c.parseQueryParams(),c.parseFragment())}serialize(g){const c=`/${Zt(g.root,!0)}`,_=function de(f){const g=Object.keys(f).map(c=>{const _=f[c];return Array.isArray(_)?_.map(b=>`${Ve(c)}=${Ve(b)}`).join("&"):`${Ve(c)}=${Ve(_)}`}).filter(c=>!!c);return g.length?`?${g.join("&")}`:""}(g.queryParams);return`${c}${_}${"string"==typeof g.fragment?`#${function ut(f){return encodeURI(f)}(g.fragment)}`:""}`}}const St=new Fn;function jt(f){return f.segments.map(g=>te(g)).join("/")}function Zt(f,g){if(!f.hasChildren())return jt(f);if(g){const c=f.children[ye]?Zt(f.children[ye],!1):"",_=[];return gn(f.children,(b,N)=>{N!==ye&&_.push(`${N}:${Zt(b,!1)}`)}),_.length>0?`${c}(${_.join("//")})`:c}{const c=function In(f,g){let c=[];return gn(f.children,(_,b)=>{b===ye&&(c=c.concat(g(_,b)))}),gn(f.children,(_,b)=>{b!==ye&&(c=c.concat(g(_,b)))}),c}(f,(_,b)=>b===ye?[Zt(f.children[ye],!1)]:[`${b}:${Zt(_,!1)}`]);return 1===Object.keys(f.children).length&&null!=f.children[ye]?`${jt(f)}/${c[0]}`:`${jt(f)}/(${c.join("//")})`}}function lt(f){return encodeURIComponent(f).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ve(f){return lt(f).replace(/%3B/gi,";")}function Ft(f){return lt(f).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Vt(f){return decodeURIComponent(f)}function rn(f){return Vt(f.replace(/\+/g,"%20"))}function te(f){return`${Ft(f.path)}${function Q(f){return Object.keys(f).map(g=>`;${Ft(g)}=${Ft(f[g])}`).join("")}(f.parameters)}`}const Re=/^[^\/()?;=#]+/;function De(f){const g=f.match(Re);return g?g[0]:""}const ct=/^[^=?&#]+/,tn=/^[^&#]+/;class vt{constructor(g){this.url=g,this.remaining=g}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new nt([],{}):new nt([],this.parseChildren())}parseQueryParams(){const g={};if(this.consumeOptional("?"))do{this.parseQueryParam(g)}while(this.consumeOptional("&"));return g}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const g=[];for(this.peekStartsWith("(")||g.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),g.push(this.parseSegment());let c={};this.peekStartsWith("/(")&&(this.capture("/"),c=this.parseParens(!0));let _={};return this.peekStartsWith("(")&&(_=this.parseParens(!1)),(g.length>0||Object.keys(c).length>0)&&(_[ye]=new nt(g,c)),_}parseSegment(){const g=De(this.remaining);if(""===g&&this.peekStartsWith(";"))throw new l.vHH(4009,!1);return this.capture(g),new At(Vt(g),this.parseMatrixParams())}parseMatrixParams(){const g={};for(;this.consumeOptional(";");)this.parseParam(g);return g}parseParam(g){const c=De(this.remaining);if(!c)return;this.capture(c);let _="";if(this.consumeOptional("=")){const b=De(this.remaining);b&&(_=b,this.capture(_))}g[Vt(c)]=Vt(_)}parseQueryParam(g){const c=function Pt(f){const g=f.match(ct);return g?g[0]:""}(this.remaining);if(!c)return;this.capture(c);let _="";if(this.consumeOptional("=")){const $=function st(f){const g=f.match(tn);return g?g[0]:""}(this.remaining);$&&(_=$,this.capture(_))}const b=rn(c),N=rn(_);if(g.hasOwnProperty(b)){let $=g[b];Array.isArray($)||($=[$],g[b]=$),$.push(N)}else g[b]=N}parseParens(g){const c={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const _=De(this.remaining),b=this.remaining[_.length];if("/"!==b&&")"!==b&&";"!==b)throw new l.vHH(4010,!1);let N;_.indexOf(":")>-1?(N=_.slice(0,_.indexOf(":")),this.capture(N),this.capture(":")):g&&(N=ye);const $=this.parseChildren();c[N]=1===Object.keys($).length?$[ye]:new nt([],$),this.consumeOptional("//")}return c}peekStartsWith(g){return this.remaining.startsWith(g)}consumeOptional(g){return!!this.peekStartsWith(g)&&(this.remaining=this.remaining.substring(g.length),!0)}capture(g){if(!this.consumeOptional(g))throw new l.vHH(4011,!1)}}function $t(f){return f.segments.length>0?new nt([],{[ye]:f}):f}function se(f){const g={};for(const _ of Object.keys(f.children)){const N=se(f.children[_]);(N.segments.length>0||N.hasChildren())&&(g[_]=N)}return function ne(f){if(1===f.numberOfChildren&&f.children[ye]){const g=f.children[ye];return new nt(f.segments.concat(g.segments),g.children)}return f}(new nt(f.segments,g))}function U(f){return f instanceof qe}function bt(f,g,c,_,b){if(0===c.length)return mr(g.root,g.root,g.root,_,b);const N=function kr(f){if("string"==typeof f[0]&&1===f.length&&"/"===f[0])return new Kn(!0,0,f);let g=0,c=!1;const _=f.reduce((b,N,$)=>{if("object"==typeof N&&null!=N){if(N.outlets){const ie={};return gn(N.outlets,(Fe,it)=>{ie[it]="string"==typeof Fe?Fe.split("/"):Fe}),[...b,{outlets:ie}]}if(N.segmentPath)return[...b,N.segmentPath]}return"string"!=typeof N?[...b,N]:0===$?(N.split("/").forEach((ie,Fe)=>{0==Fe&&"."===ie||(0==Fe&&""===ie?c=!0:".."===ie?g++:""!=ie&&b.push(ie))}),b):[...b,N]},[]);return new Kn(c,g,_)}(c);return N.toRoot()?mr(g.root,g.root,new nt([],{}),_,b):function $(Fe){const it=function Ar(f,g,c,_){if(f.isAbsolute)return new lr(g.root,!0,0);if(-1===_)return new lr(c,c===g.root,0);return function ai(f,g,c){let _=f,b=g,N=c;for(;N>b;){if(N-=b,_=_.parent,!_)throw new l.vHH(4005,!1);b=_.segments.length}return new lr(_,!1,b-N)}(c,_+(kn(f.commands[0])?0:1),f.numberOfDoubleDots)}(N,g,f.snapshot?._urlSegment,Fe),Bt=it.processChildren?Ei(it.segmentGroup,it.index,N.commands):Hi(it.segmentGroup,it.index,N.commands);return mr(g.root,it.segmentGroup,Bt,_,b)}(f.snapshot?._lastPathIndex)}function kn(f){return"object"==typeof f&&null!=f&&!f.outlets&&!f.segmentPath}function Xn(f){return"object"==typeof f&&null!=f&&f.outlets}function mr(f,g,c,_,b){let $,N={};_&&gn(_,(Fe,it)=>{N[it]=Array.isArray(Fe)?Fe.map(Bt=>`${Bt}`):`${Fe}`}),$=f===g?c:Fr(f,g,c);const ie=$t(se($));return new qe(ie,N,b)}function Fr(f,g,c){const _={};return gn(f.children,(b,N)=>{_[N]=b===g?c:Fr(b,g,c)}),new nt(f.segments,_)}class Kn{constructor(g,c,_){if(this.isAbsolute=g,this.numberOfDoubleDots=c,this.commands=_,g&&_.length>0&&kn(_[0]))throw new l.vHH(4003,!1);const b=_.find(Xn);if(b&&b!==Dn(_))throw new l.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class lr{constructor(g,c,_){this.segmentGroup=g,this.processChildren=c,this.index=_}}function Hi(f,g,c){if(f||(f=new nt([],{})),0===f.segments.length&&f.hasChildren())return Ei(f,g,c);const _=function li(f,g,c){let _=0,b=g;const N={match:!1,pathIndex:0,commandIndex:0};for(;b<f.segments.length;){if(_>=c.length)return N;const $=f.segments[b],ie=c[_];if(Xn(ie))break;const Fe=`${ie}`,it=_<c.length-1?c[_+1]:null;if(b>0&&void 0===Fe)break;if(Fe&&it&&"object"==typeof it&&void 0===it.outlets){if(!Lr(Fe,it,$))return N;_+=2}else{if(!Lr(Fe,{},$))return N;_++}b++}return{match:!0,pathIndex:b,commandIndex:_}}(f,g,c),b=c.slice(_.commandIndex);if(_.match&&_.pathIndex<f.segments.length){const N=new nt(f.segments.slice(0,_.pathIndex),{});return N.children[ye]=new nt(f.segments.slice(_.pathIndex),f.children),Ei(N,0,b)}return _.match&&0===b.length?new nt(f.segments,{}):_.match&&!f.hasChildren()?qn(f,g,c):_.match?Ei(f,0,b):qn(f,g,c)}function Ei(f,g,c){if(0===c.length)return new nt(f.segments,{});{const _=function qt(f){return Xn(f[0])?f[0].outlets:{[ye]:f}}(c),b={};return gn(_,(N,$)=>{"string"==typeof N&&(N=[N]),null!==N&&(b[$]=Hi(f.children[$],g,N))}),gn(f.children,(N,$)=>{void 0===_[$]&&(b[$]=N)}),new nt(f.segments,b)}}function qn(f,g,c){const _=f.segments.slice(0,g);let b=0;for(;b<c.length;){const N=c[b];if(Xn(N)){const Fe=Tr(N.outlets);return new nt(_,Fe)}if(0===b&&kn(c[0])){_.push(new At(f.segments[g].path,zr(c[0]))),b++;continue}const $=Xn(N)?N.outlets[ye]:`${N}`,ie=b<c.length-1?c[b+1]:null;$&&ie&&kn(ie)?(_.push(new At($,zr(ie))),b+=2):(_.push(new At($,{})),b++)}return new nt(_,{})}function Tr(f){const g={};return gn(f,(c,_)=>{"string"==typeof c&&(c=[c]),null!==c&&(g[_]=qn(new nt([],{}),0,c))}),g}function zr(f){const g={};return gn(f,(c,_)=>g[_]=`${c}`),g}function Lr(f,g,c){return f==c.path&&mn(g,c.parameters)}class Cn{constructor(g,c){this.id=g,this.url=c}}class Ci extends Cn{constructor(g,c,_="imperative",b=null){super(g,c),this.type=0,this.navigationTrigger=_,this.restoredState=b}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Hn extends Cn{constructor(g,c,_){super(g,c),this.urlAfterRedirects=_,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class er extends Cn{constructor(g,c,_,b){super(g,c),this.reason=_,this.code=b,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class ui extends Cn{constructor(g,c,_,b){super(g,c),this.error=_,this.target=b,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class ji extends Cn{constructor(g,c,_,b){super(g,c),this.urlAfterRedirects=_,this.state=b,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class bi extends Cn{constructor(g,c,_,b){super(g,c),this.urlAfterRedirects=_,this.state=b,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ur extends Cn{constructor(g,c,_,b,N){super(g,c),this.urlAfterRedirects=_,this.state=b,this.shouldActivate=N,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class uo extends Cn{constructor(g,c,_,b){super(g,c),this.urlAfterRedirects=_,this.state=b,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class $i extends Cn{constructor(g,c,_,b){super(g,c),this.urlAfterRedirects=_,this.state=b,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ji{constructor(g){this.route=g,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class co{constructor(g){this.route=g,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Xi{constructor(g){this.snapshot=g,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class fo{constructor(g){this.snapshot=g,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class hs{constructor(g){this.snapshot=g,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class cr{constructor(g){this.snapshot=g,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ho{constructor(g,c,_){this.routerEvent=g,this.position=c,this.anchor=_,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class eo{constructor(g){this._root=g}get root(){return this._root.value}parent(g){const c=this.pathFromRoot(g);return c.length>1?c[c.length-2]:null}children(g){const c=Vo(g,this._root);return c?c.children.map(_=>_.value):[]}firstChild(g){const c=Vo(g,this._root);return c&&c.children.length>0?c.children[0].value:null}siblings(g){const c=Gi(g,this._root);return c.length<2?[]:c[c.length-2].children.map(b=>b.value).filter(b=>b!==g)}pathFromRoot(g){return Gi(g,this._root).map(c=>c.value)}}function Vo(f,g){if(f===g.value)return g;for(const c of g.children){const _=Vo(f,c);if(_)return _}return null}function Gi(f,g){if(f===g.value)return[g];for(const c of g.children){const _=Gi(f,c);if(_.length)return _.unshift(g),_}return[]}class Mr{constructor(g,c){this.value=g,this.children=c}toString(){return`TreeNode(${this.value})`}}function yr(f){const g={};return f&&f.children.forEach(c=>g[c.value.outlet]=c),g}class wi extends eo{constructor(g,c){super(g),this.snapshot=c,Ir(this,g)}toString(){return this.snapshot.toString()}}function gs(f,g){const c=function po(f,g){const $=new ci([],{},{},"",{},ye,g,null,f.root,-1,{});return new zi("",new Mr($,[]))}(f,g),_=new L.X([new At("",{})]),b=new L.X({}),N=new L.X({}),$=new L.X({}),ie=new L.X(""),Fe=new Sr(_,b,$,ie,N,ye,g,c.root);return Fe.snapshot=c.root,new wi(new Mr(Fe,[]),c)}class Sr{constructor(g,c,_,b,N,$,ie,Fe){this.url=g,this.params=c,this.queryParams=_,this.fragment=b,this.data=N,this.outlet=$,this.component=ie,this._futureSnapshot=Fe}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,ee.U)(g=>Ot(g)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,ee.U)(g=>Ot(g)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function ei(f,g="emptyOnly"){const c=f.pathFromRoot;let _=0;if("always"!==g)for(_=c.length-1;_>=1;){const b=c[_],N=c[_-1];if(b.routeConfig&&""===b.routeConfig.path)_--;else{if(N.component)break;_--}}return function Uo(f){return f.reduce((g,c)=>({params:{...g.params,...c.params},data:{...g.data,...c.data},resolve:{...c.data,...g.resolve,...c.routeConfig?.data,...c._resolvedData}}),{params:{},data:{},resolve:{}})}(c.slice(_))}class ci{constructor(g,c,_,b,N,$,ie,Fe,it,Bt,Dt,dn){this.url=g,this.params=c,this.queryParams=_,this.fragment=b,this.data=N,this.outlet=$,this.component=ie,this.routeConfig=Fe,this._urlSegment=it,this._lastPathIndex=Bt,this._correctedLastPathIndex=dn??Bt,this._resolve=Dt}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=Ot(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ot(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(_=>_.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class zi extends eo{constructor(g,c){super(c),this.url=g,Ir(this,c)}toString(){return ti(this._root)}}function Ir(f,g){g.value._routerState=f,g.children.forEach(c=>Ir(f,c))}function ti(f){const g=f.children.length>0?` { ${f.children.map(ti).join(", ")} } `:"";return`${f.value}${g}`}function Ai(f){if(f.snapshot){const g=f.snapshot,c=f._futureSnapshot;f.snapshot=c,mn(g.queryParams,c.queryParams)||f.queryParams.next(c.queryParams),g.fragment!==c.fragment&&f.fragment.next(c.fragment),mn(g.params,c.params)||f.params.next(c.params),function Rn(f,g){if(f.length!==g.length)return!1;for(let c=0;c<f.length;++c)if(!mn(f[c],g[c]))return!1;return!0}(g.url,c.url)||f.url.next(c.url),mn(g.data,c.data)||f.data.next(c.data)}else f.snapshot=f._futureSnapshot,f.data.next(f._futureSnapshot.data)}function di(f,g){const c=mn(f.params,g.params)&&function _t(f,g){return Et(f,g)&&f.every((c,_)=>mn(c.parameters,g[_].parameters))}(f.url,g.url);return c&&!(!f.parent!=!g.parent)&&(!f.parent||di(f.parent,g.parent))}function fi(f,g,c){if(c&&f.shouldReuseRoute(g.value,c.value.snapshot)){const _=c.value;_._futureSnapshot=g.value;const b=function Ti(f,g,c){return g.children.map(_=>{for(const b of c.children)if(f.shouldReuseRoute(_.value,b.value.snapshot))return fi(f,_,b);return fi(f,_)})}(f,g,c);return new Mr(_,b)}{if(f.shouldAttach(g.value)){const N=f.retrieve(g.value);if(null!==N){const $=N.route;return $.value._futureSnapshot=g.value,$.children=g.children.map(ie=>fi(f,ie)),$}}const _=function hi(f){return new Sr(new L.X(f.url),new L.X(f.params),new L.X(f.queryParams),new L.X(f.fragment),new L.X(f.data),f.outlet,f.component,f)}(g.value),b=g.children.map(N=>fi(f,N));return new Mr(_,b)}}const Wi="ngNavigationCancelingError";function to(f,g){const{redirectTo:c,navigationBehaviorOptions:_}=U(g)?{redirectTo:g,navigationBehaviorOptions:void 0}:g,b=jo(!1,0,g);return b.url=c,b.navigationBehaviorOptions=_,b}function jo(f,g,c){const _=new Error("NavigationCancelingError: "+(f||""));return _[Wi]=!0,_.cancellationCode=g,c&&(_.url=c),_}function Gn(f){return Or(f)&&U(f.url)}function Or(f){return f&&f[Wi]}class go{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new Br,this.attachRef=null}}let Br=(()=>{class f{constructor(){this.contexts=new Map}onChildOutletCreated(c,_){const b=this.getOrCreateContext(c);b.outlet=_,this.contexts.set(c,b)}onChildOutletDestroyed(c){const _=this.getContext(c);_&&(_.outlet=null,_.attachRef=null)}onOutletDeactivated(){const c=this.contexts;return this.contexts=new Map,c}onOutletReAttached(c){this.contexts=c}getOrCreateContext(c){let _=this.getContext(c);return _||(_=new go,this.contexts.set(c,_)),_}getContext(c){return this.contexts.get(c)||null}}return f.\u0275fac=function(c){return new(c||f)},f.\u0275prov=l.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"}),f})();const Mi=!1;let Ki=(()=>{class f{constructor(c,_,b,N,$){this.parentContexts=c,this.location=_,this.changeDetector=N,this.environmentInjector=$,this.activated=null,this._activatedRoute=null,this.activateEvents=new l.vpe,this.deactivateEvents=new l.vpe,this.attachEvents=new l.vpe,this.detachEvents=new l.vpe,this.name=b||ye,c.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.getContext(this.name)?.outlet===this&&this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const c=this.parentContexts.getContext(this.name);c&&c.route&&(c.attachRef?this.attach(c.attachRef,c.route):this.activateWith(c.route,c.injector))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new l.vHH(4012,Mi);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new l.vHH(4012,Mi);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new l.vHH(4012,Mi);this.location.detach();const c=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(c.instance),c}attach(c,_){this.activated=c,this._activatedRoute=_,this.location.insert(c.hostView),this.attachEvents.emit(c.instance)}deactivate(){if(this.activated){const c=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(c)}}activateWith(c,_){if(this.isActivated)throw new l.vHH(4013,Mi);this._activatedRoute=c;const b=this.location,$=c._futureSnapshot.component,ie=this.parentContexts.getOrCreateContext(this.name).children,Fe=new Mn(c,ie,b.injector);if(_&&function mo(f){return!!f.resolveComponentFactory}(_)){const it=_.resolveComponentFactory($);this.activated=b.createComponent(it,b.length,Fe)}else this.activated=b.createComponent($,{index:b.length,injector:Fe,environmentInjector:_??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return f.\u0275fac=function(c){return new(c||f)(l.Y36(Br),l.Y36(l.s_b),l.$8M("name"),l.Y36(l.sBO),l.Y36(l.lqb))},f.\u0275dir=l.lG2({type:f,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),f})();class Mn{constructor(g,c,_){this.route=g,this.childContexts=c,this.parent=_}get(g,c){return g===Sr?this.route:g===Br?this.childContexts:this.parent.get(g,c)}}let $o=(()=>{class f{}return f.\u0275fac=function(c){return new(c||f)},f.\u0275cmp=l.Xpm({type:f,selectors:[["ng-component"]],decls:1,vars:0,template:function(c,_){1&c&&l._UZ(0,"router-outlet")},dependencies:[Ki],encapsulation:2}),f})();function Si(f,g){return f.providers&&!f._injector&&(f._injector=(0,l.MMx)(f.providers,g,`Route: ${f.path}`)),f._injector??g}function F(f){const g=f.children&&f.children.map(F),c=g?{...f,children:g}:{...f};return!c.component&&!c.loadComponent&&(g||c.loadChildren)&&c.outlet&&c.outlet!==ye&&(c.component=$o),c}function oe(f){return f.outlet||ye}function Ne(f,g){const c=f.filter(_=>oe(_)===g);return c.push(...f.filter(_=>oe(_)!==g)),c}function Oe(f){if(!f)return null;if(f.routeConfig?._injector)return f.routeConfig._injector;for(let g=f.parent;g;g=g.parent){const c=g.routeConfig;if(c?._loadedInjector)return c._loadedInjector;if(c?._injector)return c._injector}return null}class Bn{constructor(g,c,_,b){this.routeReuseStrategy=g,this.futureState=c,this.currState=_,this.forwardEvent=b}activate(g){const c=this.futureState._root,_=this.currState?this.currState._root:null;this.deactivateChildRoutes(c,_,g),Ai(this.futureState.root),this.activateChildRoutes(c,_,g)}deactivateChildRoutes(g,c,_){const b=yr(c);g.children.forEach(N=>{const $=N.value.outlet;this.deactivateRoutes(N,b[$],_),delete b[$]}),gn(b,(N,$)=>{this.deactivateRouteAndItsChildren(N,_)})}deactivateRoutes(g,c,_){const b=g.value,N=c?c.value:null;if(b===N)if(b.component){const $=_.getContext(b.outlet);$&&this.deactivateChildRoutes(g,c,$.children)}else this.deactivateChildRoutes(g,c,_);else N&&this.deactivateRouteAndItsChildren(c,_)}deactivateRouteAndItsChildren(g,c){g.value.component&&this.routeReuseStrategy.shouldDetach(g.value.snapshot)?this.detachAndStoreRouteSubtree(g,c):this.deactivateRouteAndOutlet(g,c)}detachAndStoreRouteSubtree(g,c){const _=c.getContext(g.value.outlet),b=_&&g.value.component?_.children:c,N=yr(g);for(const $ of Object.keys(N))this.deactivateRouteAndItsChildren(N[$],b);if(_&&_.outlet){const $=_.outlet.detach(),ie=_.children.onOutletDeactivated();this.routeReuseStrategy.store(g.value.snapshot,{componentRef:$,route:g,contexts:ie})}}deactivateRouteAndOutlet(g,c){const _=c.getContext(g.value.outlet),b=_&&g.value.component?_.children:c,N=yr(g);for(const $ of Object.keys(N))this.deactivateRouteAndItsChildren(N[$],b);_&&_.outlet&&(_.outlet.deactivate(),_.children.onOutletDeactivated(),_.attachRef=null,_.resolver=null,_.route=null)}activateChildRoutes(g,c,_){const b=yr(c);g.children.forEach(N=>{this.activateRoutes(N,b[N.value.outlet],_),this.forwardEvent(new cr(N.value.snapshot))}),g.children.length&&this.forwardEvent(new fo(g.value.snapshot))}activateRoutes(g,c,_){const b=g.value,N=c?c.value:null;if(Ai(b),b===N)if(b.component){const $=_.getOrCreateContext(b.outlet);this.activateChildRoutes(g,c,$.children)}else this.activateChildRoutes(g,c,_);else if(b.component){const $=_.getOrCreateContext(b.outlet);if(this.routeReuseStrategy.shouldAttach(b.snapshot)){const ie=this.routeReuseStrategy.retrieve(b.snapshot);this.routeReuseStrategy.store(b.snapshot,null),$.children.onOutletReAttached(ie.contexts),$.attachRef=ie.componentRef,$.route=ie.route.value,$.outlet&&$.outlet.attach(ie.componentRef,ie.route.value),Ai(ie.route.value),this.activateChildRoutes(g,null,$.children)}else{const ie=Oe(b.snapshot),Fe=ie?.get(l._Vd)??null;$.attachRef=null,$.route=b,$.resolver=Fe,$.injector=ie,$.outlet&&$.outlet.activateWith(b,$.injector),this.activateChildRoutes(g,null,$.children)}}else this.activateChildRoutes(g,null,_)}}class bn{constructor(g){this.path=g,this.route=this.path[this.path.length-1]}}class wn{constructor(g,c){this.component=g,this.route=c}}function ln(f,g,c){const _=f._root;return Vn(_,g?g._root:null,c,[_.value])}function yn(f,g,c){return(Oe(g)??c).get(f)}function Vn(f,g,c,_,b={canDeactivateChecks:[],canActivateChecks:[]}){const N=yr(g);return f.children.forEach($=>{(function Ze(f,g,c,_,b={canDeactivateChecks:[],canActivateChecks:[]}){const N=f.value,$=g?g.value:null,ie=c?c.getContext(f.value.outlet):null;if($&&N.routeConfig===$.routeConfig){const Fe=function Wt(f,g,c){if("function"==typeof c)return c(f,g);switch(c){case"pathParamsChange":return!Et(f.url,g.url);case"pathParamsOrQueryParamsChange":return!Et(f.url,g.url)||!mn(f.queryParams,g.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!di(f,g)||!mn(f.queryParams,g.queryParams);default:return!di(f,g)}}($,N,N.routeConfig.runGuardsAndResolvers);Fe?b.canActivateChecks.push(new bn(_)):(N.data=$.data,N._resolvedData=$._resolvedData),Vn(f,g,N.component?ie?ie.children:null:c,_,b),Fe&&ie&&ie.outlet&&ie.outlet.isActivated&&b.canDeactivateChecks.push(new wn(ie.outlet.component,$))}else $&&Vr(g,ie,b),b.canActivateChecks.push(new bn(_)),Vn(f,null,N.component?ie?ie.children:null:c,_,b)})($,N[$.value.outlet],c,_.concat([$.value]),b),delete N[$.value.outlet]}),gn(N,($,ie)=>Vr($,c.getContext(ie),b)),b}function Vr(f,g,c){const _=yr(f),b=f.value;gn(_,(N,$)=>{Vr(N,b.component?g?g.children.getContext($):null:g,c)}),c.canDeactivateChecks.push(new wn(b.component&&g&&g.outlet&&g.outlet.isActivated?g.outlet.component:null,b))}function vr(f){return"function"==typeof f}function Rt(f){return f instanceof z.K||"EmptyError"===f?.name}const Un=Symbol("INITIAL_VALUE");function On(){return(0,fe.w)(f=>(0,ae.a)(f.map(g=>g.pipe((0,Ae.q)(1),(0,ve.O)(Un)))).pipe((0,ee.U)(g=>{for(const c of g)if(!0!==c){if(c===Un)return Un;if(!1===c||c instanceof qe)return c}return!0}),(0,ue.h)(g=>g!==Un),(0,Ae.q)(1)))}function vo(f){return(0,Pe.z)((0,Mt.b)(g=>{if(U(g))throw to(0,g)}),(0,ee.U)(g=>!0===g))}const Do={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function zo(f,g,c,_,b){const N=Wo(f,g,c);return N.matched?function Go(f,g,c,_){const b=g.canMatch;if(!b||0===b.length)return(0,Y.of)(!0);const N=b.map($=>{const ie=f.get($),Fe=function D(f){return f&&vr(f.canMatch)}(ie)?ie.canMatch(g,c):ie(g,c);return yt(Fe)});return(0,Y.of)(N).pipe(On(),vo())}(_=Si(g,_),g,c).pipe((0,ee.U)($=>!0===$?N:{...Do})):(0,Y.of)(N)}function Wo(f,g,c){if(""===g.path)return"full"===g.pathMatch&&(f.hasChildren()||c.length>0)?{...Do}:{matched:!0,consumedSegments:[],remainingSegments:c,parameters:{},positionalParamSegments:{}};const b=(g.matcher||xn)(c,f,g);if(!b)return{...Do};const N={};gn(b.posParams,(ie,Fe)=>{N[Fe]=ie.path});const $=b.consumed.length>0?{...N,...b.consumed[b.consumed.length-1].parameters}:N;return{matched:!0,consumedSegments:b.consumed,remainingSegments:c.slice(b.consumed.length),parameters:$,positionalParamSegments:b.posParams??{}}}function Pi(f,g,c,_,b="corrected"){if(c.length>0&&function Pa(f,g,c){return c.some(_=>Co(f,g,_)&&oe(_)!==ye)}(f,c,_)){const $=new nt(g,function Ko(f,g,c,_){const b={};b[ye]=_,_._sourceSegment=f,_._segmentIndexShift=g.length;for(const N of c)if(""===N.path&&oe(N)!==ye){const $=new nt([],{});$._sourceSegment=f,$._segmentIndexShift=g.length,b[oe(N)]=$}return b}(f,g,_,new nt(c,f.children)));return $._sourceSegment=f,$._segmentIndexShift=g.length,{segmentGroup:$,slicedSegments:[]}}if(0===c.length&&function Eo(f,g,c){return c.some(_=>Co(f,g,_))}(f,c,_)){const $=new nt(f.segments,function ys(f,g,c,_,b,N){const $={};for(const ie of _)if(Co(f,c,ie)&&!b[oe(ie)]){const Fe=new nt([],{});Fe._sourceSegment=f,Fe._segmentIndexShift="legacy"===N?f.segments.length:g.length,$[oe(ie)]=Fe}return{...b,...$}}(f,g,c,_,f.children,b));return $._sourceSegment=f,$._segmentIndexShift=g.length,{segmentGroup:$,slicedSegments:c}}const N=new nt(f.segments,f.children);return N._sourceSegment=f,N._segmentIndexShift=g.length,{segmentGroup:N,slicedSegments:c}}function Co(f,g,c){return(!(f.hasChildren()||g.length>0)||"full"!==c.pathMatch)&&""===c.path}function ca(f,g,c,_){return!!(oe(f)===_||_!==ye&&Co(g,c,f))&&("**"===f.path||Wo(g,f,c).matched)}function _s(f,g,c){return 0===g.length&&!f.children[c]}const tr=!1;class Wr{constructor(g){this.segmentGroup=g||null}}class zt{constructor(g){this.urlTree=g}}function Zo(f){return(0,$e._)(new Wr(f))}function js(f){return(0,$e._)(new zt(f))}class zs{constructor(g,c,_,b,N){this.injector=g,this.configLoader=c,this.urlSerializer=_,this.urlTree=b,this.config=N,this.allowRedirects=!0}apply(){const g=Pi(this.urlTree.root,[],[],this.config).segmentGroup,c=new nt(g.segments,g.children);return this.expandSegmentGroup(this.injector,this.config,c,ye).pipe((0,ee.U)(N=>this.createUrlTree(se(N),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,kt.K)(N=>{if(N instanceof zt)return this.allowRedirects=!1,this.match(N.urlTree);throw N instanceof Wr?this.noMatchError(N):N}))}match(g){return this.expandSegmentGroup(this.injector,this.config,g.root,ye).pipe((0,ee.U)(b=>this.createUrlTree(se(b),g.queryParams,g.fragment))).pipe((0,kt.K)(b=>{throw b instanceof Wr?this.noMatchError(b):b}))}noMatchError(g){return new l.vHH(4002,tr)}createUrlTree(g,c,_){const b=$t(g);return new qe(b,c,_)}expandSegmentGroup(g,c,_,b){return 0===_.segments.length&&_.hasChildren()?this.expandChildren(g,c,_).pipe((0,ee.U)(N=>new nt([],N))):this.expandSegment(g,_,c,_.segments,b,!0)}expandChildren(g,c,_){const b=[];for(const N of Object.keys(_.children))"primary"===N?b.unshift(N):b.push(N);return(0,Z.D)(b).pipe((0,gt.b)(N=>{const $=_.children[N],ie=Ne(c,N);return this.expandSegmentGroup(g,ie,$,N).pipe((0,ee.U)(Fe=>({segment:Fe,outlet:N})))}),Se((N,$)=>(N[$.outlet]=$.segment,N),{}),Ee())}expandSegment(g,c,_,b,N,$){return(0,Z.D)(_).pipe((0,gt.b)(ie=>this.expandSegmentAgainstRoute(g,c,_,ie,b,N,$).pipe((0,kt.K)(it=>{if(it instanceof Wr)return(0,Y.of)(null);throw it}))),(0,Je.P)(ie=>!!ie),(0,kt.K)((ie,Fe)=>{if(Rt(ie))return _s(c,b,N)?(0,Y.of)(new nt([],{})):Zo(c);throw ie}))}expandSegmentAgainstRoute(g,c,_,b,N,$,ie){return ca(b,c,N,$)?void 0===b.redirectTo?this.matchSegmentAgainstRoute(g,c,b,N,$):ie&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(g,c,_,b,N,$):Zo(c):Zo(c)}expandSegmentAgainstRouteUsingRedirect(g,c,_,b,N,$){return"**"===b.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(g,_,b,$):this.expandRegularSegmentAgainstRouteUsingRedirect(g,c,_,b,N,$)}expandWildCardWithParamsAgainstRouteUsingRedirect(g,c,_,b){const N=this.applyRedirectCommands([],_.redirectTo,{});return _.redirectTo.startsWith("/")?js(N):this.lineralizeSegments(_,N).pipe((0,Ue.z)($=>{const ie=new nt($,{});return this.expandSegment(g,ie,c,$,b,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(g,c,_,b,N,$){const{matched:ie,consumedSegments:Fe,remainingSegments:it,positionalParamSegments:Bt}=Wo(c,b,N);if(!ie)return Zo(c);const Dt=this.applyRedirectCommands(Fe,b.redirectTo,Bt);return b.redirectTo.startsWith("/")?js(Dt):this.lineralizeSegments(b,Dt).pipe((0,Ue.z)(dn=>this.expandSegment(g,c,_,dn.concat(it),$,!1)))}matchSegmentAgainstRoute(g,c,_,b,N){return"**"===_.path?(g=Si(_,g),_.loadChildren?(_._loadedRoutes?(0,Y.of)({routes:_._loadedRoutes,injector:_._loadedInjector}):this.configLoader.loadChildren(g,_)).pipe((0,ee.U)(ie=>(_._loadedRoutes=ie.routes,_._loadedInjector=ie.injector,new nt(b,{})))):(0,Y.of)(new nt(b,{}))):zo(c,_,b,g).pipe((0,fe.w)(({matched:$,consumedSegments:ie,remainingSegments:Fe})=>$?this.getChildConfig(g=_._injector??g,_,b).pipe((0,Ue.z)(Bt=>{const Dt=Bt.injector??g,dn=Bt.routes,{segmentGroup:Er,slicedSegments:Yr}=Pi(c,ie,Fe,dn),Fi=new nt(Er.segments,Er.children);if(0===Yr.length&&Fi.hasChildren())return this.expandChildren(Dt,dn,Fi).pipe((0,ee.U)(ta=>new nt(ie,ta)));if(0===dn.length&&0===Yr.length)return(0,Y.of)(new nt(ie,{}));const qr=oe(_)===N;return this.expandSegment(Dt,Fi,dn,Yr,qr?ye:N,!0).pipe((0,ee.U)(_i=>new nt(ie.concat(_i.segments),_i.children)))})):Zo(c)))}getChildConfig(g,c,_){return c.children?(0,Y.of)({routes:c.children,injector:g}):c.loadChildren?void 0!==c._loadedRoutes?(0,Y.of)({routes:c._loadedRoutes,injector:c._loadedInjector}):function ms(f,g,c,_){const b=g.canLoad;if(void 0===b||0===b.length)return(0,Y.of)(!0);const N=b.map($=>{const ie=f.get($),Fe=function Ii(f){return f&&vr(f.canLoad)}(ie)?ie.canLoad(g,c):ie(g,c);return yt(Fe)});return(0,Y.of)(N).pipe(On(),vo())}(g,c,_).pipe((0,Ue.z)(b=>b?this.configLoader.loadChildren(g,c).pipe((0,Mt.b)(N=>{c._loadedRoutes=N.routes,c._loadedInjector=N.injector})):function Gs(f){return(0,$e._)(jo(tr,3))}())):(0,Y.of)({routes:[],injector:g})}lineralizeSegments(g,c){let _=[],b=c.root;for(;;){if(_=_.concat(b.segments),0===b.numberOfChildren)return(0,Y.of)(_);if(b.numberOfChildren>1||!b.children[ye])return(0,$e._)(new l.vHH(4e3,tr));b=b.children[ye]}}applyRedirectCommands(g,c,_){return this.applyRedirectCreateUrlTree(c,this.urlSerializer.parse(c),g,_)}applyRedirectCreateUrlTree(g,c,_,b){const N=this.createSegmentGroup(g,c.root,_,b);return new qe(N,this.createQueryParams(c.queryParams,this.urlTree.queryParams),c.fragment)}createQueryParams(g,c){const _={};return gn(g,(b,N)=>{if("string"==typeof b&&b.startsWith(":")){const ie=b.substring(1);_[N]=c[ie]}else _[N]=b}),_}createSegmentGroup(g,c,_,b){const N=this.createSegments(g,c.segments,_,b);let $={};return gn(c.children,(ie,Fe)=>{$[Fe]=this.createSegmentGroup(g,ie,_,b)}),new nt(N,$)}createSegments(g,c,_,b){return c.map(N=>N.path.startsWith(":")?this.findPosParam(g,N,b):this.findOrReturn(N,_))}findPosParam(g,c,_){const b=_[c.path.substring(1)];if(!b)throw new l.vHH(4001,tr);return b}findOrReturn(g,c){let _=0;for(const b of c){if(b.path===g.path)return c.splice(_),b;_++}return g}}class Ws{}class il{constructor(g,c,_,b,N,$,ie,Fe){this.injector=g,this.rootComponentType=c,this.config=_,this.urlTree=b,this.url=N,this.paramsInheritanceStrategy=$,this.relativeLinkResolution=ie,this.urlSerializer=Fe}recognize(){const g=Pi(this.urlTree.root,[],[],this.config.filter(c=>void 0===c.redirectTo),this.relativeLinkResolution).segmentGroup;return this.processSegmentGroup(this.injector,this.config,g,ye).pipe((0,ee.U)(c=>{if(null===c)return null;const _=new ci([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},ye,this.rootComponentType,null,this.urlTree.root,-1,{}),b=new Mr(_,c),N=new zi(this.url,b);return this.inheritParamsAndData(N._root),N}))}inheritParamsAndData(g){const c=g.value,_=ei(c,this.paramsInheritanceStrategy);c.params=Object.freeze(_.params),c.data=Object.freeze(_.data),g.children.forEach(b=>this.inheritParamsAndData(b))}processSegmentGroup(g,c,_,b){return 0===_.segments.length&&_.hasChildren()?this.processChildren(g,c,_):this.processSegment(g,c,_,_.segments,b)}processChildren(g,c,_){return(0,Z.D)(Object.keys(_.children)).pipe((0,gt.b)(b=>{const N=_.children[b],$=Ne(c,b);return this.processSegmentGroup(g,$,N,b)}),Se((b,N)=>b&&N?(b.push(...N),b):null),(0,dt.o)(b=>null!==b),(0,Ke.d)(null),Ee(),(0,ee.U)(b=>{if(null===b)return null;const N=da(b);return function mi(f){f.sort((g,c)=>g.value.outlet===ye?-1:c.value.outlet===ye?1:g.value.outlet.localeCompare(c.value.outlet))}(N),N}))}processSegment(g,c,_,b,N){return(0,Z.D)(c).pipe((0,gt.b)($=>this.processSegmentAgainstRoute($._injector??g,$,_,b,N)),(0,Je.P)($=>!!$),(0,kt.K)($=>{if(Rt($))return _s(_,b,N)?(0,Y.of)([]):(0,Y.of)(null);throw $}))}processSegmentAgainstRoute(g,c,_,b,N){if(c.redirectTo||!ca(c,_,b,N))return(0,Y.of)(null);let $;if("**"===c.path){const ie=b.length>0?Dn(b).parameters:{},Fe=ar(_)+b.length,it=new ci(b,ie,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Fa(c),oe(c),c.component??c._loadedComponent??null,c,Jo(_),Fe,ka(c),Fe);$=(0,Y.of)({snapshot:it,consumedSegments:[],remainingSegments:[]})}else $=zo(_,c,b,g).pipe((0,ee.U)(({matched:ie,consumedSegments:Fe,remainingSegments:it,parameters:Bt})=>{if(!ie)return null;const Dt=ar(_)+Fe.length;return{snapshot:new ci(Fe,Bt,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Fa(c),oe(c),c.component??c._loadedComponent??null,c,Jo(_),Dt,ka(c),Dt),consumedSegments:Fe,remainingSegments:it}}));return $.pipe((0,fe.w)(ie=>{if(null===ie)return(0,Y.of)(null);const{snapshot:Fe,consumedSegments:it,remainingSegments:Bt}=ie;g=c._injector??g;const Dt=c._loadedInjector??g,dn=function qo(f){return f.children?f.children:f.loadChildren?f._loadedRoutes:[]}(c),{segmentGroup:Er,slicedSegments:Yr}=Pi(_,it,Bt,dn.filter(qr=>void 0===qr.redirectTo),this.relativeLinkResolution);if(0===Yr.length&&Er.hasChildren())return this.processChildren(Dt,dn,Er).pipe((0,ee.U)(qr=>null===qr?null:[new Mr(Fe,qr)]));if(0===dn.length&&0===Yr.length)return(0,Y.of)([new Mr(Fe,[])]);const Fi=oe(c)===N;return this.processSegment(Dt,dn,Er,Yr,Fi?ye:N).pipe((0,ee.U)(qr=>null===qr?null:[new Mr(Fe,qr)]))}))}}function Na(f){const g=f.value.routeConfig;return g&&""===g.path&&void 0===g.redirectTo}function da(f){const g=[],c=new Set;for(const _ of f){if(!Na(_)){g.push(_);continue}const b=g.find(N=>_.value.routeConfig===N.value.routeConfig);void 0!==b?(b.children.push(..._.children),c.add(b)):g.push(_)}for(const _ of c){const b=da(_.children);g.push(new Mr(_.value,b))}return g.filter(_=>!c.has(_))}function Jo(f){let g=f;for(;g._sourceSegment;)g=g._sourceSegment;return g}function ar(f){let g=f,c=g._segmentIndexShift??0;for(;g._sourceSegment;)g=g._sourceSegment,c+=g._segmentIndexShift??0;return c-1}function Fa(f){return f.data||{}}function ka(f){return f.resolve||{}}const wo=Symbol("RouteTitle");function ga(f){return"string"==typeof f.title||null===f.title}function Qn(f){return(0,fe.w)(g=>{const c=f(g);return c?(0,Z.D)(c).pipe((0,ee.U)(()=>g)):(0,Y.of)(g)})}let Es=(()=>{class f{buildTitle(c){let _,b=c.root;for(;void 0!==b;)_=this.getResolvedTitleForRoute(b)??_,b=b.children.find(N=>N.outlet===ye);return _}getResolvedTitleForRoute(c){return c.data[wo]}}return f.\u0275fac=function(c){return new(c||f)},f.\u0275prov=l.Yz7({token:f,factory:function(){return(0,l.f3M)(Xo)},providedIn:"root"}),f})(),Xo=(()=>{class f extends Es{constructor(c){super(),this.title=c}updateTitle(c){const _=this.buildTitle(c);void 0!==_&&this.title.setTitle(_)}}return f.\u0275fac=function(c){return new(c||f)(l.LFG(he.Dx))},f.\u0275prov=l.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"}),f})();class ol{}class La extends class Zs{shouldDetach(g){return!1}store(g,c){}shouldAttach(g){return!1}retrieve(g){return null}shouldReuseRoute(g,c){return g.routeConfig===c.routeConfig}}{}const Pr=new l.OlP("",{providedIn:"root",factory:()=>({})}),ri=new l.OlP("ROUTES");let Ur=(()=>{class f{constructor(c,_){this.injector=c,this.compiler=_,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(c){if(this.componentLoaders.get(c))return this.componentLoaders.get(c);if(c._loadedComponent)return(0,Y.of)(c._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(c);const _=yt(c.loadComponent()).pipe((0,Mt.b)(N=>{this.onLoadEndListener&&this.onLoadEndListener(c),c._loadedComponent=N}),(0,We.x)(()=>{this.componentLoaders.delete(c)})),b=new G(_,()=>new le.x).pipe(X());return this.componentLoaders.set(c,b),b}loadChildren(c,_){if(this.childrenLoaders.get(_))return this.childrenLoaders.get(_);if(_._loadedRoutes)return(0,Y.of)({routes:_._loadedRoutes,injector:_._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(_);const N=this.loadModuleFactoryOrRoutes(_.loadChildren).pipe((0,ee.U)(ie=>{this.onLoadEndListener&&this.onLoadEndListener(_);let Fe,it,Bt=!1;Array.isArray(ie)?it=ie:(Fe=ie.create(c).injector,it=an(Fe.get(ri,[],l.XFs.Self|l.XFs.Optional)));return{routes:it.map(F),injector:Fe}}),(0,We.x)(()=>{this.childrenLoaders.delete(_)})),$=new G(N,()=>new le.x).pipe(X());return this.childrenLoaders.set(_,$),$}loadModuleFactoryOrRoutes(c){return yt(c()).pipe((0,Ue.z)(_=>_ instanceof l.YKP||Array.isArray(_)?(0,Y.of)(_):(0,Z.D)(this.compiler.compileModuleAsync(_))))}}return f.\u0275fac=function(c){return new(c||f)(l.LFG(l.zs3),l.LFG(l.Sil))},f.\u0275prov=l.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"}),f})();class Mo{}class So{shouldProcessUrl(g){return!0}extract(g){return g}merge(g,c){return g}}function Ys(f){throw f}function pr(f,g,c){return g.parse("/")}const qs={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Io={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function es(){const f=(0,l.f3M)(Nt),g=(0,l.f3M)(Br),c=(0,l.f3M)(Ge.Ye),_=(0,l.f3M)(l.zs3),b=(0,l.f3M)(l.Sil),N=(0,l.f3M)(ri,{optional:!0})??[],$=(0,l.f3M)(Pr,{optional:!0})??{},ie=(0,l.f3M)(Xo),Fe=(0,l.f3M)(Es,{optional:!0}),it=(0,l.f3M)(Mo,{optional:!0}),Bt=(0,l.f3M)(ol,{optional:!0}),Dt=new Yn(null,f,g,c,_,b,an(N));return it&&(Dt.urlHandlingStrategy=it),Bt&&(Dt.routeReuseStrategy=Bt),Dt.titleStrategy=Fe??ie,function Qs(f,g){f.errorHandler&&(g.errorHandler=f.errorHandler),f.malformedUriErrorHandler&&(g.malformedUriErrorHandler=f.malformedUriErrorHandler),f.onSameUrlNavigation&&(g.onSameUrlNavigation=f.onSameUrlNavigation),f.paramsInheritanceStrategy&&(g.paramsInheritanceStrategy=f.paramsInheritanceStrategy),f.relativeLinkResolution&&(g.relativeLinkResolution=f.relativeLinkResolution),f.urlUpdateStrategy&&(g.urlUpdateStrategy=f.urlUpdateStrategy),f.canceledNavigationResolution&&(g.canceledNavigationResolution=f.canceledNavigationResolution)}($,Dt),Dt}let Yn=(()=>{class f{constructor(c,_,b,N,$,ie,Fe){this.rootComponentType=c,this.urlSerializer=_,this.rootContexts=b,this.location=N,this.config=Fe,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new le.x,this.errorHandler=Ys,this.malformedUriErrorHandler=pr,this.navigated=!1,this.lastSuccessfulId=-1,this.afterPreactivation=()=>(0,Y.of)(void 0),this.urlHandlingStrategy=new So,this.routeReuseStrategy=new La,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.configLoader=$.get(Ur),this.configLoader.onLoadEndListener=dn=>this.triggerEvent(new co(dn)),this.configLoader.onLoadStartListener=dn=>this.triggerEvent(new Ji(dn)),this.ngModule=$.get(l.h0i),this.console=$.get(l.c2e);const Dt=$.get(l.R0b);this.isNgZoneEnabled=Dt instanceof l.R0b&&l.R0b.isInAngularZone(),this.resetConfig(Fe),this.currentUrlTree=function Ln(){return new qe(new nt([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=gs(this.currentUrlTree,this.rootComponentType),this.transitions=new L.X({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){return this.location.getState()?.\u0275routerPageId}setupNavigations(c){const _=this.events;return c.pipe((0,ue.h)(b=>0!==b.id),(0,ee.U)(b=>({...b,extractedUrl:this.urlHandlingStrategy.extract(b.rawUrl)})),(0,fe.w)(b=>{let N=!1,$=!1;return(0,Y.of)(b).pipe((0,Mt.b)(ie=>{this.currentNavigation={id:ie.id,initialUrl:ie.rawUrl,extractedUrl:ie.extractedUrl,trigger:ie.source,extras:ie.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,fe.w)(ie=>{const Fe=this.browserUrlTree.toString(),it=!this.navigated||ie.extractedUrl.toString()!==Fe||Fe!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||it)&&this.urlHandlingStrategy.shouldProcessUrl(ie.rawUrl))return ya(ie.source)&&(this.browserUrlTree=ie.extractedUrl),(0,Y.of)(ie).pipe((0,fe.w)(Dt=>{const dn=this.transitions.getValue();return _.next(new Ci(Dt.id,this.serializeUrl(Dt.extractedUrl),Dt.source,Dt.restoredState)),dn!==this.transitions.getValue()?be.E:Promise.resolve(Dt)}),function vs(f,g,c,_){return(0,fe.w)(b=>function xa(f,g,c,_,b){return new zs(f,g,c,_,b).apply()}(f,g,c,b.extractedUrl,_).pipe((0,ee.U)(N=>({...b,urlAfterRedirects:N}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,Mt.b)(Dt=>{this.currentNavigation={...this.currentNavigation,finalUrl:Dt.urlAfterRedirects},b.urlAfterRedirects=Dt.urlAfterRedirects}),function Ds(f,g,c,_,b,N){return(0,Ue.z)($=>function Ra(f,g,c,_,b,N,$="emptyOnly",ie="legacy"){return new il(f,g,c,_,b,$,ie,N).recognize().pipe((0,fe.w)(Fe=>null===Fe?function Yo(f){return new d.y(g=>g.error(f))}(new Ws):(0,Y.of)(Fe)))}(f,g,c,$.urlAfterRedirects,_.serialize($.urlAfterRedirects),_,b,N).pipe((0,ee.U)(ie=>({...$,targetSnapshot:ie}))))}(this.ngModule.injector,this.rootComponentType,this.config,this.urlSerializer,this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,Mt.b)(Dt=>{if(b.targetSnapshot=Dt.targetSnapshot,"eager"===this.urlUpdateStrategy){if(!Dt.extras.skipLocationChange){const Er=this.urlHandlingStrategy.merge(Dt.urlAfterRedirects,Dt.rawUrl);this.setBrowserUrl(Er,Dt)}this.browserUrlTree=Dt.urlAfterRedirects}const dn=new ji(Dt.id,this.serializeUrl(Dt.extractedUrl),this.serializeUrl(Dt.urlAfterRedirects),Dt.targetSnapshot);_.next(dn)}));if(it&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:dn,extractedUrl:Er,source:Yr,restoredState:Fi,extras:qr}=ie,ea=new Ci(dn,this.serializeUrl(Er),Yr,Fi);_.next(ea);const _i=gs(Er,this.rootComponentType).snapshot;return b={...ie,targetSnapshot:_i,urlAfterRedirects:Er,extras:{...qr,skipLocationChange:!1,replaceUrl:!1}},(0,Y.of)(b)}return this.rawUrlTree=ie.rawUrl,ie.resolve(null),be.E}),(0,Mt.b)(ie=>{const Fe=new bi(ie.id,this.serializeUrl(ie.extractedUrl),this.serializeUrl(ie.urlAfterRedirects),ie.targetSnapshot);this.triggerEvent(Fe)}),(0,ee.U)(ie=>b={...ie,guards:ln(ie.targetSnapshot,ie.currentSnapshot,this.rootContexts)}),function Dr(f,g){return(0,Ue.z)(c=>{const{targetSnapshot:_,currentSnapshot:b,guards:{canActivateChecks:N,canDeactivateChecks:$}}=c;return 0===$.length&&0===N.length?(0,Y.of)({...c,guardsResult:!0}):function yo(f,g,c,_){return(0,Z.D)(f).pipe((0,Ue.z)(b=>function gi(f,g,c,_,b){const N=g&&g.routeConfig?g.routeConfig.canDeactivate:null;if(!N||0===N.length)return(0,Y.of)(!0);const $=N.map(ie=>{const Fe=yn(ie,g,b);return yt(function E(f){return f&&vr(f.canDeactivate)}(Fe)?Fe.canDeactivate(f,g,c,_):Fe(f,g,c,_)).pipe((0,Je.P)())});return(0,Y.of)($).pipe(On())}(b.component,b.route,c,g,_)),(0,Je.P)(b=>!0!==b,!0))}($,_,b,f).pipe((0,Ue.z)(ie=>ie&&function jn(f){return"boolean"==typeof f}(ie)?function _o(f,g,c,_){return(0,Z.D)(g).pipe((0,gt.b)(b=>(0,Be.z)(function Ia(f,g){return null!==f&&g&&g(new Xi(f)),(0,Y.of)(!0)}(b.route.parent,_),function Oi(f,g){return null!==f&&g&&g(new hs(f)),(0,Y.of)(!0)}(b.route,_),function Oa(f,g,c){const _=g[g.length-1],N=g.slice(0,g.length-1).reverse().map($=>function zn(f){const g=f.routeConfig?f.routeConfig.canActivateChild:null;return g&&0!==g.length?{node:f,guards:g}:null}($)).filter($=>null!==$).map($=>(0,xe.P)(()=>{const ie=$.guards.map(Fe=>{const it=yn(Fe,$.node,c);return yt(function M(f){return f&&vr(f.canActivateChild)}(it)?it.canActivateChild(_,f):it(_,f)).pipe((0,Je.P)())});return(0,Y.of)(ie).pipe(On())}));return(0,Y.of)(N).pipe(On())}(f,b.path,c),function Hs(f,g,c){const _=g.routeConfig?g.routeConfig.canActivate:null;if(!_||0===_.length)return(0,Y.of)(!0);const b=_.map(N=>(0,xe.P)(()=>{const $=yn(N,g,c);return yt(function pi(f){return f&&vr(f.canActivate)}($)?$.canActivate(g,f):$(g,f)).pipe((0,Je.P)())}));return(0,Y.of)(b).pipe(On())}(f,b.route,c))),(0,Je.P)(b=>!0!==b,!0))}(_,N,f,g):(0,Y.of)(ie)),(0,ee.U)(ie=>({...c,guardsResult:ie})))})}(this.ngModule.injector,ie=>this.triggerEvent(ie)),(0,Mt.b)(ie=>{if(b.guardsResult=ie.guardsResult,U(ie.guardsResult))throw to(0,ie.guardsResult);const Fe=new ur(ie.id,this.serializeUrl(ie.extractedUrl),this.serializeUrl(ie.urlAfterRedirects),ie.targetSnapshot,!!ie.guardsResult);this.triggerEvent(Fe)}),(0,ue.h)(ie=>!!ie.guardsResult||(this.restoreHistory(ie),this.cancelNavigationTransition(ie,"",3),!1)),Qn(ie=>{if(ie.guards.canActivateChecks.length)return(0,Y.of)(ie).pipe((0,Mt.b)(Fe=>{const it=new uo(Fe.id,this.serializeUrl(Fe.extractedUrl),this.serializeUrl(Fe.urlAfterRedirects),Fe.targetSnapshot);this.triggerEvent(it)}),(0,fe.w)(Fe=>{let it=!1;return(0,Y.of)(Fe).pipe(function fa(f,g){return(0,Ue.z)(c=>{const{targetSnapshot:_,guards:{canActivateChecks:b}}=c;if(!b.length)return(0,Y.of)(c);let N=0;return(0,Z.D)(b).pipe((0,gt.b)($=>function Ao(f,g,c,_){const b=f.routeConfig,N=f._resolve;return void 0!==b?.title&&!ga(b)&&(N[wo]=b.title),function ha(f,g,c,_){const b=function pa(f){return[...Object.keys(f),...Object.getOwnPropertySymbols(f)]}(f);if(0===b.length)return(0,Y.of)({});const N={};return(0,Z.D)(b).pipe((0,Ue.z)($=>function To(f,g,c,_){const b=yn(f,g,_);return yt(b.resolve?b.resolve(g,c):b(g,c))}(f[$],g,c,_).pipe((0,Je.P)(),(0,Mt.b)(ie=>{N[$]=ie}))),we(1),(0,hn.h)(N),(0,kt.K)($=>Rt($)?be.E:(0,$e._)($)))}(N,f,g,_).pipe((0,ee.U)($=>(f._resolvedData=$,f.data=ei(f,c).resolve,b&&ga(b)&&(f.data[wo]=b.title),null)))}($.route,_,f,g)),(0,Mt.b)(()=>N++),we(1),(0,Ue.z)($=>N===b.length?(0,Y.of)(c):be.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,Mt.b)({next:()=>it=!0,complete:()=>{it||(this.restoreHistory(Fe),this.cancelNavigationTransition(Fe,"",2))}}))}),(0,Mt.b)(Fe=>{const it=new $i(Fe.id,this.serializeUrl(Fe.extractedUrl),this.serializeUrl(Fe.urlAfterRedirects),Fe.targetSnapshot);this.triggerEvent(it)}))}),Qn(ie=>{const Fe=it=>{const Bt=[];it.routeConfig?.loadComponent&&!it.routeConfig._loadedComponent&&Bt.push(this.configLoader.loadComponent(it.routeConfig).pipe((0,Mt.b)(Dt=>{it.component=Dt}),(0,ee.U)(()=>{})));for(const Dt of it.children)Bt.push(...Fe(Dt));return Bt};return(0,ae.a)(Fe(ie.targetSnapshot.root)).pipe((0,Ke.d)(),(0,Ae.q)(1))}),Qn(()=>this.afterPreactivation()),(0,ee.U)(ie=>{const Fe=function Ho(f,g,c){const _=fi(f,g._root,c?c._root:void 0);return new wi(_,g)}(this.routeReuseStrategy,ie.targetSnapshot,ie.currentRouterState);return b={...ie,targetRouterState:Fe}}),(0,Mt.b)(ie=>{this.currentUrlTree=ie.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(ie.urlAfterRedirects,ie.rawUrl),this.routerState=ie.targetRouterState,"deferred"===this.urlUpdateStrategy&&(ie.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,ie),this.browserUrlTree=ie.urlAfterRedirects)}),((f,g,c)=>(0,ee.U)(_=>(new Bn(g,_.targetRouterState,_.currentRouterState,c).activate(f),_)))(this.rootContexts,this.routeReuseStrategy,ie=>this.triggerEvent(ie)),(0,Mt.b)({next(){N=!0},complete(){N=!0}}),(0,We.x)(()=>{N||$||this.cancelNavigationTransition(b,"",1),this.currentNavigation?.id===b.id&&(this.currentNavigation=null)}),(0,kt.K)(ie=>{if($=!0,Or(ie)){Gn(ie)||(this.navigated=!0,this.restoreHistory(b,!0));const Fe=new er(b.id,this.serializeUrl(b.extractedUrl),ie.message,ie.cancellationCode);if(_.next(Fe),Gn(ie)){const it=this.urlHandlingStrategy.merge(ie.url,this.rawUrlTree),Bt={skipLocationChange:b.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||ya(b.source)};this.scheduleNavigation(it,"imperative",null,Bt,{resolve:b.resolve,reject:b.reject,promise:b.promise})}else b.resolve(!1)}else{this.restoreHistory(b,!0);const Fe=new ui(b.id,this.serializeUrl(b.extractedUrl),ie,b.targetSnapshot??void 0);_.next(Fe);try{b.resolve(this.errorHandler(ie))}catch(it){b.reject(it)}}return be.E}))}))}resetRootComponentType(c){this.rootComponentType=c,this.routerState.root.component=this.rootComponentType}setTransition(c){this.transitions.next({...this.transitions.value,...c})}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(c=>{const _="popstate"===c.type?"popstate":"hashchange";"popstate"===_&&setTimeout(()=>{const b={replaceUrl:!0},N=c.state?.navigationId?c.state:null;if(N){const ie={...N};delete ie.navigationId,delete ie.\u0275routerPageId,0!==Object.keys(ie).length&&(b.state=ie)}const $=this.parseUrl(c.url);this.scheduleNavigation($,_,N,b)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(c){this.events.next(c)}resetConfig(c){this.config=c.map(F),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(c,_={}){const{relativeTo:b,queryParams:N,fragment:$,queryParamsHandling:ie,preserveFragment:Fe}=_,it=b||this.routerState.root,Bt=Fe?this.currentUrlTree.fragment:$;let Dt=null;switch(ie){case"merge":Dt={...this.currentUrlTree.queryParams,...N};break;case"preserve":Dt=this.currentUrlTree.queryParams;break;default:Dt=N||null}return null!==Dt&&(Dt=this.removeEmptyProps(Dt)),bt(it,this.currentUrlTree,c,Dt,Bt??null)}navigateByUrl(c,_={skipLocationChange:!1}){const b=U(c)?c:this.parseUrl(c),N=this.urlHandlingStrategy.merge(b,this.rawUrlTree);return this.scheduleNavigation(N,"imperative",null,_)}navigate(c,_={skipLocationChange:!1}){return function Oo(f){for(let g=0;g<f.length;g++){if(null==f[g])throw new l.vHH(4008,false)}}(c),this.navigateByUrl(this.createUrlTree(c,_),_)}serializeUrl(c){return this.urlSerializer.serialize(c)}parseUrl(c){let _;try{_=this.urlSerializer.parse(c)}catch(b){_=this.malformedUriErrorHandler(b,this.urlSerializer,c)}return _}isActive(c,_){let b;if(b=!0===_?{...qs}:!1===_?{...Io}:_,U(c))return fr(this.currentUrlTree,c,b);const N=this.parseUrl(c);return fr(this.currentUrlTree,N,b)}removeEmptyProps(c){return Object.keys(c).reduce((_,b)=>{const N=c[b];return null!=N&&(_[b]=N),_},{})}processNavigations(){this.navigations.subscribe(c=>{this.navigated=!0,this.lastSuccessfulId=c.id,this.currentPageId=c.targetPageId,this.events.next(new Hn(c.id,this.serializeUrl(c.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.titleStrategy?.updateTitle(this.routerState.snapshot),c.resolve(!0)},c=>{this.console.warn(`Unhandled Navigation Error: ${c}`)})}scheduleNavigation(c,_,b,N,$){if(this.disposed)return Promise.resolve(!1);let ie,Fe,it;$?(ie=$.resolve,Fe=$.reject,it=$.promise):it=new Promise((dn,Er)=>{ie=dn,Fe=Er});const Bt=++this.navigationId;let Dt;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(b=this.location.getState()),Dt=b&&b.\u0275routerPageId?b.\u0275routerPageId:N.replaceUrl||N.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1):Dt=0,this.setTransition({id:Bt,targetPageId:Dt,source:_,restoredState:b,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:c,extras:N,resolve:ie,reject:Fe,promise:it,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),it.catch(dn=>Promise.reject(dn))}setBrowserUrl(c,_){const b=this.urlSerializer.serialize(c),N={..._.extras.state,...this.generateNgRouterState(_.id,_.targetPageId)};this.location.isCurrentPathEqualTo(b)||_.extras.replaceUrl?this.location.replaceState(b,"",N):this.location.go(b,"",N)}restoreHistory(c,_=!1){if("computed"===this.canceledNavigationResolution){const b=this.currentPageId-c.targetPageId;"popstate"!==c.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.currentNavigation?.finalUrl||0===b?this.currentUrlTree===this.currentNavigation?.finalUrl&&0===b&&(this.resetState(c),this.browserUrlTree=c.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(b)}else"replace"===this.canceledNavigationResolution&&(_&&this.resetState(c),this.resetUrlToCurrentUrlTree())}resetState(c){this.routerState=c.currentRouterState,this.currentUrlTree=c.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,c.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(c,_,b){const N=new er(c.id,this.serializeUrl(c.extractedUrl),_,b);this.triggerEvent(N),c.resolve(!1)}generateNgRouterState(c,_){return"computed"===this.canceledNavigationResolution?{navigationId:c,\u0275routerPageId:_}:{navigationId:c}}}return f.\u0275fac=function(c){l.$Z()},f.\u0275prov=l.Yz7({token:f,factory:function(){return es()},providedIn:"root"}),f})();function ya(f){return"imperative"!==f}let Kr=(()=>{class f{constructor(c,_,b,N,$){this.router=c,this.route=_,this.tabIndexAttribute=b,this.renderer=N,this.el=$,this.commands=null,this.onChanges=new le.x,this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(c){if(null!=this.tabIndexAttribute)return;const _=this.renderer,b=this.el.nativeElement;null!==c?_.setAttribute(b,"tabindex",c):_.removeAttribute(b,"tabindex")}ngOnChanges(c){this.onChanges.next(this)}set routerLink(c){null!=c?(this.commands=Array.isArray(c)?c:[c],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(){if(null===this.urlTree)return!0;const c={skipLocationChange:(0,l.D6c)(this.skipLocationChange),replaceUrl:(0,l.D6c)(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,c),!0}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:(0,l.D6c)(this.preserveFragment)})}}return f.\u0275fac=function(c){return new(c||f)(l.Y36(Yn),l.Y36(Sr),l.$8M("tabindex"),l.Y36(l.Qsj),l.Y36(l.SBq))},f.\u0275dir=l.lG2({type:f,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(c,_){1&c&&l.NdJ("click",function(){return _.onClick()})},inputs:{queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[l.TTD]}),f})(),Po=(()=>{class f{constructor(c,_,b){this.router=c,this.route=_,this.locationStrategy=b,this.commands=null,this.href=null,this.onChanges=new le.x,this.subscription=c.events.subscribe(N=>{N instanceof Hn&&this.updateTargetUrlAndHref()})}set routerLink(c){this.commands=null!=c?Array.isArray(c)?c:[c]:null}ngOnChanges(c){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(c,_,b,N,$){if(0!==c||_||b||N||$||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)return!0;const ie={skipLocationChange:(0,l.D6c)(this.skipLocationChange),replaceUrl:(0,l.D6c)(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,ie),!1}updateTargetUrlAndHref(){this.href=null!==this.urlTree?this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null}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:(0,l.D6c)(this.preserveFragment)})}}return f.\u0275fac=function(c){return new(c||f)(l.Y36(Yn),l.Y36(Sr),l.Y36(Ge.S$))},f.\u0275dir=l.lG2({type:f,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(c,_){1&c&&l.NdJ("click",function(N){return _.onClick(N.button,N.ctrlKey,N.shiftKey,N.altKey,N.metaKey)}),2&c&&l.uIk("target",_.target)("href",_.href,l.LSH)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[l.TTD]}),f})(),Ri=(()=>{class f{constructor(c,_,b,N,$,ie){this.router=c,this.element=_,this.renderer=b,this.cdr=N,this.link=$,this.linkWithHref=ie,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new l.vpe,this.routerEventsSubscription=c.events.subscribe(Fe=>{Fe instanceof Hn&&this.update()})}ngAfterContentInit(){(0,Y.of)(this.links.changes,this.linksWithHrefs.changes,(0,Y.of)(null)).pipe((0,Qe.J)()).subscribe(c=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const c=[...this.links.toArray(),...this.linksWithHrefs.toArray(),this.link,this.linkWithHref].filter(_=>!!_).map(_=>_.onChanges);this.linkInputChangesSubscription=(0,Z.D)(c).pipe((0,Qe.J)()).subscribe(_=>{this.isActive!==this.isLinkActive(this.router)(_)&&this.update()})}set routerLinkActive(c){const _=Array.isArray(c)?c:c.split(" ");this.classes=_.filter(b=>!!b)}ngOnChanges(c){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.linksWithHrefs||!this.router.navigated||Promise.resolve().then(()=>{const c=this.hasActiveLinks();this.isActive!==c&&(this.isActive=c,this.cdr.markForCheck(),this.classes.forEach(_=>{c?this.renderer.addClass(this.element.nativeElement,_):this.renderer.removeClass(this.element.nativeElement,_)}),c&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(c))})}isLinkActive(c){const _=function _a(f){return!!f.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return b=>!!b.urlTree&&c.isActive(b.urlTree,_)}hasActiveLinks(){const c=this.isLinkActive(this.router);return this.link&&c(this.link)||this.linkWithHref&&c(this.linkWithHref)||this.links.some(c)||this.linksWithHrefs.some(c)}}return f.\u0275fac=function(c){return new(c||f)(l.Y36(Yn),l.Y36(l.SBq),l.Y36(l.Qsj),l.Y36(l.sBO),l.Y36(Kr,8),l.Y36(Po,8))},f.\u0275dir=l.lG2({type:f,selectors:[["","routerLinkActive",""]],contentQueries:function(c,_,b){if(1&c&&(l.Suo(b,Kr,5),l.Suo(b,Po,5)),2&c){let N;l.iGM(N=l.CRH())&&(_.links=N),l.iGM(N=l.CRH())&&(_.linksWithHrefs=N)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[l.TTD]}),f})();class Cs{}let ws=(()=>{class f{constructor(c,_,b,N,$){this.router=c,this.injector=b,this.preloadingStrategy=N,this.loader=$}setUpPreloading(){this.subscription=this.router.events.pipe((0,ue.h)(c=>c instanceof Hn),(0,gt.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(c,_){const b=[];for(const N of _){N.providers&&!N._injector&&(N._injector=(0,l.MMx)(N.providers,c,`Route: ${N.path}`));const $=N._injector??c,ie=N._loadedInjector??$;N.loadChildren&&!N._loadedRoutes&&void 0===N.canLoad||N.loadComponent&&!N._loadedComponent?b.push(this.preloadConfig($,N)):(N.children||N._loadedRoutes)&&b.push(this.processRoutes(ie,N.children??N._loadedRoutes))}return(0,Z.D)(b).pipe((0,Qe.J)())}preloadConfig(c,_){return this.preloadingStrategy.preload(_,()=>{let b;b=_.loadChildren&&void 0===_.canLoad?this.loader.loadChildren(c,_):(0,Y.of)(null);const N=b.pipe((0,Ue.z)($=>null===$?(0,Y.of)(void 0):(_._loadedRoutes=$.routes,_._loadedInjector=$.injector,this.processRoutes($.injector??c,$.routes))));if(_.loadComponent&&!_._loadedComponent){const $=this.loader.loadComponent(_);return(0,Z.D)([N,$]).pipe((0,Qe.J)())}return N})}}return f.\u0275fac=function(c){return new(c||f)(l.LFG(Yn),l.LFG(l.Sil),l.LFG(l.lqb),l.LFG(Cs),l.LFG(Ur))},f.\u0275prov=l.Yz7({token:f,factory:f.\u0275fac}),f})();const ts=new l.OlP("");let yi=(()=>{class f{constructor(c,_,b={}){this.router=c,this.viewportScroller=_,this.options=b,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},b.scrollPositionRestoration=b.scrollPositionRestoration||"disabled",b.anchorScrolling=b.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(c=>{c instanceof Ci?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=c.navigationTrigger,this.restoredId=c.restoredState?c.restoredState.navigationId:0):c instanceof Hn&&(this.lastId=c.id,this.scheduleScrollEvent(c,this.router.parseUrl(c.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(c=>{c instanceof ho&&(c.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(c.position):c.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(c.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(c,_){this.router.triggerEvent(new ho(c,"popstate"===this.lastSource?this.store[this.restoredId]:null,_))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return f.\u0275fac=function(c){l.$Z()},f.\u0275prov=l.Yz7({token:f,factory:f.\u0275fac}),f})();const As=new l.OlP("ROUTER_FORROOT_GUARD"),no=new l.OlP(""),Zr=[Ge.Ye,{provide:Nt,useClass:Fn},{provide:Yn,useFactory:es},Br,{provide:Sr,useFactory:function Ni(f){return f.routerState.root},deps:[Yn]},Ur];function ns(){return new l.PXZ("Router",Yn)}let pn=(()=>{class f{constructor(c){}static forRoot(c,_){return{ngModule:f,providers:[Zr,[],Ua(c),{provide:As,useFactory:Js,deps:[[Yn,new l.FiY,new l.tp0]]},{provide:Pr,useValue:_||{}},_?.useHash?{provide:Ge.S$,useClass:Ge.Do}:{provide:Ge.S$,useClass:Ge.b0},{provide:ts,useFactory:()=>{const f=(0,l.f3M)(Yn),g=(0,l.f3M)(Ge.EM),c=(0,l.f3M)(Pr);return c.scrollOffset&&g.setOffset(c.scrollOffset),new yi(f,g,c)}},_?.preloadingStrategy?Is(_.preloadingStrategy):[],{provide:l.PXZ,multi:!0,useFactory:ns},_?.initialNavigation?ro(_):[],[{provide:Xs,useFactory:Ss},{provide:l.tb,multi:!0,useExisting:Xs}]]}}static forChild(c){return{ngModule:f,providers:[Ua(c)]}}}return f.\u0275fac=function(c){return new(c||f)(l.LFG(As,8))},f.\u0275mod=l.oAB({type:f}),f.\u0275inj=l.cJS({}),f})();function Js(f){return"guarded"}function Ua(f){return[{provide:ri,multi:!0,useValue:f}]}function Ss(){const f=(0,l.f3M)(l.zs3);return g=>{const c=f.get(l.z2F);if(g!==c.components[0])return;const _=f.get(Yn),b=f.get(io);1===f.get(rs)&&_.initialNavigation(),f.get(no,null,l.XFs.Optional)?.setUpPreloading(),f.get(ts,null,l.XFs.Optional)?.init(),_.resetRootComponentType(c.componentTypes[0]),b.next(),b.complete()}}const Xs=new l.OlP("");function ro(f){return["disabled"===f.initialNavigation?[{provide:l.ip1,multi:!0,useFactory:()=>{const f=(0,l.f3M)(Yn);return()=>{f.setUpLocationChangeListener()}}},{provide:rs,useValue:2}]:[],"enabledBlocking"===f.initialNavigation?[{provide:rs,useValue:0},{provide:l.ip1,multi:!0,deps:[l.zs3],useFactory:f=>{const g=f.get(Ge.V_,Promise.resolve(null));let c=!1;return()=>g.then(()=>new Promise(b=>{const N=f.get(Yn),$=f.get(io);(function _(b){f.get(Yn).events.pipe((0,ue.h)($=>$ instanceof Hn||$ instanceof er||$ instanceof ui),(0,ee.U)($=>$ instanceof Hn||$ instanceof er&&(0===$.code||1===$.code)&&null),(0,ue.h)($=>null!==$),(0,Ae.q)(1)).subscribe(()=>{b()})})(()=>{b(!0),c=!0}),N.afterPreactivation=()=>(b(!0),c||$.closed?(0,Y.of)(void 0):$),N.initialNavigation()}))}}]:[]]}const io=new l.OlP("",{factory:()=>new le.x}),rs=new l.OlP("",{providedIn:"root",factory:()=>1});function Is(f){return[ws,{provide:no,useExisting:ws},{provide:Cs,useExisting:f}]}},3942:(tt,me,S)=>{S.d(me,{Z:()=>Pe});var l=S(2090),d=S(4859),B=S(9681),J=S(1877);class V{constructor(be,le){this._delegate=be,this.firebase=le,(0,B._addComponent)(be,new d.wA("app-compat",()=>this,"PUBLIC")),this.container=be.container}get automaticDataCollectionEnabled(){return this._delegate.automaticDataCollectionEnabled}set automaticDataCollectionEnabled(be){this._delegate.automaticDataCollectionEnabled=be}get name(){return this._delegate.name}get options(){return this._delegate.options}delete(){return new Promise(be=>{this._delegate.checkDestroyed(),be()}).then(()=>(this.firebase.INTERNAL.removeApp(this.name),(0,B.deleteApp)(this._delegate)))}_getService(be,le=B._DEFAULT_ENTRY_NAME){var Ge;this._delegate.checkDestroyed();const rt=this._delegate.container.getProvider(be);return!rt.isInitialized()&&"EXPLICIT"===(null===(Ge=rt.getComponent())||void 0===Ge?void 0:Ge.instantiationMode)&&rt.initialize(),rt.getImmediate({identifier:le})}_removeServiceInstance(be,le=B._DEFAULT_ENTRY_NAME){this._delegate.container.getProvider(be).clearInstance(le)}_addComponent(be){(0,B._addComponent)(this._delegate,be)}_addOrOverwriteComponent(be){(0,B._addOrOverwriteComponent)(this._delegate,be)}toJSON(){return{name:this.name,automaticDataCollectionEnabled:this.automaticDataCollectionEnabled,options:this.options}}}const G=new l.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."}),L=function Y(){const $e=function Z($e){const be={},le={__esModule:!0,initializeApp:function Se(Ke,Ce={}){const Ee=B.initializeApp(Ke,Ce);if((0,l.r3)(be,Ee.name))return be[Ee.name];const ee=new $e(Ee,le);return be[Ee.name]=ee,ee},app:rt,registerVersion:B.registerVersion,setLogLevel:B.setLogLevel,onLog:B.onLog,apps:null,SDK_VERSION:B.SDK_VERSION,INTERNAL:{registerComponent:function we(Ke){const Ce=Ke.name,Ee=Ce.replace("-compat","");if(B._registerComponent(Ke)&&"PUBLIC"===Ke.type){const ee=(fe=rt())=>{if("function"!=typeof fe[Ee])throw G.create("invalid-app-argument",{appName:Ce});return fe[Ee]()};void 0!==Ke.serviceProps&&(0,l.ZB)(ee,Ke.serviceProps),le[Ee]=ee,$e.prototype[Ee]=function(...fe){return this._getService.bind(this,Ce).apply(this,Ke.multipleInstances?fe:[])}}return"PUBLIC"===Ke.type?le[Ee]:null},removeApp:function Ge(Ke){delete be[Ke]},useAsService:function ze(Ke,Ce){return"serverAuth"===Ce?null:Ce},modularAPIs:B}};function rt(Ke){if(!(0,l.r3)(be,Ke=Ke||B._DEFAULT_ENTRY_NAME))throw G.create("no-app",{appName:Ke});return be[Ke]}return le.default=le,Object.defineProperty(le,"apps",{get:function ue(){return Object.keys(be).map(Ke=>be[Ke])}}),rt.App=$e,le}(V);return $e.INTERNAL=Object.assign(Object.assign({},$e.INTERNAL),{createFirebaseNamespace:Y,extendNamespace:function be(le){(0,l.ZB)($e,le)},createSubscribe:l.ne,ErrorFactory:l.LL,deepExtend:l.ZB}),$e}(),z=new J.Yd("@firebase/app-compat");if((0,l.jU)()&&void 0!==self.firebase){z.warn("\n Warning: Firebase is already defined in the global scope. Please make sure\n Firebase library is only loaded once.\n ");const $e=self.firebase.SDK_VERSION;$e&&$e.indexOf("LITE")>=0&&z.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 Pe=L;!function xe($e){(0,B.registerVersion)("@firebase/app-compat","0.2.0",$e)}()},9681:(tt,me,S)=>{S.r(me),S.d(me,{FirebaseError:()=>J.ZR,SDK_VERSION:()=>an,_DEFAULT_ENTRY_NAME:()=>kt,_addComponent:()=>Qe,_addOrOverwriteComponent:()=>he,_apps:()=>hn,_clearComponents:()=>xn,_components:()=>We,_getProvider:()=>at,_registerComponent:()=>ye,_removeServiceInstance:()=>Ot,deleteApp:()=>yt,getApp:()=>Nn,getApps:()=>gn,initializeApp:()=>Dn,onLog:()=>Tn,registerVersion:()=>Ln,setLogLevel:()=>Wn});var l=S(5861),d=S(4859),B=S(1877),J=S(2090),V=S(8766);class X{constructor(Ve){this.container=Ve}getPlatformInfoString(){return this.container.getProviders().map(ut=>{if(function G(lt){return"VERSION"===lt.getComponent()?.type}(ut)){const Ft=ut.getImmediate();return`${Ft.library}/${Ft.version}`}return null}).filter(ut=>ut).join(" ")}}const Z="@firebase/app",Y="0.9.0",L=new B.Yd("@firebase/app"),kt="[DEFAULT]",dt={[Z]:"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"},hn=new Map,We=new Map;function Qe(lt,Ve){try{lt.container.addComponent(Ve)}catch(ut){L.debug(`Component ${Ve.name} failed to register with FirebaseApp ${lt.name}`,ut)}}function he(lt,Ve){lt.container.addOrOverwriteComponent(Ve)}function ye(lt){const Ve=lt.name;if(We.has(Ve))return L.debug(`There were multiple attempts to register component ${Ve}.`),!1;We.set(Ve,lt);for(const ut of hn.values())Qe(ut,lt);return!0}function at(lt,Ve){const ut=lt.container.getProvider("heartbeat").getImmediate({optional:!0});return ut&&ut.triggerHeartbeat(),lt.container.getProvider(Ve)}function Ot(lt,Ve,ut=kt){at(lt,Ve).clearInstance(ut)}function xn(){We.clear()}const mn=new J.LL("app","Firebase",{"no-app":"No Firebase App '{$appName}' has been created - call Firebase App.initializeApp()","bad-app-name":"Illegal App name: '{$appName}","duplicate-app":"Firebase App named '{$appName}' already exists with different options or config","app-deleted":"Firebase App named '{$appName}' already deleted","no-options":"Need to provide options, when not being deployed to hosting via source.","invalid-app-argument":"firebase.{$appName}() takes either no argument or a Firebase App instance.","invalid-log-argument":"First argument to `onLog` must be null or a function.","idb-open":"Error thrown when opening IndexedDB. Original error: {$originalErrorMessage}.","idb-get":"Error thrown when reading from IndexedDB. Original error: {$originalErrorMessage}.","idb-set":"Error thrown when writing to IndexedDB. Original error: {$originalErrorMessage}.","idb-delete":"Error thrown when deleting from IndexedDB. Original error: {$originalErrorMessage}."});class sr{constructor(Ve,ut,Ft){this._isDeleted=!1,this._options=Object.assign({},Ve),this._config=Object.assign({},ut),this._name=ut.name,this._automaticDataCollectionEnabled=ut.automaticDataCollectionEnabled,this._container=Ft,this.container.addComponent(new d.wA("app",()=>this,"PUBLIC"))}get automaticDataCollectionEnabled(){return this.checkDestroyed(),this._automaticDataCollectionEnabled}set automaticDataCollectionEnabled(Ve){this.checkDestroyed(),this._automaticDataCollectionEnabled=Ve}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(Ve){this._isDeleted=Ve}checkDestroyed(){if(this.isDeleted)throw mn.create("app-deleted",{appName:this._name})}}const an="9.15.0";function Dn(lt,Ve={}){let ut=lt;"object"!=typeof Ve&&(Ve={name:Ve});const Ft=Object.assign({name:kt,automaticDataCollectionEnabled:!1},Ve),Vt=Ft.name;if("string"!=typeof Vt||!Vt)throw mn.create("bad-app-name",{appName:String(Vt)});if(ut||(ut=(0,J.aH)()),!ut)throw mn.create("no-options");const rn=hn.get(Vt);if(rn){if((0,J.vZ)(ut,rn.options)&&(0,J.vZ)(Ft,rn.config))return rn;throw mn.create("duplicate-app",{appName:Vt})}const te=new d.H0(Vt);for(const de of We.values())te.addComponent(de);const Q=new sr(ut,Ft,te);return hn.set(Vt,Q),Q}function Nn(lt=kt){const Ve=hn.get(lt);if(!Ve&&lt===kt)return Dn();if(!Ve)throw mn.create("no-app",{appName:lt});return Ve}function gn(){return Array.from(hn.values())}function yt(lt){return nn.apply(this,arguments)}function nn(){return(nn=(0,l.Z)(function*(lt){const Ve=lt.name;hn.has(Ve)&&(hn.delete(Ve),yield Promise.all(lt.container.getProviders().map(ut=>ut.delete())),lt.isDeleted=!0)})).apply(this,arguments)}function Ln(lt,Ve,ut){var Ft;let Vt=null!==(Ft=dt[lt])&&void 0!==Ft?Ft:lt;ut&&(Vt+=`-${ut}`);const rn=Vt.match(/\s|\//),te=Ve.match(/\s|\//);if(rn||te){const Q=[`Unable to register library "${Vt}" with version "${Ve}":`];return rn&&Q.push(`library name "${Vt}" contains illegal characters (whitespace or "/")`),rn&&te&&Q.push("and"),te&&Q.push(`version name "${Ve}" contains illegal characters (whitespace or "/")`),void L.warn(Q.join(" "))}ye(new d.wA(`${Vt}-version`,()=>({library:Vt,version:Ve}),"VERSION"))}function Tn(lt,Ve){if(null!==lt&&"function"!=typeof lt)throw mn.create("invalid-log-argument");(0,B.Am)(lt,Ve)}function Wn(lt){(0,B.Ub)(lt)}const En="firebase-heartbeat-store";let He=null;function re(){return He||(He=(0,V.X3)("firebase-heartbeat-database",1,{upgrade:(lt,Ve)=>{0===Ve&&lt.createObjectStore(En)}}).catch(lt=>{throw mn.create("idb-open",{originalErrorMessage:lt.message})})),He}function Me(){return(Me=(0,l.Z)(function*(lt){try{return(yield re()).transaction(En).objectStore(En).get(At(lt))}catch(Ve){if(Ve instanceof J.ZR)L.warn(Ve.message);else{const ut=mn.create("idb-get",{originalErrorMessage:Ve?.message});L.warn(ut.message)}}})).apply(this,arguments)}function qe(lt,Ve){return nt.apply(this,arguments)}function nt(){return(nt=(0,l.Z)(function*(lt,Ve){try{const Ft=(yield re()).transaction(En,"readwrite");return yield Ft.objectStore(En).put(Ve,At(lt)),Ft.done}catch(ut){if(ut instanceof J.ZR)L.warn(ut.message);else{const Ft=mn.create("idb-set",{originalErrorMessage:ut?.message});L.warn(Ft.message)}}})).apply(this,arguments)}function At(lt){return`${lt.name}!${lt.options.appId}`}class In{constructor(Ve){this.container=Ve,this._heartbeatsCache=null;const ut=this.container.getProvider("app").getImmediate();this._storage=new St(ut),this._heartbeatsCachePromise=this._storage.read().then(Ft=>(this._heartbeatsCache=Ft,Ft))}triggerHeartbeat(){var Ve=this;return(0,l.Z)(function*(){const Ft=Ve.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(),Vt=Nt();if(null===Ve._heartbeatsCache&&(Ve._heartbeatsCache=yield Ve._heartbeatsCachePromise),Ve._heartbeatsCache.lastSentHeartbeatDate!==Vt&&!Ve._heartbeatsCache.heartbeats.some(rn=>rn.date===Vt))return Ve._heartbeatsCache.heartbeats.push({date:Vt,agent:Ft}),Ve._heartbeatsCache.heartbeats=Ve._heartbeatsCache.heartbeats.filter(rn=>{const te=new Date(rn.date).valueOf();return Date.now()-te<=2592e6}),Ve._storage.overwrite(Ve._heartbeatsCache)})()}getHeartbeatsHeader(){var Ve=this;return(0,l.Z)(function*(){if(null===Ve._heartbeatsCache&&(yield Ve._heartbeatsCachePromise),null===Ve._heartbeatsCache||0===Ve._heartbeatsCache.heartbeats.length)return"";const ut=Nt(),{heartbeatsToSend:Ft,unsentEntries:Vt}=function Fn(lt,Ve=1024){const ut=[];let Ft=lt.slice();for(const Vt of lt){const rn=ut.find(te=>te.agent===Vt.agent);if(rn){if(rn.dates.push(Vt.date),jt(ut)>Ve){rn.dates.pop();break}}else if(ut.push({agent:Vt.agent,dates:[Vt.date]}),jt(ut)>Ve){ut.pop();break}Ft=Ft.slice(1)}return{heartbeatsToSend:ut,unsentEntries:Ft}}(Ve._heartbeatsCache.heartbeats),rn=(0,J.L)(JSON.stringify({version:2,heartbeats:Ft}));return Ve._heartbeatsCache.lastSentHeartbeatDate=ut,Vt.length>0?(Ve._heartbeatsCache.heartbeats=Vt,yield Ve._storage.overwrite(Ve._heartbeatsCache)):(Ve._heartbeatsCache.heartbeats=[],Ve._storage.overwrite(Ve._heartbeatsCache)),rn})()}}function Nt(){return(new Date).toISOString().substring(0,10)}class St{constructor(Ve){this.app=Ve,this._canUseIndexedDBPromise=this.runIndexedDBEnvironmentCheck()}runIndexedDBEnvironmentCheck(){return(0,l.Z)(function*(){return!!(0,J.hl)()&&(0,J.eu)().then(()=>!0).catch(()=>!1)})()}read(){var Ve=this;return(0,l.Z)(function*(){return(yield Ve._canUseIndexedDBPromise)&&(yield function W(lt){return Me.apply(this,arguments)}(Ve.app))||{heartbeats:[]}})()}overwrite(Ve){var ut=this;return(0,l.Z)(function*(){var Ft;if(yield ut._canUseIndexedDBPromise){const rn=yield ut.read();return qe(ut.app,{lastSentHeartbeatDate:null!==(Ft=Ve.lastSentHeartbeatDate)&&void 0!==Ft?Ft:rn.lastSentHeartbeatDate,heartbeats:Ve.heartbeats})}})()}add(Ve){var ut=this;return(0,l.Z)(function*(){var Ft;if(yield ut._canUseIndexedDBPromise){const rn=yield ut.read();return qe(ut.app,{lastSentHeartbeatDate:null!==(Ft=Ve.lastSentHeartbeatDate)&&void 0!==Ft?Ft:rn.lastSentHeartbeatDate,heartbeats:[...rn.heartbeats,...Ve.heartbeats]})}})()}}function jt(lt){return(0,J.L)(JSON.stringify({version:2,heartbeats:lt})).length}!function Zt(lt){ye(new d.wA("platform-logger",Ve=>new X(Ve),"PRIVATE")),ye(new d.wA("heartbeat",Ve=>new In(Ve),"PRIVATE")),Ln(Z,Y,lt),Ln(Z,Y,"esm2017"),Ln("fire-js","")}("")},4859:(tt,me,S)=>{S.d(me,{H0:()=>Z,wA:()=>B});var l=S(5861),d=S(2090);class B{constructor(L,z,ae){this.name=L,this.instanceFactory=z,this.type=ae,this.multipleInstances=!1,this.serviceProps={},this.instantiationMode="LAZY",this.onInstanceCreated=null}setInstantiationMode(L){return this.instantiationMode=L,this}setMultipleInstances(L){return this.multipleInstances=L,this}setServiceProps(L){return this.serviceProps=L,this}setInstanceCreatedCallback(L){return this.onInstanceCreated=L,this}}const J="[DEFAULT]";class V{constructor(L,z){this.name=L,this.container=z,this.component=null,this.instances=new Map,this.instancesDeferred=new Map,this.instancesOptions=new Map,this.onInitCallbacks=new Map}get(L){const z=this.normalizeInstanceIdentifier(L);if(!this.instancesDeferred.has(z)){const ae=new d.BH;if(this.instancesDeferred.set(z,ae),this.isInitialized(z)||this.shouldAutoInitialize())try{const Be=this.getOrInitializeService({instanceIdentifier:z});Be&&ae.resolve(Be)}catch{}}return this.instancesDeferred.get(z).promise}getImmediate(L){var z;const ae=this.normalizeInstanceIdentifier(L?.identifier),Be=null!==(z=L?.optional)&&void 0!==z&&z;if(!this.isInitialized(ae)&&!this.shouldAutoInitialize()){if(Be)return null;throw Error(`Service ${this.name} is not available`)}try{return this.getOrInitializeService({instanceIdentifier:ae})}catch(xe){if(Be)return null;throw xe}}getComponent(){return this.component}setComponent(L){if(L.name!==this.name)throw Error(`Mismatching Component ${L.name} for Provider ${this.name}.`);if(this.component)throw Error(`Component for ${this.name} has already been provided`);if(this.component=L,this.shouldAutoInitialize()){if(function G(Y){return"EAGER"===Y.instantiationMode}(L))try{this.getOrInitializeService({instanceIdentifier:J})}catch{}for(const[z,ae]of this.instancesDeferred.entries()){const Be=this.normalizeInstanceIdentifier(z);try{const xe=this.getOrInitializeService({instanceIdentifier:Be});ae.resolve(xe)}catch{}}}}clearInstance(L=J){this.instancesDeferred.delete(L),this.instancesOptions.delete(L),this.instances.delete(L)}delete(){var L=this;return(0,l.Z)(function*(){const z=Array.from(L.instances.values());yield Promise.all([...z.filter(ae=>"INTERNAL"in ae).map(ae=>ae.INTERNAL.delete()),...z.filter(ae=>"_delete"in ae).map(ae=>ae._delete())])})()}isComponentSet(){return null!=this.component}isInitialized(L=J){return this.instances.has(L)}getOptions(L=J){return this.instancesOptions.get(L)||{}}initialize(L={}){const{options:z={}}=L,ae=this.normalizeInstanceIdentifier(L.instanceIdentifier);if(this.isInitialized(ae))throw Error(`${this.name}(${ae}) has already been initialized`);if(!this.isComponentSet())throw Error(`Component ${this.name} has not been registered yet`);const Be=this.getOrInitializeService({instanceIdentifier:ae,options:z});for(const[xe,Pe]of this.instancesDeferred.entries())ae===this.normalizeInstanceIdentifier(xe)&&Pe.resolve(Be);return Be}onInit(L,z){var ae;const Be=this.normalizeInstanceIdentifier(z),xe=null!==(ae=this.onInitCallbacks.get(Be))&&void 0!==ae?ae:new Set;xe.add(L),this.onInitCallbacks.set(Be,xe);const Pe=this.instances.get(Be);return Pe&&L(Pe,Be),()=>{xe.delete(L)}}invokeOnInitCallbacks(L,z){const ae=this.onInitCallbacks.get(z);if(ae)for(const Be of ae)try{Be(L,z)}catch{}}getOrInitializeService({instanceIdentifier:L,options:z={}}){let ae=this.instances.get(L);if(!ae&&this.component&&(ae=this.component.instanceFactory(this.container,{instanceIdentifier:(Y=L,Y===J?void 0:Y),options:z}),this.instances.set(L,ae),this.instancesOptions.set(L,z),this.invokeOnInitCallbacks(ae,L),this.component.onInstanceCreated))try{this.component.onInstanceCreated(this.container,L,ae)}catch{}var Y;return ae||null}normalizeInstanceIdentifier(L=J){return this.component?this.component.multipleInstances?L:J:L}shouldAutoInitialize(){return!!this.component&&"EXPLICIT"!==this.component.instantiationMode}}class Z{constructor(L){this.name=L,this.providers=new Map}addComponent(L){const z=this.getProvider(L.name);if(z.isComponentSet())throw new Error(`Component ${L.name} has already been registered with ${this.name}`);z.setComponent(L)}addOrOverwriteComponent(L){this.getProvider(L.name).isComponentSet()&&this.providers.delete(L.name),this.addComponent(L)}getProvider(L){if(this.providers.has(L))return this.providers.get(L);const z=new V(L,this);return this.providers.set(L,z),z}getProviders(){return Array.from(this.providers.values())}}},1877:(tt,me,S)=>{S.d(me,{Am:()=>Y,Ub:()=>Z,Yd:()=>G,in:()=>d});const l=[];var d=(()=>{return(L=d||(d={}))[L.DEBUG=0]="DEBUG",L[L.VERBOSE=1]="VERBOSE",L[L.INFO=2]="INFO",L[L.WARN=3]="WARN",L[L.ERROR=4]="ERROR",L[L.SILENT=5]="SILENT",d;var L})();const B={debug:d.DEBUG,verbose:d.VERBOSE,info:d.INFO,warn:d.WARN,error:d.ERROR,silent:d.SILENT},J=d.INFO,V={[d.DEBUG]:"log",[d.VERBOSE]:"log",[d.INFO]:"info",[d.WARN]:"warn",[d.ERROR]:"error"},X=(L,z,...ae)=>{if(z<L.logLevel)return;const Be=(new Date).toISOString(),xe=V[z];if(!xe)throw new Error(`Attempted to log a message with an invalid logType (value: ${z})`);console[xe](`[${Be}] ${L.name}:`,...ae)};class G{constructor(z){this.name=z,this._logLevel=J,this._logHandler=X,this._userLogHandler=null,l.push(this)}get logLevel(){return this._logLevel}set logLevel(z){if(!(z in d))throw new TypeError(`Invalid value "${z}" assigned to \`logLevel\``);this._logLevel=z}setLogLevel(z){this._logLevel="string"==typeof z?B[z]:z}get logHandler(){return this._logHandler}set logHandler(z){if("function"!=typeof z)throw new TypeError("Value assigned to `logHandler` must be a function");this._logHandler=z}get userLogHandler(){return this._userLogHandler}set userLogHandler(z){this._userLogHandler=z}debug(...z){this._userLogHandler&&this._userLogHandler(this,d.DEBUG,...z),this._logHandler(this,d.DEBUG,...z)}log(...z){this._userLogHandler&&this._userLogHandler(this,d.VERBOSE,...z),this._logHandler(this,d.VERBOSE,...z)}info(...z){this._userLogHandler&&this._userLogHandler(this,d.INFO,...z),this._logHandler(this,d.INFO,...z)}warn(...z){this._userLogHandler&&this._userLogHandler(this,d.WARN,...z),this._logHandler(this,d.WARN,...z)}error(...z){this._userLogHandler&&this._userLogHandler(this,d.ERROR,...z),this._logHandler(this,d.ERROR,...z)}}function Z(L){l.forEach(z=>{z.setLogLevel(L)})}function Y(L,z){for(const ae of l){let Be=null;z&&z.level&&(Be=B[z.level]),ae.userLogHandler=null===L?null:(xe,Pe,...$e)=>{const be=$e.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(" ");Pe>=(Be??xe.logLevel)&&L({level:d[Pe].toLowerCase(),message:be,args:$e,type:xe.name})}}}},259:(tt,me,S)=>{S.d(me,{C6:()=>l.getApps,Mq:()=>l.getApp});var l=S(9681);(0,l.registerVersion)("firebase","9.15.0","app")},9260:(tt,me,S)=>{S.d(me,{Z:()=>l.Z});var l=S(3942);l.Z.registerVersion("firebase","9.15.0","app-compat")},8766:(tt,me,S)=>{S.d(me,{Lj:()=>Se,X3:()=>rt});var l=S(5861);let B,J;const G=new WeakMap,Z=new WeakMap,Y=new WeakMap,L=new WeakMap,z=new WeakMap;let xe={get(Ce,Ee,ee){if(Ce instanceof IDBTransaction){if("done"===Ee)return Z.get(Ce);if("objectStoreNames"===Ee)return Ce.objectStoreNames||Y.get(Ce);if("store"===Ee)return ee.objectStoreNames[1]?void 0:ee.objectStore(ee.objectStoreNames[0])}return le(Ce[Ee])},set:(Ce,Ee,ee)=>(Ce[Ee]=ee,!0),has:(Ce,Ee)=>Ce instanceof IDBTransaction&&("done"===Ee||"store"===Ee)||Ee in Ce};function be(Ce){return"function"==typeof Ce?function $e(Ce){return Ce!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?function X(){return J||(J=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}().includes(Ce)?function(...Ee){return Ce.apply(Ge(this),Ee),le(G.get(this))}:function(...Ee){return le(Ce.apply(Ge(this),Ee))}:function(Ee,...ee){const fe=Ce.call(Ge(this),Ee,...ee);return Y.set(fe,Ee.sort?Ee.sort():[Ee]),le(fe)}}(Ce):(Ce instanceof IDBTransaction&&function Be(Ce){if(Z.has(Ce))return;const Ee=new Promise((ee,fe)=>{const Ae=()=>{Ce.removeEventListener("complete",ve),Ce.removeEventListener("error",Ue),Ce.removeEventListener("abort",Ue)},ve=()=>{ee(),Ae()},Ue=()=>{fe(Ce.error||new DOMException("AbortError","AbortError")),Ae()};Ce.addEventListener("complete",ve),Ce.addEventListener("error",Ue),Ce.addEventListener("abort",Ue)});Z.set(Ce,Ee)}(Ce),((Ce,Ee)=>Ee.some(ee=>Ce instanceof ee))(Ce,function V(){return B||(B=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}())?new Proxy(Ce,xe):Ce)}function le(Ce){if(Ce instanceof IDBRequest)return function ae(Ce){const Ee=new Promise((ee,fe)=>{const Ae=()=>{Ce.removeEventListener("success",ve),Ce.removeEventListener("error",Ue)},ve=()=>{ee(le(Ce.result)),Ae()},Ue=()=>{fe(Ce.error),Ae()};Ce.addEventListener("success",ve),Ce.addEventListener("error",Ue)});return Ee.then(ee=>{ee instanceof IDBCursor&&G.set(ee,Ce)}).catch(()=>{}),z.set(Ee,Ce),Ee}(Ce);if(L.has(Ce))return L.get(Ce);const Ee=be(Ce);return Ee!==Ce&&(L.set(Ce,Ee),z.set(Ee,Ce)),Ee}const Ge=Ce=>z.get(Ce);function rt(Ce,Ee,{blocked:ee,upgrade:fe,blocking:Ae,terminated:ve}={}){const Ue=indexedDB.open(Ce,Ee),Je=le(Ue);return fe&&Ue.addEventListener("upgradeneeded",gt=>{fe(le(Ue.result),gt.oldVersion,gt.newVersion,le(Ue.transaction))}),ee&&Ue.addEventListener("blocked",()=>ee()),Je.then(gt=>{ve&&gt.addEventListener("close",()=>ve()),Ae&&gt.addEventListener("versionchange",()=>Ae())}).catch(()=>{}),Je}function Se(Ce,{blocked:Ee}={}){const ee=indexedDB.deleteDatabase(Ce);return Ee&&ee.addEventListener("blocked",()=>Ee()),le(ee).then(()=>{})}const ue=["get","getKey","getAll","getAllKeys","count"],we=["put","add","delete","clear"],ze=new Map;function Ke(Ce,Ee){if(!(Ce instanceof IDBDatabase)||Ee in Ce||"string"!=typeof Ee)return;if(ze.get(Ee))return ze.get(Ee);const ee=Ee.replace(/FromIndex$/,""),fe=Ee!==ee,Ae=we.includes(ee);if(!(ee in(fe?IDBIndex:IDBObjectStore).prototype)||!Ae&&!ue.includes(ee))return;const ve=function(){var Ue=(0,l.Z)(function*(Je,...gt){const Mt=this.transaction(Je,Ae?"readwrite":"readonly");let kt=Mt.store;return fe&&(kt=kt.index(gt.shift())),(yield Promise.all([kt[ee](...gt),Ae&&Mt.done]))[0]});return function(gt){return Ue.apply(this,arguments)}}();return ze.set(Ee,ve),ve}!function Pe(Ce){xe=Ce(xe)}(Ce=>({...Ce,get:(Ee,ee,fe)=>Ke(Ee,ee)||Ce.get(Ee,ee,fe),has:(Ee,ee)=>!!Ke(Ee,ee)||Ce.has(Ee,ee)}))},7185:(tt,me,S)=>{S.d(me,{Rh:()=>gt,_W:()=>ve});var l=S(4650),d=S(7340),B=S(7579),J=S(6895),V=S(1481);const X=["toast-component",""];function G(We,Qe){if(1&We){const he=l.EpF();l.TgZ(0,"button",5),l.NdJ("click",function(){l.CHM(he);const at=l.oxw();return l.KtG(at.remove())}),l.TgZ(1,"span",6),l._uU(2,"\xd7"),l.qZA()()}}function Z(We,Qe){if(1&We&&(l.ynx(0),l._uU(1),l.BQk()),2&We){const he=l.oxw(2);l.xp6(1),l.hij("[",he.duplicatesCount+1,"]")}}function Y(We,Qe){if(1&We&&(l.TgZ(0,"div"),l._uU(1),l.YNc(2,Z,2,1,"ng-container",4),l.qZA()),2&We){const he=l.oxw();l.Tol(he.options.titleClass),l.uIk("aria-label",he.title),l.xp6(1),l.hij(" ",he.title," "),l.xp6(1),l.Q6J("ngIf",he.duplicatesCount)}}function L(We,Qe){if(1&We&&l._UZ(0,"div",7),2&We){const he=l.oxw();l.Tol(he.options.messageClass),l.Q6J("innerHTML",he.message,l.oJD)}}function z(We,Qe){if(1&We&&(l.TgZ(0,"div",8),l._uU(1),l.qZA()),2&We){const he=l.oxw();l.Tol(he.options.messageClass),l.uIk("aria-label",he.message),l.xp6(1),l.hij(" ",he.message," ")}}function ae(We,Qe){if(1&We&&(l.TgZ(0,"div"),l._UZ(1,"div",9),l.qZA()),2&We){const he=l.oxw();l.xp6(1),l.Udp("width",he.width+"%")}}class Se{constructor(Qe,he){this.component=Qe,this.injector=he}attach(Qe,he){return this._attachedHost=Qe,Qe.attach(this,he)}detach(){const Qe=this._attachedHost;if(Qe)return this._attachedHost=void 0,Qe.detach()}get isAttached(){return null!=this._attachedHost}setAttachedHost(Qe){this._attachedHost=Qe}}class we{constructor(Qe){this._overlayRef=Qe,this.duplicatesCount=0,this._afterClosed=new B.x,this._activate=new B.x,this._manualClose=new B.x,this._resetTimeout=new B.x,this._countDuplicate=new B.x}manualClose(){this._manualClose.next(),this._manualClose.complete()}manualClosed(){return this._manualClose.asObservable()}timeoutReset(){return this._resetTimeout.asObservable()}countDuplicate(){return this._countDuplicate.asObservable()}close(){this._overlayRef.detach(),this._afterClosed.next(),this._manualClose.next(),this._afterClosed.complete(),this._manualClose.complete(),this._activate.complete(),this._resetTimeout.complete(),this._countDuplicate.complete()}afterClosed(){return this._afterClosed.asObservable()}isInactive(){return this._activate.isStopped}activate(){this._activate.next(),this._activate.complete()}afterActivate(){return this._activate.asObservable()}onDuplicate(Qe,he){Qe&&this._resetTimeout.next(),he&&this._countDuplicate.next(++this.duplicatesCount)}}class ze{constructor(Qe,he,ye,at,Ot,xn){this.toastId=Qe,this.config=he,this.message=ye,this.title=at,this.toastType=Ot,this.toastRef=xn,this._onTap=new B.x,this._onAction=new B.x,this.toastRef.afterClosed().subscribe(()=>{this._onAction.complete(),this._onTap.complete()})}triggerTap(){this._onTap.next(),this.config.tapToDismiss&&this._onTap.complete()}onTap(){return this._onTap.asObservable()}triggerAction(Qe){this._onAction.next(Qe)}onAction(){return this._onAction.asObservable()}}const Ce=new l.OlP("ToastConfig");class Ee extends class ue{attach(Qe,he){return this._attachedPortal=Qe,this.attachComponentPortal(Qe,he)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(Qe){this._disposeFn=Qe}}{constructor(Qe,he,ye){super(),this._hostDomElement=Qe,this._componentFactoryResolver=he,this._appRef=ye}attachComponentPortal(Qe,he){const ye=this._componentFactoryResolver.resolveComponentFactory(Qe.component);let at;return at=ye.create(Qe.injector),this._appRef.attachView(at.hostView),this.setDisposeFn(()=>{this._appRef.detachView(at.hostView),at.destroy()}),he?this._hostDomElement.insertBefore(this._getComponentRootNode(at),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(at)),at}_getComponentRootNode(Qe){return Qe.hostView.rootNodes[0]}}class ee{constructor(Qe){this._portalHost=Qe}attach(Qe,he=!0){return this._portalHost.attach(Qe,he)}detach(){return this._portalHost.detach()}}let fe=(()=>{class We{constructor(he){this._document=he}ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const he=this._document.createElement("div");he.classList.add("overlay-container"),he.setAttribute("aria-live","polite"),this._document.body.appendChild(he),this._containerElement=he}}return We.\u0275fac=function(he){return new(he||We)(l.LFG(J.K0))},We.\u0275prov=l.Yz7({token:We,factory:We.\u0275fac,providedIn:"root"}),We})(),Ae=(()=>{class We{constructor(he,ye,at,Ot){this._overlayContainer=he,this._componentFactoryResolver=ye,this._appRef=at,this._document=Ot,this._paneElements=new Map}create(he,ye){return this._createOverlayRef(this.getPaneElement(he,ye))}getPaneElement(he="",ye){return this._paneElements.get(ye)||this._paneElements.set(ye,{}),this._paneElements.get(ye)[he]||(this._paneElements.get(ye)[he]=this._createPaneElement(he,ye)),this._paneElements.get(ye)[he]}_createPaneElement(he,ye){const at=this._document.createElement("div");return at.id="toast-container",at.classList.add(he),at.classList.add("toast-container"),ye?ye.getContainerElement().appendChild(at):this._overlayContainer.getContainerElement().appendChild(at),at}_createPortalHost(he){return new Ee(he,this._componentFactoryResolver,this._appRef)}_createOverlayRef(he){return new ee(this._createPortalHost(he))}}return We.\u0275fac=function(he){return new(he||We)(l.LFG(fe),l.LFG(l._Vd),l.LFG(l.z2F),l.LFG(J.K0))},We.\u0275prov=l.Yz7({token:We,factory:We.\u0275fac,providedIn:"root"}),We})(),ve=(()=>{class We{constructor(he,ye,at,Ot,xn){this.overlay=ye,this._injector=at,this.sanitizer=Ot,this.ngZone=xn,this.currentlyActive=0,this.toasts=[],this.index=0,this.toastrConfig={...he.default,...he.config},he.config.iconClasses&&(this.toastrConfig.iconClasses={...he.default.iconClasses,...he.config.iconClasses})}show(he,ye,at={},Ot=""){return this._preBuildNotification(Ot,he,ye,this.applyConfig(at))}success(he,ye,at={}){return this._preBuildNotification(this.toastrConfig.iconClasses.success||"",he,ye,this.applyConfig(at))}error(he,ye,at={}){return this._preBuildNotification(this.toastrConfig.iconClasses.error||"",he,ye,this.applyConfig(at))}info(he,ye,at={}){return this._preBuildNotification(this.toastrConfig.iconClasses.info||"",he,ye,this.applyConfig(at))}warning(he,ye,at={}){return this._preBuildNotification(this.toastrConfig.iconClasses.warning||"",he,ye,this.applyConfig(at))}clear(he){for(const ye of this.toasts)if(void 0!==he){if(ye.toastId===he)return void ye.toastRef.manualClose()}else ye.toastRef.manualClose()}remove(he){const ye=this._findToast(he);if(!ye||(ye.activeToast.toastRef.close(),this.toasts.splice(ye.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 at=this.toasts[this.currentlyActive].toastRef;at.isInactive()||(this.currentlyActive=this.currentlyActive+1,at.activate())}return!0}findDuplicate(he="",ye="",at,Ot){const{includeTitleDuplicates:xn}=this.toastrConfig;for(const Rn of this.toasts){const mn=xn&&Rn.title===he;if((!xn||mn)&&Rn.message===ye)return Rn.toastRef.onDuplicate(at,Ot),Rn}return null}applyConfig(he={}){return{...this.toastrConfig,...he}}_findToast(he){for(let ye=0;ye<this.toasts.length;ye++)if(this.toasts[ye].toastId===he)return{index:ye,activeToast:this.toasts[ye]};return null}_preBuildNotification(he,ye,at,Ot){return Ot.onActivateTick?this.ngZone.run(()=>this._buildNotification(he,ye,at,Ot)):this._buildNotification(he,ye,at,Ot)}_buildNotification(he,ye,at,Ot){if(!Ot.toastComponent)throw new Error("toastComponent required");const xn=this.findDuplicate(at,ye,this.toastrConfig.resetTimeoutOnDuplicate&&Ot.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&at||ye)&&this.toastrConfig.preventDuplicates&&null!==xn)return xn;this.previousToastMessage=ye;let Rn=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(Rn=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));const mn=this.overlay.create(Ot.positionClass,this.overlayContainer);this.index=this.index+1;let sr=ye;ye&&Ot.enableHtml&&(sr=this.sanitizer.sanitize(l.q3G.HTML,ye));const an=new we(mn),Dn=new ze(this.index,Ot,sr,at,he,an),gn=l.zs3.create({providers:[{provide:ze,useValue:Dn}],parent:this._injector}),yt=new Se(Ot.toastComponent,gn),nn=mn.attach(yt,Ot.newestOnTop);an.componentInstance=nn.instance;const Ln={toastId:this.index,title:at||"",message:ye||"",toastRef:an,onShown:an.afterActivate(),onHidden:an.afterClosed(),onTap:Dn.onTap(),onAction:Dn.onAction(),portal:nn};return Rn||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{Ln.toastRef.activate()})),this.toasts.push(Ln),Ln}}return We.\u0275fac=function(he){return new(he||We)(l.LFG(Ce),l.LFG(Ae),l.LFG(l.zs3),l.LFG(V.H7),l.LFG(l.R0b))},We.\u0275prov=l.Yz7({token:We,factory:We.\u0275fac,providedIn:"root"}),We})();const Je={maxOpened:0,autoDismiss:!1,newestOnTop:!0,preventDuplicates:!1,countDuplicates:!1,resetTimeoutOnDuplicate:!1,includeTitleDuplicates:!1,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},closeButton:!1,disableTimeOut:!1,timeOut:5e3,extendedTimeOut:1e3,enableHtml:!1,progressBar:!1,toastClass:"ngx-toastr",positionClass:"toast-top-right",titleClass:"toast-title",messageClass:"toast-message",easing:"ease-in",easeTime:300,tapToDismiss:!0,onActivateTick:!1,progressAnimation:"decreasing",payload:null,toastComponent:(()=>{class We{constructor(he,ye,at){this.toastrService=he,this.toastPackage=ye,this.ngZone=at,this.width=-1,this.toastClasses="",this.state={value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}},this.message=ye.message,this.title=ye.title,this.options=ye.config,this.originalTimeout=ye.config.timeOut,this.toastClasses=`${ye.toastType} ${ye.config.toastClass}`,this.sub=ye.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=ye.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=ye.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=ye.toastRef.countDuplicate().subscribe(Ot=>{this.duplicatesCount=Ot})}get displayStyle(){if("inactive"===this.state.value)return"none"}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state={...this.state,value:"active"},!0!==this.options.disableTimeOut&&"timeOut"!==this.options.disableTimeOut&&this.options.timeOut&&(this.outsideTimeout(()=>this.remove(),this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}updateProgress(){if(0===this.width||100===this.width||!this.options.timeOut)return;const he=(new Date).getTime();this.width=(this.hideTime-he)/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(he,ye){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(he),ye)):this.timeout=setTimeout(()=>he(),ye)}outsideInterval(he,ye){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(he),ye)):this.intervalId=setInterval(()=>he(),ye)}runInsideAngular(he){this.ngZone?this.ngZone.run(()=>he()):he()}}return We.\u0275fac=function(he){return new(he||We)(l.Y36(ve),l.Y36(ze),l.Y36(l.R0b))},We.\u0275cmp=l.Xpm({type:We,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(he,ye){1&he&&l.NdJ("click",function(){return ye.tapToast()})("mouseenter",function(){return ye.stickAround()})("mouseleave",function(){return ye.delayedHideToast()}),2&he&&(l.d8E("@flyInOut",ye.state),l.Tol(ye.toastClasses),l.Udp("display",ye.displayStyle))},attrs:X,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(he,ye){1&he&&(l.YNc(0,G,3,0,"button",0),l.YNc(1,Y,3,5,"div",1),l.YNc(2,L,1,3,"div",2),l.YNc(3,z,2,4,"div",3),l.YNc(4,ae,2,2,"div",4)),2&he&&(l.Q6J("ngIf",ye.options.closeButton),l.xp6(1),l.Q6J("ngIf",ye.title),l.xp6(1),l.Q6J("ngIf",ye.message&&ye.options.enableHtml),l.xp6(1),l.Q6J("ngIf",ye.message&&!ye.options.enableHtml),l.xp6(1),l.Q6J("ngIf",ye.options.progressBar))},dependencies:[J.O5],encapsulation:2,data:{animation:[(0,d.X$)("flyInOut",[(0,d.SB)("inactive",(0,d.oB)({opacity:0})),(0,d.SB)("active",(0,d.oB)({opacity:1})),(0,d.SB)("removed",(0,d.oB)({opacity:0})),(0,d.eR)("inactive => active",(0,d.jt)("{{ easeTime }}ms {{ easing }}")),(0,d.eR)("active => removed",(0,d.jt)("{{ easeTime }}ms {{ easing }}"))])]}}),We})()};let gt=(()=>{class We{static forRoot(he={}){return{ngModule:We,providers:[{provide:Ce,useValue:{default:Je,config:he}}]}}}return We.\u0275fac=function(he){return new(he||We)},We.\u0275mod=l.oAB({type:We}),We.\u0275inj=l.cJS({imports:[J.ez]}),We})()},5861:(tt,me,S)=>{function l(B,J,V,X,G,Z,Y){try{var L=B[Z](Y),z=L.value}catch(ae){return void V(ae)}L.done?J(z):Promise.resolve(z).then(X,G)}function d(B){return function(){var J=this,V=arguments;return new Promise(function(X,G){var Z=B.apply(J,V);function Y(z){l(Z,X,G,Y,L,"next",z)}function L(z){l(Z,X,G,Y,L,"throw",z)}Y(void 0)})}}S.d(me,{Z:()=>d})}},tt=>{tt(tt.s=6356)}]);