!function(t,e){"object"==typeofexports&&"object"==typeofmodule?module.exports=e():"function"==typeofdefine&&define.amd?define([],e):"object"==typeofexports?exports.swal=e():t.swal=e()}(this,function(){returnfunction(t){functione(o){if(n[o])returnn[o].exports;varr=n[o]={i:o,l:!1,exports:{}};returnt[o].call(r.exports,r,r.exports,e),r.l=!0,r.exports}varn={};returne.m=t,e.c=n,e.d=function(t,n,o){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:o})},e.n=function(t){varn=t&&t.__esModule?function(){returnt.default}:function(){returnt};returne.d(n,"a",n),n},e.o=function(t,e){returnObject.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=8)}([function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});varo="swal-button";e.CLASS_NAMES={MODAL:"swal-modal",OVERLAY:"swal-overlay",SHOW_MODAL:"swal-overlay--show-modal",MODAL_TITLE:"swal-title",MODAL_TEXT:"swal-text",ICON:"swal-icon",ICON_CUSTOM:"swal-icon--custom",CONTENT:"swal-content",FOOTER:"swal-footer",BUTTON_CONTAINER:"swal-button-container",BUTTON:o,CONFIRM_BUTTON:o+"--confirm",CANCEL_BUTTON:o+"--cancel",DANGER_BUTTON:o+"--danger",BUTTON_LOADING:o+"--loading",BUTTON_LOADER:o+"__loader"},e.default=e.CLASS_NAMES},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getNode=function(t){vare="."+t;returndocument.querySelector(e)},e.stringToNode=function(t){vare=document.createElement("div");returne.innerHTML=t.trim(),e.firstChild},e.insertAfter=function(t,e){varn=e.nextSibling;e.parentNode.insertBefore(t,n)},e.removeNode=function(t){t.parentElement.removeChild(t)},e.throwErr=function(t){throwt=t.replace(/ +(?= )/g,""),"SweetAlert: "+(t=t.trim())},e.isPlainObject=function(t){if("[object Object]"!==Object.prototype.toString.call(t))return!1;vare=Object.getPrototypeOf(t);returnnull===e||e===Object.prototype},e.ordinalSuffixOf=function(t){vare=t%10,n=t%100;return1===e&&11!==n?t+"st":2===e&&12!==n?t+"nd":3===e&&13!==n?t+"rd":t+"th"}},function(t,e,n){"use strict";functiono(t){for(varnint)e.hasOwnProperty(n)||(e[n]=t[n])}Object.defineProperty(e,"__esModule",{value:!0}),o(n(25));varr=n(26);e.overlayMarkup=r.default,o(n(27)),o(n(28)),o(n(29));vari=n(0),a=i.default.MODAL_TITLE,s=i.default.MODAL_TEXT,c=i.default.ICON,l=i.default.FOOTER;e.iconMarkup='\n <div class="'+c+'"></div>',e.titleMarkup='\n <div class="'+a+'"></div>\n',e.textMarkup='\n <div class="'+s+'"></div>',e.footerMarkup='\n <div class="'+l+'"></div>\n'},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});varo=n(1);e.CONFIRM_KEY="confirm",e.CANCEL_KEY="cancel";varr={visible:!0,text:null,value:null,className:"",closeModal:!0},i=Object.assign({},r,{visible:!1,text:"Cancel",value:null}),a=Object.assign({},r,{text:"OK",value:!0});e.defaultButtonList={cancel:i,confirm:a};vars=function(t){switch(t){casee.CONFIRM_KEY:returna;casee.CANCEL_KEY:returni;default:varn=t.charAt(0).toUpperCase()+t.slice(1);returnObject.assign({},r,{text:n,value:t})}},c=function(t,e){varn=s(t);return!0===e?Object.assign({},n,{visible:!0}):"string"==typeofe?Object.assign({},n,{visible:!0,text:e}):o.isPlainObject(e)?Object.assign({visible:!0},n,e):Object.assign({},n,{visible:!1})},l=function(t){for(vare={},n=0,o=Object.keys(t);n<o.length;n++){varr=o[n],a=t[r],s=c(r,a);e[r]=s}returne.cancel||(e.cancel=i),e},u=function(t){varn={};switch(t.length){case1:n[e.CANCEL_KEY]=Object.assign({},i,{visible:!1});break;case2:n[e.CANCEL_KEY]=c(e.CANCEL_KEY,t[0]),n[e.CONFIRM_KEY]=c(e.CONFIRM_KEY,t[1]);break;default:o.throwErr("Invalid number of 'buttons' in array ("+t.length+").\n If you want more than 2 buttons, you need to use an object!")}returnn};e.getButtonListOpts=function(t){varn=e.defaultButtonList;return"string"==typeoft?n[e.CONFIRM_KEY]=c(e.CONFIRM_KEY,t):Array.isArray(t)?n=u(t):o.isPlainObject(t)?n=l(t):!0===t?n=u([!0,!0]):!1===t?n=u([!1,!1]):void0===t&&(n=e.defaultButtonList),n}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});varo=n(1),r=n(2),i=n(0),a=i.default.MODAL,s=i.default.OVERLAY