| @@ -7296,9 +7296,9 @@ | ||
| 7296 | 7296 | \**********************************************************/ |
| 7297 | 7297 | (module) { |
| 7298 | 7298 | |
| 7299 | 7299 | /*! |
| 7300 | -* sweetalert2 v11.26.25 | |
| 7300 | +* sweetalert2 v11.26.17 | |
| 7301 | 7301 | * Released under the MIT License. |
| 7302 | 7302 | */ |
| 7303 | 7303 | (function (global, factory) { |
| 7304 | 7304 | true ? module.exports = factory() : |
| @@ -7467,13 +7467,8 @@ | ||
| 7467 | 7467 | */ |
| 7468 | 7468 | const isPromise = arg => arg && Promise.resolve(arg) === arg; |
| 7469 | 7469 | |
| 7470 | 7470 | /** |
| 7471 | - * @returns {boolean} | |
| 7472 | - */ | |
| 7473 | - const isFirefox = () => navigator.userAgent.includes('Firefox'); | |
| 7474 | - | |
| 7475 | - /** | |
| 7476 | 7471 | * Gets the popup container which contains the backdrop and the popup itself. |
| 7477 | 7472 | * |
| 7478 | 7473 | * @returns {HTMLElement | null} |
| 7479 | 7474 | */ |
| @@ -7695,9 +7690,15 @@ | ||
| 7695 | 7690 | const hasClass = (elem, className) => { |
| 7696 | 7691 | if (!className) { |
| 7697 | 7692 | return false; |
| 7698 | 7693 | } |
| 7699 | - return className.split(/\s+/).every(cls => elem.classList.contains(cls)); | |
| 7694 | + const classList = className.split(/\s+/); | |
| 7695 | + for (let i = 0; i < classList.length; i++) { | |
| 7696 | + if (!elem.classList.contains(classList[i])) { | |
| 7697 | + return false; | |
| 7698 | + } | |
| 7699 | + } | |
| 7700 | + return true; | |
| 7700 | 7701 | }; |
| 7701 | 7702 | |
| 7702 | 7703 | /** |
| 7703 | 7704 | * @param {HTMLElement} elem |
| @@ -7780,18 +7781,27 @@ | ||
| 7780 | 7781 | const toggleClass = (target, classList, condition) => { |
| 7781 | 7782 | if (!target || !classList) { |
| 7782 | 7783 | return; |
| 7783 | 7784 | } |
| 7784 | - const classes = typeof classList === 'string' ? classList.split(/\s+/).filter(Boolean) : classList; | |
| 7785 | - const targets = Array.isArray(target) ? target : [target]; | |
| 7786 | - targets.forEach(elem => { | |
| 7787 | - classes.forEach(className => { | |
| 7785 | + if (typeof classList === 'string') { | |
| 7786 | + classList = classList.split(/\s+/).filter(Boolean); | |
| 7787 | + } | |
| 7788 | + classList.forEach(className => { | |
| 7789 | + if (Array.isArray(target)) { | |
| 7790 | + target.forEach(elem => { | |
| 7791 | + if (condition) { | |
| 7792 | + elem.classList.add(className); | |
| 7793 | + } else { | |
| 7794 | + elem.classList.remove(className); | |
| 7795 | + } | |
| 7796 | + }); | |
| 7797 | + } else { | |
| 7788 | 7798 | if (condition) { |
| 7789 | - elem.classList.add(className); | |
| 7799 | + target.classList.add(className); | |
| 7790 | 7800 | } else { |
| 7791 | - elem.classList.remove(className); | |
| 7801 | + target.classList.remove(className); | |
| 7792 | 7802 | } |
| 7793 | - }); | |
| 7803 | + } | |
| 7794 | 7804 | }); |
| 7795 | 7805 | }; |
| 7796 | 7806 | |
| 7797 | 7807 | /** |
| @@ -7816,10 +7826,17 @@ | ||
| 7816 | 7826 | * @param {HTMLElement} elem |
| 7817 | 7827 | * @param {string} className |
| 7818 | 7828 | * @returns {HTMLElement | undefined} |
| 7819 | 7829 | */ |
| 7820 | - const getDirectChildByClass = (elem, className) => (/** @type {HTMLElement | undefined} */ | |
| 7821 | - Array.from(elem.children).find(child => child instanceof HTMLElement && hasClass(child, className))); | |
| 7830 | + const getDirectChildByClass = (elem, className) => { | |
| 7831 | + const children = Array.from(elem.children); | |
| 7832 | + for (let i = 0; i < children.length; i++) { | |
| 7833 | + const child = children[i]; | |
| 7834 | + if (child instanceof HTMLElement && hasClass(child, className)) { | |
| 7835 | + return child; | |
| 7836 | + } | |
| 7837 | + } | |
| 7838 | + }; | |
| 7822 | 7839 | |
| 7823 | 7840 | /** |
| 7824 | 7841 | * @param {HTMLElement} elem |
| 7825 | 7842 | * @param {string} property |
| @@ -7828,9 +7845,9 @@ | ||
| 7828 | 7845 | const applyNumericalStyle = (elem, property, value) => { |
| 7829 | 7846 | if (value === `${parseInt(`${value}`)}`) { |
| 7830 | 7847 | value = parseInt(value); |
| 7831 | 7848 | } |
| 7832 | - if (value || value === 0) { | |
| 7849 | + if (value || parseInt(`${value}`) === 0) { | |
| 7833 | 7850 | elem.style.setProperty(property, typeof value === 'number' ? `${value}px` : (/** @type {string} */value)); |
| 7834 | 7851 | } else { |
| 7835 | 7852 | elem.style.removeProperty(property); |
| 7836 | 7853 | } |
| @@ -8277,17 +8294,23 @@ | ||
| 8277 | 8294 | return; |
| 8278 | 8295 | } |
| 8279 | 8296 | addClass([confirmButton, denyButton, cancelButton], swalClasses.styled); |
| 8280 | 8297 | |
| 8281 | - // Apply custom background colors and outline colors to action buttons | |
| 8282 | - /** @type {[HTMLElement, string, string | undefined][]} */ | |
| 8283 | - const buttons = [[confirmButton, 'confirm', params.confirmButtonColor], [denyButton, 'deny', params.denyButtonColor], [cancelButton, 'cancel', params.cancelButtonColor]]; | |
| 8284 | - buttons.forEach(([button, type, color]) => { | |
| 8285 | - if (color) { | |
| 8286 | - button.style.setProperty(`--swal2-${type}-button-background-color`, color); | |
| 8287 | - } | |
| 8288 | - applyOutlineColor(button); | |
| 8289 | - }); | |
| 8298 | + // Apply custom background colors to action buttons | |
| 8299 | + if (params.confirmButtonColor) { | |
| 8300 | + confirmButton.style.setProperty('--swal2-confirm-button-background-color', params.confirmButtonColor); | |
| 8301 | + } | |
| 8302 | + if (params.denyButtonColor) { | |
| 8303 | + denyButton.style.setProperty('--swal2-deny-button-background-color', params.denyButtonColor); | |
| 8304 | + } | |
| 8305 | + if (params.cancelButtonColor) { | |
| 8306 | + cancelButton.style.setProperty('--swal2-cancel-button-background-color', params.cancelButtonColor); | |
| 8307 | + } | |
| 8308 | + | |
| 8309 | + // Apply the outline color to action buttons | |
| 8310 | + applyOutlineColor(confirmButton); | |
| 8311 | + applyOutlineColor(denyButton); | |
| 8312 | + applyOutlineColor(cancelButton); | |
| 8290 | 8313 | } |
| 8291 | 8314 | |
| 8292 | 8315 | /** |
| 8293 | 8316 | * @param {HTMLElement} button |
| @@ -8402,10 +8425,9 @@ | ||
| 8402 | 8425 | */ |
| 8403 | 8426 | |
| 8404 | 8427 | var privateProps = { |
| 8405 | 8428 | innerParams: new WeakMap(), |
| 8406 | - domCache: new WeakMap(), | |
| 8407 | - focusedElement: new WeakMap() | |
| 8429 | + domCache: new WeakMap() | |
| 8408 | 8430 | }; |
| 8409 | 8431 | |
| 8410 | 8432 | /// <reference path="../../../../sweetalert2.d.ts"/> |
| 8411 | 8433 | |
| @@ -8477,13 +8499,12 @@ | ||
| 8477 | 8499 | /** |
| 8478 | 8500 | * @param {HTMLInputElement} input |
| 8479 | 8501 | */ |
| 8480 | 8502 | const removeAttributes = input => { |
| 8481 | - for (const { | |
| 8482 | - name | |
| 8483 | - } of Array.from(input.attributes)) { | |
| 8484 | - if (!['id', 'type', 'value', 'style'].includes(name)) { | |
| 8485 | - input.removeAttribute(name); | |
| 8503 | + for (let i = 0; i < input.attributes.length; i++) { | |
| 8504 | + const attrName = input.attributes[i].name; | |
| 8505 | + if (!['id', 'type', 'value', 'style'].includes(attrName)) { | |
| 8506 | + input.removeAttribute(attrName); | |
| 8486 | 8507 | } |
| 8487 | 8508 | } |
| 8488 | 8509 | }; |
| 8489 | 8510 | |
| @@ -8581,14 +8602,12 @@ | ||
| 8581 | 8602 | * @returns {Input} |
| 8582 | 8603 | */ |
| 8583 | 8604 | 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} */ |
| 8584 | 8605 | (input, params) => { |
| 8585 | - // oxfmt-ignore | |
| 8586 | 8606 | const inputElement = /** @type {HTMLInputElement} */input; |
| 8587 | 8607 | checkAndSetInputValue(inputElement, params.inputValue); |
| 8588 | 8608 | setInputLabel(inputElement, inputElement, params); |
| 8589 | 8609 | setInputPlaceholder(inputElement, params); |
| 8590 | - // oxfmt-ignore | |
| 8591 | 8610 | inputElement.type = /** @type {string} */params.input; |
| 8592 | 8611 | return inputElement; |
| 8593 | 8612 | }; |
| 8594 | 8613 | |
| @@ -8852,11 +8871,11 @@ | ||
| 8852 | 8871 | } |
| 8853 | 8872 | const popupBackgroundColor = window.getComputedStyle(popup).getPropertyValue('background-color'); |
| 8854 | 8873 | /** @type {NodeListOf<HTMLElement>} */ |
| 8855 | 8874 | const successIconParts = popup.querySelectorAll('[class^=swal2-success-circular-line], .swal2-success-fix'); |
| 8856 | - successIconParts.forEach(part => { | |
| 8857 | - part.style.backgroundColor = popupBackgroundColor; | |
| 8858 | - }); | |
| 8875 | + for (let i = 0; i < successIconParts.length; i++) { | |
| 8876 | + successIconParts[i].style.backgroundColor = popupBackgroundColor; | |
| 8877 | + } | |
| 8859 | 8878 | }; |
| 8860 | 8879 | |
| 8861 | 8880 | /** |
| 8862 | 8881 | * |
| @@ -9036,12 +9055,20 @@ | ||
| 9036 | 9055 | * @param {MouseEvent | TouchEvent} event |
| 9037 | 9056 | * @returns {{ clientX: number, clientY: number }} |
| 9038 | 9057 | */ |
| 9039 | 9058 | const getClientXY = event => { |
| 9040 | - const source = event.type.startsWith('touch') ? /** @type {TouchEvent} */event.touches[0] : (/** @type {MouseEvent} */event); | |
| 9059 | + let clientX = 0, | |
| 9060 | + clientY = 0; | |
| 9061 | + if (event.type.startsWith('mouse')) { | |
| 9062 | + clientX = /** @type {MouseEvent} */event.clientX; | |
| 9063 | + clientY = /** @type {MouseEvent} */event.clientY; | |
| 9064 | + } else if (event.type.startsWith('touch')) { | |
| 9065 | + clientX = /** @type {TouchEvent} */event.touches[0].clientX; | |
| 9066 | + clientY = /** @type {TouchEvent} */event.touches[0].clientY; | |
| 9067 | + } | |
| 9041 | 9068 | return { |
| 9042 | - clientX: source.clientX, | |
| 9043 | - clientY: source.clientY | |
| 9069 | + clientX, | |
| 9070 | + clientY | |
| 9044 | 9071 | }; |
| 9045 | 9072 | }; |
| 9046 | 9073 | |
| 9047 | 9074 | /** |
| @@ -9269,10 +9296,9 @@ | ||
| 9269 | 9296 | * @param {GlobalState} globalState |
| 9270 | 9297 | */ |
| 9271 | 9298 | const removeKeydownHandler = globalState => { |
| 9272 | 9299 | if (globalState.keydownTarget && globalState.keydownHandlerAdded && globalState.keydownHandler) { |
| 9273 | - const handler = /** @type {EventListenerOrEventListenerObject} */ | |
| 9274 | - /** @type {unknown} */globalState.keydownHandler; | |
| 9300 | + const handler = /** @type {EventListenerOrEventListenerObject} */ /** @type {unknown} */globalState.keydownHandler; | |
| 9275 | 9301 | globalState.keydownTarget.removeEventListener('keydown', handler, { |
| 9276 | 9302 | capture: globalState.keydownListenerCapture |
| 9277 | 9303 | }); |
| 9278 | 9304 | globalState.keydownHandlerAdded = false; |
| @@ -9305,9 +9331,8 @@ | ||
| 9305 | 9331 | |
| 9306 | 9332 | /** |
| 9307 | 9333 | * @param {number} index |
| 9308 | 9334 | * @param {number} increment |
| 9309 | - * @returns {boolean} shouldPreventDefault | |
| 9310 | 9335 | */ |
| 9311 | 9336 | const setFocus = (index, increment) => { |
| 9312 | 9337 | var _dom$getPopup; |
| 9313 | 9338 | const focusableElements = getFocusableElements(); |
| @@ -9328,19 +9353,12 @@ | ||
| 9328 | 9353 | } else if (index === -1) { |
| 9329 | 9354 | index = focusableElements.length - 1; |
| 9330 | 9355 | } |
| 9331 | 9356 | focusableElements[index].focus(); |
| 9332 | - | |
| 9333 | - // don't prevent default for iframes (Firefox fix) | |
| 9334 | - // https://github.com/sweetalert2/sweetalert2/issues/2931 | |
| 9335 | - if (isFirefox() && focusableElements[index] instanceof HTMLIFrameElement) { | |
| 9336 | - return false; | |
| 9337 | - } | |
| 9338 | - return true; | |
| 9357 | + return; | |
| 9339 | 9358 | } |
| 9340 | 9359 | // no visible focusable elements, focus the popup |
| 9341 | 9360 | (_dom$getPopup = getPopup()) === null || _dom$getPopup === void 0 || _dom$getPopup.focus(); |
| 9342 | - return true; | |
| 9343 | 9361 | }; |
| 9344 | 9362 | const arrowKeysNextButton = ['ArrowRight', 'ArrowDown']; |
| 9345 | 9363 | const arrowKeysPreviousButton = ['ArrowLeft', 'ArrowUp']; |
| 9346 | 9364 | |
| @@ -9414,27 +9432,27 @@ | ||
| 9414 | 9432 | */ |
| 9415 | 9433 | const handleTab = event => { |
| 9416 | 9434 | const targetElement = event.target; |
| 9417 | 9435 | const focusableElements = getFocusableElements(); |
| 9418 | - const btnIndex = focusableElements.findIndex(el => el === targetElement); | |
| 9436 | + let btnIndex = -1; | |
| 9437 | + for (let i = 0; i < focusableElements.length; i++) { | |
| 9438 | + if (targetElement === focusableElements[i]) { | |
| 9439 | + btnIndex = i; | |
| 9440 | + break; | |
| 9441 | + } | |
| 9442 | + } | |
| 9419 | 9443 | |
| 9420 | - // don't prevent default for iframes (Firefox fix) | |
| 9421 | - // https://github.com/sweetalert2/sweetalert2/issues/2931 | |
| 9422 | - let shouldPreventDefault = true; | |
| 9423 | - | |
| 9424 | 9444 | // Cycle to the next button |
| 9425 | 9445 | if (!event.shiftKey) { |
| 9426 | - shouldPreventDefault = setFocus(btnIndex, 1); | |
| 9446 | + setFocus(btnIndex, 1); | |
| 9427 | 9447 | } |
| 9428 | 9448 | |
| 9429 | 9449 | // Cycle to the prev button |
| 9430 | 9450 | else { |
| 9431 | - shouldPreventDefault = setFocus(btnIndex, -1); | |
| 9451 | + setFocus(btnIndex, -1); | |
| 9432 | 9452 | } |
| 9433 | 9453 | event.stopPropagation(); |
| 9434 | - if (shouldPreventDefault) { | |
| 9435 | - event.preventDefault(); | |
| 9436 | - } | |
| 9454 | + event.preventDefault(); | |
| 9437 | 9455 | }; |
| 9438 | 9456 | |
| 9439 | 9457 | /** |
| 9440 | 9458 | * @param {string} key |
| @@ -9530,11 +9548,8 @@ | ||
| 9530 | 9548 | |
| 9531 | 9549 | // @ts-ignore |
| 9532 | 9550 | const isSafariOrIOS = typeof window !== 'undefined' && Boolean(window.GestureEvent); // true for Safari desktop + all iOS browsers https://stackoverflow.com/a/70585394 |
| 9533 | 9551 | |
| 9534 | - // @ts-ignore | |
| 9535 | - const isIOS = isSafariOrIOS && /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream; | |
| 9536 | - | |
| 9537 | 9552 | /** |
| 9538 | 9553 | * Fix iOS scrolling |
| 9539 | 9554 | * http://stackoverflow.com/q/39626302 |
| 9540 | 9555 | */ |
| @@ -10116,10 +10131,30 @@ | ||
| 10116 | 10131 | * @typedef {string[]} InputOptionFlattened |
| 10117 | 10132 | * @returns {InputOptionFlattened[]} |
| 10118 | 10133 | */ |
| 10119 | 10134 | const formatInputOptions = inputOptions => { |
| 10120 | - const entries = inputOptions instanceof Map ? Array.from(inputOptions) : Object.entries(inputOptions); | |
| 10121 | - return entries.map(([key, value]) => [key, typeof value === 'object' ? formatInputOptions(value) : value]); // case of <optgroup> | |
| 10135 | + /** @type {InputOptionFlattened[]} */ | |
| 10136 | + const result = []; | |
| 10137 | + if (inputOptions instanceof Map) { | |
| 10138 | + inputOptions.forEach((value, key) => { | |
| 10139 | + let valueFormatted = value; | |
| 10140 | + if (typeof valueFormatted === 'object') { | |
| 10141 | + // case of <optgroup> | |
| 10142 | + valueFormatted = formatInputOptions(valueFormatted); | |
| 10143 | + } | |
| 10144 | + result.push([key, valueFormatted]); | |
| 10145 | + }); | |
| 10146 | + } else { | |
| 10147 | + Object.keys(inputOptions).forEach(key => { | |
| 10148 | + let valueFormatted = inputOptions[key]; | |
| 10149 | + if (typeof valueFormatted === 'object') { | |
| 10150 | + // case of <optgroup> | |
| 10151 | + valueFormatted = formatInputOptions(valueFormatted); | |
| 10152 | + } | |
| 10153 | + result.push([key, valueFormatted]); | |
| 10154 | + }); | |
| 10155 | + } | |
| 10156 | + return result; | |
| 10122 | 10157 | }; |
| 10123 | 10158 | |
| 10124 | 10159 | /** |
| 10125 | 10160 | * @param {string} optionValue |
| @@ -10125,9 +10160,11 @@ | ||
| 10125 | 10160 | * @param {string} optionValue |
| 10126 | 10161 | * @param {SweetAlertInputValue} inputValue |
| 10127 | 10162 | * @returns {boolean} |
| 10128 | 10163 | */ |
| 10129 | - const isSelected = (optionValue, inputValue) => Boolean(inputValue) && inputValue != null && inputValue.toString() === optionValue.toString(); | |
| 10164 | + const isSelected = (optionValue, inputValue) => { | |
| 10165 | + return Boolean(inputValue) && inputValue !== null && inputValue !== undefined && inputValue.toString() === optionValue.toString(); | |
| 10166 | + }; | |
| 10130 | 10167 | |
| 10131 | 10168 | /** |
| 10132 | 10169 | * @param {SweetAlert} instance |
| 10133 | 10170 | */ |
| @@ -10308,9 +10345,11 @@ | ||
| 10308 | 10345 | } |
| 10309 | 10346 | removeClass([domCache.popup, domCache.actions], swalClasses.loading); |
| 10310 | 10347 | domCache.popup.removeAttribute('aria-busy'); |
| 10311 | 10348 | domCache.popup.removeAttribute('data-loading'); |
| 10312 | - this.enableButtons(); | |
| 10349 | + domCache.confirmButton.disabled = false; | |
| 10350 | + domCache.denyButton.disabled = false; | |
| 10351 | + domCache.cancelButton.disabled = false; | |
| 10313 | 10352 | } |
| 10314 | 10353 | |
| 10315 | 10354 | /** |
| 10316 | 10355 | * @param {DomCache} domCache |
| @@ -10363,11 +10402,11 @@ | ||
| 10363 | 10402 | } |
| 10364 | 10403 | if (input.type === 'radio') { |
| 10365 | 10404 | /** @type {NodeListOf<HTMLInputElement>} */ |
| 10366 | 10405 | const radios = popup.querySelectorAll(`[name="${swalClasses.radio}"]`); |
| 10367 | - radios.forEach(radio => { | |
| 10368 | - radio.disabled = disabled; | |
| 10369 | - }); | |
| 10406 | + for (let i = 0; i < radios.length; i++) { | |
| 10407 | + radios[i].disabled = disabled; | |
| 10408 | + } | |
| 10370 | 10409 | } else { |
| 10371 | 10410 | input.disabled = disabled; |
| 10372 | 10411 | } |
| 10373 | 10412 | } |
| @@ -10377,13 +10416,8 @@ | ||
| 10377 | 10416 | * @this {SweetAlert} |
| 10378 | 10417 | */ |
| 10379 | 10418 | function enableButtons() { |
| 10380 | 10419 | setButtonsDisabled(this, ['confirmButton', 'denyButton', 'cancelButton'], false); |
| 10381 | - const focusedElement = privateProps.focusedElement.get(this); | |
| 10382 | - if (focusedElement instanceof HTMLElement && document.activeElement === document.body) { | |
| 10383 | - focusedElement.focus(); | |
| 10384 | - } | |
| 10385 | - privateProps.focusedElement.delete(this); | |
| 10386 | 10420 | } |
| 10387 | 10421 | |
| 10388 | 10422 | /** |
| 10389 | 10423 | * Disable all the buttons |
| @@ -10389,9 +10423,8 @@ | ||
| 10389 | 10423 | * Disable all the buttons |
| 10390 | 10424 | * @this {SweetAlert} |
| 10391 | 10425 | */ |
| 10392 | 10426 | function disableButtons() { |
| 10393 | - privateProps.focusedElement.set(this, document.activeElement); | |
| 10394 | 10427 | setButtonsDisabled(this, ['confirmButton', 'denyButton', 'cancelButton'], true); |
| 10395 | 10428 | } |
| 10396 | 10429 | |
| 10397 | 10430 | /** |
| @@ -10898,25 +10931,25 @@ | ||
| 10898 | 10931 | }; |
| 10899 | 10932 | }; |
| 10900 | 10933 | |
| 10901 | 10934 | /** |
| 10902 | - * @param {unknown} elem | |
| 10935 | + * @param {any} elem | |
| 10903 | 10936 | * @returns {boolean} |
| 10904 | 10937 | */ |
| 10905 | - const isJqueryElement = elem => typeof elem === 'object' && elem !== null && 'jquery' in elem; | |
| 10938 | + const isJqueryElement = elem => typeof elem === 'object' && elem.jquery; | |
| 10906 | 10939 | |
| 10907 | 10940 | /** |
| 10908 | - * @param {unknown} elem | |
| 10941 | + * @param {any} elem | |
| 10909 | 10942 | * @returns {boolean} |
| 10910 | 10943 | */ |
| 10911 | 10944 | const isElement = elem => elem instanceof Element || isJqueryElement(elem); |
| 10912 | 10945 | |
| 10913 | 10946 | /** |
| 10914 | - * @param {ReadonlyArray<unknown>} args | |
| 10947 | + * @param {any[]} args | |
| 10915 | 10948 | * @returns {SweetAlertOptions} |
| 10916 | 10949 | */ |
| 10917 | 10950 | const argsToParams = args => { |
| 10918 | - /** @type {Record<string, unknown>} */ | |
| 10951 | + /** @type {Record<string, any>} */ | |
| 10919 | 10952 | const params = {}; |
| 10920 | 10953 | if (typeof args[0] === 'object' && !isElement(args[0])) { |
| 10921 | 10954 | Object.assign(params, args[0]); |
| 10922 | 10955 | } else { |
| @@ -10928,9 +10961,9 @@ | ||
| 10928 | 10961 | error(`Unexpected type of ${name}! Expected "string" or "Element", got ${typeof arg}`); |
| 10929 | 10962 | } |
| 10930 | 10963 | }); |
| 10931 | 10964 | } |
| 10932 | - return /** @type {SweetAlertOptions} */params; | |
| 10965 | + return params; | |
| 10933 | 10966 | }; |
| 10934 | 10967 | |
| 10935 | 10968 | /** |
| 10936 | 10969 | * Main method to create a new SweetAlert2 popup |
| @@ -11421,15 +11454,19 @@ | ||
| 11421 | 11454 | return; |
| 11422 | 11455 | } |
| 11423 | 11456 | result[`${type}ButtonText`] = button.innerHTML; |
| 11424 | 11457 | result[`show${capitalizeFirstLetter(type)}Button`] = true; |
| 11425 | - const color = button.getAttribute('color'); | |
| 11426 | - if (color !== null) { | |
| 11427 | - result[`${type}ButtonColor`] = color; | |
| 11458 | + if (button.hasAttribute('color')) { | |
| 11459 | + const color = button.getAttribute('color'); | |
| 11460 | + if (color !== null) { | |
| 11461 | + result[`${type}ButtonColor`] = color; | |
| 11462 | + } | |
| 11428 | 11463 | } |
| 11429 | - const ariaLabel = button.getAttribute('aria-label'); | |
| 11430 | - if (ariaLabel !== null) { | |
| 11431 | - result[`${type}ButtonAriaLabel`] = ariaLabel; | |
| 11464 | + if (button.hasAttribute('aria-label')) { | |
| 11465 | + const ariaLabel = button.getAttribute('aria-label'); | |
| 11466 | + if (ariaLabel !== null) { | |
| 11467 | + result[`${type}ButtonAriaLabel`] = ariaLabel; | |
| 11468 | + } | |
| 11432 | 11469 | } |
| 11433 | 11470 | }); |
| 11434 | 11471 | return result; |
| 11435 | 11472 | }; |
| @@ -11443,17 +11480,20 @@ | ||
| 11443 | 11480 | /** @type {HTMLElement | null} */ |
| 11444 | 11481 | const image = templateContent.querySelector('swal-image'); |
| 11445 | 11482 | if (image) { |
| 11446 | 11483 | showWarningsForAttributes(image, ['src', 'width', 'height', 'alt']); |
| 11447 | - // getAttribute returns null if attribute is absent; `|| undefined` converts empty string to undefined | |
| 11448 | - const src = image.getAttribute('src'); | |
| 11449 | - if (src !== null) result.imageUrl = src || undefined; | |
| 11450 | - const width = image.getAttribute('width'); | |
| 11451 | - if (width !== null) result.imageWidth = width || undefined; | |
| 11452 | - const height = image.getAttribute('height'); | |
| 11453 | - if (height !== null) result.imageHeight = height || undefined; | |
| 11454 | - const alt = image.getAttribute('alt'); | |
| 11455 | - if (alt !== null) result.imageAlt = alt || undefined; | |
| 11484 | + if (image.hasAttribute('src')) { | |
| 11485 | + result.imageUrl = image.getAttribute('src') || undefined; | |
| 11486 | + } | |
| 11487 | + if (image.hasAttribute('width')) { | |
| 11488 | + result.imageWidth = image.getAttribute('width') || undefined; | |
| 11489 | + } | |
| 11490 | + if (image.hasAttribute('height')) { | |
| 11491 | + result.imageHeight = image.getAttribute('height') || undefined; | |
| 11492 | + } | |
| 11493 | + if (image.hasAttribute('alt')) { | |
| 11494 | + result.imageAlt = image.getAttribute('alt') || undefined; | |
| 11495 | + } | |
| 11456 | 11496 | } |
| 11457 | 11497 | return result; |
| 11458 | 11498 | }; |
| 11459 | 11499 | |
| @@ -11588,17 +11628,12 @@ | ||
| 11588 | 11628 | setTimeout(() => { |
| 11589 | 11629 | setScrollingVisibility(container, popup); |
| 11590 | 11630 | }, SHOW_CLASS_TIMEOUT); |
| 11591 | 11631 | if (isModal()) { |
| 11632 | + // Using ternary instead of ?? operator for Webpack 4 compatibility | |
| 11592 | 11633 | fixScrollContainer(container, params.scrollbarPadding !== undefined ? params.scrollbarPadding : false, initialBodyOverflow); |
| 11593 | 11634 | setAriaHidden(); |
| 11594 | 11635 | } |
| 11595 | - | |
| 11596 | - // https://github.com/sweetalert2/sweetalert2/issues/2923 | |
| 11597 | - if (isIOS && params.backdrop === false && popup.scrollHeight > container.clientHeight) { | |
| 11598 | - // remove pointer-events: none from container, it breaks scrolling tall popups in iOS | |
| 11599 | - container.style.pointerEvents = 'auto'; | |
| 11600 | - } | |
| 11601 | 11636 | if (!isToast() && !globalState.previousActiveElement) { |
| 11602 | 11637 | globalState.previousActiveElement = document.activeElement; |
| 11603 | 11638 | } |
| 11604 | 11639 | if (typeof params.didOpen === 'function') { |
| @@ -11770,10 +11805,9 @@ | ||
| 11770 | 11805 | constructor(...args) { |
| 11771 | 11806 | /** |
| 11772 | 11807 | * @type {Promise<SweetAlertResult>} |
| 11773 | 11808 | */ |
| 11774 | - _classPrivateFieldInitSpec(this, _promise, /** @type {Promise<SweetAlertResult>} */ | |
| 11775 | - Promise.resolve({ | |
| 11809 | + _classPrivateFieldInitSpec(this, _promise, /** @type {Promise<SweetAlertResult>} */Promise.resolve({ | |
| 11776 | 11810 | isConfirmed: false, |
| 11777 | 11811 | isDenied: false, |
| 11778 | 11812 | isDismissed: true |
| 11779 | 11813 | })); |
| @@ -11837,9 +11871,8 @@ | ||
| 11837 | 11871 | // `catch` cannot be the name of a module export, so we define our thenable methods here instead |
| 11838 | 11872 | /** |
| 11839 | 11873 | * @param {any} onFulfilled |
| 11840 | 11874 | */ |
| 11841 | - // oxlint-disable-next-line unicorn/no-thenable | |
| 11842 | 11875 | then(onFulfilled) { |
| 11843 | 11876 | return _classPrivateFieldGet2(_promise, this).then(onFulfilled); |
| 11844 | 11877 | } |
| 11845 | 11878 | |
| @@ -11983,10 +12016,10 @@ | ||
| 11983 | 12016 | return; |
| 11984 | 12017 | } |
| 11985 | 12018 | // TODO: this is dumb, remove `allowEnterKey` param in the next major version |
| 11986 | 12019 | if (!callIfFunction(innerParams.allowEnterKey)) { |
| 11987 | - warnAboutDeprecation('allowEnterKey', 'preConfirm: () => false'); | |
| 11988 | - domCache.popup.focus(); | |
| 12020 | + warnAboutDeprecation('allowEnterKey'); | |
| 12021 | + blurActiveElement(); | |
| 11989 | 12022 | return; |
| 11990 | 12023 | } |
| 11991 | 12024 | if (focusAutofocus(domCache)) { |
| 11992 | 12025 | return; |
| @@ -12031,8 +12064,13 @@ | ||
| 12031 | 12064 | return true; |
| 12032 | 12065 | } |
| 12033 | 12066 | return false; |
| 12034 | 12067 | }; |
| 12068 | + const blurActiveElement = () => { | |
| 12069 | + if (document.activeElement instanceof HTMLElement && typeof document.activeElement.blur === 'function') { | |
| 12070 | + document.activeElement.blur(); | |
| 12071 | + } | |
| 12072 | + }; | |
| 12035 | 12073 | |
| 12036 | 12074 | // Assign instance methods from src/instanceMethods/*.js to prototype |
| 12037 | 12075 | SweetAlert.prototype.disableButtons = disableButtons; |
| 12038 | 12076 | SweetAlert.prototype.enableButtons = enableButtons; |
| @@ -12070,9 +12108,9 @@ | ||
| 12070 | 12108 | return undefined; |
| 12071 | 12109 | }; |
| 12072 | 12110 | }); |
| 12073 | 12111 | SweetAlert.DismissReason = DismissReason; |
| 12074 | - SweetAlert.version = '11.26.25'; | |
| 12112 | + SweetAlert.version = '11.26.17'; | |
| 12075 | 12113 | |
| 12076 | 12114 | const Swal = SweetAlert; |
| 12077 | 12115 | // @ts-ignore |
| 12078 | 12116 | Swal.default = Swal; |
| @@ -12080,9 +12118,9 @@ | ||
| 12080 | 12118 | return Swal; |
| 12081 | 12119 | |
| 12082 | 12120 | })); |
| 12083 | 12121 | if (typeof this !== 'undefined' && this.Sweetalert2){this.swal = this.sweetAlert = this.Swal = this.SweetAlert = this.Sweetalert2} |
| 12084 | -"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}}"); | |
| 12122 | +"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}}"); | |
| 12085 | 12123 | |
| 12086 | 12124 | /***/ }, |
| 12087 | 12125 | |
| 12088 | 12126 | /***/ "./node_modules/toastify-js/src/toastify.js" |
| @@ -12542,19 +12580,19 @@ | ||
| 12542 | 12580 | |
| 12543 | 12581 | /******/ }); |
| 12544 | 12582 | /************************************************************************/ |
| 12545 | 12583 | /******/ // The module cache |
| 12546 | -/******/ const __webpack_module_cache__ = {}; | |
| 12584 | +/******/ var __webpack_module_cache__ = {}; | |
| 12547 | 12585 | /******/ |
| 12548 | 12586 | /******/ // The require function |
| 12549 | 12587 | /******/ function __webpack_require__(moduleId) { |
| 12550 | 12588 | /******/ // Check if module is in cache |
| 12551 | -/******/ const cachedModule = __webpack_module_cache__[moduleId]; | |
| 12589 | +/******/ var cachedModule = __webpack_module_cache__[moduleId]; | |
| 12552 | 12590 | /******/ if (cachedModule !== undefined) { |
| 12553 | 12591 | /******/ return cachedModule.exports; |
| 12554 | 12592 | /******/ } |
| 12555 | 12593 | /******/ // Create a new module (and put it into the cache) |
| 12556 | -/******/ const module = __webpack_module_cache__[moduleId] = { | |
| 12594 | +/******/ var module = __webpack_module_cache__[moduleId] = { | |
| 12557 | 12595 | /******/ id: moduleId, |
| 12558 | 12596 | /******/ // no module.loaded needed |
| 12559 | 12597 | /******/ exports: {} |
| 12560 | 12598 | /******/ }; |
| @@ -12561,9 +12599,9 @@ | ||
| 12561 | 12599 | /******/ |
| 12562 | 12600 | /******/ // Execute the module function |
| 12563 | 12601 | /******/ if (!(moduleId in __webpack_modules__)) { |
| 12564 | 12602 | /******/ delete __webpack_module_cache__[moduleId]; |
| 12565 | -/******/ const e = new Error("Cannot find module '" + moduleId + "'"); | |
| 12603 | +/******/ var e = new Error("Cannot find module '" + moduleId + "'"); | |
| 12566 | 12604 | /******/ e.code = 'MODULE_NOT_FOUND'; |
| 12567 | 12605 | /******/ throw e; |
| 12568 | 12606 | /******/ } |
| 12569 | 12607 | /******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__); |
| @@ -12576,9 +12614,9 @@ | ||
| 12576 | 12614 | /******/ /* webpack/runtime/compat get default export */ |
| 12577 | 12615 | /******/ (() => { |
| 12578 | 12616 | /******/ // getDefaultExport function for compatibility with non-harmony modules |
| 12579 | 12617 | /******/ __webpack_require__.n = (module) => { |
| 12580 | -/******/ const getter = module && module.__esModule ? | |
| 12618 | +/******/ var getter = module && module.__esModule ? | |
| 12581 | 12619 | /******/ () => (module['default']) : |
| 12582 | 12620 | /******/ () => (module); |
| 12583 | 12621 | /******/ __webpack_require__.d(getter, { a: getter }); |
| 12584 | 12622 | /******/ return getter; |
| @@ -12586,29 +12624,14 @@ | ||
| 12586 | 12624 | /******/ })(); |
| 12587 | 12625 | /******/ |
| 12588 | 12626 | /******/ /* webpack/runtime/define property getters */ |
| 12589 | 12627 | /******/ (() => { |
| 12590 | -/******/ // define getter/value functions for harmony exports | |
| 12628 | +/******/ // define getter functions for harmony exports | |
| 12591 | 12629 | /******/ __webpack_require__.d = (exports, definition) => { |
| 12592 | -/******/ if(Array.isArray(definition)) { | |
| 12593 | -/******/ var i = 0; | |
| 12594 | -/******/ while(i < definition.length) { | |
| 12595 | -/******/ var key = definition[i++]; | |
| 12596 | -/******/ var binding = definition[i++]; | |
| 12597 | -/******/ if(!__webpack_require__.o(exports, key)) { | |
| 12598 | -/******/ if(binding === 0) { | |
| 12599 | -/******/ Object.defineProperty(exports, key, { enumerable: true, value: definition[i++] }); | |
| 12600 | -/******/ } else { | |
| 12601 | -/******/ Object.defineProperty(exports, key, { enumerable: true, get: binding }); | |
| 12602 | -/******/ } | |
| 12603 | -/******/ } else if(binding === 0) { i++; } | |
| 12630 | +/******/ for(var key in definition) { | |
| 12631 | +/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { | |
| 12632 | +/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); | |
| 12604 | 12633 | /******/ } |
| 12605 | -/******/ } else { | |
| 12606 | -/******/ for(var key in definition) { | |
| 12607 | -/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { | |
| 12608 | -/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); | |
| 12609 | -/******/ } | |
| 12610 | -/******/ } | |
| 12611 | 12634 | /******/ } |
| 12612 | 12635 | /******/ }; |
| 12613 | 12636 | /******/ })(); |
| 12614 | 12637 | /******/ |
| @@ -12613,9 +12636,9 @@ | ||
| 12613 | 12636 | /******/ })(); |
| 12614 | 12637 | /******/ |
| 12615 | 12638 | /******/ /* webpack/runtime/hasOwnProperty shorthand */ |
| 12616 | 12639 | /******/ (() => { |
| 12617 | -/******/ __webpack_require__.o = (obj, prop) => (Object.hasOwn(obj, prop)) | |
| 12640 | +/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) | |
| 12618 | 12641 | /******/ })(); |
| 12619 | 12642 | /******/ |
| 12620 | 12643 | /******/ /* webpack/runtime/make namespace object */ |
| 12621 | 12644 | /******/ (() => { |
| @@ -12620,9 +12643,9 @@ | ||
| 12620 | 12643 | /******/ /* webpack/runtime/make namespace object */ |
| 12621 | 12644 | /******/ (() => { |
| 12622 | 12645 | /******/ // define __esModule on exports |
| 12623 | 12646 | /******/ __webpack_require__.r = (exports) => { |
| 12624 | -/******/ if(Symbol.toStringTag) { | |
| 12647 | +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { | |
| 12625 | 12648 | /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); |
| 12626 | 12649 | /******/ } |
| 12627 | 12650 | /******/ Object.defineProperty(exports, '__esModule', { value: true }); |
| 12628 | 12651 | /******/ }; |
| @@ -12633,9 +12656,9 @@ | ||
| 12633 | 12656 | /******/ __webpack_require__.nc = undefined; |
| 12634 | 12657 | /******/ })(); |
| 12635 | 12658 | /******/ |
| 12636 | 12659 | /************************************************************************/ |
| 12637 | -let __webpack_exports__ = {}; | |
| 12660 | +var __webpack_exports__ = {}; | |
| 12638 | 12661 | // This entry needs to be wrapped in an IIFE because it needs to be in strict mode. |
| 12639 | 12662 | (() => { |
| 12640 | 12663 | "use strict"; |
| 12641 | 12664 | /*!********************************************!*\ |