| @@ -1769,9 +1769,9 @@ | ||
| 1769 | 1769 | \**********************************************************/ |
| 1770 | 1770 | (module) { |
| 1771 | 1771 | |
| 1772 | 1772 | /*! |
| 1773 | -* sweetalert2 v11.26.25 | |
| 1773 | +* sweetalert2 v11.26.17 | |
| 1774 | 1774 | * Released under the MIT License. |
| 1775 | 1775 | */ |
| 1776 | 1776 | (function (global, factory) { |
| 1777 | 1777 | true ? module.exports = factory() : |
| @@ -1940,13 +1940,8 @@ | ||
| 1940 | 1940 | */ |
| 1941 | 1941 | const isPromise = arg => arg && Promise.resolve(arg) === arg; |
| 1942 | 1942 | |
| 1943 | 1943 | /** |
| 1944 | - * @returns {boolean} | |
| 1945 | - */ | |
| 1946 | - const isFirefox = () => navigator.userAgent.includes('Firefox'); | |
| 1947 | - | |
| 1948 | - /** | |
| 1949 | 1944 | * Gets the popup container which contains the backdrop and the popup itself. |
| 1950 | 1945 | * |
| 1951 | 1946 | * @returns {HTMLElement | null} |
| 1952 | 1947 | */ |
| @@ -2168,9 +2163,15 @@ | ||
| 2168 | 2163 | const hasClass = (elem, className) => { |
| 2169 | 2164 | if (!className) { |
| 2170 | 2165 | return false; |
| 2171 | 2166 | } |
| 2172 | - return className.split(/\s+/).every(cls => elem.classList.contains(cls)); | |
| 2167 | + const classList = className.split(/\s+/); | |
| 2168 | + for (let i = 0; i < classList.length; i++) { | |
| 2169 | + if (!elem.classList.contains(classList[i])) { | |
| 2170 | + return false; | |
| 2171 | + } | |
| 2172 | + } | |
| 2173 | + return true; | |
| 2173 | 2174 | }; |
| 2174 | 2175 | |
| 2175 | 2176 | /** |
| 2176 | 2177 | * @param {HTMLElement} elem |
| @@ -2253,18 +2254,27 @@ | ||
| 2253 | 2254 | const toggleClass = (target, classList, condition) => { |
| 2254 | 2255 | if (!target || !classList) { |
| 2255 | 2256 | return; |
| 2256 | 2257 | } |
| 2257 | - const classes = typeof classList === 'string' ? classList.split(/\s+/).filter(Boolean) : classList; | |
| 2258 | - const targets = Array.isArray(target) ? target : [target]; | |
| 2259 | - targets.forEach(elem => { | |
| 2260 | - classes.forEach(className => { | |
| 2258 | + if (typeof classList === 'string') { | |
| 2259 | + classList = classList.split(/\s+/).filter(Boolean); | |
| 2260 | + } | |
| 2261 | + classList.forEach(className => { | |
| 2262 | + if (Array.isArray(target)) { | |
| 2263 | + target.forEach(elem => { | |
| 2264 | + if (condition) { | |
| 2265 | + elem.classList.add(className); | |
| 2266 | + } else { | |
| 2267 | + elem.classList.remove(className); | |
| 2268 | + } | |
| 2269 | + }); | |
| 2270 | + } else { | |
| 2261 | 2271 | if (condition) { |
| 2262 | - elem.classList.add(className); | |
| 2272 | + target.classList.add(className); | |
| 2263 | 2273 | } else { |
| 2264 | - elem.classList.remove(className); | |
| 2274 | + target.classList.remove(className); | |
| 2265 | 2275 | } |
| 2266 | - }); | |
| 2276 | + } | |
| 2267 | 2277 | }); |
| 2268 | 2278 | }; |
| 2269 | 2279 | |
| 2270 | 2280 | /** |
| @@ -2289,10 +2299,17 @@ | ||
| 2289 | 2299 | * @param {HTMLElement} elem |
| 2290 | 2300 | * @param {string} className |
| 2291 | 2301 | * @returns {HTMLElement | undefined} |
| 2292 | 2302 | */ |
| 2293 | - const getDirectChildByClass = (elem, className) => (/** @type {HTMLElement | undefined} */ | |
| 2294 | - Array.from(elem.children).find(child => child instanceof HTMLElement && hasClass(child, className))); | |
| 2303 | + const getDirectChildByClass = (elem, className) => { | |
| 2304 | + const children = Array.from(elem.children); | |
| 2305 | + for (let i = 0; i < children.length; i++) { | |
| 2306 | + const child = children[i]; | |
| 2307 | + if (child instanceof HTMLElement && hasClass(child, className)) { | |
| 2308 | + return child; | |
| 2309 | + } | |
| 2310 | + } | |
| 2311 | + }; | |
| 2295 | 2312 | |
| 2296 | 2313 | /** |
| 2297 | 2314 | * @param {HTMLElement} elem |
| 2298 | 2315 | * @param {string} property |
| @@ -2301,9 +2318,9 @@ | ||
| 2301 | 2318 | const applyNumericalStyle = (elem, property, value) => { |
| 2302 | 2319 | if (value === `${parseInt(`${value}`)}`) { |
| 2303 | 2320 | value = parseInt(value); |
| 2304 | 2321 | } |
| 2305 | - if (value || value === 0) { | |
| 2322 | + if (value || parseInt(`${value}`) === 0) { | |
| 2306 | 2323 | elem.style.setProperty(property, typeof value === 'number' ? `${value}px` : (/** @type {string} */value)); |
| 2307 | 2324 | } else { |
| 2308 | 2325 | elem.style.removeProperty(property); |
| 2309 | 2326 | } |
| @@ -2750,17 +2767,23 @@ | ||
| 2750 | 2767 | return; |
| 2751 | 2768 | } |
| 2752 | 2769 | addClass([confirmButton, denyButton, cancelButton], swalClasses.styled); |
| 2753 | 2770 | |
| 2754 | - // Apply custom background colors and outline colors to action buttons | |
| 2755 | - /** @type {[HTMLElement, string, string | undefined][]} */ | |
| 2756 | - const buttons = [[confirmButton, 'confirm', params.confirmButtonColor], [denyButton, 'deny', params.denyButtonColor], [cancelButton, 'cancel', params.cancelButtonColor]]; | |
| 2757 | - buttons.forEach(([button, type, color]) => { | |
| 2758 | - if (color) { | |
| 2759 | - button.style.setProperty(`--swal2-${type}-button-background-color`, color); | |
| 2760 | - } | |
| 2761 | - applyOutlineColor(button); | |
| 2762 | - }); | |
| 2771 | + // Apply custom background colors to action buttons | |
| 2772 | + if (params.confirmButtonColor) { | |
| 2773 | + confirmButton.style.setProperty('--swal2-confirm-button-background-color', params.confirmButtonColor); | |
| 2774 | + } | |
| 2775 | + if (params.denyButtonColor) { | |
| 2776 | + denyButton.style.setProperty('--swal2-deny-button-background-color', params.denyButtonColor); | |
| 2777 | + } | |
| 2778 | + if (params.cancelButtonColor) { | |
| 2779 | + cancelButton.style.setProperty('--swal2-cancel-button-background-color', params.cancelButtonColor); | |
| 2780 | + } | |
| 2781 | + | |
| 2782 | + // Apply the outline color to action buttons | |
| 2783 | + applyOutlineColor(confirmButton); | |
| 2784 | + applyOutlineColor(denyButton); | |
| 2785 | + applyOutlineColor(cancelButton); | |
| 2763 | 2786 | } |
| 2764 | 2787 | |
| 2765 | 2788 | /** |
| 2766 | 2789 | * @param {HTMLElement} button |
| @@ -2875,10 +2898,9 @@ | ||
| 2875 | 2898 | */ |
| 2876 | 2899 | |
| 2877 | 2900 | var privateProps = { |
| 2878 | 2901 | innerParams: new WeakMap(), |
| 2879 | - domCache: new WeakMap(), | |
| 2880 | - focusedElement: new WeakMap() | |
| 2902 | + domCache: new WeakMap() | |
| 2881 | 2903 | }; |
| 2882 | 2904 | |
| 2883 | 2905 | /// <reference path="../../../../sweetalert2.d.ts"/> |
| 2884 | 2906 | |
| @@ -2950,13 +2972,12 @@ | ||
| 2950 | 2972 | /** |
| 2951 | 2973 | * @param {HTMLInputElement} input |
| 2952 | 2974 | */ |
| 2953 | 2975 | const removeAttributes = input => { |
| 2954 | - for (const { | |
| 2955 | - name | |
| 2956 | - } of Array.from(input.attributes)) { | |
| 2957 | - if (!['id', 'type', 'value', 'style'].includes(name)) { | |
| 2958 | - input.removeAttribute(name); | |
| 2976 | + for (let i = 0; i < input.attributes.length; i++) { | |
| 2977 | + const attrName = input.attributes[i].name; | |
| 2978 | + if (!['id', 'type', 'value', 'style'].includes(attrName)) { | |
| 2979 | + input.removeAttribute(attrName); | |
| 2959 | 2980 | } |
| 2960 | 2981 | } |
| 2961 | 2982 | }; |
| 2962 | 2983 | |
| @@ -3054,14 +3075,12 @@ | ||
| 3054 | 3075 | * @returns {Input} |
| 3055 | 3076 | */ |
| 3056 | 3077 | renderInputType.text = renderInputType.email = renderInputType.password = renderInputType.number = renderInputType.tel = renderInputType.url = renderInputType.search = renderInputType.date = renderInputType['datetime-local'] = renderInputType.time = renderInputType.week = renderInputType.month = /** @type {(input: Input | HTMLElement, params: SweetAlertOptions) => Input} */ |
| 3057 | 3078 | (input, params) => { |
| 3058 | - // oxfmt-ignore | |
| 3059 | 3079 | const inputElement = /** @type {HTMLInputElement} */input; |
| 3060 | 3080 | checkAndSetInputValue(inputElement, params.inputValue); |
| 3061 | 3081 | setInputLabel(inputElement, inputElement, params); |
| 3062 | 3082 | setInputPlaceholder(inputElement, params); |
| 3063 | - // oxfmt-ignore | |
| 3064 | 3083 | inputElement.type = /** @type {string} */params.input; |
| 3065 | 3084 | return inputElement; |
| 3066 | 3085 | }; |
| 3067 | 3086 | |
| @@ -3325,11 +3344,11 @@ | ||
| 3325 | 3344 | } |
| 3326 | 3345 | const popupBackgroundColor = window.getComputedStyle(popup).getPropertyValue('background-color'); |
| 3327 | 3346 | /** @type {NodeListOf<HTMLElement>} */ |
| 3328 | 3347 | const successIconParts = popup.querySelectorAll('[class^=swal2-success-circular-line], .swal2-success-fix'); |
| 3329 | - successIconParts.forEach(part => { | |
| 3330 | - part.style.backgroundColor = popupBackgroundColor; | |
| 3331 | - }); | |
| 3348 | + for (let i = 0; i < successIconParts.length; i++) { | |
| 3349 | + successIconParts[i].style.backgroundColor = popupBackgroundColor; | |
| 3350 | + } | |
| 3332 | 3351 | }; |
| 3333 | 3352 | |
| 3334 | 3353 | /** |
| 3335 | 3354 | * |
| @@ -3509,12 +3528,20 @@ | ||
| 3509 | 3528 | * @param {MouseEvent | TouchEvent} event |
| 3510 | 3529 | * @returns {{ clientX: number, clientY: number }} |
| 3511 | 3530 | */ |
| 3512 | 3531 | const getClientXY = event => { |
| 3513 | - const source = event.type.startsWith('touch') ? /** @type {TouchEvent} */event.touches[0] : (/** @type {MouseEvent} */event); | |
| 3532 | + let clientX = 0, | |
| 3533 | + clientY = 0; | |
| 3534 | + if (event.type.startsWith('mouse')) { | |
| 3535 | + clientX = /** @type {MouseEvent} */event.clientX; | |
| 3536 | + clientY = /** @type {MouseEvent} */event.clientY; | |
| 3537 | + } else if (event.type.startsWith('touch')) { | |
| 3538 | + clientX = /** @type {TouchEvent} */event.touches[0].clientX; | |
| 3539 | + clientY = /** @type {TouchEvent} */event.touches[0].clientY; | |
| 3540 | + } | |
| 3514 | 3541 | return { |
| 3515 | - clientX: source.clientX, | |
| 3516 | - clientY: source.clientY | |
| 3542 | + clientX, | |
| 3543 | + clientY | |
| 3517 | 3544 | }; |
| 3518 | 3545 | }; |
| 3519 | 3546 | |
| 3520 | 3547 | /** |
| @@ -3742,10 +3769,9 @@ | ||
| 3742 | 3769 | * @param {GlobalState} globalState |
| 3743 | 3770 | */ |
| 3744 | 3771 | const removeKeydownHandler = globalState => { |
| 3745 | 3772 | if (globalState.keydownTarget && globalState.keydownHandlerAdded && globalState.keydownHandler) { |
| 3746 | - const handler = /** @type {EventListenerOrEventListenerObject} */ | |
| 3747 | - /** @type {unknown} */globalState.keydownHandler; | |
| 3773 | + const handler = /** @type {EventListenerOrEventListenerObject} */ /** @type {unknown} */globalState.keydownHandler; | |
| 3748 | 3774 | globalState.keydownTarget.removeEventListener('keydown', handler, { |
| 3749 | 3775 | capture: globalState.keydownListenerCapture |
| 3750 | 3776 | }); |
| 3751 | 3777 | globalState.keydownHandlerAdded = false; |
| @@ -3778,9 +3804,8 @@ | ||
| 3778 | 3804 | |
| 3779 | 3805 | /** |
| 3780 | 3806 | * @param {number} index |
| 3781 | 3807 | * @param {number} increment |
| 3782 | - * @returns {boolean} shouldPreventDefault | |
| 3783 | 3808 | */ |
| 3784 | 3809 | const setFocus = (index, increment) => { |
| 3785 | 3810 | var _dom$getPopup; |
| 3786 | 3811 | const focusableElements = getFocusableElements(); |
| @@ -3801,19 +3826,12 @@ | ||
| 3801 | 3826 | } else if (index === -1) { |
| 3802 | 3827 | index = focusableElements.length - 1; |
| 3803 | 3828 | } |
| 3804 | 3829 | focusableElements[index].focus(); |
| 3805 | - | |
| 3806 | - // don't prevent default for iframes (Firefox fix) | |
| 3807 | - // https://github.com/sweetalert2/sweetalert2/issues/2931 | |
| 3808 | - if (isFirefox() && focusableElements[index] instanceof HTMLIFrameElement) { | |
| 3809 | - return false; | |
| 3810 | - } | |
| 3811 | - return true; | |
| 3830 | + return; | |
| 3812 | 3831 | } |
| 3813 | 3832 | // no visible focusable elements, focus the popup |
| 3814 | 3833 | (_dom$getPopup = getPopup()) === null || _dom$getPopup === void 0 || _dom$getPopup.focus(); |
| 3815 | - return true; | |
| 3816 | 3834 | }; |
| 3817 | 3835 | const arrowKeysNextButton = ['ArrowRight', 'ArrowDown']; |
| 3818 | 3836 | const arrowKeysPreviousButton = ['ArrowLeft', 'ArrowUp']; |
| 3819 | 3837 | |
| @@ -3887,27 +3905,27 @@ | ||
| 3887 | 3905 | */ |
| 3888 | 3906 | const handleTab = event => { |
| 3889 | 3907 | const targetElement = event.target; |
| 3890 | 3908 | const focusableElements = getFocusableElements(); |
| 3891 | - const btnIndex = focusableElements.findIndex(el => el === targetElement); | |
| 3909 | + let btnIndex = -1; | |
| 3910 | + for (let i = 0; i < focusableElements.length; i++) { | |
| 3911 | + if (targetElement === focusableElements[i]) { | |
| 3912 | + btnIndex = i; | |
| 3913 | + break; | |
| 3914 | + } | |
| 3915 | + } | |
| 3892 | 3916 | |
| 3893 | - // don't prevent default for iframes (Firefox fix) | |
| 3894 | - // https://github.com/sweetalert2/sweetalert2/issues/2931 | |
| 3895 | - let shouldPreventDefault = true; | |
| 3896 | - | |
| 3897 | 3917 | // Cycle to the next button |
| 3898 | 3918 | if (!event.shiftKey) { |
| 3899 | - shouldPreventDefault = setFocus(btnIndex, 1); | |
| 3919 | + setFocus(btnIndex, 1); | |
| 3900 | 3920 | } |
| 3901 | 3921 | |
| 3902 | 3922 | // Cycle to the prev button |
| 3903 | 3923 | else { |
| 3904 | - shouldPreventDefault = setFocus(btnIndex, -1); | |
| 3924 | + setFocus(btnIndex, -1); | |
| 3905 | 3925 | } |
| 3906 | 3926 | event.stopPropagation(); |
| 3907 | - if (shouldPreventDefault) { | |
| 3908 | - event.preventDefault(); | |
| 3909 | - } | |
| 3927 | + event.preventDefault(); | |
| 3910 | 3928 | }; |
| 3911 | 3929 | |
| 3912 | 3930 | /** |
| 3913 | 3931 | * @param {string} key |
| @@ -4003,11 +4021,8 @@ | ||
| 4003 | 4021 | |
| 4004 | 4022 | // @ts-ignore |
| 4005 | 4023 | const isSafariOrIOS = typeof window !== 'undefined' && Boolean(window.GestureEvent); // true for Safari desktop + all iOS browsers https://stackoverflow.com/a/70585394 |
| 4006 | 4024 | |
| 4007 | - // @ts-ignore | |
| 4008 | - const isIOS = isSafariOrIOS && /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream; | |
| 4009 | - | |
| 4010 | 4025 | /** |
| 4011 | 4026 | * Fix iOS scrolling |
| 4012 | 4027 | * http://stackoverflow.com/q/39626302 |
| 4013 | 4028 | */ |
| @@ -4589,10 +4604,30 @@ | ||
| 4589 | 4604 | * @typedef {string[]} InputOptionFlattened |
| 4590 | 4605 | * @returns {InputOptionFlattened[]} |
| 4591 | 4606 | */ |
| 4592 | 4607 | const formatInputOptions = inputOptions => { |
| 4593 | - const entries = inputOptions instanceof Map ? Array.from(inputOptions) : Object.entries(inputOptions); | |
| 4594 | - return entries.map(([key, value]) => [key, typeof value === 'object' ? formatInputOptions(value) : value]); // case of <optgroup> | |
| 4608 | + /** @type {InputOptionFlattened[]} */ | |
| 4609 | + const result = []; | |
| 4610 | + if (inputOptions instanceof Map) { | |
| 4611 | + inputOptions.forEach((value, key) => { | |
| 4612 | + let valueFormatted = value; | |
| 4613 | + if (typeof valueFormatted === 'object') { | |
| 4614 | + // case of <optgroup> | |
| 4615 | + valueFormatted = formatInputOptions(valueFormatted); | |
| 4616 | + } | |
| 4617 | + result.push([key, valueFormatted]); | |
| 4618 | + }); | |
| 4619 | + } else { | |
| 4620 | + Object.keys(inputOptions).forEach(key => { | |
| 4621 | + let valueFormatted = inputOptions[key]; | |
| 4622 | + if (typeof valueFormatted === 'object') { | |
| 4623 | + // case of <optgroup> | |
| 4624 | + valueFormatted = formatInputOptions(valueFormatted); | |
| 4625 | + } | |
| 4626 | + result.push([key, valueFormatted]); | |
| 4627 | + }); | |
| 4628 | + } | |
| 4629 | + return result; | |
| 4595 | 4630 | }; |
| 4596 | 4631 | |
| 4597 | 4632 | /** |
| 4598 | 4633 | * @param {string} optionValue |
| @@ -4598,9 +4633,11 @@ | ||
| 4598 | 4633 | * @param {string} optionValue |
| 4599 | 4634 | * @param {SweetAlertInputValue} inputValue |
| 4600 | 4635 | * @returns {boolean} |
| 4601 | 4636 | */ |
| 4602 | - const isSelected = (optionValue, inputValue) => Boolean(inputValue) && inputValue != null && inputValue.toString() === optionValue.toString(); | |
| 4637 | + const isSelected = (optionValue, inputValue) => { | |
| 4638 | + return Boolean(inputValue) && inputValue !== null && inputValue !== undefined && inputValue.toString() === optionValue.toString(); | |
| 4639 | + }; | |
| 4603 | 4640 | |
| 4604 | 4641 | /** |
| 4605 | 4642 | * @param {SweetAlert} instance |
| 4606 | 4643 | */ |
| @@ -4781,9 +4818,11 @@ | ||
| 4781 | 4818 | } |
| 4782 | 4819 | removeClass([domCache.popup, domCache.actions], swalClasses.loading); |
| 4783 | 4820 | domCache.popup.removeAttribute('aria-busy'); |
| 4784 | 4821 | domCache.popup.removeAttribute('data-loading'); |
| 4785 | - this.enableButtons(); | |
| 4822 | + domCache.confirmButton.disabled = false; | |
| 4823 | + domCache.denyButton.disabled = false; | |
| 4824 | + domCache.cancelButton.disabled = false; | |
| 4786 | 4825 | } |
| 4787 | 4826 | |
| 4788 | 4827 | /** |
| 4789 | 4828 | * @param {DomCache} domCache |
| @@ -4836,11 +4875,11 @@ | ||
| 4836 | 4875 | } |
| 4837 | 4876 | if (input.type === 'radio') { |
| 4838 | 4877 | /** @type {NodeListOf<HTMLInputElement>} */ |
| 4839 | 4878 | const radios = popup.querySelectorAll(`[name="${swalClasses.radio}"]`); |
| 4840 | - radios.forEach(radio => { | |
| 4841 | - radio.disabled = disabled; | |
| 4842 | - }); | |
| 4879 | + for (let i = 0; i < radios.length; i++) { | |
| 4880 | + radios[i].disabled = disabled; | |
| 4881 | + } | |
| 4843 | 4882 | } else { |
| 4844 | 4883 | input.disabled = disabled; |
| 4845 | 4884 | } |
| 4846 | 4885 | } |
| @@ -4850,13 +4889,8 @@ | ||
| 4850 | 4889 | * @this {SweetAlert} |
| 4851 | 4890 | */ |
| 4852 | 4891 | function enableButtons() { |
| 4853 | 4892 | setButtonsDisabled(this, ['confirmButton', 'denyButton', 'cancelButton'], false); |
| 4854 | - const focusedElement = privateProps.focusedElement.get(this); | |
| 4855 | - if (focusedElement instanceof HTMLElement && document.activeElement === document.body) { | |
| 4856 | - focusedElement.focus(); | |
| 4857 | - } | |
| 4858 | - privateProps.focusedElement.delete(this); | |
| 4859 | 4893 | } |
| 4860 | 4894 | |
| 4861 | 4895 | /** |
| 4862 | 4896 | * Disable all the buttons |
| @@ -4862,9 +4896,8 @@ | ||
| 4862 | 4896 | * Disable all the buttons |
| 4863 | 4897 | * @this {SweetAlert} |
| 4864 | 4898 | */ |
| 4865 | 4899 | function disableButtons() { |
| 4866 | - privateProps.focusedElement.set(this, document.activeElement); | |
| 4867 | 4900 | setButtonsDisabled(this, ['confirmButton', 'denyButton', 'cancelButton'], true); |
| 4868 | 4901 | } |
| 4869 | 4902 | |
| 4870 | 4903 | /** |
| @@ -5371,25 +5404,25 @@ | ||
| 5371 | 5404 | }; |
| 5372 | 5405 | }; |
| 5373 | 5406 | |
| 5374 | 5407 | /** |
| 5375 | - * @param {unknown} elem | |
| 5408 | + * @param {any} elem | |
| 5376 | 5409 | * @returns {boolean} |
| 5377 | 5410 | */ |
| 5378 | - const isJqueryElement = elem => typeof elem === 'object' && elem !== null && 'jquery' in elem; | |
| 5411 | + const isJqueryElement = elem => typeof elem === 'object' && elem.jquery; | |
| 5379 | 5412 | |
| 5380 | 5413 | /** |
| 5381 | - * @param {unknown} elem | |
| 5414 | + * @param {any} elem | |
| 5382 | 5415 | * @returns {boolean} |
| 5383 | 5416 | */ |
| 5384 | 5417 | const isElement = elem => elem instanceof Element || isJqueryElement(elem); |
| 5385 | 5418 | |
| 5386 | 5419 | /** |
| 5387 | - * @param {ReadonlyArray<unknown>} args | |
| 5420 | + * @param {any[]} args | |
| 5388 | 5421 | * @returns {SweetAlertOptions} |
| 5389 | 5422 | */ |
| 5390 | 5423 | const argsToParams = args => { |
| 5391 | - /** @type {Record<string, unknown>} */ | |
| 5424 | + /** @type {Record<string, any>} */ | |
| 5392 | 5425 | const params = {}; |
| 5393 | 5426 | if (typeof args[0] === 'object' && !isElement(args[0])) { |
| 5394 | 5427 | Object.assign(params, args[0]); |
| 5395 | 5428 | } else { |
| @@ -5401,9 +5434,9 @@ | ||
| 5401 | 5434 | error(`Unexpected type of ${name}! Expected "string" or "Element", got ${typeof arg}`); |
| 5402 | 5435 | } |
| 5403 | 5436 | }); |
| 5404 | 5437 | } |
| 5405 | - return /** @type {SweetAlertOptions} */params; | |
| 5438 | + return params; | |
| 5406 | 5439 | }; |
| 5407 | 5440 | |
| 5408 | 5441 | /** |
| 5409 | 5442 | * Main method to create a new SweetAlert2 popup |
| @@ -5894,15 +5927,19 @@ | ||
| 5894 | 5927 | return; |
| 5895 | 5928 | } |
| 5896 | 5929 | result[`${type}ButtonText`] = button.innerHTML; |
| 5897 | 5930 | result[`show${capitalizeFirstLetter(type)}Button`] = true; |
| 5898 | - const color = button.getAttribute('color'); | |
| 5899 | - if (color !== null) { | |
| 5900 | - result[`${type}ButtonColor`] = color; | |
| 5931 | + if (button.hasAttribute('color')) { | |
| 5932 | + const color = button.getAttribute('color'); | |
| 5933 | + if (color !== null) { | |
| 5934 | + result[`${type}ButtonColor`] = color; | |
| 5935 | + } | |
| 5901 | 5936 | } |
| 5902 | - const ariaLabel = button.getAttribute('aria-label'); | |
| 5903 | - if (ariaLabel !== null) { | |
| 5904 | - result[`${type}ButtonAriaLabel`] = ariaLabel; | |
| 5937 | + if (button.hasAttribute('aria-label')) { | |
| 5938 | + const ariaLabel = button.getAttribute('aria-label'); | |
| 5939 | + if (ariaLabel !== null) { | |
| 5940 | + result[`${type}ButtonAriaLabel`] = ariaLabel; | |
| 5941 | + } | |
| 5905 | 5942 | } |
| 5906 | 5943 | }); |
| 5907 | 5944 | return result; |
| 5908 | 5945 | }; |
| @@ -5916,17 +5953,20 @@ | ||
| 5916 | 5953 | /** @type {HTMLElement | null} */ |
| 5917 | 5954 | const image = templateContent.querySelector('swal-image'); |
| 5918 | 5955 | if (image) { |
| 5919 | 5956 | showWarningsForAttributes(image, ['src', 'width', 'height', 'alt']); |
| 5920 | - // getAttribute returns null if attribute is absent; `|| undefined` converts empty string to undefined | |
| 5921 | - const src = image.getAttribute('src'); | |
| 5922 | - if (src !== null) result.imageUrl = src || undefined; | |
| 5923 | - const width = image.getAttribute('width'); | |
| 5924 | - if (width !== null) result.imageWidth = width || undefined; | |
| 5925 | - const height = image.getAttribute('height'); | |
| 5926 | - if (height !== null) result.imageHeight = height || undefined; | |
| 5927 | - const alt = image.getAttribute('alt'); | |
| 5928 | - if (alt !== null) result.imageAlt = alt || undefined; | |
| 5957 | + if (image.hasAttribute('src')) { | |
| 5958 | + result.imageUrl = image.getAttribute('src') || undefined; | |
| 5959 | + } | |
| 5960 | + if (image.hasAttribute('width')) { | |
| 5961 | + result.imageWidth = image.getAttribute('width') || undefined; | |
| 5962 | + } | |
| 5963 | + if (image.hasAttribute('height')) { | |
| 5964 | + result.imageHeight = image.getAttribute('height') || undefined; | |
| 5965 | + } | |
| 5966 | + if (image.hasAttribute('alt')) { | |
| 5967 | + result.imageAlt = image.getAttribute('alt') || undefined; | |
| 5968 | + } | |
| 5929 | 5969 | } |
| 5930 | 5970 | return result; |
| 5931 | 5971 | }; |
| 5932 | 5972 | |
| @@ -6061,17 +6101,12 @@ | ||
| 6061 | 6101 | setTimeout(() => { |
| 6062 | 6102 | setScrollingVisibility(container, popup); |
| 6063 | 6103 | }, SHOW_CLASS_TIMEOUT); |
| 6064 | 6104 | if (isModal()) { |
| 6105 | + // Using ternary instead of ?? operator for Webpack 4 compatibility | |
| 6065 | 6106 | fixScrollContainer(container, params.scrollbarPadding !== undefined ? params.scrollbarPadding : false, initialBodyOverflow); |
| 6066 | 6107 | setAriaHidden(); |
| 6067 | 6108 | } |
| 6068 | - | |
| 6069 | - // https://github.com/sweetalert2/sweetalert2/issues/2923 | |
| 6070 | - if (isIOS && params.backdrop === false && popup.scrollHeight > container.clientHeight) { | |
| 6071 | - // remove pointer-events: none from container, it breaks scrolling tall popups in iOS | |
| 6072 | - container.style.pointerEvents = 'auto'; | |
| 6073 | - } | |
| 6074 | 6109 | if (!isToast() && !globalState.previousActiveElement) { |
| 6075 | 6110 | globalState.previousActiveElement = document.activeElement; |
| 6076 | 6111 | } |
| 6077 | 6112 | if (typeof params.didOpen === 'function') { |
| @@ -6243,10 +6278,9 @@ | ||
| 6243 | 6278 | constructor(...args) { |
| 6244 | 6279 | /** |
| 6245 | 6280 | * @type {Promise<SweetAlertResult>} |
| 6246 | 6281 | */ |
| 6247 | - _classPrivateFieldInitSpec(this, _promise, /** @type {Promise<SweetAlertResult>} */ | |
| 6248 | - Promise.resolve({ | |
| 6282 | + _classPrivateFieldInitSpec(this, _promise, /** @type {Promise<SweetAlertResult>} */Promise.resolve({ | |
| 6249 | 6283 | isConfirmed: false, |
| 6250 | 6284 | isDenied: false, |
| 6251 | 6285 | isDismissed: true |
| 6252 | 6286 | })); |
| @@ -6310,9 +6344,8 @@ | ||
| 6310 | 6344 | // `catch` cannot be the name of a module export, so we define our thenable methods here instead |
| 6311 | 6345 | /** |
| 6312 | 6346 | * @param {any} onFulfilled |
| 6313 | 6347 | */ |
| 6314 | - // oxlint-disable-next-line unicorn/no-thenable | |
| 6315 | 6348 | then(onFulfilled) { |
| 6316 | 6349 | return _classPrivateFieldGet2(_promise, this).then(onFulfilled); |
| 6317 | 6350 | } |
| 6318 | 6351 | |
| @@ -6456,10 +6489,10 @@ | ||
| 6456 | 6489 | return; |
| 6457 | 6490 | } |
| 6458 | 6491 | // TODO: this is dumb, remove `allowEnterKey` param in the next major version |
| 6459 | 6492 | if (!callIfFunction(innerParams.allowEnterKey)) { |
| 6460 | - warnAboutDeprecation('allowEnterKey', 'preConfirm: () => false'); | |
| 6461 | - domCache.popup.focus(); | |
| 6493 | + warnAboutDeprecation('allowEnterKey'); | |
| 6494 | + blurActiveElement(); | |
| 6462 | 6495 | return; |
| 6463 | 6496 | } |
| 6464 | 6497 | if (focusAutofocus(domCache)) { |
| 6465 | 6498 | return; |
| @@ -6504,8 +6537,13 @@ | ||
| 6504 | 6537 | return true; |
| 6505 | 6538 | } |
| 6506 | 6539 | return false; |
| 6507 | 6540 | }; |
| 6541 | + const blurActiveElement = () => { | |
| 6542 | + if (document.activeElement instanceof HTMLElement && typeof document.activeElement.blur === 'function') { | |
| 6543 | + document.activeElement.blur(); | |
| 6544 | + } | |
| 6545 | + }; | |
| 6508 | 6546 | |
| 6509 | 6547 | // Assign instance methods from src/instanceMethods/*.js to prototype |
| 6510 | 6548 | SweetAlert.prototype.disableButtons = disableButtons; |
| 6511 | 6549 | SweetAlert.prototype.enableButtons = enableButtons; |
| @@ -6543,9 +6581,9 @@ | ||
| 6543 | 6581 | return undefined; |
| 6544 | 6582 | }; |
| 6545 | 6583 | }); |
| 6546 | 6584 | SweetAlert.DismissReason = DismissReason; |
| 6547 | - SweetAlert.version = '11.26.25'; | |
| 6585 | + SweetAlert.version = '11.26.17'; | |
| 6548 | 6586 | |
| 6549 | 6587 | const Swal = SweetAlert; |
| 6550 | 6588 | // @ts-ignore |
| 6551 | 6589 | Swal.default = Swal; |
| @@ -6553,9 +6591,9 @@ | ||
| 6553 | 6591 | return Swal; |
| 6554 | 6592 | |
| 6555 | 6593 | })); |
| 6556 | 6594 | if (typeof this !== 'undefined' && this.Sweetalert2){this.swal = this.sweetAlert = this.Swal = this.SweetAlert = this.Sweetalert2} |
| 6557 | -"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,":root{--swal2-outline: 0 0 0 3px rgba(100, 150, 200, 0.5);--swal2-container-padding: 0.625em;--swal2-backdrop: rgba(0, 0, 0, 0.4);--swal2-backdrop-transition: background-color 0.15s;--swal2-width: 32em;--swal2-padding: 0 0 1.25em;--swal2-border: none;--swal2-border-radius: 0.3125rem;--swal2-background: white;--swal2-color: #545454;--swal2-show-animation: swal2-show 0.3s;--swal2-hide-animation: swal2-hide 0.15s forwards;--swal2-icon-zoom: 1;--swal2-title-padding: 0.8em 1em 0;--swal2-html-container-padding: 1em 1.6em 0.3em;--swal2-input-border: 1px solid #d9d9d9;--swal2-input-border-radius: 0.1875em;--swal2-input-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.06), 0 0 0 3px transparent;--swal2-input-background: transparent;--swal2-input-transition: border-color 0.2s, box-shadow 0.2s;--swal2-input-hover-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.06), 0 0 0 3px transparent;--swal2-input-focus-border: 1px solid #b4dbed;--swal2-input-focus-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.06), 0 0 0 3px rgba(100, 150, 200, 0.5);--swal2-progress-step-background: #add8e6;--swal2-validation-message-background: #f0f0f0;--swal2-validation-message-color: #666;--swal2-footer-border-color: #eee;--swal2-footer-background: transparent;--swal2-footer-color: inherit;--swal2-timer-progress-bar-background: rgba(0, 0, 0, 0.3);--swal2-close-button-position: initial;--swal2-close-button-inset: auto;--swal2-close-button-font-size: 2.5em;--swal2-close-button-color: #ccc;--swal2-close-button-transition: color 0.2s, box-shadow 0.2s;--swal2-close-button-outline: initial;--swal2-close-button-box-shadow: inset 0 0 0 3px transparent;--swal2-close-button-focus-box-shadow: inset var(--swal2-outline);--swal2-close-button-hover-transform: none;--swal2-actions-justify-content: center;--swal2-actions-width: auto;--swal2-actions-margin: 1.25em auto 0;--swal2-actions-padding: 0;--swal2-actions-border-radius: 0;--swal2-actions-background: transparent;--swal2-action-button-transition: background-color 0.2s, box-shadow 0.2s;--swal2-action-button-hover: black 10%;--swal2-action-button-active: black 10%;--swal2-confirm-button-box-shadow: none;--swal2-confirm-button-border-radius: 0.25em;--swal2-confirm-button-background-color: #7066e0;--swal2-confirm-button-color: #fff;--swal2-deny-button-box-shadow: none;--swal2-deny-button-border-radius: 0.25em;--swal2-deny-button-background-color: #dc3741;--swal2-deny-button-color: #fff;--swal2-cancel-button-box-shadow: none;--swal2-cancel-button-border-radius: 0.25em;--swal2-cancel-button-background-color: #6e7881;--swal2-cancel-button-color: #fff;--swal2-toast-show-animation: swal2-toast-show 0.5s;--swal2-toast-hide-animation: swal2-toast-hide 0.1s forwards;--swal2-toast-border: none;--swal2-toast-box-shadow: 0 0 1px hsl(0deg 0% 0% / 0.075), 0 1px 2px hsl(0deg 0% 0% / 0.075), 1px 2px 4px hsl(0deg 0% 0% / 0.075), 1px 3px 8px hsl(0deg 0% 0% / 0.075), 2px 4px 16px hsl(0deg 0% 0% / 0.075)}[data-swal2-theme=dark]{--swal2-dark-theme-black: #19191a;--swal2-dark-theme-white: #e1e1e1;--swal2-background: var(--swal2-dark-theme-black);--swal2-color: var(--swal2-dark-theme-white);--swal2-footer-border-color: #555;--swal2-input-background: color-mix(in srgb, var(--swal2-dark-theme-black), var(--swal2-dark-theme-white) 10%);--swal2-validation-message-background: color-mix( in srgb, var(--swal2-dark-theme-black), var(--swal2-dark-theme-white) 10% );--swal2-validation-message-color: var(--swal2-dark-theme-white);--swal2-timer-progress-bar-background: rgba(255, 255, 255, 0.7)}@media(prefers-color-scheme: dark){[data-swal2-theme=auto]{--swal2-dark-theme-black: #19191a;--swal2-dark-theme-white: #e1e1e1;--swal2-background: var(--swal2-dark-theme-black);--swal2-color: var(--swal2-dark-theme-white);--swal2-footer-border-color: #555;--swal2-input-background: color-mix(in srgb, var(--swal2-dark-theme-black), var(--swal2-dark-theme-white) 10%);--swal2-validation-message-background: color-mix( in srgb, var(--swal2-dark-theme-black), var(--swal2-dark-theme-white) 10% );--swal2-validation-message-color: var(--swal2-dark-theme-white);--swal2-timer-progress-bar-background: rgba(255, 255, 255, 0.7)}}body.swal2-shown:not(.swal2-no-backdrop,.swal2-toast-shown){overflow:hidden}body.swal2-height-auto{height:auto !important}body.swal2-no-backdrop .swal2-container{background-color:rgba(0,0,0,0) !important;pointer-events:none}body.swal2-no-backdrop .swal2-container .swal2-popup{pointer-events:auto}body.swal2-no-backdrop .swal2-container .swal2-modal{box-shadow:0 0 10px var(--swal2-backdrop)}body.swal2-toast-shown .swal2-container{box-sizing:border-box;width:360px;max-width:100%;background-color:rgba(0,0,0,0);pointer-events:none}body.swal2-toast-shown .swal2-container.swal2-top{inset:0 auto auto 50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-top-end,body.swal2-toast-shown .swal2-container.swal2-top-right{inset:0 0 auto auto}body.swal2-toast-shown .swal2-container.swal2-top-start,body.swal2-toast-shown .swal2-container.swal2-top-left{inset:0 auto auto 0}body.swal2-toast-shown .swal2-container.swal2-center-start,body.swal2-toast-shown .swal2-container.swal2-center-left{inset:50% auto auto 0;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-center{inset:50% auto auto 50%;transform:translate(-50%, -50%)}body.swal2-toast-shown .swal2-container.swal2-center-end,body.swal2-toast-shown .swal2-container.swal2-center-right{inset:50% 0 auto auto;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-start,body.swal2-toast-shown .swal2-container.swal2-bottom-left{inset:auto auto 0 0}body.swal2-toast-shown .swal2-container.swal2-bottom{inset:auto auto 0 50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-end,body.swal2-toast-shown .swal2-container.swal2-bottom-right{inset:auto 0 0 auto}@media print{body.swal2-shown:not(.swal2-no-backdrop,.swal2-toast-shown){overflow-y:scroll !important}body.swal2-shown:not(.swal2-no-backdrop,.swal2-toast-shown)>[aria-hidden=true]{display:none}body.swal2-shown:not(.swal2-no-backdrop,.swal2-toast-shown) .swal2-container{position:static !important}}div:where(.swal2-container){display:grid;position:fixed;z-index:1060;inset:0;box-sizing:border-box;grid-template-areas:\"top-start top top-end\" \"center-start center center-end\" \"bottom-start bottom-center bottom-end\";grid-template-rows:minmax(min-content, auto) minmax(min-content, auto) minmax(min-content, auto);height:100%;padding:var(--swal2-container-padding);overflow-x:hidden;transition:var(--swal2-backdrop-transition);-webkit-overflow-scrolling:touch}div:where(.swal2-container).swal2-backdrop-show,div:where(.swal2-container).swal2-noanimation{background:var(--swal2-backdrop)}div:where(.swal2-container).swal2-backdrop-hide{background:rgba(0,0,0,0) !important}div:where(.swal2-container).swal2-top-start,div:where(.swal2-container).swal2-center-start,div:where(.swal2-container).swal2-bottom-start{grid-template-columns:minmax(0, 1fr) auto auto}div:where(.swal2-container).swal2-top,div:where(.swal2-container).swal2-center,div:where(.swal2-container).swal2-bottom{grid-template-columns:auto minmax(0, 1fr) auto}div:where(.swal2-container).swal2-top-end,div:where(.swal2-container).swal2-center-end,div:where(.swal2-container).swal2-bottom-end{grid-template-columns:auto auto minmax(0, 1fr)}div:where(.swal2-container).swal2-top-start>.swal2-popup{align-self:start}div:where(.swal2-container).swal2-top>.swal2-popup{grid-column:2;place-self:start center}div:where(.swal2-container).swal2-top-end>.swal2-popup,div:where(.swal2-container).swal2-top-right>.swal2-popup{grid-column:3;place-self:start end}div:where(.swal2-container).swal2-center-start>.swal2-popup,div:where(.swal2-container).swal2-center-left>.swal2-popup{grid-row:2;align-self:center}div:where(.swal2-container).swal2-center>.swal2-popup{grid-column:2;grid-row:2;place-self:center center}div:where(.swal2-container).swal2-center-end>.swal2-popup,div:where(.swal2-container).swal2-center-right>.swal2-popup{grid-column:3;grid-row:2;place-self:center end}div:where(.swal2-container).swal2-bottom-start>.swal2-popup,div:where(.swal2-container).swal2-bottom-left>.swal2-popup{grid-column:1;grid-row:3;align-self:end}div:where(.swal2-container).swal2-bottom>.swal2-popup{grid-column:2;grid-row:3;place-self:end center}div:where(.swal2-container).swal2-bottom-end>.swal2-popup,div:where(.swal2-container).swal2-bottom-right>.swal2-popup{grid-column:3;grid-row:3;place-self:end end}div:where(.swal2-container).swal2-grow-row>.swal2-popup,div:where(.swal2-container).swal2-grow-fullscreen>.swal2-popup{grid-column:1/4;width:100%}div:where(.swal2-container).swal2-grow-column>.swal2-popup,div:where(.swal2-container).swal2-grow-fullscreen>.swal2-popup{grid-row:1/4;align-self:stretch}div:where(.swal2-container).swal2-no-transition{transition:none !important}div:where(.swal2-container)[popover]{width:auto;border:0}div:where(.swal2-container) div:where(.swal2-popup){display:none;position:relative;box-sizing:border-box;grid-template-columns:minmax(0, 100%);width:var(--swal2-width);max-width:100%;padding:var(--swal2-padding);border:var(--swal2-border);border-radius:var(--swal2-border-radius);background:var(--swal2-background);color:var(--swal2-color);font-family:inherit;font-size:1rem}div:where(.swal2-container) div:where(.swal2-popup):focus{outline:none}div:where(.swal2-container) div:where(.swal2-popup).swal2-loading{overflow-y:hidden}div:where(.swal2-container) div:where(.swal2-popup).swal2-draggable{cursor:grab}div:where(.swal2-container) div:where(.swal2-popup).swal2-draggable div:where(.swal2-icon){cursor:grab}div:where(.swal2-container) div:where(.swal2-popup).swal2-dragging{cursor:grabbing}div:where(.swal2-container) div:where(.swal2-popup).swal2-dragging div:where(.swal2-icon){cursor:grabbing}div:where(.swal2-container) h2:where(.swal2-title){position:relative;max-width:100%;margin:0;padding:var(--swal2-title-padding);color:inherit;font-size:1.875em;font-weight:600;text-align:center;text-transform:none;overflow-wrap:break-word;cursor:initial}div:where(.swal2-container) div:where(.swal2-actions){display:flex;z-index:1;box-sizing:border-box;flex-wrap:wrap;align-items:center;justify-content:var(--swal2-actions-justify-content);width:var(--swal2-actions-width);margin:var(--swal2-actions-margin);padding:var(--swal2-actions-padding);border-radius:var(--swal2-actions-border-radius);background:var(--swal2-actions-background)}div:where(.swal2-container) div:where(.swal2-loader){display:none;align-items:center;justify-content:center;width:2.2em;height:2.2em;margin:0 1.875em;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;border-width:.25em;border-style:solid;border-radius:100%;border-color:#2778c4 rgba(0,0,0,0) #2778c4 rgba(0,0,0,0)}div:where(.swal2-container) button:where(.swal2-styled){margin:.3125em;padding:.625em 1.1em;transition:var(--swal2-action-button-transition);border:none;box-shadow:0 0 0 3px rgba(0,0,0,0);font-weight:500}div:where(.swal2-container) button:where(.swal2-styled):not([disabled]){cursor:pointer}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm){border-radius:var(--swal2-confirm-button-border-radius);background:initial;background-color:var(--swal2-confirm-button-background-color);box-shadow:var(--swal2-confirm-button-box-shadow);color:var(--swal2-confirm-button-color);font-size:1em}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm):hover{background-color:color-mix(in srgb, var(--swal2-confirm-button-background-color), var(--swal2-action-button-hover))}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm):active{background-color:color-mix(in srgb, var(--swal2-confirm-button-background-color), var(--swal2-action-button-active))}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-deny){border-radius:var(--swal2-deny-button-border-radius);background:initial;background-color:var(--swal2-deny-button-background-color);box-shadow:var(--swal2-deny-button-box-shadow);color:var(--swal2-deny-button-color);font-size:1em}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-deny):hover{background-color:color-mix(in srgb, var(--swal2-deny-button-background-color), var(--swal2-action-button-hover))}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-deny):active{background-color:color-mix(in srgb, var(--swal2-deny-button-background-color), var(--swal2-action-button-active))}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-cancel){border-radius:var(--swal2-cancel-button-border-radius);background:initial;background-color:var(--swal2-cancel-button-background-color);box-shadow:var(--swal2-cancel-button-box-shadow);color:var(--swal2-cancel-button-color);font-size:1em}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-cancel):hover{background-color:color-mix(in srgb, var(--swal2-cancel-button-background-color), var(--swal2-action-button-hover))}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-cancel):active{background-color:color-mix(in srgb, var(--swal2-cancel-button-background-color), var(--swal2-action-button-active))}div:where(.swal2-container) button:where(.swal2-styled):focus-visible{outline:none;box-shadow:var(--swal2-action-button-focus-box-shadow)}div:where(.swal2-container) button:where(.swal2-styled)[disabled]:not(.swal2-loading){opacity:.4}div:where(.swal2-container) button:where(.swal2-styled)::-moz-focus-inner{border:0}div:where(.swal2-container) div:where(.swal2-footer){margin:1em 0 0;padding:1em 1em 0;border-top:1px solid var(--swal2-footer-border-color);background:var(--swal2-footer-background);color:var(--swal2-footer-color);font-size:1em;text-align:center;cursor:initial}div:where(.swal2-container) .swal2-timer-progress-bar-container{position:absolute;right:0;bottom:0;left:0;grid-column:auto !important;overflow:hidden;border-bottom-right-radius:var(--swal2-border-radius);border-bottom-left-radius:var(--swal2-border-radius)}div:where(.swal2-container) div:where(.swal2-timer-progress-bar){width:100%;height:.25em;background:var(--swal2-timer-progress-bar-background)}div:where(.swal2-container) img:where(.swal2-image){max-width:100%;margin:2em auto 1em;cursor:initial}div:where(.swal2-container) button:where(.swal2-close){position:var(--swal2-close-button-position);inset:var(--swal2-close-button-inset);z-index:2;align-items:center;justify-content:center;width:1.2em;height:1.2em;margin-top:0;margin-right:0;margin-bottom:-1.2em;padding:0;overflow:hidden;transition:var(--swal2-close-button-transition);border:none;border-radius:var(--swal2-border-radius);outline:var(--swal2-close-button-outline);background:rgba(0,0,0,0);color:var(--swal2-close-button-color);font-family:monospace;font-size:var(--swal2-close-button-font-size);cursor:pointer;justify-self:end}div:where(.swal2-container) button:where(.swal2-close):hover{transform:var(--swal2-close-button-hover-transform);background:rgba(0,0,0,0);color:#f27474}div:where(.swal2-container) button:where(.swal2-close):focus-visible{outline:none;box-shadow:var(--swal2-close-button-focus-box-shadow)}div:where(.swal2-container) button:where(.swal2-close)::-moz-focus-inner{border:0}div:where(.swal2-container) div:where(.swal2-html-container){z-index:1;justify-content:center;margin:0;padding:var(--swal2-html-container-padding);overflow:auto;color:inherit;font-size:1.125em;font-weight:normal;line-height:normal;text-align:center;overflow-wrap:break-word;word-break:break-word;cursor:initial}div:where(.swal2-container) input:where(.swal2-input),div:where(.swal2-container) input:where(.swal2-file),div:where(.swal2-container) textarea:where(.swal2-textarea),div:where(.swal2-container) select:where(.swal2-select),div:where(.swal2-container) div:where(.swal2-radio),div:where(.swal2-container) label:where(.swal2-checkbox){margin:1em 2em 3px}div:where(.swal2-container) input:where(.swal2-input),div:where(.swal2-container) input:where(.swal2-file),div:where(.swal2-container) textarea:where(.swal2-textarea){box-sizing:border-box;width:auto;transition:var(--swal2-input-transition);border:var(--swal2-input-border);border-radius:var(--swal2-input-border-radius);background:var(--swal2-input-background);box-shadow:var(--swal2-input-box-shadow);color:inherit;font-size:1.125em}div:where(.swal2-container) input:where(.swal2-input).swal2-inputerror,div:where(.swal2-container) input:where(.swal2-file).swal2-inputerror,div:where(.swal2-container) textarea:where(.swal2-textarea).swal2-inputerror{border-color:#f27474 !important;box-shadow:0 0 2px #f27474 !important}div:where(.swal2-container) input:where(.swal2-input):hover,div:where(.swal2-container) input:where(.swal2-file):hover,div:where(.swal2-container) textarea:where(.swal2-textarea):hover{box-shadow:var(--swal2-input-hover-box-shadow)}div:where(.swal2-container) input:where(.swal2-input):focus,div:where(.swal2-container) input:where(.swal2-file):focus,div:where(.swal2-container) textarea:where(.swal2-textarea):focus{border:var(--swal2-input-focus-border);outline:none;box-shadow:var(--swal2-input-focus-box-shadow)}div:where(.swal2-container) input:where(.swal2-input)::placeholder,div:where(.swal2-container) input:where(.swal2-file)::placeholder,div:where(.swal2-container) textarea:where(.swal2-textarea)::placeholder{color:#ccc}div:where(.swal2-container) .swal2-range{margin:1em 2em 3px;background:var(--swal2-background)}div:where(.swal2-container) .swal2-range input{width:80%}div:where(.swal2-container) .swal2-range output{width:20%;color:inherit;font-weight:600;text-align:center}div:where(.swal2-container) .swal2-range input,div:where(.swal2-container) .swal2-range output{height:2.625em;padding:0;font-size:1.125em;line-height:2.625em}div:where(.swal2-container) .swal2-input{height:2.625em;padding:0 .75em}div:where(.swal2-container) .swal2-file{width:75%;margin-right:auto;margin-left:auto;background:var(--swal2-input-background);font-size:1.125em}div:where(.swal2-container) .swal2-textarea{height:6.75em;padding:.75em}div:where(.swal2-container) .swal2-select{min-width:50%;max-width:100%;padding:.375em .625em;background:var(--swal2-input-background);color:inherit;font-size:1.125em}div:where(.swal2-container) .swal2-radio,div:where(.swal2-container) .swal2-checkbox{align-items:center;justify-content:center;background:var(--swal2-background);color:inherit}div:where(.swal2-container) .swal2-radio label,div:where(.swal2-container) .swal2-checkbox label{margin:0 .6em;font-size:1.125em}div:where(.swal2-container) .swal2-radio input,div:where(.swal2-container) .swal2-checkbox input{flex-shrink:0;margin:0 .4em}div:where(.swal2-container) label:where(.swal2-input-label){display:flex;justify-content:center;margin:1em auto 0}div:where(.swal2-container) div:where(.swal2-validation-message){align-items:center;justify-content:center;margin:1em 0 0;padding:.625em;overflow:hidden;background:var(--swal2-validation-message-background);color:var(--swal2-validation-message-color);font-size:1em;font-weight:300}div:where(.swal2-container) div:where(.swal2-validation-message)::before{content:\"!\";display:inline-block;width:1.5em;min-width:1.5em;height:1.5em;margin:0 .625em;border-radius:50%;background-color:#f27474;color:#fff;font-weight:600;line-height:1.5em;text-align:center}div:where(.swal2-container) .swal2-progress-steps{flex-wrap:wrap;align-items:center;max-width:100%;margin:1.25em auto;padding:0;background:rgba(0,0,0,0);font-weight:600}div:where(.swal2-container) .swal2-progress-steps li{display:inline-block;position:relative}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step{z-index:20;flex-shrink:0;width:2em;height:2em;border-radius:2em;background:#2778c4;color:#fff;line-height:2em;text-align:center}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step{background:#2778c4}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step{background:var(--swal2-progress-step-background);color:#fff}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step-line{background:var(--swal2-progress-step-background)}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step-line{z-index:10;flex-shrink:0;width:2.5em;height:.4em;margin:0 -1px;background:#2778c4}div:where(.swal2-icon){position:relative;box-sizing:content-box;justify-content:center;width:5em;height:5em;margin:2.5em auto .6em;zoom:var(--swal2-icon-zoom);border:.25em solid rgba(0,0,0,0);border-radius:50%;border-color:#000;font-family:inherit;line-height:5em;cursor:default;user-select:none}div:where(.swal2-icon) .swal2-icon-content{display:flex;align-items:center;font-size:3.75em}div:where(.swal2-icon).swal2-error{border-color:#f27474;color:#f27474}div:where(.swal2-icon).swal2-error .swal2-x-mark{position:relative;flex-grow:1}div:where(.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}div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line][class$=left]{left:1.0625em;transform:rotate(45deg)}div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line][class$=right]{right:1em;transform:rotate(-45deg)}div:where(.swal2-icon).swal2-error.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-error.swal2-icon-show .swal2-x-mark{animation:swal2-animate-error-x-mark .5s}div:where(.swal2-icon).swal2-warning{border-color:#f8bb86;color:#f8bb86}div:where(.swal2-icon).swal2-warning.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-warning.swal2-icon-show .swal2-icon-content{animation:swal2-animate-i-mark .5s}div:where(.swal2-icon).swal2-info{border-color:#3fc3ee;color:#3fc3ee}div:where(.swal2-icon).swal2-info.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-info.swal2-icon-show .swal2-icon-content{animation:swal2-animate-i-mark .8s}div:where(.swal2-icon).swal2-question{border-color:#87adbd;color:#87adbd}div:where(.swal2-icon).swal2-question.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-question.swal2-icon-show .swal2-icon-content{animation:swal2-animate-question-mark .8s}div:where(.swal2-icon).swal2-success{border-color:#a5dc86;color:#a5dc86}div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line]{position:absolute;width:3.75em;height:7.5em;border-radius:50%}div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line][class$=left]{top:-0.4375em;left:-2.0635em;transform:rotate(-45deg);transform-origin:3.75em 3.75em;border-radius:7.5em 0 0 7.5em}div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line][class$=right]{top:-0.6875em;left:1.875em;transform:rotate(-45deg);transform-origin:0 3.75em;border-radius:0 7.5em 7.5em 0}div:where(.swal2-icon).swal2-success .swal2-success-ring{position:absolute;z-index:2;top:-0.25em;left:-0.25em;box-sizing:content-box;width:100%;height:100%;border:.25em solid rgba(165,220,134,.3);border-radius:50%}div:where(.swal2-icon).swal2-success .swal2-success-fix{position:absolute;z-index:1;top:.5em;left:1.625em;width:.4375em;height:5.625em;transform:rotate(-45deg)}div:where(.swal2-icon).swal2-success [class^=swal2-success-line]{display:block;position:absolute;z-index:2;height:.3125em;border-radius:.125em;background-color:#a5dc86}div:where(.swal2-icon).swal2-success [class^=swal2-success-line][class$=tip]{top:2.875em;left:.8125em;width:1.5625em;transform:rotate(45deg)}div:where(.swal2-icon).swal2-success [class^=swal2-success-line][class$=long]{top:2.375em;right:.5em;width:2.9375em;transform:rotate(-45deg)}div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-line-tip{animation:swal2-animate-success-line-tip .75s}div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-line-long{animation:swal2-animate-success-line-long .75s}div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-circular-line-right{animation:swal2-rotate-success-circular-line 4.25s ease-in}[class^=swal2]{-webkit-tap-highlight-color:rgba(0,0,0,0)}.swal2-show{animation:var(--swal2-show-animation)}.swal2-hide{animation:var(--swal2-hide-animation)}.swal2-noanimation{transition:none}.swal2-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}.swal2-rtl .swal2-close{margin-right:initial;margin-left:0}.swal2-rtl .swal2-timer-progress-bar{right:0;left:auto}.swal2-toast{box-sizing:border-box;grid-column:1/4 !important;grid-row:1/4 !important;grid-template-columns:min-content auto min-content;padding:1em;overflow-y:hidden;border:var(--swal2-toast-border);background:var(--swal2-background);box-shadow:var(--swal2-toast-box-shadow);pointer-events:auto}.swal2-toast>*{grid-column:2}.swal2-toast h2:where(.swal2-title){margin:.5em 1em;padding:0;font-size:1em;text-align:initial}.swal2-toast .swal2-loading{justify-content:center}.swal2-toast input:where(.swal2-input){height:2em;margin:.5em;font-size:1em}.swal2-toast .swal2-validation-message{font-size:1em}.swal2-toast div:where(.swal2-footer){margin:.5em 0 0;padding:.5em 0 0;font-size:.8em}.swal2-toast button:where(.swal2-close){grid-column:3/3;grid-row:1/99;align-self:center;width:.8em;height:.8em;margin:0;font-size:2em}.swal2-toast div:where(.swal2-html-container){margin:.5em 1em;padding:0;overflow:initial;font-size:1em;text-align:initial}.swal2-toast div:where(.swal2-html-container):empty{padding:0}.swal2-toast .swal2-loader{grid-column:1;grid-row:1/99;align-self:center;width:2em;height:2em;margin:.25em}.swal2-toast .swal2-icon{grid-column:1;grid-row:1/99;align-self:center;width:2em;min-width:2em;height:2em;margin:0 .5em 0 0}.swal2-toast .swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:1.8em;font-weight:bold}.swal2-toast .swal2-icon.swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line]{top:.875em;width:1.375em}.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:.3125em}.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:.3125em}.swal2-toast div:where(.swal2-actions){justify-content:flex-start;height:auto;margin:0;margin-top:.5em;padding:0 .5em}.swal2-toast button:where(.swal2-styled){margin:.25em .5em;padding:.4em .6em;font-size:1em}.swal2-toast .swal2-success{border-color:#a5dc86}.swal2-toast .swal2-success [class^=swal2-success-circular-line]{position:absolute;width:1.6em;height:3em;border-radius:50%}.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=left]{top:-0.8em;left:-0.5em;transform:rotate(-45deg);transform-origin:2em 2em;border-radius:4em 0 0 4em}.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=right]{top:-0.25em;left:.9375em;transform-origin:0 1.5em;border-radius:0 4em 4em 0}.swal2-toast .swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-toast .swal2-success .swal2-success-fix{top:0;left:.4375em;width:.4375em;height:2.6875em}.swal2-toast .swal2-success [class^=swal2-success-line]{height:.3125em}.swal2-toast .swal2-success [class^=swal2-success-line][class$=tip]{top:1.125em;left:.1875em;width:.75em}.swal2-toast .swal2-success [class^=swal2-success-line][class$=long]{top:.9375em;right:.1875em;width:1.375em}.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-tip{animation:swal2-toast-animate-success-line-tip .75s}.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-long{animation:swal2-toast-animate-success-line-long .75s}.swal2-toast.swal2-show{animation:var(--swal2-toast-show-animation)}.swal2-toast.swal2-hide{animation:var(--swal2-toast-hide-animation)}@keyframes swal2-show{0%{transform:translate3d(0, -50px, 0) scale(0.9);opacity:0}100%{transform:translate3d(0, 0, 0) scale(1);opacity:1}}@keyframes swal2-hide{0%{transform:translate3d(0, 0, 0) scale(1);opacity:1}100%{transform:translate3d(0, -50px, 0) scale(0.9);opacity:0}}@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:-0.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.8125em;width:1.5625em}}@keyframes swal2-animate-success-line-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-rotate-success-circular-line{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}100%{transform:rotate(-405deg)}}@keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;transform:scale(0.4);opacity:0}50%{margin-top:1.625em;transform:scale(0.4);opacity:0}80%{margin-top:-0.375em;transform:scale(1.15)}100%{margin-top:0;transform:scale(1);opacity:1}}@keyframes swal2-animate-error-icon{0%{transform:rotateX(100deg);opacity:0}100%{transform:rotateX(0deg);opacity:1}}@keyframes swal2-rotate-loading{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes swal2-animate-question-mark{0%{transform:rotateY(-360deg)}100%{transform:rotateY(0)}}@keyframes swal2-animate-i-mark{0%{transform:rotateZ(45deg);opacity:0}25%{transform:rotateZ(-25deg);opacity:.4}50%{transform:rotateZ(15deg);opacity:.8}75%{transform:rotateZ(-5deg);opacity:1}100%{transform:rotateX(0);opacity:1}}@keyframes swal2-toast-show{0%{transform:translateY(-0.625em) rotateZ(2deg)}33%{transform:translateY(0) rotateZ(-2deg)}66%{transform:translateY(0.3125em) rotateZ(2deg)}100%{transform:translateY(0) rotateZ(0deg)}}@keyframes swal2-toast-hide{100%{transform:rotateZ(1deg);opacity:0}}@keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-0.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@keyframes swal2-toast-animate-success-line-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}}"); | |
| 6595 | +"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,":root{--swal2-outline: 0 0 0 3px rgba(100, 150, 200, 0.5);--swal2-container-padding: 0.625em;--swal2-backdrop: rgba(0, 0, 0, 0.4);--swal2-backdrop-transition: background-color 0.15s;--swal2-width: 32em;--swal2-padding: 0 0 1.25em;--swal2-border: none;--swal2-border-radius: 0.3125rem;--swal2-background: white;--swal2-color: #545454;--swal2-show-animation: swal2-show 0.3s;--swal2-hide-animation: swal2-hide 0.15s forwards;--swal2-icon-zoom: 1;--swal2-icon-animations: true;--swal2-title-padding: 0.8em 1em 0;--swal2-html-container-padding: 1em 1.6em 0.3em;--swal2-input-border: 1px solid #d9d9d9;--swal2-input-border-radius: 0.1875em;--swal2-input-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.06), 0 0 0 3px transparent;--swal2-input-background: transparent;--swal2-input-transition: border-color 0.2s, box-shadow 0.2s;--swal2-input-hover-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.06), 0 0 0 3px transparent;--swal2-input-focus-border: 1px solid #b4dbed;--swal2-input-focus-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.06), 0 0 0 3px rgba(100, 150, 200, 0.5);--swal2-progress-step-background: #add8e6;--swal2-validation-message-background: #f0f0f0;--swal2-validation-message-color: #666;--swal2-footer-border-color: #eee;--swal2-footer-background: transparent;--swal2-footer-color: inherit;--swal2-timer-progress-bar-background: rgba(0, 0, 0, 0.3);--swal2-close-button-position: initial;--swal2-close-button-inset: auto;--swal2-close-button-font-size: 2.5em;--swal2-close-button-color: #ccc;--swal2-close-button-transition: color 0.2s, box-shadow 0.2s;--swal2-close-button-outline: initial;--swal2-close-button-box-shadow: inset 0 0 0 3px transparent;--swal2-close-button-focus-box-shadow: inset var(--swal2-outline);--swal2-close-button-hover-transform: none;--swal2-actions-justify-content: center;--swal2-actions-width: auto;--swal2-actions-margin: 1.25em auto 0;--swal2-actions-padding: 0;--swal2-actions-border-radius: 0;--swal2-actions-background: transparent;--swal2-action-button-transition: background-color 0.2s, box-shadow 0.2s;--swal2-action-button-hover: black 10%;--swal2-action-button-active: black 10%;--swal2-confirm-button-box-shadow: none;--swal2-confirm-button-border-radius: 0.25em;--swal2-confirm-button-background-color: #7066e0;--swal2-confirm-button-color: #fff;--swal2-deny-button-box-shadow: none;--swal2-deny-button-border-radius: 0.25em;--swal2-deny-button-background-color: #dc3741;--swal2-deny-button-color: #fff;--swal2-cancel-button-box-shadow: none;--swal2-cancel-button-border-radius: 0.25em;--swal2-cancel-button-background-color: #6e7881;--swal2-cancel-button-color: #fff;--swal2-toast-show-animation: swal2-toast-show 0.5s;--swal2-toast-hide-animation: swal2-toast-hide 0.1s forwards;--swal2-toast-border: none;--swal2-toast-box-shadow: 0 0 1px hsl(0deg 0% 0% / 0.075), 0 1px 2px hsl(0deg 0% 0% / 0.075), 1px 2px 4px hsl(0deg 0% 0% / 0.075), 1px 3px 8px hsl(0deg 0% 0% / 0.075), 2px 4px 16px hsl(0deg 0% 0% / 0.075)}[data-swal2-theme=dark]{--swal2-dark-theme-black: #19191a;--swal2-dark-theme-white: #e1e1e1;--swal2-background: var(--swal2-dark-theme-black);--swal2-color: var(--swal2-dark-theme-white);--swal2-footer-border-color: #555;--swal2-input-background: color-mix(in srgb, var(--swal2-dark-theme-black), var(--swal2-dark-theme-white) 10%);--swal2-validation-message-background: color-mix( in srgb, var(--swal2-dark-theme-black), var(--swal2-dark-theme-white) 10% );--swal2-validation-message-color: var(--swal2-dark-theme-white);--swal2-timer-progress-bar-background: rgba(255, 255, 255, 0.7)}@media(prefers-color-scheme: dark){[data-swal2-theme=auto]{--swal2-dark-theme-black: #19191a;--swal2-dark-theme-white: #e1e1e1;--swal2-background: var(--swal2-dark-theme-black);--swal2-color: var(--swal2-dark-theme-white);--swal2-footer-border-color: #555;--swal2-input-background: color-mix(in srgb, var(--swal2-dark-theme-black), var(--swal2-dark-theme-white) 10%);--swal2-validation-message-background: color-mix( in srgb, var(--swal2-dark-theme-black), var(--swal2-dark-theme-white) 10% );--swal2-validation-message-color: var(--swal2-dark-theme-white);--swal2-timer-progress-bar-background: rgba(255, 255, 255, 0.7)}}body.swal2-shown:not(.swal2-no-backdrop,.swal2-toast-shown){overflow:hidden}body.swal2-height-auto{height:auto !important}body.swal2-no-backdrop .swal2-container{background-color:rgba(0,0,0,0) !important;pointer-events:none}body.swal2-no-backdrop .swal2-container .swal2-popup{pointer-events:all}body.swal2-no-backdrop .swal2-container .swal2-modal{box-shadow:0 0 10px var(--swal2-backdrop)}body.swal2-toast-shown .swal2-container{box-sizing:border-box;width:360px;max-width:100%;background-color:rgba(0,0,0,0);pointer-events:none}body.swal2-toast-shown .swal2-container.swal2-top{inset:0 auto auto 50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-top-end,body.swal2-toast-shown .swal2-container.swal2-top-right{inset:0 0 auto auto}body.swal2-toast-shown .swal2-container.swal2-top-start,body.swal2-toast-shown .swal2-container.swal2-top-left{inset:0 auto auto 0}body.swal2-toast-shown .swal2-container.swal2-center-start,body.swal2-toast-shown .swal2-container.swal2-center-left{inset:50% auto auto 0;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-center{inset:50% auto auto 50%;transform:translate(-50%, -50%)}body.swal2-toast-shown .swal2-container.swal2-center-end,body.swal2-toast-shown .swal2-container.swal2-center-right{inset:50% 0 auto auto;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-start,body.swal2-toast-shown .swal2-container.swal2-bottom-left{inset:auto auto 0 0}body.swal2-toast-shown .swal2-container.swal2-bottom{inset:auto auto 0 50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-end,body.swal2-toast-shown .swal2-container.swal2-bottom-right{inset:auto 0 0 auto}@media print{body.swal2-shown:not(.swal2-no-backdrop,.swal2-toast-shown){overflow-y:scroll !important}body.swal2-shown:not(.swal2-no-backdrop,.swal2-toast-shown)>[aria-hidden=true]{display:none}body.swal2-shown:not(.swal2-no-backdrop,.swal2-toast-shown) .swal2-container{position:static !important}}div:where(.swal2-container){display:grid;position:fixed;z-index:1060;inset:0;box-sizing:border-box;grid-template-areas:\"top-start top top-end\" \"center-start center center-end\" \"bottom-start bottom-center bottom-end\";grid-template-rows:minmax(min-content, auto) minmax(min-content, auto) minmax(min-content, auto);height:100%;padding:var(--swal2-container-padding);overflow-x:hidden;transition:var(--swal2-backdrop-transition);-webkit-overflow-scrolling:touch}div:where(.swal2-container).swal2-backdrop-show,div:where(.swal2-container).swal2-noanimation{background:var(--swal2-backdrop)}div:where(.swal2-container).swal2-backdrop-hide{background:rgba(0,0,0,0) !important}div:where(.swal2-container).swal2-top-start,div:where(.swal2-container).swal2-center-start,div:where(.swal2-container).swal2-bottom-start{grid-template-columns:minmax(0, 1fr) auto auto}div:where(.swal2-container).swal2-top,div:where(.swal2-container).swal2-center,div:where(.swal2-container).swal2-bottom{grid-template-columns:auto minmax(0, 1fr) auto}div:where(.swal2-container).swal2-top-end,div:where(.swal2-container).swal2-center-end,div:where(.swal2-container).swal2-bottom-end{grid-template-columns:auto auto minmax(0, 1fr)}div:where(.swal2-container).swal2-top-start>.swal2-popup{align-self:start}div:where(.swal2-container).swal2-top>.swal2-popup{grid-column:2;place-self:start center}div:where(.swal2-container).swal2-top-end>.swal2-popup,div:where(.swal2-container).swal2-top-right>.swal2-popup{grid-column:3;place-self:start end}div:where(.swal2-container).swal2-center-start>.swal2-popup,div:where(.swal2-container).swal2-center-left>.swal2-popup{grid-row:2;align-self:center}div:where(.swal2-container).swal2-center>.swal2-popup{grid-column:2;grid-row:2;place-self:center center}div:where(.swal2-container).swal2-center-end>.swal2-popup,div:where(.swal2-container).swal2-center-right>.swal2-popup{grid-column:3;grid-row:2;place-self:center end}div:where(.swal2-container).swal2-bottom-start>.swal2-popup,div:where(.swal2-container).swal2-bottom-left>.swal2-popup{grid-column:1;grid-row:3;align-self:end}div:where(.swal2-container).swal2-bottom>.swal2-popup{grid-column:2;grid-row:3;place-self:end center}div:where(.swal2-container).swal2-bottom-end>.swal2-popup,div:where(.swal2-container).swal2-bottom-right>.swal2-popup{grid-column:3;grid-row:3;place-self:end end}div:where(.swal2-container).swal2-grow-row>.swal2-popup,div:where(.swal2-container).swal2-grow-fullscreen>.swal2-popup{grid-column:1/4;width:100%}div:where(.swal2-container).swal2-grow-column>.swal2-popup,div:where(.swal2-container).swal2-grow-fullscreen>.swal2-popup{grid-row:1/4;align-self:stretch}div:where(.swal2-container).swal2-no-transition{transition:none !important}div:where(.swal2-container)[popover]{width:auto;border:0}div:where(.swal2-container) div:where(.swal2-popup){display:none;position:relative;box-sizing:border-box;grid-template-columns:minmax(0, 100%);width:var(--swal2-width);max-width:100%;padding:var(--swal2-padding);border:var(--swal2-border);border-radius:var(--swal2-border-radius);background:var(--swal2-background);color:var(--swal2-color);font-family:inherit;font-size:1rem;container-name:swal2-popup}div:where(.swal2-container) div:where(.swal2-popup):focus{outline:none}div:where(.swal2-container) div:where(.swal2-popup).swal2-loading{overflow-y:hidden}div:where(.swal2-container) div:where(.swal2-popup).swal2-draggable{cursor:grab}div:where(.swal2-container) div:where(.swal2-popup).swal2-draggable div:where(.swal2-icon){cursor:grab}div:where(.swal2-container) div:where(.swal2-popup).swal2-dragging{cursor:grabbing}div:where(.swal2-container) div:where(.swal2-popup).swal2-dragging div:where(.swal2-icon){cursor:grabbing}div:where(.swal2-container) h2:where(.swal2-title){position:relative;max-width:100%;margin:0;padding:var(--swal2-title-padding);color:inherit;font-size:1.875em;font-weight:600;text-align:center;text-transform:none;overflow-wrap:break-word;cursor:initial}div:where(.swal2-container) div:where(.swal2-actions){display:flex;z-index:1;box-sizing:border-box;flex-wrap:wrap;align-items:center;justify-content:var(--swal2-actions-justify-content);width:var(--swal2-actions-width);margin:var(--swal2-actions-margin);padding:var(--swal2-actions-padding);border-radius:var(--swal2-actions-border-radius);background:var(--swal2-actions-background)}div:where(.swal2-container) div:where(.swal2-loader){display:none;align-items:center;justify-content:center;width:2.2em;height:2.2em;margin:0 1.875em;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;border-width:.25em;border-style:solid;border-radius:100%;border-color:#2778c4 rgba(0,0,0,0) #2778c4 rgba(0,0,0,0)}div:where(.swal2-container) button:where(.swal2-styled){margin:.3125em;padding:.625em 1.1em;transition:var(--swal2-action-button-transition);border:none;box-shadow:0 0 0 3px rgba(0,0,0,0);font-weight:500}div:where(.swal2-container) button:where(.swal2-styled):not([disabled]){cursor:pointer}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm){border-radius:var(--swal2-confirm-button-border-radius);background:initial;background-color:var(--swal2-confirm-button-background-color);box-shadow:var(--swal2-confirm-button-box-shadow);color:var(--swal2-confirm-button-color);font-size:1em}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm):hover{background-color:color-mix(in srgb, var(--swal2-confirm-button-background-color), var(--swal2-action-button-hover))}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm):active{background-color:color-mix(in srgb, var(--swal2-confirm-button-background-color), var(--swal2-action-button-active))}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-deny){border-radius:var(--swal2-deny-button-border-radius);background:initial;background-color:var(--swal2-deny-button-background-color);box-shadow:var(--swal2-deny-button-box-shadow);color:var(--swal2-deny-button-color);font-size:1em}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-deny):hover{background-color:color-mix(in srgb, var(--swal2-deny-button-background-color), var(--swal2-action-button-hover))}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-deny):active{background-color:color-mix(in srgb, var(--swal2-deny-button-background-color), var(--swal2-action-button-active))}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-cancel){border-radius:var(--swal2-cancel-button-border-radius);background:initial;background-color:var(--swal2-cancel-button-background-color);box-shadow:var(--swal2-cancel-button-box-shadow);color:var(--swal2-cancel-button-color);font-size:1em}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-cancel):hover{background-color:color-mix(in srgb, var(--swal2-cancel-button-background-color), var(--swal2-action-button-hover))}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-cancel):active{background-color:color-mix(in srgb, var(--swal2-cancel-button-background-color), var(--swal2-action-button-active))}div:where(.swal2-container) button:where(.swal2-styled):focus-visible{outline:none;box-shadow:var(--swal2-action-button-focus-box-shadow)}div:where(.swal2-container) button:where(.swal2-styled)[disabled]:not(.swal2-loading){opacity:.4}div:where(.swal2-container) button:where(.swal2-styled)::-moz-focus-inner{border:0}div:where(.swal2-container) div:where(.swal2-footer){margin:1em 0 0;padding:1em 1em 0;border-top:1px solid var(--swal2-footer-border-color);background:var(--swal2-footer-background);color:var(--swal2-footer-color);font-size:1em;text-align:center;cursor:initial}div:where(.swal2-container) .swal2-timer-progress-bar-container{position:absolute;right:0;bottom:0;left:0;grid-column:auto !important;overflow:hidden;border-bottom-right-radius:var(--swal2-border-radius);border-bottom-left-radius:var(--swal2-border-radius)}div:where(.swal2-container) div:where(.swal2-timer-progress-bar){width:100%;height:.25em;background:var(--swal2-timer-progress-bar-background)}div:where(.swal2-container) img:where(.swal2-image){max-width:100%;margin:2em auto 1em;cursor:initial}div:where(.swal2-container) button:where(.swal2-close){position:var(--swal2-close-button-position);inset:var(--swal2-close-button-inset);z-index:2;align-items:center;justify-content:center;width:1.2em;height:1.2em;margin-top:0;margin-right:0;margin-bottom:-1.2em;padding:0;overflow:hidden;transition:var(--swal2-close-button-transition);border:none;border-radius:var(--swal2-border-radius);outline:var(--swal2-close-button-outline);background:rgba(0,0,0,0);color:var(--swal2-close-button-color);font-family:monospace;font-size:var(--swal2-close-button-font-size);cursor:pointer;justify-self:end}div:where(.swal2-container) button:where(.swal2-close):hover{transform:var(--swal2-close-button-hover-transform);background:rgba(0,0,0,0);color:#f27474}div:where(.swal2-container) button:where(.swal2-close):focus-visible{outline:none;box-shadow:var(--swal2-close-button-focus-box-shadow)}div:where(.swal2-container) button:where(.swal2-close)::-moz-focus-inner{border:0}div:where(.swal2-container) div:where(.swal2-html-container){z-index:1;justify-content:center;margin:0;padding:var(--swal2-html-container-padding);overflow:auto;color:inherit;font-size:1.125em;font-weight:normal;line-height:normal;text-align:center;overflow-wrap:break-word;word-break:break-word;cursor:initial}div:where(.swal2-container) input:where(.swal2-input),div:where(.swal2-container) input:where(.swal2-file),div:where(.swal2-container) textarea:where(.swal2-textarea),div:where(.swal2-container) select:where(.swal2-select),div:where(.swal2-container) div:where(.swal2-radio),div:where(.swal2-container) label:where(.swal2-checkbox){margin:1em 2em 3px}div:where(.swal2-container) input:where(.swal2-input),div:where(.swal2-container) input:where(.swal2-file),div:where(.swal2-container) textarea:where(.swal2-textarea){box-sizing:border-box;width:auto;transition:var(--swal2-input-transition);border:var(--swal2-input-border);border-radius:var(--swal2-input-border-radius);background:var(--swal2-input-background);box-shadow:var(--swal2-input-box-shadow);color:inherit;font-size:1.125em}div:where(.swal2-container) input:where(.swal2-input).swal2-inputerror,div:where(.swal2-container) input:where(.swal2-file).swal2-inputerror,div:where(.swal2-container) textarea:where(.swal2-textarea).swal2-inputerror{border-color:#f27474 !important;box-shadow:0 0 2px #f27474 !important}div:where(.swal2-container) input:where(.swal2-input):hover,div:where(.swal2-container) input:where(.swal2-file):hover,div:where(.swal2-container) textarea:where(.swal2-textarea):hover{box-shadow:var(--swal2-input-hover-box-shadow)}div:where(.swal2-container) input:where(.swal2-input):focus,div:where(.swal2-container) input:where(.swal2-file):focus,div:where(.swal2-container) textarea:where(.swal2-textarea):focus{border:var(--swal2-input-focus-border);outline:none;box-shadow:var(--swal2-input-focus-box-shadow)}div:where(.swal2-container) input:where(.swal2-input)::placeholder,div:where(.swal2-container) input:where(.swal2-file)::placeholder,div:where(.swal2-container) textarea:where(.swal2-textarea)::placeholder{color:#ccc}div:where(.swal2-container) .swal2-range{margin:1em 2em 3px;background:var(--swal2-background)}div:where(.swal2-container) .swal2-range input{width:80%}div:where(.swal2-container) .swal2-range output{width:20%;color:inherit;font-weight:600;text-align:center}div:where(.swal2-container) .swal2-range input,div:where(.swal2-container) .swal2-range output{height:2.625em;padding:0;font-size:1.125em;line-height:2.625em}div:where(.swal2-container) .swal2-input{height:2.625em;padding:0 .75em}div:where(.swal2-container) .swal2-file{width:75%;margin-right:auto;margin-left:auto;background:var(--swal2-input-background);font-size:1.125em}div:where(.swal2-container) .swal2-textarea{height:6.75em;padding:.75em}div:where(.swal2-container) .swal2-select{min-width:50%;max-width:100%;padding:.375em .625em;background:var(--swal2-input-background);color:inherit;font-size:1.125em}div:where(.swal2-container) .swal2-radio,div:where(.swal2-container) .swal2-checkbox{align-items:center;justify-content:center;background:var(--swal2-background);color:inherit}div:where(.swal2-container) .swal2-radio label,div:where(.swal2-container) .swal2-checkbox label{margin:0 .6em;font-size:1.125em}div:where(.swal2-container) .swal2-radio input,div:where(.swal2-container) .swal2-checkbox input{flex-shrink:0;margin:0 .4em}div:where(.swal2-container) label:where(.swal2-input-label){display:flex;justify-content:center;margin:1em auto 0}div:where(.swal2-container) div:where(.swal2-validation-message){align-items:center;justify-content:center;margin:1em 0 0;padding:.625em;overflow:hidden;background:var(--swal2-validation-message-background);color:var(--swal2-validation-message-color);font-size:1em;font-weight:300}div:where(.swal2-container) div:where(.swal2-validation-message)::before{content:\"!\";display:inline-block;width:1.5em;min-width:1.5em;height:1.5em;margin:0 .625em;border-radius:50%;background-color:#f27474;color:#fff;font-weight:600;line-height:1.5em;text-align:center}div:where(.swal2-container) .swal2-progress-steps{flex-wrap:wrap;align-items:center;max-width:100%;margin:1.25em auto;padding:0;background:rgba(0,0,0,0);font-weight:600}div:where(.swal2-container) .swal2-progress-steps li{display:inline-block;position:relative}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step{z-index:20;flex-shrink:0;width:2em;height:2em;border-radius:2em;background:#2778c4;color:#fff;line-height:2em;text-align:center}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step{background:#2778c4}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step{background:var(--swal2-progress-step-background);color:#fff}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step-line{background:var(--swal2-progress-step-background)}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step-line{z-index:10;flex-shrink:0;width:2.5em;height:.4em;margin:0 -1px;background:#2778c4}div:where(.swal2-icon){position:relative;box-sizing:content-box;justify-content:center;width:5em;height:5em;margin:2.5em auto .6em;zoom:var(--swal2-icon-zoom);border:.25em solid rgba(0,0,0,0);border-radius:50%;border-color:#000;font-family:inherit;line-height:5em;cursor:default;user-select:none}div:where(.swal2-icon) .swal2-icon-content{display:flex;align-items:center;font-size:3.75em}div:where(.swal2-icon).swal2-error{border-color:#f27474;color:#f27474}div:where(.swal2-icon).swal2-error .swal2-x-mark{position:relative;flex-grow:1}div:where(.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}div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line][class$=left]{left:1.0625em;transform:rotate(45deg)}div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line][class$=right]{right:1em;transform:rotate(-45deg)}@container swal2-popup style(--swal2-icon-animations:true){div:where(.swal2-icon).swal2-error.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-error.swal2-icon-show .swal2-x-mark{animation:swal2-animate-error-x-mark .5s}}div:where(.swal2-icon).swal2-warning{border-color:#f8bb86;color:#f8bb86}@container swal2-popup style(--swal2-icon-animations:true){div:where(.swal2-icon).swal2-warning.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-warning.swal2-icon-show .swal2-icon-content{animation:swal2-animate-i-mark .5s}}div:where(.swal2-icon).swal2-info{border-color:#3fc3ee;color:#3fc3ee}@container swal2-popup style(--swal2-icon-animations:true){div:where(.swal2-icon).swal2-info.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-info.swal2-icon-show .swal2-icon-content{animation:swal2-animate-i-mark .8s}}div:where(.swal2-icon).swal2-question{border-color:#87adbd;color:#87adbd}@container swal2-popup style(--swal2-icon-animations:true){div:where(.swal2-icon).swal2-question.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-question.swal2-icon-show .swal2-icon-content{animation:swal2-animate-question-mark .8s}}div:where(.swal2-icon).swal2-success{border-color:#a5dc86;color:#a5dc86}div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line]{position:absolute;width:3.75em;height:7.5em;border-radius:50%}div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line][class$=left]{top:-0.4375em;left:-2.0635em;transform:rotate(-45deg);transform-origin:3.75em 3.75em;border-radius:7.5em 0 0 7.5em}div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line][class$=right]{top:-0.6875em;left:1.875em;transform:rotate(-45deg);transform-origin:0 3.75em;border-radius:0 7.5em 7.5em 0}div:where(.swal2-icon).swal2-success .swal2-success-ring{position:absolute;z-index:2;top:-0.25em;left:-0.25em;box-sizing:content-box;width:100%;height:100%;border:.25em solid rgba(165,220,134,.3);border-radius:50%}div:where(.swal2-icon).swal2-success .swal2-success-fix{position:absolute;z-index:1;top:.5em;left:1.625em;width:.4375em;height:5.625em;transform:rotate(-45deg)}div:where(.swal2-icon).swal2-success [class^=swal2-success-line]{display:block;position:absolute;z-index:2;height:.3125em;border-radius:.125em;background-color:#a5dc86}div:where(.swal2-icon).swal2-success [class^=swal2-success-line][class$=tip]{top:2.875em;left:.8125em;width:1.5625em;transform:rotate(45deg)}div:where(.swal2-icon).swal2-success [class^=swal2-success-line][class$=long]{top:2.375em;right:.5em;width:2.9375em;transform:rotate(-45deg)}@container swal2-popup style(--swal2-icon-animations:true){div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-line-tip{animation:swal2-animate-success-line-tip .75s}div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-line-long{animation:swal2-animate-success-line-long .75s}div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-circular-line-right{animation:swal2-rotate-success-circular-line 4.25s ease-in}}[class^=swal2]{-webkit-tap-highlight-color:rgba(0,0,0,0)}.swal2-show{animation:var(--swal2-show-animation)}.swal2-hide{animation:var(--swal2-hide-animation)}.swal2-noanimation{transition:none}.swal2-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}.swal2-rtl .swal2-close{margin-right:initial;margin-left:0}.swal2-rtl .swal2-timer-progress-bar{right:0;left:auto}.swal2-toast{box-sizing:border-box;grid-column:1/4 !important;grid-row:1/4 !important;grid-template-columns:min-content auto min-content;padding:1em;overflow-y:hidden;border:var(--swal2-toast-border);background:var(--swal2-background);box-shadow:var(--swal2-toast-box-shadow);pointer-events:all}.swal2-toast>*{grid-column:2}.swal2-toast h2:where(.swal2-title){margin:.5em 1em;padding:0;font-size:1em;text-align:initial}.swal2-toast .swal2-loading{justify-content:center}.swal2-toast input:where(.swal2-input){height:2em;margin:.5em;font-size:1em}.swal2-toast .swal2-validation-message{font-size:1em}.swal2-toast div:where(.swal2-footer){margin:.5em 0 0;padding:.5em 0 0;font-size:.8em}.swal2-toast button:where(.swal2-close){grid-column:3/3;grid-row:1/99;align-self:center;width:.8em;height:.8em;margin:0;font-size:2em}.swal2-toast div:where(.swal2-html-container){margin:.5em 1em;padding:0;overflow:initial;font-size:1em;text-align:initial}.swal2-toast div:where(.swal2-html-container):empty{padding:0}.swal2-toast .swal2-loader{grid-column:1;grid-row:1/99;align-self:center;width:2em;height:2em;margin:.25em}.swal2-toast .swal2-icon{grid-column:1;grid-row:1/99;align-self:center;width:2em;min-width:2em;height:2em;margin:0 .5em 0 0}.swal2-toast .swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:1.8em;font-weight:bold}.swal2-toast .swal2-icon.swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line]{top:.875em;width:1.375em}.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:.3125em}.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:.3125em}.swal2-toast div:where(.swal2-actions){justify-content:flex-start;height:auto;margin:0;margin-top:.5em;padding:0 .5em}.swal2-toast button:where(.swal2-styled){margin:.25em .5em;padding:.4em .6em;font-size:1em}.swal2-toast .swal2-success{border-color:#a5dc86}.swal2-toast .swal2-success [class^=swal2-success-circular-line]{position:absolute;width:1.6em;height:3em;border-radius:50%}.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=left]{top:-0.8em;left:-0.5em;transform:rotate(-45deg);transform-origin:2em 2em;border-radius:4em 0 0 4em}.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=right]{top:-0.25em;left:.9375em;transform-origin:0 1.5em;border-radius:0 4em 4em 0}.swal2-toast .swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-toast .swal2-success .swal2-success-fix{top:0;left:.4375em;width:.4375em;height:2.6875em}.swal2-toast .swal2-success [class^=swal2-success-line]{height:.3125em}.swal2-toast .swal2-success [class^=swal2-success-line][class$=tip]{top:1.125em;left:.1875em;width:.75em}.swal2-toast .swal2-success [class^=swal2-success-line][class$=long]{top:.9375em;right:.1875em;width:1.375em}@container swal2-popup style(--swal2-icon-animations:true){.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-tip{animation:swal2-toast-animate-success-line-tip .75s}.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-long{animation:swal2-toast-animate-success-line-long .75s}}.swal2-toast.swal2-show{animation:var(--swal2-toast-show-animation)}.swal2-toast.swal2-hide{animation:var(--swal2-toast-hide-animation)}@keyframes swal2-show{0%{transform:translate3d(0, -50px, 0) scale(0.9);opacity:0}100%{transform:translate3d(0, 0, 0) scale(1);opacity:1}}@keyframes swal2-hide{0%{transform:translate3d(0, 0, 0) scale(1);opacity:1}100%{transform:translate3d(0, -50px, 0) scale(0.9);opacity:0}}@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:-0.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.8125em;width:1.5625em}}@keyframes swal2-animate-success-line-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-rotate-success-circular-line{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}100%{transform:rotate(-405deg)}}@keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;transform:scale(0.4);opacity:0}50%{margin-top:1.625em;transform:scale(0.4);opacity:0}80%{margin-top:-0.375em;transform:scale(1.15)}100%{margin-top:0;transform:scale(1);opacity:1}}@keyframes swal2-animate-error-icon{0%{transform:rotateX(100deg);opacity:0}100%{transform:rotateX(0deg);opacity:1}}@keyframes swal2-rotate-loading{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes swal2-animate-question-mark{0%{transform:rotateY(-360deg)}100%{transform:rotateY(0)}}@keyframes swal2-animate-i-mark{0%{transform:rotateZ(45deg);opacity:0}25%{transform:rotateZ(-25deg);opacity:.4}50%{transform:rotateZ(15deg);opacity:.8}75%{transform:rotateZ(-5deg);opacity:1}100%{transform:rotateX(0);opacity:1}}@keyframes swal2-toast-show{0%{transform:translateY(-0.625em) rotateZ(2deg)}33%{transform:translateY(0) rotateZ(-2deg)}66%{transform:translateY(0.3125em) rotateZ(2deg)}100%{transform:translateY(0) rotateZ(0deg)}}@keyframes swal2-toast-hide{100%{transform:rotateZ(1deg);opacity:0}}@keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-0.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@keyframes swal2-toast-animate-success-line-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}}"); | |
| 6558 | 6596 | |
| 6559 | 6597 | /***/ }, |
| 6560 | 6598 | |
| 6561 | 6599 | /***/ "./node_modules/toastify-js/src/toastify.js" |
| @@ -7015,19 +7053,19 @@ | ||
| 7015 | 7053 | |
| 7016 | 7054 | /******/ }); |
| 7017 | 7055 | /************************************************************************/ |
| 7018 | 7056 | /******/ // The module cache |
| 7019 | -/******/ const __webpack_module_cache__ = {}; | |
| 7057 | +/******/ var __webpack_module_cache__ = {}; | |
| 7020 | 7058 | /******/ |
| 7021 | 7059 | /******/ // The require function |
| 7022 | 7060 | /******/ function __webpack_require__(moduleId) { |
| 7023 | 7061 | /******/ // Check if module is in cache |
| 7024 | -/******/ const cachedModule = __webpack_module_cache__[moduleId]; | |
| 7062 | +/******/ var cachedModule = __webpack_module_cache__[moduleId]; | |
| 7025 | 7063 | /******/ if (cachedModule !== undefined) { |
| 7026 | 7064 | /******/ return cachedModule.exports; |
| 7027 | 7065 | /******/ } |
| 7028 | 7066 | /******/ // Create a new module (and put it into the cache) |
| 7029 | -/******/ const module = __webpack_module_cache__[moduleId] = { | |
| 7067 | +/******/ var module = __webpack_module_cache__[moduleId] = { | |
| 7030 | 7068 | /******/ id: moduleId, |
| 7031 | 7069 | /******/ // no module.loaded needed |
| 7032 | 7070 | /******/ exports: {} |
| 7033 | 7071 | /******/ }; |
| @@ -7034,9 +7072,9 @@ | ||
| 7034 | 7072 | /******/ |
| 7035 | 7073 | /******/ // Execute the module function |
| 7036 | 7074 | /******/ if (!(moduleId in __webpack_modules__)) { |
| 7037 | 7075 | /******/ delete __webpack_module_cache__[moduleId]; |
| 7038 | -/******/ const e = new Error("Cannot find module '" + moduleId + "'"); | |
| 7076 | +/******/ var e = new Error("Cannot find module '" + moduleId + "'"); | |
| 7039 | 7077 | /******/ e.code = 'MODULE_NOT_FOUND'; |
| 7040 | 7078 | /******/ throw e; |
| 7041 | 7079 | /******/ } |
| 7042 | 7080 | /******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__); |
| @@ -7049,9 +7087,9 @@ | ||
| 7049 | 7087 | /******/ /* webpack/runtime/compat get default export */ |
| 7050 | 7088 | /******/ (() => { |
| 7051 | 7089 | /******/ // getDefaultExport function for compatibility with non-harmony modules |
| 7052 | 7090 | /******/ __webpack_require__.n = (module) => { |
| 7053 | -/******/ const getter = module && module.__esModule ? | |
| 7091 | +/******/ var getter = module && module.__esModule ? | |
| 7054 | 7092 | /******/ () => (module['default']) : |
| 7055 | 7093 | /******/ () => (module); |
| 7056 | 7094 | /******/ __webpack_require__.d(getter, { a: getter }); |
| 7057 | 7095 | /******/ return getter; |
| @@ -7059,29 +7097,14 @@ | ||
| 7059 | 7097 | /******/ })(); |
| 7060 | 7098 | /******/ |
| 7061 | 7099 | /******/ /* webpack/runtime/define property getters */ |
| 7062 | 7100 | /******/ (() => { |
| 7063 | -/******/ // define getter/value functions for harmony exports | |
| 7101 | +/******/ // define getter functions for harmony exports | |
| 7064 | 7102 | /******/ __webpack_require__.d = (exports, definition) => { |
| 7065 | -/******/ if(Array.isArray(definition)) { | |
| 7066 | -/******/ var i = 0; | |
| 7067 | -/******/ while(i < definition.length) { | |
| 7068 | -/******/ var key = definition[i++]; | |
| 7069 | -/******/ var binding = definition[i++]; | |
| 7070 | -/******/ if(!__webpack_require__.o(exports, key)) { | |
| 7071 | -/******/ if(binding === 0) { | |
| 7072 | -/******/ Object.defineProperty(exports, key, { enumerable: true, value: definition[i++] }); | |
| 7073 | -/******/ } else { | |
| 7074 | -/******/ Object.defineProperty(exports, key, { enumerable: true, get: binding }); | |
| 7075 | -/******/ } | |
| 7076 | -/******/ } else if(binding === 0) { i++; } | |
| 7103 | +/******/ for(var key in definition) { | |
| 7104 | +/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { | |
| 7105 | +/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); | |
| 7077 | 7106 | /******/ } |
| 7078 | -/******/ } else { | |
| 7079 | -/******/ for(var key in definition) { | |
| 7080 | -/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { | |
| 7081 | -/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); | |
| 7082 | -/******/ } | |
| 7083 | -/******/ } | |
| 7084 | 7107 | /******/ } |
| 7085 | 7108 | /******/ }; |
| 7086 | 7109 | /******/ })(); |
| 7087 | 7110 | /******/ |
| @@ -7086,9 +7109,9 @@ | ||
| 7086 | 7109 | /******/ })(); |
| 7087 | 7110 | /******/ |
| 7088 | 7111 | /******/ /* webpack/runtime/hasOwnProperty shorthand */ |
| 7089 | 7112 | /******/ (() => { |
| 7090 | -/******/ __webpack_require__.o = (obj, prop) => (Object.hasOwn(obj, prop)) | |
| 7113 | +/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) | |
| 7091 | 7114 | /******/ })(); |
| 7092 | 7115 | /******/ |
| 7093 | 7116 | /******/ /* webpack/runtime/make namespace object */ |
| 7094 | 7117 | /******/ (() => { |
| @@ -7093,9 +7116,9 @@ | ||
| 7093 | 7116 | /******/ /* webpack/runtime/make namespace object */ |
| 7094 | 7117 | /******/ (() => { |
| 7095 | 7118 | /******/ // define __esModule on exports |
| 7096 | 7119 | /******/ __webpack_require__.r = (exports) => { |
| 7097 | -/******/ if(Symbol.toStringTag) { | |
| 7120 | +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { | |
| 7098 | 7121 | /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); |
| 7099 | 7122 | /******/ } |
| 7100 | 7123 | /******/ Object.defineProperty(exports, '__esModule', { value: true }); |
| 7101 | 7124 | /******/ }; |
| @@ -7106,9 +7129,9 @@ | ||
| 7106 | 7129 | /******/ __webpack_require__.nc = undefined; |
| 7107 | 7130 | /******/ })(); |
| 7108 | 7131 | /******/ |
| 7109 | 7132 | /************************************************************************/ |
| 7110 | -let __webpack_exports__ = {}; | |
| 7133 | +var __webpack_exports__ = {}; | |
| 7111 | 7134 | // This entry needs to be wrapped in an IIFE because it needs to be in strict mode. |
| 7112 | 7135 | (() => { |
| 7113 | 7136 | "use strict"; |
| 7114 | 7137 | /*!**********************************************!*\ |