%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/higroup/wp-content/plugins/user-registration/assets/js/sweetalert2/
Upload File :
Create Path :
Current File : /var/www/html/higroup/wp-content/plugins/user-registration/assets/js/sweetalert2/sweetalert2.min.js

/*!
* sweetalert2 v8.17.1
* Released under the MIT License.
*/
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.Sweetalert2=e()}(this,function(){"use strict";function t(e){return(t="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})(e)}function e(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function n(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 o(t,e,o){return e&&n(t.prototype,e),o&&n(t,o),t}function i(){return(i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t}).apply(this,arguments)}function r(t){return(r=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t,e,n){return(s=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}()?Reflect.construct:function(t,e,n){var o=[null];o.push.apply(o,e);var i=new(Function.bind.apply(t,o));return n&&a(i,n.prototype),i}).apply(null,arguments)}function u(t,e){return!e||"object"!=typeof e&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t,e,n){return(c="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var o=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=r(t)););return t}(t,e);if(o){var i=Object.getOwnPropertyDescriptor(o,e);return i.get?i.get.call(n):i.value}})(t,e,n||t)}function l(t,e){if(!e)return null;switch(e){case"select":case"textarea":case"file":return N(t,O[e]);case"checkbox":return t.querySelector(".".concat(O.checkbox," input"));case"radio":return t.querySelector(".".concat(O.radio," input:checked"))||t.querySelector(".".concat(O.radio," input:first-child"));case"range":return t.querySelector(".".concat(O.range," input"));default:return N(t,O.input)}}function d(t,e,n){z(t,n["showC"+e.substring(1)+"Button"],"inline-block"),t.innerHTML=n[e+"ButtonText"],t.setAttribute("aria-label",n[e+"ButtonAriaLabel"]),t.className=O[e],j(t,n.customClass,e+"Button"),R(t,n[e+"ButtonClass"])}function f(){var t=kt.innerParams.get(this),e=kt.domCache.get(this);t.showConfirmButton||(_(e.confirmButton),t.showCancelButton||_(e.actions)),D([e.popup,e.actions],O.loading),e.popup.removeAttribute("aria-busy"),e.popup.removeAttribute("data-loading"),e.confirmButton.disabled=!1,e.cancelButton.disabled=!1}function p(t,e,n,o){n?le(t,o):(Nt().then(function(){return le(t,o)}),Dt.keydownTarget.removeEventListener("keydown",Dt.keydownHandler,{capture:Dt.keydownListenerCapture}),Dt.keydownHandlerAdded=!1),e.parentNode&&e.parentNode.removeChild(e),dt()&&(Gt(),ee(),ie(),re()),D([document.documentElement,document.body],[O.shown,O["height-auto"],O["no-backdrop"],O["toast-shown"],O["toast-column"]])}function m(t){var e=$();if(e&&!H(e,O.hide)){var n=kt.innerParams.get(this);if(n){var o=ae.swalPromiseResolve.get(this);D(e,O.show),R(e,O.hide),se(this,e,n),o(t||{})}}}function g(t,e,n){var o=kt.domCache.get(t);e.forEach(function(t){o[t].disabled=n})}function h(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}function v(t){!function(t){t.inputValidator||Object.keys(fe).forEach(function(e){t.input===e&&(t.inputValidator=fe[e])})}(t),t.showLoaderOnConfirm&&!t.preConfirm&&x("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=A(t.animation),function(t){(!t.target||"string"==typeof t.target&&!document.querySelector(t.target)||"string"!=typeof t.target&&!t.target.appendChild)&&(x('Target parameter is not valid, defaulting to "body"'),t.target="body")}(t),"string"==typeof t.title&&(t.title=t.title.split("\n").join("<br />")),ht(t)}function b(t,e){t.removeEventListener(yt,b),e.style.overflowY="auto"}function y(){if("undefined"!=typeof window){"undefined"==typeof Promise&&S("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)"),Tt=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));Object.defineProperties(this,{params:{value:o,writable:!1,enumerable:!0,configurable:!0}});var i=this._main(this.params);kt.promise.set(this,i)}}var w,C=function(t){return Object.keys(t).map(function(e){return t[e]})},k=function(t){return Array.prototype.slice.call(t)},x=function(t){console.warn("".concat("SweetAlert2:"," ").concat(t))},S=function(t){console.error("".concat("SweetAlert2:"," ").concat(t))},P=[],B=function(t,e){!function(t){-1===P.indexOf(t)&&(P.push(t),x(t))}('"'.concat(t,'" is deprecated and will be removed in the next major release. Please use "').concat(e,'" instead.'))},A=function(t){return"function"==typeof t?t():t},E=function(t){return t&&Promise.resolve(t)===t},T=Object.freeze({cancel:"cancel",backdrop:"backdrop",close:"close",esc:"esc",timer:"timer"}),L=function(t){var e={};for(var n in t)e[t[n]]="swal2-"+t[n];return e},O=L(["container","shown","height-auto","iosfix","popup","modal","no-backdrop","toast","toast-shown","toast-column","fade","show","hide","noanimation","close","title","header","content","actions","confirm","cancel","footer","icon","image","input","file","range","select","radio","checkbox","label","textarea","inputerror","validation-message","progress-steps","active-progress-step","progress-step","progress-step-line","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"]),M=L(["success","warning","info","question","error"]),V={previousBodyPadding:null},H=function(t,e){return t.classList.contains(e)},j=function(t,e,n){k(t.classList).forEach(function(e){-1===C(O).indexOf(e)&&-1===C(M).indexOf(e)&&t.classList.remove(e)}),e&&e[n]&&R(t,e[n])},I=function(t){if(t.focus(),"file"!==t.type){var e=t.value;t.value="",t.value=e}},q=function(t,e,n){t&&e&&("string"==typeof e&&(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)}))},R=function(t,e){q(t,e,!0)},D=function(t,e){q(t,e,!1)},N=function(t,e){for(var n=0;n<t.childNodes.length;n++)if(H(t.childNodes[n],e))return t.childNodes[n]},U=function(t,e,n){n||0===parseInt(n)?t.style[e]="number"==typeof n?n+"px":n:t.style.removeProperty(e)},F=function(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:"flex";t.style.opacity="",t.style.display=e},_=function(t){t.style.opacity="",t.style.display="none"},z=function(t,e,n){e?F(t,n):_(t)},W=function(t){return!(!t||!(t.offsetWidth||t.offsetHeight||t.getClientRects().length))},K=function(t){var e=window.getComputedStyle(t),n=parseFloat(e.getPropertyValue("animation-duration")||"0"),o=parseFloat(e.getPropertyValue("transition-duration")||"0");return n>0||o>0},Z=function(){return document.body.querySelector("."+O.container)},Q=function(t){var e=Z();return e?e.querySelector(t):null},Y=function(t){return Q("."+t)},$=function(){return Y(O.popup)},J=function(){var t=$();return k(t.querySelectorAll("."+O.icon))},X=function(){var t=J().filter(function(t){return W(t)});return t.length?t[0]:null},G=function(){return Y(O.title)},tt=function(){return Y(O.content)},et=function(){return Y(O.image)},nt=function(){return Y(O["progress-steps"])},ot=function(){return Y(O["validation-message"])},it=function(){return Q("."+O.actions+" ."+O.confirm)},rt=function(){return Q("."+O.actions+" ."+O.cancel)},at=function(){return Y(O.actions)},st=function(){return Y(O.header)},ut=function(){return Y(O.footer)},ct=function(){return Y(O.close)},lt=function(){var t=k($().querySelectorAll('[tabindex]:not([tabindex="-1"]):not([tabindex="0"])')).sort(function(t,e){return t=parseInt(t.getAttribute("tabindex")),e=parseInt(e.getAttribute("tabindex")),t>e?1:t<e?-1:0}),e=k($().querySelectorAll('\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')).filter(function(t){return"-1"!==t.getAttribute("tabindex")});return function(t){for(var e=[],n=0;n<t.length;n++)-1===e.indexOf(t[n])&&e.push(t[n]);return e}(t.concat(e)).filter(function(t){return W(t)})},dt=function(){return!ft()&&!document.body.classList.contains(O["no-backdrop"])},ft=function(){return document.body.classList.contains(O["toast-shown"])},pt=function(){return"undefined"==typeof window||"undefined"==typeof document},mt='\n <div aria-labelledby="'.concat(O.title,'" aria-describedby="').concat(O.content,'" class="').concat(O.popup,'" tabindex="-1">\n   <div class="').concat(O.header,'">\n     <ul class="').concat(O["progress-steps"],'"></ul>\n     <div class="').concat(O.icon," ").concat(M.error,'">\n       <span class="swal2-x-mark"><span class="swal2-x-mark-line-left"></span><span class="swal2-x-mark-line-right"></span></span>\n     </div>\n     <div class="').concat(O.icon," ").concat(M.question,'"></div>\n     <div class="').concat(O.icon," ").concat(M.warning,'"></div>\n     <div class="').concat(O.icon," ").concat(M.info,'"></div>\n     <div class="').concat(O.icon," ").concat(M.success,'">\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     </div>\n     <img class="').concat(O.image,'" />\n     <h2 class="').concat(O.title,'" id="').concat(O.title,'"></h2>\n     <button type="button" class="').concat(O.close,'"></button>\n   </div>\n   <div class="').concat(O.content,'">\n     <div id="').concat(O.content,'"></div>\n     <input class="').concat(O.input,'" />\n     <input type="file" class="').concat(O.file,'" />\n     <div class="').concat(O.range,'">\n       <input type="range" />\n       <output></output>\n     </div>\n     <select class="').concat(O.select,'"></select>\n     <div class="').concat(O.radio,'"></div>\n     <label for="').concat(O.checkbox,'" class="').concat(O.checkbox,'">\n       <input type="checkbox" />\n       <span class="').concat(O.label,'"></span>\n     </label>\n     <textarea class="').concat(O.textarea,'"></textarea>\n     <div class="').concat(O["validation-message"],'" id="').concat(O["validation-message"],'"></div>\n   </div>\n   <div class="').concat(O.actions,'">\n     <button type="button" class="').concat(O.confirm,'">OK</button>\n     <button type="button" class="').concat(O.cancel,'">Cancel</button>\n   </div>\n   <div class="').concat(O.footer,'">\n   </div>\n </div>\n').replace(/(^|\n)\s*/g,""),gt=function(t){Ke.isVisible()&&w!==t.target.value&&Ke.resetValidationMessage(),w=t.target.value},ht=function(t){if(function(){var t=Z();t&&(t.parentNode.removeChild(t),D([document.documentElement,document.body],[O["no-backdrop"],O["toast-shown"],O["has-column"]]))}(),pt())S("SweetAlert2 requires document to initialize");else{var e=document.createElement("div");e.className=O.container,e.innerHTML=mt;var n=function(t){return"string"==typeof t?document.querySelector(t):t}(t.target);n.appendChild(e),function(t){var e=$();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&&R(Z(),O.rtl)}(n),function(){var t=tt(),e=N(t,O.input),n=N(t,O.file),o=t.querySelector(".".concat(O.range," input")),i=t.querySelector(".".concat(O.range," output")),r=N(t,O.select),a=t.querySelector(".".concat(O.checkbox," input")),s=N(t,O.textarea);e.oninput=gt,n.onchange=gt,r.onchange=gt,a.onchange=gt,s.oninput=gt,o.oninput=function(t){gt(t),i.value=o.value},o.onchange=function(t){gt(t),o.nextSibling.value=o.value}}()}},vt=function(e,n){e instanceof HTMLElement?n.appendChild(e):"object"===t(e)?bt(n,e):e&&(n.innerHTML=e)},bt=function(t,e){if(t.innerHTML="",0 in e)for(var n=0;n in e;n++)t.appendChild(e[n].cloneNode(!0));else t.appendChild(e.cloneNode(!0))},yt=function(){if(pt())return!1;var t=document.createElement("div"),e={WebkitAnimation:"webkitAnimationEnd",OAnimation:"oAnimationEnd oanimationend",animation:"animationend"};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&"undefined"!=typeof t.style[n])return e[n];return!1}(),wt=function(t,e){var n=at(),o=it(),i=rt();e.showConfirmButton||e.showCancelButton||_(n),j(n,e.customClass,"actions"),d(o,"confirm",e),d(i,"cancel",e),e.buttonsStyling?function(t,e,n){R([t,e],O.styled),n.confirmButtonColor&&(t.style.backgroundColor=n.confirmButtonColor),n.cancelButtonColor&&(e.style.backgroundColor=n.cancelButtonColor);var o=window.getComputedStyle(t).getPropertyValue("background-color");t.style.borderLeftColor=o,t.style.borderRightColor=o}(o,i,e):(D([o,i],O.styled),o.style.backgroundColor=o.style.borderLeftColor=o.style.borderRightColor="",i.style.backgroundColor=i.style.borderLeftColor=i.style.borderRightColor=""),e.reverseButtons&&o.parentNode.insertBefore(i,o)},Ct=function(t,e){var n=Z();n&&(!function(t,e){"string"==typeof e?t.style.background=e:e||R([document.documentElement,document.body],O["no-backdrop"])}(n,e.backdrop),!e.backdrop&&e.allowOutsideClick&&x('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`'),function(t,e){e in O?R(t,O[e]):(x('The "position" parameter is not valid, defaulting to "center"'),R(t,O.center))}(n,e.position),function(t,e){if(e&&"string"==typeof e){var n="grow-"+e;n in O&&R(t,O[n])}}(n,e.grow),j(n,e.customClass,"container"),e.customContainerClass&&R(n,e.customContainerClass))},kt={promise:new WeakMap,innerParams:new WeakMap,domCache:new WeakMap},xt=["input","file","range","select","radio","checkbox","textarea"],St=function(t){if(!Et[t.input])return S('Unexpected type of input! Expected "text", "email", "password", "number", "tel", "select", "radio", "checkbox", "textarea", "file" or "url", got "'.concat(t.input,'"'));var e=Et[t.input](t);F(e),setTimeout(function(){I(e)})},Pt=function(t,e){var n=l(tt(),t);if(n){!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)}}(n);for(var o in e)"range"===t&&"placeholder"===o||n.setAttribute(o,e[o])}},Bt=function(t,e,n){t.className=e,n.inputClass&&R(t,n.inputClass),n.customClass&&R(t,n.customClass.input)},At=function(t,e){t.placeholder&&!e.inputPlaceholder||(t.placeholder=e.inputPlaceholder)},Et={};Et.text=Et.email=Et.password=Et.number=Et.tel=Et.url=function(e){var n=N(tt(),O.input);return"string"==typeof e.inputValue||"number"==typeof e.inputValue?n.value=e.inputValue:E(e.inputValue)||x('Unexpected type of inputValue! Expected "string", "number" or "Promise", got "'.concat(t(e.inputValue),'"')),At(n,e),n.type=e.input,n},Et.file=function(t){var e=N(tt(),O.file);return At(e,t),e.type=t.input,e},Et.range=function(t){var e=N(tt(),O.range),n=e.querySelector("input"),o=e.querySelector("output");return n.value=t.inputValue,n.type=t.input,o.value=t.inputValue,e},Et.select=function(t){var e=N(tt(),O.select);if(e.innerHTML="",t.inputPlaceholder){var n=document.createElement("option");n.innerHTML=t.inputPlaceholder,n.value="",n.disabled=!0,n.selected=!0,e.appendChild(n)}return e},Et.radio=function(){var t=N(tt(),O.radio);return t.innerHTML="",t},Et.checkbox=function(t){var e=N(tt(),O.checkbox),n=l(tt(),"checkbox");n.type="checkbox",n.value=1,n.id=O.checkbox,n.checked=Boolean(t.inputValue);return e.querySelector("span").innerHTML=t.inputPlaceholder,e},Et.textarea=function(t){var e=N(tt(),O.textarea);if(e.value=t.inputValue,At(e,t),"MutationObserver"in window){var n=parseInt(window.getComputedStyle($()).width),o=parseInt(window.getComputedStyle($()).paddingLeft)+parseInt(window.getComputedStyle($()).paddingRight);new MutationObserver(function(){var t=e.offsetWidth+o;$().style.width=t>n?t+"px":null}).observe(e,{attributes:!0,attributeFilter:["style"]})}return e};var Tt,Lt=function(t,e){var n=tt().querySelector("#"+O.content);e.html?(vt(e.html,n),F(n,"block")):e.text?(n.textContent=e.text,F(n,"block")):_(n),function(t,e){var n=tt(),o=kt.innerParams.get(t),i=!o||e.input!==o.input;xt.forEach(function(t){var o=O[t],r=N(n,o);Pt(t,e.inputAttributes),Bt(r,o,e),i&&_(r)}),e.input&&i&&St(e)}(t,e),j(tt(),e.customClass,"content")},Ot=function(){for(var t=J(),e=0;e<t.length;e++)_(t[e])},Mt=function(){for(var t=$(),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},Vt=function(t,e){var n=nt();if(!e.progressSteps||0===e.progressSteps.length)return _(n);F(n),n.innerHTML="";var o=parseInt(null===e.currentProgressStep?Ke.getQueueStep():e.currentProgressStep);o>=e.progressSteps.length&&x("Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"),e.progressSteps.forEach(function(t,i){var r=function(t){var e=document.createElement("li");return R(e,O["progress-step"]),e.innerHTML=t,e}(t);if(n.appendChild(r),i===o&&R(r,O["active-progress-step"]),i!==e.progressSteps.length-1){var a=function(t){var e=document.createElement("li");return R(e,O["progress-step-line"]),t.progressStepsDistance&&(e.style.width=t.progressStepsDistance),e}(t);n.appendChild(a)}})},Ht=function(t,e){var n=st();j(n,e.customClass,"header"),Vt(t,e),function(t,e){var n=kt.innerParams.get(t);if(n&&e.type===n.type&&X())j(X(),e.customClass,"icon");else if(Ot(),e.type)if(Mt(),-1!==Object.keys(M).indexOf(e.type)){var o=Q(".".concat(O.icon,".").concat(M[e.type]));F(o),j(o,e.customClass,"icon"),q(o,"swal2-animate-".concat(e.type,"-icon"),e.animation)}else S('Unknown type! Expected "success", "error", "warning", "info" or "question", got "'.concat(e.type,'"'))}(t,e),function(t,e){var n=et();if(!e.imageUrl)return _(n);F(n),n.setAttribute("src",e.imageUrl),n.setAttribute("alt",e.imageAlt),U(n,"width",e.imageWidth),U(n,"height",e.imageHeight),n.className=O.image,j(n,e.customClass,"image"),e.imageClass&&R(n,e.imageClass)}(0,e),function(t,e){var n=G();z(n,e.title||e.titleText),e.title&&vt(e.title,n),e.titleText&&(n.innerText=e.titleText),j(n,e.customClass,"title")}(0,e),function(t,e){var n=ct();n.innerHTML=e.closeButtonHtml,j(n,e.customClass,"closeButton"),z(n,e.showCloseButton),n.setAttribute("aria-label",e.closeButtonAriaLabel)}(0,e)},jt=function(t,e){!function(t,e){var n=$();U(n,"width",e.width),U(n,"padding",e.padding),e.background&&(n.style.background=e.background),n.className=O.popup,e.toast?(R([document.documentElement,document.body],O["toast-shown"]),R(n,O.toast)):R(n,O.modal),j(n,e.customClass,"popup"),"string"==typeof e.customClass&&R(n,e.customClass),q(n,O.noanimation,!e.animation)}(0,e),Ct(0,e),Ht(t,e),Lt(t,e),wt(0,e),function(t,e){var n=ut();z(n,e.footer),e.footer&&vt(e.footer,n),j(n,e.customClass,"footer")}(0,e),"function"==typeof e.onRender&&e.onRender($())},It=function(){return it()&&it().click()},qt=[],Rt=function(){var t=$();t||Ke.fire(""),t=$();var e=at(),n=it(),o=rt();F(e),F(n),R([t,e],O.loading),n.disabled=!0,o.disabled=!0,t.setAttribute("data-loading",!0),t.setAttribute("aria-busy",!0),t.focus()},Dt={},Nt=function(){return new Promise(function(t){var e=window.scrollX,n=window.scrollY;Dt.restoreFocusTimeout=setTimeout(function(){Dt.previousActiveElement&&Dt.previousActiveElement.focus?(Dt.previousActiveElement.focus(),Dt.previousActiveElement=null):document.body&&document.body.focus(),t()},100),void 0!==e&&void 0!==n&&window.scrollTo(e,n)})},Ut={title:"",titleText:"",text:"",html:"",footer:"",type:null,toast:!1,customClass:"",customContainerClass:"",target:"body",backdrop:!0,animation:!0,heightAuto:!0,allowOutsideClick:!0,allowEscapeKey:!0,allowEnterKey:!0,stopKeydownPropagation:!0,keydownListenerCapture:!1,showConfirmButton:!0,showCancelButton:!1,preConfirm:null,confirmButtonText:"OK",confirmButtonAriaLabel:"",confirmButtonColor:null,confirmButtonClass:"",cancelButtonText:"Cancel",cancelButtonAriaLabel:"",cancelButtonColor:null,cancelButtonClass:"",buttonsStyling:!0,reverseButtons:!1,focusConfirm:!0,focusCancel:!1,showCloseButton:!1,closeButtonHtml:"&times;",closeButtonAriaLabel:"Close this dialog",showLoaderOnConfirm:!1,imageUrl:null,imageWidth:null,imageHeight:null,imageAlt:"",imageClass:"",timer:null,width:null,padding:null,background:null,input:null,inputPlaceholder:"",inputValue:"",inputOptions:{},inputAutoTrim:!0,inputClass:"",inputAttributes:{},inputValidator:null,validationMessage:null,grow:!1,position:"center",progressSteps:[],currentProgressStep:null,progressStepsDistance:null,onBeforeOpen:null,onOpen:null,onRender:null,onClose:null,onAfterClose:null,scrollbarPadding:!0},Ft=["title","titleText","text","html","type","customClass","showConfirmButton","showCancelButton","confirmButtonText","confirmButtonAriaLabel","confirmButtonColor","confirmButtonClass","cancelButtonText","cancelButtonAriaLabel","cancelButtonColor","cancelButtonClass","buttonsStyling","reverseButtons","imageUrl","imageWidth","imageHeigth","imageAlt","imageClass","progressSteps","currentProgressStep"],_t={customContainerClass:"customClass",confirmButtonClass:"customClass",cancelButtonClass:"customClass",imageClass:"customClass",inputClass:"customClass"},zt=["allowOutsideClick","allowEnterKey","backdrop","focusConfirm","focusCancel","heightAuto","keydownListenerCapture"],Wt=function(t){return Object.prototype.hasOwnProperty.call(Ut,t)},Kt=function(t){return _t[t]},Zt=function(t){Wt(t)||x('Unknown parameter "'.concat(t,'"'))},Qt=function(t){-1!==zt.indexOf(t)&&x('The parameter "'.concat(t,'" is incompatible with toasts'))},Yt=function(t){Kt(t)&&B(t,Kt(t))},$t=function(t){for(var e in t)Zt(e),t.toast&&Qt(e),Yt()},Jt=Object.freeze({isValidParameter:Wt,isUpdatableParameter:function(t){return-1!==Ft.indexOf(t)},isDeprecatedParameter:Kt,argsToParams:function(e){var n={};switch(t(e[0])){case"object":i(n,e[0]);break;default:["title","html","type"].forEach(function(o,i){switch(t(e[i])){case"string":n[o]=e[i];break;case"undefined":break;default:S("Unexpected type of ".concat(o,'! Expected "string", got ').concat(t(e[i])))}})}return n},isVisible:function(){return W($())},clickConfirm:It,clickCancel:function(){return rt()&&rt().click()},getContainer:Z,getPopup:$,getTitle:G,getContent:tt,getImage:et,getIcon:X,getIcons:J,getCloseButton:ct,getActions:at,getConfirmButton:it,getCancelButton:rt,getHeader:st,getFooter:ut,getFocusableElements:lt,getValidationMessage:ot,isLoading:function(){return $().hasAttribute("data-loading")},fire:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return s(this,e)},mixin:function(t){return function(n){function s(){return e(this,s),u(this,r(s).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(s,n),o(s,[{key:"_main",value:function(e){return c(r(s.prototype),"_main",this).call(this,i({},t,e))}}]),s}(this)},queue:function(t){var e=this;qt=t;var n=function(t,e){qt=[],document.body.removeAttribute("data-swal2-queue-step"),t(e)},o=[];return new Promise(function(t){!function i(r,a){r<qt.length?(document.body.setAttribute("data-swal2-queue-step",r),e.fire(qt[r]).then(function(e){"undefined"!=typeof e.value?(o.push(e.value),i(r+1,a)):n(t,{dismiss:e.dismiss})})):n(t,{value:o})}(0)})},getQueueStep:function(){return document.body.getAttribute("data-swal2-queue-step")},insertQueueStep:function(t,e){return e&&e<qt.length?qt.splice(e,0,t):qt.push(t)},deleteQueueStep:function(t){"undefined"!=typeof qt[t]&&qt.splice(t,1)},showLoading:Rt,enableLoading:Rt,getTimerLeft:function(){return Dt.timeout&&Dt.timeout.getTimerLeft()},stopTimer:function(){return Dt.timeout&&Dt.timeout.stop()},resumeTimer:function(){return Dt.timeout&&Dt.timeout.start()},toggleTimer:function(){var t=Dt.timeout;return t&&(t.running?t.stop():t.start())},increaseTimer:function(t){return Dt.timeout&&Dt.timeout.increase(t)},isTimerRunning:function(){return Dt.timeout&&Dt.timeout.isRunning()}}),Xt=function(){null===V.previousBodyPadding&&document.body.scrollHeight>window.innerHeight&&(V.previousBodyPadding=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")),document.body.style.paddingRight=V.previousBodyPadding+function(){if("ontouchstart"in window||navigator.msMaxTouchPoints)return 0;var t=document.createElement("div");t.style.width="50px",t.style.height="50px",t.style.overflow="scroll",document.body.appendChild(t);var e=t.offsetWidth-t.clientWidth;return document.body.removeChild(t),e}()+"px")},Gt=function(){null!==V.previousBodyPadding&&(document.body.style.paddingRight=V.previousBodyPadding+"px",V.previousBodyPadding=null)},te=function(){var t,e=Z();e.ontouchstart=function(n){t=n.target===e||!function(t){return!!(t.scrollHeight>t.clientHeight)}(e)&&"INPUT"!==n.target.tagName},e.ontouchmove=function(e){t&&(e.preventDefault(),e.stopPropagation())}},ee=function(){if(H(document.body,O.iosfix)){var t=parseInt(document.body.style.top,10);D(document.body,O.iosfix),document.body.style.top="",document.body.scrollTop=-1*t}},ne=function(){return!!window.MSInputMethodContext&&!!document.documentMode},oe=function(){var t=Z(),e=$();t.style.removeProperty("align-items"),e.offsetTop<0&&(t.style.alignItems="flex-start")},ie=function(){"undefined"!=typeof window&&ne()&&window.removeEventListener("resize",oe)},re=function(){k(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")})},ae={swalPromiseResolve:new WeakMap},se=function(t,e,n){var o=Z(),i=yt&&K(e),r=n.onClose,a=n.onAfterClose;null!==r&&"function"==typeof r&&r(e),i?ue(t,e,o,a):p(t,o,ft(),a)},ue=function(t,e,n,o){Dt.swalCloseEventFinishedCallback=p.bind(null,t,n,ft(),o),e.addEventListener(yt,function(t){t.target===e&&(Dt.swalCloseEventFinishedCallback(),delete Dt.swalCloseEventFinishedCallback)})},ce=function(t){for(var e in t)t[e]=new WeakMap},le=function(t,e){setTimeout(function(){null!==e&&"function"==typeof e&&e(),$()||function(t){delete t.params,delete Dt.keydownHandler,delete Dt.keydownTarget,ce(kt),ce(ae)}(t)})},de=function(){function t(n,o){e(this,t),this.callback=n,this.remaining=o,this.running=!1,this.start()}return o(t,[{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}}]),t}(),fe={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@:%._+~#=]{2,256}\.[a-z]{2,63}\b([-a-zA-Z0-9@:%_+.~#?&/=]*)$/.test(t)?Promise.resolve():Promise.resolve(e||"Invalid URL")}},pe=function(t,e){yt&&K(e)?(t.style.overflowY="hidden",e.addEventListener(yt,b.bind(null,e,t))):t.style.overflowY="auto"},me=function(t,e){!function(){if(/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream&&!H(document.body,O.iosfix)){var t=document.body.scrollTop;document.body.style.top=-1*t+"px",R(document.body,O.iosfix),te()}}(),"undefined"!=typeof window&&ne()&&(oe(),window.addEventListener("resize",oe)),k(document.body.children).forEach(function(t){t===Z()||function(t,e){if("function"==typeof t.contains)return t.contains(e)}(t,Z())||(t.hasAttribute("aria-hidden")&&t.setAttribute("data-previous-aria-hidden",t.getAttribute("aria-hidden")),t.setAttribute("aria-hidden","true"))}),e&&Xt(),setTimeout(function(){t.scrollTop=0})},ge=function(t,e,n){n.animation&&(R(e,O.show),R(t,O.fade)),F(e),R([document.documentElement,document.body,t],O.shown),n.heightAuto&&n.backdrop&&!n.toast&&R([document.documentElement,document.body],O["height-auto"])},he=function(e,n){var o=tt(),i=function(t){return be[n.input](o,ye(t),n)};E(n.inputOptions)?(Rt(),n.inputOptions.then(function(t){e.hideLoading(),i(t)})):"object"===t(n.inputOptions)?i(n.inputOptions):S("Unexpected type of inputOptions! Expected object, Map or Promise, got ".concat(t(n.inputOptions)))},ve=function(t,e){var n=t.getInput();_(n),e.inputValue.then(function(o){n.value="number"===e.input?parseFloat(o)||0:o+"",F(n),n.focus(),t.hideLoading()})["catch"](function(e){S("Error in inputValue promise: "+e),n.value="",F(n),n.focus(),t.hideLoading()})},be={select:function(t,e,n){var o=N(t,O.select);e.forEach(function(t){var e=t[0],i=t[1],r=document.createElement("option");r.value=e,r.innerHTML=i,n.inputValue.toString()===e.toString()&&(r.selected=!0),o.appendChild(r)}),o.focus()},radio:function(t,e,n){var o=N(t,O.radio);e.forEach(function(t){var e=t[0],i=t[1],r=document.createElement("input"),a=document.createElement("label");r.type="radio",r.name=O.radio,r.value=e,n.inputValue.toString()===e.toString()&&(r.checked=!0);var s=document.createElement("span");s.innerHTML=i,s.className=O.label,a.appendChild(r),a.appendChild(s),o.appendChild(a)});var i=o.querySelectorAll("input");i.length&&i[0].focus()}},ye=function(t){var e=[];return"undefined"!=typeof Map&&t instanceof Map?t.forEach(function(t,n){e.push([n,t])}):Object.keys(t).forEach(function(n){e.push([n,t[n]])}),e},we=function(t,e){var n=xe(t,e);if(e.inputValidator){t.disableInput();Promise.resolve().then(function(){return e.inputValidator(n,e.validationMessage)}).then(function(o){t.enableButtons(),t.enableInput(),o?t.showValidationMessage(o):ke(t,e,n)})}else t.getInput().checkValidity()?ke(t,e,n):(t.enableButtons(),t.showValidationMessage(e.validationMessage))},Ce=function(t,e){t.closePopup({value:e})},ke=function(t,e,n){if(e.showLoaderOnConfirm&&Rt(),e.preConfirm){t.resetValidationMessage();Promise.resolve().then(function(){return e.preConfirm(n,e.validationMessage)}).then(function(e){W(ot())||!1===e?t.hideLoading():Ce(t,void 0===e?n:e)})}else Ce(t,n)},xe=function(t,e){var n=t.getInput();if(!n)return null;switch(e.input){case"checkbox":return Se(n);case"radio":return Pe(n);case"file":return Be(n);default:return e.inputAutoTrim?n.value.trim():n.value}},Se=function(t){return t.checked?1:0},Pe=function(t){return t.checked?t.value:null},Be=function(t){return t.files.length?t.files[0]:null},Ae=function(t,e,n){for(var o=lt(t.focusCancel),i=0;i<o.length;i++)return(e+=n)===o.length?e=0:-1===e&&(e=o.length-1),o[e].focus();$().focus()},Ee=["ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Left","Right","Up","Down"],Te=["Escape","Esc"],Le=function(t,e,n,o){n.stopKeydownPropagation&&e.stopPropagation(),"Enter"===e.key?Oe(t,e,n):"Tab"===e.key?Me(e,n):-1!==Ee.indexOf(e.key)?Ve():-1!==Te.indexOf(e.key)&&He(e,n,o)},Oe=function(t,e,n){if(!e.isComposing&&e.target&&t.getInput()&&e.target.outerHTML===t.getInput().outerHTML){if(-1!==["textarea","file"].indexOf(n.input))return;It(),e.preventDefault()}},Me=function(t,e){for(var n=t.target,o=lt(e.focusCancel),i=-1,r=0;r<o.length;r++)if(n===o[r]){i=r;break}t.shiftKey?Ae(e,i,-1):Ae(e,i,1),t.stopPropagation(),t.preventDefault()},Ve=function(){var t=it(),e=rt();document.activeElement===t&&W(e)?e.focus():document.activeElement===e&&W(t)&&t.focus()},He=function(t,e,n){A(e.allowEscapeKey)&&(t.preventDefault(),n(T.esc))},je=function(t,e,n){t.popup.onclick=function(){e.showConfirmButton||e.showCancelButton||e.showCloseButton||e.input||n(T.close)}},Ie=!1,qe=function(t){t.popup.onmousedown=function(){t.container.onmouseup=function(e){t.container.onmouseup=undefined,e.target===t.container&&(Ie=!0)}}},Re=function(t){t.container.onmousedown=function(){t.popup.onmouseup=function(e){t.popup.onmouseup=undefined,(e.target===t.popup||t.popup.contains(e.target))&&(Ie=!0)}}},De=function(t,e,n){t.container.onclick=function(o){Ie?Ie=!1:o.target===t.container&&A(e.allowOutsideClick)&&n(T.backdrop)}},Ne=function(t,e,n){return new Promise(function(o){var i=function(e){t.closePopup({dismiss:e})};ae.swalPromiseResolve.set(t,o),Fe(Dt,n,i),e.confirmButton.onclick=function(){return function(t,e){t.disableButtons(),e.input?we(t,e):ke(t,e,!0)}(t,n)},e.cancelButton.onclick=function(){return function(t,e){t.disableButtons(),e(T.cancel)}(t,i)},e.closeButton.onclick=function(){return i(T.close)},function(t,e,n){e.toast?je(t,e,n):(qe(t),Re(t),De(t,e,n))}(e,n,i),function(t,e,n,o){e.keydownTarget&&e.keydownHandlerAdded&&(e.keydownTarget.removeEventListener("keydown",e.keydownHandler,{capture:e.keydownListenerCapture}),e.keydownHandlerAdded=!1),n.toast||(e.keydownHandler=function(e){return Le(t,e,n,o)},e.keydownTarget=n.keydownListenerCapture?window:$(),e.keydownListenerCapture=n.keydownListenerCapture,e.keydownTarget.addEventListener("keydown",e.keydownHandler,{capture:e.keydownListenerCapture}),e.keydownHandlerAdded=!0)}(t,Dt,n,i),n.toast&&(n.input||n.footer||n.showCloseButton)?R(document.body,O["toast-column"]):D(document.body,O["toast-column"]),function(t,e){"select"===e.input||"radio"===e.input?he(t,e):-1!==["text","email","number","tel","textarea"].indexOf(e.input)&&E(e.inputValue)&&ve(t,e)}(t,n),function(t){var e=Z(),n=$();"function"==typeof t.onBeforeOpen&&t.onBeforeOpen(n),ge(e,n,t),pe(e,n),dt()&&me(e,t.scrollbarPadding),ft()||Dt.previousActiveElement||(Dt.previousActiveElement=document.activeElement),"function"==typeof t.onOpen&&setTimeout(function(){return t.onOpen(n)})}(n),_e(e,n),e.container.scrollTop=0})},Ue=function(t){var e={popup:$(),container:Z(),content:tt(),actions:at(),confirmButton:it(),cancelButton:rt(),closeButton:ct(),validationMessage:ot(),progressSteps:nt()};return kt.domCache.set(t,e),e},Fe=function(t,e,n){e.timer&&(t.timeout=new de(function(){n("timer"),delete t.timeout},e.timer))},_e=function(t,e){if(!e.toast)return A(e.allowEnterKey)?e.focusCancel&&W(t.cancelButton)?t.cancelButton.focus():e.focusConfirm&&W(t.confirmButton)?t.confirmButton.focus():void Ae(e,-1,1):ze()},ze=function(){document.activeElement&&"function"==typeof document.activeElement.blur&&document.activeElement.blur()},We=Object.freeze({hideLoading:f,disableLoading:f,getInput:function(t){var e=kt.innerParams.get(t||this),n=kt.domCache.get(t||this);return n?l(n.content,e.input):null},close:m,closePopup:m,closeModal:m,closeToast:m,enableButtons:function(){g(this,["confirmButton","cancelButton"],!1)},disableButtons:function(){g(this,["confirmButton","cancelButton"],!0)},enableConfirmButton:function(){B("Swal.enableConfirmButton()","Swal.getConfirmButton().removeAttribute('disabled')"),g(this,["confirmButton"],!1)},disableConfirmButton:function(){B("Swal.disableConfirmButton()","Swal.getConfirmButton().setAttribute('disabled', '')"),g(this,["confirmButton"],!0)},enableInput:function(){return h(this.getInput(),!1)},disableInput:function(){return h(this.getInput(),!0)},showValidationMessage:function(t){var e=kt.domCache.get(this);e.validationMessage.innerHTML=t;var n=window.getComputedStyle(e.popup);e.validationMessage.style.marginLeft="-".concat(n.getPropertyValue("padding-left")),e.validationMessage.style.marginRight="-".concat(n.getPropertyValue("padding-right")),F(e.validationMessage);var o=this.getInput();o&&(o.setAttribute("aria-invalid",!0),o.setAttribute("aria-describedBy",O["validation-message"]),I(o),R(o,O.inputerror))},resetValidationMessage:function(){var t=kt.domCache.get(this);t.validationMessage&&_(t.validationMessage);var e=this.getInput();e&&(e.removeAttribute("aria-invalid"),e.removeAttribute("aria-describedBy"),D(e,O.inputerror))},getProgressSteps:function(){return B("Swal.getProgressSteps()","const swalInstance = Swal.fire({progressSteps: ['1', '2', '3']}); const progressSteps = swalInstance.params.progressSteps"),kt.innerParams.get(this).progressSteps},setProgressSteps:function(t){B("Swal.setProgressSteps()","Swal.update()");var e=i({},kt.innerParams.get(this),{progressSteps:t});Vt(this,e),kt.innerParams.set(this,e)},showProgressSteps:function(){var t=kt.domCache.get(this);F(t.progressSteps)},hideProgressSteps:function(){var t=kt.domCache.get(this);_(t.progressSteps)},_main:function(t){$t(t),$()&&Dt.swalCloseEventFinishedCallback&&(Dt.swalCloseEventFinishedCallback(),delete Dt.swalCloseEventFinishedCallback),Dt.deferDisposalTimer&&(clearTimeout(Dt.deferDisposalTimer),delete Dt.deferDisposalTimer);var e=i({},Ut,t);v(e),Object.freeze(e),Dt.timeout&&(Dt.timeout.stop(),delete Dt.timeout),clearTimeout(Dt.restoreFocusTimeout);var n=Ue(this);return jt(this,e),kt.innerParams.set(this,e),Ne(this,n,e)},update:function(t){var e={};Object.keys(t).forEach(function(n){Ke.isUpdatableParameter(n)?e[n]=t[n]:x('Invalid parameter to update: "'.concat(n,'". Updatable params are listed here: https://github.com/sweetalert2/sweetalert2/blob/master/src/utils/params.js'))});var n=i({},kt.innerParams.get(this),e);jt(this,n),kt.innerParams.set(this,n),Object.defineProperties(this,{params:{value:i({},this.params,t),writable:!1,enumerable:!0}})}});y.prototype.then=function(t){return kt.promise.get(this).then(t)},y.prototype["finally"]=function(t){return kt.promise.get(this)["finally"](t)},i(y.prototype,We),i(y,Jt),Object.keys(We).forEach(function(t){y[t]=function(){if(Tt){var e;return(e=Tt)[t].apply(e,arguments)}}}),y.DismissReason=T,y.version="8.17.1";var Ke=y;return Ke["default"]=Ke,Ke}),void 0!==this&&this.Sweetalert2&&(this.swal=this.sweetAlert=this.Swal=this.SweetAlert=this.Sweetalert2);

Zerion Mini Shell 1.0