| @@ -4503,9 +4503,9 @@ | ||
| 4503 | 4503 | \**********************************************************/ |
| 4504 | 4504 | (module) { |
| 4505 | 4505 | |
| 4506 | 4506 | /*! |
| 4507 | -* sweetalert2 v11.26.17 | |
| 4507 | +* sweetalert2 v11.26.25 | |
| 4508 | 4508 | * Released under the MIT License. |
| 4509 | 4509 | */ |
| 4510 | 4510 | (function (global, factory) { |
| 4511 | 4511 | true ? module.exports = factory() : |
| @@ -4674,8 +4674,13 @@ | ||
| 4674 | 4674 | */ |
| 4675 | 4675 | const isPromise = arg => arg && Promise.resolve(arg) === arg; |
| 4676 | 4676 | |
| 4677 | 4677 | /** |
| 4678 | + * @returns {boolean} | |
| 4679 | + */ | |
| 4680 | + const isFirefox = () => navigator.userAgent.includes('Firefox'); | |
| 4681 | + | |
| 4682 | + /** | |
| 4678 | 4683 | * Gets the popup container which contains the backdrop and the popup itself. |
| 4679 | 4684 | * |
| 4680 | 4685 | * @returns {HTMLElement | null} |
| 4681 | 4686 | */ |
| @@ -4897,15 +4902,9 @@ | ||
| 4897 | 4902 | const hasClass = (elem, className) => { |
| 4898 | 4903 | if (!className) { |
| 4899 | 4904 | return false; |
| 4900 | 4905 | } |
| 4901 | - const classList = className.split(/\s+/); | |
| 4902 | - for (let i = 0; i < classList.length; i++) { | |
| 4903 | - if (!elem.classList.contains(classList[i])) { | |
| 4904 | - return false; | |
| 4905 | - } | |
| 4906 | - } | |
| 4907 | - return true; | |
| 4906 | + return className.split(/\s+/).every(cls => elem.classList.contains(cls)); | |
| 4908 | 4907 | }; |
| 4909 | 4908 | |
| 4910 | 4909 | /** |
| 4911 | 4910 | * @param {HTMLElement} elem |
| @@ -4988,27 +4987,18 @@ | ||
| 4988 | 4987 | const toggleClass = (target, classList, condition) => { |
| 4989 | 4988 | if (!target || !classList) { |
| 4990 | 4989 | return; |
| 4991 | 4990 | } |
| 4992 | - if (typeof classList === 'string') { | |
| 4993 | - classList = classList.split(/\s+/).filter(Boolean); | |
| 4994 | - } | |
| 4995 | - classList.forEach(className => { | |
| 4996 | - if (Array.isArray(target)) { | |
| 4997 | - target.forEach(elem => { | |
| 4998 | - if (condition) { | |
| 4999 | - elem.classList.add(className); | |
| 5000 | - } else { | |
| 5001 | - elem.classList.remove(className); | |
| 5002 | - } | |
| 5003 | - }); | |
| 5004 | - } else { | |
| 4991 | + const classes = typeof classList === 'string' ? classList.split(/\s+/).filter(Boolean) : classList; | |
| 4992 | + const targets = Array.isArray(target) ? target : [target]; | |
| 4993 | + targets.forEach(elem => { | |
| 4994 | + classes.forEach(className => { | |
| 5005 | 4995 | if (condition) { |
| 5006 | - target.classList.add(className); | |
| 4996 | + elem.classList.add(className); | |
| 5007 | 4997 | } else { |
| 5008 | - target.classList.remove(className); | |
| 4998 | + elem.classList.remove(className); | |
| 5009 | 4999 | } |
| 5010 | - } | |
| 5000 | + }); | |
| 5011 | 5001 | }); |
| 5012 | 5002 | }; |
| 5013 | 5003 | |
| 5014 | 5004 | /** |
| @@ -5033,17 +5023,10 @@ | ||
| 5033 | 5023 | * @param {HTMLElement} elem |
| 5034 | 5024 | * @param {string} className |
| 5035 | 5025 | * @returns {HTMLElement | undefined} |
| 5036 | 5026 | */ |
| 5037 | - const getDirectChildByClass = (elem, className) => { | |
| 5038 | - const children = Array.from(elem.children); | |
| 5039 | - for (let i = 0; i < children.length; i++) { | |
| 5040 | - const child = children[i]; | |
| 5041 | - if (child instanceof HTMLElement && hasClass(child, className)) { | |
| 5042 | - return child; | |
| 5043 | - } | |
| 5044 | - } | |
| 5045 | - }; | |
| 5027 | + const getDirectChildByClass = (elem, className) => (/** @type {HTMLElement | undefined} */ | |
| 5028 | + Array.from(elem.children).find(child => child instanceof HTMLElement && hasClass(child, className))); | |
| 5046 | 5029 | |
| 5047 | 5030 | /** |
| 5048 | 5031 | * @param {HTMLElement} elem |
| 5049 | 5032 | * @param {string} property |
| @@ -5052,9 +5035,9 @@ | ||
| 5052 | 5035 | const applyNumericalStyle = (elem, property, value) => { |
| 5053 | 5036 | if (value === `${parseInt(`${value}`)}`) { |
| 5054 | 5037 | value = parseInt(value); |
| 5055 | 5038 | } |
| 5056 | - if (value || parseInt(`${value}`) === 0) { | |
| 5039 | + if (value || value === 0) { | |
| 5057 | 5040 | elem.style.setProperty(property, typeof value === 'number' ? `${value}px` : (/** @type {string} */value)); |
| 5058 | 5041 | } else { |
| 5059 | 5042 | elem.style.removeProperty(property); |
| 5060 | 5043 | } |
| @@ -5501,23 +5484,17 @@ | ||
| 5501 | 5484 | return; |
| 5502 | 5485 | } |
| 5503 | 5486 | addClass([confirmButton, denyButton, cancelButton], swalClasses.styled); |
| 5504 | 5487 | |
| 5505 | - // Apply custom background colors to action buttons | |
| 5506 | - if (params.confirmButtonColor) { | |
| 5507 | - confirmButton.style.setProperty('--swal2-confirm-button-background-color', params.confirmButtonColor); | |
| 5508 | - } | |
| 5509 | - if (params.denyButtonColor) { | |
| 5510 | - denyButton.style.setProperty('--swal2-deny-button-background-color', params.denyButtonColor); | |
| 5511 | - } | |
| 5512 | - if (params.cancelButtonColor) { | |
| 5513 | - cancelButton.style.setProperty('--swal2-cancel-button-background-color', params.cancelButtonColor); | |
| 5514 | - } | |
| 5515 | - | |
| 5516 | - // Apply the outline color to action buttons | |
| 5517 | - applyOutlineColor(confirmButton); | |
| 5518 | - applyOutlineColor(denyButton); | |
| 5519 | - applyOutlineColor(cancelButton); | |
| 5488 | + // Apply custom background colors and outline colors to action buttons | |
| 5489 | + /** @type {[HTMLElement, string, string | undefined][]} */ | |
| 5490 | + const buttons = [[confirmButton, 'confirm', params.confirmButtonColor], [denyButton, 'deny', params.denyButtonColor], [cancelButton, 'cancel', params.cancelButtonColor]]; | |
| 5491 | + buttons.forEach(([button, type, color]) => { | |
| 5492 | + if (color) { | |
| 5493 | + button.style.setProperty(`--swal2-${type}-button-background-color`, color); | |
| 5494 | + } | |
| 5495 | + applyOutlineColor(button); | |
| 5496 | + }); | |
| 5520 | 5497 | } |
| 5521 | 5498 | |
| 5522 | 5499 | /** |
| 5523 | 5500 | * @param {HTMLElement} button |
| @@ -5632,9 +5609,10 @@ | ||
| 5632 | 5609 | */ |
| 5633 | 5610 | |
| 5634 | 5611 | var privateProps = { |
| 5635 | 5612 | innerParams: new WeakMap(), |
| 5636 | - domCache: new WeakMap() | |
| 5613 | + domCache: new WeakMap(), | |
| 5614 | + focusedElement: new WeakMap() | |
| 5637 | 5615 | }; |
| 5638 | 5616 | |
| 5639 | 5617 | /// <reference path="../../../../sweetalert2.d.ts"/> |
| 5640 | 5618 | |
| @@ -5706,12 +5684,13 @@ | ||
| 5706 | 5684 | /** |
| 5707 | 5685 | * @param {HTMLInputElement} input |
| 5708 | 5686 | */ |
| 5709 | 5687 | const removeAttributes = input => { |
| 5710 | - for (let i = 0; i < input.attributes.length; i++) { | |
| 5711 | - const attrName = input.attributes[i].name; | |
| 5712 | - if (!['id', 'type', 'value', 'style'].includes(attrName)) { | |
| 5713 | - input.removeAttribute(attrName); | |
| 5688 | + for (const { | |
| 5689 | + name | |
| 5690 | + } of Array.from(input.attributes)) { | |
| 5691 | + if (!['id', 'type', 'value', 'style'].includes(name)) { | |
| 5692 | + input.removeAttribute(name); | |
| 5714 | 5693 | } |
| 5715 | 5694 | } |
| 5716 | 5695 | }; |
| 5717 | 5696 | |
| @@ -5809,12 +5788,14 @@ | ||
| 5809 | 5788 | * @returns {Input} |
| 5810 | 5789 | */ |
| 5811 | 5790 | 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} */ |
| 5812 | 5791 | (input, params) => { |
| 5792 | + // oxfmt-ignore | |
| 5813 | 5793 | const inputElement = /** @type {HTMLInputElement} */input; |
| 5814 | 5794 | checkAndSetInputValue(inputElement, params.inputValue); |
| 5815 | 5795 | setInputLabel(inputElement, inputElement, params); |
| 5816 | 5796 | setInputPlaceholder(inputElement, params); |
| 5797 | + // oxfmt-ignore | |
| 5817 | 5798 | inputElement.type = /** @type {string} */params.input; |
| 5818 | 5799 | return inputElement; |
| 5819 | 5800 | }; |
| 5820 | 5801 | |
| @@ -6078,11 +6059,11 @@ | ||
| 6078 | 6059 | } |
| 6079 | 6060 | const popupBackgroundColor = window.getComputedStyle(popup).getPropertyValue('background-color'); |
| 6080 | 6061 | /** @type {NodeListOf<HTMLElement>} */ |
| 6081 | 6062 | const successIconParts = popup.querySelectorAll('[class^=swal2-success-circular-line], .swal2-success-fix'); |
| 6082 | - for (let i = 0; i < successIconParts.length; i++) { | |
| 6083 | - successIconParts[i].style.backgroundColor = popupBackgroundColor; | |
| 6084 | - } | |
| 6063 | + successIconParts.forEach(part => { | |
| 6064 | + part.style.backgroundColor = popupBackgroundColor; | |
| 6065 | + }); | |
| 6085 | 6066 | }; |
| 6086 | 6067 | |
| 6087 | 6068 | /** |
| 6088 | 6069 | * |
| @@ -6262,20 +6243,12 @@ | ||
| 6262 | 6243 | * @param {MouseEvent | TouchEvent} event |
| 6263 | 6244 | * @returns {{ clientX: number, clientY: number }} |
| 6264 | 6245 | */ |
| 6265 | 6246 | const getClientXY = event => { |
| 6266 | - let clientX = 0, | |
| 6267 | - clientY = 0; | |
| 6268 | - if (event.type.startsWith('mouse')) { | |
| 6269 | - clientX = /** @type {MouseEvent} */event.clientX; | |
| 6270 | - clientY = /** @type {MouseEvent} */event.clientY; | |
| 6271 | - } else if (event.type.startsWith('touch')) { | |
| 6272 | - clientX = /** @type {TouchEvent} */event.touches[0].clientX; | |
| 6273 | - clientY = /** @type {TouchEvent} */event.touches[0].clientY; | |
| 6274 | - } | |
| 6247 | + const source = event.type.startsWith('touch') ? /** @type {TouchEvent} */event.touches[0] : (/** @type {MouseEvent} */event); | |
| 6275 | 6248 | return { |
| 6276 | - clientX, | |
| 6277 | - clientY | |
| 6249 | + clientX: source.clientX, | |
| 6250 | + clientY: source.clientY | |
| 6278 | 6251 | }; |
| 6279 | 6252 | }; |
| 6280 | 6253 | |
| 6281 | 6254 | /** |
| @@ -6503,9 +6476,10 @@ | ||
| 6503 | 6476 | * @param {GlobalState} globalState |
| 6504 | 6477 | */ |
| 6505 | 6478 | const removeKeydownHandler = globalState => { |
| 6506 | 6479 | if (globalState.keydownTarget && globalState.keydownHandlerAdded && globalState.keydownHandler) { |
| 6507 | - const handler = /** @type {EventListenerOrEventListenerObject} */ /** @type {unknown} */globalState.keydownHandler; | |
| 6480 | + const handler = /** @type {EventListenerOrEventListenerObject} */ | |
| 6481 | + /** @type {unknown} */globalState.keydownHandler; | |
| 6508 | 6482 | globalState.keydownTarget.removeEventListener('keydown', handler, { |
| 6509 | 6483 | capture: globalState.keydownListenerCapture |
| 6510 | 6484 | }); |
| 6511 | 6485 | globalState.keydownHandlerAdded = false; |
| @@ -6538,8 +6512,9 @@ | ||
| 6538 | 6512 | |
| 6539 | 6513 | /** |
| 6540 | 6514 | * @param {number} index |
| 6541 | 6515 | * @param {number} increment |
| 6516 | + * @returns {boolean} shouldPreventDefault | |
| 6542 | 6517 | */ |
| 6543 | 6518 | const setFocus = (index, increment) => { |
| 6544 | 6519 | var _dom$getPopup; |
| 6545 | 6520 | const focusableElements = getFocusableElements(); |
| @@ -6560,12 +6535,19 @@ | ||
| 6560 | 6535 | } else if (index === -1) { |
| 6561 | 6536 | index = focusableElements.length - 1; |
| 6562 | 6537 | } |
| 6563 | 6538 | focusableElements[index].focus(); |
| 6564 | - return; | |
| 6539 | + | |
| 6540 | + // don't prevent default for iframes (Firefox fix) | |
| 6541 | + // https://github.com/sweetalert2/sweetalert2/issues/2931 | |
| 6542 | + if (isFirefox() && focusableElements[index] instanceof HTMLIFrameElement) { | |
| 6543 | + return false; | |
| 6544 | + } | |
| 6545 | + return true; | |
| 6565 | 6546 | } |
| 6566 | 6547 | // no visible focusable elements, focus the popup |
| 6567 | 6548 | (_dom$getPopup = getPopup()) === null || _dom$getPopup === void 0 || _dom$getPopup.focus(); |
| 6549 | + return true; | |
| 6568 | 6550 | }; |
| 6569 | 6551 | const arrowKeysNextButton = ['ArrowRight', 'ArrowDown']; |
| 6570 | 6552 | const arrowKeysPreviousButton = ['ArrowLeft', 'ArrowUp']; |
| 6571 | 6553 | |
| @@ -6639,27 +6621,27 @@ | ||
| 6639 | 6621 | */ |
| 6640 | 6622 | const handleTab = event => { |
| 6641 | 6623 | const targetElement = event.target; |
| 6642 | 6624 | const focusableElements = getFocusableElements(); |
| 6643 | - let btnIndex = -1; | |
| 6644 | - for (let i = 0; i < focusableElements.length; i++) { | |
| 6645 | - if (targetElement === focusableElements[i]) { | |
| 6646 | - btnIndex = i; | |
| 6647 | - break; | |
| 6648 | - } | |
| 6649 | - } | |
| 6625 | + const btnIndex = focusableElements.findIndex(el => el === targetElement); | |
| 6650 | 6626 | |
| 6627 | + // don't prevent default for iframes (Firefox fix) | |
| 6628 | + // https://github.com/sweetalert2/sweetalert2/issues/2931 | |
| 6629 | + let shouldPreventDefault = true; | |
| 6630 | + | |
| 6651 | 6631 | // Cycle to the next button |
| 6652 | 6632 | if (!event.shiftKey) { |
| 6653 | - setFocus(btnIndex, 1); | |
| 6633 | + shouldPreventDefault = setFocus(btnIndex, 1); | |
| 6654 | 6634 | } |
| 6655 | 6635 | |
| 6656 | 6636 | // Cycle to the prev button |
| 6657 | 6637 | else { |
| 6658 | - setFocus(btnIndex, -1); | |
| 6638 | + shouldPreventDefault = setFocus(btnIndex, -1); | |
| 6659 | 6639 | } |
| 6660 | 6640 | event.stopPropagation(); |
| 6661 | - event.preventDefault(); | |
| 6641 | + if (shouldPreventDefault) { | |
| 6642 | + event.preventDefault(); | |
| 6643 | + } | |
| 6662 | 6644 | }; |
| 6663 | 6645 | |
| 6664 | 6646 | /** |
| 6665 | 6647 | * @param {string} key |
| @@ -6755,8 +6737,11 @@ | ||
| 6755 | 6737 | |
| 6756 | 6738 | // @ts-ignore |
| 6757 | 6739 | const isSafariOrIOS = typeof window !== 'undefined' && Boolean(window.GestureEvent); // true for Safari desktop + all iOS browsers https://stackoverflow.com/a/70585394 |
| 6758 | 6740 | |
| 6741 | + // @ts-ignore | |
| 6742 | + const isIOS = isSafariOrIOS && /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream; | |
| 6743 | + | |
| 6759 | 6744 | /** |
| 6760 | 6745 | * Fix iOS scrolling |
| 6761 | 6746 | * http://stackoverflow.com/q/39626302 |
| 6762 | 6747 | */ |
| @@ -7338,30 +7323,10 @@ | ||
| 7338 | 7323 | * @typedef {string[]} InputOptionFlattened |
| 7339 | 7324 | * @returns {InputOptionFlattened[]} |
| 7340 | 7325 | */ |
| 7341 | 7326 | const formatInputOptions = inputOptions => { |
| 7342 | - /** @type {InputOptionFlattened[]} */ | |
| 7343 | - const result = []; | |
| 7344 | - if (inputOptions instanceof Map) { | |
| 7345 | - inputOptions.forEach((value, key) => { | |
| 7346 | - let valueFormatted = value; | |
| 7347 | - if (typeof valueFormatted === 'object') { | |
| 7348 | - // case of <optgroup> | |
| 7349 | - valueFormatted = formatInputOptions(valueFormatted); | |
| 7350 | - } | |
| 7351 | - result.push([key, valueFormatted]); | |
| 7352 | - }); | |
| 7353 | - } else { | |
| 7354 | - Object.keys(inputOptions).forEach(key => { | |
| 7355 | - let valueFormatted = inputOptions[key]; | |
| 7356 | - if (typeof valueFormatted === 'object') { | |
| 7357 | - // case of <optgroup> | |
| 7358 | - valueFormatted = formatInputOptions(valueFormatted); | |
| 7359 | - } | |
| 7360 | - result.push([key, valueFormatted]); | |
| 7361 | - }); | |
| 7362 | - } | |
| 7363 | - return result; | |
| 7327 | + const entries = inputOptions instanceof Map ? Array.from(inputOptions) : Object.entries(inputOptions); | |
| 7328 | + return entries.map(([key, value]) => [key, typeof value === 'object' ? formatInputOptions(value) : value]); // case of <optgroup> | |
| 7364 | 7329 | }; |
| 7365 | 7330 | |
| 7366 | 7331 | /** |
| 7367 | 7332 | * @param {string} optionValue |
| @@ -7367,11 +7332,9 @@ | ||
| 7367 | 7332 | * @param {string} optionValue |
| 7368 | 7333 | * @param {SweetAlertInputValue} inputValue |
| 7369 | 7334 | * @returns {boolean} |
| 7370 | 7335 | */ |
| 7371 | - const isSelected = (optionValue, inputValue) => { | |
| 7372 | - return Boolean(inputValue) && inputValue !== null && inputValue !== undefined && inputValue.toString() === optionValue.toString(); | |
| 7373 | - }; | |
| 7336 | + const isSelected = (optionValue, inputValue) => Boolean(inputValue) && inputValue != null && inputValue.toString() === optionValue.toString(); | |
| 7374 | 7337 | |
| 7375 | 7338 | /** |
| 7376 | 7339 | * @param {SweetAlert} instance |
| 7377 | 7340 | */ |
| @@ -7552,11 +7515,9 @@ | ||
| 7552 | 7515 | } |
| 7553 | 7516 | removeClass([domCache.popup, domCache.actions], swalClasses.loading); |
| 7554 | 7517 | domCache.popup.removeAttribute('aria-busy'); |
| 7555 | 7518 | domCache.popup.removeAttribute('data-loading'); |
| 7556 | - domCache.confirmButton.disabled = false; | |
| 7557 | - domCache.denyButton.disabled = false; | |
| 7558 | - domCache.cancelButton.disabled = false; | |
| 7519 | + this.enableButtons(); | |
| 7559 | 7520 | } |
| 7560 | 7521 | |
| 7561 | 7522 | /** |
| 7562 | 7523 | * @param {DomCache} domCache |
| @@ -7609,11 +7570,11 @@ | ||
| 7609 | 7570 | } |
| 7610 | 7571 | if (input.type === 'radio') { |
| 7611 | 7572 | /** @type {NodeListOf<HTMLInputElement>} */ |
| 7612 | 7573 | const radios = popup.querySelectorAll(`[name="${swalClasses.radio}"]`); |
| 7613 | - for (let i = 0; i < radios.length; i++) { | |
| 7614 | - radios[i].disabled = disabled; | |
| 7615 | - } | |
| 7574 | + radios.forEach(radio => { | |
| 7575 | + radio.disabled = disabled; | |
| 7576 | + }); | |
| 7616 | 7577 | } else { |
| 7617 | 7578 | input.disabled = disabled; |
| 7618 | 7579 | } |
| 7619 | 7580 | } |
| @@ -7623,8 +7584,13 @@ | ||
| 7623 | 7584 | * @this {SweetAlert} |
| 7624 | 7585 | */ |
| 7625 | 7586 | function enableButtons() { |
| 7626 | 7587 | setButtonsDisabled(this, ['confirmButton', 'denyButton', 'cancelButton'], false); |
| 7588 | + const focusedElement = privateProps.focusedElement.get(this); | |
| 7589 | + if (focusedElement instanceof HTMLElement && document.activeElement === document.body) { | |
| 7590 | + focusedElement.focus(); | |
| 7591 | + } | |
| 7592 | + privateProps.focusedElement.delete(this); | |
| 7627 | 7593 | } |
| 7628 | 7594 | |
| 7629 | 7595 | /** |
| 7630 | 7596 | * Disable all the buttons |
| @@ -7630,8 +7596,9 @@ | ||
| 7630 | 7596 | * Disable all the buttons |
| 7631 | 7597 | * @this {SweetAlert} |
| 7632 | 7598 | */ |
| 7633 | 7599 | function disableButtons() { |
| 7600 | + privateProps.focusedElement.set(this, document.activeElement); | |
| 7634 | 7601 | setButtonsDisabled(this, ['confirmButton', 'denyButton', 'cancelButton'], true); |
| 7635 | 7602 | } |
| 7636 | 7603 | |
| 7637 | 7604 | /** |
| @@ -8138,25 +8105,25 @@ | ||
| 8138 | 8105 | }; |
| 8139 | 8106 | }; |
| 8140 | 8107 | |
| 8141 | 8108 | /** |
| 8142 | - * @param {any} elem | |
| 8109 | + * @param {unknown} elem | |
| 8143 | 8110 | * @returns {boolean} |
| 8144 | 8111 | */ |
| 8145 | - const isJqueryElement = elem => typeof elem === 'object' && elem.jquery; | |
| 8112 | + const isJqueryElement = elem => typeof elem === 'object' && elem !== null && 'jquery' in elem; | |
| 8146 | 8113 | |
| 8147 | 8114 | /** |
| 8148 | - * @param {any} elem | |
| 8115 | + * @param {unknown} elem | |
| 8149 | 8116 | * @returns {boolean} |
| 8150 | 8117 | */ |
| 8151 | 8118 | const isElement = elem => elem instanceof Element || isJqueryElement(elem); |
| 8152 | 8119 | |
| 8153 | 8120 | /** |
| 8154 | - * @param {any[]} args | |
| 8121 | + * @param {ReadonlyArray<unknown>} args | |
| 8155 | 8122 | * @returns {SweetAlertOptions} |
| 8156 | 8123 | */ |
| 8157 | 8124 | const argsToParams = args => { |
| 8158 | - /** @type {Record<string, any>} */ | |
| 8125 | + /** @type {Record<string, unknown>} */ | |
| 8159 | 8126 | const params = {}; |
| 8160 | 8127 | if (typeof args[0] === 'object' && !isElement(args[0])) { |
| 8161 | 8128 | Object.assign(params, args[0]); |
| 8162 | 8129 | } else { |
| @@ -8168,9 +8135,9 @@ | ||
| 8168 | 8135 | error(`Unexpected type of ${name}! Expected "string" or "Element", got ${typeof arg}`); |
| 8169 | 8136 | } |
| 8170 | 8137 | }); |
| 8171 | 8138 | } |
| 8172 | - return params; | |
| 8139 | + return /** @type {SweetAlertOptions} */params; | |
| 8173 | 8140 | }; |
| 8174 | 8141 | |
| 8175 | 8142 | /** |
| 8176 | 8143 | * Main method to create a new SweetAlert2 popup |
| @@ -8661,19 +8628,15 @@ | ||
| 8661 | 8628 | return; |
| 8662 | 8629 | } |
| 8663 | 8630 | result[`${type}ButtonText`] = button.innerHTML; |
| 8664 | 8631 | result[`show${capitalizeFirstLetter(type)}Button`] = true; |
| 8665 | - if (button.hasAttribute('color')) { | |
| 8666 | - const color = button.getAttribute('color'); | |
| 8667 | - if (color !== null) { | |
| 8668 | - result[`${type}ButtonColor`] = color; | |
| 8669 | - } | |
| 8632 | + const color = button.getAttribute('color'); | |
| 8633 | + if (color !== null) { | |
| 8634 | + result[`${type}ButtonColor`] = color; | |
| 8670 | 8635 | } |
| 8671 | - if (button.hasAttribute('aria-label')) { | |
| 8672 | - const ariaLabel = button.getAttribute('aria-label'); | |
| 8673 | - if (ariaLabel !== null) { | |
| 8674 | - result[`${type}ButtonAriaLabel`] = ariaLabel; | |
| 8675 | - } | |
| 8636 | + const ariaLabel = button.getAttribute('aria-label'); | |
| 8637 | + if (ariaLabel !== null) { | |
| 8638 | + result[`${type}ButtonAriaLabel`] = ariaLabel; | |
| 8676 | 8639 | } |
| 8677 | 8640 | }); |
| 8678 | 8641 | return result; |
| 8679 | 8642 | }; |
| @@ -8687,20 +8650,17 @@ | ||
| 8687 | 8650 | /** @type {HTMLElement | null} */ |
| 8688 | 8651 | const image = templateContent.querySelector('swal-image'); |
| 8689 | 8652 | if (image) { |
| 8690 | 8653 | showWarningsForAttributes(image, ['src', 'width', 'height', 'alt']); |
| 8691 | - if (image.hasAttribute('src')) { | |
| 8692 | - result.imageUrl = image.getAttribute('src') || undefined; | |
| 8693 | - } | |
| 8694 | - if (image.hasAttribute('width')) { | |
| 8695 | - result.imageWidth = image.getAttribute('width') || undefined; | |
| 8696 | - } | |
| 8697 | - if (image.hasAttribute('height')) { | |
| 8698 | - result.imageHeight = image.getAttribute('height') || undefined; | |
| 8699 | - } | |
| 8700 | - if (image.hasAttribute('alt')) { | |
| 8701 | - result.imageAlt = image.getAttribute('alt') || undefined; | |
| 8702 | - } | |
| 8654 | + // getAttribute returns null if attribute is absent; `|| undefined` converts empty string to undefined | |
| 8655 | + const src = image.getAttribute('src'); | |
| 8656 | + if (src !== null) result.imageUrl = src || undefined; | |
| 8657 | + const width = image.getAttribute('width'); | |
| 8658 | + if (width !== null) result.imageWidth = width || undefined; | |
| 8659 | + const height = image.getAttribute('height'); | |
| 8660 | + if (height !== null) result.imageHeight = height || undefined; | |
| 8661 | + const alt = image.getAttribute('alt'); | |
| 8662 | + if (alt !== null) result.imageAlt = alt || undefined; | |
| 8703 | 8663 | } |
| 8704 | 8664 | return result; |
| 8705 | 8665 | }; |
| 8706 | 8666 | |
| @@ -8835,12 +8795,17 @@ | ||
| 8835 | 8795 | setTimeout(() => { |
| 8836 | 8796 | setScrollingVisibility(container, popup); |
| 8837 | 8797 | }, SHOW_CLASS_TIMEOUT); |
| 8838 | 8798 | if (isModal()) { |
| 8839 | - // Using ternary instead of ?? operator for Webpack 4 compatibility | |
| 8840 | 8799 | fixScrollContainer(container, params.scrollbarPadding !== undefined ? params.scrollbarPadding : false, initialBodyOverflow); |
| 8841 | 8800 | setAriaHidden(); |
| 8842 | 8801 | } |
| 8802 | + | |
| 8803 | + // https://github.com/sweetalert2/sweetalert2/issues/2923 | |
| 8804 | + if (isIOS && params.backdrop === false && popup.scrollHeight > container.clientHeight) { | |
| 8805 | + // remove pointer-events: none from container, it breaks scrolling tall popups in iOS | |
| 8806 | + container.style.pointerEvents = 'auto'; | |
| 8807 | + } | |
| 8843 | 8808 | if (!isToast() && !globalState.previousActiveElement) { |
| 8844 | 8809 | globalState.previousActiveElement = document.activeElement; |
| 8845 | 8810 | } |
| 8846 | 8811 | if (typeof params.didOpen === 'function') { |
| @@ -9012,9 +8977,10 @@ | ||
| 9012 | 8977 | constructor(...args) { |
| 9013 | 8978 | /** |
| 9014 | 8979 | * @type {Promise<SweetAlertResult>} |
| 9015 | 8980 | */ |
| 9016 | - _classPrivateFieldInitSpec(this, _promise, /** @type {Promise<SweetAlertResult>} */Promise.resolve({ | |
| 8981 | + _classPrivateFieldInitSpec(this, _promise, /** @type {Promise<SweetAlertResult>} */ | |
| 8982 | + Promise.resolve({ | |
| 9017 | 8983 | isConfirmed: false, |
| 9018 | 8984 | isDenied: false, |
| 9019 | 8985 | isDismissed: true |
| 9020 | 8986 | })); |
| @@ -9078,8 +9044,9 @@ | ||
| 9078 | 9044 | // `catch` cannot be the name of a module export, so we define our thenable methods here instead |
| 9079 | 9045 | /** |
| 9080 | 9046 | * @param {any} onFulfilled |
| 9081 | 9047 | */ |
| 9048 | + // oxlint-disable-next-line unicorn/no-thenable | |
| 9082 | 9049 | then(onFulfilled) { |
| 9083 | 9050 | return _classPrivateFieldGet2(_promise, this).then(onFulfilled); |
| 9084 | 9051 | } |
| 9085 | 9052 | |
| @@ -9223,10 +9190,10 @@ | ||
| 9223 | 9190 | return; |
| 9224 | 9191 | } |
| 9225 | 9192 | // TODO: this is dumb, remove `allowEnterKey` param in the next major version |
| 9226 | 9193 | if (!callIfFunction(innerParams.allowEnterKey)) { |
| 9227 | - warnAboutDeprecation('allowEnterKey'); | |
| 9228 | - blurActiveElement(); | |
| 9194 | + warnAboutDeprecation('allowEnterKey', 'preConfirm: () => false'); | |
| 9195 | + domCache.popup.focus(); | |
| 9229 | 9196 | return; |
| 9230 | 9197 | } |
| 9231 | 9198 | if (focusAutofocus(domCache)) { |
| 9232 | 9199 | return; |
| @@ -9271,13 +9238,8 @@ | ||
| 9271 | 9238 | return true; |
| 9272 | 9239 | } |
| 9273 | 9240 | return false; |
| 9274 | 9241 | }; |
| 9275 | - const blurActiveElement = () => { | |
| 9276 | - if (document.activeElement instanceof HTMLElement && typeof document.activeElement.blur === 'function') { | |
| 9277 | - document.activeElement.blur(); | |
| 9278 | - } | |
| 9279 | - }; | |
| 9280 | 9242 | |
| 9281 | 9243 | // Assign instance methods from src/instanceMethods/*.js to prototype |
| 9282 | 9244 | SweetAlert.prototype.disableButtons = disableButtons; |
| 9283 | 9245 | SweetAlert.prototype.enableButtons = enableButtons; |
| @@ -9315,9 +9277,9 @@ | ||
| 9315 | 9277 | return undefined; |
| 9316 | 9278 | }; |
| 9317 | 9279 | }); |
| 9318 | 9280 | SweetAlert.DismissReason = DismissReason; |
| 9319 | - SweetAlert.version = '11.26.17'; | |
| 9281 | + SweetAlert.version = '11.26.25'; | |
| 9320 | 9282 | |
| 9321 | 9283 | const Swal = SweetAlert; |
| 9322 | 9284 | // @ts-ignore |
| 9323 | 9285 | Swal.default = Swal; |
| @@ -9325,9 +9287,9 @@ | ||
| 9325 | 9287 | return Swal; |
| 9326 | 9288 | |
| 9327 | 9289 | })); |
| 9328 | 9290 | if (typeof this !== 'undefined' && this.Sweetalert2){this.swal = this.sweetAlert = this.Swal = this.SweetAlert = this.Sweetalert2} |
| 9329 | -"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}}"); | |
| 9291 | +"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}}"); | |
| 9330 | 9292 | |
| 9331 | 9293 | /***/ }, |
| 9332 | 9294 | |
| 9333 | 9295 | /***/ "./node_modules/toastify-js/src/toastify.js" |
| @@ -9787,19 +9749,19 @@ | ||
| 9787 | 9749 | |
| 9788 | 9750 | /******/ }); |
| 9789 | 9751 | /************************************************************************/ |
| 9790 | 9752 | /******/ // The module cache |
| 9791 | -/******/ var __webpack_module_cache__ = {}; | |
| 9753 | +/******/ const __webpack_module_cache__ = {}; | |
| 9792 | 9754 | /******/ |
| 9793 | 9755 | /******/ // The require function |
| 9794 | 9756 | /******/ function __webpack_require__(moduleId) { |
| 9795 | 9757 | /******/ // Check if module is in cache |
| 9796 | -/******/ var cachedModule = __webpack_module_cache__[moduleId]; | |
| 9758 | +/******/ const cachedModule = __webpack_module_cache__[moduleId]; | |
| 9797 | 9759 | /******/ if (cachedModule !== undefined) { |
| 9798 | 9760 | /******/ return cachedModule.exports; |
| 9799 | 9761 | /******/ } |
| 9800 | 9762 | /******/ // Create a new module (and put it into the cache) |
| 9801 | -/******/ var module = __webpack_module_cache__[moduleId] = { | |
| 9763 | +/******/ const module = __webpack_module_cache__[moduleId] = { | |
| 9802 | 9764 | /******/ id: moduleId, |
| 9803 | 9765 | /******/ // no module.loaded needed |
| 9804 | 9766 | /******/ exports: {} |
| 9805 | 9767 | /******/ }; |
| @@ -9806,9 +9768,9 @@ | ||
| 9806 | 9768 | /******/ |
| 9807 | 9769 | /******/ // Execute the module function |
| 9808 | 9770 | /******/ if (!(moduleId in __webpack_modules__)) { |
| 9809 | 9771 | /******/ delete __webpack_module_cache__[moduleId]; |
| 9810 | -/******/ var e = new Error("Cannot find module '" + moduleId + "'"); | |
| 9772 | +/******/ const e = new Error("Cannot find module '" + moduleId + "'"); | |
| 9811 | 9773 | /******/ e.code = 'MODULE_NOT_FOUND'; |
| 9812 | 9774 | /******/ throw e; |
| 9813 | 9775 | /******/ } |
| 9814 | 9776 | /******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__); |
| @@ -9821,9 +9783,9 @@ | ||
| 9821 | 9783 | /******/ /* webpack/runtime/compat get default export */ |
| 9822 | 9784 | /******/ (() => { |
| 9823 | 9785 | /******/ // getDefaultExport function for compatibility with non-harmony modules |
| 9824 | 9786 | /******/ __webpack_require__.n = (module) => { |
| 9825 | -/******/ var getter = module && module.__esModule ? | |
| 9787 | +/******/ const getter = module && module.__esModule ? | |
| 9826 | 9788 | /******/ () => (module['default']) : |
| 9827 | 9789 | /******/ () => (module); |
| 9828 | 9790 | /******/ __webpack_require__.d(getter, { a: getter }); |
| 9829 | 9791 | /******/ return getter; |
| @@ -9831,14 +9793,29 @@ | ||
| 9831 | 9793 | /******/ })(); |
| 9832 | 9794 | /******/ |
| 9833 | 9795 | /******/ /* webpack/runtime/define property getters */ |
| 9834 | 9796 | /******/ (() => { |
| 9835 | -/******/ // define getter functions for harmony exports | |
| 9797 | +/******/ // define getter/value functions for harmony exports | |
| 9836 | 9798 | /******/ __webpack_require__.d = (exports, definition) => { |
| 9837 | -/******/ for(var key in definition) { | |
| 9838 | -/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { | |
| 9839 | -/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); | |
| 9799 | +/******/ if(Array.isArray(definition)) { | |
| 9800 | +/******/ var i = 0; | |
| 9801 | +/******/ while(i < definition.length) { | |
| 9802 | +/******/ var key = definition[i++]; | |
| 9803 | +/******/ var binding = definition[i++]; | |
| 9804 | +/******/ if(!__webpack_require__.o(exports, key)) { | |
| 9805 | +/******/ if(binding === 0) { | |
| 9806 | +/******/ Object.defineProperty(exports, key, { enumerable: true, value: definition[i++] }); | |
| 9807 | +/******/ } else { | |
| 9808 | +/******/ Object.defineProperty(exports, key, { enumerable: true, get: binding }); | |
| 9809 | +/******/ } | |
| 9810 | +/******/ } else if(binding === 0) { i++; } | |
| 9840 | 9811 | /******/ } |
| 9812 | +/******/ } else { | |
| 9813 | +/******/ for(var key in definition) { | |
| 9814 | +/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { | |
| 9815 | +/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); | |
| 9816 | +/******/ } | |
| 9817 | +/******/ } | |
| 9841 | 9818 | /******/ } |
| 9842 | 9819 | /******/ }; |
| 9843 | 9820 | /******/ })(); |
| 9844 | 9821 | /******/ |
| @@ -9843,9 +9820,9 @@ | ||
| 9843 | 9820 | /******/ })(); |
| 9844 | 9821 | /******/ |
| 9845 | 9822 | /******/ /* webpack/runtime/hasOwnProperty shorthand */ |
| 9846 | 9823 | /******/ (() => { |
| 9847 | -/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) | |
| 9824 | +/******/ __webpack_require__.o = (obj, prop) => (Object.hasOwn(obj, prop)) | |
| 9848 | 9825 | /******/ })(); |
| 9849 | 9826 | /******/ |
| 9850 | 9827 | /******/ /* webpack/runtime/make namespace object */ |
| 9851 | 9828 | /******/ (() => { |
| @@ -9850,9 +9827,9 @@ | ||
| 9850 | 9827 | /******/ /* webpack/runtime/make namespace object */ |
| 9851 | 9828 | /******/ (() => { |
| 9852 | 9829 | /******/ // define __esModule on exports |
| 9853 | 9830 | /******/ __webpack_require__.r = (exports) => { |
| 9854 | -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { | |
| 9831 | +/******/ if(Symbol.toStringTag) { | |
| 9855 | 9832 | /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); |
| 9856 | 9833 | /******/ } |
| 9857 | 9834 | /******/ Object.defineProperty(exports, '__esModule', { value: true }); |
| 9858 | 9835 | /******/ }; |
| @@ -9863,9 +9840,9 @@ | ||
| 9863 | 9840 | /******/ __webpack_require__.nc = undefined; |
| 9864 | 9841 | /******/ })(); |
| 9865 | 9842 | /******/ |
| 9866 | 9843 | /************************************************************************/ |
| 9867 | -var __webpack_exports__ = {}; | |
| 9844 | +let __webpack_exports__ = {}; | |
| 9868 | 9845 | // This entry needs to be wrapped in an IIFE because it needs to be in strict mode. |
| 9869 | 9846 | (() => { |
| 9870 | 9847 | "use strict"; |
| 9871 | 9848 | /*!**********************************************!*\ |