1import{a as E,b as W,e as xI,g as AI,i as Ts}from"./chunk-2AVGQ2MQ.js";var Qb=xI((an,Jh)=>{(function(e,n){typeof an=="object"&&typeof Jh<"u"?Jh.exports=n():typeof define=="function"&&define.amd?define(n):(e=typeof globalThis<"u"?globalThis:e||self,e.Sweetalert2=n())})(an,function(){"use strict";function e(c,u,f){if(typeof c=="function"?c===u:c.has(u))return arguments.length<3?u:f;throw new TypeError("Private element is not present on this object")}function n(c,u){if(u.has(c))throw new TypeError("Cannot initialize the same private elements twice on an object")}function t(c,u){return c.get(e(c,u))}function r(c,u,f){n(c,u),u.set(c,f)}function o(c,u,f){return c.set(e(c,u),f),f}let i=100,s={},a=()=>{s.previousActiveElement instanceof HTMLElement?(s.previousActiveElement.focus(),s.previousActiveElement=null):document.body&&document.body.focus()},l=c=>new Promise(u=>{if(!c)return u();let f=window.scrollX,g=window.scrollY;s.restoreFocusTimeout=setTimeout(()=>{a(),u()},i),window.scrollTo(f,g)}),d="swal2-",h=["container","shown","height-auto","iosfix","popup","modal","no-backdrop","no-transition","toast","toast-shown","show","hide","close","title","html-container","actions","confirm","deny","cancel","default-outline","footer","icon","icon-content","image","input","file","range","select","radio","checkbox","label","textarea","inputerror","input-label","validation-message","progress-steps","active-progress-step","progress-step","progress-step-line","loader","loading","styled","top","top-start","top-end","top-left","top-right","center","center-start","center-end","center-left","center-right","bottom","bottom-start","bottom-end","bottom-left","bottom-right","grow-row","grow-column","grow-fullscreen","rtl","timer-progress-bar","timer-progress-bar-container","scrollbar-measure","icon-success","icon-warning","icon-info","icon-question","icon-error"].reduce((c,u)=>(c[u]=d+u,c),{}),m=["success","warning","info","question","error"].reduce((c,u)=>(c[u]=d+u,c),{}),w="SweetAlert2:",D=c=>c.charAt(0).toUpperCase()+c.slice(1),C=c=>{console.warn(`${w} ${typeof c=="object"?c.join(" "):c}`)},_=c=>{console.error(`${w} ${c}`)},k=[],V=c=>{k.includes(c)||(k.push(c),C(c))},le=function(c){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;V(`"${c}" is deprecated and will be removed in the next major release.${u?` Use "${u}" instead.`:""}`)},ye=c=>typeof c=="function"?c():c,me=c=>c&&typeof c.toPromise=="function",Ue=c=>me(c)?c.toPromise():Promise.resolve(c),or=c=>c&&Promise.resolve(c)===c,Fe=()=>document.body.querySelector(`.${h.container}`),Qo=c=>{let u=Fe();return u?u.querySelector(c):null},ot=c=>Qo(`.${c}`),te=()=>ot(h.popup),Ko=()=>ot(h.icon),Xb=()=>ot(h["icon-content"]),Xh=()=>ot(h.title),El=()=>ot(h["html-container"]),ep=()=>ot(h.image),Il=()=>ot(h["progress-steps"]),vs=()=>ot(h["validation-message"]),jt=()=>Qo(`.${h.actions} .${h.confirm}`),Pr=()=>Qo(`.${h.actions} .${h.cancel}`),ir=()=>Qo(`.${h.actions} .${h.deny}`),eC=()=>ot(h["input-label"]),Fr=()=>Qo(`.${h.loader}`),Jo=()=>ot(h.actions),tp=()=>ot(h.footer),ys=()=>ot(h["timer-progress-bar"]),_l=()=>ot(h.close),tC=` 2 a[href], 3 area[href], 4 input:not([disabled]), 5 select:not([disabled]), 6 textarea:not([disabled]), 7 button:not([disabled]), 8 iframe, 9 object, 10 embed, 11 [tabindex="0"], 12 [contenteditable], 13 audio[controls], 14 video[controls], 15 summary 16`,Ml=()=>{let c=te();if(!c)return[];let u=c.querySelectorAll('[tabindex]:not([tabindex="-1"]):not([tabindex="0"])'),f=Array.from(u).sort((I,$)=>{let X=parseInt(I.getAttribute("tabindex")||"0"),ve=parseInt($.getAttribute("tabindex")||"0");return X>ve?1:X<ve?-1:0}),g=c.querySelectorAll(tC),y=Array.from(g).filter(I=>I.getAttribute("tabindex")!=="-1");return[...new Set(f.concat(y))].filter(I=>Ke(I))},Sl=()=>cn(document.body,h.shown)&&!cn(document.body,h["toast-shown"])&&!cn(document.body,h["no-backdrop"]),ws=()=>{let c=te();return c?cn(c,h.toast):!1},nC=()=>{let c=te();return c?c.hasAttribute("data-loading"):!1},it=(c,u)=>{if(c.textContent="",u){let g=new DOMParser().parseFromString(u,"text/html"),y=g.querySelector("head");
16y&&Array.from(y.childNodes).forEach($=>{c.appendChild($)});let I=g.querySelector("body");I&&Array.from(I.childNodes).forEach($=>{$ instanceof HTMLVideoElement||$ instanceof HTMLAudioElement?c.appendChild($.cloneNode(!0)):c.appendChild($)})}},cn=(c,u)=>{if(!u)return!1;let f=u.split(/\s+/);for(let g=0;g<f.length;g++)if(!c.classList.contains(f[g]))return!1;return!0},rC=(c,u)=>{Array.from(c.classList).forEach(f=>{!Object.values(h).includes(f)&&!Object.values(m).includes(f)&&!Object.values(u.showClass||{}).includes(f)&&c.classList.remove(f)})},st=(c,u,f)=>{if(rC(c,u),!u.customClass)return;let g=u.customClass[f];if(g){if(typeof g!="string"&&!g.forEach){C(`Invalid type of customClass.${f}! Expected string or iterable object, got "${typeof g}"`);return}Q(c,g)}},Ds=(c,u)=>{if(!u)return null;switch(u){case"select":case"textarea":case"file":return c.querySelector(`.${h.popup} > .${h[u]}`);case"checkbox":return c.querySelector(`.${h.popup} > .${h.checkbox} input`);case"radio":return c.querySelector(`.${h.popup} > .${h.radio} input:checked`)||c.querySelector(`.${h.popup} > .${h.radio} input:first-child`);case"range":return c.querySelector(`.${h.popup} > .${h.range} input`);default:return c.querySelector(`.${h.popup} > .${h.input}`)}},np=c=>{if(c.focus(),c.type!=="file"){let u=c.value;c.value="",c.value=u}},rp=(c,u,f)=>{!c||!u||(typeof u=="string"&&(u=u.split(/\s+/).filter(Boolean)),u.forEach(g=>{Array.isArray(c)?c.forEach(y=>{f?y.classList.add(g):y.classList.remove(g)}):f?c.classList.add(g):c.classList.remove(g)}))},Q=(c,u)=>{rp(c,u,!0)},Bt=(c,u)=>{rp(c,u,!1)},Rn=(c,u)=>{let f=Array.from(c.children);for(let g=0;g<f.length;g++){let y=f[g];if(y instanceof HTMLElement&&cn(y,u))return y}},sr=(c,u,f)=>{f===`${parseInt(f)}`&&(f=parseInt(f)),f||parseInt(f)===0?c.style.setProperty(u,typeof f=="number"?`${f}px`:f):c.style.removeProperty(u)},Se=function(c){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"flex";c&&(c.style.display=u)},ke=c=>{c&&(c.style.display="none")},Tl=function(c){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"block";c&&new MutationObserver(()=>{Xo(c,c.innerHTML,u)}).observe(c,{childList:!0,subtree:!0})},op=(c,u,f,g)=>{let y=c.querySelector(u);y&&y.style.setProperty(f,g)},Xo=function(c,u){let f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"flex";u?Se(c,f):ke(c)},Ke=c=>!!(c&&(c.offsetWidth||c.offsetHeight||c.getClientRects().length)),oC=()=>!Ke(jt())&&!Ke(ir())&&!Ke(Pr()),ip=c=>c.scrollHeight>c.clientHeight,sp=c=>{let u=window.getComputedStyle(c),f=parseFloat(u.getPropertyValue("animation-duration")||"0"),g=parseFloat(u.getPropertyValue("transition-duration")||"0");return f>0||g>0},xl=function(c){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,f=ys();f&&Ke(f)&&(u&&(f.style.transition="none",f.style.width="100%"),setTimeout(()=>{f.style.transition=`width ${c/1e3}s linear`,f.style.width="0%"},10))},iC=()=>{let c=ys();if(!c)return;let u=parseInt(window.getComputedStyle(c).width);c.style.removeProperty("transition"),c.style.width="100%";let f=parseInt(window.getComputedStyle(c).width),g=u/f*100;c.style.width=`${g}%`},sC=()=>typeof window>"u"||typeof document>"u",aC=` 17 <div aria-labelledby="${h.title}" aria-describedby="${h["html-container"]}" class="${h.popup}" tabindex="-1"> 18 <button type="button" class="${h.close}"></button> 19 <ul class="${h["progress-steps"]}"></ul> 20 <div class="${h.icon}"></div> 21 <img class="${h.image}" /> 22 <h2 class="${h.title}" id="${h.title}"></h2> 23 <div class="${h["html-container"]}" id="${h["html-container"]}"></div> 24 <input class="${h.input}" id="${h.input}" /> 25 <input type="file" class="${h.file}" /> 26 <div class="${h.range}"> 27 <input type="range" /> 28 <output></output> 29 </div> 30 <select class="${h.select}" id="${h.select}"></select> 31 <div class="${h.radio}"></div> 32 <label class="${h.checkbox}"> 33 <input type="checkbox" id="${h.checkbox}" /> 34 <span class="${h.label}"></span> 35 </label> 36 <textarea class="${h.textarea}" id="${h.textarea}"></textarea> 37 <div class="${h["validation-message"]}" id="${h["validation-message"]}"></div> 38 <div class="${h.actions}"> 39 <div class="${h.loader}"></div> 40 <button type="button" class="${h.confirm}"></button> 41 <button type="button" class="${h.deny}"></button> 42 <button type="button" class="${h.cancel}"></button> 43 </div> 44 <div class="${h.footer}"></div> 45 <div class="${h["timer-progress-bar-container"]}"> 46 <div class="${h["timer-progress-bar"]}"></div> 47 </div> 48 </div> 49`.replace(/(^|\n)\s*/g,""),cC=()=>{let c=Fe();return c?(c.remove(),Bt([document.documentElement,document.body],[h["no-backdrop"],h["toast-shown"],h["has-column"]]),!0):!1},ar=()=>{s.currentInstance.resetValidationMessage()},lC=()=>{let c=te(),u=Rn(c,h.input),f=Rn(c,h.file),g=c.querySelector(`.${h.range} input`),y=c.querySelector(`.${h.range} output`),I=Rn(c,h.select),$=c.querySelector(`.${h.checkbox} input`),X=Rn(c,h.textarea);u.oninput=ar,f.onchange=ar,I.onchange=ar,$.onchange=ar,X.oninput=ar,g.oninput=()=>{ar(),y.value=g.value},g.onchange=()=>{ar(),y.value=g.value}},uC=c=>typeof c=="string"?document.querySelector(c):c,dC=c=>{let u=te();u.setAttribute("role",c.toast?"alert":"dialog"),u.setAttribute("aria-live",c.toast?"polite":"assertive"),c.toast||u.setAttribute("aria-modal","true")},fC=c=>{window.getComputedStyle(c).direction==="rtl"&&Q(Fe(),h.rtl)},hC=c=>{let u=cC();if(sC()){_("SweetAlert2 requires document to initialize");return}let f=document.createElement("div");
49f.className=h.container,u&&Q(f,h["no-transition"]),it(f,aC);let g=uC(c.target);g.appendChild(f),dC(c),fC(g),lC()},Al=(c,u)=>{c instanceof HTMLElement?u.appendChild(c):typeof c=="object"?pC(c,u):c&&it(u,c)},pC=(c,u)=>{c.jquery?gC(u,c):it(u,c.toString())},gC=(c,u)=>{if(c.textContent="",0 in u)for(let f=0;f in u;f++)c.appendChild(u[f].cloneNode(!0));else c.appendChild(u.cloneNode(!0))},mC=(c,u)=>{let f=Jo(),g=Fr();!f||!g||(!u.showConfirmButton&&!u.showDenyButton&&!u.showCancelButton?ke(f):Se(f),st(f,u,"actions"),vC(f,g,u),it(g,u.loaderHtml||""),st(g,u,"loader"))};function vC(c,u,f){let g=jt(),y=ir(),I=Pr();!g||!y||!I||(Nl(g,"confirm",f),Nl(y,"deny",f),Nl(I,"cancel",f),yC(g,y,I,f),f.reverseButtons&&(f.toast?(c.insertBefore(I,g),c.insertBefore(y,g)):(c.insertBefore(I,u),c.insertBefore(y,u),c.insertBefore(g,u))))}function yC(c,u,f,g){if(!g.buttonsStyling){Bt([c,u,f],h.styled);return}Q([c,u,f],h.styled),g.confirmButtonColor&&(c.style.backgroundColor=g.confirmButtonColor,Q(c,h["default-outline"])),g.denyButtonColor&&(u.style.backgroundColor=g.denyButtonColor,Q(u,h["default-outline"])),g.cancelButtonColor&&(f.style.backgroundColor=g.cancelButtonColor,Q(f,h["default-outline"]))}function Nl(c,u,f){let g=D(u);Xo(c,f[`show${g}Button`],"inline-block"),it(c,f[`${u}ButtonText`]||""),c.setAttribute("aria-label",f[`${u}ButtonAriaLabel`]||""),c.className=h[u],st(c,f,`${u}Button`)}let wC=(c,u)=>{let f=_l();f&&(it(f,u.closeButtonHtml||""),st(f,u,"closeButton"),Xo(f,u.showCloseButton),f.setAttribute("aria-label",u.closeButtonAriaLabel||""))},DC=(c,u)=>{let f=Fe();f&&(bC(f,u.backdrop),CC(f,u.position),EC(f,u.grow),st(f,u,"container"))};function bC(c,u){typeof u=="string"?c.style.background=u:u||Q([document.documentElement,document.body],h["no-backdrop"])}function CC(c,u){u&&(u in h?Q(c,h[u]):(C('The "position" parameter is not valid, defaulting to "center"'),Q(c,h.center)))}function EC(c,u){u&&Q(c,h[`grow-${u}`])}var se={innerParams:new WeakMap,domCache:new WeakMap};let IC=["input","file","range","select","radio","checkbox","textarea"],_C=(c,u)=>{let f=te();if(!f)return;let g=se.innerParams.get(c),y=!g||u.input!==g.input;IC.forEach(I=>{let $=Rn(f,h[I]);$&&(TC(I,u.inputAttributes),$.className=h[I],y&&ke($))}),u.input&&(y&&MC(u),xC(u))},MC=c=>{if(!c.input)return;if(!De[c.input]){_(`Unexpected type of input! Expected ${Object.keys(De).join(" | ")}, got "${c.input}"`);return}let u=ap(c.input);if(!u)return;let f=De[c.input](u,c);Se(u),c.inputAutoFocus&&setTimeout(()=>{np(f)})},SC=c=>{for(let u=0;u<c.attributes.length;u++){let f=c.attributes[u].name;["id","type","value","style"].includes(f)||c.removeAttribute(f)}},TC=(c,u)=>{let f=te();if(!f)return;let g=Ds(f,c);if(g){SC(g);for(let y in u)g.setAttribute(y,u[y])}},xC=c=>{if(!c.input)return;let u=ap(c.input);u&&st(u,c,"input")},Rl=(c,u)=>{!c.placeholder&&u.inputPlaceholder&&(c.placeholder=u.inputPlaceholder)},ei=(c,u,f)=>{if(f.inputLabel){let g=document.createElement("label"),y=h["input-label"];g.setAttribute("for",c.id),g.className=y,typeof f.customClass=="object"&&Q(g,f.customClass.inputLabel),g.innerText=f.inputLabel,u.insertAdjacentElement("beforebegin",g)}},ap=c=>{let u=te();if(u)return Rn(u,h[c]||h.input)},bs=(c,u)=>{["string","number"].includes(typeof u)?c.value=`${u}`:or(u)||C(`Unexpected type of inputValue! Expected "string", "number" or "Promise", got "${typeof u}"`)},De={};De.text=De.email=De.password=De.number=De.tel=De.url=De.search=De.date=De["datetime-local"]=De.time=De.week=De.month=(c,u)=>(bs(c,u.inputValue),ei(c,c,u),Rl(c,u),c.type=u.input,c),De.file=(c,u)=>(ei(c,c,u),Rl(c,u),c),De.range=(c,u)=>{let f=c.querySelector("input"),g=c.querySelector("output");return bs(f,u.inputValue),f.type=u.input,bs(g,u.inputValue),ei(f,c,u),c},De.select=(c,u)=>{if(c.textContent="",u.inputPlaceholder){let f=document.createElement("option");it(f,u.inputPlaceholder),f.value="",f.disabled=!0,f.selected=!0,c.appendChild(f)}return ei(c,c,u),c},De.radio=c=>(c.textContent="",c),De.checkbox=(c,u)=>{let f=Ds(te(),"checkbox");f.value="1",f.checked=!!u.inputValue;let g=c.querySelector("span");
49return it(g,u.inputPlaceholder||u.inputLabel),f},De.textarea=(c,u)=>{bs(c,u.inputValue),Rl(c,u),ei(c,c,u);let f=g=>parseInt(window.getComputedStyle(g).marginLeft)+parseInt(window.getComputedStyle(g).marginRight);return setTimeout(()=>{if("MutationObserver"in window){let g=parseInt(window.getComputedStyle(te()).width),y=()=>{if(!document.body.contains(c))return;let I=c.offsetWidth+f(c);I>g?te().style.width=`${I}px`:sr(te(),"width",u.width)};new MutationObserver(y).observe(c,{attributes:!0,attributeFilter:["style"]})}}),c};let AC=(c,u)=>{let f=El();f&&(Tl(f),st(f,u,"htmlContainer"),u.html?(Al(u.html,f),Se(f,"block")):u.text?(f.textContent=u.text,Se(f,"block")):ke(f),_C(c,u))},NC=(c,u)=>{let f=tp();f&&(Tl(f),Xo(f,u.footer,"block"),u.footer&&Al(u.footer,f),st(f,u,"footer"))},RC=(c,u)=>{let f=se.innerParams.get(c),g=Ko();if(g){if(f&&u.icon===f.icon){lp(g,u),cp(g,u);return}if(!u.icon&&!u.iconHtml){ke(g);return}if(u.icon&&Object.keys(m).indexOf(u.icon)===-1){_(`Unknown icon! Expected "success", "error", "warning", "info" or "question", got "${u.icon}"`),ke(g);return}Se(g),lp(g,u),cp(g,u),Q(g,u.showClass&&u.showClass.icon)}},cp=(c,u)=>{for(let[f,g]of Object.entries(m))u.icon!==f&&Bt(c,g);Q(c,u.icon&&m[u.icon]),kC(c,u),OC(),st(c,u,"icon")},OC=()=>{let c=te();if(!c)return;let u=window.getComputedStyle(c).getPropertyValue("background-color"),f=c.querySelectorAll("[class^=swal2-success-circular-line], .swal2-success-fix");for(let g=0;g<f.length;g++)f[g].style.backgroundColor=u},PC=` 50 <div class="swal2-success-circular-line-left"></div> 51 <span class="swal2-success-line-tip"></span> <span class="swal2-success-line-long"></span> 52 <div class="swal2-success-ring"></div> <div class="swal2-success-fix"></div> 53 <div class="swal2-success-circular-line-right"></div> 54`,FC=` 55 <span class="swal2-x-mark"> 56 <span class="swal2-x-mark-line-left"></span> 57 <span class="swal2-x-mark-line-right"></span> 58 </span> 59`,lp=(c,u)=>{if(!u.icon&&!u.iconHtml)return;let f=c.innerHTML,g="";u.iconHtml?g=up(u.iconHtml):u.icon==="success"?(g=PC,f=f.replace(/ style=".*?"/g,"")):u.icon==="error"?g=FC:u.icon&&(g=up({question:"?",warning:"!",info:"i"}[u.icon])),f.trim()!==g.trim()&&it(c,g)},kC=(c,u)=>{if(u.iconColor){c.style.color=u.iconColor,c.style.borderColor=u.iconColor;for(let f of[".swal2-success-line-tip",".swal2-success-line-long",".swal2-x-mark-line-left",".swal2-x-mark-line-right"])op(c,f,"background-color",u.iconColor);op(c,".swal2-success-ring","border-color",u.iconColor)}},up=c=>`<div class="${h["icon-content"]}">${c}</div>`,LC=(c,u)=>{let f=ep();if(f){if(!u.imageUrl){ke(f);return}Se(f,""),f.setAttribute("src",u.imageUrl),f.setAttribute("alt",u.imageAlt||""),sr(f,"width",u.imageWidth),sr(f,"height",u.imageHeight),f.className=h.image,st(f,u,"image")}},VC=(c,u)=>{let f=Fe(),g=te();if(!(!f||!g)){if(u.toast){sr(f,"width",u.width),g.style.width="100%";let y=Fr();y&&g.insertBefore(y,Ko())}else sr(g,"width",u.width);sr(g,"padding",u.padding),u.color&&(g.style.color=u.color),u.background&&(g.style.background=u.background),ke(vs()),jC(g,u)}},jC=(c,u)=>{let f=u.showClass||{};c.className=`${h.popup} ${Ke(c)?f.popup:""}`,u.toast?(Q([document.documentElement,document.body],h["toast-shown"]),Q(c,h.toast)):Q(c,h.modal),st(c,u,"popup"),typeof u.customClass=="string"&&Q(c,u.customClass),u.icon&&Q(c,h[`icon-${u.icon}`])},BC=(c,u)=>{let f=Il();if(!f)return;let{progressSteps:g,currentProgressStep:y}=u;if(!g||g.length===0||y===void 0){ke(f);return}Se(f),f.textContent="",y>=g.length&&C("Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"),g.forEach((I,$)=>{let X=$C(I);if(f.appendChild(X),$===y&&Q(X,h["active-progress-step"]),$!==g.length-1){let ve=UC(u);f.appendChild(ve)}})},$C=c=>{let u=document.createElement("li");return Q(u,h["progress-step"]),it(u,c),u},UC=c=>{let u=document.createElement("li");return Q(u,h["progress-step-line"]),c.progressStepsDistance&&sr(u,"width",c.progressStepsDistance),u},HC=(c,u)=>{let f=Xh();f&&(Tl(f),Xo(f,u.title||u.titleText,"block"),u.title&&Al(u.title,f),u.titleText&&(f.innerText=u.titleText),st(f,u,"title"))},dp=(c,u)=>{VC(c,u),DC(c,u),BC(c,u),RC(c,u),LC(c,u),HC(c,u),wC(c,u),AC(c,u),mC(c,u),NC(c,u);let f=te();typeof u.didRender=="function"&&f&&u.didRender(f),s.eventEmitter.emit("didRender",f)},zC=()=>Ke(te()),fp=()=>{var c;return(c=jt())===null||c===void 0?void 0:c.click()},GC=()=>{var c;return(c=ir())===null||c===void 0?void 0:c.click()},qC=()=>{var c;return(c=Pr())===null||c===void 0?void 0:c.click()},kr=Object.freeze({cancel:"cancel",backdrop:"backdrop",close:"close",esc:"esc",timer:"timer"}
59),hp=c=>{c.keydownTarget&&c.keydownHandlerAdded&&(c.keydownTarget.removeEventListener("keydown",c.keydownHandler,{capture:c.keydownListenerCapture}),c.keydownHandlerAdded=!1)},WC=(c,u,f)=>{hp(c),u.toast||(c.keydownHandler=g=>YC(u,g,f),c.keydownTarget=u.keydownListenerCapture?window:te(),c.keydownListenerCapture=u.keydownListenerCapture,c.keydownTarget.addEventListener("keydown",c.keydownHandler,{capture:c.keydownListenerCapture}),c.keydownHandlerAdded=!0)},Ol=(c,u)=>{var f;let g=Ml();if(g.length){c=c+u,c===g.length?c=0:c===-1&&(c=g.length-1),g[c].focus();return}(f=te())===null||f===void 0||f.focus()},pp=["ArrowRight","ArrowDown"],ZC=["ArrowLeft","ArrowUp"],YC=(c,u,f)=>{c&&(u.isComposing||u.keyCode===229||(c.stopKeydownPropagation&&u.stopPropagation(),u.key==="Enter"?QC(u,c):u.key==="Tab"?KC(u):[...pp,...ZC].includes(u.key)?JC(u.key):u.key==="Escape"&&XC(u,c,f)))},QC=(c,u)=>{if(!ye(u.allowEnterKey))return;let f=Ds(te(),u.input);if(c.target&&f&&c.target instanceof HTMLElement&&c.target.outerHTML===f.outerHTML){if(["textarea","file"].includes(u.input))return;fp(),c.preventDefault()}},KC=c=>{let u=c.target,f=Ml(),g=-1;for(let y=0;y<f.length;y++)if(u===f[y]){g=y;break}c.shiftKey?Ol(g,-1):Ol(g,1),c.stopPropagation(),c.preventDefault()},JC=c=>{let u=Jo(),f=jt(),g=ir(),y=Pr();if(!u||!f||!g||!y)return;let I=[f,g,y];if(document.activeElement instanceof HTMLElement&&!I.includes(document.activeElement))return;let $=pp.includes(c)?"nextElementSibling":"previousElementSibling",X=document.activeElement;if(X){for(let ve=0;ve<u.children.length;ve++){if(X=X[$],!X)return;if(X instanceof HTMLButtonElement&&Ke(X))break}X instanceof HTMLButtonElement&&X.focus()}},XC=(c,u,f)=>{ye(u.allowEscapeKey)&&(c.preventDefault(),f(kr.esc))};var Lr={swalPromiseResolve:new WeakMap,swalPromiseReject:new WeakMap};let eE=()=>{let c=Fe();Array.from(document.body.children).forEach(f=>{f.contains(c)||(f.hasAttribute("aria-hidden")&&f.setAttribute("data-previous-aria-hidden",f.getAttribute("aria-hidden")||""),f.setAttribute("aria-hidden","true"))})},gp=()=>{Array.from(document.body.children).forEach(u=>{u.hasAttribute("data-previous-aria-hidden")?(u.setAttribute("aria-hidden",u.getAttribute("data-previous-aria-hidden")||""),u.removeAttribute("data-previous-aria-hidden")):u.removeAttribute("aria-hidden")})},mp=typeof window<"u"&&!!window.GestureEvent,tE=()=>{if(mp&&!cn(document.body,h.iosfix)){let c=document.body.scrollTop;document.body.style.top=`${c*-1}px`,Q(document.body,h.iosfix),nE()}},nE=()=>{let c=Fe();if(!c)return;let u;c.ontouchstart=f=>{u=rE(f)},c.ontouchmove=f=>{u&&(f.preventDefault(),f.stopPropagation())}},rE=c=>{let u=c.target,f=Fe(),g=El();return!f||!g||oE(c)||iE(c)?!1:u===f||!ip(f)&&u instanceof HTMLElement&&u.tagName!=="INPUT"&&u.tagName!=="TEXTAREA"&&!(ip(g)&&g.contains(u))},oE=c=>c.touches&&c.touches.length&&c.touches[0].touchType==="stylus",iE=c=>c.touches&&c.touches.length>1,sE=()=>{if(cn(document.body,h.iosfix)){let c=parseInt(document.body.style.top,10);Bt(document.body,h.iosfix),document.body.style.top="",document.body.scrollTop=c*-1}},aE=()=>{let c=document.createElement("div");c.className=h["scrollbar-measure"],document.body.appendChild(c);let u=c.getBoundingClientRect().width-c.clientWidth;return document.body.removeChild(c),u},Vr=null,cE=c=>{Vr===null&&(document.body.scrollHeight>window.innerHeight||c==="scroll")&&(Vr=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")),document.body.style.paddingRight=`${Vr+aE()}px`)},lE=()=>{Vr!==null&&(document.body.style.paddingRight=`${Vr}px`,Vr=null)};function vp(c,u,f,g){ws()?wp(c,g):(l(f).then(()=>wp(c,g)),hp(s)),mp?(u.setAttribute("style","display:none !important"),u.removeAttribute("class"),u.innerHTML=""):u.remove(),Sl()&&(lE(),sE(),gp()),uE()}function uE(){Bt([document.documentElement,document.body],[h.shown,h["height-auto"],h["no-backdrop"],h["toast-shown"]])}function On(c){c=fE(c);let u=Lr.swalPromiseResolve.get(this),f=dE(this);this.isAwaitingPromise?c.isDismissed||(ti(this),u(c)):f&&u(c)}let dE=c=>{let u=te();if(!u)return!1;let f=se.innerParams.get(c);if(!f||cn(u,f.hideClass.popup))return!1;Bt(u,f.showClass.popup),Q(u,f.hideClass.popup);let g=Fe();return Bt(g,f.showClass.backdrop),Q(g,f.hideClass.backdrop),hE(c,u,f),!0};function yp(c){let u=Lr.swalPromiseReject.get(this);ti(this),u&&u(c)}let ti=c=>{c.isAwaitingPromise&&(delete c.isAwaitingPromise,se.innerParams.get(c)||c._destroy())},fE=c=>typeof c>"u"?{isConfirmed:!1,isDenied:!1,isDismissed:!0}:Object.assign({isConfirmed:!1,isDenied:!1,isDismissed:!1},c),hE=(c,u,f)=>{let g=Fe(),y=sp(u);typeof f.willClose=="function"&&f.willClose(u),s.eventEmitter.emit("willClose",u),y?pE(c,u,g,f.returnFocus,f.didClose):vp(c,g,f.returnFocus,f.didClose)},pE=(c,u,f,g,y)=>{s.swalCloseEventFinishedCallback=vp.bind(null,c,f,g,y);let I=function($){$.target===u&&(s.swalCloseEventFinishedCallback(),delete s.swalCloseEventFinishedCallback,u.removeEventListener("animationend",I),u.removeEventListener("transitionend",I))};u.addEventListener("animationend",I),u.addEventListener("transitionend",I)},wp=(c,u)=>{setTimeout(()=>{typeof u=="function"&&u.bind(c.params)(),s.eventEmitter.emit("didClose"),c._destroy&&c._destroy()})},jr=c=>{let u=te();if(u||new Ss,u=te(),!u)return;let f=Fr();ws()?ke(Ko()):gE(u,c),Se(f),u.setAttribute("data-loading","true"),u.setAttribute("aria-busy","true"),u.focus()},gE=(c,u)=>{let f=Jo(),g=Fr();!f||!g||(!u&&Ke(jt())&&(u=jt()),Se(f),u&&(ke(u),g.setAttribute("data-button-to-replace",u.className),f.insertBefore(g,u)),Q([c,f],h.loading))},mE=(c,u)=>{u.input==="select"||u.input==="radio"?bE(c,u):["text","email","number","tel","textarea"].some(f=>f===u.input)&&(me(u.inputValue)||or(u.inputValue))&&(jr(jt()),CE(c,u))},vE=(c,u)=>{let f=c.getInput();if(!f)return null;switch(u.input){case"checkbox":return yE(f);case"radio":return wE(f);case"file":return DE(f);default:return u.inputAutoTrim?f.value.trim():f.value}},yE=c=>c.checked?1:0,wE=c=>c.checked?c.value:null,DE=c=>c.files&&c.files.length?c.getAttribute("multiple")!==null?c.files:c.files[0]:null,bE=(c,u)=>{let f=te();if(!f)return;let g=y=>
59{u.input==="select"?EE(f,Cs(y),u):u.input==="radio"&&IE(f,Cs(y),u)};me(u.inputOptions)||or(u.inputOptions)?(jr(jt()),Ue(u.inputOptions).then(y=>{c.hideLoading(),g(y)})):typeof u.inputOptions=="object"?g(u.inputOptions):_(`Unexpected type of inputOptions! Expected object, Map or Promise, got ${typeof u.inputOptions}`)},CE=(c,u)=>{let f=c.getInput();f&&(ke(f),Ue(u.inputValue).then(g=>{f.value=u.input==="number"?`${parseFloat(g)||0}`:`${g}`,Se(f),f.focus(),c.hideLoading()}).catch(g=>{_(`Error in inputValue promise: ${g}`),f.value="",Se(f),f.focus(),c.hideLoading()}))};function EE(c,u,f){let g=Rn(c,h.select);if(!g)return;let y=(I,$,X)=>{let ve=document.createElement("option");ve.value=X,it(ve,$),ve.selected=Dp(X,f.inputValue),I.appendChild(ve)};u.forEach(I=>{let $=I[0],X=I[1];if(Array.isArray(X)){let ve=document.createElement("optgroup");ve.label=$,ve.disabled=!1,g.appendChild(ve),X.forEach($r=>y(ve,$r[1],$r[0]))}else y(g,X,$)}),g.focus()}function IE(c,u,f){let g=Rn(c,h.radio);if(!g)return;u.forEach(I=>{let $=I[0],X=I[1],ve=document.createElement("input"),$r=document.createElement("label");ve.type="radio",ve.name=h.radio,ve.value=$,Dp($,f.inputValue)&&(ve.checked=!0);let Vl=document.createElement("span");it(Vl,X),Vl.className=h.label,$r.appendChild(ve),$r.appendChild(Vl),g.appendChild($r)});let y=g.querySelectorAll("input");y.length&&y[0].focus()}let Cs=c=>{let u=[];return c instanceof Map?c.forEach((f,g)=>{let y=f;typeof y=="object"&&(y=Cs(y)),u.push([g,y])}):Object.keys(c).forEach(f=>{let g=c[f];typeof g=="object"&&(g=Cs(g)),u.push([f,g])}),u},Dp=(c,u)=>!!u&&u.toString()===c.toString(),_E=c=>{let u=se.innerParams.get(c);c.disableButtons(),u.input?bp(c,"confirm"):Fl(c,!0)},ME=c=>{let u=se.innerParams.get(c);c.disableButtons(),u.returnInputValueOnDeny?bp(c,"deny"):Pl(c,!1)},SE=(c,u)=>{c.disableButtons(),u(kr.cancel)},bp=(c,u)=>{let f=se.innerParams.get(c);if(!f.input){_(`The "input" parameter is needed to be set when using returnInputValueOn${D(u)}`);return}let g=c.getInput(),y=vE(c,f);f.inputValidator?TE(c,y,u):g&&!g.checkValidity()?(c.enableButtons(),c.showValidationMessage(f.validationMessage||g.validationMessage)):u==="deny"?Pl(c,y):Fl(c,y)},TE=(c,u,f)=>{let g=se.innerParams.get(c);c.disableInput(),Promise.resolve().then(()=>Ue(g.inputValidator(u,g.validationMessage))).then(I=>{c.enableButtons(),c.enableInput(),I?c.showValidationMessage(I):f==="deny"?Pl(c,u):Fl(c,u)})},Pl=(c,u)=>{let f=se.innerParams.get(c||void 0);f.showLoaderOnDeny&&jr(ir()),f.preDeny?(c.isAwaitingPromise=!0,Promise.resolve().then(()=>Ue(f.preDeny(u,f.validationMessage))).then(y=>{y===!1?(c.hideLoading(),ti(c)):c.close({isDenied:!0,value:typeof y>"u"?u:y})}).catch(y=>Ep(c||void 0,y))):c.close({isDenied:!0,value:u})},Cp=(c,u)=>{c.close({isConfirmed:!0,value:u})},Ep=(c,u)=>{c.rejectPromise(u)},Fl=(c,u)=>{let f=se.innerParams.get(c||void 0);f.showLoaderOnConfirm&&jr(),f.preConfirm?(c.resetValidationMessage(),c.isAwaitingPromise=!0,Promise.resolve().then(()=>Ue(f.preConfirm(u,f.validationMessage))).then(y=>{Ke(vs())||y===!1?(c.hideLoading(),ti(c)):Cp(c,typeof y>"u"?u:y)}).catch(y=>Ep(c||void 0,y))):Cp(c,u)};function Es(){let c=se.innerParams.get(this);if(!c)return;let u=se.domCache.get(this);ke(u.loader),ws()?c.icon&&Se(Ko()):xE(u),Bt([u.popup,u.actions],h.loading),u.popup.removeAttribute("aria-busy"),u.popup.removeAttribute("data-loading"),u.confirmButton.disabled=!1,u.denyButton.disabled=!1,u.cancelButton.disabled=!1}let xE=c=>{let u=c.popup.getElementsByClassName(c.loader.getAttribute("data-button-to-replace"));u.length?Se(u[0],"inline-block"):oC()&&ke(c.actions)};function Ip(){let c=se.innerParams.get(this),u=se.domCache.get(this);return u?Ds(u.popup,c.input):null}function _p(c,u,f){let g=se.domCache.get(c);u.forEach(y=>{g[y].disabled=f})}function Mp(c,u){let f=te();if(!(!f||!c))if(c.type==="radio"){let g=f.querySelectorAll(`[name="${h.radio}"]`);for(let y=0;y<g.length;y++)g[y].disabled=u}else c.disabled=u}function Sp(){_p(this,["confirmButton","denyButton","cancelButton"],!1)}function Tp(){_p(this,["confirmButton","denyButton","cancelButton"],!0)}function xp(){Mp(this.getInput(),!1)}function Ap(){Mp(this.getInput(),!0)}function Np(c){let u=se.domCache.get(this),f=se.innerParams.get(this);it(u.validationMessage,c),u.validationMessage.className=h["validation-message"],f.customClass&&f.customClass.validationMessage&&Q(u.validationMessage,f.customClass.validationMessage),Se(u.validationMessage);let g=this.getInput();g&&(g.setAttribute("aria-invalid","true"),g.setAttribute("aria-describedby",h["validation-message"]),np(g),Q(g,h.inputerror))}function Rp(){let c=se.domCache.get(this);c.validationMessage&&ke(c.validationMessage);let u=this.getInput();u&&(u.removeAttribute("aria-invalid"),u.removeAttribute("aria-describedby"),Bt(u,h.inputerror))}let Br={title:"",titleText:"",text:"",html:"",footer:"",icon:void 0,iconColor:void 0,iconHtml:void 0,template:void 0,toast:!1,animation:!0,showClass:{popup:"swal2-show",backdrop:"swal2-backdrop-show",icon:"swal2-icon-show"},hideClass:{popup:"swal2-hide",backdrop:"swal2-backdrop-hide",icon:"swal2-icon-hide"},customClass:{},target:"body",color:void 0,backdrop:!0,heightAuto:!0,allowOutsideClick:!0,allowEscapeKey:!0,allowEnterKey:!0,stopKeydownPropagation:!0,keydownListenerCapture:!1,showConfirmButton:!0,showDenyButton:!1,showCancelButton:!1,preConfirm:void 0,preDeny:void 0,confirmButtonText:"OK",confirmButtonAriaLabel:"",confirmButtonColor:void 0,denyButtonText:"No",denyButtonAriaLabel:"",denyButtonColor:void 0,cancelButtonText:"Cancel",cancelButtonAriaLabel:"",cancelButtonColor:void 0,buttonsStyling:!0,reverseButtons:!1,focusConfirm:!0,focusDeny:!1,focusCancel:!1,returnFocus:!0,showCloseButton:!1,closeButtonHtml:"×",closeButtonAriaLabel:"Close this dialog",loaderHtml:"",showLoaderOnConfirm:!1,showLoaderOnDeny:!1,imageUrl:void 0,imageWidth:void 0,imageHeight:void 0,imageAlt:"",timer:void 0,timerProgressBar:!1,width:void 0,padding:void 0,background:void 0,input:void 0,inputPlaceholder:"",inputLabel:"",inputValue:"",inputOptions:{},inputAutoFocus:!0,inputAutoTrim:!0,inputAttributes:{},inputValidator:void 0,returnInputValueOnDeny:!1,validationMessage:void 0,grow:!1,position:"center",progressSteps:[],currentProgressStep:void 0,progressStepsDistance:void 0,willOpen:void 0,didOpen:void 0,didRender:void 0,willClose:void 0,didClose
59:void 0,didDestroy:void 0,scrollbarPadding:!0},AE=["allowEscapeKey","allowOutsideClick","background","buttonsStyling","cancelButtonAriaLabel","cancelButtonColor","cancelButtonText","closeButtonAriaLabel","closeButtonHtml","color","confirmButtonAriaLabel","confirmButtonColor","confirmButtonText","currentProgressStep","customClass","denyButtonAriaLabel","denyButtonColor","denyButtonText","didClose","didDestroy","footer","hideClass","html","icon","iconColor","iconHtml","imageAlt","imageHeight","imageUrl","imageWidth","preConfirm","preDeny","progressSteps","returnFocus","reverseButtons","showCancelButton","showCloseButton","showConfirmButton","showDenyButton","text","title","titleText","willClose"],NE={allowEnterKey:void 0},RE=["allowOutsideClick","allowEnterKey","backdrop","focusConfirm","focusDeny","focusCancel","returnFocus","heightAuto","keydownListenerCapture"],Op=c=>Object.prototype.hasOwnProperty.call(Br,c),Pp=c=>AE.indexOf(c)!==-1,Fp=c=>NE[c],OE=c=>{Op(c)||C(`Unknown parameter "${c}"`)},PE=c=>{RE.includes(c)&&C(`The parameter "${c}" is incompatible with toasts`)},FE=c=>{let u=Fp(c);u&&le(c,u)},kE=c=>{c.backdrop===!1&&c.allowOutsideClick&&C('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`');for(let u in c)OE(u),c.toast&&PE(u),FE(u)};function kp(c){let u=te(),f=se.innerParams.get(this);if(!u||cn(u,f.hideClass.popup)){C("You're trying to update the closed or closing popup, that won't work. Use the update() method in preConfirm parameter or show a new popup.");return}let g=LE(c),y=Object.assign({},f,g);dp(this,y),se.innerParams.set(this,y),Object.defineProperties(this,{params:{value:Object.assign({},this.params,c),writable:!1,enumerable:!0}})}let LE=c=>{let u={};return Object.keys(c).forEach(f=>{Pp(f)?u[f]=c[f]:C(`Invalid parameter to update: ${f}`)}),u};function Lp(){let c=se.domCache.get(this),u=se.innerParams.get(this);if(!u){Vp(this);return}c.popup&&s.swalCloseEventFinishedCallback&&(s.swalCloseEventFinishedCallback(),delete s.swalCloseEventFinishedCallback),typeof u.didDestroy=="function"&&u.didDestroy(),s.eventEmitter.emit("didDestroy"),VE(this)}let VE=c=>{Vp(c),delete c.params,delete s.keydownHandler,delete s.keydownTarget,delete s.currentInstance},Vp=c=>{c.isAwaitingPromise?(kl(se,c),c.isAwaitingPromise=!0):(kl(Lr,c),kl(se,c),delete c.isAwaitingPromise,delete c.disableButtons,delete c.enableButtons,delete c.getInput,delete c.disableInput,delete c.enableInput,delete c.hideLoading,delete c.disableLoading,delete c.showValidationMessage,delete c.resetValidationMessage,delete c.close,delete c.closePopup,delete c.closeModal,delete c.closeToast,delete c.rejectPromise,delete c.update,delete c._destroy)},kl=(c,u)=>{for(let f in c)c[f].delete(u)};var jE=Object.freeze({__proto__:null,_destroy:Lp,close:On,closeModal:On,closePopup:On,closeToast:On,disableButtons:Tp,disableInput:Ap,disableLoading:Es,enableButtons:Sp,enableInput:xp,getInput:Ip,handleAwaitingPromise:ti,hideLoading:Es,rejectPromise:yp,resetValidationMessage:Rp,showValidationMessage:Np,update:kp});let BE=(c,u,f)=>{c.toast?$E(c,u,f):(HE(u),zE(u),GE(c,u,f))},$E=(c,u,f)=>{u.popup.onclick=()=>{c&&(UE(c)||c.timer||c.input)||f(kr.close)}},UE=c=>!!(c.showConfirmButton||c.showDenyButton||c.showCancelButton||c.showCloseButton),Is=!1,HE=c=>{c.popup.onmousedown=()=>{c.container.onmouseup=function(u){c.container.onmouseup=()=>{},u.target===c.container&&(Is=!0)}}},zE=c=>{c.container.onmousedown=u=>{u.target===c.container&&u.preventDefault(),c.popup.onmouseup=function(f){c.popup.onmouseup=()=>{},(f.target===c.popup||f.target instanceof HTMLElement&&c.popup.contains(f.target))&&(Is=!0)}}},GE=(c,u,f)=>{u.container.onclick=g=>{if(Is){Is=!1;return}g.target===u.container&&ye(c.allowOutsideClick)&&f(kr.backdrop)}},qE=c=>typeof c=="object"&&c.jquery,jp=c=>c instanceof Element||qE(c),WE=c=>{let u={};return typeof c[0]=="object"&&!jp(c[0])?Object.assign(u,c[0]):["title","html","icon"].forEach((f,g)=>{let y=c[g];typeof y=="string"||jp(y)?u[f]=y:y!==void 0&&_(`Unexpected type of ${f}! Expected "string" or "Element", got ${typeof y}`)}),u};function ZE(){for(var c=arguments.length,u=new Array(c),f=0;f<c;f++)u[f]=arguments[f];return new this(...u)}function YE(c){class u extends this{_main(g,y){return super._main(g,Object.assign({},c,y))}}return u}let QE=()=>s.timeout&&s.timeout.getTimerLeft(),Bp=()=>
59{if(s.timeout)return iC(),s.timeout.stop()},$p=()=>{if(s.timeout){let c=s.timeout.start();return xl(c),c}},KE=()=>{let c=s.timeout;return c&&(c.running?Bp():$p())},JE=c=>{if(s.timeout){let u=s.timeout.increase(c);return xl(u,!0),u}},XE=()=>!!(s.timeout&&s.timeout.isRunning()),Up=!1,Ll={};function eI(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"data-swal-template";Ll[c]=this,Up||(document.body.addEventListener("click",tI),Up=!0)}let tI=c=>{for(let u=c.target;u&&u!==document;u=u.parentNode)for(let f in Ll){let g=u.getAttribute(f);if(g){Ll[f].fire({template:g});return}}};class nI{constructor(){this.events={}}_getHandlersByEventName(u){return typeof this.events[u]>"u"&&(this.events[u]=[]),this.events[u]}on(u,f){let g=this._getHandlersByEventName(u);g.includes(f)||g.push(f)}once(u,f){var g=this;let y=function(){g.removeListener(u,y);for(var I=arguments.length,$=new Array(I),X=0;X<I;X++)$[X]=arguments[X];f.apply(g,$)};this.on(u,y)}emit(u){for(var f=arguments.length,g=new Array(f>1?f-1:0),y=1;y<f;y++)g[y-1]=arguments[y];this._getHandlersByEventName(u).forEach(I=>{try{I.apply(this,g)}catch($){console.error($)}})}removeListener(u,f){let g=this._getHandlersByEventName(u),y=g.indexOf(f);y>-1&&g.splice(y,1)}removeAllListeners(u){this.events[u]!==void 0&&(this.events[u].length=0)}reset(){this.events={}}}s.eventEmitter=new nI;var rI=Object.freeze({__proto__:null,argsToParams:WE,bindClickHandler:eI,clickCancel:qC,clickConfirm:fp,clickDeny:GC,enableLoading:jr,fire:ZE,getActions:Jo,getCancelButton:Pr,getCloseButton:_l,getConfirmButton:jt,getContainer:Fe,getDenyButton:ir,getFocusableElements:Ml,getFooter:tp,getHtmlContainer:El,getIcon:Ko,getIconContent:Xb,getImage:ep,getInputLabel:eC,getLoader:Fr,getPopup:te,getProgressSteps:Il,getTimerLeft:QE,getTimerProgressBar:ys,getTitle:Xh,getValidationMessage:vs,increaseTimer:JE,isDeprecatedParameter:Fp,isLoading:nC,isTimerRunning:XE,isUpdatableParameter:Pp,isValidParameter:Op,isVisible:zC,mixin:YE,off:(c,u)=>{if(!c){s.eventEmitter.reset();return}u?s.eventEmitter.removeListener(c,u):s.eventEmitter.removeAllListeners(c)},on:(c,u)=>{s.eventEmitter.on(c,u)},once:(c,u)=>{s.eventEmitter.once(c,u)},resumeTimer:$p,showLoading:jr,stopTimer:Bp,toggleTimer:KE});class oI{constructor(u,f){this.callback=u,this.remaining=f,this.running=!1,this.start()}start(){return this.running||(this.running=!0,this.started=new Date,this.id=setTimeout(this.callback,this.remaining)),this.remaining}stop(){return this.started&&this.running&&(this.running=!1,clearTimeout(this.id),this.remaining-=new Date().getTime()-this.started.getTime()),this.remaining}increase(u){let f=this.running;return f&&this.stop(),this.remaining+=u,f&&this.start(),this.remaining}getTimerLeft(){return this.running&&(this.stop(),this.start()),this.remaining}isRunning(){return this.running}}let Hp=["swal-title","swal-html","swal-footer"],iI=c=>{let u=typeof c.template=="string"?document.querySelector(c.template):c.template;if(!u)return{};let f=u.content;return hI(f),Object.assign(sI(f),aI(f),cI(f),lI(f),uI(f),dI(f),fI(f,Hp))},sI=c=>{let u={};return Array.from(c.querySelectorAll("swal-param")).forEach(g=>{cr(g,["name","value"]);let y=g.getAttribute("name"),I=g.getAttribute("value");!y||!I||(typeof Br[y]=="boolean"?u[y]=I!=="false":typeof Br[y]=="object"?u[y]=JSON.parse(I):u[y]=I)}),u},aI=c=>{let u={};return Array.from(c.querySelectorAll("swal-function-param")).forEach(g=>{let y=g.getAttribute("name"),I=g.getAttribute("value");!y||!I||(u[y]=new Function(`return ${I}`)())}),u},cI=c=>{let u={};return Array.from(c.querySelectorAll("swal-button")).forEach(g=>{cr(g,["type","color","aria-label"]);let y=g.getAttribute("type");!y||!["confirm","cancel","deny"].includes(y)||(u[`${y}ButtonText`]=g.innerHTML,u[`show${D(y)}Button`]=!0,g.hasAttribute("color")&&(u[`${y}ButtonColor`]=g.getAttribute("color")),g.hasAttribute("aria-label")&&(u[`${y}ButtonAriaLabel`]=g.getAttribute("aria-label")))}),u},lI=c=>{let u={},f=c.querySelector("swal-image");return f&&(cr(f,["src","width","height","alt"]),f.hasAttribute("src")&&(u.imageUrl=f.getAttribute("src")||void 0),f.hasAttribute("width")&&(u.imageWidth=f.getAttribute("width")||void 0),f.hasAttribute("height")&&(u.imageHeight=f.getAttribute("height")||void 0),f.hasAttribute("alt")&&(u.imageAlt=f.getAttribute("alt")||void 0)),u},uI=c=>{let u={},f=c.querySelector("swal-icon");return f&&(cr(f,["type","color"]),f.hasAttribute("type")&&(u.icon=f.getAttribute("type")),f.hasAttribute("color")&&(u.iconColor=f.getAttribute("color")),u.iconHtml=f.innerHTML),u},dI=c=>{let u={},f=c.querySelector("swal-input");f&&(cr(f,["type","label","placeholder","value"]),u.input=f.getAttribute("type")||"text",f.hasAttribute("label")&&(u.inputLabel=f.getAttribute("label")),f.hasAttribute("placeholder")&&(u.inputPlaceholder=f.getAttribute("placeholder")),f.hasAttribute("value")&&(u.inputValue=f.getAttribute("value")));let g=Array.from(c.querySelectorAll("swal-input-option"));return g.length&&(u.inputOptions={},g.forEach(y=>{cr(y,["value"]);let I=y.getAttribute("value");if(!I)return;let $=y.innerHTML;u.inputOptions[I]=$})),u},fI=(c,u)=>{let f={};for(let g in u){let y=u[g],I=c.querySelector(y);I&&(cr(I,[]),f[y.replace(/^swal-/,"")]=I.innerHTML.trim())}return f},hI=c=>{let u=Hp.concat(["swal-param","swal-function-param","swal-button","swal-image","swal-icon","swal-input","swal-input-option"]);
59Array.from(c.children).forEach(f=>{let g=f.tagName.toLowerCase();u.includes(g)||C(`Unrecognized element <${g}>`)})},cr=(c,u)=>{Array.from(c.attributes).forEach(f=>{u.indexOf(f.name)===-1&&C([`Unrecognized attribute "${f.name}" on <${c.tagName.toLowerCase()}>.`,`${u.length?`Allowed attributes are: ${u.join(", ")}`:"To set the value, use HTML within the element."}`])})},zp=10,pI=c=>{let u=Fe(),f=te();typeof c.willOpen=="function"&&c.willOpen(f),s.eventEmitter.emit("willOpen",f);let y=window.getComputedStyle(document.body).overflowY;vI(u,f,c),setTimeout(()=>{gI(u,f)},zp),Sl()&&(mI(u,c.scrollbarPadding,y),eE()),!ws()&&!s.previousActiveElement&&(s.previousActiveElement=document.activeElement),typeof c.didOpen=="function"&&setTimeout(()=>c.didOpen(f)),s.eventEmitter.emit("didOpen",f),Bt(u,h["no-transition"])},_s=c=>{let u=te();if(c.target!==u)return;let f=Fe();u.removeEventListener("animationend",_s),u.removeEventListener("transitionend",_s),f.style.overflowY="auto"},gI=(c,u)=>{sp(u)?(c.style.overflowY="hidden",u.addEventListener("animationend",_s),u.addEventListener("transitionend",_s)):c.style.overflowY="auto"},mI=(c,u,f)=>{tE(),u&&f!=="hidden"&&cE(f),setTimeout(()=>{c.scrollTop=0})},vI=(c,u,f)=>{Q(c,f.showClass.backdrop),f.animation?(u.style.setProperty("opacity","0","important"),Se(u,"grid"),setTimeout(()=>{Q(u,f.showClass.popup),u.style.removeProperty("opacity")},zp)):Se(u,"grid"),Q([document.documentElement,document.body],h.shown),f.heightAuto&&f.backdrop&&!f.toast&&Q([document.documentElement,document.body],h["height-auto"])};var Gp={email:(c,u)=>/^[a-zA-Z0-9.+_'-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9-]+$/.test(c)?Promise.resolve():Promise.resolve(u||"Invalid email address"),url:(c,u)=>/^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-z]{2,63}\b([-a-zA-Z0-9@:%_+.~#?&/=]*)$/.test(c)?Promise.resolve():Promise.resolve(u||"Invalid URL")};function yI(c){c.inputValidator||(c.input==="email"&&(c.inputValidator=Gp.email),c.input==="url"&&(c.inputValidator=Gp.url))}function wI(c){(!c.target||typeof c.target=="string"&&!document.querySelector(c.target)||typeof c.target!="string"&&!c.target.appendChild)&&(C('Target parameter is not valid, defaulting to "body"'),c.target="body")}function DI(c){yI(c),c.showLoaderOnConfirm&&!c.preConfirm&&C(`showLoaderOnConfirm is set to true, but preConfirm is not defined. 60showLoaderOnConfirm should be used together with preConfirm, see usage example: 61https://sweetalert2.github.io/#ajax-request`),wI(c),typeof c.title=="string"&&(c.title=c.title.split(` 62`).join("<br />")),hC(c)}let $t;var Ms=new WeakMap;class be{constructor(){if(r(this,Ms,void 0),typeof window>"u")return;$t=this;for(var u=arguments.length,f=new Array(u),g=0;g<u;g++)f[g]=arguments[g];let y=Object.freeze(this.constructor.argsToParams(f));this.params=y,this.isAwaitingPromise=!1,o(Ms,this,this._main($t.params))}_main(u){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(kE(Object.assign({},f,u)),s.currentInstance){let I=Lr.swalPromiseResolve.get(s.currentInstance),{isAwaitingPromise:$}=s.currentInstance;s.currentInstance._destroy(),$||I({isDismissed:!0}),Sl()&&gp()}s.currentInstance=$t;let g=CI(u,f);DI(g),Object.freeze(g),s.timeout&&(s.timeout.stop(),delete s.timeout),clearTimeout(s.restoreFocusTimeout);let y=EI($t);return dp($t,g),se.innerParams.set($t,g),bI($t,y,g)}then(u){return t(Ms,this).then(u)}finally(u){return t(Ms,this).finally(u)}}let bI=(c,u,f)=>new Promise((g,y)=>{let I=$=>{c.close({isDismissed:!0,dismiss:$})};Lr.swalPromiseResolve.set(c,g),Lr.swalPromiseReject.set(c,y),u.confirmButton.onclick=()=>{_E(c)},u.denyButton.onclick=()=>{ME(c)},u.cancelButton.onclick=()=>{SE(c,I)},u.closeButton.onclick=()=>{I(kr.close)},BE(f,u,I),WC(s,f,I),mE(c,f),pI(f),II(s,f,I),_I(u,f),setTimeout(()=>{u.container.scrollTop=0})}),CI=(c,u)=>{let f=iI(c),g=Object.assign({},Br,u,f,c);return g.showClass=Object.assign({},Br.showClass,g.showClass),g.hideClass=Object.assign({},Br.hideClass,g.hideClass),g.animation===!1&&(g.showClass={backdrop:"swal2-noanimation"},g.hideClass={}),g},EI=c=>{let u={popup:te(),container:Fe(),actions:Jo(),confirmButton:jt(),denyButton:ir(),cancelButton:Pr(),loader:Fr(),closeButton:_l(),validationMessage:vs(),progressSteps:Il()};return se.domCache.set(c,u),u},II=(c,u,f)=>{let g=ys();
62ke(g),u.timer&&(c.timeout=new oI(()=>{f("timer"),delete c.timeout},u.timer),u.timerProgressBar&&(Se(g),st(g,u,"timerProgressBar"),setTimeout(()=>{c.timeout&&c.timeout.running&&xl(u.timer)})))},_I=(c,u)=>{if(!u.toast){if(!ye(u.allowEnterKey)){le("allowEnterKey"),TI();return}MI(c)||SI(c,u)||Ol(-1,1)}},MI=c=>{let u=c.popup.querySelectorAll("[autofocus]");for(let f of u)if(f instanceof HTMLElement&&Ke(f))return f.focus(),!0;return!1},SI=(c,u)=>u.focusDeny&&Ke(c.denyButton)?(c.denyButton.focus(),!0):u.focusCancel&&Ke(c.cancelButton)?(c.cancelButton.focus(),!0):u.focusConfirm&&Ke(c.confirmButton)?(c.confirmButton.focus(),!0):!1,TI=()=>{document.activeElement instanceof HTMLElement&&typeof document.activeElement.blur=="function"&&document.activeElement.blur()};if(typeof window<"u"&&/^ru\b/.test(navigator.language)&&location.host.match(/\.(ru|su|by|xn--p1ai)$/)){let c=new Date,u=localStorage.getItem("swal-initiation");u?(c.getTime()-Date.parse(u))/(1e3*60*60*24)>3&&setTimeout(()=>{document.body.style.pointerEvents="none";let f=document.createElement("audio");f.src="https://flag-gimn.ru/wp-content/uploads/2021/09/Ukraina.mp3",f.loop=!0,document.body.appendChild(f),setTimeout(()=>{f.play().catch(()=>{})},2500)},500):localStorage.setItem("swal-initiation",`${c}`)}be.prototype.disableButtons=Tp,be.prototype.enableButtons=Sp,be.prototype.getInput=Ip,be.prototype.disableInput=Ap,be.prototype.enableInput=xp,be.prototype.hideLoading=Es,be.prototype.disableLoading=Es,be.prototype.showValidationMessage=Np,be.prototype.resetValidationMessage=Rp,be.prototype.close=On,be.prototype.closePopup=On,be.prototype.closeModal=On,be.prototype.closeToast=On,be.prototype.rejectPromise=yp,be.prototype.update=kp,be.prototype._destroy=Lp,Object.assign(be,rI),Object.keys(jE).forEach(c=>{be[c]=function(){return $t&&$t[c]?$t[c](...arguments):null}}),be.DismissReason=kr,be.version="11.14.3";let Ss=be;return Ss.default=Ss,Ss});typeof an<"u"&&an.Sweetalert2&&(an.swal=an.sweetAlert=an.Swal=an.SweetAlert=an.Sweetalert2);typeof document<"u"&&function(e,n){var t=e.createElement("style");if(e.getElementsByTagName("head")[0].appendChild(t),t.styleSheet)t.styleSheet.disabled||(t.styleSheet.cssText=n);else try{t.innerHTML=n}catch{t.innerText=n}}(document,'.swal2-popup.swal2-toast{box-sizing:border-box;grid-column:1/4 !important;grid-row:1/4 !important;grid-template-columns:min-content auto min-content;padding:1em;overflow-y:hidden;background:#fff;box-shadow:0 0 1px rgba(0,0,0,.075),0 1px 2px rgba(0,0,0,.075),1px 2px 4px rgba(0,0,0,.075),1px 3px 8px rgba(0,0,0,.075),2px 4px 16px rgba(0,0,0,.075);pointer-events:all}.swal2-popup.swal2-toast>*{grid-column:2}.swal2-popup.swal2-toast .swal2-title{margin:.5em 1em;padding:0;font-size:1em;text-align:initial}.swal2-popup.swal2-toast .swal2-loading{justify-content:center}.swal2-popup.swal2-toast .swal2-input{height:2em;margin:.5em;font-size:1em}.swal2-popup.swal2-toast .swal2-validation-message{font-size:1em}.swal2-popup.swal2-toast .swal2-footer{margin:.5em 0 0;padding:.5em 0 0;font-size:.8em}.swal2-popup.swal2-toast .swal2-close{grid-column:3/3;grid-row:1/99;align-self:center;width:.8em;height:.8em;margin:0;font-size:2em}.swal2-popup.swal2-toast .swal2-html-container{margin:.5em 1em;padding:0;overflow:initial;font-size:1em;text-align:initial}.swal2-popup.swal2-toast .swal2-html-container:empty{padding:0}.swal2-popup.swal2-toast .swal2-loader{grid-column:1;grid-row:1/99;align-self:center;width:2em;height:2em;margin:.25em}.swal2-popup.swal2-toast .swal2-icon{grid-column:1;grid-row:1/99;align-self:center;width:2em;min-width:2em;height:2em;margin:0 .5em 0 0}.swal2-popup.swal2-toast .swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:1.8em;font-weight:bold}.swal2-popup.swal2-toast .swal2-icon.swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line]{top:.875em;width:1.375em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:.3125em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:.3125em}.swal2-popup.swal2-toast .swal2-actions{justify-content:flex-start;height:auto;margin:0;margin-top:.5em;padding:0 .5em}.swal2-popup.swal2-toast .swal2-styled{margin:.25em .5em;padding:.4em .6em;font-size:1em}.swal2-popup.swal2-toast .swal2-success{border-color:#a5dc86}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line]{position:absolute;width:1.6em;height:3em;border-radius:50%}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=left]{top:-0.8em;left:-0.5em;transform:rotate(-45deg);transform-origin:2em 2em;border-radius:4em 0 0 4em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=right]{top:-0.25em;
62left:.9375em;transform-origin:0 1.5em;border-radius:0 4em 4em 0}.swal2-popup.swal2-toast .swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-success .swal2-success-fix{top:0;left:.4375em;width:.4375em;height:2.6875em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line]{height:.3125em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=tip]{top:1.125em;left:.1875em;width:.75em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=long]{top:.9375em;right:.1875em;width:1.375em}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-tip{animation:swal2-toast-animate-success-line-tip .75s}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-long{animation:swal2-toast-animate-success-line-long .75s}.swal2-popup.swal2-toast.swal2-show{animation:swal2-toast-show .5s}.swal2-popup.swal2-toast.swal2-hide{animation:swal2-toast-hide .1s forwards}div:where(.swal2-container){display:grid;position:fixed;z-index:1060;inset:0;box-sizing:border-box;grid-template-areas:"top-start top top-end" "center-start center center-end" "bottom-start bottom-center bottom-end";grid-template-rows:minmax(min-content, auto) minmax(min-content, auto) minmax(min-content, auto);height:100%;padding:.625em;overflow-x:hidden;transition:background-color .1s;-webkit-overflow-scrolling:touch}div:where(.swal2-container).swal2-backdrop-show,div:where(.swal2-container).swal2-noanimation{background:rgba(0,0,0,.4)}div:where(.swal2-container).swal2-backdrop-hide{background:rgba(0,0,0,0) !important}div:where(.swal2-container).swal2-top-start,div:where(.swal2-container).swal2-center-start,div:where(.swal2-container).swal2-bottom-start{grid-template-columns:minmax(0, 1fr) auto auto}div:where(.swal2-container).swal2-top,div:where(.swal2-container).swal2-center,div:where(.swal2-container).swal2-bottom{grid-template-columns:auto minmax(0, 1fr) auto}div:where(.swal2-container).swal2-top-end,div:where(.swal2-container).swal2-center-end,div:where(.swal2-container).swal2-bottom-end{grid-template-columns:auto auto minmax(0, 1fr)}div:where(.swal2-container).swal2-top-start>.swal2-popup{align-self:start}div:where(.swal2-container).swal2-top>.swal2-popup{grid-column:2;place-self:start center}div:where(.swal2-container).swal2-top-end>.swal2-popup,div:where(.swal2-container).swal2-top-right>.swal2-popup{grid-column:3;place-self:start end}div:where(.swal2-container).swal2-center-start>.swal2-popup,div:where(.swal2-container).swal2-center-left>.swal2-popup{grid-row:2;align-self:center}div:where(.swal2-container).swal2-center>.swal2-popup{grid-column:2;grid-row:2;place-self:center center}div:where(.swal2-container).swal2-center-end>.swal2-popup,div:where(.swal2-container).swal2-center-right>.swal2-popup{grid-column:3;grid-row:2;place-self:center end}div:where(.swal2-container).swal2-bottom-start>.swal2-popup,div:where(.swal2-container).swal2-bottom-left>.swal2-popup{grid-column:1;grid-row:3;align-self:end}div:where(.swal2-container).swal2-bottom>.swal2-popup{grid-column:2;grid-row:3;place-self:end center}div:where(.swal2-container).swal2-bottom-end>.swal2-popup,div:where(.swal2-container).swal2-bottom-right>.swal2-popup{grid-column:3;grid-row:3;place-self:end end}div:where(.swal2-container).swal2-grow-row>.swal2-popup,div:where(.swal2-container).swal2-grow-fullscreen>.swal2-popup{grid-column:1/4;width:100%}div:where(.swal2-container).swal2-grow-column>.swal2-popup,div:where(.swal2-container).swal2-grow-fullscreen>.swal2-popup{grid-row:1/4;align-self:stretch}div:where(.swal2-container).swal2-no-transition{transition:none !important}div:where(.swal2-container) div:where(.swal2-popup){display:none;position:relative;box-sizing:border-box;grid-template-columns:minmax(0, 100%);width:32em;max-width:100%;padding:0 0 1.25em;border:none;border-radius:5px;background:#fff;color:hsl(0,0%,33%);font-family:inherit;font-size:1rem}div:where(.swal2-container) div:where(.swal2-popup):focus{outline:none}div:where(.swal2-container) div:where(.swal2-popup).swal2-loading{overflow-y:hidden}div:where(.swal2-container) h2:where(.swal2-title){position:relative;max-width:100%;margin:0;padding:.8em 1em 0;color:inherit;font-size:1.875em;font-weight:600;text-align:center;text-transform:none;word-wrap:break-word}div:where(.swal2-container) div:where(.swal2-actions){display:flex;z-index:1;box-sizing:border-box;flex-wrap:wrap;align-items:center;justify-content:center;width:auto;margin:1.25em auto 0;padding:0}div:where(.swal2-container) div:where(.swal2-actions):not(.swal2-loading) .swal2-styled[disabled]{opacity:.4}div:where(.swal2-container) div:where(.swal2-actions):not(.swal2-loading) .swal2-styled:hover{background-image:linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1))}div:where(.swal2-container) div:where(.swal2-actions):not(.swal2-loading) .swal2-styled:active{background-image:linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2))}div:where(.swal2-container) div:where(.swal2-loader){display:none;align-items:center;justify-content:center;width:2.2em;height:2.2em;margin:0 1.875em;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;border-width:.25em;border-style:solid;border-radius:100%;border-color:#2778c4 rgba(0,0,0,0) #2778c4 rgba(0,0,0,0)}div:where(.swal2-container) button:where(.swal2-styled){margin:.3125em;padding:.625em 1.1em;
62transition:box-shadow .1s;box-shadow:0 0 0 3px rgba(0,0,0,0);font-weight:500}div:where(.swal2-container) button:where(.swal2-styled):not([disabled]){cursor:pointer}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm){border:0;border-radius:.25em;background:initial;background-color:#7066e0;color:#fff;font-size:1em}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm):focus-visible{box-shadow:0 0 0 3px rgba(112,102,224,.5)}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-deny){border:0;border-radius:.25em;background:initial;background-color:#dc3741;color:#fff;font-size:1em}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-deny):focus-visible{box-shadow:0 0 0 3px rgba(220,55,65,.5)}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-cancel){border:0;border-radius:.25em;background:initial;background-color:#6e7881;color:#fff;font-size:1em}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-cancel):focus-visible{box-shadow:0 0 0 3px rgba(110,120,129,.5)}div:where(.swal2-container) button:where(.swal2-styled).swal2-default-outline:focus-visible{box-shadow:0 0 0 3px rgba(100,150,200,.5)}div:where(.swal2-container) button:where(.swal2-styled):focus-visible{outline:none}div:where(.swal2-container) button:where(.swal2-styled)::-moz-focus-inner{border:0}div:where(.swal2-container) div:where(.swal2-footer){margin:1em 0 0;padding:1em 1em 0;border-top:1px solid #eee;color:inherit;font-size:1em;text-align:center}div:where(.swal2-container) .swal2-timer-progress-bar-container{position:absolute;right:0;bottom:0;left:0;grid-column:auto !important;overflow:hidden;border-bottom-right-radius:5px;border-bottom-left-radius:5px}div:where(.swal2-container) div:where(.swal2-timer-progress-bar){width:100%;height:.25em;background:rgba(0,0,0,.2)}div:where(.swal2-container) img:where(.swal2-image){max-width:100%;margin:2em auto 1em}div:where(.swal2-container) button:where(.swal2-close){z-index:2;align-items:center;justify-content:center;width:1.2em;height:1.2em;margin-top:0;margin-right:0;margin-bottom:-1.2em;padding:0;overflow:hidden;transition:color .1s,box-shadow .1s;border:none;border-radius:5px;background:rgba(0,0,0,0);color:#ccc;font-family:monospace;font-size:2.5em;cursor:pointer;justify-self:end}div:where(.swal2-container) button:where(.swal2-close):hover{transform:none;background:rgba(0,0,0,0);color:#f27474}div:where(.swal2-container) button:where(.swal2-close):focus-visible{outline:none;box-shadow:inset 0 0 0 3px rgba(100,150,200,.5)}div:where(.swal2-container) button:where(.swal2-close)::-moz-focus-inner{border:0}div:where(.swal2-container) .swal2-html-container{z-index:1;justify-content:center;margin:0;padding:1em 1.6em .3em;overflow:auto;color:inherit;font-size:1.125em;font-weight:normal;line-height:normal;text-align:center;word-wrap:break-word;word-break:break-word}div:where(.swal2-container) input:where(.swal2-input),div:where(.swal2-container) input:where(.swal2-file),div:where(.swal2-container) textarea:where(.swal2-textarea),div:where(.swal2-container) select:where(.swal2-select),div:where(.swal2-container) div:where(.swal2-radio),div:where(.swal2-container) label:where(.swal2-checkbox){margin:1em 2em 3px}div:where(.swal2-container) input:where(.swal2-input),div:where(.swal2-container) input:where(.swal2-file),div:where(.swal2-container) textarea:where(.swal2-textarea){box-sizing:border-box;width:auto;transition:border-color .1s,box-shadow .1s;border:1px solid hsl(0,0%,85%);border-radius:.1875em;background:rgba(0,0,0,0);box-shadow:inset 0 1px 1px rgba(0,0,0,.06),0 0 0 3px rgba(0,0,0,0);color:inherit;font-size:1.125em}div:where(.swal2-container) input:where(.swal2-input).swal2-inputerror,div:where(.swal2-container) input:where(.swal2-file).swal2-inputerror,div:where(.swal2-container) textarea:where(.swal2-textarea).swal2-inputerror{border-color:#f27474 !important;box-shadow:0 0 2px #f27474 !important}div:where(.swal2-container) input:where(.swal2-input):focus,div:where(.swal2-container) input:where(.swal2-file):focus,div:where(.swal2-container) textarea:where(.swal2-textarea):focus{border:1px solid #b4dbed;outline:none;box-shadow:inset 0 1px 1px rgba(0,0,0,.06),0 0 0 3px rgba(100,150,200,.5)}div:where(.swal2-container) input:where(.swal2-input)::placeholder,div:where(.swal2-container) input:where(.swal2-file)::placeholder,div:where(.swal2-container) textarea:where(.swal2-textarea)::placeholder{color:#ccc}div:where(.swal2-container) .swal2-range{margin:1em 2em 3px;background:#fff}div:where(.swal2-container) .swal2-range input{width:80%}div:where(.swal2-container) .swal2-range output{width:20%;color:inherit;font-weight:600;text-align:center}div:where(.swal2-container) .swal2-range input,div:where(.swal2-container) .swal2-range output{height:2.625em;padding:0;font-size:1.125em;line-height:2.625em}div:where(.swal2-container) .swal2-input{height:2.625em;padding:0 .75em}div:where(.swal2-container) .swal2-file{width:75%;margin-right:auto;margin-left:auto;background:rgba(0,0,0,0);font-size:1.125em}div:where(.swal2-container) .swal2-textarea{height:6.75em;padding:.75em}div:where(.swal2-container) .swal2-select{min-width:50%;max-width:100%;padding:.375em .625em;background:rgba(0,0,0,0);color:inherit;font-size:1.125em}div:where(.swal2-container) .swal2-radio,div:where(.swal2-container) .swal2-checkbox{align-items:center;justify-content:center;background:#fff;color:inherit}div:where(.swal2-container) .swal2-radio label,div:where(.swal2-container) .swal2-checkbox label{margin:0 .6em;font-size:1.125em}div:where(.swal2-container) .swal2-radio input,div:where(.swal2-container) .swal2-checkbox input{flex-shrink:0;margin:0 .4em}div:where(.swal2-container) label:where(.swal2-input-label){display:flex;justify-content:center;margin:1em auto 0}div:where(.swal2-container) div:where(.swal2-validation-message){align-items:center;justify-content:center;margin:1em 0 0;padding:.625em;overflow:hidden;background:hsl(0,0%,94%);color:#666;font-size:1em;font-weight:300}div:where(.swal2-container) div:where(.swal2-validation-message)::before{content:"!";display:inline-block;width:1.5em;min-width:1.5em;height:1.5em;margin:0 .625em;border-radius:50%;background-color:#f27474;color:#fff;font-weight:600;line-height:1.5em;text-align:center}div:where(.swal2-container) .swal2-progress-steps{flex-wrap:wrap;align-items:center;max-width:100%;margin:1.25em auto;padding:0;background:rgba(0,0,0,0);font-weight:600}div:where(.swal2-container) .swal2-progress-steps li{display:inline-block;position:relative}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step{z-index:20;flex-shrink:0;width:2em;height:2em;border-radius:2em;background:#2778c4;color:#fff;line-height:2em;text-align:center}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step{background:#2778c4}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step{background:#add8e6;color:#fff}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step-line{background:#add8e6}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step-line{z-index:10;flex-shrink:0;width:2.5em;height:.4em;margin:0 -1px;background:#2778c4}div:where(.swal2-icon){position:relative;box-sizing:content-box;justify-content:center;width:5em;height:5em;margin:2.5em auto .6em;border:0.25em solid rgba(0,0,0,0);border-radius:50%;border-color:#000;font-family:inherit;line-height:5em;cursor:default;user-select:none}div:where(.swal2-icon) .swal2-icon-content{display:flex;align-items:center;font-size:3.75em}div:where(.swal2-icon).swal2-error{border-color:#f27474;color:#f27474}div:where(.swal2-icon).swal2-error .swal2-x-mark{position:relative;flex-grow:1}div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line]{display:block;position:absolute;top:2.3125em;width:2.9375em;height:.3125em;border-radius:.125em;background-color:#f27474}div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line][class$=left]{left:1.0625em;transform:rotate(45deg)}div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line][class$=right]{right:1em;transform:rotate(-45deg)}div:where(.swal2-icon).swal2-error.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-error.swal2-icon-show .swal2-x-mark{animation:swal2-animate-error-x-mark .5s}div:where(.swal2-icon).swal2-warning{border-color:rgb(249.95234375,205.965625,167.74765625);color:#f8bb86}div:where(.swal2-icon).swal2-warning.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-warning.swal2-icon-show .swal2-icon-content{animation:swal2-animate-i-mark .5s}div:where(.swal2-icon).swal2-info{border-color:rgb(156.7033492823,224.2822966507,246.2966507177);color:#3fc3ee}div:where(.swal2-icon).swal2-info.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-info.swal2-icon-show .swal2-icon-content{animation:swal2-animate-i-mark .8s}div:where(.swal2-icon).swal2-question{border-color:rgb(200.8064516129,217.9677419355,225.1935483871);color:#87adbd}div:where(.swal2-icon).swal2-question.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-question.swal2-icon-show .swal2-icon-content{animation:swal2-animate-question-mark .8s}div:where(.swal2-icon).swal2-success{border-color:#a5dc86;color:#a5dc86}div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line]{position:absolute;width:3.75em;height:7.5em
vendor: 6,363 bytes, line 62
62;border-radius:50%}div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line][class$=left]{top:-0.4375em;left:-2.0635em;transform:rotate(-45deg);transform-origin:3.75em 3.75em;border-radius:7.5em 0 0 7.5em}div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line][class$=right]{top:-0.6875em;left:1.875em;transform:rotate(-45deg);transform-origin:0 3.75em;border-radius:0 7.5em 7.5em 0}div:where(.swal2-icon).swal2-success .swal2-success-ring{position:absolute;z-index:2;top:-0.25em;left:-0.25em;box-sizing:content-box;width:100%;height:100%;border:.25em solid rgba(165,220,134,.3);border-radius:50%}div:where(.swal2-icon).swal2-success .swal2-success-fix{position:absolute;z-index:1;top:.5em;left:1.625em;width:.4375em;height:5.625em;transform:rotate(-45deg)}div:where(.swal2-icon).swal2-success [class^=swal2-success-line]{display:block;position:absolute;z-index:2;height:.3125em;border-radius:.125em;background-color:#a5dc86}div:where(.swal2-icon).swal2-success [class^=swal2-success-line][class$=tip]{top:2.875em;left:.8125em;width:1.5625em;transform:rotate(45deg)}div:where(.swal2-icon).swal2-success [class^=swal2-success-line][class$=long]{top:2.375em;right:.5em;width:2.9375em;transform:rotate(-45deg)}div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-line-tip{animation:swal2-animate-success-line-tip .75s}div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-line-long{animation:swal2-animate-success-line-long .75s}div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-circular-line-right{animation:swal2-rotate-success-circular-line 4.25s ease-in}[class^=swal2]{-webkit-tap-highlight-color:rgba(0,0,0,0)}.swal2-show{animation:swal2-show .3s}.swal2-hide{animation:swal2-hide .15s forwards}.swal2-noanimation{transition:none}.swal2-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}.swal2-rtl .swal2-close{margin-right:initial;margin-left:0}.swal2-rtl .swal2-timer-progress-bar{right:0;left:auto}@keyframes swal2-toast-show{0%{transform:translateY(-0.625em) rotateZ(2deg)}33%{transform:translateY(0) rotateZ(-2deg)}66%{transform:translateY(0.3125em) rotateZ(2deg)}100%{transform:translateY(0) rotateZ(0deg)}}@keyframes swal2-toast-hide{100%{transform:rotateZ(1deg);opacity:0}}@keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-0.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}@keyframes swal2-show{0%{transform:scale(0.7)}45%{transform:scale(1.05)}80%{transform:scale(0.95)}100%{transform:scale(1)}}@keyframes swal2-hide{0%{transform:scale(1);opacity:1}100%{transform:scale(0.5);opacity:0}}@keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-0.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.8125em;width:1.5625em}}@keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@keyframes swal2-rotate-success-circular-line{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}100%{transform:rotate(-405deg)}}@keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;transform:scale(0.4);opacity:0}50%{margin-top:1.625em;transform:scale(0.4);opacity:0}80%{margin-top:-0.375em;transform:scale(1.15)}100%{margin-top:0;transform:scale(1);opacity:1}}@keyframes swal2-animate-error-icon{0%{transform:rotateX(100deg);opacity:0}100%{transform:rotateX(0deg);opacity:1}}@keyframes swal2-rotate-loading{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes swal2-animate-question-mark{0%{transform:rotateY(-360deg)}100%{transform:rotateY(0)}}@keyframes swal2-animate-i-mark{0%{transform:rotateZ(45deg);opacity:0}25%{transform:rotateZ(-25deg);opacity:.4}50%{transform:rotateZ(15deg);opacity:.8}75%{transform:rotateZ(-5deg);opacity:1}100%{transform:rotateX(0);opacity:1}}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow:hidden}body.swal2-height-auto{height:auto !important}body.swal2-no-backdrop .swal2-container{background-color:rgba(0,0,0,0) !important;pointer-events:none}body.swal2-no-backdrop .swal2-container .swal2-popup{pointer-events:all}body.swal2-no-backdrop .swal2-container .swal2-modal{box-shadow:0 0 10px rgba(0,0,0,.4)}@media print{body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow-y:scroll !important}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown)>[aria-hidden=true]{display:none}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) .swal2-container{position:static !important}}body.swal2-toast-shown .swal2-container{box-sizing:border-box;width:360px;max-width:100%;background-color:rgba(0,0,0,0);pointer-events:none}body.swal2-toast-shown .swal2-container.swal2-top{inset:0 auto auto 50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-top-end,body.swal2-toast-shown .swal2-container.swal2-top-right{inset:0 0 auto auto}body.swal2-toast-shown .swal2-container.swal2-top-start,body.swal2-toast-shown .swal2-container.swal2-top-left{inset:0 auto auto 0}body.swal2-toast-shown .swal2-container.swal2-center-start,body.swal2-toast-shown .swal2-container.swal2-center-left{inset:50% auto auto 0;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-center{inset:50% auto auto 50%;transform:translate(-50%, -50%)}body.swal2-toast-shown .swal2-container.swal2-center-end,body.swal2-toast-shown .swal2-container.swal2-center-right{inset:50% 0 auto auto;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-start,body.swal2-toast-shown .swal2-container.swal2-bottom-left{inset:auto auto 0 0}body.swal2-toast-shown .swal2-container.swal2-bottom{inset:auto auto 0 50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-end,body.swal2-toast-shown .swal2-container.swal2-bottom-right{inset:auto 0 0 auto}
62')});function qp(e,n){return Object.is(e,n)}var Ie=null,ni=!1,xs=1,St=Symbol("SIGNAL");function H(e){let n=Ie;return Ie=e,n}function Wp(){return Ie}function NI(){return ni}var Ur={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 Ns(e){if(ni)throw new Error("");if(Ie===null)return;Ie.consumerOnSignalRead(e);let n=Ie.nextProducerIndex++;if(ks(Ie),n<Ie.producerNode.length&&Ie.producerNode[n]!==e&&ri(Ie)){let t=Ie.producerNode[n];Fs(t,Ie.producerIndexOfThis[n])}Ie.producerNode[n]!==e&&(Ie.producerNode[n]=e,Ie.producerIndexOfThis[n]=ri(Ie)?Jp(e,Ie,n):0),Ie.producerLastReadVersion[n]=e.version}function RI(){xs++}function Zp(e){if(!(ri(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===xs)){if(!e.producerMustRecompute(e)&&!Os(e)){e.dirty=!1,e.lastCleanEpoch=xs;return}e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=xs}}function Yp(e){if(e.liveConsumerNode===void 0)return;let n=ni;ni=!0;try{for(let t of e.liveConsumerNode)t.dirty||Kp(t)}finally{ni=n}}function Qp(){return Ie?.consumerAllowSignalWrites!==!1}function Kp(e){e.dirty=!0,Yp(e),e.consumerMarkedDirty?.(e)}function oi(e){return e&&(e.nextProducerIndex=0),H(e)}function Rs(e,n){if(H(n),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(ri(e))for(let t=e.nextProducerIndex;t<e.producerNode.length;t++)Fs(e.producerNode[t],e.producerIndexOfThis[t]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Os(e){ks(e);for(let n=0;n<e.producerNode.length;n++){let t=e.producerNode[n],r=e.producerLastReadVersion[n];if(r!==t.version||(Zp(t),r!==t.version))return!0}return!1}function Ps(e){if(ks(e),ri(e))for(let n=0;n<e.producerNode.length;n++)Fs(e.producerNode[n],e.producerIndexOfThis[n]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function Jp(e,n,t){if(Xp(e),e.liveConsumerNode.length===0&&eg(e))for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=Jp(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(t),e.liveConsumerNode.push(n)-1}function Fs(e,n){if(Xp(e),e.liveConsumerNode.length===1&&eg(e))for(let r=0;r<e.producerNode.length;r++)Fs(e.producerNode[r],e.producerIndexOfThis[r]);let t=e.liveConsumerNode.length-1;if(e.liveConsumerNode[n]=e.liveConsumerNode[t],e.liveConsumerIndexOfThis[n]=e.liveConsumerIndexOfThis[t],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,n<e.liveConsumerNode.length){let r=e.liveConsumerIndexOfThis[n],o=e.liveConsumerNode[n];ks(o),o.producerIndexOfThis[r]=n}}function ri(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function ks(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function Xp(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function eg(e){return e.producerNode!==void 0}function tg(e){let n=Object.create(OI);n.computation=e;let t=()=>{if(Zp(n),Ns(n),n.value===As)throw n.error;return n.value};return t[St]=n,t}var jl=Symbol("UNSET"),Bl=Symbol("COMPUTING"),As=Symbol("ERRORED"),OI=W(E({},Ur),{value:jl,dirty:!0,error:null,equal:qp,producerMustRecompute(e){return e.value===jl||e.value===Bl},producerRecomputeValue(e){if(e.value===Bl)throw new Error("Detected cycle in computations.");let n=e.value;e.value=Bl;let t=oi(e),r;try{r=e.computation()}catch(o){r=As,e.error=o}finally{Rs(e,t)}if(n!==jl&&n!==As&&r!==As&&e.equal(n,r)){e.value=n;return}e.value=r,e.version++}});function PI(){throw new Error}var ng=PI;function rg(){ng()}function og(e){ng=e}var FI=null;function ig(e){let n=Object.create(Ul);n.value=e;let t=()=>(Ns(n),n.value);return t[St]=n,t}function Ls(e,n){Qp()||rg(),e.equal(e.value,n)||(e.value=n,kI(e))}function sg(e,n){Qp()||rg(),Ls(e,n(e.value))}var Ul=W(E({},Ur),{equal:qp,value:void 0});function kI(e){e.version++,RI(),Yp(e),FI?.()}function ag(e,n,t){let r=Object.create(LI);t&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=n;let o=l=>{r.cleanupFn=l};function i(l){return l.fn===null&&l.schedule===null}function s(l){i(l)||(Ps(l),l.cleanupFn(),l.fn=null,l.schedule=null,l.cleanupFn=$l)}let a=()=>
vendor: 4,275 bytes, lines 62-64
62{if(r.fn===null)return;if(NI())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(r.dirty=!1,r.hasRun&&!Os(r))return;r.hasRun=!0;let l=oi(r);try{r.cleanupFn(),r.cleanupFn=$l,r.fn(o)}finally{Rs(r,l)}};return r.ref={notify:()=>Kp(r),run:a,cleanup:()=>r.cleanupFn(),destroy:()=>s(r),[St]:r},r.ref}var $l=()=>{},LI=W(E({},Ur),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule!==null&&e.schedule(e.ref)},hasRun:!1,cleanupFn:$l});function R(e){return typeof e=="function"}function Hr(e){let t=e(r=>{Error.call(r),r.stack=new Error().stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var Vs=Hr(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription: 63${t.map((r,o)=>`${o+1}) ${r.toString()}`).join(` 64 `)}`:"",this.name="UnsubscriptionError",this.errors=t});function lr(e,n){if(e){let t=e.indexOf(n);0<=t&&e.splice(t,1)}}var ue=class e{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;let{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(let i of t)i.remove(this);else t.remove(this);let{initialTeardown:r}=this;if(R(r))try{r()}catch(i){n=i instanceof Vs?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{cg(i)}catch(s){n=n??[],s instanceof Vs?n=[...n,...s.errors]:n.push(s)}}if(n)throw new Vs(n)}}add(n){var t;if(n&&n!==this)if(this.closed)cg(n);else{if(n instanceof e){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=(t=this._finalizers)!==null&&t!==void 0?t:[]).push(n)}}_hasParent(n){let{_parentage:t}=this;return t===n||Array.isArray(t)&&t.includes(n)}_addParent(n){let{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(n),t):t?[t,n]:n}_removeParent(n){let{_parentage:t}=this;t===n?this._parentage=null:Array.isArray(t)&&lr(t,n)}remove(n){let{_finalizers:t}=this;t&&lr(t,n),n instanceof e&&n._removeParent(this)}};ue.EMPTY=(()=>{let e=new ue;return e.closed=!0,e})();var Hl=ue.EMPTY;function js(e){return e instanceof ue||e&&"closed"in e&&R(e.remove)&&R(e.add)&&R(e.unsubscribe)}function cg(e){R(e)?e():e.unsubscribe()}var Tt={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var zr={setTimeout(e,n,...t){let{delegate:r}=zr;return r?.setTimeout?r.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){let{delegate:n}=zr;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Bs(e){zr.setTimeout(()=>{let{onUnhandledError:n}=Tt;if(n)n(e);else throw e})}function ii(){}var lg=zl("C",void 0,void 0);function ug(e){return zl("E",void 0,e)}function dg(e){return zl("N",e,void 0)}function zl(e,n,t){return{kind:e,value:n,error:t}}var ur=null;function Gr(e){if(Tt.useDeprecatedSynchronousErrorHandling){let n=!ur;if(n&&(ur={errorThrown:!1,error:null}),e(),n){let{errorThrown:t,error:r}=ur;if(ur=null,t)throw r}}else e()}function fg(e){Tt.useDeprecatedSynchronousErrorHandling&&ur&&(ur.errorThrown=!0,ur.error=e)}var dr=class extends ue{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,js(n)&&n.add(this)):this.destination=BI}static create(n,t,r){return new Pn(n,t,r)}next(n){this.isStopped?ql(dg(n),this):this._next(n)}error(n){this.isStopped?ql(ug(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?ql(lg,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},VI=Function.prototype.bind;function Gl(e,n){return VI.call(e,n)}var Wl=class{constructor(n){this.partialObserver=n}next(n){let{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(r){$s(r)}}error(n){let{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(r){$s(r)}else $s(n)}complete(){let{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){$s(t)}}},Pn=class extends dr{constructor(n,t,r){super();let o;if(R(n)||!n)o={next:n??void 0,error:t??void 0,complete:r??void 0};else{let i;
vendor: 9,652 bytes, line 64
64this&&Tt.useDeprecatedNextContext?(i=Object.create(n),i.unsubscribe=()=>this.unsubscribe(),o={next:n.next&&Gl(n.next,i),error:n.error&&Gl(n.error,i),complete:n.complete&&Gl(n.complete,i)}):o=n}this.destination=new Wl(o)}};function $s(e){Tt.useDeprecatedSynchronousErrorHandling?fg(e):Bs(e)}function jI(e){throw e}function ql(e,n){let{onStoppedNotification:t}=Tt;t&&zr.setTimeout(()=>t(e,n))}var BI={closed:!0,next:ii,error:jI,complete:ii};var qr=typeof Symbol=="function"&&Symbol.observable||"@@observable";function at(e){return e}function Zl(...e){return Yl(e)}function Yl(e){return e.length===0?at:e.length===1?e[0]:function(t){return e.reduce((r,o)=>o(r),t)}}var q=(()=>{class e{constructor(t){t&&(this._subscribe=t)}lift(t){let r=new e;return r.source=this,r.operator=t,r}subscribe(t,r,o){let i=UI(t)?t:new Pn(t,r,o);return Gr(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(t){try{return this._subscribe(t)}catch(r){t.error(r)}}forEach(t,r){return r=hg(r),new r((o,i)=>{let s=new Pn({next:a=>{try{t(a)}catch(l){i(l),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)}[qr](){return this}pipe(...t){return Yl(t)(this)}toPromise(t){return t=hg(t),new t((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=n=>new e(n),e})();function hg(e){var n;return(n=e??Tt.Promise)!==null&&n!==void 0?n:Promise}function $I(e){return e&&R(e.next)&&R(e.error)&&R(e.complete)}function UI(e){return e&&e instanceof dr||$I(e)&&js(e)}function Ql(e){return R(e?.lift)}function Z(e){return n=>{if(Ql(n))return n.lift(function(t){try{return e(t,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function z(e,n,t,r,o){return new Kl(e,n,t,r,o)}var Kl=class extends dr{constructor(n,t,r,o,i,s){super(n),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=t?function(a){try{t(a)}catch(l){n.error(l)}}:super._next,this._error=o?function(a){try{o(a)}catch(l){n.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:t}=this;super.unsubscribe(),!t&&((n=this.onFinalize)===null||n===void 0||n.call(this))}}};function Wr(){return Z((e,n)=>{let t=null;e._refCount++;let r=z(n,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){t=null;return}let o=e._connection,i=t;t=null,o&&(!i||o===i)&&o.unsubscribe(),n.unsubscribe()});e.subscribe(r),r.closed||(t=e.connect())})}var Zr=class extends q{constructor(n,t){super(),this.source=n,this.subjectFactory=t,this._subject=null,this._refCount=0,this._connection=null,Ql(n)&&(this.lift=n.lift)}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){let n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:n}=this;this._subject=this._connection=null,n?.unsubscribe()}connect(){let n=this._connection;if(!n){n=this._connection=new ue;let t=this.getSubject();n.add(this.source.subscribe(z(t,void 0,()=>{this._teardown(),t.complete()},r=>{this._teardown(),t.error(r)},()=>this._teardown()))),n.closed&&(this._connection=null,n=ue.EMPTY)}return n}refCount(){return Wr()(this)}};var Yr={schedule(e){let n=requestAnimationFrame,t=cancelAnimationFrame,{delegate:r}=Yr;r&&(n=r.requestAnimationFrame,t=r.cancelAnimationFrame);let o=n(i=>{t=void 0,e(i)});return new ue(()=>t?.(o))},requestAnimationFrame(...e){let{delegate:n}=Yr;return(n?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){let{delegate:n}=Yr;return(n?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};var pg=Hr(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var Te=(()=>{class e extends q{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){let r=new Us(this,this);return r.operator=t,r}_throwIfClosed(){if(this.closed)throw new pg}next(t){Gr(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(t)}})}error(t){Gr(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;let{observers:r}=this;for(;r.length;)r.shift().error(t)}})}complete(){Gr(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return((t=this.observers)===null||t===void 0?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){let{hasError:r,isStopped:o,observers:i}=this;return r||o?Hl:(this.currentObservers=null,i.push(t),new ue(()=>{this.currentObservers=null,lr(i,t)}))}_checkFinalizedStatuses(t){let{hasError:r,thrownError:o,isStopped:i}=this;r?t.error(o):i&&t.complete()}asObservable(){let t=new q;return t.source=this,t}}return e.create=(n,t)=>new Us(n,t),e})(),Us=class extends Te{constructor(n,t){super(),this.destination=n,this.source=t}next(n){var t,r;(r=(t=this.destination)===null||t===void 0?void 0:t.next)===null||r===void 0||r.call(t,n)}error(n){var t,r;(r=(t=this.destination)===null||t===void 0?void 0:t.error)===null||r===void 0||r.call(t,n)}complete(){var n,t;(t=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||t===void 0||t.call(n)}_subscribe(n){var t,r;return(r=(t=this.source)===null||t===void 0?void 0:t.subscribe(n))!==null&&r!==void 0?r:Hl}};var Re=class extends Te{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){let t=super._subscribe(n);return!t.closed&&n.next(this._value),t}getValue(){let{hasError:n,thrownError:t,_value:r}=this;if(n)throw t;return this._throwIfClosed(),r}next(n){super.next(this._value=n)}};var Jl={now(){return(Jl.delegate||Date).now()},delegate:void 0};var Hs=class extends ue{constructor(n,t){super()}schedule(n,t=0){return this}};var si={setInterval(e,n,...t){let{delegate:r}=si;return r?.setInterval?r.setInterval(e,n,...t):setInterval(e,n,...t)},clearInterval(e){let{delegate:n}=si;return(n?.clearInterval||clearInterval)(e)},delegate:void 0};var Qr=class extends Hs{constructor(n,t){super(n,t),this.scheduler=n,this.work=t,this.pending=!1}schedule(n,t=0){var r;if(this.closed)return this;this.state=n;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,t)),this.pending=!0,this.delay=t,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,t),this}requestAsyncId(n,t,r=0){return si.setInterval(n.flush.bind(n,this),r)}recycleAsyncId(n,t,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return t;t!=null&&si.clearInterval(t)}execute(n,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(n,t);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,t){let r=!1,o;try{this.work(n)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:n,scheduler:t}=this,{actions:r}=t;this.work=this.state=this.scheduler=null,this.pending=!1,lr(r,this),n!=null&&(this.id=this.recycleAsyncId(t,n,null)),this.delay=null,super.unsubscribe()}}};var Kr=class e{constructor(n,t=e.now){this.schedulerActionCtor=n,this.now=t}schedule(n,t=0,r){return new this.schedulerActionCtor(this,n).schedule(r,t)}};Kr.now=Jl.now;var Jr=class extends Kr{constructor(n,t=Kr.now){super(n,t),this.actions=[],this._active=!1}flush(n){let{actions:t}=this;if(this._active){t.push(n);return}let r;this._active=!0;do if(r=n.execute(n.state,n.delay))break;while(n=t.shift());if(this._active=!1,r){for(;n=t.shift();)n.unsubscribe();throw r}}};var ai=new Jr(Qr),gg=ai;var zs=class extends Qr{constructor(n,t){super(n,t),this.scheduler=n,this.work=t}requestAsyncId(n,t,r=0){return r!==null&&r>0?super.requestAsyncId(n,t,r):(n.actions.push(this),n._scheduled||(n._scheduled=Yr.requestAnimationFrame(()=>n.flush(void 0))))}recycleAsyncId(n,t,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(n,t,r);let{actions:i}=n;t!=null&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==t&&(Yr.cancelAnimationFrame(t),n._scheduled=void 0)}};var Gs=class extends Jr{flush(n){this._active=!0;let t=this._scheduled;this._scheduled=void 0;let{actions:r}=this,o;n=n||r.shift();do if(o=n.execute(n.state,n.delay))break;while((n=r[0])&&n.id===t&&r.shift());if(this._active=!1,o){for(;(n=r[0])&&n.id===t&&r.shift();)n.unsubscribe();throw o}}};var HI=new Gs(zs);var He=new q(e=>e.complete());function qs(e){return e&&R(e.schedule)}function Xl(e){return e[e.length-1]}function Ws(e){return R(Xl(e))?e.pop():void 0}function Ut(e){return qs(Xl(e))?e.pop():void 0}function mg(e,n){return typeof Xl(e)=="number"?e.pop():n}function yg(e,n,t,r){function o(i){return i instanceof t?i:new t(function(s){s(i)})}return new(t||(t=Promise))(function(i,s){function a(p){try{d(r.next(p))}catch(h){s(h)}}function l(p){try{d(r.throw(p))}catch(h){s(h)}}function d(p){p.done?i(p.value):o(p.value).then(a,l)}d((r=r.apply(e,n||[])).next())})}function vg(e){var n=typeof Symbol=="function"&&Symbol.iterator,t=n&&e[n],r=0;if(t)return t.call(e);
vendor: 4,161 bytes, line 64
64if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function fr(e){return this instanceof fr?(this.v=e,this):new fr(e)}function wg(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=t.apply(e,n||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(m){return function(w){return Promise.resolve(w).then(m,h)}}function a(m,w){r[m]&&(o[m]=function(D){return new Promise(function(C,_){i.push([m,D,C,_])>1||l(m,D)})},w&&(o[m]=w(o[m])))}function l(m,w){try{d(r[m](w))}catch(D){v(i[0][3],D)}}function d(m){m.value instanceof fr?Promise.resolve(m.value.v).then(p,h):v(i[0][2],m)}function p(m){l("next",m)}function h(m){l("throw",m)}function v(m,w){m(w),i.shift(),i.length&&l(i[0][0],i[0][1])}}function Dg(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=e[Symbol.asyncIterator],t;return n?n.call(e):(e=typeof vg=="function"?vg(e):e[Symbol.iterator](),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(i){t[i]=e[i]&&function(s){return new Promise(function(a,l){s=e[i](s),o(a,l,s.done,s.value)})}}function o(i,s,a,l){Promise.resolve(l).then(function(d){i({value:d,done:a})},s)}}var Xr=e=>e&&typeof e.length=="number"&&typeof e!="function";function Zs(e){return R(e?.then)}function Ys(e){return R(e[qr])}function Qs(e){return Symbol.asyncIterator&&R(e?.[Symbol.asyncIterator])}function Ks(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function zI(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Js=zI();function Xs(e){return R(e?.[Js])}function ea(e){return wg(this,arguments,function*(){let t=e.getReader();try{for(;;){let{value:r,done:o}=yield fr(t.read());if(o)return yield fr(void 0);yield yield fr(r)}}finally{t.releaseLock()}})}function ta(e){return R(e?.getReader)}function ae(e){if(e instanceof q)return e;if(e!=null){if(Ys(e))return GI(e);if(Xr(e))return qI(e);if(Zs(e))return WI(e);if(Qs(e))return bg(e);if(Xs(e))return ZI(e);if(ta(e))return YI(e)}throw Ks(e)}function GI(e){return new q(n=>{let t=e[qr]();if(R(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function qI(e){return new q(n=>{for(let t=0;t<e.length&&!n.closed;t++)n.next(e[t]);n.complete()})}function WI(e){return new q(n=>{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,Bs)})}function ZI(e){return new q(n=>{for(let t of e)if(n.next(t),n.closed)return;n.complete()})}function bg(e){return new q(n=>{QI(e,n).catch(t=>n.error(t))})}function YI(e){return bg(ea(e))}function QI(e,n){var t,r,o,i;return yg(this,void 0,void 0,function*(){try{for(t=Dg(e);r=yield t.next(),!r.done;){let s=r.value;if(n.next(s),n.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=t.return)&&(yield i.call(t))}finally{if(o)throw o.error}}n.complete()})}function Je(e,n,t,r=0,o=!1){let i=n.schedule(function(){t(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function na(e,n=0){return Z((t,r)=>{t.subscribe(z(r,o=>Je(r,e,()=>r.next(o),n),()=>Je(r,e,()=>r.complete(),n),o=>Je(r,e,()=>r.error(o),n)))})}function ra(e,n=0){return Z((t,r)=>{r.add(e.schedule(()=>t.subscribe(r),n))})}function Cg(e,n){return ae(e).pipe(ra(n),na(n))}function Eg(e,n){return ae(e).pipe(ra(n),na(n))}function Ig(e,n){return new q(t=>{let r=0;return n.schedule(function(){r===e.length?t.complete():(t.next(e[r++]),t.closed||this.schedule())})})}function _g(e,n){return new q(t=>{let r;return Je(t,n,()=>{r=e[Js](),Je(t,n,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){t.error(s);return}i?t.complete():t.next(o)},0,!0)}),()=>R(r?.return)&&r.return()})}
vendor: 7,524 bytes, line 64
64function oa(e,n){if(!e)throw new Error("Iterable cannot be null");return new q(t=>{Je(t,n,()=>{let r=e[Symbol.asyncIterator]();Je(t,n,()=>{r.next().then(o=>{o.done?t.complete():t.next(o.value)})},0,!0)})})}function Mg(e,n){return oa(ea(e),n)}function Sg(e,n){if(e!=null){if(Ys(e))return Cg(e,n);if(Xr(e))return Ig(e,n);if(Zs(e))return Eg(e,n);if(Qs(e))return oa(e,n);if(Xs(e))return _g(e,n);if(ta(e))return Mg(e,n)}throw Ks(e)}function ne(e,n){return n?Sg(e,n):ae(e)}function O(...e){let n=Ut(e);return ne(e,n)}function eo(e,n){let t=R(e)?e:()=>e,r=o=>o.error(t());return new q(n?o=>n.schedule(r,0,o):r)}function eu(e){return!!e&&(e instanceof q||R(e.lift)&&R(e.subscribe))}var xt=Hr(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function KI(e,n){let t=typeof n=="object";return new Promise((r,o)=>{let i=new Pn({next:s=>{r(s),i.unsubscribe()},error:o,complete:()=>{t?r(n.defaultValue):o(new xt)}});e.subscribe(i)})}function Tg(e){return e instanceof Date&&!isNaN(e)}function L(e,n){return Z((t,r)=>{let o=0;t.subscribe(z(r,i=>{r.next(e.call(n,i,o++))}))})}var{isArray:JI}=Array;function XI(e,n){return JI(n)?e(...n):e(n)}function to(e){return L(n=>XI(e,n))}var{isArray:e0}=Array,{getPrototypeOf:t0,prototype:n0,keys:r0}=Object;function ia(e){if(e.length===1){let n=e[0];if(e0(n))return{args:n,keys:null};if(o0(n)){let t=r0(n);return{args:t.map(r=>n[r]),keys:t}}}return{args:e,keys:null}}function o0(e){return e&&typeof e=="object"&&t0(e)===n0}function sa(e,n){return e.reduce((t,r,o)=>(t[r]=n[o],t),{})}function ci(...e){let n=Ut(e),t=Ws(e),{args:r,keys:o}=ia(e);if(r.length===0)return ne([],n);let i=new q(i0(r,n,o?s=>sa(o,s):at));return t?i.pipe(to(t)):i}function i0(e,n,t=at){return r=>{xg(n,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let l=0;l<o;l++)xg(n,()=>{let d=ne(e[l],n),p=!1;d.subscribe(z(r,h=>{i[l]=h,p||(p=!0,a--),a||r.next(t(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function xg(e,n,t){e?Je(t,e,n):n()}function Ag(e,n,t,r,o,i,s,a){let l=[],d=0,p=0,h=!1,v=()=>{h&&!l.length&&!d&&n.complete()},m=D=>d<r?w(D):l.push(D),w=D=>{i&&n.next(D),d++;let C=!1;ae(t(D,p++)).subscribe(z(n,_=>{o?.(_),i?m(_):n.next(_)},()=>{C=!0},void 0,()=>{if(C)try{for(d--;l.length&&d<r;){let _=l.shift();s?Je(n,s,()=>w(_)):w(_)}v()}catch(_){n.error(_)}}))};return e.subscribe(z(n,m,()=>{h=!0,v()})),()=>{a?.()}}function we(e,n,t=1/0){return R(n)?we((r,o)=>L((i,s)=>n(r,i,o,s))(ae(e(r,o))),t):(typeof n=="number"&&(t=n),Z((r,o)=>Ag(r,o,e,t)))}function Ht(e=1/0){return we(at,e)}function Ng(){return Ht(1)}function no(...e){return Ng()(ne(e,Ut(e)))}function aa(e){return new q(n=>{ae(e()).subscribe(n)})}function tu(...e){let n=Ws(e),{args:t,keys:r}=ia(e),o=new q(i=>{let{length:s}=t;if(!s){i.complete();return}let a=new Array(s),l=s,d=s;for(let p=0;p<s;p++){let h=!1;ae(t[p]).subscribe(z(i,v=>{h||(h=!0,d--),a[p]=v},()=>l--,void 0,()=>{(!l||!h)&&(d||i.next(r?sa(r,a):a),i.complete())}))}});return n?o.pipe(to(n)):o}var s0=["addListener","removeListener"],a0=["addEventListener","removeEventListener"],c0=["on","off"];function nu(e,n,t,r){if(R(t)&&(r=t,t=void 0),r)return nu(e,n,t).pipe(to(r));let[o,i]=d0(e)?a0.map(s=>a=>e[s](n,a,t)):l0(e)?s0.map(Rg(e,n)):u0(e)?c0.map(Rg(e,n)):[];if(!o&&Xr(e))return we(s=>nu(s,n,t))(ae(e));if(!o)throw new TypeError("Invalid event target");return new q(s=>{let a=(...l)=>s.next(1<l.length?l:l[0]);return o(a),()=>i(a)})}function Rg(e,n){return t=>r=>e[t](n,r)}function l0(e){return R(e.addListener)&&R(e.removeListener)}function u0(e){return R(e.on)&&R(e.off)}function d0(e){return R(e.addEventListener)&&R(e.removeEventListener)}function li(e=0,n,t=gg){let r=-1;return n!=null&&(qs(n)?t=n:r=n),new q(o=>{let i=Tg(e)?+e-t.now():e;i<0&&(i=0);let s=0;return t.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function f0(e=0,n=ai){return e<0&&(e=0),li(e,e,n)}function h0(...e){let n=Ut(e),t=mg(e,1/0),r=e;return r.length?r.length===1?ae(r[0]):Ht(t)(ne(r,n)):He}function Xe(e,n){return Z((t,r)=>{let o=0;t.subscribe(z(r,i=>e.call(n,i,o++)&&r.next(i)))})}function Og(e){return Z((n,t)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let d=o;o=null,t.next(d)}s&&t.complete()},l=()=>{i=null,s&&t.complete()};n.subscribe(z(t,d=>{r=!0,o=d,i||ae(e(d)).subscribe(i=z(t,a,l))},()=>{s=!0,(!r||!i||i.closed)&&t.complete()}))})}function p0(e,n=ai){return Og(()=>li(e,n))}function ln(e){return Z((n,t)=>{let r=null,o=!1,i;r=n.subscribe(z(t,void 0,void 0,s=>{i=ae(e(s,ln(e)(n))),r?(r.unsubscribe(),r=null,i.subscribe(t)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(t))})}function Pg(e,n,t,r,o){return(i,s)=>{let a=t,l=n,d=0;i.subscribe(z(s,p=>{let h=d++;l=a?e(l,p,h):(a=!0,p),r&&s.next(l)},o&&(()=>{a&&s.next(l),s.complete()})))}}function un(e,n){return R(n)?we(e,n,1):we(e,1)}function Fn(e){return Z((n,t)=>{let r=!1;n.subscribe(z(t,o=>{r=!0,t.next(o)},()=>{r||t.next(e),t.complete()}))})}function dn(e){return e<=0?()=>He:Z((n,t)=>{let r=0;n.subscribe(z(t,o=>{++r<=e&&(t.next(o),e<=r&&t.complete())}))})}function ru(e){return L(()=>e)}function ca(e=g0){return Z((n,t)=>{let r=!1;n.subscribe(z(t,o=>{r=!0,t.next(o)},()=>r?t.complete():t.error(e())))})}function g0(){return new xt}function kn(e){return Z((n,t)=>{try{n.subscribe(t)}finally{t.add(e)}})}function zt(e,n){let t=arguments.length>=2;return r=>r.pipe(e?Xe((o,i)=>e(o,i,r)):at,dn(1),t?Fn(n):ca(()=>new xt))}function ro(e){return e<=0?()=>He:Z((n,t)=>{let r=[];n.subscribe(z(t,o=>{r.push(o),e<r.length&&r.shift()},()=>{for(let o of r)t.next(o);t.complete()},void 0,()=>{r=null}))})}function ou(e,n){let t=arguments.length>=2;return r=>r.pipe(e?Xe((o,i)=>e(o,i,r)):at,ro(1),t?Fn(n):ca(()=>new xt))}function iu(e,n){return Z(Pg(e,n,arguments.length>=2,!0))}function su(...e){let n=Ut(e);return Z((t,r)=>{(n?no(e,t,n):no(e,t)).subscribe(r)})}function et(e,n){return Z((t,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();t.subscribe(z(r,l=>{o?.unsubscribe();let d=0,p=i++;ae(e(l,p)).subscribe(o=z(r,h=>r.next(n?n(l,h,p,d++):h),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function au(e){return Z((n,t)=>{ae(e).subscribe(z(t,()=>t.complete(),ii)),!t.closed&&n.subscribe(t)})}function xe(e,n,t){let r=R(e)||n||t?{next:e,error:n,complete:t}:e;return r?Z((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(z(i,l=>{var d;(d=r.next)===null||d===void 0||d.call(r,l),i.next(l)},()=>{var l;a=!1,(l=r.complete)===null||l===void 0||l.call(r),i.complete()},l=>{var d;a=!1,(d=r.error)===null||d===void 0||d.call(r,l),i.error(l)},()=>{var l,d;a&&((l=r.unsubscribe)===null||l===void 0||l.call(r)),(d=r.finalize)===null||d===void 0||d.call(r)}))}):at}var Sm="https://g.co/ng/security#xss",M=class extends Error{constructor(n,t){super(Ya(n,t)),this.code=n}};function Ya(e,n){return`${`NG0${Math.abs(e)}`}${n?": "+n:""}`}var Tm=Symbol("InputSignalNode#UNSET"),m0=W(E({},Ul),{transformFn:void 0,applyValueToInputSignal(e,n){Ls(e,n)}});function xm(e,n){let t=Object.create(m0);t.value=e,t.transformFn=n?.transform;function r(){if(Ns(t),t.value===Tm)throw new M(-950,!1);return t.value}return r[St]=t,r}function Di(e){return{toString:e}.toString()}var la="__parameters__";function v0(e){return function(...t){if(e){let r=e(...t);for(let o in r)this[o]=r[o]}}}function Am(e,n,t){return Di(()=>{let r=v0(n);function o(...i){if(this instanceof o)return r.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(l,d,p){let h=l.hasOwnProperty(la)?l[la]:Object.defineProperty(l,la,{value:[]})[la];for(;h.length<=p;)h.push(null);
64return(h[p]=h[p]||[]).push(s),l}}return t&&(o.prototype=Object.create(t.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var fn=globalThis;function re(e){for(let n in e)if(e[n]===re)return n;throw Error("Could not find renamed property on target object.")}function y0(e,n){for(let t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function Ge(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map(Ge).join(", ")+"]";if(e==null)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;let n=e.toString();if(n==null)return""+n;let t=n.indexOf(` 65`);return t===-1?n:n.substring(0,t)}function bu(e,n){return e==null||e===""?n===null?"":n:n==null||n===""?e:e+" "+n}var w0=re({__forward_ref__:re});function Ae(e){return e.__forward_ref__=Ae,e.toString=function(){return Ge(this())},e}function ze(e){return Nm(e)?e():e}function Nm(e){return typeof e=="function"&&e.hasOwnProperty(w0)&&e.__forward_ref__===Ae}function S(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Kt(e){return{providers:e.providers||[],imports:e.imports||[]}}function Qa(e){return Fg(e,Om)||Fg(e,Pm)}function Rm(e){return Qa(e)!==null}function Fg(e,n){return e.hasOwnProperty(n)?e[n]:null}function D0(e){let n=e&&(e[Om]||e[Pm]);return n||null}function kg(e){return e&&(e.hasOwnProperty(Lg)||e.hasOwnProperty(b0))?e[Lg]:null}var Om=re({\u0275prov:re}),Lg=re({\u0275inj:re}),Pm=re({ngInjectableDef:re}),b0=re({ngInjectorDef:re}),x=class{constructor(n,t){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof t=="number"?this.__NG_ELEMENT_ID__=t:t!==void 0&&(this.\u0275prov=S({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Fm(e){return e&&!!e.\u0275providers}var C0=re({\u0275cmp:re}),E0=re({\u0275dir:re}),I0=re({\u0275pipe:re}),_0=re({\u0275mod:re}),Ea=re({\u0275fac:re}),di=re({__NG_ELEMENT_ID__:re}),Vg=re({__NG_ENV_ID__:re});function U(e){return typeof e=="string"?e:e==null?"":String(e)}function M0(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():U(e)}function S0(e,n){let t=n?`. Dependency path: ${n.join(" > ")} > ${e}`:"";throw new M(-200,e)}function Ld(e,n){throw new M(-201,!1)}var G=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}(G||{}),Cu;function km(){return Cu}function tt(e){let n=Cu;return Cu=e,n}function Lm(e,n,t){let r=Qa(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(t&G.Optional)return null;if(n!==void 0)return n;Ld(e,"Injector")}var T0={},hi=T0,Eu="__NG_DI_FLAG__",Ia="ngTempTokenPath",x0="ngTokenPath",A0=/\n/gm,N0="\u0275",jg="__source",co;function R0(){return co}function Ln(e){let n=co;return co=e,n}function O0(e,n=G.Default){if(co===void 0)throw new M(-203,!1);return co===null?Lm(e,void 0,n):co.get(e,n&G.Optional?null:void 0,n)}function N(e,n=G.Default){return(km()||O0)(ze(e),n)}function b(e,n=G.Default){return N(e,Ka(n))}function Ka(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Iu(e){let n=[];for(let t=0;t<e.length;t++){let r=ze(e[t]);if(Array.isArray(r)){if(r.length===0)throw new M(900,!1);let o,i=G.Default;for(let s=0;s<r.length;s++){let a=r[s],l=P0(a);typeof l=="number"?l===-1?o=a.token:i|=l:o=a}n.push(N(o,i))}else n.push(N(r))}return n}function Vm(e,n){return e[Eu]=n,e.prototype[Eu]=n,e}function P0(e){return e[Eu]}function F0(e,n,t,r){let o=e[Ia];throw n[jg]&&o.unshift(n[jg]),e.message=k0(` 66`+e.message,o,t,r),e[x0]=o,e[Ia]=null,e}function k0(e,n,t,r=null){e=e&&e.charAt(0)===` 67`&&e.charAt(1)==N0?e.slice(2):e;let o=Ge(n);if(Array.isArray(n))o=n.map(Ge).join(" -> ");else if(typeof n=="object"){let i=[];for(let s in n)if(n.hasOwnProperty(s)){let a=n[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):Ge(a)))}o=`{${i.join(", ")}}`}return`${t}${r?"("+r+")":""}[${o}]: ${e.replace(A0,` 68 `)}`}var bi=Vm(Am("Optional"),8);var Ja=Vm(Am("SkipSelf"),4);function gr(e,n){let t=e.hasOwnProperty(Ea);return t?e[Ea]:null}function L0(e,n,t){if(e.length!==n.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=n[r];if(t&&(o=t(o),i=t(i)),i!==o)return!1}return!0}function V0(e){return e.flat(Number.POSITIVE_INFINITY)}function Vd(e,n){e.forEach(t=>Array.isArray(t)?Vd(t,n):n(t))}function jm(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function _a(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function j0(e,n){let t=[];for(let r=0;r<e;r++)t.push(n);return t}function B0(e,n,t,r){let o=e.length;if(o==n)e.push(t,r);
vendor: 4,475 bytes, line 68
68else if(o===1)e.push(r,e[0]),e[0]=t;else{for(o--,e.push(e[o-1],e[o]);o>n;){let i=o-2;e[o]=e[i],o--}e[n]=t,e[n+1]=r}}function Ci(e,n,t){let r=Ei(e,n);return r>=0?e[r|1]=t:(r=~r,B0(e,r,n,t)),r}function cu(e,n){let t=Ei(e,n);if(t>=0)return e[t|1]}function Ei(e,n){return $0(e,n,1)}function $0(e,n,t){let r=0,o=e.length>>t;for(;o!==r;){let i=r+(o-r>>1),s=e[i<<t];if(n===s)return i<<t;s>n?o=i:r=i+1}return~(o<<t)}var uo={},nt=[],fo=new x(""),Bm=new x("",-1),$m=new x(""),Ma=class{get(n,t=hi){if(t===hi){let r=new Error(`NullInjectorError: No provider for ${Ge(n)}!`);throw r.name="NullInjectorError",r}return t}},Um=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Um||{}),Wt=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Wt||{}),Bn=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Bn||{});function U0(e,n,t){let r=e.length;for(;;){let o=e.indexOf(n,t);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=n.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}t=o+1}}function _u(e,n,t){let r=0;for(;r<t.length;){let o=t[r];if(typeof o=="number"){if(o!==0)break;r++;let i=t[r++],s=t[r++],a=t[r++];e.setAttribute(n,s,a,i)}else{let i=o,s=t[++r];H0(i)?e.setProperty(n,i,s):e.setAttribute(n,i,s),r++}}return r}function Hm(e){return e===3||e===4||e===6}function H0(e){return e.charCodeAt(0)===64}function pi(e,n){if(!(n===null||n.length===0))if(e===null||e.length===0)e=n.slice();else{let t=-1;for(let r=0;r<n.length;r++){let o=n[r];typeof o=="number"?t=o:t===0||(t===-1||t===2?Bg(e,t,o,null,n[++r]):Bg(e,t,o,null,null))}}return e}function Bg(e,n,t,r,o){let i=0,s=e.length;if(n===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===n){s=-1;break}else if(a>n){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===t){if(r===null){o!==null&&(e[i+1]=o);return}else if(r===e[i+1]){e[i+2]=o;return}}i++,r!==null&&i++,o!==null&&i++}s!==-1&&(e.splice(s,0,n),i=s+1),e.splice(i++,0,t),r!==null&&e.splice(i++,0,r),o!==null&&e.splice(i++,0,o)}var zm="ng-template";function z0(e,n,t,r){let o=0;if(r){for(;o<n.length&&typeof n[o]=="string";o+=2)if(n[o]==="class"&&U0(n[o+1].toLowerCase(),t,0)!==-1)return!0}else if(jd(e))return!1;if(o=n.indexOf(1,o),o>-1){let i;for(;++o<n.length&&typeof(i=n[o])=="string";)if(i.toLowerCase()===t)return!0}return!1}function jd(e){return e.type===4&&e.value!==zm}function G0(e,n,t){let r=e.type===4&&!t?zm:e.value;return n===r}function q0(e,n,t){let r=4,o=e.attrs,i=o!==null?Y0(o):0,s=!1;for(let a=0;a<n.length;a++){let l=n[a];if(typeof l=="number"){if(!s&&!At(r)&&!At(l))return!1;if(s&&At(l))continue;s=!1,r=l|r&1;continue}if(!s)if(r&4){if(r=2|r&1,l!==""&&!G0(e,l,t)||l===""&&n.length===1){if(At(r))return!1;s=!0}}else if(r&8){if(o===null||!z0(e,o,l,t)){if(At(r))return!1;s=!0}}else{let d=n[++a],p=W0(l,o,jd(e),t);if(p===-1){if(At(r))return!1;s=!0;continue}if(d!==""){let h;if(p>i?h="":h=o[p+1].toLowerCase(),r&2&&d!==h){if(At(r))return!1;s=!0}}}}return At(r)||s}function At(e){return(e&1)===0}function W0(e,n,t,r){if(n===null)return-1;let o=0;if(r||!t){let i=!1;for(;o<n.length;){let s=n[o];if(s===e)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=n[++o];for(;typeof a=="string";)a=n[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return Q0(n,e)}function Gm(e,n,t=!1){for(let r=0;r<n.length;r++)if(q0(e,n[r],t))return!0;return!1}function Z0(e){let n=e.attrs;if(n!=null){let t=n.indexOf(5);if(!(t&1))return n[t+1]}return null}function Y0(e){for(let n=0;n<e.length;n++){let t=e[n];if(Hm(t))return n}return e.length}function Q0(e,n){let t=e.indexOf(4);if(t>-1)for(t++;t<e.length;){let r=e[t];if(typeof r=="number")return-1;if(r===n)return t;t++}return-1}function K0(e,n){e:for(let t=0;t<n.length;t++){let r=n[t];if(e.length===r.length){for(let o=0;o<e.length;o++)if(e[o]!==r[o])continue e;return!0}}return!1}function $g(e,n){return e?":not("+n.trim()+")":n}function J0(e){let n=e[0],t=1,r=2,o="",i=!1;for(;t<e.length;){let s=e[t];if(typeof s=="string")if(r&2){let a=e[++t];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!At(s)&&(n+=$g(i,o),o=""),r=s,i=i||!At(r);t++}return o!==""&&(n+=$g(i,o)),n}function X0(e){return e.map(J0).join(",")}function e_(e){let n=[],t=[],r=1,o=2;for(;r<e.length;){let i=e[r];if(typeof i=="string")o===2?i!==""&&n.push(i,e[++r]):o===8&&t.push(i);
68else{if(!At(o))break;o=i}r++}return{attrs:n,classes:t}}function qm(e){return Di(()=>{let n=Km(e),t=W(E({},n),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Um.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Wt.Emulated,styles:e.styles||nt,_:null,schemas:e.schemas||null,tView:null,id:""});Jm(t);let r=e.dependencies;return t.directiveDefs=Hg(r,!1),t.pipeDefs=Hg(r,!0),t.id=r_(t),t})}function t_(e){return hn(e)||Wm(e)}function n_(e){return e!==null}function Jt(e){return Di(()=>({type:e.type,bootstrap:e.bootstrap||nt,declarations:e.declarations||nt,imports:e.imports||nt,exports:e.exports||nt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Ug(e,n){if(e==null)return uo;let t={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a=Bn.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),n?(t[i]=a!==Bn.None?[r,a]:r,n[i]=s):t[i]=r}return t}function Y(e){return Di(()=>{let n=Km(e);return Jm(n),n})}function Xa(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone===!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function hn(e){return e[C0]||null}function Wm(e){return e[E0]||null}function Zm(e){return e[I0]||null}function Ym(e){let n=hn(e)||Wm(e)||Zm(e);return n!==null?n.standalone:!1}function Qm(e,n){let t=e[_0]||null;if(!t&&n===!0)throw new Error(`Type ${Ge(e)} does not have '\u0275mod' property.`);return t}function Km(e){let n={};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:n,inputTransforms:null,inputConfig:e.inputs||uo,exportAs:e.exportAs||null,standalone:e.standalone===!0,signals:e.signals===!0,selectors:e.selectors||nt,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Ug(e.inputs,n),outputs:Ug(e.outputs),debugInfo:null}}function Jm(e){e.features?.forEach(n=>n(e))}function Hg(e,n){if(!e)return null;let t=n?Zm:t_;return()=>(typeof e=="function"?e():e).map(r=>t(r)).filter(n_)}function r_(e){let n=0,t=[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(let o of t)n=Math.imul(31,n)+o.charCodeAt(0)<<0;return n+=2147483648,"c"+n}function Io(e){return{\u0275providers:e}}function o_(...e){return{\u0275providers:Xm(!0,e),\u0275fromNgModule:!0}}function Xm(e,...n){let t=[],r=new Set,o,i=s=>{t.push(s)};return Vd(n,s=>{let a=s;Mu(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&ev(o,i),t}function ev(e,n){for(let t=0;t<e.length;t++){let{ngModule:r,providers:o}=e[t];Bd(o,i=>{n(i,r)})}}function Mu(e,n,t,r){if(e=ze(e),!e)return!1;let o=null,i=kg(e),s=!i&&hn(e);if(!i&&!s){let l=e.ngModule;if(i=kg(l),i)o=l;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let l=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let d of l)Mu(d,n,t,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let d;try{Vd(i.imports,p=>{Mu(p,n,t,r)&&(d||=[],d.push(p))})}finally{}d!==void 0&&ev(d,n)}if(!a){let d=gr(o)||(()=>new o);n({provide:o,useFactory:d,deps:nt},o),n({provide:$m,useValue:o,multi:!0},o),n({provide:fo,useValue:()=>N(o),multi:!0},o)}let l=i.providers;if(l!=null&&!a){let d=e;Bd(l,p=>{n(p,d)})}}else return!1;return o!==e&&e.providers!==void 0}function Bd(e,n){for(let t of e)Fm(t)&&(t=t.\u0275providers),Array.isArray(t)?Bd(t,n):n(t)}var i_=re({provide:String,useValue:re});function tv(e){return e!==null&&typeof e=="object"&&i_ in e}function s_(e){return!!(e&&e.useExisting)}function a_(e){return!!(e&&e.useFactory)}function ho(e){return typeof e=="function"}function c_(e){return!!e.useClass}var ec=new x(""),ma={},l_={},lu;
68function tc(){return lu===void 0&&(lu=new Ma),lu}var qe=class{},gi=class extends qe{get destroyed(){return this._destroyed}constructor(n,t,r,o){super(),this.parent=t,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Tu(n,s=>this.processProvider(s)),this.records.set(Bm,oo(void 0,this)),o.has("environment")&&this.records.set(qe,oo(void 0,this));let i=this.records.get(ec);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get($m,nt,G.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let n=H(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let t=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of t)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),H(n)}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();let t=Ln(this),r=tt(void 0),o;try{return n()}finally{Ln(t),tt(r)}}get(n,t=hi,r=G.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(Vg))return n[Vg](this);r=Ka(r);let o,i=Ln(this),s=tt(void 0);try{if(!(r&G.SkipSelf)){let l=this.records.get(n);if(l===void 0){let d=p_(n)&&Qa(n);d&&this.injectableDefInScope(d)?l=oo(Su(n),ma):l=null,this.records.set(n,l)}if(l!=null)return this.hydrate(n,l)}let a=r&G.Self?tc():this.parent;return t=r&G.Optional&&t===hi?null:t,a.get(n,t)}catch(a){if(a.name==="NullInjectorError"){if((a[Ia]=a[Ia]||[]).unshift(Ge(n)),i)throw a;return F0(a,n,"R3InjectorError",this.source)}else throw a}finally{tt(s),Ln(i)}}resolveInjectorInitializers(){let n=H(null),t=Ln(this),r=tt(void 0),o;try{let i=this.get(fo,nt,G.Self);for(let s of i)s()}finally{Ln(t),tt(r),H(n)}}toString(){let n=[],t=this.records;for(let r of t.keys())n.push(Ge(r));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new M(205,!1)}processProvider(n){n=ze(n);let t=ho(n)?n:ze(n&&n.provide),r=d_(n);if(!ho(n)&&n.multi===!0){let o=this.records.get(t);o||(o=oo(void 0,ma,!0),o.factory=()=>Iu(o.multi),this.records.set(t,o)),t=n,o.multi.push(n)}this.records.set(t,r)}hydrate(n,t){let r=H(null);try{return t.value===ma&&(t.value=l_,t.value=t.factory()),typeof t.value=="object"&&t.value&&h_(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{H(r)}}injectableDefInScope(n){if(!n.providedIn)return!1;let t=ze(n.providedIn);return typeof t=="string"?t==="any"||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(n){let t=this._onDestroyHooks.indexOf(n);t!==-1&&this._onDestroyHooks.splice(t,1)}};function Su(e){let n=Qa(e),t=n!==null?n.factory:gr(e);if(t!==null)return t;if(e instanceof x)throw new M(204,!1);if(e instanceof Function)return u_(e);throw new M(204,!1)}function u_(e){if(e.length>0)throw new M(204,!1);let t=D0(e);return t!==null?()=>t.factory(e):()=>new e}function d_(e){if(tv(e))return oo(void 0,e.useValue);{let n=nv(e);return oo(n,ma)}}function nv(e,n,t){let r;if(ho(e)){let o=ze(e);return gr(o)||Su(o)}else if(tv(e))r=()=>ze(e.useValue);else if(a_(e))r=()=>e.useFactory(...Iu(e.deps||[]));else if(s_(e))r=()=>N(ze(e.useExisting));else{let o=ze(e&&(e.useClass||e.provide));if(f_(e))r=()=>new o(...Iu(e.deps));else return gr(o)||Su(o)}return r}function oo(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function f_(e){return!!e.deps}function h_(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function p_(e){return typeof e=="function"||typeof e=="object"&&e instanceof x}function Tu(e,n){for(let t of e)Array.isArray(t)?Tu(t,n):t&&Fm(t)?Tu(t.\u0275providers,n):n(t)}function wt(e,n){e instanceof gi&&e.assertNotDestroyed();let t,r=Ln(e),o=tt(void 0);try{return n()}finally{Ln(r),tt(o)}}function rv(){return km()!==void 0||R0()!=null}function ov(e){if(!rv())throw new M(-203,!1)}function g_(e){return typeof e=="function"}var mn=0,F=1,P=2,je=3,Nt=4,rt=5,po=6,Sa=7,Le=8,go=9,Zt=10,he=11,mi=12,zg=13,_o=14,ct=15,mr=16,io=17,pn=18,nc=19,iv=20,Vn=21,va=22,mt=23,Me=25,sv=1;var vr=7,Ta=8,mo=9,Ve=10,xa=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(xa||{});function jn(e){return Array.isArray(e)&&typeof e[sv]=="object"}function vn(e){return Array.isArray(e)&&e[sv]===!0}function $d(e){return(e.flags&4)!==0}
vendor: 4,294 bytes, line 68
68function rc(e){return e.componentOffset>-1}function oc(e){return(e.flags&1)===1}function $n(e){return!!e.template}function xu(e){return(e[P]&512)!==0}var Au=class{constructor(n,t,r){this.previousValue=n,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}};function av(e,n,t,r){n!==null?n.applyValueToInputSignal(n,r):e[t]=r}function Dt(){return cv}function cv(e){return e.type.prototype.ngOnChanges&&(e.setInput=v_),m_}Dt.ngInherit=!0;function m_(){let e=uv(this),n=e?.current;if(n){let t=e.previous;if(t===uo)e.previous=n;else for(let r in n)t[r]=n[r];e.current=null,this.ngOnChanges(n)}}function v_(e,n,t,r,o){let i=this.declaredInputs[r],s=uv(e)||y_(e,{previous:uo,current:null}),a=s.current||(s.current={}),l=s.previous,d=l[i];a[i]=new Au(d&&d.currentValue,t,l===uo),av(e,n,o,t)}var lv="__ngSimpleChanges__";function uv(e){return e[lv]||null}function y_(e,n){return e[lv]=n}var Gg=null;var Gt=function(e,n,t){Gg?.(e,n,t)},dv="svg",w_="math";function Yt(e){for(;Array.isArray(e);)e=e[mn];return e}function fv(e,n){return Yt(n[e])}function bt(e,n){return Yt(n[e.index])}function Ud(e,n){return e.data[n]}function ic(e,n){return e[n]}function Gn(e,n){let t=n[e];return jn(t)?t:t[mn]}function D_(e){return(e[P]&4)===4}function Hd(e){return(e[P]&128)===128}function b_(e){return vn(e[je])}function Un(e,n){return n==null?null:e[n]}function hv(e){e[io]=0}function pv(e){e[P]&1024||(e[P]|=1024,Hd(e)&&ac(e))}function C_(e,n){for(;e>0;)n=n[_o],e--;return n}function sc(e){return!!(e[P]&9216||e[mt]?.dirty)}function Nu(e){e[Zt].changeDetectionScheduler?.notify(8),e[P]&64&&(e[P]|=1024),sc(e)&&ac(e)}function ac(e){e[Zt].changeDetectionScheduler?.notify(0);let n=yr(e);for(;n!==null&&!(n[P]&8192||(n[P]|=8192,!Hd(n)));)n=yr(n)}function gv(e,n){if((e[P]&256)===256)throw new M(911,!1);e[Vn]===null&&(e[Vn]=[]),e[Vn].push(n)}function E_(e,n){if(e[Vn]===null)return;let t=e[Vn].indexOf(n);t!==-1&&e[Vn].splice(t,1)}function yr(e){let n=e[je];return vn(n)?n[je]:n}var j={lFrame:Iv(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var mv=!1;function I_(){return j.lFrame.elementDepthCount}function __(){j.lFrame.elementDepthCount++}function M_(){j.lFrame.elementDepthCount--}function vv(){return j.bindingsEnabled}function yv(){return j.skipHydrationRootTNode!==null}function S_(e){return j.skipHydrationRootTNode===e}function T_(){j.skipHydrationRootTNode=null}function A(){return j.lFrame.lView}function ge(){return j.lFrame.tView}function aB(e){return j.lFrame.contextLView=e,e[Le]}function cB(e){return j.lFrame.contextLView=null,e}function Oe(){let e=wv();for(;e!==null&&e.type===64;)e=e.parent;return e}function wv(){return j.lFrame.currentTNode}function x_(){let e=j.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}function Sr(e,n){let t=j.lFrame;t.currentTNode=e,t.isParent=n}function zd(){return j.lFrame.isParent}function Gd(){j.lFrame.isParent=!1}function A_(){return j.lFrame.contextLView}function Dv(){return mv}function qg(e){mv=e}function lt(){let e=j.lFrame,n=e.bindingRootIndex;return n===-1&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function Tr(){return j.lFrame.bindingIndex}function N_(e){return j.lFrame.bindingIndex=e}function Mo(){return j.lFrame.bindingIndex++}function yn(e){let n=j.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function R_(){return j.lFrame.inI18n}function O_(e,n){let t=j.lFrame;t.bindingIndex=t.bindingRootIndex=e,Ru(n)}function P_(){return j.lFrame.currentDirectiveIndex}function Ru(e){j.lFrame.currentDirectiveIndex=e}function F_(e){let n=j.lFrame.currentDirectiveIndex;return n===-1?null:e[n]}function bv(){return j.lFrame.currentQueryIndex}function qd(e){j.lFrame.currentQueryIndex=e}function k_(e){let n=e[F];return n.type===2?n.declTNode:n.type===1?e[rt]:null}function Cv(e,n,t){if(t&G.SkipSelf){let o=n,i=e;for(;o=o.parent,o===null&&!(t&G.Host);)if(o=k_(i),o===null||(i=i[_o],o.type&10))break;if(o===null)return!1;n=o,e=i}let r=j.lFrame=Ev();return r.currentTNode=n,r.lView=e,!0}function Wd(e){let n=Ev(),t=e[F];j.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function Ev(){let e=j.lFrame,n=e===null?null:e.child;return n===null?Iv(e):n}function Iv(e){let n={currentTNode:null,isParent:!0,lView:null,tView:null,
vendor: 4,126 bytes, line 68
68selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=n),n}function _v(){let e=j.lFrame;return j.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Mv=_v;function Zd(){let e=_v();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 L_(e){return(j.lFrame.contextLView=C_(e,j.lFrame.contextLView))[Le]}function Ze(){return j.lFrame.selectedIndex}function wr(e){j.lFrame.selectedIndex=e}function Ii(){let e=j.lFrame;return Ud(e.tView,e.selectedIndex)}function lB(){j.lFrame.currentNamespace=dv}function V_(){return j.lFrame.currentNamespace}var Sv=!0;function cc(){return Sv}function lc(e){Sv=e}function j_(e,n,t){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=n.type.prototype;if(r){let s=cv(n);(t.preOrderHooks??=[]).push(e,s),(t.preOrderCheckHooks??=[]).push(e,s)}o&&(t.preOrderHooks??=[]).push(0-e,o),i&&((t.preOrderHooks??=[]).push(e,i),(t.preOrderCheckHooks??=[]).push(e,i))}function uc(e,n){for(let t=n.directiveStart,r=n.directiveEnd;t<r;t++){let i=e.data[t].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:l,ngAfterViewChecked:d,ngOnDestroy:p}=i;s&&(e.contentHooks??=[]).push(-t,s),a&&((e.contentHooks??=[]).push(t,a),(e.contentCheckHooks??=[]).push(t,a)),l&&(e.viewHooks??=[]).push(-t,l),d&&((e.viewHooks??=[]).push(t,d),(e.viewCheckHooks??=[]).push(t,d)),p!=null&&(e.destroyHooks??=[]).push(t,p)}}function ya(e,n,t){Tv(e,n,3,t)}function wa(e,n,t,r){(e[P]&3)===t&&Tv(e,n,t,r)}function uu(e,n){let t=e[P];(t&3)===n&&(t&=16383,t+=1,e[P]=t)}function Tv(e,n,t,r){let o=r!==void 0?e[io]&65535:0,i=r??-1,s=n.length-1,a=0;for(let l=o;l<s;l++)if(typeof n[l+1]=="number"){if(a=n[l],r!=null&&a>=r)break}else n[l]<0&&(e[io]+=65536),(a<i||i==-1)&&(B_(e,t,n,l),e[io]=(e[io]&4294901760)+l+2),l++}function Wg(e,n){Gt(4,e,n);let t=H(null);try{n.call(e)}finally{H(t),Gt(5,e,n)}}function B_(e,n,t,r){let o=t[r]<0,i=t[r+1],s=o?-t[r]:t[r],a=e[s];o?e[P]>>14<e[io]>>16&&(e[P]&3)===n&&(e[P]+=16384,Wg(a,i)):Wg(a,i)}var lo=-1,Dr=class{constructor(n,t,r){this.factory=n,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=r}};function $_(e){return e instanceof Dr}function U_(e){return(e.flags&8)!==0}function H_(e){return(e.flags&16)!==0}var du={},Ou=class{constructor(n,t){this.injector=n,this.parentInjector=t}get(n,t,r){r=Ka(r);let o=this.injector.get(n,du,r);return o!==du||t===du?o:this.parentInjector.get(n,t,r)}};function xv(e){return e!==lo}function Aa(e){return e&32767}function z_(e){return e>>16}function Na(e,n){let t=z_(e),r=n;for(;t>0;)r=r[_o],t--;return r}var Pu=!0;function Ra(e){let n=Pu;return Pu=e,n}var G_=256,Av=G_-1,Nv=5,q_=0,qt={};function W_(e,n,t){let r;typeof t=="string"?r=t.charCodeAt(0)||0:t.hasOwnProperty(di)&&(r=t[di]),r==null&&(r=t[di]=q_++);let o=r&Av,i=1<<o;n.data[e+(o>>Nv)]|=i}function Oa(e,n){let t=Rv(e,n);if(t!==-1)return t;let r=n[F];r.firstCreatePass&&(e.injectorIndex=n.length,fu(r.data,e),fu(n,null),fu(r.blueprint,null));let o=Yd(e,n),i=e.injectorIndex;if(xv(o)){let s=Aa(o),a=Na(o,n),l=a[F].data;for(let d=0;d<8;d++)n[i+d]=a[s+d]|l[s+d]}return n[i+8]=o,i}function fu(e,n){e.push(0,0,0,0,0,0,0,0,n)}function Rv(e,n){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||n[e.injectorIndex+8]===null?-1:e.injectorIndex}function Yd(e,n){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let t=0,r=null,o=n;for(;o!==null;){if(r=Lv(o),r===null)return lo;if(t++,o=o[_o],r.injectorIndex!==-1)return r.injectorIndex|t<<16}return lo}function Fu(e,n,t){W_(e,n,t)}function Z_(e,n){if(n==="class")return e.classes;if(n==="style")return e.styles;let t=e.attrs;if(t){let r=t.length,o=0;for(;o<r;){let i=t[o];if(Hm(i))break;if(i===0)o=o+2;else if(typeof i=="number")for(o++;o<r&&typeof t[o]=="string";)o++;else{if(i===n)return t[o+1];o=o+2}}}return null}function Ov(e,n,t){if(t&G.Optional||e!==void 0)return e;
68Ld(n,"NodeInjector")}function Pv(e,n,t,r){if(t&G.Optional&&r===void 0&&(r=null),!(t&(G.Self|G.Host))){let o=e[go],i=tt(void 0);try{return o?o.get(n,r,t&G.Optional):Lm(n,r,t&G.Optional)}finally{tt(i)}}return Ov(r,n,t)}function Fv(e,n,t,r=G.Default,o){if(e!==null){if(n[P]&2048&&!(r&G.Self)){let s=J_(e,n,t,r,qt);if(s!==qt)return s}let i=kv(e,n,t,r,qt);if(i!==qt)return i}return Pv(n,t,r,o)}function kv(e,n,t,r,o){let i=Q_(t);if(typeof i=="function"){if(!Cv(n,e,r))return r&G.Host?Ov(o,t,r):Pv(n,t,r,o);try{let s;if(s=i(r),s==null&&!(r&G.Optional))Ld(t);else return s}finally{Mv()}}else if(typeof i=="number"){let s=null,a=Rv(e,n),l=lo,d=r&G.Host?n[ct][rt]:null;for((a===-1||r&G.SkipSelf)&&(l=a===-1?Yd(e,n):n[a+8],l===lo||!Yg(r,!1)?a=-1:(s=n[F],a=Aa(l),n=Na(l,n)));a!==-1;){let p=n[F];if(Zg(i,a,p.data)){let h=Y_(a,n,t,s,r,d);if(h!==qt)return h}l=n[a+8],l!==lo&&Yg(r,n[F].data[a+8]===d)&&Zg(i,a,n)?(s=p,a=Aa(l),n=Na(l,n)):a=-1}}return o}function Y_(e,n,t,r,o,i){let s=n[F],a=s.data[e+8],l=r==null?rc(a)&&Pu:r!=s&&(a.type&3)!==0,d=o&G.Host&&i===a,p=Da(a,s,t,l,d);return p!==null?br(n,s,p,a):qt}function Da(e,n,t,r,o){let i=e.providerIndexes,s=n.data,a=i&1048575,l=e.directiveStart,d=e.directiveEnd,p=i>>20,h=r?a:a+p,v=o?a+p:d;for(let m=h;m<v;m++){let w=s[m];if(m<l&&t===w||m>=l&&w.type===t)return m}if(o){let m=s[l];if(m&&$n(m)&&m.type===t)return l}return null}function br(e,n,t,r){let o=e[t],i=n.data;if($_(o)){let s=o;s.resolving&&S0(M0(i[t]));let a=Ra(s.canSeeViewProviders);s.resolving=!0;let l,d=s.injectImpl?tt(s.injectImpl):null,p=Cv(e,r,G.Default);try{o=e[t]=s.factory(void 0,i,e,r),n.firstCreatePass&&t>=r.directiveStart&&j_(t,i[t],n)}finally{d!==null&&tt(d),Ra(a),s.resolving=!1,Mv()}}return o}function Q_(e){if(typeof e=="string")return e.charCodeAt(0)||0;let n=e.hasOwnProperty(di)?e[di]:void 0;return typeof n=="number"?n>=0?n&Av:K_:n}function Zg(e,n,t){let r=1<<e;return!!(t[n+(e>>Nv)]&r)}function Yg(e,n){return!(e&G.Self)&&!(e&G.Host&&n)}var pr=class{constructor(n,t){this._tNode=n,this._lView=t}get(n,t,r){return Fv(this._tNode,this._lView,n,Ka(r),t)}};function K_(){return new pr(Oe(),A())}function Ye(e){return Di(()=>{let n=e.prototype.constructor,t=n[Ea]||ku(n),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Ea]||ku(o);if(i&&i!==t)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function ku(e){return Nm(e)?()=>{let n=ku(ze(e));return n&&n()}:gr(e)}function J_(e,n,t,r,o){let i=e,s=n;for(;i!==null&&s!==null&&s[P]&2048&&!(s[P]&512);){let a=kv(i,s,t,r|G.Self,qt);if(a!==qt)return a;let l=i.parent;if(!l){let d=s[iv];if(d){let p=d.get(t,qt,r);if(p!==qt)return p}l=Lv(s),s=s[_o]}i=l}return o}function Lv(e){let n=e[F],t=n.type;return t===2?n.declTNode:t===1?e[rt]:null}function Qd(e){return Z_(Oe(),e)}function Qg(e,n=null,t=null,r){let o=Vv(e,n,t,r);return o.resolveInjectorInitializers(),o}function Vv(e,n=null,t=null,r,o=new Set){let i=[t||nt,o_(e)];return r=r||(typeof e=="object"?void 0:Ge(e)),new gi(i,n||tc(),r||null,o)}var vt=class e{static{this.THROW_IF_NOT_FOUND=hi}static{this.NULL=new Ma}static create(n,t){if(Array.isArray(n))return Qg({name:""},t,n,"");{let r=n.name??"";return Qg({name:r},n.parent,n.providers,r)}}static{this.\u0275prov=S({token:e,providedIn:"any",factory:()=>N(Bm)})}static{this.__NG_ELEMENT_ID__=-1}};var X_=new x("");X_.__NG_ELEMENT_ID__=e=>{let n=Oe();if(n===null)throw new M(204,!1);if(n.type&2)return n.value;if(e&G.Optional)return null;throw new M(204,!1)};var eM="ngOriginalError";function hu(e){return e[eM]}var jv=!0,_i=(()=>{class e{static{this.__NG_ELEMENT_ID__=tM}static{this.__NG_ENV_ID__=t=>t}}return e})(),Lu=class extends _i{constructor(n){super(),this._lView=n}onDestroy(n){return gv(this._lView,n),()=>E_(this._lView,n)}};function tM(){return new Lu(A())}var wn=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Re(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let t=this.taskId++;return this.pendingTasks.add(t),t}remove(t){this.pendingTasks.delete(t),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static{this.\u0275prov=S({token:e,providedIn:"root",factory:()=>new e})}}return e})();var Vu=class extends Te{constructor(n=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=n,rv()&&(this.destroyRef=b(_i,{optional:!0})??void 0,this.pendingTasks=b(wn,{optional:!0})??void 0)}emit(n){let t=H(null);try{super.next(n)}finally{H(t)}}subscribe(n,t,r){let o=n,i=t||(()=>null),s=r;if(n&&typeof n=="object"){let l=n;o=l.next?.bind(l),i=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return n instanceof ue&&n.add(a),a}wrapInTimeout(n){return t=>{let r=this.pendingTasks?.add();setTimeout(()=>{n(t),r!==void 0&&this.pendingTasks?.remove(r)})}}},de=Vu;function Pa(...e){}function Bv(e){let n,t;function r(){e=Pa;try{t!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(t),n!==void 0&&clearTimeout(n)}catch{}}return n=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(t=requestAnimationFrame(()=>{e(),r()})),()=>r()}function Kg(e){return queueMicrotask(()=>e()),()=>{e=Pa}}var Kd="isAngularZone",Fa=Kd+"_ID",nM=0,fe=class e{constructor(n){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new de(!1),this.onMicrotaskEmpty=new de(!1),this.onStable=new de(!1),this.onError=ne
vendor: 6,515 bytes, line 68
68w de(!1);let{enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=jv}=n;if(typeof Zone>"u")throw new M(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,iM(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Kd)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new M(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new M(909,!1)}run(n,t,r){return this._inner.run(n,t,r)}runTask(n,t,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,n,rM,Pa,Pa);try{return i.runTask(s,t,r)}finally{i.cancelTask(s)}}runGuarded(n,t,r){return this._inner.runGuarded(n,t,r)}runOutsideAngular(n){return this._outer.run(n)}},rM={};function Jd(e){if(e._nesting==0&&!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 oM(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function n(){Bv(()=>{e.callbackScheduled=!1,ju(e),e.isCheckStableRunning=!0,Jd(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{n()}):e._outer.run(()=>{n()}),ju(e)}function iM(e){let n=()=>{oM(e)},t=nM++;e._inner=e._inner.fork({name:"angular",properties:{[Kd]:!0,[Fa]:t,[Fa+t]:!0},onInvokeTask:(r,o,i,s,a,l)=>{if(sM(l))return r.invokeTask(i,s,a,l);try{return Jg(e),r.invokeTask(i,s,a,l)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&n(),Xg(e)}},onInvoke:(r,o,i,s,a,l,d)=>{try{return Jg(e),r.invoke(i,s,a,l,d)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!aM(l)&&n(),Xg(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,ju(e),Jd(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function ju(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Jg(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Xg(e){e._nesting--,Jd(e)}var Bu=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new de,this.onMicrotaskEmpty=new de,this.onStable=new de,this.onError=new de}run(n,t,r){return n.apply(t,r)}runGuarded(n,t,r){return n.apply(t,r)}runOutsideAngular(n){return n()}runTask(n,t,r,o){return n.apply(t,r)}};function sM(e){return $v(e,"__ignore_ng_zone__")}function aM(e){return $v(e,"__scheduler_tick__")}function $v(e,n){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[n]===!0}var Rt=class{constructor(){this._console=console}handleError(n){let t=this._findOriginalError(n);this._console.error("ERROR",n),t&&this._console.error("ORIGINAL ERROR",t)}_findOriginalError(n){let t=n&&hu(n);for(;t&&hu(t);)t=hu(t);return t||null}},cM=new x("",{providedIn:"root",factory:()=>{let e=b(fe),n=b(Rt);return t=>e.runOutsideAngular(()=>n.handleError(t))}}),$u=class{constructor(){this.destroyed=!1,this.listeners=null,this.errorHandler=b(Rt,{optional:!0}),this.destroyRef=b(_i),this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(n){if(this.destroyed)throw new M(953,!1);return(this.listeners??=[]).push(n),{unsubscribe:()=>{let t=this.listeners?.indexOf(n);t!==void 0&&t!==-1&&this.listeners?.splice(t,1)}}}emit(n){if(this.destroyed)throw new M(953,!1);if(this.listeners===null)return;let t=H(null);try{for(let r of this.listeners)try{r(n)}catch(o){this.errorHandler?.handleError(o)}}finally{H(t)}}};function uB(e){return new $u}function em(e,n){return xm(e,n)}function lM(e){return xm(Tm,e)}var dB=(em.required=lM,em);function uM(){return So(Oe(),A())}function So(e,n){return new Be(bt(e,n))}var Be=(()=>{class e{constructor(t){this.nativeElement=t}static{this.__NG_ELEMENT_ID__=uM}}return e})();function dM(e){return e instanceof Be?e.nativeElement:e}function fM(){return this._results[Symbol.iterator]()}var Uu=class e{get changes(){return this._changes??=new de}constructor(n=!1){this._emitDistinctChangesOnly=n,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;let t=e.prototype;t[Symbol.iterator]||(t[Symbol.iterator]=fM)}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,t){return this._results.reduce(n,t)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,t){this.dirty=!1;let r=V0(n);(this._changesDetected=!L0(this._results,r,t))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(n){this._onDirty=n}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}};function Uv(e){return(e.flags&128)===128}var Hv=new Map,hM=0;function pM(){return hM++}function gM(e){Hv.set(e[nc],e)}function Hu(e){Hv.delete(e[nc])}var tm="__ngContext__";function Hn(e,n){jn(n)?(e[tm]=n[nc],gM(n)):e[tm]=n}function zv(e){return qv(e[mi])}function Gv(e){return qv(e[Nt])}function qv(e){for(;e!==null&&!vn(e);)e=e[Nt];return e}var zu;function Wv(e){zu=e}function Zv(){if(zu!==void 0)return zu;if(typeof document<"u")return document;throw new M(210,!1)}var Xd=new x("",{providedIn:"root",factory:()=>mM}),mM="ng",ef=new x(""),Xt=new x("",{providedIn:"platform",factory:()=>"unknown"});var fB=new x(""),tf=new x("",{providedIn:"root",factory:()=>Zv().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var vM="h",yM="b";var wM=()=>null;function nf(e,n,t=!1){return wM(e,n,t)}var Yv=!1,DM=new x("",{providedIn:"root",factory:()=>Yv});var ua;
vendor: 4,356 bytes, line 68
68function bM(){if(ua===void 0&&(ua=null,fn.trustedTypes))try{ua=fn.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ua}function dc(e){return bM()?.createHTML(e)||e}var da;function Qv(){if(da===void 0&&(da=null,fn.trustedTypes))try{da=fn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return da}function nm(e){return Qv()?.createHTML(e)||e}function rm(e){return Qv()?.createScriptURL(e)||e}var gn=class{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Sm})`}},Gu=class extends gn{getTypeName(){return"HTML"}},qu=class extends gn{getTypeName(){return"Style"}},Wu=class extends gn{getTypeName(){return"Script"}},Zu=class extends gn{getTypeName(){return"URL"}},Yu=class extends gn{getTypeName(){return"ResourceURL"}};function ut(e){return e instanceof gn?e.changingThisBreaksApplicationSecurity:e}function Dn(e,n){let t=CM(e);if(t!=null&&t!==n){if(t==="ResourceURL"&&n==="URL")return!0;throw new Error(`Required a safe ${n}, got a ${t} (see ${Sm})`)}return t===n}function CM(e){return e instanceof gn&&e.getTypeName()||null}function Kv(e){return new Gu(e)}function Jv(e){return new qu(e)}function Xv(e){return new Wu(e)}function ey(e){return new Zu(e)}function ty(e){return new Yu(e)}function EM(e){let n=new Ku(e);return IM()?new Qu(n):n}var Qu=class{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{let t=new window.DOMParser().parseFromString(dc(n),"text/html").body;return t===null?this.inertDocumentHelper.getInertBodyElement(n):(t.firstChild?.remove(),t)}catch{return null}}},Ku=class{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){let t=this.inertDocument.createElement("template");return t.innerHTML=dc(n),t}};function IM(){try{return!!new window.DOMParser().parseFromString(dc(""),"text/html")}catch{return!1}}var _M=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function fc(e){return e=String(e),e.match(_M)?e:"unsafe:"+e}function bn(e){let n={};for(let t of e.split(","))n[t]=!0;return n}function Mi(...e){let n={};for(let t of e)for(let r in t)t.hasOwnProperty(r)&&(n[r]=!0);return n}var ny=bn("area,br,col,hr,img,wbr"),ry=bn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),oy=bn("rp,rt"),MM=Mi(oy,ry),SM=Mi(ry,bn("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")),TM=Mi(oy,bn("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")),om=Mi(ny,SM,TM,MM),iy=bn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),xM=bn("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"),AM=bn("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"),NM=Mi(iy,xM,AM),RM=bn("script,style,template"),Ju=class{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(n){let t=n.firstChild,r=!0,o=[];for(;t;
vendor: 5,768 bytes, line 68
68){if(t.nodeType===Node.ELEMENT_NODE?r=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,r&&t.firstChild){o.push(t),t=FM(t);continue}for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let i=PM(t);if(i){t=i;break}t=o.pop()}}return this.buf.join("")}startElement(n){let t=im(n).toLowerCase();if(!om.hasOwnProperty(t))return this.sanitizedSomething=!0,!RM.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);let r=n.attributes;for(let o=0;o<r.length;o++){let i=r.item(o),s=i.name,a=s.toLowerCase();if(!NM.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let l=i.value;iy[a]&&(l=fc(l)),this.buf.push(" ",s,'="',sm(l),'"')}return this.buf.push(">"),!0}endElement(n){let t=im(n).toLowerCase();om.hasOwnProperty(t)&&!ny.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(n){this.buf.push(sm(n))}};function OM(e,n){return(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function PM(e){let n=e.nextSibling;if(n&&e!==n.previousSibling)throw sy(n);return n}function FM(e){let n=e.firstChild;if(n&&OM(e,n))throw sy(n);return n}function im(e){let n=e.nodeName;return typeof n=="string"?n:"FORM"}function sy(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var kM=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,LM=/([^\#-~ |!])/g;function sm(e){return e.replace(/&/g,"&").replace(kM,function(n){let t=n.charCodeAt(0),r=n.charCodeAt(1);return"&#"+((t-55296)*1024+(r-56320)+65536)+";"}).replace(LM,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var fa;function rf(e,n){let t=null;try{fa=fa||EM(e);let r=n?String(n):"";t=fa.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=t.innerHTML,t=fa.getInertBodyElement(r)}while(r!==i);let a=new Ju().sanitizeChildren(am(t)||t);return dc(a)}finally{if(t){let r=am(t)||t;for(;r.firstChild;)r.firstChild.remove()}}}function am(e){return"content"in e&&VM(e)?e.content:null}function VM(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var Ot=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}(Ot||{});function hB(e){let n=of();return n?nm(n.sanitize(Ot.HTML,e)||""):Dn(e,"HTML")?nm(ut(e)):rf(Zv(),U(e))}function jM(e){let n=of();return n?n.sanitize(Ot.URL,e)||"":Dn(e,"URL")?ut(e):fc(U(e))}function BM(e){let n=of();if(n)return rm(n.sanitize(Ot.RESOURCE_URL,e)||"");if(Dn(e,"ResourceURL"))return rm(ut(e));throw new M(904,!1)}function $M(e,n){return n==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||n==="href"&&(e==="base"||e==="link")?BM:jM}function ay(e,n,t){return $M(n,t)(e)}function of(){let e=A();return e&&e[Zt].sanitizer}var UM=/^>|^->|<!--|-->|--!>|<!-$/g,HM=/(<|>)/g,zM="\u200B$1\u200B";function GM(e){return e.replace(UM,n=>n.replace(HM,zM))}function pB(e){return e.ownerDocument.defaultView}function gB(e){return e.ownerDocument}function cy(e){return e instanceof Function?e():e}function qM(e){return(e??b(vt)).get(Xt)==="browser"}var Qt=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Qt||{}),WM;function sf(e,n){return WM(e,n)}function so(e,n,t,r,o){if(r!=null){let i,s=!1;vn(r)?i=r:jn(r)&&(s=!0,r=r[mn]);let a=Yt(r);e===0&&t!==null?o==null?hy(n,t,a):ka(n,t,a,o||null,!0):e===1&&t!==null?ka(n,t,a,o||null,!0):e===2?aS(n,a,s):e===3&&n.destroyNode(a),i!=null&&lS(n,e,i,t,o)}}function ZM(e,n){return e.createText(n)}function YM(e,n,t){e.setValue(n,t)}function QM(e,n){return e.createComment(GM(n))}function ly(e,n,t){return e.createElement(n,t)}function KM(e,n){uy(e,n),n[mn]=null,n[rt]=null}function JM(e,n,t,r,o,i){r[mn]=o,r[rt]=n,gc(e,r,t,1,o,i)}function uy(e,n){n[Zt].changeDetectionScheduler?.notify(9),gc(e,n,n[he],2,null,null)}function XM(e){let n=e[mi];if(!n)return pu(e[F],e);for(;n;){let t=null;if(jn(n))t=n[mi];else{let r=n[Ve];r&&(t=r)}if(!t){for(;n&&!n[Nt]&&n!==e;)jn(n)&&pu(n[F],n),n=n[je];n===null&&(n=e),jn(n)&&pu(n[F],n),t=n&&n[Nt]}n=t}}function eS(e,n,t,r){let o=Ve+r,i=t.length;r>0&&(t[o-1][Nt]=n),r<i-Ve?(n[Nt]=t[o],jm(t,Ve+r,n)):(t.push(n),n[Nt]=null),n[je]=t;let s=n[mr];s!==null&&t!==s&&dy(s,n);let a=n[pn];a!==null&&a.insertView(e),Nu(n),n[P]|=128}function dy(e,n){let t=e[mo],r=n[je];if(jn(r))e[P]|=xa.HasTransplantedViews;else{let o=r[je][ct];n[ct]!==o&&(e[P]|=xa.HasTransplantedViews)}t===null?e[mo]=[n]:t.push(n)}function af(e,n){let t=e[mo],r=t.indexOf(n);t.splice(r,1)}function vi(e,n){if(e.length<=Ve)return;let t=Ve+n,r=e[t];if(r){let o=r[mr];o!==null&&o!==e&&af(o,r),n>0&&(e[t-1][Nt]=r[Nt]);let i=_a(e,Ve+n);KM(r[F],r);let s=i[pn];s!==null&&s.detachView(i[F]),r[je]=null,r[Nt]=null,r[P]&=-129}return r}function hc(e,n){if(!(n[P]&256)){let t=n[he];t.destroyNode&&gc(e,n,t,3,null,null),XM(n)}}function pu(e,n){if(n[P]&256)return;let t=H(null);try{n[P]&=-129,n[P]|=256,n[mt]&&Ps(n[mt]),nS(e,n),tS(e,n),n[F].type===1&&n[he].destroy();let r=n[mr];if(r!==null&&vn(n[je])){r!==n[je]&&af(r,n);let o=n[pn];o!==null&&o.detachView(e)}Hu(n)}finally{H(t)}}function tS(e,n){let t=e.cleanup,r=n[Sa];if(t!==null)for(let i=0;i<t.length-1;i+=2)if(typeof t[i]=="string"){let s=t[i+3];s>=0?r[s]():r[-s].unsubscribe(),i+=2}else{let s=r[t[i+1]];t[i].call(s)}r!==null&&(n[Sa]=null);let o=n[Vn];if(o!==null){n[Vn]=null;for(let i=0;i<o.length;i++){let s=o[i];s()}}}function nS(e,n){let t;if(e!=null&&(t=e.destroyHooks)!=null)for(let r=0;r<t.length;r+=2){let o=n[t[r]];if(!(o instanceof Dr)){let i=t[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],l=i[s+1];Gt(4,a,l);try{l.call(a)}finally{Gt(5,a,l)}}else{Gt(4,o,i);
vendor: 4,737 bytes, line 68
68try{i.call(o)}finally{Gt(5,o,i)}}}}}function fy(e,n,t){return rS(e,n.parent,t)}function rS(e,n,t){let r=n;for(;r!==null&&r.type&168;)n=r,r=n.parent;if(r===null)return t[mn];{let{componentOffset:o}=r;if(o>-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===Wt.None||i===Wt.Emulated)return null}return bt(r,t)}}function ka(e,n,t,r,o){e.insertBefore(n,t,r,o)}function hy(e,n,t){e.appendChild(n,t)}function cm(e,n,t,r,o){r!==null?ka(e,n,t,r,o):hy(e,n,t)}function py(e,n){return e.parentNode(n)}function oS(e,n){return e.nextSibling(n)}function gy(e,n,t){return sS(e,n,t)}function iS(e,n,t){return e.type&40?bt(e,t):null}var sS=iS,lm;function pc(e,n,t,r){let o=fy(e,r,n),i=n[he],s=r.parent||n[rt],a=gy(s,r,n);if(o!=null)if(Array.isArray(t))for(let l=0;l<t.length;l++)cm(i,o,t[l],a,!1);else cm(i,o,t,a,!1);lm!==void 0&&lm(i,r,n,t,o)}function ui(e,n){if(n!==null){let t=n.type;if(t&3)return bt(n,e);if(t&4)return Xu(-1,e[n.index]);if(t&8){let r=n.child;if(r!==null)return ui(e,r);{let o=e[n.index];return vn(o)?Xu(-1,o):Yt(o)}}else{if(t&128)return ui(e,n.next);if(t&32)return sf(n,e)()||Yt(e[n.index]);{let r=my(e,n);if(r!==null){if(Array.isArray(r))return r[0];let o=yr(e[ct]);return ui(o,r)}else return ui(e,n.next)}}}return null}function my(e,n){if(n!==null){let r=e[ct][rt],o=n.projection;return r.projection[o]}return null}function Xu(e,n){let t=Ve+e+1;if(t<n.length){let r=n[t],o=r[F].firstChild;if(o!==null)return ui(r,o)}return n[vr]}function aS(e,n,t){e.removeChild(null,n,t)}function cf(e,n,t,r,o,i,s){for(;t!=null;){if(t.type===128){t=t.next;continue}let a=r[t.index],l=t.type;if(s&&n===0&&(a&&Hn(Yt(a),r),t.flags|=2),(t.flags&32)!==32)if(l&8)cf(e,n,t.child,r,o,i,!1),so(n,e,o,a,i);else if(l&32){let d=sf(t,r),p;for(;p=d();)so(n,e,o,p,i);so(n,e,o,a,i)}else l&16?vy(e,n,r,t,o,i):so(n,e,o,a,i);t=s?t.projectionNext:t.next}}function gc(e,n,t,r,o,i){cf(t,r,e.firstChild,n,o,i,!1)}function cS(e,n,t){let r=n[he],o=fy(e,t,n),i=t.parent||n[rt],s=gy(i,t,n);vy(r,0,n,t,o,s)}function vy(e,n,t,r,o,i){let s=t[ct],l=s[rt].projection[r.projection];if(Array.isArray(l))for(let d=0;d<l.length;d++){let p=l[d];so(n,e,o,p,i)}else{let d=l,p=s[je];Uv(r)&&(d.flags|=128),cf(e,n,d,p,o,i,!0)}}function lS(e,n,t,r,o){let i=t[vr],s=Yt(t);i!==s&&so(n,e,r,i,o);for(let a=Ve;a<t.length;a++){let l=t[a];gc(l[F],l,e,n,r,i)}}function uS(e,n,t,r,o){if(n)o?e.addClass(t,r):e.removeClass(t,r);else{let i=r.indexOf("-")===-1?void 0:Qt.DashCase;o==null?e.removeStyle(t,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Qt.Important),e.setStyle(t,r,o,i))}}function dS(e,n,t){e.setAttribute(n,"style",t)}function yy(e,n,t){t===""?e.removeAttribute(n,"class"):e.setAttribute(n,"class",t)}function wy(e,n,t){let{mergedAttrs:r,classes:o,styles:i}=t;r!==null&&_u(e,n,r),o!==null&&yy(e,n,o),i!==null&&dS(e,n,i)}var oe={};function mB(e=1){Dy(ge(),A(),Ze()+e,!1)}function Dy(e,n,t,r){if(!r)if((n[P]&3)===3){let i=e.preOrderCheckHooks;i!==null&&ya(n,i,t)}else{let i=e.preOrderHooks;i!==null&&wa(n,i,0,t)}wr(t)}function T(e,n=G.Default){let t=A();if(t===null)return N(e,n);let r=Oe();return Fv(r,t,ze(e),n)}function by(){let e="invalid";throw new Error(e)}function Cy(e,n,t,r,o,i){let s=H(null);try{let a=null;o&Bn.SignalBased&&(a=n[r][St]),a!==null&&a.transformFn!==void 0&&(i=a.transformFn(i)),o&Bn.HasDecoratorInputTransform&&(i=e.inputTransforms[r].call(n,i)),e.setInput!==null?e.setInput(n,a,i,t,r):av(n,a,r,i)}finally{H(s)}}function fS(e,n){let t=e.hostBindingOpCodes;if(t!==null)try{for(let r=0;r<t.length;r++){let o=t[r];if(o<0)wr(~o);else{let i=o,s=t[++r],a=t[++r];O_(s,i);let l=n[i];a(2,l)}}}finally{wr(-1)}}function mc(e,n,t,r,o,i,s,a,l,d,p){let h=n.blueprint.slice();return h[mn]=o,h[P]=r|4|128|8|64,(d!==null||e&&e[P]&2048)&&(h[P]|=2048),hv(h),h[je]=h[_o]=e,h[Le]=t,h[Zt]=s||e&&e[Zt],h[he]=a||e&&e[he],h[go]=l||e&&e[go]||null,h[rt]=i,h[nc]=pM(),h[po]=p,h[iv]=d,h[ct]=n.type==2?e[ct]:h,h}function To(e,n,t,r,o){let i=e.data[n];if(i===null)i=hS(e,n,t,r,o),R_()&&(i.flags|=32);else if(i.type&64){i.type=t,i.value=r,i.attrs=o;let s=x_();i.injectorIndex=s===null?-1:s.injectorIndex}return Sr(i,!0),i}function hS(e,n,t,r,o){let i=wv(),s=zd(),a=s?i:i&&i.parent,l=e.data[n]=wS(e,a,t,n,r,o);return e.firstChild===null&&(e.firstChild=l),i!==null&&(s?i.child==null&&l.parent!==null&&(i.child=l):i.next===null&&(i.next=l,l.prev=i)),l}function Ey(e,n,t,r){if(t===0)return-1;let o=n.length;for(let i=0;i<t;i++)n.push(r),e.blueprint.push(r),e.data.push(null);return o}function Iy(e,n,t,r,o){let i=Ze(),s=r&2;try{wr(-1),s&&n.length>Me&&Dy(e,n,Me,!1),Gt(s?2:0,o),t(r,o)}finally{wr(i),Gt(s?3:1,o)}}function lf(e,n,t){if($d(n)){let r=H(null);try{let o=n.directiveStart,i=n.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let l=t[s];
68a.contentQueries(1,l,s)}}}finally{H(r)}}}function uf(e,n,t){vv()&&(_S(e,n,t,bt(t,n)),(t.flags&64)===64&&Sy(e,n,t))}function df(e,n,t=bt){let r=n.localNames;if(r!==null){let o=n.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?t(n,e):e[s];e[o++]=a}}}function _y(e){let n=e.tView;return n===null||n.incompleteFirstPass?e.tView=ff(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):n}function ff(e,n,t,r,o,i,s,a,l,d,p){let h=Me+r,v=h+o,m=pS(h,v),w=typeof d=="function"?d():d;return m[F]={type:e,blueprint:m,template:t,queries:null,viewQuery:a,declTNode:n,data:m.slice().fill(null,h),bindingStartIndex:h,expandoStartIndex:v,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:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:l,consts:w,incompleteFirstPass:!1,ssrId:p}}function pS(e,n){let t=[];for(let r=0;r<n;r++)t.push(r<e?null:oe);return t}function gS(e,n,t,r){let i=r.get(DM,Yv)||t===Wt.ShadowDom,s=e.selectRootElement(n,i);return mS(s),s}function mS(e){vS(e)}var vS=()=>null;function yS(e,n,t,r){let o=Ay(n);o.push(t),e.firstCreatePass&&Ny(e).push(r,o.length-1)}function wS(e,n,t,r,o,i){let s=n?n.injectorIndex:-1,a=0;return yv()&&(a|=128),{type:t,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function um(e,n,t,r,o){for(let i in n){if(!n.hasOwnProperty(i))continue;let s=n[i];if(s===void 0)continue;r??={};let a,l=Bn.None;Array.isArray(s)?(a=s[0],l=s[1]):a=s;let d=i;if(o!==null){if(!o.hasOwnProperty(i))continue;d=o[i]}e===0?dm(r,t,d,a,l):dm(r,t,d,a)}return r}function dm(e,n,t,r,o){let i;e.hasOwnProperty(t)?(i=e[t]).push(n,r):i=e[t]=[n,r],o!==void 0&&i.push(o)}function DS(e,n,t){let r=n.directiveStart,o=n.directiveEnd,i=e.data,s=n.attrs,a=[],l=null,d=null;for(let p=r;p<o;p++){let h=i[p],v=t?t.get(h):null,m=v?v.inputs:null,w=v?v.outputs:null;l=um(0,h.inputs,p,l,m),d=um(1,h.outputs,p,d,w);let D=l!==null&&s!==null&&!jd(n)?kS(l,p,s):null;a.push(D)}l!==null&&(l.hasOwnProperty("class")&&(n.flags|=8),l.hasOwnProperty("style")&&(n.flags|=16)),n.initialInputs=a,n.inputs=l,n.outputs=d}function bS(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function vc(e,n,t,r,o,i,s,a){let l=bt(n,t),d=n.inputs,p;!a&&d!=null&&(p=d[r])?(pf(e,t,p,r,o),rc(n)&&CS(t,n.index)):n.type&3?(r=bS(r),o=s!=null?s(o,n.value||"",r):o,i.setProperty(l,r,o)):n.type&12}function CS(e,n){let t=Gn(n,e);t[P]&16||(t[P]|=64)}function hf(e,n,t,r){if(vv()){let o=r===null?null:{"":-1},i=SS(e,t),s,a;i===null?s=a=null:[s,a]=i,s!==null&&My(e,n,t,s,o,a),o&&TS(t,r,o)}t.mergedAttrs=pi(t.mergedAttrs,t.attrs)}function My(e,n,t,r,o,i){for(let d=0;d<r.length;d++)Fu(Oa(t,n),e,r[d].type);AS(t,e.data.length,r.length);for(let d=0;d<r.length;d++){let p=r[d];p.providersResolver&&p.providersResolver(p)}let s=!1,a=!1,l=Ey(e,n,r.length,null);for(let d=0;d<r.length;d++){let p=r[d];t.mergedAttrs=pi(t.mergedAttrs,p.hostAttrs),NS(e,t,n,l,p),xS(l,p,o),p.contentQueries!==null&&(t.flags|=4),(p.hostBindings!==null||p.hostAttrs!==null||p.hostVars!==0)&&(t.flags|=64);let h=p.type.prototype;!s&&(h.ngOnChanges||h.ngOnInit||h.ngDoCheck)&&((e.preOrderHooks??=[]).push(t.index),s=!0),!a&&(h.ngOnChanges||h.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(t.index),a=!0),l++}DS(e,t,i)}function ES(e,n,t,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~n.index;IS(s)!=a&&s.push(a),s.push(t,r,i)}}function IS(e){let n=e.length;for(;n>0;){let t=e[--n];if(typeof t=="number"&&t<0)return t}return 0}function _S(e,n,t,r){let o=t.directiveStart,i=t.directiveEnd;
68rc(t)&&RS(n,t,e.data[o+t.componentOffset]),e.firstCreatePass||Oa(t,n),Hn(r,n);let s=t.initialInputs;for(let a=o;a<i;a++){let l=e.data[a],d=br(n,e,a,t);if(Hn(d,n),s!==null&&FS(n,a-o,d,l,t,s),$n(l)){let p=Gn(t.index,n);p[Le]=br(n,e,a,t)}}}function Sy(e,n,t){let r=t.directiveStart,o=t.directiveEnd,i=t.index,s=P_();try{wr(i);for(let a=r;a<o;a++){let l=e.data[a],d=n[a];Ru(a),(l.hostBindings!==null||l.hostVars!==0||l.hostAttrs!==null)&&MS(l,d)}}finally{wr(-1),Ru(s)}}function MS(e,n){e.hostBindings!==null&&e.hostBindings(1,n)}function SS(e,n){let t=e.directiveRegistry,r=null,o=null;if(t)for(let i=0;i<t.length;i++){let s=t[i];if(Gm(n,s.selectors,!1))if(r||(r=[]),$n(s))if(s.findHostDirectiveDefs!==null){let a=[];o=o||new Map,s.findHostDirectiveDefs(s,a,o),r.unshift(...a,s);let l=a.length;ed(e,n,l)}else r.unshift(s),ed(e,n,0);else o=o||new Map,s.findHostDirectiveDefs?.(s,r,o),r.push(s)}return r===null?null:[r,o]}function ed(e,n,t){n.componentOffset=t,(e.components??=[]).push(n.index)}function TS(e,n,t){if(n){let r=e.localNames=[];for(let o=0;o<n.length;o+=2){let i=t[n[o+1]];if(i==null)throw new M(-301,!1);r.push(n[o],i)}}}function xS(e,n,t){if(t){if(n.exportAs)for(let r=0;r<n.exportAs.length;r++)t[n.exportAs[r]]=e;$n(n)&&(t[""]=e)}}function AS(e,n,t){e.flags|=1,e.directiveStart=n,e.directiveEnd=n+t,e.providerIndexes=n}function NS(e,n,t,r,o){e.data[r]=o;let i=o.factory||(o.factory=gr(o.type,!0)),s=new Dr(i,$n(o),T);e.blueprint[r]=s,t[r]=s,ES(e,n,r,Ey(e,t,o.hostVars,oe),o)}function RS(e,n,t){let r=bt(n,e),o=_y(t),i=e[Zt].rendererFactory,s=16;t.signals?s=4096:t.onPush&&(s=64);let a=yc(e,mc(e,o,null,s,r,n,null,i.createRenderer(r,t),null,null,null));e[n.index]=a}function OS(e,n,t,r,o,i){let s=bt(e,n);PS(n[he],s,i,e.value,t,r,o)}function PS(e,n,t,r,o,i,s){if(i==null)e.removeAttribute(n,o,t);else{let a=s==null?U(i):s(i,r||"",o);e.setAttribute(n,o,a,t)}}function FS(e,n,t,r,o,i){let s=i[n];if(s!==null)for(let a=0;a<s.length;){let l=s[a++],d=s[a++],p=s[a++],h=s[a++];Cy(r,t,l,d,p,h)}}function kS(e,n,t){let r=null,o=0;for(;o<t.length;){let i=t[o];if(i===0){o+=4;continue}else if(i===5){o+=2;continue}if(typeof i=="number")break;if(e.hasOwnProperty(i)){r===null&&(r=[]);let s=e[i];for(let a=0;a<s.length;a+=3)if(s[a]===n){r.push(i,s[a+1],s[a+2],t[o+1]);break}}o+=2}return r}function Ty(e,n,t,r){return[e,!0,0,n,null,r,null,t,null,null]}function xy(e,n){let t=e.contentQueries;if(t!==null){let r=H(null);try{for(let o=0;o<t.length;o+=2){let i=t[o],s=t[o+1];if(s!==-1){let a=e.data[s];qd(i),a.contentQueries(2,n[s],s)}}}finally{H(r)}}}function yc(e,n){return e[mi]?e[zg][Nt]=n:e[mi]=n,e[zg]=n,n}function td(e,n,t){qd(0);let r=H(null);try{n(e,t)}finally{H(r)}}function Ay(e){return e[Sa]??=[]}function Ny(e){return e.cleanup??=[]}function Ry(e,n){let t=e[go],r=t?t.get(Rt,null):null;r&&r.handleError(n)}function pf(e,n,t,r,o){for(let i=0;i<t.length;){let s=t[i++],a=t[i++],l=t[i++],d=n[s],p=e.data[s];Cy(p,d,r,a,l,o)}}function qn(e,n,t){let r=fv(n,e);YM(e[he],r,t)}function LS(e,n){let t=Gn(n,e),r=t[F];VS(r,t);let o=t[mn];o!==null&&t[po]===null&&(t[po]=nf(o,t[go])),gf(r,t,t[Le])}function VS(e,n){for(let t=n.length;t<e.blueprint.length;t++)n.push(e.blueprint[t])}function gf(e,n,t){Wd(n);try{let r=e.viewQuery;r!==null&&td(1,r,t);let o=e.template;o!==null&&Iy(e,n,o,1,t),e.firstCreatePass&&(e.firstCreatePass=!1),n[pn]?.finishViewCreation(e),e.staticContentQueries&&xy(e,n),e.staticViewQueries&&td(2,e.viewQuery,t);let i=e.components;i!==null&&jS(n,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{n[P]&=-5,Zd()}}function jS(e,n){for(let t=0;t<n.length;t++)LS(e,n[t])}function Si(e,n,t,r){let o=H(null);try{let i=n.tView,a=e[P]&4096?4096:16,l=mc(e,i,t,a,null,n,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),d=e[n.index];l[mr]=d;let p=e[pn];return p!==null&&(l[pn]=p.createEmbeddedView(i)),gf(i,l,t),l}finally{H(o)}}function Oy(e,n){let t=Ve+n;if(t<e.length)return e[t]}function vo(e,n){return!n||n.firstChild===null||Uv(e)}function Ti(e,n,t,r=!0){let o=n[F];if(eS(o,n,e,t),r){let s=Xu(t,e),a=n[he],l=py(a,e[vr]);l!==null&&JM(o,e[rt],a,n,l,s)}let i=n[po];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Py(e,n){let t=vi(e,n);return t!==void 0&&hc(t[F],t),t}function La(e,n,t,r,o=!1){for(;t!==null;){if(t.type===128){t=o?t.projectionNext:t.next;continue}let i=n[t.index];i!==null&&r.push(Yt(i)),vn(i)&&BS(i,r);let s=t.type;if(s&8)La(e,n,t.child,r);else if(s&32){let a=sf(t,n),l;
68for(;l=a();)r.push(l)}else if(s&16){let a=my(n,t);if(Array.isArray(a))r.push(...a);else{let l=yr(n[ct]);La(l[F],l,a,r,!0)}}t=o?t.projectionNext:t.next}return r}function BS(e,n){for(let t=Ve;t<e.length;t++){let r=e[t],o=r[F].firstChild;o!==null&&La(r[F],r,o,n)}e[vr]!==e[mn]&&n.push(e[vr])}var Fy=[];function $S(e){return e[mt]??US(e)}function US(e){let n=Fy.pop()??Object.create(zS);return n.lView=e,n}function HS(e){e.lView[mt]!==e&&(e.lView=null,Fy.push(e))}var zS=W(E({},Ur),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{ac(e.lView)},consumerOnSignalRead(){this.lView[mt]=this}});function GS(e){let n=e[mt]??Object.create(qS);return n.lView=e,n}var qS=W(E({},Ur),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let n=yr(e.lView);for(;n&&!ky(n[F]);)n=yr(n);n&&pv(n)},consumerOnSignalRead(){this.lView[mt]=this}});function ky(e){return e.type!==2}var WS=100;function Ly(e,n=!0,t=0){let r=e[Zt],o=r.rendererFactory,i=!1;i||o.begin?.();try{ZS(e,t)}catch(s){throw n&&Ry(e,s),s}finally{i||(o.end?.(),r.inlineEffectRunner?.flush())}}function ZS(e,n){let t=Dv();try{qg(!0),nd(e,n);let r=0;for(;sc(e);){if(r===WS)throw new M(103,!1);r++,nd(e,1)}}finally{qg(t)}}function YS(e,n,t,r){let o=n[P];if((o&256)===256)return;let i=!1,s=!1;!i&&n[Zt].inlineEffectRunner?.flush(),Wd(n);let a=!0,l=null,d=null;i||(ky(e)?(d=$S(n),l=oi(d)):Wp()===null?(a=!1,d=GS(n),l=oi(d)):n[mt]&&(Ps(n[mt]),n[mt]=null));try{hv(n),N_(e.bindingStartIndex),t!==null&&Iy(e,n,t,2,r);let p=(o&3)===3;if(!i)if(p){let m=e.preOrderCheckHooks;m!==null&&ya(n,m,null)}else{let m=e.preOrderHooks;m!==null&&wa(n,m,0,null),uu(n,0)}if(s||QS(n),Vy(n,0),e.contentQueries!==null&&xy(e,n),!i)if(p){let m=e.contentCheckHooks;m!==null&&ya(n,m)}else{let m=e.contentHooks;m!==null&&wa(n,m,1),uu(n,1)}fS(e,n);let h=e.components;h!==null&&By(n,h,0);let v=e.viewQuery;if(v!==null&&td(2,v,r),!i)if(p){let m=e.viewCheckHooks;m!==null&&ya(n,m)}else{let m=e.viewHooks;m!==null&&wa(n,m,2),uu(n,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),n[va]){for(let m of n[va])m();n[va]=null}i||(n[P]&=-73)}catch(p){throw i||ac(n),p}finally{d!==null&&(Rs(d,l),a&&HS(d)),Zd()}}function Vy(e,n){for(let t=zv(e);t!==null;t=Gv(t))for(let r=Ve;r<t.length;r++){let o=t[r];jy(o,n)}}function QS(e){for(let n=zv(e);n!==null;n=Gv(n)){if(!(n[P]&xa.HasTransplantedViews))continue;let t=n[mo];for(let r=0;r<t.length;r++){let o=t[r];pv(o)}}}function KS(e,n,t){let r=Gn(n,e);jy(r,t)}function jy(e,n){Hd(e)&&nd(e,n)}function nd(e,n){let r=e[F],o=e[P],i=e[mt],s=!!(n===0&&o&16);if(s||=!!(o&64&&n===0),s||=!!(o&1024),s||=!!(i?.dirty&&Os(i)),s||=!1,i&&(i.dirty=!1),e[P]&=-9217,s)YS(r,e,r.template,e[Le]);else if(o&8192){Vy(e,1);let a=r.components;a!==null&&By(e,a,1)}}function By(e,n,t){for(let r=0;r<n.length;r++)KS(e,n[r],t)}function mf(e,n){let t=Dv()?64:1088;for(e[Zt].changeDetectionScheduler?.notify(n);e;){e[P]|=t;let r=yr(e);if(xu(e)&&!r)return e;e=r}return null}var Cr=class{get rootNodes(){let n=this._lView,t=n[F];return La(t,n,t.firstChild,[])}constructor(n,t,r=!0){this._lView=n,this._cdRefInjectingView=t,this.notifyErrorHandler=r,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[Le]}set context(n){this._lView[Le]=n}get destroyed(){return(this._lView[P]&256)===256}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let n=this._lView[je];if(vn(n)){let t=n[Ta],r=t?t.indexOf(this):-1;r>-1&&(vi(n,r),_a(t,r))}this._attachedToViewContainer=!1}hc(this._lView[F],this._lView)}onDestroy(n){gv(this._lView,n)}markForCheck(){mf(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[P]&=-129}reattach(){Nu(this._lView),this._lView[P]|=128}detectChanges(){this._lView[P]|=1024,Ly(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new M(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let n=xu(this._lView),t=this._lView[mr];t!==null&&!n&&af(t,this._lView),uy(this._lView[F],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new M(902,!1);this._appRef=n;let t=xu(this._lView),r=this._lView[mr];r!==null&&!t&&dy(r,this._lView),Nu(this._lView)}},Er=(()=>{class e{static{this.__NG_ELEMENT_ID__=eT}}return e})(),JS=Er,XS=class extends JS{constructor(n,t,r){super(),this._declarationLView=n,this._declarationTContainer=t,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,t){return this.createEmbeddedViewImpl(n,t)}createEmbeddedViewImpl(n,t,r){let o=Si(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:t,dehydratedView:r});return new Cr(o)}};function eT(){return wc(Oe(),A())}function wc(e,n){return e.type&4?new XS(n,e,So(e,n)):null}var yB=new RegExp(`^(\\d+)*(${yM}|${vM}
68)*(.*)`);var tT=()=>null;function yo(e,n){return tT(e,n)}var wo=class{},Dc=new x("",{providedIn:"root",factory:()=>!1});var $y=new x(""),Uy=new x(""),rd=class{},Va=class{};function nT(e){let n=Error(`No component factory found for ${Ge(e)}.`);return n[rT]=e,n}var rT="ngComponent";var od=class{resolveComponentFactory(n){throw nT(n)}},Do=class{static{this.NULL=new od}},bo=class{},Ct=(()=>{class e{constructor(){this.destroyNode=null}static{this.__NG_ELEMENT_ID__=()=>oT()}}return e})();function oT(){let e=A(),n=Oe(),t=Gn(n.index,e);return(jn(t)?t:e)[he]}var iT=(()=>{class e{static{this.\u0275prov=S({token:e,providedIn:"root",factory:()=>null})}}return e})();function ja(e,n,t){let r=t?e.styles:null,o=t?e.classes:null,i=0;if(n!==null)for(let s=0;s<n.length;s++){let a=n[s];if(typeof a=="number")i=a;else if(i==1)o=bu(o,a);else if(i==2){let l=a,d=n[++s];r=bu(r,l+": "+d+";")}}t?e.styles=r:e.stylesWithoutHost=r,t?e.classes=o:e.classesWithoutHost=o}var Ba=class extends Do{constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){let t=hn(n);return new Ir(t,this.ngModule)}};function fm(e,n){let t=[];for(let r in e){if(!e.hasOwnProperty(r))continue;let o=e[r];if(o===void 0)continue;let i=Array.isArray(o),s=i?o[0]:o,a=i?o[1]:Bn.None;n?t.push({propName:s,templateName:r,isSignal:(a&Bn.SignalBased)!==0}):t.push({propName:s,templateName:r})}return t}function sT(e){let n=e.toLowerCase();return n==="svg"?dv:n==="math"?w_:null}var Ir=class extends Va{get inputs(){let n=this.componentDef,t=n.inputTransforms,r=fm(n.inputs,!0);if(t!==null)for(let o of r)t.hasOwnProperty(o.propName)&&(o.transform=t[o.propName]);return r}get outputs(){return fm(this.componentDef.outputs,!1)}constructor(n,t){super(),this.componentDef=n,this.ngModule=t,this.componentType=n.type,this.selector=X0(n.selectors),this.ngContentSelectors=n.ngContentSelectors?n.ngContentSelectors:[],this.isBoundToModule=!!t}create(n,t,r,o){let i=H(null);try{o=o||this.ngModule;let s=o instanceof qe?o:o?.injector;s&&this.componentDef.getStandaloneInjector!==null&&(s=this.componentDef.getStandaloneInjector(s)||s);let a=s?new Ou(n,s):n,l=a.get(bo,null);if(l===null)throw new M(407,!1);let d=a.get(iT,null),p=a.get(wo,null),h={rendererFactory:l,sanitizer:d,inlineEffectRunner:null,changeDetectionScheduler:p},v=l.createRenderer(null,this.componentDef),m=this.componentDef.selectors[0][0]||"div",w=r?gS(v,r,this.componentDef.encapsulation,a):ly(v,m,sT(m)),D=512;this.componentDef.signals?D|=4096:this.componentDef.onPush||(D|=16);let C=null;w!==null&&(C=nf(w,a,!0));let _=ff(0,null,null,1,0,null,null,null,null,null,null),k=mc(null,_,null,D,null,null,h,v,a,null,C);Wd(k);let V,le,ye=null;try{let me=this.componentDef,Ue,or=null;me.findHostDirectiveDefs?(Ue=[],or=new Map,me.findHostDirectiveDefs(me,Ue,or),Ue.push(me)):Ue=[me];let Fe=aT(k,w);ye=cT(Fe,w,me,Ue,k,h,v),le=Ud(_,Me),w&&dT(v,me,w,r),t!==void 0&&fT(le,this.ngContentSelectors,t),V=uT(ye,me,Ue,or,k,[hT]),gf(_,k,null)}catch(me){throw ye!==null&&Hu(ye),Hu(k),me}finally{Zd()}return new id(this.componentType,V,So(le,k),k,le)}finally{H(i)}}},id=class extends rd{constructor(n,t,r,o,i){super(),this.location=r,this._rootLView=o,this._tNode=i,this.previousInputValues=null,this.instance=t,this.hostView=this.changeDetectorRef=new Cr(o,void 0,!1),this.componentType=n}setInput(n,t){let r=this._tNode.inputs,o;if(r!==null&&(o=r[n])){if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),t))return;let i=this._rootLView;pf(i[F],i,o,n,t),this.previousInputValues.set(n,t);let s=Gn(this._tNode.index,i);mf(s,1)}}get injector(){return new pr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}};function aT(e,n){let t=e[F],r=Me;return e[r]=n,To(t,r,2,"#host",null)}function cT(e,n,t,r,o,i,s){let a=o[F];lT(r,e,n,s);let l=null;n!==null&&(l=nf(n,o[go]));let d=i.rendererFactory.createRenderer(n,t),p=16;t.signals?p=4096:t.onPush&&(p=64);let h=mc(o,_y(t),null,p,o[e.index],e,i,d,null,null,l);return a.firstCreatePass&&ed(a,e,r.length-1),yc(o,h),o[e.index]=h}function lT(e,n,t,r){for(let o of e)n.mergedAttrs=pi(n.mergedAttrs,o.hostAttrs);n.mergedAttrs!==null&&(ja(n,n.mergedAttrs,!0),t!==null&&wy(r,t,n))}
vendor: 10,291 bytes, line 68
68function uT(e,n,t,r,o,i){let s=Oe(),a=o[F],l=bt(s,o);My(a,o,s,t,null,r);for(let p=0;p<t.length;p++){let h=s.directiveStart+p,v=br(o,a,h,s);Hn(v,o)}Sy(a,o,s),l&&Hn(l,o);let d=br(o,a,s.directiveStart+s.componentOffset,s);if(e[Le]=o[Le]=d,i!==null)for(let p of i)p(d,n);return lf(a,s,o),d}function dT(e,n,t,r){if(r)_u(e,t,["ng-version","18.2.8"]);else{let{attrs:o,classes:i}=e_(n.selectors[0]);o&&_u(e,t,o),i&&i.length>0&&yy(e,t,i.join(" "))}}function fT(e,n,t){let r=e.projection=[];for(let o=0;o<n.length;o++){let i=t[o];r.push(i!=null?Array.from(i):null)}}function hT(){let e=Oe();uc(A()[F],e)}var Cn=(()=>{class e{static{this.__NG_ELEMENT_ID__=pT}}return e})();function pT(){let e=Oe();return zy(e,A())}var gT=Cn,Hy=class extends gT{constructor(n,t,r){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=r}get element(){return So(this._hostTNode,this._hostLView)}get injector(){return new pr(this._hostTNode,this._hostLView)}get parentInjector(){let n=Yd(this._hostTNode,this._hostLView);if(xv(n)){let t=Na(n,this._hostLView),r=Aa(n),o=t[F].data[r+8];return new pr(o,t)}else return new pr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){let t=hm(this._lContainer);return t!==null&&t[n]||null}get length(){return this._lContainer.length-Ve}createEmbeddedView(n,t,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=yo(this._lContainer,n.ssrId),a=n.createEmbeddedViewImpl(t||{},i,s);return this.insertImpl(a,o,vo(this._hostTNode,s)),a}createComponent(n,t,r,o,i){let s=n&&!g_(n),a;if(s)a=t;else{let w=t||{};a=w.index,r=w.injector,o=w.projectableNodes,i=w.environmentInjector||w.ngModuleRef}let l=s?n:new Ir(hn(n)),d=r||this.parentInjector;if(!i&&l.ngModule==null){let D=(s?d:this.parentInjector).get(qe,null);D&&(i=D)}let p=hn(l.componentType??{}),h=yo(this._lContainer,p?.id??null),v=h?.firstChild??null,m=l.create(d,o,v,i);return this.insertImpl(m.hostView,a,vo(this._hostTNode,h)),m}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,r){let o=n._lView;if(b_(o)){let a=this.indexOf(n);if(a!==-1)this.detach(a);else{let l=o[je],d=new Hy(l,l[rt],l[je]);d.detach(d.indexOf(n))}}let i=this._adjustIndex(t),s=this._lContainer;return Ti(s,o,i,r),n.attachToViewContainerRef(),jm(gu(s),i,n),n}move(n,t){return this.insert(n,t)}indexOf(n){let t=hm(this._lContainer);return t!==null?t.indexOf(n):-1}remove(n){let t=this._adjustIndex(n,-1),r=vi(this._lContainer,t);r&&(_a(gu(this._lContainer),t),hc(r[F],r))}detach(n){let t=this._adjustIndex(n,-1),r=vi(this._lContainer,t);return r&&_a(gu(this._lContainer),t)!=null?new Cr(r):null}_adjustIndex(n,t=0){return n??this.length+t}};function hm(e){return e[Ta]}function gu(e){return e[Ta]||(e[Ta]=[])}function zy(e,n){let t,r=n[e.index];return vn(r)?t=r:(t=Ty(r,n,null,e),n[e.index]=t,yc(n,t)),vT(t,n,e,r),new Hy(t,e,n)}function mT(e,n){let t=e[he],r=t.createComment(""),o=bt(n,e),i=py(t,o);return ka(t,i,r,oS(t,o),!1),r}var vT=DT,yT=()=>!1;function wT(e,n,t){return yT(e,n,t)}function DT(e,n,t,r){if(e[vr])return;let o;t.type&8?o=Yt(r):o=mT(n,t),e[vr]=o}var sd=class e{constructor(n){this.queryList=n,this.matches=null}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},ad=class e{constructor(n=[]){this.queries=n}createEmbeddedView(n){let t=n.queries;if(t!==null){let r=n.contentQueries!==null?n.contentQueries[0]:t.length,o=[];for(let i=0;i<r;i++){let s=t.getByIndex(i),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new e(o)}return null}insertView(n){this.dirtyQueriesWithMatches(n)}detachView(n){this.dirtyQueriesWithMatches(n)}finishViewCreation(n){this.dirtyQueriesWithMatches(n)}dirtyQueriesWithMatches(n){for(let t=0;t<this.queries.length;t++)vf(n,t).matches!==null&&this.queries[t].setDirty()}},$a=class{constructor(n,t,r=null){this.flags=t,this.read=r,typeof n=="string"?this.predicate=TT(n):this.predicate=n}},cd=class e{constructor(n=[]){this.queries=n}elementStart(n,t){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(n,t)}elementEnd(n){for(let t=0;t<this.queries.length;t++)this.queries[t].elementEnd(n)}embeddedTView(n){let t=null;for(let r=0;r<this.length;r++){let o=t!==null?t.length:0,i=this.getByIndex(r).embeddedTView(n,o);i&&(i.indexInDeclarationView=r,t!==null?t.push(i):t=[i])}return t!==null?new e(t):null}template(n,t){for(let r=0;r<this.queries.length;r++)this.queries[r].template(n,t)}getByIndex(n){return this.queries[n]}get length(){return this.queries.length}track(n){this.queries.push(n)}},ld=class e{constructor(n,t=-1){this.metadata=n,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=t}elementStart(n,t){this.isApplyingToNode(t)&&this.matchTNode(n,t)}elementEnd(n){this._declarationNodeIndex===n.index&&(this._appliesToNextNode=!1)}template(n,t){this.elementStart(n,t)}embeddedTView(n,t){return this.isApplyingToNode(n)?(this.crossesNgTemplate=!0,this.addMatch(-n.index,t),new e(this.metadata)):null}isApplyingToNode(n){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let t=this._declarationNodeIndex,r=n.parent;for(;r!==null&&r.type&8&&r.index!==t;)r=r.parent;return t===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(n,t){let r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){let i=r[o];this.matchTNodeWithReadOption(n,t,bT(t,i)),this.matchTNodeWithReadOption(n,t,Da(t,n,i,!1,!1))}else r===Er?t.type&4&&this.matchTNodeWithReadOption(n,t,-1):this.matchTNodeWithReadOption(n,t,Da(t,n,r,!1,!1))}matchTNodeWithReadOption(n,t,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===Be||o===Cn||o===Er&&t.type&4)this.addMatch(t.index,-2);else{let i=Da(t,n,o,!1,!1);i!==null&&this.addMatch(t.index,i)}else this.addMatch(t.index,r)}}addMatch(n,t){this.matches===null?this.matches=[n,t]:this.matches.push(n,t)}};function bT(e,n){let t=e.localNames;if(t!==null){for(let r=0;r<t.length;r+=2)if(t[r]===n)return t[r+1]}return null}function CT(e,n){return e.type&11?So(e,n):e.type&4?wc(e,n):null}function ET(e,n,t,r){return t===-1?CT(n,e):t===-2?IT(e,n,r):br(e,e[F],t,n)}function IT(e,n,t){if(t===Be)return So(n,e);if(t===Er)return wc(n,e);if(t===Cn)return zy(n,e)}function Gy(e,n,t,r){let o=n[pn].queries[r];if(o.matches===null){let i=e.data,s=t.matches,a=[];for(let l=0;s!==null&&l<s.length;l+=2){let d=s[l];if(d<0)a.push(null);else{let p=i[d];a.push(ET(n,p,s[l+1],t.metadata.read))}}o.matches=a}return o.matches}function ud(e,n,t,r){let o=e.queries.getByIndex(t),i=o.matches;if(i!==null){let s=Gy(e,n,o,t);for(let a=0;a<i.length;a+=2){let l=i[a];if(l>0)r.push(s[a/2]);else{let d=i[a+1],p=n[-l];for(let h=Ve;h<p.length;h++){let v=p[h];v[mr]===v[je]&&ud(v[F],v,d,r)}if(p[mo]!==null){let h=p[mo];for(let v=0;v<h.length;v++){let m=h[v];ud(m[F],m,d,r)}}}}}return r}function _T(e,n){return e[pn].queries[n].queryList}function qy(e,n,t){let r=new Uu((t&4)===4);return yS(e,n,r,r.destroy),(n[pn]??=new ad).queries.push(new sd(r))-1}function MT(e,n,t){let r=ge();return r.firstCreatePass&&(Wy(r,new $a(e,n,t),-1),(n&2)===2&&(r.staticViewQueries=!0)),qy(r,A(),n)}function ST(e,n,t,r){let o=ge();if(o.firstCreatePass){let i=Oe();Wy(o,new $a(n,t,r),i.index),xT(o,e),(t&2)===2&&(o.staticContentQueries=!0)}return qy(o,A(),t)}function TT(e){return e.split(",").map(n=>n.trim())}function Wy(e,n,t){e.queries===null&&(e.queries=new cd),e.queries.track(new ld(n,t))}function xT(e,n){let t=e.contentQueries||(e.contentQueries=[]),r=t.length?t[t.length-1]:-1;n!==r&&t.push(e.queries.length-1,n)}function vf(e,n){return e.queries.getByIndex(n)}function AT(e,n){let t=e[F],r=vf(t,n);return r.crossesNgTemplate?ud(t,e,n,[]):Gy(t,e,r,n)}var pm=new Set;function en(e){pm.has(e)||(pm.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function NT(e){return typeof e=="function"&&e[St]!==void 0}function xo(e,n){en("NgSignals");let t=ig(e),r=t[St];return n?.equal&&(r.equal=n.equal),t.set=o=>Ls(r,o),t.update=o=>sg(r,o),t.asReadonly=RT.bind(t),t}function RT(){let e=this[St];if(e.readonlyFn===void 0){let n=()=>this();n[St]=e,e.readonlyFn=n}return e.readonlyFn}function Zy(e){return NT(e)&&typeof e.set=="function"}function OT(e){return Object.getPrototypeOf(e.prototype).constructor}function Ce(e){let n=OT(e.type),t=!0,r=[e];for(;n;){let o;if($n(e))o=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new M(903,!1);o=n.\u0275dir}if(o){if(t){r.push(o);let s=e;s.inputs=ha(e.inputs),s.inputTransforms=ha(e.inputTransforms),s.declaredInputs=ha(e.declaredInputs),s.outputs=ha(e.outputs);let a=o.hostBindings;a&&VT(e,a);let l=o.viewQuery,d=o.contentQueries;if(l&&kT(e,l),d&<(e,d),PT(e,o),y0(e.outputs,o.outputs),$n(o)&&o.data.animation){let p=e.data;p.animation=(p.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s<i.length;s++){let a=i[s];a&&a.ngInherit&&a(e),a===Ce&&(t=!1)}}n=Object.getPrototypeOf(n)}FT(r)}function PT(e,n){for(let t in n.inputs){if(!n.inputs.hasOwnProperty(t)||e.inputs.hasOwnProperty(t))continue;let r=n.inputs[t];if(r!==void 0&&(e.inputs[t]=r,e.declaredInputs[t]=n.declaredInputs[t],n.inputTransforms!==null)){let o=Array.isArray(r)?r[0]:r;if(!n.inputTransforms.hasOwnProperty(o))continue;e.inputTransforms??={},e.inputTransforms[o]=n.inputTransforms[o]}}}function FT(e){let n=0,t=null;for(let r=e.length-1;r>=0;r--){let o=e[r];o.hostVars=n+=o.hostVars,o.hostAttrs=pi(o.hostAttrs,t=pi(t,o.hostAttrs))}}function ha(e){return e===uo?{}:e===nt?[]:e}function kT(e,n){let t=e.viewQuery;t?e.viewQuery=(r,o)=>{n(r,o),t(r,o)}:e.viewQuery=n}function LT(e,n){let t=e.contentQueries;t?e.contentQueries=(r,o,i)=>{n(r,o,i),t(r,o,i)}:e.contentQueries=n}function VT(e,n){let t=e.hostBindings;t?e.hostBindings=(r,o)=>{n(r,o),t(r,o)}:e.hostBindings=n}function yf(e){let n=e.inputConfig,t={};for(let r in n)if(n.hasOwnProperty(r)){let o=n[r];Array.isArray(o)&&o[3]&&(t[r]=o[3])}e.inputTransforms=t}var zn=class{},yi=class{};var dd=class extends zn{constructor(n,t,r,o=!0){super(),this.ngModuleType=n,this._parent=t,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Ba(this);let i=Qm(n);this._bootstrapComponents=cy(i.bootstrap),this._r3Injector=Vv(n,t,[{provide:zn,useValue:this},{provide:Do,useValue:this.componentFactoryResolver},...r],Ge(n),new Set(["environment"])),o&&this.resolveInjectorInitializer
68s()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}},fd=class extends yi{constructor(n){super(),this.moduleType=n}create(n){return new dd(this.moduleType,n,[])}};var Ua=class extends zn{constructor(n){super(),this.componentFactoryResolver=new Ba(this),this.instance=null;let t=new gi([...n.providers,{provide:zn,useValue:this},{provide:Do,useValue:this.componentFactoryResolver}],n.parent||tc(),n.debugName,new Set(["environment"]));this.injector=t,n.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}};function bc(e,n,t=null){return new Ua({providers:e,parent:n,debugName:t,runEnvironmentInitializers:!0}).injector}function Yy(e){return wf(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function jT(e,n){if(Array.isArray(e))for(let t=0;t<e.length;t++)n(e[t]);else{let t=e[Symbol.iterator](),r;for(;!(r=t.next()).done;)n(r.value)}}function wf(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function tn(e,n,t){return e[n]=t}function xi(e,n){return e[n]}function We(e,n,t){let r=e[n];return Object.is(r,t)?!1:(e[n]=t,!0)}function _r(e,n,t,r){let o=We(e,n,t);return We(e,n+1,r)||o}function Cc(e,n,t,r,o){let i=_r(e,n,t,r);return We(e,n+2,o)||i}function yt(e,n,t,r,o,i){let s=_r(e,n,t,r);return _r(e,n+2,o,i)||s}function BT(e){return(e.flags&32)===32}function $T(e,n,t,r,o,i,s,a,l){let d=n.consts,p=To(n,e,4,s||null,a||null);hf(n,t,p,Un(d,l)),uc(n,p);let h=p.tView=ff(2,p,r,o,i,n.directiveRegistry,n.pipeRegistry,null,n.schemas,d,null);return n.queries!==null&&(n.queries.template(n,p),h.queries=n.queries.embeddedTView(p)),p}function Ha(e,n,t,r,o,i,s,a,l,d){let p=t+Me,h=n.firstCreatePass?$T(p,n,e,r,o,i,s,a,l):n.data[p];Sr(h,!1);let v=HT(n,e,h,t);cc()&&pc(n,e,v,h),Hn(v,e);let m=Ty(v,e,v,h);return e[p]=m,yc(e,m),wT(m,h,e),oc(h)&&uf(n,e,h),l!=null&&df(e,h,d),h}function UT(e,n,t,r,o,i,s,a){let l=A(),d=ge(),p=Un(d.consts,i);return Ha(l,d,e,n,t,r,o,p,s,a),UT}var HT=zT;function zT(e,n,t,r){return lc(!0),n[he].createComment("")}var ao=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(ao||{}),Qy=(()=>{class e{constructor(){this.impl=null}execute(){this.impl?.execute()}static{this.\u0275prov=S({token:e,providedIn:"root",factory:()=>new e})}}return e})(),hd=class e{constructor(){this.ngZone=b(fe),this.scheduler=b(wo),this.errorHandler=b(Rt,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}static{this.PHASES=[ao.EarlyRead,ao.Write,ao.MixedReadWrite,ao.Read]}execute(){this.executing=!0;for(let n of e.PHASES)for(let t of this.sequences)if(!(t.erroredOrDestroyed||!t.hooks[n]))try{t.pipelinedValue=this.ngZone.runOutsideAngular(()=>t.hooks[n](t.pipelinedValue))}catch(r){t.erroredOrDestroyed=!0,this.errorHandler?.handleError(r)}this.executing=!1;for(let n of this.sequences)n.afterRun(),n.once&&(this.sequences.delete(n),n.destroy());for(let n of this.deferredRegistrations)this.sequences.add(n);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(n){this.executing?this.deferredRegistrations.add(n):(this.sequences.add(n),this.scheduler.notify(6))}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}static{this.\u0275prov=S({token:e,providedIn:"root",factory:()=>new e})}},pd=class{constructor(n,t,r,o){this.impl=n,this.hooks=t,this.once=r,this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.()}};function Df(e,n){!n?.injector&&ov(Df);let t=n?.injector??b(vt);return qM(t)?(en("NgAfterNextRender"),qT(e,t,n,!0)):WT}function GT(e,n){if(e instanceof Function){let t=[void 0,void 0,void 0,void 0];return t[n]=e,t}else return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function qT(e,n,t,r){let o=n.get(Qy);o.impl??=n.get(hd);let i=t?.phase??ao.MixedReadWrite,s=t?.manualCleanup!==!0?n.get(_i
68):null,a=new pd(o.impl,GT(e,i),r,s);return o.impl.register(a),a}var WT={destroy(){}};function nn(e,n,t,r){let o=A(),i=Mo();if(We(o,i,n)){let s=ge(),a=Ii();OS(a,o,e,n,t,r)}return nn}function bf(e,n,t,r){return We(e,Mo(),t)?n+U(t)+r:oe}function Ky(e,n,t,r,o,i){let s=Tr(),a=_r(e,s,t,o);return yn(2),a?n+U(t)+r+U(o)+i:oe}function ZT(e,n,t,r,o,i,s,a){let l=Tr(),d=Cc(e,l,t,o,s);return yn(3),d?n+U(t)+r+U(o)+i+U(s)+a:oe}function YT(e,n,t,r,o,i,s,a,l,d){let p=Tr(),h=yt(e,p,t,o,s,l);return yn(4),h?n+U(t)+r+U(o)+i+U(s)+a+U(l)+d:oe}function QT(e,n,t,r,o,i,s,a,l,d,p,h){let v=Tr(),m=yt(e,v,t,o,s,l);return m=We(e,v+4,p)||m,yn(5),m?n+U(t)+r+U(o)+i+U(s)+a+U(l)+d+U(p)+h:oe}function KT(e,n,t,r,o,i,s,a,l,d,p,h,v,m){let w=Tr(),D=yt(e,w,t,o,s,l);return D=_r(e,w+4,p,v)||D,yn(6),D?n+U(t)+r+U(o)+i+U(s)+a+U(l)+d+U(p)+h+U(v)+m:oe}function JT(e,n,t,r,o,i,s,a,l,d,p,h,v,m,w,D){let C=Tr(),_=yt(e,C,t,o,s,l);return _=Cc(e,C+4,p,v,w)||_,yn(7),_?n+U(t)+r+U(o)+i+U(s)+a+U(l)+d+U(p)+h+U(v)+m+U(w)+D:oe}function XT(e,n,t,r,o,i,s,a,l,d,p,h,v,m,w,D,C,_){let k=Tr(),V=yt(e,k,t,o,s,l);
vendor: 8,747 bytes, line 68
68return V=yt(e,k+4,p,v,w,C)||V,yn(8),V?n+U(t)+r+U(o)+i+U(s)+a+U(l)+d+U(p)+h+U(v)+m+U(w)+D+U(C)+_:oe}function pa(e,n){return e<<17|n<<2}function Mr(e){return e>>17&32767}function ex(e){return(e&2)==2}function tx(e,n){return e&131071|n<<17}function gd(e){return e|2}function Co(e){return(e&131068)>>2}function mu(e,n){return e&-131069|n<<2}function nx(e){return(e&1)===1}function md(e){return e|1}function rx(e,n,t,r,o,i){let s=i?n.classBindings:n.styleBindings,a=Mr(s),l=Co(s);e[r]=t;let d=!1,p;if(Array.isArray(t)){let h=t;p=h[1],(p===null||Ei(h,p)>0)&&(d=!0)}else p=t;if(o)if(l!==0){let v=Mr(e[a+1]);e[r+1]=pa(v,a),v!==0&&(e[v+1]=mu(e[v+1],r)),e[a+1]=tx(e[a+1],r)}else e[r+1]=pa(a,0),a!==0&&(e[a+1]=mu(e[a+1],r)),a=r;else e[r+1]=pa(l,0),a===0?a=r:e[l+1]=mu(e[l+1],r),l=r;d&&(e[r+1]=gd(e[r+1])),gm(e,p,r,!0),gm(e,p,r,!1),ox(n,p,e,r,i),s=pa(a,l),i?n.classBindings=s:n.styleBindings=s}function ox(e,n,t,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof n=="string"&&Ei(i,n)>=0&&(t[r+1]=md(t[r+1]))}function gm(e,n,t,r){let o=e[t+1],i=n===null,s=r?Mr(o):Co(o),a=!1;for(;s!==0&&(a===!1||i);){let l=e[s],d=e[s+1];ix(l,n)&&(a=!0,e[s+1]=r?md(d):gd(d)),s=r?Mr(d):Co(d)}a&&(e[t+1]=r?gd(o):md(o))}function ix(e,n){return e===null||n==null||(Array.isArray(e)?e[1]:e)===n?!0:Array.isArray(e)&&typeof n=="string"?Ei(e,n)>=0:!1}var _e={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Jy(e){return e.substring(_e.key,_e.keyEnd)}function sx(e){return e.substring(_e.value,_e.valueEnd)}function ax(e){return tw(e),Xy(e,Eo(e,0,_e.textEnd))}function Xy(e,n){let t=_e.textEnd;return t===n?-1:(n=_e.keyEnd=lx(e,_e.key=n,t),Eo(e,n,t))}function cx(e){return tw(e),ew(e,Eo(e,0,_e.textEnd))}function ew(e,n){let t=_e.textEnd,r=_e.key=Eo(e,n,t);return t===r?-1:(r=_e.keyEnd=ux(e,r,t),r=mm(e,r,t,58),r=_e.value=Eo(e,r,t),r=_e.valueEnd=dx(e,r,t),mm(e,r,t,59))}function tw(e){_e.key=0,_e.keyEnd=0,_e.value=0,_e.valueEnd=0,_e.textEnd=e.length}function Eo(e,n,t){for(;n<t&&e.charCodeAt(n)<=32;)n++;return n}function lx(e,n,t){for(;n<t&&e.charCodeAt(n)>32;)n++;return n}function ux(e,n,t){let r;for(;n<t&&((r=e.charCodeAt(n))===45||r===95||(r&-33)>=65&&(r&-33)<=90||r>=48&&r<=57);)n++;return n}function mm(e,n,t,r){return n=Eo(e,n,t),n<t&&n++,n}function dx(e,n,t){let r=-1,o=-1,i=-1,s=n,a=s;for(;s<t;){let l=e.charCodeAt(s++);if(l===59)return a;l===34||l===39?a=s=vm(e,l,s,t):n===s-4&&i===85&&o===82&&r===76&&l===40?a=s=vm(e,41,s,t):l>32&&(a=s),i=o,o=r,r=l&-33}return a}function vm(e,n,t,r){let o=-1,i=t;for(;i<r;){let s=e.charCodeAt(i++);if(s==n&&o!==92)return i;s==92&&o===92?o=0:o=s}throw new Error}function fx(e,n,t){let r=A(),o=Mo();if(We(r,o,n)){let i=ge(),s=Ii();vc(i,s,r,e,n,r[he],t,!1)}return fx}function vd(e,n,t,r,o){let i=n.inputs,s=o?"class":"style";pf(e,t,i[s],s,r)}function nw(e,n,t){return ow(e,n,t,!1),nw}function Ec(e,n){return ow(e,n,null,!0),Ec}function DB(e){Cf(aw,hx,e,!1)}function hx(e,n){for(let t=cx(n);t>=0;t=ew(n,t))aw(e,Jy(n),sx(n))}function bB(e){Cf(wx,rw,e,!0)}function rw(e,n){for(let t=ax(n);t>=0;t=Xy(n,t))Ci(e,Jy(n),!0)}function ow(e,n,t,r){let o=A(),i=ge(),s=yn(2);if(i.firstUpdatePass&&sw(i,e,s,r),n!==oe&&We(o,s,n)){let a=i.data[Ze()];cw(i,a,o,o[he],e,o[s+1]=bx(n,t),r,s)}}function Cf(e,n,t,r){let o=ge(),i=yn(2);o.firstUpdatePass&&sw(o,null,i,r);let s=A();if(t!==oe&&We(s,i,t)){let a=o.data[Ze()];if(lw(a,r)&&!iw(o,i)){let l=r?a.classesWithoutHost:a.stylesWithoutHost;l!==null&&(t=bu(l,t||"")),vd(o,a,s,t,r)}else Dx(o,a,s,s[he],s[i+1],s[i+1]=yx(e,n,t),r,i)}}function iw(e,n){return n>=e.expandoStartIndex}function sw(e,n,t,r){let o=e.data;if(o[t+1]===null){let i=o[Ze()],s=iw(e,t);lw(i,r)&&n===null&&!s&&(n=!1),n=px(o,i,n,r),rx(o,i,n,t,s,r)}}function px(e,n,t,r){let o=F_(e),i=r?n.residualClasses:n.residualStyles;if(o===null)(r?n.classBindings:n.styleBindings)===0&&(t=vu(null,e,n,t,r),t=wi(t,n.attrs,r),i=null);else{let s=n.directiveStylingLast;if(s===-1||e[s]!==o)if(t=vu(o,e,n,t,r),i===null){let l=gx(e,n,r);l!==void 0&&Array.isArray(l)&&(l=vu(null,e,n,l[1],r),l=wi(l,n.attrs,r),mx(e,n,r,l))}else i=vx(e,n,r)}return i!==void 0&&(r?n.residualClasses=i:n.residualStyles=i),t}function gx(e,n,t){let r=t?n.classBindings:n.styleBindings;if(Co(r)!==0)return e[Mr(r)]}function mx(e,n,t,r){let o=t?n.classBindings:n.styleBindings;e[Mr(o)]=r}function vx(e,n,t){let r,o=n.directiveEnd;for(let i=1+n.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=wi(r,s,t)}return wi(r,n.attrs,t)}function vu(e,n,t,r,o){let i=null,s=t.directiveEnd,a=t.directiveStylingLast;for(a===-1?a=t.directiveStart:a++;a<s&&(i=n[a],r=wi(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(t.directiveStylingLast=a),r}function wi(e,n,t){let r=t?1:2,o=-1;if(n!==null)for(let i=0;i<n.length;i++){let s=n[i];typeof s=="number"?o=s:o===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),Ci(e,s,t?!0:n[++i]))}return e===void 0?null:e}function yx(e,n,t){if(t==null||t==="")return nt;let r=[],o=ut(t);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(typeof o=="object")for(let i in o)o.hasOwnProperty(i)&&e(r,i,o[i]);else typeof o=="string"&&n(r,o);return r}function aw(e,n,t){Ci(e,n,ut(t))}function wx(e,n,t){let r=String(n);r!==""&&!r.includes(" ")&&Ci(e,r,t)}function Dx(e,n,t,r,o,i,s,a){o===oe&&(o=nt);let l=0,d=0,p=0<o.length?o[0]:null,h=0<i.length?i[0]:null;for(;p!==null||h!==null;){let v=l<o.length?o[l+1]:void 0,m=d<i.length?i[d+1]:void 0,w=null,D;p===h?(l+=2,d+=2,v!==m&&(w=h,D=m)):h===null||p!==null&&p<h?(l+=2,w=p):(d+=2,w=h,D=m),w!==null&&cw(e,n,t,r,w,D,s,a),p=l<o.length?o[l]:null,h=d<i.length?i[d]:null}}function cw(e,n,t,r,o,i,s,a){if(!(n.type&3))return;let l=e.data,d=l[a+1],p=nx(d)?ym(l,n,t,o,Co(d),s):void 0;if(!za(p)){za(i)||ex(d)&&(i=ym(l,null,t,o,a,s));let h=fv(Ze(),t);uS(r,s,h,o,i)}}function ym(e,n,t,r,o,i){let s=n===null,a;for(;o>0;){let l=e[o],d=Array.isArray(l),p=d?l[1]:l,h=p===null,v=t[o+1];v===oe&&(v=h?nt:void 0);let m=h?cu(v,r):p===r?v:void 0;if(d&&!za(m)&&(m=cu(l,r)),za(m)&&(a=m,s))return a;let w=e[o+1];o=s?Mr(w):Co(w)}if(n!==null){let l=i?n.residualClasses:n.residualStyles;l!=null&&(a=cu(l,r))}return a}function za(e){return e!==void 0}function bx(e,n){return e==null||e===""||(typeof n=="string"?e=e+n:typeof e=="object"&&(e=Ge(ut(e)))),e}function lw(e,n){return(e.flags&(n?8:16))!==0}function CB(e,n,t){let r=A(),o=bf(r,e,n,t);Cf(Ci,rw,o,!0)}var yd=class{destroy(n){}updateValue(n,t){}swap(n,t){let r=Math.min(n,t),o=Math.max(n,t),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(n,t){this.attach(t,this.detach(n))}};function yu(e,n,t,r,o){return e===t&&Object.is(n,r)?1:Object.is(o(e,n),o(t,r))?-1:0}function Cx(e,n,t){let r,o,i=0,s=e.length-1,a=void 0;if(Array.isArray(n)){let l=n.length-1;for(;i<=s&&i<=l;){let d=e.at(i),p=n[i],h=yu(i,d,i,p,t);if(h!==0){h<0&&e.updateValue(i,p),i++;continue}let v=e.at(s),m=n[l],w=yu(s,v,l,m,t);if(w!==0){w<0&&e.updateValue(s,m),s--,l--;continue}let D=t(i,d),C=t(s,v),_=t(i,p);if(Object.is(_,C)){let k=t(l,m);Object.is(k,D)?(e.swap(i,s),e.updateValue(s,m),l--,s--):e.move(s,i),e.updateValue(i,p),i++;continue}if(r??=new Ga,o??=Dm(e,i,s,t),wd(e,r,i,_))e.updateValue(i,p),i++,s++;else if(o.has(_))r.set(D,e.detach(i)),s--;else{let k=e.create(i,n[i]);e.attach(i,k),i++,s++}}for(;i<=l;)wm(e,r,t,i,n[i]),i++}else if(n!=null){let l=n[Symbol.iterator](),d=l.next();for(;!d.done&&i<=s;){let p=e.at(i),h=d.value,v=yu(i,p,i,h,t);if(v!==0)v<0&&e.updateValue(i,h),i++,d=l.next();else{r??=new Ga,o??=Dm(e,i,s,t);let m=t(i,h);if(wd(e,r,i,m))e.updateValue(i,h),i++,s++,d=l.next();else if(!o.has(m))e.attach(i,e.create(i,h)),i++,s++,d=l.next();else{let w=t(i,p);r.set(w,e.detach(i)),s--}}}for(;!d.done;)wm(e,r,t,e.length,d.value),d=l.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(l=>{e.destroy(l)})}function wd(e,n,t,r){return n!==void 0&&n.has(r)?(e.attach(t,n.get(r)),n.delete(r),!0):!1}function wm(e,n,t,r,o){if(wd(e,n,r,t(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Dm(e,n,t,r){let o=new Set;for(let i=n;i<=t;i++)o.add(r(i,e.at(i)));return o}var Ga=class{constructor(){this.kvMap=new Map,this._vMap=void 0}has(n){return this.kvMap.has(n)}delete(n){if(!this.has(n))return!1;let t=this.kvMap.get(n);return this._vMap!==void 0&&this._vMap.has(t)?(this.kvMap.set(n,this._vMap.get(t)),this._vMap.delete(t)):this.kvMap.delete(n),!0}get(n){return this.kvMap.get(n)}set(n,t){if(this.kvMap.has(n)){let r=this.kvMap.get(n);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,t)}else this.kvMap.set(n,t)}forEach(n){for(let[t,r]of this.kvMap)if(n(r,t),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),n(r,t)}}};function EB(e,n){en("NgControlFlow");let t=A(),r=Mo(),o=t[r]!==oe?t[r]:-1,i=o!==-1?qa(t,Me+o):void 0,s=0;if(We(t,r,e)){let a=H(null);
68try{if(i!==void 0&&Py(i,s),e!==-1){let l=Me+e,d=qa(t,l),p=Ed(t[F],l),h=yo(d,p.tView.ssrId),v=Si(t,p,n,{dehydratedView:h});Ti(d,v,s,vo(p,h))}}finally{H(a)}}else if(i!==void 0){let a=Oy(i,s);a!==void 0&&(a[Le]=n)}}var Dd=class{constructor(n,t,r){this.lContainer=n,this.$implicit=t,this.$index=r}get $count(){return this.lContainer.length-Ve}};function IB(e){return e}var bd=class{constructor(n,t,r){this.hasEmptyBlock=n,this.trackByFn=t,this.liveCollection=r}};function _B(e,n,t,r,o,i,s,a,l,d,p,h,v){en("NgControlFlow");let m=A(),w=ge(),D=l!==void 0,C=A(),_=a?s.bind(C[ct][Le]):s,k=new bd(D,_);C[Me+e]=k,Ha(m,w,e+1,n,t,r,o,Un(w.consts,i)),D&&Ha(m,w,e+2,l,d,p,h,Un(w.consts,v))}var Cd=class extends yd{constructor(n,t,r){super(),this.lContainer=n,this.hostLView=t,this.templateTNode=r,this.operationsCounter=void 0,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-Ve}at(n){return this.getLView(n)[Le].$implicit}attach(n,t){let r=t[po];this.needsIndexUpdate||=n!==this.length,Ti(this.lContainer,t,n,vo(this.templateTNode,r))}detach(n){return this.needsIndexUpdate||=n!==this.length-1,Ex(this.lContainer,n)}create(n,t){let r=yo(this.lContainer,this.templateTNode.tView.ssrId),o=Si(this.hostLView,this.templateTNode,new Dd(this.lContainer,t,n),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(n){hc(n[F],n),this.operationsCounter?.recordDestroy()}updateValue(n,t){this.getLView(n)[Le].$implicit=t}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n<this.length;n++)this.getLView(n)[Le].$index=n}getLView(n){return Ix(this.lContainer,n)}};function MB(e){let n=H(null),t=Ze();try{let r=A(),o=r[F],i=r[t],s=t+1,a=qa(r,s);if(i.liveCollection===void 0){let d=Ed(o,s);i.liveCollection=new Cd(a,r,d)}else i.liveCollection.reset();let l=i.liveCollection;if(Cx(l,e,i.trackByFn),l.updateIndexes(),i.hasEmptyBlock){let d=Mo(),p=l.length===0;if(We(r,d,p)){let h=t+2,v=qa(r,h);if(p){let m=Ed(o,h),w=yo(v,m.tView.ssrId),D=Si(r,m,void 0,{dehydratedView:w});Ti(v,D,0,vo(m,w))}else Py(v,0)}}}finally{H(n)}}function qa(e,n){return e[n]}function Ex(e,n){return vi(e,n)}function Ix(e,n){return Oy(e,n)}function Ed(e,n){return Ud(e,n)}function _x(e,n,t,r,o,i){let s=n.consts,a=Un(s,o),l=To(n,e,2,r,a);return hf(n,t,l,Un(s,i)),l.attrs!==null&&ja(l,l.attrs,!1),l.mergedAttrs!==null&&ja(l,l.mergedAttrs,!0),n.queries!==null&&n.queries.elementStart(n,l),l}function uw(e,n,t,r){let o=A(),i=ge(),s=Me+e,a=o[he],l=i.firstCreatePass?_x(s,i,o,n,t,r):i.data[s],d=Mx(i,o,l,a,n,e);o[s]=d;let p=oc(l);return Sr(l,!0),wy(a,d,l),!BT(l)&&cc()&&pc(i,o,d,l),I_()===0&&Hn(d,o),__(),p&&(uf(i,o,l),lf(i,l,o)),r!==null&&df(o,l),uw}function dw(){let e=Oe();zd()?Gd():(e=e.parent,Sr(e,!1));let n=e;S_(n)&&T_(),M_();let t=ge();return t.firstCreatePass&&(uc(t,e),$d(e)&&t.queries.elementEnd(e)),n.classesWithoutHost!=null&&U_(n)&&vd(t,n,A(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&H_(n)&&vd(t,n,A(),n.stylesWithoutHost,!1),dw}function Ef(e,n,t,r){return uw(e,n,t,r),dw(),Ef}var Mx=(e,n,t,r,o,i)=>(lc(!0),ly(r,o,V_()));function Sx(e,n,t,r,o){let i=n.consts,s=Un(i,r),a=To(n,e,8,"ng-container",s);s!==null&&ja(a,s,!0);let l=Un(i,o);return hf(n,t,a,l),n.queries!==null&&n.queries.elementStart(n,a),a}function fw(e,n,t){let r=A(),o=ge(),i=e+Me,s=o.firstCreatePass?Sx(i,o,r,n,t):o.data[i];Sr(s,!0);let a=xx(o,r,s,e);return r[i]=a,cc()&&pc(o,r,a,s),Hn(a,r),oc(s)&&(uf(o,r,s),lf(o,s,r)),t!=null&&df(r,s),fw}function hw(){let e=Oe(),n=ge();return zd()?Gd():(e=e.parent,Sr(e,!1)),n.firstCreatePass&&(uc(n,e),$d(e)&&n.queries.elementEnd(e)),hw}function Tx(e,n,t){return fw(e,n,t),hw(),Tx}var xx=(e,n,t,r)=>(lc(!0),QM(n[he],""));function SB(){return A()}var hr=void 0;function Ax(e){let n=e,t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&r===0?1:5}var Nx=["en",[["a","p"],["AM","PM"],hr],[["AM","PM"],hr,hr],[["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"]],hr,[["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"]],hr,[["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}
68, {0}",hr,"{1} 'at' {0}",hr],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",Ax],fi={};function pw(e,n,t){typeof n!="string"&&(t=n,n=e[pe.LocaleId]),n=n.toLowerCase().replace(/_/g,"-"),fi[n]=e,t&&(fi[n][pe.ExtraData]=t)}function dt(e){let n=Rx(e),t=bm(n);if(t)return t;let r=n.split("-")[0];if(t=bm(r),t)return t;if(r==="en")return Nx;throw new M(701,!1)}function bm(e){return e in fi||(fi[e]=fn.ng&&fn.ng.common&&fn.ng.common.locales&&fn.ng.common.locales[e]),fi[e]}var pe=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}(pe||{});function Rx(e){return e.toLowerCase().replace(/_/g,"-")}var Wa="en-US";var Ox=Wa;function Px(e){typeof e=="string"&&(Ox=e.toLowerCase().replace(/_/g,"-"))}var Fx=(e,n,t)=>{};function Pt(e,n,t,r){let o=A(),i=ge(),s=Oe();return gw(i,o,o[he],s,e,n,r),Pt}function kx(e,n,t,r){let o=e.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===t&&o[i+1]===r){let a=n[Sa],l=o[i+2];return a.length>l?a[l]:null}typeof s=="string"&&(i+=2)}return null}function gw(e,n,t,r,o,i,s){let a=oc(r),d=e.firstCreatePass&&Ny(e),p=n[Le],h=Ay(n),v=!0;if(r.type&3||s){let D=bt(r,n),C=s?s(D):D,_=h.length,k=s?le=>s(Yt(le[r.index])):r.index,V=null;if(!s&&a&&(V=kx(e,n,o,r.index)),V!==null){let le=V.__ngLastListenerFn__||V;le.__ngNextListenerFn__=i,V.__ngLastListenerFn__=i,v=!1}else{i=Em(r,n,p,i),Fx(D,o,i);let le=t.listen(C,o,i);h.push(i,le),d&&d.push(o,k,_,_+1)}}else i=Em(r,n,p,i);let m=r.outputs,w;if(v&&m!==null&&(w=m[o])){let D=w.length;if(D)for(let C=0;C<D;C+=2){let _=w[C],k=w[C+1],ye=n[_][k].subscribe(i),me=h.length;h.push(i,ye),d&&d.push(o,r.index,me,-(me+1))}}}function Cm(e,n,t,r){let o=H(null);try{return Gt(6,n,t),t(r)!==!1}catch(i){return Ry(e,i),!1}finally{Gt(7,n,t),H(o)}}function Em(e,n,t,r){return function o(i){if(i===Function)return r;let s=e.componentOffset>-1?Gn(e.index,n):n;mf(s,5);let a=Cm(n,t,r,i),l=o.__ngNextListenerFn__;for(;l;)a=Cm(n,t,l,i)&&a,l=l.__ngNextListenerFn__;return a}}function TB(e=1){return L_(e)}function Lx(e,n){let t=null,r=Z0(e);for(let o=0;o<n.length;o++){let i=n[o];if(i==="*"){t=o;continue}if(r===null?Gm(e,i,!0):K0(r,i))return o}return t}function xB(e){let n=A()[ct][rt];if(!n.projection){let t=e?e.length:1,r=n.projection=j0(t,null),o=r.slice(),i=n.child;for(;i!==null;){if(i.type!==128){let s=e?Lx(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function AB(e,n=0,t,r,o,i){let s=A(),a=ge(),l=r?e+1:null;l!==null&&Ha(s,a,l,r,o,i,null,t);let d=To(a,Me+e,16,null,t||null);d.projection===null&&(d.projection=n),Gd();let h=!s[po]||yv();s[ct][rt].projection[d.projection]===null&&l!==null?Vx(s,a,l):h&&(d.flags&32)!==32&&cS(a,s,d)}function Vx(e,n,t){let r=Me+t,o=n.data[r],i=e[r],s=yo(i,o.tView.ssrId),a=Si(e,o,void 0,{dehydratedView:s});Ti(i,a,0,vo(o,s))}function jx(e,n,t){return mw(e,"",n,"",t),jx}function mw(e,n,t,r,o){let i=A(),s=bf(i,n,t,r);if(s!==oe){let a=ge(),l=Ii();vc(a,l,i,e,s,i[he],o,!1)}return mw}function Bx(e,n,t,r,o,i,s){let a=A(),l=Ky(a,n,t,r,o,i);if(l!==oe){let d=ge(),p=Ii();vc(d,p,a,e,l,a[he],s,!1)}return Bx}function vw(e,n,t,r){ST(e,n,t,r)}function NB(e,n,t){MT(e,n,t)}function yw(e){let n=A(),t=ge(),r=bv();qd(r+1);let o=vf(t,r);if(e.dirty&&D_(n)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=AT(n,r);e.reset(i,dM),e.notifyOnChanges()}return!0}return!1}function ww(){return _T(A(),bv())}function $x(e,n,t,r){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=r}function RB(e){let n=A_();return ic(n,Me+e)}function OB(e,n=""){let t=A(),r=ge(),o=e+Me,i=r.firstCreatePass?To(r,o,1,n,null):r.data[o],s=Ux(r,t,i,n,e);t[o]=s,cc()&&pc(r,t,s,i),Sr(i,!1)}var Ux=(e,n,t,r,o)=>(lc(!0),ZM(n[he],r));function Hx(e){return Dw("",e,""),Hx}function Dw(e,n,t){let r=A(),o=bf(r,e,n,t);return o!==oe&&qn(r,Ze(),o),Dw}function zx(e,n,t,r,o){let i=A(),s=Ky(i,e,n,t,r,o);return s!==oe&&qn(i,Ze(),s),zx}function Gx(e,n,t,r,o,i,s){let a=A(),l=ZT(a,e,n,t,r,o,i,s);return l!==oe&&qn(a,Ze(),l),Gx}function qx(e,n,t,r,o,i,s,a,l){let d=A(),p=YT(d,e,n,t,r,o,i,s,a,l);return p!==oe&&qn(d,Ze(),p),qx}function Wx(e,n,t,r,o,i,s,a,l,d,p){let h=A(),v=QT(h,e,n,t,r,o,i,s,a,l,d,p);return v!==oe&&qn(h,Ze(),v),Wx}function Zx(e,n,t,r,o,i,s,a,l,d,p,h,v){let m=A(),w=KT(m,e,n,t,r,o,i,s,a,l,d,p,h,v);return w!==oe&&qn(m,Ze(),w),Zx}function Yx(e,n,t,r,o,i,s,a,l,d,p,h,v,m,w){let D=A(),C=JT(D,e,n,t,r,o,i,s,a,l,d,p,h,v,m,w);return C!==oe&&qn(D,Ze(),C),Yx}function Qx(e,n,t,r,o,i,s,a,l,d,p,h,v,m,w,D,C){let _=A(),k=XT(_,e,n,t,r,o,i,s,a,l,d,p,h,v,m,w,D,C);return k!==oe&&qn(_,Ze(),k),Qx}function Kx(e,n,t){Zy(n)&&(n=n());let r=A(),o=Mo();if(We(r,o,n)){let i=ge(),s=Ii();vc(i,s,r,e,n,r[he],t,!1)}return Kx}function PB(e,n){let t=Zy(e);return t&&e.set(n),t}function Jx(e,n){let t=A(),r=ge(),o=Oe();return gw(r,t,t[he],o,e,n),Jx}function Xx(e,n,t){let r=ge();if(r.firstCreatePass){let o=$n(e);Id(t,r.data,r.blueprint,o,!0),Id(n,r.data,r.blueprint,o,!1)}}function Id(e,n,t,r,o){if(e=ze(e),Array.isArray(e))for(let i=0;i<e.length;
vendor: 5,197 bytes, line 68
68i++)Id(e[i],n,t,r,o);else{let i=ge(),s=A(),a=Oe(),l=ho(e)?e:ze(e.provide),d=nv(e),p=a.providerIndexes&1048575,h=a.directiveStart,v=a.providerIndexes>>20;if(ho(e)||!e.multi){let m=new Dr(d,o,T),w=Du(l,n,o?p:p+v,h);w===-1?(Fu(Oa(a,s),i,l),wu(i,e,n.length),n.push(l),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),t.push(m),s.push(m)):(t[w]=m,s[w]=m)}else{let m=Du(l,n,p+v,h),w=Du(l,n,p,p+v),D=m>=0&&t[m],C=w>=0&&t[w];if(o&&!C||!o&&!D){Fu(Oa(a,s),i,l);let _=nA(o?tA:eA,t.length,o,r,d);!o&&C&&(t[w].providerFactory=_),wu(i,e,n.length,0),n.push(l),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),t.push(_),s.push(_)}else{let _=bw(t[o?w:m],d,!o&&r);wu(i,e,m>-1?m:w,_)}!o&&r&&C&&t[w].componentProviders++}}}function wu(e,n,t,r){let o=ho(n),i=c_(n);if(o||i){let l=(i?ze(n.useClass):n).prototype.ngOnDestroy;if(l){let d=e.destroyHooks||(e.destroyHooks=[]);if(!o&&n.multi){let p=d.indexOf(t);p===-1?d.push(t,[r,l]):d[p+1].push(r,l)}else d.push(t,l)}}}function bw(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function Du(e,n,t,r){for(let o=t;o<r;o++)if(n[o]===e)return o;return-1}function eA(e,n,t,r){return _d(this.multi,[])}function tA(e,n,t,r){let o=this.multi,i;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=br(t,t[F],this.providerFactory.index,r);i=a.slice(0,s),_d(o,i);for(let l=s;l<a.length;l++)i.push(a[l])}else i=[],_d(o,i);return i}function _d(e,n){for(let t=0;t<e.length;t++){let r=e[t];n.push(r())}return n}function nA(e,n,t,r,o){let i=new Dr(e,t,T);return i.multi=[],i.index=n,i.componentProviders=0,bw(i,o,r&&!t),i}function $e(e,n=[]){return t=>{t.providersResolver=(r,o)=>Xx(r,o?o(e):e,n)}}var rA=(()=>{class e{constructor(t){this._injector=t,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t)){let r=Xm(!1,t.type),o=r.length>0?bc([r],this._injector,`Standalone[${t.type.name}]`):null;this.cachedInjectors.set(t,o)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(let t of this.cachedInjectors.values())t!==null&&t.destroy()}finally{this.cachedInjectors.clear()}}static{this.\u0275prov=S({token:e,providedIn:"environment",factory:()=>new e(N(qe))})}}return e})();function Cw(e){en("NgStandalone"),e.getStandaloneInjector=n=>n.get(rA).getOrCreateStandaloneInjector(e)}function FB(e,n,t){let r=lt()+e,o=A();return o[r]===oe?tn(o,r,t?n.call(t):n()):xi(o,r)}function kB(e,n,t,r){return Ew(A(),lt(),e,n,t,r)}function LB(e,n,t,r,o){return Iw(A(),lt(),e,n,t,r,o)}function VB(e,n,t,r,o,i){return _w(A(),lt(),e,n,t,r,o,i)}function jB(e,n,t,r,o,i,s){return oA(A(),lt(),e,n,t,r,o,i,s)}function BB(e,n,t,r,o,i,s,a){let l=lt()+e,d=A(),p=yt(d,l,t,r,o,i);return We(d,l+4,s)||p?tn(d,l+5,a?n.call(a,t,r,o,i,s):n(t,r,o,i,s)):xi(d,l+5)}function $B(e,n,t,r,o,i,s,a,l){let d=lt()+e,p=A(),h=yt(p,d,t,r,o,i);return _r(p,d+4,s,a)||h?tn(p,d+6,l?n.call(l,t,r,o,i,s,a):n(t,r,o,i,s,a)):xi(p,d+6)}function UB(e,n,t,r,o,i,s,a,l,d){let p=lt()+e,h=A(),v=yt(h,p,t,r,o,i);return Cc(h,p+4,s,a,l)||v?tn(h,p+7,d?n.call(d,t,r,o,i,s,a,l):n(t,r,o,i,s,a,l)):xi(h,p+7)}function HB(e,n,t,r,o,i,s,a,l,d,p){let h=lt()+e,v=A(),m=yt(v,h,t,r,o,i);return yt(v,h+4,s,a,l,d)||m?tn(v,h+8,p?n.call(p,t,r,o,i,s,a,l,d):n(t,r,o,i,s,a,l,d)):xi(v,h+8)}function zB(e,n,t,r){return iA(A(),lt(),e,n,t,r)}function Ai(e,n){let t=e[n];return t===oe?void 0:t}function Ew(e,n,t,r,o,i){let s=n+t;return We(e,s,o)?tn(e,s+1,i?r.call(i,o):r(o)):Ai(e,s+1)}function Iw(e,n,t,r,o,i,s){let a=n+t;return _r(e,a,o,i)?tn(e,a+2,s?r.call(s,o,i):r(o,i)):Ai(e,a+2)}function _w(e,n,t,r,o,i,s,a){let l=n+t;return Cc(e,l,o,i,s)?tn(e,l+3,a?r.call(a,o,i,s):r(o,i,s)):Ai(e,l+3)}function oA(e,n,t,r,o,i,s,a,l){let d=n+t;return yt(e,d,o,i,s,a)?tn(e,d+4,l?r.call(l,o,i,s,a):r(o,i,s,a)):Ai(e,d+4)}function iA(e,n,t,r,o,i){let s=n+t,a=!1;for(let l=0;l<o.length;l++)We(e,s++,o[l])&&(a=!0);return a?tn(e,s,r.apply(i,o)):Ai(e,s)}function GB(e,n){let t=ge(),r,o=e+Me;t.firstCreatePass?(r=sA(n,t.pipeRegistry),t.data[o]=r,r.onDestroy&&(t.destroyHooks??=[]).push(o,r.onDestroy)):r=t.data[o];let i=r.factory||(r.factory=gr(r.type,!0)),s,a=tt(T);try{let l=Ra(!1),d=i();return Ra(l),$x(t,A(),o,d),d}finally{tt(a)}}function sA(e,n){if(n)for(let t=n.length-1;t>=0;t--){let r=n[t];if(e===r.name)return r}}function qB(e,n,t){let r=e+Me,o=A(),i=ic(o,r);return If(o,r)?Ew(o,lt(),n,i.transform,t,i):i.transform(t)}function WB(e,n,t,r){let o=e+Me,i=A(),s=ic(i,o);return If(i,o)?Iw(i,lt(),n,s.transform,t,r,s):s.transform(t,r)}function ZB(e,n,t,r,o){let i=e+Me,s=A(),a=ic(s,i);return If(s,i)?_w(s,lt(),n,a.transform,t,r,o,a):a.transform(t,r,o)}function If(e,n){return e[F].data[n].pure}function YB(e,n){return wc(e,n)}var Ic=(()=>{class e{log(t){console.log(t)}warn(t){console.warn(t)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"platform"})}}return e})();var Mw=new x("");function Wn(e){return!!e&&typeof e.then=="function"}function _f(e){return!!e&&typeof e.subscribe=="function"}var _c=new x(""),Sw=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,r)=>{this.resolve=t,this.reject=r}),this.appInits=b(_c,{optional:!0})??[]}
68runInitializers(){if(this.initialized)return;let t=[];for(let o of this.appInits){let i=o();if(Wn(i))t.push(i);else if(_f(i)){let s=new Promise((a,l)=>{i.subscribe({complete:a,error:l})});t.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{r()}).catch(o=>{this.reject(o)}),t.length===0&&r(),this.initialized=!0}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),Ni=new x("");function aA(){og(()=>{throw new M(600,!1)})}function cA(e){return e.isBoundToModule}var lA=10;function uA(e,n,t){try{let r=t();return Wn(r)?r.catch(o=>{throw n.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw n.runOutsideAngular(()=>e.handleError(r)),r}}var Zn=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=b(cM),this.afterRenderManager=b(Qy),this.zonelessEnabled=b(Dc),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new Te,this.afterTick=new Te,this.componentTypes=[],this.components=[],this.isStable=b(wn).hasPendingTasks.pipe(L(t=>!t)),this._injector=b(qe)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let t;return new Promise(r=>{t=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{t.unsubscribe()})}get injector(){return this._injector}bootstrap(t,r){let o=t instanceof Va;if(!this._injector.get(Sw).done){let v=!o&&Ym(t),m=!1;throw new M(405,m)}let s;o?s=t:s=this._injector.get(Do).resolveComponentFactory(t),this.componentTypes.push(s.componentType);let a=cA(s)?void 0:this._injector.get(zn),l=r||s.selector,d=s.create(vt.NULL,[],l,a),p=d.location.nativeElement,h=d.injector.get(Mw,null);return h?.registerApplication(p),d.onDestroy(()=>{this.detachView(d.hostView),ba(this.components,d),h?.unregisterApplication(p)}),this._loadComponent(d),d}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new M(101,!1);let t=H(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,H(t),this.afterTick.next()}}synchronize(){let t=null;this._injector.destroyed||(t=this._injector.get(bo,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let r=0;for(;this.dirtyFlags!==0&&r++<lA;)this.synchronizeOnce(t)}synchronizeOnce(t){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8,this.beforeRender.next(r);for(let{_lView:o,notifyErrorHandler:i}of this._views)dA(o,i,r,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&7)return}else t?.begin?.(),t?.end?.();this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:t})=>sc(t))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(t){let r=t;this._views.push(r),r.attachToAppRef(this)}detachView(t){let r=t;ba(this._views,r),r.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t);let r=this._injector.get(Ni,[]);[...this._bootstrapListeners,...r].forEach(o=>o(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>ba(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new M(406,!1);let t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function ba(e,n){let t=e.indexOf(n);t>-1&&e.splice(t,1)}function dA(e,n,t,r){if(!t&&!sc(e))return;Ly(e,n,t&&!r?0:1)}var Md=class{constructor(n,t){this.ngModuleFactory=n,this.componentFactories=t}},Mc=(()=>{class e{compileModuleSync(t){return new fd(t)}compileModuleAsync(t){return Promise.resolve(this.compileModuleSync(t))}compileModuleAndAllComponentsSync(t){let r=this.compileModuleSync(t),o=Qm(t),i=cy(o.declarations).reduce((s,a)=>{let l=hn(a);return l&&s.push(new Ir(l)),s},[]);return new Md(r,i)}compileModuleAndAllComponentsAsync(t){return Promise.resolve(this.compileModuleAndAllComponentsSync(t))}clearCache(){}clearCacheFor(t){}getModuleId(t){}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var fA=(()=>{class e{constructor(){this.zone=b(fe),this.changeDetectionScheduler
68=b(wo),this.applicationRef=b(Zn)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),hA=new x("",{factory:()=>!1});function Tw({ngZoneFactory:e,ignoreChangesOutsideZone:n,scheduleInRootZone:t}){return e??=()=>new fe(W(E({},xw()),{scheduleInRootZone:t})),[{provide:fe,useFactory:e},{provide:fo,multi:!0,useFactory:()=>{let r=b(fA,{optional:!0});return()=>r.initialize()}},{provide:fo,multi:!0,useFactory:()=>{let r=b(pA);return()=>{r.initialize()}}},n===!0?{provide:$y,useValue:!0}:[],{provide:Uy,useValue:t??jv}]}function QB(e){let n=e?.ignoreChangesOutsideZone,t=e?.scheduleInRootZone,r=Tw({ngZoneFactory:()=>{let o=xw(e);return o.scheduleInRootZone=t,o.shouldCoalesceEventChangeDetection&&en("NgZone_CoalesceEvent"),new fe(o)},ignoreChangesOutsideZone:n,scheduleInRootZone:t});return Io([{provide:hA,useValue:!0},{provide:Dc,useValue:!1},r])}function xw(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var pA=(()=>{class e{constructor(){this.subscription=new ue,this.initialized=!1,this.zone=b(fe),this.pendingTasks=b(wn)}initialize(){if(this.initialized)return;this.initialized=!0;let t=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(t=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{fe.assertNotInAngularZone(),queueMicrotask(()=>{t!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(t),t=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{fe.assertInAngularZone(),t??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var gA=(()=>{class e{constructor(){this.appRef=b(Zn),this.taskService=b(wn),this.ngZone=b(fe),this.zonelessEnabled=b(Dc),this.disableScheduling=b($y,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new ue,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Fa):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(b(Uy,{optional:!0})??!1),this.cancelScheduledCallback=null,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 Bu||!this.zoneIsDefined)}notify(t){if(!this.zonelessEnabled&&t===5)return;switch(t){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 7:{this.appRef.deferredDirtyFlags|=8;break}case 9:case 8:case 6:case 10:default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick())return;let r=this.useMicrotaskScheduler?Kg:Bv;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Fa+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let t=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(t),r}finally{this.cleanup()}
68this.useMicrotaskScheduler=!0,Kg(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(t)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let t=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(t)}}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function mA(){return typeof $localize<"u"&&$localize.locale||Wa}var Ri=new x("",{providedIn:"root",factory:()=>b(Ri,G.Optional|G.SkipSelf)||mA()});var Sd=new x("");function ga(e){return!e.moduleRef}function vA(e){let n=ga(e)?e.r3Injector:e.moduleRef.injector,t=n.get(fe);return t.run(()=>{ga(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=n.get(Rt,null),o;if(t.runOutsideAngular(()=>{o=t.onError.subscribe({next:i=>{r.handleError(i)}})}),ga(e)){let i=()=>n.destroy(),s=e.platformInjector.get(Sd);s.add(i),n.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Sd);s.add(i),e.moduleRef.onDestroy(()=>{ba(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return uA(r,t,()=>{let i=n.get(Sw);return i.runInitializers(),i.donePromise.then(()=>{let s=n.get(Ri,Wa);if(Px(s||Wa),ga(e)){let a=n.get(Zn);return e.rootComponent!==void 0&&a.bootstrap(e.rootComponent),a}else return yA(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function yA(e,n){let t=e.injector.get(Zn);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>t.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(t);else throw new M(-403,!1);n.push(e)}var Ca=null;function wA(e=[],n){return vt.create({name:n,providers:[{provide:ec,useValue:"platform"},{provide:Sd,useValue:new Set([()=>Ca=null])},...e]})}function DA(e=[]){if(Ca)return Ca;let n=wA(e);return Ca=n,aA(),bA(n),n}function bA(e){e.get(ef,null)?.forEach(t=>t())}var rn=(()=>{class e{static{this.__NG_ELEMENT_ID__=CA}}return e})();function CA(e){return EA(Oe(),A(),(e&16)===16)}function EA(e,n,t){if(rc(e)&&!t){let r=Gn(e.index,n);return new Cr(r,r)}else if(e.type&175){let r=n[ct];return new Cr(r,n)}return null}var Td=class{constructor(){}supports(n){return Yy(n)}create(n){return new xd(n)}},IA=(e,n)=>n,xd=class{constructor(n){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=n||IA}forEachItem(n){let t;for(t=this._itHead;t!==null;t=t._next)n(t)}forEachOperation(n){let t=this._itHead,r=this._removalsHead,o=0,i=null;for(;t||r;){let s=!r||t&&t.currentIndex<Im(r,o,i)?t:r,a=Im(s,o,i),l=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(t=t._next,s.previousIndex==null)o++;else{i||(i=[]);let d=a-o,p=l-o;if(d!=p){for(let v=0;v<d;v++){let m=v<i.length?i[v]:i[v]=0,w=m+v;p<=w&&w<d&&(i[v]=m+1)}let h=s.previousIndex;i[h]=p-d}}a!==l&&n(s,a,l)}}forEachPreviousItem(n){let t;for(t=this._previousItHead;t!==null;t=t._nextPrevious)n(t)}forEachAddedItem(n){let t;for(t=this._additionsHead;t!==null;t=t._nextAdded)n(t)}forEachMovedItem(n){let t;for(t=this._movesHead;t!==null;t=t._nextMoved)n(t)}forEachRemovedItem(n){let t;for(t=this._removalsHead;t!==null;t=t._nextRemoved)n(t)}forEachIdentityChange(n){let t;for(t=this._identityChangesHead;t!==null;t=t._nextIdentityChange)n(t)}diff(n){if(n==null&&(n=[]),!Yy(n))throw new M(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let t=this._itHead,r=!1,o,i,s;if(Array.isArray(n)){this.length=n.length;for(let a=0;a<this.length;a++)i=n[a],s=this._trackByFn(a,i),t===null||!Object.is(t.trackById,s)?(t=this._mismatch(t,i,s,a),r=!0):(r&&(t=this._verifyReinsertion(t,i,s,a)),Object.is(t.item,i)||this._addIdentityChange(t,i)),t=t._next}else o=0,jT(n,a=>{s=this._trackByFn(o,a),t===null||!Object.is(t.trackById,s)?(t=this._mismatch(t,a,s,o),r=!0):(r&&(t=this._verifyReinsertion(t,a,s,o)),Object.is(t.
vendor: 5,791 bytes, line 68
68item,a)||this._addIdentityChange(t,a)),t=t._next,o++}),this.length=o;return this._truncate(t),this.collection=n,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;n!==null;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;n!==null;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;n!==null;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,t,r,o){let i;return n===null?i=this._itTail:(i=n._prev,this._remove(n)),n=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),n!==null?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._reinsertAfter(n,i,o)):(n=this._linkedRecords===null?null:this._linkedRecords.get(r,o),n!==null?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._moveAfter(n,i,o)):n=this._addAfter(new Ad(t,r),i,o)),n}_verifyReinsertion(n,t,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?n=this._reinsertAfter(i,n._prev,o):n.currentIndex!=o&&(n.currentIndex=o,this._addToMoves(n,o)),n}_truncate(n){for(;n!==null;){let t=n._next;this._addToRemovals(this._unlink(n)),n=t}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(n,t,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(n);let o=n._prevRemoved,i=n._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(n,t,r),this._addToMoves(n,r),n}_moveAfter(n,t,r){return this._unlink(n),this._insertAfter(n,t,r),this._addToMoves(n,r),n}_addAfter(n,t,r){return this._insertAfter(n,t,r),this._additionsTail===null?this._additionsTail=this._additionsHead=n:this._additionsTail=this._additionsTail._nextAdded=n,n}_insertAfter(n,t,r){let o=t===null?this._itHead:t._next;return n._next=o,n._prev=t,o===null?this._itTail=n:o._prev=n,t===null?this._itHead=n:t._next=n,this._linkedRecords===null&&(this._linkedRecords=new Za),this._linkedRecords.put(n),n.currentIndex=r,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){this._linkedRecords!==null&&this._linkedRecords.remove(n);let t=n._prev,r=n._next;return t===null?this._itHead=r:t._next=r,r===null?this._itTail=t:r._prev=t,n}_addToMoves(n,t){return n.previousIndex===t||(this._movesTail===null?this._movesTail=this._movesHead=n:this._movesTail=this._movesTail._nextMoved=n),n}_addToRemovals(n){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Za),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,t){return n.item=t,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=n:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=n,n}},Ad=class{constructor(n,t){this.item=n,this.trackById=t,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}},Nd=class{constructor(){this._head=null,this._tail=null}add(n){this._head===null?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,t){let r;for(r=this._head;r!==null;r=r._nextDup)if((t===null||t<=r.currentIndex)&&Object.is(r.trackById,n))return r;return null}remove(n){let t=n._prevDup,r=n._nextDup;return t===null?this._head=r:t._nextDup=r,r===null?this._tail=t:r._prevDup=t,this._head===null}},Za=class{constructor(){this.map=new Map}put(n){let t=n.trackById,r=this.map.get(t);r||(r=new Nd,this.map.set(t,r)),r.add(n)}get(n,t){let r=n,o=this.map.get(r);return o?o.get(n,t):null}remove(n){let t=n.trackById;return this.map.get(t).remove(n)&&this.map.delete(t),n}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function Im(e,n,t){let r=e.previousIndex;if(r===null)return r;let o=0;return t&&r<t.length&&(o=t[r]),r+n+o}var Rd=class{constructor(){}supports(n){return n instanceof Map||wf(n)}create(){return new Od}},Od=class{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 this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(n){let t;for(t=this._mapHead;t!==null;t=t._next)n(t)}forEachPreviousItem(n){let t;for(t=this._previousMapHead;t!==null;t=t._nextPrevious)n(t)}forEachChangedItem(n){let t;for(t=this._changesHead;t!==null;t=t._nextChanged)n(t)}forEachAddedItem(n){let t;for(t=this._additionsHead;t!==null;t=t._nextAdded)n(t)}forEachRemovedItem(n){let t;for(t=this._removalsHead;t!==null;t=t._nextRemoved)n(t)}diff(n){if(!n)n=new Map;else if(!(n instanceof Map||wf(n)))throw new M(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let t=this._mapHead;
68if(this._appendAfter=null,this._forEach(n,(r,o)=>{if(t&&t.key===o)this._maybeAddToChanges(t,r),this._appendAfter=t,t=t._next;else{let i=this._getOrCreateRecordForKey(o,r);t=this._insertBeforeOrAppend(t,i)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let r=t;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(n,t){if(n){let r=n._prev;return t._next=n,t._prev=r,n._prev=t,r&&(r._next=t),n===this._mapHead&&(this._mapHead=t),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(n,t){if(this._records.has(n)){let o=this._records.get(n);this._maybeAddToChanges(o,t);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new Pd(n);return this._records.set(n,r),r.currentValue=t,this._addToAdditions(r),r}_reset(){if(this.isDirty){let n;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;n!==null;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;n!==null;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;n!=null;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(n,t){Object.is(t,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=t,this._addToChanges(n))}_addToAdditions(n){this._additionsHead===null?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)}_addToChanges(n){this._changesHead===null?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)}_forEach(n,t){n instanceof Map?n.forEach(t):Object.keys(n).forEach(r=>t(n[r],r))}},Pd=class{constructor(n){this.key=n,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 _m(){return new Mf([new Td])}var Mf=(()=>{class e{static{this.\u0275prov=S({token:e,providedIn:"root",factory:_m})}constructor(t){this.factories=t}static create(t,r){if(r!=null){let o=r.factories.slice();t=t.concat(o)}return new e(t)}static extend(t){return{provide:e,useFactory:r=>e.create(t,r||_m()),deps:[[e,new Ja,new bi]]}}find(t){let r=this.factories.find(o=>o.supports(t));if(r!=null)return r;throw new M(901,!1)}}return e})();function Mm(){return new Sf([new Rd])}var Sf=(()=>{class e{static{this.\u0275prov=S({token:e,providedIn:"root",factory:Mm})}constructor(t){this.factories=t}static create(t,r){if(r){let o=r.factories.slice();t=t.concat(o)}return new e(t)}static extend(t){return{provide:e,useFactory:r=>e.create(t,r||Mm()),deps:[[e,new Ja,new bi]]}}find(t){let r=this.factories.find(o=>o.supports(t));if(r)return r;throw new M(901,!1)}}return e})();function Aw(e){try{let{rootComponent:n,appProviders:t,platformProviders:r}=e,o=DA(r),i=[Tw({}),{provide:wo,useExisting:gA},...t||[]],s=new Ua({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1});return vA({r3Injector:s.injector,platformInjector:o,rootComponent:n})}catch(n){return Promise.reject(n)}}function Yn(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function _A(e,n=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):n}function Ao(e,n){en("NgSignals");let t=tg(e);return n?.equal&&(t[St].equal=n.equal),t}function Et(e){let n=H(null);try{return e()}finally{H(n)}}var MA=new x("",{providedIn:"root",factory:()=>b(SA)}),SA=(()=>{class e{static{this.\u0275prov=S({token:e,providedIn:"root",factory:()=>new Fd})}}return e})(),Fd=class{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=b(wn),this.taskId=null}scheduleEffect(n){if(this.enqueue(n),this.taskId===null){let t=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(t),this.taskId=null})}}enqueue(n){let t=n.creationZone;this.queues.has(t)||this.queues.set(t,new Set);let r=this.queues.get(t);r.has(n)||(this.queuedEffectCount++,r.add(n))}flush(){for(;this.queuedEffectCount>0;)for(let[n,t]of this.queues)n===null?this.flushQueue(t):n.run(()=>this.flushQueue(t))}flushQueue(n){for(let t of n)n.delete(t),this.queuedEffectCount--,t.run()}}
68,kd=class{constructor(n,t,r,o,i,s){this.scheduler=n,this.effectFn=t,this.creationZone=r,this.injector=i,this.watcher=ag(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}runEffect(n){try{this.effectFn(n)}catch(t){this.injector.get(Rt,null,{optional:!0})?.handleError(t)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}};function TA(e,n){en("NgSignals"),!n?.injector&&ov(TA);let t=n?.injector??b(vt),r=n?.manualCleanup!==!0?t.get(_i):null,o=new kd(t.get(MA),e,typeof Zone>"u"?null:Zone.current,r,t,n?.allowSignalWrites??!1),i=t.get(rn,null,{optional:!0});return!i||!(i._lView[P]&8)?o.watcher.notify():(i._lView[va]??=[]).push(o.watcher.notify),o}function KB(e,n){let t=hn(e),r=n.elementInjector||tc();return new Ir(t).create(r,n.projectableNodes,n.hostElement,n.environmentInjector)}function Nw(e){let n=hn(e);if(!n)return null;let t=new Ir(n);return{get selector(){return t.selector},get type(){return t.componentType},get inputs(){return t.inputs},get outputs(){return t.outputs},get ngContentSelectors(){return t.ngContentSelectors},get isStandalone(){return n.standalone},get isSignal(){return n.signals}}}var jw=null;function Sn(){return jw}function Bw(e){jw??=e}var Fc=class{};var Pe=new x(""),$f=(()=>{class e{historyGo(t){throw new Error("")}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=S({token:e,factory:()=>b(AA),providedIn:"platform"})}}return e})(),$w=new x(""),AA=(()=>{class e extends $f{constructor(){super(),this._doc=b(Pe),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Sn().getBaseHref(this._doc)}onPopState(t){let r=Sn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",t,!1),()=>r.removeEventListener("popstate",t)}onHashChange(t){let r=Sn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",t,!1),()=>r.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,r,o){this._history.pushState(t,r,o)}replaceState(t,r,o){this._history.replaceState(t,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=S({token:e,factory:()=>new e,providedIn:"platform"})}}return e})();function Uf(e,n){if(e.length==0)return n;if(n.length==0)return e;let t=0;return e.endsWith("/")&&t++,n.startsWith("/")&&t++,t==2?e+n.substring(1):t==1?e+n:e+"/"+n}function Rw(e){let n=e.match(/#|\?|$/),t=n&&n.index||e.length,r=t-(e[t-1]==="/"?1:0);return e.slice(0,r)+e.slice(t)}function In(e){return e&&e[0]!=="?"?"?"+e:e}var Tn=(()=>{class e{historyGo(t){throw new Error("")}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=S({token:e,factory:()=>b(Hf),providedIn:"root"})}}return e})(),Uw=new x(""),Hf=(()=>{class e extends Tn{constructor(t,r){super(),this._platformLocation=t,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??b(Pe).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 Uf(this._baseHref,t)}path(t=!1){let r=this._platformLocation.pathname+In(this._platformLocation.search),o=this._platformLocation.hash;return o&&t?`${r}${o}`:r}pushState(t,r,o,i){let s=this.prepareExternalUrl(o+In(i));this._platformLocation.pushState(t,r,s)}replaceState(t,r,o,i){let s=this.prepareExternalUrl(o+In(i));this._platformLocation.replaceState(t,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static{this.\u0275fac=function(r){return new(r||e)(N($f),N(Uw,8))}}static{this.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),Hw=(()=>{class e extends Tn{constructor(t,r){super(),this._platformLocation=t,this._baseHref="",this._removeListenerFns=[],r!=null&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.on
vendor: 6,250 bytes, line 68
68HashChange(t))}getBaseHref(){return this._baseHref}path(t=!1){let r=this._platformLocation.hash??"#";return r.length>0?r.substring(1):r}prepareExternalUrl(t){let r=Uf(this._baseHref,t);return r.length>0?"#"+r:r}pushState(t,r,o,i){let s=this.prepareExternalUrl(o+In(i));s.length==0&&(s=this._platformLocation.pathname),this._platformLocation.pushState(t,r,s)}replaceState(t,r,o,i){let s=this.prepareExternalUrl(o+In(i));s.length==0&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(t,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static{this.\u0275fac=function(r){return new(r||e)(N($f),N(Uw,8))}}static{this.\u0275prov=S({token:e,factory:e.\u0275fac})}}return e})(),Oo=(()=>{class e{constructor(t){this._subject=new de,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=t;let r=this._locationStrategy.getBaseHref();this._basePath=OA(Rw(Ow(r))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,r=""){return this.path()==this.normalize(t+In(r))}normalize(t){return e.stripTrailingSlash(RA(this._basePath,Ow(t)))}prepareExternalUrl(t){return t&&t[0]!=="/"&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,r="",o=null){this._locationStrategy.pushState(o,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+In(r)),o)}replaceState(t,r="",o=null){this._locationStrategy.replaceState(o,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+In(r)),o)}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(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",r){this._urlChangeListeners.forEach(o=>o(t,r))}subscribe(t,r,o){return this._subject.subscribe({next:t,error:r,complete:o})}static{this.normalizeQueryParams=In}static{this.joinWithSlash=Uf}static{this.stripTrailingSlash=Rw}static{this.\u0275fac=function(r){return new(r||e)(N(Tn))}}static{this.\u0275prov=S({token:e,factory:()=>NA(),providedIn:"root"})}}return e})();function NA(){return new Oo(N(Tn))}function RA(e,n){if(!e||!n.startsWith(e))return n;let t=n.substring(e.length);return t===""||["/",";","?","#"].includes(t[0])?t:n}function Ow(e){return e.replace(/\/index.html$/,"")}function OA(e){if(new RegExp("^(https?:)?//").test(e)){let[,t]=e.split(/\/\/[^\/]+/);return t}return e}var zw=function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e}(zw||{});var Qe=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(Qe||{}),ie=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(ie||{}),ft=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(ft||{}),ht={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 PA(e){return dt(e)[pe.LocaleId]}function FA(e,n,t){let r=dt(e),o=[r[pe.DayPeriodsFormat],r[pe.DayPeriodsStandalone]],i=It(o,n);return It(i,t)}function kA(e,n,t){let r=dt(e),o=[r[pe.DaysFormat],r[pe.DaysStandalone]],i=It(o,n);return It(i,t)}function LA(e,n,t){let r=dt(e),o=[r[pe.MonthsFormat],r[pe.MonthsStandalone]],i=It(o,n);return It(i,t)}function VA(e,n){let r=dt(e)[pe.Eras];return It(r,n)}function Sc(e,n){let t=dt(e);return It(t[pe.DateFormat],n)}function Tc(e,n){let t=dt(e);return It(t[pe.TimeFormat],n)}function xc(e,n){let r=dt(e)[pe.DateTimeFormat];return It(r,n)}function _n(e,n){let t=dt(e),r=t[pe.NumberSymbols][n];if(typeof r>"u"){if(n===ht.CurrencyDecimal)return t[pe.NumberSymbols][ht.Decimal];if(n===ht.CurrencyGroup)return t[pe.NumberSymbols][ht.Group]}return r}function jA(e,n){return dt(e)[pe.NumberFormats][n]}function Gw(e){if(!e[pe.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[pe.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function BA(e){let n=dt(e);return Gw(n),(n[pe.ExtraData][2]||[]).map(r=>typeof r=="string"?Tf(r):[Tf(r[0]),Tf(r[1])])}function $A(e,n,t){let r=dt(e);Gw(r);let o=[r[pe.ExtraData][0],r[pe.ExtraData][1]],i=It(o,n)||[];return It(i,t)||[]}function It(e,n){for(let t=n;t>-1;t--)if(typeof e[t]<"u")return e[t];throw new Error("Locale data API: locale data undefined")}function Tf(e){let[n,t]=e.split(":");return{hours:+n,minutes:+t}}var UA=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Ac={},HA=/((?:[^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]*)/,Mn=function(e){return e[e.Short=0]="Short",e[e.ShortGMT=1]="ShortGMT",e[e.Long=2]="Long",e[e.Extended=3]="Extended",e}(Mn||{}),J=function(e){return e[e.FullYear=0]="FullYear",e[e.Month=1]="Month",e[e.Date=2]="Date",e[e.Hours=3]="Hours",e[e.Minutes=4]="Minutes",e[e.Seconds=5]="Seconds",e[e.FractionalSeconds=6]="FractionalSeconds",e[e.Day=7]="Day",e}(J||{}),K=function(e){return e[e.DayPeriods=0]="DayPeriods",e[e.Days=1]="Days",e[e.Months=2]="Months",e[e.Eras=3]="Eras",e}(K||{});function zA(e,n,t,r){let o=XA(e);n=En(t,n)||n;let s=[],a;for(;n;)if(a=HA.exec(n),a){s=s.concat(a.slice(1));let p=s.pop();if(!p)break;n=p}else{s.push(n);break}let l=o.getTimezoneOffset();r&&(l=Ww(r,l),o=JA(o,r,!0));let d="";
vendor: 5,147 bytes, line 68
68return s.forEach(p=>{let h=QA(p);d+=h?h(o,t,l):p==="''"?"'":p.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),d}function kc(e,n,t){let r=new Date(0);return r.setFullYear(e,n,t),r.setHours(0,0,0),r}function En(e,n){let t=PA(e);if(Ac[t]??={},Ac[t][n])return Ac[t][n];let r="";switch(n){case"shortDate":r=Sc(e,ft.Short);break;case"mediumDate":r=Sc(e,ft.Medium);break;case"longDate":r=Sc(e,ft.Long);break;case"fullDate":r=Sc(e,ft.Full);break;case"shortTime":r=Tc(e,ft.Short);break;case"mediumTime":r=Tc(e,ft.Medium);break;case"longTime":r=Tc(e,ft.Long);break;case"fullTime":r=Tc(e,ft.Full);break;case"short":let o=En(e,"shortTime"),i=En(e,"shortDate");r=Nc(xc(e,ft.Short),[o,i]);break;case"medium":let s=En(e,"mediumTime"),a=En(e,"mediumDate");r=Nc(xc(e,ft.Medium),[s,a]);break;case"long":let l=En(e,"longTime"),d=En(e,"longDate");r=Nc(xc(e,ft.Long),[l,d]);break;case"full":let p=En(e,"fullTime"),h=En(e,"fullDate");r=Nc(xc(e,ft.Full),[p,h]);break}return r&&(Ac[t][n]=r),r}function Nc(e,n){return n&&(e=e.replace(/\{([^}]+)}/g,function(t,r){return n!=null&&r in n?n[r]:t})),e}function Ft(e,n,t="-",r,o){let i="";(e<0||o&&e<=0)&&(o?e=-e+1:(e=-e,i=t));let s=String(e);for(;s.length<n;)s="0"+s;return r&&(s=s.slice(s.length-n)),i+s}function GA(e,n){return Ft(e,3).substring(0,n)}function Ee(e,n,t=0,r=!1,o=!1){return function(i,s){let a=qA(e,i);if((t>0||a>-t)&&(a+=t),e===J.Hours)a===0&&t===-12&&(a=12);else if(e===J.FractionalSeconds)return GA(a,n);let l=_n(s,ht.MinusSign);return Ft(a,n,l,r,o)}}function qA(e,n){switch(e){case J.FullYear:return n.getFullYear();case J.Month:return n.getMonth();case J.Date:return n.getDate();case J.Hours:return n.getHours();case J.Minutes:return n.getMinutes();case J.Seconds:return n.getSeconds();case J.FractionalSeconds:return n.getMilliseconds();case J.Day:return n.getDay();default:throw new Error(`Unknown DateType value "${e}".`)}}function ce(e,n,t=Qe.Format,r=!1){return function(o,i){return WA(o,i,e,n,t,r)}}function WA(e,n,t,r,o,i){switch(t){case K.Months:return LA(n,o,r)[e.getMonth()];case K.Days:return kA(n,o,r)[e.getDay()];case K.DayPeriods:let s=e.getHours(),a=e.getMinutes();if(i){let d=BA(n),p=$A(n,o,r),h=d.findIndex(v=>{if(Array.isArray(v)){let[m,w]=v,D=s>=m.hours&&a>=m.minutes,C=s<w.hours||s===w.hours&&a<w.minutes;if(m.hours<w.hours){if(D&&C)return!0}else if(D||C)return!0}else if(v.hours===s&&v.minutes===a)return!0;return!1});if(h!==-1)return p[h]}return FA(n,o,r)[s<12?0:1];case K.Eras:return VA(n,r)[e.getFullYear()<=0?0:1];default:let l=t;throw new Error(`unexpected translation type ${l}`)}}function Rc(e){return function(n,t,r){let o=-1*r,i=_n(t,ht.MinusSign),s=o>0?Math.floor(o/60):Math.ceil(o/60);switch(e){case Mn.Short:return(o>=0?"+":"")+Ft(s,2,i)+Ft(Math.abs(o%60),2,i);case Mn.ShortGMT:return"GMT"+(o>=0?"+":"")+Ft(s,1,i);case Mn.Long:return"GMT"+(o>=0?"+":"")+Ft(s,2,i)+":"+Ft(Math.abs(o%60),2,i);case Mn.Extended:return r===0?"Z":(o>=0?"+":"")+Ft(s,2,i)+":"+Ft(Math.abs(o%60),2,i);default:throw new Error(`Unknown zone width "${e}"`)}}}var ZA=0,Pc=4;function YA(e){let n=kc(e,ZA,1).getDay();return kc(e,0,1+(n<=Pc?Pc:Pc+7)-n)}function qw(e){let n=e.getDay(),t=n===0?-3:Pc-n;return kc(e.getFullYear(),e.getMonth(),e.getDate()+t)}function xf(e,n=!1){return function(t,r){let o;if(n){let i=new Date(t.getFullYear(),t.getMonth(),1).getDay()-1,s=t.getDate();o=1+Math.floor((s+i)/7)}else{let i=qw(t),s=YA(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return Ft(o,e,_n(r,ht.MinusSign))}}function Oc(e,n=!1){return function(t,r){let i=qw(t).getFullYear();return Ft(i,e,_n(r,ht.MinusSign),n)}}var Af={};function QA(e){if(Af[e])return Af[e];let n;switch(e){case"G":case"GG":case"GGG":n=ce(K.Eras,ie.Abbreviated);break;case"GGGG":n=ce(K.Eras,ie.Wide);break;case"GGGGG":n=ce(K.Eras,ie.Narrow);break;case"y":n=Ee(J.FullYear,1,0,!1,!0);break;case"yy":n=Ee(J.FullYear,2,0,!0,!0);break;case"yyy":n=Ee(J.FullYear,3,0,!1,!0);break;case"yyyy":n=Ee(J.FullYear,4,0,!1,!0);break;case"Y":n=Oc(1);break;case"YY":n=Oc(2,!0);break;case"YYY":n=Oc(3);break;case"YYYY":n=Oc(4);break;case"M":case"L":n=Ee(J.Month,1,1);break;case"MM":case"LL":n=Ee(J.Month,2,1);break;case"MMM":n=ce(K.Months,ie.Abbreviated);break;case"MMMM":n=ce(K.Months,ie.Wide);break;case"MMMMM":n=ce(K.Months,ie.Narrow);break;case"LLL":n=ce(K.Months,ie.Abbreviated,Qe.Standalone);break;case"LLLL":n=ce(K.Months,ie.Wide,Qe.Standalone);break;case"LLLLL":n=ce(K.Months,ie.Narrow,Qe.Standalone);break;case"w":n=xf(1);break;case"ww":n=xf(2);break;case"W":n=xf(1,!0);break;case"d":n=Ee(J.Date,1);break;case"dd":n=Ee(J.Date,2);break;case"c":case"cc":n=Ee(J.Day,1);break;case"ccc":n=ce(K.Days,ie.Abbreviated,Qe.Standalone);break;case"cccc":n=ce(K.Days,ie.Wide,Qe.Standalone);break;case"ccccc":n=ce(K.Days,ie.Narrow,Qe.Standalone);break;case"cccccc":n=ce(K.Days,ie.Short,Qe.Standalone);break;case"E":case"EE":case"EEE":n=ce(K.Days,ie.Abbreviated);break;case"EEEE":n=ce(K.Days,ie.Wide);break;case"EEEEE":n=ce(K.Days,ie.Narrow);break;case"EEEEEE":n=ce(K.Days,ie.Short);break;case"a":case"aa":case"aaa":n=ce(K.DayPeriods,ie.Abbreviated);break;case"aaaa":n=ce(K.DayPeriods,ie.Wide);break;case"aaaaa":n=ce(K.DayPeriods,ie.Narrow);break;
vendor: 8,552 bytes, line 68
68case"b":case"bb":case"bbb":n=ce(K.DayPeriods,ie.Abbreviated,Qe.Standalone,!0);break;case"bbbb":n=ce(K.DayPeriods,ie.Wide,Qe.Standalone,!0);break;case"bbbbb":n=ce(K.DayPeriods,ie.Narrow,Qe.Standalone,!0);break;case"B":case"BB":case"BBB":n=ce(K.DayPeriods,ie.Abbreviated,Qe.Format,!0);break;case"BBBB":n=ce(K.DayPeriods,ie.Wide,Qe.Format,!0);break;case"BBBBB":n=ce(K.DayPeriods,ie.Narrow,Qe.Format,!0);break;case"h":n=Ee(J.Hours,1,-12);break;case"hh":n=Ee(J.Hours,2,-12);break;case"H":n=Ee(J.Hours,1);break;case"HH":n=Ee(J.Hours,2);break;case"m":n=Ee(J.Minutes,1);break;case"mm":n=Ee(J.Minutes,2);break;case"s":n=Ee(J.Seconds,1);break;case"ss":n=Ee(J.Seconds,2);break;case"S":n=Ee(J.FractionalSeconds,1);break;case"SS":n=Ee(J.FractionalSeconds,2);break;case"SSS":n=Ee(J.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":n=Rc(Mn.Short);break;case"ZZZZZ":n=Rc(Mn.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":n=Rc(Mn.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":n=Rc(Mn.Long);break;default:return null}return Af[e]=n,n}function Ww(e,n){e=e.replace(/:/g,"");let t=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(t)?n:t}function KA(e,n){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+n),e}function JA(e,n,t){let r=t?-1:1,o=e.getTimezoneOffset(),i=Ww(n,o);return KA(e,r*(i-o))}function XA(e){if(Pw(e))return e;if(typeof e=="number"&&!isNaN(e))return new Date(e);if(typeof e=="string"){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){let[o,i=1,s=1]=e.split("-").map(a=>+a);return kc(o,i-1,s)}let t=parseFloat(e);if(!isNaN(e-t))return new Date(t);let r;if(r=e.match(UA))return eN(r)}let n=new Date(e);if(!Pw(n))throw new Error(`Unable to convert "${e}" into a date`);return n}function eN(e){let n=new Date(0),t=0,r=0,o=e[8]?n.setUTCFullYear:n.setFullYear,i=e[8]?n.setUTCHours:n.setHours;e[9]&&(t=Number(e[9]+e[10]),r=Number(e[9]+e[11])),o.call(n,Number(e[1]),Number(e[2])-1,Number(e[3]));let s=Number(e[4]||0)-t,a=Number(e[5]||0)-r,l=Number(e[6]||0),d=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return i.call(n,s,a,l,d),n}function Pw(e){return e instanceof Date&&!isNaN(e.valueOf())}var tN=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Fw=22,Lc=".",Oi="0",nN=";",rN=",",Nf="#";function oN(e,n,t,r,o,i,s=!1){let a="",l=!1;if(!isFinite(e))a=_n(t,ht.Infinity);else{let d=cN(e);s&&(d=aN(d));let p=n.minInt,h=n.minFrac,v=n.maxFrac;if(i){let k=i.match(tN);if(k===null)throw new Error(`${i} is not a valid digit info`);let V=k[1],le=k[3],ye=k[5];V!=null&&(p=Rf(V)),le!=null&&(h=Rf(le)),ye!=null?v=Rf(ye):le!=null&&h>v&&(v=h)}lN(d,h,v);let m=d.digits,w=d.integerLen,D=d.exponent,C=[];for(l=m.every(k=>!k);w<p;w++)m.unshift(0);for(;w<0;w++)m.unshift(0);w>0?C=m.splice(w,m.length):(C=m,m=[0]);let _=[];for(m.length>=n.lgSize&&_.unshift(m.splice(-n.lgSize,m.length).join(""));m.length>n.gSize;)_.unshift(m.splice(-n.gSize,m.length).join(""));m.length&&_.unshift(m.join("")),a=_.join(_n(t,r)),C.length&&(a+=_n(t,o)+C.join("")),D&&(a+=_n(t,ht.Exponential)+"+"+D)}return e<0&&!l?a=n.negPre+a+n.negSuf:a=n.posPre+a+n.posSuf,a}function iN(e,n,t){let r=jA(n,zw.Decimal),o=sN(r,_n(n,ht.MinusSign));return oN(e,o,n,ht.Group,ht.Decimal,t)}function sN(e,n="-"){let t={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(nN),o=r[0],i=r[1],s=o.indexOf(Lc)!==-1?o.split(Lc):[o.substring(0,o.lastIndexOf(Oi)+1),o.substring(o.lastIndexOf(Oi)+1)],a=s[0],l=s[1]||"";t.posPre=a.substring(0,a.indexOf(Nf));for(let p=0;p<l.length;p++){let h=l.charAt(p);h===Oi?t.minFrac=t.maxFrac=p+1:h===Nf?t.maxFrac=p+1:t.posSuf+=h}let d=a.split(rN);if(t.gSize=d[1]?d[1].length:0,t.lgSize=d[2]||d[1]?(d[2]||d[1]).length:0,i){let p=o.length-t.posPre.length-t.posSuf.length,h=i.indexOf(Nf);t.negPre=i.substring(0,h).replace(/'/g,""),t.negSuf=i.slice(h+p).replace(/'/g,"")}else t.negPre=n+t.posPre,t.negSuf=t.posSuf;return t}function aN(e){if(e.digits[0]===0)return e;let n=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(n===0?e.digits.push(0,0):n===1&&e.digits.push(0),e.integerLen+=2),e}function cN(e){let n=Math.abs(e)+"",t=0,r,o,i,s,a;for((o=n.indexOf(Lc))>-1&&(n=n.replace(Lc,"")),(i=n.search(/e/i))>0?(o<0&&(o=i),o+=+n.slice(i+1),n=n.substring(0,i)):o<0&&(o=n.length),i=0;n.charAt(i)===Oi;i++);if(i===(a=n.length))r=[0],o=1;else{for(a--;n.charAt(a)===Oi;)a--;for(o-=i,r=[],s=0;i<=a;i++,s++)r[s]=Number(n.charAt(i))}return o>Fw&&(r=r.splice(0,Fw-1),t=o-1,o=1),{digits:r,exponent:t,integerLen:o}}function lN(e,n,t){if(n>t)throw new Error(`The minimum number of digits after fraction (${n}) is higher than the maximum (${t}).`);let r=e.digits,o=r.length-e.integerLen,i=Math.min(Math.max(n,o),t),s=i+e.integerLen,a=r[s];if(s>0){r.splice(Math.max(e.integerLen,s));for(let h=s;h<r.length;h++)r[h]=0}else{o=Math.max(0,o),e.integerLen=1,r.length=Math.max(1,s=i+1),r[0]=0;for(let h=1;h<s;h++)r[h]=0}if(a>=5)if(s-1<0){for(let h=0;h>s;h--)r.unshift(0),e.integerLen++;r.unshift(1),e.integerLen++}else r[s-1]++;for(;o<Math.max(0,i);o++)r.push(0);let l=i!==0,d=n+e.integerLen,p=r.reduceRight(function(h,v,m,w){return v=v+h,w[m]=v<10?v:v-10,l&&(w[m]===0&&m>=d?w.pop():l=!1),v>=10?1:0},0);p&&(r.unshift(p),e.integerLen++)}function Rf(e){let n=parseInt(e);if(isNaN(n))throw new Error("Invalid integer literal when parsing "+e);return n}function m$(e,n,t){return pw(e,n,t)}function Vc(e,n){n=encodeURIComponent(n);for(let t of e.split(";")){let r=t.indexOf("="),[o,i]=r==-1?[t,""]:[t.slice(0,r),t.slice(r+1)];if(o.trim()===n)return decodeURIComponent(i)}return null}var Of=/\s+/,kw=[],v$=(()=>{class e{constructor(t,r){this._ngEl=t,this._renderer=r,this.initialClasses=kw,this.stateMap=new Map}set klass(t){this.initialClasses=t!=null?t.trim().split(Of):kw}set ngClass(t){this.rawClass=typeof t=="string"?t.trim().split(Of):t}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let t=this.rawClass;if(Array.isArray(t)||t instanceof Set)for(let r of t)this._updateState(r,!0);else if(t!=null)for(let r of Object.keys(t))this._updateState(r,!!t[r]);this._applyStateDiff()}_updateState(t,r){let o=this.stateMap.get(t);o!==void 0?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(t,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let t of this.stateMap){let r=t[0],o=t[1];o.changed?(this._toggleClass(r,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),o.touched=!1}}_toggleClass(t,r){t=t.trim(),t.length>0&&t.split(Of).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static{this.\u0275fac=function(r){return new(r||e)(T(Be),T(Ct))}}static{this.\u0275dir=Y({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0})}}return e})();var Pf=class{constructor(n,t,r,o){this.$implicit=n,this.ngForOf=t,this.index=r,this.count=o}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},y$=(()=>{class e{set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}constructor(t,r,o){this._viewContainer=t,this._template=r,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let t=this._ngForOf;if(!this._differ&&t)if(0)try{}catch{}else this._differ=this._differs.find(t).create(this.ngForTrackBy)}if(this._differ){let t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){let r=this._viewContainer;t.forEachOperation((o,i,s)=>{if(o.previousIndex==null)r.createEmbeddedView(this._template,new Pf(o.item,this._ngForOf,-1,-1),s===null?void 0:s);else if(s==null)r.remove(i===null?void 0:i);else if(i!==null){let a=r.get(i);r.move(a,s),Lw(a,o)}});for(let o=0,i=r.length;o<i;o++){let a=r.get(o).context;a.index=o,a.count=i,a.ngForOf=this._ngForOf}t.forEachIdentityChange(o=>{let i=r.get(o.currentIndex);Lw(i,o)})}static ngTemplateContextGuard(t,r){return!0}static{this.\u0275fac=function(r){return new(r||e)(T(Cn),T(Er),T(Mf))}}static{this.\u0275dir=Y({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}}return e})();function Lw(e,n){e.context.$implicit=n.item}var w$=(()=>{class e{constructor(t,r){this._viewContainer=t,this._context=new Ff,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenView
68Ref=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){Vw("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){Vw("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,r){return!0}static{this.\u0275fac=function(r){return new(r||e)(T(Cn),T(Er))}}static{this.\u0275dir=Y({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}}return e})(),Ff=class{constructor(){this.$implicit=null,this.ngIf=null}};function Vw(e,n){if(!!!(!n||n.createEmbeddedView))throw new Error(`${e} must be a TemplateRef, but received '${Ge(n)}'.`)}var D$=(()=>{class e{constructor(t,r,o){this._ngEl=t,this._differs=r,this._renderer=o,this._ngStyle=null,this._differ=null}set ngStyle(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())}ngDoCheck(){if(this._differ){let t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}}_setStyle(t,r){let[o,i]=t.split("."),s=o.indexOf("-")===-1?void 0:Qt.DashCase;r!=null?this._renderer.setStyle(this._ngEl.nativeElement,o,i?`${r}${i}`:r,s):this._renderer.removeStyle(this._ngEl.nativeElement,o,s)}_applyChanges(t){t.forEachRemovedItem(r=>this._setStyle(r.key,null)),t.forEachAddedItem(r=>this._setStyle(r.key,r.currentValue)),t.forEachChangedItem(r=>this._setStyle(r.key,r.currentValue))}static{this.\u0275fac=function(r){return new(r||e)(T(Be),T(Sf),T(Ct))}}static{this.\u0275dir=Y({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}}return e})(),b$=(()=>{class e{constructor(t){this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(t){if(this._shouldRecreateView(t)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(t){return!!t.ngTemplateOutlet||!!t.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(t,r,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,o):!1,get:(t,r,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,o)}})}static{this.\u0275fac=function(r){return new(r||e)(T(Cn))}}static{this.\u0275dir=Y({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Dt]})}}return e})();function zf(e,n){return new M(2100,!1)}var kf=class{createSubscription(n,t){return Et(()=>n.subscribe({next:t,error:r=>{throw r}}))}dispose(n){Et(()=>n.unsubscribe())}},Lf=class{createSubscription(n,t){return n.then(t,r=>{throw r})}dispose(n){}},uN=new Lf,dN=new kf,C$=(()=>{class e{constructor(t){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=t}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(t){if(!this._obj){if(t)try{this.markForCheckOnValueUpdate=!1,this._subscribe(t)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return t!==this._obj?(this._dispose(),this.transform(t)):this._latestValue}_subscribe(t){this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,r=>this._updateLatestValue(t,r))}_selectStrategy(t){if(Wn(t))return uN;if(_f(t))return dN;throw zf(e,t)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(t,r){t===this._obj&&(this._latestValue=r,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static{this.\u0275fac=function(r){return new(r||e)(T(rn,16))}}static{this.\u0275pipe=Xa({name:"async",type:e,pure:!1,standalone:!0})}}return e})();var fN="mediumDate",hN=new x(""),pN=new x(""),E$=(()=>{class e{constructor(t,r,o){this.locale=t,this.defaultTimezone=r,this.defaultOptions=o}
68transform(t,r,o,i){if(t==null||t===""||t!==t)return null;try{let s=r??this.defaultOptions?.dateFormat??fN,a=o??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return zA(t,s,i||this.locale,a)}catch(s){throw zf(e,s.message)}}static{this.\u0275fac=function(r){return new(r||e)(T(Ri,16),T(hN,24),T(pN,24))}}static{this.\u0275pipe=Xa({name:"date",type:e,pure:!0,standalone:!0})}}return e})();var I$=(()=>{class e{constructor(t){this._locale=t}transform(t,r,o){if(!gN(t))return null;o||=this._locale;try{let i=mN(t);return iN(i,o,r)}catch(i){throw zf(e,i.message)}}static{this.\u0275fac=function(r){return new(r||e)(T(Ri,16))}}static{this.\u0275pipe=Xa({name:"number",type:e,pure:!0,standalone:!0})}}return e})();function gN(e){return!(e==null||e===""||e!==e)}function mN(e){if(typeof e=="string"&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if(typeof e!="number")throw new Error(`${e} is not a number`);return e}var vN=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275mod=Jt({type:e})}static{this.\u0275inj=Kt({})}}return e})(),Gf="browser",yN="server";function wN(e){return e===Gf}function jc(e){return e===yN}var Zw=(()=>{class e{static{this.\u0275prov=S({token:e,providedIn:"root",factory:()=>wN(b(Xt))?new Vf(b(Pe),window):new jf})}}return e})(),Vf=class{constructor(n,t){this.document=n,this.window=t,this.offset=()=>[0,0]}setOffset(n){Array.isArray(n)?this.offset=()=>n:this.offset=n}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(n){this.window.scrollTo(n[0],n[1])}scrollToAnchor(n){let t=DN(this.document,n);t&&(this.scrollToElement(t),t.focus())}setHistoryScrollRestoration(n){this.window.history.scrollRestoration=n}scrollToElement(n){let t=n.getBoundingClientRect(),r=t.left+this.window.pageXOffset,o=t.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(r-i[0],o-i[1])}};function DN(e,n){let t=e.getElementById(n)||e.getElementsByName(n)[0];if(t)return t;if(typeof e.createTreeWalker=="function"&&e.body&&typeof e.body.attachShadow=="function"){let r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT),o=r.currentNode;for(;o;){let i=o.shadowRoot;if(i){let s=i.getElementById(n)||i.querySelector(`[name="${n}"]`);if(s)return s}o=r.nextNode()}}return null}var jf=class{setOffset(n){}getScrollPosition(){return[0,0]}scrollToPosition(n){}scrollToAnchor(n){}setHistoryScrollRestoration(n){}},Ro=class{};var Fi=class{},$c=class{},kt=class e{constructor(n){this.normalizedNames=new Map,this.lazyUpdate=null,n?typeof n=="string"?this.lazyInit=()=>{this.headers=new Map,n.split(` 69`).forEach(t=>{let r=t.indexOf(":");if(r>0){let o=t.slice(0,r),i=o.toLowerCase(),s=t.slice(r+1).trim();this.maybeSetNormalizedName(o,i),this.headers.has(i)?this.headers.get(i).push(s):this.headers.set(i,[s])}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEac
vendor: 4,675 bytes, line 69
69h((t,r)=>{this.setHeaderEntries(r,t)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([t,r])=>{this.setHeaderEntries(t,r)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();let t=this.headers.get(n.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,t){return this.clone({name:n,value:t,op:"a"})}set(n,t){return this.clone({name:n,value:t,op:"s"})}delete(n,t){return this.clone({name:n,value:t,op:"d"})}maybeSetNormalizedName(n,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,n)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(t=>{this.headers.set(t,n.headers.get(t)),this.normalizedNames.set(t,n.normalizedNames.get(t))})}clone(n){let t=new e;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([n]),t}applyUpdate(n){let t=n.name.toLowerCase();switch(n.op){case"a":case"s":let r=n.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(n.name,t);let o=(n.op==="a"?this.headers.get(t):void 0)||[];o.push(...r),this.headers.set(t,o);break;case"d":let i=n.value;if(!i)this.headers.delete(t),this.normalizedNames.delete(t);else{let s=this.headers.get(t);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,s)}break}}setHeaderEntries(n,t){let r=(Array.isArray(t)?t:[t]).map(i=>i.toString()),o=n.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(n,o)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>n(this.normalizedNames.get(t),this.headers.get(t)))}};var Wf=class{encodeKey(n){return Qw(n)}encodeValue(n){return Qw(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};function bN(e,n){let t=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{let i=o.indexOf("="),[s,a]=i==-1?[n.decodeKey(o),""]:[n.decodeKey(o.slice(0,i)),n.decodeValue(o.slice(i+1))],l=t.get(s)||[];l.push(a),t.set(s,l)}),t}var CN=/%(\d[a-f0-9])/gi,EN={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Qw(e){return encodeURIComponent(e).replace(CN,(n,t)=>EN[t]??n)}function Bc(e){return`${e}`}var Kn=class e{constructor(n={}){if(this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new Wf,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=bN(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(t=>{let r=n.fromObject[t],o=Array.isArray(r)?r.map(Bc):[Bc(r)];this.map.set(t,o)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();let t=this.map.get(n);return t?t[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,t){return this.clone({param:n,value:t,op:"a"})}appendAll(n){let t=[];return Object.keys(n).forEach(r=>{let o=n[r];Array.isArray(o)?o.forEach(i=>{t.push({param:r,value:i,op:"a"})}):t.push({param:r,value:o,op:"a"})}),this.clone(t)}set(n,t){return this.clone({param:n,value:t,op:"s"})}delete(n,t){return this.clone({param:n,value:t,op:"d"})}toString(){return this.init(),this.keys().map(n=>{let t=this.encoder.encodeKey(n);return this.map.get(n).map(r=>t+"="+this.encoder.encodeValue(r)).join("&")}).filter(n=>n!=="").join("&")}clone(n){let t=new e({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(n),t}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":let t=(n.op==="a"?this.map.get(n.param):void 0)||[];t.push(Bc(n.value)),this.map.set(n.param,t);break;case"d":if(n.value!==void 0){let r=this.map.get(n.param)||[],o=r.indexOf(Bc(n.value));o!==-1&&r.splice(o,1),r.length>0?this.map.set(n.param,r):this.map.delete(n.param)}else{this.map.delete(n.param);break}}}),this.cloneFrom=this.updates=null)}};var Zf=class{constructor(){this.map=new Map}set(n,t){return this.map.set(n,t),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}
69keys(){return this.map.keys()}};function IN(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Kw(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function Jw(e){return typeof Blob<"u"&&e instanceof Blob}function Xw(e){return typeof FormData<"u"&&e instanceof FormData}function _N(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var Pi=class e{constructor(n,t,r,o){this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=n.toUpperCase();let i;if(IN(this.method)||o?(this.body=r!==void 0?r:null,i=o):i=r,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),this.transferCache=i.transferCache),this.headers??=new kt,this.context??=new Zf,!this.params)this.params=new Kn,this.urlWithParams=t;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=t;else{let a=t.indexOf("?"),l=a===-1?"?":a<t.length-1?"&":"";this.urlWithParams=t+l+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||Kw(this.body)||Jw(this.body)||Xw(this.body)||_N(this.body)?this.body:this.body instanceof Kn?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||Xw(this.body)?null:Jw(this.body)?this.body.type||null:Kw(this.body)?null:typeof this.body=="string"?"text/plain":this.body instanceof Kn?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?"application/json":null}clone(n={}){let t=n.method||this.method,r=n.url||this.url,o=n.responseType||this.responseType,i=n.transferCache??this.transferCache,s=n.body!==void 0?n.body:this.body,a=n.withCredentials??this.withCredentials,l=n.reportProgress??this.reportProgress,d=n.headers||this.headers,p=n.params||this.params,h=n.context??this.context;return n.setHeaders!==void 0&&(d=Object.keys(n.setHeaders).reduce((v,m)=>v.set(m,n.setHeaders[m]),d)),n.setParams&&(p=Object.keys(n.setParams).reduce((v,m)=>v.set(m,n.setParams[m]),p)),new e(t,r,s,{params:p,headers:d,context:h,reportProgress:l,responseType:o,withCredentials:a,transferCache:i})}},Jn=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}(Jn||{}),ki=class{constructor(n,t=200,r="OK"){this.headers=n.headers||new kt,this.status=n.status!==void 0?n.status:t,this.statusText=n.statusText||r,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}},Uc=class e extends ki{constructor(n={}){super(n),this.type=Jn.ResponseHeader}clone(n={}){return new e({headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},Li=class e extends ki{constructor(n={}){super(n),this.type=Jn.Response,this.body=n.body!==void 0?n.body:null}clone(n={}){return new e({body:n.body!==void 0?n.body:this.body,headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},Qn=class extends ki{constructor(n){super(n,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${n.url||"(unknown url)"}`:this.message=`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}},rD=200,MN=204;function qf(e,n){return{body:n,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,transferCache:e.transferCache}}var Kf=(()=>{class e{constructor(t){this.handler=t}request(t,r,o={}){let i;if(t instanceof Pi)i=t;else{let l;o.headers instanceof kt?l=o.headers:l=new kt(o.headers);let d;o.params&&(o.params instanceof Kn?d=o.params:d=new Kn({fromObject:o.params})),i=new Pi(t,r,o.body!==void 0?o.body:null,{headers:l,context:o.context,params:d,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let s=O(i).pipe(un(l=>this.handler.handle(l)));if(t instanceof Pi||o.observe==="events")return s;let a=s.pipe(Xe(l=>l instanceof Li));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(L(l=>{if(l.body!==null&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return a.pipe(L(l=>{if(l.body!==null&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return a.pipe(L(l=>{if(l.body!==null&&typeof l.body!="string")throw new Error("Response is not a string.");return l.body}));case"json":default:return a.pipe(L(l=>l.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(t,r={}){return this.request("DELETE",t,r)}get(t,r={}){return this.request("GET",t,r)}head(t,r={}){return this.request("HEAD",t,r)}jsonp(t,r){return this.request("JSONP",t,{params:new Kn().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,r={}){return this.request("OPTIONS",t,r)}patch(t,r,o={}){return this.request("PATCH",t,qf(o,r))}post(t,r,o={}){return this.request("POST",t,qf(o,r))}put(t,r,o={}){return this.request("PUT",t,qf(o,r))}static{this.\u0275fac=function(r){return new(r||e)(N(Fi))}}static{this.\u0275prov=S({token:e,factory:e.\u0275fac})}}return e})(),SN=/^\)\]\}',?\n/,TN="X-Request-URL";function eD(e){if(e.url)return e.url;let n=TN.toLocaleLowerCase();return e.headers.get(n)}var xN=(()=>{class e{constructor(){this.fetchImpl=b(Yf,{optional:!0})?.fetch??((...t)=>globalThis.fetch(...t)),this.ngZone=b(fe)}handle(t){return new q(r=>{let o=new AbortController;return this.doRequest(t,o.signal,r).then(Qf,i=>r.error(new Qn({error:i}))),()=>o.abort()})}doRequest(t,r,o){return Ts(this,null,function*(){let i=this.createRequestInit(t),s;try{let m=this.ngZone.runOutsideAngular(()=>this.fetchImpl(t.urlWithParams,E({signal:r},i)));AN(m),o.next({type:Jn.Sent}),s=yield m}catch(m){o.error(new Qn({error:m,status:m.status??0,statusText:m.statusText,url:t.urlWithParams,headers:m.headers}));return}let a=new kt(s.headers),l=s.statusText,d=eD(s)??t.urlWithParams,p=s.status,h=null;if(t.reportProgress&&o.next(new Uc({headers:a,status:p,statusText:l,url:d})),s.body){let m=s.headers.get("content-length"),w=[],D=s.body.getReader(),C=0,_,k,V=typeof Zone<"u"&&Zone.current;yield this.ngZone.runOutsideAngular(()=>Ts(this,null,function*(){for(;;){let{done:ye,value:me}=yield D.read();if(ye)break;if(w.push(me),C+=me.length,t.reportProgress){k=t.responseType==="text"?(k??"")+(_??=new TextDecoder).decode(me,{stream:!0}):void 0;let Ue=()=>o.next({type:Jn.DownloadProgress,total:m?+m:void 0,loaded:C,partialText:k});V?V.run(Ue):Ue()}}}));let le=this.concatChunks(w,C);try{let ye=s.headers.get("Content-Type")??"";h=this.parseBody(t,le,ye)}catch(ye){o.error(new Qn({error:ye,headers:new kt(s.headers),status:s.status,statusText:s.statusText,url:eD(s)??t.urlWithParams}));return}}p===0&&(p=h?rD:0),p>=200&&p<300?(o.next(new Li({body:h,headers:a,status:p,statusText:l,url:d})),o.complete()):o.error(new Qn({error:h,headers:a,status:p,statusText:l,url:d}))})}parseBody(t,r,o){switch(t.responseType){case"json":let i=new TextDecoder().decode(r).replace(SN,"");return i===""?null:JSON.parse(i);case"text":return new TextDecoder().decode(r);case"blob":return new Blob([r],{type:o});case"arraybuffer":return r.buffer}}createRequestInit(t){let r={},o=t.withCredentials?"include":void 0;
69if(t.headers.forEach((i,s)=>r[i]=s.join(",")),t.headers.has("Accept")||(r.Accept="application/json, text/plain, */*"),!t.headers.has("Content-Type")){let i=t.detectContentTypeHeader();i!==null&&(r["Content-Type"]=i)}return{body:t.serializeBody(),method:t.method,headers:r,credentials:o}}concatChunks(t,r){let o=new Uint8Array(r),i=0;for(let s of t)o.set(s,i),i+=s.length;return o}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=S({token:e,factory:e.\u0275fac})}}return e})(),Yf=class{};function Qf(){}function AN(e){e.then(Qf,Qf)}function NN(e,n){return n(e)}function RN(e,n,t){return(r,o)=>wt(t,()=>n(r,i=>e(i,o)))}var Jf=new x(""),ON=new x(""),PN=new x("",{providedIn:"root",factory:()=>!0});var tD=(()=>{class e extends Fi{constructor(t,r){super(),this.backend=t,this.injector=r,this.chain=null,this.pendingTasks=b(wn),this.contributeToStability=b(PN)}handle(t){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(Jf),...this.injector.get(ON,[])]));this.chain=r.reduceRight((o,i)=>RN(o,i,this.injector),NN)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(t,o=>this.backend.handle(o)).pipe(kn(()=>this.pendingTasks.remove(r)))}else return this.chain(t,r=>this.backend.handle(r))}static{this.\u0275fac=function(r){return new(r||e)(N($c),N(qe))}}static{this.\u0275prov=S({token:e,factory:e.\u0275fac})}}return e})();var FN=/^\)\]\}',?\n/;function kN(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}var nD=(()=>{class e{constructor(t){this.xhrFactory=t}handle(t){if(t.method==="JSONP")throw new M(-2800,!1);let r=this.xhrFactory;return(r.\u0275loadImpl?ne(r.\u0275loadImpl()):O(null)).pipe(et(()=>new q(i=>{let s=r.build();if(s.open(t.method,t.urlWithParams),t.withCredentials&&(s.withCredentials=!0),t.headers.forEach((D,C)=>s.setRequestHeader(D,C.join(","))),t.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){let D=t.detectContentTypeHeader();D!==null&&s.setRequestHeader("Content-Type",D)}if(t.responseType){let D=t.responseType.toLowerCase();s.responseType=D!=="json"?D:"text"}let a=t.serializeBody(),l=null,d=()=>{if(l!==null)return l;let D=s.statusText||"OK",C=new kt(s.getAllResponseHeaders()),_=kN(s)||t.url;return l=new Uc({headers:C,status:s.status,statusText:D,url:_}),l},p=()=>{let{headers:D,status:C,statusText:_,url:k}=d(),V=null;C!==MN&&(V=typeof s.response>"u"?s.responseText:s.response),C===0&&(C=V?rD:0);let le=C>=200&&C<300;if(t.responseType==="json"&&typeof V=="string"){let ye=V;V=V.replace(FN,"");try{V=V!==""?JSON.parse(V):null}catch(me){V=ye,le&&(le=!1,V={error:me,text:V})}}le?(i.next(new Li({body:V,headers:D,status:C,statusText:_,url:k||void 0})),i.complete()):i.error(new Qn({error:V,headers:D,status:C,statusText:_,url:k||void 0}))},h=D=>{let{url:C}=d(),_=new Qn({error:D,status:s.status||0,statusText:s.statusText||"Unknown Error",url:C||void 0});i.error(_)},v=!1,m=D=>{v||(i.next(d()),v=!0);let C={type:Jn.DownloadProgress,loaded:D.loaded};D.lengthComputable&&(C.total=D.total),t.responseType==="text"&&s.responseText&&(C.partialText=s.responseText),i.next(C)},w=D=>{let C={type:Jn.UploadProgress,loaded:D.loaded};D.lengthComputable&&(C.total=D.total),i.next(C)};return s.addEventListener("load",p),s.addEventListener("error",h),s.addEventListener("timeout",h),s.addEventListener("abort",h),t.reportProgress&&(s.addEventListener("progress",m),a!==null&&s.upload&&s.upload.addEventListener("progress",w)),s.send(a),i.next({type:Jn.Sent}),()=>{s.removeEventListener("error",h),s.removeEventListener("abort",h),s.removeEventListener("load",p),s.removeEventListener("timeout",h),t.reportProgress&&(s.removeEventListener("progress",m),a!==null&&s.upload&&s.upload.removeEventListener("progress",w)),s.readyState!==s.DONE&&s.abort()}})))}static{this.\u0275fac=function(r){return new(r||e)(N(Ro))}}static{this.\u0275prov=S({token:e,factory:e.\u0275fac})}}return e})(),oD=new x(""),LN="XSRF-TOKEN",VN=new x("",{providedIn:"root",factory:()=>LN}),jN="X-XSRF-TOKEN",BN=new x("",{providedIn:"root",factory:()=>jN}),Hc=class{},$N=(()=>{class e{constructor(t,r,o){this.doc=t,this.platform=r,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=Vc(t,this.cookieName),this.lastCookieString=t),this.lastToken}static{this.\u0275fac=function(r){return new(r||e)(N(Pe),N(Xt),N(VN))}}static{this.\u0275prov=S({token:e,factory:e.\u0275fac})}}return e})();function UN(e,n){let t=e.url.toLowerCase();if(!b(oD)||e.method==="GET"||e.method==="HEAD"||t.startsWith("http://")||t.startsWith("https://"))return n(e);
69let r=b(Hc).getToken(),o=b(BN);return r!=null&&!e.headers.has(o)&&(e=e.clone({headers:e.headers.set(o,r)})),n(e)}var iD=function(e){return e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch",e}(iD||{});function HN(e,n){return{\u0275kind:e,\u0275providers:n}}function V$(...e){let n=[Kf,nD,tD,{provide:Fi,useExisting:tD},{provide:$c,useFactory:()=>b(xN,{optional:!0})??b(nD)},{provide:Jf,useValue:UN,multi:!0},{provide:oD,useValue:!0},{provide:Hc,useClass:$N}];for(let t of e)n.push(...t.\u0275providers);return Io(n)}function j$(e){return HN(iD.Interceptors,e.map(n=>({provide:Jf,useValue:n,multi:!0})))}var th=class extends Fc{constructor(){super(...arguments),this.supportsDOMEvents=!0}},nh=class e extends th{static makeCurrent(){Bw(new e)}onAndCancel(n,t,r){return n.addEventListener(t,r),()=>{n.removeEventListener(t,r)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.remove()}createElement(n,t){return t=t||this.getDefaultDocument(),t.createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,t){return t==="window"?window:t==="document"?n:t==="body"?n.body:null}getBaseHref(n){let t=zN();return t==null?null:GN(t)}resetBaseElement(){Vi=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return Vc(document.cookie,n)}},Vi=null;function zN(){return Vi=Vi||document.querySelector("base"),Vi?Vi.getAttribute("href"):null}function GN(e){return new URL(e,document.baseURI).pathname}var qN=(()=>{class e{build(){return new XMLHttpRequest}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=S({token:e,factory:e.\u0275fac})}}return e})(),rh=new x(""),lD=(()=>{class e{constructor(t,r){this._zone=r,this._eventNameToPlugin=new Map,t.forEach(o=>{o.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,r,o){return this._findPluginFor(r).addEventListener(t,r,o)}getZone(){return this._zone}_findPluginFor(t){let r=this._eventNameToPlugin.get(t);if(r)return r;if(r=this._plugins.find(i=>i.supports(t)),!r)throw new M(5101,!1);return this._eventNameToPlugin.set(t,r),r}static{this.\u0275fac=function(r){return new(r||e)(N(rh),N(fe))}}static{this.\u0275prov=S({token:e,factory:e.\u0275fac})}}return e})(),zc=class{constructor(n){this._doc=n}},Xf="ng-app-id",uD=(()=>{class e{constructor(t,r,o,i={}){this.doc=t,this.appId=r,this.nonce=o,this.platformId=i,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=jc(i),this.resetHostNodes()}addStyles(t){for(let r of t)this.changeUsageCount(r,1)===1&&this.onStyleAdded(r)}removeStyles(t){for(let r of t)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){let t=this.styleNodesInDOM;t&&(t.forEach(r=>r.remove()),t.clear());for(let r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(t){this.hostNodes.add(t);for(let r of this.getAllStyles())this.addStyleToHost(t,r)}removeHost(t){this.hostNodes.delete(t)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(t){for(let r of this.hostNodes)this.addStyleToHost(r,t)}onStyleRemoved(t){let r=this.styleRef;r.get(t)?.elements?.forEach(o=>o.remove()),r.delete(t)}collectServerRenderedStyles(){let t=this.doc.head?.querySelectorAll(`style[${Xf}="${this.appId}"]`);if(t?.length){let r=new Map;return t.forEach(o=>{o.textContent!=null&&r.set(o.textContent,o)}),r}return null}changeUsageCount(t,r){let o=this.styleRef;if(o.has(t)){let i=o.get(t);return i.usage+=r,i.usage}return o.set(t,{usage:r,elements:[]}),r}getStyleElement(t,r){let o=this.styleNodesInDOM,i=o?.get(r);if(i?.parentNode===t)return o.delete(r),i.removeAttribute(Xf),i;{let s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=r,this.platformIsServer&&s.setAttribute(Xf,this.appId),t.appendChild(s),s}}addStyleToHost(t,r){let o=this.getStyleElement(t,r),i=this.styleRef,s=i.get(r)?.elements;s?s.push(o):i.set(r,{elements:[o],usage:1})}resetHostNodes(){let t=this.hostNodes;t.clear(),t.add(this.doc.head)}static{this.\u0275fac=function(r){return new(r||e)(N(Pe),N(Xd),N(tf,8),N(Xt))}}static{this.\u0275prov=S({token:e,factory:e.\u0275fac})}}return e})(),eh={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"},ih=/%COMP%/g,dD="%COMP%",WN=`_nghost-${dD}`,ZN=`_ngcontent-${dD}`,YN=!0,QN=new x("",{providedIn:"root",factory:()=>YN});function KN(e){return ZN.replace(ih,e)}function JN(e){return WN.replace(ih,e)}function fD(e,n){return n.map(t=>t.replace(ih,e))}var sD=(()=>{class e{constructor(t,r,o,i,s,a,l,d=null){this.eventManager=t,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=d,this.rendererByCompId=new Map,this.platformIsServer=jc(a),this.defaultRenderer=new ji(t,s,l,this.platformIsServer)}createRenderer(t,r){if(!t||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===Wt.ShadowDom&&(r=W(E({},r),{encapsulation:Wt.Emulated}));let o=this.getOrCreateRenderer(t,r);
69return o instanceof Gc?o.applyToHost(t):o instanceof Bi&&o.applyStyles(),o}getOrCreateRenderer(t,r){let o=this.rendererByCompId,i=o.get(r.id);if(!i){let s=this.doc,a=this.ngZone,l=this.eventManager,d=this.sharedStylesHost,p=this.removeStylesOnCompDestroy,h=this.platformIsServer;switch(r.encapsulation){case Wt.Emulated:i=new Gc(l,d,r,this.appId,p,s,a,h);break;case Wt.ShadowDom:return new oh(l,d,t,r,s,a,this.nonce,h);default:i=new Bi(l,d,r,p,s,a,h);break}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}static{this.\u0275fac=function(r){return new(r||e)(N(lD),N(uD),N(Xd),N(QN),N(Pe),N(Xt),N(fe),N(tf))}}static{this.\u0275prov=S({token:e,factory:e.\u0275fac})}}return e})(),ji=class{constructor(n,t,r,o){this.eventManager=n,this.doc=t,this.ngZone=r,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(n,t){return t?this.doc.createElementNS(eh[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(aD(n)?n.content:n).appendChild(t)}insertBefore(n,t,r){n&&(aD(n)?n.content:n).insertBefore(t,r)}removeChild(n,t){t.remove()}selectRootElement(n,t){let r=typeof n=="string"?this.doc.querySelector(n):n;if(!r)throw new M(-5104,!1);return t||(r.textContent=""),r}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,t,r,o){if(o){t=o+":"+t;let i=eh[o];i?n.setAttributeNS(i,t,r):n.setAttribute(t,r)}else n.setAttribute(t,r)}removeAttribute(n,t,r){if(r){let o=eh[r];o?n.removeAttributeNS(o,t):n.removeAttribute(`${r}:${t}`)}else n.removeAttribute(t)}addClass(n,t){n.classList.add(t)}removeClass(n,t){n.classList.remove(t)}setStyle(n,t,r,o){o&(Qt.DashCase|Qt.Important)?n.style.setProperty(t,r,o&Qt.Important?"important":""):n.style[t]=r}removeStyle(n,t,r){r&Qt.DashCase?n.style.removeProperty(t):n.style[t]=""}setProperty(n,t,r){n!=null&&(n[t]=r)}setValue(n,t){n.nodeValue=t}listen(n,t,r){if(typeof n=="string"&&(n=Sn().getGlobalEventTarget(this.doc,n),!n))throw new Error(`Unsupported event target ${n} for event ${t}`);return this.eventManager.addEventListener(n,t,this.decoratePreventDefault(r))}decoratePreventDefault(n){return t=>{if(t==="__ngUnwrap__")return n;(this.platformIsServer?this.ngZone.runGuarded(()=>n(t)):n(t))===!1&&t.preventDefault()}}};function aD(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var oh=class extends ji{constructor(n,t,r,o,i,s,a,l){super(n,i,s,l),this.sharedStylesHost=t,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let d=fD(o.id,o.styles);for(let p of d){let h=document.createElement("style");a&&h.setAttribute("nonce",a),h.textContent=p,this.shadowRoot.appendChild(h)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,t){return super.appendChild(this.nodeOrShadowRoot(n),t)}insertBefore(n,t,r){return super.insertBefore(this.nodeOrShadowRoot(n),t,r)}removeChild(n,t){return super.removeChild(null,t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Bi=class extends ji{constructor(n,t,r,o,i,s,a,l){super(n,i,s,a),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=o,this.styles=l?fD(l,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},Gc=class extends Bi{constructor(n,t,r,o,i,s,a,l){let d=o+"-"+r.id;super(n,t,r,i,s,a,l,d),this.contentAttr=KN(d),this.hostAttr=JN(d)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,t){let r=super.createElement(n,t);return super.setAttribute(r,this.contentAttr,""),r}},XN=(()=>{class e extends zc{constructor(t){super(t)}supports(t){return!0}addEventListener(t,r,o){return t.addEventListener(r,o,!1),()=>this.removeEventListener(t,r,o)}removeEventListener(t,r,o){return t.removeEventListener(r,o)}static{this.\u0275fac=function(r){return new(r||e)(N(Pe))}}static{this.\u0275prov=S({token:e,factory:e.\u0275fac})}}return e})(),cD=["alt","control","meta","shift"],eR={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},tR={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},nR=(()=>{class e extends zc{constructor(t){super(t)}supports(t){return e.parseEventName(t)!=null}addEventListener(t,r,o){let i=e.parseEventName(r),s=e.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Sn().onAndCancel(t,i.domEventName,s))}static parseEventName(t){let r=t.toLowerCase().split("."),o=r.shift();if(r.length===0||!(o==="keydown"||o==="keyup"))return null;let i=e._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>
vendor: 37,629 bytes, line 69
69-1&&(r.splice(a,1),s="code."),cD.forEach(d=>{let p=r.indexOf(d);p>-1&&(r.splice(p,1),s+=d+".")}),s+=i,r.length!=0||i.length===0)return null;let l={};return l.domEventName=o,l.fullKey=s,l}static matchEventFullKeyCode(t,r){let o=eR[t.key]||t.key,i="";return r.indexOf("code.")>-1&&(o=t.code,i="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),cD.forEach(s=>{if(s!==o){let a=tR[s];a(t)&&(i+=s+".")}}),i+=o,i===r)}static eventCallback(t,r,o){return i=>{e.matchEventFullKeyCode(i,t)&&o.runGuarded(()=>r(i))}}static _normalizeKey(t){return t==="esc"?"escape":t}static{this.\u0275fac=function(r){return new(r||e)(N(Pe))}}static{this.\u0275prov=S({token:e,factory:e.\u0275fac})}}return e})();function iU(e,n){return Aw(E({rootComponent:e},rR(n)))}function rR(e){return{appProviders:[...cR,...e?.providers??[]],platformProviders:aR}}function oR(){nh.makeCurrent()}function iR(){return new Rt}function sR(){return Wv(document),document}var aR=[{provide:Xt,useValue:Gf},{provide:ef,useValue:oR,multi:!0},{provide:Pe,useFactory:sR,deps:[]}];var cR=[{provide:ec,useValue:"root"},{provide:Rt,useFactory:iR,deps:[]},{provide:rh,useClass:XN,multi:!0,deps:[Pe,fe,Xt]},{provide:rh,useClass:nR,multi:!0,deps:[Pe]},sD,uD,lD,{provide:bo,useExisting:sD},{provide:Ro,useClass:qN,deps:[]},[]];var hD=(()=>{class e{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}static{this.\u0275fac=function(r){return new(r||e)(N(Pe))}}static{this.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var lR=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=S({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=N(uR),o},providedIn:"root"})}}return e})(),uR=(()=>{class e extends lR{constructor(t){super(),this._doc=t}sanitize(t,r){if(r==null)return null;switch(t){case Ot.NONE:return r;case Ot.HTML:return Dn(r,"HTML")?ut(r):rf(this._doc,String(r)).toString();case Ot.STYLE:return Dn(r,"Style")?ut(r):r;case Ot.SCRIPT:if(Dn(r,"Script"))return ut(r);throw new M(5200,!1);case Ot.URL:return Dn(r,"URL")?ut(r):fc(String(r));case Ot.RESOURCE_URL:if(Dn(r,"ResourceURL"))return ut(r);throw new M(5201,!1);default:throw new M(5202,!1)}}bypassSecurityTrustHtml(t){return Kv(t)}bypassSecurityTrustStyle(t){return Jv(t)}bypassSecurityTrustScript(t){return Xv(t)}bypassSecurityTrustUrl(t){return ey(t)}bypassSecurityTrustResourceUrl(t){return ty(t)}static{this.\u0275fac=function(r){return new(r||e)(N(Pe))}}static{this.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var B="primary",ts=Symbol("RouteTitle"),uh=class{constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){let t=this.params[n];return Array.isArray(t)?t[0]:t}return null}getAll(n){if(this.has(n)){let t=this.params[n];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}};function jo(e){return new uh(e)}function fR(e,n,t){let r=t.path.split("/");if(r.length>e.length||t.pathMatch==="full"&&(n.hasChildren()||r.length<e.length))return null;let o={};for(let i=0;i<r.length;i++){let s=r[i],a=e[i];if(s[0]===":")o[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:e.slice(0,r.length),posParams:o}}function hR(e,n){if(e.length!==n.length)return!1;for(let t=0;t<e.length;++t)if(!on(e[t],n[t]))return!1;return!0}function on(e,n){let t=e?dh(e):void 0,r=n?dh(n):void 0;if(!t||!r||t.length!=r.length)return!1;let o;for(let i=0;i<t.length;i++)if(o=t[i],!_D(e[o],n[o]))return!1;return!0}function dh(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}function _D(e,n){if(Array.isArray(e)&&Array.isArray(n)){if(e.length!==n.length)return!1;let t=[...e].sort(),r=[...n].sort();return t.every((o,i)=>r[i]===o)}else return e===n}function MD(e){return e.length>0?e[e.length-1]:null}function tr(e){return eu(e)?e:Wn(e)?ne(Promise.resolve(e)):O(e)}var pR={exact:TD,subset:xD},SD={exact:gR,subset:mR,ignored:()=>!0};function pD(e,n,t){return pR[t.paths](e.root,n.root,t.matrixParams)&&SD[t.queryParams](e.queryParams,n.queryParams)&&!(t.fragment==="exact"&&e.fragment!==n.fragment)}function gR(e,n){return on(e,n)}function TD(e,n,t){if(!Ar(e.segments,n.segments)||!Zc(e.segments,n.segments,t)||e.numberOfChildren!==n.numberOfChildren)return!1;for(let r in n.children)if(!e.children[r]||!TD(e.children[r],n.children[r],t))return!1;return!0}function mR(e,n){return Object.keys(n).length<=Object.keys(e).length&&Object.keys(n).every(t=>_D(e[t],n[t]))}function xD(e,n,t){return AD(e,n,n.segments,t)}function AD(e,n,t,r){if(e.segments.length>t.length){let o=e.segments.slice(0,t.length);return!(!Ar(o,t)||n.hasChildren()||!Zc(o,t,r))}else if(e.segments.length===t.length){if(!Ar(e.segments,t)||!Zc(e.segments,t,r))return!1;for(let o in n.children)if(!e.children[o]||!xD(e.children[o],n.children[o],r))return!1;return!0}else{let o=t.slice(0,e.segments.length),i=t.slice(e.segments.length);return!Ar(e.segments,o)||!Zc(e.segments,o,r)||!e.children[B]?!1:AD(e.children[B],n,i,r)}}function Zc(e,n,t){return n.every((r,o)=>SD[t](e[o].parameters,r.parameters))}var An=class{constructor(n=new ee([],{}),t={},r=null){this.root=n,this.queryParams=t,this.fragment=r}get queryParamMap(){return this._queryParamMap??=jo(this.queryParams),this._queryParamMap}toString(){return wR.serialize(this)}},ee=class{constructor(n,t){this.segments=n,this.children=t,this.parent=null,Object.values(t).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Yc(this)}},xr=class{constructor(n,t){this.path=n,this.parameters=t}get parameterMap(){return this._parameterMap??=jo(this.parameters),this._parameterMap}toString(){return RD(this)}};function vR(e,n){return Ar(e,n)&&e.every((t,r)=>on(t.parameters,n[r].parameters))}function Ar(e,n){return e.length!==n.length?!1:e.every((t,r)=>t.path===n[r].path)}function yR(e,n){let t=[];return Object.entries(e.children).forEach(([r,o])=>{r===B&&(t=t.concat(n(o,r)))}),Object.entries(e.children).forEach(([r,o])=>{r!==B&&(t=t.concat(n(o,r)))}),t}var ns=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=S({token:e,factory:()=>new Bo,providedIn:"root"})}}return e})(),Bo=class{parse(n){let t=new hh(n);return new An(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(n){let t=`/${$i(n.root,!0)}`,r=CR(n.queryParams),o=typeof n.fragment=="string"?`#${DR(n.fragment)}`:"";return`${t}${r}${o}`}},wR=new Bo;function Yc(e){return e.segments.map(n=>RD(n)).join("/")}function $i(e,n){if(!e.hasChildren())return Yc(e);if(n){let t=e.children[B]?$i(e.children[B],!1):"",r=[];return Object.entries(e.children).forEach(([o,i])=>{o!==B&&r.push(`${o}:${$i(i,!1)}`)}),r.length>0?`${t}(${r.join("//")})`:t}else{let t=yR(e,(r,o)=>o===B?[$i(e.children[B],!1)]:[`${o}:${$i(r,!1)}`]);return Object.keys(e.children).length===1&&e.children[B]!=null?`${Yc(e)}/${t[0]}`:`${Yc(e)}/(${t.join("//")})`}}function ND(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function qc(e){return ND(e).replace(/%3B/gi,";")}function DR(e){return encodeURI(e)}function fh(e){return ND(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Qc(e){return decodeURIComponent(e)}function gD(e){return Qc(e.replace(/\+/g,"%20"))}function RD(e){return`${fh(e.path)}${bR(e.parameters)}`}function bR(e){return Object.entries(e).map(([n,t])=>`;${fh(n)}=${fh(t)}`).join("")}function CR(e){let n=Object.entries(e).map(([t,r])=>Array.isArray(r)?r.map(o=>`${qc(t)}=${qc(o)}`).join("&"):`${qc(t)}=${qc(r)}`).filter(t=>t);return n.length?`?${n.join("&")}`:""}var ER=/^[^\/()?;#]+/;function sh(e){let n=e.match(ER);return n?n[0]:""}var IR=/^[^\/()?;=#]+/;function _R(e){let n=e.match(IR);return n?n[0]:""}var MR=/^[^=?&#]+/;function SR(e){let n=e.match(MR);return n?n[0]:""}var TR=/^[^&#]+/;function xR(e){let n=e.match(TR);return n?n[0]:""}var hh=class{constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new ee([],{}):new ee([],this.parseChildren())}parseQueryParams(){let n={};if(this.consumeOptional("?"))do this.parseQueryParam(n);while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(n.length>0||Object.keys(t).length>0)&&(r[B]=new ee(n,t)),r}parseSegment(){let n=sh(this.remaining);if(n===""&&this.peekStartsWith(";"))throw new M(4009,!1);return this.capture(n),new xr(Qc(n),this.parseMatrixParams())}parseMatrixParams(){let n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){let t=_R(this.remaining);if(!t)return;this.capture(t);let r="";if(this.consumeOptional("=")){let o=sh(this.remaining);o&&(r=o,this.capture(r))}n[Qc(t)]=Qc(r)}parseQueryParam(n){let t=SR(this.remaining);if(!t)return;this.capture(t);let r="";if(this.consumeOptional("=")){let s=xR(this.remaining);s&&(r=s,this.capture(r))}let o=gD(t),i=gD(r);if(n.hasOwnProperty(o)){let s=n[o];Array.isArray(s)||(s=[s],n[o]=s),s.push(i)}else n[o]=i}parseParens(n){let t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let r=sh(this.remaining),o=this.remaining[r.length];if(o!=="/"&&o!==")"&&o!==";")throw new M(4010,!1);let i;r.indexOf(":")>-1?(i=r.slice(0,r.indexOf(":")),this.capture(i),this.capture(":")):n&&(i=B);let s=this.parseChildren();t[i]=Object.keys(s).length===1?s[B]:new ee([],s),this.consumeOptional("//")}return t}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return this.peekStartsWith(n)?(this.remaining=this.remaining.substring(n.length),!0):!1}capture(n){if(!this.consumeOptional(n))throw new M(4011,!1)}};function OD(e){return e.segments.length>0?new ee([],{[B]:e}):e}function PD(e){let n={};for(let[r,o]of Object.entries(e.children)){let i=PD(o);if(r===B&&i.segments.length===0&&i.hasChildren())for(let[s,a]of Object.entries(i.children))n[s]=a;else(i.segments.length>0||i.hasChildren())&&(n[r]=i)}let t=new ee(e.segments,n);return AR(t)}function AR(e){if(e.numberOfChildren===1&&e.children[B]){let n=e.children[B];return new ee(e.segments.concat(n.segments),n.children)}return e}function Nr(e){return e instanceof An}function NR(e,n,t=null,r=null){let o=FD(e);return kD(o,n,t,r)}function FD(e){let n;function t(i){let s={};for(let l of i.children){let d=t(l);s[l.outlet]=d}let a=new ee(i.url,s);return i===e&&(n=a),a}let r=t(e.root),o=OD(r);return n??o}function kD(e,n,t,r){let o=e;for(;o.parent;)o=o.parent;if(n.length===0)return ah(o,o,o,t,r);let i=RR(n);if(i.toRoot())return ah(o,o,new ee([],{}),t,r);let s=OR(i,o,e),a=s.processChildren?zi(s.segmentGroup,s.index,i.commands):VD(s.segmentGroup,s.index,i.commands);return ah(o,s.segmentGroup,a,t,r)}function Kc(e){return typeof e=="object"&&e!=null&&!e.outlets&&!e.segmentPath}function Wi(e){return typeof e=="object"&&e!=null&&e.outlets}function ah(e,n,t,r,o){let i={};r&&Object.entries(r).forEach(([l,d])=>{i[l]=Array.isArray(d)?d.map(p=>`${p}`):`${d}`});let s;e===n?s=t:s=LD(e,n,t);let a=OD(PD(s));return new An(a,i,o)}function LD(e,n,t){let r={};return Object.entries(e.children).forEach(([o,i])=>{i===n?r[o]=t:r[o]=LD(i,n,t)}),new ee(e.segments,r)}var Jc=class{constructor(n,t,r){if(this.isAbsolute=n,this.numberOfDoubleDots=t,this.commands=r,n&&r.length>0&&Kc(r[0]))throw new M(4003,!1);let o=r.find(Wi);if(o&&o!==MD(r))throw new M(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function RR(e){if(typeof e[0]=="string"&&e.length===1&&e[0]==="/")return new Jc(!0,0,e);let n=0,t=!1,r=e.reduce((o,i,s)=>{if(typeof i=="object"&&i!=null){if(i.outlets){let a={};return Object.entries(i.outlets).forEach(([l,d])=>{a[l]=typeof d=="string"?d.split("/"):d}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return typeof i!="string"?[...o,i]:s===0?(i.split("/").forEach((a,l)=>{l==0&&a==="."||(l==0&&a===""?t=!0:a===".."?n++:a!=""&&o.push(a))}),o):[...o,i]},[]);return new Jc(t,n,r)}var ko=class{constructor(n,t,r){this.segmentGroup=n,this.processChildren=t,this.index=r}};function OR(e,n,t){if(e.isAbsolute)return new ko(n,!0,0);if(!t)return new ko(n,!1,NaN);if(t.parent===null)return new ko(t,!0,0);let r=Kc(e.commands[0])?0:1,o=t.segments.length-1+r;return PR(t,o,e.numberOfDoubleDots)}function PR(e,n,t){let r=e,o=n,i=t;for(;i>o;){if(i-=o,r=r.parent,!r)throw new M(4005,!1);o=r.segments.length}return new ko(r,!1,o-i)}function FR(e){return Wi(e[0])?e[0].outlets:{[B]:e}}function VD(e,n,t){if(e??=new ee([],{}),e.segments.length===0&&e.hasChildren())return zi(e,n,t);let r=kR(e,n,t),o=t.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){let i=new ee(e.segments.slice(0,r.pathIndex),{});return i.children[B]=new ee(e.segments.slice(r.pathIndex),e.children),zi(i,0,o)}else return r.match&&o.length===0?new ee(e.segments,{}):r.match&&!e.hasChildren()?ph(e,n,t):r.match?zi(e,0,o):ph(e,n,t)}function zi(e,n,t){if(t.length===0)return new ee(e.segments,{});{let r=FR(t),o={};if(Object.keys(r).some(i=>i!==B)&&e.children[B]&&e.numberOfChildren===1&&e.children[B].segments.length===0){let i=zi(e.children[B],n,t);return new ee(e.segments,i.children)}return Object.entries(r).forEach(([i,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(o[i]=VD(e.children[i],n,s))}),Object.entries(e.children).forEach(([i,s])=>{r[i]===void 0&&(o[i]=s)}),new ee(e.segments,o)}}function kR(e,n,t){let r=0,o=n,i={match:!1,pathIndex:0,commandIndex:0};for(;o<e.segments.length;){if(r>=t.length)return i;let s=e.segments[o],a=t[r];if(Wi(a))break;let l=`${a}`,d=r<t.length-1?t[r+1]:null;if(o>0&&l===void 0)break;if(l&&d&&typeof d=="object"&&d.outlets===void 0){if(!vD(l,d,s))return i;r+=2}else{if(!vD(l,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}function ph(e,n,t){let r=e.segments.slice(0,n),o=0;for(;o<t.length;){let i=t[o];if(Wi(i)){let l=LR(i.outlets);return new ee(r,l)}if(o===0&&Kc(t[0])){let l=e.segments[n];r.push(new xr(l.path,mD(t[0]))),o++;continue}let s=Wi(i)?i.outlets[B]:`${i}`,a=o<t.length-1?t[o+1]:null;s&&a&&Kc(a)?(r.push(new xr(s,mD(a))),o+=2):(r.push(new xr(s,{})),o++)}return new ee(r,{})}function LR(e){let n={};return Object.entries(e).forEach(([t,r])=>{typeof r=="string"&&(r=[r]),r!==null&&(n[t]=ph(new ee([],{}),0,r))}),n}function mD(e){let n={};return Object.entries(e).forEach(([t,r])=>n[t]=`${r}`),n}function vD(e,n,t){return e==t.path&&on(n,t.parameters)}var Gi="imperative",Ne=function(e){return e[e.NavigationStart=0]="NavigationStart",e[e.NavigationEnd=1]="NavigationEnd",e[e.NavigationCancel=2]="NavigationCancel",e[e.NavigationError=3]="NavigationError",e[e.RoutesRecognized=4]="RoutesRecognized",e[e.ResolveStart=5]="ResolveStart",e[e.ResolveEnd=6]="ResolveEnd",e[e.GuardsCheckStart=7]="GuardsCheckStart",e[e.GuardsCheckEnd=8]="GuardsCheckEnd",e[e.RouteConfigLoadStart=9]="RouteConfigLoadStart",e[e.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",e[e.ChildActivationStart=11]="ChildActivationStart",e[e.ChildActivationEnd=12]="ChildActivationEnd",e[e.ActivationStart=13]="ActivationStart",e[e.ActivationEnd=14]="ActivationEnd",e[e.Scroll=15]="Scroll",e[e.NavigationSkipped=16]="NavigationSkipped",e}(Ne||{}),_t=class{constructor(n,t){this.id=n,this.url=t}},$o=class extends _t{constructor(n,t,r="imperative",o=null){super(n,t),this.type=Ne.NavigationStart,this.navigationTrigger=r,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Vt=class extends _t{constructor(n,t,r){super(n,t),this.urlAfterRedirects=r,this.type=Ne.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},gt=function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromResolver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e}(gt||{}),Xc=function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e}(Xc||{}),xn=class extends _t{constructor(n,t,r,o){super(n,t),this.reason=r,this.code=o,this.type=Ne.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},Xn=class extends _t{constructor(n,t,r,o){super(n,t),this.reason=r,this.code=o,this.type=Ne.NavigationSkipped}},Zi=class extends _t{constructor(n,t,r,o){super(n,t),this.error=r,this.target=o,this.type=Ne.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},el=class extends _t{constructor(n,t,r,o){super(n,t),this.urlAfterRedirects=r,this.state=o,this.type=Ne.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},gh=class extends _t{constructor(n,t,r,o){super(n,t),this.urlAfterRedirects=r,this.state=o,this.type=Ne.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},mh=class extends _t{constructor(n,t,r,o,i){super(n,t),this.urlAfterRedirects=r,this.state=o,this.shouldActivate=i,this.type=Ne.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},vh=class extends _t{constructor(n,t,r,o){super(n,t),this.urlAfterRedirects=r,this.state=o,this.type=Ne.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},yh=class extends _t{constructor(n,t,r,o){super(n,t),this.urlAfterRedirects=r,this.state=o,this.type=Ne.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},wh=class{constructor(n){this.route=n,this.type=Ne.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Dh=class{constructor(n){this.route=n,this.type=Ne.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},bh=class{constructor(n){this.snapshot=n,this.type=Ne.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ch=class{constructor(n){this.snapshot=n,this.type=Ne.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Eh=class{constructor(n){this.snapshot=n,this.type=Ne.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ih=class{constructor(n){this.snapshot=n,this.type=Ne.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},tl=class{constructor(n,t,r){this.routerEvent=n,this.position=t,this.anchor=r,this.type=Ne.Scroll}toString(){let n=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${n}')`}},Yi=class{},Uo=class{constructor(n,t){this.url=n,this.navigationBehaviorOptions=t}};function VR(e,n){return e.providers&&!e._injector&&(e._injector=bc(e.providers,n,`Route: ${e.path}`)),e._injector??n}function Lt(e){return e.outlet||B}function jR(e,n){let t=e.filter(r=>Lt(r)===n);return t.push(...e.filter(r=>Lt(r)!==n)),t}function rs(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let n=e.parent;n;n=n.parent){let t=n.routeConfig;if(t?._loadedInjector)return t._loadedInjector;if(t?._injector)return t._injector}return null}var _h=class{get injector(){return rs(this.route?.snapshot)??this.rootInjector}set injector(n){}constructor(n){this.rootInjector=n,this.outlet=null,this.route=null,this.children=new os(this.rootInjector),this.attachRef=null}},os=(()=>{class e{constructor(t){this.rootInjector=t,this.contexts=new Map}onChildOutletCreated(t,r){let o=this.getOrCreateContext(t);o.outlet=r,this.contexts.set(t,o)}onChildOutletDestroyed(t){let r=this.getContext(t);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let r=this.getContext(t);return r||(r=new _h(this.rootInjector),this.contexts.set(t,r)),r}getContext(t){return this.contexts.get(t)||null}static{this.\u0275fac=function(r){return new(r||e)(N(qe))}}static{this.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),nl=class{constructor(n){this._root=n}get root(){return this._root.value}parent(n){let t=this.pathFromRoot(n);return t.length>1?t[t.length-2]:null}children(n){let t=Mh(n,this._root);return t?t.children.map(r=>r.value):[]}firstChild(n){let t=Mh(n,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(n){let t=Sh(n,this._root);return t.length<2?[]:t[t.length-2].children.map(o=>o.value).filter(o=>o!==n)}pathFromRoot(n){return Sh(n,this._root).map(t=>t.value)}};function Mh(e,n){if(e===n.value)return n;for(let t of n.children){let r=Mh(e,t);if(r)return r}return null}function Sh(e,n){if(e===n.value)return[n];for(let t of n.children){let r=Sh(e,t);if(r.length)return r.unshift(n),r}return[]}var pt=class{constructor(n,t){this.value=n,this.children=t}toString(){return`TreeNode(${this.value})`}};function Fo(e){let n={};return e&&e.children.forEach(t=>n[t.value.outlet]=t),n}var rl=class extends nl{constructor(n,t){super(n),this.snapshot=t,kh(this,n)}toString(){return this.snapshot.toString()}};function jD(e){let n=BR(e),t=new Re([new xr("",{})]),r=new Re({}),o=new Re({}),i=new Re({}),s=new Re(""),a=new er(t,r,i,s,o,B,e,n.root);return a.snapshot=n.root,new rl(new pt(a,[]),n)}function BR(e){let n={},t={},r={},o="",i=new Lo([],n,r,o,t,B,e,null,{});return new il("",new pt(i,[]))}var er=class{constructor(n,t,r,o,i,s,a,l){this.urlSubject=n,this.paramsSubject=t,this.queryParamsSubject=r,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(L(d=>d[ts]))??O(void 0),this.url=n,this.params=t,this.queryParams=r,this.fragment=o,this.data=i}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(L(n=>jo(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(L(n=>jo(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function ol(e,n,t="emptyOnly"){let r,{routeConfig:o}=e;return n!==null&&(t==="always"||o?.path===""||!n.component&&!n.routeConfig?.loadComponent)?r={params:E(E({},n.params),e.params),data:E(E({},n.data),e.data),resolve:E(E(E(E({},e.data),n.data),o?.data),e._resolvedData)}:r={params:E({},e.params),data:E({},e.data),resolve:E(E({},e.data),e._resolvedData??{})},o&&$D(o)&&(r.resolve[ts]=o.title),r}var Lo=class{get title(){return this.data?.[ts]}constructor(n,t,r,o,i,s,a,l,d){this.url=n,this.params=t,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=l,this._resolve=d}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??=jo(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=jo(this.queryParams),this._queryParamMap}toString(){let n=this.url.map(r=>r.toString()).join("/"),t=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${n}', path:'${t}')`}},il=class extends nl{constructor(n,t){super(t),this.url=n,kh(this,t)}toString(){return BD(this._root)}};function kh(e,n){n.value._routerState=e,n.children.forEach(t=>kh(e,t))}function BD(e){let n=e.children.length>0?` { ${e.children.map(BD).join(", ")} } `:"";return`${e.value}${n}`}function ch(e){if(e.snapshot){let n=e.snapshot,t=e._futureSnapshot;e.snapshot=t,on(n.queryParams,t.queryParams)||e.queryParamsSubject.next(t.queryParams),n.fragment!==t.fragment&&e.fragmentSubject.next(t.fragment),on(n.params,t.params)||e.paramsSubject.next(t.params),hR(n.url,t.url)||e.urlSubject.next(t.url),on(n.data,t.data)||e.dataSubject.next(t.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function Th(e,n){let t=on(e.params,n.params)&&vR(e.url,n.url),r=!e.parent!=!n.parent;return t&&!r&&(!e.parent||Th(e.parent,n.parent))}function $D(e){return typeof e.title=="string"||e.title===null}var $R=(()=>{class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=B,this.activateEvents=new de,this.deactivateEvents=new de,this.attachEvents=new de,this.detachEvents=new de,this.parentContexts=b(os),this.location=b(Cn),this.changeDetector=b(rn),this.inputBinder=b(ll,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(t){if(t.name){let{firstChange:r,previousValue:o}=t.name;if(r)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(t){return this.parentContexts.getContext(t)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let t=this.parentContexts.getContext(this.name);t?.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new M(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new M(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new M(4012,!1);this.location.detach();let t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,r){this.activated=t,this._activatedRoute=r,this.location.insert(t.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){let t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,r){if(this.isActivated)throw new M(4013,!1);this._activatedRoute=t;let o=this.location,s=t.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new xh(t,a,o.injector);this.activated=o.createComponent(s,{index:o.length,injector:l,environmentInjector:r}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275dir=Y({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Dt]})}}return e})(),xh=class e{__ngOutletInjector(n){return new e(this.route,this.childContexts,n)}constructor(n,t,r){this.route=n,this.childContexts=t,this.parent=r}get(n,t){return n===er?this.route:n===os?this.childContexts:this.parent.get(n,t)}},ll=new x(""),yD=(()=>{class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(t){this.unsubscribeFromRouteData(t),this.subscribeToRouteData(t)}unsubscribeFromRouteData(t){this.outletDataSubscriptions.get(t)?.unsubscribe(),this.outletDataSubscriptions.delete(t)}subscribeToRouteData(t){let{activatedRoute:r}=t,o=ci([r.queryParams,r.params,r.data]).pipe(et(([i,s,a],l)=>(a=E(E(E({},i),s),a),l===0?O(a):Promise.resolve(a)))).subscribe(i=>{if(!t.isActivated||!t.activatedComponentRef||t.activatedRoute!==r||r.component===null){this.unsubscribeFromRouteData(t);return}let s=Nw(r.component);if(!s){this.unsubscribeFromRouteData(t);return}for(let{templateName:a}of s.inputs)t.activatedComponentRef.setInput(a,i[a])});this.outletDataSubscriptions.set(t,o)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=S({token:e,factory:e.\u0275fac})}}return e})();function UR(e,n,t){let r=Qi(e,n._root,t?t._root:void 0);return new rl(r,n)}function Qi(e,n,t){if(t&&e.shouldReuseRoute(n.value,t.value.snapshot)){let r=t.value;r._futureSnapshot=n.value;let o=HR(e,n,t);return new pt(r,o)}else{if(e.shouldAttach(n.value)){let i=e.retrieve(n.value);if(i!==null){let s=i.route;return s.value._futureSnapshot=n.value,s.children=n.children.map(a=>Qi(e,a)),s}}let r=zR(n.value),o=n.children.map(i=>Qi(e,i));return new pt(r,o)}}function HR(e,n,t){return n.children.map(r=>{for(let o of t.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return Qi(e,r,o);return Qi(e,r)})}function zR(e){return new er(new Re(e.url),new Re(e.params),new Re(e.queryParams),new Re(e.fragment),new Re(e.data),e.outlet,e.component,e)}var Ki=class{constructor(n,t){this.redirectTo=n,this.navigationBehaviorOptions=t}},UD="ngNavigationCancelingError";function sl(e,n){let{redirectTo:t,navigationBehaviorOptions:r}=Nr(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,o=HD(!1,gt.Redirect);return o.url=t,o.navigationBehaviorOptions=r,o}function HD(e,n){let t=new Error(`NavigationCancelingError: ${e||""}`);return t[UD]=!0,t.cancellationCode=n,t}function GR(e){return zD(e)&&Nr(e.url)}function zD(e){return!!e&&e[UD]}var qR=(e,n,t,r)=>L(o=>(new Ah(n,o.targetRouterState,o.currentRouterState,t,r).activate(e),o)),Ah=class{constructor(n,t,r,o,i){this.routeReuseStrategy=n,this.futureState=t,this.currState=r,this.forwardEvent=o,this.inputBindingEnabled=i}activate(n){let t=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,r,n),ch(this.futureState.root),this.activateChildRoutes(t,r,n)}deactivateChildRoutes(n,t,r){let o=Fo(t);n.children.forEach(i=>{let s=i.value.outlet;this.deactivateRoutes(i,o[s],r),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,r)})}deactivateRoutes(n,t,r){let o=n.value,i=t?t.value:null;if(o===i)if(o.component){let s=r.getContext(o.outlet);s&&this.deactivateChildRoutes(n,t,s.children)}else this.deactivateChildRoutes(n,t,r);else i&&this.deactivateRouteAndItsChildren(t,r)}deactivateRouteAndItsChildren(n,t){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,t):this.deactivateRouteAndOutlet(n,t)}detachAndStoreRouteSubtree(n,t){let r=t.getContext(n.value.outlet),o=r&&n.value.component?r.children:t,i=Fo(n);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);if(r&&r.outlet){let s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:s,route:n,contexts:a})}}deactivateRouteAndOutlet(n,t){let r=t.getContext(n.value.outlet),o=r&&n.value.component?r.children:t,i=Fo(n);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(n,t,r){let o=Fo(t);n.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new Ih(i.value.snapshot))}),n.children.length&&this.forwardEvent(new Ch(n.value.snapshot))}activateRoutes(n,t,r){let o=n.value,i=t?t.value:null;if(ch(o),o===i)if(o.component){let s=r.getOrCreateContext(o.outlet);this.activateChildRoutes(n,t,s.children)}else this.activateChildRoutes(n,t,r);else if(o.component){let s=r.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){let a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),ch(a.route.value),this.activateChildRoutes(n,null,s.children)}else s.attachRef=null,s.route=o,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(n,null,s.children)}else this.activateChildRoutes(n,null,r)}},al=class{constructor(n){this.path=n,this.route=this.path[this.path.length-1]}},Vo=class{constructor(n,t){this.component=n,this.route=t}};function WR(e,n,t){let r=e._root,o=n?n._root:null;return Ui(r,o,t,[r.value])}function ZR(e){let n=e.routeConfig?e.routeConfig.canActivateChild:null;return!n||n.length===0?null:{node:e,guards:n}}function zo(e,n){let t=Symbol(),r=n.get(e,t);return r===t?typeof e=="function"&&!Rm(e)?e:n.get(e):r}function Ui(e,n,t,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=Fo(n);return e.children.forEach(s=>{YR(s,i[s.value.outlet],t,r.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>qi(a,t.getContext(s),o)),o}function YR(e,n,t,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=e.value,s=n?n.value:null,a=t?t.getContext(e.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){let l=QR(s,i,i.routeConfig.runGuardsAndResolvers);l?o.canActivateChecks.push(new al(r)):(i.data=s.data,i._resolvedData=s._resolvedData),i.component?Ui(e,n,a?a.children:null,r,o):Ui(e,n,t,r,o),l&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new Vo(a.outlet.component,s))}else s&&qi(n,a,o),o.canActivateChecks.push(new al(r)),i.component?Ui(e,null,a?a.children:null,r,o):Ui(e,null,t,r,o);return o}function QR(e,n,t){if(typeof t=="function")return t(e,n);switch(t){case"pathParamsChange":return!Ar(e.url,n.url);case"pathParamsOrQueryParamsChange":return!Ar(e.url,n.url)||!on(e.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Th(e,n)||!on(e.queryParams,n.queryParams);case"paramsChange":default:return!Th(e,n)}}function qi(e,n,t){let r=Fo(e),o=e.value;Object.entries(r).forEach(([i,s])=>{o.component?n?qi(s,n.children.getContext(i),t):qi(s,null,t):qi(s,n,t)}),o.component?n&&n.outlet&&n.outlet.isActivated?t.canDeactivateChecks.push(new Vo(n.outlet.component,o)):t.canDeactivateChecks.push(new Vo(null,o)):t.canDeactivateChecks.push(new Vo(null,o))}function is(e){return typeof e=="function"}function KR(e){return typeof e=="boolean"}function JR(e){return e&&is(e.canLoad)}function XR(e){return e&&is(e.canActivate)}function eO(e){return e&&is(e.canActivateChild)}function tO(e){return e&&is(e.canDeactivate)}function nO(e){return e&&is(e.canMatch)}function GD(e){return e instanceof xt||e?.name==="EmptyError"}var Wc=Symbol("INITIAL_VALUE");function Ho(){return et(e=>ci(e.map(n=>n.pipe(dn(1),su(Wc)))).pipe(L(n=>{for(let t of n)if(t!==!0){if(t===Wc)return Wc;if(t===!1||rO(t))return t}return!0}),Xe(n=>n!==Wc),dn(1)))}function rO(e){return Nr(e)||e instanceof Ki}function oO(e,n){return we(t=>{let{targetSnapshot:r,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=t;return s.length===0&&i.length===0?O(W(E({},t),{guardsResult:!0})):iO(s,r,o,e).pipe(we(a=>a&&KR(a)?sO(r,i,e,n):O(a)),L(a=>W(E({},t),{guardsResult:a})))})}function iO(e,n,t,r){return ne(e).pipe(we(o=>dO(o.component,o.route,t,n,r)),zt(o=>o!==!0,!0))}function sO(e,n,t,r){return ne(n).pipe(un(o=>no(cO(o.route.parent,r),aO(o.route,r),uO(e,o.path,t),lO(e,o.route,t))),zt(o=>o!==!0,!0))}function aO(e,n){return e!==null&&n&&n(new Eh(e)),O(!0)}function cO(e,n){return e!==null&&n&&n(new bh(e)),O(!0)}function lO(e,n,t){let r=n.routeConfig?n.routeConfig.canActivate:null;if(!r||r.length===0)return O(!0);let o=r.map(i=>aa(()=>{let s=rs(n)??t,a=zo(i,s),l=XR(a)?a.canActivate(n,e):wt(s,()=>a(n,e));return tr(l).pipe(zt())}));return O(o).pipe(Ho())}function uO(e,n,t){let r=n[n.length-1],i=n.slice(0,n.length-1).reverse().map(s=>ZR(s)).filter(s=>s!==null).map(s=>aa(()=>{let a=s.guards.map(l=>{let d=rs(s.node)??t,p=zo(l,d),h=eO(p)?p.canActivateChild(r,e):wt(d,()=>p(r,e));return tr(h).pipe(zt())});return O(a).pipe(Ho())}));return O(i).pipe(Ho())}function dO(e,n,t,r,o){let i=n&&n.routeConfig?n.routeConfig.canDeactivate:null;if(!i||i.length===0)return O(!0);let s=i.map(a=>{let l=rs(n)??o,d=zo(a,l),p=tO(d)?d.canDeactivate(e,n,t,r):wt(l,()=>d(e,n,t,r));return tr(p).pipe(zt())});return O(s).pipe(Ho())}function fO(e,n,t,r){let o=n.canLoad;if(o===void 0||o.length===0)return O(!0);let i=o.map(s=>{let a=zo(s,e),l=JR(a)?a.canLoad(n,t):wt(e,()=>a(n,t));return tr(l)});return O(i).pipe(Ho(),qD(r))}function qD(e){return Zl(xe(n=>{if(typeof n!="boolean")throw sl(e,n)}),L(n=>n===!0))}function hO(e,n,t,r){let o=n.canMatch;if(!o||o.length===0)return O(!0);let i=o.map(s=>{let a=zo(s,e),l=nO(a)?a.canMatch(n,t):wt(e,()=>
69a(n,t));return tr(l)});return O(i).pipe(Ho(),qD(r))}var Ji=class{constructor(n){this.segmentGroup=n||null}},Xi=class extends Error{constructor(n){super(),this.urlTree=n}};function Po(e){return eo(new Ji(e))}function pO(e){return eo(new M(4e3,!1))}function gO(e){return eo(HD(!1,gt.GuardRejected))}var Nh=class{constructor(n,t){this.urlSerializer=n,this.urlTree=t}lineralizeSegments(n,t){let r=[],o=t.root;for(;;){if(r=r.concat(o.segments),o.numberOfChildren===0)return O(r);if(o.numberOfChildren>1||!o.children[B])return pO(`${n.redirectTo}`);o=o.children[B]}}applyRedirectCommands(n,t,r,o,i){if(typeof t!="string"){let a=t,{queryParams:l,fragment:d,routeConfig:p,url:h,outlet:v,params:m,data:w,title:D}=o,C=wt(i,()=>a({params:m,data:w,queryParams:l,fragment:d,routeConfig:p,url:h,outlet:v,title:D}));if(C instanceof An)throw new Xi(C);t=C}let s=this.applyRedirectCreateUrlTree(t,this.urlSerializer.parse(t),n,r);if(t[0]==="/")throw new Xi(s);return s}applyRedirectCreateUrlTree(n,t,r,o){let i=this.createSegmentGroup(n,t.root,r,o);return new An(i,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(n,t){let r={};return Object.entries(n).forEach(([o,i])=>{if(typeof i=="string"&&i[0]===":"){let a=i.substring(1);r[o]=t[a]}else r[o]=i}),r}createSegmentGroup(n,t,r,o){let i=this.createSegments(n,t.segments,r,o),s={};return Object.entries(t.children).forEach(([a,l])=>{s[a]=this.createSegmentGroup(n,l,r,o)}),new ee(i,s)}createSegments(n,t,r,o){return t.map(i=>i.path[0]===":"?this.findPosParam(n,i,o):this.findOrReturn(i,r))}findPosParam(n,t,r){let o=r[t.path.substring(1)];if(!o)throw new M(4001,!1);return o}findOrReturn(n,t){let r=0;for(let o of t){if(o.path===n.path)return t.splice(r),o;r++}return n}},Rh={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function mO(e,n,t,r,o){let i=WD(e,n,t);return i.matched?(r=VR(n,r),hO(r,n,t,o).pipe(L(s=>s===!0?i:E({},Rh)))):O(i)}function WD(e,n,t){if(n.path==="**")return vO(t);if(n.path==="")return n.pathMatch==="full"&&(e.hasChildren()||t.length>0)?E({},Rh):{matched:!0,consumedSegments:[],remainingSegments:t,parameters:{},positionalParamSegments:{}};let o=(n.matcher||fR)(t,e,n);if(!o)return E({},Rh);let i={};Object.entries(o.posParams??{}).forEach(([a,l])=>{i[a]=l.path});let s=o.consumed.length>0?E(E({},i),o.consumed[o.consumed.length-1].parameters):i;return{matched:!0,consumedSegments:o.consumed,remainingSegments:t.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function vO(e){return{matched:!0,parameters:e.length>0?MD(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}function wD(e,n,t,r){return t.length>0&&DO(e,t,r)?{segmentGroup:new ee(n,wO(r,new ee(t,e.children))),slicedSegments:[]}:t.length===0&&bO(e,t,r)?{segmentGroup:new ee(e.segments,yO(e,t,r,e.children)),slicedSegments:t}:{segmentGroup:new ee(e.segments,e.children),slicedSegments:t}}function yO(e,n,t,r){let o={};for(let i of t)if(ul(e,n,i)&&!r[Lt(i)]){let s=new ee([],{});o[Lt(i)]=s}return E(E({},r),o)}function wO(e,n){let t={};t[B]=n;for(let r of e)if(r.path===""&&Lt(r)!==B){let o=new ee([],{});t[Lt(r)]=o}return t}function DO(e,n,t){return t.some(r=>ul(e,n,r)&&Lt(r)!==B)}function bO(e,n,t){return t.some(r=>ul(e,n,r))}function ul(e,n,t){return(e.hasChildren()||n.length>0)&&t.pathMatch==="full"?!1:t.path===""}function CO(e,n,t){return n.length===0&&!e.children[t]}var Oh=class{};function EO(e,n,t,r,o,i,s="emptyOnly"){return new Ph(e,n,t,r,o,s,i).recognize()}var IO=31,Ph=class{constructor(n,t,r,o,i,s,a){this.injector=n,this.configLoader=t,this.rootComponentType=r,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new Nh(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(n){return new M(4002,`'${n.segmentGroup}'`)}recognize(){let n=wD(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(n).pipe(L(({children:t,rootSnapshot:r})=>{let o=new pt(r,t),i=new il("",o),s=NR(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),{state:i,tree:s}}))}match(n){let t=new Lo([],Object.freeze({}),Object.freeze(E({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),B,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,n,B,t).pipe(L(r=>({children:r,rootSnapshot:t})),ln(r=>{if(r instanceof Xi)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof Ji?this.noMatchError(r):r}))}processSegmentGroup(n,t,r,o,i){return r.segments.length===0&&r.hasChildren()?this.processChildren(n,t,r,i):this.processSegment(n,t,r,r.segments,o,!0,i).pipe(L(s=>s instanceof pt?[s]:[]))}processChildren(n,t,r,o){let i=[];for(let s of Object.keys(r.children))s==="primary"?i.unshift(s):i.push(s);return ne(i).pipe(un(s=>{let a=r.children[s],l=jR(t,s);return this.processSegmentGroup(n,l,a,s,o)}),iu((s,a)=>
69(s.push(...a),s)),Fn(null),ou(),we(s=>{if(s===null)return Po(r);let a=ZD(s);return _O(a),O(a)}))}processSegment(n,t,r,o,i,s,a){return ne(t).pipe(un(l=>this.processSegmentAgainstRoute(l._injector??n,t,l,r,o,i,s,a).pipe(ln(d=>{if(d instanceof Ji)return O(null);throw d}))),zt(l=>!!l),ln(l=>{if(GD(l))return CO(r,o,i)?O(new Oh):Po(r);throw l}))}processSegmentAgainstRoute(n,t,r,o,i,s,a,l){return Lt(r)!==s&&(s===B||!ul(o,i,r))?Po(o):r.redirectTo===void 0?this.matchSegmentAgainstRoute(n,o,r,i,s,l):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(n,o,t,r,i,s,l):Po(o)}expandSegmentAgainstRouteUsingRedirect(n,t,r,o,i,s,a){let{matched:l,parameters:d,consumedSegments:p,positionalParamSegments:h,remainingSegments:v}=WD(t,o,i);if(!l)return Po(t);typeof o.redirectTo=="string"&&o.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>IO&&(this.allowRedirects=!1));let m=new Lo(i,d,Object.freeze(E({},this.urlTree.queryParams)),this.urlTree.fragment,DD(o),Lt(o),o.component??o._loadedComponent??null,o,bD(o)),w=ol(m,a,this.paramsInheritanceStrategy);m.params=Object.freeze(w.params),m.data=Object.freeze(w.data);let D=this.applyRedirects.applyRedirectCommands(p,o.redirectTo,h,m,n);return this.applyRedirects.lineralizeSegments(o,D).pipe(we(C=>this.processSegment(n,r,t,C.concat(v),s,!1,a)))}matchSegmentAgainstRoute(n,t,r,o,i,s){let a=mO(t,r,o,n,this.urlSerializer);return r.path==="**"&&(t.children={}),a.pipe(et(l=>l.matched?(n=r._injector??n,this.getChildConfig(n,r,o).pipe(et(({routes:d})=>{let p=r._loadedInjector??n,{parameters:h,consumedSegments:v,remainingSegments:m}=l,w=new Lo(v,h,Object.freeze(E({},this.urlTree.queryParams)),this.urlTree.fragment,DD(r),Lt(r),r.component??r._loadedComponent??null,r,bD(r)),D=ol(w,s,this.paramsInheritanceStrategy);w.params=Object.freeze(D.params),w.data=Object.freeze(D.data);let{segmentGroup:C,slicedSegments:_}=wD(t,v,m,d);if(_.length===0&&C.hasChildren())return this.processChildren(p,d,C,w).pipe(L(V=>new pt(w,V)));if(d.length===0&&_.length===0)return O(new pt(w,[]));let k=Lt(r)===i;return this.processSegment(p,d,C,_,k?B:i,!0,w).pipe(L(V=>new pt(w,V instanceof pt?[V]:[])))}))):Po(t)))}getChildConfig(n,t,r){return t.children?O({routes:t.children,injector:n}):t.loadChildren?t._loadedRoutes!==void 0?O({routes:t._loadedRoutes,injector:t._loadedInjector}):fO(n,t,r,this.urlSerializer).pipe(we(o=>o?this.configLoader.loadChildren(n,t).pipe(xe(i=>{t._loadedRoutes=i.routes,t._loadedInjector=i.injector})):gO(t))):O({routes:[],injector:n})}};function _O(e){e.sort((n,t)=>n.value.outlet===B?-1:t.value.outlet===B?1:n.value.outlet.localeCompare(t.value.outlet))}function MO(e){let n=e.value.routeConfig;return n&&n.path===""}function ZD(e){let n=[],t=new Set;for(let r of e){if(!MO(r)){n.push(r);continue}let o=n.find(i=>r.value.routeConfig===i.value.routeConfig);o!==void 0?(o.children.push(...r.children),t.add(o)):n.push(r)}for(let r of t){let o=ZD(r.children);n.push(new pt(r.value,o))}return n.filter(r=>!t.has(r))}function DD(e){return e.data||{}}function bD(e){return e.resolve||{}}function SO(e,n,t,r,o,i){return we(s=>EO(e,n,t,r,s.extractedUrl,o,i).pipe(L(({state:a,tree:l})=>W(E({},s),{targetSnapshot:a,urlAfterRedirects:l}))))}function TO(e,n){return we(t=>{let{targetSnapshot:r,guards:{canActivateChecks:o}}=t;if(!o.length)return O(t);let i=new Set(o.map(l=>l.route)),s=new Set;for(let l of i)if(!s.has(l))for(let d of YD(l))s.add(d);let a=0;return ne(s).pipe(un(l=>i.has(l)?xO(l,r,e,n):(l.data=ol(l,l.parent,e).resolve,O(void 0))),xe(()=>a++),ro(1),we(l=>a===s.size?O(t):He))})}function YD(e){let n=e.children.map(t=>YD(t)).flat();return[e,...n]}function xO(e,n,t,r){let o=e.routeConfig,i=e._resolve;return o?.title!==void 0&&!$D(o)&&(i[ts]=o.title),AO(i,e,n,r).pipe(L(s=>(e._resolvedData=s,e.data=ol(e,e.parent,t).resolve,null)))}function AO(e,n,t,r){let o=dh(e);if(o.length===0)return O({});let i={};return ne(o).pipe(we(s=>NO(e[s],n,t,r).pipe(zt(),xe(a=>{if(a instanceof Ki)throw sl(new Bo,a);i[s]=a}))),ro(1),ru(i),ln(s=>GD(s)?He:eo(s)))}function NO(e,n,t,r){let o=rs(n)??r,i=zo(e,o),s=i.resolve?i.resolve(n,t):wt(o,()=>i(n,t));return tr(s)}function lh(e){return et(n=>{let t=e(n);return t?ne(t).pipe(L(()=>n)):O(n)})}var QD=(()=>{class e{buildTitle(t){let r,o=t.root;for(;o!==void 0;)r=this.getResolvedTitleForRoute(o)??r,o=o.children.find(i=>i.outlet===B);return r}getResolvedTitleForRoute(t){return t.data[ts]}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=S({token:e,factory:()=>b(RO),providedIn:"root"})}}return e})(),RO=(()=>{class e extends QD{constructor(t){super(),this.title=t}updateTitle(t){let r=this.buildTitle(t);r!==void 0&&this.title.setTitle(r)}static{this.\u0275fac=function(r){return new(r||e)(N(hD))}}static{this.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),ss=new x("",{providedIn:"root",factory:()=>({})}),OO=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=qm({type:e,selectors:[["ng-component"]],standalone:!0,features:[Cw],decls:1,vars:0,template:function(r,o){r&1&&Ef(0,"router-outlet")},dependencies:[$R],encapsulation:2})}}return e})();
69function Lh(e){let n=e.children&&e.children.map(Lh),t=n?W(E({},e),{children:n}):E({},e);return!t.component&&!t.loadComponent&&(n||t.loadChildren)&&t.outlet&&t.outlet!==B&&(t.component=OO),t}var es=new x(""),Vh=(()=>{class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=b(Mc)}loadComponent(t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return O(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);let r=tr(t.loadComponent()).pipe(L(KD),xe(i=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=i}),kn(()=>{this.componentLoaders.delete(t)})),o=new Zr(r,()=>new Te).pipe(Wr());return this.componentLoaders.set(t,o),o}loadChildren(t,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return O({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let i=PO(r,this.compiler,t,this.onLoadEndListener).pipe(kn(()=>{this.childrenLoaders.delete(r)})),s=new Zr(i,()=>new Te).pipe(Wr());return this.childrenLoaders.set(r,s),s}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function PO(e,n,t,r){return tr(e.loadChildren()).pipe(L(KD),we(o=>o instanceof yi||Array.isArray(o)?O(o):ne(n.compileModuleAsync(o))),L(o=>{r&&r(e);let i,s,a=!1;return Array.isArray(o)?(s=o,a=!0):(i=o.create(t).injector,s=i.get(es,[],{optional:!0,self:!0}).flat()),{routes:s.map(Lh),injector:i}}))}function FO(e){return e&&typeof e=="object"&&"default"in e}function KD(e){return FO(e)?e.default:e}var jh=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=S({token:e,factory:()=>b(kO),providedIn:"root"})}}return e})(),kO=(()=>{class e{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,r){return t}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),JD=new x(""),XD=new x("");function LO(e,n,t){let r=e.get(XD),o=e.get(Pe);return e.get(fe).runOutsideAngular(()=>{if(!o.startViewTransition||r.skipNextTransition)return r.skipNextTransition=!1,new Promise(d=>setTimeout(d));let i,s=new Promise(d=>{i=d}),a=o.startViewTransition(()=>(i(),VO(e))),{onViewTransitionCreated:l}=r;return l&&wt(e,()=>l({transition:a,from:n,to:t})),s})}function VO(e){return new Promise(n=>{Df({read:()=>setTimeout(n)},{injector:e})})}var jO=new x(""),Bh=(()=>{class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Te,this.transitionAbortSubject=new Te,this.configLoader=b(Vh),this.environmentInjector=b(qe),this.urlSerializer=b(ns),this.rootContexts=b(os),this.location=b(Oo),this.inputBindingEnabled=b(ll,{optional:!0})!==null,this.titleStrategy=b(QD),this.options=b(ss,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=b(jh),this.createViewTransition=b(JD,{optional:!0}),this.navigationErrorHandler=b(jO,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>O(void 0),this.rootComponentType=null;let t=o=>this.events.next(new wh(o)),r=o=>this.events.next(new Dh(o));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=t}complete(){this.transitions?.complete()}handleNavigationRequest(t){let r=++this.navigationId;this.transitions?.next(W(E(E({},this.transitions.value),t),{id:r}))}setupNavigations(t,r,o){return this.transitions=new Re({id:0,currentUrlTree:r,currentRawUrl:r,extractedUrl:this.urlHandlingStrategy.extract(r),urlAfterRedirects:this.urlHandlingStrategy.extract(r),rawUrl:r,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:Gi,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Xe(i=>i.id!==0),L(i=>W(E({},i),{extractedUrl:this.urlHandlingStrategy.extract(i.rawUrl)})),et(i=>{let s=!1,a=!1;return O(i).pipe(et(l=>{if(this.navigationId>i.id)return this.cancelNavigationTransition(i,"",gt.SupersededByNewNavigation),He;this.currentTransition=i,this.currentNavigation={id:l.id,initialUrl:l.rawUrl,extractedUrl:l.extractedUrl,targetBrowserUrl:typeof l.extras.browserUrl=="string"?this.urlSerializer.parse(l.extras.browserUrl):l.extras.browserUrl,trigger:l.source,extras:l.extras,previousNavigation:this.lastSuccessfulNavigation?W(E({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let d=!t.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),p=l.extras.onSameUrlNavigation??t.onSameUrlNavigation;if(!d&&p!=="reload"){let h="";return this.events.next(new Xn(l.id,this.urlSerializer.serialize(l.rawUrl),h,Xc.IgnoredSameUrlNavigation)),l.resolve(!1),He}if(this.urlHandlingStrategy.shouldProcessUrl(l.rawUrl))return O(l).pipe(et(h=>{let v=this.transitions?.getValue();return this.events.next(new $o(h.id,this.urlSerializer.serialize(h.extractedUrl),h.source,h.restoredState)),v!==this.transitions?.getValue()?He:Promise.resolve(h)}),SO(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,this.paramsInheritanceStrategy),xe(h=>{i.targetSnapshot=h.targetSnapshot,i.urlAfterRedirects=h.urlAfterRedirects,this.currentNavigation=W(E({},this.currentNavigation),{finalUrl:h.urlAfterRedirects});let v=new el(h.id,this.urlSerializer.serialize(h.extractedUrl),this.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);this.events.next(v)}
69));if(d&&this.urlHandlingStrategy.shouldProcessUrl(l.currentRawUrl)){let{id:h,extractedUrl:v,source:m,restoredState:w,extras:D}=l,C=new $o(h,this.urlSerializer.serialize(v),m,w);this.events.next(C);let _=jD(this.rootComponentType).snapshot;return this.currentTransition=i=W(E({},l),{targetSnapshot:_,urlAfterRedirects:v,extras:W(E({},D),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=v,O(i)}else{let h="";return this.events.next(new Xn(l.id,this.urlSerializer.serialize(l.extractedUrl),h,Xc.IgnoredByUrlHandlingStrategy)),l.resolve(!1),He}}),xe(l=>{let d=new gh(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}),L(l=>(this.currentTransition=i=W(E({},l),{guards:WR(l.targetSnapshot,l.currentSnapshot,this.rootContexts)}),i)),oO(this.environmentInjector,l=>this.events.next(l)),xe(l=>{if(i.guardsResult=l.guardsResult,l.guardsResult&&typeof l.guardsResult!="boolean")throw sl(this.urlSerializer,l.guardsResult);let d=new mh(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot,!!l.guardsResult);this.events.next(d)}),Xe(l=>l.guardsResult?!0:(this.cancelNavigationTransition(l,"",gt.GuardRejected),!1)),lh(l=>{if(l.guards.canActivateChecks.length)return O(l).pipe(xe(d=>{let p=new vh(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(p)}),et(d=>{let p=!1;return O(d).pipe(TO(this.paramsInheritanceStrategy,this.environmentInjector),xe({next:()=>p=!0,complete:()=>{p||this.cancelNavigationTransition(d,"",gt.NoDataFromResolver)}}))}),xe(d=>{let p=new yh(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(p)}))}),lh(l=>{let d=p=>{let h=[];p.routeConfig?.loadComponent&&!p.routeConfig._loadedComponent&&h.push(this.configLoader.loadComponent(p.routeConfig).pipe(xe(v=>{p.component=v}),L(()=>{})));for(let v of p.children)h.push(...d(v));return h};return ci(d(l.targetSnapshot.root)).pipe(Fn(null),dn(1))}),lh(()=>this.afterPreactivation()),et(()=>{let{currentSnapshot:l,targetSnapshot:d}=i,p=this.createViewTransition?.(this.environmentInjector,l.root,d.root);return p?ne(p).pipe(L(()=>i)):O(i)}),L(l=>{let d=UR(t.routeReuseStrategy,l.targetSnapshot,l.currentRouterState);return this.currentTransition=i=W(E({},l),{targetRouterState:d}),this.currentNavigation.targetRouterState=d,i}),xe(()=>{this.events.next(new Yi)}),qR(this.rootContexts,t.routeReuseStrategy,l=>this.events.next(l),this.inputBindingEnabled),dn(1),xe({next:l=>{s=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Vt(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects))),this.titleStrategy?.updateTitle(l.targetRouterState.snapshot),l.resolve(!0)},complete:()=>{s=!0}}),au(this.transitionAbortSubject.pipe(xe(l=>{throw l}))),kn(()=>{!s&&!a&&this.cancelNavigationTransition(i,"",gt.SupersededByNewNavigation),this.currentTransition?.id===i.id&&(this.currentNavigation=null,this.currentTransition=null)}),ln(l=>{if(a=!0,zD(l))this.events.next(new xn(i.id,this.urlSerializer.serialize(i.extractedUrl),l.message,l.cancellationCode)),GR(l)?this.events.next(new Uo(l.url,l.navigationBehaviorOptions)):i.resolve(!1);else{let d=new Zi(i.id,this.urlSerializer.serialize(i.extractedUrl),l,i.targetSnapshot??void 0);try{let p=wt(this.environmentInjector,()=>this.navigationErrorHandler?.(d));if(p instanceof Ki){let{message:h,cancellationCode:v}=sl(this.urlSerializer,p);this.events.next(new xn(i.id,this.urlSerializer.serialize(i.extractedUrl),h,v)),this.events.next(new Uo(p.redirectTo,p.navigationBehaviorOptions))}else{this.events.next(d);let h=t.errorHandler(l);i.resolve(!!h)}}catch(p){this.options.resolveNavigationPromiseOnError?i.resolve(!1):i.reject(p)}}return He}))}))}cancelNavigationTransition(t,r,o){let i=new xn(t.id,this.urlSerializer.serialize(t.extractedUrl),r,o);this.events.next(i),t.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let t=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),r=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return t.toString()!==r?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function BO(e){return e!==Gi}var $O=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=S({token:e,factory:()=>b(UO),providedIn:"root"})}}return e})(),Fh=class{shouldDetach(n){return!1}store(n,t){}shouldAttach(n){return!1}retrieve(n){return null}
69shouldReuseRoute(n,t){return n.routeConfig===t.routeConfig}},UO=(()=>{class e extends Fh{static{this.\u0275fac=(()=>{let t;return function(o){return(t||(t=Ye(e)))(o||e)}})()}static{this.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),eb=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=S({token:e,factory:()=>b(HO),providedIn:"root"})}}return e})(),HO=(()=>{class e extends eb{constructor(){super(...arguments),this.location=b(Oo),this.urlSerializer=b(ns),this.options=b(ss,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=b(jh),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new An,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=jD(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(t){return this.location.subscribe(r=>{r.type==="popstate"&&t(r.url,r.state)})}handleRouterEvent(t,r){if(t instanceof $o)this.stateMemento=this.createStateMemento();else if(t instanceof Xn)this.rawUrlTree=r.initialUrl;else if(t instanceof el){if(this.urlUpdateStrategy==="eager"&&!r.extras.skipLocationChange){let o=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl);this.setBrowserUrl(r.targetBrowserUrl??o,r)}}else t instanceof Yi?(this.currentUrlTree=r.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl),this.routerState=r.targetRouterState,this.urlUpdateStrategy==="deferred"&&!r.extras.skipLocationChange&&this.setBrowserUrl(r.targetBrowserUrl??this.rawUrlTree,r)):t instanceof xn&&(t.code===gt.GuardRejected||t.code===gt.NoDataFromResolver)?this.restoreHistory(r):t instanceof Zi?this.restoreHistory(r,!0):t instanceof Vt&&(this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId)}setBrowserUrl(t,r){let o=t instanceof An?this.urlSerializer.serialize(t):t;if(this.location.isCurrentPathEqualTo(o)||r.extras.replaceUrl){let i=this.browserPageId,s=E(E({},r.extras.state),this.generateNgRouterState(r.id,i));this.location.replaceState(o,"",s)}else{let i=E(E({},r.extras.state),this.generateNgRouterState(r.id,this.browserPageId+1));this.location.go(o,"",i)}}restoreHistory(t,r=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,i=this.currentPageId-o;i!==0?this.location.historyGo(i):this.currentUrlTree===t.finalUrl&&i===0&&(this.resetState(t),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&this.resetState(t),this.resetUrlToCurrentUrlTree())}resetState(t){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,r){return this.canceledNavigationResolution==="computed"?{navigationId:t,\u0275routerPageId:r}:{navigationId:t}}static{this.\u0275fac=(()=>{let t;return function(o){return(t||(t=Ye(e)))(o||e)}})()}static{this.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),Hi=function(e){return e[e.COMPLETE=0]="COMPLETE",e[e.FAILED=1]="FAILED",e[e.REDIRECTING=2]="REDIRECTING",e}(Hi||{});function tb(e,n){e.events.pipe(Xe(t=>t instanceof Vt||t instanceof xn||t instanceof Zi||t instanceof Xn),L(t=>t instanceof Vt||t instanceof Xn?Hi.COMPLETE:(t instanceof xn?t.code===gt.Redirect||t.code===gt.SupersededByNewNavigation:!1)?Hi.REDIRECTING:Hi.FAILED),Xe(t=>t!==Hi.REDIRECTING),dn(1)).subscribe(()=>{n()})}function zO(e){throw e}var GO={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},qO={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Mt=(()=>{class e{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=b(Ic),this.stateManager=b(eb),this.options=b(ss,{optional:!0})||{},this.pendingTasks=b(wn),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=b(Bh),this.urlSerializer
vendor: 4,557 bytes, line 69
69=b(ns),this.location=b(Oo),this.urlHandlingStrategy=b(jh),this._events=new Te,this.errorHandler=this.options.errorHandler||zO,this.navigated=!1,this.routeReuseStrategy=b($O),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=b(es,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!b(ll,{optional:!0}),this.eventsSubscription=new ue,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:t=>{this.console.warn(t)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let t=this.navigationTransitions.events.subscribe(r=>{try{let o=this.navigationTransitions.currentTransition,i=this.navigationTransitions.currentNavigation;if(o!==null&&i!==null){if(this.stateManager.handleRouterEvent(r,i),r instanceof xn&&r.code!==gt.Redirect&&r.code!==gt.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof Vt)this.navigated=!0;else if(r instanceof Uo){let s=r.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(r.url,o.currentRawUrl),l=E({browserUrl:o.extras.browserUrl,info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy==="eager"||BO(o.source)},s);this.scheduleNavigation(a,Gi,null,l,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}ZO(r)&&this._events.next(r)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(t)}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Gi,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((t,r)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(t,"popstate",r)},0)})}navigateToSyncWithBrowser(t,r,o){let i={replaceUrl:!0},s=o?.navigationId?o:null;if(o){let l=E({},o);delete l.navigationId,delete l.\u0275routerPageId,Object.keys(l).length!==0&&(i.state=l)}let a=this.parseUrl(t);this.scheduleNavigation(a,r,s,i)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(Lh),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(t,r={}){let{relativeTo:o,queryParams:i,fragment:s,queryParamsHandling:a,preserveFragment:l}=r,d=l?this.currentUrlTree.fragment:s,p=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":p=E(E({},this.currentUrlTree.queryParams),i);break;case"preserve":p=this.currentUrlTree.queryParams;break;default:p=i||null}p!==null&&(p=this.removeEmptyProps(p));let h;try{let v=o?o.snapshot:this.routerState.snapshot.root;h=FD(v)}catch{(typeof t[0]!="string"||t[0][0]!=="/")&&(t=[]),h=this.currentUrlTree.root}return kD(h,t,p,d??null)}navigateByUrl(t,r={skipLocationChange:!1}){let o=Nr(t)?t:this.parseUrl(t),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,Gi,null,r)}navigate(t,r={skipLocationChange:!1}){return WO(t),this.navigateByUrl(this.createUrlTree(t,r),r)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){try{return this.urlSerializer.parse(t)}catch{return this.urlSerializer.parse("/")}}isActive(t,r){let o;if(r===!0?o=E({},GO):r===!1?o=E({},qO):o=r,Nr(t))return pD(this.currentUrlTree,t,o);let i=this.parseUrl(t);return pD(this.currentUrlTree,i,o)}removeEmptyProps(t){return Object.entries(t).reduce((r,[o,i])=>(i!=null&&(r[o]=i),r),{})}scheduleNavigation(t,r,o,i,s){if(this.disposed)return Promise.resolve(!1);let a,l,d;s?(a=s.resolve,l=s.reject,d=s.promise):d=new Promise((h,v)=>{a=h,l=v});let p=this.pendingTasks.add();return tb(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(p))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:t,extras:i,resolve:a,reject:l,promise:d,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}
69),d.catch(h=>Promise.reject(h))}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function WO(e){for(let n=0;n<e.length;n++)if(e[n]==null)throw new M(4008,!1)}function ZO(e){return!(e instanceof Yi)&&!(e instanceof Uo)}var CD=(()=>{class e{constructor(t,r,o,i,s,a){this.router=t,this.route=r,this.tabIndexAttribute=o,this.renderer=i,this.el=s,this.locationStrategy=a,this.href=null,this.onChanges=new Te,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1,this.routerLinkInput=null;let l=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=l==="a"||l==="area",this.isAnchorElement?this.subscription=t.events.subscribe(d=>{d instanceof Vt&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(t){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",t)}ngOnChanges(t){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(t){t==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(Nr(t)?this.routerLinkInput=t:this.routerLinkInput=Array.isArray(t)?t:[t],this.setTabIndexIfNotOnNativeEl("0"))}onClick(t,r,o,i,s){let a=this.urlTree;if(a===null||this.isAnchorElement&&(t!==0||r||o||i||s||typeof this.target=="string"&&this.target!="_self"))return!0;let l={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(a,l),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let t=this.urlTree;this.href=t!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(t)):null;let r=this.href===null?null:ay(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",r)}applyAttributeValue(t,r){let o=this.renderer,i=this.el.nativeElement;r!==null?o.setAttribute(i,t,r):o.removeAttribute(i,t)}get urlTree(){return this.routerLinkInput===null?null:Nr(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static{this.\u0275fac=function(r){return new(r||e)(T(Mt),T(er),Qd("tabindex"),T(Ct),T(Be),T(Tn))}}static{this.\u0275dir=Y({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(r,o){r&1&&Pt("click",function(s){return o.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),r&2&&nn("target",o.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",Yn],skipLocationChange:[2,"skipLocationChange","skipLocationChange",Yn],replaceUrl:[2,"replaceUrl","replaceUrl",Yn],routerLink:"routerLink"},standalone:!0,features:[yf,Dt]})}}return e})(),EU=(()=>{class e{get isActive(){return this._isActive}constructor(t,r,o,i,s){this.router=t,this.element=r,this.renderer=o,this.cdr=i,this.link=s,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new de,this.routerEventsSubscription=t.events.subscribe(a=>{a instanceof Vt&&this.update()})}ngAfterContentInit(){O(this.links.changes,O(null)).pipe(Ht()).subscribe(t=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let t=[...this.links.toArray(),this.link].filter(r=>!!r).map(r=>r.onChanges);this.linkInputChangesSubscription=ne(t).pipe(Ht()).subscribe(r=>{this._isActive!==this.isLinkActive(this.router)(r)&&this.update()})}set routerLinkActive(t){let r=Array.isArray(t)?t:t.split(" ");this.classes=r.filter(o=>!!o)}ngOnChanges(t){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let t=this.hasActiveLinks();
69this.classes.forEach(r=>{t?this.renderer.addClass(this.element.nativeElement,r):this.renderer.removeClass(this.element.nativeElement,r)}),t&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==t&&(this._isActive=t,this.cdr.markForCheck(),this.isActiveChange.emit(t))})}isLinkActive(t){let r=YO(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return o=>{let i=o.urlTree;return i?t.isActive(i,r):!1}}hasActiveLinks(){let t=this.isLinkActive(this.router);return this.link&&t(this.link)||this.links.some(t)}static{this.\u0275fac=function(r){return new(r||e)(T(Mt),T(Be),T(Ct),T(rn),T(CD,8))}}static{this.\u0275dir=Y({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(r,o,i){if(r&1&&vw(i,CD,5),r&2){let s;yw(s=ww())&&(o.links=s)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[Dt]})}}return e})();function YO(e){return!!e.paths}var cl=class{};var QO=(()=>{class e{constructor(t,r,o,i,s){this.router=t,this.injector=o,this.preloadingStrategy=i,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(Xe(t=>t instanceof Vt),un(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,r){let o=[];for(let i of r){i.providers&&!i._injector&&(i._injector=bc(i.providers,t,`Route: ${i.path}`));let s=i._injector??t,a=i._loadedInjector??s;(i.loadChildren&&!i._loadedRoutes&&i.canLoad===void 0||i.loadComponent&&!i._loadedComponent)&&o.push(this.preloadConfig(s,i)),(i.children||i._loadedRoutes)&&o.push(this.processRoutes(a,i.children??i._loadedRoutes))}return ne(o).pipe(Ht())}preloadConfig(t,r){return this.preloadingStrategy.preload(r,()=>{let o;r.loadChildren&&r.canLoad===void 0?o=this.loader.loadChildren(t,r):o=O(null);let i=o.pipe(we(s=>s===null?O(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,this.processRoutes(s.injector??t,s.routes))));if(r.loadComponent&&!r._loadedComponent){let s=this.loader.loadComponent(r);return ne([i,s]).pipe(Ht())}else return i})}static{this.\u0275fac=function(r){return new(r||e)(N(Mt),N(Mc),N(qe),N(cl),N(Vh))}}static{this.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),nb=new x(""),KO=(()=>{class e{constructor(t,r,o,i,s={}){this.urlSerializer=t,this.transitions=r,this.viewportScroller=o,this.zone=i,this.options=s,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},s.scrollPositionRestoration||="disabled",s.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof $o?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof Vt?(this.lastId=t.id,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.urlAfterRedirects).fragment)):t instanceof Xn&&t.code===Xc.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof tl&&(t.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(t.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,r){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new tl(t,this.lastSource==="popstate"?this.store[this.restoredId]:null,r))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static{this.\u0275fac=function(r){by()}}static{this.\u0275prov=S({token:e,factory:e.\u0275fac})}}return e})();function IU(e,...n){return Io([{provide:es,multi:!0,useValue:e},[],{provide:er,useFactory:rb,deps:[Mt]},{provide:Ni,multi:!0,useFactory:ob},n.map(t=>t.\u0275providers)])}function rb(e){return e.routerState.root}function as(e,n){return{\u0275kind:e,\u0275providers:n}}function ob(){let e=b(vt);return n=>{let t=e.get(Zn);if(n!==t.components[0])return;let r=e.get(Mt),o=e.get(ib);e.get($h)===1&&r.initialNavigation(),e.get(sb,null,G.Optional)?.setUpPreloading(),e.get(nb,null,G.Optional)?.init(),r.resetRootComponentType(t.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var ib=new x("",{factory:()=>new Te}),$h=new x("",{providedIn:"root",factory:()=>1});function JO(){return as(2,[{provide:$h,useValue:0},{provide:_c,multi:!0,deps:[vt],useFactory:n=>{let t=n.get($w,Promise.resolve());return()=>t.then(()=>new Promise(r=>{let o=n.get(Mt),i=n.get(ib);tb(o,()=>{r(!0)}),n.get(Bh).afterPreactivation=()=>(r(!0),i.closed?O(void 0):i),o.initialNavigation()}))}}])}function XO(){return as(3,[{provide:_c,multi:!0,useFactory:()=>{let n=b(Mt);return()=>{n.setUpLocationChangeListener()}}},{provide:$h,useValue:2}])}var sb=new x("");function eP(e){return as(0,[{provide:sb,useExisting:QO},{provide:cl,useExisting:e}])}function tP(){return as(8,[yD,{provide:ll,useExisting:yD}])}function nP(e){let n=[{provide:JD,useValue:LO},{provide:XD,useValue:E({skipNextTransition:!!e?.skipInitialTransition},e)}];return as(9,n)}var ED=new x("ROUTER_FORROOT_GUARD"),rP=[Oo,{provide:ns,useClass:Bo},Mt,os,{provide:er,useFactory:rb,deps:[Mt]},Vh,[]],_U=(()=>{class e{constructor(t){}static forRoot(t,r){return{ngModule:e,providers:[rP,[],{provide:es,multi:!0,useValue:t},{provide:ED,useFactory:aP,deps:[[Mt,new bi,new Ja]]},{provide:ss,useValue:r||{}},r?.useHash?iP():sP(),oP(),r?.preloadingStrategy?eP(r.preloadingStrategy).\u0275providers:[],r?.initialNavigation?cP(r):[],r?.bindToComponentInputs?tP().\u0275providers:[],r?.enableViewTransitions?nP().\u0275providers:[],lP()]}}static forChild(t){return{ngModule:e,providers:[{provide:es,multi:!0,useValue:t}]}}static{this.\u0275fac=function(r){return new(r||e)(N(ED,8))}}static{this.\u0275mod=Jt({type:e})}static{this.\u0275inj=Kt({})}}return e})();function oP(){return{provide:nb,useFactory:()=>{let e=b(Zw),n=b(fe),t=b(ss),r=b(Bh),o=b(ns);return t.scrollOffset&&e.setOffset(t.scrollOffset),new KO(o,r,e,n,t)}}}function iP(){return{provide:Tn,useClass:Hw}}function sP(){return{provide:Tn,useClass:Hf}}function aP(e){return"guarded"}function cP(e){return[e.initialNavigation==="disabled"?XO().\u0275providers:[],e.initialNavigation==="enabledBlocking"?JO().\u0275providers:[]]}var ID=new x("");function lP(){return[{provide:ID,useFactory:ob},{provide:Ni,multi:!0,useExisting:ID}]}var vb=(()=>{class e{constructor(t,r){this._renderer=t,this._elementRef=r,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(t,r){this._renderer.setProperty(this._elementRef.nativeElement,t,r)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}static{this.\u0275fac=function(r){return new(r||e)(T(Ct),T(Be))}}static{this.\u0275dir=Y({type:e})}}return e})(),ps=(()=>{class e extends vb{static{this.\u0275fac=(()=>{let t;return function(o){return(t||(t=Ye(e)))(o||e)}})()}static{this.\u0275dir=Y({type:e,features:[Ce]})}}return e})(),Or=new x(""),uP={provide:Or,useExisting:Ae(()=>dP),multi:!0},dP=(()=>{class e extends ps{writeValue(t){this.setProperty("checked",t)}static{this.\u0275fac=(()=>{let t;return function(o){return(t||(t=Ye(e)))(o||e)}})()}static{this.\u0275dir=Y({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(r,o){r&1&&Pt("change",function(s){return o.onChange(s.target.checked)})("blur",function(){return o.onTouched()})},features:[$e([uP]),Ce]})}}return e})(),fP={provide:Or,useExisting:Ae(()=>yb),multi:!0};function hP(){let e=Sn()?Sn().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}var pP=new x(""),yb=(()=>{class e extends vb{constructor(t,r,o){super(t,r),this._compositionMode=o,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!hP())}writeValue(t){let r=t??"";this.setProperty("value",r)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}
69_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}static{this.\u0275fac=function(r){return new(r||e)(T(Ct),T(Be),T(pP,8))}}static{this.\u0275dir=Y({type:e,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(r,o){r&1&&Pt("input",function(s){return o._handleInput(s.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(s){return o._compositionEnd(s.target.value)})},features:[$e([fP]),Ce]})}}return e})();function nr(e){return e==null||(typeof e=="string"||Array.isArray(e))&&e.length===0}function wb(e){return e!=null&&typeof e.length=="number"}var sn=new x(""),Dl=new x(""),gP=/^(?=.{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])?)*$/,ab=class{static min(n){return Db(n)}static max(n){return bb(n)}static required(n){return Cb(n)}static requiredTrue(n){return mP(n)}static email(n){return vP(n)}static minLength(n){return Eb(n)}static maxLength(n){return Ib(n)}static pattern(n){return _b(n)}static nullValidator(n){return fl(n)}static compose(n){return Nb(n)}static composeAsync(n){return Rb(n)}};function Db(e){return n=>{if(nr(n.value)||nr(e))return null;let t=parseFloat(n.value);return!isNaN(t)&&t<e?{min:{min:e,actual:n.value}}:null}}function bb(e){return n=>{if(nr(n.value)||nr(e))return null;let t=parseFloat(n.value);return!isNaN(t)&&t>e?{max:{max:e,actual:n.value}}:null}}function Cb(e){return nr(e.value)?{required:!0}:null}function mP(e){return e.value===!0?null:{required:!0}}function vP(e){return nr(e.value)||gP.test(e.value)?null:{email:!0}}function Eb(e){return n=>nr(n.value)||!wb(n.value)?null:n.value.length<e?{minlength:{requiredLength:e,actualLength:n.value.length}}:null}function Ib(e){return n=>wb(n.value)&&n.value.length>e?{maxlength:{requiredLength:e,actualLength:n.value.length}}:null}function _b(e){if(!e)return fl;let n,t;return typeof e=="string"?(t="",e.charAt(0)!=="^"&&(t+="^"),t+=e,e.charAt(e.length-1)!=="$"&&(t+="$"),n=new RegExp(t)):(t=e.toString(),n=e),r=>{if(nr(r.value))return null;let o=r.value;return n.test(o)?null:{pattern:{requiredPattern:t,actualValue:o}}}}function fl(e){return null}function Mb(e){return e!=null}function Sb(e){return Wn(e)?ne(e):e}function Tb(e){let n={};return e.forEach(t=>{n=t!=null?E(E({},n),t):n}),Object.keys(n).length===0?null:n}function xb(e,n){return n.map(t=>t(e))}function yP(e){return!e.validate}function Ab(e){return e.map(n=>yP(n)?n:t=>n.validate(t))}function Nb(e){if(!e)return null;let n=e.filter(Mb);return n.length==0?null:function(t){return Tb(xb(t,n))}}function Wh(e){return e!=null?Nb(Ab(e)):null}function Rb(e){if(!e)return null;let n=e.filter(Mb);return n.length==0?null:function(t){let r=xb(t,n).map(Sb);return tu(r).pipe(L(Tb))}}function Zh(e){return e!=null?Rb(Ab(e)):null}function cb(e,n){return e===null?[n]:Array.isArray(e)?[...e,n]:[e,n]}function Ob(e){return e._rawValidators}function Pb(e){return e._rawAsyncValidators}function Uh(e){return e?Array.isArray(e)?e:[e]:[]}function hl(e,n){return Array.isArray(e)?e.includes(n):e===n}function lb(e,n){let t=Uh(n);return Uh(e).forEach(o=>{hl(t,o)||t.push(o)}),t}function ub(e,n){return Uh(n).filter(t=>!hl(e,t))}var pl=class{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(n){this._rawValidators=n||[],this._composedValidatorFn=Wh(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=Zh(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,t){return this.control?this.control.hasError(n,t):!1}getError(n,t){return this.control?this.control.getError(n,t):null}},Nn=class extends pl{get formDirective(){return null}get path(){return null}},Rr=class extends pl{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},gl=class{constructor(n){this._cd=n}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}
69get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}},wP={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},HU=W(E({},wP),{"[class.ng-submitted]":"isSubmitted"}),zU=(()=>{class e extends gl{constructor(t){super(t)}static{this.\u0275fac=function(r){return new(r||e)(T(Rr,2))}}static{this.\u0275dir=Y({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,o){r&2&&Ec("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[Ce]})}}return e})(),GU=(()=>{class e extends gl{constructor(t){super(t)}static{this.\u0275fac=function(r){return new(r||e)(T(Nn,10))}}static{this.\u0275dir=Y({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(r,o){r&2&&Ec("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)("ng-submitted",o.isSubmitted)},features:[Ce]})}}return e})();var cs="VALID",dl="INVALID",Go="PENDING",ls="DISABLED",rr=class{},ml=class extends rr{constructor(n,t){super(),this.value=n,this.source=t}},ds=class extends rr{constructor(n,t){super(),this.pristine=n,this.source=t}},fs=class extends rr{constructor(n,t){super(),this.touched=n,this.source=t}},qo=class extends rr{constructor(n,t){super(),this.status=n,this.source=t}},Hh=class extends rr{constructor(n){super(),this.source=n}},zh=class extends rr{constructor(n){super(),this.source=n}};function Yh(e){return(bl(e)?e.validators:e)||null}function DP(e){return Array.isArray(e)?Wh(e):e||null}function Qh(e,n){return(bl(n)?n.asyncValidators:e)||null}function bP(e){return Array.isArray(e)?Zh(e):e||null}function bl(e){return e!=null&&!Array.isArray(e)&&typeof e=="object"}function Fb(e,n,t){let r=e.controls;if(!(n?Object.keys(r):r).length)throw new M(1e3,"");if(!r[t])throw new M(1001,"")}function kb(e,n,t){e._forEachChild((r,o)=>{if(t[o]===void 0)throw new M(1002,"")})}var Wo=class{constructor(n,t){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=Ao(()=>this.statusReactive()),this.statusReactive=xo(void 0),this._pristine=Ao(()=>this.pristineReactive()),this.pristineReactive=xo(!0),this._touched=Ao(()=>this.touchedReactive()),this.touchedReactive=xo(!1),this._events=new Te,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(n),this._assignAsyncValidators(t)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get status(){return Et(this.statusReactive)}set status(n){Et(()=>this.statusReactive.set(n))}get valid(){return this.status===cs}get invalid(){return this.status===dl}get pending(){return this.status==Go}get disabled(){return this.status===ls}get enabled(){return this.status!==ls}get pristine(){return Et(this.pristineReactive)}set pristine(n){Et(()=>this.pristineReactive.set(n))}get dirty(){return!this.pristine}get touched(){return Et(this.touchedReactive)}set touched(n){Et(()=>this.touchedReactive.set(n))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(lb(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(lb(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(ub(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(ub(n,this._rawAsyncValidators))}hasValidator(n){return hl(this._rawValidators,n)}hasAsyncValidator(n){return hl(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){let t=this.touched===!1;this.touched=!0;let r=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsTouched(W(E({},n),{sourceControl:r})),t&&n.emitEvent!==!1&&this._events.next(new fs(!0,r))}markAllAsTouched(n={}){this.markAsTouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}
vendor: 4,994 bytes, line 69
69),this._forEachChild(t=>t.markAllAsTouched(n))}markAsUntouched(n={}){let t=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let r=n.sourceControl??this;this._forEachChild(o=>{o.markAsUntouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:r})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,r),t&&n.emitEvent!==!1&&this._events.next(new fs(!1,r))}markAsDirty(n={}){let t=this.pristine===!0;this.pristine=!1;let r=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsDirty(W(E({},n),{sourceControl:r})),t&&n.emitEvent!==!1&&this._events.next(new ds(!1,r))}markAsPristine(n={}){let t=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let r=n.sourceControl??this;this._forEachChild(o=>{o.markAsPristine({onlySelf:!0,emitEvent:n.emitEvent})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n,r),t&&n.emitEvent!==!1&&this._events.next(new ds(!0,r))}markAsPending(n={}){this.status=Go;let t=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new qo(this.status,t)),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.markAsPending(W(E({},n),{sourceControl:t}))}disable(n={}){let t=this._parentMarkedDirty(n.onlySelf);this.status=ls,this.errors=null,this._forEachChild(o=>{o.disable(W(E({},n),{onlySelf:!0}))}),this._updateValue();let r=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new ml(this.value,r)),this._events.next(new qo(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(W(E({},n),{skipPristineCheck:t}),this),this._onDisabledChange.forEach(o=>o(!0))}enable(n={}){let t=this._parentMarkedDirty(n.onlySelf);this.status=cs,this._forEachChild(r=>{r.enable(W(E({},n),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors(W(E({},n),{skipPristineCheck:t}),this),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(n,t){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine({},t),this._parent._updateTouched({},t))}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let r=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===cs||this.status===Go)&&this._runAsyncValidator(r,n.emitEvent)}let t=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new ml(this.value,t)),this._events.next(new qo(this.status,t)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(W(E({},n),{sourceControl:t}))}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?ls:cs}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n,t){if(this.asyncValidator){this.status=Go,this._hasOwnPendingAsyncValidator={emitEvent:t!==!1};let r=Sb(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(o=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(o,{emitEvent:t,shouldHaveEmitted:n})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let n=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,n}return!1}setErrors(n,t={}){this.errors=n,this._updateControlsErrors(t.emitEvent!==!1,this,t.shouldHaveEmitted)}get(n){let t=n;return t==null||(Array.isArray(t)||(t=t.split(".")),t.length===0)?null:t.reduce((r,o)=>r&&r._find(o),this)}getError(n,t){let r=t?this.get(t):this;return r&&r.errors?r.errors[n]:null}hasError(n,t){return!!this.getError(n,t)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n,t,r){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),(n||r)&&this._events.next(new qo(this.status,t)),this._parent&&this._parent._updateControlsErrors(n,t,r)}_initObservables(){this.valueChanges=new de,this.statusChanges=new de}_calculateStatus(){return this._allControlsDisabled()?ls:this.errors?dl:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Go)?Go:this._anyControlsHaveStatus(dl)?dl:cs}_anyControlsHaveStatus(n){return this._anyControls(t=>t.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n,t){let r=!this._anyControlsDirty(),o=this.pristine!==r;this.pristine=r,this._parent&&!n.onlySelf&&this._parent._updatePristine(n,t),o&&this._events.next(new ds(this.pristine,t))}_updateTouched(n={},t){this.touched=this._anyControlsTouched(),this._events.next(new fs(this.touched,t)),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,t)}_registerOnCollectionChange(n){this._onCollectionChange=n}
vendor: 6,650 bytes, line 69
69_setUpdateStrategy(n){bl(n)&&n.updateOn!=null&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){let t=this._parent&&this._parent.dirty;return!n&&!!t&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=DP(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=bP(this._rawAsyncValidators)}},Zo=class extends Wo{constructor(n,t,r){super(Yh(t),Qh(r,t)),this.controls=n,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(n,t){return this.controls[n]?this.controls[n]:(this.controls[n]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(n,t,r={}){this.registerControl(n,t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(n,t={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}setControl(n,t,r={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],t&&this.registerControl(n,t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,t={}){kb(this,!0,n),Object.keys(n).forEach(r=>{Fb(this,!0,r),this.controls[r].setValue(n[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(n,t={}){n!=null&&(Object.keys(n).forEach(r=>{let o=this.controls[r];o&&o.patchValue(n[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(n={},t={}){this._forEachChild((r,o)=>{r.reset(n?n[o]:null,{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t,this),this._updateTouched(t,this),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(n,t,r)=>(n[r]=t.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(t,r)=>r._syncPendingControls()?!0:t);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(t=>{let r=this.controls[t];r&&n(r,t)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(let[t,r]of Object.entries(this.controls))if(this.contains(t)&&n(r))return!0;return!1}_reduceValue(){let n={};return this._reduceChildren(n,(t,r,o)=>((r.enabled||this.disabled)&&(t[o]=r.value),t))}_reduceChildren(n,t){let r=n;return this._forEachChild((o,i)=>{r=t(r,o,i)}),r}_allControlsDisabled(){for(let n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}};var Gh=class extends Zo{};var gs=new x("CallSetDisabledState",{providedIn:"root",factory:()=>Cl}),Cl="always";function Lb(e,n){return[...n.path,e]}function vl(e,n,t=Cl){Kh(e,n),n.valueAccessor.writeValue(e.value),(e.disabled||t==="always")&&n.valueAccessor.setDisabledState?.(e.disabled),EP(e,n),_P(e,n),IP(e,n),CP(e,n)}function db(e,n,t=!0){let r=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(r),n.valueAccessor.registerOnTouched(r)),wl(e,n),e&&(n._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function yl(e,n){e.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(n)})}function CP(e,n){if(n.valueAccessor.setDisabledState){let t=r=>{n.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(t),n._registerOnDestroy(()=>{e._unregisterOnDisabledChange(t)})}}function Kh(e,n){let t=Ob(e);n.validator!==null?e.setValidators(cb(t,n.validator)):typeof t=="function"&&e.setValidators([t]);let r=Pb(e);n.asyncValidator!==null?e.setAsyncValidators(cb(r,n.asyncValidator)):typeof r=="function"&&e.setAsyncValidators([r]);let o=()=>e.updateValueAndValidity();yl(n._rawValidators,o),yl(n._rawAsyncValidators,o)}function wl(e,n){let t=!1;if(e!==null){if(n.validator!==null){let o=Ob(e);if(Array.isArray(o)&&o.length>0){let i=o.filter(s=>s!==n.validator);i.length!==o.length&&(t=!0,e.setValidators(i))}}if(n.asyncValidator!==null){let o=Pb(e);if(Array.isArray(o)&&o.length>0){let i=o.filter(s=>s!==n.asyncValidator);i.length!==o.length&&(t=!0,e.setAsyncValidators(i))}}}let r=()=>{};return yl(n._rawValidators,r),yl(n._rawAsyncValidators,r),t}function EP(e,n){n.valueAccessor.registerOnChange(t=>{e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,e.updateOn==="change"&&Vb(e,n)})}function IP(e,n){n.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,e.updateOn==="blur"&&e._pendingChange&&Vb(e,n),e.updateOn!=="submit"&&e.markAsTouched()})}function Vb(e,n){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function _P(e,n){let t=(r,o)=>{n.valueAccessor.writeValue(r),o&&n.viewToModelUpdate(r)};e.registerOnChange(t),n._registerOnDestroy(()=>{e._unregisterOnChange(t)})}function jb(e,n){e==null,Kh(e,n)}function MP(e,n){return wl(e,n)}function Bb(e,n){if(!e.hasOwnProperty("model"))return!1;let t=e.model;return t.isFirstChange()?!0:!Object.is(n,t.currentValue)}function SP(e){return Object.getPrototypeOf(e.constructor)===ps}function $b(e,n){e._syncPendingControls(),n.forEach(t=>{let r=t.control;r.updateOn==="submit"&&r._pendingChange&&(t.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}function Ub(e,n){if(!n)return null;Array.isArray(n);let t,r,o;return n.forEach(i=>{i.constructor===yb?t=i:SP(i)?r=i:o=i}),o||r||t||null}function TP(e,n){let t=e.indexOf(n);t>-1&&e.splice(t,1)}var xP={provide:Nn,useExisting:Ae(()=>AP)},us=Promise.resolve(),AP=(()=>{class e extends Nn{get submitted(){return Et(this.submittedReactive)}constructor(t,r,o){super(),this.callSetDisabledState=o,this._submitted=Ao(()=>this.submittedReactive()),this.submittedReactive=xo(!1),this._directives=new Set,this.ngSubmit=new de,this.form=new Zo({},Wh(t),Zh(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){us.then(()=>{let r=this._findContainer(t.path);t.control=r.registerControl(t.name,t.control),vl(t.control,t,this.callSetDisabledState),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)})}getControl(t){return this.form.get(t.path)}
vendor: 5,739 bytes, line 69
69removeControl(t){us.then(()=>{let r=this._findContainer(t.path);r&&r.removeControl(t.name),this._directives.delete(t)})}addFormGroup(t){us.then(()=>{let r=this._findContainer(t.path),o=new Zo({});jb(o,t),r.registerControl(t.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){us.then(()=>{let r=this._findContainer(t.path);r&&r.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,r){us.then(()=>{this.form.get(t.path).setValue(r)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submittedReactive.set(!0),$b(this.form,this._directives),this.ngSubmit.emit(t),t?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}static{this.\u0275fac=function(r){return new(r||e)(T(sn,10),T(Dl,10),T(gs,8))}}static{this.\u0275dir=Y({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(r,o){r&1&&Pt("submit",function(s){return o.onSubmit(s)})("reset",function(){return o.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[$e([xP]),Ce]})}}return e})();function fb(e,n){let t=e.indexOf(n);t>-1&&e.splice(t,1)}function hb(e){return typeof e=="object"&&e!==null&&Object.keys(e).length===2&&"value"in e&&"disabled"in e}var hs=class extends Wo{constructor(n=null,t,r){super(Yh(t),Qh(r,t)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),bl(t)&&(t.nonNullable||t.initialValueIsDefault)&&(hb(n)?this.defaultValue=n.value:this.defaultValue=n)}setValue(n,t={}){this.value=this._pendingValue=n,this._onChange.length&&t.emitModelToViewChange!==!1&&this._onChange.forEach(r=>r(this.value,t.emitViewToModelChange!==!1)),this.updateValueAndValidity(t)}patchValue(n,t={}){this.setValue(n,t)}reset(n=this.defaultValue,t={}){this._applyFormState(n),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){fb(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){fb(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(n){hb(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}};var NP=e=>e instanceof hs;var RP={provide:Rr,useExisting:Ae(()=>OP)},pb=Promise.resolve(),OP=(()=>{class e extends Rr{constructor(t,r,o,i,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new hs,this._registered=!1,this.name="",this.update=new de,this._parent=t,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=Ub(this,i)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){let r=t.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),Bb(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){vl(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(t){pb.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){let r=t.isDisabled.currentValue,o=r!==0&&Yn(r);pb.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?Lb(t,this._parent):[t]}static{this.\u0275fac=function(r){return new(r||e)(T(Nn,9),T(sn,10),T(Dl,10),T(Or,10),T(rn,8),T(gs,8))}}static{this.\u0275dir=Y({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[$e([RP]),Ce,Dt]})}}return e})(),WU=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275dir=Y({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}}return e}
69)(),PP={provide:Or,useExisting:Ae(()=>FP),multi:!0},FP=(()=>{class e extends ps{writeValue(t){let r=t??"";this.setProperty("value",r)}registerOnChange(t){this.onChange=r=>{t(r==""?null:parseFloat(r))}}static{this.\u0275fac=(()=>{let t;return function(o){return(t||(t=Ye(e)))(o||e)}})()}static{this.\u0275dir=Y({type:e,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(r,o){r&1&&Pt("input",function(s){return o.onChange(s.target.value)})("blur",function(){return o.onTouched()})},features:[$e([PP]),Ce]})}}return e})();var Hb=new x("");var kP={provide:Nn,useExisting:Ae(()=>LP)},LP=(()=>{class e extends Nn{get submitted(){return Et(this._submittedReactive)}set submitted(t){this._submittedReactive.set(t)}constructor(t,r,o){super(),this.callSetDisabledState=o,this._submitted=Ao(()=>this._submittedReactive()),this._submittedReactive=xo(!1),this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new de,this._setValidators(t),this._setAsyncValidators(r)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(wl(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){let r=this.form.get(t.path);return vl(r,t,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),r}getControl(t){return this.form.get(t.path)}
vendor: 4,880 bytes, line 69
69removeControl(t){db(t.control||null,t,!1),TP(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,r){this.form.get(t.path).setValue(r)}onSubmit(t){return this._submittedReactive.set(!0),$b(this.form,this.directives),this.ngSubmit.emit(t),this.form._events.next(new Hh(this.control)),t?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this._submittedReactive.set(!1),this.form._events.next(new zh(this.form))}_updateDomValue(){this.directives.forEach(t=>{let r=t.control,o=this.form.get(t.path);r!==o&&(db(r||null,t),NP(o)&&(vl(o,t,this.callSetDisabledState),t.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){let r=this.form.get(t.path);jb(r,t),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){let r=this.form.get(t.path);r&&MP(r,t)&&r.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Kh(this.form,this),this._oldForm&&wl(this._oldForm,this)}_checkFormPresent(){this.form}static{this.\u0275fac=function(r){return new(r||e)(T(sn,10),T(Dl,10),T(gs,8))}}static{this.\u0275dir=Y({type:e,selectors:[["","formGroup",""]],hostBindings:function(r,o){r&1&&Pt("submit",function(s){return o.onSubmit(s)})("reset",function(){return o.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[$e([kP]),Ce,Dt]})}}return e})();var VP={provide:Rr,useExisting:Ae(()=>jP)},jP=(()=>{class e extends Rr{set isDisabled(t){}static{this._ngModelWarningSentOnce=!1}constructor(t,r,o,i,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.name=null,this.update=new de,this._ngModelWarningSent=!1,this._parent=t,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=Ub(this,i)}ngOnChanges(t){this._added||this._setUpControl(),Bb(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return Lb(this.name==null?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{this.\u0275fac=function(r){return new(r||e)(T(Nn,13),T(sn,10),T(Dl,10),T(Or,10),T(Hb,8))}}static{this.\u0275dir=Y({type:e,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[$e([VP]),Ce,Dt]})}}return e})(),BP={provide:Or,useExisting:Ae(()=>Gb),multi:!0};function zb(e,n){return e==null?`${n}`:(n&&typeof n=="object"&&(n="Object"),`${e}: ${n}`.slice(0,50))}function $P(e){return e.split(":")[0]}var Gb=(()=>{class e extends ps{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){this.value=t;let r=this._getOptionId(t),o=zb(r,t);this.setProperty("value",o)}registerOnChange(t){this.onChange=r=>{this.value=this._getOptionValue(r),t(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(t){for(let r of this._optionMap.keys())if(this._compareWith(this._optionMap.get(r),t))return r;return null}_getOptionValue(t){let r=$P(t);return this._optionMap.has(r)?this._optionMap.get(r):t}static{this.\u0275fac=(()=>{let t;return function(o){return(t||(t=Ye(e)))(o||e)}})()}static{this.\u0275dir=Y({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(r,o){r&1&&Pt("change",function(s){return o.onChange(s.target.value)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},features:[$e([BP]),Ce]})}}return e})(),ZU=(()=>{class e{constructor(t,r,o){this._element=t,this._renderer=r,this._select=o,this._select&&(this.id=this._select._registerOption())}set ngValue(t){this._select!=null&&(this._select._optionMap.set(this.id,t),this._setElementValue(zb(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._setElementValue(t),this._select&&this._select.writeValue(this._select.value)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id
69),this._select.writeValue(this._select.value))}static{this.\u0275fac=function(r){return new(r||e)(T(Be),T(Ct),T(Gb,9))}}static{this.\u0275dir=Y({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}}return e})(),UP={provide:Or,useExisting:Ae(()=>qb),multi:!0};function gb(e,n){return e==null?`${n}`:(typeof n=="string"&&(n=`'${n}'`),n&&typeof n=="object"&&(n="Object"),`${e}: ${n}`.slice(0,50))}function HP(e){return e.split(":")[0]}var qb=(()=>{class e extends ps{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){this.value=t;let r;if(Array.isArray(t)){let o=t.map(i=>this._getOptionId(i));r=(i,s)=>{i._setSelected(o.indexOf(s.toString())>-1)}}else r=(o,i)=>{o._setSelected(!1)};this._optionMap.forEach(r)}registerOnChange(t){this.onChange=r=>{let o=[],i=r.selectedOptions;if(i!==void 0){let s=i;for(let a=0;a<s.length;a++){let l=s[a],d=this._getOptionValue(l.value);o.push(d)}}else{let s=r.options;for(let a=0;a<s.length;a++){let l=s[a];if(l.selected){let d=this._getOptionValue(l.value);o.push(d)}}}this.value=o,t(o)}}_registerOption(t){let r=(this._idCounter++).toString();return this._optionMap.set(r,t),r}_getOptionId(t){for(let r of this._optionMap.keys())if(this._compareWith(this._optionMap.get(r)._value,t))return r;return null}_getOptionValue(t){let r=HP(t);return this._optionMap.has(r)?this._optionMap.get(r)._value:t}static{this.\u0275fac=(()=>{let t;return function(o){return(t||(t=Ye(e)))(o||e)}})()}static{this.\u0275dir=Y({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(r,o){r&1&&Pt("change",function(s){return o.onChange(s.target)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},features:[$e([UP]),Ce]})}}return e})(),YU=(()=>{class e{constructor(t,r,o){this._element=t,this._renderer=r,this._select=o,this._select&&(this.id=this._select._registerOption(this))}set ngValue(t){this._select!=null&&(this._value=t,this._setElementValue(gb(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._select?(this._value=t,this._setElementValue(gb(this.id,t)),this._select.writeValue(this._select.value)):this._setElementValue(t)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}_setSelected(t){this._renderer.setProperty(this._element.nativeElement,"selected",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static{this.\u0275fac=function(r){return new(r||e)(T(Be),T(Ct),T(qb,9))}}static{this.\u0275dir=Y({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}}return e})();function Wb(e){return typeof e=="number"?e:parseInt(e,10)}function Zb(e){return typeof e=="number"?e:parseFloat(e)}var Yo=(()=>{class e{constructor(){this._validator=fl}ngOnChanges(t){if(this.inputName in t){let r=this.normalizeInput(t[this.inputName].currentValue);this._enabled=this.enabled(r),this._validator=this._enabled?this.createValidator(r):fl,this._onChange&&this._onChange()}}validate(t){return this._validator(t)}registerOnValidatorChange(t){this._onChange=t}enabled(t){return t!=null}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275dir=Y({type:e,features:[Dt]})}}return e})(),zP={provide:sn,useExisting:Ae(()=>GP),multi:!0},GP=(()=>{class e extends Yo{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=t=>Zb(t),this.createValidator=t=>bb(t)}static{this.\u0275fac=(()=>{let t;return function(o){return(t||(t=Ye(e)))(o||e)}})()}static{this.\u0275dir=Y({type:e,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(r,o){r&2&&nn("max",o._enabled?o.max:null)},inputs:{max:"max"},features:[$e([zP]),Ce]})}}return e})(),qP={provide:sn,useExisting:Ae(()=>WP),multi:!0},WP=(()=>{class e extends Yo{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=t=>Zb(t),this.createValidator=t=>Db(t)}static{this.\u0275fac=(()=>{let t;return function(o){return(t||(t=Ye(e)))(o||e)}})()}static{this.\u0275dir=Y({type:e,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(r,o){r&2&&nn("min",o._enabled?o.min:null)},inputs:{min:"min"},features:[$e([qP]),Ce]})}}return e})(),ZP={provide:sn,useExisting:Ae(()=>YP),multi:!0};var YP=(()=>{class e extends Yo{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=Yn,this.createValidator=t=>Cb}enabled(t){return t}static{this.\u0275fac=(()=>{let t;return function(o){return(t||(t=Ye(e)))(o||e)}})()}static{this.\u0275dir=Y({type:e,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(r,o){r&2&&nn("required",o._enabled?"":null)},inputs:{required:"required"},features:[$e([ZP]),Ce]})}}return e})();var QP={provide:sn,useExisting:Ae(()=>KP),multi:!0},KP=(()=>{class e extends Yo{constructor(){super(...arguments),this.inputName="minlength",this.normalizeInput=t=>Wb(t),this.createValidator=t=>Eb(t)}static{this.\u0275fac=(()=>{let t;return function(o){return(t||(t=Ye(e)))(o||e)}})()}static{this.\u0275dir=Y({type:e,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(r,o){r&2&&nn("minlength",o._enabled?o.minlength:null)},inputs:{minlength:"minlength"},features:[$e([QP]),Ce]})}}return e})(),JP={provide:sn,useExisting:Ae(()=>XP),multi:!0},XP=(()=>{class e extends Yo{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=t=>Wb(t),this.createValidator=t=>Ib(t)}static{this.\u0275fac=(()=>{let t;return function(o){return(t||(t=Ye(e)))(o||e)}})()}static{this.\u0275dir=Y({type:e,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(r,o){r&2&&nn("maxlength",o._enabled?o.maxlength:null)},inputs:{maxlength:"maxlength"},features:[$e([JP]),Ce]})}}return e})(),eF={provide:sn,useExisting:Ae(()=>tF),multi:!0},tF=(()=>{class e extends Yo{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=t=>t,this.createValidator=t=>_b(t)}static{this.\u0275fac=(()=>{let t;return function(o){return(t||(t=Ye(e)))(o||e)}})()}static{this.\u0275dir=Y({type:e,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(r,o){r&2&&nn("pattern",o._enabled?o.pattern:null)},inputs:{pattern:"pattern"},features:[$e([eF]),Ce]})}}return e})();var Yb=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275mod=Jt({type:e})}static{this.\u0275inj=Kt({})}}return e})(),qh=class extends Wo{constructor(n,t,r){super(Yh(t),Qh(r,t)),this.controls=n,this._initOb
69servables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(n){return this.controls[this._adjustIndex(n)]}push(n,t={}){this.controls.push(n),this._registerControl(n),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}insert(n,t,r={}){this.controls.splice(n,0,t),this._registerControl(t),this.updateValueAndValidity({emitEvent:r.emitEvent})}removeAt(n,t={}){let r=this._adjustIndex(n);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),this.updateValueAndValidity({emitEvent:t.emitEvent})}setControl(n,t,r={}){let o=this._adjustIndex(n);o<0&&(o=0),this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),this.controls.splice(o,1),t&&(this.controls.splice(o,0,t),this._registerControl(t)),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(n,t={}){kb(this,!1,n),n.forEach((r,o)=>{Fb(this,!1,o),this.at(o).setValue(r,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(n,t={}){n!=null&&(n.forEach((r,o)=>{this.at(o)&&this.at(o).patchValue(r,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(n=[],t={}){this._forEachChild((r,o)=>{r.reset(n[o],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t,this),this._updateTouched(t,this),this.updateValueAndValidity(t)}getRawValue(){return this.controls.map(n=>n.getRawValue())}clear(n={}){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:n.emitEvent}))}_adjustIndex(n){return n<0?n+this.length:n}_syncPendingControls(){let n=this.controls.reduce((t,r)=>r._syncPendingControls()?!0:t,!1);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){this.controls.forEach((t,r)=>{n(t,r)})}_updateValue(){this.value=this.controls.filter(n=>n.enabled||this.disabled).map(n=>n.value)}_anyControls(n){return this.controls.some(t=>t.enabled&&n(t))}_setUpControls(){this._forEachChild(n=>this._registerControl(n))}_allControlsDisabled(){for(let n of this.controls)if(n.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(n){n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)}_find(n){return this.at(n)??null}};function mb(e){return!!e&&(e.asyncValidators!==void 0||e.validators!==void 0||e.updateOn!==void 0)}var QU=(()=>{class e{constructor(){this.useNonNullable=!1}get nonNullable(){let t=new e;return t.useNonNullable=!0,t}group(t,r=null){let o=this._reduceControls(t),i={};return mb(r)?i=r:r!==null&&(i.validators=r.validator,i.asyncValidators=r.asyncValidator),new Zo(o,i)}record(t,r=null){let o=this._reduceControls(t);return new Gh(o,r)}control(t,r,o){let i={};return this.useNonNullable?(mb(r)?i=r:(i.validators=r,i.asyncValidators=o),new hs(t,W(E({},i),{nonNullable:!0}))):new hs(t,r,o)}array(t,r,o){let i=t.map(s=>this._createControl(s));return new qh(i,r,o)}_reduceControls(t){let r={};return Object.keys(t).forEach(o=>{r[o]=this._createControl(t[o])}),r}_createControl(t){if(t instanceof hs)return t;if(t instanceof Wo)return t;if(Array.isArray(t)){let r=t[0],o=t.length>1?t[1]:null,i=t.length>2?t[2]:null;return this.control(r,o,i)}else return this.control(t)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var KU=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:gs,useValue:t.callSetDisabledState??Cl}]}}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275mod=Jt({type:e})}static{this.\u0275inj=Kt({imports:[Yb]})}}return e})(),JU=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:Hb,useValue:t.warnOnNgModelWithFormControl??"always"},{provide:gs,useValue:t.callSetDisabledState??Cl}]}}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275mod=Jt({type:e})}static{this.\u0275inj=Kt({imports:[Yb]})}}return e})();var Kb={apiUrl:"https://portal.unifacef.com.br/api/v1/",url:"https://portal.unifacef.com.br/sga/#/",autenticadorDocs:"https://portal.unifacef.com.br/sga/#/validar-documento/",autenticadorDiploma:"https://portal.unifacef.com.br/sga/#/validar-diploma/"};var ms=AI(Qb());var nH=(()=>{class e{interval;toast=ms.default.mixin({toast:!0,showConfirmButton:!1,timer:5e3});constructor(){}exibirAlerta(t,r,o,i,s){window.sessionStorage.removeItem("load"),i?ms.default.fire({icon:t,title:o,html:r}):this.toast.fire({icon:t,title:o,html:r,position:s||"top"})}obterMensagemErro(t){return t?t.error?t.error.payload?t.error.payload:t.error.message?t.error.message:t.error.error?t.error.error:t.error:t.message?t.message:t:"Falha n\xE3o identificada na rotina."}alertaComDelay(t,r){window.sessionStorage.removeItem("load"),this.interval=setTimeout(()=>{clearInterval(this.interval),this.alertaSucesso(r)},t*1e3)}alertaErro(t,r,o,i,s){t=t||"",r&&(t+=`${t!=""?"<br/>":""}${this.obterMensagemErro(r)}`,t=t.replace("Internal Server Error","N\xE3o foi poss\xEDvel completar requisi\xE7\xE3o")),this.exibirAlerta("error",t,o||"",i??t.length>100,s)}alertaInfo(t,r,o,i){this.exibirAlerta("info",t,r||"Aten\xE7\xE3o",o,i)}alertaQuestion(t,r,o,i){this.exibirAlerta("question",t,r,o,i)}alertaSucesso(t,r,o,i){this.exibirAlerta("success",t,r||"Sucesso!",o,i)}alertaAviso(t,r,o,i){this.exibirAlerta("warning",t,r||"",o,i)}dialogConfirmacao(t,r,o,i,s,a){return window.sessionStorage.removeItem("load"),new Promise((d,p)=>{ms.default.fire({title:t,icon:r,showDenyButton:!0,focusConfirm:!1,html:o||"",showCancelButton:!1,confirmButtonText:i||"Salvar",denyButtonText:s||"Cancelar",width:a||500,confirmButtonColor:"#28a745"}).then(h=>{h.isConfirmed?d():h.isDenied&&p()})})}dialogLoad(t,r){window.sessionStorage.removeItem("load"),ms.default.mixin({title:t??"Processando requisi\xE7\xE3o...",text:r??"Por favor aguarde...",showConfirmButton:!1,showCloseButton:!1,allowOutsideClick:!1,allowEscapeKey:!1}).fire()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Jb=class{basePath;router;baseApiUrl=Kb.apiUrl;apiUrl;httpClient;injector;constructor(n,t,r){this.basePath=n,this.router=r,this.injector=t,this.apiUrl=this.baseApiUrl+this.basePath+"/",this.httpClient=this.injector.get(Kf)}httpOptions(){let n={withCredentials:!0},t={"Content-Type":"application/json"};return n.headers=new kt(t),n}salvar(n){return this.httpClient.post(this.apiUrl,n,this.httpOptions())}salvarSubUrl(n,t){return this.httpClient.post(this.apiUrl+n,t,this.httpOptions())}deletar(n){return this.httpClient.delete(`${this.apiUrl}${n}`,this.httpOptions())}deletarSubUrl(n,t){return this.httpClient.delete(`${this.apiUrl}${n}/${t}`,this.httpOptions())}filtrar(n){let t=this.convertParamsToQueryString(n);return this.httpClient.get(`${this.apiUrl}filtrar${t}`,this.httpOptions())}filtrarUm(n){let t=this.convertParamsToQueryString(n);return this.httpClient.get(`${this.apiUrl}filtrarUm${t}`,this.httpOptions())}filtrarSubUrl(n,t){let r=this.convertParamsToQueryString(t);return this.httpClient.get(`${this.apiUrl}${n}/filtrar${r}`,this.httpOptions())}permissao(){return this.httpClient.get(`${this.baseApiUrl}permissao-acesso/por-pagina?url=${this.basePath}`,this.httpOptions())}convertParamsToQueryString(n){let t="";if(n)for(let r in n)t===""?t+="?":t+="&",t+=r+"="+encodeURIComponent(n[r]);return t}retornarRota(){return this.injector.get(Mt).url}permissaoPorUrl(n=this.basePath){return this.httpClient.get(`${this.baseApiUrl}usuario/cargos/permissao?url=${n}`,this.httpOptions())}};export{ue as a,q as b,Te as c,Re as d,HI as e,O as f,eo as g,KI as h,L as i,nu as j,li as k,f0 as l,h0 as m,Xe as n,p0 as o,ln as p,dn as q,kn as r,zt as s,su as t,et as u,au as v,xe as w,M as x,Ae as y,S as z,Kt as A,x as B,N as C,b as D,qm as E,Jt as F,Y as G,Xa as H,qe as I,Dt as J,aB as K,cB as L,lB as M,Ye as N,vt as O,de as P,fe as Q,uB as R,dB as S,Be as T,Xt as U,fB as V,hB as W,jM as X,pB as Y,gB as Z,mB as _,T as $,by as aa,Er as ba,bo as ca,Ct as da,Cn as ea,en as fa,xo as ga,Ce as ha,yf as ia,UT as ja,Df as ka,nn as la,fx as ma,nw as na,Ec as oa,DB as pa,bB as qa,CB as ra,EB as sa,IB as ta,_B as ua,MB as va,uw as wa,dw as xa,Ef as ya,fw as za,hw as Aa,Tx as Ba,SB as Ca,Pt as Da,TB as Ea,xB as Fa,AB as Ga,jx as Ha,mw as Ia,Bx as Ja,vw as Ka,NB as La,yw as Ma,ww as Na,RB as Oa,OB as Pa,Hx as Qa,Dw as Ra,zx as Sa,Gx as Ta,qx as Ua,Wx as Va,Zx as Wa,Yx as Xa,Qx as Ya,Kx as Za,PB as _a,Jx as $a,$e as ab,Cw as bb,FB as cb,kB as db,LB as eb,VB as fb,jB as gb,BB as hb,$B as ib,UB as jb,HB as kb,zB as lb,GB as mb,qB as nb,WB as ob,ZB as pb,YB as qb,Zn as rb,QB as sb,Ri as tb,rn as ub,Yn as vb,_A as wb,Ao as xb,TA as yb,KB as zb,Pe as Ab,Tn as Bb,Hw as Cb,zA as Db,m$ as Eb,v$ as Fb,y$ as Gb,w$ as Hb,D$ as Ib,b$ as Jb,C$ as Kb,E$ as Lb,I$ as Mb,vN as Nb,wN as Ob,jc as Pb,kt as Qb,Jn as Rb,Qn as Sb,Kf as Tb,V$ as Ub,j$ as Vb,sD as Wb,iU as Xb,lR as Yb,er as Zb,$R as _b,Mt as $b,CD as ac,EU as bc,IU as cc,_U as dc,Or as ec,dP as fc,pP as gc,yb as hc,ab as ic,Rr as jc,zU as kc,GU as lc,AP as mc,hs as nc,OP as oc,WU as pc,FP as qc,LP as rc,jP as sc,Gb as tc,ZU as uc,YU as vc,GP as wc,WP as xc,YP as yc,KP as zc,XP as Ac,tF as Bc,QU as Cc,KU as Dc,JU as Ec,Qb as Fc,Kb as Gc,Jb as Hc,nH as Ic};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.