\x20\40\x20\40 HEX
HEX
Server: Apache
System: Linux web1.jenscom.net 4.18.0-553.111.1.el8_10.x86_64 #1 SMP Sun Mar 8 20:06:07 EDT 2026 x86_64
User: sps (1059)
PHP: 8.3.30
Disabled: NONE
Upload Files
File: /home/sps/www/wp-content/plugins/nextgen-gallery/assets/js/min/admin-min.js
(()=>{var n,e,t,o,a={465:function(t){if(t.exports=(()=>{function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function q(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function M(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function $(t,e,n){e&&M(t.prototype,e),n&&M(t,n)}function r(){return(r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n,o=arguments[e];for(n in o)Object.prototype.hasOwnProperty.call(o,n)&&(t[n]=o[n])}return t}).apply(this,arguments)}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function I(t,e){return(I=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function H(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function V(t,e,n){return(V=H()?Reflect.construct:function(t,e,n){var o=[null];o.push.apply(o,e);e=new(Function.bind.apply(t,o));return n&&I(e,n.prototype),e}).apply(null,arguments)}function N(t,e){if(!e||"object"!=typeof e&&"function"!=typeof e){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}return e}function R(t,e,n){return(R="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var t=((t,e)=>{for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=l(t)););return t})(t,e);if(t)return(t=Object.getOwnPropertyDescriptor(t,e)).get?t.get.call(n):t.value})(t,e,n||t)}function U(t){for(var e=[],n=0;n<t.length;n++)-1===e.indexOf(t[n])&&e.push(t[n]);return e}function F(t){return t instanceof Element||nt(t)}function Y(t){var e,n={};for(e in t)n[t[e]]="swal2-"+t[e];return n}var Z="SweetAlert2:",W=function(t){return t.charAt(0).toUpperCase()+t.slice(1)},K=function(e){return Object.keys(e).map(function(t){return e[t]})},o=function(t){return Array.prototype.slice.call(t)},s=function(t){console.warn("".concat(Z," ").concat("object"===i(t)?t.join(" "):t))},c=function(t){console.error("".concat(Z," ").concat(t))},X=[],Q=function(t){-1===X.indexOf(t)&&(X.push(t),s(t))},J=function(t,e){Q('"'.concat(t,'" is deprecated and will be removed in the next major release. Please use "').concat(e,'" instead.'))},G=function(t){return"function"==typeof t?t():t},tt=function(t){return t&&"function"==typeof t.toPromise},u=function(t){return tt(t)?t.toPromise():Promise.resolve(t)},et=function(t){return t&&Promise.resolve(t)===t},d=Object.freeze({cancel:"cancel",backdrop:"backdrop",close:"close",esc:"esc",timer:"timer"}),nt=function(t){return"object"===i(t)&&t.jquery},p=Y(["container","shown","height-auto","iosfix","popup","modal","no-backdrop","no-transition","toast","toast-shown","show","hide","close","title","header","content","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"]),a=Y(["success","warning","info","question","error"]),m=function(){return document.body.querySelector(".".concat(p.container))},e=function(t){var e=m();return e?e.querySelector(t):null},t=function(t){return e(".".concat(t))},f=function(){return t(p.popup)},ot=function(){return t(p.icon)},at=function(){return t(p.title)},w=function(){return t(p.content)},it=function(){return t(p["html-container"])},st=function(){return t(p.image)},rt=function(){return t(p["progress-steps"])},lt=function(){return t(p["validation-message"])},h=function(){return e(".".concat(p.actions," .").concat(p.confirm))},g=function(){return e(".".concat(p.actions," .").concat(p.deny))},ct=function(){return e(".".concat(p.loader))},b=function(){return e(".".concat(p.actions," .").concat(p.cancel))},ut=function(){return t(p.actions)},dt=function(){return t(p.header)},pt=function(){return t(p.footer)},mt=function(){return t(p["timer-progress-bar"])},ft=function(){return t(p.close)},wt='\n  a[href],\n  area[href],\n  input:not([disabled]),\n  select:not([disabled]),\n  textarea:not([disabled]),\n  button:not([disabled]),\n  iframe,\n  object,\n  embed,\n  [tabindex="0"],\n  [contenteditable],\n  audio[controls],\n  video[controls],\n  summary\n',ht=function(){var t=o(f().querySelectorAll('[tabindex]:not([tabindex="-1"]):not([tabindex="0"])')).sort(function(t,e){return t=parseInt(t.getAttribute("tabindex")),(e=parseInt(e.getAttribute("tabindex")))<t?1:t<e?-1:0}),e=o(f().querySelectorAll(wt)).filter(function(t){return"-1"!==t.getAttribute("tabindex")});return U(t.concat(e)).filter(function(t){return P(t)})},gt=function(){return!bt()&&!document.body.classList.contains(p["no-backdrop"])},bt=function(){return document.body.classList.contains(p["toast-shown"])},n={previousBodyPadding:null},y=function(e,t){e.textContent="",t&&(t=(new DOMParser).parseFromString(t,"text/html"),o(t.querySelector("head").childNodes).forEach(function(t){e.appendChild(t)}),o(t.querySelector("body").childNodes).forEach(function(t){e.appendChild(t)}))},yt=function(t,e){if(!e)return!1;for(var n=e.split(/\s+/),o=0;o<n.length;o++)if(!t.classList.contains(n[o]))return!1;return!0},vt=function(e,n){o(e.classList).forEach(function(t){-1===K(p).indexOf(t)&&-1===K(a).indexOf(t)&&-1===K(n.showClass).indexOf(t)&&e.classList.remove(t)})},v=function(t,e,n){if(vt(t,e),e.customClass&&e.customClass[n]){if("string"!=typeof e.customClass[n]&&!e.customClass[n].forEach)return s("Invalid type of customClass.".concat(n,'! Expected string or iterable object, got "').concat(i(e.customClass[n]),'"'));k(t,e.customClass[n])}};function kt(t,e){if(!e)return null;switch(e){case"select":case"textarea":case"file":return C(t,p[e]);case"checkbox":return t.querySelector(".".concat(p.checkbox," input"));case"radio":return t.querySelector(".".concat(p.radio," input:checked"))||t.querySelector(".".concat(p.radio," input:first-child"));case"range":return t.querySelector(".".concat(p.range," input"));default:return C(t,p.input)}}var xt,Ct=function(t){var e;t.focus(),"file"!==t.type&&(e=t.value,t.value="",t.value=e)},At=function(t,e,n){t&&e&&(e="string"==typeof e?e.split(/\s+/).filter(Boolean):e).forEach(function(e){t.forEach?t.forEach(function(t){n?t.classList.add(e):t.classList.remove(e)}):n?t.classList.add(e):t.classList.remove(e)})},k=function(t,e){At(t,e,!0)},x=function(t,e){At(t,e,!1)},C=function(t,e){for(var n=0;n<t.childNodes.length;n++)if(yt(t.childNodes[n],e))return t.childNodes[n]},Bt=function(t,e,n){(n=n==="".concat(parseInt(n))?parseInt(n):n)||0===parseInt(n)?t.style[e]="number"==typeof n?"".concat(n,"px"):n:t.style.removeProperty(e)},A=function(t){t.style.display=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"flex"},B=function(t){t.style.display="none"},Pt=function(t,e,n,o){t=t.querySelector(e);t&&(t.style[n]=o)},Ot=function(t,e,n){e?A(t,n):B(t)},P=function(t){return!(!t||!(t.offsetWidth||t.offsetHeight||t.getClientRects().length))},Et=function(t){return!!(t.scrollHeight>t.clientHeight)},St=function(t){var t=window.getComputedStyle(t),e=parseFloat(t.getPropertyValue("animation-duration")||"0"),t=parseFloat(t.getPropertyValue("transition-duration")||"0");return 0<e||0<t},_t=function(t,e){if("function"==typeof t.contains)return t.contains(e)},Tt=function(t){var e=1<arguments.length&&void 0!==arguments[1]&&arguments[1],n=mt();P(n)&&(e&&(n.style.transition="none",n.style.width="100%"),setTimeout(function(){n.style.transition="width ".concat(t/1e3,"s linear"),n.style.width="0%"},10))},Lt=function(){return"undefined"==typeof window||"undefined"==typeof document},jt='\n <div aria-labelledby="'.concat(p.title,'" aria-describedby="').concat(p.content,'" class="').concat(p.popup,'" tabindex="-1">\n   <div class="').concat(p.header,'">\n     <ul class="').concat(p["progress-steps"],'"></ul>\n     <div class="').concat(p.icon,'"></div>\n     <img class="').concat(p.image,'" />\n     <h2 class="').concat(p.title,'" id="').concat(p.title,'"></h2>\n     <button type="button" class="').concat(p.close,'"></button>\n   </div>\n   <div class="').concat(p.content,'">\n     <div id="').concat(p.content,'" class="').concat(p["html-container"],'"></div>\n     <input class="').concat(p.input,'" />\n     <input type="file" class="').concat(p.file,'" />\n     <div class="').concat(p.range,'">\n       <input type="range" />\n       <output></output>\n     </div>\n     <select class="').concat(p.select,'"></select>\n     <div class="').concat(p.radio,'"></div>\n     <label for="').concat(p.checkbox,'" class="').concat(p.checkbox,'">\n       <input type="checkbox" />\n       <span class="').concat(p.label,'"></span>\n     </label>\n     <textarea class="').concat(p.textarea,'"></textarea>\n     <div class="').concat(p["validation-message"],'" id="').concat(p["validation-message"],'"></div>\n   </div>\n   <div class="').concat(p.actions,'">\n     <div class="').concat(p.loader,'"></div>\n     <button type="button" class="').concat(p.confirm,'"></button>\n     <button type="button" class="').concat(p.deny,'"></button>\n     <button type="button" class="').concat(p.cancel,'"></button>\n   </div>\n   <div class="').concat(p.footer,'"></div>\n   <div class="').concat(p["timer-progress-bar-container"],'">\n     <div class="').concat(p["timer-progress-bar"],'"></div>\n   </div>\n </div>\n').replace(/(^|\n)\s*/g,""),zt=function(){var t=m();return!!t&&(t.parentNode.removeChild(t),x([document.documentElement,document.body],[p["no-backdrop"],p["toast-shown"],p["has-column"]]),!0)},O=function(t){D.isVisible()&&xt!==t.target.value&&D.resetValidationMessage(),xt=t.target.value},Dt=function(){var t=w(),e=C(t,p.input),n=C(t,p.file),o=t.querySelector(".".concat(p.range," input")),a=t.querySelector(".".concat(p.range," output")),i=C(t,p.select),s=t.querySelector(".".concat(p.checkbox," input")),t=C(t,p.textarea);e.oninput=O,n.onchange=O,i.onchange=O,s.onchange=O,t.oninput=O,o.oninput=function(t){O(t),a.value=o.value},o.onchange=function(t){O(t),o.nextSibling.value=o.value}},qt=function(t){return"string"==typeof t?document.querySelector(t):t},Mt=function(t){var e=f();e.setAttribute("role",t.toast?"alert":"dialog"),e.setAttribute("aria-live",t.toast?"polite":"assertive"),t.toast||e.setAttribute("aria-modal","true")},$t=function(t){"rtl"===window.getComputedStyle(t).direction&&k(m(),p.rtl)},It=function(t){var e,n=zt();Lt()?c("SweetAlert2 requires document to initialize"):((e=document.createElement("div")).className=p.container,n&&k(e,p["no-transition"]),y(e,jt),(n=qt(t.target)).appendChild(e),Mt(t),$t(n),Dt())},Ht=function(t,e){t instanceof HTMLElement?e.appendChild(t):"object"===i(t)?Vt(t,e):t&&y(e,t)},Vt=function(t,e){t.jquery?Nt(e,t):y(e,t.toString())},Nt=function(t,e){if(t.textContent="",0 in e)for(var n=0;n in e;n++)t.appendChild(e[n].cloneNode(!0));else t.appendChild(e.cloneNode(!0))},Rt=(()=>{if(!Lt()){var t,e=document.createElement("div"),n={WebkitAnimation:"webkitAnimationEnd",OAnimation:"oAnimationEnd oanimationend",animation:"animationend"};for(t in n)if(Object.prototype.hasOwnProperty.call(n,t)&&void 0!==e.style[t])return n[t]}return!1})(),Ut=function(){var t=document.createElement("div"),e=(t.className=p["scrollbar-measure"],document.body.appendChild(t),t.getBoundingClientRect().width-t.clientWidth);return document.body.removeChild(t),e},Ft=function(t,e){var n=ut(),o=ct(),a=h(),i=g(),s=b();e.showConfirmButton||e.showDenyButton||e.showCancelButton||B(n),v(n,e,"actions"),Yt(a,"confirm",e),Yt(i,"deny",e),Yt(s,"cancel",e),((t,e,n,o)=>{if(!o.buttonsStyling)return x([t,e,n],p.styled);k([t,e,n],p.styled),o.confirmButtonColor&&(t.style.backgroundColor=o.confirmButtonColor),o.denyButtonColor&&(e.style.backgroundColor=o.denyButtonColor),o.cancelButtonColor&&(n.style.backgroundColor=o.cancelButtonColor)})(a,i,s,e),e.reverseButtons&&(n.insertBefore(s,o),n.insertBefore(i,o),n.insertBefore(a,o)),y(o,e.loaderHtml),v(o,e,"loader")};function Yt(t,e,n){Ot(t,n["show".concat(W(e),"Button")],"inline-block"),y(t,n["".concat(e,"ButtonText")]),t.setAttribute("aria-label",n["".concat(e,"ButtonAriaLabel")]),t.className=p[e],v(t,n,"".concat(e,"Button")),k(t,n["".concat(e,"ButtonClass")])}function Zt(t,e){t.placeholder&&!e.inputPlaceholder||(t.placeholder=e.inputPlaceholder)}function Wt(t,e,n){var o,a;n.inputLabel&&(t.id=p.input,o=document.createElement("label"),a=p["input-label"],o.setAttribute("for",t.id),o.className=a,k(o,n.customClass.inputLabel),o.innerText=n.inputLabel,e.insertAdjacentElement("beforebegin",o))}function Kt(t,e){ve(t,e),Xt(t,e),ye(t,e),ae(t,e),Ft(t,e),ie(t,e),"function"==typeof e.didRender?e.didRender(f()):"function"==typeof e.onRender&&e.onRender(f())}var Xt=function(t,e){var n,o,a=m();a&&(n=a,"string"==typeof(o=e.backdrop)?n.style.background=o:o||k([document.documentElement,document.body],p["no-backdrop"]),!e.backdrop&&e.allowOutsideClick&&s('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`'),n=a,(o=e.position)in p?k(n,p[o]):(s('The "position" parameter is not valid, defaulting to "center"'),k(n,p.center)),o=a,(n=e.grow)&&"string"==typeof n&&(n="grow-".concat(n))in p&&k(o,p[n]),v(a,e,"container"),o=document.body.getAttribute("data-swal2-queue-step"))&&(a.setAttribute("data-queue-step",o),document.body.removeAttribute("data-swal2-queue-step"))},E={promise:new WeakMap,innerParams:new WeakMap,domCache:new WeakMap},Qt=["input","file","range","select","radio","checkbox","textarea"],Jt=function(t,o){var a=w(),t=E.innerParams.get(t),i=!t||o.input!==t.input;Qt.forEach(function(t){var e=p[t],n=C(a,e);ee(t,o.inputAttributes),n.className=e,i&&B(n)}),o.input&&(i&&Gt(o),ne(o))},Gt=function(t){if(!S[t.input])return c('Unexpected type of input! Expected "text", "email", "password", "number", "tel", "select", "radio", "checkbox", "textarea", "file" or "url", got "'.concat(t.input,'"'));var e=oe(t.input),n=S[t.input](e,t);A(n),setTimeout(function(){Ct(n)})},te=function(t){for(var e=0;e<t.attributes.length;e++){var n=t.attributes[e].name;-1===["type","value","style"].indexOf(n)&&t.removeAttribute(n)}},ee=function(t,e){var n=kt(w(),t);if(n)for(var o in te(n),e)"range"===t&&"placeholder"===o||n.setAttribute(o,e[o])},ne=function(t){var e=oe(t.input);t.customClass&&k(e,t.customClass.input)},oe=function(t){t=p[t]||p.input;return C(w(),t)},S={},ae=(S.text=S.email=S.password=S.number=S.tel=S.url=function(t,e){return"string"==typeof e.inputValue||"number"==typeof e.inputValue?t.value=e.inputValue:et(e.inputValue)||s('Unexpected type of inputValue! Expected "string", "number" or "Promise", got "'.concat(i(e.inputValue),'"')),Wt(t,t,e),Zt(t,e),t.type=e.input,t},S.file=function(t,e){return Wt(t,t,e),Zt(t,e),t},S.range=function(t,e){var n=t.querySelector("input"),o=t.querySelector("output");return n.value=e.inputValue,n.type=e.input,o.value=e.inputValue,Wt(n,t,e),t},S.select=function(t,e){var n;return t.textContent="",e.inputPlaceholder&&(n=document.createElement("option"),y(n,e.inputPlaceholder),n.value="",n.disabled=!0,n.selected=!0,t.appendChild(n)),Wt(t,t,e),t},S.radio=function(t){return t.textContent="",t},S.checkbox=function(t,e){var n=kt(w(),"checkbox"),n=(n.value=1,n.id=p.checkbox,n.checked=Boolean(e.inputValue),t.querySelector("span"));return y(n,e.inputPlaceholder),t},function(t,e){var n=it();v(n,e,"htmlContainer"),e.html?(Ht(e.html,n),A(n,"block")):e.text?(n.textContent=e.text,A(n,"block")):B(n),Jt(t,e),v(w(),e,"content")}),ie=function(t,e){var n=pt();Ot(n,e.footer),e.footer&&Ht(e.footer,n),v(n,e,"footer")},se=function(t,e){var n=ft();y(n,e.closeButtonHtml),v(n,e,"closeButton"),Ot(n,e.showCloseButton),n.setAttribute("aria-label",e.closeButtonAriaLabel)},re=function(t,e){var t=E.innerParams.get(t),n=ot();if(!t||e.icon!==t.icon)return e.icon||e.iconHtml?e.icon&&-1===Object.keys(a).indexOf(e.icon)?(c('Unknown icon! Expected "success", "error", "warning", "info" or "question", got "'.concat(e.icon,'"')),B(n)):(A(n),ue(n,e),le(n,e),void k(n,e.showClass.icon)):B(n);ue(n,e),le(n,e)},le=function(t,e){for(var n in a)e.icon!==n&&x(t,a[n]);k(t,a[e.icon]),de(t,e),ce(),v(t,e,"icon")},ce=function(){for(var t=f(),e=window.getComputedStyle(t).getPropertyValue("background-color"),n=t.querySelectorAll("[class^=swal2-success-circular-line], .swal2-success-fix"),o=0;o<n.length;o++)n[o].style.backgroundColor=e},ue=function(t,e){t.textContent="",e.iconHtml?y(t,pe(e.iconHtml)):"success"===e.icon?y(t,'\n      <div class="swal2-success-circular-line-left"></div>\n      <span class="swal2-success-line-tip"></span> <span class="swal2-success-line-long"></span>\n      <div class="swal2-success-ring"></div> <div class="swal2-success-fix"></div>\n      <div class="swal2-success-circular-line-right"></div>\n    '):"error"===e.icon?y(t,'\n      <span class="swal2-x-mark">\n        <span class="swal2-x-mark-line-left"></span>\n        <span class="swal2-x-mark-line-right"></span>\n      </span>\n    '):y(t,pe({question:"?",warning:"!",info:"i"}[e.icon]))},de=function(t,e){if(e.iconColor){t.style.color=e.iconColor,t.style.borderColor=e.iconColor;for(var n=0,o=[".swal2-success-line-tip",".swal2-success-line-long",".swal2-x-mark-line-left",".swal2-x-mark-line-right"];n<o.length;n++)Pt(t,o[n],"backgroundColor",e.iconColor);Pt(t,".swal2-success-ring","borderColor",e.iconColor)}},pe=function(t){return'<div class="'.concat(p["icon-content"],'">').concat(t,"</div>")},me=function(t,e){var n=st();if(!e.imageUrl)return B(n);A(n,""),n.setAttribute("src",e.imageUrl),n.setAttribute("alt",e.imageAlt),Bt(n,"width",e.imageWidth),Bt(n,"height",e.imageHeight),n.className=p.image,v(n,e,"image")},_=[],fe=function(){return m()&&m().getAttribute("data-queue-step")},we=function(t){var e=document.createElement("li");return k(e,p["progress-step"]),y(e,t),e},he=function(t){var e=document.createElement("li");return k(e,p["progress-step-line"]),t.progressStepsDistance&&(e.style.width=t.progressStepsDistance),e},ge=function(t,n){var o=rt();if(!n.progressSteps||0===n.progressSteps.length)return B(o);A(o),o.textContent="";var a=parseInt(void 0===n.currentProgressStep?fe():n.currentProgressStep);a>=n.progressSteps.length&&s("Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"),n.progressSteps.forEach(function(t,e){var t=we(t);o.appendChild(t),e===a&&k(t,p["active-progress-step"]),e!==n.progressSteps.length-1&&(t=he(n),o.appendChild(t))})},be=function(t,e){var n=at();Ot(n,e.title||e.titleText,"block"),e.title&&Ht(e.title,n),e.titleText&&(n.innerText=e.titleText),v(n,e,"title")},ye=function(t,e){var n=dt();v(n,e,"header"),ge(t,e),re(t,e),me(t,e),be(t,e),se(t,e)},ve=function(t,e){var n=m(),o=f();e.toast?(Bt(n,"width",e.width),o.style.width="100%"):Bt(o,"width",e.width),Bt(o,"padding",e.padding),e.background&&(o.style.background=e.background),B(lt()),ke(o,e)},ke=function(t,e){t.className="".concat(p.popup," ").concat(P(t)?e.showClass.popup:""),e.toast?(k([document.documentElement,document.body],p["toast-shown"]),k(t,p.toast)):k(t,p.modal),v(t,e,"popup"),"string"==typeof e.customClass&&k(t,e.customClass),e.icon&&k(t,p["icon-".concat(e.icon)])},xe=function(){return h()&&h().click()};function Ce(){if(T.timeout)return t=mt(),e=parseInt(window.getComputedStyle(t).width),t.style.removeProperty("transition"),t.style.width="100%",n=parseInt(window.getComputedStyle(t).width),e=parseInt(e/n*100),t.style.removeProperty("transition"),t.style.width="".concat(e,"%"),T.timeout.stop();var t,e,n}function Ae(){var t;if(T.timeout)return t=T.timeout.start(),Tt(t),t}var Be=function(t){var e=f(),n=(e||D.fire(),e=f(),ut()),o=ct();!t&&P(h())&&(t=h()),A(n),t&&(B(t),o.setAttribute("data-button-to-replace",t.className)),o.parentNode.insertBefore(o,t),k([e,n],p.loading),A(o),e.setAttribute("data-loading",!0),e.setAttribute("aria-busy",!0),e.focus()},Pe=100,T={},Oe=function(){T.previousActiveElement&&T.previousActiveElement.focus?(T.previousActiveElement.focus(),T.previousActiveElement=null):document.body&&document.body.focus()},Ee=function(o){return new Promise(function(t){if(!o)return t();var e=window.scrollX,n=window.scrollY;T.restoreFocusTimeout=setTimeout(function(){Oe(),t()},Pe),void 0!==e&&void 0!==n&&window.scrollTo(e,n)})},Se=!(S.textarea=function(e,t){e.value=t.inputValue,Zt(e,t),Wt(e,e,t);function n(t){return parseInt(window.getComputedStyle(t).paddingLeft)+parseInt(window.getComputedStyle(t).paddingRight)}var o;return"MutationObserver"in window&&(o=parseInt(window.getComputedStyle(f()).width),new MutationObserver(function(){var t=e.offsetWidth+n(f())+n(w());f().style.width=o<t?"".concat(t,"px"):null}).observe(e,{attributes:!0,attributeFilter:["style"]})),e}),_e={};function Te(t){for(var e=t.target;e&&e!==document;e=e.parentNode)for(var n in _e){var o=e.getAttribute(n);if(o)return void _e[n].fire({template:o})}}var L={title:"",titleText:"",text:"",html:"",footer:"",icon:void 0,iconColor:void 0,iconHtml:void 0,template:void 0,toast:!1,animation:!0,showClass:{popup:"swal2-show",backdrop:"swal2-backdrop-show",icon:"swal2-icon-show"},hideClass:{popup:"swal2-hide",backdrop:"swal2-backdrop-hide",icon:"swal2-icon-hide"},customClass:{},target:"body",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:{},inputAutoTrim:!0,inputAttributes:{},inputValidator:void 0,returnInputValueOnDeny:!1,validationMessage:void 0,grow:!1,position:"center",progressSteps:[],currentProgressStep:void 0,progressStepsDistance:void 0,onBeforeOpen:void 0,onOpen:void 0,willOpen:void 0,didOpen:void 0,onRender:void 0,didRender:void 0,onClose:void 0,onAfterClose:void 0,willClose:void 0,didClose:void 0,onDestroy:void 0,didDestroy:void 0,scrollbarPadding:!0},Le=["allowEscapeKey","allowOutsideClick","background","buttonsStyling","cancelButtonAriaLabel","cancelButtonColor","cancelButtonText","closeButtonAriaLabel","closeButtonHtml","confirmButtonAriaLabel","confirmButtonColor","confirmButtonText","currentProgressStep","customClass","denyButtonAriaLabel","denyButtonColor","denyButtonText","didClose","didDestroy","footer","hideClass","html","icon","iconColor","iconHtml","imageAlt","imageHeight","imageUrl","imageWidth","onAfterClose","onClose","onDestroy","progressSteps","returnFocus","reverseButtons","showCancelButton","showCloseButton","showConfirmButton","showDenyButton","text","title","titleText","willClose"],je={animation:'showClass" and "hideClass',onBeforeOpen:"willOpen",onOpen:"didOpen",onRender:"didRender",onClose:"willClose",onAfterClose:"didClose",onDestroy:"didDestroy"},ze=["allowOutsideClick","allowEnterKey","backdrop","focusConfirm","focusDeny","focusCancel","returnFocus","heightAuto","keydownListenerCapture"],De=function(t){return Object.prototype.hasOwnProperty.call(L,t)},qe=function(t){return je[t]},Me=function(t){De(t)||s('Unknown parameter "'.concat(t,'"'))},$e=function(t){-1!==ze.indexOf(t)&&s('The parameter "'.concat(t,'" is incompatible with toasts'))},Ie=function(t){qe(t)&&J(t,qe(t))},He=Object.freeze({isValidParameter:De,isUpdatableParameter:function(t){return-1!==Le.indexOf(t)},isDeprecatedParameter:qe,argsToParams:function(n){var o={};return"object"!==i(n[0])||F(n[0])?["title","html","icon"].forEach(function(t,e){e=n[e];"string"==typeof e||F(e)?o[t]=e:void 0!==e&&c("Unexpected type of ".concat(t,'! Expected "string" or "Element", got ').concat(i(e)))}):r(o,n[0]),o},isVisible:function(){return P(f())},clickConfirm:xe,clickDeny:function(){return g()&&g().click()},clickCancel:function(){return b()&&b().click()},getContainer:m,getPopup:f,getTitle:at,getContent:w,getHtmlContainer:it,getImage:st,getIcon:ot,getInputLabel:function(){return t(p["input-label"])},getCloseButton:ft,getActions:ut,getConfirmButton:h,getDenyButton:g,getCancelButton:b,getLoader:ct,getHeader:dt,getFooter:pt,getTimerProgressBar:mt,getFocusableElements:ht,getValidationMessage:lt,isLoading:function(){return f().hasAttribute("data-loading")},fire:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return V(this,e)},mixin:function(s){return(t=>{var e=i;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&I(e,t),n=i,o=H();var n,o,a=function(){var t,e=l(n);return N(this,o?(t=l(this).constructor,Reflect.construct(e,arguments,t)):e.apply(this,arguments))};function i(){return q(this,i),a.apply(this,arguments)}return $(i,[{key:"_main",value:function(t,e){return R(l(i.prototype),"_main",this).call(this,t,r({},s,e))}}]),i})(this)},queue:function(t){J("Swal.queue()","async/await");function i(t,e){_=[],t(e)}var s=this,r=(_=t,[]);return new Promise(function(a){!function e(n,o){n<_.length?(document.body.setAttribute("data-swal2-queue-step",n),s.fire(_[n]).then(function(t){void 0!==t.value?(r.push(t.value),e(n+1,o)):i(a,{dismiss:t.dismiss})})):i(a,{value:r})}(0)})},getQueueStep:fe,insertQueueStep:function(t,e){return e&&e<_.length?_.splice(e,0,t):_.push(t)},deleteQueueStep:function(t){void 0!==_[t]&&_.splice(t,1)},showLoading:Be,enableLoading:Be,getTimerLeft:function(){return T.timeout&&T.timeout.getTimerLeft()},stopTimer:Ce,resumeTimer:Ae,toggleTimer:function(){var t=T.timeout;return t&&(t.running?Ce:Ae)()},increaseTimer:function(t){if(T.timeout)return t=T.timeout.increase(t),Tt(t,!0),t},isTimerRunning:function(){return T.timeout&&T.timeout.isRunning()},bindClickHandler:function(){_e[0<arguments.length&&void 0!==arguments[0]?arguments[0]:"data-swal-template"]=this,Se||(document.body.addEventListener("click",Te),Se=!0)}});function Ve(){var t,e;E.innerParams.get(this)&&(t=E.domCache.get(this),B(t.loader),(e=t.popup.getElementsByClassName(t.loader.getAttribute("data-button-to-replace"))).length?A(e[0],"inline-block"):P(h())||P(g())||P(b())||B(t.actions),x([t.popup,t.actions],p.loading),t.popup.removeAttribute("aria-busy"),t.popup.removeAttribute("data-loading"),t.confirmButton.disabled=!1,t.denyButton.disabled=!1,t.cancelButton.disabled=!1)}var Ne=function(){null===n.previousBodyPadding&&document.body.scrollHeight>window.innerHeight&&(n.previousBodyPadding=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")),document.body.style.paddingRight="".concat(n.previousBodyPadding+Ut(),"px"))},Re=function(){null!==n.previousBodyPadding&&(document.body.style.paddingRight="".concat(n.previousBodyPadding,"px"),n.previousBodyPadding=null)},Ue=function(){var t;(/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream||"MacIntel"===navigator.platform&&1<navigator.maxTouchPoints)&&!yt(document.body,p.iosfix)&&(t=document.body.scrollTop,document.body.style.top="".concat(-1*t,"px"),k(document.body,p.iosfix),Ye(),Fe())},Fe=function(){!navigator.userAgent.match(/(CriOS|FxiOS|EdgiOS|YaBrowser|UCBrowser)/i)&&f().scrollHeight>window.innerHeight-44&&(m().style.paddingBottom="".concat(44,"px"))},Ye=function(){var e,t=m();t.ontouchstart=function(t){e=Ze(t)},t.ontouchmove=function(t){e&&(t.preventDefault(),t.stopPropagation())}},Ze=function(t){var e=t.target,n=m();return!(We(t)||Ke(t)||e!==n&&(Et(n)||"INPUT"===e.tagName||Et(w())&&w().contains(e)))},We=function(t){return t.touches&&t.touches.length&&"stylus"===t.touches[0].touchType},Ke=function(t){return t.touches&&1<t.touches.length},Xe=function(){var t;yt(document.body,p.iosfix)&&(t=parseInt(document.body.style.top,10),x(document.body,p.iosfix),document.body.style.top="",document.body.scrollTop=-1*t)},Qe=function(){return!!window.MSInputMethodContext&&!!document.documentMode},Je=function(){var t=m(),e=f();t.style.removeProperty("align-items"),e.offsetTop<0&&(t.style.alignItems="flex-start")},Ge=function(){"undefined"!=typeof window&&Qe()&&(Je(),window.addEventListener("resize",Je))},tn=function(){"undefined"!=typeof window&&Qe()&&window.removeEventListener("resize",Je)},en=function(){o(document.body.children).forEach(function(t){t===m()||_t(t,m())||(t.hasAttribute("aria-hidden")&&t.setAttribute("data-previous-aria-hidden",t.getAttribute("aria-hidden")),t.setAttribute("aria-hidden","true"))})},nn=function(){o(document.body.children).forEach(function(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")})},on={swalPromiseResolve:new WeakMap};function an(t,e,n,o){bt()?dn(t,o):(Ee(n).then(function(){return dn(t,o)}),T.keydownTarget.removeEventListener("keydown",T.keydownHandler,{capture:T.keydownListenerCapture}),T.keydownHandlerAdded=!1),e.parentNode&&!document.body.getAttribute("data-swal2-queue-step")&&e.parentNode.removeChild(e),gt()&&(Re(),Xe(),tn(),nn()),x([document.documentElement,document.body],[p.shown,p["height-auto"],p["no-backdrop"],p["toast-shown"]])}function sn(t){var e,n,o,a=f();a&&(t=rn(t),e=E.innerParams.get(this))&&!yt(a,e.hideClass.popup)&&(n=on.swalPromiseResolve.get(this),x(a,e.showClass.popup),k(a,e.hideClass.popup),o=m(),x(o,e.showClass.backdrop),k(o,e.hideClass.backdrop),ln(this,a,e),n(t))}function rn(t){return void 0===t?{isConfirmed:!1,isDenied:!1,isDismissed:!0}:r({isConfirmed:!1,isDenied:!1,isDismissed:!1},t)}function ln(t,e,n){var o=m(),a=Rt&&St(e),i=n.onClose,s=n.onAfterClose,r=n.didClose;cn(e,n.willClose,i),a?un(t,e,o,n.returnFocus,r||s):an(t,o,n.returnFocus,r||s)}var cn=function(t,e,n){null!==e&&"function"==typeof e?e(t):null!==n&&"function"==typeof n&&n(t)},un=function(t,e,n,o,a){T.swalCloseEventFinishedCallback=an.bind(null,t,n,o,a),e.addEventListener(Rt,function(t){t.target===e&&(T.swalCloseEventFinishedCallback(),delete T.swalCloseEventFinishedCallback)})},dn=function(t,e){setTimeout(function(){"function"==typeof e&&e(),t._destroy()})};function pn(t,e,n){var o=E.domCache.get(t);e.forEach(function(t){o[t].disabled=n})}function mn(t,e){if(!t)return!1;if("radio"===t.type)for(var n=t.parentNode.parentNode.querySelectorAll("input"),o=0;o<n.length;o++)n[o].disabled=e;else t.disabled=e}var fn=(()=>{function n(t,e){q(this,n),this.callback=t,this.remaining=e,this.running=!1,this.start()}return $(n,[{key:"start",value:function(){return this.running||(this.running=!0,this.started=new Date,this.id=setTimeout(this.callback,this.remaining)),this.remaining}},{key:"stop",value:function(){return this.running&&(this.running=!1,clearTimeout(this.id),this.remaining-=new Date-this.started),this.remaining}},{key:"increase",value:function(t){var e=this.running;return e&&this.stop(),this.remaining+=t,e&&this.start(),this.remaining}},{key:"getTimerLeft",value:function(){return this.running&&(this.stop(),this.start()),this.remaining}},{key:"isRunning",value:function(){return this.running}}]),n})(),wn={email:function(t,e){return/^[a-zA-Z0-9.+_-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9-]{2,24}$/.test(t)?Promise.resolve():Promise.resolve(e||"Invalid email address")},url:function(t,e){return/^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-z]{2,63}\b([-a-zA-Z0-9@:%_+.~#?&/=]*)$/.test(t)?Promise.resolve():Promise.resolve(e||"Invalid URL")}};function hn(t){var e,n;(e=t).inputValidator||Object.keys(wn).forEach(function(t){e.input===t&&(e.inputValidator=wn[t])}),t.showLoaderOnConfirm&&!t.preConfirm&&s("showLoaderOnConfirm is set to true, but preConfirm is not defined.\nshowLoaderOnConfirm should be used together with preConfirm, see usage example:\nhttps://sweetalert2.github.io/#ajax-request"),t.animation=G(t.animation),(n=t).target&&("string"!=typeof n.target||document.querySelector(n.target))&&("string"==typeof n.target||n.target.appendChild)||(s('Target parameter is not valid, defaulting to "body"'),n.target="body"),"string"==typeof t.title&&(t.title=t.title.split("\n").join("<br />")),It(t)}var gn=["swal-title","swal-html","swal-footer"],bn=function(t){var t="string"==typeof t.template?document.querySelector(t.template):t.template;return t?(t=t.content||t,Bn(t),r(yn(t),vn(t),kn(t),xn(t),Cn(t),An(t,gn))):{}},yn=function(t){var n={};return o(t.querySelectorAll("swal-param")).forEach(function(t){j(t,["name","value"]);var e=t.getAttribute("name"),t=t.getAttribute("value");"boolean"==typeof L[e]&&"false"===t&&(t=!1),"object"===i(L[e])&&(t=JSON.parse(t)),n[e]=t}),n},vn=function(t){var n={};return o(t.querySelectorAll("swal-button")).forEach(function(t){j(t,["type","color","aria-label"]);var e=t.getAttribute("type");n["".concat(e,"ButtonText")]=t.innerHTML,n["show".concat(W(e),"Button")]=!0,t.hasAttribute("color")&&(n["".concat(e,"ButtonColor")]=t.getAttribute("color")),t.hasAttribute("aria-label")&&(n["".concat(e,"ButtonAriaLabel")]=t.getAttribute("aria-label"))}),n},kn=function(t){var e={},t=t.querySelector("swal-image");return t&&(j(t,["src","width","height","alt"]),t.hasAttribute("src")&&(e.imageUrl=t.getAttribute("src")),t.hasAttribute("width")&&(e.imageWidth=t.getAttribute("width")),t.hasAttribute("height")&&(e.imageHeight=t.getAttribute("height")),t.hasAttribute("alt"))&&(e.imageAlt=t.getAttribute("alt")),e},xn=function(t){var e={},t=t.querySelector("swal-icon");return t&&(j(t,["type","color"]),t.hasAttribute("type")&&(e.icon=t.getAttribute("type")),t.hasAttribute("color")&&(e.iconColor=t.getAttribute("color")),e.iconHtml=t.innerHTML),e},Cn=function(t){var n={},e=t.querySelector("swal-input"),e=(e&&(j(e,["type","label","placeholder","value"]),n.input=e.getAttribute("type")||"text",e.hasAttribute("label")&&(n.inputLabel=e.getAttribute("label")),e.hasAttribute("placeholder")&&(n.inputPlaceholder=e.getAttribute("placeholder")),e.hasAttribute("value"))&&(n.inputValue=e.getAttribute("value")),t.querySelectorAll("swal-input-option"));return e.length&&(n.inputOptions={},o(e).forEach(function(t){j(t,["value"]);var e=t.getAttribute("value"),t=t.innerHTML;n.inputOptions[e]=t})),n},An=function(t,e){var n,o={};for(n in e){var a=e[n],i=t.querySelector(a);i&&(j(i,[]),o[a.replace(/^swal-/,"")]=i.innerHTML.trim())}return o},Bn=function(e){var n=gn.concat(["swal-param","swal-button","swal-image","swal-icon","swal-input","swal-input-option"]);o(e.querySelectorAll("*")).forEach(function(t){t.parentNode===e&&(t=t.tagName.toLowerCase(),-1===n.indexOf(t))&&s("Unrecognized element <".concat(t,">"))})},j=function(e,n){o(e.attributes).forEach(function(t){-1===n.indexOf(t.name)&&s(['Unrecognized attribute "'.concat(t.name,'" on <').concat(e.tagName.toLowerCase(),">."),"".concat(n.length?"Allowed attributes are: ".concat(n.join(", ")):"To set the value, use HTML within the element.")])})},Pn=10,On=function(t){var e=m(),n=f();"function"==typeof t.willOpen?t.willOpen(n):"function"==typeof t.onBeforeOpen&&t.onBeforeOpen(n);var o=window.getComputedStyle(document.body).overflowY;Ln(e,n,t),setTimeout(function(){_n(e,n)},Pn),gt()&&(Tn(e,t.scrollbarPadding,o),en()),bt()||T.previousActiveElement||(T.previousActiveElement=document.activeElement),En(n,t),x(e,p["no-transition"])},En=function(t,e){"function"==typeof e.didOpen?setTimeout(function(){return e.didOpen(t)}):"function"==typeof e.onOpen&&setTimeout(function(){return e.onOpen(t)})},Sn=function t(e){var n=f();e.target===n&&(e=m(),n.removeEventListener(Rt,t),e.style.overflowY="auto")},_n=function(t,e){Rt&&St(e)?(t.style.overflowY="hidden",e.addEventListener(Rt,Sn)):t.style.overflowY="auto"},Tn=function(t,e,n){Ue(),Ge(),e&&"hidden"!==n&&Ne(),setTimeout(function(){t.scrollTop=0})},Ln=function(t,e,n){k(t,n.showClass.backdrop),e.style.setProperty("opacity","0","important"),A(e),setTimeout(function(){k(e,n.showClass.popup),e.style.removeProperty("opacity")},Pn),k([document.documentElement,document.body],p.shown),n.heightAuto&&n.backdrop&&!n.toast&&k([document.documentElement,document.body],p["height-auto"])},jn=function(t,e){"select"===e.input||"radio"===e.input?$n(t,e):-1!==["text","email","number","tel","textarea"].indexOf(e.input)&&(tt(e.inputValue)||et(e.inputValue))&&In(t,e)},zn=function(t,e){var n=t.getInput();if(!n)return null;switch(e.input){case"checkbox":return Dn(n);case"radio":return qn(n);case"file":return Mn(n);default:return e.inputAutoTrim?n.value.trim():n.value}},Dn=function(t){return t.checked?1:0},qn=function(t){return t.checked?t.value:null},Mn=function(t){return t.files.length?null!==t.getAttribute("multiple")?t.files:t.files[0]:null},$n=function(e,n){function o(t){Hn[n.input](a,Vn(t),n)}var a=w();tt(n.inputOptions)||et(n.inputOptions)?(Be(h()),u(n.inputOptions).then(function(t){e.hideLoading(),o(t)})):"object"===i(n.inputOptions)?o(n.inputOptions):c("Unexpected type of inputOptions! Expected object, Map or Promise, got ".concat(i(n.inputOptions)))},In=function(e,n){var o=e.getInput();B(o),u(n.inputValue).then(function(t){o.value="number"===n.input?parseFloat(t)||0:"".concat(t),A(o),o.focus(),e.hideLoading()}).catch(function(t){c("Error in inputValue promise: ".concat(t)),o.value="",A(o),o.focus(),e.hideLoading()})},Hn={select:function(t,e,a){function o(t,e,n){var o=document.createElement("option");o.value=n,y(o,e),o.selected=Nn(n,a.inputValue),t.appendChild(o)}var i=C(t,p.select);e.forEach(function(t){var e,n=t[0],t=t[1];Array.isArray(t)?((e=document.createElement("optgroup")).label=n,e.disabled=!1,i.appendChild(e),t.forEach(function(t){return o(e,t[1],t[0])})):o(i,t,n)}),i.focus()},radio:function(t,e,a){var i=C(t,p.radio),t=(e.forEach(function(t){var e=t[0],t=t[1],n=document.createElement("input"),o=document.createElement("label"),e=(n.type="radio",n.name=p.radio,n.value=e,Nn(e,a.inputValue)&&(n.checked=!0),document.createElement("span"));y(e,t),e.className=p.label,o.appendChild(n),o.appendChild(e),i.appendChild(o)}),i.querySelectorAll("input"));t.length&&t[0].focus()}},Vn=function n(o){var a=[];return"undefined"!=typeof Map&&o instanceof Map?o.forEach(function(t,e){"object"===i(t)&&(t=n(t)),a.push([e,t])}):Object.keys(o).forEach(function(t){var e=o[t];"object"===i(e)&&(e=n(e)),a.push([t,e])}),a},Nn=function(t,e){return e&&e.toString()===t.toString()},Rn=function(t,e){t.disableButtons(),e.input?Yn(t,e,"confirm"):Xn(t,e,!0)},Un=function(t,e){t.disableButtons(),e.returnInputValueOnDeny?Yn(t,e,"deny"):Wn(t,e,!1)},Fn=function(t,e){t.disableButtons(),e(d.cancel)},Yn=function(t,e,n){var o=zn(t,e);e.inputValidator?Zn(t,e,o):t.getInput().checkValidity()?("deny"===n?Wn:Xn)(t,e,o):(t.enableButtons(),t.showValidationMessage(e.validationMessage))},Zn=function(e,n,o){e.disableInput(),Promise.resolve().then(function(){return u(n.inputValidator(o,n.validationMessage))}).then(function(t){e.enableButtons(),e.enableInput(),t?e.showValidationMessage(t):Xn(e,n,o)})},Wn=function(e,t,n){t.showLoaderOnDeny&&Be(g()),t.preDeny?Promise.resolve().then(function(){return u(t.preDeny(n,t.validationMessage))}).then(function(t){!1===t?e.hideLoading():e.closePopup({isDenied:!0,value:void 0===t?n:t})}):e.closePopup({isDenied:!0,value:n})},Kn=function(t,e){t.closePopup({isConfirmed:!0,value:e})},Xn=function(e,t,n){t.showLoaderOnConfirm&&Be(),t.preConfirm?(e.resetValidationMessage(),Promise.resolve().then(function(){return u(t.preConfirm(n,t.validationMessage))}).then(function(t){P(lt())||!1===t?e.hideLoading():Kn(e,void 0===t?n:t)})):Kn(e,n)},Qn=function(e,t,n,o){t.keydownTarget&&t.keydownHandlerAdded&&(t.keydownTarget.removeEventListener("keydown",t.keydownHandler,{capture:t.keydownListenerCapture}),t.keydownHandlerAdded=!1),n.toast||(t.keydownHandler=function(t){return no(e,t,o)},t.keydownTarget=n.keydownListenerCapture?window:f(),t.keydownListenerCapture=n.keydownListenerCapture,t.keydownTarget.addEventListener("keydown",t.keydownHandler,{capture:t.keydownListenerCapture}),t.keydownHandlerAdded=!0)},Jn=function(t,e,n){var o=ht();if(o.length)return(e+=n)===o.length?e=0:-1===e&&(e=o.length-1),o[e].focus();f().focus()},Gn=["ArrowRight","ArrowDown","Right","Down"],to=["ArrowLeft","ArrowUp","Left","Up"],eo=["Escape","Esc"],no=function(t,e,n){var o=E.innerParams.get(t);o&&(o.stopKeydownPropagation&&e.stopPropagation(),"Enter"===e.key?oo(t,e,o):"Tab"===e.key?ao(e,o):-1!==[].concat(Gn,to).indexOf(e.key)?io(e.key):-1!==eo.indexOf(e.key)&&so(e,o,n))},oo=function(t,e,n){e.isComposing||e.target&&t.getInput()&&e.target.outerHTML===t.getInput().outerHTML&&-1===["textarea","file"].indexOf(n.input)&&(xe(),e.preventDefault())},ao=function(t,e){for(var n=t.target,o=ht(),a=-1,i=0;i<o.length;i++)if(n===o[i]){a=i;break}t.shiftKey?Jn(e,a,-1):Jn(e,a,1),t.stopPropagation(),t.preventDefault()},io=function(t){-1!==[h(),g(),b()].indexOf(document.activeElement)&&(t=-1!==Gn.indexOf(t)?"nextElementSibling":"previousElementSibling",t=document.activeElement[t])&&t.focus()},so=function(t,e,n){G(e.allowEscapeKey)&&(t.preventDefault(),n(d.esc))},ro=function(t,e,n){(E.innerParams.get(t).toast?lo:(uo(e),po(e),mo))(t,e,n)},lo=function(e,t,n){t.popup.onclick=function(){var t=E.innerParams.get(e);t.showConfirmButton||t.showDenyButton||t.showCancelButton||t.showCloseButton||t.timer||t.input||n(d.close)}},co=!1,uo=function(e){e.popup.onmousedown=function(){e.container.onmouseup=function(t){e.container.onmouseup=void 0,t.target===e.container&&(co=!0)}}},po=function(e){e.container.onmousedown=function(){e.popup.onmouseup=function(t){e.popup.onmouseup=void 0,t.target!==e.popup&&!e.popup.contains(t.target)||(co=!0)}}},mo=function(n,o,a){o.container.onclick=function(t){var e=E.innerParams.get(n);co?co=!1:t.target===o.container&&G(e.allowOutsideClick)&&a(d.backdrop)}};function fo(t,e){var n=bn(t);return(e=r({},L,e,n,t)).showClass=r({},L.showClass,e.showClass),e.hideClass=r({},L.hideClass,e.hideClass),!1===t.animation&&(e.showClass={popup:"swal2-noanimation",backdrop:"swal2-noanimation"},e.hideClass={}),e}function wo(n,o,a){return new Promise(function(t){function e(t){n.closePopup({isDismissed:!0,dismiss:t})}on.swalPromiseResolve.set(n,t),o.confirmButton.onclick=function(){return Rn(n,a)},o.denyButton.onclick=function(){return Un(n,a)},o.cancelButton.onclick=function(){return Fn(n,e)},o.closeButton.onclick=function(){return e(d.close)},ro(n,o,e),Qn(n,T,a,e),jn(n,a),On(a),go(T,a,e),bo(o,a),setTimeout(function(){o.container.scrollTop=0})})}function ho(t){var e={popup:f(),container:m(),content:w(),actions:ut(),confirmButton:h(),denyButton:g(),cancelButton:b(),loader:ct(),closeButton:ft(),validationMessage:lt(),progressSteps:rt()};return E.domCache.set(t,e),e}var go=function(t,e,n){var o=mt();B(o),e.timer&&(t.timeout=new fn(function(){n("timer"),delete t.timeout},e.timer),e.timerProgressBar)&&(A(o),setTimeout(function(){t.timeout&&t.timeout.running&&Tt(e.timer)}))},bo=function(t,e){if(!e.toast)return G(e.allowEnterKey)?void(yo(t,e)||Jn(e,-1,1)):vo()},yo=function(t,e){return e.focusDeny&&P(t.denyButton)?(t.denyButton.focus(),!0):e.focusCancel&&P(t.cancelButton)?(t.cancelButton.focus(),!0):!(!e.focusConfirm||!P(t.confirmButton)||(t.confirmButton.focus(),0))},vo=function(){document.activeElement&&"function"==typeof document.activeElement.blur&&document.activeElement.blur()};function ko(t){"function"==typeof t.didDestroy?t.didDestroy():"function"==typeof t.onDestroy&&t.onDestroy()}function xo(t){delete t.params,delete T.keydownHandler,delete T.keydownTarget,Ao(E),Ao(on)}var Co,Ao=function(t){for(var e in t)t[e]=new WeakMap},Bo=Object.freeze({hideLoading:Ve,disableLoading:Ve,getInput:function(t){var e=E.innerParams.get(t||this);return(t=E.domCache.get(t||this))?kt(t.content,e.input):null},close:sn,closePopup:sn,closeModal:sn,closeToast:sn,enableButtons:function(){pn(this,["confirmButton","denyButton","cancelButton"],!1)},disableButtons:function(){pn(this,["confirmButton","denyButton","cancelButton"],!0)},enableInput:function(){return mn(this.getInput(),!1)},disableInput:function(){return mn(this.getInput(),!0)},showValidationMessage:function(t){var e=E.domCache.get(this),n=E.innerParams.get(this);y(e.validationMessage,t),e.validationMessage.className=p["validation-message"],n.customClass&&n.customClass.validationMessage&&k(e.validationMessage,n.customClass.validationMessage),A(e.validationMessage),(t=this.getInput())&&(t.setAttribute("aria-invalid",!0),t.setAttribute("aria-describedBy",p["validation-message"]),Ct(t),k(t,p.inputerror))},resetValidationMessage:function(){var t=E.domCache.get(this);t.validationMessage&&B(t.validationMessage),(t=this.getInput())&&(t.removeAttribute("aria-invalid"),t.removeAttribute("aria-describedBy"),x(t,p.inputerror))},getProgressSteps:function(){return E.domCache.get(this).progressSteps},_main:function(t){var e,n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},o=r({},n,t);for(e in o)Me(e),o.toast&&$e(e),Ie(e);return T.currentInstance&&T.currentInstance._destroy(),T.currentInstance=this,hn(t=fo(t,n)),Object.freeze(t),T.timeout&&(T.timeout.stop(),delete T.timeout),clearTimeout(T.restoreFocusTimeout),n=ho(this),Kt(this,t),E.innerParams.set(this,t),wo(this,n,t)},update:function(e){var t=f(),n=E.innerParams.get(this);if(!t||yt(t,n.hideClass.popup))return s("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.");var o={},t=(Object.keys(e).forEach(function(t){D.isUpdatableParameter(t)?o[t]=e[t]:s('Invalid parameter to update: "'.concat(t,'". Updatable params are listed here: https://github.com/sweetalert2/sweetalert2/blob/master/src/utils/params.js\n\nIf you think this parameter should be updatable, request it here: https://github.com/sweetalert2/sweetalert2/issues/new?template=02_feature_request.md'))}),r({},n,o));Kt(this,t),E.innerParams.set(this,t),Object.defineProperties(this,{params:{value:r({},this.params,e),writable:!1,enumerable:!0}})},_destroy:function(){var t=E.domCache.get(this),e=E.innerParams.get(this);e&&(t.popup&&T.swalCloseEventFinishedCallback&&(T.swalCloseEventFinishedCallback(),delete T.swalCloseEventFinishedCallback),T.deferDisposalTimer&&(clearTimeout(T.deferDisposalTimer),delete T.deferDisposalTimer),ko(e),xo(this))}}),z=(()=>{function a(){if(q(this,a),"undefined"!=typeof window){"undefined"==typeof Promise&&c("This package requires a Promise library, please include a shim to enable it in this browser (See: https://github.com/sweetalert2/sweetalert2/wiki/Migration-from-SweetAlert-to-SweetAlert2#1-ie-support)"),Co=this;for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var o=Object.freeze(this.constructor.argsToParams(e)),o=(Object.defineProperties(this,{params:{value:o,writable:!1,enumerable:!0,configurable:!0}}),this._main(this.params));E.promise.set(this,o)}}return $(a,[{key:"then",value:function(t){return E.promise.get(this).then(t)}},{key:"finally",value:function(t){return E.promise.get(this).finally(t)}}]),a})(),D=(r(z.prototype,Bo),r(z,He),Object.keys(Bo).forEach(function(t){z[t]=function(){if(Co)return Co[t].apply(Co,arguments)}}),z.DismissReason=d,z.version="10.16.9",z);return D.default=D})(),void 0!==this&&this.Sweetalert2&&(this.swal=this.sweetAlert=this.Swal=this.SweetAlert=this.Sweetalert2),"undefined"!=typeof document){var e=document,t='.swal2-popup.swal2-toast{flex-direction:column;align-items:stretch;width:auto;padding:1.25em;overflow-y:hidden;background:#fff;box-shadow:0 0 .625em #d9d9d9}.swal2-popup.swal2-toast .swal2-header{flex-direction:row;padding:0}.swal2-popup.swal2-toast .swal2-title{flex-grow:1;justify-content:flex-start;margin:0 .625em;font-size:1em}.swal2-popup.swal2-toast .swal2-loading{justify-content:center}.swal2-popup.swal2-toast .swal2-input{height:2em;margin:.3125em auto;font-size:1em}.swal2-popup.swal2-toast .swal2-validation-message{font-size:1em}.swal2-popup.swal2-toast .swal2-footer{margin:.5em 0 0;padding:.5em 0 0;font-size:.8em}.swal2-popup.swal2-toast .swal2-close{position:static;width:.8em;height:.8em;line-height:.8}.swal2-popup.swal2-toast .swal2-content{justify-content:flex-start;margin:0 .625em;padding:0;font-size:1em;text-align:initial}.swal2-popup.swal2-toast .swal2-html-container{padding:.625em 0 0}.swal2-popup.swal2-toast .swal2-html-container:empty{padding:0}.swal2-popup.swal2-toast .swal2-icon{width:2em;min-width:2em;height:2em;margin:0 .5em 0 0}.swal2-popup.swal2-toast .swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:1.8em;font-weight:700}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.swal2-popup.swal2-toast .swal2-icon .swal2-icon-content{font-size:.25em}}.swal2-popup.swal2-toast .swal2-icon.swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line]{top:.875em;width:1.375em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:.3125em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:.3125em}.swal2-popup.swal2-toast .swal2-actions{flex:1;flex-basis:auto!important;align-self:stretch;width:auto;height:2.2em;height:auto;margin:0 .3125em;margin-top:.3125em;padding:0}.swal2-popup.swal2-toast .swal2-styled{margin:.125em .3125em;padding:.3125em .625em;font-size:1em}.swal2-popup.swal2-toast .swal2-styled:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px rgba(100,150,200,.5)}.swal2-popup.swal2-toast .swal2-success{border-color:#a5dc86}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line]{position:absolute;width:1.6em;height:3em;transform:rotate(45deg);border-radius:50%}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=left]{top:-.8em;left:-.5em;transform:rotate(-45deg);transform-origin:2em 2em;border-radius:4em 0 0 4em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=right]{top:-.25em;left:.9375em;transform-origin:0 1.5em;border-radius:0 4em 4em 0}.swal2-popup.swal2-toast .swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-success .swal2-success-fix{top:0;left:.4375em;width:.4375em;height:2.6875em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line]{height:.3125em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=tip]{top:1.125em;left:.1875em;width:.75em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=long]{top:.9375em;right:.1875em;width:1.375em}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-tip{-webkit-animation:swal2-toast-animate-success-line-tip .75s;animation:swal2-toast-animate-success-line-tip .75s}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-long{-webkit-animation:swal2-toast-animate-success-line-long .75s;animation:swal2-toast-animate-success-line-long .75s}.swal2-popup.swal2-toast.swal2-show{-webkit-animation:swal2-toast-show .5s;animation:swal2-toast-show .5s}.swal2-popup.swal2-toast.swal2-hide{-webkit-animation:swal2-toast-hide .1s forwards;animation:swal2-toast-hide .1s forwards}.swal2-container{display:flex;position:fixed;z-index:1060;top:0;right:0;bottom:0;left:0;flex-direction:row;align-items:center;justify-content:center;padding:.625em;overflow-x:hidden;transition:background-color .1s;-webkit-overflow-scrolling:touch}.swal2-container.swal2-backdrop-show,.swal2-container.swal2-noanimation{background:rgba(0,0,0,.4)}.swal2-container.swal2-backdrop-hide{background:0 0!important}.swal2-container.swal2-top{align-items:flex-start}.swal2-container.swal2-top-left,.swal2-container.swal2-top-start{align-items:flex-start;justify-content:flex-start}.swal2-container.swal2-top-end,.swal2-container.swal2-top-right{align-items:flex-start;justify-content:flex-end}.swal2-container.swal2-center{align-items:center}.swal2-container.swal2-center-left,.swal2-container.swal2-center-start{align-items:center;justify-content:flex-start}.swal2-container.swal2-center-end,.swal2-container.swal2-center-right{align-items:center;justify-content:flex-end}.swal2-container.swal2-bottom{align-items:flex-end}.swal2-container.swal2-bottom-left,.swal2-container.swal2-bottom-start{align-items:flex-end;justify-content:flex-start}.swal2-container.swal2-bottom-end,.swal2-container.swal2-bottom-right{align-items:flex-end;justify-content:flex-end}.swal2-container.swal2-bottom-end>:first-child,.swal2-container.swal2-bottom-left>:first-child,.swal2-container.swal2-bottom-right>:first-child,.swal2-container.swal2-bottom-start>:first-child,.swal2-container.swal2-bottom>:first-child{margin-top:auto}.swal2-container.swal2-grow-fullscreen>.swal2-modal{display:flex!important;flex:1;align-self:stretch;justify-content:center}.swal2-container.swal2-grow-row>.swal2-modal{display:flex!important;flex:1;align-content:center;justify-content:center}.swal2-container.swal2-grow-column{flex:1;flex-direction:column}.swal2-container.swal2-grow-column.swal2-bottom,.swal2-container.swal2-grow-column.swal2-center,.swal2-container.swal2-grow-column.swal2-top{align-items:center}.swal2-container.swal2-grow-column.swal2-bottom-left,.swal2-container.swal2-grow-column.swal2-bottom-start,.swal2-container.swal2-grow-column.swal2-center-left,.swal2-container.swal2-grow-column.swal2-center-start,.swal2-container.swal2-grow-column.swal2-top-left,.swal2-container.swal2-grow-column.swal2-top-start{align-items:flex-start}.swal2-container.swal2-grow-column.swal2-bottom-end,.swal2-container.swal2-grow-column.swal2-bottom-right,.swal2-container.swal2-grow-column.swal2-center-end,.swal2-container.swal2-grow-column.swal2-center-right,.swal2-container.swal2-grow-column.swal2-top-end,.swal2-container.swal2-grow-column.swal2-top-right{align-items:flex-end}.swal2-container.swal2-grow-column>.swal2-modal{display:flex!important;flex:1;align-content:center;justify-content:center}.swal2-container.swal2-no-transition{transition:none!important}.swal2-container:not(.swal2-top):not(.swal2-top-start):not(.swal2-top-end):not(.swal2-top-left):not(.swal2-top-right):not(.swal2-center-start):not(.swal2-center-end):not(.swal2-center-left):not(.swal2-center-right):not(.swal2-bottom):not(.swal2-bottom-start):not(.swal2-bottom-end):not(.swal2-bottom-left):not(.swal2-bottom-right):not(.swal2-grow-fullscreen)>.swal2-modal{margin:auto}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.swal2-container .swal2-modal{margin:0!important}}.swal2-popup{display:none;position:relative;box-sizing:border-box;flex-direction:column;justify-content:center;width:32em;max-width:100%;padding:1.25em;border:none;border-radius:5px;background:#fff;font-family:inherit;font-size:1rem}.swal2-popup:focus{outline:0}.swal2-popup.swal2-loading{overflow-y:hidden}.swal2-header{display:flex;flex-direction:column;align-items:center;padding:0 1.8em}.swal2-title{position:relative;max-width:100%;margin:0 0 .4em;padding:0;color:#595959;font-size:1.875em;font-weight:600;text-align:center;text-transform:none;word-wrap:break-word}.swal2-actions{display:flex;z-index:1;box-sizing:border-box;flex-wrap:wrap;align-items:center;justify-content:center;width:100%;margin:1.25em auto 0;padding:0}.swal2-actions:not(.swal2-loading) .swal2-styled[disabled]{opacity:.4}.swal2-actions:not(.swal2-loading) .swal2-styled:hover{background-image:linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.1))}.swal2-actions:not(.swal2-loading) .swal2-styled:active{background-image:linear-gradient(rgba(0,0,0,.2),rgba(0,0,0,.2))}.swal2-loader{display:none;align-items:center;justify-content:center;width:2.2em;height:2.2em;margin:0 1.875em;-webkit-animation:swal2-rotate-loading 1.5s linear 0s infinite normal;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;border-width:.25em;border-style:solid;border-radius:100%;border-color:#2778c4 transparent #2778c4 transparent}.swal2-styled{margin:.3125em;padding:.625em 1.1em;box-shadow:none;font-weight:500}.swal2-styled:not([disabled]){cursor:pointer}.swal2-styled.swal2-confirm{border:0;border-radius:.25em;background:initial;background-color:#2778c4;color:#fff;font-size:1em}.swal2-styled.swal2-deny{border:0;border-radius:.25em;background:initial;background-color:#d14529;color:#fff;font-size:1em}.swal2-styled.swal2-cancel{border:0;border-radius:.25em;background:initial;background-color:#757575;color:#fff;font-size:1em}.swal2-styled:focus{outline:0;box-shadow:0 0 0 3px rgba(100,150,200,.5)}.swal2-styled::-moz-focus-inner{border:0}.swal2-footer{justify-content:center;margin:1.25em 0 0;padding:1em 0 0;border-top:1px solid #eee;color:#545454;font-size:1em}.swal2-timer-progress-bar-container{position:absolute;right:0;bottom:0;left:0;height:.25em;overflow:hidden;border-bottom-right-radius:5px;border-bottom-left-radius:5px}.swal2-timer-progress-bar{width:100%;height:.25em;background:rgba(0,0,0,.2)}.swal2-image{max-width:100%;margin:1.25em auto}.swal2-close{position:absolute;z-index:2;top:0;right:0;align-items:center;justify-content:center;width:1.2em;height:1.2em;padding:0;overflow:hidden;transition:color .1s ease-out;border:none;border-radius:5px;background:0 0;color:#ccc;font-family:serif;font-size:2.5em;line-height:1.2;cursor:pointer}.swal2-close:hover{transform:none;background:0 0;color:#f27474}.swal2-close:focus{outline:0;box-shadow:inset 0 0 0 3px rgba(100,150,200,.5)}.swal2-close::-moz-focus-inner{border:0}.swal2-content{z-index:1;justify-content:center;margin:0;padding:0 1.6em;color:#545454;font-size:1.125em;font-weight:400;line-height:normal;text-align:center;word-wrap:break-word}.swal2-checkbox,.swal2-file,.swal2-input,.swal2-radio,.swal2-select,.swal2-textarea{margin:1em auto}.swal2-file,.swal2-input,.swal2-textarea{box-sizing:border-box;width:100%;transition:border-color .3s,box-shadow .3s;border:1px solid #d9d9d9;border-radius:.1875em;background:inherit;box-shadow:inset 0 1px 1px rgba(0,0,0,.06);color:inherit;font-size:1.125em}.swal2-file.swal2-inputerror,.swal2-input.swal2-inputerror,.swal2-textarea.swal2-inputerror{border-color:#f27474!important;box-shadow:0 0 2px #f27474!important}.swal2-file:focus,.swal2-input:focus,.swal2-textarea:focus{border:1px solid #b4dbed;outline:0;box-shadow:0 0 0 3px rgba(100,150,200,.5)}.swal2-file::-moz-placeholder,.swal2-input::-moz-placeholder,.swal2-textarea::-moz-placeholder{color:#ccc}.swal2-file:-ms-input-placeholder,.swal2-input:-ms-input-placeholder,.swal2-textarea:-ms-input-placeholder{color:#ccc}.swal2-file::placeholder,.swal2-input::placeholder,.swal2-textarea::placeholder{color:#ccc}.swal2-range{margin:1em auto;background:#fff}.swal2-range input{width:80%}.swal2-range output{width:20%;color:inherit;font-weight:600;text-align:center}.swal2-range input,.swal2-range output{height:2.625em;padding:0;font-size:1.125em;line-height:2.625em}.swal2-input{height:2.625em;padding:0 .75em}.swal2-input[type=number]{max-width:10em}.swal2-file{background:inherit;font-size:1.125em}.swal2-textarea{height:6.75em;padding:.75em}.swal2-select{min-width:50%;max-width:100%;padding:.375em .625em;background:inherit;color:inherit;font-size:1.125em}.swal2-checkbox,.swal2-radio{align-items:center;justify-content:center;background:#fff;color:inherit}.swal2-checkbox label,.swal2-radio label{margin:0 .6em;font-size:1.125em}.swal2-checkbox input,.swal2-radio input{flex-shrink:0;margin:0 .4em}.swal2-input-label{display:flex;justify-content:center;margin:1em auto}.swal2-validation-message{align-items:center;justify-content:center;margin:0 -2.7em;padding:.625em;overflow:hidden;background:#f0f0f0;color:#666;font-size:1em;font-weight:300}.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}.swal2-icon{position:relative;box-sizing:content-box;justify-content:center;width:5em;height:5em;margin:1.25em auto 1.875em;border:.25em solid transparent;border-radius:50%;border-color:#000;font-family:inherit;line-height:5em;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:3.75em}.swal2-icon.swal2-error{border-color:#f27474;color:#f27474}.swal2-icon.swal2-error .swal2-x-mark{position:relative;flex-grow:1}.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}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:1.0625em;transform:rotate(45deg)}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:1em;transform:rotate(-45deg)}.swal2-icon.swal2-error.swal2-icon-show{-webkit-animation:swal2-animate-error-icon .5s;animation:swal2-animate-error-icon .5s}.swal2-icon.swal2-error.swal2-icon-show .swal2-x-mark{-webkit-animation:swal2-animate-error-x-mark .5s;animation:swal2-animate-error-x-mark .5s}.swal2-icon.swal2-warning{border-color:#facea8;color:#f8bb86}.swal2-icon.swal2-info{border-color:#9de0f6;color:#3fc3ee}.swal2-icon.swal2-question{border-color:#c9dae1;color:#87adbd}.swal2-icon.swal2-success{border-color:#a5dc86;color:#a5dc86}.swal2-icon.swal2-success [class^=swal2-success-circular-line]{position:absolute;width:3.75em;height:7.5em;transform:rotate(45deg);border-radius:50%}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=left]{top:-.4375em;left:-2.0635em;transform:rotate(-45deg);transform-origin:3.75em 3.75em;border-radius:7.5em 0 0 7.5em}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=right]{top:-.6875em;left:1.875em;transform:rotate(-45deg);transform-origin:0 3.75em;border-radius:0 7.5em 7.5em 0}.swal2-icon.swal2-success .swal2-success-ring{position:absolute;z-index:2;top:-.25em;left:-.25em;box-sizing:content-box;width:100%;height:100%;border:.25em solid rgba(165,220,134,.3);border-radius:50%}.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)}.swal2-icon.swal2-success [class^=swal2-success-line]{display:block;position:absolute;z-index:2;height:.3125em;border-radius:.125em;background-color:#a5dc86}.swal2-icon.swal2-success [class^=swal2-success-line][class$=tip]{top:2.875em;left:.8125em;width:1.5625em;transform:rotate(45deg)}.swal2-icon.swal2-success [class^=swal2-success-line][class$=long]{top:2.375em;right:.5em;width:2.9375em;transform:rotate(-45deg)}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-line-tip{-webkit-animation:swal2-animate-success-line-tip .75s;animation:swal2-animate-success-line-tip .75s}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-line-long{-webkit-animation:swal2-animate-success-line-long .75s;animation:swal2-animate-success-line-long .75s}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-circular-line-right{-webkit-animation:swal2-rotate-success-circular-line 4.25s ease-in;animation:swal2-rotate-success-circular-line 4.25s ease-in}.swal2-progress-steps{flex-wrap:wrap;align-items:center;max-width:100%;margin:0 0 1.25em;padding:0;background:inherit;font-weight:600}.swal2-progress-steps li{display:inline-block;position:relative}.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}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step{background:#2778c4}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step{background:#add8e6;color:#fff}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step-line{background:#add8e6}.swal2-progress-steps .swal2-progress-step-line{z-index:10;flex-shrink:0;width:2.5em;height:.4em;margin:0 -1px;background:#2778c4}[class^=swal2]{-webkit-tap-highlight-color:transparent}.swal2-show{-webkit-animation:swal2-show .3s;animation:swal2-show .3s}.swal2-hide{-webkit-animation:swal2-hide .15s forwards;animation:swal2-hide .15s forwards}.swal2-noanimation{transition:none}.swal2-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}.swal2-rtl .swal2-close{right:auto;left:0}.swal2-rtl .swal2-timer-progress-bar{right:0;left:auto}@supports (-ms-accelerator:true){.swal2-range input{width:100%!important}.swal2-range output{display:none}}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.swal2-range input{width:100%!important}.swal2-range output{display:none}}@-webkit-keyframes swal2-toast-show{0%{transform:translateY(-.625em) rotateZ(2deg)}33%{transform:translateY(0) rotateZ(-2deg)}66%{transform:translateY(.3125em) rotateZ(2deg)}100%{transform:translateY(0) rotateZ(0)}}@keyframes swal2-toast-show{0%{transform:translateY(-.625em) rotateZ(2deg)}33%{transform:translateY(0) rotateZ(-2deg)}66%{transform:translateY(.3125em) rotateZ(2deg)}100%{transform:translateY(0) rotateZ(0)}}@-webkit-keyframes swal2-toast-hide{100%{transform:rotateZ(1deg);opacity:0}}@keyframes swal2-toast-hide{100%{transform:rotateZ(1deg);opacity:0}}@-webkit-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:-.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-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@-webkit-keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}@keyframes swal2-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}}@-webkit-keyframes swal2-show{0%{transform:scale(.7)}45%{transform:scale(1.05)}80%{transform:scale(.95)}100%{transform:scale(1)}}@keyframes swal2-show{0%{transform:scale(.7)}45%{transform:scale(1.05)}80%{transform:scale(.95)}100%{transform:scale(1)}}@-webkit-keyframes swal2-hide{0%{transform:scale(1);opacity:1}100%{transform:scale(.5);opacity:0}}@keyframes swal2-hide{0%{transform:scale(1);opacity:1}100%{transform:scale(.5);opacity:0}}@-webkit-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:-.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-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.8125em;width:1.5625em}}@-webkit-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-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}}@-webkit-keyframes swal2-rotate-success-circular-line{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}100%{transform:rotate(-405deg)}}@keyframes swal2-rotate-success-circular-line{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}100%{transform:rotate(-405deg)}}@-webkit-keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;transform:scale(.4);opacity:0}50%{margin-top:1.625em;transform:scale(.4);opacity:0}80%{margin-top:-.375em;transform:scale(1.15)}100%{margin-top:0;transform:scale(1);opacity:1}}@keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;transform:scale(.4);opacity:0}50%{margin-top:1.625em;transform:scale(.4);opacity:0}80%{margin-top:-.375em;transform:scale(1.15)}100%{margin-top:0;transform:scale(1);opacity:1}}@-webkit-keyframes swal2-animate-error-icon{0%{transform:rotateX(100deg);opacity:0}100%{transform:rotateX(0);opacity:1}}@keyframes swal2-animate-error-icon{0%{transform:rotateX(100deg);opacity:0}100%{transform:rotateX(0);opacity:1}}@-webkit-keyframes swal2-rotate-loading{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes swal2-rotate-loading{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow:hidden}body.swal2-height-auto{height:auto!important}body.swal2-no-backdrop .swal2-container{top:auto;right:auto;bottom:auto;left:auto;max-width:calc(100% - .625em * 2);background-color:transparent!important}body.swal2-no-backdrop .swal2-container>.swal2-modal{box-shadow:0 0 10px rgba(0,0,0,.4)}body.swal2-no-backdrop .swal2-container.swal2-top{top:0;left:50%;transform:translateX(-50%)}body.swal2-no-backdrop .swal2-container.swal2-top-left,body.swal2-no-backdrop .swal2-container.swal2-top-start{top:0;left:0}body.swal2-no-backdrop .swal2-container.swal2-top-end,body.swal2-no-backdrop .swal2-container.swal2-top-right{top:0;right:0}body.swal2-no-backdrop .swal2-container.swal2-center{top:50%;left:50%;transform:translate(-50%,-50%)}body.swal2-no-backdrop .swal2-container.swal2-center-left,body.swal2-no-backdrop .swal2-container.swal2-center-start{top:50%;left:0;transform:translateY(-50%)}body.swal2-no-backdrop .swal2-container.swal2-center-end,body.swal2-no-backdrop .swal2-container.swal2-center-right{top:50%;right:0;transform:translateY(-50%)}body.swal2-no-backdrop .swal2-container.swal2-bottom{bottom:0;left:50%;transform:translateX(-50%)}body.swal2-no-backdrop .swal2-container.swal2-bottom-left,body.swal2-no-backdrop .swal2-container.swal2-bottom-start{bottom:0;left:0}body.swal2-no-backdrop .swal2-container.swal2-bottom-end,body.swal2-no-backdrop .swal2-container.swal2-bottom-right{right:0;bottom:0}@media print{body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow-y:scroll!important}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown)>[aria-hidden=true]{display:none}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) .swal2-container{position:static!important}}body.swal2-toast-shown .swal2-container{background-color:transparent}body.swal2-toast-shown .swal2-container.swal2-top{top:0;right:auto;bottom:auto;left:50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-top-end,body.swal2-toast-shown .swal2-container.swal2-top-right{top:0;right:0;bottom:auto;left:auto}body.swal2-toast-shown .swal2-container.swal2-top-left,body.swal2-toast-shown .swal2-container.swal2-top-start{top:0;right:auto;bottom:auto;left:0}body.swal2-toast-shown .swal2-container.swal2-center-left,body.swal2-toast-shown .swal2-container.swal2-center-start{top:50%;right:auto;bottom:auto;left:0;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-center{top:50%;right:auto;bottom:auto;left:50%;transform:translate(-50%,-50%)}body.swal2-toast-shown .swal2-container.swal2-center-end,body.swal2-toast-shown .swal2-container.swal2-center-right{top:50%;right:0;bottom:auto;left:auto;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-left,body.swal2-toast-shown .swal2-container.swal2-bottom-start{top:auto;right:auto;bottom:0;left:0}body.swal2-toast-shown .swal2-container.swal2-bottom{top:auto;right:auto;bottom:0;left:50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-end,body.swal2-toast-shown .swal2-container.swal2-bottom-right{top:auto;right:0;bottom:0;left:auto}',n=e.createElement("style");if(e.getElementsByTagName("head")[0].appendChild(n),n.styleSheet)n.styleSheet.disabled||(n.styleSheet.cssText=t);else try{n.innerHTML=t}catch(e){n.innerText=t}}},669:t=>{t.exports=jQuery}},i={};function s(t){var e=i[t];return void 0!==e||(e=i[t]={exports:{}},a[t].call(e.exports,e,e.exports,s)),e.exports}s.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return s.d(e,{a:e}),e},s.d=(t,e)=>{for(var n in e)s.o(e,n)&&!s.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},s.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),s(465),o=s(669),n=o,o=window,document,e=nextgen_gallery_admin,o.nextgen_notifications=t={init:function(){var t=this;t.$drawer=n("#nextgen-notifications-drawer"),t.find_elements(),t.init_open(),t.init_close(),t.init_dismiss(),t.init_view_switch(),t.update_count(t.active_count)},should_init:function(){return 0<this.$drawer.length},find_elements:function(){var t=this;t.$open_button=n("#nextgen-notifications-button"),t.$count=t.$drawer.find("#nextgen-notifications-count"),t.$dismissed_count=t.$drawer.find("#nextgen-notifications-dismissed-count"),t.active_count=t.$open_button.data("count")?t.$open_button.data("count"):0,t.dismissed_count=t.$open_button.data("dismissed"),t.$body=n("body"),t.$dismissed_button=n("#nextgen-notifications-show-dismissed"),t.$active_button=n("#nextgen-notifications-show-active"),t.$active_list=n(".nextgen-notifications-list .nextgen-notifications-active"),t.$dismissed_list=n(".nextgen-notifications-list .nextgen-notifications-dismissed"),t.$dismiss_all=n("#nextgen-dismiss-all"),t.$update_nav_count=n(".ngg-menu-notification-indicator")},update_count:function(t){var e=this;e.$open_button.data("count",t).attr("data-count",t),0===t&&(e.$open_button.removeAttr("data-count"),e.$update_nav_count.hide("slow").html("")),e.$count.text(t),0<t&&e.$update_nav_count.show("slow").html(t),e.dismissed_count+=Math.abs(t-e.active_count),e.active_count=t,e.$dismissed_count.text(e.dismissed_count),0===e.active_count&&e.$dismiss_all.hide()},init_open:function(){var e=this;e.$open_button.on("click",function(t){t.preventDefault(),e.$body.addClass("nextgen-notifications-open")})},init_close:function(){var e=this;e.$body.on("click",".nextgen-notifications-close, .nextgen-notifications-overlay",function(t){t.preventDefault(),e.$body.removeClass("nextgen-notifications-open")})},init_dismiss:function(){var e=this;e.$drawer.on("click",".nextgen-notification-dismiss",function(t){t.preventDefault();t=n(this).data("id");e.dismiss_notification(t),"all"===t?(e.move_to_dismissed(e.$active_list.find("li")),e.update_count(0)):(e.move_to_dismissed(n(this).closest("li")),e.update_count(e.active_count-1))})},move_to_dismissed:function(t){var e=this;t.slideUp(function(){n(this).prependTo(e.$dismissed_list).show()})},dismiss_notification:function(t){return n.post(ajaxurl,{action:"nextgen_notification_dismiss",nonce:e.dismiss_notification_nonce,id:t})},init_view_switch:function(){var e=this;e.$dismissed_button.on("click",function(t){t.preventDefault(),e.$drawer.addClass("show-dismissed")}),e.$active_button.on("click",function(t){t.preventDefault(),e.$drawer.removeClass("show-dismissed")})}},n(function(){t.init()})})();