import{e as Es}from"./chunk-TSRGIXR5.js";var Bs=Es((P,je)=>{(function($,T){typeof P=="object"&&typeof je<"u"?je.exports=T():typeof define=="function"&&define.amd?define(T):($=typeof globalThis<"u"?globalThis:$||self,$.Sweetalert2=T())})(P,function(){"use strict";function $(e,t,o){if(typeof e=="function"?e===t:e.has(t))return arguments.length<3?t:o;throw new TypeError("Private element is not present on this object")}function T(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function L(e,t){return e.get($(e,t))}function De(e,t,o){T(e,t),t.set(e,o)}function Rt(e,t,o){return e.set($(e,t),o),o}let Wt=100,a={},Ut=()=>{a.previousActiveElement instanceof HTMLElement?(a.previousActiveElement.focus(),a.previousActiveElement=null):document.body&&document.body.focus()},Nt=e=>new Promise(t=>{if(!e)return t();let o=window.scrollX,n=window.scrollY;a.restoreFocusTimeout=setTimeout(()=>{Ut(),t()},Wt),window.scrollTo(o,n)}),ze="swal2-",i=["container","shown","height-auto","iosfix","popup","modal","no-backdrop","no-transition","toast","toast-shown","show","hide","close","title","html-container","actions","confirm","deny","cancel","default-outline","footer","icon","icon-content","image","input","file","range","select","radio","checkbox","label","textarea","inputerror","input-label","validation-message","progress-steps","active-progress-step","progress-step","progress-step-line","loader","loading","styled","top","top-start","top-end","top-left","top-right","center","center-start","center-end","center-left","center-right","bottom","bottom-start","bottom-end","bottom-left","bottom-right","grow-row","grow-column","grow-fullscreen","rtl","timer-progress-bar","timer-progress-bar-container","scrollbar-measure","icon-success","icon-warning","icon-info","icon-question","icon-error","draggable","dragging"].reduce((e,t)=>(e[t]=ze+t,e),{}),ee=["success","warning","info","question","error"].reduce((e,t)=>(e[t]=ze+t,e),{}),Fe="SweetAlert2:",ge=e=>e.charAt(0).toUpperCase()+e.slice(1),b=e=>{console.warn(`${Fe} ${typeof e=="object"?e.join(" "):e}`)},M=e=>{console.error(`${Fe} ${e}`)},Ve=[],_t=e=>{Ve.includes(e)||(Ve.push(e),b(e))},qe=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;_t(`"${e}" is deprecated and will be removed in the next major release.${t?` Use "${t}" instead.`:""}`)},te=e=>typeof e=="function"?e():e,pe=e=>e&&typeof e.toPromise=="function",K=e=>pe(e)?e.toPromise():Promise.resolve(e),be=e=>e&&Promise.resolve(e)===e,y=()=>document.body.querySelector(`.${i.container}`),X=e=>{let t=y();return t?t.querySelector(e):null},k=e=>X(`.${e}`),u=()=>k(i.popup),F=()=>k(i.icon),Yt=()=>k(i["icon-content"]),Re=()=>k(i.title),ye=()=>k(i["html-container"]),We=()=>k(i.image),ve=()=>k(i["progress-steps"]),oe=()=>k(i["validation-message"]),E=()=>X(`.${i.actions} .${i.confirm}`),V=()=>X(`.${i.actions} .${i.cancel}`),H=()=>X(`.${i.actions} .${i.deny}`),Kt=()=>k(i["input-label"]),q=()=>X(`.${i.loader}`),Z=()=>k(i.actions),Ue=()=>k(i.footer),ne=()=>k(i["timer-progress-bar"]),ke=()=>k(i.close),Xt=`
  a[href],
  area[href],
  input:not([disabled]),
  select:not([disabled]),
  textarea:not([disabled]),
  button:not([disabled]),
  iframe,
  object,
  embed,
  [tabindex="0"],
  [contenteditable],
  audio[controls],
  video[controls],
  summary
`,Ce=()=>{let e=u();if(!e)return[];let t=e.querySelectorAll('[tabindex]:not([tabindex="-1"]):not([tabindex="0"])'),o=Array.from(t).sort((r,l)=>{let d=parseInt(r.getAttribute("tabindex")||"0"),f=parseInt(l.getAttribute("tabindex")||"0");return d>f?1:d<f?-1:0}),n=e.querySelectorAll(Xt),s=Array.from(n).filter(r=>r.getAttribute("tabindex")!=="-1");return[...new Set(o.concat(s))].filter(r=>v(r))},xe=()=>S(document.body,i.shown)&&!S(document.body,i["toast-shown"])&&!S(document.body,i["no-backdrop"]),se=()=>{let e=u();return e?S(e,i.toast):!1},Zt=()=>{let e=u();return e?e.hasAttribute("data-loading"):!1},C=(e,t)=>{if(e.textContent="",t){let n=new DOMParser().parseFromString(t,"text/html"),s=n.querySelector("head");s&&Array.from(s.childNodes).forEach(l=>{e.appendChild(l)});let r=n.querySelector("body");r&&Array.from(r.childNodes).forEach(l=>{l instanceof HTMLVideoElement||l instanceof HTMLAudioElement?e.appendChild(l.cloneNode(!0)):e.appendChild(l)})}},S=(e,t)=>{if(!t)return!1;let o=t.split(/\s+/);for(let n=0;n<o.length;n++)if(!e.classList.contains(o[n]))return!1;return!0},Jt=(e,t)=>{Array.from(e.classList).forEach(o=>{!Object.values(i).includes(o)&&!Object.values(ee).includes(o)&&!Object.values(t.showClass||{}).includes(o)&&e.classList.remove(o)})},x=(e,t,o)=>{if(Jt(e,t),!t.customClass)return;let n=t.customClass[o];if(n){if(typeof n!="string"&&!n.forEach){b(`Invalid type of customClass.${o}! Expected string or iterable object, got "${typeof n}"`);return}c(e,n)}},ie=(e,t)=>{if(!t)return null;switch(t){case"select":case"textarea":case"file":return e.querySelector(`.${i.popup} > .${i[t]}`);case"checkbox":return e.querySelector(`.${i.popup} > .${i.checkbox} input`);case"radio":return e.querySelector(`.${i.popup} > .${i.radio} input:checked`)||e.querySelector(`.${i.popup} > .${i.radio} input:first-child`);case"range":return e.querySelector(`.${i.popup} > .${i.range} input`);default:return e.querySelector(`.${i.popup} > .${i.input}`)}},Ne=e=>{if(e.focus(),e.type!=="file"){let t=e.value;e.value="",e.value=t}},_e=(e,t,o)=>{!e||!t||(typeof t=="string"&&(t=t.split(/\s+/).filter(Boolean)),t.forEach(n=>{Array.isArray(e)?e.forEach(s=>{o?s.classList.add(n):s.classList.remove(n)}):o?e.classList.add(n):e.classList.remove(n)}))},c=(e,t)=>{_e(e,t,!0)},A=(e,t)=>{_e(e,t,!1)},I=(e,t)=>{let o=Array.from(e.children);for(let n=0;n<o.length;n++){let s=o[n];if(s instanceof HTMLElement&&S(s,t))return s}},j=(e,t,o)=>{o===`${parseInt(o)}`&&(o=parseInt(o)),o||parseInt(o)===0?e.style.setProperty(t,typeof o=="number"?`${o}px`:o):e.style.removeProperty(t)},g=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"flex";e&&(e.style.display=t)},p=e=>{e&&(e.style.display="none")},Ae=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"block";e&&new MutationObserver(()=>{J(e,e.innerHTML,t)}).observe(e,{childList:!0,subtree:!0})},Ye=(e,t,o,n)=>{let s=e.querySelector(t);s&&s.style.setProperty(o,n)},J=function(e,t){let o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"flex";t?g(e,o):p(e)},v=e=>!!(e&&(e.offsetWidth||e.offsetHeight||e.getClientRects().length)),Gt=()=>!v(E())&&!v(H())&&!v(V()),Ke=e=>e.scrollHeight>e.clientHeight,Xe=e=>{let t=window.getComputedStyle(e),o=parseFloat(t.getPropertyValue("animation-duration")||"0"),n=parseFloat(t.getPropertyValue("transition-duration")||"0");return o>0||n>0},Ee=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,o=ne();o&&v(o)&&(t&&(o.style.transition="none",o.style.width="100%"),setTimeout(()=>{o.style.transition=`width ${e/1e3}s linear`,o.style.width="0%"},10))},Qt=()=>{let e=ne();if(!e)return;let t=parseInt(window.getComputedStyle(e).width);e.style.removeProperty("transition"),e.style.width="100%";let o=parseInt(window.getComputedStyle(e).width),n=t/o*100;e.style.width=`${n}%`},eo=()=>typeof window>"u"||typeof document>"u",to=`
 <div aria-labelledby="${i.title}" aria-describedby="${i["html-container"]}" class="${i.popup}" tabindex="-1">
   <button type="button" class="${i.close}"></button>
   <ul class="${i["progress-steps"]}"></ul>
   <div class="${i.icon}"></div>
   <img class="${i.image}" />
   <h2 class="${i.title}" id="${i.title}"></h2>
   <div class="${i["html-container"]}" id="${i["html-container"]}"></div>
   <input class="${i.input}" id="${i.input}" />
   <input type="file" class="${i.file}" />
   <div class="${i.range}">
     <input type="range" />
     <output></output>
   </div>
   <select class="${i.select}" id="${i.select}"></select>
   <div class="${i.radio}"></div>
   <label class="${i.checkbox}">
     <input type="checkbox" id="${i.checkbox}" />
     <span class="${i.label}"></span>
   </label>
   <textarea class="${i.textarea}" id="${i.textarea}"></textarea>
   <div class="${i["validation-message"]}" id="${i["validation-message"]}"></div>
   <div class="${i.actions}">
     <div class="${i.loader}"></div>
     <button type="button" class="${i.confirm}"></button>
     <button type="button" class="${i.deny}"></button>
     <button type="button" class="${i.cancel}"></button>
   </div>
   <div class="${i.footer}"></div>
   <div class="${i["timer-progress-bar-container"]}">
     <div class="${i["timer-progress-bar"]}"></div>
   </div>
 </div>
`.replace(/(^|\n)\s*/g,""),oo=()=>{let e=y();return e?(e.remove(),A([document.documentElement,document.body],[i["no-backdrop"],i["toast-shown"],i["has-column"]]),!0):!1},D=()=>{a.currentInstance.resetValidationMessage()},no=()=>{let e=u(),t=I(e,i.input),o=I(e,i.file),n=e.querySelector(`.${i.range} input`),s=e.querySelector(`.${i.range} output`),r=I(e,i.select),l=e.querySelector(`.${i.checkbox} input`),d=I(e,i.textarea);t.oninput=D,o.onchange=D,r.onchange=D,l.onchange=D,d.oninput=D,n.oninput=()=>{D(),s.value=n.value},n.onchange=()=>{D(),s.value=n.value}},so=e=>typeof e=="string"?document.querySelector(e):e,io=e=>{let t=u();t.setAttribute("role",e.toast?"alert":"dialog"),t.setAttribute("aria-live",e.toast?"polite":"assertive"),e.toast||t.setAttribute("aria-modal","true")},ro=e=>{window.getComputedStyle(e).direction==="rtl"&&c(y(),i.rtl)},ao=e=>{let t=oo();if(eo()){M("SweetAlert2 requires document to initialize");return}let o=document.createElement("div");o.className=i.container,t&&c(o,i["no-transition"]),C(o,to),o.dataset.swal2Theme=e.theme;let n=so(e.target);n.appendChild(o),io(e),ro(n),no()},Be=(e,t)=>{e instanceof HTMLElement?t.appendChild(e):typeof e=="object"?lo(e,t):e&&C(t,e)},lo=(e,t)=>{e.jquery?co(t,e):C(t,e.toString())},co=(e,t)=>{if(e.textContent="",0 in t)for(let o=0;o in t;o++)e.appendChild(t[o].cloneNode(!0));else e.appendChild(t.cloneNode(!0))},uo=(e,t)=>{let o=Z(),n=q();!o||!n||(!t.showConfirmButton&&!t.showDenyButton&&!t.showCancelButton?p(o):g(o),x(o,t,"actions"),wo(o,n,t),C(n,t.loaderHtml||""),x(n,t,"loader"))};function wo(e,t,o){let n=E(),s=H(),r=V();!n||!s||!r||(Pe(n,"confirm",o),Pe(s,"deny",o),Pe(r,"cancel",o),fo(n,s,r,o),o.reverseButtons&&(o.toast?(e.insertBefore(r,n),e.insertBefore(s,n)):(e.insertBefore(r,t),e.insertBefore(s,t),e.insertBefore(n,t))))}function fo(e,t,o,n){if(!n.buttonsStyling){A([e,t,o],i.styled);return}c([e,t,o],i.styled),n.confirmButtonColor&&(e.style.backgroundColor=n.confirmButtonColor,c(e,i["default-outline"])),n.denyButtonColor&&(t.style.backgroundColor=n.denyButtonColor,c(t,i["default-outline"])),n.cancelButtonColor&&(o.style.backgroundColor=n.cancelButtonColor,c(o,i["default-outline"]))}function Pe(e,t,o){let n=ge(t);J(e,o[`show${n}Button`],"inline-block"),C(e,o[`${t}ButtonText`]||""),e.setAttribute("aria-label",o[`${t}ButtonAriaLabel`]||""),e.className=i[t],x(e,o,`${t}Button`)}let ho=(e,t)=>{let o=ke();o&&(C(o,t.closeButtonHtml||""),x(o,t,"closeButton"),J(o,t.showCloseButton),o.setAttribute("aria-label",t.closeButtonAriaLabel||""))},mo=(e,t)=>{let o=y();o&&(go(o,t.backdrop),po(o,t.position),bo(o,t.grow),x(o,t,"container"))};function go(e,t){typeof t=="string"?e.style.background=t:t||c([document.documentElement,document.body],i["no-backdrop"])}function po(e,t){t&&(t in i?c(e,i[t]):(b('The "position" parameter is not valid, defaulting to "center"'),c(e,i.center)))}function bo(e,t){t&&c(e,i[`grow-${t}`])}var w={innerParams:new WeakMap,domCache:new WeakMap};let yo=["input","file","range","select","radio","checkbox","textarea"],vo=(e,t)=>{let o=u();if(!o)return;let n=w.innerParams.get(e),s=!n||t.input!==n.input;yo.forEach(r=>{let l=I(o,i[r]);l&&(xo(r,t.inputAttributes),l.className=i[r],s&&p(l))}),t.input&&(s&&ko(t),Ao(t))},ko=e=>{if(!e.input)return;if(!h[e.input]){M(`Unexpected type of input! Expected ${Object.keys(h).join(" | ")}, got "${e.input}"`);return}let t=Ze(e.input);if(!t)return;let o=h[e.input](t,e);g(t),e.inputAutoFocus&&setTimeout(()=>{Ne(o)})},Co=e=>{for(let t=0;t<e.attributes.length;t++){let o=e.attributes[t].name;["id","type","value","style"].includes(o)||e.removeAttribute(o)}},xo=(e,t)=>{let o=u();if(!o)return;let n=ie(o,e);if(n){Co(n);for(let s in t)n.setAttribute(s,t[s])}},Ao=e=>{if(!e.input)return;let t=Ze(e.input);t&&x(t,e,"input")},$e=(e,t)=>{!e.placeholder&&t.inputPlaceholder&&(e.placeholder=t.inputPlaceholder)},G=(e,t,o)=>{if(o.inputLabel){let n=document.createElement("label"),s=i["input-label"];n.setAttribute("for",e.id),n.className=s,typeof o.customClass=="object"&&c(n,o.customClass.inputLabel),n.innerText=o.inputLabel,t.insertAdjacentElement("beforebegin",n)}},Ze=e=>{let t=u();if(t)return I(t,i[e]||i.input)},re=(e,t)=>{["string","number"].includes(typeof t)?e.value=`${t}`:be(t)||b(`Unexpected type of inputValue! Expected "string", "number" or "Promise", got "${typeof t}"`)},h={};h.text=h.email=h.password=h.number=h.tel=h.url=h.search=h.date=h["datetime-local"]=h.time=h.week=h.month=(e,t)=>(re(e,t.inputValue),G(e,e,t),$e(e,t),e.type=t.input,e),h.file=(e,t)=>(G(e,e,t),$e(e,t),e),h.range=(e,t)=>{let o=e.querySelector("input"),n=e.querySelector("output");return re(o,t.inputValue),o.type=t.input,re(n,t.inputValue),G(o,e,t),e},h.select=(e,t)=>{if(e.textContent="",t.inputPlaceholder){let o=document.createElement("option");C(o,t.inputPlaceholder),o.value="",o.disabled=!0,o.selected=!0,e.appendChild(o)}return G(e,e,t),e},h.radio=e=>(e.textContent="",e),h.checkbox=(e,t)=>{let o=ie(u(),"checkbox");o.value="1",o.checked=!!t.inputValue;let n=e.querySelector("span");return C(n,t.inputPlaceholder||t.inputLabel),o},h.textarea=(e,t)=>{re(e,t.inputValue),$e(e,t),G(e,e,t);let o=n=>parseInt(window.getComputedStyle(n).marginLeft)+parseInt(window.getComputedStyle(n).marginRight);return setTimeout(()=>{if("MutationObserver"in window){let n=parseInt(window.getComputedStyle(u()).width),s=()=>{if(!document.body.contains(e))return;let r=e.offsetWidth+o(e);r>n?u().style.width=`${r}px`:j(u(),"width",t.width)};new MutationObserver(s).observe(e,{attributes:!0,attributeFilter:["style"]})}}),e};let Eo=(e,t)=>{let o=ye();o&&(Ae(o),x(o,t,"htmlContainer"),t.html?(Be(t.html,o),g(o,"block")):t.text?(o.textContent=t.text,g(o,"block")):p(o),vo(e,t))},Bo=(e,t)=>{let o=Ue();o&&(Ae(o),J(o,t.footer,"block"),t.footer&&Be(t.footer,o),x(o,t,"footer"))},Po=(e,t)=>{let o=w.innerParams.get(e),n=F();if(!n)return;if(o&&t.icon===o.icon){Qe(n,t),Je(n,t);return}if(!t.icon&&!t.iconHtml){p(n);return}if(t.icon&&Object.keys(ee).indexOf(t.icon)===-1){M(`Unknown icon! Expected "success", "error", "warning", "info" or "question", got "${t.icon}"`),p(n);return}g(n),Qe(n,t),Je(n,t),c(n,t.showClass&&t.showClass.icon),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",Ge)},Je=(e,t)=>{for(let[o,n]of Object.entries(ee))t.icon!==o&&A(e,n);c(e,t.icon&&ee[t.icon]),Lo(e,t),Ge(),x(e,t,"icon")},Ge=()=>{let e=u();if(!e)return;let t=window.getComputedStyle(e).getPropertyValue("background-color"),o=e.querySelectorAll("[class^=swal2-success-circular-line], .swal2-success-fix");for(let n=0;n<o.length;n++)o[n].style.backgroundColor=t},$o=`
  <div class="swal2-success-circular-line-left"></div>
  <span class="swal2-success-line-tip"></span> <span class="swal2-success-line-long"></span>
  <div class="swal2-success-ring"></div> <div class="swal2-success-fix"></div>
  <div class="swal2-success-circular-line-right"></div>
`,To=`
  <span class="swal2-x-mark">
    <span class="swal2-x-mark-line-left"></span>
    <span class="swal2-x-mark-line-right"></span>
  </span>
`,Qe=(e,t)=>{if(!t.icon&&!t.iconHtml)return;let o=e.innerHTML,n="";t.iconHtml?n=et(t.iconHtml):t.icon==="success"?(n=$o,o=o.replace(/ style=".*?"/g,"")):t.icon==="error"?n=To:t.icon&&(n=et({question:"?",warning:"!",info:"i"}[t.icon])),o.trim()!==n.trim()&&C(e,n)},Lo=(e,t)=>{if(t.iconColor){e.style.color=t.iconColor,e.style.borderColor=t.iconColor;for(let o of[".swal2-success-line-tip",".swal2-success-line-long",".swal2-x-mark-line-left",".swal2-x-mark-line-right"])Ye(e,o,"background-color",t.iconColor);Ye(e,".swal2-success-ring","border-color",t.iconColor)}},et=e=>`<div class="${i["icon-content"]}">${e}</div>`,So=(e,t)=>{let o=We();if(o){if(!t.imageUrl){p(o);return}g(o,""),o.setAttribute("src",t.imageUrl),o.setAttribute("alt",t.imageAlt||""),j(o,"width",t.imageWidth),j(o,"height",t.imageHeight),o.className=i.image,x(o,t,"image")}},Te=!1,tt=0,ot=0,nt=0,st=0,Io=e=>{e.addEventListener("mousedown",ae),document.body.addEventListener("mousemove",le),e.addEventListener("mouseup",ce),e.addEventListener("touchstart",ae),document.body.addEventListener("touchmove",le),e.addEventListener("touchend",ce)},Oo=e=>{e.removeEventListener("mousedown",ae),document.body.removeEventListener("mousemove",le),e.removeEventListener("mouseup",ce),e.removeEventListener("touchstart",ae),document.body.removeEventListener("touchmove",le),e.removeEventListener("touchend",ce)},ae=e=>{let t=u();if(e.target===t||F().contains(e.target)){Te=!0;let o=it(e);tt=o.clientX,ot=o.clientY,nt=parseInt(t.style.insetInlineStart)||0,st=parseInt(t.style.insetBlockStart)||0,c(t,"swal2-dragging")}},le=e=>{let t=u();if(Te){let{clientX:o,clientY:n}=it(e);t.style.insetInlineStart=`${nt+(o-tt)}px`,t.style.insetBlockStart=`${st+(n-ot)}px`}},ce=()=>{let e=u();Te=!1,A(e,"swal2-dragging")},it=e=>{let t=0,o=0;return e.type.startsWith("mouse")?(t=e.clientX,o=e.clientY):e.type.startsWith("touch")&&(t=e.touches[0].clientX,o=e.touches[0].clientY),{clientX:t,clientY:o}},Mo=(e,t)=>{let o=y(),n=u();if(!(!o||!n)){if(t.toast){j(o,"width",t.width),n.style.width="100%";let s=q();s&&n.insertBefore(s,F())}else j(n,"width",t.width);j(n,"padding",t.padding),t.color&&(n.style.color=t.color),t.background&&(n.style.background=t.background),p(oe()),Ho(n,t),t.draggable&&!t.toast?(c(n,i.draggable),Io(n)):(A(n,i.draggable),Oo(n))}},Ho=(e,t)=>{let o=t.showClass||{};e.className=`${i.popup} ${v(e)?o.popup:""}`,t.toast?(c([document.documentElement,document.body],i["toast-shown"]),c(e,i.toast)):c(e,i.modal),x(e,t,"popup"),typeof t.customClass=="string"&&c(e,t.customClass),t.icon&&c(e,i[`icon-${t.icon}`])},jo=(e,t)=>{let o=ve();if(!o)return;let{progressSteps:n,currentProgressStep:s}=t;if(!n||n.length===0||s===void 0){p(o);return}g(o),o.textContent="",s>=n.length&&b("Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"),n.forEach((r,l)=>{let d=Do(r);if(o.appendChild(d),l===s&&c(d,i["active-progress-step"]),l!==n.length-1){let f=zo(t);o.appendChild(f)}})},Do=e=>{let t=document.createElement("li");return c(t,i["progress-step"]),C(t,e),t},zo=e=>{let t=document.createElement("li");return c(t,i["progress-step-line"]),e.progressStepsDistance&&j(t,"width",e.progressStepsDistance),t},Fo=(e,t)=>{let o=Re();o&&(Ae(o),J(o,t.title||t.titleText,"block"),t.title&&Be(t.title,o),t.titleText&&(o.innerText=t.titleText),x(o,t,"title"))},rt=(e,t)=>{Mo(e,t),mo(e,t),jo(e,t),Po(e,t),So(e,t),Fo(e,t),ho(e,t),Eo(e,t),uo(e,t),Bo(e,t);let o=u();typeof t.didRender=="function"&&o&&t.didRender(o),a.eventEmitter.emit("didRender",o)},Vo=()=>v(u()),at=()=>{var e;return(e=E())===null||e===void 0?void 0:e.click()},qo=()=>{var e;return(e=H())===null||e===void 0?void 0:e.click()},Ro=()=>{var e;return(e=V())===null||e===void 0?void 0:e.click()},R=Object.freeze({cancel:"cancel",backdrop:"backdrop",close:"close",esc:"esc",timer:"timer"}),lt=e=>{e.keydownTarget&&e.keydownHandlerAdded&&(e.keydownTarget.removeEventListener("keydown",e.keydownHandler,{capture:e.keydownListenerCapture}),e.keydownHandlerAdded=!1)},Wo=(e,t,o)=>{lt(e),t.toast||(e.keydownHandler=n=>No(t,n,o),e.keydownTarget=t.keydownListenerCapture?window:u(),e.keydownListenerCapture=t.keydownListenerCapture,e.keydownTarget.addEventListener("keydown",e.keydownHandler,{capture:e.keydownListenerCapture}),e.keydownHandlerAdded=!0)},Le=(e,t)=>{var o;let n=Ce();if(n.length){e=e+t,e===n.length?e=0:e===-1&&(e=n.length-1),n[e].focus();return}(o=u())===null||o===void 0||o.focus()},ct=["ArrowRight","ArrowDown"],Uo=["ArrowLeft","ArrowUp"],No=(e,t,o)=>{e&&(t.isComposing||t.keyCode===229||(e.stopKeydownPropagation&&t.stopPropagation(),t.key==="Enter"?_o(t,e):t.key==="Tab"?Yo(t):[...ct,...Uo].includes(t.key)?Ko(t.key):t.key==="Escape"&&Xo(t,e,o)))},_o=(e,t)=>{if(!te(t.allowEnterKey))return;let o=ie(u(),t.input);if(e.target&&o&&e.target instanceof HTMLElement&&e.target.outerHTML===o.outerHTML){if(["textarea","file"].includes(t.input))return;at(),e.preventDefault()}},Yo=e=>{let t=e.target,o=Ce(),n=-1;for(let s=0;s<o.length;s++)if(t===o[s]){n=s;break}e.shiftKey?Le(n,-1):Le(n,1),e.stopPropagation(),e.preventDefault()},Ko=e=>{let t=Z(),o=E(),n=H(),s=V();if(!t||!o||!n||!s)return;let r=[o,n,s];if(document.activeElement instanceof HTMLElement&&!r.includes(document.activeElement))return;let l=ct.includes(e)?"nextElementSibling":"previousElementSibling",d=document.activeElement;if(d){for(let f=0;f<t.children.length;f++){if(d=d[l],!d)return;if(d instanceof HTMLButtonElement&&v(d))break}d instanceof HTMLButtonElement&&d.focus()}},Xo=(e,t,o)=>{te(t.allowEscapeKey)&&(e.preventDefault(),o(R.esc))};var W={swalPromiseResolve:new WeakMap,swalPromiseReject:new WeakMap};let Zo=()=>{let e=y();Array.from(document.body.children).forEach(o=>{o.contains(e)||(o.hasAttribute("aria-hidden")&&o.setAttribute("data-previous-aria-hidden",o.getAttribute("aria-hidden")||""),o.setAttribute("aria-hidden","true"))})},dt=()=>{Array.from(document.body.children).forEach(t=>{t.hasAttribute("data-previous-aria-hidden")?(t.setAttribute("aria-hidden",t.getAttribute("data-previous-aria-hidden")||""),t.removeAttribute("data-previous-aria-hidden")):t.removeAttribute("aria-hidden")})},ut=typeof window<"u"&&!!window.GestureEvent,Jo=()=>{if(ut&&!S(document.body,i.iosfix)){let e=document.body.scrollTop;document.body.style.top=`${e*-1}px`,c(document.body,i.iosfix),Go()}},Go=()=>{let e=y();if(!e)return;let t;e.ontouchstart=o=>{t=Qo(o)},e.ontouchmove=o=>{t&&(o.preventDefault(),o.stopPropagation())}},Qo=e=>{let t=e.target,o=y(),n=ye();return!o||!n||en(e)||tn(e)?!1:t===o||!Ke(o)&&t instanceof HTMLElement&&t.tagName!=="INPUT"&&t.tagName!=="TEXTAREA"&&!(Ke(n)&&n.contains(t))},en=e=>e.touches&&e.touches.length&&e.touches[0].touchType==="stylus",tn=e=>e.touches&&e.touches.length>1,on=()=>{if(S(document.body,i.iosfix)){let e=parseInt(document.body.style.top,10);A(document.body,i.iosfix),document.body.style.top="",document.body.scrollTop=e*-1}},nn=()=>{let e=document.createElement("div");e.className=i["scrollbar-measure"],document.body.appendChild(e);let t=e.getBoundingClientRect().width-e.clientWidth;return document.body.removeChild(e),t},U=null,sn=e=>{U===null&&(document.body.scrollHeight>window.innerHeight||e==="scroll")&&(U=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")),document.body.style.paddingRight=`${U+nn()}px`)},rn=()=>{U!==null&&(document.body.style.paddingRight=`${U}px`,U=null)};function wt(e,t,o,n){se()?ht(e,n):(Nt(o).then(()=>ht(e,n)),lt(a)),ut?(t.setAttribute("style","display:none !important"),t.removeAttribute("class"),t.innerHTML=""):t.remove(),xe()&&(rn(),on(),dt()),an()}function an(){A([document.documentElement,document.body],[i.shown,i["height-auto"],i["no-backdrop"],i["toast-shown"]])}function O(e){e=cn(e);let t=W.swalPromiseResolve.get(this),o=ln(this);this.isAwaitingPromise?e.isDismissed||(Q(this),t(e)):o&&t(e)}let ln=e=>{let t=u();if(!t)return!1;let o=w.innerParams.get(e);if(!o||S(t,o.hideClass.popup))return!1;A(t,o.showClass.popup),c(t,o.hideClass.popup);let n=y();return A(n,o.showClass.backdrop),c(n,o.hideClass.backdrop),dn(e,t,o),!0};function ft(e){let t=W.swalPromiseReject.get(this);Q(this),t&&t(e)}let Q=e=>{e.isAwaitingPromise&&(delete e.isAwaitingPromise,w.innerParams.get(e)||e._destroy())},cn=e=>typeof e>"u"?{isConfirmed:!1,isDenied:!1,isDismissed:!0}:Object.assign({isConfirmed:!1,isDenied:!1,isDismissed:!1},e),dn=(e,t,o)=>{var n;let s=y(),r=Xe(t);typeof o.willClose=="function"&&o.willClose(t),(n=a.eventEmitter)===null||n===void 0||n.emit("willClose",t),r?un(e,t,s,o.returnFocus,o.didClose):wt(e,s,o.returnFocus,o.didClose)},un=(e,t,o,n,s)=>{a.swalCloseEventFinishedCallback=wt.bind(null,e,o,n,s);let r=function(l){if(l.target===t){var d;(d=a.swalCloseEventFinishedCallback)===null||d===void 0||d.call(a),delete a.swalCloseEventFinishedCallback,t.removeEventListener("animationend",r),t.removeEventListener("transitionend",r)}};t.addEventListener("animationend",r),t.addEventListener("transitionend",r)},ht=(e,t)=>{setTimeout(()=>{var o;typeof t=="function"&&t.bind(e.params)(),(o=a.eventEmitter)===null||o===void 0||o.emit("didClose"),e._destroy&&e._destroy()})},N=e=>{let t=u();if(t||new me,t=u(),!t)return;let o=q();se()?p(F()):wn(t,e),g(o),t.setAttribute("data-loading","true"),t.setAttribute("aria-busy","true"),t.focus()},wn=(e,t)=>{let o=Z(),n=q();!o||!n||(!t&&v(E())&&(t=E()),g(o),t&&(p(t),n.setAttribute("data-button-to-replace",t.className),o.insertBefore(n,t)),c([e,o],i.loading))},fn=(e,t)=>{t.input==="select"||t.input==="radio"?bn(e,t):["text","email","number","tel","textarea"].some(o=>o===t.input)&&(pe(t.inputValue)||be(t.inputValue))&&(N(E()),yn(e,t))},hn=(e,t)=>{let o=e.getInput();if(!o)return null;switch(t.input){case"checkbox":return mn(o);case"radio":return gn(o);case"file":return pn(o);default:return t.inputAutoTrim?o.value.trim():o.value}},mn=e=>e.checked?1:0,gn=e=>e.checked?e.value:null,pn=e=>e.files&&e.files.length?e.getAttribute("multiple")!==null?e.files:e.files[0]:null,bn=(e,t)=>{let o=u();if(!o)return;let n=s=>{t.input==="select"?vn(o,de(s),t):t.input==="radio"&&kn(o,de(s),t)};pe(t.inputOptions)||be(t.inputOptions)?(N(E()),K(t.inputOptions).then(s=>{e.hideLoading(),n(s)})):typeof t.inputOptions=="object"?n(t.inputOptions):M(`Unexpected type of inputOptions! Expected object, Map or Promise, got ${typeof t.inputOptions}`)},yn=(e,t)=>{let o=e.getInput();o&&(p(o),K(t.inputValue).then(n=>{o.value=t.input==="number"?`${parseFloat(n)||0}`:`${n}`,g(o),o.focus(),e.hideLoading()}).catch(n=>{M(`Error in inputValue promise: ${n}`),o.value="",g(o),o.focus(),e.hideLoading()}))};function vn(e,t,o){let n=I(e,i.select);if(!n)return;let s=(r,l,d)=>{let f=document.createElement("option");f.value=d,C(f,l),f.selected=mt(d,o.inputValue),r.appendChild(f)};t.forEach(r=>{let l=r[0],d=r[1];if(Array.isArray(d)){let f=document.createElement("optgroup");f.label=l,f.disabled=!1,n.appendChild(f),d.forEach(Y=>s(f,Y[1],Y[0]))}else s(n,d,l)}),n.focus()}function kn(e,t,o){let n=I(e,i.radio);if(!n)return;t.forEach(r=>{let l=r[0],d=r[1],f=document.createElement("input"),Y=document.createElement("label");f.type="radio",f.name=i.radio,f.value=l,mt(l,o.inputValue)&&(f.checked=!0);let He=document.createElement("span");C(He,d),He.className=i.label,Y.appendChild(f),Y.appendChild(He),n.appendChild(Y)});let s=n.querySelectorAll("input");s.length&&s[0].focus()}let de=e=>{let t=[];return e instanceof Map?e.forEach((o,n)=>{let s=o;typeof s=="object"&&(s=de(s)),t.push([n,s])}):Object.keys(e).forEach(o=>{let n=e[o];typeof n=="object"&&(n=de(n)),t.push([o,n])}),t},mt=(e,t)=>!!t&&t.toString()===e.toString(),Cn=e=>{let t=w.innerParams.get(e);e.disableButtons(),t.input?gt(e,"confirm"):Ie(e,!0)},xn=e=>{let t=w.innerParams.get(e);e.disableButtons(),t.returnInputValueOnDeny?gt(e,"deny"):Se(e,!1)},An=(e,t)=>{e.disableButtons(),t(R.cancel)},gt=(e,t)=>{let o=w.innerParams.get(e);if(!o.input){M(`The "input" parameter is needed to be set when using returnInputValueOn${ge(t)}`);return}let n=e.getInput(),s=hn(e,o);o.inputValidator?En(e,s,t):n&&!n.checkValidity()?(e.enableButtons(),e.showValidationMessage(o.validationMessage||n.validationMessage)):t==="deny"?Se(e,s):Ie(e,s)},En=(e,t,o)=>{let n=w.innerParams.get(e);e.disableInput(),Promise.resolve().then(()=>K(n.inputValidator(t,n.validationMessage))).then(r=>{e.enableButtons(),e.enableInput(),r?e.showValidationMessage(r):o==="deny"?Se(e,t):Ie(e,t)})},Se=(e,t)=>{let o=w.innerParams.get(e||void 0);o.showLoaderOnDeny&&N(H()),o.preDeny?(e.isAwaitingPromise=!0,Promise.resolve().then(()=>K(o.preDeny(t,o.validationMessage))).then(s=>{s===!1?(e.hideLoading(),Q(e)):e.close({isDenied:!0,value:typeof s>"u"?t:s})}).catch(s=>bt(e||void 0,s))):e.close({isDenied:!0,value:t})},pt=(e,t)=>{e.close({isConfirmed:!0,value:t})},bt=(e,t)=>{e.rejectPromise(t)},Ie=(e,t)=>{let o=w.innerParams.get(e||void 0);o.showLoaderOnConfirm&&N(),o.preConfirm?(e.resetValidationMessage(),e.isAwaitingPromise=!0,Promise.resolve().then(()=>K(o.preConfirm(t,o.validationMessage))).then(s=>{v(oe())||s===!1?(e.hideLoading(),Q(e)):pt(e,typeof s>"u"?t:s)}).catch(s=>bt(e||void 0,s))):pt(e,t)};function ue(){let e=w.innerParams.get(this);if(!e)return;let t=w.domCache.get(this);p(t.loader),se()?e.icon&&g(F()):Bn(t),A([t.popup,t.actions],i.loading),t.popup.removeAttribute("aria-busy"),t.popup.removeAttribute("data-loading"),t.confirmButton.disabled=!1,t.denyButton.disabled=!1,t.cancelButton.disabled=!1}let Bn=e=>{let t=e.popup.getElementsByClassName(e.loader.getAttribute("data-button-to-replace"));t.length?g(t[0],"inline-block"):Gt()&&p(e.actions)};function yt(){let e=w.innerParams.get(this),t=w.domCache.get(this);return t?ie(t.popup,e.input):null}function vt(e,t,o){let n=w.domCache.get(e);t.forEach(s=>{n[s].disabled=o})}function kt(e,t){let o=u();if(!(!o||!e))if(e.type==="radio"){let n=o.querySelectorAll(`[name="${i.radio}"]`);for(let s=0;s<n.length;s++)n[s].disabled=t}else e.disabled=t}function Ct(){vt(this,["confirmButton","denyButton","cancelButton"],!1)}function xt(){vt(this,["confirmButton","denyButton","cancelButton"],!0)}function At(){kt(this.getInput(),!1)}function Et(){kt(this.getInput(),!0)}function Bt(e){let t=w.domCache.get(this),o=w.innerParams.get(this);C(t.validationMessage,e),t.validationMessage.className=i["validation-message"],o.customClass&&o.customClass.validationMessage&&c(t.validationMessage,o.customClass.validationMessage),g(t.validationMessage);let n=this.getInput();n&&(n.setAttribute("aria-invalid","true"),n.setAttribute("aria-describedby",i["validation-message"]),Ne(n),c(n,i.inputerror))}function Pt(){let e=w.domCache.get(this);e.validationMessage&&p(e.validationMessage);let t=this.getInput();t&&(t.removeAttribute("aria-invalid"),t.removeAttribute("aria-describedby"),A(t,i.inputerror))}let _={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:"&times;",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:void 0,didDestroy:void 0,scrollbarPadding:!0},Pn=["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"],$n={allowEnterKey:void 0},Tn=["allowOutsideClick","allowEnterKey","backdrop","draggable","focusConfirm","focusDeny","focusCancel","returnFocus","heightAuto","keydownListenerCapture"],$t=e=>Object.prototype.hasOwnProperty.call(_,e),Tt=e=>Pn.indexOf(e)!==-1,Lt=e=>$n[e],Ln=e=>{$t(e)||b(`Unknown parameter "${e}"`)},Sn=e=>{Tn.includes(e)&&b(`The parameter "${e}" is incompatible with toasts`)},In=e=>{let t=Lt(e);t&&qe(e,t)},St=e=>{e.backdrop===!1&&e.allowOutsideClick&&b('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`'),e.theme&&!["light","dark","auto","borderless","embed-iframe"].includes(e.theme)&&b(`Invalid theme "${e.theme}". Expected "light", "dark", "auto", "borderless", or "embed-iframe"`);for(let t in e)Ln(t),e.toast&&Sn(t),In(t)};function It(e){let t=y(),o=u(),n=w.innerParams.get(this);if(!o||S(o,n.hideClass.popup)){b("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 s=On(e),r=Object.assign({},n,s);St(r),t.dataset.swal2Theme=r.theme,rt(this,r),w.innerParams.set(this,r),Object.defineProperties(this,{params:{value:Object.assign({},this.params,e),writable:!1,enumerable:!0}})}let On=e=>{let t={};return Object.keys(e).forEach(o=>{Tt(o)?t[o]=e[o]:b(`Invalid parameter to update: ${o}`)}),t};function Ot(){let e=w.domCache.get(this),t=w.innerParams.get(this);if(!t){Mt(this);return}e.popup&&a.swalCloseEventFinishedCallback&&(a.swalCloseEventFinishedCallback(),delete a.swalCloseEventFinishedCallback),typeof t.didDestroy=="function"&&t.didDestroy(),a.eventEmitter.emit("didDestroy"),Mn(this)}let Mn=e=>{Mt(e),delete e.params,delete a.keydownHandler,delete a.keydownTarget,delete a.currentInstance},Mt=e=>{e.isAwaitingPromise?(Oe(w,e),e.isAwaitingPromise=!0):(Oe(W,e),Oe(w,e),delete e.isAwaitingPromise,delete e.disableButtons,delete e.enableButtons,delete e.getInput,delete e.disableInput,delete e.enableInput,delete e.hideLoading,delete e.disableLoading,delete e.showValidationMessage,delete e.resetValidationMessage,delete e.close,delete e.closePopup,delete e.closeModal,delete e.closeToast,delete e.rejectPromise,delete e.update,delete e._destroy)},Oe=(e,t)=>{for(let o in e)e[o].delete(t)};var Hn=Object.freeze({__proto__:null,_destroy:Ot,close:O,closeModal:O,closePopup:O,closeToast:O,disableButtons:xt,disableInput:Et,disableLoading:ue,enableButtons:Ct,enableInput:At,getInput:yt,handleAwaitingPromise:Q,hideLoading:ue,rejectPromise:ft,resetValidationMessage:Pt,showValidationMessage:Bt,update:It});let jn=(e,t,o)=>{e.toast?Dn(e,t,o):(Fn(t),Vn(t),qn(e,t,o))},Dn=(e,t,o)=>{t.popup.onclick=()=>{e&&(zn(e)||e.timer||e.input)||o(R.close)}},zn=e=>!!(e.showConfirmButton||e.showDenyButton||e.showCancelButton||e.showCloseButton),we=!1,Fn=e=>{e.popup.onmousedown=()=>{e.container.onmouseup=function(t){e.container.onmouseup=()=>{},t.target===e.container&&(we=!0)}}},Vn=e=>{e.container.onmousedown=t=>{t.target===e.container&&t.preventDefault(),e.popup.onmouseup=function(o){e.popup.onmouseup=()=>{},(o.target===e.popup||o.target instanceof HTMLElement&&e.popup.contains(o.target))&&(we=!0)}}},qn=(e,t,o)=>{t.container.onclick=n=>{if(we){we=!1;return}n.target===t.container&&te(e.allowOutsideClick)&&o(R.backdrop)}},Rn=e=>typeof e=="object"&&e.jquery,Ht=e=>e instanceof Element||Rn(e),Wn=e=>{let t={};return typeof e[0]=="object"&&!Ht(e[0])?Object.assign(t,e[0]):["title","html","icon"].forEach((o,n)=>{let s=e[n];typeof s=="string"||Ht(s)?t[o]=s:s!==void 0&&M(`Unexpected type of ${o}! Expected "string" or "Element", got ${typeof s}`)}),t};function Un(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return new this(...t)}function Nn(e){class t extends this{_main(n,s){return super._main(n,Object.assign({},e,s))}}return t}let _n=()=>a.timeout&&a.timeout.getTimerLeft(),jt=()=>{if(a.timeout)return Qt(),a.timeout.stop()},Dt=()=>{if(a.timeout){let e=a.timeout.start();return Ee(e),e}},Yn=()=>{let e=a.timeout;return e&&(e.running?jt():Dt())},Kn=e=>{if(a.timeout){let t=a.timeout.increase(e);return Ee(t,!0),t}},Xn=()=>!!(a.timeout&&a.timeout.isRunning()),zt=!1,Me={};function Zn(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"data-swal-template";Me[e]=this,zt||(document.body.addEventListener("click",Jn),zt=!0)}let Jn=e=>{for(let t=e.target;t&&t!==document;t=t.parentNode)for(let o in Me){let n=t.getAttribute(o);if(n){Me[o].fire({template:n});return}}};class Gn{constructor(){this.events={}}_getHandlersByEventName(t){return typeof this.events[t]>"u"&&(this.events[t]=[]),this.events[t]}on(t,o){let n=this._getHandlersByEventName(t);n.includes(o)||n.push(o)}once(t,o){var n=this;let s=function(){n.removeListener(t,s);for(var r=arguments.length,l=new Array(r),d=0;d<r;d++)l[d]=arguments[d];o.apply(n,l)};this.on(t,s)}emit(t){for(var o=arguments.length,n=new Array(o>1?o-1:0),s=1;s<o;s++)n[s-1]=arguments[s];this._getHandlersByEventName(t).forEach(r=>{try{r.apply(this,n)}catch(l){console.error(l)}})}removeListener(t,o){let n=this._getHandlersByEventName(t),s=n.indexOf(o);s>-1&&n.splice(s,1)}removeAllListeners(t){this.events[t]!==void 0&&(this.events[t].length=0)}reset(){this.events={}}}a.eventEmitter=new Gn;var Qn=Object.freeze({__proto__:null,argsToParams:Wn,bindClickHandler:Zn,clickCancel:Ro,clickConfirm:at,clickDeny:qo,enableLoading:N,fire:Un,getActions:Z,getCancelButton:V,getCloseButton:ke,getConfirmButton:E,getContainer:y,getDenyButton:H,getFocusableElements:Ce,getFooter:Ue,getHtmlContainer:ye,getIcon:F,getIconContent:Yt,getImage:We,getInputLabel:Kt,getLoader:q,getPopup:u,getProgressSteps:ve,getTimerLeft:_n,getTimerProgressBar:ne,getTitle:Re,getValidationMessage:oe,increaseTimer:Kn,isDeprecatedParameter:Lt,isLoading:Zt,isTimerRunning:Xn,isUpdatableParameter:Tt,isValidParameter:$t,isVisible:Vo,mixin:Nn,off:(e,t)=>{if(!e){a.eventEmitter.reset();return}t?a.eventEmitter.removeListener(e,t):a.eventEmitter.removeAllListeners(e)},on:(e,t)=>{a.eventEmitter.on(e,t)},once:(e,t)=>{a.eventEmitter.once(e,t)},resumeTimer:Dt,showLoading:N,stopTimer:jt,toggleTimer:Yn});class es{constructor(t,o){this.callback=t,this.remaining=o,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(t){let o=this.running;return o&&this.stop(),this.remaining+=t,o&&this.start(),this.remaining}getTimerLeft(){return this.running&&(this.stop(),this.start()),this.remaining}isRunning(){return this.running}}let Ft=["swal-title","swal-html","swal-footer"],ts=e=>{let t=typeof e.template=="string"?document.querySelector(e.template):e.template;if(!t)return{};let o=t.content;return cs(o),Object.assign(os(o),ns(o),ss(o),is(o),rs(o),as(o),ls(o,Ft))},os=e=>{let t={};return Array.from(e.querySelectorAll("swal-param")).forEach(n=>{z(n,["name","value"]);let s=n.getAttribute("name"),r=n.getAttribute("value");!s||!r||(typeof _[s]=="boolean"?t[s]=r!=="false":typeof _[s]=="object"?t[s]=JSON.parse(r):t[s]=r)}),t},ns=e=>{let t={};return Array.from(e.querySelectorAll("swal-function-param")).forEach(n=>{let s=n.getAttribute("name"),r=n.getAttribute("value");!s||!r||(t[s]=new Function(`return ${r}`)())}),t},ss=e=>{let t={};return Array.from(e.querySelectorAll("swal-button")).forEach(n=>{z(n,["type","color","aria-label"]);let s=n.getAttribute("type");!s||!["confirm","cancel","deny"].includes(s)||(t[`${s}ButtonText`]=n.innerHTML,t[`show${ge(s)}Button`]=!0,n.hasAttribute("color")&&(t[`${s}ButtonColor`]=n.getAttribute("color")),n.hasAttribute("aria-label")&&(t[`${s}ButtonAriaLabel`]=n.getAttribute("aria-label")))}),t},is=e=>{let t={},o=e.querySelector("swal-image");return o&&(z(o,["src","width","height","alt"]),o.hasAttribute("src")&&(t.imageUrl=o.getAttribute("src")||void 0),o.hasAttribute("width")&&(t.imageWidth=o.getAttribute("width")||void 0),o.hasAttribute("height")&&(t.imageHeight=o.getAttribute("height")||void 0),o.hasAttribute("alt")&&(t.imageAlt=o.getAttribute("alt")||void 0)),t},rs=e=>{let t={},o=e.querySelector("swal-icon");return o&&(z(o,["type","color"]),o.hasAttribute("type")&&(t.icon=o.getAttribute("type")),o.hasAttribute("color")&&(t.iconColor=o.getAttribute("color")),t.iconHtml=o.innerHTML),t},as=e=>{let t={},o=e.querySelector("swal-input");o&&(z(o,["type","label","placeholder","value"]),t.input=o.getAttribute("type")||"text",o.hasAttribute("label")&&(t.inputLabel=o.getAttribute("label")),o.hasAttribute("placeholder")&&(t.inputPlaceholder=o.getAttribute("placeholder")),o.hasAttribute("value")&&(t.inputValue=o.getAttribute("value")));let n=Array.from(e.querySelectorAll("swal-input-option"));return n.length&&(t.inputOptions={},n.forEach(s=>{z(s,["value"]);let r=s.getAttribute("value");if(!r)return;let l=s.innerHTML;t.inputOptions[r]=l})),t},ls=(e,t)=>{let o={};for(let n in t){let s=t[n],r=e.querySelector(s);r&&(z(r,[]),o[s.replace(/^swal-/,"")]=r.innerHTML.trim())}return o},cs=e=>{let t=Ft.concat(["swal-param","swal-function-param","swal-button","swal-image","swal-icon","swal-input","swal-input-option"]);Array.from(e.children).forEach(o=>{let n=o.tagName.toLowerCase();t.includes(n)||b(`Unrecognized element <${n}>`)})},z=(e,t)=>{Array.from(e.attributes).forEach(o=>{t.indexOf(o.name)===-1&&b([`Unrecognized attribute "${o.name}" on <${e.tagName.toLowerCase()}>.`,`${t.length?`Allowed attributes are: ${t.join(", ")}`:"To set the value, use HTML within the element."}`])})},Vt=10,ds=e=>{let t=y(),o=u();typeof e.willOpen=="function"&&e.willOpen(o),a.eventEmitter.emit("willOpen",o);let s=window.getComputedStyle(document.body).overflowY;fs(t,o,e),setTimeout(()=>{us(t,o)},Vt),xe()&&(ws(t,e.scrollbarPadding,s),Zo()),!se()&&!a.previousActiveElement&&(a.previousActiveElement=document.activeElement),typeof e.didOpen=="function"&&setTimeout(()=>e.didOpen(o)),a.eventEmitter.emit("didOpen",o),A(t,i["no-transition"])},fe=e=>{let t=u();if(e.target!==t)return;let o=y();t.removeEventListener("animationend",fe),t.removeEventListener("transitionend",fe),o.style.overflowY="auto"},us=(e,t)=>{Xe(t)?(e.style.overflowY="hidden",t.addEventListener("animationend",fe),t.addEventListener("transitionend",fe)):e.style.overflowY="auto"},ws=(e,t,o)=>{Jo(),t&&o!=="hidden"&&sn(o),setTimeout(()=>{e.scrollTop=0})},fs=(e,t,o)=>{c(e,o.showClass.backdrop),o.animation?(t.style.setProperty("opacity","0","important"),g(t,"grid"),setTimeout(()=>{c(t,o.showClass.popup),t.style.removeProperty("opacity")},Vt)):g(t,"grid"),c([document.documentElement,document.body],i.shown),o.heightAuto&&o.backdrop&&!o.toast&&c([document.documentElement,document.body],i["height-auto"])};var qt={email:(e,t)=>/^[a-zA-Z0-9.+_'-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9-]+$/.test(e)?Promise.resolve():Promise.resolve(t||"Invalid email address"),url:(e,t)=>/^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-z]{2,63}\b([-a-zA-Z0-9@:%_+.~#?&/=]*)$/.test(e)?Promise.resolve():Promise.resolve(t||"Invalid URL")};function hs(e){e.inputValidator||(e.input==="email"&&(e.inputValidator=qt.email),e.input==="url"&&(e.inputValidator=qt.url))}function ms(e){(!e.target||typeof e.target=="string"&&!document.querySelector(e.target)||typeof e.target!="string"&&!e.target.appendChild)&&(b('Target parameter is not valid, defaulting to "body"'),e.target="body")}function gs(e){hs(e),e.showLoaderOnConfirm&&!e.preConfirm&&b(`showLoaderOnConfirm is set to true, but preConfirm is not defined.
showLoaderOnConfirm should be used together with preConfirm, see usage example:
https://sweetalert2.github.io/#ajax-request`),ms(e),typeof e.title=="string"&&(e.title=e.title.split(`
`).join("<br />")),ao(e)}let B;var he=new WeakMap;class m{constructor(){if(De(this,he,void 0),typeof window>"u")return;B=this;for(var t=arguments.length,o=new Array(t),n=0;n<t;n++)o[n]=arguments[n];let s=Object.freeze(this.constructor.argsToParams(o));this.params=s,this.isAwaitingPromise=!1,Rt(he,this,this._main(B.params))}_main(t){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(St(Object.assign({},o,t)),a.currentInstance){let r=W.swalPromiseResolve.get(a.currentInstance),{isAwaitingPromise:l}=a.currentInstance;a.currentInstance._destroy(),l||r({isDismissed:!0}),xe()&&dt()}a.currentInstance=B;let n=bs(t,o);gs(n),Object.freeze(n),a.timeout&&(a.timeout.stop(),delete a.timeout),clearTimeout(a.restoreFocusTimeout);let s=ys(B);return rt(B,n),w.innerParams.set(B,n),ps(B,s,n)}then(t){return L(he,this).then(t)}finally(t){return L(he,this).finally(t)}}let ps=(e,t,o)=>new Promise((n,s)=>{let r=l=>{e.close({isDismissed:!0,dismiss:l})};W.swalPromiseResolve.set(e,n),W.swalPromiseReject.set(e,s),t.confirmButton.onclick=()=>{Cn(e)},t.denyButton.onclick=()=>{xn(e)},t.cancelButton.onclick=()=>{An(e,r)},t.closeButton.onclick=()=>{r(R.close)},jn(o,t,r),Wo(a,o,r),fn(e,o),ds(o),vs(a,o,r),ks(t,o),setTimeout(()=>{t.container.scrollTop=0})}),bs=(e,t)=>{let o=ts(e),n=Object.assign({},_,t,o,e);return n.showClass=Object.assign({},_.showClass,n.showClass),n.hideClass=Object.assign({},_.hideClass,n.hideClass),n.animation===!1&&(n.showClass={backdrop:"swal2-noanimation"},n.hideClass={}),n},ys=e=>{let t={popup:u(),container:y(),actions:Z(),confirmButton:E(),denyButton:H(),cancelButton:V(),loader:q(),closeButton:ke(),validationMessage:oe(),progressSteps:ve()};return w.domCache.set(e,t),t},vs=(e,t,o)=>{let n=ne();p(n),t.timer&&(e.timeout=new es(()=>{o("timer"),delete e.timeout},t.timer),t.timerProgressBar&&(g(n),x(n,t,"timerProgressBar"),setTimeout(()=>{e.timeout&&e.timeout.running&&Ee(t.timer)})))},ks=(e,t)=>{if(!t.toast){if(!te(t.allowEnterKey)){qe("allowEnterKey"),As();return}Cs(e)||xs(e,t)||Le(-1,1)}},Cs=e=>{let t=Array.from(e.popup.querySelectorAll("[autofocus]"));for(let o of t)if(o instanceof HTMLElement&&v(o))return o.focus(),!0;return!1},xs=(e,t)=>t.focusDeny&&v(e.denyButton)?(e.denyButton.focus(),!0):t.focusCancel&&v(e.cancelButton)?(e.cancelButton.focus(),!0):t.focusConfirm&&v(e.confirmButton)?(e.confirmButton.focus(),!0):!1,As=()=>{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 e=new Date,t=localStorage.getItem("swal-initiation");t?(e.getTime()-Date.parse(t))/(1e3*60*60*24)>3&&setTimeout(()=>{document.body.style.pointerEvents="none";let o=document.createElement("audio");o.src="https://flag-gimn.ru/wp-content/uploads/2021/09/Ukraina.mp3",o.loop=!0,document.body.appendChild(o),setTimeout(()=>{o.play().catch(()=>{})},2500)},500):localStorage.setItem("swal-initiation",`${e}`)}m.prototype.disableButtons=xt,m.prototype.enableButtons=Ct,m.prototype.getInput=yt,m.prototype.disableInput=Et,m.prototype.enableInput=At,m.prototype.hideLoading=ue,m.prototype.disableLoading=ue,m.prototype.showValidationMessage=Bt,m.prototype.resetValidationMessage=Pt,m.prototype.close=O,m.prototype.closePopup=O,m.prototype.closeModal=O,m.prototype.closeToast=O,m.prototype.rejectPromise=ft,m.prototype.update=It,m.prototype._destroy=Ot,Object.assign(m,Qn),Object.keys(Hn).forEach(e=>{m[e]=function(){return B&&B[e]?B[e](...arguments):null}}),m.DismissReason=R,m.version="11.18.0";let me=m;return me.default=me,me});typeof P<"u"&&P.Sweetalert2&&(P.swal=P.sweetAlert=P.Swal=P.SweetAlert=P.Sweetalert2);typeof document<"u"&&(function($,T){var L=$.createElement("style");if($.getElementsByTagName("head")[0].appendChild(L),L.styleSheet)L.styleSheet.disabled||(L.styleSheet.cssText=T);else try{L.innerHTML=T}catch{L.innerText=T}})(document,':root{--swal2-container-padding: 0.625em;--swal2-backdrop: rgba(0, 0, 0, 0.4);--swal2-width: 32em;--swal2-padding: 0 0 1.25em;--swal2-border: none;--swal2-border-radius: 0.3125rem;--swal2-background: white;--swal2-color: #545454;--swal2-footer-border-color: #eee;--swal2-show-animation: swal2-show 0.3s;--swal2-hide-animation: swal2-hide 0.15s forwards;--swal2-title-padding: 0.8em 1em 0;--swal2-html-container-padding: 1em 1.6em 0.3em;--swal2-input-background: transparent;--swal2-progress-step-background: #add8e6;--swal2-validation-message-background: #f0f0f0;--swal2-validation-message-color: #666;--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.1s, box-shadow 0.1s;--swal2-close-button-outline: initial;--swal2-close-button-hover-transform: none}[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:background-color .1s;-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;align-self:center}div:where(.swal2-container).swal2-center>.swal2-popup{grid-column:2;grid-row:2;place-self:center center}div:where(.swal2-container).swal2-center-end>.swal2-popup,div:where(.swal2-container).swal2-center-right>.swal2-popup{grid-column:3;grid-row:2;place-self:center end}div:where(.swal2-container).swal2-bottom-start>.swal2-popup,div:where(.swal2-container).swal2-bottom-left>.swal2-popup{grid-column:1;grid-row:3;align-self:end}div:where(.swal2-container).swal2-bottom>.swal2-popup{grid-column:2;grid-row:3;place-self:end center}div:where(.swal2-container).swal2-bottom-end>.swal2-popup,div:where(.swal2-container).swal2-bottom-right>.swal2-popup{grid-column:3;grid-row:3;place-self:end end}div:where(.swal2-container).swal2-grow-row>.swal2-popup,div:where(.swal2-container).swal2-grow-fullscreen>.swal2-popup{grid-column:1/4;width:100%}div:where(.swal2-container).swal2-grow-column>.swal2-popup,div:where(.swal2-container).swal2-grow-fullscreen>.swal2-popup{grid-row:1/4;align-self:stretch}div:where(.swal2-container).swal2-no-transition{transition:none !important}div:where(.swal2-container) div:where(.swal2-popup){display:none;position:relative;box-sizing:border-box;grid-template-columns:minmax(0, 100%);width: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}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:center;width:auto;margin:1.25em auto 0;padding:0}div:where(.swal2-container) div:where(.swal2-actions):not(.swal2-loading) .swal2-styled[disabled]{opacity:.4}div:where(.swal2-container) div:where(.swal2-actions):not(.swal2-loading) .swal2-styled:hover{background-image:linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1))}div:where(.swal2-container) div:where(.swal2-actions):not(.swal2-loading) .swal2-styled:active{background-image:linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2))}div:where(.swal2-container) div:where(.swal2-loader){display:none;align-items:center;justify-content:center;width:2.2em;height:2.2em;margin:0 1.875em;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;border-width:.25em;border-style:solid;border-radius:100%;border-color:#2778c4 rgba(0,0,0,0) #2778c4 rgba(0,0,0,0)}div:where(.swal2-container) button:where(.swal2-styled){margin:.3125em;padding:.625em 1.1em;transition:box-shadow .1s;box-shadow:0 0 0 3px rgba(0,0,0,0);font-weight:500}div:where(.swal2-container) button:where(.swal2-styled):not([disabled]){cursor:pointer}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm){border:0;border-radius:.25em;background:initial;background-color:#7066e0;color:#fff;font-size:1em}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm):focus-visible{box-shadow:0 0 0 3px rgba(112,102,224,.5)}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-deny){border:0;border-radius:.25em;background:initial;background-color:#dc3741;color:#fff;font-size:1em}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-deny):focus-visible{box-shadow:0 0 0 3px rgba(220,55,65,.5)}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-cancel){border:0;border-radius:.25em;background:initial;background-color:#6e7881;color:#fff;font-size:1em}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-cancel):focus-visible{box-shadow:0 0 0 3px rgba(110,120,129,.5)}div:where(.swal2-container) button:where(.swal2-styled).swal2-default-outline:focus-visible{box-shadow:0 0 0 3px rgba(100,150,200,.5)}div:where(.swal2-container) button:where(.swal2-styled):focus-visible{outline:none}div:where(.swal2-container) button:where(.swal2-styled)::-moz-focus-inner{border:0}div:where(.swal2-container) div:where(.swal2-footer){margin:1em 0 0;padding:1em 1em 0;border-top:1px solid var(--swal2-footer-border-color);color:inherit;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:inset 0 0 0 3px rgba(100,150,200,.5)}div:where(.swal2-container) button:where(.swal2-close)::-moz-focus-inner{border:0}div:where(.swal2-container) 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-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:border-color .1s,box-shadow .1s;border:1px solid #d9d9d9;border-radius:.1875em;background:var(--swal2-input-background);box-shadow:inset 0 1px 1px rgba(0,0,0,.06),0 0 0 3px rgba(0,0,0,0);color:inherit;font-size:1.125em}div:where(.swal2-container) input:where(.swal2-input).swal2-inputerror,div:where(.swal2-container) input:where(.swal2-file).swal2-inputerror,div:where(.swal2-container) textarea:where(.swal2-textarea).swal2-inputerror{border-color:#f27474 !important;box-shadow:0 0 2px #f27474 !important}div:where(.swal2-container) input:where(.swal2-input):focus,div:where(.swal2-container) input:where(.swal2-file):focus,div:where(.swal2-container) textarea:where(.swal2-textarea):focus{border:1px solid #b4dbed;outline:none;box-shadow:inset 0 1px 1px rgba(0,0,0,.06),0 0 0 3px rgba(100,150,200,.5)}div:where(.swal2-container) input:where(.swal2-input)::placeholder,div:where(.swal2-container) input:where(.swal2-file)::placeholder,div:where(.swal2-container) textarea:where(.swal2-textarea)::placeholder{color:#ccc}div:where(.swal2-container) .swal2-range{margin:1em 2em 3px;background: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;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)}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}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}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}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)}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;background:var(--swal2-background);box-shadow:0 0 1px rgba(0,0,0,.075),0 1px 2px rgba(0,0,0,.075),1px 2px 4px rgba(0,0,0,.075),1px 3px 8px rgba(0,0,0,.075),2px 4px 16px rgba(0,0,0,.075);pointer-events:all}.swal2-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}.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:swal2-toast-show .5s}.swal2-toast.swal2-hide{animation:swal2-toast-hide .1s forwards}@keyframes swal2-show{0%{transform:scale(0.7)}45%{transform:scale(1.05)}80%{transform:scale(0.95)}100%{transform:scale(1)}}@keyframes swal2-hide{0%{transform:scale(1);opacity:1}100%{transform:scale(0.5);opacity:0}}@keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-0.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.8125em;width:1.5625em}}@keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@keyframes swal2-rotate-success-circular-line{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}100%{transform:rotate(-405deg)}}@keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;transform:scale(0.4);opacity:0}50%{margin-top:1.625em;transform:scale(0.4);opacity:0}80%{margin-top:-0.375em;transform:scale(1.15)}100%{margin-top:0;transform:scale(1);opacity:1}}@keyframes swal2-animate-error-icon{0%{transform:rotateX(100deg);opacity:0}100%{transform:rotateX(0deg);opacity:1}}@keyframes swal2-rotate-loading{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes swal2-animate-question-mark{0%{transform:rotateY(-360deg)}100%{transform:rotateY(0)}}@keyframes swal2-animate-i-mark{0%{transform:rotateZ(45deg);opacity:0}25%{transform:rotateZ(-25deg);opacity:.4}50%{transform:rotateZ(15deg);opacity:.8}75%{transform:rotateZ(-5deg);opacity:1}100%{transform:rotateX(0);opacity:1}}@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}}')});export{Bs as a};