ng-implementation/angular18/dist/easy-angular/main.15a24a4830eefcc2.js
2025-10-15 11:17:29 +02:00

1 line
No EOL
487 KiB
JavaScript

"use strict";(self.webpackChunkEasyAngular=self.webpackChunkEasyAngular||[]).push([[792],{2840:(yt,Se,x)=>{x.d(Se,{t:()=>ge});var o=x(4438);class S{constructor(X,le,Ne=!1){this.withHeader=!0,this.body=X,this.type=le??"danger",this.autoHide=Ne,this.delay=1e4,this.headerKey=this.type.toUpperCase()}}let ge=(()=>{class ce{constructor(){this.toasts=[],this.counter=0}show(le){le.id=this.counter++,this.toasts.push(le)}quickShow(le,Ne,Pe=!1){const Ie=new S(le,Ne,Pe);this.show(Ie)}remove(le){this.toasts=this.toasts.filter(Ne=>Ne.id!==le)}static#e=this.\u0275fac=function(Ne){return new(Ne||ce)};static#t=this.\u0275prov=o.jDH({token:ce,factory:ce.\u0275fac,providedIn:"root"})}return ce})()},6825:(yt,Se,x)=>{x.d(Se,{d:()=>Bi});var o={};x.r(o),x.d(o,{hasBrowserEnv:()=>qe,hasStandardBrowserEnv:()=>Zt,hasStandardBrowserWebWorkerEnv:()=>pn});var S=x(467);function ge(F,B){return function(){return F.apply(B,arguments)}}const{toString:ce}=Object.prototype,{getPrototypeOf:X}=Object,le=(F=>B=>{const z=ce.call(B);return F[z]||(F[z]=z.slice(8,-1).toLowerCase())})(Object.create(null)),Ne=F=>(F=F.toLowerCase(),B=>le(B)===F),Pe=F=>B=>typeof B===F,{isArray:Ie}=Array,Ae=Pe("undefined"),Be=Ne("ArrayBuffer"),He=Pe("string"),We=Pe("function"),St=Pe("number"),jt=F=>null!==F&&"object"==typeof F,Kt=F=>{if("object"!==le(F))return!1;const B=X(F);return!(null!==B&&B!==Object.prototype&&null!==Object.getPrototypeOf(B)||Symbol.toStringTag in F||Symbol.iterator in F)},Nn=Ne("Date"),Ge=Ne("File"),$e=Ne("Blob"),st=Ne("FileList"),it=Ne("URLSearchParams");function Et(F,B,{allOwnKeys:z=!1}={}){if(null===F||typeof F>"u")return;let $,de;if("object"!=typeof F&&(F=[F]),Ie(F))for($=0,de=F.length;$<de;$++)B.call(null,F[$],$,F);else{const ye=z?Object.getOwnPropertyNames(F):Object.keys(F),_e=ye.length;let tt;for($=0;$<_e;$++)tt=ye[$],B.call(null,F[tt],tt,F)}}function $t(F,B){B=B.toLowerCase();const z=Object.keys(F);let de,$=z.length;for(;$-- >0;)if(de=z[$],B===de.toLowerCase())return de;return null}const Qt=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Wn=F=>!Ae(F)&&F!==Qt,U=(F=>B=>F&&B instanceof F)(typeof Uint8Array<"u"&&X(Uint8Array)),Le=Ne("HTMLFormElement"),vn=(({hasOwnProperty:F})=>(B,z)=>F.call(B,z))(Object.prototype),gt=Ne("RegExp"),fn=(F,B)=>{const z=Object.getOwnPropertyDescriptors(F),$={};Et(z,(de,ye)=>{let _e;!1!==(_e=B(de,ye,F))&&($[ye]=_e||de)}),Object.defineProperties(F,$)},bt="abcdefghijklmnopqrstuvwxyz",mn="0123456789",yi={DIGIT:mn,ALPHA:bt,ALPHA_DIGIT:bt+bt.toUpperCase()+mn},pi=Ne("AsyncFunction"),xe={isArray:Ie,isArrayBuffer:Be,isBuffer:function Me(F){return null!==F&&!Ae(F)&&null!==F.constructor&&!Ae(F.constructor)&&We(F.constructor.isBuffer)&&F.constructor.isBuffer(F)},isFormData:F=>{let B;return F&&("function"==typeof FormData&&F instanceof FormData||We(F.append)&&("formdata"===(B=le(F))||"object"===B&&We(F.toString)&&"[object FormData]"===F.toString()))},isArrayBufferView:function ct(F){let B;return B=typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(F):F&&F.buffer&&Be(F.buffer),B},isString:He,isNumber:St,isBoolean:F=>!0===F||!1===F,isObject:jt,isPlainObject:Kt,isUndefined:Ae,isDate:Nn,isFile:Ge,isBlob:$e,isRegExp:gt,isFunction:We,isStream:F=>jt(F)&&We(F.pipe),isURLSearchParams:it,isTypedArray:U,isFileList:st,forEach:Et,merge:function Cn(){const{caseless:F}=Wn(this)&&this||{},B={},z=($,de)=>{const ye=F&&$t(B,de)||de;B[ye]=Kt(B[ye])&&Kt($)?Cn(B[ye],$):Kt($)?Cn({},$):Ie($)?$.slice():$};for(let $=0,de=arguments.length;$<de;$++)arguments[$]&&Et(arguments[$],z);return B},extend:(F,B,z,{allOwnKeys:$}={})=>(Et(B,(de,ye)=>{F[ye]=z&&We(de)?ge(de,z):de},{allOwnKeys:$}),F),trim:F=>F.trim?F.trim():F.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:F=>(65279===F.charCodeAt(0)&&(F=F.slice(1)),F),inherits:(F,B,z,$)=>{F.prototype=Object.create(B.prototype,$),F.prototype.constructor=F,Object.defineProperty(F,"super",{value:B.prototype}),z&&Object.assign(F.prototype,z)},toFlatObject:(F,B,z,$)=>{let de,ye,_e;const tt={};if(B=B||{},null==F)return B;do{for(de=Object.getOwnPropertyNames(F),ye=de.length;ye-- >0;)_e=de[ye],(!$||$(_e,F,B))&&!tt[_e]&&(B[_e]=F[_e],tt[_e]=!0);F=!1!==z&&X(F)}while(F&&(!z||z(F,B))&&F!==Object.prototype);return B},kindOf:le,kindOfTest:Ne,endsWith:(F,B,z)=>{F=String(F),(void 0===z||z>F.length)&&(z=F.length);const $=F.indexOf(B,z-=B.length);return-1!==$&&$===z},toArray:F=>{if(!F)return null;if(Ie(F))return F;let B=F.length;if(!St(B))return null;const z=new Array(B);for(;B-- >0;)z[B]=F[B];return z},forEachEntry:(F,B)=>{const $=(F&&F[Symbol.iterator]).call(F);let de;for(;(de=$.next())&&!de.done;){const ye=de.value;B.call(F,ye[0],ye[1])}},matchAll:(F,B)=>{let z;const $=[];for(;null!==(z=F.exec(B));)$.push(z);return $},isHTMLForm:Le,hasOwnProperty:vn,hasOwnProp:vn,reduceDescriptors:fn,freezeMethods:F=>{fn(F,(B,z)=>{if(We(F)&&-1!==["arguments","caller","callee"].indexOf(z))return!1;if(We(F[z])){if(B.enumerable=!1,"writable"in B)return void(B.writable=!1);B.set||(B.set=()=>{throw Error("Can not rewrite read-only method '"+z+"'")})}})},toObjectSet:(F,B)=>{const z={},$=de=>{de.forEach(ye=>{z[ye]=!0})};return Ie(F)?$(F):$(String(F).split(B)),z},toCamelCase:F=>F.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(z,$,de){return $.toUpperCase()+de}),noop:()=>{},toFiniteNumber:(F,B)=>(F=+F,Number.isFinite(F)?F:B),findKey:$t,global:Qt,isContextDefined:Wn,ALPHABET:yi,generateString:(F=16,B=yi.ALPHA_DIGIT)=>{let z="";const{length:$}=B;for(;F--;)z+=B[Math.random()*$|0];return z},isSpecCompliantForm:function Ri(F){return!!(F&&We(F.append)&&"FormData"===F[Symbol.toStringTag]&&F[Symbol.iterator])},toJSONObject:F=>{const B=new Array(10),z=($,de)=>{if(jt($)){if(B.indexOf($)>=0)return;if(!("toJSON"in $)){B[de]=$;const ye=Ie($)?[]:{};return Et($,(_e,tt)=>{const Yt=z(_e,de+1);!Ae(Yt)&&(ye[tt]=Yt)}),B[de]=void 0,ye}}return $};return z(F,0)},isAsyncFn:pi,isThenable:F=>F&&(jt(F)||We(F))&&We(F.then)&&We(F.catch)};function bi(F,B,z,$,de){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=F,this.name="AxiosError",B&&(this.code=B),z&&(this.config=z),$&&(this.request=$),de&&(this.response=de)}xe.inherits(bi,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:xe.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Ht=bi.prototype,on={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(F=>{on[F]={value:F}}),Object.defineProperties(bi,on),Object.defineProperty(Ht,"isAxiosError",{value:!0}),bi.from=(F,B,z,$,de,ye)=>{const _e=Object.create(Ht);return xe.toFlatObject(F,_e,function(Yt){return Yt!==Error.prototype},tt=>"isAxiosError"!==tt),bi.call(_e,F.message,B,z,$,de),_e.cause=F,_e.name=F.name,ye&&Object.assign(_e,ye),_e};const hn=bi;function Xi(F){return xe.isPlainObject(F)||xe.isArray(F)}function Mr(F){return xe.endsWith(F,"[]")?F.slice(0,-2):F}function gi(F,B,z){return F?F.concat(B).map(function(de,ye){return de=Mr(de),!z&&ye?"["+de+"]":de}).join(z?".":""):B}const Rt=xe.toFlatObject(xe,{},null,function(B){return/^is[A-Z]/.test(B)}),zt=function $r(F,B,z){if(!xe.isObject(F))throw new TypeError("target must be an object");B=B||new FormData;const $=(z=xe.toFlatObject(z,{metaTokens:!0,dots:!1,indexes:!1},!1,function(Ft,Jn){return!xe.isUndefined(Jn[Ft])})).metaTokens,de=z.visitor||Ot,ye=z.dots,_e=z.indexes,Yt=(z.Blob||typeof Blob<"u"&&Blob)&&xe.isSpecCompliantForm(B);if(!xe.isFunction(de))throw new TypeError("visitor must be a function");function qt(Gt){if(null===Gt)return"";if(xe.isDate(Gt))return Gt.toISOString();if(!Yt&&xe.isBlob(Gt))throw new hn("Blob is not supported. Use a Buffer instead.");return xe.isArrayBuffer(Gt)||xe.isTypedArray(Gt)?Yt&&"function"==typeof Blob?new Blob([Gt]):Buffer.from(Gt):Gt}function Ot(Gt,Ft,Jn){let xn=Gt;if(Gt&&!Jn&&"object"==typeof Gt)if(xe.endsWith(Ft,"{}"))Ft=$?Ft:Ft.slice(0,-2),Gt=JSON.stringify(Gt);else if(xe.isArray(Gt)&&function Pi(F){return xe.isArray(F)&&!F.some(Xi)}(Gt)||(xe.isFileList(Gt)||xe.endsWith(Ft,"[]"))&&(xn=xe.toArray(Gt)))return Ft=Mr(Ft),xn.forEach(function(Vi,or){!xe.isUndefined(Vi)&&null!==Vi&&B.append(!0===_e?gi([Ft],or,ye):null===_e?Ft:Ft+"[]",qt(Vi))}),!1;return!!Xi(Gt)||(B.append(gi(Jn,Ft,ye),qt(Gt)),!1)}const et=[],ui=Object.assign(Rt,{defaultVisitor:Ot,convertValue:qt,isVisitable:Xi});if(!xe.isObject(F))throw new TypeError("data must be an object");return function di(Gt,Ft){if(!xe.isUndefined(Gt)){if(-1!==et.indexOf(Gt))throw Error("Circular reference detected in "+Ft.join("."));et.push(Gt),xe.forEach(Gt,function(xn,qi){!0===(!(xe.isUndefined(xn)||null===xn)&&de.call(B,xn,xe.isString(qi)?qi.trim():qi,Ft,ui))&&di(xn,Ft?Ft.concat(qi):[qi])}),et.pop()}}(F),B};function ut(F){const B={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(F).replace(/[!'()~]|%20|%00/g,function($){return B[$]})}function Wi(F,B){this._pairs=[],F&&zt(F,this,B)}const rn=Wi.prototype;rn.append=function(B,z){this._pairs.push([B,z])},rn.toString=function(B){const z=B?function($){return B.call(this,$,ut)}:ut;return this._pairs.map(function(de){return z(de[0])+"="+z(de[1])},"").join("&")};const In=Wi;function li(F){return encodeURIComponent(F).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Un(F,B,z){if(!B)return F;const $=z&&z.encode||li,de=z&&z.serialize;let ye;if(ye=de?de(B,z):xe.isURLSearchParams(B)?B.toString():new In(B,z).toString($),ye){const _e=F.indexOf("#");-1!==_e&&(F=F.slice(0,_e)),F+=(-1===F.indexOf("?")?"?":"&")+ye}return F}const vt=class Rn{constructor(){this.handlers=[]}use(B,z,$){return this.handlers.push({fulfilled:B,rejected:z,synchronous:!!$&&$.synchronous,runWhen:$?$.runWhen:null}),this.handlers.length-1}eject(B){this.handlers[B]&&(this.handlers[B]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(B){xe.forEach(this.handlers,function($){null!==$&&B($)})}},we={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Ve={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:In,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},qe=typeof window<"u"&&typeof document<"u",Zt=(F=typeof navigator<"u"&&navigator.product,qe&&["ReactNative","NativeScript","NS"].indexOf(F)<0),pn=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,yn={...o,...Ve};var F;const is=function Gr(F){function B(z,$,de,ye){let _e=z[ye++];if("__proto__"===_e)return!0;const tt=Number.isFinite(+_e),Yt=ye>=z.length;return _e=!_e&&xe.isArray(de)?de.length:_e,Yt?(de[_e]=xe.hasOwnProp(de,_e)?[de[_e],$]:$,!tt):((!de[_e]||!xe.isObject(de[_e]))&&(de[_e]=[]),B(z,$,de[_e],ye)&&xe.isArray(de[_e])&&(de[_e]=function Ki(F){const B={},z=Object.keys(F);let $;const de=z.length;let ye;for($=0;$<de;$++)ye=z[$],B[ye]=F[ye];return B}(de[_e])),!tt)}if(xe.isFormData(F)&&xe.isFunction(F.entries)){const z={};return xe.forEachEntry(F,($,de)=>{B(function zi(F){return xe.matchAll(/\w+|\[(\w*)]/g,F).map(B=>"[]"===B[0]?"":B[1]||B[0])}($),de,z,0)}),z}return null},It={transitional:we,adapter:["xhr","http"],transformRequest:[function(B,z){const $=z.getContentType()||"",de=$.indexOf("application/json")>-1,ye=xe.isObject(B);if(ye&&xe.isHTMLForm(B)&&(B=new FormData(B)),xe.isFormData(B))return de?JSON.stringify(is(B)):B;if(xe.isArrayBuffer(B)||xe.isBuffer(B)||xe.isStream(B)||xe.isFile(B)||xe.isBlob(B))return B;if(xe.isArrayBufferView(B))return B.buffer;if(xe.isURLSearchParams(B))return z.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),B.toString();let tt;if(ye){if($.indexOf("application/x-www-form-urlencoded")>-1)return function ni(F,B){return zt(F,new yn.classes.URLSearchParams,Object.assign({visitor:function(z,$,de,ye){return yn.isNode&&xe.isBuffer(z)?(this.append($,z.toString("base64")),!1):ye.defaultVisitor.apply(this,arguments)}},B))}(B,this.formSerializer).toString();if((tt=xe.isFileList(B))||$.indexOf("multipart/form-data")>-1){const Yt=this.env&&this.env.FormData;return zt(tt?{"files[]":B}:B,Yt&&new Yt,this.formSerializer)}}return ye||de?(z.setContentType("application/json",!1),function Ti(F,B,z){if(xe.isString(F))try{return(B||JSON.parse)(F),xe.trim(F)}catch($){if("SyntaxError"!==$.name)throw $}return(z||JSON.stringify)(F)}(B)):B}],transformResponse:[function(B){const z=this.transitional||It.transitional,$=z&&z.forcedJSONParsing,de="json"===this.responseType;if(B&&xe.isString(B)&&($&&!this.responseType||de)){const _e=!(z&&z.silentJSONParsing)&&de;try{return JSON.parse(B)}catch(tt){if(_e)throw"SyntaxError"===tt.name?hn.from(tt,hn.ERR_BAD_RESPONSE,this,null,this.response):tt}}return B}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:yn.classes.FormData,Blob:yn.classes.Blob},validateStatus:function(B){return B>=200&&B<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};xe.forEach(["delete","get","head","post","put","patch"],F=>{It.headers[F]={}});const hs=It,Wr=xe.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Qn=Symbol("internals");function zn(F){return F&&String(F).trim().toLowerCase()}function Pt(F){return!1===F||null==F?F:xe.isArray(F)?F.map(Pt):String(F)}function ci(F,B,z,$,de){if(xe.isFunction($))return $.call(this,B,z);if(de&&(B=z),xe.isString(B)){if(xe.isString($))return-1!==B.indexOf($);if(xe.isRegExp($))return $.test(B)}}class si{constructor(B){B&&this.set(B)}set(B,z,$){const de=this;function ye(tt,Yt,qt){const Ot=zn(Yt);if(!Ot)throw new Error("header name must be a non-empty string");const et=xe.findKey(de,Ot);(!et||void 0===de[et]||!0===qt||void 0===qt&&!1!==de[et])&&(de[et||Yt]=Pt(tt))}const _e=(tt,Yt)=>xe.forEach(tt,(qt,Ot)=>ye(qt,Ot,Yt));return xe.isPlainObject(B)||B instanceof this.constructor?_e(B,z):xe.isString(B)&&(B=B.trim())&&!(F=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(F.trim()))(B)?_e((F=>{const B={};let z,$,de;return F&&F.split("\n").forEach(function(_e){de=_e.indexOf(":"),z=_e.substring(0,de).trim().toLowerCase(),$=_e.substring(de+1).trim(),!(!z||B[z]&&Wr[z])&&("set-cookie"===z?B[z]?B[z].push($):B[z]=[$]:B[z]=B[z]?B[z]+", "+$:$)}),B})(B),z):null!=B&&ye(z,B,$),this}get(B,z){if(B=zn(B)){const $=xe.findKey(this,B);if($){const de=this[$];if(!z)return de;if(!0===z)return function ir(F){const B=Object.create(null),z=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let $;for(;$=z.exec(F);)B[$[1]]=$[2];return B}(de);if(xe.isFunction(z))return z.call(this,de,$);if(xe.isRegExp(z))return z.exec(de);throw new TypeError("parser must be boolean|regexp|function")}}}has(B,z){if(B=zn(B)){const $=xe.findKey(this,B);return!(!$||void 0===this[$]||z&&!ci(0,this[$],$,z))}return!1}delete(B,z){const $=this;let de=!1;function ye(_e){if(_e=zn(_e)){const tt=xe.findKey($,_e);tt&&(!z||ci(0,$[tt],tt,z))&&(delete $[tt],de=!0)}}return xe.isArray(B)?B.forEach(ye):ye(B),de}clear(B){const z=Object.keys(this);let $=z.length,de=!1;for(;$--;){const ye=z[$];(!B||ci(0,this[ye],ye,B,!0))&&(delete this[ye],de=!0)}return de}normalize(B){const z=this,$={};return xe.forEach(this,(de,ye)=>{const _e=xe.findKey($,ye);if(_e)return z[_e]=Pt(de),void delete z[ye];const tt=B?function vr(F){return F.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(B,z,$)=>z.toUpperCase()+$)}(ye):String(ye).trim();tt!==ye&&delete z[ye],z[tt]=Pt(de),$[tt]=!0}),this}concat(...B){return this.constructor.concat(this,...B)}toJSON(B){const z=Object.create(null);return xe.forEach(this,($,de)=>{null!=$&&!1!==$&&(z[de]=B&&xe.isArray($)?$.join(", "):$)}),z}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([B,z])=>B+": "+z).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(B){return B instanceof this?B:new this(B)}static concat(B,...z){const $=new this(B);return z.forEach(de=>$.set(de)),$}static accessor(B){const $=(this[Qn]=this[Qn]={accessors:{}}).accessors,de=this.prototype;function ye(_e){const tt=zn(_e);$[tt]||(function qn(F,B){const z=xe.toCamelCase(" "+B);["get","set","has"].forEach($=>{Object.defineProperty(F,$+z,{value:function(de,ye,_e){return this[$].call(this,B,de,ye,_e)},configurable:!0})})}(de,_e),$[tt]=!0)}return xe.isArray(B)?B.forEach(ye):ye(B),this}}si.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),xe.reduceDescriptors(si.prototype,({value:F},B)=>{let z=B[0].toUpperCase()+B.slice(1);return{get:()=>F,set($){this[z]=$}}}),xe.freezeMethods(si);const Zn=si;function ki(F,B){const z=this||hs,$=B||z,de=Zn.from($.headers);let ye=$.data;return xe.forEach(F,function(tt){ye=tt.call(z,ye,de.normalize(),B?B.status:void 0)}),de.normalize(),ye}function rr(F){return!(!F||!F.__CANCEL__)}function fr(F,B,z){hn.call(this,F??"canceled",hn.ERR_CANCELED,B,z),this.name="CanceledError"}xe.inherits(fr,hn,{__CANCEL__:!0});const sr=fr,rs=yn.hasStandardBrowserEnv?{write(F,B,z,$,de,ye){const _e=[F+"="+encodeURIComponent(B)];xe.isNumber(z)&&_e.push("expires="+new Date(z).toGMTString()),xe.isString($)&&_e.push("path="+$),xe.isString(de)&&_e.push("domain="+de),!0===ye&&_e.push("secure"),document.cookie=_e.join("; ")},read(F){const B=document.cookie.match(new RegExp("(^|;\\s*)("+F+")=([^;]*)"));return B?decodeURIComponent(B[3]):null},remove(F){this.write(F,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function ee(F,B){return F&&!function Yi(F){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(F)}(B)?function W(F,B){return B?F.replace(/\/?\/$/,"")+"/"+B.replace(/^\/+/,""):F}(F,B):B}const q=yn.hasStandardBrowserEnv?function(){const B=/(msie|trident)/i.test(navigator.userAgent),z=document.createElement("a");let $;function de(ye){let _e=ye;return B&&(z.setAttribute("href",_e),_e=z.href),z.setAttribute("href",_e),{href:z.href,protocol:z.protocol?z.protocol.replace(/:$/,""):"",host:z.host,search:z.search?z.search.replace(/^\?/,""):"",hash:z.hash?z.hash.replace(/^#/,""):"",hostname:z.hostname,port:z.port,pathname:"/"===z.pathname.charAt(0)?z.pathname:"/"+z.pathname}}return $=de(window.location.href),function(_e){const tt=xe.isString(_e)?de(_e):_e;return tt.protocol===$.protocol&&tt.host===$.host}}():function(){return function(){return!0}}();function Je(F,B){let z=0;const $=function Ue(F,B){F=F||10;const z=new Array(F),$=new Array(F);let _e,de=0,ye=0;return B=void 0!==B?B:1e3,function(Yt){const qt=Date.now(),Ot=$[ye];_e||(_e=qt),z[de]=Yt,$[de]=qt;let et=ye,ui=0;for(;et!==de;)ui+=z[et++],et%=F;if(de=(de+1)%F,de===ye&&(ye=(ye+1)%F),qt-_e<B)return;const di=Ot&&qt-Ot;return di?Math.round(1e3*ui/di):void 0}}(50,250);return de=>{const ye=de.loaded,_e=de.lengthComputable?de.total:void 0,tt=ye-z,Yt=$(tt);z=ye;const Ot={loaded:ye,total:_e,progress:_e?ye/_e:void 0,bytes:tt,rate:Yt||void 0,estimated:Yt&&_e&&ye<=_e?(_e-ye)/Yt:void 0,event:de};Ot[B?"download":"upload"]=!0,F(Ot)}}const mt={http:null,xhr:typeof XMLHttpRequest<"u"&&function(F){return new Promise(function(z,$){let de=F.data;const ye=Zn.from(F.headers).normalize();let Yt,Ot,{responseType:_e,withXSRFToken:tt}=F;function qt(){F.cancelToken&&F.cancelToken.unsubscribe(Yt),F.signal&&F.signal.removeEventListener("abort",Yt)}if(xe.isFormData(de))if(yn.hasStandardBrowserEnv||yn.hasStandardBrowserWebWorkerEnv)ye.setContentType(!1);else if(!1!==(Ot=ye.getContentType())){const[Ft,...Jn]=Ot?Ot.split(";").map(xn=>xn.trim()).filter(Boolean):[];ye.setContentType([Ft||"multipart/form-data",...Jn].join("; "))}let et=new XMLHttpRequest;if(F.auth){const Ft=F.auth.username||"",Jn=F.auth.password?unescape(encodeURIComponent(F.auth.password)):"";ye.set("Authorization","Basic "+btoa(Ft+":"+Jn))}const ui=ee(F.baseURL,F.url);function di(){if(!et)return;const Ft=Zn.from("getAllResponseHeaders"in et&&et.getAllResponseHeaders());(function At(F,B,z){const $=z.config.validateStatus;z.status&&$&&!$(z.status)?B(new hn("Request failed with status code "+z.status,[hn.ERR_BAD_REQUEST,hn.ERR_BAD_RESPONSE][Math.floor(z.status/100)-4],z.config,z.request,z)):F(z)})(function(Vi){z(Vi),qt()},function(Vi){$(Vi),qt()},{data:_e&&"text"!==_e&&"json"!==_e?et.response:et.responseText,status:et.status,statusText:et.statusText,headers:Ft,config:F,request:et}),et=null}if(et.open(F.method.toUpperCase(),Un(ui,F.params,F.paramsSerializer),!0),et.timeout=F.timeout,"onloadend"in et?et.onloadend=di:et.onreadystatechange=function(){!et||4!==et.readyState||0===et.status&&(!et.responseURL||0!==et.responseURL.indexOf("file:"))||setTimeout(di)},et.onabort=function(){et&&($(new hn("Request aborted",hn.ECONNABORTED,F,et)),et=null)},et.onerror=function(){$(new hn("Network Error",hn.ERR_NETWORK,F,et)),et=null},et.ontimeout=function(){let Jn=F.timeout?"timeout of "+F.timeout+"ms exceeded":"timeout exceeded";F.timeoutErrorMessage&&(Jn=F.timeoutErrorMessage),$(new hn(Jn,(F.transitional||we).clarifyTimeoutError?hn.ETIMEDOUT:hn.ECONNABORTED,F,et)),et=null},yn.hasStandardBrowserEnv&&(tt&&xe.isFunction(tt)&&(tt=tt(F)),tt||!1!==tt&&q(ui))){const Ft=F.xsrfHeaderName&&F.xsrfCookieName&&rs.read(F.xsrfCookieName);Ft&&ye.set(F.xsrfHeaderName,Ft)}void 0===de&&ye.setContentType(null),"setRequestHeader"in et&&xe.forEach(ye.toJSON(),function(Jn,xn){et.setRequestHeader(xn,Jn)}),xe.isUndefined(F.withCredentials)||(et.withCredentials=!!F.withCredentials),_e&&"json"!==_e&&(et.responseType=F.responseType),"function"==typeof F.onDownloadProgress&&et.addEventListener("progress",Je(F.onDownloadProgress,!0)),"function"==typeof F.onUploadProgress&&et.upload&&et.upload.addEventListener("progress",Je(F.onUploadProgress)),(F.cancelToken||F.signal)&&(Yt=Ft=>{et&&($(!Ft||Ft.type?new sr(null,F,et):Ft),et.abort(),et=null)},F.cancelToken&&F.cancelToken.subscribe(Yt),F.signal&&(F.signal.aborted?Yt():F.signal.addEventListener("abort",Yt)));const Gt=function Te(F){const B=/^([-+\w]{1,25})(:?\/\/|:)/.exec(F);return B&&B[1]||""}(ui);Gt&&-1===yn.protocols.indexOf(Gt)?$(new hn("Unsupported protocol "+Gt+":",hn.ERR_BAD_REQUEST,F)):et.send(de||null)})}};xe.forEach(mt,(F,B)=>{if(F){try{Object.defineProperty(F,"name",{value:B})}catch{}Object.defineProperty(F,"adapterName",{value:B})}});const Tn=F=>`- ${F}`,Bn=F=>xe.isFunction(F)||null===F||!1===F,Pn_getAdapter=F=>{F=xe.isArray(F)?F:[F];const{length:B}=F;let z,$;const de={};for(let ye=0;ye<B;ye++){let _e;if(z=F[ye],$=z,!Bn(z)&&($=mt[(_e=String(z)).toLowerCase()],void 0===$))throw new hn(`Unknown adapter '${_e}'`);if($)break;de[_e||"#"+ye]=$}if(!$){const ye=Object.entries(de).map(([tt,Yt])=>`adapter ${tt} `+(!1===Yt?"is not supported by the environment":"is not available in the build"));let _e=B?ye.length>1?"since :\n"+ye.map(Tn).join("\n"):" "+Tn(ye[0]):"as no adapter specified";throw new hn("There is no suitable adapter to dispatch the request "+_e,"ERR_NOT_SUPPORT")}return $};function Jt(F){if(F.cancelToken&&F.cancelToken.throwIfRequested(),F.signal&&F.signal.aborted)throw new sr(null,F)}function Mn(F){return Jt(F),F.headers=Zn.from(F.headers),F.data=ki.call(F,F.transformRequest),-1!==["post","put","patch"].indexOf(F.method)&&F.headers.setContentType("application/x-www-form-urlencoded",!1),Pn_getAdapter(F.adapter||hs.adapter)(F).then(function($){return Jt(F),$.data=ki.call(F,F.transformResponse,$),$.headers=Zn.from($.headers),$},function($){return rr($)||(Jt(F),$&&$.response&&($.response.data=ki.call(F,F.transformResponse,$.response),$.response.headers=Zn.from($.response.headers))),Promise.reject($)})}const ln=F=>F instanceof Zn?F.toJSON():F;function Ze(F,B){B=B||{};const z={};function $(qt,Ot,et){return xe.isPlainObject(qt)&&xe.isPlainObject(Ot)?xe.merge.call({caseless:et},qt,Ot):xe.isPlainObject(Ot)?xe.merge({},Ot):xe.isArray(Ot)?Ot.slice():Ot}function de(qt,Ot,et){return xe.isUndefined(Ot)?xe.isUndefined(qt)?void 0:$(void 0,qt,et):$(qt,Ot,et)}function ye(qt,Ot){if(!xe.isUndefined(Ot))return $(void 0,Ot)}function _e(qt,Ot){return xe.isUndefined(Ot)?xe.isUndefined(qt)?void 0:$(void 0,qt):$(void 0,Ot)}function tt(qt,Ot,et){return et in B?$(qt,Ot):et in F?$(void 0,qt):void 0}const Yt={url:ye,method:ye,data:ye,baseURL:_e,transformRequest:_e,transformResponse:_e,paramsSerializer:_e,timeout:_e,timeoutMessage:_e,withCredentials:_e,withXSRFToken:_e,adapter:_e,responseType:_e,xsrfCookieName:_e,xsrfHeaderName:_e,onUploadProgress:_e,onDownloadProgress:_e,decompress:_e,maxContentLength:_e,maxBodyLength:_e,beforeRedirect:_e,transport:_e,httpAgent:_e,httpsAgent:_e,cancelToken:_e,socketPath:_e,responseEncoding:_e,validateStatus:tt,headers:(qt,Ot)=>de(ln(qt),ln(Ot),!0)};return xe.forEach(Object.keys(Object.assign({},F,B)),function(Ot){const et=Yt[Ot]||de,ui=et(F[Ot],B[Ot],Ot);xe.isUndefined(ui)&&et!==tt||(z[Ot]=ui)}),z}const yr={};["object","boolean","number","function","string","symbol"].forEach((F,B)=>{yr[F]=function($){return typeof $===F||"a"+(B<1?"n ":" ")+F}});const _n={};yr.transitional=function(B,z,$){function de(ye,_e){return"[Axios v1.6.7] Transitional option '"+ye+"'"+_e+($?". "+$:"")}return(ye,_e,tt)=>{if(!1===B)throw new hn(de(_e," has been removed"+(z?" in "+z:"")),hn.ERR_DEPRECATED);return z&&!_n[_e]&&(_n[_e]=!0,console.warn(de(_e," has been deprecated since v"+z+" and will be removed in the near future"))),!B||B(ye,_e,tt)}};const zr={assertOptions:function hr(F,B,z){if("object"!=typeof F)throw new hn("options must be an object",hn.ERR_BAD_OPTION_VALUE);const $=Object.keys(F);let de=$.length;for(;de-- >0;){const ye=$[de],_e=B[ye];if(_e){const tt=F[ye],Yt=void 0===tt||_e(tt,ye,F);if(!0!==Yt)throw new hn("option "+ye+" must be "+Yt,hn.ERR_BAD_OPTION_VALUE)}else if(!0!==z)throw new hn("Unknown option "+ye,hn.ERR_BAD_OPTION)}},validators:yr},Mi=zr.validators;class pr{constructor(B){this.defaults=B,this.interceptors={request:new vt,response:new vt}}request(B,z){var $=this;return(0,S.A)(function*(){try{return yield $._request(B,z)}catch(de){if(de instanceof Error){let ye;Error.captureStackTrace?Error.captureStackTrace(ye={}):ye=new Error;const _e=ye.stack?ye.stack.replace(/^.+\n/,""):"";de.stack?_e&&!String(de.stack).endsWith(_e.replace(/^.+\n.+\n/,""))&&(de.stack+="\n"+_e):de.stack=_e}throw de}})()}_request(B,z){"string"==typeof B?(z=z||{}).url=B:z=B||{},z=Ze(this.defaults,z);const{transitional:$,paramsSerializer:de,headers:ye}=z;void 0!==$&&zr.assertOptions($,{silentJSONParsing:Mi.transitional(Mi.boolean),forcedJSONParsing:Mi.transitional(Mi.boolean),clarifyTimeoutError:Mi.transitional(Mi.boolean)},!1),null!=de&&(xe.isFunction(de)?z.paramsSerializer={serialize:de}:zr.assertOptions(de,{encode:Mi.function,serialize:Mi.function},!0)),z.method=(z.method||this.defaults.method||"get").toLowerCase();let _e=ye&&xe.merge(ye.common,ye[z.method]);ye&&xe.forEach(["delete","get","head","post","put","patch","common"],Gt=>{delete ye[Gt]}),z.headers=Zn.concat(_e,ye);const tt=[];let Yt=!0;this.interceptors.request.forEach(function(Ft){"function"==typeof Ft.runWhen&&!1===Ft.runWhen(z)||(Yt=Yt&&Ft.synchronous,tt.unshift(Ft.fulfilled,Ft.rejected))});const qt=[];this.interceptors.response.forEach(function(Ft){qt.push(Ft.fulfilled,Ft.rejected)});let Ot,ui,et=0;if(!Yt){const Gt=[Mn.bind(this),void 0];for(Gt.unshift.apply(Gt,tt),Gt.push.apply(Gt,qt),ui=Gt.length,Ot=Promise.resolve(z);et<ui;)Ot=Ot.then(Gt[et++],Gt[et++]);return Ot}ui=tt.length;let di=z;for(et=0;et<ui;){const Gt=tt[et++],Ft=tt[et++];try{di=Gt(di)}catch(Jn){Ft.call(this,Jn);break}}try{Ot=Mn.call(this,di)}catch(Gt){return Promise.reject(Gt)}for(et=0,ui=qt.length;et<ui;)Ot=Ot.then(qt[et++],qt[et++]);return Ot}getUri(B){return Un(ee((B=Ze(this.defaults,B)).baseURL,B.url),B.params,B.paramsSerializer)}}xe.forEach(["delete","get","head","options"],function(B){pr.prototype[B]=function(z,$){return this.request(Ze($||{},{method:B,url:z,data:($||{}).data}))}}),xe.forEach(["post","put","patch"],function(B){function z($){return function(ye,_e,tt){return this.request(Ze(tt||{},{method:B,headers:$?{"Content-Type":"multipart/form-data"}:{},url:ye,data:_e}))}}pr.prototype[B]=z(),pr.prototype[B+"Form"]=z(!0)});const en=pr;class ss{constructor(B){if("function"!=typeof B)throw new TypeError("executor must be a function.");let z;this.promise=new Promise(function(ye){z=ye});const $=this;this.promise.then(de=>{if(!$._listeners)return;let ye=$._listeners.length;for(;ye-- >0;)$._listeners[ye](de);$._listeners=null}),this.promise.then=de=>{let ye;const _e=new Promise(tt=>{$.subscribe(tt),ye=tt}).then(de);return _e.cancel=function(){$.unsubscribe(ye)},_e},B(function(ye,_e,tt){$.reason||($.reason=new sr(ye,_e,tt),z($.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(B){this.reason?B(this.reason):this._listeners?this._listeners.push(B):this._listeners=[B]}unsubscribe(B){if(!this._listeners)return;const z=this._listeners.indexOf(B);-1!==z&&this._listeners.splice(z,1)}static source(){let B;return{token:new ss(function(de){B=de}),cancel:B}}}const Kr=ss,br={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(br).forEach(([F,B])=>{br[B]=F});const ws=br,Kn=function Dr(F){const B=new en(F),z=ge(en.prototype.request,B);return xe.extend(z,en.prototype,B,{allOwnKeys:!0}),xe.extend(z,B,null,{allOwnKeys:!0}),z.create=function(de){return Dr(Ze(F,de))},z}(hs);Kn.Axios=en,Kn.CanceledError=sr,Kn.CancelToken=Kr,Kn.isCancel=rr,Kn.VERSION="1.6.7",Kn.toFormData=zt,Kn.AxiosError=hn,Kn.Cancel=Kn.CanceledError,Kn.all=function(B){return Promise.all(B)},Kn.spread=function Li(F){return function(z){return F.apply(null,z)}},Kn.isAxiosError=function Cs(F){return xe.isObject(F)&&!0===F.isAxiosError},Kn.mergeConfig=Ze,Kn.AxiosHeaders=Zn,Kn.formToJSON=F=>is(xe.isHTMLForm(F)?new FormData(F):F),Kn.getAdapter=Pn_getAdapter,Kn.HttpStatusCode=ws,Kn.default=Kn;const ps=Kn;var gs=x(2767),Qr=x(4438),ms=x(1315),Ts=x(2840),mi=x(4550),Xr=x(9664);let Bi=(()=>{class F{constructor(z,$,de,ye){this.storeService=z,this.toastManager=$,this.router=de,this.translateService=ye,this.default={withCredentials:!0,timeout:99e4,headers:{"Content-Type":"application/json",Accept:"application/json"}},this.api=ps.create({baseURL:gs.c.apiBaseUrl,...this.default}),this.controller=new AbortController,this.initRequestInterceptor(this.api),this.initResponseInterceptor(this.api),this.initAuthHeader()}authenticate(z,$){return(0,S.A)(function*(){return Promise.resolve(!0)})()}forgotPassword(z){return(0,S.A)(function*(){return Promise.resolve(!0)})()}validateAccount(z,$){return(0,S.A)(function*(){return Promise.resolve(!0)})()}initAuthHeader(){}initRequestInterceptor(z){z.interceptors.request.use($=>(console.log("interceptors.request.config",$),this.storeService.isLoading.set(!0),$),$=>(console.log("interceptors.request.error",$),this.storeService.isLoading.set(!1),this.toastManager.quickShow($),Promise.reject($)))}initResponseInterceptor(z){var $=this;z.interceptors.response.use(de=>(console.log("interceptors.response.response",de),this.storeService.isLoading.set(!1),de),function(){var de=(0,S.A)(function*(ye){return console.log("interceptors.response.error",ye),$.storeService.isLoading.set(!1),"ERR_CANCELED"===ye.code?Promise.resolve(ye):($.toastManager.quickShow(ye.message),Promise.reject(ye))});return function(ye){return de.apply(this,arguments)}}())}static#e=this.\u0275fac=function($){return new($||F)(Qr.KVO(ms.n),Qr.KVO(Ts.t),Qr.KVO(mi.Ix),Qr.KVO(Xr.c$))};static#t=this.\u0275prov=Qr.jDH({token:F,factory:F.\u0275fac})}return F})()},1315:(yt,Se,x)=>{x.d(Se,{n:()=>X});var o=x(177),S=x(4438),ge=x(2767),ce=x(9664);let X=(()=>{class le{constructor(Pe,Ie){this.platformId=Pe,this.translateService=Ie,this.isServer=(0,S.vPA)((0,o.Vy)(this.platformId)),this.isLoading=(0,S.vPA)(!0),this.pageTitle=(0,S.vPA)(ge.c.appName)}setPageTitle(Pe,Ie=!0){const Ae=Ie?this.translateService.instant(Pe):Pe;this.pageTitle.set(Ae)}static#e=this.\u0275fac=function(Ie){return new(Ie||le)(S.KVO(S.Agw),S.KVO(ce.c$))};static#t=this.\u0275prov=S.jDH({token:le,factory:le.\u0275fac})}return le})()},2767:(yt,Se,x)=>{x.d(Se,{c:()=>Pe});var o=function(Ie){return Ie.LOCAL="local",Ie.PROD="production",Ie}(o||{});const Pe={production:!0,version:"0.0.0",appName:"EasyAngular",envName:o.PROD,defaultLanguage:"en",apiBaseUrl:"http://localhost:5000/api/"}},8146:(yt,Se,x)=>{var o=x(4438),S=x(345),ge=x(177),ce=x(1626),X=function(g){return g[g.State=0]="State",g[g.Transition=1]="Transition",g[g.Sequence=2]="Sequence",g[g.Group=3]="Group",g[g.Animate=4]="Animate",g[g.Keyframes=5]="Keyframes",g[g.Style=6]="Style",g[g.Trigger=7]="Trigger",g[g.Reference=8]="Reference",g[g.AnimateChild=9]="AnimateChild",g[g.AnimateRef=10]="AnimateRef",g[g.Query=11]="Query",g[g.Stagger=12]="Stagger",g}(X||{});const le="*";function Me(g){return{type:X.Style,styles:g,offset:null}}class Et{constructor(u=0,f=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=u+f}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(u=>u()),this._onDoneFns=[])}onStart(u){this._originalOnStartFns.push(u),this._onStartFns.push(u)}onDone(u){this._originalOnDoneFns.push(u),this._onDoneFns.push(u)}onDestroy(u){this._onDestroyFns.push(u)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(u=>u()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(u=>u()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(u){this._position=this.totalTime?u*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(u){const f="start"==u?this._onStartFns:this._onDoneFns;f.forEach(D=>D()),f.length=0}}class $t{constructor(u){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=u;let f=0,D=0,N=0;const j=this.players.length;0==j?queueMicrotask(()=>this._onFinish()):this.players.forEach(K=>{K.onDone(()=>{++f==j&&this._onFinish()}),K.onDestroy(()=>{++D==j&&this._onDestroy()}),K.onStart(()=>{++N==j&&this._onStart()})}),this.totalTime=this.players.reduce((K,J)=>Math.max(K,J.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(u=>u()),this._onDoneFns=[])}init(){this.players.forEach(u=>u.init())}onStart(u){this._onStartFns.push(u)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(u=>u()),this._onStartFns=[])}onDone(u){this._onDoneFns.push(u)}onDestroy(u){this._onDestroyFns.push(u)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(u=>u.play())}pause(){this.players.forEach(u=>u.pause())}restart(){this.players.forEach(u=>u.restart())}finish(){this._onFinish(),this.players.forEach(u=>u.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(u=>u.destroy()),this._onDestroyFns.forEach(u=>u()),this._onDestroyFns=[])}reset(){this.players.forEach(u=>u.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(u){const f=u*this.totalTime;this.players.forEach(D=>{const N=D.totalTime?Math.min(1,f/D.totalTime):1;D.setPosition(N)})}getPosition(){const u=this.players.reduce((f,D)=>null===f||D.totalTime>f.totalTime?D:f,null);return null!=u?u.getPosition():0}beforeDestroy(){this.players.forEach(u=>{u.beforeDestroy&&u.beforeDestroy()})}triggerCallback(u){const f="start"==u?this._onStartFns:this._onDoneFns;f.forEach(D=>D()),f.length=0}}function Cn(g){return new o.wOt(3e3,!1)}function Rt(g){switch(g.length){case 0:return new Et;case 1:return g[0];default:return new $t(g)}}function $r(g,u,f=new Map,D=new Map){const N=[],j=[];let K=-1,J=null;if(u.forEach(ae=>{const De=ae.get("offset"),Ke=De==K,ze=Ke&&J||new Map;ae.forEach((un,Wt)=>{let Dt=Wt,_t=un;if("offset"!==Wt)switch(Dt=g.normalizePropertyName(Dt,N),_t){case"!":_t=f.get(Wt);break;case le:_t=D.get(Wt);break;default:_t=g.normalizeStyleValue(Wt,Dt,_t,N)}ze.set(Dt,_t)}),Ke||j.push(ze),J=ze,K=De}),N.length)throw function dr(g){return new o.wOt(3502,!1)}();return j}function zt(g,u,f,D){switch(u){case"start":g.onStart(()=>D(f&&ut(f,"start",g)));break;case"done":g.onDone(()=>D(f&&ut(f,"done",g)));break;case"destroy":g.onDestroy(()=>D(f&&ut(f,"destroy",g)))}}function ut(g,u,f){const j=Wi(g.element,g.triggerName,g.fromState,g.toState,u||g.phaseName,f.totalTime??g.totalTime,!!f.disabled),K=g._data;return null!=K&&(j._data=K),j}function Wi(g,u,f,D,N="",j=0,K){return{element:g,triggerName:u,fromState:f,toState:D,phaseName:N,totalTime:j,disabled:!!K}}function rn(g,u,f){let D=g.get(u);return D||g.set(u,D=f),D}function In(g){const u=g.indexOf(":");return[g.substring(1,u),g.slice(u+1)]}const li=typeof document>"u"?null:document.documentElement;function Un(g){const u=g.parentNode||g.host||null;return u===li?null:u}let vt=null,we=!1;function Ve(g,u){for(;u;){if(u===g)return!0;u=Un(u)}return!1}function qe(g,u,f){if(f)return Array.from(g.querySelectorAll(u));const D=g.querySelector(u);return D?[D]:[]}let pn=(()=>{class g{validateStyleProperty(f){return function pe(g){vt||(vt=function ue(){return typeof document<"u"?document.body:null}()||{},we=!!vt.style&&"WebkitAppearance"in vt.style);let u=!0;return vt.style&&!function Rn(g){return"ebkit"==g.substring(1,6)}(g)&&(u=g in vt.style,!u&&we&&(u="Webkit"+g.charAt(0).toUpperCase()+g.slice(1)in vt.style)),u}(f)}containsElement(f,D){return Ve(f,D)}getParentElement(f){return Un(f)}query(f,D,N){return qe(f,D,N)}computeStyle(f,D,N){return N||""}animate(f,D,N,j,K,J=[],ae){return new Et(N,j)}static#e=this.\u0275fac=function(D){return new(D||g)};static#t=this.\u0275prov=o.jDH({token:g,factory:g.\u0275fac})}return g})();class yn{static#e=this.NOOP=new pn}class ni{}const Ki=1e3,Ti="ng-enter",It="ng-leave",hs="ng-trigger",Wr=".ng-trigger",xs="ng-animating",Qn=".ng-animating";function zn(g){if("number"==typeof g)return g;const u=g.match(/^(-?[\.\d]+)(m?s)/);return!u||u.length<2?0:Pt(parseFloat(u[1]),u[2])}function Pt(g,u){return"s"===u?g*Ki:g}function ir(g,u,f){return g.hasOwnProperty("duration")?g:function ri(g,u,f){let N,j=0,K="";if("string"==typeof g){const J=g.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===J)return u.push(Cn()),{duration:0,delay:0,easing:""};N=Pt(parseFloat(J[1]),J[2]);const ae=J[3];null!=ae&&(j=Pt(parseFloat(ae),J[4]));const De=J[5];De&&(K=De)}else N=g;if(!f){let J=!1,ae=u.length;N<0&&(u.push(function wi(){return new o.wOt(3100,!1)}()),J=!0),j<0&&(u.push(function vi(){return new o.wOt(3101,!1)}()),J=!0),J&&u.splice(ae,0,Cn())}return{duration:N,delay:j,easing:K}}(g,u,f)}function qn(g,u,f){u.forEach((D,N)=>{const j=rs(N);f&&!f.has(N)&&f.set(N,g.style[j]),g.style[j]=D})}function si(g,u){u.forEach((f,D)=>{const N=rs(D);g.style[N]=""})}function Zn(g){return Array.isArray(g)?1==g.length?g[0]:function Ae(g,u=null){return{type:X.Sequence,steps:g,options:u}}(g):g}const rr=new RegExp("{{\\s*(.+?)\\s*}}","g");function fr(g){let u=[];if("string"==typeof g){let f;for(;f=rr.exec(g);)u.push(f[1]);rr.lastIndex=0}return u}function sr(g,u,f){const D=`${g}`,N=D.replace(rr,(j,K)=>{let J=u[K];return null==J&&(f.push(function be(g){return new o.wOt(3003,!1)}()),J=""),J.toString()});return N==D?g:N}const At=/-+([a-z0-9])/g;function rs(g){return g.replace(At,(...u)=>u[1].toUpperCase())}function q(g,u,f){switch(u.type){case X.Trigger:return g.visitTrigger(u,f);case X.State:return g.visitState(u,f);case X.Transition:return g.visitTransition(u,f);case X.Sequence:return g.visitSequence(u,f);case X.Group:return g.visitGroup(u,f);case X.Animate:return g.visitAnimate(u,f);case X.Keyframes:return g.visitKeyframes(u,f);case X.Style:return g.visitStyle(u,f);case X.Reference:return g.visitReference(u,f);case X.AnimateChild:return g.visitAnimateChild(u,f);case X.AnimateRef:return g.visitAnimateRef(u,f);case X.Query:return g.visitQuery(u,f);case X.Stagger:return g.visitStagger(u,f);default:throw function te(g){return new o.wOt(3004,!1)}()}}function Te(g,u){return window.getComputedStyle(g)[u]}const Ue=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 Xe extends ni{normalizePropertyName(u,f){return rs(u)}normalizeStyleValue(u,f,D,N){let j="";const K=D.toString().trim();if(Ue.has(f)&&0!==D&&"0"!==D)if("number"==typeof D)j="px";else{const J=D.match(/^[+-]?[\d\.]+([a-z]*)$/);J&&0==J[1].length&&N.push(function he(g,u){return new o.wOt(3005,!1)}())}return K+j}}const Pn="*";const Ze=new Set(["true","1"]),xt=new Set(["false","0"]);function yr(g,u){const f=Ze.has(g)||xt.has(g),D=Ze.has(u)||xt.has(u);return(N,j)=>{let K=g==Pn||g==N,J=u==Pn||u==j;return!K&&f&&"boolean"==typeof N&&(K=N?Ze.has(g):xt.has(g)),!J&&D&&"boolean"==typeof j&&(J=j?Ze.has(u):xt.has(u)),K&&J}}const hr=new RegExp("s*:selfs*,?","g");function zr(g,u,f,D){return new pr(g).build(u,f,D)}class pr{constructor(u){this._driver=u}build(u,f,D){const N=new Kr(f);return this._resetContextStyleTimingState(N),q(this,Zn(u),N)}_resetContextStyleTimingState(u){u.currentQuerySelector="",u.collectedStyles=new Map,u.collectedStyles.set("",new Map),u.currentTime=0}visitTrigger(u,f){let D=f.queryCount=0,N=f.depCount=0;const j=[],K=[];return"@"==u.name.charAt(0)&&f.errors.push(function U(){return new o.wOt(3006,!1)}()),u.definitions.forEach(J=>{if(this._resetContextStyleTimingState(f),J.type==X.State){const ae=J,De=ae.name;De.toString().split(/\s*,\s*/).forEach(Ke=>{ae.name=Ke,j.push(this.visitState(ae,f))}),ae.name=De}else if(J.type==X.Transition){const ae=this.visitTransition(J,f);D+=ae.queryCount,N+=ae.depCount,K.push(ae)}else f.errors.push(function ne(){return new o.wOt(3007,!1)}())}),{type:X.Trigger,name:u.name,states:j,transitions:K,queryCount:D,depCount:N,options:null}}visitState(u,f){const D=this.visitStyle(u.styles,f),N=u.options&&u.options.params||null;if(D.containsDynamicStyles){const j=new Set,K=N||{};D.styles.forEach(J=>{J instanceof Map&&J.forEach(ae=>{fr(ae).forEach(De=>{K.hasOwnProperty(De)||j.add(De)})})}),j.size&&f.errors.push(function oe(g,u){return new o.wOt(3008,!1)}(0,j.values()))}return{type:X.State,name:u.name,style:D,options:N?{params:N}:null}}visitTransition(u,f){f.queryCount=0,f.depCount=0;const D=q(this,Zn(u.animation),f),N=function Jt(g,u){const f=[];return"string"==typeof g?g.split(/\s*,\s*/).forEach(D=>function Mn(g,u,f){if(":"==g[0]){const ae=function ln(g,u){switch(g){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(f,D)=>parseFloat(D)>parseFloat(f);case":decrement":return(f,D)=>parseFloat(D)<parseFloat(f);default:return u.push(function mn(g){return new o.wOt(3016,!1)}()),"* => *"}}(g,f);if("function"==typeof ae)return void u.push(ae);g=ae}const D=g.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==D||D.length<4)return f.push(function bt(g){return new o.wOt(3015,!1)}()),u;const N=D[1],j=D[2],K=D[3];u.push(yr(N,K)),"<"==j[0]&&(N!=Pn||K!=Pn)&&u.push(yr(K,N))}(D,f,u)):f.push(g),f}(u.expr,f.errors);return{type:X.Transition,matchers:N,animation:D,queryCount:f.queryCount,depCount:f.depCount,options:br(u.options)}}visitSequence(u,f){return{type:X.Sequence,steps:u.steps.map(D=>q(this,D,f)),options:br(u.options)}}visitGroup(u,f){const D=f.currentTime;let N=0;const j=u.steps.map(K=>{f.currentTime=D;const J=q(this,K,f);return N=Math.max(N,f.currentTime),J});return f.currentTime=N,{type:X.Group,steps:j,options:br(u.options)}}visitAnimate(u,f){const D=function Cs(g,u){if(g.hasOwnProperty("duration"))return g;if("number"==typeof g)return ws(ir(g,u).duration,0,"");const f=g;if(f.split(/\s+/).some(j=>"{"==j.charAt(0)&&"{"==j.charAt(1))){const j=ws(0,0,"");return j.dynamic=!0,j.strValue=f,j}const N=ir(f,u);return ws(N.duration,N.delay,N.easing)}(u.timings,f.errors);f.currentAnimateTimings=D;let N,j=u.styles?u.styles:Me({});if(j.type==X.Keyframes)N=this.visitKeyframes(j,f);else{let K=u.styles,J=!1;if(!K){J=!0;const De={};D.easing&&(De.easing=D.easing),K=Me(De)}f.currentTime+=D.duration+D.delay;const ae=this.visitStyle(K,f);ae.isEmptyStep=J,N=ae}return f.currentAnimateTimings=null,{type:X.Animate,timings:D,style:N,options:null}}visitStyle(u,f){const D=this._makeStyleAst(u,f);return this._validateStyleAst(D,f),D}_makeStyleAst(u,f){const D=[],N=Array.isArray(u.styles)?u.styles:[u.styles];for(let J of N)"string"==typeof J?J===le?D.push(J):f.errors.push(new o.wOt(3002,!1)):D.push(new Map(Object.entries(J)));let j=!1,K=null;return D.forEach(J=>{if(J instanceof Map&&(J.has("easing")&&(K=J.get("easing"),J.delete("easing")),!j))for(let ae of J.values())if(ae.toString().indexOf("{{")>=0){j=!0;break}}),{type:X.Style,styles:D,easing:K,offset:u.offset,containsDynamicStyles:j,options:null}}_validateStyleAst(u,f){const D=f.currentAnimateTimings;let N=f.currentTime,j=f.currentTime;D&&j>0&&(j-=D.duration+D.delay),u.styles.forEach(K=>{"string"!=typeof K&&K.forEach((J,ae)=>{const De=f.collectedStyles.get(f.currentQuerySelector),Ke=De.get(ae);let ze=!0;Ke&&(j!=N&&j>=Ke.startTime&&N<=Ke.endTime&&(f.errors.push(function vn(g,u,f,D,N){return new o.wOt(3010,!1)}()),ze=!1),j=Ke.startTime),ze&&De.set(ae,{startTime:j,endTime:N}),f.options&&function ki(g,u,f){const D=u.params||{},N=fr(g);N.length&&N.forEach(j=>{D.hasOwnProperty(j)||f.push(function jn(g){return new o.wOt(3001,!1)}())})}(J,f.options,f.errors)})})}visitKeyframes(u,f){const D={type:X.Keyframes,styles:[],options:null};if(!f.currentAnimateTimings)return f.errors.push(function gt(){return new o.wOt(3011,!1)}()),D;let j=0;const K=[];let J=!1,ae=!1,De=0;const Ke=u.steps.map(ke=>{const dt=this._makeStyleAst(ke,f);let En=null!=dt.offset?dt.offset:function Li(g){if("string"==typeof g)return null;let u=null;if(Array.isArray(g))g.forEach(f=>{if(f instanceof Map&&f.has("offset")){const D=f;u=parseFloat(D.get("offset")),D.delete("offset")}});else if(g instanceof Map&&g.has("offset")){const f=g;u=parseFloat(f.get("offset")),f.delete("offset")}return u}(dt.styles),fi=0;return null!=En&&(j++,fi=dt.offset=En),ae=ae||fi<0||fi>1,J=J||fi<De,De=fi,K.push(fi),dt});ae&&f.errors.push(function fn(){return new o.wOt(3012,!1)}()),J&&f.errors.push(function bn(){return new o.wOt(3200,!1)}());const ze=u.steps.length;let un=0;j>0&&j<ze?f.errors.push(function wn(){return new o.wOt(3202,!1)}()):0==j&&(un=1/(ze-1));const Wt=ze-1,Dt=f.currentTime,_t=f.currentAnimateTimings,wt=_t.duration;return Ke.forEach((ke,dt)=>{const En=un>0?dt==Wt?1:un*dt:K[dt],fi=En*wt;f.currentTime=Dt+_t.delay+fi,_t.duration=fi,this._validateStyleAst(ke,f),ke.offset=En,D.styles.push(ke)}),D}visitReference(u,f){return{type:X.Reference,animation:q(this,Zn(u.animation),f),options:br(u.options)}}visitAnimateChild(u,f){return f.depCount++,{type:X.AnimateChild,options:br(u.options)}}visitAnimateRef(u,f){return{type:X.AnimateRef,animation:this.visitReference(u.animation,f),options:br(u.options)}}visitQuery(u,f){const D=f.currentQuerySelector,N=u.options||{};f.queryCount++,f.currentQuery=u;const[j,K]=function en(g){const u=!!g.split(/\s*,\s*/).find(f=>":self"==f);return u&&(g=g.replace(hr,"")),g=g.replace(/@\*/g,Wr).replace(/@\w+/g,f=>Wr+"-"+f.slice(1)).replace(/:animating/g,Qn),[g,u]}(u.selector);f.currentQuerySelector=D.length?D+" "+j:j,rn(f.collectedStyles,f.currentQuerySelector,new Map);const J=q(this,Zn(u.animation),f);return f.currentQuery=null,f.currentQuerySelector=D,{type:X.Query,selector:j,limit:N.limit||0,optional:!!N.optional,includeSelf:K,animation:J,originalSelector:u.selector,options:br(u.options)}}visitStagger(u,f){f.currentQuery||f.errors.push(function gn(){return new o.wOt(3013,!1)}());const D="full"===u.timings?{duration:0,delay:0,easing:"full"}:ir(u.timings,f.errors,!0);return{type:X.Stagger,animation:q(this,Zn(u.animation),f),timings:D,options:null}}}class Kr{constructor(u){this.errors=u,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 br(g){return g?(g={...g}).params&&(g.params=function ss(g){return g?{...g}:null}(g.params)):g={},g}function ws(g,u,f){return{duration:g,delay:u,easing:f}}function Dr(g,u,f,D,N,j,K=null,J=!1){return{type:1,element:g,keyframes:u,preStyleProps:f,postStyleProps:D,duration:N,delay:j,totalTime:N+j,easing:K,subTimeline:J}}class Kn{constructor(){this._map=new Map}get(u){return this._map.get(u)||[]}append(u,f){let D=this._map.get(u);D||this._map.set(u,D=[]),D.push(...f)}has(u){return this._map.has(u)}clear(){this._map.clear()}}const Qr=new RegExp(":enter","g"),Ts=new RegExp(":leave","g");function mi(g,u,f,D,N,j=new Map,K=new Map,J,ae,De=[]){return(new Xr).buildKeyframes(g,u,f,D,N,j,K,J,ae,De)}class Xr{buildKeyframes(u,f,D,N,j,K,J,ae,De,Ke=[]){De=De||new Kn;const ze=new F(u,f,De,N,j,Ke,[]);ze.options=ae;const un=ae.delay?zn(ae.delay):0;ze.currentTimeline.delayNextStep(un),ze.currentTimeline.setStyles([K],null,ze.errors,ae),q(this,D,ze);const Wt=ze.timelines.filter(Dt=>Dt.containsAnimation());if(Wt.length&&J.size){let Dt;for(let _t=Wt.length-1;_t>=0;_t--){const wt=Wt[_t];if(wt.element===f){Dt=wt;break}}Dt&&!Dt.allowOnlyTimelineStyles()&&Dt.setStyles([J],null,ze.errors,ae)}return Wt.length?Wt.map(Dt=>Dt.buildKeyframes()):[Dr(f,[],[],[],0,un,"",!1)]}visitTrigger(u,f){}visitState(u,f){}visitTransition(u,f){}visitAnimateChild(u,f){const D=f.subInstructions.get(f.element);if(D){const N=f.createSubContext(u.options),j=f.currentTimeline.currentTime,K=this._visitSubInstructions(D,N,N.options);j!=K&&f.transformIntoNewTimeline(K)}f.previousNode=u}visitAnimateRef(u,f){const D=f.createSubContext(u.options);D.transformIntoNewTimeline(),this._applyAnimationRefDelays([u.options,u.animation.options],f,D),this.visitReference(u.animation,D),f.transformIntoNewTimeline(D.currentTimeline.currentTime),f.previousNode=u}_applyAnimationRefDelays(u,f,D){for(const N of u){const j=N?.delay;if(j){const K="number"==typeof j?j:zn(sr(j,N?.params??{},f.errors));D.delayNextStep(K)}}}_visitSubInstructions(u,f,D){let j=f.currentTimeline.currentTime;const K=null!=D.duration?zn(D.duration):null,J=null!=D.delay?zn(D.delay):null;return 0!==K&&u.forEach(ae=>{const De=f.appendInstructionToTimeline(ae,K,J);j=Math.max(j,De.duration+De.delay)}),j}visitReference(u,f){f.updateOptions(u.options,!0),q(this,u.animation,f),f.previousNode=u}visitSequence(u,f){const D=f.subContextCount;let N=f;const j=u.options;if(j&&(j.params||j.delay)&&(N=f.createSubContext(j),N.transformIntoNewTimeline(),null!=j.delay)){N.previousNode.type==X.Style&&(N.currentTimeline.snapshotCurrentStyles(),N.previousNode=Bi);const K=zn(j.delay);N.delayNextStep(K)}u.steps.length&&(u.steps.forEach(K=>q(this,K,N)),N.currentTimeline.applyStylesToKeyframe(),N.subContextCount>D&&N.transformIntoNewTimeline()),f.previousNode=u}visitGroup(u,f){const D=[];let N=f.currentTimeline.currentTime;const j=u.options&&u.options.delay?zn(u.options.delay):0;u.steps.forEach(K=>{const J=f.createSubContext(u.options);j&&J.delayNextStep(j),q(this,K,J),N=Math.max(N,J.currentTimeline.currentTime),D.push(J.currentTimeline)}),D.forEach(K=>f.currentTimeline.mergeTimelineCollectedStyles(K)),f.transformIntoNewTimeline(N),f.previousNode=u}_visitTiming(u,f){if(u.dynamic){const D=u.strValue;return ir(f.params?sr(D,f.params,f.errors):D,f.errors)}return{duration:u.duration,delay:u.delay,easing:u.easing}}visitAnimate(u,f){const D=f.currentAnimateTimings=this._visitTiming(u.timings,f),N=f.currentTimeline;D.delay&&(f.incrementTime(D.delay),N.snapshotCurrentStyles());const j=u.style;j.type==X.Keyframes?this.visitKeyframes(j,f):(f.incrementTime(D.duration),this.visitStyle(j,f),N.applyStylesToKeyframe()),f.currentAnimateTimings=null,f.previousNode=u}visitStyle(u,f){const D=f.currentTimeline,N=f.currentAnimateTimings;!N&&D.hasCurrentStyleProperties()&&D.forwardFrame();const j=N&&N.easing||u.easing;u.isEmptyStep?D.applyEmptyStep(j):D.setStyles(u.styles,j,f.errors,f.options),f.previousNode=u}visitKeyframes(u,f){const D=f.currentAnimateTimings,N=f.currentTimeline.duration,j=D.duration,J=f.createSubContext().currentTimeline;J.easing=D.easing,u.styles.forEach(ae=>{J.forwardTime((ae.offset||0)*j),J.setStyles(ae.styles,ae.easing,f.errors,f.options),J.applyStylesToKeyframe()}),f.currentTimeline.mergeTimelineCollectedStyles(J),f.transformIntoNewTimeline(N+j),f.previousNode=u}visitQuery(u,f){const D=f.currentTimeline.currentTime,N=u.options||{},j=N.delay?zn(N.delay):0;j&&(f.previousNode.type===X.Style||0==D&&f.currentTimeline.hasCurrentStyleProperties())&&(f.currentTimeline.snapshotCurrentStyles(),f.previousNode=Bi);let K=D;const J=f.invokeQuery(u.selector,u.originalSelector,u.limit,u.includeSelf,!!N.optional,f.errors);f.currentQueryTotal=J.length;let ae=null;J.forEach((De,Ke)=>{f.currentQueryIndex=Ke;const ze=f.createSubContext(u.options,De);j&&ze.delayNextStep(j),De===f.element&&(ae=ze.currentTimeline),q(this,u.animation,ze),ze.currentTimeline.applyStylesToKeyframe(),K=Math.max(K,ze.currentTimeline.currentTime)}),f.currentQueryIndex=0,f.currentQueryTotal=0,f.transformIntoNewTimeline(K),ae&&(f.currentTimeline.mergeTimelineCollectedStyles(ae),f.currentTimeline.snapshotCurrentStyles()),f.previousNode=u}visitStagger(u,f){const D=f.parentContext,N=f.currentTimeline,j=u.timings,K=Math.abs(j.duration),J=K*(f.currentQueryTotal-1);let ae=K*f.currentQueryIndex;switch(j.duration<0?"reverse":j.easing){case"reverse":ae=J-ae;break;case"full":ae=D.currentStaggerTime}const Ke=f.currentTimeline;ae&&Ke.delayNextStep(ae);const ze=Ke.currentTime;q(this,u.animation,f),f.previousNode=u,D.currentStaggerTime=N.currentTime-ze+(N.startTime-D.currentTimeline.startTime)}}const Bi={};class F{constructor(u,f,D,N,j,K,J,ae){this._driver=u,this.element=f,this.subInstructions=D,this._enterClassName=N,this._leaveClassName=j,this.errors=K,this.timelines=J,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Bi,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=ae||new B(this._driver,f,0),J.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(u,f){if(!u)return;const D=u;let N=this.options;null!=D.duration&&(N.duration=zn(D.duration)),null!=D.delay&&(N.delay=zn(D.delay));const j=D.params;if(j){let K=N.params;K||(K=this.options.params={}),Object.keys(j).forEach(J=>{(!f||!K.hasOwnProperty(J))&&(K[J]=sr(j[J],K,this.errors))})}}_copyOptions(){const u={};if(this.options){const f=this.options.params;if(f){const D=u.params={};Object.keys(f).forEach(N=>{D[N]=f[N]})}}return u}createSubContext(u=null,f,D){const N=f||this.element,j=new F(this._driver,N,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(N,D||0));return j.previousNode=this.previousNode,j.currentAnimateTimings=this.currentAnimateTimings,j.options=this._copyOptions(),j.updateOptions(u),j.currentQueryIndex=this.currentQueryIndex,j.currentQueryTotal=this.currentQueryTotal,j.parentContext=this,this.subContextCount++,j}transformIntoNewTimeline(u){return this.previousNode=Bi,this.currentTimeline=this.currentTimeline.fork(this.element,u),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(u,f,D){const N={duration:f??u.duration,delay:this.currentTimeline.currentTime+(D??0)+u.delay,easing:""},j=new z(this._driver,u.element,u.keyframes,u.preStyleProps,u.postStyleProps,N,u.stretchStartingKeyframe);return this.timelines.push(j),N}incrementTime(u){this.currentTimeline.forwardTime(this.currentTimeline.duration+u)}delayNextStep(u){u>0&&this.currentTimeline.delayNextStep(u)}invokeQuery(u,f,D,N,j,K){let J=[];if(N&&J.push(this.element),u.length>0){u=(u=u.replace(Qr,"."+this._enterClassName)).replace(Ts,"."+this._leaveClassName);let De=this._driver.query(this.element,u,1!=D);0!==D&&(De=D<0?De.slice(De.length+D,De.length):De.slice(0,D)),J.push(...De)}return!j&&0==J.length&&K.push(function ti(g){return new o.wOt(3014,!1)}()),J}}class B{constructor(u,f,D,N){this._driver=u,this.element=f,this.startTime=D,this._elementTimelineStylesLookup=N,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(f),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(f,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(u){const f=1===this._keyframes.size&&this._pendingStyles.size;this.duration||f?(this.forwardTime(this.currentTime+u),f&&this.snapshotCurrentStyles()):this.startTime+=u}fork(u,f){return this.applyStylesToKeyframe(),new B(this._driver,u,f||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(u){this.applyStylesToKeyframe(),this.duration=u,this._loadKeyframe()}_updateStyle(u,f){this._localTimelineStyles.set(u,f),this._globalTimelineStyles.set(u,f),this._styleSummary.set(u,{time:this.currentTime,value:f})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(u){u&&this._previousKeyframe.set("easing",u);for(let[f,D]of this._globalTimelineStyles)this._backFill.set(f,D||le),this._currentKeyframe.set(f,le);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(u,f,D,N){f&&this._previousKeyframe.set("easing",f);const j=N&&N.params||{},K=function de(g,u){const f=new Map;let D;return g.forEach(N=>{if("*"===N){D??=u.keys();for(let j of D)f.set(j,le)}else for(let[j,K]of N)f.set(j,K)}),f}(u,this._globalTimelineStyles);for(let[J,ae]of K){const De=sr(ae,j,D);this._pendingStyles.set(J,De),this._localTimelineStyles.has(J)||this._backFill.set(J,this._globalTimelineStyles.get(J)??le),this._updateStyle(J,De)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((u,f)=>{this._currentKeyframe.set(f,u)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((u,f)=>{this._currentKeyframe.has(f)||this._currentKeyframe.set(f,u)}))}snapshotCurrentStyles(){for(let[u,f]of this._localTimelineStyles)this._pendingStyles.set(u,f),this._updateStyle(u,f)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const u=[];for(let f in this._currentKeyframe)u.push(f);return u}mergeTimelineCollectedStyles(u){u._styleSummary.forEach((f,D)=>{const N=this._styleSummary.get(D);(!N||f.time>N.time)&&this._updateStyle(D,f.value)})}buildKeyframes(){this.applyStylesToKeyframe();const u=new Set,f=new Set,D=1===this._keyframes.size&&0===this.duration;let N=[];this._keyframes.forEach((J,ae)=>{const De=new Map([...this._backFill,...J]);De.forEach((Ke,ze)=>{"!"===Ke?u.add(ze):Ke===le&&f.add(ze)}),D||De.set("offset",ae/this.duration),N.push(De)});const j=[...u.values()],K=[...f.values()];if(D){const J=N[0],ae=new Map(J);J.set("offset",0),ae.set("offset",1),N=[J,ae]}return Dr(this.element,N,j,K,this.duration,this.startTime,this.easing,!1)}}class z extends B{constructor(u,f,D,N,j,K,J=!1){super(u,f,K.delay),this.keyframes=D,this.preStyleProps=N,this.postStyleProps=j,this._stretchStartingKeyframe=J,this.timings={duration:K.duration,delay:K.delay,easing:K.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let u=this.keyframes,{delay:f,duration:D,easing:N}=this.timings;if(this._stretchStartingKeyframe&&f){const j=[],K=D+f,J=f/K,ae=new Map(u[0]);ae.set("offset",0),j.push(ae);const De=new Map(u[0]);De.set("offset",$(J)),j.push(De);const Ke=u.length-1;for(let ze=1;ze<=Ke;ze++){let un=new Map(u[ze]);const Wt=un.get("offset");un.set("offset",$((f+Wt*D)/K)),j.push(un)}D=K,f=0,N="",u=j}return Dr(this.element,u,this.preStyleProps,this.postStyleProps,D,f,N,!0)}}function $(g,u=3){const f=Math.pow(10,u-1);return Math.round(g*f)/f}function ye(g,u,f,D,N,j,K,J,ae,De,Ke,ze,un){return{type:0,element:g,triggerName:u,isRemovalTransition:N,fromState:f,fromStyles:j,toState:D,toStyles:K,timelines:J,queriedElements:ae,preStyleProps:De,postStyleProps:Ke,totalTime:ze,errors:un}}const _e={};class tt{constructor(u,f,D){this._triggerName=u,this.ast=f,this._stateStyles=D}match(u,f,D,N){return function qt(g,u,f,D,N){return g.some(j=>j(u,f,D,N))}(this.ast.matchers,u,f,D,N)}buildStyles(u,f,D){let N=this._stateStyles.get("*");return void 0!==u&&(N=this._stateStyles.get(u?.toString())||N),N?N.buildStyles(f,D):new Map}build(u,f,D,N,j,K,J,ae,De,Ke){const ze=[],un=this.ast.options&&this.ast.options.params||_e,Dt=this.buildStyles(D,J&&J.params||_e,ze),_t=ae&&ae.params||_e,wt=this.buildStyles(N,_t,ze),ke=new Set,dt=new Map,En=new Map,fi="void"===N,hi={params:Ot(_t,un),delay:this.ast.options?.delay},Xn=Ke?[]:mi(u,f,this.ast.animation,j,K,Dt,wt,hi,De,ze);let Ui=0;return Xn.forEach(On=>{Ui=Math.max(On.duration+On.delay,Ui)}),ze.length?ye(f,this._triggerName,D,N,fi,Dt,wt,[],[],dt,En,Ui,ze):(Xn.forEach(On=>{const oi=On.element,Si=rn(dt,oi,new Set);On.preStyleProps.forEach(Ir=>Si.add(Ir));const tn=rn(En,oi,new Set);On.postStyleProps.forEach(Ir=>tn.add(Ir)),oi!==f&&ke.add(oi)}),ye(f,this._triggerName,D,N,fi,Dt,wt,Xn,[...ke.values()],dt,En,Ui))}}function Ot(g,u){const f={...u};return Object.entries(g).forEach(([D,N])=>{null!=N&&(f[D]=N)}),f}class et{constructor(u,f,D){this.styles=u,this.defaultParams=f,this.normalizer=D}buildStyles(u,f){const D=new Map,N=Ot(u,this.defaultParams);return this.styles.styles.forEach(j=>{"string"!=typeof j&&j.forEach((K,J)=>{K&&(K=sr(K,N,f));const ae=this.normalizer.normalizePropertyName(J,f);K=this.normalizer.normalizeStyleValue(J,ae,K,f),D.set(J,K)})}),D}}class di{constructor(u,f,D){this.name=u,this.ast=f,this._normalizer=D,this.transitionFactories=[],this.states=new Map,f.states.forEach(N=>{this.states.set(N.name,new et(N.style,N.options&&N.options.params||{},D))}),Ft(this.states,"true","1"),Ft(this.states,"false","0"),f.transitions.forEach(N=>{this.transitionFactories.push(new tt(u,N,this.states))}),this.fallbackTransition=function Gt(g,u,f){return new tt(g,{type:X.Transition,animation:{type:X.Sequence,steps:[],options:null},matchers:[(K,J)=>!0],options:null,queryCount:0,depCount:0},u)}(u,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(u,f,D,N){return this.transitionFactories.find(K=>K.match(u,f,D,N))||null}matchStyles(u,f,D){return this.fallbackTransition.buildStyles(u,f,D)}}function Ft(g,u,f){g.has(u)?g.has(f)||g.set(f,g.get(u)):g.has(f)&&g.set(u,g.get(f))}const Jn=new Kn;class xn{constructor(u,f,D){this.bodyNode=u,this._driver=f,this._normalizer=D,this._animations=new Map,this._playersById=new Map,this.players=[]}register(u,f){const D=[],j=zr(this._driver,f,D,[]);if(D.length)throw function pi(g){return new o.wOt(3503,!1)}();this._animations.set(u,j)}_buildPlayer(u,f,D){const N=u.element,j=$r(this._normalizer,u.keyframes,f,D);return this._driver.animate(N,j,u.duration,u.delay,u.easing,[],!0)}create(u,f,D={}){const N=[],j=this._animations.get(u);let K;const J=new Map;if(j?(K=mi(this._driver,f,j,Ti,It,new Map,new Map,D,Jn,N),K.forEach(Ke=>{const ze=rn(J,Ke.element,new Map);Ke.postStyleProps.forEach(un=>ze.set(un,null))})):(N.push(function _r(){return new o.wOt(3300,!1)}()),K=[]),N.length)throw function xe(g){return new o.wOt(3504,!1)}();J.forEach((Ke,ze)=>{Ke.forEach((un,Wt)=>{Ke.set(Wt,this._driver.computeStyle(ze,Wt,le))})});const De=Rt(K.map(Ke=>{const ze=J.get(Ke.element);return this._buildPlayer(Ke,new Map,ze)}));return this._playersById.set(u,De),De.onDestroy(()=>this.destroy(u)),this.players.push(De),De}destroy(u){const f=this._getPlayer(u);f.destroy(),this._playersById.delete(u);const D=this.players.indexOf(f);D>=0&&this.players.splice(D,1)}_getPlayer(u){const f=this._playersById.get(u);if(!f)throw function bi(g){return new o.wOt(3301,!1)}();return f}listen(u,f,D,N){const j=Wi(f,"","","");return zt(this._getPlayer(u),D,j,N),()=>{}}command(u,f,D,N){if("register"==D)return void this.register(u,N[0]);if("create"==D)return void this.create(u,f,N[0]||{});const j=this._getPlayer(u);switch(D){case"play":j.play();break;case"pause":j.pause();break;case"reset":j.reset();break;case"restart":j.restart();break;case"finish":j.finish();break;case"init":j.init();break;case"setPosition":j.setPosition(parseFloat(N[0]));break;case"destroy":this.destroy(u)}}}const qi="ng-animate-queued",or="ng-animate-disabled",Yr=[],po={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Sr={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},ar="__ng_removed";class _s{get params(){return this.options.params}constructor(u,f=""){this.namespaceId=f;const D=u&&u.hasOwnProperty("value");if(this.value=function Ws(g){return g??null}(D?u.value:u),D){const{value:j,...K}=u;this.options=K}else this.options={};this.options.params||(this.options.params={})}absorbOptions(u){const f=u.params;if(f){const D=this.options.params;Object.keys(f).forEach(N=>{null==D[N]&&(D[N]=f[N])})}}}const Mo="void",no=new _s(Mo);class Br{constructor(u,f,D){this.id=u,this.hostElement=f,this._engine=D,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+u,lr(f,this._hostClassName)}listen(u,f,D,N){if(!this._triggers.has(f))throw function Ht(g,u){return new o.wOt(3302,!1)}();if(null==D||0==D.length)throw function on(g){return new o.wOt(3303,!1)}();if(!function io(g){return"start"==g||"done"==g}(D))throw function hn(g,u){return new o.wOt(3400,!1)}();const j=rn(this._elementListeners,u,[]),K={name:f,phase:D,callback:N};j.push(K);const J=rn(this._engine.statesByElement,u,new Map);return J.has(f)||(lr(u,hs),lr(u,hs+"-"+f),J.set(f,no)),()=>{this._engine.afterFlush(()=>{const ae=j.indexOf(K);ae>=0&&j.splice(ae,1),this._triggers.has(f)||J.delete(f)})}}register(u,f){return!this._triggers.has(u)&&(this._triggers.set(u,f),!0)}_getTrigger(u){const f=this._triggers.get(u);if(!f)throw function nr(g){return new o.wOt(3401,!1)}();return f}trigger(u,f,D,N=!0){const j=this._getTrigger(f),K=new Er(this.id,f,u);let J=this._engine.statesByElement.get(u);J||(lr(u,hs),lr(u,hs+"-"+f),this._engine.statesByElement.set(u,J=new Map));let ae=J.get(f);const De=new _s(D,this.id);if(!(D&&D.hasOwnProperty("value"))&&ae&&De.absorbOptions(ae.options),J.set(f,De),ae||(ae=no),De.value!==Mo&&ae.value===De.value){if(!function Ms(g,u){const f=Object.keys(g),D=Object.keys(u);if(f.length!=D.length)return!1;for(let N=0;N<f.length;N++){const j=f[N];if(!u.hasOwnProperty(j)||g[j]!==u[j])return!1}return!0}(ae.params,De.params)){const _t=[],wt=j.matchStyles(ae.value,ae.params,_t),ke=j.matchStyles(De.value,De.params,_t);_t.length?this._engine.reportError(_t):this._engine.afterFlush(()=>{si(u,wt),qn(u,ke)})}return}const un=rn(this._engine.playersByElement,u,[]);un.forEach(_t=>{_t.namespaceId==this.id&&_t.triggerName==f&&_t.queued&&_t.destroy()});let Wt=j.matchTransition(ae.value,De.value,u,De.params),Dt=!1;if(!Wt){if(!N)return;Wt=j.fallbackTransition,Dt=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:u,triggerName:f,transition:Wt,fromState:ae,toState:De,player:K,isFallbackTransition:Dt}),Dt||(lr(u,qi),K.onStart(()=>{vs(u,qi)})),K.onDone(()=>{let _t=this.players.indexOf(K);_t>=0&&this.players.splice(_t,1);const wt=this._engine.playersByElement.get(u);if(wt){let ke=wt.indexOf(K);ke>=0&&wt.splice(ke,1)}}),this.players.push(K),un.push(K),K}deregister(u){this._triggers.delete(u),this._engine.statesByElement.forEach(f=>f.delete(u)),this._elementListeners.forEach((f,D)=>{this._elementListeners.set(D,f.filter(N=>N.name!=u))})}clearElementCache(u){this._engine.statesByElement.delete(u),this._elementListeners.delete(u);const f=this._engine.playersByElement.get(u);f&&(f.forEach(D=>D.destroy()),this._engine.playersByElement.delete(u))}_signalRemovalForInnerTriggers(u,f){const D=this._engine.driver.query(u,Wr,!0);D.forEach(N=>{if(N[ar])return;const j=this._engine.fetchNamespacesByElement(N);j.size?j.forEach(K=>K.triggerLeaveAnimation(N,f,!1,!0)):this.clearElementCache(N)}),this._engine.afterFlushAnimationsDone(()=>D.forEach(N=>this.clearElementCache(N)))}triggerLeaveAnimation(u,f,D,N){const j=this._engine.statesByElement.get(u),K=new Map;if(j){const J=[];if(j.forEach((ae,De)=>{if(K.set(De,ae.value),this._triggers.has(De)){const Ke=this.trigger(u,De,Mo,N);Ke&&J.push(Ke)}}),J.length)return this._engine.markElementAsRemoved(this.id,u,!0,f,K),D&&Rt(J).onDone(()=>this._engine.processLeaveNode(u)),!0}return!1}prepareLeaveAnimationListeners(u){const f=this._elementListeners.get(u),D=this._engine.statesByElement.get(u);if(f&&D){const N=new Set;f.forEach(j=>{const K=j.name;if(N.has(K))return;N.add(K);const ae=this._triggers.get(K).fallbackTransition,De=D.get(K)||no,Ke=new _s(Mo),ze=new Er(this.id,K,u);this._engine.totalQueuedPlayers++,this._queue.push({element:u,triggerName:K,transition:ae,fromState:De,toState:Ke,player:ze,isFallbackTransition:!0})})}}removeNode(u,f){const D=this._engine;if(u.childElementCount&&this._signalRemovalForInnerTriggers(u,f),this.triggerLeaveAnimation(u,f,!0))return;let N=!1;if(D.totalAnimations){const j=D.players.length?D.playersByQueriedElement.get(u):[];if(j&&j.length)N=!0;else{let K=u;for(;K=K.parentNode;)if(D.statesByElement.get(K)){N=!0;break}}}if(this.prepareLeaveAnimationListeners(u),N)D.markElementAsRemoved(this.id,u,!1,f);else{const j=u[ar];(!j||j===po)&&(D.afterFlush(()=>this.clearElementCache(u)),D.destroyInnerAnimations(u),D._onRemovalComplete(u,f))}}insertNode(u,f){lr(u,this._hostClassName)}drainQueuedTransitions(u){const f=[];return this._queue.forEach(D=>{const N=D.player;if(N.destroyed)return;const j=D.element,K=this._elementListeners.get(j);K&&K.forEach(J=>{if(J.name==D.triggerName){const ae=Wi(j,D.triggerName,D.fromState.value,D.toState.value);ae._data=u,zt(D.player,J.phase,ae,J.callback)}}),N.markedForDestroy?this._engine.afterFlush(()=>{N.destroy()}):f.push(D)}),this._queue=[],f.sort((D,N)=>{const j=D.transition.ast.depCount,K=N.transition.ast.depCount;return 0==j||0==K?j-K:this._engine.driver.containsElement(D.element,N.element)?1:-1})}destroy(u){this.players.forEach(f=>f.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,u)}}class Fn{_onRemovalComplete(u,f){this.onRemovalComplete(u,f)}constructor(u,f,D){this.bodyNode=u,this.driver=f,this._normalizer=D,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=(N,j)=>{}}get queuedPlayers(){const u=[];return this._namespaceList.forEach(f=>{f.players.forEach(D=>{D.queued&&u.push(D)})}),u}createNamespace(u,f){const D=new Br(u,f,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,f)?this._balanceNamespaceList(D,f):(this.newHostElements.set(f,D),this.collectEnterElement(f)),this._namespaceLookup[u]=D}_balanceNamespaceList(u,f){const D=this._namespaceList,N=this.namespacesByHostElement;if(D.length-1>=0){let K=!1,J=this.driver.getParentElement(f);for(;J;){const ae=N.get(J);if(ae){const De=D.indexOf(ae);D.splice(De+1,0,u),K=!0;break}J=this.driver.getParentElement(J)}K||D.unshift(u)}else D.push(u);return N.set(f,u),u}register(u,f){let D=this._namespaceLookup[u];return D||(D=this.createNamespace(u,f)),D}registerTrigger(u,f,D){let N=this._namespaceLookup[u];N&&N.register(f,D)&&this.totalAnimations++}destroy(u,f){u&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const D=this._fetchNamespace(u);this.namespacesByHostElement.delete(D.hostElement);const N=this._namespaceList.indexOf(D);N>=0&&this._namespaceList.splice(N,1),D.destroy(f),delete this._namespaceLookup[u]}))}_fetchNamespace(u){return this._namespaceLookup[u]}fetchNamespacesByElement(u){const f=new Set,D=this.statesByElement.get(u);if(D)for(let N of D.values())if(N.namespaceId){const j=this._fetchNamespace(N.namespaceId);j&&f.add(j)}return f}trigger(u,f,D,N){if(xi(f)){const j=this._fetchNamespace(u);if(j)return j.trigger(f,D,N),!0}return!1}insertNode(u,f,D,N){if(!xi(f))return;const j=f[ar];if(j&&j.setForRemoval){j.setForRemoval=!1,j.setForMove=!0;const K=this.collectedLeaveElements.indexOf(f);K>=0&&this.collectedLeaveElements.splice(K,1)}if(u){const K=this._fetchNamespace(u);K&&K.insertNode(f,D)}N&&this.collectEnterElement(f)}collectEnterElement(u){this.collectedEnterElements.push(u)}markElementAsDisabled(u,f){f?this.disabledNodes.has(u)||(this.disabledNodes.add(u),lr(u,or)):this.disabledNodes.has(u)&&(this.disabledNodes.delete(u),vs(u,or))}removeNode(u,f,D){if(xi(f)){const N=u?this._fetchNamespace(u):null;N?N.removeNode(f,D):this.markElementAsRemoved(u,f,!1,D);const j=this.namespacesByHostElement.get(f);j&&j.id!==u&&j.removeNode(f,D)}else this._onRemovalComplete(f,D)}markElementAsRemoved(u,f,D,N,j){this.collectedLeaveElements.push(f),f[ar]={namespaceId:u,setForRemoval:N,hasAnimation:D,removedBeforeQueried:!1,previousTriggersValues:j}}listen(u,f,D,N,j){return xi(f)?this._fetchNamespace(u).listen(f,D,N,j):()=>{}}_buildInstruction(u,f,D,N,j){return u.transition.build(this.driver,u.element,u.fromState.value,u.toState.value,D,N,u.fromState.options,u.toState.options,f,j)}destroyInnerAnimations(u){let f=this.driver.query(u,Wr,!0);f.forEach(D=>this.destroyActiveAnimationsForElement(D)),0!=this.playersByQueriedElement.size&&(f=this.driver.query(u,Qn,!0),f.forEach(D=>this.finishActiveQueriedAnimationOnElement(D)))}destroyActiveAnimationsForElement(u){const f=this.playersByElement.get(u);f&&f.forEach(D=>{D.queued?D.markedForDestroy=!0:D.destroy()})}finishActiveQueriedAnimationOnElement(u){const f=this.playersByQueriedElement.get(u);f&&f.forEach(D=>D.finish())}whenRenderingDone(){return new Promise(u=>{if(this.players.length)return Rt(this.players).onDone(()=>u());u()})}processLeaveNode(u){const f=u[ar];if(f&&f.setForRemoval){if(u[ar]=po,f.namespaceId){this.destroyInnerAnimations(u);const D=this._fetchNamespace(f.namespaceId);D&&D.clearElementCache(u)}this._onRemovalComplete(u,f.setForRemoval)}u.classList?.contains(or)&&this.markElementAsDisabled(u,!1),this.driver.query(u,".ng-animate-disabled",!0).forEach(D=>{this.markElementAsDisabled(D,!1)})}flush(u=-1){let f=[];if(this.newHostElements.size&&(this.newHostElements.forEach((D,N)=>this._balanceNamespaceList(D,N)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let D=0;D<this.collectedEnterElements.length;D++)lr(this.collectedEnterElements[D],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const D=[];try{f=this._flushAnimations(D,u)}finally{for(let N=0;N<D.length;N++)D[N]()}}else for(let D=0;D<this.collectedLeaveElements.length;D++)this.processLeaveNode(this.collectedLeaveElements[D]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(D=>D()),this._flushFns=[],this._whenQuietFns.length){const D=this._whenQuietFns;this._whenQuietFns=[],f.length?Rt(f).onDone(()=>{D.forEach(N=>N())}):D.forEach(N=>N())}}reportError(u){throw function Xi(g){return new o.wOt(3402,!1)}()}_flushAnimations(u,f){const D=new Kn,N=[],j=new Map,K=[],J=new Map,ae=new Map,De=new Map,Ke=new Set;this.disabledNodes.forEach(Tt=>{Ke.add(Tt);const Bt=this.driver.query(Tt,".ng-animate-queued",!0);for(let Lt=0;Lt<Bt.length;Lt++)Ke.add(Bt[Lt])});const ze=this.bodyNode,un=Array.from(this.statesByElement.keys()),Wt=mo(un,this.collectedEnterElements),Dt=new Map;let _t=0;Wt.forEach((Tt,Bt)=>{const Lt=Ti+_t++;Dt.set(Bt,Lt),Tt.forEach(An=>lr(An,Lt))});const wt=[],ke=new Set,dt=new Set;for(let Tt=0;Tt<this.collectedLeaveElements.length;Tt++){const Bt=this.collectedLeaveElements[Tt],Lt=Bt[ar];Lt&&Lt.setForRemoval&&(wt.push(Bt),ke.add(Bt),Lt.hasAnimation?this.driver.query(Bt,".ng-star-inserted",!0).forEach(An=>ke.add(An)):dt.add(Bt))}const En=new Map,fi=mo(un,Array.from(ke));fi.forEach((Tt,Bt)=>{const Lt=It+_t++;En.set(Bt,Lt),Tt.forEach(An=>lr(An,Lt))}),u.push(()=>{Wt.forEach((Tt,Bt)=>{const Lt=Dt.get(Bt);Tt.forEach(An=>vs(An,Lt))}),fi.forEach((Tt,Bt)=>{const Lt=En.get(Bt);Tt.forEach(An=>vs(An,Lt))}),wt.forEach(Tt=>{this.processLeaveNode(Tt)})});const hi=[],Xn=[];for(let Tt=this._namespaceList.length-1;Tt>=0;Tt--)this._namespaceList[Tt].drainQueuedTransitions(f).forEach(Lt=>{const An=Lt.player,Hi=Lt.element;if(hi.push(An),this.collectedEnterElements.length){const Ni=Hi[ar];if(Ni&&Ni.setForMove){if(Ni.previousTriggersValues&&Ni.previousTriggersValues.has(Lt.triggerName)){const As=Ni.previousTriggersValues.get(Lt.triggerName),mr=this.statesByElement.get(Lt.element);if(mr&&mr.has(Lt.triggerName)){const Di=mr.get(Lt.triggerName);Di.value=As,mr.set(Lt.triggerName,Di)}}return void An.destroy()}}const Ji=!ze||!this.driver.containsElement(ze,Hi),gr=En.get(Hi),Or=Dt.get(Hi),rt=this._buildInstruction(Lt,D,Or,gr,Ji);if(rt.errors&&rt.errors.length)return void Xn.push(rt);if(Ji)return An.onStart(()=>si(Hi,rt.fromStyles)),An.onDestroy(()=>qn(Hi,rt.toStyles)),void N.push(An);if(Lt.isFallbackTransition)return An.onStart(()=>si(Hi,rt.fromStyles)),An.onDestroy(()=>qn(Hi,rt.toStyles)),void N.push(An);const Os=[];rt.timelines.forEach(Ni=>{Ni.stretchStartingKeyframe=!0,this.disabledNodes.has(Ni.element)||Os.push(Ni)}),rt.timelines=Os,D.append(Hi,rt.timelines),K.push({instruction:rt,player:An,element:Hi}),rt.queriedElements.forEach(Ni=>rn(J,Ni,[]).push(An)),rt.preStyleProps.forEach((Ni,As)=>{if(Ni.size){let mr=ae.get(As);mr||ae.set(As,mr=new Set),Ni.forEach((Di,lo)=>mr.add(lo))}}),rt.postStyleProps.forEach((Ni,As)=>{let mr=De.get(As);mr||De.set(As,mr=new Set),Ni.forEach((Di,lo)=>mr.add(lo))})});if(Xn.length){const Tt=[];Xn.forEach(Bt=>{Tt.push(function gi(g,u){return new o.wOt(3505,!1)}())}),hi.forEach(Bt=>Bt.destroy()),this.reportError(Tt)}const Ui=new Map,On=new Map;K.forEach(Tt=>{const Bt=Tt.element;D.has(Bt)&&(On.set(Bt,Bt),this._beforeAnimationBuild(Tt.player.namespaceId,Tt.instruction,Ui))}),N.forEach(Tt=>{const Bt=Tt.element;this._getPreviousPlayers(Bt,!1,Tt.namespaceId,Tt.triggerName,null).forEach(An=>{rn(Ui,Bt,[]).push(An),An.destroy()})});const oi=wt.filter(Tt=>ks(Tt,ae,De)),Si=new Map;zs(Si,this.driver,dt,De,le).forEach(Tt=>{ks(Tt,ae,De)&&oi.push(Tt)});const Ir=new Map;Wt.forEach((Tt,Bt)=>{zs(Ir,this.driver,new Set(Tt),ae,"!")}),oi.forEach(Tt=>{const Bt=Si.get(Tt),Lt=Ir.get(Tt);Si.set(Tt,new Map([...Bt?.entries()??[],...Lt?.entries()??[]]))});const Qi=[],ao=[],_i={};K.forEach(Tt=>{const{element:Bt,player:Lt,instruction:An}=Tt;if(D.has(Bt)){if(Ke.has(Bt))return Lt.onDestroy(()=>qn(Bt,An.toStyles)),Lt.disabled=!0,Lt.overrideTotalTime(An.totalTime),void N.push(Lt);let Hi=_i;if(On.size>1){let gr=Bt;const Or=[];for(;gr=gr.parentNode;){const rt=On.get(gr);if(rt){Hi=rt;break}Or.push(gr)}Or.forEach(rt=>On.set(rt,Hi))}const Ji=this._buildAnimation(Lt.namespaceId,An,Ui,j,Ir,Si);if(Lt.setRealPlayer(Ji),Hi===_i)Qi.push(Lt);else{const gr=this.playersByElement.get(Hi);gr&&gr.length&&(Lt.parentPlayer=Rt(gr)),N.push(Lt)}}else si(Bt,An.fromStyles),Lt.onDestroy(()=>qn(Bt,An.toStyles)),ao.push(Lt),Ke.has(Bt)&&N.push(Lt)}),ao.forEach(Tt=>{const Bt=j.get(Tt.element);if(Bt&&Bt.length){const Lt=Rt(Bt);Tt.setRealPlayer(Lt)}}),N.forEach(Tt=>{Tt.parentPlayer?Tt.syncPlayerEvents(Tt.parentPlayer):Tt.destroy()});for(let Tt=0;Tt<wt.length;Tt++){const Bt=wt[Tt],Lt=Bt[ar];if(vs(Bt,It),Lt&&Lt.hasAnimation)continue;let An=[];if(J.size){let Ji=J.get(Bt);Ji&&Ji.length&&An.push(...Ji);let gr=this.driver.query(Bt,Qn,!0);for(let Or=0;Or<gr.length;Or++){let rt=J.get(gr[Or]);rt&&rt.length&&An.push(...rt)}}const Hi=An.filter(Ji=>!Ji.destroyed);Hi.length?Ks(this,Bt,Hi):this.processLeaveNode(Bt)}return wt.length=0,Qi.forEach(Tt=>{this.players.push(Tt),Tt.onDone(()=>{Tt.destroy();const Bt=this.players.indexOf(Tt);this.players.splice(Bt,1)}),Tt.play()}),Qi}afterFlush(u){this._flushFns.push(u)}afterFlushAnimationsDone(u){this._whenQuietFns.push(u)}_getPreviousPlayers(u,f,D,N,j){let K=[];if(f){const J=this.playersByQueriedElement.get(u);J&&(K=J)}else{const J=this.playersByElement.get(u);if(J){const ae=!j||j==Mo;J.forEach(De=>{De.queued||!ae&&De.triggerName!=N||K.push(De)})}}return(D||N)&&(K=K.filter(J=>!(D&&D!=J.namespaceId||N&&N!=J.triggerName))),K}_beforeAnimationBuild(u,f,D){const j=f.element,K=f.isRemovalTransition?void 0:u,J=f.isRemovalTransition?void 0:f.triggerName;for(const ae of f.timelines){const De=ae.element,Ke=De!==j,ze=rn(D,De,[]);this._getPreviousPlayers(De,Ke,K,J,f.toState).forEach(Wt=>{const Dt=Wt.getRealPlayer();Dt.beforeDestroy&&Dt.beforeDestroy(),Wt.destroy(),ze.push(Wt)})}si(j,f.fromStyles)}_buildAnimation(u,f,D,N,j,K){const J=f.triggerName,ae=f.element,De=[],Ke=new Set,ze=new Set,un=f.timelines.map(Dt=>{const _t=Dt.element;Ke.add(_t);const wt=_t[ar];if(wt&&wt.removedBeforeQueried)return new Et(Dt.duration,Dt.delay);const ke=_t!==ae,dt=function ro(g){const u=[];return So(g,u),u}((D.get(_t)||Yr).map(Ui=>Ui.getRealPlayer())).filter(Ui=>!!Ui.element&&Ui.element===_t),En=j.get(_t),fi=K.get(_t),hi=$r(this._normalizer,Dt.keyframes,En,fi),Xn=this._buildPlayer(Dt,hi,dt);if(Dt.subTimeline&&N&&ze.add(_t),ke){const Ui=new Er(u,J,_t);Ui.setRealPlayer(Xn),De.push(Ui)}return Xn});De.forEach(Dt=>{rn(this.playersByQueriedElement,Dt.element,[]).push(Dt),Dt.onDone(()=>function go(g,u,f){let D=g.get(u);if(D){if(D.length){const N=D.indexOf(f);D.splice(N,1)}0==D.length&&g.delete(u)}return D}(this.playersByQueriedElement,Dt.element,Dt))}),Ke.forEach(Dt=>lr(Dt,xs));const Wt=Rt(un);return Wt.onDestroy(()=>{Ke.forEach(Dt=>vs(Dt,xs)),qn(ae,f.toStyles)}),ze.forEach(Dt=>{rn(N,Dt,[]).push(Wt)}),Wt}_buildPlayer(u,f,D){return f.length>0?this.driver.animate(u.element,f,u.duration,u.delay,u.easing,D):new Et(u.duration,u.delay)}}class Er{constructor(u,f,D){this.namespaceId=u,this.triggerName=f,this.element=D,this._player=new Et,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(u){this._containsRealPlayer||(this._player=u,this._queuedCallbacks.forEach((f,D)=>{f.forEach(N=>zt(u,D,void 0,N))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(u.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(u){this.totalTime=u}syncPlayerEvents(u){const f=this._player;f.triggerCallback&&u.onStart(()=>f.triggerCallback("start")),u.onDone(()=>this.finish()),u.onDestroy(()=>this.destroy())}_queueEvent(u,f){rn(this._queuedCallbacks,u,[]).push(f)}onDone(u){this.queued&&this._queueEvent("done",u),this._player.onDone(u)}onStart(u){this.queued&&this._queueEvent("start",u),this._player.onStart(u)}onDestroy(u){this.queued&&this._queueEvent("destroy",u),this._player.onDestroy(u)}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(u){this.queued||this._player.setPosition(u)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(u){const f=this._player;f.triggerCallback&&f.triggerCallback(u)}}function xi(g){return g&&1===g.nodeType}function Cr(g,u){const f=g.style.display;return g.style.display=u??"none",f}function zs(g,u,f,D,N){const j=[];f.forEach(ae=>j.push(Cr(ae)));const K=[];D.forEach((ae,De)=>{const Ke=new Map;ae.forEach(ze=>{const un=u.computeStyle(De,ze,N);Ke.set(ze,un),(!un||0==un.length)&&(De[ar]=Sr,K.push(De))}),g.set(De,Ke)});let J=0;return f.forEach(ae=>Cr(ae,j[J++])),K}function mo(g,u){const f=new Map;if(g.forEach(J=>f.set(J,[])),0==u.length)return f;const N=new Set(u),j=new Map;function K(J){if(!J)return 1;let ae=j.get(J);if(ae)return ae;const De=J.parentNode;return ae=f.has(De)?De:N.has(De)?1:K(De),j.set(J,ae),ae}return u.forEach(J=>{const ae=K(J);1!==ae&&f.get(ae).push(J)}),f}function lr(g,u){g.classList?.add(u)}function vs(g,u){g.classList?.remove(u)}function Ks(g,u,f){Rt(f).onDone(()=>g.processLeaveNode(u))}function So(g,u){for(let f=0;f<g.length;f++){const D=g[f];D instanceof $t?So(D.players,u):u.push(D)}}function ks(g,u,f){const D=f.get(g);if(!D)return!1;let N=u.get(g);return N?D.forEach(j=>N.add(j)):u.set(g,D),f.delete(g),!0}class Ss{constructor(u,f,D){this._driver=f,this._normalizer=D,this._triggerCache={},this.onRemovalComplete=(N,j)=>{},this._transitionEngine=new Fn(u.body,f,D),this._timelineEngine=new xn(u.body,f,D),this._transitionEngine.onRemovalComplete=(N,j)=>this.onRemovalComplete(N,j)}registerTrigger(u,f,D,N,j){const K=u+"-"+N;let J=this._triggerCache[K];if(!J){const ae=[],Ke=zr(this._driver,j,ae,[]);if(ae.length)throw function Ri(g,u){return new o.wOt(3404,!1)}();J=function ui(g,u,f){return new di(g,u,f)}(N,Ke,this._normalizer),this._triggerCache[K]=J}this._transitionEngine.registerTrigger(f,N,J)}register(u,f){this._transitionEngine.register(u,f)}destroy(u,f){this._transitionEngine.destroy(u,f)}onInsert(u,f,D,N){this._transitionEngine.insertNode(u,f,D,N)}onRemove(u,f,D){this._transitionEngine.removeNode(u,f,D)}disableAnimations(u,f){this._transitionEngine.markElementAsDisabled(u,f)}process(u,f,D,N){if("@"==D.charAt(0)){const[j,K]=In(D);this._timelineEngine.command(j,f,K,N)}else this._transitionEngine.trigger(u,f,D,N)}listen(u,f,D,N,j){if("@"==D.charAt(0)){const[K,J]=In(D);return this._timelineEngine.listen(K,f,J,j)}return this._transitionEngine.listen(u,f,D,N,j)}flush(u=-1){this._transitionEngine.flush(u)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(u){this._transitionEngine.afterFlushAnimationsDone(u)}}class Vr{static#e=this.initialStylesByElement=new WeakMap;constructor(u,f,D){this._element=u,this._startStyles=f,this._endStyles=D,this._state=0;let N=Vr.initialStylesByElement.get(u);N||Vr.initialStylesByElement.set(u,N=new Map),this._initialStyles=N}start(){this._state<1&&(this._startStyles&&qn(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(qn(this._element,this._initialStyles),this._endStyles&&(qn(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(Vr.initialStylesByElement.delete(this._element),this._startStyles&&(si(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(si(this._element,this._endStyles),this._endStyles=null),qn(this._element,this._initialStyles),this._state=3)}}function O(g){let u=null;return g.forEach((f,D)=>{(function A(g){return"display"===g||"position"===g})(D)&&(u=u||new Map,u.set(D,f))}),u}class w{constructor(u,f,D,N){this.element=u,this.keyframes=f,this.options=D,this._specialStyles=N,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=D.duration,this._delay=D.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(u=>u()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const u=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,u,this.options),this._finalKeyframe=u.length?u[u.length-1]:new Map;const f=()=>this._onFinish();this.domPlayer.addEventListener("finish",f),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",f)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(u){const f=[];return u.forEach(D=>{f.push(Object.fromEntries(D))}),f}_triggerWebAnimation(u,f,D){return u.animate(this._convertKeyframesToObject(f),D)}onStart(u){this._originalOnStartFns.push(u),this._onStartFns.push(u)}onDone(u){this._originalOnDoneFns.push(u),this._onDoneFns.push(u)}onDestroy(u){this._onDestroyFns.push(u)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(u=>u()),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(u=>u()),this._onDestroyFns=[])}setPosition(u){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=u*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const u=new Map;this.hasStarted()&&this._finalKeyframe.forEach((D,N)=>{"offset"!==N&&u.set(N,this._finished?D:Te(this.element,N))}),this.currentSnapshot=u}triggerCallback(u){const f="start"===u?this._onStartFns:this._onDoneFns;f.forEach(D=>D()),f.length=0}}class V{validateStyleProperty(u){return!0}validateAnimatableStyleProperty(u){return!0}containsElement(u,f){return Ve(u,f)}getParentElement(u){return Un(u)}query(u,f,D){return qe(u,f,D)}computeStyle(u,f,D){return Te(u,f)}animate(u,f,D,N,j,K=[]){const ae={duration:D,delay:N,fill:0==N?"both":"forwards"};j&&(ae.easing=j);const De=new Map,Ke=K.filter(Wt=>Wt instanceof w);(function W(g,u){return 0===g||0===u})(D,N)&&Ke.forEach(Wt=>{Wt.currentSnapshot.forEach((Dt,_t)=>De.set(_t,Dt))});let ze=function ci(g){return g.length?g[0]instanceof Map?g:g.map(u=>new Map(Object.entries(u))):[]}(f).map(Wt=>new Map(Wt));ze=function ee(g,u,f){if(f.size&&u.length){let D=u[0],N=[];if(f.forEach((j,K)=>{D.has(K)||N.push(K),D.set(K,j)}),N.length)for(let j=1;j<u.length;j++){let K=u[j];N.forEach(J=>K.set(J,Te(g,J)))}}return u}(u,ze,De);const un=function Go(g,u){let f=null,D=null;return Array.isArray(u)&&u.length?(f=O(u[0]),u.length>1&&(D=O(u[u.length-1]))):u instanceof Map&&(f=O(u)),f||D?new Vr(g,f,D):null}(u,ze);return new w(u,ze,ae,un)}}const Nr="@.disabled";class ys{constructor(u,f,D,N){this.namespaceId=u,this.delegate=f,this.engine=D,this._onDestroy=N,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(u){this.delegate.destroyNode?.(u)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(u,f){return this.delegate.createElement(u,f)}createComment(u){return this.delegate.createComment(u)}createText(u){return this.delegate.createText(u)}appendChild(u,f){this.delegate.appendChild(u,f),this.engine.onInsert(this.namespaceId,f,u,!1)}insertBefore(u,f,D,N=!0){this.delegate.insertBefore(u,f,D),this.engine.onInsert(this.namespaceId,f,u,N)}removeChild(u,f,D){this.engine.onRemove(this.namespaceId,f,this.delegate)}selectRootElement(u,f){return this.delegate.selectRootElement(u,f)}parentNode(u){return this.delegate.parentNode(u)}nextSibling(u){return this.delegate.nextSibling(u)}setAttribute(u,f,D,N){this.delegate.setAttribute(u,f,D,N)}removeAttribute(u,f,D){this.delegate.removeAttribute(u,f,D)}addClass(u,f){this.delegate.addClass(u,f)}removeClass(u,f){this.delegate.removeClass(u,f)}setStyle(u,f,D,N){this.delegate.setStyle(u,f,D,N)}removeStyle(u,f,D){this.delegate.removeStyle(u,f,D)}setProperty(u,f,D){"@"==f.charAt(0)&&f==Nr?this.disableAnimations(u,!!D):this.delegate.setProperty(u,f,D)}setValue(u,f){this.delegate.setValue(u,f)}listen(u,f,D){return this.delegate.listen(u,f,D)}disableAnimations(u,f){this.engine.disableAnimations(u,f)}}class as extends ys{constructor(u,f,D,N,j){super(f,D,N,j),this.factory=u,this.namespaceId=f}setProperty(u,f,D){"@"==f.charAt(0)?"."==f.charAt(1)&&f==Nr?this.disableAnimations(u,D=void 0===D||!!D):this.engine.process(this.namespaceId,u,f.slice(1),D):this.delegate.setProperty(u,f,D)}listen(u,f,D){if("@"==f.charAt(0)){const N=function Ca(g){switch(g){case"body":return document.body;case"document":return document;case"window":return window;default:return g}}(u);let j=f.slice(1),K="";return"@"!=j.charAt(0)&&([j,K]=function la(g){const u=g.indexOf(".");return[g.substring(0,u),g.slice(u+1)]}(j)),this.engine.listen(this.namespaceId,N,j,K,J=>{this.factory.scheduleListenerCallback(J._data||-1,D,J)})}return this.delegate.listen(u,f,D)}}class wa{constructor(u,f,D){this.delegate=u,this.engine=f,this._zone=D,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,f.onRemovalComplete=(N,j)=>{const K=j?.parentNode(N);K&&j.removeChild(K,N)}}createRenderer(u,f){const N=this.delegate.createRenderer(u,f);if(!u||!f?.data?.animation){const De=this._rendererCache;let Ke=De.get(N);return Ke||(Ke=new ys("",N,this.engine,()=>De.delete(N)),De.set(N,Ke)),Ke}const j=f.id,K=f.id+"-"+this._currentId;this._currentId++,this.engine.register(K,u);const J=De=>{Array.isArray(De)?De.forEach(J):this.engine.registerTrigger(j,K,u,De.name,De)};return f.data.animation.forEach(J),new as(this,K,N,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(u,f,D){if(u>=0&&u<this._microtaskId)return void this._zone.run(()=>f(D));const N=this._animationCallbacksBuffer;0==N.length&&queueMicrotask(()=>{this._zone.run(()=>{N.forEach(j=>{const[K,J]=j;K(J)}),this._animationCallbacksBuffer=[]})}),N.push([f,D])}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()}}const Ls=[{provide:ni,useFactory:function No(){return new Xe}},{provide:Ss,useClass:(()=>{class g extends Ss{constructor(f,D,N){super(f,D,N)}ngOnDestroy(){this.flush()}static#e=this.\u0275fac=function(D){return new(D||g)(o.KVO(ge.qQ),o.KVO(yn),o.KVO(ni))};static#t=this.\u0275prov=o.jDH({token:g,factory:g.\u0275fac})}return g})()},{provide:o._9s,useFactory:function zo(g,u,f){return new wa(g,u,f)},deps:[S.B7,Ss,o.SKi]}],Qs=[{provide:yn,useFactory:()=>new V},{provide:o.bc$,useValue:"BrowserAnimations"},...Ls];var Bs=x(4550),bs=x(9664);class _o{http;prefix;suffix;constructor(u,f="/assets/i18n/",D=".json"){this.http=u,this.prefix=f,this.suffix=D}getTranslation(u){return this.http.get(`${this.prefix}${u}${this.suffix}`)}}var Io=x(7673),Ko=x(8810),vo=x(6354),Oo=x(8141),Qo=x(9437),Ao=x(980),Ro=x(7647);class so{}let Xo=(()=>{class g extends so{constructor(f){super(),this.http=f}getSvg(f){return this.http.get(f,{responseType:"text"})}static#e=this.\u0275fac=function(D){return new(D||g)(o.KVO(ce.Qq))};static#t=this.\u0275prov=o.jDH({token:g,factory:g.\u0275fac})}return g})();const Po=new o.nKC("SERVER_URL");let yo=(()=>{class g{constructor(){this.loader=(0,o.WQX)(so),this.serverUrl=(0,o.WQX)(Po,{optional:!0}),this.document=(0,o.WQX)(ge.qQ),this.iconsByUrl=new Map,this.iconsLoadingByUrl=new Map}addSvg(f,D){if(!this.iconsByUrl.has(f)){const N=this.document.createElement("DIV");N.innerHTML=D;const j=N.querySelector("svg");this.iconsByUrl.set(f,j)}}loadSvg(f,D=f){if(this.serverUrl&&null===f.match(/^(http(s)?):/)&&(D=f=this.serverUrl+f),this.iconsByUrl.has(D))return(0,Io.of)(this.iconsByUrl.get(D));if(this.iconsLoadingByUrl.has(D))return this.iconsLoadingByUrl.get(D);const N=this.loader.getSvg(f).pipe((0,vo.T)(j=>{const K=this.document.createElement("DIV");return K.innerHTML=j,K.querySelector("svg")}),(0,Oo.M)(j=>this.iconsByUrl.set(D,j)),(0,Qo.W)(j=>(console.error(j),(0,Ko.$)(j))),(0,Ao.j)(()=>this.iconsLoadingByUrl.delete(D)),(0,Ro.u)());return this.iconsLoadingByUrl.set(D,N),N}getSvgByName(f){return this.iconsByUrl.has(f)?(0,Io.of)(this.iconsByUrl.get(f)):this.iconsLoadingByUrl.has(f)?this.iconsLoadingByUrl.get(f):(0,Ko.$)(`No svg with name '${f}' has been loaded`)}unloadSvg(f){this.iconsByUrl.has(f)&&this.iconsByUrl.delete(f)}static#e=this.\u0275fac=function(D){return new(D||g)};static#t=this.\u0275prov=o.jDH({token:g,factory:g.\u0275fac})}return g})();const Is={provide:yo,deps:[[new o.Xx1,new o.kdw,yo]],useFactory:function bo(g){return g||new yo}};let sl=(()=>{class g{static forRoot(f={}){return{ngModule:g,providers:[Is,f.loader||{provide:so,useClass:Xo}]}}static#e=this.\u0275fac=function(D){return new(D||g)};static#t=this.\u0275mod=o.$C({type:g});static#n=this.\u0275inj=o.G2t({})}return g})();var xo=x(2767);const qo=[{path:"auth",loadChildren:()=>x.e(794).then(x.bind(x,9794)).then(g=>g.routes)},{path:"home",loadComponent:()=>x.e(554).then(x.bind(x,5554)).then(g=>g.HomeComponent)},{path:"",redirectTo:"/home",pathMatch:"full"},{path:"**",loadComponent:()=>x.e(887).then(x.bind(x,8887)).then(g=>g.NotFoundComponent)}];var ls=x(6825),Xs=x(1315);const Ma={providers:[(0,Bs.lh)(qo,(0,Bs.Ii)({onSameUrlNavigation:"reload"}),(0,Bs.oH)({scrollPositionRestoration:"enabled"})),(0,o.oKB)(S.Bb,bs.h.forRoot({defaultLanguage:xo.c.defaultLanguage,loader:{provide:bs.Wr,useFactory:function Ta(g){return new _o(g,"./assets/i18n/",".json")},deps:[ce.Qq]}}),sl.forRoot()),Xs.n,ls.d,ge.vh,(0,ce.$R)((0,ce.ZZ)(),(0,ce.Sx)()),function ji(){return(0,o.ngT)("NgEagerAnimations"),[...Qs]}(),(0,S.$x)()]};var Zo=x(2128),ua=x(2840);function Do(g,u){if(1&g&&(o.j41(0,"div",6),o.EFF(1),o.nI1(2,"translate"),o.k0s()),2&g){const f=o.XpG(2).$implicit;o.R7$(),o.JRh(o.bMT(2,1,f.headerKey))}}function oo(g,u){if(1&g){const f=o.RV6();o.qex(0),o.j41(1,"ngb-toast",3),o.bIt("hide",function(){o.eBV(f);const N=o.XpG().$implicit,j=o.XpG();return o.Njj(j.toastManager.remove(N.id))}),o.DNE(2,Do,3,3,"ng-template",4),o.j41(3,"div",5),o.EFF(4),o.k0s()(),o.bVm()}if(2&g){const f=o.XpG().$implicit;o.R7$(),o.ZvI("bg-",f.type,""),o.Y8G("autohide",f.autoHide)("delay",f.delay),o.R7$(3),o.JRh(f.body)}}function Sa(g,u){if(1&g){const f=o.RV6();o.j41(0,"ngb-toast",3),o.bIt("hide",function(){o.eBV(f);const N=o.XpG().$implicit,j=o.XpG();return o.Njj(j.toastManager.remove(N.id))}),o.j41(1,"div",5),o.EFF(2),o.k0s()()}if(2&g){const f=o.XpG().$implicit;o.ZvI("bg-",f.type,""),o.Y8G("autohide",f.autoHide)("delay",f.delay),o.R7$(2),o.JRh(f.body)}}function ol(g,u){if(1&g&&(o.qex(0),o.DNE(1,oo,5,6,"ng-container",2)(2,Sa,3,6,"ng-template",null,0,o.C5r),o.bVm()),2&g){const f=u.$implicit,D=o.sdS(3);o.R7$(),o.Y8G("ngIf",f.headerKey&&f.withHeader)("ngIfElse",D)}}let b=(()=>{class g{constructor(f){this.toastManager=f}static#e=this.\u0275fac=function(D){return new(D||g)(o.rXU(ua.t))};static#t=this.\u0275cmp=o.VBU({type:g,selectors:[["app-toast"]],standalone:!0,features:[o.aNF],decls:1,vars:1,consts:[["withoutHeader",""],[4,"ngFor","ngForOf"],[4,"ngIf","ngIfElse"],[3,"hide","autohide","delay"],["ngbToastHeader",""],[1,"text-dark"],[1,"text-white","me-auto"]],template:function(D,N){1&D&&o.DNE(0,ol,4,2,"ng-container",1),2&D&&o.Y8G("ngForOf",N.toastManager.toasts)},dependencies:[ge.pM,ge.bT,Zo.Nb,Zo.s,bs.h,bs.D9],styles:["[_nghost-%COMP%]{position:fixed;bottom:0;right:0;margin:.5em;z-index:1200}"]})}return g})();function k(g,u){1&g&&o.nrm(0,"app-toast",3)}let T=(()=>{class g{constructor(f){this.storeService=f}ngOnInit(){}static#e=this.\u0275fac=function(D){return new(D||g)(o.rXU(Xs.n))};static#t=this.\u0275cmp=o.VBU({type:g,selectors:[["app-root"]],standalone:!0,features:[o.aNF],decls:4,vars:1,consts:[[1,"scrollable-container"],[1,"layout"],["aria-live","polite","aria-atomic","true",4,"ngIf"],["aria-live","polite","aria-atomic","true"]],template:function(D,N){1&D&&(o.j41(0,"div",0)(1,"div",1),o.nrm(2,"router-outlet"),o.k0s()(),o.DNE(3,k,1,0,"app-toast",2)),2&D&&(o.R7$(3),o.Y8G("ngIf",!N.storeService.isServer()))},dependencies:[Bs.n3,b,ge.bT],styles:[".scrollable-container[_ngcontent-%COMP%]{height:100vh;display:block}.scrollable-container[_ngcontent-%COMP%] .layout[_ngcontent-%COMP%]{display:flex;flex-direction:column;min-height:100vh}"]})}return g})();xo.c.production&&(0,o.SmG)(),(0,S.B8)(T,Ma).catch(g=>console.error(g))},4412:(yt,Se,x)=>{x.d(Se,{t:()=>S});var o=x(1413);class S extends o.B{constructor(ce){super(),this._value=ce}get value(){return this.getValue()}_subscribe(ce){const X=super._subscribe(ce);return!X.closed&&ce.next(this._value),X}getValue(){const{hasError:ce,thrownError:X,_value:le}=this;if(ce)throw X;return this._throwIfClosed(),le}next(ce){super.next(this._value=ce)}}},1985:(yt,Se,x)=>{x.d(Se,{c:()=>Pe});var o=x(7707),S=x(8359),ge=x(3494),ce=x(1203),X=x(1026),le=x(8071),Ne=x(9786);let Pe=(()=>{class Be{constructor(He){He&&(this._subscribe=He)}lift(He){const We=new Be;return We.source=this,We.operator=He,We}subscribe(He,We,St){const jt=function Me(Be){return Be&&Be instanceof o.vU||function Ae(Be){return Be&&(0,le.T)(Be.next)&&(0,le.T)(Be.error)&&(0,le.T)(Be.complete)}(Be)&&(0,S.Uv)(Be)}(He)?He:new o.Ms(He,We,St);return(0,Ne.Y)(()=>{const{operator:Mt,source:Kt}=this;jt.add(Mt?Mt.call(jt,Kt):Kt?this._subscribe(jt):this._trySubscribe(jt))}),jt}_trySubscribe(He){try{return this._subscribe(He)}catch(We){He.error(We)}}forEach(He,We){return new(We=Ie(We))((St,jt)=>{const Mt=new o.Ms({next:Kt=>{try{He(Kt)}catch(Nn){jt(Nn),Mt.unsubscribe()}},error:jt,complete:St});this.subscribe(Mt)})}_subscribe(He){var We;return null===(We=this.source)||void 0===We?void 0:We.subscribe(He)}[ge.s](){return this}pipe(...He){return(0,ce.m)(He)(this)}toPromise(He){return new(He=Ie(He))((We,St)=>{let jt;this.subscribe(Mt=>jt=Mt,Mt=>St(Mt),()=>We(jt))})}}return Be.create=ct=>new Be(ct),Be})();function Ie(Be){var ct;return null!==(ct=Be??X.$.Promise)&&void 0!==ct?ct:Promise}},1413:(yt,Se,x)=>{x.d(Se,{B:()=>Ne});var o=x(1985),S=x(8359);const ce=(0,x(1853).L)(Ie=>function(){Ie(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var X=x(7908),le=x(9786);let Ne=(()=>{class Ie extends o.c{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(Me){const Be=new Pe(this,this);return Be.operator=Me,Be}_throwIfClosed(){if(this.closed)throw new ce}next(Me){(0,le.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const Be of this.currentObservers)Be.next(Me)}})}error(Me){(0,le.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=Me;const{observers:Be}=this;for(;Be.length;)Be.shift().error(Me)}})}complete(){(0,le.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:Me}=this;for(;Me.length;)Me.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var Me;return(null===(Me=this.observers)||void 0===Me?void 0:Me.length)>0}_trySubscribe(Me){return this._throwIfClosed(),super._trySubscribe(Me)}_subscribe(Me){return this._throwIfClosed(),this._checkFinalizedStatuses(Me),this._innerSubscribe(Me)}_innerSubscribe(Me){const{hasError:Be,isStopped:ct,observers:He}=this;return Be||ct?S.Kn:(this.currentObservers=null,He.push(Me),new S.yU(()=>{this.currentObservers=null,(0,X.o)(He,Me)}))}_checkFinalizedStatuses(Me){const{hasError:Be,thrownError:ct,isStopped:He}=this;Be?Me.error(ct):He&&Me.complete()}asObservable(){const Me=new o.c;return Me.source=this,Me}}return Ie.create=(Ae,Me)=>new Pe(Ae,Me),Ie})();class Pe extends Ne{constructor(Ae,Me){super(),this.destination=Ae,this.source=Me}next(Ae){var Me,Be;null===(Be=null===(Me=this.destination)||void 0===Me?void 0:Me.next)||void 0===Be||Be.call(Me,Ae)}error(Ae){var Me,Be;null===(Be=null===(Me=this.destination)||void 0===Me?void 0:Me.error)||void 0===Be||Be.call(Me,Ae)}complete(){var Ae,Me;null===(Me=null===(Ae=this.destination)||void 0===Ae?void 0:Ae.complete)||void 0===Me||Me.call(Ae)}_subscribe(Ae){var Me,Be;return null!==(Be=null===(Me=this.source)||void 0===Me?void 0:Me.subscribe(Ae))&&void 0!==Be?Be:S.Kn}}},7707:(yt,Se,x)=>{x.d(Se,{Ms:()=>St,vU:()=>Be});var o=x(8071),S=x(8359),ge=x(1026),ce=x(5334),X=x(5343);const le=Ie("C",void 0,void 0);function Ie(Ge,$e,st){return{kind:Ge,value:$e,error:st}}var Ae=x(9270),Me=x(9786);class Be extends S.yU{constructor($e){super(),this.isStopped=!1,$e?(this.destination=$e,(0,S.Uv)($e)&&$e.add(this)):this.destination=Nn}static create($e,st,kt){return new St($e,st,kt)}next($e){this.isStopped?Kt(function Pe(Ge){return Ie("N",Ge,void 0)}($e),this):this._next($e)}error($e){this.isStopped?Kt(function Ne(Ge){return Ie("E",void 0,Ge)}($e),this):(this.isStopped=!0,this._error($e))}complete(){this.isStopped?Kt(le,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next($e){this.destination.next($e)}_error($e){try{this.destination.error($e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const ct=Function.prototype.bind;function He(Ge,$e){return ct.call(Ge,$e)}class We{constructor($e){this.partialObserver=$e}next($e){const{partialObserver:st}=this;if(st.next)try{st.next($e)}catch(kt){jt(kt)}}error($e){const{partialObserver:st}=this;if(st.error)try{st.error($e)}catch(kt){jt(kt)}else jt($e)}complete(){const{partialObserver:$e}=this;if($e.complete)try{$e.complete()}catch(st){jt(st)}}}class St extends Be{constructor($e,st,kt){let lt;if(super(),(0,o.T)($e)||!$e)lt={next:$e??void 0,error:st??void 0,complete:kt??void 0};else{let it;this&&ge.$.useDeprecatedNextContext?(it=Object.create($e),it.unsubscribe=()=>this.unsubscribe(),lt={next:$e.next&&He($e.next,it),error:$e.error&&He($e.error,it),complete:$e.complete&&He($e.complete,it)}):lt=$e}this.destination=new We(lt)}}function jt(Ge){ge.$.useDeprecatedSynchronousErrorHandling?(0,Me.l)(Ge):(0,ce.m)(Ge)}function Kt(Ge,$e){const{onStoppedNotification:st}=ge.$;st&&Ae.f.setTimeout(()=>st(Ge,$e))}const Nn={closed:!0,next:X.l,error:function Mt(Ge){throw Ge},complete:X.l}},8359:(yt,Se,x)=>{x.d(Se,{Kn:()=>le,yU:()=>X,Uv:()=>Ne});var o=x(8071);const ge=(0,x(1853).L)(Ie=>function(Me){Ie(this),this.message=Me?`${Me.length} errors occurred during unsubscription:\n${Me.map((Be,ct)=>`${ct+1}) ${Be.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=Me});var ce=x(7908);class X{constructor(Ae){this.initialTeardown=Ae,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let Ae;if(!this.closed){this.closed=!0;const{_parentage:Me}=this;if(Me)if(this._parentage=null,Array.isArray(Me))for(const He of Me)He.remove(this);else Me.remove(this);const{initialTeardown:Be}=this;if((0,o.T)(Be))try{Be()}catch(He){Ae=He instanceof ge?He.errors:[He]}const{_finalizers:ct}=this;if(ct){this._finalizers=null;for(const He of ct)try{Pe(He)}catch(We){Ae=Ae??[],We instanceof ge?Ae=[...Ae,...We.errors]:Ae.push(We)}}if(Ae)throw new ge(Ae)}}add(Ae){var Me;if(Ae&&Ae!==this)if(this.closed)Pe(Ae);else{if(Ae instanceof X){if(Ae.closed||Ae._hasParent(this))return;Ae._addParent(this)}(this._finalizers=null!==(Me=this._finalizers)&&void 0!==Me?Me:[]).push(Ae)}}_hasParent(Ae){const{_parentage:Me}=this;return Me===Ae||Array.isArray(Me)&&Me.includes(Ae)}_addParent(Ae){const{_parentage:Me}=this;this._parentage=Array.isArray(Me)?(Me.push(Ae),Me):Me?[Me,Ae]:Ae}_removeParent(Ae){const{_parentage:Me}=this;Me===Ae?this._parentage=null:Array.isArray(Me)&&(0,ce.o)(Me,Ae)}remove(Ae){const{_finalizers:Me}=this;Me&&(0,ce.o)(Me,Ae),Ae instanceof X&&Ae._removeParent(this)}}X.EMPTY=(()=>{const Ie=new X;return Ie.closed=!0,Ie})();const le=X.EMPTY;function Ne(Ie){return Ie instanceof X||Ie&&"closed"in Ie&&(0,o.T)(Ie.remove)&&(0,o.T)(Ie.add)&&(0,o.T)(Ie.unsubscribe)}function Pe(Ie){(0,o.T)(Ie)?Ie():Ie.unsubscribe()}},1026:(yt,Se,x)=>{x.d(Se,{$:()=>o});const o={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},8793:(yt,Se,x)=>{x.d(Se,{x:()=>X});var o=x(6365),ge=x(9326),ce=x(6648);function X(...le){return function S(){return(0,o.U)(1)}()((0,ce.H)(le,(0,ge.lI)(le)))}},9030:(yt,Se,x)=>{x.d(Se,{v:()=>ge});var o=x(1985),S=x(8750);function ge(ce){return new o.c(X=>{(0,S.Tg)(ce()).subscribe(X)})}},983:(yt,Se,x)=>{x.d(Se,{w:()=>S});const S=new(x(1985).c)(X=>X.complete())},7468:(yt,Se,x)=>{x.d(Se,{p:()=>Pe});var o=x(1985),S=x(3073),ge=x(8750),ce=x(9326),X=x(4360),le=x(6450),Ne=x(8496);function Pe(...Ie){const Ae=(0,ce.ms)(Ie),{args:Me,keys:Be}=(0,S.D)(Ie),ct=new o.c(He=>{const{length:We}=Me;if(!We)return void He.complete();const St=new Array(We);let jt=We,Mt=We;for(let Kt=0;Kt<We;Kt++){let Nn=!1;(0,ge.Tg)(Me[Kt]).subscribe((0,X._)(He,Ge=>{Nn||(Nn=!0,Mt--),St[Kt]=Ge},()=>jt--,void 0,()=>{(!jt||!Nn)&&(Mt||He.next(Be?(0,Ne.e)(Be,St):St),He.complete())}))}});return Ae?ct.pipe((0,le.I)(Ae)):ct}},6648:(yt,Se,x)=>{x.d(Se,{H:()=>kt});var o=x(8750),S=x(5225),ge=x(9974),ce=x(4360);function X(lt,it=0){return(0,ge.N)((Ct,Et)=>{Ct.subscribe((0,ce._)(Et,$t=>(0,S.N)(Et,lt,()=>Et.next($t),it),()=>(0,S.N)(Et,lt,()=>Et.complete(),it),$t=>(0,S.N)(Et,lt,()=>Et.error($t),it)))})}function le(lt,it=0){return(0,ge.N)((Ct,Et)=>{Et.add(lt.schedule(()=>Ct.subscribe(Et),it))})}var Ie=x(1985),Me=x(4761),Be=x(8071);function He(lt,it){if(!lt)throw new Error("Iterable cannot be null");return new Ie.c(Ct=>{(0,S.N)(Ct,it,()=>{const Et=lt[Symbol.asyncIterator]();(0,S.N)(Ct,it,()=>{Et.next().then($t=>{$t.done?Ct.complete():Ct.next($t.value)})},0,!0)})})}var We=x(5055),St=x(9858),jt=x(7441),Mt=x(5397),Kt=x(7953),Nn=x(591),Ge=x(5196);function kt(lt,it){return it?function st(lt,it){if(null!=lt){if((0,We.l)(lt))return function Ne(lt,it){return(0,o.Tg)(lt).pipe(le(it),X(it))}(lt,it);if((0,jt.X)(lt))return function Ae(lt,it){return new Ie.c(Ct=>{let Et=0;return it.schedule(function(){Et===lt.length?Ct.complete():(Ct.next(lt[Et++]),Ct.closed||this.schedule())})})}(lt,it);if((0,St.y)(lt))return function Pe(lt,it){return(0,o.Tg)(lt).pipe(le(it),X(it))}(lt,it);if((0,Kt.T)(lt))return He(lt,it);if((0,Mt.x)(lt))return function ct(lt,it){return new Ie.c(Ct=>{let Et;return(0,S.N)(Ct,it,()=>{Et=lt[Me.l](),(0,S.N)(Ct,it,()=>{let $t,Qt;try{({value:$t,done:Qt}=Et.next())}catch(Wn){return void Ct.error(Wn)}Qt?Ct.complete():Ct.next($t)},0,!0)}),()=>(0,Be.T)(Et?.return)&&Et.return()})}(lt,it);if((0,Ge.U)(lt))return function $e(lt,it){return He((0,Ge.C)(lt),it)}(lt,it)}throw(0,Nn.L)(lt)}(lt,it):(0,o.Tg)(lt)}},8750:(yt,Se,x)=>{x.d(Se,{Tg:()=>ct});var o=x(1635),S=x(7441),ge=x(9858),ce=x(1985),X=x(5055),le=x(7953),Ne=x(591),Pe=x(5397),Ie=x(5196),Ae=x(8071),Me=x(5334),Be=x(3494);function ct(Ge){if(Ge instanceof ce.c)return Ge;if(null!=Ge){if((0,X.l)(Ge))return function He(Ge){return new ce.c($e=>{const st=Ge[Be.s]();if((0,Ae.T)(st.subscribe))return st.subscribe($e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(Ge);if((0,S.X)(Ge))return function We(Ge){return new ce.c($e=>{for(let st=0;st<Ge.length&&!$e.closed;st++)$e.next(Ge[st]);$e.complete()})}(Ge);if((0,ge.y)(Ge))return function St(Ge){return new ce.c($e=>{Ge.then(st=>{$e.closed||($e.next(st),$e.complete())},st=>$e.error(st)).then(null,Me.m)})}(Ge);if((0,le.T)(Ge))return Mt(Ge);if((0,Pe.x)(Ge))return function jt(Ge){return new ce.c($e=>{for(const st of Ge)if($e.next(st),$e.closed)return;$e.complete()})}(Ge);if((0,Ie.U)(Ge))return function Kt(Ge){return Mt((0,Ie.C)(Ge))}(Ge)}throw(0,Ne.L)(Ge)}function Mt(Ge){return new ce.c($e=>{(function Nn(Ge,$e){var st,kt,lt,it;return(0,o.sH)(this,void 0,void 0,function*(){try{for(st=(0,o.xN)(Ge);!(kt=yield st.next()).done;)if($e.next(kt.value),$e.closed)return}catch(Ct){lt={error:Ct}}finally{try{kt&&!kt.done&&(it=st.return)&&(yield it.call(st))}finally{if(lt)throw lt.error}}$e.complete()})})(Ge,$e).catch(st=>$e.error(st))})}},7673:(yt,Se,x)=>{x.d(Se,{of:()=>ge});var o=x(9326),S=x(6648);function ge(...ce){const X=(0,o.lI)(ce);return(0,S.H)(ce,X)}},8810:(yt,Se,x)=>{x.d(Se,{$:()=>ge});var o=x(1985),S=x(8071);function ge(ce,X){const le=(0,S.T)(ce)?ce:()=>ce,Ne=Pe=>Pe.error(le());return new o.c(X?Pe=>X.schedule(Ne,0,Pe):Ne)}},4360:(yt,Se,x)=>{x.d(Se,{_:()=>S});var o=x(7707);function S(ce,X,le,Ne,Pe){return new ge(ce,X,le,Ne,Pe)}class ge extends o.vU{constructor(X,le,Ne,Pe,Ie,Ae){super(X),this.onFinalize=Ie,this.shouldUnsubscribe=Ae,this._next=le?function(Me){try{le(Me)}catch(Be){X.error(Be)}}:super._next,this._error=Pe?function(Me){try{Pe(Me)}catch(Be){X.error(Be)}finally{this.unsubscribe()}}:super._error,this._complete=Ne?function(){try{Ne()}catch(Me){X.error(Me)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var X;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:le}=this;super.unsubscribe(),!le&&(null===(X=this.onFinalize)||void 0===X||X.call(this))}}}},9437:(yt,Se,x)=>{x.d(Se,{W:()=>ce});var o=x(8750),S=x(4360),ge=x(9974);function ce(X){return(0,ge.N)((le,Ne)=>{let Ae,Pe=null,Ie=!1;Pe=le.subscribe((0,S._)(Ne,void 0,void 0,Me=>{Ae=(0,o.Tg)(X(Me,ce(X)(le))),Pe?(Pe.unsubscribe(),Pe=null,Ae.subscribe(Ne)):Ie=!0})),Ie&&(Pe.unsubscribe(),Pe=null,Ae.subscribe(Ne))})}},274:(yt,Se,x)=>{x.d(Se,{H:()=>ge});var o=x(1397),S=x(8071);function ge(ce,X){return(0,S.T)(X)?(0,o.Z)(ce,X,1):(0,o.Z)(ce,1)}},9901:(yt,Se,x)=>{x.d(Se,{U:()=>ge});var o=x(9974),S=x(4360);function ge(ce){return(0,o.N)((X,le)=>{let Ne=!1;X.subscribe((0,S._)(le,Pe=>{Ne=!0,le.next(Pe)},()=>{Ne||le.next(ce),le.complete()}))})}},5964:(yt,Se,x)=>{x.d(Se,{p:()=>ge});var o=x(9974),S=x(4360);function ge(ce,X){return(0,o.N)((le,Ne)=>{let Pe=0;le.subscribe((0,S._)(Ne,Ie=>ce.call(X,Ie,Pe++)&&Ne.next(Ie)))})}},980:(yt,Se,x)=>{x.d(Se,{j:()=>S});var o=x(9974);function S(ge){return(0,o.N)((ce,X)=>{try{ce.subscribe(X)}finally{X.add(ge)}})}},1594:(yt,Se,x)=>{x.d(Se,{$:()=>Ne});var o=x(9350),S=x(5964),ge=x(6697),ce=x(9901),X=x(3774),le=x(3669);function Ne(Pe,Ie){const Ae=arguments.length>=2;return Me=>Me.pipe(Pe?(0,S.p)((Be,ct)=>Pe(Be,ct,Me)):le.D,(0,ge.s)(1),Ae?(0,ce.U)(Ie):(0,X.v)(()=>new o.G))}},6354:(yt,Se,x)=>{x.d(Se,{T:()=>ge});var o=x(9974),S=x(4360);function ge(ce,X){return(0,o.N)((le,Ne)=>{let Pe=0;le.subscribe((0,S._)(Ne,Ie=>{Ne.next(ce.call(X,Ie,Pe++))}))})}},3703:(yt,Se,x)=>{x.d(Se,{u:()=>S});var o=x(6354);function S(ge){return(0,o.T)(()=>ge)}},6365:(yt,Se,x)=>{x.d(Se,{U:()=>ge});var o=x(1397),S=x(3669);function ge(ce=1/0){return(0,o.Z)(S.D,ce)}},1397:(yt,Se,x)=>{x.d(Se,{Z:()=>Pe});var o=x(6354),S=x(8750),ge=x(9974),ce=x(5225),X=x(4360),Ne=x(8071);function Pe(Ie,Ae,Me=1/0){return(0,Ne.T)(Ae)?Pe((Be,ct)=>(0,o.T)((He,We)=>Ae(Be,He,ct,We))((0,S.Tg)(Ie(Be,ct))),Me):("number"==typeof Ae&&(Me=Ae),(0,ge.N)((Be,ct)=>function le(Ie,Ae,Me,Be,ct,He,We,St){const jt=[];let Mt=0,Kt=0,Nn=!1;const Ge=()=>{Nn&&!jt.length&&!Mt&&Ae.complete()},$e=kt=>Mt<Be?st(kt):jt.push(kt),st=kt=>{He&&Ae.next(kt),Mt++;let lt=!1;(0,S.Tg)(Me(kt,Kt++)).subscribe((0,X._)(Ae,it=>{ct?.(it),He?$e(it):Ae.next(it)},()=>{lt=!0},void 0,()=>{if(lt)try{for(Mt--;jt.length&&Mt<Be;){const it=jt.shift();We?(0,ce.N)(Ae,We,()=>st(it)):st(it)}Ge()}catch(it){Ae.error(it)}}))};return Ie.subscribe((0,X._)(Ae,$e,()=>{Nn=!0,Ge()})),()=>{St?.()}}(Be,ct,Ie,Me)))}},7647:(yt,Se,x)=>{x.d(Se,{u:()=>X});var o=x(8750),S=x(1413),ge=x(7707),ce=x(9974);function X(Ne={}){const{connector:Pe=(()=>new S.B),resetOnError:Ie=!0,resetOnComplete:Ae=!0,resetOnRefCountZero:Me=!0}=Ne;return Be=>{let ct,He,We,St=0,jt=!1,Mt=!1;const Kt=()=>{He?.unsubscribe(),He=void 0},Nn=()=>{Kt(),ct=We=void 0,jt=Mt=!1},Ge=()=>{const $e=ct;Nn(),$e?.unsubscribe()};return(0,ce.N)(($e,st)=>{St++,!Mt&&!jt&&Kt();const kt=We=We??Pe();st.add(()=>{St--,0===St&&!Mt&&!jt&&(He=le(Ge,Me))}),kt.subscribe(st),!ct&&St>0&&(ct=new ge.Ms({next:lt=>kt.next(lt),error:lt=>{Mt=!0,Kt(),He=le(Nn,Ie,lt),kt.error(lt)},complete:()=>{jt=!0,Kt(),He=le(Nn,Ae),kt.complete()}}),(0,o.Tg)($e).subscribe(ct))})(Be)}}function le(Ne,Pe,...Ie){if(!0===Pe)return void Ne();if(!1===Pe)return;const Ae=new ge.Ms({next:()=>{Ae.unsubscribe(),Ne()}});return(0,o.Tg)(Pe(...Ie)).subscribe(Ae)}},9172:(yt,Se,x)=>{x.d(Se,{Z:()=>ce});var o=x(8793),S=x(9326),ge=x(9974);function ce(...X){const le=(0,S.lI)(X);return(0,ge.N)((Ne,Pe)=>{(le?(0,o.x)(X,Ne,le):(0,o.x)(X,Ne)).subscribe(Pe)})}},5558:(yt,Se,x)=>{x.d(Se,{n:()=>ce});var o=x(8750),S=x(9974),ge=x(4360);function ce(X,le){return(0,S.N)((Ne,Pe)=>{let Ie=null,Ae=0,Me=!1;const Be=()=>Me&&!Ie&&Pe.complete();Ne.subscribe((0,ge._)(Pe,ct=>{Ie?.unsubscribe();let He=0;const We=Ae++;(0,o.Tg)(X(ct,We)).subscribe(Ie=(0,ge._)(Pe,St=>Pe.next(le?le(ct,St,We,He++):St),()=>{Ie=null,Be()}))},()=>{Me=!0,Be()}))})}},6697:(yt,Se,x)=>{x.d(Se,{s:()=>ce});var o=x(983),S=x(9974),ge=x(4360);function ce(X){return X<=0?()=>o.w:(0,S.N)((le,Ne)=>{let Pe=0;le.subscribe((0,ge._)(Ne,Ie=>{++Pe<=X&&(Ne.next(Ie),X<=Pe&&Ne.complete())}))})}},6977:(yt,Se,x)=>{x.d(Se,{Q:()=>X});var o=x(9974),S=x(4360),ge=x(8750),ce=x(5343);function X(le){return(0,o.N)((Ne,Pe)=>{(0,ge.Tg)(le).subscribe((0,S._)(Pe,()=>Pe.complete(),ce.l)),!Pe.closed&&Ne.subscribe(Pe)})}},8141:(yt,Se,x)=>{x.d(Se,{M:()=>X});var o=x(8071),S=x(9974),ge=x(4360),ce=x(3669);function X(le,Ne,Pe){const Ie=(0,o.T)(le)||Ne||Pe?{next:le,error:Ne,complete:Pe}:le;return Ie?(0,S.N)((Ae,Me)=>{var Be;null===(Be=Ie.subscribe)||void 0===Be||Be.call(Ie);let ct=!0;Ae.subscribe((0,ge._)(Me,He=>{var We;null===(We=Ie.next)||void 0===We||We.call(Ie,He),Me.next(He)},()=>{var He;ct=!1,null===(He=Ie.complete)||void 0===He||He.call(Ie),Me.complete()},He=>{var We;ct=!1,null===(We=Ie.error)||void 0===We||We.call(Ie,He),Me.error(He)},()=>{var He,We;ct&&(null===(He=Ie.unsubscribe)||void 0===He||He.call(Ie)),null===(We=Ie.finalize)||void 0===We||We.call(Ie)}))}):ce.D}},3774:(yt,Se,x)=>{x.d(Se,{v:()=>ce});var o=x(9350),S=x(9974),ge=x(4360);function ce(le=X){return(0,S.N)((Ne,Pe)=>{let Ie=!1;Ne.subscribe((0,ge._)(Pe,Ae=>{Ie=!0,Pe.next(Ae)},()=>Ie?Pe.complete():Pe.error(le())))})}function X(){return new o.G}},6129:(yt,Se,x)=>{x.d(Se,{U:()=>o});const o={now:()=>(o.delegate||Date).now(),delegate:void 0}},9270:(yt,Se,x)=>{x.d(Se,{f:()=>o});const o={setTimeout(S,ge,...ce){const{delegate:X}=o;return X?.setTimeout?X.setTimeout(S,ge,...ce):setTimeout(S,ge,...ce)},clearTimeout(S){const{delegate:ge}=o;return(ge?.clearTimeout||clearTimeout)(S)},delegate:void 0}},4761:(yt,Se,x)=>{x.d(Se,{l:()=>S});const S=function o(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3494:(yt,Se,x)=>{x.d(Se,{s:()=>o});const o="function"==typeof Symbol&&Symbol.observable||"@@observable"},9350:(yt,Se,x)=>{x.d(Se,{G:()=>S});const S=(0,x(1853).L)(ge=>function(){ge(this),this.name="EmptyError",this.message="no elements in sequence"})},9326:(yt,Se,x)=>{x.d(Se,{R0:()=>le,lI:()=>X,ms:()=>ce});var o=x(8071),S=x(9470);function ge(Ne){return Ne[Ne.length-1]}function ce(Ne){return(0,o.T)(ge(Ne))?Ne.pop():void 0}function X(Ne){return(0,S.m)(ge(Ne))?Ne.pop():void 0}function le(Ne,Pe){return"number"==typeof ge(Ne)?Ne.pop():Pe}},3073:(yt,Se,x)=>{x.d(Se,{D:()=>X});const{isArray:o}=Array,{getPrototypeOf:S,prototype:ge,keys:ce}=Object;function X(Ne){if(1===Ne.length){const Pe=Ne[0];if(o(Pe))return{args:Pe,keys:null};if(function le(Ne){return Ne&&"object"==typeof Ne&&S(Ne)===ge}(Pe)){const Ie=ce(Pe);return{args:Ie.map(Ae=>Pe[Ae]),keys:Ie}}}return{args:Ne,keys:null}}},7908:(yt,Se,x)=>{function o(S,ge){if(S){const ce=S.indexOf(ge);0<=ce&&S.splice(ce,1)}}x.d(Se,{o:()=>o})},1853:(yt,Se,x)=>{function o(S){const ce=S(X=>{Error.call(X),X.stack=(new Error).stack});return ce.prototype=Object.create(Error.prototype),ce.prototype.constructor=ce,ce}x.d(Se,{L:()=>o})},8496:(yt,Se,x)=>{function o(S,ge){return S.reduce((ce,X,le)=>(ce[X]=ge[le],ce),{})}x.d(Se,{e:()=>o})},9786:(yt,Se,x)=>{x.d(Se,{Y:()=>ge,l:()=>ce});var o=x(1026);let S=null;function ge(X){if(o.$.useDeprecatedSynchronousErrorHandling){const le=!S;if(le&&(S={errorThrown:!1,error:null}),X(),le){const{errorThrown:Ne,error:Pe}=S;if(S=null,Ne)throw Pe}}else X()}function ce(X){o.$.useDeprecatedSynchronousErrorHandling&&S&&(S.errorThrown=!0,S.error=X)}},5225:(yt,Se,x)=>{function o(S,ge,ce,X=0,le=!1){const Ne=ge.schedule(function(){ce(),le?S.add(this.schedule(null,X)):this.unsubscribe()},X);if(S.add(Ne),!le)return Ne}x.d(Se,{N:()=>o})},3669:(yt,Se,x)=>{function o(S){return S}x.d(Se,{D:()=>o})},7441:(yt,Se,x)=>{x.d(Se,{X:()=>o});const o=S=>S&&"number"==typeof S.length&&"function"!=typeof S},7953:(yt,Se,x)=>{x.d(Se,{T:()=>S});var o=x(8071);function S(ge){return Symbol.asyncIterator&&(0,o.T)(ge?.[Symbol.asyncIterator])}},8071:(yt,Se,x)=>{function o(S){return"function"==typeof S}x.d(Se,{T:()=>o})},5055:(yt,Se,x)=>{x.d(Se,{l:()=>ge});var o=x(3494),S=x(8071);function ge(ce){return(0,S.T)(ce[o.s])}},5397:(yt,Se,x)=>{x.d(Se,{x:()=>ge});var o=x(4761),S=x(8071);function ge(ce){return(0,S.T)(ce?.[o.l])}},4402:(yt,Se,x)=>{x.d(Se,{A:()=>ge});var o=x(1985),S=x(8071);function ge(ce){return!!ce&&(ce instanceof o.c||(0,S.T)(ce.lift)&&(0,S.T)(ce.subscribe))}},9858:(yt,Se,x)=>{x.d(Se,{y:()=>S});var o=x(8071);function S(ge){return(0,o.T)(ge?.then)}},5196:(yt,Se,x)=>{x.d(Se,{C:()=>ge,U:()=>ce});var o=x(1635),S=x(8071);function ge(X){return(0,o.AQ)(this,arguments,function*(){const Ne=X.getReader();try{for(;;){const{value:Pe,done:Ie}=yield(0,o.N3)(Ne.read());if(Ie)return yield(0,o.N3)(void 0);yield yield(0,o.N3)(Pe)}}finally{Ne.releaseLock()}})}function ce(X){return(0,S.T)(X?.getReader)}},9470:(yt,Se,x)=>{x.d(Se,{m:()=>S});var o=x(8071);function S(ge){return ge&&(0,o.T)(ge.schedule)}},9974:(yt,Se,x)=>{x.d(Se,{N:()=>ge,S:()=>S});var o=x(8071);function S(ce){return(0,o.T)(ce?.lift)}function ge(ce){return X=>{if(S(X))return X.lift(function(le){try{return ce(le,this)}catch(Ne){this.error(Ne)}});throw new TypeError("Unable to lift unknown Observable type")}}},6450:(yt,Se,x)=>{x.d(Se,{I:()=>ce});var o=x(6354);const{isArray:S}=Array;function ce(X){return(0,o.T)(le=>function ge(X,le){return S(le)?X(...le):X(le)}(X,le))}},5343:(yt,Se,x)=>{function o(){}x.d(Se,{l:()=>o})},1203:(yt,Se,x)=>{x.d(Se,{F:()=>S,m:()=>ge});var o=x(3669);function S(...ce){return ge(ce)}function ge(ce){return 0===ce.length?o.D:1===ce.length?ce[0]:function(le){return ce.reduce((Ne,Pe)=>Pe(Ne),le)}}},5334:(yt,Se,x)=>{x.d(Se,{m:()=>ge});var o=x(1026),S=x(9270);function ge(ce){S.f.setTimeout(()=>{const{onUnhandledError:X}=o.$;if(!X)throw ce;X(ce)})}},591:(yt,Se,x)=>{function o(S){return new TypeError(`You provided ${null!==S&&"object"==typeof S?"an invalid object":`'${S}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}x.d(Se,{L:()=>o})},177:(yt,Se,x)=>{x.d(Se,{AJ:()=>tt,MD:()=>_e,N0:()=>Jn,QT:()=>ge,T3:()=>xt,VF:()=>X,Vy:()=>Ot,Xr:()=>ui,YU:()=>At,Yq:()=>hn,ZD:()=>ce,_b:()=>rr,aZ:()=>Mt,bT:()=>Ue,hb:()=>He,pM:()=>ee,qQ:()=>Ne,vh:()=>Kn});var o=x(4438);let S=null;function ge(){return S}function ce(b){S??=b}class X{}const Ne=new o.nKC("");let Pe=(()=>{class b{historyGo(T){throw new Error("")}static#e=this.\u0275fac=function(g){return new(g||b)};static#t=this.\u0275prov=o.jDH({token:b,factory:()=>(0,o.WQX)(Ae),providedIn:"platform"})}return b})(),Ae=(()=>{class b extends Pe{constructor(){super(),this._doc=(0,o.WQX)(Ne),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return ge().getBaseHref(this._doc)}onPopState(T){const g=ge().getGlobalEventTarget(this._doc,"window");return g.addEventListener("popstate",T,!1),()=>g.removeEventListener("popstate",T)}onHashChange(T){const g=ge().getGlobalEventTarget(this._doc,"window");return g.addEventListener("hashchange",T,!1),()=>g.removeEventListener("hashchange",T)}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(T){this._location.pathname=T}pushState(T,g,u){this._history.pushState(T,g,u)}replaceState(T,g,u){this._history.replaceState(T,g,u)}forward(){this._history.forward()}back(){this._history.back()}historyGo(T=0){this._history.go(T)}getState(){return this._history.state}static#e=this.\u0275fac=function(g){return new(g||b)};static#t=this.\u0275prov=o.jDH({token:b,factory:()=>new b,providedIn:"platform"})}return b})();function Me(b,k){if(0==b.length)return k;if(0==k.length)return b;let T=0;return b.endsWith("/")&&T++,k.startsWith("/")&&T++,2==T?b+k.substring(1):1==T?b+k:b+"/"+k}function Be(b){const k=b.match(/#|\?|$/),T=k&&k.index||b.length;return b.slice(0,T-("/"===b[T-1]?1:0))+b.slice(T)}function ct(b){return b&&"?"!==b[0]?"?"+b:b}let He=(()=>{class b{historyGo(T){throw new Error("")}static#e=this.\u0275fac=function(g){return new(g||b)};static#t=this.\u0275prov=o.jDH({token:b,factory:()=>(0,o.WQX)(St),providedIn:"root"})}return b})();const We=new o.nKC("");let St=(()=>{class b extends He{constructor(T,g){super(),this._platformLocation=T,this._removeListenerFns=[],this._baseHref=g??this._platformLocation.getBaseHrefFromDOM()??(0,o.WQX)(Ne).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(T){this._removeListenerFns.push(this._platformLocation.onPopState(T),this._platformLocation.onHashChange(T))}getBaseHref(){return this._baseHref}prepareExternalUrl(T){return Me(this._baseHref,T)}path(T=!1){const g=this._platformLocation.pathname+ct(this._platformLocation.search),u=this._platformLocation.hash;return u&&T?`${g}${u}`:g}pushState(T,g,u,f){const D=this.prepareExternalUrl(u+ct(f));this._platformLocation.pushState(T,g,D)}replaceState(T,g,u,f){const D=this.prepareExternalUrl(u+ct(f));this._platformLocation.replaceState(T,g,D)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(T=0){this._platformLocation.historyGo?.(T)}static#e=this.\u0275fac=function(g){return new(g||b)(o.KVO(Pe),o.KVO(We,8))};static#t=this.\u0275prov=o.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}return b})(),Mt=(()=>{class b{constructor(T){this._subject=new o.bkB,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=T;const g=this._locationStrategy.getBaseHref();this._basePath=function $e(b){if(new RegExp("^(https?:)?//").test(b)){const[,T]=b.split(/\/\/[^\/]+/);return T}return b}(Be(Ge(g))),this._locationStrategy.onPopState(u=>{this._subject.emit({url:this.path(!0),pop:!0,state:u.state,type:u.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(T=!1){return this.normalize(this._locationStrategy.path(T))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(T,g=""){return this.path()==this.normalize(T+ct(g))}normalize(T){return b.stripTrailingSlash(function Nn(b,k){if(!b||!k.startsWith(b))return k;const T=k.substring(b.length);return""===T||["/",";","?","#"].includes(T[0])?T:k}(this._basePath,Ge(T)))}prepareExternalUrl(T){return T&&"/"!==T[0]&&(T="/"+T),this._locationStrategy.prepareExternalUrl(T)}go(T,g="",u=null){this._locationStrategy.pushState(u,"",T,g),this._notifyUrlChangeListeners(this.prepareExternalUrl(T+ct(g)),u)}replaceState(T,g="",u=null){this._locationStrategy.replaceState(u,"",T,g),this._notifyUrlChangeListeners(this.prepareExternalUrl(T+ct(g)),u)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(T=0){this._locationStrategy.historyGo?.(T)}onUrlChange(T){return this._urlChangeListeners.push(T),this._urlChangeSubscription??=this.subscribe(g=>{this._notifyUrlChangeListeners(g.url,g.state)}),()=>{const g=this._urlChangeListeners.indexOf(T);this._urlChangeListeners.splice(g,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(T="",g){this._urlChangeListeners.forEach(u=>u(T,g))}subscribe(T,g,u){return this._subject.subscribe({next:T,error:g,complete:u})}static#e=this.normalizeQueryParams=ct;static#t=this.joinWithSlash=Me;static#n=this.stripTrailingSlash=Be;static#i=this.\u0275fac=function(g){return new(g||b)(o.KVO(He))};static#r=this.\u0275prov=o.jDH({token:b,factory:()=>function Kt(){return new Mt((0,o.KVO)(He))}(),providedIn:"root"})}return b})();function Ge(b){return b.replace(/\/index.html$/,"")}var it=function(b){return b[b.Format=0]="Format",b[b.Standalone=1]="Standalone",b}(it||{}),Ct=function(b){return b[b.Narrow=0]="Narrow",b[b.Abbreviated=1]="Abbreviated",b[b.Wide=2]="Wide",b[b.Short=3]="Short",b}(Ct||{}),Et=function(b){return b[b.Short=0]="Short",b[b.Medium=1]="Medium",b[b.Long=2]="Long",b[b.Full=3]="Full",b}(Et||{});const $t={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function he(b,k){return mn((0,o.H5H)(b)[o.KH2.DateFormat],k)}function U(b,k){return mn((0,o.H5H)(b)[o.KH2.TimeFormat],k)}function ne(b,k){return mn((0,o.H5H)(b)[o.KH2.DateTimeFormat],k)}function oe(b,k){const T=(0,o.H5H)(b),g=T[o.KH2.NumberSymbols][k];if(typeof g>"u"){if(k===$t.CurrencyDecimal)return T[o.KH2.NumberSymbols][$t.Decimal];if(k===$t.CurrencyGroup)return T[o.KH2.NumberSymbols][$t.Group]}return g}function wn(b){if(!b[o.KH2.ExtraData])throw new Error(`Missing extra locale data for the locale "${b[o.KH2.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function mn(b,k){for(let T=k;T>-1;T--)if(typeof b[T]<"u")return b[T];throw new Error("Locale data API: locale data undefined")}function yi(b){const[k,T]=b.split(":");return{hours:+k,minutes:+T}}const pi=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,_r={},xe=/((?:[^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 bi=function(b){return b[b.Short=0]="Short",b[b.ShortGMT=1]="ShortGMT",b[b.Long=2]="Long",b[b.Extended=3]="Extended",b}(bi||{}),Ht=function(b){return b[b.FullYear=0]="FullYear",b[b.Month=1]="Month",b[b.Date=2]="Date",b[b.Hours=3]="Hours",b[b.Minutes=4]="Minutes",b[b.Seconds=5]="Seconds",b[b.FractionalSeconds=6]="FractionalSeconds",b[b.Day=7]="Day",b}(Ht||{}),on=function(b){return b[b.DayPeriods=0]="DayPeriods",b[b.Days=1]="Days",b[b.Months=2]="Months",b[b.Eras=3]="Eras",b}(on||{});function hn(b,k,T,g){let u=function qe(b){if(pn(b))return b;if("number"==typeof b&&!isNaN(b))return new Date(b);if("string"==typeof b){if(b=b.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(b)){const[u,f=1,D=1]=b.split("-").map(N=>+N);return nr(u,f-1,D)}const T=parseFloat(b);if(!isNaN(b-T))return new Date(T);let g;if(g=b.match(pi))return function Zt(b){const k=new Date(0);let T=0,g=0;const u=b[8]?k.setUTCFullYear:k.setFullYear,f=b[8]?k.setUTCHours:k.setHours;b[9]&&(T=Number(b[9]+b[10]),g=Number(b[9]+b[11])),u.call(k,Number(b[1]),Number(b[2])-1,Number(b[3]));const D=Number(b[4]||0)-T,N=Number(b[5]||0)-g,j=Number(b[6]||0),K=Math.floor(1e3*parseFloat("0."+(b[7]||0)));return f.call(k,D,N,j,K),k}(g)}const k=new Date(b);if(!pn(k))throw new Error(`Unable to convert "${b}" into a date`);return k}(b);k=Xi(T,k)||k;let N,D=[];for(;k;){if(N=xe.exec(k),!N){D.push(k);break}{D=D.concat(N.slice(1));const J=D.pop();if(!J)break;k=J}}let j=u.getTimezoneOffset();g&&(j=Z(g,j),u=function Ve(b,k,T){const g=T?-1:1,u=b.getTimezoneOffset();return function ue(b,k){return(b=new Date(b.getTime())).setMinutes(b.getMinutes()+k),b}(b,g*(Z(k,u)-u))}(u,g,!0));let K="";return D.forEach(J=>{const ae=function pe(b){if(we[b])return we[b];let k;switch(b){case"G":case"GG":case"GGG":k=zt(on.Eras,Ct.Abbreviated);break;case"GGGG":k=zt(on.Eras,Ct.Wide);break;case"GGGGG":k=zt(on.Eras,Ct.Narrow);break;case"y":k=Rt(Ht.FullYear,1,0,!1,!0);break;case"yy":k=Rt(Ht.FullYear,2,0,!0,!0);break;case"yyy":k=Rt(Ht.FullYear,3,0,!1,!0);break;case"yyyy":k=Rt(Ht.FullYear,4,0,!1,!0);break;case"Y":k=vt(1);break;case"YY":k=vt(2,!0);break;case"YYY":k=vt(3);break;case"YYYY":k=vt(4);break;case"M":case"L":k=Rt(Ht.Month,1,1);break;case"MM":case"LL":k=Rt(Ht.Month,2,1);break;case"MMM":k=zt(on.Months,Ct.Abbreviated);break;case"MMMM":k=zt(on.Months,Ct.Wide);break;case"MMMMM":k=zt(on.Months,Ct.Narrow);break;case"LLL":k=zt(on.Months,Ct.Abbreviated,it.Standalone);break;case"LLLL":k=zt(on.Months,Ct.Wide,it.Standalone);break;case"LLLLL":k=zt(on.Months,Ct.Narrow,it.Standalone);break;case"w":k=Rn(1);break;case"ww":k=Rn(2);break;case"W":k=Rn(1,!0);break;case"d":k=Rt(Ht.Date,1);break;case"dd":k=Rt(Ht.Date,2);break;case"c":case"cc":k=Rt(Ht.Day,1);break;case"ccc":k=zt(on.Days,Ct.Abbreviated,it.Standalone);break;case"cccc":k=zt(on.Days,Ct.Wide,it.Standalone);break;case"ccccc":k=zt(on.Days,Ct.Narrow,it.Standalone);break;case"cccccc":k=zt(on.Days,Ct.Short,it.Standalone);break;case"E":case"EE":case"EEE":k=zt(on.Days,Ct.Abbreviated);break;case"EEEE":k=zt(on.Days,Ct.Wide);break;case"EEEEE":k=zt(on.Days,Ct.Narrow);break;case"EEEEEE":k=zt(on.Days,Ct.Short);break;case"a":case"aa":case"aaa":k=zt(on.DayPeriods,Ct.Abbreviated);break;case"aaaa":k=zt(on.DayPeriods,Ct.Wide);break;case"aaaaa":k=zt(on.DayPeriods,Ct.Narrow);break;case"b":case"bb":case"bbb":k=zt(on.DayPeriods,Ct.Abbreviated,it.Standalone,!0);break;case"bbbb":k=zt(on.DayPeriods,Ct.Wide,it.Standalone,!0);break;case"bbbbb":k=zt(on.DayPeriods,Ct.Narrow,it.Standalone,!0);break;case"B":case"BB":case"BBB":k=zt(on.DayPeriods,Ct.Abbreviated,it.Format,!0);break;case"BBBB":k=zt(on.DayPeriods,Ct.Wide,it.Format,!0);break;case"BBBBB":k=zt(on.DayPeriods,Ct.Narrow,it.Format,!0);break;case"h":k=Rt(Ht.Hours,1,-12);break;case"hh":k=Rt(Ht.Hours,2,-12);break;case"H":k=Rt(Ht.Hours,1);break;case"HH":k=Rt(Ht.Hours,2);break;case"m":k=Rt(Ht.Minutes,1);break;case"mm":k=Rt(Ht.Minutes,2);break;case"s":k=Rt(Ht.Seconds,1);break;case"ss":k=Rt(Ht.Seconds,2);break;case"S":k=Rt(Ht.FractionalSeconds,1);break;case"SS":k=Rt(Ht.FractionalSeconds,2);break;case"SSS":k=Rt(Ht.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":k=Wi(bi.Short);break;case"ZZZZZ":k=Wi(bi.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":k=Wi(bi.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":k=Wi(bi.Long);break;default:return null}return we[b]=k,k}(J);K+=ae?ae(u,T,j):"''"===J?"'":J.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),K}function nr(b,k,T){const g=new Date(0);return g.setFullYear(b,k,T),g.setHours(0,0,0),g}function Xi(b,k){const T=function Wn(b){return(0,o.H5H)(b)[o.KH2.LocaleId]}(b);if(_r[T]??={},_r[T][k])return _r[T][k];let g="";switch(k){case"shortDate":g=he(b,Et.Short);break;case"mediumDate":g=he(b,Et.Medium);break;case"longDate":g=he(b,Et.Long);break;case"fullDate":g=he(b,Et.Full);break;case"shortTime":g=U(b,Et.Short);break;case"mediumTime":g=U(b,Et.Medium);break;case"longTime":g=U(b,Et.Long);break;case"fullTime":g=U(b,Et.Full);break;case"short":const u=Xi(b,"shortTime"),f=Xi(b,"shortDate");g=Mr(ne(b,Et.Short),[u,f]);break;case"medium":const D=Xi(b,"mediumTime"),N=Xi(b,"mediumDate");g=Mr(ne(b,Et.Medium),[D,N]);break;case"long":const j=Xi(b,"longTime"),K=Xi(b,"longDate");g=Mr(ne(b,Et.Long),[j,K]);break;case"full":const J=Xi(b,"fullTime"),ae=Xi(b,"fullDate");g=Mr(ne(b,Et.Full),[J,ae])}return g&&(_r[T][k]=g),g}function Mr(b,k){return k&&(b=b.replace(/\{([^}]+)}/g,function(T,g){return null!=k&&g in k?k[g]:T})),b}function gi(b,k,T="-",g,u){let f="";(b<0||u&&b<=0)&&(u?b=1-b:(b=-b,f=T));let D=String(b);for(;D.length<k;)D="0"+D;return g&&(D=D.slice(D.length-k)),f+D}function Rt(b,k,T=0,g=!1,u=!1){return function(f,D){let N=function $r(b,k){switch(b){case Ht.FullYear:return k.getFullYear();case Ht.Month:return k.getMonth();case Ht.Date:return k.getDate();case Ht.Hours:return k.getHours();case Ht.Minutes:return k.getMinutes();case Ht.Seconds:return k.getSeconds();case Ht.FractionalSeconds:return k.getMilliseconds();case Ht.Day:return k.getDay();default:throw new Error(`Unknown DateType value "${b}".`)}}(b,f);if((T>0||N>-T)&&(N+=T),b===Ht.Hours)0===N&&-12===T&&(N=12);else if(b===Ht.FractionalSeconds)return function Pi(b,k){return gi(b,3).substring(0,k)}(N,k);const j=oe(D,$t.MinusSign);return gi(N,k,j,g,u)}}function zt(b,k,T=it.Format,g=!1){return function(u,f){return function ut(b,k,T,g,u,f){switch(T){case on.Months:return function vi(b,k,T){const g=(0,o.H5H)(b),f=mn([g[o.KH2.MonthsFormat],g[o.KH2.MonthsStandalone]],k);return mn(f,T)}(k,u,g)[b.getMonth()];case on.Days:return function wi(b,k,T){const g=(0,o.H5H)(b),f=mn([g[o.KH2.DaysFormat],g[o.KH2.DaysStandalone]],k);return mn(f,T)}(k,u,g)[b.getDay()];case on.DayPeriods:const D=b.getHours(),N=b.getMinutes();if(f){const K=function gn(b){const k=(0,o.H5H)(b);return wn(k),(k[o.KH2.ExtraData][2]||[]).map(g=>"string"==typeof g?yi(g):[yi(g[0]),yi(g[1])])}(k),J=function ti(b,k,T){const g=(0,o.H5H)(b);wn(g);const f=mn([g[o.KH2.ExtraData][0],g[o.KH2.ExtraData][1]],k)||[];return mn(f,T)||[]}(k,u,g),ae=K.findIndex(De=>{if(Array.isArray(De)){const[Ke,ze]=De,un=D>=Ke.hours&&N>=Ke.minutes,Wt=D<ze.hours||D===ze.hours&&N<ze.minutes;if(Ke.hours<ze.hours){if(un&&Wt)return!0}else if(un||Wt)return!0}else if(De.hours===D&&De.minutes===N)return!0;return!1});if(-1!==ae)return J[ae]}return function Cn(b,k,T){const g=(0,o.H5H)(b),f=mn([g[o.KH2.DayPeriodsFormat],g[o.KH2.DayPeriodsStandalone]],k);return mn(f,T)}(k,u,g)[D<12?0:1];case on.Eras:return function jn(b,k){return mn((0,o.H5H)(b)[o.KH2.Eras],k)}(k,g)[b.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${T}`)}}(u,f,b,k,T,g)}}function Wi(b){return function(k,T,g){const u=-1*g,f=oe(T,$t.MinusSign),D=u>0?Math.floor(u/60):Math.ceil(u/60);switch(b){case bi.Short:return(u>=0?"+":"")+gi(D,2,f)+gi(Math.abs(u%60),2,f);case bi.ShortGMT:return"GMT"+(u>=0?"+":"")+gi(D,1,f);case bi.Long:return"GMT"+(u>=0?"+":"")+gi(D,2,f)+":"+gi(Math.abs(u%60),2,f);case bi.Extended:return 0===g?"Z":(u>=0?"+":"")+gi(D,2,f)+":"+gi(Math.abs(u%60),2,f);default:throw new Error(`Unknown zone width "${b}"`)}}}const rn=0,In=4;function Un(b){const k=b.getDay(),T=0===k?-3:In-k;return nr(b.getFullYear(),b.getMonth(),b.getDate()+T)}function Rn(b,k=!1){return function(T,g){let u;if(k){const f=new Date(T.getFullYear(),T.getMonth(),1).getDay()-1,D=T.getDate();u=1+Math.floor((D+f)/7)}else{const f=Un(T),D=function li(b){const k=nr(b,rn,1).getDay();return nr(b,0,1+(k<=In?In:In+7)-k)}(f.getFullYear()),N=f.getTime()-D.getTime();u=1+Math.round(N/6048e5)}return gi(u,b,oe(g,$t.MinusSign))}}function vt(b,k=!1){return function(T,g){return gi(Un(T).getFullYear(),b,oe(g,$t.MinusSign),k)}}const we={};function Z(b,k){b=b.replace(/:/g,"");const T=Date.parse("Jan 01, 1970 00:00:00 "+b)/6e4;return isNaN(T)?k:T}function pn(b){return b instanceof Date&&!isNaN(b.valueOf())}function rr(b,k){k=encodeURIComponent(k);for(const T of b.split(";")){const g=T.indexOf("="),[u,f]=-1==g?[T,""]:[T.slice(0,g),T.slice(g+1)];if(u.trim()===k)return decodeURIComponent(f)}return null}const fr=/\s+/,sr=[];let At=(()=>{class b{constructor(T,g){this._ngEl=T,this._renderer=g,this.initialClasses=sr,this.stateMap=new Map}set klass(T){this.initialClasses=null!=T?T.trim().split(fr):sr}set ngClass(T){this.rawClass="string"==typeof T?T.trim().split(fr):T}ngDoCheck(){for(const g of this.initialClasses)this._updateState(g,!0);const T=this.rawClass;if(Array.isArray(T)||T instanceof Set)for(const g of T)this._updateState(g,!0);else if(null!=T)for(const g of Object.keys(T))this._updateState(g,!!T[g]);this._applyStateDiff()}_updateState(T,g){const u=this.stateMap.get(T);void 0!==u?(u.enabled!==g&&(u.changed=!0,u.enabled=g),u.touched=!0):this.stateMap.set(T,{enabled:g,changed:!0,touched:!0})}_applyStateDiff(){for(const T of this.stateMap){const g=T[0],u=T[1];u.changed?(this._toggleClass(g,u.enabled),u.changed=!1):u.touched||(u.enabled&&this._toggleClass(g,!1),this.stateMap.delete(g)),u.touched=!1}}_toggleClass(T,g){(T=T.trim()).length>0&&T.split(fr).forEach(u=>{g?this._renderer.addClass(this._ngEl.nativeElement,u):this._renderer.removeClass(this._ngEl.nativeElement,u)})}static#e=this.\u0275fac=function(g){return new(g||b)(o.rXU(o.aKT),o.rXU(o.sFG))};static#t=this.\u0275dir=o.FsC({type:b,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0})}return b})();class W{constructor(k,T,g,u){this.$implicit=k,this.ngForOf=T,this.index=g,this.count=u}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 ee=(()=>{class b{set ngForOf(T){this._ngForOf=T,this._ngForOfDirty=!0}set ngForTrackBy(T){this._trackByFn=T}get ngForTrackBy(){return this._trackByFn}constructor(T,g,u){this._viewContainer=T,this._template=g,this._differs=u,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(T){T&&(this._template=T)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const T=this._ngForOf;!this._differ&&T&&(this._differ=this._differs.find(T).create(this.ngForTrackBy))}if(this._differ){const T=this._differ.diff(this._ngForOf);T&&this._applyChanges(T)}}_applyChanges(T){const g=this._viewContainer;T.forEachOperation((u,f,D)=>{if(null==u.previousIndex)g.createEmbeddedView(this._template,new W(u.item,this._ngForOf,-1,-1),null===D?void 0:D);else if(null==D)g.remove(null===f?void 0:f);else if(null!==f){const N=g.get(f);g.move(N,D),q(N,u)}});for(let u=0,f=g.length;u<f;u++){const N=g.get(u).context;N.index=u,N.count=f,N.ngForOf=this._ngForOf}T.forEachIdentityChange(u=>{q(g.get(u.currentIndex),u)})}static ngTemplateContextGuard(T,g){return!0}static#e=this.\u0275fac=function(g){return new(g||b)(o.rXU(o.c1b),o.rXU(o.C4Q),o.rXU(o._q3))};static#t=this.\u0275dir=o.FsC({type:b,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return b})();function q(b,k){b.context.$implicit=k.item}let Ue=(()=>{class b{constructor(T,g){this._viewContainer=T,this._context=new Xe,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=g}set ngIf(T){this._context.$implicit=this._context.ngIf=T,this._updateView()}set ngIfThen(T){Je("ngIfThen",T),this._thenTemplateRef=T,this._thenViewRef=null,this._updateView()}set ngIfElse(T){Je("ngIfElse",T),this._elseTemplateRef=T,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(T,g){return!0}static#e=this.\u0275fac=function(g){return new(g||b)(o.rXU(o.c1b),o.rXU(o.C4Q))};static#t=this.\u0275dir=o.FsC({type:b,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return b})();class Xe{constructor(){this.$implicit=null,this.ngIf=null}}function Je(b,k){if(k&&!k.createEmbeddedView)throw new Error(`${b} must be a TemplateRef, but received '${(0,o.Tbb)(k)}'.`)}let xt=(()=>{class b{constructor(T){this._viewContainerRef=T,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(T){if(this._shouldRecreateView(T)){const g=this._viewContainerRef;if(this._viewRef&&g.remove(g.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const u=this._createContextForwardProxy();this._viewRef=g.createEmbeddedView(this.ngTemplateOutlet,u,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(T){return!!T.ngTemplateOutlet||!!T.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(T,g,u)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,g,u),get:(T,g,u)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,g,u)}})}static#e=this.\u0275fac=function(g){return new(g||b)(o.rXU(o.c1b))};static#t=this.\u0275dir=o.FsC({type:b,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[o.OA$]})}return b})();const ws=new o.nKC(""),Dr=new o.nKC("");let Kn=(()=>{class b{constructor(T,g,u){this.locale=T,this.defaultTimezone=g,this.defaultOptions=u}transform(T,g,u,f){if(null==T||""===T||T!=T)return null;try{return hn(T,g??this.defaultOptions?.dateFormat??"mediumDate",f||this.locale,u??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(D){throw function _n(b,k){return new o.wOt(2100,!1)}()}}static#e=this.\u0275fac=function(g){return new(g||b)(o.rXU(o.xe9,16),o.rXU(ws,24),o.rXU(Dr,24))};static#t=this.\u0275pipe=o.EJ8({name:"date",type:b,pure:!0,standalone:!0})}return b})(),_e=(()=>{class b{static#e=this.\u0275fac=function(g){return new(g||b)};static#t=this.\u0275mod=o.$C({type:b});static#n=this.\u0275inj=o.G2t({})}return b})();const tt="browser",Yt="server";function Ot(b){return b===Yt}let ui=(()=>{class b{static#e=this.\u0275prov=(0,o.jDH)({token:b,providedIn:"root",factory:()=>function qt(b){return b===tt}((0,o.WQX)(o.Agw))?new di((0,o.WQX)(Ne),window):new Ft})}return b})();class di{constructor(k,T){this.document=k,this.window=T,this.offset=()=>[0,0]}setOffset(k){this.offset=Array.isArray(k)?()=>k:k}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(k){this.window.scrollTo(k[0],k[1])}scrollToAnchor(k){const T=function Gt(b,k){const T=b.getElementById(k)||b.getElementsByName(k)[0];if(T)return T;if("function"==typeof b.createTreeWalker&&b.body&&"function"==typeof b.body.attachShadow){const g=b.createTreeWalker(b.body,NodeFilter.SHOW_ELEMENT);let u=g.currentNode;for(;u;){const f=u.shadowRoot;if(f){const D=f.getElementById(k)||f.querySelector(`[name="${k}"]`);if(D)return D}u=g.nextNode()}}return null}(this.document,k);T&&(this.scrollToElement(T),T.focus())}setHistoryScrollRestoration(k){this.window.history.scrollRestoration=k}scrollToElement(k){const T=k.getBoundingClientRect(),g=T.left+this.window.pageXOffset,u=T.top+this.window.pageYOffset,f=this.offset();this.window.scrollTo(g-f[0],u-f[1])}}class Ft{setOffset(k){}getScrollPosition(){return[0,0]}scrollToPosition(k){}scrollToAnchor(k){}setHistoryScrollRestoration(k){}}class Jn{}},1626:(yt,Se,x)=>{x.d(Se,{$R:()=>qe,$m:()=>sr,Qq:()=>oe,Sx:()=>yn,ZZ:()=>is});var o=x(467),S=x(4438),ge=x(7673),ce=x(1985),X=x(6648),le=x(274),Ne=x(5964),Pe=x(6354),Ie=x(980),Ae=x(5558),Me=x(8141),Be=x(177);class ct{}class He{}class We{constructor(ee){this.normalizedNames=new Map,this.lazyUpdate=null,ee?"string"==typeof ee?this.lazyInit=()=>{this.headers=new Map,ee.split("\n").forEach(q=>{const Te=q.indexOf(":");if(Te>0){const Ue=q.slice(0,Te),Xe=Ue.toLowerCase(),Je=q.slice(Te+1).trim();this.maybeSetNormalizedName(Ue,Xe),this.headers.has(Xe)?this.headers.get(Xe).push(Je):this.headers.set(Xe,[Je])}})}:typeof Headers<"u"&&ee instanceof Headers?(this.headers=new Map,ee.forEach((q,Te)=>{this.setHeaderEntries(Te,q)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(ee).forEach(([q,Te])=>{this.setHeaderEntries(q,Te)})}:this.headers=new Map}has(ee){return this.init(),this.headers.has(ee.toLowerCase())}get(ee){this.init();const q=this.headers.get(ee.toLowerCase());return q&&q.length>0?q[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(ee){return this.init(),this.headers.get(ee.toLowerCase())||null}append(ee,q){return this.clone({name:ee,value:q,op:"a"})}set(ee,q){return this.clone({name:ee,value:q,op:"s"})}delete(ee,q){return this.clone({name:ee,value:q,op:"d"})}maybeSetNormalizedName(ee,q){this.normalizedNames.has(q)||this.normalizedNames.set(q,ee)}init(){this.lazyInit&&(this.lazyInit instanceof We?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(ee=>this.applyUpdate(ee)),this.lazyUpdate=null))}copyFrom(ee){ee.init(),Array.from(ee.headers.keys()).forEach(q=>{this.headers.set(q,ee.headers.get(q)),this.normalizedNames.set(q,ee.normalizedNames.get(q))})}clone(ee){const q=new We;return q.lazyInit=this.lazyInit&&this.lazyInit instanceof We?this.lazyInit:this,q.lazyUpdate=(this.lazyUpdate||[]).concat([ee]),q}applyUpdate(ee){const q=ee.name.toLowerCase();switch(ee.op){case"a":case"s":let Te=ee.value;if("string"==typeof Te&&(Te=[Te]),0===Te.length)return;this.maybeSetNormalizedName(ee.name,q);const Ue=("a"===ee.op?this.headers.get(q):void 0)||[];Ue.push(...Te),this.headers.set(q,Ue);break;case"d":const Xe=ee.value;if(Xe){let Je=this.headers.get(q);if(!Je)return;Je=Je.filter(Xt=>-1===Xe.indexOf(Xt)),0===Je.length?(this.headers.delete(q),this.normalizedNames.delete(q)):this.headers.set(q,Je)}else this.headers.delete(q),this.normalizedNames.delete(q)}}setHeaderEntries(ee,q){const Te=(Array.isArray(q)?q:[q]).map(Xe=>Xe.toString()),Ue=ee.toLowerCase();this.headers.set(Ue,Te),this.maybeSetNormalizedName(ee,Ue)}forEach(ee){this.init(),Array.from(this.normalizedNames.keys()).forEach(q=>ee(this.normalizedNames.get(q),this.headers.get(q)))}}class jt{encodeKey(ee){return Ge(ee)}encodeValue(ee){return Ge(ee)}decodeKey(ee){return decodeURIComponent(ee)}decodeValue(ee){return decodeURIComponent(ee)}}const Kt=/%(\d[a-f0-9])/gi,Nn={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Ge(W){return encodeURIComponent(W).replace(Kt,(ee,q)=>Nn[q]??ee)}function $e(W){return`${W}`}class st{constructor(ee={}){if(this.updates=null,this.cloneFrom=null,this.encoder=ee.encoder||new jt,ee.fromString){if(ee.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function Mt(W,ee){const q=new Map;return W.length>0&&W.replace(/^\?/,"").split("&").forEach(Ue=>{const Xe=Ue.indexOf("="),[Je,Xt]=-1==Xe?[ee.decodeKey(Ue),""]:[ee.decodeKey(Ue.slice(0,Xe)),ee.decodeValue(Ue.slice(Xe+1))],Nt=q.get(Je)||[];Nt.push(Xt),q.set(Je,Nt)}),q}(ee.fromString,this.encoder)}else ee.fromObject?(this.map=new Map,Object.keys(ee.fromObject).forEach(q=>{const Te=ee.fromObject[q],Ue=Array.isArray(Te)?Te.map($e):[$e(Te)];this.map.set(q,Ue)})):this.map=null}has(ee){return this.init(),this.map.has(ee)}get(ee){this.init();const q=this.map.get(ee);return q?q[0]:null}getAll(ee){return this.init(),this.map.get(ee)||null}keys(){return this.init(),Array.from(this.map.keys())}append(ee,q){return this.clone({param:ee,value:q,op:"a"})}appendAll(ee){const q=[];return Object.keys(ee).forEach(Te=>{const Ue=ee[Te];Array.isArray(Ue)?Ue.forEach(Xe=>{q.push({param:Te,value:Xe,op:"a"})}):q.push({param:Te,value:Ue,op:"a"})}),this.clone(q)}set(ee,q){return this.clone({param:ee,value:q,op:"s"})}delete(ee,q){return this.clone({param:ee,value:q,op:"d"})}toString(){return this.init(),this.keys().map(ee=>{const q=this.encoder.encodeKey(ee);return this.map.get(ee).map(Te=>q+"="+this.encoder.encodeValue(Te)).join("&")}).filter(ee=>""!==ee).join("&")}clone(ee){const q=new st({encoder:this.encoder});return q.cloneFrom=this.cloneFrom||this,q.updates=(this.updates||[]).concat(ee),q}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(ee=>this.map.set(ee,this.cloneFrom.map.get(ee))),this.updates.forEach(ee=>{switch(ee.op){case"a":case"s":const q=("a"===ee.op?this.map.get(ee.param):void 0)||[];q.push($e(ee.value)),this.map.set(ee.param,q);break;case"d":if(void 0===ee.value){this.map.delete(ee.param);break}{let Te=this.map.get(ee.param)||[];const Ue=Te.indexOf($e(ee.value));-1!==Ue&&Te.splice(Ue,1),Te.length>0?this.map.set(ee.param,Te):this.map.delete(ee.param)}}}),this.cloneFrom=this.updates=null)}}class lt{constructor(){this.map=new Map}set(ee,q){return this.map.set(ee,q),this}get(ee){return this.map.has(ee)||this.map.set(ee,ee.defaultValue()),this.map.get(ee)}delete(ee){return this.map.delete(ee),this}has(ee){return this.map.has(ee)}keys(){return this.map.keys()}}function Ct(W){return typeof ArrayBuffer<"u"&&W instanceof ArrayBuffer}function Et(W){return typeof Blob<"u"&&W instanceof Blob}function $t(W){return typeof FormData<"u"&&W instanceof FormData}class Wn{constructor(ee,q,Te,Ue){let Xe;if(this.url=q,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=ee.toUpperCase(),function it(W){switch(W){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Ue?(this.body=void 0!==Te?Te:null,Xe=Ue):Xe=Te,Xe&&(this.reportProgress=!!Xe.reportProgress,this.withCredentials=!!Xe.withCredentials,Xe.responseType&&(this.responseType=Xe.responseType),Xe.headers&&(this.headers=Xe.headers),Xe.context&&(this.context=Xe.context),Xe.params&&(this.params=Xe.params),this.transferCache=Xe.transferCache),this.headers??=new We,this.context??=new lt,this.params){const Je=this.params.toString();if(0===Je.length)this.urlWithParams=q;else{const Xt=q.indexOf("?");this.urlWithParams=q+(-1===Xt?"?":Xt<q.length-1?"&":"")+Je}}else this.params=new st,this.urlWithParams=q}serializeBody(){return null===this.body?null:"string"==typeof this.body||Ct(this.body)||Et(this.body)||$t(this.body)||function Qt(W){return typeof URLSearchParams<"u"&&W instanceof URLSearchParams}(this.body)?this.body:this.body instanceof st?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||$t(this.body)?null:Et(this.body)?this.body.type||null:Ct(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof st?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(ee={}){const q=ee.method||this.method,Te=ee.url||this.url,Ue=ee.responseType||this.responseType,Xe=ee.transferCache??this.transferCache,Je=void 0!==ee.body?ee.body:this.body,Xt=ee.withCredentials??this.withCredentials,Nt=ee.reportProgress??this.reportProgress;let mt=ee.headers||this.headers,Tn=ee.params||this.params;const Bn=ee.context??this.context;return void 0!==ee.setHeaders&&(mt=Object.keys(ee.setHeaders).reduce((Pn,Jt)=>Pn.set(Jt,ee.setHeaders[Jt]),mt)),ee.setParams&&(Tn=Object.keys(ee.setParams).reduce((Pn,Jt)=>Pn.set(Jt,ee.setParams[Jt]),Tn)),new Wn(q,Te,Je,{params:Tn,headers:mt,context:Bn,reportProgress:Nt,responseType:Ue,withCredentials:Xt,transferCache:Xe})}}var Cn=function(W){return W[W.Sent=0]="Sent",W[W.UploadProgress=1]="UploadProgress",W[W.ResponseHeader=2]="ResponseHeader",W[W.DownloadProgress=3]="DownloadProgress",W[W.Response=4]="Response",W[W.User=5]="User",W}(Cn||{});class wi{constructor(ee,q=200,Te="OK"){this.headers=ee.headers||new We,this.status=void 0!==ee.status?ee.status:q,this.statusText=ee.statusText||Te,this.url=ee.url||null,this.ok=this.status>=200&&this.status<300}}class vi extends wi{constructor(ee={}){super(ee),this.type=Cn.ResponseHeader}clone(ee={}){return new vi({headers:ee.headers||this.headers,status:void 0!==ee.status?ee.status:this.status,statusText:ee.statusText||this.statusText,url:ee.url||this.url||void 0})}}class jn extends wi{constructor(ee={}){super(ee),this.type=Cn.Response,this.body=void 0!==ee.body?ee.body:null}clone(ee={}){return new jn({body:void 0!==ee.body?ee.body:this.body,headers:ee.headers||this.headers,status:void 0!==ee.status?ee.status:this.status,statusText:ee.statusText||this.statusText,url:ee.url||this.url||void 0})}}class be extends wi{constructor(ee){super(ee,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${ee.url||"(unknown url)"}`:`Http failure response for ${ee.url||"(unknown url)"}: ${ee.status} ${ee.statusText}`,this.error=ee.error||null}}function ne(W,ee){return{body:ee,headers:W.headers,context:W.context,observe:W.observe,params:W.params,reportProgress:W.reportProgress,responseType:W.responseType,withCredentials:W.withCredentials,transferCache:W.transferCache}}let oe=(()=>{class W{constructor(q){this.handler=q}request(q,Te,Ue={}){let Xe;if(q instanceof Wn)Xe=q;else{let Nt,mt;Nt=Ue.headers instanceof We?Ue.headers:new We(Ue.headers),Ue.params&&(mt=Ue.params instanceof st?Ue.params:new st({fromObject:Ue.params})),Xe=new Wn(q,Te,void 0!==Ue.body?Ue.body:null,{headers:Nt,context:Ue.context,params:mt,reportProgress:Ue.reportProgress,responseType:Ue.responseType||"json",withCredentials:Ue.withCredentials,transferCache:Ue.transferCache})}const Je=(0,ge.of)(Xe).pipe((0,le.H)(Nt=>this.handler.handle(Nt)));if(q instanceof Wn||"events"===Ue.observe)return Je;const Xt=Je.pipe((0,Ne.p)(Nt=>Nt instanceof jn));switch(Ue.observe||"body"){case"body":switch(Xe.responseType){case"arraybuffer":return Xt.pipe((0,Pe.T)(Nt=>{if(null!==Nt.body&&!(Nt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Nt.body}));case"blob":return Xt.pipe((0,Pe.T)(Nt=>{if(null!==Nt.body&&!(Nt.body instanceof Blob))throw new Error("Response is not a Blob.");return Nt.body}));case"text":return Xt.pipe((0,Pe.T)(Nt=>{if(null!==Nt.body&&"string"!=typeof Nt.body)throw new Error("Response is not a string.");return Nt.body}));default:return Xt.pipe((0,Pe.T)(Nt=>Nt.body))}case"response":return Xt;default:throw new Error(`Unreachable: unhandled observe type ${Ue.observe}}`)}}delete(q,Te={}){return this.request("DELETE",q,Te)}get(q,Te={}){return this.request("GET",q,Te)}head(q,Te={}){return this.request("HEAD",q,Te)}jsonp(q,Te){return this.request("JSONP",q,{params:(new st).append(Te,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(q,Te={}){return this.request("OPTIONS",q,Te)}patch(q,Te,Ue={}){return this.request("PATCH",q,ne(Ue,Te))}post(q,Te,Ue={}){return this.request("POST",q,ne(Ue,Te))}put(q,Te,Ue={}){return this.request("PUT",q,ne(Ue,Te))}static#e=this.\u0275fac=function(Te){return new(Te||W)(S.KVO(ct))};static#t=this.\u0275prov=S.jDH({token:W,factory:W.\u0275fac})}return W})();const Le=/^\)\]\}',?\n/;function vn(W){if(W.url)return W.url;const ee="X-Request-URL".toLocaleLowerCase();return W.headers.get(ee)}let gt=(()=>{class W{constructor(){this.fetchImpl=(0,S.WQX)(fn,{optional:!0})?.fetch??fetch.bind(globalThis),this.ngZone=(0,S.WQX)(S.SKi)}handle(q){return new ce.c(Te=>{const Ue=new AbortController;return this.doRequest(q,Ue.signal,Te).then(bn,Xe=>Te.error(new be({error:Xe}))),()=>Ue.abort()})}doRequest(q,Te,Ue){var Xe=this;return(0,o.A)(function*(){const Je=Xe.createRequestInit(q);let Xt;try{const Mn=Xe.fetchImpl(q.urlWithParams,{signal:Te,...Je});(function wn(W){W.then(bn,bn)})(Mn),Ue.next({type:Cn.Sent}),Xt=yield Mn}catch(Mn){return void Ue.error(new be({error:Mn,status:Mn.status??0,statusText:Mn.statusText,url:q.urlWithParams,headers:Mn.headers}))}const Nt=new We(Xt.headers),mt=Xt.statusText,Tn=vn(Xt)??q.urlWithParams;let Bn=Xt.status,Pn=null;if(q.reportProgress&&Ue.next(new vi({headers:Nt,status:Bn,statusText:mt,url:Tn})),Xt.body){const Mn=Xt.headers.get("content-length"),ln=[],Ze=Xt.body.getReader();let yr,_n,xt=0;const hr=typeof Zone<"u"&&Zone.current;yield Xe.ngZone.runOutsideAngular((0,o.A)(function*(){for(;;){const{done:Mi,value:pr}=yield Ze.read();if(Mi)break;if(ln.push(pr),xt+=pr.length,q.reportProgress){_n="text"===q.responseType?(_n??"")+(yr??=new TextDecoder).decode(pr,{stream:!0}):void 0;const en=()=>Ue.next({type:Cn.DownloadProgress,total:Mn?+Mn:void 0,loaded:xt,partialText:_n});hr?hr.run(en):en()}}}));const zr=Xe.concatChunks(ln,xt);try{const Mi=Xt.headers.get("Content-Type")??"";Pn=Xe.parseBody(q,zr,Mi)}catch(Mi){return void Ue.error(new be({error:Mi,headers:new We(Xt.headers),status:Xt.status,statusText:Xt.statusText,url:vn(Xt)??q.urlWithParams}))}}0===Bn&&(Bn=Pn?200:0),Bn>=200&&Bn<300?(Ue.next(new jn({body:Pn,headers:Nt,status:Bn,statusText:mt,url:Tn})),Ue.complete()):Ue.error(new be({error:Pn,headers:Nt,status:Bn,statusText:mt,url:Tn}))})()}parseBody(q,Te,Ue){switch(q.responseType){case"json":const Xe=(new TextDecoder).decode(Te).replace(Le,"");return""===Xe?null:JSON.parse(Xe);case"text":return(new TextDecoder).decode(Te);case"blob":return new Blob([Te],{type:Ue});case"arraybuffer":return Te.buffer}}createRequestInit(q){const Te={},Ue=q.withCredentials?"include":void 0;if(q.headers.forEach((Xe,Je)=>Te[Xe]=Je.join(",")),Te.Accept??="application/json, text/plain, */*",!Te["Content-Type"]){const Xe=q.detectContentTypeHeader();null!==Xe&&(Te["Content-Type"]=Xe)}return{body:q.serializeBody(),method:q.method,headers:Te,credentials:Ue}}concatChunks(q,Te){const Ue=new Uint8Array(Te);let Xe=0;for(const Je of q)Ue.set(Je,Xe),Xe+=Je.length;return Ue}static#e=this.\u0275fac=function(Te){return new(Te||W)};static#t=this.\u0275prov=S.jDH({token:W,factory:W.\u0275fac})}return W})();class fn{}function bn(){}function gn(W,ee){return ee(W)}function ti(W,ee){return(q,Te)=>ee.intercept(q,{handle:Ue=>W(Ue,Te)})}const mn=new S.nKC(""),yi=new S.nKC(""),Qe=new S.nKC(""),Ri=new S.nKC("",{providedIn:"root",factory:()=>!0});function dr(){let W=null;return(ee,q)=>{null===W&&(W=((0,S.WQX)(mn,{optional:!0})??[]).reduceRight(ti,gn));const Te=(0,S.WQX)(S.TgB);if((0,S.WQX)(Ri)){const Xe=Te.add();return W(ee,q).pipe((0,Ie.j)(()=>Te.remove(Xe)))}return W(ee,q)}}let xe=(()=>{class W extends ct{constructor(q,Te){super(),this.backend=q,this.injector=Te,this.chain=null,this.pendingTasks=(0,S.WQX)(S.TgB),this.contributeToStability=(0,S.WQX)(Ri)}handle(q){if(null===this.chain){const Te=Array.from(new Set([...this.injector.get(yi),...this.injector.get(Qe,[])]));this.chain=Te.reduceRight((Ue,Xe)=>function bt(W,ee,q){return(Te,Ue)=>(0,S.N4e)(q,()=>ee(Te,Xe=>W(Xe,Ue)))}(Ue,Xe,this.injector),gn)}if(this.contributeToStability){const Te=this.pendingTasks.add();return this.chain(q,Ue=>this.backend.handle(Ue)).pipe((0,Ie.j)(()=>this.pendingTasks.remove(Te)))}return this.chain(q,Te=>this.backend.handle(Te))}static#e=this.\u0275fac=function(Te){return new(Te||W)(S.KVO(He),S.KVO(S.uvJ))};static#t=this.\u0275prov=S.jDH({token:W,factory:W.\u0275fac})}return W})();const zt=/^\)\]\}',?\n/;let Wi=(()=>{class W{constructor(q){this.xhrFactory=q}handle(q){if("JSONP"===q.method)throw new S.wOt(-2800,!1);const Te=this.xhrFactory;return(Te.\u0275loadImpl?(0,X.H)(Te.\u0275loadImpl()):(0,ge.of)(null)).pipe((0,Ae.n)(()=>new ce.c(Xe=>{const Je=Te.build();if(Je.open(q.method,q.urlWithParams),q.withCredentials&&(Je.withCredentials=!0),q.headers.forEach((ln,Ze)=>Je.setRequestHeader(ln,Ze.join(","))),q.headers.has("Accept")||Je.setRequestHeader("Accept","application/json, text/plain, */*"),!q.headers.has("Content-Type")){const ln=q.detectContentTypeHeader();null!==ln&&Je.setRequestHeader("Content-Type",ln)}if(q.responseType){const ln=q.responseType.toLowerCase();Je.responseType="json"!==ln?ln:"text"}const Xt=q.serializeBody();let Nt=null;const mt=()=>{if(null!==Nt)return Nt;const ln=Je.statusText||"OK",Ze=new We(Je.getAllResponseHeaders()),xt=function ut(W){return"responseURL"in W&&W.responseURL?W.responseURL:/^X-Request-URL:/m.test(W.getAllResponseHeaders())?W.getResponseHeader("X-Request-URL"):null}(Je)||q.url;return Nt=new vi({headers:Ze,status:Je.status,statusText:ln,url:xt}),Nt},Tn=()=>{let{headers:ln,status:Ze,statusText:xt,url:yr}=mt(),_n=null;204!==Ze&&(_n=typeof Je.response>"u"?Je.responseText:Je.response),0===Ze&&(Ze=_n?200:0);let hr=Ze>=200&&Ze<300;if("json"===q.responseType&&"string"==typeof _n){const zr=_n;_n=_n.replace(zt,"");try{_n=""!==_n?JSON.parse(_n):null}catch(Mi){_n=zr,hr&&(hr=!1,_n={error:Mi,text:_n})}}hr?(Xe.next(new jn({body:_n,headers:ln,status:Ze,statusText:xt,url:yr||void 0})),Xe.complete()):Xe.error(new be({error:_n,headers:ln,status:Ze,statusText:xt,url:yr||void 0}))},Bn=ln=>{const{url:Ze}=mt(),xt=new be({error:ln,status:Je.status||0,statusText:Je.statusText||"Unknown Error",url:Ze||void 0});Xe.error(xt)};let Pn=!1;const Jt=ln=>{Pn||(Xe.next(mt()),Pn=!0);let Ze={type:Cn.DownloadProgress,loaded:ln.loaded};ln.lengthComputable&&(Ze.total=ln.total),"text"===q.responseType&&Je.responseText&&(Ze.partialText=Je.responseText),Xe.next(Ze)},Mn=ln=>{let Ze={type:Cn.UploadProgress,loaded:ln.loaded};ln.lengthComputable&&(Ze.total=ln.total),Xe.next(Ze)};return Je.addEventListener("load",Tn),Je.addEventListener("error",Bn),Je.addEventListener("timeout",Bn),Je.addEventListener("abort",Bn),q.reportProgress&&(Je.addEventListener("progress",Jt),null!==Xt&&Je.upload&&Je.upload.addEventListener("progress",Mn)),Je.send(Xt),Xe.next({type:Cn.Sent}),()=>{Je.removeEventListener("error",Bn),Je.removeEventListener("abort",Bn),Je.removeEventListener("load",Tn),Je.removeEventListener("timeout",Bn),q.reportProgress&&(Je.removeEventListener("progress",Jt),null!==Xt&&Je.upload&&Je.upload.removeEventListener("progress",Mn)),Je.readyState!==Je.DONE&&Je.abort()}})))}static#e=this.\u0275fac=function(Te){return new(Te||W)(S.KVO(Be.N0))};static#t=this.\u0275prov=S.jDH({token:W,factory:W.\u0275fac})}return W})();const rn=new S.nKC(""),li=new S.nKC("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),Rn=new S.nKC("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class vt{}let we=(()=>{class W{constructor(q,Te,Ue){this.doc=q,this.platform=Te,this.cookieName=Ue,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const q=this.doc.cookie||"";return q!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,Be._b)(q,this.cookieName),this.lastCookieString=q),this.lastToken}static#e=this.\u0275fac=function(Te){return new(Te||W)(S.KVO(Be.qQ),S.KVO(S.Agw),S.KVO(li))};static#t=this.\u0275prov=S.jDH({token:W,factory:W.\u0275fac})}return W})();function pe(W,ee){const q=W.url.toLowerCase();if(!(0,S.WQX)(rn)||"GET"===W.method||"HEAD"===W.method||q.startsWith("http://")||q.startsWith("https://"))return ee(W);const Te=(0,S.WQX)(vt).getToken(),Ue=(0,S.WQX)(Rn);return null!=Te&&!W.headers.has(Ue)&&(W=W.clone({headers:W.headers.set(Ue,Te)})),ee(W)}var ue=function(W){return W[W.Interceptors=0]="Interceptors",W[W.LegacyInterceptors=1]="LegacyInterceptors",W[W.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",W[W.NoXsrfProtection=3]="NoXsrfProtection",W[W.JsonpSupport=4]="JsonpSupport",W[W.RequestsMadeViaParent=5]="RequestsMadeViaParent",W[W.Fetch=6]="Fetch",W}(ue||{});function Ve(W,ee){return{\u0275kind:W,\u0275providers:ee}}function qe(...W){const ee=[oe,Wi,xe,{provide:ct,useExisting:xe},{provide:He,useFactory:()=>(0,S.WQX)(gt,{optional:!0})??(0,S.WQX)(Wi)},{provide:yi,useValue:pe,multi:!0},{provide:rn,useValue:!0},{provide:vt,useClass:we}];for(const q of W)ee.push(...q.\u0275providers);return(0,S.EmA)(ee)}const pn=new S.nKC("");function yn(){return Ve(ue.LegacyInterceptors,[{provide:pn,useFactory:dr},{provide:yi,useExisting:pn,multi:!0}])}function is(){return Ve(ue.Fetch,[gt,{provide:He,useExisting:gt}])}const Wr=new S.nKC(""),xs="b",Qn="h",zn="s",Pt="st",ir="u",ri="rt",ci=new S.nKC(""),vr=["GET","HEAD"];function qn(W,ee){const{isCacheActive:q,...Te}=(0,S.WQX)(ci),{transferCache:Ue,method:Xe}=W;if(!q||!1===Ue||"POST"===Xe&&!Te.includePostRequests&&!Ue||"POST"!==Xe&&!vr.includes(Xe)||!Te.includeRequestsWithAuthHeaders&&function si(W){return W.headers.has("authorization")||W.headers.has("proxy-authorization")}(W)||!1===Te.filter?.(W))return ee(W);const Je=(0,S.WQX)(S.pJN),Xt=(0,S.WQX)(Wr,{optional:!0}),Nt=(0,Be.Vy)((0,S.WQX)(S.Agw));if(Xt&&!Nt)throw new S.wOt(2803,!1);const mt=Nt&&Xt?function rs(W,ee){const q=new URL(W,"resolve://").origin,Te=ee[q];return Te?W.replace(q,Te):W}(W.url,Xt):W.url,Tn=function rr(W,ee){const{params:q,method:Te,responseType:Ue}=W,Xe=ki(q);let Je=W.serializeBody();Je instanceof URLSearchParams?Je=ki(Je):"string"!=typeof Je&&(Je="");const Nt=function fr(W){let ee=0;for(const q of W)ee=Math.imul(31,ee)+q.charCodeAt(0)|0;return ee+=2147483648,ee.toString()}([Te,Ue,ee,Je,Xe].join("|"));return(0,S.zw6)(Nt)}(W,mt),Bn=Je.get(Tn,null);let Pn=Te.includeHeaders;if("object"==typeof Ue&&Ue.includeHeaders&&(Pn=Ue.includeHeaders),Bn){const{[xs]:Jt,[ri]:Mn,[Qn]:ln,[zn]:Ze,[Pt]:xt,[ir]:yr}=Bn;let _n=Jt;switch(Mn){case"arraybuffer":_n=(new TextEncoder).encode(Jt).buffer;break;case"blob":_n=new Blob([Jt])}let hr=new We(ln);return(0,ge.of)(new jn({body:_n,headers:hr,status:Ze,statusText:xt,url:yr}))}return ee(W).pipe((0,Me.M)(Jt=>{Jt instanceof jn&&Nt&&Je.set(Tn,{[xs]:Jt.body,[Qn]:Zn(Jt.headers,Pn),[zn]:Jt.status,[Pt]:Jt.statusText,[ir]:mt,[ri]:W.responseType})}))}function Zn(W,ee){if(!ee)return{};const q={};for(const Te of ee){const Ue=W.getAll(Te);null!==Ue&&(q[Te]=Ue)}return q}function ki(W){return[...W.keys()].sort().map(ee=>`${ee}=${W.getAll(ee)}`).join("&")}function sr(W){return[{provide:ci,useFactory:()=>((0,S.ngT)("NgHttpTransferCache"),{isCacheActive:!0,...W})},{provide:Qe,useValue:qn,multi:!0,deps:[S.pJN,ci]},{provide:S.iLQ,multi:!0,useFactory:()=>{const ee=(0,S.WQX)(S.o8S),q=(0,S.WQX)(ci);return()=>{(0,S.zuW)(ee).then(()=>{q.isCacheActive=!1})}}}]}},4438:(yt,Se,x)=>{x.d(Se,{bc$:()=>sn,iLQ:()=>Uf,sZ2:()=>Oe,Hbi:()=>FI,o8S:()=>Ho,BIS:()=>Ln,gRc:()=>qD,Ql9:()=>cI,Ocv:()=>mI,abz:()=>$a,Z63:()=>Er,aKT:()=>vl,uvJ:()=>ls,zcH:()=>uo,bkB:()=>Bo,$GK:()=>en,nKC:()=>At,zZn:()=>jr,_q3:()=>cm,MKu:()=>um,xe9:()=>Gf,Co$:()=>Ay,Vns:()=>Il,SKi:()=>tr,Xx1:()=>et,Agw:()=>pt,PLl:()=>ot,sFG:()=>u1,_9s:()=>Hp,czy:()=>Xd,kdw:()=>di,C4Q:()=>Nu,NYb:()=>nI,giA:()=>BD,pJN:()=>Gn,RxE:()=>OD,c1b:()=>mf,gXe:()=>Cr,mal:()=>Wv,Af3:()=>g,L39:()=>_O,a0P:()=>TO,Ol2:()=>cg,w6W:()=>aT,SmG:()=>DI,Rfq:()=>Rn,oKB:()=>Oo,WQX:()=>$,QuC:()=>Ns,EmA:()=>vo,zw6:()=>Gi,N4e:()=>k,vPA:()=>fy,O8t:()=>yO,H3F:()=>AD,H8p:()=>ca,KH2:()=>xc,TgB:()=>Ol,wOt:()=>Qe,WHO:()=>kD,e01:()=>LD,H5H:()=>xg,Zy3:()=>Ri,mq5:()=>H0,JZv:()=>Rt,TL3:()=>YI,LfX:()=>vr,plB:()=>Za,jNT:()=>qg,zjR:()=>VD,ngT:()=>Js,TL$:()=>fe,Tbb:()=>rn,zUL:()=>li,zuW:()=>Jg,M8M:()=>pO,nM4:()=>My,Vt3:()=>og,GFd:()=>Oy,OA$:()=>Q,Jv_:()=>eD,aNF:()=>tD,R7$:()=>W_,BMQ:()=>Dg,HbH:()=>D0,ZvI:()=>N0,AVh:()=>Sg,vxM:()=>R0,wni:()=>Sb,VBU:()=>la,FsC:()=>Ls,jDH:()=>Pt,G2t:()=>ri,$C:()=>No,EJ8:()=>Qs,rXU:()=>cc,nrm:()=>Rg,bVm:()=>Pf,qex:()=>Rf,k0s:()=>Af,j41:()=>Of,RV6:()=>j0,xGo:()=>Od,Mr5:()=>Pg,pXf:()=>lb,KVO:()=>B,kS0:()=>Xl,QTQ:()=>K_,bIt:()=>Lg,lsd:()=>Ob,XpG:()=>gb,nI1:()=>fD,bMT:()=>hD,SdG:()=>_b,NAR:()=>mb,Y8G:()=>Tg,lJ4:()=>iD,eq3:()=>rD,l_i:()=>sD,sMw:()=>oD,mGM:()=>Ib,sdS:()=>Ab,Dyx:()=>k0,Z7z:()=>F0,fX1:()=>x0,Vm6:()=>P0,Njj:()=>uh,eBV:()=>ch,n$t:()=>E_,DNE:()=>dg,C5r:()=>pD,EFF:()=>Ub,JRh:()=>jg,SpI:()=>Lf,GBs:()=>Nb});let S=null,ge=!1,ce=1;const X=Symbol("SIGNAL");function le(e){const t=S;return S=e,t}const Ae={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Me(e){if(ge)throw new Error("");if(null===S)return;S.consumerOnSignalRead(e);const t=S.nextProducerIndex++;kt(S),t<S.producerNode.length&&S.producerNode[t]!==e&&st(S)&&$e(S.producerNode[t],S.producerIndexOfThis[t]),S.producerNode[t]!==e&&(S.producerNode[t]=e,S.producerIndexOfThis[t]=st(S)?Ge(e,S,t):0),S.producerLastReadVersion[t]=e.version}function ct(e){if((!st(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==ce)){if(!e.producerMustRecompute(e)&&!Kt(e))return e.dirty=!1,void(e.lastCleanEpoch=ce);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=ce}}function He(e){if(void 0===e.liveConsumerNode)return;const t=ge;ge=!0;try{for(const n of e.liveConsumerNode)n.dirty||St(n)}finally{ge=t}}function We(){return!1!==S?.consumerAllowSignalWrites}function St(e){e.dirty=!0,He(e),e.consumerMarkedDirty?.(e)}function Kt(e){kt(e);for(let t=0;t<e.producerNode.length;t++){const n=e.producerNode[t],i=e.producerLastReadVersion[t];if(i!==n.version||(ct(n),i!==n.version))return!0}return!1}function Ge(e,t,n){if(lt(e),kt(e),0===e.liveConsumerNode.length)for(let i=0;i<e.producerNode.length;i++)e.producerIndexOfThis[i]=Ge(e.producerNode[i],e,i);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function $e(e,t){if(lt(e),kt(e),1===e.liveConsumerNode.length)for(let i=0;i<e.producerNode.length;i++)$e(e.producerNode[i],e.producerIndexOfThis[i]);const n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){const i=e.liveConsumerIndexOfThis[t],r=e.liveConsumerNode[t];kt(r),r.producerIndexOfThis[i]=t}}function st(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function kt(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function lt(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}let Cn=function Wn(){throw new Error};function wi(){Cn()}let jn=null;function U(e,t){We()||wi(),e.equal(e.value,t)||(e.value=t,function Le(e){e.version++,function Be(){ce++}(),He(e),jn?.()}(e))}const oe={...Ae,equal:function o(e,t){return Object.is(e,t)},value:void 0};var bn=x(1413),wn=x(8359),gn=x(4412),ti=x(6354),bt=x(1594);const yi="https://g.co/ng/security#xss";class Qe extends Error{constructor(t,n){super(Ri(t,n)),this.code=t}}function Ri(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}function Ht(e){return{toString:e}.toString()}const hn="__parameters__";function gi(e,t,n){return Ht(()=>{const i=function Mr(e){return function(...n){if(e){const i=e(...n);for(const r in i)this[r]=i[r]}}}(t);function r(...a){if(this instanceof r)return i.apply(this,a),this;const d=new r(...a);return h.annotation=d,h;function h(y,M,P){const G=y.hasOwnProperty(hn)?y[hn]:Object.defineProperty(y,hn,{value:[]})[hn];for(;G.length<=P;)G.push(null);return(G[P]=G[P]||[]).push(d),y}}return n&&(r.prototype=Object.create(n.prototype)),r.prototype.ngMetadataName=e,r.annotationCls=r,r})}const Rt=globalThis;function ut(e){for(let t in e)if(e[t]===ut)return t;throw Error("Could not find renamed property on target object.")}function Wi(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function rn(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(rn).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 In(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}function li(e,t=100){if(!e||t<1||e.length<=t)return e;if(1==t)return e.substring(0,1)+"...";const n=Math.round(t/2);return e.substring(0,n)+"..."+e.substring(e.length-n)}const Un=ut({__forward_ref__:ut});function Rn(e){return e.__forward_ref__=Rn,e.toString=function(){return rn(this())},e}function vt(e){return we(e)?e():e}function we(e){return"function"==typeof e&&e.hasOwnProperty(Un)&&e.__forward_ref__===Rn}function qe(e,t,n){e!=t&&function It(e,t,n,i){throw new Error(`ASSERTION ERROR: ${e}`+(null==i?"":` [Expected=> ${n} ${i} ${t} <=Actual]`))}(n,e,t,"==")}function Pt(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function ri(e){return{providers:e.providers||[],imports:e.imports||[]}}function ci(e){return qn(e,ki)||qn(e,fr)}function vr(e){return null!==ci(e)}function qn(e,t){return e.hasOwnProperty(t)?e[t]:null}function Zn(e){return e&&(e.hasOwnProperty(rr)||e.hasOwnProperty(sr))?e[rr]:null}const ki=ut({\u0275prov:ut}),rr=ut({\u0275inj:ut}),fr=ut({ngInjectableDef:ut}),sr=ut({ngInjectorDef:ut});class At{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=Pt({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Nt(e){return e&&!!e.\u0275providers}const mt=ut({\u0275cmp:ut}),Tn=ut({\u0275dir:ut}),Bn=ut({\u0275pipe:ut}),Pn=ut({\u0275mod:ut}),Jt=ut({\u0275fac:ut}),Mn=ut({__NG_ELEMENT_ID__:ut}),ln=ut({__NG_ENV_ID__:ut});function Ze(e){return"string"==typeof e?e:null==e?"":String(e)}function pr(e,t){throw new Qe(-201,!1)}var en=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(en||{});let ss;function Kr(){return ss}function Li(e){const t=ss;return ss=e,t}function Cs(e,t,n){const i=ci(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&en.Optional?null:void 0!==t?t:void pr()}const Dr={},Kn="__NG_DI_FLAG__",ps="ngTempTokenPath",Qr=/\n/gm,Ts="__source";let mi;function Bi(e){const t=mi;return mi=e,t}function F(e,t=en.Default){if(void 0===mi)throw new Qe(-203,!1);return null===mi?Cs(e,void 0,t):mi.get(e,t&en.Optional?null:void 0,t)}function B(e,t=en.Default){return(Kr()||F)(vt(e),t)}function $(e,t=en.Default){return B(e,de(t))}function de(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function ye(e){const t=[];for(let n=0;n<e.length;n++){const i=vt(e[n]);if(Array.isArray(i)){if(0===i.length)throw new Qe(900,!1);let r,a=en.Default;for(let d=0;d<i.length;d++){const h=i[d],y=tt(h);"number"==typeof y?-1===y?r=h.token:a|=y:r=h}t.push(B(r,a))}else t.push(B(i))}return t}function _e(e,t){return e[Kn]=t,e.prototype[Kn]=t,e}function tt(e){return e[Kn]}const et=_e(gi("Optional"),8),di=_e(gi("SkipSelf"),4);function Ft(e,t){return e.hasOwnProperty(Jt)?e[Jt]:null}function qi(e,t){e.forEach(n=>Array.isArray(n)?qi(n,t):t(n))}function Vi(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function or(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Sr(e,t,n){let i=_s(e,t);return i>=0?e[1|i]=n:(i=~i,function Yr(e,t,n,i){let r=e.length;if(r==t)e.push(n,i);else if(1===r)e.push(i,e[0]),e[0]=n;else{for(r--,e.push(e[r-1],e[r]);r>t;)e[r]=e[r-2],r--;e[t]=n,e[t+1]=i}}(e,i,t,n)),i}function ar(e,t){const n=_s(e,t);if(n>=0)return e[1|n]}function _s(e,t){return function no(e,t,n){let i=0,r=e.length>>n;for(;r!==i;){const a=i+(r-i>>1),d=e[a<<n];if(t===d)return a<<n;d>t?r=a:i=a+1}return~(r<<n)}(e,t,1)}const Br={},Fn=[],Er=new At(""),go=new At("",-1),Ws=new At("");class xi{get(t,n=Dr){if(n===Dr){const i=new Error(`NullInjectorError: No provider for ${rn(t)}!`);throw i.name="NullInjectorError",i}return n}}var io=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(io||{}),Cr=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Cr||{}),zs=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(zs||{});function mo(e,t,n){let i=e.length;for(;;){const r=e.indexOf(t,n);if(-1===r)return r;if(0===r||e.charCodeAt(r-1)<=32){const a=t.length;if(r+a===i||e.charCodeAt(r+a)<=32)return r}n=r+1}}function lr(e,t,n){let i=0;for(;i<n.length;){const r=n[i];if("number"==typeof r){if(0!==r)break;i++;const a=n[i++],d=n[i++],h=n[i++];e.setAttribute(t,d,h,a)}else{const a=r,d=n[++i];Ks(a)?e.setProperty(t,a,d):e.setAttribute(t,a,d),i++}}return i}function vs(e){return 3===e||4===e||6===e}function Ks(e){return 64===e.charCodeAt(0)}function ro(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let i=0;i<t.length;i++){const r=t[i];"number"==typeof r?n=r:0===n||So(e,n,r,null,-1===n||2===n?t[++i]:null)}}return e}function So(e,t,n,i,r){let a=0,d=e.length;if(-1===t)d=-1;else for(;a<e.length;){const h=e[a++];if("number"==typeof h){if(h===t){d=-1;break}if(h>t){d=a-1;break}}}for(;a<e.length;){const h=e[a];if("number"==typeof h)break;if(h===n){if(null===i)return void(null!==r&&(e[a+1]=r));if(i===e[a+1])return void(e[a+2]=r)}a++,null!==i&&a++,null!==r&&a++}-1!==d&&(e.splice(d,0,t),a=d+1),e.splice(a++,0,n),null!==i&&e.splice(a++,0,i),null!==r&&e.splice(a++,0,r)}const Ms="ng-template";function ks(e,t,n,i){let r=0;if(i){for(;r<t.length&&"string"==typeof t[r];r+=2)if("class"===t[r]&&-1!==mo(t[r+1].toLowerCase(),n,0))return!0}else if(Ss(e))return!1;if(r=t.indexOf(1,r),r>-1){let a;for(;++r<t.length&&"string"==typeof(a=t[r]);)if(a.toLowerCase()===n)return!0}return!1}function Ss(e){return 4===e.type&&e.value!==Ms}function Go(e,t,n){return t===(4!==e.type||n?e.value:Ms)}function Vr(e,t,n){let i=4;const r=e.attrs,a=null!==r?function ie(e){for(let t=0;t<e.length;t++)if(vs(e[t]))return t;return e.length}(r):0;let d=!1;for(let h=0;h<t.length;h++){const y=t[h];if("number"!=typeof y){if(!d)if(4&i){if(i=2|1&i,""!==y&&!Go(e,y,n)||""===y&&1===t.length){if(O(i))return!1;d=!0}}else if(8&i){if(null===r||!ks(e,r,y,n)){if(O(i))return!1;d=!0}}else{const M=t[++h],P=A(y,r,Ss(e),n);if(-1===P){if(O(i))return!1;d=!0;continue}if(""!==M){let G;if(G=P>a?"":r[P+1].toLowerCase(),2&i&&M!==G){if(O(i))return!1;d=!0}}}}else{if(!d&&!O(i)&&!O(y))return!1;if(d&&O(y))continue;d=!1,i=y|1&i}}return O(i)||d}function O(e){return!(1&e)}function A(e,t,n,i){if(null===t)return-1;let r=0;if(i||!n){let a=!1;for(;r<t.length;){const d=t[r];if(d===e)return r;if(3===d||6===d)a=!0;else{if(1===d||2===d){let h=t[++r];for(;"string"==typeof h;)h=t[++r];continue}if(4===d)break;if(0===d){r+=4;continue}}r+=a?1:2}return-1}return function Ut(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const i=e[n];if("number"==typeof i)return-1;if(i===t)return n;n++}return-1}(t,e)}function w(e,t,n=!1){for(let i=0;i<t.length;i++)if(Vr(e,t[i],n))return!0;return!1}function cn(e,t){e:for(let n=0;n<t.length;n++){const i=t[n];if(e.length===i.length){for(let r=0;r<e.length;r++)if(e[r]!==i[r])continue e;return!0}}return!1}function Nr(e,t){return e?":not("+t.trim()+")":t}function ys(e){let t=e[0],n=1,i=2,r="",a=!1;for(;n<e.length;){let d=e[n];if("string"==typeof d)if(2&i){const h=e[++n];r+="["+d+(h.length>0?'="'+h+'"':"")+"]"}else 8&i?r+="."+d:4&i&&(r+=" "+d);else""!==r&&!O(d)&&(t+=Nr(a,r),r=""),i=d,a=a||!O(i);n++}return""!==r&&(t+=Nr(a,r)),t}function la(e){return Ht(()=>{const t=Bs(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===io.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Cr.Emulated,styles:e.styles||Fn,_:null,schemas:e.schemas||null,tView:null,id:""};bs(n);const i=e.dependencies;return n.directiveDefs=_o(i,!1),n.pipeDefs=_o(i,!0),n.id=function Ko(e){let t=0;const n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const r of n)t=Math.imul(31,t)+r.charCodeAt(0)|0;return t+=2147483648,"c"+t}(n),n})}function wa(e){return Dn(e)||Zi(e)}function Wo(e){return null!==e}function No(e){return Ht(()=>({type:e.type,bootstrap:e.bootstrap||Fn,declarations:e.declarations||Fn,imports:e.imports||Fn,exports:e.exports||Fn,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function zo(e,t){if(null==e)return Br;const n={};for(const i in e)if(e.hasOwnProperty(i)){const r=e[i];let a,d,h=zs.None;Array.isArray(r)?(h=r[0],a=r[1],d=r[2]??a):(a=r,d=r),t?(n[a]=h!==zs.None?[i,h]:i,t[a]=d):n[a]=i}return n}function Ls(e){return Ht(()=>{const t=Bs(e);return bs(t),t})}function Qs(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 Dn(e){return e[mt]||null}function Zi(e){return e[Tn]||null}function ji(e){return e[Bn]||null}function Ns(e){const t=Dn(e)||Zi(e)||ji(e);return null!==t&&t.standalone}function cr(e,t){const n=e[Pn]||null;if(!n&&!0===t)throw new Error(`Type ${rn(e)} does not have '\u0275mod' property.`);return n}function Bs(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||Br,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||Fn,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:zo(e.inputs,t),outputs:zo(e.outputs),debugInfo:null}}function bs(e){e.features?.forEach(t=>t(e))}function _o(e,t){if(!e)return null;const n=t?ji:wa;return()=>("function"==typeof e?e():e).map(i=>n(i)).filter(Wo)}function vo(e){return{\u0275providers:e}}function Oo(...e){return{\u0275providers:Qo(0,e),\u0275fromNgModule:!0}}function Qo(e,...t){const n=[],i=new Set;let r;const a=d=>{n.push(d)};return qi(t,d=>{const h=d;Ro(h,a,[],i)&&(r||=[],r.push(h))}),void 0!==r&&Ao(r,a),n}function Ao(e,t){for(let n=0;n<e.length;n++){const{ngModule:i,providers:r}=e[n];so(r,a=>{t(a,i)})}}function Ro(e,t,n,i){if(!(e=vt(e)))return!1;let r=null,a=Zn(e);const d=!a&&Dn(e);if(a||d){if(d&&!d.standalone)return!1;r=e}else{const y=e.ngModule;if(a=Zn(y),!a)return!1;r=y}const h=i.has(r);if(d){if(h)return!1;if(i.add(r),d.dependencies){const y="function"==typeof d.dependencies?d.dependencies():d.dependencies;for(const M of y)Ro(M,t,n,i)}}else{if(!a)return!1;{if(null!=a.imports&&!h){let M;i.add(r);try{qi(a.imports,P=>{Ro(P,t,n,i)&&(M||=[],M.push(P))})}finally{}void 0!==M&&Ao(M,t)}if(!h){const M=Ft(r)||(()=>new r);t({provide:r,useFactory:M,deps:Fn},r),t({provide:Ws,useValue:r,multi:!0},r),t({provide:Er,useValue:()=>B(r),multi:!0},r)}const y=a.providers;if(null!=y&&!h){const M=e;so(y,P=>{t(P,M)})}}}return r!==e&&void 0!==e.providers}function so(e,t){for(let n of e)Nt(n)&&(n=n.\u0275providers),Array.isArray(n)?so(n,t):t(n)}const Xo=ut({provide:String,useValue:ut});function Po(e){return null!==e&&"object"==typeof e&&Xo in e}function Is(e){return"function"==typeof e}const ca=new At(""),Yo={},sl={};let xo;function qo(){return void 0===xo&&(xo=new xi),xo}class ls{}class Xs extends ls{get destroyed(){return this._destroyed}constructor(t,n,i,r){super(),this.parent=n,this.source=i,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,b(t,d=>this.processProvider(d)),this.records.set(go,Do(void 0,this)),r.has("environment")&&this.records.set(ls,Do(void 0,this));const a=this.records.get(ca);null!=a&&"string"==typeof a.value&&this.scopes.add(a.value),this.injectorDefTypes=new Set(this.get(Ws,Fn,en.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const t=le(null);try{for(const i of this._ngOnDestroyHooks)i.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const i of n)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),le(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=Bi(this),i=Li(void 0);try{return t()}finally{Bi(n),Li(i)}}get(t,n=Dr,i=en.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(ln))return t[ln](this);i=de(i);const a=Bi(this),d=Li(void 0);try{if(!(i&en.SkipSelf)){let y=this.records.get(t);if(void 0===y){const M=function ol(e){return"function"==typeof e||"object"==typeof e&&e instanceof At}(t)&&ci(t);y=M&&this.injectableDefInScope(M)?Do(Ta(t),Yo):null,this.records.set(t,y)}if(null!=y)return this.hydrate(t,y)}return(i&en.Self?qo():this.parent).get(t,n=i&en.Optional&&n===Dr?null:n)}catch(h){if("NullInjectorError"===h.name){if((h[ps]=h[ps]||[]).unshift(rn(t)),a)throw h;return function Yt(e,t,n,i){const r=e[ps];throw t[Ts]&&r.unshift(t[Ts]),e.message=function qt(e,t,n,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let r=rn(t);if(Array.isArray(t))r=t.map(rn).join(" -> ");else if("object"==typeof t){let a=[];for(let d in t)if(t.hasOwnProperty(d)){let h=t[d];a.push(d+":"+("string"==typeof h?JSON.stringify(h):rn(h)))}r=`{${a.join(", ")}}`}return`${n}${i?"("+i+")":""}[${r}]: ${e.replace(Qr,"\n ")}`}("\n"+e.message,r,n,i),e.ngTokenPath=r,e[ps]=null,e}(h,t,"R3InjectorError",this.source)}throw h}finally{Li(d),Bi(a)}}resolveInjectorInitializers(){const t=le(null),n=Bi(this),i=Li(void 0);try{const a=this.get(Er,Fn,en.Self);for(const d of a)d()}finally{Bi(n),Li(i),le(t)}}toString(){const t=[],n=this.records;for(const i of n.keys())t.push(rn(i));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Qe(205,!1)}processProvider(t){let n=Is(t=vt(t))?t:vt(t&&t.provide);const i=function Zo(e){return Po(e)?Do(void 0,e.useValue):Do(ua(e),Yo)}(t);if(!Is(t)&&!0===t.multi){let r=this.records.get(n);r||(r=Do(void 0,Yo,!0),r.factory=()=>ye(r.multi),this.records.set(n,r)),n=t,r.multi.push(t)}this.records.set(n,i)}hydrate(t,n){const i=le(null);try{return n.value===Yo&&(n.value=sl,n.value=n.factory()),"object"==typeof n.value&&n.value&&function Sa(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{le(i)}}injectableDefInScope(t){if(!t.providedIn)return!1;const n=vt(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function Ta(e){const t=ci(e),n=null!==t?t.factory:Ft(e);if(null!==n)return n;if(e instanceof At)throw new Qe(204,!1);if(e instanceof Function)return function Ma(e){if(e.length>0)throw new Qe(204,!1);const n=function si(e){return e&&(e[ki]||e[fr])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new Qe(204,!1)}function ua(e,t,n){let i;if(Is(e)){const r=vt(e);return Ft(r)||Ta(r)}if(Po(e))i=()=>vt(e.useValue);else if(function bo(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...ye(e.deps||[]));else if(function yo(e){return!(!e||!e.useExisting)}(e))i=()=>B(vt(e.useExisting));else{const r=vt(e&&(e.useClass||e.provide));if(!function oo(e){return!!e.deps}(e))return Ft(r)||Ta(r);i=()=>new r(...ye(e.deps))}return i}function Do(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function b(e,t){for(const n of e)Array.isArray(n)?b(n,t):n&&Nt(n)?b(n.\u0275providers,t):t(n)}function k(e,t){e instanceof Xs&&e.assertNotDestroyed();const i=Bi(e),r=Li(void 0);try{return t()}finally{Bi(i),Li(r)}}function T(){return void 0!==Kr()||null!=function Xr(){return mi}()}function g(e){if(!T())throw new Qe(-203,!1)}const wt=0,ke=1,dt=2,En=3,fi=4,hi=5,Xn=6,Ui=7,On=8,oi=9,Si=10,tn=11,Ir=12,Qi=13,ao=14,_i=15,Tt=16,Bt=17,Lt=18,An=19,Hi=20,Ji=21,gr=22,Or=23,rt=25,Os=1,Eo=6,Ni=7,mr=9,Di=10;var lo=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(lo||{});function wr(e){return Array.isArray(e)&&"object"==typeof e[Os]}function qr(e){return Array.isArray(e)&&!0===e[Os]}function al(e){return!!(4&e.flags)}function co(e){return e.componentOffset>-1}function da(e){return!(1&~e.flags)}function cs(e){return!!e.template}function ll(e){return!!(512&e[dt])}class R{constructor(t,n,i){this.previousValue=t,this.currentValue=n,this.firstChange=i}isFirstChange(){return this.firstChange}}function H(e,t,n,i){null!==t?t.applyValueToInputSignal(t,i):e[n]=i}function Q(){return Ee}function Ee(e){return e.type.prototype.ngOnChanges&&(e.setInput=nt),me}function me(){const e=nn(this),t=e?.current;if(t){const n=e.previous;if(n===Br)e.previous=t;else for(let i in t)n[i]=t[i];e.current=null,this.ngOnChanges(t)}}function nt(e,t,n,i,r){const a=this.declaredInputs[i],d=nn(e)||function Ii(e,t){return e[Vt]=t}(e,{previous:Br,current:null}),h=d.current||(d.current={}),y=d.previous,M=y[a];h[a]=new R(M&&M.currentValue,n,y===Br),H(e,t,r,n)}Q.ngInherit=!0;const Vt="__ngSimpleChanges__";function nn(e){return e[Vt]||null}const Ar=function(e,t,n){};function ei(e){for(;Array.isArray(e);)e=e[wt];return e}function Aa(e,t){return ei(t[e])}function Jr(e,t){return ei(t[e.index])}function Ra(e,t){return e.data[t]}function Pa(e,t){return e[t]}function Vs(e,t){const n=t[e];return wr(n)?n:n[wt]}function Vl(e){return!(128&~e[dt])}function js(e,t){return null==t?null:e[t]}function dd(e){e[Bt]=0}function ah(e){1024&e[dt]||(e[dt]|=1024,Vl(e)&&jl(e))}function ul(e){return!!(9216&e[dt]||e[Or]?.dirty)}function Uc(e){e[Si].changeDetectionScheduler?.notify(7),64&e[dt]&&(e[dt]|=1024),ul(e)&&jl(e)}function jl(e){e[Si].changeDetectionScheduler?.notify(0);let t=fa(e);for(;null!==t&&!(8192&t[dt])&&(t[dt]|=8192,Vl(t));)t=fa(t)}function Ul(e,t){if(!(256&~e[dt]))throw new Qe(911,!1);null===e[Ji]&&(e[Ji]=[]),e[Ji].push(t)}function fa(e){const t=e[En];return qr(t)?t[En]:t}const dn={lFrame:ga(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let $c=!1;function Gc(){return dn.bindingsEnabled}function ha(){return null!==dn.skipHydrationRootTNode}function Fe(){return dn.lFrame.lView}function Hn(){return dn.lFrame.tView}function ch(e){return dn.lFrame.contextLView=e,e[On]}function uh(e){return dn.lFrame.contextLView=null,e}function Ei(){let e=dh();for(;null!==e&&64===e.type;)e=e.parent;return e}function dh(){return dn.lFrame.currentTNode}function $l(){const e=dn.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function ko(e,t){const n=dn.lFrame;n.currentTNode=e,n.isParent=t}function Wc(){return dn.lFrame.isParent}function gd(){dn.lFrame.isParent=!1}function hh(){return $c}function zc(e){$c=e}function Ps(){const e=dn.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Us(){return dn.lFrame.bindingIndex++}function Co(e){const t=dn.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function md(e){dn.lFrame.inI18n=e}function ph(e,t){const n=dn.lFrame;n.bindingIndex=n.bindingRootIndex=e,_d(t)}function _d(e){dn.lFrame.currentDirectiveIndex=e}function xa(){return dn.lFrame.currentQueryIndex}function fl(e){dn.lFrame.currentQueryIndex=e}function gh(e){const t=e[ke];return 2===t.type?t.declTNode:1===t.type?e[hi]:null}function vd(e,t,n){if(n&en.SkipSelf){let r=t,a=e;for(;!(r=r.parent,null!==r||n&en.Host||(r=gh(a),null===r||(a=a[ao],10&r.type))););if(null===r)return!1;t=r,e=a}const i=dn.lFrame=yd();return i.currentTNode=t,i.lView=e,!0}function Xc(e){const t=yd(),n=e[ke];dn.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function yd(){const e=dn.lFrame,t=null===e?null:e.child;return null===t?ga(e):t}function ga(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 ea(){const e=dn.lFrame;return dn.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Fa=ea;function ka(){const e=ea();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 Pr(){return dn.lFrame.selectedIndex}function Hs(e){dn.lFrame.selectedIndex=e}function Oi(){const e=dn.lFrame;return Ra(e.tView,e.selectedIndex)}function mh(){return dn.lFrame.currentNamespace}let _h=!0;function Gl(){return _h}function Lo(e){_h=e}function Yc(e,t){for(let n=t.directiveStart,i=t.directiveEnd;n<i;n++){const a=e.data[n].type.prototype,{ngAfterContentInit:d,ngAfterContentChecked:h,ngAfterViewInit:y,ngAfterViewChecked:M,ngOnDestroy:P}=a;d&&(e.contentHooks??=[]).push(-n,d),h&&((e.contentHooks??=[]).push(n,h),(e.contentCheckHooks??=[]).push(n,h)),y&&(e.viewHooks??=[]).push(-n,y),M&&((e.viewHooks??=[]).push(n,M),(e.viewCheckHooks??=[]).push(n,M)),null!=P&&(e.destroyHooks??=[]).push(n,P)}}function qc(e,t,n){Jc(e,t,3,n)}function Zc(e,t,n,i){(3&e[dt])===n&&Jc(e,t,n,i)}function Dd(e,t){let n=e[dt];(3&n)===t&&(n&=16383,n+=1,e[dt]=n)}function Jc(e,t,n,i){const a=i??-1,d=t.length-1;let h=0;for(let y=void 0!==i?65535&e[Bt]:0;y<d;y++)if("number"==typeof t[y+1]){if(h=t[y],null!=i&&h>=i)break}else t[y]<0&&(e[Bt]+=65536),(h<a||-1==a)&&(vh(e,n,t,y),e[Bt]=(4294901760&e[Bt])+y+2),y++}function Ed(e,t){Ar(4,e,t);const n=le(null);try{t.call(e)}finally{le(n),Ar(5,e,t)}}function vh(e,t,n,i){const r=n[i]<0,a=n[i+1],h=e[r?-n[i]:n[i]];r?e[dt]>>14<e[Bt]>>16&&(3&e[dt])===t&&(e[dt]+=16384,Ed(h,a)):Ed(h,a)}const hl=-1;class La{constructor(t,n,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=i}}function eu(e){return e!==hl}function Wl(e){return 32767&e}function zl(e,t){let n=function Rm(e){return e>>16}(e),i=t;for(;n>0;)i=i[ao],n--;return i}let wd=!0;function tu(e){const t=wd;return wd=e,t}const yh=255,Td=5;let bh=0;const Ys={};function Ba(e,t){const n=nu(e,t);if(-1!==n)return n;const i=t[ke];i.firstCreatePass&&(e.injectorIndex=t.length,Va(i.data,e),Va(t,null),Va(i.blueprint,null));const r=ma(e,t),a=e.injectorIndex;if(eu(r)){const d=Wl(r),h=zl(r,t),y=h[ke].data;for(let M=0;M<8;M++)t[a+M]=h[d+M]|y[d+M]}return t[a+8]=r,a}function Va(e,t){e.push(0,0,0,0,0,0,0,0,t)}function nu(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function ma(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,i=null,r=t;for(;null!==r;){if(i=iu(r),null===i)return hl;if(n++,r=r[ao],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return hl}function Md(e,t,n){!function Dh(e,t,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(Mn)&&(i=n[Mn]),null==i&&(i=n[Mn]=bh++);const r=i&yh;t.data[e+(r>>Td)]|=1<<r}(e,t,n)}function Sd(e,t,n){if(n&en.Optional||void 0!==e)return e;pr()}function ta(e,t,n,i){if(n&en.Optional&&void 0===i&&(i=null),!(n&(en.Self|en.Host))){const r=e[oi],a=Li(void 0);try{return r?r.get(t,i,n&en.Optional):Cs(t,i,n&en.Optional)}finally{Li(a)}}return Sd(i,0,n)}function Ch(e,t,n,i=en.Default,r){if(null!==e){if(2048&t[dt]&&!(i&en.Self)){const d=function Sh(e,t,n,i,r){let a=e,d=t;for(;null!==a&&null!==d&&2048&d[dt]&&!(512&d[dt]);){const h=Nd(a,d,n,i|en.Self,Ys);if(h!==Ys)return h;let y=a.parent;if(!y){const M=d[Hi];if(M){const P=M.get(n,Ys,i);if(P!==Ys)return P}y=iu(d),d=d[ao]}a=y}return r}(e,t,n,i,Ys);if(d!==Ys)return d}const a=Nd(e,t,n,i,Ys);if(a!==Ys)return a}return ta(t,n,i,r)}function Nd(e,t,n,i,r){const a=function Th(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Mn)?e[Mn]:void 0;return"number"==typeof t?t>=0?t&yh:Mh:t}(n);if("function"==typeof a){if(!vd(t,e,i))return i&en.Host?Sd(r,0,i):ta(t,n,i,r);try{let d;if(d=a(i),null!=d||i&en.Optional)return d;pr()}finally{Fa()}}else if("number"==typeof a){let d=null,h=nu(e,t),y=hl,M=i&en.Host?t[_i][hi]:null;for((-1===h||i&en.SkipSelf)&&(y=-1===h?ma(e,t):t[h+8],y!==hl&&Kl(i,!1)?(d=t[ke],h=Wl(y),t=zl(y,t)):h=-1);-1!==h;){const P=t[ke];if(Id(a,h,P.data)){const G=wh(h,t,n,d,i,M);if(G!==Ys)return G}y=t[h+8],y!==hl&&Kl(i,t[ke].data[h+8]===M)&&Id(a,h,t)?(d=P,h=Wl(y),t=zl(y,t)):h=-1}}return r}function wh(e,t,n,i,r,a){const d=t[ke],h=d.data[e+8],P=gl(h,d,n,null==i?co(h)&&wd:i!=d&&!!(3&h.type),r&en.Host&&a===h);return null!==P?_a(t,d,P,h):Ys}function gl(e,t,n,i,r){const a=e.providerIndexes,d=t.data,h=1048575&a,y=e.directiveStart,P=a>>20,Y=r?h+P:e.directiveEnd;for(let se=i?h:h+P;se<Y;se++){const ve=d[se];if(se<y&&n===ve||se>=y&&ve.type===n)return se}if(r){const se=d[y];if(se&&cs(se)&&se.type===n)return y}return null}function _a(e,t,n,i){let r=e[n];const a=t.data;if(function Sm(e){return e instanceof La}(r)){const d=r;d.resolving&&function hr(e,t){throw t&&t.join(" > "),new Qe(-200,e)}(function xt(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Ze(e)}(a[n]));const h=tu(d.canSeeViewProviders);d.resolving=!0;const M=d.injectImpl?Li(d.injectImpl):null;vd(e,i,en.Default);try{r=e[n]=d.factory(void 0,a,e,i),t.firstCreatePass&&n>=i.directiveStart&&function Mm(e,t,n){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:a}=t.type.prototype;if(i){const d=Ee(t);(n.preOrderHooks??=[]).push(e,d),(n.preOrderCheckHooks??=[]).push(e,d)}r&&(n.preOrderHooks??=[]).push(0-e,r),a&&((n.preOrderHooks??=[]).push(e,a),(n.preOrderCheckHooks??=[]).push(e,a))}(n,a[n],t)}finally{null!==M&&Li(M),tu(h),d.resolving=!1,Fa()}}return r}function Id(e,t,n){return!!(n[t+(e>>Td)]&1<<e)}function Kl(e,t){return!(e&en.Self||e&en.Host&&t)}class xr{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,i){return Ch(this._tNode,this._lView,t,de(i),n)}}function Mh(){return new xr(Ei(),Fe())}function Od(e){return Ht(()=>{const t=e.prototype.constructor,n=t[Jt]||Ql(t),i=Object.prototype;let r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){const a=r[Jt]||Ql(r);if(a&&a!==n)return a;r=Object.getPrototypeOf(r)}return a=>new a})}function Ql(e){return we(e)?()=>{const t=Ql(vt(e));return t&&t()}:Ft(e)}function iu(e){const t=e[ke],n=t.type;return 2===n?t.declTNode:1===n?e[hi]:null}function Xl(e){return function Eh(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const i=n.length;let r=0;for(;r<i;){const a=n[r];if(vs(a))break;if(0===a)r+=2;else if("number"==typeof a)for(r++;r<i&&"string"==typeof n[r];)r++;else{if(a===t)return n[r+1];r+=2}}}return null}(Ei(),e)}function ou(e,t=null,n=null,i){const r=au(e,t,n,i);return r.resolveInjectorInitializers(),r}function au(e,t=null,n=null,i,r=new Set){const a=[n||Fn,Oo(e)];return i=i||("object"==typeof e?void 0:rn(e)),new Xs(a,t||qo(),i||null,r)}class jr{static#e=this.THROW_IF_NOT_FOUND=Dr;static#t=this.NULL=new xi;static create(t,n){if(Array.isArray(t))return ou({name:""},n,t,"");{const i=t.name??"";return ou({name:i},t.parent,t.providers,i)}}static#n=this.\u0275prov=Pt({token:jr,providedIn:"any",factory:()=>B(go)});static#i=this.__NG_ELEMENT_ID__=-1}new At("").__NG_ELEMENT_ID__=e=>{const t=Ei();if(null===t)throw new Qe(204,!1);if(2&t.type)return t.value;if(e&en.Optional)return null;throw new Qe(204,!1)};function lu(e){return e.ngOriginalError}class uo{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&&lu(t);for(;n&&lu(n);)n=lu(n);return n||null}}const Fh=new At("",{providedIn:"root",factory:()=>$(uo).handleError.bind(void 0)});let $a=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=km;static#t=this.__NG_ENV_ID__=n=>n}return e})();class Fm extends $a{constructor(t){super(),this._lView=t}onDestroy(t){return Ul(this._lView,t),()=>function Hc(e,t){if(null===e[Ji])return;const n=e[Ji].indexOf(t);-1!==n&&e[Ji].splice(n,1)}(this._lView,t)}}function km(){return new Fm(Fe())}function Vm(){return _l(Ei(),Fe())}function _l(e,t){return new vl(Jr(e,t))}let vl=(()=>{class e{constructor(n){this.nativeElement=n}static#e=this.__NG_ELEMENT_ID__=Vm}return e})();function Fd(e){return e instanceof vl?e.nativeElement:e}function kd(e){return t=>{setTimeout(e,void 0,t)}}const Bo=class Lh extends bn.B{constructor(t=!1){super(),this.destroyRef=void 0,this.__isAsync=t,T()&&(this.destroyRef=$($a,{optional:!0})??void 0)}emit(t){const n=le(null);try{super.next(t)}finally{le(n)}}subscribe(t,n,i){let r=t,a=n||(()=>null),d=i;if(t&&"object"==typeof t){const y=t;r=y.next?.bind(y),a=y.error?.bind(y),d=y.complete?.bind(y)}this.__isAsync&&(a=kd(a),r&&(r=kd(r)),d&&(d=kd(d)));const h=super.subscribe({next:r,error:a,complete:d});return t instanceof wn.yU&&t.add(h),h}};function jm(){return this._results[Symbol.iterator]()}class Ld{static#e=Symbol.iterator;get changes(){return this._changes??=new Bo}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const n=Ld.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=jm)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;const i=function xn(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function Jn(e,t,n){if(e.length!==t.length)return!1;for(let i=0;i<e.length;i++){let r=e[i],a=t[i];if(n&&(r=n(r),a=n(a)),a!==r)return!1}return!0}(this._results,i,n))&&(this._results=i,this.length=i.length,this.last=i[this.length-1],this.first=i[0])}notifyOnChanges(){void 0!==this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}}const ql="ngSkipHydration",Um="ngskiphydration";function Bh(e){const t=e.mergedAttrs;if(null===t)return!1;for(let n=0;n<t.length;n+=2){const i=t[n];if("number"==typeof i)return!1;if("string"==typeof i&&i.toLowerCase()===Um)return!0}return!1}function Vh(e){return e.hasAttribute(ql)}function Zl(e){return!(128&~e.flags)}const Bd=new Map;let Hm=0;const Jl="__ngContext__";function ds(e,t){wr(t)?(e[Jl]=t[An],function jh(e){Bd.set(e[An],e)}(t)):e[Jl]=t}function Xh(e){return Yh(e[Ir])}function jd(e){return Yh(e[fi])}function Yh(e){for(;null!==e&&!qr(e);)e=e[fi];return e}let re;function fe(e){re=e}function Ce(){if(void 0!==re)return re;if(typeof document<"u")return document;throw new Qe(210,!1)}const Oe=new At("",{providedIn:"root",factory:()=>ht}),ht="ng",ot=new At(""),pt=new At("",{providedIn:"platform",factory:()=>"unknown"}),sn=new At(""),Ln=new At("",{providedIn:"root",factory:()=>Ce().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function Gi(e){return e}function Vn(){const e=new Gn;return"browser"===$(pt)&&(e.store=function ai(e,t){const n=e.getElementById(t+"-state");if(n?.textContent)try{return JSON.parse(n.textContent)}catch(i){console.warn("Exception while restoring TransferState for app "+t,i)}return{}}(Ce(),$(Oe))),e}let Gn=(()=>{class e{constructor(){this.store={},this.onSerializeCallbacks={}}static#e=this.\u0275prov=Pt({token:e,providedIn:"root",factory:Vn});get(n,i){return void 0!==this.store[n]?this.store[n]:i}set(n,i){this.store[n]=i}remove(n){delete this.store[n]}hasKey(n){return this.store.hasOwnProperty(n)}get isEmpty(){return 0===Object.keys(this.store).length}onSerialize(n,i){this.onSerializeCallbacks[n]=i}toJson(){for(const n in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(n))try{this.store[n]=this.onSerializeCallbacks[n]()}catch(i){console.warn("Exception in onSerialize callback: ",i)}return JSON.stringify(this.store).replace(/</g,"\\u003C")}}return e})();const Ai="h",Ci="b";var er=function(e){return e.FirstChild="f",e.NextSibling="n",e}(er||{});const ur="e",Ur="t",Ds="c",Hr="x",qs="r",Vo="i",fs="n",Es="d",Ka="__nghData__",va="ngh",yl="nghm";let bl=()=>null;function Qa(e,t,n=!1){let i=e.getAttribute(va);if(null==i)return null;const[r,a]=i.split("|");if(i=n?a:r,!i)return null;const h=n?r:a?`|${a}`:"";let y={};if(""!==i){const P=t.get(Gn,null,{optional:!0});null!==P&&(y=P.get(Ka,[])[Number(i)])}const M={data:y,firstChild:e.firstChild??null};return n&&(M.firstChild=e,tc(M,0,e.nextSibling)),h?e.setAttribute(va,h):e.removeAttribute(va),M}function ya(e,t,n=!1){return bl(e,t,n)}function Dl(e){let t=e._lView;return 2===t[ke].type?null:(ll(t)&&(t=t[rt]),t)}function tc(e,t,n){e.segmentHeads??={},e.segmentHeads[t]=n}function pu(e,t){return e.segmentHeads?.[t]??null}function gu(e,t){return e.data[Ds]?.[t]??null}function ic(e,t){const n=gu(e,t)??[];let i=0;for(let r of n)i+=r[qs]*(r[Hr]??1);return i}function Ya(e,t){if(typeof e.disconnectedNodes>"u"){const n=e.data[Es];e.disconnectedNodes=n?new Set(n):null}return!!function rc(e){if(typeof e.disconnectedNodes>"u"){const t=e.data[Es];e.disconnectedNodes=t?new Set(t):null}return e.disconnectedNodes}(e)?.has(t)}const Cl=new At(""),s_=new At("",{providedIn:"root",factory:()=>!1});let Gd,Wd;function sc(e){return function tp(){if(void 0===Gd&&(Gd=null,Rt.trustedTypes))try{Gd=Rt.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Gd}()?.createHTML(e)||e}function u_(e){return function np(){if(void 0===Wd&&(Wd=null,Rt.trustedTypes))try{Wd=Rt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Wd}()?.createScriptURL(e)||e}class d_{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${yi})`}}function qa(e){return e instanceof d_?e.changingThisBreaksApplicationSecurity:e}function vu(e,t){const n=function $E(e){return e instanceof d_&&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 ${yi})`)}return n===t}class GE{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(sc(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class WE{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=sc(t),n}}const KE=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function ip(e){return(e=String(e)).match(KE)?e:"unsafe:"+e}function Da(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function yu(...e){const t={};for(const n of e)for(const i in n)n.hasOwnProperty(i)&&(t[i]=!0);return t}const h_=Da("area,br,col,hr,img,wbr"),p_=Da("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),g_=Da("rp,rt"),rp=yu(h_,yu(p_,Da("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")),yu(g_,Da("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")),yu(g_,p_)),sp=Da("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),m_=yu(sp,Da("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Da("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"));var oc=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(oc||{});function b_(e){const t=bu();return t?t.sanitize(oc.URL,e)||"":vu(e,"URL")?qa(e):ip(Ze(e))}function D_(e){const t=bu();if(t)return u_(t.sanitize(oc.RESOURCE_URL,e)||"");if(vu(e,"ResourceURL"))return u_(qa(e));throw new Qe(904,!1)}function E_(e,t,n){return function lC(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?D_:b_}(t,n)(e)}function bu(){const e=Fe();return e&&e[Si].sanitizer}const cC=/^>|^->|<!--|-->|--!>|<!-$/g,uC=/(<|>)/g,dC="\u200b$1\u200b";function fo(e){return e instanceof Function?e():e}function wo(e){return"browser"===(e??$(jr)).get(pt)}var Xd=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Xd||{});let up;function dp(e,t){return up(e,t)}function lc(e,t,n,i,r){if(null!=i){let a,d=!1;qr(i)?a=i:wr(i)&&(d=!0,i=i[wt]);const h=ei(i);0===e&&null!==n?null==r?x_(t,n,h):wl(t,n,h,r||null,!0):1===e&&null!==n?wl(t,n,h,r||null,!0):2===e?Cu(t,h,d):3===e&&t.destroyNode(h),null!=a&&function RC(e,t,n,i,r){const a=n[Ni];a!==ei(n)&&lc(t,e,i,a,r);for(let h=Di;h<n.length;h++){const y=n[h];ef(y[ke],y,e,t,i,a)}}(t,e,a,n,r)}}function fp(e,t){return e.createText(t)}function hp(e,t){return e.createComment(function C_(e){return e.replace(cC,t=>t.replace(uC,dC))}(t))}function Yd(e,t,n){return e.createElement(t,n)}function A_(e,t){t[Si].changeDetectionScheduler?.notify(8),ef(e,t,t[tn],2,null,null)}function R_(e,t){const n=e[mr],i=t[En];(wr(i)||t[_i]!==i[En][_i])&&(e[dt]|=lo.HasTransplantedViews),null===n?e[mr]=[t]:n.push(t)}function pp(e,t){const n=e[mr],i=n.indexOf(t);n.splice(i,1)}function Du(e,t){if(e.length<=Di)return;const n=Di+t,i=e[n];if(i){const r=i[Tt];null!==r&&r!==e&&pp(r,i),t>0&&(e[n-1][fi]=i[fi]);const a=or(e,Di+t);!function CC(e,t){A_(e,t),t[wt]=null,t[hi]=null}(i[ke],i);const d=a[Lt];null!==d&&d.detachView(a[ke]),i[En]=null,i[fi]=null,i[dt]&=-129}return i}function qd(e,t){if(!(256&t[dt])){const n=t[tn];n.destroyNode&&ef(e,t,n,3,null,null),function TC(e){let t=e[Ir];if(!t)return gp(e[ke],e);for(;t;){let n=null;if(wr(t))n=t[Ir];else{const i=t[Di];i&&(n=i)}if(!n){for(;t&&!t[fi]&&t!==e;)wr(t)&&gp(t[ke],t),t=t[En];null===t&&(t=e),wr(t)&&gp(t[ke],t),n=t&&t[fi]}t=n}}(t)}}function gp(e,t){if(256&t[dt])return;const n=le(null);try{t[dt]&=-129,t[dt]|=256,t[Or]&&function Nn(e){if(kt(e),st(e))for(let t=0;t<e.producerNode.length;t++)$e(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}(t[Or]),function NC(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let i=0;i<n.length;i+=2){const r=t[n[i]];if(!(r instanceof La)){const a=n[i+1];if(Array.isArray(a))for(let d=0;d<a.length;d+=2){const h=r[a[d]],y=a[d+1];Ar(4,h,y);try{y.call(h)}finally{Ar(5,h,y)}}else{Ar(4,r,a);try{a.call(r)}finally{Ar(5,r,a)}}}}}(e,t),function SC(e,t){const n=e.cleanup,i=t[Ui];if(null!==n)for(let a=0;a<n.length-1;a+=2)if("string"==typeof n[a]){const d=n[a+3];d>=0?i[d]():i[-d].unsubscribe(),a+=2}else n[a].call(i[n[a+1]]);null!==i&&(t[Ui]=null);const r=t[Ji];if(null!==r){t[Ji]=null;for(let a=0;a<r.length;a++)(0,r[a])()}}(e,t),1===t[ke].type&&t[tn].destroy();const i=t[Tt];if(null!==i&&qr(t[En])){i!==t[En]&&pp(i,t);const r=t[Lt];null!==r&&r.detachView(e)}!function Gm(e){Bd.delete(e[An])}(t)}finally{le(n)}}function mp(e,t,n){return P_(e,t.parent,n)}function P_(e,t,n){let i=t;for(;null!==i&&40&i.type;)i=(t=i).parent;if(null===i)return n[wt];{const{componentOffset:r}=i;if(r>-1){const{encapsulation:a}=e.data[i.directiveStart+r];if(a===Cr.None||a===Cr.Emulated)return null}return Jr(i,n)}}function wl(e,t,n,i,r){e.insertBefore(t,n,i,r)}function x_(e,t,n){e.appendChild(t,n)}function F_(e,t,n,i,r){null!==i?wl(e,t,n,i,r):x_(e,t,n)}function Zd(e,t){return e.parentNode(t)}function k_(e,t,n){return B_(e,t,n)}function L_(e,t,n){return 40&e.type?Jr(e,n):null}let _p,B_=L_;function V_(e,t){B_=e,_p=t}function Jd(e,t,n,i){const r=mp(e,i,t),a=t[tn],h=k_(i.parent||t[hi],i,t);if(null!=r)if(Array.isArray(n))for(let y=0;y<n.length;y++)F_(a,r,n[y],h,!1);else F_(a,r,n,h,!1);void 0!==_p&&_p(a,i,t,n,r)}function Eu(e,t){if(null!==t){const n=t.type;if(3&n)return Jr(t,e);if(4&n)return vp(-1,e[t.index]);if(8&n){const i=t.child;if(null!==i)return Eu(e,i);{const r=e[t.index];return qr(r)?vp(-1,r):ei(r)}}if(32&n)return dp(t,e)()||ei(e[t.index]);{const i=j_(e,t);return null!==i?Array.isArray(i)?i[0]:Eu(fa(e[_i]),i):Eu(e,t.next)}}return null}function j_(e,t){return null!==t?e[_i][hi].projection[t.projection]:null}function vp(e,t){const n=Di+e+1;if(n<t.length){const i=t[n],r=i[ke].firstChild;if(null!==r)return Eu(i,r)}return t[Ni]}function Cu(e,t,n){const i=Zd(e,t);i&&function IC(e,t,n,i){e.removeChild(t,n,i)}(e,i,t,n)}function U_(e){e.textContent=""}function yp(e,t,n,i,r,a,d){for(;null!=n;){const h=i[n.index],y=n.type;if(d&&0===t&&(h&&ds(ei(h),i),n.flags|=2),32&~n.flags)if(8&y)yp(e,t,n.child,i,r,a,!1),lc(t,e,r,h,a);else if(32&y){const M=dp(n,i);let P;for(;P=M();)lc(t,e,r,P,a);lc(t,e,r,h,a)}else 16&y?H_(e,t,i,n,r,a):lc(t,e,r,h,a);n=d?n.projectionNext:n.next}}function ef(e,t,n,i,r,a){yp(n,i,e.firstChild,t,r,a,!1)}function H_(e,t,n,i,r,a){const d=n[_i],y=d[hi].projection[i.projection];if(Array.isArray(y))for(let M=0;M<y.length;M++)lc(t,e,r,y[M],a);else{let M=y;const P=d[En];Zl(i)&&(M.flags|=128),yp(e,t,M,P,r,a,!0)}}function $_(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function G_(e,t,n){const{mergedAttrs:i,classes:r,styles:a}=n;null!==i&&lr(e,t,i),null!==r&&$_(e,t,r),null!==a&&function xC(e,t,n){e.setAttribute(t,"style",n)}(e,t,a)}const Sn={};function W_(e=1){z_(Hn(),Fe(),Pr()+e,!1)}function z_(e,t,n,i){if(!i)if(3&~t[dt]){const a=e.preOrderHooks;null!==a&&Zc(t,a,0,n)}else{const a=e.preOrderCheckHooks;null!==a&&qc(t,a,n)}Hs(n)}function cc(e,t=en.Default){const n=Fe();return null===n?B(e,t):Ch(Ei(),n,vt(e),t)}function K_(){throw new Error("invalid")}function Q_(e,t,n,i,r,a){const d=le(null);try{let h=null;r&zs.SignalBased&&(h=t[i][X]),null!==h&&void 0!==h.transformFn&&(a=h.transformFn(a)),r&zs.HasDecoratorInputTransform&&(a=e.inputTransforms[i].call(t,a)),null!==e.setInput?e.setInput(t,h,a,n,i):H(t,h,i,a)}finally{le(d)}}function tf(e,t,n,i,r,a,d,h,y,M,P){const G=t.blueprint.slice();return G[wt]=r,G[dt]=204|i,(null!==M||e&&2048&e[dt])&&(G[dt]|=2048),dd(G),G[En]=G[ao]=e,G[On]=n,G[Si]=d||e&&e[Si],G[tn]=h||e&&e[tn],G[oi]=y||e&&e[oi]||null,G[hi]=a,G[An]=function $m(){return Hm++}(),G[Xn]=P,G[Hi]=M,G[_i]=2==t.type?e[_i]:G,G}function uc(e,t,n,i,r){let a=e.data[t];if(null===a)a=bp(e,t,n,i,r),function Kc(){return dn.lFrame.inI18n}()&&(a.flags|=32);else if(64&a.type){a.type=n,a.value=i,a.attrs=r;const d=$l();a.injectorIndex=null===d?-1:d.injectorIndex}return ko(a,!0),a}function bp(e,t,n,i,r){const a=dh(),d=Wc(),y=e.data[t]=function HC(e,t,n,i,r,a){let d=t?t.injectorIndex:-1,h=0;return ha()&&(h|=128),{type:n,index:i,insertBeforeIndex:null,injectorIndex:d,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:h,providerIndexes:0,value:r,attrs:a,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,d?a:a&&a.parent,n,t,i,r);return null===e.firstChild&&(e.firstChild=y),null!==a&&(d?null==a.child&&null!==y.parent&&(a.child=y):null===a.next&&(a.next=y,y.prev=a)),y}function wu(e,t,n,i){if(0===n)return-1;const r=t.length;for(let a=0;a<n;a++)t.push(i),e.blueprint.push(i),e.data.push(null);return r}function X_(e,t,n,i,r){const a=Pr(),d=2&i;try{Hs(-1),d&&t.length>rt&&z_(e,t,rt,!1),Ar(d?2:0,r),n(i,r)}finally{Hs(a),Ar(d?3:1,r)}}function Dp(e,t,n){if(al(t)){const i=le(null);try{const a=t.directiveEnd;for(let d=t.directiveStart;d<a;d++){const h=e.data[d];h.contentQueries&&h.contentQueries(1,n[d],d)}}finally{le(i)}}}function Ep(e,t,n){Gc()&&(function XC(e,t,n,i){const r=n.directiveStart,a=n.directiveEnd;co(n)&&function nw(e,t,n){const i=Jr(t,e),r=Y_(n);let d=16;n.signals?d=4096:n.onPush&&(d=64);const h=nf(e,tf(e,r,null,d,i,t,null,e[Si].rendererFactory.createRenderer(i,n),null,null,null));e[t.index]=h}(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||Ba(n,t),ds(i,t);const d=n.initialInputs;for(let h=r;h<a;h++){const y=e.data[h],M=_a(t,e,h,n);ds(M,t),null!==d&&iw(0,h-r,M,y,0,d),cs(y)&&(Vs(n.index,t)[On]=_a(t,e,h,n))}}(e,t,n,Jr(n,t)),!(64&~n.flags)&&tv(e,t,n))}function Cp(e,t,n=Jr){const i=t.localNames;if(null!==i){let r=t.index+1;for(let a=0;a<i.length;a+=2){const d=i[a+1],h=-1===d?n(t,e):e[d];e[r++]=h}}}function Y_(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=wp(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function wp(e,t,n,i,r,a,d,h,y,M,P){const G=rt+i,Y=G+r,se=function kC(e,t){const n=[];for(let i=0;i<t;i++)n.push(i<e?null:Sn);return n}(G,Y),ve="function"==typeof M?M():M;return se[ke]={type:e,blueprint:se,template:n,queries:null,viewQuery:h,declTNode:t,data:se.slice().fill(null,G),bindingStartIndex:G,expandoStartIndex:Y,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 a?a():a,pipeRegistry:"function"==typeof d?d():d,firstChild:null,schemas:y,consts:ve,incompleteFirstPass:!1,ssrId:P}}let q_=()=>null;function VC(e){Vh(e)?U_(e):function fu(e){const t=Ce(),n=t.createNodeIterator(e,NodeFilter.SHOW_COMMENT,{acceptNode(a){const d=function ba(e){return e.textContent?.replace(/\s/gm,"")}(a);return"ngetn"===d||"ngtns"===d?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}});let i;const r=[];for(;i=n.nextNode();)r.push(i);for(const a of r)"ngetn"===a.textContent?a.replaceWith(t.createTextNode("")):a.remove()}(e)}function Z_(e,t,n,i,r){for(let a in t){if(!t.hasOwnProperty(a))continue;const d=t[a];if(void 0===d)continue;i??={};let h,y=zs.None;Array.isArray(d)?(h=d[0],y=d[1]):h=d;let M=a;if(null!==r){if(!r.hasOwnProperty(a))continue;M=r[a]}0===e?J_(i,n,M,h,y):J_(i,n,M,h)}return i}function J_(e,t,n,i,r){let a;e.hasOwnProperty(n)?(a=e[n]).push(t,i):a=e[n]=[t,i],void 0!==r&&a.push(r)}function Zs(e,t,n,i,r,a,d,h){const y=Jr(t,n);let P,M=t.inputs;!h&&null!=M&&(P=M[i])?(Ip(e,n,P,i,r),co(t)&&function WC(e,t){const n=Vs(t,e);16&n[dt]||(n[dt]|=64)}(n,t.index)):3&t.type&&(i=function GC(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(i),r=null!=d?d(r,t.value||"",i):r,a.setProperty(y,i,r))}function Tp(e,t,n,i){if(Gc()){const r=null===i?null:{"":-1},a=function qC(e,t){const n=e.directiveRegistry;let i=null,r=null;if(n)for(let a=0;a<n.length;a++){const d=n[a];if(w(t,d.selectors,!1))if(i||(i=[]),cs(d))if(null!==d.findHostDirectiveDefs){const h=[];r=r||new Map,d.findHostDirectiveDefs(d,h,r),i.unshift(...h,d),Mp(e,t,h.length)}else i.unshift(d),Mp(e,t,0);else r=r||new Map,d.findHostDirectiveDefs?.(d,i,r),i.push(d)}return null===i?null:[i,r]}(e,n);let d,h;null===a?d=h=null:[d,h]=a,null!==d&&ev(e,t,n,d,r,h),r&&function ZC(e,t,n){if(t){const i=e.localNames=[];for(let r=0;r<t.length;r+=2){const a=n[t[r+1]];if(null==a)throw new Qe(-301,!1);i.push(t[r],a)}}}(n,i,r)}n.mergedAttrs=ro(n.mergedAttrs,n.attrs)}function ev(e,t,n,i,r,a){for(let M=0;M<i.length;M++)Md(Ba(n,t),e,i[M].type);!function ew(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}(n,e.data.length,i.length);for(let M=0;M<i.length;M++){const P=i[M];P.providersResolver&&P.providersResolver(P)}let d=!1,h=!1,y=wu(e,t,i.length,null);for(let M=0;M<i.length;M++){const P=i[M];n.mergedAttrs=ro(n.mergedAttrs,P.hostAttrs),tw(e,n,t,y,P),JC(y,P,r),null!==P.contentQueries&&(n.flags|=4),(null!==P.hostBindings||null!==P.hostAttrs||0!==P.hostVars)&&(n.flags|=64);const G=P.type.prototype;!d&&(G.ngOnChanges||G.ngOnInit||G.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),d=!0),!h&&(G.ngOnChanges||G.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),h=!0),y++}!function $C(e,t,n){const r=t.directiveEnd,a=e.data,d=t.attrs,h=[];let y=null,M=null;for(let P=t.directiveStart;P<r;P++){const G=a[P],Y=n?n.get(G):null,ve=Y?Y.outputs:null;y=Z_(0,G.inputs,P,y,Y?Y.inputs:null),M=Z_(1,G.outputs,P,M,ve);const Re=null===y||null===d||Ss(t)?null:rw(y,P,d);h.push(Re)}null!==y&&(y.hasOwnProperty("class")&&(t.flags|=8),y.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=h,t.inputs=y,t.outputs=M}(e,n,a)}function tv(e,t,n){const i=n.directiveStart,r=n.directiveEnd,a=n.index,d=function Qc(){return dn.lFrame.currentDirectiveIndex}();try{Hs(a);for(let h=i;h<r;h++){const y=e.data[h],M=t[h];_d(h),(null!==y.hostBindings||0!==y.hostVars||null!==y.hostAttrs)&&YC(y,M)}}finally{Hs(-1),_d(d)}}function YC(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Mp(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function JC(e,t,n){if(n){if(t.exportAs)for(let i=0;i<t.exportAs.length;i++)n[t.exportAs[i]]=e;cs(t)&&(n[""]=e)}}function tw(e,t,n,i,r){e.data[i]=r;const a=r.factory||(r.factory=Ft(r.type)),d=new La(a,cs(r),cc);e.blueprint[i]=d,n[i]=d,function KC(e,t,n,i,r){const a=r.hostBindings;if(a){let d=e.hostBindingOpCodes;null===d&&(d=e.hostBindingOpCodes=[]);const h=~t.index;(function QC(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(d)!=h&&d.push(h),d.push(n,i,a)}}(e,t,i,wu(e,n,r.hostVars,Sn),r)}function ra(e,t,n,i,r,a){const d=Jr(e,t);!function Sp(e,t,n,i,r,a,d){if(null==a)e.removeAttribute(t,r,n);else{const h=null==d?Ze(a):d(a,i||"",r);e.setAttribute(t,r,h,n)}}(t[tn],d,a,e.value,n,i,r)}function iw(e,t,n,i,r,a){const d=a[t];if(null!==d)for(let h=0;h<d.length;)Q_(i,n,d[h++],d[h++],d[h++],d[h++])}function rw(e,t,n){let i=null,r=0;for(;r<n.length;){const a=n[r];if(0!==a)if(5!==a){if("number"==typeof a)break;if(e.hasOwnProperty(a)){null===i&&(i=[]);const d=e[a];for(let h=0;h<d.length;h+=3)if(d[h]===t){i.push(a,d[h+1],d[h+2],n[r+1]);break}}r+=2}else r+=2;else r+=4}return i}function nv(e,t,n,i){return[e,!0,0,t,null,i,null,n,null,null]}function iv(e,t){const n=e.contentQueries;if(null!==n){const i=le(null);try{for(let r=0;r<n.length;r+=2){const d=n[r+1];if(-1!==d){const h=e.data[d];fl(n[r]),h.contentQueries(2,t[d],d)}}}finally{le(i)}}}function nf(e,t){return e[Ir]?e[Qi][fi]=t:e[Ir]=t,e[Qi]=t,t}function Np(e,t,n){fl(0);const i=le(null);try{t(e,n)}finally{le(i)}}function rv(e){return e[Ui]||(e[Ui]=[])}function sv(e){return e.cleanup||(e.cleanup=[])}function rf(e,t){const n=e[oi],i=n?n.get(uo,null):null;i&&i.handleError(t)}function Ip(e,t,n,i,r){for(let a=0;a<n.length;){const d=n[a++],h=n[a++],y=n[a++];Q_(e.data[d],t[d],i,h,y,r)}}function sw(e,t){const n=Vs(t,e),i=n[ke];!function ow(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(i,n);const r=n[wt];null!==r&&null===n[Xn]&&(n[Xn]=ya(r,n[oi])),Op(i,n,n[On])}function Op(e,t,n){Xc(t);try{const i=e.viewQuery;null!==i&&Np(1,i,n);const r=e.template;null!==r&&X_(e,t,r,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Lt]?.finishViewCreation(e),e.staticContentQueries&&iv(e,t),e.staticViewQueries&&Np(2,e.viewQuery,n);const a=e.components;null!==a&&function aw(e,t){for(let n=0;n<t.length;n++)sw(e,t[n])}(t,a)}catch(i){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),i}finally{t[dt]&=-5,ka()}}function dc(e,t,n,i){const r=le(null);try{const a=t.tView,y=tf(e,a,n,4096&e[dt]?4096:16,null,t,null,null,i?.injector??null,i?.embeddedViewInjector??null,i?.dehydratedView??null);y[Tt]=e[t.index];const P=e[Lt];return null!==P&&(y[Lt]=P.createEmbeddedView(a)),Op(a,y,n),y}finally{le(r)}}function av(e,t){const n=Di+t;if(n<e.length)return e[n]}function Tl(e,t){return!t||null===t.firstChild||Zl(e)}function fc(e,t,n,i=!0){const r=t[ke];if(function MC(e,t,n,i){const r=Di+i,a=n.length;i>0&&(n[r-1][fi]=t),i<a-Di?(t[fi]=n[r],Vi(n,Di+i,t)):(n.push(t),t[fi]=null),t[En]=n;const d=t[Tt];null!==d&&n!==d&&R_(d,t);const h=t[Lt];null!==h&&h.insertView(e),Uc(t),t[dt]|=128}(r,t,e,n),i){const d=vp(n,e),h=t[tn],y=Zd(h,e[Ni]);null!==y&&function wC(e,t,n,i,r,a){i[wt]=r,i[hi]=t,ef(e,i,n,1,r,a)}(r,e[hi],h,t,y,d)}const a=t[Xn];null!==a&&null!==a.firstChild&&(a.firstChild=null)}function Ap(e,t){const n=Du(e,t);return void 0!==n&&qd(n[ke],n),n}function Tu(e,t,n,i,r=!1){for(;null!==n;){const a=t[n.index];null!==a&&i.push(ei(a)),qr(a)&&lv(a,i);const d=n.type;if(8&d)Tu(e,t,n.child,i);else if(32&d){const h=dp(n,t);let y;for(;y=h();)i.push(y)}else if(16&d){const h=j_(t,n);if(Array.isArray(h))i.push(...h);else{const y=fa(t[_i]);Tu(y[ke],y,h,i,!0)}}n=r?n.projectionNext:n.next}return i}function lv(e,t){for(let n=Di;n<e.length;n++){const i=e[n],r=i[ke].firstChild;null!==r&&Tu(i[ke],i,r,t)}e[Ni]!==e[wt]&&t.push(e[Ni])}let cv=[];const dw={...Ae,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{jl(e.lView)},consumerOnSignalRead(){this.lView[Or]=this}},fw=100;function sf(e,t=!0,n=0){const i=e[Si],r=i.rendererFactory;r.begin?.();try{!function hw(e,t){const n=hh();try{zc(!0),Rp(e,t);let i=0;for(;ul(e);){if(i===fw)throw new Qe(103,!1);i++,Rp(e,1)}}finally{zc(n)}}(e,n)}catch(d){throw t&&rf(e,d),d}finally{r.end?.(),i.inlineEffectRunner?.flush()}}function pw(e,t,n,i){const r=t[dt];if(!(256&~r))return;t[Si].inlineEffectRunner?.flush(),Xc(t);let h=null,y=null;(function gw(e){return 2!==e.type})(e)&&(y=function lw(e){return e[Or]??function cw(e){const t=cv.pop()??Object.create(dw);return t.lView=e,t}(e)}(t),h=function jt(e){return e&&(e.nextProducerIndex=0),le(e)}(y));try{dd(t),function $i(e){return dn.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&X_(e,t,n,2,i);const M=!(3&~r);if(M){const Y=e.preOrderCheckHooks;null!==Y&&qc(t,Y,null)}else{const Y=e.preOrderHooks;null!==Y&&Zc(t,Y,0,null),Dd(t,0)}if(function mw(e){for(let t=Xh(e);null!==t;t=jd(t)){if(!(t[dt]&lo.HasTransplantedViews))continue;const n=t[mr];for(let i=0;i<n.length;i++)ah(n[i])}}(t),dv(t,0),null!==e.contentQueries&&iv(e,t),M){const Y=e.contentCheckHooks;null!==Y&&qc(t,Y)}else{const Y=e.contentHooks;null!==Y&&Zc(t,Y,1),Dd(t,1)}!function FC(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let i=0;i<n.length;i++){const r=n[i];if(r<0)Hs(~r);else{const a=r,d=n[++i],h=n[++i];ph(d,a),h(2,t[a])}}}finally{Hs(-1)}}(e,t);const P=e.components;null!==P&&hv(t,P,0);const G=e.viewQuery;if(null!==G&&Np(2,G,i),M){const Y=e.viewCheckHooks;null!==Y&&qc(t,Y)}else{const Y=e.viewHooks;null!==Y&&Zc(t,Y,2),Dd(t,2)}if(!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[gr]){for(const Y of t[gr])Y();t[gr]=null}t[dt]&=-73}catch(M){throw jl(t),M}finally{null!==y&&(function Mt(e,t){if(le(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(st(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)$e(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}(y,h),function uw(e){e.lView[Or]!==e&&(e.lView=null,cv.push(e))}(y)),ka()}}function dv(e,t){for(let n=Xh(e);null!==n;n=jd(n))for(let i=Di;i<n.length;i++)fv(n[i],t)}function _w(e,t,n){fv(Vs(t,e),n)}function fv(e,t){Vl(e)&&Rp(e,t)}function Rp(e,t){const i=e[ke],r=e[dt],a=e[Or];let d=!!(0===t&&16&r);if(d||=!!(64&r&&0===t),d||=!!(1024&r),d||=!(!a?.dirty||!Kt(a)),d||=!1,a&&(a.dirty=!1),e[dt]&=-9217,d)pw(i,e,i.template,e[On]);else if(8192&r){dv(e,1);const h=i.components;null!==h&&hv(e,h,1)}}function hv(e,t,n){for(let i=0;i<t.length;i++)_w(e,t[i],n)}function Mu(e,t){const n=hh()?64:1088;for(e[Si].changeDetectionScheduler?.notify(t);e;){e[dt]|=n;const i=fa(e);if(ll(e)&&!i)return e;e=i}return null}class Su{get rootNodes(){const t=this._lView,n=t[ke];return Tu(n,t,n.firstChild,[])}constructor(t,n,i=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=i,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[On]}set context(t){this._lView[On]=t}get destroyed(){return!(256&~this._lView[dt])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[En];if(qr(t)){const n=t[8],i=n?n.indexOf(this):-1;i>-1&&(Du(t,i),or(n,i))}this._attachedToViewContainer=!1}qd(this._lView[ke],this._lView)}onDestroy(t){Ul(this._lView,t)}markForCheck(){Mu(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[dt]&=-129}reattach(){Uc(this._lView),this._lView[dt]|=128}detectChanges(){this._lView[dt]|=1024,sf(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Qe(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const t=ll(this._lView),n=this._lView[Tt];null!==n&&!t&&pp(n,this._lView),A_(this._lView[ke],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Qe(902,!1);this._appRef=t;const n=ll(this._lView),i=this._lView[Tt];null!==i&&!n&&R_(i,this._lView),Uc(this._lView)}}let Nu=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=bw}return e})();const vw=Nu,yw=class extends vw{constructor(t,n,i){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=i}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,i){const r=dc(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:i});return new Su(r)}};function bw(){return af(Ei(),Fe())}function af(e,t){return 4&e.type?new yw(t,e,_l(e,t)):null}function mv(e,t,n){const i=t.insertBeforeIndex,r=Array.isArray(i)?i[0]:i;return null===r?L_(e,0,n):ei(n[r])}function _v(e,t,n,i,r){const a=t.insertBeforeIndex;if(Array.isArray(a)){let d=i,h=null;if(3&t.type||(h=d,d=r),null!==d&&-1===t.componentOffset)for(let y=1;y<a.length;y++)wl(e,d,n[a[y]],h,!1)}}function vv(e,t){if(e.push(t),e.length>1)for(let n=e.length-2;n>=0;n--){const i=e[n];yv(i)||Iw(i,t)&&null===Ow(i)&&Aw(i,t.index)}}function yv(e){return!(64&e.type)}function Iw(e,t){return yv(t)||e.index>t.index}function Ow(e){const t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function Aw(e,t){const n=e.insertBeforeIndex;Array.isArray(n)?n[0]=t:(V_(mv,_v),e.insertBeforeIndex=t)}function xw(e,t,n){const i=bp(e,n,64,null,null);return vv(t,i),i}const kw=new RegExp(`^(\\d+)*(${Ci}|${Ai})*(.*)`);function kp(e){return e.index-rt}function xu(e,t,n,i){const r=kp(i);let a=function wv(e,t){const n=e.i18nNodes;if(n)return n.get(t)}(e,r);if(void 0===a){const d=e.data[fs];if(d?.[r])a=function Tv(e,t){const[n,...i]=function Bw(e){const t=e.match(kw),[n,i,r,a]=t,d=i?parseInt(i,10):r,h=[];for(const[y,M,P]of a.matchAll(/(f|n)(\d*)/g)){const G=parseInt(P,10)||1;h.push(M,G)}return[d,...h]}(e);let r;r=n===Ai?t[_i][wt]:n===Ci?function M_(e){return e.ownerDocument.body}(t[_i][wt]):ei(t[Number(n)+rt]);return function Uw(e,t){let n=e;for(let i=0;i<t.length;i+=2){const r=t[i],a=t[i+1];for(let d=0;d<a;d++)switch(r){case er.FirstChild:n=n.firstChild;break;case er.NextSibling:n=n.nextSibling}}return n}(r,i)}(d[r],n);else if(t.firstChild===i)a=e.firstChild;else{const h=null===i.prev,y=i.prev??i.parent;if(function Vw(e){return!e.prev&&8===e.parent?.type}(i))a=pu(e,kp(i.parent));else{let M=Jr(y,n);if(h)a=M.firstChild;else{const P=kp(y),G=pu(e,P);a=2===y.type&&G?uf(ic(e,P)+1,G):M.nextSibling}}}}return a}function uf(e,t){let n=t;for(let i=0;i<e;i++)n=n.nextSibling;return n}let Sv=!1,Nv=()=>{};function t1(e,t,n){for(const i of n.node.cases[n.case]){const r=t.get(i.index-rt);r&&Cu(e,r,!1)}}function Av(e){const t=e[Eo]??[],i=e[En][tn];for(const r of t)n1(r,i);e[Eo]=Fn}function n1(e,t){let n=0,i=e.firstChild;if(i){const r=e.data[qs];for(;n<r;){const a=i.nextSibling;Cu(t,i,!1),i=a,n++}}}function Rv(e){Av(e);for(let t=Di;t<e.length;t++)df(e[t])}function df(e){!function e1(e){const t=e[Xn];if(t){const{i18nNodes:n,dehydratedIcuData:i}=t;if(n&&i){const r=e[tn];for(const a of i.values())t1(r,n,a)}t.i18nNodes=void 0,t.dehydratedIcuData=void 0}}(e);const t=e[ke];for(let n=rt;n<t.bindingStartIndex;n++)qr(e[n])?Rv(e[n]):wr(e[n])&&df(e[n])}let Pv=()=>null;function s1(e,t){const n=e[Eo];return t&&null!==n&&0!==n.length?n[0].data[Vo]===t?n.shift():(Av(e),null):null}function Sl(e,t){return Pv(e,t)}class pc{}const ku=new At("",{providedIn:"root",factory:()=>!1}),xv=new At("");class a1{}class Fv{}class c1{resolveComponentFactory(t){throw function l1(e){const t=Error(`No component factory found for ${rn(e)}.`);return t.ngComponent=e,t}(t)}}class ff{static#e=this.NULL=new c1}class Hp{}let u1=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function d1(){const e=Fe(),n=Vs(Ei().index,e);return(wr(n)?n:e)[tn]}()}return e})(),f1=(()=>{class e{static#e=this.\u0275prov=Pt({token:e,providedIn:"root",factory:()=>null})}return e})();const $p={},Lv=new Set;function Js(e){Lv.has(e)||(Lv.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function Bv(e){let t=!0;return setTimeout(()=>{t&&(t=!1,e())}),"function"==typeof Rt.requestAnimationFrame&&Rt.requestAnimationFrame(()=>{t&&(t=!1,e())}),()=>{t=!1}}function Vv(e){let t=!0;return queueMicrotask(()=>{t&&e()}),()=>{t=!1}}function jv(...e){}class tr{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Bo(!1),this.onMicrotaskEmpty=new Bo(!1),this.onStable=new Bo(!1),this.onError=new Bo(!1),typeof Zone>"u")throw new Qe(908,!1);Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!i&&n,r.shouldCoalesceRunChangeDetection=i,r.callbackScheduled=!1,function g1(e){const t=()=>{!function p1(e){e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,Zone.root.run(()=>{Bv(()=>{e.callbackScheduled=!1,Wp(e),e.isCheckStableRunning=!0,Gp(e),e.isCheckStableRunning=!1})}),Wp(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,i,r,a,d,h)=>{if(function m1(e){return $v(e,"__ignore_ng_zone__")}(h))return n.invokeTask(r,a,d,h);try{return Uv(e),n.invokeTask(r,a,d,h)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===a.type||e.shouldCoalesceRunChangeDetection)&&t(),Hv(e)}},onInvoke:(n,i,r,a,d,h,y)=>{try{return Uv(e),n.invoke(r,a,d,h,y)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!function _1(e){return $v(e,"__scheduler_tick__")}(h)&&t(),Hv(e)}},onHasTask:(n,i,r,a)=>{n.hasTask(r,a),i===r&&("microTask"==a.change?(e._hasPendingMicrotasks=a.microTask,Wp(e),Gp(e)):"macroTask"==a.change&&(e.hasPendingMacrotasks=a.macroTask))},onHandleError:(n,i,r,a)=>(n.handleError(r,a),e.runOutsideAngular(()=>e.onError.emit(a)),!1)})}(r)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!tr.isInAngularZone())throw new Qe(909,!1)}static assertNotInAngularZone(){if(tr.isInAngularZone())throw new Qe(909,!1)}run(t,n,i){return this._inner.run(t,n,i)}runTask(t,n,i,r){const a=this._inner,d=a.scheduleEventTask("NgZoneEvent: "+r,t,h1,jv,jv);try{return a.runTask(d,n,i)}finally{a.cancelTask(d)}}runGuarded(t,n,i){return this._inner.runGuarded(t,n,i)}runOutsideAngular(t){return this._outer.run(t)}}const h1={};function Gp(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 Wp(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&!0===e.callbackScheduled)}function Uv(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Hv(e){e._nesting--,Gp(e)}class zp{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Bo,this.onMicrotaskEmpty=new Bo,this.onStable=new Bo,this.onError=new Bo}run(t,n,i){return t.apply(n,i)}runGuarded(t,n,i){return t.apply(n,i)}runOutsideAngular(t){return t()}runTask(t,n,i,r){return t.apply(n,i)}}function $v(e,t){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0]?.data?.[t]}var Nl=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Nl||{});const Gv={destroy(){}};function Wv(e,t){!t&&g();const n=t?.injector??$(jr);if(!wo(n))return Gv;Js("NgAfterNextRender");const i=n.get(Lu),r=i.handler??=new Kv,a=t?.phase??Nl.MixedReadWrite,d=()=>{r.unregister(y),h()},h=n.get($a).onDestroy(d),y=k(n,()=>new zv(a,()=>{d(),e()}));return r.register(y),{destroy:d}}class zv{constructor(t,n){this.phase=t,this.callbackFn=n,this.zone=$(tr),this.errorHandler=$(uo,{optional:!0}),$(pc,{optional:!0})?.notify(6)}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(t){this.errorHandler?.handleError(t)}}}class Kv{constructor(){this.executingCallbacks=!1,this.buckets={[Nl.EarlyRead]:new Set,[Nl.Write]:new Set,[Nl.MixedReadWrite]:new Set,[Nl.Read]:new Set},this.deferredCallbacks=new Set}register(t){(this.executingCallbacks?this.deferredCallbacks:this.buckets[t.phase]).add(t)}unregister(t){this.buckets[t.phase].delete(t),this.deferredCallbacks.delete(t)}execute(){this.executingCallbacks=!0;for(const t of Object.values(this.buckets))for(const n of t)n.invoke();this.executingCallbacks=!1;for(const t of this.deferredCallbacks)this.buckets[t.phase].add(t);this.deferredCallbacks.clear()}destroy(){for(const t of Object.values(this.buckets))t.clear();this.deferredCallbacks.clear()}}let Lu=(()=>{class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){const n=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const i of n)i()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=Pt({token:e,providedIn:"root",factory:()=>new e})}return e})();function Za(e){return!!cr(e)}function pf(e,t,n){let i=n?e.styles:null,r=n?e.classes:null,a=0;if(null!==t)for(let d=0;d<t.length;d++){const h=t[d];"number"==typeof h?a=h:1==a?r=In(r,h):2==a&&(i=In(i,h+": "+t[++d]+";"))}n?e.styles=i:e.stylesWithoutHost=i,n?e.classes=r:e.classesWithoutHost=r}class Yv extends ff{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=Dn(t);return new ju(n,this.ngModule)}}function qv(e){const t=[];for(const n in e){if(!e.hasOwnProperty(n))continue;const i=e[n];void 0!==i&&t.push({propName:Array.isArray(i)?i[0]:i,templateName:n})}return t}class gf{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,i){i=de(i);const r=this.injector.get(t,$p,i);return r!==$p||n===$p?r:this.parentInjector.get(t,n,i)}}class ju extends Fv{get inputs(){const t=this.componentDef,n=t.inputTransforms,i=qv(t.inputs);if(null!==n)for(const r of i)n.hasOwnProperty(r.propName)&&(r.transform=n[r.propName]);return i}get outputs(){return qv(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function as(e){return e.map(ys).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,i,r){const a=le(null);try{let d=(r=r||this.ngModule)instanceof ls?r:r?.injector;d&&null!==this.componentDef.getStandaloneInjector&&(d=this.componentDef.getStandaloneInjector(d)||d);const h=d?new gf(t,d):t,y=h.get(Hp,null);if(null===y)throw new Qe(407,!1);const M=h.get(f1,null),Y={rendererFactory:y,sanitizer:M,inlineEffectRunner:null,afterRenderEventManager:h.get(Lu,null),changeDetectionScheduler:h.get(pc,null)},se=y.createRenderer(null,this.componentDef),ve=this.componentDef.selectors[0][0]||"div",Re=i?function LC(e,t,n,i){const a=i.get(s_,!1)||n===Cr.ShadowDom,d=e.selectRootElement(t,a);return function BC(e){q_(e)}(d),d}(se,i,this.componentDef.encapsulation,h):Yd(se,ve,function E1(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(ve));let Ye=512;this.componentDef.signals?Ye|=4096:this.componentDef.onPush||(Ye|=16);let at=null;null!==Re&&(at=ya(Re,h,!0));const je=wp(0,null,null,1,0,null,null,null,null,null,null),an=tf(null,je,null,Ye,null,null,Y,se,h,null,at);let ii,Fi;Xc(an);try{const ns=this.componentDef;let to,Vc=null;ns.findHostDirectiveDefs?(to=[],Vc=new Map,ns.findHostDirectiveDefs(ns,to,Vc),to.push(ns)):to=[ns];const NE=function w1(e,t){const n=e[ke],i=rt;return e[i]=t,uc(n,i,2,"#host",null)}(an,Re),MO=function T1(e,t,n,i,r,a,d){const h=r[ke];!function M1(e,t,n,i){for(const r of e)t.mergedAttrs=ro(t.mergedAttrs,r.hostAttrs);null!==t.mergedAttrs&&(pf(t,t.mergedAttrs,!0),null!==n&&G_(i,n,t))}(i,e,t,d);let y=null;null!==t&&(y=ya(t,r[oi]));const M=a.rendererFactory.createRenderer(t,n);let P=16;n.signals?P=4096:n.onPush&&(P=64);const G=tf(r,Y_(n),null,P,r[e.index],e,a,M,null,null,y);return h.firstCreatePass&&Mp(h,e,i.length-1),nf(r,G),r[e.index]=G}(NE,Re,ns,to,an,Y,se);Fi=Ra(je,rt),Re&&function N1(e,t,n,i){if(i)lr(e,n,["ng-version","18.0.1"]);else{const{attrs:r,classes:a}=function Ca(e){const t=[],n=[];let i=1,r=2;for(;i<e.length;){let a=e[i];if("string"==typeof a)2===r?""!==a&&t.push(a,e[++i]):8===r&&n.push(a);else{if(!O(r))break;r=a}i++}return{attrs:t,classes:n}}(t.selectors[0]);r&&lr(e,n,r),a&&a.length>0&&$_(e,n,a.join(" "))}}(se,ns,Re,i),void 0!==n&&function I1(e,t,n){const i=e.projection=[];for(let r=0;r<t.length;r++){const a=n[r];i.push(null!=a?Array.from(a):null)}}(Fi,this.ngContentSelectors,n),ii=function S1(e,t,n,i,r,a){const d=Ei(),h=r[ke],y=Jr(d,r);ev(h,r,d,n,null,i);for(let P=0;P<n.length;P++)ds(_a(r,h,d.directiveStart+P,d),r);tv(h,r,d),y&&ds(y,r);const M=_a(r,h,d.directiveStart+d.componentOffset,d);if(e[On]=r[On]=M,null!==a)for(const P of a)P(M,t);return Dp(h,d,r),M}(MO,ns,to,Vc,an,[O1]),Op(je,an,null)}finally{ka()}return new C1(this.componentType,ii,_l(Fi,an),an,Fi)}finally{le(a)}}}class C1 extends a1{constructor(t,n,i,r,a){super(),this.location=i,this._rootLView=r,this._tNode=a,this.previousInputValues=null,this.instance=n,this.hostView=this.changeDetectorRef=new Su(r,void 0,!1),this.componentType=t}setInput(t,n){const i=this._tNode.inputs;let r;if(null!==i&&(r=i[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;const a=this._rootLView;Ip(a[ke],a,r,t,n),this.previousInputValues.set(t,n),Mu(Vs(this._tNode.index,a),1)}}get injector(){return new xr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function O1(){const e=Ei();Yc(Fe()[ke],e)}let mf=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=A1}return e})();function A1(){return ey(Ei(),Fe())}const R1=mf,Zv=class extends R1{constructor(t,n,i){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=i}get element(){return _l(this._hostTNode,this._hostLView)}get injector(){return new xr(this._hostTNode,this._hostLView)}get parentInjector(){const t=ma(this._hostTNode,this._hostLView);if(eu(t)){const n=zl(t,this._hostLView),i=Wl(t);return new xr(n[ke].data[i+8],n)}return new xr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Jv(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-Di}createEmbeddedView(t,n,i){let r,a;"number"==typeof i?r=i:null!=i&&(r=i.index,a=i.injector);const d=Sl(this._lContainer,t.ssrId),h=t.createEmbeddedViewImpl(n||{},a,d);return this.insertImpl(h,r,Tl(this._hostTNode,d)),h}createComponent(t,n,i,r,a){const d=t&&!function J(e){return"function"==typeof e}(t);let h;if(d)h=n;else{const ve=n||{};h=ve.index,i=ve.injector,r=ve.projectableNodes,a=ve.environmentInjector||ve.ngModuleRef}const y=d?t:new ju(Dn(t)),M=i||this.parentInjector;if(!a&&null==y.ngModule){const Re=(d?M:this.parentInjector).get(ls,null);Re&&(a=Re)}const P=Dn(y.componentType??{}),G=Sl(this._lContainer,P?.id??null),se=y.create(M,r,G?.firstChild??null,a);return this.insertImpl(se.hostView,h,Tl(this._hostTNode,G)),se}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,i){const r=t._lView;if(function ud(e){return qr(e[En])}(r)){const h=this.indexOf(t);if(-1!==h)this.detach(h);else{const y=r[En],M=new Zv(y,y[hi],y[En]);M.detach(M.indexOf(t))}}const a=this._adjustIndex(n),d=this._lContainer;return fc(d,r,a,i),t.attachToViewContainerRef(),Vi(Yp(d),a,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=Jv(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),i=Du(this._lContainer,n);i&&(or(Yp(this._lContainer),n),qd(i[ke],i))}detach(t){const n=this._adjustIndex(t,-1),i=Du(this._lContainer,n);return i&&null!=or(Yp(this._lContainer),n)?new Su(i):null}_adjustIndex(t,n=0){return t??this.length+n}};function Jv(e){return e[8]}function Yp(e){return e[8]||(e[8]=[])}function ey(e,t){let n;const i=t[e.index];return qr(i)?n=i:(n=nv(i,t,null,e),t[e.index]=n,nf(t,n)),ty(n,t,e,i),new Zv(n,e,t)}let ty=iy,qp=()=>!1;function iy(e,t,n,i){if(e[Ni])return;let r;r=8&n.type?ei(i):function P1(e,t){const n=e[tn],i=n.createComment(""),r=Jr(t,e);return wl(n,Zd(n,r),i,function OC(e,t){return e.nextSibling(t)}(n,r),!1),i}(t,n),e[Ni]=r}function x1(e,t,n){if(e[Ni]&&e[Eo])return!0;const i=n[Xn],r=t.index-rt;if(!i||function cu(e){if(Zl(e))return!0;let t=e.parent;for(;t;){if(Zl(e)||Bh(t))return!0;t=t.parent}return!1}(t)||Ya(i,r))return!1;const d=pu(i,r),h=i.data[Ds]?.[r],[y,M]=function r1(e,t){const n=[];for(const i of t)for(let r=0;r<(i[Hr]??1);r++){const a={data:i,firstChild:null};i[qs]>0&&(a.firstChild=e,e=uf(i[qs],e)),n.push(a)}return[e,n]}(d,h);return e[Ni]=y,e[Eo]=M,!0}function F1(e,t,n,i){qp(e,n,t)||iy(e,t,n,i)}class Zp{constructor(t){this.queryList=t,this.matches=null}clone(){return new Zp(this.queryList)}setDirty(){this.queryList.setDirty()}}class Jp{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const i=null!==t.contentQueries?t.contentQueries[0]:n.length,r=[];for(let a=0;a<i;a++){const d=n.getByIndex(a);r.push(this.queries[d.indexInDeclarationView].clone())}return new Jp(r)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==rg(t,n).matches&&this.queries[n].setDirty()}}class ry{constructor(t,n,i=null){this.flags=n,this.read=i,this.predicate="string"==typeof t?function U1(e){return e.split(",").map(t=>t.trim())}(t):t}}class eg{constructor(t=[]){this.queries=t}elementStart(t,n){for(let i=0;i<this.queries.length;i++)this.queries[i].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 i=0;i<this.length;i++){const r=null!==n?n.length:0,a=this.getByIndex(i).embeddedTView(t,r);a&&(a.indexInDeclarationView=i,null!==n?n.push(a):n=[a])}return null!==n?new eg(n):null}template(t,n){for(let i=0;i<this.queries.length;i++)this.queries[i].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class tg{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 tg(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1&~this.metadata.flags){const n=this._declarationNodeIndex;let i=t.parent;for(;null!==i&&8&i.type&&i.index!==n;)i=i.parent;return n===(null!==i?i.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const i=this.metadata.predicate;if(Array.isArray(i))for(let r=0;r<i.length;r++){const a=i[r];this.matchTNodeWithReadOption(t,n,L1(n,a)),this.matchTNodeWithReadOption(t,n,gl(n,t,a,!1,!1))}else i===Nu?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,gl(n,t,i,!1,!1))}matchTNodeWithReadOption(t,n,i){if(null!==i){const r=this.metadata.read;if(null!==r)if(r===vl||r===mf||r===Nu&&4&n.type)this.addMatch(n.index,-2);else{const a=gl(n,t,r,!1,!1);null!==a&&this.addMatch(n.index,a)}else this.addMatch(n.index,i)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function L1(e,t){const n=e.localNames;if(null!==n)for(let i=0;i<n.length;i+=2)if(n[i]===t)return n[i+1];return null}function V1(e,t,n,i){return-1===n?function B1(e,t){return 11&e.type?_l(e,t):4&e.type?af(e,t):null}(t,e):-2===n?function j1(e,t,n){return n===vl?_l(t,e):n===Nu?af(t,e):n===mf?ey(t,e):void 0}(e,t,i):_a(e,e[ke],n,t)}function sy(e,t,n,i){const r=t[Lt].queries[i];if(null===r.matches){const a=e.data,d=n.matches,h=[];for(let y=0;null!==d&&y<d.length;y+=2){const M=d[y];h.push(M<0?null:V1(t,a[M],d[y+1],n.metadata.read))}r.matches=h}return r.matches}function ng(e,t,n,i){const r=e.queries.getByIndex(n),a=r.matches;if(null!==a){const d=sy(e,t,r,n);for(let h=0;h<a.length;h+=2){const y=a[h];if(y>0)i.push(d[h/2]);else{const M=a[h+1],P=t[-y];for(let G=Di;G<P.length;G++){const Y=P[G];Y[Tt]===Y[En]&&ng(Y[ke],Y,M,i)}if(null!==P[mr]){const G=P[mr];for(let Y=0;Y<G.length;Y++){const se=G[Y];ng(se[ke],se,M,i)}}}}}return i}function oy(e,t,n){const i=new Ld(!(4&~n));return function UC(e,t,n,i){const r=rv(t);r.push(n),e.firstCreatePass&&sv(e).push(i,r.length-1)}(e,t,i,i.destroy),(t[Lt]??=new Jp).queries.push(new Zp(i))-1}function cy(e,t,n){null===e.queries&&(e.queries=new eg),e.queries.track(new tg(t,n))}function rg(e,t){return e.queries.getByIndex(t)}function uy(e,t){const n=e[ke],i=rg(n,t);return i.crossesNgTemplate?ng(n,e,t,[]):sy(n,e,i,t)}function fy(e,t){Js("NgSignals");const n=function be(e){const t=Object.create(oe);t.value=e;const n=()=>(Me(t),t.value);return n[X]=t,n}(e),i=n[X];return t?.equal&&(i.equal=t.equal),n.set=r=>U(i,r),n.update=r=>function ne(e,t){We()||wi(),U(e,t(e.value))}(i,r),n.asReadonly=hy.bind(n),n}function hy(){const e=this[X];if(void 0===e.readonlyFn){const t=()=>this();t[X]=e,e.readonlyFn=t}return e.readonlyFn}function og(e){let t=function Ty(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const i=[e];for(;t;){let r;if(cs(e))r=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Qe(903,!1);r=t.\u0275dir}if(r){if(n){i.push(r);const d=e;d.inputs=vf(e.inputs),d.inputTransforms=vf(e.inputTransforms),d.declaredInputs=vf(e.declaredInputs),d.outputs=vf(e.outputs);const h=r.hostBindings;h&&nT(e,h);const y=r.viewQuery,M=r.contentQueries;if(y&&eT(e,y),M&&tT(e,M),Z1(e,r),Wi(e.outputs,r.outputs),cs(r)&&r.data.animation){const P=e.data;P.animation=(P.animation||[]).concat(r.data.animation)}}const a=r.features;if(a)for(let d=0;d<a.length;d++){const h=a[d];h&&h.ngInherit&&h(e),h===og&&(n=!1)}}t=Object.getPrototypeOf(t)}!function J1(e){let t=0,n=null;for(let i=e.length-1;i>=0;i--){const r=e[i];r.hostVars=t+=r.hostVars,r.hostAttrs=ro(r.hostAttrs,n=ro(n,r.hostAttrs))}}(i)}function Z1(e,t){for(const n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;const i=t.inputs[n];if(void 0!==i&&(e.inputs[n]=i,e.declaredInputs[n]=t.declaredInputs[n],null!==t.inputTransforms)){const r=Array.isArray(i)?i[0]:i;if(!t.inputTransforms.hasOwnProperty(r))continue;e.inputTransforms??={},e.inputTransforms[r]=t.inputTransforms[r]}}}function vf(e){return e===Br?{}:e===Fn?[]:e}function eT(e,t){const n=e.viewQuery;e.viewQuery=n?(i,r)=>{t(i,r),n(i,r)}:t}function tT(e,t){const n=e.contentQueries;e.contentQueries=n?(i,r,a)=>{t(i,r,a),n(i,r,a)}:t}function nT(e,t){const n=e.hostBindings;e.hostBindings=n?(i,r)=>{t(i,r),n(i,r)}:t}function My(e){const t=n=>{const i=(Array.isArray(e)?e:e()).map(r=>"function"==typeof r?{directive:vt(r),inputs:Br,outputs:Br}:{directive:vt(r.directive),inputs:Ny(r.inputs),outputs:Ny(r.outputs)});null===n.hostDirectives?(n.findHostDirectiveDefs=Sy,n.hostDirectives=i):n.hostDirectives.unshift(...i)};return t.ngInherit=!0,t}function Sy(e,t,n){if(null!==e.hostDirectives)for(const i of e.hostDirectives){const r=Zi(i.directive);oT(r.declaredInputs,i.inputs),Sy(r,t,n),n.set(r,i),t.push(r)}}function Ny(e){if(void 0===e||0===e.length)return Br;const t={};for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function oT(e,t){for(const n in t)t.hasOwnProperty(n)&&(e[t[n]]=e[n])}function Oy(e){const t=e.inputConfig,n={};for(const i in t)if(t.hasOwnProperty(i)){const r=t[i];Array.isArray(r)&&r[3]&&(n[i]=r[3])}e.inputTransforms=n}class Il{}class Ay{}function aT(e,t){return new ag(e,t??null,[])}class ag extends Il{constructor(t,n,i){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Yv(this);const r=cr(t);this._bootstrapComponents=fo(r.bootstrap),this._r3Injector=au(t,n,[{provide:Il,useValue:this},{provide:ff,useValue:this.componentFactoryResolver},...i],rn(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 lg extends Ay{constructor(t){super(),this.moduleType=t}create(t){return new ag(this.moduleType,t,[])}}class Ry extends Il{constructor(t){super(),this.componentFactoryResolver=new Yv(this),this.instance=null;const n=new Xs([...t.providers,{provide:Il,useValue:this},{provide:ff,useValue:this.componentFactoryResolver}],t.parent||qo(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function cg(e,t,n=null){return new Ry({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}let Ol=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new gn.t(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=Pt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function bf(e){return!!ug(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function ug(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function sa(e,t,n){return e[t]=n}function Fr(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Al(e,t,n,i){const r=Fr(e,t,n);return Fr(e,t+1,i)||r}function mc(e){return!(32&~e.flags)}function $u(e,t,n,i,r,a,d,h,y,M){const P=n+rt,G=t.firstCreatePass?function pT(e,t,n,i,r,a,d,h,y){const M=t.consts,P=uc(t,e,4,d||null,h||null);Tp(t,n,P,js(M,y)),Yc(t,P);const G=P.tView=wp(2,P,i,r,a,t.directiveRegistry,t.pipeRegistry,null,t.schemas,M,null);return null!==t.queries&&(t.queries.template(t,P),G.queries=t.queries.embeddedTView(P)),P}(P,t,e,i,r,a,d,h,y):t.data[P];ko(G,!1);const Y=xy(t,e,G,n);Gl()&&Jd(t,e,Y,G),ds(Y,e);const se=nv(Y,e,Y,G);return e[P]=se,nf(e,se),function ny(e,t,n){return qp(e,t,n)}(se,G,e),da(G)&&Ep(t,e,G),null!=y&&Cp(e,G,M),G}function dg(e,t,n,i,r,a,d,h){const y=Fe(),M=Hn();return $u(y,M,e,t,n,i,r,js(M.consts,a),d,h),dg}let xy=Fy;function Fy(e,t,n,i){return Lo(!0),t[tn].createComment("")}function gT(e,t,n,i){const r=t[Xn],a=!r||ha()||mc(n)||Ya(r,i);if(Lo(a),a)return Fy(0,t);const d=r.data[Ur]?.[i]??null;null!==d&&null!==n.tView&&null===n.tView.ssrId&&(n.tView.ssrId=d);const h=xu(r,e,t,n);return tc(r,i,h),uf(ic(r,i),h)}function Dg(e,t,n,i){const r=Fe();return Fr(r,Us(),t)&&(Hn(),ra(Oi(),r,e,t,n,i)),Dg}function wc(e,t,n,i){return Fr(e,Us(),n)?t+Ze(n)+i:Sn}function Sf(e,t){return e<<17|t<<2}function tl(e){return e>>17&32767}function Eg(e){return 2|e}function Pl(e){return(131068&e)>>2}function Cg(e,t){return-131069&e|t<<2}function wg(e){return 1|e}function h0(e,t,n,i){const r=e[n+1],a=null===t;let d=i?tl(r):Pl(r),h=!1;for(;0!==d&&(!1===h||a);){const M=e[d+1];eM(e[d],t)&&(h=!0,e[d+1]=i?wg(M):Eg(M)),d=i?tl(M):Pl(M)}h&&(e[n+1]=i?Eg(r):wg(r))}function eM(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&_s(e,t)>=0}const es={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function p0(e){return e.substring(es.key,es.keyEnd)}function g0(e,t){const n=es.textEnd;return n===t?-1:(t=es.keyEnd=function rM(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,es.key=t,n),Rc(e,t,n))}function Rc(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Tg(e,t,n){const i=Fe();return Fr(i,Us(),t)&&Zs(Hn(),Oi(),i,e,t,i[tn],n,!1),Tg}function Mg(e,t,n,i,r){const d=r?"class":"style";Ip(e,n,t.inputs[d],d,i)}function Sg(e,t){return function jo(e,t,n,i){const r=Fe(),a=Hn(),d=Co(2);a.firstUpdatePass&&C0(a,e,d,i),t!==Sn&&Fr(r,d,t)&&T0(a,a.data[Pr()],r,r[tn],e,r[d+1]=function gM(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=rn(qa(e)))),e}(t,n),i,d)}(e,t,null,!0),Sg}function D0(e){Uo(hM,aa,e,!0)}function aa(e,t){for(let n=function nM(e){return function _0(e){es.key=0,es.keyEnd=0,es.value=0,es.valueEnd=0,es.textEnd=e.length}(e),g0(e,Rc(e,0,es.textEnd))}(t);n>=0;n=g0(t,n))Sr(e,p0(t),!0)}function Uo(e,t,n,i){const r=Hn(),a=Co(2);r.firstUpdatePass&&C0(r,null,a,i);const d=Fe();if(n!==Sn&&Fr(d,a,n)){const h=r.data[Pr()];if(S0(h,i)&&!E0(r,a)){let y=i?h.classesWithoutHost:h.stylesWithoutHost;null!==y&&(n=In(y,n||"")),Mg(r,h,d,n,i)}else!function pM(e,t,n,i,r,a,d,h){r===Sn&&(r=Fn);let y=0,M=0,P=0<r.length?r[0]:null,G=0<a.length?a[0]:null;for(;null!==P||null!==G;){const Y=y<r.length?r[y+1]:void 0,se=M<a.length?a[M+1]:void 0;let Re,ve=null;P===G?(y+=2,M+=2,Y!==se&&(ve=G,Re=se)):null===G||null!==P&&P<G?(y+=2,ve=P):(M+=2,ve=G,Re=se),null!==ve&&T0(e,t,n,i,ve,Re,d,h),P=y<r.length?r[y]:null,G=M<a.length?a[M]:null}}(r,h,d,d[tn],d[a+1],d[a+1]=function fM(e,t,n){if(null==n||""===n)return Fn;const i=[],r=qa(n);if(Array.isArray(r))for(let a=0;a<r.length;a++)e(i,r[a],!0);else if("object"==typeof r)for(const a in r)r.hasOwnProperty(a)&&e(i,a,r[a]);else"string"==typeof r&&t(i,r);return i}(e,t,n),i,a)}}function E0(e,t){return t>=e.expandoStartIndex}function C0(e,t,n,i){const r=e.data;if(null===r[n+1]){const a=r[Pr()],d=E0(e,n);S0(a,i)&&null===t&&!d&&(t=!1),t=function lM(e,t,n,i){const r=function pa(e){const t=dn.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let a=i?t.residualClasses:t.residualStyles;if(null===r)0===(i?t.classBindings:t.styleBindings)&&(n=Ku(n=Ng(null,e,t,n,i),t.attrs,i),a=null);else{const d=t.directiveStylingLast;if(-1===d||e[d]!==r)if(n=Ng(r,e,t,n,i),null===a){let y=function cM(e,t,n){const i=n?t.classBindings:t.styleBindings;if(0!==Pl(i))return e[tl(i)]}(e,t,i);void 0!==y&&Array.isArray(y)&&(y=Ng(null,e,t,y[1],i),y=Ku(y,t.attrs,i),function uM(e,t,n,i){e[tl(n?t.classBindings:t.styleBindings)]=i}(e,t,i,y))}else a=function dM(e,t,n){let i;const r=t.directiveEnd;for(let a=1+t.directiveStylingLast;a<r;a++)i=Ku(i,e[a].hostAttrs,n);return Ku(i,t.attrs,n)}(e,t,i)}return void 0!==a&&(i?t.residualClasses=a:t.residualStyles=a),n}(r,a,t,i),function ZT(e,t,n,i,r,a){let d=a?t.classBindings:t.styleBindings,h=tl(d),y=Pl(d);e[i]=n;let P,M=!1;if(Array.isArray(n)?(P=n[1],(null===P||_s(n,P)>0)&&(M=!0)):P=n,r)if(0!==y){const Y=tl(e[h+1]);e[i+1]=Sf(Y,h),0!==Y&&(e[Y+1]=Cg(e[Y+1],i)),e[h+1]=function YT(e,t){return 131071&e|t<<17}(e[h+1],i)}else e[i+1]=Sf(h,0),0!==h&&(e[h+1]=Cg(e[h+1],i)),h=i;else e[i+1]=Sf(y,0),0===h?h=i:e[y+1]=Cg(e[y+1],i),y=i;M&&(e[i+1]=Eg(e[i+1])),h0(e,P,i,!0),h0(e,P,i,!1),function JT(e,t,n,i,r){const a=r?e.residualClasses:e.residualStyles;null!=a&&"string"==typeof t&&_s(a,t)>=0&&(n[i+1]=wg(n[i+1]))}(t,P,e,i,a),d=Sf(h,y),a?t.classBindings=d:t.styleBindings=d}(r,a,t,n,d,i)}}function Ng(e,t,n,i,r){let a=null;const d=n.directiveEnd;let h=n.directiveStylingLast;for(-1===h?h=n.directiveStart:h++;h<d&&(a=t[h],i=Ku(i,a.hostAttrs,r),a!==e);)h++;return null!==e&&(n.directiveStylingLast=h),i}function Ku(e,t,n){const i=n?1:2;let r=-1;if(null!==t)for(let a=0;a<t.length;a++){const d=t[a];"number"==typeof d?r=d:r===i&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Sr(e,d,!!n||t[++a]))}return void 0===e?null:e}function hM(e,t,n){const i=String(t);""!==i&&!i.includes(" ")&&Sr(e,i,n)}function T0(e,t,n,i,r,a,d,h){if(!(3&t.type))return;const y=e.data,M=y[h+1],P=function qT(e){return!(1&~e)}(M)?M0(y,t,n,r,Pl(M),d):void 0;Nf(P)||(Nf(a)||function XT(e){return!(2&~e)}(M)&&(a=M0(y,null,n,r,h,d)),function PC(e,t,n,i,r){if(t)r?e.addClass(n,i):e.removeClass(n,i);else{let a=-1===i.indexOf("-")?void 0:Xd.DashCase;null==r?e.removeStyle(n,i,a):("string"==typeof r&&r.endsWith("!important")&&(r=r.slice(0,-10),a|=Xd.Important),e.setStyle(n,i,r,a))}}(i,d,Aa(Pr(),n),r,a))}function M0(e,t,n,i,r,a){const d=null===t;let h;for(;r>0;){const y=e[r],M=Array.isArray(y),P=M?y[1]:y,G=null===P;let Y=n[r+1];Y===Sn&&(Y=G?Fn:void 0);let se=G?ar(Y,i):P===i?Y:void 0;if(M&&!Nf(se)&&(se=ar(y,i)),Nf(se)&&(h=se,d))return h;const ve=e[r+1];r=d?tl(ve):Pl(ve)}if(null!==t){let y=a?t.residualClasses:t.residualStyles;null!=y&&(h=ar(y,i))}return h}function Nf(e){return void 0!==e}function S0(e,t){return!!(e.flags&(t?8:16))}function N0(e,t,n){Uo(Sr,aa,wc(Fe(),e,t,n),!0)}class TM{destroy(t){}updateValue(t,n){}swap(t,n){const i=Math.min(t,n),r=Math.max(t,n),a=this.detach(r);if(r-i>1){const d=this.detach(i);this.attach(i,a),this.attach(r,d)}else this.attach(i,a)}move(t,n){this.attach(n,this.detach(t))}}function Ig(e,t,n,i,r){return e===n&&Object.is(t,i)?1:Object.is(r(e,t),r(n,i))?-1:0}function Og(e,t,n,i){return!(void 0===t||!t.has(i)||(e.attach(n,t.get(i)),t.delete(i),0))}function I0(e,t,n,i,r){if(Og(e,t,i,n(i,r)))e.updateValue(i,r);else{const a=e.create(i,r);e.attach(i,a)}}function O0(e,t,n,i){const r=new Set;for(let a=t;a<=n;a++)r.add(i(a,e.at(a)));return r}class A0{constructor(){this.kvMap=new Map,this._vMap=void 0}has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;const n=this.kvMap.get(t);return void 0!==this._vMap&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let i=this.kvMap.get(t);void 0===this._vMap&&(this._vMap=new Map);const r=this._vMap;for(;r.has(i);)i=r.get(i);r.set(i,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,i]of this.kvMap)if(t(i,n),void 0!==this._vMap){const r=this._vMap;for(;r.has(i);)i=r.get(i),t(i,n)}}}function R0(e,t){Js("NgControlFlow");const n=Fe(),i=Us(),r=n[i]!==Sn?n[i]:-1,a=-1!==r?If(n,rt+r):void 0;if(Fr(n,i,e)){const h=le(null);try{if(void 0!==a&&Ap(a,0),-1!==e){const y=rt+e,M=If(n,y),P=Ag(n[ke],y),G=Sl(M,P.tView.ssrId);fc(M,dc(n,P,t,{dehydratedView:G}),0,Tl(P,G))}}finally{le(h)}}else if(void 0!==a){const h=av(a,0);void 0!==h&&(h[On]=t)}}class SM{constructor(t,n,i){this.lContainer=t,this.$implicit=n,this.$index=i}get $count(){return this.lContainer.length-Di}}function P0(e){return e}function x0(e,t){return t}class NM{constructor(t,n,i){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=i}}function F0(e,t,n,i,r,a,d,h,y,M,P,G,Y){Js("NgControlFlow");const se=Fe(),ve=Hn(),Re=void 0!==y,Ye=Fe(),at=h?d.bind(Ye[_i][On]):d,je=new NM(Re,at);Ye[rt+e]=je,$u(se,ve,e+1,t,n,i,r,js(ve.consts,a)),Re&&$u(se,ve,e+2,y,M,P,G,js(ve.consts,Y))}class IM extends TM{constructor(t,n,i){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=i,this.operationsCounter=void 0,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-Di}at(t){return this.getLView(t)[On].$implicit}attach(t,n){const i=n[Xn];this.needsIndexUpdate||=t!==this.length,fc(this.lContainer,n,t,Tl(this.templateTNode,i))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,function OM(e,t){return Du(e,t)}(this.lContainer,t)}create(t,n){const i=Sl(this.lContainer,this.templateTNode.tView.ssrId),r=dc(this.hostLView,this.templateTNode,new SM(this.lContainer,n,t),{dehydratedView:i});return this.operationsCounter?.recordCreate(),r}destroy(t){qd(t[ke],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[On].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[On].$index=t}getLView(t){return function AM(e,t){return av(e,t)}(this.lContainer,t)}}function k0(e){const t=le(null),n=Pr();try{const i=Fe(),r=i[ke],a=i[n],d=n+1,h=If(i,d);if(void 0===a.liveCollection){const M=Ag(r,d);a.liveCollection=new IM(h,i,M)}else a.liveCollection.reset();const y=a.liveCollection;if(function MM(e,t,n){let i,r,a=0,d=e.length-1;if(Array.isArray(t)){let y=t.length-1;for(;a<=d&&a<=y;){const M=e.at(a),P=t[a],G=Ig(a,M,a,P,n);if(0!==G){G<0&&e.updateValue(a,P),a++;continue}const Y=e.at(d),se=t[y],ve=Ig(d,Y,y,se,n);if(0!==ve){ve<0&&e.updateValue(d,se),d--,y--;continue}const Re=n(a,M),Ye=n(d,Y),at=n(a,P);if(Object.is(at,Ye)){const je=n(y,se);Object.is(je,Re)?(e.swap(a,d),e.updateValue(d,se),y--,d--):e.move(d,a),e.updateValue(a,P),a++}else if(i??=new A0,r??=O0(e,a,d,n),Og(e,i,a,at))e.updateValue(a,P),a++,d++;else if(r.has(at))i.set(Re,e.detach(a)),d--;else{const je=e.create(a,t[a]);e.attach(a,je),a++,d++}}for(;a<=y;)I0(e,i,n,a,t[a]),a++}else if(null!=t){const y=t[Symbol.iterator]();let M=y.next();for(;!M.done&&a<=d;){const P=e.at(a),G=M.value,Y=Ig(a,P,a,G,n);if(0!==Y)Y<0&&e.updateValue(a,G),a++,M=y.next();else{i??=new A0,r??=O0(e,a,d,n);const se=n(a,G);if(Og(e,i,a,se))e.updateValue(a,G),a++,d++,M=y.next();else if(r.has(se)){const ve=n(a,P);i.set(ve,e.detach(a)),d--}else e.attach(a,e.create(a,G)),a++,d++,M=y.next()}}for(;!M.done;)I0(e,i,n,e.length,M.value),M=y.next()}for(;a<=d;)e.destroy(e.detach(d--));i?.forEach(y=>{e.destroy(y)})}(y,e,a.trackByFn),y.updateIndexes(),a.hasEmptyBlock){const M=Us(),P=0===y.length;if(Fr(i,M,P)){const G=n+2,Y=If(i,G);if(P){const se=Ag(r,G),ve=Sl(Y,se.tView.ssrId);fc(Y,dc(i,se,void 0,{dehydratedView:ve}),0,Tl(se,ve))}else Ap(Y,0)}}}finally{le(t)}}function If(e,t){return e[t]}function Ag(e,t){return Ra(e,t)}function Of(e,t,n,i){const r=Fe(),a=Hn(),d=rt+e,h=r[tn],y=a.firstCreatePass?function RM(e,t,n,i,r,a){const d=t.consts,y=uc(t,e,2,i,js(d,r));return Tp(t,n,y,js(d,a)),null!==y.attrs&&pf(y,y.attrs,!1),null!==y.mergedAttrs&&pf(y,y.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,y),y}(d,a,r,t,n,i):a.data[d],M=L0(a,r,y,h,t,e);r[d]=M;const P=da(y);return ko(y,!0),G_(h,M,y),!mc(y)&&Gl()&&Jd(a,r,M,y),0===function hd(){return dn.lFrame.elementDepthCount}()&&ds(M,r),function lh(){dn.lFrame.elementDepthCount++}(),P&&(Ep(a,r,y),Dp(a,y,r)),null!==i&&Cp(r,y),Of}function Af(){let e=Ei();Wc()?gd():(e=e.parent,ko(e,!1));const t=e;(function mm(e){return dn.skipHydrationRootTNode===e})(t)&&function bm(){dn.skipHydrationRootTNode=null}(),function pd(){dn.lFrame.elementDepthCount--}();const n=Hn();return n.firstCreatePass&&(Yc(n,e),al(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function Im(e){return!!(8&e.flags)}(t)&&Mg(n,t,Fe(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function Cd(e){return!!(16&e.flags)}(t)&&Mg(n,t,Fe(),t.stylesWithoutHost,!1),Af}function Rg(e,t,n,i){return Of(e,t,n,i),Af(),Rg}let L0=(e,t,n,i,r,a)=>(Lo(!0),Yd(i,r,mh()));function PM(e,t,n,i,r,a){const d=t[Xn],h=!d||ha()||mc(n)||Ya(d,a);if(Lo(h),h)return Yd(i,r,mh());const y=xu(d,e,t,n);return gu(d,a)&&tc(d,a,y.nextSibling),d&&(Bh(n)||Vh(y))&&co(n)&&(function vm(e){dn.skipHydrationRootTNode=e}(n),U_(y)),y}function Rf(e,t,n){const i=Fe(),r=Hn(),a=e+rt,d=r.firstCreatePass?function FM(e,t,n,i,r){const a=t.consts,d=js(a,i),h=uc(t,e,8,"ng-container",d);return null!==d&&pf(h,d,!0),Tp(t,n,h,js(a,r)),null!==t.queries&&t.queries.elementStart(t,h),h}(a,r,i,t,n):r.data[a];ko(d,!0);const h=V0(r,i,d,e);return i[a]=h,Gl()&&Jd(r,i,h,d),ds(h,i),da(d)&&(Ep(r,i,d),Dp(r,d,i)),null!=n&&Cp(i,d),Rf}function Pf(){let e=Ei();const t=Hn();return Wc()?gd():(e=e.parent,ko(e,!1)),t.firstCreatePass&&(Yc(t,e),al(e)&&t.queries.elementEnd(e)),Pf}let V0=(e,t,n,i)=>(Lo(!0),hp(t[tn],""));function kM(e,t,n,i){let r;const a=t[Xn],d=!a||ha()||mc(n);if(Lo(d),d)return hp(t[tn],"");const h=xu(a,e,t,n),y=function ia(e,t){const n=e.data;let i=n[ur]?.[t]??null;return null===i&&n[Ds]?.[t]&&(i=ic(e,t)),i}(a,i);return tc(a,i,h),r=uf(y,h),r}function j0(){return Fe()}function Pg(e,t,n){const i=Fe();return Fr(i,Us(),t)&&Zs(Hn(),Oi(),i,e,t,i[tn],n,!0),Pg}const xl=void 0;var VM=["en",[["a","p"],["AM","PM"],xl],[["AM","PM"],xl,xl],[["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"]],xl,[["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"]],xl,[["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}",xl,"{1} 'at' {0}",xl],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function BM(e){const n=Math.floor(Math.abs(e)),i=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===i?1:5}];let Pc={};function xg(e){const t=function jM(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=$0(t);if(n)return n;const i=t.split("-")[0];if(n=$0(i),n)return n;if("en"===i)return VM;throw new Qe(701,!1)}function H0(e){return xg(e)[xc.PluralCase]}function $0(e){return e in Pc||(Pc[e]=Rt.ng&&Rt.ng.common&&Rt.ng.common.locales&&Rt.ng.common.locales[e]),Pc[e]}var xc=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(xc||{});const Fc="en-US",xf={marker:"element"},Ff={marker:"ICU"};var eo=function(e){return e[e.SHIFT=2]="SHIFT",e[e.APPEND_EAGERLY=1]="APPEND_EAGERLY",e[e.COMMENT=2]="COMMENT",e}(eo||{});let G0=Fc;let Yu=(e,t,n,i)=>(Lo(!0),function z0(e,t,n){const i=e[tn];switch(n){case Node.COMMENT_NODE:return hp(i,t);case Node.TEXT_NODE:return fp(i,t);case Node.ELEMENT_NODE:return Yd(i,t,null)}}(e,n,i));function ZM(){const e=[];let n,i,t=-1;function a(h,y){t=0;const M=function cf(e,t){const n=t[e.currentCaseLViewIndex];return null===n?n:n<0?~n:n}(h,y);i=null!==M?h.remove[M]:Fn}function d(){if(t<i.length){const h=i[t++];return h>0?n[h]:(e.push(t,i),a(n[ke].data[~h],n),d())}return 0===e.length?null:(i=e.pop(),t=e.pop(),d())}return function r(h,y){for(n=y;e.length;)e.pop();return a(h.value,y),d}}const kf=/\ufffd(\d+):?\d*\ufffd/gi,eS=/\ufffd(\d+)\ufffd/,Z0=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,qu="\ufffd",tS=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,nS=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,iS=/\uE500/g;function J0(e,t,n,i,r,a,d){const h=wu(e,i,1,null);let y=h<<eo.SHIFT,M=$l();t===M&&(M=null),null===M&&(y|=eo.APPEND_EAGERLY),d&&(y|=eo.COMMENT,function EC(e){void 0===up&&(up=e())}(ZM)),r.push(y,null===a?"":a);const P=bp(e,h,d?32:1,null===a?"":a,null);vv(n,P);const G=P.index;return ko(P,!1),null!==M&&t!==M&&function Pw(e,t){let n=e.insertBeforeIndex;null===n?(V_(mv,_v),n=e.insertBeforeIndex=[null,t]):(qe(Array.isArray(n),!0,"Expecting array here"),n.push(t))}(M,G),P}function oS(e,t,n,i,r,a,d,h){const y=h.match(kf),P=J0(t,n,i,d,r,y?null:h,!1).index;y&&Zu(a,h,P,null,0,null),e.push({kind:0,index:P})}function Zu(e,t,n,i,r,a){const d=e.length,h=d+1;e.push(null,null);const y=d+2,M=t.split(kf);let P=0;for(let G=0;G<M.length;G++){const Y=M[G];if(1&G){const se=r+parseInt(Y,10);e.push(-1-se),P|=eb(se)}else""!==Y&&e.push(Y)}return e.push(n<<2|(i?1:0)),i&&e.push(i,a),e[d]=P,e[h]=e.length-y,P}function eb(e){return 1<<Math.min(e,31)}function tb(e){let t,a,n="",i=0,r=!1;for(;null!==(t=tS.exec(e));)r?t[0]===`${qu}/*${a}${qu}`&&(i=t.index,r=!1):(n+=e.substring(i,t.index+t[0].length),a=t[1],r=!0);return n+=e.slice(i),n}function nb(e,t,n,i,r,a,d){let h=0;const y={type:a.type,currentCaseLViewIndex:wu(t,n,1,null),anchorIdx:d,cases:[],create:[],remove:[],update:[]};(function hS(e,t,n){e.push(eb(t.mainBinding),2,-1-t.mainBinding,n<<2|2)})(i,a,d),function Rw(e,t,n){const i=e.data[t];null===i?e.data[t]=n:i.value=n}(t,d,y);const M=a.values,P=[];for(let G=0;G<M.length;G++){const Y=M[G],se=[];for(let Re=0;Re<Y.length;Re++){const Ye=Y[Re];if("string"!=typeof Ye){const at=se.push(Ye)-1;Y[Re]=`\x3c!--\ufffd${at}\ufffd--\x3e`}}const ve=[];P.push(ve),h=dS(ve,t,y,n,i,r,a.cases[G],Y.join(""),se)|h}h&&function pS(e,t,n){e.push(t,1,n<<2|3)}(i,h,d),e.push({kind:3,index:d,cases:P,currentCaseLViewIndex:y.currentCaseLViewIndex})}function uS(e){const t=[],n=[];let i=1,r=0;const a=Fg(e=e.replace(Z0,function(d,h,y){return i="select"===y?0:1,r=parseInt(h.slice(1),10),""}));for(let d=0;d<a.length;){let h=a[d++].trim();1===i&&(h=h.replace(/\s*(?:=)?(\w+)\s*/,"$1")),h.length&&t.push(h);const y=Fg(a[d++]);t.length>n.length&&n.push(y)}return{type:i,mainBinding:r,cases:t,values:n}}function Fg(e){if(!e)return[];let t=0;const n=[],i=[],r=/[{}]/g;let a;for(r.lastIndex=0;a=r.exec(e);){const h=a.index;if("}"==a[0]){if(n.pop(),0==n.length){const y=e.substring(t,h);Z0.test(y)?i.push(uS(y)):i.push(y),t=h+1}}else{if(0==n.length){const y=e.substring(t,h);i.push(y),t=h+1}n.push("{")}}const d=e.substring(t);return i.push(d),i}function dS(e,t,n,i,r,a,d,h,y){const M=[],P=[],G=[];n.cases.push(d),n.create.push(M),n.remove.push(P),n.update.push(G);const se=function f_(e){const t=new WE(e);return function zE(){try{return!!(new window.DOMParser).parseFromString(sc(""),"text/html")}catch{return!1}}()?new GE(t):t}(Ce()).getInertBodyElement(h),ve=function op(e){return"content"in e&&function nC(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}(se)||se;return ve?ib(e,t,n,i,r,M,P,G,ve,a,y,0):0}function ib(e,t,n,i,r,a,d,h,y,M,P,G){let Y=0,se=y.firstChild;for(;se;){const ve=wu(t,i,1,null);switch(se.nodeType){case Node.ELEMENT_NODE:const Re=se,Ye=Re.tagName.toLowerCase();if(rp.hasOwnProperty(Ye)){kg(a,xf,Ye,M,ve),t.data[ve]=Ye;const ii=Re.attributes;for(let ns=0;ns<ii.length;ns++){const to=ii.item(ns),Vc=to.name.toLowerCase();to.value.match(kf)?m_.hasOwnProperty(Vc)&&Zu(h,to.value,ve,to.name,0,sp[Vc]?ip:null):gS(a,ve,to)}const Fi={kind:1,index:ve,children:[]};e.push(Fi),Y=ib(Fi.children,t,n,i,r,a,d,h,se,ve,P,G+1)|Y,rb(d,ve,G)}break;case Node.TEXT_NODE:const at=se.textContent||"",je=at.match(kf);kg(a,null,je?"":at,M,ve),rb(d,ve,G),je&&(Y=Zu(h,at,ve,null,0,null)|Y),e.push({kind:0,index:ve});break;case Node.COMMENT_NODE:const an=eS.exec(se.textContent||"");if(an){const Fi=P[parseInt(an[1],10)];kg(a,Ff,"",M,ve),nb(e,t,i,r,M,Fi,ve),fS(d,ve,G)}}se=se.nextSibling}return Y}function rb(e,t,n){0===n&&e.push(t)}function fS(e,t,n){0===n&&(e.push(~t),e.push(t))}function kg(e,t,n,i,r){null!==t&&e.push(t),e.push(n,r,function Fw(e,t,n){return e|t<<17|n<<1}(0,i,r))}function gS(e,t,n){e.push(t<<1|1,n.name,n.value)}function ob(e,t,n=-1){const i=Hn(),r=Fe(),a=rt+e,d=js(i.consts,t),h=$l();i.firstCreatePass&&function sS(e,t,n,i,r,a){const d=$l(),h=[],y=[],M=[[]],P=[[]];r=function cS(e,t){if(function Cv(e){return-1===e}(t))return tb(e);{const n=e.indexOf(`:${t}${qu}`)+2+t.toString().length,i=e.search(new RegExp(`${qu}\\/\\*\\d+:${t}${qu}`));return tb(e.substring(n,i))}}(r,a);const G=function rS(e){return e.replace(iS," ")}(r).split(nS);for(let Y=0;Y<G.length;Y++){let se=G[Y];if(1&Y){const ve=47===se.charCodeAt(0),Re=se.charCodeAt(ve?1:0),Ye=rt+Number.parseInt(se.substring(ve?2:1));if(ve)M.shift(),P.shift(),ko($l(),!1);else{const at=xw(e,M[0],Ye);M.unshift([]),ko(at,!0);const je={kind:2,index:Ye,children:[],type:35===Re?0:1};P[0].push(je),P.unshift(je.children)}}else{const ve=Fg(se);for(let Re=0;Re<ve.length;Re++){let Ye=ve[Re];if(1&Re){const at=Ye;if("object"!=typeof at)throw new Error(`Unable to parse ICU expression in "${r}" message.`);const an=J0(e,d,M[0],n,h,"",!0).index;nb(P[0],e,n,y,t,at,an)}else""!==Ye&&oS(P[0],e,d,M[0],h,y,n,Ye)}}}e.data[i]={create:h,update:y,ast:P[0]}}(i,null===h?0:h.index,r,a,d,n),2===i.type?r[_i][dt]|=32:r[dt]|=32;const y=i.data[a],P=P_(i,h===r[hi]?null:h,r),G=h&&8&h.type?r[h.index]:null;(function Gw(e,t,n,i){Nv(e,t,n,i)})(r,a,h,n),function XM(e,t,n,i){const r=e[tn];for(let a=0;a<t.length;a++){const d=t[a++],M=(d&eo.APPEND_EAGERLY)===eo.APPEND_EAGERLY,P=d>>>eo.SHIFT;let G=e[P],Y=!1;null===G&&(G=e[P]=Yu(e,P,t[a],(d&eo.COMMENT)===eo.COMMENT?Node.COMMENT_NODE:Node.TEXT_NODE),Y=Gl()),M&&null!==n&&Y&&wl(r,n,G,i,!1)}}(r,y.create,P,G),md(!0)}function lb(e,t,n){ob(e,t,n),function ab(){md(!1)}()}let ub=(e,t,n)=>{};function Lg(e,t,n,i){const r=Fe(),a=Hn(),d=Ei();return function Bg(e,t,n,i,r,a,d){const h=da(i),M=e.firstCreatePass&&sv(e),P=t[On],G=rv(t);let Y=!0;if(3&i.type||d){const Re=Jr(i,t),Ye=d?d(Re):Re,at=G.length,je=d?ii=>d(ei(ii[i.index])):i.index;ub(Re,r,a);let an=null;if(!d&&h&&(an=function SS(e,t,n,i){const r=e.cleanup;if(null!=r)for(let a=0;a<r.length-1;a+=2){const d=r[a];if(d===n&&r[a+1]===i){const h=t[Ui],y=r[a+2];return h.length>y?h[y]:null}"string"==typeof d&&(a+=2)}return null}(e,t,r,i.index)),null!==an)(an.__ngLastListenerFn__||an).__ngNextListenerFn__=a,an.__ngLastListenerFn__=a,Y=!1;else{a=pb(i,t,P,a);const ii=n.listen(Ye,r,a);G.push(a,ii),M&&M.push(r,je,at,at+1)}}else a=pb(i,t,P,a);const se=i.outputs;let ve;if(Y&&null!==se&&(ve=se[r])){const Re=ve.length;if(Re)for(let Ye=0;Ye<Re;Ye+=2){const Fi=t[ve[Ye]][ve[Ye+1]].subscribe(a),ns=G.length;G.push(a,Fi),M&&M.push(r,i.index,ns,-(ns+1))}}}(a,r,r[tn],d,e,t,i),Lg}function hb(e,t,n,i){const r=le(null);try{return Ar(6,t,n),!1!==n(i)}catch(a){return rf(e,a),!1}finally{Ar(7,t,n),le(r)}}function pb(e,t,n,i){return function r(a){if(a===Function)return i;Mu(e.componentOffset>-1?Vs(e.index,t):t,5);let h=hb(t,n,i,a),y=r.__ngNextListenerFn__;for(;y;)h=hb(t,n,y,a)&&h,y=y.__ngNextListenerFn__;return h}}function gb(e=1){return function bd(e){return(dn.lFrame.contextLView=function fd(e,t){for(;e>0;)t=t[ao],e--;return t}(e,dn.lFrame.contextLView))[On]}(e)}function NS(e,t){let n=null;const i=function V(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(!(1&n))return t[n+1]}return null}(e);for(let r=0;r<t.length;r++){const a=t[r];if("*"!==a){if(null===i?w(e,a,!0):cn(i,a))return r}else n=r}return n}function mb(e){const t=Fe()[_i][hi];if(!t.projection){const i=t.projection=function os(e,t){const n=[];for(let i=0;i<e;i++)n.push(t);return n}(e?e.length:1,null),r=i.slice();let a=t.child;for(;null!==a;){const d=e?NS(a,e):0;null!==d&&(r[d]?r[d].projectionNext=a:i[d]=a,r[d]=a),a=a.next}}}function _b(e,t=0,n,i,r,a){const d=Fe(),h=Hn(),y=i?e+1:null;null!==y&&$u(d,h,y,i,r,a,null,n);const M=uc(h,rt+e,16,null,n||null);null===M.projection&&(M.projection=t),gd();const G=!d[Xn]||ha();null===d[_i][hi].projection[M.projection]&&null!==y?function IS(e,t,n){const i=rt+n,r=t.data[i],a=e[i],d=Sl(a,r.tView.ssrId);fc(a,dc(e,r,void 0,{dehydratedView:d}),0,Tl(r,d))}(d,h,y):G&&32&~M.flags&&function AC(e,t,n){H_(t[tn],0,t,n,mp(e,n,t),k_(n.parent||t[hi],n,t))}(h,d,M)}function Sb(e,t,n,i){!function ly(e,t,n,i){const r=Hn();if(r.firstCreatePass){const a=Ei();cy(r,new ry(t,n,i),a.index),function H1(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(r,e),!(2&~n)&&(r.staticContentQueries=!0)}return oy(r,Fe(),n)}(e,t,n,i)}function Nb(e,t,n){!function ay(e,t,n){const i=Hn();return i.firstCreatePass&&(cy(i,new ry(e,t,n),-1),!(2&~t)&&(i.staticViewQueries=!0)),oy(i,Fe(),t)}(e,t,n)}function Ib(e){const t=Fe(),n=Hn(),i=xa();fl(i+1);const r=rg(n,i);if(e.dirty&&function cd(e){return!(4&~e[dt])}(t)===!(2&~r.metadata.flags)){if(null===r.matches)e.reset([]);else{const a=uy(t,i);e.reset(a,Fd),e.notifyOnChanges()}return!0}return!1}function Ob(){return function ig(e,t){return e[Lt].queries[t].queryList}(Fe(),xa())}function Ab(e){return Pa(function Dm(){return dn.lFrame.contextLView}(),rt+e)}function Ub(e,t=""){const n=Fe(),i=Hn(),r=e+rt,a=i.firstCreatePass?uc(i,r,1,t,null):i.data[r],d=Hb(i,n,a,t,e);n[r]=d,Gl()&&Jd(i,n,d,a),ko(a,!1)}let Hb=(e,t,n,i,r)=>(Lo(!0),fp(t[tn],i));function $S(e,t,n,i,r){const a=t[Xn],d=!a||ha()||mc(n)||Ya(a,r);return Lo(d),d?fp(t[tn],i):xu(a,e,t,n)}function jg(e){return Lf("",e,""),jg}function Lf(e,t,n){const i=Fe(),r=wc(i,e,t,n);return r!==Sn&&function Ea(e,t,n){const i=Aa(t,e);!function O_(e,t,n){e.setValue(t,n)}(e[tn],i,n)}(i,Pr(),r),Lf}function Ug(e,t,n,i,r){if(e=vt(e),Array.isArray(e))for(let a=0;a<e.length;a++)Ug(e[a],t,n,i,r);else{const a=Hn(),d=Fe(),h=Ei();let y=Is(e)?e:vt(e.provide);const M=ua(e),P=1048575&h.providerIndexes,G=h.directiveStart,Y=h.providerIndexes>>20;if(Is(e)||!e.multi){const se=new La(M,r,cc),ve=$g(y,t,r?P:P+Y,G);-1===ve?(Md(Ba(h,d),a,y),Hg(a,e,t.length),t.push(y),h.directiveStart++,h.directiveEnd++,r&&(h.providerIndexes+=1048576),n.push(se),d.push(se)):(n[ve]=se,d[ve]=se)}else{const se=$g(y,t,P+Y,G),ve=$g(y,t,P,P+Y),Ye=ve>=0&&n[ve];if(r&&!Ye||!r&&!(se>=0&&n[se])){Md(Ba(h,d),a,y);const at=function XS(e,t,n,i,r){const a=new La(e,n,cc);return a.multi=[],a.index=t,a.componentProviders=0,Jb(a,r,i&&!n),a}(r?QS:KS,n.length,r,i,M);!r&&Ye&&(n[ve].providerFactory=at),Hg(a,e,t.length,0),t.push(y),h.directiveStart++,h.directiveEnd++,r&&(h.providerIndexes+=1048576),n.push(at),d.push(at)}else Hg(a,e,se>-1?se:ve,Jb(n[r?ve:se],M,!r&&i));!r&&i&&Ye&&n[ve].componentProviders++}}}function Hg(e,t,n,i){const r=Is(t),a=function rl(e){return!!e.useClass}(t);if(r||a){const y=(a?vt(t.useClass):t).prototype.ngOnDestroy;if(y){const M=e.destroyHooks||(e.destroyHooks=[]);if(!r&&t.multi){const P=M.indexOf(n);-1===P?M.push(n,[i,y]):M[P+1].push(i,y)}else M.push(n,y)}}}function Jb(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function $g(e,t,n,i){for(let r=n;r<i;r++)if(t[r]===e)return r;return-1}function KS(e,t,n,i){return Gg(this.multi,[])}function QS(e,t,n,i){const r=this.multi;let a;if(this.providerFactory){const d=this.providerFactory.componentProviders,h=_a(n,n[ke],this.providerFactory.index,i);a=h.slice(0,d),Gg(r,a);for(let y=d;y<h.length;y++)a.push(h[y])}else a=[],Gg(r,a);return a}function Gg(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function eD(e,t=[]){return n=>{n.providersResolver=(i,r)=>function zS(e,t,n){const i=Hn();if(i.firstCreatePass){const r=cs(e);Ug(n,i.data,i.blueprint,r,!0),Ug(t,i.data,i.blueprint,r,!1)}}(i,r?r(e):e,t)}}let YS=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const i=Qo(0,n.type),r=i.length>0?cg([i],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,r)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=Pt({token:e,providedIn:"environment",factory:()=>new e(B(ls))})}return e})();function tD(e){Js("NgStandalone"),e.getStandaloneInjector=t=>t.get(YS).getOrCreateStandaloneInjector(e)}function iD(e,t,n){const i=Ps()+e,r=Fe();return r[i]===Sn?sa(r,i,n?t.call(n):t()):function Hu(e,t){return e[t]}(r,i)}function rD(e,t,n,i){return aD(Fe(),Ps(),e,t,n,i)}function sD(e,t,n,i,r){return function lD(e,t,n,i,r,a,d){const h=t+n;return Al(e,h,r,a)?sa(e,h+2,d?i.call(d,r,a):i(r,a)):Ju(e,h+2)}(Fe(),Ps(),e,t,n,i,r)}function oD(e,t,n,i,r,a){return function cD(e,t,n,i,r,a,d,h){const y=t+n;return function Df(e,t,n,i,r){const a=Al(e,t,n,i);return Fr(e,t+2,r)||a}(e,y,r,a,d)?sa(e,y+3,h?i.call(h,r,a,d):i(r,a,d)):Ju(e,y+3)}(Fe(),Ps(),e,t,n,i,r,a)}function Ju(e,t){const n=e[t];return n===Sn?void 0:n}function aD(e,t,n,i,r,a){const d=t+n;return Fr(e,d,r)?sa(e,d+1,a?i.call(a,r):i(r)):Ju(e,d+1)}function fD(e,t){const n=Hn();let i;const r=e+rt;n.firstCreatePass?(i=function sN(e,t){if(t)for(let n=t.length-1;n>=0;n--){const i=t[n];if(e===i.name)return i}}(t,n.pipeRegistry),n.data[r]=i,i.onDestroy&&(n.destroyHooks??=[]).push(r,i.onDestroy)):i=n.data[r];const a=i.factory||(i.factory=Ft(i.type)),h=Li(cc);try{const y=tu(!1),M=a();return tu(y),function PS(e,t,n,i){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=i}(n,Fe(),r,M),M}finally{Li(h)}}function hD(e,t,n){const i=e+rt,r=Fe(),a=Pa(r,i);return function ed(e,t){return e[ke].data[t].pure}(r,i)?aD(r,Ps(),t,a.transform,n,a):a.transform(n)}function pD(e,t){return af(e,t)}class OD{constructor(t){this.full=t;const n=t.split(".");this.major=n[0],this.minor=n[1],this.patch=n.slice(2).join(".")}}let AD=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=Pt({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const kD=new At(""),LD=new At("");let Yg,nI=(()=>{class e{constructor(n,i,r){this._ngZone=n,this.registry=i,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,Yg||(function iI(e){Yg=e}(r),r.addToWindow(i)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{tr.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(n)||(clearTimeout(i.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,i,r){let a=-1;i&&i>0&&(a=setTimeout(()=>{this._callbacks=this._callbacks.filter(d=>d.timeoutId!==a),n()},i)),this._callbacks.push({doneCb:n,timeoutId:a,updateCb:r})}whenStable(n,i,r){if(r&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,i,r),this._runCallbacksIfReady()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,i,r){return[]}static#e=this.\u0275fac=function(i){return new(i||e)(B(tr),B(BD),B(LD))};static#t=this.\u0275prov=Pt({token:e,factory:e.\u0275fac})}return e})(),BD=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,i){this._applications.set(n,i)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,i=!0){return Yg?.findTestabilityInTree(this,n,i)??null}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=Pt({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function qg(e){return!!e&&"function"==typeof e.then}function VD(e){return!!e&&"function"==typeof e.subscribe}const rI=new At("");let Zg=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,i)=>{this.resolve=n,this.reject=i}),this.appInits=$(rI,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const r of this.appInits){const a=r();if(qg(a))n.push(a);else if(VD(a)){const d=new Promise((h,y)=>{a.subscribe({complete:h,error:y})});n.push(d)}}const i=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{i()}).catch(r=>{this.reject(r)}),0===n.length&&i(),this.initialized=!0}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=Pt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Uf=new At("");let $f,Ho=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=$(Fh),this.afterRenderEffectManager=$(Lu),this.zonelessEnabled=$(ku),this.externalTestViews=new Set,this.beforeRender=new bn.B,this.afterTick=new bn.B,this.componentTypes=[],this.components=[],this.isStable=$(Ol).hasPendingTasks.pipe((0,ti.T)(n=>!n)),this._injector=$(ls)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,i){const r=n instanceof Fv;if(!this._injector.get(Zg).done)throw!r&&Ns(n),new Qe(405,!1);let d;d=r?n:this._injector.get(ff).resolveComponentFactory(n),this.componentTypes.push(d.componentType);const h=function sI(e){return e.isBoundToModule}(d)?void 0:this._injector.get(Il),M=d.create(jr.NULL,[],i||d.selector,h),P=M.location.nativeElement,G=M.injector.get(kD,null);return G?.registerApplication(P),M.onDestroy(()=>{this.detachView(M.hostView),Hf(this.components,M),G?.unregisterApplication(P)}),this._loadComponent(M),M}tick(){this._tick(!0)}_tick(n){if(this._runningTick)throw new Qe(101,!1);const i=le(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(n)}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,le(i),this.afterTick.next()}}detectChangesInAttachedViews(n){let i=null;this._injector.destroyed||(i=this._injector.get(Hp,null,{optional:!0}));let r=0;const a=this.afterRenderEffectManager;for(;r<10;){const d=0===r;if(n||!d){this.beforeRender.next(d);for(let{_lView:h,notifyErrorHandler:y}of this._views)aI(h,y,d,this.zonelessEnabled)}else i?.begin?.(),i?.end?.();if(r++,a.executeInternalCallbacks(),!this.allViews.some(({_lView:h})=>ul(h))&&(a.execute(),!this.allViews.some(({_lView:h})=>ul(h))))break}}attachView(n){const i=n;this._views.push(i),i.attachToAppRef(this)}detachView(n){const i=n;Hf(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const i=this._injector.get(Uf,[]);[...this._bootstrapListeners,...i].forEach(r=>r(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Hf(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new Qe(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=Pt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Hf(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function Jg(e){$f??=new WeakMap;const t=$f.get(e);if(t)return t;const n=e.isStable.pipe((0,bt.$)(i=>i)).toPromise().then(()=>{});return $f.set(e,n),e.onDestroy(()=>$f?.delete(e)),n}function aI(e,t,n,i){(n||ul(e))&&sf(e,t,n&&!i?0:1)}class lI{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let cI=(()=>{class e{compileModuleSync(n){return new lg(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const i=this.compileModuleSync(n),a=fo(cr(n).declarations).reduce((d,h)=>{const y=Dn(h);return y&&d.push(new ju(y)),d},[]);return new lI(i,a)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=Pt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),fI=(()=>{class e{constructor(){this.zone=$(tr),this.changeDetectionScheduler=$(pc),this.applicationRef=$(Ho)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=Pt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function em({ngZoneFactory:e,ignoreChangesOutsideZone:t}){return e??=()=>new tr(function tm(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}()),[{provide:tr,useFactory:e},{provide:Er,multi:!0,useFactory:()=>{const n=$(fI,{optional:!0});return()=>n.initialize()}},{provide:Er,multi:!0,useFactory:()=>{const n=$(pI);return()=>{n.initialize()}}},{provide:Fh,useFactory:hI},!0===t?{provide:xv,useValue:!0}:[]]}function hI(){const e=$(tr),t=$(uo);return n=>e.runOutsideAngular(()=>t.handleError(n))}let pI=(()=>{class e{constructor(){this.subscription=new wn.yU,this.initialized=!1,this.zone=$(tr),this.pendingTasks=$(Ol)}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{tr.assertNotInAngularZone(),queueMicrotask(()=>{null!==n&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{tr.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=Pt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),id=(()=>{class e{constructor(){this.appRef=$(Ho),this.taskService=$(Ol),this.ngZone=$(tr),this.zonelessEnabled=$(ku),this.disableScheduling=$(xv,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new wn.yU,this.cancelScheduledCallback=null,this.shouldRefreshViews=!1,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof zp||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&5===n)return;switch(n){case 3:case 2:case 0:case 4:case 5:case 1:this.shouldRefreshViews=!0}if(!this.shouldScheduleTick())return;const i=this.useMicrotaskScheduler?Vv:Bv;this.pendingRenderTaskId=this.taskService.add(),this.zoneIsDefined?Zone.root.run(()=>{this.cancelScheduledCallback=i(()=>{this.tick(this.shouldRefreshViews)})}):this.cancelScheduledCallback=i(()=>{this.tick(this.shouldRefreshViews)})}shouldScheduleTick(){return!(this.disableScheduling||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&tr.isInAngularZone())}tick(n){if(this.runningTick||this.appRef.destroyed)return;const i=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick(n)},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(i),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Vv(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(i)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.shouldRefreshViews=!1,this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=Pt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Gf=new At("",{providedIn:"root",factory:()=>$(Gf,en.Optional|en.SkipSelf)||function gI(){return typeof $localize<"u"&&$localize.locale||Fc}()}),mI=new At("",{providedIn:"root",factory:()=>"USD"}),im=new At("");let nl=null;function DI(){}let qD=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=EI}return e})();function EI(e){return function CI(e,t,n){if(co(e)&&!n){const i=Vs(e.index,t);return new Su(i,i)}return 47&e.type?new Su(t[_i],t):null}(Ei(),Fe(),!(16&~e))}class tE{constructor(){}supports(t){return bf(t)}create(t){return new NI(t)}}const SI=(e,t)=>t;class NI{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||SI}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,i=this._removalsHead,r=0,a=null;for(;n||i;){const d=!i||n&&n.currentIndex<iE(i,r,a)?n:i,h=iE(d,r,a),y=d.currentIndex;if(d===i)r--,i=i._nextRemoved;else if(n=n._next,null==d.previousIndex)r++;else{a||(a=[]);const M=h-r,P=y-r;if(M!=P){for(let Y=0;Y<M;Y++){const se=Y<a.length?a[Y]:a[Y]=0,ve=se+Y;P<=ve&&ve<M&&(a[Y]=se+1)}a[d.previousIndex]=P-M}}h!==y&&t(d,h,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=[]),!bf(t))throw new Qe(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let r,a,d,n=this._itHead,i=!1;if(Array.isArray(t)){this.length=t.length;for(let h=0;h<this.length;h++)a=t[h],d=this._trackByFn(h,a),null!==n&&Object.is(n.trackById,d)?(i&&(n=this._verifyReinsertion(n,a,d,h)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,d,h),i=!0),n=n._next}else r=0,function fT(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Symbol.iterator]();let i;for(;!(i=n.next()).done;)t(i.value)}}(t,h=>{d=this._trackByFn(r,h),null!==n&&Object.is(n.trackById,d)?(i&&(n=this._verifyReinsertion(n,h,d,r)),Object.is(n.item,h)||this._addIdentityChange(n,h)):(n=this._mismatch(n,h,d,r),i=!0),n=n._next,r++}),this.length=r;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,i,r){let a;return null===t?a=this._itTail:(a=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,a,r)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(i,r))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,a,r)):t=this._addAfter(new II(n,i),a,r),t}_verifyReinsertion(t,n,i,r){let a=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==a?t=this._reinsertAfter(a,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),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,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const r=t._prevRemoved,a=t._nextRemoved;return null===r?this._removalsHead=a:r._nextRemoved=a,null===a?this._removalsTail=r:a._prevRemoved=r,this._insertAfter(t,n,i),this._addToMoves(t,i),t}_moveAfter(t,n,i){return this._unlink(t),this._insertAfter(t,n,i),this._addToMoves(t,i),t}_addAfter(t,n,i){return this._insertAfter(t,n,i),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,i){const r=null===n?this._itHead:n._next;return t._next=r,t._prev=n,null===r?this._itTail=t:r._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new nE),this._linkedRecords.put(t),t.currentIndex=i,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,i=t._next;return null===n?this._itHead=i:n._next=i,null===i?this._itTail=n:i._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 nE),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 II{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 OI{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 i;for(i=this._head;null!==i;i=i._nextDup)if((null===n||n<=i.currentIndex)&&Object.is(i.trackById,t))return i;return null}remove(t){const n=t._prevDup,i=t._nextDup;return null===n?this._head=i:n._nextDup=i,null===i?this._tail=n:i._prevDup=n,null===this._head}}class nE{constructor(){this.map=new Map}put(t){const n=t.trackById;let i=this.map.get(n);i||(i=new OI,this.map.set(n,i)),i.add(t)}get(t,n){const r=this.map.get(t);return r?r.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 iE(e,t,n){const i=e.previousIndex;if(null===i)return i;let r=0;return n&&i<n.length&&(r=n[i]),i+t+r}class rE{constructor(){}supports(t){return t instanceof Map||ug(t)}create(){return new AI}}class AI{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||ug(t)))throw new Qe(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,(i,r)=>{if(n&&n.key===r)this._maybeAddToChanges(n,i),this._appendAfter=n,n=n._next;else{const a=this._getOrCreateRecordForKey(r,i);n=this._insertBeforeOrAppend(n,a)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let i=n;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const i=t._prev;return n._next=t,n._prev=i,t._prev=n,i&&(i._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 r=this._records.get(t);this._maybeAddToChanges(r,n);const a=r._prev,d=r._next;return a&&(a._next=d),d&&(d._prev=a),r._next=null,r._prev=null,r}const i=new RI(t);return this._records.set(t,i),i.currentValue=n,this._addToAdditions(i),i}_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(i=>n(t[i],i))}}class RI{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 sE(){return new cm([new tE])}let cm=(()=>{class e{static#e=this.\u0275prov=Pt({token:e,providedIn:"root",factory:sE});constructor(n){this.factories=n}static create(n,i){if(null!=i){const r=i.factories.slice();n=n.concat(r)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||sE()),deps:[[e,new di,new et]]}}find(n){const i=this.factories.find(r=>r.supports(n));if(null!=i)return i;throw new Qe(901,!1)}}return e})();function oE(){return new um([new rE])}let um=(()=>{class e{static#e=this.\u0275prov=Pt({token:e,providedIn:"root",factory:oE});constructor(n){this.factories=n}static create(n,i){if(i){const r=i.factories.slice();n=n.concat(r)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||oE()),deps:[[e,new di,new et]]}}find(n){const i=this.factories.find(r=>r.supports(n));if(i)return i;throw new Qe(901,!1)}}return e})(),FI=(()=>{class e{constructor(n){}static#e=this.\u0275fac=function(i){return new(i||e)(B(Ho))};static#t=this.\u0275mod=No({type:e});static#n=this.\u0275inj=ri({})}return e})();function YI(e){try{const{rootComponent:t,appProviders:n,platformProviders:i}=e,r=function bI(e=[]){if(nl)return nl;const t=function QD(e=[],t){return jr.create({name:t,providers:[{provide:ca,useValue:"platform"},{provide:im,useValue:new Set([()=>nl=null])},...e]})}(e);return nl=t,function jD(){!function vi(e){Cn=e}(()=>{throw new Qe(600,!1)})}(),function XD(e){e.get(ot,null)?.forEach(n=>n())}(t),t}(i),a=[em({}),{provide:pc,useExisting:id},...n||[]],h=new Ry({providers:a,parent:r,debugName:"",runEnvironmentInitializers:!1}).injector,y=h.get(tr);return y.run(()=>{h.resolveInjectorInitializers();const M=h.get(uo,null);let P;y.runOutsideAngular(()=>{P=y.onError.subscribe({next:se=>{M.handleError(se)}})});const G=()=>h.destroy(),Y=r.get(im);return Y.add(G),h.onDestroy(()=>{P.unsubscribe(),Y.delete(G)}),function UD(e,t,n){try{const i=n();return qg(i)?i.catch(r=>{throw t.runOutsideAngular(()=>e.handleError(r)),r}):i}catch(i){throw t.runOutsideAngular(()=>e.handleError(i)),i}}(M,y,()=>{const se=h.get(Zg);return se.runInitializers(),se.donePromise.then(()=>{!function W0(e){"string"==typeof e&&(G0=e.toLowerCase().replace(/_/g,"-"))}(h.get(Gf,Fc)||Fc);const Re=h.get(Ho);return void 0!==t&&Re.bootstrap(t),Re})})})}catch(t){return Promise.reject(t)}}let ME=!1;function pO(){return vo([{provide:Cl,useFactory:()=>{let e=!0;return wo()&&(e=!!$(Gn,{optional:!0})?.get(Ka,null)),e&&Js("NgHydration"),e}},{provide:Er,useValue:()=>{(function Iv(e){Sv=e})(!1),wo()&&$(Cl)&&(function gO(){const e=Ce();let t;for(const n of e.body.childNodes)if(n.nodeType===Node.COMMENT_NODE&&n.textContent?.trim()===yl){t=n;break}if(!t)throw new Qe(-507,!1)}(),function dO(){ME||(ME=!0,function na(){bl=Qa}(),function xM(){L0=PM}(),function GS(){Hb=$S}(),function LM(){V0=kM}(),function mT(){xy=gT}(),function k1(){ty=F1,qp=x1}(),function o1(){Pv=s1}(),function jC(){q_=VC}())}())},multi:!0},{provide:s_,useFactory:()=>wo()&&$(Cl)},{provide:Uf,useFactory:()=>{if(wo()&&$(Cl)){const e=$(Ho);return $(jr),()=>{(function hO(e,t){return Jg(e)})(e).then(()=>{!function i1(e){const t=e._views;for(const n of t){const i=Dl(n);null!==i&&null!==i[wt]&&(wr(i)?df(i):(df(i[wt]),Rv(i)))}}(e)})}}return()=>{}},multi:!0}])}function _O(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function yO(e){const t=le(null);try{return e()}finally{le(t)}}function TO(e,t){const n=Dn(e),i=t.elementInjector||qo();return new ju(n).create(i,t.projectableNodes,t.hostElement,t.environmentInjector)}},9417:(yt,Se,x)=>{x.d(Se,{BC:()=>Qe,JD:()=>_e,MJ:()=>Mn,X1:()=>Vr,YN:()=>Go,cb:()=>Ri,cz:()=>Mt,gE:()=>is,j4:()=>Bi,k0:()=>Ge,kq:()=>Ie,me:()=>We,qT:()=>Li});var o=x(4438),S=x(177),ge=x(6648),ce=x(7468),X=x(1413),le=x(6354);let Ne=(()=>{class O{constructor(w,V){this._renderer=w,this._elementRef=V,this.onChange=ie=>{},this.onTouched=()=>{}}setProperty(w,V){this._renderer.setProperty(this._elementRef.nativeElement,w,V)}registerOnTouched(w){this.onTouched=w}registerOnChange(w){this.onChange=w}setDisabledState(w){this.setProperty("disabled",w)}static#e=this.\u0275fac=function(V){return new(V||O)(o.rXU(o.sFG),o.rXU(o.aKT))};static#t=this.\u0275dir=o.FsC({type:O})}return O})(),Pe=(()=>{class O extends Ne{static#e=this.\u0275fac=(()=>{let w;return function(ie){return(w||(w=o.xGo(O)))(ie||O)}})();static#t=this.\u0275dir=o.FsC({type:O,features:[o.Vt3]})}return O})();const Ie=new o.nKC(""),Be={provide:Ie,useExisting:(0,o.Rfq)(()=>We),multi:!0},He=new o.nKC("");let We=(()=>{class O extends Ne{constructor(w,V,ie){super(w,V),this._compositionMode=ie,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function ct(){const O=(0,S.QT)()?(0,S.QT)().getUserAgent():"";return/android (\d+)/.test(O.toLowerCase())}())}writeValue(w){this.setProperty("value",w??"")}_handleInput(w){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(w)}_compositionStart(){this._composing=!0}_compositionEnd(w){this._composing=!1,this._compositionMode&&this.onChange(w)}static#e=this.\u0275fac=function(V){return new(V||O)(o.rXU(o.sFG),o.rXU(o.aKT),o.rXU(He,8))};static#t=this.\u0275dir=o.FsC({type:O,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(V,ie){1&V&&o.bIt("input",function(cn){return ie._handleInput(cn.target.value)})("blur",function(){return ie.onTouched()})("compositionstart",function(){return ie._compositionStart()})("compositionend",function(cn){return ie._compositionEnd(cn.target.value)})},features:[o.Jv_([Be]),o.Vt3]})}return O})();function St(O){return null==O||("string"==typeof O||Array.isArray(O))&&0===O.length}function jt(O){return null!=O&&"number"==typeof O.length}const Mt=new o.nKC(""),Kt=new o.nKC(""),Nn=/^(?=.{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 Ge{static min(A){return function $e(O){return A=>{if(St(A.value)||St(O))return null;const w=parseFloat(A.value);return!isNaN(w)&&w<O?{min:{min:O,actual:A.value}}:null}}(A)}static max(A){return function st(O){return A=>{if(St(A.value)||St(O))return null;const w=parseFloat(A.value);return!isNaN(w)&&w>O?{max:{max:O,actual:A.value}}:null}}(A)}static required(A){return function kt(O){return St(O.value)?{required:!0}:null}(A)}static requiredTrue(A){return function lt(O){return!0===O.value?null:{required:!0}}(A)}static email(A){return function it(O){return St(O.value)||Nn.test(O.value)?null:{email:!0}}(A)}static minLength(A){return function Ct(O){return A=>St(A.value)||!jt(A.value)?null:A.value.length<O?{minlength:{requiredLength:O,actualLength:A.value.length}}:null}(A)}static maxLength(A){return function Et(O){return A=>jt(A.value)&&A.value.length>O?{maxlength:{requiredLength:O,actualLength:A.value.length}}:null}(A)}static pattern(A){return function $t(O){if(!O)return Qt;let A,w;return"string"==typeof O?(w="","^"!==O.charAt(0)&&(w+="^"),w+=O,"$"!==O.charAt(O.length-1)&&(w+="$"),A=new RegExp(w)):(w=O.toString(),A=O),V=>{if(St(V.value))return null;const ie=V.value;return A.test(ie)?null:{pattern:{requiredPattern:w,actualValue:ie}}}}(A)}static nullValidator(A){return null}static compose(A){return te(A)}static composeAsync(A){return U(A)}}function Qt(O){return null}function Wn(O){return null!=O}function Cn(O){return(0,o.jNT)(O)?(0,ge.H)(O):O}function wi(O){let A={};return O.forEach(w=>{A=null!=w?{...A,...w}:A}),0===Object.keys(A).length?null:A}function vi(O,A){return A.map(w=>w(O))}function be(O){return O.map(A=>function jn(O){return!O.validate}(A)?A:w=>A.validate(w))}function te(O){if(!O)return null;const A=O.filter(Wn);return 0==A.length?null:function(w){return wi(vi(w,A))}}function he(O){return null!=O?te(be(O)):null}function U(O){if(!O)return null;const A=O.filter(Wn);return 0==A.length?null:function(w){const V=vi(w,A).map(Cn);return(0,ce.p)(V).pipe((0,le.T)(wi))}}function ne(O){return null!=O?U(be(O)):null}function oe(O,A){return null===O?[A]:Array.isArray(O)?[...O,A]:[O,A]}function Le(O){return O._rawValidators}function ft(O){return O._rawAsyncValidators}function vn(O){return O?Array.isArray(O)?O:[O]:[]}function gt(O,A){return Array.isArray(O)?O.includes(A):O===A}function fn(O,A){const w=vn(A);return vn(O).forEach(ie=>{gt(w,ie)||w.push(ie)}),w}function bn(O,A){return vn(A).filter(w=>!gt(O,w))}class wn{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(A){this._rawValidators=A||[],this._composedValidatorFn=he(this._rawValidators)}_setAsyncValidators(A){this._rawAsyncValidators=A||[],this._composedAsyncValidatorFn=ne(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(A){this._onDestroyCallbacks.push(A)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(A=>A()),this._onDestroyCallbacks=[]}reset(A=void 0){this.control&&this.control.reset(A)}hasError(A,w){return!!this.control&&this.control.hasError(A,w)}getError(A,w){return this.control?this.control.getError(A,w):null}}class gn extends wn{get formDirective(){return null}get path(){return null}}class ti extends wn{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class bt{constructor(A){this._cd=A}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 Qe=(()=>{class O extends bt{constructor(w){super(w)}static#e=this.\u0275fac=function(V){return new(V||O)(o.rXU(ti,2))};static#t=this.\u0275dir=o.FsC({type:O,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(V,ie){2&V&&o.AVh("ng-untouched",ie.isUntouched)("ng-touched",ie.isTouched)("ng-pristine",ie.isPristine)("ng-dirty",ie.isDirty)("ng-valid",ie.isValid)("ng-invalid",ie.isInvalid)("ng-pending",ie.isPending)},features:[o.Vt3]})}return O})(),Ri=(()=>{class O extends bt{constructor(w){super(w)}static#e=this.\u0275fac=function(V){return new(V||O)(o.rXU(gn,10))};static#t=this.\u0275dir=o.FsC({type:O,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(V,ie){2&V&&o.AVh("ng-untouched",ie.isUntouched)("ng-touched",ie.isTouched)("ng-pristine",ie.isPristine)("ng-dirty",ie.isDirty)("ng-valid",ie.isValid)("ng-invalid",ie.isInvalid)("ng-pending",ie.isPending)("ng-submitted",ie.isSubmitted)},features:[o.Vt3]})}return O})();const rn="VALID",In="INVALID",li="PENDING",Un="DISABLED";class Rn{}class vt extends Rn{constructor(A,w){super(),this.value=A,this.source=w}}class we extends Rn{constructor(A,w){super(),this.pristine=A,this.source=w}}class pe extends Rn{constructor(A,w){super(),this.touched=A,this.source=w}}class Z extends Rn{constructor(A,w){super(),this.status=A,this.source=w}}class ue extends Rn{constructor(A){super(),this.source=A}}class Ve extends Rn{constructor(A){super(),this.source=A}}function qe(O){return(ni(O)?O.validators:O)||null}function pn(O,A){return(ni(A)?A.asyncValidators:O)||null}function ni(O){return null!=O&&!Array.isArray(O)&&"object"==typeof O}class Gr{constructor(A,w){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._events=new X.B,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(A),this._assignAsyncValidators(w)}get validator(){return this._composedValidatorFn}set validator(A){this._rawValidators=this._composedValidatorFn=A}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(A){this._rawAsyncValidators=this._composedAsyncValidatorFn=A}get parent(){return this._parent}get valid(){return this.status===rn}get invalid(){return this.status===In}get pending(){return this.status==li}get disabled(){return this.status===Un}get enabled(){return this.status!==Un}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(A){this._assignValidators(A)}setAsyncValidators(A){this._assignAsyncValidators(A)}addValidators(A){this.setValidators(fn(A,this._rawValidators))}addAsyncValidators(A){this.setAsyncValidators(fn(A,this._rawAsyncValidators))}removeValidators(A){this.setValidators(bn(A,this._rawValidators))}removeAsyncValidators(A){this.setAsyncValidators(bn(A,this._rawAsyncValidators))}hasValidator(A){return gt(this._rawValidators,A)}hasAsyncValidator(A){return gt(this._rawAsyncValidators,A)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(A={}){const w=!1===this.touched;this.touched=!0;const V=A.sourceControl??this;this._parent&&!A.onlySelf&&this._parent.markAsTouched({...A,sourceControl:V}),w&&!1!==A.emitEvent&&this._events.next(new pe(!0,V))}markAllAsTouched(A={}){this.markAsTouched({onlySelf:!0,emitEvent:A.emitEvent,sourceControl:this}),this._forEachChild(w=>w.markAllAsTouched(A))}markAsUntouched(A={}){const w=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const V=A.sourceControl??this;this._forEachChild(ie=>{ie.markAsUntouched({onlySelf:!0,emitEvent:A.emitEvent,sourceControl:V})}),this._parent&&!A.onlySelf&&this._parent._updateTouched(A,V),w&&!1!==A.emitEvent&&this._events.next(new pe(!1,V))}markAsDirty(A={}){const w=!0===this.pristine;this.pristine=!1;const V=A.sourceControl??this;this._parent&&!A.onlySelf&&this._parent.markAsDirty({...A,sourceControl:V}),w&&!1!==A.emitEvent&&this._events.next(new we(!1,V))}markAsPristine(A={}){const w=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const V=A.sourceControl??this;this._forEachChild(ie=>{ie.markAsPristine({onlySelf:!0,emitEvent:A.emitEvent})}),this._parent&&!A.onlySelf&&this._parent._updatePristine(A,V),w&&!1!==A.emitEvent&&this._events.next(new we(!0,V))}markAsPending(A={}){this.status=li;const w=A.sourceControl??this;!1!==A.emitEvent&&(this._events.next(new Z(this.status,w)),this.statusChanges.emit(this.status)),this._parent&&!A.onlySelf&&this._parent.markAsPending({...A,sourceControl:w})}disable(A={}){const w=this._parentMarkedDirty(A.onlySelf);this.status=Un,this.errors=null,this._forEachChild(ie=>{ie.disable({...A,onlySelf:!0})}),this._updateValue();const V=A.sourceControl??this;!1!==A.emitEvent&&(this._events.next(new vt(this.value,V)),this._events.next(new Z(this.status,V)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...A,skipPristineCheck:w},this),this._onDisabledChange.forEach(ie=>ie(!0))}enable(A={}){const w=this._parentMarkedDirty(A.onlySelf);this.status=rn,this._forEachChild(V=>{V.enable({...A,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:A.emitEvent}),this._updateAncestors({...A,skipPristineCheck:w},this),this._onDisabledChange.forEach(V=>V(!1))}_updateAncestors(A,w){this._parent&&!A.onlySelf&&(this._parent.updateValueAndValidity(A),A.skipPristineCheck||this._parent._updatePristine({},w),this._parent._updateTouched({},w))}setParent(A){this._parent=A}getRawValue(){return this.value}updateValueAndValidity(A={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const V=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===rn||this.status===li)&&this._runAsyncValidator(V,A.emitEvent)}const w=A.sourceControl??this;!1!==A.emitEvent&&(this._events.next(new vt(this.value,w)),this._events.next(new Z(this.status,w)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!A.onlySelf&&this._parent.updateValueAndValidity({...A,sourceControl:w})}_updateTreeValidity(A={emitEvent:!0}){this._forEachChild(w=>w._updateTreeValidity(A)),this.updateValueAndValidity({onlySelf:!0,emitEvent:A.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Un:rn}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(A,w){if(this.asyncValidator){this.status=li,this._hasOwnPendingAsyncValidator={emitEvent:!1!==w};const V=Cn(this.asyncValidator(this));this._asyncValidationSubscription=V.subscribe(ie=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(ie,{emitEvent:w,shouldHaveEmitted:A})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const A=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,A}return!1}setErrors(A,w={}){this.errors=A,this._updateControlsErrors(!1!==w.emitEvent,this,w.shouldHaveEmitted)}get(A){let w=A;return null==w||(Array.isArray(w)||(w=w.split(".")),0===w.length)?null:w.reduce((V,ie)=>V&&V._find(ie),this)}getError(A,w){const V=w?this.get(w):this;return V&&V.errors?V.errors[A]:null}hasError(A,w){return!!this.getError(A,w)}get root(){let A=this;for(;A._parent;)A=A._parent;return A}_updateControlsErrors(A,w,V){this.status=this._calculateStatus(),A&&this.statusChanges.emit(this.status),(A||V)&&this._events.next(new Z(this.status,w)),this._parent&&this._parent._updateControlsErrors(A,w,V)}_initObservables(){this.valueChanges=new o.bkB,this.statusChanges=new o.bkB}_calculateStatus(){return this._allControlsDisabled()?Un:this.errors?In:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(li)?li:this._anyControlsHaveStatus(In)?In:rn}_anyControlsHaveStatus(A){return this._anyControls(w=>w.status===A)}_anyControlsDirty(){return this._anyControls(A=>A.dirty)}_anyControlsTouched(){return this._anyControls(A=>A.touched)}_updatePristine(A,w){const V=!this._anyControlsDirty(),ie=this.pristine!==V;this.pristine=V,this._parent&&!A.onlySelf&&this._parent._updatePristine(A,w),ie&&this._events.next(new we(this.pristine,w))}_updateTouched(A={},w){this.touched=this._anyControlsTouched(),this._events.next(new pe(this.touched,w)),this._parent&&!A.onlySelf&&this._parent._updateTouched(A,w)}_registerOnCollectionChange(A){this._onCollectionChange=A}_setUpdateStrategy(A){ni(A)&&null!=A.updateOn&&(this._updateOn=A.updateOn)}_parentMarkedDirty(A){return!A&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(A){return null}_assignValidators(A){this._rawValidators=Array.isArray(A)?A.slice():A,this._composedValidatorFn=function Zt(O){return Array.isArray(O)?he(O):O||null}(this._rawValidators)}_assignAsyncValidators(A){this._rawAsyncValidators=Array.isArray(A)?A.slice():A,this._composedAsyncValidatorFn=function yn(O){return Array.isArray(O)?ne(O):O||null}(this._rawAsyncValidators)}}class is extends Gr{constructor(A,w,V){super(qe(w),pn(V,w)),this.controls=A,this._initObservables(),this._setUpdateStrategy(w),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(A,w){return this.controls[A]?this.controls[A]:(this.controls[A]=w,w.setParent(this),w._registerOnCollectionChange(this._onCollectionChange),w)}addControl(A,w,V={}){this.registerControl(A,w),this.updateValueAndValidity({emitEvent:V.emitEvent}),this._onCollectionChange()}removeControl(A,w={}){this.controls[A]&&this.controls[A]._registerOnCollectionChange(()=>{}),delete this.controls[A],this.updateValueAndValidity({emitEvent:w.emitEvent}),this._onCollectionChange()}setControl(A,w,V={}){this.controls[A]&&this.controls[A]._registerOnCollectionChange(()=>{}),delete this.controls[A],w&&this.registerControl(A,w),this.updateValueAndValidity({emitEvent:V.emitEvent}),this._onCollectionChange()}contains(A){return this.controls.hasOwnProperty(A)&&this.controls[A].enabled}setValue(A,w={}){(function Ki(O,A,w){O._forEachChild((V,ie)=>{if(void 0===w[ie])throw new o.wOt(1002,"")})})(this,0,A),Object.keys(A).forEach(V=>{(function zi(O,A,w){const V=O.controls;if(!(A?Object.keys(V):V).length)throw new o.wOt(1e3,"");if(!V[w])throw new o.wOt(1001,"")})(this,!0,V),this.controls[V].setValue(A[V],{onlySelf:!0,emitEvent:w.emitEvent})}),this.updateValueAndValidity(w)}patchValue(A,w={}){null!=A&&(Object.keys(A).forEach(V=>{const ie=this.controls[V];ie&&ie.patchValue(A[V],{onlySelf:!0,emitEvent:w.emitEvent})}),this.updateValueAndValidity(w))}reset(A={},w={}){this._forEachChild((V,ie)=>{V.reset(A?A[ie]:null,{onlySelf:!0,emitEvent:w.emitEvent})}),this._updatePristine(w,this),this._updateTouched(w,this),this.updateValueAndValidity(w)}getRawValue(){return this._reduceChildren({},(A,w,V)=>(A[V]=w.getRawValue(),A))}_syncPendingControls(){let A=this._reduceChildren(!1,(w,V)=>!!V._syncPendingControls()||w);return A&&this.updateValueAndValidity({onlySelf:!0}),A}_forEachChild(A){Object.keys(this.controls).forEach(w=>{const V=this.controls[w];V&&A(V,w)})}_setUpControls(){this._forEachChild(A=>{A.setParent(this),A._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(A){for(const[w,V]of Object.entries(this.controls))if(this.contains(w)&&A(V))return!0;return!1}_reduceValue(){return this._reduceChildren({},(w,V,ie)=>((V.enabled||this.disabled)&&(w[ie]=V.value),w))}_reduceChildren(A,w){let V=A;return this._forEachChild((ie,Ut)=>{V=w(V,ie,Ut)}),V}_allControlsDisabled(){for(const A of Object.keys(this.controls))if(this.controls[A].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(A){return this.controls.hasOwnProperty(A)?this.controls[A]:null}}const Qn=new o.nKC("CallSetDisabledState",{providedIn:"root",factory:()=>zn}),zn="always";function ir(O,A,w=zn){qn(O,A),A.valueAccessor.writeValue(O.value),(O.disabled||"always"===w)&&A.valueAccessor.setDisabledState?.(O.disabled),function Zn(O,A){A.valueAccessor.registerOnChange(w=>{O._pendingValue=w,O._pendingChange=!0,O._pendingDirty=!0,"change"===O.updateOn&&rr(O,A)})}(O,A),function fr(O,A){const w=(V,ie)=>{A.valueAccessor.writeValue(V),ie&&A.viewToModelUpdate(V)};O.registerOnChange(w),A._registerOnDestroy(()=>{O._unregisterOnChange(w)})}(O,A),function ki(O,A){A.valueAccessor.registerOnTouched(()=>{O._pendingTouched=!0,"blur"===O.updateOn&&O._pendingChange&&rr(O,A),"submit"!==O.updateOn&&O.markAsTouched()})}(O,A),function vr(O,A){if(A.valueAccessor.setDisabledState){const w=V=>{A.valueAccessor.setDisabledState(V)};O.registerOnDisabledChange(w),A._registerOnDestroy(()=>{O._unregisterOnDisabledChange(w)})}}(O,A)}function ri(O,A,w=!0){const V=()=>{};A.valueAccessor&&(A.valueAccessor.registerOnChange(V),A.valueAccessor.registerOnTouched(V)),si(O,A),O&&(A._invokeOnDestroyCallbacks(),O._registerOnCollectionChange(()=>{}))}function ci(O,A){O.forEach(w=>{w.registerOnValidatorChange&&w.registerOnValidatorChange(A)})}function qn(O,A){const w=Le(O);null!==A.validator?O.setValidators(oe(w,A.validator)):"function"==typeof w&&O.setValidators([w]);const V=ft(O);null!==A.asyncValidator?O.setAsyncValidators(oe(V,A.asyncValidator)):"function"==typeof V&&O.setAsyncValidators([V]);const ie=()=>O.updateValueAndValidity();ci(A._rawValidators,ie),ci(A._rawAsyncValidators,ie)}function si(O,A){let w=!1;if(null!==O){if(null!==A.validator){const ie=Le(O);if(Array.isArray(ie)&&ie.length>0){const Ut=ie.filter(cn=>cn!==A.validator);Ut.length!==ie.length&&(w=!0,O.setValidators(Ut))}}if(null!==A.asyncValidator){const ie=ft(O);if(Array.isArray(ie)&&ie.length>0){const Ut=ie.filter(cn=>cn!==A.asyncValidator);Ut.length!==ie.length&&(w=!0,O.setAsyncValidators(Ut))}}}const V=()=>{};return ci(A._rawValidators,V),ci(A._rawAsyncValidators,V),w}function rr(O,A){O._pendingDirty&&O.markAsDirty(),O.setValue(O._pendingValue,{emitModelToViewChange:!1}),A.viewToModelUpdate(O._pendingValue),O._pendingChange=!1}function Pn(O,A){const w=O.indexOf(A);w>-1&&O.splice(w,1)}function Jt(O){return"object"==typeof O&&null!==O&&2===Object.keys(O).length&&"value"in O&&"disabled"in O}Promise.resolve();const Mn=class extends Gr{constructor(A=null,w,V){super(qe(w),pn(V,w)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(A),this._setUpdateStrategy(w),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),ni(w)&&(w.nonNullable||w.initialValueIsDefault)&&(this.defaultValue=Jt(A)?A.value:A)}setValue(A,w={}){this.value=this._pendingValue=A,this._onChange.length&&!1!==w.emitModelToViewChange&&this._onChange.forEach(V=>V(this.value,!1!==w.emitViewToModelChange)),this.updateValueAndValidity(w)}patchValue(A,w={}){this.setValue(A,w)}reset(A=this.defaultValue,w={}){this._applyFormState(A),this.markAsPristine(w),this.markAsUntouched(w),this.setValue(this.value,w),this._pendingChange=!1}_updateValue(){}_anyControls(A){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(A){this._onChange.push(A)}_unregisterOnChange(A){Pn(this._onChange,A)}registerOnDisabledChange(A){this._onDisabledChange.push(A)}_unregisterOnDisabledChange(A){Pn(this._onDisabledChange,A)}_forEachChild(A){}_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(A){Jt(A)?(this.value=this._pendingValue=A.value,A.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=A}};Promise.resolve();let Li=(()=>{class O{static#e=this.\u0275fac=function(V){return new(V||O)};static#t=this.\u0275dir=o.FsC({type:O,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return O})();const ms=new o.nKC(""),Xr={provide:gn,useExisting:(0,o.Rfq)(()=>Bi)};let Bi=(()=>{class O extends gn{constructor(w,V,ie){super(),this.callSetDisabledState=ie,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new o.bkB,this._setValidators(w),this._setAsyncValidators(V)}ngOnChanges(w){this._checkFormPresent(),w.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(si(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(w){const V=this.form.get(w.path);return ir(V,w,this.callSetDisabledState),V.updateValueAndValidity({emitEvent:!1}),this.directives.push(w),V}getControl(w){return this.form.get(w.path)}removeControl(w){ri(w.control||null,w,!1),function Xt(O,A){const w=O.indexOf(A);w>-1&&O.splice(w,1)}(this.directives,w)}addFormGroup(w){this._setUpFormContainer(w)}removeFormGroup(w){this._cleanUpFormContainer(w)}getFormGroup(w){return this.form.get(w.path)}addFormArray(w){this._setUpFormContainer(w)}removeFormArray(w){this._cleanUpFormContainer(w)}getFormArray(w){return this.form.get(w.path)}updateModel(w,V){this.form.get(w.path).setValue(V)}onSubmit(w){return this.submitted=!0,function Xe(O,A){O._syncPendingControls(),A.forEach(w=>{const V=w.control;"submit"===V.updateOn&&V._pendingChange&&(w.viewToModelUpdate(V._pendingValue),V._pendingChange=!1)})}(this.form,this.directives),this.ngSubmit.emit(w),this.form._events.next(new ue(this.control)),"dialog"===w?.target?.method}onReset(){this.resetForm()}resetForm(w=void 0){this.form.reset(w),this.submitted=!1,this.form._events.next(new Ve(this.form))}_updateDomValue(){this.directives.forEach(w=>{const V=w.control,ie=this.form.get(w.path);V!==ie&&(ri(V||null,w),(O=>O instanceof Mn)(ie)&&(ir(ie,w,this.callSetDisabledState),w.control=ie))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(w){const V=this.form.get(w.path);(function sr(O,A){qn(O,A)})(V,w),V.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(w){if(this.form){const V=this.form.get(w.path);V&&function At(O,A){return si(O,A)}(V,w)&&V.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){qn(this.form,this),this._oldForm&&si(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(V){return new(V||O)(o.rXU(Mt,10),o.rXU(Kt,10),o.rXU(Qn,8))};static#t=this.\u0275dir=o.FsC({type:O,selectors:[["","formGroup",""]],hostBindings:function(V,ie){1&V&&o.bIt("submit",function(cn){return ie.onSubmit(cn)})("reset",function(){return ie.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[o.Jv_([Xr]),o.Vt3,o.OA$]})}return O})();const ye={provide:ti,useExisting:(0,o.Rfq)(()=>_e)};let _e=(()=>{class O extends ti{set isDisabled(w){}static#e=this._ngModelWarningSentOnce=!1;constructor(w,V,ie,Ut,cn){super(),this._ngModelWarningConfig=cn,this._added=!1,this.name=null,this.update=new o.bkB,this._ngModelWarningSent=!1,this._parent=w,this._setValidators(V),this._setAsyncValidators(ie),this.valueAccessor=function Je(O,A){if(!A)return null;let w,V,ie;return Array.isArray(A),A.forEach(Ut=>{Ut.constructor===We?w=Ut:function Ue(O){return Object.getPrototypeOf(O.constructor)===Pe}(Ut)?V=Ut:ie=Ut}),ie||V||w||null}(0,Ut)}ngOnChanges(w){this._added||this._setUpControl(),function Te(O,A){if(!O.hasOwnProperty("model"))return!1;const w=O.model;return!!w.isFirstChange()||!Object.is(A,w.currentValue)}(w,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(w){this.viewModel=w,this.update.emit(w)}get path(){return function Pt(O,A){return[...A.path,O]}(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static#t=this.\u0275fac=function(V){return new(V||O)(o.rXU(gn,13),o.rXU(Mt,10),o.rXU(Kt,10),o.rXU(Ie,10),o.rXU(ms,8))};static#n=this.\u0275dir=o.FsC({type:O,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[o.Jv_([ye]),o.Vt3,o.OA$]})}return O})(),mo=(()=>{class O{static#e=this.\u0275fac=function(V){return new(V||O)};static#t=this.\u0275mod=o.$C({type:O});static#n=this.\u0275inj=o.G2t({})}return O})(),Go=(()=>{class O{static withConfig(w){return{ngModule:O,providers:[{provide:Qn,useValue:w.callSetDisabledState??zn}]}}static#e=this.\u0275fac=function(V){return new(V||O)};static#t=this.\u0275mod=o.$C({type:O});static#n=this.\u0275inj=o.G2t({imports:[mo]})}return O})(),Vr=(()=>{class O{static withConfig(w){return{ngModule:O,providers:[{provide:ms,useValue:w.warnOnNgModelWithFormControl??"always"},{provide:Qn,useValue:w.callSetDisabledState??zn}]}}static#e=this.\u0275fac=function(V){return new(V||O)};static#t=this.\u0275mod=o.$C({type:O});static#n=this.\u0275inj=o.G2t({imports:[mo]})}return O})()},345:(yt,Se,x)=>{x.d(Se,{$x:()=>Rn,B7:()=>it,B8:()=>U,Bb:()=>bt,hE:()=>Qe});var o=x(177),S=x(4438),ge=x(1626);class ce extends o.VF{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class X extends ce{static makeCurrent(){(0,o.ZD)(new X)}onAndCancel(pe,Z,ue){return pe.addEventListener(Z,ue),()=>{pe.removeEventListener(Z,ue)}}dispatchEvent(pe,Z){pe.dispatchEvent(Z)}remove(pe){pe.parentNode&&pe.parentNode.removeChild(pe)}createElement(pe,Z){return(Z=Z||this.getDefaultDocument()).createElement(pe)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(pe){return pe.nodeType===Node.ELEMENT_NODE}isShadowRoot(pe){return pe instanceof DocumentFragment}getGlobalEventTarget(pe,Z){return"window"===Z?window:"document"===Z?pe:"body"===Z?pe.body:null}getBaseHref(pe){const Z=function Ne(){return le=le||document.querySelector("base"),le?le.getAttribute("href"):null}();return null==Z?null:function Pe(we){return new URL(we,document.baseURI).pathname}(Z)}resetBaseElement(){le=null}getUserAgent(){return window.navigator.userAgent}getCookie(pe){return(0,o._b)(document.cookie,pe)}}let le=null,Ae=(()=>{class we{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(ue){return new(ue||we)};static#t=this.\u0275prov=S.jDH({token:we,factory:we.\u0275fac})}return we})();const Me=new S.nKC("");let Be=(()=>{class we{constructor(Z,ue){this._zone=ue,this._eventNameToPlugin=new Map,Z.forEach(Ve=>{Ve.manager=this}),this._plugins=Z.slice().reverse()}addEventListener(Z,ue,Ve){return this._findPluginFor(ue).addEventListener(Z,ue,Ve)}getZone(){return this._zone}_findPluginFor(Z){let ue=this._eventNameToPlugin.get(Z);if(ue)return ue;if(ue=this._plugins.find(qe=>qe.supports(Z)),!ue)throw new S.wOt(5101,!1);return this._eventNameToPlugin.set(Z,ue),ue}static#e=this.\u0275fac=function(ue){return new(ue||we)(S.KVO(Me),S.KVO(S.SKi))};static#t=this.\u0275prov=S.jDH({token:we,factory:we.\u0275fac})}return we})();class ct{constructor(pe){this._doc=pe}}const He="ng-app-id";let We=(()=>{class we{constructor(Z,ue,Ve,qe={}){this.doc=Z,this.appId=ue,this.nonce=Ve,this.platformId=qe,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,o.Vy)(qe),this.resetHostNodes()}addStyles(Z){for(const ue of Z)1===this.changeUsageCount(ue,1)&&this.onStyleAdded(ue)}removeStyles(Z){for(const ue of Z)this.changeUsageCount(ue,-1)<=0&&this.onStyleRemoved(ue)}ngOnDestroy(){const Z=this.styleNodesInDOM;Z&&(Z.forEach(ue=>ue.remove()),Z.clear());for(const ue of this.getAllStyles())this.onStyleRemoved(ue);this.resetHostNodes()}addHost(Z){this.hostNodes.add(Z);for(const ue of this.getAllStyles())this.addStyleToHost(Z,ue)}removeHost(Z){this.hostNodes.delete(Z)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(Z){for(const ue of this.hostNodes)this.addStyleToHost(ue,Z)}onStyleRemoved(Z){const ue=this.styleRef;ue.get(Z)?.elements?.forEach(Ve=>Ve.remove()),ue.delete(Z)}collectServerRenderedStyles(){const Z=this.doc.head?.querySelectorAll(`style[${He}="${this.appId}"]`);if(Z?.length){const ue=new Map;return Z.forEach(Ve=>{null!=Ve.textContent&&ue.set(Ve.textContent,Ve)}),ue}return null}changeUsageCount(Z,ue){const Ve=this.styleRef;if(Ve.has(Z)){const qe=Ve.get(Z);return qe.usage+=ue,qe.usage}return Ve.set(Z,{usage:ue,elements:[]}),ue}getStyleElement(Z,ue){const Ve=this.styleNodesInDOM,qe=Ve?.get(ue);if(qe?.parentNode===Z)return Ve.delete(ue),qe.removeAttribute(He),qe;{const Zt=this.doc.createElement("style");return this.nonce&&Zt.setAttribute("nonce",this.nonce),Zt.textContent=ue,this.platformIsServer&&Zt.setAttribute(He,this.appId),Z.appendChild(Zt),Zt}}addStyleToHost(Z,ue){const Ve=this.getStyleElement(Z,ue),qe=this.styleRef,Zt=qe.get(ue)?.elements;Zt?Zt.push(Ve):qe.set(ue,{elements:[Ve],usage:1})}resetHostNodes(){const Z=this.hostNodes;Z.clear(),Z.add(this.doc.head)}static#e=this.\u0275fac=function(ue){return new(ue||we)(S.KVO(o.qQ),S.KVO(S.sZ2),S.KVO(S.BIS,8),S.KVO(S.Agw))};static#t=this.\u0275prov=S.jDH({token:we,factory:we.\u0275fac})}return we})();const St={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},jt=/%COMP%/g,$e=new S.nKC("",{providedIn:"root",factory:()=>!0});function lt(we,pe){return pe.map(Z=>Z.replace(jt,we))}let it=(()=>{class we{constructor(Z,ue,Ve,qe,Zt,pn,yn,ni=null){this.eventManager=Z,this.sharedStylesHost=ue,this.appId=Ve,this.removeStylesOnCompDestroy=qe,this.doc=Zt,this.platformId=pn,this.ngZone=yn,this.nonce=ni,this.rendererByCompId=new Map,this.platformIsServer=(0,o.Vy)(pn),this.defaultRenderer=new Ct(Z,Zt,yn,this.platformIsServer)}createRenderer(Z,ue){if(!Z||!ue)return this.defaultRenderer;this.platformIsServer&&ue.encapsulation===S.gXe.ShadowDom&&(ue={...ue,encapsulation:S.gXe.Emulated});const Ve=this.getOrCreateRenderer(Z,ue);return Ve instanceof wi?Ve.applyToHost(Z):Ve instanceof Cn&&Ve.applyStyles(),Ve}getOrCreateRenderer(Z,ue){const Ve=this.rendererByCompId;let qe=Ve.get(ue.id);if(!qe){const Zt=this.doc,pn=this.ngZone,yn=this.eventManager,ni=this.sharedStylesHost,zi=this.removeStylesOnCompDestroy,Ki=this.platformIsServer;switch(ue.encapsulation){case S.gXe.Emulated:qe=new wi(yn,ni,ue,this.appId,zi,Zt,pn,Ki);break;case S.gXe.ShadowDom:return new Wn(yn,ni,Z,ue,Zt,pn,this.nonce,Ki);default:qe=new Cn(yn,ni,ue,zi,Zt,pn,Ki)}Ve.set(ue.id,qe)}return qe}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(ue){return new(ue||we)(S.KVO(Be),S.KVO(We),S.KVO(S.sZ2),S.KVO($e),S.KVO(o.qQ),S.KVO(S.Agw),S.KVO(S.SKi),S.KVO(S.BIS))};static#t=this.\u0275prov=S.jDH({token:we,factory:we.\u0275fac})}return we})();class Ct{constructor(pe,Z,ue,Ve){this.eventManager=pe,this.doc=Z,this.ngZone=ue,this.platformIsServer=Ve,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(pe,Z){return Z?this.doc.createElementNS(St[Z]||Z,pe):this.doc.createElement(pe)}createComment(pe){return this.doc.createComment(pe)}createText(pe){return this.doc.createTextNode(pe)}appendChild(pe,Z){(Qt(pe)?pe.content:pe).appendChild(Z)}insertBefore(pe,Z,ue){pe&&(Qt(pe)?pe.content:pe).insertBefore(Z,ue)}removeChild(pe,Z){pe&&pe.removeChild(Z)}selectRootElement(pe,Z){let ue="string"==typeof pe?this.doc.querySelector(pe):pe;if(!ue)throw new S.wOt(-5104,!1);return Z||(ue.textContent=""),ue}parentNode(pe){return pe.parentNode}nextSibling(pe){return pe.nextSibling}setAttribute(pe,Z,ue,Ve){if(Ve){Z=Ve+":"+Z;const qe=St[Ve];qe?pe.setAttributeNS(qe,Z,ue):pe.setAttribute(Z,ue)}else pe.setAttribute(Z,ue)}removeAttribute(pe,Z,ue){if(ue){const Ve=St[ue];Ve?pe.removeAttributeNS(Ve,Z):pe.removeAttribute(`${ue}:${Z}`)}else pe.removeAttribute(Z)}addClass(pe,Z){pe.classList.add(Z)}removeClass(pe,Z){pe.classList.remove(Z)}setStyle(pe,Z,ue,Ve){Ve&(S.czy.DashCase|S.czy.Important)?pe.style.setProperty(Z,ue,Ve&S.czy.Important?"important":""):pe.style[Z]=ue}removeStyle(pe,Z,ue){ue&S.czy.DashCase?pe.style.removeProperty(Z):pe.style[Z]=""}setProperty(pe,Z,ue){null!=pe&&(pe[Z]=ue)}setValue(pe,Z){pe.nodeValue=Z}listen(pe,Z,ue){if("string"==typeof pe&&!(pe=(0,o.QT)().getGlobalEventTarget(this.doc,pe)))throw new Error(`Unsupported event target ${pe} for event ${Z}`);return this.eventManager.addEventListener(pe,Z,this.decoratePreventDefault(ue))}decoratePreventDefault(pe){return Z=>{if("__ngUnwrap__"===Z)return pe;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>pe(Z)):pe(Z))&&Z.preventDefault()}}}function Qt(we){return"TEMPLATE"===we.tagName&&void 0!==we.content}class Wn extends Ct{constructor(pe,Z,ue,Ve,qe,Zt,pn,yn){super(pe,qe,Zt,yn),this.sharedStylesHost=Z,this.hostEl=ue,this.shadowRoot=ue.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const ni=lt(Ve.id,Ve.styles);for(const zi of ni){const Ki=document.createElement("style");pn&&Ki.setAttribute("nonce",pn),Ki.textContent=zi,this.shadowRoot.appendChild(Ki)}}nodeOrShadowRoot(pe){return pe===this.hostEl?this.shadowRoot:pe}appendChild(pe,Z){return super.appendChild(this.nodeOrShadowRoot(pe),Z)}insertBefore(pe,Z,ue){return super.insertBefore(this.nodeOrShadowRoot(pe),Z,ue)}removeChild(pe,Z){return super.removeChild(this.nodeOrShadowRoot(pe),Z)}parentNode(pe){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(pe)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Cn extends Ct{constructor(pe,Z,ue,Ve,qe,Zt,pn,yn){super(pe,qe,Zt,pn),this.sharedStylesHost=Z,this.removeStylesOnCompDestroy=Ve,this.styles=yn?lt(yn,ue.styles):ue.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class wi extends Cn{constructor(pe,Z,ue,Ve,qe,Zt,pn,yn){const ni=Ve+"-"+ue.id;super(pe,Z,ue,qe,Zt,pn,yn,ni),this.contentAttr=function st(we){return"_ngcontent-%COMP%".replace(jt,we)}(ni),this.hostAttr=function kt(we){return"_nghost-%COMP%".replace(jt,we)}(ni)}applyToHost(pe){this.applyStyles(),this.setAttribute(pe,this.hostAttr,"")}createElement(pe,Z){const ue=super.createElement(pe,Z);return super.setAttribute(ue,this.contentAttr,""),ue}}let vi=(()=>{class we extends ct{constructor(Z){super(Z)}supports(Z){return!0}addEventListener(Z,ue,Ve){return Z.addEventListener(ue,Ve,!1),()=>this.removeEventListener(Z,ue,Ve)}removeEventListener(Z,ue,Ve){return Z.removeEventListener(ue,Ve)}static#e=this.\u0275fac=function(ue){return new(ue||we)(S.KVO(o.qQ))};static#t=this.\u0275prov=S.jDH({token:we,factory:we.\u0275fac})}return we})();const jn=["alt","control","meta","shift"],be={"\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"},te={alt:we=>we.altKey,control:we=>we.ctrlKey,meta:we=>we.metaKey,shift:we=>we.shiftKey};let he=(()=>{class we extends ct{constructor(Z){super(Z)}supports(Z){return null!=we.parseEventName(Z)}addEventListener(Z,ue,Ve){const qe=we.parseEventName(ue),Zt=we.eventCallback(qe.fullKey,Ve,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,o.QT)().onAndCancel(Z,qe.domEventName,Zt))}static parseEventName(Z){const ue=Z.toLowerCase().split("."),Ve=ue.shift();if(0===ue.length||"keydown"!==Ve&&"keyup"!==Ve)return null;const qe=we._normalizeKey(ue.pop());let Zt="",pn=ue.indexOf("code");if(pn>-1&&(ue.splice(pn,1),Zt="code."),jn.forEach(ni=>{const zi=ue.indexOf(ni);zi>-1&&(ue.splice(zi,1),Zt+=ni+".")}),Zt+=qe,0!=ue.length||0===qe.length)return null;const yn={};return yn.domEventName=Ve,yn.fullKey=Zt,yn}static matchEventFullKeyCode(Z,ue){let Ve=be[Z.key]||Z.key,qe="";return ue.indexOf("code.")>-1&&(Ve=Z.code,qe="code."),!(null==Ve||!Ve)&&(Ve=Ve.toLowerCase()," "===Ve?Ve="space":"."===Ve&&(Ve="dot"),jn.forEach(Zt=>{Zt!==Ve&&(0,te[Zt])(Z)&&(qe+=Zt+".")}),qe+=Ve,qe===ue)}static eventCallback(Z,ue,Ve){return qe=>{we.matchEventFullKeyCode(qe,Z)&&Ve.runGuarded(()=>ue(qe))}}static _normalizeKey(Z){return"esc"===Z?"escape":Z}static#e=this.\u0275fac=function(ue){return new(ue||we)(S.KVO(o.qQ))};static#t=this.\u0275prov=S.jDH({token:we,factory:we.\u0275fac})}return we})();function U(we,pe){return(0,S.TL3)({rootComponent:we,...oe(pe)})}function oe(we){return{appProviders:[...ti,...we?.providers??[]],platformProviders:fn}}const fn=[{provide:S.Agw,useValue:o.AJ},{provide:S.PLl,useValue:function ft(){X.makeCurrent()},multi:!0},{provide:o.qQ,useFactory:function gt(){return(0,S.TL$)(document),document},deps:[]}],wn=new S.nKC(""),gn=[{provide:S.e01,useClass:class Ie{addToWindow(pe){S.JZv.getAngularTestability=(ue,Ve=!0)=>{const qe=pe.findTestabilityInTree(ue,Ve);if(null==qe)throw new S.wOt(5103,!1);return qe},S.JZv.getAllAngularTestabilities=()=>pe.getAllTestabilities(),S.JZv.getAllAngularRootElements=()=>pe.getAllRootElements(),S.JZv.frameworkStabilizers||(S.JZv.frameworkStabilizers=[]),S.JZv.frameworkStabilizers.push(ue=>{const Ve=S.JZv.getAllAngularTestabilities();let qe=Ve.length;const Zt=function(){qe--,0==qe&&ue()};Ve.forEach(pn=>{pn.whenStable(Zt)})})}findTestabilityInTree(pe,Z,ue){return null==Z?null:pe.getTestability(Z)??(ue?(0,o.QT)().isShadowRoot(Z)?this.findTestabilityInTree(pe,Z.host,!0):this.findTestabilityInTree(pe,Z.parentElement,!0):null)}},deps:[]},{provide:S.WHO,useClass:S.NYb,deps:[S.SKi,S.giA,S.e01]},{provide:S.NYb,useClass:S.NYb,deps:[S.SKi,S.giA,S.e01]}],ti=[{provide:S.H8p,useValue:"root"},{provide:S.zcH,useFactory:function vn(){return new S.zcH},deps:[]},{provide:Me,useClass:vi,multi:!0,deps:[o.qQ,S.SKi,S.Agw]},{provide:Me,useClass:he,multi:!0,deps:[o.qQ]},it,We,Be,{provide:S._9s,useExisting:it},{provide:o.N0,useClass:Ae,deps:[]},[]];let bt=(()=>{class we{constructor(Z){}static withServerTransition(Z){return{ngModule:we,providers:[{provide:S.sZ2,useValue:Z.appId}]}}static#e=this.\u0275fac=function(ue){return new(ue||we)(S.KVO(wn,12))};static#t=this.\u0275mod=S.$C({type:we});static#n=this.\u0275inj=S.G2t({providers:[...ti,...gn],imports:[o.MD,S.Hbi]})}return we})(),Qe=(()=>{class we{constructor(Z){this._doc=Z}getTitle(){return this._doc.title}setTitle(Z){this._doc.title=Z||""}static#e=this.\u0275fac=function(ue){return new(ue||we)(S.KVO(o.qQ))};static#t=this.\u0275prov=S.jDH({token:we,factory:we.\u0275fac,providedIn:"root"})}return we})();var zt=function(we){return we[we.NoHttpTransferCache=0]="NoHttpTransferCache",we[we.HttpTransferCacheOptions=1]="HttpTransferCacheOptions",we[we.I18nSupport=2]="I18nSupport",we[we.EventReplay=3]="EventReplay",we}(zt||{});function Rn(...we){const pe=[],Z=new Set,ue=Z.has(zt.HttpTransferCacheOptions);for(const{\u0275providers:Ve,\u0275kind:qe}of we)Z.add(qe),Ve.length&&pe.push(Ve);return(0,S.EmA)([[],(0,S.M8M)(),Z.has(zt.NoHttpTransferCache)||ue?[]:(0,ge.$m)({}),pe])}},4550:(yt,Se,x)=>{x.d(Se,{nX:()=>z,Ix:()=>Si,Wk:()=>Qi,wQ:()=>ao,n3:()=>et,lh:()=>gr,oH:()=>As,Ii:()=>cs});var o=x(467),S=x(4438),ge=x(4402),ce=x(6648),X=x(7673),le=x(4412),Ne=x(9350),Pe=x(1985),Ie=x(3073),Ae=x(3669),Me=x(6450),Be=x(9326),ct=x(8496),He=x(4360),We=x(5225);function St(..._){const E=(0,Be.lI)(_),v=(0,Be.ms)(_),{args:C,keys:R}=(0,Ie.D)(_);if(0===C.length)return(0,ce.H)([],E);const H=new Pe.c(function jt(_,E,v=Ae.D){return C=>{Mt(E,()=>{const{length:R}=_,H=new Array(R);let Q=R,Ee=R;for(let me=0;me<R;me++)Mt(E,()=>{const nt=(0,ce.H)(_[me],E);let Vt=!1;nt.subscribe((0,He._)(C,nn=>{H[me]=nn,Vt||(Vt=!0,Ee--),Ee||C.next(v(H.slice()))},()=>{--Q||C.complete()}))},C)},C)}}(C,E,R?Q=>(0,ct.e)(R,Q):Ae.D));return v?H.pipe((0,Me.I)(v)):H}function Mt(_,E,v){_?(0,We.N)(v,_,E):E()}var Kt=x(8793),Nn=x(9030),Ge=x(1203),$e=x(8810),st=x(983),kt=x(8359),lt=x(9974);function it(){return(0,lt.N)((_,E)=>{let v=null;_._refCount++;const C=(0,He._)(E,void 0,void 0,void 0,()=>{if(!_||_._refCount<=0||0<--_._refCount)return void(v=null);const R=_._connection,H=v;v=null,R&&(!H||R===H)&&R.unsubscribe(),E.unsubscribe()});_.subscribe(C),C.closed||(v=_.connect())})}class Ct extends Pe.c{constructor(E,v){super(),this.source=E,this.subjectFactory=v,this._subject=null,this._refCount=0,this._connection=null,(0,lt.S)(E)&&(this.lift=E.lift)}_subscribe(E){return this.getSubject().subscribe(E)}getSubject(){const E=this._subject;return(!E||E.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:E}=this;this._subject=this._connection=null,E?.unsubscribe()}connect(){let E=this._connection;if(!E){E=this._connection=new kt.yU;const v=this.getSubject();E.add(this.source.subscribe((0,He._)(v,void 0,()=>{this._teardown(),v.complete()},C=>{this._teardown(),v.error(C)},()=>this._teardown()))),E.closed&&(this._connection=null,E=kt.yU.EMPTY)}return E}refCount(){return it()(this)}}var Et=x(1413),$t=x(177),Qt=x(6354),Wn=x(5558),Cn=x(6697),wi=x(9172),vi=x(5964),jn=x(1397),be=x(1594),te=x(274),he=x(8141),U=x(9437);var Le=x(9901);function ft(_){return _<=0?()=>st.w:(0,lt.N)((E,v)=>{let C=[];E.subscribe((0,He._)(v,R=>{C.push(R),_<C.length&&C.shift()},()=>{for(const R of C)v.next(R);v.complete()},void 0,()=>{C=null}))})}var vn=x(3774),fn=x(3703),bn=x(980),wn=x(6977),gn=x(6365),ti=x(345);const bt="primary",mn=Symbol("RouteTitle");class yi{constructor(E){this.params=E||{}}has(E){return Object.prototype.hasOwnProperty.call(this.params,E)}get(E){if(this.has(E)){const v=this.params[E];return Array.isArray(v)?v[0]:v}return null}getAll(E){if(this.has(E)){const v=this.params[E];return Array.isArray(v)?v:[v]}return[]}get keys(){return Object.keys(this.params)}}function Qe(_){return new yi(_)}function Ri(_,E,v){const C=v.path.split("/");if(C.length>_.length||"full"===v.pathMatch&&(E.hasChildren()||C.length<_.length))return null;const R={};for(let H=0;H<C.length;H++){const Q=C[H],Ee=_[H];if(":"===Q[0])R[Q.substring(1)]=Ee;else if(Q!==Ee.path)return null}return{consumed:_.slice(0,C.length),posParams:R}}function pi(_,E){const v=_?_r(_):void 0,C=E?_r(E):void 0;if(!v||!C||v.length!=C.length)return!1;let R;for(let H=0;H<v.length;H++)if(R=v[H],!xe(_[R],E[R]))return!1;return!0}function _r(_){return[...Object.keys(_),...Object.getOwnPropertySymbols(_)]}function xe(_,E){if(Array.isArray(_)&&Array.isArray(E)){if(_.length!==E.length)return!1;const v=[..._].sort(),C=[...E].sort();return v.every((R,H)=>C[H]===R)}return _===E}function bi(_){return _.length>0?_[_.length-1]:null}function Ht(_){return(0,ge.A)(_)?_:(0,S.jNT)(_)?(0,ce.H)(Promise.resolve(_)):(0,X.of)(_)}const on={exact:function Mr(_,E,v){if(!In(_.segments,E.segments)||!$r(_.segments,E.segments,v)||_.numberOfChildren!==E.numberOfChildren)return!1;for(const C in E.children)if(!_.children[C]||!Mr(_.children[C],E.children[C],v))return!1;return!0},subset:Pi},hn={exact:function Xi(_,E){return pi(_,E)},subset:function gi(_,E){return Object.keys(E).length<=Object.keys(_).length&&Object.keys(E).every(v=>xe(_[v],E[v]))},ignored:()=>!0};function nr(_,E,v){return on[v.paths](_.root,E.root,v.matrixParams)&&hn[v.queryParams](_.queryParams,E.queryParams)&&!("exact"===v.fragment&&_.fragment!==E.fragment)}function Pi(_,E,v){return Rt(_,E,E.segments,v)}function Rt(_,E,v,C){if(_.segments.length>v.length){const R=_.segments.slice(0,v.length);return!(!In(R,v)||E.hasChildren()||!$r(R,v,C))}if(_.segments.length===v.length){if(!In(_.segments,v)||!$r(_.segments,v,C))return!1;for(const R in E.children)if(!_.children[R]||!Pi(_.children[R],E.children[R],C))return!1;return!0}{const R=v.slice(0,_.segments.length),H=v.slice(_.segments.length);return!!(In(_.segments,R)&&$r(_.segments,R,C)&&_.children[bt])&&Rt(_.children[bt],E,H,C)}}function $r(_,E,v){return E.every((C,R)=>hn[v](_[R].parameters,C.parameters))}class zt{constructor(E=new ut([],{}),v={},C=null){this.root=E,this.queryParams=v,this.fragment=C}get queryParamMap(){return this._queryParamMap??=Qe(this.queryParams),this._queryParamMap}toString(){return vt.serialize(this)}}class ut{constructor(E,v){this.segments=E,this.children=v,this.parent=null,Object.values(v).forEach(C=>C.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return we(this)}}class Wi{constructor(E,v){this.path=E,this.parameters=v}get parameterMap(){return this._parameterMap??=Qe(this.parameters),this._parameterMap}toString(){return yn(this)}}function In(_,E){return _.length===E.length&&_.every((v,C)=>v.path===E[C].path)}let Un=(()=>{class _{static#e=this.\u0275fac=function(C){return new(C||_)};static#t=this.\u0275prov=S.jDH({token:_,factory:()=>new Rn,providedIn:"root"})}return _})();class Rn{parse(E){const v=new Qn(E);return new zt(v.parseRootSegment(),v.parseQueryParams(),v.parseFragment())}serialize(E){const v=`/${pe(E.root,!0)}`,C=function zi(_){const E=Object.entries(_).map(([v,C])=>Array.isArray(C)?C.map(R=>`${ue(v)}=${ue(R)}`).join("&"):`${ue(v)}=${ue(C)}`).filter(v=>v);return E.length?`?${E.join("&")}`:""}(E.queryParams);return`${v}${C}${"string"==typeof E.fragment?`#${function Ve(_){return encodeURI(_)}(E.fragment)}`:""}`}}const vt=new Rn;function we(_){return _.segments.map(E=>yn(E)).join("/")}function pe(_,E){if(!_.hasChildren())return we(_);if(E){const v=_.children[bt]?pe(_.children[bt],!1):"",C=[];return Object.entries(_.children).forEach(([R,H])=>{R!==bt&&C.push(`${R}:${pe(H,!1)}`)}),C.length>0?`${v}(${C.join("//")})`:v}{const v=function li(_,E){let v=[];return Object.entries(_.children).forEach(([C,R])=>{C===bt&&(v=v.concat(E(R,C)))}),Object.entries(_.children).forEach(([C,R])=>{C!==bt&&(v=v.concat(E(R,C)))}),v}(_,(C,R)=>R===bt?[pe(_.children[bt],!1)]:[`${R}:${pe(C,!1)}`]);return 1===Object.keys(_.children).length&&null!=_.children[bt]?`${we(_)}/${v[0]}`:`${we(_)}/(${v.join("//")})`}}function Z(_){return encodeURIComponent(_).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ue(_){return Z(_).replace(/%3B/gi,";")}function qe(_){return Z(_).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Zt(_){return decodeURIComponent(_)}function pn(_){return Zt(_.replace(/\+/g,"%20"))}function yn(_){return`${qe(_.path)}${function ni(_){return Object.entries(_).map(([E,v])=>`;${qe(E)}=${qe(v)}`).join("")}(_.parameters)}`}const Ki=/^[^\/()?;#]+/;function Gr(_){const E=_.match(Ki);return E?E[0]:""}const is=/^[^\/()?;=#]+/,It=/^[^=?&#]+/,Wr=/^[^&#]+/;class Qn{constructor(E){this.url=E,this.remaining=E}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new ut([],{}):new ut([],this.parseChildren())}parseQueryParams(){const E={};if(this.consumeOptional("?"))do{this.parseQueryParam(E)}while(this.consumeOptional("&"));return E}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const E=[];for(this.peekStartsWith("(")||E.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),E.push(this.parseSegment());let v={};this.peekStartsWith("/(")&&(this.capture("/"),v=this.parseParens(!0));let C={};return this.peekStartsWith("(")&&(C=this.parseParens(!1)),(E.length>0||Object.keys(v).length>0)&&(C[bt]=new ut(E,v)),C}parseSegment(){const E=Gr(this.remaining);if(""===E&&this.peekStartsWith(";"))throw new S.wOt(4009,!1);return this.capture(E),new Wi(Zt(E),this.parseMatrixParams())}parseMatrixParams(){const E={};for(;this.consumeOptional(";");)this.parseParam(E);return E}parseParam(E){const v=function Ti(_){const E=_.match(is);return E?E[0]:""}(this.remaining);if(!v)return;this.capture(v);let C="";if(this.consumeOptional("=")){const R=Gr(this.remaining);R&&(C=R,this.capture(C))}E[Zt(v)]=Zt(C)}parseQueryParam(E){const v=function hs(_){const E=_.match(It);return E?E[0]:""}(this.remaining);if(!v)return;this.capture(v);let C="";if(this.consumeOptional("=")){const Q=function xs(_){const E=_.match(Wr);return E?E[0]:""}(this.remaining);Q&&(C=Q,this.capture(C))}const R=pn(v),H=pn(C);if(E.hasOwnProperty(R)){let Q=E[R];Array.isArray(Q)||(Q=[Q],E[R]=Q),Q.push(H)}else E[R]=H}parseParens(E){const v={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const C=Gr(this.remaining),R=this.remaining[C.length];if("/"!==R&&")"!==R&&";"!==R)throw new S.wOt(4010,!1);let H;C.indexOf(":")>-1?(H=C.slice(0,C.indexOf(":")),this.capture(H),this.capture(":")):E&&(H=bt);const Q=this.parseChildren();v[H]=1===Object.keys(Q).length?Q[bt]:new ut([],Q),this.consumeOptional("//")}return v}peekStartsWith(E){return this.remaining.startsWith(E)}consumeOptional(E){return!!this.peekStartsWith(E)&&(this.remaining=this.remaining.substring(E.length),!0)}capture(E){if(!this.consumeOptional(E))throw new S.wOt(4011,!1)}}function zn(_){return _.segments.length>0?new ut([],{[bt]:_}):_}function Pt(_){const E={};for(const[C,R]of Object.entries(_.children)){const H=Pt(R);if(C===bt&&0===H.segments.length&&H.hasChildren())for(const[Q,Ee]of Object.entries(H.children))E[Q]=Ee;else(H.segments.length>0||H.hasChildren())&&(E[C]=H)}return function ir(_){if(1===_.numberOfChildren&&_.children[bt]){const E=_.children[bt];return new ut(_.segments.concat(E.segments),E.children)}return _}(new ut(_.segments,E))}function ri(_){return _ instanceof zt}function vr(_){let E;const R=zn(function v(H){const Q={};for(const me of H.children){const nt=v(me);Q[me.outlet]=nt}const Ee=new ut(H.url,Q);return H===_&&(E=Ee),Ee}(_.root));return E??R}function qn(_,E,v,C){let R=_;for(;R.parent;)R=R.parent;if(0===E.length)return ki(R,R,R,v,C);const H=function sr(_){if("string"==typeof _[0]&&1===_.length&&"/"===_[0])return new fr(!0,0,_);let E=0,v=!1;const C=_.reduce((R,H,Q)=>{if("object"==typeof H&&null!=H){if(H.outlets){const Ee={};return Object.entries(H.outlets).forEach(([me,nt])=>{Ee[me]="string"==typeof nt?nt.split("/"):nt}),[...R,{outlets:Ee}]}if(H.segmentPath)return[...R,H.segmentPath]}return"string"!=typeof H?[...R,H]:0===Q?(H.split("/").forEach((Ee,me)=>{0==me&&"."===Ee||(0==me&&""===Ee?v=!0:".."===Ee?E++:""!=Ee&&R.push(Ee))}),R):[...R,H]},[]);return new fr(v,E,C)}(E);if(H.toRoot())return ki(R,R,new ut([],{}),v,C);const Q=function rs(_,E,v){if(_.isAbsolute)return new At(E,!0,0);if(!v)return new At(E,!1,NaN);if(null===v.parent)return new At(v,!0,0);const C=si(_.commands[0])?0:1;return function Yi(_,E,v){let C=_,R=E,H=v;for(;H>R;){if(H-=R,C=C.parent,!C)throw new S.wOt(4005,!1);R=C.segments.length}return new At(C,!1,R-H)}(v,v.segments.length-1+C,_.numberOfDoubleDots)}(H,R,_),Ee=Q.processChildren?q(Q.segmentGroup,Q.index,H.commands):ee(Q.segmentGroup,Q.index,H.commands);return ki(R,Q.segmentGroup,Ee,v,C)}function si(_){return"object"==typeof _&&null!=_&&!_.outlets&&!_.segmentPath}function Zn(_){return"object"==typeof _&&null!=_&&_.outlets}function ki(_,E,v,C,R){let Q,H={};C&&Object.entries(C).forEach(([me,nt])=>{H[me]=Array.isArray(nt)?nt.map(Vt=>`${Vt}`):`${nt}`}),Q=_===E?v:rr(_,E,v);const Ee=zn(Pt(Q));return new zt(Ee,H,R)}function rr(_,E,v){const C={};return Object.entries(_.children).forEach(([R,H])=>{C[R]=H===E?v:rr(H,E,v)}),new ut(_.segments,C)}class fr{constructor(E,v,C){if(this.isAbsolute=E,this.numberOfDoubleDots=v,this.commands=C,E&&C.length>0&&si(C[0]))throw new S.wOt(4003,!1);const R=C.find(Zn);if(R&&R!==bi(C))throw new S.wOt(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class At{constructor(E,v,C){this.segmentGroup=E,this.processChildren=v,this.index=C}}function ee(_,E,v){if(_??=new ut([],{}),0===_.segments.length&&_.hasChildren())return q(_,E,v);const C=function Te(_,E,v){let C=0,R=E;const H={match:!1,pathIndex:0,commandIndex:0};for(;R<_.segments.length;){if(C>=v.length)return H;const Q=_.segments[R],Ee=v[C];if(Zn(Ee))break;const me=`${Ee}`,nt=C<v.length-1?v[C+1]:null;if(R>0&&void 0===me)break;if(me&&nt&&"object"==typeof nt&&void 0===nt.outlets){if(!Xt(me,nt,Q))return H;C+=2}else{if(!Xt(me,{},Q))return H;C++}R++}return{match:!0,pathIndex:R,commandIndex:C}}(_,E,v),R=v.slice(C.commandIndex);if(C.match&&C.pathIndex<_.segments.length){const H=new ut(_.segments.slice(0,C.pathIndex),{});return H.children[bt]=new ut(_.segments.slice(C.pathIndex),_.children),q(H,0,R)}return C.match&&0===R.length?new ut(_.segments,{}):C.match&&!_.hasChildren()?Ue(_,E,v):C.match?q(_,0,R):Ue(_,E,v)}function q(_,E,v){if(0===v.length)return new ut(_.segments,{});{const C=function W(_){return Zn(_[0])?_[0].outlets:{[bt]:_}}(v),R={};if(Object.keys(C).some(H=>H!==bt)&&_.children[bt]&&1===_.numberOfChildren&&0===_.children[bt].segments.length){const H=q(_.children[bt],E,v);return new ut(_.segments,H.children)}return Object.entries(C).forEach(([H,Q])=>{"string"==typeof Q&&(Q=[Q]),null!==Q&&(R[H]=ee(_.children[H],E,Q))}),Object.entries(_.children).forEach(([H,Q])=>{void 0===C[H]&&(R[H]=Q)}),new ut(_.segments,R)}}function Ue(_,E,v){const C=_.segments.slice(0,E);let R=0;for(;R<v.length;){const H=v[R];if(Zn(H)){const me=Xe(H.outlets);return new ut(C,me)}if(0===R&&si(v[0])){C.push(new Wi(_.segments[E].path,Je(v[0]))),R++;continue}const Q=Zn(H)?H.outlets[bt]:`${H}`,Ee=R<v.length-1?v[R+1]:null;Q&&Ee&&si(Ee)?(C.push(new Wi(Q,Je(Ee))),R+=2):(C.push(new Wi(Q,{})),R++)}return new ut(C,{})}function Xe(_){const E={};return Object.entries(_).forEach(([v,C])=>{"string"==typeof C&&(C=[C]),null!==C&&(E[v]=Ue(new ut([],{}),0,C))}),E}function Je(_){const E={};return Object.entries(_).forEach(([v,C])=>E[v]=`${C}`),E}function Xt(_,E,v){return _==v.path&&pi(E,v.parameters)}const Nt="imperative";var mt=function(_){return _[_.NavigationStart=0]="NavigationStart",_[_.NavigationEnd=1]="NavigationEnd",_[_.NavigationCancel=2]="NavigationCancel",_[_.NavigationError=3]="NavigationError",_[_.RoutesRecognized=4]="RoutesRecognized",_[_.ResolveStart=5]="ResolveStart",_[_.ResolveEnd=6]="ResolveEnd",_[_.GuardsCheckStart=7]="GuardsCheckStart",_[_.GuardsCheckEnd=8]="GuardsCheckEnd",_[_.RouteConfigLoadStart=9]="RouteConfigLoadStart",_[_.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",_[_.ChildActivationStart=11]="ChildActivationStart",_[_.ChildActivationEnd=12]="ChildActivationEnd",_[_.ActivationStart=13]="ActivationStart",_[_.ActivationEnd=14]="ActivationEnd",_[_.Scroll=15]="Scroll",_[_.NavigationSkipped=16]="NavigationSkipped",_}(mt||{});class Tn{constructor(E,v){this.id=E,this.url=v}}class Bn extends Tn{constructor(E,v,C="imperative",R=null){super(E,v),this.type=mt.NavigationStart,this.navigationTrigger=C,this.restoredState=R}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Pn extends Tn{constructor(E,v,C){super(E,v),this.urlAfterRedirects=C,this.type=mt.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var Jt=function(_){return _[_.Redirect=0]="Redirect",_[_.SupersededByNewNavigation=1]="SupersededByNewNavigation",_[_.NoDataFromResolver=2]="NoDataFromResolver",_[_.GuardRejected=3]="GuardRejected",_}(Jt||{}),Mn=function(_){return _[_.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",_[_.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",_}(Mn||{});class ln extends Tn{constructor(E,v,C,R){super(E,v),this.reason=C,this.code=R,this.type=mt.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Ze extends Tn{constructor(E,v,C,R){super(E,v),this.reason=C,this.code=R,this.type=mt.NavigationSkipped}}class xt extends Tn{constructor(E,v,C,R){super(E,v),this.error=C,this.target=R,this.type=mt.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class yr extends Tn{constructor(E,v,C,R){super(E,v),this.urlAfterRedirects=C,this.state=R,this.type=mt.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class _n extends Tn{constructor(E,v,C,R){super(E,v),this.urlAfterRedirects=C,this.state=R,this.type=mt.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class hr extends Tn{constructor(E,v,C,R,H){super(E,v),this.urlAfterRedirects=C,this.state=R,this.shouldActivate=H,this.type=mt.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class zr extends Tn{constructor(E,v,C,R){super(E,v),this.urlAfterRedirects=C,this.state=R,this.type=mt.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Mi extends Tn{constructor(E,v,C,R){super(E,v),this.urlAfterRedirects=C,this.state=R,this.type=mt.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class pr{constructor(E){this.route=E,this.type=mt.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class en{constructor(E){this.route=E,this.type=mt.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class ss{constructor(E){this.snapshot=E,this.type=mt.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Kr{constructor(E){this.snapshot=E,this.type=mt.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Li{constructor(E){this.snapshot=E,this.type=mt.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Cs{constructor(E){this.snapshot=E,this.type=mt.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class br{constructor(E,v,C){this.routerEvent=E,this.position=v,this.anchor=C,this.type=mt.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class ws{}class Dr{constructor(E,v){this.url=E,this.navigationBehaviorOptions=v}}class ps{constructor(E){this.injector=E,this.outlet=null,this.route=null,this.children=new gs(this.injector),this.attachRef=null}}let gs=(()=>{class _{constructor(v){this.parentInjector=v,this.contexts=new Map}onChildOutletCreated(v,C){const R=this.getOrCreateContext(v);R.outlet=C,this.contexts.set(v,R)}onChildOutletDestroyed(v){const C=this.getContext(v);C&&(C.outlet=null,C.attachRef=null)}onOutletDeactivated(){const v=this.contexts;return this.contexts=new Map,v}onOutletReAttached(v){this.contexts=v}getOrCreateContext(v){let C=this.getContext(v);return C||(C=new ps(this.parentInjector),this.contexts.set(v,C)),C}getContext(v){return this.contexts.get(v)||null}static#e=this.\u0275fac=function(C){return new(C||_)(S.KVO(S.uvJ))};static#t=this.\u0275prov=S.jDH({token:_,factory:_.\u0275fac,providedIn:"root"})}return _})();class Qr{constructor(E){this._root=E}get root(){return this._root.value}parent(E){const v=this.pathFromRoot(E);return v.length>1?v[v.length-2]:null}children(E){const v=ms(E,this._root);return v?v.children.map(C=>C.value):[]}firstChild(E){const v=ms(E,this._root);return v&&v.children.length>0?v.children[0].value:null}siblings(E){const v=Ts(E,this._root);return v.length<2?[]:v[v.length-2].children.map(R=>R.value).filter(R=>R!==E)}pathFromRoot(E){return Ts(E,this._root).map(v=>v.value)}}function ms(_,E){if(_===E.value)return E;for(const v of E.children){const C=ms(_,v);if(C)return C}return null}function Ts(_,E){if(_===E.value)return[E];for(const v of E.children){const C=Ts(_,v);if(C.length)return C.unshift(E),C}return[]}class mi{constructor(E,v){this.value=E,this.children=v}toString(){return`TreeNode(${this.value})`}}function Xr(_){const E={};return _&&_.children.forEach(v=>E[v.value.outlet]=v),E}class Bi extends Qr{constructor(E,v){super(E),this.snapshot=v,_e(this,E)}toString(){return this.snapshot.toString()}}function F(_){const E=function B(_){const H=new de([],{},{},"",{},bt,_,null,{});return new ye("",new mi(H,[]))}(_),v=new le.t([new Wi("",{})]),C=new le.t({}),R=new le.t({}),H=new le.t({}),Q=new le.t(""),Ee=new z(v,C,H,Q,R,bt,_,E.root);return Ee.snapshot=E.root,new Bi(new mi(Ee,[]),E)}class z{constructor(E,v,C,R,H,Q,Ee,me){this.urlSubject=E,this.paramsSubject=v,this.queryParamsSubject=C,this.fragmentSubject=R,this.dataSubject=H,this.outlet=Q,this.component=Ee,this._futureSnapshot=me,this.title=this.dataSubject?.pipe((0,Qt.T)(nt=>nt[mn]))??(0,X.of)(void 0),this.url=E,this.params=v,this.queryParams=C,this.fragment=R,this.data=H}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe((0,Qt.T)(E=>Qe(E))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,Qt.T)(E=>Qe(E))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function $(_,E,v="emptyOnly"){let C;const{routeConfig:R}=_;return C=null===E||"always"!==v&&""!==R?.path&&(E.component||E.routeConfig?.loadComponent)?{params:{..._.params},data:{..._.data},resolve:{..._.data,..._._resolvedData??{}}}:{params:{...E.params,..._.params},data:{...E.data,..._.data},resolve:{..._.data,...E.data,...R?.data,..._._resolvedData}},R&&Ot(R)&&(C.resolve[mn]=R.title),C}class de{get title(){return this.data?.[mn]}constructor(E,v,C,R,H,Q,Ee,me,nt){this.url=E,this.params=v,this.queryParams=C,this.fragment=R,this.data=H,this.outlet=Q,this.component=Ee,this.routeConfig=me,this._resolve=nt}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??=Qe(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Qe(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(C=>C.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class ye extends Qr{constructor(E,v){super(v),this.url=E,_e(this,v)}toString(){return tt(this._root)}}function _e(_,E){E.value._routerState=_,E.children.forEach(v=>_e(_,v))}function tt(_){const E=_.children.length>0?` { ${_.children.map(tt).join(", ")} } `:"";return`${_.value}${E}`}function Yt(_){if(_.snapshot){const E=_.snapshot,v=_._futureSnapshot;_.snapshot=v,pi(E.queryParams,v.queryParams)||_.queryParamsSubject.next(v.queryParams),E.fragment!==v.fragment&&_.fragmentSubject.next(v.fragment),pi(E.params,v.params)||_.paramsSubject.next(v.params),function dr(_,E){if(_.length!==E.length)return!1;for(let v=0;v<_.length;++v)if(!pi(_[v],E[v]))return!1;return!0}(E.url,v.url)||_.urlSubject.next(v.url),pi(E.data,v.data)||_.dataSubject.next(v.data)}else _.snapshot=_._futureSnapshot,_.dataSubject.next(_._futureSnapshot.data)}function qt(_,E){const v=pi(_.params,E.params)&&function rn(_,E){return In(_,E)&&_.every((v,C)=>pi(v.parameters,E[C].parameters))}(_.url,E.url);return v&&!(!_.parent!=!E.parent)&&(!_.parent||qt(_.parent,E.parent))}function Ot(_){return"string"==typeof _.title||null===_.title}let et=(()=>{class _{constructor(){this.activated=null,this._activatedRoute=null,this.name=bt,this.activateEvents=new S.bkB,this.deactivateEvents=new S.bkB,this.attachEvents=new S.bkB,this.detachEvents=new S.bkB,this.parentContexts=(0,S.WQX)(gs),this.location=(0,S.WQX)(S.c1b),this.changeDetector=(0,S.WQX)(S.gRc),this.inputBinder=(0,S.WQX)(di,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(v){if(v.name){const{firstChange:C,previousValue:R}=v.name;if(C)return;this.isTrackedInParentContexts(R)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(R)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(v){return this.parentContexts.getContext(v)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const v=this.parentContexts.getContext(this.name);v?.route&&(v.attachRef?this.attach(v.attachRef,v.route):this.activateWith(v.route,v.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new S.wOt(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new S.wOt(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new S.wOt(4012,!1);this.location.detach();const v=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(v.instance),v}attach(v,C){this.activated=v,this._activatedRoute=C,this.location.insert(v.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(v.instance)}deactivate(){if(this.activated){const v=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(v)}}activateWith(v,C){if(this.isActivated)throw new S.wOt(4013,!1);this._activatedRoute=v;const R=this.location,Q=v.snapshot.component,Ee=this.parentContexts.getOrCreateContext(this.name).children,me=new ui(v,Ee,R.injector);this.activated=R.createComponent(Q,{index:R.length,injector:me,environmentInjector:C}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(C){return new(C||_)};static#t=this.\u0275dir=S.FsC({type:_,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[S.OA$]})}return _})();class ui{__ngOutletInjector(E){return new ui(this.route,this.childContexts,E)}constructor(E,v,C){this.route=E,this.childContexts=v,this.parent=C}get(E,v){return E===z?this.route:E===gs?this.childContexts:this.parent.get(E,v)}}const di=new S.nKC("");function Jn(_,E,v){if(v&&_.shouldReuseRoute(E.value,v.value.snapshot)){const C=v.value;C._futureSnapshot=E.value;const R=function xn(_,E,v){return E.children.map(C=>{for(const R of v.children)if(_.shouldReuseRoute(C.value,R.value.snapshot))return Jn(_,C,R);return Jn(_,C)})}(_,E,v);return new mi(C,R)}{if(_.shouldAttach(E.value)){const H=_.retrieve(E.value);if(null!==H){const Q=H.route;return Q.value._futureSnapshot=E.value,Q.children=E.children.map(Ee=>Jn(_,Ee)),Q}}const C=function qi(_){return new z(new le.t(_.url),new le.t(_.params),new le.t(_.queryParams),new le.t(_.fragment),new le.t(_.data),_.outlet,_.component,_)}(E.value),R=E.children.map(H=>Jn(_,H));return new mi(C,R)}}class Vi{constructor(E,v){this.redirectTo=E,this.navigationBehaviorOptions=v}}const or="ngNavigationCancelingError";function os(_,E){const{redirectTo:v,navigationBehaviorOptions:C}=ri(E)?{redirectTo:E,navigationBehaviorOptions:void 0}:E,R=Fs(!1,Jt.Redirect);return R.url=v,R.navigationBehaviorOptions=C,R}function Fs(_,E){const v=new Error(`NavigationCancelingError: ${_||""}`);return v[or]=!0,v.cancellationCode=E,v}function Yr(_){return!!_&&_[or]}let po=(()=>{class _{static#e=this.\u0275fac=function(C){return new(C||_)};static#t=this.\u0275cmp=S.VBU({type:_,selectors:[["ng-component"]],standalone:!0,features:[S.aNF],decls:1,vars:0,template:function(C,R){1&C&&S.nrm(0,"router-outlet")},dependencies:[et],encapsulation:2})}return _})();function Ws(_){const E=_.children&&_.children.map(Ws),v=E?{..._,children:E}:{..._};return!v.component&&!v.loadComponent&&(E||v.loadChildren)&&v.outlet&&v.outlet!==bt&&(v.component=po),v}function xi(_){return _.outlet||bt}function Cr(_){if(!_)return null;if(_.routeConfig?._injector)return _.routeConfig._injector;for(let E=_.parent;E;E=E.parent){const v=E.routeConfig;if(v?._loadedInjector)return v._loadedInjector;if(v?._injector)return v._injector}return null}class lr{constructor(E,v,C,R,H){this.routeReuseStrategy=E,this.futureState=v,this.currState=C,this.forwardEvent=R,this.inputBindingEnabled=H}activate(E){const v=this.futureState._root,C=this.currState?this.currState._root:null;this.deactivateChildRoutes(v,C,E),Yt(this.futureState.root),this.activateChildRoutes(v,C,E)}deactivateChildRoutes(E,v,C){const R=Xr(v);E.children.forEach(H=>{const Q=H.value.outlet;this.deactivateRoutes(H,R[Q],C),delete R[Q]}),Object.values(R).forEach(H=>{this.deactivateRouteAndItsChildren(H,C)})}deactivateRoutes(E,v,C){const R=E.value,H=v?v.value:null;if(R===H)if(R.component){const Q=C.getContext(R.outlet);Q&&this.deactivateChildRoutes(E,v,Q.children)}else this.deactivateChildRoutes(E,v,C);else H&&this.deactivateRouteAndItsChildren(v,C)}deactivateRouteAndItsChildren(E,v){E.value.component&&this.routeReuseStrategy.shouldDetach(E.value.snapshot)?this.detachAndStoreRouteSubtree(E,v):this.deactivateRouteAndOutlet(E,v)}detachAndStoreRouteSubtree(E,v){const C=v.getContext(E.value.outlet),R=C&&E.value.component?C.children:v,H=Xr(E);for(const Q of Object.values(H))this.deactivateRouteAndItsChildren(Q,R);if(C&&C.outlet){const Q=C.outlet.detach(),Ee=C.children.onOutletDeactivated();this.routeReuseStrategy.store(E.value.snapshot,{componentRef:Q,route:E,contexts:Ee})}}deactivateRouteAndOutlet(E,v){const C=v.getContext(E.value.outlet),R=C&&E.value.component?C.children:v,H=Xr(E);for(const Q of Object.values(H))this.deactivateRouteAndItsChildren(Q,R);C&&(C.outlet&&(C.outlet.deactivate(),C.children.onOutletDeactivated()),C.attachRef=null,C.route=null)}activateChildRoutes(E,v,C){const R=Xr(v);E.children.forEach(H=>{this.activateRoutes(H,R[H.value.outlet],C),this.forwardEvent(new Cs(H.value.snapshot))}),E.children.length&&this.forwardEvent(new Kr(E.value.snapshot))}activateRoutes(E,v,C){const R=E.value,H=v?v.value:null;if(Yt(R),R===H)if(R.component){const Q=C.getOrCreateContext(R.outlet);this.activateChildRoutes(E,v,Q.children)}else this.activateChildRoutes(E,v,C);else if(R.component){const Q=C.getOrCreateContext(R.outlet);if(this.routeReuseStrategy.shouldAttach(R.snapshot)){const Ee=this.routeReuseStrategy.retrieve(R.snapshot);this.routeReuseStrategy.store(R.snapshot,null),Q.children.onOutletReAttached(Ee.contexts),Q.attachRef=Ee.componentRef,Q.route=Ee.route.value,Q.outlet&&Q.outlet.attach(Ee.componentRef,Ee.route.value),Yt(Ee.route.value),this.activateChildRoutes(E,null,Q.children)}else{const Ee=Cr(R.snapshot);Q.attachRef=null,Q.route=R,Q.injector=Ee??Q.injector,Q.outlet&&Q.outlet.activateWith(R,Q.injector),this.activateChildRoutes(E,null,Q.children)}}else this.activateChildRoutes(E,null,C)}}class vs{constructor(E){this.path=E,this.route=this.path[this.path.length-1]}}class Ks{constructor(E,v){this.component=E,this.route=v}}function ro(_,E,v){const C=_._root;return ks(C,E?E._root:null,v,[C.value])}function Ms(_,E){const v=Symbol(),C=E.get(_,v);return C===v?"function"!=typeof _||(0,S.LfX)(_)?E.get(_):_:C}function ks(_,E,v,C,R={canDeactivateChecks:[],canActivateChecks:[]}){const H=Xr(E);return _.children.forEach(Q=>{(function Ss(_,E,v,C,R={canDeactivateChecks:[],canActivateChecks:[]}){const H=_.value,Q=E?E.value:null,Ee=v?v.getContext(_.value.outlet):null;if(Q&&H.routeConfig===Q.routeConfig){const me=function Go(_,E,v){if("function"==typeof v)return v(_,E);switch(v){case"pathParamsChange":return!In(_.url,E.url);case"pathParamsOrQueryParamsChange":return!In(_.url,E.url)||!pi(_.queryParams,E.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!qt(_,E)||!pi(_.queryParams,E.queryParams);default:return!qt(_,E)}}(Q,H,H.routeConfig.runGuardsAndResolvers);me?R.canActivateChecks.push(new vs(C)):(H.data=Q.data,H._resolvedData=Q._resolvedData),ks(_,E,H.component?Ee?Ee.children:null:v,C,R),me&&Ee&&Ee.outlet&&Ee.outlet.isActivated&&R.canDeactivateChecks.push(new Ks(Ee.outlet.component,Q))}else Q&&Vr(E,Ee,R),R.canActivateChecks.push(new vs(C)),ks(_,null,H.component?Ee?Ee.children:null:v,C,R)})(Q,H[Q.value.outlet],v,C.concat([Q.value]),R),delete H[Q.value.outlet]}),Object.entries(H).forEach(([Q,Ee])=>Vr(Ee,v.getContext(Q),R)),R}function Vr(_,E,v){const C=Xr(_),R=_.value;Object.entries(C).forEach(([H,Q])=>{Vr(Q,R.component?E?E.children.getContext(H):null:E,v)}),v.canDeactivateChecks.push(new Ks(R.component&&E&&E.outlet&&E.outlet.isActivated?E.outlet.component:null,R))}function O(_){return"function"==typeof _}function Nr(_){return _ instanceof Ne.G||"EmptyError"===_?.name}const ys=Symbol("INITIAL_VALUE");function as(){return(0,Wn.n)(_=>St(_.map(E=>E.pipe((0,Cn.s)(1),(0,wi.Z)(ys)))).pipe((0,Qt.T)(E=>{for(const v of E)if(!0!==v){if(v===ys)return ys;if(!1===v||Ca(v))return v}return!0}),(0,vi.p)(E=>E!==ys),(0,Cn.s)(1)))}function Ca(_){return ri(_)||_ instanceof Vi}function ji(_){return(0,Ge.F)((0,he.M)(E=>{if("boolean"!=typeof E)throw os(0,E)}),(0,Qt.T)(E=>!0===E))}class cr{constructor(E){this.segmentGroup=E||null}}class Bs extends Error{constructor(E){super(),this.urlTree=E}}function bs(_){return(0,$e.$)(new cr(_))}class vo{constructor(E,v){this.urlSerializer=E,this.urlTree=v}lineralizeSegments(E,v){let C=[],R=v.root;for(;;){if(C=C.concat(R.segments),0===R.numberOfChildren)return(0,X.of)(C);if(R.numberOfChildren>1||!R.children[bt])return(0,$e.$)(new S.wOt(4e3,!1));R=R.children[bt]}}applyRedirectCommands(E,v,C,R,H){if("string"!=typeof v){const Ee=v,{queryParams:me,fragment:nt,routeConfig:Vt,url:nn,outlet:Ii,params:us,data:Zr,title:Ar}=R,Rs=(0,S.N4e)(H,()=>Ee({params:us,data:Zr,queryParams:me,fragment:nt,routeConfig:Vt,url:nn,outlet:Ii,title:Ar}));if(Rs instanceof zt)throw new Bs(Rs);v=Rs}const Q=this.applyRedirectCreateUrlTree(v,this.urlSerializer.parse(v),E,C);if("/"===v[0])throw new Bs(Q);return Q}applyRedirectCreateUrlTree(E,v,C,R){const H=this.createSegmentGroup(E,v.root,C,R);return new zt(H,this.createQueryParams(v.queryParams,this.urlTree.queryParams),v.fragment)}createQueryParams(E,v){const C={};return Object.entries(E).forEach(([R,H])=>{if("string"==typeof H&&":"===H[0]){const Ee=H.substring(1);C[R]=v[Ee]}else C[R]=H}),C}createSegmentGroup(E,v,C,R){const H=this.createSegments(E,v.segments,C,R);let Q={};return Object.entries(v.children).forEach(([Ee,me])=>{Q[Ee]=this.createSegmentGroup(E,me,C,R)}),new ut(H,Q)}createSegments(E,v,C,R){return v.map(H=>":"===H.path[0]?this.findPosParam(E,H,R):this.findOrReturn(H,C))}findPosParam(E,v,C){const R=C[v.path.substring(1)];if(!R)throw new S.wOt(4001,!1);return R}findOrReturn(E,v){let C=0;for(const R of v){if(R.path===E.path)return v.splice(C),R;C++}return E}}const Oo={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Qo(_,E,v,C,R){const H=Ao(_,E,v);return H.matched?(C=function Sr(_,E){return _.providers&&!_._injector&&(_._injector=(0,S.Ol2)(_.providers,E,`Route: ${_.path}`)),_._injector??E}(E,C),function Ns(_,E,v,C){const R=E.canMatch;if(!R||0===R.length)return(0,X.of)(!0);const H=R.map(Q=>{const Ee=Ms(Q,_);return Ht(function cn(_){return _&&O(_.canMatch)}(Ee)?Ee.canMatch(E,v):(0,S.N4e)(_,()=>Ee(E,v)))});return(0,X.of)(H).pipe(as(),ji())}(C,E,v).pipe((0,Qt.T)(Q=>!0===Q?H:{...Oo}))):(0,X.of)(H)}function Ao(_,E,v){if("**"===E.path)return function Ro(_){return{matched:!0,parameters:_.length>0?bi(_).parameters:{},consumedSegments:_,remainingSegments:[],positionalParamSegments:{}}}(v);if(""===E.path)return"full"===E.pathMatch&&(_.hasChildren()||v.length>0)?{...Oo}:{matched:!0,consumedSegments:[],remainingSegments:v,parameters:{},positionalParamSegments:{}};const R=(E.matcher||Ri)(v,_,E);if(!R)return{...Oo};const H={};Object.entries(R.posParams??{}).forEach(([Ee,me])=>{H[Ee]=me.path});const Q=R.consumed.length>0?{...H,...R.consumed[R.consumed.length-1].parameters}:H;return{matched:!0,consumedSegments:R.consumed,remainingSegments:v.slice(R.consumed.length),parameters:Q,positionalParamSegments:R.posParams??{}}}function il(_,E,v,C){return v.length>0&&function Po(_,E,v){return v.some(C=>bo(_,E,C)&&xi(C)!==bt)}(_,v,C)?{segmentGroup:new ut(E,Xo(C,new ut(v,_.children))),slicedSegments:[]}:0===v.length&&function yo(_,E,v){return v.some(C=>bo(_,E,C))}(_,v,C)?{segmentGroup:new ut(_.segments,so(_,v,C,_.children)),slicedSegments:v}:{segmentGroup:new ut(_.segments,_.children),slicedSegments:v}}function so(_,E,v,C){const R={};for(const H of v)if(bo(_,E,H)&&!C[xi(H)]){const Q=new ut([],{});R[xi(H)]=Q}return{...C,...R}}function Xo(_,E){const v={};v[bt]=E;for(const C of _)if(""===C.path&&xi(C)!==bt){const R=new ut([],{});v[xi(C)]=R}return v}function bo(_,E,v){return(!(_.hasChildren()||E.length>0)||"full"!==v.pathMatch)&&""===v.path}class ca{}class xo{constructor(E,v,C,R,H,Q,Ee){this.injector=E,this.configLoader=v,this.rootComponentType=C,this.config=R,this.urlTree=H,this.paramsInheritanceStrategy=Q,this.urlSerializer=Ee,this.applyRedirects=new vo(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(E){return new S.wOt(4002,`'${E.segmentGroup}'`)}recognize(){const E=il(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(E).pipe((0,Qt.T)(({children:v,rootSnapshot:C})=>{const R=new mi(C,v),H=new ye("",R),Q=function ci(_,E,v=null,C=null){return qn(vr(_),E,v,C)}(C,[],this.urlTree.queryParams,this.urlTree.fragment);return Q.queryParams=this.urlTree.queryParams,H.url=this.urlSerializer.serialize(Q),{state:H,tree:Q}}))}match(E){const v=new de([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Object.freeze({}),bt,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,E,bt,v).pipe((0,Qt.T)(C=>({children:C,rootSnapshot:v})),(0,U.W)(C=>{if(C instanceof Bs)return this.urlTree=C.urlTree,this.match(C.urlTree.root);throw C instanceof cr?this.noMatchError(C):C}))}processSegmentGroup(E,v,C,R,H){return 0===C.segments.length&&C.hasChildren()?this.processChildren(E,v,C,H):this.processSegment(E,v,C,C.segments,R,!0,H).pipe((0,Qt.T)(Q=>Q instanceof mi?[Q]:[]))}processChildren(E,v,C,R){const H=[];for(const Q of Object.keys(C.children))"primary"===Q?H.unshift(Q):H.push(Q);return(0,ce.H)(H).pipe((0,te.H)(Q=>{const Ee=C.children[Q],me=function io(_,E){const v=_.filter(C=>xi(C)===E);return v.push(..._.filter(C=>xi(C)!==E)),v}(v,Q);return this.processSegmentGroup(E,me,Ee,Q,R)}),function oe(_,E){return(0,lt.N)(function ne(_,E,v,C,R){return(H,Q)=>{let Ee=v,me=E,nt=0;H.subscribe((0,He._)(Q,Vt=>{const nn=nt++;me=Ee?_(me,Vt,nn):(Ee=!0,Vt),C&&Q.next(me)},R&&(()=>{Ee&&Q.next(me),Q.complete()})))}}(_,E,arguments.length>=2,!0))}((Q,Ee)=>(Q.push(...Ee),Q)),(0,Le.U)(null),function gt(_,E){const v=arguments.length>=2;return C=>C.pipe(_?(0,vi.p)((R,H)=>_(R,H,C)):Ae.D,ft(1),v?(0,Le.U)(E):(0,vn.v)(()=>new Ne.G))}(),(0,jn.Z)(Q=>{if(null===Q)return bs(C);const Ee=Xs(Q);return function qo(_){_.sort((E,v)=>E.value.outlet===bt?-1:v.value.outlet===bt?1:E.value.outlet.localeCompare(v.value.outlet))}(Ee),(0,X.of)(Ee)}))}processSegment(E,v,C,R,H,Q,Ee){return(0,ce.H)(v).pipe((0,te.H)(me=>this.processSegmentAgainstRoute(me._injector??E,v,me,C,R,H,Q,Ee).pipe((0,U.W)(nt=>{if(nt instanceof cr)return(0,X.of)(null);throw nt}))),(0,be.$)(me=>!!me),(0,U.W)(me=>{if(Nr(me))return function rl(_,E,v){return 0===E.length&&!_.children[v]}(C,R,H)?(0,X.of)(new ca):bs(C);throw me}))}processSegmentAgainstRoute(E,v,C,R,H,Q,Ee,me){return function Is(_,E,v,C){return!!(xi(_)===C||C!==bt&&bo(E,v,_))&&Ao(E,_,v).matched}(C,R,H,Q)?void 0===C.redirectTo?this.matchSegmentAgainstRoute(E,R,C,H,Q,me):this.allowRedirects&&Ee?this.expandSegmentAgainstRouteUsingRedirect(E,R,v,C,H,Q,me):bs(R):bs(R)}expandSegmentAgainstRouteUsingRedirect(E,v,C,R,H,Q,Ee){const{matched:me,parameters:nt,consumedSegments:Vt,positionalParamSegments:nn,remainingSegments:Ii}=Ao(v,R,H);if(!me)return bs(v);"string"==typeof R.redirectTo&&"/"===R.redirectTo[0]&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const us=new de(H,nt,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Ma(R),xi(R),R.component??R._loadedComponent??null,R,Zo(R)),Zr=$(us,Ee,this.paramsInheritanceStrategy);us.params=Object.freeze(Zr.params),us.data=Object.freeze(Zr.data);const Ar=this.applyRedirects.applyRedirectCommands(Vt,R.redirectTo,nn,us,E);return this.applyRedirects.lineralizeSegments(R,Ar).pipe((0,jn.Z)(Rs=>this.processSegment(E,C,v,Rs.concat(Ii),Q,!1,Ee)))}matchSegmentAgainstRoute(E,v,C,R,H,Q){const Ee=Qo(v,C,R,E);return"**"===C.path&&(v.children={}),Ee.pipe((0,Wn.n)(me=>me.matched?this.getChildConfig(E=C._injector??E,C,R).pipe((0,Wn.n)(({routes:nt})=>{const Vt=C._loadedInjector??E,{parameters:nn,consumedSegments:Ii,remainingSegments:us}=me,Zr=new de(Ii,nn,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Ma(C),xi(C),C.component??C._loadedComponent??null,C,Zo(C)),Ar=$(Zr,Q,this.paramsInheritanceStrategy);Zr.params=Object.freeze(Ar.params),Zr.data=Object.freeze(Ar.data);const{segmentGroup:Rs,slicedSegments:Jo}=il(v,Ii,us,nt);if(0===Jo.length&&Rs.hasChildren())return this.processChildren(Vt,nt,Rs,Zr).pipe((0,Qt.T)(Fo=>new mi(Zr,Fo)));if(0===nt.length&&0===Jo.length)return(0,X.of)(new mi(Zr,[]));const ei=xi(C)===H;return this.processSegment(Vt,nt,Rs,Jo,ei?bt:H,!0,Zr).pipe((0,Qt.T)(Fo=>new mi(Zr,Fo instanceof mi?[Fo]:[])))})):bs(v)))}getChildConfig(E,v,C){return v.children?(0,X.of)({routes:v.children,injector:E}):v.loadChildren?void 0!==v._loadedRoutes?(0,X.of)({routes:v._loadedRoutes,injector:v._loadedInjector}):function Zi(_,E,v,C){const R=E.canLoad;if(void 0===R||0===R.length)return(0,X.of)(!0);const H=R.map(Q=>{const Ee=Ms(Q,_);return Ht(function w(_){return _&&O(_.canLoad)}(Ee)?Ee.canLoad(E,v):(0,S.N4e)(_,()=>Ee(E,v)))});return(0,X.of)(H).pipe(as(),ji())}(E,v,C).pipe((0,jn.Z)(R=>R?this.configLoader.loadChildren(E,v).pipe((0,he.M)(H=>{v._loadedRoutes=H.routes,v._loadedInjector=H.injector})):function Ko(_){return(0,$e.$)(Fs(!1,Jt.GuardRejected))}())):(0,X.of)({routes:[],injector:E})}}function ls(_){const E=_.value.routeConfig;return E&&""===E.path}function Xs(_){const E=[],v=new Set;for(const C of _){if(!ls(C)){E.push(C);continue}const R=E.find(H=>C.value.routeConfig===H.value.routeConfig);void 0!==R?(R.children.push(...C.children),v.add(R)):E.push(C)}for(const C of v){const R=Xs(C.children);E.push(new mi(C.value,R))}return E.filter(C=>!v.has(C))}function Ma(_){return _.data||{}}function Zo(_){return _.resolve||{}}function oo(_){const E=_.children.map(v=>oo(v)).flat();return[_,...E]}function k(_){return(0,Wn.n)(E=>{const v=_(E);return v?(0,ce.H)(v).pipe((0,Qt.T)(()=>E)):(0,X.of)(E)})}let T=(()=>{class _{buildTitle(v){let C,R=v.root;for(;void 0!==R;)C=this.getResolvedTitleForRoute(R)??C,R=R.children.find(H=>H.outlet===bt);return C}getResolvedTitleForRoute(v){return v.data[mn]}static#e=this.\u0275fac=function(C){return new(C||_)};static#t=this.\u0275prov=S.jDH({token:_,factory:()=>(0,S.WQX)(g),providedIn:"root"})}return _})(),g=(()=>{class _ extends T{constructor(v){super(),this.title=v}updateTitle(v){const C=this.buildTitle(v);void 0!==C&&this.title.setTitle(C)}static#e=this.\u0275fac=function(C){return new(C||_)(S.KVO(ti.hE))};static#t=this.\u0275prov=S.jDH({token:_,factory:_.\u0275fac,providedIn:"root"})}return _})();const u=new S.nKC("",{providedIn:"root",factory:()=>({})}),f=new S.nKC("");let D=(()=>{class _{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,S.WQX)(S.Ql9)}loadComponent(v){if(this.componentLoaders.get(v))return this.componentLoaders.get(v);if(v._loadedComponent)return(0,X.of)(v._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(v);const C=Ht(v.loadComponent()).pipe((0,Qt.T)(K),(0,he.M)(H=>{this.onLoadEndListener&&this.onLoadEndListener(v),v._loadedComponent=H}),(0,bn.j)(()=>{this.componentLoaders.delete(v)})),R=new Ct(C,()=>new Et.B).pipe(it());return this.componentLoaders.set(v,R),R}loadChildren(v,C){if(this.childrenLoaders.get(C))return this.childrenLoaders.get(C);if(C._loadedRoutes)return(0,X.of)({routes:C._loadedRoutes,injector:C._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(C);const H=function N(_,E,v,C){return Ht(_.loadChildren()).pipe((0,Qt.T)(K),(0,jn.Z)(R=>R instanceof S.Co$||Array.isArray(R)?(0,X.of)(R):(0,ce.H)(E.compileModuleAsync(R))),(0,Qt.T)(R=>{C&&C(_);let H,Q,Ee=!1;return Array.isArray(R)?(Q=R,!0):(H=R.create(v).injector,Q=H.get(f,[],{optional:!0,self:!0}).flat()),{routes:Q.map(Ws),injector:H}}))}(C,this.compiler,v,this.onLoadEndListener).pipe((0,bn.j)(()=>{this.childrenLoaders.delete(C)})),Q=new Ct(H,()=>new Et.B).pipe(it());return this.childrenLoaders.set(C,Q),Q}static#e=this.\u0275fac=function(C){return new(C||_)};static#t=this.\u0275prov=S.jDH({token:_,factory:_.\u0275fac,providedIn:"root"})}return _})();function K(_){return function j(_){return _&&"object"==typeof _&&"default"in _}(_)?_.default:_}let J=(()=>{class _{static#e=this.\u0275fac=function(C){return new(C||_)};static#t=this.\u0275prov=S.jDH({token:_,factory:()=>(0,S.WQX)(ae),providedIn:"root"})}return _})(),ae=(()=>{class _{shouldProcessUrl(v){return!0}extract(v){return v}merge(v,C){return v}static#e=this.\u0275fac=function(C){return new(C||_)};static#t=this.\u0275prov=S.jDH({token:_,factory:_.\u0275fac,providedIn:"root"})}return _})();const De=new S.nKC(""),Wt=new S.nKC("");let Dt=(()=>{class _{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Et.B,this.transitionAbortSubject=new Et.B,this.configLoader=(0,S.WQX)(D),this.environmentInjector=(0,S.WQX)(S.uvJ),this.urlSerializer=(0,S.WQX)(Un),this.rootContexts=(0,S.WQX)(gs),this.location=(0,S.WQX)($t.aZ),this.inputBindingEnabled=null!==(0,S.WQX)(di,{optional:!0}),this.titleStrategy=(0,S.WQX)(T),this.options=(0,S.WQX)(u,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,S.WQX)(J),this.createViewTransition=(0,S.WQX)(De,{optional:!0}),this.navigationErrorHandler=(0,S.WQX)(Wt,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,X.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=R=>this.events.next(new en(R)),this.configLoader.onLoadStartListener=R=>this.events.next(new pr(R))}complete(){this.transitions?.complete()}handleNavigationRequest(v){const C=++this.navigationId;this.transitions?.next({...this.transitions.value,...v,id:C})}setupNavigations(v,C,R){return this.transitions=new le.t({id:0,currentUrlTree:C,currentRawUrl:C,extractedUrl:this.urlHandlingStrategy.extract(C),urlAfterRedirects:this.urlHandlingStrategy.extract(C),rawUrl:C,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:Nt,restoredState:null,currentSnapshot:R.snapshot,targetSnapshot:null,currentRouterState:R,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,vi.p)(H=>0!==H.id),(0,Qt.T)(H=>({...H,extractedUrl:this.urlHandlingStrategy.extract(H.rawUrl)})),(0,Wn.n)(H=>{let Q=!1,Ee=!1;return(0,X.of)(H).pipe((0,Wn.n)(me=>{if(this.navigationId>H.id)return this.cancelNavigationTransition(H,"",Jt.SupersededByNewNavigation),st.w;this.currentTransition=H,this.currentNavigation={id:me.id,initialUrl:me.rawUrl,extractedUrl:me.extractedUrl,trigger:me.source,extras:me.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null};const nt=!v.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!nt&&"reload"!==(me.extras.onSameUrlNavigation??v.onSameUrlNavigation)){const nn="";return this.events.next(new Ze(me.id,this.urlSerializer.serialize(me.rawUrl),nn,Mn.IgnoredSameUrlNavigation)),me.resolve(!1),st.w}if(this.urlHandlingStrategy.shouldProcessUrl(me.rawUrl))return(0,X.of)(me).pipe((0,Wn.n)(nn=>{const Ii=this.transitions?.getValue();return this.events.next(new Bn(nn.id,this.urlSerializer.serialize(nn.extractedUrl),nn.source,nn.restoredState)),Ii!==this.transitions?.getValue()?st.w:Promise.resolve(nn)}),function ua(_,E,v,C,R,H){return(0,jn.Z)(Q=>function Yo(_,E,v,C,R,H,Q="emptyOnly"){return new xo(_,E,v,C,R,Q,H).recognize()}(_,E,v,C,Q.extractedUrl,R,H).pipe((0,Qt.T)(({state:Ee,tree:me})=>({...Q,targetSnapshot:Ee,urlAfterRedirects:me}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,v.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,he.M)(nn=>{H.targetSnapshot=nn.targetSnapshot,H.urlAfterRedirects=nn.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:nn.urlAfterRedirects};const Ii=new yr(nn.id,this.urlSerializer.serialize(nn.extractedUrl),this.urlSerializer.serialize(nn.urlAfterRedirects),nn.targetSnapshot);this.events.next(Ii)}));if(nt&&this.urlHandlingStrategy.shouldProcessUrl(me.currentRawUrl)){const{id:nn,extractedUrl:Ii,source:us,restoredState:Zr,extras:Ar}=me,Rs=new Bn(nn,this.urlSerializer.serialize(Ii),us,Zr);this.events.next(Rs);const Jo=F(this.rootComponentType).snapshot;return this.currentTransition=H={...me,targetSnapshot:Jo,urlAfterRedirects:Ii,extras:{...Ar,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=Ii,(0,X.of)(H)}{const nn="";return this.events.next(new Ze(me.id,this.urlSerializer.serialize(me.extractedUrl),nn,Mn.IgnoredByUrlHandlingStrategy)),me.resolve(!1),st.w}}),(0,he.M)(me=>{const nt=new _n(me.id,this.urlSerializer.serialize(me.extractedUrl),this.urlSerializer.serialize(me.urlAfterRedirects),me.targetSnapshot);this.events.next(nt)}),(0,Qt.T)(me=>(this.currentTransition=H={...me,guards:ro(me.targetSnapshot,me.currentSnapshot,this.rootContexts)},H)),function la(_,E){return(0,jn.Z)(v=>{const{targetSnapshot:C,currentSnapshot:R,guards:{canActivateChecks:H,canDeactivateChecks:Q}}=v;return 0===Q.length&&0===H.length?(0,X.of)({...v,guardsResult:!0}):function wa(_,E,v,C){return(0,ce.H)(_).pipe((0,jn.Z)(R=>function Dn(_,E,v,C,R){const H=E&&E.routeConfig?E.routeConfig.canDeactivate:null;if(!H||0===H.length)return(0,X.of)(!0);const Q=H.map(Ee=>{const me=Cr(E)??R,nt=Ms(Ee,me);return Ht(function Ut(_){return _&&O(_.canDeactivate)}(nt)?nt.canDeactivate(_,E,v,C):(0,S.N4e)(me,()=>nt(_,E,v,C))).pipe((0,be.$)())});return(0,X.of)(Q).pipe(as())}(R.component,R.route,v,E,C)),(0,be.$)(R=>!0!==R,!0))}(Q,C,R,_).pipe((0,jn.Z)(Ee=>Ee&&function A(_){return"boolean"==typeof _}(Ee)?function Wo(_,E,v,C){return(0,ce.H)(E).pipe((0,te.H)(R=>(0,Kt.x)(function zo(_,E){return null!==_&&E&&E(new ss(_)),(0,X.of)(!0)}(R.route.parent,C),function No(_,E){return null!==_&&E&&E(new Li(_)),(0,X.of)(!0)}(R.route,C),function Qs(_,E,v){const C=E[E.length-1],H=E.slice(0,E.length-1).reverse().map(Q=>function So(_){const E=_.routeConfig?_.routeConfig.canActivateChild:null;return E&&0!==E.length?{node:_,guards:E}:null}(Q)).filter(Q=>null!==Q).map(Q=>(0,Nn.v)(()=>{const Ee=Q.guards.map(me=>{const nt=Cr(Q.node)??v,Vt=Ms(me,nt);return Ht(function ie(_){return _&&O(_.canActivateChild)}(Vt)?Vt.canActivateChild(C,_):(0,S.N4e)(nt,()=>Vt(C,_))).pipe((0,be.$)())});return(0,X.of)(Ee).pipe(as())}));return(0,X.of)(H).pipe(as())}(_,R.path,v),function Ls(_,E,v){const C=E.routeConfig?E.routeConfig.canActivate:null;if(!C||0===C.length)return(0,X.of)(!0);const R=C.map(H=>(0,Nn.v)(()=>{const Q=Cr(E)??v,Ee=Ms(H,Q);return Ht(function V(_){return _&&O(_.canActivate)}(Ee)?Ee.canActivate(E,_):(0,S.N4e)(Q,()=>Ee(E,_))).pipe((0,be.$)())}));return(0,X.of)(R).pipe(as())}(_,R.route,v))),(0,be.$)(R=>!0!==R,!0))}(C,H,_,E):(0,X.of)(Ee)),(0,Qt.T)(Ee=>({...v,guardsResult:Ee})))})}(this.environmentInjector,me=>this.events.next(me)),(0,he.M)(me=>{if(H.guardsResult=me.guardsResult,me.guardsResult&&"boolean"!=typeof me.guardsResult)throw os(0,me.guardsResult);const nt=new hr(me.id,this.urlSerializer.serialize(me.extractedUrl),this.urlSerializer.serialize(me.urlAfterRedirects),me.targetSnapshot,!!me.guardsResult);this.events.next(nt)}),(0,vi.p)(me=>!!me.guardsResult||(this.cancelNavigationTransition(me,"",Jt.GuardRejected),!1)),k(me=>{if(me.guards.canActivateChecks.length)return(0,X.of)(me).pipe((0,he.M)(nt=>{const Vt=new zr(nt.id,this.urlSerializer.serialize(nt.extractedUrl),this.urlSerializer.serialize(nt.urlAfterRedirects),nt.targetSnapshot);this.events.next(Vt)}),(0,Wn.n)(nt=>{let Vt=!1;return(0,X.of)(nt).pipe(function Do(_,E){return(0,jn.Z)(v=>{const{targetSnapshot:C,guards:{canActivateChecks:R}}=v;if(!R.length)return(0,X.of)(v);const H=new Set(R.map(me=>me.route)),Q=new Set;for(const me of H)if(!Q.has(me))for(const nt of oo(me))Q.add(nt);let Ee=0;return(0,ce.H)(Q).pipe((0,te.H)(me=>H.has(me)?function Sa(_,E,v,C){const R=_.routeConfig,H=_._resolve;return void 0!==R?.title&&!Ot(R)&&(H[mn]=R.title),function ol(_,E,v,C){const R=_r(_);if(0===R.length)return(0,X.of)({});const H={};return(0,ce.H)(R).pipe((0,jn.Z)(Q=>function b(_,E,v,C){const R=Cr(E)??C,H=Ms(_,R);return Ht(H.resolve?H.resolve(E,v):(0,S.N4e)(R,()=>H(E,v)))}(_[Q],E,v,C).pipe((0,be.$)(),(0,he.M)(Ee=>{if(Ee instanceof Vi)throw os(new Rn,Ee);H[Q]=Ee}))),ft(1),(0,fn.u)(H),(0,U.W)(Q=>Nr(Q)?st.w:(0,$e.$)(Q)))}(H,_,E,C).pipe((0,Qt.T)(Q=>(_._resolvedData=Q,_.data=$(_,_.parent,v).resolve,null)))}(me,C,_,E):(me.data=$(me,me.parent,_).resolve,(0,X.of)(void 0))),(0,he.M)(()=>Ee++),ft(1),(0,jn.Z)(me=>Ee===Q.size?(0,X.of)(v):st.w))})}(this.paramsInheritanceStrategy,this.environmentInjector),(0,he.M)({next:()=>Vt=!0,complete:()=>{Vt||this.cancelNavigationTransition(nt,"",Jt.NoDataFromResolver)}}))}),(0,he.M)(nt=>{const Vt=new Mi(nt.id,this.urlSerializer.serialize(nt.extractedUrl),this.urlSerializer.serialize(nt.urlAfterRedirects),nt.targetSnapshot);this.events.next(Vt)}))}),k(me=>{const nt=Vt=>{const nn=[];Vt.routeConfig?.loadComponent&&!Vt.routeConfig._loadedComponent&&nn.push(this.configLoader.loadComponent(Vt.routeConfig).pipe((0,he.M)(Ii=>{Vt.component=Ii}),(0,Qt.T)(()=>{})));for(const Ii of Vt.children)nn.push(...nt(Ii));return nn};return St(nt(me.targetSnapshot.root)).pipe((0,Le.U)(null),(0,Cn.s)(1))}),k(()=>this.afterPreactivation()),(0,Wn.n)(()=>{const{currentSnapshot:me,targetSnapshot:nt}=H,Vt=this.createViewTransition?.(this.environmentInjector,me.root,nt.root);return Vt?(0,ce.H)(Vt).pipe((0,Qt.T)(()=>H)):(0,X.of)(H)}),(0,Qt.T)(me=>{const nt=function Ft(_,E,v){const C=Jn(_,E._root,v?v._root:void 0);return new Bi(C,E)}(v.routeReuseStrategy,me.targetSnapshot,me.currentRouterState);return this.currentTransition=H={...me,targetRouterState:nt},this.currentNavigation.targetRouterState=nt,H}),(0,he.M)(()=>{this.events.next(new ws)}),((_,E,v,C)=>(0,Qt.T)(R=>(new lr(E,R.targetRouterState,R.currentRouterState,v,C).activate(_),R)))(this.rootContexts,v.routeReuseStrategy,me=>this.events.next(me),this.inputBindingEnabled),(0,Cn.s)(1),(0,he.M)({next:me=>{Q=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Pn(me.id,this.urlSerializer.serialize(me.extractedUrl),this.urlSerializer.serialize(me.urlAfterRedirects))),this.titleStrategy?.updateTitle(me.targetRouterState.snapshot),me.resolve(!0)},complete:()=>{Q=!0}}),(0,wn.Q)(this.transitionAbortSubject.pipe((0,he.M)(me=>{throw me}))),(0,bn.j)(()=>{!Q&&!Ee&&this.cancelNavigationTransition(H,"",Jt.SupersededByNewNavigation),this.currentTransition?.id===H.id&&(this.currentNavigation=null,this.currentTransition=null)}),(0,U.W)(me=>{if(Ee=!0,Yr(me))this.events.next(new ln(H.id,this.urlSerializer.serialize(H.extractedUrl),me.message,me.cancellationCode)),function $o(_){return Yr(_)&&ri(_.url)}(me)?this.events.next(new Dr(me.url,me.navigationBehaviorOptions)):H.resolve(!1);else{const nt=new xt(H.id,this.urlSerializer.serialize(H.extractedUrl),me,H.targetSnapshot??void 0);try{const Vt=(0,S.N4e)(this.environmentInjector,()=>this.navigationErrorHandler?.(nt));if(Vt instanceof Vi){const{message:nn,cancellationCode:Ii}=os(0,Vt);this.events.next(new ln(H.id,this.urlSerializer.serialize(H.extractedUrl),nn,Ii)),this.events.next(new Dr(Vt.redirectTo,Vt.navigationBehaviorOptions))}else{this.events.next(nt);const nn=v.errorHandler(me);H.resolve(!!nn)}}catch(Vt){this.options.resolveNavigationPromiseOnError?H.resolve(!1):H.reject(Vt)}}return st.w}))}))}cancelNavigationTransition(v,C,R){const H=new ln(v.id,this.urlSerializer.serialize(v.extractedUrl),C,R);this.events.next(H),v.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}static#e=this.\u0275fac=function(C){return new(C||_)};static#t=this.\u0275prov=S.jDH({token:_,factory:_.\u0275fac,providedIn:"root"})}return _})();function _t(_){return _!==Nt}let wt=(()=>{class _{static#e=this.\u0275fac=function(C){return new(C||_)};static#t=this.\u0275prov=S.jDH({token:_,factory:()=>(0,S.WQX)(dt),providedIn:"root"})}return _})();class ke{shouldDetach(E){return!1}store(E,v){}shouldAttach(E){return!1}retrieve(E){return null}shouldReuseRoute(E,v){return E.routeConfig===v.routeConfig}}let dt=(()=>{class _ extends ke{static#e=this.\u0275fac=(()=>{let v;return function(R){return(v||(v=S.xGo(_)))(R||_)}})();static#t=this.\u0275prov=S.jDH({token:_,factory:_.\u0275fac,providedIn:"root"})}return _})(),En=(()=>{class _{static#e=this.\u0275fac=function(C){return new(C||_)};static#t=this.\u0275prov=S.jDH({token:_,factory:()=>(0,S.WQX)(fi),providedIn:"root"})}return _})(),fi=(()=>{class _ extends En{constructor(){super(...arguments),this.location=(0,S.WQX)($t.aZ),this.urlSerializer=(0,S.WQX)(Un),this.options=(0,S.WQX)(u,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,S.WQX)(J),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new zt,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=F(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(v){return this.location.subscribe(C=>{"popstate"===C.type&&v(C.url,C.state)})}handleRouterEvent(v,C){if(v instanceof Bn)this.stateMemento=this.createStateMemento();else if(v instanceof Ze)this.rawUrlTree=C.initialUrl;else if(v instanceof yr){if("eager"===this.urlUpdateStrategy&&!C.extras.skipLocationChange){const R=this.urlHandlingStrategy.merge(C.finalUrl,C.initialUrl);this.setBrowserUrl(R,C)}}else v instanceof ws?(this.currentUrlTree=C.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(C.finalUrl,C.initialUrl),this.routerState=C.targetRouterState,"deferred"===this.urlUpdateStrategy&&(C.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,C))):v instanceof ln&&(v.code===Jt.GuardRejected||v.code===Jt.NoDataFromResolver)?this.restoreHistory(C):v instanceof xt?this.restoreHistory(C,!0):v instanceof Pn&&(this.lastSuccessfulId=v.id,this.currentPageId=this.browserPageId)}setBrowserUrl(v,C){const R=this.urlSerializer.serialize(v);if(this.location.isCurrentPathEqualTo(R)||C.extras.replaceUrl){const Q={...C.extras.state,...this.generateNgRouterState(C.id,this.browserPageId)};this.location.replaceState(R,"",Q)}else{const H={...C.extras.state,...this.generateNgRouterState(C.id,this.browserPageId+1)};this.location.go(R,"",H)}}restoreHistory(v,C=!1){if("computed"===this.canceledNavigationResolution){const H=this.currentPageId-this.browserPageId;0!==H?this.location.historyGo(H):this.currentUrlTree===v.finalUrl&&0===H&&(this.resetState(v),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(C&&this.resetState(v),this.resetUrlToCurrentUrlTree())}resetState(v){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,v.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(v,C){return"computed"===this.canceledNavigationResolution?{navigationId:v,\u0275routerPageId:C}:{navigationId:v}}static#e=this.\u0275fac=(()=>{let v;return function(R){return(v||(v=S.xGo(_)))(R||_)}})();static#t=this.\u0275prov=S.jDH({token:_,factory:_.\u0275fac,providedIn:"root"})}return _})();var hi=function(_){return _[_.COMPLETE=0]="COMPLETE",_[_.FAILED=1]="FAILED",_[_.REDIRECTING=2]="REDIRECTING",_}(hi||{});function Ui(_){throw _}const On={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},oi={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Si=(()=>{class _{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.console=(0,S.WQX)(S.H3F),this.stateManager=(0,S.WQX)(En),this.options=(0,S.WQX)(u,{optional:!0})||{},this.pendingTasks=(0,S.WQX)(S.TgB),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,S.WQX)(Dt),this.urlSerializer=(0,S.WQX)(Un),this.location=(0,S.WQX)($t.aZ),this.urlHandlingStrategy=(0,S.WQX)(J),this._events=new Et.B,this.errorHandler=this.options.errorHandler||Ui,this.navigated=!1,this.routeReuseStrategy=(0,S.WQX)(wt),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=(0,S.WQX)(f,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!(0,S.WQX)(di,{optional:!0}),this.eventsSubscription=new kt.yU,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:v=>{this.console.warn(v)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const v=this.navigationTransitions.events.subscribe(C=>{try{const R=this.navigationTransitions.currentTransition,H=this.navigationTransitions.currentNavigation;if(null!==R&&null!==H)if(this.stateManager.handleRouterEvent(C,H),C instanceof ln&&C.code!==Jt.Redirect&&C.code!==Jt.SupersededByNewNavigation)this.navigated=!0;else if(C instanceof Pn)this.navigated=!0;else if(C instanceof Dr){const Q=C.navigationBehaviorOptions,Ee=this.urlHandlingStrategy.merge(C.url,R.currentRawUrl),me={info:R.extras.info,skipLocationChange:R.extras.skipLocationChange,replaceUrl:R.extras.replaceUrl||"eager"===this.urlUpdateStrategy||_t(R.source),...Q};this.scheduleNavigation(Ee,Nt,null,me,{resolve:R.resolve,reject:R.reject,promise:R.promise})}(function Ir(_){return!(_ instanceof ws||_ instanceof Dr)})(C)&&this._events.next(C)}catch(R){this.navigationTransitions.transitionAbortSubject.next(R)}});this.eventsSubscription.add(v)}resetRootComponentType(v){this.routerState.root.component=v,this.navigationTransitions.rootComponentType=v}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Nt,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((v,C)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(v,"popstate",C)},0)})}navigateToSyncWithBrowser(v,C,R){const H={replaceUrl:!0},Q=R?.navigationId?R:null;if(R){const me={...R};delete me.navigationId,delete me.\u0275routerPageId,0!==Object.keys(me).length&&(H.state=me)}const Ee=this.parseUrl(v);this.scheduleNavigation(Ee,C,Q,H)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(v){this.config=v.map(Ws),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(v,C={}){const{relativeTo:R,queryParams:H,fragment:Q,queryParamsHandling:Ee,preserveFragment:me}=C,nt=me?this.currentUrlTree.fragment:Q;let nn,Vt=null;switch(Ee){case"merge":Vt={...this.currentUrlTree.queryParams,...H};break;case"preserve":Vt=this.currentUrlTree.queryParams;break;default:Vt=H||null}null!==Vt&&(Vt=this.removeEmptyProps(Vt));try{nn=vr(R?R.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof v[0]||"/"!==v[0][0])&&(v=[]),nn=this.currentUrlTree.root}return qn(nn,v,Vt,nt??null)}navigateByUrl(v,C={skipLocationChange:!1}){const R=ri(v)?v:this.parseUrl(v),H=this.urlHandlingStrategy.merge(R,this.rawUrlTree);return this.scheduleNavigation(H,Nt,null,C)}navigate(v,C={skipLocationChange:!1}){return function tn(_){for(let E=0;E<_.length;E++)if(null==_[E])throw new S.wOt(4008,!1)}(v),this.navigateByUrl(this.createUrlTree(v,C),C)}serializeUrl(v){return this.urlSerializer.serialize(v)}parseUrl(v){try{return this.urlSerializer.parse(v)}catch{return this.urlSerializer.parse("/")}}isActive(v,C){let R;if(R=!0===C?{...On}:!1===C?{...oi}:C,ri(v))return nr(this.currentUrlTree,v,R);const H=this.parseUrl(v);return nr(this.currentUrlTree,H,R)}removeEmptyProps(v){return Object.entries(v).reduce((C,[R,H])=>(null!=H&&(C[R]=H),C),{})}scheduleNavigation(v,C,R,H,Q){if(this.disposed)return Promise.resolve(!1);let Ee,me,nt;Q?(Ee=Q.resolve,me=Q.reject,nt=Q.promise):nt=new Promise((nn,Ii)=>{Ee=nn,me=Ii});const Vt=this.pendingTasks.add();return function Xn(_,E){_.events.pipe((0,vi.p)(v=>v instanceof Pn||v instanceof ln||v instanceof xt||v instanceof Ze),(0,Qt.T)(v=>v instanceof Pn||v instanceof Ze?hi.COMPLETE:v instanceof ln&&(v.code===Jt.Redirect||v.code===Jt.SupersededByNewNavigation)?hi.REDIRECTING:hi.FAILED),(0,vi.p)(v=>v!==hi.REDIRECTING),(0,Cn.s)(1)).subscribe(()=>{E()})}(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(Vt))}),this.navigationTransitions.handleNavigationRequest({source:C,restoredState:R,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:v,extras:H,resolve:Ee,reject:me,promise:nt,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),nt.catch(nn=>Promise.reject(nn))}static#e=this.\u0275fac=function(C){return new(C||_)};static#t=this.\u0275prov=S.jDH({token:_,factory:_.\u0275fac,providedIn:"root"})}return _})(),Qi=(()=>{class _{constructor(v,C,R,H,Q,Ee){this.router=v,this.route=C,this.tabIndexAttribute=R,this.renderer=H,this.el=Q,this.locationStrategy=Ee,this.href=null,this.commands=null,this.onChanges=new Et.B,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const me=Q.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===me||"area"===me,this.isAnchorElement?this.subscription=v.events.subscribe(nt=>{nt instanceof Pn&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(v){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",v)}ngOnChanges(v){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(v){null!=v?(this.commands=Array.isArray(v)?v:[v],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(v,C,R,H,Q){const Ee=this.urlTree;return!!(null===Ee||this.isAnchorElement&&(0!==v||C||R||H||Q||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(Ee,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const v=this.urlTree;this.href=null!==v&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(v)):null;const C=null===this.href?null:(0,S.n$t)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",C)}applyAttributeValue(v,C){const R=this.renderer,H=this.el.nativeElement;null!==C?R.setAttribute(H,v,C):R.removeAttribute(H,v)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static#e=this.\u0275fac=function(C){return new(C||_)(S.rXU(Si),S.rXU(z),S.kS0("tabindex"),S.rXU(S.sFG),S.rXU(S.aKT),S.rXU($t.hb))};static#t=this.\u0275dir=S.FsC({type:_,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(C,R){1&C&&S.bIt("click",function(Q){return R.onClick(Q.button,Q.ctrlKey,Q.shiftKey,Q.altKey,Q.metaKey)}),2&C&&S.BMQ("target",R.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",S.L39],skipLocationChange:[2,"skipLocationChange","skipLocationChange",S.L39],replaceUrl:[2,"replaceUrl","replaceUrl",S.L39],routerLink:"routerLink"},standalone:!0,features:[S.GFd,S.OA$]})}return _})(),ao=(()=>{class _{get isActive(){return this._isActive}constructor(v,C,R,H,Q){this.router=v,this.element=C,this.renderer=R,this.cdr=H,this.link=Q,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new S.bkB,this.routerEventsSubscription=v.events.subscribe(Ee=>{Ee instanceof Pn&&this.update()})}ngAfterContentInit(){(0,X.of)(this.links.changes,(0,X.of)(null)).pipe((0,gn.U)()).subscribe(v=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const v=[...this.links.toArray(),this.link].filter(C=>!!C).map(C=>C.onChanges);this.linkInputChangesSubscription=(0,ce.H)(v).pipe((0,gn.U)()).subscribe(C=>{this._isActive!==this.isLinkActive(this.router)(C)&&this.update()})}set routerLinkActive(v){const C=Array.isArray(v)?v:v.split(" ");this.classes=C.filter(R=>!!R)}ngOnChanges(v){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const v=this.hasActiveLinks();this.classes.forEach(C=>{v?this.renderer.addClass(this.element.nativeElement,C):this.renderer.removeClass(this.element.nativeElement,C)}),v&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==v&&(this._isActive=v,this.cdr.markForCheck(),this.isActiveChange.emit(v))})}isLinkActive(v){const C=function _i(_){return!!_.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return R=>{const H=R.urlTree;return!!H&&v.isActive(H,C)}}hasActiveLinks(){const v=this.isLinkActive(this.router);return this.link&&v(this.link)||this.links.some(v)}static#e=this.\u0275fac=function(C){return new(C||_)(S.rXU(Si),S.rXU(S.aKT),S.rXU(S.sFG),S.rXU(S.gRc),S.rXU(Qi,8))};static#t=this.\u0275dir=S.FsC({type:_,selectors:[["","routerLinkActive",""]],contentQueries:function(C,R,H){if(1&C&&S.wni(H,Qi,5),2&C){let Q;S.mGM(Q=S.lsd())&&(R.links=Q)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[S.OA$]})}return _})();const Hi=new S.nKC("");let Ji=(()=>{class _{constructor(v,C,R,H,Q={}){this.urlSerializer=v,this.transitions=C,this.viewportScroller=R,this.zone=H,this.options=Q,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},this.environmentInjector=(0,S.WQX)(S.uvJ),Q.scrollPositionRestoration||="disabled",Q.anchorScrolling||="disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(v=>{v instanceof Bn?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=v.navigationTrigger,this.restoredId=v.restoredState?v.restoredState.navigationId:0):v instanceof Pn?(this.lastId=v.id,this.scheduleScrollEvent(v,this.urlSerializer.parse(v.urlAfterRedirects).fragment)):v instanceof Ze&&v.code===Mn.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(v,this.urlSerializer.parse(v.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(v=>{v instanceof br&&(v.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(v.position):v.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(v.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(v,C){var R=this;this.zone.runOutsideAngular((0,o.A)(function*(){yield new Promise(H=>{setTimeout(()=>{H()}),(0,S.mal)(()=>{H()},{injector:R.environmentInjector})}),R.zone.run(()=>{R.transitions.events.next(new br(v,"popstate"===R.lastSource?R.store[R.restoredId]:null,C))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(C){S.QTQ()};static#t=this.\u0275prov=S.jDH({token:_,factory:_.\u0275fac})}return _})();function gr(_,...E){return(0,S.EmA)([{provide:f,multi:!0,useValue:_},[],{provide:z,useFactory:Or,deps:[Si]},{provide:S.iLQ,multi:!0,useFactory:mr},E.map(v=>v.\u0275providers)])}function Or(_){return _.routerState.root}function rt(_,E){return{\u0275kind:_,\u0275providers:E}}function As(_={}){return rt(4,[{provide:Hi,useFactory:()=>{const v=(0,S.WQX)($t.Xr),C=(0,S.WQX)(S.SKi),R=(0,S.WQX)(Dt),H=(0,S.WQX)(Un);return new Ji(H,R,v,C,_)}}])}function mr(){const _=(0,S.WQX)(S.zZn);return E=>{const v=_.get(S.o8S);if(E!==v.components[0])return;const C=_.get(Si),R=_.get(Di);1===_.get(lo)&&C.initialNavigation(),_.get(co,null,S.$GK.Optional)?.setUpPreloading(),_.get(Hi,null,S.$GK.Optional)?.init(),C.resetRootComponentType(v.componentTypes[0]),R.closed||(R.next(),R.complete(),R.unsubscribe())}}const Di=new S.nKC("",{factory:()=>new Et.B}),lo=new S.nKC("",{providedIn:"root",factory:()=>1}),co=new S.nKC("");function cs(_){return rt(5,[{provide:u,useValue:_}])}},2128:(yt,Se,x)=>{x.d(Se,{$G:()=>Lt,tg:()=>ma,U0:()=>Ba,do:()=>nu,Nb:()=>ds,s:()=>Hh});var o=x(4438),S=x(1985),ge=x(6977),Ae=x(983),Me=x(7673),Be=x(1413),ct=x(8750),He=x(1397),We=x(7441),St=x(8071),jt=x(6450);const Mt=["addListener","removeListener"],Kt=["addEventListener","removeEventListener"],Nn=["on","off"];function Ge(l,p,s,c){if((0,St.T)(s)&&(c=s,s=void 0),c)return Ge(l,p,s).pipe((0,jt.I)(c));const[m,I]=function lt(l){return(0,St.T)(l.addEventListener)&&(0,St.T)(l.removeEventListener)}(l)?Kt.map(L=>re=>l[L](p,re,s)):function st(l){return(0,St.T)(l.addListener)&&(0,St.T)(l.removeListener)}(l)?Mt.map($e(l,p)):function kt(l){return(0,St.T)(l.on)&&(0,St.T)(l.off)}(l)?Nn.map($e(l,p)):[];if(!m&&(0,We.X)(l))return(0,He.Z)(L=>Ge(L,p,s))((0,ct.Tg)(l));if(!m)throw new TypeError("Invalid event target");return new S.c(L=>{const re=(...fe)=>L.next(1<fe.length?fe:fe[0]);return m(re),()=>I(re)})}function $e(l,p){return s=>c=>l[s](p,c)}var it=x(8359);class Ct extends it.yU{constructor(p,s){super()}schedule(p,s=0){return this}}const Et={setInterval(l,p,...s){const{delegate:c}=Et;return c?.setInterval?c.setInterval(l,p,...s):setInterval(l,p,...s)},clearInterval(l){const{delegate:p}=Et;return(p?.clearInterval||clearInterval)(l)},delegate:void 0};var $t=x(7908),Wn=x(6129);class Cn{constructor(p,s=Cn.now){this.schedulerActionCtor=p,this.now=s}schedule(p,s=0,c){return new this.schedulerActionCtor(this,p).schedule(c,s)}}Cn.now=Wn.U.now;const vi=new class wi extends Cn{constructor(p,s=Cn.now){super(p,s),this.actions=[],this._active=!1}flush(p){const{actions:s}=this;if(this._active)return void s.push(p);let c;this._active=!0;do{if(c=p.execute(p.state,p.delay))break}while(p=s.shift());if(this._active=!1,c){for(;p=s.shift();)p.unsubscribe();throw c}}}(class Qt extends Ct{constructor(p,s){super(p,s),this.scheduler=p,this.work=s,this.pending=!1}schedule(p,s=0){var c;if(this.closed)return this;this.state=p;const m=this.id,I=this.scheduler;return null!=m&&(this.id=this.recycleAsyncId(I,m,s)),this.pending=!0,this.delay=s,this.id=null!==(c=this.id)&&void 0!==c?c:this.requestAsyncId(I,this.id,s),this}requestAsyncId(p,s,c=0){return Et.setInterval(p.flush.bind(p,this),c)}recycleAsyncId(p,s,c=0){if(null!=c&&this.delay===c&&!1===this.pending)return s;null!=s&&Et.clearInterval(s)}execute(p,s){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const c=this._execute(p,s);if(c)return c;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(p,s){let m,c=!1;try{this.work(p)}catch(I){c=!0,m=I||new Error("Scheduled action threw falsy error")}if(c)return this.unsubscribe(),m}unsubscribe(){if(!this.closed){const{id:p,scheduler:s}=this,{actions:c}=s;this.work=this.state=this.scheduler=null,this.pending=!1,(0,$t.o)(c,this),null!=p&&(this.id=this.recycleAsyncId(s,p,null)),this.delay=null,super.unsubscribe()}}}),jn=vi;var be=x(9470);function he(l=0,p,s=jn){let c=-1;return null!=p&&((0,be.m)(p)?s=p:c=p),new S.c(m=>{let I=function te(l){return l instanceof Date&&!isNaN(l)}(l)?+l-s.now():l;I<0&&(I=0);let L=0;return s.schedule(function(){m.closed||(m.next(L++),0<=c?this.schedule(void 0,c):m.complete())},I)})}const{isArray:U}=Array;var oe=x(4360);function Le(...l){return 1===(l=function ne(l){return 1===l.length&&U(l[0])?l[0]:l}(l)).length?(0,ct.Tg)(l[0]):new S.c(function ft(l){return p=>{let s=[];for(let c=0;s&&!p.closed&&c<l.length;c++)s.push((0,ct.Tg)(l[c]).subscribe((0,oe._)(p,m=>{if(s){for(let I=0;I<s.length;I++)I!==c&&s[I].unsubscribe();s=null}p.next(m)})))}}(l))}x(6365);var gt=x(9326);x(6648);var gn=x(8793),bt=x(5964),mn=x(6697),yi=x(8141),Qe=x(6354),Ri=x(9974),dr=x(3669),pi=x(5343);var bi=x(3703);function Ht(l,p){return p?s=>(0,gn.x)(p.pipe((0,mn.s)(1),function xe(){return(0,Ri.N)((l,p)=>{l.subscribe((0,oe._)(p,pi.l))})}()),s.pipe(Ht(l))):(0,He.Z)((s,c)=>(0,ct.Tg)(l(s,c)).pipe((0,mn.s)(1),(0,bi.u)(s)))}x(5558),x(9172);var Pi=x(177),$r=(x(9417),{left:"right",right:"left",bottom:"top",top:"bottom"});function zt(l){return l.replace(/left|right|bottom|top/g,function(p){return $r[p]})}function ut(l){return l.split("-")[0]}var Wi={start:"end",end:"start"};function rn(l){return l.replace(/start|end/g,function(p){return Wi[p]})}var In="top",li="bottom",Un="right",Rn="left",vt="auto",we=[In,li,Un,Rn],pe="start",Z="end",Ve="viewport",qe="popper",pn=we.reduce(function(l,p){return l.concat([p+"-"+pe,p+"-"+Z])},[]),yn=[].concat(we,[vt]).reduce(function(l,p){return l.concat([p,p+"-"+pe,p+"-"+Z])},[]),xs=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Qn(l){if(null==l)return window;if("[object Window]"!==l.toString()){var p=l.ownerDocument;return p&&p.defaultView||window}return l}function zn(l){return l instanceof Qn(l).Element||l instanceof Element}function Pt(l){return l instanceof Qn(l).HTMLElement||l instanceof HTMLElement}function ir(l){return!(typeof ShadowRoot>"u")&&(l instanceof Qn(l).ShadowRoot||l instanceof ShadowRoot)}function ri(l){return((zn(l)?l.ownerDocument:l.document)||window.document).documentElement}var ci=Math.max,vr=Math.min,qn=Math.round;function si(){var l=navigator.userAgentData;return null!=l&&l.brands&&Array.isArray(l.brands)?l.brands.map(function(p){return p.brand+"/"+p.version}).join(" "):navigator.userAgent}function Zn(){return!/^((?!chrome|android).)*safari/i.test(si())}function ki(l,p,s){void 0===p&&(p=!1),void 0===s&&(s=!1);var c=l.getBoundingClientRect(),m=1,I=1;p&&Pt(l)&&(m=l.offsetWidth>0&&qn(c.width)/l.offsetWidth||1,I=l.offsetHeight>0&&qn(c.height)/l.offsetHeight||1);var re=(zn(l)?Qn(l):window).visualViewport,fe=!Zn()&&s,Ce=(c.left+(fe&&re?re.offsetLeft:0))/m,Oe=(c.top+(fe&&re?re.offsetTop:0))/I,ht=c.width/m,ot=c.height/I;return{width:ht,height:ot,top:Oe,right:Ce+ht,bottom:Oe+ot,left:Ce,x:Ce,y:Oe}}function rr(l){var p=Qn(l);return{scrollLeft:p.pageXOffset,scrollTop:p.pageYOffset}}function fr(l){return ki(ri(l)).left+rr(l).scrollLeft}function At(l){return Qn(l).getComputedStyle(l)}function Yi(l){return l?(l.nodeName||"").toLowerCase():null}function W(l){return"html"===Yi(l)?l:l.assignedSlot||l.parentNode||(ir(l)?l.host:null)||ri(l)}function ee(l){var p=At(l);return/auto|scroll|overlay|hidden/.test(p.overflow+p.overflowY+p.overflowX)}function q(l){return["html","body","#document"].indexOf(Yi(l))>=0?l.ownerDocument.body:Pt(l)&&ee(l)?l:q(W(l))}function Te(l,p){var s;void 0===p&&(p=[]);var c=q(l),m=c===(null==(s=l.ownerDocument)?void 0:s.body),I=Qn(c),L=m?[I].concat(I.visualViewport||[],ee(c)?c:[]):c,re=p.concat(L);return m?re:re.concat(Te(W(L)))}function Ue(l){return["table","td","th"].indexOf(Yi(l))>=0}function Xe(l){return Pt(l)&&"fixed"!==At(l).position?l.offsetParent:null}function Xt(l){for(var p=Qn(l),s=Xe(l);s&&Ue(s)&&"static"===At(s).position;)s=Xe(s);return s&&("html"===Yi(s)||"body"===Yi(s)&&"static"===At(s).position)?p:s||function Je(l){var p=/firefox/i.test(si());if(/Trident/i.test(si())&&Pt(l)&&"fixed"===At(l).position)return null;var m=W(l);for(ir(m)&&(m=m.host);Pt(m)&&["html","body"].indexOf(Yi(m))<0;){var I=At(m);if("none"!==I.transform||"none"!==I.perspective||"paint"===I.contain||-1!==["transform","perspective"].indexOf(I.willChange)||p&&"filter"===I.willChange||p&&I.filter&&"none"!==I.filter)return m;m=m.parentNode}return null}(l)||p}function Nt(l,p){var s=p.getRootNode&&p.getRootNode();if(l.contains(p))return!0;if(s&&ir(s)){var c=p;do{if(c&&l.isSameNode(c))return!0;c=c.parentNode||c.host}while(c)}return!1}function mt(l){return Object.assign({},l,{left:l.x,top:l.y,right:l.x+l.width,bottom:l.y+l.height})}function Bn(l,p,s){return p===Ve?mt(function sr(l,p){var s=Qn(l),c=ri(l),m=s.visualViewport,I=c.clientWidth,L=c.clientHeight,re=0,fe=0;if(m){I=m.width,L=m.height;var Ce=Zn();(Ce||!Ce&&"fixed"===p)&&(re=m.offsetLeft,fe=m.offsetTop)}return{width:I,height:L,x:re+fr(l),y:fe}}(l,s)):zn(p)?function Tn(l,p){var s=ki(l,!1,"fixed"===p);return s.top=s.top+l.clientTop,s.left=s.left+l.clientLeft,s.bottom=s.top+l.clientHeight,s.right=s.left+l.clientWidth,s.width=l.clientWidth,s.height=l.clientHeight,s.x=s.left,s.y=s.top,s}(p,s):mt(function rs(l){var p,s=ri(l),c=rr(l),m=null==(p=l.ownerDocument)?void 0:p.body,I=ci(s.scrollWidth,s.clientWidth,m?m.scrollWidth:0,m?m.clientWidth:0),L=ci(s.scrollHeight,s.clientHeight,m?m.scrollHeight:0,m?m.clientHeight:0),re=-c.scrollLeft+fr(l),fe=-c.scrollTop;return"rtl"===At(m||s).direction&&(re+=ci(s.clientWidth,m?m.clientWidth:0)-I),{width:I,height:L,x:re,y:fe}}(ri(l)))}function Mn(l){return l.split("-")[1]}function ln(l){return["top","bottom"].indexOf(l)>=0?"x":"y"}function Ze(l){var fe,p=l.reference,s=l.element,c=l.placement,m=c?ut(c):null,I=c?Mn(c):null,L=p.x+p.width/2-s.width/2,re=p.y+p.height/2-s.height/2;switch(m){case In:fe={x:L,y:p.y-s.height};break;case li:fe={x:L,y:p.y+p.height};break;case Un:fe={x:p.x+p.width,y:re};break;case Rn:fe={x:p.x-s.width,y:re};break;default:fe={x:p.x,y:p.y}}var Ce=m?ln(m):null;if(null!=Ce){var Oe="y"===Ce?"height":"width";switch(I){case pe:fe[Ce]=fe[Ce]-(p[Oe]/2-s[Oe]/2);break;case Z:fe[Ce]=fe[Ce]+(p[Oe]/2-s[Oe]/2)}}return fe}function yr(l){return Object.assign({},{top:0,right:0,bottom:0,left:0},l)}function _n(l,p){return p.reduce(function(s,c){return s[c]=l,s},{})}function hr(l,p){void 0===p&&(p={});var c=p.placement,m=void 0===c?l.placement:c,I=p.strategy,L=void 0===I?l.strategy:I,re=p.boundary,fe=void 0===re?"clippingParents":re,Ce=p.rootBoundary,Oe=void 0===Ce?Ve:Ce,ht=p.elementContext,ot=void 0===ht?qe:ht,pt=p.altBoundary,kn=void 0!==pt&&pt,sn=p.padding,Ln=void 0===sn?0:sn,Yn=yr("number"!=typeof Ln?Ln:_n(Ln,we)),Gi=l.rects.popper,Vn=l.elements[kn?ot===qe?"reference":qe:ot],Gn=function Jt(l,p,s,c){var m="clippingParents"===p?function Pn(l){var p=Te(W(l)),c=["absolute","fixed"].indexOf(At(l).position)>=0&&Pt(l)?Xt(l):l;return zn(c)?p.filter(function(m){return zn(m)&&Nt(m,c)&&"body"!==Yi(m)}):[]}(l):[].concat(p),I=[].concat(m,[s]),re=I.reduce(function(fe,Ce){var Oe=Bn(l,Ce,c);return fe.top=ci(Oe.top,fe.top),fe.right=vr(Oe.right,fe.right),fe.bottom=vr(Oe.bottom,fe.bottom),fe.left=ci(Oe.left,fe.left),fe},Bn(l,I[0],c));return re.width=re.right-re.left,re.height=re.bottom-re.top,re.x=re.left,re.y=re.top,re}(zn(Vn)?Vn:Vn.contextElement||ri(l.elements.popper),fe,Oe,L),ai=ki(l.elements.reference),Ai=Ze({reference:ai,element:Gi,strategy:"absolute",placement:m}),Ci=mt(Object.assign({},Gi,Ai)),er=ot===qe?Ci:ai,ur={top:Gn.top-er.top+Yn.top,bottom:er.bottom-Gn.bottom+Yn.bottom,left:Gn.left-er.left+Yn.left,right:er.right-Gn.right+Yn.right},Ur=l.modifiersData.offset;if(ot===qe&&Ur){var Ds=Ur[m];Object.keys(ur).forEach(function(Hr){var qs=[Un,li].indexOf(Hr)>=0?1:-1,Vo=[In,li].indexOf(Hr)>=0?"y":"x";ur[Hr]+=Ds[Vo]*qs})}return ur}const en={name:"flip",enabled:!0,phase:"main",fn:function pr(l){var p=l.state,s=l.options,c=l.name;if(!p.modifiersData[c]._skip){for(var m=s.mainAxis,I=void 0===m||m,L=s.altAxis,re=void 0===L||L,fe=s.fallbackPlacements,Ce=s.padding,Oe=s.boundary,ht=s.rootBoundary,ot=s.altBoundary,pt=s.flipVariations,kn=void 0===pt||pt,sn=s.allowedAutoPlacements,Ln=p.options.placement,Yn=ut(Ln),Gi=fe||(Yn!==Ln&&kn?function Mi(l){if(ut(l)===vt)return[];var p=zt(l);return[rn(l),p,rn(p)]}(Ln):[zt(Ln)]),Vn=[Ln].concat(Gi).reduce(function(Qa,na){return Qa.concat(ut(na)===vt?function zr(l,p){void 0===p&&(p={});var m=p.boundary,I=p.rootBoundary,L=p.padding,re=p.flipVariations,fe=p.allowedAutoPlacements,Ce=void 0===fe?yn:fe,Oe=Mn(p.placement),ht=Oe?re?pn:pn.filter(function(kn){return Mn(kn)===Oe}):we,ot=ht.filter(function(kn){return Ce.indexOf(kn)>=0});0===ot.length&&(ot=ht);var pt=ot.reduce(function(kn,sn){return kn[sn]=hr(l,{placement:sn,boundary:m,rootBoundary:I,padding:L})[ut(sn)],kn},{});return Object.keys(pt).sort(function(kn,sn){return pt[kn]-pt[sn]})}(p,{placement:na,boundary:Oe,rootBoundary:ht,padding:Ce,flipVariations:kn,allowedAutoPlacements:sn}):na)},[]),Gn=p.rects.reference,ai=p.rects.popper,Ai=new Map,Ci=!0,er=Vn[0],ur=0;ur<Vn.length;ur++){var Ur=Vn[ur],Ds=ut(Ur),Hr=Mn(Ur)===pe,qs=[In,li].indexOf(Ds)>=0,Vo=qs?"width":"height",fs=hr(p,{placement:Ur,boundary:Oe,rootBoundary:ht,altBoundary:ot,padding:Ce}),Es=qs?Hr?Un:Rn:Hr?li:In;Gn[Vo]>ai[Vo]&&(Es=zt(Es));var Wa=zt(Es),za=[];if(I&&za.push(fs[Ds]<=0),re&&za.push(fs[Es]<=0,fs[Wa]<=0),za.every(function(Qa){return Qa})){er=Ur,Ci=!1;break}Ai.set(Ur,za)}if(Ci)for(var va=function(na){var ya=Vn.find(function(Dl){var ba=Ai.get(Dl);if(ba)return ba.slice(0,na).every(function(fu){return fu})});if(ya)return er=ya,"break"},yl=kn?3:1;yl>0&&"break"!==va(yl);yl--);p.placement!==er&&(p.modifiersData[c]._skip=!0,p.placement=er,p.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Kr(l,p,s){return ci(l,vr(p,s))}function Cs(l){var p=ki(l),s=l.offsetWidth,c=l.offsetHeight;return Math.abs(p.width-s)<=1&&(s=p.width),Math.abs(p.height-c)<=1&&(c=p.height),{x:l.offsetLeft,y:l.offsetTop,width:s,height:c}}const ws={name:"preventOverflow",enabled:!0,phase:"main",fn:function br(l){var p=l.state,s=l.options,c=l.name,m=s.mainAxis,I=void 0===m||m,L=s.altAxis,re=void 0!==L&&L,ot=s.tether,pt=void 0===ot||ot,kn=s.tetherOffset,sn=void 0===kn?0:kn,Ln=hr(p,{boundary:s.boundary,rootBoundary:s.rootBoundary,padding:s.padding,altBoundary:s.altBoundary}),Yn=ut(p.placement),$n=Mn(p.placement),Gi=!$n,Vn=ln(Yn),Gn=function ss(l){return"x"===l?"y":"x"}(Vn),ai=p.modifiersData.popperOffsets,Ai=p.rects.reference,Ci=p.rects.popper,er="function"==typeof sn?sn(Object.assign({},p.rects,{placement:p.placement})):sn,ur="number"==typeof er?{mainAxis:er,altAxis:er}:Object.assign({mainAxis:0,altAxis:0},er),Ur=p.modifiersData.offset?p.modifiersData.offset[p.placement]:null,Ds={x:0,y:0};if(ai){if(I){var Hr,qs="y"===Vn?In:Rn,Vo="y"===Vn?li:Un,fs="y"===Vn?"height":"width",Es=ai[Vn],Wa=Es+Ln[qs],za=Es-Ln[Vo],Ka=pt?-Ci[fs]/2:0,va=$n===pe?Ai[fs]:Ci[fs],yl=$n===pe?-Ci[fs]:-Ai[fs],bl=p.elements.arrow,Qa=pt&&bl?Cs(bl):{width:0,height:0},na=p.modifiersData["arrow#persistent"]?p.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},ya=na[qs],Dl=na[Vo],ba=Kr(0,Ai[fs],Qa[fs]),fu=Gi?Ai[fs]/2-Ka-ba-ya-ur.mainAxis:va-ba-ya-ur.mainAxis,El=Gi?-Ai[fs]/2+Ka+ba+Dl+ur.mainAxis:yl+ba+Dl+ur.mainAxis,ec=p.elements.arrow&&Xt(p.elements.arrow),hu=ec?"y"===Vn?ec.clientTop||0:ec.clientLeft||0:0,Hd=null!=(Hr=Ur?.[Vn])?Hr:0,r_=Es+El-Hd,Xa=Kr(pt?vr(Wa,Es+fu-Hd-hu):Wa,Es,pt?ci(za,r_):za);ai[Vn]=Xa,Ds[Vn]=Xa-Es}if(re){var $d,ia=ai[Gn],nc="y"===Gn?"height":"width",gu=ia+Ln["x"===Vn?In:Rn],ic=ia-Ln["x"===Vn?li:Un],rc=-1!==[In,Rn].indexOf(Yn),Ya=null!=($d=Ur?.[Gn])?$d:0,mu=rc?gu:ia-Ai[nc]-Ci[nc]-Ya+ur.altAxis,Cl=rc?ia+Ai[nc]+Ci[nc]-Ya-ur.altAxis:ic,_u=pt&&rc?function Li(l,p,s){var c=Kr(l,p,s);return c>s?s:c}(mu,ia,Cl):Kr(pt?mu:gu,ia,pt?Cl:ic);ai[Gn]=_u,Ds[Gn]=_u-ia}p.modifiersData[c]=Ds}},requiresIfExists:["offset"]},gs={name:"arrow",enabled:!0,phase:"main",fn:function Kn(l){var p,s=l.state,c=l.name,m=l.options,I=s.elements.arrow,L=s.modifiersData.popperOffsets,re=ut(s.placement),fe=ln(re),Oe=[Rn,Un].indexOf(re)>=0?"height":"width";if(I&&L){var ht=function(p,s){return yr("number"!=typeof(p="function"==typeof p?p(Object.assign({},s.rects,{placement:s.placement})):p)?p:_n(p,we))}(m.padding,s),ot=Cs(I),pt="y"===fe?In:Rn,kn="y"===fe?li:Un,sn=s.rects.reference[Oe]+s.rects.reference[fe]-L[fe]-s.rects.popper[Oe],Ln=L[fe]-s.rects.reference[fe],Yn=Xt(I),$n=Yn?"y"===fe?Yn.clientHeight||0:Yn.clientWidth||0:0,ai=$n/2-ot[Oe]/2+(sn/2-Ln/2),Ai=Kr(ht[pt],ai,$n-ot[Oe]-ht[kn]);s.modifiersData[c]=((p={})[fe]=Ai,p.centerOffset=Ai-ai,p)}},effect:function ps(l){var p=l.state,c=l.options.element,m=void 0===c?"[data-popper-arrow]":c;null!=m&&("string"==typeof m&&!(m=p.elements.popper.querySelector(m))||Nt(p.elements.popper,m)&&(p.elements.arrow=m))},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function mi(l,p,s){void 0===s&&(s=!1);var c=Pt(p),m=Pt(p)&&function Ts(l){var p=l.getBoundingClientRect(),s=qn(p.width)/l.offsetWidth||1,c=qn(p.height)/l.offsetHeight||1;return 1!==s||1!==c}(p),I=ri(p),L=ki(l,m,s),re={scrollLeft:0,scrollTop:0},fe={x:0,y:0};return(c||!c&&!s)&&(("body"!==Yi(p)||ee(I))&&(re=function ms(l){return l!==Qn(l)&&Pt(l)?function Qr(l){return{scrollLeft:l.scrollLeft,scrollTop:l.scrollTop}}(l):rr(l)}(p)),Pt(p)?((fe=ki(p,!0)).x+=p.clientLeft,fe.y+=p.clientTop):I&&(fe.x=fr(I))),{x:L.left+re.scrollLeft-fe.x,y:L.top+re.scrollTop-fe.y,width:L.width,height:L.height}}function Xr(l){var p=new Map,s=new Set,c=[];function m(I){s.add(I.name),[].concat(I.requires||[],I.requiresIfExists||[]).forEach(function(re){if(!s.has(re)){var fe=p.get(re);fe&&m(fe)}}),c.push(I)}return l.forEach(function(I){p.set(I.name,I)}),l.forEach(function(I){s.has(I.name)||m(I)}),c}function F(l){var p;return function(){return p||(p=new Promise(function(s){Promise.resolve().then(function(){p=void 0,s(l())})})),p}}var z={placement:"bottom",modifiers:[],strategy:"absolute"};function $(){for(var l=arguments.length,p=new Array(l),s=0;s<l;s++)p[s]=arguments[s];return!p.some(function(c){return!(c&&"function"==typeof c.getBoundingClientRect)})}function de(l){void 0===l&&(l={});var s=l.defaultModifiers,c=void 0===s?[]:s,m=l.defaultOptions,I=void 0===m?z:m;return function(re,fe,Ce){void 0===Ce&&(Ce=I);var Oe={placement:"bottom",orderedModifiers:[],options:Object.assign({},z,I),modifiersData:{},elements:{reference:re,popper:fe},attributes:{},styles:{}},ht=[],ot=!1,pt={state:Oe,setOptions:function(Yn){var $n="function"==typeof Yn?Yn(Oe.options):Yn;sn(),Oe.options=Object.assign({},I,Oe.options,$n),Oe.scrollParents={reference:zn(re)?Te(re):re.contextElement?Te(re.contextElement):[],popper:Te(fe)};var Gi=function Bi(l){var p=Xr(l);return xs.reduce(function(s,c){return s.concat(p.filter(function(m){return m.phase===c}))},[])}(function B(l){var p=l.reduce(function(s,c){var m=s[c.name];return s[c.name]=m?Object.assign({},m,c,{options:Object.assign({},m.options,c.options),data:Object.assign({},m.data,c.data)}):c,s},{});return Object.keys(p).map(function(s){return p[s]})}([].concat(c,Oe.options.modifiers)));return Oe.orderedModifiers=Gi.filter(function(Vn){return Vn.enabled}),function kn(){Oe.orderedModifiers.forEach(function(Ln){var $n=Ln.options,Vn=Ln.effect;if("function"==typeof Vn){var Gn=Vn({state:Oe,name:Ln.name,instance:pt,options:void 0===$n?{}:$n});ht.push(Gn||function(){})}})}(),pt.update()},forceUpdate:function(){if(!ot){var Yn=Oe.elements,$n=Yn.reference,Gi=Yn.popper;if($($n,Gi)){Oe.rects={reference:mi($n,Xt(Gi),"fixed"===Oe.options.strategy),popper:Cs(Gi)},Oe.reset=!1,Oe.placement=Oe.options.placement,Oe.orderedModifiers.forEach(function(ur){return Oe.modifiersData[ur.name]=Object.assign({},ur.data)});for(var Vn=0;Vn<Oe.orderedModifiers.length;Vn++)if(!0!==Oe.reset){var Gn=Oe.orderedModifiers[Vn],ai=Gn.fn,Ai=Gn.options;"function"==typeof ai&&(Oe=ai({state:Oe,options:void 0===Ai?{}:Ai,name:Gn.name,instance:pt})||Oe)}else Oe.reset=!1,Vn=-1}}},update:F(function(){return new Promise(function(Ln){pt.forceUpdate(),Ln(Oe)})}),destroy:function(){sn(),ot=!0}};if(!$(re,fe))return pt;function sn(){ht.forEach(function(Ln){return Ln()}),ht=[]}return pt.setOptions(Ce).then(function(Ln){!ot&&Ce.onFirstUpdate&&Ce.onFirstUpdate(Ln)}),pt}}var _e={passive:!0},et={top:"auto",right:"auto",bottom:"auto",left:"auto"};function di(l){var p,s=l.popper,c=l.popperRect,m=l.placement,I=l.variation,L=l.offsets,re=l.position,fe=l.gpuAcceleration,Ce=l.adaptive,Oe=l.roundOffsets,ht=l.isFixed,ot=L.x,pt=void 0===ot?0:ot,kn=L.y,sn=void 0===kn?0:kn,Ln="function"==typeof Oe?Oe({x:pt,y:sn}):{x:pt,y:sn};pt=Ln.x,sn=Ln.y;var Yn=L.hasOwnProperty("x"),$n=L.hasOwnProperty("y"),Gi=Rn,Vn=In,Gn=window;if(Ce){var ai=Xt(s),Ai="clientHeight",Ci="clientWidth";ai===Qn(s)&&"static"!==At(ai=ri(s)).position&&"absolute"===re&&(Ai="scrollHeight",Ci="scrollWidth"),(m===In||(m===Rn||m===Un)&&I===Z)&&(Vn=li,sn-=(ht&&ai===Gn&&Gn.visualViewport?Gn.visualViewport.height:ai[Ai])-c.height,sn*=fe?1:-1),m!==Rn&&(m!==In&&m!==li||I!==Z)||(Gi=Un,pt-=(ht&&ai===Gn&&Gn.visualViewport?Gn.visualViewport.width:ai[Ci])-c.width,pt*=fe?1:-1)}var Hr,Ur=Object.assign({position:re},Ce&&et),Ds=!0===Oe?function ui(l,p){var c=l.y,m=p.devicePixelRatio||1;return{x:qn(l.x*m)/m||0,y:qn(c*m)/m||0}}({x:pt,y:sn},Qn(s)):{x:pt,y:sn};return pt=Ds.x,sn=Ds.y,Object.assign({},Ur,fe?((Hr={})[Vn]=$n?"0":"",Hr[Gi]=Yn?"0":"",Hr.transform=(Gn.devicePixelRatio||1)<=1?"translate("+pt+"px, "+sn+"px)":"translate3d("+pt+"px, "+sn+"px, 0)",Hr):((p={})[Vn]=$n?sn+"px":"",p[Gi]=Yn?pt+"px":"",p.transform="",p))}var or=de({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function tt(l){var p=l.state,s=l.instance,c=l.options,m=c.scroll,I=void 0===m||m,L=c.resize,re=void 0===L||L,fe=Qn(p.elements.popper),Ce=[].concat(p.scrollParents.reference,p.scrollParents.popper);return I&&Ce.forEach(function(Oe){Oe.addEventListener("scroll",s.update,_e)}),re&&fe.addEventListener("resize",s.update,_e),function(){I&&Ce.forEach(function(Oe){Oe.removeEventListener("scroll",s.update,_e)}),re&&fe.removeEventListener("resize",s.update,_e)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function qt(l){var p=l.state;p.modifiersData[l.name]=Ze({reference:p.rects.reference,element:p.rects.popper,strategy:"absolute",placement:p.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function Gt(l){var p=l.state,s=l.options,c=s.gpuAcceleration,m=void 0===c||c,I=s.adaptive,L=void 0===I||I,re=s.roundOffsets,fe=void 0===re||re,Ce={placement:ut(p.placement),variation:Mn(p.placement),popper:p.elements.popper,popperRect:p.rects.popper,gpuAcceleration:m,isFixed:"fixed"===p.options.strategy};null!=p.modifiersData.popperOffsets&&(p.styles.popper=Object.assign({},p.styles.popper,di(Object.assign({},Ce,{offsets:p.modifiersData.popperOffsets,position:p.options.strategy,adaptive:L,roundOffsets:fe})))),null!=p.modifiersData.arrow&&(p.styles.arrow=Object.assign({},p.styles.arrow,di(Object.assign({},Ce,{offsets:p.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:fe})))),p.attributes.popper=Object.assign({},p.attributes.popper,{"data-popper-placement":p.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function Jn(l){var p=l.state;Object.keys(p.elements).forEach(function(s){var c=p.styles[s]||{},m=p.attributes[s]||{},I=p.elements[s];!Pt(I)||!Yi(I)||(Object.assign(I.style,c),Object.keys(m).forEach(function(L){var re=m[L];!1===re?I.removeAttribute(L):I.setAttribute(L,!0===re?"":re)}))})},effect:function xn(l){var p=l.state,s={popper:{position:p.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(p.elements.popper.style,s.popper),p.styles=s,p.elements.arrow&&Object.assign(p.elements.arrow.style,s.arrow),function(){Object.keys(p.elements).forEach(function(c){var m=p.elements[c],I=p.attributes[c]||{},re=Object.keys(p.styles.hasOwnProperty(c)?p.styles[c]:s[c]).reduce(function(fe,Ce){return fe[Ce]="",fe},{});!Pt(m)||!Yi(m)||(Object.assign(m.style,re),Object.keys(I).forEach(function(fe){m.removeAttribute(fe)}))})}},requires:["computeStyles"]}]});const $o={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function Fs(l){var p=l.state,c=l.name,m=l.options.offset,I=void 0===m?[0,0]:m,L=yn.reduce(function(Oe,ht){return Oe[ht]=function os(l,p,s){var c=ut(l),m=[Rn,In].indexOf(c)>=0?-1:1,I="function"==typeof s?s(Object.assign({},p,{placement:l})):s,L=I[0],re=I[1];return L=L||0,re=(re||0)*m,[Rn,Un].indexOf(c)>=0?{x:re,y:L}:{x:L,y:re}}(ht,p.rects,I),Oe},{}),re=L[p.placement],Ce=re.y;null!=p.modifiersData.popperOffsets&&(p.modifiersData.popperOffsets.x+=re.x,p.modifiersData.popperOffsets.y+=Ce),p.modifiersData[c]=L}},Yr=["*"];function b(l,p){if(1&l&&(o.j41(0,"strong",3),o.EFF(1),o.k0s()),2&l){const s=o.XpG();o.R7$(),o.JRh(s.header)}}function k(l,p){}function T(l,p){if(1&l){const s=o.RV6();o.j41(0,"div",1),o.DNE(1,k,0,0,"ng-template",4),o.j41(2,"button",5),o.bIt("click",function(){o.eBV(s);const m=o.XpG();return o.Njj(m.hide())}),o.k0s()()}if(2&l){const s=o.XpG(),c=o.sdS(1);o.R7$(),o.Y8G("ngTemplateOutlet",s.contentHeaderTpl||c)}}const J={animation:!0,transitionTimerDelayMs:5};let ae=(()=>{class l{constructor(){this.animation=J.animation}static#e=this.\u0275fac=function(c){return new(c||l)};static#t=this.\u0275prov=o.jDH({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})();function Xn(l){return(l||document.body).getBoundingClientRect()}function oi(l=document){const p=l?.activeElement;return p?p.shadowRoot?oi(p.shadowRoot):p:null}const Si=()=>{},{transitionTimerDelayMs:tn}=J,Ir=new Map,Qi=(l,p,s,c)=>{let m=c.context||{};const I=Ir.get(p);if(I)switch(c.runningTransition){case"continue":return Ae.w;case"stop":l.run(()=>I.transition$.complete()),m=Object.assign(I.context,m),Ir.delete(p)}const L=s(p,c.animation,m)||Si;if(!c.animation||"none"===window.getComputedStyle(p).transitionProperty)return l.run(()=>L()),(0,Me.of)(void 0).pipe(function Ui(l){return p=>new S.c(s=>p.subscribe({next:L=>l.run(()=>s.next(L)),error:L=>l.run(()=>s.error(L)),complete:()=>l.run(()=>s.complete())}))}(l));const re=new Be.B,fe=new Be.B,Ce=re.pipe(function ti(...l){return p=>(0,gn.x)(p,(0,Me.of)(...l))}(!0));Ir.set(p,{transition$:re,complete:()=>{fe.next(),fe.complete()},context:m});const Oe=function Ke(l){const{transitionDelay:p,transitionDuration:s}=window.getComputedStyle(l);return 1e3*(parseFloat(p)+parseFloat(s))}(p);return l.runOutsideAngular(()=>{const ht=Ge(p,"transitionend").pipe((0,ge.Q)(Ce),(0,bt.p)(({target:pt})=>pt===p));Le(he(Oe+tn).pipe((0,ge.Q)(Ce)),ht,fe).pipe((0,ge.Q)(Ce)).subscribe(()=>{Ir.delete(p),l.run(()=>{L(),re.next(),re.complete()})})}),re.asObservable()},Tt=(l,p,s)=>{let{direction:c,maxSize:m,dimension:I}=s;const{classList:L}=l;function re(){L.add("collapse"),"show"===c?L.add("show"):L.remove("show")}if(p)return m||(m=function _i(l,p){if(typeof navigator>"u")return"0px";const{classList:s}=l,c=s.contains("show");c||s.add("show"),l.style[p]="";const m=l.getBoundingClientRect()[p]+"px";return c||s.remove("show"),m}(l,I),s.maxSize=m,l.style[I]="show"!==c?m:"0px",L.remove("collapse","collapsing","show"),Xn(l),L.add("collapsing")),l.style[I]="show"===c?m:"0px",()=>{re(),L.remove("collapsing"),l.style[I]=""};re()};let Bt=(()=>{class l{constructor(){this._ngbConfig=(0,o.WQX)(ae),this.horizontal=!1}get animation(){return this._animation??this._ngbConfig.animation}set animation(s){this._animation=s}static#e=this.\u0275fac=function(c){return new(c||l)};static#t=this.\u0275prov=o.jDH({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})(),Lt=(()=>{class l{constructor(){this._config=(0,o.WQX)(Bt),this._element=(0,o.WQX)(o.aKT),this._zone=(0,o.WQX)(o.SKi),this.animation=this._config.animation,this._afterInit=!1,this._isCollapsed=!1,this.ngbCollapseChange=new o.bkB,this.horizontal=this._config.horizontal,this.shown=new o.bkB,this.hidden=new o.bkB}set collapsed(s){this._isCollapsed!==s&&(this._isCollapsed=s,this._afterInit&&this._runTransitionWithEvents(s,this.animation))}ngOnInit(){this._runTransition(this._isCollapsed,!1),this._afterInit=!0}toggle(s=this._isCollapsed){this.collapsed=!s,this.ngbCollapseChange.next(this._isCollapsed)}_runTransition(s,c){return Qi(this._zone,this._element.nativeElement,Tt,{animation:c,runningTransition:"stop",context:{direction:s?"hide":"show",dimension:this.horizontal?"width":"height"}})}_runTransitionWithEvents(s,c){this._runTransition(s,c).subscribe(()=>{s?this.hidden.emit():this.shown.emit()})}static#e=this.\u0275fac=function(c){return new(c||l)};static#t=this.\u0275dir=o.FsC({type:l,selectors:[["","ngbCollapse",""]],hostVars:2,hostBindings:function(c,m){2&c&&o.AVh("collapse-horizontal",m.horizontal)},inputs:{animation:"animation",collapsed:[0,"ngbCollapse","collapsed"],horizontal:"horizontal"},outputs:{ngbCollapseChange:"ngbCollapseChange",shown:"shown",hidden:"hidden"},exportAs:["ngbCollapse"],standalone:!0})}return l})();const Bl=(l,p)=>!!p&&p.some(s=>s.contains(l)),Ra=(l,p)=>!p||null!=function hi(l,p){return!p||typeof l.closest>"u"?null:l.closest(p)}(l,p),Pa=typeof navigator<"u"&&!!navigator.userAgent&&(/iPad|iPhone|iPod/.test(navigator.userAgent)||/Macintosh/.test(navigator.userAgent)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>2||/Android/.test(navigator.userAgent));function cd(l,p,s,c,m,I,L,re){s&&l.runOutsideAngular((l=>Pa?()=>setTimeout(()=>l(),100):l)(()=>{const Ce=Ge(p,"keydown").pipe((0,ge.Q)(m),(0,bt.p)(ot=>"Escape"===ot.key),(0,yi.M)(ot=>ot.preventDefault())),Oe=Ge(p,"mousedown").pipe((0,Qe.T)(ot=>{const pt=ot.target;return 2!==ot.button&&!Bl(pt,L)&&("inside"===s?Bl(pt,I)&&Ra(pt,re):"outside"===s?!Bl(pt,I):Ra(pt,re)||!Bl(pt,I))}),(0,ge.Q)(m)),ht=Ge(p,"mouseup").pipe(function _r(...l){const p=(0,gt.ms)(l);return(0,Ri.N)((s,c)=>{const m=l.length,I=new Array(m);let L=l.map(()=>!1),re=!1;for(let fe=0;fe<m;fe++)(0,ct.Tg)(l[fe]).subscribe((0,oe._)(c,Ce=>{I[fe]=Ce,!re&&!L[fe]&&(L[fe]=!0,(re=L.every(dr.D))&&(L=null))},pi.l));s.subscribe((0,oe._)(c,fe=>{if(re){const Ce=[fe,...I];c.next(p?p(...Ce):Ce)}}))})}(Oe),(0,bt.p)(([ot,pt])=>pt),function on(l,p=vi){const s=he(l,p);return Ht(()=>s)}(0),(0,ge.Q)(m));Le([Ce.pipe((0,Qe.T)(ot=>0)),ht.pipe((0,Qe.T)(ot=>1))]).subscribe(ot=>l.run(()=>c(ot)))}))}const Vl=["a[href]","button:not([disabled])",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])","[contenteditable]",'[tabindex]:not([tabindex="-1"])'].join(", ");let dd=(()=>{class l{constructor(){this._element=(0,o.WQX)(Pi.qQ).documentElement}isRTL(){return"rtl"===(this._element.getAttribute("dir")||"").toLowerCase()}static#e=this.\u0275fac=function(c){return new(c||l)};static#t=this.\u0275prov=o.jDH({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})();const ah=/\s+/,fd=/ +/gi,ul={top:["top"],bottom:["bottom"],start:["left","right"],left:["left"],end:["right","left"],right:["right"],"top-start":["top-start","top-end"],"top-left":["top-start"],"top-end":["top-end","top-start"],"top-right":["top-end"],"bottom-start":["bottom-start","bottom-end"],"bottom-left":["bottom-start"],"bottom-end":["bottom-end","bottom-start"],"bottom-right":["bottom-end"],"start-top":["left-start","right-start"],"left-top":["left-start"],"start-bottom":["left-end","right-end"],"left-bottom":["left-end"],"end-top":["right-start","left-start"],"right-top":["right-start"],"end-bottom":["right-end","left-end"],"right-bottom":["right-end"]},jl=/^left/,Ul=/^right/,Hc=/^start/,fa=/^end/;function dl({placement:l,baseClass:p},s){let c=Array.isArray(l)?l:l.split(ah),I=c.findIndex(Ce=>"auto"===Ce);I>=0&&["top","bottom","start","end","top-start","top-end","bottom-start","bottom-end","start-top","start-bottom","end-top","end-bottom"].forEach(function(Ce){null==c.find(Oe=>-1!==Oe.search("^"+Ce))&&c.splice(I++,1,Ce)});const L=c.map(Ce=>function Uc(l,p){const[s,c]=ul[l];return p&&c||s}(Ce,s.isRTL()));return{placement:L.shift(),modifiers:[{name:"bootstrapClasses",enabled:!!p,phase:"write",fn({state:Ce}){const Oe=new RegExp(p+"(-[a-z]+)*","gi"),ht=Ce.elements.popper,ot=Ce.placement;let pt=ht.className;pt=pt.replace(Oe,""),pt+=` ${function dn(l,p){let[s,c]=p.split("-");const m=s.replace(jl,"start").replace(Ul,"end");let I=[m];if(c){let L=c;("left"===s||"right"===s)&&(L=L.replace(Hc,"top").replace(fa,"bottom")),I.push(`${m}-${L}`)}return l&&(I=I.map(L=>`${l}-${L}`)),I.join(" ")}(p,ot)}`,pt=pt.trim().replace(fd," "),ht.className=pt}},en,ws,gs,{enabled:!0,name:"flip",options:{fallbackPlacements:L}},{enabled:!0,name:"preventOverflow",phase:"main",fn:function(){}}]}}function Hl(l){return l}new Date(1882,10,12),new Date(2174,10,25);let bh=(()=>{class l{constructor(){this.autoClose=!0,this.placement=["bottom-start","bottom-end","top-start","top-end"],this.popperOptions=s=>s,this.container=null}static#e=this.\u0275fac=function(c){return new(c||l)};static#t=this.\u0275prov=o.jDH({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})(),Ys=(()=>{class l{constructor(){this._disabled=!1,this.nativeElement=(0,o.WQX)(o.aKT).nativeElement,this.tabindex=0}set disabled(s){this._disabled=""===s||!0===s}get disabled(){return this._disabled}static#e=this.\u0275fac=function(c){return new(c||l)};static#t=this.\u0275dir=o.FsC({type:l,selectors:[["","ngbDropdownItem",""]],hostAttrs:[1,"dropdown-item"],hostVars:3,hostBindings:function(c,m){2&c&&(o.Mr5("tabIndex",m.disabled?-1:m.tabindex),o.AVh("disabled",m.disabled))},inputs:{tabindex:"tabindex",disabled:"disabled"},standalone:!0})}return l})(),Ba=(()=>{class l{constructor(){this.dropdown=(0,o.WQX)(ma),this.nativeElement=(0,o.WQX)(o.aKT).nativeElement}static#e=this.\u0275fac=function(c){return new(c||l)};static#t=this.\u0275dir=o.FsC({type:l,selectors:[["","ngbDropdownMenu",""]],contentQueries:function(c,m,I){if(1&c&&o.wni(I,Ys,4),2&c){let L;o.mGM(L=o.lsd())&&(m.menuItems=L)}},hostAttrs:[1,"dropdown-menu"],hostVars:2,hostBindings:function(c,m){1&c&&o.bIt("keydown.ArrowUp",function(L){return m.dropdown.onKeyDown(L)})("keydown.ArrowDown",function(L){return m.dropdown.onKeyDown(L)})("keydown.Home",function(L){return m.dropdown.onKeyDown(L)})("keydown.End",function(L){return m.dropdown.onKeyDown(L)})("keydown.Enter",function(L){return m.dropdown.onKeyDown(L)})("keydown.Space",function(L){return m.dropdown.onKeyDown(L)})("keydown.Tab",function(L){return m.dropdown.onKeyDown(L)})("keydown.Shift.Tab",function(L){return m.dropdown.onKeyDown(L)}),2&c&&o.AVh("show",m.dropdown.isOpen())},standalone:!0})}return l})(),Va=(()=>{class l{constructor(){this.dropdown=(0,o.WQX)(ma),this.nativeElement=(0,o.WQX)(o.aKT).nativeElement}static#e=this.\u0275fac=function(c){return new(c||l)};static#t=this.\u0275dir=o.FsC({type:l,selectors:[["","ngbDropdownAnchor",""]],hostAttrs:[1,"dropdown-toggle"],hostVars:3,hostBindings:function(c,m){2&c&&(o.BMQ("aria-expanded",m.dropdown.isOpen()),o.AVh("show",m.dropdown.isOpen()))},standalone:!0})}return l})(),nu=(()=>{class l extends Va{static#e=this.\u0275fac=(()=>{let s;return function(m){return(s||(s=o.xGo(l)))(m||l)}})();static#t=this.\u0275dir=o.FsC({type:l,selectors:[["","ngbDropdownToggle",""]],hostAttrs:[1,"dropdown-toggle"],hostVars:3,hostBindings:function(c,m){1&c&&o.bIt("click",function(){return m.dropdown.toggle()})("keydown.ArrowUp",function(L){return m.dropdown.onKeyDown(L)})("keydown.ArrowDown",function(L){return m.dropdown.onKeyDown(L)})("keydown.Home",function(L){return m.dropdown.onKeyDown(L)})("keydown.End",function(L){return m.dropdown.onKeyDown(L)})("keydown.Tab",function(L){return m.dropdown.onKeyDown(L)})("keydown.Shift.Tab",function(L){return m.dropdown.onKeyDown(L)}),2&c&&(o.BMQ("aria-expanded",m.dropdown.isOpen()),o.AVh("show",m.dropdown.isOpen()))},standalone:!0,features:[o.Jv_([{provide:Va,useExisting:(0,o.Rfq)(()=>l)}]),o.Vt3]})}return l})(),ma=(()=>{class l{constructor(){this._changeDetector=(0,o.WQX)(o.gRc),this._config=(0,o.WQX)(bh),this._document=(0,o.WQX)(Pi.qQ),this._ngZone=(0,o.WQX)(o.SKi),this._nativeElement=(0,o.WQX)(o.aKT).nativeElement,this._destroyCloseHandlers$=new Be.B,this._bodyContainer=null,this._positioning=function $c(){const l=(0,o.WQX)(dd);let p=null;return{createPopper(s){if(!p){let m=(s.updatePopperOptions||Hl)(dl(s,l));p=or(s.hostElement,s.targetElement,m)}},update(){p&&p.update()},setOptions(s){if(p){let m=(s.updatePopperOptions||Hl)(dl(s,l));p.setOptions(m)}},destroy(){p&&(p.destroy(),p=null)}}}(),this.autoClose=this._config.autoClose,this._open=!1,this.placement=this._config.placement,this.popperOptions=this._config.popperOptions,this.container=this._config.container,this.openChange=new o.bkB}ngOnInit(){this.display||(this.display=this._nativeElement.closest(".navbar")?"static":"dynamic")}ngAfterContentInit(){this._ngZone.onStable.pipe((0,mn.s)(1)).subscribe(()=>{this._applyPlacementClasses(),this._open&&this._setCloseHandlers()})}ngOnChanges(s){if(s.container&&this._open&&this._applyContainer(this.container),s.placement&&!s.placement.firstChange&&(this._positioning.setOptions({hostElement:this._anchor.nativeElement,targetElement:this._bodyContainer||this._menu.nativeElement,placement:this.placement}),this._applyPlacementClasses()),s.dropdownClass){const{currentValue:c,previousValue:m}=s.dropdownClass;this._applyCustomDropdownClass(c,m)}s.autoClose&&this._open&&(this.autoClose=s.autoClose.currentValue,this._setCloseHandlers())}isOpen(){return this._open}open(){this._open||(this._open=!0,this._applyContainer(this.container),this.openChange.emit(!0),this._setCloseHandlers(),this._anchor&&(this._anchor.nativeElement.focus(),"dynamic"===this.display&&this._ngZone.runOutsideAngular(()=>{this._positioning.createPopper({hostElement:this._anchor.nativeElement,targetElement:this._bodyContainer||this._menu.nativeElement,placement:this.placement,updatePopperOptions:s=>this.popperOptions(function Gc(l){return p=>(p.modifiers.push($o,{name:"offset",options:{offset:()=>l}}),p)}([0,2])(s))}),this._applyPlacementClasses(),this._zoneSubscription=this._ngZone.onStable.subscribe(()=>this._positionMenu())})))}_setCloseHandlers(){this._destroyCloseHandlers$.next(),cd(this._ngZone,this._document,this.autoClose,s=>{this.close(),0===s&&this._anchor.nativeElement.focus()},this._destroyCloseHandlers$,this._menu?[this._menu.nativeElement]:[],this._anchor?[this._anchor.nativeElement]:[],".dropdown-item,.dropdown-divider")}close(){this._open&&(this._open=!1,this._resetContainer(),this._positioning.destroy(),this._zoneSubscription?.unsubscribe(),this._destroyCloseHandlers$.next(),this.openChange.emit(!1),this._changeDetector.markForCheck())}toggle(){this.isOpen()?this.close():this.open()}ngOnDestroy(){this.close()}onKeyDown(s){const{key:c}=s,m=this._getMenuElements();let I=-1,L=null;const re=this._isEventFromToggle(s);if(!re&&m.length&&m.forEach((fe,Ce)=>{fe.contains(s.target)&&(L=fe),fe===oi(this._document)&&(I=Ce)})," "!==c&&"Enter"!==c){if("Tab"!==c){if(re||L){if(this.open(),m.length){switch(c){case"ArrowDown":I=Math.min(I+1,m.length-1);break;case"ArrowUp":if(this._isDropup()&&-1===I){I=m.length-1;break}I=Math.max(I-1,0);break;case"Home":I=0;break;case"End":I=m.length-1}m[I].focus()}s.preventDefault()}}else if(s.target&&this.isOpen()&&this.autoClose){if(this._anchor.nativeElement===s.target)return void("body"!==this.container||s.shiftKey?s.shiftKey&&this.close():(this._menu.nativeElement.setAttribute("tabindex","0"),this._menu.nativeElement.focus(),this._menu.nativeElement.removeAttribute("tabindex")));if("body"===this.container){const fe=this._menu.nativeElement.querySelectorAll(Vl);s.shiftKey&&s.target===fe[0]?(this._anchor.nativeElement.focus(),s.preventDefault()):!s.shiftKey&&s.target===fe[fe.length-1]&&(this._anchor.nativeElement.focus(),this.close())}else Ge(s.target,"focusout").pipe((0,mn.s)(1)).subscribe(({relatedTarget:fe})=>{this._nativeElement.contains(fe)||this.close()})}}else L&&(!0===this.autoClose||"inside"===this.autoClose)&&Ge(L,"click").pipe((0,mn.s)(1)).subscribe(()=>this.close())}_isDropup(){return this._nativeElement.classList.contains("dropup")}_isEventFromToggle(s){return this._anchor.nativeElement.contains(s.target)}_getMenuElements(){return this._menu?this._menu.menuItems.filter(({disabled:s})=>!s).map(({nativeElement:s})=>s):[]}_positionMenu(){const s=this._menu;this.isOpen()&&s&&("dynamic"===this.display?(this._positioning.update(),this._applyPlacementClasses()):this._applyPlacementClasses(this._getFirstPlacement(this.placement)))}_getFirstPlacement(s){return Array.isArray(s)?s[0]:s.split(" ")[0]}_resetContainer(){this._menu&&this._nativeElement.appendChild(this._menu.nativeElement),this._bodyContainer&&(this._document.body.removeChild(this._bodyContainer),this._bodyContainer=null)}_applyContainer(s=null){if(this._resetContainer(),"body"===s){const c=this._menu.nativeElement,m=this._bodyContainer=this._bodyContainer||this._document.createElement("div");m.style.position="absolute",c.style.position="static",m.style.zIndex="1055",m.appendChild(c),this._document.body.appendChild(m)}this._applyCustomDropdownClass(this.dropdownClass)}_applyCustomDropdownClass(s,c){const m="body"===this.container?this._bodyContainer:this._nativeElement;m&&(c&&m.classList.remove(c),s&&m.classList.add(s))}_applyPlacementClasses(s){if(this._menu){s||(s=this._getFirstPlacement(this.placement)),this._nativeElement.classList.remove("dropup","dropdown"),"static"===this.display?this._menu.nativeElement.setAttribute("data-bs-popper","static"):this._menu.nativeElement.removeAttribute("data-bs-popper");const c=-1!==s.search("^top")?"dropup":"dropdown";this._nativeElement.classList.add(c),this._bodyContainer&&(this._bodyContainer.classList.remove("dropup","dropdown"),this._bodyContainer.classList.add(c))}}static#e=this.\u0275fac=function(c){return new(c||l)};static#t=this.\u0275dir=o.FsC({type:l,selectors:[["","ngbDropdown",""]],contentQueries:function(c,m,I){if(1&c&&(o.wni(I,Ba,5),o.wni(I,Va,5)),2&c){let L;o.mGM(L=o.lsd())&&(m._menu=L.first),o.mGM(L=o.lsd())&&(m._anchor=L.first)}},hostVars:2,hostBindings:function(c,m){2&c&&o.AVh("show",m.isOpen())},inputs:{autoClose:"autoClose",dropdownClass:"dropdownClass",_open:[0,"open","_open"],placement:"placement",popperOptions:"popperOptions",container:"container",display:"display"},outputs:{openChange:"openChange"},exportAs:["ngbDropdown"],standalone:!0,features:[o.OA$]})}return l})(),Vd=(()=>{class l{constructor(){this._ngbConfig=(0,o.WQX)(ae),this.autohide=!0,this.delay=5e3,this.ariaLive="polite"}get animation(){return this._animation??this._ngbConfig.animation}set animation(s){this._animation=s}static#e=this.\u0275fac=function(c){return new(c||l)};static#t=this.\u0275prov=o.jDH({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})();const Jl=(l,p)=>{const{classList:s}=l;if(p)return s.add("fade"),Xn(l),s.add("show","showing"),()=>{s.remove("showing")};s.add("show")},zm=({classList:l})=>(l.add("showing"),()=>{l.remove("show","showing")});let Hh=(()=>{class l{static#e=this.\u0275fac=function(c){return new(c||l)};static#t=this.\u0275dir=o.FsC({type:l,selectors:[["","ngbToastHeader",""]],standalone:!0})}return l})(),ds=(()=>{class l{constructor(s){this.ariaLive=s,this._config=(0,o.WQX)(Vd),this._zone=(0,o.WQX)(o.SKi),this._element=(0,o.WQX)(o.aKT),this.animation=this._config.animation,this.delay=this._config.delay,this.autohide=this._config.autohide,this.contentHeaderTpl=null,this.shown=new o.bkB,this.hidden=new o.bkB,this.ariaLive??=this._config.ariaLive}ngAfterContentInit(){this._zone.onStable.asObservable().pipe((0,mn.s)(1)).subscribe(()=>{this._init(),this.show()})}ngOnChanges(s){"autohide"in s&&(this._clearTimeout(),this._init())}hide(){this._clearTimeout();const s=Qi(this._zone,this._element.nativeElement,zm,{animation:this.animation,runningTransition:"stop"});return s.subscribe(()=>{this.hidden.emit()}),s}show(){const s=Qi(this._zone,this._element.nativeElement,Jl,{animation:this.animation,runningTransition:"continue"});return s.subscribe(()=>{this.shown.emit()}),s}_init(){this.autohide&&!this._timeoutID&&(this._timeoutID=setTimeout(()=>this.hide(),this.delay))}_clearTimeout(){this._timeoutID&&(clearTimeout(this._timeoutID),this._timeoutID=null)}static#e=this.\u0275fac=function(c){return new(c||l)(o.kS0("aria-live"))};static#t=this.\u0275cmp=o.VBU({type:l,selectors:[["ngb-toast"]],contentQueries:function(c,m,I){if(1&c&&o.wni(I,Hh,7,o.C4Q),2&c){let L;o.mGM(L=o.lsd())&&(m.contentHeaderTpl=L.first)}},hostAttrs:["role","alert","aria-atomic","true",1,"toast"],hostVars:3,hostBindings:function(c,m){2&c&&(o.BMQ("aria-live",m.ariaLive),o.AVh("fade",m.animation))},inputs:{animation:"animation",delay:"delay",autohide:"autohide",header:"header"},outputs:{shown:"shown",hidden:"hidden"},exportAs:["ngbToast"],standalone:!0,features:[o.OA$,o.aNF],ngContentSelectors:Yr,decls:5,vars:1,consts:()=>{let s;return s=$localize`:@@ngb.toast.close-aria:Close`,[["headerTpl",""],[1,"toast-header"],[1,"toast-body"],[1,"me-auto"],[3,"ngTemplateOutlet"],["type","button","aria-label",s,1,"btn-close",3,"click"]]},template:function(c,m){1&c&&(o.NAR(),o.DNE(0,b,2,1,"ng-template",null,0,o.C5r)(2,T,3,1,"div",1),o.j41(3,"div",2),o.SdG(4),o.k0s()),2&c&&(o.R7$(2),o.vxM(m.contentHeaderTpl||m.header?2:-1))},dependencies:[Pi.T3],styles:["ngb-toast{display:block}ngb-toast .toast-header .close{margin-left:auto;margin-bottom:.25rem}\n"],encapsulation:2})}return l})();new o.nKC("live announcer delay",{providedIn:"root",factory:()=>100})},9664:(yt,Se,x)=>{x.d(Se,{Wr:()=>St,h:()=>be,D9:()=>jn,c$:()=>wi});var o=x(4438),S=x(7673),ge=x(4402),ce=x(7468),X=x(8793),le=x(9030),Ne=x(6697),Pe=x(1413),Ie=x(6129);class Ae extends Pe.B{constructor(he=1/0,U=1/0,ne=Ie.U){super(),this._bufferSize=he,this._windowTime=U,this._timestampProvider=ne,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=U===1/0,this._bufferSize=Math.max(1,he),this._windowTime=Math.max(1,U)}next(he){const{isStopped:U,_buffer:ne,_infiniteTimeWindow:oe,_timestampProvider:Le,_windowTime:ft}=this;U||(ne.push(he),!oe&&ne.push(Le.now()+ft)),this._trimBuffer(),super.next(he)}_subscribe(he){this._throwIfClosed(),this._trimBuffer();const U=this._innerSubscribe(he),{_infiniteTimeWindow:ne,_buffer:oe}=this,Le=oe.slice();for(let ft=0;ft<Le.length&&!he.closed;ft+=ne?1:2)he.next(Le[ft]);return this._checkFinalizedStatuses(he),U}_trimBuffer(){const{_bufferSize:he,_timestampProvider:U,_buffer:ne,_infiniteTimeWindow:oe}=this,Le=(oe?1:2)*he;if(he<1/0&&Le<ne.length&&ne.splice(0,ne.length-Le),!oe){const ft=U.now();let vn=0;for(let gt=1;gt<ne.length&&ne[gt]<=ft;gt+=2)vn=gt;vn&&ne.splice(0,vn+1)}}}var Me=x(7647);function Be(te,he,U){let ne,oe=!1;return te&&"object"==typeof te?({bufferSize:ne=1/0,windowTime:he=1/0,refCount:oe=!1,scheduler:U}=te):ne=te??1/0,(0,Me.u)({connector:()=>new Ae(ne,he,U),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:oe})}var ct=x(6354),He=x(274),We=x(5558);class St{}let jt=(()=>{class te extends St{getTranslation(U){return(0,S.of)({})}static \u0275fac=(()=>{let U;return function(oe){return(U||(U=o.xGo(te)))(oe||te)}})();static \u0275prov=o.jDH({token:te,factory:te.\u0275fac})}return te})();class Mt{}let Kt=(()=>{class te{handle(U){return U.key}static \u0275fac=function(ne){return new(ne||te)};static \u0275prov=o.jDH({token:te,factory:te.\u0275fac})}return te})();function Nn(te,he){if(te===he)return!0;if(null===te||null===he)return!1;if(te!=te&&he!=he)return!0;let oe,Le,ft,U=typeof te;if(U==typeof he&&"object"==U){if(!Array.isArray(te)){if(Array.isArray(he))return!1;for(Le in ft=Object.create(null),te){if(!Nn(te[Le],he[Le]))return!1;ft[Le]=!0}for(Le in he)if(!(Le in ft)&&typeof he[Le]<"u")return!1;return!0}if(!Array.isArray(he))return!1;if((oe=te.length)==he.length){for(Le=0;Le<oe;Le++)if(!Nn(te[Le],he[Le]))return!1;return!0}}return!1}function Ge(te){return typeof te<"u"&&null!==te}function $e(te){return te&&"object"==typeof te&&!Array.isArray(te)}function st(te,he){let U=Object.assign({},te);return $e(te)&&$e(he)&&Object.keys(he).forEach(ne=>{$e(he[ne])?ne in te?U[ne]=st(te[ne],he[ne]):Object.assign(U,{[ne]:he[ne]}):Object.assign(U,{[ne]:he[ne]})}),U}class kt{}let lt=(()=>{class te extends kt{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(U,ne){let oe;return oe="string"==typeof U?this.interpolateString(U,ne):"function"==typeof U?this.interpolateFunction(U,ne):U,oe}getValue(U,ne){let oe="string"==typeof ne?ne.split("."):[ne];ne="";do{ne+=oe.shift(),!Ge(U)||!Ge(U[ne])||"object"!=typeof U[ne]&&oe.length?oe.length?ne+=".":U=void 0:(U=U[ne],ne="")}while(oe.length);return U}interpolateFunction(U,ne){return U(ne)}interpolateString(U,ne){return ne?U.replace(this.templateMatcher,(oe,Le)=>{let ft=this.getValue(ne,Le);return Ge(ft)?ft:oe}):U}static \u0275fac=(()=>{let U;return function(oe){return(U||(U=o.xGo(te)))(oe||te)}})();static \u0275prov=o.jDH({token:te,factory:te.\u0275fac})}return te})();class it{}let Ct=(()=>{class te extends it{compile(U,ne){return U}compileTranslations(U,ne){return U}static \u0275fac=(()=>{let U;return function(oe){return(U||(U=o.xGo(te)))(oe||te)}})();static \u0275prov=o.jDH({token:te,factory:te.\u0275fac})}return te})();class Et{defaultLang;currentLang=this.defaultLang;translations={};langs=[];onTranslationChange=new o.bkB;onLangChange=new o.bkB;onDefaultLangChange=new o.bkB}const $t=new o.nKC("USE_STORE"),Qt=new o.nKC("USE_DEFAULT_LANG"),Wn=new o.nKC("DEFAULT_LANGUAGE"),Cn=new o.nKC("USE_EXTEND");let wi=(()=>{class te{store;currentLoader;compiler;parser;missingTranslationHandler;useDefaultLang;isolate;extend;loadingTranslations;pending=!1;_onTranslationChange=new o.bkB;_onLangChange=new o.bkB;_onDefaultLangChange=new o.bkB;_defaultLang;_currentLang;_langs=[];_translations={};_translationRequests={};get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(U){this.isolate?this._defaultLang=U:this.store.defaultLang=U}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(U){this.isolate?this._currentLang=U:this.store.currentLang=U}get langs(){return this.isolate?this._langs:this.store.langs}set langs(U){this.isolate?this._langs=U:this.store.langs=U}get translations(){return this.isolate?this._translations:this.store.translations}set translations(U){this.isolate?this._translations=U:this.store.translations=U}constructor(U,ne,oe,Le,ft,vn=!0,gt=!1,fn=!1,bn){this.store=U,this.currentLoader=ne,this.compiler=oe,this.parser=Le,this.missingTranslationHandler=ft,this.useDefaultLang=vn,this.isolate=gt,this.extend=fn,bn&&this.setDefaultLang(bn)}setDefaultLang(U){if(U===this.defaultLang)return;let ne=this.retrieveTranslations(U);typeof ne<"u"?(null==this.defaultLang&&(this.defaultLang=U),ne.pipe((0,Ne.s)(1)).subscribe(oe=>{this.changeDefaultLang(U)})):this.changeDefaultLang(U)}getDefaultLang(){return this.defaultLang}use(U){if(U===this.currentLang)return(0,S.of)(this.translations[U]);let ne=this.retrieveTranslations(U);return typeof ne<"u"?(this.currentLang||(this.currentLang=U),ne.pipe((0,Ne.s)(1)).subscribe(oe=>{this.changeLang(U)}),ne):(this.changeLang(U),(0,S.of)(this.translations[U]))}retrieveTranslations(U){let ne;return(typeof this.translations[U]>"u"||this.extend)&&(this._translationRequests[U]=this._translationRequests[U]||this.getTranslation(U),ne=this._translationRequests[U]),ne}getTranslation(U){this.pending=!0;const ne=this.currentLoader.getTranslation(U).pipe(Be(1),(0,Ne.s)(1));return this.loadingTranslations=ne.pipe((0,ct.T)(oe=>this.compiler.compileTranslations(oe,U)),Be(1),(0,Ne.s)(1)),this.loadingTranslations.subscribe({next:oe=>{this.translations[U]=this.extend&&this.translations[U]?{...oe,...this.translations[U]}:oe,this.updateLangs(),this.pending=!1},error:oe=>{this.pending=!1}}),ne}setTranslation(U,ne,oe=!1){ne=this.compiler.compileTranslations(ne,U),this.translations[U]=(oe||this.extend)&&this.translations[U]?st(this.translations[U],ne):ne,this.updateLangs(),this.onTranslationChange.emit({lang:U,translations:this.translations[U]})}getLangs(){return this.langs}addLangs(U){U.forEach(ne=>{-1===this.langs.indexOf(ne)&&this.langs.push(ne)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(U,ne,oe){let Le;if(ne instanceof Array){let ft={},vn=!1;for(let gt of ne)ft[gt]=this.getParsedResult(U,gt,oe),(0,ge.A)(ft[gt])&&(vn=!0);if(vn){const gt=ne.map(fn=>(0,ge.A)(ft[fn])?ft[fn]:(0,S.of)(ft[fn]));return(0,ce.p)(gt).pipe((0,ct.T)(fn=>{let bn={};return fn.forEach((wn,gn)=>{bn[ne[gn]]=wn}),bn}))}return ft}if(U&&(Le=this.parser.interpolate(this.parser.getValue(U,ne),oe)),typeof Le>"u"&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(Le=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],ne),oe)),typeof Le>"u"){let ft={key:ne,translateService:this};typeof oe<"u"&&(ft.interpolateParams=oe),Le=this.missingTranslationHandler.handle(ft)}return typeof Le<"u"?Le:ne}get(U,ne){if(!Ge(U)||!U.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,He.H)(oe=>(oe=this.getParsedResult(oe,U,ne),(0,ge.A)(oe)?oe:(0,S.of)(oe))));{let oe=this.getParsedResult(this.translations[this.currentLang],U,ne);return(0,ge.A)(oe)?oe:(0,S.of)(oe)}}getStreamOnTranslationChange(U,ne){if(!Ge(U)||!U.length)throw new Error('Parameter "key" required');return(0,X.x)((0,le.v)(()=>this.get(U,ne)),this.onTranslationChange.pipe((0,We.n)(oe=>{const Le=this.getParsedResult(oe.translations,U,ne);return"function"==typeof Le.subscribe?Le:(0,S.of)(Le)})))}stream(U,ne){if(!Ge(U)||!U.length)throw new Error('Parameter "key" required');return(0,X.x)((0,le.v)(()=>this.get(U,ne)),this.onLangChange.pipe((0,We.n)(oe=>{const Le=this.getParsedResult(oe.translations,U,ne);return(0,ge.A)(Le)?Le:(0,S.of)(Le)})))}instant(U,ne){if(!Ge(U)||!U.length)throw new Error('Parameter "key" required');let oe=this.getParsedResult(this.translations[this.currentLang],U,ne);if((0,ge.A)(oe)){if(U instanceof Array){let Le={};return U.forEach((ft,vn)=>{Le[U[vn]]=U[vn]}),Le}return U}return oe}set(U,ne,oe=this.currentLang){this.translations[oe][U]=this.compiler.compile(ne,oe),this.updateLangs(),this.onTranslationChange.emit({lang:oe,translations:this.translations[oe]})}changeLang(U){this.currentLang=U,this.onLangChange.emit({lang:U,translations:this.translations[U]}),null==this.defaultLang&&this.changeDefaultLang(U)}changeDefaultLang(U){this.defaultLang=U,this.onDefaultLangChange.emit({lang:U,translations:this.translations[U]})}reloadLang(U){return this.resetLang(U),this.getTranslation(U)}resetLang(U){this._translationRequests[U]=void 0,this.translations[U]=void 0}getBrowserLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let U=window.navigator.languages?window.navigator.languages[0]:null;return U=U||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,typeof U>"u"?void 0:(-1!==U.indexOf("-")&&(U=U.split("-")[0]),-1!==U.indexOf("_")&&(U=U.split("_")[0]),U)}getBrowserCultureLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let U=window.navigator.languages?window.navigator.languages[0]:null;return U=U||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,U}static \u0275fac=function(ne){return new(ne||te)(o.KVO(Et),o.KVO(St),o.KVO(it),o.KVO(kt),o.KVO(Mt),o.KVO(Qt),o.KVO($t),o.KVO(Cn),o.KVO(Wn))};static \u0275prov=o.jDH({token:te,factory:te.\u0275fac})}return te})(),jn=(()=>{class te{translate;_ref;value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onDefaultLangChange;constructor(U,ne){this.translate=U,this._ref=ne}updateValue(U,ne,oe){let Le=ft=>{this.value=void 0!==ft?ft:U,this.lastKey=U,this._ref.markForCheck()};if(oe){let ft=this.translate.getParsedResult(oe,U,ne);(0,ge.A)(ft.subscribe)?ft.subscribe(Le):Le(ft)}this.translate.get(U,ne).subscribe(Le)}transform(U,...ne){if(!U||!U.length)return U;if(Nn(U,this.lastKey)&&Nn(ne,this.lastParams))return this.value;let oe;if(Ge(ne[0])&&ne.length)if("string"==typeof ne[0]&&ne[0].length){let Le=ne[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{oe=JSON.parse(Le)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${ne[0]}`)}}else"object"==typeof ne[0]&&!Array.isArray(ne[0])&&(oe=ne[0]);return this.lastKey=U,this.lastParams=ne,this.updateValue(U,oe),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(Le=>{this.lastKey&&Le.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(U,oe,Le.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(Le=>{this.lastKey&&(this.lastKey=null,this.updateValue(U,oe,Le.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(U,oe))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}static \u0275fac=function(ne){return new(ne||te)(o.rXU(wi,16),o.rXU(o.gRc,16))};static \u0275pipe=o.EJ8({name:"translate",type:te,pure:!1});static \u0275prov=o.jDH({token:te,factory:te.\u0275fac})}return te})(),be=(()=>{class te{static forRoot(U={}){return{ngModule:te,providers:[U.loader||{provide:St,useClass:jt},U.compiler||{provide:it,useClass:Ct},U.parser||{provide:kt,useClass:lt},U.missingTranslationHandler||{provide:Mt,useClass:Kt},Et,{provide:$t,useValue:U.isolate},{provide:Qt,useValue:U.useDefaultLang},{provide:Cn,useValue:U.extend},{provide:Wn,useValue:U.defaultLanguage},wi]}}static forChild(U={}){return{ngModule:te,providers:[U.loader||{provide:St,useClass:jt},U.compiler||{provide:it,useClass:Ct},U.parser||{provide:kt,useClass:lt},U.missingTranslationHandler||{provide:Mt,useClass:Kt},{provide:$t,useValue:U.isolate},{provide:Qt,useValue:U.useDefaultLang},{provide:Cn,useValue:U.extend},{provide:Wn,useValue:U.defaultLanguage},wi]}}static \u0275fac=function(ne){return new(ne||te)};static \u0275mod=o.$C({type:te});static \u0275inj=o.G2t({})}return te})()},467:(yt,Se,x)=>{function o(ge,ce,X,le,Ne,Pe,Ie){try{var Ae=ge[Pe](Ie),Me=Ae.value}catch(Be){return void X(Be)}Ae.done?ce(Me):Promise.resolve(Me).then(le,Ne)}function S(ge){return function(){var ce=this,X=arguments;return new Promise(function(le,Ne){var Pe=ge.apply(ce,X);function Ie(Me){o(Pe,le,Ne,Ie,Ae,"next",Me)}function Ae(Me){o(Pe,le,Ne,Ie,Ae,"throw",Me)}Ie(void 0)})}}x.d(Se,{A:()=>S})},1635:(yt,Se,x)=>{function Be(be,te,he,U){return new(he||(he=Promise))(function(oe,Le){function ft(fn){try{gt(U.next(fn))}catch(bn){Le(bn)}}function vn(fn){try{gt(U.throw(fn))}catch(bn){Le(bn)}}function gt(fn){fn.done?oe(fn.value):function ne(oe){return oe instanceof he?oe:new he(function(Le){Le(oe)})}(fn.value).then(ft,vn)}gt((U=U.apply(be,te||[])).next())})}function Ge(be){return this instanceof Ge?(this.v=be,this):new Ge(be)}function $e(be,te,he){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var ne,U=he.apply(be,te||[]),oe=[];return ne={},Le("next"),Le("throw"),Le("return"),ne[Symbol.asyncIterator]=function(){return this},ne;function Le(wn){U[wn]&&(ne[wn]=function(gn){return new Promise(function(ti,bt){oe.push([wn,gn,ti,bt])>1||ft(wn,gn)})})}function ft(wn,gn){try{!function vn(wn){wn.value instanceof Ge?Promise.resolve(wn.value.v).then(gt,fn):bn(oe[0][2],wn)}(U[wn](gn))}catch(ti){bn(oe[0][3],ti)}}function gt(wn){ft("next",wn)}function fn(wn){ft("throw",wn)}function bn(wn,gn){wn(gn),oe.shift(),oe.length&&ft(oe[0][0],oe[0][1])}}function kt(be){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var he,te=be[Symbol.asyncIterator];return te?te.call(be):(be=function St(be){var te="function"==typeof Symbol&&Symbol.iterator,he=te&&be[te],U=0;if(he)return he.call(be);if(be&&"number"==typeof be.length)return{next:function(){return be&&U>=be.length&&(be=void 0),{value:be&&be[U++],done:!be}}};throw new TypeError(te?"Object is not iterable.":"Symbol.iterator is not defined.")}(be),he={},U("next"),U("throw"),U("return"),he[Symbol.asyncIterator]=function(){return this},he);function U(oe){he[oe]=be[oe]&&function(Le){return new Promise(function(ft,vn){!function ne(oe,Le,ft,vn){Promise.resolve(vn).then(function(gt){oe({value:gt,done:ft})},Le)}(ft,vn,(Le=be[oe](Le)).done,Le.value)})}}}x.d(Se,{AQ:()=>$e,N3:()=>Ge,sH:()=>Be,xN:()=>kt}),"function"==typeof SuppressedError&&SuppressedError}},yt=>{yt(yt.s=8146)}]);