!(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";
function V(e) {
return (V =
"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;
})(e);
}
function a(e, t) {
if (!(e instanceof t))
throw new TypeError("Cannot call a class as a function");
}
function r(e, t) {
for (var n = 0; n < t.length; n++) {
var o = t[n];
(o.enumerable = o.enumerable || !1),
(o.configurable = !0),
"value" in o && (o.writable = !0),
Object.defineProperty(e, o.key, o);
}
}
function s() {
return (s =
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;
}).apply(this, arguments);
}
function c(e) {
return (c = Object.setPrototypeOf
? Object.getPrototypeOf
: function (e) {
return e.__proto__ || Object.getPrototypeOf(e);
})(e);
}
function u(e, t) {
return (u =
Object.setPrototypeOf ||
function (e, t) {
return (e.__proto__ = t), e;
})(e, t);
}
function o(e, t, n) {
return (o = (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 (e) {
return !1;
}
})()
? Reflect.construct
: function (e, t, n) {
var o = [null];
o.push.apply(o, t);
var i = new (Function.bind.apply(e, o))();
return n && u(i, n.prototype), i;
}).apply(null, arguments);
}
function l(e, t) {
return !t || ("object" != typeof t && "function" != typeof t)
? (function (e) {
if (void 0 === e)
throw new ReferenceError(
"this hasn't been initialised - super() hasn't been called"
);
return e;
})(e)
: t;
}
function d(e, t, n) {
return (d =
"undefined" != typeof Reflect && Reflect.get
? Reflect.get
: function (e, t, n) {
var o = (function (e, t) {
for (
;
!Object.prototype.hasOwnProperty.call(e, t) &&
null !== (e = c(e));
);
return e;
})(e, t);
if (o) {
var i = Object.getOwnPropertyDescriptor(o, t);
return i.get ? i.get.call(n) : i.value;
}
})(e, t, n || e);
}
var t = "SweetAlert2:",
p = function (e) {
return Array.prototype.slice.call(e);
},
q = function (e) {
console.warn("".concat(t, " ").concat(e));
},
H = function (e) {
console.error("".concat(t, " ").concat(e));
},
i = [],
j = function (e) {
return "function" == typeof e ? e() : e;
},
R = function (e) {
return e && Promise.resolve(e) === e;
},
e = Object.freeze({
cancel: "cancel",
backdrop: "backdrop",
close: "close",
esc: "esc",
timer: "timer",
}),
n = function (e) {
var t = {};
for (var n in e) t[e[n]] = "swal2-" + e[n];
return t;
},
I = n([
"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",
"icon-text",
"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",
]),
f = n(["success", "warning", "info", "question", "error"]),
m = { previousBodyPadding: null },
g = function (e, t) {
return e.classList.contains(t);
},
N = function (e) {
if ((e.focus(), "file" !== e.type)) {
var t = e.value;
(e.value = ""), (e.value = t);
}
},
h = function (e, t, n) {
e &&
t &&
("string" == typeof t && (t = t.split(/\s+/).filter(Boolean)),
t.forEach(function (t) {
e.forEach
? e.forEach(function (e) {
n ? e.classList.add(t) : e.classList.remove(t);
})
: n
? e.classList.add(t)
: e.classList.remove(t);
}));
},
D = function (e, t) {
h(e, t, !0);
},
U = function (e, t) {
h(e, t, !1);
},
_ = function (e, t) {
for (var n = 0; n < e.childNodes.length; n++)
if (g(e.childNodes[n], t)) return e.childNodes[n];
},
z = function (e) {
(e.style.opacity = ""),
(e.style.display = e.id === I.content ? "block" : "flex");
},
W = function (e) {
(e.style.opacity = ""), (e.style.display = "none");
},
K = function (e) {
return !(
!e || !(e.offsetWidth || e.offsetHeight || e.getClientRects().length)
);
},
v = function () {
return document.body.querySelector("." + I.container);
},
b = function (e) {
var t = v();
return t ? t.querySelector(e) : null;
},
y = function (e) {
return b("." + e);
},
w = function () {
return y(I.popup);
},
C = function () {
var e = w();
return p(e.querySelectorAll("." + I.icon));
},
k = function () {
return y(I.title);
},
x = function () {
return y(I.content);
},
B = function () {
return y(I.image);
},
A = function () {
return y(I["progress-steps"]);
},
P = function () {
return y(I["validation-message"]);
},
S = function () {
return b("." + I.actions + " ." + I.confirm);
},
L = function () {
return b("." + I.actions + " ." + I.cancel);
},
F = function () {
return y(I.actions);
},
Z = function () {
return y(I.footer);
},
Q = function () {
return y(I.close);
},
Y = function () {
var e = p(
w().querySelectorAll(
'[tabindex]:not([tabindex="-1"]):not([tabindex="0"])'
)
).sort(function (e, t) {
return (
(e = parseInt(e.getAttribute("tabindex"))),
(t = parseInt(t.getAttribute("tabindex"))) < e ? 1 : e < t ? -1 : 0
);
}),
t = p(
w().querySelectorAll(
'a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, [tabindex="0"], [contenteditable], audio[controls], video[controls]'
)
).filter(function (e) {
return "-1" !== e.getAttribute("tabindex");
});
return (function (e) {
for (var t = [], n = 0; n < e.length; n++)
-1 === t.indexOf(e[n]) && t.push(e[n]);
return t;
})(e.concat(t)).filter(function (e) {
return K(e);
});
},
E = function () {
return !T() && !document.body.classList.contains(I["no-backdrop"]);
},
T = function () {
return document.body.classList.contains(I["toast-shown"]);
},
O = function () {
return "undefined" == typeof window || "undefined" == typeof document;
},
M = '\n
\n')
.replace(/(^|\n)\s*/g, ""),
$ = function (e) {
var t = v();
if (
(t &&
(t.parentNode.removeChild(t),
U(
[document.documentElement, document.body],
[I["no-backdrop"], I["toast-shown"], I["has-column"]]
)),
!O())
) {
var n = document.createElement("div");
(n.className = I.container), (n.innerHTML = M);
var o =
"string" == typeof e.target
? document.querySelector(e.target)
: e.target;
o.appendChild(n);
var i,
r = w(),
a = x(),
s = _(a, I.input),
c = _(a, I.file),
u = a.querySelector(".".concat(I.range, " input")),
l = a.querySelector(".".concat(I.range, " output")),
d = _(a, I.select),
p = a.querySelector(".".concat(I.checkbox, " input")),
f = _(a, I.textarea);
r.setAttribute("role", e.toast ? "alert" : "dialog"),
r.setAttribute("aria-live", e.toast ? "polite" : "assertive"),
e.toast || r.setAttribute("aria-modal", "true"),
"rtl" === window.getComputedStyle(o).direction && D(v(), I.rtl);
var m = function (e) {
Le.isVisible() && i !== e.target.value && Le.resetValidationMessage(),
(i = e.target.value);
};
return (
(s.oninput = m),
(c.onchange = m),
(d.onchange = m),
(p.onchange = m),
(f.oninput = m),
(u.oninput = function (e) {
m(e), (l.value = u.value);
}),
(u.onchange = function (e) {
m(e), (u.nextSibling.value = u.value);
}),
r
);
}
H("SweetAlert2 requires document to initialize");
},
J = function (e, t) {
if (!e) return W(t);
if (e instanceof HTMLElement) t.appendChild(e);
else if ("object" === V(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));
else e && (t.innerHTML = e);
z(t);
},
X = (function () {
if (O()) return !1;
var e = document.createElement("div"),
t = {
WebkitAnimation: "webkitAnimationEnd",
OAnimation: "oAnimationEnd oanimationend",
animation: "animationend",
};
for (var n in t)
if (t.hasOwnProperty(n) && void 0 !== e.style[n]) return t[n];
return !1;
})(),
G = function (e) {
var t = F(),
n = S(),
o = L();
if (
(e.showConfirmButton || e.showCancelButton ? z(t) : W(t),
e.showCancelButton ? (o.style.display = "inline-block") : W(o),
e.showConfirmButton ? n.style.removeProperty("display") : W(n),
(n.innerHTML = e.confirmButtonText),
(o.innerHTML = e.cancelButtonText),
n.setAttribute("aria-label", e.confirmButtonAriaLabel),
o.setAttribute("aria-label", e.cancelButtonAriaLabel),
(n.className = I.confirm),
D(n, e.confirmButtonClass),
(o.className = I.cancel),
D(o, e.cancelButtonClass),
e.buttonsStyling)
) {
D([n, o], I.styled),
e.confirmButtonColor &&
(n.style.backgroundColor = e.confirmButtonColor),
e.cancelButtonColor &&
(o.style.backgroundColor = e.cancelButtonColor);
var i = window.getComputedStyle(n).getPropertyValue("background-color");
(n.style.borderLeftColor = i), (n.style.borderRightColor = i);
} else
U([n, o], I.styled),
(n.style.backgroundColor =
n.style.borderLeftColor =
n.style.borderRightColor =
""),
(o.style.backgroundColor =
o.style.borderLeftColor =
o.style.borderRightColor =
"");
},
ee = function (e) {
var t = x().querySelector("#" + I.content);
e.html ? J(e.html, t) : e.text ? ((t.textContent = e.text), z(t)) : W(t);
},
te = function (e) {
for (var t = C(), n = 0; n < t.length; n++) W(t[n]);
if (e.type)
if (-1 !== Object.keys(f).indexOf(e.type)) {
var o = Le.getPopup().querySelector(
".".concat(I.icon, ".").concat(f[e.type])
);
z(o), e.animation && D(o, "swal2-animate-".concat(e.type, "-icon"));
} else
H(
'Unknown type! Expected "success", "error", "warning", "info" or "question", got "'.concat(
e.type,
'"'
)
);
},
ne = function (e) {
var t = B();
e.imageUrl
? (t.setAttribute("src", e.imageUrl),
t.setAttribute("alt", e.imageAlt),
z(t),
e.imageWidth
? t.setAttribute("width", e.imageWidth)
: t.removeAttribute("width"),
e.imageHeight
? t.setAttribute("height", e.imageHeight)
: t.removeAttribute("height"),
(t.className = I.image),
e.imageClass && D(t, e.imageClass))
: W(t);
},
oe = function (i) {
var r = A(),
a = parseInt(
null === i.currentProgressStep
? Le.getQueueStep()
: i.currentProgressStep,
10
);
i.progressSteps && i.progressSteps.length
? (z(r),
(r.innerHTML = ""),
a >= i.progressSteps.length &&
q(
"Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"
),
i.progressSteps.forEach(function (e, t) {
var n = document.createElement("li");
if (
(D(n, I["progress-step"]),
(n.innerHTML = e),
t === a && D(n, I["active-progress-step"]),
r.appendChild(n),
t !== i.progressSteps.length - 1)
) {
var o = document.createElement("li");
D(o, I["progress-step-line"]),
i.progressStepsDistance &&
(o.style.width = i.progressStepsDistance),
r.appendChild(o);
}
}))
: W(r);
},
ie = function (e) {
var t = k();
e.titleText
? (t.innerText = e.titleText)
: e.title &&
("string" == typeof e.title &&
(e.title = e.title.split("\n").join("
")),
J(e.title, t));
};
var re = [],
ae = function () {
var e = w();
e || Le.fire(""), (e = w());
var t = F(),
n = S(),
o = L();
z(t),
z(n),
D([e, t], I.loading),
(n.disabled = !0),
(o.disabled = !0),
e.setAttribute("data-loading", !0),
e.setAttribute("aria-busy", !0),
e.focus();
},
se = {},
ce = {
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,
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,
onAfterClose: null,
onOpen: null,
onClose: null,
scrollbarPadding: !0,
},
ue = [],
le = [
"allowOutsideClick",
"allowEnterKey",
"backdrop",
"focusConfirm",
"focusCancel",
"heightAuto",
"keydownListenerCapture",
],
de = function (e) {
return ce.hasOwnProperty(e);
},
pe = function (e) {
return -1 !== ue.indexOf(e);
},
fe = Object.freeze({
isValidParameter: de,
isUpdatableParameter: function (e) {
return (
-1 !==
[
"title",
"titleText",
"text",
"html",
"type",
"showConfirmButton",
"showCancelButton",
"confirmButtonText",
"confirmButtonAriaLabel",
"confirmButtonColor",
"confirmButtonClass",
"cancelButtonText",
"cancelButtonAriaLabel",
"cancelButtonColor",
"cancelButtonClass",
"buttonsStyling",
"reverseButtons",
"imageUrl",
"imageWidth",
"imageHeigth",
"imageAlt",
"imageClass",
"progressSteps",
"currentProgressStep",
].indexOf(e)
);
},
isDeprecatedParameter: pe,
argsToParams: function (n) {
var o = {};
switch (V(n[0])) {
case "object":
s(o, n[0]);
break;
default:
["title", "html", "type"].forEach(function (e, t) {
switch (V(n[t])) {
case "string":
o[e] = n[t];
break;
case "undefined":
break;
default:
H(
"Unexpected type of "
.concat(e, '! Expected "string", got ')
.concat(V(n[t]))
);
}
});
}
return o;
},
isVisible: function () {
return K(w());
},
clickConfirm: function () {
return S().click();
},
clickCancel: function () {
return L().click();
},
getContainer: v,
getPopup: w,
getTitle: k,
getContent: x,
getImage: B,
getIcons: C,
getCloseButton: Q,
getActions: F,
getConfirmButton: S,
getCancelButton: L,
getFooter: Z,
getFocusableElements: Y,
getValidationMessage: P,
isLoading: function () {
return w().hasAttribute("data-loading");
},
fire: function () {
for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
t[n] = arguments[n];
return o(this, t);
},
mixin: function (i) {
return (function (e) {
function t() {
return a(this, t), l(this, c(t).apply(this, arguments));
}
var n, o;
return (
(function (e, t) {
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 && u(e, t);
})(t, e),
r((n = t).prototype, [
{
key: "_main",
value: function (e) {
return d(c(t.prototype), "_main", this).call(
this,
s({}, i, e)
);
},
},
]),
o && r(n, o),
t
);
})(this);
},
queue: function (e) {
var r = this;
re = e;
var a = function () {
(re = []), document.body.removeAttribute("data-swal2-queue-step");
},
s = [];
return new Promise(function (i) {
!(function t(n, o) {
n < re.length
? (document.body.setAttribute("data-swal2-queue-step", n),
r.fire(re[n]).then(function (e) {
void 0 !== e.value
? (s.push(e.value), t(n + 1, o))
: (a(), i({ dismiss: e.dismiss }));
}))
: (a(), i({ value: s }));
})(0);
});
},
getQueueStep: function () {
return document.body.getAttribute("data-swal2-queue-step");
},
insertQueueStep: function (e, t) {
return t && t < re.length ? re.splice(t, 0, e) : re.push(e);
},
deleteQueueStep: function (e) {
void 0 !== re[e] && re.splice(e, 1);
},
showLoading: ae,
enableLoading: ae,
getTimerLeft: function () {
return se.timeout && se.timeout.getTimerLeft();
},
stopTimer: function () {
return se.timeout && se.timeout.stop();
},
resumeTimer: function () {
return se.timeout && se.timeout.start();
},
toggleTimer: function () {
var e = se.timeout;
return e && (e.running ? e.stop() : e.start());
},
increaseTimer: function (e) {
return se.timeout && se.timeout.increase(e);
},
isTimerRunning: function () {
return se.timeout && se.timeout.isRunning();
},
}),
me = {
promise: new WeakMap(),
innerParams: new WeakMap(),
domCache: new WeakMap(),
};
function ge() {
var e = me.innerParams.get(this),
t = me.domCache.get(this);
e.showConfirmButton ||
(W(t.confirmButton), e.showCancelButton || W(t.actions)),
U([t.popup, t.actions], I.loading),
t.popup.removeAttribute("aria-busy"),
t.popup.removeAttribute("data-loading"),
(t.confirmButton.disabled = !1),
(t.cancelButton.disabled = !1);
}
var he = function () {
null === m.previousBodyPadding &&
document.body.scrollHeight > window.innerHeight &&
((m.previousBodyPadding = parseInt(
window
.getComputedStyle(document.body)
.getPropertyValue("padding-right")
)),
(document.body.style.paddingRight =
m.previousBodyPadding +
(function () {
if ("ontouchstart" in window || navigator.msMaxTouchPoints)
return 0;
var e = document.createElement("div");
(e.style.width = "50px"),
(e.style.height = "50px"),
(e.style.overflow = "scroll"),
document.body.appendChild(e);
var t = e.offsetWidth - e.clientWidth;
return document.body.removeChild(e), t;
})() +
"px"));
},
ve = function () {
return !!window.MSInputMethodContext && !!document.documentMode;
},
be = function () {
var e = v(),
t = w();
e.style.removeProperty("align-items"),
t.offsetTop < 0 && (e.style.alignItems = "flex-start");
},
ye = { swalPromiseResolve: new WeakMap() };
function we(e) {
var t = v(),
n = w(),
o = me.innerParams.get(this),
i = ye.swalPromiseResolve.get(this),
r = o.onClose,
a = o.onAfterClose;
if (n) {
null !== r && "function" == typeof r && r(n), U(n, I.show), D(n, I.hide);
var s = function () {
T()
? Ce(a)
: (new Promise(function (e) {
var t = window.scrollX,
n = window.scrollY;
(se.restoreFocusTimeout = setTimeout(function () {
se.previousActiveElement && se.previousActiveElement.focus
? (se.previousActiveElement.focus(),
(se.previousActiveElement = null))
: document.body && document.body.focus(),
e();
}, 100)),
void 0 !== t && void 0 !== n && window.scrollTo(t, n);
}).then(function () {
return Ce(a);
}),
se.keydownTarget.removeEventListener("keydown", se.keydownHandler, {
capture: se.keydownListenerCapture,
}),
(se.keydownHandlerAdded = !1)),
t.parentNode && t.parentNode.removeChild(t),
U(
[document.documentElement, document.body],
[
I.shown,
I["height-auto"],
I["no-backdrop"],
I["toast-shown"],
I["toast-column"],
]
),
E() &&
(null !== m.previousBodyPadding &&
((document.body.style.paddingRight =
m.previousBodyPadding + "px"),
(m.previousBodyPadding = null)),
(function () {
if (g(document.body, I.iosfix)) {
var e = parseInt(document.body.style.top, 10);
U(document.body, I.iosfix),
(document.body.style.top = ""),
(document.body.scrollTop = -1 * e);
}
})(),
"undefined" != typeof window &&
ve() &&
window.removeEventListener("resize", be),
p(document.body.children).forEach(function (e) {
e.hasAttribute("data-previous-aria-hidden")
? (e.setAttribute(
"aria-hidden",
e.getAttribute("data-previous-aria-hidden")
),
e.removeAttribute("data-previous-aria-hidden"))
: e.removeAttribute("aria-hidden");
}));
};
X && !g(n, I.noanimation)
? n.addEventListener(X, function e() {
n.removeEventListener(X, e), g(n, I.hide) && s();
})
: s(),
i(e || {});
}
}
var Ce = function (e) {
null !== e &&
"function" == typeof e &&
setTimeout(function () {
e();
});
};
var ke = function e(t, n) {
a(this, e);
var o,
i,
r = n;
(this.running = !1),
(this.start = function () {
return (
this.running ||
((this.running = !0), (i = new Date()), (o = setTimeout(t, r))),
r
);
}),
(this.stop = function () {
return (
this.running &&
((this.running = !1), clearTimeout(o), (r -= new Date() - i)),
r
);
}),
(this.increase = function (e) {
var t = this.running;
return t && this.stop(), (r += e), t && this.start(), r;
}),
(this.getTimerLeft = function () {
return this.running && (this.stop(), this.start()), r;
}),
(this.isRunning = function () {
return this.running;
}),
this.start();
},
xe = {
email: function (e, t) {
return /^[a-zA-Z0-9.+_-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9-]{2,24}$/.test(e)
? Promise.resolve()
: Promise.resolve(t || "Invalid email address");
},
url: function (e, t) {
return /^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{2,256}\.[a-z]{2,63}\b([-a-zA-Z0-9@:%_+.~#?&//=]*)$/.test(
e
)
? Promise.resolve()
: Promise.resolve(t || "Invalid URL");
},
};
var Be = function (e) {
var t = v(),
n = w();
null !== e.onBeforeOpen &&
"function" == typeof e.onBeforeOpen &&
e.onBeforeOpen(n),
e.animation ? (D(n, I.show), D(t, I.fade), U(n, I.hide)) : U(n, I.fade),
z(n),
(t.style.overflowY = "hidden"),
X && !g(n, I.noanimation)
? n.addEventListener(X, function e() {
n.removeEventListener(X, e), (t.style.overflowY = "auto");
})
: (t.style.overflowY = "auto"),
D([document.documentElement, document.body, t], I.shown),
e.heightAuto &&
e.backdrop &&
!e.toast &&
D([document.documentElement, document.body], I["height-auto"]),
E() &&
(e.scrollbarPadding && he(),
(function () {
if (
/iPad|iPhone|iPod/.test(navigator.userAgent) &&
!window.MSStream &&
!g(document.body, I.iosfix)
) {
var e = document.body.scrollTop;
(document.body.style.top = -1 * e + "px"),
D(document.body, I.iosfix);
}
})(),
"undefined" != typeof window &&
ve() &&
(be(), window.addEventListener("resize", be)),
p(document.body.children).forEach(function (e) {
e === v() ||
(function (e, t) {
if ("function" == typeof e.contains) return e.contains(t);
})(e, v()) ||
(e.hasAttribute("aria-hidden") &&
e.setAttribute(
"data-previous-aria-hidden",
e.getAttribute("aria-hidden")
),
e.setAttribute("aria-hidden", "true"));
}),
setTimeout(function () {
t.scrollTop = 0;
})),
T() ||
se.previousActiveElement ||
(se.previousActiveElement = document.activeElement),
null !== e.onOpen &&
"function" == typeof e.onOpen &&
setTimeout(function () {
e.onOpen(n);
});
};
var Ae,
Pe = Object.freeze({
hideLoading: ge,
disableLoading: ge,
getInput: function (e) {
var t = me.innerParams.get(this),
n = me.domCache.get(this);
if (!(e = e || t.input)) return null;
switch (e) {
case "select":
case "textarea":
case "file":
return _(n.content, I[e]);
case "checkbox":
return n.popup.querySelector(".".concat(I.checkbox, " input"));
case "radio":
return (
n.popup.querySelector(".".concat(I.radio, " input:checked")) ||
n.popup.querySelector(".".concat(I.radio, " input:first-child"))
);
case "range":
return n.popup.querySelector(".".concat(I.range, " input"));
default:
return _(n.content, I.input);
}
},
close: we,
closePopup: we,
closeModal: we,
closeToast: we,
enableButtons: function () {
var e = me.domCache.get(this);
(e.confirmButton.disabled = !1), (e.cancelButton.disabled = !1);
},
disableButtons: function () {
var e = me.domCache.get(this);
(e.confirmButton.disabled = !0), (e.cancelButton.disabled = !0);
},
enableConfirmButton: function () {
me.domCache.get(this).confirmButton.disabled = !1;
},
disableConfirmButton: function () {
me.domCache.get(this).confirmButton.disabled = !0;
},
enableInput: function () {
var e = this.getInput();
if (!e) return !1;
if ("radio" === e.type)
for (
var t = e.parentNode.parentNode.querySelectorAll("input"), n = 0;
n < t.length;
n++
)
t[n].disabled = !1;
else e.disabled = !1;
},
disableInput: function () {
var e = this.getInput();
if (!e) return !1;
if (e && "radio" === e.type)
for (
var t = e.parentNode.parentNode.querySelectorAll("input"), n = 0;
n < t.length;
n++
)
t[n].disabled = !0;
else e.disabled = !0;
},
showValidationMessage: function (e) {
var t = me.domCache.get(this);
t.validationMessage.innerHTML = e;
var n = window.getComputedStyle(t.popup);
(t.validationMessage.style.marginLeft = "-".concat(
n.getPropertyValue("padding-left")
)),
(t.validationMessage.style.marginRight = "-".concat(
n.getPropertyValue("padding-right")
)),
z(t.validationMessage);
var o = this.getInput();
o &&
(o.setAttribute("aria-invalid", !0),
o.setAttribute("aria-describedBy", I["validation-message"]),
N(o),
D(o, I.inputerror));
},
resetValidationMessage: function () {
var e = me.domCache.get(this);
e.validationMessage && W(e.validationMessage);
var t = this.getInput();
t &&
(t.removeAttribute("aria-invalid"),
t.removeAttribute("aria-describedBy"),
U(t, I.inputerror));
},
getProgressSteps: function () {
return me.innerParams.get(this).progressSteps;
},
setProgressSteps: function (e) {
var t = s({}, me.innerParams.get(this), { progressSteps: e });
me.innerParams.set(this, t), oe(t);
},
showProgressSteps: function () {
var e = me.domCache.get(this);
z(e.progressSteps);
},
hideProgressSteps: function () {
var e = me.domCache.get(this);
W(e.progressSteps);
},
_main: function (e) {
var E = this;
!(function (e) {
for (var t in e)
de(t) || q('Unknown parameter "'.concat(t, '"')),
e.toast &&
-1 !== le.indexOf(t) &&
q('The parameter "'.concat(t, '" is incompatible with toasts')),
pe(t) &&
((n = 'The parameter "'.concat(
t,
'" is deprecated and will be removed in the next major release.'
)),
-1 === i.indexOf(n) && (i.push(n), q(n)));
var n;
})(e);
var T = s({}, ce, e);
!(function (t) {
var e;
t.inputValidator ||
Object.keys(xe).forEach(function (e) {
t.input === e && (t.inputValidator = xe[e]);
}),
(!t.target ||
("string" == typeof t.target &&
!document.querySelector(t.target)) ||
("string" != typeof t.target && !t.target.appendChild)) &&
(q('Target parameter is not valid, defaulting to "body"'),
(t.target = "body")),
"function" == typeof t.animation &&
(t.animation = t.animation.call());
var n = w(),
o =
"string" == typeof t.target
? document.querySelector(t.target)
: t.target;
(e = n && o && n.parentNode !== o.parentNode ? $(t) : n || $(t)),
t.width &&
(e.style.width =
"number" == typeof t.width ? t.width + "px" : t.width),
null !== t.padding &&
(e.style.padding =
"number" == typeof t.padding ? t.padding + "px" : t.padding),
t.background && (e.style.background = t.background);
for (
var i = window
.getComputedStyle(e)
.getPropertyValue("background-color"),
r = e.querySelectorAll(
"[class^=swal2-success-circular-line], .swal2-success-fix"
),
a = 0;
a < r.length;
a++
)
r[a].style.backgroundColor = i;
var s = v(),
c = Q(),
u = Z();
if (
(ie(t),
ee(t),
"string" == typeof t.backdrop
? (v().style.background = t.backdrop)
: t.backdrop ||
D([document.documentElement, document.body], I["no-backdrop"]),
!t.backdrop &&
t.allowOutsideClick &&
q(
'"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`'
),
t.position in I
? D(s, I[t.position])
: (q(
'The "position" parameter is not valid, defaulting to "center"'
),
D(s, I.center)),
t.grow && "string" == typeof t.grow)
) {
var l = "grow-" + t.grow;
l in I && D(s, I[l]);
}
t.showCloseButton
? (c.setAttribute("aria-label", t.closeButtonAriaLabel), z(c))
: W(c),
(e.className = I.popup),
t.toast
? (D([document.documentElement, document.body], I["toast-shown"]),
D(e, I.toast))
: D(e, I.modal),
t.customClass && D(e, t.customClass),
t.customContainerClass && D(s, t.customContainerClass),
oe(t),
te(t),
ne(t),
G(t),
J(t.footer, u),
!0 === t.animation ? U(e, I.noanimation) : D(e, I.noanimation),
t.showLoaderOnConfirm &&
!t.preConfirm &&
q(
"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),
Object.freeze(T),
me.innerParams.set(this, T),
se.timeout && (se.timeout.stop(), delete se.timeout),
clearTimeout(se.restoreFocusTimeout);
var O = {
popup: w(),
container: v(),
content: x(),
actions: F(),
confirmButton: S(),
cancelButton: L(),
closeButton: Q(),
validationMessage: P(),
progressSteps: A(),
};
me.domCache.set(this, O);
var M = this.constructor;
return new Promise(function (e) {
var n = function (e) {
E.closePopup({ value: e });
},
s = function (e) {
E.closePopup({ dismiss: e });
};
ye.swalPromiseResolve.set(E, e),
T.timer &&
(se.timeout = new ke(function () {
s("timer"), delete se.timeout;
}, T.timer)),
T.input &&
setTimeout(function () {
var e = E.getInput();
e && N(e);
}, 0);
for (
var c = function (t) {
T.showLoaderOnConfirm && M.showLoading(),
T.preConfirm
? (E.resetValidationMessage(),
Promise.resolve()
.then(function () {
return T.preConfirm(t, T.validationMessage);
})
.then(function (e) {
K(O.validationMessage) || !1 === e
? E.hideLoading()
: n(void 0 === e ? t : e);
}))
: n(t);
},
t = function (e) {
var t = e.target,
n = O.confirmButton,
o = O.cancelButton,
i = n && (n === t || n.contains(t)),
r = o && (o === t || o.contains(t));
switch (e.type) {
case "click":
if (i && M.isVisible())
if ((E.disableButtons(), T.input)) {
var a = (function () {
var e = E.getInput();
if (!e) return null;
switch (T.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 T.inputAutoTrim ? e.value.trim() : e.value;
}
})();
T.inputValidator
? (E.disableInput(),
Promise.resolve()
.then(function () {
return T.inputValidator(a, T.validationMessage);
})
.then(function (e) {
E.enableButtons(),
E.enableInput(),
e ? E.showValidationMessage(e) : c(a);
}))
: E.getInput().checkValidity()
? c(a)
: (E.enableButtons(),
E.showValidationMessage(T.validationMessage));
} else c(!0);
else
r &&
M.isVisible() &&
(E.disableButtons(), s(M.DismissReason.cancel));
}
},
o = O.popup.querySelectorAll("button"),
i = 0;
i < o.length;
i++
)
(o[i].onclick = t),
(o[i].onmouseover = t),
(o[i].onmouseout = t),
(o[i].onmousedown = t);
if (
((O.closeButton.onclick = function () {
s(M.DismissReason.close);
}),
T.toast)
)
O.popup.onclick = function () {
T.showConfirmButton ||
T.showCancelButton ||
T.showCloseButton ||
T.input ||
s(M.DismissReason.close);
};
else {
var r = !1;
(O.popup.onmousedown = function () {
O.container.onmouseup = function (e) {
(O.container.onmouseup = void 0),
e.target === O.container && (r = !0);
};
}),
(O.container.onmousedown = function () {
O.popup.onmouseup = function (e) {
(O.popup.onmouseup = void 0),
(e.target === O.popup || O.popup.contains(e.target)) &&
(r = !0);
};
}),
(O.container.onclick = function (e) {
r
? (r = !1)
: e.target === O.container &&
j(T.allowOutsideClick) &&
s(M.DismissReason.backdrop);
});
}
T.reverseButtons
? O.confirmButton.parentNode.insertBefore(
O.cancelButton,
O.confirmButton
)
: O.confirmButton.parentNode.insertBefore(
O.confirmButton,
O.cancelButton
);
var a = function (e, t) {
for (var n = Y(T.focusCancel), o = 0; o < n.length; o++)
return (
(e += t) === n.length
? (e = 0)
: -1 === e && (e = n.length - 1),
n[e].focus()
);
O.popup.focus();
};
se.keydownHandlerAdded &&
(se.keydownTarget.removeEventListener(
"keydown",
se.keydownHandler,
{ capture: se.keydownListenerCapture }
),
(se.keydownHandlerAdded = !1)),
T.toast ||
((se.keydownHandler = function (e) {
return (function (e, t) {
if (
(t.stopKeydownPropagation && e.stopPropagation(),
"Enter" !== e.key || e.isComposing)
)
if ("Tab" === e.key) {
for (
var n = e.target, o = Y(t.focusCancel), i = -1, r = 0;
r < o.length;
r++
)
if (n === o[r]) {
i = r;
break;
}
e.shiftKey ? a(i, -1) : a(i, 1),
e.stopPropagation(),
e.preventDefault();
} else
-1 !==
[
"ArrowLeft",
"ArrowRight",
"ArrowUp",
"ArrowDown",
"Left",
"Right",
"Up",
"Down",
].indexOf(e.key)
? document.activeElement === O.confirmButton &&
K(O.cancelButton)
? O.cancelButton.focus()
: document.activeElement === O.cancelButton &&
K(O.confirmButton) &&
O.confirmButton.focus()
: ("Escape" !== e.key && "Esc" !== e.key) ||
!0 !== j(t.allowEscapeKey) ||
(e.preventDefault(), s(M.DismissReason.esc));
else if (
e.target &&
E.getInput() &&
e.target.outerHTML === E.getInput().outerHTML
) {
if (-1 !== ["textarea", "file"].indexOf(t.input)) return;
M.clickConfirm(), e.preventDefault();
}
})(e, T);
}),
(se.keydownTarget = T.keydownListenerCapture ? window : O.popup),
(se.keydownListenerCapture = T.keydownListenerCapture),
se.keydownTarget.addEventListener("keydown", se.keydownHandler, {
capture: se.keydownListenerCapture,
}),
(se.keydownHandlerAdded = !0)),
E.enableButtons(),
E.hideLoading(),
E.resetValidationMessage(),
T.toast && (T.input || T.footer || T.showCloseButton)
? D(document.body, I["toast-column"])
: U(document.body, I["toast-column"]);
for (
var u,
l,
d = [
"input",
"file",
"range",
"select",
"radio",
"checkbox",
"textarea",
],
p = function (e) {
(e.placeholder && !T.inputPlaceholder) ||
(e.placeholder = T.inputPlaceholder);
},
f = 0;
f < d.length;
f++
) {
var m = I[d[f]],
g = _(O.content, m);
if ((u = E.getInput(d[f]))) {
for (var h in u.attributes)
if (u.attributes.hasOwnProperty(h)) {
var v = u.attributes[h].name;
"type" !== v && "value" !== v && u.removeAttribute(v);
}
for (var b in T.inputAttributes)
("range" === d[f] && "placeholder" === b) ||
u.setAttribute(b, T.inputAttributes[b]);
}
(g.className = m), T.inputClass && D(g, T.inputClass), W(g);
}
switch (T.input) {
case "text":
case "email":
case "password":
case "number":
case "tel":
case "url":
(u = _(O.content, I.input)),
"string" == typeof T.inputValue ||
"number" == typeof T.inputValue
? (u.value = T.inputValue)
: R(T.inputValue) ||
q(
'Unexpected type of inputValue! Expected "string", "number" or "Promise", got "'.concat(
V(T.inputValue),
'"'
)
),
p(u),
(u.type = T.input),
z(u);
break;
case "file":
p((u = _(O.content, I.file))), (u.type = T.input), z(u);
break;
case "range":
var y = _(O.content, I.range),
w = y.querySelector("input"),
C = y.querySelector("output");
(w.value = T.inputValue),
(w.type = T.input),
(C.value = T.inputValue),
z(y);
break;
case "select":
var k = _(O.content, I.select);
if (((k.innerHTML = ""), T.inputPlaceholder)) {
var x = document.createElement("option");
(x.innerHTML = T.inputPlaceholder),
(x.value = ""),
(x.disabled = !0),
(x.selected = !0),
k.appendChild(x);
}
l = function (e) {
e.forEach(function (e) {
var t = e[0],
n = e[1],
o = document.createElement("option");
(o.value = t),
(o.innerHTML = n),
T.inputValue.toString() === t.toString() &&
(o.selected = !0),
k.appendChild(o);
}),
z(k),
k.focus();
};
break;
case "radio":
var B = _(O.content, I.radio);
(B.innerHTML = ""),
(l = function (e) {
e.forEach(function (e) {
var t = e[0],
n = e[1],
o = document.createElement("input"),
i = document.createElement("label");
(o.type = "radio"),
(o.name = I.radio),
(o.value = t),
T.inputValue.toString() === t.toString() &&
(o.checked = !0);
var r = document.createElement("span");
(r.innerHTML = n),
(r.className = I.label),
i.appendChild(o),
i.appendChild(r),
B.appendChild(i);
}),
z(B);
var t = B.querySelectorAll("input");
t.length && t[0].focus();
});
break;
case "checkbox":
var A = _(O.content, I.checkbox),
P = E.getInput("checkbox");
(P.type = "checkbox"),
(P.value = 1),
(P.id = I.checkbox),
(P.checked = Boolean(T.inputValue)),
(A.querySelector("span").innerHTML = T.inputPlaceholder),
z(A);
break;
case "textarea":
var S = _(O.content, I.textarea);
(S.value = T.inputValue), p(S), z(S);
break;
case null:
break;
default:
H(
'Unexpected type of input! Expected "text", "email", "password", "number", "tel", "select", "radio", "checkbox", "textarea", "file" or "url", got "'.concat(
T.input,
'"'
)
);
}
if ("select" === T.input || "radio" === T.input) {
var L = function (e) {
return l(
((t = e),
(n = []),
"undefined" != typeof Map && t instanceof Map
? t.forEach(function (e, t) {
n.push([t, e]);
})
: Object.keys(t).forEach(function (e) {
n.push([e, t[e]]);
}),
n)
);
var t, n;
};
R(T.inputOptions)
? (M.showLoading(),
T.inputOptions.then(function (e) {
E.hideLoading(), L(e);
}))
: "object" === V(T.inputOptions)
? L(T.inputOptions)
: H(
"Unexpected type of inputOptions! Expected object, Map or Promise, got ".concat(
V(T.inputOptions)
)
);
} else
-1 !==
["text", "email", "number", "tel", "textarea"].indexOf(T.input) &&
R(T.inputValue) &&
(M.showLoading(),
W(u),
T.inputValue
.then(function (e) {
(u.value =
"number" === T.input ? parseFloat(e) || 0 : e + ""),
z(u),
u.focus(),
E.hideLoading();
})
.catch(function (e) {
H("Error in inputValue promise: " + e),
(u.value = ""),
z(u),
u.focus(),
E.hideLoading();
}));
Be(T),
T.toast ||
(j(T.allowEnterKey)
? T.focusCancel && K(O.cancelButton)
? O.cancelButton.focus()
: T.focusConfirm && K(O.confirmButton)
? O.confirmButton.focus()
: a(-1, 1)
: document.activeElement &&
"function" == typeof document.activeElement.blur &&
document.activeElement.blur()),
(O.container.scrollTop = 0);
});
},
update: function (t) {
var n = {};
Object.keys(t).forEach(function (e) {
Le.isUpdatableParameter(e)
? (n[e] = t[e])
: q(
'Invalid parameter to update: "'.concat(
e,
'". Updatable params are listed here: TODO (@limonte) add link'
)
);
});
var e = s({}, me.innerParams.get(this), n);
G(e), ee(e), te(e), ne(e), oe(e), ie(e), me.innerParams.set(this, e);
},
});
function Se() {
if ("undefined" != typeof window) {
"undefined" == typeof Promise &&
H(
"This package requires a Promise library, please require_once a shim to enable it in this browser (See: https://github.com/sweetalert2/sweetalert2/wiki/Migration-from-SweetAlert-to-SweetAlert2#1-ie-support)"
),
(Ae = this);
for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
t[n] = arguments[n];
var o = Object.freeze(this.constructor.argsToParams(t));
Object.defineProperties(this, {
params: { value: o, writable: !1, enumerable: !0 },
});
var i = this._main(this.params);
me.promise.set(this, i);
}
}
(Se.prototype.then = function (e) {
return me.promise.get(this).then(e);
}),
(Se.prototype.finally = function (e) {
return me.promise.get(this).finally(e);
}),
s(Se.prototype, Pe),
s(Se, fe),
Object.keys(Pe).forEach(function (t) {
Se[t] = function () {
var e;
if (Ae) return (e = Ae)[t].apply(e, arguments);
};
}),
(Se.DismissReason = e),
(Se.version = "8.2.4");
var Le = Se;
return (Le.default = Le);
}),
"undefined" != typeof window &&
window.Sweetalert2 &&
(window.swal =
window.sweetAlert =
window.Swal =
window.SweetAlert =
window.Sweetalert2);
"undefined" != typeof document &&
(function (e, t) {
var 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;
}
})(
document,
"@-webkit-keyframes swal2-show{0%{-webkit-transform:scale(.7);transform:scale(.7)}45%{-webkit-transform:scale(1.05);transform:scale(1.05)}80%{-webkit-transform:scale(.95);transform:scale(.95)}100%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes swal2-show{0%{-webkit-transform:scale(.7);transform:scale(.7)}45%{-webkit-transform:scale(1.05);transform:scale(1.05)}80%{-webkit-transform:scale(.95);transform:scale(.95)}100%{-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes swal2-hide{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}100%{-webkit-transform:scale(.5);transform:scale(.5);opacity:0}}@keyframes swal2-hide{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}100%{-webkit-transform:scale(.5);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:.875em;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:.875em;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%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}5%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}12%{-webkit-transform:rotate(-405deg);transform:rotate(-405deg)}100%{-webkit-transform:rotate(-405deg);transform:rotate(-405deg)}}@keyframes swal2-rotate-success-circular-line{0%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}5%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}12%{-webkit-transform:rotate(-405deg);transform:rotate(-405deg)}100%{-webkit-transform:rotate(-405deg);transform:rotate(-405deg)}}@-webkit-keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;-webkit-transform:scale(.4);transform:scale(.4);opacity:0}50%{margin-top:1.625em;-webkit-transform:scale(.4);transform:scale(.4);opacity:0}80%{margin-top:-.375em;-webkit-transform:scale(1.15);transform:scale(1.15)}100%{margin-top:0;-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;-webkit-transform:scale(.4);transform:scale(.4);opacity:0}50%{margin-top:1.625em;-webkit-transform:scale(.4);transform:scale(.4);opacity:0}80%{margin-top:-.375em;-webkit-transform:scale(1.15);transform:scale(1.15)}100%{margin-top:0;-webkit-transform:scale(1);transform:scale(1);opacity:1}}@-webkit-keyframes swal2-animate-error-icon{0%{-webkit-transform:rotateX(100deg);transform:rotateX(100deg);opacity:0}100%{-webkit-transform:rotateX(0);transform:rotateX(0);opacity:1}}@keyframes swal2-animate-error-icon{0%{-webkit-transform:rotateX(100deg);transform:rotateX(100deg);opacity:0}100%{-webkit-transform:rotateX(0);transform:rotateX(0);opacity:1}}body.swal2-toast-shown .swal2-container{background-color:transparent}body.swal2-toast-shown .swal2-container.swal2-shown{background-color:transparent}body.swal2-toast-shown .swal2-container.swal2-top{top:0;right:auto;bottom:auto;left:50%;-webkit-transform:translateX(-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;-webkit-transform:translateY(-50%);transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-center{top:50%;right:auto;bottom:auto;left:50%;-webkit-transform:translate(-50%,-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;-webkit-transform:translateY(-50%);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%;-webkit-transform:translateX(-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}body.swal2-toast-column .swal2-toast{flex-direction:column;align-items:stretch}body.swal2-toast-column .swal2-toast .swal2-actions{flex:1;align-self:stretch;height:2.2em;margin-top:.3125em}body.swal2-toast-column .swal2-toast .swal2-loading{justify-content:center}body.swal2-toast-column .swal2-toast .swal2-input{height:2em;margin:.3125em auto;font-size:1em}body.swal2-toast-column .swal2-toast .swal2-validation-message{font-size:1em}.swal2-popup.swal2-toast{flex-direction:row;align-items:center;width:auto;padding:.625em;box-shadow:0 0 .625em #d9d9d9;overflow-y:hidden}.swal2-popup.swal2-toast .swal2-header{flex-direction:row}.swal2-popup.swal2-toast .swal2-title{flex-grow:1;justify-content:flex-start;margin:0 .6em;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:initial;width:.8em;height:.8em;line-height:.8}.swal2-popup.swal2-toast .swal2-content{justify-content:flex-start;font-size:1em}.swal2-popup.swal2-toast .swal2-icon{width:2em;min-width:2em;height:2em;margin:0}.swal2-popup.swal2-toast .swal2-icon-text{font-size:2em;font-weight:700;line-height:1em}.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{height:auto;margin:0 .3125em}.swal2-popup.swal2-toast .swal2-styled{margin:0 .3125em;padding:.3125em .625em;font-size:1em}.swal2-popup.swal2-toast .swal2-styled:focus{box-shadow:0 0 0 .0625em #fff,0 0 0 .125em rgba(50,100,150,.4)}.swal2-popup.swal2-toast .swal2-success{border-color:#a5dc86}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line]{position:absolute;width:2em;height:2.8125em;-webkit-transform:rotate(45deg);transform:rotate(45deg);border-radius:50%}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=left]{top:-.25em;left:-.9375em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);-webkit-transform-origin:2em 2em;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;-webkit-transform-origin:0 2em;transform-origin:0 2em;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-show{-webkit-animation:showSweetToast .5s;animation:showSweetToast .5s}.swal2-popup.swal2-toast.swal2-hide{-webkit-animation:hideSweetToast .2s forwards;animation:hideSweetToast .2s forwards}.swal2-popup.swal2-toast .swal2-animate-success-icon .swal2-success-line-tip{-webkit-animation:animate-toast-success-tip .75s;animation:animate-toast-success-tip .75s}.swal2-popup.swal2-toast .swal2-animate-success-icon .swal2-success-line-long{-webkit-animation:animate-toast-success-long .75s;animation:animate-toast-success-long .75s}@-webkit-keyframes showSweetToast{0%{-webkit-transform:translateY(-.625em) rotateZ(2deg);transform:translateY(-.625em) rotateZ(2deg);opacity:0}33%{-webkit-transform:translateY(0) rotateZ(-2deg);transform:translateY(0) rotateZ(-2deg);opacity:.5}66%{-webkit-transform:translateY(.3125em) rotateZ(2deg);transform:translateY(.3125em) rotateZ(2deg);opacity:.7}100%{-webkit-transform:translateY(0) rotateZ(0);transform:translateY(0) rotateZ(0);opacity:1}}@keyframes showSweetToast{0%{-webkit-transform:translateY(-.625em) rotateZ(2deg);transform:translateY(-.625em) rotateZ(2deg);opacity:0}33%{-webkit-transform:translateY(0) rotateZ(-2deg);transform:translateY(0) rotateZ(-2deg);opacity:.5}66%{-webkit-transform:translateY(.3125em) rotateZ(2deg);transform:translateY(.3125em) rotateZ(2deg);opacity:.7}100%{-webkit-transform:translateY(0) rotateZ(0);transform:translateY(0) rotateZ(0);opacity:1}}@-webkit-keyframes hideSweetToast{0%{opacity:1}33%{opacity:.5}100%{-webkit-transform:rotateZ(1deg);transform:rotateZ(1deg);opacity:0}}@keyframes hideSweetToast{0%{opacity:1}33%{opacity:.5}100%{-webkit-transform:rotateZ(1deg);transform:rotateZ(1deg);opacity:0}}@-webkit-keyframes animate-toast-success-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 animate-toast-success-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 animate-toast-success-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 animate-toast-success-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}}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-shown{top:auto;right:auto;bottom:auto;left:auto;background-color:transparent}body.swal2-no-backdrop .swal2-shown>.swal2-modal{box-shadow:0 0 10px rgba(0,0,0,.4)}body.swal2-no-backdrop .swal2-shown.swal2-top{top:0;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}body.swal2-no-backdrop .swal2-shown.swal2-top-left,body.swal2-no-backdrop .swal2-shown.swal2-top-start{top:0;left:0}body.swal2-no-backdrop .swal2-shown.swal2-top-end,body.swal2-no-backdrop .swal2-shown.swal2-top-right{top:0;right:0}body.swal2-no-backdrop .swal2-shown.swal2-center{top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}body.swal2-no-backdrop .swal2-shown.swal2-center-left,body.swal2-no-backdrop .swal2-shown.swal2-center-start{top:50%;left:0;-webkit-transform:translateY(-50%);transform:translateY(-50%)}body.swal2-no-backdrop .swal2-shown.swal2-center-end,body.swal2-no-backdrop .swal2-shown.swal2-center-right{top:50%;right:0;-webkit-transform:translateY(-50%);transform:translateY(-50%)}body.swal2-no-backdrop .swal2-shown.swal2-bottom{bottom:0;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}body.swal2-no-backdrop .swal2-shown.swal2-bottom-left,body.swal2-no-backdrop .swal2-shown.swal2-bottom-start{bottom:0;left:0}body.swal2-no-backdrop .swal2-shown.swal2-bottom-end,body.swal2-no-backdrop .swal2-shown.swal2-bottom-right{right:0;bottom:0}.swal2-container{display:flex;position:fixed;top:0;right:0;bottom:0;left:0;flex-direction:row;align-items:center;justify-content:center;padding:10px;background-color:transparent;z-index:1060;overflow-x:hidden;-webkit-overflow-scrolling:touch}.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: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-container.swal2-fade{transition:background-color .1s}.swal2-container.swal2-shown{background-color:rgba(0,0,0,.4)}.swal2-popup{display:none;position:relative;flex-direction:column;justify-content:center;width:32em;max-width:100%;padding:1.25em;border-radius:.3125em;background:#fff;font-family:inherit;font-size:1rem;box-sizing:border-box}.swal2-popup:focus{outline:0}.swal2-popup.swal2-loading{overflow-y:hidden}.swal2-popup .swal2-header{display:flex;flex-direction:column;align-items:center}.swal2-popup .swal2-title{display:block;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-popup .swal2-actions{flex-wrap:wrap;align-items:center;justify-content:center;margin:1.25em auto 0;z-index:1}.swal2-popup .swal2-actions:not(.swal2-loading) .swal2-styled[disabled]{opacity:.4}.swal2-popup .swal2-actions:not(.swal2-loading) .swal2-styled:hover{background-image:linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.1))}.swal2-popup .swal2-actions:not(.swal2-loading) .swal2-styled:active{background-image:linear-gradient(rgba(0,0,0,.2),rgba(0,0,0,.2))}.swal2-popup .swal2-actions.swal2-loading .swal2-styled.swal2-confirm{width:2.5em;height:2.5em;margin:.46875em;padding:0;border:.25em solid transparent;border-radius:100%;border-color:transparent;background-color:transparent!important;color:transparent;cursor:default;box-sizing:border-box;-webkit-animation:swal2-rotate-loading 1.5s linear 0s infinite normal;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.swal2-popup .swal2-actions.swal2-loading .swal2-styled.swal2-cancel{margin-right:30px;margin-left:30px}.swal2-popup .swal2-actions.swal2-loading :not(.swal2-styled).swal2-confirm::after{display:inline-block;width:15px;height:15px;margin-left:5px;border:3px solid #999;border-radius:50%;border-right-color:transparent;box-shadow:1px 1px 1px #fff;content:'';-webkit-animation:swal2-rotate-loading 1.5s linear 0s infinite normal;animation:swal2-rotate-loading 1.5s linear 0s infinite normal}.swal2-popup .swal2-styled{margin:.3125em;padding:.625em 2em;font-weight:500;box-shadow:none}.swal2-popup .swal2-styled:not([disabled]){cursor:pointer}.swal2-popup .swal2-styled.swal2-confirm{border:0;border-radius:.25em;background:initial;background-color:#3085d6;color:#fff;font-size:1.0625em}.swal2-popup .swal2-styled.swal2-cancel{border:0;border-radius:.25em;background:initial;background-color:#aaa;color:#fff;font-size:1.0625em}.swal2-popup .swal2-styled:focus{outline:0;box-shadow:0 0 0 2px #fff,0 0 0 4px rgba(50,100,150,.4)}.swal2-popup .swal2-styled::-moz-focus-inner{border:0}.swal2-popup .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-popup .swal2-image{max-width:100%;margin:1.25em auto}.swal2-popup .swal2-close{position:absolute;top:0;right:0;justify-content:center;width:1.2em;height:1.2em;padding:0;transition:color .1s ease-out;border:none;border-radius:0;outline:initial;background:0 0;color:#ccc;font-family:serif;font-size:2.5em;line-height:1.2;cursor:pointer;overflow:hidden}.swal2-popup .swal2-close:hover{-webkit-transform:none;transform:none;color:#f27474}.swal2-popup>.swal2-checkbox,.swal2-popup>.swal2-file,.swal2-popup>.swal2-input,.swal2-popup>.swal2-radio,.swal2-popup>.swal2-select,.swal2-popup>.swal2-textarea{display:none}.swal2-popup .swal2-content{justify-content:center;margin:0;padding:0;color:#545454;font-size:1.125em;font-weight:300;line-height:normal;z-index:1;word-wrap:break-word}.swal2-popup #swal2-content{text-align:center}.swal2-popup .swal2-checkbox,.swal2-popup .swal2-file,.swal2-popup .swal2-input,.swal2-popup .swal2-radio,.swal2-popup .swal2-select,.swal2-popup .swal2-textarea{margin:1em auto}.swal2-popup .swal2-file,.swal2-popup .swal2-input,.swal2-popup .swal2-textarea{width:100%;transition:border-color .3s,box-shadow .3s;border:1px solid #d9d9d9;border-radius:.1875em;background:inherit;font-size:1.125em;box-shadow:inset 0 1px 1px rgba(0,0,0,.06);box-sizing:border-box}.swal2-popup .swal2-file.swal2-inputerror,.swal2-popup .swal2-input.swal2-inputerror,.swal2-popup .swal2-textarea.swal2-inputerror{border-color:#f27474!important;box-shadow:0 0 2px #f27474!important}.swal2-popup .swal2-file:focus,.swal2-popup .swal2-input:focus,.swal2-popup .swal2-textarea:focus{border:1px solid #b4dbed;outline:0;box-shadow:0 0 3px #c4e6f5}.swal2-popup .swal2-file::-webkit-input-placeholder,.swal2-popup .swal2-input::-webkit-input-placeholder,.swal2-popup .swal2-textarea::-webkit-input-placeholder{color:#ccc}.swal2-popup .swal2-file:-ms-input-placeholder,.swal2-popup .swal2-input:-ms-input-placeholder,.swal2-popup .swal2-textarea:-ms-input-placeholder{color:#ccc}.swal2-popup .swal2-file::-ms-input-placeholder,.swal2-popup .swal2-input::-ms-input-placeholder,.swal2-popup .swal2-textarea::-ms-input-placeholder{color:#ccc}.swal2-popup .swal2-file::placeholder,.swal2-popup .swal2-input::placeholder,.swal2-popup .swal2-textarea::placeholder{color:#ccc}.swal2-popup .swal2-range{margin:1em auto;background:inherit}.swal2-popup .swal2-range input{width:80%}.swal2-popup .swal2-range output{width:20%;font-weight:600;text-align:center}.swal2-popup .swal2-range input,.swal2-popup .swal2-range output{height:2.625em;padding:0;font-size:1.125em;line-height:2.625em}.swal2-popup .swal2-input{height:2.625em;padding:0 .75em}.swal2-popup .swal2-input[type=number]{max-width:10em}.swal2-popup .swal2-file{background:inherit;font-size:1.125em}.swal2-popup .swal2-textarea{height:6.75em;padding:.75em}.swal2-popup .swal2-select{min-width:50%;max-width:100%;padding:.375em .625em;background:inherit;color:#545454;font-size:1.125em}.swal2-popup .swal2-checkbox,.swal2-popup .swal2-radio{align-items:center;justify-content:center;background:inherit}.swal2-popup .swal2-checkbox label,.swal2-popup .swal2-radio label{margin:0 .6em;font-size:1.125em}.swal2-popup .swal2-checkbox input,.swal2-popup .swal2-radio input{margin:0 .4em}.swal2-popup .swal2-validation-message{display:none;align-items:center;justify-content:center;padding:.625em;background:#f0f0f0;color:#666;font-size:1em;font-weight:300;overflow:hidden}.swal2-popup .swal2-validation-message::before{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;content:'!';zoom:normal}@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}}@-moz-document url-prefix(){.swal2-close:focus{outline:2px solid rgba(50,100,150,.4)}}.swal2-icon{position:relative;justify-content:center;width:5em;height:5em;margin:1.25em auto 1.875em;border:.25em solid transparent;border-radius:50%;line-height:5em;cursor:default;box-sizing:content-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;zoom:normal}.swal2-icon-text{font-size:3.75em}.swal2-icon.swal2-error{border-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;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:1em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.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}.swal2-icon.swal2-success [class^=swal2-success-circular-line]{position:absolute;width:3.75em;height:7.5em;-webkit-transform:rotate(45deg);transform:rotate(45deg);border-radius:50%}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=left]{top:-.4375em;left:-2.0635em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);-webkit-transform-origin:3.75em 3.75em;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;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);-webkit-transform-origin:0 3.75em;transform-origin:0 3.75em;border-radius:0 7.5em 7.5em 0}.swal2-icon.swal2-success .swal2-success-ring{position:absolute;top:-.25em;left:-.25em;width:100%;height:100%;border:.25em solid rgba(165,220,134,.3);border-radius:50%;z-index:2;box-sizing:content-box}.swal2-icon.swal2-success .swal2-success-fix{position:absolute;top:.5em;left:1.625em;width:.4375em;height:5.625em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);z-index:1}.swal2-icon.swal2-success [class^=swal2-success-line]{display:block;position:absolute;height:.3125em;border-radius:.125em;background-color:#a5dc86;z-index:2}.swal2-icon.swal2-success [class^=swal2-success-line][class$=tip]{top:2.875em;left:.875em;width:1.5625em;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.swal2-icon.swal2-success [class^=swal2-success-line][class$=long]{top:2.375em;right:.5em;width:2.9375em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.swal2-progress-steps{align-items:center;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{width:2em;height:2em;border-radius:2em;background:#3085d6;color:#fff;line-height:2em;text-align:center;z-index:20}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step{background:#3085d6}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step{background:inherit;color:#fff}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step-line{background:inherit}.swal2-progress-steps .swal2-progress-step-line{width:2.5em;height:.4em;margin:0 -1px;background:#3085d6;z-index:10}[class^=swal2]{-webkit-tap-highlight-color:transparent}.swal2-show{-webkit-animation:swal2-show .3s;animation:swal2-show .3s}.swal2-show.swal2-noanimation{-webkit-animation:none;animation:none}.swal2-hide{-webkit-animation:swal2-hide .15s forwards;animation:swal2-hide .15s forwards}.swal2-hide.swal2-noanimation{-webkit-animation:none;animation:none}.swal2-rtl .swal2-close{right:auto;left:0}.swal2-animate-success-icon .swal2-success-line-tip{-webkit-animation:swal2-animate-success-line-tip .75s;animation:swal2-animate-success-line-tip .75s}.swal2-animate-success-icon .swal2-success-line-long{-webkit-animation:swal2-animate-success-line-long .75s;animation:swal2-animate-success-line-long .75s}.swal2-animate-success-icon .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-animate-error-icon{-webkit-animation:swal2-animate-error-icon .5s;animation:swal2-animate-error-icon .5s}.swal2-animate-error-icon .swal2-x-mark{-webkit-animation:swal2-animate-error-x-mark .5s;animation:swal2-animate-error-x-mark .5s}@-webkit-keyframes swal2-rotate-loading{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes swal2-rotate-loading{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@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:initial!important}}"
);