1!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.Sweetalert2=t()}(this,function(){"use strict";var e="swal2-",t=function(t){var n={};for(var o in t)n[t[o]]=e+t[o];return n},n=t(["container","in","iosfix","modal","overlay","fade","show","hide","noanimation","close","title","content","spacer","confirm","cancel","icon","image","input","file","range","select","radio","checkbox","textarea","inputerror","validationerror","progresssteps","activeprogressstep","progresscircle","progressline","loading","styled"]),o=t(["success","warning","info","question","error"]),r={title:"",titleText:"",text:"",html:"",type:null,customClass:"",animation:!0,allowOutsideClick:!0,allowEscapeKey:!0,showConfirmButton:!0,showCancelButton:!1,preConfirm:null,confirmButtonText:"OK",confirmButtonColor:"#3085d6",confirmButtonClass:null,cancelButtonText:"Cancel",cancelButtonColor:"#aaa",cancelButtonClass:null,buttonsStyling:!0,reverseButtons:!1,focusCancel:!1,showCloseButton:!1,showLoaderOnConfirm:!1,imageUrl:null,imageWidth:null,imageHeight:null,imageClass:null,timer:null,width:500,padding:20,background:"#fff",input:null,inputPlaceholder:"",inputValue:"",inputOptions:{},inputAutoTrim:!0,inputClass:null,inputAttributes:{},inputValidator:null,progressSteps:[],currentProgressStep:null,progressStepsDistance:"40px",onOpen:null,onClose:null},i=('\n <div role="dialog" aria-labelledby="modalTitleId" aria-describedby="modalContentId" class="'+n.modal+'" tabIndex="-1" >\n <ul class="'+n.progresssteps+'"></ul>\n <div class="'+n.icon+" "+o.error+'">
1\n <span class="x-mark"><span class="line left"></span><span class="line right"></span></span>\n </div>\n <div class="'+n.icon+" "+o.question+'">?</div>\n <div class="'+n.icon+" "+o.warning+'">!</div>\n <div class="'+n.icon+" "+o.info+'">i</div>\n <div class="'+n.icon+" "+o.success+'">\n <span class="line tip"></span> <span class="line long"></span>\n <div class="placeholder"></div> <div class="fix"></div>\n </div>\n <img class="'+n.image+'">\n <h2 class="'+n.title+'" id="modalTitleId"></h2>\n <div id="modalContentId" class="'+n.content+'"></div>\n <input class="'+n.input+'">\n <input type="file" class="'+n.file+'">\n <div class="'+n.range+'">\n <output></output>\n <input type="range">\n </div>\n <select class="'+n.select+'"></select>\n <div class="'+n.radio+'"></div>\n <label for="'+n.checkbox+'" class="'+n.checkbox+'">\n <input type="checkbox">\n </label>\n <textarea class="'+n.textarea+'"></textarea>\n <div class="'+n.validationerror+'"></div>\n <hr class="'+n.spacer+'">\n <button type="button" role="button" tabIndex="0" class="'+n.confirm+'">OK</button>\n <button type="button" role="button" tabIndex="0" class="'+n.cancel+'">Cancel</button>\n <span class="'+n.close+'">×</span>\n </div>\n').replace(/(^|\n)\s*/g,""),a=void 0,l=document.getElementsByClassName(n.container);l.length?a=l[0]:(a=document.createElement("div"),a.className=n.container,a.innerHTML=i);var s=function(e,t){e=String(e).replace(/[^0-9a-f]/gi,""),e.length<6&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]),t=t||0;for(var n="#",o=0;o<3;o++){var r=parseInt(e.substr(2*o,2),16);r=Math.round(Math.min(Math.max(0,r+r*t),255)).toString(16),n+=("00"+r).substr(r.length)}return n},c={previousWindowKeyDown:null,previousActiveElement:null,previousBodyPadding:null},u=function(){if("undefined"==typeof document)return void console.error("SweetAlert2 requires document to initialize");if(!document.getElementsByClassName(n.container).length){document.body.appendChild(a);var e=p(),t=P(e,n.input),o=P(e,n.file),r=e.querySelector("."+n.range+" input"),i=e.querySelector("."+n.range+" output"),l=P(e,n.select),s=e.querySelector("."+n.checkbox+" input"),c=P(e,n.textarea);return t.oninput=function(){_.resetValidationError()},t.onkeydown=function(e){setTimeout(function(){13===e.keyCode&&(e.stopPropagation(),_.clickConfirm())},0)},o.onchange=function(){_.resetValidationError()},r.oninput=function(){_.resetValidationError(),i.value=r.value},r.onchange=function(){_.resetValidationError(),r.previousSibling.value=r.value},l.onchange=function(){_.resetValidationError()},s.onchange=function(){_.resetValidationError()},c.oninput=function(){_.resetValidationError()},e}},d=function(e){return a.querySelector("."+e)},p=function(){return document.body.querySelector("."+n.modal)||u()},f=function(){var e=p();return e.querySelectorAll("."+n.icon)},m=function(){return d(n.title)},v=function(){return d(n.content)},h=function(){return d(n.image)},g=function(){return d(n.spacer)},y=function(){return d(n.progresssteps)},b=function(){return d(n.validationerror)},w=function(){return d(n.confirm)},C=function(){return d(n.cancel)},k=function(){return d(n.close)},S=function(t){var n=[w(),C()];return t&&n.reverse(),n.concat(Array.prototype.slice.call(p().querySelectorAll("button:not([class^="+e+"]), input:not([type=hidden]), textarea, select")))},x=function(e,t){return!!e.classList&&e.classList.contains(t)},E=function(e){if(e.focus(),"file"!==e.type){var t=e.value;e.value="",e.value=t}},B=function(e,t){if(e&&t){var n=t.split(/\s+/).filter(Boolean);n.forEach(function(t){e.classList.add(t)})}},A=function(e,t){if(e&&t){var n=t.split(/\s+/).filter(Boolean);n.forEach(function(t){e.classList.remove(t)})}},P=function(e,t){for(var n=0;n<e.childNodes.length;n++)if(x(e.childNodes[n],t))return e.childNodes[n]},T=function(e,t){t||(t="block"),e.style.opacity="",e.style.display=t},L=function(e){e.style.opacity="",e.style.display="none"},q=function(e){for(;e.firstChild;)e.removeChild(e.firstChild)},M=function(e){return e.offsetWidth||e.offsetHeight||e.getClientRects().length},V=function(e,t){e.style.removeProperty?e.style.removeProperty(t):e.style.removeAttribute(t)},H=function(e){if(!M(e))return!1;if("function"==typeof MouseEvent){var t=new MouseEvent("click",{view:window,bubbles:!1,cancelable:!0});e.dispatchEvent(t)}else if(document.createEvent){var n=document.createEvent("MouseEvents");n.initEvent("click",!1,!1),e.dispatchEvent(n)}else document.createEventObject?e.fireEvent("onclick"):"function"==typeof e.onclick&&e.onclick()},O=function(){var e=document.createElement("div"),t={WebkitAnimation:"webkitAnimationEnd",OAnimation:"oAnimationEnd oanimationend",msAnimation:"MSAnimationEnd",animation:"animationend"};for(var n in t)if(t.hasOwnProperty(n)&&void 0!==e.style[n])return t[n];return!1}(),N=function(){var e=p();if(window.onkeydown=c.previousWindowKeyDown,c.previousActiveElement&&c.previousActiveElement.focus){var t=window.scrollX,n=window.scrollY;c.previousActiveElement.focus(),window.scrollTo(t,n)}clearTimeout(e.timeout)},I=function(){var e="ontouchstart"in window||navigator.msMaxTouchPoints;if(e)return 0;var t=document.createElement("div");t.style.width="50px",t.style.height="50px",t.style.overflow="scroll",document.body.appendChild(t);var n=t.offsetWidth-t.clientWidth;return document.body.removeChild(t),n},j=function(e,t){var n=void 0;return function(){var o=function(){n=null,e()};clearTimeout(n),n=setTimeout(o,t)}},D="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},W=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},U=W({},r),K=[],R=void 0,z=function(e){var t=p();for(var i in e)r.hasOwnProperty(i)||"extraParams"===i||console.warn('SweetAlert2: Unknown parameter "'+i+'"');t.style.width="number"==typeof e.width?e.width+"px":e.width,t.style.padding=e.padding+"px",t.style.background=e.background;var a=m(),l=v(),s=w(),c=C(),u=k();if(e.titleText?a.innerText=e.titleText:a.innerHTML=e.title.split("\n").join("<br>"),e.text||e.html){if("object"===D(e.html))if(l.innerHTML="",0 in e.html)for(var d=0;d in e.html;d++)l.appendChild(e.html[d].cloneNode(!0));else l.appendChild(e.html.cloneNode(!0));else e.html?l.innerHTML=e.html:e.text&&(l.textContent=e.text);T(l)}else L(l);e.showCloseButton?T(u):L(u),t.className=n.modal,e.customClass&&B(t,e.customClass);var b=y(),S=parseInt(null===e.currentProgressStep?_.getQueueStep():e.currentProgressStep,10);e.progressSteps.length?(T(b),q(b),S>=e.progressSteps.length&&console.warn("SweetAlert2: Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"),e.progressSteps.forEach(function(t,o){var r=document.createElement("li");if(B(r,n.progresscircle),r.innerHTML=t,o===S&&B(r,n.activeprogressstep),b.appendChild(r),o!==e.progressSteps.length-1){var i=document.createElement("li");B(i,n.progressline),i.style.width=e.progressStepsDistance,b.appendChild(i)}})):L(b);for(var x=f(),E=0;E<x.length;E++)L(x[E]);if(e.type){var P=!1;for(var M in o)if(e.type===M){P=!0;break}if(!P)return console.error("SweetAlert2: Unknown alert type: "+e.type),!1;var H=t.querySelector("."+n.icon+"."+o[e.type]);switch(T(H),e.type){case"success":B(H,"animate"),B(H.querySelector(".tip"),"animate-success-tip"),B(H.querySelector(".long"),"animate-success-long");break;case"error":B(H,"animate-error-icon"),B(H.querySelector(".x-mark"),"animate-x-mark");break;case"warning":B(H,"pulse-warning")}}var O=h();e.imageUrl?(O.setAttribute("src",e.imageUrl),T(O),e.imageWidth?O.setAttribute("width",e.imageWidth):O.removeAttribute("width"),e.imageHeight?O.setAttribute("height",e.imageHeight):O.removeAttribute("height"),O.className=n.image,e.imageClass&&B(O,e.imageClass)):L(O),e.showCancelButton?c.style.display="inline-block":L(c),e.showConfirmButton?V(s,"display"):L(s);var N=g();e.showConfirmButton||e.showCancelButton?T(N):L(N),s.innerHTML=e.confirmButtonText,c.innerHTML=e.cancelButtonText,e.buttonsStyling&&(s.style.backgroundColor=e.confirmButtonColor,c.style.backgroundColor=e.cancelButtonColor),s.className=n.confirm,B(s,e.confirmButtonClass),c.className=n.cancel,B(c,e.cancelButtonClass),e.buttonsStyling?(B(s,n.styled),B(c,n.styled)):(A(s,n.styled),A(c,n.styled),s.style.backgroundColor=s.style.borderLeftColor=s.style.borderRightColor="",c.style.backgroundColor=c.style.borderLeftColor=c.style.borderRightColor=""),e.animation===!0?A(t,n.noanimation):B(t,n.noanimation)},Q=function(e,t){var o=p();e?(B(o,n.show),B(a,n.fade),A(o,n.hide)):A(o,n.fade),T(o),a.style.overflowY="hidden",O&&!x(o,n.noanimation)?o.addEventListener(O,function e(){o.removeEventListener(O,e),a.style.overflowY="auto"}):a.style.overflowY="auto",B(document.documentElement,n.in),B(document.body,n.in),B(a,n.in),Y(),J(),c.previousActiveElement=document.activeElement,null!==t&&"function"==typeof t&&setTimeout(function(){t(o)})},Y=function(){null===c.previousBodyPadding&&document.body.scrollHeight>window.innerHeight&&(c.previousBodyPadding=document.body.style.paddingRight,document.body.style.paddingRight=I()+"px")},Z=function(){null!==c.previousBodyPadding&&(document.body.style.paddingRight=c.previousBodyPadding,c.previousBodyPadding=null)},J=function(){var e=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream;if(e&&!x(document.body,n.iosfix)){var t=document.body.scrollTop;document.body.style.top=t*-1+"px",B(document.body,n.iosfix)}},X=function(){if(x(document.body,n.iosfix)){var e=parseInt(document.body.style.top,10);A(document.body,n.iosfix),document.body.style.top="",document.body.scrollTop=e*-1}},$=function(){for(var e=arguments.length,t=Array(e),o=0;o<e;o++)t[o]=arguments[o];if(void 0===t[0])return console.error("SweetAlert2 expects at least 1 attribute!"),!1;var r=W({},U);switch(D(t[0])){case"string":r.title=t[0],r.html=t[1],r.type=t[2];break;case"object":W(r,t[0]),r.extraParams=t[0].extraParams,"email"===r.input&&null===r.inputValidator&&(r.inputValidator=function(e){return new Promise(function(t,n){var o=/^[a-zA-Z0-9.+_-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,6}$/;o.test(e)?t():n("Invalid email address")})});break;default:return console.error('SweetAlert2: Unexpected type of argument! Expected "string" or "object", got '+D(t[0])),!1}z(r);var i=p();return new Promise(function(e,t){r.timer&&(i.timeout=setTimeout(function(){_.closeModal(r.onClose),t("timer")},r.timer));var o=function(e){if(e=e||r.input,!e)return null;switch(e){case"select":case"textarea":case"file":return P(i,n[e]);case"checkbox":return i.querySelector("."+n.checkbox+" input");case"radio":return i.querySelector("."+n.radio+" input:checked")||i.querySelector("."+n.radio+" input:first-child");case"range":return i.querySelector("."+n.range+" input");default:return P(i,n.input)}},l=function(){var e=o();if(!e)return null;switch(r.input){case"checkbox":return e.checked?1:0;case"radio":return e.checked?e.value:null;case"file":return e.files.length?e.files[0]:null;default:return r.inputAutoTrim?e.value.trim():e.value}};r.input&&setTimeout(function(){var e=o();e&&E(e)},0);for(var u=function(t){r.showLoaderOnConfirm&&_.showLoading(),r.preConfirm?r.preConfirm(t,r.extraParams).then(function(n){_.closeModal(r.onClose),e(n||t)}
1,function(e){_.hideLoading(),e&&_.showValidationError(e)}):(_.closeModal(r.onClose),e(t))},d=function(e){var n=e||window.event,o=n.target||n.srcElement,i=w(),a=C(),c=i===o||i.contains(o),d=a===o||a.contains(o);switch(n.type){case"mouseover":case"mouseup":r.buttonsStyling&&(c?i.style.backgroundColor=s(r.confirmButtonColor,-.1):d&&(a.style.backgroundColor=s(r.cancelButtonColor,-.1)));break;case"mouseout":r.buttonsStyling&&(c?i.style.backgroundColor=r.confirmButtonColor:d&&(a.style.backgroundColor=r.cancelButtonColor));break;case"mousedown":r.buttonsStyling&&(c?i.style.backgroundColor=s(r.confirmButtonColor,-.2):d&&(a.style.backgroundColor=s(r.cancelButtonColor,-.2)));break;case"click":c&&_.isVisible()?r.input?!function(){var e=l();r.inputValidator?(_.disableInput(),r.inputValidator(e,r.extraParams).then(function(){_.enableInput(),u(e)},function(e){_.enableInput(),e&&_.showValidationError(e)})):u(e)}():u(!0):d&&_.isVisible()&&(_.closeModal(r.onClose),t("cancel"))}},f=i.querySelectorAll("button"),x=0;x<f.length;x++)f[x].onclick=d,f[x].onmouseover=d,f[x].onmouseout=d,f[x].onmousedown=d;k().onclick=function(){_.closeModal(r.onClose),t("close")},a.onclick=function(e){e.target===a&&r.allowOutsideClick&&(_.closeModal(r.onClose),t("overlay"))};var q=w(),V=C();r.reverseButtons?q.parentNode.insertBefore(V,q):q.parentNode.insertBefore(q,V);var O=function(e,t){for(var n=S(r.focusCancel),o=0;o<n.length;o++){e+=t,e===n.length?e=0:e===-1&&(e=n.length-1);var i=n[e];if(M(i))return i.focus()}},N=function(e){var n=e||window.event,o=n.keyCode||n.which;if([9,13,32,27].indexOf(o)!==-1){for(var i=n.target||n.srcElement,a=S(r.focusCancel),l=-1,s=0;s<a.length;s++)if(i===a[s]){l=s;break}9===o?(n.shiftKey?O(l,-1):O(l,1),n.stopPropagation(),n.preventDefault()):13===o||32===o?l===-1&&(r.focusCancel?H(V,n):H(q,n)):27===o&&r.allowEscapeKey===!0&&(_.closeModal(r.onClose),t("esc"))}};c.previousWindowKeyDown=window.onkeydown,window.onkeydown=N,r.buttonsStyling&&(q.style.borderLeftColor=r.confirmButtonColor,q.style.borderRightColor=r.confirmButtonColor),_.showLoading=_.enableLoading=function(){T(g()),T(q,"inline-block"),B(q,n.loading),B(i,n.loading),q.disabled=!0,V.disabled=!0},_.hideLoading=_.disableLoading=function(){r.showConfirmButton||(L(q),r.showCancelButton||L(g())),A(q,n.loading),A(i,n.loading),q.disabled=!1,V.disabled=!1},_.getTitle=function(){return m()},_.getContent=function(){return v()},_.getInput=function(){return o()},_.getImage=function(){return h()},_.getConfirmButton=function(){return w()},_.getCancelButton=function(){return C()},_.enableButtons=function(){q.disabled=!1,V.disabled=!1},_.disableButtons=function(){q.disabled=!0,V.disabled=!0},_.enableConfirmButton=function(){q.disabled=!1},_.disableConfirmButton=function(){q.disabled=!0},_.enableInput=function(){var e=o();if(!e)return!1;if("radio"===e.type)for(var t=e.parentNode.parentNode,n=t.querySelectorAll("input"),r=0;r<n.length;r++)n[r].disabled=!1;else e.disabled=!1},_.disableInput=function(){var e=o();if(!e)return!1;if(e&&"radio"===e.type)for(var t=e.parentNode.parentNode,n=t.querySelectorAll("input"),r=0;r<n.length;r++)n[r].disabled=!0;else e.disabled=!0},_.recalculateHeight=j(function(){var e=p(),t=e.style.display;e.style.minHeight="",T(e),e.style.minHeight=e.scrollHeight+1+"px",e.style.display=t},50),_.showValidationError=function(e){var t=b();t.innerHTML=e,T(t);var r=o();r&&(E(r),B(r,n.inputerror))},_.resetValidationError=function(){var e=b();L(e),_.recalculateHeight();var t=o();t&&A(t,n.inputerror)},_.getProgressSteps=function(){return r.progressSteps},_.setProgressSteps=function(e){r.progressSteps=e,z(r)},_.showProgressSteps=function(){T(y())},_.hideProgressSteps=function(){L(y())},_.enableButtons(),_.hideLoading(),_.resetValidationError();for(var I=["input","file","range","select","radio","checkbox","textarea"],W=void 0,U=0;U<I.length;U++){var K=n[I[U]],Y=P(i,K);if(W=o(I[U])){for(var Z in W.attributes)if(W.attributes.hasOwnProperty(Z)){var J=W.attributes[Z].name;"type"!==J&&"value"!==J&&W.removeAttribute(J)}for(var X in r.inputAttributes)W.setAttribute(X,r.inputAttributes[X])}Y.className=K,r.inputClass&&B(Y,r.inputClass),L(Y)}var $=void 0;!function(){switch(r.input){case"text":case"email":case"password":case"number":case"tel":W=P(i,n.input),W.value=r.
1inputValue,W.placeholder=r.inputPlaceholder,W.type=r.input,T(W);break;case"file":W=P(i,n.file),W.placeholder=r.inputPlaceholder,W.type=r.input,T(W);break;case"range":var e=P(i,n.range),t=e.querySelector("input"),a=e.querySelector("output");t.value=r.inputValue,t.type=r.input,a.value=r.inputValue,T(e);break;case"select":var l=P(i,n.select);if(l.innerHTML="",r.inputPlaceholder){var s=document.createElement("option");s.innerHTML=r.inputPlaceholder,s.value="",s.disabled=!0,s.selected=!0,l.appendChild(s)}$=function(e){for(var t in e){var n=document.createElement("option");n.value=t,n.innerHTML=e[t],r.inputValue===t&&(n.selected=!0),l.appendChild(n)}T(l),l.focus()};break;case"radio":var c=P(i,n.radio);c.innerHTML="",$=function(e){for(var t in e){var o=document.createElement("input"),i=document.createElement("label"),a=document.createElement("span");o.type="radio",o.name=n.radio,o.value=t,r.inputValue===t&&(o.checked=!0),a.innerHTML=e[t],i.appendChild(o),i.appendChild(a),i.for=o.id,c.appendChild(i)}T(c);var l=c.querySelectorAll("input");l.length&&l[0].focus()};break;case"checkbox":var u=P(i,n.checkbox),d=o("checkbox");d.type="checkbox",d.value=1,d.id=n.checkbox,d.checked=Boolean(r.inputValue);var p=u.getElementsByTagName("span");p.length&&u.removeChild(p[0]),p=document.createElement("span"),p.innerHTML=r.inputPlaceholder,u.appendChild(p),T(u);break;case"textarea":var f=P(i,n.textarea);f.value=r.inputValue,f.placeholder=r.inputPlaceholder,T(f);break;case null:break;default:console.error('SweetAlert2: Unexpected type of input! Expected "text", "email", "password", "select", "checkbox", "textarea" or "file", got "'+r.input+'"')}}(),"select"!==r.input&&"radio"!==r.input||(r.inputOptions instanceof Promise?(_.showLoading(),r.inputOptions.then(function(e){_.hideLoading(),$(e)})):"object"===D(r.inputOptions)?$(r.inputOptions):console.error("SweetAlert2: Unexpected type of inputOptions! Expected object or Promise, got "+D(r.inputOptions))),Q(r.animation,r.onOpen),O(-1,1),a.scrollTop=0,"undefined"==typeof MutationObserver||R||(R=new MutationObserver(_.recalculateHeight),R.observe(i,{childList:!0,characterData:!0,subtree:!0}))})},_=function e(){for(var t=arguments.length,n=Array(t),o=0;o<t;o++)n[o]=arguments[o];return e.isVisible()&&e.close(),$.apply(void 0,n)};return _.isVisible=function(){var e=p();return M(e)},_.queue=function(e){K=e;var t=p(),n=function(){K=[],t.removeAttribute("data-queue-step")},o=[];return new Promise(function(e,r){!function i(a,l){a<K.length?(t.setAttribute("data-queue-step",a),_(K[a]).then(function(e){o.push(e),i(a+1,l)},function(e){n(),r(e)})):(n(),e(o))}(0)})},_.getQueueStep=function(){return p().getAttribute("data-queue-step")},_.insertQueueStep=function(e,t){return t&&t<K.length?K.splice(t,0,e):K.push(e)},_.deleteQueueStep=function(e){"undefined"!=typeof K[e]&&K.splice(e,1)},_.close=_.closeModal=function(e){var t=p();A(t,n.show),B(t,n.hide);var r=t.querySelector("."+n.icon+"."+o.success);A(r,"animate"),A(r.querySelector(".tip"),"animate-success-tip"),A(r.querySelector(".long"),"animate-success-long");var i=t.querySelector("."+n.icon+"."+o.error);A(i,"animate-error-icon"),A(i.querySelector(".x-mark"),"animate-x-mark");var l=t.querySelector("."+n.icon+"."+o.warning);A(l,"pulse-warning"),N();var s=function(){L(t),t.style.minHeight="",A(document.documentElement,n.in),A(document.body,n.in),A(a,n.in),Z(),X()};O&&!x(t,n.noanimation)?t.addEventListener(O,function e(){t.removeEventListener(O,e),x(t,n.hide)&&s()}):s(),null!==e&&"function"==typeof e&&setTimeout(function(){e(t)})},_.clickConfirm=function(){return w().click()},_.clickCancel=function(){return C().click()},_.setDefaults=function(e){if(!e||"object"!==("undefined"==typeof e?"undefined":D(e)))return console.error("SweetAlert2: the argument for setDefaults() is required and has to be a object");for(var t in e)r.hasOwnProperty(t)||"extraParams"===t||(console.warn('SweetAlert2: Unknown parameter "'+t+'"'),delete e[t]);W(U,e)},_.resetDefaults=function(){U=W({},r)},_.noop=function(){},_.version="6.3.8",_.default=_,_}),window.Sweetalert2&&(window.sweetAlert=window.swal=window.Sweetalert2);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.