@seamly/web-ui 25.4.1-beta → 25.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/dist/lib/index.debug.js +284 -141
- package/build/dist/lib/index.debug.js.map +1 -1
- package/build/dist/lib/index.debug.min.js +1 -1
- package/build/dist/lib/index.debug.min.js.LICENSE.txt +3 -3
- package/build/dist/lib/index.debug.min.js.map +1 -1
- package/build/dist/lib/index.js +302 -160
- package/build/dist/lib/index.js.map +1 -1
- package/build/dist/lib/index.min.js +1 -1
- package/build/dist/lib/index.min.js.LICENSE.txt +3 -3
- package/build/dist/lib/index.min.js.map +1 -1
- package/build/dist/lib/style-guide.js +97 -53
- package/build/dist/lib/style-guide.js.map +1 -1
- package/build/dist/lib/style-guide.min.js +1 -1
- package/build/dist/lib/style-guide.min.js.map +1 -1
- package/package.json +24 -24
- package/src/javascripts/core/api/asyncapi.types.ts +1 -2
- package/src/javascripts/core/domains/store/store.types.ts +1 -4
- package/src/javascripts/core/domains/translations/components/options-button.tsx +2 -1
- package/src/javascripts/core/domains/translations/components/options-dialog/index.tsx +3 -0
- package/src/javascripts/core/domains/visibility/actions.ts +47 -6
- package/src/javascripts/core/ui/components/conversation/conversation.tsx +1 -2
- package/src/javascripts/core/ui/components/options/options-frame.tsx +3 -1
- package/src/javascripts/core/ui/hooks/use-click-outside.ts +6 -2
- package/src/javascripts/style-guide/states.ts +32 -18
|
@@ -863,7 +863,7 @@ class API {
|
|
|
863
863
|
return {
|
|
864
864
|
clientName: "@seamly/web-ui",
|
|
865
865
|
clientVariant: this.#layoutMode,
|
|
866
|
-
clientVersion: "25.
|
|
866
|
+
clientVersion: "25.5.1",
|
|
867
867
|
currentUrl: window.location.toString(),
|
|
868
868
|
screenResolution: `${window.screen.width}x${window.screen.height}`,
|
|
869
869
|
timezone: (0,_utils__WEBPACK_IMPORTED_MODULE_10__.getTimeZone)(),
|
|
@@ -3619,7 +3619,7 @@ function TranslationsOptionsButton({
|
|
|
3619
3619
|
setMenuIsOpen(false);
|
|
3620
3620
|
};
|
|
3621
3621
|
const handleToggleClick = () => {
|
|
3622
|
-
setMenuIsOpen(!
|
|
3622
|
+
setMenuIsOpen(isOpen => !isOpen);
|
|
3623
3623
|
};
|
|
3624
3624
|
const handleToggleKeyDown = e => {
|
|
3625
3625
|
if ((0,ui_utils_general_utils__WEBPACK_IMPORTED_MODULE_4__.getKey)(e) === ui_utils_general_utils__WEBPACK_IMPORTED_MODULE_4__.keyNames.ArrowDown) {
|
|
@@ -3637,6 +3637,7 @@ function TranslationsOptionsButton({
|
|
|
3637
3637
|
className: (0,lib_css__WEBPACK_IMPORTED_MODULE_0__.className)('options__dialog'),
|
|
3638
3638
|
role: "dialog",
|
|
3639
3639
|
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_options_dialog__WEBPACK_IMPORTED_MODULE_5__["default"], {
|
|
3640
|
+
clickOutsideEnabled: menuIsOpen,
|
|
3640
3641
|
onClose: handleDialogClose,
|
|
3641
3642
|
position: position
|
|
3642
3643
|
})
|
|
@@ -3679,6 +3680,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3679
3680
|
|
|
3680
3681
|
|
|
3681
3682
|
function TranslationsOptionsDialog({
|
|
3683
|
+
clickOutsideEnabled,
|
|
3682
3684
|
onClose,
|
|
3683
3685
|
position
|
|
3684
3686
|
}) {
|
|
@@ -3693,6 +3695,7 @@ function TranslationsOptionsDialog({
|
|
|
3693
3695
|
description: t('translations.menu.description'),
|
|
3694
3696
|
descriptionId: descriptionId,
|
|
3695
3697
|
position: position,
|
|
3698
|
+
clickOutsideEnabled: clickOutsideEnabled,
|
|
3696
3699
|
disableButtonFocusing: true,
|
|
3697
3700
|
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(domains_translations_components_options_dialog_translation_options__WEBPACK_IMPORTED_MODULE_1__["default"], {
|
|
3698
3701
|
describedById: descriptionId,
|
|
@@ -4442,7 +4445,18 @@ const setVisibility = (0,_reduxjs_toolkit__WEBPACK_IMPORTED_MODULE_1__.createAsy
|
|
|
4442
4445
|
showContinueChat
|
|
4443
4446
|
};
|
|
4444
4447
|
}
|
|
4448
|
+
const visibility = api.store.get(_constants__WEBPACK_IMPORTED_MODULE_6__.StoreKey) || {};
|
|
4445
4449
|
if (previousVisibility === calculatedVisibility) {
|
|
4450
|
+
api.store.set(_constants__WEBPACK_IMPORTED_MODULE_6__.StoreKey, {
|
|
4451
|
+
...visibility,
|
|
4452
|
+
[layoutMode]: requestedVisibility,
|
|
4453
|
+
...(typeof showPreChat !== 'undefined' ? {
|
|
4454
|
+
showPreChat
|
|
4455
|
+
} : {}),
|
|
4456
|
+
...(typeof showContinueChat !== 'undefined' ? {
|
|
4457
|
+
showContinueChat
|
|
4458
|
+
} : {})
|
|
4459
|
+
});
|
|
4446
4460
|
return {
|
|
4447
4461
|
visibility: null,
|
|
4448
4462
|
setInputFocus: args.setInputFocus,
|
|
@@ -4450,12 +4464,17 @@ const setVisibility = (0,_reduxjs_toolkit__WEBPACK_IMPORTED_MODULE_1__.createAsy
|
|
|
4450
4464
|
showContinueChat
|
|
4451
4465
|
};
|
|
4452
4466
|
}
|
|
4453
|
-
const visibility = api.store.get(_constants__WEBPACK_IMPORTED_MODULE_6__.StoreKey);
|
|
4454
4467
|
|
|
4455
4468
|
// Store the user-requested visibility in order to reinitialize after refresh
|
|
4456
4469
|
api.store.set(_constants__WEBPACK_IMPORTED_MODULE_6__.StoreKey, {
|
|
4457
|
-
...
|
|
4458
|
-
[layoutMode]: requestedVisibility
|
|
4470
|
+
...visibility,
|
|
4471
|
+
[layoutMode]: requestedVisibility,
|
|
4472
|
+
...(typeof showPreChat !== 'undefined' ? {
|
|
4473
|
+
showPreChat
|
|
4474
|
+
} : {}),
|
|
4475
|
+
...(typeof showContinueChat !== 'undefined' ? {
|
|
4476
|
+
showContinueChat
|
|
4477
|
+
} : {})
|
|
4459
4478
|
});
|
|
4460
4479
|
if (requestedVisibility) {
|
|
4461
4480
|
eventBus.emit('ui.visible', requestedVisibility, {
|
|
@@ -4483,12 +4502,19 @@ const initializeVisibility = (0,_reduxjs_toolkit__WEBPACK_IMPORTED_MODULE_1__.cr
|
|
|
4483
4502
|
const {
|
|
4484
4503
|
layoutMode
|
|
4485
4504
|
} = domains_config_selectors__WEBPACK_IMPORTED_MODULE_3__.selectConfig(getState());
|
|
4486
|
-
const
|
|
4505
|
+
const storedVisibilitySettings = api.store.get(_constants__WEBPACK_IMPORTED_MODULE_6__.StoreKey) || {};
|
|
4506
|
+
const storedVisibilityValue = storedVisibilitySettings[layoutMode];
|
|
4507
|
+
const storedVisibility = isPersistedVisibilityState(storedVisibilityValue) ? storedVisibilityValue : _constants__WEBPACK_IMPORTED_MODULE_6__.visibilityStates.initialize;
|
|
4508
|
+
const storedShowPreChat = storedVisibilitySettings.showPreChat;
|
|
4509
|
+
const storedShowContinueChat = storedVisibilitySettings.showContinueChat;
|
|
4487
4510
|
dispatch(setVisibility({
|
|
4488
|
-
visibility: storedVisibility
|
|
4511
|
+
visibility: storedVisibility,
|
|
4512
|
+
showPreChat: typeof storedShowPreChat === 'boolean' ? storedShowPreChat : undefined,
|
|
4513
|
+
showContinueChat: typeof storedShowContinueChat === 'boolean' ? storedShowContinueChat : undefined
|
|
4489
4514
|
}));
|
|
4490
4515
|
return storedVisibility;
|
|
4491
4516
|
});
|
|
4517
|
+
const isPersistedVisibilityState = value => value === _constants__WEBPACK_IMPORTED_MODULE_6__.visibilityStates.open || value === _constants__WEBPACK_IMPORTED_MODULE_6__.visibilityStates.minimized || value === _constants__WEBPACK_IMPORTED_MODULE_6__.visibilityStates.hidden;
|
|
4492
4518
|
|
|
4493
4519
|
/***/ },
|
|
4494
4520
|
|
|
@@ -12016,6 +12042,7 @@ const OptionsFrame = ({
|
|
|
12016
12042
|
descriptionId,
|
|
12017
12043
|
cancelButtonText,
|
|
12018
12044
|
cancelButtonRef,
|
|
12045
|
+
clickOutsideEnabled = true,
|
|
12019
12046
|
disableButtonFocusing,
|
|
12020
12047
|
position = {
|
|
12021
12048
|
horizontal: 'left',
|
|
@@ -12043,7 +12070,7 @@ const OptionsFrame = ({
|
|
|
12043
12070
|
}
|
|
12044
12071
|
closePanel();
|
|
12045
12072
|
}, [closePanel, onCancel]);
|
|
12046
|
-
const container = (0,ui_hooks_use_click_outside__WEBPACK_IMPORTED_MODULE_4__["default"])(onCancelHandler);
|
|
12073
|
+
const container = (0,ui_hooks_use_click_outside__WEBPACK_IMPORTED_MODULE_4__["default"])(onCancelHandler, clickOutsideEnabled);
|
|
12047
12074
|
(0,preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useEffect)(() => {
|
|
12048
12075
|
(0,ui_utils_general_utils__WEBPACK_IMPORTED_MODULE_5__.focusElement)(container.current);
|
|
12049
12076
|
}, [container]);
|
|
@@ -14719,9 +14746,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
14719
14746
|
/* harmony import */ var preact_hooks__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! preact/hooks */ "preact/hooks");
|
|
14720
14747
|
/* harmony import */ var preact_hooks__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(preact_hooks__WEBPACK_IMPORTED_MODULE_0__);
|
|
14721
14748
|
|
|
14722
|
-
const useClickOutside = callback => {
|
|
14749
|
+
const useClickOutside = (callback, enabled = true) => {
|
|
14723
14750
|
const ref = (0,preact_hooks__WEBPACK_IMPORTED_MODULE_0__.useRef)(null);
|
|
14724
14751
|
(0,preact_hooks__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {
|
|
14752
|
+
if (!enabled) {
|
|
14753
|
+
return undefined;
|
|
14754
|
+
}
|
|
14725
14755
|
const handler = el => {
|
|
14726
14756
|
if (ref.current && el.target instanceof HTMLElement && !ref.current.contains(el.target)) {
|
|
14727
14757
|
el.preventDefault();
|
|
@@ -14735,7 +14765,7 @@ const useClickOutside = callback => {
|
|
|
14735
14765
|
document.removeEventListener('click', handler, true);
|
|
14736
14766
|
document.removeEventListener('touchstart', handler, true);
|
|
14737
14767
|
};
|
|
14738
|
-
}, [callback, ref]);
|
|
14768
|
+
}, [callback, enabled, ref]);
|
|
14739
14769
|
return ref;
|
|
14740
14770
|
};
|
|
14741
14771
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useClickOutside);
|
|
@@ -16112,7 +16142,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
16112
16142
|
/* harmony export */ });
|
|
16113
16143
|
/* harmony import */ var tabbable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tabbable */ "./node_modules/tabbable/dist/index.esm.js");
|
|
16114
16144
|
/*!
|
|
16115
|
-
* focus-trap
|
|
16145
|
+
* focus-trap 8.2.2
|
|
16116
16146
|
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
|
16117
16147
|
*/
|
|
16118
16148
|
|
|
@@ -16336,6 +16366,7 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
|
|
|
16336
16366
|
returnFocusOnDeactivate: true,
|
|
16337
16367
|
escapeDeactivates: true,
|
|
16338
16368
|
delayInitialFocus: true,
|
|
16369
|
+
delayReturnFocus: true,
|
|
16339
16370
|
isolateSubtrees: false,
|
|
16340
16371
|
isKeyForward: isKeyForward,
|
|
16341
16372
|
isKeyBackward: isKeyBackward
|
|
@@ -16485,6 +16516,25 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
|
|
|
16485
16516
|
}
|
|
16486
16517
|
return node;
|
|
16487
16518
|
};
|
|
16519
|
+
|
|
16520
|
+
/**
|
|
16521
|
+
* Gets the current activeElement. If it's a web-component and has open shadow-root
|
|
16522
|
+
* it will recursively search inside shadow roots for the "true" activeElement.
|
|
16523
|
+
*
|
|
16524
|
+
* @param {Document | ShadowRoot} el
|
|
16525
|
+
*
|
|
16526
|
+
* @returns {HTMLElement|null} The element that currently has the focus. `null` if a focused element isn't found.
|
|
16527
|
+
**/
|
|
16528
|
+
var _getActiveElement = function getActiveElement(el) {
|
|
16529
|
+
var activeElement = el.activeElement;
|
|
16530
|
+
if (!activeElement) {
|
|
16531
|
+
return null;
|
|
16532
|
+
}
|
|
16533
|
+
if (activeElement.shadowRoot && activeElement.shadowRoot.activeElement !== null) {
|
|
16534
|
+
return _getActiveElement(activeElement.shadowRoot);
|
|
16535
|
+
}
|
|
16536
|
+
return activeElement;
|
|
16537
|
+
};
|
|
16488
16538
|
var getInitialFocusNode = function getInitialFocusNode() {
|
|
16489
16539
|
var node = getNodeForOption('initialFocus', {
|
|
16490
16540
|
hasFallback: true
|
|
@@ -16495,9 +16545,11 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
|
|
|
16495
16545
|
return false;
|
|
16496
16546
|
}
|
|
16497
16547
|
if (node === undefined || node && !(0,tabbable__WEBPACK_IMPORTED_MODULE_0__.isFocusable)(node, config.tabbableOptions)) {
|
|
16548
|
+
var activeElement = _getActiveElement(doc);
|
|
16549
|
+
|
|
16498
16550
|
// option not specified nor focusable: use fallback options
|
|
16499
|
-
if (findContainerIndex(
|
|
16500
|
-
node =
|
|
16551
|
+
if (findContainerIndex(activeElement) >= 0) {
|
|
16552
|
+
node = activeElement;
|
|
16501
16553
|
} else {
|
|
16502
16554
|
var firstTabbableGroup = state.tabbableGroups[0];
|
|
16503
16555
|
var firstTabbableNode = firstTabbableGroup && firstTabbableGroup.firstTabbableNode;
|
|
@@ -16609,25 +16661,6 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
|
|
|
16609
16661
|
throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.");
|
|
16610
16662
|
}
|
|
16611
16663
|
};
|
|
16612
|
-
|
|
16613
|
-
/**
|
|
16614
|
-
* Gets the current activeElement. If it's a web-component and has open shadow-root
|
|
16615
|
-
* it will recursively search inside shadow roots for the "true" activeElement.
|
|
16616
|
-
*
|
|
16617
|
-
* @param {Document | ShadowRoot} el
|
|
16618
|
-
*
|
|
16619
|
-
* @returns {HTMLElement} The element that currently has the focus
|
|
16620
|
-
**/
|
|
16621
|
-
var _getActiveElement = function getActiveElement(el) {
|
|
16622
|
-
var activeElement = el.activeElement;
|
|
16623
|
-
if (!activeElement) {
|
|
16624
|
-
return;
|
|
16625
|
-
}
|
|
16626
|
-
if (activeElement.shadowRoot && activeElement.shadowRoot.activeElement !== null) {
|
|
16627
|
-
return _getActiveElement(activeElement.shadowRoot);
|
|
16628
|
-
}
|
|
16629
|
-
return activeElement;
|
|
16630
|
-
};
|
|
16631
16664
|
var _tryFocus = function tryFocus(node) {
|
|
16632
16665
|
if (node === false) {
|
|
16633
16666
|
return;
|
|
@@ -16762,7 +16795,7 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
|
|
|
16762
16795
|
var checkPointerDown = function checkPointerDown(e) {
|
|
16763
16796
|
var target = getActualTarget(e);
|
|
16764
16797
|
if (findContainerIndex(target, e) >= 0) {
|
|
16765
|
-
// allow the click since it
|
|
16798
|
+
// allow the click since it occurred inside the trap
|
|
16766
16799
|
return;
|
|
16767
16800
|
}
|
|
16768
16801
|
if (valueOrHandler(config.clickOutsideDeactivates, e)) {
|
|
@@ -16945,6 +16978,13 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
|
|
|
16945
16978
|
// EVENT LISTENERS
|
|
16946
16979
|
//
|
|
16947
16980
|
|
|
16981
|
+
/**
|
|
16982
|
+
* Adds listeners to the document necessary for trapping focus and attempts to set focus
|
|
16983
|
+
* to the configured initial focus node. Does nothing if the trap isn't active.
|
|
16984
|
+
* @returns {Promise<void> | undefined} A promise resolved once the initial focus node has
|
|
16985
|
+
* been focused when `delayInitialFocus=true`; `undefined` when focus is set synchronously
|
|
16986
|
+
* or the trap isn't active.
|
|
16987
|
+
*/
|
|
16948
16988
|
var addListeners = function addListeners() {
|
|
16949
16989
|
if (!state.active) {
|
|
16950
16990
|
return;
|
|
@@ -16955,9 +16995,20 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
|
|
|
16955
16995
|
|
|
16956
16996
|
// Delay ensures that the focused element doesn't capture the event
|
|
16957
16997
|
// that caused the focus trap activation.
|
|
16958
|
-
|
|
16998
|
+
/** @type {Promise<void> | undefined} */
|
|
16999
|
+
var promise;
|
|
17000
|
+
if (config.delayInitialFocus) {
|
|
17001
|
+
// NOTE: Promise constructor callback is called synchronously, which is what we want
|
|
17002
|
+
// since we need to capture the timer ID immediately
|
|
17003
|
+
promise = new Promise(function (resolve) {
|
|
17004
|
+
state.delayInitialFocusTimer = delay(function () {
|
|
17005
|
+
_tryFocus(getInitialFocusNode());
|
|
17006
|
+
resolve();
|
|
17007
|
+
});
|
|
17008
|
+
});
|
|
17009
|
+
} else {
|
|
16959
17010
|
_tryFocus(getInitialFocusNode());
|
|
16960
|
-
}
|
|
17011
|
+
}
|
|
16961
17012
|
doc.addEventListener('focusin', checkFocusIn, true);
|
|
16962
17013
|
doc.addEventListener('mousedown', checkPointerDown, {
|
|
16963
17014
|
capture: true,
|
|
@@ -16976,7 +17027,7 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
|
|
|
16976
17027
|
passive: false
|
|
16977
17028
|
});
|
|
16978
17029
|
doc.addEventListener('keydown', checkEscapeKey);
|
|
16979
|
-
return
|
|
17030
|
+
return promise;
|
|
16980
17031
|
};
|
|
16981
17032
|
|
|
16982
17033
|
/**
|
|
@@ -17064,17 +17115,27 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
|
|
|
17064
17115
|
//
|
|
17065
17116
|
|
|
17066
17117
|
var checkDomRemoval = function checkDomRemoval(mutations) {
|
|
17118
|
+
var focusedNode = state.mostRecentlyFocusedNode;
|
|
17119
|
+
if (!focusedNode) {
|
|
17120
|
+
return;
|
|
17121
|
+
}
|
|
17067
17122
|
var isFocusedNodeRemoved = mutations.some(function (mutation) {
|
|
17068
17123
|
var removedNodes = Array.from(mutation.removedNodes);
|
|
17069
17124
|
return removedNodes.some(function (node) {
|
|
17070
|
-
return node ===
|
|
17125
|
+
return node === focusedNode || typeof node.contains === 'function' && node.contains(focusedNode);
|
|
17071
17126
|
});
|
|
17072
17127
|
});
|
|
17073
17128
|
|
|
17074
|
-
// If the currently focused is removed then browsers will move focus to the
|
|
17129
|
+
// If the currently focused node is removed then browsers will move focus to the
|
|
17075
17130
|
// <body> element. If this happens, try to move focus back into the trap.
|
|
17076
|
-
if (isFocusedNodeRemoved) {
|
|
17077
|
-
|
|
17131
|
+
if (isFocusedNodeRemoved && state.containers.some(function (container) {
|
|
17132
|
+
return container === null || container === void 0 ? void 0 : container.isConnected;
|
|
17133
|
+
})) {
|
|
17134
|
+
// Refresh tabbable state before resolving initial focus because
|
|
17135
|
+
// getInitialFocusNode() may fall back to the first tabbable node in the trap.
|
|
17136
|
+
updateTabbableNodes();
|
|
17137
|
+
var initialFocusNode = getInitialFocusNode();
|
|
17138
|
+
_tryFocus(initialFocusNode);
|
|
17078
17139
|
}
|
|
17079
17140
|
};
|
|
17080
17141
|
|
|
@@ -17134,17 +17195,32 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
|
|
|
17134
17195
|
state.active = true;
|
|
17135
17196
|
state.paused = false;
|
|
17136
17197
|
state.nodeFocusedBeforeActivation = _getActiveElement(doc);
|
|
17137
|
-
onActivate === null || onActivate === void 0 || onActivate(
|
|
17198
|
+
onActivate === null || onActivate === void 0 || onActivate({
|
|
17199
|
+
trap: trap
|
|
17200
|
+
});
|
|
17138
17201
|
var finishActivation = function finishActivation() {
|
|
17139
17202
|
if (checkCanFocusTrap) {
|
|
17140
17203
|
updateTabbableNodes();
|
|
17141
17204
|
}
|
|
17142
|
-
|
|
17143
|
-
updateObservedNodes();
|
|
17144
|
-
if (config.isolateSubtrees) {
|
|
17205
|
+
var afterListeners = function afterListeners() {
|
|
17145
17206
|
trap._setSubtreeIsolation(true);
|
|
17207
|
+
updateObservedNodes();
|
|
17208
|
+
onPostActivate === null || onPostActivate === void 0 || onPostActivate({
|
|
17209
|
+
trap: trap
|
|
17210
|
+
});
|
|
17211
|
+
};
|
|
17212
|
+
|
|
17213
|
+
// NOTE: wait for initial focus node to get focused (whether activation is fully,
|
|
17214
|
+
// partially, or not asynchronous) before we potentially isolate the subtrees
|
|
17215
|
+
// with aria-hidden while focus is still in some other subtree and not yet in
|
|
17216
|
+
// the trap, resulting in some browsers (e.g. Chrome) logging to the console that
|
|
17217
|
+
// they, "Blocked aria-hidden on an element because its descendant retained focus..."
|
|
17218
|
+
var listenersPromise = addListeners();
|
|
17219
|
+
if (listenersPromise) {
|
|
17220
|
+
listenersPromise.then(afterListeners);
|
|
17221
|
+
} else {
|
|
17222
|
+
afterListeners();
|
|
17146
17223
|
}
|
|
17147
|
-
onPostActivate === null || onPostActivate === void 0 || onPostActivate();
|
|
17148
17224
|
};
|
|
17149
17225
|
if (checkCanFocusTrap) {
|
|
17150
17226
|
checkCanFocusTrap(state.containers.concat()).then(finishActivation, finishActivation);
|
|
@@ -17193,16 +17269,26 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
|
|
|
17193
17269
|
var onDeactivate = getOption(options, 'onDeactivate');
|
|
17194
17270
|
var onPostDeactivate = getOption(options, 'onPostDeactivate');
|
|
17195
17271
|
var checkCanReturnFocus = getOption(options, 'checkCanReturnFocus');
|
|
17272
|
+
var delayReturnFocus = getOption(options, 'delayReturnFocus');
|
|
17196
17273
|
var returnFocus = getOption(options, 'returnFocus', 'returnFocusOnDeactivate');
|
|
17197
|
-
onDeactivate === null || onDeactivate === void 0 || onDeactivate(
|
|
17198
|
-
|
|
17199
|
-
|
|
17200
|
-
|
|
17201
|
-
|
|
17202
|
-
|
|
17203
|
-
|
|
17274
|
+
onDeactivate === null || onDeactivate === void 0 || onDeactivate({
|
|
17275
|
+
trap: trap
|
|
17276
|
+
});
|
|
17277
|
+
var completeDeactivation = function completeDeactivation() {
|
|
17278
|
+
if (returnFocus) {
|
|
17279
|
+
_tryFocus(getReturnFocusNode(state.nodeFocusedBeforeActivation));
|
|
17280
|
+
}
|
|
17281
|
+
onPostDeactivate === null || onPostDeactivate === void 0 || onPostDeactivate({
|
|
17282
|
+
trap: trap
|
|
17204
17283
|
});
|
|
17205
17284
|
};
|
|
17285
|
+
var finishDeactivation = function finishDeactivation() {
|
|
17286
|
+
if (delayReturnFocus && returnFocus) {
|
|
17287
|
+
delay(completeDeactivation);
|
|
17288
|
+
} else {
|
|
17289
|
+
completeDeactivation();
|
|
17290
|
+
}
|
|
17291
|
+
};
|
|
17206
17292
|
if (returnFocus && checkCanReturnFocus) {
|
|
17207
17293
|
checkCanReturnFocus(getReturnFocusNode(state.nodeFocusedBeforeActivation)).then(finishDeactivation, finishDeactivation);
|
|
17208
17294
|
return this;
|
|
@@ -17237,7 +17323,7 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
|
|
|
17237
17323
|
}
|
|
17238
17324
|
if (state.active) {
|
|
17239
17325
|
updateTabbableNodes();
|
|
17240
|
-
if (
|
|
17326
|
+
if (!state.paused) {
|
|
17241
17327
|
trap._setSubtreeIsolation(true);
|
|
17242
17328
|
}
|
|
17243
17329
|
}
|
|
@@ -17260,20 +17346,44 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
|
|
|
17260
17346
|
if (paused) {
|
|
17261
17347
|
var onPause = getOption(options, 'onPause');
|
|
17262
17348
|
var onPostPause = getOption(options, 'onPostPause');
|
|
17263
|
-
onPause === null || onPause === void 0 || onPause(
|
|
17349
|
+
onPause === null || onPause === void 0 || onPause({
|
|
17350
|
+
trap: trap
|
|
17351
|
+
});
|
|
17264
17352
|
removeListeners();
|
|
17265
|
-
updateObservedNodes();
|
|
17266
17353
|
trap._setSubtreeIsolation(false);
|
|
17267
|
-
|
|
17354
|
+
updateObservedNodes();
|
|
17355
|
+
onPostPause === null || onPostPause === void 0 || onPostPause({
|
|
17356
|
+
trap: trap
|
|
17357
|
+
});
|
|
17268
17358
|
} else {
|
|
17269
17359
|
var onUnpause = getOption(options, 'onUnpause');
|
|
17270
17360
|
var onPostUnpause = getOption(options, 'onPostUnpause');
|
|
17271
|
-
onUnpause === null || onUnpause === void 0 || onUnpause(
|
|
17272
|
-
|
|
17273
|
-
|
|
17274
|
-
|
|
17275
|
-
|
|
17276
|
-
|
|
17361
|
+
onUnpause === null || onUnpause === void 0 || onUnpause({
|
|
17362
|
+
trap: trap
|
|
17363
|
+
});
|
|
17364
|
+
var finishUnpause = function finishUnpause() {
|
|
17365
|
+
updateTabbableNodes();
|
|
17366
|
+
var afterListeners = function afterListeners() {
|
|
17367
|
+
trap._setSubtreeIsolation(true);
|
|
17368
|
+
updateObservedNodes();
|
|
17369
|
+
onPostUnpause === null || onPostUnpause === void 0 || onPostUnpause({
|
|
17370
|
+
trap: trap
|
|
17371
|
+
});
|
|
17372
|
+
};
|
|
17373
|
+
|
|
17374
|
+
// NOTE: wait for initial focus node to get focused (whether activation is fully,
|
|
17375
|
+
// partially, or not asynchronous) before we potentially isolate the subtrees
|
|
17376
|
+
// with aria-hidden while focus is still in some other subtree and not yet in
|
|
17377
|
+
// the trap, resulting in some browsers (e.g. Chrome) logging to the console that
|
|
17378
|
+
// they, "Blocked aria-hidden on an element because its descendant retained focus..."
|
|
17379
|
+
var listenersPromise = addListeners();
|
|
17380
|
+
if (listenersPromise) {
|
|
17381
|
+
listenersPromise.then(afterListeners);
|
|
17382
|
+
} else {
|
|
17383
|
+
afterListeners();
|
|
17384
|
+
}
|
|
17385
|
+
};
|
|
17386
|
+
finishUnpause();
|
|
17277
17387
|
}
|
|
17278
17388
|
return this;
|
|
17279
17389
|
}
|
|
@@ -17357,7 +17467,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
17357
17467
|
/* harmony export */ StrictMode: () => (/* reexport safe */ preact__WEBPACK_IMPORTED_MODULE_0__.Fragment),
|
|
17358
17468
|
/* harmony export */ Suspense: () => (/* binding */ P),
|
|
17359
17469
|
/* harmony export */ SuspenseList: () => (/* binding */ B),
|
|
17360
|
-
/* harmony export */ __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: () => (/* binding */
|
|
17470
|
+
/* harmony export */ __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: () => (/* binding */ an),
|
|
17361
17471
|
/* harmony export */ cloneElement: () => (/* binding */ mn),
|
|
17362
17472
|
/* harmony export */ createContext: () => (/* reexport safe */ preact__WEBPACK_IMPORTED_MODULE_0__.createContext),
|
|
17363
17473
|
/* harmony export */ createElement: () => (/* reexport safe */ preact__WEBPACK_IMPORTED_MODULE_0__.createElement),
|
|
@@ -17370,9 +17480,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
17370
17480
|
/* harmony export */ forwardRef: () => (/* binding */ D),
|
|
17371
17481
|
/* harmony export */ hydrate: () => (/* binding */ tn),
|
|
17372
17482
|
/* harmony export */ isElement: () => (/* binding */ Sn),
|
|
17373
|
-
/* harmony export */ isFragment: () => (/* binding */
|
|
17483
|
+
/* harmony export */ isFragment: () => (/* binding */ hn),
|
|
17374
17484
|
/* harmony export */ isMemo: () => (/* binding */ dn),
|
|
17375
|
-
/* harmony export */ isValidElement: () => (/* binding */
|
|
17485
|
+
/* harmony export */ isValidElement: () => (/* binding */ vn),
|
|
17376
17486
|
/* harmony export */ lazy: () => (/* binding */ z),
|
|
17377
17487
|
/* harmony export */ memo: () => (/* binding */ N),
|
|
17378
17488
|
/* harmony export */ render: () => (/* binding */ nn),
|
|
@@ -17383,7 +17493,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
17383
17493
|
/* harmony export */ useInsertionEffect: () => (/* binding */ I),
|
|
17384
17494
|
/* harmony export */ useSyncExternalStore: () => (/* binding */ C),
|
|
17385
17495
|
/* harmony export */ useTransition: () => (/* binding */ k),
|
|
17386
|
-
/* harmony export */ version: () => (/* binding */
|
|
17496
|
+
/* harmony export */ version: () => (/* binding */ cn)
|
|
17387
17497
|
/* harmony export */ });
|
|
17388
17498
|
/* harmony import */ var preact__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! preact */ "preact");
|
|
17389
17499
|
/* harmony import */ var preact__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(preact__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -17393,7 +17503,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
17393
17503
|
/* harmony reexport (unknown) */ for(const __WEBPACK_IMPORT_KEY__ in preact_hooks__WEBPACK_IMPORTED_MODULE_1__) if(["default","Component","Fragment","StrictMode","createContext","createElement","createRef","Children","PureComponent","Suspense","SuspenseList","__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED","cloneElement","createFactory","createPortal","findDOMNode","flushSync","forwardRef","hydrate","isElement","isFragment","isMemo","isValidElement","lazy","memo","render","startTransition","unmountComponentAtNode","unstable_batchedUpdates","useDeferredValue","useInsertionEffect","useSyncExternalStore","useTransition","version"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = () => preact_hooks__WEBPACK_IMPORTED_MODULE_1__[__WEBPACK_IMPORT_KEY__]
|
|
17394
17504
|
/* harmony reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
|
|
17395
17505
|
function g(n,t){for(var e in t)n[e]=t[e];return n}function E(n,t){for(var e in n)if("__source"!==e&&!(e in t))return!0;for(var r in t)if("__source"!==r&&n[r]!==t[r])return!0;return!1}function C(n,t){var e=t(),r=(0,preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useState)({t:{__:e,u:t}}),u=r[0].t,o=r[1];return (0,preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useLayoutEffect)(function(){u.__=e,u.u=t,R(u)&&o({t:u})},[n,e,t]),(0,preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useEffect)(function(){return R(u)&&o({t:u}),n(function(){R(u)&&o({t:u})})},[n]),e}function R(n){try{return!((t=n.__)===(e=n.u())&&(0!==t||1/t==1/e)||t!=t&&e!=e)}catch(n){return!0}// removed by dead control flow
|
|
17396
|
-
var t, e; }function x(n){n()}function w(n){return n}function k(){return[!1,x]}var I=preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useLayoutEffect;function M(n,t){this.props=n,this.context=t}function N(n,e){function r(n){var t=this.props.ref;return t!=n.ref&&t&&("function"==typeof t?t(null):t.current=null),e?!e(this.props,n)||t!=n.ref:E(this.props,n)}function u(e){return this.shouldComponentUpdate=r,(0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(n,e)}return u.displayName="Memo("+(n.displayName||n.name)+")",u.__f=u.prototype.isReactComponent=!0,u.type=n,u}(M.prototype=new preact__WEBPACK_IMPORTED_MODULE_0__.Component).isPureReactComponent=!0,M.prototype.shouldComponentUpdate=function(n,t){return E(this.props,n)||E(this.state,t)};var T=preact__WEBPACK_IMPORTED_MODULE_0__.options.__b;preact__WEBPACK_IMPORTED_MODULE_0__.options.__b=function(n){n.type&&n.type.__f&&n.ref&&(n.props.ref=n.ref,n.ref=null),T&&T(n)};var A="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function D(n){function t(t){var e=g({},t);return delete e.ref,n(e,t.ref||null)}return t.$$typeof=A,t.render=n,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(n.displayName||n.name)+")",t}var F=function(n,t){return null==n?null:(0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)((0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)(n).map(t))},L={map:F,forEach:F,count:function(n){return n?(0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)(n).length:0},only:function(n){var t=(0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)(n);if(1!==t.length)throw"Children.only";return t[0]},toArray:preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray},O=preact__WEBPACK_IMPORTED_MODULE_0__.options.__e;preact__WEBPACK_IMPORTED_MODULE_0__.options.__e=function(n,t,e,r){if(n.then)for(var u,o=t;o=o.__;)if((u=o.__c)&&u.__c)return null==t.__e&&(t.__e=e.__e,t.__k=e.__k),u.__c(n,t);O(n,t,e,r)};var U=preact__WEBPACK_IMPORTED_MODULE_0__.options.unmount;function V(n,t,e){return n&&(n.__c&&n.__c.__H&&(n.__c.__H.__.forEach(function(n){"function"==typeof n.__c&&n.__c()}),n.__c.__H=null),null!=(n=g({},n)).__c&&(n.__c.__P===e&&(n.__c.__P=t),n.__c.__e=!0,n.__c=null),n.__k=n.__k&&n.__k.map(function(n){return V(n,t,e)})),n}function W(n,t,e){return n&&e&&(n.__v=null,n.__k=n.__k&&n.__k.map(function(n){return W(n,t,e)}),n.__c&&n.__c.__P===t&&(n.__e&&e.appendChild(n.__e),n.__c.__e=!0,n.__c.__P=e)),n}function P(){this.__u=0,this.o=null,this.__b=null}function j(n){var t=n.__&&n.__.__c;return t&&t.__a&&t.__a(n)}function z(n){var e,r,u,o=null;function i(i){if(e||(e=n()).then(function(n){n&&(o=n.default||n),u=!0},function(n){r=n,u=!0}),r)throw r;if(!u)throw e;return o?(0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(o,i):null}return i.displayName="Lazy",i.__f=!0,i}function B(){this.i=null,this.l=null}preact__WEBPACK_IMPORTED_MODULE_0__.options.unmount=function(n){var t=n.__c;t&&(t.__z=!0),t&&t.__R&&t.__R(),t&&32&n.__u&&(n.type=null),U&&U(n)},(P.prototype=new preact__WEBPACK_IMPORTED_MODULE_0__.Component).__c=function(n,t){var e=t.__c,r=this;null==r.o&&(r.o=[]),r.o.push(e);var u=j(r.__v),o=!1,i=function(){o||r.__z||(o=!0,e.__R=null,u?u(c):c())};e.__R=i;var l=e.__P;e.__P=null;var c=function(){if(!--r.__u){if(r.state.__a){var n=r.state.__a;r.__v.__k[0]=W(n,n.__c.__P,n.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.o.pop();)t.__P=l,t.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),n.then(i,i)},P.prototype.componentWillUnmount=function(){this.o=[]},P.prototype.render=function(n,e){if(this.__b){if(this.__v.__k){var r=document.createElement("div"),o=this.__v.__k[0].__c;this.__v.__k[0]=V(this.__b,r,o.__O=o.__P)}this.__b=null}var i=e.__a&&(0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(preact__WEBPACK_IMPORTED_MODULE_0__.Fragment,null,n.fallback);return i&&(i.__u&=-33),[(0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(preact__WEBPACK_IMPORTED_MODULE_0__.Fragment,null,e.__a?null:n.children),i]};var H=function(n,t,e){if(++e[1]===e[0]&&n.l.delete(t),n.props.revealOrder&&("t"!==n.props.revealOrder[0]||!n.l.size))for(e=n.i;e;){for(;e.length>3;)e.pop()();if(e[1]<e[0])break;n.i=e=e[2]}};function Z(n){return this.getChildContext=function(){return n.context},n.children}function Y(n){var e=this,r=n.h;if(e.componentWillUnmount=function(){(0,preact__WEBPACK_IMPORTED_MODULE_0__.render)(null,e.v),e.v=null,e.h=null},e.h&&e.h!==r&&e.componentWillUnmount(),!e.v){for(var u=e.__v;null!==u&&!u.__m&&null!==u.__;)u=u.__;e.h=r,e.v={nodeType:1,parentNode:r,childNodes:[],__k:{__m:u.__m},contains:function(){return!0},namespaceURI:r.namespaceURI,insertBefore:function(n,t){this.childNodes.push(n),e.h.insertBefore(n,t)},removeChild:function(n){this.childNodes.splice(this.childNodes.indexOf(n)>>>1,1),e.h.removeChild(n)}}}(0,preact__WEBPACK_IMPORTED_MODULE_0__.render)((0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(Z,{context:e.context},n.__v),e.v)}function $(n,e){var r=(0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(Y,{__v:n,h:e});return r.containerInfo=e,r}(B.prototype=new preact__WEBPACK_IMPORTED_MODULE_0__.Component).__a=function(n){var t=this,e=j(t.__v),r=t.l.get(n);return r[0]++,function(u){var o=function(){t.props.revealOrder?(r.push(u),H(t,n,r)):u()};e?e(o):o()}},B.prototype.render=function(n){this.i=null,this.l=new Map;var t=(0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)(n.children);n.revealOrder&&"b"===n.revealOrder[0]&&t.reverse();for(var e=t.length;e--;)this.l.set(t[e],this.i=[1,0,this.i]);return n.children},B.prototype.componentDidUpdate=B.prototype.componentDidMount=function(){var n=this;this.l.forEach(function(t,e){H(n,e,t)})};var q="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,G=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,J=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,K=/[A-Z0-9]/g,Q="undefined"!=typeof document,X=function(n){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(n)};function nn(n,t,e){return null==t.__k&&(t.textContent=""),(0,preact__WEBPACK_IMPORTED_MODULE_0__.render)(n,t),"function"==typeof e&&e(),n?n.__c:null}function tn(n,t,e){return (0,preact__WEBPACK_IMPORTED_MODULE_0__.hydrate)(n,t),"function"==typeof e&&e(),n?n.__c:null}preact__WEBPACK_IMPORTED_MODULE_0__.Component.prototype.isReactComponent=!0,["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(t){Object.defineProperty(preact__WEBPACK_IMPORTED_MODULE_0__.Component.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(n){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:n})}})});var en=preact__WEBPACK_IMPORTED_MODULE_0__.options.event;preact__WEBPACK_IMPORTED_MODULE_0__.options.event=function(n){return en&&(n=en(n)),n.persist=function(){},n.isPropagationStopped=function(){return this.cancelBubble},n.isDefaultPrevented=function(){return this.defaultPrevented},n.nativeEvent=n};var rn,un={configurable:!0,get:function(){return this.class}},on=preact__WEBPACK_IMPORTED_MODULE_0__.options.vnode;preact__WEBPACK_IMPORTED_MODULE_0__.options.vnode=function(n){"string"==typeof n.type&&function(n){var t=n.props,e=n.type,u={},o=-1==e.indexOf("-");for(var i in t){var l=t[i];if(!("value"===i&&"defaultValue"in t&&null==l||Q&&"children"===i&&"noscript"===e||"class"===i||"className"===i)){var c=i.toLowerCase();"defaultValue"===i&&"value"in t&&null==t.value?i="value":"download"===i&&!0===l?l="":"translate"===c&&"no"===l?l=!1:"o"===c[0]&&"n"===c[1]?"ondoubleclick"===c?i="ondblclick":"onchange"!==c||"input"!==e&&"textarea"!==e||X(t.type)?"onfocus"===c?i="onfocusin":"onblur"===c?i="onfocusout":J.test(i)&&(i=c):c=i="oninput":o&&G.test(i)?i=i.replace(K,"-$&").toLowerCase():null===l&&(l=void 0),"oninput"===c&&u[i=c]&&(i="oninputCapture"),u[i]=l}}"select"==e&&(u.multiple&&Array.isArray(u.value)&&(u.value=(0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)(t.children).forEach(function(n){n.props.selected=-1!=u.value.indexOf(n.props.value)})),null!=u.defaultValue&&(u.value=(0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)(t.children).forEach(function(n){n.props.selected=u.multiple?-1!=u.defaultValue.indexOf(n.props.value):u.defaultValue==n.props.value}))),t.class&&!t.className?(u.class=t.class,Object.defineProperty(u,"className",un)):t.className&&(u.class=u.className=t.className),n.props=u}(n),n.$$typeof=q,on&&on(n)};var ln=preact__WEBPACK_IMPORTED_MODULE_0__.options.__r;preact__WEBPACK_IMPORTED_MODULE_0__.options.__r=function(n){ln&&ln(n),rn=n.__c};var cn=preact__WEBPACK_IMPORTED_MODULE_0__.options.diffed;preact__WEBPACK_IMPORTED_MODULE_0__.options.diffed=function(n){cn&&cn(n);var t=n.props,e=n.__e;null!=e&&"textarea"===n.type&&"value"in t&&t.value!==e.value&&(e.value=null==t.value?"":t.value),rn=null};var fn={ReactCurrentDispatcher:{current:{readContext:function(n){return rn.__n[n.__c].props.value},useCallback:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useCallback,useContext:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useContext,useDebugValue:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useDebugValue,useDeferredValue:w,useEffect:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useEffect,useId:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useId,useImperativeHandle:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useImperativeHandle,useInsertionEffect:I,useLayoutEffect:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useLayoutEffect,useMemo:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useMemo,useReducer:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useReducer,useRef:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useRef,useState:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useState,useSyncExternalStore:C,useTransition:k}}},an="18.3.1";function sn(n){return preact__WEBPACK_IMPORTED_MODULE_0__.createElement.bind(null,n)}function hn(n){return!!n&&n.$$typeof===q}function vn(n){return hn(n)&&n.type===preact__WEBPACK_IMPORTED_MODULE_0__.Fragment}function dn(n){return!!n&&"string"==typeof n.displayName&&0==n.displayName.indexOf("Memo(")}function mn(n){return hn(n)?preact__WEBPACK_IMPORTED_MODULE_0__.cloneElement.apply(null,arguments):n}function pn(n){return!!n.__k&&((0,preact__WEBPACK_IMPORTED_MODULE_0__.render)(null,n),!0)}function yn(n){return n&&(n.base||1===n.nodeType&&n)||null}var _n=function(n,t){return n(t)},bn=function(n,t){var r=preact__WEBPACK_IMPORTED_MODULE_0__.options.debounceRendering;preact__WEBPACK_IMPORTED_MODULE_0__.options.debounceRendering=function(n){return n()};var u=n(t);return preact__WEBPACK_IMPORTED_MODULE_0__.options.debounceRendering=r,u},Sn=hn,gn={useState:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useState,useId:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useId,useReducer:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useReducer,useEffect:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useEffect,useLayoutEffect:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useLayoutEffect,useInsertionEffect:I,useTransition:k,useDeferredValue:w,useSyncExternalStore:C,startTransition:x,useRef:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useRef,useImperativeHandle:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useImperativeHandle,useMemo:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useMemo,useCallback:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useCallback,useContext:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useContext,useDebugValue:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useDebugValue,version:"18.3.1",Children:L,render:nn,hydrate:tn,unmountComponentAtNode:pn,createPortal:$,createElement:preact__WEBPACK_IMPORTED_MODULE_0__.createElement,createContext:preact__WEBPACK_IMPORTED_MODULE_0__.createContext,createFactory:sn,cloneElement:mn,createRef:preact__WEBPACK_IMPORTED_MODULE_0__.createRef,Fragment:preact__WEBPACK_IMPORTED_MODULE_0__.Fragment,isValidElement:hn,isElement:Sn,isFragment:vn,isMemo:dn,findDOMNode:yn,Component:preact__WEBPACK_IMPORTED_MODULE_0__.Component,PureComponent:M,memo:N,forwardRef:D,flushSync:bn,unstable_batchedUpdates:_n,StrictMode:preact__WEBPACK_IMPORTED_MODULE_0__.Fragment,Suspense:P,SuspenseList:B,lazy:z,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:fn};
|
|
17506
|
+
var t, e; }function x(n){n()}function w(n){return n}function k(){return[!1,x]}var I=preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useLayoutEffect;function M(n,t){this.props=n,this.context=t}function N(n,e){function r(n){var t=this.props.ref;return t!=n.ref&&t&&("function"==typeof t?t(null):t.current=null),e?!e(this.props,n)||t!=n.ref:E(this.props,n)}function u(e){return this.shouldComponentUpdate=r,(0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(n,e)}return u.displayName="Memo("+(n.displayName||n.name)+")",u.__f=u.prototype.isReactComponent=!0,u.type=n,u}(M.prototype=new preact__WEBPACK_IMPORTED_MODULE_0__.Component).isPureReactComponent=!0,M.prototype.shouldComponentUpdate=function(n,t){return E(this.props,n)||E(this.state,t)};var T=preact__WEBPACK_IMPORTED_MODULE_0__.options.__b;preact__WEBPACK_IMPORTED_MODULE_0__.options.__b=function(n){n.type&&n.type.__f&&n.ref&&(n.props.ref=n.ref,n.ref=null),T&&T(n)};var A="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function D(n){function t(t){var e=g({},t);return delete e.ref,n(e,t.ref||null)}return t.$$typeof=A,t.render=n,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(n.displayName||n.name)+")",t}var F=function(n,t){return null==n?null:(0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)((0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)(n).map(t))},L={map:F,forEach:F,count:function(n){return n?(0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)(n).length:0},only:function(n){var t=(0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)(n);if(1!==t.length)throw"Children.only";return t[0]},toArray:preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray},O=preact__WEBPACK_IMPORTED_MODULE_0__.options.__e;preact__WEBPACK_IMPORTED_MODULE_0__.options.__e=function(n,t,e,r){if(n.then)for(var u,o=t;o=o.__;)if((u=o.__c)&&u.__c)return null==t.__e&&(t.__e=e.__e,t.__k=e.__k),u.__c(n,t);O(n,t,e,r)};var U=preact__WEBPACK_IMPORTED_MODULE_0__.options.unmount;function V(n,t,e){return n&&(n.__c&&n.__c.__H&&(n.__c.__H.__.forEach(function(n){"function"==typeof n.__c&&n.__c()}),n.__c.__H=null),null!=(n=g({},n)).__c&&(n.__c.__P===e&&(n.__c.__P=t),n.__c.__e=!0,n.__c=null),n.__k=n.__k&&n.__k.map(function(n){return V(n,t,e)})),n}function W(n,t,e){return n&&e&&(n.__v=null,n.__k=n.__k&&n.__k.map(function(n){return W(n,t,e)}),n.__c&&n.__c.__P===t&&(n.__e&&e.appendChild(n.__e),n.__c.__e=!0,n.__c.__P=e)),n}function P(){this.__u=0,this.o=null,this.__b=null}function j(n){var t=n.__&&n.__.__c;return t&&t.__a&&t.__a(n)}function z(n){var e,r,u,o=null;function i(i){if(e||(e=n()).then(function(n){n&&(o=n.default||n),u=!0},function(n){r=n,u=!0}),r)throw r;if(!u)throw e;return o?(0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(o,i):null}return i.displayName="Lazy",i.__f=!0,i}function B(){this.i=null,this.l=null}preact__WEBPACK_IMPORTED_MODULE_0__.options.unmount=function(n){var t=n.__c;t&&(t.__z=!0),t&&t.__R&&t.__R(),t&&32&n.__u&&(n.type=null),U&&U(n)},(P.prototype=new preact__WEBPACK_IMPORTED_MODULE_0__.Component).__c=function(n,t){var e=t.__c,r=this;null==r.o&&(r.o=[]),r.o.push(e);var u=j(r.__v),o=!1,i=function(){o||r.__z||(o=!0,e.__R=null,u?u(f):f())};e.__R=i;var l=e.__P;e.__P=null;var f=function(){if(!--r.__u){if(r.state.__a){var n=r.state.__a;r.__v.__k[0]=W(n,n.__c.__P,n.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.o.pop();)t.__P=l,t.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),n.then(i,i)},P.prototype.componentWillUnmount=function(){this.o=[]},P.prototype.render=function(n,e){var r=this.__v;if(!r.__m){for(var o=r;o.__;)o=o.__;o=o.__m||(o.__m=[0,0]),r.__m=[o[1]++,0]}if(this.__b){if(r.__k){var i=document.createElement("div"),l=r.__k[0].__c;r.__k[0]=V(this.__b,i,l.__O=l.__P)}this.__b=null}var f=e.__a&&(0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(preact__WEBPACK_IMPORTED_MODULE_0__.Fragment,null,n.fallback);return f&&(f.__u&=-33),[(0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(preact__WEBPACK_IMPORTED_MODULE_0__.Fragment,null,e.__a?null:n.children),f]};var H=function(n,t,e){if(++e[1]===e[0]&&n.l.delete(t),n.props.revealOrder&&("t"!==n.props.revealOrder[0]||!n.l.size))for(e=n.i;e;){for(;e.length>3;)e.pop()();if(e[1]<e[0])break;n.i=e=e[2]}};function Z(n){return this.getChildContext=function(){return n.context},n.children}function Y(n){var e=this,r=n.v;if(e.componentWillUnmount=function(){(0,preact__WEBPACK_IMPORTED_MODULE_0__.render)(null,e.h),e.h=null,e.v=null},e.v&&e.v!==r&&e.componentWillUnmount(),!e.h){for(var u=e.__v;null!==u&&!u.__m&&null!==u.__;)u=u.__;e.v=r,e.h={nodeType:1,parentNode:r,childNodes:[],__k:{__m:u.__m},contains:function(){return!0},namespaceURI:r.namespaceURI,insertBefore:function(n,t){this.childNodes.push(n),e.v.insertBefore(n,t)},removeChild:function(n){this.childNodes.splice(this.childNodes.indexOf(n)>>>1,1),e.v.removeChild(n)}}}(0,preact__WEBPACK_IMPORTED_MODULE_0__.render)((0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(Z,{context:e.context},n.__v),e.h)}function $(n,e){var r=(0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(Y,{__v:n,v:e});return r.containerInfo=e,r}(B.prototype=new preact__WEBPACK_IMPORTED_MODULE_0__.Component).__a=function(n){var t=this,e=j(t.__v),r=t.l.get(n);return r[0]++,function(u){var o=function(){t.props.revealOrder?(r.push(u),H(t,n,r)):u()};e?e(o):o()}},B.prototype.render=function(n){this.i=null,this.l=new Map;var t=(0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)(n.children);n.revealOrder&&"b"===n.revealOrder[0]&&t.reverse();for(var e=t.length;e--;)this.l.set(t[e],this.i=[1,0,this.i]);return n.children},B.prototype.componentDidUpdate=B.prototype.componentDidMount=function(){var n=this;this.l.forEach(function(t,e){H(n,e,t)})};var q="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,G=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,J=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,K=/[A-Z0-9]/g,Q="undefined"!=typeof document,X=function(n){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(n)};function nn(n,t,e){return null==t.__k&&(t.textContent=""),(0,preact__WEBPACK_IMPORTED_MODULE_0__.render)(n,t),"function"==typeof e&&e(),n?n.__c:null}function tn(n,t,e){return (0,preact__WEBPACK_IMPORTED_MODULE_0__.hydrate)(n,t),"function"==typeof e&&e(),n?n.__c:null}preact__WEBPACK_IMPORTED_MODULE_0__.Component.prototype.isReactComponent=!0,["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(t){Object.defineProperty(preact__WEBPACK_IMPORTED_MODULE_0__.Component.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(n){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:n})}})});var en=preact__WEBPACK_IMPORTED_MODULE_0__.options.event;preact__WEBPACK_IMPORTED_MODULE_0__.options.event=function(n){return en&&(n=en(n)),n.persist=function(){},n.isPropagationStopped=function(){return this.cancelBubble},n.isDefaultPrevented=function(){return this.defaultPrevented},n.nativeEvent=n};var rn,un={configurable:!0,get:function(){return this.class}},on=preact__WEBPACK_IMPORTED_MODULE_0__.options.vnode;preact__WEBPACK_IMPORTED_MODULE_0__.options.vnode=function(n){"string"==typeof n.type&&function(n){var t=n.props,e=n.type,u={},o=-1==e.indexOf("-");for(var i in t){var l=t[i];if(!("value"===i&&"defaultValue"in t&&null==l||Q&&"children"===i&&"noscript"===e||"class"===i||"className"===i)){var f=i.toLowerCase();"defaultValue"===i&&"value"in t&&null==t.value?i="value":"download"===i&&!0===l?l="":"translate"===f&&"no"===l?l=!1:"o"===f[0]&&"n"===f[1]?"ondoubleclick"===f?i="ondblclick":"onchange"!==f||"input"!==e&&"textarea"!==e||X(t.type)?"onfocus"===f?i="onfocusin":"onblur"===f?i="onfocusout":J.test(i)&&(i=f):f=i="oninput":o&&G.test(i)?i=i.replace(K,"-$&").toLowerCase():null===l&&(l=void 0),"oninput"===f&&u[i=f]&&(i="oninputCapture"),u[i]=l}}"select"==e&&(u.multiple&&Array.isArray(u.value)&&(u.value=(0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)(t.children).forEach(function(n){n.props.selected=-1!=u.value.indexOf(n.props.value)})),null!=u.defaultValue&&(u.value=(0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)(t.children).forEach(function(n){n.props.selected=u.multiple?-1!=u.defaultValue.indexOf(n.props.value):u.defaultValue==n.props.value}))),t.class&&!t.className?(u.class=t.class,Object.defineProperty(u,"className",un)):t.className&&(u.class=u.className=t.className),n.props=u}(n),n.$$typeof=q,on&&on(n)};var ln=preact__WEBPACK_IMPORTED_MODULE_0__.options.__r;preact__WEBPACK_IMPORTED_MODULE_0__.options.__r=function(n){ln&&ln(n),rn=n.__c};var fn=preact__WEBPACK_IMPORTED_MODULE_0__.options.diffed;preact__WEBPACK_IMPORTED_MODULE_0__.options.diffed=function(n){fn&&fn(n);var t=n.props,e=n.__e;null!=e&&"textarea"===n.type&&"value"in t&&t.value!==e.value&&(e.value=null==t.value?"":t.value),rn=null};var an={ReactCurrentDispatcher:{current:{readContext:function(n){return rn.__n[n.__c].props.value},useCallback:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useCallback,useContext:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useContext,useDebugValue:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useDebugValue,useDeferredValue:w,useEffect:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useEffect,useId:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useId,useImperativeHandle:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useImperativeHandle,useInsertionEffect:I,useLayoutEffect:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useLayoutEffect,useMemo:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useMemo,useReducer:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useReducer,useRef:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useRef,useState:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useState,useSyncExternalStore:C,useTransition:k}}},cn="18.3.1";function sn(n){return preact__WEBPACK_IMPORTED_MODULE_0__.createElement.bind(null,n)}function vn(n){return!!n&&n.$$typeof===q}function hn(n){return vn(n)&&n.type===preact__WEBPACK_IMPORTED_MODULE_0__.Fragment}function dn(n){return!!n&&"string"==typeof n.displayName&&0==n.displayName.indexOf("Memo(")}function mn(n){return vn(n)?preact__WEBPACK_IMPORTED_MODULE_0__.cloneElement.apply(null,arguments):n}function pn(n){return!!n.__k&&((0,preact__WEBPACK_IMPORTED_MODULE_0__.render)(null,n),!0)}function yn(n){return n&&(n.base||1===n.nodeType&&n)||null}var _n=function(n,t){return n(t)},bn=function(n,t){var r=preact__WEBPACK_IMPORTED_MODULE_0__.options.debounceRendering;preact__WEBPACK_IMPORTED_MODULE_0__.options.debounceRendering=function(n){return n()};var u=n(t);return preact__WEBPACK_IMPORTED_MODULE_0__.options.debounceRendering=r,u},Sn=vn,gn={useState:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useState,useId:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useId,useReducer:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useReducer,useEffect:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useEffect,useLayoutEffect:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useLayoutEffect,useInsertionEffect:I,useTransition:k,useDeferredValue:w,useSyncExternalStore:C,startTransition:x,useRef:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useRef,useImperativeHandle:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useImperativeHandle,useMemo:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useMemo,useCallback:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useCallback,useContext:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useContext,useDebugValue:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useDebugValue,version:"18.3.1",Children:L,render:nn,hydrate:tn,unmountComponentAtNode:pn,createPortal:$,createElement:preact__WEBPACK_IMPORTED_MODULE_0__.createElement,createContext:preact__WEBPACK_IMPORTED_MODULE_0__.createContext,createFactory:sn,cloneElement:mn,createRef:preact__WEBPACK_IMPORTED_MODULE_0__.createRef,Fragment:preact__WEBPACK_IMPORTED_MODULE_0__.Fragment,isValidElement:vn,isElement:Sn,isFragment:hn,isMemo:dn,findDOMNode:yn,Component:preact__WEBPACK_IMPORTED_MODULE_0__.Component,PureComponent:M,memo:N,forwardRef:D,flushSync:bn,unstable_batchedUpdates:_n,StrictMode:preact__WEBPACK_IMPORTED_MODULE_0__.Fragment,Suspense:P,SuspenseList:B,lazy:z,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:an};
|
|
17397
17507
|
//# sourceMappingURL=compat.module.js.map
|
|
17398
17508
|
|
|
17399
17509
|
|
|
@@ -18017,12 +18127,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
18017
18127
|
/* harmony export */ tabbable: () => (/* binding */ tabbable)
|
|
18018
18128
|
/* harmony export */ });
|
|
18019
18129
|
/*!
|
|
18020
|
-
* tabbable 6.
|
|
18130
|
+
* tabbable 6.5.0
|
|
18021
18131
|
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
18022
18132
|
*/
|
|
18023
18133
|
// NOTE: separate `:not()` selectors has broader browser support than the newer
|
|
18024
18134
|
// `:not([inert], [inert] *)` (Feb 2023)
|
|
18025
|
-
var candidateSelectors = ['input:not([inert]):not([inert] *)', 'select:not([inert]):not([inert] *)', 'textarea:not([inert]):not([inert] *)', 'a[href]:not([inert]):not([inert] *)', 'button:not([inert]):not([inert] *)', '[tabindex]:not(slot):not([inert]):not([inert] *)', 'audio[controls]:not([inert]):not([inert] *)', 'video[controls]:not([inert]):not([inert] *)', '[contenteditable]:not([contenteditable="false"]):not([inert]):not([inert] *)', 'details>summary:first-of-type:not([inert]):not([inert] *)', 'details:not([inert]):not([inert] *)'];
|
|
18135
|
+
var candidateSelectors = ['input:not([inert]):not([inert] *)', 'select:not([inert]):not([inert] *)', 'textarea:not([inert]):not([inert] *)', 'a[href]:not([inert]):not([inert] *)', 'area[href]:not([inert]):not([inert] *)', 'button:not([inert]):not([inert] *)', '[tabindex]:not(slot):not([inert]):not([inert] *)', 'audio[controls]:not([inert]):not([inert] *)', 'video[controls]:not([inert]):not([inert] *)', '[contenteditable]:not([contenteditable="false"]):not([inert]):not([inert] *)', 'details>summary:first-of-type:not([inert]):not([inert] *)', 'details:not([inert]):not([inert] *)'];
|
|
18026
18136
|
var candidateSelector = /* #__PURE__ */candidateSelectors.join(',');
|
|
18027
18137
|
var NoElement = typeof Element === 'undefined';
|
|
18028
18138
|
var matches = NoElement ? function () {} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector;
|
|
@@ -18380,7 +18490,9 @@ var isHidden = function isHidden(node, _ref) {
|
|
|
18380
18490
|
// (this is legacy behavior from a very long way back)
|
|
18381
18491
|
// NOTE: we check this regardless of `displayCheck="none"` because this is a
|
|
18382
18492
|
// _visibility_ check, not a _display_ check
|
|
18383
|
-
|
|
18493
|
+
var _getComputedStyle = getComputedStyle(node),
|
|
18494
|
+
visibility = _getComputedStyle.visibility;
|
|
18495
|
+
if (visibility === 'hidden' || visibility === 'collapse') {
|
|
18384
18496
|
return true;
|
|
18385
18497
|
}
|
|
18386
18498
|
var isDirectSummary = matches.call(node, 'details>summary:first-of-type');
|
|
@@ -23342,23 +23454,19 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
23342
23454
|
/* harmony export */ createEntityAdapter: () => (/* binding */ createEntityAdapter),
|
|
23343
23455
|
/* harmony export */ createImmutableStateInvariantMiddleware: () => (/* binding */ createImmutableStateInvariantMiddleware),
|
|
23344
23456
|
/* harmony export */ createListenerMiddleware: () => (/* binding */ createListenerMiddleware),
|
|
23345
|
-
/* harmony export */ createNextState: () => (/* reexport safe */ immer__WEBPACK_IMPORTED_MODULE_1__.produce),
|
|
23346
23457
|
/* harmony export */ createReducer: () => (/* binding */ createReducer),
|
|
23347
|
-
/* harmony export */ createSelector: () => (/* reexport safe */
|
|
23348
|
-
/* harmony export */ createSelectorCreator: () => (/* reexport safe */
|
|
23458
|
+
/* harmony export */ createSelector: () => (/* reexport safe */ reselect__WEBPACK_IMPORTED_MODULE_3__.createSelector),
|
|
23459
|
+
/* harmony export */ createSelectorCreator: () => (/* reexport safe */ reselect__WEBPACK_IMPORTED_MODULE_3__.createSelectorCreator),
|
|
23349
23460
|
/* harmony export */ createSerializableStateInvariantMiddleware: () => (/* binding */ createSerializableStateInvariantMiddleware),
|
|
23350
23461
|
/* harmony export */ createSlice: () => (/* binding */ createSlice),
|
|
23351
23462
|
/* harmony export */ createStore: () => (/* reexport safe */ redux__WEBPACK_IMPORTED_MODULE_0__.createStore),
|
|
23352
|
-
/* harmony export */ current: () => (/* reexport safe */ immer__WEBPACK_IMPORTED_MODULE_1__.current),
|
|
23353
23463
|
/* harmony export */ findNonSerializableValue: () => (/* binding */ findNonSerializableValue),
|
|
23354
23464
|
/* harmony export */ formatProdErrorMessage: () => (/* binding */ formatProdErrorMessage),
|
|
23355
|
-
/* harmony export */ freeze: () => (/* reexport safe */ immer__WEBPACK_IMPORTED_MODULE_1__.freeze),
|
|
23356
23465
|
/* harmony export */ isAction: () => (/* reexport safe */ redux__WEBPACK_IMPORTED_MODULE_0__.isAction),
|
|
23357
23466
|
/* harmony export */ isActionCreator: () => (/* binding */ isActionCreator),
|
|
23358
23467
|
/* harmony export */ isAllOf: () => (/* binding */ isAllOf),
|
|
23359
23468
|
/* harmony export */ isAnyOf: () => (/* binding */ isAnyOf),
|
|
23360
23469
|
/* harmony export */ isAsyncThunkAction: () => (/* binding */ isAsyncThunkAction),
|
|
23361
|
-
/* harmony export */ isDraft: () => (/* reexport safe */ immer__WEBPACK_IMPORTED_MODULE_1__.isDraft),
|
|
23362
23470
|
/* harmony export */ isFluxStandardAction: () => (/* binding */ isFSA),
|
|
23363
23471
|
/* harmony export */ isFulfilled: () => (/* binding */ isFulfilled),
|
|
23364
23472
|
/* harmony export */ isImmutableDefault: () => (/* binding */ isImmutableDefault),
|
|
@@ -23368,19 +23476,23 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
23368
23476
|
/* harmony export */ isRejected: () => (/* binding */ isRejected),
|
|
23369
23477
|
/* harmony export */ isRejectedWithValue: () => (/* binding */ isRejectedWithValue),
|
|
23370
23478
|
/* harmony export */ legacy_createStore: () => (/* reexport safe */ redux__WEBPACK_IMPORTED_MODULE_0__.legacy_createStore),
|
|
23371
|
-
/* harmony export */ lruMemoize: () => (/* reexport safe */
|
|
23479
|
+
/* harmony export */ lruMemoize: () => (/* reexport safe */ reselect__WEBPACK_IMPORTED_MODULE_3__.lruMemoize),
|
|
23372
23480
|
/* harmony export */ miniSerializeError: () => (/* binding */ miniSerializeError),
|
|
23373
23481
|
/* harmony export */ nanoid: () => (/* binding */ nanoid),
|
|
23374
|
-
/* harmony export */ original: () => (/* reexport safe */ immer__WEBPACK_IMPORTED_MODULE_1__.original),
|
|
23375
23482
|
/* harmony export */ prepareAutoBatched: () => (/* binding */ prepareAutoBatched),
|
|
23376
23483
|
/* harmony export */ removeListener: () => (/* binding */ removeListener),
|
|
23377
23484
|
/* harmony export */ unwrapResult: () => (/* binding */ unwrapResult),
|
|
23378
|
-
/* harmony export */ weakMapMemoize: () => (/* reexport safe */
|
|
23485
|
+
/* harmony export */ weakMapMemoize: () => (/* reexport safe */ reselect__WEBPACK_IMPORTED_MODULE_3__.weakMapMemoize)
|
|
23379
23486
|
/* harmony export */ });
|
|
23487
|
+
/* empty/unused harmony star reexport */
|
|
23488
|
+
/* empty/unused harmony star reexport */
|
|
23489
|
+
/* empty/unused harmony star reexport */
|
|
23490
|
+
/* empty/unused harmony star reexport */
|
|
23491
|
+
/* empty/unused harmony star reexport */
|
|
23380
23492
|
/* harmony import */ var redux__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! redux */ "./node_modules/redux/dist/redux.mjs");
|
|
23381
|
-
/* harmony import */ var
|
|
23382
|
-
/* harmony import */ var
|
|
23383
|
-
/* harmony import */ var
|
|
23493
|
+
/* harmony import */ var immer__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! immer */ "./node_modules/immer/dist/immer.mjs");
|
|
23494
|
+
/* harmony import */ var reselect__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! reselect */ "./node_modules/reselect/dist/reselect.mjs");
|
|
23495
|
+
/* harmony import */ var redux_thunk__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! redux-thunk */ "./node_modules/redux-thunk/dist/redux-thunk.mjs");
|
|
23384
23496
|
// src/index.ts
|
|
23385
23497
|
|
|
23386
23498
|
|
|
@@ -23396,10 +23508,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
23396
23508
|
|
|
23397
23509
|
// src/createDraftSafeSelector.ts
|
|
23398
23510
|
var createDraftSafeSelectorCreator = (...args) => {
|
|
23399
|
-
const createSelector2 = (0,
|
|
23511
|
+
const createSelector2 = (0,reselect__WEBPACK_IMPORTED_MODULE_3__.createSelectorCreator)(...args);
|
|
23400
23512
|
const createDraftSafeSelector2 = Object.assign((...args2) => {
|
|
23401
23513
|
const selector = createSelector2(...args2);
|
|
23402
|
-
const wrappedSelector = (value, ...rest) => selector((0,
|
|
23514
|
+
const wrappedSelector = (value, ...rest) => selector((0,immer__WEBPACK_IMPORTED_MODULE_2__.isDraft)(value) ? (0,immer__WEBPACK_IMPORTED_MODULE_2__.current)(value) : value, ...rest);
|
|
23403
23515
|
Object.assign(wrappedSelector, selector);
|
|
23404
23516
|
return wrappedSelector;
|
|
23405
23517
|
}, {
|
|
@@ -23407,7 +23519,7 @@ var createDraftSafeSelectorCreator = (...args) => {
|
|
|
23407
23519
|
});
|
|
23408
23520
|
return createDraftSafeSelector2;
|
|
23409
23521
|
};
|
|
23410
|
-
var createDraftSafeSelector = /* @__PURE__ */ createDraftSafeSelectorCreator(
|
|
23522
|
+
var createDraftSafeSelector = /* @__PURE__ */ createDraftSafeSelectorCreator(reselect__WEBPACK_IMPORTED_MODULE_3__.weakMapMemoize);
|
|
23411
23523
|
|
|
23412
23524
|
// src/reduxImports.ts
|
|
23413
23525
|
|
|
@@ -23476,7 +23588,7 @@ function isValidKey(key) {
|
|
|
23476
23588
|
function getMessage(type) {
|
|
23477
23589
|
const splitType = type ? `${type}`.split("/") : [];
|
|
23478
23590
|
const actionName = splitType[splitType.length - 1] || "actionCreator";
|
|
23479
|
-
return `Detected an action creator with type "${type || "unknown"}" being dispatched.
|
|
23591
|
+
return `Detected an action creator with type "${type || "unknown"}" being dispatched.
|
|
23480
23592
|
Make sure you're calling the action creator before dispatching, i.e. \`dispatch(${actionName}())\` instead of \`dispatch(${actionName})\`. This is necessary even if the action has no payload.`;
|
|
23481
23593
|
}
|
|
23482
23594
|
function createActionCreatorInvariantMiddleware(options = {}) {
|
|
@@ -23534,7 +23646,7 @@ var Tuple = class _Tuple extends Array {
|
|
|
23534
23646
|
}
|
|
23535
23647
|
};
|
|
23536
23648
|
function freezeDraftable(val) {
|
|
23537
|
-
return (0,
|
|
23649
|
+
return (0,immer__WEBPACK_IMPORTED_MODULE_2__.isDraftable)(val) ? (0,immer__WEBPACK_IMPORTED_MODULE_2__.produce)(val, () => {
|
|
23538
23650
|
}) : val;
|
|
23539
23651
|
}
|
|
23540
23652
|
function getOrInsertComputed(map, key, compute) {
|
|
@@ -23808,9 +23920,9 @@ var buildGetDefaultMiddleware = () => function getDefaultMiddleware(options) {
|
|
|
23808
23920
|
let middlewareArray = new Tuple();
|
|
23809
23921
|
if (thunk) {
|
|
23810
23922
|
if (isBoolean(thunk)) {
|
|
23811
|
-
middlewareArray.push(
|
|
23923
|
+
middlewareArray.push(redux_thunk__WEBPACK_IMPORTED_MODULE_4__.thunk);
|
|
23812
23924
|
} else {
|
|
23813
|
-
middlewareArray.push((0,
|
|
23925
|
+
middlewareArray.push((0,redux_thunk__WEBPACK_IMPORTED_MODULE_4__.withExtraArgument)(thunk.extraArgument));
|
|
23814
23926
|
}
|
|
23815
23927
|
}
|
|
23816
23928
|
if (true) {
|
|
@@ -23852,6 +23964,20 @@ var createQueueWithTimer = (timeout) => {
|
|
|
23852
23964
|
setTimeout(notify, timeout);
|
|
23853
23965
|
};
|
|
23854
23966
|
};
|
|
23967
|
+
var createRafWithFallbackTimer = (raf, timeout) => {
|
|
23968
|
+
return (notify) => {
|
|
23969
|
+
let called = false;
|
|
23970
|
+
const callback = () => {
|
|
23971
|
+
if (called) return;
|
|
23972
|
+
called = true;
|
|
23973
|
+
cancelAnimationFrame(rafId);
|
|
23974
|
+
clearTimeout(timerId);
|
|
23975
|
+
notify();
|
|
23976
|
+
};
|
|
23977
|
+
const rafId = raf(callback);
|
|
23978
|
+
const timerId = setTimeout(callback, timeout);
|
|
23979
|
+
};
|
|
23980
|
+
};
|
|
23855
23981
|
var autoBatchEnhancer = (options = {
|
|
23856
23982
|
type: "raf"
|
|
23857
23983
|
}) => (next) => (...args) => {
|
|
@@ -23862,7 +23988,7 @@ var autoBatchEnhancer = (options = {
|
|
|
23862
23988
|
const listeners = /* @__PURE__ */ new Set();
|
|
23863
23989
|
const queueCallback = options.type === "tick" ? queueMicrotask : options.type === "raf" ? (
|
|
23864
23990
|
// requestAnimationFrame won't exist in SSR environments. Fall back to a vague approximation just to keep from erroring.
|
|
23865
|
-
typeof window !== "undefined" && window.requestAnimationFrame ? window.requestAnimationFrame : createQueueWithTimer(10)
|
|
23991
|
+
typeof window !== "undefined" && window.requestAnimationFrame ? createRafWithFallbackTimer(window.requestAnimationFrame, 100) : createQueueWithTimer(10)
|
|
23866
23992
|
) : options.type === "callback" ? options.queueNotification : createQueueWithTimer(options.timeout);
|
|
23867
23993
|
const notifyListeners = () => {
|
|
23868
23994
|
notificationQueued = false;
|
|
@@ -24080,14 +24206,14 @@ function createReducer(initialState, mapOrBuilderCallback) {
|
|
|
24080
24206
|
}
|
|
24081
24207
|
return caseReducers.reduce((previousState, caseReducer) => {
|
|
24082
24208
|
if (caseReducer) {
|
|
24083
|
-
if ((0,
|
|
24209
|
+
if ((0,immer__WEBPACK_IMPORTED_MODULE_2__.isDraft)(previousState)) {
|
|
24084
24210
|
const draft = previousState;
|
|
24085
24211
|
const result = caseReducer(draft, action);
|
|
24086
24212
|
if (result === void 0) {
|
|
24087
24213
|
return previousState;
|
|
24088
24214
|
}
|
|
24089
24215
|
return result;
|
|
24090
|
-
} else if (!(0,
|
|
24216
|
+
} else if (!(0,immer__WEBPACK_IMPORTED_MODULE_2__.isDraftable)(previousState)) {
|
|
24091
24217
|
const result = caseReducer(previousState, action);
|
|
24092
24218
|
if (result === void 0) {
|
|
24093
24219
|
if (previousState === null) {
|
|
@@ -24097,7 +24223,7 @@ function createReducer(initialState, mapOrBuilderCallback) {
|
|
|
24097
24223
|
}
|
|
24098
24224
|
return result;
|
|
24099
24225
|
} else {
|
|
24100
|
-
return (0,
|
|
24226
|
+
return (0,immer__WEBPACK_IMPORTED_MODULE_2__.produce)(previousState, (draft) => {
|
|
24101
24227
|
return caseReducer(draft, action);
|
|
24102
24228
|
});
|
|
24103
24229
|
}
|
|
@@ -24203,6 +24329,8 @@ var RejectWithValue = class {
|
|
|
24203
24329
|
this.payload = payload;
|
|
24204
24330
|
this.meta = meta;
|
|
24205
24331
|
}
|
|
24332
|
+
payload;
|
|
24333
|
+
meta;
|
|
24206
24334
|
/*
|
|
24207
24335
|
type-only property to distinguish between RejectWithValue and FulfillWithMeta
|
|
24208
24336
|
does not exist at runtime
|
|
@@ -24214,6 +24342,8 @@ var FulfillWithMeta = class {
|
|
|
24214
24342
|
this.payload = payload;
|
|
24215
24343
|
this.meta = meta;
|
|
24216
24344
|
}
|
|
24345
|
+
payload;
|
|
24346
|
+
meta;
|
|
24217
24347
|
/*
|
|
24218
24348
|
type-only property to distinguish between RejectWithValue and FulfillWithMeta
|
|
24219
24349
|
does not exist at runtime
|
|
@@ -24289,7 +24419,7 @@ var createAsyncThunk = /* @__PURE__ */ (() => {
|
|
|
24289
24419
|
});
|
|
24290
24420
|
}
|
|
24291
24421
|
}
|
|
24292
|
-
const promise = async function() {
|
|
24422
|
+
const promise = (async function() {
|
|
24293
24423
|
let finalAction;
|
|
24294
24424
|
try {
|
|
24295
24425
|
let conditionResult = options?.condition?.(arg, {
|
|
@@ -24330,12 +24460,12 @@ var createAsyncThunk = /* @__PURE__ */ (() => {
|
|
|
24330
24460
|
requestId,
|
|
24331
24461
|
signal: abortController.signal,
|
|
24332
24462
|
abort,
|
|
24333
|
-
rejectWithValue: (value, meta) => {
|
|
24463
|
+
rejectWithValue: ((value, meta) => {
|
|
24334
24464
|
return new RejectWithValue(value, meta);
|
|
24335
|
-
},
|
|
24336
|
-
fulfillWithValue: (value, meta) => {
|
|
24465
|
+
}),
|
|
24466
|
+
fulfillWithValue: ((value, meta) => {
|
|
24337
24467
|
return new FulfillWithMeta(value, meta);
|
|
24338
|
-
}
|
|
24468
|
+
})
|
|
24339
24469
|
})).then((result) => {
|
|
24340
24470
|
if (result instanceof RejectWithValue) {
|
|
24341
24471
|
throw result;
|
|
@@ -24357,7 +24487,7 @@ var createAsyncThunk = /* @__PURE__ */ (() => {
|
|
|
24357
24487
|
dispatch(finalAction);
|
|
24358
24488
|
}
|
|
24359
24489
|
return finalAction;
|
|
24360
|
-
}();
|
|
24490
|
+
})();
|
|
24361
24491
|
return Object.assign(promise, {
|
|
24362
24492
|
abort,
|
|
24363
24493
|
requestId,
|
|
@@ -24729,7 +24859,7 @@ function createSelectorsFactory() {
|
|
|
24729
24859
|
}
|
|
24730
24860
|
|
|
24731
24861
|
// src/entities/state_adapter.ts
|
|
24732
|
-
var isDraftTyped =
|
|
24862
|
+
var isDraftTyped = immer__WEBPACK_IMPORTED_MODULE_2__.isDraft;
|
|
24733
24863
|
function createSingleArgumentStateOperator(mutator) {
|
|
24734
24864
|
const operator = createStateOperator((_, state) => mutator(state));
|
|
24735
24865
|
return function operation(state) {
|
|
@@ -24752,7 +24882,7 @@ function createStateOperator(mutator) {
|
|
|
24752
24882
|
runMutator(state);
|
|
24753
24883
|
return state;
|
|
24754
24884
|
}
|
|
24755
|
-
return (0,
|
|
24885
|
+
return (0,immer__WEBPACK_IMPORTED_MODULE_2__.produce)(state, runMutator);
|
|
24756
24886
|
};
|
|
24757
24887
|
}
|
|
24758
24888
|
|
|
@@ -24771,7 +24901,7 @@ function ensureEntitiesArray(entities) {
|
|
|
24771
24901
|
return entities;
|
|
24772
24902
|
}
|
|
24773
24903
|
function getCurrent(value) {
|
|
24774
|
-
return (0,
|
|
24904
|
+
return (0,immer__WEBPACK_IMPORTED_MODULE_2__.isDraft)(value) ? (0,immer__WEBPACK_IMPORTED_MODULE_2__.current)(value) : value;
|
|
24775
24905
|
}
|
|
24776
24906
|
function splitAddedUpdatedEntities(newEntities, selectId, state) {
|
|
24777
24907
|
newEntities = ensureEntitiesArray(newEntities);
|
|
@@ -25120,6 +25250,7 @@ var TaskAbortError = class {
|
|
|
25120
25250
|
this.code = code;
|
|
25121
25251
|
this.message = `${task} ${cancelled} (reason: ${code})`;
|
|
25122
25252
|
}
|
|
25253
|
+
code;
|
|
25123
25254
|
name = "TaskAbortError";
|
|
25124
25255
|
message;
|
|
25125
25256
|
};
|
|
@@ -25259,7 +25390,7 @@ var createTakePattern = (startListening, signal) => {
|
|
|
25259
25390
|
unsubscribe();
|
|
25260
25391
|
}
|
|
25261
25392
|
};
|
|
25262
|
-
return (predicate, timeout) => catchRejection(take(predicate, timeout));
|
|
25393
|
+
return ((predicate, timeout) => catchRejection(take(predicate, timeout)));
|
|
25263
25394
|
};
|
|
25264
25395
|
var getListenerEntryPropsFrom = (options) => {
|
|
25265
25396
|
let {
|
|
@@ -25380,10 +25511,10 @@ var createListenerMiddleware = (middlewareOptions = {}) => {
|
|
|
25380
25511
|
}
|
|
25381
25512
|
};
|
|
25382
25513
|
};
|
|
25383
|
-
const startListening = (options) => {
|
|
25514
|
+
const startListening = ((options) => {
|
|
25384
25515
|
const entry = findListenerEntry(listenerMap, options) ?? createListenerEntry(options);
|
|
25385
25516
|
return insertEntry(entry);
|
|
25386
|
-
};
|
|
25517
|
+
});
|
|
25387
25518
|
assign(startListening, {
|
|
25388
25519
|
withTypes: () => startListening
|
|
25389
25520
|
});
|
|
@@ -25558,7 +25689,7 @@ var createDynamicMiddleware = () => {
|
|
|
25558
25689
|
|
|
25559
25690
|
var isSliceLike = (maybeSliceLike) => "reducerPath" in maybeSliceLike && typeof maybeSliceLike.reducerPath === "string";
|
|
25560
25691
|
var getReducers = (slices) => slices.flatMap((sliceOrMap) => isSliceLike(sliceOrMap) ? [[sliceOrMap.reducerPath, sliceOrMap.reducer]] : Object.entries(sliceOrMap));
|
|
25561
|
-
var ORIGINAL_STATE = Symbol.for("rtk-state-proxy-original");
|
|
25692
|
+
var ORIGINAL_STATE = /* @__PURE__ */ Symbol.for("rtk-state-proxy-original");
|
|
25562
25693
|
var isStateProxy = (value) => !!value && !!value[ORIGINAL_STATE];
|
|
25563
25694
|
var stateProxyMap = /* @__PURE__ */ new WeakMap();
|
|
25564
25695
|
var createStateProxy = (state, reducerMap, initialStateCache) => getOrInsertComputed(stateProxyMap, state, () => new Proxy(state, {
|
|
@@ -27878,20 +28009,18 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
27878
28009
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
27879
28010
|
/* harmony export */ "default": () => (/* binding */ api)
|
|
27880
28011
|
/* harmony export */ });
|
|
27881
|
-
/*! js-cookie v3.0.
|
|
27882
|
-
/* eslint-disable no-var */
|
|
28012
|
+
/*! js-cookie v3.0.8 | MIT */
|
|
27883
28013
|
function assign (target) {
|
|
27884
28014
|
for (var i = 1; i < arguments.length; i++) {
|
|
27885
28015
|
var source = arguments[i];
|
|
27886
28016
|
for (var key in source) {
|
|
28017
|
+
if (key === '__proto__') continue
|
|
27887
28018
|
target[key] = source[key];
|
|
27888
28019
|
}
|
|
27889
28020
|
}
|
|
27890
28021
|
return target
|
|
27891
28022
|
}
|
|
27892
|
-
/* eslint-enable no-var */
|
|
27893
28023
|
|
|
27894
|
-
/* eslint-disable no-var */
|
|
27895
28024
|
var defaultConverter = {
|
|
27896
28025
|
read: function (value) {
|
|
27897
28026
|
if (value[0] === '"') {
|
|
@@ -27906,12 +28035,9 @@ var defaultConverter = {
|
|
|
27906
28035
|
)
|
|
27907
28036
|
}
|
|
27908
28037
|
};
|
|
27909
|
-
/* eslint-enable no-var */
|
|
27910
|
-
|
|
27911
|
-
/* eslint-disable no-var */
|
|
27912
28038
|
|
|
27913
|
-
function init
|
|
27914
|
-
function set
|
|
28039
|
+
function init(converter, defaultAttributes) {
|
|
28040
|
+
function set(name, value, attributes) {
|
|
27915
28041
|
if (typeof document === 'undefined') {
|
|
27916
28042
|
return
|
|
27917
28043
|
}
|
|
@@ -27955,7 +28081,7 @@ function init (converter, defaultAttributes) {
|
|
|
27955
28081
|
name + '=' + converter.write(value, name) + stringifiedAttributes)
|
|
27956
28082
|
}
|
|
27957
28083
|
|
|
27958
|
-
function get
|
|
28084
|
+
function get(name) {
|
|
27959
28085
|
if (typeof document === 'undefined' || (arguments.length && !name)) {
|
|
27960
28086
|
return
|
|
27961
28087
|
}
|
|
@@ -27970,12 +28096,13 @@ function init (converter, defaultAttributes) {
|
|
|
27970
28096
|
|
|
27971
28097
|
try {
|
|
27972
28098
|
var found = decodeURIComponent(parts[0]);
|
|
27973
|
-
jar[found] = converter.read(value, found);
|
|
27974
|
-
|
|
28099
|
+
if (!(found in jar)) jar[found] = converter.read(value, found);
|
|
27975
28100
|
if (name === found) {
|
|
27976
28101
|
break
|
|
27977
28102
|
}
|
|
27978
|
-
} catch (
|
|
28103
|
+
} catch (_e) {
|
|
28104
|
+
// Do nothing...
|
|
28105
|
+
}
|
|
27979
28106
|
}
|
|
27980
28107
|
|
|
27981
28108
|
return name ? jar[name] : jar
|
|
@@ -27983,8 +28110,8 @@ function init (converter, defaultAttributes) {
|
|
|
27983
28110
|
|
|
27984
28111
|
return Object.create(
|
|
27985
28112
|
{
|
|
27986
|
-
set,
|
|
27987
|
-
get,
|
|
28113
|
+
set: set,
|
|
28114
|
+
get: get,
|
|
27988
28115
|
remove: function (name, attributes) {
|
|
27989
28116
|
set(
|
|
27990
28117
|
name,
|
|
@@ -28009,7 +28136,6 @@ function init (converter, defaultAttributes) {
|
|
|
28009
28136
|
}
|
|
28010
28137
|
|
|
28011
28138
|
var api = init(defaultConverter, { path: '/' });
|
|
28012
|
-
/* eslint-enable no-var */
|
|
28013
28139
|
|
|
28014
28140
|
|
|
28015
28141
|
|
|
@@ -28048,10 +28174,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
28048
28174
|
/* harmony export */ Provider: () => (/* binding */ Provider_default),
|
|
28049
28175
|
/* harmony export */ ReactReduxContext: () => (/* binding */ ReactReduxContext),
|
|
28050
28176
|
/* harmony export */ batch: () => (/* binding */ batch),
|
|
28051
|
-
/* harmony export */ connect: () => (/* binding */
|
|
28177
|
+
/* harmony export */ connect: () => (/* binding */ connect),
|
|
28052
28178
|
/* harmony export */ createDispatchHook: () => (/* binding */ createDispatchHook),
|
|
28053
28179
|
/* harmony export */ createSelectorHook: () => (/* binding */ createSelectorHook),
|
|
28054
28180
|
/* harmony export */ createStoreHook: () => (/* binding */ createStoreHook),
|
|
28181
|
+
/* harmony export */ legacy_connect: () => (/* binding */ legacy_connect),
|
|
28055
28182
|
/* harmony export */ shallowEqual: () => (/* binding */ shallowEqual),
|
|
28056
28183
|
/* harmony export */ useDispatch: () => (/* binding */ useDispatch),
|
|
28057
28184
|
/* harmony export */ useSelector: () => (/* binding */ useSelector),
|
|
@@ -28704,7 +28831,7 @@ function strictEqual(a, b) {
|
|
|
28704
28831
|
return a === b;
|
|
28705
28832
|
}
|
|
28706
28833
|
var hasWarnedAboutDeprecatedPureOption = false;
|
|
28707
|
-
function
|
|
28834
|
+
function _connect(mapStateToProps, mapDispatchToProps, mergeProps, {
|
|
28708
28835
|
// The `pure` option has been removed, so TS doesn't like us destructuring this to check its existence.
|
|
28709
28836
|
// @ts-ignore
|
|
28710
28837
|
pure,
|
|
@@ -28929,7 +29056,8 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
28929
29056
|
};
|
|
28930
29057
|
return wrapWithConnect;
|
|
28931
29058
|
}
|
|
28932
|
-
var
|
|
29059
|
+
var connect = _connect;
|
|
29060
|
+
var legacy_connect = _connect;
|
|
28933
29061
|
|
|
28934
29062
|
// src/components/Provider.tsx
|
|
28935
29063
|
function Provider(providerProps) {
|
|
@@ -30314,17 +30442,17 @@ var createStructuredSelector = Object.assign(
|
|
|
30314
30442
|
/******/ });
|
|
30315
30443
|
/************************************************************************/
|
|
30316
30444
|
/******/ // The module cache
|
|
30317
|
-
/******/
|
|
30445
|
+
/******/ const __webpack_module_cache__ = {};
|
|
30318
30446
|
/******/
|
|
30319
30447
|
/******/ // The require function
|
|
30320
30448
|
/******/ function __webpack_require__(moduleId) {
|
|
30321
30449
|
/******/ // Check if module is in cache
|
|
30322
|
-
/******/
|
|
30450
|
+
/******/ const cachedModule = __webpack_module_cache__[moduleId];
|
|
30323
30451
|
/******/ if (cachedModule !== undefined) {
|
|
30324
30452
|
/******/ return cachedModule.exports;
|
|
30325
30453
|
/******/ }
|
|
30326
30454
|
/******/ // Create a new module (and put it into the cache)
|
|
30327
|
-
/******/
|
|
30455
|
+
/******/ const module = __webpack_module_cache__[moduleId] = {
|
|
30328
30456
|
/******/ // no module.id needed
|
|
30329
30457
|
/******/ // no module.loaded needed
|
|
30330
30458
|
/******/ exports: {}
|
|
@@ -30333,7 +30461,7 @@ var createStructuredSelector = Object.assign(
|
|
|
30333
30461
|
/******/ // Execute the module function
|
|
30334
30462
|
/******/ if (!(moduleId in __webpack_modules__)) {
|
|
30335
30463
|
/******/ delete __webpack_module_cache__[moduleId];
|
|
30336
|
-
/******/
|
|
30464
|
+
/******/ const e = new Error("Cannot find module '" + moduleId + "'");
|
|
30337
30465
|
/******/ e.code = 'MODULE_NOT_FOUND';
|
|
30338
30466
|
/******/ throw e;
|
|
30339
30467
|
/******/ }
|
|
@@ -30348,7 +30476,7 @@ var createStructuredSelector = Object.assign(
|
|
|
30348
30476
|
/******/ (() => {
|
|
30349
30477
|
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
30350
30478
|
/******/ __webpack_require__.n = (module) => {
|
|
30351
|
-
/******/
|
|
30479
|
+
/******/ const getter = module && module.__esModule ?
|
|
30352
30480
|
/******/ () => (module['default']) :
|
|
30353
30481
|
/******/ () => (module);
|
|
30354
30482
|
/******/ __webpack_require__.d(getter, { a: getter });
|
|
@@ -30358,11 +30486,26 @@ var createStructuredSelector = Object.assign(
|
|
|
30358
30486
|
/******/
|
|
30359
30487
|
/******/ /* webpack/runtime/define property getters */
|
|
30360
30488
|
/******/ (() => {
|
|
30361
|
-
/******/ // define getter functions for harmony exports
|
|
30489
|
+
/******/ // define getter/value functions for harmony exports
|
|
30362
30490
|
/******/ __webpack_require__.d = (exports, definition) => {
|
|
30363
|
-
/******/
|
|
30364
|
-
/******/
|
|
30365
|
-
/******/
|
|
30491
|
+
/******/ if(Array.isArray(definition)) {
|
|
30492
|
+
/******/ var i = 0;
|
|
30493
|
+
/******/ while(i < definition.length) {
|
|
30494
|
+
/******/ var key = definition[i++];
|
|
30495
|
+
/******/ var binding = definition[i++];
|
|
30496
|
+
/******/ if(!__webpack_require__.o(exports, key)) {
|
|
30497
|
+
/******/ if(binding === 0) {
|
|
30498
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, value: definition[i++] });
|
|
30499
|
+
/******/ } else {
|
|
30500
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: binding });
|
|
30501
|
+
/******/ }
|
|
30502
|
+
/******/ } else if(binding === 0) { i++; }
|
|
30503
|
+
/******/ }
|
|
30504
|
+
/******/ } else {
|
|
30505
|
+
/******/ for(var key in definition) {
|
|
30506
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
30507
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
30508
|
+
/******/ }
|
|
30366
30509
|
/******/ }
|
|
30367
30510
|
/******/ }
|
|
30368
30511
|
/******/ };
|
|
@@ -30389,7 +30532,7 @@ var createStructuredSelector = Object.assign(
|
|
|
30389
30532
|
/******/ (() => {
|
|
30390
30533
|
/******/ // define __esModule on exports
|
|
30391
30534
|
/******/ __webpack_require__.r = (exports) => {
|
|
30392
|
-
/******/ if(
|
|
30535
|
+
/******/ if(Symbol.toStringTag) {
|
|
30393
30536
|
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
30394
30537
|
/******/ }
|
|
30395
30538
|
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -30398,16 +30541,16 @@ var createStructuredSelector = Object.assign(
|
|
|
30398
30541
|
/******/
|
|
30399
30542
|
/******/ /* webpack/runtime/publicPath */
|
|
30400
30543
|
/******/ (() => {
|
|
30401
|
-
/******/
|
|
30544
|
+
/******/ let scriptUrl;
|
|
30402
30545
|
/******/ if (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + "";
|
|
30403
|
-
/******/
|
|
30546
|
+
/******/ const document = __webpack_require__.g.document;
|
|
30404
30547
|
/******/ if (!scriptUrl && document) {
|
|
30405
|
-
/******/ if (document.currentScript
|
|
30548
|
+
/******/ if (document.currentScript?.tagName.toUpperCase() === 'SCRIPT')
|
|
30406
30549
|
/******/ scriptUrl = document.currentScript.src;
|
|
30407
30550
|
/******/ if (!scriptUrl) {
|
|
30408
|
-
/******/
|
|
30551
|
+
/******/ const scripts = document.getElementsByTagName("script");
|
|
30409
30552
|
/******/ if(scripts.length) {
|
|
30410
|
-
/******/
|
|
30553
|
+
/******/ let i = scripts.length - 1;
|
|
30411
30554
|
/******/ while (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src;
|
|
30412
30555
|
/******/ }
|
|
30413
30556
|
/******/ }
|
|
@@ -30420,7 +30563,7 @@ var createStructuredSelector = Object.assign(
|
|
|
30420
30563
|
/******/ })();
|
|
30421
30564
|
/******/
|
|
30422
30565
|
/************************************************************************/
|
|
30423
|
-
|
|
30566
|
+
let __webpack_exports__ = {};
|
|
30424
30567
|
// This entry needs to be wrapped in an IIFE because it needs to be in strict mode.
|
|
30425
30568
|
(() => {
|
|
30426
30569
|
"use strict";
|