1import{$ as W,C as Nn,D as Ge,Da as oi,Ea as ni,Ga as si,Ha as ri,Ia as ai,Ib as ts,J as zn,Jb as ci,Jd as eo,K as we,L as Ae,M as Ze,Mb as is,Na as Un,Oa as Ie,Oc as di,P as Re,Pc as hi,Qa as qn,Qc as re,R as qi,S as se,Sc as _e,T as G,U as N,Uc as os,Vc as ns,W as Q,X as jn,Xc as Zi,Y as ti,Ya as gt,Zc as Ki,_ as Z,aa as Pe,bd as ss,c as Fn,cd as rs,d as A,e as q,ea as ii,ed as as,f as M,fa as Ke,fd as Te,g as ft,gd as Qe,h as p,hb as Gn,j as ei,jb as Zn,kb as Kn,md as ve,nd as wt,o as P,od as Je,p as V,pa as Hn,pb as li,pd as R,q as Ln,qa as $n,qb as Qn,r as pt,rb as te,rd as et,sa as Wn,sd as ui,t as qe,ta as Yn,td as tt,u as Vn,ua as Xn,ub as Jn,ud as Qi,v as Ui,wb as es,x as mt,y as ge,z as j,za as Gi,zd as Ji}from"./chunk-NCO5QYD2.js";import{D as Zt,E as En,I as Dn,K as de,L as Kt,M as On,Q as me,R as An,S as Rn,W as Pn,Y as In,Z as Tn,a as J,aa as Oe,ba as Mn,c as Xi,ca as Qt,da as Bn,e as Cn,ea as Jt,f as C,i as Sn,l as kn,r as ee,s as xn,t as Gt,y as Ue}from"./chunk-3K5Y2AQP.js";import{a as O,b as qt,d as kl,f as xl}from"./chunk-DAQOROHW.js";var Ys=kl((le,wo)=>{"use strict";(function(a,n){typeof le=="object"&&typeof wo<"u"?wo.exports=n():typeof define=="function"&&define.amd?define(n):(a=typeof globalThis<"u"?globalThis:a||self,a.Sweetalert2=n())})(le,function(){"use strict";function a(t,i,s){if(typeof t=="function"?t===i:t.has(i))return arguments.length<3?i:s;throw new TypeError("Private element is not present on this object")}function n(t,i){if(i.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function e(t,i){return t.get(a(t,i))}function o(t,i,s){n(t,i),i.set(t,s)}function r(t,i,s){return t.set(a(t,i),s),s}let l=100,d={},f=()=>{d.previousActiveElement instanceof HTMLElement?(d.previousActiveElement.focus(),d.previousActiveElement=null):document.body&&document.body.focus()},m=t=>new Promise(i=>{if(!t)return i();let s=window.scrollX,c=window.scrollY;d.restoreFocusTimeout=setTimeout(()=>{f(),i()},l),window.scrollTo(s,c)}),w="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","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","draggable","dragging"].reduce((t,i)=>(t[i]=w+i,t),{}),B=["success","warning","info","question","error"].reduce((t,i)=>(t[i]=w+i,t),{}),F="SweetAlert2:",H=t=>t.charAt(0).toUpperCase()+t.slice(1),I=t=>{console.warn(`${F} ${typeof t=="object"?t.join(" "):t}`)},Se=t=>{console.error(`${F} ${t}`)},yo=[],Xs=t=>{yo.includes(t)||(yo.push(t),I(t))},bo=(t,i=null)=>{Xs(`"${t}" is deprecated and will be removed in the next major release.${i?` Use "${i}" instead.`:""}`)},Tt=t=>typeof t=="function"?t():t,xi=t=>t&&typeof t.toPromise=="function",at=t=>xi(t)?t.toPromise():Promise.resolve(t),Ei=t=>t&&Promise.resolve(t)===t,z=()=>document.body.querySelector(`.${h.container}`),lt=t=>{let i=z();return i?i.querySelector(t):null},Y=t=>lt(`.${t}`),y=()=>Y(h.popup),Ve=()=>Y(h.icon),Us=()=>Y(h["icon-content"]),Co=()=>Y(h.title),Di=()=>Y(h["html-container"]),So=()=>Y(h.image),Oi=()=>Y(h["progress-steps"]),Mt=()=>Y(h["validation-message"]),oe=()=>lt(`.${h.actions} .${h.confirm}`),Ne=()=>lt(`.${h.actions} .${h.cancel}`),ke=()=>lt(`.${h.actions} .${h.deny}`),qs=()=>Y(h["input-label"]),ze=()=>lt(`.${h.loader}`),ct=()=>Y(h.actions),ko=()=>Y(h.footer),Bt=()=>Y(h["timer-progress-bar"]),Ai=()=>Y(h.close),Gs=` 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`,Ri=()=>{let t=y();if(!t)return[];
16let i=t.querySelectorAll('[tabindex]:not([tabindex="-1"]):not([tabindex="0"])'),s=Array.from(i).sort((g,v)=>{let S=parseInt(g.getAttribute("tabindex")||"0"),x=parseInt(v.getAttribute("tabindex")||"0");return S>x?1:S<x?-1:0}),c=t.querySelectorAll(Gs),u=Array.from(c).filter(g=>g.getAttribute("tabindex")!=="-1");return[...new Set(s.concat(u))].filter(g=>$(g))},Pi=()=>ce(document.body,h.shown)&&!ce(document.body,h["toast-shown"])&&!ce(document.body,h["no-backdrop"]),Ft=()=>{let t=y();return t?ce(t,h.toast):!1},Zs=()=>{let t=y();return t?t.hasAttribute("data-loading"):!1},X=(t,i)=>{if(t.textContent="",i){let c=new DOMParser().parseFromString(i,"text/html"),u=c.querySelector("head");u&&Array.from(u.childNodes).forEach(v=>{t.appendChild(v)});let g=c.querySelector("body");g&&Array.from(g.childNodes).forEach(v=>{v instanceof HTMLVideoElement||v instanceof HTMLAudioElement?t.appendChild(v.cloneNode(!0)):t.appendChild(v)})}},ce=(t,i)=>{if(!i)return!1;let s=i.split(/\s+/);for(let c=0;c<s.length;c++)if(!t.classList.contains(s[c]))return!1;return!0},Ks=(t,i)=>{Array.from(t.classList).forEach(s=>{!Object.values(h).includes(s)&&!Object.values(B).includes(s)&&!Object.values(i.showClass||{}).includes(s)&&t.classList.remove(s)})},U=(t,i,s)=>{if(Ks(t,i),!i.customClass)return;let c=i.customClass[s];if(c){if(typeof c!="string"&&!c.forEach){I(`Invalid type of customClass.${s}! Expected string or iterable object, got "${typeof c}"`);return}b(t,c)}},Lt=(t,i)=>{if(!i)return null;switch(i){case"select":case"textarea":case"file":return t.querySelector(`.${h.popup} > .${h[i]}`);case"checkbox":return t.querySelector(`.${h.popup} > .${h.checkbox} input`);case"radio":return t.querySelector(`.${h.popup} > .${h.radio} input:checked`)||t.querySelector(`.${h.popup} > .${h.radio} input:first-child`);case"range":return t.querySelector(`.${h.popup} > .${h.range} input`);default:return t.querySelector(`.${h.popup} > .${h.input}`)}},xo=t=>{if(t.focus(),t.type!=="file"){let i=t.value;t.value="",t.value=i}},Eo=(t,i,s)=>{!t||!i||(typeof i=="string"&&(i=i.split(/\s+/).filter(Boolean)),i.forEac
16h(c=>{Array.isArray(t)?t.forEach(u=>{s?u.classList.add(c):u.classList.remove(c)}):s?t.classList.add(c):t.classList.remove(c)}))},b=(t,i)=>{Eo(t,i,!0)},K=(t,i)=>{Eo(t,i,!1)},fe=(t,i)=>{let s=Array.from(t.children);for(let c=0;c<s.length;c++){let u=s[c];if(u instanceof HTMLElement&&ce(u,i))return u}},xe=(t,i,s)=>{s===`${parseInt(s)}`&&(s=parseInt(s)),s||parseInt(s)===0?t.style.setProperty(i,typeof s=="number"?`${s}px`:s):t.style.removeProperty(i)},T=(t,i="flex")=>{t&&(t.style.display=i)},L=t=>{t&&(t.style.display="none")},Ii=(t,i="block")=>{t&&new MutationObserver(()=>{dt(t,t.innerHTML,i)}).observe(t,{childList:!0,subtree:!0})},Do=(t,i,s,c)=>{let u=t.querySelector(i);u&&u.style.setProperty(s,c)},dt=(t,i,s="flex")=>{i?T(t,s):L(t)},$=t=>!!(t&&(t.offsetWidth||t.offsetHeight||t.getClientRects().length)),Qs=()=>!$(oe())&&!$(ke())&&!$(Ne()),Ti=t=>t.scrollHeight>t.clientHeight,Js=(t,i)=>{let s=t;for(;s&&s!==i;){if(Ti(s))return!0;s=s.parentElement}return!1},Oo=t=>{let i=window.getComputedStyle(t),s=parseFloat(i.getPropertyValue("animation-duration")||"0"),c=parseFloat(i.getPropertyValue("transition-duration")||"0");return s>0||c>0},Mi=(t,i=!1)=>{let s=Bt();s&&$(s)&&(i&&(s.style.transition="none",s.style.width="100%"),setTimeout(()=>{s.style.transition=`width ${t/1e3}s linear`,s.style.width="0%"},10))},er=()=>{let t=Bt();if(!t)return;let i=parseInt(window.getComputedStyle(t).width);t.style.removeProperty("transition"),t.style.width="100%";let s=parseInt(window.getComputedStyle(t).width),c=i/s*100;t.style.width=`${c}%`},tr=()=>typeof window>"u"||typeof document>"u",ir=` 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,""),or=()=>{let t=z();return t?(t.remove(),K([document.documentElement,document.body],[h["no-backdrop"],h["toast-shown"],h["has-column"]]),!0):!1},Ee=()=>{d.currentInstance.resetValidationMessage()},nr=()=>{let t=y(),i=fe(t,h.input),s=fe(t,h.file),c=t.querySelector(`.${h.range} input`),u=t.querySelector(`.${h.range} output`),g=fe(t,h.select),v=t.querySelector(`.${h.checkbox} input`),S=fe(t,h.textarea);i.oninput=Ee,s.onchange=Ee,g.onchange=Ee,v.onchange=Ee,S.oninput=Ee,c.oninput=()=>{Ee(),u.value=c.value},c.onchange=()=>{Ee(),u.value=c.value}},sr=t=>typeof t=="string"?document.querySelector(t):t,rr=t=>{let i=y();i.setAttribute("role",t.toast?"alert":"dialog"),i.setAttribute("aria-live",t.toast?"polite":"assertive"),t.toast||i.setAttribute("aria-modal","true")},ar=t=>{window.getComputedStyle(t).direction==="rtl"&&b(z(),h.rtl)},lr=t=>{let i=or();if(tr()){Se("SweetAlert2 requires document to initialize");return}let s=document.createElement("div");s.className=h.container,i&&b(s,h["no-transition"]),X(s,ir),s.dataset.swal2Theme=t.theme;let c=sr(t.target);c.appendChild(s),t.topLayer&&(s.setAttribute("popover",""),s.showPopover()),rr(t),ar(c),nr()},Bi=(t,i)=>{t instanceof HTMLElement?i.appendChild(t):typeof t=="object"?cr(t,i):t&&X(i,t)},cr=(t,i)=>{t.jquery?dr(i,t):X(i,t.toString())},dr=(t,i)=>{if(t.textContent="",0 in i)for(let s=0;s in i;s++)t.appendChild(i[s].cloneNode(!0));else t.appendChild(i.cloneNode(!0))},hr=(t,i)=>{let s=ct(),c=ze();!s||!c||(!i.showConfirmButton&&!i.showDenyButton&&!i.showCancelButton?L(s):T(s),U(s,i,"actions"),ur(s,c,i),X(c,i.loaderHtml||""),U(c,i,"loader"))};function ur(t,i,s){let c=oe(),u=ke(),g=Ne();!c||!u||!g||(Li(c,"confirm",s),Li(u,"deny",s),Li(g,"cancel",s),fr(c,u,g,s),s.reverseButtons&&(s.toast?(t.insertBefore(g,c),t.insertBefore(u,c)):(t.insertBefore(g,i),t.insertBefore(u,i),t.insertBefore(c,i))))}function fr(t,i,s,c){if(!c.buttonsStyling){K([t,i,s],h.styled);return}b([t,i,s],h.styled),c.confirmButtonColor&&t.style.setProperty("--swal2-confirm-button-background-color",c.confirmButtonColor),c.denyButtonColor&&i.style.setProperty("--swal2-deny-button-background-color",c.denyButtonColor),c.cancelButtonColor&&s.style.setProperty("--swal2-cancel-button-background-color",c.cancelButtonColor),Fi(t),Fi(i),Fi(s)}function Fi(t){let i=window.getComputedStyle(t);
49if(i.getPropertyValue("--swal2-action-button-focus-box-shadow"))return;let s=i.backgroundColor.replace(/rgba?\((\d+), (\d+), (\d+).*/,"rgba($1, $2, $3, 0.5)");t.style.setProperty("--swal2-action-button-focus-box-shadow",i.getPropertyValue("--swal2-outline").replace(/ rgba\(.*/,` ${s}`))}function Li(t,i,s){let c=H(i);dt(t,s[`show${c}Button`],"inline-block"),X(t,s[`${i}ButtonText`]||""),t.setAttribute("aria-label",s[`${i}ButtonAriaLabel`]||""),t.className=h[i],U(t,s,`${i}Button`)}let pr=(t,i)=>{let s=Ai();s&&(X(s,i.closeButtonHtml||""),U(s,i,"closeButton"),dt(s,i.showCloseButton),s.setAttribute("aria-label",i.closeButtonAriaLabel||""))},mr=(t,i)=>{let s=z();s&&(gr(s,i.backdrop),wr(s,i.position),_r(s,i.grow),U(s,i,"container"))};function gr(t,i){typeof i=="string"?t.style.background=i:i||b([document.documentElement,document.body],h["no-backdrop"])}function wr(t,i){i&&(i in h?b(t,h[i]):(I('The "position" parameter is not valid, defaulting to "center"'),b(t,h.center)))}function _r(t,i){i&&b(t,h[`grow-${i}`])}var k={innerParams:new WeakMap,domCache:new WeakMap};let vr=["input","file","range","select","radio","checkbox","textarea"],yr=(t,i)=>{let s=y();if(!s)return;let c=k.innerParams.get(t),u=!c||i.input!==c.input;vr.forEach(g=>{let v=fe(s,h[g]);v&&(Sr(g,i.inputAttributes),v.className=h[g],u&&L(v))}),i.input&&(u&&br(i),kr(i))},br=t=>{if(!t.input)return;if(!E[t.input]){Se(`Unexpected type of input! Expected ${Object.keys(E).join(" | ")}, got "${t.input}"`);return}let i=Ao(t.input);if(!i)return;let s=E[t.input](i,t);T(i),t.inputAutoFocus&&setTimeout(()=>{xo(s)})},Cr=t=>{for(let i=0;i<t.attributes.length;i++){let s=t.attributes[i].name;["id","type","value","style"].includes(s)||t.removeAttribute(s)}},Sr=(t,i)=>{let s=y();if(!s)return;let c=Lt(s,t);if(c){Cr(c);for(let u in i)c.setAttribute(u,i[u])}},kr=t=>{if(!t.input)return;let i=Ao(t.input);i&&U(i,t,"input")},Vi=(t,i)=>{!t.placeholder&&i.inputPlaceholder&&(t.placeholder=i.inputPlaceholder)},ht=(t,i,s)=>{if(s.inputLabel){let c=document.createElement("label"),u=h["input-label"];c.setAttribute("for",t.id),c.className=u,typeof s.customClass=="object"&&b(c,s.customClass.inputLabel),c.innerText=s.inputLabel,i.insertAdjacentElement("beforebegin",c)}},Ao=t=>{let i=y();if(i)return fe(i,h[t]||h.input)},Vt=(t,i)=>{["string","number"].includes(typeof i)?t.value=`${i}`:Ei(i)||I(`Unexpected type of inputValue! Expected "string", "number" or "Promise", got "${typeof i}"`)},E={};E.text=E.email=E.password=E.number=E.tel=E.url=E.search=E.date=E["datetime-local"]=E.time=E.week=E.month=(t,i)=>(Vt(t,i.inputValue),ht(t,t,i),Vi(t,i),t.type=i.input,t),E.file=(t,i)=>(ht(t,t,i),Vi(t,i),t),E.range=(t,i)=>{let s=t.querySelector("input"),c=t.querySelector("output");return Vt(s,i.inputValue),s.type=i.input,Vt(c,i.inputValue),ht(s,t,i),t},E.select=(t,i)=>{if(t.textContent="",i.inputPlaceholder){let s=document.createElement("option");X(s,i.inputPlaceholder),s.value="",s.disabled=!0,s.selected=!0,t.appendChild(s)}return ht(t,t,i),t},E.radio=t=>(t.textContent="",t),E.checkbox=(t,i)=>{let s=Lt(y(),"checkbox");s.value="1",s.checked=!!i.inputValue;let c=t.querySelector("span");return X(c,i.inputPlaceholder||i.inputLabel),s},E.textarea=(t,i)=>{Vt(t,i.inputValue),Vi(t,i),ht(t,t,i);let s=c=>parseInt(window.getComputedStyle(c).marginLeft)+parseInt(window.getComputedStyle(c).marginRight);return setTimeout(()=>{if("MutationObserver"in window){let c=parseInt(window.getComputedStyle(y()).width),u=()=>{if(!document.body.contains(t))return;let g=t.offsetWidth+s(t);g>c?y().style.width=`${g}px`:xe(y(),"width",i.width)};new MutationObserver(u).observe(t,{attributes:!0,attributeFilter:["style"]})}}),t};let xr=(t,i)=>{let s=Di();s&&(Ii(s),U(s,i,"htmlContainer"),i.html?(Bi(i.html,s),T(s,"block")):i.text?(s.textContent=i.text,T(s,"block")):L(s),yr(t,i))},Er=(t,i)=>{let s=ko();s&&(Ii(s),dt(s,i.footer,"block"),i.footer&&Bi(i.footer,s),U(s,i,"footer"))},Dr=(t,i)=>{let s=k.innerParams.get(t),c=Ve();if(!c)return;if(s&&i.icon===s.icon){Io(c,i),Ro(c,i);return}if(!i.icon&&!i.iconHtml){L(c);return}if(i.icon&&Object.keys(B).indexOf(i.icon)===-1){Se(`Unknown icon! Expected "success", "error", "warning", "info" or "question", got "${i.icon}"`),L(c);return}T(c),Io(c,i),Ro(c,i),b(c,i.showClass&&i.showClass.icon),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",Po)},Ro=(t,i)=>{for(let[s,c]of Object.entries(B))i.icon!==s&&K(t,c);
49b(t,i.icon&&B[i.icon]),Rr(t,i),Po(),U(t,i,"icon")},Po=()=>{let t=y();if(!t)return;let i=window.getComputedStyle(t).getPropertyValue("background-color"),s=t.querySelectorAll("[class^=swal2-success-circular-line], .swal2-success-fix");for(let c=0;c<s.length;c++)s[c].style.backgroundColor=i},Or=t=>` 50 ${t.animation?'<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> 53 ${t.animation?'<div class="swal2-success-fix"></div>':""} 54 ${t.animation?'<div class="swal2-success-circular-line-right"></div>':""} 55`,Ar=` 56 <span class="swal2-x-mark"> 57 <span class="swal2-x-mark-line-left"></span> 58 <span class="swal2-x-mark-line-right"></span> 59 </span> 60`,Io=(t,i)=>{if(!i.icon&&!i.iconHtml)return;let s=t.innerHTML,c="";i.iconHtml?c=To(i.iconHtml):i.icon==="success"?(c=Or(i),s=s.replace(/ style=".*?"/g,"")):i.icon==="error"?c=Ar:i.icon&&(c=To({question:"?",warning:"!",info:"i"}[i.icon])),s.trim()!==c.trim()&&X(t,c)},Rr=(t,i)=>{if(i.iconColor){t.style.color=i.iconColor,t.style.borderColor=i.iconColor;for(let s of[".swal2-success-line-tip",".swal2-success-line-long",".swal2-x-mark-line-left",".swal2-x-mark-line-right"])Do(t,s,"background-color",i.iconColor);Do(t,".swal2-success-ring","border-color",i.iconColor)}},To=t=>`<div class="${h["icon-content"]}">${t}</div>`,Pr=(t,i)=>{let s=So();if(s){if(!i.imageUrl){L(s);return}T(s,""),s.setAttribute("src",i.imageUrl),s.setAttribute("alt",i.imageAlt||""),xe(s,"width",i.imageWidth),xe(s,"height",i.imageHeight),s.className=h.image,U(s,i,"image")}},Ni=!1,Mo=0,Bo=0,Fo=0,Lo=0,Ir=t=>{t.addEventListener("mousedown",Nt),document.body.addEventListener("mousemove",zt),t.addEventListener("mouseup",jt),t.addEventListener("touchstart",Nt),document.body.addEventListener("touchmove",zt),t.addEventListener("touchend",jt)},Tr=t=>{t.removeEventListener("mousedown",Nt),document.body.removeEventListener("mousemove",zt),t.removeEventListener("mouseup",jt),t.removeEventListener("touchstart",Nt),document.body.removeEventListener("touchmove",zt),t.removeEventListener("touchend",jt)},Nt=t=>{let i=y();if(t.target===i||Ve().contains(t.target)){Ni=!0;let s=Vo(t);Mo=s.clientX,Bo=s.clientY,Fo=parseInt(i.style.insetInlineStart)||0,Lo=parseInt(i.style.insetBlockStart)||0,b(i,"swal2-dragging")}},zt=t=>{let i=y();if(Ni){let{clientX:s,clientY:c}=Vo(t);i.style.insetInlineStart=`${Fo+(s-Mo)}px`,i.style.insetBlockStart=`${Lo+(c-Bo)}px`}},jt=()=>{let t=y();Ni=!1,K(t,"swal2-dragging")},Vo=t=>{let i=0,s=0;return t.type.startsWith("mouse")?(i=t.clientX,s=t.clientY):t.type.startsWith("touch")&&(i=t.touches[0].clientX,s=t.touches[0].clientY),{clientX:i,clientY:s}},Mr=(t,i)=>{let s=z(),c=y();if(!(!s||!c)){if(i.toast){xe(s,"width",i.width),c.style.width="100%";let u=ze();u&&c.insertBefore(u,Ve())}else xe(c,"width",i.width);xe(c,"padding",i.padding),i.color&&(c.style.color=i.color),i.background&&(c.style.background=i.background),L(Mt()),Br(c,i),i.draggable&&!i.toast?(b(c,h.draggable),Ir(c)):(K(c,h.draggable),Tr(c))}},Br=(t,i)=>{let s=i.showClass||{};t.className=`${h.popup} ${$(t)?s.popup:""}`,i.toast?(b([document.documentElement,document.body],h["toast-shown"]),b(t,h.toast)):b(t,h.modal),U(t,i,"popup"),typeof i.customClass=="string"&&b(t,i.customClass),i.icon&&b(t,h[`icon-${i.icon}`])},Fr=(t,i)=>{let s=Oi();if(!s)return;let{progressSteps:c,currentProgressStep:u}=i;if(!c||c.length===0||u===void 0){L(s);return}T(s),s.textContent="",u>=c.length&&I("Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"),c.forEach((g,v)=>{let S=Lr(g);if(s.appendChild(S),v===u&&b(S,h["active-progress-step"]),v!==c.length-1){let x=Vr(i);s.appendChild(x)}})},Lr=t=>{let i=document.createElement("li");return b(i,h["progress-step"]),X(i,t),i},Vr=t=>{let i=document.createElement("li");return b(i,h["progress-step-line"]),t.progressStepsDistance&&xe(i,"width",t.progressStepsDistance),i},Nr=(t,i)=>{let s=Co();s&&(Ii(s),dt(s,i.title||i.titleText,"block"),i.title&&Bi(i.title,s),i.titleText&&(s.innerText=i.titleText),U(s,i,"title"))},No=(t,i)=>
60{Mr(t,i),mr(t,i),Fr(t,i),Dr(t,i),Pr(t,i),Nr(t,i),pr(t,i),xr(t,i),hr(t,i),Er(t,i);let s=y();typeof i.didRender=="function"&&s&&i.didRender(s),d.eventEmitter.emit("didRender",s)},zr=()=>$(y()),zo=()=>{var t;return(t=oe())===null||t===void 0?void 0:t.click()},jr=()=>{var t;return(t=ke())===null||t===void 0?void 0:t.click()},Hr=()=>{var t;return(t=Ne())===null||t===void 0?void 0:t.click()},je=Object.freeze({cancel:"cancel",backdrop:"backdrop",close:"close",esc:"esc",timer:"timer"}),jo=t=>{t.keydownTarget&&t.keydownHandlerAdded&&(t.keydownTarget.removeEventListener("keydown",t.keydownHandler,{capture:t.keydownListenerCapture}),t.keydownHandlerAdded=!1)},$r=(t,i,s)=>{jo(t),i.toast||(t.keydownHandler=c=>Yr(i,c,s),t.keydownTarget=i.keydownListenerCapture?window:y(),t.keydownListenerCapture=i.keydownListenerCapture,t.keydownTarget.addEventListener("keydown",t.keydownHandler,{capture:t.keydownListenerCapture}),t.keydownHandlerAdded=!0)},zi=(t,i)=>{var s;let c=Ri();if(c.length){t=t+i,t===-2&&(t=c.length-1),t===c.length?t=0:t===-1&&(t=c.length-1),c[t].focus();return}(s=y())===null||s===void 0||s.focus()},Ho=["ArrowRight","ArrowDown"],Wr=["ArrowLeft","ArrowUp"],Yr=(t,i,s)=>{t&&(i.isComposing||i.keyCode===229||(t.stopKeydownPropagation&&i.stopPropagation(),i.key==="Enter"?Xr(i,t):i.key==="Tab"?Ur(i):[...Ho,...Wr].includes(i.key)?qr(i.key):i.key==="Escape"&&Gr(i,t,s)))},Xr=(t,i)=>{if(!Tt(i.allowEnterKey))return;let s=Lt(y(),i.input);if(t.target&&s&&t.target instanceof HTMLElement&&t.target.outerHTML===s.outerHTML){if(["textarea","file"].includes(i.input))return;zo(),t.preventDefault()}},Ur=t=>{let i=t.target,s=Ri(),c=-1;for(let u=0;u<s.length;u++)if(i===s[u]){c=u;break}t.shiftKey?zi(c,-1):zi(c,1),t.stopPropagation(),t.preventDefault()},qr=t=>{let i=ct(),s=oe(),c=ke(),u=Ne();if(!i||!s||!c||!u)return;let g=[s,c,u];if(document.activeElement instanceof HTMLElement&&!g.includes(document.activeElement))return;let v=Ho.includes(t)?"nextElementSibling":"previousElementSibling",S=document.activeElement;if(S){for(let x=0;x<i.children.length;x++){if(S=S[v],!S)return;if(S instanceof HTMLButtonElement&&$(S))break}S instanceof HTMLButtonElement&&S.focus()}},Gr=(t,i,s)=>{t.preventDefault(),Tt(i.allowEscapeKey)&&s(je.esc)};var He={swalPromiseResolve:new WeakMap,swalPromiseReject:new WeakMap};let Zr=()=>{let t=z();Array.from(document.body.children).forEach(s=>{s.contains(t)||(s.hasAttribute("aria-hidden")&&s.setAttribute("data-previous-aria-hidden",s.getAttribute("aria-hidden")||""),s.setAttribute("aria-hidden","true"))})},$o=()=>{Array.from(document.body.children).forEach(i=>{i.hasAttribute("data-previous-aria-hidden")?(i.setAttribute("aria-hidden",i.getAttribute("data-previous-aria-hidden")||""),i.removeAttribute("data-previous-aria-hidden")):i.removeAttribute("aria-hidden")})},Wo=typeof window<"u"&&!!window.GestureEvent,Kr=()=>{if(Wo&&!ce(document.body,h.iosfix)){let t=document.body.scrollTop;document.body.style.top=`${t*-1}px`,b(document.body,h.iosfix),Qr()}},Qr=()=>{let t=z();if(!t)return;let i;t.ontouchstart=s=>{i=Jr(s)},t.ontouchmove=s=>{i&&(s.preventDefault(),s.stopPropagation())}},Jr=t=>{let i=t.target,s=z(),c=Di();return!s||!c||ea(t)||ta(t)?!1:i===s||!Ti(s)&&i instanceof HTMLElement&&!Js(i,c)&&i.tagName!=="INPUT"&&i.tagName!=="TEXTAREA"&&!(Ti(c)&&c.contains(i))},ea=t=>t.touches&&t.touches.length&&t.touches[0].touchType==="stylus",ta=t=>t.touches&&t.touches.length>1,ia=()=>{if(ce(document.body,h.iosfix)){let t=parseInt(document.body.style.top,10);K(document.body,h.iosfix),document.body.style.top="",document.body.scrollTop=t*-1}},oa=()=>{let t=document.createElement("div");t.className=h["scrollbar-measure"],document.body.appendChild(t);let i=t.getBoundingClientRect().width-t.clientWidth;return document.body.removeChild(t),i},$e=null,na=t=>{$e===null&&(document.body.scrollHeight>window.innerHeight||t==="scroll")&&($e=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")),document.body.style.paddingRight=`${$e+oa()}px`)},sa=()=>{$e!==null&&(document.body.style.paddingRight=`${$e}px`,$e=null)};function Yo(t,i,s,c){Ft()?Uo(t,c):(m(s).then(()=>Uo(t,c)),jo(d)),Wo?(i.setAttribute("style","display:none !important"),i.removeAttribute("class"),i.innerHTML=""):i.remove(),Pi()&&(sa(),ia(),$o()),ra()}function ra(){K([document.documentElement,document.body],[h.shown,h["height-auto"],h["no-backdrop"],h["toast-shown"]])}function pe(t){t=la(t);let i=He.swalPromiseResolve.get(this),s=aa(this);this.isAwaitingPromise?t.isDismissed||(ut(this),i(t)):s&&i(t)}let aa=t=>{let i=y();if(!i)return!1;let s=k.innerParams.get(t);if(!s||ce(i,s.hideClass.popup))return!1;K(i,s.showClass.popup),b(i,s.hideClass.popup);let c=z();return K(c,s.showClass.backdrop),b(c,s.hideClass.backdrop),ca(t,i,s),!0};function Xo(t){let i=He.swalPromiseReject.get(this);ut(this),i&&i(t)}let ut=t=>{t.isAwaitingPromise&&(delete t.isAwaitingPromise,k.innerParams.get(t)||t._destroy())},la=t=>typeof t>"u"?{isConfirmed:!1,isDenied:!1,isDismissed:!0}:Object.assign({isConfirmed:!1,isDenied:!1,isDismissed:!1},t),ca=(t,i,s)=>{var c;let u=z(),g=Oo(i);typeof s.willClose=="function"&&s.willClose(i),(c=d.eventEmitter)===null||c===void 0||c.emit("willClose",i),g?da(t,i,u,s.returnFocus,s.didClose):Yo(t,u,s.returnFocus,s.didClose)},da=(t,i,s,c,u)=>{d.swalCloseEventFinishedCallback=Yo.bind(null,t,s,c,u);let g=function(v){if(v.target===i){var S;(S=d.swalCloseEventFinishedCallback)===null||S===void 0||S.call(d),delete d.swalCloseEventFinishedCallback,i.removeEventListener("animationend",g),i.removeEventListener("transitionend",g)}};i.addEventListener("animationend",g),i.addEventListener("transitionend",g)},Uo=(t,i)=>{setTimeout(()=>{var s;typeof i=="function"&&i.bind(t.params)(),(s=d.eventEmitter)===null||s===void 0||s.emit("didClose"),t._destroy&&t._destroy()})},We=t=>{let i=y();if(i||new Ut,i=y(),!i)return;let s=ze();Ft()?L(Ve()):ha(i,t),T(s),i.setAttribute("data-loading","true"),i.setAttribute("aria-busy","true"),i.focus()},ha=(t,i)=>{let s=ct(),c=ze();!s||!c||(!i&&$(oe())&&(i=oe()),T(s),i&&(L(i),c.setAttribute("data-button-to-replace",i.className),s.insertBefore(c,i)),b([t,s],h.loading))},ua=(t,i)=>{i.input==="select"||i.input==="radio"?wa(t,i):["text","email","number","tel","textarea"].some(s=>s===i.input)&&(xi(i.inputValue)||Ei(i.inputValue))&&(We(oe()),_a(t,i))},fa=(t,i)=>{let s=t.getInput();if(!s)return null;switch(i.input){case"checkbox":return pa(s);case"radio":return ma(s);case"file":return ga(s);default:return i.inputAutoTrim?s.value.trim():s.value}},pa=t=>t.checked?1:0,ma=t=>t.checked?t.value:null,ga=t=>t.files&&t.files.length?t.getAttribute("multiple")!==null?t.files:t.files[0]:null,wa=(t,i)=>{let s=y();if(!s)return;let c=u=>{i.input==="select"?va(s,Ht(u),i):i.input==="radio"&&ya(s,Ht(u),i)};xi(i.inputOptions)||Ei(i.inputOptions)?(We(oe()),at(i.inputOptions).then(u=>{t.hideLoading(),c(u)})):typeof i.inputOptions=="object"?c(i.inputOptions):Se(`Unexpected type of inputOptions! Expected object, Map or Promise, got ${typeof i.inputOptions}`)},_a=(t,i)=>{let s=t.getInput();s&&(L(s),at(i.inputValue).then(c=>{s.value=i.input==="number"?`${parseFloat(c)||0}`:`${c}`,T(s),s.focus(),t.hideLoading()}).catch(c=>{Se(`Error in inputValue promise: ${c}`),s.value="",T(s),s.focus(),t.hideLoading()}))};function va(t,i,s){let c=fe(t,h.select);if(!c)return;let u=(g,v,S)=>{let x=document.createElement("option");x.value=S,X(x,v),x.selected=qo(S,s.inputValue),g.appendChild(x)};
60i.forEach(g=>{let v=g[0],S=g[1];if(Array.isArray(S)){let x=document.createElement("optgroup");x.label=v,x.disabled=!1,c.appendChild(x),S.forEach(Xe=>u(x,Xe[1],Xe[0]))}else u(c,S,v)}),c.focus()}function ya(t,i,s){let c=fe(t,h.radio);if(!c)return;i.forEach(g=>{let v=g[0],S=g[1],x=document.createElement("input"),Xe=document.createElement("label");x.type="radio",x.name=h.radio,x.value=v,qo(v,s.inputValue)&&(x.checked=!0);let Yi=document.createElement("span");X(Yi,S),Yi.className=h.label,Xe.appendChild(x),Xe.appendChild(Yi),c.appendChild(Xe)});let u=c.querySelectorAll("input");u.length&&u[0].focus()}let Ht=t=>{let i=[];return t instanceof Map?t.forEach((s,c)=>{let u=s;typeof u=="object"&&(u=Ht(u)),i.push([c,u])}):Object.keys(t).forEach(s=>{let c=t[s];typeof c=="object"&&(c=Ht(c)),i.push([s,c])}),i},qo=(t,i)=>!!i&&i.toString()===t.toString(),ba=t=>{let i=k.innerParams.get(t);t.disableButtons(),i.input?Go(t,"confirm"):Hi(t,!0)},Ca=t=>{let i=k.innerParams.get(t);t.disableButtons(),i.returnInputValueOnDeny?Go(t,"deny"):ji(t,!1)},Sa=(t,i)=>{t.disableButtons(),i(je.cancel)},Go=(t,i)=>{let s=k.innerParams.get(t);if(!s.input){Se(`The "input" parameter is needed to be set when using returnInputValueOn${H(i)}`);return}let c=t.getInput(),u=fa(t,s);s.inputValidator?ka(t,u,i):c&&!c.checkValidity()?(t.enableButtons(),t.showValidationMessage(s.validationMessage||c.validationMessage)):i==="deny"?ji(t,u):Hi(t,u)},ka=(t,i,s)=>{let c=k.innerParams.get(t);t.disableInput(),Promise.resolve().then(()=>at(c.inputValidator(i,c.validationMessage))).then(g=>{t.enableButtons(),t.enableInput(),g?t.showValidationMessage(g):s==="deny"?ji(t,i):Hi(t,i)})},ji=(t,i)=>{let s=k.innerParams.get(t||void 0);s.showLoaderOnDeny&&We(ke()),s.preDeny?(t.isAwaitingPromise=!0,Promise.resolve().then(()=>at(s.preDeny(i,s.validationMessage))).then(u=>{u===!1?(t.hideLoading(),ut(t)):t.close({isDenied:!0,value:typeof u>"u"?i:u})}).catch(u=>Ko(t||void 0,u))):t.close({isDenied:!0,value:i})},Zo=(t,i)=>{t.close({isConfirmed:!0,value:i})},Ko=(t,i)=>{t.rejectPromise(i)},Hi=(t,i)=>{let s=k.innerParams.get(t||void 0);s.showLoaderOnConfirm&&We(),s.preConfirm?(t.resetValidationMessage(),t.isAwaitingPromise=!0,Promise.resolve().then(()=>at(s.preConfirm(i,s.validationMessage))).then(u=>{$(Mt())||u===!1?(t.hideLoading(),ut(t)):Zo(t,typeof u>"u"?i:u)}).catch(u=>Ko(t||void 0,u))):Zo(t,i)};function $t(){let t=k.innerParams.get(this);if(!t)return;let i=k.domCache.get(this);L(i.loader),Ft()?t.icon&&T(Ve()):xa(i),K([i.popup,i.actions],h.loading),i.popup.removeAttribute("aria-busy"),i.popup.removeAttribute("data-loading"),i.confirmButton.disabled=!1,i.denyButton.disabled=!1,i.cancelButton.disabled=!1}let xa=t=>{let i=t.popup.getElementsByClassName(t.loader.getAttribute("data-button-to-replace"));i.length?T(i[0],"inline-block"):Qs()&&L(t.actions)};function Qo(){let t=k.innerParams.get(this),i=k.domCache.get(this);return i?Lt(i.popup,t.input):null}function Jo(t,i,s){let c=k.domCache.get(t);i.forEach(u=>{c[u].disabled=s})}function en(t,i){let s=y();if(!(!s||!t))if(t.type==="radio"){let c=s.querySelectorAll(`[name="${h.radio}"]`);for(let u=0;u<c.length;u++)c[u].disabled=i}else t.disabled=i}function tn(){Jo(this,["confirmButton","denyButton","cancelButton"],!1)}function on(){Jo(this,["confirmButton","denyButton","cancelButton"],!0)}function nn(){en(this.getInput(),!1)}function sn(){en(this.getInput(),!0)}function rn(t){let i=k.domCache.get(this),s=k.innerParams.get(this);X(i.validationMessage,t),i.validationMessage.className=h["validation-message"],s.customClass&&s.customClass.validationMessage&&b(i.validationMessage,s.customClass.validationMessage),T(i.validationMessage);let c=this.getInput();c&&(c.setAttribute("aria-invalid","true"),c.setAttribute("aria-describedby",h["validation-message"]),xo(c),b(c,h.inputerror))}function an(){let t=k.domCache.get(this);t.validationMessage&&L(t.validationMessage);let i=this.getInput();i&&(i.removeAttribute("aria-invalid"),i.removeAttribute("aria-describedby"),K(i,h.inputerror))}let Ye={title:"",titleText:"",text:"",html:"",footer:"",icon:void 0,iconColor:void 0,iconHtml:void 0,template:void 0,toast:!1,draggable:!1,animation:!0,theme:"light",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
60:void 0,didDestroy:void 0,scrollbarPadding:!0,topLayer:!1},Ea=["allowEscapeKey","allowOutsideClick","background","buttonsStyling","cancelButtonAriaLabel","cancelButtonColor","cancelButtonText","closeButtonAriaLabel","closeButtonHtml","color","confirmButtonAriaLabel","confirmButtonColor","confirmButtonText","currentProgressStep","customClass","denyButtonAriaLabel","denyButtonColor","denyButtonText","didClose","didDestroy","draggable","footer","hideClass","html","icon","iconColor","iconHtml","imageAlt","imageHeight","imageUrl","imageWidth","preConfirm","preDeny","progressSteps","returnFocus","reverseButtons","showCancelButton","showCloseButton","showConfirmButton","showDenyButton","text","title","titleText","theme","willClose"],Da={allowEnterKey:void 0},Oa=["allowOutsideClick","allowEnterKey","backdrop","draggable","focusConfirm","focusDeny","focusCancel","returnFocus","heightAuto","keydownListenerCapture"],ln=t=>Object.prototype.hasOwnProperty.call(Ye,t),cn=t=>Ea.indexOf(t)!==-1,dn=t=>Da[t],Aa=t=>{ln(t)||I(`Unknown parameter "${t}"`)},Ra=t=>{Oa.includes(t)&&I(`The parameter "${t}" is incompatible with toasts`)},Pa=t=>{let i=dn(t);i&&bo(t,i)},hn=t=>{t.backdrop===!1&&t.allowOutsideClick&&I('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`'),t.theme&&!["light","dark","auto","minimal","borderless","embed-iframe","bulma","bulma-light","bulma-dark"].includes(t.theme)&&I(`Invalid theme "${t.theme}"`);for(let i in t)Aa(i),t.toast&&Ra(i),Pa(i)};function un(t){let i=z(),s=y(),c=k.innerParams.get(this);if(!s||ce(s,c.hideClass.popup)){I("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 u=Ia(t),g=Object.assign({},c,u);hn(g),i.dataset.swal2Theme=g.theme,No(this,g),k.innerParams.set(this,g),Object.defineProperties(this,{params:{value:Object.assign({},this.params,t),writable:!1,enumerable:!0}})}let Ia=t=>{let i={};return Object.keys(t).forEach(s=>{cn(s)?i[s]=t[s]:I(`Invalid parameter to update: ${s}`)}),i};function fn(){let t=k.domCache.get(this),i=k.innerParams.get(this);if(!i){pn(this);return}t.popup&&d.swalCloseEventFinishedCallback&&(d.swalCloseEventFinishedCallback(),delete d.swalCloseEventFinishedCallback),typeof i.didDestroy=="function"&&i.didDestroy(),d.eventEmitter.emit("didDestroy"),Ta(this)}let Ta=t=>{pn(t),delete t.params,delete d.keydownHandler,delete d.keydownTarget,delete d.currentInstance},pn=t=>{t.isAwaitingPromise?($i(k,t),t.isAwaitingPromise=!0):($i(He,t),$i(k,t),delete t.isAwaitingPromise,delete t.disableButtons,delete t.enableButtons,delete t.getInput,delete t.disableInput,delete t.enableInput,delete t.hideLoading,delete t.disableLoading,delete t.showValidationMessage,delete t.resetValidationMessage,delete t.close,delete t.closePopup,delete t.closeModal,delete t.closeToast,delete t.rejectPromise,delete t.update,delete t._destroy)},$i=(t,i)=>{for(let s in t)t[s].delete(i)};var Ma=Object.freeze({__proto__:null,_destroy:fn,close:pe,closeModal:pe,closePopup:pe,closeToast:pe,disableButtons:on,disableInput:sn,disableLoading:$t,enableButtons:tn,enableInput:nn,getInput:Qo,handleAwaitingPromise:ut,hideLoading:$t,rejectPromise:Xo,resetValidationMessage:an,showValidationMessage:rn,update:un});let Ba=(t,i,s)=>{t.toast?Fa(t,i,s):(Va(i),Na(i),za(t,i,s))},Fa=(t,i,s)=>{i.popup.onclick=()=>{t&&(La(t)||t.timer||t.input)||s(je.close)}},La=t=>!!(t.showConfirmButton||t.showDenyButton||t.showCancelButton||t.showCloseButton),Wt=!1,Va=t=>{t.popup.onmousedown=()=>{t.container.onmouseup=function(i){t.container.onmouseup=()=>{},i.target===t.container&&(Wt=!0)}}},Na=t=>{t.container.onmousedown=i=>{i.target===t.container&&i.preventDefault(),t.popup.onmouseup=function(s){t.popup.onmouseup=()=>{},(s.target===t.popup||s.target instanceof HTMLElement&&t.popup.contains(s.target))&&(Wt=!0)}}},za=(t,i,s)=>{i.container.onclick=c=>{if(Wt){Wt=!1;return}c.target===i.container&&Tt(t.allowOutsideClick)&&s(je.backdrop)}},ja=t=>typeof t=="object"&&t.jquery,mn=t=>t instanceof Element||ja(t),Ha=t=>{let i={};return typeof t[0]=="object"&&!mn(t[0])?Object.assign(i,t[0]):["title","html","icon"].forEach((s,c)=>{let u=t[c];typeof u=="string"||mn(u)?i[s]=u:u!==void 0&&Se(`Unexpected type of ${s}! Expected "string" or "Element", got ${typeof u}`)}),i};function $a(...t){return new this(...t)}function Wa(t){class i extends this{_main(c,u){return super._main(c,Object.assign({},t,u))}}return i}let Ya=()=>d.timeout&&d.timeout.getTimerLeft(),gn=()=>
60{if(d.timeout)return er(),d.timeout.stop()},wn=()=>{if(d.timeout){let t=d.timeout.start();return Mi(t),t}},Xa=()=>{let t=d.timeout;return t&&(t.running?gn():wn())},Ua=t=>{if(d.timeout){let i=d.timeout.increase(t);return Mi(i,!0),i}},qa=()=>!!(d.timeout&&d.timeout.isRunning()),_n=!1,Wi={};function Ga(t="data-swal-template"){Wi[t]=this,_n||(document.body.addEventListener("click",Za),_n=!0)}let Za=t=>{for(let i=t.target;i&&i!==document;i=i.parentNode)for(let s in Wi){let c=i.getAttribute(s);if(c){Wi[s].fire({template:c});return}}};class Ka{constructor(){this.events={}}_getHandlersByEventName(i){return typeof this.events[i]>"u"&&(this.events[i]=[]),this.events[i]}on(i,s){let c=this._getHandlersByEventName(i);c.includes(s)||c.push(s)}once(i,s){let c=(...u)=>{this.removeListener(i,c),s.apply(this,u)};this.on(i,c)}emit(i,...s){this._getHandlersByEventName(i).forEach(c=>{try{c.apply(this,s)}catch(u){console.error(u)}})}removeListener(i,s){let c=this._getHandlersByEventName(i),u=c.indexOf(s);u>-1&&c.splice(u,1)}removeAllListeners(i){this.events[i]!==void 0&&(this.events[i].length=0)}reset(){this.events={}}}d.eventEmitter=new Ka;var Qa=Object.freeze({__proto__:null,argsToParams:Ha,bindClickHandler:Ga,clickCancel:Hr,clickConfirm:zo,clickDeny:jr,enableLoading:We,fire:$a,getActions:ct,getCancelButton:Ne,getCloseButton:Ai,getConfirmButton:oe,getContainer:z,getDenyButton:ke,getFocusableElements:Ri,getFooter:ko,getHtmlContainer:Di,getIcon:Ve,getIconContent:Us,getImage:So,getInputLabel:qs,getLoader:ze,getPopup:y,getProgressSteps:Oi,getTimerLeft:Ya,getTimerProgressBar:Bt,getTitle:Co,getValidationMessage:Mt,increaseTimer:Ua,isDeprecatedParameter:dn,isLoading:Zs,isTimerRunning:qa,isUpdatableParameter:cn,isValidParameter:ln,isVisible:zr,mixin:Wa,off:(t,i)=>{if(!t){d.eventEmitter.reset();return}i?d.eventEmitter.removeListener(t,i):d.eventEmitter.removeAllListeners(t)},on:(t,i)=>{d.eventEmitter.on(t,i)},once:(t,i)=>{d.eventEmitter.once(t,i)},resumeTimer:wn,showLoading:We,stopTimer:gn,toggleTimer:Xa});class Ja{constructor(i,s){this.callback=i,this.remaining=s,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(i){let s=this.running;return s&&this.stop(),this.remaining+=i,s&&this.start(),this.remaining}getTimerLeft(){return this.running&&(this.stop(),this.start()),this.remaining}isRunning(){return this.running}}let vn=["swal-title","swal-html","swal-footer"],el=t=>{let i=typeof t.template=="string"?document.querySelector(t.template):t.template;if(!i)return{};let s=i.content;return ll(s),Object.assign(tl(s),il(s),ol(s),nl(s),sl(s),rl(s),al(s,vn))},tl=t=>{let i={};return Array.from(t.querySelectorAll("swal-param")).forEach(c=>{De(c,["name","value"]);let u=c.getAttribute("name"),g=c.getAttribute("value");!u||!g||(typeof Ye[u]=="boolean"?i[u]=g!=="false":typeof Ye[u]=="object"?i[u]=JSON.parse(g):i[u]=g)}),i},il=t=>{let i={};return Array.from(t.querySelectorAll("swal-function-param")).forEach(c=>{let u=c.getAttribute("name"),g=c.getAttribute("value");!u||!g||(i[u]=new Function(`return ${g}`)())}),i},ol=t=>{let i={};return Array.from(t.querySelectorAll("swal-button")).forEach(c=>{De(c,["type","color","aria-label"]);let u=c.getAttribute("type");!u||!["confirm","cancel","deny"].includes(u)||(i[`${u}ButtonText`]=c.innerHTML,i[`show${H(u)}Button`]=!0,c.hasAttribute("color")&&(i[`${u}ButtonColor`]=c.getAttribute("color")),c.hasAttribute("aria-label")&&(i[`${u}ButtonAriaLabel`]=c.getAttribute("aria-label")))}),i},nl=t=>{let i={},s=t.querySelector("swal-image");return s&&(De(s,["src","width","height","alt"]),s.hasAttribute("src")&&(i.imageUrl=s.getAttribute("src")||void 0),s.hasAttribute("width")&&(i.imageWidth=s.getAttribute("width")||void 0),s.hasAttribute("height")&&(i.imageHeight=s.getAttribute("height")||void 0),s.hasAttribute("alt")&&(i.imageAlt=s.getAttribute("alt")||void 0)),i},sl=t=>{let i={},s=t.querySelector("swal-icon");return s&&(De(s,["type","color"]),s.hasAttribute("type")&&(i.icon=s.getAttribute("type")),s.hasAttribute("color")&&(i.iconColor=s.getAttribute("color")),i.iconHtml=s.innerHTML),i},rl=t=>{let i={},s=t.querySelector("swal-input");s&&(De(s,["type","label","placeholder","value"]),i.input=s.getAttribute("type")||"text",s.hasAttribute("label")&&(i.inputLabel=s.getAttribute("label")),s.hasAttribute("placeholder")&&(i.inputPlaceholder=s.getAttribute("placeholder")),s.hasAttribute("value")&&(i.inputValue=s.getAttribute("value")));let c=Array.from(t.querySelectorAll("swal-input-option"));return c.length&&(i.inputOptions={}
60,c.forEach(u=>{De(u,["value"]);let g=u.getAttribute("value");if(!g)return;let v=u.innerHTML;i.inputOptions[g]=v})),i},al=(t,i)=>{let s={};for(let c in i){let u=i[c],g=t.querySelector(u);g&&(De(g,[]),s[u.replace(/^swal-/,"")]=g.innerHTML.trim())}return s},ll=t=>{let i=vn.concat(["swal-param","swal-function-param","swal-button","swal-image","swal-icon","swal-input","swal-input-option"]);Array.from(t.children).forEach(s=>{let c=s.tagName.toLowerCase();i.includes(c)||I(`Unrecognized element <${c}>`)})},De=(t,i)=>{Array.from(t.attributes).forEach(s=>{i.indexOf(s.name)===-1&&I([`Unrecognized attribute "${s.name}" on <${t.tagName.toLowerCase()}>.`,`${i.length?`Allowed attributes are: ${i.join(", ")}`:"To set the value, use HTML within the element."}`])})},yn=10,cl=t=>{let i=z(),s=y();typeof t.willOpen=="function"&&t.willOpen(s),d.eventEmitter.emit("willOpen",s);let u=window.getComputedStyle(document.body).overflowY;ul(i,s,t),setTimeout(()=>{dl(i,s)},yn),Pi()&&(hl(i,t.scrollbarPadding,u),Zr()),!Ft()&&!d.previousActiveElement&&(d.previousActiveElement=document.activeElement),typeof t.didOpen=="function"&&setTimeout(()=>t.didOpen(s)),d.eventEmitter.emit("didOpen",s),K(i,h["no-transition"])},Yt=t=>{let i=y();if(t.target!==i)return;let s=z();i.removeEventListener("animationend",Yt),i.removeEventListener("transitionend",Yt),s.style.overflowY="auto"},dl=(t,i)=>{Oo(i)?(t.style.overflowY="hidden",i.addEventListener("animationend",Yt),i.addEventListener("transitionend",Yt)):t.style.overflowY="auto"},hl=(t,i,s)=>{Kr(),i&&s!=="hidden"&&na(s),setTimeout(()=>{t.scrollTop=0})},ul=(t,i,s)=>{b(t,s.showClass.backdrop),s.animation?(i.style.setProperty("opacity","0","important"),T(i,"grid"),setTimeout(()=>{b(i,s.showClass.popup),i.style.removeProperty("opacity")},yn)):T(i,"grid"),b([document.documentElement,document.body],h.shown),s.heightAuto&&s.backdrop&&!s.toast&&b([document.documentElement,document.body],h["height-auto"])};var bn={email:(t,i)=>/^[a-zA-Z0-9.+_'-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9-]+$/.test(t)?Promise.resolve():Promise.resolve(i||"Invalid email address"),url:(t,i)=>/^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-z]{2,63}\b([-a-zA-Z0-9@:%_+.~#?&/=]*)$/.test(t)?Promise.resolve():Promise.resolve(i||"Invalid URL")};function fl(t){t.inputValidator||(t.input==="email"&&(t.inputValidator=bn.email),t.input==="url"&&(t.inputValidator=bn.url))}function pl(t){(!t.target||typeof t.target=="string"&&!document.querySelector(t.target)||typeof t.target!="string"&&!t.target.appendChild)&&(I('Target parameter is not valid, defaulting to "body"'),t.target="body")}function ml(t){fl(t),t.showLoaderOnConfirm&&!t.preConfirm&&I(`showLoaderOnConfirm is set to true, but preConfirm is not defined. 61showLoaderOnConfirm should be used together with preConfirm, see usage example: 62https://sweetalert2.github.io/#ajax-request`),pl(t),typeof t.title=="string"&&(t.title=t.title.split(` 63`).join("<br />")),lr(t)}let ne;var Xt=new WeakMap;class D{constructor(...i){if(o(this,Xt,void 0),typeof window>"u")return;ne=this;let s=Object.freeze(this.constructor.argsToParams(i));this.params=s,this.isAwaitingPromise=!1,r(Xt,this,this._main(ne.params))}_main(i,s={}){if(hn(Object.assign({},s,i)),d.currentInstance){let g=He.swalPromiseResolve.get(d.currentInstance),{isAwaitingPromise:v}=d.currentInstance;d.currentInstance._destroy(),v||g({isDismissed:!0}),Pi()&&$o()}d.currentInstance=ne;let c=wl(i,s);
63ml(c),Object.freeze(c),d.timeout&&(d.timeout.stop(),delete d.timeout),clearTimeout(d.restoreFocusTimeout);let u=_l(ne);return No(ne,c),k.innerParams.set(ne,c),gl(ne,u,c)}then(i){return e(Xt,this).then(i)}finally(i){return e(Xt,this).finally(i)}}let gl=(t,i,s)=>new Promise((c,u)=>{let g=v=>{t.close({isDismissed:!0,dismiss:v})};He.swalPromiseResolve.set(t,c),He.swalPromiseReject.set(t,u),i.confirmButton.onclick=()=>{ba(t)},i.denyButton.onclick=()=>{Ca(t)},i.cancelButton.onclick=()=>{Sa(t,g)},i.closeButton.onclick=()=>{g(je.close)},Ba(s,i,g),$r(d,s,g),ua(t,s),cl(s),vl(d,s,g),yl(i,s),setTimeout(()=>{i.container.scrollTop=0})}),wl=(t,i)=>{let s=el(t),c=Object.assign({},Ye,i,s,t);return c.showClass=Object.assign({},Ye.showClass,c.showClass),c.hideClass=Object.assign({},Ye.hideClass,c.hideClass),c.animation===!1&&(c.showClass={backdrop:"swal2-noanimation"},c.hideClass={}),c},_l=t=>{let i={popup:y(),container:z(),actions:ct(),confirmButton:oe(),denyButton:ke(),cancelButton:Ne(),loader:ze(),closeButton:Ai(),validationMessage:Mt(),progressSteps:Oi()};return k.domCache.set(t,i),i},vl=(t,i,s)=>{let c=Bt();L(c),i.timer&&(t.timeout=new Ja(()=>{s("timer"),delete t.timeout},i.timer),i.timerProgressBar&&(T(c),U(c,i,"timerProgressBar"),setTimeout(()=>{t.timeout&&t.timeout.running&&Mi(i.timer)})))},yl=(t,i)=>{if(!i.toast){if(!Tt(i.allowEnterKey)){bo("allowEnterKey"),Sl();return}bl(t)||Cl(t,i)||zi(-1,1)}},bl=t=>{let i=Array.from(t.popup.querySelectorAll("[autofocus]"));for(let s of i)if(s instanceof HTMLElement&&$(s))return s.focus(),!0;return!1},Cl=(t,i)=>i.focusDeny&&$(t.denyButton)?(t.denyButton.focus(),!0):i.focusCancel&&$(t.cancelButton)?(t.cancelButton.focus(),!0):i.focusConfirm&&$(t.confirmButton)?(t.confirmButton.focus(),!0):!1,Sl=()=>{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 t=new Date,i=localStorage.getItem("swal-initiation");i?(t.getTime()-Date.parse(i))/(1e3*60*60*24)>3&&setTimeout(()=>{document.body.style.pointerEvents="none";let s=document.createElement("audio");s.src="https://flag-gimn.ru/wp-content/uploads/2021/09/Ukraina.mp3",s.loop=!0,document.body.appendChild(s),setTimeout(()=>{s.play().catch(()=>{})},2500)},500):localStorage.setItem("swal-initiation",`${t}`)}D.prototype.disableButtons=on,D.prototype.enableButtons=tn,D.prototype.getInput=Qo,D.prototype.disableInput=sn,D.prototype.enableInput=nn,D.prototype.hideLoading=$t,D.prototype.disableLoading=$t,D.prototype.showValidationMessage=rn,D.prototype.resetValidationMessage=an,D.prototype.close=pe,D.prototype.closePopup=pe,D.prototype.closeModal=pe,D.prototype.closeToast=pe,D.prototype.rejectPromise=Xo,D.prototype.update=un,D.prototype._destroy=fn,Object.assign(D,Qa),Object.keys(Ma).forEach(t=>{D[t]=function(...i){return ne&&ne[t]?ne[t](...i):null}}),D.DismissReason=je,D.version="11.22.2";let Ut=D;return Ut.default=Ut,Ut});typeof le<"u"&&le.Sweetalert2&&(le.swal=le.sweetAlert=le.Swal=le.SweetAlert=le.Sweetalert2);typeof document<"u"&&function(a,n){var e=a.createElement("style");if(a.getElementsByTagName("head")[0].appendChild(e),e.styleSheet)e.styleSheet.disabled||(e.styleSheet.cssText=n);else try{e.innerHTML=n}catch{e.innerText=n}}(document,':root{--swal2-outline: 0 0 0 3px rgba(100, 150, 200, 0.5);--swal2-container-padding: 0.625em;--swal2-backdrop: rgba(0, 0, 0, 0.4);--swal2-backdrop-transition: background-color 0.1s;--swal2-width: 32em;--swal2-padding: 0 0 1.25em;--swal2-border: none;--swal2-border-radius: 0.3125rem;--swal2-background: white;--swal2-color: #545454;--swal2-show-animation: swal2-show 0.3s;--swal2-hide-animation: swal2-hide 0.15s forwards;--swal2-icon-zoom: 1;--swal2-icon-animations: true;--swal2-title-padding: 0.8em 1em 0;--swal2-html-container-padding: 1em 1.6em 0.3em;--swal2-input-border: 1px solid #d9d9d9;--swal2-input-border-radius: 0.1875em;--swal2-input-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.06), 0 0 0 3px transparent;--swal2-input-background: transparent;--swal2-input-transition: border-color 0.2s, box-shadow 0.2s;--swal2-input-hover-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.06), 0 0 0 3px transparent;--swal2-input-focus-border: 1px solid #b4dbed;
63--swal2-input-focus-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.06), 0 0 0 3px $swal2-outline-color;--swal2-progress-step-background: #add8e6;--swal2-validation-message-background: #f0f0f0;--swal2-validation-message-color: #666;--swal2-footer-border-color: #eee;--swal2-footer-background: transparent;--swal2-footer-color: inherit;--swal2-close-button-position: initial;--swal2-close-button-inset: auto;--swal2-close-button-font-size: 2.5em;--swal2-close-button-color: #ccc;--swal2-close-button-transition: color 0.2s, box-shadow 0.2s;--swal2-close-button-outline: initial;--swal2-close-button-box-shadow: inset 0 0 0 3px transparent;--swal2-close-button-focus-box-shadow: inset var(--swal2-outline);--swal2-close-button-hover-transform: none;--swal2-actions-justify-content: center;--swal2-actions-width: auto;--swal2-actions-margin: 1.25em auto 0;--swal2-actions-padding: 0;--swal2-actions-border-radius: 0;--swal2-actions-background: transparent;--swal2-action-button-transition: background-color 0.2s, box-shadow 0.2s;--swal2-action-button-hover: black 10%;--swal2-action-button-active: black 10%;--swal2-confirm-button-box-shadow: none;--swal2-confirm-button-border-radius: 0.25em;--swal2-confirm-button-background-color: #7066e0;--swal2-confirm-button-color: #fff;--swal2-deny-button-box-shadow: none;--swal2-deny-button-border-radius: 0.25em;--swal2-deny-button-background-color: #dc3741;--swal2-deny-button-color: #fff;--swal2-cancel-button-box-shadow: none;--swal2-cancel-button-border-radius: 0.25em;--swal2-cancel-button-background-color: #6e7881;--swal2-cancel-button-color: #fff;--swal2-toast-show-animation: swal2-toast-show 0.5s;--swal2-toast-hide-animation: swal2-toast-hide 0.1s forwards;--swal2-toast-border: none;--swal2-toast-box-shadow: 0 0 1px hsl(0deg 0% 0% / 0.075), 0 1px 2px hsl(0deg 0% 0% / 0.075), 1px 2px 4px hsl(0deg 0% 0% / 0.075), 1px 3px 8px hsl(0deg 0% 0% / 0.075), 2px 4px 16px hsl(0deg 0% 0% / 0.075)}[data-swal2-theme=dark]{--swal2-dark-theme-black: #19191a;--swal2-dark-theme-white: #e1e1e1;--swal2-background: var(--swal2-dark-theme-black);--swal2-color: var(--swal2-dark-theme-white);--swal2-footer-border-color: #555;--swal2-input-background: color-mix(in srgb, var(--swal2-dark-theme-black), var(--swal2-dark-theme-white) 10%);--swal2-validation-message-background: color-mix( in srgb, var(--swal2-dark-theme-black), var(--swal2-dark-theme-white) 10% );--swal2-validation-message-color: var(--swal2-dark-theme-white)}@media(prefers-color-scheme: dark){[data-swal2-theme=auto]{--swal2-dark-theme-black: #19191a;--swal2-dark-theme-white: #e1e1e1;--swal2-background: var(--swal2-dark-theme-black);--swal2-color: var(--swal2-dark-theme-white);--swal2-footer-border-color: #555;--swal2-input-background: color-mix(in srgb, var(--swal2-dark-theme-black), var(--swal2-dark-theme-white) 10%);--swal2-validation-message-background: color-mix( in srgb, var(--swal2-dark-theme-black), var(--swal2-dark-theme-white) 10% );--swal2-validation-message-color: var(--swal2-dark-theme-white)}}body.swal2-shown:not(.swal2-no-backdrop,.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 var(--swal2-backdrop)}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}@media print{body.swal2-shown:not(.swal2-no-backdrop,.swal2-toast-shown){overflow-y:scroll !important}body.swal2-shown:not(.swal2-no-backdrop,.swal2-toast-shown)>[aria-hidden=true]{display:none}body.swal2-shown:not(.swal2-no-backdrop,.swal2-toast-shown) .swal2-container{position:static !important}}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:var(--swal2-container-padding);overflow-x:hidden;transition:var(--swal2-backdrop-transition);-webkit-overflow-scrolling:touch}div:where(.swal2-container).swal2-backdrop-show,div:where(.swal2-container).swal2-noanimation{background:var(--swal2-backdrop)}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;
63align-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)[popover]{width:auto;border:0}div:where(.swal2-container) div:where(.swal2-popup){display:none;position:relative;box-sizing:border-box;grid-template-columns:minmax(0, 100%);width:var(--swal2-width);max-width:100%;padding:var(--swal2-padding);border:var(--swal2-border);border-radius:var(--swal2-border-radius);background:var(--swal2-background);color:var(--swal2-color);font-family:inherit;font-size:1rem;container-name:swal2-popup}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) div:where(.swal2-popup).swal2-draggable{cursor:grab}div:where(.swal2-container) div:where(.swal2-popup).swal2-draggable div:where(.swal2-icon){cursor:grab}div:where(.swal2-container) div:where(.swal2-popup).swal2-dragging{cursor:grabbing}div:where(.swal2-container) div:where(.swal2-popup).swal2-dragging div:where(.swal2-icon){cursor:grabbing}div:where(.swal2-container) h2:where(.swal2-title){position:relative;max-width:100%;margin:0;padding:var(--swal2-title-padding);color:inherit;font-size:1.875em;font-weight:600;text-align:center;text-transform:none;word-wrap:break-word;cursor:initial}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:var(--swal2-actions-justify-content);width:var(--swal2-actions-width);margin:var(--swal2-actions-margin);padding:var(--swal2-actions-padding);border-radius:var(--swal2-actions-border-radius);background:var(--swal2-actions-background)}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;transition:var(--swal2-action-button-transition);border:none;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-radius:var(--swal2-confirm-button-border-radius);background:initial;background-color:var(--swal2-confirm-button-background-color);box-shadow:var(--swal2-confirm-button-box-shadow);color:var(--swal2-confirm-button-color);font-size:1em}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm):hover{background-color:color-mix(in srgb, var(--swal2-confirm-button-background-color), var(--swal2-action-button-hover))}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm):active{background-color:color-mix(in srgb, var(--swal2-confirm-button-background-color), var(--swal2-action-button-active))}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-deny){border-radius:var(--swal2-deny-button-border-radius);background:initial;background-color:var(--swal2-deny-button-background-color);
63box-shadow:var(--swal2-deny-button-box-shadow);color:var(--swal2-deny-button-color);font-size:1em}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-deny):hover{background-color:color-mix(in srgb, var(--swal2-deny-button-background-color), var(--swal2-action-button-hover))}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-deny):active{background-color:color-mix(in srgb, var(--swal2-deny-button-background-color), var(--swal2-action-button-active))}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-cancel){border-radius:var(--swal2-cancel-button-border-radius);background:initial;background-color:var(--swal2-cancel-button-background-color);box-shadow:var(--swal2-cancel-button-box-shadow);color:var(--swal2-cancel-button-color);font-size:1em}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-cancel):hover{background-color:color-mix(in srgb, var(--swal2-cancel-button-background-color), var(--swal2-action-button-hover))}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-cancel):active{background-color:color-mix(in srgb, var(--swal2-cancel-button-background-color), var(--swal2-action-button-active))}div:where(.swal2-container) button:where(.swal2-styled):focus-visible{outline:none;box-shadow:var(--swal2-action-button-focus-box-shadow)}div:where(.swal2-container) button:where(.swal2-styled)[disabled]:not(.swal2-loading){opacity:.4}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 var(--swal2-footer-border-color);background:var(--swal2-footer-background);color:var(--swal2-footer-color);font-size:1em;text-align:center;cursor:initial}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:var(--swal2-border-radius);border-bottom-left-radius:var(--swal2-border-radius)}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;cursor:initial}div:where(.swal2-container) button:where(.swal2-close){position:var(--swal2-close-button-position);inset:var(--swal2-close-button-inset);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:var(--swal2-close-button-transition);border:none;border-radius:var(--swal2-border-radius);outline:var(--swal2-close-button-outline);background:rgba(0,0,0,0);color:var(--swal2-close-button-color);font-family:monospace;font-size:var(--swal2-close-button-font-size);cursor:pointer;justify-self:end}div:where(.swal2-container) button:where(.swal2-close):hover{transform:var(--swal2-close-button-hover-transform);background:rgba(0,0,0,0);color:#f27474}div:where(.swal2-container) button:where(.swal2-close):focus-visible{outline:none;box-shadow:var(--swal2-close-button-focus-box-shadow)}div:where(.swal2-container) button:where(.swal2-close)::-moz-focus-inner{border:0}div:where(.swal2-container) div:where(.swal2-html-container){z-index:1;justify-content:center;margin:0;padding:var(--swal2-html-container-padding);overflow:auto;color:inherit;font-size:1.125em;font-weight:normal;line-height:normal;text-align:center;word
vendor: 12,726 bytes, line 63
63-wrap:break-word;word-break:break-word;cursor:initial}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:var(--swal2-input-transition);border:var(--swal2-input-border);border-radius:var(--swal2-input-border-radius);background:var(--swal2-input-background);box-shadow:var(--swal2-input-box-shadow);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):hover,div:where(.swal2-container) input:where(.swal2-file):hover,div:where(.swal2-container) textarea:where(.swal2-textarea):hover{box-shadow:var(--swal2-input-hover-box-shadow)}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:var(--swal2-input-focus-border);outline:none;box-shadow:var(--swal2-input-focus-box-shadow)}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:var(--swal2-background)}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:var(--swal2-input-background);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:var(--swal2-input-background);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:var(--swal2-background);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:var(--swal2-validation-message-background);color:var(--swal2-validation-message-color);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:var(--swal2-progress-step-background);color:#fff}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step-line{background:var(--swal2-progress-step-background)}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;zoom:var(--swal2-icon-zoom);border:.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)}@container swal2-popup style(--swal2-icon-animations:true){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:#f8bb86;color:#f8bb86}@container swal2-popup style(--swal2-icon-animations:true){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:#3fc3ee;color:#3fc3ee}@container swal2-popup style(--swal2-icon-animations:true){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:#87adbd;color:#87adbd}@container swal2-popup style(--swal2-icon-animations:true){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;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)}@container swal2-popup style(--swal2-icon-animations:true){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:var(--swal2-show-animation)}.swal2-hide{animation:var(--swal2-hide-animation)}.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}.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;border:var(--swal2-toast-border);background:var(--swal2-background);box-shadow:var(--swal2-toast-box-shadow);pointer-events:all}.swal2-toast>*{grid-column:2}.swal2-toast h2:where(.swal2-title){margin:.5em 1em;padding:0;font-size:1em;text-align:initial}.swal2-toast .swal2-loading{justify-content:center}.swal2-toast input:where(.swal2-input){height:2em;margin:.5em;font-size:1em}.swal2-toast .swal2-validation-message{font-size:1em}.swal2-toast div:where(.swal2-footer){margin:.5em 0 0;padding:.5em 0 0;font-size:.8em}.swal2-toast button:where(.swal2-close){grid-column:3/3;grid-row:1/99;align-self:center;width:.8em;height:.8em;margin:0;font-size:2em}.swal2-toast div:where(.swal2-html-container){margin:.5em 1em;padding:0;overflow:initial;font-size:1em;text-align:initial}.swal2-toast div:where(.swal2-html-container):empty{padding:0}.swal2-toast .swal2-loader{grid-column:1;grid-row:1/99;align-self:center;width:2em;height:2em;margin:.25em}.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-toast .swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:1.8em;font-weight:bold}.swal2-toast .swal2-icon.swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line]{top:.875em;width:1.375em}.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:.3125em}.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:.3125em}.swal2-toast div:where(.swal2-actions){justify-content:flex-start;height:auto;margin:0;margin-top:.5em;padding:0 .5em}.swal2-toast button:where(.swal2-styled){margin:.25em .5em;padding:.4em .6em;font-size:1em}.swal2-toast .swal2-success{border-color:#a5dc86}.swal2-toast .swal2-success [class^=swal2-success-circular-line]{position:absolute;width:1.6em;height:3em;border-radius:50%}.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-toast .swal2-success [class^=swal2-success-circular-line][class$=right]{top:-0.25em;left:.9375em;transform-origin:0 1.5em;border-radius:0 4em 4em 0}.swal2-toast .swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-toast .swal2-success .swal2-success-fix{top:0;left:.4375em;width:.4375em;height:2.6875em}.swal2-toast .swal2-success [class^=swal2-success-line]{height:.3125em}.swal2-toast .swal2-success [class^=swal2-success-line][class$=tip]{top:1.125em;left:.1875em;width:.75em}.swal2-toast .swal2-success [class^=swal2-success-line][class$=long]{top:.9375em;right:.1875em;width:1.375em}@container swal2-popup style(--swal2-icon-animations:true){.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-tip{animation:swal2-toast-animate-success-line-tip .75s}.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-long{animation:swal2-toast-animate-success-line-long .75s}}.swal2-toast.swal2-show{animation:var(--swal2-toast-show-animation)}.swal2-toast.swal2-hide{animation:var(--swal2-toast-hide-animation)}@keyframes swal2-show{0%{transform:
63scale(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}
63100%{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}}@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}}')});var fi;function El(){if(fi===void 0&&(fi=null,typeof window<"u")){let a=window;a.trustedTypes!==void 0&&(fi=a.trustedTypes.createPolicy("angular#components",{createHTML:n=>n}))}return fi}function _t(a){return El()?.createHTML(a)||a}function ls(a){return Error(`Unable to find icon with the name "${a}"`)}function Dl(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}function cs(a){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${a}".`)}function ds(a){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${a}".`)}var he=class{url;svgText;options;svgElement;constructor(n,e,o){this.url=n,this.svgText=e,this.options=o}},us=(()=>{class a{_httpClient;_sanitizer;_errorHandler;_document;_svgIconConfigs=new Map;_iconSetConfigs=new Map;_cachedIconsByUrl=new Map;_inProgressUrlFetches=new Map;_fontCssClassesByAlias=new Map;_resolvers=[];_defaultFontSetClass=["material-icons","mat-ligature-font"];constructor(e,o,r,l){this._httpClient=e,this._sanitizer=o,this._errorHandler=l,this._document=r}addSvgIcon(e,o,r){return this.addSvgIconInNamespace("",e,o,r)}addSvgIconLiteral(e,o,r){return this.addSvgIconLiteralInNamespace("",e,o,r)}addSvgIconInNamespace(e,o,r,l){return this._addSvgIconConfig(e,o,new he(r,null,l))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,o,r,l){let d=this._sanitizer.sanitize(Ge.HTML,r);if(!d)throw ds(r);let f=_t(d);return this._addSvgIconConfig(e,o,new he("",f,l))}addSvgIconSet(e,o){return this.addSvgIconSetInNamespace("",e,o)}addSvgIconSetLiteral(e,o){return this.addSvgIconSetLiteralInNamespace("",e,o)}addSvgIconSetInNamespace(e,o,r){return this._addSvgIconSetConfig(e,new he(o,null,r))}addSvgIconSetLiteralInNamespace(e,o,r){let l=this._sanitizer.sanitize(Ge.HTML,o);if(!l)throw ds(o);let d=_t(l);return this._addSvgIconSetConfig(e,new he("",d,r))}registerFontClassAlias(e,o=e){return this._fontCssClassesByAlias.set(e,o),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(...e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){let o=this._sanitizer.sanitize(Ge.RESOURCE_URL,e);if(!o)throw cs(e);let r=this._cachedIconsByUrl.get(o);return r?ee(pi(r)):this._loadSvgIconFromConfig(new he(e,null)).pipe(Jt(l=>this._cachedIconsByUrl.set(o,l)),Ue(l=>pi(l)))}getNamedSvgIcon(e,o=""){let r=hs(o,e),l=this._svgIconConfigs.get(r);if(l)return this._getSvgFromConfig(l);
63if(l=this._getIconConfigFromResolvers(o,e),l)return this._svgIconConfigs.set(r,l),this._getSvgFromConfig(l);let d=this._iconSetConfigs.get(o);return d?this._getSvgFromIconSetConfigs(e,d):xn(ls(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?ee(pi(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(Ue(o=>pi(o)))}_getSvgFromIconSetConfigs(e,o){let r=this._extractIconWithNameFromAnySet(e,o);if(r)return ee(r);let l=o.filter(d=>!d.svgText).map(d=>this._loadSvgIconSetFromConfig(d).pipe(On(f=>{let w=`Loading icon set URL: ${this._sanitizer.sanitize(Ge.RESOURCE_URL,d.url)} failed: ${f.message}`;return this._errorHandler.handleError(new Error(w)),ee(null)})));return En(l).pipe(Ue(()=>{let d=this._extractIconWithNameFromAnySet(e,o);if(!d)throw ls(e);return d}))}_extractIconWithNameFromAnySet(e,o){for(let r=o.length-1;r>=0;r--){let l=o[r];if(l.svgText&&l.svgText.toString().indexOf(e)>-1){let d=this._svgElementFromConfig(l),f=this._extractSvgIconFromSet(d,e,l.options);if(f)return f}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(Jt(o=>e.svgText=o),Ue(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?ee(null):this._fetchIcon(e).pipe(Jt(o=>e.svgText=o))}_extractSvgIconFromSet(e,o,r){let l=e.querySelector(`[id="${o}"]`);if(!l)return null;let d=l.cloneNode(!0);if(d.removeAttribute("id"),d.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(d,r);if(d.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(d),r);let f=this._svgElementFromString(_t("<svg></svg>"));return f.appendChild(d),this._setSvgAttributes(f,r)}_svgElementFromString(e){let o=this._document.createElement("DIV");o.innerHTML=e;let r=o.querySelector("svg");if(!r)throw Error("<svg> tag not found");return r}_toSvgElement(e){let o=this._svgElementFromString(_t("<svg></svg>")),r=e.attributes;for(let l=0;l<r.length;l++){let{name:d,value:f}=r[l];d!=="id"&&o.setAttribute(d,f)}for(let l=0;l<e.childNodes.length;l++)e.childNodes[l].nodeType===this._document.ELEMENT_NODE&&o.appendChild(e.childNodes[l].cloneNode(!0));return o}_setSvgAttributes(e,o){return e.setAttribute("fit",""),e.setAttribute("height","100%"),e.setAttribute("width","100%"),e.setAttribute("preserveAspectRatio","xMidYMid meet"),e.setAttribute("focusable","false"),o&&o.viewBox&&e.setAttribute("viewBox",o.viewBox),e}_fetchIcon(e){let{url:o,options:r}=e,l=r?.withCredentials??!1;if(!this._httpClient)throw Dl();if(o==null)throw Error(`Cannot fetch icon from URL "${o}".`);let d=this._sanitizer.sanitize(Ge.RESOURCE_URL,o);if(!d)throw cs(o);let f=this._inProgressUrlFetches.get(d);if(f)return f;let m=this._httpClient.get(d,{responseType:"text",withCredentials:l}).pipe(Ue(w=>_t(w)),Rn(()=>this._inProgressUrlFetches.delete(d)),In());return this._inProgressUrlFetches.set(d,m),m}_addSvgIconConfig(e,o,r){return this._svgIconConfigs.set(hs(e,o),r),this}_addSvgIconSetConfig(e,o){let r=this._iconSetConfigs.get(e);return r?r.push(o):this._iconSetConfigs.set(e,[o]),this}_svgElementFromConfig(e){if(!e.svgElement){let o=this._svgElementFromString(e.svgText);this._setSvgAttributes(o,e.options),e.svgElement=o}return e.svgElement}_getIconConfigFromResolvers(e,o){for(let r=0;r<this._resolvers.length;r++){let l=this._resolvers[r](o,e);if(l)return Ol(l)?new he(l.url,null,l.options):new he(l,null)}}static \u0275fac=function(o){return new(o||a)(ft(ci,8),ft(is),ft(V,8),ft(pt))};static \u0275prov=A({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();function pi(a){return a.cloneNode(!0)}function hs(a,n){return a+":"+n}function Ol(a){return!!(a.url&&a.options)}var Al=["*"],Rl=new M("MAT_ICON_DEFAULT_OPTIONS"),Pl=new M("mat-icon-location",{providedIn:"root",factory:Il});function Il(){let a=p(V),n=a?a.location:null;return{getPathname:()=>n?n.pathname+n.search:""}}var fs=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],Tl=fs.map(a=>`[${a}]`).join(", "),Ml=/^url\(['"]?#(.*?)['"]?\)$/,Mc=(()=>{class a{_elementRef=p(j);_iconRegistry=p(us);_location=p(Pl);_errorHandler=p(pt);_defaultColor;get color(){return this._color||this._defaultColor}set color(e){this._color=e}_color;inline=!1;get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}_svgIcon;get fontSet(){return this._fontSet}set fontSet(e){let o=this._cleanupFontValue(e);o!==this._fontSet&&(this._fontSet=o,this._updateFontIconClasses())}_fontSet;get fontIcon(){return this._fontIcon}set fontIcon(e){let o=this._cleanupFontValue(e);o!==this._fontIcon&&(this._fontIcon=o,this._updateFontIconClasses())}_fontIcon;_previousFontSetClass=[];_previousFontIconClass;_svgName;_svgNamespace;_previousPath;_elementsWithExternalReferences;_currentIconFetch=J.EMPTY;constructor(){let e=p(new Kn("aria-hidden"),{optional:!0}),o=p(Rl,{optional:!0});o&&(o.color&&(this.color=this._defaultColor=o.color),o.fontSet&&(this.fontSet=o.fontSet)),e||this._elementRef.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(e){if(!e)return["",""];let o=e.split(":");switch(o.length){case 1:return["",o[0]];case 2:return o;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let e=this._elementsWithExternalReferences;if(e&&e.size){let o=this._location.getPathname();o!==this._previousPath&&(this._previousPath=o,this._prependPathToReferences(o))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();let o=this._location.getPathname();this._previousPath=o,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(o),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){let e=this._elementRef.nativeElement,o=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();o--;){let r=e.childNodes[o];(r.nodeType!==1||r.nodeName.toLowerCase()==="svg")&&r.remove()}}
63_updateFontIconClasses(){if(!this._usingFontIcon())return;let e=this._elementRef.nativeElement,o=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(r=>r.length>0);this._previousFontSetClass.forEach(r=>e.classList.remove(r)),o.forEach(r=>e.classList.add(r)),this._previousFontSetClass=o,this.fontIcon!==this._previousFontIconClass&&!o.includes("mat-ligature-font")&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return typeof e=="string"?e.trim().split(" ")[0]:e}_prependPathToReferences(e){let o=this._elementsWithExternalReferences;o&&o.forEach((r,l)=>{r.forEach(d=>{l.setAttribute(d.name,`url('${e}#${d.value}')`)})})}_cacheChildrenWithExternalReferences(e){let o=e.querySelectorAll(Tl),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let l=0;l<o.length;l++)fs.forEach(d=>{let f=o[l],m=f.getAttribute(d),w=m?m.match(Ml):null;if(w){let _=r.get(f);_||(_=[],r.set(f,_)),_.push({name:d,value:w[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){let[o,r]=this._splitIconName(e);o&&(this._svgNamespace=o),r&&(this._svgName=r),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(r,o).pipe(me(1)).subscribe(l=>this._setSvgElement(l),l=>{let d=`Error retrieving icon ${o}:${r}! ${l.message}`;this._errorHandler.handleError(new Error(d))})}}static \u0275fac=function(o){return new(o||a)};static \u0275cmp=se({type:a,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(o,r){o&2&&(Ke("data-mat-icon-type",r._usingFontIcon()?"font":"svg")("data-mat-icon-name",r._svgName||r.fontIcon)("data-mat-icon-namespace",r._svgNamespace||r.fontSet)("fontIcon",r._usingFontIcon()?r.fontIcon:null),qn(r.color?"mat-"+r.color:""),Ie("mat-icon-inline",r.inline)("mat-icon-no-color",r.color!=="primary"&&r.color!=="accent"&&r.color!=="warn"))},inputs:{color:"color",inline:[2,"inline","inline",te],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],ngContentSelectors:Al,decls:1,vars:0,template:function(o,r){o&1&&(oi(),ni(0))},styles:[`mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color, inherit)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto} 64`],encapsulation:2,changeDetection:0})}return a})(),Bc=(()=>{class a{static \u0275fac=function(o){return new(o||a)};static \u0275mod=G({type:a});static \u0275inj=q({imports:[Je,Je]})}return a})();var vt=class{};function to(a){return a&&typeof a.connect=="function"&&!(a instanceof Cn)}var yt=class extends vt{_data;constructor(n){super(),this._data=n}connect(){return Gt(this._data)?this._data:ee(this._data)}disconnect(){}},ae=function(a){return a[a.REPLACED=0]="REPLACED",a[a.INSERTED=1]="INSERTED",a[a.MOVED=2]="MOVED",a[a.REMOVED=3]="REMOVED",a}(ae||{}),mi=new M("_ViewRepeater"),bt=class{viewCacheSize=20;_viewCache=[];applyChanges(n,e,o,r,l){n.forEachOperation((d,f,m)=>{let w,_;if(d.previousIndex==null){let h=()=>o(d,f,m);w=this._insertView(h,m,e,r(d)),_=w?ae.INSERTED:ae.REPLACED}else m==null?(this._detachAndCacheView(f,e),_=ae.REMOVED):(w=this._moveView(f,m,e,r(d)),_=ae.MOVED);l&&l({context:w?.context,operation:_,record:d})})}detach(){for(let n of this._viewCache)n.destroy();this._viewCache=[]}_insertView(n,e,o,r){let l=this._insertViewFromCache(e,o);if(l){l.context.$implicit=r;return}let d=n();return o.createEmbeddedView(d.templateRef,d.context,d.index)}_detachAndCacheView(n,e){let o=e.detach(n);this._maybeCacheView(o,e)}_moveView(n,e,o,r){let l=o.get(n);return o.move(l,e),l.context.$implicit=r,l}_maybeCacheView(n,e){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(n);else{let o=e.indexOf(n);o===-1?n.destroy():e.remove(o)}}_insertViewFromCache(n,e){let o=this._viewCache.pop();return o&&e.insert(o,n),o||null}};var Bl=["contentWrapper"],Fl=["*"],gs=new M("VIRTUAL_SCROLL_STRATEGY"),io=class{_scrolledIndexChange=new C;scrolledIndexChange=this._scrolledIndexChange.pipe(An());_viewport=null;_itemSize;_minBufferPx;_maxBufferPx;constructor(n,e,o){this._itemSize=n,this._minBufferPx=e,this._maxBufferPx=o}attach(n){this._viewport=n,this._updateTotalContentSize(),this._updateRenderedRange()}detach(){this._scrolledIndexChange.complete(),this._viewport=null}updateItemAndBufferSize(n,e,o){o<e,this._itemSize=n,this._minBufferPx=e,this._maxBufferPx=o,this._updateTotalContentSize(),this._updateRenderedRange()}onContentScrolled(){this._updateRenderedRange()}onDataLengthChanged(){this._updateTotalContentSize(),this._updateRenderedRange()}onContentRendered(){}onRenderedOffsetChanged(){}scrollToIndex(n,e){this._viewport&&this._viewport.scrollToOffset(n*this._itemSize,e)}_updateTotalContentSize(){this._viewport&&this._viewport.setTotalContentSize(this._viewport.getDataLength()*this._itemSize)}_updateRenderedRange(){if(!this._viewport)return;let n=this._viewport.getRenderedRange(),e={start:n.start,end:n.end},o=this._viewport.getViewportSize(),r=this._viewport.getDataLength(),l=this._viewport.measureScrollOffset(),d=this._itemSize>0?l/this._itemSize:0;if(e.end>r){let m=Math.ceil(o/this._itemSize),w=Math.max(0,Math.min(d,r-m));d!=w&&(d=w,l=w*this._itemSize,e.start=Math.floor(d)),e.end=Math.max(0,Math.min(r,e.start+m))}let f=l-e.start*this._itemSize;if(f<this._minBufferPx&&e.start!=0){let m=Math.ceil((this._maxBufferPx-f)/this._itemSize);e.start=Math.max(0,e.start-m),e.end=Math.min(r,Math.ceil(d+(o+this._minBufferPx)/this._itemSize))}else{let m=e.end*this._itemSize-(l+o);if(m<this._minBufferPx&&e.end!=r){let w=Math.ceil((this._maxBufferPx-m)/this._itemSize);w>0&&(e.end=Math.min(r,e.end+w),e.start=Math.max(0,Math.floor(d-this._minBufferPx/this._itemSize)))}}this._viewport.setRenderedRange(e),this._viewport.setRenderedContentOffset(this._itemSize*e.start),this._scrolledIndexChange.next(Math.floor(d))}};function Ll(a){return a._scrollStrategy}var Vl=(()=>{class a{get itemSize(){return this._itemSize}set itemSize(e){this._itemSize=_e(e)}_itemSize=20;get minBufferPx(){return this._minBufferPx}set minBufferPx(e){this._minBufferPx=_e(e)}_minBufferPx=100;get maxBufferPx(){return this._maxBufferPx}set maxBufferPx(e){this._maxBufferPx=_e(e)}_maxBufferPx=200;_scrollStrategy=new io(this.itemSize,this.minBufferPx,this.maxBufferPx);ngOnChanges(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)}static \u0275fac=function(o){return new(o||a)};static \u0275dir=N({type:a,selectors:[["cdk-virtual-scroll-viewport","itemSize",""]],inputs:{itemSize:"itemSize",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx"},features:[gt([{provide:gs,useFactory:Ll,deps:[Fn(()=>a)]}]),mt]})}return a})(),Nl=20,Ct=(()=>{class a{_ngZone=p(W);_platform=p(re);_renderer=p(Ae).createRenderer(null,null);_cleanupGlobalListener;constructor(){}_scrolled=new C;_scrolledCount=0;
vendor: 83,523 bytes, lines 64-67
64scrollContainers=new Map;register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){let o=this.scrollContainers.get(e);o&&(o.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=Nl){return this._platform.isBrowser?new Xi(o=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));let r=e>0?this._scrolled.pipe(Kt(e)).subscribe(o):this._scrolled.subscribe(o);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0)}}):ee()}ngOnDestroy(){this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((e,o)=>this.deregister(o)),this._scrolled.complete()}ancestorScrolled(e,o){let r=this.getAncestorScrollContainers(e);return this.scrolled(o).pipe(de(l=>!l||r.indexOf(l)>-1))}getAncestorScrollContainers(e){let o=[];return this.scrollContainers.forEach((r,l)=>{this._scrollableContainsElement(l,e)&&o.push(l)}),o}_scrollableContainsElement(e,o){let r=os(o),l=e.getElementRef().nativeElement;do if(r==l)return!0;while(r=r.parentElement);return!1}static \u0275fac=function(o){return new(o||a)};static \u0275prov=A({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),St=(()=>{class a{elementRef=p(j);scrollDispatcher=p(Ct);ngZone=p(W);dir=p(ve,{optional:!0});_scrollElement=this.elementRef.nativeElement;_destroyed=new C;_renderer=p(Ze);_cleanupScroll;_elementScrolled=new C;constructor(){}ngOnInit(){this._cleanupScroll=this.ngZone.runOutsideAngular(()=>this._renderer.listen(this._scrollElement,"scroll",e=>this._elementScrolled.next(e))),this.scrollDispatcher.register(this)}ngOnDestroy(){this._cleanupScroll?.(),this._elementScrolled.complete(),this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){let o=this.elementRef.nativeElement,r=this.dir&&this.dir.value=="rtl";e.left==null&&(e.left=r?e.end:e.start),e.right==null&&(e.right=r?e.start:e.end),e.bottom!=null&&(e.top=o.scrollHeight-o.clientHeight-e.bottom),r&&tt()!=et.NORMAL?(e.left!=null&&(e.right=o.scrollWidth-o.clientWidth-e.left),tt()==et.INVERTED?e.left=e.right:tt()==et.NEGATED&&(e.left=e.right?-e.right:e.right)):e.right!=null&&(e.left=o.scrollWidth-o.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){let o=this.elementRef.nativeElement;ui()?o.scrollTo(e):(e.top!=null&&(o.scrollTop=e.top),e.left!=null&&(o.scrollLeft=e.left))}measureScrollOffset(e){let o="left",r="right",l=this.elementRef.nativeElement;if(e=="top")return l.scrollTop;if(e=="bottom")return l.scrollHeight-l.clientHeight-l.scrollTop;let d=this.dir&&this.dir.value=="rtl";return e=="start"?e=d?r:o:e=="end"&&(e=d?o:r),d&&tt()==et.INVERTED?e==o?l.scrollWidth-l.clientWidth-l.scrollLeft:l.scrollLeft:d&&tt()==et.NEGATED?e==o?l.scrollLeft+l.scrollWidth-l.clientWidth:-l.scrollLeft:e==o?l.scrollLeft:l.scrollWidth-l.clientWidth-l.scrollLeft}static \u0275fac=function(o){return new(o||a)};static \u0275dir=N({type:a,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]})}return a})(),zl=20,Me=(()=>{class a{_platform=p(re);_listeners;_viewportSize;_change=new C;_document=p(V);constructor(){let e=p(W),o=p(Ae).createRenderer(null,null);e.runOutsideAngular(()=>{if(this._platform.isBrowser){let r=l=>this._change.next(l);this._listeners=[o.listen("window","resize",r),o.listen("window","orientationchange",r)]}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){this._listeners?.forEach(e=>e()),this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){let e=this.getViewportScrollPosition(),{width:o,height:r}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+r,right:e.left+o,height:r,width:o}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let e=this._document,o=this._getWindow(),r=e.documentElement,l=r.getBoundingClientRect(),d=-l.top||e.body.scrollTop||o.scrollY||r.scrollTop||0,f=-l.left||e.body.scrollLeft||o.scrollX||r.scrollLeft||0;return{top:d,left:f}}change(e=zl){return e>0?this._change.pipe(Kt(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}static \u0275fac=function(o){return new(o||a)};static \u0275prov=A({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),ps=new M("VIRTUAL_SCROLLABLE"),jl=(()=>{class a extends St{constructor(){super()}measureViewportSize(e){let o=this.elementRef.nativeElement;return e==="horizontal"?o.clientWidth:o.clientHeight}static \u0275fac=function(o){return new(o||a)};static \u0275dir=N({type:a,features:[Q]})}return a})();function Hl(a,n){return a.start==n.start&&a.end==n.end}var $l=typeof requestAnimationFrame<"u"?kn:Sn,ws=(()=>{class a extends jl{elementRef=p(j);_changeDetectorRef=p(li);_scrollStrategy=p(gs,{optional:!0});scrollable=p(ps,{optional:!0});_platform=p(re);_detachedSubject=new C;_renderedRangeSubject=new C;get orientation(){return this._orientation}set orientation(e){this._orientation!==e&&(this._orientation=e,this._calculateSpacerSize())}_orientation="vertical";appendOnly=!1;scrolledIndexChange=new Xi(e=>this._scrollStrategy.scrolledIndexChange.subscribe(o=>Promise.resolve().then(()=>this.ngZone.run(()=>e.next(o)))));_contentWrapper;renderedRangeStream=this._renderedRangeSubject;_totalContentSize=0;_totalContentWidth=qe("");_totalContentHeight=qe("");_renderedContentTransform;_renderedRange={start:0,end:0};_dataLength=0;_viewportSize=0;_forOf;_renderedContentOffset=0;_renderedContentOffsetNeedsRewrite=!1;_changeDetectionNeeded=qe(!1);_runAfterChangeDetection=[];_viewportChanges=J.EMPTY;_injector=p(P);_isDestroyed=!1;constructor(){super();let e=p(Me);this._scrollStrategy,this._viewportChanges=e.change().subscribe(()=>{this.checkViewportSize()}),this.scrollable||(this.elementRef.nativeElement.classList.add("cdk-virtual-scrollable"),this.scrollable=this);let o=Zn(()=>{this._changeDetectionNeeded()&&this._doChangeDetection()},{injector:p(ii).injector});p(Ln).onDestroy(()=>void o.destroy())}ngOnInit(){this._platform.isBrowser&&(this.scrollable===this&&super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.scrollable.elementScrolled().pipe(Oe(null),Kt(0,$l),Qt(this._destroyed)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()})))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),this._isDestroyed=!0,super.ngOnDestroy()}attach(e){this._forOf,this.ngZone.runOutsideAngular(()=>{this._forOf=e,this._forOf.dataStream.pipe(Qt(this._detachedSubject)).subscribe(o=>{let r=o.length;r!==this._dataLength&&(this._dataLength=r,this._scrollStrategy.onDataLengthChanged()),this._doChangeDetection()})})}detach(){this._forOf=null,this._detachedSubject.next()}getDataLength(){return this._dataLength}getViewportSize(){return this._viewportSize}getRenderedRange(){return this._renderedRange}measureBoundingClientRectWithScrollOffset(e){return this.getElementRef().nativeElement.getBoundingClientRect()[e]}setTotalContentSize(e){this._totalContentSize!==e&&(this._totalContentSize=e,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(e){Hl(this._renderedRange,e)||(this.appendOnly&&(e={start:0,end:Math.max(this._renderedRange.end,e.end)}),this._renderedRangeSubject.next(this._renderedRange=e),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(e,o="to-start"){e=this.appendOnly&&o==="to-start"?0:e;let r=this.dir&&this.dir.value=="rtl",l=this.orientation=="horizontal",d=l?"X":"Y",m=`translate${d}(${Number((l&&r?-1:1)*e)}px)`;this._renderedContentOffset=e,o==="to-end"&&(m+=` translate${d}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=m&&(this._renderedContentTransform=m,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(e,o="auto"){let r={behavior:o};this.orientation==="horizontal"?r.start=e:r.top=e,this.scrollable.scrollTo(r)}scrollToIndex(e,o="auto"){this._scrollStrategy.scrollToIndex(e,o)}measureScrollOffset(e){let o;return this.scrollable==this?o=r=>super.measureScrollOffset(r):o=r=>this.scrollable.measureScrollOffset(r),Math.max(0,o(e??(this.orientation==="horizontal"?"start":"top"))-this.measureViewportOffset())}measureViewportOffset(e){let o,r="left",l="right",d=this.dir?.value=="rtl";e=="start"?o=d?l:r:e=="end"?o=d?r:l:e?o=e:o=this.orientation==="horizontal"?"left":"top";let f=this.scrollable.measureBoundingClientRectWithScrollOffset(o);return this.elementRef.nativeElement.getBoundingClientRect()[o]-f}measureRenderedContentSize(){let e=this._contentWrapper.nativeElement;return this.orientation==="horizontal"?e.offsetWidth:e.offsetHeight}measureRangeSize(e){return this._forOf?this._forOf.measureRangeSize(e,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){this._viewportSize=this.scrollable.measureViewportSize(this.orientation)}_markChangeDetectionNeeded(e){e&&this._runAfterChangeDetection.push(e),!Gn(this._changeDetectionNeeded)&&this.ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this.ngZone.run(()=>{this._changeDetectionNeeded.set(!0)})})})}_doChangeDetection(){this._isDestroyed||this.ngZone.run(()=>{this._changeDetectorRef.markForCheck(),this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,Pe(()=>{this._changeDetectionNeeded.set(!1);let e=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(let o of e)o()},{injector:this._injector})})}_calculateSpacerSize(){this._totalContentHeight.set(this.orientation==="horizontal"?"":`${this._totalContentSize}px`),this._totalContentWidth.set(this.orientation==="horizontal"?`${this._totalContentSize}px`:"")}static \u0275fac=function(o){return new(o||a)};static \u0275cmp=se({type:a,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(o,r){if(o&1&&si(Bl,7),o&2){let l;ri(l=ai())&&(r._contentWrapper=l.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(o,r){o&2&&Ie("cdk-virtual-scroll-orientation-horizontal",r.orientation==="horizontal")("cdk-virtual-scroll-orientation-vertical",r.orientation!=="horizontal")},inputs:{orientation:"orientation",appendOnly:[2,"appendOnly","appendOnly",te]},outputs:{scrolledIndexChange:"scrolledIndexChange"},features:[gt([{provide:St,useFactory:(e,o)=>e||o,deps:[[new Ui,new Vn(ps)],a]}]),Q],ngContentSelectors:Fl,decls:4,vars:4,consts:[["contentWrapper",""],[1,"cdk-virtual-scroll-content-wrapper"],[1,"cdk-virtual-scroll-spacer"]],template:function(o,r){o&1&&(oi(),Wn(0,"div",1,0),ni(2),Yn(),Xn(3,"div",2)),o&2&&(zn(3),Un("width",r._totalContentWidth())("height",r._totalContentHeight()))},styles:[`cdk-virtual-scroll-viewport{display:block;position:relative;transform:translateZ(0)}.cdk-virtual-scrollable{overflow:auto;will-change:scroll-position;contain:strict}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{height:1px;transform-origin:0 0;flex:0 0 auto}[dir=rtl] .cdk-virtual-scroll-spacer{transform-origin:100% 0} 65`],encapsulation:2,changeDetection:0})}return a})();function ms(a,n,e){let o=e;if(!o.getBoundingClientRect)return 0;let r=o.getBoundingClientRect();return a==="horizontal"?n==="start"?r.left:r.right:n==="start"?r.top:r.bottom}var Wl=(()=>{class a{_viewContainerRef=p(Re);_template=p(we);_differs=p(Qn);_viewRepeater=p(mi);_viewport=p(ws,{skipSelf:!0});viewChange=new C;_dataSourceChanges=new C;get cdkVirtualForOf(){return this._cdkVirtualForOf}set cdkVirtualForOf(e){this._cdkVirtualForOf=e,to(e)?this._dataSourceChanges.next(e):this._dataSourceChanges.next(new yt(Gt(e)?e:Array.from(e||[])))}_cdkVirtualForOf;get cdkVirtualForTrackBy(){return this._cdkVirtualForTrackBy}set cdkVirtualForTrackBy(e){this._needsUpdate=!0,this._cdkVirtualForTrackBy=e?(o,r)=>e(o+(this._renderedRange?this._renderedRange.start:0),r):void 0}_cdkVirtualForTrackBy;set cdkVirtualForTemplate(e){e&&(this._needsUpdate=!0,this._template=e)}get cdkVirtualForTemplateCacheSize(){return this._viewRepeater.viewCacheSize}set cdkVirtualForTemplateCacheSize(e){this._viewRepeater.viewCacheSize=_e(e)}dataStream=this._dataSourceChanges.pipe(Oe(null),Pn(),Mn(([e,o])=>this._changeDataSource(e,o)),Tn(1));_differ=null;_data;_renderedItems;_renderedRange;_needsUpdate=!1;_destroyed=new C;constructor(){let e=p(W);this.dataStream.subscribe(o=>{this._data=o,this._onRenderedDataChange()}),this._viewport.renderedRangeStream.pipe(Qt(this._destroyed)).subscribe(o=>{this._renderedRange=o,this.viewChange.observers.length&&e.run(()=>this.viewChange.next(this._renderedRange)),this._onRenderedDataChange()}),this._viewport.attach(this)}measureRangeSize(e,o){if(e.start>=e.end)return 0;e.start<this._renderedRange.start||e.end>this._renderedRange.end;let r=e.start-this._renderedRange.start,l=e.end-e.start,d,f;for(let m=0;m<l;m++){let w=this._viewContainerRef.get(m+r);if(w&&w.rootNodes.length){d=f=w.rootNodes[0];break}}for(let m=l-1;m>-1;m--){let w=this._viewContainerRef.get(m+r);if(w&&w.rootNodes.length){f=w.rootNodes[w.rootNodes.length-1];break}}return d&&f?ms(o,"end",f)-ms(o,"start",d):0}ngDoCheck(){if(this._differ&&this._needsUpdate){let e=this._differ.diff(this._renderedItems);e?this._applyChanges(e):this._updateContext(),this._needsUpdate=!1}}ngOnDestroy(){this._viewport.detach(),this._dataSourceChanges.next(void 0),this._dataSourceChanges.complete(),this.viewChange.complete(),this._destroyed.next(),this._destroyed.complete(),this._viewRepeater.detach()}_onRenderedDataChange(){this._renderedRange&&(this._renderedItems=this._data.slice(this._renderedRange.start,this._renderedRange.end),this._differ||(this._differ=this._differs.find(this._renderedItems).create((e,o)=>this.cdkVirtualForTrackBy?this.cdkVirtualForTrackBy(e,o):o)),this._needsUpdate=!0)}_changeDataSource(e,o){return e&&e.disconnect(this),this._needsUpdate=!0,o?o.connect(this):ee()}_updateContext(){let e=this._data.length,o=this._viewContainerRef.length;for(;o--;){let r=this._viewContainerRef.get(o);r.context.index=this._renderedRange.start+o,r.context.count=e,this._updateComputedContextProperties(r.context),r.detectChanges()}}_applyChanges(e){this._viewRepeater.applyChanges(e,this._viewContainerRef,(l,d,f)=>this._getEmbeddedViewArgs(l,f),l=>l.item),e.forEachIdentityChange(l=>{let d=this._viewContainerRef.get(l.currentIndex);d.context.$implicit=l.item});let o=this._data.length,r=this._viewContainerRef.length;for(;r--;){let l=this._viewContainerRef.get(r);l.context.index=this._renderedRange.start+r,l.context.count=o,this._updateComputedContextProperties(l.context)}}_updateComputedContextProperties(e){e.first=e.index===0,e.last=e.index===e.count-1,e.even=e.index%2===0,e.odd=!e.even}_getEmbeddedViewArgs(e,o){return{templateRef:this._template,context:{$implicit:e.item,cdkVirtualForOf:this._cdkVirtualForOf,index:-1,count:-1,first:!1,last:!1,odd:!1,even:!1},index:o}}static ngTemplateContextGuard(e,o){return!0}static \u0275fac=function(o){return new(o||a)};static \u0275dir=N({type:a,selectors:[["","cdkVirtualFor","","cdkVirtualForOf",""]],inputs:{cdkVirtualForOf:"cdkVirtualForOf",cdkVirtualForTrackBy:"cdkVirtualForTrackBy",cdkVirtualForTemplate:"cdkVirtualForTemplate",cdkVirtualForTemplateCacheSize:"cdkVirtualForTemplateCacheSize"},features:[gt([{provide:mi,useClass:bt}])]})}return a})();var oo=(()=>{class a{static \u0275fac=function(o){return new(o||a)};static \u0275mod=G({type:a});static \u0275inj=q({})}return a})(),no=(()=>{class a{static \u0275fac=function(o){return new(o||a)};static \u0275mod=G({type:a});static \u0275inj=q({imports:[wt,oo,wt,oo]})}return a})();var kt=class{_attachedHost;attach(n){return this._attachedHost=n,n.attach(this)}detach(){let n=this._attachedHost;n!=null&&(this._attachedHost=null,n.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(n){this._attachedHost=n}},it=class extends kt{component;viewContainerRef;injector;projectableNodes;constructor(n,e,o,r){super(),this.component=n,this.viewContainerRef=e,this.injector=o,this.projectableNodes=r}},be=class extends kt{templateRef;viewContainerRef;context;injector;constructor(n,e,o,r){super(),this.templateRef=n,this.viewContainerRef=e,this.context=o,this.injector=r}get origin(){return this.templateRef.elementRef}attach(n,e=this.context){return this.context=e,super.attach(n)}detach(){return this.context=void 0,super.detach()}},so=class extends kt{element;constructor(n){super(),this.element=n instanceof j?n.nativeElement:n}},ot=class{_attachedPortal;_disposeFn;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(n){if(n instanceof it)return this._attachedPortal=n,this.attachComponentPortal(n);if(n instanceof be)return this._attachedPortal=n,this.attachTemplatePortal(n);if(this.attachDomPortal&&n instanceof so)return this._attachedPortal=n,this.attachDomPortal(n)}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(n){this._disposeFn=n}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}},gi=class extends ot{outletElement;_appRef;_defaultInjector;constructor(n,e,o){super(),this.outletElement=n,this._appRef=e,this._defaultInjector=o}attachComponentPortal(n){let e;if(n.viewContainerRef){let o=n.injector||n.viewContainerRef.injector,r=o.get(qi,null,{optional:!0})||void 0;e=n.viewContainerRef.createComponent(n.component,{index:n.viewContainerRef.length,injector:o,ngModuleRef:r,projectableNodes:n.projectableNodes||void 0}),this.setDisposeFn(()=>e.destroy())}else{let o=this._appRef,r=n.injector||this._defaultInjector||P.NULL,l=r.get(ei,o.injector);e=Jn(n.component,{elementInjector:r,environmentInjector:l,projectableNodes:n.projectableNodes||void 0}),o.attachView(e.hostView),this.setDisposeFn(()=>{o.viewCount>0&&o.detachView(e.hostView),e.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(e)),this._attachedPortal=n,e}attachTemplatePortal(n){let e=n.viewContainerRef,o=e.createEmbeddedView(n.templateRef,n.context,{injector:n.injector});return o.rootNodes.forEach(r=>this.outletElement.appendChild(r)),o.detectChanges(),this.setDisposeFn(()=>{let r=e.indexOf(o);r!==-1&&e.remove(r)}),this._attachedPortal=n,o}attachDomPortal=n=>{let e=n.element;e.parentNode;let o=this.outletElement.ownerDocument.createComment("dom-portal");e.parentNode.insertBefore(o,e),this.outletElement.appendChild(e),this._attachedPortal=n,super.setDisposeFn(()=>{o.parentNode&&o.parentNode.replaceChild(e,o)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}},fd=(()=>{class a extends be{constructor(){let e=p(we),o=p(Re);super(e,o)}static \u0275fac=function(o){return new(o||a)};static \u0275dir=N({type:a,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[Q]})}return a})();var xt=(()=>{class a extends ot{_moduleRef=p(qi,{optional:!0});_document=p(V);_viewContainerRef=p(Re);_isInitialized=!1;_attachedRef;constructor(){super()}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}attached=new Z;get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);let o=e.viewContainerRef!=null?e.viewContainerRef:this._viewContainerRef,r=o.createComponent(e.component,{index:o.length,injector:e.injector||o.injector,projectableNodes:e.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0});return o!==this._viewContainerRef&&this._getRootNode().appendChild(r.hostView.rootNodes[0]),super.setDisposeFn(()=>r.destroy()),this._attachedPortal=e,this._attachedRef=r,this.attached.emit(r),r}attachTemplatePortal(e){e.setAttachedHost(this);let o=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=o,this.attached.emit(o),o}attachDomPortal=e=>{let o=e.element;o.parentNode;let r=this._document.createComment("dom-portal");e.setAttachedHost(this),o.parentNode.insertBefore(r,o),this._getRootNode().appendChild(o),this._attachedPortal=e,super.setDisposeFn(()=>{r.parentNode&&r.parentNode.replaceChild(o,r)})};_getRootNode(){let e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}static \u0275fac=function(o){return new(o||a)};static \u0275dir=N({type:a,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[Q]})}return a})();var Be=(()=>{class a{static \u0275fac=function(o){return new(o||a)};static \u0275mod=G({type:a});static \u0275inj=q({})}return a})();var _s=ui();function st(a){return new wi(a.get(Me),a.get(V))}var wi=class{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=!1;_document;constructor(n,e){this._viewportRuler=n,this._document=e}attach(){}enable(){if(this._canBeEnabled()){let n=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=n.style.left||"",this._previousHTMLStyles.top=n.style.top||"",n.style.left=R(-this._previousScrollPosition.left),n.style.top=R(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let n=this._document.documentElement,e=this._document.body,o=n.style,r=e.style,l=o.scrollBehavior||"",d=r.scrollBehavior||"";this._isEnabled=!1,o.left=this._previousHTMLStyles.left,o.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),_s&&(o.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),_s&&(o.scrollBehavior=l,r.scrollBehavior=d)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let e=this._document.documentElement,o=this._viewportRuler.getViewportSize();return e.scrollHeight>o.height||e.scrollWidth>o.width}};function xs(a,n){return new _i(a.get(Ct),a.get(W),a.get(Me),n)}var _i=class{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(n,e,o,r){this._scrollDispatcher=n,this._ngZone=e,this._viewportRuler=o,this._config=r}attach(n){this._overlayRef,this._overlayRef=n}enable(){if(this._scrollSubscription)return;let n=this._scrollDispatcher.scrolled(0).pipe(de(e=>!e||!this._overlayRef.overlayElement.contains(e.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=n.subscribe(()=>{let e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=n.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}_detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}};var Et=class{enable(){}disable(){}attach(){}};function ro(a,n){return n.some(e=>{let o=a.bottom<e.top,r=a.top>e.bottom,l=a.right<e.left,d=a.left>e.right;return o||r||l||d})}function vs(a,n){return n.some(e=>{let o=a.top<e.top,r=a.bottom>e.bottom,l=a.left<e.left,d=a.right>e.right;return o||r||l||d})}function Si(a,n){return new vi(a.get(Ct),a.get(Me),a.get(W),n)}var vi=class{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(n,e,o,r){this._scrollDispatcher=n,this._viewportRuler=e,this._ngZone=o,this._config=r}attach(n){this._overlayRef,this._overlayRef=n}enable(){if(!this._scrollSubscription){let n=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(n).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:o,height:r}=this._viewportRuler.getViewportSize();ro(e,[{width:o,height:r,bottom:r,right:o,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}})}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},Es=(()=>{class a{_injector=p(P);constructor(){}noop=()=>new Et;close=e=>xs(this._injector,e);block=()=>st(this._injector);reposition=e=>Si(this._injector,e);static \u0275fac=function(o){return new(o||a)};static \u0275prov=A({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),Le=class{positionStrategy;scrollStrategy=new Et;panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";disableAnimations;width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;constructor(n){if(n){let e=Object.keys(n);for(let o of e)n[o]!==void 0&&(this[o]=n[o])}}};var yi=class{connectionPair;scrollableViewProperties;constructor(n,e){this.connectionPair=n,this.scrollableViewProperties=e}};var Ds=(()=>{class a{_attachedOverlays=[];_document=p(V);_isAttached;constructor(){}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){let o=this._attachedOverlays.indexOf(e);o>-1&&this._attachedOverlays.splice(o,1),this._attachedOverlays.length===0&&this.detach()}static \u0275fac=function(o){return new(o||a)};static \u0275prov=A({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),Os=(()=>{class a extends Ds{_ngZone=p(W);_renderer=p(Ae).createRenderer(null,null);_cleanupKeydown;add(e){super.add(e),this._isAttached||(this._ngZone.runOutsideAngular(()=>{this._cleanupKeydown=this._renderer.listen("body","keydown",this._keydownListener)}),this._isAttached=!0)}detach(){this._isAttached&&(this._cleanupKeydown?.(),this._isAttached=!1)}_keydownListener=e=>{let o=this._attachedOverlays;for(let r=o.length-1;r>-1;r--)if(o[r]._keydownEvents.observers.length>0){this._ngZone.run(()=>o[r]._keydownEvents.next(e));break}};static \u0275fac=(()=>{let e;return function(r){return(e||(e=ge(a)))(r||a)}})();static \u0275prov=A({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),As=(()=>{class a extends Ds{_platform=p(re);_ngZone=p(W);_renderer=p(Ae).createRenderer(null,null);_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget;_cleanups;add(e){if(super.add(e),!this._isAttached){let o=this._document.body,r={capture:!0},l=this._renderer;this._cleanups=this._ngZone.runOutsideAngular(()=>[l.listen(o,"pointerdown",this._pointerDownListener,r),l.listen(o,"click",this._clickListener,r),l.listen(o,"auxclick",this._clickListener,r),l.listen(o,"contextmenu",this._clickListener,r)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=o.style.cursor,o.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){this._isAttached&&(this._cleanups?.forEach(e=>e()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}_pointerDownListener=e=>{this._pointerDownEventTarget=hi(e)};_clickListener=e=>{let o=hi(e),r=e.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:o;this._pointerDownEventTarget=null;let l=this._attachedOverlays.slice();for(let d=l.length-1;d>-1;d--){let f=l[d];if(f._outsidePointerEvents.observers.length<1||!f.hasAttached())continue;if(ys(f.overlayElement,o)||ys(f.overlayElement,r))break;let m=f._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>m.next(e)):m.next(e)}};static \u0275fac=(()=>{let e;return function(r){return(e||(e=ge(a)))(r||a)}})();static \u0275prov=A({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();function ys(a,n){let e=typeof ShadowRoot<"u"&&ShadowRoot,o=n;for(;o;){if(o===a)return!0;o=e&&o instanceof ShadowRoot?o.host:o.parentNode}return!1}var Rs=(()=>{class a{static \u0275fac=function(o){return new(o||a)};static \u0275cmp=se({type:a,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(o,r){},styles:[`.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed}@layer cdk-overlay{.cdk-overlay-container{z-index:1000}}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute}@layer cdk-overlay{.cdk-global-overlay-wrapper{z-index:1000}}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%}@layer cdk-overlay{.cdk-overlay-pane{z-index:1000}}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);opacity:0;touch-action:manipulation}@layer cdk-overlay{.cdk-overlay-backdrop{z-index:1000;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}}@media(prefers-reduced-motion){.cdk-overlay-backdrop{transition-duration:1ms}}.cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors: active){.cdk-overlay-backdrop-showing{opacity:.6}}@layer cdk-overlay{.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px}@layer cdk-overlay{.cdk-overlay-connected-position-bounding-box{z-index:1000}}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll} 66`],encapsulation:2,changeDetection:0})}return a})(),ki=(()=>{class a{_platform=p(re);_containerElement;_document=p(V);_styleLoader=p(Zi);constructor(){}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let e="cdk-overlay-container";if(this._platform.isBrowser||Qi()){let r=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let l=0;l<r.length;l++)r[l].remove()}let o=this._document.createElement("div");o.classList.add(e),Qi()?o.setAttribute("platform","test"):this._platform.isBrowser||o.setAttribute("platform","server"),this._document.body.appendChild(o),this._containerElement=o}_loadStyles(){this._styleLoader.load(Rs)}static \u0275fac=function(o){return new(o||a)};static \u0275prov=A({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),ao=class{_renderer;_ngZone;element;_cleanupClick;_cleanupTransitionEnd;_fallbackTimeout;constructor(n,e,o,r){this._renderer=e,this._ngZone=o,this.element=n.createElement("div"),this.element.classList.add("cdk-overlay-backdrop"),this._cleanupClick=e.listen(this.element,"click",r)}detach(){this._ngZone.runOutsideAngular(()=>{let n=this.element;clearTimeout(this._fallbackTimeout),this._cleanupTransitionEnd?.(),this._cleanupTransitionEnd=this._renderer.listen(n,"transitionend",this.dispose),this._fallbackTimeout=setTimeout(this.dispose,500),n.style.pointerEvents="none",n.classList.remove("cdk-overlay-backdrop-showing")})}dispose=()=>{clearTimeout(this._fallbackTimeout),this._cleanupClick?.(),this._cleanupTransitionEnd?.(),this._cleanupClick=this._cleanupTransitionEnd=this._fallbackTimeout=void 0,this.element.remove()}},nt=class{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new C;_attachments=new C;_detachments=new C;_positionStrategy;_scrollStrategy;_locationChanges=J.EMPTY;_backdropRef=null;_detachContentMutationObserver;_detachContentAfterRenderRef;_previousHostParent;_keydownEvents=new C;_outsidePointerEvents=new C;_afterNextRenderRef;constructor(n,e,o,r,l,d,f,m,w,_=!1,h,ie){this._portalOutlet=n,this._host=e,this._pane=o,this._config=r,this._ngZone=l,this._keyboardDispatcher=d,this._document=f,this._location=m,this._outsideClickDispatcher=w,this._animationsDisabled=_,this._injector=h,this._renderer=ie,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropRef?.element||null}get hostElement(){return this._host}attach(n){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let e=this._portalOutlet.attach(n);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=Pe(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._completeDetachContent(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof e?.onDestroy=="function"&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let n=this._portalOutlet.detach();return this._detachments.next(),this._completeDetachContent(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),n}dispose(){let n=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._backdropRef?.dispose(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=this._backdropRef=null,n&&this._detachments.next(),this._detachments.complete(),this._completeDetachContent()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(n){n!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=n,this.hasAttached()&&(n.attach(this),this.updatePosition()))}updateSize(n){this._config=O(O({},this._config),n),this._updateElementSize()}setDirection(n){this._config=qt(O({},this._config),{direction:n}),this._updateElementDirection()}addPanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!0)}removePanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!1)}getDirection(){let n=this._config.direction;return n?typeof n=="string"?n:n.value:"ltr"}updateScrollStrategy(n){n!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=n,this.hasAttached()&&(n.attach(this),n.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let n=this._pane.style;n.width=R(this._config.width),n.height=R(this._config.height),n.minWidth=R(this._config.minWidth),n.minHeight=R(this._config.minHeight),n.maxWidth=R(this._config.maxWidth),n.maxHeight=R(this._config.maxHeight)}_togglePointerEvents(n){this._pane.style.pointerEvents=n?"":"none"}_attachBackdrop(){let n="cdk-overlay-backdrop-showing";this._backdropRef?.dispose(),this._backdropRef=new ao(this._document,this._renderer,this._ngZone,e=>{this._backdropClick.next(e)}),this._animationsDisabled&&this._backdropRef.element.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropRef.element,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropRef.element,this._host),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._backdropRef?.element.classList.add(n))}):this._backdropRef.element.classList.add(n)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){this._animationsDisabled?(this._backdropRef?.dispose(),this._backdropRef=null):this._backdropRef?.detach()}_toggleClasses(n,e,o){let r=Ki(e||[]).filter(l=>!!l);r.length&&(o?n.classList.add(...r):n.classList.remove(...r))}_detachContentWhenEmpty(){let n=!1;try{this._detachContentAfterRenderRef=Pe(()=>{n=!0,this._detachContent()},{injector:this._injector})}catch(e){if(n)throw e;this._detachContent()}globalThis.MutationObserver&&this._pane&&(this._detachContentMutationObserver||=new globalThis.MutationObserver(()=>{this._detachContent()}),this._detachContentMutationObserver.observe(this._pane,{childList:!0}))}_detachContent(){(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),this._completeDetachContent())}_completeDetachContent(){this._detachContentAfterRenderRef?.destroy(),this._detachContentAfterRenderRef=void 0,this._detachContentMutationObserver?.disconnect()}_disposeScrollStrategy(){let n=this._scrollStrategy;n?.disable(),n?.detach?.()}},bs="cdk-overlay-connected-position-bounding-box",Xl=/([A-Za-z%]+)$/;function ho(a,n){return new bi(n,a.get(Me),a.get(V),a.get(re),a.get(ki))}var bi=class{_viewportRuler;_document;_platform;_overlayContainer;_overlayRef;_isInitialRender;_lastBoundingBoxSize={width:0,height:0};_isPushed=!1;_canPush=!0;_growAfterOpen=!1;_hasFlexibleDimensions=!0;_positionLocked=!1;_originRect;_overlayRect;_viewportRect;_containerRect;_viewportMargin=0;_scrollables=[];_preferredPositions=[];_origin;_pane;_isDisposed;_boundingBox;_lastPosition;_lastScrollVisibility;_positionChanges=new C;_resizeSubscription=J.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount;positionChanges=this._positionChanges;get positions(){return this._preferredPositions}constructor(n,e,o,r,l){this._viewportRuler=e,this._document=o,this._platform=r,this._overlayContainer=l,this.setOrigin(n)}attach(n){this._overlayRef&&this._overlayRef,this._validatePositions(),n.hostElement.classList.add(bs),this._overlayRef=n,this._boundingBox=n.hostElement,this._pane=n.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let n=this._originRect,e=this._overlayRect,o=this._viewportRect,r=this._containerRect,l=[],d;for(let f of this._preferredPositions){let m=this._getOriginPoint(n,r,f),w=this._getOverlayPoint(m,e,f),_=this._getOverlayFit(w,e,o,f);if(_.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(f,m);return}if(this._canFitWithFlexibleDimensions(_,w,o)){l.push({position:f,origin:m,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(m,f)});continue}(!d||d.overlayFit.visibleArea<_.visibleArea)&&(d={overlayFit:_,overlayPoint:w,originPoint:m,position:f,overlayRect:e})}if(l.length){let f=null,m=-1;for(let w of l){let _=w.boundingBoxRect.width*w.boundingBoxRect.height*(w.position.weight||1);_>m&&(m=_,f=w)}this._isPushed=!1,this._applyPosition(f.position,f.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(d.position,d.originPoint);return}this._applyPosition(d.position,d.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Fe(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(bs),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let n=this._lastPosition;if(n){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let e=this._getOriginPoint(this._originRect,this._containerRect,n);this._applyPosition(n,e)}else this.apply()}withScrollableContainers(n){return this._scrollables=n,this}withPositions(n){return this._preferredPositions=n,n.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(n){return this._viewportMargin=n,this}withFlexibleDimensions(n=!0){return this._hasFlexibleDimensions=n,this}withGrowAfterOpen(n=!0){return this._growAfterOpen=n,this}withPush(n=!0){return this._canPush=n,this}withLockedPosition(n=!0){return this._positionLocked=n,this}setOrigin(n){return this._origin=n,this}withDefaultOffsetX(n){return this._offsetX=n,this}withDefaultOffsetY(n){return this._offsetY=n,this}withTransformOriginOn(n){return this._transformOriginSelector=n,this}_getOriginPoint(n,e,o){let r;if(o.originX=="center")r=n.left+n.width/2;else{let d=this._isRtl()?n.right:n.left,f=this._isRtl()?n.left:n.right;r=o.originX=="start"?d:f}e.left<0&&(r-=e.left);let l;return o.originY=="center"?l=n.top+n.height/2:l=o.originY=="top"?n.top:n.bottom,e.top<0&&(l-=e.top),{x:r,y:l}}_getOverlayPoint(n,e,o){let r;o.overlayX=="center"?r=-e.width/2:o.overlayX==="start"?r=this._isRtl()?-e.width:0:r=this._isRtl()?0:-e.width;let l;return o.overlayY=="center"?l=-e.height/2:l=o.overlayY=="top"?0:-e.height,{x:n.x+r,y:n.y+l}}_getOverlayFit(n,e,o,r){let l=Ss(e),{x:d,y:f}=n,m=this._getOffset(r,"x"),w=this._getOffset(r,"y");m&&(d+=m),w&&(f+=w);let _=0-d,h=d+l.width-o.width,ie=0-f,B=f+l.height-o.height,F=this._subtractOverflows(l.width,_,h),H=this._subtractOverflows(l.height,ie,B),I=F*H;return{visibleArea:I,isCompletelyWithinViewport:l.width*l.height===I,fitsInViewportVertically:H===l.height,fitsInViewportHorizontally:F==l.width}}_canFitWithFlexibleDimensions(n,e,o){if(this._hasFlexibleDimensions){let r=o.bottom-e.y,l=o.right-e.x,d=Cs(this._overlayRef.getConfig().minHeight),f=Cs(this._overlayRef.getConfig().minWidth),m=n.fitsInViewportVertically||d!=null&&d<=r,w=n.fitsInViewportHorizontally||f!=null&&f<=l;return m&&w}return!1}_pushOverlayOnScreen(n,e,o){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};let r=Ss(e),l=this._viewportRect,d=Math.max(n.x+r.width-l.width,0),f=Math.max(n.y+r.height-l.height,0),m=Math.max(l.top-o.top-n.y,0),w=Math.max(l.left-o.left-n.x,0),_=0,h=0;return r.width<=l.width?_=w||-d:_=n.x<this._viewportMargin?l.left-o.left-n.x:0,r.height<=l.height?h=m||-f:h=n.y<this._viewportMargin?l.top-o.top-n.y:0,this._previousPushAmount={x:_,y:h},{x:n.x+_,y:n.y+h}}_applyPosition(n,e){if(this._setTransformOrigin(n),this._setOverlayElementStyles(e,n),this._setBoundingBoxStyles(e,n),n.panelClass&&this._addPanelClasses(n.panelClass),this._positionChanges.observers.length){let o=this._getScrollVisibility();if(n!==this._lastPosition||!this._lastScrollVisibility||!Ul(this._lastScrollVisibility,o)){let r=new yi(n,o);this._positionChanges.next(r)}this._lastScrollVisibility=o}this._lastPosition=n,this._isInitialRender=!1}_setTransformOrigin(n){if(!this._transformOriginSelector)return;let e=this._boundingBox.querySelectorAll(this._transformOriginSelector),o,r=n.overlayY;n.overlayX==="center"?o="center":this._isRtl()?o=n.overlayX==="start"?"right":"left":o=n.overlayX==="start"?"left":"right";for(let l=0;l<e.length;l++)e[l].style.transformOrigin=`${o} ${r}`}_calculateBoundingBoxRect(n,e){let o=this._viewportRect,r=this._isRtl(),l,d,f;if(e.overlayY==="top")d=n.y,l=o.height-d+this._viewportMargin;else if(e.overlayY==="bottom")f=o.height-n.y+this._viewportMargin*2,l=o.height-f+this._viewportMargin;else{let B=Math.min(o.bottom-n.y+o.top,n.y),F=this._lastBoundingBoxSize.height;l=B*2,d=n.y-B,l>F&&!this._isInitialRender&&!this._growAfterOpen&&(d=n.y-F/2)}let m=e.overlayX==="start"&&!r||e.overlayX==="end"&&r,w=e.overlayX==="end"&&!r||e.overlayX==="start"&&r,_,h,ie;if(w)ie=o.width-n.x+this._viewportMargin*2,_=n.x-this._viewportMargin;else if(m)h=n.x,_=o.right-n.x;else{let B=Math.min(o.right-n.x+o.left,n.x),F=this._lastBoundingBoxSize.width;_=B*2,h=n.x-B,_>F&&!this._isInitialRender&&!this._growAfterOpen&&(h=n.x-F/2)}return{top:d,left:h,bottom:f,right:ie,width:_,height:l}}_setBoundingBoxStyles(n,e){let o=this._calculateBoundingBoxRect(n,e);!this._isInitialRender&&!this._growAfterOpen&&(o.height=Math.min(o.height,this._lastBoundingBoxSize.height),o.width=Math.min(o.width,this._lastBoundingBoxSize.width));let r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right=r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{let l=this._overlayRef.getConfig().maxHeight,d=this._overlayRef.getConfig().maxWidth;r.height=R(o.height),r.top=R(o.top),r.bottom=R(o.bottom),r.width=R(o.width),r.left=R(o.left),r.right=R(o.right),e.overlayX==="center"?r.alignItems="center":r.alignItems=e.overlayX==="end"?"flex-end":"flex-start",e.overlayY==="center"?r.justifyContent="center":r.justifyContent=e.overlayY==="bottom"?"flex-end":"flex-start",l&&(r.maxHeight=R(l)),d&&(r.maxWidth=R(d))}this._lastBoundingBoxSize=o,Fe(this._boundingBox.style,r)}_resetBoundingBoxStyles(){Fe(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Fe(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(n,e){let o={},r=this._hasExactPosition(),l=this._hasFlexibleDimensions,d=this._overlayRef.getConfig();if(r){let _=this._viewportRuler.getViewportScrollPosition();Fe(o,this._getExactOverlayY(e,n,_)),Fe(o,this._getExactOverlayX(e,n,_))}else o.position="static";let f="",m=this._getOffset(e,"x"),w=this._getOffset(e,"y");m&&(f+=`translateX(${m}px) `),w&&(f+=`translateY(${w}px)`),o.transform=f.trim(),d.maxHeight&&(r?o.maxHeight=R(d.maxHeight):l&&(o.maxHeight="")),d.maxWidth&&(r?o.maxWidth=R(d.maxWidth):l&&(o.maxWidth="")),Fe(this._pane.style,o)}_getExactOverlayY(n,e,o){let r={top:"",bottom:""},l=this._getOverlayPoint(e,this._overlayRect,n);if(this._isPushed&&(l=this._pushOverlayOnScreen(l,this._overlayRect,o)),n.overlayY==="bottom"){let d=this._document.documentElement.clientHeight;r.bottom=`${d-(l.y+this._overlayRect.height)}px`}else r.top=R(l.y);return r}_getExactOverlayX(n,e,o){let r={left:"",right:""},l=this._getOverlayPoint(e,this._overlayRect,n);this._isPushed&&(l=this._pushOverlayOnScreen(l,this._overlayRect,o));let d;if(this._isRtl()?d=n.overlayX==="end"?"left":"right":d=n.overlayX==="end"?"right":"left",d==="right"){let f=this._document.documentElement.clientWidth;r.right=`${f-(l.x+this._overlayRect.width)}px`}else r.left=R(l.x);return r}_getScrollVisibility(){let n=this._getOriginRect(),e=this._pane.getBoundingClientRect(),o=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:vs(n,o),isOriginOutsideView:ro(n,o),isOverlayClipped:vs(e,o),isOverlayOutsideView:ro(e,o)}}_subtractOverflows(n,...e){return e.reduce((o,r)=>o-Math.max(r,0),n)}_getNarrowedViewportRect(){let n=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,o=this._viewportRuler.getViewportScrollPosition();return{top:o.top+this._viewportMargin,left:o.left+this._viewportMargin,right:o.left+n-this._viewportMargin,bottom:o.top+e-this._viewportMargin,width:n-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(n,e){return e==="x"?n.offsetX==null?this._offsetX:n.offsetX:n.offsetY==null?this._offsetY:n.offsetY}_validatePositions(){}_addPanelClasses(n){this._pane&&Ki(n).forEach(e=>{e!==""&&this._appliedPanelClasses.indexOf(e)===-1&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(n=>{this._pane.classList.remove(n)}),this._appliedPanelClasses=[])}_getOriginRect(){let n=this._origin;if(n instanceof j)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();let e=n.width||0,o=n.height||0;return{top:n.y,bottom:n.y+o,left:n.x,right:n.x+e,height:o,width:e}}};function Fe(a,n){for(let e in n)n.hasOwnProperty(e)&&(a[e]=n[e]);return a}function Cs(a){if(typeof a!="number"&&a!=null){let[n,e]=a.split(Xl);return!e||e==="px"?parseFloat(n):null}return a||null}function Ss(a){return{top:Math.floor(a.top),right:Math.floor(a.right),bottom:Math.floor(a.bottom),left:Math.floor(a.left),width:Math.floor(a.width),height:Math.floor(a.height)}}function Ul(a,n){return a===n?!0:a.isOriginClipped===n.isOriginClipped&&a.isOriginOutsideView===n.isOriginOutsideView&&a.isOverlayClipped===n.isOverlayClipped&&a.isOverlayOutsideView===n.isOverlayOutsideView}var ks="cdk-global-overlay-wrapper";function rt(a){return new Ci}var Ci=class{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=!1;attach(n){let e=n.getConfig();this._overlayRef=n,this._width&&!e.width&&n.updateSize({width:this._width}),this._height&&!e.height&&n.updateSize({height:this._height}),n.hostElement.classList.add(ks),this._isDisposed=!1}top(n=""){return this._bottomOffset="",this._topOffset=n,this._alignItems="flex-start",this}left(n=""){return this._xOffset=n,this._xPosition="left",this}bottom(n=""){return this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this}right(n=""){return this._xOffset=n,this._xPosition="right",this}start(n=""){return this._xOffset=n,this._xPosition="start",this}end(n=""){return this._xOffset=n,this._xPosition="end",this}width(n=""){return this._overlayRef?this._overlayRef.updateSize({width:n}):this._width=n,this}height(n=""){return this._overlayRef?this._overlayRef.updateSize({height:n}):this._height=n,this}centerHorizontally(n=""){return this.left(n),this._xPosition="center",this}centerVertically(n=""){return this.top(n),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,o=this._overlayRef.getConfig(),{width:r,height:l,maxWidth:d,maxHeight:f}=o,m=(r==="100%"||r==="100vw")&&(!d||d==="100%"||d==="100vw"),w=(l==="100%"||l==="100vh")&&(!f||f==="100%"||f==="100vh"),_=this._xPosition,h=this._xOffset,ie=this._overlayRef.getConfig().direction==="rtl",B="",F="",H="";m?H="flex-start":_==="center"?(H="center",ie?F=h:B=h):ie?_==="left"||_==="end"?(H="flex-end",B=h):(_==="right"||_==="start")&&(H="flex-start",F=h):_==="left"||_==="start"?(H="flex-start",B=h):(_==="right"||_==="end")&&(H="flex-end",F=h),n.position=this._cssPosition,n.marginLeft=m?"0":B,n.marginTop=w?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=m?"0":F,e.justifyContent=H,e.alignItems=w?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,o=e.style;e.classList.remove(ks),o.justifyContent=o.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}},Ps=(()=>{class a{_injector=p(P);constructor(){}global(){return rt()}flexibleConnectedTo(e){return ho(this._injector,e)}static \u0275fac=function(o){return new(o||a)};static \u0275prov=A({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();function Dt(a,n){a.get(Zi).load(Rs);let e=a.get(ki),o=a.get(V),r=a.get(Te),l=a.get(ii),d=a.get(ve),f=o.createElement("div"),m=o.createElement("div");m.id=r.getId("cdk-overlay-"),m.classList.add("cdk-overlay-pane"),f.appendChild(m),e.getContainerElement().appendChild(f);let w=new gi(m,l,a),_=new Le(n),h=a.get(Ze,null,{optional:!0})||a.get(Ae).createRenderer(null,null);return _.direction=_.direction||d.value,new nt(w,f,m,_,a.get(W),a.get(Os),o,a.get(es),a.get(As),n?.disableAnimations??a.get(Nn,null,{optional:!0})==="NoopAnimations",a.get(ei),h)}var Is=(()=>{class a{scrollStrategies=p(Es);_positionBuilder=p(Ps);_injector=p(P);constructor(){}create(e){return Dt(this._injector,e)}position(){return this._positionBuilder}static \u0275fac=function(o){return new(o||a)};static \u0275prov=A({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),ql=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],Ts=new M("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let a=p(P);return()=>Si(a)}}),lo=(()=>{class a{elementRef=p(j);constructor(){}static \u0275fac=function(o){return new(o||a)};static \u0275dir=N({type:a,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]})}return a})(),Gl=(()=>{class a{_dir=p(ve,{optional:!0});_injector=p(P);_overlayRef;_templatePortal;_backdropSubscription=J.EMPTY;_attachSubscription=J.EMPTY;_detachSubscription=J.EMPTY;_positionSubscription=J.EMPTY;_offsetX;_offsetY;_position;_scrollStrategyFactory=p(Ts);_disposeOnNavigation=!1;_ngZone=p(W);origin;positions;positionStrategy;get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}width;height;minWidth;minHeight;backdropClass;panelClass;viewportMargin=0;scrollStrategy;open=!1;disableClose=!1;transformOriginSelector;hasBackdrop=!1;lockPosition=!1;flexibleDimensions=!1;growAfterOpen=!1;push=!1;get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(e){this._disposeOnNavigation=e}backdropClick=new Z;positionChange=new Z;attach=new Z;detach=new Z;overlayKeydown=new Z;overlayOutsideClick=new Z;constructor(){let e=p(we),o=p(Re);this._templatePortal=new be(e,o),this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef?.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef?.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this.attachOverlay():this.detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=ql);let e=this._overlayRef=Dt(this._injector,this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(o=>{this.overlayKeydown.next(o),o.keyCode===27&&!this.disableClose&&!Qe(o)&&(o.preventDefault(),this.detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(o=>{let r=this._getOriginElement(),l=hi(o);(!r||r!==l&&!r.contains(l))&&this.overlayOutsideClick.next(o)})}_buildConfig(){let e=this._position=this.positionStrategy||this._createPositionStrategy(),o=new Le({direction:this._dir||"ltr",positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||this.width===0)&&(o.width=this.width),(this.height||this.height===0)&&(o.height=this.height),(this.minWidth||this.minWidth===0)&&(o.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(o.minHeight=this.minHeight),this.backdropClass&&(o.backdropClass=this.backdropClass),this.panelClass&&(o.panelClass=this.panelClass),o}_updatePositionStrategy(e){let o=this.positions.map(r=>({originX:r.originX,originY:r.originY,overlayX:r.overlayX,overlayY:r.overlayY,offsetX:r.offsetX||this.offsetX,offsetY:r.offsetY||this.offsetY,panelClass:r.panelClass||void 0}));return e.setOrigin(this._getOrigin()).withPositions(o).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){let e=ho(this._injector,this._getOrigin());return this._updatePositionStrategy(e),e}_getOrigin(){return this.origin instanceof lo?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof lo?this.origin.elementRef.nativeElement:this.origin instanceof j?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(Bn(()=>this.positionChange.observers.length>0)).subscribe(e=>{this._ngZone.run(()=>this.positionChange.emit(e)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()})),this.open=!0}detachOverlay(){this._overlayRef?.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.open=!1}static \u0275fac=function(o){return new(o||a)};static \u0275dir=N({type:a,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[0,"cdkConnectedOverlayOrigin","origin"],positions:[0,"cdkConnectedOverlayPositions","positions"],positionStrategy:[0,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[0,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[0,"cdkConnectedOverlayOffsetY","offsetY"],width:[0,"cdkConnectedOverlayWidth","width"],height:[0,"cdkConnectedOverlayHeight","height"],minWidth:[0,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[0,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[0,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[0,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[0,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[0,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[0,"cdkConnectedOverlayOpen","open"],disableClose:[0,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[0,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[2,"cdkConnectedOverlayHasBackdrop","hasBackdrop",te],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",te],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",te],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",te],push:[2,"cdkConnectedOverlayPush","push",te],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",te]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[mt]})}return a})();function Zl(a){let n=p(P);return()=>Si(n)}var Kl={provide:Ts,useFactory:Zl},Ot=(()=>{class a{static \u0275fac=function(o){return new(o||a)};static \u0275mod=G({type:a});static \u0275inj=q({providers:[Is,Kl],imports:[wt,Be,no,no]})}return a})();function Ql(a,n){}var Ce=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;closePredicate;width="";height="";minWidth;minHeight;maxWidth;maxHeight;positionStrategy;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;autoFocus="first-tabbable";restoreFocus=!0;scrollStrategy;closeOnNavigation=!0;closeOnDestroy=!0;closeOnOverlayDetachments=!0;disableAnimations=!1;providers;container;templateContext};var fo=(()=>{class a extends ot{_elementRef=p(j);_focusTrapFactory=p(rs);_config;_interactivityChecker=p(ss);_ngZone=p(W);_focusMonitor=p(ns);_renderer=p(Ze);_changeDetectorRef=p(li);_injector=p(P);_platform=p(re);_document=p(V);_portalOutlet;_focusTrapped=new C;_focusTrap=null;_elementFocusedBeforeDialogWasOpened=null;_closeInteractionType=null;_ariaLabelledByQueue=[];_isDestroyed=!1;constructor(){super(),this._config=p(Ce,{optional:!0})||new Ce,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(e){this._ariaLabelledByQueue.push(e),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(e){let o=this._ariaLabelledByQueue.indexOf(e);o>-1&&(this._ariaLabelledByQueue.splice(o,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._focusTrapped.complete(),this._isDestroyed=!0,this._restoreFocus()}attachComponentPortal(e){this._portalOutlet.hasAttached();let o=this._portalOutlet.attachComponentPortal(e);return this._contentAttached(),o}attachTemplatePortal(e){this._portalOutlet.hasAttached();let o=this._portalOutlet.attachTemplatePortal(e);return this._contentAttached(),o}attachDomPortal=e=>{this._portalOutlet.hasAttached();let o=this._portalOutlet.attachDomPortal(e);return this._contentAttached(),o};_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,o){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let r=()=>{l(),d(),e.removeAttribute("tabindex")},l=this._renderer.listen(e,"blur",r),d=this._renderer.listen(e,"mousedown",r)})),e.focus(o)}_focusByCssSelector(e,o){let r=this._elementRef.nativeElement.querySelector(e);r&&this._forceFocus(r,o)}_trapFocus(e){this._isDestroyed||Pe(()=>{let o=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||o.focus(e);break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElement(e)||this._focusDialogContainer(e);break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]',e);break;default:this._focusByCssSelector(this._config.autoFocus,e);break}this._focusTrapped.next()},{injector:this._injector})}_restoreFocus(){let e=this._config.restoreFocus,o=null;if(typeof e=="string"?o=this._document.querySelector(e):typeof e=="boolean"?o=e?this._elementFocusedBeforeDialogWasOpened:null:e&&(o=e),this._config.restoreFocus&&o&&typeof o.focus=="function"){let r=di(),l=this._elementRef.nativeElement;(!r||r===this._document.body||r===l||l.contains(r))&&(this._focusMonitor?(this._focusMonitor.focusVia(o,this._closeInteractionType),this._closeInteractionType=null):o.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(e){this._elementRef.nativeElement.focus?.(e)}_containsFocus(){let e=this._elementRef.nativeElement,o=di();return e===o||e.contains(o)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=di()))}static \u0275fac=function(o){return new(o||a)};static \u0275cmp=se({type:a,selectors:[["cdk-dialog-container"]],viewQuery:function(o,r){if(o&1&&si(xt,7),o&2){let l;ri(l=ai())&&(r._portalOutlet=l.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(o,r){o&2&&Ke("id",r._config.id||null)("role",r._config.role)("aria-modal",r._config.ariaModal)("aria-labelledby",r._config.ariaLabel?null:r._ariaLabelledByQueue[0])("aria-label",r._config.ariaLabel)("aria-describedby",r._config.ariaDescribedBy||null)},features:[Q],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(o,r){o&1&&ti(0,Ql,0,0,"ng-template",0)},dependencies:[xt],styles:[`.cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit} 67`],encapsulation:2})}return a})(),At=class{overlayRef;config;componentInstance;componentRef;containerInstance;disableClose;closed=new C;backdropClick;keydownEvents;outsidePointerEvents;id;_detachSubscription;constructor(n,e){this.overlayRef=n,this.config=e,this.disableClose=e.disableClose,this.backdropClick=n.backdropClick(),this.keydownEvents=n.keydownEvents(),this.outsidePointerEvents=n.outsidePointerEvents(),this.id=e.id,this.keydownEvents.subscribe(o=>{o.keyCode===27&&!this.disableClose&&!Qe(o)&&(o.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{!this.disableClose&&this._canClose()?this.close(void 0,{focusOrigin:"mouse"}):this.containerInstance._recaptureFocus?.()}),this._detachSubscription=n.detachments().subscribe(()=>{e.closeOnOverlayDetachments!==!1&&this.close()})}close(n,e){if(this._canClose(n)){let o=this.closed;this.containerInstance._closeInteractionType=e?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),o.next(n),o.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(n="",e=""){return this.overlayRef.updateSize({width:n,height:e}),this}addPanelClass(n){return this.overlayRef.addPanelClass(n),this}removePanelClass(n){return this.overlayRef.removePanelClass(n),this}_canClose(n){let e=this.config;return!!this.containerInstance&&(!e.closePredicate||e.closePredicate(n,e,this.componentInstance))}},Jl=new M("DialogScrollStrategy",{providedIn:"root",factory:()=>{let a=p(P);return()=>st(a)}}),ec=new M("DialogData"),tc=new M("DefaultDialogConfig");function ic(a){let n=qe(a),e=new Z;return{valueSignal:n,get value(){return n()},change:e,ngOnDestroy(){e.complete()}}}var po=(()=>{class a{_injector=p(P);_defaultOptions=p(tc,{optional:!0});_parentDialog=p(a,{optional:!0,skipSelf:!0});_overlayContainer=p(ki);_idGenerator=p(Te);_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new C;_afterOpenedAtThisLevel=new C;_ariaHiddenElements=new Map;_scrollStrategy=p(Jl);get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}afterAllClosed=Zt(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Oe(void 0)));constructor(){}open(e,o){let r=this._defaultOptions||new Ce;o=O(O({},r),o),o.id=o.id||this._idGenerator.getId("cdk-dialog-"),o.id&&this.getDialogById(o.id);let l=this._getOverlayConfig(o),d=Dt(this._injector,l),f=new At(d,o),m=this._attachContainer(d,f,o);if(f.containerInstance=m,!this.openDialogs.length){let w=this._overlayContainer.getContainerElement();m._focusTrapped?m._focusTrapped.pipe(me(1)).subscribe(()=>{this._hideNonDialogContentFromAssistiveTechnology(w)}):this._hideNonDialogContentFromAssistiveTechnology(w)}return this._attachDialogContent(e,f,m,o),this.openDialogs.push(f),f.closed.subscribe(()=>this._removeOpenDialog(f,!0)),this.afterOpened.next(f),f}closeAll(){uo(this.openDialogs,e=>e.close())}getDialogById(e){return this.openDialogs.find(o=>o.id===e)}ngOnDestroy(){uo(this._openDialogsAtThisLevel,e=>{e.config.closeOnDestroy===!1&&this._removeOpenDialog(e,!1)}),uo(this._openDialogsAtThisLevel,e=>e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(e){let o=new Le({positionStrategy:e.positionStrategy||rt().centerHorizontally().centerVertically(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,width:e.width,height:e.height,disposeOnNavigation:e.closeOnNavigation,disableAnimations:e.disableAnimations});return e.backdropClass&&(o.backdropClass=e.backdropClass),o}_attachContainer(e,o,r){let l=r.injector||r.viewContainerRef?.injector,d=[{provide:Ce,useValue:r},{provide:At,useValue:o},{provide:nt,useValue:e}],f;r.container?typeof r.container=="function"?f=r.container:(f=r.container.type,d.push(...r.container.providers(r))):f=fo;let m=new it(f,r.viewContainerRef,P.create({parent:l||this._injector,providers:d}));return e.attach(m).instance}_attachDialogContent(e,o,r,l){if(e instanceof we){let d=this._createInjector(l,o,r,void 0),f={$implicit:l.data,dialogRef:o};l.templateContext&&(f=O(O({},f),typeof l.templateContext=="function"?l.templateContext():l.templateContext)),r.attachTemplatePortal(new be(e,null,f,d))}else{let d=this._createInjector(l,o,r,this._injector),f=r.attachComponentPortal(new it(e,l.viewContainerRef,d));o.componentRef=f,o.componentInstance=f.instance}}_createInjector(e,o,r,l){let d=e.injector||e.viewContainerRef?.injector,f=[{provide:ec,useValue:e.data},{provide:At,useValue:o}];return e.providers&&(typeof e.providers=="function"?f.push(...e.providers(o,e,r)):f.push(...e.providers)),e.direction&&(!d||!d.get(ve,null,{optional:!0}))&&f.push({provide:ve,useValue:ic(e.direction)}),P.create({parent:d||l,providers:f})}_removeOpenDialog(e,o){let r=this.openDialogs.indexOf(e);r>-1&&(this.openDialogs.splice(r,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((l,d)=>{l?d.setAttribute("aria-hidden",l):d.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),o&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(e){if(e.parentElement){let o=e.parentElement.children;for(let r=o.length-1;r>-1;r--){let l=o[r];l!==e&&l.nodeName!=="SCRIPT"&&l.nodeName!=="STYLE"&&!l.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(l,l.getAttribute("aria-hidden")),l.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}static \u0275fac=function(o){return new(o||a)};static \u0275prov=A({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();function uo(a,n){let e=a.length;for(;e--;)n(a[e])}var Ms=(()=>{class a{static \u0275fac=function(o){return new(o||a)};static \u0275mod=G({type:a});static \u0275inj=q({providers:[po],imports:[Ot,Be,as,Be]})}return a})();function oc(a,n){}var Pt=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;closePredicate;width="";height="";minWidth;minHeight;maxWidth;maxHeight;position;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;autoFocus="first-tabbable";restoreFocus=!0;delayFocusTrap=!0;scrollStrategy;closeOnNavigation=!0;enterAnimationDuration;exitAnimationDuration},mo="mdc-dialog--open",Bs="mdc-dialog--opening",Fs="mdc-dialog--closing",nc=150,sc=75,Ns=(()=>{class a extends fo{_animationStateChanged=new Z;_animationsEnabled=!Ji();_actionSectionCount=0;_hostElement=this._elementRef.nativeElement;_enterAnimationDuration=this._animationsEnabled?Vs(this._config.enterAnimationDuration)??nc:0;_exitAnimationDuration=this._animationsEnabled?Vs(this._config.exitAnimationDuration)??sc:0;_animationTimer=null;_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(Ls,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(Bs,mo)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(mo),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(mo),this._animationsEnabled?(this._hostElement.style.setProperty(Ls,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(Fs)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(e){this._actionSectionCount+=e,this._changeDetectorRef.markForCheck()}_finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)};_finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})};_clearAnimationClasses(){this._hostElement.classList.remove(Bs,Fs)}_waitForAnimationToComplete(e,o){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(o,e)}_requestAnimationFrame(e){this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame=="function"?requestAnimationFrame(e):e()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(e){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})}ngOnDestroy(){super.ngOnDestroy(),this._animationTimer!==null&&clearTimeout(this._animationTimer)}attachComponentPortal(e){let o=super.attachComponentPortal(e);return o.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),o}static \u0275fac=(()=>{let e;return function(r){return(e||(e=ge(a)))(r||a)}})();static \u0275cmp=se({type:a,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(o,r){o&2&&(Gi("id",r._config.id),Ke("aria-modal",r._config.ariaModal)("role",r._config.role)("aria-labelledby",r._config.ariaLabel?null:r._ariaLabelledByQueue[0])("aria-label",r._config.ariaLabel)("aria-describedby",r._config.ariaDescribedBy||null),Ie("_mat-animation-noopable",!r._animationsEnabled)("mat-mdc-dialog-container-with-actions",r._actionSectionCount>0))},features:[Q],decls:3,vars:0,consts:[[1,"mat-mdc-dialog-inner-container","mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(o,r){o&1&&(Hn(0,"div",0)(1,"div",1),ti(2,oc,0,0,"ng-template",2),$n()())},dependencies:[xt],styles:[`.mat-mdc-dialog-container{width:100%;height:100%;display:block;box-sizing:border-box;max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;outline:0}.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-max-width, 560px);min-width:var(--mat-dialog-container-min-width, 280px)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, calc(100vw - 32px))}}.mat-mdc-dialog-inner-container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;transition:opacity linear var(--mat-dialog-transition-duration, 0ms);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mdc-dialog--closing .mat-mdc-dialog-inner-container{transition:opacity 75ms linear;transform:none}.mdc-dialog--open .mat-mdc-dialog-inner-container{opacity:1}._mat-animation-noopable .mat-mdc-dialog-inner-container{transition:none}.mat-mdc-dialog-surface{display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;width:100%;height:100%;position:relative;overflow-y:auto;outline:0;transform:scale(0.8);transition:transform var(--mat-dialog-transition-duration, 0ms) cubic-bezier(0, 0, 0.2, 1);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;box-shadow:var(--mat-dialog-container-elevation-shadow, none);border-radius:var(--mat-dialog-container-shape, var(--mat-sys-corner-extra-large, 4px));background-color:var(--mat-dialog-container-color, var(--mat-sys-surface, white))}[dir=rtl] .mat-mdc-dialog-surface{text-align:right}.mdc-dialog--open .mat-mdc-dialog-surface,.mdc-dialog--closing .mat-mdc-dialog-surface{transform:none}._mat-animation-noopable .mat-mdc-dialog-surface{transition:none}.mat-mdc-dialog-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-dialog-title{display:block;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:var(--mat-dialog-headline-padding, 6px 24px 13px)}.mat-mdc-dialog-title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mat-mdc-dialog-title{text-align:right}.mat-mdc-dialog-container .mat-mdc-dialog-title{color:var(--mat-dialog-subhead-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-dialog-subhead-font, var(--mat-sys-headline-small-font, inherit));line-height:var(--mat-dialog-subhead-line-height, var(--mat-sys-headline-small-line-height, 1.5rem));font-size:var(--mat-dialog-subhead-size, var(--mat-sys-headline-small-size, 1rem));font-weight:var(--mat-dialog-subhead-weight, var(--mat-sys-headline-small-weight, 400));letter-spacing:var(--mat-dialog-subhead-tracking, var(--mat-sys-headline-small-tracking, 0.03125em))}.mat-mdc-dialog-content{display:block;flex-grow:1;box-sizing:border-box;margin:0;overflow:auto;max-height:65vh}.mat-mdc-dialog-content>:first-child{margin-top:0}.mat-mdc-dialog-content>:last-child{margin-bottom:0}.mat-mdc-dialog-container .mat-mdc-dialog-content{color:var(--mat-dialog-supporting-text-color, var(--mat-sys-on-surface-variant, rgba(0, 0, 0, 0.6)));font-family:var(--mat-dialog-supporting-text-font, var(--mat-sys-body-medium-font, inherit));line-height:var(--mat-dialog-supporting-text-line-height, var(--mat-sys-body-medium-line-height, 1.5rem));font-size:var(--mat-dialog-supporting-text-size, var(--mat-sys-body-medium-size, 1rem));font-weight:var(--mat-dialog-supporting-text-weight, var(--mat-sys-body-medium-weight, 400));letter-spacing:var(--mat-dialog-supporting-text-tracking, var(--mat-sys-body-medium-tracking, 0.03125em))}.mat-mdc-dialog-container .mat-mdc-dialog-content{padding:var(--mat-dialog-content-padding, 20px 24px)}.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content{padding:var(--mat-dialog-with-actions-content-padding, 20px 24px 0)}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:0}.mat-mdc-dialog-actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;box-sizing:border-box;min-height:52px;margin:0;border-top:1px solid rgba(0,0,0,0);padding:var(--mat-dialog-actions-padding, 16px 24px);justify-content:var(--mat-dialog-actions-alignment, flex-end)}@media(forced-colors: active){.mat-mdc-dialog-actions{border-top-color:CanvasText}}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start,.mat-mdc-dialog-actions[align=start]{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}
67.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}.mat-mdc-dialog-component-host{display:contents} 68`],encapsulation:2})}return a})(),Ls="--mat-dialog-transition-duration";function Vs(a){return a==null?null:typeof a=="number"?a:a.endsWith("ms")?_e(a.substring(0,a.length-2)):a.endsWith("s")?_e(a.substring(0,a.length-1))*1e3:a==="0"?0:null}var Rt=function(a){return a[a.OPEN=0]="OPEN",a[a.CLOSING=1]="CLOSING",a[a.CLOSED=2]="CLOSED",a}(Rt||{}),It=class{_ref;_config;_containerInstance;componentInstance;componentRef;disableClose;id;_afterOpened=new C;_beforeClosed=new C;_result;_closeFallbackTimeout;_state=Rt.OPEN;_closeInteractionType;constructor(n,e,o){this._ref=n,this._config=e,this._containerInstance=o,this.disableClose=e.disableClose,this.id=n.id,n.addPanelClass("mat-mdc-dialog-panel"),o._animationStateChanged.pipe(de(r=>r.state==="opened"),me(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),o._animationStateChanged.pipe(de(r=>r.state==="closed"),me(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),n.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),Dn(this.backdropClick(),this.keydownEvents().pipe(de(r=>r.keyCode===27&&!this.disableClose&&!Qe(r)))).subscribe(r=>{this.disableClose||(r.preventDefault(),zs(this,r.type==="keydown"?"keyboard":"mouse"))})}close(n){let e=this._config.closePredicate;e&&!e(n,this._config,this.componentInstance)||(this._result=n,this._containerInstance._animationStateChanged.pipe(de(o=>o.state==="closing"),me(1)).subscribe(o=>{this._beforeClosed.next(n),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),o.totalTime+100)}),this._state=Rt.CLOSING,this._containerInstance._startExitAnimation())}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(n){let e=this._ref.config.positionStrategy;return n&&(n.left||n.right)?n.left?e.left(n.left):e.right(n.right):e.centerHorizontally(),n&&(n.top||n.bottom)?n.top?e.top(n.top):e.bottom(n.bottom):e.centerVertically(),this._ref.updatePosition(),this}updateSize(n="",e=""){return this._ref.updateSize(n,e),this}addPanelClass(n){return this._ref.addPanelClass(n),this}removePanelClass(n){return this._ref.removePanelClass(n),this}getState(){return this._state}_finishDialogClose(){this._state=Rt.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};function zs(a,n,e){return a._closeInteractionType=n,a.close(e)}var js=new M("MatMdcDialogData"),Hs=new M("mat-mdc-dialog-default-options"),$s=new M("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let a=p(P);return()=>st(a)}}),go=(()=>{class a{_defaultOptions=p(Hs,{optional:!0});_scrollStrategy=p($s);_parentDialog=p(a,{optional:!0,skipSelf:!0});_idGenerator=p(Te);_injector=p(P);_dialog=p(po);_animationsDisabled=Ji();_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new C;_afterOpenedAtThisLevel=new C;dialogConfigClass=Pt;_dialogRefConstructor;_dialogContainerType;_dialogDataToken;get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}afterAllClosed=Zt(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Oe(void 0)));constructor(){this._dialogRefConstructor=It,this._dialogContainerType=Ns,this._dialogDataToken=js}open(e,o){let r;o=O(O({},this._defaultOptions||new Pt),o),o.id=o.id||this._idGenerator.getId("mat-mdc-dialog-"),o.scrollStrategy=o.scrollStrategy||this._scrollStrategy();let l=this._dialog.open(e,qt(O({},o),{positionStrategy:rt(this._injector).centerHorizontally().centerVertically(),disableClose:!0,closePredicate:void 0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,disableAnimations:this._animationsDisabled||o.enterAnimationDuration?.toLocaleStr
68ing()==="0"||o.exitAnimationDuration?.toString()==="0",container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:o},{provide:Ce,useValue:o}]},templateContext:()=>({dialogRef:r}),providers:(d,f,m)=>(r=new this._dialogRefConstructor(d,o,m),r.updatePosition(o?.position),[{provide:this._dialogContainerType,useValue:m},{provide:this._dialogDataToken,useValue:f.data},{provide:this._dialogRefConstructor,useValue:r}])}));return r.componentRef=l.componentRef,r.componentInstance=l.componentInstance,this.openDialogs.push(r),this.afterOpened.next(r),r.afterClosed().subscribe(()=>{let d=this.openDialogs.indexOf(r);d>-1&&(this.openDialogs.splice(d,1),this.openDialogs.length||this._getAfterAllClosed().next())}),r}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(o=>o.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(e){let o=e.length;for(;o--;)e[o].close()}static \u0275fac=function(o){return new(o||a)};static \u0275prov=A({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();var Ws=(()=>{class a{_dialogRef=p(It,{optional:!0});_elementRef=p(j);_dialog=p(go);constructor(){}ngOnInit(){this._dialogRef||(this._dialogRef=cc(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd()})}ngOnDestroy(){this._dialogRef?._containerInstance&&Promise.resolve().then(()=>{this._onRemove()})}static \u0275fac=function(o){return new(o||a)};static \u0275dir=N({type:a})}return a})(),rc=(()=>{class a extends Ws{id=p(Te).getId("mat-mdc-dialog-title-");_onAdd(){this._dialogRef._containerInstance?._addAriaLabelledBy?.(this.id)}_onRemove(){this._dialogRef?._containerInstance?._removeAriaLabelledBy?.(this.id)}static \u0275fac=(()=>{let e;return function(r){return(e||(e=ge(a)))(r||a)}})();static \u0275dir=N({type:a,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(o,r){o&2&&Gi("id",r.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],features:[Q]})}return a})(),ac=(()=>{class a{static \u0275fac=function(o){return new(o||a)};static \u0275dir=N({type:a,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],features:[jn([St])]})}return a})(),lc=(()=>{class a extends Ws{align;_onAdd(){this._dialogRef._containerInstance?._updateActionSectionCount?.(1)}_onRemove(){this._dialogRef._containerInstance?._updateActionSectionCount?.(-1)}static \u0275fac=(()=>{let e;return function(r){return(e||(e=ge(a)))(r||a)}})();static \u0275dir=N({type:a,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:6,hostBindings:function(o,r){o&2&&Ie("mat-mdc-dialog-actions-align-start",r.align==="start")("mat-mdc-dialog-actions-align-center",r.align==="center")("mat-mdc-dialog-actions-align-end",r.align==="end")},inputs:{align:"align"},features:[Q]})}return a})();function cc(a,n){let e=a.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-mdc-dialog-container");)e=e.parentElement;return e?n.find(o=>o.id===e.id):null}var dc=(()=>{class a{static \u0275fac=function(o){return new(o||a)};static \u0275mod=G({type:a});static \u0275inj=q({providers:[go],imports:[Ms,Ot,Be,Je,Je]})}return a})();var ue=xl(Ys());var qh=(()=>{class a{httpClient=p(ci);store=[];baseConfig={};FALLBACK_ERROR_MESSAGE="Ocurri\xF3 un error inesperado. Por favor intenta nuevamente.";constructor(){this.loadStore()}loadStore(){this.httpClient.get("assets/msgs.json").subscribe({next:e=>this.store=e,error:e=>{console.error("[NotificationService] Failed to load assets/msgs.json",e)}})}debug(e,o=[]){let r=this.interpolate(e,o);ue.default.fire(O({title:"",html:r,icon:"error"},this.baseConfig))}error(e,o=[]){let r=this.getErrorCode(e),l=this.findKey(r);if(!l){console.error(e),ue.default.fire(O({title:"",html:this.FALLBACK_ERROR_MESSAGE,icon:"error"},this.baseConfig));return}let d=this.interpolate(l.msg,o);ue.default.fire(O({title:"",html:d,icon:"error"},this.baseConfig))}success(e,o=[]){let r=this.findKey(e);if(!r){console.warn(`[NotificationService] success: no message mapped for key "${e}"`);return}let l=this.interpolate(r.msg,o);ue.default.fire(O({title:"",html:l,icon:"success"},this.baseConfig))}info(e,o=[]){let r=this.findKey(e);if(!r)return;let l=this.interpolate(r.msg,o);ue.default.fire(O({title:"",html:l,icon:"info"},this.baseConfig))}close(){ue.default.close()}askFor(e,o=[]){let r=this.findKey(e);if(!r)return console.error(`[NotificationService] askFor: no message mapped for key "${e}"`),ue.default.fire(O({title:"",html:this.FALLBACK_ERROR_MESSAGE,icon:"error"},this.baseConfig)).then(()=>({value:!1}));let l=this.interpolate(r.msg,o);return ue.default.fire(O({title:l,icon:"warning",showCancelButton:!0,confirmButtonText:"Claro que si!",cancelButtonText:"No ahora",allowOutsideClick:!1},this.baseConfig))}interpolate(e,o){return o.forEach(r=>{e=e.replace(r.key,r.val)}),e}findKey(e){return this.store?.find(o=>o.code===e)}getErrorCode(e){return e instanceof ts?eo(e.error):eo(e)}static \u0275fac=function(o){return new(o||a)};static \u0275prov=A({token:a,factory:a.\u0275fac})}return a})();var hc=(()=>{class a{_listeners=[];notify(e,o){for(let r of this._listeners)r(e,o)}listen(e){return this._listeners.push(e),()=>{this._listeners=this._listeners.filter(o=>e!==o)}}ngOnDestroy(){this._listeners=[]}static \u0275fac=function(o){return new(o||a)};static \u0275prov=A({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();
68var _o=class{applyChanges(n,e,o,r,l){n.forEachOperation((d,f,m)=>{let w,_;if(d.previousIndex==null){let h=o(d,f,m);w=e.createEmbeddedView(h.templateRef,h.context,h.index),_=ae.INSERTED}else m==null?(e.remove(f),_=ae.REMOVED):(w=e.get(f),e.move(w,m),_=ae.MOVED);l&&l({context:w?.context,operation:_,record:d})})}detach(){}};var vo=class{_multiple;_emitChanges;compareWith;_selection=new Set;_deselectedToEmit=[];_selectedToEmit=[];_selected;get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}changed=new C;constructor(n=!1,e,o=!0,r){this._multiple=n,this._emitChanges=o,this.compareWith=r,e&&e.length&&(n?e.forEach(l=>this._markSelected(l)):this._markSelected(e[0]),this._selectedToEmit.length=0)}select(...n){this._verifyValueAssignment(n),n.forEach(o=>this._markSelected(o));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}deselect(...n){this._verifyValueAssignment(n),n.forEach(o=>this._unmarkSelected(o));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}setSelection(...n){this._verifyValueAssignment(n);let e=this.selected,o=new Set(n.map(l=>this._getConcreteValue(l)));n.forEach(l=>this._markSelected(l)),e.filter(l=>!o.has(this._getConcreteValue(l,o))).forEach(l=>this._unmarkSelected(l));let r=this._hasQueuedChanges();return this._emitChangeEvent(),r}toggle(n){return this.isSelected(n)?this.deselect(n):this.select(n)}clear(n=!0){this._unmarkAll();let e=this._hasQueuedChanges();return n&&this._emitChangeEvent(),e}isSelected(n){return this._selection.has(this._getConcreteValue(n))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(n){this._multiple&&this.selected&&this._selected.sort(n)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(n){n=this._getConcreteValue(n),this.isSelected(n)||(this._multiple||this._unmarkAll(),this.isSelected(n)||this._selection.add(n),this._emitChanges&&this._selectedToEmit.push(n))}_unmarkSelected(n){n=this._getConcreteValue(n),this.isSelected(n)&&(this._selection.delete(n),this._emitChanges&&this._deselectedToEmit.push(n))}_unmarkAll(){this.isEmpty()||this._selection.forEach(n=>this._unmarkSelected(n))}_verifyValueAssignment(n){n.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(n,e){if(this.compareWith){e=e??this._selection;for(let o of e)if(this.compareWith(n,o))return o;return n}else return n}};export{us as a,Mc as b,Bc as c,vt as d,to as e,ae as f,mi as g,Vl as h,Ct as i,St as j,Me as k,ws as l,Wl as m,oo as n,no as o,it as p,be as q,gi as r,fd as s,xt as t,Si as u,Le as v,ho as w,Dt as x,lo as y,Gl as z,Ot as A,Rt as B,It as C,js as D,go as E,rc as F,ac as G,lc as H,dc as I,qh as J,hc as K,_o as L,vo as M}; 69/*! Bundled license information: 70 71sweetalert2/dist/sweetalert2.all.js: 72 (*! 73 * sweetalert2 v11.22.2 74 * Released under the MIT License. 75 *) 76*/
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.