| @@ -6142,9 +6142,9 @@ | ||
| 6142 | 6142 | \**********************************************************/ |
| 6143 | 6143 | (module) { |
| 6144 | 6144 | |
| 6145 | 6145 | /*! |
| 6146 | -* sweetalert2 v11.26.17 | |
| 6146 | +* sweetalert2 v11.26.25 | |
| 6147 | 6147 | * Released under the MIT License. |
| 6148 | 6148 | */ |
| 6149 | 6149 | (function (global, factory) { |
| 6150 | 6150 | true ? module.exports = factory() : |
| @@ -6313,8 +6313,13 @@ | ||
| 6313 | 6313 | */ |
| 6314 | 6314 | const isPromise = arg => arg && Promise.resolve(arg) === arg; |
| 6315 | 6315 | |
| 6316 | 6316 | /** |
| 6317 | + * @returns {boolean} | |
| 6318 | + */ | |
| 6319 | + const isFirefox = () => navigator.userAgent.includes('Firefox'); | |
| 6320 | + | |
| 6321 | + /** | |
| 6317 | 6322 | * Gets the popup container which contains the backdrop and the popup itself. |
| 6318 | 6323 | * |
| 6319 | 6324 | * @returns {HTMLElement | null} |
| 6320 | 6325 | */ |
| @@ -6536,15 +6541,9 @@ | ||
| 6536 | 6541 | const hasClass = (elem, className) => { |
| 6537 | 6542 | if (!className) { |
| 6538 | 6543 | return false; |
| 6539 | 6544 | } |
| 6540 | - const classList = className.split(/\s+/); | |
| 6541 | - for (let i = 0; i < classList.length; i++) { | |
| 6542 | - if (!elem.classList.contains(classList[i])) { | |
| 6543 | - return false; | |
| 6544 | - } | |
| 6545 | - } | |
| 6546 | - return true; | |
| 6545 | + return className.split(/\s+/).every(cls => elem.classList.contains(cls)); | |
| 6547 | 6546 | }; |
| 6548 | 6547 | |
| 6549 | 6548 | /** |
| 6550 | 6549 | * @param {HTMLElement} elem |
| @@ -6627,27 +6626,18 @@ | ||
| 6627 | 6626 | const toggleClass = (target, classList, condition) => { |
| 6628 | 6627 | if (!target || !classList) { |
| 6629 | 6628 | return; |
| 6630 | 6629 | } |
| 6631 | - if (typeof classList === 'string') { | |
| 6632 | - classList = classList.split(/\s+/).filter(Boolean); | |
| 6633 | - } | |
| 6634 | - classList.forEach(className => { | |
| 6635 | - if (Array.isArray(target)) { | |
| 6636 | - target.forEach(elem => { | |
| 6637 | - if (condition) { | |
| 6638 | - elem.classList.add(className); | |
| 6639 | - } else { | |
| 6640 | - elem.classList.remove(className); | |
| 6641 | - } | |
| 6642 | - }); | |
| 6643 | - } else { | |
| 6630 | + const classes = typeof classList === 'string' ? classList.split(/\s+/).filter(Boolean) : classList; | |
| 6631 | + const targets = Array.isArray(target) ? target : [target]; | |
| 6632 | + targets.forEach(elem => { | |
| 6633 | + classes.forEach(className => { | |
| 6644 | 6634 | if (condition) { |
| 6645 | - target.classList.add(className); | |
| 6635 | + elem.classList.add(className); | |
| 6646 | 6636 | } else { |
| 6647 | - target.classList.remove(className); | |
| 6637 | + elem.classList.remove(className); | |
| 6648 | 6638 | } |
| 6649 | - } | |
| 6639 | + }); | |
| 6650 | 6640 | }); |
| 6651 | 6641 | }; |
| 6652 | 6642 | |
| 6653 | 6643 | /** |
| @@ -6672,17 +6662,10 @@ | ||
| 6672 | 6662 | * @param {HTMLElement} elem |
| 6673 | 6663 | * @param {string} className |
| 6674 | 6664 | * @returns {HTMLElement | undefined} |
| 6675 | 6665 | */ |
| 6676 | - const getDirectChildByClass = (elem, className) => { | |
| 6677 | - const children = Array.from(elem.children); | |
| 6678 | - for (let i = 0; i < children.length; i++) { | |
| 6679 | - const child = children[i]; | |
| 6680 | - if (child instanceof HTMLElement && hasClass(child, className)) { | |
| 6681 | - return child; | |
| 6682 | - } | |
| 6683 | - } | |
| 6684 | - }; | |
| 6666 | + const getDirectChildByClass = (elem, className) => (/** @type {HTMLElement | undefined} */ | |
| 6667 | + Array.from(elem.children).find(child => child instanceof HTMLElement && hasClass(child, className))); | |
| 6685 | 6668 | |
| 6686 | 6669 | /** |
| 6687 | 6670 | * @param {HTMLElement} elem |
| 6688 | 6671 | * @param {string} property |
| @@ -6691,9 +6674,9 @@ | ||
| 6691 | 6674 | const applyNumericalStyle = (elem, property, value) => { |
| 6692 | 6675 | if (value === `${parseInt(`${value}`)}`) { |
| 6693 | 6676 | value = parseInt(value); |
| 6694 | 6677 | } |
| 6695 | - if (value || parseInt(`${value}`) === 0) { | |
| 6678 | + if (value || value === 0) { | |
| 6696 | 6679 | elem.style.setProperty(property, typeof value === 'number' ? `${value}px` : (/** @type {string} */value)); |
| 6697 | 6680 | } else { |
| 6698 | 6681 | elem.style.removeProperty(property); |
| 6699 | 6682 | } |
| @@ -7140,23 +7123,17 @@ | ||
| 7140 | 7123 | return; |
| 7141 | 7124 | } |
| 7142 | 7125 | addClass([confirmButton, denyButton, cancelButton], swalClasses.styled); |
| 7143 | 7126 | |
| 7144 | - // Apply custom background colors to action buttons | |
| 7145 | - if (params.confirmButtonColor) { | |
| 7146 | - confirmButton.style.setProperty('--swal2-confirm-button-background-color', params.confirmButtonColor); | |
| 7147 | - } | |
| 7148 | - if (params.denyButtonColor) { | |
| 7149 | - denyButton.style.setProperty('--swal2-deny-button-background-color', params.denyButtonColor); | |
| 7150 | - } | |
| 7151 | - if (params.cancelButtonColor) { | |
| 7152 | - cancelButton.style.setProperty('--swal2-cancel-button-background-color', params.cancelButtonColor); | |
| 7153 | - } | |
| 7154 | - | |
| 7155 | - // Apply the outline color to action buttons | |
| 7156 | - applyOutlineColor(confirmButton); | |
| 7157 | - applyOutlineColor(denyButton); | |
| 7158 | - applyOutlineColor(cancelButton); | |
| 7127 | + // Apply custom background colors and outline colors to action buttons | |
| 7128 | + /** @type {[HTMLElement, string, string | undefined][]} */ | |
| 7129 | + const buttons = [[confirmButton, 'confirm', params.confirmButtonColor], [denyButton, 'deny', params.denyButtonColor], [cancelButton, 'cancel', params.cancelButtonColor]]; | |
| 7130 | + buttons.forEach(([button, type, color]) => { | |
| 7131 | + if (color) { | |
| 7132 | + button.style.setProperty(`--swal2-${type}-button-background-color`, color); | |
| 7133 | + } | |
| 7134 | + applyOutlineColor(button); | |
| 7135 | + }); | |
| 7159 | 7136 | } |
| 7160 | 7137 | |
| 7161 | 7138 | /** |
| 7162 | 7139 | * @param {HTMLElement} button |
| @@ -7271,9 +7248,10 @@ | ||
| 7271 | 7248 | */ |
| 7272 | 7249 | |
| 7273 | 7250 | var privateProps = { |
| 7274 | 7251 | innerParams: new WeakMap(), |
| 7275 | - domCache: new WeakMap() | |
| 7252 | + domCache: new WeakMap(), | |
| 7253 | + focusedElement: new WeakMap() | |
| 7276 | 7254 | }; |
| 7277 | 7255 | |
| 7278 | 7256 | /// <reference path="../../../../sweetalert2.d.ts"/> |
| 7279 | 7257 | |
| @@ -7345,12 +7323,13 @@ | ||
| 7345 | 7323 | /** |
| 7346 | 7324 | * @param {HTMLInputElement} input |
| 7347 | 7325 | */ |
| 7348 | 7326 | const removeAttributes = input => { |
| 7349 | - for (let i = 0; i < input.attributes.length; i++) { | |
| 7350 | - const attrName = input.attributes[i].name; | |
| 7351 | - if (!['id', 'type', 'value', 'style'].includes(attrName)) { | |
| 7352 | - input.removeAttribute(attrName); | |
| 7327 | + for (const { | |
| 7328 | + name | |
| 7329 | + } of Array.from(input.attributes)) { | |
| 7330 | + if (!['id', 'type', 'value', 'style'].includes(name)) { | |
| 7331 | + input.removeAttribute(name); | |
| 7353 | 7332 | } |
| 7354 | 7333 | } |
| 7355 | 7334 | }; |
| 7356 | 7335 | |
| @@ -7448,12 +7427,14 @@ | ||
| 7448 | 7427 | * @returns {Input} |
| 7449 | 7428 | */ |
| 7450 | 7429 | 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} */ |
| 7451 | 7430 | (input, params) => { |
| 7431 | + // oxfmt-ignore | |
| 7452 | 7432 | const inputElement = /** @type {HTMLInputElement} */input; |
| 7453 | 7433 | checkAndSetInputValue(inputElement, params.inputValue); |
| 7454 | 7434 | setInputLabel(inputElement, inputElement, params); |
| 7455 | 7435 | setInputPlaceholder(inputElement, params); |
| 7436 | + // oxfmt-ignore | |
| 7456 | 7437 | inputElement.type = /** @type {string} */params.input; |
| 7457 | 7438 | return inputElement; |
| 7458 | 7439 | }; |
| 7459 | 7440 | |
| @@ -7717,11 +7698,11 @@ | ||
| 7717 | 7698 | } |
| 7718 | 7699 | const popupBackgroundColor = window.getComputedStyle(popup).getPropertyValue('background-color'); |
| 7719 | 7700 | /** @type {NodeListOf<HTMLElement>} */ |
| 7720 | 7701 | const successIconParts = popup.querySelectorAll('[class^=swal2-success-circular-line], .swal2-success-fix'); |
| 7721 | - for (let i = 0; i < successIconParts.length; i++) { | |
| 7722 | - successIconParts[i].style.backgroundColor = popupBackgroundColor; | |
| 7723 | - } | |
| 7702 | + successIconParts.forEach(part => { | |
| 7703 | + part.style.backgroundColor = popupBackgroundColor; | |
| 7704 | + }); | |
| 7724 | 7705 | }; |
| 7725 | 7706 | |
| 7726 | 7707 | /** |
| 7727 | 7708 | * |
| @@ -7901,20 +7882,12 @@ | ||
| 7901 | 7882 | * @param {MouseEvent | TouchEvent} event |
| 7902 | 7883 | * @returns {{ clientX: number, clientY: number }} |
| 7903 | 7884 | */ |
| 7904 | 7885 | const getClientXY = event => { |
| 7905 | - let clientX = 0, | |
| 7906 | - clientY = 0; | |
| 7907 | - if (event.type.startsWith('mouse')) { | |
| 7908 | - clientX = /** @type {MouseEvent} */event.clientX; | |
| 7909 | - clientY = /** @type {MouseEvent} */event.clientY; | |
| 7910 | - } else if (event.type.startsWith('touch')) { | |
| 7911 | - clientX = /** @type {TouchEvent} */event.touches[0].clientX; | |
| 7912 | - clientY = /** @type {TouchEvent} */event.touches[0].clientY; | |
| 7913 | - } | |
| 7886 | + const source = event.type.startsWith('touch') ? /** @type {TouchEvent} */event.touches[0] : (/** @type {MouseEvent} */event); | |
| 7914 | 7887 | return { |
| 7915 | - clientX, | |
| 7916 | - clientY | |
| 7888 | + clientX: source.clientX, | |
| 7889 | + clientY: source.clientY | |
| 7917 | 7890 | }; |
| 7918 | 7891 | }; |
| 7919 | 7892 | |
| 7920 | 7893 | /** |
| @@ -8142,9 +8115,10 @@ | ||
| 8142 | 8115 | * @param {GlobalState} globalState |
| 8143 | 8116 | */ |
| 8144 | 8117 | const removeKeydownHandler = globalState => { |
| 8145 | 8118 | if (globalState.keydownTarget && globalState.keydownHandlerAdded && globalState.keydownHandler) { |
| 8146 | - const handler = /** @type {EventListenerOrEventListenerObject} */ /** @type {unknown} */globalState.keydownHandler; | |
| 8119 | + const handler = /** @type {EventListenerOrEventListenerObject} */ | |
| 8120 | + /** @type {unknown} */globalState.keydownHandler; | |
| 8147 | 8121 | globalState.keydownTarget.removeEventListener('keydown', handler, { |
| 8148 | 8122 | capture: globalState.keydownListenerCapture |
| 8149 | 8123 | }); |
| 8150 | 8124 | globalState.keydownHandlerAdded = false; |
| @@ -8177,8 +8151,9 @@ | ||
| 8177 | 8151 | |
| 8178 | 8152 | /** |
| 8179 | 8153 | * @param {number} index |
| 8180 | 8154 | * @param {number} increment |
| 8155 | + * @returns {boolean} shouldPreventDefault | |
| 8181 | 8156 | */ |
| 8182 | 8157 | const setFocus = (index, increment) => { |
| 8183 | 8158 | var _dom$getPopup; |
| 8184 | 8159 | const focusableElements = getFocusableElements(); |
| @@ -8199,12 +8174,19 @@ | ||
| 8199 | 8174 | } else if (index === -1) { |
| 8200 | 8175 | index = focusableElements.length - 1; |
| 8201 | 8176 | } |
| 8202 | 8177 | focusableElements[index].focus(); |
| 8203 | - return; | |
| 8178 | + | |
| 8179 | + // don't prevent default for iframes (Firefox fix) | |
| 8180 | + // https://github.com/sweetalert2/sweetalert2/issues/2931 | |
| 8181 | + if (isFirefox() && focusableElements[index] instanceof HTMLIFrameElement) { | |
| 8182 | + return false; | |
| 8183 | + } | |
| 8184 | + return true; | |
| 8204 | 8185 | } |
| 8205 | 8186 | // no visible focusable elements, focus the popup |
| 8206 | 8187 | (_dom$getPopup = getPopup()) === null || _dom$getPopup === void 0 || _dom$getPopup.focus(); |
| 8188 | + return true; | |
| 8207 | 8189 | }; |
| 8208 | 8190 | const arrowKeysNextButton = ['ArrowRight', 'ArrowDown']; |
| 8209 | 8191 | const arrowKeysPreviousButton = ['ArrowLeft', 'ArrowUp']; |
| 8210 | 8192 | |
| @@ -8278,27 +8260,27 @@ | ||
| 8278 | 8260 | */ |
| 8279 | 8261 | const handleTab = event => { |
| 8280 | 8262 | const targetElement = event.target; |
| 8281 | 8263 | const focusableElements = getFocusableElements(); |
| 8282 | - let btnIndex = -1; | |
| 8283 | - for (let i = 0; i < focusableElements.length; i++) { | |
| 8284 | - if (targetElement === focusableElements[i]) { | |
| 8285 | - btnIndex = i; | |
| 8286 | - break; | |
| 8287 | - } | |
| 8288 | - } | |
| 8264 | + const btnIndex = focusableElements.findIndex(el => el === targetElement); | |
| 8289 | 8265 | |
| 8266 | + // don't prevent default for iframes (Firefox fix) | |
| 8267 | + // https://github.com/sweetalert2/sweetalert2/issues/2931 | |
| 8268 | + let shouldPreventDefault = true; | |
| 8269 | + | |
| 8290 | 8270 | // Cycle to the next button |
| 8291 | 8271 | if (!event.shiftKey) { |
| 8292 | - setFocus(btnIndex, 1); | |
| 8272 | + shouldPreventDefault = setFocus(btnIndex, 1); | |
| 8293 | 8273 | } |
| 8294 | 8274 | |
| 8295 | 8275 | // Cycle to the prev button |
| 8296 | 8276 | else { |
| 8297 | - setFocus(btnIndex, -1); | |
| 8277 | + shouldPreventDefault = setFocus(btnIndex, -1); | |
| 8298 | 8278 | } |
| 8299 | 8279 | event.stopPropagation(); |
| 8300 | - event.preventDefault(); | |
| 8280 | + if (shouldPreventDefault) { | |
| 8281 | + event.preventDefault(); | |
| 8282 | + } | |
| 8301 | 8283 | }; |
| 8302 | 8284 | |
| 8303 | 8285 | /** |
| 8304 | 8286 | * @param {string} key |
| @@ -8394,8 +8376,11 @@ | ||
| 8394 | 8376 | |
| 8395 | 8377 | // @ts-ignore |
| 8396 | 8378 | const isSafariOrIOS = typeof window !== 'undefined' && Boolean(window.GestureEvent); // true for Safari desktop + all iOS browsers https://stackoverflow.com/a/70585394 |
| 8397 | 8379 | |
| 8380 | + // @ts-ignore | |
| 8381 | + const isIOS = isSafariOrIOS && /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream; | |
| 8382 | + | |
| 8398 | 8383 | /** |
| 8399 | 8384 | * Fix iOS scrolling |
| 8400 | 8385 | * http://stackoverflow.com/q/39626302 |
| 8401 | 8386 | */ |
| @@ -8977,30 +8962,10 @@ | ||
| 8977 | 8962 | * @typedef {string[]} InputOptionFlattened |
| 8978 | 8963 | * @returns {InputOptionFlattened[]} |
| 8979 | 8964 | */ |
| 8980 | 8965 | const formatInputOptions = inputOptions => { |
| 8981 | - /** @type {InputOptionFlattened[]} */ | |
| 8982 | - const result = []; | |
| 8983 | - if (inputOptions instanceof Map) { | |
| 8984 | - inputOptions.forEach((value, key) => { | |
| 8985 | - let valueFormatted = value; | |
| 8986 | - if (typeof valueFormatted === 'object') { | |
| 8987 | - // case of <optgroup> | |
| 8988 | - valueFormatted = formatInputOptions(valueFormatted); | |
| 8989 | - } | |
| 8990 | - result.push([key, valueFormatted]); | |
| 8991 | - }); | |
| 8992 | - } else { | |
| 8993 | - Object.keys(inputOptions).forEach(key => { | |
| 8994 | - let valueFormatted = inputOptions[key]; | |
| 8995 | - if (typeof valueFormatted === 'object') { | |
| 8996 | - // case of <optgroup> | |
| 8997 | - valueFormatted = formatInputOptions(valueFormatted); | |
| 8998 | - } | |
| 8999 | - result.push([key, valueFormatted]); | |
| 9000 | - }); | |
| 9001 | - } | |
| 9002 | - return result; | |
| 8966 | + const entries = inputOptions instanceof Map ? Array.from(inputOptions) : Object.entries(inputOptions); | |
| 8967 | + return entries.map(([key, value]) => [key, typeof value === 'object' ? formatInputOptions(value) : value]); // case of <optgroup> | |
| 9003 | 8968 | }; |
| 9004 | 8969 | |
| 9005 | 8970 | /** |
| 9006 | 8971 | * @param {string} optionValue |
| @@ -9006,11 +8971,9 @@ | ||
| 9006 | 8971 | * @param {string} optionValue |
| 9007 | 8972 | * @param {SweetAlertInputValue} inputValue |
| 9008 | 8973 | * @returns {boolean} |
| 9009 | 8974 | */ |
| 9010 | - const isSelected = (optionValue, inputValue) => { | |
| 9011 | - return Boolean(inputValue) && inputValue !== null && inputValue !== undefined && inputValue.toString() === optionValue.toString(); | |
| 9012 | - }; | |
| 8975 | + const isSelected = (optionValue, inputValue) => Boolean(inputValue) && inputValue != null && inputValue.toString() === optionValue.toString(); | |
| 9013 | 8976 | |
| 9014 | 8977 | /** |
| 9015 | 8978 | * @param {SweetAlert} instance |
| 9016 | 8979 | */ |
| @@ -9191,11 +9154,9 @@ | ||
| 9191 | 9154 | } |
| 9192 | 9155 | removeClass([domCache.popup, domCache.actions], swalClasses.loading); |
| 9193 | 9156 | domCache.popup.removeAttribute('aria-busy'); |
| 9194 | 9157 | domCache.popup.removeAttribute('data-loading'); |
| 9195 | - domCache.confirmButton.disabled = false; | |
| 9196 | - domCache.denyButton.disabled = false; | |
| 9197 | - domCache.cancelButton.disabled = false; | |
| 9158 | + this.enableButtons(); | |
| 9198 | 9159 | } |
| 9199 | 9160 | |
| 9200 | 9161 | /** |
| 9201 | 9162 | * @param {DomCache} domCache |
| @@ -9248,11 +9209,11 @@ | ||
| 9248 | 9209 | } |
| 9249 | 9210 | if (input.type === 'radio') { |
| 9250 | 9211 | /** @type {NodeListOf<HTMLInputElement>} */ |
| 9251 | 9212 | const radios = popup.querySelectorAll(`[name="${swalClasses.radio}"]`); |
| 9252 | - for (let i = 0; i < radios.length; i++) { | |
| 9253 | - radios[i].disabled = disabled; | |
| 9254 | - } | |
| 9213 | + radios.forEach(radio => { | |
| 9214 | + radio.disabled = disabled; | |
| 9215 | + }); | |
| 9255 | 9216 | } else { |
| 9256 | 9217 | input.disabled = disabled; |
| 9257 | 9218 | } |
| 9258 | 9219 | } |
| @@ -9262,8 +9223,13 @@ | ||
| 9262 | 9223 | * @this {SweetAlert} |
| 9263 | 9224 | */ |
| 9264 | 9225 | function enableButtons() { |
| 9265 | 9226 | setButtonsDisabled(this, ['confirmButton', 'denyButton', 'cancelButton'], false); |
| 9227 | + const focusedElement = privateProps.focusedElement.get(this); | |
| 9228 | + if (focusedElement instanceof HTMLElement && document.activeElement === document.body) { | |
| 9229 | + focusedElement.focus(); | |
| 9230 | + } | |
| 9231 | + privateProps.focusedElement.delete(this); | |
| 9266 | 9232 | } |
| 9267 | 9233 | |
| 9268 | 9234 | /** |
| 9269 | 9235 | * Disable all the buttons |
| @@ -9269,8 +9235,9 @@ | ||
| 9269 | 9235 | * Disable all the buttons |
| 9270 | 9236 | * @this {SweetAlert} |
| 9271 | 9237 | */ |
| 9272 | 9238 | function disableButtons() { |
| 9239 | + privateProps.focusedElement.set(this, document.activeElement); | |
| 9273 | 9240 | setButtonsDisabled(this, ['confirmButton', 'denyButton', 'cancelButton'], true); |
| 9274 | 9241 | } |
| 9275 | 9242 | |
| 9276 | 9243 | /** |
| @@ -9777,25 +9744,25 @@ | ||
| 9777 | 9744 | }; |
| 9778 | 9745 | }; |
| 9779 | 9746 | |
| 9780 | 9747 | /** |
| 9781 | - * @param {any} elem | |
| 9748 | + * @param {unknown} elem | |
| 9782 | 9749 | * @returns {boolean} |
| 9783 | 9750 | */ |
| 9784 | - const isJqueryElement = elem => typeof elem === 'object' && elem.jquery; | |
| 9751 | + const isJqueryElement = elem => typeof elem === 'object' && elem !== null && 'jquery' in elem; | |
| 9785 | 9752 | |
| 9786 | 9753 | /** |
| 9787 | - * @param {any} elem | |
| 9754 | + * @param {unknown} elem | |
| 9788 | 9755 | * @returns {boolean} |
| 9789 | 9756 | */ |
| 9790 | 9757 | const isElement = elem => elem instanceof Element || isJqueryElement(elem); |
| 9791 | 9758 | |
| 9792 | 9759 | /** |
| 9793 | - * @param {any[]} args | |
| 9760 | + * @param {ReadonlyArray<unknown>} args | |
| 9794 | 9761 | * @returns {SweetAlertOptions} |
| 9795 | 9762 | */ |
| 9796 | 9763 | const argsToParams = args => { |
| 9797 | - /** @type {Record<string, any>} */ | |
| 9764 | + /** @type {Record<string, unknown>} */ | |
| 9798 | 9765 | const params = {}; |
| 9799 | 9766 | if (typeof args[0] === 'object' && !isElement(args[0])) { |
| 9800 | 9767 | Object.assign(params, args[0]); |
| 9801 | 9768 | } else { |
| @@ -9807,9 +9774,9 @@ | ||
| 9807 | 9774 | error(`Unexpected type of ${name}! Expected "string" or "Element", got ${typeof arg}`); |
| 9808 | 9775 | } |
| 9809 | 9776 | }); |
| 9810 | 9777 | } |
| 9811 | - return params; | |
| 9778 | + return /** @type {SweetAlertOptions} */params; | |
| 9812 | 9779 | }; |
| 9813 | 9780 | |
| 9814 | 9781 | /** |
| 9815 | 9782 | * Main method to create a new SweetAlert2 popup |
| @@ -10300,19 +10267,15 @@ | ||
| 10300 | 10267 | return; |
| 10301 | 10268 | } |
| 10302 | 10269 | result[`${type}ButtonText`] = button.innerHTML; |
| 10303 | 10270 | result[`show${capitalizeFirstLetter(type)}Button`] = true; |
| 10304 | - if (button.hasAttribute('color')) { | |
| 10305 | - const color = button.getAttribute('color'); | |
| 10306 | - if (color !== null) { | |
| 10307 | - result[`${type}ButtonColor`] = color; | |
| 10308 | - } | |
| 10271 | + const color = button.getAttribute('color'); | |
| 10272 | + if (color !== null) { | |
| 10273 | + result[`${type}ButtonColor`] = color; | |
| 10309 | 10274 | } |
| 10310 | - if (button.hasAttribute('aria-label')) { | |
| 10311 | - const ariaLabel = button.getAttribute('aria-label'); | |
| 10312 | - if (ariaLabel !== null) { | |
| 10313 | - result[`${type}ButtonAriaLabel`] = ariaLabel; | |
| 10314 | - } | |
| 10275 | + const ariaLabel = button.getAttribute('aria-label'); | |
| 10276 | + if (ariaLabel !== null) { | |
| 10277 | + result[`${type}ButtonAriaLabel`] = ariaLabel; | |
| 10315 | 10278 | } |
| 10316 | 10279 | }); |
| 10317 | 10280 | return result; |
| 10318 | 10281 | }; |
| @@ -10326,20 +10289,17 @@ | ||
| 10326 | 10289 | /** @type {HTMLElement | null} */ |
| 10327 | 10290 | const image = templateContent.querySelector('swal-image'); |
| 10328 | 10291 | if (image) { |
| 10329 | 10292 | showWarningsForAttributes(image, ['src', 'width', 'height', 'alt']); |
| 10330 | - if (image.hasAttribute('src')) { | |
| 10331 | - result.imageUrl = image.getAttribute('src') || undefined; | |
| 10332 | - } | |
| 10333 | - if (image.hasAttribute('width')) { | |
| 10334 | - result.imageWidth = image.getAttribute('width') || undefined; | |
| 10335 | - } | |
| 10336 | - if (image.hasAttribute('height')) { | |
| 10337 | - result.imageHeight = image.getAttribute('height') || undefined; | |
| 10338 | - } | |
| 10339 | - if (image.hasAttribute('alt')) { | |
| 10340 | - result.imageAlt = image.getAttribute('alt') || undefined; | |
| 10341 | - } | |
| 10293 | + // getAttribute returns null if attribute is absent; `|| undefined` converts empty string to undefined | |
| 10294 | + const src = image.getAttribute('src'); | |
| 10295 | + if (src !== null) result.imageUrl = src || undefined; | |
| 10296 | + const width = image.getAttribute('width'); | |
| 10297 | + if (width !== null) result.imageWidth = width || undefined; | |
| 10298 | + const height = image.getAttribute('height'); | |
| 10299 | + if (height !== null) result.imageHeight = height || undefined; | |
| 10300 | + const alt = image.getAttribute('alt'); | |
| 10301 | + if (alt !== null) result.imageAlt = alt || undefined; | |
| 10342 | 10302 | } |
| 10343 | 10303 | return result; |
| 10344 | 10304 | }; |
| 10345 | 10305 | |
| @@ -10474,12 +10434,17 @@ | ||
| 10474 | 10434 | setTimeout(() => { |
| 10475 | 10435 | setScrollingVisibility(container, popup); |
| 10476 | 10436 | }, SHOW_CLASS_TIMEOUT); |
| 10477 | 10437 | if (isModal()) { |
| 10478 | - // Using ternary instead of ?? operator for Webpack 4 compatibility | |
| 10479 | 10438 | fixScrollContainer(container, params.scrollbarPadding !== undefined ? params.scrollbarPadding : false, initialBodyOverflow); |
| 10480 | 10439 | setAriaHidden(); |
| 10481 | 10440 | } |
| 10441 | + | |
| 10442 | + // https://github.com/sweetalert2/sweetalert2/issues/2923 | |
| 10443 | + if (isIOS && params.backdrop === false && popup.scrollHeight > container.clientHeight) { | |
| 10444 | + // remove pointer-events: none from container, it breaks scrolling tall popups in iOS | |
| 10445 | + container.style.pointerEvents = 'auto'; | |
| 10446 | + } | |
| 10482 | 10447 | if (!isToast() && !globalState.previousActiveElement) { |
| 10483 | 10448 | globalState.previousActiveElement = document.activeElement; |
| 10484 | 10449 | } |
| 10485 | 10450 | if (typeof params.didOpen === 'function') { |
| @@ -10651,9 +10616,10 @@ | ||
| 10651 | 10616 | constructor(...args) { |
| 10652 | 10617 | /** |
| 10653 | 10618 | * @type {Promise<SweetAlertResult>} |
| 10654 | 10619 | */ |
| 10655 | - _classPrivateFieldInitSpec(this, _promise, /** @type {Promise<SweetAlertResult>} */Promise.resolve({ | |
| 10620 | + _classPrivateFieldInitSpec(this, _promise, /** @type {Promise<SweetAlertResult>} */ | |
| 10621 | + Promise.resolve({ | |
| 10656 | 10622 | isConfirmed: false, |
| 10657 | 10623 | isDenied: false, |
| 10658 | 10624 | isDismissed: true |
| 10659 | 10625 | })); |
| @@ -10717,8 +10683,9 @@ | ||
| 10717 | 10683 | // `catch` cannot be the name of a module export, so we define our thenable methods here instead |
| 10718 | 10684 | /** |
| 10719 | 10685 | * @param {any} onFulfilled |
| 10720 | 10686 | */ |
| 10687 | + // oxlint-disable-next-line unicorn/no-thenable | |
| 10721 | 10688 | then(onFulfilled) { |
| 10722 | 10689 | return _classPrivateFieldGet2(_promise, this).then(onFulfilled); |
| 10723 | 10690 | } |
| 10724 | 10691 | |
| @@ -10862,10 +10829,10 @@ | ||
| 10862 | 10829 | return; |
| 10863 | 10830 | } |
| 10864 | 10831 | // TODO: this is dumb, remove `allowEnterKey` param in the next major version |
| 10865 | 10832 | if (!callIfFunction(innerParams.allowEnterKey)) { |
| 10866 | - warnAboutDeprecation('allowEnterKey'); | |
| 10867 | - blurActiveElement(); | |
| 10833 | + warnAboutDeprecation('allowEnterKey', 'preConfirm: () => false'); | |
| 10834 | + domCache.popup.focus(); | |
| 10868 | 10835 | return; |
| 10869 | 10836 | } |
| 10870 | 10837 | if (focusAutofocus(domCache)) { |
| 10871 | 10838 | return; |
| @@ -10910,13 +10877,8 @@ | ||
| 10910 | 10877 | return true; |
| 10911 | 10878 | } |
| 10912 | 10879 | return false; |
| 10913 | 10880 | }; |
| 10914 | - const blurActiveElement = () => { | |
| 10915 | - if (document.activeElement instanceof HTMLElement && typeof document.activeElement.blur === 'function') { | |
| 10916 | - document.activeElement.blur(); | |
| 10917 | - } | |
| 10918 | - }; | |
| 10919 | 10881 | |
| 10920 | 10882 | // Assign instance methods from src/instanceMethods/*.js to prototype |
| 10921 | 10883 | SweetAlert.prototype.disableButtons = disableButtons; |
| 10922 | 10884 | SweetAlert.prototype.enableButtons = enableButtons; |
| @@ -10954,9 +10916,9 @@ | ||
| 10954 | 10916 | return undefined; |
| 10955 | 10917 | }; |
| 10956 | 10918 | }); |
| 10957 | 10919 | SweetAlert.DismissReason = DismissReason; |
| 10958 | - SweetAlert.version = '11.26.17'; | |
| 10920 | + SweetAlert.version = '11.26.25'; | |
| 10959 | 10921 | |
| 10960 | 10922 | const Swal = SweetAlert; |
| 10961 | 10923 | // @ts-ignore |
| 10962 | 10924 | Swal.default = Swal; |
| @@ -10964,9 +10926,9 @@ | ||
| 10964 | 10926 | return Swal; |
| 10965 | 10927 | |
| 10966 | 10928 | })); |
| 10967 | 10929 | if (typeof this !== 'undefined' && this.Sweetalert2){this.swal = this.sweetAlert = this.Swal = this.SweetAlert = this.Sweetalert2} |
| 10968 | -"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}}"); | |
| 10930 | +"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}}"); | |
| 10969 | 10931 | |
| 10970 | 10932 | /***/ }, |
| 10971 | 10933 | |
| 10972 | 10934 | /***/ "./node_modules/toastify-js/src/toastify.js" |
| @@ -11426,19 +11388,19 @@ | ||
| 11426 | 11388 | |
| 11427 | 11389 | /******/ }); |
| 11428 | 11390 | /************************************************************************/ |
| 11429 | 11391 | /******/ // The module cache |
| 11430 | -/******/ var __webpack_module_cache__ = {}; | |
| 11392 | +/******/ const __webpack_module_cache__ = {}; | |
| 11431 | 11393 | /******/ |
| 11432 | 11394 | /******/ // The require function |
| 11433 | 11395 | /******/ function __webpack_require__(moduleId) { |
| 11434 | 11396 | /******/ // Check if module is in cache |
| 11435 | -/******/ var cachedModule = __webpack_module_cache__[moduleId]; | |
| 11397 | +/******/ const cachedModule = __webpack_module_cache__[moduleId]; | |
| 11436 | 11398 | /******/ if (cachedModule !== undefined) { |
| 11437 | 11399 | /******/ return cachedModule.exports; |
| 11438 | 11400 | /******/ } |
| 11439 | 11401 | /******/ // Create a new module (and put it into the cache) |
| 11440 | -/******/ var module = __webpack_module_cache__[moduleId] = { | |
| 11402 | +/******/ const module = __webpack_module_cache__[moduleId] = { | |
| 11441 | 11403 | /******/ id: moduleId, |
| 11442 | 11404 | /******/ // no module.loaded needed |
| 11443 | 11405 | /******/ exports: {} |
| 11444 | 11406 | /******/ }; |
| @@ -11445,9 +11407,9 @@ | ||
| 11445 | 11407 | /******/ |
| 11446 | 11408 | /******/ // Execute the module function |
| 11447 | 11409 | /******/ if (!(moduleId in __webpack_modules__)) { |
| 11448 | 11410 | /******/ delete __webpack_module_cache__[moduleId]; |
| 11449 | -/******/ var e = new Error("Cannot find module '" + moduleId + "'"); | |
| 11411 | +/******/ const e = new Error("Cannot find module '" + moduleId + "'"); | |
| 11450 | 11412 | /******/ e.code = 'MODULE_NOT_FOUND'; |
| 11451 | 11413 | /******/ throw e; |
| 11452 | 11414 | /******/ } |
| 11453 | 11415 | /******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__); |
| @@ -11460,9 +11422,9 @@ | ||
| 11460 | 11422 | /******/ /* webpack/runtime/compat get default export */ |
| 11461 | 11423 | /******/ (() => { |
| 11462 | 11424 | /******/ // getDefaultExport function for compatibility with non-harmony modules |
| 11463 | 11425 | /******/ __webpack_require__.n = (module) => { |
| 11464 | -/******/ var getter = module && module.__esModule ? | |
| 11426 | +/******/ const getter = module && module.__esModule ? | |
| 11465 | 11427 | /******/ () => (module['default']) : |
| 11466 | 11428 | /******/ () => (module); |
| 11467 | 11429 | /******/ __webpack_require__.d(getter, { a: getter }); |
| 11468 | 11430 | /******/ return getter; |
| @@ -11470,14 +11432,29 @@ | ||
| 11470 | 11432 | /******/ })(); |
| 11471 | 11433 | /******/ |
| 11472 | 11434 | /******/ /* webpack/runtime/define property getters */ |
| 11473 | 11435 | /******/ (() => { |
| 11474 | -/******/ // define getter functions for harmony exports | |
| 11436 | +/******/ // define getter/value functions for harmony exports | |
| 11475 | 11437 | /******/ __webpack_require__.d = (exports, definition) => { |
| 11476 | -/******/ for(var key in definition) { | |
| 11477 | -/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { | |
| 11478 | -/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); | |
| 11438 | +/******/ if(Array.isArray(definition)) { | |
| 11439 | +/******/ var i = 0; | |
| 11440 | +/******/ while(i < definition.length) { | |
| 11441 | +/******/ var key = definition[i++]; | |
| 11442 | +/******/ var binding = definition[i++]; | |
| 11443 | +/******/ if(!__webpack_require__.o(exports, key)) { | |
| 11444 | +/******/ if(binding === 0) { | |
| 11445 | +/******/ Object.defineProperty(exports, key, { enumerable: true, value: definition[i++] }); | |
| 11446 | +/******/ } else { | |
| 11447 | +/******/ Object.defineProperty(exports, key, { enumerable: true, get: binding }); | |
| 11448 | +/******/ } | |
| 11449 | +/******/ } else if(binding === 0) { i++; } | |
| 11479 | 11450 | /******/ } |
| 11451 | +/******/ } else { | |
| 11452 | +/******/ for(var key in definition) { | |
| 11453 | +/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { | |
| 11454 | +/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); | |
| 11455 | +/******/ } | |
| 11456 | +/******/ } | |
| 11480 | 11457 | /******/ } |
| 11481 | 11458 | /******/ }; |
| 11482 | 11459 | /******/ })(); |
| 11483 | 11460 | /******/ |
| @@ -11482,9 +11459,9 @@ | ||
| 11482 | 11459 | /******/ })(); |
| 11483 | 11460 | /******/ |
| 11484 | 11461 | /******/ /* webpack/runtime/hasOwnProperty shorthand */ |
| 11485 | 11462 | /******/ (() => { |
| 11486 | -/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) | |
| 11463 | +/******/ __webpack_require__.o = (obj, prop) => (Object.hasOwn(obj, prop)) | |
| 11487 | 11464 | /******/ })(); |
| 11488 | 11465 | /******/ |
| 11489 | 11466 | /******/ /* webpack/runtime/make namespace object */ |
| 11490 | 11467 | /******/ (() => { |
| @@ -11489,9 +11466,9 @@ | ||
| 11489 | 11466 | /******/ /* webpack/runtime/make namespace object */ |
| 11490 | 11467 | /******/ (() => { |
| 11491 | 11468 | /******/ // define __esModule on exports |
| 11492 | 11469 | /******/ __webpack_require__.r = (exports) => { |
| 11493 | -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { | |
| 11470 | +/******/ if(Symbol.toStringTag) { | |
| 11494 | 11471 | /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); |
| 11495 | 11472 | /******/ } |
| 11496 | 11473 | /******/ Object.defineProperty(exports, '__esModule', { value: true }); |
| 11497 | 11474 | /******/ }; |
| @@ -11502,9 +11479,9 @@ | ||
| 11502 | 11479 | /******/ __webpack_require__.nc = undefined; |
| 11503 | 11480 | /******/ })(); |
| 11504 | 11481 | /******/ |
| 11505 | 11482 | /************************************************************************/ |
| 11506 | -var __webpack_exports__ = {}; | |
| 11483 | +let __webpack_exports__ = {}; | |
| 11507 | 11484 | // This entry needs to be wrapped in an IIFE because it needs to be in strict mode. |
| 11508 | 11485 | (() => { |
| 11509 | 11486 | "use strict"; |
| 11510 | 11487 | /*!******************************************!*\ |